div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .root .message .message__date{margin-top:8px;font-size:12px;color:var(--message-date,var(--neutral-foreground-hint));margin-left:10px;white-space:nowrap}\n'],['\n:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\\\\e70d"}.ms-icon-chevron-up::before{content:"\\\\\\e70e"}.ms-icon-contact::before{content:"\\\\\\e77b"}.ms-icon-add-friend::before{content:"\\\\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\\\\eb6d"}:host .loading,:host .no-data{margin:0 20px;display:flex;justify-content:center}:host .no-data{font-style:normal;font-weight:600;font-size:14px;color:var(--font-color,#323130);line-height:19px}:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\\\\e70d"}.ms-icon-chevron-up::before{content:"\\\\\\e70e"}.ms-icon-contact::before{content:"\\\\\\e77b"}.ms-icon-add-friend::before{content:"\\\\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\\\\eb6d"}:host{position:relative;user-select:none}:host .root.compact{padding:0}:host .root .message{padding:8px 20px;display:flex;align-items:center;justify-content:space-between}:host .root .message:hover{background-color:var(--message-hover-color,var(--neutral-fill-hover));cursor:pointer}:host .root .message:last-child{margin-bottom:unset}:host .root .message .message__detail{min-width:0;line-height:normal}:host .root .message .message__detail .message__subject{color:var(--message-subject-color,var(--neutral-foreground-color));font-size:var(--message-subject-font-size,14px);font-weight:var(--message-subject-font-weight,600);line-height:var(--message-subject-line-height,20px)}:host .root .message .message__detail .message__from{font-size:var(--message-subject-font-size,12px);color:var(--message-from-color,var(--neutral-foreground-color));line-height:var(--message-subject-line-height,16px);font-weight:var(--message-subject-font-weight,400)}:host .root .message .message__detail .message__message{font-size:var(--message-subject-font-size,12px);color:var(--message-color,var(--neutral-foreground-hint));line-height:var(--message-subject-line-height,16px);font-weight:var(--message-subject-font-weight,400)}:host .root .message .message__detail>div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .root .message .message__date{margin-top:8px;font-size:12px;color:var(--message-date,var(--neutral-foreground-hint));margin-left:10px;white-space:nowrap}\n'])))],TS={emailsSectionTitle:"Emails"},_S=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ES=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},IS=function(e){C(n,e);var t=I(n);function n(e){var r;return y(this,n),(r=t.call(this))._messages=e,r}return x(n,[{key:"strings",get:function(){return TS}},{key:"displayName",get:function(){return this.strings.emailsSectionTitle}},{key:"cardTitle",get:function(){return this.strings.emailsSectionTitle}},{key:"clearState",value:function(){Ge(S(n.prototype),"clearState",this).call(this),this._messages=[]}},{key:"renderIcon",value:function(){return Es(Oa.Messages)}},{key:"renderCompactView",value:function(){var e,t,n=this;if(this.isLoadingState)t=this.renderLoading();else if(null===(e=this._messages)||void 0===e?void 0:e.length){var r=this._messages?this._messages.slice(0,3).map((function(e){return n.renderMessage(e)})):[];t=rr(bS||(bS=jr(["\n ","\n "])),r)}else t=this.renderNoData();return rr(yS||(yS=jr(['\n
\n ',"\n
\n "])),t)}},{key:"renderFullView",value:function(){var e,t,n=this;return t=this.isLoadingState?this.renderLoading():(null===(e=this._messages)||void 0===e?void 0:e.length)?rr(kS||(kS=jr(["\n ","\n "])),this._messages.slice(0,5).map((function(e){return n.renderMessage(e)}))):this.renderNoData(),rr(xS||(xS=jr(['\n
\n ',"\n
\n "])),t)}},{key:"renderMessage",value:function(e){var t=this;return rr(wS||(wS=jr(['\n
\n "])),(function(){return t.handleMessageClick(e)}),e.subject,e.from.emailAddress.name,e.bodyPreview,ii(new Date(e.receivedDateTime)))}},{key:"handleMessageClick",value:function(e){window.open(e.webLink,"_blank","noreferrer")}}],[{key:"styles",get:function(){return SS}}]),n}(oS);IS=_S([Mo("messages"),ES("design:paramtypes",[Array])],IS);var AS,PS,BS,MS,RS,DS,zS,NS,OS,LS,FS,jS,HS=[Tn(CS||(CS=jr(['\n:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\e70d"}.ms-icon-chevron-up::before{content:"\\e70e"}.ms-icon-contact::before{content:"\\e77b"}.ms-icon-add-friend::before{content:"\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\eb6d"}:host .loading,:host .no-data{margin:0 20px;display:flex;justify-content:center}:host .no-data{font-style:normal;font-weight:600;font-size:14px;color:var(--font-color,#323130);line-height:19px}:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\e70d"}.ms-icon-chevron-up::before{content:"\\e70e"}.ms-icon-contact::before{content:"\\e77b"}.ms-icon-add-friend::before{content:"\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\eb6d"}:host{position:relative;user-select:none}:host .root.compact{padding:0}:host .root.compact .coworker .coworker__image{height:40px;width:40px;border-radius:40px;--avatar-size:40px;--avatar-size-s:40px;margin-right:12px}:host .root.compact .coworker .coworker__name{font-size:14px}:host .root.compact .coworker .coworker__title{font-size:12px}:host .root .subtitle{color:var(--organization-sub-title-color,var(--neutral-foreground-hint));font-size:14px;margin:0 20px 8px}:host .root .divider{display:flex;background:var(--organization-coworker-border-color,var(--neutral-stroke-rest));height:1px;margin:26px 20px 18px}:host .root .org-member{height:74px;box-sizing:border-box;border-radius:2px;padding:12px;display:flex;align-items:center;margin-left:20px;margin-right:20px}:host .root .org-member.org-member--target{background-color:var(--organization-active-org-member-target-background-color,var(--neutral-fill-active));border:1px solid var(--organization-active-org-member-border-color,var(--accent-foreground-rest))}:host .root .org-member:not(.org-member--target){border:1px solid var(--organization-coworker-border-color,var(--neutral-stroke-rest))}:host .root .org-member:not(.org-member--target):hover{cursor:pointer;background-color:var(--organization-hover-color,var(--neutral-fill-hover))}:host .root .org-member .org-member__person{flex-grow:1}:host .root .org-member .org-member__details{flex-grow:1}:host .root .org-member .org-member__details .org-member__name{font-size:16px;color:var(--organization-title-color,var(--neutral-foreground-rest));font-weight:600}:host .root .org-member .org-member__details .org-member__department,:host .root .org-member .org-member__details .org-member__title{font-weight:14px;color:var(--organization-sub-title-color,var(--neutral-foreground-hint))}:host .root .org-member__separator:not(:last-child){border:1px solid var(--organization-coworker-border-color,var(--neutral-stroke-rest));box-sizing:border-box;width:0;margin:0 50%;height:14px}:host .root .coworker{display:flex;align-items:center;padding:10px 20px}:host .root .coworker:hover{cursor:pointer;background-color:var(--organization-coworker-hover-color,var(--neutral-fill-hover))}:host .root .coworker .coworker__person{height:46px;border-radius:46px;margin-right:8px}:host .root .direct-report__compact{padding:12px 20px}:host .root .direct-report__compact .direct-report{cursor:pointer;width:38px;margin-right:4px;display:inline;--avatar-size:38px}[dir=rtl] .org-member .org-member__more{transform:scaleX(-1);filter:fliph;filter:FlipH}@media (forced-colors:active) and (prefers-color-scheme:dark){:host svg,:host svg>path{fill:#fff!important;fill-rule:nonzero!important;clip-rule:nonzero!important}}@media (forced-colors:active) and (prefers-color-scheme:light){:host svg,:host svg>path{fill:#000!important;fill-rule:nonzero!important;clip-rule:nonzero!important}}\n'],['\n:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\\\\e70d"}.ms-icon-chevron-up::before{content:"\\\\\\e70e"}.ms-icon-contact::before{content:"\\\\\\e77b"}.ms-icon-add-friend::before{content:"\\\\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\\\\eb6d"}:host .loading,:host .no-data{margin:0 20px;display:flex;justify-content:center}:host .no-data{font-style:normal;font-weight:600;font-size:14px;color:var(--font-color,#323130);line-height:19px}:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\\\\e70d"}.ms-icon-chevron-up::before{content:"\\\\\\e70e"}.ms-icon-contact::before{content:"\\\\\\e77b"}.ms-icon-add-friend::before{content:"\\\\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\\\\eb6d"}:host{position:relative;user-select:none}:host .root.compact{padding:0}:host .root.compact .coworker .coworker__image{height:40px;width:40px;border-radius:40px;--avatar-size:40px;--avatar-size-s:40px;margin-right:12px}:host .root.compact .coworker .coworker__name{font-size:14px}:host .root.compact .coworker .coworker__title{font-size:12px}:host .root .subtitle{color:var(--organization-sub-title-color,var(--neutral-foreground-hint));font-size:14px;margin:0 20px 8px}:host .root .divider{display:flex;background:var(--organization-coworker-border-color,var(--neutral-stroke-rest));height:1px;margin:26px 20px 18px}:host .root .org-member{height:74px;box-sizing:border-box;border-radius:2px;padding:12px;display:flex;align-items:center;margin-left:20px;margin-right:20px}:host .root .org-member.org-member--target{background-color:var(--organization-active-org-member-target-background-color,var(--neutral-fill-active));border:1px solid var(--organization-active-org-member-border-color,var(--accent-foreground-rest))}:host .root .org-member:not(.org-member--target){border:1px solid var(--organization-coworker-border-color,var(--neutral-stroke-rest))}:host .root .org-member:not(.org-member--target):hover{cursor:pointer;background-color:var(--organization-hover-color,var(--neutral-fill-hover))}:host .root .org-member .org-member__person{flex-grow:1}:host .root .org-member .org-member__details{flex-grow:1}:host .root .org-member .org-member__details .org-member__name{font-size:16px;color:var(--organization-title-color,var(--neutral-foreground-rest));font-weight:600}:host .root .org-member .org-member__details .org-member__department,:host .root .org-member .org-member__details .org-member__title{font-weight:14px;color:var(--organization-sub-title-color,var(--neutral-foreground-hint))}:host .root .org-member__separator:not(:last-child){border:1px solid var(--organization-coworker-border-color,var(--neutral-stroke-rest));box-sizing:border-box;width:0;margin:0 50%;height:14px}:host .root .coworker{display:flex;align-items:center;padding:10px 20px}:host .root .coworker:hover{cursor:pointer;background-color:var(--organization-coworker-hover-color,var(--neutral-fill-hover))}:host .root .coworker .coworker__person{height:46px;border-radius:46px;margin-right:8px}:host .root .direct-report__compact{padding:12px 20px}:host .root .direct-report__compact .direct-report{cursor:pointer;width:38px;margin-right:4px;display:inline;--avatar-size:38px}[dir=rtl] .org-member .org-member__more{transform:scaleX(-1);filter:fliph;filter:FlipH}@media (forced-colors:active) and (prefers-color-scheme:dark){:host svg,:host svg>path{fill:#fff!important;fill-rule:nonzero!important;clip-rule:nonzero!important}}@media (forced-colors:active) and (prefers-color-scheme:light){:host svg,:host svg>path{fill:#000!important;fill-rule:nonzero!important;clip-rule:nonzero!important}}\n'])))],qS={reportsToSectionTitle:"Reports to",directReportsSectionTitle:"Direct reports",organizationSectionTitle:"Organization",youWorkWithSubSectionTitle:"You work with",userWorksWithSubSectionTitle:"works with"},US=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},VS=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},WS=function(e){C(n,e);var t=I(n);function n(e,r){var o;return y(this,n),(o=t.call(this))._state=e,o._me=r,o}return x(n,[{key:"strings",get:function(){return qS}},{key:"clearState",value:function(){Ge(S(n.prototype),"clearState",this).call(this),this._state=null,this._me=null}},{key:"displayName",get:function(){var e=this._state,t=e.person,n=e.directReports;return!t.manager&&(null===n||void 0===n?void 0:n.length)?"".concat(this.strings.directReportsSectionTitle," (").concat(n.length,")"):this.strings.reportsToSectionTitle}},{key:"cardTitle",get:function(){return this.strings.organizationSectionTitle}},{key:"renderIcon",value:function(){return Es(Oa.Organization)}},{key:"renderCompactView",value:function(){var e,t;if(!(null===(e=this._state)||void 0===e?void 0:e.person))return null;var n=this._state,r=n.person,o=n.directReports;return r?(r.manager?t=this.renderCoworker(r.manager):(null===o||void 0===o?void 0:o.length)&&(t=this.renderCompactDirectReports()),rr(AS||(AS=jr(['\n
\n ',"\n
\n "])),t)):null}},{key:"renderFullView",value:function(){var e,t;if(!(null===(e=this._state)||void 0===e?void 0:e.person))return null;var n=this._state,r=n.person,o=n.directReports,i=n.people;if(!(r||o||i))return null;var a=this.renderManagers(),s=this.renderCurrentUser(),l=this.renderDirectReports(),c=this.renderCoworkers();return t=rr(PS||(PS=jr(["\n "," "," "," ","\n "])),a,s,l,c),rr(BS||(BS=jr(['\n
\n
\n '])),(function(n){"Enter"!==n.code&&" "!==n.code||t.navigateCard(e)}),(function(){return t.navigateCard(e)}),e,!0,Ei.twolines,!0,Es(Oa.ExpandRight))}},{key:"renderManagers",value:function(){var e=this,t=this._state.person;if(!(null===t||void 0===t?void 0:t.manager))return null;for(var n=[],r=t;r.manager;)n.push(r.manager),r=r.manager;return n.length?n.reverse().map((function(t){return e.renderManager(t)})):null}},{key:"renderDirectReports",value:function(){var e=this,t=this._state.directReports;return(null===t||void 0===t?void 0:t.length)?rr(RS||(RS=jr(['\n
\n
\n ',"\n
\n "])),t.map((function(t){return Bo(DS||(DS=jr(['\n
\n
\n '])),(function(n){"Enter"!==n.code&&" "!==n.code||e.navigateCard(t)}),(function(){return e.navigateCard(t)}),t,!0,!0,Ei.twolines,Es(Oa.ExpandRight))}))):null}},{key:"renderCompactDirectReports",value:function(){var e=this,t=this._state.directReports;return rr(zS||(zS=jr(['\n
\n ',"\n
\n "])),t.slice(0,6).map((function(t){return Bo(NS||(NS=jr(['\n
\n \n
\n "])),(function(n){"Enter"!==n.code&&" "!==n.code||e.navigateCard(t)}),(function(){return e.navigateCard(t)}),t,!0,!0,Ei.twolines)})))}},{key:"renderCurrentUser",value:function(){var e=this._state.person;return Bo(OS||(OS=jr(['\n
\n
\n
\n \n
\n ',"
\n \n ","\n
\n "])),n,t.slice(0,6).map((function(t){return e.renderCoworker(t)})))}}],[{key:"styles",get:function(){return HS}}]),n}(oS);WS=US([Mo("organization"),VS("design:paramtypes",[Object,Object])],WS);var KS,GS,ZS,$S,YS,QS,XS,JS,eT,tT,nT,rT,oT,iT,aT,sT,lT,cT=[Tn(jS||(jS=jr(['\n:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\e70d"}.ms-icon-chevron-up::before{content:"\\e70e"}.ms-icon-contact::before{content:"\\e77b"}.ms-icon-add-friend::before{content:"\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\eb6d"}:host .loading,:host .no-data{margin:0 20px;display:flex;justify-content:center}:host .no-data{font-style:normal;font-weight:600;font-size:14px;color:var(--font-color,#323130);line-height:19px}:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\e70d"}.ms-icon-chevron-up::before{content:"\\e70e"}.ms-icon-contact::before{content:"\\e77b"}.ms-icon-add-friend::before{content:"\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\eb6d"}:host{position:relative;user-select:none;background-color:var(--profile-background-color,--neutral-layer-1)}:host .root{padding:20px 0}:host .root.compact{padding:0}:host .root .title{font-size:14px;font-weight:600;color:var(--profile-title-color,var(--neutral-foreground-rest));margin:0 20px 12px}:host .root section{margin-bottom:24px;padding:0 20px}:host .root section:last-child{margin:0}:host .root section .section__title{font-size:14px;color:var(--profile-section-title-color,var(--neutral-foreground-hint))}:host .root section .section__content{display:flex;flex-direction:column;margin-top:10px}:host .root .token-list{display:flex;flex-flow:row wrap;margin-top:-10px}:host .root .token-list .token-list__item{text-overflow:ellipsis;white-space:nowrap;display:inline-block;overflow:hidden;font-size:14px;align-items:center;background:var(--profile-token-item-background-color,var(--neutral-fill-secondary-rest));border-radius:2px;max-height:28px;padding:4px 8px;margin-right:10px;margin-top:10px;color:var(--profile-token-item-color,var(--neutral-foreground-rest))}:host .root .token-list .token-list__item:last-child{margin-right:initial}:host .root .token-list .token-list__item.overflow{display:none}:host .root .token-list .token-list__item.token-list__item--show-overflow{cursor:pointer;user-select:unset;background:0 0;color:var(--profile-token-overflow-color,var(--accent-foreground-rest))}:host .root .data-list__item{margin-bottom:20px}:host .root .data-list__item:last-child{margin-bottom:initial}:host .root .data-list__item .data-list__item__header{display:flex;justify-content:space-between;align-items:center}:host .root .data-list__item .data-list__item__content{font-size:12px;line-height:16px;color:var(--profile-section-title-color,var(--neutral-foreground-hint));margin-top:4px}:host .root .data-list__item .data-list__item__title{font-size:14px;line-height:16px;color:var(--profile-title-color,var(--neutral-foreground-rest))}:host .root .data-list__item .data-list__item__date-range{color:var(--profile-section-title-color,var(--neutral-foreground-hint));font-size:10px;line-height:12px}:host .root .language__proficiency{opacity:.77}:host .root .work-position .work-position__company{color:#023b8f}:host .root .work-position .work-position__location{font-size:10px;color:var(--profile-section-title-color,var(--neutral-foreground-hint));line-height:16px}:host .root .educational-activity .educational-activity__degree{font-size:12px;line-height:14px;color:var(--profile-section-title-color,var(--neutral-foreground-hint))}:host .root .birthday{display:flex;align-items:center;margin-top:-6px}:host .root .birthday .birthday__icon{margin-right:8px}:host .root .birthday .birthday__date{font-size:12px;color:var(--profile-title-color,var(--neutral-foreground-rest))}[dir=rtl] .token-list__item{margin-right:0!important}\n'],['\n:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\\\\e70d"}.ms-icon-chevron-up::before{content:"\\\\\\e70e"}.ms-icon-contact::before{content:"\\\\\\e77b"}.ms-icon-add-friend::before{content:"\\\\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\\\\eb6d"}:host .loading,:host .no-data{margin:0 20px;display:flex;justify-content:center}:host .no-data{font-style:normal;font-weight:600;font-size:14px;color:var(--font-color,#323130);line-height:19px}:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\\\\e70d"}.ms-icon-chevron-up::before{content:"\\\\\\e70e"}.ms-icon-contact::before{content:"\\\\\\e77b"}.ms-icon-add-friend::before{content:"\\\\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\\\\eb6d"}:host{position:relative;user-select:none;background-color:var(--profile-background-color,--neutral-layer-1)}:host .root{padding:20px 0}:host .root.compact{padding:0}:host .root .title{font-size:14px;font-weight:600;color:var(--profile-title-color,var(--neutral-foreground-rest));margin:0 20px 12px}:host .root section{margin-bottom:24px;padding:0 20px}:host .root section:last-child{margin:0}:host .root section .section__title{font-size:14px;color:var(--profile-section-title-color,var(--neutral-foreground-hint))}:host .root section .section__content{display:flex;flex-direction:column;margin-top:10px}:host .root .token-list{display:flex;flex-flow:row wrap;margin-top:-10px}:host .root .token-list .token-list__item{text-overflow:ellipsis;white-space:nowrap;display:inline-block;overflow:hidden;font-size:14px;align-items:center;background:var(--profile-token-item-background-color,var(--neutral-fill-secondary-rest));border-radius:2px;max-height:28px;padding:4px 8px;margin-right:10px;margin-top:10px;color:var(--profile-token-item-color,var(--neutral-foreground-rest))}:host .root .token-list .token-list__item:last-child{margin-right:initial}:host .root .token-list .token-list__item.overflow{display:none}:host .root .token-list .token-list__item.token-list__item--show-overflow{cursor:pointer;user-select:unset;background:0 0;color:var(--profile-token-overflow-color,var(--accent-foreground-rest))}:host .root .data-list__item{margin-bottom:20px}:host .root .data-list__item:last-child{margin-bottom:initial}:host .root .data-list__item .data-list__item__header{display:flex;justify-content:space-between;align-items:center}:host .root .data-list__item .data-list__item__content{font-size:12px;line-height:16px;color:var(--profile-section-title-color,var(--neutral-foreground-hint));margin-top:4px}:host .root .data-list__item .data-list__item__title{font-size:14px;line-height:16px;color:var(--profile-title-color,var(--neutral-foreground-rest))}:host .root .data-list__item .data-list__item__date-range{color:var(--profile-section-title-color,var(--neutral-foreground-hint));font-size:10px;line-height:12px}:host .root .language__proficiency{opacity:.77}:host .root .work-position .work-position__company{color:#023b8f}:host .root .work-position .work-position__location{font-size:10px;color:var(--profile-section-title-color,var(--neutral-foreground-hint));line-height:16px}:host .root .educational-activity .educational-activity__degree{font-size:12px;line-height:14px;color:var(--profile-section-title-color,var(--neutral-foreground-hint))}:host .root .birthday{display:flex;align-items:center;margin-top:-6px}:host .root .birthday .birthday__icon{margin-right:8px}:host .root .birthday .birthday__date{font-size:12px;color:var(--profile-title-color,var(--neutral-foreground-rest))}[dir=rtl] .token-list__item{margin-right:0!important}\n'])))],uT={SkillsAndExperienceSectionTitle:"Skills & Experience",AboutCompactSectionTitle:"About",SkillsSubSectionTitle:"Skills",LanguagesSubSectionTitle:"Languages",WorkExperienceSubSectionTitle:"Work Experience",EducationSubSectionTitle:"Education",professionalInterestsSubSectionTitle:"Professional Interests",personalInterestsSubSectionTitle:"Personal Interests",birthdaySubSectionTitle:"Birthday",currentYearSubtitle:"Current",socialMediaSubSectionTitle:"Social Media"},dT=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},fT=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},pT=function(e){C(n,e);var t=I(n);function n(e){var r;return y(this,n),(r=t.call(this)).isPersonalInterest=function(e){var t;return null===(t=e.categories)||void 0===t?void 0:t.includes("personal")},r.isProfessionalInterest=function(e){var t;return null===(t=e.categories)||void 0===t?void 0:t.includes("professional")},r.isBirthdayAnniversary=function(e){return"birthday"===e.type},r.profile=e,r}return x(n,[{key:"strings",get:function(){return uT}},{key:"displayName",get:function(){return this.strings.SkillsAndExperienceSectionTitle}},{key:"cardTitle",get:function(){return this.strings.AboutCompactSectionTitle}},{key:"hasData",get:function(){var e,t;if(!this.profile)return!1;var n=this.profile,r=n.languages,o=n.skills,i=n.positions,a=n.educationalActivities;return[this._birthdayAnniversary,null===(e=this._personalInterests)||void 0===e?void 0:e.length,null===(t=this._professionalInterests)||void 0===t?void 0:t.length,null===r||void 0===r?void 0:r.length,null===o||void 0===o?void 0:o.length,null===i||void 0===i?void 0:i.length,null===a||void 0===a?void 0:a.length].filter((function(e){return!!e})).length>0}},{key:"profile",get:function(){return this._profile},set:function(e){e!==this._profile&&(this._profile=e,this._birthdayAnniversary=(null===e||void 0===e?void 0:e.anniversaries)?e.anniversaries.find(this.isBirthdayAnniversary):null,this._personalInterests=(null===e||void 0===e?void 0:e.interests)?e.interests.filter(this.isPersonalInterest):null,this._professionalInterests=(null===e||void 0===e?void 0:e.interests)?e.interests.filter(this.isProfessionalInterest):null)}},{key:"renderIcon",value:function(){return Es(Oa.Profile)}},{key:"clearState",value:function(){Ge(S(n.prototype),"clearState",this).call(this),this.profile=null}},{key:"renderCompactView",value:function(){return rr(KS||(KS=jr(['\n \n (',")\n \n "])),i.proficiency)),r.push(rr(YS||(YS=jr(['\n
\n ',"\n ","\n
\n "])),i.displayName,a))}}catch(l){o.e(l)}finally{o.f()}var s=r.length?this.strings.LanguagesSubSectionTitle:"";return rr(ZS||(ZS=jr(['\n
\n "])),s,r)}},{key:"renderSkills",value:function(){var e=this._profile.skills;if(!(null===e||void 0===e?void 0:e.length))return null;var t,n=[],r=B(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push(rr(XS||(XS=jr(['\n
\n ',"\n
\n "])),o.displayName))}}catch(a){r.e(a)}finally{r.f()}var i=n.length?this.strings.SkillsSubSectionTitle:"";return rr(QS||(QS=jr(['\n
\n "])),i,n)}},{key:"renderWorkExperience",value:function(){var e,t,n,r,o,i=this._profile.positions;if(!(null===i||void 0===i?void 0:i.length))return null;var a,s=[],l=B(this._profile.positions);try{for(l.s();!(a=l.n()).done;){var c=a.value;(c.detail.description||""!==c.detail.jobTitle)&&s.push(rr(eT||(eT=jr(['\n
\n \n
\n
\n ','\n
\n
\n ',"\n
\n
\n
\n "])),null===(e=c.detail)||void 0===e?void 0:e.jobTitle,this.getDisplayDateRange(c.detail),null===(n=null===(t=null===c||void 0===c?void 0:c.detail)||void 0===t?void 0:t.company)||void 0===n?void 0:n.displayName,this.displayLocation(null===(o=null===(r=null===c||void 0===c?void 0:c.detail)||void 0===r?void 0:r.company)||void 0===o?void 0:o.address)))}}catch(d){l.e(d)}finally{l.f()}var u=s.length?this.strings.WorkExperienceSubSectionTitle:"";return rr(JS||(JS=jr(['\n
\n "])),u,s)}},{key:"renderEducation",value:function(){var e=this._profile.educationalActivities;if(!(null===e||void 0===e?void 0:e.length))return null;var t,n=[],r=B(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push(rr(nT||(nT=jr(['\n
\n \n ","\n
\n "])),o.institution.displayName,this.getDisplayDateRange(o),o.program.displayName?rr(rT||(rT=jr(['
\n
\n ',"\n
"])),o.program.displayName):ir))}}catch(a){r.e(a)}finally{r.f()}var i=n.length?this.strings.EducationSubSectionTitle:"";return rr(tT||(tT=jr(['\n
\n "])),i,n)}},{key:"renderProfessionalInterests",value:function(){var e;if(!(null===(e=this._professionalInterests)||void 0===e?void 0:e.length))return null;var t,n=[],r=B(this._professionalInterests);try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push(rr(iT||(iT=jr(['\n
\n ',"\n
\n "])),o.displayName))}}catch(a){r.e(a)}finally{r.f()}var i=n.length?this.strings.professionalInterestsSubSectionTitle:"";return rr(oT||(oT=jr(['\n
\n "])),i,n)}},{key:"renderPersonalInterests",value:function(){var e;if(!(null===(e=this._personalInterests)||void 0===e?void 0:e.length))return null;var t,n=[],r=B(this._personalInterests);try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push(rr(sT||(sT=jr(['\n
\n ',"\n
\n "])),o.displayName))}}catch(a){r.e(a)}finally{r.f()}var i=n.length?this.strings.personalInterestsSubSectionTitle:"";return rr(aT||(aT=jr(['\n
\n "])),i,n)}},{key:"renderBirthday",value:function(){var e;return(null===(e=this._birthdayAnniversary)||void 0===e?void 0:e.date)?rr(lT||(lT=jr(['\n
\n Birthday
\n \n
\n
\n ','\n
\n
\n ',"\n
\n
\n
\n \n "])),Es(Oa.Birthday),this.getDisplayDate(new Date(this._birthdayAnniversary.date))):null}},{key:"getDisplayDate",value:function(e){return e.toLocaleString("default",{day:"numeric",month:"long"})}},{key:"getDisplayDateRange",value:function(e){if(!e.startMonthYear)return ir;var t=new Date(e.startMonthYear).getFullYear();if(0===t||1===t)return ir;var n=e.endMonthYear?new Date(e.endMonthYear).getFullYear():this.strings.currentYearSubtitle;return"".concat(t," \u2014 ").concat(n)}},{key:"displayLocation",value:function(e){return(null===e||void 0===e?void 0:e.city)?e.state?"".concat(e.city,", ").concat(e.state):e.city:ir}},{key:"initPostRenderOperations",value:function(){var e=this;setTimeout((function(){try{e.shadowRoot.querySelectorAll("section").forEach((function(t){e.handleTokenOverflow(t)}))}catch(k1){}}),0)}},{key:"handleTokenOverflow",value:function(e){var t=e.querySelectorAll(".token-list");if(null===t||void 0===t?void 0:t.length)for(var n=function(){var e=o[r],t=e.querySelectorAll(".token-list__item");if(!(null===t||void 0===t?void 0:t.length))return 1;for(var n=null,i=t[0].getBoundingClientRect(),a=e.getBoundingClientRect(),s=2*i.height+a.top,l=0;l
s){n=Array.from(t).slice(l,t.length);break}if(n){n.forEach((function(e){return e.classList.add("overflow")}));var c=document.createElement("div");c.classList.add("token-list__item"),c.classList.add("token-list__item--show-overflow"),c.tabIndex=0,c.innerText="+ ".concat(n.length," more");var u=function(){c.remove(),n.forEach((function(e){return e.classList.remove("overflow")}))};c.addEventListener("click",(function(){u()})),c.addEventListener("keydown",(function(e){"Enter"===e.code&&u()})),e.appendChild(c)}},r=0,o=Array.from(t);r1;){if(e.isFocusableElement(n[r])){e.moveToTabByIndex(n,r);break}if(e.activetab&&r===n.indexOf(e.activetab))break;r+1>=n.length?r=0:r+=1}},e.adjustBackward=function(t){var n=e.tabs,r=0;for(r=(r=e.activetab?n.indexOf(e.activetab)-1:0)<0?n.length-1:r;r>=0&&n.length>1;){if(e.isFocusableElement(n[r])){e.moveToTabByIndex(n,r);break}r-1<0?r=n.length-1:r-=1}},e.moveToTabByIndex=function(t,n){var r=t[n];e.activetab=r,e.prevActiveTabIndex=e.activeTabIndex,e.activeTabIndex=n,r.focus(),e.setComponent()},e}return x(n,[{key:"orientationChanged",value:function(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}},{key:"activeidChanged",value:function(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex((function(t){return t.id===e})),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}},{key:"tabsChanged",value:function(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}},{key:"tabpanelsChanged",value:function(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}},{key:"getActiveIndex",value:function(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}},{key:"getTabIds",value:function(){return this.tabs.map((function(e){var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-".concat(Wk())}))}},{key:"getTabPanelIds",value:function(){return this.tabpanels.map((function(e){var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-".concat(Wk())}))}},{key:"setComponent",value:function(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}},{key:"isHorizontal",value:function(){return this.orientation===vT}},{key:"handleActiveIndicatorPosition",value:function(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}},{key:"animateActiveIndicator",value:function(){var e=this;this.ticking=!0;var t=this.isHorizontal()?"gridColumn":"gridRow",n=this.isHorizontal()?"translateX":"translateY",r=this.isHorizontal()?"offsetLeft":"offsetTop",o=this.activeIndicatorRef[r];this.activeIndicatorRef.style[t]="".concat(this.activeTabIndex+1);var i=this.activeIndicatorRef[r];this.activeIndicatorRef.style[t]="".concat(this.prevActiveTabIndex+1);var a=i-o;this.activeIndicatorRef.style.transform="".concat(n,"(").concat(a,"px)"),this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(function(){e.ticking=!1,e.activeIndicatorRef.style[t]="".concat(e.activeTabIndex+1),e.activeIndicatorRef.style.transform="".concat(n,"(0px)"),e.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}},{key:"adjust",value:function(e){var t=this,n=this.tabs.filter((function(e){return t.isFocusableElement(e)})),r=n.indexOf(this.activetab),o=Kk(0,n.length-1,r+e),i=this.tabs.indexOf(n[o]);i>-1&&this.moveToTabByIndex(this.tabs,i)}},{key:"focusTab",value:function(){this.tabs[this.activeTabIndex].focus()}},{key:"connectedCallback",value:function(){Ge(S(n.prototype),"connectedCallback",this).call(this),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}]),n}(gu);Cc([bc],bT.prototype,"orientation",void 0),Cc([bc],bT.prototype,"activeid",void 0),Cc([nc],bT.prototype,"tabs",void 0),Cc([nc],bT.prototype,"tabpanels",void 0),Cc([bc({mode:"boolean"})],bT.prototype,"activeindicator",void 0),Cc([nc],bT.prototype,"activeIndicatorRef",void 0),Cc([nc],bT.prototype,"showActiveIndicator",void 0),yb(bT,hb);var yT,kT,xT,wT=bT.compose({baseName:"tabs",template:function(e,t){return Td(hT||(hT=jr(['\n \n ','\n \n \n\n ","\n
\n ",'\n \n \n
\n \n"])),(function(e){return e.orientation}),gb(0,t),Wb("tabs"),tb((function(e){return e.showActiveIndicator}),Td(mT||(mT=jr(["\n \n '])),fb("activeIndicatorRef"))),mb(0,t),Wb("tabpanels"))},styles:function(e,t){return Gm(yT||(yT=jr(["\n "," :host {\n box-sizing: border-box;\n ","\n color: ",";\n grid-template-columns: auto 1fr auto;\n grid-template-rows: auto 1fr;\n }\n\n .tablist {\n display: grid;\n grid-template-rows: calc("," * 1px); auto;\n grid-template-columns: auto;\n position: relative;\n width: max-content;\n align-self: end;\n }\n\n .start,\n .end {\n align-self: center;\n }\n\n .activeIndicator {\n grid-row: 2;\n grid-column: 1;\n width: 20px;\n height: 3px;\n border-radius: calc("," * 1px);\n justify-self: center;\n background: ",";\n }\n\n .activeIndicatorTransition {\n transition: transform 0.2s ease-in-out;\n }\n\n .tabpanel {\n grid-row: 2;\n grid-column-start: 1;\n grid-column-end: 4;\n position: relative;\n }\n\n :host(.vertical) {\n grid-template-rows: auto 1fr auto;\n grid-template-columns: auto 1fr;\n }\n\n :host(.vertical) .tablist {\n grid-row-start: 2;\n grid-row-end: 2;\n display: grid;\n grid-template-rows: auto;\n grid-template-columns: auto 1fr;\n position: relative;\n width: max-content;\n justify-self: end;\n align-self: flex-start;\n width: 100%;\n }\n\n :host(.vertical) .tabpanel {\n grid-column: 2;\n grid-row-start: 1;\n grid-row-end: 4;\n }\n\n :host(.vertical) .end {\n grid-row: 3;\n }\n\n :host(.vertical) .activeIndicator {\n grid-column: 1;\n grid-row: 1;\n width: 3px;\n height: 20px;\n margin-inline-start: calc("," * 1px);\n border-radius: calc("," * 1px);\n align-self: center;\n background: ",";\n }\n\n :host(.vertical) .activeIndicatorTransition {\n transition: transform 0.2s linear;\n }\n "])),Ym("grid"),xy,fm,ky,Ef,kh,Pf,Ef,kh).withBehaviors(Jm(Gm(kT||(kT=jr(["\n .activeIndicator,\n :host(.vertical) .activeIndicator {\n background: ",";\n }\n "])),Qm.Highlight)))}}),CT=function(e){C(n,e);var t=I(n);function n(){return y(this,n),t.apply(this,arguments)}return x(n)}(gu);Cc([bc({mode:"boolean"})],CT.prototype,"disabled",void 0);var ST,TT,_T,ET,IT,AT,PT,BT,MT,RT,DT,zT,NT,OT,LT,FT,jT,HT,qT,UT,VT,WT,KT,GT,ZT,$T,YT,QT,XT,JT,e_,t_=CT.compose({baseName:"tab",template:function(e,t){return Td(xT||(xT=jr(['\n \n \n \n'])),(function(e){return e.disabled}))},styles:function(e,t){return Gm(ST||(ST=jr(["\n "," :host {\n box-sizing: border-box;\n ","\n height: calc(("," + ("," * 2)) * 1px);\n padding: 0 calc((6 + ("," * 2 * ",")) * 1px);\n color: ",";\n border-radius: calc("," * 1px);\n border: calc("," * 1px) solid transparent;\n align-items: center;\n justify-content: center;\n grid-row: 1 / 3;\n cursor: pointer;\n }\n\n :host([aria-selected='true']) {\n z-index: 2;\n }\n\n :host(:hover),\n :host(:active) {\n color: ",";\n }\n\n :host(:",") {\n ","\n }\n\n :host(.vertical) {\n justify-content: start;\n grid-column: 1 / 3;\n }\n\n :host(.vertical[aria-selected='true']) {\n z-index: 2;\n }\n\n :host(.vertical:hover),\n :host(.vertical:active) {\n color: ",";\n }\n\n :host(.vertical:hover[aria-selected='true']) {\n }\n "])),Ym("inline-flex"),xy,ky,_f,_f,Tf,fm,Ef,Af,fm,yy,wy,fm).withBehaviors(Jm(Gm(TT||(TT=jr(["\n :host {\n forced-color-adjust: none;\n border-color: transparent;\n color: ",";\n fill: currentcolor;\n }\n :host(:hover),\n :host(.vertical:hover),\n :host([aria-selected='true']:hover) {\n background: transparent;\n color: ",";\n fill: currentcolor;\n }\n :host([aria-selected='true']) {\n background: transparent;\n color: ",";\n fill: currentcolor;\n }\n :host(:",") {\n background: transparent;\n outline-color: ",";\n }\n "])),Qm.ButtonText,Qm.Highlight,Qm.Highlight,yy,Qm.ButtonText)))}}),n_=function(e){C(n,e);var t=I(n);function n(){return y(this,n),t.apply(this,arguments)}return x(n)}(gu),r_=n_.compose({baseName:"tab-panel",template:function(e,t){return Td(_T||(_T=jr(['\n \n \n \n'])))},styles:function(e,t){return Gm(ET||(ET=jr(["\n "," :host {\n box-sizing: border-box;\n ","\n padding: 0 calc((6 + ("," * 2 * ",")) * 1px);\n }\n"])),Ym("block"),xy,_f,Tf)}}),o_=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},i_=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a_=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(jTe){i(jTe)}}function s(e){try{l(r.throw(e))}catch(jTe){i(jTe)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};Yu(Ag,wT,t_,r_,My,PC);var s_,l_=e_=function(e){C(n,e);var t=I(n);function n(){var e;return y(this,n),(e=t.call(this)).isSending=!1,e.goBack=function(){var t;if(null===(t=e._history)||void 0===t?void 0:t.length){var n=e._history.pop();e._currentSection=null;var r=e.renderRoot.querySelector("fluent-tab");r&&r.click(),e._cardState=n.state,e._personDetails=n.state.person,e.personImage=n.personImage,e.loadSections()}},e.handleEndOfCard=function(t){if(t&&"Tab"===t.code){var n=e.renderRoot.querySelector("#end-of-container");if(n){n.blur();var r=e.renderRoot.querySelector("mgt-person");r&&r.focus()}}},e.closeCard=function(){e.updateCurrentSection(null),e.isExpanded=!1},e.sendQuickMessage=function(){return a_(_(e),void 0,void 0,Xe().mark((function e(){var t,n,r,o,i;return Xe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=this._chatInput.trim())||void 0===t?void 0:t.length){e.next=3;break}return e.abrupt("return");case 3:return n=this.personDetails,r=this._me.userPrincipalName,this.isSending=!0,e.next=8,JC(this._graph,n.userPrincipalName,r);case 8:return o=e.sent,i={body:{content:t}},e.next=12,eS(this._graph,o.id,i);case 12:this.isSending=!1,this.clearInputData();case 14:case"end":return e.stop()}}),e,this)})))},e.emailUser=function(){var t=e.internalPersonDetails;if(t){var n=qa(t);n&&window.open("mailto:"+n,"_blank","noreferrer")}},e.callUser=function(){var t,n,r=e.personDetails,o=e.personDetails;if(null===(t=null===r||void 0===r?void 0:r.businessPhones)||void 0===t?void 0:t.length){var i=r.businessPhones[0];i&&window.open("tel:"+i,"_blank","noreferrer")}else if(null===(n=null===o||void 0===o?void 0:o.phones)||void 0===n?void 0:n.length){var a=e.getPersonBusinessPhones(o)[0];a&&window.open("tel:"+a,"_blank","noreferrer")}},e.chatUser=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=e.personDetails;if(null===n||void 0===n?void 0:n.userPrincipalName){var r=n.userPrincipalName,o="https://teams.microsoft.com/l/chat/0/0?users=".concat(r);(null===t||void 0===t?void 0:t.length)&&(o+="&message=".concat(t));var i=function(){return window.open(o,"_blank","noreferrer")};_o.isAvailable?_o.executeDeepLink(o,(function(e){e||i()})):i()}},e.videoCallUser=function(){var t=e.personDetails;if(null===t||void 0===t?void 0:t.userPrincipalName){var n=t.userPrincipalName,r="https://teams.microsoft.com/l/call/0/0?users=".concat(n,"&withVideo=true"),o=function(){return window.open(r,"_blank")};_o.isAvailable?_o.executeDeepLink(r,(function(e){e||o()})):o()}},e.showExpandedDetails=function(){var t=e.renderRoot.querySelector(".root");(null===t||void 0===t?void 0:t.animate)&&t.animate([{height:"auto",transformOrigin:"top left"},{height:"auto",transformOrigin:"top left"}],{duration:1e3,easing:"ease-in-out",fill:"both"}),e.isExpanded=!0,e.fireCustomEvent("expanded",null,!0)},e.sendQuickMessageOnEnter=function(t){"Enter"===t.code&&e.sendQuickMessage()},e.handleGoBack=function(t){"Enter"===t.code&&e.goBack()},e._chatInput="",e._currentSection=null,e._history=[],e.sections=[],e._graph=null,e}return x(n,[{key:"strings",get:function(){return gT}},{key:"personDetails",get:function(){return this._personDetails},set:function(e){this._personDetails!==e&&(this._personDetails=e,this.personImage=this.getImage(),this.requestStateUpdate())}},{key:"userId",get:function(){return this._userId},set:function(e){e!==this._userId&&(this._userId=e,this.personDetails=null,this._cardState=null,this.requestStateUpdate())}},{key:"internalPersonDetails",get:function(){var e;return(null===(e=this._cardState)||void 0===e?void 0:e.person)||this.personDetails}},{key:"attributeChangedCallback",value:function(e,t,r){if(Ge(S(n.prototype),"attributeChangedCallback",this).call(this,e,t,r),t!==r&&"person-query"===e)this.personDetails=null,this._cardState=null,this.requestStateUpdate()}},{key:"navigate",value:function(e){this._history.push({personDetails:this.personDetails,personImage:this.getImage(),state:this._cardState}),this._personDetails=e,this._cardState=null,this.personImage=null,this._currentSection=null,this.sections=[],this._chatInput="",this.requestStateUpdate()}},{key:"clearHistory",value:function(){var e;if(this._currentSection=null,null===(e=this._history)||void 0===e?void 0:e.length){var t=this._history[0];this._history=[],this._cardState=t.state,this._personDetails=t.personDetails,this.personImage=t.personImage,this.loadSections()}}},{key:"render",value:function(){var e;if(!this.internalPersonDetails)return this.renderNoData();var t,n=this.internalPersonDetails,r=this.getImage();if(this.hasTemplate("default"))return this.renderTemplate("default",{person:this.internalPersonDetails,personImage:r});t=this.strings.closeCardLabel;var o=this.isExpanded?rr(IT||(IT=jr(['\n \n \n
'])),this.handleEndOfCard,this.strings.endOfCard):rr(MT||(MT=jr([""])));return rr(RT||(RT=jr(['\n ','
\n ',"
\n ","\n \n
\n "])),this.direction,oi({small:this._smallView}),i,o,a,c,u)}},{key:"renderNoData",value:function(){return this.renderTemplate("no-data",null)||rr(DT||(DT=jr([""])))}},{key:"renderPerson",value:function(){return Bo(zT||(zT=jr(['\n ',"\n "])),e.department)}},{key:"renderContactIcons",value:function(e){var t,n,r,o=e=e||this.internalPersonDetails;qa(e)&&(t="".concat(this.strings.emailButtonLabel," ").concat(e.displayName),n=rr(OT||(OT=jr(['\n
\n '," "," "," ","\n \n "])),n,r,a,i)}},{key:"renderExpandedDetailsButton",value:function(){return rr(qT||(qT=jr(["\n
\n ","\n \n "])),this.strings.expandDetailsLabel,this.showExpandedDetails,Es(Oa.ExpandDown))}},{key:"renderExpandedDetails",value:function(){var e=this;if(!this._cardState&&this._isStateLoading)return Bo(UT||(UT=jr(['\n
\n \n
\n '])));en.globalProvider.state===Ft.SignedOut&&this.loadSections();var t=this.renderSectionNavigation();return rr(VT||(VT=jr(['\n
\n ','\n
\n
\n
\n "])),t,this._smallView?"small":"",this._smallView?"small":"",(function(t){return e.handleSectionScroll(t)}))}},{key:"renderSectionNavigation",value:function(){var e=this;if(!(!this.sections||this.sections.length<2&&!this.hasTemplate("additional-details"))){var t=this._currentSection?this.sections.indexOf(this._currentSection):-1,n=this.sections.map((function(n,r){var o=n.tagName.toLowerCase(),i=oi({active:r===t,"section-nav__icon":!0});return rr(WT||(WT=jr(['\n
\n ","\n \n "])),o,i,(function(){return e.updateCurrentSection(n)}),(function(){return e.updateCurrentSection(n)}),n.renderIcon())})),r=this.sections.map((function(t){return rr(KT||(KT=jr(['\n
\n \n \n "])),t.cardTitle,e._currentSection?t.asFullView():null)})),o=oi({active:-1===t,"section-nav__icon":!0,overviewTab:!0});return rr(GT||(GT=jr(['\n
\n \n ","
\n \n ",'\n \n ',"
\n \n ","\n \n "])),(function(t){return e.handleSectionScroll(t)}),o,(function(){return e.updateCurrentSection(null)}),(function(){return e.updateCurrentSection(null)}),Es(Oa.Overview),n,this._currentSection?null:this.renderOverviewSection(),r)}}},{key:"renderOverviewSection",value:function(){var e=this,t=this.sections.map((function(t){return rr(ZT||(ZT=jr(['\n
\n "])),t.displayName,(function(){return e.updateCurrentSection(t)}),e.strings.showMoreSectionButton,t.asCompactView())})),n=this.renderTemplate("additional-details",{person:this.internalPersonDetails,personImage:this.getImage(),state:this._cardState});return n&&t.splice(1,0,rr($T||($T=jr(['\n
\n "])),n)),rr(YT||(YT=jr(['\n
\n ',"\n ","\n
\n "])),this.renderMessagingSection(),t)}},{key:"renderCurrentSection",value:function(){var e;if((null===(e=this.sections)||void 0===e?void 0:e.length)||this.hasTemplate("additional-details"))return 1!==this.sections.length||this.hasTemplate("additional-details")?this._currentSection?rr(XT||(XT=jr(["\n ","\n "])),this._currentSection.asFullView()):this.renderOverviewSection():rr(QT||(QT=jr(["\n ","\n "])),this.sections[0].asFullView())}},{key:"renderMessagingSection",value:function(){var e=this,t=this.personDetails,n=this._me.userPrincipalName,r=this._chatInput;return(null===t||void 0===t?void 0:t.userPrincipalName)===n?void 0:rr(JT||(JT=jr(['\n
\n
\n \n
n?e:n}),0);n.forEach((function(t,n){t.setAttribute("tabindex",0===n?"0":"-1"),t.addEventListener("expanded-change",e.handleExpandedChanged),t.addEventListener("focus",e.handleItemFocus),t instanceof g_&&(t.startColumnCount=r)}))},e.changeHandler=function(t){if(void 0!==e.menuItems){var n=t.target,r=e.menuItems.indexOf(n);if(-1!==r&&"menuitemradio"===n.role&&!0===n.checked){for(var o=r-1;o>=0;--o){var i=e.menuItems[o],a=i.getAttribute("role");if(a===p_&&(i.checked=!1),"separator"===a)break}for(var s=e.menuItems.length-1,l=r+1;l<=s;++l){var c=e.menuItems[l],u=c.getAttribute("role");if(u===p_&&(c.checked=!1),"separator"===u)break}}}},e.isMenuItemElement=function(e){return Zb(e)&&n.focusableElementRoles.hasOwnProperty(e.getAttribute("role"))},e.isFocusableElement=function(t){return e.isMenuItemElement(t)},e}return x(n,[{key:"itemsChanged",value:function(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}},{key:"connectedCallback",value:function(){var e=this;Ge(S(n.prototype),"connectedCallback",this).call(this),Xl.queueUpdate((function(){e.setItems()})),this.addEventListener("change",this.changeHandler)}},{key:"disconnectedCallback",value:function(){Ge(S(n.prototype),"disconnectedCallback",this).call(this),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}},{key:"focus",value:function(){this.setFocus(0,1)}},{key:"collapseExpandedItem",value:function(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}},{key:"handleMenuKeyDown",value:function(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case kb:return void this.setFocus(this.focusIndex+1,1);case Cb:return void this.setFocus(this.focusIndex-1,-1);case Eb:return void this.setFocus(this.menuItems.length-1,-1);case _b:return void this.setFocus(0,1);default:return!0}}},{key:"domChildren",value:function(){return Array.from(this.children).filter((function(e){return!e.hasAttribute("hidden")}))}},{key:"setFocus",value:function(e,t){if(void 0!==this.menuItems)for(;e>=0&&e-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,n.setAttribute("tabindex","0"),n.focus();break}e+=t}}}]),n}(gu);b_.focusableElementRoles=h_,Cc([nc],b_.prototype,"items",void 0);var y_,k_,x_="horizontal",w_="separator",C_=function(e){C(n,e);var t=I(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments)).role=w_,e.orientation=x_,e}return x(n)}(gu);Cc([bc],C_.prototype,"role",void 0),Cc([bc],C_.prototype,"orientation",void 0);var S_,T_,__,E_,I_,A_=function(e){C(n,e);var t=I(n);function n(){return y(this,n),t.apply(this,arguments)}return x(n,[{key:"connectedCallback",value:function(){Ge(S(n.prototype),"connectedCallback",this).call(this),bh.setValueFor(this,fh)}}]),n}(b_),P_=A_.compose({baseName:"menu",baseClass:b_,template:function(e,t){return Td(v_||(v_=jr(['\n \n \n \n"])),(function(e){return e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}),(function(e,t){return e.handleMenuKeyDown(t.event)}),(function(e,t){return e.handleFocusOut(t.event)}),Wb("items"))},styles:function(e,t){return Gm(y_||(y_=jr(["\n "," :host {\n background: ",";\n border: calc("," * 1px) solid transparent;\n border-radius: calc("," * 1px);\n box-shadow: ",";\n padding: calc(("," - ",") * 1px) 0;\n max-width: 368px;\n min-width: 64px;\n }\n\n :host([slot='submenu']) {\n width: max-content;\n margin: 0 calc("," * 2px);\n }\n\n ::slotted(",") {\n margin: 0 calc("," * 1px);\n }\n\n ::slotted(",") {\n margin: calc("," * 1px) 0;\n }\n\n ::slotted(hr) {\n box-sizing: content-box;\n height: 0;\n margin: calc("," * 1px) 0;\n border: none;\n border-top: calc("," * 1px) solid ",";\n }\n "])),Ym("block"),fh,Af,If,dg,_f,Af,_f,e.tagFor(g_),_f,e.tagFor(C_),_f,_f,Af,_m).withBehaviors(Jm(Gm(k_||(k_=jr(["\n :host([slot='submenu']) {\n background: ",";\n border-color: ",";\n }\n "])),Qm.Canvas,Qm.CanvasText)))}}),B_="focus",M_="focusin",R_="focusout",D_="keydown",z_="resize",N_="scroll",O_=x((function e(){var t=this;y(this,e),this.intersectionDetector=null,this.observedElements=new Map,this.requestPosition=function(e,n){var r;null!==t.intersectionDetector&&(t.observedElements.has(e)?null===(r=t.observedElements.get(e))||void 0===r||r.push(n):(t.observedElements.set(e,[n]),t.intersectionDetector.observe(e)))},this.cancelRequestPosition=function(e,n){var r=t.observedElements.get(e);if(void 0!==r){var o=r.indexOf(n);-1!==o&&r.splice(o,1)}},this.initializeIntersectionDetector=function(){jl.IntersectionObserver&&(t.intersectionDetector=new IntersectionObserver(t.handleIntersection,{root:null,rootMargin:"0px",threshold:[0,1]}))},this.handleIntersection=function(e){if(null!==t.intersectionDetector){var n=[],r=[];e.forEach((function(e){var o;null===(o=t.intersectionDetector)||void 0===o||o.unobserve(e.target);var i=t.observedElements.get(e.target);void 0!==i&&(i.forEach((function(t){var o=n.indexOf(t);-1===o&&(o=n.length,n.push(t),r.push([])),r[o].push(e)})),t.observedElements.delete(e.target))})),n.forEach((function(e,t){e(r[t])}))}},this.initializeIntersectionDetector()})),L_=function(e){C(n,e);var t=I(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments)).anchor="",e.viewport="",e.horizontalPositioningMode="uncontrolled",e.horizontalDefaultPosition="unset",e.horizontalViewportLock=!1,e.horizontalInset=!1,e.horizontalScaling="content",e.verticalPositioningMode="uncontrolled",e.verticalDefaultPosition="unset",e.verticalViewportLock=!1,e.verticalInset=!1,e.verticalScaling="content",e.fixedPlacement=!1,e.autoUpdateMode="anchor",e.anchorElement=null,e.viewportElement=null,e.initialLayoutComplete=!1,e.resizeDetector=null,e.baseHorizontalOffset=0,e.baseVerticalOffset=0,e.pendingPositioningUpdate=!1,e.pendingReset=!1,e.currentDirection=Bd.ltr,e.regionVisible=!1,e.forceUpdate=!1,e.updateThreshold=.5,e.update=function(){e.pendingPositioningUpdate||e.requestPositionUpdates()},e.startObservers=function(){e.stopObservers(),null!==e.anchorElement&&(e.requestPositionUpdates(),null!==e.resizeDetector&&(e.resizeDetector.observe(e.anchorElement),e.resizeDetector.observe(_(e))))},e.requestPositionUpdates=function(){null===e.anchorElement||e.pendingPositioningUpdate||(n.intersectionService.requestPosition(_(e),e.handleIntersection),n.intersectionService.requestPosition(e.anchorElement,e.handleIntersection),null!==e.viewportElement&&n.intersectionService.requestPosition(e.viewportElement,e.handleIntersection),e.pendingPositioningUpdate=!0)},e.stopObservers=function(){e.pendingPositioningUpdate&&(e.pendingPositioningUpdate=!1,n.intersectionService.cancelRequestPosition(_(e),e.handleIntersection),null!==e.anchorElement&&n.intersectionService.cancelRequestPosition(e.anchorElement,e.handleIntersection),null!==e.viewportElement&&n.intersectionService.cancelRequestPosition(e.viewportElement,e.handleIntersection)),null!==e.resizeDetector&&e.resizeDetector.disconnect()},e.getViewport=function(){return"string"!==typeof e.viewport||""===e.viewport?document.documentElement:document.getElementById(e.viewport)},e.getAnchor=function(){return document.getElementById(e.anchor)},e.handleIntersection=function(t){e.pendingPositioningUpdate&&(e.pendingPositioningUpdate=!1,e.applyIntersectionEntries(t)&&e.updateLayout())},e.applyIntersectionEntries=function(t){var n=t.find((function(t){return t.target===_(e)})),r=t.find((function(t){return t.target===e.anchorElement})),o=t.find((function(t){return t.target===e.viewportElement}));return void 0!==n&&void 0!==o&&void 0!==r&&(!!(!e.regionVisible||e.forceUpdate||void 0===e.regionRect||void 0===e.anchorRect||void 0===e.viewportRect||e.isRectDifferent(e.anchorRect,r.boundingClientRect)||e.isRectDifferent(e.viewportRect,o.boundingClientRect)||e.isRectDifferent(e.regionRect,n.boundingClientRect))&&(e.regionRect=n.boundingClientRect,e.anchorRect=r.boundingClientRect,e.viewportElement===document.documentElement?e.viewportRect=new DOMRectReadOnly(o.boundingClientRect.x+document.documentElement.scrollLeft,o.boundingClientRect.y+document.documentElement.scrollTop,o.boundingClientRect.width,o.boundingClientRect.height):e.viewportRect=o.boundingClientRect,e.updateRegionOffset(),e.forceUpdate=!1,!0))},e.updateRegionOffset=function(){e.anchorRect&&e.regionRect&&(e.baseHorizontalOffset=e.baseHorizontalOffset+(e.anchorRect.left-e.regionRect.left)+(e.translateX-e.baseHorizontalOffset),e.baseVerticalOffset=e.baseVerticalOffset+(e.anchorRect.top-e.regionRect.top)+(e.translateY-e.baseVerticalOffset))},e.isRectDifferent=function(t,n){return Math.abs(t.top-n.top)>e.updateThreshold||Math.abs(t.right-n.right)>e.updateThreshold||Math.abs(t.bottom-n.bottom)>e.updateThreshold||Math.abs(t.left-n.left)>e.updateThreshold},e.handleResize=function(t){e.update()},e.reset=function(){e.pendingReset&&(e.pendingReset=!1,null===e.anchorElement&&(e.anchorElement=e.getAnchor()),null===e.viewportElement&&(e.viewportElement=e.getViewport()),e.currentDirection=m_(_(e)),e.startObservers())},e.updateLayout=function(){var t=void 0,n=void 0;if("uncontrolled"!==e.horizontalPositioningMode){var r=e.getPositioningOptions(e.horizontalInset);if("center"===e.horizontalDefaultPosition)n="center";else if("unset"!==e.horizontalDefaultPosition){var o=e.horizontalDefaultPosition;if("start"===o||"end"===o){var i=m_(_(e));if(i!==e.currentDirection)return e.currentDirection=i,void e.initialize();o=e.currentDirection===Bd.ltr?"start"===o?"left":"right":"start"===o?"right":"left"}switch(o){case"left":n=e.horizontalInset?"insetStart":"start";break;case"right":n=e.horizontalInset?"insetEnd":"end"}}var a=void 0!==e.horizontalThreshold?e.horizontalThreshold:void 0!==e.regionRect?e.regionRect.width:0,s=void 0!==e.anchorRect?e.anchorRect.left:0,l=void 0!==e.anchorRect?e.anchorRect.right:0,c=void 0!==e.anchorRect?e.anchorRect.width:0,u=void 0!==e.viewportRect?e.viewportRect.left:0,d=void 0!==e.viewportRect?e.viewportRect.right:0;(void 0===n||"locktodefault"!==e.horizontalPositioningMode&&e.getAvailableSpace(n,s,l,c,u,d)e.getAvailableSpace(r[1],s,l,c,u,d)?r[0]:r[1])}if("uncontrolled"!==e.verticalPositioningMode){var f=e.getPositioningOptions(e.verticalInset);if("center"===e.verticalDefaultPosition)t="center";else if("unset"!==e.verticalDefaultPosition)switch(e.verticalDefaultPosition){case"top":t=e.verticalInset?"insetStart":"start";break;case"bottom":t=e.verticalInset?"insetEnd":"end"}var p=void 0!==e.verticalThreshold?e.verticalThreshold:void 0!==e.regionRect?e.regionRect.height:0,h=void 0!==e.anchorRect?e.anchorRect.top:0,m=void 0!==e.anchorRect?e.anchorRect.bottom:0,g=void 0!==e.anchorRect?e.anchorRect.height:0,v=void 0!==e.viewportRect?e.viewportRect.top:0,b=void 0!==e.viewportRect?e.viewportRect.bottom:0;(void 0===t||"locktodefault"!==e.verticalPositioningMode&&e.getAvailableSpace(t,h,m,g,v,b)e.getAvailableSpace(f[1],h,m,g,v,b)?f[0]:f[1])}var y=e.getNextRegionDimension(n,t),k=e.horizontalPosition!==n||e.verticalPosition!==t;if(e.setHorizontalPosition(n,y),e.setVerticalPosition(t,y),e.updateRegionStyle(),!e.initialLayoutComplete)return e.initialLayoutComplete=!0,void e.requestPositionUpdates();e.regionVisible||(e.regionVisible=!0,e.style.removeProperty("pointer-events"),e.style.removeProperty("opacity"),e.classList.toggle("loaded",!0),e.$emit("loaded",_(e),{bubbles:!1})),e.updatePositionClasses(),k&&e.$emit("positionchange",_(e),{bubbles:!1})},e.updateRegionStyle=function(){e.style.width=e.regionWidth,e.style.height=e.regionHeight,e.style.transform="translate(".concat(e.translateX,"px, ").concat(e.translateY,"px)")},e.updatePositionClasses=function(){e.classList.toggle("top","start"===e.verticalPosition),e.classList.toggle("bottom","end"===e.verticalPosition),e.classList.toggle("inset-top","insetStart"===e.verticalPosition),e.classList.toggle("inset-bottom","insetEnd"===e.verticalPosition),e.classList.toggle("vertical-center","center"===e.verticalPosition),e.classList.toggle("left","start"===e.horizontalPosition),e.classList.toggle("right","end"===e.horizontalPosition),e.classList.toggle("inset-left","insetStart"===e.horizontalPosition),e.classList.toggle("inset-right","insetEnd"===e.horizontalPosition),e.classList.toggle("horizontal-center","center"===e.horizontalPosition)},e.setHorizontalPosition=function(t,n){if(void 0!==t&&void 0!==e.regionRect&&void 0!==e.anchorRect&&void 0!==e.viewportRect){var r=0;switch(e.horizontalScaling){case"anchor":case"fill":r=e.horizontalViewportLock?e.viewportRect.width:n.width,e.regionWidth="".concat(r,"px");break;case"content":r=e.regionRect.width,e.regionWidth="unset"}var o=0;switch(t){case"start":e.translateX=e.baseHorizontalOffset-r,e.horizontalViewportLock&&e.anchorRect.left>e.viewportRect.right&&(e.translateX=e.translateX-(e.anchorRect.left-e.viewportRect.right));break;case"insetStart":e.translateX=e.baseHorizontalOffset-r+e.anchorRect.width,e.horizontalViewportLock&&e.anchorRect.right>e.viewportRect.right&&(e.translateX=e.translateX-(e.anchorRect.right-e.viewportRect.right));break;case"insetEnd":e.translateX=e.baseHorizontalOffset,e.horizontalViewportLock&&e.anchorRect.lefte.viewportRect.right)?e.translateX=e.translateX-(i-e.viewportRect.left):a>e.viewportRect.right&&!(ie.viewportRect.bottom&&(e.translateY=e.translateY-(e.anchorRect.top-e.viewportRect.bottom));break;case"insetStart":e.translateY=e.baseVerticalOffset-r+e.anchorRect.height,e.verticalViewportLock&&e.anchorRect.bottom>e.viewportRect.bottom&&(e.translateY=e.translateY-(e.anchorRect.bottom-e.viewportRect.bottom));break;case"insetEnd":e.translateY=e.baseVerticalOffset,e.verticalViewportLock&&e.anchorRect.tope.viewportRect.bottom)?e.translateY=e.translateY-(i-e.viewportRect.top):a>e.viewportRect.bottom&&!(i\n ',"\n ","\n
\n ",'\n
\n \n \n ',"\n ","\n ","\n \n"])),(function(e){return e.role}),(function(e){return e.hasSubmenu?"menu":void 0}),(function(e){return e.role!==d_?e.checked:void 0}),(function(e){return e.disabled}),(function(e){return e.expanded}),(function(e,t){return e.handleMenuItemKeyDown(t.event)}),(function(e,t){return e.handleMenuItemClick(t.event)}),(function(e,t){return e.handleMouseOver(t.event)}),(function(e,t){return e.handleMouseOut(t.event)}),(function(e){return e.disabled?"disabled":""}),(function(e){return e.expanded?"expanded":""}),(function(e){return"indent-".concat(e.startColumnCount)}),tb((function(e){return e.role===f_}),Td(T_||(T_=jr(['\n
\n \n \n ',"\n \n \n
\n "])),t.checkboxIndicator||"")),tb((function(e){return e.role===p_}),Td(__||(__=jr(['\n
\n \n \n ',"\n \n \n
\n "])),t.radioIndicator||"")),gb(0,t),mb(0,t),tb((function(e){return e.hasSubmenu}),Td(E_||(E_=jr(['\n
\n \n \n ',"\n \n \n
\n "])),t.expandCollapseGlyph||"")),tb((function(e){return e.expanded}),Td(I_||(I_=jr(["\n <",'\n :anchorElement="','"\n vertical-positioning-mode="dynamic"\n vertical-default-position="bottom"\n vertical-inset="true"\n horizontal-positioning-mode="dynamic"\n horizontal-default-position="end"\n class="submenu-region"\n dir="','"\n @loaded="','"\n ','\n part="submenu-region"\n >\n
\n ',">\n "])),e.tagFor(L_),(function(e){return e}),(function(e){return e.currentDirection}),(function(e){return e.submenuLoaded()}),fb("submenuRegion"),e.tagFor(L_))))},styles:function(e,t){return Gm(F_||(F_=jr(["\n "," :host {\n contain: layout;\n overflow: visible;\n ","\n box-sizing: border-box;\n height: calc("," * 1px);\n grid-template-columns: minmax(32px, auto) 1fr minmax(32px, auto);\n grid-template-rows: auto;\n justify-items: center;\n align-items: center;\n padding: 0;\n white-space: nowrap;\n color: ",";\n fill: currentcolor;\n cursor: pointer;\n border-radius: calc("," * 1px);\n border: calc("," * 1px) solid transparent;\n position: relative;\n }\n\n :host(.indent-0) {\n grid-template-columns: auto 1fr minmax(32px, auto);\n }\n\n :host(.indent-0) .content {\n grid-column: 1;\n grid-row: 1;\n margin-inline-start: 10px;\n }\n\n :host(.indent-0) .expand-collapse-glyph-container {\n grid-column: 5;\n grid-row: 1;\n }\n\n :host(.indent-2) {\n grid-template-columns: minmax(32px, auto) minmax(32px, auto) 1fr minmax(32px, auto) minmax(32px, auto);\n }\n\n :host(.indent-2) .content {\n grid-column: 3;\n grid-row: 1;\n margin-inline-start: 10px;\n }\n\n :host(.indent-2) .expand-collapse-glyph-container {\n grid-column: 5;\n grid-row: 1;\n }\n\n :host(.indent-2) .start {\n grid-column: 2;\n }\n\n :host(.indent-2) .end {\n grid-column: 4;\n }\n\n :host(:",") {\n ","\n }\n\n :host(:not([disabled]):hover) {\n background: ",";\n }\n\n :host(:not([disabled]):active),\n :host(.expanded) {\n background: ",";\n color: ",";\n z-index: 2;\n }\n\n :host([disabled]) {\n cursor: ",";\n opacity: ",";\n }\n\n .content {\n grid-column-start: 2;\n justify-self: start;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .start,\n .end {\n display: flex;\n justify-content: center;\n }\n\n :host(.indent-0[aria-haspopup='menu']) {\n display: grid;\n grid-template-columns: minmax(32px, auto) auto 1fr minmax(32px, auto) minmax(32px, auto);\n align-items: center;\n min-height: 32px;\n }\n\n :host(.indent-1[aria-haspopup='menu']),\n :host(.indent-1[role='menuitemcheckbox']),\n :host(.indent-1[role='menuitemradio']) {\n display: grid;\n grid-template-columns: minmax(32px, auto) auto 1fr minmax(32px, auto) minmax(32px, auto);\n align-items: center;\n min-height: 32px;\n }\n\n :host(.indent-2:not([aria-haspopup='menu'])) .end {\n grid-column: 5;\n }\n\n :host .input-container,\n :host .expand-collapse-glyph-container {\n display: none;\n }\n\n :host([aria-haspopup='menu']) .expand-collapse-glyph-container,\n :host([role='menuitemcheckbox']) .input-container,\n :host([role='menuitemradio']) .input-container {\n display: grid;\n }\n\n :host([aria-haspopup='menu']) .content,\n :host([role='menuitemcheckbox']) .content,\n :host([role='menuitemradio']) .content {\n grid-column-start: 3;\n }\n\n :host([aria-haspopup='menu'].indent-0) .content {\n grid-column-start: 1;\n }\n\n :host([aria-haspopup='menu']) .end,\n :host([role='menuitemcheckbox']) .end,\n :host([role='menuitemradio']) .end {\n grid-column-start: 4;\n }\n\n :host .expand-collapse,\n :host .checkbox,\n :host .radio {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n box-sizing: border-box;\n }\n\n :host .checkbox-indicator,\n :host .radio-indicator,\n slot[name='checkbox-indicator'],\n slot[name='radio-indicator'] {\n display: none;\n }\n\n ::slotted([slot='end']:not(svg)) {\n margin-inline-end: 10px;\n color: ",";\n }\n\n :host([aria-checked='true']) .checkbox-indicator,\n :host([aria-checked='true']) slot[name='checkbox-indicator'],\n :host([aria-checked='true']) .radio-indicator,\n :host([aria-checked='true']) slot[name='radio-indicator'] {\n display: flex;\n }\n "])),Ym("grid"),xy,ky,fm,Ef,Af,yy,wy,sm,lm,fm,Gb,Cf,gm).withBehaviors(Jm(Gm(j_||(j_=jr(["\n :host,\n ::slotted([slot='end']:not(svg)) {\n forced-color-adjust: none;\n color: ",";\n fill: currentcolor;\n }\n :host(:not([disabled]):hover) {\n background: ",";\n color: ",";\n fill: currentcolor;\n }\n :host(:hover) .start,\n :host(:hover) .end,\n :host(:hover)::slotted(svg),\n :host(:active) .start,\n :host(:active) .end,\n :host(:active)::slotted(svg),\n :host(:hover) ::slotted([slot='end']:not(svg)),\n :host(:",") ::slotted([slot='end']:not(svg)) {\n color: ",";\n fill: currentcolor;\n }\n :host(.expanded) {\n background: ",";\n color: ",";\n }\n :host(:",") {\n background: ",";\n outline-color: ",";\n color: ",";\n fill: currentcolor;\n }\n :host([disabled]),\n :host([disabled]:hover),\n :host([disabled]:hover) .start,\n :host([disabled]:hover) .end,\n :host([disabled]:hover)::slotted(svg),\n :host([disabled]:",") {\n background: ",";\n color: ",";\n fill: currentcolor;\n opacity: 1;\n }\n :host([disabled]:",") {\n outline-color: ",";\n }\n :host .expanded-toggle,\n :host .checkbox,\n :host .radio {\n border-color: ",";\n background: ",";\n }\n :host([checked]) .checkbox,\n :host([checked]) .radio {\n background: ",";\n border-color: ",";\n }\n :host(:hover) .expanded-toggle,\n :host(:hover) .checkbox,\n :host(:hover) .radio,\n :host(:",") .expanded-toggle,\n :host(:",") .checkbox,\n :host(:",") .radio,\n :host([checked]:hover) .checkbox,\n :host([checked]:hover) .radio,\n :host([checked]:",") .checkbox,\n :host([checked]:",") .radio {\n border-color: ",";\n }\n :host([aria-checked='true']) {\n background: ",";\n color: ",";\n }\n :host([aria-checked='true']) .checkbox-indicator,\n :host([aria-checked='true']) ::slotted([slot='checkbox-indicator']),\n :host([aria-checked='true']) ::slotted([slot='radio-indicator']) {\n fill: ",";\n }\n :host([aria-checked='true']) .radio-indicator {\n background: ",";\n }\n "])),Qm.ButtonText,Qm.Highlight,Qm.HighlightText,yy,Qm.HighlightText,Qm.Highlight,Qm.HighlightText,yy,Qm.Highlight,Qm.ButtonText,Qm.HighlightText,yy,Qm.ButtonFace,Qm.GrayText,yy,Qm.GrayText,Qm.ButtonText,Qm.HighlightText,Qm.HighlightText,Qm.HighlightText,yy,yy,yy,yy,yy,Qm.HighlightText,Qm.Highlight,Qm.HighlightText,Qm.Highlight,Qm.Highlight)),new Ux(Gm(H_||(H_=jr(["\n .expand-collapse-glyph-container {\n transform: rotate(0deg);\n }\n "]))),Gm(q_||(q_=jr(["\n .expand-collapse-glyph-container {\n transform: rotate(180deg);\n }\n "])))))},checkboxIndicator:'\n
\n ',expandCollapseGlyph:'\n
\n ',radioIndicator:'\n
\n '}),K_=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},G_=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Yu(P_,W_,My);var Z_=function(e){C(n,e);var t=I(n);function n(){var e;return y(this,n),(e=t.call(this)).onHeaderClick=function(t){Object.keys(e.options).length>1&&(t.preventDefault(),t.stopPropagation(),e.open=!e.open)},e.onHeaderKeyDown=function(t){if("Enter"===t.key){t.preventDefault(),t.stopPropagation(),e.open=!e.open;var n=e.renderRoot.querySelector("fluent-menu");n&&(n.classList.remove("closed"),n.classList.add("open"));var r=t.target;if(r){var o=e.renderRoot.querySelector("fluent-menu-item[tabindex='0']");o&&(r.blur(),o.focus())}}},e.value="",e.options={},e._clickHandler=function(){return e.open=!1},window.addEventListener("onblur",(function(){return e.open=!1})),e}return x(n,[{key:"connectedCallback",value:function(){Ge(S(n.prototype),"connectedCallback",this).call(this),window.addEventListener("click",this._clickHandler)}},{key:"disconnectedCallback",value:function(){window.removeEventListener("click",this._clickHandler),Ge(S(n.prototype),"disconnectedCallback",this).call(this)}},{key:"render",value:function(){return rr(U_||(U_=jr(['\n \n
\n ","\n "])),this.onHeaderClick,this.onHeaderKeyDown,this.value,oi({menu:!0,open:this.open,closed:!this.open}),this.getMenuOptions())}},{key:"getMenuOptions",value:function(){var e=this;return Object.keys(this.options).map((function(t){return rr(V_||(V_=jr(["\n
\n ","\n "])),(function(n){e.open=!1,e.options[t](n)}),(function(n){var r=e.renderRoot.querySelector(".header");"Enter"===n.key?(e.open=!1,e.options[t](n),r.focus()):"Tab"===n.key?e.open=!1:"Escape"===n.key&&(e.open=!1,r&&r.focus())}),t)}))}}],[{key:"styles",get:function(){return u_}}]),n}(Nr);K_([Ar({type:Boolean}),G_("design:type",Boolean)],Z_.prototype,"open",void 0),K_([Ar({type:String}),G_("design:type",String)],Z_.prototype,"value",void 0),K_([Ar({type:Object}),G_("design:type",Object)],Z_.prototype,"options",void 0),Z_=K_([Mo("arrow-options"),G_("design:paramtypes",[])],Z_);var $_,Y_,Q_,X_={dotOptionsTitle:"More options"},J_=[Tn($_||($_=jr(['\n:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\e70d"}.ms-icon-chevron-up::before{content:"\\e70e"}.ms-icon-contact::before{content:"\\e77b"}.ms-icon-add-friend::before{content:"\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\eb6d"}:host{display:flex;flex-direction:column;align-items:flex-end}:host .dot-icon{font-family:FabricMDL2Icons;min-width:40px;min-height:30px;text-align:center;line-height:30px}:host .menu{position:absolute;box-shadow:var(--neutral-fill-rest) 0 0 40px 5px;background:var(--neutral-fill-rest);z-index:1;display:none;white-space:nowrap;transform:var(--dot-options-translatey,translateY(32px))}:host .menu.open{display:block}:host fluent-button::part(control){background:inherit}\n'],['\n:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size,14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\\\\e70d"}.ms-icon-chevron-up::before{content:"\\\\\\e70e"}.ms-icon-contact::before{content:"\\\\\\e77b"}.ms-icon-add-friend::before{content:"\\\\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\\\\eb6d"}:host{display:flex;flex-direction:column;align-items:flex-end}:host .dot-icon{font-family:FabricMDL2Icons;min-width:40px;min-height:30px;text-align:center;line-height:30px}:host .menu{position:absolute;box-shadow:var(--neutral-fill-rest) 0 0 40px 5px;background:var(--neutral-fill-rest);z-index:1;display:none;white-space:nowrap;transform:var(--dot-options-translatey,translateY(32px))}:host .menu.open{display:block}:host fluent-button::part(control){background:inherit}\n'])))],eE=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},tE=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Yu(P_,W_,My);var nE,rE=function(e){C(n,e);var t=I(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments))._clickHandler=function(){return e.open=!1},e.handleItemClick=function(t,n){t.preventDefault(),t.stopPropagation(),n(t),e.open=!1},e.handleItemKeydown=function(t,n){e.handleKeydownMenuOption(t),n(t),e.open=!1},e.onDotClick=function(t){t.preventDefault(),t.stopPropagation(),e.open=!e.open},e.onDotKeydown=function(t){"Enter"===t.key&&(t.preventDefault(),t.stopPropagation(),e.open=!e.open)},e}return x(n,[{key:"strings",get:function(){return X_}},{key:"connectedCallback",value:function(){Ge(S(n.prototype),"connectedCallback",this).call(this),window.addEventListener("click",this._clickHandler)}},{key:"disconnectedCallback",value:function(){window.removeEventListener("click",this._clickHandler),Ge(S(n.prototype),"disconnectedCallback",this).call(this)}},{key:"render",value:function(){var e=this,t=Object.keys(this.options);return rr(Y_||(Y_=jr(['\n
\ue712\n
\n "])),oi({task:!0,"new-task":!0}),n,o,s,u,c,d)}},{key:"togglePeoplePicker",value:function(e){var t=this.getPeoplePicker(e),n=this.getMgtPeople(e),r=this.getFlyout(e);t&&n&&r&&(r.isOpen?r.close():(t.selectedPeople=n.people,r.open(),setTimeout((function(){return t.focus()}),100)))}},{key:"updateAssignedPeople",value:function(e){var t=this.getPeoplePicker(e),n=this.getMgtPeople(e);t&&t.selectedPeople!==n.people&&(n.people=t.selectedPeople,this.assignPeople(e,t.selectedPeople))}},{key:"getPeoplePicker",value:function(e){var t=e?e.id:"new-task";return this.renderRoot.querySelector(".picker-".concat(t))}},{key:"getMgtPeople",value:function(e){var t=e?e.id:"new-task";return this.renderRoot.querySelector(".people-".concat(t))}},{key:"getFlyout",value:function(e){var t=e?e.id:"new-task";return this.renderRoot.querySelector(".flyout-".concat(t))}},{key:"renderTask",value:function(e){var t=this,n=e.name,r=void 0===n?"Task":n,o=e.completed,i=void 0!==o&&o,a=e.dueDate,s=this._currentGroup?null:this.getPlanTitle(e.topParentId),l=this._currentFolder?null:this.getFolderName(e.immediateParentId),c={task:Object.assign(Object.assign({},e._raw),{groupTitle:s,folderTitle:l})},u=this.renderTemplate("task",c,e.id);if(u)return u;var d=this.renderTemplate("task-details",c,"task-details-".concat(e.id));if(!d){var f="var(--neutral-foreground-hint)",p=this.dataSource===II.todo||this._currentGroup?null:rr(bI||(bI=jr(['\n
\n "])),this.renderPlannerIcon(f),this.getPlanTitle(e.topParentId)),m=this._currentFolder?null:rr(yI||(yI=jr(['\n
\n "])),this.renderBucketIcon(f),this.getFolderName(e.immediateParentId)),g=a?rr(kI||(kI=jr(['\n
\n "])),this.strings.due,function(e){var t=e.getMonth(),n=e.getDate();return"".concat(ai(t)," ").concat(n)}(a)):null,v=this.dataSource===II.todo?null:this.renderAssignedPeople(e);d=rr(xI||(xI=jr([""," "," "," ",""])),p,m,v,g)}var b=this.readOnly||this.hideOptions?null:Bo(wI||(wI=jr(['\n
'])),h({},this.strings.removeTaskSubtitle,(function(){return t.removeTask(e)}))),y=oi({task:!0,complete:i,incomplete:!i,"read-only":this.readOnly});return rr(CI||(CI=jr(['\n
\n "])),e.id,y,(function(){return t.handleTaskClick(e)}),(function(n){return t.checkTask(n,e)}),(function(n){return t.handleTaskCheckKeyDown(n,e)}),i,r,b,d)}},{key:"handleTaskCheckKeyDown",value:function(e,t){return MI(this,void 0,void 0,Xe().mark((function n(){return Xe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("Enter"!==e.key){n.next=11;break}if(this.readOnly){n.next=11;break}if(t.completed){n.next=7;break}return n.next=5,this.completeTask(t);case 5:n.next=9;break;case 7:return n.next=9,this.uncompleteTask(t);case 9:e.stopPropagation(),e.preventDefault();case 11:case"end":return n.stop()}}),n,this)})))}},{key:"checkTask",value:function(e,t){return MI(this,void 0,void 0,Xe().mark((function n(){var r;return Xe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(this.readOnly){n.next=13;break}if((r=this.shadowRoot.querySelector("[data-id='task-".concat(t.id,"'")))&&r.classList.add("updating"),t.completed){n.next=8;break}return n.next=6,this.completeTask(t);case 6:n.next=10;break;case 8:return n.next=10,this.uncompleteTask(t);case 10:r&&r.classList.remove("updating"),e.stopPropagation(),e.preventDefault();case 13:case"end":return n.stop()}}),n,this)})))}},{key:"renderAssignedPeople",value:function(e){var t,n,r=this,o={"new-task-assignee":null===e,"task-assignee":null!==e,"task-detail":null!==e},i=e?e.id:"new-task";o["flyout-".concat(i)]=!0;var a=e?Object.keys(e.assignments).map((function(e){return e})):[];if(!this.newTaskVisible){var s=null===e||void 0===e?void 0:e._raw,l=null===s||void 0===s?void 0:s.planId;if(l)n=null===(t=this._groups.filter((function(e){return e.id===l})).pop())||void 0===t?void 0:t.containerId}var c=this.isNewTaskVisible?this._newTaskContainerId:n,u=Bo(SI||(SI=jr(['\n
'])),i,a,Ts.none,(function(t){return r.handlePeopleClick(t,e)}),(function(t){return r.handlePeopleKeydown(t,e)})),d=Bo(TI||(TI=jr(['\n