lwc 2.13.3 → 2.14.1
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 +351 -129
- package/dist/engine-dom/iife/es2017/engine-dom.js +351 -128
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -2
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +195 -122
- package/dist/engine-dom/iife/es5/engine-dom.js +7581 -5773
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +5966 -4601
- package/dist/engine-dom/umd/es2017/engine-dom.js +351 -128
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -2
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +195 -122
- package/dist/engine-dom/umd/es5/engine-dom.js +7581 -5773
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +5966 -4601
- package/dist/engine-server/commonjs/es2017/engine-server.js +188 -52
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +188 -53
- 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,13 +1,10 @@
|
|
|
1
|
-
!function(){"use strict";let{assign:p,create:g,defineProperties:e,defineProperty:b,freeze:U,getOwnPropertyDescriptor:a,getOwnPropertyNames:V,getPrototypeOf:W,hasOwnProperty:c,isFrozen:X,keys:Y,seal:Z,setPrototypeOf:q}=Object,{filter:$,find:_,indexOf:aa,join:ab,map:ac,push:ad,reduce:ae,reverse:af,slice:ag,splice:ah,unshift:ai,forEach:aj}=Array.prototype,{charCodeAt:ak,replace:al,slice:am,toLowerCase:an}=String.prototype;function G(a){return void 0===a}function r(a){return null===a}function ao(a){return!0===a}function ap(a){return!1===a}function aq(a){return"function"==typeof a}function ar(a){return"object"==typeof a}let i=function(){if("object"==typeof globalThis)return globalThis;let a;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}(),H="$shadowResolver$",as="$$ShadowResolverKey$$",I="$shadowToken$",at="$$ShadowTokenKey$$",f=Node,d=f.prototype,{DOCUMENT_POSITION_CONTAINED_BY:au,DOCUMENT_POSITION_CONTAINS:av,DOCUMENT_POSITION_PRECEDING:aw,DOCUMENT_POSITION_FOLLOWING:ax,ELEMENT_NODE:ay,TEXT_NODE:az,CDATA_SECTION_NODE:aA,PROCESSING_INSTRUCTION_NODE:aB,COMMENT_NODE:aC,DOCUMENT_FRAGMENT_NODE:aD}=f,{appendChild:aE,cloneNode:aF,compareDocumentPosition:aG,insertBefore:aH,removeChild:aI,replaceChild:aJ,hasChildNodes:aK}=d,{contains:aL}=HTMLElement.prototype,aM=a(d,"firstChild").get,aN=a(d,"lastChild").get,aO=a(d,"textContent").get,aP=a(d,"parentNode").get,aQ=a(d,"ownerDocument").get,aR=c.call(d,"parentElement")?a(d,"parentElement").get:a(HTMLElement.prototype,"parentElement").get,aS=a(d,"textContent").set,aT=c.call(d,"childNodes")?a(d,"childNodes").get:a(HTMLElement.prototype,"childNodes").get,aU=c.call(d,"isConnected")?a(d,"isConnected").get:function(){let a=aQ.call(this);return null===a||(aG.call(a,this)&au)!=0},{getAttribute:aV,getBoundingClientRect:aW,getElementsByTagName:aX,getElementsByTagNameNS:aY,hasAttribute:aZ,querySelector:a$,querySelectorAll:a_,removeAttribute:a0,setAttribute:a1}=Element.prototype,a2=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},a3=a(Element.prototype,"childElementCount").get,a4=a(Element.prototype,"firstElementChild").get,a5=a(Element.prototype,"lastElementChild").get,j=a(HTMLElement.prototype,"innerText"),J=j?j.get:null,K=j?j.set:null,k=a(HTMLElement.prototype,"outerText"),L=k?k.get:null,M=k?k.set:null,s=c.call(Element.prototype,"innerHTML")?a(Element.prototype,"innerHTML"):a(HTMLElement.prototype,"innerHTML"),a6=s.get,a7=s.set,t=c.call(Element.prototype,"outerHTML")?a(Element.prototype,"outerHTML"):a(HTMLElement.prototype,"outerHTML"),a8=t.get,a9=t.set,ba=a(Element.prototype,"tagName").get,u=a(HTMLElement.prototype,"tabIndex"),bb=u.get,bc=u.set,bd=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,be=c.call(Element.prototype,"children")?a(Element.prototype,"children").get:a(HTMLElement.prototype,"children").get,{getElementsByClassName:bf}=HTMLElement.prototype,bg=c.call(Element.prototype,"shadowRoot")?a(Element.prototype,"shadowRoot").get:()=>null,bh=c.call(Element.prototype,"assignedSlot")?a(Element.prototype,"assignedSlot").get:()=>null,v,w;"undefined"!=typeof HTMLSlotElement?(v=HTMLSlotElement.prototype.assignedNodes,w=HTMLSlotElement.prototype.assignedElements):(v=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},w=()=>{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")});let bi=a(Event.prototype,"target").get,bj=a(Event.prototype,"currentTarget").get,bk=a(FocusEvent.prototype,"relatedTarget").get,bl=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],bm=a(Document.prototype,"activeElement").get,bn=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,bo=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,bp=a(Document.prototype,"defaultView").get,{createComment:bq,querySelectorAll:br,getElementById:bs,getElementsByClassName:bt,getElementsByTagName:bu,getElementsByTagNameNS:bv}=Document.prototype,{getElementsByName:bw}=HTMLDocument.prototype,{addEventListener:bx,removeEventListener:by,getComputedStyle:bz,getSelection:bA}=window,N=MutationObserver,bB=N.prototype.observe,l=null;"undefined"!=typeof ShadowRoot&&(l=ShadowRoot);let O=!r(l),bC=r(l)?()=>!1:a=>a instanceof l,{createElement:bD}=Document.prototype;function bE(a){let b=aQ.call(a);return null===b?a:b}function bF(b){let c=bE(b),a=bp.call(c);if(null===a)throw new TypeError;return a}"undefined"==typeof HTMLSlotElement&&function(){class a{}q(a,HTMLElement.constructor),q(a.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=a,b(Document.prototype,"createElement",{value:function(b,d){let c=bD.apply(this,ag.call(arguments));return 4===b.length&&115===ak.call(b,0)&&108===ak.call(b,1)&&111===ak.call(b,2)&&116===ak.call(b,3)&&q(c,a.prototype),c}})}();let bG;function bH(b){if(G(bG)){let a=bE(b);bG=a.body&&"temporary-bypass"===aV.call(a.body,"data-global-patching-bypass")}return ao(bG)}function bI(b){let c=b.length,d=[];if(c>0)for(let a=0;a<c;a++)d[a]=b[a];return d}let x="undefined"!=typeof EventTarget?EventTarget.prototype:f.prototype,{addEventListener:bJ,dispatchEvent:bK,removeEventListener:bL}=x,bM="$$HostElementKey$$",bN="$$ShadowedNodeKey$$";function bO(a,b,c){let d=a;{let{value:e}=c;d[b]=e}}function bP(a){return a[bM]}function bQ(c){let a=c,b;for(;!r(a);){if(!G(b=bP(a)))return b;a=aP.call(a)}}function bR(a){return a[bN]}function bS(a){return!G(bP(a))}function bT(a){let b=aR.call(a);for(;!r(b)&&bX(b);)a=b,b=aR.call(a);return a}function bU(c,d){let e=bR(c),a=d instanceof Element?d:aR.call(d);for(;!r(a)&&a!==c;){let f=bQ(a),b=aR.call(a);if(f===e)return bX(a);if(b===c)return!1;if(r(b)||bQ(b)===f)a=b;else{if(!bX(b))return!1;if(!r(a=bV(bT(b)))){if(a===c)return!0;if(bQ(a)===e)return!0}}}return!1}function bV(b){if(!(b instanceof f))return null;let c=bQ(b);if(G(c))return null;let a=b;for(;!r(a)&&bR(a)!==c;)a=aP.call(a);return r(a)?null:a}function bW(a){return bX(a)&&bS(a)}function bX(a){return a instanceof HTMLSlotElement}function bY(b,c){let a=bQ(c);return G(a)||bR(b)===a}function bZ(b){let a=cV(b);return b_(a,bI(aT.call(a)))}function b$(c,d){let e=[];for(let a=0,f=d.length;a<f;a+=1){let b=d[a];!bY(c,b)&&bU(c,b)&&ad.call(e,b)}return e}function b_(e,b){let c=[];for(let a=0,f=b.length;a<f;a+=1){let d=b[a],g=bY(e,d);g&&ad.call(c,d)}return c}function b0(c,b){for(let a=0,d=b.length;a<d;a+=1)if(bY(c,b[a]))return b[a];return null}function b1(a){if(!cX(a)&&!bX(a)){let b=aT.call(a);return bI(b)}if(cX(a)){let c=bI(a_.call(a,"slot")),e=cS(cW(a));return ae.call(c,(a,b)=>(e===cS(b)&&ad.apply(a,b2(b)),a),[])}{let d=bI(aT.call(a)),f=cS(a);return $.call(d,a=>f===cS(a))}}function b2(a){let b=bV(a);if(r(b))return[];let c=bI(aT.call(a));return $.call(c,a=>!bS(a)||!bY(b,a))}let b3=/[&\u00A0"]/g,b4=/[&\u00A0<>]/g,{replace:b5,toLowerCase:b6}=String.prototype;function b7(a){switch(a){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"\xa0":return" ";default:return""}}function b8(a){return b5.call(a,b3,b7)}let b9=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR",]),ca=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT",]);function cb(a){switch(a.nodeType){case ay:{let{attributes:i}=a,c=ba.call(a),b="<"+b6.call(c);for(let e=0,d;d=i[e];e++)b+=" "+d.name+'="'+b8(d.value)+'"';if(b+=">",b9.has(c))return b;return b+function(d){let b="",c=b1(d);for(let a=0,e=c.length;a<e;a+=1)b+=cb(c[a]);return b}(a)+"</"+b6.call(c)+">"}case az:{var f;let{data:g,parentNode:h}=a;if(h instanceof Element&&ca.has(ba.call(h)))return g;return f=g,b5.call(f,b4,b7)}case aA:return`<!CDATA[[${a.data}]]>`;case aB:return`<?${a.target} ${a.data}?>`;case aC:return`<!--${a.data}-->`;default:return""}}function cc(a){if(a.nodeType===ay){let c=b1(a),d="";for(let b=0,f=c.length;b<f;b+=1){let e=c[b];e.nodeType!==aC&&(d+=cc(e))}return d}return a.nodeValue}let cd=new WeakMap;function m(){throw new TypeError("Illegal constructor")}function ce(a){let c=g(m.prototype);return cd.set(c,a),aj.call(a,(a,d)=>{b(c,d,{value:a,enumerable:!0,configurable:!0})}),c}m.prototype=g(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:m},item:{writable:!0,enumerable:!0,configurable:!0,value(a){return this[a]}},length:{enumerable:!0,configurable:!0,get(){return cd.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(a,b){aj.call(cd.get(this),a,b)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return ac.call(cd.get(this),(a,b)=>[b,a])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return ac.call(cd.get(this),(b,a)=>a)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return cd.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let a=0;return{next:()=>{let b=cd.get(this);return a<b.length?{value:b[a++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),q(m,NodeList);let cf=(b,d)=>{let a;for(;!G(a=b.host);){let c=a.getRootNode();if(c===d)return a;b=c}};function cg(h,i,j,k){let a=bo.call(i,j,k),b=[],f=function(d){var b;let c=[],a=d.getRootNode();for(;!G(a);)c.push(a),a=null===(b=a.host)|| void 0===b?void 0:b.getRootNode();return c}(h);if(!r(a))for(let d=0;d<a.length;d++){let e=a[d];if(bW(e))continue;let g=e.getRootNode();if(-1!==aa.call(f,g)){ad.call(b,e);continue}let c=cf(g,f[0]);G(c)|| -1!==aa.call(a,c)|| -1!==aa.call(b,c)||ad.call(b,c)}return b}let ch=new WeakMap;function n(){throw new TypeError("Illegal constructor")}function ci(a){let c=g(n.prototype);return ch.set(c,a),aj.call(a,(a,d)=>{b(c,d,{value:a,enumerable:!0,configurable:!0})}),c}n.prototype=g(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:n},item:{writable:!0,enumerable:!0,configurable:!0,value(a){return this[a]}},length:{enumerable:!0,configurable:!0,get(){return ch.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(a){if(""===a)return null;let c=ch.get(this);for(let d=0,e=c.length;d<e;d++){let b=c[e];if(a===aV.call(b,"id")||a===aV.call(b,"name"))return b}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),q(n,HTMLCollection),i.lwcRuntimeFlags||Object.defineProperty(i,"lwcRuntimeFlags",{value:g(null)});let cj=i.lwcRuntimeFlags;function ck(a){return bW(a)||cX(a)}function cl(d,a){let b=bV(d);if(a===b)return cW(b);if(a instanceof Element){if(bQ(d)===bQ(a))return a;if(!r(b)&&bX(a)){let c=bV(a);if(!r(c)&&bY(b,c))return c}}return null}function cm(){return cx(this).length>0}function cn(){let a=cx(this);return a[0]||null}function co(){let a=cx(this);return a[a.length-1]||null}function cp(){return cc(this)}function cq(){let a=aP.call(this);return r(a)?a:cl(this,a)}function cr(){let a=aP.call(this);if(r(a))return null;let b=cl(this,a);return b instanceof Element?b:null}function cs(a){return this===a?0:this.getRootNode()===a?10:bP(this)!==bP(a)?35:aG.call(this,a)}function ct(a){return null!=a&&bP(this)===bP(a)&&(aG.call(this,a)&au)!=0}function cu(d){let a=aF.call(this,!1);if(!d)return a;let c=cx(this);for(let b=0,e=c.length;b<e;b+=1)a.appendChild(c[b].cloneNode(!0));return a}function cv(){if(cX(this)){let a=bV(this),b=r(a)?[]:b_(a,b1(this));return ce(b)}return aT.call(this)}let y=f.prototype.getRootNode,cw=G(y)?function(){let a=this,b;for(;!r(b=aP.call(a));)a=b;return a}:y;e(f.prototype,{firstChild:{get(){return ck(this)?cn.call(this):aM.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return ck(this)?co.call(this):aN.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return cj.ENABLE_NODE_PATCH?bH(this)?aO.call(this):cp.call(this):bS(this)||cX(this)?cp.call(this):aO.call(this)},set:function(a){aS.call(this,a)},enumerable:!0,configurable:!0},parentNode:{get(){if(bS(this))return cq.call(this);let a=aP.call(this);return!r(a)&&bW(a)?bV(a):a},enumerable:!0,configurable:!0},parentElement:{get(){if(bS(this))return cr.call(this);let a=aR.call(this);return!r(a)&&bW(a)?bV(a):a},enumerable:!0,configurable:!0},childNodes:{get(){return ck(this)?cv.call(this):aT.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return ck(this)?cm.call(this):aK.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(a){return bH(this)?aG.call(this,a):cs.call(this,a)},enumerable:!0,writable:!0,configurable:!0},contains:{value(a){return this===a||(cj.ENABLE_NODE_PATCH?bH(this)?aL.call(this,a):ct.call(this,a):null!=a&&(bS(this)||cX(this)?ct.call(this,a):aL.call(this,a)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(a){return cj.ENABLE_NODE_PATCH?ao(a)?bH(this)?aF.call(this,a):cu.call(this,a):aF.call(this,a):bS(this)||cX(this)?cu.call(this,a):aF.call(this,a)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(a){let b=!G(a)&&!!a.composed;return ao(b)?cw.call(this,a):function(a){let b=bV(a);return r(b)?cw.call(a):cW(b)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return aU.call(this)}}});let cx=function(a){return a.childNodes};c.call(HTMLElement.prototype,"contains")&&b(HTMLElement.prototype,"contains",a(f.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&b(HTMLElement.prototype,"parentElement",a(f.prototype,"parentElement"));let cy=new WeakMap,cz=new WeakMap;function cA(b,d,c){if(d===c)return!0;let a=cz.get(b);return G(a)&&(a=b.composedPath(),cz.set(b,a)),a.includes(c)}function cB(a){var b;if(!(aq(b=a)||ar(b)&&!r(b)&&aq(b.handleEvent)))return a;let c=cy.get(a);return G(c)&&(c=function(b){let c=bj.call(b),d=cF(b);if(cA(b,d,c))return aq(a)?a.call(this,b):a.handleEvent&&a.handleEvent(b)},cy.set(a,c)),c}let cC=new WeakMap,cD=new WeakMap;function cE(b){let a=cD.get(b);return G(a)&&(a=g(null),cD.set(b,a)),a}function cF(b){var a;return null!==(a=c$.get(b))&& void 0!==a?a:bi.call(b)}let cG=new WeakMap;function cH(b){if(!aq(b))throw new TypeError;let a=cG.get(b);return G(a)&&((a=function(c){let a=bj.call(c);bC(a)||(a=cW(a));let d=cF(c);cA(c,d,a)&&b.call(a,c)}).placement=1,cG.set(b,a)),a}let cI=new WeakMap;function cJ(b){if(!aq(b))throw new TypeError;let a=cI.get(b);return G(a)&&((a=function(a){let c=bj.call(a),d=cF(a);cA(a,d,c)&&b.call(c,a)}).placement=0,cI.set(b,a)),a}function cK(a){let d=!1,e=!1,{type:f,stopImmediatePropagation:j,stopPropagation:k}=a,g=bj.call(a),h=cE(g),i=h[f];b(a,"stopImmediatePropagation",{value(){d=!0,j.call(a)},writable:!0,enumerable:!0,configurable:!0}),b(a,"stopPropagation",{value(){e=!0,k.call(a)},writable:!0,enumerable:!0,configurable:!0});let l=ag.call(i);function c(b){aj.call(l,c=>{ap(d)&&c.placement===b&& -1!==aa.call(i,c)&&c.call(void 0,a)})}cC.set(a,1),c(1),ap(d)&&ap(e)&&(cC.set(a,0),c(0)),cC.set(a,2)}function cL(c,b,d){let e=cE(c),a=e[b];G(a)&&(a=e[b]=[]),-1===aa.call(a,d)&&(0===a.length&&bJ.call(c,b,cK),ad.call(a,d))}function cM(b,c,e){let f=cE(b),d,a;G(a=f[c])|| -1===(d=aa.call(a,e))||(ah.call(a,d,1),0===a.length&&bL.call(b,c,cK))}function cN(b,a,d){if(aq(a)){let c=cJ(a);cL(this,b,c)}}function cO(b,a,d){if(aq(a)){let c=cJ(a);cM(this,b,c)}}let cP=new WeakMap,{createDocumentFragment:cQ}=document;function cR(b){let a=cP.get(b);if(G(a))throw new TypeError;return a}function cS(a){return a[H]}function cT(a,b){a[H]=b}function cU(a){return cR(a).delegatesFocus}function cV(a){return cR(a).host}function cW(a){return cR(a).shadowRoot}function cX(a){let b=cP.get(a);return!G(b)&&a===b.host}function cY(a){let b=cP.get(a);return!G(b)&&a===b.shadowRoot}b(f.prototype,H,{set(a){if(!G(a)){var b,c;this[as]=a,b=this,c=a.nodeKey,bO(b,bM,{value:c,configurable:!0})}},get(){return this[as]},configurable:!0,enumerable:!0}),b(i,"$isNativeShadowRootDefined$",{value:O});let cZ=0,z={constructor:{writable:!0,configurable:!0,value:o},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},P={activeElement:{enumerable:!0,configurable:!0,get(){let c=cV(this),d=bE(c),b=bm.call(d);if(r(b))return b;if((aG.call(c,b)&au)==0)return null;let a=b;for(;!bY(c,a);)a=aR.call(a);return bX(a)?null:a}},delegatesFocus:{configurable:!0,get(){return cR(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(a,b){let c=cV(this),d=bE(c);return c1(this,d,a,b)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(a,b){let c=cV(this),d=bE(c);return cg(this,d,a,b)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return cV(this)}},mode:{configurable:!0,get(){return cR(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},c$=new WeakMap,Q={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(a,b){return aH.call(cV(this),a,b),a}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(a){return aI.call(cV(this),a),a}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(a){return aE.call(cV(this),a),a}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(b,a){return aJ.call(cV(this),b,a),a}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(a,b,c){!function(b,c,a,f){if(aq(a)){let d=cV(b),e=cH(a);cL(d,c,e)}}(this,a,b)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(a){return c$.set(a,this),bK.apply(cV(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(a,b,c){!function(b,c,a,f){if(aq(a)){let d=cV(b),e=cH(a);cM(d,c,e)}}(this,a,b)}},baseURI:{enumerable:!0,configurable:!0,get(){return cV(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return ce(bZ(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(a){let b=cV(this);return this===a?0:this.contains(a)?20:aG.call(b,a)&au?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(a){if(this===a)return!0;let b=cV(this);return(aG.call(b,a)&au)!=0&&bY(b,a)}},firstChild:{enumerable:!0,configurable:!0,get(){let a=cx(this);return a[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){let a=cx(this);return a[a.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){let a=cx(this);return a.length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return aU.call(cV(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return cV(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){let b=cx(this),c="";for(let a=0,e=b.length;a<e;a+=1){let d=b[a];d.nodeType!==aC&&(c+=cc(d))}return c},set(a){let b=cV(this);aS.call(b,a)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(a){return!G(a)&&ao(a.composed)?cV(this).getRootNode(a):this}}},R={innerHTML:{enumerable:!0,configurable:!0,get(){let b=cx(this),c="";for(let a=0,d=b.length;a<d;a+=1)c+=cb(b[a]);return c},set(a){let b=cV(this);a7.call(b,a)}}},S={childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return ci($.call(bZ(this),a=>a instanceof Element))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){let{children:a}=this;return a.item(a.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(a){return function(b,c){let a=cV(b),d=bI(a_.call(a,c));return b0(a,d)}(this,a)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(a){return ce(function(b,c){let a=cV(b),d=a_.call(a,c);return b_(a,bI(d))}(this,a))}}};function o(){throw new TypeError("Illegal constructor")}function c_(b,h){let c=[],d;if(b instanceof Window)d=b;else{if(!(b instanceof f))return c;d=b.getRootNode()}let a=b;for(;!r(a);)if(c.push(a),a instanceof Element||a instanceof Text){let e=a.assignedSlot;a=r(e)?a.parentNode:e}else a=(cY(a)||bC(a))&&(h||a!==d)?a.host:a instanceof f?a.parentNode:null;let g;return g=b instanceof Window?b.document:bE(b),c[c.length-1]===g&&c.push(window),c}function c0(e,h){if(r(e))return null;let i=c_(e,!0),f=h;for(let c=0,a,g,b,d;c<f.length;c++)if((b=(a=f[c])instanceof Window?a:a.getRootNode())!==g&&(d=i.indexOf(b),g=b),!cY(b)|| !G(d)&&d> -1)return a;return null}function c1(b,c,d,e){let a=bn.call(c,d,e);return r(a)?a:c0(b,c_(a,!0))}p(z,Q,S,R,P),o.prototype=g(DocumentFragment.prototype,z),b(o,Symbol.hasInstance,{value:function(a){return ar(a)&&!r(a)&&(bC(a)||W(a)===o.prototype)}}),Document.prototype.elementFromPoint=function(a,b){return c1(this,this,a,b)},Document.prototype.elementsFromPoint=function(a,b){return cg(this,this,a,b)},b(Document.prototype,"activeElement",{get(){let a=bm.call(this);if(r(a))return a;for(;!G(bP(a));)if(r(a=aR.call(a)))return null;return"HTML"===a.tagName&&(a=this.body),a},enumerable:!0,configurable:!0}),b(Document.prototype,"getElementById",{value(){let a=bs.apply(this,ag.call(arguments));return r(a)?null:G(bP(a))||bH(a)?a:null},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"querySelector",{value(){let b=bI(br.apply(this,ag.call(arguments))),a=_.call(b,a=>G(bP(a))||bH(a));return G(a)?null:a},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"querySelectorAll",{value(){let a=bI(br.apply(this,ag.call(arguments))),b=$.call(a,a=>G(bP(a))||bH(a));return ce(b)},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"getElementsByClassName",{value(){let a=bI(bt.apply(this,ag.call(arguments))),b=$.call(a,a=>G(bP(a))||bH(a));return ci(b)},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"getElementsByTagName",{value(){let a=bI(bu.apply(this,ag.call(arguments))),b=$.call(a,a=>G(bP(a))||bH(a));return ci(b)},writable:!0,enumerable:!0,configurable:!0}),b(Document.prototype,"getElementsByTagNameNS",{value(){let a=bI(bv.apply(this,ag.call(arguments))),b=$.call(a,a=>G(bP(a))||bH(a));return ci(b)},writable:!0,enumerable:!0,configurable:!0}),b(a(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){let a=bI(bw.apply(this,ag.call(arguments))),b=$.call(a,a=>G(bP(a))||bH(a));return ce(b)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:o,configurable:!0,writable:!0});let c2=Object.getOwnPropertyDescriptor(Event.prototype,"composed"),c3=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function c4(a){Object.defineProperty(a,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!c2)return!1;let b=new Event("click"),a=document.createElement("button");return a.addEventListener("click",a=>b=a),a.click(),!c2.get.call(b)})()&&(HTMLElement.prototype.click=function(){bJ.call(this,"click",c4);try{c3.value.call(this)}finally{bL.call(this,"click",c4)}}),!0!==new Event("test",{composed:!0}).composed&&function(){let c=p(g(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}),b=Event;function a(d,a){let c=new b(d,a),e=!!(a&&a.composed);return Object.defineProperties(c,{composed:{get:()=>e,configurable:!0,enumerable:!0}}),c}a.prototype=b.prototype,a.AT_TARGET=b.AT_TARGET,a.BUBBLING_PHASE=b.BUBBLING_PHASE,a.CAPTURING_PHASE=b.CAPTURING_PHASE,a.NONE=b.NONE,window.Event=a,Object.defineProperties(Event.prototype,{composed:{get(){let{type:a}=this;return 1===c[a]},configurable:!0,enumerable:!0}})}();let T=CustomEvent;function A(c,a){let b=new T(c,a),d=!!(a&&a.composed);return Object.defineProperties(b,{composed:{get:()=>d,configurable:!0,enumerable:!0}}),b}if(A.prototype=T.prototype,window.CustomEvent=A,"undefined"!=typeof ClipboardEvent){let c5=p(g(null),{copy:1,cut:1,paste:1});e(ClipboardEvent.prototype,{composed:{get(){let{type:a}=this;return 1===c5[a]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){let c=a(HTMLIFrameElement.prototype,"contentWindow"),{get:d}=c;c.get=function(){var a;let b=d.call(this);return r(b)||G(bP(this))?b:(a=b,{addEventListener(){return a.addEventListener.apply(a,arguments)},blur(){return a.blur.apply(a,arguments)},close(){return a.close.apply(a,arguments)},focus(){return a.focus.apply(a,arguments)},postMessage(){return a.postMessage.apply(a,arguments)},removeEventListener(){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",c)}();let B=MutationObserver,{disconnect:c6,observe:c7,takeRecords:c8}=B.prototype,c9="$$lwcObserverCallbackWrapper$$",da="$$lwcNodeObservers$$",db=new WeakMap;function dc(a){return a[da]}function dd(b){let{addedNodes:c,removedNodes:d,target:f,type:h}=b,a=g(MutationRecord.prototype);return e(a,{addedNodes:{get:()=>c,enumerable:!0,configurable:!0},removedNodes:{get:()=>d,enumerable:!0,configurable:!0},type:{get:()=>h,enumerable:!0,configurable:!0},target:{get:()=>f.shadowRoot,enumerable:!0,configurable:!0}}),a}function de(c,d){let a=d;for(;!r(a);){let b=dc(a);if(!G(b)&&(b[0]===c|| -1!==aa.call(b,c)))return!0;a=a.parentNode}return!1}function df(a,b){return ae.call(a,(a,c)=>{let{target:d,addedNodes:g,removedNodes:i,type:j}=c;if("childList"!==j||G(bR(d)))de(b,d)&&ad.call(a,c);else if(g.length>0){let k=g[0];if(de(b,k)){let e=dc(d);e&&(e[0]===b|| -1!==aa.call(e,b))?ad.call(a,c):ad.call(a,dd(c))}}else{let h=d.shadowRoot,l=i[0];if(bQ(d)===bQ(l)&&de(b,d))ad.call(a,c);else if(h){let f=dc(h);f&&(f[0]===b|| -1!==aa.call(f,b))&&ad.call(a,dd(c))}}return a},[])}function h(c){var b;let a,d=(G(a=(b=c)[c9])&&(a=b[c9]=(d,a)=>{let c=df(d,a);0!==c.length&&b.call(a,c,a)}),a),e=new B(d);return e}function C(){let a=bi.call(this);if(!(a instanceof f))return a;let c=bE(a),d=c_(a,this.composed),b=bj.call(this);if(!(b instanceof f))return r(b)&&G(bP(a))?a:c0(c,d);if(b===c||b===c.body)return G(bP(a))?a:c0(c,d);let e=b,g=d;if(cX(b)){let h=cC.get(this);1===h&&(e=cW(b))}return cX(a)&&c$.has(this)&&(g=c_(cW(a),this.composed)),c0(e,g)}function D(){var b;let a=bi.call(this);if(!(a instanceof f))return[];let d=Boolean(a.shadowRoot),e=(b=a,cP.has(b));if(d&&!e)return bl.call(this);let g=bj.call(this);if(r(g))return[];let c=a;return cX(a)&&c$.has(this)&&(c=cW(a)),c_(c,this.composed)}function E(c){let d=a(c.prototype,"relatedTarget").get;b(c.prototype,"relatedTarget",{get(){let a=d.call(this);if(r(a))return null;if(!(a instanceof f)||!bS(a))return a;let b=bj.call(this);return r(b)&&(b=bE(a)),c0(b,c_(a,!0))},enumerable:!0,configurable:!0})}h.prototype=B.prototype,h.prototype.disconnect=function(){c6.call(this);let a=db.get(this);G(a)||(aj.call(a,c=>{let a=c[da];if(!G(a)){let b=aa.call(a,this);-1!==b&&ah.call(a,b,1)}}),a.length=0)},h.prototype.observe=function(a,f){let b=dc(a);if(G(b)){var c,d;b=[],c=a,d=b,c[da]=d}if(-1===aa.call(b,this)&&ad.call(b,this),cY(a)&&(a=a.host),db.has(this)){let e=db.get(this);-1===aa.call(e,a)&&ad.call(e,a)}else db.set(this,[a]);return c7.call(this,a,f)},h.prototype.takeRecords=function(){return df(c8.call(this),this)},b(window,"MutationObserver",{value:h,configurable:!0,writable:!0}),e(x,{addEventListener:{value:function(b,c,d){if(cX(this))return cN.apply(this,arguments);if(arguments.length<2){let a=ag.call(arguments);return a.length>1&&(a[1]=cB(a[1])),bJ.apply(this,a)}let e=cB(c);return bJ.call(this,b,e,d)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(b,c,d){if(cX(this))return cO.apply(this,arguments);let a=ag.call(arguments);arguments.length>1&&(a[1]=cB(a[1])),bL.apply(this,a),bL.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&e(Window.prototype,{addEventListener:{value:function(b,c,d){if(arguments.length>1){let a=ag.call(arguments);return a[1]=cB(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){let a=ag.call(arguments);a[1]=cB(a[1]),by.apply(this,a)}by.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),e(Event.prototype,{target:{get:C,enumerable:!0,configurable:!0},currentTarget:{get:function(){let a=bj.call(this);return r(a)?null:1===cC.get(this)?cW(a):a},enumerable:!0,configurable:!0},composedPath:{value:D,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:C,enumerable:!0,configurable:!0},path:{get:D,enumerable:!0,configurable:!0}}),E(FocusEvent),E(MouseEvent);let dg=c.call(Text.prototype,"assignedSlot")?a(Text.prototype,"assignedSlot").get:()=>null,dh,di={childList:!0},dj=new WeakMap;function dk(a){let b=bI(aT.call(a));return ae.call(b,(b,a)=>(a instanceof Element&&bX(a)?ad.apply(b,dk(a)):ad.call(b,a),b),[])}function F(){let a=aP.call(this);if(a instanceof Element){let b=bg.call(a);if(bC(b))return this instanceof Text?dg.call(this):bh.call(this)}return!r(a)&&bX(a)&&bP(a)!==bP(this)?a:null}function dl(a,b){let c,e=bP(a);if(G(e))c=a instanceof HTMLBodyElement?$.call(b,b=>G(bP(b))||bH(a)):ag.call(b);else if(cX(a)){let d=bV(a);c=r(d)?[]:bR(a)?b$(a,b):b_(d,b)}else c=$.call(b,a=>bQ(a)===e);return c}function dm(){let b=cx(this),c="";for(let a=0,d=b.length;a<d;a+=1)c+=cb(b[a]);return c}function dn(){return cb(this)}function dp(){let a=bV(this),b=r(a)?[]:b_(a,b1(this));return ci($.call(b,a=>a instanceof Element))}function dq(){return this.children.length}function dr(){return this.children[0]||null}function ds(){let{children:a}=this;return a.item(a.length-1)||null}function dt(a,b,d){let c;if(cX(a)){let e=bV(a);c=r(e)?[]:bR(a)?b$(a,b):b_(e,b)}else if(bS(a)){let f=bP(a);if(G(f)){if(1===d){let g=bQ(a);c=$.call(b,a=>bQ(a)===g)}else c=ag.call(b)}else c=$.call(b,a=>bQ(a)===f)}else c=a instanceof HTMLBodyElement||1===d?$.call(b,b=>G(bP(b))||bH(a)):ag.call(b);return c}function du(a){let b=bF(a);return bz.call(b,a)}function dv(a){let b=bF(a);return bA.call(b)}function dw(a){return"visible"===a.visibility&&"none"!==a.display}e(HTMLSlotElement.prototype,{addEventListener:{value(a,b,c){HTMLElement.prototype.addEventListener.call(this,a,b,c),"slotchange"!==a||dj.get(this)||(dj.set(this,!0),dh||(dh=new N(a=>{let b=[];aj.call(a,c=>{let{target:a}=c;-1===aa.call(b,a)&&(ad.call(b,a),bK.call(a,new CustomEvent("slotchange")))})})),bB.call(dh,this,di))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(a){if(!bS(this))return w.apply(this,ag.call(arguments));{let b=!G(a)&&ao(a.flatten),c=b?dk(this):b2(this);return $.call(c,a=>a instanceof Element)}},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(a){if(!bS(this))return v.apply(this,ag.call(arguments));{let b=!G(a)&&ao(a.flatten);return b?dk(this):b2(this)}},writable:!0,enumerable:!0,configurable:!0},name:{get(){let a=aV.call(this,"name");return r(a)?"":a},set(a){a1.call(this,"name",a)},enumerable:!0,configurable:!0},childNodes:{get(){if(bS(this)){let a=bV(this),b=r(a)?[]:b_(a,b1(this));return ce(b)}return aT.call(this)},enumerable:!0,configurable:!0}}),e(Text.prototype,{assignedSlot:{get:F,enumerable:!0,configurable:!0}}),e(Element.prototype,{innerHTML:{get(){return cj.ENABLE_ELEMENT_PATCH?bH(this)?a6.call(this):dm.call(this):bS(this)||cX(this)?dm.call(this):a6.call(this)},set(a){a7.call(this,a)},enumerable:!0,configurable:!0},outerHTML:{get(){return cj.ENABLE_ELEMENT_PATCH?bH(this)?a8.call(this):dn.call(this):bS(this)||cX(this)?dn.call(this):a8.call(this)},set(a){a9.call(this,a)},enumerable:!0,configurable:!0},attachShadow:{value:function(a){return a["$$lwc-synthetic-mode"]?function(a,g){var c,d;if(cP.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.");let{mode:h,delegatesFocus:i}=g,j=bE(a),b=cQ.call(j),e={mode:h,delegatesFocus:!!i,host:a,shadowRoot:b};cP.set(b,e),cP.set(a,e);let f=()=>b,k=f.nodeKey=cZ++;return c=a,d=k,bO(c,bN,{value:d}),cT(b,f),q(b,o.prototype),b}(this,a):a2.call(this,a)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(cX(this)){let a=cW(this);if("open"===a.mode)return a}return bg.call(this)},enumerable:!0,configurable:!0},children:{get(){return ck(this)?dp.call(this):be.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return ck(this)?dq.call(this):a3.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return ck(this)?dr.call(this):a4.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return ck(this)?ds.call(this):a5.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:F,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")),e(Element.prototype,{querySelector:{value:function(){let a=bI(a_.apply(this,ag.call(arguments)));if(cX(this)){let b=bV(this);return r(b)?null:bR(this)?function(c,d){for(let a=0,e=d.length;a<e;a+=1){let b=d[a];if(!bY(c,b)&&bU(c,b))return b}return null}(this,a):b0(b,a)}if(bS(this)){let g=bP(this);if(G(g)){if(!cj.ENABLE_NODE_LIST_PATCH)return 0===a.length?null:a[0];let h=bQ(this),c=_.call(a,a=>bQ(a)===h);return G(c)?null:c}{let d=_.call(a,a=>bQ(a)===g);return G(d)?null:d}}{if(!cj.ENABLE_NODE_LIST_PATCH&&!(this instanceof HTMLBodyElement)){let e=a[0];return G(e)?null:e}let f=_.call(a,a=>G(bP(a))||bH(this));return G(f)?null:f}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){let a=bI(a_.apply(this,ag.call(arguments)));if(!cj.ENABLE_NODE_LIST_PATCH){let b=dt(this,a,0);return ce(b)}return ce(dt(this,a,1))},writable:!0,enumerable:!0,configurable:!0}}),e(Element.prototype,{getElementsByClassName:{value(){let a=bI(bf.apply(this,ag.call(arguments)));if(!cj.ENABLE_HTML_COLLECTIONS_PATCH)return ci(dl(this,a));let b=dt(this,a,1);return ci(b)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){let a=bI(aX.apply(this,ag.call(arguments)));if(!cj.ENABLE_HTML_COLLECTIONS_PATCH)return ci(dl(this,a));let b=dt(this,a,1);return ci(b)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){let a=bI(aY.apply(this,ag.call(arguments)));if(!cj.ENABLE_HTML_COLLECTIONS_PATCH)return ci(dl(this,a));let b=dt(this,a,1);return ci(b)},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&b(HTMLElement.prototype,"getElementsByClassName",a(Element.prototype,"getElementsByClassName"));let dx=a=>a.nodeType===ay,dy=a=>a.nodeType===az;function dz(b){let a=[];if(dx(b)){let{tagName:c}=b,f=du(b);if("OPTION"===c)return[1,J.call(b),1];{if("TEXTAREA"===c)return[];let g=b.childNodes;for(let e=0,h=g.length;e<h;e++)ad.apply(a,dz(g[e]))}if(!dw(f))return"SELECT"===c||"DATALIST"===c?[]:a;"BR"===c&&a.push("\n");let{display:d}=f;"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 dy(b)&&a.push(function(a){let b=dv(a);if(null===b)return a.textContent||"";let c=document.createRange();c.selectNodeContents(a);let d=c.getBoundingClientRect();if(d.height<=0||d.width<=0)return"";b.removeAllRanges(),b.addRange(c);let e=b.toString();return e||a.textContent||""}(b));return a}function dA(c){let j=du(c);if(!dw(j))return cc(c)||"";let k=function(b){let a=bF(b),c=dv(b);if(null===c)return null;let e=[];for(let d=0;d<c.rangeCount;d++)e.push(c.getRangeAt(d));let 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;for(let f=0,l=h.length;f<l;f++)ad.apply(e,dz(h[f]));!function(c){if(null===c)return;let{element:d,onselect:g,onselectstart:h,onselectionchange:i,ranges:e}=c,a=bF(d),f=dv(d);f.removeAllRanges();for(let b=0;b<e.length;b++)f.addRange(e[b]);a.onselect=g,a.onselectstart=h,a.onselectionchange=i}(k);let d="",a=0;for(let g=0,m=e.length;g<m;g++){let b=e[g];if("string"==typeof b){if(a>0){for(let 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}let dB=`
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
select,
|
|
11
|
-
textarea,
|
|
12
|
-
video[controls]
|
|
13
|
-
`,dC=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function dD(a){return a.filter(a=>aZ.call(a,"tabindex")?"0"===aV.call(a,"tabindex"):!dC.has(ba.call(a))||!aZ.call(a,"disabled"))}let dE=new WeakMap;function dF(){let c=this.getRootNode();if(c===this){let b=a$.call(this,dB);r(b)||b.focus.apply(b,arguments);return}if(c.activeElement===this)return;let d=bI(a_.call(this,dB)),e=!1;for(;!e&&0!==d.length;){let a=d.shift();a.focus.apply(a,arguments);let f=a.getRootNode();e=f.activeElement===a}}function dG(c){let f=bE(c),a=dD(bI(br.call(f,dB))),b=dD(bI(a_.call(c,dB))),g=b[0],h=b[b.length-1],d=aa.call(a,c),e=d> -1?d:aa.call(a,g),i=0===b.length?e+1:aa.call(a,h)+1,j=ag.call(a,0,e),k=ag.call(a,i);return{prev:j,inner:b,next:k}}function dH(b,c){let a=aG.call(b,c);return a&au?0:a&aw?1:a&ax?2:-1}function dI(a){a.preventDefault(),a.stopPropagation()}function dJ(a,b){bx.call(a,"focusin",dI,!0),bx.call(a,"focusout",dI,!0),b(),by.call(a,"focusin",dI,!0),by.call(a,"focusout",dI,!0)}function dK(c,e,a){let b=bF(a),d=dR(c,a);r(d)?dJ(b,()=>{e.blur()}):dJ(b,()=>{d.focus()})}let dL=!1;function dM(){dL=!0}function dN(){dL=!1}function dO(d){if(dL)return;let a=bj.call(d),b=bi.call(d);if(a!==b)return;let c=bk.call(d);if(r(c))return;let e=dG(a),g=dH(a,c);if(1===g){let h=dQ.bind(null,a.getRootNode()),f=_.call(e.inner,h);if(G(f))dK(e.next,b,c);else{let i=bF(f);dJ(i,()=>{f.focus()})}}else a===b&&dK(af.call(e.prev),b,c)}function dP(b){if(dL)return;let a=bk.call(b);if(r(a))return;let d=bj.call(b),c=dG(d);if(-1!==aa.call(c.inner,a))return;let e=bi.call(b),f=dH(d,a);1===f&&dK(c.next,e,a),2===f&&dK(af.call(c.prev),e,a)}function dQ(e,c){var a;if(!(!(cX(a=c)&&cU(a))&&bd.call(a,dB)&&function(a){let{width:b,height:c}=aW.call(a),d="AREA"===a.tagName;return(b>0||c>0||d)&&"hidden"!==getComputedStyle(a).visibility}(a)))return!1;let f=bE(c),b=c.getRootNode();for(;b!==f&&b!==e;){let g=b,d=g.host;if("-1"===aV.call(d,"tabindex"))return!1;b=d&&d.getRootNode()}return!0}function dR(b,e){let c=b.length;if(c>0)for(let a=0;a<c;a+=1){let d=b[a];if(dQ(e.getRootNode(),d))return d}return null}function dS(a){bL.call(a,"focusin",dO,!0)}function dT(b){let a=bE(b);dE.get(a)||(dE.set(a,!0),bJ.call(a,"mousedown",dM,!0),bJ.call(a,"mouseup",()=>{setTimeout(dN)},!0),bJ.call(a,"dragstart",dN,!0))}function dU(a){bL.call(a,"focusin",dP,!0)}let{blur:dV,focus:dW}=HTMLElement.prototype;function dX(){return cU(this)&&ap(aZ.call(this,"tabindex"))?0:bb.call(this)}function dY(i){var a,b;let f=cU(this),c=bb.call(this),g=aZ.call(this,"tabindex");bc.call(this,i);let d=bb.call(this),e=aZ.call(this,"tabindex"),h=c!==d;g&&(h||ap(e))&&(-1===c&&dU(this),0===c&&f&&dS(this)),!ap(e)&& !(g&&e&&ap(h))&&(-1===d&&(a=this,dT(a),dS(a),bJ.call(a,"focusin",dP,!0)),0===d&&f&&(b=this,dT(b),dU(b),bJ.call(b,"focusin",dO,!0)))}function dZ(){if(cU(this)){let a=function(b){let c=bE(b),a=bm.call(c);return r(a)?a:(aG.call(b,a)&au)!=0?a:null}(this);if(!r(a)){a.blur();return}}return dV.call(this)}function d$(){let a=!dL;if(a&&dM(),cX(this)&&cU(this)){dF.call(this);return}dW.apply(this,arguments),a&&dN()}e(HTMLElement.prototype,{tabIndex:{get(){return cX(this)?dX.call(this):bb.call(this)},set(a){return cX(this)?dY.call(this,a):bc.call(this,a)},enumerable:!0,configurable:!0},blur:{value(){if(cX(this))return dZ.call(this);dV.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){d$.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==J&&null!==K&&b(HTMLElement.prototype,"innerText",{get(){return cj.ENABLE_INNER_OUTER_TEXT_PATCH?cj.ENABLE_ELEMENT_PATCH?bH(this)?J.call(this):dA(this):bS(this)||cX(this)?dA(this):J.call(this):J.call(this)},set(a){K.call(this,a)},enumerable:!0,configurable:!0}),null!==L&&null!==M&&b(HTMLElement.prototype,"outerText",{get(){return cj.ENABLE_INNER_OUTER_TEXT_PATCH?cj.ENABLE_ELEMENT_PATCH?bH(this)?L.call(this):dA(this):bS(this)||cX(this)?dA(this):L.call(this):L.call(this)},set(a){M.call(this,a)},enumerable:!0,configurable:!0}),b(Element.prototype,I,{set(a){let b=this[at];G(b)||b===a||a0.call(this,b),G(a)||a1.call(this,a,""),this[at]=a},get(){return this[at]},configurable:!0});let d_="$$DomManualKey$$",d0=function(){},d1,d2={childList:!0};function d3(a,b,d){let e=cS(a);if(e!==b&&(cT(a,b),a instanceof Element)){var f,g;if(f=a,g=d,f[I]=g,cX(a))return;G(e)&&bB.call(d1,a,d2);let h=aT.call(a);for(let c=0,i=h.length;c<i;c+=1)d3(h[c],b,d)}}b(Element.prototype,"$domManual$",{set(a){this[d_]=a,ao(a)&&function(a){if(G(d1)&&(d1=new N(a=>{aj.call(a,i=>{var n;let{target:a,addedNodes:d,removedNodes:e}=i,j=cS(a),k=a[I];for(let b=0,l=e.length;b<l;b+=1){let g=e[b];aG.call(a,g)&f.DOCUMENT_POSITION_CONTAINED_BY||d3(g,d0,void 0)}for(let c=0,m=d.length;c<m;c+=1){let h=d[c];aG.call(a,h)&f.DOCUMENT_POSITION_CONTAINED_BY&&d3(h,j,k)}})})),G(cS(a)))throw new Error("Invalid Element");bB.call(d1,a,d2)}(this)},get(){return this[d_]},configurable:!0})}()
|
|
1
|
+
!function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{copyWithin:p,fill:g,filter:m,find:d,indexOf:b,join:E,map:y,pop:w,push:T,reduce:v,reverse:N,shift:L,slice:M,sort:C,splice:S,unshift:O,forEach:H}=Array.prototype,{charCodeAt:A,replace:R,slice:_,toLowerCase:P}=String.prototype;function D(e){return void 0===e}function $(e){return null===e}function I(e){return!0===e}function B(e){return!1===e}function k(e){return"function"==typeof e}function x(e){return"object"==typeof e}const F=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),W="$shadowResolver$",U="$shadowToken$",j=Node,K=j.prototype,{DOCUMENT_POSITION_CONTAINED_BY:G,DOCUMENT_POSITION_CONTAINS:q,DOCUMENT_POSITION_PRECEDING:X,DOCUMENT_POSITION_FOLLOWING:Y,ELEMENT_NODE:V,TEXT_NODE:z,CDATA_SECTION_NODE:J,PROCESSING_INSTRUCTION_NODE:Q,COMMENT_NODE:Z,DOCUMENT_FRAGMENT_NODE:ee}=j,{appendChild:te,cloneNode:ne,compareDocumentPosition:le,insertBefore:oe,removeChild:re,replaceChild:ie,hasChildNodes:ae}=K,{contains:ce}=HTMLElement.prototype,ue=r(K,"firstChild").get,se=r(K,"lastChild").get,fe=r(K,"textContent").get,he=r(K,"parentNode").get,pe=r(K,"ownerDocument").get,ge=c.call(K,"parentElement")?r(K,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,me=r(K,"textContent").set,de=c.call(K,"childNodes")?r(K,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,be=c.call(K,"isConnected")?r(K,"isConnected").get:function(){const e=pe.call(this);return null===e||0!=(le.call(e,this)&G)},{getAttribute:Ee,getBoundingClientRect:ye,getElementsByTagName:we,getElementsByTagNameNS:Te,hasAttribute:ve,querySelector:Ne,querySelectorAll:Le,removeAttribute:Me,setAttribute:Ce}=Element.prototype,Se=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Oe=r(Element.prototype,"childElementCount").get,He=r(Element.prototype,"firstElementChild").get,Ae=r(Element.prototype,"lastElementChild").get,Re=r(HTMLElement.prototype,"innerText"),_e=Re?Re.get:null,Pe=Re?Re.set:null,De=r(HTMLElement.prototype,"outerText"),$e=De?De.get:null,Ie=De?De.set:null,Be=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),ke=Be.get,xe=Be.set,Fe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),We=Fe.get,Ue=Fe.set,je=r(Element.prototype,"tagName").get,Ke=r(HTMLElement.prototype,"tabIndex"),Ge=Ke.get,qe=Ke.set,Xe=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ve}=HTMLElement.prototype,ze=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Je=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Qe,Ze;"undefined"!=typeof HTMLSlotElement?(Qe=HTMLSlotElement.prototype.assignedNodes,Ze=HTMLSlotElement.prototype.assignedElements):(Qe=()=>{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")},Ze=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const et=r(Event.prototype,"target").get,tt=r(Event.prototype,"currentTarget").get,nt=r(FocusEvent.prototype,"relatedTarget").get,lt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ot=r(Document.prototype,"activeElement").get,rt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,it=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,at=r(Document.prototype,"defaultView").get,{createComment:ct,querySelectorAll:ut,getElementById:st,getElementsByClassName:ft,getElementsByTagName:ht,getElementsByTagNameNS:pt}=Document.prototype,{getElementsByName:gt}=HTMLDocument.prototype,{addEventListener:mt,removeEventListener:dt,getComputedStyle:bt,getSelection:Et}=window,yt=MutationObserver,wt=yt.prototype.observe;let Tt=null;"undefined"!=typeof ShadowRoot&&(Tt=ShadowRoot);const vt=!$(Tt),Nt=$(Tt)?()=>!1:e=>e instanceof Tt;const{createElement:Lt}=Document.prototype;function Mt(e){const t=pe.call(e);return null===t?e:t}function Ct(e){const t=Mt(e),n=at.call(t);if(null===n)throw new TypeError;return n}let St;function Ot(e){if(D(St)){const t=Mt(e);St=t.body&&"temporary-bypass"===Ee.call(t.body,"data-global-patching-bypass")}return I(St)}function Ht(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Lt.apply(this,M.call(arguments));return 4===t.length&&115===A.call(t,0)&&108===A.call(t,1)&&111===A.call(t,2)&&116===A.call(t,3)&&h(l,e.prototype),l}})}();const At="undefined"!=typeof EventTarget?EventTarget.prototype:j.prototype,{addEventListener:Rt,dispatchEvent:_t,removeEventListener:Pt}=At,Dt="$$HostElementKey$$",$t="$$ShadowedNodeKey$$";function It(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Bt(e){return e[Dt]}function kt(e){let t,n=e;for(;!$(n);){if(t=Bt(n),!D(t))return t;n=he.call(n)}}function xt(e){return e[$t]}function Ft(e){return!D(Bt(e))}function Wt(e){let t=ge.call(e);for(;!$(t)&&Gt(t);)e=t,t=ge.call(e);return e}function Ut(e,t){const n=xt(e);let l=t instanceof Element?t:ge.call(t);for(;!$(l)&&l!==e;){const t=kt(l),o=ge.call(l);if(t===n)return Gt(l);if(o===e)return!1;if($(o)||kt(o)===t)l=o;else{if(!Gt(o))return!1;if(l=jt(Wt(o)),!$(l)){if(l===e)return!0;if(kt(l)===n)return!0}}}return!1}function jt(e){if(!(e instanceof j))return null;const t=kt(e);if(D(t))return null;let n=e;for(;!$(n)&&xt(n)!==t;)n=he.call(n);return $(n)?null:n}function Kt(e){return Gt(e)&&Ft(e)}function Gt(e){return e instanceof HTMLSlotElement}function qt(e,t){const n=kt(t);return D(n)||xt(e)===n}function Xt(e){const t=ol(e);return zt(t,Ht(de.call(t)))}function Yt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!qt(e,o)&&Ut(e,o)&&T.call(n,o)}return n}function Vt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!qt(e,l)&&Ut(e,l))return l}return null}function zt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];qt(e,o)&&T.call(n,o)}return n}function Jt(e,t){for(let n=0,l=t.length;n<l;n+=1)if(qt(e,t[n]))return t[n];return null}function Qt(e){if(!il(e)&&!Gt(e)){return Ht(de.call(e))}if(il(e)){const t=Ht(Le.call(e,"slot")),n=tl(rl(e));return v.call(t,((e,t)=>(n===tl(t)&&T.apply(e,Zt(t)),e)),[])}{const t=Ht(de.call(e)),n=tl(e);return m.call(t,(e=>n===tl(e)))}}function Zt(e){const t=jt(e);if($(t))return[];const n=Ht(de.call(e));return m.call(n,(e=>!Ft(e)||!qt(t,e)))}const en=/[&\u00A0"]/g,tn=/[&\u00A0<>]/g,{replace:nn,toLowerCase:ln}=String.prototype;function on(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function rn(e){return nn.call(e,en,on)}const an=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),cn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function un(e){switch(e.nodeType){case V:{const{attributes:t}=e,n=je.call(e);let l="<"+ln.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+rn(e.value)+'"';return l+=">",an.has(n)?l:l+function(e){let t="";const n=Qt(e);for(let e=0,l=n.length;e<l;e+=1)t+=un(n[e]);return t}(e)+"</"+ln.call(n)+">"}case z:{const{data:n,parentNode:l}=e;return l instanceof Element&&cn.has(je.call(l))?n:(t=n,nn.call(t,tn,on))}case J:return`<!CDATA[[${e.data}]]>`;case Q:return`<?${e.target} ${e.data}?>`;case Z:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function sn(e){if(e.nodeType===V){const t=Qt(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==Z&&(n+=sn(l))}return n}return e.nodeValue}const fn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function pn(e){const n=t(hn.prototype);return fn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}hn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return fn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){H.call(fn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return fn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=fn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),h(hn,NodeList);const gn=(e,t)=>{let n;for(;!D(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function mn(e,t,n,l){const o=it.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!D(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!$(o))for(let e=0;e<o.length;e++){const t=o[e];if(Kt(t))continue;const n=t.getRootNode();if(-1!==b.call(i,n)){T.call(r,t);continue}const l=gn(n,i[0]);D(l)||-1!==b.call(o,l)||-1!==b.call(r,l)||T.call(r,l)}return r}const dn=new WeakMap;function bn(){throw new TypeError("Illegal constructor")}function En(e){const n=t(bn.prototype);return dn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}bn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:bn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return dn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=dn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ee.call(n,"id")||e===Ee.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(bn,HTMLCollection),F.lwcRuntimeFlags||Object.defineProperty(F,"lwcRuntimeFlags",{value:t(null)});const yn=F.lwcRuntimeFlags;function wn(e){return Kt(e)||il(e)}function Tn(e,t){const n=jt(e);if(t===n)return rl(n);if(t instanceof Element){if(kt(e)===kt(t))return t;if(!$(n)&&Gt(t)){const e=jt(t);if(!$(e)&&qt(n,e))return e}}return null}function vn(){return Dn(this).length>0}function Nn(){return Dn(this)[0]||null}function Ln(){const e=Dn(this);return e[e.length-1]||null}function Mn(){return sn(this)}function Cn(){const e=he.call(this);return $(e)?e:Tn(this,e)}function Sn(){const e=he.call(this);if($(e))return null;const t=Tn(this,e);return t instanceof Element?t:null}function On(e){return this===e?0:this.getRootNode()===e?10:Bt(this)!==Bt(e)?35:le.call(this,e)}function Hn(e){return null!=e&&Bt(this)===Bt(e)&&0!=(le.call(this,e)&G)}function An(e){const t=ne.call(this,!1);if(!e)return t;const n=Dn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Rn(){if(il(this)){const e=jt(this);return pn($(e)?[]:zt(e,Qt(this)))}return de.call(this)}const _n=j.prototype.getRootNode,Pn=D(_n)?function(){let e,t=this;for(;!$(e=he.call(t));)t=e;return t}:_n;n(j.prototype,{firstChild:{get(){return wn(this)?Nn.call(this):ue.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return wn(this)?Ln.call(this):se.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return yn.ENABLE_NODE_PATCH?Ot(this)?fe.call(this):Mn.call(this):Ft(this)||il(this)?Mn.call(this):fe.call(this)},set:function(e){me.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Ft(this))return Cn.call(this);const e=he.call(this);return!$(e)&&Kt(e)?jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Ft(this))return Sn.call(this);const e=ge.call(this);return!$(e)&&Kt(e)?jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return wn(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return wn(this)?vn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ot(this)?le.call(this,e):On.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(yn.ENABLE_NODE_PATCH?Ot(this)?ce.call(this,e):Hn.call(this,e):null!=e&&(Ft(this)||il(this)?Hn.call(this,e):ce.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return yn.ENABLE_NODE_PATCH?I(e)?Ot(this)?ne.call(this,e):An.call(this,e):ne.call(this,e):Ft(this)||il(this)?An.call(this,e):ne.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return I(!D(e)&&!!e.composed)?Pn.call(this,e):function(e){const t=jt(e);return $(t)?Pn.call(e):rl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(this)}}});const Dn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(j.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(j.prototype,"parentElement"));const $n=new WeakMap,In=new WeakMap;function Bn(e,t,n){if(t===n)return!0;let l=In.get(e);return D(l)&&(l=e.composedPath(),In.set(e,l)),l.includes(n)}function kn(e){if(!function(e){return k(e)||x(e)&&!$(e)&&k(e.handleEvent)}(e))return e;let t=$n.get(e);return D(t)&&(t=function(t){const n=tt.call(t);if(Bn(t,Un(t),n))return k(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},$n.set(e,t)),t}const xn=new WeakMap,Fn=new WeakMap;function Wn(e){let n=Fn.get(e);return D(n)&&(n=t(null),Fn.set(e,n)),n}function Un(e){var t;return null!==(t=hl.get(e))&&void 0!==t?t:et.call(e)}const jn=new WeakMap;function Kn(e){if(!k(e))throw new TypeError;let t=jn.get(e);return D(t)&&(t=function(t){let n=tt.call(t);Nt(n)||(n=rl(n));Bn(t,Un(t),n)&&e.call(n,t)},t.placement=1,jn.set(e,t)),t}const Gn=new WeakMap;function qn(e){if(!k(e))throw new TypeError;let t=Gn.get(e);return D(t)&&(t=function(t){const n=tt.call(t);Bn(t,Un(t),n)&&e.call(n,t)},t.placement=0,Gn.set(e,t)),t}function Xn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=Wn(tt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=M.call(a);function u(n){H.call(c,(l=>{B(t)&&l.placement===n&&-1!==b.call(a,l)&&l.call(void 0,e)}))}xn.set(e,1),u(1),B(t)&&B(n)&&(xn.set(e,0),u(0)),xn.set(e,2)}function Yn(e,t,n){const l=Wn(e);let o=l[t];D(o)&&(o=l[t]=[]),-1===b.call(o,n)&&(0===o.length&&Rt.call(e,t,Xn),T.call(o,n))}function Vn(e,t,n){let l,o;D(o=Wn(e)[t])||-1===(l=b.call(o,n))||(S.call(o,l,1),0===o.length&&Pt.call(e,t,Xn))}function zn(e,t,n){if(k(t)){Yn(this,e,qn(t))}}function Jn(e,t,n){if(k(t)){Vn(this,e,qn(t))}}const Qn=new WeakMap,{createDocumentFragment:Zn}=document;function el(e){const t=Qn.get(e);if(D(t))throw new TypeError;return t}function tl(e){return e.$shadowResolver$}function nl(e,t){e.$shadowResolver$=t}function ll(e){return el(e).delegatesFocus}function ol(e){return el(e).host}function rl(e){return el(e).shadowRoot}function il(e){const t=Qn.get(e);return!D(t)&&e===t.host}function al(e){const t=Qn.get(e);return!D(t)&&e===t.shadowRoot}l(j.prototype,W,{set(e){var t,n;D(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,It(t,Dt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(F,"$isNativeShadowRootDefined$",{value:vt});let cl=0;function ul(e,t){if(Qn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=Mt(e),r=Zn.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Qn.set(r,i),Qn.set(e,i);const a=()=>r,c=a.nodeKey=cl++;return It(e,$t,{value:c}),nl(r,a),h(r,gl.prototype),r}const sl={constructor:{writable:!0,configurable:!0,value:gl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},fl={activeElement:{enumerable:!0,configurable:!0,get(){const e=ol(this),t=Mt(e),n=ot.call(t);if($(n))return n;if(0==(le.call(e,n)&G))return null;let l=n;for(;!qt(e,l);)l=ge.call(l);return Gt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return el(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return bl(this,Mt(ol(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return mn(this,Mt(ol(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return ol(this)}},mode:{configurable:!0,get(){return el(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},hl=new WeakMap,pl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return oe.call(ol(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return re.call(ol(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return te.call(ol(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(ol(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&Yn(ol(e),t,Kn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return hl.set(e,this),_t.apply(ol(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&Vn(ol(e),t,Kn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return ol(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return pn(Xt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=ol(this);return this===e?0:this.contains(e)?20:le.call(t,e)&G?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=ol(this);return 0!=(le.call(t,e)&G)&&qt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Dn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Dn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Dn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(ol(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return ol(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==Z&&(t+=sn(l))}return t},set(e){const t=ol(this);me.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!D(e)&&I(e.composed)?ol(this).getRootNode(e):this}}};function gl(){throw new TypeError("Illegal constructor")}function ml(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof j))return n;l=e.getRootNode()}let o,r=e;for(;!$(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=$(e)?r.parentNode:e}else r=!al(r)&&!Nt(r)||!t&&r===l?r instanceof j?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Mt(e),n[n.length-1]===o&&n.push(window),n}
|
|
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 dl(e,t){if($(e))return null;const n=ml(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!al(o)||!D(r)&&r>-1)return e;return null}function bl(e,t,n,l){const o=rt.call(t,n,l);return $(o)?o:dl(e,ml(o,!0))}e(sl,pl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return En(m.call(Xt(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=ol(e);return Jt(n,Ht(Le.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return pn(function(e,t){const n=ol(e);return zt(n,Ht(Le.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t},set(e){const t=ol(this);xe.call(t,e)}}},fl),gl.prototype=t(DocumentFragment.prototype,sl),l(gl,Symbol.hasInstance,{value:function(e){return x(e)&&!$(e)&&(Nt(e)||a(e)===gl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return bl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return mn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ot.call(this);if($(e))return e;for(;!D(Bt(e));)if(e=ge.call(e),$(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=st.apply(this,M.call(arguments));return $(e)?null:D(Bt(e))||Ot(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Ht(ut.apply(this,M.call(arguments))),t=d.call(e,(e=>D(Bt(e))||Ot(e)));return D(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Ht(ut.apply(this,M.call(arguments)));return pn(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Ht(ft.apply(this,M.call(arguments)));return En(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Ht(ht.apply(this,M.call(arguments)));return En(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Ht(pt.apply(this,M.call(arguments)));return En(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Ht(gt.apply(this,M.call(arguments)));return pn(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:gl,configurable:!0,writable:!0});const El=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const yl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function wl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!El)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!El.get.call(e)})()&&(HTMLElement.prototype.click=function(){Rt.call(this,"click",wl);try{yl.value.call(this)}finally{Pt.call(this,"click",wl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const Tl=CustomEvent;function vl(e,t){const n=new Tl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(vl.prototype=Tl.prototype,window.CustomEvent=vl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return $(e)||D(Bt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Nl=MutationObserver,{disconnect:Ll,observe:Ml,takeRecords:Cl}=Nl.prototype,Sl="$$lwcObserverCallbackWrapper$$",Ol=new WeakMap;function Hl(e){return e.$$lwcNodeObservers$$}function Al(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function Rl(e,t){let n=t;for(;!$(n);){const t=Hl(n);if(!D(t)&&(t[0]===e||-1!==b.call(t,e)))return!0;n=n.parentNode}return!1}function _l(e,t){return v.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||D(xt(l)))Rl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(Rl(t,r)){const o=Hl(l);!o||o[0]!==t&&-1===b.call(o,t)?T.call(e,Al(n)):T.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(kt(l)===kt(i)&&Rl(t,l))T.call(e,n);else if(o){const l=Hl(o);!l||l[0]!==t&&-1===b.call(l,t)||T.call(e,Al(n))}}return e}),[])}function Pl(e){const t=function(e){let t=e[Sl];return D(t)&&(t=e[Sl]=(t,n)=>{const l=_l(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Nl(t)}function Dl(e,t,n){if(arguments.length>1){const e=M.call(arguments);return e[1]=kn(e[1]),mt.apply(this,e)}return mt.apply(this,arguments)}function $l(e,t,n){if(arguments.length>1){const e=M.call(arguments);e[1]=kn(e[1]),dt.apply(this,e)}dt.apply(this,arguments)}function Il(){const e=et.call(this);if(!(e instanceof j))return e;const t=Mt(e),n=ml(e,this.composed),l=tt.call(this);if(!(l instanceof j))return $(l)&&D(Bt(e))?e:dl(t,n);if(l===t||l===t.body)return D(Bt(e))?e:dl(t,n);let o=l,r=n;if(il(l)){1===xn.get(this)&&(o=rl(l))}return il(e)&&hl.has(this)&&(r=ml(rl(e),this.composed)),dl(o,r)}function Bl(){const e=et.call(this);if(!(e instanceof j))return[];const t=Boolean(e.shadowRoot),n=(l=e,Qn.has(l));var l;if(t&&!n)return lt.call(this);if($(tt.call(this)))return[];let o=e;return il(e)&&hl.has(this)&&(o=rl(e)),ml(o,this.composed)}function kl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if($(e))return null;if(!(e instanceof j&&Ft(e)))return e;let n=tt.call(this);return $(n)&&(n=Mt(e)),dl(n,ml(e,!0))},enumerable:!0,configurable:!0})}Pl.prototype=Nl.prototype,Pl.prototype.disconnect=function(){Ll.call(this);const e=Ol.get(this);D(e)||(H.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!D(t)){const e=b.call(t,this);-1!==e&&S.call(t,e,1)}})),e.length=0)},Pl.prototype.observe=function(e,t){let n=Hl(e);var l;if(D(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===b.call(n,this)&&T.call(n,this),al(e)&&(e=e.host),Ol.has(this)){const t=Ol.get(this);-1===b.call(t,e)&&T.call(t,e)}else Ol.set(this,[e]);return Ml.call(this,e,t)},Pl.prototype.takeRecords=function(){return _l(Cl.call(this),this)},l(window,"MutationObserver",{value:Pl,configurable:!0,writable:!0}),n(At,{addEventListener:{value:function(e,t,n){if(il(this))return zn.apply(this,arguments);if(arguments.length<2){const e=M.call(arguments);return e.length>1&&(e[1]=kn(e[1])),Rt.apply(this,e)}const l=kn(t);return Rt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(il(this))return Jn.apply(this,arguments);const l=M.call(arguments);arguments.length>1&&(l[1]=kn(l[1])),Pt.apply(this,l),Pt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Dl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:$l,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Il,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=tt.call(this);return $(e)?null:1===xn.get(this)?rl(e):e},enumerable:!0,configurable:!0},composedPath:{value:Bl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Il,enumerable:!0,configurable:!0},path:{get:Bl,enumerable:!0,configurable:!0}}),kl(FocusEvent),kl(MouseEvent);const xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Fl;const Wl={childList:!0},Ul=new WeakMap;function jl(e){const t=Ht(de.call(e));return v.call(t,((e,t)=>(t instanceof Element&&Gt(t)?T.apply(e,jl(t)):T.call(e,t),e)),[])}function Kl(){const e=he.call(this);if(e instanceof Element){const t=ze.call(e);if(Nt(t))return this instanceof Text?xl.call(this):Je.call(this)}return!$(e)&&Gt(e)&&Bt(e)!==Bt(this)?e:null}function Gl(e,t){let n;const l=Bt(e);if(D(l))n=e instanceof HTMLBodyElement?m.call(t,(t=>D(Bt(t))||Ot(e))):M.call(t);else if(il(e)){const l=jt(e);n=$(l)?[]:xt(e)?Yt(e,t):zt(l,t)}else n=m.call(t,(e=>kt(e)===l));return n}function ql(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t}function Xl(){return un(this)}function Yl(){const e=jt(this),t=$(e)?[]:zt(e,Qt(this));return En(m.call(t,(e=>e instanceof Element)))}function Vl(){return this.children.length}function zl(){return this.children[0]||null}function Jl(){const{children:e}=this;return e.item(e.length-1)||null}function Ql(e,t,n){let l;if(il(e)){const n=jt(e);l=$(n)?[]:xt(e)?Yt(e,t):zt(n,t)}else if(Ft(e)){const o=Bt(e);if(D(o))if(1===n){const n=kt(e);l=m.call(t,(e=>kt(e)===n))}else l=M.call(t);else l=m.call(t,(e=>kt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?m.call(t,(t=>D(Bt(t))||Ot(e))):M.call(t);return l}function Zl(e){const t=Ct(e);return bt.call(t,e)}function eo(e){const t=Ct(e);return Et.call(t)}function to(e){return"visible"===e.visibility&&"none"!==e.display}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Ul.get(this)||(Ul.set(this,!0),Fl||(Fl=new yt((e=>{const t=[];H.call(e,(e=>{const{target:n}=e;-1===b.call(t,n)&&(T.call(t,n),_t.call(n,new CustomEvent("slotchange")))}))}))),wt.call(Fl,this,Wl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Ft(this)){const t=!D(e)&&I(e.flatten)?jl(this):Zt(this);return m.call(t,(e=>e instanceof Element))}return Ze.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Ft(this)){return!D(e)&&I(e.flatten)?jl(this):Zt(this)}return Qe.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ee.call(this,"name");return $(e)?"":e},set(e){Ce.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Ft(this)){const e=jt(this);return pn($(e)?[]:zt(e,Qt(this)))}return de.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Kl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return yn.ENABLE_ELEMENT_PATCH?Ot(this)?ke.call(this):ql.call(this):Ft(this)||il(this)?ql.call(this):ke.call(this)},set(e){xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return yn.ENABLE_ELEMENT_PATCH?Ot(this)?We.call(this):Xl.call(this):Ft(this)||il(this)?Xl.call(this):We.call(this)},set(e){Ue.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ul(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(il(this)){const e=rl(this);if("open"===e.mode)return e}return ze.call(this)},enumerable:!0,configurable:!0},children:{get(){return wn(this)?Yl.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return wn(this)?Vl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return wn(this)?zl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return wn(this)?Jl.call(this):Ae.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Kl,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=Ht(Le.apply(this,M.call(arguments)));if(il(this)){const t=jt(this);return $(t)?null:xt(this)?Vt(this,e):Jt(t,e)}if(Ft(this)){const t=Bt(this);if(D(t)){if(!yn.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=kt(this),n=d.call(e,(e=>kt(e)===t));return D(n)?null:n}{const n=d.call(e,(e=>kt(e)===t));return D(n)?null:n}}{if(!(yn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return D(t)?null:t}const t=d.call(e,(e=>D(Bt(e))||Ot(this)));return D(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=Ht(Le.apply(this,M.call(arguments)));if(!yn.ENABLE_NODE_LIST_PATCH){return pn(Ql(this,e,0))}return pn(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=Ht(Ve.apply(this,M.call(arguments)));if(!yn.ENABLE_HTML_COLLECTIONS_PATCH)return En(Gl(this,e));return En(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=Ht(we.apply(this,M.call(arguments)));if(!yn.ENABLE_HTML_COLLECTIONS_PATCH)return En(Gl(this,e));return En(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=Ht(Te.apply(this,M.call(arguments)));if(!yn.ENABLE_HTML_COLLECTIONS_PATCH)return En(Gl(this,e));return En(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function no(e){const t=[];if((e=>e.nodeType===V)(e)){const{tagName:n}=e,l=Zl(e);if("OPTION"===n)return[1,_e.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)T.apply(t,no(n[e]))}if(!to(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===z)(e)&&t.push(function(e){const t=eo(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function lo(e){if(!to(Zl(e)))return sn(e)||"";const t=function(e){const t=Ct(e),n=eo(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)T.apply(n,no(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Ct(t),a=eo(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const oo="\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",ro=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function io(e){return e.filter((e=>ve.call(e,"tabindex")?"0"===Ee.call(e,"tabindex"):!ro.has(je.call(e))||!ve.call(e,"disabled")))}const ao=new WeakMap;function co(e){return(!il(e)||!ll(e))&&(Xe.call(e,oo)&&function(e){const{width:t,height:n}=ye.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function uo(){const e=this.getRootNode();if(e===this){const e=Ne.call(this,oo);return void($(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=Ht(Le.call(this,oo));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function so(e){const t=Mt(e),n=io(Ht(ut.call(t,oo))),l=io(Ht(Le.call(e,oo))),o=l[0],r=l[l.length-1],i=b.call(n,e),a=i>-1?i:b.call(n,o),c=0===l.length?a+1:b.call(n,r)+1;return{prev:M.call(n,0,a),inner:l,next:M.call(n,c)}}function fo(e,t){const n=le.call(e,t);return n&G?0:n&X?1:n&Y?2:-1}function ho(e){e.preventDefault(),e.stopPropagation()}function po(e,t){mt.call(e,"focusin",ho,!0),mt.call(e,"focusout",ho,!0),t(),dt.call(e,"focusin",ho,!0),dt.call(e,"focusout",ho,!0)}function go(e,t,n){const l=Ct(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(vo(t.getRootNode(),n))return n}return null}(e,n);$(o)?po(l,(()=>{t.blur()})):po(l,(()=>{o.focus()}))}let mo=!1;function bo(){mo=!0}function Eo(){mo=!1}function yo(){return!mo}function wo(e){if(mo)return;const t=tt.call(e),n=et.call(e);if(t!==n)return;const l=nt.call(e);if($(l))return;const o=so(t);if(1===fo(t,l)){const e=vo.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(D(r))go(o.next,n,l);else{po(Ct(r),(()=>{r.focus()}))}}else t===n&&go(N.call(o.prev),n,l)}function To(e){if(mo)return;const t=nt.call(e);if($(t))return;const n=tt.call(e),l=so(n);if(-1!==b.call(l.inner,t))return;const o=et.call(e),r=fo(n,t);1===r&&go(l.next,o,t),2===r&&go(N.call(l.prev),o,t)}function vo(e,t){if(!co(t))return!1;const n=Mt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ee.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function No(e){Pt.call(e,"focusin",wo,!0)}function Lo(e){const t=Mt(e);ao.get(t)||(ao.set(t,!0),Rt.call(t,"mousedown",bo,!0),Rt.call(t,"mouseup",(()=>{setTimeout(Eo)}),!0),Rt.call(t,"dragstart",Eo,!0))}function Mo(e){Pt.call(e,"focusin",To,!0)}const{blur:Co,focus:So}=HTMLElement.prototype;function Oo(){return ll(this)&&B(ve.call(this,"tabindex"))?0:Ge.call(this)}function Ho(e){const t=ll(this),n=Ge.call(this),l=ve.call(this,"tabindex");qe.call(this,e);const o=Ge.call(this),r=ve.call(this,"tabindex"),i=n!==o;var a;(l&&(i||B(r))&&(-1===n&&Mo(this),0===n&&t&&No(this)),B(r))||(l&&r&&B(i)||(-1===o&&(Lo(a=this),No(a),Rt.call(a,"focusin",To,!0)),0===o&&t&&function(e){Lo(e),Mo(e),Rt.call(e,"focusin",wo,!0)}(this)))}function Ao(){if(ll(this)){const e=function(e){const t=Mt(e),n=ot.call(t);return $(n)||0!=(le.call(e,n)&G)?n:null}(this);if(!$(e))return void e.blur()}return Co.call(this)}function Ro(){const e=yo();e&&bo(),il(this)&&ll(this)?uo.call(this):(So.apply(this,arguments),e&&Eo())}n(HTMLElement.prototype,{tabIndex:{get(){return il(this)?Oo.call(this):Ge.call(this)},set(e){return il(this)?Ho.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(il(this))return Ao.call(this);Co.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==_e&&null!==Pe&&l(HTMLElement.prototype,"innerText",{get(){return yn.ENABLE_INNER_OUTER_TEXT_PATCH?yn.ENABLE_ELEMENT_PATCH?Ot(this)?_e.call(this):lo(this):Ft(this)||il(this)?lo(this):_e.call(this):_e.call(this)},set(e){Pe.call(this,e)},enumerable:!0,configurable:!0}),null!==$e&&null!==Ie&&l(HTMLElement.prototype,"outerText",{get(){return yn.ENABLE_INNER_OUTER_TEXT_PATCH?yn.ENABLE_ELEMENT_PATCH?Ot(this)?$e.call(this):lo(this):Ft(this)||il(this)?lo(this):$e.call(this):$e.call(this)},set(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,U,{set(e){const t=this.$$ShadowTokenKey$$;D(t)||t===e||Me.call(this,t),D(e)||Ce.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0});const _o=function(){};let Po;const Do={childList:!0};function $o(e,t,n){const l=tl(e);if(l!==t&&(nl(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),il(e))return;D(l)&&wt.call(Po,e,Do);const o=de.call(e);for(let e=0,l=o.length;e<l;e+=1)$o(o[e],t,n)}}function Io(e){if(D(Po)&&(Po=new yt((e=>{H.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=tl(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];le.call(t,n)&j.DOCUMENT_POSITION_CONTAINED_BY||$o(n,_o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];le.call(t,l)&j.DOCUMENT_POSITION_CONTAINED_BY&&$o(l,o,r)}}))}))),D(tl(e)))throw new Error("Invalid Element");wt.call(Po,e,Do)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,I(e)&&Io(this)},get(){return this.$$DomManualKey$$},configurable:!0})}();
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
11
11
|
*/
|
|
12
12
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
13
|
-
const { filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, slice: ArraySlice, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
13
|
+
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
14
14
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
15
15
|
function isUndefined(obj) {
|
|
16
16
|
return obj === undefined;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
86
86
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
87
87
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
88
|
-
/** version: 2.
|
|
88
|
+
/** version: 2.14.1 */
|
|
89
89
|
|
|
90
90
|
/*
|
|
91
91
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
1048
1048
|
}
|
|
1049
1049
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
1050
|
-
/** version: 2.
|
|
1050
|
+
/** version: 2.14.1 */
|
|
1051
1051
|
|
|
1052
1052
|
/*
|
|
1053
1053
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4891,6 +4891,6 @@
|
|
|
4891
4891
|
},
|
|
4892
4892
|
configurable: true,
|
|
4893
4893
|
});
|
|
4894
|
-
/** version: 2.
|
|
4894
|
+
/** version: 2.14.1 */
|
|
4895
4895
|
|
|
4896
4896
|
})();
|