cted svg {
        fill: var(--fill-color-selected);
    }

    fluent-button.filled-icon-hover {
        background: transparent;
        min-width: 20px;
        height: 20px;
    }

    fluent-button.filled-icon-hover::part(control) {
        width: 20px;
    }

    fluent-button.filled-icon-hover svg {
        width: 20px;
        height: 20px;
    }

    fluent-button.filled-icon-hover:hover > svg > path {
        transition: all 0.5s;
        d: path(var(--filled-path));
    }

    fluent-button.filled-icon-hover,
    fluent-button.no-backplate:not(:hover) {
        background: transparent;
    }

    fluent-button.expand::part(control) {
        padding: 0;
    }

    .button-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-inline-start: 8px;
        animation: padding-icon 0.3s linear 2s 1 forwards;
    }

    .button-content > span {
        font-size: var(--type-ramp-minus-1-font-size);
        padding-inline-start: 6px;
        padding-inline-end: 10px;
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .button-content > svg {
        max-height: 16px;
    }

    .disappear {
        animation: disappear 0.3s ease-out 2s forwards;
        max-width: 165px;
    }

    .expand {
        border-radius: 100px;
        max-width: 210px;
    }

    @keyframes disappear {
        to { width: 0; padding-inline: 0; overflow: hidden; opacity: 0; display: none; }
    }

    @keyframes padding-icon {
        to { padding-inline-start: 0; }
    }
`.withBehaviors();var d=i(39181),l=i(13988);const c=d.d`
<fluent-button 
    class=${e=>`${"fillediconhover"===e.layout?"filled-icon-hover":""}\n        ${"nobackplate"===e.layout?"no-backplate":""}\n        ${e.fillColorSelected&&e.selected?" fill-color-selected":""}`}
    data-icon=${e=>e.dataIcon}
    appearance="neutral"
    style="--filled-path: '${e=>e.filledIconPath}'; --fill-color-selected: ${e=>e.fillColorSelected};"
    aria-label=${e=>e.selectTitle}
    aria-pressed=${e=>e.selected}
    title=${e=>e.selected?e.unselectTitle:e.selectTitle}
    @click=${e=>e.toggleSelected&&e.toggleSelected()}
    data-t="${e=>e.selected?e.unselectTelemetryTag:e.selectTelemetryTag}"
    >
    ${(0,l.g)((e=>e.selected),d.d`
        ${(0,l.g)((e=>"animated"!==e.layout),d.d`
            ${e=>d.d`${e.selectIcon}`}
        `)}
        ${(0,l.g)((e=>"animated"===e.layout),d.d`
            <span class="button-content">
                ${e=>d.d`${e.selectIcon}`}
                <span class="disappear">${e=>e.animationText}</span>
            </span>
        `)}
    `)}
    ${(0,l.g)((e=>!e.selected),d.d`${e=>d.d`${e.unselectIcon}`}`)}
</fluent-button>
`;let u=class extends r{};u=(0,n.gn)([(0,o.M)({name:"msn-card-button",template:c,styles:s,shadowOptions:{delegatesFocus:!0}})],u)},28195:function(e,t,i){"use strict";i.d(t,{x:function(){return o}});var n=i(48839);class o extends n.I{handleImageContentChange(){this.imageContainer.classList.toggle("image",this.image.assignedNodes().length>0)}}},76445:function(e,t,i){"use strict";i.d(t,{B4:function(){return u}});var n=i(28195),o=i(39181),a=i(58952);var r=i(53046),s=i(67020),d=i(40082),l=i(32804),c=i(15933);const u=n.x.compose({baseName:"attribution",template:(e,t)=>o.d`
    <span part="image" ${(0,a.i)("imageContainer")}>
        <slot
            name="image"
            ${(0,a.i)("image")}
            @slotchange=${e=>e.handleImageContentChange()}
        ></slot>
    </span>
    <span part="content" class="content">
        <slot></slot>
    </span>
`,styles:(e,t)=>r.i`
        ${(0,s.j)("inline-flex")} :host {
            box-sizing: border-box;
            font-family: ${l.SVJ};
            font-size: ${l.sNp};
            font-weight: 400;
            line-height: ${l.vgC};
            align-items: center;
            color: ${l.Q5n};
            min-height: 16px;
        }

        .content {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .image {
            display: flex;
            margin-inline-end: calc(${l._5n} * 2px);
        }
    `.withBehaviors((0,d.vF)(r.i`
                :host,
                .content {
                    color: ${c.H.CanvasText};
                    fill: currentcolor;
                }
            `))})},6540:function(e,t,i){"use strict";i.d(t,{K:function(){return s}});var n=i(33940),o=i(65620),a=i(87697),r=i(48839);class s extends r.I{constructor(){super(...arguments),this.expanded=!1}defaultItemsChanged(){this.$fastController.isConnected&&(this.shouldanimate=this.defaultItems.length>0)}}(0,n.gn)([(0,o.Lj)({mode:"boolean"})],s.prototype,"expanded",void 0),(0,n.gn)([a.LO],s.prototype,"defaultItems",void 0),(0,n.gn)([(0,o.Lj)({mode:"boolean",attribute:"animate"})],s.prototype,"shouldanimate",void 0)},99348:function(e,t,i){"use strict";i.d(t,{tO:function(){return m}});var n=i(6540),o=i(39181),a=i(90960);var r=i(32804),s=i(22674),d=i(67020),l=i(40082),c=i(53046),u=i(16859),h=i(15933);const p=c.i`
    :host::after {
        transform: translateX(-100%) translateX(20px);
    }
    :host([animate]) .label {
        transform: translateX(-100%);
    }
`,g=c.i`
    :host::after {
        transform: translateX(100%) translateX(-20px);
    }
    :host([animate]) .label {
        transform: translateX(100%);
    }
`,f=c.i`
    :host {
        color: #000;
    }
    :host::after {
        background: rgba(255, 255, 255, 0.46);
    }
`,v=c.i`
    :host {
        color: #fff;
    }
    :host::after {
        background: rgba(0, 0, 0, 0.54);
    }
`,m=n.K.compose({baseName:"content-indicator",template:(e,t)=>o.d`
    <span class="icon-container" part="icon-container" aria-hidden="true">
        <slot name="icon"></slot>
    </span>
    <span class="label-container" part="label-container">
        <span class="label" part="label">
            <slot
                ${(0,a.Q)({property:"defaultItems",filter:e=>{var t;return e instanceof HTMLElement&&null!==e.offsetParent||e instanceof Text&&!!(null===(t=e.textContent)||void 0===t?void 0:t.trim().length)}})}
            ></slot>
        </span>
    </span>
`,styles:(e,t)=>c.i`
        ${(0,d.j)("inline-flex")} :host {
            align-items: center;
            box-sizing: border-box;
            contain: content;
            overflow: hidden;
        }

        .label-container {
            overflow: hidden;
        }

        :host,
        :host::after {
            ${""}
            border-radius: 4px;
        }

        :host::after {
            content: "";
            height: 100%;
            position: absolute;
            width: 100%;
            z-index: -1;
        }

        .icon-container,
        .label {
            min-height: 20px;
            min-width: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            fill: currentcolor;
        }

        :host([animate])::after,
        .label {
            transition: transform 250ms cubic-bezier(0.17, 0.17, 0, 1);
        }

        .label {
            font-family: ${r.SVJ};
            font-size: ${r.sNp};
            font-weight: 600;
            line-height: ${r.vgC};
            text-overflow: ellipsis;
            padding: 0 4px;
        }

        :host([expanded][animate])::after,
        :host([expanded][animate]) .label {
            transform: translateX(0%);
        }

        .label {
            transform: translateX(-100%);
        }

        ::slotted([slot="icon"]) {
            display: block;
            fill: currentcolor;
        }
    `.withBehaviors(new s.O(p,g),new u.Y(f,v),(0,l.vF)(c.i`
                :host {
                    forced-color-adjust: auto;
                }
                ::slotted([slot="icon"]) {
                    color: ${h.H.ButtonText};
                    fill: currentcolor;
                }
                .icon-container,
                :host([expanded][animate]) .label,
                :host::after {
                    background: ${h.H.ButtonFace};
                    color: ${h.H.ButtonText};
                    fill: currentcolor;
                    border-radius: calc(${r.UWU} * 1px);
                }
                .label {
                    background: transparent;
                }
            `))})},44878:function(e,t,i){"use strict";i.d(t,{iI:function(){return P}});var n=i(33940),o=i(87697),a=i(48839);class r extends a.I{constructor(){super(...arguments),this.recommendedList=[],this.trendingList=[]}get enableMaxTenRecStyle(){const e=this.recommendedList?this.recommendedList.length:0;return e>8&&e<11}}(0,n.gn)([o.LO],r.prototype,"cardTelemetryTag",void 0),(0,n.gn)([o.LO],r.prototype,"recommendedList",void 0),(0,n.gn)([o.LO],r.prototype,"recommendedTitle",void 0),(0,n.gn)([o.LO],r.prototype,"recommendedSectionTelemetry",void 0),(0,n.gn)([o.LO],r.prototype,"trendingHref",void 0),(0,n.gn)([o.LO],r.prototype,"trendingList",void 0),(0,n.gn)([o.LO],r.prototype,"trendingTitle",void 0),(0,n.gn)([o.lk],r.prototype,"enableMaxTenRecStyle",null),(0,n.gn)([o.LO],r.prototype,"trendingSectionTelemetry",void 0),(0,n.gn)([o.LO],r.prototype,"trendingTitleTelemetry",void 0),(0,n.gn)([o.LO],r.prototype,"hideRecommendedSearch",void 0),(0,n.gn)([o.LO],r.prototype,"hideTrendingNow",void 0),(0,n.gn)([o.LO],r.prototype,"isTrendingNowBubble",void 0);var s=i(56201),d=i(40082),l=i(53046),c=i(15933),u=i(32804),h=i(22674),p=i(95263);const g=l.i`
    .trending-title svg {
        transform: rotate(0deg);
    }
`,f=l.i`
    .trending-title svg {
        transform: rotate(180deg);
    }
`;var v=i(39181),m=i(13988),b=i(18864),y=i(39704);const C=(e,t)=>v.d`
    <a
        data-t="${e=>e.telemetry}"
        href="${e=>e.href}"
        target="_blank"
        title="${e=>e.title}"
    >
        ${e=>e.title}
    </a>
`,x=v.d` <svg
    width="20"
    height="20"
    viewBox="0 0 20 20"
    xmlns="http://www.w3.org/2000/svg"
>
    <path
        d="M17.94 5.46a.75.75 0 00-.7-.46h-5.49a.75.75 0 000 1.5h3.69l-4.94 4.94-1.97-1.97a.75.75 0 00-1.06 0l-5.25 5.25a.75.75 0 101.06 1.06L8 11.06l1.97 1.97c.3.3.77.3 1.06 0l5.47-5.47v3.69a.75.75 0 001.5 0v-5.5c0-.1-.02-.2-.06-.29z"
    />
</svg>`,w=(e,t)=>v.d`
    <div class="trending-now-bubble-item" part="trending-now-bubble-item">
        ${(0,m.g)((e=>e.imgUrl),v.d`<img
                src="${e=>e.imgUrl}"
                alt="${e=>e.imgTitle}"
                class="trending-now-item-img"
            />`)}
        ${(0,m.g)((e=>!e.imgUrl),v.d`<div
                class="trending-now-bubble-svg-container"
                part="trending-now-bubble-svg-container"
            >
                <div
                    class="trending-now-bubble-default-svg"
                    part="trending-now-bubble-default-svg"
                >
                    <slot name="default-img-svg">
                        ${x}
                    </slot>
                </div>
            </div>`)}
        <a
            data-t="${e=>e.telemetry}"
            href="${e=>e.href}"
            target="_blank"
            title="${e=>e.title}"
            class="trending-now-link"
        >
            ${e=>e.title}
        </a>
    </div>
`,S=(e,t)=>v.d`
    <div class="trending-title" part="trending-title">
        <a
            part="trending-title-a"
            data-t="${e=>e.trendingTitleTelemetry}"
            href="${e=>e.trendingHref}"
            target="_blank"
            title="${e=>e.trendingTitle}"
        >
            ${e=>e.trendingTitle}
            <slot name="chevron-svg">
                ${y.li}
            </slot>
        </a>
    </div>
`,$=(e,t)=>v.d`
    <div class="trending-bubble-title" part="trending-bubble-title">
        <a
            part="trending-title-a"
            data-t="${e=>e.trendingTitleTelemetry}"
            href="${e=>e.trendingHref}"
            target="_blank"
            title="${e=>e.trendingTitle}"
        >
            ${e=>e.trendingTitle}
        </a>
        <div id="serendipity-button-div" class="serendipity-button-div">
            <slot name="serendipity-button-slot"></slot>
        </div>
    </div>
`,k=(e,t)=>v.d`
    <ul class="trending-list-item" part="trending-list-item">
        ${(0,b.rx)((e=>e.trendingList),v.d`<li
                class="${(e,t)=>t.parent.hideRecommendedSearch?"trending-li-1u":""}"
            >
                ${C}
            </li>`)}
    </ul>
`,L=(e,t)=>v.d`
    <ul class="bubble-list" part="bubble-list">
        ${(0,b.rx)((e=>e.trendingList),v.d`<li class="trending-bubble">${w}</li>`)}
    </ul>
`,T=(e,t)=>v.d`
    <div
        class="recommended-title ${e=>e.enableMaxTenRecStyle?"recommended-title-ten":"recommended-title-eight"}"
        part="recommended-title ${e=>e.enableMaxTenRecStyle?"recommended-title-ten":"recommended-title-eight"}"
    >
        ${e=>e.recommendedTitle}
    </div>
`,O=(e,t)=>v.d`
    <div class="recommended-items-container" part="recommend-items-containers">
        ${(0,b.rx)((e=>e.recommendedList),v.d`<div class="recommended-item">
                ${C}
            </div>`)}
    </div>
`,I=(e,t)=>v.d`
    <div
        class="${e=>e.enableMaxTenRecStyle?"serendipity-container-ten":"serendipity-container"}"
        part="${e=>e.enableMaxTenRecStyle?"serendipity-container-ten":"serendipity-container"}"
    >
        ${(0,m.g)((e=>!e.hideTrendingNow),v.d`<section data-t="${e=>e.trendingSectionTelemetry}">
                ${S}
                ${(0,m.g)((e=>e.trendingList&&e.trendingList.length>0),v.d`${k}`)}
            </section>`)}
        ${(0,m.g)((e=>!e.hideRecommendedSearch),v.d`<section data-t="${e=>e.recommendedSectionTelemetry}">
                ${T}
                ${(0,m.g)((e=>e.recommendedList&&e.recommendedList.length>0),v.d`${O}`)}
            </section>`)}
    </div>
`,A=(e,t)=>v.d`
    <div class="serendipity-container-bubble" part="serendipity-container-bubble">
        <section data-t="${e=>e.trendingSectionTelemetry}">
            ${$}
            ${(0,m.g)((e=>e.trendingList&&e.trendingList.length>0),v.d`${L}`)}
        </section>
    </div>
`,P=r.compose({baseName:"serendipity",template:(e,t)=>v.d`
    ${(0,m.g)((e=>e.isTrendingNowBubble),A)}
    ${(0,m.g)((e=>!e.isTrendingNowBubble),I)}
`,styles:(e,t)=>l.i`
    :host {
        box-sizing: border-box;
        display: block;
        height: 100%;
        position: relative;
        width: 100%;
    }

    :host(:${s.b}) {
        outline: none;
    }

    a {
        border-bottom: none;
        color: ${u.goi};
        display: inline-block;
        font-size: ${u.sNp};
        overflow: hidden;
        text-decoration: none;
        text-overflow: ellipsis;
        width: 100%;
    }

    a:hover {
        text-decoration: underline;
    }

    a:${s.b} {
        outline: none;
        text-decoration: underline;
    }

    a:visited {
        color: ${u.goi};
    }

    li {
        display: flex;
        padding: 4px 0;
        text-align: -webkit-match-parent;
        white-space: nowrap;
    }

    section {
        overflow: hidden;
    }

    ul {
        margin: 0;
        overflow: hidden;
        padding-inline-start: 0;
        position: inherit;
    }

    .link-divider {
        margin: 0 8px;
        opacity: 0.2;
        width: 1px;
        background: ${u.dtw};
    }

    .serendipity-container,
    .serendipity-container-ten {
        padding: 0 16px;
        height: inherit;
    }

    .serendipity-container-bubble {
        padding: 0 16px;
        height: inherit;
    }

    .recommended-title-eight {
        padding: 12px 0;
        padding-block-end: 4px;
    }

    .recommended-title-ten {
        padding: 12px 0;
        padding-block-end: 4px;
    }

    .trending-title {
        flex-direction: row;
        padding-block-end: 4px;
        padding-top: 12px;
    }

    .trending-bubble-title {
        align-items: center;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-block-end: 4px;
        padding-top: 12px;
    }

    .trending-bubble-title a {
        height: 16px;
        font-weight: bold;
        font-size: ${u.sNp};
        line-height: ${u.RUt};
        display: flex;
        align-items: center;
        color: ${u.Q5n};
    }

    .trending-title a,
    .recommended-title {
        color: ${u.CHi};
        font-size: ${u.cSu};
        font-weight: bold;
        line-height: ${u.RUt};
        text-transform: uppercase;
    }

    .trending-title svg {
        display: inline;
        height: 10px;
        margin-inline-start: 4px;
    }

    .serendipity-button-div {
        height: 24px;
        width: 32px;
        display: inline-flex;
        align-content: center;
        justify-content: center;
    }

    ::slotted([slot="serendipity-button-slot"]) {
        align-items: center;
        color: ${u.CHi};
        border-radius: 999px;
        display: inline-flex;
        height: 24px;
        justify-content: center;
        margin: 0 4px;
        min-width: 24px;
        padding: 0;
        position: static;
        width: 24px;
    }

    ::slotted([slot="serendipity-button-slot"]:hover) {
        background: ${u.XiB};
    }

    .trending-li-1u {
        padding: 3px 0;
    }

    .recommdended-list {
        border-collapse: collapse;
        table-layout: fixed;
        width: 100%;
        overflow: hidden;
    }

    .recommended-item:nth-child(even) {
        border-inline-start: 1px solid ${u.dtw};
        padding-inline-start: 6px;
    }

    .recommended-items-container {
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .recommended-item {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .trending-bubble {
        align-self: stretch;
        margin: 8px 0 0;
        padding: 0;
        position: static;
    }

    div.trending-now-bubble-item {
        align-content: center;
        background: ${u.wFS};
        border-radius: 999px;
        display: inline-flex;
        flex-direction: row;
        justify-content: center;
        height: 32px;
        max-width: 268px;
    }

    div.trending-now-bubble-svg-container {
        align-items: center;
        border-radius: 50%;
        display: inline-flex;
        flex-direction: row;
        height: 32px;
        justify-content: center;
    }

    div.trending-now-bubble-default-svg {
        align-items: center;
        background: ${p.UT};
        border-radius: 50%;
        display: flex;
        fill: ${p.IY};
        height: 28px;
        justify-content: center;
        margin: 2px;
        position: static;
        width: 28px;
    }
    
    .trending-now-item-img {
        background: ${u.yGg};
        border-radius: 50%;
        height: 28px;
        margin: 2px;
        object-fit: cover;
        position: static;
        width: 28px;
    }

    a.trending-now-link {
        color: ${u.CHi};
        font-size: ${u.cSu};
        height: 20px;
        line-height: ${u.RUt};
        margin-inline: 4px 12px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
`.withBehaviors(new h.O(g,f),(0,d.vF)(l.i`
                :host {
                    forced-color-adjust: auto;
                }
                .recommended-title,
                .trending-now-bubble-link,
                .trending-title svg {
                    color: ${c.H.ButtonText};
                }
            `))})},95263:function(e,t,i){"use strict";i.d(t,{Sf:function(){return l},w_:function(){return d},UT:function(){return c},IY:function(){return u},A4:function(){return g}});var n=i(98648),o=i(42355),a=i(32804),r=i(65390);const{create:s}=n.L,d=s("gradient-white-fill").withDefault((e=>(0,r.Y)(.8,1,o.w.create(1,1,1),a.wFS.getValueFor(e)))),l=s("gradient-background-fill").withDefault((e=>(0,r.Y)(0,1,null,a.wFS.getValueFor(e)))),c=s("neutral-fill-bubble-on-rest").withDefault((e=>function(e,t){const i=e.closestIndexOf(t);return e.get(i-5)}(a.yvm.getValueFor(e),a.wFS.getValueFor(e)))),u=s("neutral-foreground-hint-on-bubble-on-rest").withDefault((e=>a.axZ.getValueFor(e).evaluate(e,c.getValueFor(e))));function h(e,t,i){return e.get(e.closestIndexOf((n=t,o.w.create(n,n,n)))-i);var n}const p=s({name:"neutral-layer-card-recipe",cssCustomPropertyName:null}).withDefault({evaluate:e=>h(a.yvm.getValueFor(e),a.q2d.getValueFor(e),a.YL4.getValueFor(e))}),g=s("neutral-layer-card").withDefault((e=>p.getValueFor(e).evaluate(e)))},39704:function(e,t,i){"use strict";i.d(t,{K7:function(){return n},P4:function(){return s},Rq:function(){return o},cA:function(){return r},cU:function(){return a},li:function(){return d}});const n='<svg class="button-glyph" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="16" height="16"><path d="M2048 640H0V512h2048v128zm0 1024H0v-128h2048v128zm0-513H0v-127h2048v127z" /></svg>',o='<svg class="button-glyph" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="16" height="16"><path d="M1169 1024l879 879-145 145-879-879-879 879L0 1903l879-879L0 145 145 0l879 879L1903 0l145 145-879 879z" /></svg>',a='<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M5.70801 5L10 9.29199L9.29199 10L5 5.70801L0.708008 10L0 9.29199L4.29199 5L0 0.708008L0.708008 0L5 4.29199L9.29199 0L10 0.708008L5.70801 5Z"/></svg>',r='<svg width="106" height="22" viewBox="0 0 106 22" xmlns="http://www.w3.org/2000/svg"><path d="M45.2018 4.40014V17.6001H42.921V7.24181H42.8906L38.8156 17.6001H37.295L33.1288 7.24181H33.0983V17.6001H31V4.40014H34.2844L38.0553 14.1779H38.1161L42.0999 4.40014H45.2018ZM47.0873 5.40847C47.0873 5.04181 47.2089 4.73625 47.4826 4.49181C47.7563 4.24736 48.0604 4.12514 48.4254 4.12514C48.8207 4.12514 49.1552 4.24736 49.3985 4.52236C49.6418 4.76681 49.7938 5.07236 49.7938 5.43903C49.7938 5.8057 49.6722 6.11125 49.3985 6.3557C49.1248 6.60014 48.8207 6.72236 48.4254 6.72236C48.03 6.72236 47.7259 6.60014 47.4826 6.3557C47.2393 6.05014 47.0873 5.74459 47.0873 5.40847ZM49.5505 8.12792V17.6001H47.3306V8.12792H49.5505ZM56.2713 15.9807C56.6058 15.9807 56.9708 15.889 57.3661 15.7363C57.7614 15.5835 58.1264 15.3696 58.4609 15.1251V17.2029C58.096 17.4168 57.7006 17.5696 57.2445 17.6613C56.7883 17.7529 56.3017 17.814 55.7543 17.814C54.3554 17.814 53.2302 17.3863 52.3787 16.5001C51.4968 15.614 51.0711 14.4835 51.0711 13.139C51.0711 11.6113 51.5273 10.3585 52.4092 9.3807C53.2911 8.40292 54.5379 7.91403 56.1801 7.91403C56.6058 7.91403 57.0012 7.97514 57.4269 8.06681C57.8527 8.18903 58.1872 8.31125 58.4305 8.43348V10.5724C58.096 10.3279 57.731 10.114 57.3965 9.99181C57.0316 9.83903 56.6667 9.77792 56.3017 9.77792C55.4198 9.77792 54.7204 10.0529 54.173 10.6335C53.6256 11.214 53.3519 11.9779 53.3519 12.9557C53.3519 13.9029 53.5952 14.6668 54.1122 15.1863C54.69 15.7057 55.3894 15.9807 56.2713 15.9807ZM64.7559 7.97514C64.9384 7.97514 65.0904 7.97514 65.2425 8.0057C65.3945 8.03625 65.5162 8.06681 65.6074 8.09736V10.3585C65.4858 10.2668 65.3337 10.2057 65.0904 10.114C64.8776 10.0224 64.6039 9.99181 64.2693 9.99181C63.722 9.99181 63.2658 10.2363 62.9009 10.6946C62.5359 11.1529 62.3231 11.8557 62.3231 12.8335V17.6001H60.1031V8.12792H62.3231V9.62514H62.3535C62.5663 9.1057 62.8705 8.70847 63.2658 8.40292C63.6915 8.12792 64.1781 7.97514 64.7559 7.97514ZM65.7291 13.0168C65.7291 11.4585 66.1548 10.2057 67.0367 9.28903C67.9186 8.37236 69.1351 7.91403 70.7164 7.91403C72.1761 7.91403 73.3317 8.34181 74.1528 9.22792C74.9739 10.114 75.3997 11.3057 75.3997 12.8029C75.3997 14.3307 74.9739 15.5529 74.092 16.4696C73.2101 17.3863 72.0241 17.8446 70.5036 17.8446C69.0438 17.8446 67.8882 17.4168 67.0367 16.5613C66.1548 15.6751 65.7291 14.4835 65.7291 13.0168ZM68.0403 12.9251C68.0403 13.9029 68.2532 14.6668 68.7093 15.1863C69.1655 15.7057 69.8041 15.9807 70.6252 15.9807C71.4463 15.9807 72.0545 15.7057 72.4802 15.1863C72.906 14.6668 73.1189 13.9029 73.1189 12.864C73.1189 11.8557 72.906 11.0918 72.4498 10.5724C72.0241 10.0529 71.4159 9.80847 70.6252 9.80847C69.8041 9.80847 69.1959 10.0835 68.7397 10.6335C68.2532 11.1529 68.0403 11.9168 68.0403 12.9251ZM78.684 10.6335C78.684 10.939 78.7753 11.214 78.9881 11.3974C79.201 11.5807 79.6268 11.7946 80.3262 12.0696C81.2081 12.4363 81.8468 12.8335 82.1813 13.2613C82.5462 13.7196 82.7287 14.239 82.7287 14.8807C82.7287 15.7668 82.3941 16.5001 81.6947 17.0196C81.0257 17.5696 80.0829 17.8446 78.9273 17.8446C78.532 17.8446 78.1062 17.7835 77.6197 17.6918C77.1331 17.6001 76.7377 17.4779 76.4032 17.3251V15.1251C76.7986 15.4001 77.2547 15.6446 77.7109 15.7974C78.1671 15.9501 78.5928 16.0418 78.9881 16.0418C79.4747 16.0418 79.8701 15.9807 80.0829 15.8279C80.3262 15.6751 80.4479 15.4613 80.4479 15.1251C80.4479 14.8196 80.3262 14.5446 80.0829 14.3613C79.8396 14.1474 79.3531 13.9029 78.684 13.6279C77.8629 13.2918 77.2851 12.8946 76.9506 12.4668C76.6161 12.039 76.4336 11.489 76.4336 10.8168C76.4336 9.96125 76.7682 9.25847 77.4372 8.70847C78.1062 8.15847 78.9881 7.88347 80.0525 7.88347C80.387 7.88347 80.752 7.91403 81.1473 8.0057C81.5426 8.06681 81.9076 8.18903 82.1813 8.2807V10.389C81.8772 10.2057 81.5426 10.0224 81.1473 9.86959C80.752 9.71681 80.3566 9.6557 79.9917 9.6557C79.5659 9.6557 79.2314 9.74736 79.0186 9.90014C78.8057 10.114 78.684 10.3279 78.684 10.6335ZM83.6714 13.0168C83.6714 11.4585 84.0972 10.2057 84.9791 9.28903C85.861 8.37236 87.0774 7.91403 88.6588 7.91403C90.1185 7.91403 91.2741 8.34181 92.0952 9.22792C92.9163 10.114 93.342 11.3057 93.342 12.8029C93.342 14.3307 92.9163 15.5529 92.0343 16.4696C91.1524 17.3863 89.9664 17.8446 88.4459 17.8446C86.9862 17.8446 85.8306 17.4168 84.9791 16.5613C84.1276 15.6751 83.6714 14.4835 83.6714 13.0168ZM85.9826 12.9251C85.9826 13.9029 86.1955 14.6668 86.6517 15.1863C87.1078 15.7057 87.7464 15.9807 88.5675 15.9807C89.3886 15.9807 89.9968 15.7057 90.4226 15.1863C90.8483 14.6668 91.0612 13.9029 91.0612 12.864C91.0612 11.8557 90.8483 11.0918 90.3922 10.5724C89.9664 10.0529 89.3582 9.80847 88.5675 9.80847C87.7464 9.80847 87.1382 10.0835 86.6821 10.6335C86.2259 11.1529 85.9826 11.9168 85.9826 12.9251ZM100.701 9.96125H97.3866V17.6001H95.1362V9.96125H93.5549V8.12792H95.1362V6.81403C95.1362 5.8057 95.4708 5.01125 96.1094 4.36959C96.748 3.72792 97.5691 3.42236 98.5727 3.42236C98.8464 3.42236 99.0896 3.42236 99.3025 3.45292C99.5154 3.48347 99.6979 3.51403 99.8499 3.57514V5.50014C99.7891 5.46959 99.637 5.40847 99.4546 5.34736C99.2721 5.28625 99.0592 5.2557 98.8159 5.2557C98.3598 5.2557 97.9949 5.40847 97.7516 5.68347C97.5083 5.98903 97.3866 6.41681 97.3866 6.96681V8.09736H100.701V5.95847L102.921 5.28625V8.09736H105.172V9.9307H102.921V14.3613C102.921 14.9418 103.013 15.3696 103.226 15.5835C103.438 15.8279 103.773 15.9501 104.229 15.9501C104.351 15.9501 104.503 15.9196 104.685 15.8585C104.868 15.7974 105.02 15.7363 105.172 15.6446V17.4779C105.02 17.5696 104.807 17.6307 104.472 17.6918C104.138 17.7529 103.834 17.7835 103.499 17.7835C102.556 17.7835 101.857 17.539 101.401 17.0196C100.945 16.5307 100.701 15.7668 100.701 14.7585V9.96125Z" /><path d="M10.4005 0H0V10.45H10.4005V0Z" fill="#F25022" /><path d="M21.8958 0H11.4954V10.45H21.8958V0Z" fill="#7FBA00" /><path d="M10.4005 11.55H0V22.0001H10.4005V11.55Z" fill="#00A4EF"/><path d="M21.8958 11.55H11.4954V22.0001H21.8958V11.55Z" fill="#FFB900"/></svg>',s='<svg width="16" height="10" viewBox="0 0 16 10" xmlns="http://www.w3.org/2000/svg"><path d="M12 3V4C12.3958 4 12.7734 4.04688 13.1328 4.14062C13.4974 4.22917 13.8177 4.375 14.0938 4.57812C14.3698 4.77604 14.5885 5.03385 14.75 5.35156C14.9167 5.66406 15 6.04688 15 6.5C15 6.84375 14.9323 7.16667 14.7969 7.46875C14.6667 7.77083 14.487 8.03646 14.2578 8.26562C14.0339 8.48958 13.7708 8.66927 13.4688 8.80469C13.1667 8.9349 12.8438 9 12.5 9H8.5C8.15625 9 7.83333 8.9349 7.53125 8.80469C7.22917 8.66927 6.96354 8.48958 6.73438 8.26562C6.51042 8.03646 6.33073 7.77083 6.19531 7.46875C6.0651 7.16667 6 6.84375 6 6.5C6 6.04688 6.08073 5.66406 6.24219 5.35156C6.40885 5.03385 6.63021 4.77604 6.90625 4.57812C7.18229 4.375 7.5 4.22917 7.85938 4.14062C8.22396 4.04688 8.60417 4 9 4V3H8.5C8.01562 3 7.5599 3.09375 7.13281 3.28125C6.71094 3.46354 6.34115 3.71354 6.02344 4.03125C5.71094 4.34375 5.46094 4.71354 5.27344 5.14062C5.09115 5.5625 5 6.01562 5 6.5C5 6.98438 5.09115 7.4401 5.27344 7.86719C5.46094 8.28906 5.71094 8.65885 6.02344 8.97656C6.34115 9.28906 6.71094 9.53906 7.13281 9.72656C7.5599 9.90885 8.01562 10 8.5 10H12.5C12.9844 10 13.4375 9.90885 13.8594 9.72656C14.2865 9.53906 14.6562 9.28906 14.9688 8.97656C15.2865 8.65885 15.5365 8.28906 15.7188 7.86719C15.9062 7.4401 16 6.98438 16 6.5C16 6.01562 15.9062 5.5625 15.7188 5.14062C15.5365 4.71354 15.2865 4.34375 14.9688 4.03125C14.6562 3.71354 14.2865 3.46354 13.8594 3.28125C13.4375 3.09375 12.9844 3 12.5 3H12ZM7 7V6C7.39583 6 7.77344 5.95573 8.13281 5.86719C8.4974 5.77344 8.81771 5.6276 9.09375 5.42969C9.36979 5.22656 9.58854 4.96875 9.75 4.65625C9.91667 4.33854 10 3.95312 10 3.5C10 3.15625 9.93229 2.83333 9.79688 2.53125C9.66667 2.22917 9.48698 1.96615 9.25781 1.74219C9.03385 1.51302 8.77083 1.33333 8.46875 1.20312C8.16667 1.06771 7.84375 1 7.5 1H3.5C3.15625 1 2.83333 1.06771 2.53125 1.20312C2.22917 1.33333 1.96354 1.51302 1.73438 1.74219C1.51042 1.96615 1.33073 2.22917 1.19531 2.53125C1.0651 2.83333 1 3.15625 1 3.5C1 3.95312 1.08073 4.33854 1.24219 4.65625C1.40885 4.96875 1.63021 5.22656 1.90625 5.42969C2.18229 5.6276 2.5 5.77344 2.85938 5.86719C3.22396 5.95573 3.60417 6 4 6V7H3.5C3.01562 7 2.5599 6.90885 2.13281 6.72656C1.71094 6.53906 1.34115 6.28906 1.02344 5.97656C0.710938 5.65885 0.460938 5.28906 0.273438 4.86719C0.0911458 4.4401 0 3.98438 0 3.5C0 3.01562 0.0911458 2.5625 0.273438 2.14062C0.460938 1.71354 0.710938 1.34375 1.02344 1.03125C1.34115 0.713542 1.71094 0.463542 2.13281 0.28125C2.5599 0.09375 3.01562 0 3.5 0H7.5C7.98438 0 8.4375 0.09375 8.85938 0.28125C9.28646 0.463542 9.65625 0.713542 9.96875 1.03125C10.2865 1.34375 10.5365 1.71354 10.7188 2.14062C10.9062 2.5625 11 3.01562 11 3.5C11 3.98438 10.9062 4.4401 10.7188 4.86719C10.5365 5.28906 10.2865 5.65885 9.96875 5.97656C9.65625 6.28906 9.28646 6.53906 8.85938 6.72656C8.4375 6.90885 7.98438 7 7.5 7H7Z" fill-opacity="0.83"/></svg>',d='<svg height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="currentcolor" d="M5.0293 19.0918L14.1113 10L5.0293 0.908203L5.9082 0.0292969L15.8887 10L5.9082 19.9707L5.0293 19.0918Z"></path></svg>'},65390:function(e,t,i){"use strict";i.d(t,{Y:function(){return a}});var n=i(97186),o=i(2696);function a(e=0,t=1,i,a){const r=a.toColorString(),{r:s,g:d,b:l}=(0,n.in)(r),c=`linear-gradient(160deg, ${new o.h(s,d,l,e).toStringWebRGBA()}, ${new o.h(s,d,l,t).toStringWebRGBA()})`;if(i){return[c,null==i?void 0:i.toColorString()].join()}return c}},16859:function(e,t,i){"use strict";i.d(t,{Y:function(){return d}});var n=i(32804),o=i(78125),a=i(97186),r=i(60279);const s=(0,i(9791).Z)((e=>{let t=(0,a.in)(e);if(null!==t)return t;if(t=(0,a.hg)(e),null!==t)return t;throw new Error(`${e} cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"`)}));class d{constructor(e,t){this.cache=new WeakMap,this.light=e,this.dark=t}bind(e){this.attach(e)}unbind(e){const t=this.cache.get(e);t&&n.IfY.unsubscribe(t)}attach(e){const t=this.cache.get(e)||new l(this.light,this.dark,e),i=n.IfY.getValueFor(e);n.IfY.subscribe(t,e),t.attach(i),this.cache.set(e,t)}}class l{constructor(e,t,i){this.light=e,this.dark=t,this.source=i,this.attached=null}handleChange({target:e,token:t}){this.attach(t.getValueFor(e))}attach(e){const t=(i=e.toColorString(),(0,r.hM)(s(i))<=o.h.DarkMode?"dark":"light");var i;this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}},33785:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M9.43 11.84a1 1 0 001.57-.82V4.98a1 1 0 00-1.57-.82L5.64 6.78c-.85.59-.85 1.85 0 2.44l3.79 2.62z"></path></svg>'},62923:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.57 11.84A1 1 0 016 11.02V4.98a1 1 0 011.57-.82l3.79 2.62c.85.59.85 1.85 0 2.44l-3.79 2.62z"></path></svg>'},83572:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.14 2.53a1.5 1.5 0 00-2.28 0l-6.62 7.8A1 1 0 003 11.98h3V17a1 1 0 001 1h6a1 1 0 001-1v-5.02h3a1 1 0 00.76-1.65l-6.62-7.8z"></path></svg>'},78408:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.86 2.53c.6-.7 1.68-.7 2.28 0l6.62 7.8a1 1 0 01-.76 1.65h-3V17a1 1 0 01-1 1H7a1 1 0 01-1-1v-5.02H3a1 1 0 01-.76-1.65l6.62-7.8zm1.52.65a.5.5 0 00-.76 0L3 10.98h3.5c.28 0 .5.23.5.5V17h6v-5.52c0-.27.22-.5.5-.5H17l-6.62-7.8z"></path></svg>'},69298:function(e,t,i){"use strict";i.d(t,{Zb:function(){return y},F:function(){return x},ay:function(){return C}});var n=i(33940),o=i(65130),a=i(97186),r=i(22680),s=i(87697),d=i(65620),l=i(48657),c=i(32804),u=i(42355),h=i(42255),p=i(53046),g=i(67020),f=i(40082),v=i(87839),m=i(62734);const b=(e,t)=>p.i`
        ${(0,g.j)("block")} :host {
            --elevation: 4;
            display: block;
            contain: content;
            height: var(--card-height, 100%);
            width: var(--card-width, 100%);
            box-sizing: border-box;
            background: ${c.IfY};
            color: ${c.CHi};
            border-radius: calc(${c.rSr} * 1px);
            ${m.XC}
        }

        :host(:hover) {
            --elevation: 8;
        }

        :host(:focus-within) {
            --elevation: 8;
        }

        :host {
            content-visibility: auto;
        }
    `.withBehaviors((0,f.vF)(p.i`
                :host {
                    forced-color-adjust: none;
                    background: ${v.H.Canvas};
                    box-shadow: 0 0 0 1px ${v.H.CanvasText};
                }
            `));class y extends o.Z{cardFillColorChanged(e,t){if(t){const e=(0,a.in)(t);null!==e&&(this.neutralPaletteSource=t,c.IfY.setValueFor(this,u.w.create(e.r,e.g,e.b)))}}neutralPaletteSourceChanged(e,t){if(t){const e=(0,a.in)(t),i=u.w.create(e.r,e.g,e.b);c.yvm.setValueFor(this,h.v.create(i))}}handleChange(e,t){this.cardFillColor||c.IfY.setValueFor(this,(t=>c.abR.getValueFor(t).evaluate(t,c.IfY.getValueFor(e))))}connectedCallback(){super.connectedCallback();const e=(0,r.T)(this);if(e){const t=s.y$.getNotifier(e);t.subscribe(this,"fillColor"),t.subscribe(this,"neutralPalette"),this.handleChange(e,"fillColor")}}}(0,n.gn)([(0,d.Lj)({attribute:"card-fill-color",mode:"fromView"}),(0,n.w6)("design:type",String)],y.prototype,"cardFillColor",void 0),(0,n.gn)([(0,d.Lj)({attribute:"neutral-palette-source",mode:"fromView"}),(0,n.w6)("design:type",String)],y.prototype,"neutralPaletteSource",void 0);const C=y.compose({baseName:"card",baseClass:o.Z,template:l.O,styles:b}),x=b},31074:function(e,t,i){"use strict";i.d(t,{s:function(){return f},P:function(){return g}});var n=i(67491),o=i(34015),a=i(53046),r=i(67020),s=i(56201),d=i(37139),l=i(40082),c=i(87839),u=i(2658),h=i(32804);const p=(e,t)=>a.i`
        ${(0,r.j)("inline-flex")} :host {
            font-family: ${h.SVJ};
            border-radius: calc(${h.UWU} * 1px);
            border: calc(${h.vxp} * 1px) solid transparent;
            box-sizing: border-box;
            color: ${h.CHi};
            cursor: pointer;
            fill: currentcolor;
            font-size: ${h.cSu};
            height: calc(${u.i} * 1px);
            line-height: ${h.RUt};
            margin: 0 calc(${h._5n} * 1px);
            outline: none;
            overflow: hidden;
            align-items: center;
            padding: 0 calc(${h._5n} * 2.25px);
            user-select: none;
            white-space: nowrap;
        }

        :host(:${s.b}) {
            box-shadow: 0 0 0 calc(${h.vxp} * 1px) inset ${h.a2F};
            border-color: ${h.yGg};
            background: ${h.D8M};
            color: ${h.$uW};
        }

        :host([aria-selected="true"]) {
            background: ${h.Avx};
            color: ${h.w41};
        }

        :host(:hover) {
            background: ${h.OCG};
            color: ${h.lJV};
        }

        :host(:active) {
            background: ${h.UEO};
            color: ${h.PpH};
        }

        :host(:not([aria-selected="true"]):hover) {
            background: ${h.XiB};
            color: ${h.CHi};
        }

        :host(:not([aria-selected="true"]):active) {
            background: ${h.Gy2};
            color: ${h.CHi};
        }

        :host([disabled]) {
            cursor: ${d.H};
            opacity: ${h.VFZ};
        }

        :host([disabled]:hover) {
            background-color: inherit;
        }

        .content {
            grid-column-start: 2;
            justify-self: start;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .start,
        .end,
        ::slotted(svg) {
            display: flex;
        }

        ::slotted(svg) {
            ${""}
            height: calc(${h._5n} * 4px);
            width: calc(${h._5n} * 4px);
        }

        ::slotted([slot="end"]) {
            margin-inline-start: 1ch;
        }

        ::slotted([slot="start"]) {
            margin-inline-end: 1ch;
        }
    `.withBehaviors((0,l.vF)(a.i`
                :host {
                    border-color: transparent;
                    color: ${c.H.ButtonText};
                    forced-color-adjust: none;
                }

                :host(:not([aria-selected="true"]):hover),
                :host([aria-selected="true"]) {
                    background: ${c.H.Highlight};
                    color: ${c.H.HighlightText};
                }

                :host([disabled]),
                :host([disabled]:not([aria-selected="true"]):hover) {
                    background: ${c.H.Canvas};
                    color: ${c.H.GrayText};
                    fill: currentcolor;
                    opacity: 1;
                }
            `)),g=n.wt.compose({baseName:"option",template:o.T,styles:p}),f=p},8417:function(e,t,i){"use strict";i.d(t,{Ph:function(){return w},$M:function(){return S},XO:function(){return $}});var n=i(33940),o=i(65620),a=i(20005),r=i(12968),s=i(87697),d=i(11673),l=i(36153),c=i(65898),u=i(51208),h=i(86076),p=i(17453),g=i(82500);class f extends p.k{}class v extends((0,g.Um)(f)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}var m=i(51565);class b extends v{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=(0,d.EL)("listbox-"),this.maxHeight=0}openChanged(e,t){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void r.SO.queueUpdate((()=>this.focus()));this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return s.y$.track(this,"value"),this._value}set value(e){var t,i,n,o,a,r,d;const l=`${this._value}`;if(null===(t=this._options)||void 0===t?void 0:t.length){const t=this._options.findIndex((t=>t.value===e)),s=null!==(n=null===(i=this._options[this.selectedIndex])||void 0===i?void 0:i.value)&&void 0!==n?n:null,l=null!==(a=null===(o=this._options[t])||void 0===o?void 0:o.value)&&void 0!==a?a:null;-1!==t&&s===l||(e="",this.selectedIndex=t),e=null!==(d=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==d?d:e}l!==e&&(this._value=e,super.valueChanged(l,e),s.y$.notify(this,"value"),this.updateDisplayValue())}updateValue(e){var t,i;this.$fastController.isConnected&&(this.value=null!==(i=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.value)&&void 0!==i?i:""),e&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(e,t){super.selectedIndexChanged(e,t),this.updateValue()}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom;this.position=this.forcedPosition?this.positionAttribute:e.top>t?m.S.above:m.S.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===m.S.above?~~e.top:~~t}get displayValue(){var e,t;return s.y$.track(this,"displayValue"),null!==(t=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)&&void 0!==t?t:""}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]");if(t&&t.disabled)return}return super.clickHandler(e),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(e){var t;if(super.focusoutHandler(e),!this.open)return!0;const i=e.relatedTarget;this.isSameNode(i)?this.focus():(null===(t=this.options)||void 0===t?void 0:t.includes(i))||(this.open=!1,this.indexWhenOpened!==this.selectedIndex&&this.updateValue(!0))}handleChange(e,t){super.handleChange(e,t),"value"===t&&this.updateValue()}slottedOptionsChanged(e,t){this.options.forEach((e=>{s.y$.getNotifier(e).unsubscribe(this,"value")})),super.slottedOptionsChanged(e,t),this.options.forEach((e=>{s.y$.getNotifier(e).subscribe(this,"value")})),this.setProxyOptions(),this.updateValue()}mousedownHandler(e){var t;return e.offsetX>=0&&e.offsetX<=(null===(t=this.listbox)||void 0===t?void 0:t.scrollWidth)?super.mousedownHandler(e):this.collapsible}multipleChanged(e,t){super.multipleChanged(e,t),this.proxy&&(this.proxy.multiple=t)}selectedOptionsChanged(e,t){var i;super.selectedOptionsChanged(e,t),null===(i=this.options)||void 0===i||i.forEach(((e,t)=>{var i;const n=null===(i=this.proxy)||void 0===i?void 0:i.options.item(t);n&&(n.selected=e.selected)}))}setDefaultSelectedOption(){var e;const t=null!==(e=this.options)&&void 0!==e?e:Array.from(this.children).filter(c.R.slottedOptionFilter),i=null==t?void 0:t.findIndex((e=>e.hasAttribute("selected")||e.selected||e.value===this.value));this.selectedIndex=-1===i?0:i}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach((e=>{const t=e.proxy||(e instanceof HTMLOptionElement?e.cloneNode():null);t&&this.proxy.options.add(t)})))}keydownHandler(e){super.keydownHandler(e);const t=e.key||e.key.charCodeAt(0);switch(t){case l.BI:e.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open);break;case l.tU:case l.Kh:e.preventDefault();break;case l.kL:e.preventDefault(),this.open=!this.open;break;case l.CX:this.collapsible&&this.open&&(e.preventDefault(),this.open=!1);break;case l.oM:return this.collapsible&&this.open&&(e.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(t===l.iF||t===l.SB)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(e,t){super.sizeChanged(e,t),this.proxy&&(this.proxy.size=t)}updateDisplayValue(){this.collapsible&&s.y$.notify(this,"displayValue")}}(0,a.gn)([(0,o.Lj)({attribute:"open",mode:"boolean"})],b.prototype,"open",void 0),(0,a.gn)([s.lk],b.prototype,"collapsible",null),(0,a.gn)([s.LO],b.prototype,"control",void 0),(0,a.gn)([(0,o.Lj)({attribute:"position"})],b.prototype,"positionAttribute",void 0),(0,a.gn)([s.LO],b.prototype,"position",void 0),(0,a.gn)([s.LO],b.prototype,"maxHeight",void 0);class y{}(0,a.gn)([s.LO],y.prototype,"ariaControls",void 0),(0,h.e)(y,c.x),(0,h.e)(b,u.hW,y);var C=i(9530),x=i(27663);class w extends b{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}}(0,n.gn)([(0,o.Lj)({mode:"fromView"}),(0,n.w6)("design:type",String)],w.prototype,"appearance",void 0);const S=w.compose({baseName:"select",baseClass:b,template:C.U,styles:x.X,indicator:'\n    <svg\n        class="select-indicator"\n        part="select-indicator"\n        viewBox="0 0 12 7"\n        xmlns="http://www.w3.org/2000/svg"\n    >\n        <path\n            d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z"\n        />\n    </svg>\n  '}),$=x.X},27663:function(e,t,i){"use strict";i.d(t,{A:function(){return p},X:function(){return g}});var n=i(53046),o=i(56201),a=i(67020),r=i(37139),s=i(40082),d=i(87839),l=i(2658),c=i(62734),u=i(82636),h=i(32804);const p=(e,t)=>n.i`
    :host([appearance="filled"]) {
        background: ${h.wFS};
        border-color: transparent;
    }

    :host([appearance="filled"]:hover:not([disabled])) {
        background: ${h.XiB};
        border-color: transparent;
    }

    :host([appearance="filled"]:${o.b}) {
        border-color: ${h.yGg};
    }
`,g=(e,t)=>n.i`
        ${(0,a.j)("inline-flex")} :host {
            --elevation: 14;
            background: ${h._Bj};
            border-radius: calc(${h.UWU} * 1px);
            border: calc(${h.Han} * 1px) solid ${h.akT};
            box-sizing: border-box;
            color: ${h.CHi};
            font-family: ${h.SVJ};
            height: calc(${l.i} * 1px);
            position: relative;
            user-select: none;
            min-width: 250px;
            vertical-align: top;
        }

        .listbox {
            ${c.XC}
            background: ${h.s55};
            border-radius: calc(${h.UWU} * 1px);
            box-sizing: border-box;
            display: inline-flex;
            flex-direction: column;
            left: 0;
            max-height: calc(var(--max-height) - (${l.i} * 1px));
            padding: calc(${h._5n} * 1px) 0;
            overflow-y: auto;
            position: absolute;
            width: 100%;
            z-index: 1;
            margin: 1px 0;
        }

        .listbox[hidden] {
            display: none;
        }

        .control {
            align-items: center;
            box-sizing: border-box;
            cursor: pointer;
            display: flex;
            font-size: ${h.cSu};
            font-family: inherit;
            min-height: 100%;
            line-height: ${h.RUt};
            padding: 0 calc(${h._5n} * 2.25px);
            width: 100%;
        }

        :host(:not([disabled]):hover) {
            background: ${h.Tm7};
            border-color: ${h.QPc};
        }

        :host(:focus) {
            outline: none;
        }

        :host(:${o.b}) {
            border-color: ${h.yGg};
            outline: none;
            box-shadow: 0 0 0 1px inset ${h.yGg};
        }

        :host([open]:${o.b}) {
            border-color: ${h.akT};
            outline: none;
            box-shadow: none;
        }

        :host(:${o.b}) ::slotted([aria-selected="true"][role="option"]:not([disabled])) {
            box-shadow: 0 0 0 calc(${h.vxp} * 1px) inset ${h.a2F};
            border-color: ${h.yGg};
            background: ${h.D8M};
            color: ${h.$uW};
        }

        :host([disabled]) {
            cursor: ${r.H};
            opacity: ${h.VFZ};
        }

        :host([disabled]) .control {
            cursor: ${r.H};
            user-select: none;
        }

        :host([disabled]:hover) {
            background: ${h.jql};
            color: ${h.CHi};
            fill: currentcolor;
        }

        :host(:not([disabled])) .control:active {
            background: ${h.Ium};
            border-color: ${h.c1L};
            border-radius: calc(${h.UWU} * 1px);
        }

        :host([open][position="above"]) .listbox {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        :host([open][position="below"]) .listbox {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

        :host([open][position="above"]) .listbox {
            border-bottom: 0;
            bottom: calc(${l.i} * 1px);
        }

        :host([open][position="below"]) .listbox {
            border-top: 0;
            top: calc(${l.i} * 1px);
        }

        .selected-value {
            font-family: inherit;
            flex: 1 1 auto;
            text-align: start;
        }

        .indicator {
            flex: 0 0 auto;
            margin-inline-start: 1em;
        }

        ::slotted([name="listbox"]) {
            display: none;
            width: 100%;
        }

        :host([open]) ::slotted([name="listbox"]) {
            display: flex;
            position: absolute;
            ${c.XC}
        }

        .end {
            margin-inline-start: auto;
        }

        .start,
        .end,
        .indicator,
        .select-indicator,
        ::slotted(svg) {
            ${""}
            fill: currentcolor;
            height: 1em;
            min-height: calc(${h._5n} * 4px);
            min-width: calc(${h._5n} * 4px);
            width: 1em;
        }

        ::slotted([role="option"]) {
            flex: 0 0 auto;
        }
    `.withBehaviors((0,u.H)("filled",p(e,t)),(0,s.vF)(n.i`
                :host([disabled]) {
                    border-color: ${d.H.GrayText};
                    background-color: ${d.H.ButtonFace};
                    color: ${d.H.GrayText};
                    opacity: 1;
                    forced-color-adjust: none;
                }

                :host([disabled]:hover) {
                    background: ${d.H.ButtonFace};
                }

                :host([disabled]) .control {
                    color: ${d.H.GrayText};
                    border-color: ${d.H.GrayText};
                }

                :host(:not([disabled]):hover) {
                    background: ${d.H.ButtonFace};
                    border-color: ${d.H.Highlight};
                }

                :host(:${o.b}) {
                    forced-color-adjust: none;
                    background: ${d.H.ButtonFace};
                    border-color: ${d.H.Highlight};
                    box-shadow: 0 0 0 1px inset ${d.H.Highlight};
                    color: ${d.H.ButtonText};
                    fill: currentcolor;
                }

                :host([open]) .listbox {
                    background: ${d.H.ButtonFace};
                    border: 1px solid ${d.H.ButtonText};
                }

                :host(:${o.b}) ::slotted([aria-selected="true"][role="option"]:not([disabled])) {
                    background: ${d.H.Highlight};
                    border-color: ${d.H.ButtonText};
                    box-shadow: 0 0 0 calc(${h.vxp} * 1px) inset
                        ${d.H.HighlightText};
                    color: ${d.H.HighlightText};
                    fill: currentcolor;
                }

                ::slotted([role="option"]:not([aria-selected="true"]):not([disabled]):hover) {
                    forced-color-adjust: none;
                    color: ${d.H.ButtonText};
                    background: ${d.H.ButtonFace};
                    border-color: ${d.H.Highlight};
                    box-shadow: none;
                }
            `))},63266:function(e,t,i){"use strict";i.d(t,{CZ:function(){return g}});var n=i(39181),o=i(90960),a=i(13988),r=i(58952),s=i(51208);var d=i(49176),l=i(53046),c=i(67020),u=i(40082),h=i(87839),p=i(32804);const g=d.m.compose({baseName:"tabs",template:(e,t)=>n.d`
    <template class="${e=>e.orientation}">
        ${(0,s.m9)(e,t)}
        <div class="tablist" part="tablist" role="tablist">
            <slot class="tab" name="tab" part="tab" ${(0,o.Q)("tabs")}></slot>

            ${(0,a.g)((e=>e.showActiveIndicator),n.d`
                    <div
                        ${(0,r.i)("activeIndicatorRef")}
                        class="activeIndicator"
                        part="activeIndicator"
                    ></div>
                `)}
        </div>
        ${(0,s.LC)(e,t)}
        <div class="tabpanel">
            <slot name="tabpanel" part="tabpanel" ${(0,o.Q)("tabpanels")}></slot>
        </div>
    </template>
`,styles:(e,t)=>l.i`
        ${(0,c.j)("grid")} :host {
            box-sizing: border-box;
            font-family: ${p.SVJ};
            font-size: ${p.cSu};
            line-height: ${p.RUt};
            color: ${p.CHi};
            grid-template-columns: auto 1fr auto;
            grid-template-rows: auto 1fr;
        }

        .tablist {
            display: grid;
            grid-template-rows: auto auto;
            grid-template-columns: auto;
            position: relative;
            width: max-content;
            align-self: end;
        }

        .start,
        .end {
            align-self: center;
        }

        .activeIndicator {
            grid-row: 2;
            grid-column: 1;
            width: 20px;
            height: 3px;
            border-radius: calc(${p.UWU} * 1px);
            justify-self: center;
            background: ${p.Avx};
        }

        .activeIndicatorTransition {
            transition: transform 0.2s ease-in-out;
        }

        .tabpanel {
            grid-row: 2;
            grid-column-start: 1;
            grid-column-end: 4;
            position: relative;
        }

        :host(.vertical) {
            grid-template-rows: auto 1fr auto;
            grid-template-columns: auto 1fr;
        }

        :host(.vertical) .tablist {
            grid-row-start: 2;
            grid-row-end: 2;
            display: grid;
            grid-template-rows: auto;
            grid-template-columns: auto 1fr;
            position: relative;
            width: max-content;
            justify-self: end;
            width: 100%;
        }

        :host(.vertical) .tabpanel {
            grid-column: 2;
            grid-row-start: 1;
            grid-row-end: 4;
        }

        :host(.vertical) .end {
            grid-row: 3;
        }

        :host(.vertical) .activeIndicator {
            grid-column: 1;
            grid-row: 1;
            width: 3px;
            height: 20px;
            border-radius: calc(${p.UWU} * 1px);
            align-self: center;
            background: ${p.Avx};
        }

        :host(.vertical) .activeIndicatorTransition {
            transition: transform 0.2s linear;
        }
    `.withBehaviors((0,u.vF)(l.i`
                .activeIndicator,
                :host(.vertical) .activeIndicator {
                    forced-color-adjust: none;
                    background: ${h.H.Highlight};
                }
            `))})},64839:function(e,t,i){"use strict";i.d(t,{YS:function(){return d}});var n=i(43504),o=i(49944),a=i(53046),r=i(67020),s=i(32804);const d=n.x.compose({baseName:"tab-panel",template:o.o,styles:(e,t)=>a.i`
    ${(0,r.j)("block")} :host {
        box-sizing: border-box;
        font-family: ${s.SVJ};
        font-size: ${s.sNp};
        font-weight: 400;
        line-height: ${s.vgC};
        padding: 0 calc((6 + (${s._5n} * 2 * ${s.hVk})) * 1px);
    }
`})},11149:function(e,t,i){"use strict";i.d(t,{xg:function(){return h}});var n=i(26899),o=i(13626),a=i(53046),r=i(67020),s=i(56201),d=i(40082),l=i(87839),c=i(2658),u=i(32804);const h=n.O.compose({baseName:"tab",template:o.O,styles:(e,t)=>a.i`
        ${(0,r.j)("inline-flex")} :host {
            box-sizing: border-box;
            font-family: ${u.SVJ};
            font-size: ${u.cSu};
            font-weight: 400;
            line-height: ${u.RUt};
            height: calc(${c.i} * 1px);
            padding: 0 calc((6 + (${u._5n} * 2 * ${u.hVk})) * 1px);
            color: ${u.CHi};
            border-radius: calc(${u.UWU} * 1px);
            border: calc(${u.Han} * 1px) solid transparent;
            align-items: center;
            justify-content: center;
            grid-row: 1;
            cursor: pointer;
        }

        :host([aria-selected="true"]) {
            z-index: 2;
        }

        :host(:hover),
        :host(:active) {
            color: ${u.CHi};
        }

        :host(:${s.b}) {
            outline: none;
            border: calc(${u.Han} * 1px) solid ${u.yGg};
            box-shadow: 0 0 0 calc((${u.vxp} - ${u.Han}) * 1px)
                ${u.yGg};
        }

        :host(:focus) {
            outline: none;
        }

        :host(.vertical) {
            justify-content: end;
            grid-column: 2;
        }

        :host(.vertical[aria-selected="true"]) {
            z-index: 2;
        }

        :host(.vertical:hover),
        :host(.vertical:active) {
            color: ${u.CHi};
        }

        :host(.vertical:hover[aria-selected="true"]) {
        }
    `.withBehaviors((0,d.vF)(a.i`
                :host {
                    forced-color-adjust: none;
                    border-color: transparent;
                    color: ${l.H.ButtonText};
                    fill: currentcolor;
                }
                :host(:hover),
                :host(.vertical:hover),
                :host([aria-selected="true"]:hover) {
                    background: ${l.H.Highlight};
                    color: ${l.H.HighlightText};
                    fill: currentcolor;
                }
                :host([aria-selected="true"]) {
                    background: ${l.H.HighlightText};
                    color: ${l.H.Highlight};
                    fill: currentcolor;
                }
                :host(:${s.b}) {
                    border-color: ${l.H.ButtonText};
                    box-shadow: none;
                }
            `))})},65130:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(48839);class o extends n.I{}},48657:function(e,t,i){"use strict";i.d(t,{O:function(){return o}});var n=i(39181);const o=(e,t)=>n.d`
    <slot></slot>
`},32612:function(e,t,i){"use strict";i.d(t,{h:function(){return C}});var n=i(20005),o=i(12968),a=i(87697),r=i(65620),s=i(11673),d=i(78945),l=i(65898),c=i(51208),u=i(51565),h=i(86076),p=i(82500);class g extends l.R{}class f extends((0,p.Um)(g)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const v="inline",m="list",b="both",y="none";class C extends f{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.listboxId=(0,s.EL)("listbox-"),this.maxHeight=0,this.open=!1}formResetCallback(){super.formResetCallback(),this.setDefaultSelectedOption(),this.updateValue()}get isAutocompleteInline(){return this.autocomplete===v||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===m||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===b}openChanged(){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),void o.SO.queueUpdate((()=>this.focus()));this.ariaControls="",this.ariaExpanded="false"}get options(){return a.y$.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(e){this._options=e,a.y$.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}get value(){return a.y$.track(this,"value"),this._value}set value(e){var t,i,n;const o=`${this._value}`;if(this.$fastController.isConnected&&this.options){const o=this.options.findIndex((t=>t.text.toLowerCase()===e.toLowerCase())),a=null===(t=this.options[this.selectedIndex])||void 0===t?void 0:t.text,r=null===(i=this.options[o])||void 0===i?void 0:i.text;this.selectedIndex=a!==r?o:this.selectedIndex,e=(null===(n=this.firstSelectedOption)||void 0===n?void 0:n.text)||e}o!==e&&(this._value=e,super.valueChanged(o,e),a.y$.notify(this,"value"))}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]");if(!t||t.disabled)return;this.selectedOptions=[t],this.control.value=t.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==y||(this.filter="");const e=this.filter.toLowerCase();this.filteredOptions=this._options.filter((e=>e.text.toLowerCase().startsWith(this.filter.toLowerCase()))),this.isAutocompleteList&&(this.filteredOptions.length||e||(this.filteredOptions=this._options),this._options.forEach((e=>{e.hidden=!this.filteredOptions.includes(e)})))}focusAndScrollOptionIntoView(){this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame((()=>{var e;null===(e=this.firstSelectedOption)||void 0===e||e.scrollIntoView({block:"nearest"})})))}focusoutHandler(e){if(this.syncValue(),!this.open)return!0;const t=e.relatedTarget;this.isSameNode(t)?this.focus():this.options&&this.options.includes(t)||(this.open=!1)}inputHandler(e){if(this.filter=this.control.value,this.filterOptions(),this.isAutocompleteInline||(this.selectedIndex=this.options.map((e=>e.text)).indexOf(this.control.value)),e.inputType.includes("deleteContent")||!this.filter.length)return!0;this.isAutocompleteList&&!this.open&&(this.open=!0),this.isAutocompleteInline&&(this.filteredOptions.length?(this.selectedOptions=[this.filteredOptions[0]],this.selectedIndex=this.options.indexOf(this.firstSelectedOption),this.setInlineSelection()):this.selectedIndex=-1)}keydownHandler(e){const t=e.key;if(e.ctrlKey||e.shiftKey)return!0;switch(t){case"Enter":this.syncValue(),this.isAutocompleteInline&&(this.filter=this.value),this.open=!1,this.clearSelectionRange();break;case"Escape":if(this.isAutocompleteInline||(this.selectedIndex=-1),this.open){this.open=!1;break}this.value="",this.control.value="",this.filter="",this.filterOptions();break;case"Tab":if(this.setInputToSelection(),!this.open)return!0;e.preventDefault(),this.open=!1;break;case"ArrowUp":case"ArrowDown":if(this.filterOptions(),!this.open){this.open=!0;break}this.filteredOptions.length>0&&super.keydownHandler(e),this.isAutocompleteInline&&this.setInlineSelection();break;default:return!0}}keyupHandler(e){switch(e.key){case"ArrowLeft":case"ArrowRight":case"Backspace":case"Delete":case"Home":case"End":this.filter=this.control.value,this.selectedIndex=-1,this.filterOptions()}}selectedIndexChanged(e,t){if(this.$fastController.isConnected){if((t=(0,d.b9)(-1,this.options.length-1,t))!==this.selectedIndex)return void(this.selectedIndex=t);super.selectedIndexChanged(e,t)}}selectPreviousOption(){!this.disabled&&this.selectedIndex>=0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){if(this.$fastController.isConnected&&this.options){const e=this.options.findIndex((e=>null!==e.getAttribute("selected")||e.selected));this.selectedIndex=e,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}syncValue(){var e;const t=this.selectedIndex>-1?null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text:this.control.value;this.updateValue(this.value!==t)}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom;this.position=this.forcedPosition?this.positionAttribute:e.top>t?u.S.above:u.S.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===u.S.above?~~e.top:~~t}selectedOptionsChanged(e,t){this.$fastController.isConnected&&this._options.forEach((e=>{e.selected=t.includes(e)}))}slottedOptionsChanged(e,t){super.slottedOptionsChanged(e,t),this.updateValue()}updateValue(e){var t;this.$fastController.isConnected&&(this.value=(null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)||this.control.value,this.control.value=this.value),e&&this.$emit("change")}clearSelectionRange(){const e=this.control.value.length;this.control.setSelectionRange(e,e)}}(0,n.gn)([(0,r.Lj)({attribute:"autocomplete",mode:"fromView"})],C.prototype,"autocomplete",void 0),(0,n.gn)([a.LO],C.prototype,"maxHeight",void 0),(0,n.gn)([(0,r.Lj)({attribute:"open",mode:"boolean"})],C.prototype,"open",void 0),(0,n.gn)([r.Lj],C.prototype,"placeholder",void 0),(0,n.gn)([(0,r.Lj)({attribute:"position"})],C.prototype,"positionAttribute",void 0),(0,n.gn)([a.LO],C.prototype,"position",void 0);class x{}(0,n.gn)([a.LO],x.prototype,"ariaAutoComplete",void 0),(0,n.gn)([a.LO],x.prototype,"ariaControls",void 0),(0,h.e)(x,l.x),(0,h.e)(C,c.hW,x)},17993:function(e,t,i){"use strict";i.d(t,{M:function(){return d}});var n=i(39181),o=i(58952),a=i(90960),r=i(65898),s=i(51208);const d=(e,t)=>n.d`
    <template
        aria-disabled="${e=>e.ariaDisabled}"
        autocomplete="${e=>e.autocomplete}"
        class="${e=>e.open?"open":""} ${e=>e.disabled?"disabled":""} ${e=>e.position}"
        ?open="${e=>e.open}"
        tabindex="${e=>e.disabled?null:"0"}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        @focusout="${(e,t)=>e.focusoutHandler(t.event)}"
        @keydown="${(e,t)=>e.keydownHandler(t.event)}"
    >
        <div class="control" part="control">
            ${(0,s.m9)(e,t)}
            <slot name="control">
                <input
                    aria-activedescendant="${e=>e.open?e.ariaActiveDescendant:null}"
                    aria-autocomplete="${e=>e.ariaAutoComplete}"
                    aria-controls="${e=>e.ariaControls}"
                    aria-disabled="${e=>e.ariaDisabled}"
                    aria-expanded="${e=>e.ariaExpanded}"
                    aria-haspopup="listbox"
                    class="selected-value"
                    part="selected-value"
                    placeholder="${e=>e.placeholder}"
                    role="combobox"
                    type="text"
                    ?disabled="${e=>e.disabled}"
                    :value="${e=>e.value}"
                    @input="${(e,t)=>e.inputHandler(t.event)}"
                    @keyup="${(e,t)=>e.keyupHandler(t.event)}"
                    ${(0,o.i)("control")}
                />
                <div class="indicator" part="indicator" aria-hidden="true">
                    <slot name="indicator">
                        ${t.indicator||""}
                    </slot>
                </div>
            </slot>
            ${(0,s.LC)(e,t)}
        </div>
        <div
            class="listbox"
            id="${e=>e.listboxId}"
            part="listbox"
            role="listbox"
            ?disabled="${e=>e.disabled}"
            ?hidden="${e=>!e.open}"
            ${(0,o.i)("listbox")}
        >
            <slot
                ${(0,a.Q)({filter:r.R.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
            ></slot>
        </div>
    </template>
`},67491:function(e,t,i){"use strict";i.d(t,{v2:function(){return u},wt:function(){return h}});var n=i(20005),o=i(87697),a=i(65620),r=i(67846),s=i(48839),d=i(7775),l=i(51208),c=i(86076);function u(e){return(0,r.Re)(e)&&("option"===e.getAttribute("role")||e instanceof HTMLOptionElement)}class h extends s.I{constructor(e,t,i,n){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,e&&(this.textContent=e),t&&(this.initialValue=t),i&&(this.defaultSelected=i),n&&(this.selected=n),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(e,t){this.ariaChecked="boolean"!=typeof t?null:t?"true":"false"}contentChanged(e,t){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(e,t){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var e;return null!==(e=this.value)&&void 0!==e?e:this.text}get text(){var e,t;return null!==(t=null===(e=this.textContent)||void 0===e?void 0:e.replace(/\s+/g," ").trim())&&void 0!==t?t:""}set value(e){const t=`${null!=e?e:""}`;this._value=t,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=t),o.y$.notify(this,"value")}get value(){var e;return o.y$.track(this,"value"),null!==(e=this._value)&&void 0!==e?e:this.text}get form(){return this.proxy?this.proxy.form:null}}(0,n.gn)([o.LO],h.prototype,"checked",void 0),(0,n.gn)([o.LO],h.prototype,"content",void 0),(0,n.gn)([o.LO],h.prototype,"defaultSelected",void 0),(0,n.gn)([(0,a.Lj)({mode:"boolean"})],h.prototype,"disabled",void 0),(0,n.gn)([(0,a.Lj)({attribute:"selected",mode:"boolean"})],h.prototype,"selectedAttribute",void 0),(0,n.gn)([o.LO],h.prototype,"selected",void 0),(0,n.gn)([(0,a.Lj)({attribute:"value",mode:"fromView"})],h.prototype,"initialValue",void 0);class p{}(0,n.gn)([o.LO],p.prototype,"ariaChecked",void 0),(0,n.gn)([o.LO],p.prototype,"ariaPosInSet",void 0),(0,n.gn)([o.LO],p.prototype,"ariaSelected",void 0),(0,n.gn)([o.LO],p.prototype,"ariaSetSize",void 0),(0,c.e)(p,d.v),(0,c.e)(h,l.hW,p)},34015:function(e,t,i){"use strict";i.d(t,{T:function(){return r}});var n=i(39181),o=i(90960),a=i(51208);const r=(e,t)=>n.d`
    <template
        aria-checked="${e=>e.ariaChecked}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-posinset="${e=>e.ariaPosInSet}"
        aria-selected="${e=>e.ariaSelected}"
        aria-setsize="${e=>e.ariaSetSize}"
        class="${e=>[e.checked&&"checked",e.selected&&"selected",e.disabled&&"disabled"].filter(Boolean).join(" ")}"
        role="option"
    >
        ${(0,a.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,o.Q)("content")}></slot>
        </span>
        ${(0,a.LC)(e,t)}
    </template>
`},17453:function(e,t,i){"use strict";i.d(t,{k:function(){return c}});var n=i(20005),o=i(12968),a=i(87697),r=i(65620),s=i(78945),d=i(36153),l=i(65898);class c extends l.R{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var e;return null===(e=this.options)||void 0===e?void 0:e.filter((e=>e.checked))}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(e,t){var i,n;this.ariaActiveDescendant=null!==(n=null===(i=this.options[t])||void 0===i?void 0:i.id)&&void 0!==n?n:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return;const e=this.activeOption;e&&(e.checked=!0)}checkFirstOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex+1),this.options.forEach(((e,t)=>{e.checked=(0,s.Z2)(t,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex=0,this.checkActiveIndex()}checkLastOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((e,t)=>{e.checked=(0,s.Z2)(t,this.rangeStartIndex,this.options.length)}))):this.uncheckAllOptions(),this.activeIndex=this.options.length-1,this.checkActiveIndex()}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.focusoutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusoutHandler),super.disconnectedCallback()}checkNextOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((e,t)=>{e.checked=(0,s.Z2)(t,this.rangeStartIndex,this.activeIndex+1)}))):this.uncheckAllOptions(),this.activeIndex+=this.activeIndex<this.options.length-1?1:0,this.checkActiveIndex()}checkPreviousOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),1===this.checkedOptions.length&&(this.rangeStartIndex+=1),this.options.forEach(((e,t)=>{e.checked=(0,s.Z2)(t,this.activeIndex,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex-=this.activeIndex>0?1:0,this.checkActiveIndex()}clickHandler(e){var t;if(!this.multiple)return super.clickHandler(e);const i=null===(t=e.target)||void 0===t?void 0:t.closest("[role=option]");return i&&!i.disabled?(this.uncheckAllOptions(),this.activeIndex=this.options.indexOf(i),this.checkActiveIndex(),this.toggleSelectedForAllCheckedOptions(),!0):void 0}focusAndScrollOptionIntoView(){super.focusAndScrollOptionIntoView(this.activeOption)}focusinHandler(e){if(!this.multiple)return super.focusinHandler(e);this.shouldSkipFocus||e.target!==e.currentTarget||(this.uncheckAllOptions(),-1===this.activeIndex&&(this.activeIndex=-1!==this.firstSelectedOptionIndex?this.firstSelectedOptionIndex:0),this.checkActiveIndex(),this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}focusoutHandler(e){this.multiple&&this.uncheckAllOptions()}keydownHandler(e){if(!this.multiple)return super.keydownHandler(e);if(this.disabled)return!0;const{key:t,shiftKey:i}=e;switch(this.shouldSkipFocus=!1,t){case d.tU:return void this.checkFirstOption(i);case d.iF:return void this.checkNextOption(i);case d.SB:return void this.checkPreviousOption(i);case d.Kh:return void this.checkLastOption(i);case d.oM:return this.focusAndScrollOptionIntoView(),!0;case d.CX:return this.uncheckAllOptions(),this.checkActiveIndex(),!0;case d.BI:if(e.preventDefault(),this.typeAheadExpired)return void this.toggleSelectedForAllCheckedOptions();default:return 1===t.length&&this.handleTypeAhead(`${t}`),!0}}mousedownHandler(e){if(e.offsetX>=0&&e.offsetX<=this.scrollWidth)return super.mousedownHandler(e)}multipleChanged(e,t){var i;this.ariaMultiSelectable=t?"true":null,null===(i=this.options)||void 0===i||i.forEach((e=>{e.checked=!t&&void 0})),this.setSelectedOptions()}setSelectedOptions(){this.multiple?this.$fastController.isConnected&&this.options&&(this.selectedOptions=this.options.filter((e=>e.selected)),this.focusAndScrollOptionIntoView()):super.setSelectedOptions()}sizeChanged(e,t){var i;const n=Math.max(0,parseInt(null!==(i=null==t?void 0:t.toFixed())&&void 0!==i?i:"",10));n!==t&&o.SO.queueUpdate((()=>{this.size=n}))}toggleSelectedForAllCheckedOptions(){const e=this.checkedOptions.filter((e=>!e.disabled)),t=!e.every((e=>e.selected));e.forEach((e=>e.selected=t)),this.selectedIndex=this.options.indexOf(e[e.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(e,t){if(this.multiple){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches(),t=this.options.indexOf(e[0]);t>-1&&(this.activeIndex=t,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(e,t)}uncheckAllOptions(e=!1){this.options.forEach((e=>e.checked=!this.multiple&&void 0)),e||(this.rangeStartIndex=-1)}}(0,n.gn)([a.LO],c.prototype,"activeIndex",void 0),(0,n.gn)([(0,r.Lj)({mode:"boolean"})],c.prototype,"multiple",void 0),(0,n.gn)([(0,r.Lj)({converter:r.Id})],c.prototype,"size",void 0)},65898:function(e,t,i){"use strict";i.d(t,{x:function(){return p},R:function(){return h}});var n=i(20005),o=i(87697),a=i(65620);var r=i(36153),s=i(11673),d=i(48839),l=i(67491),c=i(7775),u=i(86076);class h extends d.I{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var e;return null!==(e=this.selectedOptions[0])&&void 0!==e?e:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every((e=>e.disabled))}get length(){var e,t;return null!==(t=null===(e=this.options)||void 0===e?void 0:e.length)&&void 0!==t?t:0}get options(){return o.y$.track(this,"options"),this._options}set options(e){this._options=e,o.y$.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(e){this.typeaheadExpired=e}clickHandler(e){const t=e.target.closest("option,[role=option]");if(t&&!t.disabled)return this.selectedIndex=this.options.indexOf(t),!0}focusAndScrollOptionIntoView(e=this.firstSelectedOption){this.contains(document.activeElement)&&null!==e&&(e.focus(),requestAnimationFrame((()=>{e.scrollIntoView({block:"nearest"})})))}focusinHandler(e){this.shouldSkipFocus||e.target!==e.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const e=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),t=new RegExp(`^${e}`,"gi");return this.options.filter((e=>e.text.trim().match(t)))}getSelectableIndex(e=this.selectedIndex,t){const i=e>t?-1:e<t?1:0,n=e+i;let o=null;switch(i){case-1:o=this.options.reduceRight(((e,t,i)=>!e&&!t.disabled&&i<n?t:e),o);break;case 1:o=this.options.reduce(((e,t,i)=>!e&&!t.disabled&&i>n?t:e),o)}return this.options.indexOf(o)}handleChange(e,t){if("selected"===t)h.slottedOptionFilter(e)&&(this.selectedIndex=this.options.indexOf(e)),this.setSelectedOptions()}handleTypeAhead(e){this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout((()=>this.typeaheadExpired=!0),h.TYPE_AHEAD_TIMEOUT_MS),e.length>1||(this.typeaheadBuffer=`${this.typeaheadExpired?"":this.typeaheadBuffer}${e}`)}keydownHandler(e){if(this.disabled)return!0;this.shouldSkipFocus=!1;const t=e.key;switch(t){case r.tU:e.shiftKey||(e.preventDefault(),this.selectFirstOption());break;case r.iF:e.shiftKey||(e.preventDefault(),this.selectNextOption());break;case r.SB:e.shiftKey||(e.preventDefault(),this.selectPreviousOption());break;case r.Kh:e.preventDefault(),this.selectLastOption();break;case r.oM:return this.focusAndScrollOptionIntoView(),!0;case r.kL:case r.CX:return!0;case r.BI:if(this.typeaheadExpired)return!0;default:return 1===t.length&&this.handleTypeAhead(`${t}`),!0}}mousedownHandler(e){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(e,t){this.ariaMultiSelectable=t?"true":null}selectedIndexChanged(e,t){var i;if(this.hasSelectableOptions){if((null===(i=this.options[this.selectedIndex])||void 0===i?void 0:i.disabled)&&"number"==typeof e){const i=this.getSelectableIndex(e,t),n=i>-1?i:e;return this.selectedIndex=n,void(t===n&&this.selectedIndexChanged(t,n))}this.setSelectedOptions()}else this.selectedIndex=-1}selectedOptionsChanged(e,t){var i;const n=t.filter(h.slottedOptionFilter);null===(i=this.options)||void 0===i||i.forEach((e=>{const t=o.y$.getNotifier(e);t.unsubscribe(this,"selected"),e.selected=n.includes(e),t.subscribe(this,"selected")}))}selectFirstOption(){var e,t;this.disabled||(this.selectedIndex=null!==(t=null===(e=this.options)||void 0===e?void 0:e.findIndex((e=>!e.disabled)))&&void 0!==t?t:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(e,t){let i=e.length;for(;i--;)if(t(e[i],i,e))return i;return-1}(this.options,(e=>!e.disabled)))}selectNextOption(){!this.disabled&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){var e,t;this.selectedIndex=null!==(t=null===(e=this.options)||void 0===e?void 0:e.findIndex((e=>e.defaultSelected)))&&void 0!==t?t:-1}setSelectedOptions(){var e,t,i;(null===(e=this.options)||void 0===e?void 0:e.length)&&(this.selectedOptions=[this.options[this.selectedIndex]],this.ariaActiveDescendant=null!==(i=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView())}slottedOptionsChanged(e,t){this.options=t.reduce(((e,t)=>((0,l.v2)(t)&&e.push(t),e)),[]);const i=`${this.options.length}`;this.options.forEach(((e,t)=>{e.id||(e.id=(0,s.EL)("option-")),e.ariaPosInSet=`${t+1}`,e.ariaSetSize=i})),this.$fastController.isConnected&&(this.setSelectedOptions(),this.setDefaultSelectedOption())}typeaheadBufferChanged(e,t){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches();if(e.length){const t=this.options.indexOf(e[0]);t>-1&&(this.selectedIndex=t)}this.typeaheadExpired=!1}}}h.slottedOptionFilter=e=>(0,l.v2)(e)&&!e.hidden,h.TYPE_AHEAD_TIMEOUT_MS=1e3,(0,n.gn)([(0,a.Lj)({mode:"boolean"})],h.prototype,"disabled",void 0),(0,n.gn)([o.LO],h.prototype,"selectedIndex",void 0),(0,n.gn)([o.LO],h.prototype,"selectedOptions",void 0),(0,n.gn)([o.LO],h.prototype,"slottedOptions",void 0),(0,n.gn)([o.LO],h.prototype,"typeaheadBuffer",void 0);class p{}(0,n.gn)([o.LO],p.prototype,"ariaActiveDescendant",void 0),(0,n.gn)([o.LO],p.prototype,"ariaDisabled",void 0),(0,n.gn)([o.LO],p.prototype,"ariaExpanded",void 0),(0,n.gn)([o.LO],p.prototype,"ariaMultiSelectable",void 0),(0,u.e)(p,c.v),(0,u.e)(h,p)},51565:function(e,t,i){"use strict";i.d(t,{S:function(){return n}});const n={above:"above",below:"below"}},9530:function(e,t,i){"use strict";i.d(t,{U:function(){return l}});var n=i(39181),o=i(13988),a=i(58952),r=i(90960),s=i(65898),d=i(51208);const l=(e,t)=>n.d`
    <template
        class="${e=>[e.collapsible&&"collapsible",e.collapsible&&e.open&&"open",e.disabled&&"disabled",e.collapsible&&e.position].filter(Boolean).join(" ")}"
        aria-activedescendant="${e=>e.ariaActiveDescendant}"
        aria-controls="${e=>e.ariaControls}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-haspopup="${e=>e.collapsible?"listbox":null}"
        aria-multiselectable="${e=>e.ariaMultiSelectable}"
        ?open="${e=>e.open}"
        role="combobox"
        tabindex="${e=>e.disabled?null:"0"}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        @focusin="${(e,t)=>e.focusinHandler(t.event)}"
        @focusout="${(e,t)=>e.focusoutHandler(t.event)}"
        @keydown="${(e,t)=>e.keydownHandler(t.event)}"
        @mousedown="${(e,t)=>e.mousedownHandler(t.event)}"
    >
        ${(0,o.g)((e=>e.collapsible),n.d`
                <div
                    class="control"
                    part="control"
                    ?disabled="${e=>e.disabled}"
                    ${(0,a.i)("control")}
                >
                    ${(0,d.m9)(e,t)}
                    <slot name="button-container">
                        <div class="selected-value" part="selected-value">
                            <slot name="selected-value">${e=>e.displayValue}</slot>
                        </div>
                        <div aria-hidden="true" class="indicator" part="indicator">
                            <slot name="indicator">
                                ${t.indicator||""}
                            </slot>
                        </div>
                    </slot>
                    ${(0,d.LC)(e,t)}
                </div>
            `)}
        <div
            class="listbox"
            id="${e=>e.listboxId}"
            part="listbox"
            role="listbox"
            ?disabled="${e=>e.disabled}"
            ?hidden="${e=>!!e.collapsible&&!e.open}"
            ${(0,a.i)("listbox")}
        >
            <slot
                ${(0,r.Q)({filter:s.R.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
            ></slot>
        </div>
    </template>
`},43504:function(e,t,i){"use strict";i.d(t,{x:function(){return o}});var n=i(48839);class o extends n.I{}},49944:function(e,t,i){"use strict";i.d(t,{o:function(){return o}});var n=i(39181);const o=(e,t)=>n.d`
    <template slot="tabpanel" role="tabpanel">
        <slot></slot>
    </template>
`},26899:function(e,t,i){"use strict";i.d(t,{O:function(){return r}});var n=i(20005),o=i(65620),a=i(48839);class r extends a.I{}(0,n.gn)([(0,o.Lj)({mode:"boolean"})],r.prototype,"disabled",void 0)},13626:function(e,t,i){"use strict";i.d(t,{O:function(){return o}});var n=i(39181);const o=(e,t)=>n.d`
    <template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">
        <slot></slot>
    </template>
`},49176:function(e,t,i){"use strict";i.d(t,{G:function(){return h},m:function(){return p}});var n=i(20005),o=i(65620),a=i(87697),r=i(36153),s=i(11673),d=i(78945),l=i(51208),c=i(86076),u=i(48839);const h={vertical:"vertical",horizontal:"horizontal"};class p extends u.I{constructor(){super(...arguments),this.orientation=h.horizontal,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(e),this.setTabs=()=>{const e="gridColumn",t="gridRow",i=this.isHorizontal()?e:t;this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((e,t)=>{if("tab"===e.slot){const i=this.activeTabIndex===t&&this.isFocusableElement(e);this.activeindicator&&this.isFocusableElement(e)&&(this.showActiveIndicator=!0);const n=this.tabIds[t],o=this.tabpanelIds[t];e.setAttribute("id",n),e.setAttribute("aria-selected",i?"true":"false"),e.setAttribute("aria-controls",o),e.addEventListener("click",this.handleTabClick),e.addEventListener("keydown",this.handleTabKeyDown),e.setAttribute("tabindex",i?"0":"-1"),i&&(this.activetab=e)}e.style.gridColumn="",e.style.gridRow="",e.style[i]=`${t+1}`,this.isHorizontal()?e.classList.remove("vertical"):e.classList.add("vertical")}))},this.setTabPanels=()=>{this.tabpanels.forEach(((e,t)=>{const i=this.tabIds[t],n=this.tabpanelIds[t];e.setAttribute("id",n),e.setAttribute("aria-labelledby",i),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")}))},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case r.BE:e.preventDefault(),this.adjustBackward(e);break;case r.mr:e.preventDefault(),this.adjustForward(e)}else switch(e.key){case r.SB:e.preventDefault(),this.adjustBackward(e);break;case r.iF:e.preventDefault(),this.adjustForward(e)}switch(e.key){case r.tU:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case r.Kh:e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)+1:1,i===t.length&&(i=0);i<t.length&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}if(this.activetab&&i===t.indexOf(this.activetab))break;i+1>=t.length?i=0:i+=1}},this.adjustBackward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)-1:0,i=i<0?t.length-1:i;i>=0&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}i-1<0?i=t.length-1:i-=1}},this.moveToTabByIndex=(e,t)=>{const i=e[t];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,i.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex((t=>t.id===e)),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`tab-${(0,s.EL)()}`}))}getTabPanelIds(){return this.tabpanels.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`panel-${(0,s.EL)()}`}))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===h.horizontal}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const e=this.isHorizontal()?"gridColumn":"gridRow",t=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",n=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`;const o=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.prevActiveTabIndex+1}`;const a=o-n;this.activeIndicatorRef.style.transform=`${t}(${a}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${t}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(e){this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(0,d.wt)(0,this.tabs.length-1,this.activeTabIndex+e),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}(0,n.gn)([o.Lj],p.prototype,"orientation",void 0),(0,n.gn)([o.Lj],p.prototype,"activeid",void 0),(0,n.gn)([a.LO],p.prototype,"tabs",void 0),(0,n.gn)([a.LO],p.prototype,"tabpanels",void 0),(0,n.gn)([(0,o.Lj)({mode:"boolean"})],p.prototype,"activeindicator",void 0),(0,n.gn)([a.LO],p.prototype,"activeIndicatorRef",void 0),(0,n.gn)([a.LO],p.prototype,"showActiveIndicator",void 0),(0,c.e)(p,l.hW)},78945:function(e,t,i){"use strict";function n(e,t,i){return i<e?t:i>t?e:i}function o(e,t,i){return Math.min(Math.max(i,e),t)}function a(e,t,i=0){return[t,i]=[t,i].sort(((e,t)=>e-t)),t<=e&&e<i}i.d(t,{Z2:function(){return a},b9:function(){return o},wt:function(){return n}})},11673:function(e,t,i){"use strict";i.d(t,{EL:function(){return o}});let n=0;function o(e=""){return`${e}${n++}`}},12697:function(e,t,i){"use strict";var n=i(84708);t.Z=function(e){return"number"==typeof e&&e==(0,n.Z)(e)}}}]);A
Eo