  .statusIcon {
        padding-right: 2px;
    }
    .title_noProfile {
        padding-left: 16px;
    }
    .unreadEmailCount {
        padding-right: 16px;
    }
`,Ue=He.i`
    .dateLine {
        padding-left: 12px;
    }
    .freAccentButton {
        margin-left: 8px;
    }
    .freSVG {
        transform: rotateY(180deg);
    }
    .status {
        padding-left: 4px;
    }
    .statusIcon {
        padding-left: 2px;
    }
    .title_noProfile {
        padding-right: 16px;
    }
    .unreadEmailCount {
        padding-left: 16px;
    }
`,Pe=He.i`
    .actionButton {
        background-color: ${Ie.s55};
        height: 32px;
        width: 100%;
    }
    .actionButton:hover {
        background-color: ${Ie.XiB};
    }
    .actionButton::part(content) {
        width: 100%;
    }
    .actionButton::part(control) {
        padding: 0;
    }
    .actionButton::part(start) {
        margin: 0;
    }
    .actionButtonContainer {
        padding: 6px 2px;
    }
    .actionButtonIcon {
        padding: 0 12px 0 16px;
    }
    .actionButtonMessage {
        text-align: start;
    }
    .control {
        width: 100%;
        padding: 0;
    }
    .dateLine {
        align-self: center;
        color: ${Ie.Q5n};
        font-size: 12px;
        grid-row: 3;
        justify-self: end;
    }
    .divider {
        border-color: ${Ie.akT};
        margin: 0;
    }
    .emailButton {
        background-color: ${Ie.s55};
        height: ${"70px"};
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .emailButton:hover {
        background-color: ${Ie.XiB};
    }
    .emailButton::part(content) {
        width: 100%;
    }
    .emailButton::part(control) {
        padding: 0;
    }
    .emailButtonAfterContent {
        display: grid;
        grid-column: 3;
        grid-row: 2 / span 2;
        grid-template-rows: 15% 35% 35% 15%;
        height: 70px;
        width: 100%;
    }
    .emailButtonContent {
        align-items: center;
        display: grid;
        grid-row: 2 / span 2;
        grid-template-columns: 10% 65% 25%;
        grid-template-rows: 15% 35% 35% 15%;
        width: 100%;
    }
    .emailIcon {
        color: ${Ie.goi};
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
    }
    .emailIcon_unread {
        opacity: 0;
    }
    .emailPreview {
        z-index: ${Be.K.Flyout.toFixed()};
    }
    .emailPreviewContent {
        background-color: ${Ie.s55};
    }
    .freButton {
        width: 135px;
    }
    .freButtonContainer {
        text-align: center;
    }
    .freContainer {
        padding: 16px;
    }
    .freSVG_line {
        fill: ${Ie.CHi};
    }
    .freText {
        font-size: 14px;
        padding-bottom: 14px;
        user-select: none;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .fromLine {
        grid-row: 2;
        overflow: hidden;
        text-align: start;
        text-overflow: ellipsis;
        width: inherit;
    }
    .fromLine_unread {
        font-weight: bold;
    }
    .inbox {
        background-color: ${Ie.$Bw};
        min-height: 210px;
        width: 100%;
    }
    .inboxStatus {
        color: ${Ie.Q5n};
        display: table-cell;
        font-size: 12px;
        text-align: center;
        user-select: none;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .loading {
        display: table-cell;
        text-align: center;
        user-select: none;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .otherLine_unread {
        color: ${Ie.goi} !important;
        font-weight: bold;
    }
    .profile {
        align-self: center;
        border-radius: 50%;
        grid-column: 1;
        height: 24px;
        justify-self: center;
        width: 24px;
    }
    .status {
        align-self: center;
        grid-row: 2;
        justify-self: end;
    }
    .subjectLine {
        color: ${Ie.Q5n};
        grid-column: 2;
        grid-row: 3;
        overflow: hidden;
        text-align: start;
        text-overflow: ellipsis;
        width: inherit;
    }
    .title {
        align-self: center;
        cursor: default;
        font-weight: bold;
        grid-column: 2;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .title_noProfile {
        grid-column: 1;
        margin: unset;
    }
    .topBar {
        background-color: ${Ie.s55};
        display: grid;
        grid-template-columns: 64px 60% 20%;
        height: 46px;
    }
    .topBar_noProfile {
        grid-template-columns: 80% 20%;
    }
    .unreadEmailCount {
        align-self: center;
        color: ${Ie.goi};
        cursor: default;
        font-weight: bold;
        grid-column: 3;
        justify-self: end;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .unreadEmailCount_noProfile {
        grid-column: 2;
    }
    .updatedStatus {
        color: ${Ie.Q5n};
        font-size: 12px;
        text-align: center;
        user-select: none;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .updatedStatusSection {
        align-items: center;
        background-color: ${Ie.$Bw};
        display: flex;
        height: 32px;
        justify-content: center;
        width: 100%;
    }
`.withBehaviors(new ke.O(Ne,Ue));var Fe=n(58952),qe=n(18864);n(29881).m;const Ve=Se.d`
    <div class="freContainer">
        <div class="freText">${e=>e.actionButtons.text}</div>
        <div class="freButtonContainer">
            <fluent-button
                appearance="accent"
                class="freButton freAccentButton"
                ?disabled=${e=>!(0,ye.isNullOrUndefined)(e.actionButtons.notSignedInMessage)}
                title=${e=>e.actionButtons.notSignedInMessage}
                ${(0,Fe.i)("actionButtonRef_first")}
                data-t="${e=>e.actionButtons.accentButtonTelemetryTag}"
                @click="${e=>e.actionButtons.accentButtonOnClick()}"
            >
                ${e=>e.actionButtons.accentButtonText}
            </fluent-button>
            <fluent-button
                appearance="outline"
                class="freButton"
                ${(0,Fe.i)("actionButtonRef_second")}
                data-t="${e=>e.actionButtons.outlineButtonTelemetryTag}"
                @click="${e=>e.actionButtons.outlineButtonOnClick()}"
            >
                ${e=>e.actionButtons.outlineButtonText}
            </fluent-button>
        </div>
    </div>
`,je=Se.d`
    <div class="actionButtonContainer">
        <fluent-anchor
            appearance="stealth"
            class="actionButton"
            ?disabled=${e=>e.renderState===be.Error}
            href=${e=>e.actionButtons.newEmailButtonHref}
            ${(0,Fe.i)("actionButtonRef_first")}
            data-t="${e=>e.actionButtons.newEmailButtonTelemetryTag}"
        >
            <svg class="actionButtonIcon" slot="start">
                <mask
                    id="mask0"
                    mask-type="alpha"
                    maskUnits="userSpaceOnUse"
                    x="0"
                    y="0"
                    width="16"
                    height="16"
                >
                    <path
                        d="M16 3V13H0V3H16ZM1.11719 4L8 7.44531L14.8828 4H1.11719ZM15 12V5.0625L8 8.55469L1 5.0625V12H15Z"
                    />
                </mask>
                <g mask="url(#mask0)">
                    <rect x="-2" y="-2" width="20" height="20"/>
                </g>
            </svg>
            <div class="actionButtonMessage">
                ${e=>e.actionButtons.newEmailButtonText}
            </div>
        </fluent-anchor>
        <fluent-anchor
            appearance="stealth"
            class="actionButton"
            ?disabled=${e=>e.renderState===be.Error}
            href=${e=>e.actionButtons.newEventButtonHref}
            ${(0,Fe.i)("actionButtonRef_second")}
            data-t="${e=>e.actionButtons.newEventButtonTelemetryTag}"
        >
            <svg class="actionButtonIcon" slot="start">
                <path
                    d="M13 1H16V15H0V1H3V0H4V1H12V0H13V1ZM3 2H1V4H15V2H13V3H12V2H4V3H3V2ZM1 14H15V5H1V14ZM8.5 6V9H11.5V10H8.5V13H7.5V10H4.5V9H7.5V6H8.5Z"/>
            </svg>
            <div class="actionButtonMessage">
                ${e=>e.actionButtons.newEventButtonText}
            </div>
        </fluent-anchor>
    </div>
`,ze=Se.d`
    ${e=>e.renderState===be.FRE?Ve:je}
`,We=Se.d`
    <svg
        class="freSVG"
        fill="none"
        height="214"
        viewBox="0 0 320 214"
        width="320"
        xmlns="http://www.w3.org/2000/svg"
    >
        <rect class="freSVG_line" y="213" width="320" height="1" style="fill-opacity: 0.09;"/>
        <rect class="freSVG_line" y="142" width="320" height="1" style="fill-opacity: 0.09;"/>
        <rect class="freSVG_line" y="71" width="320" height="1" style="fill-opacity: 0.09;"/>
        <rect class="freSVG_line" width="320" height="1" style="fill-opacity: 0.09;"/>
        <rect y="1" width="320" height="70"/>
        <rect class="freSVG_line" opacity="0.48" x="29" y="20" width="200" height="8" rx="4" style="fill-opacity: 0.55;"/>
        <rect class="freSVG_line" opacity="0.24" x="29" y="44" width="100" height="8" rx="4" style="fill-opacity: 0.55;"/>
        <path style="fill: var(--accent-foreground-rest);" d="M11 24C11 22.3431 12.3431 21 14 21C15.6569 21 17 22.3431 17 24C17 25.6569 15.6569 27 14 27C12.3431 27 11 25.6569 11 24Z"/>
        <rect y="72" width="320" height="70"/>
        <rect class="freSVG_line" opacity="0.48" x="29" y="91" width="200" height="8" rx="4" style="fill-opacity: 0.46;"/>
        <rect class="freSVG_line" opacity="0.24" x="29" y="115" width="100" height="8" rx="4" style="fill-opacity: 0.23;"/>
        <path style="fill: var(--accent-foreground-rest);" d="M11 95C11 93.3431 12.3431 92 14 92C15.6569 92 17 93.3431 17 95C17 96.6569 15.6569 98 14 98C12.3431 98 11 96.6569 11 95Z" style="fill-opacity: 0.46;"/>
        <rect y="143" width="320" height="70"/>
        <rect class="freSVG_line" opacity="0.48" x="29" y="162" width="200" height="8" rx="4" style="fill-opacity: 0.26;"/>
        <rect class="freSVG_line" opacity="0.24" x="29" y="186" width="100" height="8" rx="4" style="fill-opacity: 0.13;"/>
        <path style="fill: var(--accent-foreground-rest);" d="M11 166C11 164.343 12.3431 163 14 163C15.6569 163 17 164.343 17 166C17 167.657 15.6569 169 14 169C12.3431 169 11 167.657 11 166Z" style="fill-opacity: 0.26;"/>
    </svg>
`,Xe=Se.d`
    <svg
        class="statusIcon"
        height="10"
        viewBox="0 0 5 10"
        width="5"
    >
        <path d="M4.5 1.875V7.8125C4.5 8.11523 4.44141 8.40007 4.32422 8.66699C4.21029 8.93066 4.05404 9.16178 3.85547 9.36035C3.66016 9.55566 3.42904 9.71191 3.16211 9.8291C2.89844 9.94303 2.61523 10 2.3125 10C2.00977 10 1.72493 9.94303 1.45801 9.8291C1.19434 9.71191 0.963216 9.55566 0.764648 9.36035C0.569336 9.16178 0.413086 8.93066 0.295898 8.66699C0.181966 8.40007 0.125 8.11523 0.125 7.8125V1.5625C0.125 1.34766 0.16569 1.14583 0.24707 0.957031C0.331706 0.768229 0.44401 0.603841 0.583984 0.463867C0.727214 0.320638 0.893229 0.208333 1.08203 0.126953C1.27083 0.0423177 1.47266 0 1.6875 0C1.90234 0 2.10417 0.0423177 2.29297 0.126953C2.48177 0.208333 2.64616 0.320638 2.78613 0.463867C2.92936 0.603841 3.04167 0.768229 3.12305 0.957031C3.20768 1.14583 3.25 1.34766 3.25 1.5625V7.8125C3.25 7.94271 3.22559 8.06478 3.17676 8.17871C3.12793 8.29264 3.0612 8.39193 2.97656 8.47656C2.89193 8.5612 2.79264 8.62793 2.67871 8.67676C2.56478 8.72559 2.44271 8.75 2.3125 8.75C2.18229 8.75 2.06022 8.72559 1.94629 8.67676C1.83236 8.62793 1.73307 8.5612 1.64844 8.47656C1.5638 8.39193 1.49707 8.29264 1.44824 8.17871C1.39941 8.06478 1.375 7.94271 1.375 7.8125V2.5H2V7.8125C2 7.89714 2.03092 7.97038 2.09277 8.03223C2.15462 8.09408 2.22786 8.125 2.3125 8.125C2.39714 8.125 2.47038 8.09408 2.53223 8.03223C2.59408 7.97038 2.625 7.89714 2.625 7.8125V1.5625C2.625 1.43229 2.60059 1.31022 2.55176 1.19629C2.50293 1.08236 2.4362 0.983073 2.35156 0.898438C2.26693 0.813802 2.16764 0.74707 2.05371 0.698242C1.93978 0.649414 1.81771 0.625 1.6875 0.625C1.55729 0.625 1.43522 0.649414 1.32129 0.698242C1.20736 0.74707 1.10807 0.813802 1.02344 0.898438C0.938802 0.983073 0.87207 1.08236 0.823242 1.19629C0.774414 1.31022 0.75 1.43229 0.75 1.5625V7.8125C0.75 8.02734 0.79069 8.22917 0.87207 8.41797C0.956706 8.60677 1.06901 8.77279 1.20898 8.91602C1.35221 9.05599 1.51823 9.16829 1.70703 9.25293C1.89583 9.33431 2.09766 9.375 2.3125 9.375C2.52734 9.375 2.72917 9.33431 2.91797 9.25293C3.10677 9.16829 3.27116 9.05599 3.41113 8.91602C3.55436 8.77279 3.66667 8.60677 3.74805 8.41797C3.83268 8.22917 3.875 8.02734 3.875 7.8125V1.875H4.5Z"/>
    </svg>
`,Ge=Se.d`
    <svg
        class="statusIcon"
        height="10"
        viewBox="0 0 9 10"
        width="9"
    >
        <path d="M8.375 1.25V6.25H4V5H0.875V10H0.25V0H4.625V1.25H8.375ZM4 4.375V0.625H0.875V4.375H4ZM7.75 1.875H4.625V5.625H7.75V1.875Z"/>
    </svg>
`,Qe=Se.d`
    <svg
        class="statusIcon"
        height="6"
        viewBox="0 0 8 6"
        width="8"
    >
        <path d="M7.96973 0.719727L2.75 5.94434L0.0302734 3.21973L0.469727 2.78027L2.75 5.05566L7.53027 0.280273L7.96973 0.719727Z"/>
    </svg>
`,Ye=Se.d`
    <svg
        class="statusIcon"
        height="10"
        viewBox="0 0 2 10"
        width="2"
    >
        <path d="M1.625 6.875H0.375V0.625H1.625V6.875ZM1.625 9.375H0.375V8.125H1.625V9.375Z"/>
    </svg>
`,Ze=Se.d`
    <svg
        class="statusIcon"
        height="10"
        viewBox="0 0 10 10"
        width="10"
    >
        <path d="M9.59473 5.37598L5 9.9707L0.405273 5.37598L0.844727 4.93652L4.6875 8.7793V0H5.3125V8.7793L9.15527 4.93652L9.59473 5.37598Z"/>
    </svg>
`,Ke=Se.d`
    <svg
        class="statusIcon"
        height="10"
        viewBox="0 0 10 10"
        width="10"
    >
        <path d="M8.125 0.625H10V9.375H0V0.625H1.875V0H2.5V0.625H7.5V0H8.125V0.625ZM1.875 1.25H0.625V2.5H9.375V1.25H8.125V1.875H7.5V1.25H2.5V1.875H1.875V1.25ZM0.625 8.75H9.375V3.125H0.625V8.75Z"/>
    </svg>
`,Je=Se.d`
    <div
        class="inbox"
        role="list"
        style="overflow-y: ${e=>e.inbox.messages.length>e.maxEmailsDisplayed?"scroll":"unset"}"
    >
        <fluent-divider class="divider"></fluent-divider>
        ${(0,qe.rx)((e=>e.inbox.messages),Se.d`
            <fluent-anchor
                aria-label=${(e,t)=>t.parent.generateEmailButtonAriaLabel&&t.parent.generateEmailButtonAriaLabel(t.parent.inbox.accessibility,e)}
                appearance="stealth"
                class="emailButton"
                href=${e=>e.webLink}
                role="listitem"
                ${(e,t)=>0===t.index?(0,Fe.i)("emailButtonRef_first"):null}
                data-t="${e=>e.telemetryTag}"
            >
                <div class="emailButtonContent">
                    <svg
                        class="emailIcon  ${e=>e.isRead?"emailIcon_unread":""}"
                        height="6"
                        viewBox="0 0 6 6"
                        width="6"
                    >
                        <path d="M0 3C0 1.34315 1.34315 0 3 0C4.65685 0 6 1.34315 6 3C6 4.65685 4.65685 6 3 6C1.34315 6 0 4.65685 0 3Z"/>
                    </svg>
                    <div class="fromLine ${e=>e.isRead?"":"fromLine_unread"}">
                        ${e=>e.from}
                    </div>
                    <div
                        class="subjectLine ${e=>e.isRead?"":"otherLine_unread"}"
                    >
                        ${e=>e.subject}
                    </div>
                    <div class="emailButtonAfterContent">
                        <div class="status">
                            ${(0,Oe.g)((e=>e.hasAttachments),Xe)}
                            ${(0,Oe.g)((e=>e.flag===Ce.Flagged),Ge)}
                            ${(0,Oe.g)((e=>e.flag===Ce.Complete),Qe)}
                            ${(0,Oe.g)((e=>e.importance===Te.High),Ye)}
                            ${(0,Oe.g)((e=>e.importance===Te.Low),Ze)}
                            ${(0,Oe.g)((e=>e.isEvent),Ke)}
                        </div>
                        <div
                            class="dateLine ${e=>e.isRead?"":"otherLine_unread"}"
                        >
                                ${e=>e.receivedDateTime}
                        </div>
                    </div>
                </div>
            </fluent-anchor>
            <fluent-divider class="divider"></fluent-divider>
        `)}
    </div>
`,et=Se.d`
    <div
        class="inbox"
        style="display: table;"
    >
        <fluent-progress-ring class="loading"></fluent-progress-ring>
    </div>
`,tt=Se.d`
    <div
        class="inbox"
        style="display: table;"
    >
        <div class="inboxStatus">
            ${e=>e.inboxStatusMessage}
        </div>
    </div>
`,nt=Se.d`
    ${e=>e.renderState===be.FRE?We:e.renderState===be.Normal?Je:e.renderState===be.Error?tt:et}
`,it=Se.d`
    <div
        class="topBar ${e=>(0,ye.isNullOrUndefined)(e.profileImageSrc)?"topBar_noProfile":""}"
    >
        ${(0,Oe.g)((e=>e.profileImageSrc),Se.d`
            <image
                class="profile"
                src=${e=>e.profileImageSrc}
            />
        `)}
        <div class="title ${e=>(0,ye.isNullOrUndefined)(e.profileImageSrc)?"title_noProfile":""}">
            ${e=>e.heading}
        </div>
        ${(0,Oe.g)((e=>e.unreadMessageCount),Se.d`
            <div class="unreadEmailCount ${e=>(0,ye.isNullOrUndefined)(e.profileImageSrc)?"unreadEmailCount_noProfile":""}">
                ${e=>e.unreadMessageCount}
            </div>
        `)}
    </div>
`,ot=Se.d`
    <div class="updatedStatusSection">
        <div class="updatedStatus">
            ${e=>e.updatedStatus}
        </div>
    </div>
`,rt=Se.d`
    <hover-flyout
        class="emailPreview"
        :flyoutWidth=${e=>e.wrapperComponent.flyoutWidth}
        :onClosed=${e=>e.wrapperComponent.onClosed}
        :requestOpen=${e=>e.wrapperComponent.requestOpen}
        :targetRect=${e=>e.wrapperComponent.targetRect}
    >
        <div
            class="emailPreviewContent"
            @keydown=${(e,t)=>e.handleKeyDown&&e.handleKeyDown(t.event)}
        >
            ${it}
            ${nt}
            ${ze}
            ${(0,Oe.g)((e=>e.renderState!==be.FRE),ot)}
        </div>
    </hover-flyout>
`,st=Se.d`
    ${(0,Oe.g)((e=>e.wrapperComponent),rt)}
`;let at=class extends Me{};at=(0,c.gn)([(0,_e.M)({name:"email-preview",template:st,styles:Pe})],at),(0,Re.z)().withShadowRootMode("closed").withElementDisambiguation((()=>De.h.ignoreDuplicate)).register((0,$e.QT)(),(0,Le.ue)(),(0,Ae.le)());const dt=Se.d`
    <email-preview
        :actionButtons="${e=>({accentButtonText:e.config.localizedStrings.enableButtonText,accentButtonOnClick:e.enableHandler,accentButtonTelemetryTag:e.telemetryObject&&e.telemetryObject.addOrUpdateChild({name:"Turn On Preview",content:{headline:"Turn On Preview"},behavior:Ee.wu.TurnOn}).getMetadataTag(),notSignedInMessage:e.isUserSignedIn?null:e.config.localizedStrings.freMessage,text:e.config.localizedStrings.freMessage,outlineButtonText:e.config.localizedStrings.noThanksButtonText,outlineButtonOnClick:e.noThanksHandler,outlineButtonTelemetryTag:e.telemetryObject&&e.telemetryObject.addOrUpdateChild({name:"Turn Off Preview",content:{headline:"Turn Off Preview"},behavior:Ee.wu.TurnOff}).getMetadataTag()})}"
        focusTop="${e=>e.focusTop}"
        :heading="${e=>e.config.localizedStrings.title}"
        :inbox="${e=>{}}"
        :maxEmailsDisplayed="${e=>e.config.maxMessageDisplayedCount||3}"
        :renderHoverComponent="${e=>e.renderHoverComponent}"
        :renderState="${e=>e.renderState}"
        :updatedStatus="${e=>""}"
        :wrapperComponent="${e=>({flyoutWidth:e.config.width||f,onClosed:e.flyoutCloseCallback,requestOpen:e.requestOpen,targetRect:e.targetRect})}"
    ></email-preview>
`,lt=Se.d`
    <email-preview
        :actionButtons="${e=>({newEmailButtonText:e.config.localizedStrings.newEmailButtonText,newEmailButtonHref:"#",newEventButtonText:e.config.localizedStrings.newEventButtonText,newEventButtonHref:"#"})}"
        focusTop="${e=>e.focusTop}"
        :heading="${e=>e.config.localizedStrings.title}"
        :inbox="${e=>{}}"
        :inboxStatusMessage="${e=>e.config.localizedStrings.errorMessage}"
        :maxEmailsDisplayed="${e=>e.config.maxMessageDisplayedCount||3}"
        :profileImageSrc="${e=>e.profileImageSrc||null}"
        :renderState="${e=>e.renderState}"
        :unreadMessageCount="${e=>null}"
        :updatedStatus="${e=>""}"
        :wrapperComponent="${e=>({flyoutWidth:e.config.width||f,onClosed:e.flyoutCloseCallback,requestOpen:e.requestOpen,targetRect:e.targetRect})}"
    ></email-preview>
`,ct=Se.d`
    <email-preview
        :actionButtons="${e=>({newEmailButtonText:e.config.localizedStrings.newEmailButtonText,newEmailButtonHref:e.config.newEmailButtonUrl,newEmailButtonTelemetryTag:e.telemetryObject&&e.telemetryObject.addOrUpdateChild({name:"New Email",content:{headline:"New Email"},behavior:Ee.wu.Navigate}).getMetadataTag(),newEventButtonText:e.config.localizedStrings.newEventButtonText,newEventButtonHref:e.config.newEventButtonUrl,newEventButtonTelemetryTag:e.telemetryObject&&e.telemetryObject.addOrUpdateChild({name:"New Event",content:{headline:"New Event"},behavior:Ee.wu.Navigate}).getMetadataTag()})}"
        focusTop="${e=>e.focusTop}"
        :heading="${e=>e.config.localizedStrings.title}"
        :inbox="${e=>{}}"
        :maxEmailsDisplayed="${e=>e.config.maxMessageDisplayedCount||3}"
        :profileImageSrc="${e=>e.profileImageSrc||null}"
        :renderState="${e=>e.renderState}"
        :unreadMessageCount="${e=>null}"
        :updatedStatus="${e=>""}"
        :wrapperComponent="${e=>({flyoutWidth:e.config.width||f,onClosed:e.flyoutCloseCallback,requestOpen:e.requestOpen,targetRect:e.targetRect})}"
    ></email-preview>
`,ut=Se.d`
    <email-preview
        :actionButtons="${e=>({newEmailButtonText:e.config.localizedStrings.newEmailButtonText,newEmailButtonHref:e.config.newEmailButtonUrl,newEmailButtonTelemetryTag:e.telemetryObject&&e.telemetryObject.addOrUpdateChild({name:"New Email",content:{headline:"New Email"},behavior:Ee.wu.Navigate}).getMetadataTag(),newEventButtonText:e.config.localizedStrings.newEventButtonText,newEventButtonHref:e.config.newEventButtonUrl,newEventButtonTelemetryTag:e.telemetryObject&&e.telemetryObject.addOrUpdateChild({name:"New Event",content:{headline:"New Event"},behavior:Ee.wu.Navigate}).getMetadataTag()})}"
        focusTop="${e=>e.focusTop}"
        :heading="${e=>e.config.localizedStrings.title}"
        :inbox="${e=>({accessibility:{event:e.config.localizedStrings.accessibility.event,flagStatus_complete:e.config.localizedStrings.accessibility.flagStatus_complete,flagStatus_flagged:e.config.localizedStrings.accessibility.flagStatus_flagged,flagStatus_notFlagged:e.config.localizedStrings.accessibility.flagStatus_notFlagged,importanceLow:e.config.localizedStrings.accessibility.importanceLow,importanceHigh:e.config.localizedStrings.accessibility.importanceHigh,unread:e.config.localizedStrings.accessibility.unread,withAttachments:e.config.localizedStrings.accessibility.withAttachments},messages:e.emailMessages})}"
        :maxEmailsDisplayed="${e=>e.config.maxMessageDisplayedCount||3}"
        :profileImageSrc="${e=>e.profileImageSrc||null}"
        :renderState="${e=>e.renderState}"
        :unreadMessageCount="${e=>e.unreadCount}"
        :updatedStatus="${e=>e.lastUpdatedMessage}"
        :wrapperComponent="${e=>({flyoutWidth:e.config.width||f,onClosed:e.flyoutCloseCallback,requestOpen:e.requestOpen,targetRect:e.targetRect})}"
    ></email-preview>
`,ht=Se.d`
    ${e=>{switch(e.renderState){case v.FRE:return dt;case v.Error:return lt;case v.Loading:return ct;case v.Normal:return ut;default:return lt}}}
`,pt=Se.d`
    ${(0,Oe.g)((e=>e.targetRect&&e.renderState&&e.renderHoverComponent),ht)}
`,gt={experienceConfigSchema:d}},64488:function(e,t,n){n.d(t,{T:function(){return o}});var i=n(33379);let o=!1;(0,i.N)()&&(window.addEventListener("keydown",(()=>{o=!0})),window.addEventListener("mousedown",(()=>{o=!1})))},29881:function(e,t,n){n.d(t,{m:function(){return p}});var i=n(33940),o=n(89346),r=n(87697),s=n(33832),a=n(64488);const d=16;class l extends o.H{constructor(){super(...arguments),this.isTransparent=!1,this.handleResize=()=>{this.onClosed(!0)},this.handleScroll=()=>{this.onClosed(!0)}}get styles(){if(!this.targetRect)return;const e=this.targetRect.top+this.targetRect.bottom<window.innerHeight;let t,n,i,o=Math.round((this.targetRect.left+this.targetRect.right-this.flyoutWidth)/2);o<d?o=d:o>innerWidth-d-this.flyoutWidth&&(o=innerWidth-d-this.flyoutWidth);const r=o+"px",s=this.flyoutWidth+"px";if(e){const e=this.targetRect.bottom+0;i=e+"px",n=window.innerHeight-e-d+"px"}else{t=window.innerHeight-this.targetRect.top+0+"px",n=this.targetRect.top-0-d+"px"}return`bottom: ${t}; left: ${r}; max-height: ${n};  top: ${i}; width: ${s};`}requestOpenChanged(e,t){t?(this.cancelCloseIfNeeded(),this.cancelStrayMouseTimerIfNeeded()):this.startStrayMouseTimerIfNeeded()}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.handleScroll),this.isTransparent=!0}disconnectedCallback(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll),this.cancelStrayMouseTimerIfNeeded(),this.cancelCloseIfNeeded()}handleBlur(e){this.cancelHide||(this.focusInFlyout=!1,this.startStrayMouseTimerIfNeeded())}handleFocus(e){a.T&&(this.focusInFlyout=!0,this.cancelCloseIfNeeded(),this.cancelStrayMouseTimerIfNeeded())}handleKeyDown(e){e.key===s.CX&&this.onClosed(!0)}handleMouseEnter(e){this.mouseOverFlyout=!0,this.cancelCloseIfNeeded(),this.cancelStrayMouseTimerIfNeeded()}handleMouseLeave(e){this.cancelHide||(this.mouseOverFlyout=!1,this.startStrayMouseTimerIfNeeded())}cancelCloseIfNeeded(){this.closeAnimationTimerHandle&&clearTimeout(this.closeAnimationTimerHandle),this.isTransparent||(this.isTransparent=!0)}cancelStrayMouseTimerIfNeeded(){this.strayMouseTimerHandle&&clearTimeout(this.strayMouseTimerHandle)}startStrayMouseTimerIfNeeded(){this.strayMouseTimerHandle=setTimeout((()=>{this.mouseOverFlyout||this.focusInFlyout||(this.startClosing(),this.strayMouseTimerHandle=null)}),200)}startClosing(){this.closeAnimationTimerHandle=setTimeout((()=>{this.onClosed(!1)}),200),this.isTransparent=!1}}(0,i.gn)([r.LO],l.prototype,"flyoutWidth",void 0),(0,i.gn)([r.LO],l.prototype,"isTransparent",void 0),(0,i.gn)([r.LO],l.prototype,"onClosed",void 0),(0,i.gn)([r.LO],l.prototype,"requestOpen",void 0),(0,i.gn)([r.LO],l.prototype,"targetRect",void 0),(0,i.gn)([r.LO],l.prototype,"cancelHide",void 0),(0,i.gn)([r.lk],l.prototype,"styles",null);var c=n(64434);const u=n(53046).i`
    .hoverFlyout {
        box-shadow: 2px 5px 20px 0px rgba(0,0,0,0.22), 0px 13px 13px rgba(0,0,0,0.18);
        border-radius: 4px;
        opacity: 1;
        overflow: auto;
        position: fixed;
        transition: opacity .2s ease-in;
        opacity:1;
        z-index: ${c.K.Flyout.toString()}
    }
    .hoverFlyout.hide{
        opacity: 0;
    }
`;const h=n(39181).d`
    <div
        @blur=${(e,t)=>e.handleBlur(t.event)}
        @focusin=${(e,t)=>e.handleFocus(t.event)}
        @focusout=${(e,t)=>e.handleBlur(t.event)}
        @keydown=${(e,t)=>e.handleKeyDown(t.event)}
        @mouseenter=${(e,t)=>e.handleMouseEnter(t.event)}
        @mouseleave=${(e,t)=>e.handleMouseLeave(t.event)}
        class="${e=>e.isTransparent?"hoverFlyout":"hoverFlyout hide"}"
        part="contentWrapper"
        style="${e=>e.styles}"
    >
        <slot></slot>
    </div>
`;let p=class extends l{};p=(0,i.gn)([(0,o.M)({name:"hover-flyout",template:h,styles:u})],p)},38247:function(e,t,n){n.d(t,{QT:function(){return u}});var i=n(33940),o=n(28090),r=n(65620),s=n(45169),a=n(53046),d=n(45597),l=n(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,i.gn)([r.Lj,(0,i.w6)("design:type",String)],c.prototype,"appearance",void 0);const u=c.compose({baseName:"anchor",baseClass:o.e,template:s.g,styles:(e,t)=>a.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}})},81089:function(e,t,n){n.d(t,{le:function(){return p}});var i=n(39181),o=n(13988);var r=n(37268),s=n(53046),a=n(67020),d=n(40082),l=n(87839),c=n(2658),u=n(32804);class h extends r.B{}const p=h.compose({baseName:"progress-ring",template:(e,t)=>i.d`
    <template
        role="progressbar"
        aria-valuenow="${e=>e.value}"
        aria-valuemin="${e=>e.min}"
        aria-valuemax="${e=>e.max}"
        class="${e=>e.paused?"paused":""}"
    >
        ${(0,o.g)((e=>"number"==typeof e.value),i.d`
                <svg
                    class="progress"
                    part="progress"
                    viewBox="0 0 16 16"
                    slot="determinate"
                >
                    <circle
                        class="background"
                        part="background"
                        cx="8px"
                        cy="8px"
                        r="7px"
                    ></circle>
                    <circle
                        class="determinate"
                        part="determinate"
                        style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px"
                        cx="8px"
                        cy="8px"
                        r="7px"
                    ></circle>
                </svg>
            `)}
        ${(0,o.g)((e=>"number"!=typeof e.value),i.d`
                <slot name="indeterminate" slot="indeterminate">
                    ${t.indeterminateIndicator||""}
                </slot>
            `)}
    </template>
`,styles:(e,t)=>s.i`
        ${(0,a.j)("flex")} :host {
            align-items: center;
            outline: none;
            height: calc(${c.i} * 1px);
            width: calc(${c.i} * 1px);
            margin: calc(${c.i} * 1px) 0;
        }

        .progress {
            height: 100%;
            width: 100%;
        }

        .background {
            stroke: ${u.wFS};
            fill: none;
            stroke-width: 2px;
        }

        .determinate {
            stroke: ${u.Avx};
            fill: none;
            stroke-width: 2px;
            stroke-linecap: round;
            transform-origin: 50% 50%;
            transform: rotate(-90deg);
            transition: all 0.2s ease-in-out;
        }

        .indeterminate-indicator-1 {
            stroke: ${u.Avx};
            fill: none;
            stroke-width: 2px;
            stroke-linecap: round;
            transform-origin: 50% 50%;
            transform: rotate(-90deg);
            transition: all 0.2s ease-in-out;
            animation: spin-infinite 2s linear infinite;
        }

        :host(.paused) .indeterminate-indicator-1 {
            animation-play-state: paused;
            stroke: ${u.wFS};
        }

        :host(.paused) .determinate {
            stroke: ${u.Q5n};
        }

        @keyframes spin-infinite {
            0% {
                stroke-dasharray: 0.01px 43.97px;
                transform: rotate(0deg);
            }
            50% {
                stroke-dasharray: 21.99px 21.99px;
                transform: rotate(450deg);
            }
            100% {
                stroke-dasharray: 0.01px 43.97px;
                transform: rotate(1080deg);
            }
        }
    `.withBehaviors((0,d.vF)(s.i`
                .indeterminate-indicator-1,
                .determinate {
                    stroke: ${l.H.FieldText};
                }
                .background {
                    stroke: ${l.H.Field};
                }
                :host(.paused) .indeterminate-indicator-1 {
                    stroke: ${l.H.Field};
                }
                :host(.paused) .determinate {
                    stroke: ${l.H.GrayText};
                }
            `)),indeterminateIndicator:'\n    <svg class="progress" part="progress" viewBox="0 0 16 16">\n        <circle\n            class="background"\n            part="background"\n            cx="8px"\n            cy="8px"\n            r="7px"\n        ></circle>\n        <circle\n            class="indeterminate-indicator-1"\n            part="indeterminate-indicator-1"\n            cx="8px"\n            cy="8px"\n            r="7px"\n        ></circle>\n    </svg>\n  '})},28090:function(e,t,n){n.d(t,{e:function(){return c},m:function(){return u}});var i=n(20005),o=n(65620),r=n(87697),s=n(48839),a=n(7775),d=n(51208),l=n(86076);class c extends s.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,i.gn)([o.Lj],c.prototype,"download",void 0),(0,i.gn)([o.Lj],c.prototype,"href",void 0),(0,i.gn)([o.Lj],c.prototype,"hreflang",void 0),(0,i.gn)([o.Lj],c.prototype,"ping",void 0),(0,i.gn)([o.Lj],c.prototype,"referrerpolicy",void 0),(0,i.gn)([o.Lj],c.prototype,"rel",void 0),(0,i.gn)([o.Lj],c.prototype,"target",void 0),(0,i.gn)([o.Lj],c.prototype,"type",void 0),(0,i.gn)([r.LO],c.prototype,"defaultSlottedContent",void 0);class u{}(0,i.gn)([(0,o.Lj)({attribute:"aria-expanded"})],u.prototype,"ariaExpanded",void 0),(0,l.e)(u,a.v),(0,l.e)(c,d.hW,u)},45169:function(e,t,n){n.d(t,{g:function(){return a}});var i=n(39181),o=n(58952),r=n(90960),s=n(51208);const a=(e,t)=>i.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,s.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,r.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,s.LC)(e,t)}
    </a>
`},37268:function(e,t,n){n.d(t,{B:function(){return a}});var i=n(20005),o=n(65620),r=n(87697),s=n(48839);class a extends s.I{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,n="number"==typeof this.value?this.value:0,i=t-e;this.percentComplete=0===i?0:Math.fround((n-e)/i*100)}}(0,i.gn)([(0,o.Lj)({converter:o.Id})],a.prototype,"value",void 0),(0,i.gn)([(0,o.Lj)({converter:o.Id})],a.prototype,"min",void 0),(0,i.gn)([(0,o.Lj)({converter:o.Id})],a.prototype,"max",void 0),(0,i.gn)([(0,o.Lj)({mode:"boolean"})],a.prototype,"paused",void 0),(0,i.gn)([r.LO],a.prototype,"percentComplete",void 0)}}]);A
Eo