lwc 2.20.0 → 2.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +37 -36
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +37 -36
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +35 -34
  5. package/dist/engine-dom/iife/es5/engine-dom.js +37 -36
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +35 -34
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +37 -36
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +35 -34
  11. package/dist/engine-dom/umd/es5/engine-dom.js +37 -36
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +35 -34
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +5 -5
  15. package/dist/engine-server/esm/es2017/engine-server.js +5 -5
  16. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  17. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  19. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  21. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  23. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  25. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  26. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  28. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  30. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  32. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  34. package/package.json +7 -7
@@ -294,7 +294,7 @@
294
294
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
295
295
  return attributeName;
296
296
  }
297
- /** version: 2.20.0 */
297
+ /** version: 2.20.1 */
298
298
 
299
299
  /*
300
300
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5213,7 +5213,7 @@
5213
5213
  }
5214
5214
  return ctor;
5215
5215
  }
5216
- /* version: 2.20.0 */
5216
+ /* version: 2.20.1 */
5217
5217
 
5218
5218
  /*
5219
5219
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5237,9 +5237,6 @@
5237
5237
  // Detect IE, via https://stackoverflow.com/a/9851769
5238
5238
  const isIE11 = !isUndefined$1(document.documentMode);
5239
5239
  const stylesheetCache = new Map();
5240
- function isDocument(target) {
5241
- return !isUndefined$1(target.head);
5242
- }
5243
5240
  function createFreshStyleElement(content) {
5244
5241
  const elm = document.createElement('style');
5245
5242
  elm.type = 'text/css';
@@ -5247,10 +5244,10 @@
5247
5244
  return elm;
5248
5245
  }
5249
5246
  function createStyleElement(content, cacheData) {
5250
- const { stylesheet, used } = cacheData;
5247
+ const { element, usedElement } = cacheData;
5251
5248
  // If the <style> was already used, then we should clone it. We cannot insert
5252
5249
  // the same <style> in two places in the DOM.
5253
- if (used) {
5250
+ if (usedElement) {
5254
5251
  // For a mysterious reason, IE11 doesn't like the way we clone <style> nodes
5255
5252
  // and will render the incorrect styles if we do things that way. It's just
5256
5253
  // a perf optimization, so we can skip it for IE11.
@@ -5259,11 +5256,11 @@
5259
5256
  }
5260
5257
  // This `<style>` may be repeated multiple times in the DOM, so cache it. It's a bit
5261
5258
  // faster to call `cloneNode()` on an existing node than to recreate it every time.
5262
- return stylesheet.cloneNode(true);
5259
+ return element.cloneNode(true);
5263
5260
  }
5264
5261
  // We don't clone every time, because that would be a perf tax on the first time
5265
- cacheData.used = true;
5266
- return stylesheet;
5262
+ cacheData.usedElement = true;
5263
+ return element;
5267
5264
  }
5268
5265
  function createConstructableStylesheet(content) {
5269
5266
  const stylesheet = new CSSStyleSheet();
@@ -5284,47 +5281,42 @@
5284
5281
  }
5285
5282
  function insertStyleElement(content, target, cacheData) {
5286
5283
  const elm = createStyleElement(content, cacheData);
5287
- const targetAnchorPoint = isDocument(target) ? target.head : target;
5288
- targetAnchorPoint.appendChild(elm);
5289
- }
5290
- function doInsertStylesheet(content, target, cacheData) {
5291
- // Constructable stylesheets are only supported in certain browsers:
5292
- // https://caniuse.com/mdn-api_document_adoptedstylesheets
5293
- // The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
5294
- if (supportsConstructableStylesheets) {
5295
- insertConstructableStylesheet(content, target, cacheData);
5296
- }
5297
- else {
5298
- // Fall back to <style> element
5299
- insertStyleElement(content, target, cacheData);
5300
- }
5284
+ target.appendChild(elm);
5301
5285
  }
5302
- function getCacheData(content) {
5286
+ function getCacheData(content, useConstructableStylesheet) {
5303
5287
  let cacheData = stylesheetCache.get(content);
5304
5288
  if (isUndefined$1(cacheData)) {
5305
5289
  cacheData = {
5306
- stylesheet: supportsConstructableStylesheets
5307
- ? createConstructableStylesheet(content)
5308
- : createFreshStyleElement(content),
5290
+ stylesheet: undefined,
5291
+ element: undefined,
5309
5292
  roots: undefined,
5310
5293
  global: false,
5311
- used: false,
5294
+ usedElement: false,
5312
5295
  };
5313
5296
  stylesheetCache.set(content, cacheData);
5314
5297
  }
5298
+ // Create <style> elements or CSSStyleSheets on-demand, as needed
5299
+ if (useConstructableStylesheet && isUndefined$1(cacheData.stylesheet)) {
5300
+ cacheData.stylesheet = createConstructableStylesheet(content);
5301
+ }
5302
+ else if (!useConstructableStylesheet && isUndefined$1(cacheData.element)) {
5303
+ cacheData.element = createFreshStyleElement(content);
5304
+ }
5315
5305
  return cacheData;
5316
5306
  }
5317
5307
  function insertGlobalStylesheet(content) {
5318
- const cacheData = getCacheData(content);
5308
+ // Force a <style> element for global stylesheets. See comment below.
5309
+ const cacheData = getCacheData(content, false);
5319
5310
  if (cacheData.global) {
5320
5311
  // already inserted
5321
5312
  return;
5322
5313
  }
5323
5314
  cacheData.global = true; // mark inserted
5324
- doInsertStylesheet(content, document, cacheData);
5315
+ // TODO [#2922]: use document.adoptedStyleSheets in supported browsers. Currently we can't, due to backwards compat.
5316
+ insertStyleElement(content, document.head, cacheData);
5325
5317
  }
5326
5318
  function insertLocalStylesheet(content, target) {
5327
- const cacheData = getCacheData(content);
5319
+ const cacheData = getCacheData(content, supportsConstructableStylesheets);
5328
5320
  let { roots } = cacheData;
5329
5321
  if (isUndefined$1(roots)) {
5330
5322
  roots = cacheData.roots = new WeakSet(); // lazily initialize (not needed for global styles)
@@ -5334,7 +5326,16 @@
5334
5326
  return;
5335
5327
  }
5336
5328
  roots.add(target); // mark inserted
5337
- doInsertStylesheet(content, target, cacheData);
5329
+ // Constructable stylesheets are only supported in certain browsers:
5330
+ // https://caniuse.com/mdn-api_document_adoptedstylesheets
5331
+ // The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
5332
+ if (supportsConstructableStylesheets) {
5333
+ insertConstructableStylesheet(content, target, cacheData);
5334
+ }
5335
+ else {
5336
+ // Fall back to <style> element
5337
+ insertStyleElement(content, target, cacheData);
5338
+ }
5338
5339
  }
5339
5340
  function insertStylesheet(content, target) {
5340
5341
  if (isUndefined$1(target)) {
@@ -5869,7 +5870,7 @@
5869
5870
  });
5870
5871
  freeze(LightningElement);
5871
5872
  seal(LightningElement.prototype);
5872
- /* version: 2.20.0 */
5873
+ /* version: 2.20.1 */
5873
5874
 
5874
5875
  exports.LightningElement = LightningElement;
5875
5876
  exports.__unstable__ProfilerControl = profilerControl;
@@ -368,9 +368,9 @@
368
368
  // Increment whenever the LWC template compiler changes
369
369
 
370
370
 
371
- var LWC_VERSION = "2.20.0";
371
+ var LWC_VERSION = "2.20.1";
372
372
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
373
- /** version: 2.20.0 */
373
+ /** version: 2.20.1 */
374
374
 
375
375
  /*
376
376
  * Copyright (c) 2018, salesforce.com, inc.
@@ -549,7 +549,7 @@
549
549
  setFeatureFlag(name, value);
550
550
  }
551
551
  }
552
- /** version: 2.20.0 */
552
+ /** version: 2.20.1 */
553
553
 
554
554
  /*
555
555
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8271,7 +8271,7 @@
8271
8271
 
8272
8272
  return ctor;
8273
8273
  }
8274
- /* version: 2.20.0 */
8274
+ /* version: 2.20.1 */
8275
8275
 
