lwc 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +73 -34
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +73 -34
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +73 -34
  5. package/dist/engine-dom/iife/es5/engine-dom.js +144 -100
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +137 -94
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +73 -34
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +73 -34
  11. package/dist/engine-dom/umd/es5/engine-dom.js +144 -100
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +137 -94
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +41 -19
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +41 -19
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -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,v(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),c(o,e)},t(e)}function n(e,t,r){return n=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&c(o,n.prototype),o},n.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(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 o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=a(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},o.apply(this,arguments)}function a(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=d();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){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 v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 m(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(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)||g(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 g(e,t){if(e){if("string"==typeof e)return w(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)?w(e,t):void 0}}function w(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 b(e){return b="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},b(e)}var k=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,C=Object.create,M=Object.defineProperties,O=Object.defineProperty,S=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,P=Object.getPrototypeOf,N=Object.hasOwnProperty,A=Object.isFrozen,R=Object.keys,j=Object.seal,_=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,H=D.indexOf,I=D.join,F=D.map,B=D.push,W=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,Y=U.slice,X=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"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?I.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=P(e)}while(null!==e)}var ce=["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"],ue=function(){var e=C(null),t=C(null);return K.call(ce,(function(n){var r=X.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ue.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(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=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"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.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 ve.set(e,o),o}function pe(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var me=new WeakMap;function ye(e){var t=me.get(e);return void 0===t&&(t={},me.set(e,t)),t}function ge(e,t){return{get:function(){var n=ye(this);return N.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=ge(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var be=R(se),ke=0,Ee=be.length;ke<Ee;ke+=1){var Ce=be[ke];pe(Ce)&&we(Ce)}var Me={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:C(null)});var Oe=fe.lwcRuntimeFlags;var Se,Te,xe,Pe,Ne,Ae,Re,je,_e,Le,De,He,Ie,Fe,Be,We,$e,Ve,Ke,Ge,Ue,ze,qe,Ye,Xe,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ct,ut,st,ft=[],dt=j(C(null)),vt=j([]);function ht(){var e=ft;ft=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function pt(e){0===ft.length&&Promise.resolve().then(ht),B.call(ft,e)}var mt=new WeakMap;var yt=null;function gt(e,t){var n=mt.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 wt(e,t){if(null!==yt){var n=yt,r=function(e){var t=mt.get(e);if(J(t)){var n=C(null);t=n,mt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===H.call(o,n)&&n.link(o)}}var bt=function(){function e(t){h(this,e),this.listeners=[],this.callback=t}return m(e,[{key:"observe",value:function(e){var t,n=yt;yt=this;try{e()}catch(e){t=Object(e)}finally{if(yt=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=H.call(e[n],this);$.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 kt(e,t){gt(e.component,t)}function Et(e,t){wt(e.component,t)}function Ct(e){return"<".concat(X.call(e.tagName),">")}function Mt(e,t){if(!A(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Ct(n)),n=n.owner;return t.reverse().join("\n\t")}(e);O(t,"wcStack",{get:function(){return n}})}}function Ot(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+Ct(e)),e=e.owner,n+="\t";return I.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}var St="undefined"!=typeof HTMLElement?HTMLElement:function(){},Tt=St.prototype;function xt(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(C(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:xt("offsetHeight")},offsetLeft:{readOnly:!0,error:xt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:xt("offsetTop")},offsetWidth:{readOnly:!0,error:xt("offsetWidth")},role:{attribute:"role"}});var Pt,Nt=null;function At(e,t){return e!==Nt||t!==Pt}function Rt(e,t){Nt=null,Pt=void 0}function jt(e,t){Nt=e,Pt=t}var _t=C(null);K.call(R(se),(function(e){var t=le(Tt,e);J(t)||(_t[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Tt,e);J(t)||(_t[e]=t)}));var Lt=Array.isArray,Dt=Object.prototype,Ht=Object.getPrototypeOf,It=Object.create,Ft=Object.defineProperty,Bt=Object.isExtensible,Wt=Object.getOwnPropertyDescriptor,$t=Object.getOwnPropertyNames,Vt=Object.getOwnPropertySymbols,Kt=Object.preventExtensions,Gt=Object.hasOwnProperty,Ut=Array.prototype,zt=Ut.push,qt=Ut.concat;function Yt(e){return void 0===e}function Xt(e){return"function"==typeof e}var Jt=new WeakMap;function Qt(e,t){Jt.set(e,t)}var Zt=function(e){return Jt.get(e)||e},en=function(){function e(t,n){h(this,e),this.originalTarget=n,this.membrane=t}return m(e,[{key:"wrapDescriptor",value:function(e){if(Gt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;Yt(n)||(e.get=this.wrapGetter(n)),Yt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=Wt(n,t);if(!Yt(r)){var o=this.wrapDescriptor(r);Ft(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;qt.call($t(n),Vt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;Yt(r)||Gt.call(e,r)||Ft(e,r,It(null)),Kt(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=Yt(n)||Gt.call(t,n)?[]:[n];return zt.apply(r,$t(t)),zt.apply(r,Vt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!Bt(e)&&(!!Bt(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return Ht(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=Wt(n,t);if(Yt(i)){if(t!==a)return;return Ft(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}(),tn=new WeakMap,nn=new WeakMap,rn=new WeakMap,on=new WeakMap,an=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=tn.get(e);if(!Yt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Zt(this)))};return tn.set(e,r),rn.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=nn.get(e);if(!Yt(t))return t;var n=function(t){e.call(Zt(this),Zt(t))};return nn.set(e,n),on.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(Gt.call(e,"value"))e.value=Zt(e.value);else{var t=e.set,n=e.get;Yt(n)||(e.get=this.unwrapGetter(n)),Yt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=rn.get(e);if(!Yt(t))return t;var n=this,r=function(){return Zt(e.call(n.wrapValue(this)))};return tn.set(r,e),rn.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=on.get(e);if(!Yt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return nn.set(r,e),on.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&&Lt(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(Bt(e)){var t=this.originalTarget;if(Kt(t),Bt(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&&!Gt.call(r,t)||(Ft(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(en),ln=new WeakMap,cn=new WeakMap,un=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=ln.get(e);if(!Yt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Zt(this)))};return ln.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=cn.get(e);if(!Yt(t))return t;var n=function(e){};return cn.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}(en);function sn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(Lt(e))return!0;var t=Ht(e);return t===Dt||null===t||null===Ht(t)}var fn=function(e,t){},dn=function(e,t){};function vn(e){return Lt(e)?[]:{}}var hn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h(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=Xt(n)?n:dn,this.valueObserved=Xt(r)?r:fn,this.valueIsObservable=Xt(o)?o:sn,this.tagPropertyKey=a}return m(e,[{key:"getProxy",value:function(e){var t=Zt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=Zt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return Zt(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(Yt(t)){var n=new an(this,e);Qt(t=new Proxy(vn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(Yt(t)){var n=new un(this,e);Qt(t=new Proxy(vn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),pn=Symbol.for("@@lockerLiveValue"),mn=new hn({valueObserved:wt,valueMutated:gt,tagPropertyKey:pn});function yn(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=No(this);if(!to(t))return Et(t,e),n.call(t.elm)},set:function(t){var n=No(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,kt(n,e)),r.call(n.elm,t)}}}var gn=function(){if(Q(eo))throw new ReferenceError("Illegal constructor");var e=eo,t=e.def,n=e.elm,r=t.bridge,o=this;if(_(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,c=a.getHook;e.callHook=i,e.setHook=l,e.getHook=c}return this[pn]=void 0,Po(o,e),Po(n,e),1===e.renderMode?e.renderRoot=wn(e):e.renderRoot=n,this};function wn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,a=e.def.ctor,l=He(n,(i(t={},"$$lwc-synthetic-mode",1===o),i(t,"delegatesFocus",Boolean(a.delegatesFocus)),i(t,"mode",r),t));return e.shadowRoot=l,Po(l,e),l}gn.prototype={constructor:gn,dispatchEvent:function(e){var t=No(this).elm;return Ue(t,e)},addEventListener:function(e,t,n){var r=No(this),o=r.elm,a=uo(r,t);Ke(o,e,a,n)},removeEventListener:function(e,t,n){var r=No(this),o=r.elm,a=uo(r,t);Ge(o,e,a,n)},hasAttribute:function(e){var t=No(this).elm;return!Q(We(t,e))},hasAttributeNS:function(e,t){var n=No(this).elm;return!Q(We(n,t,e))},removeAttribute:function(e){var t=No(this).elm;jt(t,e),Ve(t,e),Rt()},removeAttributeNS:function(e,t){var n=No(this).elm;jt(n,t),Ve(n,t,e),Rt()},getAttribute:function(e){var t=No(this).elm;return We(t,e)},getAttributeNS:function(e,t){var n=No(this).elm;return We(n,t,e)},setAttribute:function(e,t){var n=No(this).elm;jt(n,e),$e(n,e,t),Rt()},setAttributeNS:function(e,t,n){var r=No(this).elm;jt(r,t),$e(r,t,n,e),Rt()},getBoundingClientRect:function(){var e=No(this).elm;return Ye(e)},get isConnected(){var e=No(this).elm;return it(e)},get classList(){var e=No(this).elm;return ze(e)},get template(){return No(this).shadowRoot},get shadowRoot(){return null},render:function(){return No(this).def.template},toString:function(){var e=No(this);return"[object ".concat(e.def.name,"]")}};var bn=C(null);for(var kn=function(){var e=Cn[En];bn[e]={get:function(){var t=No(this).elm;return function(e){switch(e){case"children":return et;case"childNodes":return tt;case"firstChild":return nt;case"firstElementChild":return rt;case"lastChild":return ot;case"lastElementChild":return at}}(e)(t)},configurable:!0,enumerable:!0}},En=0,Cn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];En<Cn.length;En++)kn();for(var Mn=function(){var e=Sn[On];bn[e]={value:function(t){var n=No(this).elm;return function(e){switch(e){case"getElementsByClassName":return Ze;case"getElementsByTagName":return Qe;case"querySelector":return Xe;case"querySelectorAll":return Je}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},On=0,Sn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];On<Sn.length;On++)Mn();M(gn.prototype,bn);var Tn=C(null);for(var xn in _t)Tn[xn]=yn(xn,_t[xn]);function Pn(e){return{get:function(){var t=No(this);return Et(t,e),t.cmpFields[e]},set:function(t){var n=No(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,kt(n,e))},enumerable:!0,configurable:!0}}function Nn(e){return{get:function(){var t=No(this);return Et(t,e),t.cmpFields[e]},set:function(t){var n=No(this),r=mn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,kt(n,e))},enumerable:!0,configurable:!0}}function An(e){return{get:function(){var t=No(this);if(!to(t))return Et(t,e),t.cmpProps[e]},set:function(t){var n=No(this);n.cmpProps[e]=t,kt(n,e)},enumerable:!0,configurable:!0}}M(gn.prototype,Tn),O(gn,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Rn=function(e){l(n,e);var t=u(n);function n(e,r){var o;return h(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,pt((function(){if(Z(o.debouncing)){var t=f(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&&Eo(e)}})))}))).debouncing=!1,o}return m(n,[{key:"reset",value:function(e){o(v(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(bt);function jn(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=No(this);if(r)if(Oe.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Rn(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function _n(e){return{get:function(){var t=No(this);return Et(t,e),t.cmpFields[e]},set:function(t){var n=No(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,kt(n,e))},enumerable:!0,configurable:!0}}var Ln=new Map;var Dn={apiMethods:dt,apiFields:dt,apiFieldsConfig:dt,wiredMethods:dt,wiredFields:dt,observedFields:dt};var Hn=new Set;function In(){return[]}Hn.add(In);var Fn=C(null),Bn=C(null);function Wn(e){var t=Fn[e];return J(t)&&(t=Fn[e]=function(){var t=No(this);return(0,t.getHook)(t.component,e)}),t}function $n(e){var t=Bn[e];return J(t)&&(t=Bn[e]=function(t){var n=No(this),r=n.setHook;t=mn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Vn(e){return function(){var t=No(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function Kn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):At(this,n)&&(this[a]=o)}}}function Gn(e,t,n){var o;te(e)?o=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(e):(_(o=function(){throw new TypeError("Illegal constructor")},e),_(o.prototype,e.prototype),O(o.prototype,"constructor",{writable:!0,configurable:!0,value:o}));for(var a=C(null),i=e.prototype.attributeChangedCallback,c=e.observedAttributes,s=void 0===c?[]:c,f=C(null),d=0,v=t.length;d<v;d+=1){var p=t[d];a[he(p)]=p,f[p]={get:Wn(p),set:$n(p),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];f[w]={value:Vn(w),writable:!0,configurable:!0}}return f.attributeChangedCallback={value:Kn(a,i)},O(o,"observedAttributes",{get:function(){return[].concat(r(s),r(R(a)))}}),M(o.prototype,f),o}var Un=Gn(St,x(_t),[]);function zn(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function qn(e){return te(e)&&N.call(e,"__circular__")}S(Un),j(Un.prototype);var Yn=new WeakMap;function Xn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Ln.get(e);return J(t)?Dn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,c=r.wiredMethods,u=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=P(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(qn(t)){var n=zn(t);t=n===t?gn:n}return t}(e),y=m!==gn?Qn(m):Zn,g=Gn(y.bridge,R(o),R(i)),w=E(C(null),y.props,o),b=E(C(null),y.propsConfig,a),k=E(C(null),y.methods,i),O=E(C(null),y.wire,l,c);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var S=y.shadowSupportMode;J(t)||(S=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return oo.get(e)}(e)||y.template,N=e.name||y.name;return M(s,u),{ctor:e,name:N,wire:O,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:S,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Jn(e){if(!te(e))return!1;if(e.prototype instanceof gn)return!0;var t=e;do{if(qn(t)){var n=zn(t);if(n===t)return!0;t=n}if(t===gn)return!0}while(!Q(t)&&(t=P(t)));return!1}function Qn(e){var t=Yn.get(e);if(J(t)){if(qn(e))return t=Qn(zn(e)),Yn.set(e,t),t;if(!Jn(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=Xn(e),Yn.set(e,t)}return t}var Zn={ctor:gn,name:gn.name,props:Tn,propsConfig:dt,methods:dt,renderMode:1,shadowSupportMode:"reset",wire:dt,bridge:Un,template:In,render:gn.prototype.render};function er(e){e=e.toLowerCase();var t=st(e);return J(t)?(ut(e,t=function(e){l(n,e);var t=u(n);function n(e){var r;return h(this,n),r=t.call(this),te(e)&&e(f(r)),r}return m(n)}(Pe)),t):t}function tr(e){var t=e.type;return 2===t||3===t}function nr(e,t){return e.key===t.key&&e.sel===t.sel}function rr(e,t){return"input"===e&&("value"===t||"checked"===t)}function or(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?dt:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var c=n[l];(o||c!==(rr(i,l)?Ie(a,l):r[l]))&&Fe(a,l,c)}}}}var ar=C(null);function ir(e){if(null==e)return dt;e=re(e)?e:e+"";var t=ar[e];if(t)return t;t=C(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[Y.call(e,r,n)]=!0),r=n+1);return n>r&&(t[Y.call(e,r,n)]=!0),ar[e]=t,t}function lr(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];Ke(t,r,o)}}var cr={create:function(e){var t=e.owner,n=_e(e.text);pr(n,t),e.elm=n},update:mr,insert:yr,move:yr,remove:gr},ur={create:function(e){var t=e.owner,n=e.text,r=Le(n);pr(r,t),e.elm=r},update:mr,insert:yr,move:yr,remove:gr},sr={create:function(e){var t=e.sel,n=e.owner,r=Z(e.data.svg)?"http://www.w3.org/2000/svg":void 0,o=je(t,r);pr(o,n),function(e,t){var n=t.owner;if(hr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),vr(e,o)}}(o,e),e.elm=o,wr(null,e)},update:function(e,t){wr(e,t),br(t.elm,e.children,t.children)},insert:function(e,t,n){yr(e,t,n),Er(e)},move:yr,remove:function(e,t){gr(e,t),function(e){for(var t=e.children,n=e.elm,r=0,o=t.length;r<o;++r){var a=t[r];Q(a)||a.hook.remove(a,n)}}(e)}},fr={create:function(e){var t,n=e.sel,r=e.owner,o=er(n),a=new o((function(n){t=function(e,t){var n=Ao(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(hr(e,i),1===i.shadowMode){vr(e,i.context.stylesheetToken)}return n=xo(e,a,{mode:o,owner:i,tagName:r})}(n,e)}));if(pr(a,r),e.elm=a,t)kr(e,t);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");wr(null,e)},update:function(e,t){wr(e,t);var n=Ao(t.elm);n&&kr(t,n),br(t.elm,e.children,t.children),n&&Eo(n)},insert:function(e,t,n){yr(e,t,n);var r=Ao(e.elm);r&&Do(r),Er(e),r&&function(e){Ro(e)}(r)},move:yr,remove:function(e,t){gr(e,t);var n=Ao(e.elm);n&&function(e){To(e)}(n)}};function dr(e){return null!=e}function vr(e,t){e.$shadowToken$=t}function hr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&ze(e).add(o)}function pr(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;xe&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function mr(e,t){var n=t.elm,r=t.text;e.text!==r&&Be(n,r)}function yr(e,t,n){Ae(e.elm,t,n)}function gr(e,t){Re(e.elm,t)}function wr(e,t){Q(e)&&(lr(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=ze(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];qe(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=ze(n),l=ir(r),c=ir(o);for(a in c)J(l[a])&&i.remove(a);for(a in l)J(c[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?$e(n,"style",r):Ve(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?dt:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(jt(o,a),58===z.call(a,3)?$e(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?$e(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?Ve(o,a):$e(o,a,i),Rt())}}}}(e,t),or(e,t)}function br(e,t,n){var r;r=n,Cr.has(r)?function(e,t,n){var r,o,a,i=0,l=0,c=t.length-1,u=t[0],s=t[c],f=n.length-1,d=f,v=n[0],h=n[d];for(;i<=c&&l<=d;)dr(u)?dr(s)?dr(v)?dr(h)?nr(u,v)?(Tr(u,v),u=t[++i],v=n[++l]):nr(s,h)?(Tr(s,h),s=t[--c],h=n[--d]):nr(u,h)?(Tr(u,h),h.hook.move(u,e,De(s.elm)),u=t[++i],h=n[--d]):nr(s,v)?(Tr(s,v),v.hook.move(s,e,u.elm),s=t[--c],v=n[++l]):(void 0===r&&(r=Mr(t,i,c)),J(o=r[v.key])?(v.hook.create(v),v.hook.insert(v,e,u.elm),v=n[++l]):(dr(a=t[o])&&(a.sel!==v.sel?(v.hook.create(v),v.hook.insert(v,e,u.elm)):(Tr(a,v),t[o]=void 0,v.hook.move(a,e,u.elm))),v=n[++l])):h=n[--d]:v=n[++l]:s=t[--c]:u=t[++i];if(i<=c||l<=d)if(i>c){var p,m=d;do{p=n[++m]}while(!dr(p)&&m<f);Or(e,dr(p)?p.elm:null,n,l,d)}else Sr(e,t,i,c)}(e,t,n):function(e,t,n){var r=t.length,o=n.length;if(0===r)return void Or(e,null,n,0,o);if(0===o)return void Sr(e,t,0,r);for(var a=null,i=o-1;i>=0;i-=1){var l=n[i],c=t[i];l!==c&&(dr(c)?dr(l)?(Tr(c,l),a=l.elm):c.hook.remove(c,e):dr(l)&&(l.hook.create(l),l.hook.insert(l,e,a),a=l.elm))}}(e,t,n)}function kr(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=C(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var c="";tr(l)&&(c=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var u=o[c]=o[c]||[];J(l.key)||(l.key="@".concat(c,":").concat(l.key)),B.call(u,l)}}if(ee(e.isDirty)){var s=R(r);if(s.length!==R(o).length)return void lo(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 lo(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void lo(e)}}}(t,n),e.aChildren=n,e.children=vt)}function Er(e){for(var t=e.elm,n=e.children,r=0;r<n.length;++r){var o=n[r];null!=o&&(o.hook.create(o),o.hook.insert(o,t,null))}}var Cr=new WeakMap;function Mr(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(dr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}function Or(e,t,n,r,o){for(;r<=o;++r){var a=n[r];dr(a)&&(a.hook.create(a),a.hook.insert(a,e,t))}}function Sr(e,t,n,r){for(;n<=r;++n){var o=t[n];dr(o)&&o.hook.remove(o,e)}}function Tr(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}var xr=Symbol.iterator;function Pr(e){B.call(Jr().velements,e)}function Nr(e,t,n){var r=Jr();return{type:2,sel:e,data:t,children:n,elm:undefined,key:t.key,hook:sr,owner:r}}function Ar(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:vt,a=Jr(),i=n.key,l={type:3,sel:e,data:n,children:o,elm:r,key:i,hook:fr,ctor:t,owner:a,mode:"open"};return Pr(l),l}var Rr=new Map,jr=0;function _r(e){var t;return t=e,Cr.set(t,1),e}var Lr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Dr=S({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Jr(),a=o.renderMode,i=o.shadowMode;return 0===a?(_r(n),n):(1===i&&_r(n),Nr("slot",t,n))},h:Nr,c:Ar,i:function(e,t){var n=[];if(_r(n),J(e)||null===e)return n;for(var r=e[xr](),o=r.next(),a=0,i=o,l=i.value,c=i.done;!1===c;){var u=t(l,a,0===a,!0===(c=(o=r.next()).done));L(u)?B.apply(n,u):B.call(n,u),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];_r(n);for(var r=0;r<t;r+=1){var o=e[r];L(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,hook:cr,owner:Jr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Jr();if(Q(t))throw new Error;var n=t;return function(t){ro(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,hook:ur,owner:Jr()}},dc:function(e,t,n,r){if(null==t)return null;if(!Jn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Rr.get(t);return J(o)&&(o=jr++,Rr.set(t,o)),n.key="dc:".concat(o,":").concat(n.key),Ar(e,t,n,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Jr();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=Jr();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 Lr(e)}});function Hr(e){return"".concat(e,"-host")}function Ir(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))B.apply(o,Ir(i,t,n));else{var l=i.$scoped$,c=l||1===n.shadowMode&&1===n.renderMode?t:void 0,u=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Br(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(c,u,s))}}return o}function Fr(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Ir(n,r,e)),o}function Br(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Wr(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)lt(t[a]);else{if(Se||Ne()){var i=I.call(t,"\n");return n=i,Dr.h("style",{key:"style",attrs:{type:"text/css"}},[Dr.t(n)])}for(var l=function(e){var t=Br(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(l),u=0;u<t.length;u++)c?lt(t[u]):ct(t[u],l.shadowRoot)}return null}var $r=!1,Vr=oe,Kr={enableProfiler:function(){$r=!0},disableProfiler:function(){$r=!1},attachDispatcher:function(e){Vr=e,this.enableProfiler()},detachDispatcher:function(){var e=Vr;return Vr=oe,this.disableProfiler(),e}};function Gr(e,t){$r&&Vr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Ur(e,t){$r&&Vr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function zr(e,t){$r&&Vr(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 qr(e,t){$r&&Vr(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 Yr=!1,Xr=null;function Jr(){return Xr}function Qr(e){Xr=e}function Zr(e,t){var n=Yr,r=Xr,o=[];return Wo(e,e.owner,(function(){Xr=e,Gr(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)||Bo(e),c=t,!Hn.has(c))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=C(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,c=e.shadowMode,u=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===c,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;h&&ze(a).remove(Hr(v)),p&&Ve(a,Hr(v)),J(u)||0===u.length||(n=s),J(n)||(d&&(ze(a).add(Hr(n)),r=!0),f&&($e(a,Hr(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Fr(e,t);r.styleVNode=0===l.length?null:Wr(e,l)}var c;e.velements=[],Yr=!0,o=t.call(void 0,Dr,n,a,r.tplCache);var u=r.styleVNode;Q(u)||V.call(o,u)}))}),(function(){Yr=n,Xr=r,Ur(1,e)})),o}var eo=null;function to(e){return eo===e}function no(e,t,n){var r=e.component,o=e.callHook;Wo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function ro(e,t,n,r){var o=e.callHook;Wo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var oo=new Map;function ao(e){return new bt((function(){ee(e.isDirty)&&(lo(e),function(e){if(Z(Se)||Z(e.isScheduled))return;e.isScheduled=!0,0===_o.length&&pt(Lo);B.call(_o,e)}(e))}))}function io(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Jr(),l=!1;return Wo(e,a,(function(){Qr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Qr(i)})),l?Zr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function lo(e){e.isDirty=!0}var co=new WeakMap;function uo(e,t){if(!te(t))throw new TypeError;var n=co.get(t);return J(n)&&(n=function(n){ro(e,t,void 0,n)},co.set(t,n)),n}var so=C(null),fo=["rendered","connected","disconnected"];function vo(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)}function ho(e,t){switch(e.type){case 0:case 1:!function(e,t){var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}(e,t);break;case 2:!function(e,t){var n=t;e.elm=n;var r=e.data.context,o=Boolean(!J(r)&&!J(r.lwc)&&"manual"===r.lwc.dom);if(o){var a=e.data.props;J(a)||J(a.innerHTML)||(n.innerHTML===a.innerHTML?delete a.innerHTML:(i="Mismatch hydrating element <".concat(n.tagName.toLowerCase(),">: innerHTML values do not match for element, will recover from the difference"),l=e.owner,Ot("warn",i,l)))}var i,l;mo(e),o||po(e.elm.childNodes,e.children,e.owner)}(e,t);break;case 3:!function(e,t){var n=t;e.elm=n;var r=e.sel,o=e.mode,a=e.ctor,i=e.owner,l=xo(n,a,{mode:o,owner:i,tagName:r});kr(e,l),mo(e),Do(l),0!==l.renderMode&&po(e.elm.childNodes,e.children);So(l)}(e,t)}}function po(e,t,n){for(var r=0,o=0;o<t.length;o++){var a=t[o];if(!Q(a))ho(a,e[r]),r++}}function mo(e){lr(e),or(null,e)}var yo=0,go=new WeakMap;function wo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function bo(e,t,n){e[t]=n}function ko(e,t){return e[t]}function Eo(e){Ro(e)}function Co(e){var t=No(e);zr(7,t),1===t.state&&Oo(e),Do(t),Ro(t),qr(7,t)}function Mo(e){var t=No(e);Do(t),So(t)}function Oo(e){To(No(e))}function So(e){!function(e){if(Z(e.isDirty)){var t=io(e);e.children=t,po(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),jo(e)}}(e)}function To(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=so.disconnected;t&&vo(e,t);Ho(e)&&function(e){var t=e.context.wiredDisconnecting;Wo(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)||(Gr(5,e),no(e,n),Ur(5,e))}(e),Io(e),function(e){Fo(e.aChildren)}(e)}}function xo(e,t,n){var r=n.mode,o=n.owner,a=n.tagName,i=Qn(t),l={elm:e,def:i,idx:yo++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:r,owner:o,children:vt,aChildren:vt,velements:vt,cmpProps:C(null),cmpFields:C(null),cmpSlots:C(null),oar:C(null),cmpTemplate:null,renderMode:i.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:dt,wiredConnecting:vt,wiredDisconnecting:vt},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:wo,setHook:bo,getHook:ko};return l.shadowMode=function(e){var t,n=e.def;if(xe)if(0===n.renderMode)t=0;else if(Te)if("any"===n.shadowSupportMode)t=0;else{var r=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);t=Q(r)||0!==r.shadowMode?1:0}else t=1;else t=0;return t}(l),l.tro=ao(l),function(e,t){var n,r=eo;Gr(0,e),eo=e;try{var o=new t;if(eo.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(Ur(0,e),eo=r,!J(n))throw Mt(e,n),n}}(l,i.ctor),Ho(l)&&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=$o.get(i);J(l)||function(){var t=Ko(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,c=t.resetConfigWatcher,u=l.dynamic.length>0;B.call(r,(function(){n.connect(),Oe.ENABLE_WIRE_SYNC_EMIT||!u?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),c()}))}()}}(l),l}function Po(e,t){go.set(e,t)}function No(e){return go.get(e)}function Ao(e){return go.get(e)}function Ro(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&Wo(e,e,(function(){Gr(2,e)}),(function(){br(n,r,t)}),(function(){Ur(2,e)}));1===e.state&&jo(e)}(e,io(e))}function jo(e){var t=e.def.renderedCallback;if(!Z(Se)){var n=so.rendered;n&&vo(e,n),J(t)||(Gr(4,e),no(e,t),Ur(4,e))}}var _o=[];function Lo(){zr(8);var e=_o.sort((function(e,t){return e.idx-t.idx}));_o=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Ro(r)}catch(r){throw t+1<n&&(0===_o.length&&pt(Lo),V.apply(_o,W.call(e,t+1))),qr(8),r}}qr(8)}function Do(e){if(1!==e.state){e.state=1;var t=so.connected;t&&vo(e,t),Ho(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)||(Gr(3,e),no(e,n),Ur(3,e))}}function Ho(e){return x(e.def.wire).length>0}function Io(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Ao(r);J(o)||To(o)}}}function Fo(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:Fo(r.children);break;case 3:To(No(r.elm))}}}function Bo(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||Re(a.elm,n)}e.children=vt,Io(e),e.velements=vt}function Wo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){Mt(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;Bo(e),Gr(6,e),no(i,i.def.errorCallback,[a,a.wcStack]),Ur(6,e)}}}var $o=new Map,Vo=function(e){l(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return h(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(f(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return m(n)}(t(CustomEvent));function Ko(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,c=n.dynamic,u=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,kt(e,t))}}(e,t):function(e,t){return function(n){Wo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);O(u,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),O(u,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),Wo(e,e,oe,(function(){o=new i(u)}),oe);var s=function(e,t,n){var r=!1,o=new bt((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){Wo(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=Uo(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;B.call(i,(function(){var e=new Vo(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});Ue(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Go=new Map;function Uo(e){return Go.get(e)}function zo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};$o.set(e,o)}function qo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};$o.set(e,o)}var Yo=!1;var Xo,Jo,Qo,Zo=C(null),ea=document.head||document.body||document,ta=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),na=C(null),ra=C(null),oa=new WeakMap;if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())Xo=customElements.get.bind(customElements),Jo=customElements.define.bind(customElements),Qo=HTMLElement;else{var aa=C(null),ia=new WeakMap;Jo=function(e,t){if(e!==X.call(e)||aa[e])throw new TypeError("Invalid Registration");aa[e]=t,ia.set(t,e)},Xo=function(e){return aa[e]},(Qo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=ia.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return _(r,t.prototype),r}).prototype=HTMLElement.prototype}var la=!1;function ca(e){la=e}var ua=fe.$isNativeShadowRootDefined$,sa=N.call(Element.prototype,"$shadowToken$");He=function(e,t){return la?e.shadowRoot:e.attachShadow(t)},Le=function(e){return document.createComment(e)},je=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},_e=function(e){return document.createTextNode(e)},ut=Jo,Ue=function(e,t){return e.dispatchEvent(t)},We=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Ye=function(e){return e.getBoundingClientRect()},tt=function(e){return e.childNodes},et=function(e){return e.children},ze=function(e){return e.classList},st=Xo,Ze=function(e,t){return e.getElementsByClassName(t)},Qe=function(e,t){return e.getElementsByTagName(t)},nt=function(e){return e.firstChild},rt=function(e){return e.firstElementChild},ot=function(e){return e.lastChild},at=function(e){return e.lastElementChild},Ie=function(e,t){return e[t]},Pe=Qo,Ae=function(e,t,n){t.insertBefore(e,n)},lt=function(e){if(J(Zo[e])){Zo[e]=!0;var t=document.createElement("style");t.type="text/css",t.textContent=e,ea.appendChild(t)}},ct=function(e,t){ta?function(e,t){var n=ra[e];J(n)&&((n=new CSSStyleSheet).replaceSync(e),ra[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[].concat(r(t.adoptedStyleSheets),[n]))}(e,t):function(e,t){var n=oa.get(t);if(J(n)&&(n=C(null),oa.set(t,n)),!n[e]){n[e]=!0;var r=na[e];J(r)?((r=document.createElement("style")).type="text/css",r.textContent=e,na[e]=r):r=r.cloneNode(!0),t.appendChild(r)}}(e,t)},it=function(e){return e.isConnected},Ne=function(){return la},Te=ua,xe=sa,De=function(e){return e.nextSibling},Xe=function(e,t){return e.querySelector(t)},Je=function(e,t){return e.querySelectorAll(t)},Re=function(e,t){t.removeChild(e)},Ve=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Ge=function(e,t,n,r){e.removeEventListener(t,n,r)},$e=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},qe=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},Fe=function(e,t,n){e[t]=n},Be=function(e,t){e.nodeValue=t},Se=!1,Ke=function(e,t,n,r){e.addEventListener(t,n,r)};var fa=Node,da=new WeakMap,va=new WeakMap;function ha(e,t){var n=t.get(e);return J(n)||n(e),e}var pa=fa.prototype,ma=pa.appendChild,ya=pa.insertBefore,ga=pa.removeChild,wa=pa.replaceChild;function ba(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=er(e),o=!1,a=new r((function(r){xo(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),da.set(r,Co),va.set(r,Oo),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}function ka(e){var t=function(e){return Qn(e).bridge}(e);return function(t){l(r,t);var n=u(r);function r(){var t;return h(this,r),xo(f(t=n.call(this)),e,{mode:"open",owner:null,tagName:t.tagName}),t}return m(r,[{key:"connectedCallback",value:function(){Co(this)}},{key:"disconnectedCallback",value:function(){Oo(this)}}]),r}(t)}E(fa.prototype,{appendChild:function(e){return ha(ma.call(this,e),da)},insertBefore:function(e,t){return ha(ya.call(this,e,t),da)},removeChild:function(e){return ha(ga.call(this,e),va)},replaceChild:function(e,t){var n=wa.call(this,e,t);return ha(n,va),ha(e,da),n}});var Ea=Node;var Ca=new Map;O(gn,"CustomElementConstructor",{get:function(){return function(e){if(e===gn)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Ca.get(e);return J(t)&&(t=ka(e),Ca.set(e,t)),t}(this)}}),S(gn),j(gn.prototype),e.LightningElement=gn,e.__unstable__ProfilerControl=Kr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=Uo(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Go.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=ba,e.getComponentConstructor=function(e){var t=null;if(e instanceof HTMLElement){var n=Ao(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=Qn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var c in o)l[c]={config:a[c]||0,type:"any",attr:he(c)};var u={};for(var s in i)u[s]=i[s].value;return{ctor:n,name:r,props:l,methods:u}},e.hydrateComponent=function(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,"."));try{ca(!0),xo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(var r=0,o=Object.entries(n);r<o.length;r++){var a=y(o[r],2),i=a[0],l=a[1];e[i]=l}Mo(e),ca(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),ca(!1);for(var c=ba(e.tagName,{is:t,mode:"open"}),u=0,s=Object.entries(n);u<s.length;u++){var f=y(s[u],2),d=f[0],v=f[1];c[d]=v}e.parentNode.replaceChild(c,e)}},e.isComponentConstructor=Jn,e.isNodeFromTemplate=function(e){return!ee(e instanceof Ea)&&(!(e instanceof ShadowRoot)&&(sa?!J(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return mn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<fo.length;++t){var n=fo[t];if(n in e){var r=so[n];J(r)&&(so[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return oo.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,c=t.fields,u=C(null),s=C(null),f=C(null),d=C(null),v=C(null),h=C(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=jn(p,n)}else n=J(n)||J(n.get)?An(p):jn(p,n);s[p]=n,O(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;u[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,E=g.dynamic,M=void 0===E?[]:E;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,zo(n,w,k,M)}else n=Pn(y),d[y]=n,qo(n,w,k,M),O(r,y,n)}if(!J(l))for(var S in l)n=T(r,S),n=Nn(S),O(r,S,n);if(!J(c))for(var x=0,P=c.length;x<P;x++){var N=c[x];n=T(r,N);var A=!J(o)&&N in o,R=!J(l)&&N in l;A||R||(v[N]=_n(N))}return function(e,t){Ln.set(e,t)}(e,{apiMethods:u,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return Hn.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Me[e])){var n=R(Me).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=Oe[e];J(r)?O(Oe,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;k.isFalse(Yo,"Hooks are already overridden, only one definition is allowed."),Yo=!0,t=e.sanitizeHtmlContent,Lr=t},e.swapComponent=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return mn.getProxy(e);throw new Error},e.unwrap=function(e){return mn.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,v(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),c(o,e)},t(e)}function n(e,t,r){return n=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&c(o,n.prototype),o},n.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(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 o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=a(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},o.apply(this,arguments)}function a(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=d();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){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 v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 m(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(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)||g(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 g(e,t){if(e){if("string"==typeof e)return w(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)?w(e,t):void 0}}function w(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 b(e){return b="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},b(e)}var k=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,C=Object.create,M=Object.defineProperties,O=Object.defineProperty,S=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,P=Object.getPrototypeOf,N=Object.hasOwnProperty,A=Object.isFrozen,j=Object.keys,R=Object.seal,_=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,H=D.indexOf,I=D.join,F=D.map,B=D.push,W=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,Y=U.slice,X=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"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?I.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=P(e)}while(null!==e)}var ce=["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"],ue=function(){var e=C(null),t=C(null);return K.call(ce,(function(n){var r=X.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ue.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(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=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"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.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 ve.set(e,o),o}function pe(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var me=new WeakMap;function ye(e){var t=me.get(e);return void 0===t&&(t={},me.set(e,t)),t}function ge(e,t){return{get:function(){var n=ye(this);return N.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=ge(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var be=j(se),ke=0,Ee=be.length;ke<Ee;ke+=1){var Ce=be[ke];pe(Ce)&&we(Ce)}var Me={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:C(null)});var Oe=fe.lwcRuntimeFlags;var Se,Te,xe,Pe,Ne,Ae,je,Re,_e,Le,De,He,Ie,Fe,Be,We,$e,Ve,Ke,Ge,Ue,ze,qe,Ye,Xe,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ct,ut,st,ft=[],dt=R(C(null)),vt=R([]);function ht(){var e=ft;ft=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function pt(e){0===ft.length&&Promise.resolve().then(ht),B.call(ft,e)}function mt(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 yt=new WeakMap;var gt=null;function wt(e,t){var n=yt.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 bt(e,t){if(null!==gt){var n=gt,r=function(e){var t=yt.get(e);if(J(t)){var n=C(null);t=n,yt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===H.call(o,n)&&n.link(o)}}var kt=function(){function e(t){h(this,e),this.listeners=[],this.callback=t}return m(e,[{key:"observe",value:function(e){var t,n=gt;gt=this;try{e()}catch(e){t=Object(e)}finally{if(gt=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=H.call(e[n],this);$.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 Et(e,t){wt(e.component,t)}function Ct(e,t){bt(e.component,t)}function Mt(e){return"<".concat(X.call(e.tagName),">")}function Ot(e,t){if(!A(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Mt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);O(t,"wcStack",{get:function(){return n}})}}function St(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+Mt(e)),e=e.owner,n+="\t";return I.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}var Tt="undefined"!=typeof HTMLElement?HTMLElement:function(){},xt=Tt.prototype;function Pt(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(C(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:Pt("offsetHeight")},offsetLeft:{readOnly:!0,error:Pt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Pt("offsetTop")},offsetWidth:{readOnly:!0,error:Pt("offsetWidth")},role:{attribute:"role"}});var Nt,At=null;function jt(e,t){return e!==At||t!==Nt}function Rt(e,t){At=null,Nt=void 0}function _t(e,t){At=e,Nt=t}var Lt=C(null);K.call(j(se),(function(e){var t=le(xt,e);J(t)||(Lt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(xt,e);J(t)||(Lt[e]=t)}));var Dt=Array.isArray,Ht=Object.prototype,It=Object.getPrototypeOf,Ft=Object.create,Bt=Object.defineProperty,Wt=Object.isExtensible,$t=Object.getOwnPropertyDescriptor,Vt=Object.getOwnPropertyNames,Kt=Object.getOwnPropertySymbols,Gt=Object.preventExtensions,Ut=Object.hasOwnProperty,zt=Array.prototype,qt=zt.push,Yt=zt.concat;function Xt(e){return void 0===e}function Jt(e){return"function"==typeof e}var Qt=new WeakMap;function Zt(e,t){Qt.set(e,t)}var en=function(e){return Qt.get(e)||e},tn=function(){function e(t,n){h(this,e),this.originalTarget=n,this.membrane=t}return m(e,[{key:"wrapDescriptor",value:function(e){if(Ut.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;Xt(n)||(e.get=this.wrapGetter(n)),Xt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=$t(n,t);if(!Xt(r)){var o=this.wrapDescriptor(r);Bt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;Yt.call(Vt(n),Kt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;Xt(r)||Ut.call(e,r)||Bt(e,r,Ft(null)),Gt(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=Xt(n)||Ut.call(t,n)?[]:[n];return qt.apply(r,Vt(t)),qt.apply(r,Kt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!Wt(e)&&(!!Wt(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return It(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=$t(n,t);if(Xt(i)){if(t!==a)return;return Bt(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}(),nn=new WeakMap,rn=new WeakMap,on=new WeakMap,an=new WeakMap,ln=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=nn.get(e);if(!Xt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(en(this)))};return nn.set(e,r),on.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=rn.get(e);if(!Xt(t))return t;var n=function(t){e.call(en(this),en(t))};return rn.set(e,n),an.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(Ut.call(e,"value"))e.value=en(e.value);else{var t=e.set,n=e.get;Xt(n)||(e.get=this.unwrapGetter(n)),Xt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=on.get(e);if(!Xt(t))return t;var n=this,r=function(){return en(e.call(n.wrapValue(this)))};return nn.set(r,e),on.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=an.get(e);if(!Xt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return rn.set(r,e),an.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&&Dt(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(Wt(e)){var t=this.originalTarget;if(Gt(t),Wt(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&&!Ut.call(r,t)||(Bt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(tn),cn=new WeakMap,un=new WeakMap,sn=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=cn.get(e);if(!Xt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(en(this)))};return cn.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=un.get(e);if(!Xt(t))return t;var n=function(e){};return un.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}(tn);function fn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(Dt(e))return!0;var t=It(e);return t===Ht||null===t||null===It(t)}var dn=function(e,t){},vn=function(e,t){};function hn(e){return Dt(e)?[]:{}}var pn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h(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=Jt(n)?n:vn,this.valueObserved=Jt(r)?r:dn,this.valueIsObservable=Jt(o)?o:fn,this.tagPropertyKey=a}return m(e,[{key:"getProxy",value:function(e){var t=en(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=en(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return en(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(Xt(t)){var n=new ln(this,e);Zt(t=new Proxy(hn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(Xt(t)){var n=new sn(this,e);Zt(t=new Proxy(hn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),mn=Symbol.for("@@lockerLiveValue"),yn=new pn({valueObserved:bt,valueMutated:wt,tagPropertyKey:mn});function gn(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=Ao(this);if(!no(t))return Ct(t,e),n.call(t.elm)},set:function(t){var n=Ao(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Et(n,e)),r.call(n.elm,t)}}}var wn=function(){if(Q(to))throw new ReferenceError("Illegal constructor");var e=to,t=e.def,n=e.elm,r=t.bridge,o=this;if(_(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,c=a.getHook;e.callHook=i,e.setHook=l,e.getHook=c}return this[mn]=void 0,No(o,e),No(n,e),1===e.renderMode?e.renderRoot=bn(e):e.renderRoot=n,this};function bn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,a=e.def.ctor,l=He(n,(i(t={},"$$lwc-synthetic-mode",1===o),i(t,"delegatesFocus",Boolean(a.delegatesFocus)),i(t,"mode",r),t));return e.shadowRoot=l,No(l,e),l}wn.prototype={constructor:wn,dispatchEvent:function(e){var t=Ao(this).elm;return Ue(t,e)},addEventListener:function(e,t,n){var r=Ao(this),o=r.elm,a=so(r,t);Ke(o,e,a,n)},removeEventListener:function(e,t,n){var r=Ao(this),o=r.elm,a=so(r,t);Ge(o,e,a,n)},hasAttribute:function(e){var t=Ao(this).elm;return!Q(We(t,e))},hasAttributeNS:function(e,t){var n=Ao(this).elm;return!Q(We(n,t,e))},removeAttribute:function(e){var t=Ao(this).elm;_t(t,e),Ve(t,e),Rt()},removeAttributeNS:function(e,t){var n=Ao(this).elm;_t(n,t),Ve(n,t,e),Rt()},getAttribute:function(e){var t=Ao(this).elm;return We(t,e)},getAttributeNS:function(e,t){var n=Ao(this).elm;return We(n,t,e)},setAttribute:function(e,t){var n=Ao(this).elm;_t(n,e),$e(n,e,t),Rt()},setAttributeNS:function(e,t,n){var r=Ao(this).elm;_t(r,t),$e(r,t,n,e),Rt()},getBoundingClientRect:function(){var e=Ao(this).elm;return Ye(e)},get isConnected(){var e=Ao(this).elm;return it(e)},get classList(){var e=Ao(this).elm;return ze(e)},get template(){return Ao(this).shadowRoot},get shadowRoot(){return null},render:function(){return Ao(this).def.template},toString:function(){var e=Ao(this);return"[object ".concat(e.def.name,"]")}};var kn=C(null);for(var En=function(){var e=Mn[Cn];kn[e]={get:function(){var t=Ao(this).elm;return function(e){switch(e){case"children":return et;case"childNodes":return tt;case"firstChild":return nt;case"firstElementChild":return rt;case"lastChild":return ot;case"lastElementChild":return at}}(e)(t)},configurable:!0,enumerable:!0}},Cn=0,Mn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];Cn<Mn.length;Cn++)En();for(var On=function(){var e=Tn[Sn];kn[e]={value:function(t){var n=Ao(this).elm;return function(e){switch(e){case"getElementsByClassName":return Ze;case"getElementsByTagName":return Qe;case"querySelector":return Xe;case"querySelectorAll":return Je}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},Sn=0,Tn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];Sn<Tn.length;Sn++)On();M(wn.prototype,kn);var xn=C(null);for(var Pn in Lt)xn[Pn]=gn(Pn,Lt[Pn]);function Nn(e){return{get:function(){var t=Ao(this);return Ct(t,e),t.cmpFields[e]},set:function(t){var n=Ao(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Et(n,e))},enumerable:!0,configurable:!0}}function An(e){return{get:function(){var t=Ao(this);return Ct(t,e),t.cmpFields[e]},set:function(t){var n=Ao(this),r=yn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Et(n,e))},enumerable:!0,configurable:!0}}function jn(e){return{get:function(){var t=Ao(this);if(!no(t))return Ct(t,e),t.cmpProps[e]},set:function(t){var n=Ao(this);n.cmpProps[e]=t,Et(n,e)},enumerable:!0,configurable:!0}}M(wn.prototype,xn),O(wn,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Rn=function(e){l(n,e);var t=u(n);function n(e,r){var o;return h(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,pt((function(){if(Z(o.debouncing)){var t=f(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&&Co(e)}})))}))).debouncing=!1,o}return m(n,[{key:"reset",value:function(e){o(v(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(kt);function _n(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=Ao(this);if(r)if(Oe.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Rn(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Ln(e){return{get:function(){var t=Ao(this);return Ct(t,e),t.cmpFields[e]},set:function(t){var n=Ao(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Et(n,e))},enumerable:!0,configurable:!0}}var Dn=new Map;var Hn={apiMethods:dt,apiFields:dt,apiFieldsConfig:dt,wiredMethods:dt,wiredFields:dt,observedFields:dt};var In=new Set;function Fn(){return[]}In.add(Fn);var Bn=C(null),Wn=C(null);function $n(e){var t=Bn[e];return J(t)&&(t=Bn[e]=function(){var t=Ao(this);return(0,t.getHook)(t.component,e)}),t}function Vn(e){var t=Wn[e];return J(t)&&(t=Wn[e]=function(t){var n=Ao(this),r=n.setHook;t=yn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Kn(e){return function(){var t=Ao(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function Gn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):jt(this,n)&&(this[a]=o)}}}function Un(e,t,n){var o;te(e)?o=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(e):(_(o=function(){throw new TypeError("Illegal constructor")},e),_(o.prototype,e.prototype),O(o.prototype,"constructor",{writable:!0,configurable:!0,value:o}));for(var a=C(null),i=e.prototype.attributeChangedCallback,c=e.observedAttributes,s=void 0===c?[]:c,f=C(null),d=0,v=t.length;d<v;d+=1){var p=t[d];a[he(p)]=p,f[p]={get:$n(p),set:Vn(p),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];f[w]={value:Kn(w),writable:!0,configurable:!0}}return f.attributeChangedCallback={value:Gn(a,i)},O(o,"observedAttributes",{get:function(){return[].concat(r(s),r(j(a)))}}),M(o.prototype,f),o}var zn=Un(Tt,x(Lt),[]);function qn(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Yn(e){return te(e)&&N.call(e,"__circular__")}S(zn),R(zn.prototype);var Xn=new WeakMap;function Jn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Dn.get(e);return J(t)?Hn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,c=r.wiredMethods,u=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=P(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(Yn(t)){var n=qn(t);t=n===t?wn:n}return t}(e),y=m!==wn?Zn(m):er,g=Un(y.bridge,j(o),j(i)),w=E(C(null),y.props,o),b=E(C(null),y.propsConfig,a),k=E(C(null),y.methods,i),O=E(C(null),y.wire,l,c);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var S=y.shadowSupportMode;J(t)||(S=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return ao.get(e)}(e)||y.template,N=e.name||y.name;return M(s,u),{ctor:e,name:N,wire:O,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:S,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Qn(e){if(!te(e))return!1;if(e.prototype instanceof wn)return!0;var t=e;do{if(Yn(t)){var n=qn(t);if(n===t)return!0;t=n}if(t===wn)return!0}while(!Q(t)&&(t=P(t)));return!1}function Zn(e){var t=Xn.get(e);if(J(t)){if(Yn(e))return t=Zn(qn(e)),Xn.set(e,t),t;if(!Qn(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=Jn(e),Xn.set(e,t)}return t}var er={ctor:wn,name:wn.name,props:xn,propsConfig:dt,methods:dt,renderMode:1,shadowSupportMode:"reset",wire:dt,bridge:zn,template:Fn,render:wn.prototype.render};function tr(e){e=e.toLowerCase();var t=st(e);return J(t)?(ut(e,t=function(e){l(n,e);var t=u(n);function n(e){var r;return h(this,n),r=t.call(this),te(e)&&e(f(r)),r}return m(n)}(Pe)),t):t}function nr(e){var t=e.type;return 2===t||3===t}function rr(e,t){return e.key===t.key&&e.sel===t.sel}function or(e,t){return"input"===e&&("value"===t||"checked"===t)}function ar(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?dt:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var c=n[l];(o||c!==(or(i,l)?Ie(a,l):r[l]))&&Fe(a,l,c)}}}}var ir=C(null);function lr(e){if(null==e)return dt;e=re(e)?e:e+"";var t=ir[e];if(t)return t;t=C(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[Y.call(e,r,n)]=!0),r=n+1);return n>r&&(t[Y.call(e,r,n)]=!0),ir[e]=t,t}function cr(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];Ke(t,r,o)}}var ur={create:function(e){var t=e.owner,n=_e(e.text);mr(n,t),e.elm=n},update:yr,insert:gr,move:gr,remove:wr},sr={create:function(e){var t=e.owner,n=e.text,r=Le(n);mr(r,t),e.elm=r},update:yr,insert:gr,move:gr,remove:wr},fr={create:function(e){var t=e.sel,n=e.owner,r=Z(e.data.svg)?"http://www.w3.org/2000/svg":void 0,o=Re(t,r);mr(o,n),function(e,t){var n=t.owner;if(pr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),J(o)||hr(e,o)}}(o,e),e.elm=o,br(null,e)},update:function(e,t){br(e,t),kr(t.elm,e.children,t.children)},insert:function(e,t,n){gr(e,t,n),Cr(e)},move:gr,remove:function(e,t){wr(e,t),function(e){for(var t=e.children,n=e.elm,r=0,o=t.length;r<o;++r){var a=t[r];Q(a)||a.hook.remove(a,n)}}(e)}},dr={create:function(e){var t,n=e.sel,r=e.owner,o=tr(n),a=new o((function(n){t=function(e,t){var n=jo(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(pr(e,i),1===i.shadowMode){var l=i.context.stylesheetToken;J(l)||hr(e,l)}return n=Po(e,a,{mode:o,owner:i,tagName:r})}(n,e)}));if(mr(a,r),e.elm=a,t)Er(e,t);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");br(null,e)},update:function(e,t){br(e,t);var n=jo(t.elm);n&&Er(t,n),kr(t.elm,e.children,t.children),n&&Co(n)},insert:function(e,t,n){gr(e,t,n);var r=jo(e.elm);r&&Ho(r),Cr(e),r&&function(e){Ro(e)}(r)},move:gr,remove:function(e,t){wr(e,t);var n=jo(e.elm);n&&function(e){xo(e)}(n)}};function vr(e){return null!=e}function hr(e,t){e.$shadowToken$=t}function pr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&ze(e).add(o)}function mr(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;xe&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function yr(e,t){var n=t.elm,r=t.text;e.text!==r&&Be(n,r)}function gr(e,t,n){Ae(e.elm,t,n)}function wr(e,t){je(e.elm,t)}function br(e,t){Q(e)&&(cr(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=ze(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];qe(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=ze(n),l=lr(r),c=lr(o);for(a in c)J(l[a])&&i.remove(a);for(a in l)J(c[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?$e(n,"style",r):Ve(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?dt:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(_t(o,a),58===z.call(a,3)?$e(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?$e(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?Ve(o,a):$e(o,a,i),Rt())}}}}(e,t),ar(e,t)}function kr(e,t,n){var o;o=n,Mr.has(o)?function(e,t,n){var o,a,i,l=0,c=0,u=t.length-1,s=t[0],f=t[u],d=n.length-1,v=d,h=n[0],p=n[v],m=!1;for(;l<=u&&c<=v;)vr(s)?vr(f)?vr(h)?vr(p)?rr(s,h)?(xr(s,h),s=t[++l],h=n[++c]):rr(f,p)?(xr(f,p),f=t[--u],p=n[--v]):rr(s,p)?(xr(s,p),p.hook.move(s,e,De(f.elm)),s=t[++l],p=n[--v]):rr(f,h)?(xr(f,h),h.hook.move(f,e,s.elm),f=t[--u],h=n[++c]):(void 0===o&&(o=Or(t,l,u)),J(a=o[h.key])?(h.hook.create(h),h.hook.insert(h,e,s.elm),h=n[++c]):(vr(i=t[a])&&(i.sel!==h.sel?(h.hook.create(h),h.hook.insert(h,e,s.elm)):(xr(i,h),m||(m=!0,t=r(t)),t[a]=void 0,h.hook.move(i,e,s.elm))),h=n[++c])):p=n[--v]:h=n[++c]:f=t[--u]:s=t[++l];if(l<=u||c<=v)if(l>u){var y,g=v;do{y=n[++g]}while(!vr(y)&&g<d);Sr(e,vr(y)?y.elm:null,n,c,v)}else Tr(e,t,l,u)}(e,t,n):function(e,t,n){var r=t.length,o=n.length;if(0===r)return void Sr(e,null,n,0,o);if(0===o)return void Tr(e,t,0,r);for(var a=null,i=o-1;i>=0;i-=1){var l=n[i],c=t[i];l!==c&&(vr(c)?vr(l)?(xr(c,l),a=l.elm):c.hook.remove(c,e):vr(l)&&(l.hook.create(l),l.hook.insert(l,e,a),a=l.elm))}}(e,t,n)}function Er(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=C(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var c="";nr(l)&&(c=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var u=o[c]=o[c]||[];J(l.key)||(l.key="@".concat(c,":").concat(l.key)),B.call(u,l)}}if(ee(e.isDirty)){var s=j(r);if(s.length!==j(o).length)return void co(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 co(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void co(e)}}}(t,n),e.aChildren=n,e.children=vt)}function Cr(e){for(var t=e.elm,n=e.children,r=0;r<n.length;++r){var o=n[r];null!=o&&(o.hook.create(o),o.hook.insert(o,t,null))}}var Mr=new WeakMap;function Or(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(vr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}function Sr(e,t,n,r,o){for(;r<=o;++r){var a=n[r];vr(a)&&(a.hook.create(a),a.hook.insert(a,e,t))}}function Tr(e,t,n,r){for(;n<=r;++n){var o=t[n];vr(o)&&o.hook.remove(o,e)}}function xr(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}var Pr=Symbol.iterator;function Nr(e){B.call(Qr().velements,e)}function Ar(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vt,o=Qr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,hook:fr,owner:o}}function jr(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:vt,a=Qr(),i=n.key,l={type:3,sel:e,data:n,children:o,elm:r,key:i,hook:dr,ctor:t,owner:a,mode:"open"};return Nr(l),l}var Rr=new Map,_r=0;function Lr(e){var t;return t=e,Mr.set(t,1),e}var Dr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Hr=S({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Qr(),a=o.renderMode,i=o.shadowMode;return 0===a?(Lr(n),n):(1===i&&Lr(n),Ar("slot",t,n))},h:Ar,c:jr,i:function(e,t){var n=[];if(Lr(n),J(e)||null===e)return n;for(var r=e[Pr](),o=r.next(),a=0,i=o,l=i.value,c=i.done;!1===c;){var u=t(l,a,0===a,!0===(c=(o=r.next()).done));L(u)?B.apply(n,u):B.call(n,u),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];Lr(n);for(var r=0;r<t;r+=1){var o=e[r];L(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,hook:ur,owner:Qr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Qr();if(Q(t))throw new Error;var n=t;return function(t){oo(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,hook:sr,owner:Qr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:vt;if(null==t)return null;if(!Qn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Rr.get(t);J(o)&&(o=_r++,Rr.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return jr(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Qr();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=Qr();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 Dr(e)}});function Ir(e){return"".concat(e,"-host")}function Fr(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))B.apply(o,Fr(i,t,n));else{var l=i.$scoped$,c=l||1===n.shadowMode&&1===n.renderMode?t:void 0,u=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Wr(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(c,u,s))}}return o}function Br(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Fr(n,r,e)),o}function Wr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function $r(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)lt(t[a]);else{if(Se||Ne()){var i=I.call(t,"\n");return n=i,Hr.h("style",{key:"style",attrs:{type:"text/css"}},[Hr.t(n)])}for(var l=function(e){var t=Wr(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(l),u=0;u<t.length;u++)c?lt(t[u]):ct(t[u],l.shadowRoot)}return null}var Vr=!1,Kr=oe,Gr={enableProfiler:function(){Vr=!0},disableProfiler:function(){Vr=!1},attachDispatcher:function(e){Kr=e,this.enableProfiler()},detachDispatcher:function(){var e=Kr;return Kr=oe,this.disableProfiler(),e}};function Ur(e,t){Vr&&Kr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function zr(e,t){Vr&&Kr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function qr(e,t){Vr&&Kr(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 Yr(e,t){Vr&&Kr(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 Xr=!1,Jr=null;function Qr(){return Jr}function Zr(e){Jr=e}function eo(e,t){var n=Xr,r=Jr,o=[];return $o(e,e.owner,(function(){Jr=e,Ur(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)||Wo(e),c=t,!In.has(c))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=C(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,c=e.shadowMode,u=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===c,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;J(v)||(h&&ze(a).remove(Ir(v)),p&&Ve(a,Ir(v))),J(u)||0===u.length||(n=s),J(n)||(d&&(ze(a).add(Ir(n)),r=!0),f&&($e(a,Ir(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Br(e,t);r.styleVNode=0===l.length?null:$r(e,l)}var c;e.velements=[],Xr=!0,o=t.call(void 0,Hr,n,a,r.tplCache);var u=r.styleVNode;Q(u)||V.call(o,u)}))}),(function(){Xr=n,Jr=r,zr(1,e)})),o}var to=null;function no(e){return to===e}function ro(e,t,n){var r=e.component,o=e.callHook;$o(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function oo(e,t,n,r){var o=e.callHook;$o(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var ao=new Map;function io(e){return new kt((function(){ee(e.isDirty)&&(co(e),function(e){if(Z(Se)||Z(e.isScheduled))return;e.isScheduled=!0,0===Lo.length&&pt(Do);B.call(Lo,e)}(e))}))}function lo(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Qr(),l=!1;return $o(e,a,(function(){Zr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Zr(i)})),l?eo(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function co(e){e.isDirty=!0}var uo=new WeakMap;function so(e,t){if(!te(t))throw new TypeError;var n=uo.get(t);return J(n)&&(n=function(n){oo(e,t,void 0,n)},uo.set(t,n)),n}var fo=C(null),vo=["rendered","connected","disconnected"];function ho(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)}function po(e,t){switch(e.type){case 0:case 1:!function(e,t){var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}(e,t);break;case 2:!function(e,t){var n=t;e.elm=n;var r=e.data.context,o=Boolean(!J(r)&&!J(r.lwc)&&"manual"===r.lwc.dom);if(o){var a=e.data.props;J(a)||J(a.innerHTML)||(n.innerHTML===a.innerHTML?e.data=Object.assign(Object.assign({},e.data),{props:mt(a,"innerHTML")}):(i="Mismatch hydrating element <".concat(n.tagName.toLowerCase(),">: innerHTML values do not match for element, will recover from the difference"),l=e.owner,St("warn",i,l)))}var i,l;yo(e),o||mo(e.elm.childNodes,e.children,e.owner)}(e,t);break;case 3:!function(e,t){var n=t;e.elm=n;var r=e.sel,o=e.mode,a=e.ctor,i=e.owner,l=Po(n,a,{mode:o,owner:i,tagName:r});Er(e,l),yo(e),Ho(l),0!==l.renderMode&&mo(e.elm.childNodes,e.children);To(l)}(e,t)}}function mo(e,t,n){for(var r=0,o=0;o<t.length;o++){var a=t[o];if(!Q(a))po(a,e[r]),r++}}function yo(e){cr(e),ar(null,e)}var go=0,wo=new WeakMap;function bo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function ko(e,t,n){e[t]=n}function Eo(e,t){return e[t]}function Co(e){Ro(e)}function Mo(e){var t=Ao(e);qr(7,t),1===t.state&&So(e),Ho(t),Ro(t),Yr(7,t)}function Oo(e){var t=Ao(e);Ho(t),To(t)}function So(e){xo(Ao(e))}function To(e){!function(e){if(Z(e.isDirty)){var t=lo(e);e.children=t,mo(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),_o(e)}}(e)}function xo(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=fo.disconnected;t&&ho(e,t);Io(e)&&function(e){var t=e.context.wiredDisconnecting;$o(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)||(Ur(5,e),ro(e,n),zr(5,e))}(e),Fo(e),function(e){Bo(e.aChildren)}(e)}}function Po(e,t,n){var r=n.mode,o=n.owner,a=n.tagName,i=Zn(t),l={elm:e,def:i,idx:go++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:r,owner:o,children:vt,aChildren:vt,velements:vt,cmpProps:C(null),cmpFields:C(null),cmpSlots:C(null),oar:C(null),cmpTemplate:null,renderMode:i.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:dt,wiredConnecting:vt,wiredDisconnecting:vt},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:bo,setHook:ko,getHook:Eo};return l.shadowMode=function(e){var t,n=e.def;if(xe)if(0===n.renderMode)t=0;else if(Te)if("any"===n.shadowSupportMode)t=0;else{var r=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);t=Q(r)||0!==r.shadowMode?1:0}else t=1;else t=0;return t}(l),l.tro=io(l),function(e,t){var n,r=to;Ur(0,e),to=e;try{var o=new t;if(to.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(zr(0,e),to=r,!J(n))throw Ot(e,n),n}}(l,i.ctor),Io(l)&&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=Vo.get(i);J(l)||function(){var t=Go(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,c=t.resetConfigWatcher,u=l.dynamic.length>0;B.call(r,(function(){n.connect(),Oe.ENABLE_WIRE_SYNC_EMIT||!u?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),c()}))}()}}(l),l}function No(e,t){wo.set(e,t)}function Ao(e){return wo.get(e)}function jo(e){return wo.get(e)}function Ro(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&$o(e,e,(function(){Ur(2,e)}),(function(){kr(n,r,t)}),(function(){zr(2,e)}));1===e.state&&_o(e)}(e,lo(e))}function _o(e){var t=e.def.renderedCallback;if(!Z(Se)){var n=fo.rendered;n&&ho(e,n),J(t)||(Ur(4,e),ro(e,t),zr(4,e))}}var Lo=[];function Do(){qr(8);var e=Lo.sort((function(e,t){return e.idx-t.idx}));Lo=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Ro(r)}catch(r){throw t+1<n&&(0===Lo.length&&pt(Do),V.apply(Lo,W.call(e,t+1))),Yr(8),r}}Yr(8)}function Ho(e){if(1!==e.state){e.state=1;var t=fo.connected;t&&ho(e,t),Io(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)||(Ur(3,e),ro(e,n),zr(3,e))}}function Io(e){return x(e.def.wire).length>0}function Fo(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=jo(r);J(o)||xo(o)}}}function Bo(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:Bo(r.children);break;case 3:xo(Ao(r.elm))}}}function Wo(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||je(a.elm,n)}e.children=vt,Fo(e),e.velements=vt}function $o(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){Ot(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;Wo(e),Ur(6,e),ro(i,i.def.errorCallback,[a,a.wcStack]),zr(6,e)}}}var Vo=new Map,Ko=function(e){l(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return h(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(f(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return m(n)}(t(CustomEvent));function Go(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,c=n.dynamic,u=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Et(e,t))}}(e,t):function(e,t){return function(n){$o(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);O(u,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),O(u,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),$o(e,e,oe,(function(){o=new i(u)}),oe);var s=function(e,t,n){var r=!1,o=new kt((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){$o(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=zo(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;B.call(i,(function(){var e=new Ko(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});Ue(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Uo=new Map;function zo(e){return Uo.get(e)}function qo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};Vo.set(e,o)}function Yo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};Vo.set(e,o)}var Xo=!1;var Jo,Qo,Zo,ea=C(null),ta=document.head||document.body||document,na=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),ra=C(null),oa=C(null),aa=new WeakMap;if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())Jo=customElements.get.bind(customElements),Qo=customElements.define.bind(customElements),Zo=HTMLElement;else{var ia=C(null),la=new WeakMap;Qo=function(e,t){if(e!==X.call(e)||ia[e])throw new TypeError("Invalid Registration");ia[e]=t,la.set(t,e)},Jo=function(e){return ia[e]},(Zo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=la.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return _(r,t.prototype),r}).prototype=HTMLElement.prototype}var ca=!1;function ua(e){ca=e}var sa=fe.$isNativeShadowRootDefined$,fa=N.call(Element.prototype,"$shadowToken$");He=function(e,t){return ca?e.shadowRoot:e.attachShadow(t)},Le=function(e){return document.createComment(e)},Re=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},_e=function(e){return document.createTextNode(e)},ut=Qo,Ue=function(e,t){return e.dispatchEvent(t)},We=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Ye=function(e){return e.getBoundingClientRect()},tt=function(e){return e.childNodes},et=function(e){return e.children},ze=function(e){return e.classList},st=Jo,Ze=function(e,t){return e.getElementsByClassName(t)},Qe=function(e,t){return e.getElementsByTagName(t)},nt=function(e){return e.firstChild},rt=function(e){return e.firstElementChild},ot=function(e){return e.lastChild},at=function(e){return e.lastElementChild},Ie=function(e,t){return e[t]},Pe=Zo,Ae=function(e,t,n){t.insertBefore(e,n)},lt=function(e){if(J(ea[e])){ea[e]=!0;var t=document.createElement("style");t.type="text/css",t.textContent=e,ta.appendChild(t)}},ct=function(e,t){na?function(e,t){var n=oa[e];J(n)&&((n=new CSSStyleSheet).replaceSync(e),oa[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[].concat(r(t.adoptedStyleSheets),[n]))}(e,t):function(e,t){var n=aa.get(t);if(J(n)&&(n=C(null),aa.set(t,n)),!n[e]){n[e]=!0;var r=ra[e];J(r)?((r=document.createElement("style")).type="text/css",r.textContent=e,ra[e]=r):r=r.cloneNode(!0),t.appendChild(r)}}(e,t)},it=function(e){return e.isConnected},Ne=function(){return ca},Te=sa,xe=fa,De=function(e){return e.nextSibling},Xe=function(e,t){return e.querySelector(t)},Je=function(e,t){return e.querySelectorAll(t)},je=function(e,t){t.removeChild(e)},Ve=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Ge=function(e,t,n,r){e.removeEventListener(t,n,r)},$e=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},qe=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},Fe=function(e,t,n){e[t]=n},Be=function(e,t){e.nodeValue=t},Se=!1,Ke=function(e,t,n,r){e.addEventListener(t,n,r)};var da=Node,va=new WeakMap,ha=new WeakMap;function pa(e,t){var n=t.get(e);return J(n)||n(e),e}var ma=da.prototype,ya=ma.appendChild,ga=ma.insertBefore,wa=ma.removeChild,ba=ma.replaceChild;function ka(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=tr(e),o=!1,a=new r((function(r){Po(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),va.set(r,Mo),ha.set(r,So),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}function Ea(e){var t=function(e){return Zn(e).bridge}(e);return function(t){l(r,t);var n=u(r);function r(){var t;return h(this,r),Po(f(t=n.call(this)),e,{mode:"open",owner:null,tagName:t.tagName}),t}return m(r,[{key:"connectedCallback",value:function(){Mo(this)}},{key:"disconnectedCallback",value:function(){So(this)}}]),r}(t)}E(da.prototype,{appendChild:function(e){return pa(ya.call(this,e),va)},insertBefore:function(e,t){return pa(ga.call(this,e,t),va)},removeChild:function(e){return pa(wa.call(this,e),ha)},replaceChild:function(e,t){var n=ba.call(this,e,t);return pa(n,ha),pa(e,va),n}});var Ca=Node;var Ma=new Map;O(wn,"CustomElementConstructor",{get:function(){return function(e){if(e===wn)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Ma.get(e);return J(t)&&(t=Ea(e),Ma.set(e,t)),t}(this)}}),S(wn),R(wn.prototype),e.LightningElement=wn,e.__unstable__ProfilerControl=Gr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=zo(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Uo.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=ka,e.getComponentConstructor=function(e){var t=null;if(e instanceof HTMLElement){var n=jo(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=Zn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var c in o)l[c]={config:a[c]||0,type:"any",attr:he(c)};var u={};for(var s in i)u[s]=i[s].value;return{ctor:n,name:r,props:l,methods:u}},e.hydrateComponent=function(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,"."));try{ua(!0),Po(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(var r=0,o=Object.entries(n);r<o.length;r++){var a=y(o[r],2),i=a[0],l=a[1];e[i]=l}Oo(e),ua(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),ua(!1);for(var c=ka(e.tagName,{is:t,mode:"open"}),u=0,s=Object.entries(n);u<s.length;u++){var f=y(s[u],2),d=f[0],v=f[1];c[d]=v}e.parentNode.replaceChild(c,e)}},e.isComponentConstructor=Qn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Ca))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(N.call(P(t),"synthetic")))||fa&&!J(e.$shadowResolver$)},e.readonly=function(e){return yn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<vo.length;++t){var n=vo[t];if(n in e){var r=fo[n];J(r)&&(fo[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return ao.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,c=t.fields,u=C(null),s=C(null),f=C(null),d=C(null),v=C(null),h=C(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=_n(p,n)}else n=J(n)||J(n.get)?jn(p):_n(p,n);s[p]=n,O(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;u[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,E=g.dynamic,M=void 0===E?[]:E;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,qo(n,w,k,M)}else n=Nn(y),d[y]=n,Yo(n,w,k,M),O(r,y,n)}if(!J(l))for(var S in l)n=T(r,S),n=An(S),O(r,S,n);if(!J(c))for(var x=0,P=c.length;x<P;x++){var N=c[x];n=T(r,N);var A=!J(o)&&N in o,j=!J(l)&&N in l;A||j||(v[N]=Ln(N))}return function(e,t){Dn.set(e,t)}(e,{apiMethods:u,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return In.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Me[e])){var n=j(Me).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=Oe[e];J(r)?O(Oe,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;k.isFalse(Xo,"Hooks are already overridden, only one definition is allowed."),Xo=!0,t=e.sanitizeHtmlContent,Dr=t},e.swapComponent=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return yn.getProxy(e);throw new Error},e.unwrap=function(e){return yn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));