@bino-bi/bn-template-engine 1.0.0-next.45 → 1.0.0-next.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/index.esm.js +1 -1
- package/dist/bn-template-engine/{p-DVE0-sOv.js → p-3ktFZb1x.js} +1 -1
- package/dist/bn-template-engine/p-444a231f.entry.js +1 -0
- package/dist/bn-template-engine/{p-48871742.entry.js → p-6ab684a9.entry.js} +1 -1
- package/dist/bn-template-engine/p-7pLJBHT2.js +1 -0
- package/dist/bn-template-engine/{p-5a64f90f.entry.js → p-9a24e486.entry.js} +1 -1
- package/dist/bn-template-engine/p-BL07yV8P.js +1 -0
- package/dist/bn-template-engine/p-DXtYQE4s.js +1 -0
- package/dist/bn-template-engine/p-DY5fMUX8.js +1 -0
- package/dist/bn-template-engine/{p-qpZjVnX5.js → p-Dvlw60RF.js} +1 -1
- package/dist/bn-template-engine/p-GstO_GU5.js +2 -0
- package/dist/bn-template-engine/p-a6017fce.entry.js +1 -0
- package/dist/bn-template-engine/{p-8b28c9bd.entry.js → p-b3f5eba0.entry.js} +1 -1
- package/dist/bn-template-engine/p-ddc1b2a9.entry.js +1 -0
- package/dist/bn-template-engine/p-hV2evPFR.js +1 -0
- package/dist/cjs/bn-annotation-layer_30.cjs.entry.js +657 -114
- package/dist/cjs/bn-grid.cjs.entry.js +164 -37
- package/dist/cjs/bn-image.cjs.entry.js +3 -3
- package/dist/cjs/bn-internationalization.cjs.entry.js +3 -3
- package/dist/cjs/bn-ruleset.cjs.entry.js +3 -3
- package/dist/cjs/bn-template-engine.cjs.js +2 -2
- package/dist/cjs/bn-text.cjs.entry.js +4 -4
- package/dist/cjs/index-CM6022qm.js +66 -0
- package/dist/cjs/{index-DGis1BzT.js → index-DwBbheYB.js} +2 -1
- package/dist/cjs/index.cjs.js +6 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{localFrame-U3Qs0psw.js → localFrame-C4RBw_zT.js} +1 -1
- package/dist/cjs/types-BngAWYMW.js +17 -0
- package/dist/cjs/{withBodyObserver-S-FGHpAX.js → withBodyObserver-CIGVLQEB.js} +2 -2
- package/dist/cjs/{withHasError-BkBrsCpI.js → withHasError-CZFrIJw0.js} +12 -6
- package/dist/cjs/{withStyled-BZb6snOx.js → withStyled-DHKHBdRb.js} +41 -6
- package/dist/cjs/{withTranslation-1qTs5Fi7.js → withTranslation-CLwC9a8V.js} +3 -3
- package/dist/collection/components/bn-annotation-layer/bn-annotation-layer.js +33 -2
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +112 -16
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +1 -1
- package/dist/collection/components/bn-chart-structure/utils/elements/Needle.js +3 -3
- package/dist/collection/components/bn-chart-time/bn-chart-time-renderer/bn-chart-time-renderer.js +113 -3
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +261 -22
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +224 -14
- package/dist/collection/components/bn-chart-time/utils/elements/AreaFill.js +1 -9
- package/dist/collection/components/bn-chart-time/utils/elements/Axis.js +9 -1
- package/dist/collection/components/bn-chart-time/utils/elements/Column.js +10 -4
- package/dist/collection/components/bn-chart-time/utils/elements/LineSeries.js +1 -6
- package/dist/collection/components/bn-chart-time/utils/elements/Needle.js +9 -3
- package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +2 -2
- package/dist/collection/components/bn-chart-time/utils/model/DataPoint.js +9 -6
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +15 -0
- package/dist/collection/components/bn-context/bn-context.js +86 -1
- package/dist/collection/components/bn-grid/bn-grid.js +118 -24
- package/dist/collection/components/bn-grid/utils/cellLayout.js +55 -9
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +4 -2
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +23 -1
- package/dist/collection/components/bn-title/bn-title-renderer/bn-title-renderer.css +10 -0
- package/dist/collection/components/bn-title/bn-title-renderer/bn-title-renderer.js +23 -1
- package/dist/collection/components/bn-title/bn-title.js +40 -2
- package/dist/collection/index.js +1 -0
- package/dist/collection/stores/componentStyles.js +9 -3
- package/dist/collection/stores/internationalization.js +2 -2
- package/dist/collection/utils/DateStringFactory.js +19 -0
- package/dist/collection/utils/model/DataFormatDigits.js +4 -2
- package/dist/collection/utils/model/VarianceScenario.js +13 -0
- package/dist/collection/utils/notation.js +56 -0
- package/dist/collection/utils/validate.js +4 -0
- package/dist/collection/utils/withComponentStyle.js +14 -4
- package/dist/components/bn-annotation-layer.js +1 -1
- package/dist/components/bn-annotation-list.js +1 -1
- package/dist/components/bn-asset.js +1 -1
- package/dist/components/bn-body.js +1 -1
- package/dist/components/bn-card.js +1 -1
- package/dist/components/bn-chart-bubble-renderer.js +1 -1
- package/dist/components/bn-chart-bubble.js +1 -1
- package/dist/components/bn-chart-bullet-renderer.js +1 -1
- package/dist/components/bn-chart-bullet.js +1 -1
- package/dist/components/bn-chart-scatter-renderer.js +1 -1
- package/dist/components/bn-chart-scatter.js +1 -1
- package/dist/components/bn-chart-structure-renderer.js +1 -1
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/bn-chart-time-renderer.js +1 -1
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-component-style.js +1 -1
- package/dist/components/bn-context.js +1 -1
- package/dist/components/bn-dataset.js +1 -1
- package/dist/components/bn-datasource.js +1 -1
- package/dist/components/bn-footer.js +1 -1
- package/dist/components/bn-grid.js +1 -1
- package/dist/components/bn-image.js +1 -1
- package/dist/components/bn-internationalization.js +1 -1
- package/dist/components/bn-layout-card.js +1 -1
- package/dist/components/bn-layout-page.js +1 -1
- package/dist/components/bn-message.js +1 -1
- package/dist/components/bn-page.js +1 -1
- package/dist/components/bn-ruleset.js +1 -1
- package/dist/components/bn-scaling-group.js +1 -1
- package/dist/components/bn-table-renderer.js +1 -1
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/bn-title-renderer.js +1 -1
- package/dist/components/bn-title.js +1 -1
- package/dist/components/bn-tree.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-fKJx8WtW.js → p-2t-lysdb.js} +1 -1
- package/dist/components/{p-2eicD9rF.js → p-4xaxuPVU.js} +1 -1
- package/dist/components/p-6242qMx1.js +1 -0
- package/dist/components/p-6gET6YXc.js +1 -0
- package/dist/components/p-BFWvVe7v.js +1 -0
- package/dist/components/{p-CyfGkLMh.js → p-BFoRIqDi.js} +1 -1
- package/dist/components/p-BP2sJ8k9.js +1 -0
- package/dist/components/{p-B4L069XF.js → p-BgdoWKFY.js} +1 -1
- package/dist/components/{p-BzjGUtYh.js → p-BjgkgCAQ.js} +1 -1
- package/dist/components/p-BnmylmXF.js +2 -0
- package/dist/components/p-Bp5Xj4-s.js +1 -0
- package/dist/components/{p-Dq9dG0Kr.js → p-BrQCbmG0.js} +1 -1
- package/dist/components/{p-NBaq67dL.js → p-C-3TOa6K.js} +1 -1
- package/dist/components/{p-M2k_I8lv.js → p-C8rpOS5t.js} +1 -1
- package/dist/components/{p-BfUdaxZ9.js → p-CG-iY7pQ.js} +1 -1
- package/dist/components/{p-B2bvM2Ig.js → p-CLjuZoiT.js} +1 -1
- package/dist/components/p-CUoPUIej.js +1 -0
- package/dist/components/p-CZzlLTQc.js +1 -0
- package/dist/components/p-CmvpJzLd.js +1 -0
- package/dist/components/{p-CvEdUq8i.js → p-CrZ_O3DT.js} +1 -1
- package/dist/components/{p-eWxolPDU.js → p-CytMTBFu.js} +1 -1
- package/dist/components/{p-4vVbchX2.js → p-D32TsLzd.js} +1 -1
- package/dist/components/p-D3hr9wra.js +1 -0
- package/dist/components/{p-BXg3v5AO.js → p-DDo-fu3v.js} +1 -1
- package/dist/components/{p-B5tixDPM.js → p-DFybNETX.js} +1 -1
- package/dist/components/p-DJSj3oQq.js +1 -0
- package/dist/components/p-DMAaBt7n.js +1 -0
- package/dist/components/{p-Cel0a6ma.js → p-DRU71K0s.js} +1 -1
- package/dist/components/p-DRmphEA0.js +1 -0
- package/dist/components/{p-9mUU4itF.js → p-DUZCLRVu.js} +1 -1
- package/dist/components/p-DY5fMUX8.js +1 -0
- package/dist/components/p-D_K7tYhY.js +1 -0
- package/dist/components/{p-DaOm9YwQ.js → p-DdvG1D18.js} +1 -1
- package/dist/components/p-Do4GqlMV.js +1 -0
- package/dist/components/p-Dw3rv_Y9.js +1 -0
- package/dist/components/{p-BXXjh6We.js → p-Dyzb4ika.js} +1 -1
- package/dist/components/p-JG4Sx1lE.js +1 -0
- package/dist/components/p-TNX3alPU.js +1 -0
- package/dist/components/p-Uc0zvXcQ.js +1 -0
- package/dist/components/p-VtNvNyZK.js +1 -0
- package/dist/components/{p-Y9bth2Y_.js → p-Zuxd3z0q.js} +1 -1
- package/dist/components/{p-7ieJFBUk.js → p-dO0utE8m.js} +1 -1
- package/dist/components/{p-16rjcQ0t.js → p-j42D1yrQ.js} +1 -1
- package/dist/components/p-ja0FCkHB.js +1 -0
- package/dist/esm/bn-annotation-layer_30.entry.js +646 -103
- package/dist/esm/bn-grid.entry.js +163 -36
- package/dist/esm/bn-image.entry.js +3 -3
- package/dist/esm/bn-internationalization.entry.js +3 -3
- package/dist/esm/bn-ruleset.entry.js +3 -3
- package/dist/esm/bn-template-engine.js +3 -3
- package/dist/esm/bn-text.entry.js +4 -4
- package/dist/esm/index-DZHir0Ol.js +60 -0
- package/dist/esm/{index-CCZcKl0Q.js → index-GstO_GU5.js} +2 -2
- package/dist/esm/index.js +2 -15
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{localFrame-BNWPPaQa.js → localFrame-WNu1bAPm.js} +1 -1
- package/dist/esm/types-DY5fMUX8.js +15 -0
- package/dist/esm/{withBodyObserver-AHQAUV85.js → withBodyObserver-wJgSN1Pj.js} +2 -2
- package/dist/esm/{withHasError-B6Lvj9Cq.js → withHasError-BDWEBrrb.js} +12 -6
- package/dist/esm/{withStyled-CzzXg64f.js → withStyled-CTZFjg4L.js} +40 -7
- package/dist/esm/{withTranslation-C1gL7wSU.js → withTranslation-BESW5BNq.js} +3 -3
- package/dist/schemas/theme.schema.json +18 -0
- package/dist/types/components/bn-annotation-layer/bn-annotation-layer.d.ts +11 -0
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +16 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Needle.d.ts +2 -1
- package/dist/types/components/bn-chart-time/bn-chart-time-renderer/bn-chart-time-renderer.d.ts +8 -0
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +46 -1
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +37 -0
- package/dist/types/components/bn-chart-time/utils/elements/Axis.d.ts +2 -0
- package/dist/types/components/bn-chart-time/utils/elements/Needle.d.ts +2 -1
- package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +1 -1
- package/dist/types/components/bn-chart-time/utils/model/DataPoint.d.ts +6 -1
- package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +6 -0
- package/dist/types/components/bn-context/bn-context.d.ts +25 -0
- package/dist/types/components/bn-grid/bn-grid.d.ts +23 -0
- package/dist/types/components/bn-grid/utils/cellLayout.d.ts +39 -3
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +3 -1
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +9 -0
- package/dist/types/components/bn-title/bn-title-renderer/bn-title-renderer.d.ts +2 -0
- package/dist/types/components/bn-title/bn-title.d.ts +10 -0
- package/dist/types/components.d.ts +199 -6
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stores/componentStyles.d.ts +8 -0
- package/dist/types/utils/DateStringFactory.d.ts +4 -0
- package/dist/types/utils/layoutState/types.d.ts +3 -0
- package/dist/types/utils/model/VarianceScenario.d.ts +2 -0
- package/dist/types/utils/notation.d.ts +78 -0
- package/dist/types/utils/validate.d.ts +2 -0
- package/dist/types/utils/withComponentStyle.d.ts +6 -0
- package/package.json +1 -1
- package/dist/bn-template-engine/p-1b002bd5.entry.js +0 -1
- package/dist/bn-template-engine/p-750b2c82.entry.js +0 -1
- package/dist/bn-template-engine/p-CCZcKl0Q.js +0 -2
- package/dist/bn-template-engine/p-D0tNATZq.js +0 -1
- package/dist/bn-template-engine/p-DF9sfwBN.js +0 -1
- package/dist/bn-template-engine/p-EcC0qLtU.js +0 -1
- package/dist/bn-template-engine/p-b0dfc113.entry.js +0 -1
- package/dist/components/p-1B_s8oPY.js +0 -1
- package/dist/components/p-AwH1w8Mu.js +0 -1
- package/dist/components/p-BPGLOHUe.js +0 -1
- package/dist/components/p-BiSytXUy.js +0 -1
- package/dist/components/p-C2ycO60j.js +0 -1
- package/dist/components/p-C3gYq-HU.js +0 -1
- package/dist/components/p-CEf5X8MZ.js +0 -1
- package/dist/components/p-Chuj-LpI.js +0 -1
- package/dist/components/p-CniN8ALm.js +0 -1
- package/dist/components/p-D40Am1Ap.js +0 -1
- package/dist/components/p-D6YGOYV1.js +0 -2
- package/dist/components/p-DDvWTgk1.js +0 -1
- package/dist/components/p-DJUffGeB.js +0 -1
- package/dist/components/p-DQl2K2Xl.js +0 -1
- package/dist/components/p-DjPWZfry.js +0 -1
- package/dist/components/p-DnDL1pPc.js +0 -1
- package/dist/components/p-Do4oPrkE.js +0 -1
- package/dist/components/p-DwuXVo2h.js +0 -1
- package/dist/components/p-sLbQ7yZ1.js +0 -1
- package/dist/components/p-xIWChKGS.js +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const t="bn-template-engine",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!1,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",l="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?t[o]=n.i.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{const o={l:0,$hostElement$:t,o:n,i:new Map,u:new Map};e.isDev&&(o.p=0),e.method&&e.lazyLoad&&(o.m=new Promise((t=>o.v=t))),e.asyncLoading&&(o.$=new Promise((t=>o.S=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.j=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.l&&(e.state||e.prop)&&f(t,o),s},p=(t,e)=>e in t,m=(t,e)=>(a||console.error)(t,e),v=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...v,...t),g=(...t)=>console.warn(...v,...t),b=new Map,y=(t,n,o)=>{const s=t.O.replace(/-/g,"_"),r=t.C;if(e.isDev&&"string"!=typeof r)return void $(`Trying to lazily load component <${t.O}> with style mode "${n._}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&b.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||b.set(r,t),t[s])),(t=>{m(t,n.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,S=[],j="s-id",x="sty-id",O="c-id",C="_stencilDocData",_={hostIds:0,rootLevelIds:0,staticComponents:new Set},E="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",N=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],T="undefined"!=typeof window?window:{},L=T.HTMLElement||class{},R={l:0,k:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},M=e.shadowDom,A=(()=>{var t;let e=!1;try{null==(t=T.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),D=t=>Promise.resolve(t),I=!!e.constructableCSS&&(()=>{try{return!!T.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),H=!!I&&(()=>!!T.document&&Object.getOwnPropertyDescriptor(T.document.adoptedStyleSheets,"length").writable)(),F=0,P=!1,U=[],z=[],B=[],V=(t,e)=>n=>{t.push(n),P||(P=!0,e&&4&R.l?X(J):R.raf(J))},W=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){m(t)}t.length=0},Y=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){m(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},J=()=>{if(e.asyncQueue&&F++,W(U),e.asyncQueue){const t=2==(6&R.l)?performance.now()+14*Math.ceil(.1*F):1/0;Y(z,t),Y(B,t),z.length>0&&(B.push(...z),z.length=0),(P=U.length+z.length+B.length>0)?R.raf(J):F=0}else W(z),(P=U.length>0)&&R.raf(J)},X=t=>D().then(t),q=V(U,!1),K=V(z,!0),Q=t=>{const e=new URL(t,R.k);return e.origin!==T.location.origin?e.href:e.pathname},G=t=>R.k=t;function Z(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.l)),e.shadowSlotAssignmentManual&&1024&t.l&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(H?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var tt=t=>{const e=Nt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&nt(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!ot(t,it(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Nt(t,"childNodes").length&&tt(t)}},et=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function nt(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||it(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...nt(o.childNodes,e,n)]}return r}var ot=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==e||!n&&s["s-sr"]||o.push(s);return o},st=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,rt=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=Nt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Nt(i,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function lt(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.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:et(s.childNodes)).forEach((t=>{o===it(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function ct(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function at(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:nt(Nt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ut=t=>{ft(t),dt(t),mt(t),pt(t),bt(t),vt(t),$t(t),gt(t),yt(t),wt(t),ht(t)},ft=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&M,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,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++)t=i[o]["s-nr"],n=r.every((t=>!i[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},dt=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=at(t,this);if(n){rt(t,n);const o=ot(n,e),s=o[o.length-1],r=Nt(s,"parentNode"),i=Nt(r,"insertBefore")(t,s.nextSibling);return ct(n),tt(this),i}return this.__appendChild(t)})},ht=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&nt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void tt(this)):this.__removeChild(t)})},pt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=it(e))||"",o=nt(Nt(this,"childNodes"),this.tagName,n)[0];if(o){rt(e,o,!0);const t=ot(o,n)[0],s=Nt(t,"parentNode"),r=Nt(s,"insertBefore")(e,Nt(t,"nextSibling"));return ct(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},mt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},vt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},$t=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},gt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=at(t,this),s=this.__childNodes?this.childNodes:et(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){rt(t,o);const n=Nt(e,"parentNode");Nt(n,"insertBefore")(t,e),ct(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},bt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},yt=t=>{kt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},wt=t=>{class e extends Array{item(t){return this[t]}}kt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),kt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),kt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),kt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...et(this.__childNodes)),t}})},St=t=>{t&&!t.__nextSibling&&(kt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},jt=t=>{t&&!t.__nextElementSibling&&(kt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},xt=t=>{t&&!t.__previousSibling&&(kt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},Ot=t=>{t&&!t.__previousElementSibling&&(kt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},Ct=t=>{t&&!t.__parentNode&&(kt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},_t=["children","nextElementSibling","previousElementSibling"],Et=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function kt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;_t.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Et.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Nt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var Tt=0,Lt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Tt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Rt(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Mt=new WeakMap,At=(t,e,n)=>{let o=w.get(t);I&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,w.set(t,o)},Dt=(t,n,o)=>{var s,r,i;const l=Ht(n,o),c=w.get(l);if(!e.attachStyles||!T.document)return l;if(t=11===t.nodeType?t:T.document,c)if("string"==typeof c){let o,i=Mt.get(t=t.head||t);i||Mt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${x}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=T.document.createElement("style"),o.textContent=c;const a=null!=(s=R.N)?s:Rt(T.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.l||128&n.l||1&n.l)&&o.setAttribute(x,l),!(1&n.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(I){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),H?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.l&&t.insertBefore(o,null),4&n.l&&(o.textContent+=E),i&&i.add(l)}}else if(e.constructableCSS){let n=Mt.get(t);if(n||Mt.set(t,n=new Set),!n.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(H?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${x}="${l}"]`);e&&K((()=>e.remove()))}}}return l},It=t=>{const n=t.o,o=t.$hostElement$,s=n.l,r=Lt("attachStyles",n.O),i=Dt(e.shadowDom&&M&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t._);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ht=(t,n)=>"sc-"+(e.mode&&n&&32&t.l?t.O+"-"+n:t.O),Ft=()=>{if(!T.document)return;const t=T.document.querySelectorAll(`[${x}]`);let e=0;for(;e<t.length;e++)At(t[e].getAttribute(x),t[e].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)},Pt=t=>"object"==(t=typeof t)||"function"===t,Ut=(t,n,...o)=>{"string"==typeof t&&(t=Gn(t));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 t&&!Pt(s))?s=String(s):e.isDev&&"function"!=typeof t&&void 0===s.l&&$("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].T+=s:a.push(l?zt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Xt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(i=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Vt)&&$("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."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Wt);const f=zt(t,null);return f.L=n,a.length>0&&(f.R=a),e.vdomKey&&(f.M=r),e.slotRelocation&&(f.A=i),f},zt=(t,n)=>{const o={l:0,D:t,T:null!=n?n:null,I:null,R:null};return e.vdomAttribute&&(o.L=null),e.vdomKey&&(o.M=null),e.slotRelocation&&(o.A=null),o},Bt={},Vt=t=>t&&t.D===Bt,Wt={forEach:(t,e)=>t.map(Yt).forEach(e),map:(t,e)=>t.map(Yt).map(e).map(Jt)},Yt=t=>({vattrs:t.L,vchildren:t.R,vkey:t.M,vname:t.A,vtag:t.D,vtext:t.T}),Jt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Ut(t.vtag,e,...t.vchildren||[])}const e=zt(t.vtag,t.vtext);return e.L=t.vattrs,e.R=t.vchildren,e.M=t.vkey,e.A=t.vname,e},Xt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),i=e.indexOf("step");(n<o||n<s||n<r||n<i)&&g('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},qt=(t,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(O),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Qt({l:0,F:u[0],P:u[1],U:u[2],B:u[3],D:i.tagName.toLowerCase(),I:i,L:{class:i.className||""}}),n.push(f),i.removeAttribute(O),t.R||(t.R=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.L.class+=" "+h);const r=f.I.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.D&&(Gt(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.I["s-sn"]=r,f.I.removeAttribute("s-sn")),void 0!==f.B&&(t.R[f.B]=f),t=f,s&&"0"===f.U&&(s[f.B]=f.I)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)qt(t,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)qt(t,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=Qt({F:u[1],P:u[2],U:u[3],B:u[4]||"0",I:i,L:null,R:null,M:null,A:null,D:null,T:null}),"t"===a?(f.I=te(i,3),f.I&&3===f.I.nodeType&&(f.T=f.I.textContent,n.push(f),i.remove(),l===f.F&&(t.R||(t.R=[]),t.R[f.B]=f),s&&"0"===f.U&&(s[f.B]=f.I))):"c"===a?(f.I=te(i,8),f.I&&8===f.I.nodeType&&(n.push(f),i.remove())):f.F===l&&("s"===a?Gt(i["s-sn"]=u[5]||"",u[2],f,i,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?i.remove():e.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.D){const e=zt(null,i.textContent);e.I=i,e.B="0",t.R=[e]}return t},Kt=(t,e)=>{if(1===t.nodeType){const n=t[j]||t.getAttribute(j);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Kt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Kt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Qt=t=>({l:0,F:null,P:null,U:null,B:"0",I:null,L:null,R:null,M:null,A:null,D:null,T:null,...t});function Gt(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.A=t||null,o.D="slot";const u=(null==r?void 0:r.I)?r.I["s-id"]||r.I.getAttribute("s-id"):"";if(e.shadowDom&&c&&T.document){const e=o.I=T.document.createElement(o.D);o.A&&o.I.setAttribute("name",t),r.I.shadowRoot&&u&&u!==o.F?Nt(r.I,"insertBefore")(e,Nt(r.I,"children")[0]):Nt(Nt(s,"parentNode"),"insertBefore")(e,s),Zt(a,n,t,s,o.F),s.remove(),"0"===o.U&&(c[o.B]=o.I)}else{const e=o.I,i=u&&u!==o.F&&r.I.shadowRoot;Zt(a,n,t,s,i?u:o.F),lt(s),i&&r.I.insertBefore(e,r.I.children[0])}i.push(o),l.push(o),r.R||(r.R=[]),r.R[o.B]=o}var Zt=(t,e,n,o,s)=>{var r,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},te=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},ee=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ne="-shadowcsshost",oe="-shadowcssslotted",se="-shadowcsscontext",re=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ie=new RegExp("("+ne+re,"gim"),le=new RegExp("("+se+re,"gim"),ce=new RegExp("("+oe+re,"gim"),ae=ne+"-no-combinator",ue=/-shadowcsshost-no-combinator([^\s]*)/,fe=[/::shadow/g,/::content/g],de=/__part-(\d+)__/g,he=/-shadowcsshost/gim,pe=t=>{const e=ee(t);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},me=/\/\*\s*[\s\S]*?\*\//g,ve=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,$e=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ge=/([{}])/g,be=/(^.*?[^\\])??((:+)(.*)|$)/,ye="%BLOCK%",we=(t,e)=>{const n=Se(t);let o=0;return n.escapedString.replace($e,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+ye)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${i}`}))},Se=t=>{const e=t.split(ge),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const i=e[t];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(ye),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(ye)),{escapedString:n.join(""),blocks:o}},je=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(ae,r,t[3]))}return o.join(",")}return ae+t[3]})),xe=(t,e,n)=>t+e.replace(ne,"")+n,Oe=(t,e,n)=>e.indexOf(ne)>-1?xe(t,e,n):t+e+n+", "+e+" "+t+n,Ce=(t,e)=>t.replace(be,((t,n="",o,s="",r="")=>n+e+s+r)),_e=(t,e,n,o)=>we(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(ae)>-1)s=((t,e,n)=>{if(he.lastIndex=0,he.test(t)){const e=`.${n}`;return t.replace(ue,((t,n)=>Ce(n,e))).replace(he,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(he,"");e.length>0&&(s=Ce(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(ae)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(ae)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(de)&&(u||f.indexOf(ae)>-1),l+=u?s(f):f,d=r.placeholders,l.replace(/__part-(\d+)__/g,((t,e)=>d[+e])).replace(/__ph-(\d+)__/g,((t,e)=>d[+e]));var d})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(r=_e(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Ee=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,`.${e}`),ke=(t,e)=>{const n=e+"-h",o=e+"-s",s=t.match(ve)||[];t=t.replace(me,"");const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=we(t,(t=>"@"!==t.selector[0]?e(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=we(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(ce,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];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 ae+t[3]})),{selectors:o,cssText:t}})(t=(t=>je(t,le,Oe))(t=(t=>je(t,ie,xe))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=pe("::slotted"),o=pe(":host"),s=pe(":host-context");return t=t.replace(s,`$1${se}`).replace(o,`$1${ne}`).replace(n,`$1${oe}`),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>fe.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=_e(t,e,n,o)),{cssText:(t=(t=Ee(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Ee(t.orgSelector,n),updatedSelector:Ee(t.updatedSelector,n)})))}})(t,e,n,o);return t=[i.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),i.slottedSelectors.forEach((e=>{const n=new RegExp(ee(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return we(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Ne=t=>S.map((e=>e(t))).find((t=>!!t)),Te=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},Le=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]: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((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return new RegExp(r,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};var Re,Me,Ae,De=(t,n,o)=>{return(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(l)?t="string"==typeof(s=t)&&s.startsWith(l)?Le.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(s.slice(11)))):s:null==t||Pt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?String(t):t;var s},Ie=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},He=(t,e,n)=>{const o=R.ce(e,n);return t.dispatchEvent(o),o},Fe=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=p(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Ue(o);let i=Ue(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];i.push(e),r.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else n.remove(...r.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!r.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&un(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const l=Pt(s);if((c||l&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(k,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(k,n,s):t.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 e=n.endsWith(ze);n=n.replace(Be,""),o&&R.rel(t,n,o,e),s&&R.ael(t,n,s,e)}},Pe=/\s/,Ue=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Pe):[]),ze="Capture",Be=new RegExp(ze+"$"),Ve=(t,n,o,s)=>{const r=11===n.I.nodeType&&n.I.host?n.I.host:n.I,i=t&&t.L||{},l=n.L||{};if(e.updatable)for(const t of We(Object.keys(i)))t in l||Fe(r,t,i[t],void 0,o,n.l,s);for(const t of We(Object.keys(l)))Fe(r,t,i[t],l[t],o,n.l,s)};function We(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Ye=!1,Je=!1,Xe=!1,qe=!1,Ke=[],Qe=[],Ge=(t,n,o)=>{var s;const r=n.R[o];let i,l,c,a=0;if(e.slotRelocation&&!Ye&&(Xe=!0,"slot"===r.D&&(r.l|=r.R?2:1)),e.isDev&&r.I&&$(`The JSX ${null!==r.T?`"${r.T}" text`:`"${r.D}" 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`),e.vdomText&&null!=r.T)i=r.I=T.document.createTextNode(r.T);else if(e.slotRelocation&&1&r.l)i=r.I=e.isDebug||e.hydrateServerSide?pn(r):T.document.createTextNode(""),e.vdomAttribute&&Ve(null,r,qe);else{if(e.svg&&!qe&&(qe="svg"===r.D),!T.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.I=e.svg?T.document.createElementNS(qe?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Ye&&e.slotRelocation&&2&r.l?"slot-fb":r.D):T.document.createElement(!Ye&&e.slotRelocation&&2&r.l?"slot-fb":r.D),e.svg&&qe&&"foreignObject"===r.D&&(qe=!1),e.vdomAttribute&&Ve(null,r,qe),(e.scoped||e.hydrateServerSide)&&null!=(u=Re)&&void 0!==u&&i["s-si"]!==Re&&i.classList.add(i["s-si"]=Re),r.R){const e="template"===r.D?i.content:i;for(a=0;a<r.R.length;++a)l=Ge(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.D?qe=!1:"foreignObject"===i.tagName&&(qe=!0))}var u;return i["s-hn"]=Ae,e.slotRelocation&&3&r.l&&(i["s-sr"]=!0,i["s-cr"]=Me,i["s-sn"]=r.A||"",i["s-rf"]=null==(s=r.L)?void 0:s.ref,lt(i),c=t&&t.R&&t.R[o],c&&c.D===r.D&&t.I&&Ze(t.I),(e.scoped||e.hydrateServerSide)&&dn(Me,i,n.I,null==t?void 0:t.I)),i},Ze=t=>{R.l|=1;const e=t.closest(Ae.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(fn(e,t,null!=n?n:null),t["s-sh"]=void 0,Xe=!0)}R.l&=-2},tn=(t,e)=>{R.l|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ae&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Ae&&o["s-ol"]&&(fn(sn(o).parentNode,o,sn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Xe=!0),e&&tn(o,e)}R.l&=-2},en=(t,n,o,s,r,i)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ae&&(c=c.shadowRoot),"template"===o.D&&(c=c.content);r<=i;++r)s[r]&&(l=Ge(null,o,r),l&&(s[r].I=l,fn(c,l,e.slotRelocation?sn(n):n)))},nn=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.I;an(n),t&&(e.slotRelocation&&(Je=!0,t["s-ol"]?t["s-ol"].remove():tn(t,!0)),t.remove())}}},on=(t,n,o=!1)=>t.D===n.D&&(e.slotRelocation&&"slot"===t.D?t.A===n.A:e.vdomKey&&!o?t.M===n.M:(o&&!t.M&&n.M&&(t.M=n.M),!0)),sn=t=>t&&t["s-ol"]||t,rn=(t,n,o=!1)=>{const s=n.I=t.I,r=t.R,i=n.R,l=n.D,c=n.T;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.T!==c&&(s.data=c):(e.svg&&(qe="svg"===l||"foreignObject"!==l&&qe),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!Ye&&t.A!==n.A&&(n.I["s-sn"]=n.A||"",Ze(n.I.parentElement)),Ve(t,n,qe,o)),e.updatable&&null!==r&&null!==i?((t,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],$=s[m];const g="template"===o.D?t.content:t;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==$)$=s[--m];else if(on(h,v,r))rn(h,v,r),h=n[++c],v=s[++a];else if(on(p,$,r))rn(p,$,r),p=n[--d],$=s[--m];else if(on(h,$,r))!e.slotRelocation||"slot"!==h.D&&"slot"!==$.D||tn(h.I.parentNode,!1),rn(h,$,r),fn(g,h.I,p.I.nextSibling),h=n[++c],$=s[--m];else if(on(p,v,r))!e.slotRelocation||"slot"!==h.D&&"slot"!==$.D||tn(p.I.parentNode,!1),rn(p,v,r),fn(g,p.I,h.I),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].M&&n[f].M===v.M){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.D!==v.D?i=Ge(n&&n[a],o,u):(rn(l,v,r),n[u]=void 0,i=l.I),v=s[++a]):(i=Ge(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?fn(sn(h.I).parentNode,i,sn(h.I)):fn(h.I.parentNode,i,h.I))}c>d?en(t,null==s[m+1]?null:s[m+1].I,o,s,a,m):e.updatable&&a>m&&nn(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.T&&(s.textContent=""),en(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?nn(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.R=r),e.svg&&qe&&"svg"===l&&(qe=!1))},ln=[],cn=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(st(e,s)){let n=ln.find((t=>t.V===e));Je=!0,e["s-sn"]=e["s-sn"]||s,n?(n.V["s-sh"]=t["s-hn"],n.W=t):(e["s-sh"]=t["s-hn"],ln.push({W:t,V:e})),e["s-sr"]&&ln.map((t=>{st(t.V,e["s-sn"])&&(n=ln.find((t=>t.V===e)),n&&!t.W&&(t.W=n.W))}))}else ln.some((t=>t.V===e))||ln.push({V:e})}1===t.nodeType&&cn(t)}},an=t=>{e.vdomRef&&(t.L&&t.L.ref&&Ke.push((()=>t.L.ref(null))),t.R&&t.R.map(an))},un=(t,n)=>{e.vdomRef&&Qe.push((()=>t(n)))},fn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])dn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Ct(n),t.insertBefore(n,o);const{slotNode:r}=at(n);return r&&!s&&ct(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function dn(t,e,n,o){var s,r;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var hn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.Y||zt(null,null),d=Vt(n)?n:Ut(null,null,n);if(Ae=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Vt))throw new Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ae.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(e.reflect&&u.J&&(d.L=d.L||{},u.J.forEach((([n,o])=>{d.L[o]=e.serializer&&t.u.has(n)?t.u.get(n):a[n]}))),o&&d.L)for(const t of Object.keys(d.L))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.L[t]=a[t]);if(d.D=null,d.l|=4,t.Y=d,d.I=f.I=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Re=a["s-sc"]),Ye=M&&!!(1&u.l)&&!(128&u.l),e.slotRelocation&&(Me=a["s-cr"],Je=!1),rn(f,d,o),e.slotRelocation){if(R.l|=1,Xe){cn(d.I);for(const t of ln){const n=t.V;if(!n["s-ol"]&&T.document){const t=e.isDebug||e.hydrateServerSide?mn(n):T.document.createTextNode("");t["s-nr"]=n,fn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of ln){const n=t.V,c=t.W;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(i=e["s-nr"])?i:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(fn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=T.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,fn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}Je&&tt(d.I),R.l&=-2,ln.length=0}if(e.slotRelocation&&!Ye&&!(1&u.l)&&a["s-cr"]){const t=d.I.__childNodes||d.I.childNodes;for(const e of t)if(e["s-hn"]!==Ae&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=T.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],fn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}Me=void 0,e.vdomRef&&(Ke.forEach((t=>t())),Ke.length=0,Qe.forEach((t=>t())),Qe.length=0)},pn=t=>{var e;return null==(e=T.document)?void 0:e.createComment(`<slot${t.A?' name="'+t.A+'"':""}> (host=${Ae.toLowerCase()})`)},mn=t=>{var e;return null==(e=T.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},vn=(t,n)=>{if(e.asyncLoading&&n&&!t.X&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.X=()=>{n["s-p"].splice(e-1,1),o()})))}},$n=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.l|=16),e.asyncLoading&&4&t.l)return void(t.l|=512);vn(t,t.q);const o=()=>gn(t,n);if(!n)return e.taskQueue?K(o):o();queueMicrotask((()=>{o()}))},gn=(t,n)=>{const o=t.$hostElement$,s=Lt("scheduleUpdate",t.o.O),r=e.lazyLoad?t.K:o;if(!r)throw new 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?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,_n(r,"connectedCallback",void 0,o)),e.hostListener&&(t.l|=256,t.Z&&(t.Z.map((([t,e])=>_n(r,t,e,o))),t.Z=void 0)),t.j.length&&t.j.forEach((t=>t(o)))),En(o,"componentWillLoad"),i=_n(r,"componentWillLoad",void 0,o)):(En(o,"componentWillUpdate"),i=_n(r,"componentWillUpdate",void 0,o)),En(o,"componentWillRender"),i=bn(i,(()=>_n(r,"componentWillRender",void 0,o))),s(),bn(i,(()=>wn(t,r,n)))},bn=(t,e)=>yn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),yn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,wn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Lt("update",t.o.O),l=r["s-rc"];e.style&&o&&It(t);const c=Lt("render",t.o.O);if(e.isDev&&(t.l|=1024),e.hydrateServerSide?await jn(t,n,r,o):jn(t,n,r,o),e.isDev&&(t.p=void 0===t.p?1:t.p+1,t.l&=-1025),e.hydrateServerSide)try{Nn(r),o&&(1&t.o.l?r["s-en"]="":2&t.o.l&&(r["s-en"]="c"))}catch(t){m(t,r)}if(e.asyncLoading&&l&&(l.map((t=>t())),r["s-rc"]=void 0),c(),i(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>xn(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}else xn(t)},Sn=null,jn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(Sn=n,n=(r||n.render)&&n.render(),c&&l&&(t.l&=-17),(c||i)&&(t.l|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>hn(t,e,s)));hn(t,n,s)}else 1&t.o.l?o.shadowRoot.textContent=n:o.textContent=n}catch(e){m(e,t.$hostElement$)}return Sn=null,null},xn=t=>{const n=t.o.O,o=t.$hostElement$,s=Lt("postUpdate",n),r=e.lazyLoad?t.K:o,i=t.q;e.isDev&&(t.l|=1024),_n(r,"componentDidRender",void 0,o),e.isDev&&(t.l&=-1025),En(o,"componentDidRender"),64&t.l?(e.isDev&&(t.l|=1024),_n(r,"componentDidUpdate",void 0,o),e.isDev&&(t.l&=-1025),En(o,"componentDidUpdate"),s()):(t.l|=64,e.asyncLoading&&e.cssAnnotations&&kn(o),e.isDev&&(t.l|=2048),_n(r,"componentDidLoad",void 0,o),e.isDev&&(t.l&=-2049),En(o,"componentDidLoad"),s(),e.asyncLoading&&(t.S(o),i||Cn(n))),e.method&&e.lazyLoad&&t.v(o),e.asyncLoading&&(t.X&&(t.X(),t.X=void 0),512&t.l&&X((()=>$n(t,!1))),t.l&=-517)},On=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.l)&&$n(e,!1),n}return!1},Cn=n=>{var o;e.asyncQueue&&(R.l|=2),X((()=>He(T,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=R.tt)?void 0:o.size)&&R.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},_n=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){m(t,o)}},En=(n,o)=>{e.lifecycleDOMEvents&&He(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},kn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Nn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Nn(n)}},Tn=(t,e)=>d(t).i.get(e),Ln=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw new 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).`);if(e.serializer&&r.u.has(n)&&r.u.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.l,a=e.lazyLoad?r.K:i;o=De(o,s.t[n][0],e.formAssociated&&!!(64&s.l));const u=Number.isNaN(l)&&Number.isNaN(o);if(!(e.lazyLoad&&8&c&&void 0!==l||o===l||u)){if(r.i.set(n,o),e.serializer&&e.reflect&&s.J&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.u.set(n,e)};a?t(a):r.j.push((()=>{t(r.K)}))}if(e.isDev&&(1024&r.l?g(`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.l&&g(`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)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,l,n):r.j.push((()=>{r.K[e](o,l,n)})))}catch(t){m(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||$n(r,!1)}}},Rn=(t,n,o)=>{var s,r;const i=t.prototype;if(e.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(e.formAssociated&&64&n.l&&1&o&&N.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=d(this),i=e.lazyLoad?null==r?void 0:r.K:this;if(i){const s=e.lazyLoad?i[t]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.$)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Te(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=c(i,t)||{};r&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(i,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Tn(this,t);const e=d(this),o=e?e.K:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):Tn(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=d(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.l)||!(31&s)||1024&s||g(`@Prop() "${t}" on <${n.O}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(r=i.i.get(t)),l.apply(this,[De(r,s,e.formAssociated&&!!(64&n.l))]),void Ln(this,t,r=32&s?this[t]:i.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return Ln(this,t,r,n),void(1&o&&!i.K&&i.j.push((()=>{4096&n.t[t][0]&&i.K[t]!==i.i.get(t)&&(i.K[t]=r)})));const l=()=>{const o=i.K[t];!i.i.get(t)&&o&&i.i.set(t,o),i.K[t]=De(r,s,e.formAssociated&&!!(64&n.l)),Ln(this,t,i.K[t],n)};i.K?l():i.j.push((()=>{l()}))}}else Ln(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.m)?void 0:n.then((()=>{var n;return null==(n=o.K)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){R.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.u.has(a)&&u.u.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.K?t(n,u.K):u.j.push((()=>{t(n,u.K)})):t(n,this)}return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.l;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.K:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.nt)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=i[n]&&(128&o||1&l)&&i[n].call(i,r,s,t)}))}return}const f=l.find((([t])=>t===a)),h=f&&4&f[1][0],p=h&&null===r&&void 0===this[a];h&&(r=null!==r&&"false"!==r);const m=Object.getOwnPropertyDescriptor(i,a);p||r==this[a]||m.get&&!m.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...l.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const i=s[1]||t;return o.set(i,t),e.reflect&&512&s[0]&&(null==(r=n.J)||r.push([t,i])),i}))]))}}return t},Mn=async(t,n,o,s)=>{let r;try{if(!(32&n.l)){if(n.l|=32,e.lazyLoad&&o.C){const c=y(o,n,s);if(c&&"then"in c){const t=(i=`st:load:${o.O}:${n._}`,l=`[Stencil] Load module for <${o.O}>`,e.profile&&performance.mark?(0===performance.getEntriesByName(i,"mark").length&&performance.mark(i),()=>{0===performance.getEntriesByName(l,"measure").length&&performance.measure(l,i)}):()=>{});r=await c,t()}else r=c;if(!r)throw new Error(`Constructor for "${o.O}#${n._}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=Te(r.watchers),o.et=r.serializers,o.ot=r.deserializers),Rn(r,o,2),r.isProxied=!0);const a=Lt("createInstance",o.O);e.member&&(n.l|=8);try{new r(n)}catch(e){m(e,t)}e.member&&(n.l&=-9),e.propChangeCallback&&(n.l|=128),a(),e.slotRelocation&&4&o.l?n.G=!0:An(n.K,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.l|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n._=Ne(t),n._&&(i=r.style[n._]),e.hydrateServerSide&&n._&&t.setAttribute("s-mode",n._));const l=Ht(o,n._);if(!w.has(l)||e.hotModuleReplacement&&s){const t=Lt("registerStyles",o.O);e.hydrateServerSide&&e.shadowDom&&128&o.l&&(i=ke(i,l)),At(l,i,!!(1&o.l)),t()}}}const c=n.q,a=()=>$n(n,!0);e.asyncLoading&&c&&c["s-rc"]?c["s-rc"].push(a):a()}catch(o){m(o,t),e.asyncLoading&&n.X&&(n.X(),n.X=void 0),e.asyncLoading&&n.S&&n.S(t)}var i,l},An=(t,n)=>{e.lazyLoad&&_n(t,"connectedCallback",void 0,n)},Dn=t=>{if(!(1&R.l)){const n=d(t);if(!n)return;const o=n.o,s=Lt("connectedCallback",o.O);if(e.hostListenerTargetParent&&zn(t,n,o.st,!0),1&n.l)zn(t,n,o.st,!1),(null==n?void 0:n.K)?An(n.K,t):(null==n?void 0:n.$)&&n.$.then((()=>An(n.K,t)));else{let s;if(n.l|=1,e.hydrateClientSide&&(s=t.getAttribute(j),s)){if(e.shadowDom&&M&&1&o.l){const n=e.mode?Dt(t.shadowRoot,o,t.getAttribute("s-mode")):Dt(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.l){const n=Ht(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Lt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=zt(n,null);let $;if(v.I=t,e.scoped){const e=s.o;e&&10&e.l&&t["s-sc"]?($=t["s-sc"],t.classList.add($+"-h")):t["s-sc"]&&delete t["s-sc"]}!T.document||R.tt&&R.tt.size||Kt(T.document.body,R.tt=new Map),t[j]=o,t.removeAttribute(j),s.Y=qt(v,f,h,m,t,t,o,p);let g=0;const b=f.length;let y;for(;g<b;g++){y=f[g];const o=y.F+"."+y.P,s=R.tt.get(o),i=y.I;if(u){if((null==(r=y.D)?void 0:r.toString().includes("-"))&&"slot-fb"!==y.D&&!y.I.shadowRoot){const t=d(y.I);if(t){const n=Ht(t.o,e.mode?y.I.getAttribute("s-mode"):void 0),o=T.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=Gn(n).toUpperCase(),"slot"===y.D&&(i["s-cr"]=t["s-cr"]);"slot"===y.D&&(y.A=y.I["s-sn"]||y.I.name||null,y.R?(y.l|=2,y.I.childNodes.length||y.R.forEach((t=>{y.I.appendChild(t.I)}))):y.l|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),u||(i["s-oo"]=parseInt(y.P))),s&&!s["s-id"]&&R.tt.delete(o)}const w=[],S=p.length;let x,O,C,_,E=0,k=0;for(;E<S;E++)if(x=p[E],x&&x.length)for(C=x.length,O=0;O<C;O++){if(_=x[O],w[_.hostId]||(w[_.hostId]=R.tt.get(_.hostId)),!w[_.hostId])continue;const t=w[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=x[O-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),rt(_.node,_.slot,!1,_.node["s-oo"]||k),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&(N=_.node)&&void 0===N.__nextSibling&&globalThis.Node&&(St(N),xt(N),Ct(N),N.nodeType===Node.ELEMENT_NODE&&(jt(N),Ot(N)))),k=(_.node["s-oo"]||k)+1}var N;if(e.scoped&&$&&h.length&&h.forEach((t=>{t.I.parentElement.classList.add($+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.O,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.l)&&In(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){vn(n,n.q=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?X((()=>Mn(t,n,o))):Mn(t,n,o)}s()}},In=t=>{if(!T.document)return;const n=t["s-cr"]=T.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,fn(t,n,t.firstChild)},Hn=(t,n)=>{e.lazyLoad&&_n(t,"disconnectedCallback",void 0,n||t)},Fn=async t=>{if(!(1&R.l)){const n=d(t);e.hostListener&&(null==n?void 0:n.rt)&&(n.rt.map((t=>t())),n.rt=void 0),e.lazyLoad?(null==n?void 0:n.K)?Hn(n.K,t):(null==n?void 0:n.$)&&n.$.then((()=>Hn(n.K,t))):Hn(t)}Mt.has(t)&&Mt.delete(t),t.shadowRoot&&Mt.has(t.shadowRoot)&&Mt.delete(t.shadowRoot)},Pn=(t,n)=>{const o={l:n[0],O:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=Te(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.J=[]),e.shadowDom&&!M&&1&o.l&&(o.l|=8),!(1&o.l)&&256&o.l?e.experimentalSlotFixes?ut(t.prototype):(e.slotChildNodesFix&&wt(t.prototype),e.cloneNodeFix&&ft(t.prototype),e.appendChildSlotFix&&dt(t.prototype),e.scopedSlotTextContentFix&&2&o.l&&yt(t.prototype)):e.cloneNodeFix&&ft(t.prototype),e.hydrateClientSide&&e.shadowDom&&Ft();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){h(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;zn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}Dn(this),s&&s.call(this)},disconnectedCallback(){Fn(this),r&&r.call(this)},__attachShadow(){if(M)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.O}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.O,configurable:!0}),Rn(t,o,3)}catch(e){return m(e),t}},Un=(t,e)=>e,zn=(t,n,o,s)=>{e.hostListener&&o&&T.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Vn(T.document,t,o):t,l=Bn(n,r),c=Wn(o);R.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>R.rel(i,s,l,c)))})))},Bn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.l?null==(s=t.K)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){m(e,t.$hostElement$)}},Vn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?T:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Wn=t=>A?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),Yn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Jn=t=>R.N=t,Xn=t=>Object.assign(R,t),qn=new WeakMap;function Kn(t,e){let n=qn.get(e);n||(n={l:0,o:{l:0,O:e.tagName},$hostElement$:e},qn.set(e,n)),hn(n,t)}var Qn=void 0;function Gn(t){return Qn?Qn(t):t}function Zn(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)}var to=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||eo(t,e,s.Y,n,{nodeIds:0}),to(t,e,n,o)}))},eo=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(j,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue=`r.${r}`),null!=n.R){const e=0;n.R.forEach(((n,o)=>{no(t,n,s,r,e,o)}))}if(e&&n&&n.I&&!e.hasAttribute(O)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.I.setAttribute(O,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},no=(t,e,n,o,s,r)=>{const i=e.I;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(O,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const e=i.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment(`t.${c}`);fn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.R){const r=s+1;e.R.forEach(((e,s)=>{no(t,e,n,o,r,s)}))}},oo=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:Un,H:L,HTMLElement:L,HYDRATED_STYLE_ID:x,Host:Bt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Yn)},NAMESPACE:t,STENCIL_DEV_MODE:v,addHostEventListeners:zn,bootstrapLazy:(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=T.stencil=T.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.l,o=e.$hostElement$;return{renderCount:e.p,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.i,serializerValues:e.u,ancestorComponent:e.q,hostElement:o,lazyInstance:e.K,vnode:e.Y,modeName:e._,fetchedCbList:e.j,onReadyPromise:e.$,onReadyResolve:e.S,onInstancePromise:e.m,onInstanceResolve:e.v,onRenderResolve:e.X,queuedListeners:e.Z,rmListeners:e.rt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!T.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Lt("bootstrapLazy"),r=[],i=n.exclude||[],l=T.customElements,c=T.document.head,a=c.querySelector("meta[charset]"),u=T.document.createElement("style"),f=[];let p,m=!0;Object.assign(R,n),R.k=new URL(n.resourcesUrl||"./",T.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(R.l|=4),e.hydrateClientSide&&(R.l|=2),e.hydrateClientSide&&e.shadowDom&&Ft();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={l:o[0],O:o[1],t:o[2],st:o[3]};4&a.l&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.st=o[3]),e.reflect&&(a.J=[]),e.propChangeCallback&&(a.nt=Te(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!M&&1&a.l&&(a.l|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.O):Gn(a.O),$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),h(t=this,a),e.shadowDom&&1&a.l)if(M)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${a.O}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,zn(this,t,a.st,!1)),p&&(clearTimeout(p),p=null),m?f.push(this):R.jmp((()=>Dn(this))))}disconnectedCallback(){R.jmp((()=>Fn(this))),R.raf((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.Y)?void 0:t.I)instanceof Node&&!e.Y.I.isConnected&&delete e.Y.I}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.$}};!(1&a.l)&&256&a.l?e.experimentalSlotFixes?ut($.prototype):(e.slotChildNodesFix&&wt($.prototype),e.cloneNodeFix&&ft($.prototype),e.appendChildSlotFix&&dt($.prototype),e.scopedSlotTextContentFix&&2&a.l&&yt($.prototype)):e.cloneNodeFix&&ft($.prototype),e.formAssociated&&64&a.l&&($.formAssociated=!0),e.hotModuleReplacement&&($.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.l=1,Mn(t,o,e,n))})(this,a,t)}),a.C=t[0],i.includes(u)||l.get(u)||(r.push(u),l.define(u,Rn($,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=E),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=R.N)?o:Rt(T.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):R.jmp(e.profile?()=>p=setTimeout(Cn,30,"timeout"):()=>p=setTimeout(Cn,30)),s()},cmpModules:b,connectedCallback:Dn,consoleDevError:$,consoleDevInfo:(...t)=>console.info(...v,...t),consoleDevWarn:g,consoleError:m,createEvent:(t,n,o)=>{const s=Ie(t);return{emit:t=>(e.isDev&&!s.isConnected&&g(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),He(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(Gn(e[1]),Pn(t,e))},disconnectedCallback:Fn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Ne(t),n=d(t);if(n&&n._!==e){const o=n.o,s=t["s-sc"],r=Ht(o,e),i=t.constructor.style[e],l=o.l;i&&(w.has(r)||At(r,i,!!(1&l)),n._=e,t.classList.remove(s+"-h",s+"-s"),It(n),On(t))}}},forceUpdate:On,getAssetPath:Q,getElement:Ie,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e._},getRenderingRef:()=>Sn,getValue:Tn,h:Ut,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=C in t?t[C]:{..._};n.staticComponents=new Set(e);const o=[];to(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(O,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue=`t.${l}`,fn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(l);e.nodeValue=`c.${l}`,s.parentNode.insertBefore(e,s)}let c=`o.${l}`;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:p,jsx:Zn,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)},jsxs:function(t,e,n){return Zn(t,e,n)},loadModule:y,modeResolutionChain:S,needsScopedSSR:()=>!1,nextTick:X,normalizeWatchers:Te,parsePropertyValue:De,plt:R,postUpdateComponent:xn,promiseResolve:D,proxyComponent:Rn,proxyCustomElement:Pn,readTask:q,registerHost:h,registerInstance:(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.K=t,512&n.o.l&&(e.state||e.prop)&&f(t,n))},render:Kn,renderVdom:hn,setAssetPath:G,setErrorHandler:t=>a=t,setMode:t=>S.push(t),setNonce:Jn,setPlatformHelpers:t=>{Object.assign(R,t)},setPlatformOptions:Xn,setScopedSSR:()=>{},setTagTransformer:function(t){Qn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),Qn=t},setValue:Ln,styles:w,supportsConstructableStylesheets:I,supportsListenerOptions:A,supportsMutableAdoptedStyleSheets:H,supportsShadow:M,transformTag:Gn,win:T,writeTask:K});export{Un as F,L as H,oo as S,Bt as a,Q as b,Jn as c,Xn as d,On as f,Ie as g,Ut as h,Pn as p,Kn as r,G as s,Gn as t,K as w}
|