8276
8276
  /*
8277
8277
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8306,10 +8306,6 @@
8306
8306
  };
8307
8307
  }
8308
8308
 
8309
- function isDocument(target) {
8310
- return !isUndefined$1(target.head);
8311
- }
8312
-
8313
8309
  function createFreshStyleElement(content) {
8314
8310
  var elm = document.createElement('style');
8315
8311
  elm.type = 'text/css';
@@ -8318,11 +8314,11 @@
8318
8314
  }
8319
8315
 
8320
8316
  function createStyleElement(content, cacheData) {
8321
- var stylesheet = cacheData.stylesheet,
8322
- used = cacheData.used; // If the <style> was already used, then we should clone it. We cannot insert
8317
+ var element = cacheData.element,
8318
+ usedElement = cacheData.usedElement; // If the <style> was already used, then we should clone it. We cannot insert
8323
8319
  // the same <style> in two places in the DOM.
8324
8320
 
8325
- if (used) {
8321
+ if (usedElement) {
8326
8322
  // For a mysterious reason, IE11 doesn't like the way we clone <style> nodes
8327
8323
  // and will render the incorrect styles if we do things that way. It's just
8328
8324
  // a perf optimization, so we can skip it for IE11.
@@ -8332,12 +8328,12 @@
8332
8328
  // faster to call `cloneNode()` on an existing node than to recreate it every time.
8333
8329
 
8334
8330
 
8335
- return stylesheet.cloneNode(true);
8331
+ return element.cloneNode(true);
8336
8332
  } // We don't clone every time, because that would be a perf tax on the first time
8337
8333
 
8338
8334
 
8339
- cacheData.used = true;
8340
- return stylesheet;
8335
+ cacheData.usedElement = true;
8336
+ return element;
8341
8337
  }
8342
8338
 
8343
8339
  function createConstructableStylesheet(content) {
@@ -8360,40 +8356,36 @@
8360
8356
 
8361
8357
  function insertStyleElement(content, target, cacheData) {
8362
8358
  var elm = createStyleElement(content, cacheData);
8363
- var targetAnchorPoint = isDocument(target) ? target.head : target;
8364
- targetAnchorPoint.appendChild(elm);
8365
- }
8366
-
8367
- function doInsertStylesheet(content, target, cacheData) {
8368
- // Constructable stylesheets are only supported in certain browsers:
8369
- // https://caniuse.com/mdn-api_document_adoptedstylesheets
8370
- // The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
8371
- if (supportsConstructableStylesheets) {
8372
- insertConstructableStylesheet(content, target, cacheData);
8373
- } else {
8374
- // Fall back to <style> element
8375
- insertStyleElement(content, target, cacheData);
8376
- }
8359
+ target.appendChild(elm);
8377
8360
  }
8378
8361
 
8379
- function getCacheData(content) {
8362
+ function getCacheData(content, useConstructableStylesheet) {
8380
8363
  var cacheData = stylesheetCache.get(content);
8381
8364
 
8382
8365
  if (isUndefined$1(cacheData)) {
8383
8366
  cacheData = {
8384
- stylesheet: supportsConstructableStylesheets ? createConstructableStylesheet(content) : createFreshStyleElement(content),
8367
+ stylesheet: undefined,
8368
+ element: undefined,
8385
8369
  roots: undefined,
8386
8370
  global: false,
8387
- used: false
8371
+ usedElement: false
8388
8372
  };
8389
8373
  stylesheetCache.set(content, cacheData);
8374
+ } // Create <style> elements or CSSStyleSheets on-demand, as needed
8375
+
8376
+
8377
+ if (useConstructableStylesheet && isUndefined$1(cacheData.stylesheet)) {
8378
+ cacheData.stylesheet = createConstructableStylesheet(content);
8379
+ } else if (!useConstructableStylesheet && isUndefined$1(cacheData.element)) {
8380
+ cacheData.element = createFreshStyleElement(content);
8390
8381
  }
8391
8382
 
8392
8383
  return cacheData;
8393
8384
  }
8394
8385
 
8395
8386
  function insertGlobalStylesheet(content) {
8396
- var cacheData = getCacheData(content);
8387
+ // Force a <style> element for global stylesheets. See comment below.
8388
+ var cacheData = getCacheData(content, false);
8397
8389
 
8398
8390
  if (cacheData.global) {
8399
8391
  // already inserted
@@ -8401,12 +8393,13 @@
8401
8393
  }
8402
8394
 
8403
8395
  cacheData.global = true; // mark inserted
8396
+ // TODO [#2922]: use document.adoptedStyleSheets in supported browsers. Currently we can't, due to backwards compat.
8404
8397
 
8405
- doInsertStylesheet(content, document, cacheData);
8398
+ insertStyleElement(content, document.head, cacheData);
8406
8399
  }
8407
8400
 
8408
8401
  function insertLocalStylesheet(content, target) {
8409
- var cacheData = getCacheData(content);
8402
+ var cacheData = getCacheData(content, supportsConstructableStylesheets);
8410
8403
  var roots = cacheData.roots;
8411
8404
 
8412
8405
  if (isUndefined$1(roots)) {
@@ -8417,8 +8410,16 @@
8417
8410
  }
8418
8411
 
8419
8412
  roots.add(target); // mark inserted
8413
+ // Constructable stylesheets are only supported in certain browsers:
8414
+ // https://caniuse.com/mdn-api_document_adoptedstylesheets
8415
+ // The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
8420
8416
 
8421
- doInsertStylesheet(content, target, cacheData);
8417
+ if (supportsConstructableStylesheets) {
8418
+ insertConstructableStylesheet(content, target, cacheData);
8419
+ } else {
8420
+ // Fall back to <style> element
8421
+ insertStyleElement(content, target, cacheData);
8422
+ }
8422
8423
  }
8423
8424
 
8424
8425
  function insertStylesheet(content, target) {
@@ -9091,7 +9092,7 @@
9091
9092
  });
9092
9093
  freeze(LightningElement);
9093
9094
  seal(LightningElement.prototype);
9094
- /* version: 2.20.0 */
9095
+ /* version: 2.20.1 */
9095
9096
 
9096
9097
  exports.LightningElement = LightningElement;
