lwc 2.50.0 → 3.0.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/README.md +18 -8
- package/aria-reflection.d.ts +7 -0
- package/aria-reflection.js +7 -0
- package/babel-plugin-component.d.ts +7 -0
- package/babel-plugin-component.js +7 -0
- package/compiler.d.ts +7 -0
- package/compiler.js +7 -0
- package/engine-core.d.ts +7 -0
- package/engine-core.js +7 -0
- package/engine-dom.d.ts +7 -0
- package/engine-dom.js +7 -0
- package/engine-server.d.ts +7 -0
- package/engine-server.js +7 -0
- package/errors.d.ts +7 -0
- package/errors.js +7 -0
- package/features.d.ts +7 -0
- package/features.js +7 -0
- package/{types.d.ts → index.d.ts} +1 -1
- package/index.js +2 -85
- package/module-resolver.d.ts +7 -0
- package/module-resolver.js +7 -0
- package/package.json +42 -29
- package/rollup-plugin.d.ts +7 -0
- package/rollup-plugin.js +7 -0
- package/shared.d.ts +7 -0
- package/shared.js +7 -0
- package/style-compiler.d.ts +7 -0
- package/style-compiler.js +7 -0
- package/synthetic-shadow.d.ts +7 -0
- package/synthetic-shadow.js +7 -0
- package/template-compiler.d.ts +7 -0
- package/template-compiler.js +7 -0
- package/wire-service.d.ts +7 -0
- package/wire-service.js +7 -0
- package/dist/engine-dom/esm/es2017/engine-dom.js +0 -8391
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +0 -8429
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +0 -2
- package/dist/engine-dom/iife/es2017/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +0 -6912
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +0 -8815
- package/dist/engine-dom/iife/es5/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +0 -2
- package/dist/engine-dom/iife/es5/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +0 -7325
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +0 -8430
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +0 -2
- package/dist/engine-dom/umd/es2017/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +0 -6913
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +0 -8816
- package/dist/engine-dom/umd/es5/engine-dom.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +0 -2
- package/dist/engine-dom/umd/es5/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +0 -7326
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +0 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +0 -14541
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +0 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +0 -2
- package/dist/engine-server/commonjs/es2017/engine-server.min.js.map +0 -1
- package/dist/engine-server/esm/es2017/engine-server.js +0 -14517
- package/dist/engine-server/esm/es2017/engine-server.js.map +0 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +0 -4757
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +0 -4762
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +0 -4574
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +0 -4737
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +0 -4538
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +0 -4764
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +0 -4576
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +0 -4739
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +0 -4540
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +0 -1
- package/dist/wire-service/esm/es2017/wire-service.js +0 -195
- package/dist/wire-service/esm/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service.js +0 -204
- package/dist/wire-service/iife/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service.min.js +0 -2
- package/dist/wire-service/iife/es2017/wire-service.min.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +0 -204
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service.js +0 -247
- package/dist/wire-service/iife/es5/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service.min.js +0 -2
- package/dist/wire-service/iife/es5/wire-service.min.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +0 -247
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service.js +0 -205
- package/dist/wire-service/umd/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service.min.js +0 -2
- package/dist/wire-service/umd/es2017/wire-service.min.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +0 -205
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service.js +0 -248
- package/dist/wire-service/umd/es5/wire-service.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service.min.js +0 -2
- package/dist/wire-service/umd/es5/wire-service.min.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +0 -248
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,every:y,fill:b,filter:v,find:C,findIndex:E,includes:S,indexOf:M,join:k,map:T,pop:A,push:N,reduce:L,reverse:x,shift:_,slice:O,some:P,sort:R,splice:D,unshift:F,forEach:$}=Array.prototype;const{fromCharCode:I}=String,{charCodeAt:H,replace:W,split:B,slice:V,toLowerCase:j}=String.prototype;function G(e){return void 0===e}function U(e){return null===e}function Y(e){return!0===e}function K(e){return!1===e}function z(e){return"function"==typeof e}function q(e){return"object"==typeof e}function X(e){return"string"==typeof e}function J(){}const Z={}.toString;function Q(e){return e&&e.toString?m(e)?k.call(T.call(e,Q),","):e.toString():"object"==typeof e?Z.call(e):e+""}function ee(e,t){do{const n=l(e,t);if(!G(n))return n;e=a(e)}while(null!==e)}const te=["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"],{AriaAttrNameToPropNameMap:ne,AriaPropNameToAttrNameMap:re}=(()=>{const e=r(null),t=r(null);return $.call(te,(n=>{const r=j.call(W.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),oe=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ie="object"==typeof globalThis?globalThis:window,se="$shadowResolver$",le="$shadowStaticNode$",ce="$shadowToken$",ae="$$lwc-synthetic-mode",ue="$scoped$",de="$nativeGetElementById$",fe="$nativeQuerySelectorAll$",he="http://www.w3.org/XML/1998/namespace",pe="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xlink",ge=/-([a-z])/g,we=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"]]),ye=new Map;function be(e){const t=re[e];if(!G(t))return t;const n=we.get(e);if(!G(n))return n;const r=ye.get(e);if(!G(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=H.call(e,t);o+=n>=65&&n<=90?"-"+I(n+32):I(n)}return ye.set(e,o),o}const ve=new Map;function Ce(e){let t=ve.get(e);return G(t)&&(t=W.call(e,ge,(e=>e[1].toUpperCase())),ve.set(e,t)),t}const Ee={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ie.lwcRuntimeFlags||Object.defineProperty(ie,"lwcRuntimeFlags",{value:r(null)});const Se=ie.lwcRuntimeFlags;function Me(e,t){return G(l(t,e))}function ke(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){U(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(re[e]);i(t,e,n)}function Te(e=Element.prototype){const t=f(re);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Me(r,e)&&ke(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Te();const Ae=[];let Ne=J,Le=!1;const xe={attachDispatcher(e){Le=!0,Ne=e;for(const e of Ae)try{e()}catch(e){console.error("Could not invoke callback",e)}Ae.length=0},detachDispatcher(){Le=!1,Ne=J}};function _e(e){Le?e():Ae.push(e)}function Oe(e,t){Le&&Ne(e,t)}function Pe(e){return`<${j.call(e.tagName)}>`}function Re(e,t){if(!d(t)&&G(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!U(n);)N.call(t,Pe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}const De=new Set;function Fe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(G(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!U(e.owner);)N.call(t,n+Pe(e)),e=e.owner,n+="\t";return k.call(t,"\n")}(n)}`),r){if(De.has(o))return;De.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function $e(e,t){Fe("error",e,t,!1)}const Ie=new WeakMap;let He=null;function We(e,t){const n=Ie.get(e);if(!G(n)){const e=n[t];if(!G(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Be(e,t){if(null===He)return;const n=He,o=function(e){let t=Ie.get(e);if(G(t)){const n=r(null);t=n,Ie.set(e,n)}return t}(e);let i=o[t];if(G(i))i=[],o[t]=i;else if(i[0]===n)return;-1===M.call(i,n)&&n.link(i)}class Ve{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=He;let n;He=this;try{e()}catch(e){n=Object(e)}finally{if(He=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=M.call(e[n],this);D.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){N.call(e,this),N.call(this.listeners,e)}}function je(e,t){We(e.component,t)}function Ge(e,t){Be(e.component,t)}function Ue(e){return new Ve(e)}let Ye=[];const Ke=32,ze=h(r(null)),qe=h([]);function Xe(){const e=Ye;Ye=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Je(e){0===Ye.length&&Promise.resolve().then(Xe),N.call(Ye,e)}const Ze=/;(?![^(]*\))/g,Qe=/:(.+)/;function et(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function tt(e){const t=[];for(const n of e)m(n)?t.push(...tt(n)):t.push(n);return t}function nt(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function rt(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ot(e){return z(e)&&u.call(e,"__circular__")}const it="undefined"!=typeof HTMLElement?HTMLElement:function(){},st=it.prototype,lt=r(null);function ct(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,je(e,t))}$.call(f(re),(e=>{const t=ee(st,e);G(t)||(lt[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=ee(st,e);G(t)||(lt[e]=t)}));const{isArray:at}=Array,{prototype:ut,getPrototypeOf:dt,create:ft,defineProperty:ht,isExtensible:pt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:gt,getOwnPropertySymbols:wt,preventExtensions:yt,hasOwnProperty:bt}=Object,{push:vt,concat:Ct}=Array.prototype;function Et(e){return void 0===e}function St(e){return"function"==typeof e}const Mt=new WeakMap;function kt(e,t){Mt.set(e,t)}const Tt=e=>Mt.get(e)||e;class At{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(bt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Et(n)||(e.get=this.wrapGetter(n)),Et(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=mt(n,t);if(!Et(r)){const n=this.wrapDescriptor(r);ht(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ct.call(gt(t),wt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Et(n)||bt.call(e,n)||ht(e,n,ft(null)),yt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=Et(n)||bt.call(t,n)?[]:[n];return vt.apply(r,gt(t)),vt.apply(r,wt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!pt(e)&&(!!pt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return dt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=mt(n,t);if(Et(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},ht(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Nt=new WeakMap,Lt=new WeakMap,xt=new WeakMap,_t=new WeakMap;class Ot extends At{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Nt.get(e);if(!Et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Tt(this)))};return Nt.set(e,r),xt.set(r,e),r}wrapSetter(e){const t=Lt.get(e);if(!Et(t))return t;const n=function(t){e.call(Tt(this),Tt(t))};return Lt.set(e,n),_t.set(n,e),n}unwrapDescriptor(e){if(bt.call(e,"value"))e.value=Tt(e.value);else{const{set:t,get:n}=e;Et(n)||(e.get=this.unwrapGetter(n)),Et(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=xt.get(e);if(!Et(t))return t;const n=this,r=function(){return Tt(e.call(n.wrapValue(this)))};return Nt.set(r,e),xt.set(e,r),r}unwrapSetter(e){const t=_t.get(e);if(!Et(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Lt.set(r,e),_t.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&at(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(pt(e)){const{originalTarget:t}=this;if(yt(t),pt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!bt.call(r,t)||(ht(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Pt=new WeakMap,Rt=new WeakMap;class Dt extends At{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Pt.get(e);if(!Et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Tt(this)))};return Pt.set(e,r),r}wrapSetter(e){const t=Rt.get(e);if(!Et(t))return t;const n=function(e){};return Rt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function Ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(at(e))return!0;const t=dt(e);return t===ut||null===t||null===dt(t)}const $t=(e,t)=>{},It=(e,t)=>{};function Ht(e){return at(e)?[]:{}}const Wt=Symbol.for("@@lockerLiveValue"),Bt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=St(t)?t:It,this.valueObserved=St(n)?n:$t,this.valueIsObservable=St(r)?r:Ft,this.tagPropertyKey=o}getProxy(e){const t=Tt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Tt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Tt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Et(t)){const n=new Ot(this,e);t=new Proxy(Ht(e),n),kt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Et(t)){const n=new Dt(this,e);t=new Proxy(Ht(e),n),kt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Be,valueMutated:We,tagPropertyKey:Wt});function Vt(e){return Bt.getReadOnlyProxy(e)}function jt(e){return Bt.getProxy(e)}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!z(n))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard getter.`);if(!z(r))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard setter.`);return{enumerable:o,configurable:i,get(){const t=lo(this);if(!Hr(t))return Ge(t,e),n.call(t.elm)},set(t){const n=lo(this);return ct(n,e,t),r.call(n.elm,t)}}}const Ut=new WeakMap,Yt=function(){if(U(Ir))throw new TypeError("Illegal constructor");const e=Ir,{def:t,elm:n}=e,{bridge:r}=t;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Wt]=void 0,so(this,e),so(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{[ae]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,so(s,e),s}(e):e.renderRoot=n,this};Yt.prototype={constructor:Yt,dispatchEvent(e){const t=lo(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=lo(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Kr(r,t),n)},removeEventListener(e,t,n){const r=lo(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Kr(r,t),n)},hasAttribute(e){const t=lo(this),{elm:n,renderer:{getAttribute:r}}=t;return!U(r(n,e))},hasAttributeNS(e,t){const n=lo(this),{elm:r,renderer:{getAttribute:o}}=n;return!U(o(r,t,e))},removeAttribute(e){const t=lo(this),{elm:n,renderer:{removeAttribute:r}}=t;r(n,e)},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=lo(this);r(n,t,e)},getAttribute(e){const t=lo(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=lo(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=lo(this),{elm:r,renderer:{setAttribute:o}}=n;o(r,e,t)},setAttributeNS(e,t,n){const r=lo(this),{elm:o,renderer:{setAttribute:i}}=r;i(o,t,n,e)},getBoundingClientRect(){const e=lo(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=lo(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=lo(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return lo(this).shadowRoot},get refs(){const e=lo(this);if(Ar)return;const{refVNodes:t,cmpTemplate:n}=e;if(U(t))return;let o=Ut.get(t);if(G(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;s(o),Ut.set(t,o)}return o},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=lo(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=lo(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=lo(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=lo(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=lo(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=lo(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=lo(this);return e.renderer.ownerDocument(e.elm)},render(){return lo(this).def.template},toString(){return`[object ${lo(this).def.name}]`}};const Kt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Kt[e]={value(t){const n=lo(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Yt.prototype,Kt);const qt=r(null);for(const e in lt)qt[e]=Gt(e,lt[e]);function Xt(e){return{get(){const t=lo(this);return Ge(t,e),t.cmpFields[e]},set(t){ct(lo(this),e,t)},enumerable:!0,configurable:!0}}o(Yt.prototype,qt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Te(Yt.prototype),i(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Jt=new Map;function Zt(e,t){let n=Jt.get(e);if(!G(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Jt.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:i,consumerDisconnectedCallback:s}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{G(s)||s(r)})),i(r)}))}}const Qt="$$DeprecatedWiredElementHostKey$$",en="$$DeprecatedWiredParamsMetaKey$$",tn=new Map;function nn(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=G(r)?function(e,t){return n=>{ct(e,t,n)}}(e,t):function(e,t){return n=>{vo(e,e.owner,J,(()=>{t.call(e.component,n)}),J)}}(e,r),a=e=>{c(e)};let u,d;i(a,Qt,{value:e.elm}),i(a,en,{value:l}),vo(e,e,J,(()=>{d=new o(a,{tagName:e.tagName})}),J);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Ue((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{vo(e,e,J,(()=>{d.update(t,u)}),J)}));return G(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jt.get(r);if(G(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;N.call(s,(()=>{c(i,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){N.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function rn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};tn.set(e,o)}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};tn.set(e,o)}function sn(e){return{get(){const t=lo(this);if(!Hr(t))return Ge(t,e),t.cmpProps[e]},set(t){const n=lo(this);n.cmpProps[e]=t,je(n,e)},enumerable:!0,configurable:!0}}function ln(e,n){const{get:r,set:o,enumerable:i,configurable:s}=n;return t.invariant(z(r),`Invalid public accessor ${Q(e)} decorated with @api. The property is missing a getter.`),{get(){return r.call(this)},set(e){lo(this),o&&o.call(this,e)},enumerable:i,configurable:s}}function cn(e){return{get(){const t=lo(this);return Ge(t,e),t.cmpFields[e]},set(t){const n=lo(this),r=jt(t);ct(n,e,r)},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=lo(this);return Ge(t,e),t.cmpFields[e]},set(t){ct(lo(this),e,t)},enumerable:!0,configurable:!0}}const un=new Map;const dn={apiMethods:ze,apiFields:ze,apiFieldsConfig:ze,wiredMethods:ze,wiredFields:ze,observedFields:ze};const fn=new Set;function hn(){return[]}fn.add(hn);const pn=r(null),mn=r(null);function gn(e){let t=pn[e];return G(t)&&(t=pn[e]=function(){const t=lo(this),{getHook:n}=t;return n(t.component,e)}),t}function wn(e){let t=mn[e];return G(t)&&(t=mn[e]=function(t){const n=lo(this),{setHook:r}=n;t=Vt(t),r(n.component,e,t)}),t}function yn(e){return function(){const t=lo(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,O.call(arguments))}}function bn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];G(i)?G(t)||t.apply(this,arguments):this[i]=o}}function vn(e,t,n){let s;z(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[be(n)]=n,u[n]={get:gn(n),set:wn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:yn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:bn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Cn=vn(it,c(lt),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Te(Cn.prototype),s(Cn),h(Cn.prototype);const En="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const Sn=En?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){G(e[t].deref())&&D.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return G(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();G(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);N.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return G(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new Sn,new Sn,new Sn;const Mn=new WeakMap;function kn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=un.get(e);return G(t)?dn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(U(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ot(t)){const e=rt(t);t=e===t?Yt:e}return t}(e),E=C!==Yt?An(C):Nn,S=vn(E.bridge,f(l),f(u)),M=n(r(null),E.props,l),k=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;G(t)||(N=t);let L=E.renderMode;G(i)||(L="light"===i?0:1);const x=function(e){var t;return null===(t=Vr.get(e))||void 0===t?void 0:t.tmpl}(e)||E.template,_=e.name||E.name;o(m,p);return{ctor:e,name:_,wire:A,props:M,propsConfig:k,methods:T,bridge:S,template:x,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Tn(e){if(!z(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(ot(t)){const e=rt(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!U(t)&&(t=a(t)));return!1}function An(e){let t=Mn.get(e);if(G(t)){if(ot(e)){return t=An(rt(e)),Mn.set(e,t),t}if(!Tn(e))throw new TypeError(`${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=kn(e),Mn.set(e,t)}return t}const Nn={ctor:Yt,name:Yt.name,props:qt,propsConfig:ze,methods:ze,renderMode:1,shadowSupportMode:"reset",wire:ze,bridge:Cn,template:hn,render:Yt.prototype.render};function Ln(e){return`${e}-host`}function xn(e){return br.h("style",{key:"style",attrs:{type:"text/css"}},[br.t(e)])}function _n(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))N.apply(r,_n(s,t,n));else{const e=s[ue];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){$e("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(G(o)&&(o=On(n)),c=U(o)||0===o.shadowMode),N.call(r,s(i,l,c))}}return r}function On(e){let t=e;for(;!U(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Pn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Rn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return T.call(t,xn);{const n=function(e){const t=On(e);return U(t)||1!==t.shadowMode?t:null}(e),r=U(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Dn(e){const{type:t}=e;return 2===t||3===t}function Fn(e,t){return e.key===t.key&&e.sel===t.sel}function $n(e){return 5===e.type}function In(e){return 6===e.type}const Hn=58;function Wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Bn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(G(o)&&G(i))return;let s;if(!U(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;G(s)&&(s=ze),G(t)||(s=n({},s,t))}G(i)||(o=n({},o,i));const l=U(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Wn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const Vn=r(null);function jn(e){if(null==e)return ze;e=X(e)?e:e+"";let t=Vn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)H.call(e,n)===Ke&&(n>o&&(t[V.call(e,o,n)]=!0),o=n+1);return n>o&&(t[V.call(e,o,n)]=!0),Vn[e]=t,t}function Gn(e,t){var n;const{elm:r}=e,o=null===(n=e.data)||void 0===n?void 0:n.on;if(G(o))return;const{addEventListener:i}=t;for(const e in o){i(r,e,o[e])}}function Un(e,t,n,r){ar(t)?dr(e,t,n,r):fr(e,t,n,r)}function Yn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&er(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?fr(e.children,o,n,r):dr(e.children,o,n,r);t.elm=t.leading.elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;or(e,t,n),Un(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Xn(e,n,r,!0),zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(or(e,t,r),!G(o)){sr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&ar(e.children)&&cr(t.children)}Un(e.children,t.children,n,r),G(o)||function(e){ao(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Kn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Qn(s,o,r),nr(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Qn(s,o,r),nr(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Qn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l[le]=!0));nr(l,t,n,r),Gn(e,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;qn(o,t,r,n),e.elm=e.leading.elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=Y(s)?pe:void 0,a=e.elm=l(o,c);Qn(a,i,r),ir(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),or(null,e,r),nr(a,t,n,r),qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:zn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function zn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{no(e)},a=e=>{ro(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=co(e);if(!G(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=io(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Qn(u,i,r),ir(u,i,r),l&&sr(e,l),or(null,e,r),nr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||po(l)),qn(e.children,u,r,null),l&&function(e){ao(e)}(l)}function qn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Zn(i)&&Kn(i,t,n,r)}}function Xn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Jn(e.children,t,n,r):rr(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Jn(e.children,i,n,t);break}case 3:{const{vm:t}=e;G(t)||function(e){oo(e)}(t)}}}function Jn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Zn(i)&&Xn(i,t,n,r)}}function Zn(e){return null!=e}function Qn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e[se]=r[se]))}function er(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function tr(e,t,n,r){if($n(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const i=o[e];U(i)||r.insert(i.elm,t,n)}}else r.insert(e.elm,t,n)}function nr(e,t,n,r){r.insert(e,t,n)}function rr(e,t,n){n.remove(e,t)}function or(e,t,n){U(e)&&(Gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(G(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(G(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=U(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=jn(o),a=jn(i);let u;for(u in a)G(c[u])&&l.remove(u);for(u in c)G(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((U(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;X(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r,external:o}=t.data;if(G(r))return;const i=U(e)?ze:e.data.attrs;if(i===r)return;const{elm:s}=t,{setAttribute:l,removeAttribute:c,setProperty:a}=n;for(const e in r){const t=r[e];if(i[e]!==t){let n;o&&(n=Ce(e))in s?a(s,n,t):H.call(e,3)===Hn?l(s,e,t,he):H.call(e,5)===Hn?l(s,e,t,me):U(t)||G(t)?c(s,e):l(s,e,t)}}}(e,t,n),Bn(e,t,n)}function ir(e,t,n){const r=Pn(t);if(!U(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||G(o)||(e.$shadowToken$=o)}function sr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:i}=t,s=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];N.call(n,r),o=o||!(!r||!$n(r))}if(!o)return e;for(;!G(r=A.call(n));)if(!U(r)&&$n(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)N.call(n,e[t])}else N.call(t,r);return cr(t),t}(n);e.children=s,t.aChildren=s,1!==i&&0!==o||(!function(e,t,n){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(U(n))continue;let r="";Dn(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":In(n)&&(r=n.slotName);const s=""+r,c=l[s]=l[s]||[];N.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},K(e.isDirty)){const t=f(s);if(t.length!==f(l).length)return void Ur(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(G(l[r])||s[r].length!==l[r].length)return void Ur(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void Ur(e)}}}(t,s,e.owner),e.aChildren=s,e.children=qe)}const lr=new WeakMap;function cr(e){lr.set(e,1)}function ar(e){return lr.has(e)}function ur(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Zn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function dr(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)if(Zn(l))if(Zn(c))if(Zn(m))if(Zn(g))if(Fn(l,m))Yn(l,m,n,r),l=e[++o],m=t[++i];else if(Fn(c,g))Yn(c,g,n,r),c=e[--s],g=t[--p];else if(Fn(l,g)){let i;Yn(l,g,n,r),i=$n(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),tr(l,n,i,r),l=e[++o],g=t[--p]}else Fn(c,m)?(Yn(c,m,n,r),tr(m,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=ur(e,o,s)),d=u[m.key],G(d)?(Kn(m,n,r,l.elm),m=t[++i]):(f=e[d],Zn(f)&&(f.sel!==m.sel?Kn(m,n,r,l.elm):(Yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,tr(f,n,l.elm,r))),m=t[++i]));else g=t[--p];else m=t[++i];else c=e[--s];else l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Zn(e)&&o<a);h=Zn(e)?e.elm:null,qn(t,n,r,h,i,p+1)}else Jn(e,n,r,!0,o,s+1)}function fr(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void qn(t,n,r,null);if(0===i)return void Jn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Zn(i)?Zn(l)?Fn(i,l)?(Yn(i,l,n,r),s=l.elm):(Xn(i,n,r,!0),Kn(l,n,r,s),s=l.elm):Xn(i,n,r,!0):Zn(l)&&(Kn(l,n,r,s),s=l.elm))}}const hr=Symbol.iterator;function pr(e,t,n=qe){const r=Lr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return G(i)||nt(r,i,s),s}function mr(e,t,n,r=qe){const o=Lr(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){N.call(Lr().velements,e)}(l),G(s)||nt(o,s,l),l}function gr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Lr()}}function wr(e){return cr(e),e}let yr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const br=s({s:function(e,t,n,r){if(!G(r)&&!G(r.slotAssignments)&&!G(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!U(n)){const e=In(n);if(e!==!G(t.slotData))continue;if(e){const e=Lr();xr(r.owner);try{const{tro:e}=r.owner;e.observe((()=>{N.call(o,n.factory(t.slotData,t.key))}))}finally{xr(e)}}else N.call(o,n)}}n=o}const o=Lr(),{renderMode:i,shadowMode:s}=o;return 0===i?(wr(n),n):(1===s&&wr(n),pr("slot",t,n))},h:pr,c:mr,i:function(e,t){const n=[];if(wr(n),G(e)||null===e)return n;const r=e[hr]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?N.apply(n,e):N.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];wr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?N.apply(n,t):N.call(n,t)}return n},t:gr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Lr();if(U(t))throw new Error;const n=t;return function(t){Br(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:Lr()}},dc:function(e,t,n=qe){if(U(e)||G(e))return null;if(!Tn(e))throw new Error(`Invalid constructor ${Q(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=Vr.get(e))||void 0===t?void 0:t.sel}(e);if(G(r)||""===r)throw new Error(`Invalid LWC constructor ${Q(e)} does not have a registered name`);return mr(r,e,t,n)},fr:function(e,t,n){const r=gr(""),o=gr("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:Lr(),leading:r,trailing:o}},ti:function(e){return e>0&&!(Y(e)||K(e))?0:e},st:function(e,t,n){const r=Lr(),o={type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:r,data:n},i=null==n?void 0:n.ref;return G(i)||nt(r,i,o),o},gid:function(e){const t=Lr();if(G(e)||""===e)return e;if(U(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?W.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Lr();if(G(e)||""===e)return e;if(U(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return yr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Lr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=qe){if(U(t)||G(t))return null;if(!Tn(t))throw new Error(`Invalid LWC Constructor ${Q(t)} for custom element <${e}>.`);return mr(e,t,n,r)}});let vr=!1,Cr=J;const Er={enableProfiler(){vr=!0},disableProfiler(){vr=!1},attachDispatcher(e){Cr=e,this.enableProfiler()},detachDispatcher(){const e=Cr;return Cr=J,this.disableProfiler(),e}};function Sr(e,t){vr&&Cr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Mr(e,t){vr&&Cr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function kr(e,t){vr&&Cr(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 Tr(e,t){vr&&Cr(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)}let Ar=!1,Nr=null;function Lr(){return Nr}function xr(e){Nr=e}function _r(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=Lr(),c=!G(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!G(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Or=_r(((e,t)=>{const{createFragment:n}=t;return n(e)})),Pr=_r(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Rr(e,t){const n=Ar,o=Nr;let i=[];return vo(e,e.owner,(()=>{Nr=e,Sr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(U(l)||yo(e),c=t,!fn.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${Q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Fr(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===i,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;G(w)||(y&&s(n).remove(Ln(w)),b&&l(n,Ln(w)));const v=$r(a),C=$r(d);(v||C)&&(p=u),G(p)||(h&&(s(n).add(Ln(p)),m=!0),f&&(c(n,Ln(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let i=[];return $r(n)&&(i=_n(n,r,e)),$r(o)&&N.apply(i,_n(o,r,e)),i}(e,t);o.styleVNodes=0===n.length?null:Rn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Ar=!0,i=t.call(void 0,br,n,s,o.tplCache);const{styleVNodes:a}=o;U(a)||F.apply(i,a)}))}),(()=>{Ar=n,Nr=o,Mr(1,e)})),i}function Dr(e){if($r(e))for(let t=0;t<e.length;t++)if(Y(e[t][ue]))return!0;return!1}function Fr(e,t){const{stylesheets:n}=e,r=G(t)?null:t.stylesheets;return Dr(n)||Dr(r)}function $r(e){return!G(e)&&!U(e)&&e.length>0}let Ir=null;function Hr(e){return Ir===e}function Wr(e,t,n){const{component:r,callHook:o,owner:i}=e;vo(e,i,J,(()=>{o(r,t,n)}),J)}function Br(e,t,n,r){const{callHook:o,owner:i}=e;vo(e,i,J,(()=>{o(n,t,[r])}),J)}const Vr=new Map;function jr(e){return Ue((()=>{const{isDirty:t}=e;K(t)&&(Ur(e),function(e){if(Y(e.isScheduled))return;e.isScheduled=!0,0===fo.length&&Je(ho);N.call(fo,e)}(e))}))}function Gr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Lr();let s,l=!1;return vo(e,o,(()=>{xr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{xr(i)})),l?Rr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Ur(e){e.isDirty=!0}const Yr=new WeakMap;function Kr(e,t){if(!z(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Yr.get(t);return G(n)&&(n=function(n){Br(e,t,void 0,n)},Yr.set(t,n)),n}const zr=r(null),qr=["rendered","connected","disconnected"];function Xr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Jr=0;const Zr=new WeakMap;function Qr(e,t,n=[]){return t.apply(e,n)}function eo(e,t,n){e[t]=n}function to(e,t){return e[t]}function no(e){const t=lo(e);kr(7,t),1===t.state&&ro(e),po(t),ao(t),Tr(7,t)}function ro(e){oo(lo(e))}function oo(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){K(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=zr;t&&Xr(e,t);mo(e)&&function(e){const{wiredDisconnecting:t}=e.context;vo(e,e,J,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),J)}(e);const{disconnectedCallback:n}=e.def;G(n)||(Sr(5,e),Wr(e,n),Mr(5,e))}(e),go(e),function(e){const{aChildren:t}=e;wo(t)}(e)}}function io(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=An(t),u={elm:e,def:a,idx:Jr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,children:qe,aChildren:qe,velements:qe,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:ze,wiredConnecting:qe,wiredDisconnecting:qe},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qr,setHook:eo,getHook:to,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!G(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else z(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return tt(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!U(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=U(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=jr(u),function(e,t){const n=Ir;let r;Sr(0,e),Ir=e;try{const e=new t;if(Ir.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Mr(0,e),Ir=n,!G(r))throw Re(e,r),r}}(u,a.ctor),mo(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=tn.get(i);if(!G(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=nn(e,t,s),c=s.dynamic.length>0;N.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),N.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function so(e,t){Zr.set(e,t)}function lo(e){return Zr.get(e)}function co(e){return Zr.get(e)}function ao(e){if(Y(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&vo(e,e,(()=>{Sr(2,e)}),(()=>{Un(r,t,n,o)}),(()=>{Mr(2,e)}));1===e.state&&uo(e)}(e,Gr(e))}}function uo(e){const{def:{renderedCallback:t}}=e,{rendered:n}=zr;n&&Xr(e,n),G(t)||(Sr(4,e),Wr(e,t),Mr(4,e))}let fo=[];function ho(){kr(8);const e=fo.sort(((e,t)=>e.idx-t.idx));fo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{ao(r)}catch(r){throw t+1<n&&(0===fo.length&&Je(ho),F.apply(fo,O.call(e,t+1))),Tr(8),r}}Tr(8)}function po(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=zr;n&&Xr(e,n),mo(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;G(r)||(Sr(3,e),Wr(e,r),Mr(3,e))}function mo(e){return c(e.def.wire).length>0}function go(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!G(n)){const e=co(n);G(e)||oo(e)}}}function wo(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!U(n)&&!G(n.elm))switch(n.type){case 2:wo(n.children);break;case 3:oo(lo(n.elm));break}}}function yo(e){bo(e.children,e),e.children=qe,go(e),e.velements=qe}function bo(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,i=e.length;o<i;o+=1){const i=e[o];U(i)||($n(i)?bo(i.children,t):G(i.elm)||r(i.elm,n))}}function vo(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!G(i)){Re(e,i);const n=U(t)?void 0:function(e){let t=e;for(;!U(t);){if(!G(t.def.errorCallback))return t;t=t.owner}}(t);if(G(n))throw i;yo(e),Sr(6,e);Wr(n,n.def.errorCallback,[i,i.wcStack]),Mr(6,e)}}}const Co=ie[de],Eo=ie[fe];function So(e,t,n){let r=co(e.getRootNode().host);G(r)&&(r=co(t.getRootNode().host)),G(r)||Oe("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function Mo(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&Y(o.synthetic))if("id"===t){if(!X(n)||0===n.length)return;for(const t of oe){const o=`[${t}~="${CSS.escape(n)}"]`,i=Eo.call(document,o);for(let n=0;n<i.length;n++){const o=i[n];if(o.getRootNode()!==r){So(o,e,t);break}}}}else{const o=function(e){return X(e)?v.call(B.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=Co.call(document,n);if(!U(o)){o.getRootNode()!==r&&So(e,o,t)}}}}delete ie[de],delete ie[fe];let ko=!1;"undefined"!=typeof CSS&&z(CSS.escape)&&u.call(Element.prototype,ce)&&_e((function(){if(ko)return;ko=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||oe.has(t))&&Mo(this,t,n)}});const t=l(Element.prototype,"id");if(!G(t)){const{get:e,set:n}=t;z(e)&&z(n)&&i(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),Mo(this,"id",e)},enumerable:!0,configurable:!0})}}));const To=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function Ao(e){return e instanceof Yt||e instanceof Cn}function No(e,t,n,r){if(!Ao(e)){const o=function(e){const{host:t}=e.getRootNode(),n=G(t)?void 0:co(t);if(!G(n))return n;let r=e;for(;!U(r=r.parentElement);)if(Ao(r)){const e=co(r);if(!G(e))return e}}(e);let i;n&&(i=U(r)?"null":typeof r),Oe("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:i})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||_e((function(){const{prototype:e}=Element;for(const t of To){const n=l(e,t),{get:r,set:o}=n;i(e,t,{get(){return No(this,t,!1,void 0),r.call(this)},set(e){return No(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Lo=!1;function xo(e){const t=Gr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Po(r(n),t,n,e),uo(e)}function _o(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!Fo(t,e,3,n))return Ro(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!Fo(t,e,8,n))return Ro(e,t,n);const{setProperty:o}=n;return o(e,Oo,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!Fo(t,e,1,n)||!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!Fo(n,t,3,r)&&o(e,Oo)===o(t,Oo);if(8===o(e,"nodeType"))return!!Fo(n,t,8,r)&&o(e,Oo)===o(t,Oo);if(!Fo(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((n=>{i(e,n)!==i(t,n)&&(s=!1)})),s}(t.fragment,e,t,n))return Ro(e,t,n);return t.elm=e,Gn(t,n),e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return Po(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!Fo(t,e,1,n)||!$o(t,e,n))return Ro(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!G(o)&&!G(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;G(r)||G(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:et(r,"innerHTML")}))}if(Do(t,n),!i){const{getFirstChild:o}=n;Po(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){const{validationOptOut:r}=t.ctor,o=function(e){if(G(e))return e=>!0;if(Y(e))return e=>!1;if(m(e)&&(t=e,n=X,y.call(t,n)))return t=>!S.call(e,t);var t,n;return e=>!0}(r);if(!Fo(t,e,1,n)||!$o(t,e,n,o))return Ro(e,t,n);const{sel:i,mode:s,ctor:l,owner:c}=t,a=io(e,l,n,{mode:s,owner:c,tagName:i,hydrated:!0});if(t.elm=e,t.vm=a,sr(t,a),Do(t,n),po(a),0!==a.renderMode){const{getFirstChild:r}=n;Po(r(e),t.children,e,a)}return xo(a),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const Oo="nodeValue";function Po(e,t,n,r){let o=e;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];U(r)||(o?o=_o(o,r,i):(Lo=!0,Kn(r,n,i,o),o=i.nextSibling(r.elm)))}if(o){Lo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),rr(t,n,i)}while(o)}}function Ro(e,t,n){Lo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Kn(t,o,n,e),rr(e,o,n),t.elm}function Do(e,t){Gn(e,t),Bn(null,e,t)}function Fo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function $o(e,t,n,r=(()=>!0)){const{getProperty:o}=n;if(e.sel.toLowerCase()!==o(t,"tagName").toLowerCase())return!1;const i=function(e,t,n,r){const{data:{attrs:o={}}}=e;let i=!0;for(const[e,s]of Object.entries(o)){if(!r(e))continue;const{getAttribute:o}=n;Io(s,o(t,e))||(i=!1)}return i}(e,t,n,r),s=!r("class")||function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c,getAttribute:a}=n,u=Pn(o),d=function(e){return 3===e.type}(e)?function(e){const{template:t}=An(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!G(r)&&Fr(t,n)?Ln(r):null}(e):null;if(!U(u)||!U(d))if(G(i))if(G(s)){const e=[u,d],t=v.call(e,(e=>!U(e)));t.length&&(i=k.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),U(u)?{}:{[u]:!0}),U(d)?{}:{[d]:!0});else{const e=[u,i,d],t=v.call(e,(e=>!U(e)));i=k.call(t," ")}let h=!0;const p=a(t,"class");if(G(i)||String(i)===p)if(G(s))G(i)&&!U(p)&&(h=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(h=!1);JSON.stringify(n.trim()),e.length>f(s).length&&(h=!1)}else h=!1,JSON.stringify(i);return h}(e,t,n),l=!r("style")||function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(G(r)||r===s){if(!G(o)){const e=function(e){const t={},n=e.split(Ze);for(const e of n)if(e){const[n,r]=e.split(Qe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];G(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),k.call(t,";")}}else l=!1;return l}(e,t,n);return i&&s&&l}function Io(e,t){return String(e)===t||!(!U(t)||!G(e)&&!U(e))}let Ho=!1;const Wo=["slots","stylesheetToken","stylesheets","renderMode"],Bo=["$scoped$"],Vo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let jo=!1;function Go(e){switch(e){case"pop":return A;case"push":return N;case"shift":return _;case"unshift":return F;case"reverse":return x;case"sort":return R;case"fill":return b;case"splice":return D;case"copyWithin":return w}}function Uo(e,t,n){Oe(t,{propertyName:n})}function Yo(e){Uo(0,"TemplateMutation",e)}function Ko(e){Uo(0,"StylesheetMutation",e)}function zo(e){qo(e,(e=>{m(e)?function(e){for(const t of Vo){const n=Go(t);e[t]=function(){return Yo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Bo){let n=e[t];i(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Ko(t),n=e}})}}(e)}))}function qo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?qo(r,t):t(r)}}const Xo=z(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Jo=Xo&&l(document.adoptedStyleSheets,"length").writable,Zo=!G(document.documentMode),Qo=new Map;function ei(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function ti(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Zo?ei(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function ni(e,t){let n=Qo.get(e);return G(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Qo.set(e,n)),t&&G(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&G(n.element)&&(n.element=ei(e)),n}function ri(e,t){const n=ni(e,Xo);let{roots:r}=n;if(G(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Xo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Jo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):ti(e,t,n)}const oi=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),ii=(e,t)=>{const n=document.createElement(e);return t(n),n},si=new Map,li=new WeakSet;let ci=!1;const ai=(e,t)=>{const n=!G(e),r=!G(t);class o extends HTMLElement{constructor(e){super(),ci?e(this):(n||r)&&li.add(this)}}return n&&(o.prototype.connectedCallback=function(){li.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){li.has(this)||t(this)}),o};let ui;function di(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}class r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),this.setNewContext=t,this.setDisconnectedCallback=n}}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}function o(e,t,n,r){e.addEventListener(t,n,r)}function i(e,t){return e.dispatchEvent(t)}return e.addEventListener=o,e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=i,e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.ownerDocument=function(e){return e.ownerDocument},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.registerContextConsumer=function(e,t,n){i(e,new r(t,n))},e.registerContextProvider=function(e,t,n){o(e,t,(e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})}))},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}ui=oi?(e,t,n,r)=>{let o=si.get(e);if(G(o)){if(!G(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=ai(n,r),customElements.define(e,o),si.set(e,o)}ci=!0;try{return new o(t)}finally{ci=!1}}:ii;const fi=n(di(null),{insertStylesheet:function(e,t){G(t)?function(e){const t=ni(e,!1);t.global||(t.global=!0,ti(e,document.head,t))}(e):ri(e,t)},createCustomElement:ui,isNativeShadowDefined:ie.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,ce)});function hi(e,t,n){const r=io(e,t,fi,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function pi(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!z(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!q(n)||U(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(co(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Lo=!1,po(e),xo(e)}(hi(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!U(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!U(e.firstChild);)e.removeChild(e.firstChild)}(e,t),hi(e,t,n),no(e)}}const mi=new WeakSet;function gi(e){var t;const n=function(e){return An(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(pi(this,e,{}),mi.add(this)):io(this,e,fi,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){mi.has(this)?mi.delete(this):no(this)}disconnectedCallback(){ro(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const wi=Node,yi=new WeakMap,bi=new WeakMap;function vi(e,t){const n=t.get(e);return G(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=wi.prototype;n(wi.prototype,{appendChild(t){return vi(e.call(this,t),yi)},insertBefore(e,n){return vi(t.call(this,e,n),yi)},removeChild(e){return vi(r.call(this,e),bi)},replaceChild(e,t){const n=o.call(this,e,t);return vi(n,bi),vi(e,yi),n}})}const Ci=Node;const Ei=new Map;function Si(e,t,n){var r,o,i;r=t,o=e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})},e.addEventListener(r,o,i)}return i(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ei.get(e);return G(t)&&(t=gi(e),Ei.set(e,t)),t}(this)}}),s(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=Er,e.__unstable__ReportingControl=xe,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){return Zt(e,Si)},e.createElement=function(e,t){if(!q(t)||U(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${Q(t)}".`);const n=t.is;if(!z(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=fi,o=j.call(e);let i,s;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{no(e)},s=e=>{ro(e)}),r(o,(e=>{io(e,n,fi,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(yi.set(e,no),bi.set(e,ro))}),i,s)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(s(e),G(e.stylesheets)||qo(e.stylesheets,(e=>{s(e)}))):(!function(e){i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return G(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=G(e)?void 0:e.shadowAttribute}})}(e),_e((()=>{!function(e){G(e.stylesheets)||zo(e.stylesheets);for(const t of Wo){let n=e[t];i(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){jo||Yo(t),n=e}})}const t=l(e,"stylesheetTokens");i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Yo("stylesheetTokens"),jo=!0,t.set.call(this,e),jo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!G(e)){const n=co(e);G(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:be(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=pi,e.isComponentConstructor=Tn,e.isNodeFromTemplate=function(e){if(K(e instanceof Ci))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&K(u.call(a(t),"synthetic")))||fi.isSyntheticShadowDefined&&!G(e[se])},e.parseFragment=Or,e.parseSVGFragment=Pr,e.readonly=function(e){return Vt(e)},e.register=function(e){for(let t=0;t<qr.length;++t){const n=qr[t];if(n in e){let t=zr[n];G(t)&&(zr[n]=t=[]),N.call(t,e[n])}}},e.registerComponent=function(e,t){return z(e)&&Vr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!G(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(G(w))throw new Error;w=ln(e,w)}else w=G(w)||G(w.get)?sn(e):ln(e,w);f[e]=w,i(n,e,w)}if(G(s)||$.call(s,(e=>{if(w=l(n,e),G(w))throw new Error;d[e]=w})),!G(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(G(w))throw new Error;h[e]=w,rn(w,t,o,s)}else w=an(e),p[e]=w,on(w,t,o,s),i(n,e,w)}if(!G(a))for(const e in a)w=l(n,e),w=cn(e),i(n,e,w);if(!G(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!G(o)&&t in o,i=!G(a)&&t in a;r||i||(m[t]=Xt(t))}return function(e,t){un.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return fn.add(e),e},e.renderer=fi,e.rendererFactory=di,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(G(Ee[e])){const n=f(Ee).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=Se[e];if(!G(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(Se,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Ho,"Hooks are already overridden, only one definition is allowed."),Ho=!0,n=e.sanitizeHtmlContent,yr=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return jt(e);throw new Error},e.unwrap=function(e){return Bt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|
|
2
|
-
//# sourceMappingURL=engine-dom.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"engine-dom.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|