otype,"pinned",void 0),(0,i.gn)([a.LO],s.prototype,"data",void 0),(0,i.gn)([a.LO],s.prototype,"headerTelemetryTag",void 0),(0,i.gn)([a.LO],s.prototype,"seeMoreTelemetryTag",void 0);var d=n(67020),c=n(56201),l=n(40082),u=n(53046),h=n(15933),m=n(32804);var g=n(39181),p=n(13988);const f=s.compose({baseName:"structured-data-card",template:(e,t)=>g.d`
    <div class="title" part="title">
        ${(0,p.g)((e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.titleContent}),g.d`
                <a
                    class="title-link"
                    part="title-link"
                    href="${e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.link}}"
                    target=${e=>e.target}
                    title="${e=>{var t,n,i;return null!==(n=null===(t=e.data)||void 0===t?void 0:t.titleContentHint)&&void 0!==n?n:null===(i=e.data)||void 0===i?void 0:i.titleContent}}"
                    data-t="${e=>e.headerTelemetryTag}"
                >
                    <slot name="title-icon"></slot>
                    <div class="title-content" part="title-content">
                        ${e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.titleContent}}
                    </div>
                    <slot name="weather-pen-btn"></slot>
                    <slot name="weather-map-btn"></slot>
                </a>
            `)}
        <slot name="pin"></slot>
        <slot name="more-actions"></slot>
    </div>
    <slot></slot>
    <div class="footer" part="footer">
        <slot name="footer-start"></slot>
        ${(0,p.g)((e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.footerContent}),g.d`
                <fluent-anchor
                    class="sd-action"
                    part="sd-action"
                    appearance="${e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.actionAppearance}}"
                    href="${e=>{var t,n,i;return(null===(t=e.data)||void 0===t?void 0:t.footerLink)?null===(n=e.data)||void 0===n?void 0:n.footerLink:null===(i=e.data)||void 0===i?void 0:i.link}}"
                    target=${e=>e.target}
                    data-t="${e=>e.seeMoreTelemetryTag}"
                >
                    ${e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.footerContent}}
                </fluent-anchor>
            `)}
        <slot name="footer-end"></slot>
    </div>
`,styles:(e,t)=>u.i`
    ${(0,d.j)("grid")}:host {
        position: relative;
        width: auto;
        height: 100%;
        box-sizing: border-box;
        font-family: ${m.SVJ};
        grid-template-rows: auto 1fr auto;
        padding: var(--content-padding, 16px 0);
        outline: none;
    }

    :host([pinned]) {
        /* with this change, we are remove top padding from the card to support the grab handle extending from the title */
        padding: var(--content-padding, 0 16px 16px 16px);
    }

    :host([pinned]) .title-link {
        cursor: pointer;
    }

    :host([pinned]) .title {
        cursor: var(--cursor-styles);
        /* with this, we are only adding top padding to the title to support the grab handle in Prong 2 and removing from the card */
        padding: var(--title-padding, 16px 0 0);
    }

    .footer {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        padding: var(--footer-padding, 0 16px);
    }

    .title {
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-gap: 8px;
        padding: var(--title-padding, 0 16px);
        overflow: visible;
        align-items: center;
    }

    .title-link {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-gap: 8px;
        color: ${m.CHi};
        font-size: ${m.sNp};
        justify-content: flex-start;
        line-height: ${m.vgC};
        outline: none;
        cursor: pointer;
        text-decoration: none;
        margin-inline-end: auto;
    }

    .title-link:hover,
    .title-link:active,
    .title-link:${c.b} {
        text-decoration: underline;
    }

    .title-content {
        font-size: ${m.sNp};
        line-height: ${m.vgC};
        margin-top: 4px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-line-clamp: var(--title-max-lines, 1);
    }

    ::slotted([slot="title-icon"]) {
        margin-top: 4px;
    }

    .sd-action {
        --control-corner-radius: 16;
        grid-column: 2;
        z-index: 1;
    }

    .sd-action:not([appearance="lightweight"]) {
        font-size: ${m.sNp};
        line-height: ${m.vgC};
    }

    .sd-action::part(control) {
        width: 100%;
        padding: var(--sd-action-padding, 0px 24px);
    }

    .sd-action::part(content) {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    ::slotted([slot="more-actions"]) {
        min-width: var(--more-actions-size, 24px);
        width: var(--more-actions-size, 24px);
        height: var(--more-actions-size, 24px);
        --control-corner-radius: var(--more-actions-corner-radius, 16);
        z-index: 1;
        grid-column: 3;
        background-color: transparent;
    }

    ::slotted([slot="more-actions"]:hover) {
        background-color: ${m.QpD};
     }
     
     ::slotted([slot="more-actions"]:active) {
        background-color: ${m.sG3};
     }

    ::slotted([slot="pin"]) {
        fill: ${m.CHi};
        margin-inline-end: 6px;
    }
`.withBehaviors((0,l.vF)(u.i`
                .title-link {
                    color: ${h.H.CanvasText};
                }
                a[href] {
                    color: ${h.H.LinkText};
                }
            `))})},38247:function(e,t,n){"use strict";n.d(t,{QT:function(){return u}});var i=n(33940),r=n(28090),a=n(65620),o=n(45169),s=n(53046),d=n(45597),c=n(82636);class l extends r.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)([a.Lj,(0,i.w6)("design:type",String)],l.prototype,"appearance",void 0);const u=l.compose({baseName:"anchor",baseClass:r.e,template:o.g,styles:(e,t)=>s.i`
        ${(0,d.vN)(e,t)}
    `.withBehaviors((0,c.H)("accent",d.jQ),(0,c.H)("hypertext",d.Xu),(0,c.H)("lightweight",d.vt),(0,c.H)("outline",d.O8),(0,c.H)("stealth",d.cg)),shadowOptions:{delegatesFocus:!0}})},69298:function(e,t,n){"use strict";n.d(t,{Zb:function(){return b},F:function(){return w},ay:function(){return x}});var i=n(33940),r=n(65130),a=n(97186),o=n(22680),s=n(87697),d=n(65620),c=n(48657),l=n(32804),u=n(42355),h=n(42255),m=n(53046),g=n(67020),p=n(40082),f=n(87839),v=n(62734);const y=(e,t)=>m.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: ${l.IfY};
            color: ${l.CHi};
            border-radius: calc(${l.rSr} * 1px);
            ${v.XC}
        }

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

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

        :host {
            content-visibility: auto;
        }
    `.withBehaviors((0,p.vF)(m.i`
                :host {
                    forced-color-adjust: none;
                    background: ${f.H.Canvas};
                    box-shadow: 0 0 0 1px ${f.H.CanvasText};
                }
            `));class b extends r.Z{cardFillColorChanged(e,t){if(t){const e=(0,a.in)(t);null!==e&&(this.neutralPaletteSource=t,l.IfY.setValueFor(this,u.w.create(e.r,e.g,e.b)))}}neutralPaletteSourceChanged(e,t){if(t){const e=(0,a.in)(t),n=u.w.create(e.r,e.g,e.b);l.yvm.setValueFor(this,h.v.create(n))}}handleChange(e,t){this.cardFillColor||l.IfY.setValueFor(this,(t=>l.abR.getValueFor(t).evaluate(t,l.IfY.getValueFor(e))))}connectedCallback(){super.connectedCallback();const e=(0,o.T)(this);if(e){const t=s.y$.getNotifier(e);t.subscribe(this,"fillColor"),t.subscribe(this,"neutralPalette"),this.handleChange(e,"fillColor")}}}(0,i.gn)([(0,d.Lj)({attribute:"card-fill-color",mode:"fromView"}),(0,i.w6)("design:type",String)],b.prototype,"cardFillColor",void 0),(0,i.gn)([(0,d.Lj)({attribute:"neutral-palette-source",mode:"fromView"}),(0,i.w6)("design:type",String)],b.prototype,"neutralPaletteSource",void 0);const x=b.compose({baseName:"card",baseClass:r.Z,template:c.O,styles:y}),w=y},28090:function(e,t,n){"use strict";n.d(t,{e:function(){return l},m:function(){return u}});var i=n(20005),r=n(65620),a=n(87697),o=n(48839),s=n(7775),d=n(51208),c=n(86076);class l extends o.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)([r.Lj],l.prototype,"download",void 0),(0,i.gn)([r.Lj],l.prototype,"href",void 0),(0,i.gn)([r.Lj],l.prototype,"hreflang",void 0),(0,i.gn)([r.Lj],l.prototype,"ping",void 0),(0,i.gn)([r.Lj],l.prototype,"referrerpolicy",void 0),(0,i.gn)([r.Lj],l.prototype,"rel",void 0),(0,i.gn)([r.Lj],l.prototype,"target",void 0),(0,i.gn)([r.Lj],l.prototype,"type",void 0),(0,i.gn)([a.LO],l.prototype,"defaultSlottedContent",void 0);class u{}(0,i.gn)([(0,r.Lj)({attribute:"aria-expanded"})],u.prototype,"ariaExpanded",void 0),(0,c.e)(u,s.v),(0,c.e)(l,d.hW,u)},45169:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var i=n(39181),r=n(58952),a=n(90960),o=n(51208);const s=(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,r.i)("control")}
    >
        ${(0,o.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,a.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,o.LC)(e,t)}
    </a>
`},65130:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(48839);class r extends i.I{}},48657:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var i=n(39181);const r=(e,t)=>i.d`
    <slot></slot>
`},12697:function(e,t,n){"use strict";var i=n(84708);t.Z=function(e){return"number"==typeof e&&e==(0,i.Z)(e)}}}]);A
Eo