9097
9098
  exports.__unstable__ProfilerControl = profilerControl;
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e){return w="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},w(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,k=Object.create,S=Object.defineProperties,M=Object.defineProperty,T=Object.freeze,O=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,x=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,L=Object.keys,j=Object.seal,R=Object.setPrototypeOf,_=Array.isArray,D=Array.prototype,F=D.indexOf,H=D.join,I=D.map,B=D.push,W=D.slice,V=D.splice,$=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===w(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?_(e)?H.call(I.call(e,ie),","):e.toString():"object"===w(e)?ae.call(e):e+""}function le(e,t){do{var n=O(e,t);if(!J(n))return n;e=x(e)}while(null!==e)}var ue=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],ce=function(){var e=k(null),t=k(null);return K.call(ue,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ce.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":w(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}(),de="http://www.w3.org/2000/svg",ve=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),he=new Map;function pe(e){var t=se[e];if(!J(t))return t;var n=ve.get(e);if(!J(n))return n;var r=he.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return he.set(e,o),o}function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ge=new WeakMap;function ye(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function be(e,t){return{get:function(){var n=ye(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ye(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function we(e){var t=be(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=L(se),Ee=0,ke=Ce.length;Ee<ke;Ee+=1){me(Ut=Ce[Ee])&&we(Ut)}var Se={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:k(null)});var Me=fe.lwcRuntimeFlags;var Te=[],Oe=j(k(null)),Ae=j([]);function xe(){var e=Te;Te=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Te.length&&Promise.resolve().then(xe),B.call(Te,e)}var Ne=/;(?![^(]*\))/g,Le=/:(.+)/;function je(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(e.split(Ne));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=g(o.split(Le),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}function Re(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var _e=new WeakMap;var De=null;function Fe(e,t){var n=_e.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function He(e,t){if(null!==De){var n=De,r=function(e){var t=_e.get(e);if(J(t)){var n=k(null);t=n,_e.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===F.call(o,n)&&n.link(o)}}var Ie=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=De;De=this;try{e()}catch(e){t=Object(e)}finally{if(De=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=F.call(e[n],this);V.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){B.call(e,this),B.call(this.listeners,e)}}]),e}();function Be(e,t){Fe(e.component,t)}function We(e,t){He(e.component,t)}function Ve(e){return"<".concat(Y.call(e.tagName),">")}function $e(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Ve(n)),n=n.owner;return t.reverse().join("\n\t")}(e);M(t,"wcStack",{get:function(){return n}})}}function Ke(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)B.call(t,n+Ve(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function Ge(e,t){Ke("error",e,t)}function Ue(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ze(e){return te(e)&&P.call(e,"__circular__")}var qe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Xe=qe.prototype;function Ye(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}E(k(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ye("offsetHeight")},offsetLeft:{readOnly:!0,error:Ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ye("offsetTop")},offsetWidth:{readOnly:!0,error:Ye("offsetWidth")},role:{attribute:"role"}});var Je,Qe=null;function Ze(e,t){return e!==Qe||t!==Je}function et(e,t){Qe=null,Je=void 0}function tt(e,t){Qe=e,Je=t}var nt=k(null);K.call(L(se),(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)}));var rt=Array.isArray,ot=Object.prototype,at=Object.getPrototypeOf,it=Object.create,lt=Object.defineProperty,ut=Object.isExtensible,ct=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,dt=Object.preventExtensions,vt=Object.hasOwnProperty,ht=Array.prototype,pt=ht.push,mt=ht.concat;function gt(e){return void 0===e}function yt(e){return"function"==typeof e}var bt=new WeakMap;function wt(e,t){bt.set(e,t)}var Ct=function(e){return bt.get(e)||e},Et=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.wrapGetter(n)),gt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=ct(n,t);if(!gt(r)){var o=this.wrapDescriptor(r);lt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;mt.call(st(n),ft(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;gt(r)||vt.call(e,r)||lt(e,r,it(null)),dt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=gt(n)||vt.call(t,n)?[]:[n];return pt.apply(r,st(t)),pt.apply(r,ft(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ut(e)&&(!!ut(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return at(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=ct(n,t);if(gt(i)){if(t!==a)return;return lt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),kt=new WeakMap,St=new WeakMap,Mt=new WeakMap,Tt=new WeakMap,Ot=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=kt.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return kt.set(e,r),Mt.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=St.get(e);if(!gt(t))return t;var n=function(t){e.call(Ct(this),Ct(t))};return St.set(e,n),Tt.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=Ct(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.unwrapGetter(n)),gt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=Mt.get(e);if(!gt(t))return t;var n=this,r=function(){return Ct(e.call(n.wrapValue(this)))};return kt.set(r,e),Mt.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Tt.get(e);if(!gt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return St.set(r,e),Tt.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&rt(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(ut(e)){var t=this.originalTarget;if(dt(t),ut(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!vt.call(r,t)||(lt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Et),At=new WeakMap,xt=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=At.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return At.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=xt.get(e);if(!gt(t))return t;var n=function(e){};return xt.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Et);function Nt(e){if(null===e)return!1;if("object"!==w(e))return!1;if(rt(e))return!0;var t=at(e);return t===ot||null===t||null===at(t)}var Lt=function(e,t){},jt=function(e,t){};function Rt(e){return rt(e)?[]:{}}var _t=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=yt(n)?n:jt,this.valueObserved=yt(r)?r:Lt,this.valueIsObservable=yt(o)?o:Nt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=Ct(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=Ct(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return Ct(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(gt(t)){var n=new Ot(this,e);wt(t=new Proxy(Rt(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(gt(t)){var n=new Pt(this,e);wt(t=new Proxy(Rt(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Dt=Symbol.for("@@lockerLiveValue"),Ft=new _t({valueObserved:He,valueMutated:Fe,tagPropertyKey:Dt});function Ht(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=$r(this);if(!br(t))return We(t,e),n.call(t.elm)},set:function(t){var n=$r(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Be(n,e)),r.call(n.elm,t)}}}var It=function(){if(Q(yr))throw new ReferenceError("Illegal constructor");var e=yr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[Dt]=void 0,Vr(o,e),Vr(n,e),1===e.renderMode?e.renderRoot=Bt(e):e.renderRoot=n,this};function Bt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Vr(l,e),l}It.prototype={constructor:It,dispatchEvent:function(e){var t=$r(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Or(r,t),n)},removeEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Or(r,t),n)},hasAttribute:function(e){var t=$r(this),n=t.elm;return!Q((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=$r(this),r=n.elm;return!Q((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.removeAttribute;tt(n,e),r(n,e),et()},removeAttributeNS:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.removeAttribute;tt(r,t),o(r,t,e),et()},getAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=$r(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.setAttribute;tt(r,e),o(r,e,t),et()},setAttributeNS:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.setAttribute;tt(o,t),a(o,t,n,e),et()},getBoundingClientRect:function(){var e=$r(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=$r(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=$r(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return $r(this).shadowRoot},get shadowRoot(){return null},get children(){var e=$r(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=$r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=$r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=$r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=$r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=$r(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return $r(this).def.template},toString:function(){var e=$r(this);return"[object ".concat(e.def.name,"]")}};for(var Wt=k(null),Vt=function(){var e=Kt[$t];Wt[e]={value:function(t){var n=$r(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},$t=0,Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];$t<Kt.length;$t++)Vt();S(It.prototype,Wt);var Gt=k(null);for(var Ut in nt)Gt[Ut]=Ht(Ut,nt[Ut]);function zt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}function qt(e){return{get:function(){var t=$r(this);if(!br(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=$r(this);n.cmpProps[e]=t,Be(n,e)},enumerable:!0,configurable:!0}}S(It.prototype,Gt),M(It,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Xt=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Pe((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&Dr(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Ie);function Yt(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=$r(this);if(r)if(Me.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Xt(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Jt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this),r=Ft.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Be(n,e))},enumerable:!0,configurable:!0}}function Qt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}var Zt=new Map;var en={apiMethods:Oe,apiFields:Oe,apiFieldsConfig:Oe,wiredMethods:Oe,wiredFields:Oe,observedFields:Oe};var tn=new Set;function nn(){return[]}tn.add(nn);var rn=k(null),on=k(null);function an(e){var t=rn[e];return J(t)&&(t=rn[e]=function(){var t=$r(this);return(0,t.getHook)(t.component,e)}),t}function ln(e){var t=on[e];return J(t)&&(t=on[e]=function(t){var n=$r(this),r=n.setHook;t=Ft.getReadOnlyProxy(t),r(n.component,e,t)}),t}function un(e){return function(){var t=$r(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function cn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Ze(this,n)&&(this[a]=o)}}}function sn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(R(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),M(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=k(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=k(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[pe(h)]=h,s[h]={get:an(h),set:ln(h),enumerable:!0,configurable:!0}}for(var g=0,y=n.length;g<y;g+=1){var b=n[g];s[b]={value:un(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:cn(o,a)},M(r,"observedAttributes",{get:function(){return[].concat(m(c),m(L(o)))}}),S(r.prototype,s),r}var fn=sn(qe,A(nt),[]);T(fn),j(fn.prototype);var dn=new WeakMap;function vn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Zt.get(e);return J(t)?en:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=x(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(ze(t)){var n=Ue(t);t=n===t?It:n}return t}(e),g=m!==It?pn(m):mn,y=sn(g.bridge,L(o),L(i)),b=E(k(null),g.props,o),w=E(k(null),g.propsConfig,a),C=E(k(null),g.methods,i),M=E(k(null),g.wire,l,u);f=f||g.connectedCallback,d=d||g.disconnectedCallback,v=v||g.renderedCallback,h=h||g.errorCallback,p=p||g.render;var T=g.shadowSupportMode;J(t)||(T=t);var O=g.renderMode;J(n)||(O="light"===n?0:1);var A=function(e){return Er.get(e)}(e)||g.template,P=e.name||g.name;return S(s,c),{ctor:e,name:P,wire:M,props:b,propsConfig:w,methods:C,bridge:y,template:A,renderMode:O,shadowSupportMode:T,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function hn(e){if(!te(e))return!1;if(e.prototype instanceof It)return!0;var t=e;do{if(ze(t)){var n=Ue(t);if(n===t)return!0;t=n}if(t===It)return!0}while(!Q(t)&&(t=x(t)));return!1}function pn(e){var t=dn.get(e);if(J(t)){if(ze(e))return t=pn(Ue(e)),dn.set(e,t),t;if(!hn(e))throw new TypeError("".concat(e,' is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.'));t=vn(e),dn.set(e,t)}return t}var mn={ctor:It,name:It.name,props:Gt,propsConfig:Oe,methods:Oe,renderMode:1,shadowSupportMode:"reset",wire:Oe,bridge:fn,template:nn,render:It.prototype.render};function gn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return J(a)?(o(e,a=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(r)),a):a}function yn(e){var t=e.type;return 2===t||3===t}function bn(e,t){return e.key===t.key&&e.sel===t.sel}function wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Cn(e,t,n){var r=t.data.props;if(!J(r)){var o=Q(e)?Oe:e.data.props;if(o!==r){var a=Q(e),i=t.elm,l=t.sel,u=n.getProperty,c=n.setProperty;for(var s in r){var f=r[s];(a||f!==(wn(l,s)?u(i,s):o[s]))&&c(i,s,f)}}}}var En=k(null);function kn(e){if(null==e)return Oe;e=re(e)?e:e+"";var t=En[e];if(t)return t;t=k(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),En[e]=t,t}function Sn(e,t){var n=e.elm,r=e.data.on;if(!J(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Mn(e,t,n,r){var o;o=t,Bn.has(o)?function(e,t,n,r){var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],g=!1;for(;l<=c&&u<=v;)Nn(s)?Nn(f)?Nn(h)?Nn(p)?bn(s,h)?(Tn(s,h,r),s=e[++l],h=t[++u]):bn(f,p)?(Tn(f,p,r),f=e[--c],p=t[--v]):bn(s,p)?(Tn(s,p,r),Dn(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):bn(f,h)?(Tn(f,h,r),Dn(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=Wn(e,l,c)),J(a=o[h.key])?(On(h,n,r,s.elm),h=t[++u]):(Nn(i=e[a])&&(i.sel!==h.sel?On(h,n,r,s.elm):(Tn(i,h,r),g||(g=!0,e=m(e)),e[a]=void 0,Dn(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var y,b=v;do{y=t[++b]}while(!Nn(y)&&b<d);An(t,n,r,Nn(y)?y.elm:null,u,v+1)}else Pn(e,n,r,!0,l,c+1)}(e,t,n,r):function(e,t,n,r){var o=e.length,a=t.length;if(0===o)return void An(t,n,r,null);if(0===a)return void Pn(e,n,r,!0);for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Nn(u)?Nn(c)?(Tn(u,c,r),i=c.elm):xn(u,n,r,!0):Nn(c)&&(On(c,n,r,i),i=c.elm))}}(e,t,n,r)}function Tn(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){var r=t.elm=e.elm;Hn(e,t,n),Mn(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){var r=t.elm=e.elm,o=t.vm=e.vm;Hn(e,t,n),J(o)||In(t,o);Mn(e.children,t.children,r,n),J(o)||Dr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function On(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);Rn(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));Dn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=Z(i)?de:void 0,c=l(o,u);Rn(c,a,r),function(e,t,n){var r=t.owner;if(jn(e,r,n),1===r.shadowMode){var o=t.data.context,a=r.context.stylesheetToken;J(o)||J(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),J(a)||Ln(e,a)}}(c,e,r),e.elm=c,Hn(null,e,r),Dn(c,t,n,r),An(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){var o,a=e.sel,i=e.owner,l=gn(a,r),u=new l((function(t){o=function(e,t,n){var r=Kr(e);if(!J(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;if(jn(e,l,n),1===l.shadowMode){var u=l.context.stylesheetToken;J(u)||Ln(e,u)}return r=Wr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(Rn(u,i,r),e.elm=u,e.vm=o,o)In(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");Hn(null,e,r),Dn(u,t,n,r),o&&Xr(o);An(e.children,u,r,null),o&&function(e){Gr(e)}(o)}(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function An(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&On(i,t,n,r)}}function xn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&Fn(a,t,n),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;Pn(e.children,a,n,l);break;case 3:var u=e.vm;J(u)||Br(u)}}function Pn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&xn(i,t,n,r)}}function Nn(e){return null!=e}function Ln(e,t){e.$shadowToken$=t}function jn(e,t,n){var r=t.cmpTemplate,o=t.context,a=n.getClassList,i=null==r?void 0:r.stylesheetToken;!J(i)&&o.hasScopedStyles&&a(e).add(i)}function Rn(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function _n(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function Dn(e,t,n,r){r.insert(e,t,n)}function Fn(e,t,n){n.remove(e,t)}function Hn(e,t,n){Q(e)&&(Sn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!J(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!J(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=g(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Q(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=kn(o),c=kn(a);for(i in c)J(u[i])&&l.remove(i);for(i in u)J(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Q(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;re(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!J(r)){var o=Q(e)?Oe:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(tt(a,u),58===z.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===z.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Q(c)||J(c)?l(a,u):i(a,u,c),et())}}}}(e,t,n),Cn(e,t,n)}function In(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=k(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";yn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];B.call(c,l)}}if(ee(e.isDirty)){var s=L(r);if(s.length!==L(o).length)return void Mr(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void Mr(e);for(var h=r[v],p=o[v],m=0,g=o[v].length;m<g;m+=1)if(h[m]!==p[m])return void Mr(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var Bn=new WeakMap;function Wn(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Nn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Vn=Symbol.iterator;function $n(e){B.call(dr().velements,e)}function Kn(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=dr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Gn(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=dr(),u=n.key,c={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return $n(c),c}var Un=new Map,zn=0;function qn(e){var t;return t=e,Bn.set(t,1),e}var Xn=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Yn=T({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=dr(),a=o.renderMode,i=o.shadowMode;return 0===a?(qn(n),n):(1===i&&qn(n),Kn("slot",t,n))},h:Kn,c:Gn,i:function(e,t){var n=[];if(qn(n),J(e)||null===e)return n;for(var r=e[Vn](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));_(c)?B.apply(n,c):B.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];qn(n);for(var r=0;r<t;r+=1){var o=e[r];_(o)?B.apply(n,o):B.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=dr();if(Q(t))throw new Error;var n=t;return function(t){Cr(n,e,n.component,t)}},k:function(e,t){switch(w(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!hn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Un.get(t);J(o)&&(o=zn++,Un.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Gn(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:dr()}},gid:function(e){var t=dr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=dr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return Xn(e)}});function Jn(e){return"".concat(e,"-host")}function Qn(e){return Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.t(e)])}function Zn(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(_(i))B.apply(o,Zn(i,t,n));else{var l=i.$scoped$,u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=tr(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(u,c,s))}}return o}function er(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Zn(n,r,e)),o}function tr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function nr(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer,a=o.ssr,i=o.insertStylesheet;if(1===n&&1===r)for(var l=0;l<t.length;l++)i(t[l]);else{if(a||e.hydrated)return I.call(t,Qn);for(var u=function(e){var t=tr(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(u)?void 0:u.shadowRoot,s=0;s<t.length;s++)i(t[s],c)}return null}var rr=!1,or=oe,ar={enableProfiler:function(){rr=!0},disableProfiler:function(){rr=!1},attachDispatcher:function(e){or=e,this.enableProfiler()},detachDispatcher:function(){var e=or;return or=oe,this.disableProfiler(),e}};function ir(e,t){rr&&or(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function lr(e,t){rr&&or(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ur(e,t){rr&&or(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function cr(e,t){rr&&or(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}var sr=!1,fr=null;function dr(){return fr}function vr(e){fr=e}function hr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=k(null);return function(){var n=dr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!J(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!J(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",g=0,y=r.length;g<y;g++)switch(r[g]){case 0:m+=t[g]+v;break;case 1:m+=t[g]+h;break;case 2:m+=t[g]+p;break;case 3:m+=t[g]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var pr=hr((function(e,t){return(0,t.createFragment)(e)})),mr=hr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function gr(e,t){var n=sr,r=fr,o=[];return eo(e,e.owner,(function(){fr=e,ir(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Zr(e),u=t,!tn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=k(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,g=i.stylesheetToken,y=i.hasTokenInClass,b=i.hasTokenInAttribute;J(g)||(y&&s(a).remove(Jn(g)),b&&f(a,Jn(g))),J(v)||0===v.length||(n=h),J(n)||(m&&(s(a).add(Jn(n)),r=!0),p&&(d(a,Jn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=er(e,t);r.styleVNodes=0===l.length?null:nr(e,l)}var u;e.velements=[],sr=!0,o=t.call(void 0,Yn,n,a,r.tplCache);var c=r.styleVNodes;Q(c)||$.apply(o,c)}))}),(function(){sr=n,fr=r,lr(1,e)})),o}var yr=null;function br(e){return yr===e}function wr(e,t,n){var r=e.component,o=e.callHook;eo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function Cr(e,t,n,r){var o=e.callHook;eo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var Er=new Map;function kr(e){return new Ie((function(){ee(e.isDirty)&&(Mr(e),function(e){if(Z(e.renderer.ssr)||Z(e.isScheduled))return;e.isScheduled=!0,0===zr.length&&Pe(qr);B.call(zr,e)}(e))}))}function Sr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=dr(),l=!1;return eo(e,a,(function(){vr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){vr(i)})),l?gr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Mr(e){e.isDirty=!0}var Tr=new WeakMap;function Or(e,t){if(!te(t))throw new TypeError;var n=Tr.get(t);return J(n)&&(n=function(n){Cr(e,t,void 0,n)},Tr.set(t,n)),n}var Ar=k(null),xr=["rendered","connected","disconnected"];function Pr(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var Nr=0,Lr=new WeakMap;function jr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function Rr(e,t,n){e[t]=n}function _r(e,t){return e[t]}function Dr(e){Gr(e)}function Fr(e){var t=$r(e);ur(7,t),1===t.state&&Hr(e),Xr(t),Gr(t),cr(7,t)}function Hr(e){Ir($r(e))}function Ir(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=Ar.disconnected;t&&Pr(e,t);Yr(e)&&function(e){var t=e.context.wiredDisconnecting;eo(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(ir(5,e),wr(e,n),lr(5,e))}(e),Jr(e),function(e){Qr(e.aChildren)}(e)}}function Br(e){Ir(e)}function Wr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=pn(t),c={elm:e,def:u,idx:Nr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,children:Ae,aChildren:Ae,velements:Ae,cmpProps:k(null),cmpFields:k(null),cmpSlots:k(null),oar:k(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Oe,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:jr,setHook:Rr,getHook:_r,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Me.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Q(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=kr(c),function(e,t){var n,r=yr;ir(0,e),yr=e;try{var o=new t;if(yr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(lr(0,e),yr=r,!J(n))throw $e(e,n),n}}(c,u.ctor),Yr(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=to.get(i);J(l)||function(){var t=ro(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;B.call(r,(function(){n.connect(),Me.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Vr(e,t){Lr.set(e,t)}function $r(e){return Lr.get(e)}function Kr(e){return Lr.get(e)}function Gr(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&eo(e,e,(function(){ir(2,e)}),(function(){Mn(r,t,n,o)}),(function(){lr(2,e)}));1===e.state&&Ur(e)}(e,Sr(e))}function Ur(e){var t=e.def.renderedCallback;if(!Z(e.renderer.ssr)){var n=Ar.rendered;n&&Pr(e,n),J(t)||(ir(4,e),wr(e,t),lr(4,e))}}var zr=[];function qr(){ur(8);var e=zr.sort((function(e,t){return e.idx-t.idx}));zr=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Gr(r)}catch(r){throw t+1<n&&(0===zr.length&&Pe(qr),$.apply(zr,W.call(e,t+1))),cr(8),r}}cr(8)}function Xr(e){if(1!==e.state){e.state=1;var t=Ar.connected;t&&Pr(e,t),Yr(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;J(n)||(ir(3,e),wr(e,n),lr(3,e))}}function Yr(e){return A(e.def.wire).length>0}function Jr(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Kr(r);J(o)||Ir(o)}}}function Qr(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Qr(r.children);break;case 3:Ir($r(r.elm))}}}function Zr(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Q(i)||J(i.elm)||r(i.elm,n)}e.children=Ae,Jr(e),e.velements=Ae}function eo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){$e(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Zr(e),ir(6,e),wr(i,i.def.errorCallback,[a,a.wcStack]),lr(6,e)}}}var to=new Map,no=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),S(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function ro(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Be(e,t))}}(e,t):function(e,t){return function(n){eo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);M(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),M(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),eo(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Ie((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){eo(e,e,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=ao(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;B.call(i,(function(){var e=new no(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var oo=new Map;function ao(e){return oo.get(e)}function io(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};to.set(e,o)}function lo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};to.set(e,o)}var uo=!1;function co(e){uo=!1,Xr(e),so(e),uo&&Ge("Hydration completed with errors.",e)}function so(e){var t=Sr(e);e.children=t;var n=e.renderRoot;vo((0,e.renderer.getFirstChild)(n),t,n,e),Ur(e)}function fo(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!mo(t,e,3,n))return ho(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!mo(t,e,8,n))return ho(e,t,n);return(0,n.setProperty)(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!mo(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!mo(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!mo(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(Ge("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return ho(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!J(o)&&!J(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;J(i)||J(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Re(i,"innerHTML")}))}if(po(t,n),!a){vo((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Wr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,In(t,l),po(t,n),Xr(l),0!==l.renderMode){vo((0,n.getFirstChild)(e),t.children,e,l)}return so(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}function vo(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Q(u)||(o?(o=fo(o,u,i),a=u.elm):(uo=!0,On(u,n,i,a),a=u.elm))}if(o){uo=!0;var c=i.nextSibling;do{var s=o;o=c(o),Fn(s,n,i)}while(o)}}function ho(e,t,n){uo=!0;var r=(0,n.getProperty)(e,"parentNode");return On(t,r,n,e),Fn(e,r,n),t.elm}function po(e,t){Sn(e,t),Cn(null,e,t)}function mo(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function go(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=g(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),a=function(e,t,n){var r=e.data,o=r.className,a=r.classMap,i=n.getProperty,l=n.getClassList,u=!0;if(J(o)||String(o)===i(t,"className")){if(!J(a)){var c=l(t),s="";for(var f in a)s+=" "+f,c.contains(f)||(u=!1);s.trim(),c.length>L(a).length&&(u=!1)}}else u=!1;return u}(e,t,n),i=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(J(o)||o===i){if(!J(a)){for(var u=je(i),c=[],s=0,f=a.length;s<f;s++){var d=g(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];J(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}L(u).length>a.length&&(l=!1),H.call(c,";")}}else l=!1;return l}(e,t,n);return o&&a&&i}var yo=!1;var bo,wo,Co,Eo=te(CSSStyleSheet.prototype.replaceSync)&&_(document.adoptedStyleSheets),ko=Eo&&O(document.adoptedStyleSheets,"length").writable,So=!J(document.documentMode),Mo=new Map;function To(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Oo(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}function Ao(e,t,n){var r=function(e,t){var n=t.stylesheet;return t.used?So?To(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!J(e.head)}(t)?t.head:t).appendChild(r)}function xo(e,t,n){Eo?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;ko?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):Ao(e,t,n)}function Po(e){var t=Mo.get(e);return J(t)&&(t={stylesheet:Eo?Oo(e):To(e),roots:void 0,global:!1,used:!1},Mo.set(e,t)),t}if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())bo=customElements.get.bind(customElements),wo=customElements.define.bind(customElements),Co=HTMLElement;else{var No=k(null),Lo=new WeakMap;wo=function(e,t){if(e!==Y.call(e)||No[e])throw new TypeError("Invalid Registration");No[e]=t,Lo.set(t,e)},bo=function(e){return No[e]},(Co=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=Lo.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var jo=!1;function Ro(e){jo=e}var _o=fe.$isNativeShadowRootDefined$,Do=P.call(Element.prototype,"$shadowToken$");var Fo={ssr:!1,isNativeShadowDefined:_o,isSyntheticShadowDefined:Do,HTMLElementExported:Co,isHydrating:function(){return jo},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return jo?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){J(t)?function(e){var t=Po(e);t.global||(t.global=!0,xo(e,document,t))}(e):function(e,t){var n=Po(e),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),xo(e,t,n)}(e,t)},assertInstanceOfHTMLElement:function(e,t){C.invariant(e instanceof HTMLElement,t)},defineCustomElement:wo,getCustomElement:bo};function Ho(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function Io(e,t,n){for(var r=Wr(e,t,Fo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=g(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function Bo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(Kr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Ro(!0);var r=Io(e,t,n);co(r),Ro(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),Ho(e,t),Io(e,t,n),Ro(!1),Fr(e)}finally{Ro(!1)}}var Wo=new WeakSet;function Vo(e){var t=function(e){return pn(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(Bo(s(t),e,{}),Wo.add(s(t))):Wr(s(t),e,Fo,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Wo.has(this)?Wo.delete(this):Fr(this)}},{key:"disconnectedCallback",value:function(){Hr(this)}}]),r}(t)}var $o=Node,Ko=new WeakMap,Go=new WeakMap;function Uo(e,t){var n=t.get(e);return J(n)||n(e),e}var zo=$o.prototype,qo=zo.appendChild,Xo=zo.insertBefore,Yo=zo.removeChild,Jo=zo.replaceChild;E($o.prototype,{appendChild:function(e){return Uo(qo.call(this,e),Ko)},insertBefore:function(e,t){return Uo(Xo.call(this,e,t),Ko)},removeChild:function(e){return Uo(Yo.call(this,e),Go)},replaceChild:function(e,t){var n=Jo.call(this,e,t);return Uo(n,Go),Uo(e,Ko),n}});var Qo=Node;var Zo=new Map;M(It,"CustomElementConstructor",{get:function(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Zo.get(e);return J(t)&&(t=Vo(e),Zo.set(e,t)),t}(this)}}),T(It),j(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=ar,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=ao(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){oo.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=gn(e,Fo),o=!1,a=new r((function(r){Wr(r,n,Fo,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ko.set(r,Fr),Go.set(r,Hr),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=Kr(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=pn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:pe(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Bo,e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Qo))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(x(t),"synthetic")))||Do&&!J(e.$shadowResolver$)},e.parseFragment=pr,e.parseSVGFragment=mr,e.readonly=function(e){return Ft.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<xr.length;++t){var n=xr[t];if(n in e){var r=Ar[n];J(r)&&(Ar[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&Er.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=k(null),s=k(null),f=k(null),d=k(null),v=k(null),h=k(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=O(r,p),m.config>0){if(J(n))throw new Error;n=Yt(p,n)}else n=J(n)||J(n.get)?qt(p):Yt(p,n);s[p]=n,M(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=O(r,e)))throw new Error;c[e]=n})),!J(i))for(var g in i){var y=i[g],b=y.adapter,w=y.method,C=y.config,E=y.dynamic,S=void 0===E?[]:E;if(n=O(r,g),1===w){if(J(n))throw new Error;f[g]=n,io(n,b,C,S)}else n=Qt(g),d[g]=n,lo(n,b,C,S),M(r,g,n)}if(!J(l))for(var T in l)n=O(r,T),n=Jt(T),M(r,T,n);if(!J(u))for(var A=0,x=u.length;A<x;A++){var P=u[A];n=O(r,P);var N=!J(o)&&P in o,L=!J(l)&&P in l;N||L||(v[P]=zt(P))}return function(e,t){Zt.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return tn.add(e),M(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return J(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=J(e)?void 0:e.shadowAttribute}}),e},e.renderer=Fo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Se[e])){var n=L(Se).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Me[e];J(r)?M(Me,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(yo,"Hooks are already overridden, only one definition is allowed."),yo=!0,t=e.sanitizeHtmlContent,Xn=t},e.swapComponent=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Ft.getProxy(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e){return w="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},w(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,k=Object.create,S=Object.defineProperties,M=Object.defineProperty,T=Object.freeze,O=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,x=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,L=Object.keys,j=Object.seal,R=Object.setPrototypeOf,_=Array.isArray,D=Array.prototype,F=D.indexOf,H=D.join,I=D.map,B=D.push,W=D.slice,V=D.splice,$=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===w(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?_(e)?H.call(I.call(e,ie),","):e.toString():"object"===w(e)?ae.call(e):e+""}function le(e,t){do{var n=O(e,t);if(!J(n))return n;e=x(e)}while(null!==e)}var ue=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],ce=function(){var e=k(null),t=k(null);return K.call(ue,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ce.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":w(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}(),de="http://www.w3.org/2000/svg",ve=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),he=new Map;function pe(e){var t=se[e];if(!J(t))return t;var n=ve.get(e);if(!J(n))return n;var r=he.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return he.set(e,o),o}function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ge=new WeakMap;function ye(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function be(e,t){return{get:function(){var n=ye(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ye(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function we(e){var t=be(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=L(se),Ee=0,ke=Ce.length;Ee<ke;Ee+=1){me(Ut=Ce[Ee])&&we(Ut)}var Se={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:k(null)});var Me=fe.lwcRuntimeFlags;var Te=[],Oe=j(k(null)),Ae=j([]);function xe(){var e=Te;Te=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Te.length&&Promise.resolve().then(xe),B.call(Te,e)}var Ne=/;(?![^(]*\))/g,Le=/:(.+)/;function je(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(e.split(Ne));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=g(o.split(Le),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}function Re(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var _e=new WeakMap;var De=null;function Fe(e,t){var n=_e.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function He(e,t){if(null!==De){var n=De,r=function(e){var t=_e.get(e);if(J(t)){var n=k(null);t=n,_e.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===F.call(o,n)&&n.link(o)}}var Ie=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=De;De=this;try{e()}catch(e){t=Object(e)}finally{if(De=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=F.call(e[n],this);V.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){B.call(e,this),B.call(this.listeners,e)}}]),e}();function Be(e,t){Fe(e.component,t)}function We(e,t){He(e.component,t)}function Ve(e){return"<".concat(Y.call(e.tagName),">")}function $e(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Ve(n)),n=n.owner;return t.reverse().join("\n\t")}(e);M(t,"wcStack",{get:function(){return n}})}}function Ke(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)B.call(t,n+Ve(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function Ge(e,t){Ke("error",e,t)}function Ue(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ze(e){return te(e)&&P.call(e,"__circular__")}var qe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Xe=qe.prototype;function Ye(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}E(k(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ye("offsetHeight")},offsetLeft:{readOnly:!0,error:Ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ye("offsetTop")},offsetWidth:{readOnly:!0,error:Ye("offsetWidth")},role:{attribute:"role"}});var Je,Qe=null;function Ze(e,t){return e!==Qe||t!==Je}function et(e,t){Qe=null,Je=void 0}function tt(e,t){Qe=e,Je=t}var nt=k(null);K.call(L(se),(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)}));var rt=Array.isArray,ot=Object.prototype,at=Object.getPrototypeOf,it=Object.create,lt=Object.defineProperty,ut=Object.isExtensible,ct=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,dt=Object.preventExtensions,vt=Object.hasOwnProperty,ht=Array.prototype,pt=ht.push,mt=ht.concat;function gt(e){return void 0===e}function yt(e){return"function"==typeof e}var bt=new WeakMap;function wt(e,t){bt.set(e,t)}var Ct=function(e){return bt.get(e)||e},Et=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.wrapGetter(n)),gt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=ct(n,t);if(!gt(r)){var o=this.wrapDescriptor(r);lt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;mt.call(st(n),ft(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;gt(r)||vt.call(e,r)||lt(e,r,it(null)),dt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=gt(n)||vt.call(t,n)?[]:[n];return pt.apply(r,st(t)),pt.apply(r,ft(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ut(e)&&(!!ut(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return at(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=ct(n,t);if(gt(i)){if(t!==a)return;return lt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),kt=new WeakMap,St=new WeakMap,Mt=new WeakMap,Tt=new WeakMap,Ot=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=kt.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return kt.set(e,r),Mt.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=St.get(e);if(!gt(t))return t;var n=function(t){e.call(Ct(this),Ct(t))};return St.set(e,n),Tt.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=Ct(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.unwrapGetter(n)),gt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=Mt.get(e);if(!gt(t))return t;var n=this,r=function(){return Ct(e.call(n.wrapValue(this)))};return kt.set(r,e),Mt.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Tt.get(e);if(!gt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return St.set(r,e),Tt.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&rt(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(ut(e)){var t=this.originalTarget;if(dt(t),ut(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!vt.call(r,t)||(lt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Et),At=new WeakMap,xt=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=At.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return At.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=xt.get(e);if(!gt(t))return t;var n=function(e){};return xt.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Et);function Nt(e){if(null===e)return!1;if("object"!==w(e))return!1;if(rt(e))return!0;var t=at(e);return t===ot||null===t||null===at(t)}var Lt=function(e,t){},jt=function(e,t){};function Rt(e){return rt(e)?[]:{}}var _t=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=yt(n)?n:jt,this.valueObserved=yt(r)?r:Lt,this.valueIsObservable=yt(o)?o:Nt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=Ct(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=Ct(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return Ct(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(gt(t)){var n=new Ot(this,e);wt(t=new Proxy(Rt(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(gt(t)){var n=new Pt(this,e);wt(t=new Proxy(Rt(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Dt=Symbol.for("@@lockerLiveValue"),Ft=new _t({valueObserved:He,valueMutated:Fe,tagPropertyKey:Dt});function Ht(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=$r(this);if(!br(t))return We(t,e),n.call(t.elm)},set:function(t){var n=$r(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Be(n,e)),r.call(n.elm,t)}}}var It=function(){if(Q(yr))throw new ReferenceError("Illegal constructor");var e=yr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[Dt]=void 0,Vr(o,e),Vr(n,e),1===e.renderMode?e.renderRoot=Bt(e):e.renderRoot=n,this};function Bt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Vr(l,e),l}It.prototype={constructor:It,dispatchEvent:function(e){var t=$r(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Or(r,t),n)},removeEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Or(r,t),n)},hasAttribute:function(e){var t=$r(this),n=t.elm;return!Q((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=$r(this),r=n.elm;return!Q((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.removeAttribute;tt(n,e),r(n,e),et()},removeAttributeNS:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.removeAttribute;tt(r,t),o(r,t,e),et()},getAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=$r(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.setAttribute;tt(r,e),o(r,e,t),et()},setAttributeNS:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.setAttribute;tt(o,t),a(o,t,n,e),et()},getBoundingClientRect:function(){var e=$r(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=$r(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=$r(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return $r(this).shadowRoot},get shadowRoot(){return null},get children(){var e=$r(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=$r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=$r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=$r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=$r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=$r(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return $r(this).def.template},toString:function(){var e=$r(this);return"[object ".concat(e.def.name,"]")}};for(var Wt=k(null),Vt=function(){var e=Kt[$t];Wt[e]={value:function(t){var n=$r(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},$t=0,Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];$t<Kt.length;$t++)Vt();S(It.prototype,Wt);var Gt=k(null);for(var Ut in nt)Gt[Ut]=Ht(Ut,nt[Ut]);function zt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}function qt(e){return{get:function(){var t=$r(this);if(!br(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=$r(this);n.cmpProps[e]=t,Be(n,e)},enumerable:!0,configurable:!0}}S(It.prototype,Gt),M(It,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Xt=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Pe((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&Dr(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Ie);function Yt(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=$r(this);if(r)if(Me.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Xt(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Jt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this),r=Ft.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Be(n,e))},enumerable:!0,configurable:!0}}function Qt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}var Zt=new Map;var en={apiMethods:Oe,apiFields:Oe,apiFieldsConfig:Oe,wiredMethods:Oe,wiredFields:Oe,observedFields:Oe};var tn=new Set;function nn(){return[]}tn.add(nn);var rn=k(null),on=k(null);function an(e){var t=rn[e];return J(t)&&(t=rn[e]=function(){var t=$r(this);return(0,t.getHook)(t.component,e)}),t}function ln(e){var t=on[e];return J(t)&&(t=on[e]=function(t){var n=$r(this),r=n.setHook;t=Ft.getReadOnlyProxy(t),r(n.component,e,t)}),t}function un(e){return function(){var t=$r(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function cn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Ze(this,n)&&(this[a]=o)}}}function sn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(R(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),M(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=k(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=k(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[pe(h)]=h,s[h]={get:an(h),set:ln(h),enumerable:!0,configurable:!0}}for(var g=0,y=n.length;g<y;g+=1){var b=n[g];s[b]={value:un(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:cn(o,a)},M(r,"observedAttributes",{get:function(){return[].concat(m(c),m(L(o)))}}),S(r.prototype,s),r}var fn=sn(qe,A(nt),[]);T(fn),j(fn.prototype);var dn=new WeakMap;function vn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Zt.get(e);return J(t)?en:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=x(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(ze(t)){var n=Ue(t);t=n===t?It:n}return t}(e),g=m!==It?pn(m):mn,y=sn(g.bridge,L(o),L(i)),b=E(k(null),g.props,o),w=E(k(null),g.propsConfig,a),C=E(k(null),g.methods,i),M=E(k(null),g.wire,l,u);f=f||g.connectedCallback,d=d||g.disconnectedCallback,v=v||g.renderedCallback,h=h||g.errorCallback,p=p||g.render;var T=g.shadowSupportMode;J(t)||(T=t);var O=g.renderMode;J(n)||(O="light"===n?0:1);var A=function(e){return Er.get(e)}(e)||g.template,P=e.name||g.name;return S(s,c),{ctor:e,name:P,wire:M,props:b,propsConfig:w,methods:C,bridge:y,template:A,renderMode:O,shadowSupportMode:T,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function hn(e){if(!te(e))return!1;if(e.prototype instanceof It)return!0;var t=e;do{if(ze(t)){var n=Ue(t);if(n===t)return!0;t=n}if(t===It)return!0}while(!Q(t)&&(t=x(t)));return!1}function pn(e){var t=dn.get(e);if(J(t)){if(ze(e))return t=pn(Ue(e)),dn.set(e,t),t;if(!hn(e))throw new TypeError("".concat(e,' is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.'));t=vn(e),dn.set(e,t)}return t}var mn={ctor:It,name:It.name,props:Gt,propsConfig:Oe,methods:Oe,renderMode:1,shadowSupportMode:"reset",wire:Oe,bridge:fn,template:nn,render:It.prototype.render};function gn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return J(a)?(o(e,a=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(r)),a):a}function yn(e){var t=e.type;return 2===t||3===t}function bn(e,t){return e.key===t.key&&e.sel===t.sel}function wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Cn(e,t,n){var r=t.data.props;if(!J(r)){var o=Q(e)?Oe:e.data.props;if(o!==r){var a=Q(e),i=t.elm,l=t.sel,u=n.getProperty,c=n.setProperty;for(var s in r){var f=r[s];(a||f!==(wn(l,s)?u(i,s):o[s]))&&c(i,s,f)}}}}var En=k(null);function kn(e){if(null==e)return Oe;e=re(e)?e:e+"";var t=En[e];if(t)return t;t=k(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),En[e]=t,t}function Sn(e,t){var n=e.elm,r=e.data.on;if(!J(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Mn(e,t,n,r){var o;o=t,Bn.has(o)?function(e,t,n,r){var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],g=!1;for(;l<=c&&u<=v;)Nn(s)?Nn(f)?Nn(h)?Nn(p)?bn(s,h)?(Tn(s,h,r),s=e[++l],h=t[++u]):bn(f,p)?(Tn(f,p,r),f=e[--c],p=t[--v]):bn(s,p)?(Tn(s,p,r),Dn(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):bn(f,h)?(Tn(f,h,r),Dn(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=Wn(e,l,c)),J(a=o[h.key])?(On(h,n,r,s.elm),h=t[++u]):(Nn(i=e[a])&&(i.sel!==h.sel?On(h,n,r,s.elm):(Tn(i,h,r),g||(g=!0,e=m(e)),e[a]=void 0,Dn(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var y,b=v;do{y=t[++b]}while(!Nn(y)&&b<d);An(t,n,r,Nn(y)?y.elm:null,u,v+1)}else Pn(e,n,r,!0,l,c+1)}(e,t,n,r):function(e,t,n,r){var o=e.length,a=t.length;if(0===o)return void An(t,n,r,null);if(0===a)return void Pn(e,n,r,!0);for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Nn(u)?Nn(c)?(Tn(u,c,r),i=c.elm):xn(u,n,r,!0):Nn(c)&&(On(c,n,r,i),i=c.elm))}}(e,t,n,r)}function Tn(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){var r=t.elm=e.elm;Hn(e,t,n),Mn(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){var r=t.elm=e.elm,o=t.vm=e.vm;Hn(e,t,n),J(o)||In(t,o);Mn(e.children,t.children,r,n),J(o)||Dr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function On(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);Rn(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));Dn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=Z(i)?de:void 0,c=l(o,u);Rn(c,a,r),function(e,t,n){var r=t.owner;if(jn(e,r,n),1===r.shadowMode){var o=t.data.context,a=r.context.stylesheetToken;J(o)||J(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),J(a)||Ln(e,a)}}(c,e,r),e.elm=c,Hn(null,e,r),Dn(c,t,n,r),An(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){var o,a=e.sel,i=e.owner,l=gn(a,r),u=new l((function(t){o=function(e,t,n){var r=Kr(e);if(!J(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;if(jn(e,l,n),1===l.shadowMode){var u=l.context.stylesheetToken;J(u)||Ln(e,u)}return r=Wr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(Rn(u,i,r),e.elm=u,e.vm=o,o)In(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");Hn(null,e,r),Dn(u,t,n,r),o&&Xr(o);An(e.children,u,r,null),o&&function(e){Gr(e)}(o)}(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function An(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&On(i,t,n,r)}}function xn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&Fn(a,t,n),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;Pn(e.children,a,n,l);break;case 3:var u=e.vm;J(u)||Br(u)}}function Pn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&xn(i,t,n,r)}}function Nn(e){return null!=e}function Ln(e,t){e.$shadowToken$=t}function jn(e,t,n){var r=t.cmpTemplate,o=t.context,a=n.getClassList,i=null==r?void 0:r.stylesheetToken;!J(i)&&o.hasScopedStyles&&a(e).add(i)}function Rn(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function _n(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function Dn(e,t,n,r){r.insert(e,t,n)}function Fn(e,t,n){n.remove(e,t)}function Hn(e,t,n){Q(e)&&(Sn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!J(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!J(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=g(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Q(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=kn(o),c=kn(a);for(i in c)J(u[i])&&l.remove(i);for(i in u)J(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Q(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;re(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!J(r)){var o=Q(e)?Oe:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(tt(a,u),58===z.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===z.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Q(c)||J(c)?l(a,u):i(a,u,c),et())}}}}(e,t,n),Cn(e,t,n)}function In(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=k(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";yn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];B.call(c,l)}}if(ee(e.isDirty)){var s=L(r);if(s.length!==L(o).length)return void Mr(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void Mr(e);for(var h=r[v],p=o[v],m=0,g=o[v].length;m<g;m+=1)if(h[m]!==p[m])return void Mr(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var Bn=new WeakMap;function Wn(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Nn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Vn=Symbol.iterator;function $n(e){B.call(dr().velements,e)}function Kn(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=dr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Gn(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=dr(),u=n.key,c={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return $n(c),c}var Un=new Map,zn=0;function qn(e){var t;return t=e,Bn.set(t,1),e}var Xn=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Yn=T({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=dr(),a=o.renderMode,i=o.shadowMode;return 0===a?(qn(n),n):(1===i&&qn(n),Kn("slot",t,n))},h:Kn,c:Gn,i:function(e,t){var n=[];if(qn(n),J(e)||null===e)return n;for(var r=e[Vn](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));_(c)?B.apply(n,c):B.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];qn(n);for(var r=0;r<t;r+=1){var o=e[r];_(o)?B.apply(n,o):B.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=dr();if(Q(t))throw new Error;var n=t;return function(t){Cr(n,e,n.component,t)}},k:function(e,t){switch(w(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!hn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Un.get(t);J(o)&&(o=zn++,Un.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Gn(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:dr()}},gid:function(e){var t=dr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=dr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return Xn(e)}});function Jn(e){return"".concat(e,"-host")}function Qn(e){return Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.t(e)])}function Zn(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(_(i))B.apply(o,Zn(i,t,n));else{var l=i.$scoped$,u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=tr(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(u,c,s))}}return o}function er(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Zn(n,r,e)),o}function tr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function nr(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer,a=o.ssr,i=o.insertStylesheet;if(1===n&&1===r)for(var l=0;l<t.length;l++)i(t[l]);else{if(a||e.hydrated)return I.call(t,Qn);for(var u=function(e){var t=tr(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(u)?void 0:u.shadowRoot,s=0;s<t.length;s++)i(t[s],c)}return null}var rr=!1,or=oe,ar={enableProfiler:function(){rr=!0},disableProfiler:function(){rr=!1},attachDispatcher:function(e){or=e,this.enableProfiler()},detachDispatcher:function(){var e=or;return or=oe,this.disableProfiler(),e}};function ir(e,t){rr&&or(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function lr(e,t){rr&&or(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ur(e,t){rr&&or(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function cr(e,t){rr&&or(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}var sr=!1,fr=null;function dr(){return fr}function vr(e){fr=e}function hr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=k(null);return function(){var n=dr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!J(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!J(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",g=0,y=r.length;g<y;g++)switch(r[g]){case 0:m+=t[g]+v;break;case 1:m+=t[g]+h;break;case 2:m+=t[g]+p;break;case 3:m+=t[g]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var pr=hr((function(e,t){return(0,t.createFragment)(e)})),mr=hr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function gr(e,t){var n=sr,r=fr,o=[];return eo(e,e.owner,(function(){fr=e,ir(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Zr(e),u=t,!tn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=k(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,g=i.stylesheetToken,y=i.hasTokenInClass,b=i.hasTokenInAttribute;J(g)||(y&&s(a).remove(Jn(g)),b&&f(a,Jn(g))),J(v)||0===v.length||(n=h),J(n)||(m&&(s(a).add(Jn(n)),r=!0),p&&(d(a,Jn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=er(e,t);r.styleVNodes=0===l.length?null:nr(e,l)}var u;e.velements=[],sr=!0,o=t.call(void 0,Yn,n,a,r.tplCache);var c=r.styleVNodes;Q(c)||$.apply(o,c)}))}),(function(){sr=n,fr=r,lr(1,e)})),o}var yr=null;function br(e){return yr===e}function wr(e,t,n){var r=e.component,o=e.callHook;eo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function Cr(e,t,n,r){var o=e.callHook;eo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var Er=new Map;function kr(e){return new Ie((function(){ee(e.isDirty)&&(Mr(e),function(e){if(Z(e.renderer.ssr)||Z(e.isScheduled))return;e.isScheduled=!0,0===zr.length&&Pe(qr);B.call(zr,e)}(e))}))}function Sr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=dr(),l=!1;return eo(e,a,(function(){vr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){vr(i)})),l?gr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Mr(e){e.isDirty=!0}var Tr=new WeakMap;function Or(e,t){if(!te(t))throw new TypeError;var n=Tr.get(t);return J(n)&&(n=function(n){Cr(e,t,void 0,n)},Tr.set(t,n)),n}var Ar=k(null),xr=["rendered","connected","disconnected"];function Pr(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var Nr=0,Lr=new WeakMap;function jr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function Rr(e,t,n){e[t]=n}function _r(e,t){return e[t]}function Dr(e){Gr(e)}function Fr(e){var t=$r(e);ur(7,t),1===t.state&&Hr(e),Xr(t),Gr(t),cr(7,t)}function Hr(e){Ir($r(e))}function Ir(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=Ar.disconnected;t&&Pr(e,t);Yr(e)&&function(e){var t=e.context.wiredDisconnecting;eo(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(ir(5,e),wr(e,n),lr(5,e))}(e),Jr(e),function(e){Qr(e.aChildren)}(e)}}function Br(e){Ir(e)}function Wr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=pn(t),c={elm:e,def:u,idx:Nr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,children:Ae,aChildren:Ae,velements:Ae,cmpProps:k(null),cmpFields:k(null),cmpSlots:k(null),oar:k(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Oe,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:jr,setHook:Rr,getHook:_r,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Me.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Q(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=kr(c),function(e,t){var n,r=yr;ir(0,e),yr=e;try{var o=new t;if(yr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(lr(0,e),yr=r,!J(n))throw $e(e,n),n}}(c,u.ctor),Yr(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=to.get(i);J(l)||function(){var t=ro(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;B.call(r,(function(){n.connect(),Me.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Vr(e,t){Lr.set(e,t)}function $r(e){return Lr.get(e)}function Kr(e){return Lr.get(e)}function Gr(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&eo(e,e,(function(){ir(2,e)}),(function(){Mn(r,t,n,o)}),(function(){lr(2,e)}));1===e.state&&Ur(e)}(e,Sr(e))}function Ur(e){var t=e.def.renderedCallback;if(!Z(e.renderer.ssr)){var n=Ar.rendered;n&&Pr(e,n),J(t)||(ir(4,e),wr(e,t),lr(4,e))}}var zr=[];function qr(){ur(8);var e=zr.sort((function(e,t){return e.idx-t.idx}));zr=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Gr(r)}catch(r){throw t+1<n&&(0===zr.length&&Pe(qr),$.apply(zr,W.call(e,t+1))),cr(8),r}}cr(8)}function Xr(e){if(1!==e.state){e.state=1;var t=Ar.connected;t&&Pr(e,t),Yr(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;J(n)||(ir(3,e),wr(e,n),lr(3,e))}}function Yr(e){return A(e.def.wire).length>0}function Jr(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Kr(r);J(o)||Ir(o)}}}function Qr(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Qr(r.children);break;case 3:Ir($r(r.elm))}}}function Zr(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Q(i)||J(i.elm)||r(i.elm,n)}e.children=Ae,Jr(e),e.velements=Ae}function eo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){$e(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Zr(e),ir(6,e),wr(i,i.def.errorCallback,[a,a.wcStack]),lr(6,e)}}}var to=new Map,no=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),S(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function ro(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Be(e,t))}}(e,t):function(e,t){return function(n){eo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);M(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),M(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),eo(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Ie((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){eo(e,e,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=ao(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;B.call(i,(function(){var e=new no(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var oo=new Map;function ao(e){return oo.get(e)}function io(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};to.set(e,o)}function lo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};to.set(e,o)}var uo=!1;function co(e){uo=!1,Xr(e),so(e),uo&&Ge("Hydration completed with errors.",e)}function so(e){var t=Sr(e);e.children=t;var n=e.renderRoot;vo((0,e.renderer.getFirstChild)(n),t,n,e),Ur(e)}function fo(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!mo(t,e,3,n))return ho(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!mo(t,e,8,n))return ho(e,t,n);return(0,n.setProperty)(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!mo(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!mo(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!mo(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(Ge("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return ho(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!J(o)&&!J(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;J(i)||J(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Re(i,"innerHTML")}))}if(po(t,n),!a){vo((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Wr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,In(t,l),po(t,n),Xr(l),0!==l.renderMode){vo((0,n.getFirstChild)(e),t.children,e,l)}return so(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}function vo(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Q(u)||(o?(o=fo(o,u,i),a=u.elm):(uo=!0,On(u,n,i,a),a=u.elm))}if(o){uo=!0;var c=i.nextSibling;do{var s=o;o=c(o),Fn(s,n,i)}while(o)}}function ho(e,t,n){uo=!0;var r=(0,n.getProperty)(e,"parentNode");return On(t,r,n,e),Fn(e,r,n),t.elm}function po(e,t){Sn(e,t),Cn(null,e,t)}function mo(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function go(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=g(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),a=function(e,t,n){var r=e.data,o=r.className,a=r.classMap,i=n.getProperty,l=n.getClassList,u=!0;if(J(o)||String(o)===i(t,"className")){if(!J(a)){var c=l(t),s="";for(var f in a)s+=" "+f,c.contains(f)||(u=!1);s.trim(),c.length>L(a).length&&(u=!1)}}else u=!1;return u}(e,t,n),i=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(J(o)||o===i){if(!J(a)){for(var u=je(i),c=[],s=0,f=a.length;s<f;s++){var d=g(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];J(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}L(u).length>a.length&&(l=!1),H.call(c,";")}}else l=!1;return l}(e,t,n);return o&&a&&i}var yo=!1;var bo,wo,Co,Eo=te(CSSStyleSheet.prototype.replaceSync)&&_(document.adoptedStyleSheets),ko=Eo&&O(document.adoptedStyleSheets,"length").writable,So=!J(document.documentMode),Mo=new Map;function To(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Oo(e,t,n){var r=function(e,t){var n=t.element;return t.usedElement?So?To(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Ao(e,t){var n=Mo.get(e);return J(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Mo.set(e,n)),t&&J(n.stylesheet)?n.stylesheet=function(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&J(n.element)&&(n.element=To(e)),n}function xo(e,t){var n=Ao(e,Eo),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Eo?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;ko?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):Oo(e,t,n)}if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())bo=customElements.get.bind(customElements),wo=customElements.define.bind(customElements),Co=HTMLElement;else{var Po=k(null),No=new WeakMap;wo=function(e,t){if(e!==Y.call(e)||Po[e])throw new TypeError("Invalid Registration");Po[e]=t,No.set(t,e)},bo=function(e){return Po[e]},(Co=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=No.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var Lo=!1;function jo(e){Lo=e}var Ro=fe.$isNativeShadowRootDefined$,_o=P.call(Element.prototype,"$shadowToken$");var Do={ssr:!1,isNativeShadowDefined:Ro,isSyntheticShadowDefined:_o,HTMLElementExported:Co,isHydrating:function(){return Lo},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return Lo?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){J(t)?function(e){var t=Ao(e,!1);t.global||(t.global=!0,Oo(e,document.head,t))}(e):xo(e,t)},assertInstanceOfHTMLElement:function(e,t){C.invariant(e instanceof HTMLElement,t)},defineCustomElement:wo,getCustomElement:bo};function Fo(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function Ho(e,t,n){for(var r=Wr(e,t,Do,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=g(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function Io(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(Kr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{jo(!0);var r=Ho(e,t,n);co(r),jo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),Fo(e,t),Ho(e,t,n),jo(!1),Fr(e)}finally{jo(!1)}}var Bo=new WeakSet;function Wo(e){var t=function(e){return pn(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(Io(s(t),e,{}),Bo.add(s(t))):Wr(s(t),e,Do,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Bo.has(this)?Bo.delete(this):Fr(this)}},{key:"disconnectedCallback",value:function(){Hr(this)}}]),r}(t)}var Vo=Node,$o=new WeakMap,Ko=new WeakMap;function Go(e,t){var n=t.get(e);return J(n)||n(e),e}var Uo=Vo.prototype,zo=Uo.appendChild,qo=Uo.insertBefore,Xo=Uo.removeChild,Yo=Uo.replaceChild;E(Vo.prototype,{appendChild:function(e){return Go(zo.call(this,e),$o)},insertBefore:function(e,t){return Go(qo.call(this,e,t),$o)},removeChild:function(e){return Go(Xo.call(this,e),Ko)},replaceChild:function(e,t){var n=Yo.call(this,e,t);return Go(n,Ko),Go(e,$o),n}});var Jo=Node;var Qo=new Map;M(It,"CustomElementConstructor",{get:function(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Qo.get(e);return J(t)&&(t=Wo(e),Qo.set(e,t)),t}(this)}}),T(It),j(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=ar,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=ao(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){oo.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=gn(e,Do),o=!1,a=new r((function(r){Wr(r,n,Do,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),$o.set(r,Fr),Ko.set(r,Hr),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=Kr(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=pn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:pe(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Io,e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Jo))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(x(t),"synthetic")))||_o&&!J(e.$shadowResolver$)},e.parseFragment=pr,e.parseSVGFragment=mr,e.readonly=function(e){return Ft.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<xr.length;++t){var n=xr[t];if(n in e){var r=Ar[n];J(r)&&(Ar[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&Er.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=k(null),s=k(null),f=k(null),d=k(null),v=k(null),h=k(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=O(r,p),m.config>0){if(J(n))throw new Error;n=Yt(p,n)}else n=J(n)||J(n.get)?qt(p):Yt(p,n);s[p]=n,M(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=O(r,e)))throw new Error;c[e]=n})),!J(i))for(var g in i){var y=i[g],b=y.adapter,w=y.method,C=y.config,E=y.dynamic,S=void 0===E?[]:E;if(n=O(r,g),1===w){if(J(n))throw new Error;f[g]=n,io(n,b,C,S)}else n=Qt(g),d[g]=n,lo(n,b,C,S),M(r,g,n)}if(!J(l))for(var T in l)n=O(r,T),n=Jt(T),M(r,T,n);if(!J(u))for(var A=0,x=u.length;A<x;A++){var P=u[A];n=O(r,P);var N=!J(o)&&P in o,L=!J(l)&&P in l;N||L||(v[P]=zt(P))}return function(e,t){Zt.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return tn.add(e),M(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return J(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=J(e)?void 0:e.shadowAttribute}}),e},e.renderer=Do,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Se[e])){var n=L(Se).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Me[e];J(r)?M(Me,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(yo,"Hooks are already overridden, only one definition is allowed."),yo=!0,t=e.sanitizeHtmlContent,Xn=t},e.swapComponent=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Ft.getProxy(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));