t,i){"use strict";i.d(t,{$j:function(){return x}});var a=i(39432),o=i(32804),n=i(22674),r=i(53046),s=i(56201),d=i(81493),l=i(40082),c=i(87839);var h=i(90960),g=i(39181),u=i(81422),p=i(74009),m=i(13988);function v(e,t){return t?.some((t=>t.slot===e))}const f=(e,t)=>{const i=t.slotName??"";return g.d`
        <div id="${i}" class="${i}" part="${i}">
            <slot
                name="${i}"
                ${t.slottedRef?(0,h.Q)(t.slottedRef):""}
            >
                ${t.slottedDefault instanceof Function?t.slottedDefault(e,t):t.slottedDefault??""}
            </slot>
        </div>
    `},b=(y=(e,t)=>g.d`
    <slot name="media" ${(0,h.Q)("mediaSlot")}></slot>
`,(e,t)=>g.d`
            <template
                role="article"
                ${(0,u.p)({property:"childElements",filter:(0,p.R)()})}
            >
                <div
                    class="content${e=>e.mediaType?"":" no-image"}"
                    part="content"
                >
                    ${y(e,t)}
                    ${(0,m.g)((e=>v("media-info",e.childElements)&&!(e.immersiveCard||"_2x_2y"===e.size)),f(e,{slotName:"media-info"}))}
                    <div class="gradient"></div>
                    ${f(e,{slotName:"media-overlay",slottedDefault:t.mediaOverlay})}
                    <div class="text">
                        ${(0,m.g)((e=>v("media-info",e.childElements)&&(e.immersiveCard||"_2x_2y"===e.size)),f(e,{slotName:"media-info"}))}
                        <slot name="attribution"></slot>
                        <a
                            id="heading"
                            class="heading"
                            part="heading"
                            href="${e=>e.href?e.href:void 0}"
                            target="${e=>e.target?e.target:void 0}"
                            @click=${(e,t)=>e.handleContentCardLinkClick(t.event)}
                            data-t="${e=>e.anchorTelemetryTag}"
                        >
                            <span role="heading" aria-level="${e=>e.headingLevel}">
                                <slot></slot>
                            </span>
                        </a>
                        ${(0,m.g)((e=>v("abstract",e.childElements)),f(e,{slotName:"abstract"}))}
                    </div>
                    <div class="action-tray ${e=>e.loaded?"":"preload"}">
                        ${f(e,{slotName:"footer-start",slottedDefault:t.footerStart})}
                        ${f(e,{slotName:"footer-end",slottedDefault:t.footerEnd})}
                    </div>
                    <div class="hide-story-wrapper" part="hide-story-wrapper">
                        ${f(e,{slotName:"hide-story",slottedDefault:t.hideStory})}
                    </div>
                </div>
            </template>
        `);var y;const x=a.u.compose({baseName:"content-card",styles:(e,t)=>r.i`
        .preload {
            transition: none !important;
        }

        :host {
            --content-padding: 16px;
            --no-image-action-tray-padding: 20px;
            --action-tray-padding: 10px;
            width: 100%;
            height: 100%;
            font-family: ${o.SVJ};
            --video-transition-delay: 1s;
            --video-transition-start-duration: 1s;
            --video-transition-end-duration: 1s;
        }

        :host([subscibed])::after {
            position: absolute;
            content: "";
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            width: 100%;
            background: linear-gradient(90deg, #ffa03d 0%, #ffdb00 100%);
        }

        :host([size="_1x_2y"]),
        :host([size="_2x_2y"]) {
            --content-card-heading-font-size: 18px;
            --content-card-heading-line-height: 24px;
        }

        :host .content {
            display: grid;
            grid-template-columns: 1fr minmax(auto, 84px);
            grid-template-rows: 1fr auto;
            row-gap: 14px var(--content-padding) var(--content-padding)
                var(--content-padding);
            column-gap: 12px;
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            color: ${o.CHi};
            position: relative;
        }

        :host([size="_1x_1y"]) .content {
            row-gap: 0px;
            padding: 14px var(--content-padding) 10px var(--content-padding);
        }

        :host([size="_2x_1y"]) .content {
            row-gap: 0px;
            padding: var(--content-padding) var(--content-padding) 14px
                var(--content-padding);
        }

        :host([size="_1x_2y"]) .content,
        :host([size="_2x_2y"]) .content,
        :host([immersive-card]) .content {
            grid-template-columns: 1fr;
            column-gap: 0;
        }

        :host([size="_1x_2y"]) .content {
            grid-template-rows: auto 1fr auto;
        }

        :host([size="_1x_2y"]) .content.no-image {
            grid-template-rows: auto 1fr auto;
        }

        :host([size="_1x_2y"]:not([immersive-card])) .content:not(.no-image) .text {
            padding-top: 12px;
        }

        :host([immersive-card]) .text,
        :host([size="_2x_2y"]) .content:not(.no-image) .text {
            padding-top: 0;
        }

        :host([size="_2x_2y"]) .content,
        :host([immersive-card]) .content {
            align-items: end;
            grid-template-rows: 1fr auto auto;
        }

        :host([size="_2x_2y"]) .no-image {
            align-items: unset;
        }

        :host([size="_1x_2y"]) .content,
        :host([size="_2x_2y"]) .content {
            padding: 0;
            row-gap: 0;
        }

        :host([size="_1x_1y"]) .content.no-image,
        :host([size="_2x_1y"]) .content.no-image,
        :host([size="_1x_2y"]) .content.no-image,
        :host([size="_2x_2y"]) .content.no-image {
            grid-template-rows: 1fr auto;
        }

        ::slotted([slot="abstract"]) {
            display: none;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: var(--abstract-max-lines, 7);
            margin-top: var(--abstract-margin-top, 5px);
        }

        .no-image ::slotted([slot="abstract"]) {
            display: -webkit-box;
            -webkit-line-clamp: var(--abstract-max-lines, 3);
        }

        :host([size="_1x_1y"]) .no-image ::slotted([slot="abstract"]),
        :host([size="_2x_1y"]) .no-image ::slotted([slot="abstract"]) {
            --abstract-max-lines: 1;
        }

        .text {
            grid-area: 1 / 1;
            padding: var(--content-padding) var(--content-padding) 0
                var(--content-padding);
            overflow: hidden;
            font-size: ${o.cSu};
            line-height: ${o.RUt};
        }

        :host([size="_1x_1y"]) .text,
        :host([size="_2x_1y"]) .text {
            padding: 0;
        }

        :host([size="_1x_1y"]) .no-image .text,
        :host([size="_2x_1y"]) .no-image .text {
            grid-column: 1 / span 2;
        }

        :host([size="_1x_2y"]) .no-image .text,
        :host([size="_2x_2y"]) .no-image .text {
            padding: 14px var(--content-padding) 0 var(--content-padding);
            grid-row: 1;
        }

        :host([size="_2x_2y"]) .text,
        :host([size="_1x_2y"]) .text {
            grid-row: 2;
        }

        :host([immersive-card]) .text,
        :host([size="_2x_2y"]) .text {
            background-color: var(--image-gradient-overlay-end-color);
        }

        :host([size="_1x_1y"]) .action-tray,
        :host([size="_2x_1y"]) .action-tray,
        :host([size="_1x_2y"]:not([immersive-card])) .action-tray,
        :host .no-image .action-tray {
            background-color: transparent;
        }

        :host([immersive-card]) .no-image .text,
        :host([size="_2x_2y"]) .no-image .text {
            background: unset;
        }

        :host([size="_1x_2y"]) .action-tray,
        :host([size="_2x_2y"]) .action-tray {
            grid-row: 3;
            padding: 4px var(--content-padding) var(--action-tray-padding)
                var(--content-padding);
        }

        :host([immersive-card]) .action-tray,
        :host([size="_2x_2y"]) .content:not(.no-image) .action-tray {
            padding: var(--action-tray-padding) var(--content-padding)
                var(--action-tray-padding) var(--content-padding);
        }

        .action-tray {
            grid-row: 2;
            grid-column: span 2;
            display: flex;
            position: relative;
            background-color: var(--image-gradient-overlay-end-color);
            padding: var(--action-tray-padding) var(--content-padding)
                var(--content-padding) var(--content-padding);
        }

        :host([size="_1x_1y"]) .action-tray,
        :host([size="_2x_1y"]) .action-tray {
            padding: 0;
        }

        :host([size="_2x_1y"]) .content:not(.no-image) .action-tray {
            grid-area: 2 / 1 / auto / auto;
        }

        :host([size="_1x_1y"]) .no-image .action-tray {
            padding: 4px 0 0 0;
        }

        :host([size="_1x_2y"]) .no-image .action-tray,
        :host([size="_2x_2y"]) .no-image .action-tray {
            padding: var(--no-image-action-tray-padding) var(--content-padding)
                var(--action-tray-padding) var(--content-padding);
            background: none;
            grid-row: 2;
            grid-column: 1;
        }

        .media-info {
            display: grid;
            grid-auto-flow: column;
            width: fit-content;
            grid-gap: 4px;
            fill: white;
            color: white;
            margin-bottom: 8px;
        }

        :host([size="_1x_2y"]:not([immersive-card])) .media-info {
            grid-row: 1;
            grid-column: 1;
            align-self: flex-end;
            margin-bottom: 6px;
            margin-inline-start: 6px;
        }

        :host([size="_2x_1y"]:not([immersive-card])) .media-info {
            grid-area: 1 / 2 / span2 / auto;
            align-self: flex-end;
            margin-bottom: 8px;
            margin-inline-start: 6px;
        }

        ::slotted([slot="media-info"]) {
            display: grid;
            align-items: center;
            grid-auto-flow: column;
            grid-gap: 3px;
            background-color: var(--image-gradient-overlay-end-color);
            border-radius: calc(${o.UWU} * 1px);
            padding: 2px 6px;
            font-size: ${o.G8g};
            line-height: ${o.MwG};
        }

        ::slotted([slot="hide-story"]) {
            box-sizing: border-box;
            align-items: center;
            background-color: #ffffff;
            border-radius: 100%;
            border: 1px solid #e5e5e5;
            color: rgba(0, 0, 0 1);
            cursor: pointer;
            display: flex;
            fill: currentcolor;
            font-family: ${o.SVJ};
            font-size: ${o.cSu};
            height: 28px;
            justify-content: center;
            line-height: ${o.RUt};
            margin-inline-start: 4px;
            min-width: 28px;
            outline: none;
            padding: 0;
            position: relative;
        }

        :host .hide-story-wrapper {
            position: absolute;
            display: flex;
            flex-direction: row;
            top: var(--content-padding);
        }

        :host .hide-story {
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.1s linear;
        }

        :host(:hover) .hide-story,
        :host(:focus-within) .hide-story {
            opacity: 1;
        }

        :host ::slotted([slot="hide-story"]:${s.b}) {
            border-color: ${o.yGg};
        }

        ::slotted([slot="media"]) {
            grid-column: 1;
            object-fit: cover;
        }

        :host([size="_1x_1y"]) ::slotted([slot="media"]) {
            height: 84px;
            width: 84px;
            grid-row: 1;
            grid-column: 2;
            border-radius: var(--half-card-image-corner-radius, 8px);
            overflow: hidden;
        }

        :host([size="_2x_1y"]) ::slotted([slot="media"]) {
            height: 114px;
            width: 216px;
            grid-area: 1 / 2 / span2 / 2;
            border-radius: var(--half-card-image-corner-radius, 8px);
            overflow: hidden;
        }

        :host([size="_1x_2y"]) ::slotted([slot="media"]) {
            grid-row: 1;
            grid-column: 1;
            height: 157px;
            width: 100%;
            display: flex;
        }

        :host([size="_2x_2y"]) ::slotted([slot="media"]),
        :host([immersive-card]) ::slotted([slot="media"]) {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        ::slotted([slot="attribution"]) {
            display: flex;
            grid-column: 1;
            grid-row: 1;
            margin-bottom: 8px;
        }

        :host([size="_1x_1y"]) .content:not(.no-image) ::slotted([slot="attribution"]),
        :host([size="_2x_1y"]) .content:not(.no-image) ::slotted([slot="attribution"]) {
            grid-column-end: 1;
        }

        .heading {
            color: ${o.CHi};
            fill: currentcolor;
            display: -webkit-box;
            outline: 0;
            overflow: hidden;
            text-decoration: none;
            -webkit-line-clamp: var(--heading-max-lines, 3);
            -webkit-box-orient: vertical;
            font-weight: 600;
            font-size: var(--content-card-heading-font-size, ${o.PwC});
            line-height: var(
                --content-card-heading-line-height,
                ${o.b3W}
            );
        }

        .heading:focus-visible {
            text-decoration: underline;
        }

        .heading:after {
            bottom: 0;
            content: "";
            height: 100%;
            left: 0;
            position: absolute;
            right: 0;
            width: 100%;
            z-index: ${o.lr};
        }

        :host([size="_2x_2y"][immersive-card]) .heading {
            --heading-max-lines: 2;
        }

        .media-overlay {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            pointer-events: none;
        }

        :host([size="_1x_1y"]) .media-overlay {
            grid-column: 2;
            grid-row: 1;
            height: 84px;
            width: 84px;
        }

        :host([size="_1x_2y"]) .media-overlay {
            grid-row-start: 1;
            grid-row-end: 1;
        }

        :host([size="_2x_2y"]) .media-overlay,
        :host([immersive-card]) .media-overlay {
            top: 80px;
            align-items: unset;
        }

        :host([size="_1x_2y"]) .no-image .heading,
        :host([size="_2x_2y"]) .no-image .heading {
            --heading-max-lines: 9;
        }

        :host([size="_2x_1y"]) .media-overlay {
            grid-area: 1 / 2 / span2 / 2;
            height: 114px;
            width: 216px;
        }

        ::slotted(p) {
            font-weight: 400;
            font-size: var(--abstract-font-size, 14px);
            line-height: var(--abstract-line-height, 20px);
            font-kerning: auto;
            margin: 8px 0px 0px;
        }

        ::slotted([slot="footer-start"]),
        ::slotted([slot="footer-end"]),
        ::slotted([slot="hide-story"]) {
            z-index: ${o.kcg};
        }

        .footer-end,
        .footer-start {
            display: flex;
            align-items: center;
        }

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

        .gradient {
            background: linear-gradient(
                180deg,
                var(--image-gradient-overlay-start-color) 0%,
                var(--image-gradient-overlay-end-color) 100%
            );
            grid-row: 1;
            height: 100%;
            display: none;
        }

        :host([size="_2x_2y"]) .gradient,
        :host([immersive-card]) .gradient {
            display: block;
            height: 80px;
        }

        :host([size="_2x_2y"]) .no-image .gradient,
        .no-image .gradient {
            display: none;
        }

        :host([size="_2x_1y"]) .content {
            column-gap: 24px;
        }
    `.withBehaviors(new d.w("mediaType","video",r.i`
        .text,
        .media-info,
        .gradient {
            transition-duration: var(--video-transition-end-duration);
            transition-property: opacity;
            opacity: 1;
        }

        .action-tray {
            transition-duration: var(--video-transition-end-duration);
            transition-property: background-color;
        }

        ::slotted([slot="media-overlay"]) {
            color: #ffffff;
            fill: #ffffff;
            height: 38px;
            min-width: 38px;
            display: grid;
            padding: 0px 10px;
            grid-auto-flow: column;
            grid-gap: 8px;
            box-sizing: border-box;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            border: 1px solid transparent;
            transition-duration: var(--video-transition-end-duration);
            transition-property: opacity;
            opacity: 1;
            background: linear-gradient(
                        135deg,
                        rgba(0, 0, 0, 0.5) 0%,
                        rgba(0, 0, 0, 0.7) 100%
                    )
                    padding-box,
                linear-gradient(
                        180deg,
                        rgba(255, 255, 255, 0.4) 0%,
                        rgba(255, 255, 255, 0.2) 100%
                    )
                    border-box;
        }

        :host([size="_1x_1y"]) ::slotted([slot="media-overlay"]) {
            height: 22px;
            min-width: 22px;
            padding: 0 6px;
        }

        :host([size="_2x_1y"]) ::slotted([slot="media-overlay"]) {
            height: 38px;
            min-width: 38px;
            padding: 0 6px;
        }

        :host([size="_1x_1y"]) ::slotted([slot="media-overlay"]) > svg {
            height: 7px;
            width: 8px;
        }

        :host([size="_2x_1y"]) ::slotted([slot="media-overlay"]) > svg {
            height: 7px;
            width: 8px;
        }

        .action-tray::before {
            position: absolute;
            content: "";
            background: linear-gradient(
                var(--image-gradient-overlay-start-color) 0%,
                var(--image-gradient-overlay-end-color) 50%
            );
            top: -40px;
            bottom: 0;
            left: 0;
            right: 0;
            opacity: 0;
            transition-duration: var(--video-transition-end-duration);
            transition-property: opacity;
        }

        :host([size="_1x_2y"][animate-video]:not([immersive-card])) .media-info,
        :host([size="_2x_2y"][animate-video]) .text,
        :host([immersive-card][animate-video]) .text,
        :host([size="_2x_2y"][animate-video]) .gradient,
        :host([immersive-card][animate-video]) .gradient,
        :host([immersive-card][animate-video]) ::slotted([slot="media-overlay"]),
        :host([size="_1x_2y"][animate-video]) ::slotted([slot="media-overlay"]),
        :host([size="_2x_2y"][animate-video]) ::slotted([slot="media-overlay"]) {
            transition-delay: var(--video-transition-delay);
            transition-duration: var(--video-transition-start-duration);
            opacity: 0;
        }

        :host([size="_2x_2y"][animate-video]) .action-tray::before,
        :host([immersive-card][animate-video]) .action-tray::before {
            transition-delay: var(--video-transition-delay);
            transition-duration: var(--video-transition-start-duration);
            opacity: 1;
        }

        :host([size="_2x_2y"][animate-video]) .action-tray,
        :host([immersive-card][animate-video]) .action-tray {
            transition-delay: var(--video-transition-delay);
            transition-duration: var(--video-transition-start-duration);
            background-color: transparent;
        }
    `),new n.O(r.i`
                :host .hide-story-wrapper {
                    right: var(--content-padding);
                }
            `,r.i`
                :host .hide-story-wrapper {
                    left: var(--content-padding);
                }
            `),(0,l.vF)(r.i`
                :host {
                    forced-color-adjust: auto;
                }
                .gradient {
                    display: none;
                }
                :host([size="_1x_2y"]) .content,
                :host([size="_1x_1y"]) .content,
                :host([size="_2x_1y"]) .content {
                    background: ${c.H.ButtonFace};
                }
                :host([size="_1x_2y"]) .text,
                :host([size="_1x_2y"]) .action-tray,
                :host([size="_2x_2y"]) .text,
                :host([size="_2x_2y"]) .action-tray,
                :host([size="_2x_2y"]) .content,
                :host([immersive-card]) .content {
                    background: transparent;
                }
                ::slotted([slot="hide-story"]) {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
            `)),template:b})},38247:function(e,t,i){"use strict";i.d(t,{QT:function(){return h}});var a=i(33940),o=i(28090),n=i(65620),r=i(45169),s=i(53046),d=i(45597),l=i(82636);class c extends o.e{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const e=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===e.length&&e[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}(0,a.gn)([n.Lj,(0,a.w6)("design:type",String)],c.prototype,"appearance",void 0);const h=c.compose({baseName:"anchor",baseClass:o.e,template:r.g,styles:(e,t)=>s.i`
        ${(0,d.vN)(e,t)}
    `.withBehaviors((0,l.H)("accent",d.jQ),(0,l.H)("hypertext",d.Xu),(0,l.H)("lightweight",d.vt),(0,l.H)("outline",d.O8),(0,l.H)("stealth",d.cg)),shadowOptions:{delegatesFocus:!0}})},65033:function(e,t,i){"use strict";i.d(t,{d$:function(){return $}});var a=i(20005),o=i(65620),n=i(87697),r=i(36153),s=i(82500),d=i(48839);class l extends d.I{}class c extends((0,s.V2)(l)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class h extends c{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(e.key!==r.BI)return!0;this.checked||this.readOnly||(this.checked=!0)},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(e){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}(0,a.gn)([(0,o.Lj)({attribute:"readonly",mode:"boolean"})],h.prototype,"readOnly",void 0),(0,a.gn)([n.LO],h.prototype,"name",void 0),(0,a.gn)([n.LO],h.prototype,"defaultSlottedNodes",void 0);var g=i(39181),u=i(90960);var p=i(53046),m=i(67020),v=i(56201),f=i(37139),b=i(40082),y=i(87839),x=i(2658),C=i(32804);const $=h.compose({baseName:"radio",template:(e,t)=>g.d`
    <template
        role="radio"
        class="${e=>e.checked?"checked":""} ${e=>e.readOnly?"readonly":""}"
        aria-checked="${e=>e.checked}"
        aria-required="${e=>e.required}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
    >
        <div part="control" class="control">
            <slot name="checked-indicator">
                ${t.checkedIndicator||""}
            </slot>
        </div>
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,u.Q)("defaultSlottedNodes")}></slot>
        </label>
    </template>
`,styles:(e,t)=>p.i`
        ${(0,m.j)("inline-flex")} :host {
            --input-size: calc((${x.i} / 2) + ${C._5n});
            align-items: center;
            outline: none;
            margin: calc(${C._5n} * 1px) 0;
            ${""} user-select: none;
            position: relative;
            flex-direction: row;
            transition: all 0.2s ease-in-out;
        }

        .control {
            position: relative;
            width: calc(var(--input-size) * 1px);
            height: calc(var(--input-size) * 1px);
            box-sizing: border-box;
            border-radius: 50%;
            border: calc(${C.Han} * 1px) solid ${C.rU8};
            background: ${C._Bj};
            outline: none;
            cursor: pointer;
        }

        .label__hidden {
            display: none;
            visibility: hidden;
        }

        .label {
            font-family: ${C.SVJ};
            color: ${C.CHi};
            ${""} padding-inline-start: calc(${C._5n} * 2px + 2px);
            margin-inline-end: calc(${C._5n} * 2px + 2px);
            cursor: pointer;
            font-size: ${C.cSu};
            line-height: ${C.RUt};
        }

        .control,
        .checked-indicator {
            flex-shrink: 0;
        }

        .checked-indicator {
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border-radius: 50%;
            display: inline-block;
            background: ${C.CHi};
            fill: ${C.CHi};
            opacity: 0;
            pointer-events: none;
        }

        :host(:enabled) .control:hover {
            background: ${C.Tm7};
            border-color: ${C.gKw};
        }

        :host(:enabled) .control:active {
            background: ${C.Ium};
            border-color: ${C.ekh};
        }

        :host(:${v.b}) .control {
            box-shadow: 0 0 0 2px ${C.IfY}, 0 0 0 4px ${C.yGg};
            border-color: ${C.yGg};
        }

        :host(.disabled) .label,
        :host(.readonly) .label,
        :host(.readonly) .control,
        :host(.disabled) .control {
            cursor: ${f.H};
        }

        :host(.checked) .checked-indicator {
            opacity: 1;
        }

        :host(.disabled) {
            opacity: ${C.VFZ};
        }
    `.withBehaviors((0,b.vF)(p.i`
                .control {
                    forced-color-adjust: none;
                    border-color: ${y.H.FieldText};
                    background: ${y.H.Field};
                }
                :host(:enabled) .control:hover,
                .control:active {
                    border-color: ${y.H.Highlight};
                    background: ${y.H.Field};
                }
                :host(:${v.b}) .control {
                    border-color: ${y.H.Highlight};
                    box-shadow: 0 0 0 2px ${y.H.Field},
                        0 0 0 4px ${y.H.FieldText};
                }
                :host(.checked:${v.b}:enabled) .control {
                    border-color: ${y.H.Highlight};
                    box-shadow: 0 0 0 2px ${y.H.Field},
                        0 0 0 4px ${y.H.FieldText};
                }
                :host(.checked:enabled) .control:hover,
                .control:active {
                    border-color: ${y.H.Highlight};
                    background: ${y.H.Highlight};
                }
                :host(.checked) .checked-indicator {
                    background: ${y.H.Highlight};
                    fill: ${y.H.Highlight};
                }
                :host(.checked) .control:hover .checked-indicator {
                    background: ${y.H.HighlightText};
                    fill: ${y.H.HighlightText};
                }
                :host(.disabled) {
                    forced-color-adjust: none;
                    opacity: 1;
                }
                :host(.disabled) .label {
                    color: ${y.H.GrayText};
                }
                :host(.disabled) .control,
                :host(.checked.disabled) .control:hover,
                .control:active {
                    background: ${y.H.Field};
                    border-color: ${y.H.GrayText};
                }
                :host(.disabled) .checked-indicator,
                :host(.checked.disabled) .control:hover .checked-indicator {
                    fill: ${y.H.GrayText};
                    background: ${y.H.GrayText};
                }
            `)),checkedIndicator:'\n    <div part="checked-indicator" class="checked-indicator"></div>\n  '})},39391:function(e,t,i){"use strict";i.d(t,{xg:function(){return w}});var a=i(20005),o=i(65620),n=i(87697),r=i(36153),s=i(82500),d=i(48839);class l extends d.I{}class c extends((0,s.V2)(l)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class h extends c{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{switch(e.key){case r.kL:case r.BI:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}(0,a.gn)([(0,o.Lj)({attribute:"readonly",mode:"boolean"})],h.prototype,"readOnly",void 0),(0,a.gn)([n.LO],h.prototype,"defaultSlottedNodes",void 0);var g=i(39181),u=i(90960);var p=i(53046),m=i(67020),v=i(37139),f=i(56201),b=i(40082),y=i(87839),x=i(2658),C=i(22674),$=i(32804);const w=h.compose({baseName:"switch",template:(e,t)=>g.d`
    <template
        role="switch"
        aria-checked="${e=>e.checked}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        tabindex="${e=>e.disabled?null:0}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        class="${e=>e.checked?"checked":""}"
    >
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,u.Q)("defaultSlottedNodes")}></slot>
        </label>
        <div part="switch" class="switch">
            <slot name="switch">${t.switch||""}</slot>
        </div>
        <span class="status-message" part="status-message">
            <span class="checked-message" part="checked-message">
                <slot name="checked-message"></slot>
            </span>
            <span class="unchecked-message" part="unchecked-message">
                <slot name="unchecked-message"></slot>
            </span>
        </span>
    </template>
`,styles:(e,t)=>p.i`
        :host([hidden]) {
            display: none;
        }

        ${(0,m.j)("inline-flex")} :host {
            align-items: center;
            outline: none;
            font-family: ${$.SVJ};
            margin: calc(${$._5n} * 1px) 0;
            ${""} user-select: none;
        }

        :host(.disabled) {
            opacity: ${$.VFZ};
        }

        :host(.disabled) .label,
        :host(.readonly) .label,
        :host(.readonly) .switch,
        :host(.disabled) .switch {
            cursor: ${v.H};
        }

        .switch {
            position: relative;
            outline: none;
            box-sizing: border-box;
            width: calc(((${x.i} / 2) + ${$._5n}) * 2px);
            height: calc(((${x.i} / 2) + ${$._5n}) * 1px);
            background: ${$._Bj};
            border-radius: calc(${x.i} * 1px);
            border: calc(${$.Han} * 1px) solid ${$.rU8};
        }

        :host(:enabled) .switch:hover {
            background: ${$.Tm7};
            border-color: ${$.gKw};
            cursor: pointer;
        }

        :host(:enabled) .switch:active {
            background: ${$.Ium};
            border-color: ${$.ekh};
        }

        :host(:${f.b}) .switch {
            box-shadow: 0 0 0 2px ${$.IfY}, 0 0 0 4px ${$.yGg};
            border-color: ${$.yGg};
        }

        .checked-indicator {
            position: absolute;
            height: calc((${x.i} - (${$._5n} * 5.5)) * 1px);
            width: calc((${x.i} - (${$._5n} * 5.5)) * 1px);
            top: calc(${$._5n} * 1px);
            background: ${$.CHi};
            border-radius: 50%;
            transition: all 0.2s ease-in-out;
        }

        .status-message {
            color: ${$.CHi};
            cursor: pointer;
            font-size: ${$.cSu};
            line-height: ${$.RUt};
        }

        .label__hidden {
            display: none;
            visibility: hidden;
        }

        .label {
            color: ${$.CHi};
            font-size: ${$.cSu};
            line-height: ${$.RUt};
            margin-inline-end: calc(${$._5n} * 2px + 2px);
            cursor: pointer;
        }

        ::slotted(*) {
            ${""} margin-inline-start: calc(${$._5n} * 2px + 2px);
        }

        :host([aria-checked="true"]) .checked-indicator {
            background: ${$.w41};
        }

        :host([aria-checked="true"]) .switch {
            background: ${$.Avx};
        }

        :host([aria-checked="true"]:enabled) .switch:hover {
            background: ${$.OCG};
        }

        :host([aria-checked="true"]:enabled) .switch:hover .checked-indicator {
            background: ${$.lJV};
        }

        :host([aria-checked="true"]:enabled) .switch:active {
            background: ${$.UEO};
        }

        :host([aria-checked="true"]:enabled) .switch:active .checked-indicator {
            background: ${$.PpH};
        }

        :host([aria-checked="true"]:${f.b}:enabled) .switch {
            box-shadow: 0 0 0 2px ${$.IfY}, 0 0 0 4px ${$.yGg};
            border-color: transparent;
        }

        .unchecked-message {
            display: block;
        }

        .checked-message {
            display: none;
        }

        :host([aria-checked="true"]) .unchecked-message {
            display: none;
        }

        :host([aria-checked="true"]) .checked-message {
            display: block;
        }
    `.withBehaviors(new C.O(p.i`
                .checked-indicator {
                    left: calc(${$._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    left: calc(
                        (((${x.i} / 2) + ${$._5n}) + ${$._5n}) * 1px
                    );
                }
            `,p.i`
                .checked-indicator {
                    right: calc(${$._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    right: calc(
                        (((${x.i} / 2) + ${$._5n}) + ${$._5n}) * 1px
                    );
                }
            `),(0,b.vF)(p.i`
                .checked-indicator,
                :host(:enabled) .switch:active .checked-indicator {
                    forced-color-adjust: none;
                    background: ${y.H.FieldText};
                }
                .switch {
                    forced-color-adjust: none;
                    background: ${y.H.Field};
                    border-color: ${y.H.FieldText};
                }
                :host(:enabled) .switch:hover {
                    background: ${y.H.HighlightText};
                    border-color: ${y.H.Highlight};
                }
                :host(.checked) .switch {
                    background: ${y.H.Highlight};
                    border-color: ${y.H.Highlight};
                }
                :host(.checked:enabled) .switch:hover,
                :host(:enabled) .switch:active {
                    background: ${y.H.HighlightText};
                    border-color: ${y.H.Highlight};
                }
                :host(.checked) .checked-indicator {
                    background: ${y.H.HighlightText};
                }
                :host(.checked:enabled) .switch:hover .checked-indicator {
                    background: ${y.H.Highlight};
                }
                :host(:${f.b}) .switch {
                    border-color: ${y.H.Highlight};
                    box-shadow: 0 0 0 2px ${y.H.Field},
                        0 0 0 4px ${y.H.FieldText};
                }
                :host(.checked:${f.b}:enabled) .switch {
                    box-shadow: 0 0 0 2px ${y.H.Field},
                        0 0 0 4px ${y.H.FieldText};
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled) .checked-indicator {
                    background: ${y.H.GrayText};
                }
                :host(.disabled) .switch {
                    background: ${y.H.Field};
                    border-color: ${y.H.GrayText};
                }
                .status-message,
                .label {
                    color: ${y.H.FieldText};
                }
            `)),switch:'\n    <span class="checked-indicator" part="checked-indicator"></span>\n  '})},77615:function(e,t,i){"use strict";i.d(t,{D:function(){return o}});var a=i(57905);function o(e){return a.K.getOrCreate(e).withPrefix("cs")}},64062:function(e,t,i){"use strict";i.d(t,{f:function(){return p}});var a=i(91281),o=i(30569),n=i(32804),r=i(2658),s=i(22674),d=i(37139),l=i(56201),c=i(40082),h=i(87839),g=i(53046),u=i(67020);const p=a.U.compose({baseName:"flipper",styles:(e,t)=>g.i`
        ${(0,u.j)("inline-flex")} :host {
            align-items: center;
            background: ${n._jX};
            border-radius: calc(${n.UWU} * 1px);
            color: ${n.CHi};
            fill: currentcolor;
            height: calc(${r.i} * 1px);
            justify-content: center;
            outline: none;
            width: calc(${n._5n} * 4px);
        }

        :host([disabled]) {
            cursor: ${d.H};
            opacity: ${n.VFZ};
            pointer-events: none;
        }

        .next,
        .previous {
            display: flex;
        }

        :host(:not([disabled]):hover) {
            cursor: pointer;
            background: ${n.d$x};
        }

        :host(:not([disabled]):active) {
            background: ${n._ii};
        }

        :host(:${l.b}) {
            border-color: ${n.yGg};
        }

        :host::-moz-focus-inner {
            border: 0;
        }
    `.withBehaviors((0,c.vF)(g.i`
                :host {
                    background: ${h.H.ButtonFace};
                    border-color: ${h.H.ButtonText};
                }
                :host .next,
                :host .previous {
                    color: ${h.H.ButtonText};
                    fill: currentcolor;
                }
                :host(:not([disabled]):hover) {
                    background: ${h.H.Highlight};
                }
                :host(:not([disabled]):hover) .next,
                :host(:not([disabled]):hover) .previous {
                    color: ${h.H.HighlightText};
                    fill: currentcolor;
                }
                :host([disabled]) {
                    opacity: 1;
                }
                :host([disabled]),
                :host([disabled]) .next,
                :host([disabled]) .previous {
                    border-color: ${h.H.GrayText};
                    color: ${h.H.GrayText};
                    fill: currentcolor;
                }
                :host(:${l.b}) {
                    forced-color-adjust: none;
                    border-color: ${h.H.Highlight};
                    box-shadow: 0 0 0 2px ${h.H.ButtonFace},
                        0 0 0 4px ${h.H.ButtonText};
                }
            `),new s.O(g.i``,g.i`
                :host {
                    transform: scaleX(-1);
                }
            `)),template:o._})},28090:function(e,t,i){"use strict";i.d(t,{e:function(){return c},m:function(){return h}});var a=i(20005),o=i(65620),n=i(87697),r=i(48839),s=i(7775),d=i(51208),l=i(86076);class c extends r.I{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}(0,a.gn)([o.Lj],c.prototype,"download",void 0),(0,a.gn)([o.Lj],c.prototype,"href",void 0),(0,a.gn)([o.Lj],c.prototype,"hreflang",void 0),(0,a.gn)([o.Lj],c.prototype,"ping",void 0),(0,a.gn)([o.Lj],c.prototype,"referrerpolicy",void 0),(0,a.gn)([o.Lj],c.prototype,"rel",void 0),(0,a.gn)([o.Lj],c.prototype,"target",void 0),(0,a.gn)([o.Lj],c.prototype,"type",void 0),(0,a.gn)([n.LO],c.prototype,"defaultSlottedContent",void 0);class h{}(0,a.gn)([(0,o.Lj)({attribute:"aria-expanded"})],h.prototype,"ariaExpanded",void 0),(0,l.e)(h,s.v),(0,l.e)(c,d.hW,h)},45169:function(e,t,i){"use strict";i.d(t,{g:function(){return s}});var a=i(39181),o=i(58952),n=i(90960),r=i(51208);const s=(e,t)=>a.d`
    <a
        class="control"
        part="control"
        download="${e=>e.download}"
        href="${e=>e.href}"
        hreflang="${e=>e.hreflang}"
        ping="${e=>e.ping}"
        referrerpolicy="${e=>e.referrerpolicy}"
        rel="${e=>e.rel}"
        target="${e=>e.target}"
        type="${e=>e.type}"
        aria-atomic="${e=>e.ariaAtomic}"
        aria-busy="${e=>e.ariaBusy}"
        aria-controls="${e=>e.ariaControls}"
        aria-current="${e=>e.ariaCurrent}"
        aria-describedby="${e=>e.ariaDescribedby}"
        aria-details="${e=>e.ariaDetails}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-errormessage="${e=>e.ariaErrormessage}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-flowto="${e=>e.ariaFlowto}"
        aria-haspopup="${e=>e.ariaHaspopup}"
        aria-hidden="${e=>e.ariaHidden}"
        aria-invalid="${e=>e.ariaInvalid}"
        aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
        aria-label="${e=>e.ariaLabel}"
        aria-labelledby="${e=>e.ariaLabelledby}"
        aria-live="${e=>e.ariaLive}"
        aria-owns="${e=>e.ariaOwns}"
        aria-relevant="${e=>e.ariaRelevant}"
        aria-roledescription="${e=>e.ariaRoledescription}"
        ${(0,o.i)("control")}
    >
        ${(0,r.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,n.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,r.LC)(e,t)}
    </a>
`},65130:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(48839);class o extends a.I{}},91281:function(e,t,i){"use strict";i.d(t,{U:function(){return s}});var a=i(20005),o=i(65620),n=i(48839),r=i(16882);class s extends n.I{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=r.L.next}keyupHandler(e){if(!this.hiddenFromAT){const t=e.key;"Enter"!==t&&"Space"!==t||this.$emit("click",e),"Escape"===t&&this.blur()}}}(0,a.gn)([(0,o.Lj)({mode:"boolean"})],s.prototype,"disabled",void 0),(0,a.gn)([(0,o.Lj)({attribute:"aria-hidden",converter:o.bw})],s.prototype,"hiddenFromAT",void 0),(0,a.gn)([o.Lj],s.prototype,"direction",void 0)},16882:function(e,t,i){"use strict";i.d(t,{L:function(){return a}});const a={next:"next",previous:"previous"}},30569:function(e,t,i){"use strict";i.d(t,{_:function(){return r}});var a=i(39181),o=i(13988),n=i(16882);const r=(e,t)=>a.d`
    <template
        role="button"
        aria-disabled="${e=>!!e.disabled||void 0}"
        tabindex="${e=>e.hiddenFromAT?-1:0}"
        class="${e=>e.direction} ${e=>e.disabled?"disabled":""}"
        @keyup="${(e,t)=>e.keyupHandler(t.event)}"
    >
        ${(0,o.g)((e=>e.direction===n.L.next),a.d`
                <span part="next" class="next">
                    <slot name="next">
                        ${t.next||""}
                    </slot>
                </span>
            `)}
        ${(0,o.g)((e=>e.direction===n.L.previous),a.d`
                <span part="previous" class="previous">
                    <slot name="previous">
                        ${t.previous||""}
                    </slot>
                </span>
            `)}
    </template>
`},49176:function(e,t,i){"use strict";i.d(t,{G:function(){return g},m:function(){return u}});var a=i(20005),o=i(65620),n=i(87697),r=i(36153),s=i(11673),d=i(78945),l=i(51208),c=i(86076),h=i(48839);const g={vertical:"vertical",horizontal:"horizontal"};class u extends h.I{constructor(){super(...arguments),this.orientation=g.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 a=this.tabIds[t],o=this.tabpanelIds[t];e.setAttribute("id",a),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],a=this.tabpanelIds[t];e.setAttribute("id",a),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===g.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",a=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`;const o=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.prevActiveTabIndex+1}`;const n=o-a;this.activeIndicatorRef.style.transform=`${t}(${n}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,a.gn)([o.Lj],u.prototype,"orientation",void 0),(0,a.gn)([o.Lj],u.prototype,"activeid",void 0),(0,a.gn)([n.LO],u.prototype,"tabs",void 0),(0,a.gn)([n.LO],u.prototype,"tabpanels",void 0),(0,a.gn)([(0,o.Lj)({mode:"boolean"})],u.prototype,"activeindicator",void 0),(0,a.gn)([n.LO],u.prototype,"activeIndicatorRef",void 0),(0,a.gn)([n.LO],u.prototype,"showActiveIndicator",void 0),(0,c.e)(u,l.hW)},78945:function(e,t,i){"use strict";function a(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 n(e,t,i=0){return[t,i]=[t,i].sort(((e,t)=>e-t)),t<=e&&e<i}i.d(t,{Z2:function(){return n},b9:function(){return o},wt:function(){return a}})},11673:function(e,t,i){"use strict";i.d(t,{EL:function(){return o}});let a=0;function o(e=""){return`${e}${a++}`}},50539:function(e,t,i){"use strict";var a=i(35066),o=i(23857),n=i(68025),r=i(72160),s=i(86176),d=i(71155),l=Math.min;t.Z=function(e,t,i){for(var c=i?n.Z:o.Z,h=e[0].length,g=e.length,u=g,p=Array(g),m=1/0,v=[];u--;){var f=e[u];u&&t&&(f=(0,r.Z)(f,(0,s.Z)(t))),m=l(f.length,m),p[u]=!i&&(t||h>=120&&f.length>=120)?new a.Z(u&&f):void 0}f=e[0];var b=-1,y=p[0];e:for(;++b<h&&v.length<m;){var x=f[b],C=t?t(x):x;if(x=i||0!==x?x:0,!(y?(0,d.Z)(y,C):c(v,C,i))){for(u=g;--u;){var $=p[u];if(!($?(0,d.Z)($,C):c(e[u],C,i)))continue e}y&&y.push(C),v.push(x)}}return v}},35988:function(e,t,i){"use strict";var a=i(59472);t.Z=function(e){return(0,a.Z)(e)?e:[]}},33294:function(e,t,i){"use strict";var a=i(72160),o=i(50539),n=i(35651),r=i(35988),s=(0,n.Z)((function(e){var t=(0,a.Z)(e,r.Z);return t.length&&t[0]===e[0]?(0,o.Z)(t):[]}));t.Z=s}}]);A
Eo