lwc 2.6.1 → 2.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +590 -394
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +590 -394
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -9
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +564 -370
  5. package/dist/engine-dom/iife/es5/engine-dom.js +648 -351
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -9
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +616 -327
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +590 -394
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -9
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +564 -370
  11. package/dist/engine-dom/umd/es5/engine-dom.js +648 -351
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -9
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +616 -327
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +670 -472
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -9
  16. package/dist/engine-server/esm/es2017/engine-server.js +670 -472
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +74 -9
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +74 -9
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +74 -9
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +85 -12
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +85 -12
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +74 -9
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +74 -9
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +85 -12
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +85 -12
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +11 -11
  34. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  35. package/dist/wire-service/iife/es5/wire-service_debug.js +11 -11
  36. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  37. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service.js +11 -11
  39. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  40. package/dist/wire-service/umd/es5/wire-service_debug.js +11 -11
  41. package/package.json +8 -8
@@ -127,7 +127,7 @@
127
127
  const KEY__SHADOW_TOKEN = '$shadowToken$';
128
128
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
129
129
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
130
- /** version: 2.6.1 */
130
+ /** version: 2.7.2 */
131
131
 
132
132
  /*
133
133
  * Copyright (c) 2018, salesforce.com, inc.
@@ -235,6 +235,7 @@
235
235
  getElementsByClassName: getElementsByClassName$1
236
236
  } = HTMLElement.prototype;
237
237
  const shadowRootGetter = hasOwnProperty.call(Element.prototype, 'shadowRoot') ? getOwnPropertyDescriptor(Element.prototype, 'shadowRoot').get : () => null;
238
+ const assignedSlotGetter$1 = hasOwnProperty.call(Element.prototype, 'assignedSlot') ? getOwnPropertyDescriptor(Element.prototype, 'assignedSlot').get : () => null;
238
239
  /*
239
240
  * Copyright (c) 2018, salesforce.com, inc.
240
241
  * All rights reserved.
@@ -1467,7 +1468,7 @@
1467
1468
  }
1468
1469
 
1469
1470
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1470
- /** version: 2.6.1 */
1471
+ /** version: 2.7.2 */
1471
1472
 
1472
1473
  /*
1473
1474
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1561,7 +1562,9 @@
1561
1562
  }
1562
1563
 
1563
1564
  function compareDocumentPositionPatched(otherNode) {
1564
- if (this.getRootNode() === otherNode) {
1565
+ if (this === otherNode) {
1566
+ return 0;
1567
+ } else if (this.getRootNode() === otherNode) {
1565
1568
  // "this" is in a shadow tree where the shadow root is the "otherNode".
1566
1569
  return 10; // Node.DOCUMENT_POSITION_CONTAINS | Node.DOCUMENT_POSITION_PRECEDING
1567
1570
  } else if (getNodeOwnerKey(this) !== getNodeOwnerKey(otherNode)) {
@@ -1914,7 +1917,22 @@
1914
1917
  }
1915
1918
 
1916
1919
  return rootNodes;
1917
- }
1920
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
1921
+
1922
+
1923
+ const findAncestorHostInImmediateShadowRoot = (rootNode, targetRootNode) => {
1924
+ let host;
1925
+
1926
+ while (!isUndefined(host = rootNode.host)) {
1927
+ const thisRootNode = host.getRootNode();
1928
+
1929
+ if (thisRootNode === targetRootNode) {
1930
+ return host;
1931
+ }
1932
+
1933
+ rootNode = thisRootNode;
1934
+ }
1935
+ };
1918
1936
 
1919
1937
  function fauxElementsFromPoint(context, doc, left, top) {
1920
1938
  const elements = elementsFromPoint.call(doc, left, top);
@@ -1928,8 +1946,28 @@
1928
1946
  for (let i = 0; i < elements.length; i++) {
1929
1947
  const element = elements[i];
1930
1948
 
1931
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
1932
- result.push(element);
1949
+ if (isSyntheticSlotElement(element)) {
1950
+ continue;
1951
+ }
1952
+
1953
+ const elementRootNode = element.getRootNode();
1954
+
1955
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
1956
+ ArrayPush.call(result, element);
1957
+ continue;
1958
+ } // In cases where the host element is not visible but its shadow descendants are, then
1959
+ // we may get the shadow descendant instead of the host element here. (The
1960
+ // browser doesn't know the difference in synthetic shadow DOM.)
1961
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
1962
+ // the child. So we need to detect if this shadow element's host is accessible from
1963
+ // the context's shadow root. Note we also need to be careful not to add the host
1964
+ // multiple times.
1965
+
1966
+
1967
+ const ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
1968
+
1969
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
1970
+ ArrayPush.call(result, ancestorHost);
1933
1971
  }
1934
1972
  }
1935
1973
  }
@@ -2062,6 +2100,12 @@
2062
2100
  return `[object ShadowRoot]`;
2063
2101
  }
2064
2102
 
2103
+ },
2104
+ synthetic: {
2105
+ writable: false,
2106
+ enumerable: false,
2107
+ configurable: false,
2108
+ value: true
2065
2109
  }
2066
2110
  };
2067
2111
  const ShadowRootDescriptors = {
@@ -3859,6 +3903,14 @@
3859
3903
  */
3860
3904
 
3861
3905
  retargetRelatedTarget(MouseEvent);
3906
+ /*
3907
+ * Copyright (c) 2021, salesforce.com, inc.
3908
+ * All rights reserved.
3909
+ * SPDX-License-Identifier: MIT
3910
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3911
+ */
3912
+
3913
+ const assignedSlotGetter = hasOwnProperty.call(Text.prototype, 'assignedSlot') ? getOwnPropertyDescriptor(Text.prototype, 'assignedSlot').get : () => null;
3862
3914
  /*
3863
3915
  * Copyright (c) 2018, salesforce.com, inc.
3864
3916
  * All rights reserved.
@@ -3909,10 +3961,22 @@
3909
3961
  }
3910
3962
 
3911
3963
  function assignedSlotGetterPatched() {
3912
- const parentNode = parentNodeGetter.call(this);
3964
+ const parentNode = parentNodeGetter.call(this); // use original assignedSlot if parent has a native shdow root
3965
+
3966
+ if (parentNode instanceof Element) {
3967
+ const sr = shadowRootGetter.call(parentNode);
3968
+
3969
+ if (isInstanceOfNativeShadowRoot(sr)) {
3970
+ if (this instanceof Text) {
3971
+ return assignedSlotGetter.call(this);
3972
+ }
3973
+
3974
+ return assignedSlotGetter$1.call(this);
3975
+ }
3976
+ }
3913
3977
  /**
3914
3978
  * The node is assigned to a slot if:
3915
- * - it has a parent and it parent its parent is a slot element
3979
+ * - it has a parent and its parent is a slot element
3916
3980
  * - and if the slot owner key is different than the node owner key.
3917
3981
  *
3918
3982
  * When the slot and the slotted node are 2 different shadow trees, the owner keys will be
@@ -3921,6 +3985,7 @@
3921
3985
  * different than the node owner key (always `undefined`).
3922
3986
  */
3923
3987
 
3988
+
3924
3989
  if (!isNull(parentNode) && isSlotElement(parentNode) && getNodeOwnerKey(parentNode) !== getNodeOwnerKey(this)) {
3925
3990
  return parentNode;
3926
3991
  }
@@ -5535,6 +5600,6 @@
5535
5600
 
5536
5601
  configurable: true
5537
5602
  });
5538
- /** version: 2.6.1 */
5603
+ /** version: 2.7.2 */
5539
5604
 
5540
5605
  }));
@@ -7,9 +7,13 @@
7
7
 
8
8
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
9
 
10
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
11
+
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+
10
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
15
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
16
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
13
17
 
14
18
  /* proxy-compat-disable */
15
19
 
@@ -195,7 +199,7 @@
195
199
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
196
200
  return Symbol('x').toString() === 'Symbol(x)';
197
201
  }();
198
- /** version: 2.6.1 */
202
+ /** version: 2.7.2 */
199
203
 
200
204
  /*
201
205
  * Copyright (c) 2018, salesforce.com, inc.
@@ -295,6 +299,9 @@
295
299
  var shadowRootGetter = hasOwnProperty.call(Element.prototype, 'shadowRoot') ? getOwnPropertyDescriptor(Element.prototype, 'shadowRoot').get : function () {
296
300
  return null;
297
301
  };
302
+ var assignedSlotGetter$1 = hasOwnProperty.call(Element.prototype, 'assignedSlot') ? getOwnPropertyDescriptor(Element.prototype, 'assignedSlot').get : function () {
303
+ return null;
304
+ };
298
305
  /*
299
306
  * Copyright (c) 2018, salesforce.com, inc.
300
307
  * All rights reserved.
@@ -428,9 +435,9 @@
428
435
  function apply$4() {
429
436
  // IE11 does not have this element definition
430
437
  // we don't care much about the construction phase, just the prototype
431
- var HTMLSlotElement = function HTMLSlotElement() {
438
+ var HTMLSlotElement = /*#__PURE__*/_createClass(function HTMLSlotElement() {
432
439
  _classCallCheck(this, HTMLSlotElement);
433
- }; // prototype inheritance dance
440
+ }); // prototype inheritance dance
434
441
 
435
442
 
436
443
  setPrototypeOf(HTMLSlotElement, HTMLElement.constructor);
@@ -1518,7 +1525,7 @@
1518
1525
  }
1519
1526
 
1520
1527
  var runtimeFlags = _globalThis.lwcRuntimeFlags;
1521
- /** version: 2.6.1 */
1528
+ /** version: 2.7.2 */
1522
1529
 
