@shrfe/assets 1.0.43 → 1.0.44

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.
@@ -1 +1 @@
1
- import{r as e,d as s,e as t,h as i}from"./p-CUS2AmqM.js";import{u as r}from"./p-DOY8Zr-F.js";const a=class{constructor(t){e(this,t),this.stepChanged=s(this,"stepChanged",7)}get hostElement(){return t(this)}orientation="horizontal";activeIndex=0;withCheckmark=!0;lineSize="150px";testId="";stepChanged;stepItemIds=[];provide=()=>{const e=this.hostElement.querySelectorAll("swc-stepper-item");e.forEach(((s,t)=>{s.activeIndex=this.activeIndex,s.orientation=this.orientation,s.withCheckmark=this.withCheckmark,s.lineSize=this.lineSize,s.index=t,s.isLastItem=t===e.length-1,s.idProp=r().generate(`sfe-stepper-item-${t}`),this.stepItemIds.push(s.idProp)}))};render(){return this.provide(),i("div",{key:"aef80769eeef48547fe02ba74e3a5ea21bb4c94d","aria-orientation":this.orientation,class:`sfe-stepper ${this.orientation}`,"data-testid":`swc-stepper-${this.testId}`},i("slot",{key:"7caee4a9dbc86646c40dace96ae611a06ed45821"}))}};a.style=".sfe-stepper.sc-swc-stepper{display:inline-flex;position:relative}.sfe-stepper.vertical.sc-swc-stepper{flex-direction:column}";export{a as swc_stepper}
1
+ import{r as e,d as s,e as t,h as i}from"./p-_XYgBHWR.js";import{u as r}from"./p-DOY8Zr-F.js";const a=class{constructor(t){e(this,t),this.stepChanged=s(this,"stepChanged",7)}get hostElement(){return t(this)}orientation="horizontal";activeIndex=0;withCheckmark=!0;lineSize="150px";testId="";stepChanged;stepItemIds=[];provide=()=>{const e=this.hostElement.querySelectorAll("swc-stepper-item");e.forEach(((s,t)=>{s.activeIndex=this.activeIndex,s.orientation=this.orientation,s.withCheckmark=this.withCheckmark,s.lineSize=this.lineSize,s.index=t,s.isLastItem=t===e.length-1,s.idProp=r().generate(`sfe-stepper-item-${t}`),this.stepItemIds.push(s.idProp)}))};render(){return this.provide(),i("div",{key:"aef80769eeef48547fe02ba74e3a5ea21bb4c94d","aria-orientation":this.orientation,class:`sfe-stepper ${this.orientation}`,"data-testid":`swc-stepper-${this.testId}`},i("slot",{key:"7caee4a9dbc86646c40dace96ae611a06ed45821"}))}};a.style=".sfe-stepper.sc-swc-stepper{display:inline-flex;position:relative}.sfe-stepper.vertical.sc-swc-stepper{flex-direction:column}";export{a as swc_stepper}
@@ -1 +1 @@
1
- import{r as s,d as t,h as a,H as e}from"./p-CUS2AmqM.js";const i=class{constructor(a){s(this,a),this.handleChange=t(this,"handleChange",7)}value=[];max=1/0;placeholder="Add a tag";disabled=!1;hasError=!1;testId="";newTag="";isFocused=!1;focusedTagIndex=null;tags=[...this.value??[]];handleChange;addTag=()=>{const s=this.newTag.trim();s&&this.tags.length<this.max&&(this.tags=[...this.tags,s],this.newTag="")};removeTag=s=>{this.disabled||(this.tags=this.tags.filter(((t,a)=>s!==a)),this.focusedTagIndex=null)};handleBackspace=()=>{this.newTag||(null===this.focusedTagIndex&&this.tags.length>0?this.focusedTagIndex=this.tags.length-1:null!==this.focusedTagIndex&&this.removeTag(this.focusedTagIndex))};handleClickTagRemoval=s=>{this.focusedTagIndex=s,this.removeTag(this.focusedTagIndex)};handleFocus=()=>{this.isFocused=!0,this.focusedTagIndex=null};handleBlur=()=>{this.isFocused=!0,this.focusedTagIndex=null};handleKeyDown=s=>{"backspace"===s.key.toLowerCase()&&this.handleBackspace(),"enter"===s.key.toLowerCase()&&(s.preventDefault(),this.addTag())};handleInputChange=s=>{const t=s.target.value.trim();this.newTag=t};valueChangeHandler(s){Array.isArray(s)&&(this.tags=[...s??[]])}tagsChangeHandler(s){this.handleChange.emit(s)}componentWillLoad(){Array.isArray(this.value)&&(this.tags=[...this.value??[]])}render(){return a(e,{key:"00d18f37b24f2face8e17087d5f45fcca51dd6ce"},a("div",{key:"fa7b870be9190de4bf353a11afe80f062d2baade",class:`sfe-tags-input \n ${this.hasError?"has-error":""} \n ${this.disabled} \n ${this.isFocused?"focused":""}`,"data-testid":`swc-tags-input-${this.testId}`},a("div",{key:"d537c791f89af46e8320bca5bf798932ef92d9ca",class:"tags-wrapper"},this.tags.map(((s,t)=>a("swc-tag",{key:t,instanceId:t,dismissible:!this.disabled,class:this.focusedTagIndex===t?"focused":"","on-dismiss":()=>this.handleClickTagRemoval(t)},s))),a("input",{key:"1f820412feb7020d64b68a88433053927f4f2f80",type:"text",placeholder:this.placeholder,disabled:this.disabled,class:"tag-input",value:this.newTag,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown}))))}static get watchers(){return{value:[{valueChangeHandler:0}],tags:[{tagsChangeHandler:0}]}}};i.style=".sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input{display:flex;flex-wrap:wrap;align-items:flex-start;border-radius:var(--sfe-sizing-radius-small, 4px);border:1px solid var(--sfe-form-input-color-border-default, #9ea8b3);padding:10px;transition:border-color 0.2s}.sc-swc-tags-input-h .sfe-tags-input.disabled.sc-swc-tags-input{opacity:0.4;pointer-events:none}.sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input:hover,.sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input .focused.sc-swc-tags-input{border:1px solid var(--sfe-form-input-color-border-hover, #4080e0)}.sc-swc-tags-input-h .sfe-tags-input.has-error.sc-swc-tags-input{border:1px solid var(--sfe-form-input-color-border-error, #a22827)}.sc-swc-tags-input-h .tags-wrapper.sc-swc-tags-input{display:flex;flex-wrap:wrap;gap:5px;width:100%}.sc-swc-tags-input-h input[type=text].sc-swc-tags-input{min-width:100px;flex-grow:1;outline:none;border:none;background:transparent}.sc-swc-tags-input-h input[type=text].sc-swc-tags-input:disabled{cursor:not-allowed;background:transparent;opacity:0.4}";export{i as swc_tags_input}
1
+ import{r as s,d as t,h as a,H as e}from"./p-_XYgBHWR.js";const i=class{constructor(a){s(this,a),this.handleChange=t(this,"handleChange",7)}value=[];max=1/0;placeholder="Add a tag";disabled=!1;hasError=!1;testId="";newTag="";isFocused=!1;focusedTagIndex=null;tags=[...this.value??[]];handleChange;addTag=()=>{const s=this.newTag.trim();s&&this.tags.length<this.max&&(this.tags=[...this.tags,s],this.newTag="")};removeTag=s=>{this.disabled||(this.tags=this.tags.filter(((t,a)=>s!==a)),this.focusedTagIndex=null)};handleBackspace=()=>{this.newTag||(null===this.focusedTagIndex&&this.tags.length>0?this.focusedTagIndex=this.tags.length-1:null!==this.focusedTagIndex&&this.removeTag(this.focusedTagIndex))};handleClickTagRemoval=s=>{this.focusedTagIndex=s,this.removeTag(this.focusedTagIndex)};handleFocus=()=>{this.isFocused=!0,this.focusedTagIndex=null};handleBlur=()=>{this.isFocused=!0,this.focusedTagIndex=null};handleKeyDown=s=>{"backspace"===s.key.toLowerCase()&&this.handleBackspace(),"enter"===s.key.toLowerCase()&&(s.preventDefault(),this.addTag())};handleInputChange=s=>{const t=s.target.value.trim();this.newTag=t};valueChangeHandler(s){Array.isArray(s)&&(this.tags=[...s??[]])}tagsChangeHandler(s){this.handleChange.emit(s)}componentWillLoad(){Array.isArray(this.value)&&(this.tags=[...this.value??[]])}render(){return a(e,{key:"00d18f37b24f2face8e17087d5f45fcca51dd6ce"},a("div",{key:"fa7b870be9190de4bf353a11afe80f062d2baade",class:`sfe-tags-input \n ${this.hasError?"has-error":""} \n ${this.disabled} \n ${this.isFocused?"focused":""}`,"data-testid":`swc-tags-input-${this.testId}`},a("div",{key:"d537c791f89af46e8320bca5bf798932ef92d9ca",class:"tags-wrapper"},this.tags.map(((s,t)=>a("swc-tag",{key:t,instanceId:t,dismissible:!this.disabled,class:this.focusedTagIndex===t?"focused":"","on-dismiss":()=>this.handleClickTagRemoval(t)},s))),a("input",{key:"1f820412feb7020d64b68a88433053927f4f2f80",type:"text",placeholder:this.placeholder,disabled:this.disabled,class:"tag-input",value:this.newTag,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown}))))}static get watchers(){return{value:[{valueChangeHandler:0}],tags:[{tagsChangeHandler:0}]}}};i.style=".sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input{display:flex;flex-wrap:wrap;align-items:flex-start;border-radius:var(--sfe-sizing-radius-small, 4px);border:1px solid var(--sfe-form-input-color-border-default, #9ea8b3);padding:10px;transition:border-color 0.2s}.sc-swc-tags-input-h .sfe-tags-input.disabled.sc-swc-tags-input{opacity:0.4;pointer-events:none}.sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input:hover,.sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input .focused.sc-swc-tags-input{border:1px solid var(--sfe-form-input-color-border-hover, #4080e0)}.sc-swc-tags-input-h .sfe-tags-input.has-error.sc-swc-tags-input{border:1px solid var(--sfe-form-input-color-border-error, #a22827)}.sc-swc-tags-input-h .tags-wrapper.sc-swc-tags-input{display:flex;flex-wrap:wrap;gap:5px;width:100%}.sc-swc-tags-input-h input[type=text].sc-swc-tags-input{min-width:100px;flex-grow:1;outline:none;border:none;background:transparent}.sc-swc-tags-input-h input[type=text].sc-swc-tags-input:disabled{cursor:not-allowed;background:transparent;opacity:0.4}";export{i as swc_tags_input}
@@ -1 +1 @@
1
- import{r as e,d as s,h as a}from"./p-CUS2AmqM.js";const i=class{constructor(a){e(this,a),this.closeModal=s(this,"closeModal",7)}isModalOpen=!1;closeOnEsc=!0;closeOnOverlayClick=!0;size="sm";position="right";testId="";closeModal;closeDialog=()=>{this.closeModal.emit()};render(){return a("swc-modal-root",{key:"2109a329ba0c16d3c3670e113991950ed1aca947",isModalOpen:this.isModalOpen,closeOnEsc:this.closeOnEsc,closeOnOverlayClick:this.closeOnOverlayClick,onCloseModal:this.closeDialog,"data-testid":`swc-side-panel-${this.testId}`},a("div",{key:"29ee628803432a2d2b63b03ca20c6dd211153199",class:`sfe-side-panel sfe-side-panel--${this.position} sfe-side-panel--${this.size}`},a("header",{key:"d1397bcabb9ba65e5fcf68f9144d11a6df96a02f",class:"sfe-side-panel__header"},a("div",{key:"b0b772cc8ab15030f1c0f6fb0260c6230d689416"},a("h3",{key:"18d24ba7ab8ff62b372fe968971f17b03548d3c8",class:"sfe-side-panel__title"},a("slot",{key:"577dbc3cd9c873e9b5b052ab5227999f66a01885",name:"title"})),a("p",{key:"0dd48b9a644f6f777167fe35ae26012a6dfc9999",class:"sfe-side-panel__description"},a("slot",{key:"b0cfbbc74b73e1f82f192e7a9ed6627767c7fa23",name:"description"}))),a("swc-button",{key:"0322a40064c54b9d9d331dc85d1f81c17d551563",round:!0,intent:"neutral",variant:"bare",size:"md","aria-label":"Close",onClick:this.closeDialog},"×")),a("section",{key:"6f3695ffa95dc177592d91d3b6071de30755eda4",class:"sfe-side-panel__body"},a("slot",{key:"adb6cf84a662c0719a8564aae686c621c1cf62e9",name:"body"})),a("footer",{key:"6181329d9d70504c0048c6604c320168129607b0",class:"sfe-side-panel__footer"},a("slot",{key:"538c84d304e9675f8281ac2f2646b7d1e16a2d33",name:"footer"}))))}};i.style=".sfe-side-panel.sc-swc-side-panel{display:flex;flex-direction:column;height:100vh;background-color:white;position:fixed;top:0;bottom:0}.sfe-side-panel--right.sc-swc-side-panel{right:0;animation:slide-left 0.3s ease}.sfe-side-panel--left.sc-swc-side-panel{left:0;animation:slide-right 0.3s ease}.sfe-side-panel--sm.sc-swc-side-panel{width:360px}.sfe-side-panel--md.sc-swc-side-panel{width:480px}.sfe-side-panel--lg.sc-swc-side-panel{width:640px}.sfe-side-panel__header.sc-swc-side-panel{display:flex;justify-content:space-between;align-items:center;padding:1em;border-bottom:1px solid #ccc}.sfe-side-panel__title.sc-swc-side-panel{font-size:1rem;font-weight:500;margin:0}.sfe-side-panel__description.sc-swc-side-panel{font-size:0.875rem;color:gray;margin:0}.sfe-side-panel__body.sc-swc-side-panel{padding:1em;overflow-y:auto}.sfe-side-panel__footer.sc-swc-side-panel{padding:1em;margin:auto auto 2em 0;text-align:right}@keyframes slide-left{from{opacity:0;transform:translateX(50%)}}@keyframes slide-right{from{opacity:0;transform:translateX(-50%)}}";export{i as swc_side_panel}
1
+ import{r as e,d as s,h as a}from"./p-_XYgBHWR.js";const i=class{constructor(a){e(this,a),this.closeModal=s(this,"closeModal",7)}isModalOpen=!1;closeOnEsc=!0;closeOnOverlayClick=!0;size="sm";position="right";testId="";closeModal;closeDialog=()=>{this.closeModal.emit()};render(){return a("swc-modal-root",{key:"2109a329ba0c16d3c3670e113991950ed1aca947",isModalOpen:this.isModalOpen,closeOnEsc:this.closeOnEsc,closeOnOverlayClick:this.closeOnOverlayClick,onCloseModal:this.closeDialog,"data-testid":`swc-side-panel-${this.testId}`},a("div",{key:"29ee628803432a2d2b63b03ca20c6dd211153199",class:`sfe-side-panel sfe-side-panel--${this.position} sfe-side-panel--${this.size}`},a("header",{key:"d1397bcabb9ba65e5fcf68f9144d11a6df96a02f",class:"sfe-side-panel__header"},a("div",{key:"b0b772cc8ab15030f1c0f6fb0260c6230d689416"},a("h3",{key:"18d24ba7ab8ff62b372fe968971f17b03548d3c8",class:"sfe-side-panel__title"},a("slot",{key:"577dbc3cd9c873e9b5b052ab5227999f66a01885",name:"title"})),a("p",{key:"0dd48b9a644f6f777167fe35ae26012a6dfc9999",class:"sfe-side-panel__description"},a("slot",{key:"b0cfbbc74b73e1f82f192e7a9ed6627767c7fa23",name:"description"}))),a("swc-button",{key:"0322a40064c54b9d9d331dc85d1f81c17d551563",round:!0,intent:"neutral",variant:"bare",size:"md","aria-label":"Close",onClick:this.closeDialog},"×")),a("section",{key:"6f3695ffa95dc177592d91d3b6071de30755eda4",class:"sfe-side-panel__body"},a("slot",{key:"adb6cf84a662c0719a8564aae686c621c1cf62e9",name:"body"})),a("footer",{key:"6181329d9d70504c0048c6604c320168129607b0",class:"sfe-side-panel__footer"},a("slot",{key:"538c84d304e9675f8281ac2f2646b7d1e16a2d33",name:"footer"}))))}};i.style=".sfe-side-panel.sc-swc-side-panel{display:flex;flex-direction:column;height:100vh;background-color:white;position:fixed;top:0;bottom:0}.sfe-side-panel--right.sc-swc-side-panel{right:0;animation:slide-left 0.3s ease}.sfe-side-panel--left.sc-swc-side-panel{left:0;animation:slide-right 0.3s ease}.sfe-side-panel--sm.sc-swc-side-panel{width:360px}.sfe-side-panel--md.sc-swc-side-panel{width:480px}.sfe-side-panel--lg.sc-swc-side-panel{width:640px}.sfe-side-panel__header.sc-swc-side-panel{display:flex;justify-content:space-between;align-items:center;padding:1em;border-bottom:1px solid #ccc}.sfe-side-panel__title.sc-swc-side-panel{font-size:1rem;font-weight:500;margin:0}.sfe-side-panel__description.sc-swc-side-panel{font-size:0.875rem;color:gray;margin:0}.sfe-side-panel__body.sc-swc-side-panel{padding:1em;overflow-y:auto}.sfe-side-panel__footer.sc-swc-side-panel{padding:1em;margin:auto auto 2em 0;text-align:right}@keyframes slide-left{from{opacity:0;transform:translateX(50%)}}@keyframes slide-right{from{opacity:0;transform:translateX(-50%)}}";export{i as swc_side_panel}
@@ -1 +1 @@
1
- import{r as s,d as t,h as e,H as a}from"./p-CUS2AmqM.js";import{u as i}from"./p-DOY8Zr-F.js";const c=class{constructor(e){s(this,e),this.dismiss=t(this,"dismiss",7)}instanceId=void 0;dismissible=!1;testId="";dismiss;defaultId=i().generate();get computedComponentId(){return this.instanceId?this.instanceId:this.defaultId}dismissTag=()=>{this.dismissible&&this.dismiss.emit(this.instanceId)};render(){return e(a,{key:"430b40efbe63752c58f376322c55b8f9feda786e"},e("span",{key:"3c0906fecbfa6cae6e7520e55606e423e2cffbfd",id:`${this.computedComponentId}`,class:"sfe-tag "+(this.dismissible?"sfe-tag--dismissible":""),"data-testid":`swc-tag-${this.testId}`},e("div",{key:"769a21bb9064ec7b69dad55c051475ee616c64d2",class:"label-text"},e("slot",{key:"6a9818d56cfe018adda3625bcc14fd00dca69442"})),this.dismissible&&e("span",{key:"6f79abd07b943e8922f3f07506276db3f8e91d0a",role:"button",tabindex:"0",class:"dismiss-icon",onClick:this.dismissTag},e("svg",{key:"386d106cd281ab5db8cc2434264149ac621d4873",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"4c25cb6825ecf59b6e860ea0a1e77971f390669a",d:"M2.08859 2.21569L2.14645 2.14645C2.32001 1.97288 2.58944 1.9536 2.78431 2.08859L2.85355 2.14645L6 5.293L9.14645 2.14645C9.34171 1.95118 9.65829 1.95118 9.85355 2.14645C10.0488 2.34171 10.0488 2.65829 9.85355 2.85355L6.707 6L9.85355 9.14645C10.0271 9.32001 10.0464 9.58944 9.91141 9.78431L9.85355 9.85355C9.67999 10.0271 9.41056 10.0464 9.21569 9.91141L9.14645 9.85355L6 6.707L2.85355 9.85355C2.65829 10.0488 2.34171 10.0488 2.14645 9.85355C1.95118 9.65829 1.95118 9.34171 2.14645 9.14645L5.293 6L2.14645 2.85355C1.97288 2.67999 1.9536 2.41056 2.08859 2.21569L2.14645 2.14645L2.08859 2.21569Z",fill:"black","fill-opacity":"0.9"})))))}};c.style='.sc-swc-tag-h .sfe-tag.sc-swc-tag{display:inline-flex;align-items:center;justify-content:center;position:relative;padding-inline:8px;padding-block:7px;flex-shrink:var(--sfe-sizing-gap-null);border-radius:var(--sfe-sizing-radius-small);background:var(--sfe-color-fill-neutral-light);color:var(--sfe-color-non-semantic-content-grey-strong, "Sora");font-family:var(--sfe-typography-font-sans-font, Matter);font-size:var(--sfe-typography-font-size-body-default);font-weight:400;line-height:var(--sfe-typography-line-height-body-small)}.sc-swc-tag-h .sfe-tag.sc-swc-tag .dismiss-icon.sc-swc-tag{display:flex;align-items:center;margin-left:var(--sfe-sizing-gap-small);cursor:pointer;margin-top:var(--sfe-sizing-gap-xsmall)}.sc-swc-tag-h .sfe-tag.sc-swc-tag:hover,.sc-swc-tag-h .sfe-tag.sc-swc-tag:focus{transition:opacity 0.7s;background:var(--sfe-color-fill-neutral-subtle)}';export{c as swc_tag}
1
+ import{r as s,d as t,h as e,H as a}from"./p-_XYgBHWR.js";import{u as i}from"./p-DOY8Zr-F.js";const c=class{constructor(e){s(this,e),this.dismiss=t(this,"dismiss",7)}instanceId=void 0;dismissible=!1;testId="";dismiss;defaultId=i().generate();get computedComponentId(){return this.instanceId?this.instanceId:this.defaultId}dismissTag=()=>{this.dismissible&&this.dismiss.emit(this.instanceId)};render(){return e(a,{key:"430b40efbe63752c58f376322c55b8f9feda786e"},e("span",{key:"3c0906fecbfa6cae6e7520e55606e423e2cffbfd",id:`${this.computedComponentId}`,class:"sfe-tag "+(this.dismissible?"sfe-tag--dismissible":""),"data-testid":`swc-tag-${this.testId}`},e("div",{key:"769a21bb9064ec7b69dad55c051475ee616c64d2",class:"label-text"},e("slot",{key:"6a9818d56cfe018adda3625bcc14fd00dca69442"})),this.dismissible&&e("span",{key:"6f79abd07b943e8922f3f07506276db3f8e91d0a",role:"button",tabindex:"0",class:"dismiss-icon",onClick:this.dismissTag},e("svg",{key:"386d106cd281ab5db8cc2434264149ac621d4873",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"4c25cb6825ecf59b6e860ea0a1e77971f390669a",d:"M2.08859 2.21569L2.14645 2.14645C2.32001 1.97288 2.58944 1.9536 2.78431 2.08859L2.85355 2.14645L6 5.293L9.14645 2.14645C9.34171 1.95118 9.65829 1.95118 9.85355 2.14645C10.0488 2.34171 10.0488 2.65829 9.85355 2.85355L6.707 6L9.85355 9.14645C10.0271 9.32001 10.0464 9.58944 9.91141 9.78431L9.85355 9.85355C9.67999 10.0271 9.41056 10.0464 9.21569 9.91141L9.14645 9.85355L6 6.707L2.85355 9.85355C2.65829 10.0488 2.34171 10.0488 2.14645 9.85355C1.95118 9.65829 1.95118 9.34171 2.14645 9.14645L5.293 6L2.14645 2.85355C1.97288 2.67999 1.9536 2.41056 2.08859 2.21569L2.14645 2.14645L2.08859 2.21569Z",fill:"black","fill-opacity":"0.9"})))))}};c.style='.sc-swc-tag-h .sfe-tag.sc-swc-tag{display:inline-flex;align-items:center;justify-content:center;position:relative;padding-inline:8px;padding-block:7px;flex-shrink:var(--sfe-sizing-gap-null);border-radius:var(--sfe-sizing-radius-small);background:var(--sfe-color-fill-neutral-light);color:var(--sfe-color-non-semantic-content-grey-strong, "Sora");font-family:var(--sfe-typography-font-sans-font, Matter);font-size:var(--sfe-typography-font-size-body-default);font-weight:400;line-height:var(--sfe-typography-line-height-body-small)}.sc-swc-tag-h .sfe-tag.sc-swc-tag .dismiss-icon.sc-swc-tag{display:flex;align-items:center;margin-left:var(--sfe-sizing-gap-small);cursor:pointer;margin-top:var(--sfe-sizing-gap-xsmall)}.sc-swc-tag-h .sfe-tag.sc-swc-tag:hover,.sc-swc-tag-h .sfe-tag.sc-swc-tag:focus{transition:opacity 0.7s;background:var(--sfe-color-fill-neutral-subtle)}';export{c as swc_tag}
@@ -1 +1 @@
1
- import{r as e,e as t,h as s}from"./p-CUS2AmqM.js";const i=class{constructor(t){e(this,t)}get hostElement(){return t(this)}index;isLastItem=!1;activeIndex;orientation;withCheckmark;lineSize;idProp;testId="";computedStatus;computeStatus(){return this.index<this.activeIndex?"completed":this.index===this.activeIndex?"active":"incomplete"}componentWillLoad(){this.computedStatus=this.computeStatus()}render(){return s("div",{key:"85e98edf4fb0d9615b5211d0924bda8c82ff86fd","aria-current":this.activeIndex===this.index?"step":void 0,class:`stepper-item stepper-item--${this.computedStatus} stepper-item--${this.orientation} ${this.isLastItem?"last-item":""}`,style:{"--line-size":this.lineSize,"--thumb-size":this.withCheckmark?"20px":"12px"},"data-testid":`swc-stepper-item-${this.testId}`},s("div",{key:"72c81ff1830aa9c9461d00f4167fa6819b1f412b",class:"stepper-item__thumb-wrapper"},s("div",{key:"1a5dfa04b594ed9667a2708ec3b60fd3fa14c27c",class:"stepper-item__thumb"},this.withCheckmark&&"completed"===this.computedStatus&&s("swc-svg-icon",{key:"f1e8fab830f7939d93616cb1116bd0fa6f03e367",color:"#ffffff",size:"12",name:"Checkmark"}))),s("div",{key:"baaedb4eda58633f5f2b46c72dfe70c98d17de2e",class:"stepper-item__content"},s("slot",{key:"c6f618ff87e57118d2edce8e48f1c1f485dc5e92",name:"content"})))}};i.style='.stepper-item.sc-swc-stepper-item{--item-size:calc(max(120px, var(--line-size)));display:flex;flex-direction:column;align-items:center}.stepper-item.stepper-item--horizontal.sc-swc-stepper-item{width:var(--item-size)}.stepper-item__thumb.sc-swc-stepper-item{width:var(--thumb-size);height:var(--thumb-size);border-radius:50%;position:relative;display:grid;place-content:center}.stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:50%;left:100%;transform:translateY(-50%);width:var(--item-size);height:2px;background-color:#ccc}.stepper-item--incomplete.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:#fff;border:1px solid var(--sfe-color-icon-default-muted)}.stepper-item--active.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:var(--sfe-color-fill-brand-on-subtle)}.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item,.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{background-color:var(--sfe-color-icon-default-brand)}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-block-end:16px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-inline-end:16px}.stepper-item--vertical.sc-swc-stepper-item{flex-direction:row;height:var(--item-size)}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{margin-inline-end:10px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:100%;left:50%;transform:translateX(-50%);width:2px;height:var(--item-size)}.last-item.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{width:0;height:0}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__content.sc-swc-stepper-item{text-align:center}';export{i as swc_stepper_item}
1
+ import{r as e,e as t,h as s}from"./p-_XYgBHWR.js";const i=class{constructor(t){e(this,t)}get hostElement(){return t(this)}index;isLastItem=!1;activeIndex;orientation;withCheckmark;lineSize;idProp;testId="";computedStatus;computeStatus(){return this.index<this.activeIndex?"completed":this.index===this.activeIndex?"active":"incomplete"}componentWillLoad(){this.computedStatus=this.computeStatus()}render(){return s("div",{key:"85e98edf4fb0d9615b5211d0924bda8c82ff86fd","aria-current":this.activeIndex===this.index?"step":void 0,class:`stepper-item stepper-item--${this.computedStatus} stepper-item--${this.orientation} ${this.isLastItem?"last-item":""}`,style:{"--line-size":this.lineSize,"--thumb-size":this.withCheckmark?"20px":"12px"},"data-testid":`swc-stepper-item-${this.testId}`},s("div",{key:"72c81ff1830aa9c9461d00f4167fa6819b1f412b",class:"stepper-item__thumb-wrapper"},s("div",{key:"1a5dfa04b594ed9667a2708ec3b60fd3fa14c27c",class:"stepper-item__thumb"},this.withCheckmark&&"completed"===this.computedStatus&&s("swc-svg-icon",{key:"f1e8fab830f7939d93616cb1116bd0fa6f03e367",color:"#ffffff",size:"12",name:"Checkmark"}))),s("div",{key:"baaedb4eda58633f5f2b46c72dfe70c98d17de2e",class:"stepper-item__content"},s("slot",{key:"c6f618ff87e57118d2edce8e48f1c1f485dc5e92",name:"content"})))}};i.style='.stepper-item.sc-swc-stepper-item{--item-size:calc(max(120px, var(--line-size)));display:flex;flex-direction:column;align-items:center}.stepper-item.stepper-item--horizontal.sc-swc-stepper-item{width:var(--item-size)}.stepper-item__thumb.sc-swc-stepper-item{width:var(--thumb-size);height:var(--thumb-size);border-radius:50%;position:relative;display:grid;place-content:center}.stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:50%;left:100%;transform:translateY(-50%);width:var(--item-size);height:2px;background-color:#ccc}.stepper-item--incomplete.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:#fff;border:1px solid var(--sfe-color-icon-default-muted)}.stepper-item--active.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:var(--sfe-color-fill-brand-on-subtle)}.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item,.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{background-color:var(--sfe-color-icon-default-brand)}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-block-end:16px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-inline-end:16px}.stepper-item--vertical.sc-swc-stepper-item{flex-direction:row;height:var(--item-size)}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{margin-inline-end:10px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:100%;left:50%;transform:translateX(-50%);width:2px;height:var(--item-size)}.last-item.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{width:0;height:0}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__content.sc-swc-stepper-item{text-align:center}';export{i as swc_stepper_item}
@@ -0,0 +1,2 @@
1
+ const t="wc-lib",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,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:!0,hotModuleReplacement:!1,hydrateClientSide:!1,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,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!1,shadowSlotAssignmentManual:!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},n=()=>{},o=".d-flex{display:flex !important}.d-none{display:none !important}.align-items-center{align-items:center !important}.justify-content-center{justify-content:center !important}.justify-content-between{justify-content:space-between !important}.overflow-hidden{overflow:hidden !important}.m-0{margin:0 !important}.mr-1{margin-right:0.25em}.mr-2{margin-right:0.5em}.ml-auto{margin-left:auto !important}.ml-1{margin-left:0.25em}.ml-2{margin-left:0.5em}.mt-1{margin-top:0.25em}.mt-2{margin-top:0.5em}.mb-1{margin-bottom:0.25em}.mb-2{margin-bottom:0.5em}.p-0{padding:0 !important}.w-100{width:100% !important}.border-0{border:none !important}p,h1,h2,h3,h4,h5{margin:0}.cursor-pointer{cursor:pointer}";var s={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},r=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(r||{}),i=(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))(i||{}),l="type",c="value",a="serialized:";function u(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 f,d,h=(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=u(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)}}))},p=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},m=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&h(t,n))},v=(t,n)=>{const o={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&h(t,o),s},g=(t,e)=>e in t,b=(t,e)=>(f||console.error)(t,e),$=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],y=(...t)=>console.error(...$,...t),w=(...t)=>console.warn(...$,...t),S=(...t)=>console.info(...$,...t),j=new Map,x=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void y(`Trying to lazily load component <${t.C}> with style mode "${n.k}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&j.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||j.set(r,t),t[s])),(t=>{b(t,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},O=new Map,C=[],_="s-id",E="sty-id",k="c-id",N="_stencilDocData",T={hostIds:0,rootLevelIds:0,staticComponents:new Set},L="slot-fb{display:contents}slot-fb[hidden]{display:none}",R="http://www.w3.org/1999/xlink",M=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],A="undefined"!=typeof window?window:{},D=A.HTMLElement||class{},I={u:0,N:"",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)},H=e.shadowDom,P=t=>Promise.resolve(t),F=!!e.constructableCSS&&(()=>{try{return!!A.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),U=!!F&&(()=>!!A.document&&Object.getOwnPropertyDescriptor(A.document.adoptedStyleSheets,"length").writable)(),B=0,z=!1,V=[],W=[],Y=[],J=(t,e)=>n=>{t.push(n),z||(z=!0,e&&4&I.u?Q(K):I.raf(K))},X=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){b(t)}t.length=0},q=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){b(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},K=()=>{if(e.asyncQueue&&B++,X(V),e.asyncQueue){const t=2==(6&I.u)?performance.now()+14*Math.ceil(.1*B):1/0;q(W,t),q(Y,t),W.length>0&&(Y.push(...W),W.length=0),(z=V.length+W.length+Y.length>0)?I.raf(K):B=0}else X(W),(z=V.length>0)&&I.raf(K)},Q=t=>P().then(t),G=J(V,!1),Z=J(W,!0);function tt(t){var n;const s={mode:"open"};e.shadowDelegatesFocus&&(s.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(s.slotAssignment="manual");const r=this.attachShadow(s);if(void 0===d&&(d=null!=(n=function(t){if(!F)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(o))?n:null),d)U?r.adoptedStyleSheets.push(d):r.adoptedStyleSheets=[...r.adoptedStyleSheets,d];else if(!F){const t=document.createElement("style");t.innerHTML=o,e.hotModuleReplacement&&t.setAttribute(E,"sc-global"),r.prepend(t)}}var et=t=>{const e=Lt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&ot(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!st(t,lt(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Lt(t,"childNodes").length&&et(t)}},nt=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 ot(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||lt(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...ot(o.childNodes,e,n)]}return r}var st=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)lt(s)!==e||!n&&s["s-sr"]||o.push(s);return o},rt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,it=(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=Lt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Lt(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"]},lt=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function ct(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:nt(s.childNodes)).forEach((t=>{o===lt(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function at(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ut(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"]=lt(t)||"";return{slotNode:ot(Lt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ft=t=>{dt(t),ht(t),vt(t),mt(t),yt(t),gt(t),bt(t),$t(t),wt(t),St(t),pt(t)},dt=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&H,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}},ht=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=ut(t,this);if(n){it(t,n);const o=st(n,e),s=o[o.length-1],r=Lt(s,"parentNode"),i=Lt(r,"insertBefore")(t,s.nextSibling);return at(n),et(this),i}return this.__appendChild(t)})},pt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&ot(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void et(this)):this.__removeChild(t)})},mt=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"]=lt(e))||"",o=ot(Lt(this,"childNodes"),this.tagName,n)[0];if(o){it(e,o,!0);const t=st(o,n)[0],s=Lt(t,"parentNode"),r=Lt(s,"insertBefore")(e,Lt(t,"nextSibling"));return at(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},vt=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)}))})},gt=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)}},bt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},$t=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=ut(t,this),s=this.__childNodes?this.childNodes:nt(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"]){it(t,o);const n=Lt(e,"parentNode");Lt(n,"insertBefore")(t,e),at(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},yt=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}},wt=t=>{Tt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},St=t=>{class e extends Array{item(t){return this[t]}}Tt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Tt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Tt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Tt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...nt(this.__childNodes)),t}})},jt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(xt(t),Ct(t),Et(t),t.nodeType===Node.ELEMENT_NODE&&(Ot(t),_t(t)))},xt=t=>{t&&!t.__nextSibling&&(Tt("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}}))},Ot=t=>{t&&!t.__nextElementSibling&&(Tt("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}}))},Ct=t=>{t&&!t.__previousSibling&&(Tt("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}}))},_t=t=>{t&&!t.__previousElementSibling&&(Tt("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}}))},Et=t=>{t&&!t.__parentNode&&(Tt("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}}))},kt=["children","nextElementSibling","previousElementSibling"],Nt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Tt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;kt.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Nt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Lt(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 Rt=0,Mt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Rt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function At(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 Dt=new WeakMap,It=(t,e,n)=>{let o=O.get(t);F&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,O.set(t,o)},Ht=(t,n,o)=>{var s,r,i;const l=Ft(n,o),c=O.get(l);if(!e.attachStyles||!A.document)return l;if(t=11===t.nodeType?t:A.document,c)if("string"==typeof c){let o,i=Dt.get(t=t.head||t);i||Dt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${E}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=A.document.createElement("style"),o.textContent=c;const a=null!=(s=I.T)?s:At(A.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(E,l),!(1&n.u))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(F){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),U?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.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=L),i&&i.add(l)}}else if(e.constructableCSS){let n=Dt.get(t);if(n||Dt.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(U?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${E}="${l}"]`);e&&Z((()=>e.remove()))}}}return l},Pt=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Mt("attachStyles",n.C),i=Ht(e.shadowDom&&H&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.k);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ft=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Ut=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Bt=()=>{if(!A.document)return;const t=A.document.querySelectorAll(`[${E}]`);let e=0;for(;e<t.length;e++)It(t[e].getAttribute(E),Ut(t[e].innerHTML),!0)},zt=t=>"object"==(t=typeof t)||"function"===t,Vt=(t,n,...o)=>{"string"==typeof t&&(t=to(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&&!zt(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&y("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].L+=s:a.push(l?Wt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Qt(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(Jt)&&y("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,Xt);const f=Wt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=i),f},Wt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,P:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Yt={},Jt=t=>t&&t.I===Yt,Xt={forEach:(t,e)=>t.map(qt).forEach(e),map:(t,e)=>t.map(qt).map(e).map(Kt)},qt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),Kt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Vt(t.vtag,e,...t.vchildren||[])}const e=Wt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},Qt=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)&&w('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Gt=(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(k),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=te({u:0,F:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),P:i,R:{class:i.className||""}}),n.push(f),i.removeAttribute(k),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.R.class+=" "+h);const r=f.P.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(ee(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.P["s-sn"]=r,f.P.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.P)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)Gt(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--)Gt(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=te({F:u[1],U:u[2],B:u[3],V:u[4]||"0",P:i,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.P=oe(i,3),f.P&&3===f.P.nodeType&&(f.L=f.P.textContent,n.push(f),i.remove(),l===f.F&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.P))):"c"===a?(f.P=oe(i,8),f.P&&8===f.P.nodeType&&(n.push(f),i.remove())):f.F===l&&("s"===a?ee(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.I){const e=Wt(null,i.textContent);e.P=i,e.V="0",t.M=[e]}return t},Zt=(t,e)=>{if(1===t.nodeType){const n=t[_]||t.getAttribute(_);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Zt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Zt(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])}},te=t=>({u:0,F:null,U:null,B:null,V:"0",P:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function ee(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.P)?r.P["s-id"]||r.P.getAttribute("s-id"):"";if(e.shadowDom&&c&&A.document){const e=o.P=A.document.createElement(o.I);o.D&&o.P.setAttribute("name",t),r.P.shadowRoot&&u&&u!==o.F?Lt(r.P,"insertBefore")(e,Lt(r.P,"children")[0]):Lt(Lt(s,"parentNode"),"insertBefore")(e,s),ne(a,n,t,s,o.F),s.remove(),"0"===o.B&&(c[o.V]=o.P)}else{const e=o.P,i=u&&u!==o.F&&r.P.shadowRoot;ne(a,n,t,s,i?u:o.F),ct(s),i&&r.P.insertBefore(e,r.P.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var ne=(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.")))},oe=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},se=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),re="-shadowcsshost",ie="-shadowcssslotted",le="-shadowcsscontext",ce=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ae=RegExp("("+re+ce,"gim"),ue=RegExp("("+le+ce,"gim"),fe=RegExp("("+ie+ce,"gim"),de=re+"-no-combinator",he=/-shadowcsshost-no-combinator([^\s]*)/,pe=[/::shadow/g,/::content/g],me=/__part-(\d+)__/g,ve=/-shadowcsshost/gim,ge=t=>{const e=se(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},be=/\/\*\s*[\s\S]*?\*\//g,$e=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,ye=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,we=/([{}])/g,Se=/(^.*?[^\\])??((:+)(.*)|$)/,je="%BLOCK%",xe=(t,e)=>{const n=Oe(t);let o=0;return n.escapedString.replace(ye,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+je)&&(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}`}))},Oe=t=>{const e=t.split(we),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(je),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(je)),{escapedString:n.join(""),blocks:o}},Ce=(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(de,r,t[3]))}return o.join(",")}return de+t[3]})),_e=(t,e,n)=>t+e.replace(re,"")+n,Ee=(t,e,n)=>e.indexOf(re)>-1?_e(t,e,n):t+e+n+", "+e+" "+t+n,ke=(t,e)=>t.replace(Se,((t,n="",o,s="",r="")=>n+e+s+r)),Ne=(t,e,n,o)=>xe(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,"\\]"),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(de)>-1)s=((t,e,n)=>{if(ve.lastIndex=0,ve.test(t)){const e="."+n;return t.replace(he,((t,n)=>ke(n,e))).replace(ve,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(ve,"");e.length>0&&(s=ke(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(de)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(de)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(me)&&(u||f.indexOf(de)>-1),l+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,l)})(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=Ne(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Te=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Le=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match($e)||[])(t);t=(t=>t.replace(be,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=xe(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=xe(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(fe,((...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 de+t[3]})),{selectors:o,cssText:t}})(t=(t=>Ce(t,ue,Ee))(t=(t=>Ce(t,ae,_e))(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=ge("::slotted"),o=ge(":host"),s=ge(":host-context");return t=t.replace(s,"$1"+le).replace(o,"$1"+re).replace(n,"$1"+ie),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>pe.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=Ne(t,e,n,o)),{cssText:(t=(t=Te(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Te(t.orgSelector,n),updatedSelector:Te(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=RegExp(se(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return xe(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)},Re=t=>C.map((e=>e(t))).find((t=>!!t)),Me=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},Ae=class t{static fromLocalValue(e){const n=e[l],o=c in e?e[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((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 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 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(l))return!1;const e=t[l];return!!Object.values({...r,...i}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(c))}};var De,Ie,He,Pe=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(a)?t=function(t){return"string"==typeof t&&t.startsWith(a)?Ae.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)}(t.slice(11)))):t}(t):null==t||zt(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?t+"":t,Fe=t=>{var n;return e.lazyLoad?null==(n=p(t))?void 0:n.$hostElement$:t},Ue=(t,n,o)=>{const s=Fe(t);return{emit:t=>(e.isDev&&!s.isConnected&&w(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Be(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},Be=(t,e,n)=>{const o=I.ce(e,n);return t.dispatchEvent(o),o},ze=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=g(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=We(o);let i=We(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&&pn(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=p(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=zt(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(R,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(R,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):g(A,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(Ye);n=n.replace(Je,""),o&&I.rel(t,n,o,e),s&&I.ael(t,n,s,e)}},Ve=/\s/,We=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Ve):[]),Ye="Capture",Je=RegExp(Ye+"$"),Xe=(t,n,o,s)=>{const r=11===n.P.nodeType&&n.P.host?n.P.host:n.P,i=t&&t.R||{},l=n.R||{};if(e.updatable)for(const t of qe(Object.keys(i)))t in l||ze(r,t,i[t],void 0,o,n.u,s);for(const t of qe(Object.keys(l)))ze(r,t,i[t],l[t],o,n.u,s)};function qe(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Ke=!1,Qe=!1,Ge=!1,Ze=!1,tn=[],en=[],nn=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!Ke&&(Ge=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.P&&y(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" 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.L)i=r.P=A.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)i=r.P=e.isDebug||e.hydrateServerSide?bn(r):A.document.createTextNode(""),e.vdomAttribute&&Xe(null,r,Ze);else{if(e.svg&&!Ze&&(Ze="svg"===r.I),!A.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.P=e.svg?A.document.createElementNS(Ze?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Ke&&e.slotRelocation&&2&r.u?"slot-fb":r.I):A.document.createElement(!Ke&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&Ze&&"foreignObject"===r.I&&(Ze=!1),e.vdomAttribute&&Xe(null,r,Ze),(e.scoped||e.hydrateServerSide)&&null!=De&&void 0!==De&&i["s-si"]!==De&&i.classList.add(i["s-si"]=De),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=nn(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?Ze=!1:"foreignObject"===i.tagName&&(Ze=!0))}return i["s-hn"]=He,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=Ie,i["s-sn"]=r.D||"",i["s-rf"]=null==(s=r.R)?void 0:s.ref,ct(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.P&&on(t.P),(e.scoped||e.hydrateServerSide)&&vn(Ie,i,n.P,null==t?void 0:t.P)),i},on=t=>{I.u|=1;const e=t.closest(He.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"]&&(mn(e,t,null!=n?n:null),t["s-sh"]=void 0,Ge=!0)}I.u&=-2},sn=(t,e)=>{I.u|=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"]===He&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==He&&o["s-ol"]&&(mn(an(o).parentNode,o,an(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ge=!0),e&&sn(o,e)}I.u&=-2},rn=(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===He&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=nn(null,o,r),l&&(s[r].P=l,mn(c,l,e.slotRelocation?an(n):n)))},ln=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.P;hn(n),t&&(e.slotRelocation&&(Qe=!0,t["s-ol"]?t["s-ol"].remove():sn(t,!0)),t.remove())}}},cn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),an=t=>t&&t["s-ol"]||t,un=(t,n,o=!1)=>{const s=n.P=t.P,r=t.M,i=n.M,l=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(Ze="svg"===l||"foreignObject"!==l&&Ze),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!Ke&&t.D!==n.D&&(n.P["s-sn"]=n.D||"",on(n.P.parentElement)),Xe(t,n,Ze,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],g=s[m];const b="template"===o.I?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==g)g=s[--m];else if(cn(h,v,r))un(h,v,r),h=n[++c],v=s[++a];else if(cn(p,g,r))un(p,g,r),p=n[--d],g=s[--m];else if(cn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||sn(h.P.parentNode,!1),un(h,g,r),mn(b,h.P,p.P.nextSibling),h=n[++c],g=s[--m];else if(cn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||sn(p.P.parentNode,!1),un(p,v,r),mn(b,p.P,h.P),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=nn(n&&n[a],o,u):(un(l,v,r),n[u]=void 0,i=l.P),v=s[++a]):(i=nn(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?mn(an(h.P).parentNode,i,an(h.P)):mn(h.P.parentNode,i,h.P))}c>d?rn(t,null==s[m+1]?null:s[m+1].P,o,s,a,m):e.updatable&&a>m&&ln(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),rn(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?ln(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&Ze&&"svg"===l&&(Ze=!1))},fn=[],dn=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(rt(e,s)){let n=fn.find((t=>t.W===e));Qe=!0,e["s-sn"]=e["s-sn"]||s,n?(n.W["s-sh"]=t["s-hn"],n.Y=t):(e["s-sh"]=t["s-hn"],fn.push({Y:t,W:e})),e["s-sr"]&&fn.map((t=>{rt(t.W,e["s-sn"])&&(n=fn.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else fn.some((t=>t.W===e))||fn.push({W:e})}1===t.nodeType&&dn(t)}},hn=t=>{e.vdomRef&&(t.R&&t.R.ref&&tn.push((()=>t.R.ref(null))),t.M&&t.M.map(hn))},pn=(t,n)=>{e.vdomRef&&en.push((()=>t(n)))},mn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])vn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Et(n),t.insertBefore(n,o);const{slotNode:r}=ut(n);return r&&!s&&at(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function vn(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 gn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||Wt(null,null),d=Jt(n)?n:Vt(null,null,n);if(He=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Jt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${He.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.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.P=f.P=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(De=a["s-sc"]),Ke=H&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(Ie=a["s-cr"],Qe=!1),un(f,d,o),e.slotRelocation){if(I.u|=1,Ge){dn(d.P);for(const t of fn){const n=t.W;if(!n["s-ol"]&&A.document){const t=e.isDebug||e.hydrateServerSide?$n(n):A.document.createTextNode("");t["s-nr"]=n,mn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of fn){const n=t.W,c=t.Y;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(mn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=A.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,mn(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)}}Qe&&et(d.P),I.u&=-2,fn.length=0}if(e.slotRelocation&&!Ke&&!(1&u.u)&&a["s-cr"]){const t=d.P.__childNodes||d.P.childNodes;for(const e of t)if(e["s-hn"]!==He&&!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=A.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],mn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}Ie=void 0,e.vdomRef&&(tn.forEach((t=>t())),tn.length=0,en.forEach((t=>t())),en.length=0)},bn=t=>{var e;return null==(e=A.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${He.toLowerCase()})`)},$n=t=>{var e;return null==(e=A.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},yn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},wn=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);yn(t,t.K);const o=()=>Sn(t,n);if(!n)return e.taskQueue?Z(o):o();queueMicrotask((()=>{o()}))},Sn=(t,n)=>{const o=t.$hostElement$,s=Mt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.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?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,Tn(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>Tn(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),Ln(o,"componentWillLoad"),i=Tn(r,"componentWillLoad",void 0,o)):(Ln(o,"componentWillUpdate"),i=Tn(r,"componentWillUpdate",void 0,o)),Ln(o,"componentWillRender"),i=jn(i,(()=>Tn(r,"componentWillRender",void 0,o))),s(),jn(i,(()=>On(t,r,n)))},jn=(t,e)=>xn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),xn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,On=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Mt("update",t.o.C),l=r["s-rc"];e.style&&o&&Pt(t);const c=Mt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await _n(t,n,r,o):_n(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{Mn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){b(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=()=>En(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else En(t)},Cn=null,_n=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(Cn=n,n=(r||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||i)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>gn(t,e,s)));gn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){b(e,t.$hostElement$)}return Cn=null,null},En=t=>{const n=t.o.C,o=t.$hostElement$,s=Mt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),Tn(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),Ln(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),Tn(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),Ln(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Rn(o),e.isDev&&(t.u|=2048),Tn(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),Ln(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||Nn(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&Q((()=>wn(t,!1))),t.u&=-517)},kn=t=>{var n;if(e.updatable&&(s.isBrowser||s.isTesting)){const e=p(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&wn(e,!1),o}return!1},Nn=n=>{var o;e.asyncQueue&&(I.u|=2),Q((()=>Be(A,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=I.tt)?void 0:o.size)&&I.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},Tn=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){b(t,o)}},Ln=(n,o)=>{e.lifecycleDOMEvents&&Be(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Rn=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},Mn=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(),Mn(n)}},An=(t,e)=>p(t).i.get(e),Dn=(t,n,o,s)=>{const r=p(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" 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.p.has(n)&&r.p.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.u,a=e.lazyLoad?r.l:i;if(o=Pe(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==l||o===l||Number.isNaN(l)&&Number.isNaN(o))){if(r.i.set(n,o),e.serializer&&e.reflect&&s.X&&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.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.l)}))}if(e.isDev&&(1024&r.u?w(`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&&w(`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.O.push((()=>{r.l[e](o,l,n)})))}catch(t){b(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||wn(r,!1)}}},In=(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.u&&1&o&&M.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=p(this),i=e.lazyLoad?null==r?void 0:r.l: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)||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=Me(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}=u(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 An(this,t);const e=p(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):An(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=p(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||w(`@Prop() "${t}" on <${n.C}> 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.call(this,Pe(r,s,e.formAssociated&&!!(64&n.u))),void Dn(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 Dn(this,t,r,n),void(1&o&&!i.l&&i.O.push((()=>{4096&n.t[t][0]&&i.l[t]!==i.i.get(t)&&(i.l[t]=r)})));const l=()=>{const o=i.l[t];!i.i.get(t)&&o&&i.i.set(t,o),i.l[t]=Pe(r,s,e.formAssociated&&!!(64&n.u)),Dn(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else Dn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=p(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){I.jmp((()=>{var c;const a=o.get(t),u=p(this);if(e.serializer&&u.p.has(a)&&u.p.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.l?t(n,u.l):u.O.push((()=>{t(n,u.l)})):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.u;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.l: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)),d=f&&4&f[1][0],h=d&&null===r&&void 0===this[a];d&&(r=null!==r&&"false"!==r);const m=Object.getOwnPropertyDescriptor(i,a);h||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.X)||r.push([t,i])),i}))]))}}return t},Hn=async(t,n,o,s)=>{let r;try{if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&o._){const i=x(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.k}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.k}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=Me(r.watchers),o.et=r.serializers,o.ot=r.deserializers),In(r,o,2),r.isProxied=!0);const l=Mt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){b(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:Pn(n.l,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n.k=Re(t),n.k&&(i=r.style[n.k]),e.hydrateServerSide&&n.k&&t.setAttribute("s-mode",n.k));const l=Ft(o,n.k);if(!O.has(l)||e.hotModuleReplacement&&s){const t=Mt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Le(i,l)),It(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>wn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(o){b(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),e.asyncLoading&&n.j&&n.j(t)}},Pn=(t,n)=>{e.lazyLoad&&Tn(t,"connectedCallback",void 0,n)},Fn=t=>{if(!(1&I.u)){const n=p(t);if(!n)return;const o=n.o,s=Mt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Yn(t,n,o.st,!0),1&n.u)Yn(t,n,o.st,!1),(null==n?void 0:n.l)?Pn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Pn(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(_),s)){if(e.shadowDom&&H&&1&o.u){const n=e.mode?Ht(t.shadowRoot,o,t.getAttribute("s-mode")):Ht(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Ft(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Mt("hydrateClient",n),u=t.shadowRoot,f=[],d=[],h=[],m=e.shadowDom&&u?[]:null,v=Wt(n,null);let g;if(v.P=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!A.document||I.tt&&I.tt.size||Zt(A.document.body,I.tt=new Map),t[_]=o,t.removeAttribute(_),s.J=Gt(v,f,d,m,t,t,o,h);let b=0;const $=f.length;let y;for(;b<$;b++){y=f[b];const o=y.F+"."+y.U,s=I.tt.get(o),i=y.P;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.P.shadowRoot){const t=p(y.P);if(t){const n=Ft(t.o,e.mode?y.P.getAttribute("s-mode"):void 0),o=A.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=to(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.P["s-sn"]||y.P.name||null,y.M?(y.u|=2,y.P.childNodes.length||y.M.forEach((t=>{y.P.appendChild(t.P)}))):y.u|=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.U))),s&&!s["s-id"]&&I.tt.delete(o)}const w=[],S=h.length;let j,x,O,C,E=0,k=0;for(;E<S;E++)if(j=h[E],j&&j.length)for(O=j.length,x=0;x<O;x++){if(C=j[x],w[C.hostId]||(w[C.hostId]=I.tt.get(C.hostId)),!w[C.hostId])continue;const t=w[C.hostId];t.shadowRoot&&C.node.parentElement!==t&&t.insertBefore(C.node,null==(l=null==(i=j[x-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(C.slot["s-cr"]||(C.slot["s-cr"]=t["s-cr"],C.slot["s-cr"]=!C.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),it(C.node,C.slot,!1,C.node["s-oo"]||k),(null==(c=C.node.parentElement)?void 0:c.shadowRoot)&&C.node.getAttribute&&C.node.getAttribute("slot")&&C.node.removeAttribute("slot"),e.experimentalSlotFixes&&jt(C.node)),k=(C.node["s-oo"]||k)+1}if(e.scoped&&g&&d.length&&d.forEach((t=>{t.P.parentElement.classList.add(g+"-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.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Un(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"]){yn(n,n.K=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?Q((()=>Hn(t,n,o))):Hn(t,n,o)}s()}},Un=t=>{if(!A.document)return;const n=t["s-cr"]=A.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,mn(t,n,t.firstChild)},Bn=(t,n)=>{e.lazyLoad&&Tn(t,"disconnectedCallback",void 0,n||t)},zn=async t=>{if(!(1&I.u)){const n=p(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.l)?Bn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Bn(n.l,t))):Bn(t)}Dt.has(t)&&Dt.delete(t),t.shadowRoot&&Dt.has(t.shadowRoot)&&Dt.delete(t.shadowRoot)},Vn=(t,n)=>{const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=Me(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!H&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?ft(t.prototype):(e.slotChildNodesFix&&St(t.prototype),e.cloneNodeFix&&dt(t.prototype),e.appendChildSlotFix&&ht(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&wt(t.prototype)):e.cloneNodeFix&&dt(t.prototype),e.hydrateClientSide&&e.shadowDom&&Bt();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){v(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=p(this);if(!t)return;Yn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}Fn(this),s&&s.call(this)},disconnectedCallback(){zn(this),r&&r.call(this)},__attachShadow(){if(H)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),In(t,o,3)}catch(e){return b(e),t}},Wn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=A.stencil=A.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=p(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,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.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.l,vnode:e.J,modeName:e.k,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,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}}})(),!A.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Mt("bootstrapLazy"),r=[],i=n.exclude||[],l=A.customElements,c=A.document.head,a=c.querySelector("meta[charset]"),u=A.document.createElement("style"),f=[];let d,h=!0;Object.assign(I,n),I.N=new URL(n.resourcesUrl||"./",A.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(I.u|=4),e.hydrateClientSide&&(I.u|=2),e.hydrateClientSide&&e.shadowDom&&Bt();let m=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={u:o[0],C:o[1],t:o[2],st:o[3]};4&a.u&&(m=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.st=o[3]),e.reflect&&(a.X=[]),e.propChangeCallback&&(a.nt=Me(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!H&&1&a.u&&(a.u|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.C):to(a.C),g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),v(t=this,a),e.shadowDom&&1&a.u)if(H)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=p(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Yn(this,t,a.st,!1)),d&&(clearTimeout(d),d=null),h?f.push(this):I.jmp((()=>Fn(this))))}disconnectedCallback(){I.jmp((()=>zn(this))),I.raf((()=>{var t;const e=p(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.P)instanceof Node&&!e.J.P.isConnected&&delete e.J.P}))}componentOnReady(){var t;return null==(t=p(this))?void 0:t.S}};!(1&a.u)&&256&a.u?e.experimentalSlotFixes?ft(g.prototype):(e.slotChildNodesFix&&St(g.prototype),e.cloneNodeFix&&dt(g.prototype),e.appendChildSlotFix&&ht(g.prototype),e.scopedSlotTextContentFix&&2&a.u&&wt(g.prototype)):e.cloneNodeFix&&dt(g.prototype),e.formAssociated&&64&a.u&&(g.formAssociated=!0),e.hotModuleReplacement&&(g.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=p(t);o&&(o.u=1,Hn(t,o,e,n))})(this,a,t)}),a._=t[0],i.includes(u)||l.get(u)||(r.push(u),l.define(u,In(g,a,1)))}))})),r.length>0&&(e.slotRelocation&&m&&(u.textContent+=L),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=I.T)?o:At(A.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}h=!1,f.length?f.map((t=>t.connectedCallback())):I.jmp(e.profile?()=>d=setTimeout(Nn,30,"timeout"):()=>d=setTimeout(Nn,30)),s()},Yn=(t,n,o,s)=>{e.hostListener&&o&&A.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Xn(A.document,t,o):t,l=Jn(n,r),c=qn(o);I.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>I.rel(i,s,l,c)))})))},Jn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.l)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){b(e,t.$hostElement$)}},Xn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?A:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,qn=t=>({passive:!!(1&t),capture:!!(2&t)}),Kn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Qn=t=>I.T=t,Gn=new WeakMap,Zn=void 0;function to(t){return Zn?Zn(t):t}function eo(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)?Vt(t,i,...s):Vt(t,i,s):Vt(t,i)}var no=(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=p(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||oo(t,e,s.J,n,{nodeIds:0}),no(t,e,n,o)}))},oo=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(_,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{so(t,n,s,r,e,o)}))}if(e&&n&&n.P&&!e.hasAttribute(k)){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.P.setAttribute(k,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},so=(t,e,n,o,s,r)=>{const i=e.P;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(k,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);mn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{so(t,e,n,o,r,s)}))}},ro=Object.freeze({__proto__:null,BUILD:e,Build:s,Env:{},Fragment:(t,e)=>e,H:D,HTMLElement:D,HYDRATED_STYLE_ID:E,Host:Yt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Kn)},NAMESPACE:t,STENCIL_DEV_MODE:$,addHostEventListeners:Yn,bootstrapLazy:Wn,cmpModules:j,connectedCallback:Fn,consoleDevError:y,consoleDevInfo:S,consoleDevWarn:w,consoleError:b,createEvent:Ue,defineCustomElement:(t,e)=>{customElements.define(to(e[1]),Vn(t,e))},disconnectedCallback:zn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Re(t),n=p(t);if(n&&n.k!==e){const o=n.o,s=t["s-sc"],r=Ft(o,e),i=t.constructor.style[e],l=o.u;i&&(O.has(r)||It(r,i,!!(1&l)),n.k=e,t.classList.remove(s+"-h",s+"-s"),Pt(n),kn(t))}}},forceUpdate:kn,getAssetPath:t=>{const e=new URL(t,I.N);return e.origin!==A.location.origin?e.href:e.pathname},getElement:Fe,getHostRef:p,getMode:t=>{var e;return null==(e=p(t))?void 0:e.k},getRenderingRef:()=>Cn,getValue:An,h:Vt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=N in t?t[N]:{...T};n.staticComponents=new Set(e);const o=[];no(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(k,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,mn(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:g,jsx:eo,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)?Vt(t,i,...s):Vt(t,i,s):Vt(t,i)},jsxs:function(t,e,n){return eo(t,e,n)},loadModule:x,modeResolutionChain:C,needsScopedSSR:()=>!1,nextTick:Q,normalizeWatchers:Me,parsePropertyValue:Pe,plt:I,postUpdateComponent:En,promiseResolve:P,proxyComponent:In,proxyCustomElement:Vn,readTask:G,registerHost:v,registerInstance:m,render:function(t,e){let n=Gn.get(e);n||(n={u:0,o:{u:0,C:e.tagName},$hostElement$:e},Gn.set(e,n)),gn(n,t)},renderVdom:gn,setAssetPath:t=>I.N=t,setErrorHandler:t=>f=t,setMode:t=>C.push(t),setNonce:Qn,setPlatformHelpers:t=>{Object.assign(I,t)},setPlatformOptions:t=>Object.assign(I,t),setScopedSSR:()=>{},setTagTransformer:function(t){Zn&&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 "),Zn=t},setValue:Dn,styles:O,supportsConstructableStylesheets:F,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:U,supportsShadow:H,transformTag:to,win:A,writeTask:Z});export{e as B,Yt as H,t as N,ro as S,D as a,Wn as b,S as c,Ue as d,Fe as e,n as g,Vt as h,P as p,m as r,Qn as s,A as w}
@@ -1 +1 @@
1
- import{r as e,d as a,h as t}from"./p-CUS2AmqM.js";const i=class{constructor(t){e(this,t),this.searchInput=a(this,"searchInput",7),this.toggleSearchInput=a(this,"toggleSearchInput",7),this.showNotification=a(this,"showNotification",7)}maxWidth="100%";roleWrapperWidth=152;hasNotifications=!0;hasReadNotifications=!1;hasUserRoleDropdown=!0;hasSearch=!0;testId="";areLinksVisible=!0;isSearchVisible=!1;searchQuery="";searchInput;toggleSearchInput;showNotification;get roleMenuStyleObj(){return{minWidth:"152px",width:`${this.roleWrapperWidth}px`}}handleInputEventChange(e){const a=e.detail.value;this.searchQuery=a,this.searchInput.emit(a)}toggleSearch=async()=>{this.areLinksVisible?(this.areLinksVisible=!1,setTimeout((()=>{this.isSearchVisible=!0}),400)):(this.isSearchVisible=!1,setTimeout((()=>{this.areLinksVisible=!0}),400))};handleInputChange=e=>{this.searchQuery=e,this.searchInput.emit(e)};handleStopPropagation=e=>{e.stopPropagation()};handleShowNotification=()=>{this.showNotification.emit(!0)};searchVisibleChangeHandler(e){this.toggleSearchInput.emit(e)}render(){return t("header",{key:"f0ca5bfe8bcbd155745d730d3b258526ea732706",class:"topnav","data-testid":`swc-top-nav-${this.testId}`,style:{"--max-width":this.maxWidth}},t("div",{key:"b19667e73cab2b9a3f97b9a39d1b177ef8f7b107",class:"topnav__content"},t("div",{key:"028dcfbb71f2fe0cf8d73e5f6a284aebe51e626f",class:"topnav__left"},t("div",{key:"e8b516a9e00ec930f86d9050d20c4c29657f1e8d",class:"topnav__brand"},t("slot",{key:"55f21e006ca3209e45b9da52c2fa561c24fd8db0",name:"companyLogo"},"Logo")),t("div",{key:"352c68bd53412898c668b8827c26e5ec03239a47",class:{topnav__links:!0,"fade-enter":this.areLinksVisible,"fade-leave-to":!this.areLinksVisible}},t("slot",{key:"4a9b739f75ae7838ac28ecd7e18631b3e9f7a9ee",name:"navLinks"}))),t("div",{key:"26131fb249cd5ed54dc04c6a4bf9f5432162e818",class:{"topnav__search-container":!0,"slide-fade-enter-from":this.isSearchVisible,"slide-fade-leave-to":!this.isSearchVisible},onClick:this.handleStopPropagation},t("swc-input",{key:"7f22798d8acc8cd91826e1fbfc610096346ceb12",value:this.searchQuery,type:"search",placeholder:"Search hint",variant:"faded",containerClass:"w-40 search-transition","arial-expanded":!0,"arial-label":!0,handleInputChange:this.handleInputChange},t("span",{key:"2d5504e78d11589fed77bd174757a34236477d52",slot:"leftAddon"},t("svg",{key:"7b5284b292c7a7c90bafe341d1ba8543c9f977c1",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},t("path",{key:"1ae20da73ec3568bbda97196c103cef2365b0b9e",d:"M8.19009 14.0467C4.68621 14.0467 1.8335 11.194 1.8335 7.69009C1.8335 4.18621 4.68621 1.3335 8.19009 1.3335C11.694 1.3335 14.5467 4.18621 14.5467 7.69009C14.5467 11.194 11.694 14.0467 8.19009 14.0467ZM8.19009 2.26373C5.19474 2.26373 2.76373 4.70094 2.76373 7.69009C2.76373 10.6792 5.19474 13.1164 8.19009 13.1164C11.1854 13.1164 13.6164 10.6792 13.6164 7.69009C13.6164 4.70094 11.1854 2.26373 8.19009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{key:"bd8d3d2601bad8c954bbbfe76b14fad191277c8b",d:"M14.7017 14.6668C14.5839 14.6668 14.4661 14.6234 14.373 14.5304L13.1327 13.2901C12.9529 13.1102 12.9529 12.8126 13.1327 12.6327C13.3126 12.4529 13.6102 12.4529 13.7901 12.6327L15.0304 13.873C15.2102 14.0529 15.2102 14.3506 15.0304 14.5304C14.9374 14.6234 14.8195 14.6668 14.7017 14.6668Z",fill:"black","fill-opacity":"0.7"})))),t("div",{key:"5f6d97503da64ad654651d3a8566b4c216ce3148",class:"search-list"},this.isSearchVisible&&t("slot",{key:"e890ef95885a30a853c95f25ad74bfcf7ff7fe0b",name:"searchList"}))),t("div",{key:"e1e1e6791bae08993f6555f727b0c9a330a49750",class:"topnav__right"},this.hasSearch&&t("swc-icon-button",{key:"724ee9e0560811a6a20fdd1cccaafd40e7876734",intent:"neutral",variant:"bare",size:"lg","aria-label":"Search",class:"topnav__search-icon",round:!0,onClick:this.toggleSearch},this.isSearchVisible?t("swc-svg-icon",{name:"Dismiss",size:"16"}):t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{d:"M7.69009 14.0467C4.18621 14.0467 1.3335 11.194 1.3335 7.69009C1.3335 4.18621 4.18621 1.3335 7.69009 1.3335C11.194 1.3335 14.0467 4.18621 14.0467 7.69009C14.0467 11.194 11.194 14.0467 7.69009 14.0467ZM7.69009 2.26373C4.69474 2.26373 2.26373 4.70094 2.26373 7.69009C2.26373 10.6792 4.69474 13.1164 7.69009 13.1164C10.6854 13.1164 13.1164 10.6792 13.1164 7.69009C13.1164 4.70094 10.6854 2.26373 7.69009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{d:"M14.2017 14.6668C14.0839 14.6668 13.9661 14.6234 13.873 14.5304L12.6327 13.2901C12.4529 13.1102 12.4529 12.8126 12.6327 12.6327C12.8126 12.4529 13.1102 12.4529 13.2901 12.6327L14.5304 13.873C14.7102 14.0529 14.7102 14.3506 14.5304 14.5304C14.4374 14.6234 14.3195 14.6668 14.2017 14.6668Z",fill:"black","fill-opacity":"0.7"}))),this.hasUserRoleDropdown&&t("swc-dropdown",{key:"47ade5795dfa636b257dc703cf508c318848e6f3",class:"topnav__role-switch"},t("span",{key:"feba38c19156b55d907e865e1dae92229877f0e7",slot:"trigger"},t("swc-dropdown-trigger",{key:"31ecdfd89c64875a166ed6043509da946b52ba6f",size:"md",style:this.roleMenuStyleObj},t("div",{key:"2d7bd989b36cc6c65ce6fe5095e463a0ac99bd85",class:"topnav__role-liner"},t("swc-svg-icon",{key:"8563abc06836c4093b6cfe1ecf4732283efec7d5",name:"Person",variant:"filled",size:"20"}),"  ",t("slot",{key:"e0c184a9c3e0d3a3076757b97ae784cf10c37a17",name:"roleSelected"})))),t("span",{key:"ef778743b3214b1118cf4d12a3740bdeb46ce793",slot:"list"},t("slot",{key:"5a825d6c5a4ab39dc62cf5bad5659275a0ca2a02",name:"userRolesList"},"User Role Dropdown Menu"))),this.hasNotifications&&t("div",{key:"98f27746ebfb9249130b513c6cd93d6be6809a34",class:"topnav__notification"},t("swc-dropdown",{key:"5c260978902b533637217a4a7cb541652bf3c48b"},t("span",{key:"a55440317ed5ccd6ad83f6ad27254f3ec5a5ea84",slot:"trigger"},t("swc-icon-button",{key:"33762acb02d1046d5de2052a7bdc96c64ecf3bb5",intent:"brand",variant:"ghost",size:"lg","aria-label":"Alert",class:"alert-btn",round:!0,onClick:this.handleShowNotification},t("svg",{key:"9f7ab0cef593f6a0d87fb02f0df2b8555e3e3c6b",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{key:"49baf7836deee9609e83953dfb76ed4fa803cc7c",d:"M7.9979 0C11.1469 0 13.7418 2.33488 13.9824 5.3554L13.9958 5.57762L14.0003 5.80214L13.9993 9.398L14.9247 11.6202C14.9472 11.6743 14.9649 11.7302 14.9776 11.7871L14.9929 11.8733L15.0015 12.0046C15.0015 12.4526 14.705 12.8387 14.2524 12.9677L14.136 12.9945L14.0015 13.0046L10.4999 13.004L10.4949 13.1653C10.4098 14.469 9.32542 15.5 8.00026 15.5C6.67478 15.5 5.59022 14.4685 5.50558 13.1644L5.49986 13.004L1.99915 13.0046C1.9112 13.0046 1.82383 12.993 1.73927 12.9702L1.61481 12.9277C1.20403 12.7567 0.962056 12.3392 1.01246 11.8757L1.03354 11.7483L1.07596 11.6202L1.99926 9.401L2.00035 5.79281L2.00465 5.56824C2.12726 2.45115 4.77129 0 7.9979 0ZM9.49986 13.004H6.49986L6.50722 13.1454C6.57576 13.8581 7.143 14.425 7.8558 14.4931L8.00026 14.5C8.77996 14.5 9.42071 13.9051 9.49339 13.1445L9.49986 13.004ZM7.9979 1C5.37535 1 3.22741 2.92372 3.0174 5.38498L3.00417 5.59723L3.00026 5.80214V9.5L2.96185 9.69217L1.99914 12.0046L13.9569 12.0066L14.0021 12.0045L13.0387 9.6922L13.0003 9.5L13.0004 5.81241L12.9963 5.60831C12.8911 3.0349 10.6949 1 7.9979 1Z",fill:"#004CA6"})),!this.hasReadNotifications&&t("div",{key:"a3c16749e3fd4f5ca5aa0341f86bac4efdc2a2db",class:"notify"},t("svg",{key:"5043884ee229120414767d8f38cd1774d6144a29",xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none"},t("circle",{key:"b370e07c8c5d0032594bff209c403d17fdbebda7",cx:"2",cy:"2",r:"2",fill:"var(--sfe-color-non-semantic-fill-red-strong)"}))))),t("span",{key:"c70e9efff0a6e5be5af3ebe41638bb4e3b0c454a",slot:"list"},t("slot",{key:"271cfceb6dc63e98325cf108e920d10f1d01ac2b",name:"notificationsList"})))),t("div",{key:"8308d0157ab1068d514dae0a5f28cca2ef78adb3",class:"topnav__avatar"},t("slot",{key:"7b499933bfc8396f11924682266de4fbc2b7de17",name:"userAvatar"})))))}static get watchers(){return{isSearchVisible:[{searchVisibleChangeHandler:0}]}}};i.style=".topnav{position:fixed;top:0;left:0;width:100%;z-index:var(--sfe-stack-level-navs);background:var(--sfe-color-fill-surface)}.topnav__content{border-bottom:0.8px solid var(--sfe-color-border-neutral-light);display:flex;padding:var(--sfe-sizing-gap-mid) var(--sfe-sizing-padding-large);justify-content:space-between;align-items:center;margin-inline:auto;height:var(--sfe-sizing-size-640, 64px);max-width:var(--max-width)}.topnav__links{transition:opacity 0.3s ease}.topnav__role-liner{display:flex;align-items:center}.topnav__left,.topnav__search-container,.topnav__right{display:flex;align-items:center}.topnav__left .topnav__brand{max-height:40px;overflow:hidden;width:auto;display:inline-block}.topnav__left .topnav__brand svg{width:auto;height:100%}.topnav__left .topnav__links{display:flex;margin-left:26px}.topnav__search-container{transition:opacity 0.3s ease, transform 0.3s ease;position:relative;justify-content:center;width:40%}.topnav__search-container .search-list{position:relative}.topnav__right{padding:0 24px 0 8px;justify-content:center;align-items:center}.topnav__right .topnav__search-icon,.topnav__right .topnav__role-switch,.topnav__right .topnav__notification,.topnav__right .topnav__avatar{margin:0 12px}.topnav__right .topnav__notification{position:relative}.topnav__right .topnav__notification .alert-btn .notify{position:absolute;right:13px;top:3px}.topnav__right .topnav__notification .topnav__notification-list{position:relative}.topnav__right .topnav__avatar{align-items:center}.w-40{width:36vw}.fade-leave-to{opacity:0}.fade-enter{opacity:1}.slide-fade-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-enter-from{transform:translateY(0);opacity:1}";export{i as swc_top_nav}
1
+ import{r as e,d as a,h as t}from"./p-_XYgBHWR.js";const i=class{constructor(t){e(this,t),this.searchInput=a(this,"searchInput",7),this.toggleSearchInput=a(this,"toggleSearchInput",7),this.showNotification=a(this,"showNotification",7)}maxWidth="100%";roleWrapperWidth=152;hasNotifications=!0;hasReadNotifications=!1;hasUserRoleDropdown=!0;hasSearch=!0;testId="";areLinksVisible=!0;isSearchVisible=!1;searchQuery="";searchInput;toggleSearchInput;showNotification;get roleMenuStyleObj(){return{minWidth:"152px",width:`${this.roleWrapperWidth}px`}}handleInputEventChange(e){const a=e.detail.value;this.searchQuery=a,this.searchInput.emit(a)}toggleSearch=async()=>{this.areLinksVisible?(this.areLinksVisible=!1,setTimeout((()=>{this.isSearchVisible=!0}),400)):(this.isSearchVisible=!1,setTimeout((()=>{this.areLinksVisible=!0}),400))};handleInputChange=e=>{this.searchQuery=e,this.searchInput.emit(e)};handleStopPropagation=e=>{e.stopPropagation()};handleShowNotification=()=>{this.showNotification.emit(!0)};searchVisibleChangeHandler(e){this.toggleSearchInput.emit(e)}render(){return t("header",{key:"f0ca5bfe8bcbd155745d730d3b258526ea732706",class:"topnav","data-testid":`swc-top-nav-${this.testId}`,style:{"--max-width":this.maxWidth}},t("div",{key:"b19667e73cab2b9a3f97b9a39d1b177ef8f7b107",class:"topnav__content"},t("div",{key:"028dcfbb71f2fe0cf8d73e5f6a284aebe51e626f",class:"topnav__left"},t("div",{key:"e8b516a9e00ec930f86d9050d20c4c29657f1e8d",class:"topnav__brand"},t("slot",{key:"55f21e006ca3209e45b9da52c2fa561c24fd8db0",name:"companyLogo"},"Logo")),t("div",{key:"352c68bd53412898c668b8827c26e5ec03239a47",class:{topnav__links:!0,"fade-enter":this.areLinksVisible,"fade-leave-to":!this.areLinksVisible}},t("slot",{key:"4a9b739f75ae7838ac28ecd7e18631b3e9f7a9ee",name:"navLinks"}))),t("div",{key:"26131fb249cd5ed54dc04c6a4bf9f5432162e818",class:{"topnav__search-container":!0,"slide-fade-enter-from":this.isSearchVisible,"slide-fade-leave-to":!this.isSearchVisible},onClick:this.handleStopPropagation},t("swc-input",{key:"7f22798d8acc8cd91826e1fbfc610096346ceb12",value:this.searchQuery,type:"search",placeholder:"Search hint",variant:"faded",containerClass:"w-40 search-transition","arial-expanded":!0,"arial-label":!0,handleInputChange:this.handleInputChange},t("span",{key:"2d5504e78d11589fed77bd174757a34236477d52",slot:"leftAddon"},t("svg",{key:"7b5284b292c7a7c90bafe341d1ba8543c9f977c1",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},t("path",{key:"1ae20da73ec3568bbda97196c103cef2365b0b9e",d:"M8.19009 14.0467C4.68621 14.0467 1.8335 11.194 1.8335 7.69009C1.8335 4.18621 4.68621 1.3335 8.19009 1.3335C11.694 1.3335 14.5467 4.18621 14.5467 7.69009C14.5467 11.194 11.694 14.0467 8.19009 14.0467ZM8.19009 2.26373C5.19474 2.26373 2.76373 4.70094 2.76373 7.69009C2.76373 10.6792 5.19474 13.1164 8.19009 13.1164C11.1854 13.1164 13.6164 10.6792 13.6164 7.69009C13.6164 4.70094 11.1854 2.26373 8.19009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{key:"bd8d3d2601bad8c954bbbfe76b14fad191277c8b",d:"M14.7017 14.6668C14.5839 14.6668 14.4661 14.6234 14.373 14.5304L13.1327 13.2901C12.9529 13.1102 12.9529 12.8126 13.1327 12.6327C13.3126 12.4529 13.6102 12.4529 13.7901 12.6327L15.0304 13.873C15.2102 14.0529 15.2102 14.3506 15.0304 14.5304C14.9374 14.6234 14.8195 14.6668 14.7017 14.6668Z",fill:"black","fill-opacity":"0.7"})))),t("div",{key:"5f6d97503da64ad654651d3a8566b4c216ce3148",class:"search-list"},this.isSearchVisible&&t("slot",{key:"e890ef95885a30a853c95f25ad74bfcf7ff7fe0b",name:"searchList"}))),t("div",{key:"e1e1e6791bae08993f6555f727b0c9a330a49750",class:"topnav__right"},this.hasSearch&&t("swc-icon-button",{key:"724ee9e0560811a6a20fdd1cccaafd40e7876734",intent:"neutral",variant:"bare",size:"lg","aria-label":"Search",class:"topnav__search-icon",round:!0,onClick:this.toggleSearch},this.isSearchVisible?t("swc-svg-icon",{name:"Dismiss",size:"16"}):t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{d:"M7.69009 14.0467C4.18621 14.0467 1.3335 11.194 1.3335 7.69009C1.3335 4.18621 4.18621 1.3335 7.69009 1.3335C11.194 1.3335 14.0467 4.18621 14.0467 7.69009C14.0467 11.194 11.194 14.0467 7.69009 14.0467ZM7.69009 2.26373C4.69474 2.26373 2.26373 4.70094 2.26373 7.69009C2.26373 10.6792 4.69474 13.1164 7.69009 13.1164C10.6854 13.1164 13.1164 10.6792 13.1164 7.69009C13.1164 4.70094 10.6854 2.26373 7.69009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{d:"M14.2017 14.6668C14.0839 14.6668 13.9661 14.6234 13.873 14.5304L12.6327 13.2901C12.4529 13.1102 12.4529 12.8126 12.6327 12.6327C12.8126 12.4529 13.1102 12.4529 13.2901 12.6327L14.5304 13.873C14.7102 14.0529 14.7102 14.3506 14.5304 14.5304C14.4374 14.6234 14.3195 14.6668 14.2017 14.6668Z",fill:"black","fill-opacity":"0.7"}))),this.hasUserRoleDropdown&&t("swc-dropdown",{key:"47ade5795dfa636b257dc703cf508c318848e6f3",class:"topnav__role-switch"},t("span",{key:"feba38c19156b55d907e865e1dae92229877f0e7",slot:"trigger"},t("swc-dropdown-trigger",{key:"31ecdfd89c64875a166ed6043509da946b52ba6f",size:"md",style:this.roleMenuStyleObj},t("div",{key:"2d7bd989b36cc6c65ce6fe5095e463a0ac99bd85",class:"topnav__role-liner"},t("swc-svg-icon",{key:"8563abc06836c4093b6cfe1ecf4732283efec7d5",name:"Person",variant:"filled",size:"20"}),"  ",t("slot",{key:"e0c184a9c3e0d3a3076757b97ae784cf10c37a17",name:"roleSelected"})))),t("span",{key:"ef778743b3214b1118cf4d12a3740bdeb46ce793",slot:"list"},t("slot",{key:"5a825d6c5a4ab39dc62cf5bad5659275a0ca2a02",name:"userRolesList"},"User Role Dropdown Menu"))),this.hasNotifications&&t("div",{key:"98f27746ebfb9249130b513c6cd93d6be6809a34",class:"topnav__notification"},t("swc-dropdown",{key:"5c260978902b533637217a4a7cb541652bf3c48b"},t("span",{key:"a55440317ed5ccd6ad83f6ad27254f3ec5a5ea84",slot:"trigger"},t("swc-icon-button",{key:"33762acb02d1046d5de2052a7bdc96c64ecf3bb5",intent:"brand",variant:"ghost",size:"lg","aria-label":"Alert",class:"alert-btn",round:!0,onClick:this.handleShowNotification},t("svg",{key:"9f7ab0cef593f6a0d87fb02f0df2b8555e3e3c6b",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{key:"49baf7836deee9609e83953dfb76ed4fa803cc7c",d:"M7.9979 0C11.1469 0 13.7418 2.33488 13.9824 5.3554L13.9958 5.57762L14.0003 5.80214L13.9993 9.398L14.9247 11.6202C14.9472 11.6743 14.9649 11.7302 14.9776 11.7871L14.9929 11.8733L15.0015 12.0046C15.0015 12.4526 14.705 12.8387 14.2524 12.9677L14.136 12.9945L14.0015 13.0046L10.4999 13.004L10.4949 13.1653C10.4098 14.469 9.32542 15.5 8.00026 15.5C6.67478 15.5 5.59022 14.4685 5.50558 13.1644L5.49986 13.004L1.99915 13.0046C1.9112 13.0046 1.82383 12.993 1.73927 12.9702L1.61481 12.9277C1.20403 12.7567 0.962056 12.3392 1.01246 11.8757L1.03354 11.7483L1.07596 11.6202L1.99926 9.401L2.00035 5.79281L2.00465 5.56824C2.12726 2.45115 4.77129 0 7.9979 0ZM9.49986 13.004H6.49986L6.50722 13.1454C6.57576 13.8581 7.143 14.425 7.8558 14.4931L8.00026 14.5C8.77996 14.5 9.42071 13.9051 9.49339 13.1445L9.49986 13.004ZM7.9979 1C5.37535 1 3.22741 2.92372 3.0174 5.38498L3.00417 5.59723L3.00026 5.80214V9.5L2.96185 9.69217L1.99914 12.0046L13.9569 12.0066L14.0021 12.0045L13.0387 9.6922L13.0003 9.5L13.0004 5.81241L12.9963 5.60831C12.8911 3.0349 10.6949 1 7.9979 1Z",fill:"#004CA6"})),!this.hasReadNotifications&&t("div",{key:"a3c16749e3fd4f5ca5aa0341f86bac4efdc2a2db",class:"notify"},t("svg",{key:"5043884ee229120414767d8f38cd1774d6144a29",xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none"},t("circle",{key:"b370e07c8c5d0032594bff209c403d17fdbebda7",cx:"2",cy:"2",r:"2",fill:"var(--sfe-color-non-semantic-fill-red-strong)"}))))),t("span",{key:"c70e9efff0a6e5be5af3ebe41638bb4e3b0c454a",slot:"list"},t("slot",{key:"271cfceb6dc63e98325cf108e920d10f1d01ac2b",name:"notificationsList"})))),t("div",{key:"8308d0157ab1068d514dae0a5f28cca2ef78adb3",class:"topnav__avatar"},t("slot",{key:"7b499933bfc8396f11924682266de4fbc2b7de17",name:"userAvatar"})))))}static get watchers(){return{isSearchVisible:[{searchVisibleChangeHandler:0}]}}};i.style=".topnav{position:fixed;top:0;left:0;width:100%;z-index:var(--sfe-stack-level-navs);background:var(--sfe-color-fill-surface)}.topnav__content{border-bottom:0.8px solid var(--sfe-color-border-neutral-light);display:flex;padding:var(--sfe-sizing-gap-mid) var(--sfe-sizing-padding-large);justify-content:space-between;align-items:center;margin-inline:auto;height:var(--sfe-sizing-size-640, 64px);max-width:var(--max-width)}.topnav__links{transition:opacity 0.3s ease}.topnav__role-liner{display:flex;align-items:center}.topnav__left,.topnav__search-container,.topnav__right{display:flex;align-items:center}.topnav__left .topnav__brand{max-height:40px;overflow:hidden;width:auto;display:inline-block}.topnav__left .topnav__brand svg{width:auto;height:100%}.topnav__left .topnav__links{display:flex;margin-left:26px}.topnav__search-container{transition:opacity 0.3s ease, transform 0.3s ease;position:relative;justify-content:center;width:40%}.topnav__search-container .search-list{position:relative}.topnav__right{padding:0 24px 0 8px;justify-content:center;align-items:center}.topnav__right .topnav__search-icon,.topnav__right .topnav__role-switch,.topnav__right .topnav__notification,.topnav__right .topnav__avatar{margin:0 12px}.topnav__right .topnav__notification{position:relative}.topnav__right .topnav__notification .alert-btn .notify{position:absolute;right:13px;top:3px}.topnav__right .topnav__notification .topnav__notification-list{position:relative}.topnav__right .topnav__avatar{align-items:center}.w-40{width:36vw}.fade-leave-to{opacity:0}.fade-enter{opacity:1}.slide-fade-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-enter-from{transform:translateY(0);opacity:1}";export{i as swc_top_nav}
@@ -1 +1 @@
1
- import{r as e,h as s,H as t}from"./p-CUS2AmqM.js";const i=class{constructor(s){e(this,s)}round=!1;size="50px";height="20px";width="100%";borderRadius="var(--sfe-sizing-radius-large, 12px)";testId="";DEFAULT_PROPS_VALUE={size:"50px",height:"20px",width:"100%",borderRadius:"var(--sfe-sizing-radius-large, 12px)"};isValidSize(e){return/^(auto|(\d+(\.\d+)?(px|em|rem|%)))$/.test(e)}get validatedSize(){return this.isValidSize(this.size)?this.size:this.DEFAULT_PROPS_VALUE.size}get validatedWidth(){return this.isValidSize(this.width)?this.width:this.DEFAULT_PROPS_VALUE.width}get validatedHeight(){return this.isValidSize(this.height)?this.height:this.DEFAULT_PROPS_VALUE.height}get validatedBorderRadius(){return this.isValidSize(this.borderRadius)?this.borderRadius:this.DEFAULT_PROPS_VALUE.borderRadius}get shimmerStyleProps(){return{width:this.round?this.validatedSize:this.validatedWidth,height:this.round?this.validatedSize:this.validatedHeight,borderRadius:this.round?"50%":this.validatedBorderRadius}}render(){return s(t,{key:"2f54ffed6da20a90bafefa4e4a15f00d91ddc11a"},s("div",{key:"4ba7b96c27f044fc82e1daa9fdfda1cb89675756",class:"skeleton-loader","data-testid":`swc-skeleton-${this.testId}`},s("div",{key:"e2c5bc95cc247e788b65eb7ea18fda085c7c6929",class:"skeleton-item","aria-hidden":"true",style:{...this.shimmerStyleProps}})))}};i.style=".sc-swc-skeleton-h .skeleton-loader.sc-swc-skeleton{display:flex;gap:10px}.sc-swc-skeleton-h .skeleton-loader.sc-swc-skeleton .skeleton-item.sc-swc-skeleton{background-color:var(--sfe-color-fill-neutral-subtle, #eaedf0);animation:shimmer 2s infinite;transition:opacity 0.3s ease-in-out}@keyframes shimmer{0%{opacity:1}50%{opacity:0.3}100%{opacity:1}}";export{i as swc_skeleton}
1
+ import{r as e,h as s,H as t}from"./p-_XYgBHWR.js";const i=class{constructor(s){e(this,s)}round=!1;size="50px";height="20px";width="100%";borderRadius="var(--sfe-sizing-radius-large, 12px)";testId="";DEFAULT_PROPS_VALUE={size:"50px",height:"20px",width:"100%",borderRadius:"var(--sfe-sizing-radius-large, 12px)"};isValidSize(e){return/^(auto|(\d+(\.\d+)?(px|em|rem|%)))$/.test(e)}get validatedSize(){return this.isValidSize(this.size)?this.size:this.DEFAULT_PROPS_VALUE.size}get validatedWidth(){return this.isValidSize(this.width)?this.width:this.DEFAULT_PROPS_VALUE.width}get validatedHeight(){return this.isValidSize(this.height)?this.height:this.DEFAULT_PROPS_VALUE.height}get validatedBorderRadius(){return this.isValidSize(this.borderRadius)?this.borderRadius:this.DEFAULT_PROPS_VALUE.borderRadius}get shimmerStyleProps(){return{width:this.round?this.validatedSize:this.validatedWidth,height:this.round?this.validatedSize:this.validatedHeight,borderRadius:this.round?"50%":this.validatedBorderRadius}}render(){return s(t,{key:"2f54ffed6da20a90bafefa4e4a15f00d91ddc11a"},s("div",{key:"4ba7b96c27f044fc82e1daa9fdfda1cb89675756",class:"skeleton-loader","data-testid":`swc-skeleton-${this.testId}`},s("div",{key:"e2c5bc95cc247e788b65eb7ea18fda085c7c6929",class:"skeleton-item","aria-hidden":"true",style:{...this.shimmerStyleProps}})))}};i.style=".sc-swc-skeleton-h .skeleton-loader.sc-swc-skeleton{display:flex;gap:10px}.sc-swc-skeleton-h .skeleton-loader.sc-swc-skeleton .skeleton-item.sc-swc-skeleton{background-color:var(--sfe-color-fill-neutral-subtle, #eaedf0);animation:shimmer 2s infinite;transition:opacity 0.3s ease-in-out}@keyframes shimmer{0%{opacity:1}50%{opacity:0.3}100%{opacity:1}}";export{i as swc_skeleton}
@@ -1 +1 @@
1
- import{r as e,d as s,h as t}from"./p-CUS2AmqM.js";const i=class{constructor(t){e(this,t),this.viewPrevious=s(this,"viewPrevious",7),this.viewNext=s(this,"viewNext",7),this.dismissTour=s(this,"dismissTour",7),this.endTour=s(this,"endTour",7)}heading;content;dismissible=!1;hasPrevious=!1;hasNext=!1;isLastStep=!1;currentIndex=0;numberOfSteps=1;startTour=!1;variant;testId="";viewPrevious;viewNext;dismissTour;endTour;handleDismissTour=()=>{this.dismissTour.emit()};handleNext=()=>{this.viewNext.emit()};handlePrevious=()=>{this.viewPrevious.emit()};handleEndTour=()=>{this.endTour.emit()};render(){return this.startTour&&t("div",{key:"e27322d85134944e25c5d05ab95e2916f1c40399",class:{[`sfe-tour-guide-step sfe-tour-guide-step--${this.variant}`]:!0},"data-testid":`swc-tour-guide-step-${this.testId}`},t("div",{key:"89beda0ce5d470946e1e8719175aded4939108a5",class:"flex-wrapper"},t("p",{key:"8072c923880a0a2047eaff3942fb2bcb143d7b40",class:"sfe-tour-guide-step__title m-0",innerHTML:this.heading}),t("swc-icon-button",{key:"855f0cf8b715efc6e71ff2ee5961568dbf067c71","v-if":"dismissible","aria-label":"dismiss tour",intent:"light"===this.variant?"neutral":"inverse",variant:"bare",size:"sm",round:!0,onClick:this.handleDismissTour},t("swc-svg-icon",{key:"574481d789df8046da8aa83a517e9a76ed53ab18",name:"Dismiss",color:"currentColor",size:"12"}))),t("div",{key:"194d1a1a05481b12e5950c1b841335c456338204",class:"sfe-tour-guide-step__content",innerHTML:this.content}),t("div",{key:"0cbfb23734e524902650368e2573c5bf8afab5ee",class:"flex-wrapper col-gap-10"},t("p",{key:"d277077e6fe895efdf1567eb57c50dd44bb9e5e1",class:"sfe-tour-guide-step__steps-info m-0"},this.currentIndex+1," of ",this.numberOfSteps),t("div",{key:"5d38c2a465fc472e5fc08b44ca3e42fac257f7ca"},this.hasPrevious&&t("swc-button",{key:"9f20cc678ed3bb5809636b90ca5aa8a7dc8c2d69",intent:"light"===this.variant?"brand":"inverse",variant:"bare",size:"xs",class:"sfe-tour-guide-step__back-btn",onClick:this.handlePrevious},"Back"),this.hasNext&&t("swc-button",{key:"460b925732e4b8958b35f85609fd455bb8bdc3e6",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleNext},"Next"),this.isLastStep&&t("swc-button",{key:"dd094e2da9685e5bfc8b614dd4f39e4568ed3013",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleEndTour},"Done"))))}};i.style=".sc-swc-tour-guide-step-h .sfe-tour-guide-step__title.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:14px;font-style:normal;font-weight:500;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__content.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:12px;font-style:normal;font-weight:400;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__back-btn.sc-swc-tour-guide-step{margin-inline-end:4px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 12px);font-style:normal;font-weight:400;line-height:14px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-muted, rgba(0, 0, 0, 0.5))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--color-text-inverted-weakest, rgba(255, 255, 255, 0.5))}.sc-swc-tour-guide-step-h .flex-wrapper.sc-swc-tour-guide-step{width:100%;display:flex;justify-content:space-between;align-items:center}.sc-swc-tour-guide-step-h .col-gap-10.sc-swc-tour-guide-step{column-gap:10px}.sc-swc-tour-guide-step-h .m-0.sc-swc-tour-guide-step{margin:0}";export{i as swc_tour_guide_step}
1
+ import{r as e,d as s,h as t}from"./p-_XYgBHWR.js";const i=class{constructor(t){e(this,t),this.viewPrevious=s(this,"viewPrevious",7),this.viewNext=s(this,"viewNext",7),this.dismissTour=s(this,"dismissTour",7),this.endTour=s(this,"endTour",7)}heading;content;dismissible=!1;hasPrevious=!1;hasNext=!1;isLastStep=!1;currentIndex=0;numberOfSteps=1;startTour=!1;variant;testId="";viewPrevious;viewNext;dismissTour;endTour;handleDismissTour=()=>{this.dismissTour.emit()};handleNext=()=>{this.viewNext.emit()};handlePrevious=()=>{this.viewPrevious.emit()};handleEndTour=()=>{this.endTour.emit()};render(){return this.startTour&&t("div",{key:"e27322d85134944e25c5d05ab95e2916f1c40399",class:{[`sfe-tour-guide-step sfe-tour-guide-step--${this.variant}`]:!0},"data-testid":`swc-tour-guide-step-${this.testId}`},t("div",{key:"89beda0ce5d470946e1e8719175aded4939108a5",class:"flex-wrapper"},t("p",{key:"8072c923880a0a2047eaff3942fb2bcb143d7b40",class:"sfe-tour-guide-step__title m-0",innerHTML:this.heading}),t("swc-icon-button",{key:"855f0cf8b715efc6e71ff2ee5961568dbf067c71","v-if":"dismissible","aria-label":"dismiss tour",intent:"light"===this.variant?"neutral":"inverse",variant:"bare",size:"sm",round:!0,onClick:this.handleDismissTour},t("swc-svg-icon",{key:"574481d789df8046da8aa83a517e9a76ed53ab18",name:"Dismiss",color:"currentColor",size:"12"}))),t("div",{key:"194d1a1a05481b12e5950c1b841335c456338204",class:"sfe-tour-guide-step__content",innerHTML:this.content}),t("div",{key:"0cbfb23734e524902650368e2573c5bf8afab5ee",class:"flex-wrapper col-gap-10"},t("p",{key:"d277077e6fe895efdf1567eb57c50dd44bb9e5e1",class:"sfe-tour-guide-step__steps-info m-0"},this.currentIndex+1," of ",this.numberOfSteps),t("div",{key:"5d38c2a465fc472e5fc08b44ca3e42fac257f7ca"},this.hasPrevious&&t("swc-button",{key:"9f20cc678ed3bb5809636b90ca5aa8a7dc8c2d69",intent:"light"===this.variant?"brand":"inverse",variant:"bare",size:"xs",class:"sfe-tour-guide-step__back-btn",onClick:this.handlePrevious},"Back"),this.hasNext&&t("swc-button",{key:"460b925732e4b8958b35f85609fd455bb8bdc3e6",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleNext},"Next"),this.isLastStep&&t("swc-button",{key:"dd094e2da9685e5bfc8b614dd4f39e4568ed3013",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleEndTour},"Done"))))}};i.style=".sc-swc-tour-guide-step-h .sfe-tour-guide-step__title.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:14px;font-style:normal;font-weight:500;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__content.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:12px;font-style:normal;font-weight:400;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__back-btn.sc-swc-tour-guide-step{margin-inline-end:4px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 12px);font-style:normal;font-weight:400;line-height:14px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-muted, rgba(0, 0, 0, 0.5))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--color-text-inverted-weakest, rgba(255, 255, 255, 0.5))}.sc-swc-tour-guide-step-h .flex-wrapper.sc-swc-tour-guide-step{width:100%;display:flex;justify-content:space-between;align-items:center}.sc-swc-tour-guide-step-h .col-gap-10.sc-swc-tour-guide-step{column-gap:10px}.sc-swc-tour-guide-step-h .m-0.sc-swc-tour-guide-step{margin:0}";export{i as swc_tour_guide_step}
@@ -1 +1 @@
1
- import{r as e,d as s,e as r,h as o,H as a}from"./p-CUS2AmqM.js";const t="solid",i={info:{icon:"Error Circle",subtle:{iconColor:"var(--sfe-color-icon-info-secondary)"}},error:{icon:"Warning",subtle:{iconColor:"var(--sfe-color-icon-critical-secondary)"}},success:{icon:"Checkmark Circle",subtle:{iconColor:"var(--sfe-color-icon-positive-secondary)"}},warning:{icon:"Error Circle",subtle:{iconColor:"var(--sfe-color-icon-warning-secondary)"}}},l=class{constructor(r){e(this,r),this.alertDismissed=s(this,"alertDismissed",7)}get hostElement(){return r(this)}message="Display the message here";intent=t;variant="info";position="top";isVisible=!1;iconButtonAriaLabel="Dismiss alert";alertDismissed;alertIcon={};dismissIconColor=this.computeDismissIconColor();handlePropChange(){this.alertIcon=this.computeAlertIcon(),this.dismissIconColor=this.computeDismissIconColor()}async show(){return this.isVisible=!0,Promise.resolve()}async hide(){return this.isVisible=!1,this.alertDismissed.emit(),Promise.resolve()}computeAlertIcon(){return{name:i[this.variant].icon,color:this.intent===t?"var(--sfe-color-icon-default-inverted-secondary)":i[this.variant][this.intent].iconColor,variant:this.intent===t?"outline":"filled"}}computeDismissIconColor(){return this.intent===t?"var(--sfe-color-icon-default-inverted-secondary)":"var(--sfe-color-icon-default-primary)"}dismissAlert=()=>this.hide();componentWillLoad(){this.handlePropChange()}render(){return o(a,{key:"9717a841efbdb59aacfbe6cbae6085852c9212ef"},this.isVisible&&o("div",{key:"5687d5bc302902fb6b5d92b974325e3d5a5dc041",role:"alert",class:`sfe-alert ${this.variant} ${this.intent} ${this.position}`,"aria-labelledby":"sfe-alert__display-text-id","data-testid":"sfe-alert"},o("div",{key:"43fa23b3e41289f02caa35b9ef1c5f02ed21574c",class:"sfe-alert__message-group"},o("swc-svg-icon",{key:"591752876c9245ee8c5f84e4cf62e13c58afc7ad",name:this.alertIcon?.name,variant:"filled",size:"16",color:this.alertIcon?.color}),o("p",{key:"68d578a9277fe5ed22f44737f7aaebaa709b5e4f",class:"sfe-alert__display-text",id:"sfe-alert__display-text-id"},this.message)),o("div",{key:"8489f4215dde7c1ee967d688b6af34e4634633e7",class:"sfe-alert__icon-group",onClick:this.dismissAlert},o("swc-button",{key:"858bd60ef365e44d5a50aa9b65df6a3c93240115",intent:"neutral",variant:"bare","aria-label":this.iconButtonAriaLabel},o("swc-svg-icon",{key:"dee2f2e84fdb4f4d653cfaa4974d703bb36782d1",name:"Dismiss",variant:"filled",size:"16",color:this.dismissIconColor})))))}};l.style='.sc-swc-alert-h{display:block}.sfe-alert.sc-swc-alert{display:flex;position:fixed;z-index:var(--sfe-stack-level-alert);justify-content:space-between;width:100%;border-radius:var(--sfe-sizing-radius-xsmall);padding:var(--sfe-sizing-padding-mid)}.sfe-alert.top.sc-swc-alert{top:0;left:0}.sfe-alert.bottom.sc-swc-alert{bottom:0;left:0}.sfe-alert__icon-group.sc-swc-alert{position:relative;cursor:pointer}.sfe-alert__icon-group.sc-swc-alert:hover::after{content:"";position:absolute;inset:0;border-radius:var(--sfe-sizing-radius-default, 8px);background-color:transparent;z-index:0}.sfe-alert.solid.sc-swc-alert{color:var(--sfe-color-text-default-inverted-primary)}.sfe-alert.solid.info.sc-swc-alert{background-color:var(--sfe-color-fill-info-solid)}.sfe-alert.solid.error.sc-swc-alert{background-color:var(--sfe-color-fill-critical-solid)}.sfe-alert.solid.success.sc-swc-alert{background-color:var(--sfe-color-fill-positive-solid)}.sfe-alert.solid.warning.sc-swc-alert{background-color:var(--sfe-color-fill-warning-solid)}.sfe-alert.subtle.sc-swc-alert{color:var(--sfe-color-text-default-primary)}.sfe-alert.subtle.info.sc-swc-alert{background-color:var(--sfe-color-fill-info-lightest);border-top:2px solid var(--sfe-color-border-info-solid)}.sfe-alert.subtle.error.sc-swc-alert{background-color:var(--sfe-color-fill-critical-lightest);border-top:2px solid var(--sfe-color-border-critical-solid)}.sfe-alert.subtle.success.sc-swc-alert{background-color:var(--sfe-color-fill-positive-lightest);border-top:2px solid var(--sfe-color-border-positive-solid)}.sfe-alert.subtle.warning.sc-swc-alert{background-color:var(--sfe-color-fill-warning-lightest);border-top:2px solid var(--sfe-color-border-warning-solid)}.sfe-alert__display-text.sc-swc-alert{margin:0;margin-left:4px;font-size:14px;font-weight:400}.sfe-alert__message-group.sc-swc-alert{display:flex;align-items:center}.shr-alert-enter-active.sc-swc-alert-h,.shr-alert-leave-active.sc-swc-alert-h{transition:opacity 0.5s ease}.shr-alert-enter.sc-swc-alert-h,.shr-alert-leave-to.sc-swc-alert-h{opacity:0}';export{l as swc_alert}
1
+ import{r as e,d as s,e as r,h as o,H as a}from"./p-_XYgBHWR.js";const t="solid",i={info:{icon:"Error Circle",subtle:{iconColor:"var(--sfe-color-icon-info-secondary)"}},error:{icon:"Warning",subtle:{iconColor:"var(--sfe-color-icon-critical-secondary)"}},success:{icon:"Checkmark Circle",subtle:{iconColor:"var(--sfe-color-icon-positive-secondary)"}},warning:{icon:"Error Circle",subtle:{iconColor:"var(--sfe-color-icon-warning-secondary)"}}},l=class{constructor(r){e(this,r),this.alertDismissed=s(this,"alertDismissed",7)}get hostElement(){return r(this)}message="Display the message here";intent=t;variant="info";position="top";isVisible=!1;iconButtonAriaLabel="Dismiss alert";alertDismissed;alertIcon={};dismissIconColor=this.computeDismissIconColor();handlePropChange(){this.alertIcon=this.computeAlertIcon(),this.dismissIconColor=this.computeDismissIconColor()}async show(){return this.isVisible=!0,Promise.resolve()}async hide(){return this.isVisible=!1,this.alertDismissed.emit(),Promise.resolve()}computeAlertIcon(){return{name:i[this.variant].icon,color:this.intent===t?"var(--sfe-color-icon-default-inverted-secondary)":i[this.variant][this.intent].iconColor,variant:this.intent===t?"outline":"filled"}}computeDismissIconColor(){return this.intent===t?"var(--sfe-color-icon-default-inverted-secondary)":"var(--sfe-color-icon-default-primary)"}dismissAlert=()=>this.hide();componentWillLoad(){this.handlePropChange()}render(){return o(a,{key:"9717a841efbdb59aacfbe6cbae6085852c9212ef"},this.isVisible&&o("div",{key:"5687d5bc302902fb6b5d92b974325e3d5a5dc041",role:"alert",class:`sfe-alert ${this.variant} ${this.intent} ${this.position}`,"aria-labelledby":"sfe-alert__display-text-id","data-testid":"sfe-alert"},o("div",{key:"43fa23b3e41289f02caa35b9ef1c5f02ed21574c",class:"sfe-alert__message-group"},o("swc-svg-icon",{key:"591752876c9245ee8c5f84e4cf62e13c58afc7ad",name:this.alertIcon?.name,variant:"filled",size:"16",color:this.alertIcon?.color}),o("p",{key:"68d578a9277fe5ed22f44737f7aaebaa709b5e4f",class:"sfe-alert__display-text",id:"sfe-alert__display-text-id"},this.message)),o("div",{key:"8489f4215dde7c1ee967d688b6af34e4634633e7",class:"sfe-alert__icon-group",onClick:this.dismissAlert},o("swc-button",{key:"858bd60ef365e44d5a50aa9b65df6a3c93240115",intent:"neutral",variant:"bare","aria-label":this.iconButtonAriaLabel},o("swc-svg-icon",{key:"dee2f2e84fdb4f4d653cfaa4974d703bb36782d1",name:"Dismiss",variant:"filled",size:"16",color:this.dismissIconColor})))))}};l.style='.sc-swc-alert-h{display:block}.sfe-alert.sc-swc-alert{display:flex;position:fixed;z-index:var(--sfe-stack-level-alert);justify-content:space-between;width:100%;border-radius:var(--sfe-sizing-radius-xsmall);padding:var(--sfe-sizing-padding-mid)}.sfe-alert.top.sc-swc-alert{top:0;left:0}.sfe-alert.bottom.sc-swc-alert{bottom:0;left:0}.sfe-alert__icon-group.sc-swc-alert{position:relative;cursor:pointer}.sfe-alert__icon-group.sc-swc-alert:hover::after{content:"";position:absolute;inset:0;border-radius:var(--sfe-sizing-radius-default, 8px);background-color:transparent;z-index:0}.sfe-alert.solid.sc-swc-alert{color:var(--sfe-color-text-default-inverted-primary)}.sfe-alert.solid.info.sc-swc-alert{background-color:var(--sfe-color-fill-info-solid)}.sfe-alert.solid.error.sc-swc-alert{background-color:var(--sfe-color-fill-critical-solid)}.sfe-alert.solid.success.sc-swc-alert{background-color:var(--sfe-color-fill-positive-solid)}.sfe-alert.solid.warning.sc-swc-alert{background-color:var(--sfe-color-fill-warning-solid)}.sfe-alert.subtle.sc-swc-alert{color:var(--sfe-color-text-default-primary)}.sfe-alert.subtle.info.sc-swc-alert{background-color:var(--sfe-color-fill-info-lightest);border-top:2px solid var(--sfe-color-border-info-solid)}.sfe-alert.subtle.error.sc-swc-alert{background-color:var(--sfe-color-fill-critical-lightest);border-top:2px solid var(--sfe-color-border-critical-solid)}.sfe-alert.subtle.success.sc-swc-alert{background-color:var(--sfe-color-fill-positive-lightest);border-top:2px solid var(--sfe-color-border-positive-solid)}.sfe-alert.subtle.warning.sc-swc-alert{background-color:var(--sfe-color-fill-warning-lightest);border-top:2px solid var(--sfe-color-border-warning-solid)}.sfe-alert__display-text.sc-swc-alert{margin:0;margin-left:4px;font-size:14px;font-weight:400}.sfe-alert__message-group.sc-swc-alert{display:flex;align-items:center}.shr-alert-enter-active.sc-swc-alert-h,.shr-alert-leave-active.sc-swc-alert-h{transition:opacity 0.5s ease}.shr-alert-enter.sc-swc-alert-h,.shr-alert-leave-to.sc-swc-alert-h{opacity:0}';export{l as swc_alert}
@@ -1 +1 @@
1
- import{r as t,d as e,e as i,h as o}from"./p-CUS2AmqM.js";import{t as r}from"./p-DQNvkMYd.js";const a=class{constructor(i){t(this,i),this.viewPrevious=e(this,"viewPrevious",7),this.viewNext=e(this,"viewNext",7),this.dismissTour=e(this,"dismissTour",7),this.endTour=e(this,"endTour",7)}get hostElement(){return i(this)}startTour=!1;dismissible=!0;useModalOverlay=!0;useHighlightSteps=!0;showArrow=!0;variant="light";steps=[];testId="";viewPrevious;viewNext;dismissTour;endTour;instance;currentIndex=0;activeNode;contentRef;get currentStep(){return this.steps[this.currentIndex]}get hasPrevious(){return this.steps.length>1&&this.currentIndex>0}get hasNext(){return this.steps.length>1&&this.currentIndex<this.steps.length-1}viewPreviousStep=()=>{this.currentIndex-=1,this.viewPrevious.emit(),this.removeHighlight(),this.reInitialize()};viewNextStep=()=>{this.currentIndex+=1,this.viewNext.emit(),this.removeHighlight(),this.reInitialize()};handleDismissTour=()=>{this.dismissTour.emit()};handleEndTour=()=>{this.endTour.emit()};hideTour=()=>{this.instance[0].hide(),this.instance[0].unmount(),this.currentIndex=0,this.removeHighlight()};getAllParentElements=()=>{if(!this.activeNode)return[];let t=this.activeNode;const e=[];for(;t.parentNode;)t=t.parentNode,1===t.nodeType&&e.push(t);return e};reInitialize=()=>{this.instance[0].hide(),this.init(),this.instance[0].show(),this.activeNode=document.querySelector(`${this.currentStep.cssSelector}`),this.activeNode&&this.activeNode.scrollIntoView({behavior:"smooth",block:"center"}),this.useHighlightSteps&&this.highlightStep()};highlightStep=()=>{if(!this.activeNode)return;this.activeNode.style.position||(this.activeNode.style.position="relative"),this.activeNode.style.backgroundColor||this.activeNode.classList.add("sfe-active-tour-step-bg"),this.activeNode.classList.add("sfe-active-tour-step");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.add("sfe-no-z-index")};removeHighlight=()=>{if(this.activeNode&&this.useHighlightSteps){this.activeNode.classList.remove("sfe-active-tour-step"),this.activeNode.classList.remove("sfe-active-tour-step-bg");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.remove("sfe-no-z-index")}};startTourHandler(t){t?this.reInitialize():this.hideTour()}init=()=>{this.instance=r(this.hostElement.querySelector(`${this.currentStep.cssSelector}`),{theme:this.variant,content:this.contentRef,animation:"shift-toward",placement:this.currentStep.position||"bottom",allowHTML:!0,trigger:"manual",hideOnClick:!1,arrow:this.showArrow,interactive:!0,role:"dialog",maxWidth:"none",appendTo:document.body,duration:[300,0],zIndex:100099})};componentDidLoad(){this.init()}disconnectedCallback(){this.instance[0].unmount()}render(){return o("div",{key:"1566ac444056d48725e56d40cca95ae5476eedca",class:"tour-guide-item-backdrop","data-show":this.useModalOverlay&&this.startTour?"true":"false","data-testid":`swc-tour-guide-${this.testId}`},o("div",{key:"f1fa69af9fe3b769f2d79b38a82c4a2aab5e56c0",ref:t=>this.contentRef=t,"aria-live":"polite"},o("swc-tour-guide-step",{key:"15a79047994cbe1a6ba96d39c84f447aa0d62b20",heading:this.currentStep.title,content:this.currentStep.content,hasPrevious:this.hasPrevious,hasNext:this.hasNext,isLastStep:this.currentIndex===this.steps.length-1,currentIndex:this.currentIndex,numberOfSteps:this.steps.length,variant:this.variant,startTour:this.startTour,dismissible:this.dismissible,onViewPrevious:this.viewPreviousStep,onViewNext:this.viewNextStep,onDismissTour:this.handleDismissTour,onEndTour:this.handleEndTour})))}static get watchers(){return{startTour:[{startTourHandler:0}]}}};a.style='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box{border:1px transparent}.tippy-box[data-placement^=top]>.tippy-arrow:after{border-top-color:inherit;border-width:8px 8px 0;bottom:-8px;left:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:inherit;border-width:0 8px 8px;top:-8px;left:0}.tippy-box[data-placement^=left]>.tippy-arrow:after{border-left-color:inherit;border-width:8px 0 8px 8px;right:-8px;top:0}.tippy-box[data-placement^=right]>.tippy-arrow:after{border-width:8px 8px 8px 0;left:-8px;top:0;border-right-color:inherit}.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg:first-child:not(:last-child){top:17px}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg:first-child:not(:last-child){bottom:17px}.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg:first-child:not(:last-child){left:12px}.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg:first-child:not(:last-child){right:12px}.tippy-arrow{border-color:inherit}.tippy-arrow:after{content:"";z-index:-1;position:absolute;border-color:transparent;border-style:solid}.tippy-box[data-animation=shift-toward][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top]{transform:translateY(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom]{transform:translateY(10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left]{transform:translateX(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right]{transform:translateX(10px)}.tour-guide-item-backdrop[data-show=true]{position:fixed;min-height:100vh;width:100%;background:rgba(4, 22, 40, 0.25);top:-20px;bottom:0;left:0;z-index:var(--sfe-stack-level-modals, 99999)}.tippy-box[data-theme~=light]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip, #fff);color:rgba(0, 0, 0, 0.8);border:1px solid var(--sfe-banner-color-border-tooltip, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:white}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:white}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:white}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:white}.tippy-box[data-theme~=brand]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95));border:1px solid var(--sfe-banner-color-border-tooltip-dark, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=brand][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.sfe-active-tour-step{z-index:var(--sfe-stack-level-modals, 99999);padding-block:10px;padding-inline:15px;border-radius:10px;pointer-events:none}.sfe-active-tour-step-bg{background-color:#fff}.sfe-no-z-index{z-index:auto !important}';export{a as swc_tour_guide}
1
+ import{r as t,d as e,e as i,h as o}from"./p-_XYgBHWR.js";import{t as r}from"./p-DQNvkMYd.js";const a=class{constructor(i){t(this,i),this.viewPrevious=e(this,"viewPrevious",7),this.viewNext=e(this,"viewNext",7),this.dismissTour=e(this,"dismissTour",7),this.endTour=e(this,"endTour",7)}get hostElement(){return i(this)}startTour=!1;dismissible=!0;useModalOverlay=!0;useHighlightSteps=!0;showArrow=!0;variant="light";steps=[];testId="";viewPrevious;viewNext;dismissTour;endTour;instance;currentIndex=0;activeNode;contentRef;get currentStep(){return this.steps[this.currentIndex]}get hasPrevious(){return this.steps.length>1&&this.currentIndex>0}get hasNext(){return this.steps.length>1&&this.currentIndex<this.steps.length-1}viewPreviousStep=()=>{this.currentIndex-=1,this.viewPrevious.emit(),this.removeHighlight(),this.reInitialize()};viewNextStep=()=>{this.currentIndex+=1,this.viewNext.emit(),this.removeHighlight(),this.reInitialize()};handleDismissTour=()=>{this.dismissTour.emit()};handleEndTour=()=>{this.endTour.emit()};hideTour=()=>{this.instance[0].hide(),this.instance[0].unmount(),this.currentIndex=0,this.removeHighlight()};getAllParentElements=()=>{if(!this.activeNode)return[];let t=this.activeNode;const e=[];for(;t.parentNode;)t=t.parentNode,1===t.nodeType&&e.push(t);return e};reInitialize=()=>{this.instance[0].hide(),this.init(),this.instance[0].show(),this.activeNode=document.querySelector(`${this.currentStep.cssSelector}`),this.activeNode&&this.activeNode.scrollIntoView({behavior:"smooth",block:"center"}),this.useHighlightSteps&&this.highlightStep()};highlightStep=()=>{if(!this.activeNode)return;this.activeNode.style.position||(this.activeNode.style.position="relative"),this.activeNode.style.backgroundColor||this.activeNode.classList.add("sfe-active-tour-step-bg"),this.activeNode.classList.add("sfe-active-tour-step");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.add("sfe-no-z-index")};removeHighlight=()=>{if(this.activeNode&&this.useHighlightSteps){this.activeNode.classList.remove("sfe-active-tour-step"),this.activeNode.classList.remove("sfe-active-tour-step-bg");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.remove("sfe-no-z-index")}};startTourHandler(t){t?this.reInitialize():this.hideTour()}init=()=>{this.instance=r(this.hostElement.querySelector(`${this.currentStep.cssSelector}`),{theme:this.variant,content:this.contentRef,animation:"shift-toward",placement:this.currentStep.position||"bottom",allowHTML:!0,trigger:"manual",hideOnClick:!1,arrow:this.showArrow,interactive:!0,role:"dialog",maxWidth:"none",appendTo:document.body,duration:[300,0],zIndex:100099})};componentDidLoad(){this.init()}disconnectedCallback(){this.instance[0].unmount()}render(){return o("div",{key:"1566ac444056d48725e56d40cca95ae5476eedca",class:"tour-guide-item-backdrop","data-show":this.useModalOverlay&&this.startTour?"true":"false","data-testid":`swc-tour-guide-${this.testId}`},o("div",{key:"f1fa69af9fe3b769f2d79b38a82c4a2aab5e56c0",ref:t=>this.contentRef=t,"aria-live":"polite"},o("swc-tour-guide-step",{key:"15a79047994cbe1a6ba96d39c84f447aa0d62b20",heading:this.currentStep.title,content:this.currentStep.content,hasPrevious:this.hasPrevious,hasNext:this.hasNext,isLastStep:this.currentIndex===this.steps.length-1,currentIndex:this.currentIndex,numberOfSteps:this.steps.length,variant:this.variant,startTour:this.startTour,dismissible:this.dismissible,onViewPrevious:this.viewPreviousStep,onViewNext:this.viewNextStep,onDismissTour:this.handleDismissTour,onEndTour:this.handleEndTour})))}static get watchers(){return{startTour:[{startTourHandler:0}]}}};a.style='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box{border:1px transparent}.tippy-box[data-placement^=top]>.tippy-arrow:after{border-top-color:inherit;border-width:8px 8px 0;bottom:-8px;left:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:inherit;border-width:0 8px 8px;top:-8px;left:0}.tippy-box[data-placement^=left]>.tippy-arrow:after{border-left-color:inherit;border-width:8px 0 8px 8px;right:-8px;top:0}.tippy-box[data-placement^=right]>.tippy-arrow:after{border-width:8px 8px 8px 0;left:-8px;top:0;border-right-color:inherit}.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg:first-child:not(:last-child){top:17px}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg:first-child:not(:last-child){bottom:17px}.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg:first-child:not(:last-child){left:12px}.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg:first-child:not(:last-child){right:12px}.tippy-arrow{border-color:inherit}.tippy-arrow:after{content:"";z-index:-1;position:absolute;border-color:transparent;border-style:solid}.tippy-box[data-animation=shift-toward][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top]{transform:translateY(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom]{transform:translateY(10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left]{transform:translateX(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right]{transform:translateX(10px)}.tour-guide-item-backdrop[data-show=true]{position:fixed;min-height:100vh;width:100%;background:rgba(4, 22, 40, 0.25);top:-20px;bottom:0;left:0;z-index:var(--sfe-stack-level-modals, 99999)}.tippy-box[data-theme~=light]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip, #fff);color:rgba(0, 0, 0, 0.8);border:1px solid var(--sfe-banner-color-border-tooltip, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:white}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:white}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:white}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:white}.tippy-box[data-theme~=brand]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95));border:1px solid var(--sfe-banner-color-border-tooltip-dark, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=brand][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.sfe-active-tour-step{z-index:var(--sfe-stack-level-modals, 99999);padding-block:10px;padding-inline:15px;border-radius:10px;pointer-events:none}.sfe-active-tour-step-bg{background-color:#fff}.sfe-no-z-index{z-index:auto !important}';export{a as swc_tour_guide}
@@ -1 +1 @@
1
- import{r as t,h as s}from"./p-CUS2AmqM.js";const o={info:{titleColor:"var(--sfe-color-text-info-strong, #004CA6)",borderLeftColor:"var(--sfe-color-border-info-solid, #004CA6)",subtleBgColor:"var(--sfe-color-fill-info-lightest, #E4EDFC)",icon:"Info",iconColor:"#004CA6"},error:{titleColor:"var(--sfe-color-text-critical-strong, #A22827)",borderLeftColor:"var(--sfe-color-border-critical-solid, #A22827)",subtleBgColor:"var(--sfe-color-fill-critical-lightest, #FCF4F4)",icon:"Warning",iconColor:"#821C1C"},success:{titleColor:"var(--sfe-color-text-positive-strong, #135216)",borderLeftColor:"var(--sfe-color-border-positive-solid, #1D7F22)",subtleBgColor:"var(--sfe-color-fill-positive-lightest, #F4FBF4)",icon:"Checkmark Circle",iconColor:"#135216"},warning:{titleColor:"var(--sfe-color-text-warning-strong, #7A4510)",borderLeftColor:"var(--sfe-color-border-warning-solid, #FEB872)",subtleBgColor:"var(--sfe-color-fill-warning-lightest, #FFF5EB)",icon:"Error Circle",iconColor:"#A05C1C"}},a=class{constructor(s){t(this,s)}type="success";position="top-center";_title;message;timeout=5e3;showTitle=!0;dismissible=!0;isVisible=!1;testId="";timeoutId;transitionDuration=300;get resolvedStyle(){const t=o[this.type];return{config:t,styles:{"background-color":this.showTitle?"#FFF":t.subtleBgColor,"inline-size":this.showTitle?"273px":"332px","padding-inline":this.showTitle?"14px":"12px","border-left-width":this.showTitle?"4px":"2px"}}}async showToast(){this.isVisible=!0,this.timeoutId=setTimeout((()=>{this.hideToast()}),this.timeout)}hideToast(){const t=document.querySelector("swc-toast");t&&(t.isVisible=!1,clearTimeout(t.timeoutId),setTimeout((()=>{t.reset(),t.remove()}),this.transitionDuration))}async reset(){this.type="success",this.position="top-center",this._title="",this.message="",this.timeout=5e3,this.showTitle=!0,this.isVisible=!1,this.dismissible=!0}render(){return s("div",{key:"1dfdd34b8562b61e796951200d2bccdfceb1e37b",role:"alert","aria-live":"assertive","aria-labelledby":"shr-toast-title","aria-describedby":"shr-toast-message","data-testid":`swc-toast-${this.testId}`,"data-state":this.isVisible?"showing":"hidden",class:`shr-toast ${this.position}`,style:{"--transition-duration":`${this.transitionDuration}ms`,"--title-color":this.resolvedStyle.config.titleColor,"--message-color":this.showTitle?"var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.80))":"var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95))","--border-left-color":this.resolvedStyle.config.borderLeftColor,...this.resolvedStyle.styles}},this.showTitle&&s("div",{key:"1c3cc6b6cdd89363b639ca0c1a20893b9171e1ab",class:"shr-toast--with-title"},s("div",{key:"885d6a6816f44e2826e840b3f093d7f205d3fafb",class:"d-flex justify-content-between align-items-center mb-1"},s("div",{key:"990f2ad9e5f47c440305e3c78380583a57d6ca72",class:"d-flex align-items-center mr-3"},s("swc-svg-icon",{key:"75d815cd9e3c2a6f0e3eb9a90a891add1bc234f0",name:this.resolvedStyle.config.icon,variant:"filled",color:this.resolvedStyle.config.iconColor,size:"16"}),s("span",{key:"37adb019730a4b0efa1b388e04ff3f93ff97317f",id:"shr-toast-title",class:"shr-toast__title ml-1"}," ",this._title)),this.dismissible&&s("swc-icon-button",{key:"1dcd74ae411056f6bd1c5a7b5659c5fb5cb4bd88",intent:"neutral",variant:"bare",round:!0,"aria-label":"Close toast",onClick:this.hideToast},s("swc-svg-icon",{key:"61e061d22c228966fded0869a6bae997aa20eaa6",name:"Dismiss",size:"16"}))),s("div",{key:"cb23edde24cc69ccd98353ecd8f64e309db9f801",id:"shr-toast-message",class:"shr-toast__message fs-12"}," ",this.message)),!this.showTitle&&s("div",{key:"c94fc37ef7285f5dbbe05898b1653a75a3526e81",class:"shr-toast--without-title"},s("div",{key:"ee299eb4d1e4a40ca1a7a38ac30fe1de0e02dffc",class:"d-flex justify-content-between align-items-center"},s("div",{key:"1addc71b5b71cea71e4ce8e641e516a25963d10b",class:"d-flex align-items-center mr-3"},s("swc-svg-icon",{key:"6a48bff378168782e7a879e6a94349afccec4535",name:this.resolvedStyle.config.icon,variant:"outline",color:this.resolvedStyle.config.iconColor,size:"16"}),s("p",{key:"02df73d2269978f10e7c7bd4b18159f55497ce35",id:"shr-toast-message",class:"m-0 shr-toast__message fs-14 ml-1"},this.message)),this.dismissible&&s("swc-icon-button",{key:"bffd962dfafe04bd942a308051f1b3e22d35c060",intent:"neutral",variant:"bare",round:!0,"aria-label":"Close toast",onClick:this.hideToast},s("swc-svg-icon",{key:"dc633c4d7e7e8b978b09b2f64172e146c202811b",name:"Dismiss",size:"16"})))))}};a.style=".sc-swc-toast-h .d-flex.sc-swc-toast{display:flex}.sc-swc-toast-h .align-items-center.sc-swc-toast{align-items:center}.sc-swc-toast-h .justify-content-center.sc-swc-toast{justify-content:center}.sc-swc-toast-h .justify-content-between.sc-swc-toast{justify-content:space-between}.sc-swc-toast-h .ml-1.sc-swc-toast{margin-inline-start:4px}.sc-swc-toast-h .mr-3.sc-swc-toast{margin-inline-end:12px}.sc-swc-toast-h .mb-1.sc-swc-toast{margin-block-end:4px}.sc-swc-toast-h .shr-toast.sc-swc-toast{position:fixed;z-index:var(--sfe-stack-level-alert);border-radius:4px;border:1px solid rgba(0, 0, 0, 0.1);border-left-style:solid;border-left-color:var(--border-left-color);padding-block:12px;overflow:hidden}.sc-swc-toast-h .shr-toast__message.sc-swc-toast{font-family:var(--sfe-typography-font-serif-font, Sora);font-weight:400;line-height:16px;color:var(--message-color);word-break:break-word}.sc-swc-toast-h .shr-toast--with-title.sc-swc-toast .shr-toast__message.sc-swc-toast{line-height:1.5}.sc-swc-toast-h .shr-toast--without-title.sc-swc-toast .shr-toast__message.sc-swc-toast{line-height:1.75}.sc-swc-toast-h .shr-toast__title.sc-swc-toast{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:14px;font-weight:500;line-height:16px;color:var(--title-color);word-break:break-word}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast{block-size:25px;inline-size:25px;border-radius:50%;border:none;background-color:transparent;transition:background-color 0.2s ease-out}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast:hover{background-color:#f3f3f3}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast .close-icon.sc-swc-toast{color:rgba(0, 0, 0, 0.7)}.sc-swc-toast-h .shr-toast.top-right.sc-swc-toast{top:20px;right:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-right[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(20px)}.sc-swc-toast-h .shr-toast.top-right[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.top-left.sc-swc-toast{top:20px;left:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-left[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(-20px)}.sc-swc-toast-h .shr-toast.top-left[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.top-center.sc-swc-toast{top:20px;left:0;right:0;margin-inline:auto;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-center[data-state=hidden].sc-swc-toast{opacity:0;transform:translateY(-20px)}.sc-swc-toast-h .shr-toast.top-center[data-state=showing].sc-swc-toast{opacity:1;transform:translateY(0)}.sc-swc-toast-h .shr-toast.bottom-right.sc-swc-toast{bottom:20px;right:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-right[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(20px)}.sc-swc-toast-h .shr-toast.bottom-right[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.bottom-left.sc-swc-toast{bottom:20px;left:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-left[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(-20px)}.sc-swc-toast-h .shr-toast.bottom-left[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.bottom-center.sc-swc-toast{bottom:20px;left:0;right:0;margin-inline:auto;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-center[data-state=hidden].sc-swc-toast{opacity:0;transform:translateY(20px)}.sc-swc-toast-h .shr-toast.bottom-center[data-state=showing].sc-swc-toast{opacity:1;transform:translateY(0)}";export{a as swc_toast}
1
+ import{r as t,h as s}from"./p-_XYgBHWR.js";const o={info:{titleColor:"var(--sfe-color-text-info-strong, #004CA6)",borderLeftColor:"var(--sfe-color-border-info-solid, #004CA6)",subtleBgColor:"var(--sfe-color-fill-info-lightest, #E4EDFC)",icon:"Info",iconColor:"#004CA6"},error:{titleColor:"var(--sfe-color-text-critical-strong, #A22827)",borderLeftColor:"var(--sfe-color-border-critical-solid, #A22827)",subtleBgColor:"var(--sfe-color-fill-critical-lightest, #FCF4F4)",icon:"Warning",iconColor:"#821C1C"},success:{titleColor:"var(--sfe-color-text-positive-strong, #135216)",borderLeftColor:"var(--sfe-color-border-positive-solid, #1D7F22)",subtleBgColor:"var(--sfe-color-fill-positive-lightest, #F4FBF4)",icon:"Checkmark Circle",iconColor:"#135216"},warning:{titleColor:"var(--sfe-color-text-warning-strong, #7A4510)",borderLeftColor:"var(--sfe-color-border-warning-solid, #FEB872)",subtleBgColor:"var(--sfe-color-fill-warning-lightest, #FFF5EB)",icon:"Error Circle",iconColor:"#A05C1C"}},a=class{constructor(s){t(this,s)}type="success";position="top-center";_title;message;timeout=5e3;showTitle=!0;dismissible=!0;isVisible=!1;testId="";timeoutId;transitionDuration=300;get resolvedStyle(){const t=o[this.type];return{config:t,styles:{"background-color":this.showTitle?"#FFF":t.subtleBgColor,"inline-size":this.showTitle?"273px":"332px","padding-inline":this.showTitle?"14px":"12px","border-left-width":this.showTitle?"4px":"2px"}}}async showToast(){this.isVisible=!0,this.timeoutId=setTimeout((()=>{this.hideToast()}),this.timeout)}hideToast(){const t=document.querySelector("swc-toast");t&&(t.isVisible=!1,clearTimeout(t.timeoutId),setTimeout((()=>{t.reset(),t.remove()}),this.transitionDuration))}async reset(){this.type="success",this.position="top-center",this._title="",this.message="",this.timeout=5e3,this.showTitle=!0,this.isVisible=!1,this.dismissible=!0}render(){return s("div",{key:"1dfdd34b8562b61e796951200d2bccdfceb1e37b",role:"alert","aria-live":"assertive","aria-labelledby":"shr-toast-title","aria-describedby":"shr-toast-message","data-testid":`swc-toast-${this.testId}`,"data-state":this.isVisible?"showing":"hidden",class:`shr-toast ${this.position}`,style:{"--transition-duration":`${this.transitionDuration}ms`,"--title-color":this.resolvedStyle.config.titleColor,"--message-color":this.showTitle?"var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.80))":"var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95))","--border-left-color":this.resolvedStyle.config.borderLeftColor,...this.resolvedStyle.styles}},this.showTitle&&s("div",{key:"1c3cc6b6cdd89363b639ca0c1a20893b9171e1ab",class:"shr-toast--with-title"},s("div",{key:"885d6a6816f44e2826e840b3f093d7f205d3fafb",class:"d-flex justify-content-between align-items-center mb-1"},s("div",{key:"990f2ad9e5f47c440305e3c78380583a57d6ca72",class:"d-flex align-items-center mr-3"},s("swc-svg-icon",{key:"75d815cd9e3c2a6f0e3eb9a90a891add1bc234f0",name:this.resolvedStyle.config.icon,variant:"filled",color:this.resolvedStyle.config.iconColor,size:"16"}),s("span",{key:"37adb019730a4b0efa1b388e04ff3f93ff97317f",id:"shr-toast-title",class:"shr-toast__title ml-1"}," ",this._title)),this.dismissible&&s("swc-icon-button",{key:"1dcd74ae411056f6bd1c5a7b5659c5fb5cb4bd88",intent:"neutral",variant:"bare",round:!0,"aria-label":"Close toast",onClick:this.hideToast},s("swc-svg-icon",{key:"61e061d22c228966fded0869a6bae997aa20eaa6",name:"Dismiss",size:"16"}))),s("div",{key:"cb23edde24cc69ccd98353ecd8f64e309db9f801",id:"shr-toast-message",class:"shr-toast__message fs-12"}," ",this.message)),!this.showTitle&&s("div",{key:"c94fc37ef7285f5dbbe05898b1653a75a3526e81",class:"shr-toast--without-title"},s("div",{key:"ee299eb4d1e4a40ca1a7a38ac30fe1de0e02dffc",class:"d-flex justify-content-between align-items-center"},s("div",{key:"1addc71b5b71cea71e4ce8e641e516a25963d10b",class:"d-flex align-items-center mr-3"},s("swc-svg-icon",{key:"6a48bff378168782e7a879e6a94349afccec4535",name:this.resolvedStyle.config.icon,variant:"outline",color:this.resolvedStyle.config.iconColor,size:"16"}),s("p",{key:"02df73d2269978f10e7c7bd4b18159f55497ce35",id:"shr-toast-message",class:"m-0 shr-toast__message fs-14 ml-1"},this.message)),this.dismissible&&s("swc-icon-button",{key:"bffd962dfafe04bd942a308051f1b3e22d35c060",intent:"neutral",variant:"bare",round:!0,"aria-label":"Close toast",onClick:this.hideToast},s("swc-svg-icon",{key:"dc633c4d7e7e8b978b09b2f64172e146c202811b",name:"Dismiss",size:"16"})))))}};a.style=".sc-swc-toast-h .d-flex.sc-swc-toast{display:flex}.sc-swc-toast-h .align-items-center.sc-swc-toast{align-items:center}.sc-swc-toast-h .justify-content-center.sc-swc-toast{justify-content:center}.sc-swc-toast-h .justify-content-between.sc-swc-toast{justify-content:space-between}.sc-swc-toast-h .ml-1.sc-swc-toast{margin-inline-start:4px}.sc-swc-toast-h .mr-3.sc-swc-toast{margin-inline-end:12px}.sc-swc-toast-h .mb-1.sc-swc-toast{margin-block-end:4px}.sc-swc-toast-h .shr-toast.sc-swc-toast{position:fixed;z-index:var(--sfe-stack-level-alert);border-radius:4px;border:1px solid rgba(0, 0, 0, 0.1);border-left-style:solid;border-left-color:var(--border-left-color);padding-block:12px;overflow:hidden}.sc-swc-toast-h .shr-toast__message.sc-swc-toast{font-family:var(--sfe-typography-font-serif-font, Sora);font-weight:400;line-height:16px;color:var(--message-color);word-break:break-word}.sc-swc-toast-h .shr-toast--with-title.sc-swc-toast .shr-toast__message.sc-swc-toast{line-height:1.5}.sc-swc-toast-h .shr-toast--without-title.sc-swc-toast .shr-toast__message.sc-swc-toast{line-height:1.75}.sc-swc-toast-h .shr-toast__title.sc-swc-toast{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:14px;font-weight:500;line-height:16px;color:var(--title-color);word-break:break-word}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast{block-size:25px;inline-size:25px;border-radius:50%;border:none;background-color:transparent;transition:background-color 0.2s ease-out}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast:hover{background-color:#f3f3f3}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast .close-icon.sc-swc-toast{color:rgba(0, 0, 0, 0.7)}.sc-swc-toast-h .shr-toast.top-right.sc-swc-toast{top:20px;right:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-right[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(20px)}.sc-swc-toast-h .shr-toast.top-right[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.top-left.sc-swc-toast{top:20px;left:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-left[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(-20px)}.sc-swc-toast-h .shr-toast.top-left[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.top-center.sc-swc-toast{top:20px;left:0;right:0;margin-inline:auto;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-center[data-state=hidden].sc-swc-toast{opacity:0;transform:translateY(-20px)}.sc-swc-toast-h .shr-toast.top-center[data-state=showing].sc-swc-toast{opacity:1;transform:translateY(0)}.sc-swc-toast-h .shr-toast.bottom-right.sc-swc-toast{bottom:20px;right:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-right[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(20px)}.sc-swc-toast-h .shr-toast.bottom-right[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.bottom-left.sc-swc-toast{bottom:20px;left:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-left[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(-20px)}.sc-swc-toast-h .shr-toast.bottom-left[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.bottom-center.sc-swc-toast{bottom:20px;left:0;right:0;margin-inline:auto;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-center[data-state=hidden].sc-swc-toast{opacity:0;transform:translateY(20px)}.sc-swc-toast-h .shr-toast.bottom-center[data-state=showing].sc-swc-toast{opacity:1;transform:translateY(0)}";export{a as swc_toast}
@@ -1 +1 @@
1
- import{r,d as o,e as s,h as i,H as a}from"./p-CUS2AmqM.js";import{u as e}from"./p-DOY8Zr-F.js";const t=class{constructor(s){r(this,s),this.changeRadio=o(this,"changeRadio",7)}value;selectedValue;disabled=!1;error=!1;checked=!1;label;testId="";changeRadio;get hostEl(){return s(this)}radioId=e().generate("swc-radio-");handleRadioChange=r=>{r.preventDefault(),this.changeRadio.emit(r.target.value)};render(){const r=Array.from(this.hostEl.attributes).reduce(((r,o)=>(r[o.name]=o.value,r)),{});return i(a,null,i("span",{class:"swc-radio-wrapper","data-testid":`swc-radio-input-${this.testId}`},i("input",{...r,type:"radio",id:this.radioId,value:this.value,checked:this.checked||this.value.toLowerCase()===this.selectedValue.toLowerCase(),disabled:this.disabled,class:{"sfe-radio":!0,"sfe-radio--error":this.error},onChange:this.handleRadioChange}),this.label&&i("label",{htmlFor:this.radioId,class:"ms-2 "+(this.disabled?"cursor-not-allowed":"cursor-pointer")},this.label)))}};t.style='.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input{appearance:none;width:16px;height:16px;border:2px solid var(--sfe-color-interaction-neutral-faded-subtle);border-radius:100px;position:relative;cursor:pointer;transition:border-color 0.3s ease, background-color 0.3s ease;background-color:white}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:focus-visible{outline:2px solid #9747ff;outline-offset:1px}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover{border:2px solid var(--sfe-color-interaction-neutral-faded-strong)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:disabled{border-color:var(--sfe-color-interaction-disabled-strong);background-color:#f0f0f0;cursor:not-allowed;opacity:0.5}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover:checked{border:2px solid var(--sfe-color-interaction-brand-solid-subtle)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:50%;height:50%;background-color:transparent;border-radius:50%;transition:background-color 0.3s ease}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked::before{background-color:transparent}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked:disabled{border:5px solid var(--sfe-color-interaction-disabled-strong) !important}.sc-swc-radio-input-h .sfe-radio--error.sc-swc-radio-input{border:2px solid var(--sfe-color-interaction-critical-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked.sfe-radio--error{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .cursor-pointer.sc-swc-radio-input{cursor:pointer}.sc-swc-radio-input-h .cursor-not-allowed.sc-swc-radio-input{cursor:not-allowed}.sc-swc-radio-input-h .swc-radio-wrapper.sc-swc-radio-input{display:inline-flex;align-items:center}';export{t as swc_radio_input}
1
+ import{r,d as o,e as s,h as i,H as a}from"./p-_XYgBHWR.js";import{u as e}from"./p-DOY8Zr-F.js";const t=class{constructor(s){r(this,s),this.changeRadio=o(this,"changeRadio",7)}value;selectedValue;disabled=!1;error=!1;checked=!1;label;testId="";changeRadio;get hostEl(){return s(this)}radioId=e().generate("swc-radio-");handleRadioChange=r=>{r.preventDefault(),this.changeRadio.emit(r.target.value)};render(){const r=Array.from(this.hostEl.attributes).reduce(((r,o)=>(r[o.name]=o.value,r)),{});return i(a,null,i("span",{class:"swc-radio-wrapper","data-testid":`swc-radio-input-${this.testId}`},i("input",{...r,type:"radio",id:this.radioId,value:this.value,checked:this.checked||this.value.toLowerCase()===this.selectedValue.toLowerCase(),disabled:this.disabled,class:{"sfe-radio":!0,"sfe-radio--error":this.error},onChange:this.handleRadioChange}),this.label&&i("label",{htmlFor:this.radioId,class:"ms-2 "+(this.disabled?"cursor-not-allowed":"cursor-pointer")},this.label)))}};t.style='.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input{appearance:none;width:16px;height:16px;border:2px solid var(--sfe-color-interaction-neutral-faded-subtle);border-radius:100px;position:relative;cursor:pointer;transition:border-color 0.3s ease, background-color 0.3s ease;background-color:white}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:focus-visible{outline:2px solid #9747ff;outline-offset:1px}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover{border:2px solid var(--sfe-color-interaction-neutral-faded-strong)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:disabled{border-color:var(--sfe-color-interaction-disabled-strong);background-color:#f0f0f0;cursor:not-allowed;opacity:0.5}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover:checked{border:2px solid var(--sfe-color-interaction-brand-solid-subtle)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:50%;height:50%;background-color:transparent;border-radius:50%;transition:background-color 0.3s ease}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked::before{background-color:transparent}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked:disabled{border:5px solid var(--sfe-color-interaction-disabled-strong) !important}.sc-swc-radio-input-h .sfe-radio--error.sc-swc-radio-input{border:2px solid var(--sfe-color-interaction-critical-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked.sfe-radio--error{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .cursor-pointer.sc-swc-radio-input{cursor:pointer}.sc-swc-radio-input-h .cursor-not-allowed.sc-swc-radio-input{cursor:not-allowed}.sc-swc-radio-input-h .swc-radio-wrapper.sc-swc-radio-input{display:inline-flex;align-items:center}';export{t as swc_radio_input}