import{C as e,D as t,J as n,M as r,P as i,V as a,Y as o,b as s,ft as c,it as l,l as u,n as d,nt as f,ot as p,q as m,r as h,st as g,t as _,w as v}from"../../client.js";import{t as y}from"../../custom-element-forward-events.js";import b from"../checkbox/Checkbox.js";import x from"../radio/Radio.js";var S=i(`<div class="mc-tile__header svelte-z2cgb1"><div class="mc-tile__body svelte-z2cgb1"><!></div> <div class="mc-tile__action svelte-z2cgb1"><!></div></div>`),C=i(`<div class="mc-tile__body svelte-z2cgb1"><!></div> <div class="mc-tile__action svelte-z2cgb1"><!></div>`,1),w=i(`<div class="mc-tile__content svelte-z2cgb1"><!></div>`),T=i(`<div><!> <!></div>`),E={hash:`svelte-z2cgb1`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-tile.svelte-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile.svelte-z2cgb1 {box-sizing:border-box;display:flex;flex-direction:column;position:relative;}.mc-tile--secondary.svelte-z2cgb1 {background-color:var(--tile-color-background-secondary, #eff1f6);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--secondary.svelte-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--inverse.svelte-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}
.mc-tile--inverse.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::after {color:var(--color-text-primary-inverse, #ffffff);fill:var(--color-text-primary-inverse, #ffffff);}.mc-tile--inverse.mc-tile--navigate.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::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-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::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-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::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-z2cgb1 {flex:1;}.mc-tile--bordered.svelte-z2cgb1 {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile--action-right.svelte-z2cgb1 {flex-direction:row;align-items:stretch;}.mc-tile--action-right.svelte-z2cgb1 .mc-tile__body:where(.svelte-z2cgb1) {border-radius:var(--border-radius-m, 0.5rem) 0 0 var(--border-radius-m, 0.5rem);}.mc-tile--action-right.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1) {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-z2cgb1 {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-z2cgb1 {margin:0.5rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;}.mc-tile--navigate.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::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-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::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-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::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-z2cgb1 {display:flex;flex-direction:column;}.mc-tile.svelte-z2cgb1: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-z2cgb1: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-z2cgb1: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-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* 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-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* 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-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::after {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-z2cgb1 {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile.svelte-z2cgb1:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__content:where(.svelte-z2cgb1)) {display:flex;flex-direction:column;}.mc-tile.svelte-z2cgb1:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__content:where(.svelte-z2cgb1)) .mc-tile__content:where(.svelte-z2cgb1) {border-top:1px solid var(--tile-color-border-default, #cccccc);}.mc-tile.svelte-z2cgb1:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-z2cgb1)) {pointer-events:auto;display:flex;flex-direction:column;}.mc-tile.svelte-z2cgb1:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-z2cgb1)) .mc-tile__header:where(.svelte-z2cgb1) {display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;}.mc-tile.svelte-z2cgb1:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-z2cgb1)) .mc-tile__body:where(.svelte-z2cgb1) {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.mc-tile.svelte-z2cgb1:not(.mc-tile--clickable, .mc-tile--expandable, .mc-tile--selectable):has(.mc-tile__action:where(.svelte-z2cgb1)) .mc-tile__action:where(.svelte-z2cgb1) {flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0.75rem 0.75rem;pointer-events:auto;background-color:transparent;}.mc-tile--clickable.svelte-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.svelte-z2cgb1:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.svelte-z2cgb1:active {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--bordered.svelte-z2cgb1:hover {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--bordered.svelte-z2cgb1:active {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--clickable.svelte-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.svelte-z2cgb1 {transition:box-shadow 200ms ease;cursor:pointer;position:relative;}.mc-tile--clickable.svelte-z2cgb1::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-z2cgb1 {background-color:var(--tile-color-background-secondary, #eff1f6);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--clickable.mc-tile--secondary.svelte-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.mc-tile--secondary.svelte-z2cgb1:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--secondary.svelte-z2cgb1:active {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--secondary.mc-tile--bordered.svelte-z2cgb1:hover {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--secondary.mc-tile--bordered.svelte-z2cgb1:active {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.svelte-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--clickable.mc-tile--inverse.svelte-z2cgb1:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.svelte-z2cgb1:active {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.mc-tile--bordered.svelte-z2cgb1:hover {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.mc-tile--inverse.mc-tile--bordered.svelte-z2cgb1:active {box-shadow:0 0 0 3px var(--tile-color-border-default, #cccccc);}
.mc-tile--clickable.mc-tile--inverse.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::after {color:var(--color-text-primary-inverse, #ffffff);fill:var(--color-text-primary-inverse, #ffffff);}.mc-tile--clickable.mc-tile--bordered.svelte-z2cgb1 {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile--clickable.svelte-z2cgb1: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-z2cgb1:is(div[role=button]:where(.svelte-z2cgb1)) {width:100%;cursor:pointer;}.mc-tile--expandable.svelte-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--expandable.svelte-z2cgb1 {display:block;position:relative;overflow:hidden;}
@supports (interpolate-size: allow-keywords) {.mc-tile--expandable.svelte-z2cgb1 {interpolate-size:allow-keywords;}
}.mc-tile--expandable.mc-tile--secondary.svelte-z2cgb1 {background-color:var(--tile-color-background-secondary, #eff1f6);}
@media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.mc-tile--secondary.svelte-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--expandable.mc-tile--bordered.svelte-z2cgb1 {box-shadow:0 0 0 1px var(--tile-color-border-default, #cccccc);}.mc-tile--expandable.mc-tile--borderless.svelte-z2cgb1 {border:none;}.mc-tile--expandable.svelte-z2cgb1:not(.mc-tile--trigger-icon, .mc-tile--trigger-button) {cursor:default;}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
}.mc-tile--expandable.svelte-z2cgb1 .mc-tile__header:where(.svelte-z2cgb1) {display:flex;align-items:stretch;position:relative;z-index:2;}.mc-tile--expandable.svelte-z2cgb1 .mc-tile__header:where(.svelte-z2cgb1)::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-z2cgb1 .mc-tile__header:where(.svelte-z2cgb1)::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-z2cgb1 .mc-tile__header:where(.svelte-z2cgb1)::after {transition:none;}
}.mc-tile--expandable.svelte-z2cgb1 .mc-tile__body:where(.svelte-z2cgb1) {flex-grow:1;position:relative;z-index:1;}.mc-tile--expandable.svelte-z2cgb1:has(.mc-tile__action:where(.svelte-z2cgb1)) .mc-tile__body:where(.svelte-z2cgb1) {border-radius:var(--border-radius-m, 0.5rem) 0 0 0;}.mc-tile--expandable.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1) {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-z2cgb1 .mc-tile__content:where(.svelte-z2cgb1) {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-z2cgb1 .mc-tile__content:where(.svelte-z2cgb1) {transition:max-height 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);}
}
@media (prefers-reduced-motion: reduce) {.mc-tile--expandable.svelte-z2cgb1 .mc-tile__content:where(.svelte-z2cgb1) {transition:none;}
}
@supports (interpolate-size: allow-keywords) {.mc-tile--expandable.svelte-z2cgb1 .mc-tile__content:where(.svelte-z2cgb1) {height:0;max-height:none;}
  @media (prefers-reduced-motion: no-preference) {.mc-tile--expandable.svelte-z2cgb1 .mc-tile__content:where(.svelte-z2cgb1) {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-z2cgb1 .mc-tile__content:where(.svelte-z2cgb1) {transition:none;}
  }
}
@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-icon.svelte-z2cgb1 {cursor:default;}.mc-tile--expandable.mc-tile--trigger-icon.svelte-z2cgb1 .mc-tile__body:where(.svelte-z2cgb1) {cursor:default;}.mc-tile--expandable.mc-tile--trigger-icon.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1) {justify-content:center;}.mc-tile--expandable.mc-tile--trigger-icon.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::after {content:none;display:none;}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
}.mc-tile--expandable.mc-tile--trigger-button.svelte-z2cgb1 {cursor:default;display:flex;flex-direction:column;}.mc-tile--expandable.mc-tile--trigger-button.svelte-z2cgb1 .mc-tile__body:where(.svelte-z2cgb1) {cursor:default;order:1;}.mc-tile--expandable.mc-tile--trigger-button.svelte-z2cgb1 .mc-tile__header:where(.svelte-z2cgb1) {display:contents;}.mc-tile--expandable.mc-tile--trigger-button.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1) {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-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1)::after {display:none;}.mc-tile--expandable.mc-tile--trigger-button.svelte-z2cgb1 .mc-tile__content:where(.svelte-z2cgb1) {order:2;border-radius: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--selectable.svelte-z2cgb1 {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-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}
@media (prefers-reduced-motion: no-preference) {.mc-tile--selectable.svelte-z2cgb1 {
    /* 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-z2cgb1 {
    /* stylelint-disable-next-line no-invalid-position-declaration */transition:none;}
}.mc-tile--selectable.svelte-z2cgb1 {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-z2cgb1 .mc-tile__body:where(.svelte-z2cgb1) {flex-grow:1;display:flex;flex-direction:column;}.mc-tile--selectable.svelte-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1) {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-z2cgb1:has(.mc-tile__content:where(.svelte-z2cgb1)) {flex-direction:column;align-items:stretch;}.mc-tile--selectable.svelte-z2cgb1:has(.mc-tile__content:where(.svelte-z2cgb1)) .mc-tile__header:where(.svelte-z2cgb1) {display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;}.mc-tile--selectable.svelte-z2cgb1:has(.mc-tile__content:where(.svelte-z2cgb1)) .mc-tile__header:where(.svelte-z2cgb1) .mc-tile__body:where(.svelte-z2cgb1) {display:flex;flex-direction:column;}.mc-tile--selectable.svelte-z2cgb1:has(.mc-tile__content:where(.svelte-z2cgb1)) .mc-tile__content:where(.svelte-z2cgb1) {border-top:1px solid var(--tile-color-border-default, #cccccc);}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-z2cgb1)).mc-tile--input-left.svelte-z2cgb1 {flex-direction:column;}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-z2cgb1)).mc-tile--input-left.svelte-z2cgb1 .mc-tile__header:where(.svelte-z2cgb1) {flex-direction:row-reverse;}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-z2cgb1)).mc-tile--input-center.svelte-z2cgb1 {align-items:stretch;}.mc-tile--selectable:has(.mc-tile__content:where(.svelte-z2cgb1)).mc-tile--input-center.svelte-z2cgb1 .mc-tile__header:where(.svelte-z2cgb1) {align-items:center;}.mc-tile--selectable.mc-tile--input-left.svelte-z2cgb1 {flex-direction:row-reverse;}.mc-tile--selectable.mc-tile--input-center.svelte-z2cgb1 {align-items:center;}.mc-tile--selectable.svelte-z2cgb1:hover {box-shadow:0 0 0 2px var(--tile-color-border-default, #cccccc);}.mc-tile--selectable.mc-tile--selected.svelte-z2cgb1 {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-z2cgb1 .mc-tile__action:where(.svelte-z2cgb1) {visibility:hidden;position:absolute;}`};function D(i,_){let y=e(_);g(_,!0),s(i,E);let D=d(_,`checked`,15,!1),O=d(_,`bordered`,7,!0),k=d(_,`inputtype`,7,`checkbox`),A=d(_,`inputposition`,7,`right`),j=d(_,`centered`,7),M=d(_,`class`,7),N=h(_,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`checked`,`bordered`,`inputtype`,`inputposition`,`centered`,`class`]),P=crypto.randomUUID();var F={get checked(){return D()},set checked(e=!1){D(e),l()},get bordered(){return O()},set bordered(e=!0){O(e),l()},get inputtype(){return k()},set inputtype(e=`checkbox`){k(e),l()},get inputposition(){return A()},set inputposition(e=`right`){A(e),l()},get centered(){return j()},set centered(e){j(e),l()},get class(){return M()},set class(e){M(e),l()}},I=T();u(I,()=>({class:[`mc-tile mc-tile--selectable`,D()&&`mc-tile--selected`,O()&&`mc-tile--bordered`,A()===`left`&&`mc-tile--input-left`,j()&&`mc-tile--input-center`,M()],...N}),void 0,void 0,void 0,`svelte-z2cgb1`);var L=m(I),R=e=>{var n=S(),i=m(n);v(m(i),_,`default`,{},null),c(i);var s=o(i,2),l=m(s),u=e=>{{let t=f(()=>`checkbox-${P}`);b(e,{get id(){return a(t)},name:`tile-select-group`,get checked(){return D()},set checked(e){D(e)}})}},d=e=>{{let t=f(()=>`radio-${P}`);x(e,{get id(){return a(t)},name:`tile-select-group`,get checked(){return D()},set checked(e){D(e)}})}};t(l,e=>{k()===`checkbox`?e(u):e(d,-1)}),c(s),c(n),r(e,n)},z=e=>{var i=C(),s=n(i);v(m(s),_,`default`,{},null),c(s);var l=o(s,2),u=m(l),d=e=>{{let t=f(()=>`checkbox-${P}`);b(e,{get id(){return a(t)},name:`tile-select-group`,get checked(){return D()},set checked(e){D(e)}})}},p=e=>{{let t=f(()=>`radio-${P}`);x(e,{get id(){return a(t)},name:`tile-select-group`,get checked(){return D()},set checked(e){D(e)}})}};t(u,e=>{k()===`checkbox`?e(d):e(p,-1)}),c(l),r(e,i)};t(L,e=>{y.details?e(R):e(z,-1)});var B=o(L,2),V=e=>{var t=w();v(m(t),_,`details`,{},null),c(t),r(e,t)};return t(B,e=>{y.details&&e(V)}),c(I),r(i,I),p(F)}customElements.define(`m-tile-selectable`,_(D,{checked:{attribute:`checked`,reflect:!0,type:`Boolean`},bordered:{attribute:`bordered`,reflect:!0,type:`Boolean`},centered:{attribute:`centered`,reflect:!0,type:`Boolean`},inputtype:{},inputposition:{},class:{}},[`default`,`details`],[],{mode:`open`},y));
//# sourceMappingURL=TileSelectable.js.map