import{D as e,J as t,M as n,P as r,Q as i,V as a,W as o,Y as s,b as c,d as l,et as u,ft as d,it as f,j as p,l as m,n as h,nt as g,ot as _,q as v,r as y,st as b,t as x,w as S,x as C}from"../../client.js";import{m as w}from"../../components.js";import T from"../button/Button.js";import E from"../iconbutton/IconButton.js";var D=r(`<span class="mc-tile__action-button svelte-9ba9gl"><!></span>`),O=r(`<span class="mc-tile__action-label svelte-9ba9gl"> </span>`),k=r(`<span class="mc-tile__action-button svelte-9ba9gl"><!></span>`),A=r(`<div class="mc-tile__body svelte-9ba9gl"><!></div> <div class="mc-tile__action svelte-9ba9gl"><!></div>`,1),j=r(`<div><!> <div class="mc-tile__content svelte-9ba9gl"><!></div></div>`),M={hash:`svelte-9ba9gl`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-tile.svelte-9ba9gl {border-radius:var(--border-radius-m, 0.5rem);background-color:var(--tile-color-background-primary, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile.svelte-9ba9gl {box-sizing:border-box;display:flex;flex-direction:column;position:relative;}.mc-tile--secondary.svelte-9ba9gl {background-color:var(--tile-color-background-secondary, #eff1f6);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--inverse.svelte-9ba9gl {background-color:var(--tile-color-background-inverse, #242938);color:var(--color-text-primary-inverse, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--inverse.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--inverse.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--inverse.svelte-9ba9gl svg:where(.svelte-9ba9gl),
.mc-tile--inverse.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after,
.mc-tile--inverse.svelte-9ba9gl .mc-tile__action-icon:where(.svelte-9ba9gl) {color:var(--color-text-primary-inverse, #ffffff);fill:var(--color-text-primary-inverse, #ffffff);}.mc-tile--inverse.mc-tile--navigate.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {background-color:var(--color-text-primary-inverse, #ffffff);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M15.2929 6.29289c.3905-.39052 1.0237-.39052 1.4142 0l5 5.00001c.3905.3905.3905 1.0237 0 1.4142l-5 5c-.3905.3905-1.0237.3905-1.4142 0-.3905-.3905-.3905-1.0237 0-1.4142L18.5858 13H3c-.55228 0-1-.4477-1-1s.44772-1 1-1h15.5858l-3.2929-3.29289c-.3905-.39053-.3905-1.02369 0-1.41422Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-tile--inverse.mc-tile--open.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {background-color:var(--color-text-primary-inverse, #ffffff);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M9.79289 6.29289c.39051-.39052 1.02371-.39052 1.41421 0l5 5.00001c.3905.3905.3905 1.0237 0 1.4142l-5 5c-.3905.3905-1.0237.3905-1.41421 0-.39052-.3905-.39052-1.0237 0-1.4142L14.0858 12 9.79289 7.70711c-.39052-.39053-.39052-1.02369 0-1.41422Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-tile--inverse.mc-tile--external-link.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {background-color:var(--color-text-primary-inverse, #ffffff);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M13 4c-.5523 0-1 .44772-1 1s.4477 1 1 1h3.5858l-7.29291 7.2929c-.39052.3905-.39052 1.0237 0 1.4142.39053.3905 1.02371.3905 1.41421 0L18 7.41421V11c0 .5523.4477 1 1 1s1-.4477 1-1V5c0-.55228-.4477-1-1-1h-6ZM5 6c-.55228 0-1 .44772-1 1v12c0 .5523.44772 1 1 1h12c.5523 0 1-.4477 1-1v-4.5c0-.5523-.4477-1-1-1s-1 .4477-1 1V18H6V8h3.5c.5523 0 1-.44772 1-1s-.4477-1-1-1H5Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-tile__body.svelte-9ba9gl {flex:1;}.mc-tile--bordered.svelte-9ba9gl {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile--action-right.svelte-9ba9gl {flex-direction:row;align-items:stretch;}.mc-tile--action-right.svelte-9ba9gl .mc-tile__body:where(.svelte-9ba9gl) {border-radius:var(--border-radius-m, 0.5rem) 0 0 var(--border-radius-m, 0.5rem);}.mc-tile--action-right.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl) {border-radius:0 var(--border-radius-m, 0.5rem) var(--border-radius-m, 0.5rem) 0;min-width:4rem;justify-content:center;}.mc-tile__action.svelte-9ba9gl {border-radius:0 0 var(--border-radius-m, 0.5rem) var(--border-radius-m, 0.5rem);box-sizing:border-box;background-color:transparent;display:flex;align-items:center;justify-content:flex-end;padding:0.5rem 0.5rem;gap:0.5rem;}.mc-tile__action-icon.svelte-9ba9gl {margin:0.5rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;}.mc-tile--navigate.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {content:"";margin:0.5rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background-color:var(--button-color-filled-inverse-font, #242938);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M15.2929 6.29289c.3905-.39052 1.0237-.39052 1.4142 0l5 5.00001c.3905.3905.3905 1.0237 0 1.4142l-5 5c-.3905.3905-1.0237.3905-1.4142 0-.3905-.3905-.3905-1.0237 0-1.4142L18.5858 13H3c-.55228 0-1-.4477-1-1s.44772-1 1-1h15.5858l-3.2929-3.29289c-.3905-.39053-.3905-1.02369 0-1.41422Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-tile--open.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {content:"";margin:0.5rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background-color:var(--button-color-filled-inverse-font, #242938);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M9.79289 6.29289c.39051-.39052 1.02371-.39052 1.41421 0l5 5.00001c.3905.3905.3905 1.0237 0 1.4142l-5 5c-.3905.3905-1.0237.3905-1.41421 0-.39052-.3905-.39052-1.0237 0-1.4142L14.0858 12 9.79289 7.70711c-.39052-.39053-.39052-1.02369 0-1.41422Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-tile--external-link.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {content:"";margin:0.5rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background-color:var(--button-color-filled-inverse-font, #242938);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M13 4c-.5523 0-1 .44772-1 1s.4477 1 1 1h3.5858l-7.29291 7.2929c-.39052.3905-.39052 1.0237 0 1.4142.39053.3905 1.02371.3905 1.41421 0L18 7.41421V11c0 .5523.4477 1 1 1s1-.4477 1-1V5c0-.55228-.4477-1-1-1h-6ZM5 6c-.55228 0-1 .44772-1 1v12c0 .5523.44772 1 1 1h12c.5523 0 1-.4477 1-1v-4.5c0-.5523-.4477-1-1-1s-1 .4477-1 1V18H6V8h3.5c.5523 0 1-.44772 1-1s-.4477-1-1-1H5Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-tile__item.svelte-9ba9gl {display:flex;flex-direction:column;}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable) {border-radius:var(--border-radius-m, 0.5rem);background-color:var(--tile-color-background-primary, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable) {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable) {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--secondary.svelte-9ba9gl {background-color:var(--tile-color-background-secondary, #eff1f6);}
@media (prefers-reduced-motion: no-preference) {.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--inverse.svelte-9ba9gl {background-color:var(--tile-color-background-inverse, #242938);color:var(--color-text-primary-inverse, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--inverse.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--inverse.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--inverse.svelte-9ba9gl svg:where(.svelte-9ba9gl),
.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--inverse.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after,
.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--inverse.svelte-9ba9gl .mc-tile__action-icon:where(.svelte-9ba9gl) {color:var(--color-text-primary-inverse, #ffffff);fill:var(--color-text-primary-inverse, #ffffff);}.mc-tile:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable).mc-tile--bordered.svelte-9ba9gl {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__content:where(.svelte-9ba9gl)) {display:flex;flex-direction:column;}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__content:where(.svelte-9ba9gl)) .mc-tile__content:where(.svelte-9ba9gl) {border-top:1px solid var(--tile-color-border-default, #cccccc);}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-9ba9gl)) {pointer-events:auto;display:flex;flex-direction:column;}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-9ba9gl)) .mc-tile__header:where(.svelte-9ba9gl) {display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-9ba9gl)) .mc-tile__body:where(.svelte-9ba9gl) {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-9ba9gl)) .mc-tile__action:where(.svelte-9ba9gl) {flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0.75rem 0.75rem;pointer-events:auto;background-color:transparent;}.mc-tile.svelte-9ba9gl:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-9ba9gl)) .mc-tile__action:where(.svelte-9ba9gl) .mc-tile__action-button:where(.svelte-9ba9gl) {pointer-events:auto;}.mc-tile--clickable.svelte-9ba9gl {border-radius:var(--border-radius-m, 0.5rem);background-color:var(--tile-color-background-primary, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--clickable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--clickable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.svelte-9ba9gl:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.svelte-9ba9gl:active {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--bordered.svelte-9ba9gl:hover {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--bordered.svelte-9ba9gl:active {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--clickable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67), box-shadow 200ms ease;}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--clickable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.svelte-9ba9gl {transition:box-shadow 200ms ease;cursor:pointer;position:relative;}.mc-tile--clickable.svelte-9ba9gl::before {border-radius:var(--border-radius-s, 0.25rem);content:"";position:absolute;inset:0.25rem;background-color:transparent;pointer-events:none;outline:0 solid transparent;outline-offset:-0.125rem;}.mc-tile--clickable.mc-tile--secondary.svelte-9ba9gl {background-color:var(--tile-color-background-secondary, #eff1f6);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--clickable.mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--clickable.mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.mc-tile--secondary.svelte-9ba9gl:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--secondary.svelte-9ba9gl:active {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--secondary.mc-tile--bordered.svelte-9ba9gl:hover {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--secondary.mc-tile--bordered.svelte-9ba9gl:active {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl {background-color:var(--tile-color-background-inverse, #242938);color:var(--color-text-primary-inverse, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl:active {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.mc-tile--bordered.svelte-9ba9gl:hover {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.mc-tile--bordered.svelte-9ba9gl:active {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl svg:where(.svelte-9ba9gl),
.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after,
.mc-tile--clickable.mc-tile--inverse.svelte-9ba9gl .mc-tile__action-icon:where(.svelte-9ba9gl) {color:var(--color-text-primary-inverse, #ffffff);fill:var(--color-text-primary-inverse, #ffffff);}.mc-tile--clickable.mc-tile--bordered.svelte-9ba9gl {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.svelte-9ba9gl:focus-visible {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-tile--clickable.svelte-9ba9gl:is(button:where(.svelte-9ba9gl)) {width:100%;border:0;padding:0;font-family:inherit;font-size:inherit;text-align:left;appearance:none;}.mc-tile--clickable.svelte-9ba9gl:is(a:where(.svelte-9ba9gl)) {display:flex;text-decoration:none;color:inherit;}.mc-tile--clickable.svelte-9ba9gl:is(a:where(.svelte-9ba9gl)):visited {color:inherit;}.mc-tile--clickable.svelte-9ba9gl:is(a:where(.svelte-9ba9gl)):not(.mc-tile--action-right) {flex-direction:column;}.mc-tile--clickable.svelte-9ba9gl:is(div[role=button]:where(.svelte-9ba9gl)) {width:100%;cursor:pointer;}.mc-tile--expandable.svelte-9ba9gl {border-radius:var(--border-radius-m, 0.5rem);background-color:var(--tile-color-background-primary, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67), box-shadow 200ms ease;}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--expandable.svelte-9ba9gl {display:block;position:relative;overflow:hidden;}
@supports (interpolate-size: allow-keywords) {.mc-tile--expandable.svelte-9ba9gl {interpolate-size:allow-keywords;}
}.mc-tile--expandable.mc-tile--secondary.svelte-9ba9gl {background-color:var(--tile-color-background-secondary, #eff1f6);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.mc-tile--secondary.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--expandable.mc-tile--bordered.svelte-9ba9gl {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile--expandable.mc-tile--borderless.svelte-9ba9gl {border:none;}.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) {cursor:default;}.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button]:where(.svelte-9ba9gl) {cursor:pointer;}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button]:where(.svelte-9ba9gl) .mc-tile__action:where(.svelte-9ba9gl)::after {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:transform 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button]:where(.svelte-9ba9gl) .mc-tile__action:where(.svelte-9ba9gl)::after {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button]:where(.svelte-9ba9gl) .mc-tile__action:where(.svelte-9ba9gl)::after {transform:rotateX(0deg);background-color:var(--button-color-filled-inverse-font, #242938);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 01-.71-.29l-5-5a1 1 0 011.42-1.42L8 9.09l4.29-4.3a1 1 0 111.42 1.42l-5 5a1 1 0 01-.71.29z'/%3E%3C/svg%3E") no-repeat center/contain;content:"";width:1rem;height:1rem;flex-shrink:0;background-repeat:no-repeat;background-position:center;background-size:1rem;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__header:where(.svelte-9ba9gl) {display:flex;align-items:stretch;position:relative;z-index:2;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__header:where(.svelte-9ba9gl)::after {border-radius:var(--border-radius-m, 0.5rem);content:"";position:absolute;inset:0.25rem;background-color:transparent;pointer-events:none;z-index:-1;}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-9ba9gl .mc-tile__header:where(.svelte-9ba9gl)::after {transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67), box-shadow 200ms ease;}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-9ba9gl .mc-tile__header:where(.svelte-9ba9gl)::after {transition:none;}
}.mc-tile--expandable.svelte-9ba9gl .mc-tile__header[type=button]:where(.svelte-9ba9gl) {width:100%;border:none;background:none;padding:0;margin:0;font:inherit;text-align:inherit;cursor:pointer;appearance:none;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__header[type=button]:where(.svelte-9ba9gl):focus-visible {outline:none;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__header[type=button]:where(.svelte-9ba9gl):focus-visible::after {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button]:where(.svelte-9ba9gl):hover::after {background-color:var(--tile-color-background-hover, rgba(0, 0, 0, 0.05));}.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button]:where(.svelte-9ba9gl):active::after {background-color:var(--tile-color-background-hover, rgba(0, 0, 0, 0.05));}.mc-tile--expandable.svelte-9ba9gl .mc-tile__body:where(.svelte-9ba9gl) {flex-grow:1;position:relative;z-index:1;}.mc-tile--expandable.svelte-9ba9gl:has(.mc-tile__action:where(.svelte-9ba9gl)) .mc-tile__body:where(.svelte-9ba9gl) {border-radius:var(--border-radius-m, 0.5rem) 0 0 0;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl) {border-radius:0 var(--border-radius-m, 0.5rem) var(--border-radius-m, 0.5rem) 0;box-sizing:border-box;min-width:4rem;flex-shrink:0;background-color:transparent;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__content:where(.svelte-9ba9gl) {width:100%;overflow:hidden;max-height:0;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;position:relative;z-index:1;}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-9ba9gl .mc-tile__content:where(.svelte-9ba9gl) {transition:max-height 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-9ba9gl .mc-tile__content:where(.svelte-9ba9gl) {transition:none;}
}.mc-tile--expandable.svelte-9ba9gl .mc-tile__content[aria-hidden=false]:where(.svelte-9ba9gl) {max-height:50rem;}
@supports (interpolate-size: allow-keywords) {.mc-tile--expandable.svelte-9ba9gl .mc-tile__content:where(.svelte-9ba9gl) {height:0;max-height:none;}
  @media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-9ba9gl .mc-tile__content:where(.svelte-9ba9gl) {transition:height 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);transition-behavior:allow-discrete;}
  }
  @media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-9ba9gl .mc-tile__content:where(.svelte-9ba9gl) {transition:none;}
  }.mc-tile--expandable.svelte-9ba9gl .mc-tile__content[aria-hidden=false]:where(.svelte-9ba9gl) {height:auto;}
}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button][aria-expanded=true]:where(.svelte-9ba9gl) .mc-tile__action:where(.svelte-9ba9gl)::after {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:transform 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button][aria-expanded=true]:where(.svelte-9ba9gl) .mc-tile__action:where(.svelte-9ba9gl)::after {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--expandable.svelte-9ba9gl:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) .mc-tile__header[type=button][aria-expanded=true]:where(.svelte-9ba9gl) .mc-tile__action:where(.svelte-9ba9gl)::after {transform:rotateX(180deg);}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
}.mc-tile--expandable.svelte-9ba9gl .mc-tile__action-button:where(.svelte-9ba9gl) {position:relative;z-index:2;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__action-button:where(.svelte-9ba9gl):not(.mc-button) {display:flex;align-items:center;gap:0.5rem;border:0;background-color:transparent;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;text-align:left;padding:0;margin:0;cursor:pointer;appearance:none;}.mc-tile--expandable.svelte-9ba9gl .mc-tile__action-button:where(.svelte-9ba9gl):not(.mc-button):focus-visible {outline:0.125rem solid var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline-offset:0.125rem;border-radius:var(--border-radius-s, 0.25rem);}.mc-tile--expandable.svelte-9ba9gl .mc-tile__action-label:where(.svelte-9ba9gl) {font-size:var(--font-size-100, 0.875rem);font-weight:var(--font-weight-semi-bold, 600);line-height:var(--line-height-m, 1.5);}.mc-tile--expandable.mc-tile--trigger-icon.svelte-9ba9gl {cursor:default;}.mc-tile--expandable.mc-tile--trigger-icon.svelte-9ba9gl .mc-tile__body:where(.svelte-9ba9gl) {cursor:default;}.mc-tile--expandable.mc-tile--trigger-icon.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl) {justify-content:center;}.mc-tile--expandable.mc-tile--trigger-icon.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {content:none;display:none;}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl {cursor:default;display:flex;flex-direction:column;}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl .mc-tile__body:where(.svelte-9ba9gl) {cursor:default;order:1;}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl .mc-tile__header:where(.svelte-9ba9gl) {display:contents;}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl) {cursor:pointer;min-width:auto;justify-content:flex-start;padding:0.5rem;order:3;box-shadow:0 1px 0 0 var(--tile-color-border-default, #cccccc);border-radius:0;}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl)::after {display:none;}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl .mc-tile__content:where(.svelte-9ba9gl) {order:2;border-radius:0;}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl .mc-tile__action-button:where(.svelte-9ba9gl) {font-weight:var(--font-weight-semi-bold, 600);width:100%;margin:0;}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
}.mc-tile--expandable.mc-tile--trigger-button.svelte-9ba9gl .mc-tile__action-label:where(.svelte-9ba9gl) {flex:initial;}.mc-tile--selectable.svelte-9ba9gl {border-radius:var(--border-radius-m, 0.5rem);background-color:var(--tile-color-background-primary, #ffffff);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--selectable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--selectable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}
@media (prefers-reduced-motion: no-preference) {.mc-tile--selectable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:background-color 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67), box-shadow 200ms ease;}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--selectable.svelte-9ba9gl {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--selectable.svelte-9ba9gl {cursor:pointer;position:relative;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;overflow:hidden;box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile--selectable.svelte-9ba9gl .mc-tile__body:where(.svelte-9ba9gl) {flex-grow:1;display:flex;flex-direction:column;}.mc-tile--selectable.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl) {background-color:transparent;box-sizing:border-box;flex-shrink:0;display:flex;align-items:flex-start;justify-content:center;border-radius:initial;padding:0.75rem 0.75rem;}.mc-tile--selectable.svelte-9ba9gl:has(.mc-tile__content:where(.svelte-9ba9gl)) {flex-direction:column;align-items:stretch;}.mc-tile--selectable.svelte-9ba9gl:has(.mc-tile__content:where(.svelte-9ba9gl)) .mc-tile__header:where(.svelte-9ba9gl) {display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;}.mc-tile--selectable.svelte-9ba9gl:has(.mc-tile__content:where(.svelte-9ba9gl)) .mc-tile__header:where(.svelte-9ba9gl) .mc-tile__body:where(.svelte-9ba9gl) {display:flex;flex-direction:column;}.mc-tile--selectable.svelte-9ba9gl:has(.mc-tile__content:where(.svelte-9ba9gl)) .mc-tile__content:where(.svelte-9ba9gl) {border-top:1px solid var(--tile-color-border-default, #cccccc);}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-9ba9gl)).mc-tile--input-left.svelte-9ba9gl {flex-direction:column;}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-9ba9gl)).mc-tile--input-left.svelte-9ba9gl .mc-tile__header:where(.svelte-9ba9gl) {flex-direction:row-reverse;}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-9ba9gl)).mc-tile--input-center.svelte-9ba9gl {align-items:stretch;}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-9ba9gl)).mc-tile--input-center.svelte-9ba9gl .mc-tile__header:where(.svelte-9ba9gl) {align-items:center;}.mc-tile--selectable.mc-tile--input-left.svelte-9ba9gl {flex-direction:row-reverse;}.mc-tile--selectable.mc-tile--input-center.svelte-9ba9gl {align-items:center;}.mc-tile--selectable.svelte-9ba9gl:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--selectable.mc-tile--selected.svelte-9ba9gl {box-shadow:0 0 0 2px var(--color-brand, #78be20), 0 0 0 4px var(--color-background-accent, #ebf5de);}.mc-tile--selectable.mc-tile--no-input.svelte-9ba9gl .mc-tile__action:where(.svelte-9ba9gl) {visibility:hidden;position:absolute;}`};function N(r,x){b(x,!0),c(r,M);let N=h(x,`appearance`,7,`primary`),P=h(x,`bordered`,7,!0),F=h(x,`trigger`,7,`icon`),I=h(x,`label`,7,`See more`),L=h(x,`class`,7),R=y(x,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`appearance`,`bordered`,`trigger`,`label`,`class`]),z=crypto.randomUUID(),B=u(!1),V=g(()=>F()===`container`);function H(){i(B,!a(B))}var U={get appearance(){return N()},set appearance(e=`primary`){N(e),f()},get bordered(){return P()},set bordered(e=!0){P(e),f()},get trigger(){return F()},set trigger(e=`icon`){F(e),f()},get label(){return I()},set label(e=`See more`){I(e),f()},get class(){return L()},set class(e){L(e),f()}},W=j();m(W,()=>({class:[`mc-tile mc-tile--expandable`,N()!==`primary`&&`mc-tile--${N()}`,P()&&`mc-tile--bordered`,F()!==`container`&&`mc-tile--trigger-${F()}`,L()],...R}),void 0,void 0,void 0,`svelte-9ba9gl`);var G=v(W);C(G,()=>a(V)?`button`:`div`,!1,(r,i)=>{m(r,()=>({class:`mc-tile__header`,...a(V)?{type:`button`,"aria-controls":`content-${z}`,"aria-expanded":a(B),onclick:()=>H()}:{}}),void 0,void 0,void 0,`svelte-9ba9gl`);var c=A(),l=t(c);S(v(l),x,`default`,{},null),d(l);var u=s(l,2),f=v(u),h=e=>{var t=D(),r=v(t);{let e=g(()=>`content-${z}`);E(r,{ghost:!0,get"aria-controls"(){return a(e)},get"aria-expanded"(){return a(B)},onclick:()=>H(),$$slots:{icon:(e,t)=>{w(e,{slot:`icon`})}}})}d(t),n(e,t)},_=e=>{var t=k(),r=v(t);{let e=g(()=>`content-${z}`);T(r,{ghost:!0,iconposition:`right`,get"aria-controls"(){return a(e)},get"aria-expanded"(){return a(B)},onclick:()=>H(),children:(e,t)=>{var r=O(),i=v(r,!0);d(r),o(()=>p(i,I())),n(e,r)},$$slots:{default:!0,icon:(e,t)=>{w(e,{slot:`icon`})}}})}d(t),n(e,t)};e(f,e=>{F()===`icon`?e(h):F()===`button`&&e(_,1)}),d(u),n(i,c)});var K=s(G,2);return S(v(K),x,`details`,{},null),d(K),d(W),o(()=>{l(K,`id`,`content-${z}`),l(K,`aria-hidden`,!a(B))}),n(r,W),_(U)}customElements.define(`m-tile-expandable`,x(N,{bordered:{attribute:`bordered`,reflect:!0,type:`Boolean`},appearance:{},trigger:{},label:{},class:{}},[`default`,`details`],[],{mode:`open`}));
//# sourceMappingURL=TileExpandable.js.map