@ebrains/vue 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/color-primary-palette_6.entry-1eBEirY0.js +1 -0
- package/{color-primary-palette_6.entry-DLM8AbQ4.mjs → color-primary-palette_6.entry-H67NPitC.mjs} +15 -15
- package/{components-section.entry-Di2VXgMA.mjs → components-section.entry-B1dz0g33.mjs} +2 -2
- package/{components-section.entry-D3Cs3rKx.js → components-section.entry-CcoF89WU.js} +2 -2
- package/correct-use-of-colors.entry-C073SOHl.js +1 -0
- package/correct-use-of-colors.entry-TbWXh9C3.mjs +59 -0
- package/{docs-palettes.entry-BdmohcUb.mjs → docs-palettes.entry-C2pGHAUO.mjs} +2 -2
- package/{docs-palettes.entry-CMeJkYSH.js → docs-palettes.entry-QaWmCwPR.js} +1 -1
- package/{docs-tokens.entry-CNGoSG29.js → docs-tokens.entry-C0FAMzjq.js} +1 -1
- package/{docs-tokens.entry-CWOYs_8-.mjs → docs-tokens.entry-C672wOyc.mjs} +2 -2
- package/{eds-accordion_53.entry-B-Wyebqm.mjs → eds-accordion_53.entry-DnQ71cUa.mjs} +771 -517
- package/{eds-accordion_53.entry-B5ZXKAjG.js → eds-accordion_53.entry-zcFgu-bN.js} +233 -13
- package/eds-app-root.entry-CdYXRvEH.js +1 -0
- package/eds-app-root.entry-SRuoPkpR.mjs +25 -0
- package/{eds-cookies-preference.entry-CVcAao_J.js → eds-cookies-preference.entry-C5oyARD2.js} +1 -1
- package/{eds-cookies-preference.entry-WYgccA0t.mjs → eds-cookies-preference.entry-DCpS4QYq.mjs} +5 -5
- package/{eds-feedback.entry-D5Ouctg6.js → eds-feedback.entry-CjGbkIyP.js} +1 -1
- package/{eds-feedback.entry-BpRZtSfF.mjs → eds-feedback.entry-DgcQUGEM.mjs} +1 -1
- package/{eds-frame.entry-B4p00bwc.mjs → eds-frame.entry-Bal0CtfI.mjs} +2 -2
- package/{eds-frame.entry-DR1xGJst.js → eds-frame.entry-CS-QzNkR.js} +1 -1
- package/{eds-gauge.entry-B_w5n0cW.js → eds-gauge.entry-CSyfwF-_.js} +1 -1
- package/{eds-gauge.entry-DgEkwl17.mjs → eds-gauge.entry-Ck3pnw-L.mjs} +1 -1
- package/{eds-gitlab-contributors.entry-zWK0Z2kn.js → eds-gitlab-contributors.entry--cj-UT_T.js} +1 -1
- package/{eds-gitlab-contributors.entry-B1AEl-u7.mjs → eds-gitlab-contributors.entry-DFVGHOFu.mjs} +11 -20
- package/{eds-icon-bluesky.entry-pDbXLbWF.js → eds-icon-bluesky.entry-BdmwMS1Y.js} +1 -1
- package/eds-icon-bluesky.entry-Dn96V_Ds.mjs +13 -0
- package/eds-icon-eu.entry-B-GwzWAf.mjs +13 -0
- package/eds-icon-eu.entry-CAN9lqP_.js +1 -0
- package/{eds-icon-facebook.entry-CVymbjZx.js → eds-icon-facebook.entry-R5tBlxkL.js} +1 -1
- package/eds-icon-facebook.entry-s1-bqh2N.mjs +13 -0
- package/{eds-icon-gitlab.entry-BeJh3EES.js → eds-icon-gitlab.entry-BNvAWAWU.js} +1 -1
- package/eds-icon-gitlab.entry-bsOZxWgG.mjs +13 -0
- package/{eds-icon-linkedin.entry-DzZnyxAm.js → eds-icon-linkedin.entry-BmKw7UwO.js} +1 -1
- package/eds-icon-linkedin.entry-CQ8aQkpK.mjs +13 -0
- package/eds-icon-mastodon.entry-Bp3uiLJK.js +1 -0
- package/eds-icon-mastodon.entry-MqjbMszr.mjs +13 -0
- package/{eds-icon-twitter.entry-D1GOytI5.js → eds-icon-twitter.entry-B7qqj7uR.js} +1 -1
- package/eds-icon-twitter.entry-BDHU-frf.mjs +13 -0
- package/eds-icon-youtube.entry-BEsZUIRy.js +1 -0
- package/eds-icon-youtube.entry-DHXGAtfw.mjs +13 -0
- package/{eds-input-search.entry-C-8KBUCs.mjs → eds-input-search.entry-BH4SeDfq.mjs} +5 -5
- package/{eds-input-search.entry-CtZHtmS4.js → eds-input-search.entry-bBQR1BS4.js} +1 -1
- package/{eds-modal.entry-3OECayey.js → eds-modal.entry-BzkfXrr0.js} +1 -1
- package/{eds-modal.entry-CRVpxuBW.mjs → eds-modal.entry-CrwS8bkc.mjs} +10 -2
- package/{eds-pie.entry-CQmET1EH.js → eds-pie.entry-BLtKp4WE.js} +1 -1
- package/{eds-pie.entry-BPCyYhUQ.mjs → eds-pie.entry-hanOmYYd.mjs} +1 -1
- package/{eds-section-core_2.entry-29cp2-oK.js → eds-section-core_2.entry-BCEx-Y5E.js} +1 -1
- package/{eds-section-core_2.entry-nuk5XXsS.mjs → eds-section-core_2.entry-CIQTdyrr.mjs} +6 -6
- package/{eds-splash-screen.entry-6LjvQMdi.js → eds-splash-screen.entry-CM8rm1uo.js} +1 -1
- package/{eds-splash-screen.entry-ysMrUnNU.mjs → eds-splash-screen.entry-DwqEVjpm.mjs} +1 -1
- package/{eds-timeline.entry-DMH1Ms5n.js → eds-timeline.entry-B2ms_g6o.js} +1 -1
- package/{eds-timeline.entry-DKpKHB5k.mjs → eds-timeline.entry-BNhrI9Ej.mjs} +5 -5
- package/{eds-toast-manager.entry-DnCELf2f.js → eds-toast-manager.entry-Cy-DXVuo.js} +1 -1
- package/{eds-toast-manager.entry-DVXxUD8d.mjs → eds-toast-manager.entry-Dsj7g74X.mjs} +5 -5
- package/{eds-trl-badge.entry-D7q4hgde.js → eds-trl-badge.entry-Bk9QSv1P.js} +1 -1
- package/{eds-trl-badge.entry-DCmmqQHB.mjs → eds-trl-badge.entry-lb_N2T5G.mjs} +9 -9
- package/incorrect-use-of-colors.entry-BgXG9URu.js +1 -0
- package/incorrect-use-of-colors.entry-f1_9a2ie.mjs +42 -0
- package/{index-WyhGZcXS.js → index-Bng_ykBc.js} +4 -4
- package/{index-DL15mWAH.mjs → index-WGs6rGzb.mjs} +293 -281
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/logo-space.entry-CFC2Gs2G.mjs +75 -0
- package/{logo-space.entry-DojbLxT4.js → logo-space.entry-qBWZJ5nT.js} +1 -1
- package/{logo-variations-horizontal_2.entry-DNcdxqUe.mjs → logo-variations-horizontal_2.entry-CEwWf28Q.mjs} +12 -12
- package/{logo-variations-horizontal_2.entry-BxLg0D44.js → logo-variations-horizontal_2.entry-DmjS1SNC.js} +3 -3
- package/{logo-variations-tabs.entry-C6mpER1C.js → logo-variations-tabs.entry-BA2qo3EF.js} +1 -1
- package/{logo-variations-tabs.entry-DRT8k7pQ.mjs → logo-variations-tabs.entry-D0CJpUNF.mjs} +4 -4
- package/{logo-wrong-usage.entry-DTRzJDQo.js → logo-wrong-usage.entry-CjGaQC45.js} +1 -1
- package/{logo-wrong-usage.entry-DHJIJsVZ.mjs → logo-wrong-usage.entry-DesUHaDc.mjs} +5 -5
- package/package.json +1 -1
- package/{svg-repository.entry-DZc3Ej9y.js → svg-repository.entry-JEAJo50z.js} +2 -2
- package/{svg-repository.entry-DZfvxxeh.mjs → svg-repository.entry-OnOCsUve.mjs} +13 -13
- package/{token-list_3.entry-CuNhLZNv.mjs → token-list_3.entry-B4YpBeyT.mjs} +7 -7
- package/{token-list_3.entry-ve9r960B.js → token-list_3.entry-mH55IVfb.js} +1 -1
- package/{token-ratios.entry-D5YiyMvt.mjs → token-ratios.entry-CqueacSp.mjs} +2 -2
- package/token-ratios.entry-DjSZYMDP.js +1 -0
- package/token-spacing.entry-DYxFda6A.js +1 -0
- package/token-spacing.entry-DfUjKTaZ.mjs +12 -0
- package/{token-typography.entry-C_NmBPt2.mjs → token-typography.entry-BXifOq6O.mjs} +9 -3
- package/{token-typography.entry-DEuXeYSY.js → token-typography.entry-Dw2E2kTC.js} +1 -1
- package/color-primary-palette_6.entry-g0jXU2Ob.js +0 -1
- package/correct-use-of-colors.entry-BO20319L.mjs +0 -59
- package/correct-use-of-colors.entry-D6EyksAq.js +0 -1
- package/eds-app-root.entry-BIOnfrHA.mjs +0 -25
- package/eds-app-root.entry-K5aPf66w.js +0 -1
- package/eds-icon-bluesky.entry-TCr9yCHs.mjs +0 -13
- package/eds-icon-eu.entry-CTBu76k-.js +0 -1
- package/eds-icon-eu.entry-DuKnYzW-.mjs +0 -13
- package/eds-icon-facebook.entry-B1moHgT8.mjs +0 -13
- package/eds-icon-gitlab.entry-B51la_co.mjs +0 -13
- package/eds-icon-linkedin.entry-D8aMAhFL.mjs +0 -13
- package/eds-icon-mastodon.entry-8MO-blJh.js +0 -1
- package/eds-icon-mastodon.entry-DrOJJ5Kz.mjs +0 -13
- package/eds-icon-twitter.entry-B59MqkyR.mjs +0 -13
- package/eds-icon-youtube.entry-BnxPIc3O.js +0 -1
- package/eds-icon-youtube.entry-CzNnNcEj.mjs +0 -13
- package/incorrect-use-of-colors.entry-BSLfYKUb.mjs +0 -42
- package/incorrect-use-of-colors.entry-DHqHOdH0.js +0 -1
- package/logo-space.entry-iQSqRbq9.mjs +0 -18
- package/token-ratios.entry-BgWROZuw.js +0 -1
- package/token-spacing.entry-BchYKWuE.js +0 -1
- package/token-spacing.entry-CSkx5neb.mjs +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-Bng_ykBc.js"),k=require("./analytics-d99780e3-DgvAss6l.js"),F=require("./sharedUtils-a550989c-m4pF1Vqy.js"),xn=require("./negative-84eec72e-CYj66efO.js"),vn=require("./positive-cc986d7c-bcR8gHIm.js"),yn=":host{display:block;width:100%}.accordion-card{border-radius:16px;padding:1.5rem;transition:all 0.4s ease;position:relative;overflow:hidden;border:1px solid rgba(0, 0, 0, 0.1)}.accordion-card-default{background:var(--brand-black);color:var(--white)}.accordion-card-default:hover{border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.accordion-card-default .accordion-title{color:var(--white)}.accordion-card-default .accordion-description{color:var(--grey-light)}.accordion-card-default .accordion-chevron{color:var(--white)}.accordion-card-default .accordion-content{color:var(--grey-light)}.accordion-card-inverse{background:var(--white);color:var(--brand-black)}.accordion-card-inverse:hover{border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.accordion-card-inverse .accordion-title{color:var(--brand-black)}.accordion-card-inverse .accordion-description{color:var(--grey-700)}.accordion-card-inverse .accordion-chevron{color:var(--brand-black)}.accordion-card-inverse .accordion-content{color:var(--grey-700)}.accordion-header{display:flex;align-items:center;gap:1rem;cursor:pointer;width:100%;background:none;border:none;padding:0;text-align:left;-webkit-user-select:none;user-select:none}.accordion-header:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px;border-radius:8px}.accordion-icon{width:48px;height:48px;min-width:48px;display:flex;align-items:center;justify-content:center;background:rgba(0, 255, 157, 0.1);border-radius:12px;color:var(--brand-green);flex-shrink:0}.accordion-card-inverse .accordion-icon{background:rgba(0, 0, 0, 0.05);color:var(--brand-black)}.accordion-header-text{flex-grow:1;min-width:0}.accordion-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.25rem;line-height:1.4;margin:0}.accordion-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6;margin-top:0.25rem;margin-bottom:0}.accordion-chevron{flex-shrink:0;transition:transform 0.3s ease}.accordion-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.4s ease}.accordion-panel.expanded{grid-template-rows:1fr}.accordion-panel-inner{overflow:hidden}.accordion-content{padding-top:1rem;font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media (max-width: 768px){.accordion-card{padding:1.25rem}.accordion-icon{width:40px;height:40px;min-width:40px}.accordion-title{font-size:1.125rem}.accordion-header{gap:0.75rem}}h3,p{margin:0}",wn=yn,ce=class{constructor(e){n.registerInstance(this,e),this.accordion=n.createEvent(this,"accordion",7),this.handleClick=()=>{var t;this.isExpanded=!this.isExpanded,this.toggleIcon=this.isExpanded?"chevron-down":"chevron-right",this.accordion.emit(this.isExpanded),k.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:((t=this.heading)===null||t===void 0?void 0:t.toLowerCase())||"",action:this.isExpanded?"expanded":"collapsed"})},this.handleKeyDown=t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.handleClick())},this.heading=void 0,this.description=void 0,this.variant="inverse",this.icon=void 0,this.switchBg=!0,this.expanded=!1,this.clampText=!0,this.isExpanded=this.expanded,this.toggleIcon=this.expanded?"chevron-down":"chevron-right"}render(){const e=["accordion-card",`accordion-card-${this.variant}`].join(" ");return n.h("div",{key:"e437239cc58d208a41d178ad843b56b4cf96c868",class:e},n.h("div",{key:"d8918b77de629a60332118da38969f237ef5f4a6",class:"accordion-header",onClick:this.handleClick,onKeyDown:this.handleKeyDown,role:"button",tabindex:0,"aria-expanded":String(this.isExpanded),"aria-controls":"accordionSection"},this.icon&&n.h("div",{key:"56d74602ae6f5b2246a42047caae30fd7affd5eb",class:"accordion-icon"},n.h("eds-icon-wrapper",{key:"91dec34e9bec65648e943203dfbf7a2c2f85a239",name:this.icon,size:24})),n.h("div",{key:"3abdd978e4de24e892fe763a2ad42606915b7136",class:"accordion-header-text"},n.h("h3",{key:"7a6e750e6b9462577fd71c4a08d5e029c5c31c17",class:"accordion-title"},this.heading),this.description&&n.h("p",{key:"1b79cce1a659c8ec48f365c44bbd9593bb11769a",class:`accordion-description ${!this.isExpanded&&this.clampText?"line-clamp-1":""}`},this.description)),n.h("eds-icon-wrapper",{key:"a911f1daf7776c574ec42a7d007c2c21768d0b05",name:this.toggleIcon,size:20,class:"accordion-chevron"})),n.h("section",{key:"fe743b5bffe37fd352d26f3a1660fd0e0a6633a7",id:"accordionSection","aria-hidden":String(!this.isExpanded),class:`accordion-panel ${this.isExpanded?"expanded":""}`},n.h("div",{key:"0d9fc37345deb16c1a5793c7deeb41298c4cf209",class:"accordion-panel-inner"},n.h("div",{key:"697c71cdf914948ba9d017a2e92f42ce0e2ffc73",class:"accordion-content"},n.h("slot",{key:"156b2c0be11111d3876bdbc1852f51a8b44b0284"})))))}get el(){return n.getElement(this)}};ce.style=wn;const kn=":host{display:block;width:100%}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}p{margin:0}.alert-card{position:relative;border-radius:16px;padding:1rem 1.25rem;display:flex;gap:0.75rem;width:100%;border:1px solid rgba(0, 0, 0, 0.1);overflow:hidden;font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.alert-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px}.alert-default{background-color:var(--grey-light);color:var(--brand-black)}.alert-default::before{background-color:var(--grey-dark)}.alert-default .alert-icon{color:var(--grey-dark)}.alert-warning{background-color:var(--yellow-200);color:var(--brand-black)}.alert-warning::before{background-color:var(--yellow-600)}.alert-warning .alert-icon{color:var(--yellow-600)}.alert-error{background-color:var(--red-200);color:var(--brand-black)}.alert-error::before{background-color:var(--red-600)}.alert-error .alert-icon{color:var(--red-600)}.alert-success{background-color:var(--brand-green);color:var(--brand-black)}.alert-success::before{background-color:var(--green-700)}.alert-success .alert-icon{color:var(--green-700)}.alert-brand{background-color:var(--brand-black);color:var(--brand-green)}.alert-brand::before{background-color:var(--brand-green)}.alert-brand .alert-icon{color:var(--brand-green)}.alert-brand .alert-dismiss{color:var(--brand-green)}.alert-horizontal{flex-direction:row;align-items:center}.alert-vertical{flex-direction:column;align-items:flex-start}.alert-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center}.alert-body{flex:1;min-width:0}.alert-message{margin:0}.alert-action{flex-shrink:0}.alert-dismiss{flex-shrink:0;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0.25rem;border-radius:8px;color:inherit;opacity:0.7;transition:opacity 0.2s ease}.alert-dismiss:hover{opacity:1}.alert-dismiss:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px}@media (max-width: 768px){.alert-card{padding:0.75rem 1rem;gap:0.5rem}.alert-horizontal{flex-direction:column;align-items:flex-start}.alert-dismiss{position:absolute;top:0.5rem;right:0.5rem;padding:0.125rem}.alert-card:has(.alert-dismiss){padding-right:2.25rem}}",zn=kn,he=class{constructor(e){n.registerInstance(this,e),this.edsalert=n.createEvent(this,"edsalert",7),this.edsDismiss=n.createEvent(this,"edsDismiss",7),this.message=void 0,this.pressableLabel=void 0,this.pressableUrl=void 0,this.direction="horizontal",this.intent="default",this.icon=void 0,this.dismissible=!1,this.withBtn=!1,this.dismissed=!1}componentWillLoad(){this.withBtn=!!this.pressableLabel}onPressableLabelChange(e){this.withBtn=!!e}get normalizedIntent(){return this.intent==="info"?"default":this.intent}get intentIcon(){return this.icon||null}handleAction(){this.edsalert.emit()}handleDismiss(){this.dismissed=!0,this.edsDismiss.emit()}render(){if(this.dismissed)return null;const e=this.normalizedIntent,t=e!=="default"?`${e} alert`:"alert";return n.h("div",{class:`alert-card alert-${e} alert-${this.direction}`,role:"alert","aria-label":t,"aria-live":e==="error"||e==="warning"?"assertive":"polite"},this.intentIcon&&n.h("div",{class:"alert-icon"},n.h("eds-icon-wrapper",{name:this.intentIcon,size:20})),n.h("div",{class:"alert-body"},this.message?n.h("p",{class:"alert-message"},this.message):n.h("div",{class:"alert-message"},n.h("slot",null))),this.withBtn&&n.h("div",{class:"alert-action"},this.pressableUrl?n.h("eds-link",{label:this.pressableLabel,url:this.pressableUrl,intent:"strong"}):n.h("eds-button",{label:this.pressableLabel,intent:"ghost",onClick:()=>this.handleAction()})),this.dismissible&&n.h("button",{class:"alert-dismiss",onClick:()=>this.handleDismiss(),"aria-label":"Dismiss alert"},n.h("eds-icon-wrapper",{name:"close",size:20})))}get el(){return n.getElement(this)}static get watchers(){return{pressableLabel:["onPressableLabelChange"]}}};he.style=zn;const Sn=`::before,
|
|
2
2
|
::after {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
border-width: 0;
|
|
@@ -199,7 +199,7 @@ abbr:where([title]) {
|
|
|
199
199
|
|
|
200
200
|
.bg-gradient-04-bottom {
|
|
201
201
|
background: linear-gradient(to top, #2B69FC, ease-in-out, #E6E6E6);
|
|
202
|
-
}`,Cn=Sn,ge=class{constructor(e){
|
|
202
|
+
}`,Cn=Sn,ge=class{constructor(e){n.registerInstance(this,e),this.firstName="User",this.lastName="Avatar",this.picture=void 0,this.initials=void 0,this.color="grey"}get computedInitials(){if(this.initials)return(this.initials.match(/.{1,3}/g)||[])[0]||"";if(this.firstName&&this.lastName)return`${this.firstName.charAt(0)}${this.lastName.charAt(0)}`.toUpperCase()}get containerClasses(){return["border-inside","aspect-1x1","flex","items-center","justify-center","overflow-hidden",this.picture?"":"px-4","w-[54px] rounded-sm",this.color?"border-inside-inverse":"",this.picture?"":this.color==="grey"?"bg-dark":"bg-strongest text-accent"].join(" ")}render(){return n.h("div",{key:"36f8cb598e0e53793ce8a49e9e2419f41ba8f160",class:this.containerClasses},this.picture?n.h("eds-img",{src:this.picture,width:54,height:54,sizes:"120px",alt:`${this.firstName} ${this.lastName}`,lazyload:!0,withBg:!0}):n.h("abbr",{title:this.computedInitials||`${this.firstName} ${this.lastName}`,class:"!no-underline f-ui-01"},this.computedInitials))}};ge.style=Cn;const En=".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--brand-black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}",In=En,fe=class{constructor(e){n.registerInstance(this,e),this.inverse=!1}render(){return n.h("hr",{key:"2531c44fa20745f7860e4647f77ffa038a56d832",class:`${this.inverse?"border-default":"border-softer"} my-16 inline-block w-full border-t-2`})}};fe.style=In;const An="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}",Fn=An,be=class{constructor(e){n.registerInstance(this,e),this.updateScreenSize=()=>{const t=window.innerWidth;t<769?this.maxVisibleItems=3:t<=1024?this.maxVisibleItems=3:t<=1280?this.maxVisibleItems=3:t<=2200?this.maxVisibleItems=4:this.maxVisibleItems=6},this.items=[],this.intent="ghost",this.parsedItems=[],this.isSmallScreen=!1,this.maxVisibleItems=6}parseItems(e){this.parsedItems=F.parseData(e)}componentWillLoad(){this.parseItems(this.items),this.updateScreenSize(),window.addEventListener("resize",this.updateScreenSize)}disconnectedCallback(){window.removeEventListener("resize",this.updateScreenSize)}componentDidLoad(){var e;const t=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("eds-link");t==null||t.forEach(i=>{this.emitContext(i)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}getTruncatedItems(){const e=this.parsedItems.length,t={label:"...",url:"",isHidden:!0};if(e>this.maxVisibleItems){const i=this.parsedItems[0],r=this.parsedItems.slice(-2);if(this.maxVisibleItems===3)return[i,t,...r];if(this.maxVisibleItems===4){const a=this.parsedItems[Math.floor(e/2)];return[i,a,t,...r]}}return this.parsedItems}getLabels(e,t){return!t&&e.label.length>15?{displayLabel:`${e.label.slice(0,15)}...`,fullLabel:e.label}:{displayLabel:e.label,fullLabel:e.label}}render(){const e=this.getTruncatedItems();return n.h("nav",{key:"95c13ac07de20bc04fb57ee990e5d21f928f3a86","aria-label":"Breadcrumb"},n.h("ol",{key:"2a03ff53ac27eaa5e37ddfef32e9a4fe322755dd",class:"flex items-center space-x-2"},e.map((t,i)=>{const r=i===e.length-1;return n.h("li",{class:"flex items-center"},t.isHidden?n.h("eds-link",{label:"...",url:"#",intent:"strong",current:!1,"aria-label":"...",size:"small","icon-small":"false",icon:"chevron-right"}):(()=>{const{fullLabel:a}=this.getLabels(t,r),l=r?this.intent==="strong"?"weak":this.intent==="weak"?"strong":this.intent:this.intent;return n.h("eds-link",Object.assign({label:a,url:t.url,intent:l,disabled:r,current:r,"aria-label":a,size:"small","icon-small":"false"},r?{"aria-current":"page"}:{}))})(),!r&&!t.isHidden&&n.h("eds-icon-wrapper",{name:"chevron-right",class:"w-20 h-20"}))})))}get el(){return n.getElement(this)}static get watchers(){return{items:["parseItems"]}}};be.style=Fn;function pe(e){var t,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(i=pe(e[t]))&&(r&&(r+=" "),r+=i);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function _n(){for(var e,t,i=0,r="";i<arguments.length;)(e=arguments[i++])&&(t=pe(e))&&(r&&(r+=" "),r+=t);return r}const te=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,ie=_n,W=(e,t)=>i=>{var r;if((t==null?void 0:t.variants)==null)return ie(e,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:a,defaultVariants:l}=t,o=Object.keys(a).map(m=>{const v=i==null?void 0:i[m],C=l==null?void 0:l[m];if(v===null)return null;const _=te(v)||te(C);return a[m][_]}),s=i&&Object.entries(i).reduce((m,v)=>{let[C,_]=v;return _===void 0||(m[C]=_),m},{}),h=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((m,v)=>{let{class:C,className:_,...V}=v;return Object.entries(V).every(B=>{let[S,w]=B;return Array.isArray(w)?w.includes({...l,...s}[S]):{...l,...s}[S]===w})?[...m,C,_]:m},[]);return ie(e,o,h,i==null?void 0:i.class,i==null?void 0:i.className)},Ln=`/* ============================================
|
|
203
203
|
EDS BUTTON - NEW EBRAINS VISUAL SYSTEM
|
|
204
204
|
============================================ */
|
|
205
205
|
|
|
@@ -1389,15 +1389,16 @@ button,
|
|
|
1389
1389
|
.md\\:flex {
|
|
1390
1390
|
display: flex;
|
|
1391
1391
|
}
|
|
1392
|
-
}`,Hn=Ln,ue=class{constructor(e){t.registerInstance(this,e),this.button=W(["relative items-center cursor-pointer","effect-focus","aria-disabled:text-lightest aria-disabled:bg-dark aria-disabled:cursor-not-allowed","disabled:text-lightest disabled:bg-dark disabled:cursor-not-allowed"],{variants:{intent:{primary:"bg-strongest text-inverse hover:bg-accent hover:text-default focus:shadow-none aria-disabled:shadow-none",secondary:"border-inside text-default bg-transparent hover:bg-strong-dark hover:text-inverse aria-disabled:after:!border-0",secondaryInverse:"border-inside-inverse text-inverse bg-transparent hover:bg-inverse hover:text-default aria-disabled:after:!border-0",ghost:"",ghostInverse:"text-inverse",brand:"bg-accent text-default hover:bg-strongest hover:text-inverse aria-disabled:shadow-none",brandLight:"bg-brand-light text-default hover:bg-accent hover:text-default aria-disabled:shadow-none",brandInverse:"bg-accent text-default hover:bg-inverse hover:text-default aria-disabled:shadow-none",neutral:"bg-darker after:border-softest bg-inverse hover:bg-dark hover:text-light text-inverse aria-disabled:shadow-none",cta:["cta-link !px-0 !py-0 !min-h-0 !h-auto"],"cta-brand":["cta-link-brand !px-0 !py-0 !min-h-0 !h-auto"]},loading:{true:"pointer-events-none",false:""},iconSmall:{false:"",true:""},size:{small:"min-h-36 f-ui-02 py-8",large:"min-h-44 f-ui-01 py-12"},hasIcon:{true:"",false:""},iconPos:{left:"flex-row-reverse",right:""},iconOnly:{false:"",true:""},pill:{true:"rounded-full border-inside-pill",false:"rounded-sm"},fullWidth:{true:"w-full flex",false:"inline-flex w-auto"}},compoundVariants:[{size:"small",iconOnly:!0,class:"p-8"},{size:"large",iconOnly:!0,class:"p-12"},{size:"small",iconOnly:!1,class:"px-12"},{size:"large",iconOnly:!1,class:"px-16"},{iconSmall:!0,iconPos:"left",class:"pl-4",iconOnly:!1},{iconSmall:!0,iconPos:"right",class:"pr-4",iconOnly:!1},{iconSmall:!0,iconPos:"left",size:"large",class:"pl-8",iconOnly:!1},{iconSmall:!0,iconPos:"right",size:"large",class:"pr-8",iconOnly:!1},{intent:"cta",hasIcon:!0,class:"gap-8"},{intent:"cta-brand",hasIcon:!0,class:"gap-8"},{intent:"cta",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"}],defaultVariants:{intent:"primary",loading:!1,iconSmall:!1,iconPos:"right",iconOnly:!1,pill:!1,size:"small"}}),this.parentContext=null,this.label=void 0,this.ariaLabel="Button",this.elementType="button",this.intent="primary",this.loading=!1,this.disabled=!1,this.pill=!1,this.icon=void 0,this.size="small",this.iconPos="right",this.iconSmall=!1,this.triggerClick=void 0,this.fullWidth=!1}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}handleClick(e){var n,r;if(this.disabled||this.loading){e.preventDefault();return}w.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((n=this.label)===null||n===void 0?void 0:n.toLowerCase())||((r=this.ariaLabel)===null||r===void 0?void 0:r.toLowerCase())||"",action:"click"}),typeof this.triggerClick=="function"&&this.triggerClick()}handleKeyDown(e){this.disabled||this.loading||(e.key==="Enter"||this.elementType==="a"&&e.key===" ")&&(e.preventDefault(),this.handleClick(e))}render(){const e=this.button({intent:this.intent,loading:this.loading,hasIcon:!!this.icon,iconPos:this.iconPos,size:this.size,pill:this.pill,iconOnly:!this.label,iconSmall:this.iconSmall,fullWidth:this.fullWidth}),n=this.elementType,r=!this.disabled&&!this.loading,i=this.intent==="primary"||this.intent==="secondaryInverse"?"rgba(255, 255, 255, 0.3)":"rgba(7, 20, 13, 0.3)",a=this.intent==="primary"||this.intent==="secondaryInverse"?"#FFFFFF":"#07140D";return t.h(t.Host,{key:"263f3fd25c17d5f9d8ddcfcc57848d6c8e729994"},t.h(n,{key:"9c9f68e332ca6fe14387fc239e880069596b0072",tabindex:r?"0":"-1","aria-label":this.label?void 0:this.ariaLabel,"aria-disabled":this.disabled||this.loading?"true":void 0,"aria-busy":this.loading?"true":void 0,disabled:this.elementType==="button"?this.disabled||this.loading:void 0,role:this.elementType==="a"?"button":void 0,class:`${e||""}`,onClick:l=>this.handleClick(l),onKeyDown:l=>this.handleKeyDown(l)},this.label&&t.h("span",{key:"285a0b07089eb7ebab3bd439000ea89c454164d0",class:`${this.loading?"opacity-0":""} ${this.icon&&this.intent!=="cta"&&this.intent!=="cta-brand"?this.iconPos==="right"?this.size==="large"?"pr-4":"pr-2":this.size==="large"?"pl-4":"pl-2":""}`,"aria-hidden":this.loading?"true":void 0},this.label),this.loading&&t.h("span",{key:"36da873de3be79f2cfc3e4851dadd953e17109dc",class:"absolute inset-0 flex items-center justify-center","aria-hidden":"true"},t.h("span",{key:"961913b2c22e6bd803c6639e617129843c877bfe",class:"loader",style:{border:`3px solid ${i}`,borderBottomColor:a}})),this.icon?t.h("eds-icon-wrapper",{name:this.icon,size:20,"aria-hidden":"true"}):null))}static get delegatesFocus(){return!0}get el(){return t.getElement(this)}};ue.style=Hn;const Mn=":host{display:flex;height:100%}.app-card{height:auto;border-radius:16px;padding:1.5rem;transition:all 0.4s ease;display:flex;flex-direction:column;flex-grow:1}.app-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.app-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);transform:translateY(-4px);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.app-card-default .app-title{color:var(--white)}.app-card-default .app-description{color:var(--grey-light)}.app-card-default .app-tag{background:rgba(255, 255, 255, 0.1);color:var(--white)}.app-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.app-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);transform:translateY(-4px);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.app-card-inverse .app-title{color:var(--brand-black)}.app-card-inverse .app-description{color:var(--grey-dark)}.app-card-inverse .app-tag{background:rgba(0, 0, 0, 0.08);color:var(--brand-black)}eds-tag{margin-bottom:1rem}.app-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.75rem;margin-top:0;margin-bottom:1rem;line-height:1.3}.app-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6;margin-bottom:1.5rem;flex-grow:1}.app-tags{display:flex;gap:0.5rem;flex-wrap:wrap;margin-bottom:1.5rem}.app-tag{padding:0.375rem 0.75rem;border-radius:4px;font-size:0.75rem;font-weight:400}@media (max-width: 768px){.app-card{padding:2rem}.app-title{font-size:1.5rem}}",Dn=Mn,me=class{constructor(e){t.registerInstance(this,e),this.category=void 0,this.title=void 0,this.description=void 0,this.tags=[],this.url=void 0,this.linkText="Explore Components",this.variant="default"}get parsedTags(){return I.parseData(this.tags)}render(){const e=["app-card",`app-card-${this.variant}`].join(" "),n=this.variant==="default"?"cta-brand":"cta",r=this.variant==="default"?"brand":"dark";return t.h("div",{key:"e90fec25a02a9635247da04ca23a932be9cd7ea5",class:e},this.category&&t.h("eds-tag",{key:"a001a815aa32a96beac3d4af08766479030fe8d4",label:this.category,intent:r,size:"medium"}),t.h("h3",{key:"10d4532b4fe9b9a92ad24b09634028c583166bb3",class:"app-title"},this.title),t.h("p",{key:"de1559913d227ff6b023ecdbc5fea29f66cb01a0",class:"app-description"},this.description),this.parsedTags&&this.parsedTags.length>0&&t.h("div",{key:"386a2e72a92ea03c13a4410983b8b5320e83b810",class:"app-tags"},this.parsedTags.map((i,a)=>t.h("span",{key:a,class:"app-tag"},i.label))),this.url&&t.h("eds-link",{key:"2c1a3d133a6f04b6a3359a3c8d2f47eb19c75202",label:this.linkText,url:this.url,intent:n,icon:"arrow-right","icon-pos":"right"}))}get el(){return t.getElement(this)}};me.style=Dn;const Tn=":host{display:flex;height:100%}.cta-container{height:auto;text-align:center;border-radius:16px;padding:1.5rem;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1;justify-content:flex-start}.cta-container-default{background-color:var(--brand-black);border:1px solid rgba(0, 255, 157, 0.25)}.cta-container-default .cta-title{color:var(--white)}.cta-container-default .cta-description{color:var(--grey-light)}.cta-container-default .cta-link{color:var(--grey-dark)}.cta-container-inverse{background-color:var(--white);border:1px solid rgba(0, 255, 157, 0.15)}.cta-container-inverse .cta-title{color:var(--brand-black)}.cta-container-inverse .cta-description{color:var(--grey-dark)}.cta-container-inverse .cta-link{color:var(--grey-dark)}.cta-container::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at center, rgba(0, 255, 157, 0.1) 0%, transparent 50%);animation:rotate 20s linear infinite;pointer-events:none}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.cta-content{position:relative;z-index:1;width:100%;flex-grow:1;display:flex;flex-direction:column}.cta-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:clamp(1.5rem, 4vw, 2rem);letter-spacing:-0.02em;margin-bottom:1rem;line-height:1.2}.cta-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:1rem;margin:0 0 1.5rem;line-height:1.6}.cta-actions{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem;flex-wrap:wrap;margin-top:auto}.cta-links{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}@media (max-width: 768px){.cta-container{padding:1.5rem}.cta-title{font-size:1.25rem}.cta-description{font-size:0.875rem;margin-bottom:1rem}.cta-actions{gap:0.75rem;margin-bottom:1rem}.cta-links{gap:0.75rem}}",Bn=Tn,xe=class{constructor(e){t.registerInstance(this,e),this.handlePrimaryClick=()=>{this.primaryButtonUrl&&(window.location.href=this.primaryButtonUrl)},this.handleSecondaryClick=()=>{this.secondaryButtonUrl&&(window.location.href=this.secondaryButtonUrl)},this.title=void 0,this.description=void 0,this.primaryButtonText="Get Started",this.primaryButtonUrl=void 0,this.secondaryButtonText=void 0,this.secondaryButtonUrl=void 0,this.links=[],this.variant="default"}get parsedLinks(){return I.parseData(this.links)}render(){const e=["cta-container",`cta-container-${this.variant}`].join(" "),n=this.variant==="default"?"brandInverse":"brand",r=this.variant==="default"?"secondaryInverse":"secondary",i=this.variant==="default"?"cta":"underline";return t.h("div",{key:"ee2163e6096ad05dc55ac40c6626236723a23b72",class:e},t.h("div",{key:"f51481133015ef5eafce48bab525cf166c000e3a",class:"cta-content"},t.h("h2",{key:"577441d8bc7cb4c906408faf995e106ef2779e8b",class:"cta-title",innerHTML:this.title}),t.h("p",{key:"b8cbcf891b95f82c3dd57f1db9335f55c1d7162c",class:"cta-description"},this.description),t.h("div",{key:"f167262a521b9e15176a4fc65e3e45a8cf24feb1",class:"cta-actions"},t.h("slot",{key:"c114de9b72bf56a2bda67d21aab0a1a24efba2e4",name:"actions"},t.h("eds-button",{key:"75c4508fad3377ae1788bca7cda5f8315c8301a3",label:this.primaryButtonText,intent:n,icon:"arrow-right","icon-pos":"right",size:"large",triggerClick:this.handlePrimaryClick}),this.secondaryButtonText&&t.h("eds-button",{key:"2c6de6b1032c62619b7225d3f7cbc04617fca465",label:this.secondaryButtonText,intent:r,size:"large",triggerClick:this.handleSecondaryClick}))),this.parsedLinks&&this.parsedLinks.length>0&&t.h("div",{key:"a78f81632c85cb729d738b0bb533d260bc7e3727",class:"cta-links"},this.parsedLinks.map((a,l)=>t.h("eds-link",{key:l,label:a.label,url:a.url,intent:i})))))}get el(){return t.getElement(this)}};xe.style=Bn;const Vn=".f-body-02{font-family:var(--f-body-02-fontFamily);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}",On=Vn,ve=class{constructor(e){t.registerInstance(this,e),this.description=void 0,this.truncate=!0,this.truncateLines="3",this.intent="secondary"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}render(){return t.h("p",{key:"d7d9f5d40d82700388753a165a998574bd69e674",class:`f-body-02 ${this.intent==="secondary"?"text-inverse":"text-default"}`},t.h("span",{key:"bff2551896e726ce02a78b448a0e3f2a3df0c697",class:this.getTruncateClass()},this.description))}};ve.style=On;const Nn=":host{display:flex;height:100%}.feature-card{height:auto;border-radius:16px;padding:1.5rem;transition:all 0.4s ease;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1}.feature-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.feature-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.feature-card-default .feature-title{color:var(--white)}.feature-card-default .feature-description{color:var(--grey-light)}.feature-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.feature-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.feature-card-inverse .feature-title{color:var(--brand-black)}.feature-card-inverse .feature-description{color:var(--grey-dark)}.feature-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(0, 255, 157, 0.1);border-radius:12px;color:var(--brand-green);flex-shrink:0}.feature-card-inverse .feature-icon{background:rgba(0, 0, 0, 0.05);color:var(--brand-black)}.feature-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.25rem;margin-bottom:0.75rem;line-height:1.4}.feature-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6;flex-grow:1}@media (max-width: 768px){.feature-card{padding:2rem}.feature-icon{width:40px;height:40px;margin-bottom:1.25rem}.feature-title{font-size:1.125rem}}",$n=Nn,ye=class{constructor(e){t.registerInstance(this,e),this.icon=void 0,this.title=void 0,this.description=void 0,this.url=void 0,this.linkText="Learn more",this.variant="default"}render(){const e=["feature-card",`feature-card-${this.variant}`].join(" ");return t.h("div",{key:"f76c056bbca7b38892cdecf56291fe3882c9e3bb",class:e},this.icon&&t.h("div",{key:"9e22a5f6c5e30b55c4bac84f5f11f773b1b37ab9",class:"feature-icon"},t.h("eds-icon-wrapper",{key:"64154c38f3655cb55f14c2963a62ead699d8a533",name:this.icon,size:24})),t.h("h3",{key:"99ed95a90796dbb6baa3f73cb2830fcd0954328c",class:"feature-title"},this.title),t.h("p",{key:"f91109a10f62a58d8b650987fbbf1a5a4f68beaa",class:"feature-description"},this.description),this.url&&t.h("eds-link",{key:"b94b57e5385da9db54a3767d0413349000add755",label:this.linkText,url:this.url,intent:"cta",icon:"arrow-right","icon-pos":"right"}))}get el(){return t.getElement(this)}};ye.style=$n;const Pn=".h-300{height:300px}.h-auto{height:auto}:host{display:flex;height:100%}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-dark{background-color:var(--grey-light)}.bg-default{background-color:var(--grey-light)}.bg-inverse{background-color:var(--white)}.bg-accent{background-color:var(--brand-green)}.bg-strongest{background-color:var(--brand-black)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:1px solid rgba(0, 0, 0, 0.08)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-sm{border-radius:8px}.rounded-lg{border-radius:16px}.border-2{border-width:1px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-x-4{-moz-column-gap:0.25rem;column-gap:0.25rem}.gap-y-4{row-gap:0.25rem}.gap-y-8{row-gap:0.5rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}.w-full{width:100%}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.overflow-hidden{overflow:hidden}.items-center{align-items:center}.justify-between{justify-content:space-between}.mt-auto{margin-top:auto}.pt-16{padding-top:1rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.card-icon-wrapper{display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem 0.5rem 1rem}.text-inverse{color:var(--white)}.text-default{color:var(--brand-black)}",Rn=Pn,we=class{constructor(e){t.registerInstance(this,e),this.parentContext=null,this.title=void 0,this.url=void 0,this.description=void 0,this.tags=[],this.intent="secondary",this.icon=void 0,this.titleSize="large",this.isHovered=!1}componentWillLoad(){}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}get parsedTags(){return I.parseData(this.tags)}articleClasses(){let e="bg-strongest";this.intent==="primary"?e="bg-accent":this.intent==="inverse"?e="bg-inverse":this.intent==="dark"&&(e="bg-dark");const n=this.url?"cursor-pointer effect-shadow hover:shadow-hover":"cursor-default";return["h-auto",e,n,"border-softer effect-focus-within relative flex grow flex-col rounded-sm border-2"].join(" ")}getLearnMoreColor(){return this.intent==="secondary"?"text-inverse":"text-default"}handleClick(){var e;w.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.title)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"})}handleMouseEnter(){this.isHovered=!0}handleMouseLeave(){this.isHovered=!1}render(){return t.h("article",{key:"6efb0c2c0c3d196b9759307bb98f4bf1e12504d5",class:this.articleClasses(),onClick:this.url?()=>this.handleClick():void 0,onMouseEnter:this.url?()=>this.handleMouseEnter():void 0,onMouseLeave:this.url?()=>this.handleMouseLeave():void 0},this.icon&&t.h("div",{key:"9c29cae822923b524668da65f3e341f9626d7e95",class:"card-icon-wrapper"},t.h("eds-icon-wrapper",{key:"104a3551d3d8b910528dd43e8a12494faf4764a0",name:this.icon,size:32})),t.h("div",{key:"cc9d326aa6e55d1ed26b73f46d5fbb8087d55bf0",class:"p-12 flex flex-col grow"},this.parsedTags&&this.parsedTags.length>0&&t.h("div",{key:"f740e184ec400d6083d04e4fa99259aa061c5dbf",class:"flex mb-12 gap-x-4"},this.parsedTags.map((e,n)=>t.h("eds-tag",{key:n,intent:e.intent,label:e.label,size:e.size}))),t.h("eds-card-title",{key:"e263ce9bd116857648439bf9f356fc110e048547",title:this.title,url:this.url,intent:this.intent,size:this.titleSize}),this.description&&t.h("div",{key:"aa6687dc61c548dd52e2d2f3eb9598f85c2af0a5",class:"mt-8"},this.description&&t.h("eds-card-desc",{key:"8b82f70b5dc513396d08affc4958d9c1040583d6","truncate-lines":"3",description:this.description,intent:this.intent})),t.h("slot",{key:"ff4d0ba6184b01b80e44c78a7cccec124f2b1706",name:"card"}),this.url&&t.h("div",{key:"889b5fbaf026df0e826626020ff201d06f047cc8",class:`flex items-center justify-between mt-auto pt-16 ${this.getLearnMoreColor()}`},t.h("span",{key:"3a5b5d603a7f3d852b5e92ba57f7214f7b9754ec",class:"f-ui-01"},"Learn more"),t.h("eds-icon-wrapper",{key:"de15571bd4892f72646c205b14105f328d5a596d",name:this.isHovered?"arrow-right":"arrow-up-right",size:32}))))}get el(){return t.getElement(this)}};we.style=Rn;const jn=":host{display:flex;height:100%}.hero-card{height:auto;position:relative;border-radius:16px;backdrop-filter:blur(20px);padding:1.5rem;display:flex;flex-direction:column;flex-grow:1;transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.hero-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.hero-card-default:hover{transform:translateY(-8px);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 20px 60px rgba(0, 0, 0, 0.15)}.hero-card-default .card-category{color:var(--grey-dark)}.hero-card-default .card-title{color:var(--white)}.hero-card-default .card-description{color:var(--grey-dark)}.hero-card-default .card-tag{background:rgba(0, 255, 157, 0.15);color:var(--brand-green)}.hero-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.hero-card-inverse:hover{transform:translateY(-8px);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 20px 60px rgba(0, 0, 0, 0.15)}.hero-card-inverse .card-category{color:var(--grey-dark)}.hero-card-inverse .card-title{color:var(--brand-black)}.hero-card-inverse .card-description{color:var(--grey-dark)}.hero-card-inverse .card-tag{background:rgba(0, 255, 157, 0.2);color:var(--brand-black)}.hero-card-clickable{cursor:pointer}.card-category{font-size:0.625rem;text-transform:uppercase;letter-spacing:0.15em;margin-bottom:0.75rem;font-weight:500}.card-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.25rem;margin-bottom:0.5rem;line-height:1.3}.card-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.8125rem;line-height:1.5;margin-bottom:1rem}.card-tags{display:flex;gap:0.5rem;flex-wrap:wrap}.card-tag{padding:0.25rem 0.625rem;border-radius:4px;font-family:'IBM Plex Mono', monospace;font-size:0.6875rem;font-weight:500}@media (max-width: 768px){.hero-card{padding:1.25rem}.card-title{font-size:1.125rem}}",Wn=jn,ke=class{constructor(e){t.registerInstance(this,e),this.parentContext=null,this.category=void 0,this.title=void 0,this.description=void 0,this.tags=[],this.url=void 0,this.variant="default"}get parsedTags(){return I.parseData(this.tags)}handleClick(){var e;this.url&&(w.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.title)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"}),window.location.href=this.url)}render(){const e=["hero-card",`hero-card-${this.variant}`,this.url?"hero-card-clickable":""].filter(Boolean).join(" ");return t.h("div",{key:"c92f2acc8065b4142b28ca213abbb646e61f44fc",class:e,onClick:()=>this.handleClick()},t.h("div",{key:"38b8ec832d05a4891646ac31f24d32f62c5ac2e1",class:"card-category"},this.category),t.h("div",{key:"d356e4651ed9d136c72c519ecb9b484570c9b3be",class:"card-title"},this.title),this.description&&t.h("div",{key:"52afdf7988667f73d8725e6a5f5b7816d4b38b30",class:"card-description"},this.description),this.parsedTags&&this.parsedTags.length>0&&t.h("div",{key:"a50fb41278d3b98da7054e0bee52d2a98ab5d8f3",class:"card-tags"},this.parsedTags.map((n,r)=>t.h("span",{key:r,class:"card-tag"},n.label))))}get el(){return t.getElement(this)}};ke.style=Wn;const qn=":host{display:flex;height:100%}.stat-card{height:auto;border-radius:16px;padding:1.75rem;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1;transition:all 0.4s ease}.stat-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.stat-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.stat-card-default .stat-number{background:linear-gradient(135deg, var(--brand-green) 0%, var(--white) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stat-card-default .stat-label{color:var(--white)}.stat-card-default .stat-description{color:var(--grey-dark)}.stat-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.stat-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.stat-card-inverse .stat-number{background:linear-gradient(135deg, var(--brand-black) 0%, var(--grey-dark) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stat-card-inverse .stat-label{color:var(--brand-black)}.stat-card-inverse .stat-description{color:var(--grey-dark)}.stat-card::before{content:'';position:absolute;top:0;left:0;width:100%;height:2px;background:linear-gradient(90deg, transparent, var(--brand-green), transparent);opacity:0;transition:opacity 0.4s ease}.stat-card:hover::before{opacity:1}.stat-card:hover{transform:translateY(-4px)}.stat-card-clickable{cursor:pointer}.stat-number{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:4rem;line-height:1;margin-bottom:0.5rem}.stat-label{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:1rem;margin-bottom:0.5rem;font-weight:400}.stat-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.8125rem;line-height:1.5}@media (max-width: 768px){.stat-card{padding:1.5rem}.stat-number{font-size:2.5rem}}",Un=qn,ze=class{constructor(e){t.registerInstance(this,e),this.parentContext=null,this.number=void 0,this.label=void 0,this.description=void 0,this.url=void 0,this.variant="default"}handleClick(){var e;this.url&&(w.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.label)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"}),window.location.href=this.url)}render(){const e=["stat-card",`stat-card-${this.variant}`,this.url?"stat-card-clickable":""].filter(Boolean).join(" ");return t.h("div",{key:"f1dadeadd1d893b7a33aa92772baf7245954f6e7",class:e,onClick:()=>this.handleClick()},t.h("div",{key:"6adb8cc68740cd2dabf0bacf0af446e1499171a8",class:"stat-number"},this.number),t.h("div",{key:"adc7a8ffd44bceda51fcb98f68cfc8d7e454db5f",class:"stat-label"},this.label),this.description&&t.h("div",{key:"f70549244277e2c08c7bd94a1d297c00655faff5",class:"stat-description"},this.description))}get el(){return t.getElement(this)}};ze.style=Un;const Zn="a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-display-02{font-family:var(--f-display-02-fontFamily);font-weight:var(--f-display-02-fontWeight);font-size:var(--f-display-02-fontSize);line-height:var(--f-display-02-lineHeight);letter-spacing:var(--f-display-02-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.font-semibold{font-weight:600}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.cursor-pointer{cursor:pointer}",Yn=Zn,Se=class{constructor(e){t.registerInstance(this,e),this.url=void 0,this.externalLink=!1,this.title=void 0,this.intent="secondary",this.size="large"}getTitleClass(){switch(this.size){case"small":return"f-heading-05";case"medium":return"f-heading-04";case"xlarge":return"f-heading-02";case"display":return"f-display-02";case"large":default:return"f-heading-03"}}render(){const e=this.intent==="secondary"?"text-inverse":"text-default",n=this.getTitleClass();return this.url?t.h("span",{class:n},t.h("a",{class:`break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none ${e} cursor-pointer`,href:this.url,target:this.externalLink?"_blank":void 0,rel:this.externalLink?"noopener noreferrer":void 0},this.title)):t.h("span",{class:`${n} ${e} break-words`},this.title)}};Se.style=Yn;var ie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ce={exports:{}};(function(e){var n=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
1392
|
+
}`,Mn=Ln,me=class{constructor(e){n.registerInstance(this,e),this.button=W(["relative items-center cursor-pointer","effect-focus","aria-disabled:text-lightest aria-disabled:bg-dark aria-disabled:cursor-not-allowed","disabled:text-lightest disabled:bg-dark disabled:cursor-not-allowed"],{variants:{intent:{primary:"bg-strongest text-inverse hover:bg-accent hover:text-default focus:shadow-none aria-disabled:shadow-none",secondary:"border-inside text-default bg-transparent hover:bg-strong-dark hover:text-inverse aria-disabled:after:!border-0",secondaryInverse:"border-inside-inverse text-inverse bg-transparent hover:bg-inverse hover:text-default aria-disabled:after:!border-0",ghost:"",ghostInverse:"text-inverse",brand:"bg-accent text-default hover:bg-strongest hover:text-inverse aria-disabled:shadow-none",brandLight:"bg-brand-light text-default hover:bg-accent hover:text-default aria-disabled:shadow-none",brandInverse:"bg-accent text-default hover:bg-inverse hover:text-default aria-disabled:shadow-none",neutral:"bg-darker after:border-softest bg-inverse hover:bg-dark hover:text-light text-inverse aria-disabled:shadow-none",cta:["cta-link !px-0 !py-0 !min-h-0 !h-auto"],"cta-brand":["cta-link-brand !px-0 !py-0 !min-h-0 !h-auto"]},loading:{true:"pointer-events-none",false:""},iconSmall:{false:"",true:""},size:{small:"min-h-36 f-ui-02 py-8",large:"min-h-44 f-ui-01 py-12"},hasIcon:{true:"",false:""},iconPos:{left:"flex-row-reverse",right:""},iconOnly:{false:"",true:""},pill:{true:"rounded-full border-inside-pill",false:"rounded-sm"},fullWidth:{true:"w-full flex",false:"inline-flex w-auto"}},compoundVariants:[{size:"small",iconOnly:!0,class:"p-8"},{size:"large",iconOnly:!0,class:"p-12"},{size:"small",iconOnly:!1,class:"px-12"},{size:"large",iconOnly:!1,class:"px-16"},{iconSmall:!0,iconPos:"left",class:"pl-4",iconOnly:!1},{iconSmall:!0,iconPos:"right",class:"pr-4",iconOnly:!1},{iconSmall:!0,iconPos:"left",size:"large",class:"pl-8",iconOnly:!1},{iconSmall:!0,iconPos:"right",size:"large",class:"pr-8",iconOnly:!1},{intent:"cta",hasIcon:!0,class:"gap-8"},{intent:"cta-brand",hasIcon:!0,class:"gap-8"},{intent:"cta",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"}],defaultVariants:{intent:"primary",loading:!1,iconSmall:!1,iconPos:"right",iconOnly:!1,pill:!1,size:"small"}}),this.parentContext=null,this.label=void 0,this.ariaLabel="Button",this.elementType="button",this.intent="primary",this.loading=!1,this.disabled=!1,this.pill=!1,this.icon=void 0,this.size="small",this.iconPos="right",this.iconSmall=!1,this.triggerClick=void 0,this.fullWidth=!1}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}handleClick(e){var t,i;if(this.disabled||this.loading){e.preventDefault();return}k.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((t=this.label)===null||t===void 0?void 0:t.toLowerCase())||((i=this.ariaLabel)===null||i===void 0?void 0:i.toLowerCase())||"",action:"click"}),typeof this.triggerClick=="function"&&this.triggerClick()}handleKeyDown(e){this.disabled||this.loading||(e.key==="Enter"||this.elementType==="a"&&e.key===" ")&&(e.preventDefault(),this.handleClick(e))}render(){const e=this.button({intent:this.intent,loading:this.loading,hasIcon:!!this.icon,iconPos:this.iconPos,size:this.size,pill:this.pill,iconOnly:!this.label,iconSmall:this.iconSmall,fullWidth:this.fullWidth}),t=this.elementType,i=!this.disabled&&!this.loading,r=this.intent==="primary"||this.intent==="secondaryInverse"?"rgba(255, 255, 255, 0.3)":"rgba(7, 20, 13, 0.3)",a=this.intent==="primary"||this.intent==="secondaryInverse"?"#FFFFFF":"#07140D";return n.h(n.Host,{key:"ad9bb3e0343e6c05c8f43ca9dc502ef28aa001d6"},n.h(t,{key:"90b51743bb12a5b4f0b309bb9d38932401ff0fa9",tabindex:i?"0":"-1","aria-label":this.label?void 0:this.ariaLabel,"aria-disabled":this.disabled||this.loading?"true":void 0,"aria-busy":this.loading?"true":void 0,disabled:this.elementType==="button"?this.disabled||this.loading:void 0,role:this.elementType==="a"?"button":void 0,class:`${e||""}`,onClick:l=>this.handleClick(l),onKeyDown:l=>this.handleKeyDown(l)},this.label&&n.h("span",{key:"35c7fa9449b445ef16d1ac77cb3ed8036e857687",class:`${this.loading?"opacity-0":""} ${this.icon&&this.intent!=="cta"&&this.intent!=="cta-brand"?this.iconPos==="right"?this.size==="large"?"pr-4":"pr-2":this.size==="large"?"pl-4":"pl-2":""}`,"aria-hidden":this.loading?"true":void 0},this.label),this.loading&&n.h("span",{key:"5a6a5c78568dae1b77433147e1ae04f9139467de",class:"absolute inset-0 flex items-center justify-center","aria-hidden":"true"},n.h("span",{key:"e392714658931a190cbfcae756c16831f69f8f0d",class:"loader",style:{border:`3px solid ${r}`,borderBottomColor:a}})),this.icon?n.h("eds-icon-wrapper",{name:this.icon,size:20,"aria-hidden":"true",class:this.loading?"opacity-0":""}):null))}static get delegatesFocus(){return!0}get el(){return n.getElement(this)}};me.style=Mn;const Hn=":host{display:flex;height:100%}.app-card{height:auto;border-radius:16px;padding:1.5rem;transition:all 0.4s ease;display:flex;flex-direction:column;flex-grow:1}.app-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.app-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);transform:translateY(-4px);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.app-card-default .app-title{color:var(--white)}.app-card-default .app-description{color:var(--grey-light)}.app-card-default .app-tag{background:rgba(255, 255, 255, 0.1);color:var(--white)}.app-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.app-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);transform:translateY(-4px);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.app-card-inverse .app-title{color:var(--brand-black)}.app-card-inverse .app-description{color:var(--grey-dark)}.app-card-inverse .app-tag{background:rgba(0, 0, 0, 0.08);color:var(--brand-black)}eds-tag{margin-bottom:1rem}.app-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.75rem;margin-top:0;margin-bottom:1rem;line-height:1.3}.app-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6;margin-bottom:1.5rem;flex-grow:1}.app-tags{display:flex;gap:0.5rem;flex-wrap:wrap;margin-bottom:1.5rem}.app-tag{padding:0.375rem 0.75rem;border-radius:4px;font-size:0.75rem;font-weight:400}@media (max-width: 768px){.app-card{padding:2rem}.app-title{font-size:1.5rem}}",Dn=Hn,ue=class{constructor(e){n.registerInstance(this,e),this.category=void 0,this.title=void 0,this.description=void 0,this.tags=[],this.url=void 0,this.linkText="Explore Components",this.variant="default"}get parsedTags(){return F.parseData(this.tags)}render(){const e=["app-card",`app-card-${this.variant}`].join(" "),t=this.variant==="default"?"cta-brand":"cta",i=this.variant==="default"?"brand":"dark";return n.h("div",{key:"84aa9bd8ccac7cd163a0295e53610d3f149d2fc7",class:e},this.category&&n.h("eds-tag",{key:"ff5f5fc550289df7dc13c9d77e9ee318692c54ef",label:this.category,intent:i,size:"medium"}),n.h("h3",{key:"7f3ed9e3c270cf7c7d99f084cd3f7dac93929676",class:"app-title"},this.title),n.h("p",{key:"969ed185ab45832e1e10a5446067f6926864696c",class:"app-description"},this.description),this.parsedTags&&this.parsedTags.length>0&&n.h("div",{key:"4a619204bcfe0b85e3e69b58157269f7bed9f44b",class:"app-tags"},this.parsedTags.map((r,a)=>n.h("span",{key:a,class:"app-tag"},r.label))),this.url&&n.h("eds-link",{key:"d2f32c5114f60cf2b25e96db84e090d90fe1a9ed",label:this.linkText,url:this.url,intent:t,icon:"arrow-right","icon-pos":"right"}))}get el(){return n.getElement(this)}};ue.style=Dn;const Bn=":host{display:flex;height:100%}.cta-container{height:auto;text-align:center;border-radius:16px;padding:1.5rem;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1;justify-content:flex-start}.cta-container-default{background-color:var(--brand-black);border:1px solid rgba(0, 255, 157, 0.25)}.cta-container-default .cta-title{color:var(--white)}.cta-container-default .cta-description{color:var(--grey-light)}.cta-container-default .cta-link{color:var(--grey-dark)}.cta-container-inverse{background-color:var(--white);border:1px solid rgba(0, 255, 157, 0.15)}.cta-container-inverse .cta-title{color:var(--brand-black)}.cta-container-inverse .cta-description{color:var(--grey-dark)}.cta-container-inverse .cta-link{color:var(--grey-dark)}.cta-container::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at center, rgba(0, 255, 157, 0.1) 0%, transparent 50%);animation:rotate 20s linear infinite;pointer-events:none}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.cta-content{position:relative;z-index:1;width:100%;flex-grow:1;display:flex;flex-direction:column}.cta-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:clamp(1.5rem, 4vw, 2rem);letter-spacing:-0.02em;margin-bottom:1rem;line-height:1.2}.cta-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:1rem;margin:0 0 1.5rem;line-height:1.6}.cta-actions{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem;flex-wrap:wrap;margin-top:auto}.cta-links{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}@media (max-width: 768px){.cta-container{padding:1.5rem}.cta-title{font-size:1.25rem}.cta-description{font-size:0.875rem;margin-bottom:1rem}.cta-actions{gap:0.75rem;margin-bottom:1rem}.cta-links{gap:0.75rem}}",Tn=Bn,xe=class{constructor(e){n.registerInstance(this,e),this.handlePrimaryClick=()=>{this.primaryButtonUrl&&(window.location.href=this.primaryButtonUrl)},this.handleSecondaryClick=()=>{this.secondaryButtonUrl&&(window.location.href=this.secondaryButtonUrl)},this.title=void 0,this.description=void 0,this.primaryButtonText="Get Started",this.primaryButtonUrl=void 0,this.secondaryButtonText=void 0,this.secondaryButtonUrl=void 0,this.links=[],this.variant="default"}get parsedLinks(){return F.parseData(this.links)}render(){const e=["cta-container",`cta-container-${this.variant}`].join(" "),t=this.variant==="default"?"brandInverse":"brand",i=this.variant==="default"?"secondaryInverse":"secondary",r=this.variant==="default"?"cta":"underline";return n.h("div",{key:"6a3ccb2ee1f3ad3cc7c3fc0c54381284a9a5190b",class:e},n.h("div",{key:"2a6ad1f084c3e7afea0a11a35c8b5e20d3a2c7ee",class:"cta-content"},n.h("h2",{key:"157f32d98283cf59a16f73def69974238e4dc938",class:"cta-title",innerHTML:this.title}),n.h("p",{key:"660beebc8c10f93a7052c23e5eacb2481fb3bcd7",class:"cta-description"},this.description),n.h("div",{key:"e7610c3e2738aace2ac921304c6b2a6e5f5a5952",class:"cta-actions"},n.h("slot",{key:"75113d5cc2d10aaaa2d6b7b4f0f16ea916a5a1ae",name:"actions"},n.h("eds-button",{key:"140823c45ce817555ebe0969f1f07787b5d40819",label:this.primaryButtonText,intent:t,icon:"arrow-right","icon-pos":"right",size:"large",triggerClick:this.handlePrimaryClick}),this.secondaryButtonText&&n.h("eds-button",{key:"8b2cd73793a85d6da3c138459f9ab864e9f2b9ab",label:this.secondaryButtonText,intent:i,size:"large",triggerClick:this.handleSecondaryClick}))),this.parsedLinks&&this.parsedLinks.length>0&&n.h("div",{key:"10f5ebc9ed558a29e166325ff143f79b5324f130",class:"cta-links"},this.parsedLinks.map((a,l)=>n.h("eds-link",{key:l,label:a.label,url:a.url,intent:r})))))}get el(){return n.getElement(this)}};xe.style=Tn;const Vn=".f-body-02{font-family:var(--f-body-02-fontFamily);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}",On=Vn,ve=class{constructor(e){n.registerInstance(this,e),this.description=void 0,this.truncate=!0,this.truncateLines="3",this.intent="secondary"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}render(){return n.h("p",{key:"d7d9f5d40d82700388753a165a998574bd69e674",class:`f-body-02 ${this.intent==="secondary"?"text-inverse":"text-default"}`},n.h("span",{key:"bff2551896e726ce02a78b448a0e3f2a3df0c697",class:this.getTruncateClass()},this.description))}};ve.style=On;const $n=":host{display:flex;height:100%}.feature-card{height:auto;border-radius:16px;padding:1.5rem;transition:all 0.4s ease;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1}.feature-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.feature-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.feature-card-default .feature-title{color:var(--white)}.feature-card-default .feature-description{color:var(--grey-light)}.feature-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.feature-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.feature-card-inverse .feature-title{color:var(--brand-black)}.feature-card-inverse .feature-description{color:var(--grey-dark)}.feature-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(0, 255, 157, 0.1);border-radius:12px;color:var(--brand-green);flex-shrink:0}.feature-card-inverse .feature-icon{background:rgba(0, 0, 0, 0.05);color:var(--brand-black)}.feature-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.25rem;margin-bottom:0.75rem;line-height:1.4}.feature-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6;flex-grow:1}@media (max-width: 768px){.feature-card{padding:2rem}.feature-icon{width:40px;height:40px;margin-bottom:1.25rem}.feature-title{font-size:1.125rem}}",Nn=$n,ye=class{constructor(e){n.registerInstance(this,e),this.icon=void 0,this.title=void 0,this.description=void 0,this.url=void 0,this.linkText="Learn more",this.variant="default"}render(){const e=["feature-card",`feature-card-${this.variant}`].join(" ");return n.h("div",{key:"585107ac2cfc2ea55fc560d2da9e6bfc0595b5ad",class:e},this.icon&&n.h("div",{key:"6dd26bd834d446872d0ab27e8a26e08488507686",class:"feature-icon"},n.h("eds-icon-wrapper",{key:"e5502241c155784370a0e5f214b0bfd88aa634a7",name:this.icon,size:24})),n.h("h3",{key:"974e30754eb9d4aa37beddc7ed065228df704009",class:"feature-title"},this.title),n.h("p",{key:"605f476de2001a1b85ec95b5c11eaa8a3cfcb9f3",class:"feature-description"},this.description),this.url&&n.h("eds-link",{key:"5ee756a958973fc4f7daf6e0bdad4e42179becb3",label:this.linkText,url:this.url,intent:"cta",icon:"arrow-right","icon-pos":"right"}))}get el(){return n.getElement(this)}};ye.style=Nn;const Pn=".h-300{height:300px}.h-auto{height:auto}:host{display:flex;height:100%}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-dark{background-color:var(--grey-light)}.bg-default{background-color:var(--grey-light)}.bg-inverse{background-color:var(--white)}.bg-accent{background-color:var(--brand-green)}.bg-strongest{background-color:var(--brand-black)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:1px solid rgba(0, 0, 0, 0.08)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-sm{border-radius:8px}.rounded-lg{border-radius:16px}.border-2{border-width:1px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-x-4{-moz-column-gap:0.25rem;column-gap:0.25rem}.gap-y-4{row-gap:0.25rem}.gap-y-8{row-gap:0.5rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}.w-full{width:100%}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.overflow-hidden{overflow:hidden}.items-center{align-items:center}.justify-between{justify-content:space-between}.mt-auto{margin-top:auto}.pt-16{padding-top:1rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.card-icon-wrapper{display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem 0.5rem 1rem}.text-inverse{color:var(--white)}.text-default{color:var(--brand-black)}",Rn=Pn,we=class{constructor(e){n.registerInstance(this,e),this.parentContext=null,this.title=void 0,this.url=void 0,this.description=void 0,this.tags=[],this.intent="secondary",this.icon=void 0,this.titleSize="large",this.isHovered=!1}componentWillLoad(){}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}get parsedTags(){return F.parseData(this.tags)}articleClasses(){let e="bg-strongest";this.intent==="primary"?e="bg-accent":this.intent==="inverse"?e="bg-inverse":this.intent==="dark"&&(e="bg-dark");const t=this.url?"cursor-pointer effect-shadow hover:shadow-hover":"cursor-default";return["h-auto",e,t,"border-softer effect-focus-within relative flex grow flex-col rounded-sm border-2"].join(" ")}getLearnMoreColor(){return this.intent==="secondary"?"text-inverse":"text-default"}handleClick(){var e;k.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.title)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"})}handleMouseEnter(){this.isHovered=!0}handleMouseLeave(){this.isHovered=!1}render(){return n.h("article",{key:"3757ce9c894928dc158e920f10fb5ffdc46a1f8d",class:this.articleClasses(),onClick:this.url?()=>this.handleClick():void 0,onMouseEnter:this.url?()=>this.handleMouseEnter():void 0,onMouseLeave:this.url?()=>this.handleMouseLeave():void 0},this.icon&&n.h("div",{key:"70683a1435c967b26f1d8eae69b1aaccb29e0a75",class:"card-icon-wrapper"},n.h("eds-icon-wrapper",{key:"74386a2045b07aa177cd18b6c10f99cca870d228",name:this.icon,size:32})),n.h("div",{key:"38bfc9f2895eba37ced45b8cb8ec3e65bdae559e",class:"p-12 flex flex-col grow"},this.parsedTags&&this.parsedTags.length>0&&n.h("div",{key:"33b736039f478cbdffd3322b2d2bb60754318140",class:"flex mb-12 gap-x-4"},this.parsedTags.map((e,t)=>n.h("eds-tag",{key:t,intent:e.intent,label:e.label,size:e.size}))),n.h("eds-card-title",{key:"57b16d2c6d579b143bb91af377bf6e8dc161b210",title:this.title,url:this.url,intent:this.intent,size:this.titleSize}),this.description&&n.h("div",{key:"7fa96262badff009bbeaf21c200a0c49413ec37d",class:"mt-8"},this.description&&n.h("eds-card-desc",{key:"2a4381f7f709774591c944308f033ef49d59cf8d","truncate-lines":"3",description:this.description,intent:this.intent})),n.h("slot",{key:"bba602658c39a0332c9a1cf65b5c3b5f614d7bb5",name:"card"}),this.url&&n.h("div",{key:"c14cc16acd3d000cb550a3d8fa01eaf52da70893",class:`flex items-center justify-between mt-auto pt-16 ${this.getLearnMoreColor()}`},n.h("span",{key:"66b50d088e275373a4368962f70396342f0e0353",class:"f-ui-01"},"Learn more"),n.h("eds-icon-wrapper",{key:"f2de3d43d1965815d24455b2c2b0a96f5feb64a1",name:this.isHovered?"arrow-right":"arrow-up-right",size:32}))))}get el(){return n.getElement(this)}};we.style=Rn;const jn=":host{display:flex;height:100%}.hero-card{height:auto;position:relative;border-radius:16px;backdrop-filter:blur(20px);padding:1.5rem;display:flex;flex-direction:column;flex-grow:1;transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.hero-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.hero-card-default:hover{transform:translateY(-8px);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 20px 60px rgba(0, 0, 0, 0.15)}.hero-card-default .card-category{color:var(--grey-dark)}.hero-card-default .card-title{color:var(--white)}.hero-card-default .card-description{color:var(--grey-dark)}.hero-card-default .card-tag{background:rgba(0, 255, 157, 0.15);color:var(--brand-green)}.hero-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.hero-card-inverse:hover{transform:translateY(-8px);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 20px 60px rgba(0, 0, 0, 0.15)}.hero-card-inverse .card-category{color:var(--grey-dark)}.hero-card-inverse .card-title{color:var(--brand-black)}.hero-card-inverse .card-description{color:var(--grey-dark)}.hero-card-inverse .card-tag{background:rgba(0, 255, 157, 0.2);color:var(--brand-black)}.hero-card-clickable{cursor:pointer}.card-category{font-size:0.625rem;text-transform:uppercase;letter-spacing:0.15em;margin-bottom:0.75rem;font-weight:500}.card-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.25rem;margin-bottom:0.5rem;line-height:1.3}.card-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.8125rem;line-height:1.5;margin-bottom:1rem}.card-tags{display:flex;gap:0.5rem;flex-wrap:wrap}.card-tag{padding:0.25rem 0.625rem;border-radius:4px;font-family:'IBM Plex Mono', monospace;font-size:0.6875rem;font-weight:500}@media (max-width: 768px){.hero-card{padding:1.25rem}.card-title{font-size:1.125rem}}",Wn=jn,ke=class{constructor(e){n.registerInstance(this,e),this.parentContext=null,this.category=void 0,this.title=void 0,this.description=void 0,this.tags=[],this.url=void 0,this.variant="default"}get parsedTags(){return F.parseData(this.tags)}handleClick(){var e;this.url&&(k.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.title)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"}),window.location.href=this.url)}render(){const e=["hero-card",`hero-card-${this.variant}`,this.url?"hero-card-clickable":""].filter(Boolean).join(" ");return n.h("div",{key:"c5b0745da99444ae9981161910e7248d50865d6c",class:e,onClick:()=>this.handleClick()},n.h("div",{key:"adb890d7bd56faff4bdeaea9a1550209a8e9847f",class:"card-category"},this.category),n.h("div",{key:"c6d68b85a94c753e383f0dc92709cdbb859a9400",class:"card-title"},this.title),this.description&&n.h("div",{key:"47d880f01f9e0d3feaa46bc3310e1018b71eb5da",class:"card-description"},this.description),this.parsedTags&&this.parsedTags.length>0&&n.h("div",{key:"8f1060a78bebd9def4ac7a1e6ba79a12094363e0",class:"card-tags"},this.parsedTags.map((t,i)=>n.h("span",{key:i,class:"card-tag"},t.label))))}get el(){return n.getElement(this)}};ke.style=Wn;const qn=":host{display:flex;height:100%}.stat-card{height:auto;border-radius:16px;padding:1.75rem;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1;transition:all 0.4s ease}.stat-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.stat-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.stat-card-default .stat-number{background:linear-gradient(135deg, var(--brand-green) 0%, var(--white) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stat-card-default .stat-label{color:var(--white)}.stat-card-default .stat-description{color:var(--grey-dark)}.stat-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.stat-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.stat-card-inverse .stat-number{background:linear-gradient(135deg, var(--brand-black) 0%, var(--grey-dark) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stat-card-inverse .stat-label{color:var(--brand-black)}.stat-card-inverse .stat-description{color:var(--grey-dark)}.stat-card::before{content:'';position:absolute;top:0;left:0;width:100%;height:2px;background:linear-gradient(90deg, transparent, var(--brand-green), transparent);opacity:0;transition:opacity 0.4s ease}.stat-card:hover::before{opacity:1}.stat-card:hover{transform:translateY(-4px)}.stat-card-clickable{cursor:pointer}.stat-number{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:4rem;line-height:1;margin-bottom:0.5rem}.stat-label{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:1rem;margin-bottom:0.5rem;font-weight:400}.stat-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.8125rem;line-height:1.5}@media (max-width: 768px){.stat-card{padding:1.5rem}.stat-number{font-size:2.5rem}}",Un=qn,ze=class{constructor(e){n.registerInstance(this,e),this.parentContext=null,this.number=void 0,this.label=void 0,this.description=void 0,this.url=void 0,this.variant="default"}handleClick(){var e;this.url&&(k.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.label)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"}),window.location.href=this.url)}render(){const e=["stat-card",`stat-card-${this.variant}`,this.url?"stat-card-clickable":""].filter(Boolean).join(" ");return n.h("div",{key:"0c4dcd6130ae23813c7decf3dd6d3ce465a9b743",class:e,onClick:()=>this.handleClick()},n.h("div",{key:"8c787c4ed6e96c9c0403a119edc534b8698e4296",class:"stat-number"},this.number),n.h("div",{key:"7d86e9731cf43d3ffa923bdf27403ba34ab4dc0a",class:"stat-label"},this.label),this.description&&n.h("div",{key:"aaf9942a61087f46dc883d64184e6b33a4cb4d71",class:"stat-description"},this.description))}get el(){return n.getElement(this)}};ze.style=Un;const Yn="a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-display-02{font-family:var(--f-display-02-fontFamily);font-weight:var(--f-display-02-fontWeight);font-size:var(--f-display-02-fontSize);line-height:var(--f-display-02-lineHeight);letter-spacing:var(--f-display-02-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.font-semibold{font-weight:600}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.cursor-pointer{cursor:pointer}",Zn=Yn,Se=class{constructor(e){n.registerInstance(this,e),this.url=void 0,this.externalLink=!1,this.title=void 0,this.intent="secondary",this.size="large"}getTitleClass(){switch(this.size){case"small":return"f-heading-05";case"medium":return"f-heading-04";case"xlarge":return"f-heading-02";case"display":return"f-display-02";case"large":default:return"f-heading-03"}}render(){const e=this.intent==="secondary"?"text-inverse":"text-default",t=this.getTitleClass();return this.url?n.h("span",{class:t},n.h("a",{class:`break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none ${e} cursor-pointer`,href:this.url,target:this.externalLink?"_blank":void 0,rel:this.externalLink?"noopener noreferrer":void 0},this.title)):n.h("span",{class:`${t} ${e} break-words`},this.title)}};Se.style=Zn;var re=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ce={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
1393
1393
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
1394
1394
|
*
|
|
1395
1395
|
* @license MIT <https://opensource.org/licenses/MIT>
|
|
1396
1396
|
* @author Lea Verou <https://lea.verou.me>
|
|
1397
1397
|
* @namespace
|
|
1398
1398
|
* @public
|
|
1399
|
-
*/var r=function(i){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,s={},o={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function c(d){return d instanceof h?new h(d.type,c(d.content),d.alias):Array.isArray(d)?d.map(c):d.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(c){return Object.prototype.toString.call(c).slice(8,-1)},objId:function(c){return c.__id||Object.defineProperty(c,"__id",{value:++l}),c.__id},clone:function c(d,g){g=g||{};var b,p;switch(o.util.type(d)){case"Object":if(p=o.util.objId(d),g[p])return g[p];b={},g[p]=b;for(var m in d)d.hasOwnProperty(m)&&(b[m]=c(d[m],g));return b;case"Array":return p=o.util.objId(d),g[p]?g[p]:(b=[],g[p]=b,d.forEach(function(v,u){b[u]=c(v,g)}),b);default:return d}},getLanguage:function(c){for(;c;){var d=a.exec(c.className);if(d)return d[1].toLowerCase();c=c.parentElement}return"none"},setLanguage:function(c,d){c.className=c.className.replace(RegExp(a,"gi"),""),c.classList.add("language-"+d)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(b){var c=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(b.stack)||[])[1];if(c){var d=document.getElementsByTagName("script");for(var g in d)if(d[g].src==c)return d[g]}return null}},isActive:function(c,d,g){for(var b="no-"+d;c;){var p=c.classList;if(p.contains(d))return!0;if(p.contains(b))return!1;c=c.parentElement}return!!g}},languages:{plain:s,plaintext:s,text:s,txt:s,extend:function(c,d){var g=o.util.clone(o.languages[c]);for(var b in d)g[b]=d[b];return g},insertBefore:function(c,d,g,b){b=b||o.languages;var p=b[c],m={};for(var v in p)if(p.hasOwnProperty(v)){if(v==d)for(var u in g)g.hasOwnProperty(u)&&(m[u]=g[u]);g.hasOwnProperty(v)||(m[v]=p[v])}var k=b[c];return b[c]=m,o.languages.DFS(o.languages,function(E,M){M===k&&E!=c&&(this[E]=m)}),m},DFS:function c(d,g,b,p){p=p||{};var m=o.util.objId;for(var v in d)if(d.hasOwnProperty(v)){g.call(d,v,d[v],b||v);var u=d[v],k=o.util.type(u);k==="Object"&&!p[m(u)]?(p[m(u)]=!0,c(u,g,null,p)):k==="Array"&&!p[m(u)]&&(p[m(u)]=!0,c(u,g,v,p))}}},plugins:{},highlightAll:function(c,d){o.highlightAllUnder(document,c,d)},highlightAllUnder:function(c,d,g){var b={callback:g,container:c,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",b),b.elements=Array.prototype.slice.apply(b.container.querySelectorAll(b.selector)),o.hooks.run("before-all-elements-highlight",b);for(var p=0,m;m=b.elements[p++];)o.highlightElement(m,d===!0,b.callback)},highlightElement:function(c,d,g){var b=o.util.getLanguage(c),p=o.languages[b];o.util.setLanguage(c,b);var m=c.parentElement;m&&m.nodeName.toLowerCase()==="pre"&&o.util.setLanguage(m,b);var v=c.textContent,u={element:c,language:b,grammar:p,code:v};function k(M){u.highlightedCode=M,o.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,o.hooks.run("after-highlight",u),o.hooks.run("complete",u),g&&g.call(u.element)}if(o.hooks.run("before-sanity-check",u),m=u.element.parentElement,m&&m.nodeName.toLowerCase()==="pre"&&!m.hasAttribute("tabindex")&&m.setAttribute("tabindex","0"),!u.code){o.hooks.run("complete",u),g&&g.call(u.element);return}if(o.hooks.run("before-highlight",u),!u.grammar){k(o.util.encode(u.code));return}if(d&&i.Worker){var E=new Worker(o.filename);E.onmessage=function(M){k(M.data)},E.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else k(o.highlight(u.code,u.grammar,u.language))},highlight:function(c,d,g){var b={code:c,grammar:d,language:g};if(o.hooks.run("before-tokenize",b),!b.grammar)throw new Error('The language "'+b.language+'" has no grammar.');return b.tokens=o.tokenize(b.code,b.grammar),o.hooks.run("after-tokenize",b),h.stringify(o.util.encode(b.tokens),b.language)},tokenize:function(c,d){var g=d.rest;if(g){for(var b in g)d[b]=g[b];delete d.rest}var p=new A;return _(p,p.head,c),z(c,p,d,p.head,0),T(p)},hooks:{all:{},add:function(c,d){var g=o.hooks.all;g[c]=g[c]||[],g[c].push(d)},run:function(c,d){var g=o.hooks.all[c];if(!(!g||!g.length))for(var b=0,p;p=g[b++];)p(d)}},Token:h};i.Prism=o;function h(c,d,g,b){this.type=c,this.content=d,this.alias=g,this.length=(b||"").length|0}h.stringify=function c(d,g){if(typeof d=="string")return d;if(Array.isArray(d)){var b="";return d.forEach(function(k){b+=c(k,g)}),b}var p={type:d.type,content:c(d.content,g),tag:"span",classes:["token",d.type],attributes:{},language:g},m=d.alias;m&&(Array.isArray(m)?Array.prototype.push.apply(p.classes,m):p.classes.push(m)),o.hooks.run("wrap",p);var v="";for(var u in p.attributes)v+=" "+u+'="'+(p.attributes[u]||"").replace(/"/g,""")+'"';return"<"+p.tag+' class="'+p.classes.join(" ")+'"'+v+">"+p.content+"</"+p.tag+">"};function x(c,d,g,b){c.lastIndex=d;var p=c.exec(g);if(p&&b&&p[1]){var m=p[1].length;p.index+=m,p[0]=p[0].slice(m)}return p}function z(c,d,g,b,p,m){for(var v in g)if(!(!g.hasOwnProperty(v)||!g[v])){var u=g[v];u=Array.isArray(u)?u:[u];for(var k=0;k<u.length;++k){if(m&&m.cause==v+","+k)return;var E=u[k],M=E.inside,J=!!E.lookbehind,Q=!!E.greedy,bn=E.alias;if(Q&&!E.pattern.global){var pn=E.pattern.toString().match(/[imsuy]*$/)[0];E.pattern=RegExp(E.pattern.source,pn+"g")}for(var ee=E.pattern||E,F=b.next,H=p;F!==d.tail&&!(m&&H>=m.reach);H+=F.value.length,F=F.next){var B=F.value;if(d.length>c.length)return;if(!(B instanceof h)){var $=1,L;if(Q){if(L=x(ee,H,c,J),!L||L.index>=c.length)break;var P=L.index,un=L.index+L[0].length,D=H;for(D+=F.value.length;P>=D;)F=F.next,D+=F.value.length;if(D-=F.value.length,H=D,F.value instanceof h)continue;for(var O=F;O!==d.tail&&(D<un||typeof O.value=="string");O=O.next)$++,D+=O.value.length;$--,B=c.slice(H,D),L.index-=H}else if(L=x(ee,0,B,J),!L)continue;var P=L.index,R=L[0],q=B.slice(0,P),ne=B.slice(P+R.length),U=H+B.length;m&&U>m.reach&&(m.reach=U);var j=F.prev;q&&(j=_(d,j,q),H+=q.length),V(d,j,$);var mn=new h(v,M?o.tokenize(R,M):R,bn,R);if(F=_(d,j,mn),ne&&_(d,F,ne),$>1){var Z={cause:v+","+k,reach:U};z(c,d,g,F.prev,H,Z),m&&Z.reach>m.reach&&(m.reach=Z.reach)}}}}}}function A(){var c={value:null,prev:null,next:null},d={value:null,prev:c,next:null};c.next=d,this.head=c,this.tail=d,this.length=0}function _(c,d,g){var b=d.next,p={value:g,prev:d,next:b};return d.next=p,b.prev=p,c.length++,p}function V(c,d,g){for(var b=d.next,p=0;p<g&&b!==c.tail;p++)b=b.next;d.next=b,b.prev=d,c.length-=p}function T(c){for(var d=[],g=c.head.next;g!==c.tail;)d.push(g.value),g=g.next;return d}if(!i.document)return i.addEventListener&&(o.disableWorkerMessageHandler||i.addEventListener("message",function(c){var d=JSON.parse(c.data),g=d.language,b=d.code,p=d.immediateClose;i.postMessage(o.highlight(b,o.languages[g],g)),p&&i.close()},!1)),o;var S=o.util.currentScript();S&&(o.filename=S.src,S.hasAttribute("data-manual")&&(o.manual=!0));function y(){o.manual||o.highlightAll()}if(!o.manual){var C=document.readyState;C==="loading"||C==="interactive"&&S&&S.defer?document.addEventListener("DOMContentLoaded",y):window.requestAnimationFrame?window.requestAnimationFrame(y):window.setTimeout(y,16)}return o}(n);e.exports&&(e.exports=r),typeof ie<"u"&&(ie.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(a,l){var s={};s["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[l]},s.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:s}};o["language-"+l]={pattern:/[\s\S]+/,inside:r.languages[l]};var h={};h[a]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:o},r.languages.insertBefore("markup","cdata",h)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(i,a){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:r.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(i){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var l=i.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var i="Loading…",a=function(S,y){return"✖ Error "+S+" while fetching file: "+y},l="✖ Error: File does not exist or is empty",s={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},o="data-src-status",h="loading",x="loaded",z="failed",A="pre[data-src]:not(["+o+'="'+x+'"]):not(['+o+'="'+h+'"])';function _(S,y,C){var c=new XMLHttpRequest;c.open("GET",S,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status<400&&c.responseText?y(c.responseText):c.status>=400?C(a(c.status,c.statusText)):C(l))},c.send(null)}function V(S){var y=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(S||"");if(y){var C=Number(y[1]),c=y[2],d=y[3];return c?d?[C,Number(d)]:[C,void 0]:[C,C]}}r.hooks.add("before-highlightall",function(S){S.selector+=", "+A}),r.hooks.add("before-sanity-check",function(S){var y=S.element;if(y.matches(A)){S.code="",y.setAttribute(o,h);var C=y.appendChild(document.createElement("CODE"));C.textContent=i;var c=y.getAttribute("data-src"),d=S.language;if(d==="none"){var g=(/\.(\w+)$/.exec(c)||[,"none"])[1];d=s[g]||g}r.util.setLanguage(C,d),r.util.setLanguage(y,d);var b=r.plugins.autoloader;b&&b.loadLanguages(d),_(c,function(p){y.setAttribute(o,x);var m=V(y.getAttribute("data-range"));if(m){var v=p.split(/\r\n?|\n/g),u=m[0],k=m[1]==null?v.length:m[1];u<0&&(u+=v.length),u=Math.max(0,Math.min(u-1,v.length)),k<0&&(k+=v.length),k=Math.max(0,Math.min(k,v.length)),p=v.slice(u,k).join(`
|
|
1400
|
-
`),y.hasAttribute("data-start")||y.setAttribute("data-start",String(u+1))}C.textContent=p,r.highlightElement(C)},function(p){y.setAttribute(o,z),C.textContent=p})}}),r.plugins.fileHighlight={highlight:function(y){for(var C=(y||document).querySelectorAll(A),c=0,d;d=C[c++];)r.highlightElement(d)}};var T=!1;r.fileHighlight=function(){T||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),T=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Ce);const Y=Ce.exports;Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(e){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=i.variable[1].inside,s=0;s<a.length;s++)l[a[s]]=e.languages.bash[a[s]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);(function(e){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(o,h){h=(h||"").replace(/m/g,"")+"m";var x=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return o});return RegExp(x,h)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(l),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(Prism);const Kn=`:host{display:block}.relative{position:relative}.bg-strongest{background-color:#07140D;border:1px solid rgba(255, 255, 255, 0.1)}.rounded-sm{border-radius:12px;overflow:hidden}.text-inverse{color:#E5E7EB}.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.p-8{padding:0.75rem 1rem;background:rgba(255, 255, 255, 0.05);border-bottom:1px solid rgba(255, 255, 255, 0.08)}.f-ui-03{font-family:'IBM Plex Mono', 'Courier New', monospace;font-size:0.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:0.1em;color:#00FF9D;background:rgba(0, 255, 157, 0.1);padding:0.25rem 0.5rem;border-radius:4px;line-height:1.4}.w-20{width:1.25rem}.h-20{height:1.25rem}.mt-8{margin-top:0;cursor:pointer;color:#9CA3AF;transition:color 0.2s ease}.mt-8:hover{color:white}pre{margin:0;color:#D1D5DB;overflow-x:auto}pre[class*="language-"]{white-space:pre-wrap;word-break:break-word}.bg-stronger{background:transparent}.pl-8{padding:1.25rem 1.5rem}.pb-8{padding-bottom:1.25rem}code{font-family:'IBM Plex Mono', 'Courier New', monospace;font-size:0.875rem;line-height:1.7}.token.keyword{color:#ff79c6}.token.string{color:#00FF9D}.token.function{color:#8be9fd}.token.comment{color:#6B7280;font-style:italic}.token.tag{color:#ff79c6}.token.attr-name{color:#8be9fd}.token.attr-value{color:#00FF9D}.token.punctuation{color:#d8d8d8}.token.operator{color:#8be9fd}.token.number{color:#ffb87e}.token.boolean{color:#d18fff}.token.property{color:#8be9fd}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}`,Gn=Kn,Ee=class{constructor(e){t.registerInstance(this,e),this.code=void 0,this.language=void 0,this.copied=!1}copyToClipboard(){navigator.clipboard.writeText(this.code).then(()=>{this.copied=!0,setTimeout(()=>this.copied=!1,2e3)})}getHighlightedCode(){return this.language&&Y.languages[this.language]?Y.highlight(this.code,Y.languages[this.language],this.language):this.code}render(){return t.h("div",{key:"4d73fa52c489b6995dd8a6d83c05e323bb1f5431",class:"relative bg-strongest rounded-sm"},t.h("div",{key:"c0df3237009310833b417f5ede5b7c204f2752bc",class:"text-inverse flex justify-between items-center p-8"},this.language?t.h("span",{class:"f-ui-03"},this.language.toUpperCase()):t.h("pre",{class:"bg-stronger pl-8",role:"region","aria-label":"Code block without language"},t.h("code",{innerHTML:this.getHighlightedCode()})),t.h("span",{key:"016505a0749baaa52c6e4aa77f00b4da31e7ec45","aria-hidden":"true",class:"w-20 h-20 mt-8"},t.h("eds-icon-wrapper",{key:"21474f1b28af95251aca639c349aaac489d8519b",name:this.copied?"checkmark-filled":"copy",onClick:()=>this.copyToClipboard()})),t.h("span",{key:"64450529ad3cf3dab7e74f8455307cdb3298bbc4",class:"sr-only"},"Copy Code")),this.language&&t.h("pre",{key:"affcb4719ef29d7ed9ed676eab975c98ceca31fa",class:`language-${this.language} bg-stronger pl-8 pb-8`,role:"region","aria-label":`Code block in ${this.language}`},t.h("code",{key:"43fa1b80c2e02233076c4da15a5aa04f0b49bfc3",innerHTML:this.getHighlightedCode()})))}get el(){return t.getElement(this)}};Ee.style=Gn;const Xn=".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}",Jn=Xn,Fe=class{constructor(e){t.registerInstance(this,e),this.dropdown=t.createEvent(this,"dropdown",7),this.focusableItems=[],this.handleClick=()=>{var n,r;this.isOpen=!this.isOpen,this.isOpen?(this.focusableItems=Array.from(((n=this.panelEl)===null||n===void 0?void 0:n.querySelectorAll('a, button, [role="menuitem"]'))||[]),this.focusableItems.forEach(i=>{i.hasAttribute("role")||i.setAttribute("role","menuitem")}),this.focusIndex=this.focusableItems.length?0:-1,this.focusItem()):this.closeDropdown(),this.dropdown.emit({expanded:this.isOpen}),w.sendAnalytics({category:"ui-component",parentContext:null,tag:this.host.tagName.toLowerCase(),name:((r=this.label)===null||r===void 0?void 0:r.toLowerCase())||"",action:this.isOpen?"expanded":"collapsed"})},this.icon="chevron-down",this.label=void 0,this.ariaLabel="Open dropdown",this.asNav=!0,this.dropdownPos="left",this.dropdownOffset=!0,this.intent="ghost",this.autoClose=!0,this.noCloseSelector="[data-dropdown-no-close]",this.isOpen=!1,this.focusIndex=-1}async close(){this.closeDropdown()}handleWindowClick(e){(e.composedPath&&e.composedPath()||[]).includes(this.host)||this.closeDropdown()}handleKeyDown(e){var n;if(this.isOpen)switch(e.key){case"Tab":this.closeDropdown();break;case"Escape":e.preventDefault(),this.closeDropdown(),(n=this.buttonEl)===null||n===void 0||n.focus();break;case"ArrowUp":e.preventDefault(),this.focusIndex=(this.focusIndex-1+this.focusableItems.length)%this.focusableItems.length,this.focusItem();break;case"ArrowDown":e.preventDefault(),this.focusIndex=(this.focusIndex+1)%this.focusableItems.length,this.focusItem();break;case"Home":e.preventDefault(),this.focusIndex=this.focusableItems.length?0:-1,this.focusItem();break;case"End":e.preventDefault(),this.focusIndex=this.focusableItems.length-1,this.focusItem();break}}closeDropdown(){this.isOpen=!1,this.focusIndex=-1,this.dropdown.emit({expanded:!1})}focusItem(){var e;(e=this.focusableItems[this.focusIndex])===null||e===void 0||e.focus()}componentDidLoad(){var e;this.focusableItems=Array.from(((e=this.dropdownContent)===null||e===void 0?void 0:e.querySelectorAll("a, button"))||[])}handleHostInternalClick(e){var n;if(!this.isOpen||!this.panelEl)return;const r=((n=e.composedPath)===null||n===void 0?void 0:n.call(e))||[];if(!r.includes(this.panelEl))return;if(r.some(s=>{var o;const h=s;return(o=h==null?void 0:h.closest)===null||o===void 0?void 0:o.call(h,"[data-dropdown-close]")})){setTimeout(()=>this.closeDropdown(),0);return}if(!this.autoClose)return;r.some(s=>{var o;const h=s;return(o=h==null?void 0:h.closest)===null||o===void 0?void 0:o.call(h,this.noCloseSelector)})||setTimeout(()=>this.closeDropdown(),0)}render(){return t.h("div",{key:"1ce4926a15ac67d653ef03de877e64be83f61b4e",class:"z-focus relative",ref:e=>this.dropdownContent=e},t.h("eds-button",{key:"8b45fc57c018dd620701b2b9db5403c30f88a6ed",ref:e=>this.buttonEl=e,label:this.label,"aria-label":this.ariaLabel,icon:this.icon,iconSmall:!1,intent:this.intent,onClick:this.handleClick,"aria-expanded":this.isOpen.toString(),"aria-haspopup":"menu",size:"small",pill:!0}),t.h("nav",{key:"35854d55ea595e35513348bf36145794b2c57007",ref:e=>this.panelEl=e,role:"menu",class:{"shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8":!0,"left-4":this.dropdownPos==="left"&&this.dropdownOffset,"left-0":this.dropdownPos==="left"&&!this.dropdownOffset,"right-4":this.dropdownPos==="right"&&this.dropdownOffset,"right-0":this.dropdownPos==="right"&&!this.dropdownOffset},style:{display:this.isOpen?"block":"none"},"aria-label":"Dropdown","aria-hidden":!this.isOpen},t.h("slot",{key:"d6b153bb5968fa958be4d96d60cce774a9a0713c"})))}get host(){return t.getElement(this)}};Fe.style=Jn;const Qn=":host{display:block}p{margin:0}ul{list-style:none;padding:0;margin:0}.eds-footer-root{position:relative;padding:4rem 4rem 2rem;border-top:1px solid rgba(0, 0, 0, 0.06);font-family:var(--f-ui-02-fontFamily)}.eds-footer-root.theme-inverse{background-color:var(--brand-black, #000000);color:var(--grey-light, rgba(255, 255, 255, 0.7));border-top-color:rgba(255, 255, 255, 0.06)}.eds-footer-root.theme-default{background-color:var(--white, #ffffff);color:var(--grey-dark, #4b5563);border-top-color:rgba(0, 0, 0, 0.06)}.footer-container{max-width:1400px;margin:0 auto}.footer-grid{display:grid;grid-template-columns:2fr repeat(3, 1fr);gap:4rem;margin-bottom:4rem}.footer-brand-row{display:flex;align-items:center;gap:1rem}.footer-flag-link{display:inline-block;width:54px;flex-shrink:0;border-radius:4px}.footer-flag-link:focus-visible{outline:3px solid var(--brand-green);outline-offset:2px}.footer-flag-svg{height:auto;width:100%;display:block}.footer-funded{font-size:0.875rem;line-height:1.6;max-width:300px}.theme-inverse .footer-funded{color:var(--grey-dark, rgba(255, 255, 255, 0.55))}.theme-default .footer-funded{color:var(--grey-dark, #4b5563)}.footer-copyright{font-size:0.875rem;margin-top:0.75rem}.theme-inverse .footer-copyright{color:var(--grey-dark, rgba(255, 255, 255, 0.55))}.theme-default .footer-copyright{color:var(--grey-dark, #4b5563)}.footer-column-heading{font-size:0.8125rem;font-weight:500;margin:0 0 1.5rem 0}.theme-inverse .footer-column-heading{color:var(--white, #ffffff)}.theme-default .footer-column-heading{color:var(--brand-black, #111827)}.footer-column-list li{margin-bottom:0.75rem}.footer-column-list li:last-child{margin-bottom:0}.footer-link,.footer-text-item{font-size:0.875rem;text-decoration:none;transition:color 0.3s ease}.footer-link{cursor:pointer}.theme-inverse .footer-link,.theme-inverse .footer-text-item{color:var(--grey-dark, rgba(255, 255, 255, 0.55))}.theme-default .footer-link,.theme-default .footer-text-item{color:var(--grey-dark, #4b5563)}.footer-link:hover{color:var(--brand-green)}.footer-link:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px;border-radius:2px}.footer-social{padding-bottom:2rem;margin-bottom:2rem}.theme-inverse .footer-social{border-bottom:1px solid rgba(255, 255, 255, 0.06)}.theme-default .footer-social{border-bottom:1px solid rgba(0, 0, 0, 0.06)}.footer-back-to-top{position:absolute;top:1.5rem;right:2rem;opacity:0;transition:opacity 75ms cubic-bezier(0.4, 0, 0.2, 1)}@media (max-width: 1200px){.footer-grid{grid-template-columns:repeat(2, 1fr);gap:3rem}}@media (max-width: 768px){.eds-footer-root{padding:3rem 2rem 2rem}.footer-grid{grid-template-columns:1fr;gap:2rem;margin-bottom:2rem}.footer-funded{max-width:none}}",et=Qn,N=[{heading:"Resources",links:[{label:"Documentation",href:"https://design.ebrains.eu/get-started/",external:!0},{label:"Components",href:"https://design.ebrains.eu/ui-components/",external:!0},{label:"Foundations",href:"https://design.ebrains.eu/foundations/",external:!0},{label:"Analytics",href:"https://design.ebrains.eu/analytics/",external:!0}]},{heading:"Community",links:[{label:"GitLab",href:"https://gitlab.ebrains.eu/ri/tech-hub/ebrains-ui-ecosystem/",external:!0},{label:"Storybook",href:"https://storybook.design.ebrains.eu",external:!0},{label:"Report Issues",href:"https://gitlab.ebrains.eu/ri/tech-hub/ebrains-ui-ecosystem/-/issues",external:!0},{label:"Contribute",href:"https://design.ebrains.eu/get-started/contributing/",external:!0}]},{heading:"Legal",links:[{label:"MIT License"},{label:"Cookie Preferences",action:"cookies"}]}],Ae=class{constructor(e){t.registerInstance(this,e),this.cookies=t.createEvent(this,"cookies",7),this.backToTop=()=>{window.scrollTo({top:0,behavior:"smooth"})},this.emitCookies=()=>{this.cookies.emit("toggle")},this.social=!1,this.variant="inverse",this.enableScrollTop=!1,this.fundedBy="EBRAINS is funded by the Horizon Europe Framework Programme.",this.rightsReserved=`${new Date().getFullYear()} EBRAINS. All rights reserved.`,this.cookiesPreferences="Cookie Preferences",this.enableCookiesSettings=!1,this.backToTopAriaLabel="Back to Top",this.columns=void 0,this.resolvedColumns=N}componentWillLoad(){this.resolvedColumns=this.parseColumns(this.columns)}onColumnsChange(e){this.resolvedColumns=this.parseColumns(e)}parseColumns(e){if(e==null||e==="")return N;if(Array.isArray(e))return e;if(typeof e=="string")try{const n=JSON.parse(e);return Array.isArray(n)?n:(console.warn("eds-footer: `columns` JSON parsed but is not an array; using defaults"),N)}catch(n){return console.warn("eds-footer: failed to parse `columns` JSON, using defaults",n),N}return N}componentDidLoad(){var e;this.backBtn=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelector("#toTop")}handleScroll(){if(!this.backBtn)return;const e=window.scrollY>100&&document.body.scrollHeight>window.innerHeight;this.backBtn.style.opacity=e?"1":"0",this.backBtn.style.pointerEvents=e?"auto":"none";const n=this.backBtn.querySelector("eds-button");n&&(n.removeAttribute("aria-hidden"),n.setAttribute("tabindex",e?"0":"-1"))}renderLink(e,n){if(e.action==="cookies")return this.enableCookiesSettings?t.h("li",{key:`cookies-${n}`},t.h("a",{href:"javascript:void(0)",class:"footer-link",onClick:this.emitCookies,role:"button"},this.cookiesPreferences||e.label)):null;if(e.href){const r=e.external===!0;return t.h("li",{key:`${e.label}-${n}`},t.h("a",Object.assign({class:"footer-link",href:e.href},r?{target:"_blank",rel:"noopener noreferrer"}:{}),e.label))}return t.h("li",{key:`text-${n}`},t.h("span",{class:"footer-text-item"},e.label))}render(){const e=new Date().getFullYear(),n=this.rightsReserved||`${e} EBRAINS. All rights reserved.`,r=this.variant==="inverse",i=["eds-footer-root",r?"theme-inverse":"theme-default"].join(" ");return t.h("footer",{key:"b09063376e3bd78845302473a96884bd473cea09",class:i},this.social?t.h("div",{class:"footer-social"},t.h("div",{class:"footer-container"},t.h("eds-social-networks",{variant:this.variant}))):null,t.h("div",{key:"3aeb8f496bb4c3c73da907ba9b9fbb72841be213",class:"footer-container"},t.h("div",{key:"e7e33ce7dee8079a9aff17d45963dfaff9576121",class:"footer-grid"},t.h("div",{key:"e6fc738e086774e114c5ceef1b82fea2e2840990",class:"footer-brand"},t.h("div",{key:"96f7030269174c122ffe0117897a79b00020dd29",class:"footer-brand-row"},t.h("a",{key:"5967c33efff435ceee2a45c21cae67749b91b9ba",target:"_blank",rel:"noopener noreferrer",class:"footer-flag-link",href:"https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en","aria-label":"Learn about Horizon Europe funding"},t.h("svg",{key:"3de7debe64d431152e47a4daefb7c9facf7bf951",class:"footer-flag-svg",width:"63",height:"50",viewBox:"0 0 640 480",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"50e3f0c5ae41e3e7cc5689ddf01a8944a6c5d2eb",d:"M0 0h640v480H0V0z",fill:"#039"}),t.h("path",{key:"2c0f61e6de734d7214accd10cefd3a39e31f36a1",d:"M325.032 93.15l17.513-.398-14.401 9.972 5.789 16.53L320 108.639l-13.933 10.615 5.789-16.531-14.399-9.97 17.51.396L320 76.374l5.032 16.775zm0 284.444l17.513-.398-14.401 9.972 5.789 16.53L320 393.083l-13.933 10.615 5.789-16.531-14.399-9.97 17.51.397L320 360.818l5.032 16.776zm-147.25-158.983l5.029 16.761 17.511-.397-14.4 9.969 5.79 16.533-13.933-10.616-13.932 10.616 5.788-16.531-14.401-9.971 17.511.397 5.028-16.761.004-.015.001.003.001-.003.003.015zm77.885-105.334l17.511-.397-14.401 9.971 5.79 16.531-13.932-10.614-13.933 10.615 5.788-16.531-14.4-9.971h.005l-.003-.001 17.51.397 5.033-16.775 5.032 16.775zm-52.729 52.729l17.511-.398h.002l-14.402 9.971 5.79 16.531-13.933-10.615-13.932 10.615 5.789-16.532-14.4-9.97 17.51.397 5.033-16.776 5.032 16.777zm-5.001 125.803l5.027 16.759 17.513-.397-14.401 9.971 5.79 16.531-.005-.005.003.006-13.932-10.615-13.933 10.615 5.788-16.532-14.398-9.97 17.51.396 5.029-16.759.004-.016v.003l.002-.003.003.016zm51.445 47.71l5.027 16.76 17.513-.397-14.401 9.97 5.791 16.532-.004-.004.002.004-13.933-10.615-13.933 10.615 5.788-16.532-14.398-9.97 17.51.397 5.029-16.76.004-.016v.003l.002-.003.003.016zm217.873-104.147l17.511-.397-14.401 9.969 5.79 16.533-13.934-10.616-13.931 10.616 5.789-16.533-14.399-9.969 17.509.397 5.034-16.776 5.032 16.776zm-63.958-95.997l-5.786-16.522 14.401-9.972-17.511.398-5.033-16.778-5.034 16.777-17.51-.398 14.4 9.972-5.789 16.53 13.932-10.614 13.934 10.614-.004-.007zm38.797 42.122l13.934 10.614-.004-.007-5.787-16.524 14.401-9.971-17.51.399-5.033-16.778-5.033 16.777-17.51-.398h-.001l14.399 9.972-5.787 16.529 13.931-10.613zm5.007 127.071l17.51-.397-14.4 9.971 5.79 16.531-13.933-10.614-13.932 10.615 5.788-16.531-14.401-9.971h.005l-.003-.001 17.51.397 5.033-16.775 5.033 16.775zm-51.446 47.711l17.511-.397-14.4 9.97 5.79 16.532-13.933-10.615-13.933 10.615 5.789-16.531-14.401-9.971h.002l17.51.397 5.033-16.776 5.032 16.776z",fill:"#FC0"}))),t.h("p",{key:"9ff8e10db0e213754bfc73bcce1b3dd36bc62e30",class:"footer-funded"},this.fundedBy)),t.h("p",{key:"a24c4fbfe48c4c3c8d076f24da9c84b739a982d8",class:"footer-copyright"},"© ",n)),this.resolvedColumns.map((a,l)=>t.h("div",{class:"footer-column",key:`col-${l}`},t.h("h4",{class:"footer-column-heading"},a.heading),t.h("ul",{class:"footer-column-list"},(a.links||[]).map((s,o)=>this.renderLink(s,o))))))),this.enableScrollTop?t.h("div",{id:"toTop",class:"footer-back-to-top"},t.h("eds-button",{id:"backToTop","aria-label":this.backToTopAriaLabel,intent:r?"ghostInverse":"ghost",size:"large",icon:"chevron-up",onClick:this.backToTop,tabindex:"-1"})):null)}get el(){return t.getElement(this)}static get watchers(){return{columns:["onColumnsChange"]}}};Ae.style=et;function X(e,n,r,i,a,l,s){const o=[];if(i&&!n){const h=e.length>30?`${e.slice(0,27)}…`:e;o.push(`“${h}” is required.`)}if(r==="number"){const h=typeof n=="number"?n:parseFloat(n);isNaN(h)?o.push(`${e} must be a valid number.`):(typeof l=="number"&&h<l&&o.push(`${e} must be greater than or equal to ${l}.`),typeof s=="number"&&h>s&&o.push(`${e} must be less than or equal to ${s}.`))}if(a&&typeof n=="string"&&n.length>a&&o.push(`${e} must be at most ${a} characters.`),r==="email"&&n&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n.toString())&&o.push("Invalid email format."),r==="url"&&n)try{new URL(n.toString())}catch{o.push("Invalid URL format.")}if(r==="tel"&&n){const h=n.toString(),x=/\d/.test(h),z=/^[\d\s\-\+\(\)\.]+$/.test(h);x?z||o.push("Phone number contains invalid characters. Use only digits, spaces, +, -, (, ), or ."):o.push("Phone number must contain at least one digit.")}return o}function Ie(e,n,r){const l=Array.from(r.querySelectorAll("eds-input-field")).filter(o=>{var h,x;return((x=(h=o.shadowRoot)===null||h===void 0?void 0:h.querySelectorAll(`input[name="${e}"]`))===null||x===void 0?void 0:x.length)>0}).flatMap(o=>{var h;return Array.from(((h=o.shadowRoot)===null||h===void 0?void 0:h.querySelectorAll(`input[name="${e}"]`))||[])}).some(o=>o.checked),s=[];return n&&!l&&s.push(`At least one option in ${e} is required.`),s}function _e(e,n,r){var i;const a=[],l=Array.from(r.querySelectorAll("eds-input-field")).find(o=>{var h;return(h=o.shadowRoot)===null||h===void 0?void 0:h.querySelector(`[name="${e}"]`)});if(!l)return n&&a.push(`${e} is required.`),a;const s=(i=l.shadowRoot)===null||i===void 0?void 0:i.querySelector(`[name="${e}"]`);return n&&s&&!s.checked&&a.push(`${e} is required.`),a}function nt(e,n){const r=Array.from(e.querySelectorAll("eds-input-field"));for(const i of r)if(i.shadowRoot){const a=i.shadowRoot.querySelector(`[name="${n}"]`);if(a)return a}return null}function tt(e){const n=Array.from(e.querySelectorAll("eds-rating"));for(const r of n)return r;return null}function rt(e){const n=Array.from(e.querySelectorAll("eds-nps"));for(const r of n)return r;return null}function it(e,n,r,i){const a={};let l=!1;return e.forEach(s=>{if(!i(s,r)){delete a[s.name];return}if(s.type!=="hidden"&&s.type!=="content")if((s.type==="checkbox"||s.type==="radio")&&!s.options){const o=_e(s.name,s.required,n);o.length>0&&(a[s.name]=o,l=!0)}else if(s.options&&(s.type==="checkbox"||s.type==="radio")){const o=Ie(s.name,s.required,n);o.length>0&&(a[s.name]=o,l=!0)}else if(s.type==="rating"){const o=tt(n);if(o){const h=o.getAttribute("selected-rating"),x=h!==null?parseInt(h,10):0,z=X(s.name,x,s.type,s.required);z.length>0&&(a[s.name]=z,l=!0)}}else if(s.type==="nps"){const o=rt(n);if(o){const h=o.getAttribute("selected-value"),x=h!==null?parseInt(h,10):null;(x===null||isNaN(x))&&s.required&&(a[s.name]=["This field is required."],l=!0)}else s.required&&(a[s.name]=["This field is required."],l=!0);return}else{const o=nt(n,s.name);if(o){const h=o.value,x=X(s.name,h,s.type,s.required,s.maxlength,s.min,s.max);x.length>0&&(a[s.name]=x,l=!0)}}}),{errors:a,hasError:l}}function Le(e){if(!e)return"";let n=String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""");return n=n.replace(/\*\*([^*]+)\*\*/g,"<strong>$1</strong>"),n=n.replace(/\[([^\]]+)\]\(([^)\s]+)\)/g,(r,i,a)=>/^(https?:|mailto:)/i.test(a)?`<a href="${a}" target="_blank" rel="noopener noreferrer" class="eds-desc-link">${i}</a>`:i),n=n.replace(/\n/g,"<br>"),n}function at(e,n,r){return e.type==="checkbox"||e.type==="radio"?e.options?Ie(e.name,e.required,r):_e(e.name,e.required,r):X(e.name,n,e.type,e.required,e.maxlength,e.min,e.max)}function lt({initData:e,parsedFields:n,currentValues:r}){const i=Object.assign({},r);return n.forEach(a=>{const l=e[a.name];l!==void 0&&(i[a.name]=l)}),{updatedValues:i}}const st=".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:600;font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:600;font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing);overflow:visible}.text-light{color:var(--grey-dark)}.rounded-xs{border-radius:4px}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.border-t-2{border-top-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pt-32{padding-top:2rem}.pt-64{padding-top:4rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-20{row-gap:1.25rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.bg-inverse{background-color:var(--white)}.form-brand{box-shadow:0 2px 12px rgba(0, 0, 0, 0.08);border-left:4px solid var(--brand-green);animation:fadeInUp 0.6s ease}@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.shadow-hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-sm{border-radius:8px}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-4{padding-bottom:0.25rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.w-full{width:100%}.justify-between{justify-content:space-between}.items-center{align-items:center}@media (min-width: 750px){.md\\:flex-row-reverse{flex-direction:row-reverse}.md\\:justify-between{justify-content:space-between}.md\\:gap-y-0{row-gap:0}.md\\:w-auto{width:auto}.md\\:mt-64{margin-top:4rem}.md\\:pt-64{padding-top:4rem}}.eds-desc-link{position:relative;display:inline-block;color:var(--brand-black);text-decoration:none}.eds-desc-link::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background-color:var(--brand-green);transition:width 0.3s ease}.eds-desc-link:hover::after{width:100%}.eds-desc-link:focus-visible::after{width:0}.eds-content-block{line-height:1.5;color:var(--brand-black, #07140d)}.eds-content-block strong{font-weight:600}.eds-content-block .eds-desc-link{font-weight:600}",ot=st,He=class{constructor(e){t.registerInstance(this,e),this.form=t.createEvent(this,"form",7),this.name="eds-form",this.title="Form Title",this.description="Form Description",this.setFormUrl=!0,this.formBtn=!0,this.formBtnLabel="Submit",this.buttonIntent="primary",this.clearBtn=!1,this.clearBtnLabel="Clear",this.errorMessage="Some fields in your form are incorrect.",this.fields=[],this.groups=[],this.initData={},this.formStyle="default",this.values={},this.isSubmitting=!1,this.hasError=!1,this.errors={},this.parsedFields=[],this.parsedGroups=[]}async setData(e){this.populateFormWithInitData(e)}componentWillLoad(){this.parseFields(this.fields),this.parseGroups(this.groups),this.el.querySelectorAll("eds-button").forEach(n=>{this.emitContext(n)})}componentDidLoad(){this.shouldFormProcessInitData&&this.populateFormWithInitData(this.initData)}get shouldFormProcessInitData(){return!!this.initData}parseFields(e){this.parsedFields=I.parseData(e)}parseGroups(e){this.parsedGroups=I.parseData(e)}emitContext(e){const n=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(n)}isFieldVisible(e){if(!e.condition)return!0;const n=this.values[e.condition.field],r=e.condition.value;return n==null?r==null||r==="":Array.isArray(n)?n.some(i=>this.normalizeValue(i)===this.normalizeValue(r)):typeof n=="string"&&n.includes(",")?n.split(",").map(a=>a.trim()).some(a=>this.normalizeValue(a)===this.normalizeValue(r)):this.normalizeValue(n)===this.normalizeValue(r)}normalizeValue(e){return e==null?"":typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="string"?e.trim().toLowerCase():String(e).trim().toLowerCase()}validateForm(){const{errors:e,hasError:n}=it(this.parsedFields,this.formEl,this.values,(r,i)=>this.isFieldVisible(r));this.errors=e,this.hasError=n}populateFormWithInitData(e){const{updatedValues:n}=lt({initData:e,parsedFields:this.parsedFields,currentValues:this.values,formEl:this.formEl,isFieldVisible:(r,i)=>{if(!r.condition)return!0;const a=i[r.condition.field],l=r.condition.value;return a==null?l==null||l==="":Array.isArray(a)?a.some(s=>this.normalizeValue(s)===this.normalizeValue(l)):typeof a=="string"&&a.includes(",")?a.split(",").map(o=>o.trim()).some(o=>this.normalizeValue(o)===this.normalizeValue(l)):this.normalizeValue(a)===this.normalizeValue(l)}});this.values=n}getFormData(){const e=new FormData;return e.append("form_name",this.name),this.setFormUrl&&typeof window<"u"&&e.set("form_url",window.location.href),Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach(r=>{if(r.shadowRoot){const i=r.shadowRoot.querySelector("input, textarea, select");if(i&&i.name)if(i.type==="checkbox"||i.type==="radio"){const l=Array.from(r.shadowRoot.querySelectorAll(`input[name="${i.name}"]:checked`)).map(s=>s.value);e.append(i.name,l.join(","))}else if(i.type==="file"){const a=i;a.files&&a.files.length>0&&Array.from(a.files).forEach(l=>{e.append(a.name,l)})}else e.append(i.name,i.value)}}),e}makeFormData(){var e;const n=new FormData;n.append("form_name",this.name),this.setFormUrl&&typeof window<"u"&&n.set("form_url",window.location.href);const r={};return this.parsedFields.forEach(a=>{(r[a.name]=r[a.name]||[]).push(a)}),Object.keys(this.values).forEach(a=>{const l=r[a];if(l&&l.length&&!l.some(o=>this.isFieldVisible(o)))return;const s=this.values[a];if(Array.isArray(s)&&(s.length===0||s[0]instanceof File)){s.forEach(o=>n.append(a,o));return}(s instanceof File||s!=null)&&n.append(a,s)}),((e=this.parsedFields)===null||e===void 0?void 0:e.some(a=>(a==null?void 0:a.type)==="file"))&&this.formEl&&Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach(l=>{const s=l.shadowRoot;if(!s)return;Array.from(s.querySelectorAll('input[type="file"][name]')).forEach(h=>{const x=h.name,z=h.files?Array.from(h.files):[];z.length>0&&z.forEach(A=>n.append(x,A))})}),n}handleChange(e,n){let r;if(e instanceof CustomEvent&&e.detail&&"value"in e.detail)r=e.detail.value;else{const i=e.target;if(r=i.value,i.type==="checkbox"){const a=this.values[n.name]||"";let l=a?a.split(","):[];i.checked?l.includes(i.value)||l.push(i.value):l=l.filter(s=>s!==i.value),r=l.join(",")}else if(i.type==="radio"){if(!i.checked)return;r=i.value}}this.values=Object.assign(Object.assign({},this.values),{[n.name]:r}),n.name!=="password"&&this.form.emit({event:"change",field:n.name,value:r,message:`${n.name} updated`})}handleInput(e,n){let r;if(e instanceof CustomEvent&&e.detail&&"value"in e.detail)r=e.detail.value;else{const l=e.target;if(l.type==="radio"&&!l.checked)return;r=l.value}const i=Object.assign({},this.errors),a=at(n,r,this.formEl);a.length>0?i[n.name]=a:delete i[n.name],this.errors=i,this.hasError=Object.keys(i).length>0,this.form.emit({event:"input",field:n.name,value:r,message:`${n.name} updated`})}handleRating(e,n){const r=e.detail;this.values=Object.assign(Object.assign({},this.values),{[n.name]:r});const i=Object.assign({},this.errors);n.required&&r===0?i[n.name]=["This field is required"]:delete i[n.name],this.errors=i,this.hasError=Object.keys(i).length>0,this.form.emit({event:"change",field:n.name,value:r,message:`${n.name} updated`})}handleNPS(e,n){const r=e.detail;this.values=Object.assign(Object.assign({},this.values),{[n.name]:r});const i=Object.assign({},this.errors);n.required&&r===null?i[n.name]=["This field is required"]:delete i[n.name],this.errors=i,this.hasError=Object.keys(i).length>0,this.form.emit({event:"change",field:n.name,value:r,message:`${n.name} updated`})}handleSubmit(e){var n,r;if(e==null||e.preventDefault(),!this.isSubmitting){if(this.isSubmitting=!0,this.validateForm(),this.hasError){this.isSubmitting=!1,this.form.emit({event:"submit",validated:!1,success:!1,message:this.errorMessage}),w.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${(n=this.formBtnLabel)===null||n===void 0?void 0:n.toLowerCase()}/non-validated`||"",action:"click"});return}this.form.emit({event:"submit",success:!0,validated:!0,message:"Form data validated successfully"}),w.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${(r=this.formBtnLabel)===null||r===void 0?void 0:r.toLowerCase()}/validated`||"",action:"click"}),this.errors={},this.formEl.reset(),this.isSubmitting=!1}}handleClear(e){var n,r;e==null||e.preventDefault(),this.formEl.reset(),this.values=Object.assign({}),this.errors={},this.hasError=!1;const i=(n=this.el.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("eds-input-field");i==null||i.forEach(a=>{var l;if(a){const s=(l=a.shadowRoot)===null||l===void 0?void 0:l.querySelector("input, select, textarea");if(s){const o=s.type;o==="checkbox"||o==="radio"?s.checked=!1:s.value=""}}}),this.form.emit({event:"change",message:"Form cleared",success:!0}),w.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${(r=this.clearBtnLabel)===null||r===void 0?void 0:r.toLowerCase()}/clear`||"",action:"click"})}get groupedFields(){const e={};return this.parsedGroups.forEach(n=>e[n.id]=[]),e.__ungrouped=[],this.parsedFields.forEach(n=>{if(!this.isFieldVisible(n))return;const r=n.groupId||"__ungrouped";e[r]||(e[r]=[]),e[r].push(n)}),e}renderField(e){var n,r,i,a,l,s,o;if(!this.isFieldVisible(e))return null;if(e.type==="content"){const h=(r=(n=e.content)!==null&&n!==void 0?n:e.label)!==null&&r!==void 0?r:"";return t.h("div",{class:"eds-content-block f-body-02 text-default",key:e.name,innerHTML:this.formatDescription(h)})}if(e.type==="rating"){const h=this.values[e.name]||0;return t.h("div",{class:"form-group rating-field",key:e.name},t.h("div",{class:"flex justify-between"},e&&t.h("eds-input-label",{name:`rating-${e.name}`,label:e.label,disabled:e.disabled,required:e.required})),t.h("eds-rating",{id:`rating-${e.name}`,"rating-type":e.ratingType,"rating-count":e.ratingCount,"selected-rating":h,onRating:x=>this.handleRating(x,e)}),t.h("div",{class:"mt-6"},t.h("eds-input-footer",{id:`${e.name}-footer`,name:e.name,message:e.message,"error-message":(i=this.errors[e.name])===null||i===void 0?void 0:i.join("<br/>"),error:!!this.errors[e.name],link:e.link})))}else if(e.type==="nps"){const h=this.values[e.name]!==void 0?this.values[e.name]:null;return t.h("div",{class:"form-group nps-field",key:e.name},t.h("div",{class:"flex justify-between"},e&&t.h("eds-input-label",{name:`nps-${e.name}`,label:e.question,disabled:e.disabled,required:e.required})),t.h("eds-nps",{id:`nps-${e.name}`,"right-label":e.rightLabel,"left-label":e.leftLabel,"selected-value":h,onNps:x=>this.handleNPS(x,e)}),t.h("div",{class:"mt-6"},t.h("eds-input-footer",{id:`${e.name}-footer`,name:e.name,"error-message":(a=this.errors[e.name])===null||a===void 0?void 0:a.join("<br/>"),error:!!this.errors[e.name]})))}else{if(e.type==="search-select")return t.h("eds-search-select",{key:e.name,name:e.name,label:e.label,source:e.source,options:e.options,multiple:!!e.multiple,"api-base":e.apiBase||"/api/v1",placeholder:e.placeholder,required:e.required,disabled:e.disabled,hint:e.hint,message:e.message,error:!!this.errors[e.name],"error-message":(l=this.errors[e.name])===null||l===void 0?void 0:l.join("<br/>"),value:this.values[e.name],onEdsinput:h=>this.handleInput(h,e),onEdschange:h=>this.handleChange(h,e)});if(e.type==="kg-web-service")return t.h("eds-kg-web-services-select",{key:e.name,name:e.name,label:e.label,"api-endpoint":e.apiEndpoint||"/api/v1/kg/web-services/cached",placeholder:e.placeholder,required:e.required,disabled:e.disabled,hint:e.hint,message:e.message,error:!!this.errors[e.name],"error-message":(s=this.errors[e.name])===null||s===void 0?void 0:s.join("<br/>"),value:this.values[e.name],size:e.size||500,onEdsinput:h=>this.handleInput(h,e),onEdschange:h=>this.handleChange(h,e)})}return t.h("eds-input-field",{key:e.name,name:e.name,label:e.label,placeholder:e.placeholder,type:e.type,value:this.values[e.name],required:e.required,hint:e.hint,message:e.message,link:e.link,error:!!this.errors[e.name],errorMessage:(o=this.errors[e.name])===null||o===void 0?void 0:o.join("<br/>"),options:e.options,onInput:h=>this.handleInput(h,e),onChangeNative:h=>this.handleChange(h,e)})}async getData(){return this.makeFormData()}formatDescription(e){return Le(e)}render(){const e=this.parsedFields.filter(i=>i.type==="hidden"),n=this.groupedFields;let r="";return this.formStyle==="default"?r="bg-inverse border-softer relative rounded-xs border-2 p-32":this.formStyle==="shadow"?r="bg-inverse effect-shadow shadow-hover border-softer relative rounded-xs border-2 p-32":this.formStyle==="brand"&&(r="bg-inverse form-brand relative rounded-xs p-32"),t.h("form",{key:"5717a276eb4bcb1b40bb6c3a3d68e2372ccf0b37",class:r,ref:i=>this.formEl=i,autocomplete:"on",onSubmit:this.handleSubmit},t.h("div",{key:"8e9fec59b6cafccabbb67381a12541f12201cc48",class:"flex flex-col gap-y-20 overflow-visible"},this.title&&t.h("span",{key:"f47c68db954de63773257f9c898141be27278a00",role:"heading",class:"f-heading-05 pb-4 block"},this.title),this.description&&t.h("span",{key:"4287bb5f9c31cf5d3953a032de4a8c269e1feb7e",class:"f-body-02 text-light",innerHTML:this.formatDescription(this.description)}),t.h("slot",{key:"e9e52696eab6477354ac5ee6cbe08399483b1b37"})),e.map((i,a)=>t.h("eds-input",{key:a,type:"hidden",name:i.name,value:i.value})),this.parsedGroups.filter(i=>Array.isArray(n[i.id])&&n[i.id].length>0).map(i=>t.h("div",{class:"mt-32",key:i.id},t.h("span",{class:"f-body-02"},t.h("b",null,i.title)),t.h("div",{class:"border-group mt-32 mb-32 flex flex-col gap-y-24"},n[i.id].map(a=>this.renderField(a))))),t.h("div",{key:"22d248217ea85d68e2be652ddcbfd13ed4775934",class:"flex flex-col mt-32 gap-y-24"},n.__ungrouped.map(i=>this.renderField(i))),(this.formBtn||this.clearBtn)&&t.h("div",{key:"101f9e275d68f59b762938ff3f7d7102660b80f0",class:"mt-32 md:mt-64 flex flex-col items-center md:flex-row-reverse md:justify-between gap-y-16 md:gap-y-0"},this.formBtn&&t.h("eds-button",{key:"02d427d951c715634605b6977f61cee67abaa8b0",intent:this.buttonIntent,pill:!0,label:this.formBtnLabel,disabled:this.isSubmitting,loading:this.isSubmitting,icon:"arrow-right",size:"large",onClick:()=>this.handleSubmit()}),this.clearBtn&&t.h("eds-button",{key:"abf330715df3acf2a4bdc8d4f322fc13c70c267f",intent:"neutral",pill:!0,size:"large",label:this.clearBtnLabel,disabled:this.isSubmitting||!this.values||Object.keys(this.values).length===0,onClick:i=>this.handleClear(i)})))}get el(){return t.getElement(this)}static get watchers(){return{fields:["parseFields"],groups:["parseGroups"]}}};He.style=ot;const dt=".bg-default{background-color:var(--grey-light)}.bg-darker{background-color:var(--grey-dark)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0rem}.z-\\[999999\\]{z-index:999999}.overflow-y-scroll{overflow-y:scroll}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.flex-col{flex-direction:column}.w-full{width:100%}.top-0{top:0rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-auto{margin-top:auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.mr-auto{margin-right:auto}.w-\\[250px\\]{width:250px}.h-\\[85px\\]{height:85px}.px-16{padding-left:1rem;padding-right:1rem}.py-16{padding-top:1rem;padding-bottom:1rem}.mt-28{margin-top:1.75rem}.gap-y-8{row-gap:0.5rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.rounded-xs{border-radius:4px}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.hover\\:text-lighter:hover{color:var(--grey-600)}.w-fit{width:-moz-fit-content;width:fit-content}.p-\\[24px\\]{padding:24px}",ct=dt,Me=class{constructor(e){t.registerInstance(this,e),this.menuClose=t.createEvent(this,"menuClose",7),this.links=void 0,this.menuLinks=void 0,this.homeUrl="/",this.inverseHeader=!1,this.isMenuOpen=!1}handleToggleMenu(e){this.isMenuOpen=!!e.detail}onKeydown(e){e.key==="Escape"&&this.isMenuOpen&&this.closeMenu()}openMenu(){this.isMenuOpen=!0}closeMenu(){this.isMenuOpen=!1,this.menuClose.emit()}async open(){this.isMenuOpen=!0}async close(){this.closeMenu()}componentDidLoad(){window.addEventListener("resize",this.handleResize.bind(this))}disconnectedCallback(){window.removeEventListener("resize",this.handleResize.bind(this))}handleResize(){window.innerWidth>=1024&&(this.isMenuOpen=!1)}get parsedLinks(){return I.parseData(this.links)}get parsedMenuLinks(){return I.parseData(this.menuLinks)}render(){return this.isMenuOpen?t.h("div",{role:"dialog","aria-modal":"true","aria-label":"Main menu",class:"eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll"},t.h("div",{class:"flex min-h-full flex-col"},t.h("div",{class:`w-full sticky top-0 ${this.inverseHeader?"bg-strongest":"bg-default"}`},t.h("div",{class:"mx-auto flex items-center justify-between"},t.h("div",{class:"mr-auto w-[250px]"},t.h("div",{class:"p-[24px]"},t.h("eds-logo",{variant:"positive",href:this.homeUrl}))),t.h("div",{class:"px-16"},t.h("eds-button",{"aria-label":"Close menu",intent:"ghost",icon:"close",size:"large",onClick:()=>this.closeMenu()})))),t.h("div",{class:"py-16 px-16"},t.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedLinks.map((e,n)=>t.h("eds-link",{label:e.label,key:n,url:e.url,intent:"secondary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"arrow-right"}))),t.h("eds-block-break",null),t.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedMenuLinks.map((e,n)=>t.h("eds-link",{label:e.label,key:n,url:e.url,intent:"secondary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"chevron-right"}))),t.h("nav",{class:"mt-28 flex flex-col gap-y-8"},t.h("slot",null))),t.h("div",{class:"mt-auto"},t.h("eds-footer",{social:!0,"extra-class":"bg-darker"})))):null}};Me.style=ct;const ht=`:host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-pill{display:flex;align-items:center;gap:12px;height:48px;padding:0 18px;border-radius:999px;font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);font-size:15px;cursor:text;transition:background 120ms ease, box-shadow 120ms ease, color 120ms ease}.search-pill .search-icon{flex-shrink:0}.search-pill .search-input{flex:1;min-width:0;border:0;background:transparent;outline:none;font:inherit;color:inherit;-webkit-appearance:none;appearance:none}.search-pill .search-input::-webkit-search-cancel-button{-webkit-appearance:none}.search-pill .search-kbd{flex-shrink:0;font-family:'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;font-size:11px;font-weight:500;line-height:1;padding:3px 6px;border-radius:4px;box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.05);letter-spacing:0.02em}.search-pill:focus-within .search-kbd{display:none}.search-pill .search-clear{flex-shrink:0;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer;opacity:0.7;transition:opacity 120ms ease, background 120ms ease}.search-pill .search-clear:hover{opacity:1;background:rgba(0, 0, 0, 0.06)}.search-pill .search-clear:focus-visible{outline:none;box-shadow:0 0 0 2px var(--brand-green, #00C87B);opacity:1}.search-pill--black .search-clear:hover{background:rgba(255, 255, 255, 0.10)}.search-pill--gray{background:var(--grey-light, #ECECEC);color:var(--grey-dark, #7A7B7A);border:0}.search-pill--gray:hover{background:#E0E0E0}.search-pill--gray .search-input{color:var(--brand-black, #07140D)}.search-pill--gray .search-input::placeholder{color:var(--grey-dark, #7A7B7A)}.search-pill--gray .search-kbd{color:var(--grey-dark, #7A7B7A);background:var(--white, #FFFFFF);border:1px solid #DCDCDC}.search-pill--gray:focus-within{background:var(--white, #FFFFFF);box-shadow:0 0 0 2px var(--brand-green, #00C87B)}.search-pill--white{background:var(--white, #FFFFFF);color:var(--grey-dark, #7A7B7A);border:1px solid var(--grey-light, #ECECEC)}.search-pill--white:hover{background:#FAFAFA}.search-pill--white .search-input{color:var(--brand-black, #07140D)}.search-pill--white .search-input::placeholder{color:var(--grey-dark, #7A7B7A)}.search-pill--white .search-kbd{color:var(--grey-dark, #7A7B7A);background:var(--grey-light, #ECECEC);border:1px solid #DCDCDC}.search-pill--white:focus-within{background:var(--white, #FFFFFF);box-shadow:0 0 0 2px var(--brand-green, #00C87B)}.search-pill--black{background:var(--brand-black, #07140D);color:rgba(255, 255, 255, 0.7);border:1px solid rgba(255, 255, 255, 0.12)}.search-pill--black:hover{background:#11221A}.search-pill--black .search-input{color:var(--white, #FFFFFF)}.search-pill--black .search-input::placeholder{color:rgba(255, 255, 255, 0.55)}.search-pill--black .search-kbd{color:rgba(255, 255, 255, 0.75);background:rgba(255, 255, 255, 0.08);border:1px solid rgba(255, 255, 255, 0.15)}.search-pill--black:focus-within{background:var(--brand-black, #07140D);box-shadow:0 0 0 2px var(--brand-green, #00C87B)}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.12),
|
|
1399
|
+
*/var i=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function c(d){return d instanceof h?new h(d.type,c(d.content),d.alias):Array.isArray(d)?d.map(c):d.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(c){return Object.prototype.toString.call(c).slice(8,-1)},objId:function(c){return c.__id||Object.defineProperty(c,"__id",{value:++l}),c.__id},clone:function c(d,g){g=g||{};var b,p;switch(s.util.type(d)){case"Object":if(p=s.util.objId(d),g[p])return g[p];b={},g[p]=b;for(var x in d)d.hasOwnProperty(x)&&(b[x]=c(d[x],g));return b;case"Array":return p=s.util.objId(d),g[p]?g[p]:(b=[],g[p]=b,d.forEach(function(y,u){b[u]=c(y,g)}),b);default:return d}},getLanguage:function(c){for(;c;){var d=a.exec(c.className);if(d)return d[1].toLowerCase();c=c.parentElement}return"none"},setLanguage:function(c,d){c.className=c.className.replace(RegExp(a,"gi"),""),c.classList.add("language-"+d)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(b){var c=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(b.stack)||[])[1];if(c){var d=document.getElementsByTagName("script");for(var g in d)if(d[g].src==c)return d[g]}return null}},isActive:function(c,d,g){for(var b="no-"+d;c;){var p=c.classList;if(p.contains(d))return!0;if(p.contains(b))return!1;c=c.parentElement}return!!g}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(c,d){var g=s.util.clone(s.languages[c]);for(var b in d)g[b]=d[b];return g},insertBefore:function(c,d,g,b){b=b||s.languages;var p=b[c],x={};for(var y in p)if(p.hasOwnProperty(y)){if(y==d)for(var u in g)g.hasOwnProperty(u)&&(x[u]=g[u]);g.hasOwnProperty(y)||(x[y]=p[y])}var z=b[c];return b[c]=x,s.languages.DFS(s.languages,function(I,H){H===z&&I!=c&&(this[I]=x)}),x},DFS:function c(d,g,b,p){p=p||{};var x=s.util.objId;for(var y in d)if(d.hasOwnProperty(y)){g.call(d,y,d[y],b||y);var u=d[y],z=s.util.type(u);z==="Object"&&!p[x(u)]?(p[x(u)]=!0,c(u,g,null,p)):z==="Array"&&!p[x(u)]&&(p[x(u)]=!0,c(u,g,y,p))}}},plugins:{},highlightAll:function(c,d){s.highlightAllUnder(document,c,d)},highlightAllUnder:function(c,d,g){var b={callback:g,container:c,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",b),b.elements=Array.prototype.slice.apply(b.container.querySelectorAll(b.selector)),s.hooks.run("before-all-elements-highlight",b);for(var p=0,x;x=b.elements[p++];)s.highlightElement(x,d===!0,b.callback)},highlightElement:function(c,d,g){var b=s.util.getLanguage(c),p=s.languages[b];s.util.setLanguage(c,b);var x=c.parentElement;x&&x.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(x,b);var y=c.textContent,u={element:c,language:b,grammar:p,code:y};function z(H){u.highlightedCode=H,s.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,s.hooks.run("after-highlight",u),s.hooks.run("complete",u),g&&g.call(u.element)}if(s.hooks.run("before-sanity-check",u),x=u.element.parentElement,x&&x.nodeName.toLowerCase()==="pre"&&!x.hasAttribute("tabindex")&&x.setAttribute("tabindex","0"),!u.code){s.hooks.run("complete",u),g&&g.call(u.element);return}if(s.hooks.run("before-highlight",u),!u.grammar){z(s.util.encode(u.code));return}if(d&&r.Worker){var I=new Worker(s.filename);I.onmessage=function(H){z(H.data)},I.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else z(s.highlight(u.code,u.grammar,u.language))},highlight:function(c,d,g){var b={code:c,grammar:d,language:g};if(s.hooks.run("before-tokenize",b),!b.grammar)throw new Error('The language "'+b.language+'" has no grammar.');return b.tokens=s.tokenize(b.code,b.grammar),s.hooks.run("after-tokenize",b),h.stringify(s.util.encode(b.tokens),b.language)},tokenize:function(c,d){var g=d.rest;if(g){for(var b in g)d[b]=g[b];delete d.rest}var p=new C;return _(p,p.head,c),v(c,p,d,p.head,0),B(p)},hooks:{all:{},add:function(c,d){var g=s.hooks.all;g[c]=g[c]||[],g[c].push(d)},run:function(c,d){var g=s.hooks.all[c];if(!(!g||!g.length))for(var b=0,p;p=g[b++];)p(d)}},Token:h};r.Prism=s;function h(c,d,g,b){this.type=c,this.content=d,this.alias=g,this.length=(b||"").length|0}h.stringify=function c(d,g){if(typeof d=="string")return d;if(Array.isArray(d)){var b="";return d.forEach(function(z){b+=c(z,g)}),b}var p={type:d.type,content:c(d.content,g),tag:"span",classes:["token",d.type],attributes:{},language:g},x=d.alias;x&&(Array.isArray(x)?Array.prototype.push.apply(p.classes,x):p.classes.push(x)),s.hooks.run("wrap",p);var y="";for(var u in p.attributes)y+=" "+u+'="'+(p.attributes[u]||"").replace(/"/g,""")+'"';return"<"+p.tag+' class="'+p.classes.join(" ")+'"'+y+">"+p.content+"</"+p.tag+">"};function m(c,d,g,b){c.lastIndex=d;var p=c.exec(g);if(p&&b&&p[1]){var x=p[1].length;p.index+=x,p[0]=p[0].slice(x)}return p}function v(c,d,g,b,p,x){for(var y in g)if(!(!g.hasOwnProperty(y)||!g[y])){var u=g[y];u=Array.isArray(u)?u:[u];for(var z=0;z<u.length;++z){if(x&&x.cause==y+","+z)return;var I=u[z],H=I.inside,J=!!I.lookbehind,Q=!!I.greedy,bn=I.alias;if(Q&&!I.pattern.global){var pn=I.pattern.toString().match(/[imsuy]*$/)[0];I.pattern=RegExp(I.pattern.source,pn+"g")}for(var ee=I.pattern||I,A=b.next,M=p;A!==d.tail&&!(x&&M>=x.reach);M+=A.value.length,A=A.next){var T=A.value;if(d.length>c.length)return;if(!(T instanceof h)){var N=1,L;if(Q){if(L=m(ee,M,c,J),!L||L.index>=c.length)break;var P=L.index,mn=L.index+L[0].length,D=M;for(D+=A.value.length;P>=D;)A=A.next,D+=A.value.length;if(D-=A.value.length,M=D,A.value instanceof h)continue;for(var O=A;O!==d.tail&&(D<mn||typeof O.value=="string");O=O.next)N++,D+=O.value.length;N--,T=c.slice(M,D),L.index-=M}else if(L=m(ee,0,T,J),!L)continue;var P=L.index,R=L[0],q=T.slice(0,P),ne=T.slice(P+R.length),U=M+T.length;x&&U>x.reach&&(x.reach=U);var j=A.prev;q&&(j=_(d,j,q),M+=q.length),V(d,j,N);var un=new h(y,H?s.tokenize(R,H):R,bn,R);if(A=_(d,j,un),ne&&_(d,A,ne),N>1){var Y={cause:y+","+z,reach:U};v(c,d,g,A.prev,M,Y),x&&Y.reach>x.reach&&(x.reach=Y.reach)}}}}}}function C(){var c={value:null,prev:null,next:null},d={value:null,prev:c,next:null};c.next=d,this.head=c,this.tail=d,this.length=0}function _(c,d,g){var b=d.next,p={value:g,prev:d,next:b};return d.next=p,b.prev=p,c.length++,p}function V(c,d,g){for(var b=d.next,p=0;p<g&&b!==c.tail;p++)b=b.next;d.next=b,b.prev=d,c.length-=p}function B(c){for(var d=[],g=c.head.next;g!==c.tail;)d.push(g.value),g=g.next;return d}if(!r.document)return r.addEventListener&&(s.disableWorkerMessageHandler||r.addEventListener("message",function(c){var d=JSON.parse(c.data),g=d.language,b=d.code,p=d.immediateClose;r.postMessage(s.highlight(b,s.languages[g],g)),p&&r.close()},!1)),s;var S=s.util.currentScript();S&&(s.filename=S.src,S.hasAttribute("data-manual")&&(s.manual=!0));function w(){s.manual||s.highlightAll()}if(!s.manual){var E=document.readyState;E==="loading"||E==="interactive"&&S&&S.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return s}(t);e.exports&&(e.exports=i),typeof re<"u"&&(re.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(a,l){var o={};o["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[l]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};s["language-"+l]={pattern:/[\s\S]+/,inside:i.languages[l]};var h={};h[a]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},i.languages.insertBefore("markup","cdata",h)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(r,a){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:i.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(r){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var l=r.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(){if(typeof i>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading…",a=function(S,w){return"✖ Error "+S+" while fetching file: "+w},l="✖ Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",h="loading",m="loaded",v="failed",C="pre[data-src]:not(["+s+'="'+m+'"]):not(['+s+'="'+h+'"])';function _(S,w,E){var c=new XMLHttpRequest;c.open("GET",S,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status<400&&c.responseText?w(c.responseText):c.status>=400?E(a(c.status,c.statusText)):E(l))},c.send(null)}function V(S){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(S||"");if(w){var E=Number(w[1]),c=w[2],d=w[3];return c?d?[E,Number(d)]:[E,void 0]:[E,E]}}i.hooks.add("before-highlightall",function(S){S.selector+=", "+C}),i.hooks.add("before-sanity-check",function(S){var w=S.element;if(w.matches(C)){S.code="",w.setAttribute(s,h);var E=w.appendChild(document.createElement("CODE"));E.textContent=r;var c=w.getAttribute("data-src"),d=S.language;if(d==="none"){var g=(/\.(\w+)$/.exec(c)||[,"none"])[1];d=o[g]||g}i.util.setLanguage(E,d),i.util.setLanguage(w,d);var b=i.plugins.autoloader;b&&b.loadLanguages(d),_(c,function(p){w.setAttribute(s,m);var x=V(w.getAttribute("data-range"));if(x){var y=p.split(/\r\n?|\n/g),u=x[0],z=x[1]==null?y.length:x[1];u<0&&(u+=y.length),u=Math.max(0,Math.min(u-1,y.length)),z<0&&(z+=y.length),z=Math.max(0,Math.min(z,y.length)),p=y.slice(u,z).join(`
|
|
1400
|
+
`),w.hasAttribute("data-start")||w.setAttribute("data-start",String(u+1))}E.textContent=p,i.highlightElement(E)},function(p){w.setAttribute(s,v),E.textContent=p})}}),i.plugins.fileHighlight={highlight:function(w){for(var E=(w||document).querySelectorAll(C),c=0,d;d=E[c++];)i.highlightElement(d)}};var B=!1;i.fileHighlight=function(){B||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),B=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Ce);const Z=Ce.exports;Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:i,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=r.variable[1].inside,o=0;o<a.length;o++)l[a[o]]=e.languages.bash[a[o]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+i.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+i.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(s,h){h=(h||"").replace(/m/g,"")+"m";var m=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return s});return RegExp(m,h)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(l),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var i=e.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(Prism);const Gn=":host{display:block}.codewrap{position:relative;background:#08170f;border:1px solid rgba(255, 255, 255, 0.07);border-radius:12px;overflow:hidden}.codetop{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid rgba(255, 255, 255, 0.07)}.langchip{font-family:'IBM Plex Mono', ui-monospace, monospace;font-size:9.5px;letter-spacing:0.1em;text-transform:uppercase;color:#00ff9d;background:rgba(0, 255, 157, 0.1);border:1px solid rgba(0, 255, 157, 0.25);border-radius:5px;padding:4px 8px;line-height:1}.copy{display:inline-flex;align-items:center;gap:7px;background:transparent;border:none;cursor:pointer;font-family:'IBM Plex Mono', ui-monospace, monospace;font-size:10.5px;letter-spacing:0.06em;text-transform:uppercase;color:rgba(235, 242, 238, 0.62);padding:5px 7px;border-radius:6px;transition:color 0.14s, background 0.14s}.copy:hover{color:#00ff9d;background:rgba(0, 255, 157, 0.08)}.copy eds-icon-wrapper{color:inherit;display:inline-flex}pre{margin:0;padding:16px 15px;overflow-x:auto;white-space:pre;font-family:'IBM Plex Mono', ui-monospace, monospace;font-size:12.5px;line-height:1.75;color:#cfe3d8}code{font-family:inherit;font-size:inherit;line-height:inherit}.token.tag{color:#ff7b9c}.token.attr-name{color:#9fe8ff}.token.attr-value{color:#00ff9d}.token.string{color:#00ff9d}.token.punctuation{color:#6f8579}.token.attr-value .token.punctuation{color:#00ff9d}.token.comment{color:#6f8579;font-style:italic}.token.keyword{color:#ff7b9c}.token.function{color:#9fe8ff}.token.operator{color:#9fe8ff}.token.number{color:#ffb87e}.token.boolean{color:#d18fff}.token.property{color:#9fe8ff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",Kn=Gn,Ee=class{constructor(e){n.registerInstance(this,e),this.code=void 0,this.language=void 0,this.copied=!1}copyToClipboard(){navigator.clipboard.writeText(this.code).then(()=>{this.copied=!0,setTimeout(()=>this.copied=!1,2e3)})}getHighlightedCode(){return this.language&&Z.languages[this.language]?Z.highlight(this.code,Z.languages[this.language],this.language):this.code}render(){return n.h("div",{key:"70292c4efd3cfaa9e825fe5f50ca4c04807bfbf6",class:"codewrap"},n.h("div",{key:"8af431690673102d18e43fe225267244ecf7ed1c",class:"codetop"},n.h("span",{key:"484e4eb6636cd91314a17a3f048f8486f7dccb0a",class:"langchip"},this.language?this.language.toUpperCase():"CODE"),n.h("button",{key:"9a866e116ce719c59985b62850a351a4a87c30a8",type:"button",class:"copy","aria-label":"Copy code",onClick:()=>this.copyToClipboard()},n.h("eds-icon-wrapper",{key:"bfb0c5fe395e5a1f814e32fe21edff4829394225",name:this.copied?"checkmark-filled":"copy",size:16}),this.copied?"Copied":"Copy")),n.h("pre",{key:"cda2b6d9eee175ea01ee99ce68912813efa12a48",class:this.language?`language-${this.language}`:"",role:"region","aria-label":this.language?`Code block in ${this.language}`:"Code block"},n.h("code",{key:"2ebb1b9ac0f24a6c3c82e486745a476a4b4d5b7c",innerHTML:this.getHighlightedCode()})))}get el(){return n.getElement(this)}};Ee.style=Kn;const Xn=".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}",Jn=Xn,Ie=class{constructor(e){n.registerInstance(this,e),this.dropdown=n.createEvent(this,"dropdown",7),this.focusableItems=[],this.handleClick=()=>{var t,i;this.isOpen=!this.isOpen,this.isOpen?(this.focusableItems=Array.from(((t=this.panelEl)===null||t===void 0?void 0:t.querySelectorAll('a, button, [role="menuitem"]'))||[]),this.focusableItems.forEach(r=>{r.hasAttribute("role")||r.setAttribute("role","menuitem")}),this.focusIndex=this.focusableItems.length?0:-1,this.focusItem()):this.closeDropdown(),this.dropdown.emit({expanded:this.isOpen}),k.sendAnalytics({category:"ui-component",parentContext:null,tag:this.host.tagName.toLowerCase(),name:((i=this.label)===null||i===void 0?void 0:i.toLowerCase())||"",action:this.isOpen?"expanded":"collapsed"})},this.icon="chevron-down",this.label=void 0,this.ariaLabel="Open dropdown",this.asNav=!0,this.dropdownPos="left",this.dropdownOffset=!0,this.intent="ghost",this.autoClose=!0,this.noCloseSelector="[data-dropdown-no-close]",this.isOpen=!1,this.focusIndex=-1}async close(){this.closeDropdown()}handleWindowClick(e){(e.composedPath&&e.composedPath()||[]).includes(this.host)||this.closeDropdown()}handleKeyDown(e){var t;if(this.isOpen)switch(e.key){case"Tab":this.closeDropdown();break;case"Escape":e.preventDefault(),this.closeDropdown(),(t=this.buttonEl)===null||t===void 0||t.focus();break;case"ArrowUp":e.preventDefault(),this.focusIndex=(this.focusIndex-1+this.focusableItems.length)%this.focusableItems.length,this.focusItem();break;case"ArrowDown":e.preventDefault(),this.focusIndex=(this.focusIndex+1)%this.focusableItems.length,this.focusItem();break;case"Home":e.preventDefault(),this.focusIndex=this.focusableItems.length?0:-1,this.focusItem();break;case"End":e.preventDefault(),this.focusIndex=this.focusableItems.length-1,this.focusItem();break}}closeDropdown(){this.isOpen=!1,this.focusIndex=-1,this.dropdown.emit({expanded:!1})}focusItem(){var e;(e=this.focusableItems[this.focusIndex])===null||e===void 0||e.focus()}componentDidLoad(){var e;this.focusableItems=Array.from(((e=this.dropdownContent)===null||e===void 0?void 0:e.querySelectorAll("a, button"))||[])}handleHostInternalClick(e){var t;if(!this.isOpen||!this.panelEl)return;const i=((t=e.composedPath)===null||t===void 0?void 0:t.call(e))||[];if(!i.includes(this.panelEl))return;if(i.some(o=>{var s;const h=o;return(s=h==null?void 0:h.closest)===null||s===void 0?void 0:s.call(h,"[data-dropdown-close]")})){setTimeout(()=>this.closeDropdown(),0);return}if(!this.autoClose)return;i.some(o=>{var s;const h=o;return(s=h==null?void 0:h.closest)===null||s===void 0?void 0:s.call(h,this.noCloseSelector)})||setTimeout(()=>this.closeDropdown(),0)}render(){return n.h("div",{key:"1ce4926a15ac67d653ef03de877e64be83f61b4e",class:"z-focus relative",ref:e=>this.dropdownContent=e},n.h("eds-button",{key:"8b45fc57c018dd620701b2b9db5403c30f88a6ed",ref:e=>this.buttonEl=e,label:this.label,"aria-label":this.ariaLabel,icon:this.icon,iconSmall:!1,intent:this.intent,onClick:this.handleClick,"aria-expanded":this.isOpen.toString(),"aria-haspopup":"menu",size:"small",pill:!0}),n.h("nav",{key:"35854d55ea595e35513348bf36145794b2c57007",ref:e=>this.panelEl=e,role:"menu",class:{"shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8":!0,"left-4":this.dropdownPos==="left"&&this.dropdownOffset,"left-0":this.dropdownPos==="left"&&!this.dropdownOffset,"right-4":this.dropdownPos==="right"&&this.dropdownOffset,"right-0":this.dropdownPos==="right"&&!this.dropdownOffset},style:{display:this.isOpen?"block":"none"},"aria-label":"Dropdown","aria-hidden":!this.isOpen},n.h("slot",{key:"d6b153bb5968fa958be4d96d60cce774a9a0713c"})))}get host(){return n.getElement(this)}};Ie.style=Jn;const Qn=":host{display:block}p{margin:0}ul{list-style:none;padding:0;margin:0}.eds-footer-root{position:relative;padding:4rem 4rem 2rem;border-top:1px solid rgba(0, 0, 0, 0.06);font-family:var(--f-ui-02-fontFamily)}.eds-footer-root.theme-inverse{background-color:var(--brand-black, #000000);color:var(--grey-light, rgba(255, 255, 255, 0.7));border-top-color:rgba(255, 255, 255, 0.06)}.eds-footer-root.theme-default{background-color:var(--white, #ffffff);color:var(--grey-dark, #4b5563);border-top-color:rgba(0, 0, 0, 0.06)}.footer-container{max-width:1400px;margin:0 auto}.footer-grid{display:grid;grid-template-columns:2fr repeat(3, 1fr);gap:4rem;margin-bottom:4rem}.footer-brand-row{display:flex;align-items:center;gap:1rem}.footer-flag-link{display:inline-block;width:54px;flex-shrink:0;border-radius:4px}.footer-flag-link:focus-visible{outline:3px solid var(--brand-green);outline-offset:2px}.footer-flag-svg{height:auto;width:100%;display:block}.footer-funded{font-size:0.875rem;line-height:1.6;max-width:300px}.theme-inverse .footer-funded{color:var(--grey-dark, rgba(255, 255, 255, 0.55))}.theme-default .footer-funded{color:var(--grey-dark, #4b5563)}.footer-copyright{font-size:0.875rem;margin-top:0.75rem}.theme-inverse .footer-copyright{color:var(--grey-dark, rgba(255, 255, 255, 0.55))}.theme-default .footer-copyright{color:var(--grey-dark, #4b5563)}.footer-column-heading{font-size:0.8125rem;font-weight:500;margin:0 0 1.5rem 0}.theme-inverse .footer-column-heading{color:var(--white, #ffffff)}.theme-default .footer-column-heading{color:var(--brand-black, #111827)}.footer-column-list li{margin-bottom:0.75rem}.footer-column-list li:last-child{margin-bottom:0}.footer-link,.footer-text-item{font-size:0.875rem;text-decoration:none;transition:color 0.3s ease}.footer-link{cursor:pointer}.theme-inverse .footer-link,.theme-inverse .footer-text-item{color:var(--grey-dark, rgba(255, 255, 255, 0.55))}.theme-default .footer-link,.theme-default .footer-text-item{color:var(--grey-dark, #4b5563)}.footer-link:hover{color:var(--brand-green)}.footer-link:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px;border-radius:2px}.footer-social{padding-bottom:2rem;margin-bottom:2rem}.theme-inverse .footer-social{border-bottom:1px solid rgba(255, 255, 255, 0.06)}.theme-default .footer-social{border-bottom:1px solid rgba(0, 0, 0, 0.06)}.footer-back-to-top{position:absolute;top:1.5rem;right:2rem;opacity:0;transition:opacity 75ms cubic-bezier(0.4, 0, 0.2, 1)}@media (max-width: 1200px){.footer-grid{grid-template-columns:repeat(2, 1fr);gap:3rem}}@media (max-width: 768px){.eds-footer-root{padding:3rem 2rem 2rem}.footer-grid{grid-template-columns:1fr;gap:2rem;margin-bottom:2rem}.footer-funded{max-width:none}}",et=Qn,$=[{heading:"Resources",links:[{label:"Documentation",href:"https://design.ebrains.eu/get-started/",external:!0},{label:"Components",href:"https://design.ebrains.eu/ui-components/",external:!0},{label:"Foundations",href:"https://design.ebrains.eu/foundations/",external:!0},{label:"Analytics",href:"https://design.ebrains.eu/analytics/",external:!0}]},{heading:"Community",links:[{label:"GitLab",href:"https://gitlab.ebrains.eu/ri/tech-hub/ebrains-ui-ecosystem/",external:!0},{label:"Storybook",href:"https://storybook.design.ebrains.eu",external:!0},{label:"Report Issues",href:"https://gitlab.ebrains.eu/ri/tech-hub/ebrains-ui-ecosystem/-/issues",external:!0},{label:"Contribute",href:"https://design.ebrains.eu/get-started/contributing/",external:!0}]},{heading:"Legal",links:[{label:"MIT License"},{label:"Cookie Preferences",action:"cookies"}]}],Ae=class{constructor(e){n.registerInstance(this,e),this.cookies=n.createEvent(this,"cookies",7),this.backToTop=()=>{window.scrollTo({top:0,behavior:"smooth"})},this.emitCookies=()=>{this.cookies.emit("toggle")},this.social=!1,this.variant="inverse",this.enableScrollTop=!1,this.fundedBy="EBRAINS is funded by the Horizon Europe Framework Programme.",this.rightsReserved=`${new Date().getFullYear()} EBRAINS. All rights reserved.`,this.cookiesPreferences="Cookie Preferences",this.enableCookiesSettings=!1,this.backToTopAriaLabel="Back to Top",this.columns=void 0,this.resolvedColumns=$}componentWillLoad(){this.resolvedColumns=this.parseColumns(this.columns)}onColumnsChange(e){this.resolvedColumns=this.parseColumns(e)}parseColumns(e){if(e==null||e==="")return $;if(Array.isArray(e))return e;if(typeof e=="string")try{const t=JSON.parse(e);return Array.isArray(t)?t:(console.warn("eds-footer: `columns` JSON parsed but is not an array; using defaults"),$)}catch(t){return console.warn("eds-footer: failed to parse `columns` JSON, using defaults",t),$}return $}componentDidLoad(){var e;this.backBtn=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelector("#toTop")}handleScroll(){if(!this.backBtn)return;const e=window.scrollY>100&&document.body.scrollHeight>window.innerHeight;this.backBtn.style.opacity=e?"1":"0",this.backBtn.style.pointerEvents=e?"auto":"none";const t=this.backBtn.querySelector("eds-button");t&&(t.removeAttribute("aria-hidden"),t.setAttribute("tabindex",e?"0":"-1"))}renderLink(e,t){if(e.action==="cookies")return this.enableCookiesSettings?n.h("li",{key:`cookies-${t}`},n.h("a",{href:"javascript:void(0)",class:"footer-link",onClick:this.emitCookies,role:"button"},this.cookiesPreferences||e.label)):null;if(e.href){const i=e.external===!0;return n.h("li",{key:`${e.label}-${t}`},n.h("a",Object.assign({class:"footer-link",href:e.href},i?{target:"_blank",rel:"noopener noreferrer"}:{}),e.label))}return n.h("li",{key:`text-${t}`},n.h("span",{class:"footer-text-item"},e.label))}render(){const e=new Date().getFullYear(),t=this.rightsReserved||`${e} EBRAINS. All rights reserved.`,i=this.variant==="inverse",r=["eds-footer-root",i?"theme-inverse":"theme-default"].join(" ");return n.h("footer",{key:"e7d7584fcd2dcfd2e4e469c5e9e2621f010036fe",class:r},this.social?n.h("div",{class:"footer-social"},n.h("div",{class:"footer-container"},n.h("eds-social-networks",{variant:this.variant}))):null,n.h("div",{key:"4233c2f5665ff8fd49f1949ef450b87149f1d9ba",class:"footer-container"},n.h("div",{key:"6a90c75dc5a099727e58fb21c706e7d310c2e58f",class:"footer-grid"},n.h("div",{key:"450704c6200bf603a296c383872eecdf4ef94fd9",class:"footer-brand"},n.h("div",{key:"380ba7f532a8f94627e206e33480be697861dc57",class:"footer-brand-row"},n.h("a",{key:"2cbc262b8630d7106b1ff4c9b9e97f7421df05bd",target:"_blank",rel:"noopener noreferrer",class:"footer-flag-link",href:"https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en","aria-label":"Learn about Horizon Europe funding"},n.h("svg",{key:"a1374ae892acdd10d5294e3197e9b37e8adb7b38",class:"footer-flag-svg",width:"63",height:"50",viewBox:"0 0 640 480",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.h("path",{key:"11b83b7931271e829803de01822a6618e66c8b17",d:"M0 0h640v480H0V0z",fill:"#039"}),n.h("path",{key:"2e5b724042df62f59964709ec2e6954767690805",d:"M325.032 93.15l17.513-.398-14.401 9.972 5.789 16.53L320 108.639l-13.933 10.615 5.789-16.531-14.399-9.97 17.51.396L320 76.374l5.032 16.775zm0 284.444l17.513-.398-14.401 9.972 5.789 16.53L320 393.083l-13.933 10.615 5.789-16.531-14.399-9.97 17.51.397L320 360.818l5.032 16.776zm-147.25-158.983l5.029 16.761 17.511-.397-14.4 9.969 5.79 16.533-13.933-10.616-13.932 10.616 5.788-16.531-14.401-9.971 17.511.397 5.028-16.761.004-.015.001.003.001-.003.003.015zm77.885-105.334l17.511-.397-14.401 9.971 5.79 16.531-13.932-10.614-13.933 10.615 5.788-16.531-14.4-9.971h.005l-.003-.001 17.51.397 5.033-16.775 5.032 16.775zm-52.729 52.729l17.511-.398h.002l-14.402 9.971 5.79 16.531-13.933-10.615-13.932 10.615 5.789-16.532-14.4-9.97 17.51.397 5.033-16.776 5.032 16.777zm-5.001 125.803l5.027 16.759 17.513-.397-14.401 9.971 5.79 16.531-.005-.005.003.006-13.932-10.615-13.933 10.615 5.788-16.532-14.398-9.97 17.51.396 5.029-16.759.004-.016v.003l.002-.003.003.016zm51.445 47.71l5.027 16.76 17.513-.397-14.401 9.97 5.791 16.532-.004-.004.002.004-13.933-10.615-13.933 10.615 5.788-16.532-14.398-9.97 17.51.397 5.029-16.76.004-.016v.003l.002-.003.003.016zm217.873-104.147l17.511-.397-14.401 9.969 5.79 16.533-13.934-10.616-13.931 10.616 5.789-16.533-14.399-9.969 17.509.397 5.034-16.776 5.032 16.776zm-63.958-95.997l-5.786-16.522 14.401-9.972-17.511.398-5.033-16.778-5.034 16.777-17.51-.398 14.4 9.972-5.789 16.53 13.932-10.614 13.934 10.614-.004-.007zm38.797 42.122l13.934 10.614-.004-.007-5.787-16.524 14.401-9.971-17.51.399-5.033-16.778-5.033 16.777-17.51-.398h-.001l14.399 9.972-5.787 16.529 13.931-10.613zm5.007 127.071l17.51-.397-14.4 9.971 5.79 16.531-13.933-10.614-13.932 10.615 5.788-16.531-14.401-9.971h.005l-.003-.001 17.51.397 5.033-16.775 5.033 16.775zm-51.446 47.711l17.511-.397-14.4 9.97 5.79 16.532-13.933-10.615-13.933 10.615 5.789-16.531-14.401-9.971h.002l17.51.397 5.033-16.776 5.032 16.776z",fill:"#FC0"}))),n.h("p",{key:"20e15f10baf1ddf47bc35e4d339a8efaf4b4bb49",class:"footer-funded"},this.fundedBy)),n.h("p",{key:"126e04d4a993422b5554fb87dfb9b388e8d2a4af",class:"footer-copyright"},"© ",t)),this.resolvedColumns.map((a,l)=>n.h("div",{class:"footer-column",key:`col-${l}`},n.h("h4",{class:"footer-column-heading"},a.heading),n.h("ul",{class:"footer-column-list"},(a.links||[]).map((o,s)=>this.renderLink(o,s))))))),this.enableScrollTop?n.h("div",{id:"toTop",class:"footer-back-to-top"},n.h("eds-button",{id:"backToTop","aria-label":this.backToTopAriaLabel,intent:i?"ghostInverse":"ghost",size:"large",icon:"chevron-up",onClick:this.backToTop,tabindex:"-1"})):null)}get el(){return n.getElement(this)}static get watchers(){return{columns:["onColumnsChange"]}}};Ae.style=et;function X(e,t,i,r,a,l,o){const s=[];if(r&&!t){const h=e.length>30?`${e.slice(0,27)}…`:e;s.push(`“${h}” is required.`)}if(i==="number"){const h=typeof t=="number"?t:parseFloat(t);isNaN(h)?s.push(`${e} must be a valid number.`):(typeof l=="number"&&h<l&&s.push(`${e} must be greater than or equal to ${l}.`),typeof o=="number"&&h>o&&s.push(`${e} must be less than or equal to ${o}.`))}if(a&&typeof t=="string"&&t.length>a&&s.push(`${e} must be at most ${a} characters.`),i==="email"&&t&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.toString())&&s.push("Invalid email format."),i==="url"&&t)try{new URL(t.toString())}catch{s.push("Invalid URL format.")}if(i==="tel"&&t){const h=t.toString(),m=/\d/.test(h),v=/^[\d\s\-\+\(\)\.]+$/.test(h);m?v||s.push("Phone number contains invalid characters. Use only digits, spaces, +, -, (, ), or ."):s.push("Phone number must contain at least one digit.")}return s}function Fe(e,t,i){const l=Array.from(i.querySelectorAll("eds-input-field")).filter(s=>{var h,m;return((m=(h=s.shadowRoot)===null||h===void 0?void 0:h.querySelectorAll(`input[name="${e}"]`))===null||m===void 0?void 0:m.length)>0}).flatMap(s=>{var h;return Array.from(((h=s.shadowRoot)===null||h===void 0?void 0:h.querySelectorAll(`input[name="${e}"]`))||[])}).some(s=>s.checked),o=[];return t&&!l&&o.push(`At least one option in ${e} is required.`),o}function _e(e,t,i){var r;const a=[],l=Array.from(i.querySelectorAll("eds-input-field")).find(s=>{var h;return(h=s.shadowRoot)===null||h===void 0?void 0:h.querySelector(`[name="${e}"]`)});if(!l)return t&&a.push(`${e} is required.`),a;const o=(r=l.shadowRoot)===null||r===void 0?void 0:r.querySelector(`[name="${e}"]`);return t&&o&&!o.checked&&a.push(`${e} is required.`),a}function nt(e,t){const i=Array.from(e.querySelectorAll("eds-input-field"));for(const r of i)if(r.shadowRoot){const a=r.shadowRoot.querySelector(`[name="${t}"]`);if(a)return a}return null}function tt(e){const t=Array.from(e.querySelectorAll("eds-rating"));for(const i of t)return i;return null}function it(e){const t=Array.from(e.querySelectorAll("eds-nps"));for(const i of t)return i;return null}function rt(e,t,i,r){const a={};let l=!1;return e.forEach(o=>{if(!r(o,i)){delete a[o.name];return}if(o.type!=="hidden"&&o.type!=="content")if((o.type==="checkbox"||o.type==="radio")&&!o.options){const s=_e(o.name,o.required,t);s.length>0&&(a[o.name]=s,l=!0)}else if(o.options&&(o.type==="checkbox"||o.type==="radio")){const s=Fe(o.name,o.required,t);s.length>0&&(a[o.name]=s,l=!0)}else if(o.type==="rating"){const s=tt(t);if(s){const h=s.getAttribute("selected-rating"),m=h!==null?parseInt(h,10):0,v=X(o.name,m,o.type,o.required);v.length>0&&(a[o.name]=v,l=!0)}}else if(o.type==="nps"){const s=it(t);if(s){const h=s.getAttribute("selected-value"),m=h!==null?parseInt(h,10):null;(m===null||isNaN(m))&&o.required&&(a[o.name]=["This field is required."],l=!0)}else o.required&&(a[o.name]=["This field is required."],l=!0);return}else{const s=nt(t,o.name);if(s){const h=s.value,m=X(o.name,h,o.type,o.required,o.maxlength,o.min,o.max);m.length>0&&(a[o.name]=m,l=!0)}}}),{errors:a,hasError:l}}function Le(e){if(!e)return"";let t=String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""");return t=t.replace(/\*\*([^*]+)\*\*/g,"<strong>$1</strong>"),t=t.replace(/\[([^\]]+)\]\(([^)\s]+)\)/g,(i,r,a)=>/^(https?:|mailto:)/i.test(a)?`<a href="${a}" target="_blank" rel="noopener noreferrer" class="eds-desc-link">${r}</a>`:r),t=t.replace(/\n/g,"<br>"),t}function at(e,t,i){return e.type==="checkbox"||e.type==="radio"?e.options?Fe(e.name,e.required,i):_e(e.name,e.required,i):X(e.name,t,e.type,e.required,e.maxlength,e.min,e.max)}function lt({initData:e,parsedFields:t,currentValues:i}){const r=Object.assign({},i);return t.forEach(a=>{const l=e[a.name];l!==void 0&&(r[a.name]=l)}),{updatedValues:r}}const ot=`.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:600;font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:600;font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing);overflow:visible}.text-light{color:var(--grey-dark)}.rounded-xs{border-radius:4px}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.border-t-2{border-top-width:2px}.mt-20{margin-top:1.25rem}.mt-24{margin-top:1.5rem}.mt-32{margin-top:2rem}.mt-48{margin-top:3rem}.mt-64{margin-top:4rem}.mb-32{margin-bottom:2rem}.mb-48{margin-bottom:3rem}.pt-28{padding-top:1.75rem}.pt-32{padding-top:2rem}.pt-64{padding-top:4rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-20{row-gap:1.25rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.bg-inverse{background-color:var(--white)}.form-brand{box-shadow:0 2px 12px rgba(0, 0, 0, 0.08);border-left:4px solid var(--brand-green);animation:fadeInUp 0.6s ease}.form-brand-card{--warn:#ffb22c;--warn-strong:#b26b00;--danger:#ff6b5b;--danger-strong:#c0392b;background:var(--white, #fff);border:1px solid var(--line-color, #e2e2e2);border-radius:20px;overflow:hidden;box-shadow:0 30px 60px -34px rgba(7, 20, 13, 0.32);animation:fadeInUp 0.6s ease}.form-brand-header{position:relative;overflow:hidden;background:var(--brand-black, #07140d);color:#fff;padding:38px 40px 34px}.fbh-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
|
|
1401
|
+
linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);background-size:42px 42px;-webkit-mask-image:radial-gradient(130% 110% at 15% 0%, #000, transparent 72%);mask-image:radial-gradient(130% 110% at 15% 0%, #000, transparent 72%);opacity:0.5;pointer-events:none}.fbh-glow{position:absolute;top:-50%;right:-12%;width:420px;height:420px;background:radial-gradient(circle, rgba(0, 255, 157, 0.16), transparent 62%);pointer-events:none}.fbh-glow--expiring{background:radial-gradient(circle, rgba(255, 178, 44, 0.13), transparent 62%)}.fbh-glow--closed{background:radial-gradient(circle, rgba(192, 57, 43, 0.14), transparent 62%)}.fbh-in{position:relative}.fbh-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px}.fbh-mark{width:30px;height:30px;border-radius:50%;background:linear-gradient(150deg, #00ff9d, #00c87b 55%, #0a8f5a);display:flex;align-items:center;justify-content:center}.fbh-mark svg{width:19px;height:19px}.fbh-word{font-weight:600;font-size:16px;letter-spacing:0.04em}.fbh-logo{width:150px;margin-bottom:22px}.fbh-eyebrow{font-family:'IBM Plex Mono', monospace;font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--brand-green, #00ff9d);display:inline-flex;align-items:center;gap:7px}.fbh-eyebrow svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;flex:0 0 12px}.fbh-eyebrow--expiring{color:var(--warn, #ffb22c)}.fbh-eyebrow--closed{color:var(--danger, #ff6b5b)}.fbh-title{font-weight:200;font-size:clamp(26px, 4vw, 36px);letter-spacing:-0.02em;line-height:1.08;margin-bottom:12px}.fbh-sub{font-size:14.5px;color:rgba(235, 242, 238, 0.62);font-weight:300;max-width:72ch;line-height:1.55}.fbh-meta{display:flex;gap:22px;margin-top:22px;flex-wrap:wrap}.fbh-meta span{display:inline-flex;align-items:center;gap:7px;font-family:'IBM Plex Mono', monospace;font-size:10.5px;letter-spacing:0.06em;text-transform:uppercase;color:rgba(235, 242, 238, 0.62)}.fbh-meta svg{width:13px;height:13px;stroke:var(--brand-green, #00ff9d);fill:none;stroke-width:1.8}.fbh-meta span.is-warn{color:var(--warn, #ffb22c)}.fbh-meta span.is-warn svg{stroke:var(--warn, #ffb22c)}.fbh-meta span.is-danger{color:var(--danger, #ff6b5b)}.fbh-meta span.is-danger svg{stroke:var(--danger, #ff6b5b)}.form-meta-time{display:inline-flex;align-items:center;gap:7px;width:fit-content;font-family:'IBM Plex Mono', monospace;font-size:10.5px;letter-spacing:0.06em;text-transform:uppercase;color:var(--grey-dark)}.form-meta-time svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.form-brand-body{padding:var(--eds-form-padding, 34px 40px 30px);--eds-field-accent:#00c87b}.form-brand-body--closed{opacity:0.55}.form-sect{margin-bottom:30px}.form-sect:last-child{margin-bottom:0}.form-sect-head{display:flex;align-items:center;gap:9px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--line-color, #e2e2e2)}.form-sect-glyph{color:#00c87b;display:inline-flex}.form-sect-glyph svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}.form-sect-label{font-family:'IBM Plex Mono', monospace;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--brand-black, #07140d)}.form-brand-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 40px;border-top:1px solid var(--line-color, #e2e2e2);background:#fcfcfc;flex-wrap:wrap}.form-brand-footer-actions{display:flex;align-items:center;gap:12px}.req-note{font-family:'IBM Plex Mono', monospace;font-size:10.5px;letter-spacing:0.06em;text-transform:uppercase;color:#8a8c8a}.req-note b{color:#00c87b}.fbf-left{display:flex;align-items:center;gap:12px;min-width:0}.fbf-save{display:inline-flex;align-items:center;gap:9px;font-family:'IBM Plex Mono', monospace;font-size:10.5px;letter-spacing:0.07em;text-transform:uppercase;color:#8a8c8a;transition:color 0.2s;white-space:nowrap}.fbf-save-dot{width:7px;height:7px;border-radius:50%;background:#00c87b;flex:0 0 7px;transition:background 0.2s}.fbf-save--saving{color:#7a7b7a}.fbf-save--saving .fbf-save-dot{background:#7a7b7a;animation:fbfPulse 1s ease-in-out infinite}.fbf-save--error{color:var(--danger-strong, #c0392b)}.fbf-save--error .fbf-save-dot{background:var(--danger-strong, #c0392b)}@keyframes fbfPulse{0%,100%{opacity:1}50%{opacity:0.25}}.fbf-sep{width:1px;height:13px;background:var(--line-color, #e2e2e2);flex:0 0 1px}.fbf-clear{font-family:'IBM Plex Sans', system-ui, sans-serif;font-size:13.5px;color:var(--body-l, #5a5f5c);cursor:pointer;background:none;border:none;padding:6px 2px;transition:color 0.15s}.fbf-clear:hover:not(:disabled){color:var(--danger-strong, #c0392b)}.fbf-clear:disabled{opacity:0.4;cursor:not-allowed}.fbf-confirm{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.fbf-confirm-q{font-size:13.5px;color:var(--danger-strong, #c0392b);display:inline-flex;align-items:center;gap:8px}.fbf-confirm-q svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;flex:0 0 15px}.fbf-confirm-no{font-family:'IBM Plex Sans', system-ui, sans-serif;font-size:13.5px;color:var(--body-l, #5a5f5c);cursor:pointer;background:none;border:none}.fbf-confirm-no:hover{color:var(--brand-black, #07140d)}.fbf-confirm-yes{font-family:'IBM Plex Sans', system-ui, sans-serif;font-size:13.5px;font-weight:500;cursor:pointer;border-radius:999px;padding:9px 16px;background:#fdf0ee;color:var(--danger-strong, #c0392b);border:1px solid #f2cfc9;transition:0.15s}.fbf-confirm-yes:hover{background:var(--danger-strong, #c0392b);color:#fff;border-color:var(--danger-strong, #c0392b)}.req-note--closed{display:inline-flex;align-items:center;gap:7px;color:var(--danger-strong, #c0392b)}.req-note--closed svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;flex:0 0 13px}@media (max-width: 600px){.form-brand-header,.form-brand-footer{padding-left:24px;padding-right:24px}.form-brand-body{padding:var(--eds-form-padding, 28px 24px 28px)}.form-brand-footer{align-items:flex-start;flex-direction:column-reverse;gap:20px;padding-top:22px}.form-brand-footer-actions,.fbf-confirm{width:100%;justify-content:space-between}.fbf-left{flex-wrap:wrap;row-gap:8px;width:100%;padding-top:20px;border-top:1px solid var(--line-color, #e2e2e2)}}@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.shadow-hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-sm{border-radius:8px}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-4{padding-bottom:0.25rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.w-full{width:100%}.justify-between{justify-content:space-between}.items-center{align-items:center}@media (min-width: 750px){.md\\:flex-row-reverse{flex-direction:row-reverse}.md\\:justify-between{justify-content:space-between}.md\\:gap-y-0{row-gap:0}.md\\:w-auto{width:auto}.md\\:mt-64{margin-top:4rem}.md\\:pt-64{padding-top:4rem}}.eds-desc-link{position:relative;display:inline-block;color:var(--brand-black);text-decoration:none}.eds-desc-link::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background-color:var(--brand-green);transition:width 0.3s ease}.eds-desc-link:hover::after{width:100%}.eds-desc-link:focus-visible::after{width:0}.fbh-sub .eds-desc-link{color:#fff;font-weight:400}.eds-content-block{line-height:1.5;color:var(--brand-black, #07140d)}.eds-content-block strong{font-weight:600}.eds-content-block .eds-desc-link{font-weight:600}`,st=ot,Me=class{constructor(e){n.registerInstance(this,e),this.form=n.createEvent(this,"form",7),this.name="eds-form",this.title="Form Title",this.description="Form Description",this.eyebrow=void 0,this.estimatedTime=void 0,this.progress=void 0,this.expires=void 0,this.policy=void 0,this.gdpr=!1,this.setFormUrl=!0,this.formBtn=!0,this.formBtnLabel="Submit",this.buttonIntent="primary",this.clearBtn=!1,this.clearBtnLabel="Clear",this.errorMessage="Some fields in your form are incorrect.",this.fields=[],this.groups=[],this.initData={},this.formStyle="default",this.status="open",this.saveStatus="idle",this.saveLabel=void 0,this.values={},this.showClearConfirm=!1,this.isSubmitting=!1,this.hasError=!1,this.errors={},this.parsedFields=[],this.parsedGroups=[]}async setData(e){this.populateFormWithInitData(e)}componentWillLoad(){this.parseFields(this.fields),this.parseGroups(this.groups),this.el.querySelectorAll("eds-button").forEach(t=>{this.emitContext(t)})}componentDidLoad(){this.shouldFormProcessInitData&&this.populateFormWithInitData(this.initData)}get shouldFormProcessInitData(){return!!this.initData}parseFields(e){this.parsedFields=F.parseData(e)}parseGroups(e){this.parsedGroups=F.parseData(e)}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}isFieldVisible(e){if(!e.condition)return!0;const t=this.values[e.condition.field],i=e.condition.value;return t==null?i==null||i==="":Array.isArray(t)?t.some(r=>this.normalizeValue(r)===this.normalizeValue(i)):typeof t=="string"&&t.includes(",")?t.split(",").map(a=>a.trim()).some(a=>this.normalizeValue(a)===this.normalizeValue(i)):this.normalizeValue(t)===this.normalizeValue(i)}normalizeValue(e){return e==null?"":typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="string"?e.trim().toLowerCase():String(e).trim().toLowerCase()}validateForm(){const{errors:e,hasError:t}=rt(this.parsedFields,this.formEl,this.values,(i,r)=>this.isFieldVisible(i));this.errors=e,this.hasError=t}populateFormWithInitData(e){const{updatedValues:t}=lt({initData:e,parsedFields:this.parsedFields,currentValues:this.values,formEl:this.formEl,isFieldVisible:(i,r)=>{if(!i.condition)return!0;const a=r[i.condition.field],l=i.condition.value;return a==null?l==null||l==="":Array.isArray(a)?a.some(o=>this.normalizeValue(o)===this.normalizeValue(l)):typeof a=="string"&&a.includes(",")?a.split(",").map(s=>s.trim()).some(s=>this.normalizeValue(s)===this.normalizeValue(l)):this.normalizeValue(a)===this.normalizeValue(l)}});this.values=t}getFormData(){const e=new FormData;return e.append("form_name",this.name),this.setFormUrl&&typeof window<"u"&&e.set("form_url",window.location.href),Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach(i=>{if(i.shadowRoot){const r=i.shadowRoot.querySelector("input, textarea, select");if(r&&r.name)if(r.type==="checkbox"||r.type==="radio"){const l=Array.from(i.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map(o=>o.value);e.append(r.name,l.join(","))}else if(r.type==="file"){const a=r;a.files&&a.files.length>0&&Array.from(a.files).forEach(l=>{e.append(a.name,l)})}else e.append(r.name,r.value)}}),e}makeFormData(){var e;const t=new FormData;t.append("form_name",this.name),this.setFormUrl&&typeof window<"u"&&t.set("form_url",window.location.href);const i={};return this.parsedFields.forEach(a=>{(i[a.name]=i[a.name]||[]).push(a)}),Object.keys(this.values).forEach(a=>{const l=i[a];if(l&&l.length&&!l.some(s=>this.isFieldVisible(s)))return;const o=this.values[a];if(Array.isArray(o)&&(o.length===0||o[0]instanceof File)){o.forEach(s=>t.append(a,s));return}(o instanceof File||o!=null)&&t.append(a,o)}),((e=this.parsedFields)===null||e===void 0?void 0:e.some(a=>(a==null?void 0:a.type)==="file"))&&this.formEl&&Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach(l=>{const o=l.shadowRoot;if(!o)return;Array.from(o.querySelectorAll('input[type="file"][name]')).forEach(h=>{const m=h.name,v=h.files?Array.from(h.files):[];v.length>0&&v.forEach(C=>t.append(m,C))})}),t}handleChange(e,t){let i;if(e instanceof CustomEvent&&e.detail&&"value"in e.detail)i=e.detail.value;else{const r=e.target;if(i=r.value,r.type==="checkbox"){const a=this.values[t.name]||"";let l=a?a.split(","):[];r.checked?l.includes(r.value)||l.push(r.value):l=l.filter(o=>o!==r.value),i=l.join(",")}else if(r.type==="radio"){if(!r.checked)return;i=r.value}}this.values=Object.assign(Object.assign({},this.values),{[t.name]:i}),t.name!=="password"&&this.form.emit({event:"change",field:t.name,value:i,message:`${t.name} updated`})}handleInput(e,t){let i;if(e instanceof CustomEvent&&e.detail&&"value"in e.detail)i=e.detail.value;else{const l=e.target;if(l.type==="radio"&&!l.checked)return;i=l.value}const r=Object.assign({},this.errors),a=at(t,i,this.formEl);a.length>0?r[t.name]=a:delete r[t.name],this.errors=r,this.hasError=Object.keys(r).length>0,this.form.emit({event:"input",field:t.name,value:i,message:`${t.name} updated`})}handleRating(e,t){const i=e.detail;this.values=Object.assign(Object.assign({},this.values),{[t.name]:i});const r=Object.assign({},this.errors);t.required&&i===0?r[t.name]=["This field is required"]:delete r[t.name],this.errors=r,this.hasError=Object.keys(r).length>0,this.form.emit({event:"change",field:t.name,value:i,message:`${t.name} updated`})}handleNPS(e,t){const i=e.detail;this.values=Object.assign(Object.assign({},this.values),{[t.name]:i});const r=Object.assign({},this.errors);t.required&&i===null?r[t.name]=["This field is required"]:delete r[t.name],this.errors=r,this.hasError=Object.keys(r).length>0,this.form.emit({event:"change",field:t.name,value:i,message:`${t.name} updated`})}handleSubmit(e){var t,i;if(e==null||e.preventDefault(),this.status!=="closed"&&!this.isSubmitting){if(this.isSubmitting=!0,this.validateForm(),this.hasError){this.isSubmitting=!1,this.form.emit({event:"submit",validated:!1,success:!1,message:this.errorMessage}),k.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${(t=this.formBtnLabel)===null||t===void 0?void 0:t.toLowerCase()}/non-validated`||"",action:"click"});return}this.form.emit({event:"submit",success:!0,validated:!0,message:"Form data validated successfully"}),k.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${(i=this.formBtnLabel)===null||i===void 0?void 0:i.toLowerCase()}/validated`||"",action:"click"}),this.errors={},this.formEl.reset(),this.isSubmitting=!1}}handleClear(e){var t,i;e==null||e.preventDefault(),this.formEl.reset(),this.values=Object.assign({}),this.errors={},this.hasError=!1;const r=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("eds-input-field");r==null||r.forEach(a=>{var l;if(a){const o=(l=a.shadowRoot)===null||l===void 0?void 0:l.querySelector("input, select, textarea");if(o){const s=o.type;s==="checkbox"||s==="radio"?o.checked=!1:o.value=""}}}),this.form.emit({event:"change",message:"Form cleared",success:!0,cleared:!0}),k.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${(i=this.clearBtnLabel)===null||i===void 0?void 0:i.toLowerCase()}/clear`||"",action:"click"})}get groupedFields(){const e={};return this.parsedGroups.forEach(t=>e[t.id]=[]),e.__ungrouped=[],this.parsedFields.forEach(t=>{if(!this.isFieldVisible(t))return;const i=t.groupId||"__ungrouped";e[i]||(e[i]=[]),e[i].push(t)}),e}renderField(e){var t,i,r,a,l,o,s;if(!this.isFieldVisible(e))return null;const h=e.disabled||this.status==="closed";if(e.type==="content"){const m=(i=(t=e.content)!==null&&t!==void 0?t:e.label)!==null&&i!==void 0?i:"";return n.h("div",{class:"eds-content-block f-body-02 text-default",key:e.name,innerHTML:this.formatDescription(m)})}if(e.type==="rating"){const m=this.values[e.name]||0;return n.h("div",{class:"form-group rating-field",key:e.name},n.h("div",{class:"flex justify-between"},e&&n.h("eds-input-label",{name:`rating-${e.name}`,label:e.label,disabled:h,required:e.required})),n.h("eds-rating",{id:`rating-${e.name}`,"rating-type":e.ratingType,"rating-count":e.ratingCount,"selected-rating":m,onRating:v=>this.handleRating(v,e)}),n.h("div",{class:"mt-6"},n.h("eds-input-footer",{id:`${e.name}-footer`,name:e.name,message:e.message,"error-message":(r=this.errors[e.name])===null||r===void 0?void 0:r.join("<br/>"),error:!!this.errors[e.name],link:e.link})))}else if(e.type==="nps"){const m=this.values[e.name]!==void 0?this.values[e.name]:null;return n.h("div",{class:"form-group nps-field",key:e.name},n.h("div",{class:"flex justify-between"},e&&n.h("eds-input-label",{name:`nps-${e.name}`,label:e.question,disabled:h,required:e.required})),n.h("eds-nps",{id:`nps-${e.name}`,"right-label":e.rightLabel,"left-label":e.leftLabel,"selected-value":m,onNps:v=>this.handleNPS(v,e)}),n.h("div",{class:"mt-6"},n.h("eds-input-footer",{id:`${e.name}-footer`,name:e.name,"error-message":(a=this.errors[e.name])===null||a===void 0?void 0:a.join("<br/>"),error:!!this.errors[e.name]})))}else{if(e.type==="search-select")return n.h("eds-search-select",{key:e.name,name:e.name,label:e.label,source:e.source,options:e.options,multiple:!!e.multiple,"api-base":e.apiBase||"/api/v1",placeholder:e.placeholder,required:e.required,disabled:h,hint:e.hint,message:e.message,error:!!this.errors[e.name],"error-message":(l=this.errors[e.name])===null||l===void 0?void 0:l.join("<br/>"),value:this.values[e.name],onEdsinput:m=>this.handleInput(m,e),onEdschange:m=>this.handleChange(m,e)});if(e.type==="kg-web-service")return n.h("eds-kg-web-services-select",{key:e.name,name:e.name,label:e.label,"api-endpoint":e.apiEndpoint||"/api/v1/kg/web-services/cached",placeholder:e.placeholder,required:e.required,disabled:h,hint:e.hint,message:e.message,error:!!this.errors[e.name],"error-message":(o=this.errors[e.name])===null||o===void 0?void 0:o.join("<br/>"),value:this.values[e.name],size:e.size||500,onEdsinput:m=>this.handleInput(m,e),onEdschange:m=>this.handleChange(m,e)})}return n.h("eds-input-field",{key:e.name,name:e.name,label:e.label,placeholder:e.placeholder,type:e.type,value:this.values[e.name],required:e.required,disabled:h,hint:e.hint,message:e.message,link:e.link,error:!!this.errors[e.name],errorMessage:(s=this.errors[e.name])===null||s===void 0?void 0:s.join("<br/>"),options:e.options,onInput:m=>this.handleInput(m,e),onChangeNative:m=>this.handleChange(m,e)})}async getData(){return this.makeFormData()}formatDescription(e){return Le(e)}render(){const e=this.parsedFields.filter(r=>r.type==="hidden"),t=this.groupedFields;let i="";if(this.formStyle==="default"?i="bg-inverse border-softer relative rounded-xs border-2":this.formStyle==="shadow"?i="bg-inverse effect-shadow shadow-hover border-softer relative rounded-xs border-2":this.formStyle==="brand"&&(i="bg-inverse form-brand relative rounded-xs"),this.formStyle==="brand"){const r=this.parsedFields.some(v=>v&&v.required&&v.type!=="hidden"),a=this.parsedGroups.filter(v=>Array.isArray(t[v.id])&&t[v.id].length>0).map(v=>n.h("div",{class:"form-sect",key:v.id},n.h("div",{class:"form-sect-head"},n.h("span",{class:"form-sect-glyph","aria-hidden":"true"},n.h("svg",{viewBox:"0 0 24 24"},n.h("path",{d:"M6 4l13 7-5.5 1.5L11 18z","stroke-linejoin":"round"}))),n.h("span",{class:"form-sect-label"},v.title)),n.h("div",{class:"flex flex-col gap-y-24"},t[v.id].map(C=>this.renderField(C))))),l=this.status==="closed",o=this.status==="expiring",s=l?"Closed":o?"Closing soon":"",h=l?n.h("svg",{viewBox:"0 0 24 24"},n.h("circle",{cx:"12",cy:"12",r:"9"}),n.h("path",{d:"M15 9l-6 6M9 9l6 6","stroke-linecap":"round"})):o?n.h("svg",{viewBox:"0 0 24 24"},n.h("circle",{cx:"12",cy:"12",r:"9"}),n.h("path",{d:"M12 8v4.5M12 16h.01","stroke-linecap":"round"})):null,m=l?"is-danger":o?"is-warn":"";return n.h("form",{class:`form-brand-card relative ${l?"is-closed":""}`,ref:v=>this.formEl=v,autocomplete:"on",onSubmit:this.handleSubmit},n.h("div",{class:"form-brand-header"},n.h("div",{class:"fbh-grid","aria-hidden":"true"}),n.h("div",{class:`fbh-glow fbh-glow--${this.status}`,"aria-hidden":"true"}),n.h("div",{class:"fbh-in"},n.h("div",{class:"fbh-logo"},n.h("eds-logo",{variant:"negative",href:"/"})),this.eyebrow&&n.h("span",{class:`fbh-eyebrow fbh-eyebrow--${this.status}`},h,this.eyebrow,s?` · ${s}`:""),this.title&&n.h("h1",{class:"fbh-title"},this.title),this.description&&n.h("p",{class:"fbh-sub",innerHTML:this.formatDescription(this.description)}),(this.progress!=null||this.expires||this.policy||this.estimatedTime||this.gdpr)&&n.h("div",{class:"fbh-meta"},this.progress!=null&&n.h("span",null,n.h("svg",{viewBox:"0 0 24 24"},n.h("circle",{cx:"12",cy:"12",r:"9"}),n.h("path",{d:"M9 12.5l2 2 4-4"})),this.progress,"% complete"),this.expires&&n.h("span",{class:m},n.h("svg",{viewBox:"0 0 24 24"},n.h("rect",{x:"4",y:"5",width:"16",height:"15",rx:"2"}),n.h("path",{d:"M4 9h16M8 3v4M16 3v4"})),this.expires),this.policy&&n.h("span",null,n.h("svg",{viewBox:"0 0 24 24"},n.h("path",{d:"M4 9a7 7 0 0112-4M20 15a7 7 0 01-12 4M16 5h4V1M8 19H4v4"})),this.policy),this.estimatedTime&&n.h("span",null,n.h("svg",{viewBox:"0 0 24 24"},n.h("circle",{cx:"12",cy:"12",r:"9"}),n.h("path",{d:"M12 8v4l3 2"})),this.estimatedTime),this.gdpr&&n.h("span",null,n.h("svg",{viewBox:"0 0 24 24"},n.h("path",{d:"M12 3l7 3v5c0 4.4-3 8-7 10-4-2-7-5.6-7-10V6z"}),n.h("path",{d:"M9 12l2 2 4-4"})),"GDPR compliant")))),n.h("div",{class:`form-brand-body ${l?"form-brand-body--closed":""}`},e.map((v,C)=>n.h("eds-input",{key:C,type:"hidden",name:v.name,value:v.value})),a,t.__ungrouped&&t.__ungrouped.length>0&&n.h("div",{class:"form-sect form-sect--bare"},n.h("div",{class:"flex flex-col gap-y-24"},t.__ungrouped.map(v=>this.renderField(v))))),l?n.h("div",{class:"form-brand-footer"},n.h("span",{class:"req-note req-note--closed"},n.h("svg",{viewBox:"0 0 24 24"},n.h("rect",{x:"5",y:"11",width:"14",height:"9",rx:"2"}),n.h("path",{d:"M8 11V8a4 4 0 018 0v3"})),"Submissions closed"),n.h("div",{class:"form-brand-footer-actions"},n.h("eds-button",{intent:"neutral",pill:!0,label:this.formBtnLabel,disabled:!0,icon:"arrow-right",size:"large"}))):(this.formBtn||this.clearBtn||r||this.saveLabel)&&n.h("div",{class:"form-brand-footer"},n.h("div",{class:"fbf-left"},this.saveLabel&&n.h("span",{class:`fbf-save fbf-save--${this.saveStatus}`,role:"status","aria-live":"polite"},n.h("span",{class:"fbf-save-dot","aria-hidden":"true"}),this.saveLabel),this.saveLabel&&r&&n.h("span",{class:"fbf-sep","aria-hidden":"true"}),r&&n.h("span",{class:"req-note"},n.h("b",null,"*")," Required fields")),this.showClearConfirm?n.h("div",{class:"fbf-confirm"},n.h("span",{class:"fbf-confirm-q"},n.h("svg",{viewBox:"0 0 24 24"},n.h("circle",{cx:"12",cy:"12",r:"9"}),n.h("path",{d:"M12 8v4.5M12 16h.01","stroke-linecap":"round"})),"Clear everything you've typed?"),n.h("button",{type:"button",class:"fbf-confirm-no",onClick:()=>this.showClearConfirm=!1},"Cancel"),n.h("button",{type:"button",class:"fbf-confirm-yes",onClick:v=>{this.showClearConfirm=!1,this.handleClear(v)}},"Yes, clear it")):n.h("div",{class:"form-brand-footer-actions"},this.clearBtn&&n.h("button",{type:"button",class:"fbf-clear",disabled:this.isSubmitting||!this.values||Object.keys(this.values).length===0,onClick:()=>this.showClearConfirm=!0},this.clearBtnLabel),this.formBtn&&n.h("eds-button",{intent:"brand",pill:!0,label:this.formBtnLabel,disabled:this.isSubmitting,loading:this.isSubmitting,icon:"arrow-right",size:"large",onClick:()=>this.handleSubmit()}))))}return n.h("form",{class:i,style:{padding:"var(--eds-form-padding, 2rem)"},ref:r=>this.formEl=r,autocomplete:"on",onSubmit:this.handleSubmit},n.h("div",{class:"flex flex-col gap-y-20 overflow-visible"},this.estimatedTime&&n.h("span",{class:"form-meta-time"},n.h("svg",{viewBox:"0 0 24 24","aria-hidden":"true"},n.h("circle",{cx:"12",cy:"12",r:"9"}),n.h("path",{d:"M12 8v4l3 2"})),this.estimatedTime),this.title&&n.h("span",{role:"heading",class:"f-heading-05 pb-4 block"},this.title),this.description&&n.h("span",{class:"f-body-02 text-light",innerHTML:this.formatDescription(this.description)}),n.h("slot",null)),e.map((r,a)=>n.h("eds-input",{key:a,type:"hidden",name:r.name,value:r.value})),this.parsedGroups.filter(r=>Array.isArray(t[r.id])&&t[r.id].length>0).map(r=>n.h("div",{class:"mt-48",key:r.id},n.h("span",{class:"f-body-02"},n.h("b",null,r.title)),n.h("div",{class:"border-group mt-24 mb-48 flex flex-col gap-y-24"},t[r.id].map(a=>this.renderField(a))))),n.h("div",{class:"flex flex-col mt-32 gap-y-24"},t.__ungrouped.map(r=>this.renderField(r))),(this.formBtn||this.clearBtn)&&n.h("div",{class:"mt-32 md:mt-64 flex flex-col items-center md:flex-row-reverse md:justify-between gap-y-16 md:gap-y-0"},this.formBtn&&n.h("eds-button",{intent:this.buttonIntent,pill:!0,label:this.formBtnLabel,disabled:this.isSubmitting,loading:this.isSubmitting,icon:"arrow-right",size:"large",onClick:()=>this.handleSubmit()}),this.clearBtn&&n.h("eds-button",{intent:"neutral",pill:!0,size:"large",label:this.clearBtnLabel,disabled:this.isSubmitting||!this.values||Object.keys(this.values).length===0,onClick:r=>this.handleClear(r)})))}get el(){return n.getElement(this)}static get watchers(){return{fields:["parseFields"],groups:["parseGroups"]}}};Me.style=st;const dt=".bg-default{background-color:var(--grey-light)}.bg-darker{background-color:var(--grey-dark)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0rem}.z-\\[999999\\]{z-index:999999}.overflow-y-scroll{overflow-y:scroll}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.flex-col{flex-direction:column}.w-full{width:100%}.top-0{top:0rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-auto{margin-top:auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.mr-auto{margin-right:auto}.w-\\[250px\\]{width:250px}.h-\\[85px\\]{height:85px}.px-16{padding-left:1rem;padding-right:1rem}.py-16{padding-top:1rem;padding-bottom:1rem}.mt-28{margin-top:1.75rem}.gap-y-8{row-gap:0.5rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.rounded-xs{border-radius:4px}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.hover\\:text-lighter:hover{color:var(--grey-600)}.w-fit{width:-moz-fit-content;width:fit-content}.p-\\[24px\\]{padding:24px}",ct=dt,He=class{constructor(e){n.registerInstance(this,e),this.menuClose=n.createEvent(this,"menuClose",7),this.links=void 0,this.menuLinks=void 0,this.homeUrl="/",this.inverseHeader=!1,this.isMenuOpen=!1}handleToggleMenu(e){this.isMenuOpen=!!e.detail}onKeydown(e){e.key==="Escape"&&this.isMenuOpen&&this.closeMenu()}openMenu(){this.isMenuOpen=!0}closeMenu(){this.isMenuOpen=!1,this.menuClose.emit()}async open(){this.isMenuOpen=!0}async close(){this.closeMenu()}componentDidLoad(){window.addEventListener("resize",this.handleResize.bind(this))}disconnectedCallback(){window.removeEventListener("resize",this.handleResize.bind(this))}handleResize(){window.innerWidth>=1024&&(this.isMenuOpen=!1)}get parsedLinks(){return F.parseData(this.links)}get parsedMenuLinks(){return F.parseData(this.menuLinks)}render(){return this.isMenuOpen?n.h("div",{role:"dialog","aria-modal":"true","aria-label":"Main menu",class:"eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll"},n.h("div",{class:"flex min-h-full flex-col"},n.h("div",{class:`w-full sticky top-0 ${this.inverseHeader?"bg-strongest":"bg-default"}`},n.h("div",{class:"mx-auto flex items-center justify-between"},n.h("div",{class:"mr-auto w-[250px]"},n.h("div",{class:"p-[24px]"},n.h("eds-logo",{variant:"positive",href:this.homeUrl}))),n.h("div",{class:"px-16"},n.h("eds-button",{"aria-label":"Close menu",intent:"ghost",icon:"close",size:"large",onClick:()=>this.closeMenu()})))),n.h("div",{class:"py-16 px-16"},n.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedLinks.map((e,t)=>n.h("eds-link",{label:e.label,key:t,url:e.url,intent:"secondary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"arrow-right"}))),n.h("eds-block-break",null),n.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedMenuLinks.map((e,t)=>n.h("eds-link",{label:e.label,key:t,url:e.url,intent:"secondary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"chevron-right"}))),n.h("nav",{class:"mt-28 flex flex-col gap-y-8"},n.h("slot",null))),n.h("div",{class:"mt-auto"},n.h("eds-footer",{social:!0,"extra-class":"bg-darker"})))):null}};He.style=ct;const ht=`:host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-pill{display:flex;align-items:center;gap:12px;height:48px;padding:0 18px;border-radius:999px;font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);font-size:15px;cursor:text;transition:background 120ms ease, box-shadow 120ms ease, color 120ms ease}.search-pill .search-icon{flex-shrink:0}.search-pill .search-input{flex:1;min-width:0;border:0;background:transparent;outline:none;font:inherit;color:inherit;-webkit-appearance:none;appearance:none}.search-pill .search-input::-webkit-search-cancel-button{-webkit-appearance:none}.search-pill .search-kbd{flex-shrink:0;font-family:'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;font-size:11px;font-weight:500;line-height:1;padding:3px 6px;border-radius:4px;box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.05);letter-spacing:0.02em}.search-pill:focus-within .search-kbd{display:none}.search-pill .search-clear{flex-shrink:0;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer;opacity:0.7;transition:opacity 120ms ease, background 120ms ease}.search-pill .search-clear:hover{opacity:1;background:rgba(0, 0, 0, 0.06)}.search-pill .search-clear:focus-visible{outline:none;box-shadow:0 0 0 2px var(--brand-green, #00C87B);opacity:1}.search-pill--black .search-clear:hover{background:rgba(255, 255, 255, 0.10)}.search-pill--gray{background:var(--grey-light, #ECECEC);color:var(--grey-dark, #7A7B7A);border:0}.search-pill--gray:hover{background:#E0E0E0}.search-pill--gray .search-input{color:var(--brand-black, #07140D)}.search-pill--gray .search-input::placeholder{color:var(--grey-dark, #7A7B7A)}.search-pill--gray .search-kbd{color:var(--grey-dark, #7A7B7A);background:var(--white, #FFFFFF);border:1px solid #DCDCDC}.search-pill--gray:focus-within{background:var(--white, #FFFFFF);box-shadow:0 0 0 2px var(--brand-green, #00C87B)}.search-pill--white{background:var(--white, #FFFFFF);color:var(--grey-dark, #7A7B7A);border:1px solid var(--grey-light, #ECECEC)}.search-pill--white:hover{background:#FAFAFA}.search-pill--white .search-input{color:var(--brand-black, #07140D)}.search-pill--white .search-input::placeholder{color:var(--grey-dark, #7A7B7A)}.search-pill--white .search-kbd{color:var(--grey-dark, #7A7B7A);background:var(--grey-light, #ECECEC);border:1px solid #DCDCDC}.search-pill--white:focus-within{background:var(--white, #FFFFFF);box-shadow:0 0 0 2px var(--brand-green, #00C87B)}.search-pill--black{background:var(--brand-black, #07140D);color:rgba(255, 255, 255, 0.7);border:1px solid rgba(255, 255, 255, 0.12)}.search-pill--black:hover{background:#11221A}.search-pill--black .search-input{color:var(--white, #FFFFFF)}.search-pill--black .search-input::placeholder{color:rgba(255, 255, 255, 0.55)}.search-pill--black .search-kbd{color:rgba(255, 255, 255, 0.75);background:rgba(255, 255, 255, 0.08);border:1px solid rgba(255, 255, 255, 0.15)}.search-pill--black:focus-within{background:var(--brand-black, #07140D);box-shadow:0 0 0 2px var(--brand-green, #00C87B)}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.12),
|
|
1401
1402
|
0 2px 8px rgba(0, 0, 0, 0.08),
|
|
1402
1403
|
0 0 0 1px rgba(0, 255, 157, 0.08);max-height:500px;overflow:hidden;z-index:9999;display:flex;flex-direction:column;animation:dropdownFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1)}.dropdown-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#616161;font-size:14px}.dropdown-results{list-style:none;margin:0;overflow-y:auto;overflow-x:hidden;max-height:440px}.result-item{padding:7px 7px;cursor:pointer;border-left:4px solid transparent;margin-bottom:2px;transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden;word-wrap:break-word;word-break:break-word}.result-item:hover,.result-item--selected{background:linear-gradient(
|
|
1403
1404
|
90deg,
|
|
@@ -1408,7 +1409,7 @@ button,
|
|
|
1408
1409
|
rgba(0, 255, 157, 0.02) 0%,
|
|
1409
1410
|
rgba(0, 255, 157, 0.05) 100%
|
|
1410
1411
|
);flex-shrink:0}.footer-hint{font-size:11px;color:#616161;display:flex;align-items:center;gap:6px;flex-wrap:wrap}kbd{display:inline-block;padding:3px 7px;font-size:11px;font-family:monospace;line-height:1.2;font-weight:500;color:var(--green-700);background:rgba(0, 255, 157, 0.1);border:1px solid rgba(0, 200, 123, 0.3);border-radius:4px;box-shadow:0 2px 0 rgba(0, 255, 157, 0.15),
|
|
1411
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.5)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:rgba(0, 255, 157, 0.05);border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb{background:#33FFB8;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#00FF9D}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}`,gt=ht,De=class{constructor(e){t.registerInstance(this,e),this.resultSelected=t.createEvent(this,"resultSelected",7),this.searchClosed=t.createEvent(this,"searchClosed",7),this.handleClear=()=>{this.debounceTimer&&clearTimeout(this.debounceTimer),this.query="",this.results=[],this.hasSearched=!1,this.showDropdown=!1,this.selectedIndex=-1,this.inputRef&&(this.inputRef.value="",this.inputRef.focus())},this.handleInput=n=>{var r;const i=n.target;if(this.query=i.value,this.debounceTimer&&clearTimeout(this.debounceTimer),!this.query.trim()){this.results=[],this.hasSearched=!1,this.showDropdown=!1;return}w.sendAnalytics({category:"shared-ui",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`search-input: ${(r=this.query)===null||r===void 0?void 0:r.toLowerCase()}`||"unknow seach input query",action:"click"}),this.debounceTimer=window.setTimeout(()=>{this.runSearch()},this.debounceDelay)},this.apiEndpoint="/api/v1/global-search",this.placeholder="Search Handbook + Design...",this.limit=20,this.debounceDelay=300,this.forceNewTab=!1,this.currentOrigin="",this.currentSource="",this.authToken="",this.variant="gray",this.query="",this.results=[],this.loading=!1,this.error="",this.hasSearched=!1,this.showDropdown=!1,this.selectedIndex=-1}componentDidLoad(){this.cmdKListener=e=>{var n;(navigator.platform.toUpperCase().includes("MAC")?e.metaKey:e.ctrlKey)&&e.key.toLowerCase()==="k"&&(e.preventDefault(),(n=this.inputRef)===null||n===void 0||n.focus())},document.addEventListener("keydown",this.cmdKListener)}disconnectedCallback(){this.debounceTimer&&clearTimeout(this.debounceTimer),this.cmdKListener&&document.removeEventListener("keydown",this.cmdKListener)}handleDocumentClick(e){e.composedPath().includes(this.el)||(this.showDropdown=!1,this.selectedIndex=-1)}handleKeydown(e){if(!this.showDropdown||this.results.length===0){e.key==="Escape"&&this.searchClosed.emit();return}switch(e.key){case"ArrowDown":e.preventDefault(),this.selectedIndex=Math.min(this.selectedIndex+1,this.results.length-1),this.scrollToSelected();break;case"ArrowUp":e.preventDefault(),this.selectedIndex=Math.max(this.selectedIndex-1,-1),this.scrollToSelected();break;case"Enter":e.preventDefault(),this.selectedIndex>=0&&this.selectedIndex<this.results.length&&this.selectResult(this.results[this.selectedIndex]);break;case"Escape":this.showDropdown=!1,this.selectedIndex=-1,this.searchClosed.emit();break}}async runSearch(){var e;const n=this.query.trim();if(!n){this.results=[],this.hasSearched=!1,this.showDropdown=!1;return}this.loading=!0,this.error="";try{const r={};this.authToken&&(r.Authorization=`Bearer ${this.authToken}`);const i=await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(n)}&limit=${this.limit}`,{headers:r});if(!i.ok)throw new Error("Search failed");const a=await i.json();this.results=(e=a.items)!==null&&e!==void 0?e:[],this.hasSearched=!0,this.showDropdown=!0,this.selectedIndex=-1}catch{this.error="Search failed. Please try again.",this.results=[],this.showDropdown=!0}finally{this.loading=!1}}selectResult(e){this.resultSelected.emit(e),this.searchClosed.emit(),w.sendAnalytics({category:"shared-ui",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`search-select: ${e.url}`||"unknown search result selection",action:"click"});let n=!1,r=e.url;try{const i=new URL(e.url,window.location.href);if(this.currentSource&&e.source===this.currentSource)r=i.pathname+i.search+i.hash,n=!1;else{const a=this.currentOrigin||window.location.origin;n=i.origin!==a}}catch(i){console.error("[eds-global-search] URL parsing error:",i),n=!1}this.forceNewTab||n?window.open(e.url,"_blank","noopener,noreferrer"):window.location.href=r}scrollToSelected(){if(this.selectedIndex>=0&&this.dropdownRef){const e=this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);e&&e.scrollIntoView({block:"nearest",behavior:"smooth"})}}stripHtml(e){const n=document.createElement("div");return n.innerHTML=e,n.textContent||n.innerText||""}get hasResults(){return this.results.length>0}get showEmpty(){return this.hasSearched&&!this.loading&&!this.hasResults&&this.query.trim()}render(){return t.h("div",{key:"841c9a013a1c4cee9697f3465759bf638b28475e",class:"search-wrapper"},t.h("label",{key:"ff1b37fff6e94019d2da63060aba77d82ee1bafb",class:`search-pill search-pill--${this.variant}`,htmlFor:"search-global"},t.h("svg",{key:"150aff8a31a68195e7b333b9bcfccbc3affb3901",class:"search-icon",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},t.h("circle",{key:"cb424f39cd5f6316056dbcc6b80d11ce8ade1410",cx:"11",cy:"11",r:"7"}),t.h("line",{key:"004bce39d3a9ee7a53ef0e942cf986e38b76b921",x1:"20",y1:"20",x2:"16.5",y2:"16.5"})),t.h("input",{key:"97f4c012d7152f29fac9723ced4f06207b8a2453",id:"search-global",class:"search-input",type:"search",name:"search-box-global",placeholder:this.placeholder,value:this.query,autoComplete:"off",onInput:this.handleInput,ref:e=>this.inputRef=e}),this.query&&this.query.length>0?t.h("button",{type:"button",class:"search-clear","aria-label":"Clear search",onMouseDown:e=>e.preventDefault(),onClick:()=>this.handleClear()},t.h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},t.h("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.h("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):t.h("kbd",{class:"search-kbd","aria-hidden":"true"},"⌘K")),this.showDropdown&&t.h("div",{key:"3354848b17ba065a64919defd74de0616a29c25c",class:"search-dropdown",ref:e=>this.dropdownRef=e},this.loading&&t.h("div",{key:"5c5f731e969f60c8c3d2ce21683fec35302a2954",class:"flex text-center justify-center p-64"},t.h("eds-spinner",{key:"6d0b5223f03bb0ed2f83f2ab3c77cf4e116d87e7",variant:"primary",size:"sm"})),this.error&&!this.loading&&t.h("div",{key:"9cbca9b3f62c2969478e34a654a973196a5e9187",class:"flex text-center justify-center p-16"},t.h("span",{key:"ce2bd2f6c6b05fb5fdfec4da67460b72445970bc",class:"text-error f-body-02"},this.error)),this.showEmpty&&t.h("div",{key:"b7d446aa72732c9932c90bb5ef08a2f27c357ae4",class:"dropdown-state"},t.h("eds-icon-wrapper",{key:"ac5377b3efa4f26e10781f369843a69c3409ec83",name:"search"}),t.h("div",{key:"774784c1dbe4c6e6eda9e8d70833d0a2a6821b4f"},t.h("p",{key:"bbce9a267889eee40b54fd471f203b530de42a86",class:"f-body-02"},"No results found"),t.h("p",{key:"d440e4e0ff4f59ea14eef7aa5db0692c4a2352fa",class:"f-ui-04 text-lightest"},"Try different keywords"))),this.hasResults&&!this.loading&&t.h("ul",{key:"b89e31f5931705e750f0f19fb159f93a05324e6d",class:"dropdown-results"},this.results.map((e,n)=>t.h("li",{key:e.id,"data-index":n,class:{"result-item":!0,"result-item--selected":n===this.selectedIndex},onClick:()=>this.selectResult(e),onMouseEnter:()=>this.selectedIndex=n},t.h("div",{class:"result-header"},t.h("span",{class:"result-title f-body-02"},e.title)),t.h("div",{class:"result-meta"},e.parent_software?[t.h("span",{class:"result-badge result-badge--parent"},e.parent_software),e.section&&t.h("span",{class:"result-badge result-badge--lr"},e.section)]:e.source==="kg-services"?[t.h("span",{class:"result-badge"},"EBRAINS KG"),e.section&&t.h("span",{class:"result-badge"},e.section)]:[t.h("span",{class:"result-badge"},e.source),e.section&&t.h("span",{class:"result-badge"},e.section)],t.h("span",{class:"result-url"},e.url)),e.snippet&&t.h("p",{class:"result-snippet"},this.stripHtml(e.snippet))))),this.hasResults&&!this.loading&&t.h("div",{key:"fd07f17d78ba2d95c30d95b35d89151b27e3a957",class:"dropdown-footer"},t.h("span",{key:"20a6bc436e135e29b89a94b150c505bab6281d6f",class:"footer-hint"},t.h("kbd",{key:"08e43dd318b0dde7d67f74731055e2bbc00bdc78"},"↑")," ",t.h("kbd",{key:"676535d717d5fb4b98cbf09050883630dbecaf6e"},"↓")," navigate • ",t.h("kbd",{key:"cd9ac17223ae195b0508c7ea37ad2a9459341b8b"},"↵")," select • ",t.h("kbd",{key:"dbaa3eacc337eee81404518e9bd4c9b9fbc44205"},"esc")," close"))))}get el(){return t.getElement(this)}};De.style=gt;const ft=".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-light)}.bg-strongest{background-color:var(--brand-black)}.mr-auto{margin-right:auto}.w-\\[250px\\]{width:250px}.h-\\[85px\\]{height:85px}.p-\\[24px\\]{padding:24px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.flex-1{flex:1 1 0%}.justify-end{justify-content:flex-end}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-8{gap:0.5rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}",bt=ft,Te=class{constructor(e){t.registerInstance(this,e),this.toggleheadermenu=t.createEvent(this,"toggleheadermenu",7),this.url="/",this.links=void 0,this.variant="default",this.menu=!1,this.isMenuOpen=!1,this.isUserMenuOpen=!1}componentDidLoad(){var e,n;((n=(e=this.hostEl.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("eds-link"))!==null&&n!==void 0?n:[]).forEach(i=>this.emitContext(i))}emitContext(e){const n=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(n)}handleToggleMenu(){this.toggleheadermenu.emit(!this.isMenuOpen)}toggleUserMenu(){this.isUserMenuOpen=!this.isUserMenuOpen}get parsedLinks(){return I.parseData(this.links)}render(){const e={strong:"text-inverse bg-strongest",inverse:"text-default bg-inverse",default:"text-default bg-dark"},n=e[this.variant]||e.default,r=this.variant==="strong"?"negative":"positive",i=this.variant==="strong"?"underlineInverse":"underline";return t.h("header",{key:"fd95f6b0126d620ab1d4f58240d471301d607fa5",role:"banner",class:`flex items-center justify-between relative z-10 ${n}`},t.h("div",{key:"e7b1bd9a146543107d87ff6f4c8575ad63fc3889",class:"w-[250px]"},t.h("div",{key:"257a8bf3d0efea39bd0e7f5c92d2a6bcbaa66d48",class:"p-[24px]"},t.h("eds-logo",{key:"71365268524d0db6999dc6ff4a9227e388d53cdf",variant:r,href:this.url}))),this.parsedLinks&&t.h("nav",{key:"085b2bd5f667ea7e0be4de77cb4bd3d1a2bb6e3c",role:"navigation","aria-label":"Primary",class:"flex-1 flex justify-center items-center hidden md:flex"},t.h("ul",{key:"b5c015e6e1fb376f6b48805cc5d0db436234a5fc",class:"flex gap-x-16"},this.parsedLinks.map(a=>t.h("eds-link",{label:a.label,"aria-label":a.label,url:a.url,intent:i,size:"large",icon:a.icon,external:a.external})))),t.h("div",{key:"9bca10c081cd1b8157579fa587615538dc624817",class:"w-[250px] flex justify-end items-center"},t.h("slot",{key:"360fb5fe76b41b2513cba2f8705ea5ea91cae9a9",name:"actions"})),this.menu&&t.h("div",{key:"7feaa2b97062e7ceb94bacc35e61a12edc0b2e54",class:"md:hidden flex overflow-hidden px-16"},t.h("eds-button",{key:"706c1668e3b04517cfe0cb92da5b459980986df0","aria-label":"Menu",intent:this.variant==="strong"?"ghostInverse":"ghost",icon:"menu",size:"small",onClick:()=>this.handleToggleMenu()})))}get hostEl(){return t.getElement(this)}};Te.style=bt;function pt(e,n,r){return(n=xt(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function ae(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function K(e){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?ae(Object(r),!0).forEach(function(i){pt(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function le(e,n){if(e==null)return{};var r,i,a=ut(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],n.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function ut(e,n){if(e==null)return{};var r={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(n.indexOf(i)!==-1)continue;r[i]=e[i]}return r}function mt(e,n){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function xt(e){var n=mt(e,"string");return typeof n=="symbol"?n:n+""}var vt=["width","height","viewBox"],yt=["tabindex"],wt={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function Be(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width,r=e.height,i=e.viewBox,a=i===void 0?"0 0 ".concat(n," ").concat(r):i,l=le(e,vt),s=l.tabindex,o=le(l,yt),h=K(K(K({},wt),o),{},{width:n,height:r,viewBox:a});return h["aria-label"]||h["aria-labelledby"]||h.title?(h.role="img",s!=null&&(h.focusable="true",h.tabindex=s)):h["aria-hidden"]=!0,h}function Ve(e){var n=e.elem,r=n===void 0?"svg":n,i=e.attrs,a=i===void 0?{}:i,l=e.content,s=l===void 0?[]:l,o=s.map(Ve).join("");return r!=="svg"?"<".concat(r," ").concat(se(a),">").concat(o,"</").concat(r,">"):"<".concat(r," ").concat(se(Be(a)),">").concat(o,"</").concat(r,">")}function se(e){return Object.keys(e).reduce(function(n,r,i){var a="".concat(r,'="').concat(e[r],'"');return i===0?a:n+" "+a},"")}var kt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M22 16L12 26 10.6 24.6 19.2 16 10.6 7.4 12 6z"}}],name:"chevron--right",size:20},zt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10 16L20 6 21.4 7.4 12.8 16 21.4 24.6 20 26z"}}],name:"chevron--left",size:20},St={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"}}],name:"chevron--down",size:20},Ct={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z"}}],name:"chevron--up",size:20},Et={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z"}}],name:"arrow--right",size:20},Ft={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M14 26L15.41 24.59 7.83 17 28 17 28 15 7.83 15 15.41 7.41 14 6 4 16 14 26z"}}],name:"arrow--left",size:20},At={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10 6L10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6z"}}],name:"arrow--up-right",size:20},It={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"}}],name:"close",size:20},_t={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"}}],name:"add",size:20},Lt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"}}],name:"edit",size:20},Ht={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M8 13.2L3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"}},{elem:"path",attrs:{d:"M15.6 5.6L8 13.2 3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"}}],name:"checkmark",size:20},Mt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 24v4H6V24H4v4H4a2 2 0 002 2H26a2 2 0 002-2h0V24zM26 14L24.59 12.59 17 20.17 17 2 15 2 15 20.17 7.41 12.59 6 14 16 24 26 14z"}}],name:"download",size:20},Dt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M6 18L7.41 19.41 15 11.83 15 30 17 30 17 11.83 24.59 19.41 26 18 16 8 6 18zM6 8V4H26V8h2V4a2 2 0 00-2-2H6A2 2 0 004 4V8z"}}],name:"upload",size:20},Tt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z"}},{elem:"path",attrs:{d:"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z"}}],name:"view",size:20},Bt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M7,8v3h-2v-3h-3v-2h3v-3h2v3h3v2h-3ZM22.42,26.01l6.03-6.03h0c2.06-2.06,2.06-5.39,0-7.44s-5.39-2.06-7.44,0l1.41,1.41h0c1.27-1.27,3.34-1.27,4.62,0,1.27,1.27,1.27,3.34,0,4.62l-6.03,6.03h0c-1.27,1.27-3.34,1.27-4.62,0-1.27-1.27-1.27-3.34,0-4.62l-1.41-1.41c-.99.99-1.54,2.33-1.54,3.73,0,2.91,2.36,5.26,5.27,5.26,1.4,0,2.74-.55,3.72-1.54h0l-.01-.01ZM13.99,28.46l-1.41-1.41c-1.27,1.26-3.32,1.26-4.6,0-1.28-1.27-1.29-3.34-.02-4.62l6.03-6.03.02-.02c1.28-1.27,3.35-1.26,4.62.02s1.26,3.35-.02,4.62l1.41,1.41.03-.03c2.05-2.06,2.03-5.4-.03-7.44-2.06-2.05-5.4-2.03-7.44.03l-6.03,6.03c-.99.99-1.55,2.33-1.55,3.72,0,2.91,2.37,5.26,5.27,5.26,1.4,0,2.74-.55,3.72-1.54Z"}}],name:"create-link",size:20},Vt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M24 24L16 32 8 24zM8 8L16 0 24 8z"}}],name:"caret--sort",size:20},Ot={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28 6H30V26H28zM17 6L15.57 7.393 23.15 15 2 15 2 17 23.15 17 15.57 24.573 17 26 27 16 17 6z"}}],name:"choose-item",size:20},Nt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.9474,19a4.9476,4.9476,0,0,1-3.4991-8.4465l5.1053-5.1043a4.9482,4.9482,0,0,1,6.9981,6.9976l-.5523.5526-1.4158-1.4129.5577-.5579a2.95,2.95,0,0,0-.0039-4.1653,3.02,3.02,0,0,0-4.17,0l-5.1047,5.104a2.9474,2.9474,0,0,0,0,4.1692,3.02,3.02,0,0,0,4.17,0l1.4143,1.4145A4.9176,4.9176,0,0,1,11.9474,19Z"}},{elem:"path",attrs:{d:"M19.9474,17a4.9476,4.9476,0,0,1-3.4991-8.4465l.5526-.5526,1.4143,1.4146-.5526.5523a2.9476,2.9476,0,0,0,0,4.1689,3.02,3.02,0,0,0,4.17,0c.26-.26,4.7293-4.7293,5.1053-5.1045a2.951,2.951,0,0,0,0-4.1687,3.02,3.02,0,0,0-4.17,0L21.5536,3.449a4.9483,4.9483,0,0,1,6.9981,6.9978c-.3765.376-4.844,4.8428-5.1038,5.1035A4.9193,4.9193,0,0,1,19.9474,17Z"}},{elem:"path",attrs:{d:"M24,30H4a2.0021,2.0021,0,0,1-2-2V8A2.0021,2.0021,0,0,1,4,6H8V8H4V28H24V18h2V28A2.0021,2.0021,0,0,1,24,30Z"}}],name:"copy--link",size:20},$t={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M12 4L12 15 5.83 15 8.41 12.41 7 11 2 16 7 21 8.41 19.59 5.83 17 12 17 12 28 14 28 14 4 12 4zM25 11L23.59 12.41 26.17 15 20 15 20 4 18 4 18 28 20 28 20 17 26.17 17 23.59 19.59 25 21 30 16 25 11z"}}],name:"drag--horizontal",size:20},Pt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z"}}],name:"drag--vertical",size:20},Rt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M25 11L23.59 12.41 26.17 15 17 15 17 5.83 19.59 8.41 21 7 16 2 11 7 12.41 8.41 15 5.83 15 15 5.83 15 8.41 12.41 7 11 2 16 7 21 8.41 19.59 5.83 17 15 17 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 17 26.17 17 23.59 19.59 25 21 30 16 25 11z"}}],name:"move",size:20},jt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28 8h2V4a2.0021 2.0021 0 00-2-2H24V4h4zM17 2H21V4H17zM28 11H30V15H28zM28 18v4H24V10a2.0023 2.0023 0 00-2-2H10V4h4V2H10A2.0023 2.0023 0 008 4V8H4a2.0023 2.0023 0 00-2 2V28a2.0023 2.0023 0 002 2H22a2.0023 2.0023 0 002-2V24h4a2.0023 2.0023 0 002-2V18zM22 28H4V10H22z"}}],name:"replicate",size:20},Wt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M18 22L19.414 20.586 23 24.172 23 4 25 4 25 24.172 28.586 20.586 30 22 24 28 18 22zM2 18H16V20H2zM6 12H16V14H6zM10 6H16V8H10z"}}],name:"sort--ascending",size:20},qt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M18 22L19.414 20.586 23 24.172 23 4 25 4 25 24.172 28.586 20.586 30 22 24 28 18 22zM2 6H16V8H2zM6 12H16V14H6zM10 18H16V20H10z"}}],name:"sort--descending",size:20},Ut={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M22,22v6H6V4H16V2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V22Z"}},{elem:"path",attrs:{d:"M29.54,5.76l-3.3-3.3a1.6,1.6,0,0,0-2.24,0l-14,14V22h5.53l14-14a1.6,1.6,0,0,0,0-2.24ZM14.7,20H12V17.3l9.44-9.45,2.71,2.71ZM25.56,9.15,22.85,6.44l2.27-2.27,2.71,2.71Z"}}],name:"request-quote",size:20},Zt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M18,28A12,12,0,1,0,6,16v6.2L2.4,18.6,1,20l6,6,6-6-1.4-1.4L8,22.2V16H8A10,10,0,1,1,18,26Z"}}],name:"reset",size:20},Yt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M29.7 19.3l-3-3c-.4-.4-1-.4-1.4 0L16 25.6V30h4.4l9.3-9.3C30.1 20.3 30.1 19.7 29.7 19.3zM19.6 28H18v-1.6l5-5 1.6 1.6L19.6 28zM26 21.6L24.4 20l1.6-1.6 1.6 1.6L26 21.6zM10 23H12V25H10zM14 18H18V20H14zM10 18H12V20H10zM14 13H22V15H14zM10 13H12V15H10z"}},{elem:"path",attrs:{d:"M7,28V7h3v3h12V7h3v6h2V7c0-1.1-0.9-2-2-2h-3V4c0-1.1-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2v1H7C5.9,5,5,5.9,5,7v21 c0,1.1,0.9,2,2,2h5v-2H7z M12,4h8v4h-8V4z"}}],name:"result--draft",size:20},Kt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z"}}],name:"share",size:20},Gt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M7,28a1,1,0,0,1-1-1V5a1,1,0,0,1,1.4819-.8763l20,11a1,1,0,0,1,0,1.7525l-20,11A1.0005,1.0005,0,0,1,7,28ZM8,6.6909V25.3088L24.9248,16Z"}}],name:"play",size:20},Xt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19zM6 10H13V12H6zM6 15H13V17H6zM6 20H13V22H6z"}},{elem:"path",attrs:{d:"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.002,2.002,0,0,0,2,2H28a2.002,2.002,0,0,0,2-2V7A2.002,2.002,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28V25Z"}}],name:"book",size:20},Jt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28 8V21h2V8a3.9986 3.9986 0 00-4-4H8.2429l2 2H26A1.9965 1.9965 0 0128 8zM30 28.5859L3.4141 2 2 3.4141 3.5039 4.918A3.9181 3.9181 0 002 8V20a3.9992 3.9992 0 004 4h6V22H6a1.9965 1.9965 0 01-2-2V8a1.9814 1.9814 0 01.9194-1.6665L20.5859 22H17l-4 7 1.7358 1 3.4288-6h4.4213l6 6z"}}],name:"chat--off",size:20},Qt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28,6H8C6.8,6,6,6.8,6,8v14c0,1.2,0.8,2,2,2h8v-2H8V8h20v14h-7.2L16,28.8l1.6,1.2l4.2-6H28c1.2,0,2-0.8,2-2V8 C30,6.8,29.2,6,28,6z"}},{elem:"path",attrs:{d:"M4,18H2V5c0-1.7,1.3-3,3-3h13v2H5C4.4,4,4,4.4,4,5V18z"}}],name:"forum",size:20},er={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20zM6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM19 10H26V12H19zM19 6H29V8H19zM19 2H29V4H19zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4z"}}],name:"share-knowledge",size:20},nr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"}},{elem:"circle",attrs:{cx:"16",cy:"23.5",r:"1.5"}},{elem:"path",attrs:{d:"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z"}}],name:"help",size:20},tr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 30h-2v-5c-.0033-2.7601-2.2399-4.9967-5-5h-6c-2.7601.0033-4.9967 2.2399-5 5v5h-2v-5c.0045-3.8641 3.1359-6.9955 7-7h6c3.8641.0045 6.9955 3.1359 7 7v5zM22 6v4c0 1.1025-.8972 2-2 2h-1c-.5522 0-1 .4478-1 1s.4478 1 1 1h1c2.2056 0 4-1.7944 4-4v-4h-2zM16 16c-3.8599 0-7-3.1401-7-7S12.1401 2 16 2c1.9885 0 3.8901.8503 5.2173 2.3329l-1.4902 1.334c-.9482-1.0593-2.3066-1.6669-3.7271-1.6669-2.7571 0-5 2.243-5 5s2.2429 5 5 5v2z"}}],name:"customer-service",size:20},rr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M31 16L24 23 22.59 21.59 28.17 16 22.59 10.41 24 9 31 16zM1 16L8 9 9.41 10.41 3.83 16 9.41 21.59 8 23 1 16z"}},{elem:"path",attrs:{d:"M5.91 15H26.080000000000002V17H5.91z",transform:"rotate(-75 15.996 16)"}}],name:"code",size:20},ir={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M6.34 19H17.65V21H6.34z",transform:"rotate(-45 11.995 20.002)"}},{elem:"path",attrs:{d:"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z"}}],name:"rocket",size:20},ar={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,4A12,12,0,1,1,4,16,12,12,0,0,1,16,4m0-2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Z"}},{elem:"path",attrs:{d:"M23,10.41,21.59,9l-4.3,4.3a3,3,0,0,0-4,4L9,21.59,10.41,23l4.3-4.3a3,3,0,0,0,4-4ZM17,16a1,1,0,1,1-1-1A1,1,0,0,1,17,16Z"}},{elem:"circle",attrs:{cx:"16",cy:"7.5",r:"1.5"}}],name:"compass",size:20},lr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"}}],name:"menu",size:20},sr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M29,27.5859l-7.5521-7.5521a11.0177,11.0177,0,1,0-1.4141,1.4141L27.5859,29ZM4,13a9,9,0,1,1,9,9A9.01,9.01,0,0,1,4,13Z"}}],name:"search",size:20},or={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z"}},{elem:"path",attrs:{d:"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z"}}],name:"settings",size:20},dr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28.7071,19.293,26,16.5859V13a10.0136,10.0136,0,0,0-9-9.9492V1H15V3.0508A10.0136,10.0136,0,0,0,6,13v3.5859L3.2929,19.293A1,1,0,0,0,3,20v3a1,1,0,0,0,1,1h7v.7768a5.152,5.152,0,0,0,4.5,5.1987A5.0057,5.0057,0,0,0,21,25V24h7a1,1,0,0,0,1-1V20A1,1,0,0,0,28.7071,19.293ZM19,25a3,3,0,0,1-6,0V24h6Zm8-3H5V20.4141L7.707,17.707A1,1,0,0,0,8,17V13a8,8,0,0,1,16,0v4a1,1,0,0,0,.293.707L27,20.4141Z"}}],name:"notification",size:20},cr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z"}}],name:"user",size:20},hr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M8,14H19v2H8Zm0,5H21v2H8Z"}},{elem:"path",attrs:{d:"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4Zm0,2V8H4V6ZM4,26V10H28V26Z"}}],name:"account",size:20},gr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M12,29a1,1,0,0,1-.92-.62L6.33,17H2V15H7a1,1,0,0,1,.92.62L12,25.28,20.06,3.65A1,1,0,0,1,21,3a1,1,0,0,1,.93.68L25.72,15H30v2H25a1,1,0,0,1-.95-.68L21,7,12.94,28.35A1,1,0,0,1,12,29Z"}}],name:"activity",size:20},fr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M4,2H2V28a2,2,0,0,0,2,2H30V28H4Z"}},{elem:"path",attrs:{d:"M30,9H23v2h3.59L19,18.59l-4.29-4.3a1,1,0,0,0-1.42,0L6,21.59,7.41,23,14,16.41l4.29,4.3a1,1,0,0,0,1.42,0L28,12.41V16h2Z"}}],name:"analytics",size:20},br={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26,30H14a2,2,0,0,1-2-2V25h2v3H26V4H14V7H12V4a2,2,0,0,1,2-2H26a2,2,0,0,1,2,2V28A2,2,0,0,1,26,30Z"}},{elem:"path",attrs:{d:"M14.59 20.59L18.17 17 4 17 4 15 18.17 15 14.59 11.41 16 10 22 16 16 22 14.59 20.59z"}}],name:"login",size:20},pr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M6,30H18a2.0023,2.0023,0,0,0,2-2V25H18v3H6V4H18V7h2V4a2.0023,2.0023,0,0,0-2-2H6A2.0023,2.0023,0,0,0,4,4V28A2.0023,2.0023,0,0,0,6,30Z"}},{elem:"path",attrs:{d:"M20.586 20.586L24.172 17 10 17 10 15 24.172 15 20.586 11.414 22 10 28 16 22 22 20.586 20.586z"}}],name:"logout",size:20},ur={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M31 30H29V27a3 3 0 00-3-3H22a3 3 0 00-3 3v3H17V27a5 5 0 015-5h4a5 5 0 015 5zM24 12a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0024 10zM15 22H13V19a3 3 0 00-3-3H6a3 3 0 00-3 3v3H1V19a5 5 0 015-5h4a5 5 0 015 5zM8 4A3 3 0 115 7 3 3 0 018 4M8 2a5 5 0 105 5A5 5 0 008 2z"}}],name:"group",size:20},mr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17.8,5.5l-3.3-3.3C14.3,2.1,14.2,2,14,2H3.3C2.6,2,2,2.6,2,3.3v13.3C2,17.4,2.6,18,3.3,18h13.3c0.7,0,1.4-0.5,1.4-1.2V6.1 C18,5.7,17.9,5.7,17.8,5.5z M7.3,3.3h5.3v3.3H7.3V3.3z M12.7,16.7H7.3v-5.3h5.3L12.7,16.7L12.7,16.7z M14,16.7v-5.3 c0-0.7-0.6-1.3-1.3-1.3H7.3C6.6,10,6,10.6,6,11.3v5.3H3.3V3.3H6v3.3C6,7.4,6.6,8,7.3,8h5.3C13.4,8,14,7.4,14,6.7v-3l2.7,2.7v10.4 L14,16.7L14,16.7z"}}],name:"save",size:20},xr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 6v4H6V6H26m0-2H6A2 2 0 004 6v4a2 2 0 002 2H26a2 2 0 002-2V6a2 2 0 00-2-2zM10 16V26H6V16h4m0-2H6a2 2 0 00-2 2V26a2 2 0 002 2h4a2 2 0 002-2V16a2 2 0 00-2-2zM26 16V26H16V16H26m0-2H16a2 2 0 00-2 2V26a2 2 0 002 2H26a2 2 0 002-2V16a2 2 0 00-2-2z"}}],name:"template",size:20},vr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M25.7,9.3l-7-7C18.5,2.1,18.3,2,18,2H8C6.9,2,6,2.9,6,4v24c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V10C26,9.7,25.9,9.5,25.7,9.3 z M18,4.4l5.6,5.6H18V4.4z M24,28H8V4h8v6c0,1.1,0.9,2,2,2h6V28z"}},{elem:"path",attrs:{d:"M10 22H22V24H10zM10 16H22V18H10z"}}],name:"document",size:20},yr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M13 21L26.17 21 23.59 23.59 25 25 30 20 25 15 23.59 16.41 26.17 19 13 19 13 21z"}},{elem:"path",attrs:{d:"M22,14V10a1,1,0,0,0-.29-.71l-7-7A1,1,0,0,0,14,2H4A2,2,0,0,0,2,4V28a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V26H20v2H4V4h8v6a2,2,0,0,0,2,2h6v2Zm-8-4V4.41L19.59,10Z"}}],name:"document--export",size:20},wr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M30 25L28.586 23.586 26 26.172 26 18 24 18 24 26.172 21.414 23.586 20 25 25 30 30 25z"}},{elem:"path",attrs:{d:"M18,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v3l2,0V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2H18ZM18,4.4,23.6,10H18Z"}}],name:"document--download",size:20},kr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.17,6l3.42,3.41.58.59H28V26H4V6h7.17m0-2H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2H16L12.59,4.59A2,2,0,0,0,11.17,4Z"}}],name:"folder",size:20},zr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z"}},{elem:"path",attrs:{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z"}}],name:"image",size:20},Sr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V6C28,4.9,27.1,4,26,4z M26,26H6V12h20 V26z M26,10H6V6h4v2h2V6h8v2h2V6h4V10z"}}],name:"calendar",size:20},Cr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10,19c-5,0-9-4-9-9s4-9,9-9s9,4,9,9S15,19,10,19z M10,2.3c-4.3,0-7.7,3.5-7.7,7.7s3.5,7.7,7.7,7.7s7.7-3.5,7.7-7.7 S14.3,2.3,10,2.3z"}},{elem:"path",attrs:{d:"M13 13.9L9.4 10.3 9.4 4 10.6 4 10.6 9.7 13.9 13z"}}],name:"time",size:20},Er={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17 22L17 14 13 14 13 16 15 16 15 22 12 22 12 24 20 24 20 22 17 22zM16 8a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 8z"}},{elem:"path",attrs:{d:"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z"}}],name:"information",size:20},Fr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"}},{elem:"path",attrs:{d:"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z"}}],name:"warning",size:20},Ar={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"}}],name:"error",size:20},Ir={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"}},{elem:"path",attrs:{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"}}],name:"checkmark--filled",size:20},_r={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z"}},{elem:"path",attrs:{d:"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z"}}],name:"copy",size:20},Lr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z"}}],name:"star--filled",size:20},Hr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 16H7V30H2zM23 30H9V15.1973l3.0422-4.5635.8453-5.9165A2.0094 2.0094 0 0114.8672 3H15a3.0033 3.0033 0 013 3v6h8a4.0045 4.0045 0 014 4v7A7.0078 7.0078 0 0123 30z"}}],name:"thumbs-up--filled",size:20},Mr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 2H7V16H2zM23 2H9V16.8027l3.0422 4.5635.8453 5.9165A2.0094 2.0094 0 0014.8672 29H15a3.0033 3.0033 0 003-3V20h8a4.0045 4.0045 0 004-4V9A7.0078 7.0078 0 0023 2z"}}],name:"thumbs-down--filled",size:20},Dr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 4H28V28H26zM11.414 20.586L7.828 17 22 17 22 15 7.828 15 11.414 11.414 10 10 4 16 10 22 11.414 20.586z"}}],name:"exit",size:20},Tr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M12 12H14V24H12zM18 12H20V24H18z"}},{elem:"path",attrs:{d:"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z"}}],name:"trash-can",size:20},Br={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M24,4V26.75l-7.1-3.59-.9-.45-.9.45L8,26.75V4H24m0-2H8A2,2,0,0,0,6,4V30L16,25,26,30V4A2,2,0,0,0,24,2Z"}}],name:"bookmark",size:20},Vr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.5475,25.7523c9.0566,0,14.0102-7.5034,14.0102-14.0102,0-.2131,0-.4253-.0144-.6365,.9637-.697,1.7955-1.5601,2.4566-2.5488-.8987,.3982-1.852,.6594-2.8282,.7747,1.0279-.6154,1.7972-1.5833,2.1648-2.7235-.9666,.5736-2.024,.9778-3.1267,1.1952-1.8648-1.9829-4.984-2.0786-6.9669-.2138-1.2788,1.2026-1.8214,2.9947-1.4245,4.7047-3.9591-.1985-7.6479-2.0685-10.1482-5.1446-1.3069,2.2499-.6394,5.1282,1.5245,6.5731-.7836-.0232-1.5501-.2346-2.2349-.6163v.0624c.0006,2.3439,1.6529,4.3628,3.9504,4.8269-.7249,.1977-1.4855,.2266-2.2234,.0845,.6451,2.0058,2.4937,3.38,4.6003,3.4195-1.7436,1.3703-3.8975,2.1142-6.1152,2.112-.3918-.0008-.7832-.0245-1.1722-.071,2.2518,1.4451,4.8719,2.2116,7.5475,2.208"}}],name:"logo--twitter",size:20},Or={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26.2,4H5.8C4.8,4,4,4.8,4,5.7v20.5c0,0.9,0.8,1.7,1.8,1.7h20.4c1,0,1.8-0.8,1.8-1.7V5.7C28,4.8,27.2,4,26.2,4z M11.1,24.4 H7.6V13h3.5V24.4z M9.4,11.4c-1.1,0-2.1-0.9-2.1-2.1c0-1.2,0.9-2.1,2.1-2.1c1.1,0,2.1,0.9,2.1,2.1S10.5,11.4,9.4,11.4z M24.5,24.3 H21v-5.6c0-1.3,0-3.1-1.9-3.1c-1.9,0-2.1,1.5-2.1,2.9v5.7h-3.5V13h3.3v1.5h0.1c0.5-0.9,1.7-1.9,3.4-1.9c3.6,0,4.3,2.4,4.3,5.5V24.3z"}}],name:"logo--linkedin",size:20},Nr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26.67,4H5.33A1.34,1.34,0,0,0,4,5.33V26.67A1.34,1.34,0,0,0,5.33,28H16.82V18.72H13.7V15.09h3.12V12.42c0-3.1,1.89-4.79,4.67-4.79.93,0,1.86,0,2.79.14V11H22.37c-1.51,0-1.8.72-1.8,1.77v2.31h3.6l-.47,3.63H20.57V28h6.1A1.34,1.34,0,0,0,28,26.67V5.33A1.34,1.34,0,0,0,26.67,4Z"}}],name:"logo--facebook",size:20},$r={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M29.41,9.26a3.5,3.5,0,0,0-2.47-2.47C24.76,6.2,16,6.2,16,6.2s-8.76,0-10.94.59A3.5,3.5,0,0,0,2.59,9.26,36.13,36.13,0,0,0,2,16a36.13,36.13,0,0,0,.59,6.74,3.5,3.5,0,0,0,2.47,2.47C7.24,25.8,16,25.8,16,25.8s8.76,0,10.94-.59a3.5,3.5,0,0,0,2.47-2.47A36.13,36.13,0,0,0,30,16,36.13,36.13,0,0,0,29.41,9.26ZM13.2,20.2V11.8L20.47,16Z"}}],name:"logo--youtube",size:20},Pr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"m29.0581,11.1929c0-6.0742-3.9797-7.8545-3.9797-7.8545-2.0066-.9214-5.4522-1.3091-9.0318-1.3384h-.0879c-3.5798.0293-7.023.417-9.0296,1.3384,0,0-3.98,1.7803-3.98,7.8545,0,1.3911-.0271,3.0537.0171,4.8174.1445,5.9404,1.0889,11.7945,6.5811,13.2481,2.5322.6704,4.7063.8105,6.4573.7144,3.1755-.1758,4.958-1.1333,4.958-1.1333l-.1047-2.3037s-2.269.7153-4.8176.6284c-2.5249-.0869-5.1902-.2725-5.5986-3.3726-.0378-.272-.0566-.563-.0566-.8691,0,0,2.4785.606,5.6196.75,1.9207.0879,3.7219-.1128,5.5515-.3311,3.5083-.4189,6.563-2.5806,6.9468-4.5557.605-3.1113.5552-7.5928.5552-7.5928Zm-4.6943,7.8257h-2.9138v-7.1382c0-1.5049-.6331-2.2686-1.8997-2.2686-1.4002,0-2.1018.9058-2.1018,2.6973v3.9077h-2.8967v-3.9077c0-1.7915-.7019-2.6973-2.1021-2.6973-1.2666,0-1.8997.7637-1.8997,2.2686v7.1382h-2.9138v-7.3545c0-1.5029.3828-2.6978,1.1516-3.5811.7927-.8838,1.8308-1.3369,3.1196-1.3369,1.491,0,2.6204.5732,3.367,1.7192l.7256,1.2168.7261-1.2168c.7463-1.146,1.8755-1.7192,3.3667-1.7192,1.2886,0,2.3267.4531,3.1196,1.3369.7686.8833,1.1514,2.0781,1.1514,3.5811v7.3545Z"}}],name:"logo--mastodon",size:20},Rr={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M9.2,6.9c2.7,2.1,5.7,6.3,6.8,8.5,1.1-2.2,4-6.4,6.8-8.5,2-1.5,5.2-2.6,5.2,1s-.4,6.2-.7,7c-.9,3.1-4,3.8-6.8,3.4,4.8.8,6.1,3.6,3.4,6.3-5.1,5.2-7.3-1.3-7.8-3,0-.3-.1-.5-.1-.3,0-.1,0,0-.1.3-.6,1.7-2.8,8.2-7.8,3-2.7-2.7-1.4-5.5,3.4-6.3-2.8.5-5.9-.3-6.8-3.4-.2-.9-.7-6.3-.7-7,0-3.7,3.2-2.5,5.2-1,0,0,0,0,0,0Z"}}],name:"logo--bluesky",size:20};function f(e){return Ve(Object.assign(Object.assign({},e),{attrs:Be(e.attrs)}))}const jr={"chevron-right":f(kt),"chevron-left":f(zt),"chevron-down":f(St),"chevron-up":f(Ct),"arrow-right":f(Et),"arrow-left":f(Ft),"arrow-up-right":f(At),close:f(It),add:f(_t),edit:f(Lt),checkmark:f(Ht),download:f(Mt),upload:f(Dt),view:f(Tt),exit:f(Dr),caretSort:f(Vt),bookmark:f(Br),createLink:f(Bt),activity:f(gr),account:f(hr),analytics:f(fr),template:f(xr),documentExport:f(yr),documentDownload:f(wr),trashCan:f(Tr),chooseItem:f(Ot),copyLink:f(Nt),dragHorizontal:f($t),dragVertical:f(Pt),login:f(br),logout:f(pr),move:f(Rt),replicate:f(jt),sortAscending:f(Wt),sortDescending:f(qt),requestQuote:f(Ut),reset:f(Zt),resultDraft:f(Yt),share:f(Kt),play:f(Gt),book:f(Xt),chatOff:f(Jt),forum:f(Qt),shareKnowledge:f(er),time:f(Cr),help:f(nr),customerService:f(tr),code:f(rr),rocket:f(ir),compass:f(ar),menu:f(lr),search:f(sr),settings:f(or),notification:f(dr),user:f(cr),group:f(ur),save:f(mr),document:f(vr),folder:f(kr),image:f(zr),calendar:f(Sr),information:f(Er),warning:f(Fr),error:f(Ar),"checkmark-filled":f(Ir),copy:f(_r),star:f(Lr),"thumbs-up":f(Hr),"thumbs-down":f(Mr),twitter:f(Vr),linkedin:f(Or),facebook:f(Nr),youtube:f($r),mastodon:f(Pr),bluesky:f(Rr)},Wr=":host{display:inline-flex;align-items:center;justify-content:center}.icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon svg{display:block;fill:currentColor;color:inherit}.icon--16{width:16px;height:16px}.icon--16 svg{width:16px;height:16px}.icon--20{width:20px;height:20px}.icon--20 svg{width:20px;height:20px}.icon--24{width:24px;height:24px}.icon--24 svg{width:24px;height:24px}.icon--32{width:32px;height:32px}.icon--32 svg{width:32px;height:32px}",qr=Wr,Oe=class{constructor(e){t.registerInstance(this,e),this.name=void 0,this.size=20,this.label=void 0}render(){const e=jr[this.name];if(!e)return console.warn(`Icon "${this.name}" not found in ICONS`),null;const n=!this.label;return t.h(t.Host,{role:n?null:"img","aria-label":n?null:this.label,"aria-hidden":n?"true":null},t.h("span",{class:`icon icon--${this.size}`,innerHTML:e}))}};Oe.style=qr;const Ur=`/*
|
|
1412
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.5)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:rgba(0, 255, 157, 0.05);border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb{background:#33FFB8;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#00FF9D}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}`,gt=ht,De=class{constructor(e){n.registerInstance(this,e),this.resultSelected=n.createEvent(this,"resultSelected",7),this.searchClosed=n.createEvent(this,"searchClosed",7),this.handleClear=()=>{this.debounceTimer&&clearTimeout(this.debounceTimer),this.query="",this.results=[],this.hasSearched=!1,this.showDropdown=!1,this.selectedIndex=-1,this.inputRef&&(this.inputRef.value="",this.inputRef.focus())},this.handleInput=t=>{var i;const r=t.target;if(this.query=r.value,this.debounceTimer&&clearTimeout(this.debounceTimer),!this.query.trim()){this.results=[],this.hasSearched=!1,this.showDropdown=!1;return}k.sendAnalytics({category:"shared-ui",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`search-input: ${(i=this.query)===null||i===void 0?void 0:i.toLowerCase()}`||"unknow seach input query",action:"click"}),this.debounceTimer=window.setTimeout(()=>{this.runSearch()},this.debounceDelay)},this.apiEndpoint="/api/v1/global-search",this.placeholder="Search Handbook + Design...",this.limit=20,this.debounceDelay=300,this.forceNewTab=!1,this.currentOrigin="",this.currentSource="",this.authToken="",this.variant="gray",this.query="",this.results=[],this.loading=!1,this.error="",this.hasSearched=!1,this.showDropdown=!1,this.selectedIndex=-1}componentDidLoad(){this.cmdKListener=e=>{var t;(navigator.platform.toUpperCase().includes("MAC")?e.metaKey:e.ctrlKey)&&e.key.toLowerCase()==="k"&&(e.preventDefault(),(t=this.inputRef)===null||t===void 0||t.focus())},document.addEventListener("keydown",this.cmdKListener)}disconnectedCallback(){this.debounceTimer&&clearTimeout(this.debounceTimer),this.cmdKListener&&document.removeEventListener("keydown",this.cmdKListener)}handleDocumentClick(e){e.composedPath().includes(this.el)||(this.showDropdown=!1,this.selectedIndex=-1)}handleKeydown(e){if(!this.showDropdown||this.results.length===0){e.key==="Escape"&&this.searchClosed.emit();return}switch(e.key){case"ArrowDown":e.preventDefault(),this.selectedIndex=Math.min(this.selectedIndex+1,this.results.length-1),this.scrollToSelected();break;case"ArrowUp":e.preventDefault(),this.selectedIndex=Math.max(this.selectedIndex-1,-1),this.scrollToSelected();break;case"Enter":e.preventDefault(),this.selectedIndex>=0&&this.selectedIndex<this.results.length&&this.selectResult(this.results[this.selectedIndex]);break;case"Escape":this.showDropdown=!1,this.selectedIndex=-1,this.searchClosed.emit();break}}async runSearch(){var e;const t=this.query.trim();if(!t){this.results=[],this.hasSearched=!1,this.showDropdown=!1;return}this.loading=!0,this.error="";try{const i={};this.authToken&&(i.Authorization=`Bearer ${this.authToken}`);const r=await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(t)}&limit=${this.limit}`,{headers:i});if(!r.ok)throw new Error("Search failed");const a=await r.json();this.results=(e=a.items)!==null&&e!==void 0?e:[],this.hasSearched=!0,this.showDropdown=!0,this.selectedIndex=-1}catch{this.error="Search failed. Please try again.",this.results=[],this.showDropdown=!0}finally{this.loading=!1}}selectResult(e){this.resultSelected.emit(e),this.searchClosed.emit(),k.sendAnalytics({category:"shared-ui",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`search-select: ${e.url}`||"unknown search result selection",action:"click"});let t=!1,i=e.url;try{const r=new URL(e.url,window.location.href);if(this.currentSource&&e.source===this.currentSource)i=r.pathname+r.search+r.hash,t=!1;else{const a=this.currentOrigin||window.location.origin;t=r.origin!==a}}catch(r){console.error("[eds-global-search] URL parsing error:",r),t=!1}this.forceNewTab||t?window.open(e.url,"_blank","noopener,noreferrer"):window.location.href=i}scrollToSelected(){if(this.selectedIndex>=0&&this.dropdownRef){const e=this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);e&&e.scrollIntoView({block:"nearest",behavior:"smooth"})}}stripHtml(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}get hasResults(){return this.results.length>0}get showEmpty(){return this.hasSearched&&!this.loading&&!this.hasResults&&this.query.trim()}render(){return n.h("div",{key:"677355c6a3318ec1197965eac1b2cd92d1068730",class:"search-wrapper"},n.h("label",{key:"f5cc85b9445df11e888428bb2a0b2b4114bdc3a9",class:`search-pill search-pill--${this.variant}`,htmlFor:"search-global"},n.h("svg",{key:"b95972f32833c302166af4d496d62aabbbca6b96",class:"search-icon",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},n.h("circle",{key:"916f6f24dc45b800fd024196cad8a5a7704715e0",cx:"11",cy:"11",r:"7"}),n.h("line",{key:"e73a37d14e3c5de75ff1d5e1ff3ac6dc17276884",x1:"20",y1:"20",x2:"16.5",y2:"16.5"})),n.h("input",{key:"e9c88b7577dbc32d700f4ccfc657ac3400c406a7",id:"search-global",class:"search-input",type:"search",name:"search-box-global",placeholder:this.placeholder,value:this.query,autoComplete:"off",onInput:this.handleInput,ref:e=>this.inputRef=e}),this.query&&this.query.length>0?n.h("button",{type:"button",class:"search-clear","aria-label":"Clear search",onMouseDown:e=>e.preventDefault(),onClick:()=>this.handleClear()},n.h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},n.h("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.h("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):n.h("kbd",{class:"search-kbd","aria-hidden":"true"},"⌘K")),this.showDropdown&&n.h("div",{key:"bac2451a0d8e8fe44f4ee8205aac072866c071cc",class:"search-dropdown",ref:e=>this.dropdownRef=e},this.loading&&n.h("div",{key:"2272670a68466fdcb7f7dbef9392c85524f26511",class:"flex text-center justify-center p-64"},n.h("eds-spinner",{key:"ea08bc71e4e251110d63c1f7f0c9ec3cf4f02d31",variant:"primary",size:"sm"})),this.error&&!this.loading&&n.h("div",{key:"c54f235e8cf516715d83b830c13b7091ce10c8e5",class:"flex text-center justify-center p-16"},n.h("span",{key:"5e0164e70620b1b70acbd665f72e02627758d447",class:"text-error f-body-02"},this.error)),this.showEmpty&&n.h("div",{key:"bc8c5dce2e1e9e0cdb46db53a94d4a06401f8c2f",class:"dropdown-state"},n.h("eds-icon-wrapper",{key:"ddb1815134abfd538530de6d805006f2e629f423",name:"search"}),n.h("div",{key:"0fe6b3742f59bf6a9745d0c3652caeed1c9fcd0c"},n.h("p",{key:"26751d170e283e85eb0fa914c7cd681281b79606",class:"f-body-02"},"No results found"),n.h("p",{key:"3c5117ba70272690647141c09105ad73142d2880",class:"f-ui-04 text-lightest"},"Try different keywords"))),this.hasResults&&!this.loading&&n.h("ul",{key:"ec4e905215fa05a2d29e3cb02325b898cc8e7e75",class:"dropdown-results"},this.results.map((e,t)=>n.h("li",{key:e.id,"data-index":t,class:{"result-item":!0,"result-item--selected":t===this.selectedIndex},onClick:()=>this.selectResult(e),onMouseEnter:()=>this.selectedIndex=t},n.h("div",{class:"result-header"},n.h("span",{class:"result-title f-body-02"},e.title)),n.h("div",{class:"result-meta"},e.parent_software?[n.h("span",{class:"result-badge result-badge--parent"},e.parent_software),e.section&&n.h("span",{class:"result-badge result-badge--lr"},e.section)]:e.source==="kg-services"?[n.h("span",{class:"result-badge"},"EBRAINS KG"),e.section&&n.h("span",{class:"result-badge"},e.section)]:[n.h("span",{class:"result-badge"},e.source),e.section&&n.h("span",{class:"result-badge"},e.section)],n.h("span",{class:"result-url"},e.url)),e.snippet&&n.h("p",{class:"result-snippet"},this.stripHtml(e.snippet))))),this.hasResults&&!this.loading&&n.h("div",{key:"8ba2b0905762d08201d770ef4ad555b5817a93d5",class:"dropdown-footer"},n.h("span",{key:"447177da436c4673c1530b63985069270eea9629",class:"footer-hint"},n.h("kbd",{key:"eca68fd4c32ff1b05130322d55c6b40353d0d7e9"},"↑")," ",n.h("kbd",{key:"f0e8c800465276b7648e883f0de99389e144cbdf"},"↓")," navigate • ",n.h("kbd",{key:"a40bfd64de00d1e9e7770ae13221b84e7270a93e"},"↵")," select • ",n.h("kbd",{key:"bbc53439fad27289cdd4705a7ddb61e8d3b578ee"},"esc")," close"))))}get el(){return n.getElement(this)}};De.style=gt;const ft=".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-light)}.bg-strongest{background-color:var(--brand-black)}.mr-auto{margin-right:auto}.w-\\[250px\\]{width:250px}.h-\\[85px\\]{height:85px}.p-\\[24px\\]{padding:24px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.flex-1{flex:1 1 0%}.justify-end{justify-content:flex-end}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-8{gap:0.5rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}",bt=ft,Be=class{constructor(e){n.registerInstance(this,e),this.toggleheadermenu=n.createEvent(this,"toggleheadermenu",7),this.url="/",this.links=void 0,this.variant="default",this.menu=!1,this.isMenuOpen=!1,this.isUserMenuOpen=!1}componentDidLoad(){var e,t;((t=(e=this.hostEl.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("eds-link"))!==null&&t!==void 0?t:[]).forEach(r=>this.emitContext(r))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}handleToggleMenu(){this.toggleheadermenu.emit(!this.isMenuOpen)}toggleUserMenu(){this.isUserMenuOpen=!this.isUserMenuOpen}get parsedLinks(){return F.parseData(this.links)}render(){const e={strong:"text-inverse bg-strongest",inverse:"text-default bg-inverse",default:"text-default bg-dark"},t=e[this.variant]||e.default,i=this.variant==="strong"?"negative":"positive",r=this.variant==="strong"?"underlineInverse":"underline";return n.h("header",{key:"7b2039f33349e19ff3f6e8519e36c73008f636ff",role:"banner",class:`flex items-center justify-between relative z-10 ${t}`},n.h("div",{key:"300470c050a9f50a08cc0d964b718327ecec598f",class:"w-[250px]"},n.h("div",{key:"4ff98957c7f838561b2a86b6fcf5a40a1f631d94",class:"p-[24px]"},n.h("eds-logo",{key:"610e8465379fbdc9cab1d315aa11940763ba4561",variant:i,href:this.url}))),this.parsedLinks&&n.h("nav",{key:"97e14d79eea2d69fb37785984d29167e3056c2ec",role:"navigation","aria-label":"Primary",class:"flex-1 flex justify-center items-center hidden md:flex"},n.h("ul",{key:"79a7dd5f647319b339078ad426160ebc21af733d",class:"flex gap-x-16"},this.parsedLinks.map(a=>n.h("eds-link",{label:a.label,"aria-label":a.label,url:a.url,intent:r,size:"large",icon:a.icon,external:a.external})))),n.h("div",{key:"1da0a64c28395f3601e6e954f5ed9017525d4c2e",class:"w-[250px] flex justify-end items-center"},n.h("slot",{key:"bae6c23ce8400bc5ff21c4aec71e915bde7b15f2",name:"actions"})),this.menu&&n.h("div",{key:"9ab2466ce42dcf2136565a14522f734565bd2fbf",class:"md:hidden flex overflow-hidden px-16"},n.h("eds-button",{key:"bd2e20f436a96bd28eea126e655f0c9c9976d32e","aria-label":"Menu",intent:this.variant==="strong"?"ghostInverse":"ghost",icon:"menu",size:"small",onClick:()=>this.handleToggleMenu()})))}get hostEl(){return n.getElement(this)}};Be.style=bt;function pt(e,t,i){return(t=xt(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function ae(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),i.push.apply(i,r)}return i}function G(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(i),!0).forEach(function(r){pt(e,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ae(Object(i)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))})}return e}function le(e,t){if(e==null)return{};var i,r,a=mt(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)i=l[r],t.indexOf(i)===-1&&{}.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function mt(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;i[r]=e[r]}return i}function ut(e,t){if(typeof e!="object"||!e)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var r=i.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xt(e){var t=ut(e,"string");return typeof t=="symbol"?t:t+""}var vt=["width","height","viewBox"],yt=["tabindex"],wt={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function Te(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width,i=e.height,r=e.viewBox,a=r===void 0?"0 0 ".concat(t," ").concat(i):r,l=le(e,vt),o=l.tabindex,s=le(l,yt),h=G(G(G({},wt),s),{},{width:t,height:i,viewBox:a});return h["aria-label"]||h["aria-labelledby"]||h.title?(h.role="img",o!=null&&(h.focusable="true",h.tabindex=o)):h["aria-hidden"]=!0,h}function Ve(e){var t=e.elem,i=t===void 0?"svg":t,r=e.attrs,a=r===void 0?{}:r,l=e.content,o=l===void 0?[]:l,s=o.map(Ve).join("");return i!=="svg"?"<".concat(i," ").concat(oe(a),">").concat(s,"</").concat(i,">"):"<".concat(i," ").concat(oe(Te(a)),">").concat(s,"</").concat(i,">")}function oe(e){return Object.keys(e).reduce(function(t,i,r){var a="".concat(i,'="').concat(e[i],'"');return r===0?a:t+" "+a},"")}var kt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M22 16L12 26 10.6 24.6 19.2 16 10.6 7.4 12 6z"}}],name:"chevron--right",size:20},zt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10 16L20 6 21.4 7.4 12.8 16 21.4 24.6 20 26z"}}],name:"chevron--left",size:20},St={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"}}],name:"chevron--down",size:20},Ct={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z"}}],name:"chevron--up",size:20},Et={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z"}}],name:"arrow--right",size:20},It={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M14 26L15.41 24.59 7.83 17 28 17 28 15 7.83 15 15.41 7.41 14 6 4 16 14 26z"}}],name:"arrow--left",size:20},At={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10 6L10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6z"}}],name:"arrow--up-right",size:20},Ft={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"}}],name:"close",size:20},_t={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"}}],name:"add",size:20},Lt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"}}],name:"edit",size:20},Mt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M8 13.2L3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"}},{elem:"path",attrs:{d:"M15.6 5.6L8 13.2 3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"}}],name:"checkmark",size:20},Ht={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 24v4H6V24H4v4H4a2 2 0 002 2H26a2 2 0 002-2h0V24zM26 14L24.59 12.59 17 20.17 17 2 15 2 15 20.17 7.41 12.59 6 14 16 24 26 14z"}}],name:"download",size:20},Dt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M6 18L7.41 19.41 15 11.83 15 30 17 30 17 11.83 24.59 19.41 26 18 16 8 6 18zM6 8V4H26V8h2V4a2 2 0 00-2-2H6A2 2 0 004 4V8z"}}],name:"upload",size:20},Bt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z"}},{elem:"path",attrs:{d:"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z"}}],name:"view",size:20},Tt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M7,8v3h-2v-3h-3v-2h3v-3h2v3h3v2h-3ZM22.42,26.01l6.03-6.03h0c2.06-2.06,2.06-5.39,0-7.44s-5.39-2.06-7.44,0l1.41,1.41h0c1.27-1.27,3.34-1.27,4.62,0,1.27,1.27,1.27,3.34,0,4.62l-6.03,6.03h0c-1.27,1.27-3.34,1.27-4.62,0-1.27-1.27-1.27-3.34,0-4.62l-1.41-1.41c-.99.99-1.54,2.33-1.54,3.73,0,2.91,2.36,5.26,5.27,5.26,1.4,0,2.74-.55,3.72-1.54h0l-.01-.01ZM13.99,28.46l-1.41-1.41c-1.27,1.26-3.32,1.26-4.6,0-1.28-1.27-1.29-3.34-.02-4.62l6.03-6.03.02-.02c1.28-1.27,3.35-1.26,4.62.02s1.26,3.35-.02,4.62l1.41,1.41.03-.03c2.05-2.06,2.03-5.4-.03-7.44-2.06-2.05-5.4-2.03-7.44.03l-6.03,6.03c-.99.99-1.55,2.33-1.55,3.72,0,2.91,2.37,5.26,5.27,5.26,1.4,0,2.74-.55,3.72-1.54Z"}}],name:"create-link",size:20},Vt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M24 24L16 32 8 24zM8 8L16 0 24 8z"}}],name:"caret--sort",size:20},Ot={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28 6H30V26H28zM17 6L15.57 7.393 23.15 15 2 15 2 17 23.15 17 15.57 24.573 17 26 27 16 17 6z"}}],name:"choose-item",size:20},$t={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.9474,19a4.9476,4.9476,0,0,1-3.4991-8.4465l5.1053-5.1043a4.9482,4.9482,0,0,1,6.9981,6.9976l-.5523.5526-1.4158-1.4129.5577-.5579a2.95,2.95,0,0,0-.0039-4.1653,3.02,3.02,0,0,0-4.17,0l-5.1047,5.104a2.9474,2.9474,0,0,0,0,4.1692,3.02,3.02,0,0,0,4.17,0l1.4143,1.4145A4.9176,4.9176,0,0,1,11.9474,19Z"}},{elem:"path",attrs:{d:"M19.9474,17a4.9476,4.9476,0,0,1-3.4991-8.4465l.5526-.5526,1.4143,1.4146-.5526.5523a2.9476,2.9476,0,0,0,0,4.1689,3.02,3.02,0,0,0,4.17,0c.26-.26,4.7293-4.7293,5.1053-5.1045a2.951,2.951,0,0,0,0-4.1687,3.02,3.02,0,0,0-4.17,0L21.5536,3.449a4.9483,4.9483,0,0,1,6.9981,6.9978c-.3765.376-4.844,4.8428-5.1038,5.1035A4.9193,4.9193,0,0,1,19.9474,17Z"}},{elem:"path",attrs:{d:"M24,30H4a2.0021,2.0021,0,0,1-2-2V8A2.0021,2.0021,0,0,1,4,6H8V8H4V28H24V18h2V28A2.0021,2.0021,0,0,1,24,30Z"}}],name:"copy--link",size:20},Nt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M12 4L12 15 5.83 15 8.41 12.41 7 11 2 16 7 21 8.41 19.59 5.83 17 12 17 12 28 14 28 14 4 12 4zM25 11L23.59 12.41 26.17 15 20 15 20 4 18 4 18 28 20 28 20 17 26.17 17 23.59 19.59 25 21 30 16 25 11z"}}],name:"drag--horizontal",size:20},Pt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z"}}],name:"drag--vertical",size:20},Rt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M25 11L23.59 12.41 26.17 15 17 15 17 5.83 19.59 8.41 21 7 16 2 11 7 12.41 8.41 15 5.83 15 15 5.83 15 8.41 12.41 7 11 2 16 7 21 8.41 19.59 5.83 17 15 17 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 17 26.17 17 23.59 19.59 25 21 30 16 25 11z"}}],name:"move",size:20},jt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28 8h2V4a2.0021 2.0021 0 00-2-2H24V4h4zM17 2H21V4H17zM28 11H30V15H28zM28 18v4H24V10a2.0023 2.0023 0 00-2-2H10V4h4V2H10A2.0023 2.0023 0 008 4V8H4a2.0023 2.0023 0 00-2 2V28a2.0023 2.0023 0 002 2H22a2.0023 2.0023 0 002-2V24h4a2.0023 2.0023 0 002-2V18zM22 28H4V10H22z"}}],name:"replicate",size:20},Wt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M18 22L19.414 20.586 23 24.172 23 4 25 4 25 24.172 28.586 20.586 30 22 24 28 18 22zM2 18H16V20H2zM6 12H16V14H6zM10 6H16V8H10z"}}],name:"sort--ascending",size:20},qt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M18 22L19.414 20.586 23 24.172 23 4 25 4 25 24.172 28.586 20.586 30 22 24 28 18 22zM2 6H16V8H2zM6 12H16V14H6zM10 18H16V20H10z"}}],name:"sort--descending",size:20},Ut={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M22,22v6H6V4H16V2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V22Z"}},{elem:"path",attrs:{d:"M29.54,5.76l-3.3-3.3a1.6,1.6,0,0,0-2.24,0l-14,14V22h5.53l14-14a1.6,1.6,0,0,0,0-2.24ZM14.7,20H12V17.3l9.44-9.45,2.71,2.71ZM25.56,9.15,22.85,6.44l2.27-2.27,2.71,2.71Z"}}],name:"request-quote",size:20},Yt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M18,28A12,12,0,1,0,6,16v6.2L2.4,18.6,1,20l6,6,6-6-1.4-1.4L8,22.2V16H8A10,10,0,1,1,18,26Z"}}],name:"reset",size:20},Zt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M29.7 19.3l-3-3c-.4-.4-1-.4-1.4 0L16 25.6V30h4.4l9.3-9.3C30.1 20.3 30.1 19.7 29.7 19.3zM19.6 28H18v-1.6l5-5 1.6 1.6L19.6 28zM26 21.6L24.4 20l1.6-1.6 1.6 1.6L26 21.6zM10 23H12V25H10zM14 18H18V20H14zM10 18H12V20H10zM14 13H22V15H14zM10 13H12V15H10z"}},{elem:"path",attrs:{d:"M7,28V7h3v3h12V7h3v6h2V7c0-1.1-0.9-2-2-2h-3V4c0-1.1-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2v1H7C5.9,5,5,5.9,5,7v21 c0,1.1,0.9,2,2,2h5v-2H7z M12,4h8v4h-8V4z"}}],name:"result--draft",size:20},Gt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z"}}],name:"share",size:20},Kt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M7,28a1,1,0,0,1-1-1V5a1,1,0,0,1,1.4819-.8763l20,11a1,1,0,0,1,0,1.7525l-20,11A1.0005,1.0005,0,0,1,7,28ZM8,6.6909V25.3088L24.9248,16Z"}}],name:"play",size:20},Xt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19zM6 10H13V12H6zM6 15H13V17H6zM6 20H13V22H6z"}},{elem:"path",attrs:{d:"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.002,2.002,0,0,0,2,2H28a2.002,2.002,0,0,0,2-2V7A2.002,2.002,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28V25Z"}}],name:"book",size:20},Jt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28 8V21h2V8a3.9986 3.9986 0 00-4-4H8.2429l2 2H26A1.9965 1.9965 0 0128 8zM30 28.5859L3.4141 2 2 3.4141 3.5039 4.918A3.9181 3.9181 0 002 8V20a3.9992 3.9992 0 004 4h6V22H6a1.9965 1.9965 0 01-2-2V8a1.9814 1.9814 0 01.9194-1.6665L20.5859 22H17l-4 7 1.7358 1 3.4288-6h4.4213l6 6z"}}],name:"chat--off",size:20},Qt={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28,6H8C6.8,6,6,6.8,6,8v14c0,1.2,0.8,2,2,2h8v-2H8V8h20v14h-7.2L16,28.8l1.6,1.2l4.2-6H28c1.2,0,2-0.8,2-2V8 C30,6.8,29.2,6,28,6z"}},{elem:"path",attrs:{d:"M4,18H2V5c0-1.7,1.3-3,3-3h13v2H5C4.4,4,4,4.4,4,5V18z"}}],name:"forum",size:20},ei={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20zM6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM19 10H26V12H19zM19 6H29V8H19zM19 2H29V4H19zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4z"}}],name:"share-knowledge",size:20},ni={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"}},{elem:"circle",attrs:{cx:"16",cy:"23.5",r:"1.5"}},{elem:"path",attrs:{d:"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z"}}],name:"help",size:20},ti={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 30h-2v-5c-.0033-2.7601-2.2399-4.9967-5-5h-6c-2.7601.0033-4.9967 2.2399-5 5v5h-2v-5c.0045-3.8641 3.1359-6.9955 7-7h6c3.8641.0045 6.9955 3.1359 7 7v5zM22 6v4c0 1.1025-.8972 2-2 2h-1c-.5522 0-1 .4478-1 1s.4478 1 1 1h1c2.2056 0 4-1.7944 4-4v-4h-2zM16 16c-3.8599 0-7-3.1401-7-7S12.1401 2 16 2c1.9885 0 3.8901.8503 5.2173 2.3329l-1.4902 1.334c-.9482-1.0593-2.3066-1.6669-3.7271-1.6669-2.7571 0-5 2.243-5 5s2.2429 5 5 5v2z"}}],name:"customer-service",size:20},ii={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M31 16L24 23 22.59 21.59 28.17 16 22.59 10.41 24 9 31 16zM1 16L8 9 9.41 10.41 3.83 16 9.41 21.59 8 23 1 16z"}},{elem:"path",attrs:{d:"M5.91 15H26.080000000000002V17H5.91z",transform:"rotate(-75 15.996 16)"}}],name:"code",size:20},ri={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M6.34 19H17.65V21H6.34z",transform:"rotate(-45 11.995 20.002)"}},{elem:"path",attrs:{d:"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z"}}],name:"rocket",size:20},ai={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,4A12,12,0,1,1,4,16,12,12,0,0,1,16,4m0-2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Z"}},{elem:"path",attrs:{d:"M23,10.41,21.59,9l-4.3,4.3a3,3,0,0,0-4,4L9,21.59,10.41,23l4.3-4.3a3,3,0,0,0,4-4ZM17,16a1,1,0,1,1-1-1A1,1,0,0,1,17,16Z"}},{elem:"circle",attrs:{cx:"16",cy:"7.5",r:"1.5"}}],name:"compass",size:20},li={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"}}],name:"menu",size:20},oi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M29,27.5859l-7.5521-7.5521a11.0177,11.0177,0,1,0-1.4141,1.4141L27.5859,29ZM4,13a9,9,0,1,1,9,9A9.01,9.01,0,0,1,4,13Z"}}],name:"search",size:20},si={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z"}},{elem:"path",attrs:{d:"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z"}}],name:"settings",size:20},di={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28.7071,19.293,26,16.5859V13a10.0136,10.0136,0,0,0-9-9.9492V1H15V3.0508A10.0136,10.0136,0,0,0,6,13v3.5859L3.2929,19.293A1,1,0,0,0,3,20v3a1,1,0,0,0,1,1h7v.7768a5.152,5.152,0,0,0,4.5,5.1987A5.0057,5.0057,0,0,0,21,25V24h7a1,1,0,0,0,1-1V20A1,1,0,0,0,28.7071,19.293ZM19,25a3,3,0,0,1-6,0V24h6Zm8-3H5V20.4141L7.707,17.707A1,1,0,0,0,8,17V13a8,8,0,0,1,16,0v4a1,1,0,0,0,.293.707L27,20.4141Z"}}],name:"notification",size:20},ci={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z"}}],name:"user",size:20},hi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M8,14H19v2H8Zm0,5H21v2H8Z"}},{elem:"path",attrs:{d:"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4Zm0,2V8H4V6ZM4,26V10H28V26Z"}}],name:"account",size:20},gi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M12,29a1,1,0,0,1-.92-.62L6.33,17H2V15H7a1,1,0,0,1,.92.62L12,25.28,20.06,3.65A1,1,0,0,1,21,3a1,1,0,0,1,.93.68L25.72,15H30v2H25a1,1,0,0,1-.95-.68L21,7,12.94,28.35A1,1,0,0,1,12,29Z"}}],name:"activity",size:20},fi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M4,2H2V28a2,2,0,0,0,2,2H30V28H4Z"}},{elem:"path",attrs:{d:"M30,9H23v2h3.59L19,18.59l-4.29-4.3a1,1,0,0,0-1.42,0L6,21.59,7.41,23,14,16.41l4.29,4.3a1,1,0,0,0,1.42,0L28,12.41V16h2Z"}}],name:"analytics",size:20},bi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26,30H14a2,2,0,0,1-2-2V25h2v3H26V4H14V7H12V4a2,2,0,0,1,2-2H26a2,2,0,0,1,2,2V28A2,2,0,0,1,26,30Z"}},{elem:"path",attrs:{d:"M14.59 20.59L18.17 17 4 17 4 15 18.17 15 14.59 11.41 16 10 22 16 16 22 14.59 20.59z"}}],name:"login",size:20},pi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M6,30H18a2.0023,2.0023,0,0,0,2-2V25H18v3H6V4H18V7h2V4a2.0023,2.0023,0,0,0-2-2H6A2.0023,2.0023,0,0,0,4,4V28A2.0023,2.0023,0,0,0,6,30Z"}},{elem:"path",attrs:{d:"M20.586 20.586L24.172 17 10 17 10 15 24.172 15 20.586 11.414 22 10 28 16 22 22 20.586 20.586z"}}],name:"logout",size:20},mi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M31 30H29V27a3 3 0 00-3-3H22a3 3 0 00-3 3v3H17V27a5 5 0 015-5h4a5 5 0 015 5zM24 12a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0024 10zM15 22H13V19a3 3 0 00-3-3H6a3 3 0 00-3 3v3H1V19a5 5 0 015-5h4a5 5 0 015 5zM8 4A3 3 0 115 7 3 3 0 018 4M8 2a5 5 0 105 5A5 5 0 008 2z"}}],name:"group",size:20},ui={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17.8,5.5l-3.3-3.3C14.3,2.1,14.2,2,14,2H3.3C2.6,2,2,2.6,2,3.3v13.3C2,17.4,2.6,18,3.3,18h13.3c0.7,0,1.4-0.5,1.4-1.2V6.1 C18,5.7,17.9,5.7,17.8,5.5z M7.3,3.3h5.3v3.3H7.3V3.3z M12.7,16.7H7.3v-5.3h5.3L12.7,16.7L12.7,16.7z M14,16.7v-5.3 c0-0.7-0.6-1.3-1.3-1.3H7.3C6.6,10,6,10.6,6,11.3v5.3H3.3V3.3H6v3.3C6,7.4,6.6,8,7.3,8h5.3C13.4,8,14,7.4,14,6.7v-3l2.7,2.7v10.4 L14,16.7L14,16.7z"}}],name:"save",size:20},xi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 6v4H6V6H26m0-2H6A2 2 0 004 6v4a2 2 0 002 2H26a2 2 0 002-2V6a2 2 0 00-2-2zM10 16V26H6V16h4m0-2H6a2 2 0 00-2 2V26a2 2 0 002 2h4a2 2 0 002-2V16a2 2 0 00-2-2zM26 16V26H16V16H26m0-2H16a2 2 0 00-2 2V26a2 2 0 002 2H26a2 2 0 002-2V16a2 2 0 00-2-2z"}}],name:"template",size:20},vi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M25.7,9.3l-7-7C18.5,2.1,18.3,2,18,2H8C6.9,2,6,2.9,6,4v24c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V10C26,9.7,25.9,9.5,25.7,9.3 z M18,4.4l5.6,5.6H18V4.4z M24,28H8V4h8v6c0,1.1,0.9,2,2,2h6V28z"}},{elem:"path",attrs:{d:"M10 22H22V24H10zM10 16H22V18H10z"}}],name:"document",size:20},yi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M13 21L26.17 21 23.59 23.59 25 25 30 20 25 15 23.59 16.41 26.17 19 13 19 13 21z"}},{elem:"path",attrs:{d:"M22,14V10a1,1,0,0,0-.29-.71l-7-7A1,1,0,0,0,14,2H4A2,2,0,0,0,2,4V28a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V26H20v2H4V4h8v6a2,2,0,0,0,2,2h6v2Zm-8-4V4.41L19.59,10Z"}}],name:"document--export",size:20},wi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M30 25L28.586 23.586 26 26.172 26 18 24 18 24 26.172 21.414 23.586 20 25 25 30 30 25z"}},{elem:"path",attrs:{d:"M18,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v3l2,0V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2H18ZM18,4.4,23.6,10H18Z"}}],name:"document--download",size:20},ki={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.17,6l3.42,3.41.58.59H28V26H4V6h7.17m0-2H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2H16L12.59,4.59A2,2,0,0,0,11.17,4Z"}}],name:"folder",size:20},zi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z"}},{elem:"path",attrs:{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z"}}],name:"image",size:20},Si={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V6C28,4.9,27.1,4,26,4z M26,26H6V12h20 V26z M26,10H6V6h4v2h2V6h8v2h2V6h4V10z"}}],name:"calendar",size:20},Ci={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10,19c-5,0-9-4-9-9s4-9,9-9s9,4,9,9S15,19,10,19z M10,2.3c-4.3,0-7.7,3.5-7.7,7.7s3.5,7.7,7.7,7.7s7.7-3.5,7.7-7.7 S14.3,2.3,10,2.3z"}},{elem:"path",attrs:{d:"M13 13.9L9.4 10.3 9.4 4 10.6 4 10.6 9.7 13.9 13z"}}],name:"time",size:20},Ei={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M17 22L17 14 13 14 13 16 15 16 15 22 12 22 12 24 20 24 20 22 17 22zM16 8a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 8z"}},{elem:"path",attrs:{d:"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z"}}],name:"information",size:20},Ii={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"}},{elem:"path",attrs:{d:"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z"}}],name:"warning",size:20},Ai={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"}}],name:"error",size:20},Fi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"}},{elem:"path",attrs:{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"}}],name:"checkmark--filled",size:20},_i={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z"}},{elem:"path",attrs:{d:"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z"}}],name:"copy",size:20},Li={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z"}}],name:"star--filled",size:20},Mi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 16H7V30H2zM23 30H9V15.1973l3.0422-4.5635.8453-5.9165A2.0094 2.0094 0 0114.8672 3H15a3.0033 3.0033 0 013 3v6h8a4.0045 4.0045 0 014 4v7A7.0078 7.0078 0 0123 30z"}}],name:"thumbs-up--filled",size:20},Hi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M2 2H7V16H2zM23 2H9V16.8027l3.0422 4.5635.8453 5.9165A2.0094 2.0094 0 0014.8672 29H15a3.0033 3.0033 0 003-3V20h8a4.0045 4.0045 0 004-4V9A7.0078 7.0078 0 0023 2z"}}],name:"thumbs-down--filled",size:20},Di={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26 4H28V28H26zM11.414 20.586L7.828 17 22 17 22 15 7.828 15 11.414 11.414 10 10 4 16 10 22 11.414 20.586z"}}],name:"exit",size:20},Bi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M12 12H14V24H12zM18 12H20V24H18z"}},{elem:"path",attrs:{d:"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z"}}],name:"trash-can",size:20},Ti={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M24,4V26.75l-7.1-3.59-.9-.45-.9.45L8,26.75V4H24m0-2H8A2,2,0,0,0,6,4V30L16,25,26,30V4A2,2,0,0,0,24,2Z"}}],name:"bookmark",size:20},Vi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M11.5475,25.7523c9.0566,0,14.0102-7.5034,14.0102-14.0102,0-.2131,0-.4253-.0144-.6365,.9637-.697,1.7955-1.5601,2.4566-2.5488-.8987,.3982-1.852,.6594-2.8282,.7747,1.0279-.6154,1.7972-1.5833,2.1648-2.7235-.9666,.5736-2.024,.9778-3.1267,1.1952-1.8648-1.9829-4.984-2.0786-6.9669-.2138-1.2788,1.2026-1.8214,2.9947-1.4245,4.7047-3.9591-.1985-7.6479-2.0685-10.1482-5.1446-1.3069,2.2499-.6394,5.1282,1.5245,6.5731-.7836-.0232-1.5501-.2346-2.2349-.6163v.0624c.0006,2.3439,1.6529,4.3628,3.9504,4.8269-.7249,.1977-1.4855,.2266-2.2234,.0845,.6451,2.0058,2.4937,3.38,4.6003,3.4195-1.7436,1.3703-3.8975,2.1142-6.1152,2.112-.3918-.0008-.7832-.0245-1.1722-.071,2.2518,1.4451,4.8719,2.2116,7.5475,2.208"}}],name:"logo--twitter",size:20},Oi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26.2,4H5.8C4.8,4,4,4.8,4,5.7v20.5c0,0.9,0.8,1.7,1.8,1.7h20.4c1,0,1.8-0.8,1.8-1.7V5.7C28,4.8,27.2,4,26.2,4z M11.1,24.4 H7.6V13h3.5V24.4z M9.4,11.4c-1.1,0-2.1-0.9-2.1-2.1c0-1.2,0.9-2.1,2.1-2.1c1.1,0,2.1,0.9,2.1,2.1S10.5,11.4,9.4,11.4z M24.5,24.3 H21v-5.6c0-1.3,0-3.1-1.9-3.1c-1.9,0-2.1,1.5-2.1,2.9v5.7h-3.5V13h3.3v1.5h0.1c0.5-0.9,1.7-1.9,3.4-1.9c3.6,0,4.3,2.4,4.3,5.5V24.3z"}}],name:"logo--linkedin",size:20},$i={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M26.67,4H5.33A1.34,1.34,0,0,0,4,5.33V26.67A1.34,1.34,0,0,0,5.33,28H16.82V18.72H13.7V15.09h3.12V12.42c0-3.1,1.89-4.79,4.67-4.79.93,0,1.86,0,2.79.14V11H22.37c-1.51,0-1.8.72-1.8,1.77v2.31h3.6l-.47,3.63H20.57V28h6.1A1.34,1.34,0,0,0,28,26.67V5.33A1.34,1.34,0,0,0,26.67,4Z"}}],name:"logo--facebook",size:20},Ni={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M29.41,9.26a3.5,3.5,0,0,0-2.47-2.47C24.76,6.2,16,6.2,16,6.2s-8.76,0-10.94.59A3.5,3.5,0,0,0,2.59,9.26,36.13,36.13,0,0,0,2,16a36.13,36.13,0,0,0,.59,6.74,3.5,3.5,0,0,0,2.47,2.47C7.24,25.8,16,25.8,16,25.8s8.76,0,10.94-.59a3.5,3.5,0,0,0,2.47-2.47A36.13,36.13,0,0,0,30,16,36.13,36.13,0,0,0,29.41,9.26ZM13.2,20.2V11.8L20.47,16Z"}}],name:"logo--youtube",size:20},Pi={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"m29.0581,11.1929c0-6.0742-3.9797-7.8545-3.9797-7.8545-2.0066-.9214-5.4522-1.3091-9.0318-1.3384h-.0879c-3.5798.0293-7.023.417-9.0296,1.3384,0,0-3.98,1.7803-3.98,7.8545,0,1.3911-.0271,3.0537.0171,4.8174.1445,5.9404,1.0889,11.7945,6.5811,13.2481,2.5322.6704,4.7063.8105,6.4573.7144,3.1755-.1758,4.958-1.1333,4.958-1.1333l-.1047-2.3037s-2.269.7153-4.8176.6284c-2.5249-.0869-5.1902-.2725-5.5986-3.3726-.0378-.272-.0566-.563-.0566-.8691,0,0,2.4785.606,5.6196.75,1.9207.0879,3.7219-.1128,5.5515-.3311,3.5083-.4189,6.563-2.5806,6.9468-4.5557.605-3.1113.5552-7.5928.5552-7.5928Zm-4.6943,7.8257h-2.9138v-7.1382c0-1.5049-.6331-2.2686-1.8997-2.2686-1.4002,0-2.1018.9058-2.1018,2.6973v3.9077h-2.8967v-3.9077c0-1.7915-.7019-2.6973-2.1021-2.6973-1.2666,0-1.8997.7637-1.8997,2.2686v7.1382h-2.9138v-7.3545c0-1.5029.3828-2.6978,1.1516-3.5811.7927-.8838,1.8308-1.3369,3.1196-1.3369,1.491,0,2.6204.5732,3.367,1.7192l.7256,1.2168.7261-1.2168c.7463-1.146,1.8755-1.7192,3.3667-1.7192,1.2886,0,2.3267.4531,3.1196,1.3369.7686.8833,1.1514,2.0781,1.1514,3.5811v7.3545Z"}}],name:"logo--mastodon",size:20},Ri={elem:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:20,height:20},content:[{elem:"path",attrs:{d:"M9.2,6.9c2.7,2.1,5.7,6.3,6.8,8.5,1.1-2.2,4-6.4,6.8-8.5,2-1.5,5.2-2.6,5.2,1s-.4,6.2-.7,7c-.9,3.1-4,3.8-6.8,3.4,4.8.8,6.1,3.6,3.4,6.3-5.1,5.2-7.3-1.3-7.8-3,0-.3-.1-.5-.1-.3,0-.1,0,0-.1.3-.6,1.7-2.8,8.2-7.8,3-2.7-2.7-1.4-5.5,3.4-6.3-2.8.5-5.9-.3-6.8-3.4-.2-.9-.7-6.3-.7-7,0-3.7,3.2-2.5,5.2-1,0,0,0,0,0,0Z"}}],name:"logo--bluesky",size:20};function f(e){return Ve(Object.assign(Object.assign({},e),{attrs:Te(e.attrs)}))}const ji={"chevron-right":f(kt),"chevron-left":f(zt),"chevron-down":f(St),"chevron-up":f(Ct),"arrow-right":f(Et),"arrow-left":f(It),"arrow-up-right":f(At),close:f(Ft),add:f(_t),edit:f(Lt),checkmark:f(Mt),download:f(Ht),upload:f(Dt),view:f(Bt),exit:f(Di),caretSort:f(Vt),bookmark:f(Ti),createLink:f(Tt),activity:f(gi),account:f(hi),analytics:f(fi),template:f(xi),documentExport:f(yi),documentDownload:f(wi),trashCan:f(Bi),chooseItem:f(Ot),copyLink:f($t),dragHorizontal:f(Nt),dragVertical:f(Pt),login:f(bi),logout:f(pi),move:f(Rt),replicate:f(jt),sortAscending:f(Wt),sortDescending:f(qt),requestQuote:f(Ut),reset:f(Yt),resultDraft:f(Zt),share:f(Gt),play:f(Kt),book:f(Xt),chatOff:f(Jt),forum:f(Qt),shareKnowledge:f(ei),time:f(Ci),help:f(ni),customerService:f(ti),code:f(ii),rocket:f(ri),compass:f(ai),menu:f(li),search:f(oi),settings:f(si),notification:f(di),user:f(ci),group:f(mi),save:f(ui),document:f(vi),folder:f(ki),image:f(zi),calendar:f(Si),information:f(Ei),warning:f(Ii),error:f(Ai),"checkmark-filled":f(Fi),copy:f(_i),star:f(Li),"thumbs-up":f(Mi),"thumbs-down":f(Hi),twitter:f(Vi),linkedin:f(Oi),facebook:f($i),youtube:f(Ni),mastodon:f(Pi),bluesky:f(Ri)},Wi=":host{display:inline-flex;align-items:center;justify-content:center}.icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon svg{display:block;fill:currentColor;color:inherit}.icon--16{width:16px;height:16px}.icon--16 svg{width:16px;height:16px}.icon--20{width:20px;height:20px}.icon--20 svg{width:20px;height:20px}.icon--24{width:24px;height:24px}.icon--24 svg{width:24px;height:24px}.icon--32{width:32px;height:32px}.icon--32 svg{width:32px;height:32px}",qi=Wi,Oe=class{constructor(e){n.registerInstance(this,e),this.name=void 0,this.size=20,this.label=void 0}render(){const e=ji[this.name];if(!e)return console.warn(`Icon "${this.name}" not found in ICONS`),null;const t=!this.label;return n.h(n.Host,{role:t?null:"img","aria-label":t?null:this.label,"aria-hidden":t?"true":null},n.h("span",{class:`icon icon--${this.size}`,innerHTML:e}))}};Oe.style=qi;const Ui=`/*
|
|
1412
1413
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
1413
1414
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
1414
1415
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
@@ -1490,12 +1491,12 @@ video {
|
|
|
1490
1491
|
|
|
1491
1492
|
.opacity-100 {
|
|
1492
1493
|
opacity: 1;
|
|
1493
|
-
}`,
|
|
1494
|
+
}`,Yi=Ui,$e=class{constructor(e){n.registerInstance(this,e),this.img=null,this.handleLoad=()=>{this.loaded=!0,this.showBg=!1},this.handleError=()=>{this.loaded=!0,this.showBg=!1},this.handleTransitionEnd=()=>{this.showBg=!1},this.src=void 0,this.alt="",this.width=void 0,this.height=void 0,this.srcset=void 0,this.sizes=void 0,this.formats=[],this.lazyload=!0,this.withBg=!0,this.loaded=!this.lazyload,this.showBg=this.withBg}componentDidLoad(){this.img&&this.img.complete&&(this.loaded=!0,this.showBg=!1)}render(){const e={};return this.lazyload&&(e.loading="lazy",e.decoding="async"),n.h("div",{key:"2b9ac7ccd4ed8b525c368059ec0c99fce03e5367",class:{"items-center justify-center":!0,"effect-bg-pattern":this.lazyload&&this.showBg}},n.h("picture",{key:"fe98dc4ac3197c0cd363ce6ed34ff33ad655de3b"},this.formats.map(t=>n.h("source",{type:t.type,srcSet:t.srcset,media:t.media,sizes:this.sizes})),n.h("img",Object.assign({key:"48cd85fd0bbbf5155fdac71de07a20214399080b",ref:t=>this.img=t,class:{"effect-opacity object-cover object-center":!0,"opacity-100":this.loaded,"opacity-0":!this.loaded},width:this.width,height:this.height,sizes:this.sizes,src:this.src,srcSet:this.srcset,alt:this.alt},e,{onLoad:this.handleLoad,onError:this.handleError,onTransitionEnd:this.handleTransitionEnd}))))}get imgElement(){return n.getElement(this)}};$e.style=Yi;const Zi=class{constructor(e){n.registerInstance(this,e),this.handleInput=t=>{const i=t.target;this.innerVal=i.value,this.maxLength&&this.type==="textarea"&&(this.maxLengthReached=i.value.length>=this.maxLength)},this.name=void 0,this.inputId=void 0,this.placeholder=void 0,this.disabled=!1,this.hasMessage=!1,this.error=!1,this.checked=void 0,this.type="text",this.required=!1,this.value=void 0,this.icon=void 0,this.maxLength=void 0,this.options=[],this.extraClass=void 0,this.min=void 0,this.max=void 0,this.step=void 0,this.inputTabIndex=void 0,this.innerVal="",this.maxLengthReached=!1}onValueChanged(e){this.innerVal=e}componentWillLoad(){this.value?this.innerVal=this.value:this.type==="select"&&this.options.length>0&&(this.innerVal=this.options[0].value)}getInputElement(){return this.el.querySelector("input")}render(){const e=!!this.icon,t=this.hasMessage||this.error?`${this.name}-error`:"";return n.h("div",{key:"6456b8536db4d219eb307603c986e0aca4867a66",class:"relative flex items-center"},this.type==="textarea"?n.h("textarea",{id:this.inputId||this.name,name:this.name,placeholder:this.placeholder,value:this.innerVal.toString(),required:this.required,disabled:this.disabled,class:`min-h-80 input input-textarea ${e?"input-with-icon":""} ${this.error?"input-error":""} ${this.extraClass}`,"aria-invalid":this.error?"true":"false","aria-describedby":t,maxlength:this.maxLength,onInput:this.handleInput,onChange:this.handleInput}):this.type==="select"?n.h("select",{id:this.inputId||this.name,name:this.name,required:this.required,disabled:this.disabled,class:`input input-select ${this.error?"input-error":""} ${this.extraClass}`,"aria-invalid":this.error?"true":"false","aria-describedby":t,onInput:this.handleInput,onChange:this.handleInput},this.options.map(i=>n.h("option",{value:i.value,selected:i.value===this.innerVal,key:i.value},i.label))):n.h("input",Object.assign({id:this.inputId||this.name,name:this.name,placeholder:this.placeholder,value:this.innerVal.toString(),required:this.required,disabled:this.disabled,type:this.type,tabindex:this.inputTabIndex,checked:["radio","checkbox"].includes(this.type)?this.checked:void 0},this.type==="number"?{min:this.min,max:this.max,step:this.step}:{},{class:`
|
|
1494
1495
|
${this.extraClass||""}
|
|
1495
1496
|
input ${this.type==="radio"?"input-radio":this.type==="checkbox"?"input-checkbox":""}
|
|
1496
1497
|
${e&&this.type!=="radio"&&this.type!=="checkbox"?"input-icon pl-36":""}
|
|
1497
1498
|
${this.error?"input-error":""}
|
|
1498
|
-
`,"aria-invalid":this.error?"true":"false","aria-describedby":
|
|
1499
|
+
`,"aria-invalid":this.error?"true":"false","aria-describedby":t,maxlength:this.maxLength,onInput:this.handleInput,onChange:this.handleInput})),this.maxLength&&this.type==="textarea"&&n.h("span",{key:"216f52d80eefa2f89e388e020e597493015ae8d6",class:`input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached?"input-counter-error":""}`},this.maxLength),this.icon&&n.h("eds-icon-wrapper",{key:"d3771580564237c9a8ded4e07f4293517bc885fd",class:`absolute top-1/2 left-[12px] -translate-y-1/2 ${this.disabled,"text-lightest"}`,name:this.icon}))}get el(){return n.getElement(this)}static get watchers(){return{value:["onValueChanged"]}}},Gi=".eds-input-dropzone-container{display:flex;flex-direction:column;align-items:flex-start;gap:0.75rem;max-width:100%}.eds-input-dropzone-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.eds-input-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;width:100%;min-height:200px;padding:2rem;border:2px dashed var(--color-border-soft, #d0d0d0);border-radius:8px;background-color:var(--color-bg-inverse, #ffffff);cursor:pointer;transition:all 0.2s ease;outline:none;box-sizing:border-box}.eds-input-dropzone:hover:not(.disabled){border-color:var(--color-border-strong, #07140D);background-color:var(--color-bg-softer, #ECECEC)}.eds-input-dropzone.dragging:not(.disabled){border-color:var(--color-accent, #00FF9D);background-color:var(--color-bg-softest, #F8F8F8);border-width:3px}.eds-input-dropzone.disabled{opacity:0.5;cursor:not-allowed;background-color:var(--color-bg-disabled, #f5f5f5)}.eds-input-dropzone:focus-visible{outline:2px solid var(--color-accent, #00FF9D);outline-offset:2px}.dropzone-icon{width:48px;height:48px;color:var(--color-text-light, #7A7B7A);flex-shrink:0}.eds-input-dropzone.dragging .dropzone-icon{color:var(--color-accent, #00FF9D)}.dropzone-text{display:flex;flex-direction:column;align-items:center;gap:0.25rem;text-align:center}.dropzone-primary{font-family:var(--font-family, 'IBM Plex Sans', sans-serif);font-size:1rem;font-weight:500;color:var(--color-text-default, #07140D);margin:0}.dropzone-secondary{font-family:var(--font-family, 'IBM Plex Sans', sans-serif);font-size:0.875rem;font-weight:400;color:var(--color-text-light, #7A7B7A);margin:0}.eds-input-dropzone-chips{display:flex;flex-wrap:wrap;gap:0.5rem;width:100%}.eds-input-dropzone-chip{display:inline-flex;align-items:center;gap:0.5rem;padding:0.4rem 0.75rem;background-color:var(--color-bg-softer, #ECECEC);border-radius:100px;font-size:0.75rem;color:var(--color-text-default, #07140D)}.file-chip-icon{width:14px;height:14px;color:var(--color-text-light, #7A7B7A);flex-shrink:0}.eds-input-dropzone-chip-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.eds-input-dropzone-chip-size{font-family:var(--font-family-mono, 'IBM Plex Mono', monospace);font-size:0.625rem;color:var(--color-text-light, #7A7B7A);flex-shrink:0}.eds-input-dropzone-chip-remove{display:flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;border:none;background:transparent;color:var(--color-text-light, #7A7B7A);cursor:pointer;transition:color 0.2s ease;flex-shrink:0}.eds-input-dropzone-chip-remove:hover:not(:disabled){color:var(--color-error, #e53935)}.eds-input-dropzone-chip-remove:disabled{opacity:0.5;cursor:not-allowed}.eds-input-dropzone-chip-remove svg{width:14px;height:14px}@media (max-width: 640px){.eds-input-dropzone{min-height:160px;padding:1.5rem}.dropzone-icon{width:40px;height:40px}.dropzone-primary{font-size:0.875rem}.dropzone-secondary{font-size:0.75rem}.eds-input-dropzone-chip-name{max-width:120px}}",Ki=Gi,Ne=class{constructor(e){n.registerInstance(this,e),this.edsfile=n.createEvent(this,"edsfile",7),this.handleDropzoneClick=()=>{var t;this.disabled||(t=this.fileInputRef)===null||t===void 0||t.click()},this.handleFileSelect=t=>{const i=t.target;i.files&&this.addFiles(Array.from(i.files))},this.handleDragOver=t=>{t.preventDefault(),t.stopPropagation(),this.disabled||(this.isDragging=!0)},this.handleDragLeave=t=>{t.preventDefault(),t.stopPropagation(),this.isDragging=!1},this.handleDrop=t=>{var i;if(t.preventDefault(),t.stopPropagation(),this.isDragging=!1,this.disabled)return;const r=(i=t.dataTransfer)===null||i===void 0?void 0:i.files;r&&r.length>0&&this.addFiles(Array.from(r))},this.handleRemoveFile=t=>{this.selectedFiles=this.selectedFiles.filter(i=>i.id!==t),this.emitFileChange()},this.name=void 0,this.inputId=void 0,this.disabled=!1,this.required=!1,this.multiple=!0,this.accept=void 0,this.maxFileSize=void 0,this.primaryText="Drag and drop files here",this.secondaryText="or click to browse",this.selectedFiles=[],this.isDragging=!1}addFiles(e){const t=e.map(i=>({file:i,id:`${i.name}-${Date.now()}-${Math.random()}`}));this.multiple?this.selectedFiles=[...this.selectedFiles,...t]:this.selectedFiles=t.slice(0,1),this.emitFileChange()}emitFileChange(){const e=this.selectedFiles.map(t=>t.file);this.edsfile.emit({files:e})}formatFileSize(e){if(e===0)return"0 B";const t=1024,i=["B","KB","MB","GB"],r=Math.floor(Math.log(e)/Math.log(t));return`${(e/Math.pow(t,r)).toFixed(1)} ${i[r]}`}getFileIcon(e){var t;const i=(t=e.split(".").pop())===null||t===void 0?void 0:t.toLowerCase();return["png","jpg","jpeg","gif","svg","webp"].includes(i||"")?n.h("svg",{class:"file-chip-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},n.h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),n.h("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),n.h("polyline",{points:"21 15 16 10 5 21"})):n.h("svg",{class:"file-chip-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},n.h("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),n.h("polyline",{points:"14 2 14 8 20 8"}))}render(){const e=`eds-input-dropzone ${this.isDragging?"dragging":""} ${this.disabled?"disabled":""}`;return n.h("div",{key:"3a6f1876c879e361934a9e8730afe9d14a50d8e2",class:"eds-input-dropzone-container"},n.h("input",{key:"293c9d66be6da5cf34b470f00468b3ede6abfb35",ref:t=>this.fileInputRef=t,type:"file",id:this.inputId||this.name,name:this.name,class:"eds-input-dropzone-hidden",disabled:this.disabled,required:this.required,multiple:this.multiple,accept:this.accept,onChange:this.handleFileSelect}),n.h("div",{key:"56457ccacc1e643258447ee929bdeb6b0e6e4fe7",class:e,onClick:this.handleDropzoneClick,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},n.h("svg",{key:"017fa615ec5b04dd3edd65d2e064ea58039d422b",class:"dropzone-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},n.h("path",{key:"796dee372172d244dae644cab2136fce784e0865",d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),n.h("polyline",{key:"cdd841be70c9a89c6040909797da1277b1ce244b",points:"17 8 12 3 7 8"}),n.h("line",{key:"b4a8af3db664bdebd0c9651e4c806811ea21d905",x1:"12",y1:"3",x2:"12",y2:"15"})),n.h("div",{key:"5c799c8a751b06c743f4fc7c1810a91f35307d46",class:"dropzone-text"},n.h("p",{key:"0d3971953c6f472bbde247378fccb4171606872d",class:"dropzone-primary"},this.primaryText),n.h("p",{key:"c64910c2d7ba60e6d315fa2831aca54faba84a79",class:"dropzone-secondary"},this.secondaryText))),this.selectedFiles.length>0&&n.h("div",{key:"b6f19ccc0304ba8a4369c95e86a61ad084dd9256",class:"eds-input-dropzone-chips"},this.selectedFiles.map(t=>n.h("div",{key:t.id,class:"eds-input-dropzone-chip"},this.getFileIcon(t.file.name),n.h("span",{class:"eds-input-dropzone-chip-name"},t.file.name),n.h("span",{class:"eds-input-dropzone-chip-size"},this.formatFileSize(t.file.size)),n.h("button",{type:"button",class:"eds-input-dropzone-chip-remove",onClick:()=>this.handleRemoveFile(t.id),disabled:this.disabled,"aria-label":`Remove ${t.file.name}`},n.h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},n.h("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.h("line",{x1:"6",y1:"6",x2:"18",y2:"18"})))))))}get hostEl(){return n.getElement(this)}};Ne.style=Ki;const Xi=`:root {
|
|
1499
1500
|
font-optical-sizing: auto;
|
|
1500
1501
|
}
|
|
1501
1502
|
html,
|
|
@@ -7378,6 +7379,17 @@ video {
|
|
|
7378
7379
|
.input::placeholder {
|
|
7379
7380
|
color: var(--grey-500);
|
|
7380
7381
|
}
|
|
7382
|
+
/* A <select> has no ::placeholder — when no option is chosen yet it shows the
|
|
7383
|
+
placeholder <option> in the normal dark text colour, which looks heavier than
|
|
7384
|
+
text-input placeholders. is-placeholder (set by eds-input-select while empty)
|
|
7385
|
+
matches them by rendering the closed select in grey-500; real options in the
|
|
7386
|
+
open dropdown stay dark for readability. */
|
|
7387
|
+
.input.is-placeholder {
|
|
7388
|
+
color: var(--grey-500);
|
|
7389
|
+
}
|
|
7390
|
+
.input.is-placeholder option {
|
|
7391
|
+
color: var(--brand-black);
|
|
7392
|
+
}
|
|
7381
7393
|
.input {
|
|
7382
7394
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
7383
7395
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -7869,6 +7881,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7869
7881
|
.mt-8 {
|
|
7870
7882
|
margin-top: 0.5rem;
|
|
7871
7883
|
}
|
|
7884
|
+
.mb-8 {
|
|
7885
|
+
margin-bottom: 0.5rem;
|
|
7886
|
+
}
|
|
7872
7887
|
.mt-auto {
|
|
7873
7888
|
margin-top: auto;
|
|
7874
7889
|
}
|
|
@@ -9265,7 +9280,212 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
9265
9280
|
}
|
|
9266
9281
|
}
|
|
9267
9282
|
|
|
9268
|
-
`,Jr=Xr,Pe=class{constructor(e){t.registerInstance(this,e),this.edsinput=t.createEvent(this,"edsinput",7),this.edschange=t.createEvent(this,"edschange",7),this.handleNativeInput=n=>{var r,i;if((r=this.onInput)===null||r===void 0||r.call(this,n),this.shouldEmitValue()){const a=n.target;let l=a.value;if(this.type==="checkbox"&&((i=this.parsedOptions)===null||i===void 0?void 0:i.length)>0){const s=this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);l=Array.from(s).filter(o=>o.checked).map(o=>o.value)}else this.type==="checkbox"?l=a.checked:(this.type,l=a.value);this.edsinput.emit({value:l})}},this.handleNativeChange=n=>{var r,i;if((r=this.onChangeNative)===null||r===void 0||r.call(this,n),this.shouldEmitValue()){const a=n.target;let l=a.value;if(this.type==="checkbox"&&((i=this.parsedOptions)===null||i===void 0?void 0:i.length)>0){const s=this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);l=Array.from(s).filter(o=>o.checked).map(o=>o.value)}else this.type==="checkbox"?l=a.checked:(this.type,l=a.value);this.edschange.emit({value:l})}},this.handleFileChange=n=>{var r;const i=n.detail.files,a=new CustomEvent("edschange",{detail:{value:i},bubbles:!0});(r=this.onChangeNative)===null||r===void 0||r.call(this,a),this.shouldEmitValue()&&(this.edschange.emit({value:i}),this.edsinput.emit({value:i}))},this.name=void 0,this.inputId=void 0,this.placeholder=void 0,this.disabled=!1,this.required=!1,this.label=void 0,this.hint=void 0,this.icon=void 0,this.link=void 0,this.message=void 0,this.error=!1,this.checked=void 0,this.errorMessage=void 0,this.value=void 0,this.maxLength=void 0,this.min=void 0,this.max=void 0,this.step=void 0,this.options=void 0,this.type="text",this.onChangeNative=void 0,this.onInput=void 0,this.exposeValueEvents=!0}shouldEmitValue(){return this.exposeValueEvents&&this.type!=="password"}get parsedOptions(){if(Array.isArray(this.options))return this.options;if(typeof this.options=="string")try{return JSON.parse(this.options)}catch{return console.warn("Invalid options format"),[]}return[]}render(){const e=Object.assign({name:this.name,id:this.inputId,placeholder:this.placeholder,disabled:this.disabled,onInput:this.handleNativeInput,onChange:this.handleNativeChange,type:this.type,required:this.required,value:this.value,error:this.error,icon:this.type==="text"?this.icon:void 0,checked:this.checked},this.type==="number"?{min:this.min,max:this.max,step:this.step}:{});return t.h("div",{key:"2072cce16b572431b41363beff779d8631de7abc"},this.type==="checkbox"||this.type==="radio"?this.parsedOptions.length>0?t.h("fieldset",{class:"space-y-4"},(this.label||this.hint)&&t.h("div",{class:"flex justify-between mb-4"},this.label&&t.h("eds-input-label",{name:this.inputId||this.name,label:this.label,required:this.required}),this.hint&&t.h("p",{id:`${this.name}-hint`,class:"f-ui-05 text-lighter mt-8 ml-8"},this.hint)),this.parsedOptions.map(n=>t.h("div",{class:"flex items-center gap-x-4 gap-y-4",key:n.value},t.h("eds-input",Object.assign({},e,{inputId:`${this.inputId||this.name}-${n.value}`,inputTabIndex:0,value:n.value,checked:typeof this.value=="string"&&this.value.split(",").includes(String(n.value))})),t.h("label",{htmlFor:`${this.inputId||this.name}-${n.value}`,class:`input-label-options ${this.disabled?"text-lighter":""}`},n.label)))):t.h("div",{class:"flex items-center gap-x-8"},t.h("eds-input",Object.assign({},e,{inputTabIndex:0,value:this.value,checked:this.value==="on"||this.checked})),this.label&&t.h("eds-input-label",{name:this.inputId||this.name,label:this.label,disabled:this.disabled,required:this.required})):t.h("div",null,(this.label||this.hint)&&t.h("div",{class:"flex justify-between mb-4"},this.label&&t.h("eds-input-label",{name:this.inputId||this.name,label:this.label,disabled:this.disabled,required:this.required}),this.hint&&t.h("p",{id:`${this.name}-hint`,class:"f-ui-05 text-lighter mt-8 ml-8"},this.hint)),this.type==="select"?t.h("eds-input-select",Object.assign({},e,{options:this.parsedOptions})):this.type==="file"?t.h("eds-input-file",{name:this.name,inputId:this.inputId,disabled:this.disabled,required:this.required,multiple:!0,onEdsfile:this.handleFileChange}):this.type==="dropzone"?t.h("eds-input-dropzone",{name:this.name,inputId:this.inputId,disabled:this.disabled,required:this.required,multiple:!0,onEdsfile:this.handleFileChange}):this.type==="range"?(()=>{var n,r,i,a,l,s;const o={name:e.name,inputId:e.id||e.name,disabled:e.disabled,required:e.required,onInput:e.onInput,onChange:e.onChange},h=this.parsedOptions,x=typeof this.value=="string"?parseFloat(this.value):this.value;return t.h("eds-input-range",Object.assign({},o,{min:(n=this.min)!==null&&n!==void 0?n:(r=h[0])===null||r===void 0?void 0:r.value,max:(i=this.max)!==null&&i!==void 0?i:(a=h[1])===null||a===void 0?void 0:a.value,step:(l=this.step)!==null&&l!==void 0?l:(s=h[2])===null||s===void 0?void 0:s.value,value:x}))})():t.h("eds-input",Object.assign({},e))),t.h("div",{key:"f3ab7ef07c5c35f6d5e5d7a3ec35f98fe133ab5b",class:"mt-6"},t.h("eds-input-footer",{key:"a72af69114cd3916e9ffa6ca8a65dced572dadf7",id:`${this.name}-footer`,name:this.name,message:this.message,"error-message":this.errorMessage,error:this.error,link:this.link})))}static get delegatesFocus(){return!0}get hostEl(){return t.getElement(this)}};Pe.style=Jr;const Qr=".eds-input-file-container{display:flex;flex-direction:column;align-items:flex-start;gap:0.75rem}.eds-input-file-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.eds-input-file-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.75rem 1.25rem;border:1.5px solid var(--color-border-soft, #d0d0d0);border-radius:100px;background-color:var(--color-bg-inverse, #ffffff);font-family:var(--font-family, 'IBM Plex Sans', sans-serif);font-size:0.875rem;font-weight:500;color:var(--color-text-default, #07140D);cursor:pointer;transition:all 0.2s ease;outline:none}.eds-input-file-btn:hover:not(:disabled){border-color:var(--color-border-strong, #07140D);background-color:var(--color-bg-softer, #ECECEC)}.eds-input-file-btn:active:not(:disabled){background-color:var(--color-bg-soft, #F5F5F5)}.eds-input-file-btn:focus-visible{outline:2px solid var(--color-accent, #00FF9D);outline-offset:2px}.eds-input-file-btn:disabled{opacity:0.5;cursor:not-allowed}.eds-input-file-btn svg{width:16px;height:16px;flex-shrink:0}.eds-input-file-chips{display:flex;flex-wrap:wrap;gap:0.5rem}.eds-input-file-chip{display:inline-flex;align-items:center;gap:0.5rem;padding:0.4rem 0.75rem;background-color:var(--color-bg-softer, #ECECEC);border-radius:100px;font-size:0.75rem;color:var(--color-text-default, #07140D)}.eds-input-file-chip-icon{width:14px;height:14px;color:var(--color-text-light, #7A7B7A);flex-shrink:0}.eds-input-file-chip-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.eds-input-file-chip-size{font-family:var(--font-family-mono, 'IBM Plex Mono', monospace);font-size:0.625rem;color:var(--color-text-light, #7A7B7A);flex-shrink:0}.eds-input-file-chip-remove{display:flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;border:none;background:transparent;color:var(--color-text-light, #7A7B7A);cursor:pointer;transition:color 0.2s ease;flex-shrink:0}.eds-input-file-chip-remove:hover:not(:disabled){color:var(--color-error, #e53935)}.eds-input-file-chip-remove:disabled{opacity:0.5;cursor:not-allowed}.eds-input-file-chip-remove svg{width:14px;height:14px}@media (max-width: 640px){.eds-input-file-chip-name{max-width:120px}}",ei=Qr,Re=class{constructor(e){t.registerInstance(this,e),this.edsfile=t.createEvent(this,"edsfile",7),this.handleButtonClick=()=>{var n;(n=this.fileInputRef)===null||n===void 0||n.click()},this.handleFileSelect=n=>{const r=n.target;if(!r.files)return;const i=Array.from(r.files).map(a=>({file:a,id:`${a.name}-${Date.now()}-${Math.random()}`}));this.multiple?this.selectedFiles=[...this.selectedFiles,...i]:this.selectedFiles=i.slice(0,1),this.emitFileChange()},this.handleRemoveFile=n=>{this.selectedFiles=this.selectedFiles.filter(r=>r.id!==n),this.emitFileChange()},this.name=void 0,this.inputId=void 0,this.disabled=!1,this.required=!1,this.multiple=!1,this.accept=void 0,this.maxFileSize=void 0,this.buttonLabel=void 0,this.selectedFiles=[]}emitFileChange(){const e=this.selectedFiles.map(n=>n.file);this.edsfile.emit({files:e})}formatFileSize(e){if(e===0)return"0 B";const n=1024,r=["B","KB","MB","GB"],i=Math.floor(Math.log(e)/Math.log(n));return`${(e/Math.pow(n,i)).toFixed(1)} ${r[i]}`}getFileIcon(e){var n;const r=(n=e.split(".").pop())===null||n===void 0?void 0:n.toLowerCase();return["png","jpg","jpeg","gif","svg","webp"].includes(r||"")?t.h("svg",{class:"file-chip-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},t.h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),t.h("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),t.h("polyline",{points:"21 15 16 10 5 21"})):t.h("svg",{class:"file-chip-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},t.h("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),t.h("polyline",{points:"14 2 14 8 20 8"}))}render(){const e=this.buttonLabel||(this.multiple?"Choose Files":"Choose File");return t.h("div",{key:"e02d98fbc01dbe7a89eeb3010f966ed4a373ede6",class:"eds-input-file-container"},t.h("input",{key:"2013826fda9453aade4528c9f051aac98780662f",ref:n=>this.fileInputRef=n,type:"file",id:this.inputId||this.name,name:this.name,class:"eds-input-file-hidden",disabled:this.disabled,required:this.required,multiple:this.multiple,accept:this.accept,onChange:this.handleFileSelect}),t.h("button",{key:"f5e5cf91376ccb69b39ef3c9b11095aca8bfb728",type:"button",class:"eds-input-file-btn",onClick:this.handleButtonClick,disabled:this.disabled},t.h("svg",{key:"563066375b42d0a8c14f14ac9fdfb587539f4e76",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},t.h("path",{key:"ebe5549fffa0c2453ab98891da75a464c09e9fa2",d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),t.h("polyline",{key:"69036b82e15103e481770d0ef2c500b0dcad0399",points:"17 8 12 3 7 8"}),t.h("line",{key:"e0531be95796ec6dc7f9fe359e4736a15a0e3640",x1:"12",y1:"3",x2:"12",y2:"15"})),e),this.selectedFiles.length>0&&t.h("div",{key:"62590fb46cee89d2524f1ede71c7af341c3e426a",class:"eds-input-file-chips"},this.selectedFiles.map(n=>t.h("div",{key:n.id,class:"eds-input-file-chip"},this.getFileIcon(n.file.name),t.h("span",{class:"eds-input-file-chip-name"},n.file.name),t.h("span",{class:"eds-input-file-chip-size"},this.formatFileSize(n.file.size)),t.h("button",{type:"button",class:"eds-input-file-chip-remove",onClick:()=>this.handleRemoveFile(n.id),disabled:this.disabled,"aria-label":`Remove ${n.file.name}`},t.h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},t.h("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.h("line",{x1:"6",y1:"6",x2:"18",y2:"18"})))))))}get hostEl(){return t.getElement(this)}};Re.style=ei;const ni="p{margin:0}.eds-desc-link{position:relative;display:inline-block;color:var(--brand-black);text-decoration:none}.eds-desc-link::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background-color:var(--brand-green);transition:width 0.3s ease}.eds-desc-link:hover::after{width:100%}.eds-desc-link:focus-visible::after{width:0}eds-link{--f-ui-02-fontSize:var(--f-ui-04-fontSize)}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.pt-4{padding-top:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}",ti=ni,je=class{constructor(e){t.registerInstance(this,e),this.name=void 0,this.errorMessage=void 0,this.message=void 0,this.error=!1,this.link=void 0}render(){return t.h("div",{key:"866e375b5dd1d9c958f2255537e919a8c1f25dc7"},this.error&&this.errorMessage&&t.h("div",{key:"95d11c9cbb7746cc727ad9e037d00a28d9475bfc",id:`error_${this.name}`,class:"text-error flex items-center"},t.h("eds-icon-wrapper",{key:"face7f905ffa7c5f4dc7a7e6825d185e0d6b7901",name:"warning",size:20}),t.h("p",{key:"2011af93e06df1d91972843a510e843763f53b0b",class:"f-ui-04 ml-4 mb-4 pt-4",innerHTML:this.errorMessage})),this.message&&t.h("p",{key:"39d6833a30e7b93f75154a14bee1e6b4500575cb",id:`desc_${this.name}`,class:"f-ui-04 text-lighter",innerHTML:Le(this.message)}),this.link&&t.h("eds-link",{key:"bfbf95e704574ada6f857ca08a90409ab38c1a5e",label:this.link.label,url:this.link.url,intent:"underline",size:"small",external:!0}))}};je.style=ti;const ri=".input-label{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",ii=ri,We=class{constructor(e){t.registerInstance(this,e),this.label=void 0,this.name=void 0,this.required=!1,this.disabled=!1}render(){return t.h("label",{key:"40867ae01e94ab7a69b6f82658e4ee1b1e5b87cf",htmlFor:this.name,class:`input-label ${this.disabled?"text-lighter":""}`},this.label,this.required&&t.h("span",{key:"e3cfc44ea2a7f53f51c544648b3c635557cb8248"},t.h("span",{key:"ff7559b58cb22ce2a3066ed15e77f6088f299aaa","aria-hidden":"true"},"*"),t.h("span",{key:"2c831682aae410ac71589171e2b04981c60052bb",class:"sr-only"},"required")))}};We.style=ii;const ai=class{constructor(e){t.registerInstance(this,e),this.edsrange=t.createEvent(this,"edsrange",7),this.onInput=n=>{const r=n.target;this.sliderVal=parseInt(r.value,10)},this.onChange=n=>{const r=n.target;this.sliderVal=parseInt(r.value,10),this.edsrange.emit(this.sliderVal)},this.name=void 0,this.inputId="range",this.disabled=!1,this.required=!1,this.min=0,this.max=100,this.step=1,this.value=void 0,this.sliderVal=void 0}componentWillLoad(){var e;this.sliderVal=(e=this.value)!==null&&e!==void 0?e:Math.round(this.min+(this.max-this.min)/2)}onValueChange(e){e!==void 0&&(this.sliderVal=e)}componentDidLoad(){this.inputElement=this.el.querySelector("input")}async getInputElement(){return this.inputElement}render(){var e;const n=(e=this.sliderVal)!==null&&e!==void 0?e:Math.round(this.min+(this.max-this.min)/2);return t.h("div",{key:"231ae0f34900dfa3b8edeb9745ce07220735c613",class:"relative flex flex-col items-start"},t.h("input",{key:"2cbfbbb410694a4764f44c26a74f4cbca9b98f3c",id:this.inputId||this.name,name:this.name,min:this.min,max:this.max,step:this.step,value:n,required:this.required,disabled:this.disabled,type:"range",class:"w-full py-6 input",tabindex:"0",role:"slider","aria-describedby":`desc_${this.name}`,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":n,onInput:this.onInput,onChange:this.onChange}),t.h("p",{key:"8e7036cbaeebb62c6cd4b7f2105d3fa487ad463e",id:`desc_${this.name}`,class:"block f-ui-05 mt-4 text-light"},"Current value: ",n))}get el(){return t.getElement(this)}static get watchers(){return{value:["onValueChange"]}}},li=class{constructor(e){t.registerInstance(this,e),this.edsselect=t.createEvent(this,"edsselect",7),this.handleChange=n=>{const r=n.target;this.edsselect.emit(r.value)},this.inputId=void 0,this.name=void 0,this.placeholder=void 0,this.disabled=!1,this.hasMessage=!1,this.error=!1,this.required=!1,this.options=[],this.value=void 0}render(){const e=this.inputId||this.name,n=this.placeholder||"Pick from the list",r=this.hasMessage||this.error?`${this.name}-error`:void 0;return t.h("div",{key:"8365ffbc8f6f6386edfc1626d16c9152fd3cce9f",class:"relative"},t.h("select",{key:"52e712898a3251cea5447a379886449175e7c8b8",id:e,name:this.name,class:{input:!0,"input-error":this.error,"px-4":!0,"py-2":!0},"aria-invalid":this.error?"true":"false","aria-describedby":r,disabled:this.disabled,required:this.required,onChange:this.handleChange},t.h("option",{key:"d52c376ffb683abc0dec72177dba445273d148f7",value:"",disabled:!0,selected:!this.value||this.value===""},n),this.options.map((i,a)=>t.h("option",{key:a,value:i.value,selected:i.value===this.value},i.label))),t.h("span",{key:"fecbcb47793f8a57de44711b33d3650be5297aa7",class:"bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center"},t.h("eds-icon-wrapper",{key:"4fda1345a62eeb212093057382d877f31bb6112d",class:"w-20 h-20",name:"chevron-right"})))}},si=":host{display:block;font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);color:var(--brand-black, #07140D)}.lr-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.75rem;margin-bottom:1.5rem}.lr-heading{font-family:var(--inter, 'Inter', sans-serif);font-weight:300;font-size:1.75rem;line-height:110%;margin:0;color:var(--brand-black, #07140D)}.summary{display:flex;gap:0.5rem}.filters{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:0.75rem;margin-bottom:1.5rem;align-items:flex-end}.filter-search{grid-column:span 2}.filter-select{grid-column:span 1}.accordion-list{display:flex;flex-direction:column;gap:0.5rem}.resources-content{padding-top:0.5rem}.kg-link{margin-bottom:1rem}.resources-table{width:100%;border-collapse:collapse;font-size:0.875rem}.resources-table thead th{text-align:left;font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);font-weight:500;font-size:0.75rem;text-transform:uppercase;letter-spacing:0.04em;color:var(--grey-dark, #7A7B7A);padding:0.5rem 0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.1)}.resource-row{transition:background-color 0.2s ease}.resource-row--clickable{cursor:pointer}.resource-row--clickable:hover{background-color:rgba(0, 255, 157, 0.04)}.resource-row td{padding:0.625rem 0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.04);vertical-align:top}.resource-row:last-child td{border-bottom:none}.resource-name{font-weight:500;font-size:1.0625rem;color:var(--brand-black, #07140D);transition:color 0.2s ease}.resource-row--clickable:hover .resource-name{color:var(--brand-green-dark, #00C87B)}.resource-desc{margin:0.25rem 0 0;font-size:0.9375rem;color:var(--grey-dark, #7A7B7A);line-height:145%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.col-name{width:auto}.col-type{width:160px;white-space:nowrap}.col-level{width:110px;white-space:nowrap}.loading{position:relative;min-height:8rem;padding:1rem 1.25rem;color:var(--grey-dark, #7A7B7A);font-size:0.9375rem;border:1px solid rgba(0, 0, 0, 0.08);border-radius:0.25rem;background-color:rgba(0, 0, 0, 0.02)}.no-results{padding:2rem;text-align:center;color:var(--grey-dark, #7A7B7A);font-size:0.875rem}@media (max-width: 750px){.lr-header{flex-direction:column;align-items:flex-start}.filters{grid-template-columns:1fr}.filter-search,.filter-select{grid-column:span 1}.col-type,.col-level{width:auto}.resources-table thead{display:none}.resource-row{display:flex;flex-wrap:wrap;gap:0.375rem;padding:0.625rem 0;border-bottom:1px solid rgba(0, 0, 0, 0.04)}.resource-row td{border:none;padding:0}.col-name{width:100%}}",oi=si;let G=null,oe=0;const di=10*60*1e3,qe=class{constructor(e){t.registerInstance(this,e),this.apiEndpoint="/api/v1/kg/learning-resources/cached",this.resolveNames=!0,this.size=500,this.heading="",this.variant="inverse",this.loading=!1,this.error="",this.software=[],this.meta=null,this.filterType="",this.filterLevel="",this.searchQuery=""}componentWillLoad(){this.fetchData()}async fetchData(){const e=Date.now();if(G&&e-oe<di){this.software=G;return}this.loading=!0,this.error="";try{const n=new URLSearchParams({size:this.size.toString(),resolve_names:this.resolveNames.toString()}),r=await fetch(`${this.apiEndpoint}?${n}`);if(!r.ok)throw new Error(`Failed to fetch: ${r.statusText}`);const i=await r.json();this.software=i.data||[],this.meta=i.meta||null,G=this.software,oe=e}catch(n){this.error=n instanceof Error?n.message:"Failed to load learning resources"}finally{this.loading=!1}}getFilteredSoftware(){let e=this.software;if(this.filterType&&(e=e.filter(n=>n.learning_resources_types.includes(this.filterType))),this.filterLevel&&(e=e.filter(n=>n.learning_resources_levels.includes(this.filterLevel))),this.searchQuery){const n=this.searchQuery.toLowerCase();e=e.filter(r=>r.name.toLowerCase().includes(n)||r.learning_resources.some(i=>{var a,l;return((a=i.name)===null||a===void 0?void 0:a.toLowerCase().includes(n))||((l=i.abstract)===null||l===void 0?void 0:l.toLowerCase().includes(n))}))}return e}getFilteredResources(e){let n=e;return this.filterType&&(n=n.filter(r=>r.type===this.filterType)),this.filterLevel&&(n=n.filter(r=>r.educational_level===this.filterLevel)),n}getTagIntent(e){return{"interactive tutorial":"brand","video tutorial":"primary","user documentation":"dark","video presentation":"inverse","slide deck":"strong"}[e]||"brand-dark"}getLevelTagIntent(e){return{beginner:"brand",intermediate:"dark",advanced:"strong"}[e]||"brand-dark"}renderAccordionDescription(e){const n=e.learning_resources_count,r=e.learning_resources_types.join(", ");return`${n} resource${n!==1?"s":""} — ${r}`}renderResources(e){const n=this.getFilteredResources(e.learning_resources);return t.h("div",{class:"resources-content"},e.kg_search_url&&t.h("div",{class:"kg-link"},t.h("eds-link",{url:e.kg_search_url,label:"View in EBRAINS Knowledge Graph",intent:"cta",external:!0})),t.h("table",{class:"resources-table"},t.h("thead",null,t.h("tr",null,t.h("th",{class:"col-name"},"Name"),t.h("th",{class:"col-type"},"Type"),t.h("th",{class:"col-level"},"Level"))),t.h("tbody",null,n.map(r=>t.h("tr",{class:`resource-row ${r.iri?"resource-row--clickable":""}`,onClick:()=>{r.iri&&window.open(r.iri,"_blank","noopener,noreferrer")}},t.h("td",{class:"col-name"},t.h("span",{class:"resource-name"},r.name||"Untitled"),r.abstract&&t.h("p",{class:"resource-desc"},r.abstract)),t.h("td",{class:"col-type"},r.type&&t.h("eds-tag",{label:r.type,intent:this.getTagIntent(r.type),size:"medium"})),t.h("td",{class:"col-level"},r.educational_level&&t.h("eds-tag",{label:r.educational_level,intent:this.getLevelTagIntent(r.educational_level),size:"medium"})))))),n.length===0&&t.h("p",{class:"no-results"},"No resources match the current filters."))}render(){const e=!this.loading&&!this.error?this.getFilteredSoftware():[];return t.h("div",{key:"154b59a74cb32996f1bee10ee7758d916bebdd43",class:"lr-container"},t.h("div",{key:"0c5c04b65f0c4e4c032b1b1a7d96e98fd6775563",class:"lr-header"},t.h("h2",{key:"01ef66537b31a63521f0406cd2ec9976b532d18f",class:"lr-heading"},this.heading)),this.loading&&t.h("div",{key:"134ca8e5f7349127b40aa1ae0967cd12dc12cc0b",class:"loading",role:"status","aria-live":"polite"},t.h("eds-spinner",{key:"a3a0621b6ea041f8da4ef6f36c1688974f3c5591",size:"sm",variant:"primary",background:"transparent",message:"Loading learning resources..."})),this.error&&!this.loading&&t.h("eds-alert",{key:"a0334442c175374daf8ce2be4da60ac004e4d0e2",intent:"error",message:this.error}),!this.loading&&!this.error&&t.h("div",{key:"f2b8244f1ee5c052cabd5eec8cbfc36d06f4d08d",class:"accordion-list"},e.map(n=>t.h("eds-accordion",{heading:n.name,description:this.renderAccordionDescription(n),variant:this.variant,icon:"book",switchBg:!0,clampText:!1},this.renderResources(n))),e.length===0&&t.h("p",{key:"d572c9eb76279c93ba2bd5f0fae20b4e1d9fc816",class:"no-results"},"No software matches the current filters.")))}get el(){return t.getElement(this)}};qe.style=oi;const ci=".kg-web-services-select-container{width:100%}.loading-container,.error-container{width:100%}",hi=ci,de=new Map,gi=5*60*1e3,Ue=class{constructor(e){t.registerInstance(this,e),this.edsinput=t.createEvent(this,"edsinput",7),this.edschange=t.createEvent(this,"edschange",7),this.apiEndpoint="/api/v1/kg/web-services/cached",this.label="Select Web Service",this.name="web-service",this.placeholder="Choose a web service...",this.required=!1,this.disabled=!1,this.size=100,this.searchTerm="",this.value=void 0,this.hint=void 0,this.message=void 0,this.error=!1,this.errorMessage=void 0,this.loading=!1,this.webServices=[],this.fetchError="",this.selectOptions=[]}componentWillLoad(){this.fetchWebServices()}async fetchWebServices(){this.loading=!0,this.fetchError="";try{const e=new URLSearchParams(Object.assign({size:this.size.toString()},this.searchTerm&&{search:this.searchTerm})),n=`${this.apiEndpoint}?${e.toString()}`,r=de.get(n),i=Date.now();if(r&&i-r.timestamp<gi)this.webServices=r.data;else{const a=await fetch(`${this.apiEndpoint}?${e}`);if(!a.ok)throw new Error(`Failed to fetch web services: ${a.statusText}`);const l=await a.json();this.webServices=l.data||[],de.set(n,{data:this.webServices,timestamp:i})}this.selectOptions=this.webServices.map(a=>({label:`${a.name} (${a.short_name})`,value:a.short_name}))}catch(e){console.error("[eds-kg-web-services-select] Error fetching web services:",e),this.fetchError=e instanceof Error?e.message:"Failed to load web services",this.selectOptions=[]}finally{this.loading=!1}}render(){return this.loading?t.h("div",{class:"loading-container"},t.h("eds-input-field",{name:this.name,label:this.label,type:"select",disabled:!0,placeholder:"Loading web services...",hint:this.hint,message:this.message,required:this.required})):this.fetchError?t.h("div",{class:"error-container"},t.h("eds-input-field",{name:this.name,label:this.label,type:"select",disabled:!0,error:!0,"error-message":this.fetchError,hint:this.hint,message:this.message,required:this.required})):t.h("div",{class:"kg-web-services-select-container"},t.h("eds-input-field",{name:this.name,label:this.label,type:"select",placeholder:this.placeholder,disabled:this.disabled,required:this.required,options:this.selectOptions,value:this.value,hint:this.hint,message:this.message,error:this.error,"error-message":this.errorMessage,onEdsinput:e=>{this.value=e.detail.value,this.edsinput.emit(e.detail)},onEdschange:e=>{this.value=e.detail.value,this.edschange.emit(e.detail)}}))}};Ue.style=hi;const fi=`*,
|
|
9283
|
+
/* ============================================================
|
|
9284
|
+
Field input styling — the new "brand form" look, applied to
|
|
9285
|
+
every field type rendered through eds-input-field (the wrapper).
|
|
9286
|
+
Element+class selectors (input.input / textarea.input / select.input)
|
|
9287
|
+
beat the global utility-based \`.input\` reliably. Focus colour reads
|
|
9288
|
+
--eds-field-accent (set by eds-form's brand body) and falls back to
|
|
9289
|
+
the brand-green-dark default, so this looks consistent everywhere.
|
|
9290
|
+
============================================================ */
|
|
9291
|
+
|
|
9292
|
+
/* Text-like inputs + select box.
|
|
9293
|
+
NB: radio/checkbox/range also carry the \`.input\` class, so they're excluded
|
|
9294
|
+
here (otherwise the box sizing would balloon them) — they're styled below. */
|
|
9295
|
+
input.input:not([type='radio']):not([type='checkbox']):not([type='range']),
|
|
9296
|
+
textarea.input,
|
|
9297
|
+
select.input {
|
|
9298
|
+
min-height: 50px;
|
|
9299
|
+
padding: 0 16px;
|
|
9300
|
+
border: 1px solid var(--line-color, #e2e2e2);
|
|
9301
|
+
border-radius: 10px;
|
|
9302
|
+
background: var(--white, #ffffff);
|
|
9303
|
+
color: var(--brand-black, #07140d);
|
|
9304
|
+
box-shadow: none;
|
|
9305
|
+
transition: border-color 0.14s ease, box-shadow 0.14s ease;
|
|
9306
|
+
}
|
|
9307
|
+
|
|
9308
|
+
/* Leading-icon inputs: restore the left padding that clears the icon (the icon
|
|
9309
|
+
sits absolutely at left:12px). The \`.input-icon\` + full :not() chain out-
|
|
9310
|
+
specifies the \`padding: 0 16px\` rule above, which would otherwise let the
|
|
9311
|
+
placeholder / text sit under the icon. */
|
|
9312
|
+
input.input.input-icon:not([type='radio']):not([type='checkbox']):not([type='range']) {
|
|
9313
|
+
padding-left: 42px;
|
|
9314
|
+
}
|
|
9315
|
+
|
|
9316
|
+
input.input:not([type='radio']):not([type='checkbox']):not([type='range'])::placeholder,
|
|
9317
|
+
textarea.input::placeholder {
|
|
9318
|
+
color: #a9aba9;
|
|
9319
|
+
}
|
|
9320
|
+
|
|
9321
|
+
input.input:not([type='radio']):not([type='checkbox']):not([type='range']):hover,
|
|
9322
|
+
textarea.input:hover,
|
|
9323
|
+
select.input:hover {
|
|
9324
|
+
border-color: #c9ccca;
|
|
9325
|
+
}
|
|
9326
|
+
|
|
9327
|
+
input.input:not([type='radio']):not([type='checkbox']):not([type='range']):focus,
|
|
9328
|
+
input.input:not([type='radio']):not([type='checkbox']):not([type='range']):focus-visible,
|
|
9329
|
+
textarea.input:focus,
|
|
9330
|
+
textarea.input:focus-visible,
|
|
9331
|
+
select.input:focus,
|
|
9332
|
+
select.input:focus-visible {
|
|
9333
|
+
outline: none;
|
|
9334
|
+
border-color: var(--eds-field-accent, #00c87b);
|
|
9335
|
+
box-shadow: 0 0 0 3px var(--eds-field-focus-ring, rgba(0, 200, 123, 0.16));
|
|
9336
|
+
}
|
|
9337
|
+
|
|
9338
|
+
input.input:not([type='radio']):not([type='checkbox']):not([type='range']):disabled,
|
|
9339
|
+
textarea.input:disabled,
|
|
9340
|
+
select.input:disabled {
|
|
9341
|
+
background: #f7f7f7;
|
|
9342
|
+
color: #a9aba9;
|
|
9343
|
+
cursor: not-allowed;
|
|
9344
|
+
}
|
|
9345
|
+
|
|
9346
|
+
/* Textarea — taller, top-aligned, resizable */
|
|
9347
|
+
textarea.input,
|
|
9348
|
+
textarea.input-textarea {
|
|
9349
|
+
min-height: 108px;
|
|
9350
|
+
padding: 14px 16px;
|
|
9351
|
+
line-height: 1.55;
|
|
9352
|
+
resize: vertical;
|
|
9353
|
+
align-items: flex-start;
|
|
9354
|
+
}
|
|
9355
|
+
|
|
9356
|
+
/* Select — keep room for the chevron the select renders on the right */
|
|
9357
|
+
select.input,
|
|
9358
|
+
select.input-select {
|
|
9359
|
+
padding-right: 44px;
|
|
9360
|
+
cursor: pointer;
|
|
9361
|
+
}
|
|
9362
|
+
|
|
9363
|
+
/* Range — not a boxed input; a clean track (green fill is painted inline
|
|
9364
|
+
by eds-input-range up to the current value) */
|
|
9365
|
+
input[type='range'].input {
|
|
9366
|
+
min-height: 0;
|
|
9367
|
+
height: 6px;
|
|
9368
|
+
padding: 0;
|
|
9369
|
+
border: none;
|
|
9370
|
+
border-radius: 3px;
|
|
9371
|
+
box-shadow: none;
|
|
9372
|
+
}
|
|
9373
|
+
input[type='range'].input:focus,
|
|
9374
|
+
input[type='range'].input:focus-visible {
|
|
9375
|
+
outline: none;
|
|
9376
|
+
border: none;
|
|
9377
|
+
box-shadow: none;
|
|
9378
|
+
}
|
|
9379
|
+
|
|
9380
|
+
/* Range thumb — brand-black knob with a green ring (matches the mockup). */
|
|
9381
|
+
input[type='range'].input::-webkit-slider-thumb {
|
|
9382
|
+
-webkit-appearance: none;
|
|
9383
|
+
appearance: none;
|
|
9384
|
+
width: 20px;
|
|
9385
|
+
height: 20px;
|
|
9386
|
+
border-radius: 50%;
|
|
9387
|
+
background: var(--brand-black, #07140d);
|
|
9388
|
+
border: 3px solid var(--eds-field-accent, #00c87b);
|
|
9389
|
+
cursor: pointer;
|
|
9390
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
9391
|
+
}
|
|
9392
|
+
input[type='range'].input::-moz-range-thumb {
|
|
9393
|
+
width: 18px;
|
|
9394
|
+
height: 18px;
|
|
9395
|
+
border-radius: 50%;
|
|
9396
|
+
background: var(--brand-black, #07140d);
|
|
9397
|
+
border: 3px solid var(--eds-field-accent, #00c87b);
|
|
9398
|
+
cursor: pointer;
|
|
9399
|
+
}
|
|
9400
|
+
|
|
9401
|
+
/* Range layout: value readout (top-right) + min/mid/max scale (below). */
|
|
9402
|
+
.eds-range {
|
|
9403
|
+
display: flex;
|
|
9404
|
+
flex-direction: column;
|
|
9405
|
+
padding-top: 6px;
|
|
9406
|
+
}
|
|
9407
|
+
.eds-range-top {
|
|
9408
|
+
display: flex;
|
|
9409
|
+
justify-content: flex-end;
|
|
9410
|
+
margin-bottom: 12px;
|
|
9411
|
+
}
|
|
9412
|
+
.eds-range-val {
|
|
9413
|
+
font-family: 'IBM Plex Mono', ui-monospace, monospace;
|
|
9414
|
+
font-size: 15px;
|
|
9415
|
+
font-weight: 500;
|
|
9416
|
+
color: var(--eds-field-accent, #00c87b);
|
|
9417
|
+
font-variant-numeric: tabular-nums;
|
|
9418
|
+
}
|
|
9419
|
+
.eds-range-scale {
|
|
9420
|
+
display: flex;
|
|
9421
|
+
justify-content: space-between;
|
|
9422
|
+
font-family: 'IBM Plex Mono', ui-monospace, monospace;
|
|
9423
|
+
font-size: 10px;
|
|
9424
|
+
color: #7a7b7a;
|
|
9425
|
+
margin-top: 10px;
|
|
9426
|
+
}
|
|
9427
|
+
|
|
9428
|
+
/* Radio & checkbox — brand-green when selected (white mark stays) */
|
|
9429
|
+
input.input-radio:checked,
|
|
9430
|
+
input.input-checkbox:checked {
|
|
9431
|
+
background-color: var(--eds-field-accent, #00c87b);
|
|
9432
|
+
border-color: var(--eds-field-accent, #00c87b);
|
|
9433
|
+
}
|
|
9434
|
+
|
|
9435
|
+
/* Radio / checkbox options as selectable cards (matches the brand mockup).
|
|
9436
|
+
:has(input:checked) works because eds-input is light-DOM, so there's no
|
|
9437
|
+
shadow boundary between the card and the control. */
|
|
9438
|
+
.eds-option-list {
|
|
9439
|
+
display: flex;
|
|
9440
|
+
flex-direction: column;
|
|
9441
|
+
gap: 11px;
|
|
9442
|
+
border: 0;
|
|
9443
|
+
padding: 0;
|
|
9444
|
+
margin: 0;
|
|
9445
|
+
}
|
|
9446
|
+
|
|
9447
|
+
.eds-option-card {
|
|
9448
|
+
display: flex;
|
|
9449
|
+
align-items: center;
|
|
9450
|
+
gap: 11px;
|
|
9451
|
+
padding: 13px 15px;
|
|
9452
|
+
border: 1px solid var(--line-color, #e2e2e2);
|
|
9453
|
+
border-radius: 10px;
|
|
9454
|
+
cursor: pointer;
|
|
9455
|
+
font-size: 14.5px;
|
|
9456
|
+
transition: border-color 0.14s ease, background-color 0.14s ease,
|
|
9457
|
+
box-shadow 0.14s ease;
|
|
9458
|
+
}
|
|
9459
|
+
|
|
9460
|
+
.eds-option-card:hover {
|
|
9461
|
+
border-color: #c9ccca;
|
|
9462
|
+
background: #fcfefd;
|
|
9463
|
+
}
|
|
9464
|
+
|
|
9465
|
+
.eds-option-card:has(input:checked) {
|
|
9466
|
+
border-color: var(--eds-field-accent, #00c87b);
|
|
9467
|
+
background: rgba(0, 255, 157, 0.05);
|
|
9468
|
+
box-shadow: 0 0 0 2px var(--eds-field-card-ring, rgba(0, 255, 157, 0.12));
|
|
9469
|
+
}
|
|
9470
|
+
|
|
9471
|
+
.eds-option-card.is-disabled {
|
|
9472
|
+
cursor: not-allowed;
|
|
9473
|
+
opacity: 0.6;
|
|
9474
|
+
}
|
|
9475
|
+
|
|
9476
|
+
.eds-option-text {
|
|
9477
|
+
flex: 0 1 auto;
|
|
9478
|
+
}
|
|
9479
|
+
|
|
9480
|
+
.eds-option-help {
|
|
9481
|
+
margin-left: auto;
|
|
9482
|
+
font-family: 'IBM Plex Mono', monospace;
|
|
9483
|
+
font-size: 10px;
|
|
9484
|
+
letter-spacing: 0.04em;
|
|
9485
|
+
color: #8a8c8a;
|
|
9486
|
+
}
|
|
9487
|
+
|
|
9488
|
+
`,Ji=Xi,Pe=class{constructor(e){n.registerInstance(this,e),this.edsinput=n.createEvent(this,"edsinput",7),this.edschange=n.createEvent(this,"edschange",7),this.handleNativeInput=t=>{var i,r;if((i=this.onInput)===null||i===void 0||i.call(this,t),this.shouldEmitValue()){const a=t.target;let l=a.value;if(this.type==="checkbox"&&((r=this.parsedOptions)===null||r===void 0?void 0:r.length)>0){const o=this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);l=Array.from(o).filter(s=>s.checked).map(s=>s.value)}else this.type==="checkbox"?l=a.checked:(this.type,l=a.value);this.edsinput.emit({value:l})}},this.handleNativeChange=t=>{var i,r;if((i=this.onChangeNative)===null||i===void 0||i.call(this,t),this.shouldEmitValue()){const a=t.target;let l=a.value;if(this.type==="checkbox"&&((r=this.parsedOptions)===null||r===void 0?void 0:r.length)>0){const o=this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);l=Array.from(o).filter(s=>s.checked).map(s=>s.value)}else this.type==="checkbox"?l=a.checked:(this.type,l=a.value);this.edschange.emit({value:l})}},this.handleFileChange=t=>{var i;const r=t.detail.files,a=new CustomEvent("edschange",{detail:{value:r},bubbles:!0});(i=this.onChangeNative)===null||i===void 0||i.call(this,a),this.shouldEmitValue()&&(this.edschange.emit({value:r}),this.edsinput.emit({value:r}))},this.name=void 0,this.inputId=void 0,this.placeholder=void 0,this.disabled=!1,this.required=!1,this.label=void 0,this.hint=void 0,this.icon=void 0,this.link=void 0,this.message=void 0,this.error=!1,this.checked=void 0,this.errorMessage=void 0,this.value=void 0,this.maxLength=void 0,this.min=void 0,this.max=void 0,this.step=void 0,this.options=void 0,this.type="text",this.onChangeNative=void 0,this.onInput=void 0,this.exposeValueEvents=!0}shouldEmitValue(){return this.exposeValueEvents&&this.type!=="password"}get parsedOptions(){if(Array.isArray(this.options))return this.options;if(typeof this.options=="string")try{return JSON.parse(this.options)}catch{return console.warn("Invalid options format"),[]}return[]}render(){const e=Object.assign({name:this.name,id:this.inputId,placeholder:this.placeholder,disabled:this.disabled,onInput:this.handleNativeInput,onChange:this.handleNativeChange,type:this.type,required:this.required,value:this.value,error:this.error,icon:this.type==="text"?this.icon:void 0,checked:this.checked},this.type==="number"?{min:this.min,max:this.max,step:this.step}:{});return n.h("div",{key:"2f4fc787a53ec8b3afcd8a6c372075e9c077e220"},this.type==="checkbox"||this.type==="radio"?this.parsedOptions.length>0?n.h("fieldset",{class:"eds-option-list"},(this.label||this.hint)&&n.h("div",{class:"flex justify-between mb-12"},this.label&&n.h("eds-input-label",{name:this.inputId||this.name,label:this.label,required:this.required}),this.hint&&n.h("p",{id:`${this.name}-hint`,class:"f-ui-05 text-lighter mt-8 ml-8"},this.hint)),this.parsedOptions.map(t=>n.h("label",{class:`eds-option-card ${this.disabled?"is-disabled":""}`,key:t.value},n.h("eds-input",Object.assign({},e,{inputId:`${this.inputId||this.name}-${t.value}`,inputTabIndex:0,value:t.value,checked:typeof this.value=="string"&&this.value.split(",").includes(String(t.value))})),n.h("span",{class:"eds-option-text"},t.label),t.description&&n.h("span",{class:"eds-option-help"},t.description)))):n.h("div",{class:"flex items-center gap-x-8"},n.h("eds-input",Object.assign({},e,{inputTabIndex:0,value:this.value,checked:this.value==="on"||this.checked})),this.label&&n.h("eds-input-label",{name:this.inputId||this.name,label:this.label,disabled:this.disabled,required:this.required})):n.h("div",null,(this.label||this.hint)&&n.h("div",{class:"flex justify-between mb-8"},this.label&&n.h("eds-input-label",{name:this.inputId||this.name,label:this.label,disabled:this.disabled,required:this.required}),this.hint&&n.h("p",{id:`${this.name}-hint`,class:"f-ui-05 text-lighter mt-8 ml-8"},this.hint)),this.type==="select"?n.h("eds-input-select",Object.assign({},e,{options:this.parsedOptions})):this.type==="file"?n.h("eds-input-file",{name:this.name,inputId:this.inputId,disabled:this.disabled,required:this.required,multiple:!0,onEdsfile:this.handleFileChange}):this.type==="dropzone"?n.h("eds-input-dropzone",{name:this.name,inputId:this.inputId,disabled:this.disabled,required:this.required,multiple:!0,onEdsfile:this.handleFileChange}):this.type==="range"?(()=>{var t,i,r,a,l,o;const s={name:e.name,inputId:e.id||e.name,disabled:e.disabled,required:e.required,onInput:e.onInput,onChange:e.onChange},h=this.parsedOptions,m=typeof this.value=="string"?parseFloat(this.value):this.value;return n.h("eds-input-range",Object.assign({},s,{min:(t=this.min)!==null&&t!==void 0?t:(i=h[0])===null||i===void 0?void 0:i.value,max:(r=this.max)!==null&&r!==void 0?r:(a=h[1])===null||a===void 0?void 0:a.value,step:(l=this.step)!==null&&l!==void 0?l:(o=h[2])===null||o===void 0?void 0:o.value,value:m}))})():n.h("eds-input",Object.assign({},e))),n.h("div",{key:"33bfae3f5ef4a8a1a0c529fade0d1a8616eff100",class:"mt-8"},n.h("eds-input-footer",{key:"c4b6b192d052c486965b9b89fc6756324138975c",id:`${this.name}-footer`,name:this.name,message:this.message,"error-message":this.errorMessage,error:this.error,link:this.link})))}static get delegatesFocus(){return!0}get hostEl(){return n.getElement(this)}};Pe.style=Ji;const Qi=".eds-input-file-container{display:flex;flex-direction:column;align-items:flex-start;gap:0.75rem}.eds-input-file-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.eds-input-file-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.75rem 1.25rem;border:1.5px solid var(--color-border-soft, #d0d0d0);border-radius:100px;background-color:var(--color-bg-inverse, #ffffff);font-family:var(--font-family, 'IBM Plex Sans', sans-serif);font-size:0.875rem;font-weight:500;color:var(--color-text-default, #07140D);cursor:pointer;transition:all 0.2s ease;outline:none}.eds-input-file-btn:hover:not(:disabled){border-color:var(--color-border-strong, #07140D);background-color:var(--color-bg-softer, #ECECEC)}.eds-input-file-btn:active:not(:disabled){background-color:var(--color-bg-soft, #F5F5F5)}.eds-input-file-btn:focus-visible{outline:2px solid var(--color-accent, #00FF9D);outline-offset:2px}.eds-input-file-btn:disabled{opacity:0.5;cursor:not-allowed}.eds-input-file-btn svg{width:16px;height:16px;flex-shrink:0}.eds-input-file-chips{display:flex;flex-wrap:wrap;gap:0.5rem}.eds-input-file-chip{display:inline-flex;align-items:center;gap:0.5rem;padding:0.4rem 0.75rem;background-color:var(--color-bg-softer, #ECECEC);border-radius:100px;font-size:0.75rem;color:var(--color-text-default, #07140D)}.eds-input-file-chip-icon{width:14px;height:14px;color:var(--color-text-light, #7A7B7A);flex-shrink:0}.eds-input-file-chip-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.eds-input-file-chip-size{font-family:var(--font-family-mono, 'IBM Plex Mono', monospace);font-size:0.625rem;color:var(--color-text-light, #7A7B7A);flex-shrink:0}.eds-input-file-chip-remove{display:flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;border:none;background:transparent;color:var(--color-text-light, #7A7B7A);cursor:pointer;transition:color 0.2s ease;flex-shrink:0}.eds-input-file-chip-remove:hover:not(:disabled){color:var(--color-error, #e53935)}.eds-input-file-chip-remove:disabled{opacity:0.5;cursor:not-allowed}.eds-input-file-chip-remove svg{width:14px;height:14px}@media (max-width: 640px){.eds-input-file-chip-name{max-width:120px}}",er=Qi,Re=class{constructor(e){n.registerInstance(this,e),this.edsfile=n.createEvent(this,"edsfile",7),this.handleButtonClick=()=>{var t;(t=this.fileInputRef)===null||t===void 0||t.click()},this.handleFileSelect=t=>{const i=t.target;if(!i.files)return;const r=Array.from(i.files).map(a=>({file:a,id:`${a.name}-${Date.now()}-${Math.random()}`}));this.multiple?this.selectedFiles=[...this.selectedFiles,...r]:this.selectedFiles=r.slice(0,1),this.emitFileChange()},this.handleRemoveFile=t=>{this.selectedFiles=this.selectedFiles.filter(i=>i.id!==t),this.emitFileChange()},this.name=void 0,this.inputId=void 0,this.disabled=!1,this.required=!1,this.multiple=!1,this.accept=void 0,this.maxFileSize=void 0,this.buttonLabel=void 0,this.selectedFiles=[]}emitFileChange(){const e=this.selectedFiles.map(t=>t.file);this.edsfile.emit({files:e})}formatFileSize(e){if(e===0)return"0 B";const t=1024,i=["B","KB","MB","GB"],r=Math.floor(Math.log(e)/Math.log(t));return`${(e/Math.pow(t,r)).toFixed(1)} ${i[r]}`}getFileIcon(e){var t;const i=(t=e.split(".").pop())===null||t===void 0?void 0:t.toLowerCase();return["png","jpg","jpeg","gif","svg","webp"].includes(i||"")?n.h("svg",{class:"file-chip-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},n.h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),n.h("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),n.h("polyline",{points:"21 15 16 10 5 21"})):n.h("svg",{class:"file-chip-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},n.h("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),n.h("polyline",{points:"14 2 14 8 20 8"}))}render(){const e=this.buttonLabel||(this.multiple?"Choose Files":"Choose File");return n.h("div",{key:"810e30b054b1a6a43c9cc79e318ae487679de1d7",class:"eds-input-file-container"},n.h("input",{key:"21a2162df7e6cc430b230407891bd1568bb4fe18",ref:t=>this.fileInputRef=t,type:"file",id:this.inputId||this.name,name:this.name,class:"eds-input-file-hidden",disabled:this.disabled,required:this.required,multiple:this.multiple,accept:this.accept,onChange:this.handleFileSelect}),n.h("button",{key:"d297cf5c5e63c002558e878a140b931a68a25f54",type:"button",class:"eds-input-file-btn",onClick:this.handleButtonClick,disabled:this.disabled},n.h("svg",{key:"eb08b7516dce89647e28ca0c0ec1f70ade64b2cd",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},n.h("path",{key:"b0eefaf19325e60d5f974039644f8ab962bbfe92",d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),n.h("polyline",{key:"d0bfb65f3c6e3e9d019d23e94ceeb08ba3f6976e",points:"17 8 12 3 7 8"}),n.h("line",{key:"3e7b0172924b54c26b9100ea264e85be73beabe9",x1:"12",y1:"3",x2:"12",y2:"15"})),e),this.selectedFiles.length>0&&n.h("div",{key:"633d574a840479eb58ec596078960c88fbf4ce94",class:"eds-input-file-chips"},this.selectedFiles.map(t=>n.h("div",{key:t.id,class:"eds-input-file-chip"},this.getFileIcon(t.file.name),n.h("span",{class:"eds-input-file-chip-name"},t.file.name),n.h("span",{class:"eds-input-file-chip-size"},this.formatFileSize(t.file.size)),n.h("button",{type:"button",class:"eds-input-file-chip-remove",onClick:()=>this.handleRemoveFile(t.id),disabled:this.disabled,"aria-label":`Remove ${t.file.name}`},n.h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},n.h("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.h("line",{x1:"6",y1:"6",x2:"18",y2:"18"})))))))}get hostEl(){return n.getElement(this)}};Re.style=er;const nr="p{margin:0}.eds-help{font-family:'IBM Plex Mono', ui-monospace, monospace;font-size:10.5px;line-height:1.45;letter-spacing:0.01em;color:#8a8c8a}.eds-desc-link{position:relative;display:inline-block;color:var(--brand-black);text-decoration:none}.eds-desc-link::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background-color:var(--brand-green);transition:width 0.3s ease}.eds-desc-link:hover::after{width:100%}.eds-desc-link:focus-visible::after{width:0}eds-link{--f-ui-02-fontSize:var(--f-ui-04-fontSize)}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.pt-4{padding-top:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}",tr=nr,je=class{constructor(e){n.registerInstance(this,e),this.name=void 0,this.errorMessage=void 0,this.message=void 0,this.error=!1,this.link=void 0}render(){return n.h("div",{key:"e3cf47ad941e608ec8f5daefd89d72e6d0af0f28"},this.error&&this.errorMessage&&n.h("div",{key:"0771ab5b0ba362a01df27c4b6ce0949ec51ec857",id:`error_${this.name}`,class:"text-error flex items-center"},n.h("eds-icon-wrapper",{key:"43f86aa8632ea24b311e00a336b7d4b00b47ac80",name:"warning",size:20}),n.h("p",{key:"734a138c54dc0120fc6fdd320122c737b33b9d3b",class:"f-ui-04 ml-4 mb-4 pt-4",innerHTML:this.errorMessage})),this.message&&n.h("p",{key:"f8c6d5c1f48e10f9c556fc8d44189836b3b46dbf",id:`desc_${this.name}`,class:"eds-help text-lighter",innerHTML:Le(this.message)}),this.link&&n.h("eds-link",{key:"fe7a52e14c6cf0791d36b781a92d7bbeca487ccc",label:this.link.label,url:this.link.url,intent:"underline",size:"small",external:!0}))}};je.style=tr;const ir=".input-label{font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);font-size:14.5px;font-weight:600;line-height:1.3;letter-spacing:0;color:var(--brand-black, #07140d)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.req-mark{color:var(--eds-field-accent, currentColor);margin-left:1px;font-weight:600}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",rr=ir,We=class{constructor(e){n.registerInstance(this,e),this.label=void 0,this.name=void 0,this.required=!1,this.disabled=!1}render(){return n.h("label",{key:"46f04462b12694d932be79bb1d252cd001d29e58",htmlFor:this.name,class:`input-label ${this.disabled?"text-lighter":""}`},this.label,this.required&&n.h("span",{key:"c747f5a7896b395f5c1b54725a966d54c7e5dfcd"},n.h("span",{key:"2a27cfce971df8eab6186028f6c8319f19504317","aria-hidden":"true",class:"req-mark"},"*"),n.h("span",{key:"5876e15a66aa95a62b934edec0d64f01f713d1a8",class:"sr-only"},"required")))}};We.style=rr;const ar=class{constructor(e){n.registerInstance(this,e),this.edsrange=n.createEvent(this,"edsrange",7),this.onInput=t=>{const i=t.target;this.sliderVal=parseInt(i.value,10)},this.onChange=t=>{const i=t.target;this.sliderVal=parseInt(i.value,10),this.edsrange.emit(this.sliderVal)},this.name=void 0,this.inputId="range",this.disabled=!1,this.required=!1,this.min=0,this.max=100,this.step=1,this.value=void 0,this.sliderVal=void 0}componentWillLoad(){var e;this.sliderVal=(e=this.value)!==null&&e!==void 0?e:Math.round(this.min+(this.max-this.min)/2)}onValueChange(e){this.sliderVal=e??Math.round(this.min+(this.max-this.min)/2)}componentDidLoad(){this.inputElement=this.el.querySelector("input")}async getInputElement(){return this.inputElement}render(){var e;const t=(e=this.sliderVal)!==null&&e!==void 0?e:Math.round(this.min+(this.max-this.min)/2),i=this.max>this.min?(t-this.min)/(this.max-this.min)*100:0,r={background:`linear-gradient(90deg, var(--eds-field-accent, var(--green-500)) ${i}%, var(--grey-light, #ececec) ${i}%)`},a=Math.round(this.min+(this.max-this.min)/2);return n.h("div",{key:"742f329624bc2a8632640b6a93b6258d915f6deb",class:"eds-range"},n.h("div",{key:"112ef4ef42761c85350f9624c10436fbd2600fce",class:"eds-range-top"},n.h("span",{key:"2b2dbde929434f68c85a36380cbed1780707dfd8",id:`desc_${this.name}`,class:"eds-range-val"},t)),n.h("input",{key:"d5bcbf157647324a1ddafab2001518707ae0de9b",id:this.inputId||this.name,name:this.name,style:r,min:this.min,max:this.max,step:this.step,value:t,required:this.required,disabled:this.disabled,type:"range",class:"w-full input eds-range-input",tabindex:"0",role:"slider","aria-describedby":`desc_${this.name}`,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":t,onInput:this.onInput,onChange:this.onChange}),n.h("div",{key:"e72eed37dc3dc0bd596f9198f4d3f59ac11e1c40",class:"eds-range-scale","aria-hidden":"true"},n.h("span",{key:"ba65117d4dc0c498878760ddf124d614c19af7b9"},this.min),n.h("span",{key:"82e42ecec8f53634c005acc151f12a3c6f390ab3"},a),n.h("span",{key:"b2272241e488952785c92b4a495b1ba744e13d19"},this.max)))}get el(){return n.getElement(this)}static get watchers(){return{value:["onValueChange"]}}},lr=class{constructor(e){n.registerInstance(this,e),this.edsselect=n.createEvent(this,"edsselect",7),this.handleChange=t=>{const i=t.target;this.edsselect.emit(i.value)},this.inputId=void 0,this.name=void 0,this.placeholder=void 0,this.disabled=!1,this.hasMessage=!1,this.error=!1,this.required=!1,this.options=[],this.value=void 0}render(){const e=this.inputId||this.name,t=this.placeholder||"Pick from the list",i=this.hasMessage||this.error?`${this.name}-error`:void 0;return n.h("div",{key:"303df3cd45f076ae5b29f301c9dc742e1664887a",class:"relative"},n.h("select",{key:"7635ec7c53e7f07c7c71ab25e8475ed53a8d013e",id:e,name:this.name,class:{input:!0,"input-error":this.error,"is-placeholder":!this.value&&this.value!==0,"px-4":!0,"py-2":!0},"aria-invalid":this.error?"true":"false","aria-describedby":i,disabled:this.disabled,required:this.required,onChange:this.handleChange},n.h("option",{key:"793cd7db90936a9746810075246b5408710ce7ac",value:"",disabled:!0,selected:!this.value||this.value===""},t),this.options.map((r,a)=>n.h("option",{key:a,value:r.value,selected:r.value===this.value},r.label))),n.h("span",{key:"41a1eb4a753c304148ee6cdc71049fa15cbd61f6",class:"bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center"},n.h("eds-icon-wrapper",{key:"4ee4022f9d47fc26b27006f144fc598367f50169",class:"w-20 h-20",name:"chevron-right"})))}},or=":host{display:block;font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);color:var(--brand-black, #07140D)}.lr-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.75rem;margin-bottom:1.5rem}.lr-heading{font-family:var(--inter, 'Inter', sans-serif);font-weight:300;font-size:1.75rem;line-height:110%;margin:0;color:var(--brand-black, #07140D)}.summary{display:flex;gap:0.5rem}.filters{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:0.75rem;margin-bottom:1.5rem;align-items:flex-end}.filter-search{grid-column:span 2}.filter-select{grid-column:span 1}.accordion-list{display:flex;flex-direction:column;gap:0.5rem}.resources-content{padding-top:0.5rem}.kg-link{margin-bottom:1rem}.resources-table{width:100%;border-collapse:collapse;font-size:0.875rem}.resources-table thead th{text-align:left;font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);font-weight:500;font-size:0.75rem;text-transform:uppercase;letter-spacing:0.04em;color:var(--grey-dark, #7A7B7A);padding:0.5rem 0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.1)}.resource-row{transition:background-color 0.2s ease}.resource-row--clickable{cursor:pointer}.resource-row--clickable:hover{background-color:rgba(0, 255, 157, 0.04)}.resource-row td{padding:0.625rem 0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.04);vertical-align:top}.resource-row:last-child td{border-bottom:none}.resource-name{font-weight:500;font-size:1.0625rem;color:var(--brand-black, #07140D);transition:color 0.2s ease}.resource-row--clickable:hover .resource-name{color:var(--brand-green-dark, #00C87B)}.resource-desc{margin:0.25rem 0 0;font-size:0.9375rem;color:var(--grey-dark, #7A7B7A);line-height:145%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.col-name{width:auto}.col-type{width:160px;white-space:nowrap}.col-level{width:110px;white-space:nowrap}.loading{position:relative;min-height:8rem;padding:1rem 1.25rem;color:var(--grey-dark, #7A7B7A);font-size:0.9375rem;border:1px solid rgba(0, 0, 0, 0.08);border-radius:0.25rem;background-color:rgba(0, 0, 0, 0.02)}.no-results{padding:2rem;text-align:center;color:var(--grey-dark, #7A7B7A);font-size:0.875rem}@media (max-width: 750px){.lr-header{flex-direction:column;align-items:flex-start}.filters{grid-template-columns:1fr}.filter-search,.filter-select{grid-column:span 1}.col-type,.col-level{width:auto}.resources-table thead{display:none}.resource-row{display:flex;flex-wrap:wrap;gap:0.375rem;padding:0.625rem 0;border-bottom:1px solid rgba(0, 0, 0, 0.04)}.resource-row td{border:none;padding:0}.col-name{width:100%}}",sr=or;let K=null,se=0;const dr=10*60*1e3,qe=class{constructor(e){n.registerInstance(this,e),this.apiEndpoint="/api/v1/kg/learning-resources/cached",this.resolveNames=!0,this.size=500,this.heading="",this.variant="inverse",this.loading=!1,this.error="",this.software=[],this.meta=null,this.filterType="",this.filterLevel="",this.searchQuery=""}componentWillLoad(){this.fetchData()}async fetchData(){const e=Date.now();if(K&&e-se<dr){this.software=K;return}this.loading=!0,this.error="";try{const t=new URLSearchParams({size:this.size.toString(),resolve_names:this.resolveNames.toString()}),i=await fetch(`${this.apiEndpoint}?${t}`);if(!i.ok)throw new Error(`Failed to fetch: ${i.statusText}`);const r=await i.json();this.software=r.data||[],this.meta=r.meta||null,K=this.software,se=e}catch(t){this.error=t instanceof Error?t.message:"Failed to load learning resources"}finally{this.loading=!1}}getFilteredSoftware(){let e=this.software;if(this.filterType&&(e=e.filter(t=>t.learning_resources_types.includes(this.filterType))),this.filterLevel&&(e=e.filter(t=>t.learning_resources_levels.includes(this.filterLevel))),this.searchQuery){const t=this.searchQuery.toLowerCase();e=e.filter(i=>i.name.toLowerCase().includes(t)||i.learning_resources.some(r=>{var a,l;return((a=r.name)===null||a===void 0?void 0:a.toLowerCase().includes(t))||((l=r.abstract)===null||l===void 0?void 0:l.toLowerCase().includes(t))}))}return e}getFilteredResources(e){let t=e;return this.filterType&&(t=t.filter(i=>i.type===this.filterType)),this.filterLevel&&(t=t.filter(i=>i.educational_level===this.filterLevel)),t}getTagIntent(e){return{"interactive tutorial":"brand","video tutorial":"primary","user documentation":"dark","video presentation":"inverse","slide deck":"strong"}[e]||"brand-dark"}getLevelTagIntent(e){return{beginner:"brand",intermediate:"dark",advanced:"strong"}[e]||"brand-dark"}renderAccordionDescription(e){const t=e.learning_resources_count,i=e.learning_resources_types.join(", ");return`${t} resource${t!==1?"s":""} — ${i}`}renderResources(e){const t=this.getFilteredResources(e.learning_resources);return n.h("div",{class:"resources-content"},e.kg_search_url&&n.h("div",{class:"kg-link"},n.h("eds-link",{url:e.kg_search_url,label:"View in EBRAINS Knowledge Graph",intent:"cta",external:!0})),n.h("table",{class:"resources-table"},n.h("thead",null,n.h("tr",null,n.h("th",{class:"col-name"},"Name"),n.h("th",{class:"col-type"},"Type"),n.h("th",{class:"col-level"},"Level"))),n.h("tbody",null,t.map(i=>n.h("tr",{class:`resource-row ${i.iri?"resource-row--clickable":""}`,onClick:()=>{i.iri&&window.open(i.iri,"_blank","noopener,noreferrer")}},n.h("td",{class:"col-name"},n.h("span",{class:"resource-name"},i.name||"Untitled"),i.abstract&&n.h("p",{class:"resource-desc"},i.abstract)),n.h("td",{class:"col-type"},i.type&&n.h("eds-tag",{label:i.type,intent:this.getTagIntent(i.type),size:"medium"})),n.h("td",{class:"col-level"},i.educational_level&&n.h("eds-tag",{label:i.educational_level,intent:this.getLevelTagIntent(i.educational_level),size:"medium"})))))),t.length===0&&n.h("p",{class:"no-results"},"No resources match the current filters."))}render(){const e=!this.loading&&!this.error?this.getFilteredSoftware():[];return n.h("div",{key:"aef669885e2bc85b30f70b3db12fbf4040a306a9",class:"lr-container"},n.h("div",{key:"95413849959947a851e27a404aa21368aa895e96",class:"lr-header"},n.h("h2",{key:"10353aae716a1408f3f49d70501684a633bf7b51",class:"lr-heading"},this.heading)),this.loading&&n.h("div",{key:"d3318b411c4e27551997a697aa165fe4afb8f3fa",class:"loading",role:"status","aria-live":"polite"},n.h("eds-spinner",{key:"b242ace225a2b93d5d8e6e4fd3b78a23778d1995",size:"sm",variant:"primary",background:"transparent",message:"Loading learning resources..."})),this.error&&!this.loading&&n.h("eds-alert",{key:"c0a5cf3aa2830cb96f253f10a34babc4bdb9aedb",intent:"error",message:this.error}),!this.loading&&!this.error&&n.h("div",{key:"83671b3aea2286fe508742ae81d8d0d4aae9863c",class:"accordion-list"},e.map(t=>n.h("eds-accordion",{heading:t.name,description:this.renderAccordionDescription(t),variant:this.variant,icon:"book",switchBg:!0,clampText:!1},this.renderResources(t))),e.length===0&&n.h("p",{key:"2d344afbcaa2f18bddf2872fd1cf1eb0993ce632",class:"no-results"},"No software matches the current filters.")))}get el(){return n.getElement(this)}};qe.style=sr;const cr=".kg-web-services-select-container{width:100%}.loading-container,.error-container{width:100%}",hr=cr,de=new Map,gr=5*60*1e3,Ue=class{constructor(e){n.registerInstance(this,e),this.edsinput=n.createEvent(this,"edsinput",7),this.edschange=n.createEvent(this,"edschange",7),this.apiEndpoint="/api/v1/kg/web-services/cached",this.label="Select Web Service",this.name="web-service",this.placeholder="Choose a web service...",this.required=!1,this.disabled=!1,this.size=100,this.searchTerm="",this.value=void 0,this.hint=void 0,this.message=void 0,this.error=!1,this.errorMessage=void 0,this.loading=!1,this.webServices=[],this.fetchError="",this.selectOptions=[]}componentWillLoad(){this.fetchWebServices()}async fetchWebServices(){this.loading=!0,this.fetchError="";try{const e=new URLSearchParams(Object.assign({size:this.size.toString()},this.searchTerm&&{search:this.searchTerm})),t=`${this.apiEndpoint}?${e.toString()}`,i=de.get(t),r=Date.now();if(i&&r-i.timestamp<gr)this.webServices=i.data;else{const a=await fetch(`${this.apiEndpoint}?${e}`);if(!a.ok)throw new Error(`Failed to fetch web services: ${a.statusText}`);const l=await a.json();this.webServices=l.data||[],de.set(t,{data:this.webServices,timestamp:r})}this.selectOptions=this.webServices.map(a=>({label:`${a.name} (${a.short_name})`,value:a.short_name}))}catch(e){console.error("[eds-kg-web-services-select] Error fetching web services:",e),this.fetchError=e instanceof Error?e.message:"Failed to load web services",this.selectOptions=[]}finally{this.loading=!1}}render(){return this.loading?n.h("div",{class:"loading-container"},n.h("eds-input-field",{name:this.name,label:this.label,type:"select",disabled:!0,placeholder:"Loading web services...",hint:this.hint,message:this.message,required:this.required})):this.fetchError?n.h("div",{class:"error-container"},n.h("eds-input-field",{name:this.name,label:this.label,type:"select",disabled:!0,error:!0,"error-message":this.fetchError,hint:this.hint,message:this.message,required:this.required})):n.h("div",{class:"kg-web-services-select-container"},n.h("eds-input-field",{name:this.name,label:this.label,type:"select",placeholder:this.placeholder,disabled:this.disabled,required:this.required,options:this.selectOptions,value:this.value,hint:this.hint,message:this.message,error:this.error,"error-message":this.errorMessage,onEdsinput:e=>{this.value=e.detail.value,this.edsinput.emit(e.detail)},onEdschange:e=>{this.value=e.detail.value,this.edschange.emit(e.detail)}}))}};Ue.style=hr;const fr=`*,
|
|
9269
9489
|
::before,
|
|
9270
9490
|
::after {
|
|
9271
9491
|
box-sizing: border-box;
|
|
@@ -10677,7 +10897,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
10677
10897
|
.lg\\:flex {
|
|
10678
10898
|
display: flex;
|
|
10679
10899
|
}
|
|
10680
|
-
}`,bi=fi,pi=W(["relative inline-flex justify-center items-center py-8 rounded-sm","effect-color effect-focus aria-disabled:text-lightest","cursor-pointer","aria-disabled:bg-dark aria-disabled:cursor-not-allowed aria-disabled:after:!border-transparent"],{variants:{intent:{primary:"bg-strongest text-inverse hover:bg-accent-dark hover:text-default focus:shadow-none aria-disabled:shadow-none",secondary:"hover:bg-strongest hover:text-inverse border-inside text-default bg-transparent hover:bg-dark",secondaryInverse:"border-inside-inverse text-inverse bg-transparent hover:bg-inverse hover:text-default",ghost:"hover:bg-darker",strong:["!px-0 !py-4 !min-h-20 hover:text-accent","before:opacity-0 effect-opacity","hover:before:opacity-100 focus-visible:before:opacity-0","aria-disabled:bg-transparent aria-disabled:text-light"],weak:["!px-0 !py-4 !min-h-20","text-light hover:text-default","before:opacity-0 effect-opacity","hover:before:opacity-100 focus-visible:before:!opacity-0","aria-disabled:bg-transparent aria-disabled:text-light"],inverse:["!px-0 !py-4 !min-h-20","text-inverse","effect-bg-behind-link before:bg-inverse-softer before:opacity-0 effect-opacity","hover:before:opacity-100 focus-visible:before:!opacity-0","aria-disabled:bg-transparent"],underline:["text-default animated-underline !px-0 !py-0","aria-disabled:bg-transparent aria-disabled:text-light aria-disabled:no-underline effect-focus focus-visible:rounded-xs !min-h-0"],underlineInverse:["text-inverse animated-underline-inverse !px-0 !py-0","aria-disabled:bg-transparent aria-disabled:text-lightest aria-disabled:no-underline effect-focus focus-visible:rounded-xs !min-h-0"],brand:["bg-accent text-default hover:bg-strongest hover:text-inverse","rounded-full","aria-disabled:bg-dark aria-disabled:text-lightest"],brandInverse:["bg-accent text-default hover:bg-inverse hover:text-default","rounded-full","aria-disabled:bg-dark aria-disabled:text-lightest"],cta:["cta-link !px-0 !py-0 !min-h-0 !h-auto"],"cta-brand":["cta-link-brand !px-0 !py-0 !min-h-0 !h-auto"]},iconSmall:{true:"",false:""},isActive:{true:"",false:""},hasIcon:{true:"",false:""},size:{small:"min-h-36 f-ui-02 px-12",large:"min-h-44 f-ui-01 px-16"},pill:{true:"rounded-full border-inside-pill",false:"rounded-sm"}},compoundVariants:[{iconSmall:!0,size:"small",class:"pr-4"},{iconSmall:!0,size:"large",class:"pr-8"},{intent:"underline",hasIcon:!0,class:"-mr-4 -top-1"},{intent:"underlineInverse",hasIcon:!0,class:"-mr-4 -top-1"},{intent:"cta",hasIcon:!0,class:"gap-8"},{intent:"cta-brand",hasIcon:!0,class:"gap-8"},{intent:"primary",isActive:!0,class:"!bg-accent-dark"},{intent:"secondary",isActive:!0,class:"!bg-strong-dark"},{intent:"secondaryInverse",isActive:!0,class:"!bg-inverse !text-default"},{intent:"ghost",isActive:!0,class:"!bg-darker"},{intent:"strong",isActive:!0,class:"before:!opacity-100"},{intent:"weak",isActive:!0,class:"before:!opacity-100"},{intent:"inverse",isActive:!0,class:"before:!opacity-100"},{intent:"underline",size:"small",class:"!px-0 !py-0 !min-h-0 f-ui-02"},{intent:"underline",size:"large",class:"!px-0 !py-0 !min-h-0 f-ui-01"},{intent:"underlineInverse",size:"small",class:"!px-0 !py-0 !min-h-0 f-ui-02"},{intent:"underlineInverse",size:"large",class:"!px-0 !py-0 !min-h-0 f-ui-01"},{intent:"cta",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"brand",isActive:!0,class:"!bg-inverse !text-default"}],defaultVariants:{isActive:!1,iconSmall:!1,size:"small",hasIcon:!1,pill:!1}}),Ze=class{constructor(e){t.registerInstance(this,e),this.parentContext=null,this.label=void 0,this.intent="primary",this.icon=void 0,this.iconPos="right",this.iconSmall=!1,this.size="small",this.pill=!1,this.external=!1,this.current=!1,this.download=!1,this.url=void 0,this.ariaLabel=void 0,this.disabled=!1,this.hideLabelOnSmallScreen=!1}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}handleClick(e){var n,r;if(this.disabled){e.preventDefault();return}w.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((n=this.label)===null||n===void 0?void 0:n.toLowerCase())||((r=this.ariaLabel)===null||r===void 0?void 0:r.toLowerCase())||"",action:"click"})}handleKeyDown(e){this.disabled||(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.handleClick(e),this.url&&!this.disabled&&(this.external?window.open(this.url,"_blank","noopener,noreferrer"):window.location.href=this.url))}getLinkSize(){return this.size}renderLeftIcon(){return this.icon&&this.iconPos==="left"?t.h("span",{class:"flex"},t.h("eds-icon-wrapper",{"aria-hidden":"true",size:20,class:"flex inline-flex items-center justify-center",name:this.icon})):null}renderRightIcon(){return this.icon&&this.iconPos==="right"?t.h("span",{class:"flex"},t.h("eds-icon-wrapper",{"aria-hidden":"true",size:20,class:"flex inline-flex items-center justify-center",name:this.icon})):null}render(){const e=pi({intent:this.intent,size:this.getLinkSize(),iconSmall:this.iconSmall,isActive:this.current,hasIcon:!!this.icon,pill:this.pill}),n=typeof this.url=="string"&&this.url.length?this.url:void 0,r=!this.disabled,i=!this.label||this.hideLabelOnSmallScreen&&this.icon,a=this.hideLabelOnSmallScreen?"hidden lg:flex":"";return t.h("a",{key:"d167c16280b7f0b4c1fcf14f0f0d3468111e715b",class:`${e||""}`,href:r?n:void 0,target:this.external&&r?"_blank":void 0,rel:this.external&&r?"noopener noreferrer":void 0,tabIndex:r?0:-1,"aria-label":i?this.ariaLabel||"Link":void 0,"aria-disabled":this.disabled?"true":void 0,"aria-current":this.current?"page":void 0,role:this.disabled?"link":void 0,download:this.download?"":void 0,onClick:l=>this.handleClick(l),onKeyDown:l=>this.handleKeyDown(l)},t.h("span",{key:"000476a609888f5f848722015ce5e6137f26e371",class:"z-1 relative inline-flex items-center justify-center"},this.renderLeftIcon(),this.label&&t.h("span",{key:"15232cde31d23c5a466189c69fbdb9db48f08274",class:`${a} ${this.icon?this.iconPos==="right"?this.size==="large"?"pr-4":"pr-2":this.size==="large"?"pl-4":"pl-2":""}`},this.label),this.renderRightIcon()))}get el(){return t.getElement(this)}};Ze.style=bi;const ui=".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.p-\\[24px\\]{padding:24px}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}",mi=ui,Ye=class{constructor(e){t.registerInstance(this,e),this.href="/",this.orientation="horizontal",this.variant="positive",this.label="Home"}handleClick(){w.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:"logo",action:"click"})}getLogo(){return this.variant=="negative"?xn.logoNegative:vn.logoPositive}render(){const e=this.getLogo();return t.h("a",{key:"3f8257c9481079f011278b114e13effe9057d823",href:this.href,onClick:()=>this.handleClick(),class:"eds-logo-wrapper","aria-label":this.label},t.h("div",{key:"4dac45a1a0c38c6e1613995aad2005b41acac775",innerHTML:e}))}get el(){return t.getElement(this)}};Ye.style=mi;const xi=":host{display:block;background-color:var(--white, #FFFFFF);border-radius:16px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.12);overflow:hidden}.flex{display:flex}.items-center{align-items:center}.gap-8{gap:0.5rem}",vi=xi,Ke=class{constructor(e){t.registerInstance(this,e),this.consent=t.createEvent(this,"consent",7),this.heading="Analytics Consent",this.description="We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.",this.optOutMessage="You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.",this.forceShow=!1,this.showNotice=!0}toggleCookiesConsent(){this.showNotice=!this.showNotice}hasCookieConsent(){return!!document.cookie.split("; ").find(e=>e.startsWith("mtm_consent="))}optedOut(){return!!document.cookie.split("; ").find(e=>e.startsWith("mtm_consent_removed"))}getStorageKey(){return`${window.location.host}-matomo-deferred`}componentWillLoad(){if(localStorage.getItem(`${window.location.host}-matomo-consent-given`)==="out"||this.optedOut()){this.showNotice=!1;return}if(this.forceShow)this.showNotice=!0;else if(this.hasCookieConsent())this.showNotice=!1;else{const n=sessionStorage.getItem(this.getStorageKey());this.showNotice=!n}}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(n=>{this.emitContext(n)})}emitContext(e){const n=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(n)}optInAnalytics(){w.matomoOptIn(),localStorage.removeItem(`${window.location.host}-matomo-consent-given`),this.hideNotice(),this.consent.emit("in")}optOutAnalytics(){w.matomoOptOut(),this.hideNotice(),this.consent.emit("out")}noThanks(){w.matomoOptOut(),localStorage.setItem(`${window.location.host}-matomo-consent-given`,"out"),this.hideNotice(),this.consent.emit("out")}keepMeIn(){this.hideNotice()}hideNotice(){this.showNotice=!1}render(){return this.showNotice?t.h("div",null,t.h("eds-accordion",{title:this.heading,description:this.hasCookieConsent()?this.optOutMessage:this.description,switchBg:!0,expanded:!0},this.hasCookieConsent()?t.h("div",{class:"flex items-center gap-8"},this.optedOut()?t.h("eds-button",{intent:"brand",label:"Opt me in again",pill:!0,"aria-label":"Opt me in again",onClick:()=>this.optInAnalytics()}):t.h("eds-button",{intent:"brand",label:"Keep Me In",pill:!0,"aria-label":"Keep Me In",onClick:()=>this.keepMeIn()}),t.h("eds-button",{intent:"ghost",label:"Opt-out",pill:!0,"aria-label":"Opt-out from analytics",onClick:()=>this.optOutAnalytics()})):t.h("div",{class:"flex items-center gap-8"},t.h("eds-button",{intent:"brand",pill:!0,label:"I agree","aria-label":"Opt-in for analytics",onClick:()=>this.optInAnalytics()}),t.h("eds-button",{intent:"ghost",pill:!0,label:"No, thanks","aria-label":"Opt-out from analytics",onClick:()=>this.noThanks()})))):null}get el(){return t.getElement(this)}};Ke.style=vi;const yi='.eds-nps__labels{padding-top:0.75rem;padding-bottom:0.5rem}.eds-nps__scale{display:block;width:fit-content;max-width:100%;padding-top:0.5rem;}#nps-buttons{gap:0.6rem}.eds-nps__btn{border-radius:9999px;transition:transform 0.15s ease-in-out}.eds-nps__btn.is-selected{transform:scale(1.12)}.flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.gap-2{gap:0.125rem}.gap-4{gap:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-dark)}.flex-wrap{flex-wrap:wrap}',wi=yi,Ge=class{constructor(e){t.registerInstance(this,e),this.nps=t.createEvent(this,"nps",7),this.min=0,this.max=10,this.btnRefs=[],this.onSelect=n=>{this.internalValue=n,this.nps.emit(n),requestAnimationFrame(()=>{var r,i;const a=n-this.min;(i=(r=this.btnRefs[a])===null||r===void 0?void 0:r.focus)===null||i===void 0||i.call(r)})},this.handleKeyNav=n=>{const{key:r}=n;if(!["ArrowRight","ArrowLeft","Home","End"," ","Enter"].includes(r))return;n.preventDefault();const a=this.max-this.min+1;let l=this.internalValue==null?0:this.internalValue-this.min;switch(r){case"ArrowRight":l=Math.min(a-1,l+1),this.setActiveByIndex(l,!1);break;case"ArrowLeft":l=Math.max(0,l-1),this.setActiveByIndex(l,!1);break;case"Home":this.setActiveByIndex(0,!1);break;case"End":this.setActiveByIndex(a-1,!1);break;case" ":case"Enter":this.onSelect(this.min+l);break}},this.question=void 0,this.leftLabel=void 0,this.rightLabel=void 0,this.selectedValue=null,this.internalValue=null}handleSelectedValueChange(e){this.internalValue=e}componentWillLoad(){this.internalValue=this.selectedValue}setActiveByIndex(e,n=!1){var r;const i=this.min+e;this.internalValue=i;const a=this.btnRefs[e];typeof(a==null?void 0:a.focusInner)=="function"?a.focusInner():(r=a==null?void 0:a.focus)===null||r===void 0||r.call(a),n&&this.onSelect(i)}render(){const e=this.max-this.min+1;return t.h("div",{key:"412ddeabf0cc97829202063af25f17e3309b0754",class:"eds-nps"},t.h("eds-input-label",{key:"100a47e710fa75d6a5761a87ca68e8bc8910e248",id:"nps-question",name:"nps-question",label:this.question}),t.h("div",{key:"9a7a63112e17f4c725005e1ae8e42c98107db7c4",class:"eds-nps__scale"},t.h("div",{key:"501029dad573cd31d956ae3cae67f2db9f2649f1",id:"nps-buttons",role:"radiogroup","aria-labelledby":"nps-question",onKeyDown:this.handleKeyNav,class:"flex flex-wrap gap-2 my-8"},Array.from({length:e},(n,r)=>{const i=this.min+r,a=i===this.internalValue,l=a||this.internalValue==null&&r===0?0:-1;return t.h("div",{class:"flex",key:i},t.h("eds-button",{ref:s=>this.btnRefs[r]=s,size:"large",role:"radio","aria-checked":a?"true":"false","aria-label":`${i}`,onClick:()=>this.onSelect(i),tabIndex:l,intent:a?"brand":"brandLight",class:a?"eds-nps__btn is-selected":"eds-nps__btn","extra-class":"!block !px-0 w-full",label:`${i}`,pill:!0,onFocus:()=>{this.internalValue=i}}))})),t.h("div",{key:"aa15457591f1edf6e59eed384bcfbb25d49c9fd5",class:"flex justify-between eds-nps__labels"},t.h("span",{key:"a468b290491e368e3084f17ce40c6aa39e00ad3a",class:"f-ui-04 text-light ml-4"},this.leftLabel),t.h("span",{key:"146b9eea4bbc360f7765e69e319738c77beae69d",class:"f-ui-04 text-light mr-4"},this.rightLabel))))}get el(){return t.getElement(this)}static get watchers(){return{selectedValue:["handleSelectedValueChange"]}}};Ge.style=wi;const ki="ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}",zi=ki,Xe=class{constructor(e){t.registerInstance(this,e),this.handleKeyDown=n=>{if(this.mode!=="default"||!this.useButtons)return;const r=this.getNavigableItems();if(n.key==="ArrowRight"||n.key==="ArrowLeft"){n.preventDefault();const i=n.key==="ArrowRight"?1:-1;let a=this.focusedIndex;if(a===-1){const s=r.findIndex(o=>o.type==="page"&&o.page===this.currentPage);a=s!==-1?s:0}let l=a+i;l>=r.length?l=0:l<0&&(l=r.length-1),this.focusedIndex=l,this.focusPaginationItem(l)}else if(n.key==="Home")n.preventDefault(),this.focusedIndex=0,this.focusPaginationItem(0);else if(n.key==="End"){n.preventDefault();const i=r.length-1;this.focusedIndex=i,this.focusPaginationItem(i)}},this.handleItemFocus=n=>{this.focusedIndex=n},this.currentPage=void 0,this.lastPage=void 0,this.perPage=10,this.total=0,this.url="",this.mode="default",this.useButtons=!0,this.prevLabel="Prev",this.nextLabel="Next",this.prevUrl="",this.nextUrl="",this.links=[],this.focusedIndex=-1}componentWillLoad(){this.mode==="default"&&this.generateLinks()}componentDidLoad(){this.useButtons||this.hostEl.shadowRoot.querySelectorAll("eds-link").forEach(n=>{this.emitContext(n)})}emitContext(e){const n=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(n)}onPageOrLastPageChange(){this.mode==="default"&&this.generateLinks()}getNavigableItems(){const e=[];return e.push({type:"prev",disabled:this.isFirstPage()}),this.links.forEach(n=>{typeof n=="object"&&e.push({type:"page",page:parseInt(n.label),disabled:!1})}),e.push({type:"next",disabled:this.isLastPage()}),e.filter(n=>!n.disabled)}focusPaginationItem(e){var n;const r=(n=this.hostEl.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".pagination-button"),i=r==null?void 0:r[e];i&&i.focus()}isFirstPage(){return this.currentPage===1}isLastPage(){return this.currentPage===this.lastPage}generateLink(e){const n=this.url.includes("?");return{ariaLabel:`Go to page ${e}`,url:`${this.url}${n?"&":"?"}page=${e}`,label:e.toString(),current:this.currentPage===e,disabled:!1}}generateLinks(){this.lastPage&&this.lastPage>5?this.links=this.getPaginationGenerator(this.currentPage||1,this.lastPage).map(e=>typeof e=="number"?this.generateLink(e):e):this.lastPage&&(this.links=Array.from({length:this.lastPage}).map((e,n)=>this.generateLink(n+1)))}getPaginationGenerator(e,n){const i=[];if(n<=5)for(let a=1;a<=n;a++)i.push(a);else{i.push(1),e-1>2&&i.push("...");for(let a=Math.max(2,e-1);a<=Math.min(n-1,e+1);a++)i.push(a);e+1<n-1&&i.push("..."),i.push(n)}return i}pageResults(){if(this.total>0){const e=this.perPage*((this.currentPage||1)-1)+1,n=Math.min(this.perPage*(this.currentPage||1),this.total);return this.total>this.perPage?`Showing ${e} to ${n} of ${this.total} results`:`Showing ${this.total} result${this.total!==1?"s":""}`}return""}handlePageClick(e,n){if(this.mode!=="navigator"&&(this.useButtons&&e.preventDefault(),n!==this.currentPage)){this.links=this.links.map(i=>typeof i=="object"?Object.assign(Object.assign({},i),{current:parseInt(i.label)===n}):i);const r=new CustomEvent("page",{detail:{value:n},bubbles:!0,composed:!0});this.hostEl.dispatchEvent(r),this.currentPage=n}}render(){return t.h("div",{key:"5c11fd306f0ebf47a452e44d633e18b2e3860d78"},this.total>0&&this.mode==="default"&&t.h("p",{key:"fe8b7f7b6c7785152f1edd90a750f4a9a7e2768b",class:"f-ui-03 text-light mb-28 w-full text-center","aria-live":"polite",id:"pagination-info"},t.h("span",{key:"5e2c67535dbf765dc662770164404f0de69315a1",class:"text-light sr-only"},"Results:"),this.pageResults()),this.mode==="navigator"||this.lastPage&&this.lastPage>1?t.h("nav",{"aria-label":"Pagination Navigation","aria-describedby":this.mode==="default"?"pagination-info":void 0,onKeyDown:this.handleKeyDown},t.h("ul",{class:"flex items-center justify-center gap-x-8",role:"list"},t.h("li",{class:"mr-auto"},this.useButtons?t.h("div",{class:"pagination-button-wrapper",onFocus:()=>this.handleItemFocus(-1)},t.h("eds-button",{label:this.prevLabel,disabled:this.mode==="navigator"?!this.prevUrl:this.isFirstPage(),"aria-label":"Go to previous page",icon:"chevron-left","icon-pos":"left",size:"small","icon-small":"true",intent:"ghost","extra-class":"!p-8 lg:!pr-12 pagination-button",onClick:n=>{this.mode==="default"&&!this.isFirstPage()&&this.handlePageClick(n,(this.currentPage||1)-1)}})):t.h("eds-link",{label:this.prevLabel,url:this.mode==="navigator"?this.prevUrl||"#":this.isFirstPage()?"#":this.generateLink(this.currentPage-1).url,disabled:this.mode==="navigator"?!this.prevUrl:this.isFirstPage(),"aria-label":"Go to previous page",icon:"chevron-left","icon-pos":"left",size:"small","icon-small":"true",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pr-12"})),this.mode==="default"&&this.links.map((n,r)=>t.h("li",{key:r,class:"f-ui-02 flex h-36 items-center justify-center"},typeof n=="string"?t.h("span",{class:"flex items-center justify-center","aria-hidden":"true"},n):this.useButtons?t.h("div",{class:"pagination-button-wrapper",onFocus:()=>this.handleItemFocus(-1)},t.h("eds-button",{label:n.label,"aria-label":n.current?`Current page, page ${n.label}`:`Go to page ${n.label}`,"aria-current":n.current?"page":void 0,size:"small","extra-class":"!p-8 pagination-button",intent:n.current?"brand":"ghost",onClick:i=>this.handlePageClick(i,parseInt(n.label))})):t.h("eds-link",{url:n.url,"aria-label":n.ariaLabel,label:n.label,current:n.current,"aria-current":n.current?"page":void 0,size:"small",class:"!p-8",intent:n.current?"primary":"secondary",onClick:i=>this.handlePageClick(i,parseInt(n.label))}))),t.h("li",{class:"ml-auto"},this.useButtons?t.h("div",{class:"pagination-button-wrapper",onFocus:()=>this.handleItemFocus(-1)},t.h("eds-button",{label:this.nextLabel,disabled:this.mode==="navigator"?!this.nextUrl:this.isLastPage(),"aria-label":"Go to next page",size:"small","icon-small":"true",icon:"chevron-right",intent:"ghost","extra-class":"!p-8 lg:!pl-12 pagination-button",onClick:n=>{this.mode==="default"&&!this.isLastPage()&&this.handlePageClick(n,(this.currentPage||1)+1)}})):t.h("eds-link",{label:this.nextLabel,url:this.mode==="navigator"?this.nextUrl||"#":this.isLastPage()?"#":this.generateLink(this.currentPage+1).url,disabled:this.mode==="navigator"?!this.nextUrl:this.isLastPage(),"aria-label":"Go to next page",size:"small","icon-small":"true",icon:"chevron-right",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors"})))):null)}get hostEl(){return t.getElement(this)}static get watchers(){return{currentPage:["onPageOrLastPageChange"],lastPage:["onPageOrLastPageChange"]}}};Xe.style=zi;const Si=".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-light)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--brand-green)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.absolute{position:absolute}.relative{position:relative}.z-0{z-index:0}.z-10{z-index:10}.inset-0{inset:0rem}.pointer-events-none{pointer-events:none}.brand-gradient{background:linear-gradient(90deg, var(--brand-green-dark) 0%, var(--brand-green) 100%)}.brand-glow{box-shadow:0 0 8px rgba(0, 255, 157, 0.5)}.transition-width{transition:width 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.h-10{height:10px}.mb-12{margin-bottom:0.75rem}.bg-inverse{background-color:var(--white)}.bg-grey-light{background-color:var(--grey-light)}.bg-brand-black{background-color:var(--brand-black)}.text-brand-green-dark{color:var(--brand-green-dark)}.justify-start{justify-content:flex-start}.px-48{padding-left:3rem;padding-right:3rem}.pt-16{padding-top:1rem}.pb-12{padding-bottom:0.75rem}.items-center{align-items:center}",Ci=Si,Je=class{constructor(e){t.registerInstance(this,e),this.value=0,this.showLabel=!1,this.variant="default",this.labelPaddingX="3rem"}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=Math.min(100,Math.max(0,this.value));if(this.variant==="brand"){const a={paddingLeft:this.labelPaddingX,paddingRight:this.labelPaddingX};return t.h("div",{class:"w-full"},this.showLabel&&t.h("div",{class:"flex items-center pt-16 pb-12 bg-inverse",style:a},t.h("span",{class:"f-ui-03 text-brand-green-dark"},"Progress: ",e,"%")),t.h("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:"w-full h-10 bg-grey-light overflow-hidden relative"},t.h("div",{class:"h-full brand-gradient brand-glow transition-width",style:{width:`${e}%`}})))}const r=["outer","w-full","h-24","bg-default","border","border-softer","overflow-hidden","relative"].filter(Boolean).join(" "),i=["inner","h-full","transition-all","duration-300","bg-accent","z-0"].filter(Boolean).join(" ");return t.h("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:r},t.h("div",{class:i,style:{width:`${e}%`}}),t.h("div",{class:"absolute inset-0 flex items-center justify-center pointer-events-none z-10"},t.h("span",{class:"text-default f-ui-01"},e,"%")))}};Je.style=Ci;const Ei=":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--brand-green);}.star:hover,.star.filled:hover{transform:scale(1.2)}.eds-rating__btn{transition:transform 0.15s ease-in-out}.eds-rating__btn.is-selected{transform:scale(1.05)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}",Fi=Ei,Qe=class{constructor(e){t.registerInstance(this,e),this.rating=t.createEvent(this,"rating",7),this.buttonRefs=[],this.ratingType="star",this.ratingCount=5,this.selectedRating=0,this.internalRating=0}handleSelectedRatingChange(e){this.internalRating=e}componentWillLoad(){this.internalRating=this.selectedRating}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(n=>{this.emitContext(n)})}emitContext(e){const n=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.internalRating}});e.dispatchEvent(n)}onSelect(e){this.internalRating=e,this.rating.emit(e),setTimeout(()=>{const n=this.buttonRefs[e-1];n==null||n.focus()},0)}handleKeyNav(e){const{key:n}=e;if(!["ArrowRight","ArrowLeft","ArrowDown","ArrowUp"].includes(n))return;e.preventDefault();const r=n==="ArrowRight"||n==="ArrowDown"?1:-1;let i=(this.internalRating||1)+r;i>this.ratingCount&&(i=1),i<1&&(i=this.ratingCount),this.onSelect(i)}render(){return t.h("div",{key:"01857f12c63fbe53b95152902ddba594aa736f6f",id:"rating-buttons",role:"group","aria-labelledby":"rating",class:"stars flex space-x-1 my-8",onKeyDown:e=>this.handleKeyNav(e)},Array.from({length:this.ratingCount},(e,n)=>{const r=n+1,i=r<=this.internalRating,a=this.internalRating===r;return t.h("eds-button",{ref:l=>this.buttonRefs[n]=l,icon:this.ratingType,"aria-label":`${r} ${this.ratingType}${r>1?"s":""}`,onClick:()=>this.onSelect(r),tabIndex:a||this.internalRating===0&&n===0?0:-1,intent:i?"brand":"brandLight",class:i?"eds-rating__btn is-selected":"eds-rating__btn",size:"large"})}))}get el(){return t.getElement(this)}static get watchers(){return{selectedRating:["handleSelectedRatingChange"]}}};Qe.style=Fi;const Ai=":host{display:block;width:100%;font-family:var(--f-ui-02-fontFamily, 'IBM Plex Sans', system-ui, sans-serif)}.eds-ss{position:relative;display:block;width:100%}.eds-ss__labelrow{display:flex;justify-content:space-between;margin-bottom:0.25rem}.eds-ss__hint{margin-top:0.5rem;margin-left:0.5rem;font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing);color:var(--grey-600)}.eds-ss__control{position:relative}.eds-ss__box{display:flex;flex-wrap:wrap;align-items:center;gap:0.35rem;width:100%;box-sizing:border-box;min-height:2.5rem;padding:6px 0.75rem;padding-right:3.75rem;border-width:2px;border-style:solid;border-color:rgba(0, 0, 0, 0.1);border-radius:8px;background:var(--white, #fff);transition-property:color, background-color, border-color;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-duration:300ms}.eds-ss__box:hover{border-color:var(--brand-black)}.eds-ss__box:focus-within{border-color:var(--brand-black);outline:3px solid var(--brand-green);outline-offset:2px}.eds-ss__box.is-error{border-color:var(--red-700)}.eds-ss__box.is-disabled{cursor:not-allowed;background-color:var(--grey-300)}.eds-ss__input{flex:1;min-width:6rem;border:none;outline:none;background:transparent;padding:4px 0;color:var(--brand-black);font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.eds-ss__input::placeholder{color:var(--grey-500)}.eds-ss__input:disabled{cursor:not-allowed;color:var(--grey-500)}.eds-ss__chip{display:inline-flex;align-items:center;gap:0.35rem;padding:4px 0.4rem 4px 0.7rem;background:rgba(0, 200, 123, 0.12);color:var(--brand-green-dark, #00A867);border-radius:6px;font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);font-weight:600;line-height:1.4;max-width:100%}.eds-ss__chip-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eds-ss__chip-x{flex-shrink:0;border:none;background:none;cursor:pointer;color:var(--brand-green-dark, #00A867);font-size:1.2rem;line-height:1;padding:0 2px}.eds-ss__chip-x:hover{color:var(--brand-black, #07140D)}.eds-ss__clear,.eds-ss__chevron{position:absolute;top:50%;transform:translateY(-50%)}.eds-ss__chevron{right:6px;width:1.75rem;height:1.75rem;display:flex;align-items:center;justify-content:center;background-color:var(--grey-300);border-radius:4px;color:var(--brand-black);pointer-events:none}.eds-ss__clear{right:2.6rem;color:var(--grey-600, #6e6e6e);background:none;border:none;cursor:pointer;font-size:1.05rem;line-height:1}.eds-ss__clear:hover{color:var(--brand-black, #07140D)}.eds-ss__list{position:absolute;z-index:50;left:0;right:0;margin:0.25rem 0 0;padding:0.25rem;list-style:none;max-height:18rem;overflow-y:auto;background:var(--white, #fff);border:2px solid rgba(0, 0, 0, 0.1);border-radius:8px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.12)}.eds-ss__option{padding:0.5rem 0.6rem;border-radius:6px;cursor:pointer;color:var(--brand-black, #07140D);font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.eds-ss__option.is-active{background:rgba(0, 200, 123, 0.1)}.eds-ss__option.is-selected{font-weight:600;color:var(--brand-green-dark, #00A867)}.eds-ss__status,.eds-ss__more{padding:0.5rem 0.6rem;font-family:var(--f-ui-05-fontFamily);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);color:var(--grey-600, #6e6e6e)}.eds-ss__status.is-error{color:var(--red-700, #d64545)}.eds-ss__more{border-top:1px solid rgba(0, 0, 0, 0.1);margin-top:0.25rem;font-style:italic}",Ii=Ai,en=class{constructor(e){t.registerInstance(this,e),this.edsinput=t.createEvent(this,"edsinput",7),this.edschange=t.createEvent(this,"edschange",7),this.debounceTimer=null,this.inlineOptions=[],this.listboxId=`eds-ss-list-${Math.round(performance.now())}`,this.labelCache={},this.onInput=n=>{this.query=n.target.value,this.open=!0,this.activeIndex=-1,this.runSearch(this.query)},this.clear=()=>{this.multiple?(this.value=[],this.emitValue([])):(this.value=void 0,this.selectedLabel="",this.emitValue("")),this.query=""},this.onKeyDown=n=>{if(n.key==="ArrowDown"){if(n.preventDefault(),!this.open)return this.openMenu();this.activeIndex=Math.min(this.activeIndex+1,this.visibleItems.length-1)}else n.key==="ArrowUp"?(n.preventDefault(),this.activeIndex=Math.max(this.activeIndex-1,0)):n.key==="Enter"?this.open&&this.activeIndex>=0&&(n.preventDefault(),this.select(this.visibleItems[this.activeIndex])):n.key==="Escape"?this.closeMenu():n.key==="Backspace"&&this.multiple&&!this.query&&this.selectedValues.length&&this.removeValue(this.selectedValues[this.selectedValues.length-1])},this.onDocumentClick=n=>{this.open&&!n.composedPath().includes(this.host)&&this.closeMenu()},this.name=void 0,this.label=void 0,this.placeholder="Search…",this.required=!1,this.disabled=!1,this.hint=void 0,this.message=void 0,this.error=!1,this.errorMessage=void 0,this.value=void 0,this.multiple=!1,this.options=void 0,this.source=void 0,this.apiBase="/api/v1",this.searchParam="q",this.limit=50,this.debounceMs=250,this.maxVisible=100,this.open=!1,this.query="",this.loading=!1,this.fetchError="",this.items=[],this.total=0,this.activeIndex=-1,this.selectedLabel=""}componentWillLoad(){this.parseInlineOptions(),this.resolveSelectedLabel()}onOptionsChange(){this.parseInlineOptions(),this.resolveSelectedLabel()}onValueChange(){this.resolveSelectedLabel()}parseInlineOptions(){if(!this.options){this.inlineOptions=[];return}if(typeof this.options=="string")try{this.inlineOptions=JSON.parse(this.options)||[]}catch{this.inlineOptions=[]}else this.inlineOptions=this.options;this.cacheLabels(this.inlineOptions)}cacheLabels(e){(e||[]).forEach(n=>{n&&n.value!=null&&(this.labelCache[String(n.value)]=n.label)})}get selectedValues(){const e=this.value;return Array.isArray(e)?e.map(String).filter(n=>n!==""):typeof e=="string"&&e!==""?this.multiple?e.split(",").filter(Boolean):[e]:[]}labelFor(e){var n,r;return this.labelCache[String(e)]||((n=this.inlineOptions.find(i=>String(i.value)===String(e)))===null||n===void 0?void 0:n.label)||((r=this.items.find(i=>String(i.value)===String(e)))===null||r===void 0?void 0:r.label)||String(e)}emitValue(e){this.edsinput.emit({value:e}),this.edschange.emit({value:e})}get isRemote(){return!!this.source&&this.inlineOptions.length===0}resolveSelectedLabel(){if(!this.value){this.selectedLabel="";return}const n=(this.inlineOptions.length?this.inlineOptions:this.items).find(r=>String(r.value)===String(this.value));this.selectedLabel=n?n.label:String(this.value)}filterInline(e){const n=e.trim().toLowerCase();return n?this.inlineOptions.filter(r=>r.label.toLowerCase().includes(n)||String(r.value).toLowerCase().includes(n)):this.inlineOptions}async fetchRemote(e){this.loading=!0,this.fetchError="";try{const n=new URLSearchParams({[this.searchParam]:e,limit:String(this.limit)}),r=`${this.apiBase}/datasets/${encodeURIComponent(this.source)}/search?${n}`,i=await fetch(r);if(!i.ok)throw new Error(`Search failed: ${i.statusText}`);const a=await i.json();this.items=a.items||[],this.cacheLabels(this.items),this.total=typeof a.total=="number"?a.total:this.items.length,this.resolveSelectedLabel()}catch(n){this.fetchError=n instanceof Error?n.message:"Search failed",this.items=[],this.total=0}finally{this.loading=!1}}runSearch(e,n=!1){this.isRemote?(this.loading=!0,clearTimeout(this.debounceTimer),n?this.fetchRemote(e):this.debounceTimer=setTimeout(()=>this.fetchRemote(e),this.debounceMs)):(this.items=this.filterInline(e),this.total=this.items.length)}get visibleItems(){return this.items.slice(0,this.maxVisible)}get hiddenCount(){return Math.max(0,this.total-this.visibleItems.length)}openMenu(){this.disabled||(this.open=!0,this.activeIndex=-1,(!this.items.length||this.isRemote)&&this.runSearch(this.query,!0))}closeMenu(){this.open=!1,this.activeIndex=-1}select(e){if(this.labelCache[String(e.value)]=e.label,this.multiple){const n=this.selectedValues,r=String(e.value),i=n.includes(r)?n.filter(a=>a!==r):[...n,r];this.value=i,this.query="",this.emitValue(i),this.runSearch("",!0);return}this.value=e.value,this.selectedLabel=e.label,this.query="",this.closeMenu(),this.emitValue(e.value)}removeValue(e,n){n==null||n.stopPropagation();const r=this.selectedValues.filter(i=>i!==String(e));this.value=r,this.emitValue(r)}connectedCallback(){document.addEventListener("click",this.onDocumentClick,!0)}disconnectedCallback(){document.removeEventListener("click",this.onDocumentClick,!0),clearTimeout(this.debounceTimer)}render(){const e=this.selectedValues,n=e.length>0,r=this.multiple?this.query:this.open?this.query:this.selectedLabel,i=this.multiple?n?"":this.placeholder:n&&!this.open?this.selectedLabel:this.placeholder;return t.h("div",{key:"f5224332aa395be2a9dd8a1312dcd1b631ad2129",class:"eds-ss"},(this.label||this.hint)&&t.h("div",{key:"e28da19abdedb4107a7b7be2a59e6444780f8251",class:"eds-ss__labelrow"},this.label&&t.h("eds-input-label",{key:"81933dbc2d370b8ddbbf8f4286c3420e4f140ca7",name:`${this.name}-input`,label:this.label,required:this.required,disabled:this.disabled}),this.hint&&t.h("p",{key:"1ff5b7a62cc20bb2ce710ca2e06c728d94aef895",id:`${this.name}-hint`,class:"eds-ss__hint"},this.hint)),t.h("div",{key:"84fbdccc6326707ac854e06d7209dd149d9c26a7",class:"eds-ss__control relative"},t.h("div",{key:"ae99c3d9c706fa6619459d8d6c9baa3df610169e",class:{"eds-ss__box":!0,"is-error":this.error||!!this.fetchError,"is-disabled":this.disabled}},this.multiple&&e.map(a=>t.h("span",{class:"eds-ss__chip",key:a},t.h("span",{class:"eds-ss__chip-label"},this.labelFor(a)),!this.disabled&&t.h("button",{type:"button",class:"eds-ss__chip-x","aria-label":`Remove ${this.labelFor(a)}`,onMouseDown:l=>{l.preventDefault(),this.removeValue(a,l)}},"×"))),t.h("input",{key:"18dcd5787c7636c09be7285fb85b77f5cae334c8",id:`${this.name}-input`,class:"eds-ss__input",type:"text",role:"combobox",autocomplete:"off","aria-expanded":this.open?"true":"false","aria-controls":this.listboxId,"aria-autocomplete":"list",placeholder:i,value:r,disabled:this.disabled,required:this.required&&!n,onFocus:()=>this.openMenu(),onInput:this.onInput,onKeyDown:this.onKeyDown})),!this.multiple&&n&&!this.disabled&&t.h("button",{key:"c927fa49fb58b7abec13f6d436f1d1452f9644c5",type:"button",class:"eds-ss__clear","aria-label":"Clear selection",onClick:this.clear},"×"),t.h("span",{key:"bff4bf41fb388f849ef9c0928f4aa88e065d718d",class:"eds-ss__chevron","aria-hidden":"true"},t.h("eds-icon-wrapper",{key:"7871955d6fc5626914995d51c1b4b3511b60febe",name:"chevron-right",size:20}))),this.open&&t.h("ul",{key:"e529fe82576be45a0e99d4a020aa4f721b71686b",class:"eds-ss__list",id:this.listboxId,role:"listbox"},this.loading&&t.h("li",{key:"fe8d73dfa0d6a5cf7e9bea4220511a22489884f8",class:"eds-ss__status"},"Searching…"),!this.loading&&this.fetchError&&t.h("li",{key:"b708b1de4eee8e45287fd23f0bf63327032616d6",class:"eds-ss__status is-error"},this.fetchError),!this.loading&&!this.fetchError&&this.visibleItems.length===0&&t.h("li",{key:"9400ac7a022f38935f05df3705e2a65acb9d4a04",class:"eds-ss__status"},"No matches"),!this.loading&&!this.fetchError&&this.visibleItems.map((a,l)=>t.h("li",{key:a.value,class:{"eds-ss__option":!0,"is-active":l===this.activeIndex,"is-selected":e.includes(String(a.value))},role:"option","aria-selected":e.includes(String(a.value))?"true":"false",onMouseEnter:()=>this.activeIndex=l,onMouseDown:s=>{s.preventDefault(),this.select(a)}},a.label)),!this.loading&&!this.fetchError&&this.hiddenCount>0&&t.h("li",{key:"8e82d65e9da3755ad10ffaf0fc4a45f5bc365a48",class:"eds-ss__more"},"+",this.hiddenCount," more — keep typing to narrow")),t.h("eds-input-footer",{key:"0564f006a874a3556118ce99441cbfabc230ac57",name:this.name,message:this.message,error:this.error,"error-message":this.errorMessage}))}get host(){return t.getElement(this)}static get watchers(){return{options:["onOptionsChange"],value:["onValueChange"]}}};en.style=Ii;const _i=":host{display:block;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;transition:width 0.3s ease}:host(.collapsed){width:4rem}:host::-webkit-scrollbar{width:8px}:host::-webkit-scrollbar-track{background:transparent}:host::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.2);border-radius:4px}:host::-webkit-scrollbar-thumb:hover{background:rgba(0, 0, 0, 0.3)}.sidebar-nav{padding:0.5rem 0}.sidebar-header{display:flex;justify-content:flex-end;padding:0.5rem 0.75rem;margin-bottom:0.5rem}:host(.collapsed) .sidebar-header{justify-content:center;padding:0.5rem}.collapse-toggle{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:none;border:none;cursor:pointer;padding:0;border-radius:0.375rem;transition:background-color 0.15s ease;color:inherit}.collapse-toggle:hover{background-color:rgba(0, 0, 0, 0.08)}.collapse-toggle:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:2px}.sidebar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.125rem}.sidebar-item{display:flex;flex-direction:column}.sidebar-item-content{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;cursor:pointer;user-select:none;word-break:break-word;transition:background-color 0.15s ease;border-radius:0.375rem;margin:0 0.5rem;position:relative}:host(.collapsed) .sidebar-item-content{justify-content:center;padding:0.75rem;margin:0 0.5rem}.sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}.sidebar-item-content:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:-2px;z-index:1}.sidebar-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem}.sidebar-content-wrapper{display:flex;align-items:center;gap:0.5rem;flex:1;min-width:0}.sidebar-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem;padding:0;margin:-0.125rem 0;pointer-events:none}.sidebar-link-wrapper{flex:1;min-width:0;pointer-events:none}.sidebar-link{font-weight:400;pointer-events:none}.sidebar-children{list-style:none;margin:0.25rem 0 0 0;padding:0;display:flex;flex-direction:column;gap:0.125rem;overflow:hidden;animation:slideDown 0.2s ease}@keyframes slideDown{from{opacity:0;transform:translateY(-0.25rem)}to{opacity:1;transform:translateY(0)}}.sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.collapsed) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}.sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}.sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}.sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}.sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}.sidebar-item.level-5 .sidebar-item-content{padding-left:7rem}:host(.theme-default) .sidebar-item-content{border-radius:0.375rem;margin:0 0.5rem;padding:0.5rem 0.75rem}:host(.theme-default.collapsed) .sidebar-item-content{margin:0 0.5rem;border-radius:0.375rem}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:transparent}:host(.theme-default) .sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:600}:host(.theme-default) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.theme-default) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-default) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-default) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-default) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-item-content{border-radius:0;margin:0;padding-left:1rem;padding-right:1rem}:host(.theme-minimal.collapsed) .sidebar-item-content{margin:0 0.25rem;border-radius:0.375rem}:host(.theme-minimal) .sidebar-item-content:hover{background-color:rgba(0, 255, 157, 0.05);color:var(--brand-black, #07140D)}:host(.theme-minimal) .sidebar-item.active>.sidebar-item-content{background-color:rgba(0, 255, 157, 0.1);border-left:3px solid var(--brand-green-dark, #00C87B);padding-left:calc(1rem - 3px);color:var(--brand-black, #07140D);font-weight:500}:host(.theme-minimal.collapsed) .sidebar-item.active>.sidebar-item-content{border-left:none;border-radius:0.375rem;padding-left:0.75rem;background-color:rgba(0, 255, 157, 0.1);color:var(--brand-black, #07140D)}:host(.theme-minimal) .sidebar-item.level-1.active>.sidebar-item-content{padding-left:calc(2rem - 3px)}:host(.theme-minimal) .sidebar-item.level-2.active>.sidebar-item-content{padding-left:calc(3.25rem - 3px)}:host(.theme-minimal) .sidebar-item.level-3.active>.sidebar-item-content{padding-left:calc(4.5rem - 3px)}:host(.theme-minimal) .sidebar-item.level-4.active>.sidebar-item-content{padding-left:calc(5.75rem - 3px)}:host(.theme-minimal) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-minimal) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-minimal) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-minimal) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-minimal) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-children{position:relative}:host(.theme-ebrains) .sidebar-item-content{padding:0.5rem 1rem;border-radius:0.5rem;margin:0 0.5rem}:host(.theme-ebrains.collapsed) .sidebar-item-content{padding:0.75rem}:host(.theme-ebrains) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.05)}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content{background-color:var(--brand-green-dark, #22c55e);color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-link{--eds-link-color:white;--eds-link-hover-color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-toggle{color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-icon{color:white}:host(.theme-ebrains) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-ebrains) .sidebar-item.level-1 .sidebar-item-content{padding-left:2.25rem}:host(.theme-ebrains) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.5rem}:host(.theme-ebrains) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.75rem}:host(.theme-ebrains) .sidebar-item.level-4 .sidebar-item-content{padding-left:6rem}@media (prefers-color-scheme: dark){.collapse-toggle:hover{background-color:rgba(255, 255, 255, 0.08)}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.05)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:rgba(0, 102, 204, 0.15)}:host(.theme-minimal) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.06)}:host::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.2)}:host::-webkit-scrollbar-thumb:hover{background:rgba(255, 255, 255, 0.3)}}.sidebar-toggle eds-icon-wrapper,.sidebar-icon eds-icon-wrapper,.collapse-toggle eds-icon-wrapper{transition:transform 0.15s ease;display:flex;align-items:center;justify-content:center}.sidebar-item-content:focus-visible .sidebar-link{text-decoration:underline}.sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:500}:host(.collapsed) .sidebar-item-content::after{content:attr(title);position:absolute;left:100%;top:50%;transform:translateY(-50%);margin-left:0.5rem;padding:0.5rem 0.75rem;background:rgba(0, 0, 0, 0.9);color:white;border-radius:0.375rem;white-space:nowrap;font-size:0.875rem;opacity:0;pointer-events:none;transition:opacity 0.2s ease;z-index:1000}:host(.collapsed) .sidebar-item-content:hover::after{opacity:1;transition-delay:0.3s}.-ml-4{margin-left:-0.25rem}.mt-2{margin-top:0.125rem}",Li=_i,nn=class{constructor(e){t.registerInstance(this,e),this.sidebar=t.createEvent(this,"sidebar",7),this.toggleItem=(n,r)=>{r&&r.stopPropagation();const i=new Set(this.openItems);i.has(n)?i.delete(n):i.add(n),this.openItems=i},this.navigate=(n,r)=>{!this.enableRouting||!n||(r&&(r.preventDefault(),r.stopPropagation()),this.sidebar.emit(n),typeof window<"u"&&window.history&&window.history.pushState({},"",n))},this.handleItemClick=(n,r)=>{var i;if(!((i=n.children)===null||i===void 0)&&i.length){this.toggleItem(n.id,r);return}n.url&&this.navigate(n.url,r)},this.items="[]",this.theme="default",this.activeUrl="",this.enableRouting=!0,this.maxLevel=4,this.openItems=new Set,this.parsedItems=[]}componentWillLoad(){this.parsedItems=this.parseItems(this.items),this.initializeOpenItems(this.parsedItems)}handleItemsChange(e){this.parsedItems=this.parseItems(e),this.initializeOpenItems(this.parsedItems)}handleActiveUrlChange(){this.initializeOpenItems(this.parsedItems)}parseItems(e){if(Array.isArray(e))return e;if(typeof e=="string"){if(!e||e.trim()==="")return[];try{const n=JSON.parse(e);return Array.isArray(n)?n:[]}catch(n){return console.error("eds-sidebar: Failed to parse items JSON:",n),console.error("Received string:",e),[]}}return[]}initializeOpenItems(e,n=0){n===0&&(this.openItems=new Set),!(n>=this.maxLevel)&&e.forEach(r=>{var i;const a=this.activeUrl&&r.url===this.activeUrl,l=this.hasActiveDescendant(r);(r.open||a||l)&&this.openItems.add(r.id),!((i=r.children)===null||i===void 0)&&i.length&&this.initializeOpenItems(r.children,n+1)})}hasActiveDescendant(e){var n;return e.url===this.activeUrl?!0:!((n=e.children)===null||n===void 0)&&n.length?e.children.some(r=>this.hasActiveDescendant(r)):!1}renderItem(e,n=0){if(n>=this.maxLevel)return null;const r=this.openItems.has(e.id),i=!!e.url&&this.activeUrl===e.url,a=!!(e.children&&e.children.length),s=`${`eds-sidebar-${e.id}`}-children`;return t.h("li",{class:{"sidebar-item":!0,open:r,active:i,"has-children":a,[`level-${n}`]:!0}},t.h("div",{class:"sidebar-item-content",onClick:o=>this.handleItemClick(e,o),role:a?"button":e.url?"link":"button",tabindex:"0","aria-current":i?"page":void 0,"aria-expanded":a?r?"true":"false":void 0,"aria-controls":a?s:void 0,onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.handleItemClick(e,o))}},a&&t.h("span",{class:"sidebar-toggle -ml-4","aria-hidden":"true"},t.h("eds-icon-wrapper",{name:r?"chevron-down":"chevron-right"})),t.h("span",{class:"sidebar-link-wrapper"},t.h("eds-link",{label:e.title,url:e.url||"#",intent:i?"strong":"weak",size:"small","aria-label":e.title,"extra-class":"sidebar-link",tabindex:"-1"}))),a&&r&&t.h("ul",{id:s,class:"sidebar-children"},e.children.map(o=>this.renderItem(o,n+1))))}render(){return t.h(t.Host,{key:"f5221c19e8148ca62a76fb470a4aa6786c3e41b5",class:{"eds-sidebar":!0,[`theme-${this.theme}`]:!0}},t.h("nav",{key:"0a975a10a3892f6eabaf2a1c2be21963f0e76549",class:"sidebar-nav","aria-label":"Sidebar"},t.h("ul",{key:"498436fa1f4ec7ff2f3feea843fe58b415d20a3f",class:"sidebar-list"},this.parsedItems.map(e=>this.renderItem(e,0)))))}get el(){return t.getElement(this)}static get watchers(){return{items:["handleItemsChange"],activeUrl:["handleActiveUrlChange"]}}};nn.style=Li;const Hi="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.mt-12{margin-top:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-inverse{color:var(--white)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}",Mi=Hi,tn=class{constructor(e){t.registerInstance(this,e),this.socialNetworks=[{label:"Twitter",url:"https://twitter.com/ebrains_eu",icon:"twitter"},{label:"Linkedin",url:"https://www.linkedin.com/company/ebrains-eu/about/",icon:"linkedin"},{label:"Facebook",url:"https://www.facebook.com/people/Ebrains_eu/100046659909324/",icon:"facebook"},{label:"Youtube",url:"https://www.youtube.com/channel/UC6E796cVVR5Xrs2A5jJmleQ",icon:"youtube"},{label:"Mastodon",url:"https://mastodon.social/@ebrains",icon:"mastodon"},{label:"Bluesky",url:"https://bsky.app/profile/ebrains.bsky.social",icon:"bluesky"}],this.heading="Follow EBRAINS to keep up-to-date",this.variant="default"}render(){const e=this.variant==="inverse",n=e?"text-inverse":"",r=e?"inverse":"strong";return t.h("nav",{key:"924bdf5a32b65cd0968ad92461cb8203f3305fce","aria-label":"Social media"},t.h("p",{key:"f406d71ed2d7ff9048e5db05f5ad62566081aa45",class:`f-ui-02 ${n}`},this.heading),t.h("ul",{key:"40d000bc78780d7ec3c0c9bf2e10ec0a26f3b72e",class:"mt-12 flex gap-4"},this.socialNetworks.map((i,a)=>t.h("li",{key:a},t.h("eds-link",{external:!0,"aria-label":`EBRAINS on ${i.label}`,url:i.url,icon:i.icon,intent:r})))))}};tn.style=Mi;const Di=":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}",Ti=Di,rn=class{constructor(e){t.registerInstance(this,e),this.size="md",this.variant="secondary",this.message=void 0,this.background="var(--grey-light)",this.fullscreen=!1}get spinnerSize(){switch(this.size){case"xs":return"1rem";case"sm":return"4rem";case"lg":return"8rem";case"xl":return"10rem";case"md":default:return"6rem"}}get spinnerThickness(){switch(this.size){case"xs":return"4px";case"sm":return"8px";case"lg":return"16px";case"xl":return"20px";case"md":default:return"12px"}}render(){const e=this.variant==="primary"?"var(--brand-black)":"var(--grey-dark)",n=this.variant==="primary"?"var(--brand-green)":"var(--brand-black)",r=Object.assign({width:this.spinnerSize,height:this.spinnerSize,border:`${this.spinnerThickness} solid ${e}`,borderBottomColor:n},!this.fullscreen&&{display:"inline-block"}),i=this.fullscreen?{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"9999999",backgroundColor:this.background,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",backgroundColor:this.background,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"};return t.h(t.Host,{key:"c09fa07856848a03aab44bbb56ecdd66a986bb40"},t.h("div",{key:"544c653e9e0457d2063eaefc5ff1fe88de89f14e",class:"spinner-overlay",style:i},t.h("span",{key:"e389aa572863a265c9aa68d587ad744f1c8db0a7",class:"spinner",style:r}),this.message&&t.h("p",{key:"5e554fe1b870e673c5b3da3ec2a227e92dd9863d",class:"f-ui-01"},this.message)))}};rn.style=Ti;const Bi=`blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:31px;height:31px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.text-center{text-align:center}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-light)}.text-lighter{color:var(--grey-dark)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.justify-between{justify-content:space-between}.mt-16{margin-top:1rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.mb-16{margin-bottom:1rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-light)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.items-center{align-items:center}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title[role="button"]{cursor:pointer}.eds-steps__title.is-disabled{cursor:not-allowed;color:rgba(0, 0, 0, 0.5);}.eds-steps__title.is-disabled::before{opacity:1;filter:none}.steps--horizontal{display:flex;flex-direction:column;gap:2rem}.horizontal-indicators{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0}.horizontal-step{display:flex;flex-direction:column;align-items:center;gap:0.5rem;cursor:pointer;flex:1;position:relative}.horizontal-step:not(:last-child)::after{content:'';position:absolute;top:1.25rem;left:50%;width:100%;height:2px;background-color:#e0e0e0;z-index:-1}.horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green-dark);}.step-indicator{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background-color:white;transition:all 0.3s ease}.horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.horizontal-step.is-disabled{opacity:0.5;cursor:not-allowed}.step-number{font-weight:600;font-size:0.875rem}.step-label{font-size:0.875rem;text-align:center;font-weight:500}.horizontal-step.is-active .step-label{color:var(--brand-green-dark)}.step-content{padding:0.5rem 0;margin-left:calc((100% / var(--step-count, 1)) * 0.20 - 1.25rem);margin-right:calc((100% / var(--step-count, 1)) * 0.20 - 1.25rem)}@media (min-width: 700px){.step-content{padding:1.5rem 0;margin-left:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem);margin-right:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem)}}.opacity-50{opacity:0.5}.eds-steps__title[role="button"]{cursor:pointer}.theme-brand.steps h3::before,.theme-brand.steps h4::before,.theme-brand.steps h5::before{background:var(--brand-green);color:var(--brand-black);border-color:var(--brand-green);font-weight:600}.theme-brand .step-indicator{background-color:var(--grey-light)}.theme-brand .horizontal-step.is-active .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black)}.theme-brand .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black)}.theme-brand .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green)}.theme-brand .horizontal-step.is-active .step-label{color:var(--brand-black);font-weight:600}.theme-brand .step-number{font-weight:600}.theme-default.steps h3::before,.theme-default.steps h4::before,.theme-default.steps h5::before{background:var(--grey-900);color:#fff;border-color:#ccc}.theme-default .step-indicator{background-color:white;border-color:#e0e0e0}.theme-default .horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.theme-default .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.theme-default .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green-dark)}.theme-default .horizontal-step.is-active .step-label{color:var(--brand-green-dark)}`,Vi=Bi,an=class{constructor(e){t.registerInstance(this,e),this.step=t.createEvent(this,"step",7),this.finished=t.createEvent(this,"finished",7),this.next=t.createEvent(this,"next",7),this.back=t.createEvent(this,"back",7),this.handleTitleClick=n=>{if(this.type==="linear"){if(n>this.activeStep){for(let r=this.activeStep;r<n;r++)if(this.isStepDisabled(r))return}this.activeStep=n,this.step.emit(this.activeStep);return}if(this.orientation==="vertical"&&n===this.activeStep&&this.collapsibleTitles){this.activeStep=this.activeStep===n?-1:n,this.step.emit(this.activeStep);return}this.activeStep=n,this.step.emit(this.activeStep)},this.handleNext=()=>{const n=this.parsedSteps.length-1;if(this.activeStep>=n){this.finished.emit(),this.activeStep=-1,this.step.emit(this.activeStep);return}const r=this.activeStep+1;this.next.emit(r),!this.isStepDisabled(this.activeStep)&&(this.activeStep=r,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1))},this.handleBack=()=>{const n=this.parsedSteps.length-1;if(this.activeStep<0){this.activeStep=n,this.step.emit(this.activeStep);return}if(this.activeStep>0){const r=this.activeStep-1;this.back.emit(r),this.activeStep=r,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1)}},this.steps=[],this.type="static",this.orientation="vertical",this.theme="default",this.nextLabel="Next",this.backLabel="Back",this.finishLabel="Finish",this.showFinish=!0,this.disableNext=!1,this.headingLevel="h4",this.collapsibleTitles=!1,this.activeStep=0}handleDisableNextChange(e){if(typeof e=="string"&&e.trim().startsWith("["))try{this.disableNext=JSON.parse(e)}catch(n){console.error("Failed to parse disable-next array:",n)}}componentWillLoad(){this.handleDisableNextChange(this.disableNext)}componentDidLoad(){if(this.type==="linear"){const n=(this.el.shadowRoot||this.el).querySelectorAll("eds-button");n==null||n.forEach(r=>this.emitContext(r))}}activeStepChanged(e){const n=Math.max(0,this.parsedSteps.length-1);if(e>n){this.activeStep=n;return}if(e<-1){this.activeStep=-1;return}e<0||setTimeout(()=>{const i=(this.el.shadowRoot||this.el).querySelectorAll(".step"),a=i&&e<i.length?i[e]:void 0;a==null||a.querySelectorAll("eds-button").forEach(l=>this.emitContext(l))},50)}emitContext(e){const n=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.activeStep},bubbles:!0,composed:!0});e.dispatchEvent(n)}get parsedSteps(){return I.parseData(this.steps)}isStepDisabled(e){return Array.isArray(this.disableNext)?e<this.disableNext.length?!!this.disableNext[e]:!1:e===this.activeStep&&!!this.disableNext}isNextDisabledFor(e){return this.isStepDisabled(e)}renderHeading(e,n){const r=this.headingLevel,i=this.activeStep===n;if(this.type==="linear"){let a=!1;if(n>this.activeStep){for(let s=this.activeStep;s<n;s++)if(this.isStepDisabled(s)){a=!0;break}}const l=s=>{a||(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),this.handleTitleClick(n))};return t.h(r,{class:`eds-steps__title ${a?"is-disabled":""}`,role:"button",tabindex:a?-1:0,"aria-disabled":a?"true":"false","aria-expanded":i,"aria-controls":`eds-step-panel-${n}`,onClick:()=>!a&&this.handleTitleClick(n),onKeyDown:l},e)}return t.h(r,{class:`eds-steps__title ${this.collapsibleTitles&&n!==this.activeStep,""}`,onClick:()=>this.handleTitleClick(n)},e)}renderHorizontalIndicator(e,n){const r=this.activeStep===n,i=this.activeStep>n;let a=!1;if(n>this.activeStep){for(let s=this.activeStep;s<n;s++)if(this.isStepDisabled(s)){a=!0;break}}const l=s=>{a||(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),this.handleTitleClick(n))};return t.h("div",{class:`horizontal-step ${r?"is-active":""} ${i?"is-completed":""}`,onClick:()=>!a&&this.handleTitleClick(n),onKeyDown:l,role:"button",tabindex:a?-1:0,"aria-label":`Step ${n+1}: ${e.title}`,"aria-current":r?"step":void 0,"aria-disabled":a?"true":"false"},t.h("div",{class:"step-indicator"},t.h("span",{class:"step-number"},n+1)),t.h("span",{class:`text-center text-default f-ui-03 ${a?"opacity-50":""}`},e.title))}render(){const e=this.parsedSteps,n=this.theme==="brand"?"theme-brand":"theme-default";return this.type==="linear"&&this.orientation==="horizontal"?t.h("div",{class:`steps--horizontal ${n}`,style:{"--step-count":e.length.toString()}},t.h("div",{class:"horizontal-indicators"},e.map((r,i)=>this.renderHorizontalIndicator(r,i))),e.map((r,i)=>{const a=i===e.length-1;if(this.activeStep!==i)return null;const l=this.orientation==="horizontal"?"mt-64":"mt-32";return t.h("div",{class:"step-content",key:i,id:`eds-step-panel-${i}`},t.h("slot",{name:`step-${i}`},t.h("div",{class:"f-body-02 text-lighter",innerHTML:r.content})),t.h("div",{class:`flex items-center justify-between ${l}`},t.h("eds-button",{label:this.backLabel,intent:"secondary",icon:"chevron-left",iconPos:"left",onClick:this.handleBack,disabled:i===0,class:i===0?"hidden":"block",size:"small"}),(!a||this.showFinish)&&t.h("eds-button",{label:a?this.finishLabel:this.nextLabel,intent:"primary",icon:"chevron-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(i),size:"small",class:i>0?"ml-8":null})),t.h("slot",{name:`actions-${i}`}))})):this.type==="linear"?t.h("div",{class:`steps ${n}`},e.map((r,i)=>{const a=i===e.length-1,l=this.orientation==="horizontal"?"mt-64":"mt-32";return t.h("div",{class:"step mb-16",key:i},this.renderHeading(r.title,i),this.activeStep===i&&t.h("div",{class:"content grid gap-y-16",id:`eds-step-panel-${i}`},t.h("slot",{name:`step-${i}`},t.h("div",{class:"my-16 f-body-02 text-lighter",innerHTML:r.content})),t.h("div",{class:`flex items-center justify-between ${l}`},t.h("eds-button",{label:this.backLabel,intent:"secondary",icon:"chevron-left",iconPos:"left",onClick:this.handleBack,disabled:i===0,class:i===0?"hidden":"block",size:"small"}),(!a||this.showFinish)&&t.h("eds-button",{label:a?this.finishLabel:this.nextLabel,intent:"primary",icon:"chevron-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(i),size:"small",class:i>0?"ml-8":null})),t.h("slot",{name:`actions-${i}`})))})):t.h("div",{class:`steps ${n}`},e.map((r,i)=>t.h("div",{class:"step mb-16",key:i},this.renderHeading(r.title,i),t.h("div",{class:"content",id:`eds-step-panel-${i}`},t.h("slot",{name:`step-${i}`},t.h("div",{class:"f-body-02 text-lighter my-16",innerHTML:r.content}))))))}get el(){return t.getElement(this)}static get watchers(){return{disableNext:["handleDisableNextChange"],activeStep:["activeStepChanged"]}}};an.style=Vi;const Oi=`blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-41px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.text-center{text-align:center}.text-default{color:var(--brand-black)}.text-accent{color:var(--brand-green)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-light)}.text-lighter{color:var(--grey-dark)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.justify-between{justify-content:space-between}.mt-16{margin-top:1rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:none}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:0}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-light)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.items-center{align-items:center}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title[role="button"]{cursor:pointer}.eds-steps__title.is-disabled{cursor:not-allowed;color:rgba(0, 0, 0, 0.5);}.eds-steps__title.is-disabled::before{opacity:1;filter:none}.steps--horizontal{display:flex;flex-direction:column;gap:2rem}.horizontal-indicators{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0}.step-content-aligned{padding-left:0;padding-right:0}.horizontal-step{display:flex;flex-direction:column;align-items:center;gap:0.5rem;cursor:pointer;flex:1;position:relative}.horizontal-step:not(:last-child)::after{content:'';position:absolute;top:1.25rem;left:calc(50% + 2rem);width:calc(100% - 3rem);height:2px;background-color:#e0e0e0;z-index:1}.horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green);}.step-indicator{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background-color:white;transition:all 0.3s ease;z-index:2}.horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.horizontal-step.is-disabled{opacity:0.5;cursor:not-allowed}.step-number{font-weight:600;font-size:0.875rem}.step-label{font-size:0.875rem;text-align:center;font-weight:500}.horizontal-step.is-active .step-label{color:var(--brand-green-dark)}.step-content{padding:0.5rem 0;margin-left:calc((100% / var(--step-count, 1)) * 0.20 - 1.25rem);margin-right:calc((100% / var(--step-count, 1)) * 0.20 - 1.25rem)}@media (min-width: 700px){.step-content{padding:1.5rem 0;margin-left:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem);margin-right:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem)}}.opacity-50{opacity:0.5}.bg-dark{background-color:var(--grey-light)}.bg-darker{background-color:var(--grey-dark)}.theme-brand.steps h3::before,.theme-brand.steps h4::before,.theme-brand.steps h5::before{background:var(--brand-green);color:var(--brand-black);border-color:var(--brand-green);font-weight:600}.theme-brand.steps h3.is-completed::before,.theme-brand.steps h4.is-completed::before,.theme-brand.steps h5.is-completed::before{content:'';}.theme-brand.steps .step-checkmark-icon{position:absolute;left:-39px;top:0px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;z-index:1}.theme-brand.steps h3 .step-checkmark-icon{left:-41px;width:32px;height:32px;top:2px}.theme-brand .step-indicator{background-color:var(--grey-light)}.theme-brand .horizontal-step.is-active .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black)}.theme-brand .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black)}.theme-brand .horizontal-step.is-completed .step-number{display:none}.theme-brand .horizontal-step:not(:last-child)::after{background-color:var(--grey-light);}.theme-brand .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green)}.theme-brand .horizontal-step.is-active .step-label{color:var(--brand-black);font-weight:600}.theme-brand .step-number{font-weight:600}.theme-default.steps h3::before,.theme-default.steps h4::before,.theme-default.steps h5::before{background:var(--grey-900);color:#fff;border-color:#ccc}.theme-default .step-indicator{background-color:white;border-color:#e0e0e0}.theme-default .horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.theme-default .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.theme-default .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green-dark)}.theme-default .horizontal-step.is-active .step-label{color:var(--brand-green-dark)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus-within:focus-within{outline-style:solid}`,Ni=Oi,ln=class{constructor(e){t.registerInstance(this,e),this.step=t.createEvent(this,"step",7),this.finished=t.createEvent(this,"finished",7),this.next=t.createEvent(this,"next",7),this.back=t.createEvent(this,"back",7),this.handleTitleClick=n=>{if(this.type==="linear"){if(n>this.activeStep){for(let r=this.activeStep;r<n;r++)if(this.isStepDisabled(r))return}this.activeStep=n,this.step.emit(this.activeStep);return}if(this.orientation==="vertical"&&n===this.activeStep){this.activeStep=this.activeStep===n?-1:n,this.step.emit(this.activeStep);return}this.activeStep=n,this.step.emit(this.activeStep)},this.handleNext=()=>{const n=this.parsedSteps.length-1;if(this.activeStep>=n){this.finished.emit(),this.activeStep=-1,this.step.emit(this.activeStep);return}const r=this.activeStep+1;this.next.emit(r),!this.isStepDisabled(this.activeStep)&&(this.activeStep=r,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1))},this.handleBack=()=>{const n=this.parsedSteps.length-1;if(this.activeStep<0){this.activeStep=n,this.step.emit(this.activeStep);return}if(this.activeStep>0){const r=this.activeStep-1;this.back.emit(r),this.activeStep=r,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1)}},this.steps=[],this.type="static",this.orientation="vertical",this.theme="default",this.imageSrc=void 0,this.imageWidth=void 0,this.message=void 0,this.nextLabel="Next",this.backLabel="Back",this.finishLabel="Finish",this.showFinish=!0,this.disableNext=!1,this.headingLevel="h4",this.activeStep=0}handleDisableNextChange(e){if(typeof e=="string"&&e.trim().startsWith("["))try{this.disableNext=JSON.parse(e)}catch(n){console.error("Failed to parse disable-next array:",n)}}activeStepChanged(e){const n=Math.max(0,this.parsedSteps.length-1);if(e>n){this.activeStep=n;return}if(e<-1){this.activeStep=-1;return}e<0||setTimeout(()=>{const i=(this.el.shadowRoot||this.el).querySelectorAll(".step")[e];i==null||i.querySelectorAll("eds-button").forEach(a=>this.emitContext(a))},50)}componentWillLoad(){this.handleDisableNextChange(this.disableNext)}componentDidLoad(){if(this.type==="linear"){const n=(this.el.shadowRoot||this.el).querySelectorAll("eds-button");n==null||n.forEach(r=>this.emitContext(r))}}emitContext(e){const n=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.activeStep},bubbles:!0,composed:!0});e.dispatchEvent(n)}articleClasses(){return["border-softer relative rounded-lg border-2"].join(" ")}get parsedSteps(){return I.parseData(this.steps)}isStepDisabled(e){return Array.isArray(this.disableNext)?e<this.disableNext.length?!!this.disableNext[e]:!1:e===this.activeStep&&!!this.disableNext}isNextDisabledFor(e){return this.isStepDisabled(e)}renderHeading(e,n){const r=this.headingLevel,i=this.activeStep>n;if(this.type==="linear"){const a=this.activeStep===n;let l=!1;if(n>this.activeStep){for(let o=this.activeStep;o<n;o++)if(this.isStepDisabled(o)){l=!0;break}}const s=o=>{l||(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.handleTitleClick(n))};return t.h(r,{class:`eds-steps__title ${l?"is-disabled":""} ${i?"is-completed":""}`,role:"button",tabindex:l?-1:0,"aria-disabled":l?"true":"false","aria-expanded":a,"aria-controls":`eds-step-panel-${n}`,onClick:()=>!l&&this.handleTitleClick(n),onKeyDown:s},i&&t.h("span",{class:"step-checkmark-icon"},t.h("eds-icon-wrapper",{name:"checkmark",size:20})),e)}return t.h(r,{class:"eds-steps__title",onClick:()=>this.handleTitleClick(n)},e)}renderHorizontalIndicator(e,n){const r=this.activeStep===n,i=this.activeStep>n;let a=!1;if(n>this.activeStep){for(let s=this.activeStep;s<n;s++)if(this.isStepDisabled(s)){a=!0;break}}const l=s=>{a||(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),this.handleTitleClick(n))};return t.h("div",{class:`horizontal-step ${r?"is-active":""} ${i?"is-completed":""}`,onClick:()=>!a&&this.handleTitleClick(n),onKeyDown:l,role:"button",tabindex:a?-1:0,"aria-label":`Step ${n+1}: ${e.title}`,"aria-current":r?"step":void 0,"aria-disabled":a?"true":"false"},t.h("div",{class:"step-indicator"},i?t.h("eds-icon-wrapper",{name:"checkmark",size:20}):t.h("span",{class:"step-number"},n+1)),t.h("span",{class:`text-center text-default f-ui-03 ${a?"opacity-50":""}`},e.title))}render(){const e=this.parsedSteps,n=this.orientation==="horizontal"?"mt-64":"mt-32",r=this.theme==="brand"?"theme-brand":"theme-default";return t.h("div",{key:"e1d78d18506adb662bbcc100f6f886e33c21a996",class:this.articleClasses()},this.imageSrc?t.h("div",{class:"w-full mb-12 rounded-t-lg overflow-hidden border-2"},t.h("eds-img",{src:this.imageSrc,width:this.imageWidth,"with-bg":"true","lazy-load":"true",alt:"Step illustration"})):this.message&&t.h("div",{class:`w-full ${this.theme==="brand"?"bg-strongest":"bg-darker"} rounded-t-lg border-2`},t.h("div",{class:"p-24"},t.h("span",{class:`${this.theme==="brand"?"text-accent":"text-inverse"} f-heading-04`},this.message))),t.h("div",{key:"5b69e2c641d96025b34377fc647679f94d0e4e44",class:"mt-16 pb-20 px-8"},this.type==="linear"&&this.orientation==="horizontal"?t.h("div",{class:`steps--horizontal ${r}`,style:{"--step-count":e.length.toString()}},t.h("div",{class:"horizontal-indicators"},e.map((i,a)=>this.renderHorizontalIndicator(i,a))),e.map((i,a)=>{const l=a===e.length-1;return this.activeStep!==a?null:t.h("div",{class:"step-content",key:a,id:`eds-step-panel-${a}`},t.h("slot",{name:`step-${a}`},t.h("div",{class:"f-body-02 text-lighter",innerHTML:i.content})),t.h("div",{class:`flex items-center justify-between ${n}`},t.h("eds-button",{label:this.backLabel,intent:"primary",icon:"arrow-left",iconPos:"left",onClick:this.handleBack,disabled:a===0,class:a===0?"hidden":"block",size:"small",pill:!0}),(!l||this.showFinish)&&t.h("eds-button",{label:l?this.finishLabel:this.nextLabel,intent:"primary",icon:"arrow-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(a),size:"small",class:a>0?"ml-8":null,pill:!0})),t.h("slot",{name:`actions-${a}`}))})):this.type==="linear"?t.h("div",{class:`steps ${r}`},e.map((i,a)=>{const l=this.activeStep>a;return t.h("div",{class:`${a===0?"step":"step mt-16"} ${l?"is-completed":""}`,key:a},this.renderHeading(i.title,a),this.activeStep===a&&t.h("div",{class:"content grid gap-y-16",id:`eds-step-panel-${a}`},t.h("slot",{name:`step-${a}`},t.h("div",{class:"my-16 f-body-02 text-lighter",innerHTML:i.content})),t.h("div",{class:`flex items-center justify-between ${n}`},t.h("eds-button",{label:this.backLabel,intent:"secondary",icon:"chevron-left",iconPos:"left",onClick:this.handleBack,disabled:a===0,class:a===0?"hidden":"block",size:"small",pill:!0}),(a<e.length-1||this.showFinish)&&t.h("eds-button",{label:a===e.length-1?this.finishLabel:this.nextLabel,intent:"primary",icon:"chevron-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(a),size:"small",class:a>0?"ml-8":null,pill:!0}))))})):t.h("div",{class:`steps space-y-8 ${r}`},e.map((i,a)=>t.h("div",{class:"step",key:a},this.renderHeading(i.title,a),t.h("div",{class:"content",id:`eds-step-panel-${a}`},t.h("div",{class:"content-body"},t.h("slot",{name:`step-${a}`},t.h("div",{class:"my-16 f-body-02 text-lighter",innerHTML:i.content})))))))))}get el(){return t.getElement(this)}static get watchers(){return{disableNext:["handleDisableNextChange"],activeStep:["activeStepChanged"]}}};ln.style=Ni;const $i=":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:var(--grey-dark);padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--brand-green)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.segmented-container{display:inline-flex;gap:0.5rem;background:var(--grey-light);padding:0.5rem;border-radius:2rem}.segmented-btn{padding:0.5rem 1.5rem;background:transparent;border:none;border-radius:1.5rem;font-family:var(--f-ui-02-fontFamily);font-size:0.9rem;font-weight:500;cursor:pointer;transition:all 0.3s;color:var(--grey-dark);white-space:nowrap}.segmented-btn--active{background:var(--brand-green);color:var(--brand-black)}.segmented-btn:hover:not(.segmented-btn--active):not(.segmented-btn--disabled){color:var(--brand-black)}.segmented-btn--disabled{opacity:0.6;cursor:not-allowed}.segmented-btn:focus{outline:2px solid #005fcc;outline-offset:2px}.segmented-btn:focus:not(:focus-visible){outline:none}.segmented-btn:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);letter-spacing:var(--f-ui-03-letterSpacing)}",Pi=$i,sn=class{constructor(e){t.registerInstance(this,e),this.uiswitch=t.createEvent(this,"uiswitch",7),this.toggleSwitch=()=>{this.disabled||(this.checked=!this.checked,this.uiswitch.emit({value:this.checked}),w.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:this.checked?this.labelOn:this.labelOff||"",action:"checked"}))},this.handleKeyDown=n=>{this.disabled||(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),this.toggleSwitch())},this.checked=!1,this.disabled=!1,this.labelOn="",this.labelOff="",this.variant="toggle"}render(){return this.variant==="segmented"?this.renderSegmented():this.renderToggle()}renderToggle(){const e=`switch-${Math.random().toString(36).substr(2,9)}`,n=[];this.labelOff&&n.push(`${e}-off`),this.labelOn&&n.push(`${e}-on`);const r=n.length===0?this.labelOn||this.labelOff?this.checked?this.labelOn:this.labelOff:"Toggle switch":void 0;return t.h("div",{class:"switch-container"},this.labelOff&&t.h("span",{id:`${e}-off`,class:"switch-label switch-label--off mr-8"},this.labelOff),t.h("button",{id:e,tabindex:this.disabled?"-1":"0",type:"button",role:"switch","aria-checked":this.checked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-labelledby":n.length>0?n.join(" "):void 0,"aria-label":r,class:{switch:!0,"switch--checked":this.checked,"switch--disabled":this.disabled},onClick:this.toggleSwitch,onKeyDown:this.handleKeyDown,disabled:this.disabled},t.h("span",{class:"switch-handle"})),this.labelOn&&t.h("span",{id:`${e}-on`,class:"switch-label switch-label--on ml-8"},this.labelOn))}renderSegmented(){return t.h("div",{class:"segmented-container",role:"group","aria-label":"View toggle"},t.h("button",{type:"button",tabindex:this.disabled?"-1":"0",class:{"segmented-btn":!0,"segmented-btn--active":!this.checked,"segmented-btn--disabled":this.disabled},onClick:()=>{!this.disabled&&this.checked&&this.toggleSwitch()},onKeyDown:this.handleKeyDown,disabled:this.disabled,"aria-pressed":this.checked?"false":"true"},t.h("span",{class:"f-ui-03"},this.labelOff)),t.h("button",{type:"button",tabindex:this.disabled?"-1":"0",class:{"segmented-btn":!0,"segmented-btn--active":this.checked,"segmented-btn--disabled":this.disabled},onClick:()=>{!this.disabled&&!this.checked&&this.toggleSwitch()},onKeyDown:this.handleKeyDown,disabled:this.disabled,"aria-pressed":this.checked?"true":"false"},t.h("span",{class:"f-ui-03"},this.labelOn)))}get el(){return t.getElement(this)}};sn.style=Pi;const Ri="table{text-indent:0;border-color:inherit;border-collapse:collapse;}.brand-table-wrapper{margin-top:2rem;width:100%}.brand-table{width:100% !important;border-collapse:separate !important;border-spacing:0 !important;display:table !important;table-layout:fixed !important}.brand-thead{background:var(--grey-light)}.brand-header-row{border:none !important}.brand-header-row th{padding:1rem 1.5rem !important;text-align:center !important;font-weight:600 !important;font-size:0.9rem !important;text-transform:uppercase;letter-spacing:0.05em;color:var(--grey-dark) !important;border:none !important;overflow-wrap:break-word !important;word-wrap:break-word !important}.brand-header-row th:first-child{border-radius:0.5rem 0 0 0;padding-left:2rem !important}.brand-header-row th:last-child{border-radius:0 0.5rem 0 0;padding-right:2rem !important}.brand-row{border-bottom:1px solid var(--grey-light) !important;transition:all 0.3s ease;position:relative;background:transparent !important}.brand-row.has-actions{cursor:pointer}.brand-row:hover{background:rgba(0, 255, 157, 0.05) !important}.brand-row td{padding:1.5rem 1.5rem !important;border:none !important;vertical-align:middle;position:relative;z-index:1;overflow-wrap:break-word !important;word-wrap:break-word !important}.brand-row td:first-child{padding-left:2rem !important}.brand-row td:last-child{padding-right:2rem !important}.brand-row .actions-cell{text-align:right !important}.brand-table tr.brand-row{border-left:none;border-right:none;border-top:none}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}.controls-container{display:flex;width:100%}.view-toggle-wrapper{flex-shrink:0}.search-wrapper{min-width:0}.card-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));gap:1.5rem;margin-top:1.5rem}.data-card{background:var(--white);border:1px solid var(--grey-light);border-radius:0.75rem;padding:1.5rem;transition:all 0.3s ease;display:flex;flex-direction:column;gap:1rem}.data-card:hover{border-color:var(--brand-green);box-shadow:0 4px 12px rgba(0, 255, 157, 0.1);transform:translateY(-2px)}.card-content{display:flex;flex-direction:column;gap:0.75rem;flex:1}.card-field{display:flex;flex-direction:column;gap:0.25rem}.card-label{font-family:var(--f-ui-03-fontFamily);font-size:var(--f-ui-03-fontSize);font-weight:var(--f-ui-03-fontWeight);line-height:var(--f-ui-03-lineHeight);text-transform:uppercase;letter-spacing:0.05em;color:var(--grey-dark)}.card-value{font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);color:var(--brand-black);word-wrap:break-word}.card-field:first-child .card-value{font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight)}.card-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:0.5rem;padding-top:0.75rem;border-top:1px solid var(--grey-light)}@media (min-width: 640px){.card-grid{grid-template-columns:repeat(auto-fill, minmax(320px, 1fr))}}@media (min-width: 1024px){.card-grid{grid-template-columns:repeat(auto-fill, minmax(350px, 1fr));gap:2rem}}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-start{align-items:flex-start}.items-center{align-items:center}.gap-16{gap:1rem}.mb-16{margin-bottom:1rem}.w-full{width:100%}.w-auto{width:auto}@media (min-width: 750px){.flex-md-row{flex-direction:row}.items-md-center{align-items:center}.w-md-auto{width:auto}.w-md-400{width:400px}}",ji=Ri,on=class{constructor(e){t.registerInstance(this,e),this.rowaction=t.createEvent(this,"rowaction",7),this.viewchange=t.createEvent(this,"viewchange",7),this.handleResize=()=>{this.updateContainerWidth()},this.onActionKeyDown=n=>{var r;if(n.key!=="ArrowRight"&&n.key!=="ArrowLeft")return;n.preventDefault();const i=n.target,a=i.closest('[role="toolbar"]');if(!a)return;const l=Array.from(a.querySelectorAll("eds-button")),s=l.indexOf(i);if(s===-1)return;let o;n.key==="ArrowRight"?o=(s+1)%l.length:o=(s-1+l.length)%l.length,(r=l[o])===null||r===void 0||r.focus()},this.handleSort=n=>{this.sortColumn===n?this.sortDirection=this.sortDirection==="asc"?"desc":"asc":(this.sortColumn=n,this.sortDirection="asc"),w.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/sort`,name:n,action:this.sortDirection})},this.handleViewChange=n=>{this.view=n.detail.value?"card":"table",this.viewchange.emit({view:this.view}),w.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/view-toggle`,name:this.view,action:"view-change"})},this.data=null,this.config={},this.rowsPerPage=10,this.paginationEnabled=!0,this.searchEnabled=!1,this.hostWidth=void 0,this.actions=[],this.actionTemplate=void 0,this.sortingEnabled=!1,this.theme="brand",this.view="table",this.showViewToggle=!1,this.parsedActions=[],this.dataColumns=[],this.tbData=[],this.columns=[],this.currentPage=1,this.parsedConfig={},this.totalRows=0,this.searchQuery="",this.containerWidth=0,this.sortColumn=null,this.sortDirection="asc"}handleDataChange(){this.parseData()}handleConfigChange(){this.parseConfig()}handleActionsChange(){try{this.parsedActions=typeof this.actions=="string"?JSON.parse(this.actions):this.actions}catch{console.error("Failed to parse actions JSON"),this.parsedActions=[]}}componentWillLoad(){this.theme="brand",this.parseConfig(),this.handleActionsChange(),this.parseData()}componentDidLoad(){this.updateContainerWidth(),window.addEventListener("resize",this.handleResize),this.setupPaginationListener()}componentDidUpdate(){this.setupPaginationListener()}disconnectedCallback(){window.removeEventListener("resize",this.handleResize)}updateContainerWidth(){this.hostWidth&&this.hostWidth.trim()!==""?this.containerWidth=Number(this.hostWidth):this.hostEl.parentElement instanceof HTMLElement?this.containerWidth=this.hostEl.parentElement.getBoundingClientRect().width:this.containerWidth=400}parseData(){try{this.tbData=I.parseData(this.data),this.totalRows=this.tbData.length,this.updateColumns(),this.currentPage=1}catch(e){console.error("Failed to parse data:",e),this.tbData=[]}}parseConfig(){try{this.parsedConfig=typeof this.config=="string"?JSON.parse(this.config):this.config}catch(e){console.error("Failed to parse config:",e),this.parsedConfig={}}}setupPaginationListener(){if(!this.shouldEnablePagination())return;const e=this.hostEl.shadowRoot.querySelector("eds-pagination");e&&!e.hasAttribute("listener-attached")&&(e.addEventListener("page",n=>this.handlePageChange(n.detail.value)),e.setAttribute("listener-attached","true"))}getFilteredRows(){return this.tbData.filter(e=>Object.values(e).some(n=>n.toString().toLowerCase().includes(this.searchQuery.toLowerCase())))}getPaginatedRows(){const e=this.getSortedRows();this.totalRows=e.length;const n=(this.currentPage-1)*this.rowsPerPage;return e.slice(n,n+this.rowsPerPage)}handlePageChange(e){this.currentPage=e,w.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/eds-pagination`,name:`${e}`||"",action:"page"})}handleSearch(e){this.searchQuery=e.target.value,this.currentPage=1}renderCell(e,n){var r;const i=(r=this.parsedConfig[n])===null||r===void 0?void 0:r.format;return i==="uppercase"?e==null?void 0:e.toString().toUpperCase():i==="html"||i==="svg"?t.h("div",{innerHTML:e}):i==="bold"?t.h("strong",null,e):i==="code"?t.h("code",null,e):e}renderSingleActionCell(e,n){var r;const i=this.parsedActions.find(x=>x.name===e);if(this.actionTemplate)return this.actionTemplate(n);if((i.type||"button")==="checkbox"){const x=(r=i.field)!==null&&r!==void 0?r:i.name,z=!!n[x];return t.h("eds-input-field",{name:`chc-${e}`,label:i.label,type:"checkbox",checked:z,onChange:A=>this.emitAction(i.name,n,A.target.checked)})}const l=i.showLabel===!0,s=this.theme==="brand",o=i.intent||(s?"primary":"ghost"),h=t.h("eds-button",{icon:i.icon,label:l?i.label:null,iconPos:i.pos||"left",pill:!0,size:"small",intent:o,tabIndex:0,onClick:()=>this.emitAction(i.name,n)});return l?h:t.h("eds-tooltip",{content:i.label},h)}emitAction(e,n,r){w.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/action`,name:e,action:"click"}),this.rowaction.emit({action:e,row:n,checked:!!r})}shouldEnablePagination(){return this.paginationEnabled&&this.totalRows>this.rowsPerPage}updateColumns(){var e,n;this.columns=this.tbData.length>0?Object.keys(this.tbData[0]):[],((n=(e=this.parsedActions)===null||e===void 0?void 0:e.length)!==null&&n!==void 0?n:0)>0&&this.tbData.length>0&&this.columns.push("actions")}capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}getSortedRows(){const e=this.getFilteredRows();return this.sortColumn?[...e].sort((n,r)=>{const i=n[this.sortColumn],a=r[this.sortColumn];if(i==null)return 1;if(a==null)return-1;let l=0;return typeof i=="number"&&typeof a=="number"?l=i-a:l=String(i).localeCompare(String(a)),this.sortDirection==="asc"?l:-l}):e}renderCardView(e){const n=this.columns.filter(r=>{var i;return r!=="actions"&&!(!((i=this.parsedConfig[r])===null||i===void 0)&&i.hidden)});return t.h("div",{class:"card-grid"},e.map(r=>t.h("div",{class:"data-card"},t.h("div",{class:"card-content"},n.map(i=>t.h("div",{class:"card-field"},t.h("span",{class:"card-label"},this.capitalize(i)),t.h("span",{class:"card-value"},this.renderCell(r[i],i))))),this.parsedActions.length>0&&t.h("div",{class:"card-actions"},this.parsedActions.map(i=>t.h("span",null,this.renderSingleActionCell(i.name,r)))))))}renderTableView(e){return t.h("div",{class:`mt-20 ${this.theme==="brand"?"brand-table-wrapper":""}`},t.h("table",{class:`${this.theme==="brand"?"":"block overflow-x-auto"} mt-6 p-0 ${this.theme==="brand"?"brand-table":""}`},t.h("thead",{class:this.theme==="brand"?"brand-thead":""},t.h("tr",{class:`m-0 p-0 border border-softer table-row-${this.theme} ${this.theme==="brand"?"brand-header-row":""}`},this.columns.filter(n=>{var r;return n==="actions"||!(!((r=this.parsedConfig[n])===null||r===void 0)&&r.hidden)}).map(n=>n==="actions"?t.h("th",{class:"m-0 py-8 border border-softer f-ui-02 break-words"}):t.h("th",{class:"m-0 py-8 border border-softer f-ui-02 break-words"},t.h("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem"}},t.h("span",null,this.capitalize(n)),this.sortingEnabled&&t.h("eds-icon-wrapper",{name:this.sortColumn===n&&this.sortDirection==="asc"?"chevron-up":"chevron-down","aria-label":`Sort by ${n}`,onClick:()=>this.handleSort(n),style:{cursor:"pointer"}})))))),t.h("tbody",null,e.map(n=>t.h("tr",{class:`m-0 p-0 border border-softer table-row-${this.theme} ${this.theme==="brand"?"brand-row":""} ${this.parsedActions.length>0?"has-actions":""}`},this.columns.filter(r=>{var i;return r==="actions"||!(!((i=this.parsedConfig[r])===null||i===void 0)&&i.hidden)}).map(r=>r==="actions"?t.h("td",{class:"text-center border border-softer m-0 f-ui-01 break-words actions-cell"},t.h("div",{role:"toolbar","aria-label":"Row actions",onKeyDown:this.onActionKeyDown,style:{display:"flex",gap:"0.5rem",justifyContent:"center",flexWrap:"wrap"}},this.parsedActions.map(i=>t.h("span",{style:{whiteSpace:"nowrap"}},this.renderSingleActionCell(i.name,n))))):t.h("td",{class:"text-center border border-softer m-0 py-8 f-ui-02 break-words"},this.renderCell(n[r],r))))))))}render(){const e=this.getPaginatedRows(),n=Math.ceil(this.totalRows/this.rowsPerPage),r=this.showViewToggle||this.searchEnabled;return t.h("div",{key:"1e8a2f5f19df240ee3a57951641b60b947342fad"},r&&t.h("div",{key:"778fe091226330448bba089189e9dd6a6aa977a9",class:"controls-container flex-col flex-md-row items-start items-md-center justify-between gap-16 mb-16"},this.showViewToggle&&t.h("div",{key:"7ef287464bb2fba846be5341f4bb0e71d982be0e",class:"view-toggle-wrapper"},t.h("eds-switch",{key:"2d3a494a5b354a14c8e882a153633bd5e85a40ab",variant:"segmented",labelOff:"Table View",labelOn:"Card View",checked:this.view==="card",onUiswitch:this.handleViewChange})),this.searchEnabled&&t.h("div",{key:"dfcf6d0bdc23cb10481121881a7656b02a0599c1",class:`search-wrapper w-full ${this.showViewToggle?"w-md-400":""}`},t.h("eds-input-field",{key:1,icon:"search",name:"search","aria-label":"Search",type:"text",placeholder:"Search...",onInput:i=>this.handleSearch(i)}))),this.view==="card"?this.renderCardView(e):this.renderTableView(e),this.shouldEnablePagination()&&t.h("div",{key:"3f7faafdd6147855cb8812ff6303c335c7fd1f35",class:"mt-20"},t.h("eds-pagination",{key:"17705ba01a8ca8cc79bacfce34e55f11ce53d70c",currentPage:this.currentPage,lastPage:n,perPage:this.rowsPerPage,total:this.totalRows,mode:"default"})))}get hostEl(){return t.getElement(this)}static get watchers(){return{data:["handleDataChange","parseData"],config:["handleConfigChange"],actions:["handleActionsChange"]}}};on.style=ji;const Wi=":host{display:block}.tabs-container{display:flex;gap:0.25rem;padding:0.25rem;border-radius:10px;width:fit-content;margin-bottom:3rem}.tabs-container-default{background-color:var(--brand-black, #07140D);border:1px solid rgba(255, 255, 255, 0.06)}.tabs-container-inverse{background:rgba(0, 0, 0, 0.02);border:1px solid rgba(0, 0, 0, 0.06)}.tabs-nav{display:flex;gap:0.25rem}.tab{padding:0.625rem 1.25rem;border-radius:8px;font-size:1.125rem;cursor:pointer;transition:color 0.15s ease;border:none;background:transparent;font-family:'IBM Plex Sans', sans-serif;white-space:nowrap;outline:none}.tab:focus-visible{outline:3px solid var(--brand-green);outline-offset:2px}.tab-default{color:var(--grey-700)}.tab-default:hover{color:var(--white)}.tab-default.tab-active{background:rgba(0, 255, 157, 0.1);color:var(--brand-green)}.tab-inverse{color:var(--grey-700)}.tab-inverse:hover{color:var(--brand-black)}.tab-inverse.tab-active{background:rgba(0, 200, 123, 0.1);color:var(--brand-green-dark)}.tab-panels{margin-top:2rem}.tab-panels>div{outline:none}.tab-panels>div:focus-visible{outline:3px solid var(--brand-green);outline-offset:2px;border-radius:4px}@media (max-width: 768px){.tabs-container{width:100%;overflow-x:auto}.tabs-nav{width:100%;min-width:fit-content}}",qi=Wi,dn=class{constructor(e){t.registerInstance(this,e),this.tab=t.createEvent(this,"tab",7),this.tabRefs=[],this.setTabRef=(n,r)=>{n&&(this.tabRefs[r]=n)},this.identifier=void 0,this.navAriaLabel="Tabs",this.tabs=void 0,this.variant="default",this.parsedTabs=[],this.activeIndex=-1}componentWillLoad(){this.parseTabs(),this.setActiveIndex(),this.tab.emit({tabId:this.identifier,index:this.activeIndex})}parseTabs(){this.parsedTabs=I.parseData(this.tabs),this.tabRefs.length>this.parsedTabs.length&&(this.tabRefs.length=this.parsedTabs.length)}componentDidUpdate(){this.tabRefs.length>this.parsedTabs.length&&(this.tabRefs.length=this.parsedTabs.length)}setActiveIndex(){this.activeIndex=this.parsedTabs.findIndex(e=>e.active),this.activeIndex===-1&&this.parsedTabs.length>0&&(this.activeIndex=0,this.parsedTabs[0].active=!0)}handleTabClick(e,n,r=!0){var i;if(!(e<0||e>=this.parsedTabs.length)&&(this.activeIndex=e,this.parsedTabs=this.parsedTabs.map((a,l)=>Object.assign(Object.assign({},a),{active:l===e})),this.tab.emit({tabId:this.identifier,index:e,name:n}),r&&w.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(n==null?void 0:n.toLowerCase())||"",action:"click"}),r)){const a=()=>{var l;return((l=this.el.shadowRoot)!==null&&l!==void 0?l:this.el).querySelector(`#tab-${e}`)};(i=a())===null||i===void 0||i.focus(),requestAnimationFrame(()=>{var l;const s=a();s&&((l=this.el.shadowRoot)===null||l===void 0?void 0:l.activeElement)!==s&&s.focus()})}}onKeyDown(e,n){let r=n;switch(e.key){case"ArrowRight":r=(n+1)%this.parsedTabs.length,e.preventDefault();break;case"ArrowLeft":r=(n-1+this.parsedTabs.length)%this.parsedTabs.length,e.preventDefault();break;case"Home":r=0,e.preventDefault();break;case"End":r=this.parsedTabs.length-1,e.preventDefault();break;default:return}r!==n&&this.handleTabClick(r,this.parsedTabs[r].label,!0)}render(){const e=["tabs-container",`tabs-container-${this.variant}`].join(" ");return t.h("div",{key:"646f43031cde2e0ab84d2830fd9477841b3c757b",id:`${this.identifier}`},t.h("div",{key:"2eb01c96640c6fc602777f227525066e5970489e",class:e},t.h("nav",{key:"b419fc7414574ea70b19433a3c5daa63b5ad6652",role:"tablist",class:"tabs-nav","aria-label":this.navAriaLabel},this.parsedTabs.map((n,r)=>{const i=r===this.activeIndex,a=["tab",`tab-${this.variant}`,i?"tab-active":""].filter(Boolean).join(" ");return t.h("button",{class:a,type:"button",role:"tab","aria-selected":i?"true":"false",tabIndex:i?0:-1,"aria-label":n.ariaLabel||n.label,"aria-controls":`panel-${r}`,id:`tab-${r}`,ref:l=>this.setTabRef(l,r),onClick:()=>this.handleTabClick(r,n.label,!0),onKeyDown:l=>this.onKeyDown(l,r)},n.label||n.ariaLabel)}))),t.h("div",{key:"0ce244b3d2b2120d1bdf127144e9b42e2ad34e52",class:"tab-panels"},this.parsedTabs.map((n,r)=>t.h("div",{role:"tabpanel",id:`panel-${r}`,"aria-labelledby":`tab-${r}`,hidden:r!==this.activeIndex,tabIndex:r===this.activeIndex?0:-1},t.h("slot",{name:`panel-${r}`})))))}get el(){return t.getElement(this)}static get watchers(){return{tabs:["parseTabs"]}}};dn.style=qi;const Ui=` .f-ui-01 {
|
|
10900
|
+
}`,br=fr,pr=W(["relative inline-flex justify-center items-center py-8 rounded-sm","effect-color effect-focus aria-disabled:text-lightest","cursor-pointer","aria-disabled:bg-dark aria-disabled:cursor-not-allowed aria-disabled:after:!border-transparent"],{variants:{intent:{primary:"bg-strongest text-inverse hover:bg-accent-dark hover:text-default focus:shadow-none aria-disabled:shadow-none",secondary:"hover:bg-strongest hover:text-inverse border-inside text-default bg-transparent hover:bg-dark",secondaryInverse:"border-inside-inverse text-inverse bg-transparent hover:bg-inverse hover:text-default",ghost:"hover:bg-darker",strong:["!px-0 !py-4 !min-h-20 hover:text-accent","before:opacity-0 effect-opacity","hover:before:opacity-100 focus-visible:before:opacity-0","aria-disabled:bg-transparent aria-disabled:text-light"],weak:["!px-0 !py-4 !min-h-20","text-light hover:text-default","before:opacity-0 effect-opacity","hover:before:opacity-100 focus-visible:before:!opacity-0","aria-disabled:bg-transparent aria-disabled:text-light"],inverse:["!px-0 !py-4 !min-h-20","text-inverse","effect-bg-behind-link before:bg-inverse-softer before:opacity-0 effect-opacity","hover:before:opacity-100 focus-visible:before:!opacity-0","aria-disabled:bg-transparent"],underline:["text-default animated-underline !px-0 !py-0","aria-disabled:bg-transparent aria-disabled:text-light aria-disabled:no-underline effect-focus focus-visible:rounded-xs !min-h-0"],underlineInverse:["text-inverse animated-underline-inverse !px-0 !py-0","aria-disabled:bg-transparent aria-disabled:text-lightest aria-disabled:no-underline effect-focus focus-visible:rounded-xs !min-h-0"],brand:["bg-accent text-default hover:bg-strongest hover:text-inverse","rounded-full","aria-disabled:bg-dark aria-disabled:text-lightest"],brandInverse:["bg-accent text-default hover:bg-inverse hover:text-default","rounded-full","aria-disabled:bg-dark aria-disabled:text-lightest"],cta:["cta-link !px-0 !py-0 !min-h-0 !h-auto"],"cta-brand":["cta-link-brand !px-0 !py-0 !min-h-0 !h-auto"]},iconSmall:{true:"",false:""},isActive:{true:"",false:""},hasIcon:{true:"",false:""},size:{small:"min-h-36 f-ui-02 px-12",large:"min-h-44 f-ui-01 px-16"},pill:{true:"rounded-full border-inside-pill",false:"rounded-sm"}},compoundVariants:[{iconSmall:!0,size:"small",class:"pr-4"},{iconSmall:!0,size:"large",class:"pr-8"},{intent:"underline",hasIcon:!0,class:"-mr-4 -top-1"},{intent:"underlineInverse",hasIcon:!0,class:"-mr-4 -top-1"},{intent:"cta",hasIcon:!0,class:"gap-8"},{intent:"cta-brand",hasIcon:!0,class:"gap-8"},{intent:"primary",isActive:!0,class:"!bg-accent-dark"},{intent:"secondary",isActive:!0,class:"!bg-strong-dark"},{intent:"secondaryInverse",isActive:!0,class:"!bg-inverse !text-default"},{intent:"ghost",isActive:!0,class:"!bg-darker"},{intent:"strong",isActive:!0,class:"before:!opacity-100"},{intent:"weak",isActive:!0,class:"before:!opacity-100"},{intent:"inverse",isActive:!0,class:"before:!opacity-100"},{intent:"underline",size:"small",class:"!px-0 !py-0 !min-h-0 f-ui-02"},{intent:"underline",size:"large",class:"!px-0 !py-0 !min-h-0 f-ui-01"},{intent:"underlineInverse",size:"small",class:"!px-0 !py-0 !min-h-0 f-ui-02"},{intent:"underlineInverse",size:"large",class:"!px-0 !py-0 !min-h-0 f-ui-01"},{intent:"cta",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"small",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"cta-brand",size:"large",class:"!px-0 !py-0 !min-h-0 !h-auto"},{intent:"brand",isActive:!0,class:"!bg-inverse !text-default"}],defaultVariants:{isActive:!1,iconSmall:!1,size:"small",hasIcon:!1,pill:!1}}),Ye=class{constructor(e){n.registerInstance(this,e),this.parentContext=null,this.label=void 0,this.intent="primary",this.icon=void 0,this.iconPos="right",this.iconSmall=!1,this.size="small",this.pill=!1,this.external=!1,this.current=!1,this.download=!1,this.url=void 0,this.ariaLabel=void 0,this.disabled=!1,this.hideLabelOnSmallScreen=!1}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}handleClick(e){var t,i;if(this.disabled){e.preventDefault();return}k.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((t=this.label)===null||t===void 0?void 0:t.toLowerCase())||((i=this.ariaLabel)===null||i===void 0?void 0:i.toLowerCase())||"",action:"click"})}handleKeyDown(e){this.disabled||(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.handleClick(e),this.url&&!this.disabled&&(this.external?window.open(this.url,"_blank","noopener,noreferrer"):window.location.href=this.url))}getLinkSize(){return this.size}renderLeftIcon(){return this.icon&&this.iconPos==="left"?n.h("span",{class:"flex"},n.h("eds-icon-wrapper",{"aria-hidden":"true",size:20,class:"flex inline-flex items-center justify-center",name:this.icon})):null}renderRightIcon(){return this.icon&&this.iconPos==="right"?n.h("span",{class:"flex"},n.h("eds-icon-wrapper",{"aria-hidden":"true",size:20,class:"flex inline-flex items-center justify-center",name:this.icon})):null}render(){const e=pr({intent:this.intent,size:this.getLinkSize(),iconSmall:this.iconSmall,isActive:this.current,hasIcon:!!this.icon,pill:this.pill}),t=typeof this.url=="string"&&this.url.length?this.url:void 0,i=!this.disabled,r=!this.label||this.hideLabelOnSmallScreen&&this.icon,a=this.hideLabelOnSmallScreen?"hidden lg:flex":"";return n.h("a",{key:"a447ffc8ba377ceb4fe0dc199ad7225e222d4cf3",class:`${e||""}`,href:i?t:void 0,target:this.external&&i?"_blank":void 0,rel:this.external&&i?"noopener noreferrer":void 0,tabIndex:i?0:-1,"aria-label":r?this.ariaLabel||"Link":void 0,"aria-disabled":this.disabled?"true":void 0,"aria-current":this.current?"page":void 0,role:this.disabled?"link":void 0,download:this.download?"":void 0,onClick:l=>this.handleClick(l),onKeyDown:l=>this.handleKeyDown(l)},n.h("span",{key:"72d84592cfd7e48e983e281d8e8f1d8a2b739e26",class:"z-1 relative inline-flex items-center justify-center"},this.renderLeftIcon(),this.label&&n.h("span",{key:"a101036d3206e7f610c04dfc9d0a4dcd5c1a2b4f",class:`${a} ${this.icon?this.iconPos==="right"?this.size==="large"?"pr-4":"pr-2":this.size==="large"?"pl-4":"pl-2":""}`},this.label),this.renderRightIcon()))}get el(){return n.getElement(this)}};Ye.style=br;const mr=".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.p-\\[24px\\]{padding:24px}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}",ur=mr,Ze=class{constructor(e){n.registerInstance(this,e),this.href="/",this.variant="positive"}handleClick(){k.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:"logo",action:"click"})}render(){const e=this.variant==="negative"?xn.logoNegative:vn.logoPositive;return n.h("a",{key:"3576feaa13063508c317d8b31817165de79ced77",href:this.href,onClick:()=>this.handleClick(),class:"eds-logo-wrapper","aria-label":"Home"},n.h("div",{key:"b43ef52813a59ba47e4a07c3d410b007a27ca186",innerHTML:e}))}get el(){return n.getElement(this)}};Ze.style=ur;const xr=":host{display:block;background-color:var(--white, #FFFFFF);border-radius:16px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.12);overflow:hidden}.flex{display:flex}.items-center{align-items:center}.gap-8{gap:0.5rem}",vr=xr,Ge=class{constructor(e){n.registerInstance(this,e),this.consent=n.createEvent(this,"consent",7),this.heading="Analytics Consent",this.description="We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.",this.optOutMessage="You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.",this.forceShow=!1,this.showNotice=!0}toggleCookiesConsent(){this.showNotice=!this.showNotice}hasCookieConsent(){return!!document.cookie.split("; ").find(e=>e.startsWith("mtm_consent="))}optedOut(){return!!document.cookie.split("; ").find(e=>e.startsWith("mtm_consent_removed"))}getStorageKey(){return`${window.location.host}-matomo-deferred`}componentWillLoad(){if(localStorage.getItem(`${window.location.host}-matomo-consent-given`)==="out"||this.optedOut()){this.showNotice=!1;return}if(this.forceShow)this.showNotice=!0;else if(this.hasCookieConsent())this.showNotice=!1;else{const t=sessionStorage.getItem(this.getStorageKey());this.showNotice=!t}}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(t=>{this.emitContext(t)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}optInAnalytics(){k.matomoOptIn(),localStorage.removeItem(`${window.location.host}-matomo-consent-given`),this.hideNotice(),this.consent.emit("in")}optOutAnalytics(){k.matomoOptOut(),this.hideNotice(),this.consent.emit("out")}noThanks(){k.matomoOptOut(),localStorage.setItem(`${window.location.host}-matomo-consent-given`,"out"),this.hideNotice(),this.consent.emit("out")}keepMeIn(){this.hideNotice()}hideNotice(){this.showNotice=!1}render(){return this.showNotice?n.h("div",null,n.h("eds-accordion",{title:this.heading,description:this.hasCookieConsent()?this.optOutMessage:this.description,switchBg:!0,expanded:!0},this.hasCookieConsent()?n.h("div",{class:"flex items-center gap-8"},this.optedOut()?n.h("eds-button",{intent:"brand",label:"Opt me in again",pill:!0,"aria-label":"Opt me in again",onClick:()=>this.optInAnalytics()}):n.h("eds-button",{intent:"brand",label:"Keep Me In",pill:!0,"aria-label":"Keep Me In",onClick:()=>this.keepMeIn()}),n.h("eds-button",{intent:"ghost",label:"Opt-out",pill:!0,"aria-label":"Opt-out from analytics",onClick:()=>this.optOutAnalytics()})):n.h("div",{class:"flex items-center gap-8"},n.h("eds-button",{intent:"brand",pill:!0,label:"I agree","aria-label":"Opt-in for analytics",onClick:()=>this.optInAnalytics()}),n.h("eds-button",{intent:"ghost",pill:!0,label:"No, thanks","aria-label":"Opt-out from analytics",onClick:()=>this.noThanks()})))):null}get el(){return n.getElement(this)}};Ge.style=vr;const yr='.eds-nps__labels{padding-top:0.75rem;padding-bottom:0.5rem}.eds-nps__scale{display:block;width:fit-content;max-width:100%;padding-top:0.5rem;}#nps-buttons{gap:0.6rem}.eds-nps__btn{border-radius:9999px;transition:transform 0.15s ease-in-out}.eds-nps__btn.is-selected{transform:scale(1.12)}.flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.gap-2{gap:0.125rem}.gap-4{gap:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-dark)}.flex-wrap{flex-wrap:wrap}',wr=yr,Ke=class{constructor(e){n.registerInstance(this,e),this.nps=n.createEvent(this,"nps",7),this.min=0,this.max=10,this.btnRefs=[],this.onSelect=t=>{this.internalValue=t,this.nps.emit(t),requestAnimationFrame(()=>{var i,r;const a=t-this.min;(r=(i=this.btnRefs[a])===null||i===void 0?void 0:i.focus)===null||r===void 0||r.call(i)})},this.handleKeyNav=t=>{const{key:i}=t;if(!["ArrowRight","ArrowLeft","Home","End"," ","Enter"].includes(i))return;t.preventDefault();const a=this.max-this.min+1;let l=this.internalValue==null?0:this.internalValue-this.min;switch(i){case"ArrowRight":l=Math.min(a-1,l+1),this.setActiveByIndex(l,!1);break;case"ArrowLeft":l=Math.max(0,l-1),this.setActiveByIndex(l,!1);break;case"Home":this.setActiveByIndex(0,!1);break;case"End":this.setActiveByIndex(a-1,!1);break;case" ":case"Enter":this.onSelect(this.min+l);break}},this.question=void 0,this.leftLabel=void 0,this.rightLabel=void 0,this.selectedValue=null,this.internalValue=null}handleSelectedValueChange(e){this.internalValue=e}componentWillLoad(){this.internalValue=this.selectedValue}setActiveByIndex(e,t=!1){var i;const r=this.min+e;this.internalValue=r;const a=this.btnRefs[e];typeof(a==null?void 0:a.focusInner)=="function"?a.focusInner():(i=a==null?void 0:a.focus)===null||i===void 0||i.call(a),t&&this.onSelect(r)}render(){const e=this.max-this.min+1;return n.h("div",{key:"edbeca6a946c3b355161d09707d6732dd5a79e67",class:"eds-nps"},n.h("eds-input-label",{key:"cf2b345b98407ee204a914e50183f5f895698adb",id:"nps-question",name:"nps-question",label:this.question}),n.h("div",{key:"423d0d8b676c8d3a72efd71f092a6b041a42c007",class:"eds-nps__scale"},n.h("div",{key:"b93fdd4168213fd5835a1253c5731c8dfa860572",id:"nps-buttons",role:"radiogroup","aria-labelledby":"nps-question",onKeyDown:this.handleKeyNav,class:"flex flex-wrap gap-2 my-8"},Array.from({length:e},(t,i)=>{const r=this.min+i,a=r===this.internalValue,l=a||this.internalValue==null&&i===0?0:-1;return n.h("div",{class:"flex",key:r},n.h("eds-button",{ref:o=>this.btnRefs[i]=o,size:"large",role:"radio","aria-checked":a?"true":"false","aria-label":`${r}`,onClick:()=>this.onSelect(r),tabIndex:l,intent:a?"brand":"brandLight",class:a?"eds-nps__btn is-selected":"eds-nps__btn","extra-class":"!block !px-0 w-full",label:`${r}`,pill:!0,onFocus:()=>{this.internalValue=r}}))})),n.h("div",{key:"035bf1b3da3c481084201b1edb76a4d3e900a878",class:"flex justify-between eds-nps__labels"},n.h("span",{key:"218622e6374ffa7b137b38dde7654e7b671cea6a",class:"f-ui-04 text-light ml-4"},this.leftLabel),n.h("span",{key:"66d04e813fa6eee2fb52b7f48540b647016e0fe7",class:"f-ui-04 text-light mr-4"},this.rightLabel))))}get el(){return n.getElement(this)}static get watchers(){return{selectedValue:["handleSelectedValueChange"]}}};Ke.style=wr;const kr="ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}",zr=kr,Xe=class{constructor(e){n.registerInstance(this,e),this.handleKeyDown=t=>{if(this.mode!=="default"||!this.useButtons)return;const i=this.getNavigableItems();if(t.key==="ArrowRight"||t.key==="ArrowLeft"){t.preventDefault();const r=t.key==="ArrowRight"?1:-1;let a=this.focusedIndex;if(a===-1){const o=i.findIndex(s=>s.type==="page"&&s.page===this.currentPage);a=o!==-1?o:0}let l=a+r;l>=i.length?l=0:l<0&&(l=i.length-1),this.focusedIndex=l,this.focusPaginationItem(l)}else if(t.key==="Home")t.preventDefault(),this.focusedIndex=0,this.focusPaginationItem(0);else if(t.key==="End"){t.preventDefault();const r=i.length-1;this.focusedIndex=r,this.focusPaginationItem(r)}},this.handleItemFocus=t=>{this.focusedIndex=t},this.currentPage=void 0,this.lastPage=void 0,this.perPage=10,this.total=0,this.url="",this.mode="default",this.useButtons=!0,this.prevLabel="Prev",this.nextLabel="Next",this.prevUrl="",this.nextUrl="",this.links=[],this.focusedIndex=-1}componentWillLoad(){this.mode==="default"&&this.generateLinks()}componentDidLoad(){this.useButtons||this.hostEl.shadowRoot.querySelectorAll("eds-link").forEach(t=>{this.emitContext(t)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}onPageOrLastPageChange(){this.mode==="default"&&this.generateLinks()}getNavigableItems(){const e=[];return e.push({type:"prev",disabled:this.isFirstPage()}),this.links.forEach(t=>{typeof t=="object"&&e.push({type:"page",page:parseInt(t.label),disabled:!1})}),e.push({type:"next",disabled:this.isLastPage()}),e.filter(t=>!t.disabled)}focusPaginationItem(e){var t;const i=(t=this.hostEl.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".pagination-button"),r=i==null?void 0:i[e];r&&r.focus()}isFirstPage(){return this.currentPage===1}isLastPage(){return this.currentPage===this.lastPage}generateLink(e){const t=this.url.includes("?");return{ariaLabel:`Go to page ${e}`,url:`${this.url}${t?"&":"?"}page=${e}`,label:e.toString(),current:this.currentPage===e,disabled:!1}}generateLinks(){this.lastPage&&this.lastPage>5?this.links=this.getPaginationGenerator(this.currentPage||1,this.lastPage).map(e=>typeof e=="number"?this.generateLink(e):e):this.lastPage&&(this.links=Array.from({length:this.lastPage}).map((e,t)=>this.generateLink(t+1)))}getPaginationGenerator(e,t){const r=[];if(t<=5)for(let a=1;a<=t;a++)r.push(a);else{r.push(1),e-1>2&&r.push("...");for(let a=Math.max(2,e-1);a<=Math.min(t-1,e+1);a++)r.push(a);e+1<t-1&&r.push("..."),r.push(t)}return r}pageResults(){if(this.total>0){const e=this.perPage*((this.currentPage||1)-1)+1,t=Math.min(this.perPage*(this.currentPage||1),this.total);return this.total>this.perPage?`Showing ${e} to ${t} of ${this.total} results`:`Showing ${this.total} result${this.total!==1?"s":""}`}return""}handlePageClick(e,t){if(this.mode!=="navigator"&&(this.useButtons&&e.preventDefault(),t!==this.currentPage)){this.links=this.links.map(r=>typeof r=="object"?Object.assign(Object.assign({},r),{current:parseInt(r.label)===t}):r);const i=new CustomEvent("page",{detail:{value:t},bubbles:!0,composed:!0});this.hostEl.dispatchEvent(i),this.currentPage=t}}render(){return n.h("div",{key:"7968465b6c55f17657aa5bd3271448a9d780bec7"},this.total>0&&this.mode==="default"&&n.h("p",{key:"e266baaf3b45095b1e0d90c493d254405fa317b7",class:"f-ui-03 text-light mb-28 w-full text-center","aria-live":"polite",id:"pagination-info"},n.h("span",{key:"2acbccf0cb69248fb36b2479eb925d5cb728a3b5",class:"text-light sr-only"},"Results:"),this.pageResults()),this.mode==="navigator"||this.lastPage&&this.lastPage>1?n.h("nav",{"aria-label":"Pagination Navigation","aria-describedby":this.mode==="default"?"pagination-info":void 0,onKeyDown:this.handleKeyDown},n.h("ul",{class:"flex items-center justify-center gap-x-8",role:"list"},n.h("li",{class:"mr-auto"},this.useButtons?n.h("div",{class:"pagination-button-wrapper",onFocus:()=>this.handleItemFocus(-1)},n.h("eds-button",{label:this.prevLabel,disabled:this.mode==="navigator"?!this.prevUrl:this.isFirstPage(),"aria-label":"Go to previous page",icon:"chevron-left","icon-pos":"left",size:"small","icon-small":"true",intent:"ghost","extra-class":"!p-8 lg:!pr-12 pagination-button",onClick:t=>{this.mode==="default"&&!this.isFirstPage()&&this.handlePageClick(t,(this.currentPage||1)-1)}})):n.h("eds-link",{label:this.prevLabel,url:this.mode==="navigator"?this.prevUrl||"#":this.isFirstPage()?"#":this.generateLink(this.currentPage-1).url,disabled:this.mode==="navigator"?!this.prevUrl:this.isFirstPage(),"aria-label":"Go to previous page",icon:"chevron-left","icon-pos":"left",size:"small","icon-small":"true",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pr-12"})),this.mode==="default"&&this.links.map((t,i)=>n.h("li",{key:i,class:"f-ui-02 flex h-36 items-center justify-center"},typeof t=="string"?n.h("span",{class:"flex items-center justify-center","aria-hidden":"true"},t):this.useButtons?n.h("div",{class:"pagination-button-wrapper",onFocus:()=>this.handleItemFocus(-1)},n.h("eds-button",{label:t.label,"aria-label":t.current?`Current page, page ${t.label}`:`Go to page ${t.label}`,"aria-current":t.current?"page":void 0,size:"small","extra-class":"!p-8 pagination-button",intent:t.current?"brand":"ghost",onClick:r=>this.handlePageClick(r,parseInt(t.label))})):n.h("eds-link",{url:t.url,"aria-label":t.ariaLabel,label:t.label,current:t.current,"aria-current":t.current?"page":void 0,size:"small",class:"!p-8",intent:t.current?"primary":"secondary",onClick:r=>this.handlePageClick(r,parseInt(t.label))}))),n.h("li",{class:"ml-auto"},this.useButtons?n.h("div",{class:"pagination-button-wrapper",onFocus:()=>this.handleItemFocus(-1)},n.h("eds-button",{label:this.nextLabel,disabled:this.mode==="navigator"?!this.nextUrl:this.isLastPage(),"aria-label":"Go to next page",size:"small","icon-small":"true",icon:"chevron-right",intent:"ghost","extra-class":"!p-8 lg:!pl-12 pagination-button",onClick:t=>{this.mode==="default"&&!this.isLastPage()&&this.handlePageClick(t,(this.currentPage||1)+1)}})):n.h("eds-link",{label:this.nextLabel,url:this.mode==="navigator"?this.nextUrl||"#":this.isLastPage()?"#":this.generateLink(this.currentPage+1).url,disabled:this.mode==="navigator"?!this.nextUrl:this.isLastPage(),"aria-label":"Go to next page",size:"small","icon-small":"true",icon:"chevron-right",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors"})))):null)}get hostEl(){return n.getElement(this)}static get watchers(){return{currentPage:["onPageOrLastPageChange"],lastPage:["onPageOrLastPageChange"]}}};Xe.style=zr;const Sr=".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-light)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--brand-green)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.absolute{position:absolute}.relative{position:relative}.z-0{z-index:0}.z-10{z-index:10}.inset-0{inset:0rem}.pointer-events-none{pointer-events:none}.brand-gradient{background:linear-gradient(90deg, var(--brand-green-dark) 0%, var(--brand-green) 100%)}.brand-glow{box-shadow:0 0 8px rgba(0, 255, 157, 0.5)}.transition-width{transition:width 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.h-10{height:10px}.mb-12{margin-bottom:0.75rem}.bg-inverse{background-color:var(--white)}.bg-grey-light{background-color:var(--grey-light)}.bg-brand-black{background-color:var(--brand-black)}.text-brand-green-dark{color:var(--brand-green-dark)}.justify-start{justify-content:flex-start}.px-48{padding-left:3rem;padding-right:3rem}.pt-16{padding-top:1rem}.pb-12{padding-bottom:0.75rem}.items-center{align-items:center}",Cr=Sr,Je=class{constructor(e){n.registerInstance(this,e),this.value=0,this.showLabel=!1,this.variant="default",this.labelPaddingX="3rem"}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=Math.min(100,Math.max(0,this.value));if(this.variant==="brand"){const a={paddingLeft:this.labelPaddingX,paddingRight:this.labelPaddingX};return n.h("div",{class:"w-full"},this.showLabel&&n.h("div",{class:"flex items-center pt-16 pb-12 bg-inverse",style:a},n.h("span",{class:"f-ui-03 text-brand-green-dark"},"Progress: ",e,"%")),n.h("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:"w-full h-10 bg-grey-light overflow-hidden relative"},n.h("div",{class:"h-full brand-gradient brand-glow transition-width",style:{width:`${e}%`}})))}const i=["outer","w-full","h-24","bg-default","border","border-softer","overflow-hidden","relative"].filter(Boolean).join(" "),r=["inner","h-full","transition-all","duration-300","bg-accent","z-0"].filter(Boolean).join(" ");return n.h("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:i},n.h("div",{class:r,style:{width:`${e}%`}}),n.h("div",{class:"absolute inset-0 flex items-center justify-center pointer-events-none z-10"},n.h("span",{class:"text-default f-ui-01"},e,"%")))}};Je.style=Cr;const Er=":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--brand-green);}.star:hover,.star.filled:hover{transform:scale(1.2)}.eds-rating__btn{transition:transform 0.15s ease-in-out}.eds-rating__btn.is-selected{transform:scale(1.05)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}",Ir=Er,Qe=class{constructor(e){n.registerInstance(this,e),this.rating=n.createEvent(this,"rating",7),this.buttonRefs=[],this.ratingType="star",this.ratingCount=5,this.selectedRating=0,this.internalRating=0}handleSelectedRatingChange(e){this.internalRating=e}componentWillLoad(){this.internalRating=this.selectedRating}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(t=>{this.emitContext(t)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.internalRating}});e.dispatchEvent(t)}onSelect(e){this.internalRating=e,this.rating.emit(e),setTimeout(()=>{const t=this.buttonRefs[e-1];t==null||t.focus()},0)}handleKeyNav(e){const{key:t}=e;if(!["ArrowRight","ArrowLeft","ArrowDown","ArrowUp"].includes(t))return;e.preventDefault();const i=t==="ArrowRight"||t==="ArrowDown"?1:-1;let r=(this.internalRating||1)+i;r>this.ratingCount&&(r=1),r<1&&(r=this.ratingCount),this.onSelect(r)}render(){return n.h("div",{key:"57a4d7bc36daac45ba1b2a6924a6976919614c99",id:"rating-buttons",role:"group","aria-labelledby":"rating",class:"stars flex space-x-1 my-8",onKeyDown:e=>this.handleKeyNav(e)},Array.from({length:this.ratingCount},(e,t)=>{const i=t+1,r=i<=this.internalRating,a=this.internalRating===i;return n.h("eds-button",{ref:l=>this.buttonRefs[t]=l,icon:this.ratingType,"aria-label":`${i} ${this.ratingType}${i>1?"s":""}`,onClick:()=>this.onSelect(i),tabIndex:a||this.internalRating===0&&t===0?0:-1,intent:r?"brand":"brandLight",class:r?"eds-rating__btn is-selected":"eds-rating__btn",size:"large"})}))}get el(){return n.getElement(this)}static get watchers(){return{selectedRating:["handleSelectedRatingChange"]}}};Qe.style=Ir;const Ar=":host{display:block;width:100%;font-family:var(--f-ui-02-fontFamily, 'IBM Plex Sans', system-ui, sans-serif)}.eds-ss{position:relative;display:block;width:100%}.eds-ss__labelrow{display:flex;justify-content:space-between;margin-bottom:0.25rem}.eds-ss__hint{margin-top:0.5rem;margin-left:0.5rem;font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing);color:var(--grey-600)}.eds-ss__control{position:relative}.eds-ss__box{display:flex;flex-wrap:wrap;align-items:center;gap:0.35rem;width:100%;box-sizing:border-box;min-height:2.5rem;padding:6px 0.75rem;padding-right:3.75rem;border-width:2px;border-style:solid;border-color:rgba(0, 0, 0, 0.1);border-radius:8px;background:var(--white, #fff);transition-property:color, background-color, border-color;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-duration:300ms}.eds-ss__box:hover{border-color:var(--brand-black)}.eds-ss__box:focus-within{border-color:var(--brand-black);outline:3px solid var(--brand-green);outline-offset:2px}.eds-ss__box.is-error{border-color:var(--red-700)}.eds-ss__box.is-disabled{cursor:not-allowed;background-color:var(--grey-300)}.eds-ss__input{flex:1;min-width:6rem;border:none;outline:none;background:transparent;padding:4px 0;color:var(--brand-black);font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.eds-ss__input::placeholder{color:var(--grey-500);opacity:1}.eds-ss__input:disabled{cursor:not-allowed;color:var(--grey-500)}.eds-ss__chip{display:inline-flex;align-items:center;gap:0.35rem;padding:4px 0.4rem 4px 0.7rem;background:rgba(0, 200, 123, 0.12);color:var(--brand-green-dark, #00A867);border-radius:6px;font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);font-weight:600;line-height:1.4;max-width:100%}.eds-ss__chip-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eds-ss__chip-x{flex-shrink:0;border:none;background:none;cursor:pointer;color:var(--brand-green-dark, #00A867);font-size:1.2rem;line-height:1;padding:0 2px}.eds-ss__chip-x:hover{color:var(--brand-black, #07140D)}.eds-ss__clear,.eds-ss__chevron{position:absolute;top:50%;transform:translateY(-50%)}.eds-ss__chevron{right:6px;width:1.75rem;height:1.75rem;display:flex;align-items:center;justify-content:center;background-color:var(--grey-300);border-radius:4px;color:var(--brand-black);pointer-events:none}.eds-ss__clear{right:2.6rem;color:var(--grey-600, #6e6e6e);background:none;border:none;cursor:pointer;font-size:1.05rem;line-height:1}.eds-ss__clear:hover{color:var(--brand-black, #07140D)}.eds-ss__list{position:absolute;z-index:50;left:0;right:0;margin:0.25rem 0 0;padding:0.25rem;list-style:none;max-height:18rem;overflow-y:auto;background:var(--white, #fff);border:2px solid rgba(0, 0, 0, 0.1);border-radius:8px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.12)}.eds-ss__option{padding:0.5rem 0.6rem;border-radius:6px;cursor:pointer;color:var(--brand-black, #07140D);font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.eds-ss__option.is-active{background:rgba(0, 200, 123, 0.1)}.eds-ss__option.is-selected{font-weight:600;color:var(--brand-green-dark, #00A867)}.eds-ss__status,.eds-ss__more{padding:0.5rem 0.6rem;font-family:var(--f-ui-05-fontFamily);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);color:var(--grey-600, #6e6e6e)}.eds-ss__status.is-error{color:var(--red-700, #d64545)}.eds-ss__more{border-top:1px solid rgba(0, 0, 0, 0.1);margin-top:0.25rem;font-style:italic}.mt-6{margin-top:0.375rem}",Fr=Ar,en=class{constructor(e){n.registerInstance(this,e),this.edsinput=n.createEvent(this,"edsinput",7),this.edschange=n.createEvent(this,"edschange",7),this.debounceTimer=null,this.inlineOptions=[],this.listboxId=`eds-ss-list-${Math.round(performance.now())}`,this.labelCache={},this.onInput=t=>{this.query=t.target.value,this.open=!0,this.activeIndex=-1,this.runSearch(this.query)},this.clear=()=>{this.multiple?(this.value=[],this.emitValue([])):(this.value=void 0,this.selectedLabel="",this.emitValue("")),this.query=""},this.onKeyDown=t=>{if(t.key==="ArrowDown"){if(t.preventDefault(),!this.open)return this.openMenu();this.activeIndex=Math.min(this.activeIndex+1,this.visibleItems.length-1)}else t.key==="ArrowUp"?(t.preventDefault(),this.activeIndex=Math.max(this.activeIndex-1,0)):t.key==="Enter"?this.open&&this.activeIndex>=0&&(t.preventDefault(),this.select(this.visibleItems[this.activeIndex])):t.key==="Escape"?this.closeMenu():t.key==="Backspace"&&this.multiple&&!this.query&&this.selectedValues.length&&this.removeValue(this.selectedValues[this.selectedValues.length-1])},this.onDocumentClick=t=>{this.open&&!t.composedPath().includes(this.host)&&this.closeMenu()},this.name=void 0,this.label=void 0,this.placeholder="Search…",this.required=!1,this.disabled=!1,this.hint=void 0,this.message=void 0,this.error=!1,this.errorMessage=void 0,this.value=void 0,this.multiple=!1,this.options=void 0,this.source=void 0,this.apiBase="/api/v1",this.searchParam="q",this.limit=50,this.debounceMs=250,this.maxVisible=100,this.open=!1,this.query="",this.loading=!1,this.fetchError="",this.items=[],this.total=0,this.activeIndex=-1,this.selectedLabel=""}componentWillLoad(){this.parseInlineOptions(),this.resolveSelectedLabel()}onOptionsChange(){this.parseInlineOptions(),this.resolveSelectedLabel()}onValueChange(){this.resolveSelectedLabel()}parseInlineOptions(){if(!this.options){this.inlineOptions=[];return}if(typeof this.options=="string")try{this.inlineOptions=JSON.parse(this.options)||[]}catch{this.inlineOptions=[]}else this.inlineOptions=this.options;this.cacheLabels(this.inlineOptions)}cacheLabels(e){(e||[]).forEach(t=>{t&&t.value!=null&&(this.labelCache[String(t.value)]=t.label)})}get selectedValues(){const e=this.value;return Array.isArray(e)?e.map(String).filter(t=>t!==""):typeof e=="string"&&e!==""?this.multiple?e.split(",").filter(Boolean):[e]:[]}labelFor(e){var t,i;return this.labelCache[String(e)]||((t=this.inlineOptions.find(r=>String(r.value)===String(e)))===null||t===void 0?void 0:t.label)||((i=this.items.find(r=>String(r.value)===String(e)))===null||i===void 0?void 0:i.label)||String(e)}emitValue(e){this.edsinput.emit({value:e}),this.edschange.emit({value:e})}get isRemote(){return!!this.source&&this.inlineOptions.length===0}resolveSelectedLabel(){if(!this.value){this.selectedLabel="";return}const t=(this.inlineOptions.length?this.inlineOptions:this.items).find(i=>String(i.value)===String(this.value));this.selectedLabel=t?t.label:String(this.value)}filterInline(e){const t=e.trim().toLowerCase();return t?this.inlineOptions.filter(i=>i.label.toLowerCase().includes(t)||String(i.value).toLowerCase().includes(t)):this.inlineOptions}async fetchRemote(e){this.loading=!0,this.fetchError="";try{const t=new URLSearchParams({[this.searchParam]:e,limit:String(this.limit)}),i=`${this.apiBase}/datasets/${encodeURIComponent(this.source)}/search?${t}`,r=await fetch(i);if(!r.ok)throw new Error(`Search failed: ${r.statusText}`);const a=await r.json();this.items=a.items||[],this.cacheLabels(this.items),this.total=typeof a.total=="number"?a.total:this.items.length,this.resolveSelectedLabel()}catch(t){this.fetchError=t instanceof Error?t.message:"Search failed",this.items=[],this.total=0}finally{this.loading=!1}}runSearch(e,t=!1){this.isRemote?(this.loading=!0,clearTimeout(this.debounceTimer),t?this.fetchRemote(e):this.debounceTimer=setTimeout(()=>this.fetchRemote(e),this.debounceMs)):(this.items=this.filterInline(e),this.total=this.items.length)}get visibleItems(){return this.items.slice(0,this.maxVisible)}get hiddenCount(){return Math.max(0,this.total-this.visibleItems.length)}openMenu(){this.disabled||(this.open=!0,this.activeIndex=-1,(!this.items.length||this.isRemote)&&this.runSearch(this.query,!0))}closeMenu(){this.open=!1,this.activeIndex=-1}select(e){if(this.labelCache[String(e.value)]=e.label,this.multiple){const t=this.selectedValues,i=String(e.value),r=t.includes(i)?t.filter(a=>a!==i):[...t,i];this.value=r,this.query="",this.emitValue(r),this.runSearch("",!0);return}this.value=e.value,this.selectedLabel=e.label,this.query="",this.closeMenu(),this.emitValue(e.value)}removeValue(e,t){t==null||t.stopPropagation();const i=this.selectedValues.filter(r=>r!==String(e));this.value=i,this.emitValue(i)}connectedCallback(){document.addEventListener("click",this.onDocumentClick,!0)}disconnectedCallback(){document.removeEventListener("click",this.onDocumentClick,!0),clearTimeout(this.debounceTimer)}render(){const e=this.selectedValues,t=e.length>0,i=this.multiple?this.query:this.open?this.query:this.selectedLabel,r=this.multiple?t?"":this.placeholder:t&&!this.open?this.selectedLabel:this.placeholder;return n.h("div",{key:"c07301b4d8b6dceeea092423faeefdb51df5882a",class:"eds-ss"},(this.label||this.hint)&&n.h("div",{key:"852ddc433b142caed852c7503d68aab968808480",class:"eds-ss__labelrow"},this.label&&n.h("eds-input-label",{key:"d44b4925954172a7ad5dec8e71b363630fc8cd3b",name:`${this.name}-input`,label:this.label,required:this.required,disabled:this.disabled}),this.hint&&n.h("p",{key:"964933f90c1526383364fa4a76b6b31846a6e3e0",id:`${this.name}-hint`,class:"eds-ss__hint"},this.hint)),n.h("div",{key:"69b226ececf5431ce220f5686e01f18aba100b8d",class:"eds-ss__control relative"},n.h("div",{key:"942ba3e7020e2a9ae1eb4176b1d7b7444368baa3",class:{"eds-ss__box":!0,"is-error":this.error||!!this.fetchError,"is-disabled":this.disabled}},this.multiple&&e.map(a=>n.h("span",{class:"eds-ss__chip",key:a},n.h("span",{class:"eds-ss__chip-label"},this.labelFor(a)),!this.disabled&&n.h("button",{type:"button",class:"eds-ss__chip-x","aria-label":`Remove ${this.labelFor(a)}`,onMouseDown:l=>{l.preventDefault(),this.removeValue(a,l)}},"×"))),n.h("input",{key:"c41ce7b8e648f0c9e688ae94b0a1a25945ad8715",id:`${this.name}-input`,class:"eds-ss__input",type:"text",role:"combobox",autocomplete:"off","aria-expanded":this.open?"true":"false","aria-controls":this.listboxId,"aria-autocomplete":"list",placeholder:r,value:i,disabled:this.disabled,required:this.required&&!t,onFocus:()=>this.openMenu(),onInput:this.onInput,onKeyDown:this.onKeyDown})),!this.multiple&&t&&!this.disabled&&n.h("button",{key:"331e43093fc5749fc369bf976119610b2a310576",type:"button",class:"eds-ss__clear","aria-label":"Clear selection",onClick:this.clear},"×"),n.h("span",{key:"11b78efe2584e65cb533fb88746ad38da47f2b8d",class:"eds-ss__chevron","aria-hidden":"true"},n.h("eds-icon-wrapper",{key:"ca62bbe9b3f90b1625208584a6b9e5a154acc5be",name:"chevron-right",size:20}))),this.open&&n.h("ul",{key:"f4739dc147217d1d575494d0bdd83427f898ddc3",class:"eds-ss__list",id:this.listboxId,role:"listbox"},this.loading&&n.h("li",{key:"def95414349449021ec318cae0e3990621992e3e",class:"eds-ss__status"},"Searching…"),!this.loading&&this.fetchError&&n.h("li",{key:"32d940c717170d0e53200ff552bf513e3e6e5fe1",class:"eds-ss__status is-error"},this.fetchError),!this.loading&&!this.fetchError&&this.visibleItems.length===0&&n.h("li",{key:"bea6ededb51b4baab76eca8a237d4a740d3478da",class:"eds-ss__status"},"No matches"),!this.loading&&!this.fetchError&&this.visibleItems.map((a,l)=>n.h("li",{key:a.value,class:{"eds-ss__option":!0,"is-active":l===this.activeIndex,"is-selected":e.includes(String(a.value))},role:"option","aria-selected":e.includes(String(a.value))?"true":"false",onMouseEnter:()=>this.activeIndex=l,onMouseDown:o=>{o.preventDefault(),this.select(a)}},a.label)),!this.loading&&!this.fetchError&&this.hiddenCount>0&&n.h("li",{key:"8d6fe6aa8041a948a19004a03728b1439469e28e",class:"eds-ss__more"},"+",this.hiddenCount," more — keep typing to narrow")),n.h("div",{key:"dfb6a12b7eff98bd05b674d385db1dc2e6a17ac2",class:"mt-6"},n.h("eds-input-footer",{key:"2f0b9dbc247dea65d3c7abea1a6384b496e586b8",name:this.name,message:this.message,error:this.error,"error-message":this.errorMessage})))}get host(){return n.getElement(this)}static get watchers(){return{options:["onOptionsChange"],value:["onValueChange"]}}};en.style=Fr;const _r=":host{display:block;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;transition:width 0.3s ease}:host(.collapsed){width:4rem}:host::-webkit-scrollbar{width:8px}:host::-webkit-scrollbar-track{background:transparent}:host::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.2);border-radius:4px}:host::-webkit-scrollbar-thumb:hover{background:rgba(0, 0, 0, 0.3)}.sidebar-nav{padding:0.5rem 0}.sidebar-header{display:flex;justify-content:flex-end;padding:0.5rem 0.75rem;margin-bottom:0.5rem}:host(.collapsed) .sidebar-header{justify-content:center;padding:0.5rem}.collapse-toggle{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:none;border:none;cursor:pointer;padding:0;border-radius:0.375rem;transition:background-color 0.15s ease;color:inherit}.collapse-toggle:hover{background-color:rgba(0, 0, 0, 0.08)}.collapse-toggle:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:2px}.sidebar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.125rem}.sidebar-item{display:flex;flex-direction:column}.sidebar-item-content{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;cursor:pointer;user-select:none;word-break:break-word;transition:background-color 0.15s ease;border-radius:0.375rem;margin:0 0.5rem;position:relative}:host(.collapsed) .sidebar-item-content{justify-content:center;padding:0.75rem;margin:0 0.5rem}.sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}.sidebar-item-content:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:-2px;z-index:1}.sidebar-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem}.sidebar-content-wrapper{display:flex;align-items:center;gap:0.5rem;flex:1;min-width:0}.sidebar-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem;padding:0;margin:-0.125rem 0;pointer-events:none}.sidebar-link-wrapper{flex:1;min-width:0;pointer-events:none}.sidebar-link{font-weight:400;pointer-events:none}.sidebar-children{list-style:none;margin:0.25rem 0 0 0;padding:0;display:flex;flex-direction:column;gap:0.125rem;overflow:hidden;animation:slideDown 0.2s ease}@keyframes slideDown{from{opacity:0;transform:translateY(-0.25rem)}to{opacity:1;transform:translateY(0)}}.sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.collapsed) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}.sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}.sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}.sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}.sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}.sidebar-item.level-5 .sidebar-item-content{padding-left:7rem}:host(.theme-default) .sidebar-item-content{border-radius:0.375rem;margin:0 0.5rem;padding:0.5rem 0.75rem}:host(.theme-default.collapsed) .sidebar-item-content{margin:0 0.5rem;border-radius:0.375rem}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:transparent}:host(.theme-default) .sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:600}:host(.theme-default) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.theme-default) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-default) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-default) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-default) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-item-content{border-radius:0;margin:0;padding-left:1rem;padding-right:1rem}:host(.theme-minimal.collapsed) .sidebar-item-content{margin:0 0.25rem;border-radius:0.375rem}:host(.theme-minimal) .sidebar-item-content:hover{background-color:rgba(0, 255, 157, 0.05);color:var(--brand-black, #07140D)}:host(.theme-minimal) .sidebar-item.active>.sidebar-item-content{background-color:rgba(0, 255, 157, 0.1);border-left:3px solid var(--brand-green-dark, #00C87B);padding-left:calc(1rem - 3px);color:var(--brand-black, #07140D);font-weight:500}:host(.theme-minimal.collapsed) .sidebar-item.active>.sidebar-item-content{border-left:none;border-radius:0.375rem;padding-left:0.75rem;background-color:rgba(0, 255, 157, 0.1);color:var(--brand-black, #07140D)}:host(.theme-minimal) .sidebar-item.level-1.active>.sidebar-item-content{padding-left:calc(2rem - 3px)}:host(.theme-minimal) .sidebar-item.level-2.active>.sidebar-item-content{padding-left:calc(3.25rem - 3px)}:host(.theme-minimal) .sidebar-item.level-3.active>.sidebar-item-content{padding-left:calc(4.5rem - 3px)}:host(.theme-minimal) .sidebar-item.level-4.active>.sidebar-item-content{padding-left:calc(5.75rem - 3px)}:host(.theme-minimal) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-minimal) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-minimal) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-minimal) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-minimal) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-children{position:relative}:host(.theme-ebrains) .sidebar-item-content{padding:0.5rem 1rem;border-radius:0.5rem;margin:0 0.5rem}:host(.theme-ebrains.collapsed) .sidebar-item-content{padding:0.75rem}:host(.theme-ebrains) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.05)}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content{background-color:var(--brand-green-dark, #22c55e);color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-link{--eds-link-color:white;--eds-link-hover-color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-toggle{color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-icon{color:white}:host(.theme-ebrains) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-ebrains) .sidebar-item.level-1 .sidebar-item-content{padding-left:2.25rem}:host(.theme-ebrains) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.5rem}:host(.theme-ebrains) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.75rem}:host(.theme-ebrains) .sidebar-item.level-4 .sidebar-item-content{padding-left:6rem}@media (prefers-color-scheme: dark){.collapse-toggle:hover{background-color:rgba(255, 255, 255, 0.08)}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.05)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:rgba(0, 102, 204, 0.15)}:host(.theme-minimal) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.06)}:host::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.2)}:host::-webkit-scrollbar-thumb:hover{background:rgba(255, 255, 255, 0.3)}}.sidebar-toggle eds-icon-wrapper,.sidebar-icon eds-icon-wrapper,.collapse-toggle eds-icon-wrapper{transition:transform 0.15s ease;display:flex;align-items:center;justify-content:center}.sidebar-item-content:focus-visible .sidebar-link{text-decoration:underline}.sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:500}:host(.collapsed) .sidebar-item-content::after{content:attr(title);position:absolute;left:100%;top:50%;transform:translateY(-50%);margin-left:0.5rem;padding:0.5rem 0.75rem;background:rgba(0, 0, 0, 0.9);color:white;border-radius:0.375rem;white-space:nowrap;font-size:0.875rem;opacity:0;pointer-events:none;transition:opacity 0.2s ease;z-index:1000}:host(.collapsed) .sidebar-item-content:hover::after{opacity:1;transition-delay:0.3s}.-ml-4{margin-left:-0.25rem}.mt-2{margin-top:0.125rem}",Lr=_r,nn=class{constructor(e){n.registerInstance(this,e),this.sidebar=n.createEvent(this,"sidebar",7),this.toggleItem=(t,i)=>{i&&i.stopPropagation();const r=new Set(this.openItems);r.has(t)?r.delete(t):r.add(t),this.openItems=r},this.navigate=(t,i)=>{!this.enableRouting||!t||(i&&(i.preventDefault(),i.stopPropagation()),this.sidebar.emit(t),typeof window<"u"&&window.history&&window.history.pushState({},"",t))},this.handleItemClick=(t,i)=>{var r;if(!((r=t.children)===null||r===void 0)&&r.length){this.toggleItem(t.id,i);return}t.url&&this.navigate(t.url,i)},this.items="[]",this.theme="default",this.activeUrl="",this.enableRouting=!0,this.maxLevel=4,this.openItems=new Set,this.parsedItems=[]}componentWillLoad(){this.parsedItems=this.parseItems(this.items),this.initializeOpenItems(this.parsedItems)}handleItemsChange(e){this.parsedItems=this.parseItems(e),this.initializeOpenItems(this.parsedItems)}handleActiveUrlChange(){this.initializeOpenItems(this.parsedItems)}parseItems(e){if(Array.isArray(e))return e;if(typeof e=="string"){if(!e||e.trim()==="")return[];try{const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch(t){return console.error("eds-sidebar: Failed to parse items JSON:",t),console.error("Received string:",e),[]}}return[]}initializeOpenItems(e,t=0){t===0&&(this.openItems=new Set),!(t>=this.maxLevel)&&e.forEach(i=>{var r;const a=this.activeUrl&&i.url===this.activeUrl,l=this.hasActiveDescendant(i);(i.open||a||l)&&this.openItems.add(i.id),!((r=i.children)===null||r===void 0)&&r.length&&this.initializeOpenItems(i.children,t+1)})}hasActiveDescendant(e){var t;return e.url===this.activeUrl?!0:!((t=e.children)===null||t===void 0)&&t.length?e.children.some(i=>this.hasActiveDescendant(i)):!1}renderItem(e,t=0){if(t>=this.maxLevel)return null;const i=this.openItems.has(e.id),r=!!e.url&&this.activeUrl===e.url,a=!!(e.children&&e.children.length),o=`${`eds-sidebar-${e.id}`}-children`;return n.h("li",{class:{"sidebar-item":!0,open:i,active:r,"has-children":a,[`level-${t}`]:!0}},n.h("div",{class:"sidebar-item-content",onClick:s=>this.handleItemClick(e,s),role:a?"button":e.url?"link":"button",tabindex:"0","aria-current":r?"page":void 0,"aria-expanded":a?i?"true":"false":void 0,"aria-controls":a?o:void 0,onKeyDown:s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),this.handleItemClick(e,s))}},a&&n.h("span",{class:"sidebar-toggle -ml-4","aria-hidden":"true"},n.h("eds-icon-wrapper",{name:i?"chevron-down":"chevron-right"})),n.h("span",{class:"sidebar-link-wrapper"},n.h("eds-link",{label:e.title,url:e.url||"#",intent:r?"strong":"weak",size:"small","aria-label":e.title,"extra-class":"sidebar-link",tabindex:"-1"}))),a&&i&&n.h("ul",{id:o,class:"sidebar-children"},e.children.map(s=>this.renderItem(s,t+1))))}render(){return n.h(n.Host,{key:"f5221c19e8148ca62a76fb470a4aa6786c3e41b5",class:{"eds-sidebar":!0,[`theme-${this.theme}`]:!0}},n.h("nav",{key:"0a975a10a3892f6eabaf2a1c2be21963f0e76549",class:"sidebar-nav","aria-label":"Sidebar"},n.h("ul",{key:"498436fa1f4ec7ff2f3feea843fe58b415d20a3f",class:"sidebar-list"},this.parsedItems.map(e=>this.renderItem(e,0)))))}get el(){return n.getElement(this)}static get watchers(){return{items:["handleItemsChange"],activeUrl:["handleActiveUrlChange"]}}};nn.style=Lr;const Mr="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.mt-12{margin-top:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-inverse{color:var(--white)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}",Hr=Mr,tn=class{constructor(e){n.registerInstance(this,e),this.socialNetworks=[{label:"Twitter",url:"https://twitter.com/ebrains_eu",icon:"twitter"},{label:"Linkedin",url:"https://www.linkedin.com/company/ebrains-eu/about/",icon:"linkedin"},{label:"Facebook",url:"https://www.facebook.com/people/Ebrains_eu/100046659909324/",icon:"facebook"},{label:"Youtube",url:"https://www.youtube.com/channel/UC6E796cVVR5Xrs2A5jJmleQ",icon:"youtube"},{label:"Mastodon",url:"https://mastodon.social/@ebrains",icon:"mastodon"},{label:"Bluesky",url:"https://bsky.app/profile/ebrains.bsky.social",icon:"bluesky"}],this.heading="Follow EBRAINS to keep up-to-date",this.variant="default"}render(){const e=this.variant==="inverse",t=e?"text-inverse":"",i=e?"inverse":"strong";return n.h("nav",{key:"42abfdc0d94bad2fa273de7a476099df0a5103ff","aria-label":"Social media"},n.h("p",{key:"c2eb9600afd49b5b178392f0f46efd58909f8843",class:`f-ui-02 ${t}`},this.heading),n.h("ul",{key:"b71a410550b06d89947ee9475af98c19cbe7e130",class:"mt-12 flex gap-4"},this.socialNetworks.map((r,a)=>n.h("li",{key:a},n.h("eds-link",{external:!0,"aria-label":`EBRAINS on ${r.label}`,url:r.url,icon:r.icon,intent:i})))))}};tn.style=Hr;const Dr=":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}",Br=Dr,rn=class{constructor(e){n.registerInstance(this,e),this.size="md",this.variant="secondary",this.message=void 0,this.background="var(--grey-light)",this.fullscreen=!1}get spinnerSize(){switch(this.size){case"xs":return"1rem";case"sm":return"4rem";case"lg":return"8rem";case"xl":return"10rem";case"md":default:return"6rem"}}get spinnerThickness(){switch(this.size){case"xs":return"4px";case"sm":return"8px";case"lg":return"16px";case"xl":return"20px";case"md":default:return"12px"}}render(){const e=this.variant==="primary"?"var(--brand-black)":"var(--grey-dark)",t=this.variant==="primary"?"var(--brand-green)":"var(--brand-black)",i=Object.assign({width:this.spinnerSize,height:this.spinnerSize,border:`${this.spinnerThickness} solid ${e}`,borderBottomColor:t},!this.fullscreen&&{display:"inline-block"}),r=this.fullscreen?{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"9999999",backgroundColor:this.background,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",backgroundColor:this.background,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"};return n.h(n.Host,{key:"4b78f045f987eb40289d2829bab08f28324f13d2"},n.h("div",{key:"05fcd319080518845630c6fd4bccda02032c3c5f",class:"spinner-overlay",style:r},n.h("span",{key:"c1e24a0e3f3f9704ad9a118724f3437124e4f36f",class:"spinner",style:i}),this.message&&n.h("p",{key:"947cd986f00100e950b1c2380b651c6baebca142",class:"f-ui-01"},this.message)))}};rn.style=Br;const Tr=`blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:31px;height:31px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.text-center{text-align:center}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-light)}.text-lighter{color:var(--grey-dark)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.justify-between{justify-content:space-between}.mt-16{margin-top:1rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.mb-16{margin-bottom:1rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-light)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.items-center{align-items:center}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title[role="button"]{cursor:pointer}.eds-steps__title.is-disabled{cursor:not-allowed;color:rgba(0, 0, 0, 0.5);}.eds-steps__title.is-disabled::before{opacity:1;filter:none}.steps--horizontal{display:flex;flex-direction:column;gap:2rem}.horizontal-indicators{display:flex;align-items:flex-start;gap:0;padding:0;margin-top:1.75rem;margin-bottom:0}.horizontal-step{display:flex;flex-direction:column;align-items:flex-start;gap:0.6rem;cursor:pointer;flex:1 1 0;min-width:0;position:relative}.horizontal-step:last-child{flex:0 0 auto}.horizontal-step:not(:last-child)::after{content:'';position:absolute;top:1.375rem;left:calc(2.75rem + 0.4rem);width:calc(100% - 2.75rem - 0.8rem);height:3px;border-radius:2px;background-color:#e0e0e0;transform:translateY(-50%);z-index:1}.horizontal-step>span{text-align:left;align-self:stretch}.horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green-dark);}.step-indicator{width:2.75rem;height:2.75rem;border-radius:50%;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background-color:white;transition:all 0.3s ease;flex:0 0 auto}.horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.horizontal-step.is-disabled{opacity:0.5;cursor:not-allowed}.step-number{font-family:var(--font-family-mono, 'IBM Plex Mono', monospace);font-weight:500;font-size:0.95rem}.step-label{font-family:var(--font-family-mono, 'IBM Plex Mono', monospace);font-size:9.5px;letter-spacing:0.07em;text-transform:uppercase;font-weight:500;color:var(--dark-grey, #7a7b7a)}.horizontal-step.is-active .step-label{color:var(--brand-green-dark)}.step-content{padding:0.5rem 0;margin-left:0;margin-right:0}@media (min-width: 700px){.step-content{padding:1.5rem 0}}.opacity-50{opacity:0.5}.eds-steps__title[role="button"]{cursor:pointer}.theme-brand.steps h3::before,.theme-brand.steps h4::before,.theme-brand.steps h5::before{background:var(--brand-green);color:var(--brand-black);border-color:var(--brand-green);font-weight:600}.theme-brand .step-indicator{background-color:var(--grey-light);border-color:transparent;color:var(--dark-grey, #7a7b7a)}.theme-brand .horizontal-step.is-active .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black);box-shadow:0 0 0 4px rgba(0, 255, 157, 0.2)}.theme-brand .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black)}.theme-brand .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green)}.theme-brand .horizontal-step.is-active .step-label,.theme-brand .horizontal-step.is-completed .step-label{color:var(--brand-black)}.theme-brand .step-number{font-weight:600}.theme-default.steps h3::before,.theme-default.steps h4::before,.theme-default.steps h5::before{background:var(--grey-900);color:#fff;border-color:#ccc}.theme-default .step-indicator{background-color:white;border-color:#e0e0e0}.theme-default .horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.theme-default .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.theme-default .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green-dark)}.theme-default .horizontal-step.is-active .step-label{color:var(--brand-green-dark)}`,Vr=Tr,an=class{constructor(e){n.registerInstance(this,e),this.step=n.createEvent(this,"step",7),this.finished=n.createEvent(this,"finished",7),this.next=n.createEvent(this,"next",7),this.back=n.createEvent(this,"back",7),this.onResize=()=>{this.isMobile=typeof window<"u"&&window.innerWidth<750},this.handleTitleClick=t=>{if(this.type==="linear"){if(t>this.activeStep){for(let i=this.activeStep;i<t;i++)if(this.isStepDisabled(i))return}this.activeStep=t,this.step.emit(this.activeStep);return}if(this.orientation==="vertical"&&t===this.activeStep&&this.collapsibleTitles){this.activeStep=this.activeStep===t?-1:t,this.step.emit(this.activeStep);return}this.activeStep=t,this.step.emit(this.activeStep)},this.handleNext=()=>{const t=this.parsedSteps.length-1;if(this.activeStep>=t){this.finished.emit();return}const i=this.activeStep+1;this.next.emit(i),!this.isStepDisabled(this.activeStep)&&(this.activeStep=i,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1))},this.handleBack=()=>{const t=this.parsedSteps.length-1;if(this.activeStep<0){this.activeStep=t,this.step.emit(this.activeStep);return}if(this.activeStep>0){const i=this.activeStep-1;this.back.emit(i),this.activeStep=i,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1)}},this.steps=[],this.type="static",this.orientation="vertical",this.theme="default",this.nextLabel="Next",this.backLabel="Back",this.finishLabel="Finish",this.showFinish=!0,this.disableNext=!1,this.headingLevel="h4",this.collapsibleTitles=!1,this.activeStep=0,this.isMobile=!1}handleDisableNextChange(e){if(typeof e=="string"&&e.trim().startsWith("["))try{this.disableNext=JSON.parse(e)}catch(t){console.error("Failed to parse disable-next array:",t)}}get navBtnSize(){return this.isMobile?"small":"large"}componentWillLoad(){this.handleDisableNextChange(this.disableNext),this.onResize()}connectedCallback(){typeof window<"u"&&window.addEventListener("resize",this.onResize)}disconnectedCallback(){typeof window<"u"&&window.removeEventListener("resize",this.onResize)}componentDidLoad(){if(this.type==="linear"){const t=(this.el.shadowRoot||this.el).querySelectorAll("eds-button");t==null||t.forEach(i=>this.emitContext(i))}}activeStepChanged(e){const t=Math.max(0,this.parsedSteps.length-1);if(e>t){this.activeStep=t;return}if(e<-1){this.activeStep=-1;return}e<0||setTimeout(()=>{const r=(this.el.shadowRoot||this.el).querySelectorAll(".step"),a=r&&e<r.length?r[e]:void 0;a==null||a.querySelectorAll("eds-button").forEach(l=>this.emitContext(l))},50)}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.activeStep},bubbles:!0,composed:!0});e.dispatchEvent(t)}get parsedSteps(){return F.parseData(this.steps)}isStepDisabled(e){return Array.isArray(this.disableNext)?e<this.disableNext.length?!!this.disableNext[e]:!1:e===this.activeStep&&!!this.disableNext}isNextDisabledFor(e){return this.isStepDisabled(e)}renderHeading(e,t){const i=this.headingLevel,r=this.activeStep===t;if(this.type==="linear"){let a=!1;if(t>this.activeStep){for(let o=this.activeStep;o<t;o++)if(this.isStepDisabled(o)){a=!0;break}}const l=o=>{a||(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.handleTitleClick(t))};return n.h(i,{class:`eds-steps__title ${a?"is-disabled":""}`,role:"button",tabindex:a?-1:0,"aria-disabled":a?"true":"false","aria-expanded":r,"aria-controls":`eds-step-panel-${t}`,onClick:()=>!a&&this.handleTitleClick(t),onKeyDown:l},e)}return n.h(i,{class:`eds-steps__title ${this.collapsibleTitles&&t!==this.activeStep,""}`,onClick:()=>this.handleTitleClick(t)},e)}renderHorizontalIndicator(e,t){const i=this.activeStep===t,r=this.activeStep>t;let a=!1;if(t>this.activeStep){for(let o=this.activeStep;o<t;o++)if(this.isStepDisabled(o)){a=!0;break}}const l=o=>{a||(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.handleTitleClick(t))};return n.h("div",{class:`horizontal-step ${i?"is-active":""} ${r?"is-completed":""}`,onClick:()=>!a&&this.handleTitleClick(t),onKeyDown:l,role:"button",tabindex:a?-1:0,"aria-label":`Step ${t+1}: ${e.title}`,"aria-current":i?"step":void 0,"aria-disabled":a?"true":"false"},n.h("div",{class:"step-indicator"},n.h("span",{class:"step-number"},t+1)),n.h("span",{class:`step-label ${a?"opacity-50":""}`},e.title))}render(){const e=this.parsedSteps,t=this.theme==="brand"?"theme-brand":"theme-default";return this.type==="linear"&&this.orientation==="horizontal"?n.h("div",{class:`steps--horizontal ${t}`,style:{"--step-count":e.length.toString()}},n.h("div",{class:"horizontal-indicators"},e.map((i,r)=>this.renderHorizontalIndicator(i,r))),e.map((i,r)=>{const a=r===e.length-1;if(this.activeStep!==r)return null;const l=this.orientation==="horizontal"?"mt-64":"mt-32";return n.h("div",{class:"step-content",key:r,id:`eds-step-panel-${r}`},n.h("slot",{name:`step-${r}`},n.h("div",{class:"f-body-02 text-lighter",innerHTML:i.content})),n.h("div",{class:`flex items-center justify-between ${l}`},n.h("eds-button",{label:this.backLabel,intent:"primary",icon:"chevron-left",iconPos:"left",onClick:this.handleBack,disabled:r===0,class:r===0?"hidden":"block",size:this.navBtnSize,iconSmall:this.isMobile}),(!a||this.showFinish)&&n.h("eds-button",{label:a?this.finishLabel:this.nextLabel,intent:a?"brand":"primary",icon:"chevron-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(r),size:this.navBtnSize,iconSmall:this.isMobile,class:r>0?"ml-8":null})),n.h("slot",{name:`actions-${r}`}))})):this.type==="linear"?n.h("div",{class:`steps ${t}`},e.map((i,r)=>{const a=r===e.length-1,l=this.orientation==="horizontal"?"mt-64":"mt-32";return n.h("div",{class:"step mb-16",key:r},this.renderHeading(i.title,r),this.activeStep===r&&n.h("div",{class:"content grid gap-y-16",id:`eds-step-panel-${r}`},n.h("slot",{name:`step-${r}`},n.h("div",{class:"my-16 f-body-02 text-lighter",innerHTML:i.content})),n.h("div",{class:`flex items-center justify-between ${l}`},n.h("eds-button",{label:this.backLabel,intent:"primary",icon:"chevron-left",iconPos:"left",onClick:this.handleBack,disabled:r===0,class:r===0?"hidden":"block",size:this.navBtnSize,iconSmall:this.isMobile}),(!a||this.showFinish)&&n.h("eds-button",{label:a?this.finishLabel:this.nextLabel,intent:a?"brand":"primary",icon:"chevron-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(r),size:this.navBtnSize,iconSmall:this.isMobile,class:r>0?"ml-8":null})),n.h("slot",{name:`actions-${r}`})))})):n.h("div",{class:`steps ${t}`},e.map((i,r)=>n.h("div",{class:"step mb-16",key:r},this.renderHeading(i.title,r),n.h("div",{class:"content",id:`eds-step-panel-${r}`},n.h("slot",{name:`step-${r}`},n.h("div",{class:"f-body-02 text-lighter my-16",innerHTML:i.content}))))))}get el(){return n.getElement(this)}static get watchers(){return{disableNext:["handleDisableNextChange"],activeStep:["activeStepChanged"]}}};an.style=Vr;const Or=`blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-41px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps-body{margin-top:16px}@media (max-width: 749px){.steps h3,.steps h4,.steps h5{font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight)}.steps-body{margin-top:32px}}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.text-center{text-align:center}.text-default{color:var(--brand-black)}.text-accent{color:var(--brand-green)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-light)}.text-lighter{color:var(--grey-dark)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.justify-between{justify-content:space-between}.mt-16{margin-top:1rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.mb-16{margin-bottom:1rem}.mb-32{margin-bottom:2rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:none}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:0}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-light)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.items-center{align-items:center}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title[role="button"]{cursor:pointer}.eds-steps__title.is-disabled{cursor:not-allowed;color:rgba(0, 0, 0, 0.5);}.eds-steps__title.is-disabled::before{opacity:1;filter:none}.steps--horizontal{display:flex;flex-direction:column;gap:2rem}.horizontal-indicators{display:flex;align-items:flex-start;gap:0;padding:0;margin-top:1.75rem;margin-bottom:0}.step-content-aligned{padding-left:0;padding-right:0}.horizontal-step{display:flex;flex-direction:column;align-items:flex-start;gap:0.6rem;cursor:pointer;flex:1 1 0;min-width:0;position:relative}.horizontal-step:last-child{flex:0 0 auto}.horizontal-step:not(:last-child)::after{content:'';position:absolute;top:1.375rem;left:calc(2.75rem + 0.4rem);width:calc(100% - 2.75rem - 0.8rem);height:3px;border-radius:2px;background-color:#e0e0e0;transform:translateY(-50%);z-index:1}.horizontal-step>span{text-align:left;align-self:stretch}.horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green);}.step-indicator{width:2.75rem;height:2.75rem;border-radius:50%;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background-color:white;transition:all 0.3s ease;flex:0 0 auto;z-index:2}.horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.horizontal-step.is-disabled{opacity:0.5;cursor:not-allowed}.step-number{font-family:var(--font-family-mono, 'IBM Plex Mono', monospace);font-weight:500;font-size:0.95rem}.step-label{font-family:var(--font-family-mono, 'IBM Plex Mono', monospace);font-size:9.5px;letter-spacing:0.07em;text-transform:uppercase;font-weight:500;color:var(--dark-grey, #7a7b7a)}.horizontal-step.is-active .step-label{color:var(--brand-green-dark)}.step-content{padding:0.5rem 0;margin-left:0;margin-right:0}@media (min-width: 700px){.step-content{padding:1.5rem 0}}.opacity-50{opacity:0.5}.bg-dark{background-color:var(--grey-light)}.bg-darker{background-color:var(--grey-dark)}.theme-brand.steps h3::before,.theme-brand.steps h4::before,.theme-brand.steps h5::before{background:var(--brand-green);color:var(--brand-black);border-color:var(--brand-green);font-weight:600}.theme-brand.steps h3.is-completed::before,.theme-brand.steps h4.is-completed::before,.theme-brand.steps h5.is-completed::before{content:'';}.theme-brand.steps .step-checkmark-icon{position:absolute;left:-39px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;z-index:1}.theme-brand.steps h3 .step-checkmark-icon{left:-41px;width:32px;height:32px;top:50%}.theme-brand .step-indicator{background-color:var(--grey-light);border-color:transparent;color:var(--dark-grey, #7a7b7a)}.theme-brand .horizontal-step.is-active .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black);box-shadow:0 0 0 4px rgba(0, 255, 157, 0.2)}.theme-brand .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green);background-color:var(--brand-green);color:var(--brand-black)}.theme-brand .horizontal-step.is-completed .step-number{display:none}.theme-brand .horizontal-step:not(:last-child)::after{background-color:var(--grey-light);}.theme-brand .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green)}.theme-brand .horizontal-step.is-active .step-label,.theme-brand .horizontal-step.is-completed .step-label{color:var(--brand-black)}.theme-brand .step-number{font-weight:600}.theme-default.steps h3::before,.theme-default.steps h4::before,.theme-default.steps h5::before{background:var(--grey-900);color:#fff;border-color:#ccc}.theme-default .step-indicator{background-color:white;border-color:#e0e0e0}.theme-default .horizontal-step.is-active .step-indicator{border-color:var(--brand-green-dark);background-color:var(--brand-green-dark);color:var(--white)}.theme-default .horizontal-step.is-completed .step-indicator{border-color:var(--brand-green-dark);background-color:var(--white)}.theme-default .horizontal-step.is-completed:not(:last-child)::after{background-color:var(--brand-green-dark)}.theme-default .horizontal-step.is-active .step-label{color:var(--brand-green-dark)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus-within:focus-within{outline-style:solid}`,$r=Or,ln=class{constructor(e){n.registerInstance(this,e),this.step=n.createEvent(this,"step",7),this.finished=n.createEvent(this,"finished",7),this.next=n.createEvent(this,"next",7),this.back=n.createEvent(this,"back",7),this.onResize=()=>{this.isMobile=typeof window<"u"&&window.innerWidth<750},this.handleTitleClick=t=>{if(this.type==="linear"){if(t>this.activeStep){for(let i=this.activeStep;i<t;i++)if(this.isStepDisabled(i))return}this.activeStep=t,this.step.emit(this.activeStep);return}if(this.orientation==="vertical"&&t===this.activeStep){this.activeStep=this.activeStep===t?-1:t,this.step.emit(this.activeStep);return}this.activeStep=t,this.step.emit(this.activeStep)},this.handleNext=()=>{const t=this.parsedSteps.length-1;if(this.activeStep>=t){this.finished.emit();return}const i=this.activeStep+1;this.next.emit(i),!this.isStepDisabled(this.activeStep)&&(this.activeStep=i,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1))},this.handleBack=()=>{const t=this.parsedSteps.length-1;if(this.activeStep<0){this.activeStep=t,this.step.emit(this.activeStep);return}if(this.activeStep>0){const i=this.activeStep-1;this.back.emit(i),this.activeStep=i,this.step.emit(this.activeStep),Array.isArray(this.disableNext)||(this.disableNext=!1)}},this.steps=[],this.type="static",this.orientation="vertical",this.theme="default",this.imageSrc=void 0,this.imageWidth=void 0,this.message=void 0,this.nextLabel="Next",this.backLabel="Back",this.finishLabel="Finish",this.showFinish=!0,this.card=!0,this.disableNext=!1,this.headingLevel="h4",this.activeStep=0,this.isMobile=!1}get navBtnSize(){return this.isMobile?"small":"large"}handleDisableNextChange(e){if(typeof e=="string"&&e.trim().startsWith("["))try{this.disableNext=JSON.parse(e)}catch(t){console.error("Failed to parse disable-next array:",t)}}activeStepChanged(e){const t=Math.max(0,this.parsedSteps.length-1);if(e>t){this.activeStep=t;return}if(e<-1){this.activeStep=-1;return}e<0||setTimeout(()=>{const r=(this.el.shadowRoot||this.el).querySelectorAll(".step")[e];r==null||r.querySelectorAll("eds-button").forEach(a=>this.emitContext(a))},50)}componentWillLoad(){this.handleDisableNextChange(this.disableNext),this.onResize()}connectedCallback(){typeof window<"u"&&window.addEventListener("resize",this.onResize)}disconnectedCallback(){typeof window<"u"&&window.removeEventListener("resize",this.onResize)}componentDidLoad(){if(this.type==="linear"){const t=(this.el.shadowRoot||this.el).querySelectorAll("eds-button");t==null||t.forEach(i=>this.emitContext(i))}}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.activeStep},bubbles:!0,composed:!0});e.dispatchEvent(t)}articleClasses(){return this.card?"border-softer relative rounded-lg border-2":"relative"}get parsedSteps(){return F.parseData(this.steps)}isStepDisabled(e){return Array.isArray(this.disableNext)?e<this.disableNext.length?!!this.disableNext[e]:!1:e===this.activeStep&&!!this.disableNext}isNextDisabledFor(e){return this.isStepDisabled(e)}renderHeading(e,t){const i=this.headingLevel,r=this.activeStep>t;if(this.type==="linear"){const a=this.activeStep===t;let l=!1;if(t>this.activeStep){for(let s=this.activeStep;s<t;s++)if(this.isStepDisabled(s)){l=!0;break}}const o=s=>{l||(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),this.handleTitleClick(t))};return n.h(i,{class:`eds-steps__title ${l?"is-disabled":""} ${r?"is-completed":""}`,role:"button",tabindex:l?-1:0,"aria-disabled":l?"true":"false","aria-expanded":a,"aria-controls":`eds-step-panel-${t}`,onClick:()=>!l&&this.handleTitleClick(t),onKeyDown:o},r&&n.h("span",{class:"step-checkmark-icon"},n.h("eds-icon-wrapper",{name:"checkmark",size:20})),e)}return n.h(i,{class:"eds-steps__title",onClick:()=>this.handleTitleClick(t)},e)}renderHorizontalIndicator(e,t){const i=this.activeStep===t,r=this.activeStep>t;let a=!1;if(t>this.activeStep){for(let o=this.activeStep;o<t;o++)if(this.isStepDisabled(o)){a=!0;break}}const l=o=>{a||(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.handleTitleClick(t))};return n.h("div",{class:`horizontal-step ${i?"is-active":""} ${r?"is-completed":""}`,onClick:()=>!a&&this.handleTitleClick(t),onKeyDown:l,role:"button",tabindex:a?-1:0,"aria-label":`Step ${t+1}: ${e.title}`,"aria-current":i?"step":void 0,"aria-disabled":a?"true":"false"},n.h("div",{class:"step-indicator"},r?n.h("eds-icon-wrapper",{name:"checkmark",size:20}):n.h("span",{class:"step-number"},t+1)),n.h("span",{class:`step-label ${a?"opacity-50":""}`},e.title))}render(){const e=this.parsedSteps,t=this.orientation==="horizontal"?"mt-64 mb-16":"mt-32 mb-32",i=this.theme==="brand"?"theme-brand":"theme-default";return n.h("div",{key:"84383c5655004ccc0bcc144f3765c2d0b000cad6",class:this.articleClasses()},this.imageSrc?n.h("div",{class:"w-full mb-12 rounded-t-lg overflow-hidden border-2"},n.h("eds-img",{src:this.imageSrc,width:this.imageWidth,"with-bg":"true","lazy-load":"true",alt:"Step illustration"})):this.message&&n.h("div",{class:`w-full ${this.theme==="brand"?"bg-strongest":"bg-darker"} rounded-t-lg border-2`},n.h("div",{class:"p-24"},n.h("span",{class:`${this.theme==="brand"?"text-accent":"text-inverse"} f-heading-04`},this.message))),n.h("div",{key:"d5fb5bbf6a48b90bf0db1e79a61ba5e445986368",class:"steps-body pb-20",style:{paddingLeft:"var(--eds-steps-padding-x, 0.5rem)",paddingRight:"var(--eds-steps-padding-x, 0.5rem)"}},this.type==="linear"&&this.orientation==="horizontal"?n.h("div",{class:`steps--horizontal ${i}`,style:{"--step-count":e.length.toString()}},n.h("div",{class:"horizontal-indicators"},e.map((r,a)=>this.renderHorizontalIndicator(r,a))),e.map((r,a)=>{const l=a===e.length-1;return this.activeStep!==a?null:n.h("div",{class:"step-content",key:a,id:`eds-step-panel-${a}`},n.h("slot",{name:`step-${a}`},n.h("div",{class:"f-body-02 text-lighter",innerHTML:r.content})),n.h("div",{class:`flex items-center justify-between ${t}`},n.h("eds-button",{label:this.backLabel,intent:"primary",icon:"arrow-left",iconPos:"left",onClick:this.handleBack,disabled:a===0,class:a===0?"hidden":"block",size:this.navBtnSize,iconSmall:this.isMobile,pill:!0}),(!l||this.showFinish)&&n.h("eds-button",{label:l?this.finishLabel:this.nextLabel,intent:l?"brand":"primary",icon:"arrow-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(a),size:this.navBtnSize,iconSmall:this.isMobile,class:a>0?"ml-8":null,pill:!0})),n.h("slot",{name:`actions-${a}`}))})):this.type==="linear"?n.h("div",{class:`steps ${i}`},e.map((r,a)=>{const l=this.activeStep>a;return n.h("div",{class:`${a===0?"step":"step mt-16"} ${l?"is-completed":""}`,key:a},this.renderHeading(r.title,a),this.activeStep===a&&n.h("div",{class:"content grid gap-y-16",id:`eds-step-panel-${a}`},n.h("slot",{name:`step-${a}`},n.h("div",{class:"my-16 f-body-02 text-lighter",innerHTML:r.content})),n.h("div",{class:`flex items-center justify-between ${t}`},n.h("eds-button",{label:this.backLabel,intent:"primary",icon:"chevron-left",iconPos:"left",onClick:this.handleBack,disabled:a===0,class:a===0?"hidden":"block",size:this.navBtnSize,iconSmall:this.isMobile,pill:!0}),(a<e.length-1||this.showFinish)&&n.h("eds-button",{label:a===e.length-1?this.finishLabel:this.nextLabel,intent:a===e.length-1?"brand":"primary",icon:"chevron-right",onClick:this.handleNext,disabled:this.isNextDisabledFor(a),size:this.navBtnSize,iconSmall:this.isMobile,class:a>0?"ml-8":null,pill:!0}))))})):n.h("div",{class:`steps space-y-8 ${i}`},e.map((r,a)=>n.h("div",{class:"step",key:a},this.renderHeading(r.title,a),n.h("div",{class:"content",id:`eds-step-panel-${a}`},n.h("div",{class:"content-body"},n.h("slot",{name:`step-${a}`},n.h("div",{class:"my-16 f-body-02 text-lighter",innerHTML:r.content})))))))))}get el(){return n.getElement(this)}static get watchers(){return{disableNext:["handleDisableNextChange"],activeStep:["activeStepChanged"]}}};ln.style=$r;const Nr=":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:var(--grey-dark);padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--brand-green)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.segmented-container{display:inline-flex;gap:0.5rem;background:var(--grey-light);padding:0.5rem;border-radius:2rem}.segmented-btn{padding:0.5rem 1.5rem;background:transparent;border:none;border-radius:1.5rem;font-family:var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);font-size:14px;font-weight:500;cursor:pointer;transition:all 0.3s;color:var(--body-l, #5a5f5c);white-space:nowrap}.segmented-btn--active{background:var(--brand-green);color:var(--brand-black)}.segmented-btn:hover:not(.segmented-btn--active):not(.segmented-btn--disabled){color:var(--brand-black)}.segmented-container--dark{background:#fff;border:1px solid var(--grey-300, #e2e2e2);padding:4px;gap:3px}.segmented-container--dark .segmented-btn{padding:9px 30px;border-radius:999px;transition:0.14s}.segmented-container--dark .segmented-btn--active{background:var(--brand-black, #07140d);color:#fff}.segmented-btn--disabled{opacity:0.6;cursor:not-allowed}.segmented-btn:focus{outline:2px solid #005fcc;outline-offset:2px}.segmented-btn:focus:not(:focus-visible){outline:none}.segmented-btn:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);letter-spacing:var(--f-ui-03-letterSpacing)}",Pr=Nr,on=class{constructor(e){n.registerInstance(this,e),this.uiswitch=n.createEvent(this,"uiswitch",7),this.toggleSwitch=()=>{this.disabled||(this.checked=!this.checked,this.uiswitch.emit({value:this.checked}),k.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:this.checked?this.labelOn:this.labelOff||"",action:"checked"}))},this.handleKeyDown=t=>{this.disabled||(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.toggleSwitch())},this.checked=!1,this.disabled=!1,this.labelOn="",this.labelOff="",this.variant="toggle"}render(){return this.variant==="segmented"||this.variant==="segmented-dark"?this.renderSegmented():this.renderToggle()}renderToggle(){const e=`switch-${Math.random().toString(36).substr(2,9)}`,t=[];this.labelOff&&t.push(`${e}-off`),this.labelOn&&t.push(`${e}-on`);const i=t.length===0?this.labelOn||this.labelOff?this.checked?this.labelOn:this.labelOff:"Toggle switch":void 0;return n.h("div",{class:"switch-container"},this.labelOff&&n.h("span",{id:`${e}-off`,class:"switch-label switch-label--off mr-8"},this.labelOff),n.h("button",{id:e,tabindex:this.disabled?"-1":"0",type:"button",role:"switch","aria-checked":this.checked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-labelledby":t.length>0?t.join(" "):void 0,"aria-label":i,class:{switch:!0,"switch--checked":this.checked,"switch--disabled":this.disabled},onClick:this.toggleSwitch,onKeyDown:this.handleKeyDown,disabled:this.disabled},n.h("span",{class:"switch-handle"})),this.labelOn&&n.h("span",{id:`${e}-on`,class:"switch-label switch-label--on ml-8"},this.labelOn))}renderSegmented(){return n.h("div",{class:{"segmented-container":!0,"segmented-container--dark":this.variant==="segmented-dark"},role:"group","aria-label":"View toggle"},n.h("button",{type:"button",tabindex:this.disabled?"-1":"0",class:{"segmented-btn":!0,"segmented-btn--active":!this.checked,"segmented-btn--disabled":this.disabled},onClick:()=>{!this.disabled&&this.checked&&this.toggleSwitch()},onKeyDown:this.handleKeyDown,disabled:this.disabled,"aria-pressed":this.checked?"false":"true"},n.h("span",null,this.labelOff)),n.h("button",{type:"button",tabindex:this.disabled?"-1":"0",class:{"segmented-btn":!0,"segmented-btn--active":this.checked,"segmented-btn--disabled":this.disabled},onClick:()=>{!this.disabled&&!this.checked&&this.toggleSwitch()},onKeyDown:this.handleKeyDown,disabled:this.disabled,"aria-pressed":this.checked?"true":"false"},n.h("span",null,this.labelOn)))}get el(){return n.getElement(this)}};on.style=Pr;const Rr="table{text-indent:0;border-color:inherit;border-collapse:collapse;}.brand-table-wrapper{margin-top:2rem;width:100%}.brand-table{width:100% !important;border-collapse:separate !important;border-spacing:0 !important;display:table !important;table-layout:fixed !important}.brand-thead{background:var(--grey-light)}.brand-header-row{border:none !important}.brand-header-row th{padding:1rem 1.5rem !important;text-align:center !important;font-weight:600 !important;font-size:0.9rem !important;text-transform:uppercase;letter-spacing:0.05em;color:var(--grey-dark) !important;border:none !important;overflow-wrap:break-word !important;word-wrap:break-word !important}.brand-header-row th:first-child{border-radius:0.5rem 0 0 0;padding-left:2rem !important}.brand-header-row th:last-child{border-radius:0 0.5rem 0 0;padding-right:2rem !important}.brand-row{border-bottom:1px solid var(--grey-light) !important;transition:all 0.3s ease;position:relative;background:transparent !important}.brand-row.has-actions{cursor:pointer}.brand-row:hover{background:rgba(0, 255, 157, 0.05) !important}.brand-row td{padding:1.5rem 1.5rem !important;border:none !important;vertical-align:middle;position:relative;z-index:1;overflow-wrap:break-word !important;word-wrap:break-word !important}.brand-row td:first-child{padding-left:2rem !important}.brand-row td:last-child{padding-right:2rem !important}.brand-row .actions-cell{text-align:right !important}.brand-table tr.brand-row{border-left:none;border-right:none;border-top:none}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}.controls-container{display:flex;width:100%}.view-toggle-wrapper{flex-shrink:0}.search-wrapper{min-width:0}.card-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));gap:1.5rem;margin-top:1.5rem}.data-card{background:var(--white);border:1px solid var(--grey-light);border-radius:0.75rem;padding:1.5rem;transition:all 0.3s ease;display:flex;flex-direction:column;gap:1rem}.data-card:hover{border-color:var(--brand-green);box-shadow:0 4px 12px rgba(0, 255, 157, 0.1);transform:translateY(-2px)}.card-content{display:flex;flex-direction:column;gap:0.75rem;flex:1}.card-field{display:flex;flex-direction:column;gap:0.25rem}.card-label{font-family:var(--f-ui-03-fontFamily);font-size:var(--f-ui-03-fontSize);font-weight:var(--f-ui-03-fontWeight);line-height:var(--f-ui-03-lineHeight);text-transform:uppercase;letter-spacing:0.05em;color:var(--grey-dark)}.card-value{font-family:var(--f-ui-02-fontFamily);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);color:var(--brand-black);word-wrap:break-word}.card-field:first-child .card-value{font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight)}.card-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:0.5rem;padding-top:0.75rem;border-top:1px solid var(--grey-light)}@media (min-width: 640px){.card-grid{grid-template-columns:repeat(auto-fill, minmax(320px, 1fr))}}@media (min-width: 1024px){.card-grid{grid-template-columns:repeat(auto-fill, minmax(350px, 1fr));gap:2rem}}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-start{align-items:flex-start}.items-center{align-items:center}.gap-16{gap:1rem}.mb-16{margin-bottom:1rem}.w-full{width:100%}.w-auto{width:auto}@media (min-width: 750px){.flex-md-row{flex-direction:row}.items-md-center{align-items:center}.w-md-auto{width:auto}.w-md-400{width:400px}}",jr=Rr,sn=class{constructor(e){n.registerInstance(this,e),this.rowaction=n.createEvent(this,"rowaction",7),this.viewchange=n.createEvent(this,"viewchange",7),this.handleResize=()=>{this.updateContainerWidth()},this.onActionKeyDown=t=>{var i;if(t.key!=="ArrowRight"&&t.key!=="ArrowLeft")return;t.preventDefault();const r=t.target,a=r.closest('[role="toolbar"]');if(!a)return;const l=Array.from(a.querySelectorAll("eds-button")),o=l.indexOf(r);if(o===-1)return;let s;t.key==="ArrowRight"?s=(o+1)%l.length:s=(o-1+l.length)%l.length,(i=l[s])===null||i===void 0||i.focus()},this.handleSort=t=>{this.sortColumn===t?this.sortDirection=this.sortDirection==="asc"?"desc":"asc":(this.sortColumn=t,this.sortDirection="asc"),k.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/sort`,name:t,action:this.sortDirection})},this.handleViewChange=t=>{this.view=t.detail.value?"card":"table",this.viewchange.emit({view:this.view}),k.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/view-toggle`,name:this.view,action:"view-change"})},this.data=null,this.config={},this.rowsPerPage=10,this.paginationEnabled=!0,this.searchEnabled=!1,this.hostWidth=void 0,this.actions=[],this.actionTemplate=void 0,this.sortingEnabled=!1,this.theme="brand",this.view="table",this.showViewToggle=!1,this.parsedActions=[],this.dataColumns=[],this.tbData=[],this.columns=[],this.currentPage=1,this.parsedConfig={},this.totalRows=0,this.searchQuery="",this.containerWidth=0,this.sortColumn=null,this.sortDirection="asc"}handleDataChange(){this.parseData()}handleConfigChange(){this.parseConfig()}handleActionsChange(){try{this.parsedActions=typeof this.actions=="string"?JSON.parse(this.actions):this.actions}catch{console.error("Failed to parse actions JSON"),this.parsedActions=[]}}componentWillLoad(){this.theme="brand",this.parseConfig(),this.handleActionsChange(),this.parseData()}componentDidLoad(){this.updateContainerWidth(),window.addEventListener("resize",this.handleResize),this.setupPaginationListener()}componentDidUpdate(){this.setupPaginationListener()}disconnectedCallback(){window.removeEventListener("resize",this.handleResize)}updateContainerWidth(){this.hostWidth&&this.hostWidth.trim()!==""?this.containerWidth=Number(this.hostWidth):this.hostEl.parentElement instanceof HTMLElement?this.containerWidth=this.hostEl.parentElement.getBoundingClientRect().width:this.containerWidth=400}parseData(){try{this.tbData=F.parseData(this.data),this.totalRows=this.tbData.length,this.updateColumns(),this.currentPage=1}catch(e){console.error("Failed to parse data:",e),this.tbData=[]}}parseConfig(){try{this.parsedConfig=typeof this.config=="string"?JSON.parse(this.config):this.config}catch(e){console.error("Failed to parse config:",e),this.parsedConfig={}}}setupPaginationListener(){if(!this.shouldEnablePagination())return;const e=this.hostEl.shadowRoot.querySelector("eds-pagination");e&&!e.hasAttribute("listener-attached")&&(e.addEventListener("page",t=>this.handlePageChange(t.detail.value)),e.setAttribute("listener-attached","true"))}getFilteredRows(){return this.tbData.filter(e=>Object.values(e).some(t=>t.toString().toLowerCase().includes(this.searchQuery.toLowerCase())))}getPaginatedRows(){const e=this.getSortedRows();this.totalRows=e.length;const t=(this.currentPage-1)*this.rowsPerPage;return e.slice(t,t+this.rowsPerPage)}handlePageChange(e){this.currentPage=e,k.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/eds-pagination`,name:`${e}`||"",action:"page"})}handleSearch(e){this.searchQuery=e.target.value,this.currentPage=1}renderCell(e,t){var i;const r=(i=this.parsedConfig[t])===null||i===void 0?void 0:i.format;return r==="uppercase"?e==null?void 0:e.toString().toUpperCase():r==="html"||r==="svg"?n.h("div",{innerHTML:e}):r==="bold"?n.h("strong",null,e):r==="code"?n.h("code",null,e):e}renderSingleActionCell(e,t){var i;const r=this.parsedActions.find(m=>m.name===e);if(this.actionTemplate)return this.actionTemplate(t);if((r.type||"button")==="checkbox"){const m=(i=r.field)!==null&&i!==void 0?i:r.name,v=!!t[m];return n.h("eds-input-field",{name:`chc-${e}`,label:r.label,type:"checkbox",checked:v,onChange:C=>this.emitAction(r.name,t,C.target.checked)})}const l=r.showLabel===!0,o=this.theme==="brand",s=r.intent||(o?"primary":"ghost"),h=n.h("eds-button",{icon:r.icon,label:l?r.label:null,iconPos:r.pos||"left",pill:!0,size:"small",intent:s,tabIndex:0,onClick:()=>this.emitAction(r.name,t)});return l?h:n.h("eds-tooltip",{content:r.label},h)}emitAction(e,t,i){k.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/action`,name:e,action:"click"}),this.rowaction.emit({action:e,row:t,checked:!!i})}shouldEnablePagination(){return this.paginationEnabled&&this.totalRows>this.rowsPerPage}updateColumns(){var e,t;this.columns=this.tbData.length>0?Object.keys(this.tbData[0]):[],((t=(e=this.parsedActions)===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:0)>0&&this.tbData.length>0&&this.columns.push("actions")}capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}getSortedRows(){const e=this.getFilteredRows();return this.sortColumn?[...e].sort((t,i)=>{const r=t[this.sortColumn],a=i[this.sortColumn];if(r==null)return 1;if(a==null)return-1;let l=0;return typeof r=="number"&&typeof a=="number"?l=r-a:l=String(r).localeCompare(String(a)),this.sortDirection==="asc"?l:-l}):e}renderCardView(e){const t=this.columns.filter(i=>{var r;return i!=="actions"&&!(!((r=this.parsedConfig[i])===null||r===void 0)&&r.hidden)});return n.h("div",{class:"card-grid"},e.map(i=>n.h("div",{class:"data-card"},n.h("div",{class:"card-content"},t.map(r=>n.h("div",{class:"card-field"},n.h("span",{class:"card-label"},this.capitalize(r)),n.h("span",{class:"card-value"},this.renderCell(i[r],r))))),this.parsedActions.length>0&&n.h("div",{class:"card-actions"},this.parsedActions.map(r=>n.h("span",null,this.renderSingleActionCell(r.name,i)))))))}renderTableView(e){return n.h("div",{class:`mt-20 ${this.theme==="brand"?"brand-table-wrapper":""}`},n.h("table",{class:`${this.theme==="brand"?"":"block overflow-x-auto"} mt-6 p-0 ${this.theme==="brand"?"brand-table":""}`},n.h("thead",{class:this.theme==="brand"?"brand-thead":""},n.h("tr",{class:`m-0 p-0 border border-softer table-row-${this.theme} ${this.theme==="brand"?"brand-header-row":""}`},this.columns.filter(t=>{var i;return t==="actions"||!(!((i=this.parsedConfig[t])===null||i===void 0)&&i.hidden)}).map(t=>t==="actions"?n.h("th",{class:"m-0 py-8 border border-softer f-ui-02 break-words"}):n.h("th",{class:"m-0 py-8 border border-softer f-ui-02 break-words"},n.h("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem"}},n.h("span",null,this.capitalize(t)),this.sortingEnabled&&n.h("eds-icon-wrapper",{name:this.sortColumn===t&&this.sortDirection==="asc"?"chevron-up":"chevron-down","aria-label":`Sort by ${t}`,onClick:()=>this.handleSort(t),style:{cursor:"pointer"}})))))),n.h("tbody",null,e.map(t=>n.h("tr",{class:`m-0 p-0 border border-softer table-row-${this.theme} ${this.theme==="brand"?"brand-row":""} ${this.parsedActions.length>0?"has-actions":""}`},this.columns.filter(i=>{var r;return i==="actions"||!(!((r=this.parsedConfig[i])===null||r===void 0)&&r.hidden)}).map(i=>i==="actions"?n.h("td",{class:"text-center border border-softer m-0 f-ui-01 break-words actions-cell"},n.h("div",{role:"toolbar","aria-label":"Row actions",onKeyDown:this.onActionKeyDown,style:{display:"flex",gap:"0.5rem",justifyContent:"center",flexWrap:"wrap"}},this.parsedActions.map(r=>n.h("span",{style:{whiteSpace:"nowrap"}},this.renderSingleActionCell(r.name,t))))):n.h("td",{class:"text-center border border-softer m-0 py-8 f-ui-02 break-words"},this.renderCell(t[i],i))))))))}render(){const e=this.getPaginatedRows(),t=Math.ceil(this.totalRows/this.rowsPerPage),i=this.showViewToggle||this.searchEnabled;return n.h("div",{key:"8a025e9e12285aa3444b2f83e0b68af55cbe32e6"},i&&n.h("div",{key:"f97864d8b61db7ec4fa623ecadc3c225464a6c84",class:"controls-container flex-col flex-md-row items-start items-md-center justify-between gap-16 mb-16"},this.showViewToggle&&n.h("div",{key:"ddf8b1c0fb59fe81efa22a4dc02b414d41ae7208",class:"view-toggle-wrapper"},n.h("eds-switch",{key:"c3631986b456a88559face6a2ce7ce8acd5d01c2",variant:"segmented",labelOff:"Table View",labelOn:"Card View",checked:this.view==="card",onUiswitch:this.handleViewChange})),this.searchEnabled&&n.h("div",{key:"a02d7f163dd2bb34bb26ae60bd5b018ed07291d9",class:`search-wrapper w-full ${this.showViewToggle?"w-md-400":""}`},n.h("eds-input-field",{key:1,icon:"search",name:"search","aria-label":"Search",type:"text",placeholder:"Search...",onInput:r=>this.handleSearch(r)}))),this.view==="card"?this.renderCardView(e):this.renderTableView(e),this.shouldEnablePagination()&&n.h("div",{key:"ecf412674a951b4d19e87385270cb49e64e590f6",class:"mt-20"},n.h("eds-pagination",{key:"fe1365ecb4d249548ba0c936a48b6141ff14ad0e",currentPage:this.currentPage,lastPage:t,perPage:this.rowsPerPage,total:this.totalRows,mode:"default"})))}get hostEl(){return n.getElement(this)}static get watchers(){return{data:["handleDataChange","parseData"],config:["handleConfigChange"],actions:["handleActionsChange"]}}};sn.style=jr;const Wr=":host{display:block}.tabs-container{display:flex;gap:0.25rem;padding:0.25rem;border-radius:10px;width:fit-content;margin-bottom:3rem}.tabs-container-default{background-color:var(--brand-black, #07140D);border:1px solid rgba(255, 255, 255, 0.06)}.tabs-container-inverse{background:rgba(0, 0, 0, 0.02);border:1px solid rgba(0, 0, 0, 0.06)}.tabs-nav{display:flex;gap:0.25rem}.tab{padding:0.625rem 1.25rem;border-radius:8px;font-size:1.125rem;cursor:pointer;transition:color 0.15s ease;border:none;background:transparent;font-family:'IBM Plex Sans', sans-serif;white-space:nowrap;outline:none}.tab:focus-visible{outline:3px solid var(--brand-green);outline-offset:2px}.tab-default{color:var(--grey-700)}.tab-default:hover{color:var(--white)}.tab-default.tab-active{background:rgba(0, 255, 157, 0.1);color:var(--brand-green)}.tab-inverse{color:var(--grey-700)}.tab-inverse:hover{color:var(--brand-black)}.tab-inverse.tab-active{background:rgba(0, 200, 123, 0.1);color:var(--brand-green-dark)}.tab-panels{margin-top:2rem}.tab-panels>div{outline:none}.tab-panels>div:focus-visible{outline:3px solid var(--brand-green);outline-offset:2px;border-radius:4px}@media (max-width: 768px){.tabs-container{width:100%;overflow-x:auto}.tabs-nav{width:100%;min-width:fit-content}}",qr=Wr,dn=class{constructor(e){n.registerInstance(this,e),this.tab=n.createEvent(this,"tab",7),this.tabRefs=[],this.setTabRef=(t,i)=>{t&&(this.tabRefs[i]=t)},this.identifier=void 0,this.navAriaLabel="Tabs",this.tabs=void 0,this.variant="default",this.parsedTabs=[],this.activeIndex=-1}componentWillLoad(){this.parseTabs(),this.setActiveIndex(),this.tab.emit({tabId:this.identifier,index:this.activeIndex})}parseTabs(){this.parsedTabs=F.parseData(this.tabs),this.tabRefs.length>this.parsedTabs.length&&(this.tabRefs.length=this.parsedTabs.length)}componentDidUpdate(){this.tabRefs.length>this.parsedTabs.length&&(this.tabRefs.length=this.parsedTabs.length)}setActiveIndex(){this.activeIndex=this.parsedTabs.findIndex(e=>e.active),this.activeIndex===-1&&this.parsedTabs.length>0&&(this.activeIndex=0,this.parsedTabs[0].active=!0)}handleTabClick(e,t,i=!0){var r;if(!(e<0||e>=this.parsedTabs.length)&&(this.activeIndex=e,this.parsedTabs=this.parsedTabs.map((a,l)=>Object.assign(Object.assign({},a),{active:l===e})),this.tab.emit({tabId:this.identifier,index:e,name:t}),i&&k.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(t==null?void 0:t.toLowerCase())||"",action:"click"}),i)){const a=()=>{var l;return((l=this.el.shadowRoot)!==null&&l!==void 0?l:this.el).querySelector(`#tab-${e}`)};(r=a())===null||r===void 0||r.focus(),requestAnimationFrame(()=>{var l;const o=a();o&&((l=this.el.shadowRoot)===null||l===void 0?void 0:l.activeElement)!==o&&o.focus()})}}onKeyDown(e,t){let i=t;switch(e.key){case"ArrowRight":i=(t+1)%this.parsedTabs.length,e.preventDefault();break;case"ArrowLeft":i=(t-1+this.parsedTabs.length)%this.parsedTabs.length,e.preventDefault();break;case"Home":i=0,e.preventDefault();break;case"End":i=this.parsedTabs.length-1,e.preventDefault();break;default:return}i!==t&&this.handleTabClick(i,this.parsedTabs[i].label,!0)}render(){const e=["tabs-container",`tabs-container-${this.variant}`].join(" ");return n.h("div",{key:"39b1e8fc98303be43fbbd0e67807786fe0ad8fef",id:`${this.identifier}`},n.h("div",{key:"3cef6bd5804c110e51560c7b58de5cb77eadbbb6",class:e},n.h("nav",{key:"b59ed6ad2fe067b2c39b1db43cd4242eec1b01bf",role:"tablist",class:"tabs-nav","aria-label":this.navAriaLabel},this.parsedTabs.map((t,i)=>{const r=i===this.activeIndex,a=["tab",`tab-${this.variant}`,r?"tab-active":""].filter(Boolean).join(" ");return n.h("button",{class:a,type:"button",role:"tab","aria-selected":r?"true":"false",tabIndex:r?0:-1,"aria-label":t.ariaLabel||t.label,"aria-controls":`panel-${i}`,id:`tab-${i}`,ref:l=>this.setTabRef(l,i),onClick:()=>this.handleTabClick(i,t.label,!0),onKeyDown:l=>this.onKeyDown(l,i)},t.label||t.ariaLabel)}))),n.h("div",{key:"224717af5f59fbea2683dd33144760be8c553bb8",class:"tab-panels"},this.parsedTabs.map((t,i)=>n.h("div",{role:"tabpanel",id:`panel-${i}`,"aria-labelledby":`tab-${i}`,hidden:i!==this.activeIndex,tabIndex:i===this.activeIndex?0:-1},n.h("slot",{name:`panel-${i}`})))))}get el(){return n.getElement(this)}static get watchers(){return{tabs:["parseTabs"]}}};dn.style=qr;const Ur=` .f-ui-01 {
|
|
10681
10901
|
font-family: var(--f-ui-01-fontFamily);
|
|
10682
10902
|
font-size: var(--f-ui-01-fontSize);
|
|
10683
10903
|
line-height: var(--f-ui-01-lineHeight);
|
|
@@ -10930,10 +11150,10 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
10930
11150
|
|
|
10931
11151
|
.inline-flex {
|
|
10932
11152
|
display: inline-flex;
|
|
10933
|
-
}`,
|
|
11153
|
+
}`,Yr=Ur,Zr=W(["relative inline-flex justify-center items-center py-8 rounded-xs"],{variants:{intent:{primary:"border-inside bg-inverse text-default",dark:"border-inside border-softest bg-inverse text-light",inverse:"border-inside bg-transparent text-inverse border-inverse",strong:"bg-strongest text-inverse",brand:"border-inside bg-transparent border-accent text-accent","brand-dark":"border-inside bg-transparent border-accent-dark text-accent-dark"},size:{small:"f-ui-05 py-2 px-4",medium:"f-ui-03 py-3 px-6",large:"f-ui-01 py-4 px-8"}},defaultVariants:{intent:"primary",size:"small"}}),cn=class{constructor(e){n.registerInstance(this,e),this.label=void 0,this.intent="brand",this.size="large"}render(){const e=Zr({intent:this.intent,size:this.size});return n.h("span",{key:"f9399ed92717576781bff9fb5f117743d50720af",class:e},n.h("span",{key:"9500083dfbddd73539de9e1c5b738bf7a3415624",style:{position:"relative",zIndex:"1"}},this.label))}};cn.style=Yr;const Gr=`:host{display:block}.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
|
|
10934
11154
|
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
10935
|
-
var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-light)}.bg-success{background-color:var(--brand-green)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-dark)}.text-current{color:currentColor}.text-default{color:var(--brand-black)}.text-accent{color:var(--brand-green)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.border-l-\\[3px\\]{border-left-width:3px}.border-accent{border-color:var(--brand-green)}.py-16{padding-top:1rem;padding-bottom:1rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.rounded-r-4{border-top-right-radius:4px;border-bottom-right-radius:4px}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.opacity-50{opacity:0.5}.hover\\:opacity-100:hover{opacity:1}`,
|
|
11155
|
+
var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-light)}.bg-success{background-color:var(--brand-green)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-dark)}.text-current{color:currentColor}.text-default{color:var(--brand-black)}.text-accent{color:var(--brand-green)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.border-l-\\[3px\\]{border-left-width:3px}.border-accent{border-color:var(--brand-green)}.py-16{padding-top:1rem;padding-bottom:1rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.rounded-r-4{border-top-right-radius:4px;border-bottom-right-radius:4px}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.opacity-50{opacity:0.5}.hover\\:opacity-100:hover{opacity:1}.banner{--rail:#7a7b7a;--surface:#ffffff;--line:#e2e2e2;--icon-bg:#f0f0f0;--icon-fg:#5a5f5c;--title:#07140d;--msg:#8a8c8a;display:flex;flex-wrap:wrap;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--rail);border-radius:12px;padding:15px 18px}.banner--brand,.banner--info{--rail:var(--brand-green, #00ff9d);--icon-bg:rgba(0, 255, 157, 0.12);--icon-fg:var(--green-d, #00c87b);--title:var(--brand-black, #07140d);--msg:#8a8c8a}.banner--success{--rail:var(--green-d, #00c87b);--surface:#f0fbf6;--line:#cdeede;--icon-bg:rgba(0, 200, 123, 0.12);--icon-fg:var(--green-d, #00c87b);--title:#0a6b46;--msg:#5a7a6c}.banner--warning{--rail:#b26b00;--surface:#fff6e6;--line:#f0dcb4;--icon-bg:rgba(178, 107, 0, 0.12);--icon-fg:#b26b00;--title:#b26b00;--msg:#8a6a2a}.banner--error{--rail:#c0392b;--surface:#fdf0ee;--line:#f2cfc9;--icon-bg:rgba(192, 57, 43, 0.1);--icon-fg:#c0392b;--title:#c0392b;--msg:#8d5049}.banner-ic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--icon-bg);color:var(--icon-fg)}.banner-copy{flex:1 1 auto;min-width:0}.banner-title{font-family:var(--sans, 'IBM Plex Sans', system-ui, sans-serif);font-size:14.5px;font-weight:600;color:var(--title)}.banner-msg{font-family:var(--mono, 'IBM Plex Mono', ui-monospace, monospace);font-size:10.5px;letter-spacing:0.04em;color:var(--msg);line-height:1.45;margin-top:3px}.banner-title+.banner-msg{margin-top:3px}.banner-actions{flex:0 0 auto;display:flex;align-items:center;gap:16px}.banner-x{flex:0 0 auto;border:none;background:transparent;color:var(--msg);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:6px;opacity:0.6;transition:opacity 0.14s, background 0.14s}.banner-x:hover{opacity:1;background:rgba(0, 0, 0, 0.05)}@media (max-width: 1024px){.banner-actions{gap:12px}}`,Kr=Gr,Xr=W(["relative bottom-4 w-auto rounded-xs p-12"],{variants:{intent:{default:"bg-dark text-dark",success:"bg-success text-dark",error:"bg-error text-dark",warning:"bg-warning text-dark",info:"bg-dark text-dark",neutral:"bg-dark text-dark",brand:"bg-strongest text-accent",brandInverse:"bg-inverse text-default"}},defaultVariants:{intent:"default"}}),Jr={default:"information",neutral:"information",info:"information",brand:"information",success:"checkmark",warning:"warning",error:"warning"},hn=class{constructor(e){n.registerInstance(this,e),this.toast=n.createEvent(this,"toast",7),this.dismissToast=()=>{this.toast.emit({visible:!1,label:"dismissed"}),this.visible=!1},this.message=void 0,this.intent="default",this.variant="toast",this.heading=void 0,this.icon=void 0,this.dismissible=!1,this.duration=void 0,this.visible=!0,this.hasActions=!1}componentWillLoad(){this.hasActions=!!this.el.querySelector('[slot="actions"]')}componentDidLoad(){const e=this.el.shadowRoot.querySelector("eds-button");e&&this.emitContext(e)}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}connectedCallback(){this.duration&&this.duration>0&&(this.dismissTimeout=setTimeout(this.dismissToast,this.duration))}disconnectedCallback(){clearTimeout(this.dismissTimeout)}renderBanner(){const e=this.icon||Jr[this.intent]||"information",t=this.dismissible||this.duration&&this.duration>0;return n.h("div",{class:`banner banner--${this.intent}`,role:"status","aria-live":"polite"},n.h("span",{class:"banner-ic","aria-hidden":"true"},n.h("eds-icon-wrapper",{name:e,size:20})),n.h("div",{class:"banner-copy"},this.heading&&n.h("div",{class:"banner-title"},this.heading),n.h("div",{class:"banner-msg"},this.message)),this.hasActions&&n.h("div",{class:"banner-actions"},n.h("slot",{name:"actions"})),t&&n.h("button",{type:"button",class:"banner-x","aria-label":"Dismiss",onClick:()=>this.dismissToast()},n.h("eds-icon-wrapper",{name:"close",size:16})))}render(){if(!this.visible)return null;if(this.variant==="banner")return this.renderBanner();const e=Xr({intent:this.intent});return n.h("div",{class:e,role:"alert","aria-live":"assertive"},n.h("div",{class:"flex items-center justify-between gap-4"},n.h("span",{class:"f-ui-02"},this.message),n.h("eds-button",{intent:"ghost",size:"large",icon:"close","aria-label":"Close Toast",onClick:()=>this.dismissToast(),"extra-class":"ml-8"})))}get el(){return n.getElement(this)}};hn.style=Kr;const Qr=".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}",ea=Qr,gn=class{constructor(e){n.registerInstance(this,e),this.content=void 0,this.position="top"}handleHover(){k.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:this.content.toLowerCase(),action:"hover"})}render(){const e=this.position==="bottom"?"top-full mt-2":"bottom-full mb-2";return n.h("div",{key:"70fac9a2e9d60c2dd24961d162c5230dcf5d6232",class:"relative w-full inline-block group"},n.h("slot",{key:"02e4f975a0b23905883663f773a221c747906a11"}),n.h("div",{key:"cff74243e3b7bd0111bb0e6023367ac88b50c379",class:`absolute ${e}
|
|
10936
11156
|
rounded-xs bg-strongest text-inverse
|
|
10937
11157
|
f-ui-03-light pointer-events-none
|
|
10938
11158
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
10939
|
-
group-hover:opacity-100 whitespace-normal break-words`,role:"tooltip"},this.content))}get el(){return
|
|
11159
|
+
group-hover:opacity-100 whitespace-normal break-words`,role:"tooltip"},this.content))}get el(){return n.getElement(this)}};gn.style=ea;const na="hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}",ta=na,fn=class{constructor(e){n.registerInstance(this,e),this.handleDropdown=t=>{this.expanded=t.detail.expanded},this.user=void 0,this.intent="ghost",this.dropdownLabel="Account",this.expanded=!1}get parsedUser(){if(typeof this.user=="string")try{return JSON.parse(this.user)}catch{return{}}return this.user}get initials(){var e,t,i,r;const a=this.parsedUser;return`${((e=a.given_name)===null||e===void 0?void 0:e.charAt(0))||""}${((t=a.family_name)===null||t===void 0?void 0:t.charAt(0))||""}`.toUpperCase()||((r=(i=a.name)===null||i===void 0?void 0:i.charAt(0))===null||r===void 0?void 0:r.toUpperCase())||""}async closeDropdown(){var e;await((e=this.dropdownEl)===null||e===void 0?void 0:e.close()),this.expanded=!1}render(){const e=this.parsedUser;return n.h("div",{key:"680e43b28d6f449f1bc527a205bc8cb1593c2e3b",class:"block"},n.h("div",{key:"472e128751bbd16584d2c17a0f05de9ce39b3618",class:"flex items-center"},n.h("eds-dropdown",{key:"b8e77167f98bcc07280a440ab8c086ab72650866",ref:t=>this.dropdownEl=t,intent:this.intent,"aria-label":"User Menu","dropdown-pos":"right","dropdown-offset":"false",icon:"user",label:this.dropdownLabel,class:"text-default",onDropdown:this.handleDropdown},n.h("div",{key:"d55809a0ab5387f867d27669198c7e9bfc206383",class:"min-w-[280px] p-8"},n.h("div",{key:"e703e71577d4d1e78664fa807de67551483069c1",class:"flex gap-x-16","data-dropdown-no-close":!0},n.h("eds-avatar",{key:"7672f9a4f84bc13ab079a7e6185eff87aa15a1f7","first-name":e.given_name,"last-name":e.family_name,initials:this.initials,color:"black"}),n.h("div",{key:"ac9e6e17465d52a247b289224ce3ea473989c1ee",class:"max-w-full"},e.name&&n.h("p",{key:"caab9568a17e0bbc68c418f070b93ae6f21fad21",class:"f-ui-01 text-default w-full text-ellipsis"},e.name),e.preferred_username&&n.h("p",{key:"0ba0fbec86e6600ee4eb0e0827a78e7292808ab1",class:"f-ui-03-light text-light mt-4"},e.preferred_username),e.email&&n.h("p",{key:"a3f8870af9bdd001cf5e894b71f8403bff639608",class:"f-ui-03-light text-light mt-4"},e.email))),n.h("div",{key:"d230d82178d53043406e26f264c3fe26d7a87211",class:"text-default flex w-full flex-col gap-y-8"},n.h("slot",{key:"5d28ca2126fbd735560e6034ea1c24e225bf2ee5"}))))))}get hostEl(){return n.getElement(this)}};fn.style=ta;exports.eds_accordion=ce;exports.eds_alert=he;exports.eds_avatar=ge;exports.eds_block_break=fe;exports.eds_breadcrumb=be;exports.eds_button=me;exports.eds_card_app=ue;exports.eds_card_cta=xe;exports.eds_card_desc=ve;exports.eds_card_feature=ye;exports.eds_card_generic=we;exports.eds_card_hero=ke;exports.eds_card_stat=ze;exports.eds_card_title=Se;exports.eds_code_block=Ee;exports.eds_dropdown=Ie;exports.eds_footer=Ae;exports.eds_form=Me;exports.eds_fullscreen_menu=He;exports.eds_global_search=De;exports.eds_header=Be;exports.eds_icon_wrapper=Oe;exports.eds_img=$e;exports.eds_input=Zi;exports.eds_input_dropzone=Ne;exports.eds_input_field=Pe;exports.eds_input_file=Re;exports.eds_input_footer=je;exports.eds_input_label=We;exports.eds_input_range=ar;exports.eds_input_select=lr;exports.eds_kg_learning_resources=qe;exports.eds_kg_web_services_select=Ue;exports.eds_link=Ye;exports.eds_logo=Ze;exports.eds_matomo_notice=Ge;exports.eds_nps=Ke;exports.eds_pagination=Xe;exports.eds_progress_bar=Je;exports.eds_rating=Qe;exports.eds_search_select=en;exports.eds_sidebar=nn;exports.eds_social_networks=tn;exports.eds_spinner=rn;exports.eds_steps=an;exports.eds_steps_v2=ln;exports.eds_switch=on;exports.eds_table=sn;exports.eds_tabs=dn;exports.eds_tag=cn;exports.eds_toast=hn;exports.eds_tooltip=gn;exports.eds_user=fn;
|