lwc 2.13.1 → 2.13.4
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 +376 -170
- package/dist/engine-dom/iife/es2017/engine-dom.js +376 -169
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -2
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +222 -164
- package/dist/engine-dom/iife/es5/engine-dom.js +7562 -5758
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +5947 -4586
- package/dist/engine-dom/umd/es2017/engine-dom.js +376 -169
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -2
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +222 -164
- package/dist/engine-dom/umd/es5/engine-dom.js +7562 -5758
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +5947 -4586
- package/dist/engine-server/commonjs/es2017/engine-server.js +190 -72
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +190 -73
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +29 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +29 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +10 -13
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +4601 -3603
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +10 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +4424 -3481
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +29 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +10 -13
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +4601 -3603
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +10 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +4424 -3481
- 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.min.js +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +243 -258
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +243 -258
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +243 -258
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +243 -258
- package/package.json +7 -7
|
@@ -1 +1,10 @@
|
|
|
1
|
-
!function(a){"function"==typeof define&&define.amd?define(a):a()}(function(){"use strict";function l(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function ab(b,a){return null!=a&&"undefined"!=typeof Symbol&&a[Symbol.hasInstance]?!!a[Symbol.hasInstance](b):b instanceof a}var u,i,S,j,v,T,D,E,ac,o,w,ad,ae,x=Object.assign,k=Object.create,f=Object.defineProperties,b=Object.defineProperty,a=Object.getOwnPropertyDescriptor,af=Object.getPrototypeOf,c=Object.hasOwnProperty,p=Object.setPrototypeOf,g=Array.prototype,ag=g.filter,ah=g.find,ai=g.indexOf,aj=g.map,ak=g.push,al=g.reduce,am=g.reverse,an=g.slice,ao=g.splice,ap=g.forEach,aq=String.prototype.charCodeAt;function U(a){return void 0===a}function ar(a){return!0===a}function as(a){return!1===a}function at(a){return"function"==typeof a}function au(a){return"object"==typeof a}var q=function(){var a;if("object"==typeof globalThis)return globalThis;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),a=__magic__,delete Object.prototype.__magic__}catch(b){}finally{void 0===a&&(a=window)}return a}(),V="$shadowResolver$",av="$$ShadowResolverKey$$",W="$shadowToken$",aw="$$ShadowTokenKey$$",e=Node,d=e.prototype,ax=e.DOCUMENT_POSITION_CONTAINED_BY,ay=e.DOCUMENT_POSITION_PRECEDING,az=e.DOCUMENT_POSITION_FOLLOWING,aA=e.ELEMENT_NODE,aB=e.TEXT_NODE,aC=e.CDATA_SECTION_NODE,aD=e.PROCESSING_INSTRUCTION_NODE,aE=e.COMMENT_NODE,aF=d.appendChild,aG=d.cloneNode,aH=d.compareDocumentPosition,aI=d.insertBefore,aJ=d.removeChild,aK=d.replaceChild,aL=d.hasChildNodes,aM=HTMLElement.prototype.contains,aN=a(d,"firstChild").get,aO=a(d,"lastChild").get,aP=a(d,"textContent").get,aQ=a(d,"parentNode").get,aR=a(d,"ownerDocument").get,aS=c.call(d,"parentElement")?a(d,"parentElement").get:a(HTMLElement.prototype,"parentElement").get,aT=a(d,"textContent").set,aU=c.call(d,"childNodes")?a(d,"childNodes").get:a(HTMLElement.prototype,"childNodes").get,aV=c.call(d,"isConnected")?a(d,"isConnected").get:function(){var a=aR.call(this);return null===a||(aH.call(a,this)&ax)!=0},h=Element.prototype,aW=h.getAttribute,aX=h.getBoundingClientRect,aY=h.getElementsByTagName,aZ=h.getElementsByTagNameNS,a$=h.hasAttribute,a_=h.querySelector,a0=h.querySelectorAll,a1=h.removeAttribute,a2=h.setAttribute,a3=c.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")},a4=a(Element.prototype,"childElementCount").get,a5=a(Element.prototype,"firstElementChild").get,a6=a(Element.prototype,"lastElementChild").get,r=a(HTMLElement.prototype,"innerText"),X=r?r.get:null,Y=r?r.set:null,s=a(HTMLElement.prototype,"outerText"),Z=s?s.get:null,$=s?s.set:null,F=c.call(Element.prototype,"innerHTML")?a(Element.prototype,"innerHTML"):a(HTMLElement.prototype,"innerHTML"),a7=F.get,a8=F.set,G=c.call(Element.prototype,"outerHTML")?a(Element.prototype,"outerHTML"):a(HTMLElement.prototype,"outerHTML"),a9=G.get,ba=G.set,bb=a(Element.prototype,"tagName").get,H=a(HTMLElement.prototype,"tabIndex"),bc=H.get,bd=H.set,be=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,bf=c.call(Element.prototype,"children")?a(Element.prototype,"children").get:a(HTMLElement.prototype,"children").get,bg=HTMLElement.prototype.getElementsByClassName,bh=c.call(Element.prototype,"shadowRoot")?a(Element.prototype,"shadowRoot").get:function(){return null},bi=c.call(Element.prototype,"assignedSlot")?a(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(D=HTMLSlotElement.prototype.assignedNodes,E=HTMLSlotElement.prototype.assignedElements):(D=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")},E=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 bj=a(Event.prototype,"target").get,bk=a(Event.prototype,"currentTarget").get,bl=a(FocusEvent.prototype,"relatedTarget").get,bm=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},bn=a(Document.prototype,"activeElement").get,bo=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,bp=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,bq=a(Document.prototype,"defaultView").get,m=Document.prototype,br=m.querySelectorAll,bs=m.getElementById,bt=m.getElementsByClassName,bu=m.getElementsByTagName,bv=m.getElementsByTagNameNS,bw=HTMLDocument.prototype.getElementsByName,bx=window.addEventListener,by=window.removeEventListener,bz=window.getComputedStyle,bA=window.getSelection,_=MutationObserver,bB=_.prototype.observe,y=null;"undefined"!=typeof ShadowRoot&&(y=ShadowRoot);var bC=null===y?function(){return!1}:function(a){return ab(a,y)},bD=Document.prototype.createElement;function bE(a){var b=aR.call(a);return null===b?a:b}function bF(b){var c=bE(b),a=bq.call(c);if(null===a)throw new TypeError;return a}function bG(b){if(U(ac)){var a=bE(b);ac=a.body&&"temporary-bypass"===aW.call(a.body,"data-global-patching-bypass")}return ar(ac)}function bH(b){var c=b.length,d=[];if(c>0)for(var a=0;a<c;a++)d[a]=b[a];return d}"undefined"==typeof HTMLSlotElement&&(p(u=function a(){!function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}(this,a)},HTMLElement.constructor),p(u.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=u,b(Document.prototype,"createElement",{value:function(a,c){var b=bD.apply(this,an.call(arguments));return 4===a.length&&115===aq.call(a,0)&&108===aq.call(a,1)&&111===aq.call(a,2)&&116===aq.call(a,3)&&p(b,u.prototype),b}}));var t="undefined"!=typeof EventTarget?EventTarget.prototype:e.prototype,bI=t.addEventListener,bJ=t.dispatchEvent,bK=t.removeEventListener,bL="$$HostElementKey$$",bM="$$ShadowedNodeKey$$";function bN(a,b,c){var d=a,e=c.value;d[b]=e}function bO(a){return a[bL]}function bP(c){for(var b,a=c;null!==a;){if(!U(b=bO(a)))return b;a=aQ.call(a)}}function bQ(a){return a[bM]}function bR(a){return!U(bO(a))}function bS(a){for(var b=aS.call(a);null!==b&&bW(b);)a=b,b=aS.call(a);return a}function bT(c,d){for(var e=bQ(c),a=ab(d,Element)?d:aS.call(d);null!==a&&a!==c;){var f=bP(a),b=aS.call(a);if(f===e)return bW(a);if(b===c)return!1;if(null===b||bP(b)===f)a=b;else{if(!bW(b))return!1;if(null!==(a=bU(bS(b)))){if(a===c)return!0;if(bP(a)===e)return!0}}}return!1}function bU(b){if(!ab(b,e))return null;var c=bP(b);if(U(c))return null;for(var a=b;null!==a&&bQ(a)!==c;)a=aQ.call(a);return null===a?null:a}function bV(a){return bW(a)&&bR(a)}function bW(a){return ab(a,HTMLSlotElement)}function bX(b,c){var a=bP(c);return U(a)||bQ(b)===a}function bY(b){var a=cU(b);return b$(a,bH(aU.call(a)))}function bZ(c,d){for(var e=[],a=0,f=d.length;a<f;a+=1){var b=d[a];!bX(c,b)&&bT(c,b)&&ak.call(e,b)}return e}function b$(e,b){for(var c=[],a=0,f=b.length;a<f;a+=1){var d=b[a];bX(e,d)&&ak.call(c,d)}return c}function b_(c,b){for(var a=0,d=b.length;a<d;a+=1)if(bX(c,b[a]))return b[a];return null}function b0(a){if(!cW(a)&&!bW(a))return bH(aU.call(a));if(cW(a)){var b=bH(a0.call(a,"slot")),d=cR(cV(a));return al.call(b,function(a,b){return d===cR(b)&&ak.apply(a,b1(b)),a},[])}var c=bH(aU.call(a)),e=cR(a);return ag.call(c,function(a){return e===cR(a)})}function b1(a){var b=bU(a);if(null===b)return[];var c=bH(aU.call(a));return ag.call(c,function(a){return!bR(a)||!bX(b,a)})}var b2=/[&\u00A0"]/g,b3=/[&\u00A0<>]/g,I=String.prototype,b4=I.replace,b5=I.toLowerCase;function b6(a){switch(a){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"\xa0":return" ";default:return""}}function b7(a){return b4.call(a,b2,b6)}var b8=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR",]),b9=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT",]);function ca(a){switch(a.nodeType){case aA:for(var c,i=a.attributes,d=bb.call(a),b="<"+b5.call(d),e=0;c=i[e];e++)b+=" "+c.name+'="'+b7(c.value)+'"';if(b+=">",b8.has(d))return b;return b+function(d){for(var b="",c=b0(d),a=0,e=c.length;a<e;a+=1)b+=ca(c[a]);return b}(a)+"</"+b5.call(d)+">";case aB:var f,g=a.data,h=a.parentNode;if(ab(h,Element)&&b9.has(bb.call(h)))return g;return f=g,b4.call(f,b3,b6);case aC:return"<!CDATA[[".concat(a.data,"]]>");case aD:return"<?".concat(a.target," ").concat(a.data,"?>");case aE:return"<!--".concat(a.data,"-->");default:return""}}function cb(a){switch(a.nodeType){case aA:for(var c=b0(a),d="",b=0,f=c.length;b<f;b+=1){var e=c[b];e.nodeType!==aE&&(d+=cb(e))}return d;default:return a.nodeValue}}var cc=new WeakMap;function z(){throw new TypeError("Illegal constructor")}function cd(a){var c=k(z.prototype);return cc.set(c,a),ap.call(a,function(a,d){b(c,d,{value:a,enumerable:!0,configurable:!0})}),c}z.prototype=k(NodeList.prototype,(l(o={constructor:{writable:!0,configurable:!0,value:z},item:{writable:!0,enumerable:!0,configurable:!0,value:function(a){return this[a]}},length:{enumerable:!0,configurable:!0,get:function(){return cc.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(a,b){ap.call(cc.get(this),a,b)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return aj.call(cc.get(this),function(a,b){return[b,a]})}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return aj.call(cc.get(this),function(b,a){return a})}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return cc.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var a=this,b=0;return{next:function(){var c=cc.get(a);return b<c.length?{value:c[b++],done:!1}:{done:!0}}}}}),l(o,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),l(o,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),o)),p(z,NodeList);var ce=function(b,d){for(var a;!U(a=b.host);){var c=a.getRootNode();if(c===d)return a;b=c}};function cf(h,i,j,k){var a=bp.call(i,j,k),b=[],f=function(d){for(var b,c=[],a=d.getRootNode();!U(a);)c.push(a),a=null===(b=a.host)|| void 0===b?void 0:b.getRootNode();return c}(h);if(null!==a)for(var d=0;d<a.length;d++){var e=a[d];if(!bV(e)){var g=e.getRootNode();if(-1!==ai.call(f,g)){ak.call(b,e);continue}var c=ce(g,f[0]);U(c)|| -1!==ai.call(a,c)|| -1!==ai.call(b,c)||ak.call(b,c)}}return b}var cg=new WeakMap;function A(){throw new TypeError("Illegal constructor")}function ch(a){var c=k(A.prototype);return cg.set(c,a),ap.call(a,function(a,d){b(c,d,{value:a,enumerable:!0,configurable:!0})}),c}A.prototype=k(HTMLCollection.prototype,(l(w={constructor:{writable:!0,configurable:!0,value:A},item:{writable:!0,enumerable:!0,configurable:!0,value:function(a){return this[a]}},length:{enumerable:!0,configurable:!0,get:function(){return cg.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(a){if(""===a)return null;for(var c=cg.get(this),d=0,e=c.length;d<e;d++){var b=c[e];if(a===aW.call(b,"id")||a===aW.call(b,"name"))return b}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),l(w,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),w)),p(A,HTMLCollection),q.lwcRuntimeFlags||Object.defineProperty(q,"lwcRuntimeFlags",{value:k(null)});var ci=q.lwcRuntimeFlags;function cj(a){return bV(a)||cW(a)}function ck(d,a){var b=bU(d);if(a===b)return cV(b);if(ab(a,Element)){if(bP(d)===bP(a))return a;if(null!==b&&bW(a)){var c=bU(a);if(null!==c&&bX(b,c))return c}}return null}function cl(){return cw(this).length>0}function cm(){return cw(this)[0]||null}function cn(){var a=cw(this);return a[a.length-1]||null}function co(){return cb(this)}function cp(){var a=aQ.call(this);return null===a?a:ck(this,a)}function cq(){var a=aQ.call(this);if(null===a)return null;var b=ck(this,a);return ab(b,Element)?b:null}function cr(a){return this===a?0:this.getRootNode()===a?10:bO(this)!==bO(a)?35:aH.call(this,a)}function cs(a){return null!=a&&bO(this)===bO(a)&&(aH.call(this,a)&ax)!=0}function ct(d){var a=aG.call(this,!1);if(!d)return a;for(var c=cw(this),b=0,e=c.length;b<e;b+=1)a.appendChild(c[b].cloneNode(!0));return a}function cu(){if(cW(this)){var a=bU(this);return cd(null===a?[]:b$(a,b0(this)))}return aU.call(this)}var J=e.prototype.getRootNode,cv=U(J)?function(){for(var b,a=this;null!==(b=aQ.call(a));)a=b;return a}:J;f(e.prototype,{firstChild:{get:function(){return cj(this)?cm.call(this):aN.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return cj(this)?cn.call(this):aO.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return ci.ENABLE_NODE_PATCH?bG(this)?aP.call(this):co.call(this):bR(this)||cW(this)?co.call(this):aP.call(this)},set:function(a){aT.call(this,a)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(bR(this))return cp.call(this);var a=aQ.call(this);return null!==a&&bV(a)?bU(a):a},enumerable:!0,configurable:!0},parentElement:{get:function(){if(bR(this))return cq.call(this);var a=aS.call(this);return null!==a&&bV(a)?bU(a):a},enumerable:!0,configurable:!0},childNodes:{get:function(){return cj(this)?cu.call(this):aU.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return cj(this)?cl.call(this):aL.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(a){return bG(this)?aH.call(this,a):cr.call(this,a)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(a){return this===a||(ci.ENABLE_NODE_PATCH?bG(this)?aM.call(this,a):cs.call(this,a):null!=a&&(bR(this)||cW(this)?cs.call(this,a):aM.call(this,a)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(a){return ci.ENABLE_NODE_PATCH?ar(a)?bG(this)?aG.call(this,a):ct.call(this,a):aG.call(this,a):bR(this)||cW(this)?ct.call(this,a):aG.call(this,a)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(a){var b,c;return ar(!U(a)&&!!a.composed)?cv.call(this,a):(b=this,null===(c=bU(b))?cv.call(b):cV(c))},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return aV.call(this)}}});var cw=function(a){return a.childNodes};c.call(HTMLElement.prototype,"contains")&&b(HTMLElement.prototype,"contains",a(e.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&b(HTMLElement.prototype,"parentElement",a(e.prototype,"parentElement"));var cx=new WeakMap,cy=new WeakMap;function cz(b,d,c){if(d===c)return!0;var a=cy.get(b);return U(a)&&(a=b.composedPath(),cy.set(b,a)),a.includes(c)}function cA(a){if(!(at(c=a)||au(c)&&null!==c&&at(c.handleEvent)))return a;var c,b=cx.get(a);return U(b)&&(b=function(b){var c=bk.call(b),d=cE(b);if(cz(b,d,c))return at(a)?a.call(this,b):a.handleEvent&&a.handleEvent(b)},cx.set(a,b)),b}var cB=new WeakMap,cC=new WeakMap;function cD(b){var a=cC.get(b);return U(a)&&(a=k(null),cC.set(b,a)),a}function cE(b){var a;return null!==(a=cZ.get(b))&& void 0!==a?a:bj.call(b)}var cF=new WeakMap;function cG(b){if(!at(b))throw new TypeError;var a=cF.get(b);return U(a)&&((a=function(c){var a=bk.call(c);bC(a)||(a=cV(a));var d=cE(c);cz(c,d,a)&&b.call(a,c)}).placement=1,cF.set(b,a)),a}var cH=new WeakMap;function cI(b){if(!at(b))throw new TypeError;var a=cH.get(b);return U(a)&&((a=function(a){var c=bk.call(a),d=cE(a);cz(a,d,c)&&b.call(c,a)}).placement=0,cH.set(b,a)),a}function cJ(a){var c=function(b){ap.call(l,function(c){as(d)&&c.placement===b&& -1!==ai.call(i,c)&&c.call(void 0,a)})},d=!1,e=!1,f=a.type,j=a.stopImmediatePropagation,k=a.stopPropagation,g=bk.call(a),h=cD(g),i=h[f];b(a,"stopImmediatePropagation",{value:function(){d=!0,j.call(a)},writable:!0,enumerable:!0,configurable:!0}),b(a,"stopPropagation",{value:function(){e=!0,k.call(a)},writable:!0,enumerable:!0,configurable:!0});var l=an.call(i);cB.set(a,1),c(1),as(d)&&as(e)&&(cB.set(a,0),c(0)),cB.set(a,2)}function cK(c,b,d){var e=cD(c),a=e[b];U(a)&&(a=e[b]=[]),-1===ai.call(a,d)&&(0===a.length&&bI.call(c,b,cJ),ak.call(a,d))}function cL(b,c,e){var d,a;U(a=cD(b)[c])|| -1===(d=ai.call(a,e))||(ao.call(a,d,1),0===a.length&&bK.call(b,c,cJ))}function cM(b,a,c){at(a)&&cK(this,b,cI(a))}function cN(b,a,c){at(a)&&cL(this,b,cI(a))}var cO=new WeakMap,cP=document.createDocumentFragment;function cQ(b){var a=cO.get(b);if(U(a))throw new TypeError;return a}function cR(a){return a[V]}function cS(a,b){a[V]=b}function cT(a){return cQ(a).delegatesFocus}function cU(a){return cQ(a).host}function cV(a){return cQ(a).shadowRoot}function cW(a){var b=cO.get(a);return!U(b)&&a===b.host}function cX(a){var b=cO.get(a);return!U(b)&&a===b.shadowRoot}b(e.prototype,V,{set:function(a){if(!U(a)){var b;this[av]=a,b=this,bN(b,bL,{value:a.nodeKey,configurable:!0})}},get:function(){return this[av]},configurable:!0,enumerable:!0}),b(q,"$isNativeShadowRootDefined$",{value:null!==y});var cY=0,K={constructor:{writable:!0,configurable:!0,value:B},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},cZ=new WeakMap;function B(){throw new TypeError("Illegal constructor")}function c$(b,h){var d,f,c=[];if(ab(b,Window))d=b;else{if(!ab(b,e))return c;d=b.getRootNode()}for(var a=b;null!==a;)if(c.push(a),ab(a,Element)||ab(a,Text)){var g=a.assignedSlot;a=null===g?a.parentNode:g}else a=(cX(a)||bC(a))&&(h||a!==d)?a.host:ab(a,e)?a.parentNode:null;return f=ab(b,Window)?b.document:bE(b),c[c.length-1]===f&&c.push(window),c}function c_(e,h){if(null===e)return null;for(var a,f,b,c,i=c$(e,!0),g=h,d=0;d<g.length;d++)if((b=ab(a=g[d],Window)?a:a.getRootNode())!==f&&(c=i.indexOf(b),f=b),!cX(b)|| !U(c)&&c> -1)return a;return null}function c0(b,c,d,e){var a=bo.call(c,d,e);return null===a?a:c_(b,c$(a,!0))}x(K,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(a,b){return aI.call(cU(this),a,b),a}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(a){return aJ.call(cU(this),a),a}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(a){return aF.call(cU(this),a),a}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(b,a){return aK.call(cU(this),b,a),a}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(d,e,f){var a,b,c;a=this,b=d,at(c=e)&&cK(cU(a),b,cG(c))}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(a){return cZ.set(a,this),bJ.apply(cU(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(d,e,f){var a,b,c;a=this,b=d,at(c=e)&&cL(cU(a),b,cG(c))}},baseURI:{enumerable:!0,configurable:!0,get:function(){return cU(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return cd(bY(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(a){var b=cU(this);return this===a?0:this.contains(a)?20:aH.call(b,a)&ax?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(a){if(this===a)return!0;var b=cU(this);return(aH.call(b,a)&ax)!=0&&bX(b,a)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return cw(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var a=cw(this);return a[a.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return cw(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return aV.call(cU(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 cU(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 b=cw(this),c="",a=0,e=b.length;a<e;a+=1){var d=b[a];d.nodeType!==aE&&(c+=cb(d))}return c},set:function(a){var b=cU(this);aT.call(b,a)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(a){return!U(a)&&ar(a.composed)?cU(this).getRootNode(a):this}}},{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return ch(ag.call(bY(this),function(a){return ab(a,Element)}))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var a=this.children;return a.item(a.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){var b,c,a,d;return b=this,c=e,a=cU(b),d=bH(a0.call(a,c)),b_(a,d)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var b,c,a,d;return cd((b=this,c=e,a=cU(b),d=a0.call(a,c),b$(a,bH(d))))}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var b=cw(this),c="",a=0,d=b.length;a<d;a+=1)c+=ca(b[a]);return c},set:function(a){var b=cU(this);a8.call(b,a)}}},{activeElement:{enumerable:!0,configurable:!0,get:function(){var c=cU(this),d=bE(c),b=bn.call(d);if(null===b)return b;if((aH.call(c,b)&ax)==0)return null;for(var a=b;!bX(c,a);)a=aS.call(a);return bW(a)?null:a}},delegatesFocus:{configurable:!0,get:function(){return cQ(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(a,b){return c0(this,bE(cU(this)),a,b)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(a,b){return cf(this,bE(cU(this)),a,b)}},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 cU(this)}},mode:{configurable:!0,get:function(){return cQ(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}}),B.prototype=k(DocumentFragment.prototype,K),b(B,Symbol.hasInstance,{value:function(a){return au(a)&&null!==a&&(bC(a)||af(a)===B.prototype)}}),Document.prototype.elementFromPoint=function(a,b){return c0(this,this,a,b)},Document.prototype.elementsFromPoint=function(a,b){return cf(this,this,a,b)},b(Document.prototype,"activeElement",{get:function(){var a=bn.call(this);if(null===a)return a;for(;!U(bO(a));)if(null===(a=aS.call(a)))return null;return"HTML"===a.tagName&&(a=this.body),a},enumerable:!0,configurable:!0}),b(Document.prototype,"getElementById",{value:function(){var a=bs.apply(this,an.call(arguments));return null===a?null:U(bO(a))||bG(a)?a:null},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"querySelector",{value:function(){var b=bH(br.apply(this,an.call(arguments))),a=ah.call(b,function(a){return U(bO(a))||bG(a)});return U(a)?null:a},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"querySelectorAll",{value:function(){var a=bH(br.apply(this,an.call(arguments)));return cd(ag.call(a,function(a){return U(bO(a))||bG(a)}))},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"getElementsByClassName",{value:function(){var a=bH(bt.apply(this,an.call(arguments)));return ch(ag.call(a,function(a){return U(bO(a))||bG(a)}))},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"getElementsByTagName",{value:function(){var a=bH(bu.apply(this,an.call(arguments)));return ch(ag.call(a,function(a){return U(bO(a))||bG(a)}))},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"getElementsByTagNameNS",{value:function(){var a=bH(bv.apply(this,an.call(arguments)));return ch(ag.call(a,function(a){return U(bO(a))||bG(a)}))},writable:!0,enumerable:!0,configurable:!0}),b(a(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var a=bH(bw.apply(this,an.call(arguments)));return cd(ag.call(a,function(a){return U(bO(a))||bG(a)}))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:B,configurable:!0,writable:!0});var c1=Object.getOwnPropertyDescriptor(Event.prototype,"composed"),c2=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function c3(a){Object.defineProperty(a,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!c1)return!1;var b=new Event("click"),a=document.createElement("button");return a.addEventListener("click",function(a){return b=a}),a.click(),!c1.get.call(b)})()&&(HTMLElement.prototype.click=function(){bI.call(this,"click",c3);try{c2.value.call(this)}finally{bK.call(this,"click",c3)}}),!0!==new Event("test",{composed:!0}).composed&&(i=function(c,a){var b=new j(c,a),d=!!(a&&a.composed);return Object.defineProperties(b,{composed:{get:function(){return d},configurable:!0,enumerable:!0}}),b},S=x(k(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}),j=Event,i.prototype=j.prototype,i.AT_TARGET=j.AT_TARGET,i.BUBBLING_PHASE=j.BUBBLING_PHASE,i.CAPTURING_PHASE=j.CAPTURING_PHASE,i.NONE=j.NONE,window.Event=i,Object.defineProperties(Event.prototype,{composed:{get:function(){return 1===S[this.type]},configurable:!0,enumerable:!0}}));var aa=CustomEvent;function L(c,a){var b=new aa(c,a),d=!!(a&&a.composed);return Object.defineProperties(b,{composed:{get:function(){return d},configurable:!0,enumerable:!0}}),b}if(L.prototype=aa.prototype,window.CustomEvent=L,"undefined"!=typeof ClipboardEvent){var c4=x(k(null),{copy:1,cut:1,paste:1});f(ClipboardEvent.prototype,{composed:{get:function(){return 1===c4[this.type]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(T=(v=a(HTMLIFrameElement.prototype,"contentWindow")).get,v.get=function(){var a,b=T.call(this);return null===b||U(bO(this))?b:(a=b,{addEventListener:function(){return a.addEventListener.apply(a,arguments)},blur:function(){return a.blur.apply(a,arguments)},close:function(){return a.close.apply(a,arguments)},focus:function(){return a.focus.apply(a,arguments)},postMessage:function(){return a.postMessage.apply(a,arguments)},removeEventListener:function(){return a.removeEventListener.apply(a,arguments)},get closed(){return a.closed},get frames(){return a.frames},get length(){return a.length},get location(){return a.location},set location(value){a.location=value},get opener(){return a.opener},get parent(){return a.parent},get self(){return a.self},get top(){return a.top},get window(){return a.window}})},b(HTMLIFrameElement.prototype,"contentWindow",v));var M=MutationObserver,C=M.prototype,c5=C.disconnect,c6=C.observe,c7=C.takeRecords,c8="$$lwcObserverCallbackWrapper$$",c9="$$lwcNodeObservers$$",da=new WeakMap;function db(a){return a[c9]}function dc(a){var c=a.addedNodes,d=a.removedNodes,e=a.target,g=a.type,b=k(MutationRecord.prototype);return f(b,{addedNodes:{get:function(){return c},enumerable:!0,configurable:!0},removedNodes:{get:function(){return d},enumerable:!0,configurable:!0},type:{get:function(){return g},enumerable:!0,configurable:!0},target:{get:function(){return e.shadowRoot},enumerable:!0,configurable:!0}}),b}function dd(c,d){for(var a=d;null!==a;){var b=db(a);if(!U(b)&&(b[0]===c|| -1!==ai.call(b,c)))return!0;a=a.parentNode}return!1}function de(a,b){return al.call(a,function(c,a){var d=a.target,g=a.addedNodes,i=a.removedNodes,j=a.type;if("childList"!==j||U(bQ(d)))dd(b,d)&&ak.call(c,a);else if(g.length>0){if(dd(b,g[0])){var e=db(d);e&&(e[0]===b|| -1!==ai.call(e,b))?ak.call(c,a):ak.call(c,dc(a))}}else{var h=d.shadowRoot,k=i[0];if(bP(d)===bP(k)&&dd(b,d))ak.call(c,a);else if(h){var f=db(h);f&&(f[0]===b|| -1!==ai.call(f,b))&&ak.call(c,dc(a))}}return c},[])}function n(c){var b,a,d=(U(a=(b=c)[c8])&&(a=b[c8]=function(d,a){var c=de(d,a);0!==c.length&&b.call(a,c,a)}),a);return new M(d)}function N(){var a=bj.call(this);if(!ab(a,e))return a;var c=bE(a),d=c$(a,this.composed),b=bk.call(this);if(!ab(b,e))return null===b&&U(bO(a))?a:c_(c,d);if(b===c||b===c.body)return U(bO(a))?a:c_(c,d);var f=b,g=d;return cW(b)&&1===cB.get(this)&&(f=cV(b)),cW(a)&&cZ.has(this)&&(g=c$(cV(a),this.composed)),c_(f,g)}function O(){var a=bj.call(this);if(!ab(a,e))return[];var b,d=Boolean(a.shadowRoot),f=(b=a,cO.has(b));if(d&&!f)return bm.call(this);if(null===bk.call(this))return[];var c=a;return cW(a)&&cZ.has(this)&&(c=cV(a)),c$(c,this.composed)}function P(c){var d=a(c.prototype,"relatedTarget").get;b(c.prototype,"relatedTarget",{get:function(){var a=d.call(this);if(null===a)return null;if(!ab(a,e)||!bR(a))return a;var b=bk.call(this);return null===b&&(b=bE(a)),c_(b,c$(a,!0))},enumerable:!0,configurable:!0})}n.prototype=M.prototype,n.prototype.disconnect=function(){c5.call(this);var a=da.get(this);if(!U(a)){var b=this;ap.call(a,function(d){var a=d[c9];if(!U(a)){var c=ai.call(a,b);-1!==c&&ao.call(a,c,1)}}),a.length=0}},n.prototype.observe=function(a,f){var c,d,b=db(a);if(U(b)&&(b=[],c=a,d=b,c[c9]=d),-1===ai.call(b,this)&&ak.call(b,this),cX(a)&&(a=a.host),da.has(this)){var e=da.get(this);-1===ai.call(e,a)&&ak.call(e,a)}else da.set(this,[a]);return c6.call(this,a,f)},n.prototype.takeRecords=function(){return de(c7.call(this),this)},b(window,"MutationObserver",{value:n,configurable:!0,writable:!0}),f(t,{addEventListener:{value:function(b,c,d){if(cW(this))return cM.apply(this,arguments);if(arguments.length<2){var a=an.call(arguments);return a.length>1&&(a[1]=cA(a[1])),bI.apply(this,a)}var e=cA(c);return bI.call(this,b,e,d)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(b,c,d){if(cW(this))return cN.apply(this,arguments);var a=an.call(arguments);arguments.length>1&&(a[1]=cA(a[1])),bK.apply(this,a),bK.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&f(Window.prototype,{addEventListener:{value:function(b,c,d){if(arguments.length>1){var a=an.call(arguments);return a[1]=cA(a[1]),bx.apply(this,a)}return bx.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(b,c,d){if(arguments.length>1){var a=an.call(arguments);a[1]=cA(a[1]),by.apply(this,a)}by.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),f(Event.prototype,{target:{get:N,enumerable:!0,configurable:!0},currentTarget:{get:function(){var a=bk.call(this);return null===a?null:1===cB.get(this)?cV(a):a},enumerable:!0,configurable:!0},composedPath:{value:O,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:N,enumerable:!0,configurable:!0},path:{get:O,enumerable:!0,configurable:!0}}),P(FocusEvent),P(MouseEvent);var df=c.call(Text.prototype,"assignedSlot")?a(Text.prototype,"assignedSlot").get:function(){return null},dg={childList:!0},dh=new WeakMap;function di(a){var b=bH(aU.call(a));return al.call(b,function(b,a){return ab(a,Element)&&bW(a)?ak.apply(b,di(a)):ak.call(b,a),b},[])}function Q(){var a=aQ.call(this);return ab(a,Element)&&bC(bh.call(a))?ab(this,Text)?df.call(this):bi.call(this):null!==a&&bW(a)&&bO(a)!==bO(this)?a:null}function dj(a,b){var c,e=bO(a);if(U(e))c=ab(a,HTMLBodyElement)?ag.call(b,function(b){return U(bO(b))||bG(a)}):an.call(b);else if(cW(a)){var d=bU(a);c=null===d?[]:bQ(a)?bZ(a,b):b$(d,b)}else c=ag.call(b,function(a){return bP(a)===e});return c}function dk(){for(var b=cw(this),c="",a=0,d=b.length;a<d;a+=1)c+=ca(b[a]);return c}function dl(){return ca(this)}function dm(){var a=bU(this),b=null===a?[]:b$(a,b0(this));return ch(ag.call(b,function(a){return ab(a,Element)}))}function dn(){return this.children.length}function dp(){return this.children[0]||null}function dq(){var a=this.children;return a.item(a.length-1)||null}function dr(a,b,d){var c;if(cW(a)){var e=bU(a);c=null===e?[]:bQ(a)?bZ(a,b):b$(e,b)}else if(bR(a)){var f=bO(a);if(U(f))if(1===d){var g=bP(a);c=ag.call(b,function(a){return bP(a)===g})}else c=an.call(b);else c=ag.call(b,function(a){return bP(a)===f})}else c=ab(a,HTMLBodyElement)||1===d?ag.call(b,function(b){return U(bO(b))||bG(a)}):an.call(b);return c}function ds(a){var b=bF(a);return bz.call(b,a)}function dt(a){var b=bF(a);return bA.call(b)}function du(a){return"visible"===a.visibility&&"none"!==a.display}function dv(b){var a=[];if(b.nodeType===aA){var c=b.tagName,f=ds(b);if("OPTION"===c)return[1,X.call(b),1];if("TEXTAREA"===c)return[];for(var g=b.childNodes,e=0,h=g.length;e<h;e++)ak.apply(a,dv(g[e]));if(!du(f))return"SELECT"===c||"DATALIST"===c?[]:a;"BR"===c&&a.push("\n");var d=f.display;"table-cell"===d&&a.push(" "),"table-row"===d&&a.push("\n"),"P"===c&&(a.unshift(2),a.push(2)),("block"===d||"table-caption"===d||"flex"===d||"table"===d)&&(a.unshift(1),a.push(1))}else b.nodeType===aB&&a.push(function(a){var b=dt(a);if(null===b)return a.textContent||"";var c=document.createRange();c.selectNodeContents(a);var d=c.getBoundingClientRect();return d.height<=0||d.width<=0?"":(b.removeAllRanges(),b.addRange(c),b.toString()||a.textContent||"")}(b));return a}function dw(c){if(!du(ds(c)))return cb(c)||"";for(var j=function(b){var a=bF(b),c=dt(b);if(null===c)return null;for(var e=[],d=0;d<c.rangeCount;d++)e.push(c.getRangeAt(d));var f={element:b,onselect:a.onselect,onselectstart:a.onselectstart,onselectionchange:a.onselectionchange,ranges:e};return a.onselect=null,a.onselectstart=null,a.onselectionchange=null,f}(c),e=[],h=c.childNodes,f=0,k=h.length;f<k;f++)ak.apply(e,dv(h[f]));!function(a){if(null!==a){var d=a.element,g=a.onselect,h=a.onselectstart,i=a.onselectionchange,e=a.ranges,b=bF(d),f=dt(d);f.removeAllRanges();for(var c=0;c<e.length;c++)f.addRange(e[c]);b.onselect=g,b.onselectstart=h,b.onselectionchange=i}}(j);for(var d="",a=0,g=0,l=e.length;g<l;g++){var b=e[g];if("string"==typeof b){if(a>0){for(var i=0;i<a;i++)d+="\n";a=0}b.length>0&&(d+=b)}else{if(0==d.length)continue;b>a&&(a=b)}}return d}f(HTMLSlotElement.prototype,{addEventListener:{value:function(a,b,c){HTMLElement.prototype.addEventListener.call(this,a,b,c),"slotchange"!==a||dh.get(this)||(dh.set(this,!0),ad||(ad=new _(function(a){var b=[];ap.call(a,function(c){var a=c.target;-1===ai.call(b,a)&&(ak.call(b,a),bJ.call(a,new CustomEvent("slotchange")))})})),bB.call(ad,this,dg))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(a){if(!bR(this))return E.apply(this,an.call(arguments));var b=!U(a)&&ar(a.flatten)?di(this):b1(this);return ag.call(b,function(a){return ab(a,Element)})},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(a){return bR(this)?!U(a)&&ar(a.flatten)?di(this):b1(this):D.apply(this,an.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var a=aW.call(this,"name");return null===a?"":a},set:function(a){a2.call(this,"name",a)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(bR(this)){var a=bU(this);return cd(null===a?[]:b$(a,b0(this)))}return aU.call(this)},enumerable:!0,configurable:!0}}),f(Text.prototype,{assignedSlot:{get:Q,enumerable:!0,configurable:!0}}),f(Element.prototype,{innerHTML:{get:function(){return ci.ENABLE_ELEMENT_PATCH?bG(this)?a7.call(this):dk.call(this):bR(this)||cW(this)?dk.call(this):a7.call(this)},set:function(a){a8.call(this,a)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return ci.ENABLE_ELEMENT_PATCH?bG(this)?a9.call(this):dl.call(this):bR(this)||cW(this)?dl.call(this):a9.call(this)},set:function(a){ba.call(this,a)},enumerable:!0,configurable:!0},attachShadow:{value:function(a){return a["$$lwc-synthetic-mode"]?function(a,c){if(cO.has(a))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var f=c.mode,g=c.delegatesFocus,h=bE(a),b=cP.call(h),d={mode:f,delegatesFocus:!!g,host:a,shadowRoot:b};cO.set(b,d),cO.set(a,d);var e=function(){return b},i=e.nodeKey=cY++;return bN(a,bM,{value:i}),cS(b,e),p(b,B.prototype),b}(this,a):a3.call(this,a)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(cW(this)){var a=cV(this);if("open"===a.mode)return a}return bh.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return cj(this)?dm.call(this):bf.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return cj(this)?dn.call(this):a4.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return cj(this)?dp.call(this):a5.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return cj(this)?dq.call(this):a6.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Q,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&b(HTMLElement.prototype,"innerHTML",a(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&b(HTMLElement.prototype,"outerHTML",a(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&b(HTMLElement.prototype,"children",a(Element.prototype,"children")),f(Element.prototype,{querySelector:{value:function(){var a=bH(a0.apply(this,an.call(arguments)));if(cW(this)){var b=bU(this);return null===b?null:bQ(this)?function(c,d){for(var a=0,e=d.length;a<e;a+=1){var b=d[a];if(!bX(c,b)&&bT(c,b))return b}return null}(this,a):b_(b,a)}if(bR(this)){var g=bO(this);if(U(g)){if(!ci.ENABLE_NODE_LIST_PATCH)return 0===a.length?null:a[0];var h=bP(this),c=ah.call(a,function(a){return bP(a)===h});return U(c)?null:c}var d=ah.call(a,function(a){return bP(a)===g});return U(d)?null:d}var i=this;if(!ci.ENABLE_NODE_LIST_PATCH&&!ab(this,HTMLBodyElement)){var e=a[0];return U(e)?null:e}var f=ah.call(a,function(a){return U(bO(a))||bG(i)});return U(f)?null:f},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var a=bH(a0.apply(this,an.call(arguments)));return ci.ENABLE_NODE_LIST_PATCH?cd(dr(this,a,1)):cd(dr(this,a,0))},writable:!0,enumerable:!0,configurable:!0}}),f(Element.prototype,{getElementsByClassName:{value:function(){var a=bH(bg.apply(this,an.call(arguments)));return ci.ENABLE_HTML_COLLECTIONS_PATCH?ch(dr(this,a,1)):ch(dj(this,a))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var a=bH(aY.apply(this,an.call(arguments)));return ci.ENABLE_HTML_COLLECTIONS_PATCH?ch(dr(this,a,1)):ch(dj(this,a))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var a=bH(aZ.apply(this,an.call(arguments)));return ci.ENABLE_HTML_COLLECTIONS_PATCH?ch(dr(this,a,1)):ch(dj(this,a))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&b(HTMLElement.prototype,"getElementsByClassName",a(Element.prototype,"getElementsByClassName"));var dx="\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",dy=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function dz(a){return a.filter(function(a){return a$.call(a,"tabindex")?"0"===aW.call(a,"tabindex"):!dy.has(bb.call(a))||!a$.call(a,"disabled")})}var dA=new WeakMap;function dB(){var c=this.getRootNode();if(c===this){var b=a_.call(this,dx);null!==b&&b.focus.apply(b,arguments);return}if(c.activeElement!==this)for(var d=bH(a0.call(this,dx)),e=!1;!e&&0!==d.length;){var a=d.shift();a.focus.apply(a,arguments),e=a.getRootNode().activeElement===a}}function dC(c){var f=bE(c),a=dz(bH(br.call(f,dx))),b=dz(bH(a0.call(c,dx))),g=b[0],h=b[b.length-1],d=ai.call(a,c),e=d> -1?d:ai.call(a,g),i=0===b.length?e+1:ai.call(a,h)+1,j=an.call(a,0,e),k=an.call(a,i);return{prev:j,inner:b,next:k}}function dD(b,c){var a=aH.call(b,c);return a&ax?0:a&ay?1:a&az?2:-1}function dE(a){a.preventDefault(),a.stopPropagation()}function dF(a,b){bx.call(a,"focusin",dE,!0),bx.call(a,"focusout",dE,!0),b(),by.call(a,"focusin",dE,!0),by.call(a,"focusout",dE,!0)}function dG(c,e,a){var b=bF(a),d=dN(c,a);null===d?dF(b,function(){e.blur()}):dF(b,function(){d.focus()})}var dH=!1;function dI(){dH=!0}function dJ(){dH=!1}function dK(d){if(!dH){var a=bk.call(d),b=bj.call(d);if(a===b){var c=bl.call(d);if(null!==c){var e=dC(a);if(1===dD(a,c)){var g=dM.bind(null,a.getRootNode()),f=ah.call(e.inner,g);U(f)?dG(e.next,b,c):dF(bF(f),function(){f.focus()})}else a===b&&dG(am.call(e.prev),b,c)}}}}function dL(b){if(!dH){var a=bl.call(b);if(null!==a){var d=bk.call(b),c=dC(d);if(-1===ai.call(c.inner,a)){var e=bj.call(b),f=dD(d,a);1===f&&dG(c.next,e,a),2===f&&dG(am.call(c.prev),e,a)}}}}function dM(j,d){var a,b,f,g,h,i;if(!(!(cW(a=d)&&cT(a))&&be.call(a,dx)&&(b=a,g=(f=aX.call(b)).width,h=f.height,i="AREA"===b.tagName,(g>0||h>0||i)&&"hidden"!==getComputedStyle(b).visibility)))return!1;for(var k=bE(d),c=d.getRootNode();c!==k&&c!==j;){var e=c.host;if("-1"===aW.call(e,"tabindex"))return!1;c=e&&e.getRootNode()}return!0}function dN(b,e){var c=b.length;if(c>0)for(var a=0;a<c;a+=1){var d=b[a];if(dM(e.getRootNode(),d))return d}return null}function dO(a){bK.call(a,"focusin",dK,!0)}function dP(b){var a=bE(b);dA.get(a)||(dA.set(a,!0),bI.call(a,"mousedown",dI,!0),bI.call(a,"mouseup",function(){setTimeout(dJ)},!0),bI.call(a,"dragstart",dJ,!0))}function dQ(a){bK.call(a,"focusin",dL,!0)}var R=HTMLElement.prototype,dR=R.blur,dS=R.focus;function dT(){return cT(this)&&as(a$.call(this,"tabindex"))?0:bc.call(this)}function dU(i){var a,b,f=cT(this),c=bc.call(this),g=a$.call(this,"tabindex");bd.call(this,i);var d=bc.call(this),e=a$.call(this,"tabindex"),h=c!==d;g&&(h||as(e))&&(-1===c&&dQ(this),0===c&&f&&dO(this)),as(e)|| !(g&&e&&as(h))&&(-1===d&&(a=this,dP(a),dO(a),bI.call(a,"focusin",dL,!0)),0===d&&f&&(b=this,dP(b),dQ(b),bI.call(b,"focusin",dK,!0)))}function dV(){if(cT(this)){var b,c,a,d=(b=this,c=bE(b),null===(a=bn.call(c))?a:(aH.call(b,a)&ax)!=0?a:null);if(null!==d){d.blur();return}}return dR.call(this)}function dW(){var a=!dH;if(a&&dI(),cW(this)&&cT(this)){dB.call(this);return}dS.apply(this,arguments),a&&dJ()}f(HTMLElement.prototype,{tabIndex:{get:function(){return cW(this)?dT.call(this):bc.call(this)},set:function(a){return cW(this)?dU.call(this,a):bd.call(this,a)},enumerable:!0,configurable:!0},blur:{value:function(){if(cW(this))return dV.call(this);dR.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){dW.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==X&&null!==Y&&b(HTMLElement.prototype,"innerText",{get:function(){return ci.ENABLE_INNER_OUTER_TEXT_PATCH?ci.ENABLE_ELEMENT_PATCH?bG(this)?X.call(this):dw(this):bR(this)||cW(this)?dw(this):X.call(this):X.call(this)},set:function(a){Y.call(this,a)},enumerable:!0,configurable:!0}),null!==Z&&null!==$&&b(HTMLElement.prototype,"outerText",{get:function(){return ci.ENABLE_INNER_OUTER_TEXT_PATCH?ci.ENABLE_ELEMENT_PATCH?bG(this)?Z.call(this):dw(this):bR(this)||cW(this)?dw(this):Z.call(this):Z.call(this)},set:function(a){$.call(this,a)},enumerable:!0,configurable:!0}),b(Element.prototype,W,{set:function(a){var b=this[aw];U(b)||b===a||a1.call(this,b),U(a)||a2.call(this,a,""),this[aw]=a},get:function(){return this[aw]},configurable:!0});var dX="$$DomManualKey$$",dY=function(){},dZ={childList:!0};function d$(a,b,d){var e=cR(a);if(e!==b&&(cS(a,b),ab(a,Element))){if(h=a,i=d,h[W]=i,cW(a))return;U(e)&&bB.call(ae,a,dZ);for(var h,i,f=aU.call(a),c=0,g=f.length;c<g;c+=1)d$(f[c],b,d)}}b(Element.prototype,"$domManual$",{set:function(a){this[dX]=a,ar(a)&&function(a){if(U(ae)&&(ae=new _(function(a){ap.call(a,function(b){for(var a=b.target,f=b.addedNodes,g=b.removedNodes,j=cR(a),k=a[W],c=0,l=g.length;c<l;c+=1){var h=g[c];aH.call(a,h)&e.DOCUMENT_POSITION_CONTAINED_BY||d$(h,dY,void 0)}for(var d=0,m=f.length;d<m;d+=1){var i=f[d];aH.call(a,i)&e.DOCUMENT_POSITION_CONTAINED_BY&&d$(i,j,k)}})})),U(cR(a)))throw new Error("Invalid Element");bB.call(ae,a,dZ)}(this)},get:function(){return this[dX]},configurable:!0})})
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t;function n(e,t,n){return 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,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){return o="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},o(e)}var a=Object.assign,i=Object.create,u=Object.defineProperties,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.hasOwnProperty,p=Object.setPrototypeOf,g=Array.prototype,m=g.filter,v=g.find,b=g.indexOf,d=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function A(e){return"function"==typeof e}function R(e){return"object"===o(e)}var _,P,D=function(){if("object"===("undefined"==typeof globalThis?"undefined":o(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),$="$shadowResolver$",B="$shadowToken$",I=Node,k=I.prototype,x=I.DOCUMENT_POSITION_CONTAINED_BY,F=I.DOCUMENT_POSITION_PRECEDING,j=I.DOCUMENT_POSITION_FOLLOWING,W=I.ELEMENT_NODE,U=I.TEXT_NODE,K=I.CDATA_SECTION_NODE,G=I.PROCESSING_INSTRUCTION_NODE,q=I.COMMENT_NODE,X=k.appendChild,Y=k.cloneNode,V=k.compareDocumentPosition,z=k.insertBefore,J=k.removeChild,Q=k.replaceChild,Z=k.hasChildNodes,ee=HTMLElement.prototype.contains,te=s(k,"firstChild").get,ne=s(k,"lastChild").get,re=s(k,"textContent").get,le=s(k,"parentNode").get,oe=s(k,"ownerDocument").get,ae=h.call(k,"parentElement")?s(k,"parentElement").get:s(HTMLElement.prototype,"parentElement").get,ie=s(k,"textContent").set,ue=h.call(k,"childNodes")?s(k,"childNodes").get:s(HTMLElement.prototype,"childNodes").get,ce=h.call(k,"isConnected")?s(k,"isConnected").get:function(){var e=oe.call(this);return null===e||0!=(V.call(e,this)&x)},se=Element.prototype,fe=se.getAttribute,he=se.getBoundingClientRect,pe=se.getElementsByTagName,ge=se.getElementsByTagNameNS,me=se.hasAttribute,ve=se.querySelector,be=se.querySelectorAll,de=se.removeAttribute,ye=se.setAttribute,Ee=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")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,Ae=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Re=Ae.get,_e=Ae.set,Pe=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),De=Pe.get,$e=Pe.set,Be=s(Element.prototype,"tagName").get,Ie=s(HTMLElement.prototype,"tabIndex"),ke=Ie.get,xe=Ie.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,We=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(_=HTMLSlotElement.prototype.assignedNodes,P=HTMLSlotElement.prototype.assignedElements):(_=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")},P=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 Ge=s(Event.prototype,"target").get,qe=s(Event.prototype,"currentTarget").get,Xe=s(FocusEvent.prototype,"relatedTarget").get,Ye=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},Ve=s(Document.prototype,"activeElement").get,ze=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Je=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Qe=s(Document.prototype,"defaultView").get,Ze=Document.prototype,et=Ze.querySelectorAll,tt=Ze.getElementById,nt=Ze.getElementsByClassName,rt=Ze.getElementsByTagName,lt=Ze.getElementsByTagNameNS,ot=HTMLDocument.prototype.getElementsByName,at=window,it=at.addEventListener,ut=at.removeEventListener,ct=at.getComputedStyle,st=at.getSelection,ft=MutationObserver,ht=ft.prototype.observe,pt=null;"undefined"!=typeof ShadowRoot&&(pt=ShadowRoot);var gt=!S(pt),mt=S(pt)?function(){return!1}:function(e){return e instanceof pt};var vt,bt=Document.prototype.createElement;function dt(e){var t=oe.call(e);return null===t?e:t}function yt(e){var t=dt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function Et(e){if(C(vt)){var t=dt(e);vt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(vt)}function wt(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)}));p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,c(Document.prototype,"createElement",{value:function(t,n){var r=bt.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&p(r,e.prototype),r}})}();var Tt="undefined"!=typeof EventTarget?EventTarget.prototype:I.prototype,Nt=Tt.addEventListener,Lt=Tt.dispatchEvent,Mt=Tt.removeEventListener,Ct="$$HostElementKey$$",St="$$ShadowedNodeKey$$";function Ot(e,t,n){var r=e,l=n.value;r[t]=l}function Ht(e){return e[Ct]}function At(e){for(var t,n=e;!S(n);){if(!C(t=Ht(n)))return t;n=le.call(n)}}function Rt(e){return e[St]}function _t(e){return!C(Ht(e))}function Pt(e){for(var t=ae.call(e);!S(t)&&It(t);)e=t,t=ae.call(e);return e}function Dt(e,t){for(var n=Rt(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=At(r),o=ae.call(r);if(l===n)return It(r);if(o===e)return!1;if(S(o)||At(o)===l)r=o;else{if(!It(o))return!1;if(!S(r=$t(Pt(o)))){if(r===e)return!0;if(At(r)===n)return!0}}}return!1}function $t(e){if(!(e instanceof I))return null;var t=At(e);if(C(t))return null;for(var n=e;!S(n)&&Rt(n)!==t;)n=le.call(n);return S(n)?null:n}function Bt(e){return It(e)&&_t(e)}function It(e){return e instanceof HTMLSlotElement}function kt(e,t){var n=At(t);return C(n)||Rt(e)===n}function xt(e){var t=Jn(e);return Wt(t,wt(ue.call(t)))}function Ft(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!kt(e,o)&&Dt(e,o)&&y.call(n,o)}return n}function jt(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!kt(e,l)&&Dt(e,l))return l}return null}function Wt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];kt(e,o)&&y.call(n,o)}return n}function Ut(e,t){for(var n=0,r=t.length;n<r;n+=1)if(kt(e,t[n]))return t[n];return null}function Kt(e){if(!Zn(e)&&!It(e))return wt(ue.call(e));if(Zn(e)){var t=wt(be.call(e,"slot")),n=Yn(Qn(e));return E.call(t,(function(e,t){return n===Yn(t)&&y.apply(e,Gt(t)),e}),[])}var r=wt(ue.call(e)),l=Yn(e);return m.call(r,(function(e){return l===Yn(e)}))}function Gt(e){var t=$t(e);if(S(t))return[];var n=wt(ue.call(e));return m.call(n,(function(e){return!_t(e)||!kt(t,e)}))}var qt=/[&\u00A0"]/g,Xt=/[&\u00A0<>]/g,Yt=String.prototype,Vt=Yt.replace,zt=Yt.toLowerCase;function Jt(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function Qt(e){return Vt.call(e,qt,Jt)}var Zt=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),en=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function tn(e){switch(e.nodeType){case W:for(var t,n=e.attributes,r=Be.call(e),l="<"+zt.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+Qt(t.value)+'"';return l+=">",Zt.has(r)?l:l+function(e){for(var t="",n=Kt(e),r=0,l=n.length;r<l;r+=1)t+=tn(n[r]);return t}(e)+"</"+zt.call(r)+">";case U:var a=e.data,i=e.parentNode;return i instanceof Element&&en.has(Be.call(i))?a:function(e){return Vt.call(e,Xt,Jt)}(a);case K:return"<!CDATA[[".concat(e.data,"]]>");case G:return"<?".concat(e.target," ").concat(e.data,"?>");case q:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function nn(e){if(e.nodeType===W){for(var t=Kt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==q&&(n+=nn(o))}return n}return e.nodeValue}var rn=new WeakMap;function ln(){throw new TypeError("Illegal constructor")}function on(e){var t=i(ln.prototype);return rn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}ln.prototype=i(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:ln},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return rn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){L.call(rn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(rn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(rn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return rn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=rn.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)),p(ln,NodeList);var an=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function un(e,t,n,r){var l=Je.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(!S(l))for(var i=0;i<l.length;i++){var u=l[i];if(!Bt(u)){var c=u.getRootNode();if(-1===b.call(a,c)){var s=an(c,a[0]);C(s)||-1!==b.call(l,s)||-1!==b.call(o,s)||y.call(o,s)}else y.call(o,u)}}return o}var cn=new WeakMap;function sn(){throw new TypeError("Illegal constructor")}function fn(e){var t=i(sn.prototype);return cn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}sn.prototype=i(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:sn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return cn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=cn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===fe.call(l,"id")||e===fe.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)),p(sn,HTMLCollection),D.lwcRuntimeFlags||Object.defineProperty(D,"lwcRuntimeFlags",{value:i(null)});var hn=D.lwcRuntimeFlags;function pn(e){return Bt(e)||Zn(e)}function gn(e,t){var n=$t(e);if(t===n)return Qn(n);if(t instanceof Element){if(At(e)===At(t))return t;if(!S(n)&&It(t)){var r=$t(t);if(!S(r)&&kt(n,r))return r}}return null}function mn(){return Sn(this).length>0}function vn(){return Sn(this)[0]||null}function bn(){var e=Sn(this);return e[e.length-1]||null}function dn(){return nn(this)}function yn(){var e=le.call(this);return S(e)?e:gn(this,e)}function En(){var e=le.call(this);if(S(e))return null;var t=gn(this,e);return t instanceof Element?t:null}function wn(e){return this===e?0:this.getRootNode()===e?10:Ht(this)!==Ht(e)?35:V.call(this,e)}function Tn(e){return null!=e&&Ht(this)===Ht(e)&&0!=(V.call(this,e)&x)}function Nn(e){var t=Y.call(this,!1);if(!e)return t;for(var n=Sn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Ln(){if(Zn(this)){var e=$t(this);return on(S(e)?[]:Wt(e,Kt(this)))}return ue.call(this)}var Mn=I.prototype.getRootNode,Cn=C(Mn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Mn;u(I.prototype,{firstChild:{get:function(){return pn(this)?vn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return pn(this)?bn.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return hn.ENABLE_NODE_PATCH?Et(this)?re.call(this):dn.call(this):_t(this)||Zn(this)?dn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(_t(this))return yn.call(this);var e=le.call(this);return!S(e)&&Bt(e)?$t(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(_t(this))return En.call(this);var e=ae.call(this);return!S(e)&&Bt(e)?$t(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return pn(this)?Ln.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return pn(this)?mn.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Et(this)?V.call(this,e):wn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(hn.ENABLE_NODE_PATCH?Et(this)?ee.call(this,e):Tn.call(this,e):null!=e&&(_t(this)||Zn(this)?Tn.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return hn.ENABLE_NODE_PATCH?O(e)?Et(this)?Y.call(this,e):Nn.call(this,e):Y.call(this,e):_t(this)||Zn(this)?Nn.call(this,e):Y.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return O(!C(e)&&!!e.composed)?Cn.call(this,e):S(n=$t(t=this))?Cn.call(t):Qn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var Sn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(I.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(I.prototype,"parentElement"));var On=new WeakMap,Hn=new WeakMap;function An(e,t,n){if(t===n)return!0;var r=Hn.get(e);return C(r)&&(r=e.composedPath(),Hn.set(e,r)),r.includes(n)}function Rn(e){if(!function(e){return A(e)||R(e)&&!S(e)&&A(e.handleEvent)}(e))return e;var t=On.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(An(t,$n(t),n))return A(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},On.set(e,t)),t}var _n=new WeakMap,Pn=new WeakMap;function Dn(e){var t=Pn.get(e);return C(t)&&(t=i(null),Pn.set(e,t)),t}function $n(e){var t;return null!==(t=or.get(e))&&void 0!==t?t:Ge.call(e)}var Bn=new WeakMap;function In(e){if(!A(e))throw new TypeError;var t=Bn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);mt(n)||(n=Qn(n)),An(t,$n(t),n)&&e.call(n,t)}).placement=1,Bn.set(e,t)),t}var kn=new WeakMap;function xn(e){if(!A(e))throw new TypeError;var t=kn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);An(t,$n(t),n)&&e.call(n,t)}).placement=0,kn.set(e,t)),t}function Fn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=Dn(qe.call(e))[r];c(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=T.call(a);function u(n){L.call(i,(function(r){H(t)&&r.placement===n&&-1!==b.call(a,r)&&r.call(void 0,e)}))}_n.set(e,1),u(1),H(t)&&H(n)&&(_n.set(e,0),u(0)),_n.set(e,2)}function jn(e,t,n){var r=Dn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===b.call(l,n)&&(0===l.length&&Nt.call(e,t,Fn),y.call(l,n))}function Wn(e,t,n){var r,l;C(l=Dn(e)[t])||-1===(r=b.call(l,n))||(N.call(l,r,1),0===l.length&&Mt.call(e,t,Fn))}function Un(e,t,n){A(t)&&jn(this,e,xn(t))}function Kn(e,t,n){A(t)&&Wn(this,e,xn(t))}var Gn=new WeakMap,qn=document.createDocumentFragment;function Xn(e){var t=Gn.get(e);if(C(t))throw new TypeError;return t}function Yn(e){return e.$shadowResolver$}function Vn(e,t){e.$shadowResolver$=t}function zn(e){return Xn(e).delegatesFocus}function Jn(e){return Xn(e).host}function Qn(e){return Xn(e).shadowRoot}function Zn(e){var t=Gn.get(e);return!C(t)&&e===t.host}function er(e){var t=Gn.get(e);return!C(t)&&e===t.shadowRoot}c(I.prototype,$,{set:function(e){var t,n;C(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Ot(t,Ct,{value:n,configurable:!0}))},get:function(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),c(D,"$isNativeShadowRootDefined$",{value:gt});var tr=0;function nr(e,t){if(Gn.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=dt(e),o=qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Gn.set(o,a),Gn.set(e,a);var i=function(){return o},u=i.nodeKey=tr++;return Ot(e,St,{value:u}),Vn(o,i),p(o,ir.prototype),o}var rr={constructor:{writable:!0,configurable:!0,value:ir},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},lr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Jn(this),t=dt(e),n=Ve.call(t);if(S(n))return n;if(0==(V.call(e,n)&x))return null;for(var r=n;!kt(e,r);)r=ae.call(r);return It(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Xn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return sr(this,dt(Jn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return un(this,dt(Jn(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 Jn(this)}},mode:{configurable:!0,get:function(){return Xn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},or=new WeakMap,ar={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Jn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(Jn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(Jn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(Jn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&jn(Jn(e),t,In(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return or.set(e,this),Lt.apply(Jn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&Wn(Jn(e),t,In(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Jn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return on(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=Jn(this);return this===e?0:this.contains(e)?20:V.call(t,e)&x?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=Jn(this);return 0!=(V.call(t,e)&x)&&kt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Sn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Sn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Sn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(Jn(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 Jn(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=Sn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==q&&(t+=nn(l))}return t},set:function(e){var t=Jn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?Jn(this).getRootNode(e):this}}};function ir(){throw new TypeError("Illegal constructor")}function ur(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof I))return r;n=e.getRootNode()}for(var l,o=e;!S(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=S(a)?o.parentNode:a}else o=!er(o)&&!mt(o)||!t&&o===n?o instanceof I?o.parentNode:null:o.host;return l=e instanceof Window?e.document:dt(e),r[r.length-1]===l&&r.push(window),r}
|
|
2
|
+
/**
|
|
3
|
+
@license
|
|
4
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
6
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
7
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
|
+
Code distributed by Google as part of the polymer project is also
|
|
9
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
+
*/function cr(e,t){if(S(e))return null;for(var n,r,l,o,a=ur(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),!er(l)||!C(o)&&o>-1)return n;return null}function sr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:cr(e,ur(l,!0))}a(rr,ar,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return fn(m.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,Ut(n=Jn(this),wt(be.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return on((t=e,Wt(n=Jn(this),wt(be.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1)t+=tn(e[n]);return t},set:function(e){var t=Jn(this);_e.call(t,e)}}},lr),ir.prototype=i(DocumentFragment.prototype,rr),c(ir,Symbol.hasInstance,{value:function(e){return R(e)&&!S(e)&&(mt(e)||f(e)===ir.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return sr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return un(this,this,e,t)},c(Document.prototype,"activeElement",{get:function(){var e=Ve.call(this);if(S(e))return e;for(;!C(Ht(e));)if(S(e=ae.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),c(Document.prototype,"getElementById",{value:function(){var e=tt.apply(this,T.call(arguments));return S(e)?null:C(Ht(e))||Et(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(Ht(e))||Et(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(Ht(e))||Et(e)}));return on(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=wt(nt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(Ht(e))||Et(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=wt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(Ht(e))||Et(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=wt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(Ht(e))||Et(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=wt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(Ht(e))||Et(e)}));return on(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ir,configurable:!0,writable:!0});var fr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var hr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function pr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!fr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!fr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Nt.call(this,"click",pr);try{hr.value.call(this)}finally{Mt.call(this,"click",pr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=a(i(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 gr,mr,vr=CustomEvent;function br(e,t){var n=new vr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(br.prototype=vr.prototype,window.CustomEvent=br,"undefined"!=typeof ClipboardEvent){var dr=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===dr[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(gr=s(HTMLIFrameElement.prototype,"contentWindow"),mr=gr.get,gr.get=function(){var e,t=mr.call(this);return S(t)||C(Ht(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}})},c(HTMLIFrameElement.prototype,"contentWindow",gr));var yr=MutationObserver,Er=yr.prototype,wr=Er.disconnect,Tr=Er.observe,Nr=Er.takeRecords,Lr="$$lwcObserverCallbackWrapper$$",Mr=new WeakMap;function Cr(e){return e.$$lwcNodeObservers$$}function Sr(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=i(MutationRecord.prototype);return u(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 Or(e,t){for(var n=t;!S(n);){var r=Cr(n);if(!C(r)&&(r[0]===e||-1!==b.call(r,e)))return!0;n=n.parentNode}return!1}function Hr(e,t){return E.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Rt(r)))Or(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(Or(t,a)){var i=Cr(r);!i||i[0]!==t&&-1===b.call(i,t)?y.call(e,Sr(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(At(r)===At(c)&&Or(t,r))y.call(e,n);else if(u){var s=Cr(u);!s||s[0]!==t&&-1===b.call(s,t)||y.call(e,Sr(n))}}return e}),[])}function Ar(e){var t=function(e){var t=e[Lr];return C(t)&&(t=e[Lr]=function(t,n){var r=Hr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new yr(t)}function Rr(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=Rn(r[1]),it.apply(this,r)}return it.apply(this,arguments)}function _r(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=Rn(r[1]),ut.apply(this,r)}ut.apply(this,arguments)}function Pr(){var e=Ge.call(this);if(!(e instanceof I))return e;var t=dt(e),n=ur(e,this.composed),r=qe.call(this);if(!(r instanceof I))return S(r)&&C(Ht(e))?e:cr(t,n);if(r===t||r===t.body)return C(Ht(e))?e:cr(t,n);var l=r,o=n;Zn(r)&&(1===_n.get(this)&&(l=Qn(r)));return Zn(e)&&or.has(this)&&(o=ur(Qn(e),this.composed)),cr(l,o)}function Dr(){var e=Ge.call(this);if(!(e instanceof I))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Gn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return Zn(e)&&or.has(this)&&(l=Qn(e)),ur(l,this.composed)}function $r(e){var t=s(e.prototype,"relatedTarget").get;c(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(S(e))return null;if(!(e instanceof I&&_t(e)))return e;var n=qe.call(this);return S(n)&&(n=dt(e)),cr(n,ur(e,!0))},enumerable:!0,configurable:!0})}Ar.prototype=yr.prototype,Ar.prototype.disconnect=function(){var e=this;wr.call(this);var t=Mr.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=b.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},Ar.prototype.observe=function(e,t){var n,r=Cr(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===b.call(r,this)&&y.call(r,this),er(e)&&(e=e.host),Mr.has(this)){var l=Mr.get(this);-1===b.call(l,e)&&y.call(l,e)}else Mr.set(this,[e]);return Tr.call(this,e,t)},Ar.prototype.takeRecords=function(){return Hr(Nr.call(this),this)},c(window,"MutationObserver",{value:Ar,configurable:!0,writable:!0}),u(Tt,{addEventListener:{value:function(e,t,n){if(Zn(this))return Un.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=Rn(r[1])),Nt.apply(this,r)}var l=Rn(t);return Nt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(Zn(this))return Kn.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=Rn(r[1])),Mt.apply(this,r),Mt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:Rr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:_r,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:Pr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===_n.get(this)?Qn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Dr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Pr,enumerable:!0,configurable:!0},path:{get:Dr,enumerable:!0,configurable:!0}}),$r(FocusEvent),$r(MouseEvent);var Br,Ir=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},kr={childList:!0},xr=new WeakMap;function Fr(e){var t=wt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&It(t)?y.apply(e,Fr(t)):y.call(e,t),e}),[])}function jr(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(mt(t))return this instanceof Text?Ir.call(this):Ke.call(this)}return!S(e)&&It(e)&&Ht(e)!==Ht(this)?e:null}function Wr(e,t){var n,r=Ht(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(Ht(t))||Et(e)})):T.call(t);else if(Zn(e)){var l=$t(e);n=S(l)?[]:Rt(e)?Ft(e,t):Wt(l,t)}else n=m.call(t,(function(e){return At(e)===r}));return n}function Ur(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1)t+=tn(e[n]);return t}function Kr(){return tn(this)}function Gr(){var e=$t(this),t=S(e)?[]:Wt(e,Kt(this));return fn(m.call(t,(function(e){return e instanceof Element})))}function qr(){return this.children.length}function Xr(){return this.children[0]||null}function Yr(){var e=this.children;return e.item(e.length-1)||null}function Vr(e,t,n){var r;if(Zn(e)){var l=$t(e);r=S(l)?[]:Rt(e)?Ft(e,t):Wt(l,t)}else if(_t(e)){var o=Ht(e);if(C(o))if(1===n){var a=At(e);r=m.call(t,(function(e){return At(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return At(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(Ht(t))||Et(e)})):T.call(t);return r}function zr(e){var t=yt(e);return ct.call(t,e)}function Jr(e){var t=yt(e);return st.call(t)}function Qr(e){return"visible"===e.visibility&&"none"!==e.display}u(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||xr.get(this)||(xr.set(this,!0),Br||(Br=new ft((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===b.call(t,n)&&(y.call(t,n),Lt.call(n,new CustomEvent("slotchange")))}))}))),ht.call(Br,this,kr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(_t(this)){var t=!C(e)&&O(e.flatten),n=t?Fr(this):Gt(this);return m.call(n,(function(e){return e instanceof Element}))}return P.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(_t(this)){var t=!C(e)&&O(e.flatten);return t?Fr(this):Gt(this)}return _.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(_t(this)){var e=$t(this);return on(S(e)?[]:Wt(e,Kt(this)))}return ue.call(this)},enumerable:!0,configurable:!0}}),u(Text.prototype,{assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),u(Element.prototype,{innerHTML:{get:function(){return hn.ENABLE_ELEMENT_PATCH?Et(this)?Re.call(this):Ur.call(this):_t(this)||Zn(this)?Ur.call(this):Re.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return hn.ENABLE_ELEMENT_PATCH?Et(this)?De.call(this):Kr.call(this):_t(this)||Zn(this)?Kr.call(this):De.call(this)},set:function(e){$e.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?nr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(Zn(this)){var e=Qn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return pn(this)?Gr.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return pn(this)?qr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return pn(this)?Xr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return pn(this)?Yr.call(this):Ne.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&c(HTMLElement.prototype,"innerHTML",s(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&c(HTMLElement.prototype,"outerHTML",s(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&c(HTMLElement.prototype,"children",s(Element.prototype,"children")),u(Element.prototype,{querySelector:{value:function(){var e=this,t=wt(be.apply(this,T.call(arguments)));if(Zn(this)){var n=$t(this);return S(n)?null:Rt(this)?jt(this,t):Ut(n,t)}if(_t(this)){var r=Ht(this);if(C(r)){if(!hn.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=At(this),o=v.call(t,(function(e){return At(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return At(e)===r}));return C(a)?null:a}if(!(hn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){var i=t[0];return C(i)?null:i}var u=v.call(t,(function(t){return C(Ht(t))||Et(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=wt(be.apply(this,T.call(arguments)));if(!hn.ENABLE_NODE_LIST_PATCH){var t=Vr(this,e,0);return on(t)}return on(Vr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=wt(We.apply(this,T.call(arguments)));if(!hn.ENABLE_HTML_COLLECTIONS_PATCH)return fn(Wr(this,e));var t=Vr(this,e,1);return fn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=wt(pe.apply(this,T.call(arguments)));if(!hn.ENABLE_HTML_COLLECTIONS_PATCH)return fn(Wr(this,e));var t=Vr(this,e,1);return fn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=wt(ge.apply(this,T.call(arguments)));if(!hn.ENABLE_HTML_COLLECTIONS_PATCH)return fn(Wr(this,e));var t=Vr(this,e,1);return fn(t)},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&c(HTMLElement.prototype,"getElementsByClassName",s(Element.prototype,"getElementsByClassName"));function Zr(e){var t=[];if(function(e){return e.nodeType===W}(e)){var n=e.tagName,r=zr(e);if("OPTION"===n)return[1,Me.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)y.apply(t,Zr(l[o]));if(!Qr(r))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");var i=r.display;"table-cell"===i&&t.push("\t"),"table-row"===i&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==i&&"table-caption"!==i&&"flex"!==i&&"table"!==i||(t.unshift(1),t.push(1))}else(function(e){return e.nodeType===U})(e)&&t.push(function(e){var t=Jr(e);if(null===t)return e.textContent||"";var n=document.createRange();n.selectNodeContents(e);var r=n.getBoundingClientRect();return r.height<=0||r.width<=0?"":(t.removeAllRanges(),t.addRange(n),t.toString()||e.textContent||"")}(e));return t}function el(e){if(!Qr(zr(e)))return nn(e)||"";for(var t=function(e){var t=yt(e),n=Jr(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)y.apply(n,Zr(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=yt(t),i=Jr(t);i.removeAllRanges();for(var u=0;u<o.length;u++)i.addRange(o[u]);a.onselect=n,a.onselectstart=r,a.onselectionchange=l}}(t);for(var a="",i=0,u=0,c=n.length;u<c;u++){var s=n[u];if("string"==typeof s){if(i>0){for(var f=0;f<i;f++)a+="\n";i=0}s.length>0&&(a+=s)}else{if(0==a.length)continue;s>i&&(i=s)}}return a}var tl="\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",nl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function rl(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!nl.has(Be.call(e))||!me.call(e,"disabled")}))}var ll=new WeakMap;function ol(e){return(!Zn(e)||!zn(e))&&(Fe.call(e,tl)&&function(e){var t=he.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 al(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=wt(be.call(this,tl)),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=ve.call(this,tl);S(a)||a.focus.apply(a,arguments)}}function il(e){var t=dt(e),n=rl(wt(et.call(t,tl))),r=rl(wt(be.call(e,tl))),l=r[0],o=r[r.length-1],a=b.call(n,e),i=a>-1?a:b.call(n,l),u=0===r.length?i+1:b.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function ul(e,t){var n=V.call(e,t);return n&x?0:n&F?1:n&j?2:-1}function cl(e){e.preventDefault(),e.stopPropagation()}function sl(e,t){it.call(e,"focusin",cl,!0),it.call(e,"focusout",cl,!0),t(),ut.call(e,"focusin",cl,!0),ut.call(e,"focusout",cl,!0)}function fl(e,t,n){var r=yt(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(dl(t.getRootNode(),l))return l}return null}(e,n);S(l)?sl(r,(function(){t.blur()})):sl(r,(function(){l.focus()}))}var hl=!1;function pl(){hl=!0}function gl(){hl=!1}function ml(){return!hl}function vl(e){if(!hl){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=il(t);if(1===ul(t,r)){var o=dl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))fl(l.next,n,r);else sl(yt(a),(function(){a.focus()}))}else t===n&&fl(w.call(l.prev),n,r)}}}}function bl(e){if(!hl){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=il(n);if(-1===b.call(r.inner,t)){var l=Ge.call(e),o=ul(n,t);1===o&&fl(r.next,l,t),2===o&&fl(w.call(r.prev),l,t)}}}}function dl(e,t){if(!ol(t))return!1;for(var n=dt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===fe.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function yl(e){Mt.call(e,"focusin",vl,!0)}function El(e){var t=dt(e);ll.get(t)||(ll.set(t,!0),Nt.call(t,"mousedown",pl,!0),Nt.call(t,"mouseup",(function(){setTimeout(gl)}),!0),Nt.call(t,"dragstart",gl,!0))}function wl(e){Mt.call(e,"focusin",bl,!0)}var Tl=HTMLElement.prototype,Nl=Tl.blur,Ll=Tl.focus;function Ml(){return zn(this)&&H(me.call(this,"tabindex"))?0:ke.call(this)}function Cl(e){var t=zn(this),n=ke.call(this),r=me.call(this,"tabindex");xe.call(this,e);var l,o=ke.call(this),a=me.call(this,"tabindex"),i=n!==o;(r&&(i||H(a))&&(-1===n&&wl(this),0===n&&t&&yl(this)),H(a))||(r&&a&&H(i)||(-1===o&&(El(l=this),yl(l),Nt.call(l,"focusin",bl,!0)),0===o&&t&&function(e){El(e),wl(e),Nt.call(e,"focusin",vl,!0)}(this)))}function Sl(){if(zn(this)){var e=(n=dt(t=this),S(r=Ve.call(n))||0!=(V.call(t,r)&x)?r:null);if(!S(e))return void e.blur()}var t,n,r;return Nl.call(this)}function Ol(){var e=ml();e&&pl(),Zn(this)&&zn(this)?al.call(this):(Ll.apply(this,arguments),e&&gl())}u(HTMLElement.prototype,{tabIndex:{get:function(){return Zn(this)?Ml.call(this):ke.call(this)},set:function(e){return Zn(this)?Cl.call(this,e):xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(Zn(this))return Sl.call(this);Nl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Ol.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return hn.ENABLE_INNER_OUTER_TEXT_PATCH?hn.ENABLE_ELEMENT_PATCH?Et(this)?Me.call(this):el(this):_t(this)||Zn(this)?el(this):Me.call(this):Me.call(this)},set:function(e){Ce.call(this,e)},enumerable:!0,configurable:!0}),null!==Oe&&null!==He&&c(HTMLElement.prototype,"outerText",{get:function(){return hn.ENABLE_INNER_OUTER_TEXT_PATCH?hn.ENABLE_ELEMENT_PATCH?Et(this)?Oe.call(this):el(this):_t(this)||Zn(this)?el(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,B,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||de.call(this,t),C(e)||ye.call(this,e,""),this.$$ShadowTokenKey$$=e},get:function(){return this.$$ShadowTokenKey$$},configurable:!0});var Hl,Al=function(){},Rl={childList:!0};function _l(e,t,n){var r=Yn(e);if(r!==t&&(Vn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),Zn(e))return;C(r)&&ht.call(Hl,e,Rl);for(var l=ue.call(e),o=0,a=l.length;o<a;o+=1)_l(l[o],t,n)}}function Pl(e){if(C(Hl)&&(Hl=new ft((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Yn(t),o=function(e){return e.$shadowToken$}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];V.call(t,u)&I.DOCUMENT_POSITION_CONTAINED_BY||_l(u,Al,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];V.call(t,f)&I.DOCUMENT_POSITION_CONTAINED_BY&&_l(f,l,o)}}))}))),C(Yn(e)))throw new Error("Invalid Element");ht.call(Hl,e,Rl)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&Pl(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}));
|