1523
1530
  /*
1524
1531
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1612,7 +1619,9 @@
1612
1619
  }
1613
1620
 
1614
1621
  function compareDocumentPositionPatched(otherNode) {
1615
- if (this.getRootNode() === otherNode) {
1622
+ if (this === otherNode) {
1623
+ return 0;
1624
+ } else if (this.getRootNode() === otherNode) {
1616
1625
  // "this" is in a shadow tree where the shadow root is the "otherNode".
1617
1626
  return 10; // Node.DOCUMENT_POSITION_CONTAINS | Node.DOCUMENT_POSITION_PRECEDING
1618
1627
  } else if (getNodeOwnerKey(this) !== getNodeOwnerKey(otherNode)) {
@@ -1992,7 +2001,22 @@
1992
2001
  }
1993
2002
 
1994
2003
  return rootNodes;
1995
- }
2004
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
2005
+
2006
+
2007
+ var findAncestorHostInImmediateShadowRoot = function findAncestorHostInImmediateShadowRoot(rootNode, targetRootNode) {
2008
+ var host;
2009
+
2010
+ while (!isUndefined(host = rootNode.host)) {
2011
+ var thisRootNode = host.getRootNode();
2012
+
2013
+ if (thisRootNode === targetRootNode) {
2014
+ return host;
2015
+ }
2016
+
2017
+ rootNode = thisRootNode;
2018
+ }
2019
+ };
1996
2020
 
1997
2021
  function fauxElementsFromPoint(context, doc, left, top) {
1998
2022
  var elements = elementsFromPoint.call(doc, left, top);
@@ -2006,8 +2030,28 @@
2006
2030
  for (var i = 0; i < elements.length; i++) {
2007
2031
  var element = elements[i];
2008
2032
 
2009
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
2010
- result.push(element);
2033
+ if (isSyntheticSlotElement(element)) {
2034
+ continue;
2035
+ }
2036
+
2037
+ var elementRootNode = element.getRootNode();
2038
+
2039
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
2040
+ ArrayPush.call(result, element);
2041
+ continue;
2042
+ } // In cases where the host element is not visible but its shadow descendants are, then
2043
+ // we may get the shadow descendant instead of the host element here. (The
2044
+ // browser doesn't know the difference in synthetic shadow DOM.)
2045
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
2046
+ // the child. So we need to detect if this shadow element's host is accessible from
2047
+ // the context's shadow root. Note we also need to be careful not to add the host
2048
+ // multiple times.
2049
+
2050
+
2051
+ var ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
2052
+
2053
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
2054
+ ArrayPush.call(result, ancestorHost);
2011
2055
  }
2012
2056
  }
2013
2057
  }
@@ -2135,6 +2179,12 @@
2135
2179
  value: function value() {
2136
2180
  return "[object ShadowRoot]";
2137
2181
  }
2182
+ },
2183
+ synthetic: {
2184
+ writable: false,
2185
+ enumerable: false,
2186
+ configurable: false,
2187
+ value: true
2138
2188
  }
2139
2189
  };
2140
2190
  var ShadowRootDescriptors = {
@@ -3866,6 +3916,16 @@
3866
3916
  */
3867
3917
 
3868
3918
  retargetRelatedTarget(MouseEvent);
3919
+ /*
3920
+ * Copyright (c) 2021, salesforce.com, inc.
3921
+ * All rights reserved.
3922
+ * SPDX-License-Identifier: MIT
3923
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3924
+ */
3925
+
3926
+ var assignedSlotGetter = hasOwnProperty.call(Text.prototype, 'assignedSlot') ? getOwnPropertyDescriptor(Text.prototype, 'assignedSlot').get : function () {
3927
+ return null;
3928
+ };
3869
3929
  /*
3870
3930
  * Copyright (c) 2018, salesforce.com, inc.
3871
3931
  * All rights reserved.
@@ -3917,10 +3977,22 @@
3917
3977
  }
3918
3978
 
3919
3979
  function assignedSlotGetterPatched() {
3920
- var parentNode = parentNodeGetter.call(this);
3980
+ var parentNode = parentNodeGetter.call(this); // use original assignedSlot if parent has a native shdow root
3981
+
3982
+ if (parentNode instanceof Element) {
3983
+ var sr = shadowRootGetter.call(parentNode);
3984
+
3985
+ if (isInstanceOfNativeShadowRoot(sr)) {
3986
+ if (this instanceof Text) {
3987
+ return assignedSlotGetter.call(this);
3988
+ }
3989
+
3990
+ return assignedSlotGetter$1.call(this);
3991
+ }
3992
+ }
3921
3993
  /**
3922
3994
  * The node is assigned to a slot if:
3923
- * - it has a parent and it parent its parent is a slot element
3995
+ * - it has a parent and its parent is a slot element
3924
3996
  * - and if the slot owner key is different than the node owner key.
3925
3997
  *
3926
3998
  * When the slot and the slotted node are 2 different shadow trees, the owner keys will be
@@ -3929,6 +4001,7 @@
3929
4001
  * different than the node owner key (always `undefined`).
3930
4002
  */
3931
4003
 
4004
+
3932
4005
  if (!isNull(parentNode) && isSlotElement(parentNode) && getNodeOwnerKey(parentNode) !== getNodeOwnerKey(this)) {
3933
4006
  return parentNode;
3934
4007
  }
@@ -5532,6 +5605,6 @@
5532
5605
  },
5533
5606
  configurable: true
5534
5607
  });
5535
- /** version: 2.6.1 */
5608
+ /** version: 2.7.2 */
5536
5609
 
5537
5610
  }));
