lwc 2.49.1 → 3.0.0
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/README.md +18 -8
- package/aria-reflection.d.ts +7 -0
- package/aria-reflection.js +7 -0
- package/babel-plugin-component.d.ts +7 -0
- package/babel-plugin-component.js +7 -0
- package/compiler.d.ts +7 -0
- package/compiler.js +7 -0
- package/engine-core.d.ts +7 -0
- package/engine-core.js +7 -0
- package/engine-dom.d.ts +7 -0
- package/engine-dom.js +7 -0
- package/engine-server.d.ts +7 -0
- package/engine-server.js +7 -0
- package/errors.d.ts +7 -0
- package/errors.js +7 -0
- package/features.d.ts +7 -0
- package/features.js +7 -0
- package/{types.d.ts → index.d.ts} +1 -1
- package/index.js +2 -85
- package/module-resolver.d.ts +7 -0
- package/module-resolver.js +7 -0
- package/package.json +42 -29
- package/rollup-plugin.d.ts +7 -0
- package/rollup-plugin.js +7 -0
- package/shared.d.ts +7 -0
- package/shared.js +7 -0
- package/style-compiler.d.ts +7 -0
- package/style-compiler.js +7 -0
- package/synthetic-shadow.d.ts +7 -0
- package/synthetic-shadow.js +7 -0
- package/template-compiler.d.ts +7 -0
- package/template-compiler.js +7 -0
- package/wire-service.d.ts +7 -0
- package/wire-service.js +7 -0
- package/dist/engine-dom/esm/es2017/engine-dom.js +0 -8391
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +0 -8429
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +0 -2
- package/dist/engine-dom/iife/es2017/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +0 -6912
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +0 -8815
- package/dist/engine-dom/iife/es5/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +0 -2
- package/dist/engine-dom/iife/es5/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +0 -7325
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +0 -8430
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +0 -2
- package/dist/engine-dom/umd/es2017/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +0 -6913
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +0 -8816
- package/dist/engine-dom/umd/es5/engine-dom.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +0 -2
- package/dist/engine-dom/umd/es5/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +0 -7326
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +0 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +0 -14541
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +0 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +0 -2
- package/dist/engine-server/commonjs/es2017/engine-server.min.js.map +0 -1
- package/dist/engine-server/esm/es2017/engine-server.js +0 -14517
- package/dist/engine-server/esm/es2017/engine-server.js.map +0 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +0 -4757
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +0 -4762
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +0 -4574
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +0 -4737
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +0 -4538
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +0 -4764
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +0 -4576
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +0 -4739
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +0 -4540
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +0 -1
- package/dist/wire-service/esm/es2017/wire-service.js +0 -195
- package/dist/wire-service/esm/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service.js +0 -204
- package/dist/wire-service/iife/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service.min.js +0 -2
- package/dist/wire-service/iife/es2017/wire-service.min.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +0 -204
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service.js +0 -247
- package/dist/wire-service/iife/es5/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service.min.js +0 -2
- package/dist/wire-service/iife/es5/wire-service.min.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +0 -247
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service.js +0 -205
- package/dist/wire-service/umd/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service.min.js +0 -2
- package/dist/wire-service/umd/es2017/wire-service.min.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +0 -205
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service.js +0 -248
- package/dist/wire-service/umd/es5/wire-service.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service.min.js +0 -2
- package/dist/wire-service/umd/es5/wire-service.min.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +0 -248
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,every:m,fill:d,filter:b,find:y,findIndex:E,includes:w,indexOf:v,join:T,map:N,pop:M,push:L,reduce:S,reverse:C,shift:H,slice:O,some:D,sort:R,splice:P,unshift:I,forEach:$}=Array.prototype,{charCodeAt:A,replace:B,split:x,slice:k,toLowerCase:F}=String.prototype;function _(e){return void 0===e}function W(e){return null===e}function U(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function K(e){return"object"==typeof e}const q="object"==typeof globalThis?globalThis:window,Y="$shadowResolver$",X="$$ShadowResolverKey$$",V="$shadowStaticNodeKey$",z="$shadowToken$",Q="$$ShadowTokenKey$$",J="$nativeGetElementById$",Z="$nativeQuerySelectorAll$";q.lwcRuntimeFlags||Object.defineProperty(q,"lwcRuntimeFlags",{value:t(null)});const ee=Node,te=ee.prototype,{DOCUMENT_POSITION_CONTAINED_BY:ne,DOCUMENT_POSITION_CONTAINS:le,DOCUMENT_POSITION_PRECEDING:oe,DOCUMENT_POSITION_FOLLOWING:re,ELEMENT_NODE:ae,TEXT_NODE:ie,CDATA_SECTION_NODE:ce,PROCESSING_INSTRUCTION_NODE:ue,COMMENT_NODE:se,DOCUMENT_FRAGMENT_NODE:fe}=ee,{appendChild:pe,cloneNode:he,compareDocumentPosition:ge,insertBefore:me,removeChild:de,replaceChild:be,hasChildNodes:ye}=te,{contains:Ee}=HTMLElement.prototype,we=r(te,"firstChild").get,ve=r(te,"lastChild").get,Te=r(te,"textContent").get,Ne=r(te,"parentNode").get,Me=r(te,"ownerDocument").get,Le=c.call(te,"parentElement")?r(te,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Se=r(te,"textContent").set,Ce=c.call(te,"childNodes")?r(te,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,He=c.call(te,"isConnected")?r(te,"isConnected").get:function(){const e=Me.call(this);return null===e||0!=(ge.call(e,this)&ne)},{getAttribute:Oe,getBoundingClientRect:De,getElementsByTagName:Re,getElementsByTagNameNS:Pe,hasAttribute:Ie,querySelector:$e,querySelectorAll:Ae,removeAttribute:Be,setAttribute:xe}=Element.prototype,ke=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")},Fe=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,We=r(Element.prototype,"lastElementChild").get,Ue=r(HTMLElement.prototype,"innerText"),je=Ue?Ue.get:null,Ge=Ue?Ue.set:null,Ke=r(HTMLElement.prototype,"outerText"),qe=Ke?Ke.get:null,Ye=Ke?Ke.set:null,Xe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Ve=Xe.get,ze=Xe.set,Qe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Je=Qe.get,Ze=Qe.set,et=r(Element.prototype,"tagName").get,tt=r(HTMLElement.prototype,"tabIndex"),nt=tt.get,lt=tt.set,ot=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,rt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:at}=HTMLElement.prototype,it=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,ct=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let ut,st;"undefined"!=typeof HTMLSlotElement?(ut=HTMLSlotElement.prototype.assignedNodes,st=HTMLSlotElement.prototype.assignedElements):(ut=()=>{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")},st=()=>{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 ft=r(Event.prototype,"target").get,pt=r(Event.prototype,"currentTarget").get,ht=r(FocusEvent.prototype,"relatedTarget").get,gt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],mt=r(Document.prototype,"activeElement").get,dt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,bt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,yt=r(Document.prototype,"defaultView").get,{createComment:Et,querySelectorAll:wt,getElementById:vt,getElementsByClassName:Tt,getElementsByTagName:Nt,getElementsByTagNameNS:Mt}=Document.prototype,{getElementsByName:Lt}=HTMLDocument.prototype,{addEventListener:St,removeEventListener:Ct,getComputedStyle:Ht,getSelection:Ot}=window,Dt=MutationObserver,Rt=Dt.prototype.observe;let Pt=null;"undefined"!=typeof ShadowRoot&&(Pt=ShadowRoot);const It=!W(Pt),$t=W(Pt)?()=>!1:e=>e instanceof Pt;const{createElement:At}=Document.prototype;function Bt(e){const t=Me.call(e);return null===t?e:t}function xt(e){const t=Bt(e),n=yt.call(t);if(null===n)throw new TypeError;return n}let kt;function Ft(e){if(_(kt)){const t=Bt(e);kt=t.body&&"temporary-bypass"===Oe.call(t.body,"data-global-patching-bypass")}return U(kt)}function _t(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=At.apply(this,O.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)&&p(l,e.prototype),l}})}();const Wt="undefined"!=typeof EventTarget?EventTarget.prototype:ee.prototype,{addEventListener:Ut,dispatchEvent:jt,removeEventListener:Gt}=Wt,Kt="$$HostElementKey$$",qt="$$ShadowedNodeKey$$";function Yt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Xt(e){return e[Kt]}function Vt(e){let t,n=e;for(;!W(n);){if(t=Xt(n),!_(t))return t;if(n=Ne.call(n),!W(n)&&tn(n))return}}function zt(e){return e[qt]}function Qt(e){return!_(Xt(e))}function Jt(e){let t=Le.call(e);for(;!W(t)&&nn(t);)e=t,t=Le.call(e);return e}function Zt(e,t){const n=zt(e);let l=t instanceof Element?t:Le.call(t);for(;!W(l)&&l!==e;){const t=Vt(l),o=Le.call(l);if(t===n)return nn(l);if(o===e)return!1;if(W(o)||Vt(o)===t)l=o;else{if(!nn(o))return!1;if(l=en(Jt(o)),!W(l)){if(l===e)return!0;if(Vt(l)===n)return!0}}}return!1}function en(e){if(!(e instanceof ee))return null;const t=Vt(e);if(_(t))return null;let n=e;for(;!W(n)&&zt(n)!==t;)n=Ne.call(n);return W(n)?null:n}function tn(e){return nn(e)&&Qt(e)}function nn(e){return e instanceof HTMLSlotElement}function ln(e,t){const n=Vt(t);if(_(n)){const e=Ne.call(t);return!(!W(e)&&tn(e))}return zt(e)===n}function on(e){const t=dl(e);return an(t,_t(Ce.call(t)))}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!ln(e,o)&&Zt(e,o)&&L.call(n,o)}return n}function an(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];ln(e,o)&&L.call(n,o)}return n}function cn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(ln(e,t[n]))return t[n];return null}function un(e){if(!yl(e)&&!nn(e)){return _t(Ce.call(e))}if(yl(e)){const t=_t(Ae.call(e,"slot")),n=hl(bl(e));return S.call(t,((e,t)=>(n===hl(t)&&L.apply(e,sn(t)),e)),[])}{const t=_t(Ce.call(e)),n=hl(e);return b.call(t,(e=>n===hl(e)))}}function sn(e){const t=en(e);if(W(t))return[];const n=_t(Ce.call(e));return b.call(n,(e=>!Qt(e)||!ln(t,e)))}
|
|
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
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
@license
|
|
13
|
-
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
14
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
15
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
16
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
17
|
-
Code distributed by Google as part of the polymer project is also
|
|
18
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
19
|
-
*/
|
|
20
|
-
const fn=/[&\u00A0"]/g,pn=/[&\u00A0<>]/g,{replace:hn,toLowerCase:gn}=String.prototype;function mn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function dn(e){return hn.call(e,fn,mn)}const bn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),yn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function En(e){switch(e.nodeType){case ae:{const{attributes:t}=e,n=et.call(e);let l="<"+gn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+dn(e.value)+'"';return l+=">",bn.has(n)?l:l+function(e){let t="";const n=un(e);for(let e=0,l=n.length;e<l;e+=1)t+=En(n[e]);return t}(e)+"</"+gn.call(n)+">"}case ie:{const{data:n,parentNode:l}=e;return l instanceof Element&&yn.has(et.call(l))?n:(t=n,hn.call(t,pn,mn))}case ce:return`<!CDATA[[${e.data}]]>`;case ue:return`<?${e.target} ${e.data}?>`;case se:return`\x3c!--${e.data}--\x3e`;default:return""}var t}
|
|
21
|
-
/**
|
|
22
|
-
@license
|
|
23
|
-
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
24
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
25
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
26
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
27
|
-
Code distributed by Google as part of the polymer project is also
|
|
28
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
29
|
-
*/function wn(e){if(e.nodeType===ae){const t=un(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==se&&(n+=wn(l))}return n}return e.nodeValue}const vn=new WeakMap;function Tn(){throw new TypeError("Illegal constructor")}function Nn(e){const n=t(Tn.prototype);return vn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}Tn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Tn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return vn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){$.call(vn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return vn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=vn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),p(Tn,NodeList);const Mn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Ln(e,t,n,l){const o=bt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!W(o))for(let e=0;e<o.length;e++){const t=o[e];if(tn(t))continue;const n=t.getRootNode();if(-1!==v.call(a,n)){L.call(r,t);continue}const l=Mn(n,a[0]);_(l)||-1!==v.call(o,l)||-1!==v.call(r,l)||L.call(r,l)}return r}const Sn=new WeakMap;function Cn(){throw new TypeError("Illegal constructor")}function Hn(e){const n=t(Cn.prototype);return Sn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function On(e){return tn(e)||yl(e)}function Dn(e,t){const n=en(e);if(t===n)return bl(n);if(t instanceof Element){if(Vt(e)===Vt(t))return t;if(!W(n)&&nn(t)){const e=en(t);if(!W(e)&&ln(n,e))return e}}return null}function Rn(){return jn(this).length>0}function Pn(){return jn(this)[0]||null}function In(){const e=jn(this);return e[e.length-1]||null}function $n(){return wn(this)}function An(){const e=Ne.call(this);return W(e)?e:Dn(this,e)}function Bn(){const e=Ne.call(this);if(W(e))return null;const t=Dn(this,e);return t instanceof Element?t:null}function xn(e){return this===e?0:this.getRootNode()===e?10:Xt(this)!==Xt(e)?35:ge.call(this,e)}function kn(e){return null!=e&&Xt(this)===Xt(e)&&0!=(ge.call(this,e)&ne)}function Fn(e){const t=he.call(this,!1);if(!e)return t;const n=jn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function _n(){if(yl(this)){const e=en(this);return Nn(W(e)?[]:an(e,un(this)))}return Ce.call(this)}Cn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Cn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Sn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Sn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Oe.call(n,"id")||e===Oe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Cn,HTMLCollection);const Wn=ee.prototype.getRootNode,Un=_(Wn)?function(){let e,t=this;for(;!W(e=Ne.call(t));)t=e;return t}:Wn;n(ee.prototype,{firstChild:{get(){return On(this)?Pn.call(this):we.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return On(this)?In.call(this):ve.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Qt(this)||yl(this)?$n.call(this):Te.call(this)},set:function(e){Se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Qt(this))return An.call(this);const e=Ne.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Qt(this))return Bn.call(this);const e=Le.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return On(this)?_n.call(this):Ce.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return On(this)?Rn.call(this):ye.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ft(this)?ge.call(this,e):xn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Qt(this)||yl(this)?kn.call(this,e):Ee.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Qt(this)||yl(this)?Fn.call(this,e):he.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return U(!_(e)&&!!e.composed)?Un.call(this,e):function(e){const t=en(e);return W(t)?Un.call(e):bl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(this)}}});const jn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(ee.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(ee.prototype,"parentElement"));const Gn=new WeakMap,Kn=new WeakMap;function qn(e,t,n){if(t===n)return!0;let l=Kn.get(e);return _(l)&&(l=e.composedPath(),Kn.set(e,l)),l.includes(n)}function Yn(e){if(!function(e){return G(e)||K(e)&&!W(e)&&G(e.handleEvent)}(e))return e;let t=Gn.get(e);return _(t)&&(t=function(t){const n=pt.call(t);if(qn(t,Zn(t),n))return G(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Gn.set(e,t)),t}const Xn=new WeakMap;function Vn(e){return G(e)?e:e.handleEvent}function zn(e){return G(e)||G(null==e?void 0:e.handleEvent)}const Qn=new WeakMap;function Jn(e){let n=Qn.get(e);return _(n)&&(n=t(null),Qn.set(e,n)),n}function Zn(e){var t;return null!==(t=Ml.get(e))&&void 0!==t?t:ft.call(e)}const el=new WeakMap;function tl(e){if(!zn(e))throw new TypeError;let t=el.get(e);return _(t)&&(t={identity:e,placement:1,handleEvent(t){let n=pt.call(t);$t(n)||(n=bl(n));qn(t,Zn(t),n)&&Vn(e).call(n,t)}},el.set(e,t)),t}const nl=new WeakMap;function ll(e){if(!zn(e))throw new TypeError;let t=nl.get(e);return _(t)&&(t={identity:e,placement:0,handleEvent(t){const n=pt.call(t);qn(t,Zn(t),n)&&Vn(e).call(n,t)}},nl.set(e,t)),t}function ol(e,t){return E.call(e,(e=>e.identity===t.identity))}function rl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Jn(pt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=O.call(i);function u(n){$.call(c,(l=>{j(t)&&l.placement===n&&-1!==ol(i,l)&&l.handleEvent.call(void 0,e)}))}Xn.set(e,1),u(1),j(t)&&j(n)&&(Xn.set(e,0),u(0)),Xn.set(e,2)}function al(e,t,n){const l=Jn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===ol(o,n)&&(0===o.length&&Ut.call(e,t,rl),L.call(o,n))}function il(e,t,n){let l,o;_(o=Jn(e)[t])||-1===(l=ol(o,n))||(P.call(o,l,1),0===o.length&&Gt.call(e,t,rl))}function cl(e,t,n){if(zn(t)){al(this,e,ll(t))}}function ul(e,t,n){if(zn(t)){il(this,e,ll(t))}}const sl=new WeakMap,{createDocumentFragment:fl}=document;function pl(e){const t=sl.get(e);if(_(t))throw new TypeError;return t}function hl(e){return e[Y]}function gl(e,t){e[Y]=t}function ml(e){return pl(e).delegatesFocus}function dl(e){return pl(e).host}function bl(e){return pl(e).shadowRoot}function yl(e){const t=sl.get(e);return!_(t)&&e===t.host}function El(e){const t=sl.get(e);return!_(t)&&e===t.shadowRoot}l(ee.prototype,Y,{set(e){var t,n;_(e)||(this[X]=e,t=this,n=e.nodeKey,Yt(t,Kt,{value:n,configurable:!0}))},get(){return this[X]},configurable:!0,enumerable:!0}),l(q,"$isNativeShadowRootDefined$",{value:It}),_(q[J])&&l(q,J,{value:vt,configurable:!0}),_(q[Z])&&l(q,Z,{value:wt,configurable:!0});let wl=0;function vl(e,t){if(sl.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=Bt(e),r=fl.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};sl.set(r,a),sl.set(e,a);const i=()=>r,c=i.nodeKey=wl++;return Yt(e,qt,{value:c}),gl(r,i),p(r,Sl.prototype),r}const Tl={constructor:{writable:!0,configurable:!0,value:Sl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},Nl={activeElement:{enumerable:!0,configurable:!0,get(){const e=dl(this),t=Bt(e),n=mt.call(t);if(W(n))return n;if(0==(ge.call(e,n)&ne))return null;let l=n;for(;!ln(e,l);)l=Le.call(l);return nn(l)?null:l}},delegatesFocus:{configurable:!0,get(){return pl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ol(this,Bt(dl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ln(this,Bt(dl(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 dl(this)}},mode:{configurable:!0,get(){return pl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Ml=new WeakMap,Ll={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return me.call(dl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return de.call(dl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return pe.call(dl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return be.call(dl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&al(dl(e),t,tl(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return Ml.set(e,this),jt.apply(dl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&il(dl(e),t,tl(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return dl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Nn(on(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=dl(this);return this===e?0:this.contains(e)?20:ge.call(t,e)&ne?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=dl(this);return 0!=(ge.call(t,e)&ne)&&ln(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return jn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=jn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return jn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(dl(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 dl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==se&&(t+=wn(l))}return t},set(e){const t=dl(this);Se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&U(e.composed)?dl(this).getRootNode(e):this}}};function Sl(){throw new TypeError("Illegal constructor")}
|
|
30
|
-
/**
|
|
31
|
-
@license
|
|
32
|
-
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
33
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
34
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
35
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
36
|
-
Code distributed by Google as part of the polymer project is also
|
|
37
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
38
|
-
*/
|
|
39
|
-
function Cl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof ee))return n;l=e.getRootNode()}let o,r=e;for(;!W(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=W(e)?r.parentNode:e}else r=!El(r)&&!$t(r)||!t&&r===l?r instanceof ee?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Bt(e),n[n.length-1]===o&&n.push(window),n}
|
|
40
|
-
/**
|
|
41
|
-
@license
|
|
42
|
-
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
43
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
44
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
45
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
46
|
-
Code distributed by Google as part of the polymer project is also
|
|
47
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
48
|
-
*/function Hl(e,t){if(W(e))return null;const n=Cl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!El(o)||!_(r)&&r>-1)return e;return null}function Ol(e,t,n,l){const o=dt.call(t,n,l);return W(o)?o:Hl(e,Cl(o,!0))}e(Tl,Ll,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Hn(b.call(on(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=dl(e);return cn(n,_t(Ae.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Nn(function(e,t){const n=dl(e);return an(n,_t(Ae.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=En(e[n]);return t},set(e){const t=dl(this);ze.call(t,e)}}},Nl),Sl.prototype=t(DocumentFragment.prototype,Tl),l(Sl,Symbol.hasInstance,{value:function(e){return K(e)&&!W(e)&&($t(e)||i(e)===Sl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ol(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Ln(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=mt.call(this);if(W(e))return e;for(;!_(Xt(e));)if(e=Le.call(e),W(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=vt.apply(this,O.call(arguments));return W(e)?null:_(Xt(e))||Ft(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(wt.apply(this,O.call(arguments))),t=y.call(e,(e=>_(Xt(e))||Ft(e)));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(wt.apply(this,O.call(arguments)));return Nn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(Tt.apply(this,O.call(arguments)));return Hn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(Nt.apply(this,O.call(arguments)));return Hn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(Mt.apply(this,O.call(arguments)));return Hn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=_t(Lt.apply(this,O.call(arguments)));return Nn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Sl,configurable:!0,writable:!0});const Dl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Rl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Pl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Dl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Dl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ut.call(this,"click",Pl);try{Rl.value.call(this)}finally{Gt.call(this,"click",Pl)}}),!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 Il=CustomEvent;function $l(e,t){const n=new Il(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if($l.prototype=Il.prototype,window.CustomEvent=$l,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&U(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return W(e)||_(Xt(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 Al=MutationObserver,{disconnect:Bl,observe:xl,takeRecords:kl}=Al.prototype,Fl="$$lwcObserverCallbackWrapper$$",_l="$$lwcNodeObservers$$",Wl=new WeakMap;function Ul(e){return e[_l]}function jl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function Gl(e,t){let n=t;for(;!W(n);){const t=Ul(n);if(!_(t)&&(t[0]===e||-1!==v.call(t,e)))return!0;n=n.parentNode}return!1}function Kl(e,t){return S.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||_(zt(l)))Gl(t,l)&&L.call(e,n);else if(o.length>0){const r=o[0];if(Gl(t,r)){const o=Ul(l);!o||o[0]!==t&&-1===v.call(o,t)?L.call(e,jl(n)):L.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Vt(l)===Vt(a)&&Gl(t,l))L.call(e,n);else if(o){const l=Ul(o);!l||l[0]!==t&&-1===v.call(l,t)||L.call(e,jl(n))}}return e}),[])}function ql(e){const t=function(e){let t=e[Fl];return _(t)&&(t=e[Fl]=(t,n)=>{const l=Kl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Al(t)}function Yl(e,t,n){if(arguments.length>1){const e=O.call(arguments);return e[1]=Yn(e[1]),St.apply(this,e)}return St.apply(this,arguments)}function Xl(e,t,n){if(arguments.length>1){const e=O.call(arguments);e[1]=Yn(e[1]),Ct.apply(this,e)}Ct.apply(this,arguments)}function Vl(){const e=ft.call(this);if(!(e instanceof ee))return e;const t=Bt(e),n=Cl(e,this.composed),l=pt.call(this);if(!(l instanceof ee))return W(l)&&_(Xt(e))?e:Hl(t,n);if(l===t||l===t.body)return _(Xt(e))?e:Hl(t,n);let o=l,r=n;if(yl(l)){1===Xn.get(this)&&(o=bl(l))}return yl(e)&&Ml.has(this)&&(r=Cl(bl(e),this.composed)),Hl(o,r)}function zl(){const e=ft.call(this);if(!(e instanceof ee))return[];const t=Boolean(e.shadowRoot),n=(l=e,sl.has(l));var l;if(t&&!n)return gt.call(this);if(W(pt.call(this)))return[];let o=e;return yl(e)&&Ml.has(this)&&(o=bl(e)),Cl(o,this.composed)}function Ql(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(W(e))return null;if(!(e instanceof ee&&Qt(e)))return e;let n=pt.call(this);return W(n)&&(n=Bt(e)),Hl(n,Cl(e,!0))},enumerable:!0,configurable:!0})}ql.prototype=Al.prototype,ql.prototype.disconnect=function(){Bl.call(this);const e=Wl.get(this);_(e)||($.call(e,(e=>{const t=e[_l];if(!_(t)){const e=v.call(t,this);-1!==e&&P.call(t,e,1)}})),e.length=0)},ql.prototype.observe=function(e,t){let n=Ul(e);var l;if(_(n)&&(n=[],l=n,e[_l]=l),-1===v.call(n,this)&&L.call(n,this),El(e)&&(e=e.host),Wl.has(this)){const t=Wl.get(this);-1===v.call(t,e)&&L.call(t,e)}else Wl.set(this,[e]);return xl.call(this,e,t)},ql.prototype.takeRecords=function(){return Kl(kl.call(this),this)},l(window,"MutationObserver",{value:ql,configurable:!0,writable:!0}),n(Wt,{addEventListener:{value:function(e,t,n){if(yl(this))return cl.apply(this,arguments);if(arguments.length<2){const e=O.call(arguments);return e.length>1&&(e[1]=Yn(e[1])),Ut.apply(this,e)}const l=Yn(t);return Ut.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(yl(this))return ul.apply(this,arguments);const l=O.call(arguments);arguments.length>1&&(l[1]=Yn(l[1])),Gt.apply(this,l),Gt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Yl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Xl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Vl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=pt.call(this);return W(e)?null:1===Xn.get(this)?bl(e):e},enumerable:!0,configurable:!0},composedPath:{value:zl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Vl,enumerable:!0,configurable:!0},path:{get:zl,enumerable:!0,configurable:!0}}),Ql(FocusEvent),Ql(MouseEvent);const Jl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Zl;const eo={childList:!0},to=new WeakMap;function no(e){const t=_t(Ce.call(e));return S.call(t,((e,t)=>(t instanceof Element&&nn(t)?L.apply(e,no(t)):L.call(e,t),e)),[])}function lo(){const e=Ne.call(this);if(e instanceof Element){const t=it.call(e);if($t(t))return this instanceof Text?Jl.call(this):ct.call(this)}return!W(e)&&nn(e)&&Xt(e)!==Xt(this)?e:null}function oo(e,t){let n;const l=Xt(e);if(_(l))n=e instanceof HTMLBodyElement?b.call(t,(t=>_(Xt(t))||Ft(e))):O.call(t);else if(yl(e)){const l=en(e);n=W(l)?[]:zt(e)?rn(e,t):an(l,t)}else n=b.call(t,(e=>Vt(e)===l));return n}function ro(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=En(e[n]);return t}function ao(){return En(this)}function io(){const e=en(this),t=W(e)?[]:an(e,un(this));return Hn(b.call(t,(e=>e instanceof Element)))}function co(){return this.children.length}function uo(){return this.children[0]||null}function so(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||to.get(this)||(to.set(this,!0),Zl||(Zl=new Dt((e=>{const t=[];$.call(e,(e=>{const{target:n}=e;-1===v.call(t,n)&&(L.call(t,n),jt.call(n,new CustomEvent("slotchange")))}))}))),Rt.call(Zl,this,eo))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Qt(this)){const t=!_(e)&&U(e.flatten)?no(this):sn(this);return b.call(t,(e=>e instanceof Element))}return st.apply(this,O.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Qt(this)){return!_(e)&&U(e.flatten)?no(this):sn(this)}return ut.apply(this,O.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Oe.call(this,"name");return W(e)?"":e},set(e){xe.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Qt(this)){const e=en(this);return Nn(W(e)?[]:an(e,un(this)))}return Ce.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:lo,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Qt(this)||yl(this)?ro.call(this):Ve.call(this)},set(e){ze.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Qt(this)||yl(this)?ao.call(this):Je.call(this)},set(e){Ze.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?vl(this,e):ke.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(yl(this)){const e=bl(this);if("open"===e.mode)return e}return it.call(this)},enumerable:!0,configurable:!0},children:{get(){return On(this)?io.call(this):rt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return On(this)?co.call(this):Fe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return On(this)?uo.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return On(this)?so.call(this):We.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:lo,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=_t(Ae.apply(this,O.call(arguments)));if(yl(this)){const t=en(this);return _(zt(this))?W(t)?null:cn(t,e):function(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!ln(e,l)&&Zt(e,l))return l}return null}(this,e)}if(Qt(this)){const t=Xt(this);if(_(t))return 0===e.length?null:e[0];{const n=y.call(e,(e=>Vt(e)===t));return _(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return _(t)?null:t}const t=y.call(e,(e=>_(Xt(e))||Ft(this)));return _(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Nn(function(e,t){let n;if(yl(e)){const l=en(e);n=_(zt(e))?W(l)?[]:an(l,t):rn(e,t)}else if(Qt(e)){const l=Xt(e);n=_(l)?O.call(t):b.call(t,(e=>Vt(e)===l))}else n=e instanceof HTMLBodyElement?b.call(t,(t=>_(Xt(t))||Ft(e))):O.call(t);return n}(this,_t(Ae.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Hn(oo(this,_t(at.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Hn(oo(this,_t(Re.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Hn(oo(this,_t(Pe.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const fo="\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",po=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ho(e){return e.filter((e=>Ie.call(e,"tabindex")?"0"===Oe.call(e,"tabindex"):!po.has(et.call(e))||!Ie.call(e,"disabled")))}const go=new WeakMap;function mo(e){return(!yl(e)||!ml(e))&&(ot.call(e,fo)&&function(e){const{width:t,height:n}=De.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function bo(){const e=this.getRootNode();if(e===this){const e=$e.call(this,fo);return void(W(e)||e.focus.apply(e,arguments))}if(e.activeElement===this)return;const t=_t(Ae.call(this,fo));let n=!1;for(;!n&&0!==t.length;){const e=t.shift();e.focus.apply(e,arguments);n=e.getRootNode().activeElement===e}}function yo(e){const t=Bt(e),n=ho(_t(wt.call(t,fo))),l=ho(_t(Ae.call(e,fo))),o=l[0],r=l[l.length-1],a=v.call(n,e),i=a>-1?a:v.call(n,o),c=0===l.length?i+1:v.call(n,r)+1;return{prev:O.call(n,0,i),inner:l,next:O.call(n,c)}}function Eo(e,t){const n=ge.call(e,t);return n&ne?0:n&oe?1:n&re?2:-1}function wo(e){e.preventDefault(),e.stopPropagation()}function vo(e,t){St.call(e,"focusin",wo,!0),St.call(e,"focusout",wo,!0),t(),Ct.call(e,"focusin",wo,!0),Ct.call(e,"focusout",wo,!0)}function To(e,t,n){const l=xt(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(Ho(t.getRootNode(),n))return n}return null}(e,n);W(o)?vo(l,(()=>{t.blur()})):vo(l,(()=>{o.focus()}))}let No=!1;function Mo(){No=!0}function Lo(){No=!1}function So(e){if(No)return;const t=pt.call(e),n=ft.call(e);if(t!==n)return;const l=ht.call(e);if(W(l))return;const o=yo(t);if(1===Eo(t,l)){const e=Ho.bind(null,t.getRootNode()),r=y.call(o.inner,e);if(_(r))To(o.next,n,l);else{vo(xt(r),(()=>{r.focus()}))}}else t===n&&To(C.call(o.prev),n,l)}function Co(e){if(No)return;const t=ht.call(e);if(W(t))return;const n=pt.call(e),l=yo(n);if(-1!==v.call(l.inner,t))return;const o=ft.call(e),r=Eo(n,t);1===r&&To(l.next,o,t),2===r&&To(C.call(l.prev),o,t)}function Ho(e,t){if(!mo(t))return!1;const n=Bt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Oe.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Oo(e){Gt.call(e,"focusin",So,!0)}function Do(e){const t=Bt(e);go.get(t)||(go.set(t,!0),Ut.call(t,"mousedown",Mo,!0),Ut.call(t,"mouseup",(()=>{setTimeout(Lo)}),!0),Ut.call(t,"dragstart",Lo,!0))}function Ro(e){Gt.call(e,"focusin",Co,!0)}const{blur:Po,focus:Io}=HTMLElement.prototype;function $o(){return ml(this)&&j(Ie.call(this,"tabindex"))?0:nt.call(this)}function Ao(e){const t=ml(this),n=nt.call(this),l=Ie.call(this,"tabindex");lt.call(this,e);const o=nt.call(this),r=Ie.call(this,"tabindex"),a=n!==o;var i;(l&&(a||j(r))&&(-1===n&&Ro(this),0===n&&t&&Oo(this)),j(r))||(l&&r&&j(a)||(-1===o&&(Do(i=this),Oo(i),Ut.call(i,"focusin",Co,!0)),0===o&&t&&function(e){Do(e),Ro(e),Ut.call(e,"focusin",So,!0)}(this)))}function Bo(){if(ml(this)){const e=function(e){const t=Bt(e),n=mt.call(t);return W(n)||0!=(ge.call(e,n)&ne)?n:null}(this);if(!W(e))return void e.blur()}return Po.call(this)}function xo(){const e=!No;e&&Mo(),yl(this)&&ml(this)?bo.call(this):(Io.apply(this,arguments),e&&Lo())}function ko(e,t){e[Y]=t;const n=Ce.call(e);for(let e=0,l=n.length;e<l;e++)ko(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return yl(this)?$o.call(this):nt.call(this)},set(e){return yl(this)?Ao.call(this,e):lt.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(yl(this))return Bo.call(this);Po.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){xo.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==je&&null!==Ge&&l(HTMLElement.prototype,"innerText",{get(){return je.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0}),null!==qe&&null!==Ye&&l(HTMLElement.prototype,"outerText",{get(){return qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,z,{set(e){const t=this[Q];_(t)||t===e||Be.call(this,t),_(e)||xe.call(this,e,""),this[Q]=e},get(){return this[Q]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){ko(this,this[Y])}this[V]=e},get(){return this[V]},configurable:!0});const Fo="$$DomManualKey$$",_o=function(){};let Wo;const Uo={childList:!0};function jo(e,t,n){const l=hl(e);if(l!==t&&(gl(e,t),e instanceof Element)){if(function(e,t){e[z]=t}(e,n),yl(e))return;_(l)&&Rt.call(Wo,e,Uo);const o=Ce.call(e);for(let e=0,l=o.length;e<l;e+=1)jo(o[e],t,n)}}function Go(){return new Dt((e=>{$.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=hl(t),r=t[z];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];ge.call(t,n)&ee.DOCUMENT_POSITION_CONTAINED_BY||jo(n,_o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];ge.call(t,l)&ee.DOCUMENT_POSITION_CONTAINED_BY&&jo(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[Fo]=e,U(e)&&function(e){if(_(Wo)&&(Wo=Go()),_(hl(e)))throw new Error("Invalid Element");Rt.call(Wo,e,Uo)}(this)},get(){return this[Fo]},configurable:!0})}();
|
|
49
|
-
//# sourceMappingURL=synthetic-shadow.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"synthetic-shadow.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|