lwc 2.20.3 → 2.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +41 -61
- package/dist/engine-dom/iife/es2017/engine-dom.js +41 -61
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +28 -49
- package/dist/engine-dom/iife/es5/engine-dom.js +49 -73
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +37 -58
- package/dist/engine-dom/umd/es2017/engine-dom.js +41 -61
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +28 -49
- package/dist/engine-dom/umd/es5/engine-dom.js +49 -73
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +37 -58
- package/dist/engine-server/commonjs/es2017/engine-server.js +144 -150
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +144 -150
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
var LWC=function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,k=Object.create,S=Object.defineProperties,M=Object.defineProperty,O=Object.freeze,T=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,x=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,L=Object.keys,j=Object.seal,R=Object.setPrototypeOf,_=Array.isArray,D=Array.prototype,F=D.indexOf,H=D.join,I=D.map,B=D.push,W=D.slice,V=D.splice,$=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===w(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?_(e)?H.call(I.call(e,ie),","):e.toString():"object"===w(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=x(e)}while(null!==e)}var ue=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],ce=function(){var e=k(null),t=k(null);return K.call(ue,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ce.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":w(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),de="http://www.w3.org/2000/svg",ve=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),he=new Map;function pe(e){var t=se[e];if(!J(t))return t;var n=ve.get(e);if(!J(n))return n;var r=he.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return he.set(e,o),o}function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ge=new WeakMap;function ye(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function be(e,t){return{get:function(){var n=ye(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ye(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function we(e){var t=be(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=L(se),Ee=0,ke=Ce.length;Ee<ke;Ee+=1){me(Ut=Ce[Ee])&&we(Ut)}var Se={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:k(null)});var Me=fe.lwcRuntimeFlags;var Oe=[],Te=j(k(null)),Ae=j([]);function xe(){var e=Oe;Oe=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Oe.length&&Promise.resolve().then(xe),B.call(Oe,e)}var Ne=/;(?![^(]*\))/g,Le=/:(.+)/;function je(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(e.split(Ne));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=g(o.split(Le),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}function Re(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var _e=new WeakMap;var De=null;function Fe(e,t){var n=_e.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function He(e,t){if(null!==De){var n=De,r=function(e){var t=_e.get(e);if(J(t)){var n=k(null);t=n,_e.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===F.call(o,n)&&n.link(o)}}var Ie=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=De;De=this;try{e()}catch(e){t=Object(e)}finally{if(De=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=F.call(e[n],this);V.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){B.call(e,this),B.call(this.listeners,e)}}]),e}();function Be(e,t){Fe(e.component,t)}function We(e,t){He(e.component,t)}function Ve(e){return"<".concat(Y.call(e.tagName),">")}function $e(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Ve(n)),n=n.owner;return t.reverse().join("\n\t")}(e);M(t,"wcStack",{get:function(){return n}})}}function Ke(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)B.call(t,n+Ve(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function Ge(e,t){Ke("error",e,t)}function Ue(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ze(e){return te(e)&&P.call(e,"__circular__")}var qe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Xe=qe.prototype;function Ye(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}E(k(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ye("offsetHeight")},offsetLeft:{readOnly:!0,error:Ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ye("offsetTop")},offsetWidth:{readOnly:!0,error:Ye("offsetWidth")},role:{attribute:"role"}});var Je,Qe=null;function Ze(e,t){return e!==Qe||t!==Je}function et(e,t){Qe=null,Je=void 0}function tt(e,t){Qe=e,Je=t}var nt=k(null);K.call(L(se),(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)}));var rt=Array.isArray,ot=Object.prototype,at=Object.getPrototypeOf,it=Object.create,lt=Object.defineProperty,ut=Object.isExtensible,ct=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,dt=Object.preventExtensions,vt=Object.hasOwnProperty,ht=Array.prototype,pt=ht.push,mt=ht.concat;function gt(e){return void 0===e}function yt(e){return"function"==typeof e}var bt=new WeakMap;function wt(e,t){bt.set(e,t)}var Ct=function(e){return bt.get(e)||e},Et=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.wrapGetter(n)),gt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=ct(n,t);if(!gt(r)){var o=this.wrapDescriptor(r);lt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;mt.call(st(n),ft(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;gt(r)||vt.call(e,r)||lt(e,r,it(null)),dt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=gt(n)||vt.call(t,n)?[]:[n];return pt.apply(r,st(t)),pt.apply(r,ft(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ut(e)&&(!!ut(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return at(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=ct(n,t);if(gt(i)){if(t!==a)return;return lt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),kt=new WeakMap,St=new WeakMap,Mt=new WeakMap,Ot=new WeakMap,Tt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=kt.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return kt.set(e,r),Mt.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=St.get(e);if(!gt(t))return t;var n=function(t){e.call(Ct(this),Ct(t))};return St.set(e,n),Ot.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=Ct(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.unwrapGetter(n)),gt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=Mt.get(e);if(!gt(t))return t;var n=this,r=function(){return Ct(e.call(n.wrapValue(this)))};return kt.set(r,e),Mt.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Ot.get(e);if(!gt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return St.set(r,e),Ot.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&rt(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(ut(e)){var t=this.originalTarget;if(dt(t),ut(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!vt.call(r,t)||(lt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Et),At=new WeakMap,xt=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=At.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return At.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=xt.get(e);if(!gt(t))return t;var n=function(e){};return xt.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Et);function Nt(e){if(null===e)return!1;if("object"!==w(e))return!1;if(rt(e))return!0;var t=at(e);return t===ot||null===t||null===at(t)}var Lt=function(e,t){},jt=function(e,t){};function Rt(e){return rt(e)?[]:{}}var _t=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=yt(n)?n:jt,this.valueObserved=yt(r)?r:Lt,this.valueIsObservable=yt(o)?o:Nt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=Ct(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=Ct(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return Ct(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(gt(t)){var n=new Tt(this,e);wt(t=new Proxy(Rt(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(gt(t)){var n=new Pt(this,e);wt(t=new Proxy(Rt(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Dt=Symbol.for("@@lockerLiveValue"),Ft=new _t({valueObserved:He,valueMutated:Fe,tagPropertyKey:Dt});function Ht(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=Kr(this);if(!wr(t))return We(t,e),n.call(t.elm)},set:function(t){var n=Kr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Be(n,e)),r.call(n.elm,t)}}}var It=function(){if(Q(br))throw new ReferenceError("Illegal constructor");var e=br,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[Dt]=void 0,$r(o,e),$r(n,e),1===e.renderMode?e.renderRoot=Bt(e):e.renderRoot=n,this};function Bt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,$r(l,e),l}It.prototype={constructor:It,dispatchEvent:function(e){var t=Kr(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=Kr(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Ar(r,t),n)},removeEventListener:function(e,t,n){var r=Kr(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Ar(r,t),n)},hasAttribute:function(e){var t=Kr(this),n=t.elm;return!Q((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=Kr(this),r=n.elm;return!Q((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=Kr(this),n=t.elm,r=t.renderer.removeAttribute;tt(n,e),r(n,e),et()},removeAttributeNS:function(e,t){var n=Kr(this),r=n.elm,o=n.renderer.removeAttribute;tt(r,t),o(r,t,e),et()},getAttribute:function(e){var t=Kr(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=Kr(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=Kr(this),r=n.elm,o=n.renderer.setAttribute;tt(r,e),o(r,e,t),et()},setAttributeNS:function(e,t,n){var r=Kr(this),o=r.elm,a=r.renderer.setAttribute;tt(o,t),a(o,t,n,e),et()},getBoundingClientRect:function(){var e=Kr(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=Kr(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=Kr(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return Kr(this).shadowRoot},get shadowRoot(){return null},get children(){var e=Kr(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=Kr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=Kr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=Kr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=Kr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=Kr(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return Kr(this).def.template},toString:function(){var e=Kr(this);return"[object ".concat(e.def.name,"]")}};for(var Wt=k(null),Vt=function(){var e=Kt[$t];Wt[e]={value:function(t){var n=Kr(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},$t=0,Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];$t<Kt.length;$t++)Vt();S(It.prototype,Wt);var Gt=k(null);for(var Ut in nt)Gt[Ut]=Ht(Ut,nt[Ut]);function zt(e){return{get:function(){var t=Kr(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=Kr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}function qt(e){return{get:function(){var t=Kr(this);if(!wr(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=Kr(this);n.cmpProps[e]=t,Be(n,e)},enumerable:!0,configurable:!0}}S(It.prototype,Gt),M(It,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Xt=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Pe((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&Fr(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Ie);function Yt(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=Kr(this);if(r)if(Me.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Xt(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Jt(e){return{get:function(){var t=Kr(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=Kr(this),r=Ft.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Be(n,e))},enumerable:!0,configurable:!0}}function Qt(e){return{get:function(){var t=Kr(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=Kr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}var Zt=new Map;var en={apiMethods:Te,apiFields:Te,apiFieldsConfig:Te,wiredMethods:Te,wiredFields:Te,observedFields:Te};var tn=new Set;function nn(){return[]}tn.add(nn);var rn=k(null),on=k(null);function an(e){var t=rn[e];return J(t)&&(t=rn[e]=function(){var t=Kr(this);return(0,t.getHook)(t.component,e)}),t}function ln(e){var t=on[e];return J(t)&&(t=on[e]=function(t){var n=Kr(this),r=n.setHook;t=Ft.getReadOnlyProxy(t),r(n.component,e,t)}),t}function un(e){return function(){var t=Kr(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function cn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Ze(this,n)&&(this[a]=o)}}}function sn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(R(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),M(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=k(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=k(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[pe(h)]=h,s[h]={get:an(h),set:ln(h),enumerable:!0,configurable:!0}}for(var g=0,y=n.length;g<y;g+=1){var b=n[g];s[b]={value:un(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:cn(o,a)},M(r,"observedAttributes",{get:function(){return[].concat(m(c),m(L(o)))}}),S(r.prototype,s),r}var fn=sn(qe,A(nt),[]);O(fn),j(fn.prototype);var dn=new WeakMap;function vn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Zt.get(e);return J(t)?en:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=x(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(ze(t)){var n=Ue(t);t=n===t?It:n}return t}(e),g=m!==It?pn(m):mn,y=sn(g.bridge,L(o),L(i)),b=E(k(null),g.props,o),w=E(k(null),g.propsConfig,a),C=E(k(null),g.methods,i),M=E(k(null),g.wire,l,u);f=f||g.connectedCallback,d=d||g.disconnectedCallback,v=v||g.renderedCallback,h=h||g.errorCallback,p=p||g.render;var O=g.shadowSupportMode;J(t)||(O=t);var T=g.renderMode;J(n)||(T="light"===n?0:1);var A=function(e){return kr.get(e)}(e)||g.template,P=e.name||g.name;return S(s,c),{ctor:e,name:P,wire:M,props:b,propsConfig:w,methods:C,bridge:y,template:A,renderMode:T,shadowSupportMode:O,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function hn(e){if(!te(e))return!1;if(e.prototype instanceof It)return!0;var t=e;do{if(ze(t)){var n=Ue(t);if(n===t)return!0;t=n}if(t===It)return!0}while(!Q(t)&&(t=x(t)));return!1}function pn(e){var t=dn.get(e);if(J(t)){if(ze(e))return t=pn(Ue(e)),dn.set(e,t),t;if(!hn(e))throw new TypeError("".concat(e,' is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.'));t=vn(e),dn.set(e,t)}return t}var mn={ctor:It,name:It.name,props:Gt,propsConfig:Te,methods:Te,renderMode:1,shadowSupportMode:"reset",wire:Te,bridge:fn,template:nn,render:It.prototype.render};function gn(e){return"".concat(e,"-host")}function yn(e){return rr.h("style",{key:"style",attrs:{type:"text/css"}},[rr.t(e)])}function bn(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(_(i))B.apply(o,bn(i,t,n));else{var l=i.$scoped$,u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Cn(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(u,c,s))}}return o}function wn(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=bn(n,r,e)),o}function Cn(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function En(e){var t=e.cmpTemplate;return e.context.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function kn(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer,a=o.ssr,i=o.insertStylesheet;if(1===n&&1===r)for(var l=0;l<t.length;l++)i(t[l]);else{if(a||e.hydrated)return I.call(t,yn);for(var u=function(e){var t=Cn(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(u)?void 0:u.shadowRoot,s=0;s<t.length;s++)i(t[s],c)}return null}function Sn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return J(a)?(o(e,a=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(r)),a):a}function Mn(e){var t=e.type;return 2===t||3===t}function On(e,t){return e.key===t.key&&e.sel===t.sel}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}function An(e,t,n){var r=t.data.props;if(!J(r)){var o=Q(e)?Te:e.data.props;if(o!==r){var a=Q(e),i=t.elm,l=t.sel,u=n.getProperty,c=n.setProperty;for(var s in r){var f=r[s];(a||f!==(Tn(l,s)?u(i,s):o[s]))&&c(i,s,f)}}}}var xn=k(null);function Pn(e){if(null==e)return Te;e=re(e)?e:e+"";var t=xn[e];if(t)return t;t=k(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),xn[e]=t,t}function Nn(e,t){var n=e.elm,r=e.data.on;if(!J(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Ln(e,t,n,r){var o;o=t,zn.has(o)?function(e,t,n,r){var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],g=!1;for(;l<=c&&u<=v;)Hn(s)?Hn(f)?Hn(h)?Hn(p)?On(s,h)?(jn(s,h,r),s=e[++l],h=t[++u]):On(f,p)?(jn(f,p,r),f=e[--c],p=t[--v]):On(s,p)?(jn(s,p,r),$n(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):On(f,h)?(jn(f,h,r),$n(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=qn(e,l,c)),J(a=o[h.key])?(Rn(h,n,r,s.elm),h=t[++u]):(Hn(i=e[a])&&(i.sel!==h.sel?Rn(h,n,r,s.elm):(jn(i,h,r),g||(g=!0,e=m(e)),e[a]=void 0,$n(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var y,b=v;do{y=t[++b]}while(!Hn(y)&&b<d);_n(t,n,r,Hn(y)?y.elm:null,u,v+1)}else Fn(e,n,r,!0,l,c+1)}(e,t,n,r):function(e,t,n,r){var o=e.length,a=t.length;if(0===o)return void _n(t,n,r,null);if(0===a)return void Fn(e,n,r,!0);for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Hn(u)?Hn(c)?(jn(u,c,r),i=c.elm):Dn(u,n,r,!0):Hn(c)&&(Rn(c,n,r,i),i=c.elm))}}(e,t,n,r)}function jn(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Vn(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){var r=t.elm=e.elm;Gn(e,t,n),Ln(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){var r=t.elm=e.elm,o=t.vm=e.vm;Gn(e,t,n),J(o)||Un(t,o);Ln(e.children,t.children,r,n),J(o)||Fr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function Rn(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);Wn(i,o,r),$n(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);Wn(i,o,r),$n(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);Wn(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));$n(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=Z(i)?de:void 0,c=l(o,u);Wn(c,a,r),function(e,t,n){var r=t.owner;if(Bn(e,r,n),1===r.shadowMode){var o=t.data.context,a=r.context.stylesheetToken;J(o)||J(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),J(a)||In(e,a)}}(c,e,r),e.elm=c,Gn(null,e,r),$n(c,t,n,r),_n(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){var o,a=e.sel,i=e.owner,l=Sn(a,r),u=new l((function(t){o=function(e,t,n){var r=Gr(e);if(!J(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;if(Bn(e,l,n),1===l.shadowMode){var u=l.context.stylesheetToken;J(u)||In(e,u)}return r=Vr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(Wn(u,i,r),e.elm=u,e.vm=o,o)Un(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");Gn(null,e,r),$n(u,t,n,r),o&&Yr(o);_n(e.children,u,r,null),o&&function(e){Ur(e)}(o)}(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function _n(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Hn(i)&&Rn(i,t,n,r)}}function Dn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&Kn(a,t,n),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;Fn(e.children,a,n,l);break;case 3:var u=e.vm;J(u)||Wr(u)}}function Fn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Hn(i)&&Dn(i,t,n,r)}}function Hn(e){return null!=e}function In(e,t){e.$shadowToken$=t}function Bn(e,t,n){var r=En(t);Q(r)||(0,n.getClassList)(e).add(r)}function Wn(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function Vn(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function $n(e,t,n,r){r.insert(e,t,n)}function Kn(e,t,n){n.remove(e,t)}function Gn(e,t,n){Q(e)&&(Nn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!J(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!J(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=g(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Q(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=Pn(o),c=Pn(a);for(i in c)J(u[i])&&l.remove(i);for(i in u)J(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Q(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;re(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!J(r)){var o=Q(e)?Te:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(tt(a,u),58===z.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===z.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Q(c)||J(c)?l(a,u):i(a,u,c),et())}}}}(e,t,n),An(e,t,n)}function Un(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=k(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";Mn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];B.call(c,l)}}if(ee(e.isDirty)){var s=L(r);if(s.length!==L(o).length)return void Or(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 Or(e);for(var h=r[v],p=o[v],m=0,g=o[v].length;m<g;m+=1)if(h[m]!==p[m])return void Or(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var zn=new WeakMap;function qn(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Hn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Xn=Symbol.iterator;function Yn(e){B.call(vr().velements,e)}function Jn(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=vr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Qn(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=vr(),u=n.key,c={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return Yn(c),c}var Zn=new Map,er=0;function tr(e){var t;return t=e,zn.set(t,1),e}var nr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var rr=O({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=vr(),a=o.renderMode,i=o.shadowMode;return 0===a?(tr(n),n):(1===i&&tr(n),Jn("slot",t,n))},h:Jn,c:Qn,i:function(e,t){var n=[];if(tr(n),J(e)||null===e)return n;for(var r=e[Xn](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));_(c)?B.apply(n,c):B.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];tr(n);for(var r=0;r<t;r+=1){var o=e[r];_(o)?B.apply(n,o):B.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:vr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=vr();if(Q(t))throw new Error;var n=t;return function(t){Er(n,e,n.component,t)}},k:function(e,t){switch(w(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:vr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!hn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Zn.get(t);J(o)&&(o=er++,Zn.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Qn(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:vr()}},gid:function(e){var t=vr();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=vr();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 nr(e)}}),or=!1,ar=oe,ir={enableProfiler:function(){or=!0},disableProfiler:function(){or=!1},attachDispatcher:function(e){ar=e,this.enableProfiler()},detachDispatcher:function(){var e=ar;return ar=oe,this.disableProfiler(),e}};function lr(e,t){or&&ar(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ur(e,t){or&&ar(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function cr(e,t){or&&ar(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 sr(e,t){or&&ar(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 fr=!1,dr=null;function vr(){return dr}function hr(e){dr=e}function pr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=k(null);return function(){var n=vr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!J(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!J(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",g=0,y=r.length;g<y;g++)switch(r[g]){case 0:m+=t[g]+v;break;case 1:m+=t[g]+h;break;case 2:m+=t[g]+p;break;case 3:m+=t[g]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var mr=pr((function(e,t){return(0,t.createFragment)(e)})),gr=pr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function yr(e,t){var n=fr,r=dr,o=[];return to(e,e.owner,(function(){dr=e,lr(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)||eo(e),u=t,!tn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=k(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,g=i.stylesheetToken,y=i.hasTokenInClass,b=i.hasTokenInAttribute;J(g)||(y&&s(a).remove(gn(g)),b&&f(a,gn(g))),J(v)||0===v.length||(n=h),J(n)||(m&&(s(a).add(gn(n)),r=!0),p&&(d(a,gn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=wn(e,t);r.styleVNodes=0===l.length?null:kn(e,l)}var u;e.velements=[],fr=!0,o=t.call(void 0,rr,n,a,r.tplCache);var c=r.styleVNodes;Q(c)||$.apply(o,c)}))}),(function(){fr=n,dr=r,ur(1,e)})),o}var br=null;function wr(e){return br===e}function Cr(e,t,n){var r=e.component,o=e.callHook;to(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function Er(e,t,n,r){var o=e.callHook;to(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var kr=new Map;function Sr(e){return new Ie((function(){ee(e.isDirty)&&(Or(e),function(e){if(Z(e.renderer.ssr)||Z(e.isScheduled))return;e.isScheduled=!0,0===qr.length&&Pe(Xr);B.call(qr,e)}(e))}))}function Mr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=vr(),l=!1;return to(e,a,(function(){hr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){hr(i)})),l?yr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Or(e){e.isDirty=!0}var Tr=new WeakMap;function Ar(e,t){if(!te(t))throw new TypeError;var n=Tr.get(t);return J(n)&&(n=function(n){Er(e,t,void 0,n)},Tr.set(t,n)),n}var xr=k(null),Pr=["rendered","connected","disconnected"];function Nr(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var Lr=0,jr=new WeakMap;function Rr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function _r(e,t,n){e[t]=n}function Dr(e,t){return e[t]}function Fr(e){Ur(e)}function Hr(e){var t=Kr(e);cr(7,t),1===t.state&&Ir(e),Yr(t),Ur(t),sr(7,t)}function Ir(e){Br(Kr(e))}function Br(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=xr.disconnected;t&&Nr(e,t);Jr(e)&&function(e){var t=e.context.wiredDisconnecting;to(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)||(lr(5,e),Cr(e,n),ur(5,e))}(e),Qr(e),function(e){Zr(e.aChildren)}(e)}}function Wr(e){Br(e)}function Vr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=pn(t),c={elm:e,def:u,idx:Lr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,children:Ae,aChildren:Ae,velements:Ae,cmpProps:k(null),cmpFields:k(null),cmpSlots:k(null),oar:k(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Te,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Rr,setHook:_r,getHook:Dr,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Me.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Q(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=Sr(c),function(e,t){var n,r=br;lr(0,e),br=e;try{var o=new t;if(br.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(ur(0,e),br=r,!J(n))throw $e(e,n),n}}(c,u.ctor),Jr(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=no.get(i);J(l)||function(){var t=oo(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;B.call(r,(function(){n.connect(),Me.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function $r(e,t){jr.set(e,t)}function Kr(e){return jr.get(e)}function Gr(e){return jr.get(e)}function Ur(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&to(e,e,(function(){lr(2,e)}),(function(){Ln(r,t,n,o)}),(function(){ur(2,e)}));1===e.state&&zr(e)}(e,Mr(e))}function zr(e){var t=e.def.renderedCallback;if(!Z(e.renderer.ssr)){var n=xr.rendered;n&&Nr(e,n),J(t)||(lr(4,e),Cr(e,t),ur(4,e))}}var qr=[];function Xr(){cr(8);var e=qr.sort((function(e,t){return e.idx-t.idx}));qr=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Ur(r)}catch(r){throw t+1<n&&(0===qr.length&&Pe(Xr),$.apply(qr,W.call(e,t+1))),sr(8),r}}sr(8)}function Yr(e){if(1!==e.state){e.state=1;var t=xr.connected;t&&Nr(e,t),Jr(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)||(lr(3,e),Cr(e,n),ur(3,e))}}function Jr(e){return A(e.def.wire).length>0}function Qr(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Gr(r);J(o)||Br(o)}}}function Zr(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:Zr(r.children);break;case 3:Br(Kr(r.elm))}}}function eo(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Q(i)||J(i.elm)||r(i.elm,n)}e.children=Ae,Qr(e),e.velements=Ae}function to(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){$e(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;eo(e),lr(6,e),Cr(i,i.def.errorCallback,[a,a.wcStack]),ur(6,e)}}}var no=new Map,ro=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),S(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function oo(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Be(e,t))}}(e,t):function(e,t){return function(n){to(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);M(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),M(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),to(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Ie((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){to(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=io(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;B.call(i,(function(){var e=new ro(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var ao=new Map;function io(e){return ao.get(e)}function lo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};no.set(e,o)}function uo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};no.set(e,o)}var co=!1;function so(e){co=!1,Yr(e),fo(e),co&&Ge("Hydration completed with errors.",e)}function fo(e){var t=Mr(e);e.children=t;var n=e.renderRoot;ho((0,e.renderer.getFirstChild)(n),t,n,e),zr(e)}function vo(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!go(t,e,3,n))return po(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!go(t,e,8,n))return po(e,t,n);return(0,n.setProperty)(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!go(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!go(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!go(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(Ge("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return po(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:a=function(e,t,n){if(!go(t,e,1,n)||!yo(t,e,n))return po(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!J(o)&&!J(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;J(i)||J(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Re(i,"innerHTML")}))}if(mo(t,n),!a){ho((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!go(t,e,1,n)||!yo(t,e,n))return po(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Vr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,Un(t,l),mo(t,n),Yr(l),0!==l.renderMode){ho((0,n.getFirstChild)(e),t.children,e,l)}return fo(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}function ho(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Q(u)||(o?(o=vo(o,u,i),a=u.elm):(co=!0,Rn(u,n,i,a),a=u.elm))}if(o){co=!0;var c=i.nextSibling;do{var s=o;o=c(o),Kn(s,n,i)}while(o)}}function po(e,t,n){co=!0;var r=(0,n.getProperty)(e,"parentNode");return Rn(t,r,n,e),Kn(e,r,n),t.elm}function mo(e,t){Nn(e,t),An(null,e,t)}function go(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function yo(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=g(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),i=function(e,t,n){var r=e.data,o=e.owner,i=r.className,l=r.classMap,u=n.getProperty,c=n.getClassList,s=En(o);s&&(J(i)?J(l)||(l=Object.assign(Object.assign({},l),a({},s,!0))):i="".concat(s," ").concat(i));var f=!0;if(J(i)||String(i)===u(t,"className")){if(!J(l)){var d=c(t),v="";for(var h in l)v+=" "+h,d.contains(h)||(f=!1);v.trim(),d.length>L(l).length&&(f=!1)}}else f=!1;return f}(e,t,n),l=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(J(o)||o===i){if(!J(a)){for(var u=je(i),c=[],s=0,f=a.length;s<f;s++){var d=g(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];J(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}L(u).length>a.length&&(l=!1),H.call(c,";")}}else l=!1;return l}(e,t,n);return o&&i&&l}var bo=!1;var wo,Co,Eo,ko=te(CSSStyleSheet.prototype.replaceSync)&&_(document.adoptedStyleSheets),So=ko&&T(document.adoptedStyleSheets,"length").writable,Mo=!J(document.documentMode),Oo=new Map;function To(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Ao(e,t,n){var r=function(e,t){var n=t.element;return t.usedElement?Mo?To(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function xo(e,t){var n=Oo.get(e);return J(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Oo.set(e,n)),t&&J(n.stylesheet)?n.stylesheet=function(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&J(n.element)&&(n.element=To(e)),n}function Po(e,t){var n=xo(e,ko),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),ko?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;So?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):Ao(e,t,n)}if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())wo=customElements.get.bind(customElements),Co=customElements.define.bind(customElements),Eo=HTMLElement;else{var No=k(null),Lo=new WeakMap;Co=function(e,t){if(e!==Y.call(e)||No[e])throw new TypeError("Invalid Registration");No[e]=t,Lo.set(t,e)},wo=function(e){return No[e]},(Eo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=Lo.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var jo=!1;function Ro(e){jo=e}var _o=fe.$isNativeShadowRootDefined$,Do=P.call(Element.prototype,"$shadowToken$");var Fo={ssr:!1,isNativeShadowDefined:_o,isSyntheticShadowDefined:Do,HTMLElementExported:Eo,isHydrating:function(){return jo},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return jo&&e.shadowRoot?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){J(t)?function(e){var t=xo(e,!1);t.global||(t.global=!0,Ao(e,document.head,t))}(e):Po(e,t)},assertInstanceOfHTMLElement:function(e,t){C.invariant(e instanceof HTMLElement,t)},defineCustomElement:Co,getCustomElement:wo};function Ho(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function Io(e,t,n){for(var r=Vr(e,t,Fo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=g(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function Bo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(Gr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Ro(!0);var r=Io(e,t,n);so(r),Ro(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),Ho(e,t),Io(e,t,n),Ro(!1),Hr(e)}finally{Ro(!1)}}var Wo=new WeakSet;function Vo(e){var t=function(e){return pn(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(Bo(s(t),e,{}),Wo.add(s(t))):Vr(s(t),e,Fo,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Wo.has(this)?Wo.delete(this):Hr(this)}},{key:"disconnectedCallback",value:function(){Ir(this)}}]),r}(t)}var $o=Node,Ko=new WeakMap,Go=new WeakMap;function Uo(e,t){var n=t.get(e);return J(n)||n(e),e}var zo=$o.prototype,qo=zo.appendChild,Xo=zo.insertBefore,Yo=zo.removeChild,Jo=zo.replaceChild;E($o.prototype,{appendChild:function(e){return Uo(qo.call(this,e),Ko)},insertBefore:function(e,t){return Uo(Xo.call(this,e,t),Ko)},removeChild:function(e){return Uo(Yo.call(this,e),Go)},replaceChild:function(e,t){var n=Jo.call(this,e,t);return Uo(n,Go),Uo(e,Ko),n}});var Qo=Node;var Zo=new Map;return M(It,"CustomElementConstructor",{get:function(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Zo.get(e);return J(t)&&(t=Vo(e),Zo.set(e,t)),t}(this)}}),O(It),j(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=ir,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=io(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){ao.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=Sn(e,Fo),o=!1,a=new r((function(r){Vr(r,n,Fo,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ko.set(r,Hr),Go.set(r,Ir),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=Gr(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=pn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:pe(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Bo,e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Qo))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(x(t),"synthetic")))||Do&&!J(e.$shadowResolver$)},e.parseFragment=mr,e.parseSVGFragment=gr,e.readonly=function(e){return Ft.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<Pr.length;++t){var n=Pr[t];if(n in e){var r=xr[n];J(r)&&(xr[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&kr.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=k(null),s=k(null),f=k(null),d=k(null),v=k(null),h=k(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Yt(p,n)}else n=J(n)||J(n.get)?qt(p):Yt(p,n);s[p]=n,M(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;c[e]=n})),!J(i))for(var g in i){var y=i[g],b=y.adapter,w=y.method,C=y.config,E=y.dynamic,S=void 0===E?[]:E;if(n=T(r,g),1===w){if(J(n))throw new Error;f[g]=n,lo(n,b,C,S)}else n=Qt(g),d[g]=n,uo(n,b,C,S),M(r,g,n)}if(!J(l))for(var O in l)n=T(r,O),n=Jt(O),M(r,O,n);if(!J(u))for(var A=0,x=u.length;A<x;A++){var P=u[A];n=T(r,P);var N=!J(o)&&P in o,L=!J(l)&&P in l;N||L||(v[P]=zt(P))}return function(e,t){Zt.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return tn.add(e),M(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return J(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=J(e)?void 0:e.shadowAttribute}}),e},e.renderer=Fo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Se[e])){var n=L(Se).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Me[e];J(r)?M(Me,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(bo,"Hooks are already overridden, only one definition is allowed."),bo=!0,t=e.sanitizeHtmlContent,nr=t},e.swapComponent=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Ft.getProxy(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
1
|
+
var LWC=function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,k=Object.create,S=Object.defineProperties,M=Object.defineProperty,O=Object.freeze,T=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,x=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,L=Object.keys,j=Object.seal,R=Object.setPrototypeOf,_=Array.isArray,D=Array.prototype,F=D.indexOf,H=D.join,I=D.map,B=D.push,W=D.slice,V=D.splice,$=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===w(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?_(e)?H.call(I.call(e,ie),","):e.toString():"object"===w(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=x(e)}while(null!==e)}var ue=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],ce=function(){var e=k(null),t=k(null);return K.call(ue,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ce.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":w(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),de="http://www.w3.org/2000/svg",ve=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),he=new Map;function pe(e){var t=se[e];if(!J(t))return t;var n=ve.get(e);if(!J(n))return n;var r=he.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return he.set(e,o),o}function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ge=new WeakMap;function ye(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function be(e,t){return{get:function(){var n=ye(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ye(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function we(e){var t=be(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=L(se),Ee=0,ke=Ce.length;Ee<ke;Ee+=1){me(Ut=Ce[Ee])&&we(Ut)}var Se={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:k(null)});var Me=fe.lwcRuntimeFlags;var Oe=[],Te=j(k(null)),Ae=j([]);function xe(){var e=Oe;Oe=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Oe.length&&Promise.resolve().then(xe),B.call(Oe,e)}var Ne=/;(?![^(]*\))/g,Le=/:(.+)/;function je(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(e.split(Ne));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=g(o.split(Le),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}function Re(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var _e=new WeakMap;var De=null;function Fe(e,t){var n=_e.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function He(e,t){if(null!==De){var n=De,r=function(e){var t=_e.get(e);if(J(t)){var n=k(null);t=n,_e.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===F.call(o,n)&&n.link(o)}}var Ie=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=De;De=this;try{e()}catch(e){t=Object(e)}finally{if(De=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=F.call(e[n],this);V.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){B.call(e,this),B.call(this.listeners,e)}}]),e}();function Be(e,t){Fe(e.component,t)}function We(e,t){He(e.component,t)}function Ve(e){return"<".concat(Y.call(e.tagName),">")}function $e(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Ve(n)),n=n.owner;return t.reverse().join("\n\t")}(e);M(t,"wcStack",{get:function(){return n}})}}function Ke(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)B.call(t,n+Ve(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function Ge(e,t){Ke("error",e,t)}function Ue(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ze(e){return te(e)&&P.call(e,"__circular__")}var qe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Xe=qe.prototype;function Ye(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}E(k(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ye("offsetHeight")},offsetLeft:{readOnly:!0,error:Ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ye("offsetTop")},offsetWidth:{readOnly:!0,error:Ye("offsetWidth")},role:{attribute:"role"}});var Je,Qe=null;function Ze(e,t){return e!==Qe||t!==Je}function et(e,t){Qe=null,Je=void 0}function tt(e,t){Qe=e,Je=t}var nt=k(null);K.call(L(se),(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)}));var rt=Array.isArray,ot=Object.prototype,at=Object.getPrototypeOf,it=Object.create,lt=Object.defineProperty,ut=Object.isExtensible,ct=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,dt=Object.preventExtensions,vt=Object.hasOwnProperty,ht=Array.prototype,pt=ht.push,mt=ht.concat;function gt(e){return void 0===e}function yt(e){return"function"==typeof e}var bt=new WeakMap;function wt(e,t){bt.set(e,t)}var Ct=function(e){return bt.get(e)||e},Et=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.wrapGetter(n)),gt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=ct(n,t);if(!gt(r)){var o=this.wrapDescriptor(r);lt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;mt.call(st(n),ft(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;gt(r)||vt.call(e,r)||lt(e,r,it(null)),dt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=gt(n)||vt.call(t,n)?[]:[n];return pt.apply(r,st(t)),pt.apply(r,ft(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ut(e)&&(!!ut(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return at(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=ct(n,t);if(gt(i)){if(t!==a)return;return lt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),kt=new WeakMap,St=new WeakMap,Mt=new WeakMap,Ot=new WeakMap,Tt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=kt.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return kt.set(e,r),Mt.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=St.get(e);if(!gt(t))return t;var n=function(t){e.call(Ct(this),Ct(t))};return St.set(e,n),Ot.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=Ct(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.unwrapGetter(n)),gt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=Mt.get(e);if(!gt(t))return t;var n=this,r=function(){return Ct(e.call(n.wrapValue(this)))};return kt.set(r,e),Mt.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Ot.get(e);if(!gt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return St.set(r,e),Ot.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&rt(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(ut(e)){var t=this.originalTarget;if(dt(t),ut(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!vt.call(r,t)||(lt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Et),At=new WeakMap,xt=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=At.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return At.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=xt.get(e);if(!gt(t))return t;var n=function(e){};return xt.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Et);function Nt(e){if(null===e)return!1;if("object"!==w(e))return!1;if(rt(e))return!0;var t=at(e);return t===ot||null===t||null===at(t)}var Lt=function(e,t){},jt=function(e,t){};function Rt(e){return rt(e)?[]:{}}var _t=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=yt(n)?n:jt,this.valueObserved=yt(r)?r:Lt,this.valueIsObservable=yt(o)?o:Nt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=Ct(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=Ct(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return Ct(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(gt(t)){var n=new Tt(this,e);wt(t=new Proxy(Rt(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(gt(t)){var n=new Pt(this,e);wt(t=new Proxy(Rt(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Dt=Symbol.for("@@lockerLiveValue"),Ft=new _t({valueObserved:He,valueMutated:Fe,tagPropertyKey:Dt});function Ht(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=$r(this);if(!br(t))return We(t,e),n.call(t.elm)},set:function(t){var n=$r(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Be(n,e)),r.call(n.elm,t)}}}var It=function(){if(Q(yr))throw new ReferenceError("Illegal constructor");var e=yr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[Dt]=void 0,Vr(o,e),Vr(n,e),1===e.renderMode?e.renderRoot=Bt(e):e.renderRoot=n,this};function Bt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Vr(l,e),l}It.prototype={constructor:It,dispatchEvent:function(e){var t=$r(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Tr(r,t),n)},removeEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Tr(r,t),n)},hasAttribute:function(e){var t=$r(this),n=t.elm;return!Q((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=$r(this),r=n.elm;return!Q((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.removeAttribute;tt(n,e),r(n,e),et()},removeAttributeNS:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.removeAttribute;tt(r,t),o(r,t,e),et()},getAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=$r(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.setAttribute;tt(r,e),o(r,e,t),et()},setAttributeNS:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.setAttribute;tt(o,t),a(o,t,n,e),et()},getBoundingClientRect:function(){var e=$r(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=$r(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=$r(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return $r(this).shadowRoot},get shadowRoot(){return null},get children(){var e=$r(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=$r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=$r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=$r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=$r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=$r(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return $r(this).def.template},toString:function(){var e=$r(this);return"[object ".concat(e.def.name,"]")}};for(var Wt=k(null),Vt=function(){var e=Kt[$t];Wt[e]={value:function(t){var n=$r(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},$t=0,Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];$t<Kt.length;$t++)Vt();S(It.prototype,Wt);var Gt=k(null);for(var Ut in nt)Gt[Ut]=Ht(Ut,nt[Ut]);function zt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}function qt(e){return{get:function(){var t=$r(this);if(!br(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=$r(this);n.cmpProps[e]=t,Be(n,e)},enumerable:!0,configurable:!0}}S(It.prototype,Gt),M(It,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Xt=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Pe((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&Dr(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Ie);function Yt(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=$r(this);if(r)if(Me.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Xt(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Jt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this),r=Ft.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Be(n,e))},enumerable:!0,configurable:!0}}function Qt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}var Zt=new Map;var en={apiMethods:Te,apiFields:Te,apiFieldsConfig:Te,wiredMethods:Te,wiredFields:Te,observedFields:Te};var tn=new Set;function nn(){return[]}tn.add(nn);var rn=k(null),on=k(null);function an(e){var t=rn[e];return J(t)&&(t=rn[e]=function(){var t=$r(this);return(0,t.getHook)(t.component,e)}),t}function ln(e){var t=on[e];return J(t)&&(t=on[e]=function(t){var n=$r(this),r=n.setHook;t=Ft.getReadOnlyProxy(t),r(n.component,e,t)}),t}function un(e){return function(){var t=$r(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function cn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Ze(this,n)&&(this[a]=o)}}}function sn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(R(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),M(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=k(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=k(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[pe(h)]=h,s[h]={get:an(h),set:ln(h),enumerable:!0,configurable:!0}}for(var g=0,y=n.length;g<y;g+=1){var b=n[g];s[b]={value:un(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:cn(o,a)},M(r,"observedAttributes",{get:function(){return[].concat(m(c),m(L(o)))}}),S(r.prototype,s),r}var fn=sn(qe,A(nt),[]);O(fn),j(fn.prototype);var dn=new WeakMap;function vn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Zt.get(e);return J(t)?en:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=x(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(ze(t)){var n=Ue(t);t=n===t?It:n}return t}(e),g=m!==It?pn(m):mn,y=sn(g.bridge,L(o),L(i)),b=E(k(null),g.props,o),w=E(k(null),g.propsConfig,a),C=E(k(null),g.methods,i),M=E(k(null),g.wire,l,u);f=f||g.connectedCallback,d=d||g.disconnectedCallback,v=v||g.renderedCallback,h=h||g.errorCallback,p=p||g.render;var O=g.shadowSupportMode;J(t)||(O=t);var T=g.renderMode;J(n)||(T="light"===n?0:1);var A=function(e){return Er.get(e)}(e)||g.template,P=e.name||g.name;return S(s,c),{ctor:e,name:P,wire:M,props:b,propsConfig:w,methods:C,bridge:y,template:A,renderMode:T,shadowSupportMode:O,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function hn(e){if(!te(e))return!1;if(e.prototype instanceof It)return!0;var t=e;do{if(ze(t)){var n=Ue(t);if(n===t)return!0;t=n}if(t===It)return!0}while(!Q(t)&&(t=x(t)));return!1}function pn(e){var t=dn.get(e);if(J(t)){if(ze(e))return t=pn(Ue(e)),dn.set(e,t),t;if(!hn(e))throw new TypeError("".concat(e,' is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.'));t=vn(e),dn.set(e,t)}return t}var mn={ctor:It,name:It.name,props:Gt,propsConfig:Te,methods:Te,renderMode:1,shadowSupportMode:"reset",wire:Te,bridge:fn,template:nn,render:It.prototype.render};function gn(e){return"".concat(e,"-host")}function yn(e){return nr.h("style",{key:"style",attrs:{type:"text/css"}},[nr.t(e)])}function bn(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(_(i))B.apply(o,bn(i,t,n));else{var l=i.$scoped$,u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Cn(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(u,c,s))}}return o}function wn(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=bn(n,r,e)),o}function Cn(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function En(e){var t=e.cmpTemplate;return e.context.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function kn(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer,a=o.ssr,i=o.insertStylesheet;if(1===n&&1===r)for(var l=0;l<t.length;l++)i(t[l]);else{if(a||e.hydrated)return I.call(t,yn);for(var u=function(e){var t=Cn(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(u)?void 0:u.shadowRoot,s=0;s<t.length;s++)i(t[s],c)}return null}function Sn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return J(a)?(o(e,a=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(r)),a):a}function Mn(e){var t=e.type;return 2===t||3===t}function On(e,t){return e.key===t.key&&e.sel===t.sel}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}function An(e,t,n){var r=t.data.props;if(!J(r)){var o=Q(e)?Te:e.data.props;if(o!==r){var a=Q(e),i=t.elm,l=t.sel,u=n.getProperty,c=n.setProperty;for(var s in r){var f=r[s];(a||f!==(Tn(l,s)?u(i,s):o[s]))&&c(i,s,f)}}}}var xn=k(null);function Pn(e){if(null==e)return Te;e=re(e)?e:e+"";var t=xn[e];if(t)return t;t=k(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),xn[e]=t,t}function Nn(e,t){var n=e.elm,r=e.data.on;if(!J(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Ln(e,t,n,r){var o;o=t,Un.has(o)?function(e,t,n,r){var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],g=!1;for(;l<=c&&u<=v;)Hn(s)?Hn(f)?Hn(h)?Hn(p)?On(s,h)?(jn(s,h,r),s=e[++l],h=t[++u]):On(f,p)?(jn(f,p,r),f=e[--c],p=t[--v]):On(s,p)?(jn(s,p,r),Wn(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):On(f,h)?(jn(f,h,r),Wn(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=zn(e,l,c)),J(a=o[h.key])?(Rn(h,n,r,s.elm),h=t[++u]):(Hn(i=e[a])&&(i.sel!==h.sel?Rn(h,n,r,s.elm):(jn(i,h,r),g||(g=!0,e=m(e)),e[a]=void 0,Wn(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var y,b=v;do{y=t[++b]}while(!Hn(y)&&b<d);_n(t,n,r,Hn(y)?y.elm:null,u,v+1)}else Fn(e,n,r,!0,l,c+1)}(e,t,n,r):function(e,t,n,r){var o=e.length,a=t.length;if(0===o)return void _n(t,n,r,null);if(0===a)return void Fn(e,n,r,!0);for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Hn(u)?Hn(c)?(jn(u,c,r),i=c.elm):Dn(u,n,r,!0):Hn(c)&&(Rn(c,n,r,i),i=c.elm))}}(e,t,n,r)}function jn(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Bn(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){var r=t.elm=e.elm;$n(e,t,n),Ln(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){var r=t.elm=e.elm,o=t.vm=e.vm;$n(e,t,n),J(o)||Gn(t,o);Ln(e.children,t.children,r,n),J(o)||Dr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function Rn(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);In(i,o,r),Wn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);In(i,o,r),Wn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);In(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));Wn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=Z(i)?de:void 0,c=e.elm=l(o,u);In(c,a,r),Kn(c,a,r),function(e,t){var n,r=t.owner,o=t.data.context;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),$n(null,e,r),Wn(c,t,n,r),_n(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){var o,a=e.sel,i=e.owner,l=Sn(a,r),u=new l((function(t){o=function(e,t,n){var r=Kr(e);if(!J(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;return r=Wr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(e.elm=u,e.vm=o,In(u,i,r),Kn(u,i,r),o)Gn(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");$n(null,e,r),Wn(u,t,n,r),o&&Xr(o);_n(e.children,u,r,null),o&&function(e){Gr(e)}(o)}(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function _n(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Hn(i)&&Rn(i,t,n,r)}}function Dn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&Vn(a,t,n),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;Fn(e.children,a,n,l);break;case 3:var u=e.vm;J(u)||Br(u)}}function Fn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Hn(i)&&Dn(i,t,n,r)}}function Hn(e){return null!=e}function In(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function Bn(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function Wn(e,t,n,r){r.insert(e,t,n)}function Vn(e,t,n){n.remove(e,t)}function $n(e,t,n){Q(e)&&(Nn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!J(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!J(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=g(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Q(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=Pn(o),c=Pn(a);for(i in c)J(u[i])&&l.remove(i);for(i in u)J(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Q(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;re(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!J(r)){var o=Q(e)?Te:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(tt(a,u),58===z.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===z.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Q(c)||J(c)?l(a,u):i(a,u,c),et())}}}}(e,t,n),An(e,t,n)}function Kn(e,t,n){var r=En(t);Q(r)||(0,n.getClassList)(e).add(r);var o=t.context.stylesheetToken;1!==t.shadowMode||J(o)||(e.$shadowToken$=o)}function Gn(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=k(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";Mn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];B.call(c,l)}}if(ee(e.isDirty)){var s=L(r);if(s.length!==L(o).length)return void Mr(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void Mr(e);for(var h=r[v],p=o[v],m=0,g=o[v].length;m<g;m+=1)if(h[m]!==p[m])return void Mr(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var Un=new WeakMap;function zn(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Hn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var qn=Symbol.iterator;function Xn(e){B.call(dr().velements,e)}function Yn(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=dr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Jn(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=dr(),u=n.key,c={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return Xn(c),c}var Qn=new Map,Zn=0;function er(e){var t;return t=e,Un.set(t,1),e}var tr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var nr=O({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=dr(),a=o.renderMode,i=o.shadowMode;return 0===a?(er(n),n):(1===i&&er(n),Yn("slot",t,n))},h:Yn,c:Jn,i:function(e,t){var n=[];if(er(n),J(e)||null===e)return n;for(var r=e[qn](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));_(c)?B.apply(n,c):B.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];er(n);for(var r=0;r<t;r+=1){var o=e[r];_(o)?B.apply(n,o):B.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=dr();if(Q(t))throw new Error;var n=t;return function(t){Cr(n,e,n.component,t)}},k:function(e,t){switch(w(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!hn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Qn.get(t);J(o)&&(o=Zn++,Qn.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Jn(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:dr()}},gid:function(e){var t=dr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=dr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return tr(e)}}),rr=!1,or=oe,ar={enableProfiler:function(){rr=!0},disableProfiler:function(){rr=!1},attachDispatcher:function(e){or=e,this.enableProfiler()},detachDispatcher:function(){var e=or;return or=oe,this.disableProfiler(),e}};function ir(e,t){rr&&or(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function lr(e,t){rr&&or(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ur(e,t){rr&&or(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function cr(e,t){rr&&or(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}var sr=!1,fr=null;function dr(){return fr}function vr(e){fr=e}function hr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=k(null);return function(){var n=dr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!J(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!J(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",g=0,y=r.length;g<y;g++)switch(r[g]){case 0:m+=t[g]+v;break;case 1:m+=t[g]+h;break;case 2:m+=t[g]+p;break;case 3:m+=t[g]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var pr=hr((function(e,t){return(0,t.createFragment)(e)})),mr=hr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function gr(e,t){var n=sr,r=fr,o=[];return eo(e,e.owner,(function(){fr=e,ir(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Zr(e),u=t,!tn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=k(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,g=i.stylesheetToken,y=i.hasTokenInClass,b=i.hasTokenInAttribute;J(g)||(y&&s(a).remove(gn(g)),b&&f(a,gn(g))),J(v)||0===v.length||(n=h),J(n)||(m&&(s(a).add(gn(n)),r=!0),p&&(d(a,gn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=wn(e,t);r.styleVNodes=0===l.length?null:kn(e,l)}var u;e.velements=[],sr=!0,o=t.call(void 0,nr,n,a,r.tplCache);var c=r.styleVNodes;Q(c)||$.apply(o,c)}))}),(function(){sr=n,fr=r,lr(1,e)})),o}var yr=null;function br(e){return yr===e}function wr(e,t,n){var r=e.component,o=e.callHook;eo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function Cr(e,t,n,r){var o=e.callHook;eo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var Er=new Map;function kr(e){return new Ie((function(){ee(e.isDirty)&&(Mr(e),function(e){if(Z(e.renderer.ssr)||Z(e.isScheduled))return;e.isScheduled=!0,0===zr.length&&Pe(qr);B.call(zr,e)}(e))}))}function Sr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=dr(),l=!1;return eo(e,a,(function(){vr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){vr(i)})),l?gr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Mr(e){e.isDirty=!0}var Or=new WeakMap;function Tr(e,t){if(!te(t))throw new TypeError;var n=Or.get(t);return J(n)&&(n=function(n){Cr(e,t,void 0,n)},Or.set(t,n)),n}var Ar=k(null),xr=["rendered","connected","disconnected"];function Pr(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var Nr=0,Lr=new WeakMap;function jr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function Rr(e,t,n){e[t]=n}function _r(e,t){return e[t]}function Dr(e){Gr(e)}function Fr(e){var t=$r(e);ur(7,t),1===t.state&&Hr(e),Xr(t),Gr(t),cr(7,t)}function Hr(e){Ir($r(e))}function Ir(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=Ar.disconnected;t&&Pr(e,t);Yr(e)&&function(e){var t=e.context.wiredDisconnecting;eo(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(ir(5,e),wr(e,n),lr(5,e))}(e),Jr(e),function(e){Qr(e.aChildren)}(e)}}function Br(e){Ir(e)}function Wr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=pn(t),c={elm:e,def:u,idx:Nr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,children:Ae,aChildren:Ae,velements:Ae,cmpProps:k(null),cmpFields:k(null),cmpSlots:k(null),oar:k(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Te,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:jr,setHook:Rr,getHook:_r,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Me.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Q(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=kr(c),function(e,t){var n,r=yr;ir(0,e),yr=e;try{var o=new t;if(yr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(lr(0,e),yr=r,!J(n))throw $e(e,n),n}}(c,u.ctor),Yr(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=to.get(i);J(l)||function(){var t=ro(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;B.call(r,(function(){n.connect(),Me.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Vr(e,t){Lr.set(e,t)}function $r(e){return Lr.get(e)}function Kr(e){return Lr.get(e)}function Gr(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&eo(e,e,(function(){ir(2,e)}),(function(){Ln(r,t,n,o)}),(function(){lr(2,e)}));1===e.state&&Ur(e)}(e,Sr(e))}function Ur(e){var t=e.def.renderedCallback;if(!Z(e.renderer.ssr)){var n=Ar.rendered;n&&Pr(e,n),J(t)||(ir(4,e),wr(e,t),lr(4,e))}}var zr=[];function qr(){ur(8);var e=zr.sort((function(e,t){return e.idx-t.idx}));zr=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Gr(r)}catch(r){throw t+1<n&&(0===zr.length&&Pe(qr),$.apply(zr,W.call(e,t+1))),cr(8),r}}cr(8)}function Xr(e){if(1!==e.state){e.state=1;var t=Ar.connected;t&&Pr(e,t),Yr(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;J(n)||(ir(3,e),wr(e,n),lr(3,e))}}function Yr(e){return A(e.def.wire).length>0}function Jr(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Kr(r);J(o)||Ir(o)}}}function Qr(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Qr(r.children);break;case 3:Ir($r(r.elm))}}}function Zr(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Q(i)||J(i.elm)||r(i.elm,n)}e.children=Ae,Jr(e),e.velements=Ae}function eo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){$e(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Zr(e),ir(6,e),wr(i,i.def.errorCallback,[a,a.wcStack]),lr(6,e)}}}var to=new Map,no=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),S(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function ro(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Be(e,t))}}(e,t):function(e,t){return function(n){eo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);M(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),M(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),eo(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Ie((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){eo(e,e,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=ao(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;B.call(i,(function(){var e=new no(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var oo=new Map;function ao(e){return oo.get(e)}function io(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};to.set(e,o)}function lo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};to.set(e,o)}var uo=!1;function co(e){uo=!1,Xr(e),so(e),uo&&Ge("Hydration completed with errors.",e)}function so(e){var t=Sr(e);e.children=t;var n=e.renderRoot;vo((0,e.renderer.getFirstChild)(n),t,n,e),Ur(e)}function fo(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!mo(t,e,3,n))return ho(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!mo(t,e,8,n))return ho(e,t,n);return(0,n.setProperty)(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!mo(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!mo(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!mo(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(Ge("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return ho(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!J(o)&&!J(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;J(i)||J(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Re(i,"innerHTML")}))}if(po(t,n),!a){vo((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Wr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,Gn(t,l),po(t,n),Xr(l),0!==l.renderMode){vo((0,n.getFirstChild)(e),t.children,e,l)}return so(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}function vo(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Q(u)||(o?(o=fo(o,u,i),a=u.elm):(uo=!0,Rn(u,n,i,a),a=u.elm))}if(o){uo=!0;var c=i.nextSibling;do{var s=o;o=c(o),Vn(s,n,i)}while(o)}}function ho(e,t,n){uo=!0;var r=(0,n.getProperty)(e,"parentNode");return Rn(t,r,n,e),Vn(e,r,n),t.elm}function po(e,t){Nn(e,t),An(null,e,t)}function mo(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function go(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=g(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),i=function(e,t,n){var r=e.data,o=e.owner,i=r.className,l=r.classMap,u=n.getProperty,c=n.getClassList,s=En(o);s&&(J(i)?J(l)||(l=Object.assign(Object.assign({},l),a({},s,!0))):i="".concat(s," ").concat(i));var f=!0;if(J(i)||String(i)===u(t,"className")){if(!J(l)){var d=c(t),v="";for(var h in l)v+=" "+h,d.contains(h)||(f=!1);v.trim(),d.length>L(l).length&&(f=!1)}}else f=!1;return f}(e,t,n),l=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(J(o)||o===i){if(!J(a)){for(var u=je(i),c=[],s=0,f=a.length;s<f;s++){var d=g(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];J(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}L(u).length>a.length&&(l=!1),H.call(c,";")}}else l=!1;return l}(e,t,n);return o&&i&&l}var yo=!1;var bo,wo,Co,Eo=te(CSSStyleSheet.prototype.replaceSync)&&_(document.adoptedStyleSheets),ko=Eo&&T(document.adoptedStyleSheets,"length").writable,So=!J(document.documentMode),Mo=new Map;function Oo(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function To(e,t,n){var r=function(e,t){var n=t.element;return t.usedElement?So?Oo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Ao(e,t){var n=Mo.get(e);return J(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Mo.set(e,n)),t&&J(n.stylesheet)?n.stylesheet=function(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&J(n.element)&&(n.element=Oo(e)),n}function xo(e,t){var n=Ao(e,Eo),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Eo?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;ko?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):To(e,t,n)}if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())bo=customElements.get.bind(customElements),wo=customElements.define.bind(customElements),Co=HTMLElement;else{var Po=k(null),No=new WeakMap;wo=function(e,t){if(e!==Y.call(e)||Po[e])throw new TypeError("Invalid Registration");Po[e]=t,No.set(t,e)},bo=function(e){return Po[e]},(Co=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=No.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var Lo=!1;function jo(e){Lo=e}var Ro=fe.$isNativeShadowRootDefined$,_o=P.call(Element.prototype,"$shadowToken$");var Do={ssr:!1,isNativeShadowDefined:Ro,isSyntheticShadowDefined:_o,HTMLElementExported:Co,isHydrating:function(){return Lo},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return Lo&&e.shadowRoot?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){J(t)?function(e){var t=Ao(e,!1);t.global||(t.global=!0,To(e,document.head,t))}(e):xo(e,t)},assertInstanceOfHTMLElement:function(e,t){C.invariant(e instanceof HTMLElement,t)},defineCustomElement:wo,getCustomElement:bo};function Fo(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function Ho(e,t,n){for(var r=Wr(e,t,Do,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=g(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function Io(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(Kr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{jo(!0);var r=Ho(e,t,n);co(r),jo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),Fo(e,t),Ho(e,t,n),jo(!1),Fr(e)}finally{jo(!1)}}var Bo=new WeakSet;function Wo(e){var t=function(e){return pn(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(Io(s(t),e,{}),Bo.add(s(t))):Wr(s(t),e,Do,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Bo.has(this)?Bo.delete(this):Fr(this)}},{key:"disconnectedCallback",value:function(){Hr(this)}}]),r}(t)}var Vo=Node,$o=new WeakMap,Ko=new WeakMap;function Go(e,t){var n=t.get(e);return J(n)||n(e),e}var Uo=Vo.prototype,zo=Uo.appendChild,qo=Uo.insertBefore,Xo=Uo.removeChild,Yo=Uo.replaceChild;E(Vo.prototype,{appendChild:function(e){return Go(zo.call(this,e),$o)},insertBefore:function(e,t){return Go(qo.call(this,e,t),$o)},removeChild:function(e){return Go(Xo.call(this,e),Ko)},replaceChild:function(e,t){var n=Yo.call(this,e,t);return Go(n,Ko),Go(e,$o),n}});var Jo=Node;var Qo=new Map;return M(It,"CustomElementConstructor",{get:function(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Qo.get(e);return J(t)&&(t=Wo(e),Qo.set(e,t)),t}(this)}}),O(It),j(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=ar,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=ao(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){oo.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=Sn(e,Do),o=!1,a=new r((function(r){Wr(r,n,Do,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),$o.set(r,Fr),Ko.set(r,Hr),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=Kr(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=pn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:pe(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Io,e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Jo))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(x(t),"synthetic")))||_o&&!J(e.$shadowResolver$)},e.parseFragment=pr,e.parseSVGFragment=mr,e.readonly=function(e){return Ft.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<xr.length;++t){var n=xr[t];if(n in e){var r=Ar[n];J(r)&&(Ar[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&Er.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=k(null),s=k(null),f=k(null),d=k(null),v=k(null),h=k(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Yt(p,n)}else n=J(n)||J(n.get)?qt(p):Yt(p,n);s[p]=n,M(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;c[e]=n})),!J(i))for(var g in i){var y=i[g],b=y.adapter,w=y.method,C=y.config,E=y.dynamic,S=void 0===E?[]:E;if(n=T(r,g),1===w){if(J(n))throw new Error;f[g]=n,io(n,b,C,S)}else n=Qt(g),d[g]=n,lo(n,b,C,S),M(r,g,n)}if(!J(l))for(var O in l)n=T(r,O),n=Jt(O),M(r,O,n);if(!J(u))for(var A=0,x=u.length;A<x;A++){var P=u[A];n=T(r,P);var N=!J(o)&&P in o,L=!J(l)&&P in l;N||L||(v[P]=zt(P))}return function(e,t){Zt.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return tn.add(e),M(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return J(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=J(e)?void 0:e.shadowAttribute}}),e},e.renderer=Do,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Se[e])){var n=L(Se).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Me[e];J(r)?M(Me,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(yo,"Hooks are already overridden, only one definition is allowed."),yo=!0,t=e.sanitizeHtmlContent,tr=t},e.swapComponent=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Ft.getProxy(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
@@ -346,7 +346,7 @@ var LWC = (function (exports) {
|
|
|
346
346
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
347
347
|
return attributeName;
|
|
348
348
|
}
|
|
349
|
-
/** version: 2.
|
|
349
|
+
/** version: 2.21.1 */
|
|
350
350
|
|
|
351
351
|
/*
|
|
352
352
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3621,10 +3621,10 @@ var LWC = (function (exports) {
|
|
|
3621
3621
|
svg = vnode.data.svg;
|
|
3622
3622
|
var createElement = renderer.createElement;
|
|
3623
3623
|
var namespace = isTrue(svg) ? SVG_NAMESPACE : undefined;
|
|
3624
|
-
var elm = createElement(sel, namespace);
|
|
3624
|
+
var elm = vnode.elm = createElement(sel, namespace);
|
|
3625
3625
|
linkNodeToShadow(elm, owner, renderer);
|
|
3626
|
-
|
|
3627
|
-
|
|
3626
|
+
applyStyleScoping(elm, owner, renderer);
|
|
3627
|
+
applyDomManual(elm, vnode);
|
|
3628
3628
|
patchElementPropsAndAttrs$1(null, vnode, renderer);
|
|
3629
3629
|
insertNode(elm, parent, anchor, renderer);
|
|
3630
3630
|
mountVNodes(vnode.children, elm, renderer, null);
|
|
@@ -3641,7 +3641,7 @@ var LWC = (function (exports) {
|
|
|
3641
3641
|
var cloneNode = renderer.cloneNode,
|
|
3642
3642
|
isSyntheticShadowDefined = renderer.isSyntheticShadowDefined;
|
|
3643
3643
|
var elm = vnode.elm = cloneNode(vnode.fragment, true);
|
|
3644
|
-
linkNodeToShadow(elm, owner, renderer);
|
|
3644
|
+
linkNodeToShadow(elm, owner, renderer);
|
|
3645
3645
|
|
|
3646
3646
|
var renderMode = owner.renderMode,
|
|
3647
3647
|
shadowMode = owner.shadowMode;
|
|
@@ -3675,9 +3675,10 @@ var LWC = (function (exports) {
|
|
|
3675
3675
|
// the custom element from the registry is expecting an upgrade callback
|
|
3676
3676
|
vm = createViewModelHook(elm, vnode, renderer);
|
|
3677
3677
|
});
|
|
3678
|
-
linkNodeToShadow(elm, owner, renderer);
|
|
3679
3678
|
vnode.elm = elm;
|
|
3680
3679
|
vnode.vm = vm;
|
|
3680
|
+
linkNodeToShadow(elm, owner, renderer);
|
|
3681
|
+
applyStyleScoping(elm, owner, renderer);
|
|
3681
3682
|
|
|
3682
3683
|
if (vm) {
|
|
3683
3684
|
allocateChildren(vnode, vm);
|
|
@@ -3794,26 +3795,6 @@ var LWC = (function (exports) {
|
|
|
3794
3795
|
return vnode != null;
|
|
3795
3796
|
}
|
|
3796
3797
|
|
|
3797
|
-
function observeElementChildNodes(elm) {
|
|
3798
|
-
elm.$domManual$ = true;
|
|
3799
|
-
}
|
|
3800
|
-
|
|
3801
|
-
function setElementShadowToken(elm, token) {
|
|
3802
|
-
elm.$shadowToken$ = token;
|
|
3803
|
-
} // Set the scope token class for *.scoped.css styles
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
function setScopeTokenClassIfNecessary(elm, owner, renderer) {
|
|
3807
|
-
var token = getScopeTokenClass(owner);
|
|
3808
|
-
|
|
3809
|
-
if (!isNull(token)) {
|
|
3810
|
-
var _getClassList = renderer.getClassList; // TODO [#2762]: this dot notation with add is probably problematic
|
|
3811
|
-
// probably we should have a renderer api for just the add operation
|
|
3812
|
-
|
|
3813
|
-
_getClassList(elm).add(token);
|
|
3814
|
-
}
|
|
3815
|
-
}
|
|
3816
|
-
|
|
3817
3798
|
function linkNodeToShadow(elm, owner, renderer) {
|
|
3818
3799
|
var renderRoot = owner.renderRoot,
|
|
3819
3800
|
renderMode = owner.renderMode,
|
|
@@ -3864,28 +3845,39 @@ var LWC = (function (exports) {
|
|
|
3864
3845
|
patchProps(oldVnode, vnode, renderer);
|
|
3865
3846
|
}
|
|
3866
3847
|
|
|
3867
|
-
function
|
|
3868
|
-
|
|
3869
|
-
|
|
3848
|
+
function applyStyleScoping(elm, owner, renderer) {
|
|
3849
|
+
// Set the class name for `*.scoped.css` style scoping.
|
|
3850
|
+
var scopeToken = getScopeTokenClass(owner);
|
|
3851
|
+
|
|
3852
|
+
if (!isNull(scopeToken)) {
|
|
3853
|
+
var _getClassList = renderer.getClassList; // TODO [#2762]: this dot notation with add is probably problematic
|
|
3854
|
+
// probably we should have a renderer api for just the add operation
|
|
3855
|
+
|
|
3856
|
+
_getClassList(elm).add(scopeToken);
|
|
3857
|
+
} // Set property element for synthetic shadow DOM style scoping.
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
var syntheticToken = owner.context.stylesheetToken;
|
|
3870
3861
|
|
|
3871
3862
|
if (owner.shadowMode === 1
|
|
3872
3863
|
/* ShadowMode.Synthetic */
|
|
3873
|
-
) {
|
|
3874
|
-
|
|
3875
|
-
|
|
3864
|
+
&& !isUndefined$1(syntheticToken)) {
|
|
3865
|
+
elm.$shadowToken$ = syntheticToken;
|
|
3866
|
+
}
|
|
3867
|
+
}
|
|
3876
3868
|
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
) {
|
|
3880
|
-
// this element will now accept any manual content inserted into it
|
|
3881
|
-
observeElementChildNodes(elm);
|
|
3882
|
-
}
|
|
3869
|
+
function applyDomManual(elm, vnode) {
|
|
3870
|
+
var _a;
|
|
3883
3871
|
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3872
|
+
var owner = vnode.owner,
|
|
3873
|
+
context = vnode.data.context;
|
|
3874
|
+
|
|
3875
|
+
if (owner.shadowMode === 1
|
|
3876
|
+
/* ShadowMode.Synthetic */
|
|
3877
|
+
&& ((_a = context === null || context === void 0 ? void 0 : context.lwc) === null || _a === void 0 ? void 0 : _a.dom) === "manual"
|
|
3878
|
+
/* LwcDomMode.Manual */
|
|
3879
|
+
) {
|
|
3880
|
+
elm.$domManual$ = true;
|
|
3889
3881
|
}
|
|
3890
3882
|
}
|
|
3891
3883
|
|
|
@@ -3932,19 +3924,6 @@ var LWC = (function (exports) {
|
|
|
3932
3924
|
mode = vnode.mode,
|
|
3933
3925
|
ctor = vnode.ctor,
|
|
3934
3926
|
owner = vnode.owner;
|
|
3935
|
-
setScopeTokenClassIfNecessary(elm, owner, renderer);
|
|
3936
|
-
|
|
3937
|
-
if (owner.shadowMode === 1
|
|
3938
|
-
/* ShadowMode.Synthetic */
|
|
3939
|
-
) {
|
|
3940
|
-
var stylesheetToken = owner.context.stylesheetToken; // when running in synthetic shadow mode, we need to set the shadowToken value
|
|
3941
|
-
// into each element from the template, so they can be styled accordingly.
|
|
3942
|
-
|
|
3943
|
-
if (!isUndefined$1(stylesheetToken)) {
|
|
3944
|
-
setElementShadowToken(elm, stylesheetToken);
|
|
3945
|
-
}
|
|
3946
|
-
}
|
|
3947
|
-
|
|
3948
3927
|
vm = createVM(elm, ctor, renderer, {
|
|
3949
3928
|
mode: mode,
|
|
3950
3929
|
owner: owner,
|
|
@@ -6482,7 +6461,7 @@ var LWC = (function (exports) {
|
|
|
6482
6461
|
|
|
6483
6462
|
return ctor;
|
|
6484
6463
|
}
|
|
6485
|
-
/* version: 2.
|
|
6464
|
+
/* version: 2.21.1 */
|
|
6486
6465
|
|
|
6487
6466
|
/*
|
|
6488
6467
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7289,7 +7268,7 @@ var LWC = (function (exports) {
|
|
|
7289
7268
|
});
|
|
7290
7269
|
freeze(LightningElement);
|
|
7291
7270
|
seal(LightningElement.prototype);
|
|
7292
|
-
/* version: 2.
|
|
7271
|
+
/* version: 2.21.1 */
|
|
7293
7272
|
|
|
7294
7273
|
exports.LightningElement = LightningElement;
|
|
7295
7274
|
exports.__unstable__ProfilerControl = profilerControl;
|