@@ -1,4 +1,4 @@
1
- !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t;function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var l=Object.assign,o=Object.create,a=Object.defineProperties,i=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,s=Object.hasOwnProperty,f=Object.setPrototypeOf,h=Array.prototype,p=h.filter,g=h.find,m=h.indexOf,v=h.map,b=h.push,d=h.reduce,y=h.reverse,E=h.slice,w=h.splice,T=h.forEach,N=String.prototype.charCodeAt;function L(e){return void 0===e}function M(e){return null===e}function C(e){return!0===e}function S(e){return!1===e}function O(e){return"function"==typeof e}function H(e){return"object"===r(e)}var A,R,_=function(){if("object"===("undefined"==typeof globalThis?"undefined":r(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),P="$shadowResolver$",D="$shadowToken$",$=Node,B=$.prototype,I=$.DOCUMENT_POSITION_CONTAINED_BY,k=$.DOCUMENT_POSITION_PRECEDING,x=$.DOCUMENT_POSITION_FOLLOWING,F=$.ELEMENT_NODE,W=$.TEXT_NODE,j=$.CDATA_SECTION_NODE,U=$.PROCESSING_INSTRUCTION_NODE,K=$.COMMENT_NODE,G=B.appendChild,q=B.cloneNode,X=B.compareDocumentPosition,Y=B.insertBefore,V=B.removeChild,z=B.replaceChild,J=B.hasChildNodes,Q=HTMLElement.prototype.contains,Z=u(B,"firstChild").get,ee=u(B,"lastChild").get,te=u(B,"textContent").get,ne=u(B,"parentNode").get,re=u(B,"ownerDocument").get,le=s.call(B,"parentElement")?u(B,"parentElement").get:u(HTMLElement.prototype,"parentElement").get,oe=u(B,"textContent").set,ae=s.call(B,"childNodes")?u(B,"childNodes").get:u(HTMLElement.prototype,"childNodes").get,ie=s.call(B,"isConnected")?u(B,"isConnected").get:function(){var e=re.call(this);return null===e||0!=(X.call(e,this)&I)},ue=Element.prototype,ce=ue.getAttribute,se=ue.getBoundingClientRect,fe=ue.getElementsByTagName,he=ue.getElementsByTagNameNS,pe=ue.hasAttribute,ge=ue.querySelector,me=ue.querySelectorAll,ve=ue.removeAttribute,be=ue.setAttribute,de=s.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},ye=u(Element.prototype,"childElementCount").get,Ee=u(Element.prototype,"firstElementChild").get,we=u(Element.prototype,"lastElementChild").get,Te=u(HTMLElement.prototype,"innerText"),Ne=Te?Te.get:null,Le=Te?Te.set:null,Me=u(HTMLElement.prototype,"outerText"),Ce=Me?Me.get:null,Se=Me?Me.set:null,Oe=s.call(Element.prototype,"innerHTML")?u(Element.prototype,"innerHTML"):u(HTMLElement.prototype,"innerHTML"),He=Oe.get,Ae=Oe.set,Re=s.call(Element.prototype,"outerHTML")?u(Element.prototype,"outerHTML"):u(HTMLElement.prototype,"outerHTML"),_e=Re.get,Pe=Re.set,De=u(Element.prototype,"tagName").get,$e=u(HTMLElement.prototype,"tabIndex"),Be=$e.get,Ie=$e.set,ke=s.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,xe=s.call(Element.prototype,"children")?u(Element.prototype,"children").get:u(HTMLElement.prototype,"children").get,Fe=HTMLElement.prototype.getElementsByClassName,We=s.call(Element.prototype,"shadowRoot")?u(Element.prototype,"shadowRoot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(A=HTMLSlotElement.prototype.assignedNodes,R=HTMLSlotElement.prototype.assignedElements):(A=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},R=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var je=u(Event.prototype,"target").get,Ue=u(Event.prototype,"currentTarget").get,Ke=u(FocusEvent.prototype,"relatedTarget").get,Ge=s.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},qe=u(Document.prototype,"activeElement").get,Xe=s.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Ye=s.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Ve=u(Document.prototype,"defaultView").get,ze=Document.prototype,Je=ze.querySelectorAll,Qe=ze.getElementById,Ze=ze.getElementsByClassName,et=ze.getElementsByTagName,tt=ze.getElementsByTagNameNS,nt=HTMLDocument.prototype.getElementsByName,rt=window,lt=rt.addEventListener,ot=rt.removeEventListener,at=rt.getComputedStyle,it=rt.getSelection,ut=MutationObserver,ct=ut.prototype.observe,st=null;"undefined"!=typeof ShadowRoot&&(st=ShadowRoot);var ft=!M(st),ht=M(st)?function(){return!1}:function(e){return e instanceof st};var pt,gt=Document.prototype.createElement;function mt(e){var t=re.call(e);return null===t?e:t}function vt(e){var t=mt(e),n=Ve.call(t);if(null===n)throw new TypeError;return n}function bt(e){if(L(pt)){var t=mt(e);pt=t.body&&"temporary-bypass"===ce.call(t.body,"data-global-patching-bypass")}return C(pt)}function dt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};f(e,HTMLElement.constructor),f(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,i(Document.prototype,"createElement",{value:function(t,n){var r=gt.apply(this,E.call(arguments));return 4===t.length&&115===N.call(t,0)&&108===N.call(t,1)&&111===N.call(t,2)&&116===N.call(t,3)&&f(r,e.prototype),r}})}();var yt="undefined"!=typeof EventTarget?EventTarget.prototype:$.prototype,Et=yt.addEventListener,wt=yt.dispatchEvent,Tt=yt.removeEventListener,Nt=new WeakMap,Lt=new WeakMap;function Mt(e,t,n){if(t===n)return!0;var r=Lt.get(e);return L(r)&&(r=e.composedPath(),Lt.set(e,r)),r.includes(n)}function Ct(e){if(!function(e){return O(e)||H(e)&&!M(e)&&O(e.handleEvent)}(e))return e;var t=Nt.get(e);return L(t)&&(t=function(t){var n=Ue.call(t);if(Mt(t,At(t),n))return O(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Nt.set(e,t)),t}var St=new WeakMap,Ot=new WeakMap;function Ht(e){var t=Ot.get(e);return L(t)&&(t=o(null),Ot.set(e,t)),t}function At(e){var t;return null!==(t=tr.get(e))&&void 0!==t?t:je.call(e)}var Rt=new WeakMap;function _t(e){if(!O(e))throw new TypeError;var t=Rt.get(e);return L(t)&&((t=function(t){var n=Ue.call(t);ht(n)||(n=Yn(n)),Mt(t,At(t),n)&&e.call(n,t)}).placement=1,Rt.set(e,t)),t}var Pt=new WeakMap;function Dt(e){if(!O(e))throw new TypeError;var t=Pt.get(e);return L(t)&&((t=function(t){var n=Ue.call(t);Mt(t,At(t),n)&&e.call(n,t)}).placement=0,Pt.set(e,t)),t}function $t(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=Ht(Ue.call(e))[r];i(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),i(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var u=E.call(a);function c(n){T.call(u,(function(r){S(t)&&r.placement===n&&-1!==m.call(a,r)&&r.call(void 0,e)}))}St.set(e,1),c(1),S(t)&&S(n)&&(St.set(e,0),c(0)),St.set(e,2)}function Bt(e,t,n){var r=Ht(e),l=r[t];L(l)&&(l=r[t]=[]),-1===m.call(l,n)&&(0===l.length&&Et.call(e,t,$t),b.call(l,n))}function It(e,t,n){var r,l;L(l=Ht(e)[t])||-1===(r=m.call(l,n))||(w.call(l,r,1),0===l.length&&Tt.call(e,t,$t))}function kt(e,t,n){O(t)&&Bt(this,e,Dt(t))}function xt(e,t,n){O(t)&&It(this,e,Dt(t))}var Ft="$$HostElementKey$$",Wt="$$ShadowedNodeKey$$";function jt(e,t,n){var r=e,l=n.value;r[t]=l}function Ut(e){return e[Ft]}function Kt(e){for(var t,n=e;!M(n);){if(!L(t=Ut(n)))return t;n=ne.call(n)}}function Gt(e){return e[Wt]}function qt(e){return!L(Ut(e))}function Xt(e){for(var t=le.call(e);!M(t)&&Jt(t);)e=t,t=le.call(e);return e}function Yt(e,t){for(var n=Gt(e),r=t instanceof Element?t:le.call(t);!M(r)&&r!==e;){var l=Kt(r),o=le.call(r);if(l===n)return Jt(r);if(o===e)return!1;if(M(o)||Kt(o)===l)r=o;else{if(!Jt(o))return!1;if(!M(r=Vt(Xt(o)))){if(r===e)return!0;if(Kt(r)===n)return!0}}}return!1}function Vt(e){if(!(e instanceof $))return null;var t=Kt(e);if(L(t))return null;for(var n=e;!M(n)&&Gt(n)!==t;)n=ne.call(n);return M(n)?null:n}function zt(e){return Jt(e)&&qt(e)}function Jt(e){return e instanceof HTMLSlotElement}function Qt(e,t){var n=Kt(t);return L(n)||Gt(e)===n}function Zt(e){var t=Xn(e);return nn(t,dt(ae.call(t)))}function en(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Qt(e,o)&&Yt(e,o)&&b.call(n,o)}return n}function tn(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Qt(e,l)&&Yt(e,l))return l}return null}function nn(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Qt(e,o)&&b.call(n,o)}return n}function rn(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Qt(e,t[n]))return t[n];return null}function ln(e){if(!Vn(e)&&!Jt(e))return dt(ae.call(e));if(Vn(e)){var t=dt(me.call(e,"slot")),n=Kn(Yn(e));return d.call(t,(function(e,t){return n===Kn(t)&&b.apply(e,on(t)),e}),[])}var r=dt(ae.call(e)),l=Kn(e);return p.call(r,(function(e){return l===Kn(e)}))}function on(e){var t=Vt(e);if(M(t))return[];var n=dt(ae.call(e));return p.call(n,(function(e){return!qt(e)||!Qt(t,e)}))}function an(e){if(e.nodeType===F){for(var t=ln(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==K&&(n+=an(o))}return n}return e.nodeValue}var un=new WeakMap;function cn(){throw new TypeError("Illegal constructor")}function sn(e){var t=o(cn.prototype);return un.set(t,e),T.call(e,(function(e,n){i(t,n,{value:e,enumerable:!0,configurable:!0})})),t}cn.prototype=o(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:cn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return un.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){T.call(un.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return v.call(un.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return v.call(un.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return un.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=un.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),f(cn,NodeList);var fn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function pn(e){var t=o(hn.prototype);return fn.set(t,e),T.call(e,(function(e,n){i(t,n,{value:e,enumerable:!0,configurable:!0})})),t}hn.prototype=o(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return fn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=fn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===ce.call(l,"id")||e===ce.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),f(hn,HTMLCollection);var gn=/[&\u00A0"]/g,mn=/[&\u00A0<>]/g,vn=String.prototype,bn=vn.replace,dn=vn.toLowerCase;function yn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function En(e){return bn.call(e,gn,yn)}var wn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),Tn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Nn(e){switch(e.nodeType){case F:for(var t,n=e.attributes,r=De.call(e),l="<"+dn.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+En(t.value)+'"';return l+=">",wn.has(r)?l:l+function(e){for(var t="",n=ln(e),r=0,l=n.length;r<l;r+=1)t+=Nn(n[r]);return t}(e)+"</"+dn.call(r)+">";case W:var a=e.data,i=e.parentNode;return i instanceof Element&&Tn.has(De.call(i))?a:function(e){return bn.call(e,mn,yn)}(a);case j:return"<!CDATA[[".concat(e.data,"]]>");case U:return"<?".concat(e.target," ").concat(e.data,"?>");case K:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}_.lwcRuntimeFlags||Object.defineProperty(_,"lwcRuntimeFlags",{value:o(null)});var Ln=_.lwcRuntimeFlags;function Mn(e){return zt(e)||Vn(e)}function Cn(e,t){var n=Vt(e);if(t===n)return Yn(n);if(t instanceof Element){if(Kt(e)===Kt(t))return t;if(!M(n)&&Jt(t)){var r=Vt(t);if(!M(r)&&Qt(n,r))return r}}return null}function Sn(){return xn(this).length>0}function On(){return xn(this)[0]||null}function Hn(){var e=xn(this);return e[e.length-1]||null}function An(){return an(this)}function Rn(){var e=ne.call(this);return M(e)?e:Cn(this,e)}function _n(){var e=ne.call(this);if(M(e))return null;var t=Cn(this,e);return t instanceof Element?t:null}function Pn(e){return this.getRootNode()===e?10:Ut(this)!==Ut(e)?35:X.call(this,e)}function Dn(e){return null!=e&&Ut(this)===Ut(e)&&0!=(X.call(this,e)&I)}function $n(e){var t=q.call(this,!1);if(!e)return t;for(var n=xn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Bn(){if(Vn(this)){var e=Vt(this);return sn(M(e)?[]:nn(e,ln(this)))}return ae.call(this)}var In=$.prototype.getRootNode,kn=L(In)?function(){for(var e,t=this;!M(e=ne.call(t));)t=e;return t}:In;a($.prototype,{firstChild:{get:function(){return Mn(this)?On.call(this):Z.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return Mn(this)?Hn.call(this):ee.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return Ln.ENABLE_NODE_PATCH?bt(this)?te.call(this):An.call(this):qt(this)||Vn(this)?An.call(this):te.call(this)},set:function(e){oe.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(qt(this))return Rn.call(this);var e=ne.call(this);return!M(e)&&zt(e)?Vt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(qt(this))return _n.call(this);var e=le.call(this);return!M(e)&&zt(e)?Vt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return Mn(this)?Bn.call(this):ae.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return Mn(this)?Sn.call(this):J.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return bt(this)?X.call(this,e):Pn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(Ln.ENABLE_NODE_PATCH?bt(this)?Q.call(this,e):Dn.call(this,e):null!=e&&(qt(this)||Vn(this)?Dn.call(this,e):Q.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return Ln.ENABLE_NODE_PATCH?C(e)?bt(this)?q.call(this,e):$n.call(this,e):q.call(this,e):qt(this)||Vn(this)?$n.call(this,e):q.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return C(!L(e)&&!!e.composed)?kn.call(this,e):M(n=Vt(t=this))?kn.call(t):Yn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ie.call(this)}}});var xn=function(e){return e.childNodes};function Fn(e,t,n,r){var l=Ye.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!L(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!M(l))for(var i=0;i<l.length;i++){var u=l[i];-1===a.indexOf(u.getRootNode())||zt(u)||o.push(u)}return o}s.call(HTMLElement.prototype,"contains")&&i(HTMLElement.prototype,"contains",u($.prototype,"contains")),s.call(HTMLElement.prototype,"parentElement")&&i(HTMLElement.prototype,"parentElement",u($.prototype,"parentElement"));var Wn=new WeakMap,jn=document.createDocumentFragment;function Un(e){var t=Wn.get(e);if(L(t))throw new TypeError;return t}function Kn(e){return e.$shadowResolver$}function Gn(e,t){e.$shadowResolver$=t}function qn(e){return Un(e).delegatesFocus}function Xn(e){return Un(e).host}function Yn(e){return Un(e).shadowRoot}function Vn(e){var t=Wn.get(e);return!L(t)&&e===t.host}function zn(e){var t=Wn.get(e);return!L(t)&&e===t.shadowRoot}i($.prototype,P,{set:function(e){var t,n;L(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,jt(t,Ft,{value:n,configurable:!0}))},get:function(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),i(_,"$isNativeShadowRootDefined$",{value:ft});var Jn=0;function Qn(e,t){if(Wn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=mt(e),o=jn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Wn.set(o,a),Wn.set(e,a);var i=function(){return o},u=i.nodeKey=Jn++;return jt(e,Wt,{value:u}),Gn(o,i),f(o,rr.prototype),o}var Zn={constructor:{writable:!0,configurable:!0,value:rr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}}},er={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Xn(this),t=mt(e),n=qe.call(t);if(M(n))return n;if(0==(X.call(e,n)&I))return null;for(var r=n;!Qt(e,r);)r=le.call(r);return Jt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Un(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return ar(this,mt(Xn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Fn(this,mt(Xn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return Xn(this)}},mode:{configurable:!0,get:function(){return Un(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},tr=new WeakMap,nr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Y.call(Xn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return V.call(Xn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return G.call(Xn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Xn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){O(n)&&Bt(Xn(e),t,_t(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return tr.set(e,this),wt.apply(Xn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){O(n)&&It(Xn(e),t,_t(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Xn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return sn(Zt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=Xn(this);return this===e?0:this.contains(e)?20:X.call(t,e)&I?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=Xn(this);return 0!=(X.call(t,e)&I)&&Qt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return xn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=xn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return xn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ie.call(Xn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return Xn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=xn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==K&&(t+=an(l))}return t},set:function(e){var t=Xn(this);oe.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!L(e)&&C(e.composed)?Xn(this).getRootNode(e):this}}};function rr(){throw new TypeError("Illegal constructor")}function lr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof $))return r;n=e.getRootNode()}for(var l,o=e;!M(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=M(a)?o.parentNode:a}else o=!zn(o)&&!ht(o)||!t&&o===n?o instanceof $?o.parentNode:null:o.host;return l=e instanceof Window?e.document:mt(e),r[r.length-1]===l&&r.push(window),r}
1
+ !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t;function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=Object.assign,i=Object.create,u=Object.defineProperties,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.hasOwnProperty,p=Object.setPrototypeOf,g=Array.prototype,m=g.filter,v=g.find,b=g.indexOf,d=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function A(e){return"function"==typeof e}function R(e){return"object"===o(e)}var _,P,D=function(){if("object"===("undefined"==typeof globalThis?"undefined":o(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),$="$shadowResolver$",B="$shadowToken$",I=Node,k=I.prototype,x=I.DOCUMENT_POSITION_CONTAINED_BY,F=I.DOCUMENT_POSITION_PRECEDING,j=I.DOCUMENT_POSITION_FOLLOWING,W=I.ELEMENT_NODE,U=I.TEXT_NODE,K=I.CDATA_SECTION_NODE,G=I.PROCESSING_INSTRUCTION_NODE,q=I.COMMENT_NODE,X=k.appendChild,Y=k.cloneNode,V=k.compareDocumentPosition,z=k.insertBefore,J=k.removeChild,Q=k.replaceChild,Z=k.hasChildNodes,ee=HTMLElement.prototype.contains,te=s(k,"firstChild").get,ne=s(k,"lastChild").get,re=s(k,"textContent").get,le=s(k,"parentNode").get,oe=s(k,"ownerDocument").get,ae=h.call(k,"parentElement")?s(k,"parentElement").get:s(HTMLElement.prototype,"parentElement").get,ie=s(k,"textContent").set,ue=h.call(k,"childNodes")?s(k,"childNodes").get:s(HTMLElement.prototype,"childNodes").get,ce=h.call(k,"isConnected")?s(k,"isConnected").get:function(){var e=oe.call(this);return null===e||0!=(V.call(e,this)&x)},se=Element.prototype,fe=se.getAttribute,he=se.getBoundingClientRect,pe=se.getElementsByTagName,ge=se.getElementsByTagNameNS,me=se.hasAttribute,ve=se.querySelector,be=se.querySelectorAll,de=se.removeAttribute,ye=se.setAttribute,Ee=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,Ae=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Re=Ae.get,_e=Ae.set,Pe=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),De=Pe.get,$e=Pe.set,Be=s(Element.prototype,"tagName").get,Ie=s(HTMLElement.prototype,"tabIndex"),ke=Ie.get,xe=Ie.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,We=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(_=HTMLSlotElement.prototype.assignedNodes,P=HTMLSlotElement.prototype.assignedElements):(_=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},P=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var Ge=s(Event.prototype,"target").get,qe=s(Event.prototype,"currentTarget").get,Xe=s(FocusEvent.prototype,"relatedTarget").get,Ye=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},Ve=s(Document.prototype,"activeElement").get,ze=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Je=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Qe=s(Document.prototype,"defaultView").get,Ze=Document.prototype,et=Ze.querySelectorAll,tt=Ze.getElementById,nt=Ze.getElementsByClassName,rt=Ze.getElementsByTagName,lt=Ze.getElementsByTagNameNS,ot=HTMLDocument.prototype.getElementsByName,at=window,it=at.addEventListener,ut=at.removeEventListener,ct=at.getComputedStyle,st=at.getSelection,ft=MutationObserver,ht=ft.prototype.observe,pt=null;"undefined"!=typeof ShadowRoot&&(pt=ShadowRoot);var gt=!S(pt),mt=S(pt)?function(){return!1}:function(e){return e instanceof pt};var vt,bt=Document.prototype.createElement;function dt(e){var t=oe.call(e);return null===t?e:t}function yt(e){var t=dt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function Et(e){if(C(vt)){var t=dt(e);vt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(vt)}function wt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,c(Document.prototype,"createElement",{value:function(t,n){var r=bt.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&p(r,e.prototype),r}})}();var Tt="undefined"!=typeof EventTarget?EventTarget.prototype:I.prototype,Nt=Tt.addEventListener,Lt=Tt.dispatchEvent,Mt=Tt.removeEventListener,Ct=new WeakMap,St=new WeakMap;function Ot(e,t,n){if(t===n)return!0;var r=St.get(e);return C(r)&&(r=e.composedPath(),St.set(e,r)),r.includes(n)}function Ht(e){if(!function(e){return A(e)||R(e)&&!S(e)&&A(e.handleEvent)}(e))return e;var t=Ct.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(Ot(t,Pt(t),n))return A(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Ct.set(e,t)),t}var At=new WeakMap,Rt=new WeakMap;function _t(e){var t=Rt.get(e);return C(t)&&(t=i(null),Rt.set(e,t)),t}function Pt(e){var t;return null!==(t=or.get(e))&&void 0!==t?t:Ge.call(e)}var Dt=new WeakMap;function $t(e){if(!A(e))throw new TypeError;var t=Dt.get(e);return C(t)&&((t=function(t){var n=qe.call(t);mt(n)||(n=Qn(n)),Ot(t,Pt(t),n)&&e.call(n,t)}).placement=1,Dt.set(e,t)),t}var Bt=new WeakMap;function It(e){if(!A(e))throw new TypeError;var t=Bt.get(e);return C(t)&&((t=function(t){var n=qe.call(t);Ot(t,Pt(t),n)&&e.call(n,t)}).placement=0,Bt.set(e,t)),t}function kt(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=_t(qe.call(e))[r];c(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=T.call(a);function u(n){L.call(i,(function(r){H(t)&&r.placement===n&&-1!==b.call(a,r)&&r.call(void 0,e)}))}At.set(e,1),u(1),H(t)&&H(n)&&(At.set(e,0),u(0)),At.set(e,2)}function xt(e,t,n){var r=_t(e),l=r[t];C(l)&&(l=r[t]=[]),-1===b.call(l,n)&&(0===l.length&&Nt.call(e,t,kt),y.call(l,n))}function Ft(e,t,n){var r,l;C(l=_t(e)[t])||-1===(r=b.call(l,n))||(N.call(l,r,1),0===l.length&&Mt.call(e,t,kt))}function jt(e,t,n){A(t)&&xt(this,e,It(t))}function Wt(e,t,n){A(t)&&Ft(this,e,It(t))}var Ut="$$HostElementKey$$",Kt="$$ShadowedNodeKey$$";function Gt(e,t,n){var r=e,l=n.value;r[t]=l}function qt(e){return e[Ut]}function Xt(e){for(var t,n=e;!S(n);){if(!C(t=qt(n)))return t;n=le.call(n)}}function Yt(e){return e[Kt]}function Vt(e){return!C(qt(e))}function zt(e){for(var t=ae.call(e);!S(t)&&en(t);)e=t,t=ae.call(e);return e}function Jt(e,t){for(var n=Yt(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=Xt(r),o=ae.call(r);if(l===n)return en(r);if(o===e)return!1;if(S(o)||Xt(o)===l)r=o;else{if(!en(o))return!1;if(!S(r=Qt(zt(o)))){if(r===e)return!0;if(Xt(r)===n)return!0}}}return!1}function Qt(e){if(!(e instanceof I))return null;var t=Xt(e);if(C(t))return null;for(var n=e;!S(n)&&Yt(n)!==t;)n=le.call(n);return S(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){var n=Xt(t);return C(n)||Yt(e)===n}function nn(e){var t=Jn(e);return on(t,wt(ue.call(t)))}function rn(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!tn(e,o)&&Jt(e,o)&&y.call(n,o)}return n}function ln(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!tn(e,l)&&Jt(e,l))return l}return null}function on(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];tn(e,o)&&y.call(n,o)}return n}function an(e,t){for(var n=0,r=t.length;n<r;n+=1)if(tn(e,t[n]))return t[n];return null}function un(e){if(!Zn(e)&&!en(e))return wt(ue.call(e));if(Zn(e)){var t=wt(be.call(e,"slot")),n=Yn(Qn(e));return E.call(t,(function(e,t){return n===Yn(t)&&y.apply(e,cn(t)),e}),[])}var r=wt(ue.call(e)),l=Yn(e);return m.call(r,(function(e){return l===Yn(e)}))}function cn(e){var t=Qt(e);if(S(t))return[];var n=wt(ue.call(e));return m.call(n,(function(e){return!Vt(e)||!tn(t,e)}))}function sn(e){if(e.nodeType===W){for(var t=un(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==q&&(n+=sn(o))}return n}return e.nodeValue}var fn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function pn(e){var t=i(hn.prototype);return fn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}hn.prototype=i(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return fn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){L.call(fn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(fn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(fn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return fn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=fn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),p(hn,NodeList);var gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function vn(e){var t=i(mn.prototype);return gn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}mn.prototype=i(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return gn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=gn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===fe.call(l,"id")||e===fe.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),p(mn,HTMLCollection);var bn=/[&\u00A0"]/g,dn=/[&\u00A0<>]/g,yn=String.prototype,En=yn.replace,wn=yn.toLowerCase;function Tn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Nn(e){return En.call(e,bn,Tn)}var Ln=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),Mn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Cn(e){switch(e.nodeType){case W:for(var t,n=e.attributes,r=Be.call(e),l="<"+wn.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+Nn(t.value)+'"';return l+=">",Ln.has(r)?l:l+function(e){for(var t="",n=un(e),r=0,l=n.length;r<l;r+=1)t+=Cn(n[r]);return t}(e)+"</"+wn.call(r)+">";case U:var a=e.data,i=e.parentNode;return i instanceof Element&&Mn.has(Be.call(i))?a:function(e){return En.call(e,dn,Tn)}(a);case K:return"<!CDATA[[".concat(e.data,"]]>");case G:return"<?".concat(e.target," ").concat(e.data,"?>");case q:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}D.lwcRuntimeFlags||Object.defineProperty(D,"lwcRuntimeFlags",{value:i(null)});var Sn=D.lwcRuntimeFlags;function On(e){return Zt(e)||Zn(e)}function Hn(e,t){var n=Qt(e);if(t===n)return Qn(n);if(t instanceof Element){if(Xt(e)===Xt(t))return t;if(!S(n)&&en(t)){var r=Qt(t);if(!S(r)&&tn(n,r))return r}}return null}function An(){return Wn(this).length>0}function Rn(){return Wn(this)[0]||null}function _n(){var e=Wn(this);return e[e.length-1]||null}function Pn(){return sn(this)}function Dn(){var e=le.call(this);return S(e)?e:Hn(this,e)}function $n(){var e=le.call(this);if(S(e))return null;var t=Hn(this,e);return t instanceof Element?t:null}function Bn(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:V.call(this,e)}function In(e){return null!=e&&qt(this)===qt(e)&&0!=(V.call(this,e)&x)}function kn(e){var t=Y.call(this,!1);if(!e)return t;for(var n=Wn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function xn(){if(Zn(this)){var e=Qt(this);return pn(S(e)?[]:on(e,un(this)))}return ue.call(this)}var Fn=I.prototype.getRootNode,jn=C(Fn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Fn;u(I.prototype,{firstChild:{get:function(){return On(this)?Rn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return On(this)?_n.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return Sn.ENABLE_NODE_PATCH?Et(this)?re.call(this):Pn.call(this):Vt(this)||Zn(this)?Pn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(Vt(this))return Dn.call(this);var e=le.call(this);return!S(e)&&Zt(e)?Qt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(Vt(this))return $n.call(this);var e=ae.call(this);return!S(e)&&Zt(e)?Qt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return On(this)?xn.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return On(this)?An.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Et(this)?V.call(this,e):Bn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(Sn.ENABLE_NODE_PATCH?Et(this)?ee.call(this,e):In.call(this,e):null!=e&&(Vt(this)||Zn(this)?In.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return Sn.ENABLE_NODE_PATCH?O(e)?Et(this)?Y.call(this,e):kn.call(this,e):Y.call(this,e):Vt(this)||Zn(this)?kn.call(this,e):Y.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return O(!C(e)&&!!e.composed)?jn.call(this,e):S(n=Qt(t=this))?jn.call(t):Qn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var Wn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(I.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(I.prototype,"parentElement"));var Un=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function Kn(e,t,n,r){var l=Je.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!S(l))for(var i=0;i<l.length;i++){var u=l[i];if(!Zt(u)){var c=u.getRootNode();if(-1===b.call(a,c)){var s=Un(c,a[0]);C(s)||-1!==b.call(l,s)||-1!==b.call(o,s)||y.call(o,s)}else y.call(o,u)}}return o}var Gn=new WeakMap,qn=document.createDocumentFragment;function Xn(e){var t=Gn.get(e);if(C(t))throw new TypeError;return t}function Yn(e){return e.$shadowResolver$}function Vn(e,t){e.$shadowResolver$=t}function zn(e){return Xn(e).delegatesFocus}function Jn(e){return Xn(e).host}function Qn(e){return Xn(e).shadowRoot}function Zn(e){var t=Gn.get(e);return!C(t)&&e===t.host}function er(e){var t=Gn.get(e);return!C(t)&&e===t.shadowRoot}c(I.prototype,$,{set:function(e){var t,n;C(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Gt(t,Ut,{value:n,configurable:!0}))},get:function(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),c(D,"$isNativeShadowRootDefined$",{value:gt});var tr=0;function nr(e,t){if(Gn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=dt(e),o=qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Gn.set(o,a),Gn.set(e,a);var i=function(){return o},u=i.nodeKey=tr++;return Gt(e,Kt,{value:u}),Vn(o,i),p(o,ir.prototype),o}var rr={constructor:{writable:!0,configurable:!0,value:ir},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},lr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Jn(this),t=dt(e),n=Ve.call(t);if(S(n))return n;if(0==(V.call(e,n)&x))return null;for(var r=n;!tn(e,r);)r=ae.call(r);return en(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Xn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return sr(this,dt(Jn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Kn(this,dt(Jn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return Jn(this)}},mode:{configurable:!0,get:function(){return Xn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},or=new WeakMap,ar={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Jn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(Jn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(Jn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(Jn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&xt(Jn(e),t,$t(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return or.set(e,this),Lt.apply(Jn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&Ft(Jn(e),t,$t(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Jn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return pn(nn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=Jn(this);return this===e?0:this.contains(e)?20:V.call(t,e)&x?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=Jn(this);return 0!=(V.call(t,e)&x)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Wn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Wn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Wn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(Jn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return Jn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==q&&(t+=sn(l))}return t},set:function(e){var t=Jn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?Jn(this).getRootNode(e):this}}};function ir(){throw new TypeError("Illegal constructor")}function ur(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof I))return r;n=e.getRootNode()}for(var l,o=e;!S(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=S(a)?o.parentNode:a}else o=!er(o)&&!mt(o)||!t&&o===n?o instanceof I?o.parentNode:null:o.host;return l=e instanceof Window?e.document:dt(e),r[r.length-1]===l&&r.push(window),r}
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
@@ -7,4 +7,4 @@
7
7
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
8
  Code distributed by Google as part of the polymer project is also
9
9
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10
- */function or(e,t){if(M(e))return null;for(var n,r,l,o,a=lr(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!zn(l)||!L(o)&&o>-1)return n;return null}function ar(e,t,n,r){var l=Xe.call(t,n,r);return M(l)?l:or(e,lr(l,!0))}l(Zn,nr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return pn(p.call(Zt(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,rn(n=Xn(this),dt(me.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return sn((t=e,nn(n=Xn(this),dt(me.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=xn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Nn(e[n]);return t},set:function(e){var t=Xn(this);Ae.call(t,e)}}},er),rr.prototype=o(DocumentFragment.prototype,Zn),i(rr,Symbol.hasInstance,{value:function(e){return H(e)&&!M(e)&&(ht(e)||c(e)===rr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return ar(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Fn(this,this,e,t)},i(Document.prototype,"activeElement",{get:function(){var e=qe.call(this);if(M(e))return e;for(;!L(Ut(e));)if(M(e=le.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),i(Document.prototype,"getElementById",{value:function(){var e=Qe.apply(this,E.call(arguments));return M(e)?null:L(Ut(e))||bt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),i(Document.prototype,"querySelector",{value:function(){var e=dt(Je.apply(this,E.call(arguments))),t=g.call(e,(function(e){return L(Ut(e))||bt(e)}));return L(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),i(Document.prototype,"querySelectorAll",{value:function(){var e=dt(Je.apply(this,E.call(arguments))),t=p.call(e,(function(e){return L(Ut(e))||bt(e)}));return sn(t)},writable:!0,enumerable:!0,configurable:!0}),i(Document.prototype,"getElementsByClassName",{value:function(){var e=dt(Ze.apply(this,E.call(arguments))),t=p.call(e,(function(e){return L(Ut(e))||bt(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),i(Document.prototype,"getElementsByTagName",{value:function(){var e=dt(et.apply(this,E.call(arguments))),t=p.call(e,(function(e){return L(Ut(e))||bt(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),i(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=dt(tt.apply(this,E.call(arguments))),t=p.call(e,(function(e){return L(Ut(e))||bt(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),i(u(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=dt(nt.apply(this,E.call(arguments))),t=p.call(e,(function(e){return L(Ut(e))||bt(e)}));return sn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:rr,configurable:!0,writable:!0});var ir=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var ur=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function cr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!ir)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!ir.get.call(e)})()&&(HTMLElement.prototype.click=function(){Et.call(this,"click",cr);try{ur.value.call(this)}finally{Tt.call(this,"click",cr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=l(o(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var sr,fr,hr=CustomEvent;function pr(e,t){var n=new hr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(pr.prototype=hr.prototype,window.CustomEvent=pr,"undefined"!=typeof ClipboardEvent){var gr=l(o(null),{copy:1,cut:1,paste:1});a(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===gr[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(sr=u(HTMLIFrameElement.prototype,"contentWindow"),fr=sr.get,sr.get=function(){var e,t=fr.call(this);return M(t)||L(Ut(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},i(HTMLIFrameElement.prototype,"contentWindow",sr));var mr,vr=MutationObserver,br=vr.prototype,dr=br.disconnect,yr=br.observe,Er=br.takeRecords,wr="$$lwcObserverCallbackWrapper$$",Tr=new WeakMap;function Nr(e){return e.$$lwcNodeObservers$$}function Lr(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,i=o(MutationRecord.prototype);return a(i,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),i}function Mr(e,t){for(var n=t;!M(n);){var r=Nr(n);if(!L(r)&&(r[0]===e||-1!==m.call(r,e)))return!0;n=n.parentNode}return!1}function Cr(e,t){return d.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||L(Gt(r)))Mr(t,r)&&b.call(e,n);else if(l.length>0){var a=l[0];if(Mr(t,a)){var i=Nr(r);!i||i[0]!==t&&-1===m.call(i,t)?b.call(e,Lr(n)):b.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Kt(r)===Kt(c)&&Mr(t,r))b.call(e,n);else if(u){var s=Nr(u);!s||s[0]!==t&&-1===m.call(s,t)||b.call(e,Lr(n))}}return e}),[])}function Sr(e){var t=function(e){var t=e[wr];return L(t)&&(t=e[wr]=function(t,n){var r=Cr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new vr(t)}function Or(e,t,n){if(arguments.length>1){var r=E.call(arguments);return r[1]=Ct(r[1]),lt.apply(this,r)}return lt.apply(this,arguments)}function Hr(e,t,n){if(arguments.length>1){var r=E.call(arguments);r[1]=Ct(r[1]),ot.apply(this,r)}ot.apply(this,arguments)}function Ar(){var e=je.call(this);if(!(e instanceof $))return e;var t=mt(e),n=lr(e,this.composed),r=Ue.call(this);if(!(r instanceof $))return M(r)&&L(Ut(e))?e:or(t,n);if(r===t||r===t.body)return L(Ut(e))?e:or(t,n);var l=r,o=n;Vn(r)&&(1===St.get(this)&&(l=Yn(r)));return Vn(e)&&tr.has(this)&&(o=lr(Yn(e),this.composed)),or(l,o)}function Rr(){var e=je.call(this);if(!(e instanceof $))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Wn.has(t));if(n&&!r)return Ge.call(this);if(M(Ue.call(this)))return[];var l=e;return Vn(e)&&tr.has(this)&&(l=Yn(e)),lr(l,this.composed)}function _r(e){var t=u(e.prototype,"relatedTarget").get;i(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(M(e))return null;if(!(e instanceof $&&qt(e)))return e;var n=Ue.call(this);return M(n)&&(n=mt(e)),or(n,lr(e,!0))},enumerable:!0,configurable:!0})}Sr.prototype=vr.prototype,Sr.prototype.disconnect=function(){var e=this;dr.call(this);var t=Tr.get(this);L(t)||(T.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!L(n)){var r=m.call(n,e);-1!==r&&w.call(n,r,1)}})),t.length=0)},Sr.prototype.observe=function(e,t){var n,r=Nr(e);if(L(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===m.call(r,this)&&b.call(r,this),zn(e)&&(e=e.host),Tr.has(this)){var l=Tr.get(this);-1===m.call(l,e)&&b.call(l,e)}else Tr.set(this,[e]);return yr.call(this,e,t)},Sr.prototype.takeRecords=function(){return Cr(Er.call(this),this)},i(window,"MutationObserver",{value:Sr,configurable:!0,writable:!0}),a(yt,{addEventListener:{value:function(e,t,n){if(Vn(this))return kt.apply(this,arguments);if(arguments.length<2){var r=E.call(arguments);return r.length>1&&(r[1]=Ct(r[1])),Et.apply(this,r)}var l=Ct(t);return Et.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(Vn(this))return xt.apply(this,arguments);var r=E.call(arguments);arguments.length>1&&(r[1]=Ct(r[1])),Tt.apply(this,r),Tt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&a(Window.prototype,{addEventListener:{value:Or,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Hr,enumerable:!0,writable:!0,configurable:!0}}),a(Event.prototype,{target:{get:Ar,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Ue.call(this);return M(e)?null:1===St.get(this)?Yn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Rr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Ar,enumerable:!0,configurable:!0},path:{get:Rr,enumerable:!0,configurable:!0}}),_r(FocusEvent),_r(MouseEvent);var Pr={childList:!0},Dr=new WeakMap;function $r(e){var t=dt(ae.call(e));return d.call(t,(function(e,t){return t instanceof Element&&Jt(t)?b.apply(e,$r(t)):b.call(e,t),e}),[])}function Br(){var e=ne.call(this);return!M(e)&&Jt(e)&&Ut(e)!==Ut(this)?e:null}function Ir(e,t){var n,r=Ut(e);if(L(r))n=e instanceof HTMLBodyElement?p.call(t,(function(t){return L(Ut(t))||bt(e)})):E.call(t);else if(Vn(e)){var l=Vt(e);n=M(l)?[]:Gt(e)?en(e,t):nn(l,t)}else n=p.call(t,(function(e){return Kt(e)===r}));return n}function kr(){for(var e=xn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Nn(e[n]);return t}function xr(){return Nn(this)}function Fr(){var e=Vt(this),t=M(e)?[]:nn(e,ln(this));return pn(p.call(t,(function(e){return e instanceof Element})))}function Wr(){return this.children.length}function jr(){return this.children[0]||null}function Ur(){var e=this.children;return e.item(e.length-1)||null}function Kr(e,t,n){var r;if(Vn(e)){var l=Vt(e);r=M(l)?[]:Gt(e)?en(e,t):nn(l,t)}else if(qt(e)){var o=Ut(e);if(L(o))if(1===n){var a=Kt(e);r=p.call(t,(function(e){return Kt(e)===a}))}else r=E.call(t);else r=p.call(t,(function(e){return Kt(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?p.call(t,(function(t){return L(Ut(t))||bt(e)})):E.call(t);return r}a(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Dr.get(this)||(Dr.set(this,!0),mr||(mr=new ut((function(e){var t=[];T.call(e,(function(e){var n=e.target;-1===m.call(t,n)&&(b.call(t,n),wt.call(n,new CustomEvent("slotchange")))}))}))),ct.call(mr,this,Pr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(qt(this)){var t=!L(e)&&C(e.flatten),n=t?$r(this):on(this);return p.call(n,(function(e){return e instanceof Element}))}return R.apply(this,E.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(qt(this)){var t=!L(e)&&C(e.flatten);return t?$r(this):on(this)}return A.apply(this,E.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=ce.call(this,"name");return M(e)?"":e},set:function(e){be.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(qt(this)){var e=Vt(this);return sn(M(e)?[]:nn(e,ln(this)))}return ae.call(this)},enumerable:!0,configurable:!0}}),a(Text.prototype,{assignedSlot:{get:Br,enumerable:!0,configurable:!0}}),a(Element.prototype,{innerHTML:{get:function(){return Ln.ENABLE_ELEMENT_PATCH?bt(this)?He.call(this):kr.call(this):qt(this)||Vn(this)?kr.call(this):He.call(this)},set:function(e){Ae.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return Ln.ENABLE_ELEMENT_PATCH?bt(this)?_e.call(this):xr.call(this):qt(this)||Vn(this)?xr.call(this):_e.call(this)},set:function(e){Pe.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?Qn(this,e):de.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(Vn(this)){var e=Yn(this);if("open"===e.mode)return e}return We.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return Mn(this)?Fr.call(this):xe.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return Mn(this)?Wr.call(this):ye.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return Mn(this)?jr.call(this):Ee.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return Mn(this)?Ur.call(this):we.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Br,enumerable:!0,configurable:!0}}),s.call(HTMLElement.prototype,"innerHTML")&&i(HTMLElement.prototype,"innerHTML",u(Element.prototype,"innerHTML")),s.call(HTMLElement.prototype,"outerHTML")&&i(HTMLElement.prototype,"outerHTML",u(Element.prototype,"outerHTML")),s.call(HTMLElement.prototype,"children")&&i(HTMLElement.prototype,"children",u(Element.prototype,"children")),a(Element.prototype,{querySelector:{value:function(){var e=this,t=dt(me.apply(this,E.call(arguments)));if(Vn(this)){var n=Vt(this);return M(n)?null:Gt(this)?tn(this,t):rn(n,t)}if(qt(this)){var r=Ut(this);if(L(r)){if(!Ln.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=Kt(this),o=g.call(t,(function(e){return Kt(e)===l}));return L(o)?null:o}var a=g.call(t,(function(e){return Kt(e)===r}));return L(a)?null:a}if(!(Ln.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){var i=t[0];return L(i)?null:i}var u=g.call(t,(function(t){return L(Ut(t))||bt(e)}));return L(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=dt(me.apply(this,E.call(arguments)));if(!Ln.ENABLE_NODE_LIST_PATCH){var t=Kr(this,e,0);return sn(t)}return sn(Kr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),a(Element.prototype,{getElementsByClassName:{value:function(){var e=dt(Fe.apply(this,E.call(arguments)));if(!Ln.ENABLE_HTML_COLLECTIONS_PATCH)return pn(Ir(this,e));var t=Kr(this,e,1);return pn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=dt(fe.apply(this,E.call(arguments)));if(!Ln.ENABLE_HTML_COLLECTIONS_PATCH)return pn(Ir(this,e));var t=Kr(this,e,1);return pn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=dt(he.apply(this,E.call(arguments)));if(!Ln.ENABLE_HTML_COLLECTIONS_PATCH)return pn(Ir(this,e));var t=Kr(this,e,1);return pn(t)},writable:!0,enumerable:!0,configurable:!0}}),s.call(HTMLElement.prototype,"getElementsByClassName")&&i(HTMLElement.prototype,"getElementsByClassName",u(Element.prototype,"getElementsByClassName"));var Gr="\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",qr=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function Xr(e){return e.filter((function(e){return pe.call(e,"tabindex")?"0"===ce.call(e,"tabindex"):!qr.has(De.call(e))||!pe.call(e,"disabled")}))}var Yr=new WeakMap;function Vr(e){return(!Vn(e)||!qn(e))&&(ke.call(e,Gr)&&function(e){var t=se.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function zr(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=dt(me.call(this,Gr)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=ge.call(this,Gr);M(a)||a.focus.apply(a,arguments)}}function Jr(e){var t=mt(e),n=Xr(dt(Je.call(t,Gr))),r=Xr(dt(me.call(e,Gr))),l=r[0],o=r[r.length-1],a=m.call(n,e),i=a>-1?a:m.call(n,l),u=0===r.length?i+1:m.call(n,o)+1;return{prev:E.call(n,0,i),inner:r,next:E.call(n,u)}}function Qr(e,t){var n=X.call(e,t);return n&I?0:n&k?1:n&x?2:-1}function Zr(e){e.preventDefault(),e.stopPropagation()}function el(e,t){lt.call(e,"focusin",Zr,!0),lt.call(e,"focusout",Zr,!0),t(),ot.call(e,"focusin",Zr,!0),ot.call(e,"focusout",Zr,!0)}function tl(e,t,n){var r=vt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(ul(t.getRootNode(),l))return l}return null}(e,n);M(l)?el(r,(function(){t.blur()})):el(r,(function(){l.focus()}))}var nl=!1;function rl(){nl=!0}function ll(){nl=!1}function ol(){return!nl}function al(e){if(!nl){var t=Ue.call(e),n=je.call(e);if(t===n){var r=Ke.call(e);if(!M(r)){var l=Jr(t);if(1===Qr(t,r)){var o=ul.bind(null,t.getRootNode()),a=g.call(l.inner,o);if(L(a))tl(l.next,n,r);else el(vt(a),(function(){a.focus()}))}else t===n&&tl(y.call(l.prev),n,r)}}}}function il(e){if(!nl){var t=Ke.call(e);if(!M(t)){var n=Ue.call(e),r=Jr(n);if(-1===m.call(r.inner,t)){var l=je.call(e),o=Qr(n,t);1===o&&tl(r.next,l,t),2===o&&tl(y.call(r.prev),l,t)}}}}function ul(e,t){if(!Vr(t))return!1;for(var n=mt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===ce.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function cl(e){Tt.call(e,"focusin",al,!0)}function sl(e){var t=mt(e);Yr.get(t)||(Yr.set(t,!0),Et.call(t,"mousedown",rl,!0),Et.call(t,"mouseup",(function(){setTimeout(ll)}),!0),Et.call(t,"dragstart",ll,!0))}function fl(e){Tt.call(e,"focusin",il,!0)}function hl(e){var t=vt(e);return at.call(t,e)}function pl(e){var t=vt(e);return it.call(t)}function gl(e){return"visible"===e.visibility&&"none"!==e.display}function ml(e){var t=[];if(function(e){return e.nodeType===F}(e)){var n=e.tagName,r=hl(e);if("OPTION"===n)return[1,Ne.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)b.apply(t,ml(l[o]));if(!gl(r))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");var i=r.display;"table-cell"===i&&t.push("\t"),"table-row"===i&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==i&&"table-caption"!==i&&"flex"!==i&&"table"!==i||(t.unshift(1),t.push(1))}else(function(e){return e.nodeType===W})(e)&&t.push(function(e){var t=pl(e);if(null===t)return e.textContent||"";var n=document.createRange();n.selectNodeContents(e);var r=n.getBoundingClientRect();return r.height<=0||r.width<=0?"":(t.removeAllRanges(),t.addRange(n),t.toString()||e.textContent||"")}(e));return t}function vl(e){if(!gl(hl(e)))return an(e)||"";for(var t=function(e){var t=vt(e),n=pl(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)b.apply(n,ml(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=vt(t),i=pl(t);i.removeAllRanges();for(var u=0;u<o.length;u++)i.addRange(o[u]);a.onselect=n,a.onselectstart=r,a.onselectionchange=l}}(t);for(var a="",i=0,u=0,c=n.length;u<c;u++){var s=n[u];if("string"==typeof s){if(i>0){for(var f=0;f<i;f++)a+="\n";i=0}s.length>0&&(a+=s)}else{if(0==a.length)continue;s>i&&(i=s)}}return a}var bl=HTMLElement.prototype,dl=bl.blur,yl=bl.focus;function El(){return qn(this)&&S(pe.call(this,"tabindex"))?0:Be.call(this)}function wl(e){var t=qn(this),n=Be.call(this),r=pe.call(this,"tabindex");Ie.call(this,e);var l,o=Be.call(this),a=pe.call(this,"tabindex"),i=n!==o;(r&&(i||S(a))&&(-1===n&&fl(this),0===n&&t&&cl(this)),S(a))||(r&&a&&S(i)||(-1===o&&(sl(l=this),cl(l),Et.call(l,"focusin",il,!0)),0===o&&t&&function(e){sl(e),fl(e),Et.call(e,"focusin",al,!0)}(this)))}function Tl(){if(qn(this)){var e=(n=mt(t=this),M(r=qe.call(n))||0!=(X.call(t,r)&I)?r:null);if(!M(e))return void e.blur()}var t,n,r;return dl.call(this)}function Nl(){var e=ol();e&&rl(),Vn(this)&&qn(this)?zr.call(this):(yl.apply(this,arguments),e&&ll())}a(HTMLElement.prototype,{tabIndex:{get:function(){return Vn(this)?El.call(this):Be.call(this)},set:function(e){return Vn(this)?wl.call(this,e):Ie.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(Vn(this))return Tl.call(this);dl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Nl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Ne&&null!==Le&&i(HTMLElement.prototype,"innerText",{get:function(){return Ln.ENABLE_INNER_OUTER_TEXT_PATCH?Ln.ENABLE_ELEMENT_PATCH?bt(this)?Ne.call(this):vl(this):qt(this)||Vn(this)?vl(this):Ne.call(this):Ne.call(this)},set:function(e){Le.call(this,e)},enumerable:!0,configurable:!0}),null!==Ce&&null!==Se&&i(HTMLElement.prototype,"outerText",{get:function(){return Ln.ENABLE_INNER_OUTER_TEXT_PATCH?Ln.ENABLE_ELEMENT_PATCH?bt(this)?Ce.call(this):vl(this):qt(this)||Vn(this)?vl(this):Ce.call(this):Ce.call(this)},set:function(e){Se.call(this,e)},enumerable:!0,configurable:!0}),i(Element.prototype,D,{set:function(e){var t=this.$$ShadowTokenKey$$;L(t)||t===e||ve.call(this,t),L(e)||be.call(this,e,""),this.$$ShadowTokenKey$$=e},get:function(){return this.$$ShadowTokenKey$$},configurable:!0});var Ll,Ml=function(){},Cl={childList:!0};function Sl(e,t,n){var r=Kn(e);if(r!==t&&(Gn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),Vn(e))return;L(r)&&ct.call(Ll,e,Cl);for(var l=ae.call(e),o=0,a=l.length;o<a;o+=1)Sl(l[o],t,n)}}function Ol(e){if(L(Ll)&&(Ll=new ut((function(e){T.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Kn(t),o=function(e){return e.$shadowToken$}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];X.call(t,u)&$.DOCUMENT_POSITION_CONTAINED_BY||Sl(u,Ml,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];X.call(t,f)&$.DOCUMENT_POSITION_CONTAINED_BY&&Sl(f,l,o)}}))}))),L(Kn(e)))throw new Error("Invalid Element");ct.call(Ll,e,Cl)}i(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,C(e)&&Ol(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}));
10
+ */function cr(e,t){if(S(e))return null;for(var n,r,l,o,a=ur(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!er(l)||!C(o)&&o>-1)return n;return null}function sr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:cr(e,ur(l,!0))}a(rr,ar,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return vn(m.call(nn(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,an(n=Jn(this),wt(be.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return pn((t=e,on(n=Jn(this),wt(be.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Cn(e[n]);return t},set:function(e){var t=Jn(this);_e.call(t,e)}}},lr),ir.prototype=i(DocumentFragment.prototype,rr),c(ir,Symbol.hasInstance,{value:function(e){return R(e)&&!S(e)&&(mt(e)||f(e)===ir.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return sr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Kn(this,this,e,t)},c(Document.prototype,"activeElement",{get:function(){var e=Ve.call(this);if(S(e))return e;for(;!C(qt(e));)if(S(e=ae.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),c(Document.prototype,"getElementById",{value:function(){var e=tt.apply(this,T.call(arguments));return S(e)?null:C(qt(e))||Et(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(qt(e))||Et(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=wt(nt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=wt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=wt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=wt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ir,configurable:!0,writable:!0});var fr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var hr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function pr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!fr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!fr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Nt.call(this,"click",pr);try{hr.value.call(this)}finally{Mt.call(this,"click",pr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=a(i(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var gr,mr,vr=CustomEvent;function br(e,t){var n=new vr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(br.prototype=vr.prototype,window.CustomEvent=br,"undefined"!=typeof ClipboardEvent){var dr=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===dr[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(gr=s(HTMLIFrameElement.prototype,"contentWindow"),mr=gr.get,gr.get=function(){var e,t=mr.call(this);return S(t)||C(qt(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},c(HTMLIFrameElement.prototype,"contentWindow",gr));var yr=MutationObserver,Er=yr.prototype,wr=Er.disconnect,Tr=Er.observe,Nr=Er.takeRecords,Lr="$$lwcObserverCallbackWrapper$$",Mr=new WeakMap;function Cr(e){return e.$$lwcNodeObservers$$}function Sr(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=i(MutationRecord.prototype);return u(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function Or(e,t){for(var n=t;!S(n);){var r=Cr(n);if(!C(r)&&(r[0]===e||-1!==b.call(r,e)))return!0;n=n.parentNode}return!1}function Hr(e,t){return E.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Yt(r)))Or(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(Or(t,a)){var i=Cr(r);!i||i[0]!==t&&-1===b.call(i,t)?y.call(e,Sr(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Xt(r)===Xt(c)&&Or(t,r))y.call(e,n);else if(u){var s=Cr(u);!s||s[0]!==t&&-1===b.call(s,t)||y.call(e,Sr(n))}}return e}),[])}function Ar(e){var t=function(e){var t=e[Lr];return C(t)&&(t=e[Lr]=function(t,n){var r=Hr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new yr(t)}function Rr(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=Ht(r[1]),it.apply(this,r)}return it.apply(this,arguments)}function _r(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=Ht(r[1]),ut.apply(this,r)}ut.apply(this,arguments)}function Pr(){var e=Ge.call(this);if(!(e instanceof I))return e;var t=dt(e),n=ur(e,this.composed),r=qe.call(this);if(!(r instanceof I))return S(r)&&C(qt(e))?e:cr(t,n);if(r===t||r===t.body)return C(qt(e))?e:cr(t,n);var l=r,o=n;Zn(r)&&(1===At.get(this)&&(l=Qn(r)));return Zn(e)&&or.has(this)&&(o=ur(Qn(e),this.composed)),cr(l,o)}function Dr(){var e=Ge.call(this);if(!(e instanceof I))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Gn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return Zn(e)&&or.has(this)&&(l=Qn(e)),ur(l,this.composed)}function $r(e){var t=s(e.prototype,"relatedTarget").get;c(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(S(e))return null;if(!(e instanceof I&&Vt(e)))return e;var n=qe.call(this);return S(n)&&(n=dt(e)),cr(n,ur(e,!0))},enumerable:!0,configurable:!0})}Ar.prototype=yr.prototype,Ar.prototype.disconnect=function(){var e=this;wr.call(this);var t=Mr.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=b.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},Ar.prototype.observe=function(e,t){var n,r=Cr(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===b.call(r,this)&&y.call(r,this),er(e)&&(e=e.host),Mr.has(this)){var l=Mr.get(this);-1===b.call(l,e)&&y.call(l,e)}else Mr.set(this,[e]);return Tr.call(this,e,t)},Ar.prototype.takeRecords=function(){return Hr(Nr.call(this),this)},c(window,"MutationObserver",{value:Ar,configurable:!0,writable:!0}),u(Tt,{addEventListener:{value:function(e,t,n){if(Zn(this))return jt.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=Ht(r[1])),Nt.apply(this,r)}var l=Ht(t);return Nt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(Zn(this))return Wt.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=Ht(r[1])),Mt.apply(this,r),Mt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:Rr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:_r,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:Pr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===At.get(this)?Qn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Dr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Pr,enumerable:!0,configurable:!0},path:{get:Dr,enumerable:!0,configurable:!0}}),$r(FocusEvent),$r(MouseEvent);var Br,Ir=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},kr={childList:!0},xr=new WeakMap;function Fr(e){var t=wt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&en(t)?y.apply(e,Fr(t)):y.call(e,t),e}),[])}function jr(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(mt(t))return this instanceof Text?Ir.call(this):Ke.call(this)}return!S(e)&&en(e)&&qt(e)!==qt(this)?e:null}function Wr(e,t){var n,r=qt(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(qt(t))||Et(e)})):T.call(t);else if(Zn(e)){var l=Qt(e);n=S(l)?[]:Yt(e)?rn(e,t):on(l,t)}else n=m.call(t,(function(e){return Xt(e)===r}));return n}function Ur(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Cn(e[n]);return t}function Kr(){return Cn(this)}function Gr(){var e=Qt(this),t=S(e)?[]:on(e,un(this));return vn(m.call(t,(function(e){return e instanceof Element})))}function qr(){return this.children.length}function Xr(){return this.children[0]||null}function Yr(){var e=this.children;return e.item(e.length-1)||null}function Vr(e,t,n){var r;if(Zn(e)){var l=Qt(e);r=S(l)?[]:Yt(e)?rn(e,t):on(l,t)}else if(Vt(e)){var o=qt(e);if(C(o))if(1===n){var a=Xt(e);r=m.call(t,(function(e){return Xt(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return Xt(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(qt(t))||Et(e)})):T.call(t);return r}u(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||xr.get(this)||(xr.set(this,!0),Br||(Br=new ft((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===b.call(t,n)&&(y.call(t,n),Lt.call(n,new CustomEvent("slotchange")))}))}))),ht.call(Br,this,kr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(Vt(this)){var t=!C(e)&&O(e.flatten),n=t?Fr(this):cn(this);return m.call(n,(function(e){return e instanceof Element}))}return P.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(Vt(this)){var t=!C(e)&&O(e.flatten);return t?Fr(this):cn(this)}return _.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(Vt(this)){var e=Qt(this);return pn(S(e)?[]:on(e,un(this)))}return ue.call(this)},enumerable:!0,configurable:!0}}),u(Text.prototype,{assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),u(Element.prototype,{innerHTML:{get:function(){return Sn.ENABLE_ELEMENT_PATCH?Et(this)?Re.call(this):Ur.call(this):Vt(this)||Zn(this)?Ur.call(this):Re.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return Sn.ENABLE_ELEMENT_PATCH?Et(this)?De.call(this):Kr.call(this):Vt(this)||Zn(this)?Kr.call(this):De.call(this)},set:function(e){$e.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?nr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(Zn(this)){var e=Qn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return On(this)?Gr.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return On(this)?qr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return On(this)?Xr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return On(this)?Yr.call(this):Ne.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&c(HTMLElement.prototype,"innerHTML",s(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&c(HTMLElement.prototype,"outerHTML",s(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&c(HTMLElement.prototype,"children",s(Element.prototype,"children")),u(Element.prototype,{querySelector:{value:function(){var e=this,t=wt(be.apply(this,T.call(arguments)));if(Zn(this)){var n=Qt(this);return S(n)?null:Yt(this)?ln(this,t):an(n,t)}if(Vt(this)){var r=qt(this);if(C(r)){if(!Sn.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=Xt(this),o=v.call(t,(function(e){return Xt(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return Xt(e)===r}));return C(a)?null:a}if(!(Sn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){var i=t[0];return C(i)?null:i}var u=v.call(t,(function(t){return C(qt(t))||Et(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=wt(be.apply(this,T.call(arguments)));if(!Sn.ENABLE_NODE_LIST_PATCH){var t=Vr(this,e,0);return pn(t)}return pn(Vr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=wt(We.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(Wr(this,e));var t=Vr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=wt(pe.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(Wr(this,e));var t=Vr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=wt(ge.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(Wr(this,e));var t=Vr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&c(HTMLElement.prototype,"getElementsByClassName",s(Element.prototype,"getElementsByClassName"));var zr="\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",Jr=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function Qr(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!Jr.has(Be.call(e))||!me.call(e,"disabled")}))}var Zr=new WeakMap;function el(e){return(!Zn(e)||!zn(e))&&(Fe.call(e,zr)&&function(e){var t=he.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function tl(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=wt(be.call(this,zr)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=ve.call(this,zr);S(a)||a.focus.apply(a,arguments)}}function nl(e){var t=dt(e),n=Qr(wt(et.call(t,zr))),r=Qr(wt(be.call(e,zr))),l=r[0],o=r[r.length-1],a=b.call(n,e),i=a>-1?a:b.call(n,l),u=0===r.length?i+1:b.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function rl(e,t){var n=V.call(e,t);return n&x?0:n&F?1:n&j?2:-1}function ll(e){e.preventDefault(),e.stopPropagation()}function ol(e,t){it.call(e,"focusin",ll,!0),it.call(e,"focusout",ll,!0),t(),ut.call(e,"focusin",ll,!0),ut.call(e,"focusout",ll,!0)}function al(e,t,n){var r=yt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(pl(t.getRootNode(),l))return l}return null}(e,n);S(l)?ol(r,(function(){t.blur()})):ol(r,(function(){l.focus()}))}var il=!1;function ul(){il=!0}function cl(){il=!1}function sl(){return!il}function fl(e){if(!il){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=nl(t);if(1===rl(t,r)){var o=pl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))al(l.next,n,r);else ol(yt(a),(function(){a.focus()}))}else t===n&&al(w.call(l.prev),n,r)}}}}function hl(e){if(!il){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=nl(n);if(-1===b.call(r.inner,t)){var l=Ge.call(e),o=rl(n,t);1===o&&al(r.next,l,t),2===o&&al(w.call(r.prev),l,t)}}}}function pl(e,t){if(!el(t))return!1;for(var n=dt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===fe.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function gl(e){Mt.call(e,"focusin",fl,!0)}function ml(e){var t=dt(e);Zr.get(t)||(Zr.set(t,!0),Nt.call(t,"mousedown",ul,!0),Nt.call(t,"mouseup",(function(){setTimeout(cl)}),!0),Nt.call(t,"dragstart",cl,!0))}function vl(e){Mt.call(e,"focusin",hl,!0)}function bl(e){var t=yt(e);return ct.call(t,e)}function dl(e){var t=yt(e);return st.call(t)}function yl(e){return"visible"===e.visibility&&"none"!==e.display}function El(e){var t=[];if(function(e){return e.nodeType===W}(e)){var n=e.tagName,r=bl(e);if("OPTION"===n)return[1,Me.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)y.apply(t,El(l[o]));if(!yl(r))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");var i=r.display;"table-cell"===i&&t.push("\t"),"table-row"===i&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==i&&"table-caption"!==i&&"flex"!==i&&"table"!==i||(t.unshift(1),t.push(1))}else(function(e){return e.nodeType===U})(e)&&t.push(function(e){var t=dl(e);if(null===t)return e.textContent||"";var n=document.createRange();n.selectNodeContents(e);var r=n.getBoundingClientRect();return r.height<=0||r.width<=0?"":(t.removeAllRanges(),t.addRange(n),t.toString()||e.textContent||"")}(e));return t}function wl(e){if(!yl(bl(e)))return sn(e)||"";for(var t=function(e){var t=yt(e),n=dl(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)y.apply(n,El(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=yt(t),i=dl(t);i.removeAllRanges();for(var u=0;u<o.length;u++)i.addRange(o[u]);a.onselect=n,a.onselectstart=r,a.onselectionchange=l}}(t);for(var a="",i=0,u=0,c=n.length;u<c;u++){var s=n[u];if("string"==typeof s){if(i>0){for(var f=0;f<i;f++)a+="\n";i=0}s.length>0&&(a+=s)}else{if(0==a.length)continue;s>i&&(i=s)}}return a}var Tl=HTMLElement.prototype,Nl=Tl.blur,Ll=Tl.focus;function Ml(){return zn(this)&&H(me.call(this,"tabindex"))?0:ke.call(this)}function Cl(e){var t=zn(this),n=ke.call(this),r=me.call(this,"tabindex");xe.call(this,e);var l,o=ke.call(this),a=me.call(this,"tabindex"),i=n!==o;(r&&(i||H(a))&&(-1===n&&vl(this),0===n&&t&&gl(this)),H(a))||(r&&a&&H(i)||(-1===o&&(ml(l=this),gl(l),Nt.call(l,"focusin",hl,!0)),0===o&&t&&function(e){ml(e),vl(e),Nt.call(e,"focusin",fl,!0)}(this)))}function Sl(){if(zn(this)){var e=(n=dt(t=this),S(r=Ve.call(n))||0!=(V.call(t,r)&x)?r:null);if(!S(e))return void e.blur()}var t,n,r;return Nl.call(this)}function Ol(){var e=sl();e&&ul(),Zn(this)&&zn(this)?tl.call(this):(Ll.apply(this,arguments),e&&cl())}u(HTMLElement.prototype,{tabIndex:{get:function(){return Zn(this)?Ml.call(this):ke.call(this)},set:function(e){return Zn(this)?Cl.call(this,e):xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(Zn(this))return Sl.call(this);Nl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Ol.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return Sn.ENABLE_INNER_OUTER_TEXT_PATCH?Sn.ENABLE_ELEMENT_PATCH?Et(this)?Me.call(this):wl(this):Vt(this)||Zn(this)?wl(this):Me.call(this):Me.call(this)},set:function(e){Ce.call(this,e)},enumerable:!0,configurable:!0}),null!==Oe&&null!==He&&c(HTMLElement.prototype,"outerText",{get:function(){return Sn.ENABLE_INNER_OUTER_TEXT_PATCH?Sn.ENABLE_ELEMENT_PATCH?Et(this)?Oe.call(this):wl(this):Vt(this)||Zn(this)?wl(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,B,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||de.call(this,t),C(e)||ye.call(this,e,""),this.$$ShadowTokenKey$$=e},get:function(){return this.$$ShadowTokenKey$$},configurable:!0});var Hl,Al=function(){},Rl={childList:!0};function _l(e,t,n){var r=Yn(e);if(r!==t&&(Vn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),Zn(e))return;C(r)&&ht.call(Hl,e,Rl);for(var l=ue.call(e),o=0,a=l.length;o<a;o+=1)_l(l[o],t,n)}}function Pl(e){if(C(Hl)&&(Hl=new ft((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Yn(t),o=function(e){return e.$shadowToken$}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];V.call(t,u)&I.DOCUMENT_POSITION_CONTAINED_BY||_l(u,Al,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];V.call(t,f)&I.DOCUMENT_POSITION_CONTAINED_BY&&_l(f,l,o)}}))}))),C(Yn(e)))throw new Error("Invalid Element");ht.call(Hl,e,Rl)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&Pl(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}));