UNPKG

@trimble-oss/moduswebcomponents

Version:

Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust

2 lines 59.8 kB
const e="modus-wc",t={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!0,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,modernPropertyDecls:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0};var n,o=Object.defineProperty,s={isDev:!!t.isDev,isBrowser:!0,isServer:!1,isTesting:!!t.isTesting},r=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(r||{}),i=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(i||{}),l="type",c="value",a="serialized:",u=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((t.state||t.prop)&&(31&s||32&s)){const t=e[o],s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),o);Object.defineProperty(e,o,{get(){return s.get.call(this)},set(e){s.set.call(this,e)},configurable:!0,enumerable:!0}),e[o]=n.i.has(o)?n.i.get(o):t}}))},f=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},d=(e,n)=>{e.__stencil__getHostRef=()=>n,n.l=e,t.modernPropertyDecls&&(t.state||t.prop)&&u(e,n)},h=(e,n)=>{const o={u:0,$hostElement$:e,o:n,i:new Map};t.isDev&&(o.p=0),t.method&&t.lazyLoad&&(o.m=new Promise((e=>o.v=e))),t.asyncLoading&&(o.$=new Promise((e=>o.S=e)),e["s-p"]=[],e["s-rc"]=[]);const s=o;return e.__stencil__getHostRef=()=>s,!t.lazyLoad&&t.modernPropertyDecls&&(t.state||t.prop)&&u(e,o),s},p=(e,t)=>t in e,m=(e,t)=>(n||console.error)(e,t),v=t.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],g=(...e)=>console.error(...v,...e),$=(...e)=>console.warn(...v,...e),b=(...e)=>console.info(...v,...e),y=new Map,w=(e,n,o)=>{const s=e.O.replace(/-/g,"_"),r=e.j;if(t.isDev&&"string"!=typeof r)return void g(`Trying to lazily load component <${e.O}> with style mode "${n.C}", but it does not exist.`);if(!r)return;const i=!t.hotModuleReplacement&&y.get(r);return i?i[s]:import(`./${r}.entry.js${t.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((e=>(t.hotModuleReplacement||y.set(r,e),e[s])),(e=>{m(e,n.$hostElement$)})) /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},S=new Map,x=[],O="s-id",j="sty-id",C="c-id",_="_stencilDocData",E={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",R=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],T="undefined"!=typeof window?window:{},L=T.HTMLElement||class{},D={u:0,_:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},M=t.shadowDom,I=e=>Promise.resolve(e),A=!!t.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),P=0,F=!1,H=[],U=[],B=[],W=(e,t)=>n=>{e.push(n),F||(F=!0,t&&4&D.u?J(Y):D.raf(Y))},V=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){m(e)}e.length=0},z=(e,t)=>{let n=0,o=0;for(;n<e.length&&(o=performance.now())<t;)try{e[n++](o)}catch(e){m(e)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},Y=()=>{if(t.asyncQueue&&P++,V(H),t.asyncQueue){const e=2==(6&D.u)?performance.now()+14*Math.ceil(.1*P):1/0;z(U,e),z(B,e),U.length>0&&(B.push(...U),U.length=0),(F=H.length+U.length+B.length>0)?D.raf(Y):P=0}else V(U),(F=H.length>0)&&D.raf(Y)},J=e=>I().then(e),X=W(H,!1),K=W(U,!0),Q=e=>"object"==(e=typeof e)||"function"===e;function q(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var G=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Z=class e{static fromLocalValue(t){const n=t[l],o=c in t?t[c]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((t=>e.fromLocalValue(t)));case"date":return new Date(o);case"map":const t=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,r=e.fromLocalValue(s);t.set(o,r)}return t;case"object":const s={};for(const[t,n]of o)s[t]=e.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return RegExp(r,i);case"set":const l=new Set;for(const t of o)l.add(e.fromLocalValue(t));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(l))return!1;const t=e[l];return!!Object.values({...r,...i}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})({},{err:()=>te,map:()=>ne,ok:()=>ee,unwrap:()=>se,unwrapErr:()=>re});var ee=e=>({isOk:!0,isErr:!1,value:e}),te=e=>({isOk:!1,isErr:!0,value:e});function ne(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>ee(e))):ee(n)}if(e.isErr)return te(e.value);throw"should never get here"}var oe,se=e=>{if(e.isOk)return e.value;throw e.value},re=e=>{if(e.isErr)return e.value;throw e.value};function ie(e){const n=this.attachShadow(t.shadowDelegatesFocus?{mode:"open",delegatesFocus:!!(16&e.u)}:{mode:"open"});void 0===oe&&(oe=null),oe&&n.adoptedStyleSheets.push(oe)}var le=e=>{const t=Pe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&ae(t,e.tagName).forEach((e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(e.hidden=!!ue(e,he(e),!1).length)}));let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&Pe(e,"childNodes").length&&le(e)}},ce=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function ae(e,t,n){let o,s=0,r=[];for(;s<e.length;s++){if(o=e[s],o["s-sr"]&&(!t||o["s-hn"]===t)&&(void 0===n||he(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...ae(o.childNodes,t,n)]}return r}var ue=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)he(s)!==t||!n&&s["s-sr"]||o.push(s);return o},fe=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,de=(e,n,o,s)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=e,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=Pe(i,o?"prepend":"appendChild");if(t.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const e=Pe(i,"childNodes"),t=[r];e.forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0)),t.forEach((e=>l.call(i,e)))}else l.call(i,r);e["s-ol"]=r,e["s-sh"]=n["s-hn"]},he=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function pe(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:ce(s.childNodes)).forEach((e=>{o===he(e)&&n.push(e)})),t?n.filter((e=>1===e.nodeType)):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function me(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ve(e,t){var n;if(!(t=t||(null==(n=e["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=e["s-sn"]=he(e)||"";return{slotNode:ae(Pe(t,"childNodes"),t.tagName,o)[0],slotName:o}}var ge=e=>{$e(e),be(e),Se(e),we(e),Ce(e),xe(e),Oe(e),je(e),_e(e),Ee(e),ye(e)},$e=e=>{const n=e.cloneNode;e.cloneNode=function(e){const o=!!t.shadowDom&&this.shadowRoot&&M,s=n.call(this,!!o&&e);if(t.slot&&!o&&e){let e,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)e=i[o]["s-nr"],n=r.every((e=>!i[o][e])),e&&(t.appendChildSlotFix&&s.__appendChild?s.__appendChild(e.cloneNode(!0)):s.appendChild(e.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},be=e=>{e.__appendChild=e.appendChild,e.appendChild=function(e){const{slotName:t,slotNode:n}=ve(e,this);if(n){de(e,n);const o=ue(n,t),s=o[o.length-1],r=Pe(s,"parentNode"),i=Pe(r,"insertBefore")(e,s.nextSibling);return me(n),le(this),i}return this.__appendChild(e)}},ye=e=>{e.__removeChild=e.removeChild,e.removeChild=function(e){return e&&void 0!==e["s-sn"]&&ae(this.__childNodes||this.childNodes,this.tagName,e["s-sn"])&&e.isConnected?(e.remove(),void le(this)):this.__removeChild(e)}},we=e=>{e.__prepend=e.prepend,e.prepend=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=(t["s-sn"]=he(t))||"",o=ae(Pe(this,"childNodes"),this.tagName,n)[0];if(o){de(t,o,!0);const e=ue(o,n)[0],s=Pe(e,"parentNode"),r=Pe(s,"insertBefore")(t,Pe(e,"nextSibling"));return me(o),r}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.__prepend(t)}))}},Se=e=>{e.__append=e.append,e.append=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)}))}},xe=e=>{const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===e)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===e)for(;s=o.firstChild;)this.append(s)}},Oe=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},je=e=>{e.__insertBefore||(e.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){const{slotName:n,slotNode:o}=ve(e,this),s=this.__childNodes?this.childNodes:ce(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==t&&null!==t);else{if(r=!0,null===t||n!==t["s-sn"])return void this.appendChild(e);if(n===t["s-sn"]){de(e,o);const n=Pe(t,"parentNode");Pe(n,"insertBefore")(e,t),me(o)}}})),r)return e}const r=null==t?void 0:t.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(e):this.__insertBefore(e,t)})},Ce=e=>{const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,n):"afterbegin"===e?(this.prepend(n),n):"beforeend"===e?(this.append(n),n):n}},_e=e=>{Ae("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:ce(this.childNodes)).forEach((t=>e+=t.textContent||"")),e},set:function(e){(this.__childNodes?this.childNodes:ce(this.childNodes)).forEach((e=>{e["s-ol"]&&e["s-ol"].remove(),e.remove()})),this.insertAdjacentHTML("beforeend",e)}})},Ee=e=>{class t extends Array{item(e){return this[e]}}Ae("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),Ae("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),Ae("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Ae("childNodes",e),Object.defineProperty(e,"childNodes",{get(){const e=new t;return e.push(...ce(this.__childNodes)),e}})},Ne=e=>{e&&void 0===e.__nextSibling&&globalThis.Node&&(ke(e),Te(e),De(e),e.nodeType===Node.ELEMENT_NODE&&(Re(e),Le(e)))},ke=e=>{e&&!e.__nextSibling&&(Ae("nextSibling",e),Object.defineProperty(e,"nextSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextSibling}}))},Re=e=>{e&&!e.__nextElementSibling&&(Ae("nextElementSibling",e),Object.defineProperty(e,"nextElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextElementSibling}}))},Te=e=>{e&&!e.__previousSibling&&(Ae("previousSibling",e),Object.defineProperty(e,"previousSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousSibling}}))},Le=e=>{e&&!e.__previousElementSibling&&(Ae("previousElementSibling",e),Object.defineProperty(e,"previousElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousElementSibling}}))},De=e=>{e&&!e.__parentNode&&(Ae("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var e;return(null==(e=this["s-ol"])?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}}))},Me=["children","nextElementSibling","previousElementSibling"],Ie=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Ae(e,t){let n;Me.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):Ie.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||(n=Object.getOwnPropertyDescriptor(t,e)),n&&Object.defineProperty(t,"__"+e,n)}function Pe(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var Fe=0,He=(e,n="")=>{if(t.profile&&performance.mark){const t=`st:${e}:${n}:${Fe++}`;return performance.mark(t),()=>performance.measure(`[Stencil] ${e}() <${n}>`,t)}return()=>{}},Ue=new WeakMap,Be=(e,t,n)=>{let o=S.get(e);A&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,S.set(e,o)},We=(e,n,o)=>{var s;const r=ze(n,o),i=S.get(r);if(!t.attachStyles||!T.document)return r;if(e=11===e.nodeType?e:T.document,i)if("string"==typeof i){let o,l=Ue.get(e=e.head||e);if(l||Ue.set(e,l=new Set),!l.has(r)){if(t.hydrateClientSide&&e.host&&(o=e.querySelector(`[${j}="${r}"]`)))o.innerHTML=i;else{o=T.document.createElement("style"),o.innerHTML=i;const l=null!=(s=D.N)?s:q(T.document);if(null!=l&&o.setAttribute("nonce",l),(t.hydrateServerSide||t.hotModuleReplacement)&&(2&n.u||128&n.u)&&o.setAttribute(j,r),!(1&n.u))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(A){const t=new CSSStyleSheet;t.replaceSync(i),e.adoptedStyleSheets.unshift(t)}else{const t=e.querySelector("style");t?t.innerHTML=i+t.innerHTML:e.prepend(o)}else e.append(o);1&n.u&&e.insertBefore(o,null)}4&n.u&&(o.innerHTML+=N),l&&l.add(r)}}else t.constructableCSS&&!e.adoptedStyleSheets.includes(i)&&e.adoptedStyleSheets.push(i);return r},Ve=e=>{const n=e.o,o=e.$hostElement$,s=n.u,r=He("attachStyles",n.O),i=We(t.shadowDom&&M&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,e.C);(t.shadowDom||t.scoped)&&t.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},ze=(e,n)=>"sc-"+(t.mode&&n&&32&e.u?e.O+"-"+n:e.O),Ye=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Je=()=>{if(!T.document)return;const e=T.document.querySelectorAll(`[${j}]`);let t=0;for(;t<e.length;t++)Be(e[t].getAttribute(j),Ye(e[t].innerHTML),!0)},Xe=(e,n,...o)=>{let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof e&&!Q(s))?s+="":t.isDev&&"function"!=typeof e&&void 0===s.u&&g("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].k+=s:a.push(l?Ke(null,s):s),c=l)};if(u(o),n&&(t.isDev&&"input"===e&&tt(n),t.vdomKey&&n.key&&(r=n.key),t.slotRelocation&&n.name&&(i=n.name),t.vdomClass)){const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}if(t.isDev&&a.some(qe)&&g("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),t.vdomFunctional&&"function"==typeof e)return e(null===n?{}:n,a,Ge);const f=Ke(e,null);return f.R=n,a.length>0&&(f.T=a),t.vdomKey&&(f.L=r),t.slotRelocation&&(f.D=i),f},Ke=(e,n)=>{const o={u:0,M:e,k:n,I:null,T:null};return t.vdomAttribute&&(o.R=null),t.vdomKey&&(o.L=null),t.slotRelocation&&(o.D=null),o},Qe={},qe=e=>e&&e.M===Qe,Ge={forEach:(e,t)=>e.map(Ze).forEach(t),map:(e,t)=>e.map(Ze).map(t).map(et)},Ze=e=>({vattrs:e.R,vchildren:e.T,vkey:e.L,vname:e.D,vtag:e.M,vtext:e.k}),et=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),Xe(e.vtag,t,...e.vchildren||[])}const t=Ke(e.vtag,e.vtext);return t.R=e.vattrs,t.T=e.vchildren,t.L=e.vkey,t.D=e.vname,t},tt=e=>{const t=Object.keys(e),n=t.indexOf("value");if(-1===n)return;const o=t.indexOf("type"),s=t.indexOf("min"),r=t.indexOf("max"),i=t.indexOf("step");(n<o||n<s||n<r||n<i)&&$('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},nt=(e,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(C),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=st({u:0,A:u[0],P:u[1],F:u[2],U:u[3],M:i.tagName.toLowerCase(),I:i,R:{class:i.className||""}}),n.push(f),i.removeAttribute(C),e.T||(e.T=[]),t.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.R.class+=" "+h);const r=f.I.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.M&&(rt(r,u[2],f,i,e,n,o,s,c),t.scoped&&h&&i.classList.add(h)),f.I["s-sn"]=r,f.I.removeAttribute("s-sn")),void 0!==f.U&&(e.T[f.U]=f),e=f,s&&"0"===f.F&&(s[f.U]=f.I)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)nt(e,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)nt(e,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=st({A:u[1],P:u[2],F:u[3],U:u[4]||"0",I:i,R:null,T:null,L:null,D:null,M:null,k:null}),"t"===a?(f.I=ut(i,3),f.I&&3===f.I.nodeType&&(f.k=f.I.textContent,n.push(f),i.remove(),l===f.A&&(e.T||(e.T=[]),e.T[f.U]=f),s&&"0"===f.F&&(s[f.U]=f.I))):"c"===a?(f.I=ut(i,8),f.I&&8===f.I.nodeType&&(n.push(f),i.remove())):f.A===l&&("s"===a?rt(i["s-sn"]=u[5]||"",u[2],f,i,e,n,o,s,c):"r"===a&&(t.shadowDom&&s?i.remove():t.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(e&&"style"===e.M){const t=Ke(null,i.textContent);t.I=i,t.U="0",e.T=[t]}else 3!==i.nodeType||i.wholeText.trim()||i["s-nr"]||i.remove();return e},ot=(e,t)=>{if(1===e.nodeType){const n=e[O]||e.getAttribute(O);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)ot(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)ot(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},st=e=>({u:0,A:null,P:null,F:null,U:"0",I:null,R:null,T:null,L:null,D:null,M:null,k:null,...e});function rt(e,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.D=e||null,o.M="slot";const u=(null==r?void 0:r.I)?r.I["s-id"]||r.I.getAttribute("s-id"):"";if(t.shadowDom&&c&&T.document){const t=o.I=T.document.createElement(o.M);o.D&&o.I.setAttribute("name",e),r.I.shadowRoot&&u&&u!==o.A?Pe(r.I,"insertBefore")(t,Pe(r.I,"children")[0]):Pe(Pe(s,"parentNode"),"insertBefore")(t,s),at(a,n,e,s,o.A),s.remove(),"0"===o.F&&(c[o.U]=o.I)}else{const t=o.I,i=u&&u!==o.A&&r.I.shadowRoot;at(a,n,e,s,i?u:o.A),pe(s),i&&r.I.insertBefore(t,r.I.children[0])}i.push(o),l.push(o),r.T||(r.T=[]),r.T[o.U]=o}var it,lt,ct,at=(e,t,n,o,s)=>{let r=o.nextSibling;for(e[t]=e[t]||[];r&&((r.getAttribute&&r.getAttribute("slot")||r["s-sn"])===n||""===n&&!r["s-sn"]&&(8===r.nodeType||3===r.nodeType||"SLOT"===r.tagName));)r["s-sn"]=n,e[t].push({slot:o,node:r,hostId:s}),r=r.nextSibling},ut=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},ft="-shadowcsshost",dt="-shadowcssslotted",ht="-shadowcsscontext",pt=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",mt=RegExp("("+ft+pt,"gim"),vt=RegExp("("+ht+pt,"gim"),gt=RegExp("("+dt+pt,"gim"),$t=ft+"-no-combinator",bt=/-shadowcsshost-no-combinator([^\s]*)/,yt=[/::shadow/g,/::content/g],wt=/__part-(\d+)__/g,St=/-shadowcsshost/gim,xt=e=>{const t=G(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")},Ot=xt("::slotted"),jt=xt(":host"),Ct=xt(":host-context"),_t=/\/\*\s*[\s\S]*?\*\//g,Et=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,Nt=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,kt=/([{}])/g,Rt=/(^.*?[^\\])??((:+)(.*)|$)/,Tt="%BLOCK%",Lt=(e,t)=>{const n=Dt(e);let o=0;return n.escapedString.replace(Nt,((...e)=>{const s=e[2];let r="",i=e[4],l="";i&&i.startsWith("{"+Tt)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=t({selector:s,content:r});return`${e[1]}${c.selector}${e[3]}${l}${c.content}${i}`}))},Dt=e=>{const t=e.split(kt),n=[],o=[];let s=0,r=[];for(let e=0;e<t.length;e++){const i=t[e];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(Tt),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(Tt)),{escapedString:n.join(""),blocks:o}},Mt=(e,t,n)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),o=[];for(let s=0;s<t.length;s++){const r=t[s].trim();if(!r)break;o.push(n($t,r,e[3]))}return o.join(",")}return $t+e[3]})),It=(e,t,n)=>e+t.replace(ft,"")+n,At=(e,t,n)=>t.indexOf(ft)>-1?It(e,t,n):e+t+n+", "+t+" "+e+n,Pt=(e,t)=>e.replace(Rt,((e,n="",o,s="",r="")=>n+t+s+r)),Ft=(e,t,n,o)=>Lt(e,(e=>{let s=e.selector,r=e.content;return"@"!==e.selector[0]?s=((e,t,n,o)=>e.split(",").map((e=>o&&e.indexOf("."+o)>-1?e.trim():((e,t)=>!(e=>(e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+e+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(t).test(e))(e,t)?((e,t,n)=>{const o="."+(t=t.replace(/\[is=([^\]]*)\]/g,((e,...t)=>t[0]))),s=e=>{let s=e.trim();if(!s)return"";if(e.indexOf($t)>-1)s=((e,t,n)=>{if(St.lastIndex=0,St.test(e)){const t="."+n;return e.replace(bt,((e,n)=>Pt(n,t))).replace(St,t+" ")}return t+" "+e})(e,t,n);else{const t=e.replace(St,"");t.length>0&&(s=Pt(t,o))}return s},r=(e=>{const t=[];let n=0;return{content:(e=(e=e.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((e,o)=>{const s=`__part-${n}__`;return t.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((e,o)=>{const s=`__ph-${n}__`;return t.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,o,s)=>{const r=`__ph-${n}__`;return t.push(s),n++,o+r})),placeholders:t}})(e);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((e=r.content).indexOf($t)>-1);for(;null!==(i=a.exec(e));){const t=i[1],n=e.slice(c,i.index).trim();u=u||n.indexOf($t)>-1,l+=`${u?s(n):n} ${t} `,c=a.lastIndex}const f=e.substring(c);return u=!f.match(wt)&&(u||f.indexOf($t)>-1),l+=u?s(f):f,((e,t)=>(t=t.replace(/__part-(\d+)__/g,((t,n)=>e[+n]))).replace(/__ph-(\d+)__/g,((t,n)=>e[+n])))(r.placeholders,l)})(e,t,n).trim():e.trim())).join(", "))(e.selector,t,n,o):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(r=Ft(e.content,t,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Ht=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,"."+t),Ut=(e,t)=>{const n=t+"-h",o=t+"-s",s=(e=>e.match(Et)||[])(e);e=(e=>e.replace(_t,""))(e);const r=[];{const t=e=>{const t=`/*!@___${r.length}___*/`;return r.push({placeholder:t,comment:`/*!@${e.selector}*/`}),e.selector=t+e.selector,e};e=Lt(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=Lt(e.content,t),e):e))}const i=((e,t,n,o)=>{const s=((e,t)=>{const n="."+t+" > ",o=[];return e=e.replace(gt,((...e)=>{if(e[2]){const t=e[2].trim(),s=n+t+e[3];let r="";for(let t=e[4]-1;t>=0;t--){const n=e[5][t];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return $t+e[3]})),{selectors:o,cssText:e}})(e=(e=>Mt(e,vt,At))(e=(e=>Mt(e,mt,It))(e=(e=>{const t=[];return e=(e=e.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((e,n)=>{const o=`__supports_${t.length}__`;return t.push(n),`@supports selector(${o})`}))).replace(Ct,"$1"+ht).replace(jt,"$1"+ft).replace(Ot,"$1"+dt),t.forEach(((t,n)=>{e=e.replace(`__supports_${n}__`,t)})),e})(e))),o);return e=(e=>yt.reduce(((e,t)=>e.replace(t," ")),e))(e=s.cssText),t&&(e=Ft(e,t,n,o)),{cssText:(e=(e=Ht(e,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((e=>({orgSelector:Ht(e.orgSelector,n),updatedSelector:Ht(e.updatedSelector,n)})))}})(e,t,n,o);return e=[i.cssText,...s].join("\n"),r.forEach((({placeholder:t,comment:n})=>{e=e.replace(t,n)})),i.slottedSelectors.forEach((t=>{const n=RegExp(G(t.orgSelector),"g");e=e.replace(n,t.updatedSelector)})),e=(e=>{const t=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return Lt(e,(e=>{if("@"===e.selector[0])return e;const n=e.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=t.exec(n));){const t=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((t=>e.selector.includes(`[part~="${t}"]`)?[]:[`[part~="${t}"]`])).join(""),c=`${t} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return e.selector=n.join(", "),e}))})(e)},Bt=e=>x.map((t=>t(e))).find((e=>!!e)),Wt=(e,n,o)=>{if((t.hydrateClientSide||t.hydrateServerSide)&&"string"==typeof e&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]")))try{return JSON.parse(e)}catch(e){}return(t.hydrateClientSide||t.hydrateServerSide)&&"string"==typeof e&&e.startsWith(a)?e=function(e){return"string"==typeof e&&e.startsWith(a)?Z.fromLocalValue(JSON.parse(atob(e.slice(11)))):e}(e):null==e||Q(e)?e:t.propBoolean&&4&n?(t.formAssociated&&o&&"string"==typeof e||"false"!==e)&&(""===e||!!e):t.propNumber&&2&n?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:t.propString&&1&n?e+"":e},Vt=e=>t.lazyLoad?f(e).$hostElement$:e,zt=(e,n,o)=>{const s=Vt(e);return{emit:e=>(t.isDev&&!s.isConnected&&$(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Yt(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:e}))}},Yt=(e,t,n)=>{const o=D.ce(t,n);return e.dispatchEvent(o),o},Jt=(e,n,o,s,r,i,l)=>{if(o===s)return;let c=p(e,n),a=n.toLowerCase();if(t.vdomClass&&"class"===n){const n=e.classList,r=Kt(o);let i=Kt(s);if(t.hydrateClientSide&&(e["s-si"]||e["s-sc"])&&l){const t=e["s-sc"]||e["s-si"];i.push(t),r.forEach((e=>{e.startsWith(t)&&i.push(e)})),i=[...new Set(i)].filter((e=>e)),n.add(...i)}else n.remove(...r.filter((e=>e&&!i.includes(e)))),n.add(...i.filter((e=>e&&!r.includes(e))))}else if(t.vdomStyle&&"style"===n){if(t.updatable)for(const n in o)s&&null!=s[n]||(!t.hydrateServerSide&&n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in s)o&&s[n]===o[n]||(!t.hydrateServerSide&&n.includes("-")?e.style.setProperty(n,s[n]):e.style[n]=s[n])}else if(t.vdomKey&&"key"===n);else if(t.vdomRef&&"ref"===n)s&&s(e);else if(!t.vdomListener||(t.lazyLoad?c:e.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(t.vdomPropOrAttr){const l=Q(s);if((c||l&&null!==s)&&!r)try{if(e.tagName.includes("-"))e[n]!==s&&(e[n]=s);else{const t=null==s?"":s;"list"===n?c=!1:null!=o&&e[n]==t||("function"==typeof e.__lookupSetter__(n)?e[n]=t:e.setAttribute(n,t))}}catch(e){}let u=!1;t.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(n)||(t.vdomXlink&&u?e.removeAttributeNS(k,n):e.removeAttribute(n)):(!c||4&i||r)&&!l&&1===e.nodeType&&(s=!0===s?"":s,t.vdomXlink&&u?e.setAttributeNS(k,n,s):e.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):p(T,a)?a.slice(2):a[2]+n.slice(3),o||s){const t=n.endsWith(Qt);n=n.replace(qt,""),o&&D.rel(e,n,o,t),s&&D.ael(e,n,s,t)}},Xt=/\s/,Kt=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Xt):[]),Qt="Capture",qt=RegExp(Qt+"$"),Gt=(e,n,o,s)=>{const r=11===n.I.nodeType&&n.I.host?n.I.host:n.I,i=e&&e.R||{},l=n.R||{};if(t.updatable)for(const e of Zt(Object.keys(i)))e in l||Jt(r,e,i[e],void 0,o,n.u,s);for(const e of Zt(Object.keys(l)))Jt(r,e,i[e],l[e],o,n.u,s)};function Zt(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var en=!1,tn=!1,nn=!1,on=!1,sn=(e,n,o)=>{var s;const r=n.T[o];let i,l,c,a=0;if(t.slotRelocation&&!en&&(nn=!0,"slot"===r.M&&(r.u|=r.T?2:1)),t.isDev&&r.I&&g(`The JSX ${null!==r.k?`"${r.k}" text`:`"${r.M}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),t.vdomText&&null!==r.k)i=r.I=T.document.createTextNode(r.k);else if(t.slotRelocation&&1&r.u)i=r.I=t.isDebug||t.hydrateServerSide?bn(r):T.document.createTextNode(""),t.vdomAttribute&&Gt(null,r,on);else{if(t.svg&&!on&&(on="svg"===r.M),!T.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(i=r.I=t.svg?T.document.createElementNS(on?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!en&&t.slotRelocation&&2&r.u?"slot-fb":r.M):T.document.createElement(!en&&t.slotRelocation&&2&r.u?"slot-fb":r.M),t.svg&&on&&"foreignObject"===r.M&&(on=!1),t.vdomAttribute&&Gt(null,r,on),(t.scoped||t.hydrateServerSide)&&null!=it&&void 0!==it&&i["s-si"]!==it&&i.classList.add(i["s-si"]=it),r.T)for(a=0;a<r.T.length;++a)l=sn(e,r,a),l&&i.appendChild(l);t.svg&&("svg"===r.M?on=!1:"foreignObject"===i.tagName&&(on=!0))}return i["s-hn"]=ct,t.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=lt,i["s-sn"]=r.D||"",i["s-rf"]=null==(s=r.R)?void 0:s.ref,pe(i),c=e&&e.T&&e.T[o],c&&c.M===r.M&&e.I&&(t.experimentalSlotFixes?rn(e.I):ln(e.I,!1)),(t.scoped||t.hydrateServerSide)&&gn(lt,i,n.I,null==e?void 0:e.I)),i},rn=e=>{D.u|=1;const t=e.closest(ct.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const e of n?o.reverse():o)null!=e["s-sh"]&&(vn(t,e,null!=n?n:null),e["s-sh"]=void 0,nn=!0)}D.u&=-2},ln=(e,n)=>{D.u|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===ct&&o.push(t)}for(let e=o.length-1;e>=0;e--){const t=o[e];t["s-hn"]!==ct&&t["s-ol"]&&(vn(fn(t).parentNode,t,fn(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,nn=!0),n&&ln(t,n)}D.u&=-2},cn=(e,n,o,s,r,i)=>{let l,c=t.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;for(t.shadowDom&&c.shadowRoot&&c.tagName===ct&&(c=c.shadowRoot);r<=i;++r)s[r]&&(l=sn(null,o,r),l&&(s[r].I=l,vn(c,l,t.slotRelocation?fn(n):n)))},an=(e,n,o)=>{for(let s=n;s<=o;++s){const n=e[s];if(n){const e=n.I;mn(n),e&&(t.slotRelocation&&(tn=!0,e["s-ol"]?e["s-ol"].remove():ln(e,!0)),e.remove())}}},un=(e,n,o=!1)=>e.M===n.M&&(t.slotRelocation&&"slot"===e.M?e.D===n.D:t.vdomKey&&!o?e.L===n.L:(o&&!e.L&&n.L&&(e.L=n.L),!0)),fn=e=>e&&e["s-ol"]||e,dn=(e,n,o=!1)=>{const s=n.I=e.I,r=e.T,i=n.T,l=n.M,c=n.k;let a;t.vdomText&&null!==c?t.vdomText&&t.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:t.vdomText&&e.k!==c&&(s.data=c):(t.svg&&(on="svg"===l||"foreignObject"!==l&&on),(t.vdomAttribute||t.reflect)&&(t.slot&&"slot"===l&&!en&&t.experimentalSlotFixes&&e.D!==n.D&&(n.I["s-sn"]=n.D||"",rn(n.I.parentElement)),Gt(e,n,on,o)),t.updatable&&null!==r&&null!==i?((e,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(un(h,v,r))dn(h,v,r),h=n[++c],v=s[++a];else if(un(p,g,r))dn(p,g,r),p=n[--d],g=s[--m];else if(un(h,g,r))!t.slotRelocation||"slot"!==h.M&&"slot"!==g.M||ln(h.I.parentNode,!1),dn(h,g,r),vn(e,h.I,p.I.nextSibling),h=n[++c],g=s[--m];else if(un(p,v,r))!t.slotRelocation||"slot"!==h.M&&"slot"!==g.M||ln(p.I.parentNode,!1),dn(p,v,r),vn(e,p.I,h.I),p=n[--d],v=s[++a];else{if(u=-1,t.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].L&&n[f].L===v.L){u=f;break}t.vdomKey&&u>=0?(l=n[u],l.M!==v.M?i=sn(n&&n[a],o,u):(dn(l,v,r),n[u]=void 0,i=l.I),v=s[++a]):(i=sn(n&&n[a],o,a),v=s[++a]),i&&(t.slotRelocation?vn(fn(h.I).parentNode,i,fn(h.I)):vn(h.I.parentNode,i,h.I))}c>d?cn(e,null==s[m+1]?null:s[m+1].I,o,s,a,m):t.updatable&&a>m&&an(n,c,d)})(s,r,n,i,o):null!==i?(t.updatable&&t.vdomText&&null!==e.k&&(s.textContent=""),cn(s,null,n,i,0,i.length-1)):!o&&t.updatable&&null!==r?an(r,0,r.length-1):t.hydrateClientSide&&o&&t.updatable&&null!==r&&null===i&&(n.T=r),t.svg&&on&&"svg"===l&&(on=!1))},hn=[],pn=e=>{let n,o,s;const r=e.__childNodes||e.childNodes;for(const e of r){if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){o=n.parentNode.__childNodes||n.parentNode.childNodes;const r=e["s-sn"];for(s=o.length-1;s>=0;s--)if(n=o[s],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||t.experimentalSlotFixes&&n["s-sh"]&&n["s-sh"]===e["s-hn"]))if(fe(n,r)){let t=hn.find((e=>e.B===n));tn=!0,n["s-sn"]=n["s-sn"]||r,t?(t.B["s-sh"]=e["s-hn"],t.W=e):(n["s-sh"]=e["s-hn"],hn.push({W:e,B:n})),n["s-sr"]&&hn.map((e=>{fe(e.B,n["s-sn"])&&(t=hn.find((e=>e.B===n)),t&&!e.W&&(e.W=t.W))}))}else hn.some((e=>e.B===n))||hn.push({B:n})}1===e.nodeType&&pn(e)}},mn=e=>{t.vdomRef&&(e.R&&e.R.ref&&e.R.ref(null),e.T&&e.T.map(mn))},vn=(e,n,o)=>{if(t.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])gn(n["s-cr"],n,e,n.parentElement);else if(t.experimentalSlotFixes&&"string"==typeof n["s-sn"]){11!==e.getRootNode().nodeType&&De(n),e.insertBefore(n,o);const{slotNode:t}=ve(n);return t&&me(t),n}return t.experimentalSlotFixes&&e.__insertBefore?e.__insertBefore(n,o):null==e?void 0:e.insertBefore(n,o)};function gn(e,t,n,o){var s,r;let i;if(e&&"string"==typeof t["s-sn"]&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(i=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"],l=t["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let t=(o.__childNodes||o.childNodes)[0],n=!1;for(;t;){if(t["s-sn"]!==e&&t["s-hn"]===l&&t["s-sr"]){n=!0;break}t=t.nextSibling}n||o.classList.remove(i+"-s")}}}var $n=(e,n,o=!1)=>{var s,r,i,l,c;const a=e.$hostElement$,u=e.o,f=e.V||Ke(null,null),d=qe(n)?n:Xe(null,null,n);if(ct=a.tagName,t.isDev&&Array.isArray(n)&&n.some(qe))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${ct.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(t.reflect&&u.Y&&(d.R=d.R||{},u.Y.map((([e,t])=>d.R[t]=a[e]))),o&&d.R)for(const e of Object.keys(d.R))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.R[e]=a[e]);if(d.M=null,d.u|=4,e.V=d,d.I=f.I=t.shadowDom&&a.shadowRoot||a,(t.scoped||t.shadowDom)&&(it=a["s-sc"]),en=M&&!!(1&u.u)&&!(128&u.u),t.slotRelocation&&(lt=a["s-cr"],tn=!1),dn(f,d,o),t.slotRelocation){if(D.u|=1,nn){pn(d.I);for(const e of hn){const n=e.B;if(!n["s-ol"]&&T.document){const e=t.isDebug||t.hydrateServerSide?yn(n):T.document.createTextNode("");e["s-nr"]=n,vn(n.parentNode,n["s-ol"]=e,n)}}for(const e of hn){const n=e.B,c=e.W;if(c){const e=c.parentNode;let o=c.nextSibling;if(!t.hydrateServerSide&&(!t.experimentalSlotFixes||o&&1===o.nodeType)){let t=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;t;){let s=null!=(r=t["s-nr"])?r:null;if(s&&s["s-sn"]===n["s-sn"]&&e===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}t=t.previousSibling}}(!o&&e!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o&&(t.experimentalSlotFixes||n["s-hn"]||!n["s-ol"]||(n["s-hn"]=n["s-ol"].parentNode.nodeName),vn(e,n,o),1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)),n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(o&&(n["s-ih"]=null!=(l=n.hidden)&&l),n.hidden=!0)}}tn&&le(d.I),D.u&=-2,hn.length=0}if(t.experimentalScopedSlotChanges&&2&u.u){const e=d.I.__childNodes||d.I.childNodes;for(const t of e)t["s-hn"]===ct||t["s-sh"]||(o&&null==t["s-ih"]&&(t["s-ih"]=null!=(c=t.hidden)&&c),t.hidden=!0)}lt=void 0},bn=e=>{var t;return null==(t=T.document)?void 0:t.createComment(`<slot${e.D?' name="'+e.D+'"':""}> (host=${ct.toLowerCase()})`)},yn=e=>{var t;return null==(t=T.document)?void 0:t.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`))},wn=(e,n)=>{if(t.asyncLoading&&n&&!e.J&&n["s-p"]){const t=n["s-p"].push(new Promise((o=>e.J=()=>{n["s-p"].splice(t-1,1),o()})))}},Sn=(e,n)=>{if(t.taskQueue&&t.updatable&&(e.u|=16),t.asyncLoading&&4&e.u)return void(e.u|=512);wn(e,e.X);const o=()=>xn(e,n);return t.taskQueue?K(o):o()},xn=(e,n)=>{const o=e.$hostElement$,s=He("scheduleUpdate",e.o.O),r=t.lazyLoad?e.l:o;if(!r)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n?(t.lazyLoad&&t.hostListener&&(e.u|=256,e.K&&(e.K.map((([e,t])=>Tn(r,e,t,o))),e.K=void 0)),Ln(o,"componentWillLoad"),i=Tn(r,"componentWillLoad",void 0,o)):(Ln(o,"componentWillUpdate"),i=Tn(r,"componentWillUpdate",void 0,o)),Ln(o,"componentWillRender"),i=On(i,(()=>Tn(r,"componentWillRender",void 0,o))),s(),On(i,(()=>Cn(e,r,n)))},On=(e,t)=>jn(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),jn=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Cn=async(e,n,o)=>{var s;const r=e.$hostElement$,i=He("update",e.o.O),l=r["s-rc"];t.style&&o&&Ve(e);const c=He("render",e.o.O);if(t.isDev&&(e.u|=1024),t.hydrateServerSide?await En(e,n,r,o):En(e,n,r,o),t.isDev&&(e.p=void 0===e.p?1:e.p+1,e.u&=-1025),t.hydrateServerSide)try{Mn(r),o&&(1&e.o.u?r["s-en"]="":2&e.o.u&&(r["s-en"]="c"))}catch(e){m(e,r)}if(t.asyncLoading&&l&&(l.map((e=>e())),r["s-rc"]=void 0),c(),i(),t.asyncLoading){const t=null!=(s=r["s-p"])?s:[],n=()=>Nn(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}else Nn(e)},_n=null,En=(e,n,o,s)=>{const r=!!t.allRenderFn,i=!!t.lazyLoad,l=!!t.taskQueue,c=!!t.updatable;try{if(_n=n,n=(r||n.render)&&n.render(),c&&l&&(e.u&=-17),(c||i)&&(e.u|=2),t.hasRenderFn||t.reflect)if(t.vdomRender||t.reflect){if(t.hydrateServerSide)return Promise.resolve(n).then((t=>$n(e,t,s)));$n(e,n,s)}else 1&e.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(t){m(t,e.$hostElement$)}return _n=null,null},Nn=e=>{const n=e.o.O,o=e.$hostElement$,s=He("postUpdate",n),r=t.lazyLoad?e.l:o,i=e.X;t.isDev&&(e.u|=1024),Tn(r,"componentDidRender",void 0,o),t.isDev&&(e.u&=-1025),Ln(o,"componentDidRender"),64&e.u?(t.isDev&&(e.u|=1024),Tn(r,"componentDidUpdate",void 0,o),t.isDev&&(e.u&=-1025),Ln(o,"componentDidUpdate"),s()):(e.u|=64,t.asyncLoading&&t.cssAnnotations&&Dn(o),t.isDev&&(e.u|=2048),Tn(r,"componentDidLoad",void 0,o),t.isDev&&(e.u&=-2049),Ln(o,"componentDidLoad"),s(),t.asyncLoading&&(e.S(o),i||Rn(n))),t.method&&t.lazyLoad&&e.v(o),t.asyncLoading&&(e.J&&(e.J(),e.J=void 0),512&e.u&&J((()=>Sn(e,!1))),e.u&=-517)},kn=e=>{if(t.updatable&&(s.isBrowser||s.isTesting)){const t=f(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.u)&&Sn(t,!1),n}return!1},Rn=n=>{var o;t.asyncQueue&&(D.u|=2),J((()=>Yt(T,"appload",{detail:{namespace:e}}))),t.hydrateClientSide&&(null==(o=D.q)?void 0:o.size)&&D.q.clear(),t.profile&&performance.measure&&performance.measure(`[Stencil] ${e} initial load (by ${n})`,"st:app:start")},Tn=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){m(e,o)}},Ln=(n,o)=>{t.lifecycleDOMEvents&&Yt(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:e}})},Dn=e=>{var n,o;return t.hydratedClass?e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated"):t.hydratedAttribute?e.setAttribute(null!=(o=t.hydratedSelectorName)?o:"hydrated",""):void 0},Mn=e=>{const t=e.children;if(null!=t)for(let e=0,n=t.length;e<n;e++){const n=t[e];"function"==typeof n.connectedCallback&&n.connectedCallback(),Mn(n)}},In=(e,t)=>f(e).i.get(t),An=(e,n,o,s)=>{const r=f(e);if(t.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.O}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const i=t.lazyLoad?r.$hostElement$:e,l=r.i.get(n),c=r.u,a=t.lazyLoad?r.l:i;if(o=Wt(o,s.t[n][0],t.formAssociated&&!!(64&s.u)),(!t.lazyLoad||!(8&c)||void 0===l)&&o!==l&&(!Number.isNaN(l)||!Number.isNaN(o))&&(r.i.set(n,o),t.isDev&&(1024&r.u?$(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.u&&$(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),!t.lazyLoad||a)){if(t.watchCallback&&s.G&&128&c){const e=s.G[n];e&&e.map((e=>{try{a[e](o,l,n)}catch(e){m(e,i)}}))}if(t.updatable&&2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n))return;Sn(r,!1)}}},Pn=(e,n,o)=>{var s,r;const i=e.prototype;if(t.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(t.formAssociated&&64&n.u&&1&o&&R.forEach((e=>{const n=i[e];Object.defineProperty(i,e,{value(...o){const s=f(this),r=t.lazyLoad?s.l:this;if(r){const s=t.lazyLoad?r[e]:n;"function"==typeof s&&s.call(r,...o)}else s.$.then((t=>{const n=t[e];"function"==typeof n&&n.call(t,...o)}))}})})),t.member&&n.t||t.watchCallback&&(n.G||e.watchers)){t.watchCallback&&e.watchers&&!n.G&&(n.G=e.watchers);const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([e,[s]])=>{if((t.prop||t.state)&&(31&s||(!t.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=Object.getOwnPropertyDescriptor(i,e)||{};r&&(n.t[e][0]|=2048),l&&(n.t[e][0]|=4096),(1&o||!r)&&Object.defineProperty(i,e,{get(){if(t.lazyLoad){if(!(2048&n.t[e][0]))return In(this,e);const t=f(this),o=t?t.l:i;if(!o)return;return o[e]}if(!t.lazyLoad)return r?r.apply(this):In(this,e)},configurable:!0,enumerable:!0}),Object.defineProperty(i,e,{set(r){const i=f(this);if(t.isDev&&(1&o||4096&n.t[e][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||$(`@Prop() "${e}" on <${n.O}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l){const o=32&s?this[e]:i.$hostElement$[e];return void 0===o&&i.i.get(e)?r=i.i.get(e):!i.i.get(e)&&o&&i.i.set(e,o),l.call(this,Wt(r,s,t.formAssociated&&!!(64&n.u))),void An(this,e,r=32&s?this[e]:i.$hostElement$[e],n)}if(t.lazyLoad){if(t.lazyLoad){if(!(1&o&&4096&n.t[e][0]))return An(this,e,r,n),void(1&o&&!i.l&&i.$.then((()=>{4096&n.t[e][0]&&i.l[e]!==i.i.get(e)&&(i.l[e]=r)})));const l=()=>{const o=i.l[e];!i.i.get(e)&&o&&i.i.set(e,o),i.l[e]=Wt(r,s,t.formAssociated&&!!(64&n.u)),An(this,e,i.l[e],n)};i.l?l():i.$.then((()=>l()))}}else An(this,e,r,n)}})}else t.lazyLoad&&t.method&&1&o&&64&s&&Object.defineProperty(i,e,{value(...t){var n;const o=f(this);return null==(n=null==o?void 0:o.m)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[e](...t)}))}})})),t.observeAttribute&&(!t.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(e,s,r){D.jmp((()=>{var l;const c=o.get(e);if(this.hasOwnProperty(c)&&t.lazyLoad)r=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==r)return;if(null==c){const o=f(this),i=null==o?void 0:o.u;if(i&&!(8&i)&&128&i&&r!==s){const i=t.lazyLoad?o.l:t.lazyLoad?o.$hostElement$:this,c=null==(l=n.G)?void 0:l[e];null==c||c.forEach((t=>{null!=i[t]&&i[t].call(i,r,s,e)}))}return}}const a=Object.getOwnPropertyDescriptor(i,c);(r=(null!==r||"boolean"!=typeof this[c])&&r)===this[c]||a.get&&!a.set||(this[c]=r)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.G)?r:{}),...l.filter((([e,t])=>15&t[0])).map((([e,s])=>{var r;const i=s[1]||e;return o.set(i,e),t.reflect&&512&s[0]&&(null==(r=n.Y)||r.push([e,i])),i}))]))}}return e},Fn=async(e,n,o,s)=>{let r;if(!(32&n.u)){if(n.u|=32,t.lazyLoad&&o.j){const i=w(o,n,s);if(i&&"then"in i){const e=((e,n)=>t.profile&&performance.mark?(0===performance.getEntriesByName(e,"mark").length&&performance.mark(e),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,e)}):()=>{})(`st:load:${o.O}:${n.C}`,`[Stencil] Load module for <${o.O}>`);r=await i,e()}else r=i;if(!r)throw Error(`Constructor for "${o.O}#${n.C}" was not found`);t.member&&!r.isProxied&&(t.watchCallback&&(o.G=r.watchers),Pn(r,o,2),r.isProxied=!0);const l=He("createInstance",o.O);t.member&&(n.u|=8);try{new r(n)}catch(t){m(t,e)}t.member&&(n.u&=-9),t.watchCallback&&(n.u|=128),l(),Hn(n.l,e)}else r=e.constructor,customElements.whenDefined(e.localName).then((()=>n.u|=128));if(t.style&&r&&r.style){let s;"string"==typeof r.style?s=r.style:t.mode&&"string"!=typeof r.style&&(n.C=Bt(e),n.C&&(s=r.style[n.C]),t.hydrateServerSide&&n.C&&e.setAttribute("s-mode",n.C));const i=ze(o,n.C);if(!S.has(i)){const e=He("registerStyles",o.O);t.hydrateServerSide&&t.shadowDom&&128&o.u&&(s=Ut(s,i)),Be(i,s,!!(1&o.u)),e()}}}const i=n.X,l=()=>Sn(n,!0);t.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()},Hn=(e,n)=>{t.lazyLoad&&Tn(e,"connectedCallback",void 0,n)},Un=e=>{if(!(1&D.u)){const n=f(e),o=n.o,s=He("connectedCallback",o.O);if(t.hostListenerTargetParent&&Xn(e,n,o.Z,!0),1&n.u)Xn(e,n,o.Z,!1),(null==n?void 0:n.l)?Hn(n.l,e):(null==n?void 0:n.$)&&n.$.then((()=>Hn(n.l,e)));else{let s;if(n.u|=1,t.hydrateClientSide&&(s=e.getAttribute(O),s)){if(t.shadowDom&&M&&1&o.u){const n=t.mode?We(e.shadowRoot,o,e.getAttribute("s-mode")):We(e.shadowRoot,o);e.classList.remove(n+"-h",n+"-s")}else if(t.scoped&&2&o.u){const n=ze(o,t.mode?e.getAttribute("s-mode"):void 0);e["s-sc"]=n}((e,n,o,s)=>{var r,i;const l=He("hydrateClient",n),c=e.shadowRoot,a=[],u=[],d=[],h=t.shadowDom&&c?[]:null,p=Ke(n,null);let m;if(p.I=e,Object.entries((null==(r=s.o)?void 0:r.t)||{}).forEach((([n,[o,r]])=>{var i,l;if(!(31&o))return;const c=e.getAttribute(r||n);if(null!==c){const e=Wt(c,o,t.formAssociated&&!!(64&(null==(i=s.o)?void 0:i.u)));null==(l=null==s?void 0:s.i)||l.set(n,e)}})),t.scoped){const t=s.o;t&&10&t.u&&e["s-sc"]?(m=e["s-sc"],e.classList.add(m+"-h")):e["s-sc"]&&delete e["s-sc"]}!T.document||D.q&&D.q.size||ot(T.document.body,D.q=new Map),e[O]=o,e.removeAttribute(O),s.V=nt(p,a,u,h,e,e,o,d);let v=0;const g=a.length;let $;for(;v<g;v++){$=a[v];const o=$.A+"."+$.P,s=D.q.get(o),r=$.I;if(c){if((null==(i=$.M)?void 0:(""+i).includes("-"))&&!$.I.shadowRoot){const n=ze(f($.I).o,t.mode?$.I.getAttribute("s-mode"):void 0),o=T.document.querySelector(`style[sty-id="${n}"]`);o&&e.shadowRoot.append(o.cloneNode(!0))}}else r["s-hn"]=n.toUpperCase(),"slot"===$.M&&(r["s-cr"]=e["s-cr"]);"slot"===$.M&&($.D=$.I["s-sn"]||$.I.name||null,$.T?($.u|=2,$.I.childNodes.length||$.T.forEach((e=>{$.I.appendChild(e.I)}))):$.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(r,s.nextSibling),s.parentNode.removeChild(s),c||(r["s-oo"]=parseInt($.P))),s&&!s["s-id"]&&D.q.delete(o)}const b=[],y=d.length;let w,S,x,j,C=0;for(;C<y;C++)if(w=d[C],w&&w.length)for(x=w.length,S=0;S<x;S++){if(j=w[S],b[j.hostId]||(b[j.hostId]=D.q.get(j.hostId)),!b[j.hostId])continue;const e=b[j.hostId];e.shadowRoot&&c||(j.slot["s-cr"]||(j.slot["s-cr"]=e["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&e.shadowRoot?e:(e.__childNodes||e.childNodes)[0]),de(j.node,j.slot,!1,j.node["s-oo"]),t.experimentalSlotFixes&&Ne(j.node)),e.shadowRoot&&j.node.parentElement!==e&&e.appendChild(j.node)}if(t.scoped&&m&&u.length&&u.forEach((e=>{e.I.parentElement.classList.add(m+"-s")})),t.shadowDom&&c){let t=0;const n=h.length;if(n){for(;t<n;t++)c.appendChild(h[t]);Array.from(e.childNodes).forEach((e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType&&!e.nodeValue||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))}))}}s.$hostElement$=e,l()})(e,o.O,s,n)}if(t.slotRelocation&&!s)if(t.hydrateServerSide||(t.slot||t.shadowDom)&&12&o.u)Bn(e);else if(t.hydrateClientSide&&!(4&o.u)){const t=e.fi