Pv.none))return e;n=this._getNextSelectableIndex(n,t)}return n},e.prototype._setSelectedIndex=function(t,e,o){void 0===o&&(o=Pv.none);var n=this.props,r=n.onChange,i=n.onPendingValueChanged,a=n.hoisted,s=a.selectedIndices,l=a.currentOptions,c=s?s.slice():[],u=l.slice();if(Jv(l,t=this._getNextSelectableIndex(t,o))){if(this.props.multiSelect||c.length<1||1===c.length&&c[0]!==t){var d=pt({},l[t]);if(!d||d.disabled)return;if(this.props.multiSelect)if(d.selected=void 0!==d.selected?!d.selected:c.indexOf(t)<0,d.itemType===Tv.SelectAll)c=[],d.selected?l.forEach(function(e,t){!e.disabled&&eb(e)&&(c.push(t),u[t]=pt(pt({},e),{selected:!0}))}):u=l.map(function(e){return pt(pt({},e),{selected:!1})});else{d.selected&&c.indexOf(t)<0?c.push(t):!d.selected&&c.indexOf(t)>=0&&(c=c.filter(function(e){return e!==t})),u[t]=d;var p=u.filter(function(e){return e.itemType===Tv.SelectAll})[0];if(p){var h=this._isSelectAllChecked(c),m=u.indexOf(p);h?(c.push(m),u[m]=pt(pt({},p),{selected:!0})):(c=c.filter(function(e){return e!==m}),u[m]=pt(pt({},p),{selected:!1}))}}else c[0]=t;e.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(c),this.props.hoisted.setCurrentOptions(u)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),r&&r(e,d,t,tb(d))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},e.prototype._submitPendingValue=function(e){var t,o=this.props,n=o.onChange,r=o.allowFreeform,i=o.autoComplete,a=o.multiSelect,s=o.hoisted,l=s.currentOptions,c=this.state,u=c.currentPendingValue,d=c.currentPendingValueValidIndex,p=c.currentPendingValueValidIndexOnHover,h=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(r){if(null==u)return void(p>=0&&(this._setSelectedIndex(p,e),this._clearPendingInfo()));if(Jv(l,d)){var m=this._adjustForCaseSensitivity(tb(l[d])),f=this._autofill.current,g=this._adjustForCaseSensitivity(u);if(g===m||i&&0===m.indexOf(g)&&(null==f?void 0:f.isValueSelected)&&u.length+(f.selectionEnd-f.selectionStart)===m.length||void 0!==(null===(t=null==f?void 0:f.inputElement)||void 0===t?void 0:t.value)&&this._adjustForCaseSensitivity(f.inputElement.value)===m){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(n)n&&n(e,void 0,void 0,u);else{var v={key:u||bs(),text:Qv(u)};a&&(v.selected=!0);var b=l.concat([v]);h&&(a||(h=[]),h.push(b.length-1)),s.setCurrentOptions(b),s.setSelectedIndices(h)}}else d>=0?this._setSelectedIndex(d,e):p>=0&&this._setSelectedIndex(p,e);this._clearPendingInfo()}},e.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},e.prototype._renderSeparator=function(e){var t=e.index,o=e.key;return t&&t>0?ht.createElement("div",{role:"presentation",key:o,className:this._classNames.divider}):null},e.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOptionContent:t;return ht.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},o(e,this._onRenderOptionContent))},e.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},e.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==Rv.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},e.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},e.prototype._isOptionChecked=function(e){return!(!this.props.multiSelect||void 0===e||!this.props.hoisted.selectedIndices)&&this.props.hoisted.selectedIndices.indexOf(e)>=0},e.prototype._isOptionIndeterminate=function(e){var t=this.props,o=t.multiSelect,n=t.hoisted;if(o&&void 0!==e&&n.selectedIndices&&n.currentOptions){var r=n.currentOptions[e];if(r&&r.itemType===Tv.SelectAll)return n.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},e.prototype._isSelectAllChecked=function(e){var t=this.props,o=t.multiSelect,n=t.hoisted,r=n.currentOptions.find(function(e){return e.itemType===Tv.SelectAll}),i=e||n.selectedIndices;if(!o||!i||!r)return!1;var a=n.currentOptions.indexOf(r),s=i.filter(function(e){return e!==a}),l=n.currentOptions.filter(function(e){return!e.disabled&&e.itemType!==Tv.SelectAll&&eb(e)});return s.length===l.length},e.prototype._getPendingSelectedIndex=function(e){var t=this.state,o=t.currentPendingValueValidIndex,n=t.currentPendingValue;return o>=0||e&&null!=n?o:this.props.multiSelect?-1:this._getFirstSelectedIndex()},e.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,o=e.scrollSelectedToTop,n=this._getPendingSelectedIndex(!0);if(t)t(n>=0?n:this._getFirstSelectedIndex());else{var r=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(r=qv(this._comboBoxMenu.current,function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===n.toString()})),r&&r.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,s=r.offsetParent,l=s.offsetHeight,c=s.offsetTop,u=a,d=u.offsetHeight,p=u.scrollTop,h=c+l>p+d;c0&&t=0&&e=o.length-1?e=-1:t===Pv.backward&&e<=0&&(e=o.length);var n=this._getNextSelectableIndex(e,t);e===n?t===Pv.forward?e=this._getNextSelectableIndex(-1,t):t===Pv.backward&&(e=this._getNextSelectableIndex(o.length,t)):e=n,Jv(o,e)&&this._setPendingInfoFromIndex(e)},e.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var o=this.props.hoisted.currentOptions,n=this.state,r=n.currentPendingValue,i=n.currentPendingValueValidIndex,a=n.currentPendingValueValidIndexOnHover,s=void 0,l=void 0;a!==e.currentPendingValueValidIndexOnHover&&Jv(o,a)?s=a:i!==e.currentPendingValueValidIndex&&Jv(o,i)?s=i:r!==e.currentPendingValue&&(l=r),(void 0!==s||void 0!==l||this._hasPendingValue)&&(t(void 0!==s?o[s]:void 0,s,l),this._hasPendingValue=void 0!==s||void 0!==l)}},e.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},e.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},e.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},e.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},e.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==sr.tab&&e.which!==sr.escape&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},e.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0},500)},e.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return Lv(this.props.theme,e)},e.prototype._getCurrentOptionStyles=function(e){var t,o=this.props.comboBoxOptionStyles,n=e.styles,r=Fv(this.props.theme,o,n,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index));return r.__shadowConfig__=null===(t=this.props.styles)||void 0===t?void 0:t.__shadowConfig__,r},e.prototype._getAriaAutoCompleteValue=function(){return this.props.disabled||"on"!==this.props.autoComplete?"list":this.props.allowFreeform?"inline":"both"},e.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},e.prototype._hasFocus=function(){return"none"!==this.state.focusState},e.prototype._adjustForCaseSensitivity=function(e){return this.props.caseSensitive?e:e.toLowerCase()},e.contextType=ga,u([gp("ComboBox",["theme","styles"],!0)],e)}(ht.Component);function Zv(o,e){if(!o||!e)return[];var n={};o.forEach(function(e,t){e.selected&&(n[t]=!0)});for(var t=function(t){var e=Ta(o,function(e){return e.key===t});e>-1&&(n[e]=!0)},r=0,i=e;r=0&&te){if(t&&this._scrollElement){for(var d=ub(this._scrollElement),p=rb(this._scrollElement),h={top:p,bottom:p+d.height},m=e-l,f=0;f=h.top&&g<=h.bottom)return;ah.bottom&&(a=g-d.height)}return void(this._scrollElement&&ib(this._scrollElement,a))}a+=u}},e.prototype.getStartItemIndexInView=function(e){for(var t=0,o=this.state.pages||[];t=n.top&&(this._scrollTop||0)<=n.top+n.height){if(!e){var r=Math.floor(n.height/n.itemCount);return n.startIndex+Math.floor((this._scrollTop-n.top)/r)}for(var i=0,a=n.startIndex;a0?n:void 0,"aria-label":l.length>0?c["aria-label"]:void 0})})},e.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},e.prototype._invalidatePageCache=function(){this._pageCache={}},e.prototype._renderPage=function(t){var e,o=this,n=this.props.usePageCache;if(n&&(e=this._pageCache[t.key])&&e.pageElement)return e.pageElement;var r=this._getPageStyle(t),i=this.props.onRenderPage,a=(void 0===i?this._onRenderPage:i)({page:t,className:"ms-List-page",key:t.key,ref:function(e){o._pageRefs[t.key]=e},style:r,role:"presentation"},this._onRenderPage);return n&&0===t.startIndex&&(this._pageCache[t.key]={page:t,pageElement:a}),a},e.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return pt(pt({},t?t(e):{}),e.items?{}:{height:e.height})},e.prototype._onFocus=function(e){for(var t=e.target;t!==this._surface.current;){var o=t.getAttribute("data-list-index");if(o){this._focusedIndex=Number(o);break}t=Wa(t)}},e.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDoneDebounced()},e.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},e.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(this.props,this.state),this._materializedRect&&(e=this._requiredRect,t=this._materializedRect,e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)||this.setState(this._updatePages(this.props,this.state))},e.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,o=e.renderedWindowsBehind,n=this._requiredWindowsAhead,r=this._requiredWindowsBehind,i=Math.min(t,n+1),a=Math.min(o,r+1);i===n&&a===r||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(t>i||o>a)&&this._onAsyncIdleDebounced()},e.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||(this.setState({isScrolling:!1}),this._onAsyncIdle())},e.prototype._onAsyncResize=function(){this.forceUpdate()},e.prototype._updatePages=function(e,t){this._requiredRect||this._updateRenderRects(e,t);var o=this._buildPages(e,t),n=t.pages;return this._notifyPageChanges(n,o.pages,this.props),pt(pt(pt({},t),o),{pagesVersion:{}})},e.prototype._notifyPageChanges=function(e,t,o){var n=o.onPageAdded,r=o.onPageRemoved;if(n||r){for(var i={},a=0,s=e;a-1,c=!I||s>=I.top&&C<=I.bottom,u=!D._requiredRect||s>=D._requiredRect.top&&C<=D._requiredRect.bottom;if(!w&&(u||c&&l)||!k||S>=t&&S=D._visibleRect.top&&C<=D._visibleRect.bottom),b.push(p),u&&D._allowedRect&&(i=v,a={top:C,bottom:s,height:o,left:I.left,right:I.right,width:I.width},i.top=a.topi.bottom||-1===i.bottom?a.bottom:i.bottom,i.right=a.right>i.right||-1===i.right?a.right:i.right,i.width=i.right-i.left+1,i.height=i.bottom-i.top+1)}else _||(_=D._createPage(ab+t,void 0,t,0,void 0,n,!0)),_.height=(_.height||0)+(s-C)+1,_.itemCount+=y;if(C+=s-C+1,w&&k)return"break"},D=this,n=g;n.3333333333333333*this._estimatedPageHeight)&&(a=this._surfaceRect=cb(this._surface.current),this._scrollTop=l),!o&&s&&s===this._scrollHeight||this._measureVersion++,this._scrollHeight=s||0;var c=Math.max(0,-a.top),u=ut(this._root.current),d={top:c,left:a.left,bottom:c+u.innerHeight,right:a.right,width:a.width,height:u.innerHeight};this._requiredRect=pb(d,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=pb(d,r,n),this._visibleRect=d}},e.defaultProps={startIndex:0,onRenderCell:function(e,t,o){return ht.createElement(ht.Fragment,null,e&&e.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:2,renderedWindowsBehind:2},e.contextType=ga,e}(ht.Component);function pb(e,t,o){var n=e.top-t*e.height,r=e.height+(t+o)*e.height;return{top:n,bottom:n+r,height:r,left:e.left,right:e.right,width:e.width}}var hb=function(t){function e(e){var n=t.call(this,e)||this;return n._comboBox=ht.createRef(),n._list=ht.createRef(),n._onRenderList=function(e){var t=e.id,o=e.onRenderItem;return ht.createElement(db,{componentRef:n._list,role:"listbox",id:"".concat(t,"-list"),"aria-labelledby":"".concat(t,"-label"),items:e.options,onRenderCell:o?function(e){return o(e)}:function(){return null}})},n._onScrollToItem=function(e){n._list.current&&n._list.current.scrollToIndex(e)},ua(n),n}return m(e,t),Object.defineProperty(e.prototype,"selectedOptions",{get:function(){return this._comboBox.current?this._comboBox.current.selectedOptions:[]},enumerable:!1,configurable:!0}),e.prototype.dismissMenu=function(){if(this._comboBox.current)return this._comboBox.current.dismissMenu()},e.prototype.focus=function(e,t){return!!this._comboBox.current&&(this._comboBox.current.focus(e,t),!0)},e.prototype.render=function(){return ht.createElement(jv,pt({},this.props,{componentRef:this._comboBox,onRenderList:this._onRenderList,onScrollToItem:this._onScrollToItem}))},e}(ht.Component),mb=function(e,t,o){for(var n=0,r=e;n0;return ht.createElement("div",pt({},qr(e,jr),{role:c||"group","aria-orientation":"menubar"===c?!0===l?"vertical":"horizontal":void 0,className:h.root,ref:n}),"start"===d&&m&&ht.createElement(gb,pt({},e,{className:h.overflowButton})),r&&r.map(function(e,t){return ht.createElement("div",{className:h.item,key:e.key,role:"none"},p(e))}),"end"===d&&m&&ht.createElement(gb,pt({},e,{className:h.overflowButton})))});bb.displayName="OverflowSet";var yb={flexShrink:0,display:"inherit"},Cb=ir(bb,function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",yb],overflowButton:["ms-OverflowSet-overflowButton",yb]}},void 0,{scope:"OverflowSet"}),_b=function(e){var t=e.className,o=e.theme,n=o.semanticColors;return{root:[o.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:n.bodyBackground,padding:"0 14px 0 24px",height:44},t],primarySet:["ms-CommandBar-primaryCommand",{flexGrow:"1",display:"flex",alignItems:"stretch"}],secondarySet:["ms-CommandBar-secondaryCommand",{flexShrink:"0",display:"flex",alignItems:"stretch"}]}},Sb=Do(function(e){var t={height:"100%"},o={whiteSpace:"nowrap"},n=e||{},r=n.root,i=n.label,a=Fe(n,["root","label"]);return pt(pt({},a),{root:r?[t,r]:t,label:i?[o,i]:o})}),xb=vr(),kb=function(t){function e(e){var d=t.call(this,e)||this;return d._overflowSet=ht.createRef(),d._resizeGroup=ht.createRef(),d._onRenderData=function(e){var t=d.props,o=t.ariaLabel,n=t.primaryGroupAriaLabel,r=t.farItemsGroupAriaLabel,i=e.farItems&&e.farItems.length>0;return ht.createElement(Xs,{className:hi(d._classNames.root),direction:xa.horizontal,role:"menubar","aria-label":o},ht.createElement(Cb,{role:i?"group":"none","aria-label":i?n:void 0,componentRef:d._overflowSet,className:hi(d._classNames.primarySet),items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:d._onRenderItem,onRenderOverflowButton:d._onRenderOverflowButton}),i&&ht.createElement(Cb,{role:"group","aria-label":r,className:hi(d._classNames.secondarySet),items:e.farItems,onRenderItem:d._onRenderItem,onRenderOverflowButton:Il}))},d._onRenderItem=function(e){if(e.onRender)return e.onRender(e,function(){});var t=e.text||e.name,o=pt(pt({allowDisabledFocus:!0,role:"menuitem"},e),{styles:Sb(e.buttonStyles),className:hi("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:d._onButtonClick(e)});return e.iconOnly&&(void 0!==t||e.tooltipHostProps)?ht.createElement(Gp,pt({role:"none",content:t,setAriaDescribedBy:!1},e.tooltipHostProps),d._commandButton(e,o)):d._commandButton(e,o)},d._commandButton=function(e,t){var o=d.props.buttonAs,n=e.commandBarButtonAs,r=mh;return n&&(r=Hl(n,r)),o&&(r=Hl(o,r)),ht.createElement(r,pt({},t))},d._onRenderOverflowButton=function(e){var t=d.props.overflowButtonProps,o=void 0===t?{}:t,n=z(z([],o.menuProps?o.menuProps.items:[],!0),e,!0),r=pt(pt({role:"menuitem"},o),{styles:pt({menuIcon:{fontSize:"17px"}},o.styles),className:hi("ms-CommandBar-overflowButton",o.className),menuProps:pt(pt({},o.menuProps),{items:n}),menuIconProps:pt({iconName:"More"},o.menuIconProps)}),i=d.props.overflowButtonAs?Hl(d.props.overflowButtonAs,mh):mh;return ht.createElement(i,pt({},r))},d._onReduceData=function(e){var t=d.props,o=t.shiftOnReduce,n=t.onDataReduced,r=e.primaryItems,i=e.overflowItems,a=e.cacheKey,s=e.farItems,l=r[o?0:r.length-1];if(void 0!==l){l.renderedInOverflow=!0,i=z([l],i,!0),r=o?r.slice(1):r.slice(0,-1);var c=pt(pt({},e),{primaryItems:r,overflowItems:i});return a=d._computeCacheKey({primaryItems:r,overflow:i.length>0,farItems:s}),n&&n(l),c.cacheKey=a,c}},d._onGrowData=function(e){var t=d.props,o=t.shiftOnReduce,n=t.onDataGrown,r=e.minimumOverflowItems,i=e.primaryItems,a=e.overflowItems,s=e.cacheKey,l=e.farItems,c=a[0];if(void 0!==c&&a.length>r){c.renderedInOverflow=!1,a=a.slice(1),i=o?z([c],i,!0):z(z([],i,!0),[c],!1);var u=pt(pt({},e),{primaryItems:i,overflowItems:a});return s=d._computeCacheKey({primaryItems:i,overflow:a.length>0,farItems:l}),n&&n(c),u.cacheKey=s,u}},ua(d),d}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.items,o=e.overflowItems,n=e.farItems,r=e.styles,i=e.theme,a=e.dataDidRender,s=e.onReduceData,l=void 0===s?this._onReduceData:s,c=e.onGrowData,u=void 0===c?this._onGrowData:c,d=e.resizeGroupAs,p=void 0===d?Np:d,h={primaryItems:z([],t,!0),overflowItems:z([],o,!0),minimumOverflowItems:z([],o,!0).length,farItems:n,cacheKey:this._computeCacheKey({primaryItems:z([],t,!0),overflow:o&&o.length>0,farItems:n})};this._classNames=xb(r,{theme:i});var m=qr(this.props,jr);return ht.createElement(p,pt({},m,{componentRef:this._resizeGroup,data:h,onReduceData:l,onGrowData:u,onRenderData:this._onRenderData,dataDidRender:a}))},e.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},e.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},e.prototype._onButtonClick=function(t){return function(e){t.inactive||t.onClick&&t.onClick(e,t)}},e.prototype._computeCacheKey=function(e){var t=e.primaryItems,o=e.overflow,n=e.farItems,r=function(e,t){var o=t.cacheKey;return e+(void 0===o?t.key:o)};return[t&&t.reduce(r,""),o?"overflow":"",n&&n.reduce(r,"")].join("")},e.defaultProps={items:[],overflowItems:[]},e}(ht.Component),wb=ir(kb,_b,void 0,{scope:"CommandBar"}),Ib=pt(pt({},xm),{prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker",isRequiredErrorMessage:"Field is required",invalidInputErrorMessage:"Invalid date format",isResetStatusMessage:'Invalid entry "{0}", date reset to "{1}"'}),Db=vr(),Eb={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){e.match(/^\d{4}(-\d{2}){2}$/)&&(e+="T12:00");var t=Date.parse(e);return t?new Date(t):null},firstDayOfWeek:Sh.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:Ib,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:kh.FirstDay,showGoToToday:!0,showCloseButton:!1,underlined:!1,allFocusable:!1},Tb=ht.forwardRef(function(e,t){var o,n,r=Cr(Eb,e),i=r.firstDayOfWeek,a=r.strings,s=r.label,l=r.theme,c=r.className,u=r.styles,d=r.initialPickerDate,p=r.isRequired,h=r.disabled,m=r.ariaLabel,f=r.pickerAriaLabel,g=r.placeholder,v=r.allowTextInput,b=r.borderless,y=r.minDate,C=r.maxDate,_=r.showCloseButton,S=r.calendarProps,x=r.calloutProps,k=r.textField,w=r.underlined,I=r.allFocusable,D=r.calendarAs,E=void 0===D?Zm:D,T=r.tabIndex,P=r.disableAutoFocus,R=void 0===P||P,M=Sd("DatePicker",r.id),N=Sd("DatePicker-Callout"),B=ht.useRef(null),A=ht.useRef(null),F=function(){var o=ht.useRef(null),e=ht.useRef(!1);return[o,function(){var e,t;null===(t=null===(e=o.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)},e,function(){e.current=!0}]}(),L=F[0],O=F[1],H=F[2],z=F[3],W=function(e,t){var o=e.allowTextInput,n=e.onAfterMenuDismiss,r=ht.useState(!1),i=r[0],a=r[1],s=ht.useRef(!1),l=Rc();return ht.useEffect(function(){s.current&&!i&&(o&&l.requestAnimationFrame(t),null==n||n()),s.current=!0},[i]),[i,a]}(r,O),V=W[0],K=W[1],G=function(e){var t=e.formatDate,o=e.value,n=e.onSelectDate,r=Km(o,void 0,function(e,t){return null==n?void 0:n(t)}),i=r[0],a=r[1],s=ht.useState(function(){return o&&t?t(o):""}),l=s[0],c=s[1];return ht.useEffect(function(){c(o&&t?t(o):"")},[t,o]),[i,l,function(e){a(e),c(e&&t?t(e):"")},c]}(r),U=G[0],j=G[1],q=G[2],Y=G[3],Z=function(e,n,r,i,t){var o,a=e.isRequired,s=e.allowTextInput,l=e.strings,c=e.parseDateFromString,u=e.onSelectDate,d=e.formatDate,p=e.minDate,h=e.maxDate,m=e.textField,f=ht.useState(),g=f[0],v=f[1],b=ht.useState(),y=b[0],C=b[1],_=ht.useRef(!0),S=null===(o=null==m?void 0:m.validateOnLoad)||void 0===o||o;return ht.useEffect(function(){_.current&&(_.current=!1,!S)||(a&&!n?v(l.isRequiredErrorMessage||" "):n&&Pb(n,p,h)?v(l.isOutOfBoundsErrorMessage||" "):v(void 0))},[p&&Zh(p),h&&Zh(h),n&&Zh(n),a,S]),[t?void 0:g,function(e){if(void 0===e&&(e=null),s)if(i||e){if(n&&!g&&d&&d(null!=e?e:n)===i)return;if(!(e=e||c(i))||isNaN(e.getTime())){r(n);var t=d?d(n):"",o=l.isResetStatusMessage?tm(l.isResetStatusMessage,i,t):l.invalidInputErrorMessage||"";C(o)}else Pb(e,p,h)?v(l.isOutOfBoundsErrorMessage||" "):(r(e),v(void 0),C(void 0))}else v(a?l.isRequiredErrorMessage||" ":void 0),null==u||u(e);else a&&!i?v(l.isRequiredErrorMessage||" "):(v(void 0),C(void 0))},v,t?void 0:y,C]}(r,U,q,j,V),X=Z[0],Q=Z[1],J=Z[2],$=Z[3],ee=Z[4],te=ht.useCallback(function(){V||(z(),K(!0))},[V,z,K]);ht.useImperativeHandle(r.componentRef,function(){return{focus:O,reset:function(){K(!1),q(void 0),J(void 0),ee(void 0)},showDatePickerPopup:te}},[O,J,K,q,ee,te]);var oe=function(e){V&&(K(!1),Q(e),!v&&e&&q(e))},ne=function(e){z(),oe(e)},re=Db(u,{theme:l,className:c,disabled:h,underlined:w,label:!!s,isDatePickerShown:V}),ie=qr(r,jr,["value"]),ae=k&&k.iconProps,se=k&&k.id&&k.id!==M?k.id:M+"-label",le=!v&&!h,ce=null===(n=null!==(o=null==k?void 0:k["data-is-focusable"])&&void 0!==o?o:r["data-is-focusable"])||void 0===n||n,ue=v?{role:"button","aria-expanded":V,"aria-label":null!=m?m:s,"aria-labelledby":k&&k["aria-labelledby"]}:{};return ht.createElement("div",pt({},ie,{className:re.root,ref:t}),ht.createElement("div",{ref:A,"aria-owns":V?N:void 0,className:re.wrapper},ht.createElement(pv,pt({role:"combobox",label:s,"aria-expanded":V,"aria-required":p,ariaLabel:m,"aria-haspopup":"dialog","aria-controls":V?N:void 0,required:p,disabled:h,errorMessage:X,placeholder:g,borderless:b,value:j,componentRef:L,underlined:w,tabIndex:T,readOnly:!v},k,{"data-is-focusable":ce,id:se,className:hi(re.textField,k&&k.className),iconProps:pt(pt(pt({iconName:"Calendar"},ue),ae),{className:hi(re.icon,ae&&ae.className),onClick:function(e){e.stopPropagation(),V||r.disabled?r.allowTextInput&&oe():te()}}),onRenderDescription:function(e,t){return ht.createElement(ht.Fragment,null,e.description||e.onRenderDescription?t(e):null,ht.createElement("div",{"aria-live":"assertive",className:re.statusMessage},$))},onKeyDown:function(e){switch(e.which){case sr.enter:e.preventDefault(),e.stopPropagation(),V?r.allowTextInput&&oe():(Q(),te());break;case sr.escape:!function(e){V&&(e.stopPropagation(),ne())}(e);break;case sr.down:e.altKey&&!V&&te()}},onFocus:function(){R||v||(H.current||te(),H.current=!1)},onBlur:function(e){Q()},onClick:function(e){!r.openOnClick&&r.disableAutoFocus||V||r.disabled?r.allowTextInput&&oe():te()},onChange:function(e,t){var o,n=r.textField;v&&(V&&oe(),Y(t)),null===(o=null==n?void 0:n.onChange)||void 0===o||o.call(n,e,t)},onRenderInput:le?function(e){var t=qr(e,jr),o=de(t.className,re.readOnlyTextField);return ht.createElement("div",pt({},t,{className:o,tabIndex:T||0}),j||ht.createElement("span",{className:re.readOnlyPlaceholder},g))}:void 0}))),V&&ht.createElement(Nu,pt({id:N,role:"dialog",ariaLabel:f,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:A.current,directionalHint:Rl.bottomLeftEdge},x,{className:hi(re.callout,x&&x.className),onDismiss:function(e){ne()},onPositioned:function(){var e=!0;r.calloutProps&&void 0!==r.calloutProps.setInitialFocus&&(e=r.calloutProps.setInitialFocus),B.current&&e&&B.current.focus()}}),ht.createElement(tf,{isClickableOutsideFocusTrap:!0,disableFirstFocus:R},ht.createElement(E,pt({},S,{onSelectDate:function(e){r.calendarProps&&r.calendarProps.onSelectDate&&r.calendarProps.onSelectDate(e),ne(e)},onDismiss:function(e){ne()},isMonthPickerVisible:r.isMonthPickerVisible,showMonthPickerAsOverlay:r.showMonthPickerAsOverlay,today:r.today,value:U||d,firstDayOfWeek:i,strings:a,highlightCurrentMonth:r.highlightCurrentMonth,highlightSelectedMonth:r.highlightSelectedMonth,showWeekNumbers:r.showWeekNumbers,firstWeekOfYear:r.firstWeekOfYear,showGoToToday:r.showGoToToday,dateTimeFormatter:r.dateTimeFormatter,minDate:y,maxDate:C,componentRef:B,showCloseButton:_,allFocusable:I})))))});function Pb(e,t,o){return!!t&&Wh(t,e)>0||!!o&&Wh(o,e)<0}Tb.displayName="DatePickerBase";var Rb,Mb,Nb,Bb,Ab,Fb,Lb={root:"ms-DatePicker",callout:"ms-DatePicker-callout",withLabel:"ms-DatePicker-event--with-label",withoutLabel:"ms-DatePicker-event--without-label",disabled:"msDatePickerDisabled "},Ob=ir(Tb,function(e){var t,o=e.className,n=e.theme,r=e.disabled,i=e.underlined,a=e.label,s=e.isDatePickerShown,l=n.palette,c=n.semanticColors,u=n.fonts,d=Ro(Lb,n),p={color:l.neutralSecondary,fontSize:Xe.icon,lineHeight:"18px",pointerEvents:"none",position:"absolute",right:"4px",padding:"5px"};return{root:[d.root,n.fonts.large,s&&"is-open",dn,o],textField:[{position:"relative",selectors:{"& input[readonly]":{cursor:"pointer"},input:{selectors:{"::-ms-clear":{display:"none"}}}}},r&&{selectors:{"& input[readonly]":{cursor:"default"}}}],callout:[d.callout],icon:[p,a?d.withLabel:d.withoutLabel,{paddingTop:"7px"},!r&&[d.disabled,{pointerEvents:"initial",cursor:"pointer"}],r&&{color:c.disabledText,cursor:"default"}],statusMessage:[u.small,{color:c.errorText,marginTop:5}],readOnlyTextField:[{cursor:"pointer",height:32,lineHeight:30,overflow:"hidden",textOverflow:"ellipsis"},i&&{lineHeight:34}],readOnlyPlaceholder:(t={color:c.inputPlaceholderText},t[Mo]={color:"GrayText"},t)}},void 0,{scope:"DatePicker"}),Hb={root:"ms-DetailsRow",compact:"ms-DetailsList--Compact",cell:"ms-DetailsRow-cell",cellAnimation:"ms-DetailsRow-cellAnimation",cellCheck:"ms-DetailsRow-cellCheck",check:"ms-DetailsRow-check",cellMeasurer:"ms-DetailsRow-cellMeasurer",listCellFirstChild:"ms-List-cell:first-child",isContentUnselectable:"is-contentUnselectable",isSelected:"is-selected",isCheckVisible:"is-check-visible",isRowHeader:"is-row-header",fields:"ms-DetailsRow-fields"},zb={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},Wb={rowHeight:42,compactRowHeight:32},Vb=pt(pt({},Wb),{rowVerticalPadding:11,compactRowVerticalPadding:6}),Kb=function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h,m,f=e.theme,g=e.isSelected,v=e.canSelect,b=e.droppingClassName,y=e.isCheckVisible,C=e.checkboxCellClassName,_=e.compact,S=e.className,x=e.cellStyleProps,k=void 0===x?zb:x,w=e.enableUpdateAnimations,I=e.disabled,D=f.palette,E=f.fonts,T=D.neutralPrimary,P=D.white,R=D.neutralSecondary,M=D.neutralLighter,N=D.neutralLight,B=D.neutralDark,A=D.neutralQuaternaryAlt,F=f.semanticColors,L=F.focusBorder,O=F.linkHovered,H=Ro(Hb,f),z={defaultHeaderText:T,defaultMetaText:R,defaultBackground:P,defaultHoverHeaderText:B,defaultHoverMetaText:T,defaultHoverBackground:M,selectedHeaderText:B,selectedMetaText:T,selectedBackground:N,selectedHoverHeaderText:B,selectedHoverMetaText:T,selectedHoverBackground:A,focusHeaderText:B,focusMetaText:T,focusBackground:N,focusHoverBackground:A},W=[on(f,{inset:-1,borderColor:L,outlineColor:P,highContrastStyle:{top:2,right:2,bottom:2,left:2},pointerEvents:"none"}),H.isSelected,{color:z.selectedMetaText,background:z.selectedBackground,borderBottom:"1px solid ".concat(P),selectors:(t={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid ".concat(P)}},t[".".concat(H.cell," > .").concat(fl.root)]={color:O,selectors:(o={},o[Mo]={color:"HighlightText"},o)},t["&:hover"]={background:z.selectedHoverBackground,color:z.selectedHoverMetaText,selectors:(n={},n[Mo]={background:"Highlight",selectors:(r={},r[".".concat(H.cell)]={color:"HighlightText"},r[".".concat(H.cell," > .").concat(fl.root)]={forcedColorAdjust:"none",color:"HighlightText"},r)},n[".".concat(H.isRowHeader)]={color:z.selectedHoverHeaderText,selectors:(i={},i[Mo]={color:"HighlightText"},i)},n)},t["&:focus"]={background:z.focusBackground,selectors:(a={},a[".".concat(H.cell)]={color:z.focusMetaText,selectors:(s={},s[Mo]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},s)},a[".".concat(H.isRowHeader)]={color:z.focusHeaderText,selectors:(l={},l[Mo]={color:"HighlightText"},l)},a[Mo]={background:"Highlight"},a)},t[Mo]=pt(pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{a:{color:"HighlightText"}}}),t["&:focus:hover"]={background:z.focusHoverBackground},t)}],V=[H.isContentUnselectable,{userSelect:"none",cursor:"default"}],K={minHeight:Vb.compactRowHeight,border:0},G={minHeight:Vb.compactRowHeight,paddingTop:Vb.compactRowVerticalPadding,paddingBottom:Vb.compactRowVerticalPadding,paddingLeft:"".concat(k.cellLeftPadding,"px")},U=[on(f,{inset:-1}),H.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:Vb.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:Vb.rowVerticalPadding,paddingBottom:Vb.rowVerticalPadding,paddingLeft:"".concat(k.cellLeftPadding,"px"),selectors:(c={"& > button":{maxWidth:"100%"}},c["[data-is-focusable='true']"]=on(f,{inset:-1,borderColor:R,outlineColor:P}),c)},g&&{selectors:(u={},u[Mo]=pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},_&&G,I&&{opacity:.5}];return{root:[H.root,$e.fadeIn400,b,f.fonts.small,y&&H.isCheckVisible,on(f,{borderColor:L,outlineColor:P}),{borderBottom:"1px solid ".concat(M),background:z.defaultBackground,color:z.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:Vb.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(d={},d[".".concat(H.listCellFirstChild," &:before")]={display:"none"},d["&:hover"]={background:z.defaultHoverBackground,color:z.defaultHoverMetaText,selectors:(p={},p[".".concat(H.isRowHeader)]={color:z.defaultHoverHeaderText},p[".".concat(H.cell," > .").concat(fl.root)]={color:O},p)},d["&:hover .".concat(H.check)]={opacity:1},d[".".concat(Jo," &:focus .").concat(H.check,", :host(.").concat(Jo,") &:focus .").concat(H.check)]={opacity:1},d[".ms-GroupSpacer"]={flexShrink:0,flexGrow:0},d)},g&&W,!v&&V,_&&K,S],cellUnpadded:{paddingRight:"".concat(k.cellRightPadding,"px")},cellPadded:{paddingRight:"".concat(k.cellExtraRightPadding+k.cellRightPadding,"px"),selectors:(h={},h["&.".concat(H.cellCheck)]={paddingRight:0},h)},cell:U,cellAnimation:w&&Ve.slideLeftIn40,cellMeasurer:[H.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[U,H.cellCheck,C,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],fields:[H.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[H.isRowHeader,{color:z.defaultHeaderText,fontSize:E.medium.fontSize},g&&{color:z.selectedHeaderText,fontWeight:Qe.semibold,selectors:(m={},m[Mo]={color:"HighlightText"},m)}],isMultiline:[U,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[H.check]}},Gb=function(e){var t=e.count,o=e.indentWidth,n=void 0===o?36:o,r=e.role,i=void 0===r?"presentation":r,a=t*n;return t>0?ht.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:a},role:i}):null},Ub={tooltipHost:"ms-TooltipHost",root:"ms-DetailsHeader",cell:"ms-DetailsHeader-cell",cellIsCheck:"ms-DetailsHeader-cellIsCheck",collapseButton:"ms-DetailsHeader-collapseButton",isCollapsed:"is-collapsed",isAllSelected:"is-allSelected",isSelectAllHidden:"is-selectAllHidden",isResizingColumn:"is-resizingColumn",cellSizer:"ms-DetailsHeader-cellSizer",isResizing:"is-resizing",dropHintCircleStyle:"ms-DetailsHeader-dropHintCircleStyle",dropHintCaretStyle:"ms-DetailsHeader-dropHintCaretStyle",dropHintLineStyle:"ms-DetailsHeader-dropHintLineStyle",cellTitle:"ms-DetailsHeader-cellTitle",cellName:"ms-DetailsHeader-cellName",filterChevron:"ms-DetailsHeader-filterChevron",gripperBarVertical:"ms-DetailsColumn-gripperBarVertical",checkTooltip:"ms-DetailsHeader-checkTooltip",check:"ms-DetailsHeader-check"},jb=42,qb=function(e){var t=e.theme,o=e.cellStyleProps,n=void 0===o?zb:o,r=t.semanticColors;return[Ro(Ub,t).cell,on(t),{color:r.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 ".concat(n.cellRightPadding,"px 0 ").concat(n.cellLeftPadding,"px"),lineHeight:"inherit",margin:"0",height:jb,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},Yb=function(e){var t,o,n,r,i=e.theme,a=e.className,s=e.isAllSelected,l=e.isResizingColumn,c=e.isSizing,u=e.isAllCollapsed,d=e.cellStyleProps,p=void 0===d?zb:d,h=i.semanticColors,m=i.palette,f=i.fonts,g=Ro(Ub,i),v={iconForegroundColor:h.bodySubtext,headerForegroundColor:h.bodyText,headerBackgroundColor:h.bodyBackground,resizerColor:m.neutralTertiaryAlt},b={opacity:1,transition:"opacity 0.3s linear"},y=qb(e);return{root:[g.root,f.small,{display:"inline-block",background:v.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:jb,lineHeight:jb,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid ".concat(h.bodyDivider),cursor:"default",userSelect:"none",selectors:(t={},t["&:hover .".concat(g.check)]={opacity:1},t["& .".concat(g.tooltipHost," .").concat(g.checkTooltip)]={display:"block"},t)},s&&g.isAllSelected,l&&g.isResizingColumn,a],check:[g.check,{height:jb},{selectors:(o={},o[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={opacity:1},o)}],cellWrapperPadded:{paddingRight:p.cellExtraRightPadding+p.cellRightPadding},cellIsCheck:[y,g.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},s&&{opacity:1}],cellIsGroupExpander:[y,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,padding:0,border:"none",width:36,color:m.neutralSecondary,selectors:{":hover":{backgroundColor:m.neutralLighter},":active":{backgroundColor:m.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:h.bodyText,background:h.listHeaderBackgroundHovered},":active":{background:h.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[g.cellSizer,{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(n={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:v.resizerColor,opacity:0,left:"50%"},":focus:after":b,":hover:after":b},n["&.".concat(g.isResizing,":after")]=[b,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],n)}],cellIsResizing:g.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[g.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},u?[g.isCollapsed,{transform:"rotate(0deg)"}]:{transform:cr(i)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:g.checkTooltip,sizingOverlay:c&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(r={},r[Mo]=pt({background:"transparent"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},accessibleLabel:ho,dropHintCircleStyle:[g.dropHintCircleStyle,{display:"inline-block",visibility:"hidden",position:"absolute",bottom:0,height:9,width:9,borderRadius:"50%",marginLeft:-5,top:34,overflow:"visible",zIndex:10,border:"1px solid ".concat(m.themePrimary),background:m.white}],dropHintCaretStyle:[g.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:f.medium.fontSize,color:m.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[g.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:m.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}},Zb={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},Xb=48,Qb=function(e){var t=e.theme,o=e.className,n=e.isHeader,r=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,l=e.isVisible,c=Ro(Zb,t),u=Wb.rowHeight,d=Wb.compactRowHeight,p=n?jb:s?d:u,h=l||r||i;return{root:[c.root,o],check:[!a&&c.isDisabled,n&&c.isHeader,on(t),t.fonts.small,af.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:h?1:0,height:p,width:Xb,padding:0,margin:0}],isDisabled:[]}};!function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(Rb||(Rb={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(Mb||(Mb={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(Nb||(Nb={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(Bb||(Bb={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(Ab||(Ab={})),function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(Fb||(Fb={}));var Jb=vr(),$b=function(t){return function(e){return e?e.column.isIconOnly?ht.createElement("span",{className:t.accessibleLabel},e.column.name):ht.createElement(ht.Fragment,null,e.column.name):null}},ey=function(t){function e(e){var i=t.call(this,e)||this;return i._root=ht.createRef(),i._tooltipRef=ht.createRef(),i._onRenderFilterIcon=function(e){return function(e){var t=e.columnProps,o=Fe(e,["columnProps"]),n=(null==t?void 0:t.useFastIcons)?_i:wi;return ht.createElement(n,pt({},o))}},i._onRenderColumnHeaderTooltip=function(e){return ht.createElement("span",{className:e.hostClassName},e.children)},i._onColumnClick=function(e){var t=i.props,o=t.onColumnClick,n=t.column;n.columnActionsMode!==Rb.disabled&&(n.onColumnClick&&n.onColumnClick(e,n),o&&o(e,n))},i._onColumnKeyDown=function(e){var t=i.props,o=t.onColumnKeyDown,n=t.column;n.onColumnKeyDown&&n.onColumnKeyDown(e,n),o&&o(e,n)},i._onColumnBlur=function(){i._tooltipRef.current&&i._tooltipRef.current.dismiss()},i._onColumnFocus=function(){i._tooltipRef.current&&i._tooltipRef.current.show()},i._onDragStart=function(e,t,o,n){var r=i._classNames;t&&(i._updateHeaderDragInfo(t),i._root.current.classList.add(r.borderWhileDragging),i._async.setTimeout(function(){i._root.current&&i._root.current.classList.add(r.noBorderWhileDragging)},20))},i._onDragEnd=function(e,t){var o=i._classNames;t&&i._updateHeaderDragInfo(-1,t),i._root.current.classList.remove(o.borderWhileDragging),i._root.current.classList.remove(o.noBorderWhileDragging)},i._updateHeaderDragInfo=function(e,t){i.props.setDraggedItemIndex&&i.props.setDraggedItemIndex(e),i.props.updateDragInfo&&i.props.updateDragInfo({itemIndex:e},t)},i._onColumnContextMenu=function(e){var t=i.props,o=t.onColumnContextMenu,n=t.column;n.onColumnContextMenu&&(n.onColumnContextMenu(n,e),e.preventDefault()),o&&(o(n,e),e.preventDefault())},i._onRootMouseDown=function(e){i.props.isDraggable&&0===e.button&&e.stopPropagation()},ua(i),i._async=new fa(i),i._events=new xl(i),i}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.column,o=e.parentId,n=e.isDraggable,r=e.styles,i=e.theme,a=e.cellStyleProps,s=void 0===a?zb:a,l=e.useFastIcons,c=void 0===l||l,u=this.props.onRenderColumnHeaderTooltip,d=void 0===u?this._onRenderColumnHeaderTooltip:u;this._classNames=Jb(r,{theme:i,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==Rb.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:s,transitionDurationDrag:200,transitionDurationDrop:1500});var p=this._classNames,h=c?_i:wi,m=t.onRenderFilterIcon?Nl(t.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),f=t.onRenderHeader?Nl(t.onRenderHeader,$b(this._classNames)):$b(this._classNames),g=t.columnActionsMode!==Rb.disabled&&(void 0!==t.onColumnClick||void 0!==this.props.onColumnClick),v=this.props.onRenderColumnHeaderTooltip?!t.ariaLabel:this._hasAccessibleDescription(),b={"aria-label":t.ariaLabel?t.ariaLabel:t.isIconOnly?t.name:void 0,"aria-labelledby":t.ariaLabel||t.isIconOnly?void 0:"".concat(o,"-").concat(t.key,"-name"),"aria-describedby":v?"".concat(o,"-").concat(t.key,"-tooltip"):void 0};return ht.createElement(ht.Fragment,null,ht.createElement("div",pt({key:t.key,ref:this._root,role:"columnheader"},!g&&b,{"aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","data-is-focusable":g||t.columnActionsMode===Rb.disabled?void 0:"true",className:p.root,"data-is-draggable":n,draggable:n,style:{width:(t.calculatedWidth||0)+s.cellLeftPadding+s.cellRightPadding+(t.isPadded?s.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":t.key,onBlur:this._onColumnBlur,onFocus:this._onColumnFocus}),n&&ht.createElement(h,{iconName:"GripperBarVertical",className:p.gripperBarVerticalStyle}),d({hostClassName:p.cellTooltip,id:"".concat(o,"-").concat(t.key,"-tooltip"),setAriaDescribedBy:!1,column:t,componentRef:this._tooltipRef,content:t.columnActionsMode!==Rb.disabled?t.ariaLabel:"",children:ht.createElement("span",pt({id:"".concat(o,"-").concat(t.key),className:p.cellTitle,"data-is-focusable":g&&t.columnActionsMode!==Rb.disabled?"true":void 0,role:g?"button":void 0},g&&b,{onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,onKeyDown:this._onColumnKeyDown,"aria-haspopup":t.columnActionsMode===Rb.hasDropdown?"menu":void 0,"aria-expanded":t.columnActionsMode===Rb.hasDropdown?!!t.isMenuOpen:void 0}),ht.createElement("span",{id:"".concat(o,"-").concat(t.key,"-name"),className:p.cellName},(t.iconName||t.iconClassName)&&ht.createElement(h,{className:p.iconClassName,iconName:t.iconName}),f(this.props)),t.isFiltered&&ht.createElement(h,{className:p.nearIcon,iconName:"Filter"}),(t.isSorted||t.showSortIconWhenUnsorted)&&ht.createElement(h,{className:p.sortIcon,iconName:t.isSorted?t.isSortedDescending?"SortDown":"SortUp":"Sort"}),t.isGrouped&&ht.createElement(h,{className:p.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===Rb.hasDropdown&&!t.isIconOnly&&m({"aria-hidden":!0,columnProps:this.props,className:p.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleDescription())},e.prototype.componentDidMount=function(){var e=this;this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling();var t=this._classNames;this.props.isDropped&&(this._root.current&&(this._root.current.classList.add(t.borderAfterDropping),this._async.setTimeout(function(){e._root.current&&e._root.current.classList.add(t.noBorderAfterDropping)},20)),this._async.setTimeout(function(){e._root.current&&(e._root.current.classList.remove(t.borderAfterDropping),e._root.current.classList.remove(t.noBorderAfterDropping))},1520))},e.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},e.prototype.componentDidUpdate=function(){!this._dragDropSubscription&&this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling(),this._dragDropSubscription&&!this.props.isDraggable&&(this._dragDropSubscription.dispose(),this._events.off(this._root.current,"mousedown"),delete this._dragDropSubscription)},e.prototype._getColumnDragDropOptions=function(){var e=this,t=this.props.columnIndex;return{selectionIndex:t,context:{data:t,index:t},canDrag:function(){return e.props.isDraggable},canDrop:function(){return!1},onDragStart:this._onDragStart,updateDropState:function(){},onDrop:function(){},onDragEnd:this._onDragEnd}},e.prototype._hasAccessibleDescription=function(){var e=this.props.column;return!!(e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel||e.sortableAriaLabel)},e.prototype._renderAccessibleDescription=function(){var e=this.props,t=e.column,o=e.parentId,n=this._classNames;return this._hasAccessibleDescription()&&!this.props.onRenderColumnHeaderTooltip?ht.createElement("label",{key:"".concat(t.key,"_label"),id:"".concat(o,"-").concat(t.key,"-tooltip"),className:n.accessibleLabel,hidden:!0},t.isFiltered&&t.filterAriaLabel||null,(t.isSorted||t.showSortIconWhenUnsorted)&&(t.isSorted?t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel:t.sortableAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},e.prototype._addDragDropHandling=function(){this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getColumnDragDropOptions()),this._events.on(this._root.current,"mousedown",this._onRootMouseDown)},e}(ht.Component),ty={isActionable:"is-actionable",cellIsCheck:"ms-DetailsHeader-cellIsCheck",collapseButton:"ms-DetailsHeader-collapseButton",isCollapsed:"is-collapsed",isAllSelected:"is-allSelected",isSelectAllHidden:"is-selectAllHidden",isResizingColumn:"is-resizingColumn",isEmpty:"is-empty",isIconVisible:"is-icon-visible",cellSizer:"ms-DetailsHeader-cellSizer",isResizing:"is-resizing",dropHintCircleStyle:"ms-DetailsHeader-dropHintCircleStyle",dropHintLineStyle:"ms-DetailsHeader-dropHintLineStyle",cellTitle:"ms-DetailsHeader-cellTitle",cellName:"ms-DetailsHeader-cellName",filterChevron:"ms-DetailsHeader-filterChevron",gripperBarVerticalStyle:"ms-DetailsColumn-gripperBar",nearIcon:"ms-DetailsColumn-nearIcon"},oy=function(e){var t,o=e.theme,n=e.headerClassName,r=e.iconClassName,i=e.isActionable,a=e.isEmpty,s=e.isIconVisible,l=e.isPadded,c=e.isIconOnly,u=e.cellStyleProps,d=void 0===u?zb:u,p=e.transitionDurationDrag,h=e.transitionDurationDrop,m=o.semanticColors,f=o.palette,g=o.fonts,v=Ro(ty,o),b={iconForegroundColor:m.bodySubtext,headerForegroundColor:m.bodyText,headerBackgroundColor:m.bodyBackground,dropdownChevronForegroundColor:f.neutralSecondary,resizerColor:f.neutralTertiaryAlt},y={color:b.iconForegroundColor,opacity:1,paddingLeft:8},C={outline:"1px solid ".concat(f.themePrimary)},_={outlineColor:"transparent"};return{root:[qb(e),g.small,i&&[v.isActionable,{selectors:{":hover":{color:m.bodyText,background:m.listHeaderBackgroundHovered},":active":{background:m.listHeaderBackgroundPressed}}}],a&&[v.isEmpty,{textOverflow:"clip"}],s&&v.isIconVisible,l&&{paddingRight:d.cellExtraRightPadding+d.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},n],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:f.neutralTertiary,left:1},nearIcon:[v.nearIcon,y],sortIcon:[y,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:b.iconForegroundColor,opacity:1},r],filterChevron:[v.filterChevron,{color:b.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:g.small.fontSize}],cellTitle:[v.cellTitle,on(o),pt({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 ".concat(d.cellRightPadding,"px 0 ").concat(d.cellLeftPadding,"px")},c?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[v.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:Qe.semibold,fontSize:g.medium.fontSize},c&&{selectors:(t={},t[".".concat(v.nearIcon)]={paddingLeft:0},t)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:ho,borderWhileDragging:C,noBorderWhileDragging:[_,{transition:"outline ".concat(p,"ms ease")}],borderAfterDropping:C,noBorderAfterDropping:[_,{transition:"outline ".concat(h,"ms ease")}]}},ny=ir(ey,oy,void 0,{scope:"DetailsColumn"}),ry={label:wr,audio:Ir,video:Dr,ol:Er,li:Tr,a:Pr,button:Rr,input:Mr,textarea:Nr,select:Br,option:Ar,table:Fr,tr:Lr,th:Or,td:Hr,colGroup:zr,col:Wr,form:Vr,iframe:Kr,img:Gr};function iy(e,t,o){return qr(t,e&&ry[e]||kr,o)}var ay,sy,ly="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(ay||(ay={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(sy||(sy={}));var cy=vr(),uy=ht.memo(function(e){return ht.createElement(sf,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})});function dy(e){return ht.createElement(sf,{checked:e.checked})}function py(e){return ht.createElement(uy,{theme:e.theme,checked:e.checked})}var hy,my=ir(function(e){var t=e.isVisible,o=void 0!==t&&t,n=e.canSelect,r=void 0!==n&&n,i=e.anySelected,a=void 0!==i&&i,s=e.selected,l=void 0!==s&&s,c=e.selectionMode,u=e.isHeader,d=void 0!==u&&u,p=e.className,h=(e.checkClassName,e.styles),m=e.theme,f=e.compact,g=e.onRenderDetailsCheckbox,v=e.useFastIcons,b=void 0===v||v,y=Fe(e,["isVisible","canSelect","anySelected","selected","selectionMode","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),C=b?py:dy,_=g?Nl(g,C):C,S=cy(h,{theme:m,canSelect:r,selected:l,anySelected:a,className:p,isHeader:d,isVisible:o,compact:f}),x={checked:l,theme:m},k=iy("div",y,["aria-label","aria-labelledby","aria-describedby"]),w=c===ay.single?"radio":"checkbox";return r?ht.createElement("div",pt({},y,{role:w,className:hi(S.root,S.check),"aria-checked":l,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),_(x)):ht.createElement("div",pt({},k,{className:hi(S.root,S.check)}))},Qb,void 0,{scope:"DetailsRowCheck"},!0),fy=function(){function e(e){this._selection=e.selection,this._dragEnterCounts={},this._activeTargets={},this._lastId=0,this._initialized=!1}return e.prototype.dispose=function(){this._events&&this._events.dispose()},e.prototype.subscribe=function(n,r,o){var i=this;if(!this._initialized){this._events=new xl(this);var e=st();e&&(this._events.on(e.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(e,"mouseup",this._onDocumentMouseUp.bind(this),!0)),this._initialized=!0}var a,s,l,c,u,d,p,h,m,f,t=o.key,g=void 0===t?"".concat(++this._lastId):t,v=[];if(o&&n){var b=o.eventMap,y=o.context,C=o.updateDropState,_={root:n,options:o,key:g};if(h=this._isDraggable(_),m=this._isDroppable(_),(h||m)&&b)for(var S=0,x=b;S0&&(xl.raise(this._dragData.dropTarget.root,"dragleave"),xl.raise(r,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(xl.raise(e.root,"dragleave"),this._dragData.dropTarget=void 0)},e.prototype._onMouseDown=function(e,t){if(0===t.button)if(this._isDraggable(e)){this._dragData={clientX:t.clientX,clientY:t.clientY,eventTarget:t.target,dragTarget:e};for(var o=0,n=Object.keys(this._activeTargets);o=0&&"drop"!==t.type&&!e&&f._resetDropHints()},f._onDragOver=function(e,t){f._draggedColumnIndex>=0&&(t.stopPropagation(),f._computeDropHintToBeShown(t.clientX))},f._onDrop=function(e,t){var o=f._getColumnReorderProps();if(f._draggedColumnIndex>=0&&t){var n=f._draggedColumnIndex>f._currentDropHintIndex?f._currentDropHintIndex:f._currentDropHintIndex-1,r=f._isValidCurrentDropHintIndex();if(t.stopPropagation(),r)if(f._onDropIndexInfo.sourceIndex=f._draggedColumnIndex,f._onDropIndexInfo.targetIndex=n,o.onColumnDrop){var i={draggedIndex:f._draggedColumnIndex,targetIndex:n};o.onColumnDrop(i)}else o.handleColumnReorder&&o.handleColumnReorder(f._draggedColumnIndex,n)}f._resetDropHints(),f._dropHintDetails={},f._draggedColumnIndex=-1},f._computeColumnIndexOffset=function(e){var t=1;return e&&(t+=1),f.props.groupNestingDepth&&f.props.groupNestingDepth>0&&(t+=1),t},f._updateDragInfo=function(e,t){var o=f._getColumnReorderProps(),n=e.itemIndex;if(n>=0)f._draggedColumnIndex=n-f._computeColumnIndexOffset(!f._isCheckboxColumnHidden()),f._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0);else if(t&&f._draggedColumnIndex>=0&&(f._resetDropHints(),f._draggedColumnIndex=-1,f._dropHintDetails={},o.onColumnDragEnd)){var r=f._isEventOnHeader(t);o.onColumnDragEnd({dropLocation:r},t)}},f._getDropHintPositions=function(){for(var e,t=f.props.columns,o=void 0===t?vy:t,n=f._getColumnReorderProps(),r=0,i=0,a=n.frozenColumnCountFromStart||0,s=n.frozenColumnCountFromEnd||0,l=a;l=0&&(f._resetDropHints(),f._updateDropHintElement(f._dropHintDetails[d].dropHintElementRef,"inline-block"),f._currentDropHintIndex=d)}},f._renderColumnSizer=function(e){var t,o=e.columnIndex,n=f.props.columns,r=void 0===n?vy:n,i=r[o],a=f.state.columnResizeDetails,s=f._classNames;return i.isResizable?ht.createElement("div",{key:"".concat(i.key,"_sizer"),"aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:Sy,"data-sizer-index":o,onBlur:f._onSizerBlur,className:hi(s.cellSizer,o=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,o=void 0===t?vy:t,n=this.props.columns,r=void 0===n?vy:n;o[this._onDropIndexInfo.sourceIndex].key===r[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})}this.props.isAllCollapsed!==e.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},e.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},e.prototype.render=function(){var n=this,e=this.props,t=e.columns,r=void 0===t?vy:t,o=e.ariaLabel,i=e.ariaLabelForToggleAllGroupsButton,a=e.ariaLabelForSelectAllCheckbox,s=e.selectAllVisibility,l=e.ariaLabelForSelectionColumn,c=e.indentWidth,u=e.onColumnClick,d=e.onColumnContextMenu,p=e.onRenderColumnHeaderTooltip,h=void 0===p?this._onRenderColumnHeaderTooltip:p,m=e.styles,f=e.selectionMode,g=e.theme,v=e.onRenderDetailsCheckbox,b=e.groupNestingDepth,y=e.useFastIcons,C=e.checkboxVisibility,_=e.className,S=this.state,x=S.isAllSelected,k=S.columnResizeDetails,w=S.isSizing,I=S.isAllCollapsed,D=s!==hy.none,E=s===hy.hidden,T=C===Ab.always,P=this._getColumnReorderProps(),R=P&&P.frozenColumnCountFromStart?P.frozenColumnCountFromStart:0,M=P&&P.frozenColumnCountFromEnd?P.frozenColumnCountFromEnd:0;this._classNames=gy(m,{theme:g,isAllSelected:x,isSelectAllHidden:s===hy.hidden,isResizingColumn:!!k&&w,isSizing:w,isAllCollapsed:I,isCheckboxHidden:E,className:_});var N=this._classNames,B=y?_i:wi,A=b>0,F=A&&this.props.collapseAllVisibility===Fb.visible,L=this._computeColumnIndexOffset(D),O=cr(g);return ht.createElement(Xs,{role:"row","aria-label":o,className:N.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:xa.horizontal},D?[ht.createElement("div",{key:"__checkbox",className:N.cellIsCheck,"aria-labelledby":"".concat(this._id,"-checkTooltip"),onClick:E?void 0:this._onSelectAllClicked,role:"columnheader"},h({hostClassName:N.checkTooltip,id:"".concat(this._id,"-checkTooltip"),setAriaDescribedBy:!1,content:a,children:ht.createElement(my,{id:"".concat(this._id,"-check"),"aria-label":f===ay.multiple?a:l,"data-is-focusable":!E||void 0,isHeader:!0,selected:x,anySelected:!1,canSelect:!E,className:N.check,onRenderDetailsCheckbox:v,useFastIcons:y,isVisible:T})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:a&&!E?ht.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:N.accessibleLabel,"aria-hidden":!0},a):l&&E?ht.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:N.accessibleLabel,"aria-hidden":!0},l):null]:null,F?ht.createElement("div",{className:N.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!I,role:"columnheader"},ht.createElement(B,{className:N.collapseButton,iconName:O?"ChevronLeftMed":"ChevronRightMed"}),ht.createElement("span",{className:N.accessibleLabel},i)):A?ht.createElement("div",{className:N.cellIsGroupExpander,"data-is-focusable":!1,role:"columnheader"}):null,ht.createElement(Gb,{indentWidth:c,role:"gridcell",count:b-1}),r.map(function(e,t){var o=!!P&&t>=R&&t=0},e.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,o=e.checkboxVisibility;return t===ay.none||o===Ab.hidden},e.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},e.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},e.prototype._isEventOnHeader=function(e){if(this._rootElement.current){var t=this._rootElement.current.getBoundingClientRect();if(e.clientX>t.left&&e.clientXt.top&&e.clientY=n:t>=o&&t<=n}function Cy(e,t,o){return e?t>=o:t<=o}function _y(e,t,o){return e?t<=o:t>=o}function Sy(e){e.stopPropagation()}var xy=ir(by,Yb,void 0,{scope:"DetailsHeader"}),ky=function(e){var t=e.columns,c=e.rowClassNames,o=e.cellStyleProps,u=void 0===o?zb:o,l=e.item,d=e.itemIndex,p=e.isSelected,h=e.onRenderItemColumn,m=e.getCellValueKey,f=e.onRenderField,g=e.cellsByColumn,v=e.enableUpdateAnimations,b=e.rowHeaderId,n=ht.useRef(),y=n.current||(n.current={}),C=ht.useCallback(function(e){var t=e.column,o=e.cellValueKey,n=e.className,r=e.onRender,i=e.item,a=e.itemIndex,s=void 0===t.calculatedWidth?"auto":t.calculatedWidth+u.cellLeftPadding+u.cellRightPadding+(t.isPadded?u.cellExtraRightPadding:0),l="".concat(t.key).concat(void 0!==o?"-".concat(o):"");return ht.createElement("div",{key:l,id:t.isRowHeader?b:void 0,role:t.isRowHeader?"rowheader":"gridcell",className:hi(t.className,t.isMultiline&&c.isMultiline,t.isRowHeader&&c.isRowHeader,c.cell,t.isPadded?c.cellPadded:c.cellUnpadded,n),style:{width:s},"data-automationid":"DetailsRowCell","data-automation-key":t.key},r(i,a,t))},[c,u,b]);return ht.createElement("div",{className:c.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map(function(e){var t=e.getValueKey,o=void 0===t?m:t,n=g&&e.key in g&&function(){return g[e.key]}||e.onRender||h||wy,r=C;e.onRenderField&&(r=Nl(e.onRenderField,r)),f&&(r=Nl(f,r));var i=y[e.key],a=v&&o?o(l,d,e):void 0,s=!1;return void 0!==a&&void 0!==i&&a!==i&&(s=!0),y[e.key]=a,r({item:l,itemIndex:d,isSelected:p,column:e,cellValueKey:a,className:s?c.cellAnimation:void 0,onRender:n})}))};function wy(e,t,o){return e&&o?function(e,t){var o=e&&t&&t.fieldName?e[t.fieldName]:"";return null==o&&(o=""),"boolean"==typeof o?o.toString():o}(e,o):null}var Iy=vr(),Dy=[],Ey=function(t){function e(e){var a=t.call(this,e)||this;return a._root=ht.createRef(),a._cellMeasurer=ht.createRef(),a._focusZone=ht.createRef(),a._onSelectionChanged=function(){var e=Ty(a.props);vl(e,a.state.selectionState)||a.setState({selectionState:e})},a._updateDroppingState=function(e,t){var o=a.state.isDropping,n=a.props,r=n.dragDropEvents,i=n.item;e?r.onDragEnter&&(a._droppingClassNames=r.onDragEnter(i,t)):r.onDragLeave&&r.onDragLeave(i,t),o!==e&&a.setState({isDropping:e})},ua(a),a._events=new xl(a),a.state={selectionState:Ty(e),columnMeasureInfo:void 0,isDropping:!1},a._droppingClassNames="",a}return m(e,t),e.getDerivedStateFromProps=function(e,t){return pt(pt({},t),{selectionState:Ty(e)})},e.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,o=e.selection,n=e.item,r=e.onDidMount;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getRowDragDropOptions())),o&&this._events.on(o,ly,this._onSelectionChanged),r&&n&&(this._onDidMountCalled=!0,r(this))},e.prototype.componentDidUpdate=function(e){var t=this.state,o=this.props,n=o.item,r=o.onDidMount,i=t.columnMeasureInfo;if(this.props.itemIndex===e.itemIndex&&this.props.item===e.item&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getRowDragDropOptions()))),i&&i.index>=0&&this._cellMeasurer.current){var a=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(a),this.setState({columnMeasureInfo:void 0})}n&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},e.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,o=e.onWillUnmount;o&&t&&o(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},e.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var o=Ty(e);return this.state.selectionState.isSelected!==o.isSelected||!vl(this.props,e)}return!0},e.prototype.render=function(){var e,t=this.props,o=t.className,n=t.columns,r=void 0===n?Dy:n,i=t.dragDropEvents,a=t.item,s=t.itemIndex,l=t.id,c=t.flatIndexOffset,u=void 0===c?2:c,d=t.onRenderCheck,p=void 0===d?this._onRenderCheck:d,h=t.onRenderDetailsCheckbox,m=t.onRenderItemColumn,f=t.onRenderField,g=t.getCellValueKey,v=t.selectionMode,b=t.checkboxVisibility,y=t.getRowAriaLabel,C=t.getRowAriaDescription,_=t.getRowAriaDescribedBy,S=t.isGridRow,x=t.checkButtonAriaLabel,k=t.checkboxCellClassName,w=t.rowFieldsAs,I=t.selection,D=t.indentWidth,E=t.enableUpdateAnimations,T=t.compact,P=t.theme,R=t.styles,M=t.cellsByColumn,N=t.groupNestingDepth,B=t.useFastIcons,A=void 0===B||B,F=t.cellStyleProps,L=t.group,O=t.focusZoneProps,H=t.disabled,z=void 0!==H&&H,W=this.state,V=W.columnMeasureInfo,K=W.isDropping,G=this.state.selectionState,U=G.isSelected,j=void 0!==U&&U,q=G.isSelectionModal,Y=void 0!==q&&q,Z=i?!(!i.canDrag||!i.canDrag(a)):void 0,X=K?this._droppingClassNames||"is-dropping":"",Q=y?y(a):void 0,J=C?C(a):void 0,$=_?_(a):void 0,ee=!!I&&I.canSelectItem(a,s)&&!z,te=v===ay.multiple,oe=v!==ay.none&&b!==Ab.hidden,ne=v===ay.none?void 0:j,re=L?s-L.startIndex+1:void 0,ie=L?L.count:void 0,ae=O?O.direction:xa.horizontal;this._classNames=pt(pt({},this._classNames),Iy(R,{theme:P,isSelected:j,canSelect:!te,anySelected:Y,checkboxCellClassName:k,droppingClassName:X,className:o,compact:T,enableUpdateAnimations:E,cellStyleProps:F,disabled:z}));var se={isMultiline:this._classNames.isMultiline,isRowHeader:this._classNames.isRowHeader,cell:this._classNames.cell,cellAnimation:this._classNames.cellAnimation,cellPadded:this._classNames.cellPadded,cellUnpadded:this._classNames.cellUnpadded,fields:this._classNames.fields};vl(this._rowClassNames||{},se)||(this._rowClassNames=se);var le=w?Hl(w,ky):ky,ce=ht.createElement(le,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),cellsByColumn:M,columns:r,item:a,itemIndex:s,isSelected:j,columnStartIndex:(oe?1:0)+(N?1:0),onRenderItemColumn:m,onRenderField:f,getCellValueKey:g,enableUpdateAnimations:E,cellStyleProps:F}),ue=this.props.role?this.props.role:"row";this._ariaRowDescriptionId=bs("DetailsRow-description");var de=r.some(function(e){return!!e.isRowHeader}),pe="".concat(l,"-checkbox")+(de?" ".concat(l,"-header"):""),he=S?{}:{"aria-level":N&&N+1||void 0,"aria-posinset":re,"aria-setsize":ie};return ht.createElement(Xs,pt({"data-is-focusable":!0},qr(this.props,jr),"boolean"==typeof Z?{"data-is-draggable":Z,draggable:Z}:{},O,he,{direction:ae,elementRef:this._root,componentRef:this._focusZone,role:ue,"aria-label":Q,"aria-disabled":z||void 0,"aria-describedby":J?this._ariaRowDescriptionId:$,className:this._classNames.root,"data-selection-index":s,"data-selection-touch-invoke":!0,"data-selection-disabled":null!==(e=this.props["data-selection-disabled"])&&void 0!==e?e:z||void 0,"data-item-index":s,"aria-rowindex":void 0===re?s+u:void 0,"data-automationid":"DetailsRow","aria-selected":ne,allowFocusRoot:!0}),J?ht.createElement("span",{key:"description",role:"presentation",hidden:!0,id:this._ariaRowDescriptionId},J):null,oe&&ht.createElement("div",{role:"gridcell","data-selection-toggle":!0,className:this._classNames.checkCell},p({id:l?"".concat(l,"-checkbox"):void 0,selected:j,selectionMode:v,anySelected:Y,"aria-label":x,"aria-labelledby":l?pe:void 0,canSelect:ee,compact:T,className:this._classNames.check,theme:P,isVisible:b===Ab.always,onRenderDetailsCheckbox:h,useFastIcons:A})),ht.createElement(Gb,{indentWidth:D,role:"gridcell",count:0===N?-1:N}),a&&ce,V&&ht.createElement("span",{role:"presentation",className:hi(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},ht.createElement(le,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),columns:[V.column],item:a,itemIndex:s,columnStartIndex:(oe?1:0)+(N?1:0)+r.length,onRenderItemColumn:m,getCellValueKey:g})))},e.prototype.measureCell=function(e,t){var o=this.props.columns,n=pt({},(void 0===o?Dy:o)[e]);n.minWidth=0,n.maxWidth=999999,delete n.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:n,onMeasureDone:t}})},e.prototype.focus=function(e){var t;return void 0===e&&(e=!1),!!(null===(t=this._focusZone.current)||void 0===t?void 0:t.focus(e))},e.prototype._onRenderCheck=function(e){return ht.createElement(my,pt({},e))},e.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,o=e.itemIndex,n=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:o,context:{data:t,index:o},canDrag:n.canDrag,canDrop:n.canDrop,onDragStart:n.onDragStart,updateDropState:this._updateDroppingState,onDrop:n.onDrop,onDragEnd:n.onDragEnd,onDragOver:n.onDragOver}},e}(ht.Component);function Ty(e){var t,o=e.itemIndex,n=e.selection;return{isSelected:!!(null==n?void 0:n.isIndexSelected(o)),isSelectionModal:!!(null===(t=null==n?void 0:n.isModal)||void 0===t?void 0:t.call(n))}}var Py=ir(Ey,Kb,void 0,{scope:"DetailsRow"}),Ry="data-selection-index",My="data-selection-toggle",Ny="data-selection-invoke",By="data-selection-all-toggle",Ay=function(n){function e(e){var p=n.call(this,e)||this;p._root=ht.createRef(),p.ignoreNextFocus=function(){p._handleNextFocus(!1)},p._onSelectionChange=function(){var e=p.props.selection,t=e.isModal&&e.isModal();p.setState({isModal:t})},p._onMouseDownCapture=function(e){var t=e.target,o=ut(p._root.current),n=null==o?void 0:o.document;if((null==n?void 0:n.activeElement)===t||Ga(null==n?void 0:n.activeElement,t)){if(Ga(t,p._root.current))for(;t!==p._root.current;){if(p._hasAttribute(t,Ny)){p.ignoreNextFocus();break}t=Wa(t)}}else p.ignoreNextFocus()},p._onFocus=function(e){var t=e.target,o=p.props.selection,n=p._isCtrlPressed||p._isMetaPressed,r=p._getSelectionMode();if(p._shouldHandleFocus&&r!==ay.none){var i=p._hasAttribute(t,My),a=p._findItemRoot(t);if(!i&&a){var s=p._getItemIndex(a);void 0===p._getItemSpan(a)&&(n?(o.setIndexSelected(s,o.isIndexSelected(s),!0),p.props.enterModalOnTouch&&p._isTouch&&o.setModal&&(o.setModal(!0),p._setIsTouch(!1))):p.props.isSelectedOnFocus&&p._onItemSurfaceClick("focus",s))}}p._handleNextFocus(!1)},p._onMouseDown=function(e){p._updateModifiers(e);var t=p.props.toggleWithoutModifierPressed,o=e.target,n=p._findItemRoot(o);if(!p._isSelectionDisabled(o))for(;o!==p._root.current&&!p._hasAttribute(o,By);){if(n){if(p._hasAttribute(o,My))break;if(p._hasAttribute(o,Ny))break;if(!(o!==n&&!p._shouldAutoSelect(o)||p._isShiftPressed||p._isCtrlPressed||p._isMetaPressed||t)){p._onInvokeMouseDown(e,p._getItemIndex(n),p._getItemSpan(n));break}if(p.props.disableAutoSelectOnInputElements&&("A"===o.tagName||"BUTTON"===o.tagName||"INPUT"===o.tagName))return}o=Wa(o)}},p._onTouchStartCapture=function(e){p._setIsTouch(!0)},p._onClick=function(e){var t=p.props.enableTouchInvocationTarget,o=void 0!==t&&t;p._updateModifiers(e);for(var n=e.target,r=p._findItemRoot(n),i=p._isSelectionDisabled(n);n!==p._root.current;){if(p._hasAttribute(n,By)){i||p._onToggleAllClick(e);break}if(r){var a=p._getItemIndex(r),s=p._getItemSpan(r);if(p._hasAttribute(n,My)){i||(p._isShiftPressed?p._onItemSurfaceClick("click",a,s):p._onToggleClick(e,a,s));break}if(p._isTouch&&o&&p._hasAttribute(n,"data-selection-touch-invoke")||p._hasAttribute(n,Ny)){void 0===s&&p._onInvokeClick(e,a);break}if(n===r){i||p._onItemSurfaceClick("click",a,s);break}if("A"===n.tagName||"BUTTON"===n.tagName||"INPUT"===n.tagName)return}n=Wa(n)}},p._onContextMenu=function(e){var t=e.target,o=p.props,n=o.onItemContextMenu,r=o.selection;if(n){var i=p._findItemRoot(t);if(i){var a=p._getItemIndex(i);p._onInvokeMouseDown(e,a),n(r.getItems()[a],a,e.nativeEvent)||e.preventDefault()}}},p._onDoubleClick=function(e){var t=e.target,o=p.props.onItemInvoked,n=p._findItemRoot(t);if(n&&o&&!p._isInputElement(t)){for(var r=p._getItemIndex(n);t!==p._root.current&&!p._hasAttribute(t,My)&&!p._hasAttribute(t,Ny);){if(t===n){p._onInvokeClick(e,r);break}t=Wa(t)}t=Wa(t)}},p._onKeyDownCapture=function(e){p._updateModifiers(e),p._handleNextFocus(!0)},p._onKeyDown=function(e){p._updateModifiers(e);var t=e.target,o=p._isSelectionDisabled(t),n=p.props,r=n.selection,i=n.selectionClearedOnEscapePress,a=e.which===sr.a&&(p._isCtrlPressed||p._isMetaPressed),s=e.which===sr.escape;if(!p._isInputElement(t)){var l=p._getSelectionMode();if(a&&l===ay.multiple&&!r.isAllSelected())return o||r.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(i&&s&&r.getSelectedCount()>0)return o||r.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var c=p._findItemRoot(t);if(c)for(var u=p._getItemIndex(c),d=p._getItemSpan(c);t!==p._root.current&&!p._hasAttribute(t,My);){if(p._shouldAutoSelect(t)){o||void 0!==d||p._onInvokeMouseDown(e,u,d);break}if(!(e.which!==sr.enter&&e.which!==sr.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName&&"SUMMARY"!==t.tagName))return!1;if(t===c){if(e.which===sr.enter)return void(void 0===d&&(p._onInvokeClick(e,u),e.preventDefault()));if(e.which===sr.space)return o||p._onToggleClick(e,u,d),void e.preventDefault();break}t=Wa(t)}}},p._events=new xl(p),p._async=new fa(p),ua(p);var t=p.props.selection,o=t.isModal&&t.isModal();return p.state={isModal:o},p}return m(e,n),e.getDerivedStateFromProps=function(e,t){var o=e.selection.isModal&&e.selection.isModal();return pt(pt({},t),{isModal:o})},e.prototype.componentDidMount=function(){var e=ut(this._root.current),t=null==e?void 0:e.document;this._events.on(e,"keydown, keyup",this._updateModifiers,!0),this._events.on(t,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(null==t?void 0:t.body,"touchstart",this._onTouchStartCapture,!0),this._events.on(null==t?void 0:t.body,"touchend",this._onTouchStartCapture,!0),this._events.on(this.props.selection,"change",this._onSelectionChange)},e.prototype.render=function(){var e=this.state.isModal;return ht.createElement("div",{className:hi("ms-SelectionZone",this.props.className,{"ms-SelectionZone--modal":!!e}),ref:this._root,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onKeyDownCapture:this._onKeyDownCapture,onClick:this._onClick,role:"presentation",onDoubleClick:this._onDoubleClick,onContextMenu:this._onContextMenu,onMouseDownCapture:this._onMouseDownCapture,onFocusCapture:this._onFocus,"data-selection-is-modal":!!e||void 0},this.props.children,ht.createElement(sl,null))},e.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},e.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},e.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===ay.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=Wa(e)}return!1},e.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===ay.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},e.prototype._onToggleClick=function(e,t,o){var n=this.props.selection,r=this._getSelectionMode();if(n.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&(void 0!==o?!n.isRangeSelected(t,o):!n.isIndexSelected(t))&&n.setModal&&(n.setModal(!0),this._setIsTouch(!1)),r===ay.multiple)void 0!==o?n.toggleRangeSelected(t,o):n.toggleIndexSelected(t);else{if(r!==ay.single)return void n.setChangeEvents(!0);if(void 0===o||1===o){var i=n.isIndexSelected(t),a=n.isModal&&n.isModal();n.setAllSelected(!1),n.setIndexSelected(t,!i,!0),a&&n.setModal&&n.setModal(!0)}}n.setChangeEvents(!0),e.stopPropagation()},e.prototype._onInvokeClick=function(e,t){var o=this.props,n=o.selection,r=o.onItemInvoked;r&&(r(n.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},e.prototype._onItemSurfaceClick=function(e,t,o){var n,r=this.props,i=r.selection,a=r.toggleWithoutModifierPressed,s=this._isCtrlPressed||this._isMetaPressed,l=this._getSelectionMode();l===ay.multiple?this._isShiftPressed&&!this._isTabPressed?void 0!==o?null===(n=i.selectToRange)||void 0===n||n.call(i,t,o,!s):i.selectToIndex(t,!s):"click"===e&&(s||a)?void 0!==o?i.toggleRangeSelected(t,o):i.toggleIndexSelected(t):this._clearAndSelectIndex(t,o):l===ay.single&&this._clearAndSelectIndex(t,o)},e.prototype._onInvokeMouseDown=function(e,t,o){var n=this.props.selection;if(void 0!==o){if(n.isRangeSelected(t,o))return}else if(n.isIndexSelected(t))return;this._clearAndSelectIndex(t,o)},e.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=ut(this._root.current),o=null==t?void 0:t.document,n=Ts(this._root.current);this._events.off(o,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(n,"click",this._tryClearOnEmptyClick),(n&&e.target instanceof Node&&n.contains(e.target)||n===e.target)&&this._tryClearOnEmptyClick(e)},e.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},e.prototype._clearAndSelectIndex=function(e,t){var o,n=this.props,r=n.selection,i=n.selectionClearedOnSurfaceClick,a=void 0===i||i;if((void 0!==t&&1!==t||1!==r.getSelectedCount()||!r.isIndexSelected(e))&&a){var s=r.isModal&&r.isModal();r.setChangeEvents(!1),r.setAllSelected(!1),void 0!==t?null===(o=r.setRangeSelected)||void 0===o||o.call(r,e,t,!0,!0):r.setIndexSelected(e,!0,!0),(s||this.props.enterModalOnTouch&&this._isTouch)&&(r.setModal&&r.setModal(!0),this._isTouch&&this._setIsTouch(!1)),r.setChangeEvents(!0)}},e.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===sr.tab},e.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var o=e.getAttribute(Ry),n=Number(o);if(null!==o&&n>=0&&n0&&this._isAllSelected&&0===this._exemptedCount||!this._isAllSelected&&this._exemptedCount===e&&e>0},e.prototype.isKeySelected=function(e){var t=this._keyToIndexMap[e];return this.isIndexSelected(t)},e.prototype.isIndexSelected=function(e){return!!(this.count>0&&this._isAllSelected&&!this._exemptedIndices[e]&&!this._unselectableIndices[e]||!this._isAllSelected&&this._exemptedIndices[e])},e.prototype.setAllSelected=function(e){if(!e||this.mode===ay.multiple){var t=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),t>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount()),this.setChangeEvents(!0)}},e.prototype.setKeySelected=function(e,t,o){var n=this._keyToIndexMap[e];n>=0&&this.setIndexSelected(n,t,o)},e.prototype.setIndexSelected=function(e,t,o){if(this.mode!==ay.none&&!((e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length)){this.setChangeEvents(!1);var n=this._exemptedIndices[e];!this._unselectableIndices[e]&&(t&&this.mode===ay.single&&this._setAllSelected(!1,!0),n&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!n&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),o&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.setRangeSelected=function(e,t,o,n){if(this.mode!==ay.none&&(e=Math.min(Math.max(0,e),this._items.length-1),t=Math.min(Math.max(0,t),this._items.length-e),!(e<0||e>=this._items.length||0===t))){this.setChangeEvents(!1);for(var r=e,i=e+t-1,a=(this._anchoredIndex||0)>=i?r:i;r<=i;r++)this.setIndexSelected(r,o,!!n&&r===a);this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToRange=function(e,t,o){if(this.mode!==ay.none)if(this.mode!==ay.single){var n=this._anchoredIndex||0,r=Math.min(e,n),i=Math.max(e+t-1,n);for(this.setChangeEvents(!1),o&&this._setAllSelected(!1,!0);r<=i;r++)this.setIndexSelected(r,!0,!1);this.setChangeEvents(!0)}else 1===t&&this.setIndexSelected(e,!0,!0)},e.prototype.selectToIndex=function(e,t){if(this.mode!==ay.none)if(this.mode!==ay.single){var o=this._anchoredIndex||0,n=Math.min(e,o),r=Math.max(e,o);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);n<=r;n++)this.setIndexSelected(n,!0,!1);this.setChangeEvents(!0)}else this.setIndexSelected(e,!0,!0)},e.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},e.prototype.toggleKeySelected=function(e){this.setKeySelected(e,!this.isKeySelected(e),!0)},e.prototype.toggleIndexSelected=function(e){this.setIndexSelected(e,!this.isIndexSelected(e),!0)},e.prototype.toggleRangeSelected=function(e,t){if(this.mode!==ay.none){var o=this.isRangeSelected(e,t),n=e+t;if(!(this.mode===ay.single&&t>1)){this.setChangeEvents(!1);for(var r=e;r0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount(t)),this.setChangeEvents(!0)}},e.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,xl.raise(this,ly),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function Ly(e,t){var o=(e||{}).key;return void 0===o?"".concat(t):o}var Oy,Hy,zy={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},Wy=function(e){var t,o,n=e.theme,r=e.className,i=e.compact,a=n.palette,s=Ro(zy,n);return{root:[s.root,n.fonts.small,{position:"relative",selectors:(t={},t[".".concat(s.listCell)]={minHeight:38},t)},i&&[s.compact,{selectors:(o={},o[".".concat(s.listCell)]={minHeight:32},o)}],r],group:[s.group,{transition:"background-color ".concat(We.durationValue2," ").concat("cubic-bezier(0.445, 0.050, 0.550, 0.950)")}],groupIsDropping:{backgroundColor:a.neutralLight}}},Vy={root:"ms-GroupHeader",compact:"ms-GroupHeader--compact",check:"ms-GroupHeader-check",dropIcon:"ms-GroupHeader-dropIcon",expand:"ms-GroupHeader-expand",isCollapsed:"is-collapsed",title:"ms-GroupHeader-title",isSelected:"is-selected",iconTag:"ms-Icon--Tag",group:"ms-GroupedList-group",isDropping:"is-dropping"},Ky="cubic-bezier(0.390, 0.575, 0.565, 1.000)";!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(Oy||(Oy={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Hy||(Hy={}));var Gy=vr(),Uy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.type,o=e.size,n=e.ariaLabel,r=e.ariaLive,i=e.styles,a=e.label,s=e.theme,l=e.className,c=e.labelPosition,u=n,d=qr(this.props,jr,["size"]),p=o;void 0===p&&void 0!==t&&(p=t===Hy.large?Oy.large:Oy.medium);var h=Gy(i,{theme:s,size:p,className:l,labelPosition:c});return ht.createElement("div",pt({},d,{className:h.root}),ht.createElement("div",{className:h.circle}),a&&ht.createElement("div",{className:h.label},a),u&&ht.createElement("div",{role:"status","aria-live":r},ht.createElement(ka,null,ht.createElement("div",{className:h.screenReaderText},u))))},t.defaultProps={size:Oy.medium,ariaLive:"polite",labelPosition:"bottom"},t}(ht.Component),jy={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},qy=Do(function(){return ee({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),Yy=ir(Uy,function(e){var t,o=e.theme,n=e.size,r=e.className,i=e.labelPosition,a=o.palette,s=Ro(jy,o);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},r],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:qy(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[Mo]=pt({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},n===Oy.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],n===Oy.small&&["ms-Spinner--small",{width:16,height:16}],n===Oy.medium&&["ms-Spinner--medium",{width:20,height:20}],n===Oy.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,o.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:ho}},void 0,{scope:"Spinner"}),Zy=vr(),Xy=function(t){function e(e){var a=t.call(this,e)||this;return a._toggleCollapse=function(){var e=a.props,t=e.group,o=e.onToggleCollapse,n=e.isGroupLoading,r=!a.state.isCollapsed,i=!r&&n&&n(t);a.setState({isCollapsed:r,isLoadingVisible:i}),o&&o(t)},a._onKeyUp=function(e){var t=a.props,o=t.group,n=t.onGroupHeaderKeyUp;if(n&&n(e,o),!e.defaultPrevented){var r=a.state.isCollapsed&&e.which===dr(sr.right,a.props.theme);(!a.state.isCollapsed&&e.which===dr(sr.left,a.props.theme)||r)&&(a._toggleCollapse(),e.stopPropagation(),e.preventDefault())}},a._onToggleClick=function(e){a._toggleCollapse(),e.stopPropagation(),e.preventDefault()},a._onHeaderClick=function(){var e=a.props,t=e.group,o=e.onGroupHeaderClick;o&&o(t)},a._onRenderTitle=function(e){if(!e.group)return null;var t=e.onRenderName?Nl(e.onRenderName,a._onRenderName):a._onRenderName;return ht.createElement("div",{className:a._classNames.title,id:a._id,onClick:a._onHeaderClick,role:"gridcell","aria-colspan":a.props.ariaColSpan,"data-selection-invoke":!0},t(e))},a._onRenderName=function(e){var t=e.group;return t?ht.createElement(ht.Fragment,null,ht.createElement("span",null,t.name),ht.createElement("span",{className:a._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},a._id=bs("GroupHeader"),a.state={isCollapsed:a.props.group&&a.props.group.isCollapsed,isLoadingVisible:!1},a}return m(e,t),e.getDerivedStateFromProps=function(e,t){if(e.group){var o=e.group.isCollapsed,n=e.isGroupLoading,r=!o&&n&&n(e.group);return pt(pt({},t),{isCollapsed:o||!1,isLoadingVisible:r||!1})}return t},e.prototype.render=function(){var e=this.props,t=e.group,o=e.groupLevel,n=void 0===o?0:o,r=e.viewport,i=e.selectionMode,a=e.loadingText,s=e.isSelected,l=void 0!==s&&s,c=e.selected,u=void 0!==c&&c,d=e.indentWidth,p=e.onRenderGroupHeaderCheckbox,h=e.isCollapsedGroupSelectVisible,m=void 0===h||h,f=e.expandButtonProps,g=e.expandButtonIcon,v=e.selectAllButtonProps,b=e.theme,y=e.styles,C=e.className,_=e.compact,S=e.ariaLevel,x=e.ariaPosInSet,k=e.ariaSetSize,w=e.ariaRowIndex,I=e.useFastIcons,D=this.props.onRenderTitle?Nl(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,E=I?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,T=p?Nl(p,E):E,P=this.state,R=P.isCollapsed,M=P.isLoadingVisible,N=i===ay.multiple,B=N&&(m||!(t&&t.isCollapsed)),A=u||l,F=cr(b);return this._classNames=Zy(y,{theme:b,className:C,selected:A,isCollapsed:R,compact:_}),t?ht.createElement("div",{className:this._classNames.root,style:r?{minWidth:r.width}:{},role:"row","aria-level":S,"aria-setsize":k,"aria-posinset":x,"aria-rowindex":w,"data-is-focusable":!0,onKeyUp:this._onKeyUp,"aria-label":t.ariaLabel,"aria-labelledby":t.ariaLabel?void 0:this._id,"aria-expanded":!this.state.isCollapsed,"aria-selected":N?A:void 0,"data-selection-index":t.startIndex,"data-selection-span":t.count},ht.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},B?ht.createElement("div",{role:"gridcell"},ht.createElement("button",pt({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:"".concat(this._id,"-check"),"aria-checked":A,"aria-labelledby":"".concat(this._id,"-check ").concat(this._id),"data-selection-toggle":!0},v),T({checked:A,theme:b},T))):i!==ay.none&&ht.createElement(Gb,{indentWidth:Xb,count:1}),ht.createElement(Gb,{indentWidth:d,count:n}),ht.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},ht.createElement(wi,{iconName:"Tag"})),ht.createElement("div",{role:"gridcell"},ht.createElement("button",pt({"data-is-focusable":!1,"data-selection-disabled":!0,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},f),ht.createElement(wi,{className:this._classNames.expandIsCollapsed,iconName:g||(F?"ChevronLeftMed":"ChevronRightMed")}))),D(this.props),M&&ht.createElement(Yy,{label:a}))):null},e.prototype._defaultCheckboxRender=function(e){return ht.createElement(sf,{checked:e.checked})},e.prototype._fastDefaultCheckboxRender=function(e){return ht.createElement(Qy,{theme:e.theme,checked:e.checked})},e.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},e}(ht.Component),Qy=ht.memo(function(e){return ht.createElement(sf,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}),Jy=ir(Xy,function(e){var t,o,n,r,i,a=e.theme,s=e.className,l=e.selected,c=e.isCollapsed,u=e.compact,d=zb.cellLeftPadding,p=u?40:48,h=a.semanticColors,m=a.palette,f=a.fonts,g=Ro(Vy,a),v=[on(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[g.root,on(a),a.fonts.medium,{borderBottom:"1px solid ".concat(h.listBackground),cursor:"default",userSelect:"none",selectors:(t={":hover":{background:h.listItemBackgroundHovered,color:h.actionLinkHovered}},t["&:hover .".concat(g.check)]={opacity:1},t[".".concat(Jo," &:focus .").concat(g.check,", :host(.").concat(Jo,") &:focus .").concat(g.check)]={opacity:1},t[":global(.".concat(g.group,".").concat(g.isDropping,")")]={selectors:(o={},o["& > .".concat(g.root," .").concat(g.dropIcon)]={transition:"transform ".concat(We.durationValue4," ").concat("cubic-bezier(0.075, 0.820, 0.165, 1.000)"," ")+"opacity ".concat(We.durationValue1," ").concat(Ky),transitionDelay:We.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},o[".".concat(g.check)]={opacity:0},o)},t)},l&&[g.isSelected,{background:h.listItemBackgroundChecked,selectors:(n={":hover":{background:h.listItemBackgroundCheckedHovered}},n["".concat(g.check)]={opacity:1},n)}],u&&[g.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:p}],headerCount:[{padding:"0px 4px"}],check:[g.check,v,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:Xb,height:p,selectors:(r={},r[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={opacity:1},r)}],expand:[g.expand,v,{display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,width:36,height:p,color:l?m.neutralPrimary:m.neutralSecondary,selectors:{":hover":{backgroundColor:l?m.neutralQuaternary:m.neutralLight},":active":{backgroundColor:l?m.neutralTertiaryAlt:m.neutralQuaternaryAlt}}}],expandIsCollapsed:[c?[g.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:cr(a)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[g.title,{paddingLeft:d,fontSize:u?f.medium.fontSize:f.mediumPlus.fontSize,fontWeight:c?Qe.regular:Qe.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}],dropIcon:[g.dropIcon,{position:"absolute",left:-26,fontSize:Je.large,color:m.neutralSecondary,transition:"transform ".concat(We.durationValue2," ").concat("cubic-bezier(0.600, -0.280, 0.735, 0.045)",", ")+"opacity ".concat(We.durationValue4," ").concat(Ky),opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(i={},i[":global(.".concat(g.iconTag,")")]={position:"absolute"},i)}]}},void 0,{scope:"GroupHeader"}),$y={root:"ms-GroupShowAll",link:"ms-Link"},eC=vr(),tC=ir(function(e){var t=e.group,o=e.groupLevel,n=e.showAllLinkText,r=void 0===n?"Show All":n,i=e.styles,a=e.theme,s=e.onToggleSummarize,l=eC(i,{theme:a}),c=ht.useCallback(function(e){s(t),e.stopPropagation(),e.preventDefault()},[s,t]);return t?ht.createElement("div",{className:l.root},ht.createElement(Gb,{count:o}),ht.createElement(gl,{onClick:c},r)):null},function(e){var t,o=e.theme,n=o.fonts,r=Ro($y,o);return{root:[r.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t[".".concat(r.link)]={fontSize:n.small.fontSize},t)}]}},void 0,{scope:"GroupShowAll"}),oC={root:"ms-groupFooter"},nC=vr(),rC=ir(function(e){var t=e.group,o=e.groupLevel,n=e.footerText,r=e.indentWidth,i=e.styles,a=e.theme,s=nC(i,{theme:a});return t&&n?ht.createElement("div",{className:s.root},ht.createElement(Gb,{indentWidth:r,count:o}),n):null},function(e){var t=e.theme,o=e.className,n=Ro(oC,t);return{root:[t.fonts.medium,n.root,{position:"relative",padding:"5px 38px"},o]}},void 0,{scope:"GroupFooter"}),iC=function(n){function I(e){var w=n.call(this,e)||this;w._root=ht.createRef(),w._list=ht.createRef(),w._subGroupRefs={},w._droppingClassName="",w._onRenderGroupHeader=function(e){return ht.createElement(Jy,pt({},e))},w._onRenderGroupShowAll=function(e){return ht.createElement(tC,pt({},e))},w._onRenderGroupFooter=function(e){return ht.createElement(rC,pt({},e))},w._renderSubGroup=function(e,t){var o=w.props,n=o.dragDropEvents,r=o.dragDropHelper,i=o.eventsToRegister,a=o.getGroupItemLimit,s=o.groupNestingDepth,l=o.groupProps,c=o.items,u=o.headerProps,d=o.showAllProps,p=o.footerProps,h=o.listProps,m=o.onRenderCell,f=o.selection,g=o.selectionMode,v=o.viewport,b=o.onRenderGroupHeader,y=o.onRenderGroupShowAll,C=o.onRenderGroupFooter,_=o.onShouldVirtualize,S=o.group,x=o.compact,k=e.level?e.level+1:s;return!e||e.count>0||l&&l.showEmptyGroups?ht.createElement(I,{ref:function(e){return w._subGroupRefs["subGroup_"+t]=e},key:w._getGroupKey(e,t),dragDropEvents:n,dragDropHelper:r,eventsToRegister:i,footerProps:p,getGroupItemLimit:a,group:e,groupIndex:t,groupNestingDepth:k,groupProps:l,headerProps:u,items:c,listProps:h,onRenderCell:m,selection:f,selectionMode:g,showAllProps:d,viewport:v,onRenderGroupHeader:b,onRenderGroupShowAll:y,onRenderGroupFooter:C,onShouldVirtualize:_,groups:S?S.children:[],compact:x}):null},w._getGroupDragDropOptions=function(){var e=w.props,t=e.group,o=e.groupIndex,n=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:o,isGroup:!0},updateDropState:w._updateDroppingState,canDrag:n.canDrag,canDrop:n.canDrop,onDrop:n.onDrop,onDragStart:n.onDragStart,onDragEnter:n.onDragEnter,onDragLeave:n.onDragLeave,onDragEnd:n.onDragEnd,onDragOver:n.onDragOver}},w._updateDroppingState=function(e,t){var o=w.state.isDropping,n=w.props,r=n.dragDropEvents,i=n.group;o!==e&&(o?r&&r.onDragLeave&&r.onDragLeave(i,t):r&&r.onDragEnter&&(w._droppingClassName=r.onDragEnter(i,t)),w.setState({isDropping:e}))};var t=e.selection,o=e.group;return ua(w),w._id=bs("GroupedListSection"),w.state={isDropping:!1,isSelected:!(!t||!o)&&t.isRangeSelected(o.startIndex,o.count)},w._events=new xl(w),w}return m(I,n),I.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,o=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),o&&this._events.on(o,ly,this._onSelectionChange)},I.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},I.prototype.componentDidUpdate=function(e){this.props.group===e.group&&this.props.groupIndex===e.groupIndex&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())))},I.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,o=e.group,n=e.groupIndex,r=e.headerProps,i=e.showAllProps,a=e.footerProps,s=e.viewport,l=e.selectionMode,c=e.onRenderGroupHeader,u=void 0===c?this._onRenderGroupHeader:c,d=e.onRenderGroupShowAll,p=void 0===d?this._onRenderGroupShowAll:d,h=e.onRenderGroupFooter,m=void 0===h?this._onRenderGroupFooter:h,f=e.onShouldVirtualize,g=e.groupedListClassNames,v=e.groups,b=e.compact,y=e.listProps,C=void 0===y?{}:y,_=this.state.isSelected,S=o&&t?t(o):1/0,x=o&&!o.children&&!o.isCollapsed&&!o.isShowingAll&&(o.count>S||o.hasMoreData),k=o&&o.children&&o.children.length>0,w=C.version,I={group:o,groupIndex:n,groupLevel:o?o.level:0,isSelected:_,selected:_,viewport:s,selectionMode:l,groups:v,compact:b},D={groupedListId:this._id,ariaLevel:(null==o?void 0:o.level)?o.level+1:1,ariaSetSize:v?v.length:void 0,ariaPosInSet:void 0!==n?n+1:void 0},E=pt(pt(pt({},r),I),D),T=pt(pt({},i),I),P=pt(pt({},a),I),R=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(o)&&!!this.props.dragDropEvents.canDragGroups;return ht.createElement("div",pt({ref:this._root},R&&{draggable:!0},{className:hi(g&&g.group,this._getDroppingClassName()),role:"presentation"}),u(E,this._onRenderGroupHeader),o&&o.isCollapsed?null:k?ht.createElement(db,{role:"presentation",ref:this._list,items:o?o.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:f,version:w,id:this._id}):this._onRenderGroup(S),o&&o.isCollapsed?null:x&&p(T,this._onRenderGroupShowAll),m(P,this._onRenderGroupFooter))},I.prototype.forceUpdate=function(){n.prototype.forceUpdate.call(this),this.forceListUpdate()},I.prototype.forceListUpdate=function(){var e=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),e&&e.children&&e.children.length>0)for(var t=e.children.length,o=0;o0?e.children.length:e.count},S._getGroupItemLimit=function(e){var t=S.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:S._getDefaultGroupItemLimit)(e)},S._getGroupHeight=function(e){var t=S.props.compact?lC:sC;return t+(e.isCollapsed?0:t*S._getGroupItemLimit(e))},S._getPageHeight=function(e){var t=S.state.groups,o=S.props.getGroupHeight,n=void 0===o?S._getGroupHeight:o,r=t&&t[e];return r?n(r,e):0},S._onToggleCollapse=function(e){var t=S.props.groupProps,o=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(o&&o(e),e.isCollapsed=!e.isCollapsed,S._updateIsSomeGroupExpanded(),S.forceUpdate())},S._onToggleSelectGroup=function(e){var t=S.props,o=t.selection,n=t.selectionMode;e&&o&&n===ay.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},S._isInnerZoneKeystroke=function(e){return e.which===dr(sr.right)},S._onToggleSummarize=function(e){var t=S.props.groupProps,o=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),S.forceUpdate())},S._getPageSpecification=function(e){var t=S.state.groups,o=t&&t[e];return{key:o&&o.key}},ua(S),S._isSomeGroupExpanded=S._computeIsSomeGroupExpanded(e.groups);var t=e.listProps,o=(void 0===t?{}:t).version,n=void 0===o?{}:o;return S.state={groups:e.groups,items:e.items,listProps:e.listProps,version:n},S}return m(e,r),e.getDerivedStateFromProps=function(e,t){var o=e.groups,n=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=pt(pt({},t),{selectionMode:n,compact:r,groups:o,listProps:a,items:i}),c=!1;return s===(t.listProps&&t.listProps.version)&&i===t.items&&o===t.groups&&n===t.selectionMode&&r===t.compact||(c=!0),c&&(l=pt(pt({},l),{version:{}})),l},e.prototype.scrollToIndex=function(e,t,o){this._list.current&&this._list.current.scrollToIndex(e,t,o)},e.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},e.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,o=e.groups,n=void 0===o?[]:o;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(n,t.isAllGroupsCollapsed)},e.prototype.render=function(){var e=this.props,t=e.className,o=e.usePageCache,n=e.onShouldVirtualize,r=e.theme,i=e.role,a=void 0===i?"treegrid":i,s=e.styles,l=e.compact,c=e.focusZoneProps,u=void 0===c?{}:c,d=e.rootListProps,p=void 0===d?{}:d,h=this.state,m=h.groups,f=h.version;this._classNames=aC(s,{theme:r,className:t,compact:l});var g=u.shouldEnterInnerZone,v=void 0===g?this._isInnerZoneKeystroke:g;return ht.createElement(Xs,pt({direction:xa.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},u,{shouldEnterInnerZone:v,className:hi(this._classNames.root,u.className)}),ht.createElement(sl,null),m?ht.createElement(db,pt({ref:this._list,role:a,items:m,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:o,onShouldVirtualize:n,version:f},p)):this._renderGroup(void 0,0))},e.prototype.forceUpdate=function(){r.prototype.forceUpdate.call(this),this._forceListUpdates()},e.prototype.toggleCollapseAll=function(e){var t=this.state.groups,o=void 0===t?[]:t,n=this.props.groupProps,r=n&&n.onToggleCollapseAll;o.length>0&&(r&&r(e),this._setGroupsCollapsedState(o,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},e.prototype._setGroupsCollapsedState=function(e,t){for(var o=0;o0;)e++,t=t[0].children;return e},e.prototype._forceListUpdates=function(e){this.setState({version:{}})},e.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some(function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed}))},e.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,o=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==o&&(t&&t(o),this._isSomeGroupExpanded=o)},e.defaultProps={selectionMode:ay.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},e}(ht.Component),uC=ir(cC,Wy,void 0,{scope:"GroupedList"});function dC(e,t){var o,n=(null!=t?t:!e||e&&e.hasOwnProperty("devicePixelRatio"))?ut():ut(e);return e&&(e===n?o={left:0,top:0,width:n.innerWidth,height:n.innerHeight,right:n.innerWidth,bottom:n.innerHeight}:e.getBoundingClientRect&&(o=e.getBoundingClientRect())),o}var pC=500,hC=3;function mC(o){return function(t){function e(e){var a=t.call(this,e)||this;return a._root=ht.createRef(),a._registerResizeObserver=function(){var e=ut(a._root.current);a._viewportResizeObserver=new e.ResizeObserver(a._onAsyncResize),a._viewportResizeObserver.observe(a._root.current)},a._unregisterResizeObserver=function(){a._viewportResizeObserver&&(a._viewportResizeObserver.disconnect(),delete a._viewportResizeObserver)},a._updateViewport=function(e){var t=a.state.viewport,o=a._root.current,n=ut(o),r=dC(Ts(o),n),i=dC(o,n);((i&&i.width)!==t.width||(r&&r.height)!==t.height)&&a._resizeAttempts0&&e.height>0?e:void 0;return ht.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},ht.createElement(o,pt({ref:this._updateComposedComponentRef,viewport:t},this.props)))},e.prototype.forceUpdate=function(){this._updateViewport(!0)},e.prototype._onAsyncResize=function(){this._updateViewport()},e.prototype._isResizeObserverAvailable=function(){var e=ut(this._root.current);return e&&e.ResizeObserver},e}(Dd)}var fC=function(e){var t=0;if(e)for(var o=z([],e,!0),n=void 0;o&&o.length>0;)++t,(n=o.pop())&&n.children&&o.push.apply(o,n.children);return t},gC=vr(),vC=100,bC={tabIndex:0},yC={},CC=function(u){var d=u.selection,e=u.ariaLabelForListHeader,t=u.ariaLabelForSelectAllCheckbox,o=u.ariaLabelForSelectionColumn,n=u.className,p=u.checkboxVisibility,h=u.compact,r=u.constrainMode,m=u.dragDropEvents,i=u.groups,a=u.groupProps,f=u.indentWidth,s=u.items,l=u.isPlaceholderData,g=u.isHeaderVisible,c=u.layoutMode,v=u.onItemInvoked,b=u.onItemContextMenu,y=u.onColumnHeaderClick,C=u.onColumnHeaderContextMenu,_=u.selectionMode,S=void 0===_?d.mode:_,x=u.selectionPreservedOnEmptyClick,k=u.selectionZoneProps,w=u.ariaLabel,I=u.ariaLabelForGrid,D=u.rowElementEventMap,E=u.shouldApplyApplicationRole,T=void 0!==E&&E,P=u.getKey,R=u.listProps,M=u.usePageCache,N=u.onShouldVirtualize,B=u.viewport,A=u.minimumPixelsForDrag,F=u.getGroupHeight,L=u.styles,O=u.theme,H=u.cellStyleProps,z=void 0===H?zb:H,W=u.onRenderCheckbox,V=u.useFastIcons,K=u.dragDropHelper,G=u.adjustedColumns,U=u.isCollapsed,j=u.isSizing,q=u.isSomeGroupExpanded,Y=u.version,Z=u.rootRef,X=u.listRef,Q=u.focusZoneRef,J=u.columnReorderOptions,$=u.groupedListRef,ee=u.headerRef,te=u.onGroupExpandStateChanged,oe=u.onColumnIsSizingChanged,ne=u.onRowDidMount,re=u.onRowWillUnmount,ie=u.disableSelectionZone,ae=u.isSelectedOnFocus,se=void 0===ae||ae,le=u.onColumnResized,ce=u.onColumnAutoResized,ue=u.onToggleCollapse,de=u.onActiveRowChanged,pe=u.onBlur,he=u.rowElementEventMap,me=u.onRenderMissingItem,fe=u.onRenderItemColumn,ge=u.onRenderField,ve=u.getCellValueKey,be=u.getRowAriaLabel,ye=u.getRowAriaDescribedBy,Ce=u.checkButtonAriaLabel,_e=u.checkButtonGroupAriaLabel,Se=u.checkboxCellClassName,xe=u.useReducedRowRenderer,ke=u.enableUpdateAnimations,we=u.enterModalSelectionOnTouch,Ie=u.onRenderDefaultRow,De=u.selectionZoneRef,Ee=u.focusZoneProps,Te="grid",Pe=u.role?u.role:Te,Re=bs("row"),Me=function(e){for(var t=0,o=e;o&&o.length>0;)t++,o=o[0].children;return t}(i),Ne=function(a){return ht.useMemo(function(){var e={};if(a)for(var t=1,o=1,n=0,r=a;nr.left&&t.clientXr.top&&t.clientY0?yC:bC,c={item:t,itemIndex:o,flatIndexOffset:(g?2:1)+a,compact:h,columns:G,groupNestingDepth:e,id:"".concat(Re,"-").concat(o),selectionMode:S,selection:d,onDidMount:ne,onWillUnmount:re,onRenderItemColumn:fe,onRenderField:ge,getCellValueKey:ve,eventsToRegister:he,dragDropEvents:m,dragDropHelper:K,viewport:B,checkboxVisibility:p,collapseAllVisibility:ot,getRowAriaLabel:be,getRowAriaDescribedBy:ye,checkButtonAriaLabel:Ce,checkboxCellClassName:Se,useReducedRowRenderer:xe,indentWidth:f,cellStyleProps:z,onRenderDetailsCheckbox:W,enableUpdateAnimations:ke,rowWidth:nt,useFastIcons:V,role:s,isGridRow:!0,focusZoneProps:l};return t?r(c):me?me(o,c):null},[h,G,S,d,Re,ne,re,fe,ge,ve,he,m,K,B,p,ot,be,ye,g,Ce,Se,xe,f,z,W,ke,V,Ie,me,u.onRenderRow,nt,Pe,Ne]),it=ht.useCallback(function(o){return function(e,t){return rt(o,e,t)}},[rt]),at=ht.useCallback(function(e){return e.which===dr(sr.right,O)},[O]),st=pt(pt({},Ee),{componentRef:Ee&&Ee.componentRef?Ee.componentRef:Q,className:Ee&&Ee.className?hi(Ze.focusZone,Ee.className):Ze.focusZone,direction:Ee?Ee.direction:xa.vertical,shouldEnterInnerZone:Ee&&Ee.shouldEnterInnerZone?Ee.shouldEnterInnerZone:at,onActiveElementChanged:Ee&&Ee.onActiveElementChanged?Ee.onActiveElementChanged:de,shouldRaiseClicksOnEnter:!1,onBlur:Ee&&Ee.onBlur?Ee.onBlur:pe}),lt=i&&(null==a?void 0:a.groupedListAs)?Hl(a.groupedListAs,uC):uC,ct=i?ht.createElement(lt,{focusZoneProps:st,componentRef:$,groups:i,groupProps:et,items:s,onRenderCell:rt,role:"presentation",selection:d,selectionMode:p!==Ab.hidden?S:ay.none,dragDropEvents:m,dragDropHelper:K,eventsToRegister:D,listProps:Be,onGroupExpandStateChanged:te,usePageCache:M,onShouldVirtualize:N,getGroupHeight:F,compact:h}):ht.createElement(Xs,pt({},st),ht.createElement(db,pt({ref:X,role:"presentation",items:s,onRenderCell:it(0),usePageCache:M,onShouldVirtualize:N},Be))),ut=ht.useCallback(function(e){e.which===sr.down&&Q.current&&Q.current.focus()&&(se&&0===d.getSelectedIndices().length&&d.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())},[d,Q,se]),dt=ht.useCallback(function(e){e.which!==sr.up||e.altKey||ee.current&&ee.current.focus()&&(e.preventDefault(),e.stopPropagation())},[ee]);return ht.createElement("div",pt({ref:Z,className:Ze.root,"data-automationid":"DetailsList","data-is-scrollable":"false"},T?{role:"application"}:{}),ht.createElement(sl,null),ht.createElement("div",{role:Pe,"aria-label":I||w,"aria-rowcount":l?0:qe,"aria-colcount":Ye,"aria-busy":l},ht.createElement("div",{onKeyDown:ut,role:"presentation",className:Ze.headerWrapper},g&&ze({componentRef:ee,selectionMode:S,layoutMode:c,selection:d,columns:G,onColumnClick:y,onColumnContextMenu:C,onColumnResized:le,onColumnIsSizingChanged:oe,onColumnAutoResized:ce,groupNestingDepth:Me,isAllCollapsed:U,onToggleCollapseAll:ue,ariaLabel:e,ariaLabelForSelectAllCheckbox:t,ariaLabelForSelectionColumn:o,selectAllVisibility:Ae,collapseAllVisibility:a&&a.collapseAllVisibility,viewport:B,columnReorderProps:je,minimumPixelsForDrag:A,cellStyleProps:z,checkboxVisibility:p,indentWidth:f,onRenderDetailsCheckbox:W,rowWidth:tt(G),useFastIcons:V},ze)),ht.createElement("div",{onKeyDown:dt,role:"presentation",className:Ze.contentWrapper},ie?ct:ht.createElement(Ay,pt({ref:De,selection:d,selectionPreservedOnEmptyClick:x,selectionMode:S,isSelectedOnFocus:se,selectionClearedOnEscapePress:se,toggleWithoutModifierPressed:!se,onItemInvoked:v,onItemContextMenu:b,enterModalOnTouch:we},k||{}),ct)),Ve(pt({},Ke))))},_C=function(t){function e(e){var y=t.call(this,e)||this;return y._root=ht.createRef(),y._header=ht.createRef(),y._groupedList=ht.createRef(),y._list=ht.createRef(),y._focusZone=ht.createRef(),y._selectionZone=ht.createRef(),y._onRenderRow=function(e,t){return ht.createElement(Py,pt({},e))},y._getDerivedStateFromProps=function(e,t){var o=y.props,n=o.checkboxVisibility,r=o.items,i=o.setKey,a=o.selectionMode,s=void 0===a?y._selection.mode:a,l=o.columns,c=o.viewport,u=o.compact,d=o.dragDropEvents,p=(y.props.groupProps||{}).isAllGroupsCollapsed,h=void 0===p?void 0:p,m=e.viewport&&e.viewport.width||0,f=c&&c.width||0,g=e.setKey!==i||void 0===e.setKey,v=!1;e.layoutMode!==y.props.layoutMode&&(v=!0);var b=t;return g&&(y._initialFocusedIndex=e.initialFocusedIndex,b=pt(pt({},b),{focusedItemIndex:void 0!==y._initialFocusedIndex?y._initialFocusedIndex:-1})),y.props.disableSelectionZone||e.items===r||y._selection.setItems(e.items,g),e.checkboxVisibility===n&&e.columns===l&&m===f&&e.compact===u||(v=!0),b=pt(pt({},b),y._adjustColumns(e,b,!0)),e.selectionMode!==s&&(v=!0),void 0===h&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&(b=pt(pt({},b),{isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed})),e.dragDropEvents!==d&&(y._dragDropHelper&&y._dragDropHelper.dispose(),y._dragDropHelper=e.dragDropEvents?new fy({selection:y._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,v=!0),v&&(b=pt(pt({},b),{version:{}})),b},y._onGroupExpandStateChanged=function(e){y.setState({isSomeGroupExpanded:e})},y._onColumnIsSizingChanged=function(e,t){y.setState({isSizing:t})},y._onRowDidMount=function(e){var t=e.props,o=t.item,n=t.itemIndex,r=y._getItemKey(o,n);y._activeRows[r]=e,y._setFocusToRowIfPending(e);var i=y.props.onRowDidMount;i&&i(o,n)},y._onRowWillUnmount=function(e){var t=y.props.onRowWillUnmount,o=e.props,n=o.item,r=o.itemIndex,i=y._getItemKey(n,r);delete y._activeRows[i],t&&t(n,r)},y._onToggleCollapse=function(e){y.setState({isCollapsed:e}),y._groupedList.current&&y._groupedList.current.toggleCollapseAll(e)},y._onColumnResized=function(e,t,o){var n=Math.max(e.minWidth||vC,t);y.props.onColumnResize&&y.props.onColumnResize(e,n,o),y._rememberCalculatedWidth(e,n),y.setState(pt(pt({},y._adjustColumns(y.props,y.state,!0,o)),{version:{}}))},y._onColumnAutoResized=function(t,o){var n=0,r=0,i=Object.keys(y._activeRows).length;for(var e in y._activeRows)y._activeRows.hasOwnProperty(e)&&y._activeRows[e].measureCell(o,function(e){n=Math.max(n,e),++r===i&&y._onColumnResized(t,n,o)})},y._onActiveRowChanged=function(e,t){var o=y.props,n=o.items,r=o.onActiveItemChanged;if(e&&e.getAttribute("data-item-index")){var i=Number(e.getAttribute("data-item-index"));i>=0&&(r&&r(n[i],i,t),y.setState({focusedItemIndex:i}))}},y._onBlur=function(e){y.setState({focusedItemIndex:-1})},ua(y),y._async=new fa(y),y._activeRows={},y._columnOverrides={},y.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:y._getAdjustedColumns(e,void 0),isSizing:!1,isCollapsed:e.groupProps&&e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:e.groupProps&&!e.groupProps.isAllGroupsCollapsed,version:{},getDerivedStateFromProps:y._getDerivedStateFromProps},Gi("DetailsList",e,{selection:"getKey"}),y._selection=e.selection||new Fy({onSelectionChanged:void 0,getKey:e.getKey,selectionMode:e.selectionMode}),y.props.disableSelectionZone||y._selection.setItems(e.items,!1),y._dragDropHelper=e.dragDropEvents?new fy({selection:y._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,y._initialFocusedIndex=e.initialFocusedIndex,y}return m(e,t),e.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},e.prototype.scrollToIndex=function(e,t,o){this._list.current&&this._list.current.scrollToIndex(e,t,o),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,o)},e.prototype.focusIndex=function(e,t,o,n){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,o,n);var i=this._getItemKey(r,e),a=this._activeRows[i];a&&this._setFocusToRow(a,t)}},e.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},e.prototype.updateColumn=function(t,e){var o,n,r=this.props,i=r.columns,a=void 0===i?[]:i,s=r.selectionMode,l=r.checkboxVisibility,c=r.columnReorderOptions,u=e.width,d=e.newColumnIndex,p=a.findIndex(function(e){return e.key===t.key});if(u&&this._onColumnResized(t,u,p),void 0!==d&&c){var h=s===ay.none||l===Ab.hidden,m=(l!==Ab.hidden?2:1)+p,f=h?m-1:m-2,g=h?d-1:d-2,v=null!==(o=c.frozenColumnCountFromStart)&&void 0!==o?o:0,b=null!==(n=c.frozenColumnCountFromEnd)&&void 0!==n?n:0;if(g>=v&&g0&&-1!==this.state.focusedItemIndex&&!Ga(this._root.current,null==o?void 0:o.activeElement,!1)){var r,i=this.state.focusedItemIndex0;)e++,t=t[0].children;return e},e.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},e.prototype._setFocusToRow=function(e,t){void 0===t&&(t=!1),this._selectionZone.current&&this._selectionZone.current.ignoreNextFocus(),this._async.setTimeout(function(){e.focus(t)},0)},e.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},e.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach(function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)})},e.prototype._adjustColumns=function(e,t,o,n){var r=this._getAdjustedColumns(e,t,o,n),i=this.props.viewport,a=i&&i.width?i.width:0;return pt(pt({},t),{adjustedColumns:r,lastWidth:a})},e.prototype._getAdjustedColumns=function(e,t,o,n){var r,i=this,a=e.items,s=e.layoutMode,l=e.selectionMode,c=e.viewport,u=c&&c.width?c.width:0,d=e.columns,p=this.props?this.props.columns:[],h=t?t.lastWidth:-1,m=t?t.lastSelectionMode:void 0;return o||h!==u||m!==l||p&&d!==p?(d=d||SC(a,!0),s===Bb.fixedColumns?(r=this._getFixedColumns(d,u,e)).forEach(function(e){i._rememberCalculatedWidth(e,e.calculatedWidth)}):(r=this._getJustifiedColumns(d,u,e)).forEach(function(e){i._getColumnOverride(e.key).currentWidth=e.calculatedWidth}),r):d||[]},e.prototype._getFixedColumns=function(e,o,t){var r=this,n=this.props,i=n.selectionMode,a=void 0===i?this._selection.mode:i,s=n.checkboxVisibility,l=n.flexMargin,c=n.skipViewportMeasures,u=o-(l||0),d=0;e.forEach(function(e){c||!e.flexGrow?u-=e.maxWidth||e.minWidth||vC:(u-=e.minWidth||vC,d+=e.flexGrow),u-=xC(e,t,!0)});var p=a!==ay.none&&s!==Ab.hidden?Xb:0,h=36*this._getGroupNestingDepth(),m=(u-=p+h)/d;return c||e.forEach(function(e){var t=pt(pt({},e),r._columnOverrides[e.key]);if(t.flexGrow&&t.maxWidth){var o=t.flexGrow*m+t.minWidth,n=o-t.maxWidth;n>0&&(u+=n,d-=n/(o-t.minWidth)*t.flexGrow)}}),m=u>0?u/d:0,e.map(function(e){var t=pt(pt({},e),r._columnOverrides[e.key]);return!c&&t.flexGrow&&u<=0&&0===o||t.calculatedWidth||(!c&&t.flexGrow?(t.calculatedWidth=t.minWidth+t.flexGrow*m,t.calculatedWidth=Math.min(t.calculatedWidth,t.maxWidth||Number.MAX_VALUE)):t.calculatedWidth=t.maxWidth||t.minWidth||vC),t})},e.prototype._getJustifiedColumns=function(e,t,r){var i=this,o=r.selectionMode,n=void 0===o?this._selection.mode:o,a=r.checkboxVisibility,s=r.skipViewportMeasures,l=n!==ay.none&&a!==Ab.hidden?Xb:0,c=36*this._getGroupNestingDepth(),u=0,d=0,p=t-(l+c),h=e.map(function(e,t){var o=pt(pt({},e),{calculatedWidth:e.minWidth||vC}),n=pt(pt({},o),i._columnOverrides[e.key]);return o.isCollapsible||o.isCollapsable||(d+=xC(o,r)),u+=xC(n,r),n});if(s)return h;for(var m=h.length-1;m>=0&&u>p;){var f=(y=h[m]).minWidth||vC,g=u-p;if(y.calculatedWidth-f>=g||!y.isCollapsible&&!y.isCollapsable){var v=y.calculatedWidth;d=(M||Id.small)&&ht.createElement(Mu,pt({ref:K},be),ht.createElement(Bc,pt({role:fe?"alertdialog":"dialog",ariaLabelledBy:D,ariaDescribedBy:T,onDismiss:x,shouldRestoreFocus:!b,enableAriaHiddenSiblings:L,"aria-modal":!B},O),ht.createElement("div",{className:ve.root,role:B?void 0:"document"},!B&&ht.createElement(NC,pt({"aria-hidden":!0,isDarkThemed:S,onClick:y?void 0:x,allowTouchBodyScroll:l},w)),A?ht.createElement(LC,{handleSelector:A.dragHandleSelector||"#".concat(U),preventDragSelector:"button",onStart:xe,onDragChange:ke,onStop:we,position:ne},Ie):Ie)))||null});VC.displayName="Modal";var KC=ir(VC,function(e){var t,o=e.className,n=e.containerClassName,r=e.scrollableContentClassName,i=e.isOpen,a=e.isVisible,s=e.hasBeenOpened,l=e.modalRectangleTop,c=e.theme,u=e.topOffsetFixed,d=e.isModeless,p=e.layerClassName,h=e.isDefaultDragHandle,m=e.windowInnerHeight,f=c.palette,g=c.effects,v=c.fonts,b=Ro(TC,c);return{root:[b.root,v.medium,{backgroundColor:"transparent",position:"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity ".concat(EC)},u&&"number"==typeof l&&s&&{alignItems:"flex-start"},i&&b.isOpen,a&&{opacity:1},a&&!d&&{pointerEvents:"auto"},o],main:[b.main,{boxShadow:g.elevation64,borderRadius:g.roundedCorner2,backgroundColor:f.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",minHeight:"176px",minWidth:"288px",overflowY:"auto",zIndex:d?Qo.Layer:void 0},d&&{pointerEvents:"auto"},u&&"number"==typeof l&&s&&{top:l},h&&{cursor:"move"},n],scrollableContent:[b.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:m},t)},r],layer:d&&[p,b.layer,{pointerEvents:"none"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:v.xLargePlus.fontSize,width:"24px"}}},void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]});KC.displayName="Modal";var GC=vr(),UC=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,n=e.theme;return this._classNames=GC(o,{theme:n,className:t}),ht.createElement("div",{className:this._classNames.actions},ht.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},e.prototype._renderChildrenAsActions=function(){var t=this;return ht.Children.map(this.props.children,function(e){return e?ht.createElement("span",{className:t._classNames.action},e):null})},e}(ht.Component),jC={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},qC=ir(UC,function(e){var t=e.className,o=e.theme,n=Ro(jC,o);return{actions:[n.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal",verticalAlign:"middle"}}},t],action:[n.action,{margin:"0 4px"}],actionsRight:[n.actionsRight,{alignItems:"center",display:"flex",fontSize:"0",justifyContent:"flex-end",marginRight:"-4px"}]}},void 0,{scope:"DialogFooter"});qC.displayName="DialogFooter";var YC=vr(),ZC=ht.createElement(qC,null).type,XC=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),Ki("DialogContent",e,{titleId:"titleProps.id"}),t}return m(e,o),e.prototype.render=function(){var e,t=this.props,o=t.showCloseButton,n=t.className,r=t.closeButtonAriaLabel,i=t.onDismiss,a=t.subTextId,s=t.subText,l=t.titleProps,c=void 0===l?{}:l,u=t.titleId,d=t.title,p=t.type,h=t.styles,m=t.theme,f=t.draggableHeaderClassName,g=YC(h,{theme:m,className:n,isLargeHeader:p===kC.largeHeader,isClose:p===kC.close,draggableHeaderClassName:f}),v=this._groupChildren();return s&&(e=ht.createElement("p",{className:g.subText,id:a},s)),ht.createElement("div",{className:g.content},ht.createElement("div",{className:g.header},ht.createElement("div",pt({id:u,role:"heading","aria-level":1},c,{className:hi(g.title,c.className)}),d),ht.createElement("div",{className:g.topButton},this.props.topButtonsProps.map(function(e,t){return ht.createElement(xp,pt({key:e.uniqueId||t},e))}),(p===kC.close||o&&p!==kC.largeHeader)&&ht.createElement(xp,{className:g.button,iconProps:{iconName:"Cancel"},ariaLabel:r,onClick:i}))),ht.createElement("div",{className:g.inner},ht.createElement("div",{className:g.innerContent},e,v.contents),v.footers))},e.prototype._groupChildren=function(){var t={footers:[],contents:[]};return ht.Children.map(this.props.children,function(e){"object"==typeof e&&null!==e&&e.type===ZC?t.footers.push(e):t.contents.push(e)}),t},e.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},u([Ad],e)}(ht.Component),QC={contentLgHeader:"ms-Dialog-lgHeader",close:"ms-Dialog--close",subText:"ms-Dialog-subText",header:"ms-Dialog-header",headerLg:"ms-Dialog--lgHeader",button:"ms-Dialog-button ms-Dialog-button--close",inner:"ms-Dialog-inner",content:"ms-Dialog-content",title:"ms-Dialog-title"},JC=ir(XC,function(e){var t,o,n,r=e.className,i=e.theme,a=e.isLargeHeader,s=e.isClose,l=e.hidden,c=e.isMultiline,u=e.draggableHeaderClassName,d=i.palette,p=i.fonts,h=i.effects,m=i.semanticColors,f=Ro(QC,i);return{content:[a&&[f.contentLgHeader,{borderTop:"4px solid ".concat(d.themePrimary)}],s&&f.close,{flexGrow:1,overflowY:"hidden"},r],subText:[f.subText,p.medium,{margin:"0 0 24px 0",color:m.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:Qe.regular}],header:[f.header,{position:"relative",width:"100%",boxSizing:"border-box"},s&&f.close,u&&[u,{cursor:"move"}]],button:[f.button,l&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:m.buttonText,fontSize:Je.medium}}}],inner:[f.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"0 16px 16px"},t)}],innerContent:[f.content,{position:"relative",width:"100%"}],title:[f.title,p.xLarge,{color:m.bodyText,margin:"0",minHeight:p.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(o={},o["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"16px 46px 16px 16px"},o)},a&&{color:m.menuHeader},c&&{fontSize:p.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(n={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:m.buttonText},".ms-Dialog-button:hover":{color:m.buttonTextHovered,borderRadius:h.roundedCorner2}},n["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"15px 8px 0 0"},n)}]}},void 0,{scope:"DialogContent"});JC.displayName="DialogContent";var $C,e_=vr(),t_={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1,enableAriaHiddenSiblings:!0},o_={type:kC.normal,className:"",topButtonsProps:[]},n_=function(t){function e(e){var a=t.call(this,e)||this;return a._getSubTextId=function(){var e=a.props,t=e.ariaDescribedById,o=e.modalProps,n=e.dialogContentProps,r=e.subText,i=o&&o.subtitleAriaId||t;return i||(i=(n&&n.subText||r)&&a._defaultSubTextId),i},a._getTitleTextId=function(){var e=a.props,t=e.ariaLabelledById,o=e.modalProps,n=e.dialogContentProps,r=e.title,i=o&&o.titleAriaId||t;return i||(i=(n&&n.title||r)&&a._defaultTitleTextId),i},a._id=bs("Dialog"),a._defaultTitleTextId=a._id+"-title",a._defaultSubTextId=a._id+"-subText",Ki("Dialog",e,{isOpen:"hidden",type:"dialogContentProps.type",subText:"dialogContentProps.subText",contentClassName:"dialogContentProps.className",topButtonsProps:"dialogContentProps.topButtonsProps",className:"modalProps.className",isDarkOverlay:"modalProps.isDarkOverlay",isBlocking:"modalProps.isBlocking",containerClassName:"modalProps.containerClassName",onDismissed:"modalProps.onDismissed",onLayerDidMount:"modalProps.layerProps.onLayerDidMount",ariaDescribedById:"modalProps.subtitleAriaId",ariaLabelledById:"modalProps.titleAriaId"}),a}return m(e,t),e.prototype.render=function(){var e,t,o,n,r,i=this.props,a=i.className,s=i.containerClassName,l=i.contentClassName,c=i.elementToFocusOnDismiss,u=i.firstFocusableSelector,d=i.forceFocusInsideTrap,p=i.styles,h=i.hidden,m=i.disableRestoreFocus,f=void 0===m?i.ignoreExternalFocusing:m,g=i.isBlocking,v=i.isClickableOutsideFocusTrap,b=i.isDarkOverlay,y=i.isOpen,C=void 0===y?!h:y,_=i.onDismiss,S=i.onDismissed,x=i.onLayerDidMount,k=i.responsiveMode,w=i.subText,I=i.theme,D=i.title,E=i.topButtonsProps,T=i.type,P=i.minWidth,R=i.maxWidth,M=i.modalProps,N=pt({onLayerDidMount:x},null==M?void 0:M.layerProps);(null==M?void 0:M.dragOptions)&&!(null===(e=M.dragOptions)||void 0===e?void 0:e.dragHandleSelector)&&(n="ms-Dialog-draggable-header",(r=pt({},M.dragOptions)).dragHandleSelector=".".concat(n));var B=pt(pt(pt(pt({},t_),{elementToFocusOnDismiss:c,firstFocusableSelector:u,forceFocusInsideTrap:d,disableRestoreFocus:f,isClickableOutsideFocusTrap:v,responsiveMode:k,className:a,containerClassName:s,isBlocking:g,isDarkOverlay:b,onDismissed:S}),M),{dragOptions:r,layerProps:N,isOpen:C}),A=pt(pt(pt({className:l,subText:w,title:D,topButtonsProps:E,type:T},o_),i.dialogContentProps),{draggableHeaderClassName:n,titleProps:pt({id:(null===(t=i.dialogContentProps)||void 0===t?void 0:t.titleId)||this._defaultTitleTextId},null===(o=i.dialogContentProps)||void 0===o?void 0:o.titleProps)}),F=e_(p,{theme:I,className:B.className,containerClassName:B.containerClassName,hidden:h,dialogDefaultMinWidth:P,dialogDefaultMaxWidth:R});return ht.createElement(KC,pt({},B,{className:F.root,containerClassName:F.main,onDismiss:_||B.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),ht.createElement(JC,pt({subTextId:this._defaultSubTextId,showCloseButton:B.isBlocking,onDismiss:_},A),i.children))},e.defaultProps={hidden:!0},u([Ad],e)}(ht.Component),r_={root:"ms-Dialog"},i_=ir(n_,function(e){var t,o=e.className,n=e.containerClassName,r=e.dialogDefaultMinWidth,i=void 0===r?"288px":r,a=e.dialogDefaultMaxWidth,s=void 0===a?"340px":a,l=e.hidden,c=e.theme;return{root:[Ro(r_,c).root,c.fonts.medium,o],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: ".concat(Lo,"px)")]={width:"auto",maxWidth:s,minWidth:i},t)},!l&&{display:"flex"},n]}},void 0,{scope:"Dialog"});i_.displayName="Dialog",function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}($C||($C={}));var a_,s_=vr(),l_=ht.createContext({}),c_=function(t){function e(e){var a=t.call(this,e)||this;return a._rootElement=ht.createRef(),a._onClick=function(e){a._onAction(e)},a._onKeyDown=function(e){e.which!==sr.enter&&e.which!==sr.space||a._onAction(e)},a._onAction=function(e){var t=a.props,o=t.onClick,n=t.onClickHref,r=t.onClickTarget,i=zc(a.context);o?o(e):!o&&n&&(r?i.open(n,r,"noreferrer noopener nofollow"):i.location.href=n,e.preventDefault(),e.stopPropagation())},ua(a),Ki("DocumentCard",e,{accentColor:void 0}),a}return m(e,t),e.prototype.render=function(){var e,t=this.props,o=t.onClick,n=t.onClickHref,r=t.children,i=t.type,a=t.accentColor,s=t.styles,l=t.theme,c=t.className,u=qr(this.props,jr,["className","onClick","type","role"]),d=!(!o&&!n);this._classNames=s_(s,{theme:l,className:c,actionable:d,compact:i===$C.compact}),i===$C.compact&&a&&(e={borderBottomColor:a});var p={role:this.props.role||(d?o?"button":"link":void 0),tabIndex:d?0:void 0};return ht.createElement("div",pt({ref:this._rootElement,role:"group",className:this._classNames.root,onKeyDown:d?this._onKeyDown:void 0,onClick:d?this._onClick:void 0,style:e},u),ht.createElement(l_.Provider,{value:p},r))},e.prototype.focus=function(){this._rootElement.current&&this._rootElement.current.focus()},e.defaultProps={type:$C.normal},e.contextType=ga,e}(ht.Component),u_={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},d_={root:"ms-DocumentCardActivity",multiplePeople:"ms-DocumentCardActivity--multiplePeople",details:"ms-DocumentCardActivity-details",name:"ms-DocumentCardActivity-name",activity:"ms-DocumentCardActivity-activity",avatars:"ms-DocumentCardActivity-avatars",avatar:"ms-DocumentCardActivity-avatar"},p_={root:"ms-DocumentCardTitle"},h_={root:"ms-DocumentCardLocation"},m_={root:"ms-DocumentCard",rootActionable:"ms-DocumentCard--actionable",rootCompact:"ms-DocumentCard--compact"},f_=ir(c_,function(e){var t,o,n=e.className,r=e.theme,i=e.actionable,a=e.compact,s=r.palette,l=r.fonts,c=r.effects,u=Ro(m_,r);return{root:[u.root,{WebkitFontSmoothing:"antialiased",backgroundColor:s.white,border:"1px solid ".concat(s.neutralLight),maxWidth:"320px",minWidth:"206px",userSelect:"none",position:"relative",selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=an(s.neutralSecondary,c.roundedCorner2),t[".".concat(h_.root," + .").concat(p_.root)]={paddingTop:"4px"},t)},i&&[u.rootActionable,{selectors:{":hover":{cursor:"pointer",borderColor:s.neutralTertiaryAlt},":hover:after":{content:'" "',position:"absolute",top:0,right:0,bottom:0,left:0,border:"1px solid ".concat(s.neutralTertiaryAlt),pointerEvents:"none"}}}],a&&[u.rootCompact,{display:"flex",maxWidth:"480px",height:"108px",selectors:(o={},o[".".concat(u_.root)]={borderRight:"1px solid ".concat(s.neutralLight),borderBottom:0,maxHeight:"106px",maxWidth:"144px"},o[".".concat(u_.icon)]={maxHeight:"32px",maxWidth:"32px"},o[".".concat(d_.root)]={paddingBottom:"12px"},o[".".concat(p_.root)]={paddingBottom:"12px 16px 8px 16px",fontSize:l.mediumPlus.fontSize,lineHeight:"16px"},o)}],n]}},void 0,{scope:"DocumentCard"}),g_=vr(),v_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var o=this,e=this.props,t=e.actions,n=e.views,r=e.styles,i=e.theme,a=e.className;return this._classNames=g_(r,{theme:i,className:a}),ht.createElement("div",{className:this._classNames.root},t&&t.map(function(e,t){return ht.createElement("div",{className:o._classNames.action,key:t},ht.createElement(xp,pt({},e)))}),n>0&&ht.createElement("div",{className:this._classNames.views},ht.createElement(wi,{iconName:"View",className:this._classNames.viewsIcon}),n))},e}(ht.Component),b_={root:"ms-DocumentCardActions",action:"ms-DocumentCardActions-action",views:"ms-DocumentCardActions-views"},y_=ir(v_,function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts,i=Ro(b_,o);return{root:[i.root,{height:"".concat(34,"px"),padding:"".concat(4,"px ").concat(12,"px"),position:"relative"},t],action:[i.action,{float:"left",marginRight:"4px",color:n.neutralSecondary,cursor:"pointer",selectors:{".ms-Button":{fontSize:r.mediumPlus.fontSize,height:34,width:34},".ms-Button:hover .ms-Button-icon":{color:o.semanticColors.buttonText,cursor:"pointer"}}}],views:[i.views,{textAlign:"right",lineHeight:34}],viewsIcon:{marginRight:"8px",fontSize:r.medium.fontSize,verticalAlign:"top"}}},void 0,{scope:"DocumentCardActions"}),C_=vr(),__=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.activity,o=e.people,n=e.styles,r=e.theme,i=e.className;return this._classNames=C_(n,{theme:r,className:i,multiplePeople:o.length>1}),o&&0!==o.length?ht.createElement("div",{className:this._classNames.root},this._renderAvatars(o),ht.createElement("div",{className:this._classNames.details},ht.createElement("span",{className:this._classNames.name},this._getNameString(o)),ht.createElement("span",{className:this._classNames.activity},t))):null},e.prototype._renderAvatars=function(e){return ht.createElement("div",{className:this._classNames.avatars},e.length>1?this._renderAvatar(e[1]):null,this._renderAvatar(e[0]))},e.prototype._renderAvatar=function(e){return ht.createElement("div",{className:this._classNames.avatar},ht.createElement(ia,{imageInitials:e.initials,text:e.name,imageUrl:e.profileImageSrc,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,role:"presentation",size:mi.size32}))},e.prototype._getNameString=function(e){var t=e[0].name;return e.length>=2&&(t+=" +"+(e.length-1)),t},e}(ht.Component),S_=ir(__,function(e){var t=e.theme,o=e.className,n=e.multiplePeople,r=t.palette,i=t.fonts,a=Ro(d_,t);return{root:[a.root,n&&a.multiplePeople,{padding:"".concat(8,"px ").concat(16,"px"),position:"relative"},o],avatars:[a.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[a.avatar,{display:"inline-block",verticalAlign:"top",position:"relative",textAlign:"center",width:32,height:32,selectors:{"&:after":{content:'" "',position:"absolute",left:"-1px",top:"-1px",right:"-1px",bottom:"-1px",border:"2px solid ".concat(r.white),borderRadius:"50%"},":nth-of-type(2)":n&&{marginLeft:"-16px"}}}],details:[a.details,{left:"".concat(n?72:56,"px"),height:32,position:"absolute",top:8,width:"calc(100% - ".concat(72,"px)")}],name:[a.name,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralPrimary,fontWeight:Qe.semibold}],activity:[a.activity,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralSecondary}]}},void 0,{scope:"DocumentCardActivity"}),x_=vr(),k_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.children,o=e.styles,n=e.theme,r=e.className;return this._classNames=x_(o,{theme:n,className:r}),ht.createElement("div",{className:this._classNames.root},t)},e}(ht.Component),w_={root:"ms-DocumentCardDetails"},I_=ir(k_,function(e){var t=e.className,o=e.theme;return{root:[Ro(w_,o).root,{display:"flex",flexDirection:"column",flex:1,justifyContent:"space-between",overflow:"hidden"},t]}},void 0,{scope:"DocumentCardDetails"}),D_=vr(),E_=function(o){function e(e){var t=o.call(this,e)||this;return t._onImageLoad=function(){t.setState({imageHasLoaded:!0})},ua(t),t.state={imageHasLoaded:!1},t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.styles,o=e.width,n=e.height,r=e.imageFit,i=e.imageSrc;return this._classNames=D_(t,this.props),ht.createElement("div",{className:this._classNames.root},i&&ht.createElement(ui,{width:o,height:n,imageFit:r,src:i,role:"presentation",alt:"",onLoad:this._onImageLoad}),this.state.imageHasLoaded?this._renderCornerIcon():this._renderCenterIcon())},e.prototype._renderCenterIcon=function(){var e=this.props.iconProps;return ht.createElement("div",{className:this._classNames.centeredIconWrapper},ht.createElement(wi,pt({className:this._classNames.centeredIcon},e)))},e.prototype._renderCornerIcon=function(){var e=this.props.iconProps;return ht.createElement(wi,pt({className:this._classNames.cornerIcon},e))},e}(ht.Component),T_="42px",P_="32px",R_=ir(E_,function(e){var t=e.theme,o=e.className,n=e.height,r=e.width,i=t.palette;return{root:[{borderBottom:"1px solid ".concat(i.neutralLight),position:"relative",backgroundColor:i.neutralLighterAlt,overflow:"hidden",height:n&&"".concat(n,"px"),width:r&&"".concat(r,"px")},o],centeredIcon:[{height:T_,width:T_,fontSize:T_}],centeredIconWrapper:[{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0}],cornerIcon:[{left:"10px",bottom:"10px",height:P_,width:P_,fontSize:P_,position:"absolute",overflow:"visible"}]}},void 0,{scope:"DocumentCardImage"}),M_=vr(),N_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.location,o=e.locationHref,n=e.ariaLabel,r=e.onClick,i=e.styles,a=e.theme,s=e.className;return this._classNames=M_(i,{theme:a,className:s}),ht.createElement("a",{className:this._classNames.root,href:o,onClick:r,"aria-label":n},t)},e}(ht.Component),B_=ir(N_,function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ro(h_,t).root,r.small,{color:n.themePrimary,display:"block",fontWeight:Qe.semibold,overflow:"hidden",padding:"8px 16px",position:"relative",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:{":hover":{color:n.themePrimary,cursor:"pointer"}}},o]}},void 0,{scope:"DocumentCardLocation"}),A_=vr(),F_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.logoIcon,o=e.styles,n=e.theme,r=e.className;return this._classNames=A_(o,{theme:n,className:r}),ht.createElement("div",{className:this._classNames.root},ht.createElement(wi,{iconName:t}))},e}(ht.Component),L_={root:"ms-DocumentCardLogo"},O_=ir(F_,function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ro(L_,t).root,{fontSize:r.xxLargePlus.fontSize,color:n.themePrimary,display:"block",padding:"16px 16px 0 16px"},o]}},void 0,{scope:"DocumentCardLogo"}),H_=vr(),z_=function(t){function e(e){var l=t.call(this,e)||this;return l._renderPreviewList=function(e){var t=l.props,o=t.getOverflowDocumentCountText,n=t.maxDisplayCount,r=void 0===n?3:n,i=e.length-r,a=i?o?o(i):"+"+i:null,s=e.slice(0,r).map(function(e,t){return ht.createElement("li",{key:t},ht.createElement(ui,{className:l._classNames.fileListIcon,src:e.iconSrc,role:"presentation",alt:"",width:"16px",height:"16px"}),ht.createElement(gl,pt({className:l._classNames.fileListLink,href:e.url},e.linkProps),e.name))});return ht.createElement("div",null,ht.createElement("ul",{className:l._classNames.fileList},s),a&&ht.createElement("span",{className:l._classNames.fileListOverflowText},a))},ua(l),l}return m(e,t),e.prototype.render=function(){var e,t,o=this.props,n=o.previewImages,r=o.styles,i=o.theme,a=o.className,s=n.length>1;return this._classNames=H_(r,{theme:i,className:a,isFileList:s}),n.length>1?t=this._renderPreviewList(n):1===n.length&&(t=this._renderPreviewImage(n[0]),n[0].accentColor&&(e={borderBottomColor:n[0].accentColor})),ht.createElement("div",{className:this._classNames.root,style:e},t)},e.prototype._renderPreviewImage=function(e){var t=e.width,o=e.height,n=e.imageFit,r=e.previewIconProps,i=e.previewIconContainerClass;if(r)return ht.createElement("div",{className:hi(this._classNames.previewIcon,i),style:{width:t,height:o}},ht.createElement(wi,pt({},r)));var a,s=ht.createElement(ui,{width:t,height:o,imageFit:n,src:e.previewImageSrc,role:"presentation",alt:""});return e.iconSrc&&(a=ht.createElement(ui,{className:this._classNames.icon,src:e.iconSrc,role:"presentation",alt:""})),ht.createElement("div",null,s,a)},e}(ht.Component),W_=ir(z_,function(e){var t,o,n=e.theme,r=e.className,i=e.isFileList,a=n.palette,s=n.fonts,l=Ro(u_,n);return{root:[l.root,s.small,{backgroundColor:i?a.white:a.neutralLighterAlt,borderBottom:"1px solid ".concat(a.neutralLight),overflow:"hidden",position:"relative"},r],previewIcon:[l.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[l.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",display:"flex",flexWrap:"nowrap",alignItems:"center",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",flexShrink:0,marginRight:"8px"},fileListLink:[on(n,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:a.neutralDark,flexGrow:1,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:(t={":hover":{color:a.themePrimary}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={selectors:(o={},o[Mo]={outline:"none"},o)},t)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}},void 0,{scope:"DocumentCardPreview"}),V_=vr(),K_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.statusIcon,o=e.status,n=e.styles,r=e.theme,i=e.className,a={iconName:t,styles:{root:{padding:"8px"}}};return this._classNames=V_(n,{theme:r,className:i}),ht.createElement("div",{className:this._classNames.root},t&&ht.createElement(wi,pt({},a)),o)},e}(ht.Component),G_={root:"ms-DocumentCardStatus"},U_=ir(K_,function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts;return{root:[Ro(G_,o).root,r.medium,{margin:"8px 16px",color:n.neutralPrimary,backgroundColor:n.neutralLighter,height:"32px"},t]}},void 0,{scope:"DocumentCardStatus"}),j_=vr(),q_=function(t){function e(e){var l=t.call(this,e)||this;return l._titleElement=ht.createRef(),l._truncateTitle=function(){l._needMeasurement&&l._async.requestAnimationFrame(l._truncateWhenInAnimation)},l._truncateWhenInAnimation=function(){var e=l.props.title,t=l._titleElement.current;if(t){var o=getComputedStyle(t);if(o.width&&o.lineHeight&&o.height){var n=t.clientWidth,r=t.scrollWidth;l._clientWidth=n;var i=Math.floor((parseInt(o.height,10)+5)/parseInt(o.lineHeight,10));t.style.whiteSpace="";var a=r/(parseInt(o.width,10)*i);if(a>1){var s=e.length/a-3;return l.setState({truncatedTitleFirstPiece:e.slice(0,s/2),truncatedTitleSecondPiece:e.slice(e.length-s/2)})}}}},l._shrinkTitle=function(){var e=l.state,t=e.truncatedTitleFirstPiece,o=e.truncatedTitleSecondPiece;if(t&&o){var n=l._titleElement.current;if(!n)return;(n.scrollHeight>n.clientHeight+5||n.scrollWidth>n.clientWidth)&&l.setState({truncatedTitleFirstPiece:t.slice(0,t.length-1),truncatedTitleSecondPiece:o.slice(1)})}},ua(l),l._async=new fa(l),l._events=new xl(l),l._clientWidth=void 0,l.state={truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0},l}return m(e,t),e.prototype.componentDidUpdate=function(e){var t=this;if(this.props.title!==e.title&&this.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0}),e.shouldTruncate!==this.props.shouldTruncate){var o=zc(this.context);this.props.shouldTruncate?(this._truncateTitle(),this._async.requestAnimationFrame(this._shrinkTitle),this._events.on(o,"resize",this._updateTruncation)):this._events.off(o,"resize",this._updateTruncation)}else this._needMeasurement&&this._async.requestAnimationFrame(function(){t._truncateWhenInAnimation(),t._shrinkTitle()})},e.prototype.componentDidMount=function(){if(this.props.shouldTruncate){this._truncateTitle();var e=zc(this.context);this._events.on(e,"resize",this._updateTruncation)}},e.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},e.prototype.render=function(){var n=this,e=this.props,r=e.title,t=e.shouldTruncate,o=e.showAsSecondaryTitle,i=e.styles,a=e.theme,s=e.className,l=this.state,c=l.truncatedTitleFirstPiece,u=l.truncatedTitleSecondPiece;return this._classNames=j_(i,{theme:a,className:s,showAsSecondaryTitle:o}),t&&c&&u?ht.createElement(l_.Consumer,null,function(e){var t=e.role,o=e.tabIndex;return ht.createElement("div",{className:n._classNames.root,ref:n._titleElement,title:r,tabIndex:o,role:t},c,"…",u)}):ht.createElement(l_.Consumer,null,function(e){var t=e.role,o=e.tabIndex;return ht.createElement("div",{className:n._classNames.root,ref:n._titleElement,title:r,tabIndex:o,role:t,style:n._needMeasurement?{whiteSpace:"nowrap"}:void 0},r)})},Object.defineProperty(e.prototype,"_needMeasurement",{get:function(){return!!this.props.shouldTruncate&&void 0===this._clientWidth},enumerable:!1,configurable:!0}),e.prototype._updateTruncation=function(){var e=this;this._timerId||(this._timerId=this._async.setTimeout(function(){delete e._timerId,e._clientWidth=void 0,e.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0})},250))},e.contextType=ga,e}(ht.Component),Y_=ir(q_,function(e){var t,o=e.theme,n=e.className,r=e.showAsSecondaryTitle,i=o.palette,a=o.fonts,s=o.effects;return{root:[Ro(p_,o).root,r?a.medium:a.large,{padding:"8px 16px",display:"block",overflow:"hidden",position:"relative",wordWrap:"break-word",height:r?"45px":"38px",lineHeight:r?"18px":"21px",color:r?i.neutralSecondary:i.neutralPrimary,selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=an(i.neutralSecondary,s.roundedCorner2),t)},n]}},void 0,{scope:"DocumentCardTitle"}),Z_=function(o){var n;return function(e){n||(n=new Set,ca(o,{componentWillUnmount:function(){n.forEach(function(e){return cancelAnimationFrame(e)})}}));var t=requestAnimationFrame(function(){n.delete(t),e()});n.add(t)}},X_=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],o=[],n=0,r=0;rthis._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index ".concat(e," is not a selectable element."));if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(a_||(a_={}));var Q_,J_=vr();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(Q_||(Q_={}));var $_,eS,tS,oS,nS,rS=function(n){function e(e){var s=n.call(this,e)||this;s._panel=ht.createRef(),s._animationCallback=null,s._hasCustomNavigation=!(!s.props.onRenderNavigation&&!s.props.onRenderNavigationContent),s.dismiss=function(e){s.props.onDismiss&&s.isActive&&s.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&s.close()},s._allowScrollOnPanel=function(t){var e;s._resizeObserver=s._createResizeObserver(function(e){e.length>0&&e[0].target===t&&s._updateFooterPosition()}),t?(null===(e=s._resizeObserver)||void 0===e||e.observe(t),s._allowTouchBodyScroll?ks(t,s._events):xs(t,s._events)):s._events.off(s._scrollableContent),s._scrollableContent=t},s._onRenderNavigation=function(e){if(!s.props.onRenderNavigationContent&&!s.props.onRenderNavigation&&!s.props.hasCloseButton)return null;var t=s.props.onRenderNavigationContent,o=void 0===t?s._onRenderNavigationContent:t;return ht.createElement("div",{className:s._classNames.navigation},o(e,s._onRenderNavigationContent))},s._onRenderNavigationContent=function(e){var t,o=e.closeButtonAriaLabel,n=e.hasCloseButton,r=e.onRenderHeader,i=void 0===r?s._onRenderHeader:r;if(n){var a=null===(t=s._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return ht.createElement(ht.Fragment,null,!s._hasCustomNavigation&&i(s.props,s._onRenderHeader,s._headerTextId),ht.createElement(xp,{styles:a,className:s._classNames.closeButton,onClick:s._onPanelClick,ariaLabel:o,title:o,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},s._onRenderHeader=function(e,t,o){var n=e.headerText,r=e.headerTextProps,i=void 0===r?{}:r;return n?ht.createElement("div",{className:s._classNames.header},ht.createElement("div",pt({id:o,role:"heading","aria-level":1},i,{className:hi(s._classNames.headerText,i.className)}),n)):null},s._onRenderBody=function(e){return ht.createElement("div",{className:s._classNames.content},e.children)},s._onRenderFooter=function(e){var t=s.props.onRenderFooterContent,o=void 0===t?null:t;return o?ht.createElement("div",{className:s._classNames.footer},ht.createElement("div",{className:s._classNames.footerInner},o())):null},s._animateTo=function(e){e===Q_.open&&s.props.onOpen&&s.props.onOpen(),s._animationCallback=s._async.setTimeout(function(){s.setState({visibility:e}),s._onTransitionComplete(e)},200)},s._clearExistingAnimationTimer=function(){null!==s._animationCallback&&s._async.clearTimeout(s._animationCallback)},s._onPanelClick=function(e){s.dismiss(e)},s._onTransitionComplete=function(e){s._updateFooterPosition(),e===Q_.open&&s.props.onOpened&&s.props.onOpened(),e===Q_.closed&&s.props.onDismissed&&s.props.onDismissed()};var t=s.props.allowTouchBodyScroll,o=void 0!==t&&t;return s._allowTouchBodyScroll=o,ua(s),Ki("Panel",e,{ignoreExternalFocusing:"focusTrapZoneProps",forceFocusInsideTrap:"focusTrapZoneProps",firstFocusableSelector:"focusTrapZoneProps"}),s.state={isFooterSticky:!1,visibility:Q_.closed,id:bs("Panel")},s}return m(e,n),e.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==Q_.closed&&t.visibility!==Q_.animatingClosed?e.isOpen||t.visibility!==Q_.open&&t.visibility!==Q_.animatingOpen?null:{visibility:Q_.animatingClosed}:{visibility:Q_.animatingOpen}},e.prototype.componentDidMount=function(){this._async=new fa(this),this._events=new xl(this);var e=zc(this.context),t=Hc(this.context);this._events.on(e,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(null==t?void 0:t.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:Q_.animatingOpen})},e.prototype.componentDidUpdate=function(e,t){var o=this._shouldListenForOuterClick(this.props),n=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===Q_.animatingOpen?this._animateTo(Q_.open):this.state.visibility===Q_.animatingClosed&&this._animateTo(Q_.closed));var r=Hc(this.context);o&&!n?this._events.on(null==r?void 0:r.body,"mousedown",this._dismissOnOuterClick,!0):!o&&n&&this._events.off(null==r?void 0:r.body,"mousedown",this._dismissOnOuterClick,!0)},e.prototype.componentWillUnmount=function(){var e;this._async.dispose(),this._events.dispose(),null===(e=this._resizeObserver)||void 0===e||e.disconnect()},e.prototype.render=function(){var e=this.props,t=e.className,o=void 0===t?"":t,n=e.elementToFocusOnDismiss,r=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,s=e.hasCloseButton,l=e.headerText,c=e.headerClassName,u=void 0===c?"":c,d=e.ignoreExternalFocusing,p=e.isBlocking,h=e.isFooterAtBottom,m=e.isLightDismiss,f=e.isHiddenOnDismiss,g=e.layerProps,v=e.overlayProps,b=e.popupProps,y=e.type,C=e.styles,_=e.theme,S=e.customWidth,x=e.onLightDismissClick,k=void 0===x?this._onPanelClick:x,w=e.onRenderNavigation,I=void 0===w?this._onRenderNavigation:w,D=e.onRenderHeader,E=void 0===D?this._onRenderHeader:D,T=e.onRenderBody,P=void 0===T?this._onRenderBody:T,R=e.onRenderFooter,M=void 0===R?this._onRenderFooter:R,N=this.state,B=N.isFooterSticky,A=N.visibility,F=N.id,L=y===a_.smallFixedNear||y===a_.customNear,O=cr(_)?L:!L,H=y===a_.custom||y===a_.customNear?{width:S}:{},z=qr(this.props,jr),W=this.isActive,V=A===Q_.animatingClosed||A===Q_.animatingOpen;if(this._headerTextId=l&&F+"-headerText",!W&&!V&&!f)return null;this._classNames=J_(C,{theme:_,className:o,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:s,headerClassName:u,isAnimating:V,isFooterSticky:B,isFooterAtBottom:h,isOnRightSide:O,isOpen:W,isHiddenOnDismiss:f,type:y,hasCustomNavigation:this._hasCustomNavigation});var K,G=this._classNames,U=this._allowTouchBodyScroll;return p&&W&&(K=ht.createElement(NC,pt({className:G.overlay,isDarkThemed:!1,onClick:m?k:void 0,allowTouchBodyScroll:U},v))),ht.createElement(Mu,pt({},g),ht.createElement(Bc,pt({role:"dialog","aria-modal":p?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:G.hiddenPanel,enableAriaHiddenSiblings:!!W},b),ht.createElement("div",pt({"aria-hidden":!W&&V},z,{ref:this._panel,className:G.root}),K,ht.createElement(tf,pt({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!p||f&&!W)&&a,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},i,{className:G.main,style:H,elementToFocusOnDismiss:n}),ht.createElement("div",{className:G.contentInner},ht.createElement("div",{ref:this._allowScrollOnPanel,className:G.scrollableContent,"data-is-scrollable":!0},ht.createElement("div",{className:G.commands,"data-is-visible":!0},I(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!s)&&E(this.props,this._onRenderHeader,this._headerTextId),P(this.props,this._onRenderBody),M(this.props,this._onRenderFooter)))))))},e.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:Q_.animatingOpen}))},e.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:Q_.animatingClosed})},Object.defineProperty(e.prototype,"isActive",{get:function(){return this.state.visibility===Q_.open||this.state.visibility===Q_.animatingOpen},enumerable:!1,configurable:!0}),e.prototype._createResizeObserver=function(e){var t,o=Hc(this.context),n=null;return(null===(t=null==o?void 0:o.defaultView)||void 0===t?void 0:t.ResizeObserver)&&(n=new o.defaultView.ResizeObserver(e)),n},e.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},e.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,o=e.scrollHeight;this.setState({isFooterSticky:t0&&i();var o=h._id+e.key;r.items.push(n(pt(pt({id:o},e),{index:t}),h._onRenderItem)),r.id=o;break;case Tv.Divider:t>0&&r.items.push(n(pt(pt({},e),{index:t}),h._onRenderItem)),r.items.length>0&&i();break;default:r.items.push(n(pt(pt({},e),{index:t}),h._onRenderItem))}}(e,t)}),r.items.length>0&&i(),ht.createElement(ht.Fragment,null,o)},h._onRenderItem=function(e){switch(e.itemType){case Tv.Divider:return h._renderSeparator(e);case Tv.Header:return h._renderHeader(e);default:return h._renderOption(e)}},h._renderOption=function(e){var t,o=h.props,n=o.onRenderOption,r=void 0===n?h._onRenderOption:n,i=o.hoisted.selectedIndices,a=void 0===i?[]:i,s=!(void 0===e.index||!a)&&a.indexOf(e.index)>-1,l=e.hidden?h._classNames.dropdownItemHidden:s&&!0===e.disabled?h._classNames.dropdownItemSelectedAndDisabled:s?h._classNames.dropdownItemSelected:!0===e.disabled?h._classNames.dropdownItemDisabled:h._classNames.dropdownItem,c=e.title,u=h._listId+e.index,d=null!==(t=e.id)&&void 0!==t?t:u+"-label",p=h._classNames.subComponentStyles?h._classNames.subComponentStyles.multiSelectItem:void 0;return h.props.multiSelect?ht.createElement(mf,{id:u,key:e.key,disabled:e.disabled,onChange:h._onItemClick(e),inputProps:pt({"aria-selected":s,onMouseEnter:h._onItemMouseEnter.bind(h,e),onMouseLeave:h._onMouseItemLeave.bind(h,e),onMouseMove:h._onItemMouseMove.bind(h,e),role:"option"},{"data-index":e.index,"data-is-focusable":!(e.disabled||e.hidden)}),label:e.text,title:c,onRenderLabel:h._onRenderItemLabel.bind(h,pt(pt({},e),{id:d})),className:hi(l,"is-multi-select"),checked:s,styles:p,ariaPositionInSet:e.hidden?void 0:h._sizePosCache.positionInSet(e.index),ariaSetSize:e.hidden?void 0:h._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:d}):ht.createElement(fh,{id:u,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:l,onClick:h._onItemClick(e),onMouseEnter:h._onItemMouseEnter.bind(h,e),onMouseLeave:h._onMouseItemLeave.bind(h,e),onMouseMove:h._onItemMouseMove.bind(h,e),role:"option","aria-selected":s?"true":"false",ariaLabel:e.ariaLabel,title:c,"aria-posinset":h._sizePosCache.positionInSet(e.index),"aria-setsize":h._sizePosCache.optionSetSize},r(e,h._onRenderOption))},h._onRenderOption=function(e){return ht.createElement("span",{className:h._classNames.dropdownOptionText},e.text)},h._onRenderMultiselectOption=function(e){return ht.createElement("span",{id:e.id,"aria-hidden":"true",className:h._classNames.dropdownOptionText},e.text)},h._onRenderItemLabel=function(e){var t=h.props.onRenderOption;return(void 0===t?h._onRenderMultiselectOption:t)(e,h._onRenderMultiselectOption)},h._onPositioned=function(e){h._focusZone.current&&h._requestAnimationFrame(function(){var e=h.props.hoisted.selectedIndices;if(h._focusZone.current)if(!h._hasBeenPositioned&&e&&e[0]&&!h.props.options[e[0]].disabled){var t=st().getElementById("".concat(h._id,"-list").concat(e[0]));t&&h._focusZone.current.focusElement(t),h._hasBeenPositioned=!0}else h._focusZone.current.focus()}),h.state.calloutRenderEdge&&h.state.calloutRenderEdge===e.targetEdge||h.setState({calloutRenderEdge:e.targetEdge})},h._onItemClick=function(t){return function(e){t.disabled||(h.setSelectedIndex(e,t.index),h.props.multiSelect||h.setState({isOpen:!1}))}},h._onScroll=function(){var e=zc(h.context);h._isScrollIdle||void 0===h._scrollIdleTimeoutId?h._isScrollIdle=!1:(e.clearTimeout(h._scrollIdleTimeoutId),h._scrollIdleTimeoutId=void 0),h._scrollIdleTimeoutId=e.setTimeout(function(){h._isScrollIdle=!0},h._scrollIdleDelay)},h._onMouseItemLeave=function(e,t){if(!h._shouldIgnoreMouseEvent()&&h._host.current)if(h._host.current.setActive)try{h._host.current.setActive()}catch(e){}else h._host.current.focus()},h._onDismiss=function(){h.setState({isOpen:!1})},h._onDropdownBlur=function(e){h._isDisabled()||h.state.isOpen||(h.setState({hasFocus:!1}),h.props.onBlur&&h.props.onBlur(e))},h._onDropdownKeyDown=function(e){if(!h._isDisabled()&&(h._lastKeyDownWasAltOrMeta=h._isAltOrMeta(e),!h.props.onKeyDown||(h.props.onKeyDown(e),!e.defaultPrevented))){var t,o=h.props.hoisted.selectedIndices.length?h.props.hoisted.selectedIndices[0]:-1,n=e.altKey||e.metaKey,r=h.state.isOpen;switch(e.which){case sr.enter:h.setState({isOpen:!r});break;case sr.escape:if(!r)return;h.setState({isOpen:!1});break;case sr.up:if(n){if(r){h.setState({isOpen:!1});break}return}h.props.multiSelect?h.setState({isOpen:!0}):h._isDisabled()||(t=h._moveIndex(e,-1,o-1,o));break;case sr.down:n&&(e.stopPropagation(),e.preventDefault()),n&&!r||h.props.multiSelect?h.setState({isOpen:!0}):h._isDisabled()||(t=h._moveIndex(e,1,o+1,o));break;case sr.home:h.props.multiSelect||(t=h._moveIndex(e,1,0,o));break;case sr.end:h.props.multiSelect||(t=h._moveIndex(e,-1,h.props.options.length-1,o));break;case sr.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},h._onDropdownKeyUp=function(e){if(!h._isDisabled()){var t=h._shouldHandleKeyUp(e),o=h.state.isOpen;h.props.onKeyUp&&(h.props.onKeyUp(e),e.defaultPrevented)||(e.which===sr.space?(h.setState({isOpen:!o}),e.stopPropagation(),e.preventDefault()):t&&o&&h.setState({isOpen:!1}))}},h._onZoneKeyDown=function(e){var t,o,n;h._lastKeyDownWasAltOrMeta=h._isAltOrMeta(e);var r=e.altKey||e.metaKey;switch(e.which){case sr.up:r?h.setState({isOpen:!1}):h._host.current&&(n=Xa(h._host.current,h._host.current.lastChild,!0));break;case sr.home:case sr.end:case sr.pageUp:case sr.pageDown:break;case sr.down:!r&&h._host.current&&(n=Za(h._host.current,h._host.current.firstChild,!0));break;case sr.escape:h.setState({isOpen:!1});break;case sr.tab:h.setState({isOpen:!1});var i=st();i&&(e.shiftKey?null===(t=es(i.body,h._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(o=ts(i.body,h._dropDown.current,!1,!1,!0,!0))||void 0===o||o.focus());break;default:return}n&&n.focus(),e.stopPropagation(),e.preventDefault()},h._onZoneKeyUp=function(e){h._shouldHandleKeyUp(e)&&h.state.isOpen&&(h.setState({isOpen:!1}),e.preventDefault())},h._onDropdownClick=function(e){if(!h.props.onClick||(h.props.onClick(e),!e.defaultPrevented)){var t=h.state.isOpen;h._isDisabled()||h._shouldOpenOnFocus()||h.setState({isOpen:!t}),h._isFocusedByClick=!1}},h._onDropdownMouseDown=function(){h._isFocusedByClick=!0},h._onFocus=function(e){if(!h._isDisabled()){h.props.onFocus&&h.props.onFocus(e);var t={hasFocus:!0};h._shouldOpenOnFocus()&&(t.isOpen=!0),h.setState(t)}},h._isDisabled=function(){var e=h.props.disabled,t=h.props.isDisabled;return void 0===e&&(e=t),e},h._onRenderLabel=function(e){var t=e.label,o=e.required,n=e.disabled,r=h._classNames.subComponentStyles?h._classNames.subComponentStyles.label:void 0;return t?ht.createElement(vf,{className:h._classNames.label,id:h._labelId,required:o,styles:r,disabled:n},t):null},ua(h);var t=e.multiSelect,o=e.selectedKey,n=e.selectedKeys,r=e.defaultSelectedKey,i=e.defaultSelectedKeys,a=e.options;if(Ki(fS,e,{isDisabled:"disabled",onChanged:"onChange",placeHolder:"placeholder",onRenderPlaceHolder:"onRenderPlaceholder"}),Gi(fS,e,{defaultSelectedKey:"selectedKey",defaultSelectedKeys:"selectedKeys",selectedKeys:"selectedKey"}),t){var s=function(e){return yn("Dropdown property '".concat(e,"' cannot be used when 'multiSelect' is true. Use '").concat(e,"s' instead."))};void 0!==o&&s("selectedKey"),void 0!==r&&s("defaultSelectedKey")}else{var l=function(e){return yn("Dropdown property '".concat(e,"s' cannot be used when 'multiSelect' is false/unset. Use '").concat(e,"' instead."))};void 0!==n&&l("selectedKey"),void 0!==i&&l("defaultSelectedKey")}return h._id=e.id||bs("Dropdown"),h._labelId=h._id+"-label",h._listId=h._id+"-list",h._optionId=h._id+"-option",h._isScrollIdle=!0,h._hasBeenPositioned=!1,h._sizePosCache.updateOptions(a),h.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},h}return m(e,c),Object.defineProperty(e.prototype,"selectedOptions",{get:function(){var e=this.props;return Wv(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),e.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},e.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},e.prototype.render=function(){var e=this._id,t=this.props,o=t.className,n=t.label,r=t.options,i=t.ariaLabel,a=t.required,s=t.errorMessage,l=t.styles,c=t.theme,u=t.panelProps,d=t.calloutProps,p=t.onRenderTitle,h=void 0===p?this._getTitle:p,m=t.onRenderContainer,f=void 0===m?this._onRenderContainer:m,g=t.onRenderCaretDown,v=void 0===g?this._onRenderCaretDown:g,b=t.onRenderLabel,y=void 0===b?this._onRenderLabel:b,C=t.onRenderItem,_=void 0===C?this._onRenderItem:C,S=t.hoisted.selectedIndices,x=this.state,k=x.isOpen,w=x.calloutRenderEdge,I=x.hasFocus,D=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;r!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(r);var E=Wv(r,S),T=qr(t,jr),P=this._isDisabled(),R=e+"-errorMessage";this._classNames=gS(l,{theme:c,className:o,hasError:!!(s&&s.length>0),hasLabel:!!n,isOpen:k,required:a,disabled:P,isRenderingPlaceholder:!E.length,panelClassName:u?u.className:void 0,calloutClassName:d?d.className:void 0,calloutRenderEdge:w});var M=!!s&&s.length>0;return ht.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":k?this._listId:void 0},y(this.props,this._onRenderLabel),ht.createElement("div",pt({"data-is-focusable":!P,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:P?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":k?"true":"false","aria-label":i,"aria-labelledby":n&&!i?Dl(this._labelId,this._optionId):void 0,"aria-describedby":M?this._id+"-errorMessage":void 0,"aria-required":a,"aria-disabled":P,"aria-invalid":M,"aria-controls":k?this._listId:void 0},T,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),ht.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":I?"polite":void 0,"aria-atomic":!!I||void 0},E.length?h(E,this._onRenderTitle):D(t,this._onRenderPlaceholder)),ht.createElement("span",{className:this._classNames.caretDownWrapper},v(t,this._onRenderCaretDown))),k&&f(pt(pt({},t),{onDismiss:this._onDismiss,onRenderItem:_}),this._onRenderContainer),M&&ht.createElement("div",{role:"alert",id:R,className:this._classNames.errorMessage},s))},e.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},e.prototype.setSelectedIndex=function(e,t){var o=this.props,n=o.options,r=o.selectedKey,i=o.selectedKeys,a=o.multiSelect,s=o.notifyOnReselect,l=o.hoisted.selectedIndices,c=void 0===l?[]:l,u=!!c&&c.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(n.length-1,t)),void 0===r&&void 0===i){if(a||s||t!==c[0]){if(a)if(d=c?this._copyArray(c):[],u){var p=d.indexOf(t);p>-1&&d.splice(p,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,n,t,u,a)}}else this._onChange(e,n,t,u,a)},e.prototype._copyArray=function(e){for(var t=[],o=0,n=e;o=r.length?o=0:o<0&&(o=r.length-1);for(var i=0;r[o].itemType===Tv.Header||r[o].itemType===Tv.Divider||r[o].disabled;){if(i>=r.length)return n;o+t<0?o=r.length:o+t>=r.length&&(o=-1),o+=t,i++}return this.setSelectedIndex(e,o),o},e.prototype._renderFocusableList=function(e){var t=e.onRenderList,o=void 0===t?this._onRenderList:t,n=e.label,r=e.ariaLabel,i=e.multiSelect;return ht.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},ht.createElement(Xs,{ref:this._focusZone,direction:xa.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":r,"aria-labelledby":n&&!r?this._labelId:void 0,"aria-multiselectable":i},o(e,this._onRenderList)))},e.prototype._renderSeparator=function(e){var t=e.index,o=e.key,n=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?ht.createElement("div",{role:"presentation",key:o,className:n}):null},e.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOption:t,n=e.key,r=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return ht.createElement("div",{id:r,key:n,className:i},o(e,this._onRenderOption))},e.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},e.prototype._onItemMouseMove=function(e,t){var o=Hc(this.context),n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&o.activeElement!==n&&n.focus()},e.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},e.prototype._isAltOrMeta=function(e){return e.which===sr.alt||"Meta"===e.key},e.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(Bl()||Ll())},e.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},e.defaultProps={options:[]},e.contextType=ga,e}(ht.Component),wS={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},IS=((yS={})["".concat(Mo,", ").concat(No.replace("@media ",""))]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),yS),DS={selectors:pt((CS={},CS[Mo]=(_S={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},_S[".".concat(Jo," &:focus:after")]={borderColor:"HighlightText"},_S),CS[".ms-Checkbox-checkbox"]=(SS={},SS[Mo]={borderColor:"HighlightText"},SS),CS),IS)},ES={selectors:(xS={},xS[Mo]={borderColor:"Highlight"},xS)},TS=Yo(0,Lo),PS=ir(bS,function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h=e.theme,m=e.hasError,f=e.hasLabel,g=e.className,v=e.isOpen,b=e.disabled,y=e.required,C=e.isRenderingPlaceholder,_=e.panelClassName,S=e.calloutClassName,x=e.calloutRenderEdge;if(!h)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var k=Ro(wS,h),w=h.palette,I=h.semanticColors,D=h.effects,E=h.fonts,T={color:I.menuItemTextHovered},P={color:I.menuItemText},R={borderColor:I.errorText},M=[k.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",".ms-Button-flexContainer":{width:"100%"}}],N=[k.dropdownItemHeader,pt(pt({},E.medium),{fontWeight:Qe.semibold,color:I.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(t={},t[Mo]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)})],B=I.menuItemBackgroundPressed,A=function(e){var t,o;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:I.menuItemTextHovered,backgroundColor:e?B:I.menuItemBackgroundHovered},DS],"&.is-multi-select:hover":[{backgroundColor:e?B:"transparent"},DS],"&:active:hover":[{color:I.menuItemTextHovered,backgroundColor:e?I.menuItemBackgroundHovered:I.menuItemBackgroundPressed},DS]},t[".".concat(Jo," &:focus:after, :host(.").concat(Jo,") &:focus:after")]=(o={left:0,top:0,bottom:0,right:0},o[Mo]={inset:"2px"},o),t[Mo]={border:"none"},t)}},F=z(z([],M,!0),[{backgroundColor:B,color:I.menuItemTextHovered},A(!0),DS],!1),L=z(z([],M,!0),[{color:I.disabledText,cursor:"default",selectors:(o={},o[Mo]={color:"GrayText",border:"none"},o)}],!1),O=x===Al.bottom?"".concat(D.roundedCorner2," ").concat(D.roundedCorner2," 0 0"):"0 0 ".concat(D.roundedCorner2," ").concat(D.roundedCorner2),H=x===Al.bottom?"0 0 ".concat(D.roundedCorner2," ").concat(D.roundedCorner2):"".concat(D.roundedCorner2," ").concat(D.roundedCorner2," 0 0");return{root:[k.root,g],label:k.label,dropdown:[k.dropdown,dn,E.medium,{color:I.menuItemText,borderColor:I.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(n={},n["&:hover ."+k.title]=[!b&&T,{borderColor:v?w.neutralSecondary:w.neutralPrimary},ES],n["&:focus ."+k.title]=[!b&&T,{selectors:(r={},r[Mo]={color:"Highlight"},r)}],n["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:b?"none":"2px solid ".concat(w.themePrimary),borderRadius:"2px",selectors:(i={},i[Mo]={color:"Highlight"},i)}],n["&:active ."+k.title]=[!b&&T,{borderColor:w.themePrimary},ES],n["&:hover ."+k.caretDown]=!b&&P,n["&:focus ."+k.caretDown]=[!b&&P,{selectors:(a={},a[Mo]={color:"Highlight"},a)}],n["&:active ."+k.caretDown]=!b&&P,n["&:hover ."+k.titleIsPlaceHolder]=!b&&P,n["&:focus ."+k.titleIsPlaceHolder]=!b&&P,n["&:active ."+k.titleIsPlaceHolder]=!b&&P,n["&:hover ."+k.titleHasError]=R,n["&:active ."+k.titleHasError]=R,n)},v&&"is-open",b&&"is-disabled",y&&"is-required",y&&!f&&{selectors:(s={":before":{content:"'*'",color:I.errorText,position:"absolute",top:-5,right:-10}},s[Mo]={selectors:{":after":{right:-14}}},s)}],title:[k.title,dn,{backgroundColor:I.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:I.inputBorder,borderRadius:v?O:D.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},C&&[k.titleIsPlaceHolder,{color:I.inputPlaceholderText}],m&&[k.titleHasError,R],b&&{backgroundColor:I.disabledBackground,border:"none",color:I.disabledText,cursor:"default",selectors:(l={},l[Mo]=pt({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)}],caretDownWrapper:[k.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!b&&{cursor:"pointer"}],caretDown:[k.caretDown,{color:w.neutralSecondary,fontSize:E.small.fontSize,pointerEvents:"none"},b&&{color:I.disabledText,selectors:(c={},c[Mo]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)}],errorMessage:pt(pt({color:I.errorText},h.fonts.small),{paddingTop:5}),callout:[k.callout,{boxShadow:D.elevation8,borderRadius:H,selectors:(u={},u[".ms-Callout-main"]={borderRadius:H},u)},S],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[k.dropdownItems,{display:"block"}],dropdownItem:z(z([],M,!0),[A()],!1),dropdownItemSelected:F,dropdownItemDisabled:L,dropdownItemSelectedAndDisabled:[F,L,{backgroundColor:"transparent"}],dropdownItemHidden:z(z([],M,!0),[{display:"none"}],!1),dropdownDivider:[k.dropdownDivider,{height:1,backgroundColor:I.bodyDivider}],dropdownDividerHidden:[k.dropdownDivider,{display:"none"}],dropdownOptionText:[k.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:N,dropdownItemHeaderHidden:z(z([],N,!0),[{display:"none"}],!1),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(d={},d[".".concat(Jo," &:focus + label::before, :host(.").concat(Jo,") &:focus + label::before")]={outlineOffset:"0px"},d)}},panel:{root:[_],main:{selectors:(p={},p[TS]={width:272},p)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"});PS.displayName="Dropdown",Kt([{rawString:".resultContent_4cc31f3f{display:table-row}.resultContent_4cc31f3f .resultItem_4cc31f3f{display:table-cell;vertical-align:bottom}.peoplePickerPersona_4cc31f3f{width:180px}.peoplePickerPersona_4cc31f3f .ms-Persona-details{width:100%}.peoplePicker_4cc31f3f .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_4cc31f3f{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}"}]),Kt([{rawString:".pickerText_9f838726{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;padding:1px;min-height:32px}.pickerText_9f838726:hover{border-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.pickerInput_9f838726{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_9f838726::-ms-clear{display:none}"}]);var RS,MS="pickerText_9f838726",NS="pickerInput_9f838726",BS=t,AS=function(t){function e(e){var s=t.call(this,e)||this;return s.floatingPicker=ht.createRef(),s.selectedItemsList=ht.createRef(),s.root=ht.createRef(),s.input=ht.createRef(),s.onSelectionChange=function(){s.forceUpdate()},s.onInputChange=function(e,t){t||(s.setState({queryString:e}),s.floatingPicker.current&&s.floatingPicker.current.onQueryStringChanged(e))},s.onInputFocus=function(e){s.selectedItemsList.current&&s.selectedItemsList.current.unselectAll(),s.props.inputProps&&s.props.inputProps.onFocus&&s.props.inputProps.onFocus(e)},s.onInputClick=function(e){if(s.selectedItemsList.current&&s.selectedItemsList.current.unselectAll(),s.floatingPicker.current&&s.inputElement){var t=""===s.inputElement.value||s.inputElement.value!==s.floatingPicker.current.inputText;s.floatingPicker.current.showPicker(t)}},s.onBackspace=function(e){e.which===sr.backspace&&s.selectedItemsList.current&&s.items.length&&(s.input.current&&!s.input.current.isValueSelected&&s.input.current.inputElement===e.currentTarget.ownerDocument.activeElement&&0===s.input.current.cursorLocation?(s.floatingPicker.current&&s.floatingPicker.current.hidePicker(),e.preventDefault(),s.selectedItemsList.current.removeItemAt(s.items.length-1),s._onSelectedItemsChanged()):s.selectedItemsList.current.hasSelectedItems()&&(s.floatingPicker.current&&s.floatingPicker.current.hidePicker(),e.preventDefault(),s.selectedItemsList.current.removeSelectedItems(),s._onSelectedItemsChanged()))},s.onCopy=function(e){s.selectedItemsList.current&&s.selectedItemsList.current.onCopy(e)},s.onPaste=function(e){if(s.props.onPaste){var t=e.clipboardData.getData("Text");e.preventDefault(),s.props.onPaste(t)}},s._onSuggestionSelected=function(e){var t=s.props.currentRenderedQueryString,o=s.state.queryString;if(void 0===t||t===o){var n=s.props.onItemSelected?s.props.onItemSelected(e):e;if(null===n)return;var r,i=n,a=n;a&&a.then?a.then(function(e){r=e,s._addProcessedItem(r)}):(r=i,s._addProcessedItem(r))}},s._onSelectedItemsChanged=function(){s.focus()},s._onSuggestionsShownOrHidden=function(){s.forceUpdate()},ua(s),s.selection=new Fy({onSelectionChanged:function(){return s.onSelectionChange()}}),s.state={queryString:""},s}return m(e,t),Object.defineProperty(e.prototype,"items",{get:function(){var e,t,o,n;return null!==(n=null!==(o=null!==(e=this.props.selectedItems)&&void 0!==e?e:null===(t=this.selectedItemsList.current)||void 0===t?void 0:t.items)&&void 0!==o?o:this.props.defaultSelectedItems)&&void 0!==n?n:null},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this.forceUpdate()},e.prototype.focus=function(){this.input.current&&this.input.current.focus()},e.prototype.clearInput=function(){this.input.current&&this.input.current.clear()},Object.defineProperty(e.prototype,"inputElement",{get:function(){return this.input.current&&this.input.current.inputElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightedItems",{get:function(){return this.selectedItemsList.current?this.selectedItemsList.current.highlightedItems():[]},enumerable:!1,configurable:!0}),e.prototype.render=function(){var e=this.props,t=e.className,o=e.inputProps,n=e.disabled,r=e.focusZoneProps,i=this.floatingPicker.current&&-1!==this.floatingPicker.current.currentSelectedSuggestionIndex?"sug-"+this.floatingPicker.current.currentSelectedSuggestionIndex:void 0,a=!!this.floatingPicker.current&&this.floatingPicker.current.isSuggestionsShown;return ht.createElement("div",{ref:this.root,className:hi("ms-BasePicker ms-BaseExtendedPicker",t||""),onKeyDown:this.onBackspace,onCopy:this.onCopy},ht.createElement(Xs,pt({direction:xa.bidirectional},r),ht.createElement(Ay,{selection:this.selection,selectionMode:ay.multiple},ht.createElement("div",{className:hi("ms-BasePicker-text",BS.pickerText),role:"list"},this.props.headerComponent,this.renderSelectedItemsList(),this.canAddItems()&&ht.createElement(_a,pt({},o,{className:hi("ms-BasePicker-input",BS.pickerInput),ref:this.input,onFocus:this.onInputFocus,onClick:this.onInputClick,onInputValueChange:this.onInputChange,"aria-activedescendant":i,"aria-owns":a?"suggestion-list":void 0,"aria-expanded":a,"aria-haspopup":"true",role:"combobox",disabled:n,onPaste:this.onPaste}))))),this.renderFloatingPicker())},Object.defineProperty(e.prototype,"floatingPickerProps",{get:function(){return this.props.floatingPickerProps},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedItemsListProps",{get:function(){return this.props.selectedItemsListProps},enumerable:!1,configurable:!0}),e.prototype.canAddItems=function(){var e=this.props.itemLimit;return void 0===e||this.items.length0,h=p?r:r.slice(0,d),m=(p?i:r.slice(d))||[];return ht.createElement("div",{className:u.root},this.onRenderAriaDescription(),ht.createElement("div",{className:u.itemContainer},a?this._getAddNewElement():null,ht.createElement("ul",{className:u.members,"aria-label":s},this._onRenderVisiblePersonas(h,0===m.length&&1===r.length,c)),e?this._getOverflowElement(m):null))},e.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&ht.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},e.prototype._onRenderVisiblePersonas=function(e,r,i){var a=this,t=this.props,o=t.onRenderPersona,s=void 0===o?this._getPersonaControl:o,n=t.onRenderPersonaCoin,l=void 0===n?this._getPersonaCoinControl:n,c=t.onRenderPersonaWrapper;return e.map(function(e,t){var o=r?s(e,a._getPersonaControl):l(e,a._getPersonaCoinControl),n=e.onClick?function(){return a._getElementWithOnClickEvent(o,e,i,t)}:function(){return a._getElementWithoutOnClickEvent(o,e,i,t)};return ht.createElement("li",{key:"".concat(r?"persona":"personaCoin","-").concat(t),className:a._classNames.member},c?c(e,n):n())})},e.prototype._getElementWithOnClickEvent=function(e,t,o,n){var r=t.keytipProps;return ht.createElement(HS,pt({},qr(t,Rr),this._getElementProps(t,o,n),{keytipProps:r,onClick:this._onPersonaClick.bind(this,t)}),e)},e.prototype._getElementWithoutOnClickEvent=function(e,t,o,n){return ht.createElement("div",pt({},qr(t,Rr),this._getElementProps(t,o,n)),e)},e.prototype._getElementProps=function(e,t,o){var n=this._classNames;return{key:(e.imageUrl?"i":"")+o,"data-is-focusable":!0,className:n.itemButton,title:t?e.personaName:void 0,onMouseMove:this._onPersonaMouseMove.bind(this,e),onMouseOut:this._onPersonaMouseOut.bind(this,e)}},e.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case RS.descriptive:return this._getDescriptiveOverflowElement(e);case RS.downArrow:return this._getIconElement("ChevronDown");case RS.more:return this._getIconElement("More");default:return null}},e.prototype._getDescriptiveOverflowElement=function(e){var t=this.props.personaSize;if(!e||e.length<1)return null;var o=e.map(function(e){return e.personaName}).join(", "),n=pt({title:o},this.props.overflowButtonProps),r=Math.max(e.length,0),i=this._classNames;return ht.createElement(HS,pt({},n,{ariaDescription:n.title,className:i.descriptiveOverflowButton}),ht.createElement(ia,{size:t,onRenderInitials:this._renderInitialsNotPictured(r),initialsColor:gi.transparent}))},e.prototype._getIconElement=function(e){var t=this.props,o=t.overflowButtonProps,n=t.personaSize,r=this._classNames;return ht.createElement(HS,pt({},o,{className:r.overflowButton}),ht.createElement(ia,{size:n,onRenderInitials:this._renderInitials(e,!0),initialsColor:gi.transparent}))},e.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,o=e.personaSize,n=this._classNames;return ht.createElement(HS,pt({},t,{className:n.addButton}),ht.createElement(ia,{size:o,onRenderInitials:this._renderInitials("AddFriend")}))},e.prototype._onPersonaClick=function(e,t){e.onClick(t,e),t.preventDefault(),t.stopPropagation()},e.prototype._onPersonaMouseMove=function(e,t){e.onMouseMove&&e.onMouseMove(t,e)},e.prototype._onPersonaMouseOut=function(e,t){e.onMouseOut&&e.onMouseOut(t,e)},e.prototype._renderInitials=function(e,t){var o=this._classNames;return function(){return ht.createElement(wi,{iconName:e,className:t?o.overflowInitialsIcon:""})}},e.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return ht.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},e.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:mi.size32},e}(ht.Component),qS={root:"ms-Facepile",addButton:"ms-Facepile-addButton ms-Facepile-itemButton",descriptiveOverflowButton:"ms-Facepile-descriptiveOverflowButton ms-Facepile-itemButton",itemButton:"ms-Facepile-itemButton ms-Facepile-person",itemContainer:"ms-Facepile-itemContainer",members:"ms-Facepile-members",member:"ms-Facepile-member",overflowButton:"ms-Facepile-overflowButton ms-Facepile-itemButton"},YS=ir(jS,function(e){var t,o=e.className,n=e.theme,r=e.spacingAroundItemButton,i=void 0===r?2:r,a=n.palette,s=n.fonts,l=Ro(qS,n),c={textAlign:"center",padding:0,borderRadius:"50%",verticalAlign:"top",display:"inline",backgroundColor:"transparent",border:"none",selectors:{"&::-moz-focus-inner":{padding:0,border:0}}};return{root:[l.root,n.fonts.medium,{width:"auto"},o],addButton:[l.addButton,on(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.white,backgroundColor:a.themePrimary,marginRight:2*i+"px",selectors:{"&:hover":{backgroundColor:a.themeDark},"&:focus":{backgroundColor:a.themeDark},"&:active":{backgroundColor:a.themeDarker},"&:disabled":{backgroundColor:a.neutralTertiaryAlt}}}],descriptiveOverflowButton:[l.descriptiveOverflowButton,on(n,{inset:-1}),c,{fontSize:s.small.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],itemButton:[l.itemButton,c],itemContainer:[l.itemContainer,{display:"flex"}],members:[l.members,{display:"flex",overflow:"hidden",listStyleType:"none",padding:0,margin:"-".concat(i,"px")}],member:[l.member,{display:"inline-flex",flex:"0 0 auto",margin:"".concat(i,"px")}],overflowButton:[l.overflowButton,on(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],overflowInitialsIcon:[{color:a.neutralPrimary,selectors:(t={},t[Mo]={color:"WindowText"},t)}],screenReaderOnly:ho}},void 0,{scope:"Facepile"});Kt([{rawString:".callout_ad5629e1 .ms-Suggestions-itemButton{padding:0;border:none}.callout_ad5629e1 .ms-Suggestions{min-width:300px}"}]);var ZS="callout_ad5629e1";Kt([{rawString:".root_8c91000a{min-width:260px}.suggestionsItem_8c91000a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;overflow:hidden}.suggestionsItem_8c91000a:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_8c91000a:hover .closeButton_8c91000a{display:block}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .itemButton_8c91000a{color:HighlightText}}.suggestionsItem_8c91000a .closeButton_8c91000a{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_8c91000a{background-color:transparent;border:0;cursor:pointer;margin:0;position:relative;border-top:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";height:40px;width:100%;font-size:12px}[dir=ltr] .actionButton_8c91000a{padding-left:8px}[dir=rtl] .actionButton_8c91000a{padding-right:8px}html[dir=ltr] .actionButton_8c91000a{text-align:left}html[dir=rtl] .actionButton_8c91000a{text-align:right}.actionButton_8c91000a:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_8c91000a:active,.actionButton_8c91000a:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_8c91000a .ms-Button-icon{font-size:16px;width:25px}.actionButton_8c91000a .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_8c91000a .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_8c91000a{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_8c91000a{padding:0 12px;color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";font-size:12px;line-height:40px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsContainer_8c91000a{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_8c91000a{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_8c91000a{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_8c91000a{padding-left:14px}html[dir=rtl] .suggestionsSpinner_8c91000a{padding-right:14px}html[dir=ltr] .suggestionsSpinner_8c91000a{text-align:left}html[dir=rtl] .suggestionsSpinner_8c91000a{text-align:right}.suggestionsSpinner_8c91000a .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_8c91000a .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_8c91000a .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_8c91000a.itemButton_8c91000a{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_8c91000a.itemButton_8c91000a{color:WindowText}}.itemButton_8c91000a.itemButton_8c91000a:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_8c91000a.closeButton_8c91000a{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.closeButton_8c91000a.closeButton_8c91000a{color:WindowText}}.closeButton_8c91000a.closeButton_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_8c91000a{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var XS="root_8c91000a",QS="suggestionsItem_8c91000a",JS="closeButton_8c91000a",$S="suggestionsItemIsSuggested_8c91000a",ex="itemButton_8c91000a",tx="actionButton_8c91000a",ox="buttonSelected_8c91000a",nx="suggestionsTitle_8c91000a",rx="suggestionsContainer_8c91000a",ix="suggestionsNone_8c91000a",ax="suggestionsSpinner_8c91000a",sx="suggestionsAvailable_8c91000a",lx=r,cx=vr(),ux=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e,t=this.props,o=t.suggestionModel,n=t.RenderSuggestion,r=t.onClick,i=t.className,a=t.id,s=t.onRemoveItem,l=t.isSelectedOverride,c=t.removeButtonAriaLabel,u=t.styles,d=t.theme,p=t.removeButtonIconProps,h=u?cx(u,{theme:d,className:i,suggested:o.selected||l}):{root:hi("ms-Suggestions-item",lx.suggestionsItem,(e={},e["is-suggested "+lx.suggestionsItemIsSuggested]=o.selected||l,e),i),itemButton:hi("ms-Suggestions-itemButton",lx.itemButton),closeButton:hi("ms-Suggestions-closeButton",lx.closeButton)};return ht.createElement("div",{className:h.root,role:"presentation"},ht.createElement(fh,{onClick:r,className:h.itemButton,id:a,"aria-selected":o.selected,role:"option","aria-label":o.ariaLabel},n(o.item,this.props)),this.props.showRemoveButton?ht.createElement(xp,{iconProps:null!=p?p:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},title:c,ariaLabel:c,onClick:s,className:h.closeButton}):null)},e}(ht.Component);Kt([{rawString:".suggestionsContainer_44c59fda{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_44c59fda .ms-Suggestion-item:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.suggestionsContainer_44c59fda .is-suggested{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.suggestionsContainer_44c59fda .is-suggested:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}"}]);var dx="suggestionsContainer_44c59fda",px=i,hx=function(t){function e(e){var n=t.call(this,e)||this;return n._selectedElement=ht.createRef(),n.SuggestionsItemOfProperType=ux,n._onClickTypedSuggestionsItem=function(t,o){return function(e){n.props.onSuggestionClick(e,t,o)}},n._onRemoveTypedSuggestionsItem=function(t,o){return function(e){(0,n.props.onSuggestionRemove)(e,t,o),e.stopPropagation()}},ua(n),n.currentIndex=-1,n}return m(e,t),e.prototype.nextSuggestion=function(){var e=this.props.suggestions;if(e&&e.length>0){if(-1===this.currentIndex)return this.setSelectedSuggestion(0),!0;if(this.currentIndex0){if(-1===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0;if(this.currentIndex>0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(this.props.shouldLoopSelection&&0===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0}return!1},Object.defineProperty(e.prototype,"selectedElement",{get:function(){return this._selectedElement.current||void 0},enumerable:!1,configurable:!0}),e.prototype.getCurrentItem=function(){return this.props.suggestions[this.currentIndex]},e.prototype.getSuggestionAtIndex=function(e){return this.props.suggestions[e]},e.prototype.hasSuggestionSelected=function(){return-1!==this.currentIndex&&this.currentIndex-1&&this.props.suggestions[this.currentIndex]&&(this.props.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1,this.forceUpdate())},e.prototype.setSelectedSuggestion=function(e){var t=this.props.suggestions;e>t.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=t[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&t[this.currentIndex]&&(t[this.currentIndex].selected=!1),t[e].selected=!0,this.currentIndex=e,this.currentSuggestion=t[e]),this.forceUpdate()},e.prototype.componentDidUpdate=function(){this.scrollSelected()},e.prototype.render=function(){var o=this,e=this.props,n=e.onRenderSuggestion,r=e.suggestionsItemClassName,t=e.resultsMaximumNumber,i=e.showRemoveButtons,a=e.suggestionsContainerAriaLabel,s=this.SuggestionsItemOfProperType,l=this.props.suggestions;return t&&(l=l.slice(0,t)),ht.createElement("div",{className:hi("ms-Suggestions-container",px.suggestionsContainer),id:"suggestion-list",role:"listbox","aria-label":a},l.map(function(e,t){return ht.createElement("div",{ref:e.selected||t===o.currentIndex?o._selectedElement:void 0,key:e.item.key?e.item.key:t,id:"sug-"+t},ht.createElement(s,{id:"sug-item"+t,suggestionModel:e,RenderSuggestion:n,onClick:o._onClickTypedSuggestionsItem(e.item,t),className:r,showRemoveButton:i,onRemoveItem:o._onRemoveTypedSuggestionsItem(e.item,t),isSelectedOverride:t===o.currentIndex}))}))},e.prototype.scrollSelected=function(){var e;void 0!==(null===(e=this._selectedElement.current)||void 0===e?void 0:e.scrollIntoView)&&this._selectedElement.current.scrollIntoView(!1)},e}(ht.Component);Kt([{rawString:".root_ade399af{min-width:260px}.actionButton_ade399af{background:0 0;background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:relative;width:100%;font-size:12px}html[dir=ltr] .actionButton_ade399af{text-align:left}html[dir=rtl] .actionButton_ade399af{text-align:right}.actionButton_ade399af:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.actionButton_ade399af:active,.actionButton_ade399af:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_ade399af .ms-Button-icon{font-size:16px;width:25px}.actionButton_ade399af .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_ade399af .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_ade399af{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.buttonSelected_ade399af:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af:hover{background-color:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af{background-color:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsTitle_ade399af{font-size:12px}.suggestionsSpinner_ade399af{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_ade399af{padding-left:14px}html[dir=rtl] .suggestionsSpinner_ade399af{padding-right:14px}html[dir=ltr] .suggestionsSpinner_ade399af{text-align:left}html[dir=rtl] .suggestionsSpinner_ade399af{text-align:right}.suggestionsSpinner_ade399af .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_ade399af .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_ade399af .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_ade399af{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_ade399af{color:WindowText}}.screenReaderOnly_ade399af{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var mx,fx="root_ade399af",gx="actionButton_ade399af",vx="buttonSelected_ade399af",bx="suggestionsTitle_ade399af",yx="suggestionsSpinner_ade399af",Cx="itemButton_ade399af",_x="screenReaderOnly_ade399af",Sx=a;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(mx||(mx={}));var xx=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e,t=this.props,o=t.renderItem,n=t.onExecute,r=t.isSelected,i=t.id,a=t.className;return n?ht.createElement("div",{id:i,onClick:n,className:hi("ms-Suggestions-sectionButton",a,Sx.actionButton,(e={},e["is-selected "+Sx.buttonSelected]=r,e))},o()):ht.createElement("div",{id:i,className:hi("ms-Suggestions-section",a,Sx.suggestionsTitle)},o())},e}(ht.Component),kx=function(o){function e(e){var t=o.call(this,e)||this;return t._selectedElement=ht.createRef(),t._suggestions=ht.createRef(),t.SuggestionsOfProperType=hx,ua(t),t.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:e.suggestions},t}return m(e,o),e.prototype.componentDidMount=function(){this.resetSelectedItem()},e.prototype.componentDidUpdate=function(e){var t=this;this.scrollSelected(),e.suggestions&&e.suggestions!==this.props.suggestions&&this.setState({suggestions:this.props.suggestions},function(){t.resetSelectedItem()})},e.prototype.componentWillUnmount=function(){var e;null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions()},e.prototype.render=function(){var e=this.props,t=e.className,o=e.headerItemsProps,n=e.footerItemsProps,r=e.suggestionsAvailableAlertText,i=de(ho),a=this.state.suggestions&&this.state.suggestions.length>0&&r;return ht.createElement("div",{className:hi("ms-Suggestions",t||"",Sx.root)},o&&this.renderHeaderItems(),this._renderSuggestions(),n&&this.renderFooterItems(),a?ht.createElement("span",{role:"alert","aria-live":"polite",className:i},r):null)},Object.defineProperty(e.prototype,"currentSuggestion",{get:function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.getCurrentItem())||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedElement",{get:function(){var e;return this._selectedElement.current?this._selectedElement.current:null===(e=this._suggestions.current)||void 0===e?void 0:e.selectedElement},enumerable:!1,configurable:!0}),e.prototype.hasSuggestionSelected=function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())||!1},e.prototype.hasSelection=function(){var e=this.state,t=e.selectedHeaderIndex,o=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==o},e.prototype.executeSelectedAction=function(){var e,t=this.props,o=t.headerItemsProps,n=t.footerItemsProps,r=this.state,i=r.selectedHeaderIndex,a=r.selectedFooterIndex;if(o&&-1!==i&&it+1)return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r=e===mx.header,i=r?this.props.headerItemsProps:this.props.footerItemsProps;if(i&&i.length>t+1)for(var a=t+1;a0)return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(r-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r,i=e===mx.header,a=i?this.props.headerItemsProps:this.props.footerItemsProps;if(a&&(r=void 0!==t?t:a.length)>0)for(var s=r-1;s>=0;s--){var l=a[s];if(l.onExecute&&l.shouldShow())return this.setState({selectedHeaderIndex:i?s:-1}),this.setState({selectedFooterIndex:i?-1:s}),null===(n=this._suggestions.current)||void 0===n||n.deselectAllSuggestions(),!0}}return!1},e.prototype._getCurrentIndexForType=function(e){switch(e){case mx.header:return this.state.selectedHeaderIndex;case mx.suggestion:return this._suggestions.current.currentIndex;case mx.footer:return this.state.selectedFooterIndex}},e.prototype._getNextItemSectionType=function(e){switch(e){case mx.header:return mx.suggestion;case mx.suggestion:return mx.footer;case mx.footer:return mx.header}},e.prototype._getPreviousItemSectionType=function(e){switch(e){case mx.header:return mx.footer;case mx.suggestion:return mx.header;case mx.footer:return mx.suggestion}},e}(ht.Component),wx=o,Ix=function(t){function e(e){var n=t.call(this,e)||this;return n.root=ht.createRef(),n.suggestionsControl=ht.createRef(),n.SuggestionsControlOfProperType=kx,n.isComponentMounted=!1,n.onQueryStringChanged=function(e){e!==n.state.queryString&&(n.setState({queryString:e}),n.props.onInputChanged&&n.props.onInputChanged(e),n.updateValue(e))},n.hidePicker=function(){var e=n.isSuggestionsShown;n.setState({suggestionsVisible:!1}),n.props.onSuggestionsHidden&&e&&n.props.onSuggestionsHidden()},n.showPicker=function(e){void 0===e&&(e=!1);var t=n.isSuggestionsShown;n.setState({suggestionsVisible:!0});var o=n.props.inputElement?n.props.inputElement.value:"";e&&n.updateValue(o),n.props.onSuggestionsShown&&!t&&n.props.onSuggestionsShown()},n.completeSuggestion=function(){n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected()&&n.onChange(n.suggestionsControl.current.currentSuggestion.item)},n.onSuggestionClick=function(e,t,o){n.onChange(t),n._updateSuggestionsVisible(!1)},n.onSuggestionRemove=function(e,t,o){n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(t),n.suggestionsControl.current&&n.suggestionsControl.current.removeSuggestion(o)},n.onKeyDown=function(e){if(n.state.suggestionsVisible&&(!n.props.inputElement||n.props.inputElement.contains(e.target))){var t=e.which;switch(t){case sr.escape:n.hidePicker(),e.preventDefault(),e.stopPropagation();break;case sr.tab:case sr.enter:!e.shiftKey&&!e.ctrlKey&&n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):n._onValidateInput();break;case sr.del:n.props.onRemoveSuggestion&&n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected()&&n.suggestionsControl.current.currentSuggestion&&e.shiftKey&&(n.props.onRemoveSuggestion(n.suggestionsControl.current.currentSuggestion.item),n.suggestionsControl.current.removeSuggestion(),n.forceUpdate(),e.stopPropagation());break;case sr.up:case sr.down:n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)&&(e.preventDefault(),e.stopPropagation(),n._updateActiveDescendant())}}},n._onValidateInput=function(){if(n.state.queryString&&n.props.onValidateInput&&n.props.createGenericItem){var e=n.props.createGenericItem(n.state.queryString,n.props.onValidateInput(n.state.queryString)),t=n.suggestionStore.convertSuggestionsToSuggestionItems([e]);n.onChange(t[0].item)}},n._async=new fa(n),ua(n),n.suggestionStore=e.suggestionsStore,n.state={queryString:"",didBind:!1},n}return m(e,t),Object.defineProperty(e.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!1,configurable:!0}),e.prototype.forceResolveSuggestion=function(){this.suggestionsControl.current&&this.suggestionsControl.current.hasSuggestionSelected()?this.completeSuggestion():this._onValidateInput()},Object.defineProperty(e.prototype,"currentSelectedSuggestionIndex",{get:function(){return this.suggestionsControl.current?this.suggestionsControl.current.currentSuggestionIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this._bindToInputElement(),this.isComponentMounted=!0,this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},e.prototype.componentDidUpdate=function(){this._bindToInputElement()},e.prototype.componentWillUnmount=function(){this._unbindFromInputElement(),this._async.dispose(),this.isComponentMounted=!1},e.prototype.updateSuggestions=function(e,t){void 0===t&&(t=!1),this.suggestionStore.updateSuggestions(e),t&&this.forceUpdate()},e.prototype.render=function(){var e=this.props.className;return ht.createElement("div",{ref:this.root,className:hi("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},e.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.props.suggestionItems&&this.suggestionStore.updateSuggestions(this.props.suggestionItems),this.state.suggestionsVisible?ht.createElement(Nu,pt({className:wx.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:Rl.bottomLeftEdge,directionalHintForRTL:Rl.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),ht.createElement(e,pt({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionsControl,completeSuggestion:this.completeSuggestion,shouldLoopSelection:!1},this.props.pickerSuggestionsProps))):null},e.prototype.onSelectionChange=function(){this.forceUpdate()},e.prototype.updateValue=function(e){""===e?this.updateSuggestionWithZeroState():this._onResolveSuggestions(e)},e.prototype.updateSuggestionWithZeroState=function(){if(this.props.onZeroQuerySuggestion){var e=(0,this.props.onZeroQuerySuggestion)(this.props.selectedItems);this.updateSuggestionsList(e)}else this.hidePicker()},e.prototype.updateSuggestionsList=function(t){var o=this;Array.isArray(t)?this.updateSuggestions(t,!0):t&&t.then&&(this.currentPromise=t,t.then(function(e){t===o.currentPromise&&o.isComponentMounted&&o.updateSuggestions(e,!0)}))},e.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},e.prototype._updateActiveDescendant=function(){if(this.props.inputElement&&this.suggestionsControl.current&&this.suggestionsControl.current.selectedElement){var e=this.suggestionsControl.current.selectedElement.getAttribute("id");e&&this.props.inputElement.setAttribute("aria-activedescendant",e)}},e.prototype._onResolveSuggestions=function(e){var t=this.props.onResolveSuggestions(e,this.props.selectedItems);this._updateSuggestionsVisible(!0),null!==t&&this.updateSuggestionsList(t)},e.prototype._updateSuggestionsVisible=function(e){e?this.showPicker():this.hidePicker()},e.prototype._bindToInputElement=function(){this.props.inputElement&&!this.state.didBind&&(this.props.inputElement.addEventListener("keydown",this.onKeyDown),this.setState({didBind:!0}))},e.prototype._unbindFromInputElement=function(){this.props.inputElement&&this.state.didBind&&(this.props.inputElement.removeEventListener("keydown",this.onKeyDown),this.setState({didBind:!1}))},e}(ht.Component);Kt([{rawString:".resultContent_f73be5be{display:table-row}.resultContent_f73be5be .resultItem_f73be5be{display:table-cell;vertical-align:bottom}.peoplePickerPersona_f73be5be{width:180px}.peoplePickerPersona_f73be5be .ms-Persona-details{width:100%}.peoplePicker_f73be5be .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_f73be5be{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px 12px}"}]);var Dx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(Ix),Ex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.defaultProps={onRenderSuggestionsItem:function(e,t){return o=pt({},e),pt({},t),ht.createElement("div",{className:hi("ms-PeoplePicker-personaContent","peoplePickerPersonaContent_f73be5be")},ht.createElement(GS,pt({presence:void 0!==o.presence?o.presence:fi.none,size:mi.size40,className:hi("ms-PeoplePicker-Persona","peoplePickerPersona_f73be5be"),showSecondaryText:!0},o)));var o},createGenericItem:Tx},t}(Dx);function Tx(e,t){var o={key:e,primaryText:e,imageInitials:"!",isValid:t};return t||(o.imageInitials=ni(e,cr())),o}var Px=function(){function e(e){var t=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(e){return t._isSuggestionModel(e)?e:{item:e,selected:!1,ariaLabel:void 0!==t.getAriaLabel?t.getAriaLabel(e):e.name||e.text||e.primaryText}},this.suggestions=[],this.getAriaLabel=e&&e.getAriaLabel}return e.prototype.updateSuggestions=function(e){e&&e.length>0?this.suggestions=this.convertSuggestionsToSuggestionItems(e):this.suggestions=[]},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e}(),Rx=function(e){return!(!e||!e.some(function(e){return e.children?Rx(e.children):!e.isCollapsed}))},Mx=function(e,t){if(void 0!==e)for(var o=0;o=0;)i.push({group:e[a],groupIndex:a+1}),a--;for(;i.length>0;){var s=i.pop(),l=s.group,c=s.groupIndex;for(o[r]={group:l,groupId:bs("GroupedListSection"),type:"header",groupIndex:c},r++;!0!==l.isCollapsed&&(null==l?void 0:l.children)&&l.children.length>0;){for(a=l.children.length-1;a>0;)i.push({group:l.children[a],groupIndex:a+1}),a--;l=l.children[0],o[r]={group:l,groupId:bs("GroupedListSection"),type:"header",groupIndex:1},r++}if(!0!==l.isCollapsed){for(var u=l.startIndex,d=n?n(l):1/0,p=l.isShowingAll?t.length:l.count,h=u+Math.min(p,d);ud||l.hasMoreData)&&(o[r]={group:l,type:"showAll"},r++)}o[r]={group:l,type:"footer"},r++}return o.length=r,o}(u,c,L.current,null==a?void 0:a.getGroupItemLimit)},[u,null==a?void 0:a.getGroupItemLimit,c,G,L,D]),Z=ht.useCallback(function(e){var t=Y[e];return{key:"header"===t.type?t.group.key:void 0}},[Y]);ht.useImperativeHandle(I,function(){var a;return{scrollToIndex:function(e,o,t){var n,r=(a=null!=a?a:Y.reduce(function(e,t,o){return"item"===t.type&&(e[t.itemIndex]=o),e},[]))[e],i="function"==typeof o?function(e){var t;return"item"===(null===(t=Y[e])||void 0===t?void 0:t.type)?o(Y[e].itemIndex):0}:void 0;null===(n=H.current)||void 0===n||n.scrollToIndex(r,i,t)},getStartItemIndexInView:function(){var e;return(null===(e=H.current)||void 0===e?void 0:e.getStartItemIndexInView())||0}}},[Y,H]),ht.useEffect(function(){return(null==a?void 0:a.isAllGroupsCollapsed)&&Mx(u,a.isAllGroupsCollapsed),F.current=new xl(void 0),function(){var e;null===(e=F.current)||void 0===e||e.dispose(),F.current=void 0}},[]),ht.useEffect(function(){V({})},[E]),ht.useEffect(function(){var e=Rx(u);e!==O.current&&(O.current=e,null==d||d(e))},[u,G,d,D]);var X=ht.useCallback(function(e){var t,o=null===(t=null==a?void 0:a.headerProps)||void 0===t?void 0:t.onToggleCollapse;e&&(null==o||o(e),e.isCollapsed=!e.isCollapsed,U({}),V({}))},[U,a]),Q=function(e){e&&i&&n===ay.multiple&&i.toggleRangeSelected(e.startIndex,e.count)},J=function(e){var t,o=null===(t=null==a?void 0:a.showAllProps)||void 0===t?void 0:t.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),V({}),U({}))},$=function(e,t){var o;return{group:e,groupIndex:t,groupLevel:null!==(o=e.level)&&void 0!==o?o:0,viewport:w,selectionMode:n,groups:u,compact:s,onToggleSelectGroup:Q,onToggleCollapse:X,onToggleSummarize:J}};return ht.createElement(Xs,pt({direction:xa.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},_,{shouldEnterInnerZone:q,className:hi(A.root,_.className)}),ht.createElement(db,pt({ref:H,role:b,items:Y,onRenderCellConditional:function(e,t){var o;if("header"===e.type)return function(e,t){var o,n=e.group;o="treegrid"===b?{ariaLevel:n.level?n.level+1:1,ariaSetSize:u?u.length:void 0,ariaPosInSet:e.groupIndex}:{ariaRowIndex:t};var r=pt(pt(pt(pt({},a.headerProps),$(e.group,t)),{key:n.key,groupedListId:e.groupId}),o);return ht.createElement(zx,{render:P,defaultRender:Fx,item:e,selection:i,eventGroup:F.current,props:r})}(e,t);if("showAll"===e.type)return function(e,t){var o=e.group,n=pt(pt(pt({},a.showAllProps),$(o,t)),{key:o.key?"".concat(o.key,"-show-all"):void 0});return B(n,Lx)}(e,t);if("footer"===e.type)return function(e,t){var o=e.group,n=pt(pt(pt({},a.footerProps),$(o,t)),{key:o.key?"".concat(o.key,"-footer"):void 0});return M(n,Ox)}(e,t);var n=e.group.level?e.group.level+1:1;return k(n,e.item,null!==(o=e.itemIndex)&&void 0!==o?o:t,e.group)},usePageCache:m,onShouldVirtualize:f,getPageSpecification:Z,version:W,getKey:Ax},p,x)))},zx=function(e){var t=e.render,o=e.defaultRender,n=e.item,r=e.selection,i=e.eventGroup,a=e.props,s=n.group,l=function(t,o,n,r){var e=ht.useState(function(){var e;return null!==(e=null==n?void 0:n.isRangeSelected(t,o))&&void 0!==e&&e}),i=e[0],a=e[1];return ht.useEffect(function(){if(n&&r){var e=function(){var e;a(null!==(e=null==n?void 0:n.isRangeSelected(t,o))&&void 0!==e&&e)};return r.on(n,ly,e),function(){null==r||r.off(n,ly,e)}}},[t,o,n,r]),i}(s.startIndex,s.count,r,i);return t(pt(pt({},a),{isSelected:l,selected:l}),o)},Wx=function(a){function e(e){var t=a.call(this,e)||this;t._groupedList=ht.createRef(),ua(t);var o=e.listProps,n=(void 0===o?{}:o).version,r=void 0===n?{}:n,i=e.groups;return t.state={version:r,groupExpandedVersion:{},groups:i},t}return m(e,a),e.getDerivedStateFromProps=function(e,t){var o=e.groups,n=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=pt(pt({},t),{groups:o});return s===t.version&&i===t.items&&o===t.groups&&n===t.selectionMode&&r===t.compact||(l.version={}),l},e.prototype.scrollToIndex=function(e,t,o){var n;null===(n=this._groupedList.current)||void 0===n||n.scrollToIndex(e,t,o)},e.prototype.getStartItemIndexInView=function(){var e;return(null===(e=this._groupedList.current)||void 0===e?void 0:e.getStartItemIndexInView())||0},e.prototype.render=function(){return ht.createElement(Hx,pt({},this.props,this.state,{groupedListRef:this._groupedList}))},e.prototype.forceUpdate=function(){a.prototype.forceUpdate.call(this),this._forceListUpdate()},e.prototype.toggleCollapseAll=function(e){var t,o=this.state.groups,n=this.props.groupProps;o&&o.length>0&&(null===(t=null==n?void 0:n.onToggleCollapseAll)||void 0===t||t.call(n,e),Mx(o,e),this.setState({groupExpandedVersion:{}}),this.forceUpdate())},e.prototype._forceListUpdate=function(){this.setState({version:{}})},e.displayName="GroupedListV2",e}(ht.Component),Vx=ir(Wx,Wy,void 0,{scope:"GroupedListV2"});Vx.displayName="GroupedListV2_unstable";var Kx,Gx={root:"ms-ExpandingCard-root",compactCard:"ms-ExpandingCard-compactCard",expandedCard:"ms-ExpandingCard-expandedCard",expandedCardScroll:"ms-ExpandingCard-expandedCardScrollRegion"};!function(e){e[e.compact=0]="compact",e[e.expanded=1]="expanded"}(Kx||(Kx={}));var Ux,jx,qx=function(e){var t=e.gapSpace,o=void 0===t?0:t,n=e.directionalHint,r=void 0===n?Rl.bottomLeftEdge:n,i=e.directionalHintFixed,a=e.targetElement,s=e.firstFocus,l=e.trapFocus,c=e.onLeave,u=e.className,d=e.finalHeight,p=e.content,h=e.calloutProps,m=pt(pt(pt({},qr(e,jr)),{className:u,target:a,isBeakVisible:!1,directionalHint:r,directionalHintFixed:i,finalHeight:d,minPagePadding:24,onDismiss:c,gapSpace:o}),h);return ht.createElement(ht.Fragment,null,l?ht.createElement(of,pt({},m,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!s}}),p):ht.createElement(Nu,pt({},m),p))},Yx=vr(),Zx=function(o){function e(e){var t=o.call(this,e)||this;return t._expandedElem=ht.createRef(),t._onKeyDown=function(e){e.which===sr.escape&&t.props.onLeave&&t.props.onLeave(e)},t._onRenderCompactCard=function(){return ht.createElement("div",{className:t._classNames.compactCard},t.props.onRenderCompactCard(t.props.renderData))},t._onRenderExpandedCard=function(){return!t.state.firstFrameRendered&&t._async.requestAnimationFrame(function(){t.setState({firstFrameRendered:!0})}),ht.createElement("div",{className:t._classNames.expandedCard,ref:t._expandedElem},ht.createElement("div",{className:t._classNames.expandedCardScroll},t.props.onRenderExpandedCard&&t.props.onRenderExpandedCard(t.props.renderData)))},t._checkNeedsScroll=function(){var e=t.props.expandedCardHeight;t._async.requestAnimationFrame(function(){t._expandedElem.current&&t._expandedElem.current.scrollHeight>=e&&t.setState({needsScroll:!0})})},t._async=new fa(t),ua(t),t.state={firstFrameRendered:!1,needsScroll:!1},t}return m(e,o),e.prototype.componentDidMount=function(){this._checkNeedsScroll()},e.prototype.componentWillUnmount=function(){this._async.dispose()},e.prototype.render=function(){var e=this.props,t=e.styles,o=e.compactCardHeight,n=e.expandedCardHeight,r=e.theme,i=e.mode,a=e.className,s=this.state,l=s.needsScroll,c=s.firstFrameRendered,u=o+n;this._classNames=Yx(t,{theme:r,compactCardHeight:o,className:a,expandedCardHeight:n,needsScroll:l,expandedCardFirstFrameRendered:i===Kx.expanded&&c});var d=ht.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return ht.createElement(qx,pt({},this.props,{content:d,finalHeight:u,className:this._classNames.root}))},e.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},e}(ht.Component),Xx=ir(Zx,function(e){var t,o=e.theme,n=e.needsScroll,r=e.expandedCardFirstFrameRendered,i=e.compactCardHeight,a=e.expandedCardHeight,s=e.className,l=o.palette,c=Ro(Gx,o);return{root:[c.root,{width:320,pointerEvents:"none",selectors:(t={},t[Mo]={border:"1px solid WindowText"},t)},s],compactCard:[c.compactCard,{pointerEvents:"auto",position:"relative",height:i}],expandedCard:[c.expandedCard,{height:1,overflowY:"hidden",pointerEvents:"auto",transition:"height 0.467s cubic-bezier(0.5, 0, 0, 1)",selectors:{":before":{content:'""',position:"relative",display:"block",top:0,left:24,width:272,height:1,backgroundColor:l.neutralLighter}}},r&&{height:a}],expandedCardScroll:[c.expandedCardScroll,n&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}},void 0,{scope:"ExpandingCard"}),Qx={host:"ms-HoverCard-host"};!function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(Ux||(Ux={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(jx||(jx={}));var Jx={root:"ms-PlainCard-root"},$x=vr(),ek=function(o){function e(e){var t=o.call(this,e)||this;return t._onKeyDown=function(e){e.which===sr.escape&&t.props.onLeave&&t.props.onLeave(e)},ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme,n=e.className;this._classNames=$x(t,{theme:o,className:n});var r=ht.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return ht.createElement(qx,pt({},this.props,{content:r,className:this._classNames.root}))},e}(ht.Component),tk=ir(ek,function(e){var t,o=e.theme,n=e.className;return{root:[Ro(Jx,o).root,{pointerEvents:"auto",selectors:(t={},t[Mo]={border:"1px solid WindowText"},t)},n]}},void 0,{scope:"PlainCard"}),ok=vr(),nk=function(t){function e(e){var a=t.call(this,e)||this;return a._hoverCard=ht.createRef(),a.dismiss=function(e){a._async.clearTimeout(a._openTimerId),a._async.clearTimeout(a._dismissTimerId),e?a._dismissTimerId=a._async.setTimeout(function(){a._setDismissedState()},a.props.cardDismissDelay):a._setDismissedState()},a._cardOpen=function(e){a._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==a.props.openHotKey||(a._async.clearTimeout(a._dismissTimerId),"mouseenter"===e.type&&(a._currentMouseTarget=e.currentTarget),a._executeCardOpen(e))},a._executeCardOpen=function(t){a._async.clearTimeout(a._openTimerId),a._openTimerId=a._async.setTimeout(function(){a.setState(function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Kx.compact,openMode:"keydown"===t.type?Ux.hotKey:Ux.hover}})},a.props.cardOpenDelay)},a._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==sr.escape)return;a.props.sticky||a._currentMouseTarget!==t.currentTarget&&t.which!==sr.escape||a.dismiss(!0)}else{if(a.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type)return;a.dismiss(!0)}},a._setDismissedState=function(){a.setState({isHoverCardVisible:!1,mode:Kx.compact,openMode:Ux.hover})},a._instantOpenAsExpanded=function(e){a._async.clearTimeout(a._dismissTimerId),a.setState(function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Kx.expanded}})},a._setEventListeners=function(){var e=a.props,t=e.trapFocus,o=e.instantOpenOnClick,n=e.eventListenerTarget,r=n?a._getTargetElement(n):a._getTargetElement(a.props.target),i=a._nativeDismissEvent;r&&(a._events.on(r,"mouseenter",a._cardOpen),a._events.on(r,"mouseleave",i),t?a._events.on(r,"keydown",a._cardOpen):(a._events.on(r,"focus",a._cardOpen),a._events.on(r,"blur",i)),o?a._events.on(r,"click",a._instantOpenAsExpanded):(a._events.on(r,"mousedown",i),a._events.on(r,"keydown",i)))},ua(a),a._async=new fa(a),a._events=new xl(a),a._nativeDismissEvent=a._cardDismiss.bind(a,!0),a._childDismissEvent=a._cardDismiss.bind(a,!1),a.state={isHoverCardVisible:!1,mode:Kx.compact,openMode:Ux.hover},a}return m(e,t),e.prototype.componentDidMount=function(){this._setEventListeners()},e.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},e.prototype.componentDidUpdate=function(e,t){var o=this;e.target!==this.props.target&&(this._events.off(),this._setEventListeners()),t.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout(function(){o.setState({mode:Kx.expanded},function(){o.props.onCardExpand&&o.props.onCardExpand()})},this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:Kx.compact}),this.props.onCardHide&&this.props.onCardHide()))},e.prototype.render=function(){var e=this.props,t=e.expandingCardProps,o=e.children,n=e.id,r=e.setAriaDescribedBy,i=void 0===r||r,a=e.styles,s=e.theme,l=e.className,c=e.type,u=e.plainCardProps,d=e.trapFocus,p=e.setInitialFocus,h=this.state,m=h.isHoverCardVisible,f=h.mode,g=h.openMode,v=n||bs("hoverCard");this._classNames=ok(a,{theme:s,className:l});var b=pt(pt({},qr(this.props,jr)),{id:v,trapFocus:!!d,firstFocus:p||g===Ux.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),y=pt(pt(pt({},t),b),{mode:f}),C=pt(pt({},u),b);return ht.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":i&&m?v:void 0,"data-is-focusable":!this.props.target},o,m&&(c===jx.expanding?ht.createElement(Xx,pt({},y)):ht.createElement(tk,pt({},C))))},e.prototype._getTargetElement=function(e){switch(typeof e){case"string":return st().querySelector(e);case"object":return e;default:return this._hoverCard.current||void 0}},e.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},e.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:sr.c,type:jx.expanding},e}(ht.Component),rk=ir(nk,function(e){var t=e.className,o=e.theme;return{host:[Ro(Qx,o).host,t]}},void 0,{scope:"HoverCard"});function ik(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}},t)}function ak(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}},t)}function sk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function lk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}},t)}function ck(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}},t)}function uk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}},t)}function dk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}},t)}function pk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}},t)}function hk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}},t)}function mk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function fk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function gk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}},t)}function vk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}},t)}function bk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}},t)}function yk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}},t)}function Ck(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}},t)}function _k(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}},t)}function Sk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}},t)}function xk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}var kk=function(){In("trash","delete"),In("onedrive","onedrivelogo"),In("alertsolid12","eventdatemissed12"),In("sixpointstar","6pointstar"),In("twelvepointstar","12pointstar"),In("toggleon","toggleleft"),In("toggleoff","toggleright")};zn("@fluentui/font-icons-mdl2","8.5.58");var wk="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001","/assets/icons/"),Ik=ut();function Dk(t,o){var e,n;void 0===t&&(t=(null===(e=null==Ik?void 0:Ik.FabricConfig)||void 0===e?void 0:e.iconBaseUrl)||(null===(n=null==Ik?void 0:Ik.FabricConfig)||void 0===n?void 0:n.fontBaseUrl)||wk),[ik,ak,sk,lk,ck,uk,dk,pk,hk,mk,fk,gk,vk,bk,yk,Ck,_k,Sk,xk].forEach(function(e){return e(t,o)}),kk()}function Ek(e){var o=st(),t=o.querySelectorAll(e);return Array.from(t).find(function(e){var t;return ns(e,null!==(t=o.defaultView)&&void 0!==t?t:void 0)})}var Tk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.content,o=e.styles,n=e.theme,r=e.disabled,i=e.visible,a=vr()(o,{theme:n,disabled:r,visible:i});return ht.createElement("div",{className:a.container},ht.createElement("span",{className:a.root},t))},t}(ht.Component),Pk=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},Rk=function(t){return function(e){return Fn({container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]},{root:[{marginLeft:t.left||t.x,marginTop:t.top||t.y}]})}},Mk=ir(Tk,function(e){var t,o=e.theme,n=e.disabled,r=e.visible;return{container:[{backgroundColor:o.palette.neutralDark},n&&{opacity:.5,selectors:(t={},t[Mo]={color:"GrayText",opacity:1},t)},!r&&{visibility:"hidden"}],root:[o.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:o.palette.neutralDark,color:o.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},n&&{color:o.palette.neutralTertiaryAlt}]}},void 0,{scope:"KeytipContent"}),Nk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e,t=this.props,o=t.keySequences,n=t.offset,r=t.overflowSetSequence,i=this.props.calloutProps,a=Ek(e=dd(r?ud(o,r):o));return a?(e=a,n&&(i=pt({coverTarget:!0,directionalHint:Rl.topLeftEdge},i)),i&&void 0!==i.directionalHint||(i=pt(pt({},i),{directionalHint:Rl.bottomCenter})),ht.createElement(Nu,pt({},i,{isBeakVisible:!1,doNotLayer:!0,minPagePadding:0,styles:n?Rk(n):Pk,preventDismissOnScroll:!0,target:e}),ht.createElement(Mk,pt({},this.props)))):ht.createElement(ht.Fragment,null)},t}(ht.Component),Bk=function(e){return{root:[{zIndex:Qo.KeytipLayer}]}},Ak=function(){function e(){this.nodeMap={},this.root={id:ad,children:[],parent:"",keySequences:[]},this.nodeMap[this.root.id]=this.root}return e.prototype.addNode=function(e,t,o){var n=this._getFullSequence(e),r=cd(n);n.pop();var i=this._getParentID(n),a=this._createNode(r,i,[],e,o);this.nodeMap[t]=a,this.getNodes([i]).forEach(function(e){return e.children.push(r)})},e.prototype.updateNode=function(e,t){var o=this._getFullSequence(e),n=cd(o);o.pop();var r=this._getParentID(o),i=this.nodeMap[t],a=i.parent;i&&(a!==r&&this._removeChildFromParents(a,i.id),i.id!==n&&this.getNodes([r]).forEach(function(e){var t=e.children.indexOf(i.id);t>=0?e.children[t]=n:e.children.push(n)}),i.id=n,i.keySequences=e.keySequences,i.overflowSetSequence=e.overflowSetSequence,i.onExecute=e.onExecute,i.onReturn=e.onReturn,i.hasDynamicChildren=e.hasDynamicChildren,i.hasMenu=e.hasMenu,i.parent=r,i.disabled=e.disabled)},e.prototype.removeNode=function(e,t){var o=this._getFullSequence(e),n=cd(o);o.pop(),this._removeChildFromParents(this._getParentID(o),n),this.nodeMap[t]&&delete this.nodeMap[t]},e.prototype.getExactMatchedNode=function(t,e,o){var n=this,r=null!=o?o:st(),i=this.getNodes(e.children).filter(function(e){return n._getNodeSequence(e)===t&&!e.disabled});if(0!==i.length){var a=i[0];if(1===i.length)return a;var s=a.keySequences,l=a.overflowSetSequence,c=dd(l?ud(s,l):s),u=r.querySelectorAll(c);if(i.length=0&&!o.nodeMap[t].persisted&&e.push(o.nodeMap[t].id),e},[])},e.prototype.getNodes=function(o){var n=this;return Object.keys(this.nodeMap).reduce(function(e,t){return o.indexOf(n.nodeMap[t].id)>=0&&e.push(n.nodeMap[t]),e},[])},e.prototype.getNode=function(t){return Pa(_l(this.nodeMap),function(e){return e.id===t})},e.prototype.isCurrentKeytipParent=function(e){if(this.currentKeytip){var t=z([],e.keySequences,!0);e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),t.pop();var o=0===t.length?this.root.id:cd(t),n=!1;return this.currentKeytip.overflowSetSequence&&(n=cd(this.currentKeytip.keySequences)===o),n||this.currentKeytip.id===o}return!1},e.prototype._getParentID=function(e){return 0===e.length?this.root.id:cd(e)},e.prototype._getFullSequence=function(e){var t=z([],e.keySequences,!0);return e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),t},e.prototype._getNodeSequence=function(e){var t=z([],e.keySequences,!0);return e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),t[t.length-1]},e.prototype._createNode=function(o,e,t,n,r){var i=this,a=n.keySequences,s=n.hasDynamicChildren,l=n.overflowSetSequence,c=n.hasMenu,u=n.onExecute,d=n.onReturn,p=n.disabled,h=n.hasOverflowSubMenu,m={id:o,keySequences:a,overflowSetSequence:l,parent:e,children:t,onExecute:u,onReturn:d,hasDynamicChildren:s,hasMenu:c,disabled:p,persisted:r,hasOverflowSubMenu:h};return m.children=Object.keys(this.nodeMap).reduce(function(e,t){return i.nodeMap[t].parent===o&&e.push(i.nodeMap[t].id),e},[]),m},e.prototype._removeChildFromParents=function(e,o){this.getNodes([e]).forEach(function(e){var t=e.children.indexOf(o);t>=0&&e.children.splice(t,1)})},e}();function Fk(e,t){if(e.key!==t.key)return!1;var o=e.modifierKeys,n=t.modifierKeys;if(!o&&n||o&&!n)return!1;if(o&&n){if(o.length!==n.length)return!1;o=o.sort(),n=n.sort();for(var r=0;r1&&t<=a.length?ns(a[t-1],null!=r?r:void 0):1===t},s._onDismiss=function(e){s.state.inKeytipMode&&s._exitKeytipMode(e)},s._onKeyDown=function(e){s._keyHandled=!1;var t=e.key;switch(t){case"Tab":case"Enter":case"Spacebar":case" ":case"ArrowUp":case"Up":case"ArrowDown":case"Down":case"ArrowLeft":case"Left":case"ArrowRight":case"Right":s.state.inKeytipMode&&(s._keyHandled=!0,s._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var o={key:t};o.modifierKeys=s._getModifierKey(t,e),s.processTransitionInput(o,e)}},s._onKeyPress=function(e){s.state.inKeytipMode&&!s._keyHandled&&(s.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},s._onKeytipAdded=function(e){var t,o=e.keytip,n=e.uniqueID;if(s._keytipTree.addNode(o,n),s._setKeytips(),s._keytipTree.isCurrentKeytipParent(o)&&(s._delayedKeytipQueue=s._delayedKeytipQueue.concat((null===(t=s._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),s._addKeytipToQueue(cd(o.keySequences)),s._keytipTree.currentKeytip&&s._keytipTree.currentKeytip.hasDynamicChildren&&s._keytipTree.currentKeytip.children.indexOf(o.id)<0)){var r=s._keytipTree.getNode(s._keytipTree.currentKeytip.id);r&&(s._keytipTree.currentKeytip=r)}s._persistedKeytipChecks(o)},s._onKeytipUpdated=function(e){var t,o=e.keytip,n=e.uniqueID;s._keytipTree.updateNode(o,n),s._setKeytips(),s._keytipTree.isCurrentKeytipParent(o)&&(s._delayedKeytipQueue=s._delayedKeytipQueue.concat((null===(t=s._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),s._addKeytipToQueue(cd(o.keySequences))),s._persistedKeytipChecks(o)},s._persistedKeytipChecks=function(e){if(s._newCurrentKeytipSequences&&La(e.keySequences,s._newCurrentKeytipSequences)&&s._triggerKeytipImmediately(e),s._isCurrentKeytipAnAlias(e)){var t=e.keySequences;e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),s._keytipTree.currentKeytip=s._keytipTree.getNode(cd(t))}},s._onKeytipRemoved=function(e){var t=e.keytip,o=e.uniqueID;s._removeKeytipFromQueue(cd(t.keySequences)),s._keytipTree.removeNode(t,o),s._setKeytips()},s._onPersistedKeytipAdded=function(e){var t=e.keytip,o=e.uniqueID;s._keytipTree.addNode(t,o,!0)},s._onPersistedKeytipRemoved=function(e){var t=e.keytip,o=e.uniqueID;s._keytipTree.removeNode(t,o)},s._onPersistedKeytipExecute=function(e){s._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},s._setInKeytipMode=function(e){s.setState({inKeytipMode:e}),s._keytipManager.inKeytipMode=e},s._warnIfDuplicateKeytips=function(){var e=s._getDuplicateIds(s._keytipTree.getChildren());e.length&&yn("Duplicate keytips found for "+e.join(", "))},s._getDuplicateIds=function(e){var t={};return e.filter(function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]})},ua(s),s._events=new xl(s),s._async=new fa(s);var o=s._keytipManager.getKeytips();return s.state={inKeytipMode:!1,keytips:o,visibleKeytips:s._getVisibleKeytips(o)},s._buildTree(),s._currentSequence="",s._events.on(s._keytipManager,Bu.KEYTIP_ADDED,s._onKeytipAdded),s._events.on(s._keytipManager,Bu.KEYTIP_UPDATED,s._onKeytipUpdated),s._events.on(s._keytipManager,Bu.KEYTIP_REMOVED,s._onKeytipRemoved),s._events.on(s._keytipManager,Bu.PERSISTED_KEYTIP_ADDED,s._onPersistedKeytipAdded),s._events.on(s._keytipManager,Bu.PERSISTED_KEYTIP_REMOVED,s._onPersistedKeytipRemoved),s._events.on(s._keytipManager,Bu.PERSISTED_KEYTIP_EXECUTE,s._onPersistedKeytipExecute),s}return m(e,n),e.prototype.render=function(){var o=this,e=this.props,t=e.content,n=e.styles,r=this.state,i=r.keytips,a=r.visibleKeytips;return this._classNames=Wk(n,{}),ht.createElement(Mu,{styles:Bk},ht.createElement("span",{id:ad,className:this._classNames.innerContent},"".concat(t).concat(sd)),i&&i.map(function(e,t){return ht.createElement("span",{key:t,id:cd(e.keySequences),className:o._classNames.innerContent},e.keySequences.join(sd))}),a&&a.map(function(e){return ht.createElement(Nk,pt({key:cd(e.keySequences)},e))}))},e.prototype.componentDidMount=function(){var e=zc(this.context);this._events.on(e,"mouseup",this._onDismiss,!0),this._events.on(e,"pointerup",this._onDismiss,!0),this._events.on(e,"resize",this._onDismiss),this._events.on(e,"keydown",this._onKeyDown,!0),this._events.on(e,"keypress",this._onKeyPress,!0),this._events.on(e,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,Bu.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,Bu.EXIT_KEYTIP_MODE,this._exitKeytipMode)},e.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},e.prototype.getCurrentSequence=function(){return this._currentSequence},e.prototype.getKeytipTree=function(){return this._keytipTree},e.prototype.processTransitionInput=function(e,t){var o=this._keytipTree.currentKeytip;Lk(this.props.keytipExitSequences,e)&&o?(this._keyHandled=!0,this._exitKeytipMode(t)):Lk(this.props.keytipReturnSequences,e)?o&&(this._keyHandled=!0,o.id===this._keytipTree.root.id?this._exitKeytipMode(t):(o.onReturn&&o.onReturn(this._getKtpExecuteTarget(o),this._getKtpTarget(o)),this._currentSequence="",this._keytipTree.currentKeytip=this._keytipTree.getNode(o.parent),this.showKeytips(this._keytipTree.getChildren()),this._warnIfDuplicateKeytips())):Lk(this.props.keytipStartSequences,e)&&!o&&(this._keyHandled=!0,this._enterKeytipMode(e),this._warnIfDuplicateKeytips())},e.prototype.processInput=function(e,t){var o=this._currentSequence+e,n=this._keytipTree.currentKeytip;if(n){var r=this._keytipTree.getExactMatchedNode(o,n);if(r){this._keytipTree.currentKeytip=n=r;var i=this._keytipTree.getChildren();return n.onExecute&&(n.onExecute(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),n=this._keytipTree.currentKeytip),0!==i.length||n.hasDynamicChildren||n.hasMenu?(this.showKeytips(i),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}var a=this._keytipTree.getPartiallyMatchedNodes(o,n);if(a.length>0){var s=a.filter(function(e){return!e.persisted}).map(function(e){return e.id});this.showKeytips(s),this._currentSequence=o}}},e.prototype.showKeytips=function(e){for(var t=0,o=this._keytipManager.getKeytips();t=0?n.visible=!0:n.visible=!1}this._setKeytips()},e.prototype._enterKeytipMode=function(e){this._keytipManager.shouldEnterKeytipMode&&(this._keytipManager.delayUpdatingKeytipChange&&(this._buildTree(),this._setKeytips()),this._keytipTree.currentKeytip=this._keytipTree.root,this.showKeytips(this._keytipTree.getChildren()),this._setInKeytipMode(!0),this.props.onEnterKeytipMode&&this.props.onEnterKeytipMode(e))},e.prototype._buildTree=function(){this._keytipTree=new Ak;for(var e=0,t=Object.keys(this._keytipManager.keytips);e=0&&(this._delayedKeytipQueue.splice(o,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout(function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])},300))},e.prototype._getKtpExecuteTarget=function(e){return st().querySelector(pd(e.id))},e.prototype._getKtpTarget=function(e){return st().querySelector(dd(e.keySequences))},e.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!La(e.keySequences,t.keySequences))},e.defaultProps={keytipStartSequences:[Ok],keytipExitSequences:[Hk],keytipReturnSequences:[zk],content:""},e.contextType=ga,e}(ht.Component),Kk=ir(Vk,function(e){return{innerContent:[{position:"absolute",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",visibility:"hidden"}]}},void 0,{scope:"KeytipLayer"});function Gk(e){for(var t={},o=0,n=e.keytips;o0&&this._computeScrollVelocity(e)},e.prototype._computeScrollVelocity=function(e){if(this._scrollRect){var t,o;"clientX"in e?(t=e.clientX,o=e.clientY):(t=e.touches[0].clientX,o=e.touches[0].clientY);var n,r,i,a=this._scrollRect.top,s=this._scrollRect.left,l=a+this._scrollRect.height-Xk,c=s+this._scrollRect.width-Xk;ol?(r=o,n=a,i=l,this._isVerticalScroll=!0):(r=t,n=s,i=c,this._isVerticalScroll=!1),this._scrollVelocity=ri?Math.min(15,(r-i)/Xk*15):0,this._scrollVelocity?this._startScroll():this._stopScroll()}},e.prototype._startScroll=function(){this._timeoutId||this._incrementScroll()},e.prototype._incrementScroll=function(){this._scrollableParent&&(this._isVerticalScroll?this._scrollableParent.scrollTop+=Math.round(this._scrollVelocity):this._scrollableParent.scrollLeft+=Math.round(this._scrollVelocity)),this._timeoutId=setTimeout(this._incrementScroll,16)},e.prototype._stopScroll=function(){this._timeoutId&&(clearTimeout(this._timeoutId),delete this._timeoutId)},e}();function Jk(e,t){var o=e.left||e.x||0,n=e.top||e.y||0,r=t.left||t.x||0,i=t.top||t.y||0;return Math.sqrt(Math.pow(o-r,2)+Math.pow(n-i,2))}function $k(e){var t,o=e.contentSize,n=e.boundsSize,r=e.mode,i=void 0===r?"contain":r,a=e.maxScale,s=void 0===a?1:a,l=o.width/o.height,c=n.width/n.height;t=("contain"===i?l>c:lr.left+t.clientWidth)return!0;if(e.clientY>r.top+t.clientHeight)return!0}return!1},e.prototype._getRootRect=function(){return{left:this._rootRect.left+(this._scrollableSurface?this._scrollLeft-this._scrollableSurface.scrollLeft:this._scrollLeft),top:this._rootRect.top+(this._scrollableSurface?this._scrollTop-this._scrollableSurface.scrollTop:this._scrollTop),width:this._rootRect.width,height:this._rootRect.height}},e.prototype._onAsyncMouseMove=function(e){var t=this;this._async.requestAnimationFrame(function(){t._onMouseMove(e)}),e.stopPropagation(),e.preventDefault()},e.prototype._onMouseMove=function(e){if(this._autoScroll){void 0!==e.clientX&&(this._lastMouseEvent=e);var t=this._getRootRect(),o={left:e.clientX-t.left,top:e.clientY-t.top};if(this._dragOrigin||(this._dragOrigin=o),void 0!==e.buttons&&0===e.buttons)this._onMouseUp(e);else if(this.state.dragRect||Jk(this._dragOrigin,o)>5){if(!this.state.dragRect){var n=this.props.selection;e.shiftKey||n.setAllSelected(!1),this._preservedIndicies=n&&n.getSelectedIndices&&n.getSelectedIndices()}var r=this.props.isDraggingConstrainedToRoot?{left:Math.max(0,Math.min(t.width,this._lastMouseEvent.clientX-t.left)),top:Math.max(0,Math.min(t.height,this._lastMouseEvent.clientY-t.top))}:{left:this._lastMouseEvent.clientX-t.left,top:this._lastMouseEvent.clientY-t.top},i={left:Math.min(this._dragOrigin.left||0,r.left),top:Math.min(this._dragOrigin.top||0,r.top),width:Math.abs(r.left-(this._dragOrigin.left||0)),height:Math.abs(r.top-(this._dragOrigin.top||0))};this._evaluateSelection(i,t),this.setState({dragRect:i})}return!1}},e.prototype._onMouseUp=function(e){var t=zc(this.context);this._events.off(t),this._events.off(this._scrollableParent,"scroll"),this._autoScroll&&this._autoScroll.dispose(),this._autoScroll=this._dragOrigin=this._lastMouseEvent=void 0,this._selectedIndicies=this._itemRectCache=void 0,this.state.dragRect&&(this.setState({dragRect:void 0}),e.preventDefault(),e.stopPropagation())},e.prototype._isPointInRectangle=function(e,t){return!!t.top&&e.topt.top&&!!t.left&&e.leftt.left},e.prototype._isDragStartInSelection=function(e){var t=this.props.selection;if(!this._root.current||t&&0===t.getSelectedCount())return!1;for(var o=this._root.current.querySelectorAll("[data-selection-index]"),n=0;n0&&s.height>0&&(this._itemRectCache[a]=s),s.tope.top&&s.lefte.left?this._selectedIndicies[a]=!0:delete this._selectedIndicies[a]}var l=this._allSelectedIndices||{};for(var a in this._allSelectedIndices={},this._selectedIndicies)this._selectedIndicies.hasOwnProperty(a)&&(this._allSelectedIndices[a]=!0);if(this._preservedIndicies)for(var c=0,u=this._preservedIndicies;c0)if(e.collapseAriaLabel||e.expandAriaLabel){var p=null!==(n=e.collapseAriaLabel)&&void 0!==n?n:e.expandAriaLabel;d=e.isExpanded?p:e.expandAriaLabel}else d=a?"".concat(e.name," ").concat(a):e.name;return ht.createElement("div",pt({},r,{key:e.key||t,className:u.compositeLink}),e.links&&e.links.length>0?ht.createElement("button",{className:u.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":d,"aria-expanded":e.isExpanded?"true":"false"},ht.createElement(wi,{className:u.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,o))},e.prototype._renderLink=function(e,t,o){var n=this.props,r=n.styles,i=n.groups,a=n.theme,s=Dw(r,{theme:a,groups:i});return ht.createElement("li",{key:e.key||t,role:"listitem",className:s.navItem},this._renderCompositeLink(e,t,o),e.isExpanded?this._renderLinks(e.links,++o):null)},e.prototype._renderLinks=function(e,o){var n=this;if(!e||!e.length)return null;var t=e.map(function(e,t){return n._renderLink(e,t,o)}),r=this.props,i=r.styles,a=r.groups,s=r.theme,l=Dw(i,{theme:s,groups:a});return ht.createElement("ul",{role:"list",className:l.navItems},t)},e.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),void 0===e.isExpanded&&this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},e.prototype._onLinkExpandClicked=function(e,t){var o=this.props.onLinkExpandClick;o&&o(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},e.prototype._preventBounce=function(e,t){!e.url&&e.forceAnchor&&t.preventDefault()},e.prototype._onNavAnchorLinkClicked=function(e,t){this._preventBounce(e,t),this.props.onLinkClick&&this.props.onLinkClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},e.prototype._onNavButtonLinkClicked=function(e,t){this._preventBounce(e,t),e.onClick&&e.onClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},e.prototype._isLinkSelected=function(e){if(void 0!==this.props.selectedKey)return e.key===this.props.selectedKey;if(void 0!==this.state.selectedKey)return e.key===this.state.selectedKey;if(void 0===ut()||!e.url)return!1;var t=Hc(this.context);(gw=gw||t.createElement("a")).href=e.url||"";var o=gw.href;return location.href===o||location.protocol+"//"+location.host+location.pathname===o||!!location.hash&&(location.hash===e.url||(gw.href=location.hash.substring(1),gw.href===o))},e.prototype._isGroupExpanded=function(e){return void 0!==e.isExpanded?e.isExpanded:e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},e.prototype._toggleCollapsed=function(e){var t;if(e.name){var o=pt(pt({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:o})}},e.defaultProps={groups:null},e.contextType=ga,e}(ht.Component),Tw=ir(Ew,function(e){var t,o=e.className,n=e.theme,r=e.isOnTop,i=e.isExpanded,a=e.isGroup,s=e.isLink,l=e.isSelected,c=e.isDisabled,u=e.isButtonEntry,d=e.navHeight,p=void 0===d?44:d,h=e.position,m=e.leftPadding,f=void 0===m?20:m,g=e.leftPaddingExpanded,v=void 0===g?28:g,b=e.rightPadding,y=void 0===b?20:b,C=n.palette,_=n.semanticColors,S=n.fonts,x=Ro(xw,n);return{root:[x.root,o,S.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},r&&[{position:"absolute"},$e.slideRightIn40]],linkText:[x.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[x.compositeLink,{display:"block",position:"relative",color:_.bodyText},i&&"is-expanded",l&&"is-selected",c&&"is-disabled",c&&{color:_.disabledText}],link:[x.link,on(n),{display:"block",position:"relative",height:p,width:"100%",lineHeight:"".concat(p,"px"),textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:f,paddingRight:y,color:_.bodyText,selectors:(t={},t[Mo]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},t)},!c&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:_.bodyBackgroundHovered}}},l&&{color:_.bodyTextChecked,fontWeight:Qe.semibold,backgroundColor:_.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid ".concat(C.themePrimary),content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},c&&{color:_.disabledText},u&&{color:C.themePrimary}],chevronButton:[x.chevronButton,on(n),S.small,{display:"block",textAlign:"left",lineHeight:"".concat(p,"px"),margin:"5px 0",padding:"0px, ".concat(y,"px, 0px, ").concat(v,"px"),border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:_.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:_.bodyText}}},a&&{fontSize:S.large.fontSize,width:"100%",height:p,borderBottom:"1px solid ".concat(_.bodyDivider)},s&&{display:"block",width:v-2,height:p-2,position:"absolute",top:"1px",left:"".concat(h,"px"),zIndex:Qo.Nav,padding:0,margin:0}],chevronIcon:[x.chevronIcon,{position:"absolute",left:"8px",height:p,display:"inline-flex",alignItems:"center",lineHeight:"".concat(p,"px"),fontSize:S.small.fontSize,transition:"transform .1s linear"},i&&{transform:"rotate(-180deg)"},s&&{top:0}],navItem:[x.navItem,{padding:0}],navItems:[x.navItems,{listStyleType:"none",padding:0,margin:0}],group:[x.group,i&&"is-expanded"],groupContent:[x.groupContent,{display:"none",marginBottom:"40px"},$e.slideDownIn20,i&&{display:"block"}]}},void 0,{scope:"Nav"});!function(e){e[e.none=0]="none",e[e.forceResolve=1]="forceResolve",e[e.searchMore=2]="searchMore"}(Iw||(Iw={}));var Pw={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"};function Rw(e){var t,o,n,r,i,a,s=e.className,l=e.theme,c=e.suggested,u=l.palette,d=l.semanticColors,p=Ro(Pw,l);return{root:[p.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:d.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},c&&{selectors:(t={},t[".".concat(Jo," &, :host(.").concat(Jo,") &")]={selectors:(o={},o[".".concat(p.closeButton)]={display:"block",background:d.menuItemBackgroundPressed},o)},t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid ".concat(l.semanticColors.focusBorder)},t)},s],itemButton:[p.itemButton,{justifyContent:"flex-start",width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(n={},n[Mo]={color:"WindowText",selectors:{":hover":pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},n[":hover"]={color:d.menuItemTextHovered},n)},c&&[p.isSuggested,{background:d.menuItemBackgroundPressed,selectors:(r={":hover":{background:d.menuDivider}},r[Mo]=pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}]],closeButton:[p.closeButton,{display:"none",color:u.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(i={":hover, :active":{background:u.neutralTertiaryAlt,color:u.neutralDark}},i[Mo]={color:"WindowText"},i)},c&&(a={},a[".".concat(Jo," &, :host(.").concat(Jo,") &")]={selectors:{":hover, :active":{background:u.neutralTertiary}}},a.selectors={":hover, :active":{background:u.neutralTertiary,color:u.neutralPrimary}},a)]}}var Mw=r,Nw=vr(),Bw=ir(ux,Rw,void 0,{scope:"SuggestionItem"}),Aw=function(t){function e(e){var l=t.call(this,e)||this;return l._forceResolveButton=ht.createRef(),l._searchForMoreButton=ht.createRef(),l._selectedElement=ht.createRef(),l._scrollContainer=ht.createRef(),l.tryHandleKeyDown=function(e,t){var o=!1,n=null,r=l.state.selectedActionType,i=l.props.suggestions.length;if(e===sr.down)switch(r){case Iw.forceResolve:i>0?(l._refocusOnSuggestions(e),n=Iw.none):n=l._searchForMoreButton.current?Iw.searchMore:Iw.forceResolve;break;case Iw.searchMore:l._forceResolveButton.current?n=Iw.forceResolve:i>0?(l._refocusOnSuggestions(e),n=Iw.none):n=Iw.searchMore;break;case Iw.none:-1===t&&l._forceResolveButton.current&&(n=Iw.forceResolve)}else if(e===sr.up)switch(r){case Iw.forceResolve:l._searchForMoreButton.current?n=Iw.searchMore:i>0&&(l._refocusOnSuggestions(e),n=Iw.none);break;case Iw.searchMore:i>0?(l._refocusOnSuggestions(e),n=Iw.none):l._forceResolveButton.current&&(n=Iw.forceResolve);break;case Iw.none:-1===t&&l._searchForMoreButton.current&&(n=Iw.searchMore)}return null!==n&&(l.setState({selectedActionType:n}),o=!0),o},l._getAlertText=function(){var e=l.props,t=e.isLoading,o=e.isSearching,n=e.suggestions,r=e.suggestionsAvailableAlertText,i=e.noResultsFoundText,a=e.isExtendedLoading,s=e.loadingText;if(t||o){if(t&&a)return s||""}else{if(n.length>0)return r||"";if(i)return i}return""},l._getMoreResults=function(){l.props.onGetMoreResults&&(l.props.onGetMoreResults(),l.setState({selectedActionType:Iw.none}))},l._forceResolve=function(){l.props.createGenericItem&&l.props.createGenericItem()},l._shouldShowForceResolve=function(){return!!l.props.showForceResolve&&l.props.showForceResolve()},l._onClickTypedSuggestionsItem=function(t,o){return function(e){l.props.onSuggestionClick(e,t,o)}},l._refocusOnSuggestions=function(e){"function"==typeof l.props.refocusSuggestions&&l.props.refocusSuggestions(e)},l._onRemoveTypedSuggestionsItem=function(t,o){return function(e){(0,l.props.onSuggestionRemove)(e,t,o),e.stopPropagation()}},ua(l),l.state={selectedActionType:Iw.none},l}return m(e,t),e.prototype.componentDidMount=function(){this.scrollSelected(),this.activeSelectedElement=this._selectedElement?this._selectedElement.current:null},e.prototype.componentDidUpdate=function(){this._selectedElement.current&&this.activeSelectedElement!==this._selectedElement.current&&(this.scrollSelected(),this.activeSelectedElement=this._selectedElement.current)},e.prototype.render=function(){var e,t,o=this,n=this.props,r=n.forceResolveText,i=n.mostRecentlyUsedHeaderText,a=n.searchForMoreIcon,s=n.searchForMoreText,l=n.className,c=n.moreSuggestionsAvailable,u=n.noResultsFoundText,d=n.suggestions,p=n.isLoading,h=n.isSearching,m=n.loadingText,f=n.onRenderNoResultFound,g=n.searchingText,v=n.isMostRecentlyUsedVisible,b=n.resultsMaximumNumber,y=n.resultsFooterFull,C=n.resultsFooter,_=n.isResultsFooterVisible,S=void 0===_||_,x=n.suggestionsHeaderText,k=n.suggestionsClassName,w=n.theme,I=n.styles,D=n.suggestionsListId,E=n.suggestionsContainerAriaLabel;this._classNames=I?Nw(I,{theme:w,className:l,suggestionsClassName:k,forceResolveButtonSelected:this.state.selectedActionType===Iw.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===Iw.searchMore}):{root:hi("ms-Suggestions",l,Mw.root),title:hi("ms-Suggestions-title",Mw.suggestionsTitle),searchForMoreButton:hi("ms-SearchMore-button",Mw.actionButton,(e={},e["is-selected "+Mw.buttonSelected]=this.state.selectedActionType===Iw.searchMore,e)),forceResolveButton:hi("ms-forceResolve-button",Mw.actionButton,(t={},t["is-selected "+Mw.buttonSelected]=this.state.selectedActionType===Iw.forceResolve,t)),suggestionsAvailable:hi("ms-Suggestions-suggestionsAvailable",Mw.suggestionsAvailable),suggestionsContainer:hi("ms-Suggestions-container",Mw.suggestionsContainer,k),noSuggestions:hi("ms-Suggestions-none",Mw.suggestionsNone)};var T=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,P=I?{styles:T}:{className:hi("ms-Suggestions-spinner",Mw.suggestionsSpinner)},R=x;v&&i&&(R=i);var M=void 0;S&&(M=d.length>=b?y:C);var N,B=!(d&&d.length||p),A=this.state.selectedActionType===Iw.forceResolve?"sug-selectedAction":void 0,F=this.state.selectedActionType===Iw.searchMore?"sug-selectedAction":void 0;return ht.createElement("div",{className:this._classNames.root,"aria-label":E||R,id:D,role:"listbox"},ht.createElement(Da,{message:this._getAlertText(),"aria-live":"polite"}),R?ht.createElement("div",{className:this._classNames.title},R):null,r&&this._shouldShowForceResolve()&&ht.createElement(fh,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,id:A,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},r),p&&ht.createElement(Yy,pt({},P,{ariaLabel:m,label:m})),B?(N=function(){return ht.createElement("div",{className:o._classNames.noSuggestions},u)},ht.createElement("div",{id:"sug-noResultsFound",role:"option"},f?f(void 0,N):N())):this._renderSuggestions(),s&&c&&ht.createElement(fh,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:a||{iconName:"Search"},id:F,onClick:this._getMoreResults,"data-automationid":"sug-searchForMore",role:"option"},s),h?ht.createElement(Yy,pt({},P,{ariaLabel:g,label:g})):null,!M||c||v||h?null:ht.createElement("div",{className:this._classNames.title},M(this.props)))},e.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},e.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==Iw.none},e.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case Iw.forceResolve:this._forceResolve();break;case Iw.searchMore:this._getMoreResults()}},e.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:Iw.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:Iw.searchMore})},e.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:Iw.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:Iw.forceResolve})},e.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},e.prototype.scrollSelected=function(){if(this._selectedElement.current&&this._scrollContainer.current&&void 0!==this._scrollContainer.current.scrollTo){var e=this._selectedElement.current,t=e.offsetHeight,o=e.offsetTop,n=this._scrollContainer.current,r=n.offsetHeight,i=n.scrollTop,a=o+t>i+r;o=t?l.slice(u-t+1,u+1):l.slice(0,t)),0===l.length?null:ht.createElement("div",{className:this._classNames.suggestionsContainer,ref:this._scrollContainer,role:"presentation"},l.map(function(e,t){return ht.createElement("div",{ref:e.selected?o._selectedElement:void 0,key:e.item.key?e.item.key:t,role:"presentation"},ht.createElement(c,{suggestionModel:e,RenderSuggestion:n,onClick:o._onClickTypedSuggestionsItem(e.item,t),className:i,showRemoveButton:a,removeButtonAriaLabel:r,onRemoveItem:o._onRemoveTypedSuggestionsItem(e.item,t),id:"sug-"+t,removeButtonIconProps:s}))}))},e}(ht.Component),Fw={root:"ms-Suggestions",suggestionsContainer:"ms-Suggestions-container",title:"ms-Suggestions-title",forceResolveButton:"ms-forceResolve-button",searchForMoreButton:"ms-SearchMore-button",spinner:"ms-Suggestions-spinner",noSuggestions:"ms-Suggestions-none",suggestionsAvailable:"ms-Suggestions-suggestionsAvailable",isSelected:"is-selected"};function Lw(e){var t,o=e.className,n=e.suggestionsClassName,r=e.theme,i=e.forceResolveButtonSelected,a=e.searchForMoreButtonSelected,s=r.palette,l=r.semanticColors,c=r.fonts,u=Ro(Fw,r),d={backgroundColor:"transparent",border:0,cursor:"pointer",margin:0,paddingLeft:8,position:"relative",borderTop:"1px solid ".concat(s.neutralLight),height:40,textAlign:"left",width:"100%",fontSize:c.small.fontSize,selectors:{":hover":{backgroundColor:l.menuItemBackgroundPressed,cursor:"pointer"},":focus, :active":{backgroundColor:s.themeLight},".ms-Button-icon":{fontSize:c.mediumPlus.fontSize,width:25},".ms-Button-label":{margin:"0 4px 0 9px"}}},p={backgroundColor:s.themeLight,selectors:(t={},t[Mo]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid ".concat(r.semanticColors.focusBorder)},t)};return{root:[u.root,{minWidth:260},o],suggestionsContainer:[u.suggestionsContainer,{overflowY:"auto",overflowX:"hidden",maxHeight:300,transform:"translate3d(0,0,0)"},n],title:[u.title,{padding:"0 12px",fontSize:c.small.fontSize,color:s.themePrimary,lineHeight:40,borderBottom:"1px solid ".concat(l.menuItemBackgroundPressed)}],forceResolveButton:[u.forceResolveButton,d,i&&[u.isSelected,p]],searchForMoreButton:[u.searchForMoreButton,d,a&&[u.isSelected,p]],noSuggestions:[u.noSuggestions,{textAlign:"center",color:s.neutralSecondary,fontSize:c.small.fontSize,lineHeight:30}],suggestionsAvailable:[u.suggestionsAvailable,ho],subComponentStyles:{spinner:{root:[u.spinner,{margin:"5px 0",paddingLeft:14,textAlign:"left",whiteSpace:"nowrap",lineHeight:20,fontSize:c.small.fontSize}],circle:{display:"inline-block",verticalAlign:"middle"},label:{display:"inline-block",verticalAlign:"middle",margin:"0 10px 0 16px"}}}}}var Ow,Hw=function(){function e(){var t=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(e){return t._isSuggestionModel(e)?e:{item:e,selected:!1,ariaLabel:e.ariaLabel}},this.suggestions=[],this.currentIndex=-1}return e.prototype.updateSuggestions=function(e,t,o){if(e&&e.length>0){if(o&&e.length>o){var n=t&&t>o?t+1-o:0;e=e.slice(n,n+o-1)}this.suggestions=this.convertSuggestionsToSuggestionItems(e),this.currentIndex=t||0,-1===t?this.currentSuggestion=void 0:void 0!==t&&(this.suggestions[t].selected=!0,this.currentSuggestion=this.suggestions[t])}else this.suggestions=[],this.currentIndex=-1,this.currentSuggestion=void 0},e.prototype.nextSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(0===this.currentIndex)return this.setSelectedSuggestion(this.suggestions.length-1),!0}return!1},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getCurrentItem=function(){return this.currentSuggestion},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.hasSelectedSuggestion=function(){return!!this.currentSuggestion},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.createGenericSuggestion=function(e){var t=this.convertSuggestionsToSuggestionItems([e])[0];this.currentSuggestion=t},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e.prototype.deselectAllSuggestions=function(){this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1)},e.prototype.setSelectedSuggestion=function(e){e>this.suggestions.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=this.suggestions[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1),this.suggestions[e].selected=!0,this.currentIndex=e,this.currentSuggestion=this.suggestions[e])},e}();!function(e){e[e.valid=0]="valid",e[e.warning=1]="warning",e[e.invalid=2]="invalid"}(Ow||(Ow={})),Kt([{rawString:".picker_94f06b16{position:relative}.pickerText_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;min-height:30px}.pickerText_94f06b16:hover{border-color:"},{theme:"inputBorderHovered",defaultValue:"#323130"},{rawString:"}.pickerText_94f06b16.inputFocused_94f06b16{position:relative;border-color:"},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}.pickerText_94f06b16.inputFocused_94f06b16:after{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;right:-1px;border:2px solid '},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.pickerText_94f06b16.inputDisabled_94f06b16{position:relative;border-color:GrayText}.pickerText_94f06b16.inputDisabled_94f06b16:after{pointer-events:none;content:"";position:absolute;left:0;top:0;bottom:0;right:0;background-color:Window}}.pickerInput_94f06b16{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;-ms-flex-item-align:end;align-self:flex-end}.pickerItems_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.screenReaderOnly_94f06b16{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}'}]);var zw="picker_94f06b16",Ww="pickerText_94f06b16",Vw="inputFocused_94f06b16",Kw="inputDisabled_94f06b16",Gw="pickerInput_94f06b16",Uw="pickerItems_94f06b16",jw="screenReaderOnly_94f06b16",qw=s,Yw=vr(),Zw=function(o){function e(e){var i=o.call(this,e)||this;i.root=ht.createRef(),i.input=ht.createRef(),i.suggestionElement=ht.createRef(),i.SuggestionOfProperType=Aw,i._styledSuggestions=ir(i.SuggestionOfProperType,Lw,void 0,{scope:"Suggestions"}),i._isMounted=!1,i._overrideScrollDismiss=!1,i.dismissSuggestions=function(t){var e=function(){var e=!0;i.props.onDismiss&&(e=i.props.onDismiss(t,i.suggestionStore.currentSuggestion?i.suggestionStore.currentSuggestion.item:void 0)),(!t||t&&!t.defaultPrevented)&&!1!==e&&i.canAddItems()&&i.suggestionStore.hasSelectedSuggestion()&&i.state.suggestedDisplayValue&&i.addItemByIndex(0)};i.currentPromise?i.currentPromise.then(function(){return e()}):e(),i.setState({suggestionsVisible:!1})},i.refocusSuggestions=function(e){i.resetFocus(),i.suggestionStore.suggestions&&i.suggestionStore.suggestions.length>0&&(e===sr.up?i.suggestionStore.setSelectedSuggestion(i.suggestionStore.suggestions.length-1):e===sr.down&&i.suggestionStore.setSelectedSuggestion(0))},i._getDescribedBy=function(e,t){var o="";return e.length>0&&(o+=i._ariaMap.selectedItems+" "),t&&(o+=i._ariaMap.error),o},i.onInputChange=function(e){i.updateValue(e),i.setState({moreSuggestionsAvailable:!0,isMostRecentlyUsedVisible:!1})},i.onSuggestionClick=function(e,t,o){i.addItemByIndex(o)},i.onSuggestionRemove=function(e,t,o){i.props.onRemoveSuggestion&&i.props.onRemoveSuggestion(t),i.suggestionStore.removeSuggestion(o)},i.onInputFocus=function(e){i.selection.setAllSelected(!1),i.state.isFocused||(i._userTriggeredSuggestions(),i.props.inputProps&&i.props.inputProps.onFocus&&i.props.inputProps.onFocus(e))},i.onInputBlur=function(e){i.props.inputProps&&i.props.inputProps.onBlur&&i.props.inputProps.onBlur(e)},i.onBlur=function(e){if(i.state.isFocused){var t=e.relatedTarget;null===e.relatedTarget&&(t=Hc(i.context).activeElement),t&&!Ga(i.root.current,t)&&(i.setState({isFocused:!1}),i.props.onBlur&&i.props.onBlur(e))}},i.onWrapperClick=function(e){i.state.items.length&&!i.canAddItems()&&i.resetFocus(i.state.items.length-1)},i.onClick=function(e){void 0!==i.props.inputProps&&void 0!==i.props.inputProps.onClick&&i.props.inputProps.onClick(e),0===e.button&&i._userTriggeredSuggestions()},i.onFocus=function(){i.state.isFocused||i.setState({isFocused:!0})},i.onKeyDown=function(e){var t=e.which;switch(t){case sr.escape:i.state.suggestionsVisible&&(i.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case sr.tab:case sr.enter:i.suggestionElement.current&&i.suggestionElement.current.hasSuggestedActionSelected()?i.suggestionElement.current.executeSelectedAction():!e.shiftKey&&i.suggestionStore.hasSelectedSuggestion()&&i.state.suggestionsVisible?(i.completeSuggestion(),e.preventDefault(),e.stopPropagation()):i._completeGenericSuggestion();break;case sr.backspace:i.props.disabled||i.onBackspace(e),e.stopPropagation();break;case sr.del:i.props.disabled||(i.input.current&&e.target===i.input.current.inputElement&&i.state.suggestionsVisible&&-1!==i.suggestionStore.currentIndex?(i.props.onRemoveSuggestion&&i.props.onRemoveSuggestion(i.suggestionStore.currentSuggestion.item),i.suggestionStore.removeSuggestion(i.suggestionStore.currentIndex),i.forceUpdate()):i.onBackspace(e)),e.stopPropagation();break;case sr.up:i.input.current&&e.target===i.input.current.inputElement&&i.state.suggestionsVisible&&(i.suggestionElement.current&&i.suggestionElement.current.tryHandleKeyDown(t,i.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),i.forceUpdate()):i.suggestionElement.current&&i.suggestionElement.current.hasSuggestedAction()&&0===i.suggestionStore.currentIndex?(e.preventDefault(),e.stopPropagation(),i.suggestionElement.current.focusAboveSuggestions(),i.suggestionStore.deselectAllSuggestions(),i.forceUpdate()):i.suggestionStore.previousSuggestion()&&(e.preventDefault(),e.stopPropagation(),i.onSuggestionSelect()));break;case sr.down:i.input.current&&e.target===i.input.current.inputElement&&i.state.suggestionsVisible&&(i.suggestionElement.current&&i.suggestionElement.current.tryHandleKeyDown(t,i.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),i.forceUpdate()):i.suggestionElement.current&&i.suggestionElement.current.hasSuggestedAction()&&i.suggestionStore.currentIndex+1===i.suggestionStore.suggestions.length?(e.preventDefault(),e.stopPropagation(),i.suggestionElement.current.focusBelowSuggestions(),i.suggestionStore.deselectAllSuggestions(),i.forceUpdate()):i.suggestionStore.nextSuggestion()&&(e.preventDefault(),e.stopPropagation(),i.onSuggestionSelect()))}},i.onItemChange=function(e,t){var o=i.state.items;if(t>=0){var n=o;n[t]=e,i._updateSelectedItems(n)}},i.onGetMoreResults=function(){i.setState({isSearching:!0},function(){if(i.props.onGetMoreResults&&i.input.current){var e=i.props.onGetMoreResults(i.input.current.value,i.state.items),t=e,o=e;Array.isArray(t)?(i.updateSuggestions(t),i.setState({isSearching:!1})):o.then&&o.then(function(e){i.updateSuggestions(e),i.setState({isSearching:!1})})}else i.setState({isSearching:!1});i.input.current&&i.input.current.focus(),i.setState({moreSuggestionsAvailable:!1,isResultsFooterVisible:!0})})},i.completeSelection=function(e){i.addItem(e),i.updateValue(""),i.input.current&&i.input.current.clear(),i.setState({suggestionsVisible:!1})},i.addItemByIndex=function(e){i.completeSelection(i.suggestionStore.getSuggestionAtIndex(e).item)},i.addItem=function(e){var t=i.props.onItemSelected?i.props.onItemSelected(e):e;if(null!==t){var o=t,n=t;if(n&&n.then)n.then(function(e){var t=i.state.items.concat([e]);i._updateSelectedItems(t)});else{var r=i.state.items.concat([o]);i._updateSelectedItems(r)}i.setState({suggestedDisplayValue:"",selectionRemoved:void 0})}},i.removeItem=function(e){var t=i.state.items,o=t.indexOf(e);if(o>=0){var n=t.slice(0,o).concat(t.slice(o+1));i.setState({selectionRemoved:e}),i._updateSelectedItems(n),i._async.setTimeout(function(){i.setState({selectionRemoved:void 0})},1e3)}},i.removeItems=function(t){var e=i.state.items.filter(function(e){return-1===t.indexOf(e)});i._updateSelectedItems(e)},i._shouldFocusZoneEnterInnerZone=function(e){if(i.state.suggestionsVisible)switch(e.which){case sr.up:case sr.down:return!0}return e.which===sr.enter},i._onResolveSuggestions=function(e){var t=i.props.onResolveSuggestions(e,i.state.items);null!==t&&i.updateSuggestionsList(t,e)},i._completeGenericSuggestion=function(){if(i.props.onValidateInput&&i.input.current&&i.props.onValidateInput(i.input.current.value)!==Ow.invalid&&i.props.createGenericItem){var e=i.props.createGenericItem(i.input.current.value,i.props.onValidateInput(i.input.current.value));i.suggestionStore.createGenericSuggestion(e),i.completeSuggestion()}},i._userTriggeredSuggestions=function(){if(!i.state.suggestionsVisible){var e=i.input.current?i.input.current.value:"";e?0===i.suggestionStore.suggestions.length?i._onResolveSuggestionsDebounced(e):i.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):i.onEmptyInputFocus()}},ua(i);var t=e.selectedItems||e.defaultSelectedItems||[];return i._id=bs(),i._ariaMap={selectedItems:"selected-items-".concat(i._id),selectedSuggestionAlert:"selected-suggestion-alert-".concat(i._id),suggestionList:"suggestion-list-".concat(i._id),combobox:"combobox-".concat(i._id),error:"error-".concat(i._id)},i.suggestionStore=new Hw,i.selection=new Fy({onSelectionChanged:function(){return i.onSelectionChange()}}),i.selection.setItems(t),i.state={items:t,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[],selectionRemoved:void 0},i}return m(e,o),e.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(e.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this._isMounted=!0,this._async=new fa(this),this._updateErrorMessage(this.state.items),this.selection.setItems(this.state.items),this._onResolveSuggestionsDebounced=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},e.prototype.componentDidUpdate=function(e,t){var o=this;if(this.state.items&&this.state.items!==t.items){var n=this.selection.getSelectedIndices()[0];this.selection.setItems(this.state.items),this.state.isFocused&&(this.state.items.lengtht.items.length&&!this.canAddItems()&&this.resetFocus(this.state.items.length-1))}this._updateErrorMessage(this.state.items),this.state.suggestionsVisible&&!t.suggestionsVisible&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout(function(){o._overrideScrollDismiss=!1},100))},e.prototype.componentWillUnmount=function(){this._isMounted=!1,this.currentPromise&&(this.currentPromise=void 0),this._async.dispose()},e.prototype.focus=function(){this.input.current&&this.input.current.focus()},e.prototype.focusInput=function(){this.input.current&&this.input.current.focus()},e.prototype.completeSuggestion=function(e){this.suggestionStore.hasSelectedSuggestion()&&this.input.current?this.completeSelection(this.suggestionStore.currentSuggestion.item):e&&this._completeGenericSuggestion()},e.prototype.render=function(){var e,t,o,n=this.state,r=n.suggestedDisplayValue,i=n.isFocused,a=n.items,s=this.props,l=s.className,c=s.inputProps,u=s.disabled,d=s.selectionAriaLabel,p=s.selectionRole,h=void 0===p?"list":p,m=s.theme,f=s.styles,g=!!this.state.suggestionsVisible,v=g?this._ariaMap.suggestionList:void 0,b=!!(null!==(e=this.state.errorMessage)&&void 0!==e?e:this.props.errorMessage),y=f?Yw(f,{theme:m,className:l,isFocused:i,disabled:u,hasErrorMessage:b,inputClassName:c&&c.className}):{root:hi("ms-BasePicker",l||""),error:"ms-BasePicker-error",text:hi("ms-BasePicker-text",qw.pickerText,this.state.isFocused&&qw.inputFocused),itemsWrapper:qw.pickerItems,input:hi("ms-BasePicker-input",qw.pickerInput,c&&c.className),screenReaderText:qw.screenReaderOnly},C=this.props["aria-label"]||(null==c?void 0:c["aria-label"]),_=null!==(t=null==c?void 0:c.id)&&void 0!==t?t:this._ariaMap.combobox;return ht.createElement("div",{ref:this.root,className:y.root,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onWrapperClick},this.renderLabel(_,null===(o=y.subComponentStyles)||void 0===o?void 0:o.label),this.renderCustomAlert(y.screenReaderText),ht.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},d||C),ht.createElement(Ay,{selection:this.selection,selectionMode:ay.multiple},ht.createElement("div",{className:y.text,"aria-owns":v},a.length>0&&ht.createElement("span",{id:this._ariaMap.selectedItems,className:y.itemsWrapper,role:h,"aria-labelledby":"".concat(this._ariaMap.selectedItems,"-label")},this.renderItems()),this.canAddItems()&&ht.createElement(_a,pt({spellCheck:!1},c,{className:y.input,componentRef:this.input,id:_,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:r,"aria-activedescendant":g?this.getActiveDescendant():void 0,"aria-controls":v,"aria-describedby":this._getDescribedBy(a,b),"aria-expanded":g,"aria-haspopup":"listbox","aria-label":C,role:"combobox",disabled:u,onInputChange:this.props.onInputChange})))),this.renderError(y.error),this.renderSuggestions())},e.prototype.canAddItems=function(){var e=this.state.items,t=this.props.itemLimit;return void 0===t||e.length button")[Math.min(e,t.length-1)];o&&o.focus()}else this.input.current&&this.input.current.focus()},e.prototype.onSuggestionSelect=function(){if(this.suggestionStore.currentSuggestion){var e=this.input.current?this.input.current.value:"",t=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e);this.setState({suggestedDisplayValue:t})}},e.prototype.onSelectionChange=function(){this.setState({selectedIndices:this.selection.getSelectedIndices()})},e.prototype.updateSuggestions=function(e){var t,o=null===(t=this.props.pickerSuggestionsProps)||void 0===t?void 0:t.resultsMaximumNumber;this.suggestionStore.updateSuggestions(e,0,o),this.forceUpdate()},e.prototype.onEmptyInputFocus=function(){var e=this.props.onEmptyResolveSuggestions?this.props.onEmptyResolveSuggestions:this.props.onEmptyInputFocus;if(e){var t=e(this.state.items);this.updateSuggestionsList(t),this.setState({isMostRecentlyUsedVisible:!0,suggestionsVisible:!0,moreSuggestionsAvailable:!1})}},e.prototype.updateValue=function(e){this._onResolveSuggestionsDebounced(e)},e.prototype.updateSuggestionsList=function(t,o){var e,n=this;Array.isArray(t)?this._updateAndResolveValue(o,t):t&&t.then&&(this.setState({suggestionsLoading:!0}),this._startLoadTimer(),this.suggestionStore.updateSuggestions([]),void 0!==o?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===(null===(e=Hc(this.context))||void 0===e?void 0:e.activeElement)}),this.currentPromise=t,t.then(function(e){t===n.currentPromise&&n._updateAndResolveValue(o,e)}))},e.prototype.resolveNewValue=function(e,t){var o=this;this.updateSuggestions(t);var n=void 0;this.suggestionStore.currentSuggestion&&(n=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:n,suggestionsVisible:this._getShowSuggestions()},function(){return o.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})})},e.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},e.prototype.onBackspace=function(e){(this.state.items.length&&!this.input.current||this.input.current&&!this.input.current.isValueSelected&&0===this.input.current.cursorLocation)&&(this.selection.getSelectedCount()>0?this.removeItems(this.selection.getSelection()):this.removeItem(this.state.items[this.state.items.length-1]))},e.prototype.getActiveDescendant=function(){var e;if(!this.state.suggestionsLoading){var t=this.suggestionStore.currentIndex;return t<0?(null===(e=this.suggestionElement.current)||void 0===e?void 0:e.hasSuggestedAction())?"sug-selectedAction":0===this.suggestionStore.suggestions.length?"sug-noResultsFound":void 0:"sug-".concat(t)}},e.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=qw.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){var o=t>-1?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,n=o?o.ariaLabel:void 0;return ht.createElement("div",{id:this._ariaMap.selectedSuggestionAlert,className:e},"".concat(n," "))}},e.prototype.renderCustomAlert=function(e){void 0===e&&(e=qw.screenReaderOnly);var t=this.props.suggestionRemovedText,o=void 0===t?"removed {0}":t,n="";return this.state.selectionRemoved&&(n=tm(o,this._getTextFromItem(this.state.selectionRemoved,""))),ht.createElement("div",{className:e,id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},this.getSuggestionsAlert(e),n)},e.prototype._preventDismissOnScrollOrResize=function(e){return!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},e.prototype._startLoadTimer=function(){var e=this;this._async.setTimeout(function(){e.state.suggestionsLoading&&e.setState({suggestionsExtendedLoading:!0})},3e3)},e.prototype._updateAndResolveValue=function(e,t){var o;if(void 0!==e)this.resolveNewValue(e,t);else{var n=null===(o=this.props.pickerSuggestionsProps)||void 0===o?void 0:o.resultsMaximumNumber;this.suggestionStore.updateSuggestions(t,-1,n),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})}},e.prototype._getErrorMessage=function(o){return e=this,a=void 0,l=function(){var t;return function(o,n){var r,i,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function e(t){return function(e){return function(t){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,t[0]&&(l=0)),l;)try{if(r=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,i=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==t[0]&&2!==t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]=0){var n=y.keyToIndexMapping[e],r=ht.Children.toArray(i.children)[n];LI(r)&&i.onLinkClick(r,t)}null===(o=a.current)||void 0===o||o.dismissMenu()};p=AI(i.styles,{theme:c,linkSize:u,linkFormat:d});var w,I=null===(w=n)||void 0!==w&&void 0!==y.keyToIndexMapping[w]?n:y.links.length?y.links[0].itemKey:void 0,D=I?y.keyToIndexMapping[I]:0,E=y.links.map(function(e){return _(y,e,I,p.link)}),T=ht.useMemo(function(){return{items:[],alignTargetEdge:!0,directionalHint:Rl.bottomRightEdge}},[]),P=function(e){var p=e.onOverflowItemsChanged,h=e.rtl,m=e.pinnedIndex,f=ht.useRef(),g=ht.useRef(),v=NI(function(t){var e=function(e,t){if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver(t);return Array.isArray(e)?e.forEach(function(e){return o.observe(e)}):o.observe(e),function(){return o.disconnect()}}var n=function(){return t(void 0)},r=ut(Array.isArray(e)?e[0]:e);if(!r)return function(){};var i=r.requestAnimationFrame(n);return r.addEventListener("resize",n,!1),function(){r.cancelAnimationFrame(i),r.removeEventListener("resize",n,!1)}}(t,function(e){g.current=e?e[0].contentRect.width:t.clientWidth,f.current&&f.current()});return function(){e(),g.current=void 0}}),b=NI(function(e){return v(e.parentElement),function(){return v(null)}});return ri(function(){var e=v.current,n=b.current;if(e&&n){for(var r=[],t=0;t=0;t--){if(void 0===i[t]){var o=h?e-r[t].offsetLeft:r[t].offsetLeft+r[t].offsetWidth;t+1i[t])return void l(t+1)}l(0)}};var s=r.length,l=function(o){s!==o&&(s=o,p(o,r.map(function(e,t){return{ele:e,isOverflowing:t>=o&&t!==m}})))},c=void 0;if(void 0!==g.current){var u=ut(e);if(u){var d=u.requestAnimationFrame(f.current);c=function(){return u.cancelAnimationFrame(d)}}}return function(){c&&c(),l(r.length),f.current=void 0}}}),{menuButtonRef:b}}({onOverflowItemsChanged:function(o,e){e.forEach(function(e){var t=e.ele,o=e.isOverflowing;return t.dataset.isOverflowing="".concat(o)}),T.items=y.links.slice(o).filter(function(e){return e.itemKey!==I}).map(function(e,t){return e.role="menuitem",{key:e.itemKey||"".concat(o+t),onRender:function(){return _(y,e,I,p.linkInMenu)}}})},rtl:cr(c),pinnedIndex:D}).menuButtonRef,R=g||fh;return ht.createElement("div",pt({ref:e},b),ht.createElement(Xs,pt({componentRef:t,role:"tablist"},v,{direction:xa.horizontal},f,{className:hi(p.root,null==f?void 0:f.className)}),E,"menu"===h&&ht.createElement(R,{className:hi(p.link,p.overflowMenuButton),elementRef:P,componentRef:a,menuProps:T,menuIconProps:{iconName:"More",style:{color:"inherit"}},ariaLabel:m,role:"tab"})),I&&y.links.map(function(e){return(!0===e.alwaysRender||I===e.itemKey)&&function(e,t){if(i.headersOnly||!e)return null;var o=y.keyToIndexMapping[e],n=y.keyToTabIdMapping[e];return ht.createElement("div",{role:"tabpanel",hidden:!t,key:e,"aria-hidden":!t,"aria-labelledby":n,className:p.itemContainer},ht.Children.toArray(i.children)[o])}(e.itemKey,I===e.itemKey)}))});OI.displayName="Pivot";var HI,zI,WI={count:"ms-Pivot-count",icon:"ms-Pivot-icon",linkIsSelected:"is-selected",link:"ms-Pivot-link",linkContent:"ms-Pivot-linkContent",root:"ms-Pivot",rootIsLarge:"ms-Pivot--large",rootIsTabs:"ms-Pivot--tabs",text:"ms-Pivot-text",linkInMenu:"ms-Pivot-linkInMenu",overflowMenuButton:"ms-Pivot-overflowMenuButton"},VI=function(e,t,o){var n,r,i;void 0===o&&(o=!1);var a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,u=l.fonts,d="large"===a,p="tabs"===s;return[u.medium,{color:c.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:{":hover":{backgroundColor:c.buttonBackgroundHovered,color:c.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:c.buttonBackgroundPressed,color:c.buttonTextHovered},":focus":{outline:"none"}}},!o&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:(n={},n[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={outline:"1px solid ".concat(c.focusBorder)},n[".".concat(Jo," &:focus:after, :host(.").concat(Jo,") &:focus:after")]={content:"attr(data-content)",position:"relative",border:0},n[":before"]={backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left ".concat(We.durationValue2," ").concat(We.easeFunction2,",\n right ").concat(We.durationValue2," ").concat(We.easeFunction2)},n[":after"]={color:"transparent",content:"attr(data-content)",display:"block",fontWeight:Qe.bold,height:1,overflow:"hidden",visibility:"hidden"},n)},d&&{fontSize:u.large.fontSize},p&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:c.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(r={":focus":{outlineOffset:"-2px"}},r[".".concat(Jo," &:focus::before, :host(.").concat(Jo,") &:focus::before")]={height:"auto",background:"transparent",transition:"none"},r["&:hover, &:focus"]={color:c.buttonTextCheckedHovered},r["&:active, &:hover"]={color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground},r["&.".concat(t.linkIsSelected)]={backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:Qe.regular,selectors:(i={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},":active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},i[Mo]=pt({fontWeight:Qe.semibold,color:"HighlightText",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},r[".".concat(Jo," &.").concat(t.linkIsSelected,":focus, :host(.").concat(Jo,") &.").concat(t.linkIsSelected,":focus")]={outlineColor:c.primaryButtonText},r)}]]]},KI=ir(OI,function(e){var t,o,n,r,i=e.className,a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,u=l.fonts,d=Ro(WI,l),p="large"===a,h="tabs"===s;return{root:[d.root,u.medium,dn,{position:"relative",color:c.link,whiteSpace:"nowrap"},p&&d.rootIsLarge,h&&d.rootIsTabs,i],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:z(z([d.link],VI(e,d),!0),[(t={},t["&[data-is-overflowing='true']"]={display:"none"},t)],!1),overflowMenuButton:[d.overflowMenuButton,(o={visibility:"hidden",position:"absolute",right:0},o[".".concat(d.link,"[data-is-overflowing='true'] ~ &")]={visibility:"visible",position:"relative"},o)],linkInMenu:z(z([d.linkInMenu],VI(e,d,!0),!0),[{justifyContent:"start",height:36,lineHeight:36,width:"100%"}],!1),linkIsSelected:[d.link,d.linkIsSelected,{fontWeight:Qe.semibold,selectors:(n={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(r={},r[Mo]={backgroundColor:"Highlight"},r)},":hover::before":{left:0,right:0}},n[Mo]={color:"Highlight"},n)}],linkContent:[d.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[d.text,{display:"inline-block",verticalAlign:"top"}],count:[d.count,{display:"inline-block",verticalAlign:"top"}],icon:d.icon}},void 0,{scope:"Pivot"});!function(e){e.links="links",e.tabs="tabs"}(HI||(HI={})),function(e){e.normal="normal",e.large="large"}(zI||(zI={}));var GI,UI=vr(),jI=function(o){function e(e){var v=o.call(this,e)||this;v._onRenderProgress=function(e){var t=v.props,o=t.ariaLabel,n=t.ariaValueText,r=t.barHeight,i=t.className,a=t.description,s=t.label,l=void 0===s?v.props.title:s,c=t.styles,u=t.theme,d="number"==typeof v.props.percentComplete?Math.min(100,Math.max(0,100*v.props.percentComplete)):void 0,p=UI(c,{theme:u,className:i,barHeight:r,indeterminate:void 0===d}),h={width:void 0!==d?d+"%":void 0,transition:void 0!==d&&d<.01?"none":void 0},m=void 0!==d?0:void 0,f=void 0!==d?100:void 0,g=void 0!==d?Math.floor(d):void 0;return ht.createElement("div",{className:p.itemProgress},ht.createElement("div",{className:p.progressTrack}),ht.createElement("div",{className:p.progressBar,style:h,role:"progressbar","aria-describedby":a?v._descriptionId:void 0,"aria-label":o,"aria-labelledby":l?v._labelId:void 0,"aria-valuemin":m,"aria-valuemax":f,"aria-valuenow":g,"aria-valuetext":n}))};var t=bs("progress-indicator");return v._labelId=t+"-label",v._descriptionId=t+"-description",v}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.barHeight,o=e.className,n=e.label,r=void 0===n?this.props.title:n,i=e.description,a=e.styles,s=e.theme,l=e.progressHidden,c=e.onRenderProgress,u=void 0===c?this._onRenderProgress:c,d="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,p=UI(a,{theme:s,className:o,barHeight:t,indeterminate:void 0===d});return ht.createElement("div",{className:p.root},r?ht.createElement("div",{id:this._labelId,className:p.itemName},r):null,l?null:u(pt(pt({},this.props),{percentComplete:d}),this._onRenderProgress),i?ht.createElement("div",{id:this._descriptionId,className:p.itemDescription},i):null)},e.defaultProps={label:"",description:"",width:180},e}(ht.Component),qI={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},YI=Do(function(){return ee({"0%":{left:"-30%"},"100%":{left:"100%"}})}),ZI=Do(function(){return ee({"100%":{right:"-30%"},"0%":{right:"100%"}})}),XI=ir(jI,function(e){var t,o,n,r=cr(e.theme),i=e.className,a=e.indeterminate,s=e.theme,l=e.barHeight,c=void 0===l?2:l,u=s.palette,d=s.semanticColors,p=s.fonts,h=Ro(qI,s),m=u.neutralLight;return{root:[h.root,p.medium,i],itemName:[h.itemName,pn,{color:d.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[h.itemDescription,{color:d.bodySubtext,fontSize:p.small.fontSize,lineHeight:18}],itemProgress:[h.itemProgress,{position:"relative",overflow:"hidden",height:c,padding:"".concat(8,"px 0")}],progressTrack:[h.progressTrack,{position:"absolute",width:"100%",height:c,backgroundColor:m,selectors:(t={},t[Mo]={borderBottom:"1px solid WindowText"},t)}],progressBar:[{backgroundColor:u.themePrimary,height:c,position:"absolute",transition:"width .3s ease",width:0,selectors:(o={},o[Mo]=pt({backgroundColor:"highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, ".concat(m," 0%, ")+"".concat(u.themePrimary," 50%, ").concat(m," 100%)"),animation:"".concat(r?ZI():YI()," 3s infinite"),selectors:(n={},n[Mo]={background:"highlight"},n)}:{transition:"width .15s linear"},h.progressBar]}},void 0,{scope:"ProgressIndicator"}),QI={root:"ms-RatingStar-root",rootIsSmall:"ms-RatingStar-root--small",rootIsLarge:"ms-RatingStar-root--large",ratingStar:"ms-RatingStar-container",ratingStarBack:"ms-RatingStar-back",ratingStarFront:"ms-RatingStar-front",ratingButton:"ms-Rating-button",ratingStarIsSmall:"ms-Rating--small",ratingStartIsLarge:"ms-Rating--large",labelText:"ms-Rating-labelText",ratingFocusZone:"ms-Rating-focuszone"};function JI(e,t){var o;return{color:e,selectors:(o={},o[Mo]={color:t},o)}}!function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(GI||(GI={}));var $I=vr(),eD=function(e){return ht.createElement("div",{className:e.classNames.ratingStar},ht.createElement(wi,{className:e.classNames.ratingStarBack,iconName:0===e.fillPercentage||100===e.fillPercentage?e.icon:e.unselectedIcon}),!e.disabled&&ht.createElement(wi,{className:e.classNames.ratingStarFront,iconName:e.icon,style:{width:e.fillPercentage+"%"}}))},tD=function(e,t){return"".concat(e,"-star-").concat(t-1)},oD=ht.forwardRef(function(e,t){var r=Sd("Rating"),i=Sd("RatingLabel"),o=e.ariaLabel,a=e.ariaLabelFormat,s=e.disabled,n=e.getAriaLabel,l=e.styles,c=e.min,u=void 0===c?e.allowZeroStars?0:1:c,d=e.max,p=void 0===d?5:d,h=e.readOnly,m=e.size,f=e.theme,g=e.icon,v=void 0===g?"FavoriteStarFill":g,b=e.unselectedIcon,y=void 0===b?"FavoriteStar":b,C=e.onRenderStar,_=Math.max(u,0),S=Km(e.rating,e.defaultRating,e.onChange),x=S[0],k=S[1],w=function(e,t,o){return Math.min(Math.max(null!=e?e:t,t),o)}(x,_,p);!function(e){Qi({name:"Rating",props:e,controlledUsage:{valueProp:"rating",defaultValueProp:"defaultRating",onChangeProp:"onChange",readOnlyProp:"readOnly"}})}(e),function(e,t){ht.useImperativeHandle(e,function(){return{rating:t}},[t])}(e.componentRef,w);var I=ht.useRef(null),D=ii(I,t);al(I);for(var E=qr(e,jr),T=$I(l,{disabled:s,readOnly:h,theme:f}),P=null==n?void 0:n(w,p),R=o||P,M=[],N=function(n){var e,t,o=function(e,t){var o=Math.ceil(t),n=100;return e===t?n=100:e===o?n=t%1*100:e>o&&(n=0),n}(n,w);M.push(ht.createElement("button",pt({className:hi(T.ratingButton,m===GI.Large?T.ratingStarIsLarge:T.ratingStarIsSmall),id:tD(r,n),key:n},n===Math.ceil(w)&&{"data-is-current":!0},{onKeyDown:function(e){var t=e.which,o=n;switch(t){case sr.right:case sr.down:o=Math.min(p,o+1);break;case sr.left:case sr.up:o=Math.max(1,o-1);break;case sr.home:case sr.pageUp:o=1;break;case sr.end:case sr.pageDown:o=p}o===n||void 0!==x&&Math.ceil(x)===o||k(o,e)},onClick:function(e){void 0!==x&&Math.ceil(x)===n||k(n,e)},disabled:!(!s&&!h),role:"radio","aria-hidden":h?"true":void 0,type:"button","aria-checked":n===Math.ceil(w)}),ht.createElement("span",{id:"".concat(i,"-").concat(n),className:T.labelText},tm(a||"",n,p)),(e={fillPercentage:o,disabled:s,classNames:T,icon:o>0?v:y,starNum:n,unselectedIcon:y},(t=C)?t(e):ht.createElement(eD,pt({},e)))))},B=1;B<=p;B++)N(B);var A=m===GI.Large?T.rootIsLarge:T.rootIsSmall;return ht.createElement("div",pt({ref:D,className:hi("ms-Rating-star",T.root,A),"aria-label":h?void 0:R,id:r,role:h?void 0:"radiogroup"},E),ht.createElement(Xs,pt({direction:xa.bidirectional,className:hi(T.ratingFocusZone,A),defaultActiveElement:"#"+tD(r,Math.ceil(w))},h&&{allowFocusRoot:!0,disabled:!0,role:"textbox","aria-label":P,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}),M))});oD.displayName="RatingBase";var nD=ir(oD,function(e){var t=e.disabled,o=e.readOnly,n=e.theme,r=n.semanticColors,i=n.palette,a=Ro(QI,n),s=i.neutralSecondary,l=i.themePrimary,c=i.themeDark,u=i.neutralPrimary,d=r.disabledBodySubtext;return{root:[a.root,n.fonts.medium,!t&&!o&&{selectors:{"&:hover":{selectors:{".ms-RatingStar-back":JI(u,"Highlight")}}}}],rootIsSmall:[a.rootIsSmall,{height:"32px"}],rootIsLarge:[a.rootIsLarge,{height:"36px"}],ratingStar:[a.ratingStar,{display:"inline-block",position:"relative",height:"inherit"}],ratingStarBack:[a.ratingStarBack,{color:s,width:"100%"},t&&JI(d,"GrayText")],ratingStarFront:[a.ratingStarFront,{position:"absolute",height:"100 %",left:"0",top:"0",textAlign:"center",verticalAlign:"middle",overflow:"hidden"},JI(u,"Highlight")],ratingButton:[on(n),a.ratingButton,{backgroundColor:"transparent",padding:"".concat(8,"px ").concat(2,"px"),boxSizing:"content-box",margin:"0px",border:"none",cursor:"pointer",selectors:{"&:disabled":{cursor:"default"},"&[disabled]":{cursor:"default"}}},!t&&!o&&{selectors:{"&:hover ~ .ms-Rating-button":{selectors:{".ms-RatingStar-back":JI(s,"WindowText"),".ms-RatingStar-front":JI(s,"WindowText")}},"&:hover":{selectors:{".ms-RatingStar-back":{color:l},".ms-RatingStar-front":{color:c}}}}},t&&{cursor:"default"}],ratingStarIsSmall:[a.ratingStarIsSmall,{fontSize:"16px",lineHeight:"16px",height:"16px"}],ratingStarIsLarge:[a.ratingStartIsLarge,{fontSize:"20px",lineHeight:"20px",height:"20px"}],labelText:[a.labelText,ho],ratingFocusZone:[on(n),a.ratingFocusZone,{display:"inline-block"}]}},void 0,{scope:"Rating"}),rD={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},iD={auto:"auto",always:"always"},aD=ht.createContext({scrollablePane:void 0,window:void 0}),sD=vr(),lD=function(t){function e(e){var u=t.call(this,e)||this;return u._root=ht.createRef(),u._stickyAboveRef=ht.createRef(),u._stickyBelowRef=ht.createRef(),u._contentContainer=ht.createRef(),u.subscribe=function(e){u._subscribers.add(e)},u.unsubscribe=function(e){u._subscribers.delete(e)},u.addSticky=function(e){u._stickies.add(e),u.contentContainer&&(e.setDistanceFromTop(u.contentContainer),u.sortSticky(e))},u.removeSticky=function(e){u._stickies.delete(e),u._removeStickyFromContainers(e),u.notifySubscribers()},u.sortSticky=function(e,t){u.stickyAbove&&u.stickyBelow&&(t&&u._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&u._addToStickyContainer(e,u.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&u._addToStickyContainer(e,u.stickyBelow,e.stickyContentBottom))},u.updateStickyRefHeights=function(){var e=u._stickies,r=0,i=0;e.forEach(function(e){var t=e.state,o=t.isStickyTop,n=t.isStickyBottom;e.nonStickyContent&&(o&&(r+=e.nonStickyContent.offsetHeight),n&&(i+=e.nonStickyContent.offsetHeight),u._checkStickyStatus(e))}),u.setState({stickyTopHeight:r,stickyBottomHeight:i})},u.notifySubscribers=function(){u.contentContainer&&u._subscribers.forEach(function(e){e(u.contentContainer,u.stickyBelow)})},u.getScrollPosition=function(){return u.contentContainer?u.contentContainer.scrollTop:0},u.syncScrollSticky=function(e){e&&u.contentContainer&&e.syncScroll(u.contentContainer)},u._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:u.subscribe,unsubscribe:u.unsubscribe,addSticky:u.addSticky,removeSticky:u.removeSticky,updateStickyRefHeights:u.updateStickyRefHeights,sortSticky:u.sortSticky,notifySubscribers:u.notifySubscribers,syncScrollSticky:u.syncScrollSticky},window:zc(u.context)}},u._addToStickyContainer=function(t,o,e){if(o.children.length){if(!o.contains(e)){var n=[].slice.call(o.children),r=[];u._stickies.forEach(function(e){(o===u.stickyAbove&&t.canStickyTop||t.canStickyBottom)&&r.push(e)});for(var i=void 0,a=0,s=r.sort(function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)}).filter(function(e){var t=o===u.stickyAbove?e.stickyContentTop:e.stickyContentBottom;return!!t&&n.indexOf(t)>-1});a=(t.state.distanceFromTop||0)){i=l;break}}var c=null;i&&(c=o===u.stickyAbove?i.stickyContentTop:i.stickyContentBottom),o.insertBefore(e,c)}}else o.appendChild(e)},u._removeStickyFromContainers=function(e){u.stickyAbove&&e.stickyContentTop&&u.stickyAbove.contains(e.stickyContentTop)&&u.stickyAbove.removeChild(e.stickyContentTop),u.stickyBelow&&e.stickyContentBottom&&u.stickyBelow.contains(e.stickyContentBottom)&&u.stickyBelow.removeChild(e.stickyContentBottom)},u._onWindowResize=function(){var e=u._getScrollbarWidth(),t=u._getScrollbarHeight();u.setState({scrollbarWidth:e,scrollbarHeight:t}),u.notifySubscribers()},u._getStickyContainerStyle=function(e,t){return pt(pt({height:e},cr(u.props.theme)?{right:"0",left:"".concat(u.state.scrollbarWidth||u._getScrollbarWidth()||0,"px")}:{left:"0",right:"".concat(u.state.scrollbarWidth||u._getScrollbarWidth()||0,"px")}),t?{top:"0"}:{bottom:"".concat(u.state.scrollbarHeight||u._getScrollbarHeight()||0,"px")})},u._onScroll=function(){var t=u.contentContainer;t&&u._stickies.forEach(function(e){e.syncScroll(t)}),u._notifyThrottled()},u._subscribers=new Set,u._stickies=new Set,ua(u),u.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},u}return m(e,t),Object.defineProperty(e.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){var n=this,e=zc(this.context),t=this.props.initialScrollPosition;this._async=new fa(this),this._notifyThrottled=this._async.throttle(this.notifySubscribers,50),this._events=new xl(this),this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(e,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach(function(e){n.sortSticky(e)}),this.notifySubscribers(),e&&"MutationObserver"in e&&(this._mutationObserver=new MutationObserver(function(t){var e=n._getScrollbarHeight();if(e!==n.state.scrollbarHeight&&n.setState({scrollbarHeight:e}),n.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(n)))n.updateStickyRefHeights();else{var o=[];n._stickies.forEach(function(e){e.root&&e.root.contains(t[0].target)&&o.push(e)}),o.length&&o.forEach(function(e){e.forceUpdate()})}}),this.root&&this._mutationObserver.observe(this.root,{childList:!0,attributes:!0,subtree:!0,characterData:!0}))},e.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},e.prototype.shouldComponentUpdate=function(e,t){return this.props.children!==e.children||this.props.initialScrollPosition!==e.initialScrollPosition||this.props.className!==e.className||this.state.stickyTopHeight!==t.stickyTopHeight||this.state.stickyBottomHeight!==t.stickyBottomHeight||this.state.scrollbarWidth!==t.scrollbarWidth||this.state.scrollbarHeight!==t.scrollbarHeight},e.prototype.componentDidUpdate=function(e,t){var o=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof o&&e.initialScrollPosition!==o&&(this.contentContainer.scrollTop=o),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},e.prototype.render=function(){var e=this.props,t=e.className,o=e.scrollContainerFocus,n=e.scrollContainerAriaLabel,r=e.theme,i=e.styles,a=e.onScroll,s=this.state,l=s.stickyTopHeight,c=s.stickyBottomHeight,u=sD(i,{theme:r,className:t,scrollbarVisibility:this.props.scrollbarVisibility}),d=o?{role:"group",tabIndex:0,"aria-label":n,onScroll:a}:{onScroll:a};return ht.createElement("div",pt({},qr(pt({},this.props),jr,["onScroll"]),{ref:this._root,className:u.root}),ht.createElement("div",{ref:this._stickyAboveRef,className:u.stickyAbove,style:this._getStickyContainerStyle(l,!0)}),ht.createElement("div",pt({ref:this._contentContainer},d,{className:u.contentContainer,"data-is-scrollable":!0}),ht.createElement(aD.Provider,{value:this._getScrollablePaneContext()},this.props.children)),ht.createElement("div",{className:u.stickyBelow,style:this._getStickyContainerStyle(c,!1)},ht.createElement("div",{ref:this._stickyBelowRef,className:u.stickyBelowItems})))},e.prototype.setStickiesDistanceFromTop=function(){var t=this;this.contentContainer&&this._stickies.forEach(function(e){e.setDistanceFromTop(t.contentContainer)})},e.prototype.forceLayoutUpdate=function(){this._onWindowResize()},e.prototype._checkStickyStatus=function(e){this.stickyAbove&&this.stickyBelow&&this.contentContainer&&e.nonStickyContent&&(e.state.isStickyTop||e.state.isStickyBottom?(e.state.isStickyTop&&!this.stickyAbove.contains(e.nonStickyContent)&&e.stickyContentTop&&e.addSticky(e.stickyContentTop),e.state.isStickyBottom&&!this.stickyBelow.contains(e.nonStickyContent)&&e.stickyContentBottom&&e.addSticky(e.stickyContentBottom)):this.contentContainer.contains(e.nonStickyContent)||e.resetSticky())},e.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},e.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},e.contextType=ga,e}(ht.Component),cD=ir(lD,function(e){var t,o,n=e.className,r=e.theme,i=Ro(rD,r),a={position:"absolute",pointerEvents:"none"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,n],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,zIndex:1,selectors:(t={},t[Mo]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(o={},o[Mo]={borderTop:"1px solid WindowText"},o)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}},void 0,{scope:"ScrollablePane"}),uD="SearchBox",dD={root:{height:"auto"},icon:{fontSize:"12px"}},pD={iconName:"Clear"},hD={ariaLabel:"Clear text"},mD=vr(),fD=ht.forwardRef(function(o,e){var t=o.ariaLabel,n=o.className,r=o.defaultValue,i=void 0===r?"":r,a=o.disabled,s=o.underlined,l=o.styles,c=o.labelText,u=o.placeholder,d=void 0===u?c:u,p=o.theme,h=o.clearButtonProps,m=void 0===h?hD:h,f=o.disableAnimation,g=void 0!==f&&f,v=o.showIcon,b=void 0!==v&&v,y=o.onClear,C=o.onBlur,_=o.onEscape,S=o.onSearch,x=o.onKeyDown,k=o.iconProps,w=o.role,I=o.onChange,D=o.onChanged,E=ht.useState(!1),T=E[0],P=E[1],R=ht.useRef(),M=Km(o.value,i,function(e,t){e&&e.timeStamp===R.current||(R.current=null==e?void 0:e.timeStamp,null==I||I(e,t),null==D||D(t))}),N=M[0],B=M[1],A=String(N),F=ht.useRef(null),L=ht.useRef(null),O=ii(F,e),H=Sd(uD,o.id),z=m.onClick,W=mD(l,{theme:p,className:n,underlined:s,hasFocus:T,disabled:a,hasInput:A.length>0,disableAnimation:g,showIcon:b}),V=qr(o,Mr,["className","placeholder","onFocus","onBlur","value","role"]),K=ht.useCallback(function(e){var t;null==y||y(e),e.defaultPrevented||(B(""),null===(t=L.current)||void 0===t||t.focus(),e.stopPropagation(),e.preventDefault())},[y,B]),G=ht.useCallback(function(e){null==z||z(e),e.defaultPrevented||K(e)},[z,K]),U=ht.useCallback(function(e){P(!1),null==C||C(e)},[C]),j=function(e){B(e.target.value,e)};return function(e){Qi({name:uD,props:e,deprecations:{labelText:"placeholder"}})}(o),function(e,t,o){ht.useImperativeHandle(e,function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.blur()},hasFocus:function(){return o}}},[t,o])}(o.componentRef,L,T),ht.createElement("div",{role:w,ref:O,className:W.root,onFocusCapture:function(e){var t;P(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e)}},ht.createElement("div",{className:W.iconContainer,onClick:function(){L.current&&(L.current.focus(),L.current.selectionStart=L.current.selectionEnd=0)},"aria-hidden":!0},ht.createElement(wi,pt({iconName:"Search"},k,{className:W.icon}))),ht.createElement("input",pt({},V,{id:H,className:W.field,placeholder:d,onChange:j,onInput:j,onBlur:U,onKeyDown:function(e){switch(e.which){case sr.escape:null==_||_(e),A&&!e.defaultPrevented&&K(e);break;case sr.enter:S&&(S(A),e.preventDefault(),e.stopPropagation());break;default:null==x||x(e),e.defaultPrevented&&e.stopPropagation()}},value:A,disabled:a,role:"searchbox","aria-label":t,ref:L})),A.length>0&&ht.createElement("div",{className:W.clearButton},ht.createElement(xp,pt({onBlur:U,styles:dD,iconProps:pD},m,{onClick:G}))))});fD.displayName=uD;var gD={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"},vD=ir(fD,function(e){var t,o,n,r,i,a=e.theme,s=e.underlined,l=e.disabled,c=e.hasFocus,u=e.className,d=e.hasInput,p=e.disableAnimation,h=e.showIcon,m=a.palette,f=a.fonts,g=a.semanticColors,v=a.effects,b=Ro(gD,a),y={color:g.inputPlaceholderText,opacity:1},C=m.neutralSecondary,_=m.neutralPrimary,S=m.neutralLighter,x=m.neutralLighter,k=m.neutralLighter;return{root:[b.root,f.medium,dn,{color:g.inputText,backgroundColor:g.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:v.roundedCorner2,border:"1px solid ".concat(g.inputBorder),height:32,selectors:(t={},t[Mo]={borderColor:"WindowText"},t[":hover"]={borderColor:g.inputBorderHovered,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)},t[":hover .".concat(b.iconContainer)]={color:g.inputIconHovered},t)},!c&&d&&{selectors:(n={},n[":hover .".concat(b.iconContainer)]={width:4},n[":hover .".concat(b.icon)]={opacity:0,pointerEvents:"none"},n)},c&&["is-active",{position:"relative"},an(g.inputFocusBorderAlt,s?0:v.roundedCorner2,s?"borderBottom":"border")],h&&[{selectors:(r={},r[":hover .".concat(b.iconContainer)]={width:32},r[":hover .".concat(b.icon)]={opacity:1},r)}],l&&["is-disabled",{borderColor:S,backgroundColor:k,pointerEvents:"none",cursor:"default",selectors:(i={},i[Mo]={borderColor:"GrayText"},i)}],s&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],s&&l&&{backgroundColor:"transparent"},d&&"can-clear",u],iconContainer:[b.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:g.inputIcon,cursor:"text"},c&&{width:4},l&&{color:g.inputIconDisabled},!p&&{transition:"width ".concat(We.durationValue1)},h&&c&&{width:32}],icon:[b.icon,{opacity:1},c&&{opacity:0,pointerEvents:"none"},!p&&{transition:"opacity ".concat(We.durationValue1," 0s")},h&&c&&{opacity:1}],clearButton:[b.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:x},"&:hover .ms-Button-icon":{color:_},".ms-Button":{borderRadius:cr(a)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:C}}}],field:[b.field,dn,vn(y),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:g.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},l&&{color:g.disabledText}]}},void 0,{scope:"SearchBox"}),bD=function(o){function e(e){var a=o.call(this,e)||this;a.addItems=function(e){var t=a.props.onItemSelected?a.props.onItemSelected(e):e,o=t,n=t;if(n&&n.then)n.then(function(e){var t=a.state.items.concat(e);a.updateItems(t)});else{var r=a.state.items.concat(o);a.updateItems(r)}},a.removeItemAt=function(e){var t=a.state.items;if(a._canRemoveItem(t[e])&&e>-1){a.props.onItemsDeleted&&a.props.onItemsDeleted([t[e]]);var o=t.slice(0,e).concat(t.slice(e+1));a.updateItems(o)}},a.removeItem=function(e){var t=a.state.items.indexOf(e);a.removeItemAt(t)},a.replaceItem=function(e,t){var o=a.state.items,n=o.indexOf(e);if(n>-1){var r=o.slice(0,n).concat(t).concat(o.slice(n+1));a.updateItems(r)}},a.removeItems=function(e){var t=a.state.items,o=e.filter(function(e){return a._canRemoveItem(e)}),n=t.filter(function(e){return-1===o.indexOf(e)}),r=o[0],i=t.indexOf(r);a.props.onItemsDeleted&&a.props.onItemsDeleted(o),a.updateItems(n,i)},a.onCopy=function(e){if(a.props.onCopyItems&&a.selection.getSelectedCount()>0){var t=a.selection.getSelection();a.copyItems(t)}},a.renderItems=function(){var o=a.props.removeButtonAriaLabel,n=a.props.onRenderItem;return a.state.items.map(function(e,t){return n({item:e,index:t,key:e.key?e.key:t,selected:a.selection.isIndexSelected(t),onRemoveItem:function(){return a.removeItem(e)},onItemChange:a.onItemChange,removeButtonAriaLabel:o,onCopyItem:function(e){return a.copyItems([e])}})})},a.onSelectionChanged=function(){a.forceUpdate()},a.onItemChange=function(e,t){var o=a.state.items;if(t>=0){var n=o;n[t]=e,a.updateItems(n)}},ua(a);var t=e.selectedItems||e.defaultSelectedItems||[];return a.state={items:t},a._defaultSelection=new Fy({onSelectionChanged:a.onSelectionChanged}),a}return m(e,o),e.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(e.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),e.prototype.removeSelectedItems=function(){this.state.items.length&&this.selection.getSelectedCount()>0&&this.removeItems(this.selection.getSelection())},e.prototype.updateItems=function(e,t){var o=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},function(){o._onSelectedItemsUpdated(e,t)})},e.prototype.hasSelectedItems=function(){return this.selection.getSelectedCount()>0},e.prototype.componentDidUpdate=function(e,t){this.state.items&&this.state.items!==t.items&&this.selection.setItems(this.state.items)},e.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},e.prototype.highlightedItems=function(){return this.selection.getSelection()},e.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},Object.defineProperty(e.prototype,"selection",{get:function(){var e;return null!==(e=this.props.selection)&&void 0!==e?e:this._defaultSelection},enumerable:!1,configurable:!0}),e.prototype.render=function(){return this.renderItems()},e.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},e.prototype.copyItems=function(e){if(this.props.onCopyItems){var t=this.props.onCopyItems(e),o=Hc(this.context),n=o.createElement("input");o.body.appendChild(n);try{if(n.value=t,n.select(),!o.execCommand("copy"))throw new Error}catch(e){}finally{o.body.removeChild(n)}}},e.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},e.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},e.contextType=ga,e}(ht.Component);Kt([{rawString:".personaContainer_6625fd9a{border-radius:15px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:"},{theme:"themeLighterAlt",defaultValue:"#eff6fc"},{rawString:';margin:4px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;position:relative}.personaContainer_6625fd9a::-moz-focus-inner{border:0}.personaContainer_6625fd9a{outline:transparent}.personaContainer_6625fd9a{position:relative}.ms-Fabric--isFocusVisible .personaContainer_6625fd9a:focus:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;border:1px solid '},{theme:"focusBorder",defaultValue:"#605e5c"},{rawString:";border-radius:0}.personaContainer_6625fd9a .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}.personaContainer_6625fd9a .ms-Persona-primaryText.hover_6625fd9a{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a .actionButton_6625fd9a:hover{background:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}.personaContainer_6625fd9a:hover{background:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon:hover{background:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{border-color:Highlight;background:Highlight;-ms-high-contrast-adjust:none}}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-primaryText{color:"},{theme:"red",defaultValue:"#e81123"},{rawString:"}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-initials{font-size:20px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a{border:1px solid WindowText}}.personaContainer_6625fd9a .itemContent_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%}.personaContainer_6625fd9a .removeButton_6625fd9a{border-radius:15px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33px;height:33px;-ms-flex-preferred-size:32px;flex-basis:32px}.personaContainer_6625fd9a .expandButton_6625fd9a{border-radius:15px 0 0 15px;height:33px;width:44px;padding-right:16px;position:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-17px}.personaContainer_6625fd9a .personaWrapper_6625fd9a{position:relative;display:inherit}.personaContainer_6625fd9a .personaWrapper_6625fd9a .ms-Persona-details{padding:0 8px}.personaContainer_6625fd9a .personaDetails_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_6625fd9a{display:inline-block;vertical-align:top}"}]);var yD="personaContainer_6625fd9a",CD="hover_6625fd9a",_D="actionButton_6625fd9a",SD="personaContainerIsSelected_6625fd9a",xD="validationError_6625fd9a",kD="itemContent_6625fd9a",wD="removeButton_6625fd9a",ID="expandButton_6625fd9a",DD="personaWrapper_6625fd9a",ED="personaDetails_6625fd9a",TD="itemContainer_6625fd9a",PD=l,RD=function(o){function e(e){var t=o.call(this,e)||this;return t.persona=ht.createRef(),ua(t),t.state={contextualMenuVisible:!1},t}return m(e,o),e.prototype.render=function(){var e,t,o=this.props,n=o.item,r=o.onExpandItem,i=o.onRemoveItem,a=o.removeButtonAriaLabel,s=o.index,l=o.selected,c=bs();return ht.createElement("div",{ref:this.persona,className:hi("ms-PickerPersona-container",PD.personaContainer,(e={},e["is-selected "+PD.personaContainerIsSelected]=l,e),(t={},t["is-invalid "+PD.validationError]=!n.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":s,role:"listitem","aria-labelledby":"selectedItemPersona-"+c},ht.createElement("div",{hidden:!n.canExpand||void 0===r},ht.createElement(xp,{onClick:this._onClickIconButton(r),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:hi("ms-PickerItem-removeButton",PD.expandButton,PD.actionButton),ariaLabel:a})),ht.createElement("div",{className:hi(PD.personaWrapper)},ht.createElement("div",{className:hi("ms-PickerItem-content",PD.itemContent),id:"selectedItemPersona-"+c},ht.createElement(GS,pt({},n,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:mi.size32}))),ht.createElement(xp,{onClick:this._onClickIconButton(i),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:hi("ms-PickerItem-removeButton",PD.removeButton,PD.actionButton),ariaLabel:a})))},e.prototype._onClickIconButton=function(t){return function(e){e.stopPropagation(),e.preventDefault(),t&&t()}},e}(ht.Component),MD=function(o){function e(e){var t=o.call(this,e)||this;return t.itemElement=ht.createRef(),t._onClick=function(e){e.preventDefault(),t.props.beginEditing&&!t.props.item.isValid?t.props.beginEditing(t.props.item):t.setState({contextualMenuVisible:!0})},t._onCloseContextualMenu=function(e){t.setState({contextualMenuVisible:!1})},ua(t),t.state={contextualMenuVisible:!1},t}return m(e,o),e.prototype.render=function(){return ht.createElement("div",{ref:this.itemElement,onContextMenu:this._onClick},this.props.renderedItem,this.state.contextualMenuVisible?ht.createElement(ip,{items:this.props.menuItems,shouldFocusOnMount:!0,target:this.itemElement.current,onDismiss:this._onCloseContextualMenu,directionalHint:Rl.bottomLeftEdge}):null)},e}(ht.Component),ND={root:"ms-EditingItem",input:"ms-EditingItem-input"},BD=function(e){var t=io();if(!t)throw new Error("theme is undefined or null in Editing item getStyles function.");var o=t.semanticColors,n=Ro(ND,t);return{root:[n.root,{margin:"4px"}],input:[n.input,{border:"0px",outline:"none",width:"100%",backgroundColor:o.inputBackground,color:o.inputText,selectors:{"::-ms-clear":{display:"none"}}}]}},AD=function(t){function e(e){var o=t.call(this,e)||this;return o._editingFloatingPicker=ht.createRef(),o._renderEditingSuggestions=function(){var e=o.props.onRenderFloatingPicker,t=o.props.floatingPickerProps;return e&&t?ht.createElement(e,pt({componentRef:o._editingFloatingPicker,onChange:o._onSuggestionSelected,inputElement:o._editingInput,selectedItems:[]},t)):ht.createElement(ht.Fragment,null)},o._resolveInputRef=function(e){o._editingInput=e,o.forceUpdate(function(){o._editingInput.focus()})},o._onInputClick=function(){o._editingFloatingPicker.current&&o._editingFloatingPicker.current.showPicker(!0)},o._onInputBlur=function(e){if(o._editingFloatingPicker.current&&null!==e.relatedTarget){var t=e.relatedTarget;-1===t.className.indexOf("ms-Suggestions-itemButton")&&-1===t.className.indexOf("ms-Suggestions-sectionButton")&&o._editingFloatingPicker.current.forceResolveSuggestion()}},o._onInputChange=function(e){var t=e.target.value;""===t?o.props.onRemoveItem&&o.props.onRemoveItem():o._editingFloatingPicker.current&&o._editingFloatingPicker.current.onQueryStringChanged(t)},o._onSuggestionSelected=function(e){o.props.onEditingComplete(o.props.item,e)},ua(o),o.state={contextualMenuVisible:!1},o}return m(e,t),e.prototype.componentDidMount=function(){var e=(0,this.props.getEditingItemText)(this.props.item);this._editingFloatingPicker.current&&this._editingFloatingPicker.current.onQueryStringChanged(e),this._editingInput.value=e,this._editingInput.focus()},e.prototype.render=function(){var e=bs(),t=qr(this.props,Mr),o=vr()(BD);return ht.createElement("div",{"aria-labelledby":"editingItemPersona-"+e,className:o.root},ht.createElement("input",pt({autoCapitalize:"off",autoComplete:"off"},t,{ref:this._resolveInputRef,onChange:this._onInputChange,onKeyDown:this._onInputKeyDown,onBlur:this._onInputBlur,onClick:this._onInputClick,"data-lpignore":!0,className:o.input,id:e})),this._renderEditingSuggestions())},e.prototype._onInputKeyDown=function(e){e.which!==sr.backspace&&e.which!==sr.del||e.stopPropagation()},e}(ht.Component),FD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(bD),LD=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.renderItems=function(){return o.state.items.map(function(e,t){return o._renderItem(e,t)})},o._beginEditing=function(e){e.isEditing=!0,o.forceUpdate()},o._completeEditing=function(e,t){e.isEditing=!1,o.replaceItem(e,t)},o}return m(t,e),t.prototype._renderItem=function(e,t){var o=this,n=this.props.removeButtonAriaLabel,r=this.props.onExpandGroup,i={item:e,index:t,key:e.key?e.key:t,selected:this.selection.isIndexSelected(t),onRemoveItem:function(){return o.removeItem(e)},onItemChange:this.onItemChange,removeButtonAriaLabel:n,onCopyItem:function(e){return o.copyItems([e])},onExpandItem:r?function(){return r(e)}:void 0,menuItems:this._createMenuItems(e)},a=i.menuItems.length>0;if(e.isEditing&&a)return ht.createElement(AD,pt({},i,{onRenderFloatingPicker:this.props.onRenderFloatingPicker,floatingPickerProps:this.props.floatingPickerProps,onEditingComplete:this._completeEditing,getEditingItemText:this.props.getEditingItemText}));var s=(0,this.props.onRenderItem)(i);return a?ht.createElement(MD,{key:i.key,renderedItem:s,beginEditing:this._beginEditing,menuItems:this._createMenuItems(i.item),item:i.item}):s},t.prototype._createMenuItems=function(e){var o=this,t=[];return this.props.editMenuItemText&&this.props.getEditingItemText&&t.push({key:"Edit",text:this.props.editMenuItemText,onClick:function(e,t){o._beginEditing(t.data)},data:e}),this.props.removeMenuItemText&&t.push({key:"Remove",text:this.props.removeMenuItemText,onClick:function(e,t){o.removeItem(t.data)},data:e}),this.props.copyMenuItemText&&t.push({key:"Copy",text:this.props.copyMenuItemText,onClick:function(e,t){o.props.onCopyItems&&o.copyItems([t.data])},data:e}),t},t.defaultProps={onRenderItem:function(e){return ht.createElement(RD,pt({},e))}},t}(FD),OD=vr(),HD=ht.forwardRef(function(e,t){var o=e.styles,n=e.theme,r=e.className,i=e.vertical,a=e.alignContent,s=e.children,l=OD(o,{theme:n,className:r,alignContent:a,vertical:i});return ht.createElement("div",{className:l.root,ref:t},ht.createElement("div",{className:l.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},s))}),zD=ir(HD,function(e){var t,o,n=e.theme,r=e.alignContent,i=e.vertical,a=e.className,s="start"===r,l="center"===r,c="end"===r;return{root:[n.fonts.medium,{position:"relative"},r&&{textAlign:r},!r&&{textAlign:"center"},i&&(l||!r)&&{verticalAlign:"middle"},i&&s&&{verticalAlign:"top"},i&&c&&{verticalAlign:"bottom"},i&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(t={backgroundColor:n.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},t[Mo]={backgroundColor:"WindowText"},t)}},!i&&{padding:"4px 0",selectors:{":before":(o={backgroundColor:n.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},o[Mo]={backgroundColor:"WindowText"},o)}},a],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:n.semanticColors.bodyText,background:n.semanticColors.bodyBackground},i&&{padding:"12px 0"}]}},void 0,{scope:"Separator"});zD.displayName="Separator";var WD,VD,KD={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},GD="100%",UD=Do(function(){return ee({"0%":{transform:"translateX(-".concat(GD,")")},"100%":{transform:"translateX(".concat(GD,")")}})}),jD=Do(function(){return ee({"100%":{transform:"translateX(-".concat(GD,")")},"0%":{transform:"translateX(".concat(GD,")")}})});!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(WD||(WD={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(VD||(VD={}));var qD=vr(),YD=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"100%":n,i=e.borderStyle,a=e.theme,s=qD(o,{theme:a,height:t,borderStyle:i});return ht.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root},ht.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},ht.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),ht.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},ht.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),ht.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},ht.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),ht.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},ht.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},ZD={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"},XD=ir(YD,function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=Ro(ZD,r),s=n||{},l={position:"absolute",fill:i.bodyBackground};return{root:[a.root,r.fonts.medium,{height:"".concat(o,"px"),boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[Mo]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},t)},s],topLeftCorner:[a.topLeftCorner,{top:"0",left:"0"},l],topRightCorner:[a.topRightCorner,{top:"0",right:"0"},l],bottomRightCorner:[a.bottomRightCorner,{bottom:"0",right:"0"},l],bottomLeftCorner:[a.bottomLeftCorner,{bottom:"0",left:"0"},l]}},void 0,{scope:"ShimmerLine"}),QD=vr(),JD=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"10px":n,i=e.borderStyle,a=e.theme,s=QD(o,{theme:a,height:t,borderStyle:i});return ht.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root})},$D={root:"ms-ShimmerGap-root"},eE=ir(JD,function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=n||{};return{root:[Ro($D,r).root,r.fonts.medium,{backgroundColor:i.bodyBackground,height:"".concat(o,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[Mo]={backgroundColor:"Window",borderColor:"Window"},t)},a]}},void 0,{scope:"ShimmerGap"}),tE={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"},oE=vr(),nE=function(e){var t=e.height,o=e.styles,n=e.borderStyle,r=e.theme,i=oE(o,{theme:r,height:t,borderStyle:n});return ht.createElement("div",{className:i.root},ht.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},ht.createElement("path",{d:"M0,0 L10,0 L10,10 L0,10 L0,0 Z M0,5 C0,7.76142375 2.23857625,10 5,10 C7.76142375,10 10,7.76142375 10,5 C10,2.23857625 7.76142375,2.22044605e-16 5,0 C2.23857625,-2.22044605e-16 0,2.23857625 0,5 L0,5 Z"})))},rE=ir(nE,function(e){var t,o,n=e.height,r=e.borderStyle,i=e.theme,a=i.semanticColors,s=Ro(tE,i),l=r||{};return{root:[s.root,i.fonts.medium,{width:"".concat(n,"px"),height:"".concat(n,"px"),minWidth:"".concat(n,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[Mo]={borderColor:"Window"},t)},l],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(o={},o[Mo]={fill:"Window"},o)}]}},void 0,{scope:"ShimmerCircle"}),iE=vr(),aE=function(e){var t=e.styles,o=e.width,n=void 0===o?"auto":o,r=e.shimmerElements,i=e.rowHeight,a=void 0===i?function(e){return e.map(function(e){switch(e.type){case WD.circle:e.height||(e.height=VD.circle);break;case WD.line:e.height||(e.height=VD.line);break;case WD.gap:e.height||(e.height=VD.gap)}return e}).reduce(function(e,t){return t.height&&t.height>e?t.height:e},0)}(r||[]):i,s=e.flexWrap,l=void 0!==s&&s,c=e.theme,u=e.backgroundColor,d=iE(t,{theme:c,flexWrap:l});return ht.createElement("div",{style:{width:n},className:d.root},function(e,s,l){var t=e?e.map(function(e,t){var o=e.type,n=Fe(e,["type"]),r=n.verticalAlign,i=n.height,a=sE(r,o,i,s,l);switch(e.type){case WD.circle:return ht.createElement(rE,pt({key:t},n,{styles:a}));case WD.gap:return ht.createElement(eE,pt({key:t},n,{styles:a}));case WD.line:return ht.createElement(XD,pt({key:t},n,{styles:a}))}}):ht.createElement(XD,{height:VD.line});return t}(r,u,a))},sE=Do(function(e,t,o,n,r){var i,a=r&&o?r-o:0;if(e&&"center"!==e?e&&"top"===e?i={borderBottomWidth:"".concat(a,"px"),borderTopWidth:"0px"}:e&&"bottom"===e&&(i={borderBottomWidth:"0px",borderTopWidth:"".concat(a,"px")}):i={borderBottomWidth:"".concat(a?Math.floor(a/2):0,"px"),borderTopWidth:"".concat(a?Math.ceil(a/2):0,"px")},n)switch(t){case WD.circle:return{root:pt(pt({},i),{borderColor:n}),svg:{fill:n}};case WD.gap:return{root:pt(pt({},i),{borderColor:n,backgroundColor:n})};case WD.line:return{root:pt(pt({},i),{borderColor:n}),topLeftCorner:{fill:n},topRightCorner:{fill:n},bottomLeftCorner:{fill:n},bottomRightCorner:{fill:n}}}return{root:i}}),lE={root:"ms-ShimmerElementsGroup-root"},cE=ir(aE,function(e){var t=e.flexWrap,o=e.theme;return{root:[Ro(lE,o).root,o.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}},void 0,{scope:"ShimmerElementsGroup"}),uE=vr(),dE=ht.forwardRef(function(e,t){var o=e.styles,n=e.shimmerElements,r=e.children,i=e.width,a=e.className,s=e.customElementsGroup,l=e.theme,c=e.ariaLabel,u=e.shimmerColors,d=e.isDataLoaded,p=void 0!==d&&d,h=e.improveCSSPerformance,m=qr(e,jr),f=uE(o,{theme:l,isDataLoaded:p,className:a,transitionAnimationInterval:200,shimmerColor:u&&u.shimmer,shimmerWaveColor:u&&u.shimmerWave,improveCSSPerformance:h||!s}),g=Zi({lastTimeoutId:0}),v=Zf(),b=v.setTimeout,y=v.clearTimeout,C=ht.useState(p),_=C[0],S=C[1],x={width:i||"100%"};return ht.useEffect(function(){if(p!==_){if(p)return g.lastTimeoutId=b(function(){S(!0)},200),function(){return y(g.lastTimeoutId)};S(!1)}},[p]),ht.createElement("div",pt({},m,{className:f.root,ref:t}),!_&&ht.createElement("div",{style:x,className:f.shimmerWrapper},ht.createElement("div",{className:f.shimmerGradient}),s||ht.createElement(cE,{shimmerElements:n,backgroundColor:u&&u.background})),r&&ht.createElement("div",{className:f.dataWrapper},r),c&&!p&&ht.createElement("div",{role:"status","aria-live":"polite"},ht.createElement(ka,null,ht.createElement("div",{className:f.screenReaderText},c))))});dE.displayName="Shimmer";var pE=ir(dE,function(e){var t,o=e.isDataLoaded,n=e.className,r=e.theme,i=e.transitionAnimationInterval,a=e.shimmerColor,s=e.shimmerWaveColor,l=e.improveCSSPerformance,c=r.semanticColors,u=Ro(KD,r),d=cr(r);return{root:[u.root,r.fonts.medium,{position:"relative",height:"auto"},n],shimmerWrapper:[u.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:a||c.disabledBackground,transition:"opacity ".concat(i,"ms"),selectors:(t={},t[Mo]=pt({background:"WindowText\n linear-gradient(\n to right,\n transparent 0%,\n Window 50%,\n transparent 100%)\n 0 0 / 90% 100%\n no-repeat"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},o&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"},l?{selectors:{"> div:last-child":{transform:"translateZ(0)"}}}:{selectors:{"> *":{transform:"translateZ(0)"}}}],shimmerGradient:[u.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"".concat(a||c.disabledBackground,"\n linear-gradient(\n to right,\n ").concat(a||c.disabledBackground," 0%,\n ").concat(s||c.bodyDivider," 50%,\n ").concat(a||c.disabledBackground," 100%)\n 0 0 / 90% 100%\n no-repeat"),transform:"translateX(-".concat(GD,")"),animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:d?jD():UD()}],dataWrapper:[u.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity ".concat(i,"ms")},o&&{opacity:"1",position:"static"}],screenReaderText:ho}},void 0,{scope:"Shimmer"}),hE=vr(),mE=function(t){function e(e){var r=t.call(this,e)||this;return r._onRenderShimmerPlaceholder=function(e,t){var o=r.props.onRenderCustomPlaceholder,n=o?o(t,e,r._renderDefaultShimmerPlaceholder):r._renderDefaultShimmerPlaceholder(t);return ht.createElement(pE,{customElementsGroup:n})},r._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,o=e.compact,n=e.selectionMode,r=e.checkboxVisibility,i=e.cellStyleProps,a=void 0===i?zb:i,s=Wb.rowHeight,l=Wb.compactRowHeight,c=o?l:s+1,u=[];return n!==ay.none&&r!==Ab.hidden&&u.push(ht.createElement(cE,{key:"checkboxGap",shimmerElements:[{type:WD.gap,width:"40px",height:c}]})),t.forEach(function(e,t){var o=[],n=a.cellLeftPadding+a.cellRightPadding+e.calculatedWidth+(e.isPadded?a.cellExtraRightPadding:0);o.push({type:WD.gap,width:a.cellLeftPadding,height:c}),e.isIconOnly?(o.push({type:WD.line,width:e.calculatedWidth,height:e.calculatedWidth}),o.push({type:WD.gap,width:a.cellRightPadding,height:c})):(o.push({type:WD.line,width:.95*e.calculatedWidth,height:7}),o.push({type:WD.gap,width:a.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?a.cellExtraRightPadding:0),height:c})),u.push(ht.createElement(cE,{key:t,width:"".concat(n,"px"),shimmerElements:o}))}),u.push(ht.createElement(cE,{key:"endGap",width:"100%",shimmerElements:[{type:WD.gap,width:"100%",height:c}]})),ht.createElement("div",{style:{display:"flex"}},u)},r._shimmerItems=e.shimmerLines?new Array(e.shimmerLines):new Array(10),r}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.detailsListStyles,o=e.enableShimmer,n=e.items,r=e.listProps,i=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),a=(e.shimmerLines,e.styles),s=e.theme,l=e.ariaLabelForGrid,c=e.ariaLabelForShimmer,u=Fe(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),d=r&&r.className;this._classNames=hE(a,{theme:s});var p=pt(pt({},r),{className:o&&!i?hi(this._classNames.root,d):d});return ht.createElement(DC,pt({},u,{styles:t,items:o?this._shimmerItems:n,isPlaceholderData:o,ariaLabelForGrid:o&&c||l,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:p}))},e}(ht.Component),fE=function(e){var t=e.theme.palette;return{root:{position:"relative",selectors:{":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundImage:"linear-gradient(to bottom, transparent 30%, ".concat(t.whiteTranslucent40," 65%,").concat(t.white," 100%)")}}}}},gE=ir(mE,fE,void 0,{scope:"ShimmeredDetailsList"}),vE=vr(),bE=function(o){return function(e){var t;return(t={})[o]="".concat(e,"%"),t}},yE=function(e,t,o){return o===t?0:(e-t)/(o-t)*100},CE="SliderBase",_E=ht.forwardRef(function(e,t){var o=function(a,e){var t=a.step,i=void 0===t?1:t,o=a.className,n=a.disabled,r=void 0!==n&&n,s=a.label,l=a.max,c=void 0===l?10:l,u=a.min,d=void 0===u?0:u,p=a.showValue,h=void 0===p||p,m=a.buttonProps,f=void 0===m?{}:m,g=a.vertical,v=void 0!==g&&g,b=a.snapToStep,y=a.valueFormat,C=a.styles,_=a.theme,S=a.originFromZero,x=a["aria-labelledby"],k=a.ariaLabel,w=void 0===k?a["aria-label"]:k,I=a.ranged,D=a.onChange,E=a.onChanged,T=ht.useRef([]),P=Zf(),R=P.setTimeout,M=P.clearTimeout,N=ht.useRef(null),B=Oc(),A=Km(a.value,a.defaultValue,function(e,t){return null==D?void 0:D(t,I?[K.latestLowerValue,t]:void 0,e)}),F=A[0],L=A[1],O=Km(a.lowerValue,a.defaultLowerValue,function(e,t){return null==D?void 0:D(K.latestValue,[t,K.latestValue],e)}),H=O[0],z=O[1],W=Math.max(d,Math.min(c,F||0)),V=Math.max(d,Math.min(W,H||0)),K=Zi({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:W,latestLowerValue:V});K.latestValue=W,K.latestLowerValue=V;var G=Sd("Slider",a.id||(null==f?void 0:f.id)),U=vE(C,{className:o,disabled:r,vertical:v,showTransitions:!b&&!K.isBetweenSteps,showValue:h,ranged:I,theme:_}),j=(c-d)/i,q=function(){M(K.onKeyDownTimer),K.onKeyDownTimer=-1},Y=function(e){q(),E&&(K.onKeyDownTimer=R(function(){E(e,K.latestValue,I?[K.latestLowerValue,K.latestValue]:void 0)},1e3))},Z=function(e){var t=a.ariaValueText;if(void 0!==e)return t?t(e):e.toString()},X=function(e,t,o){t=Math.min(c,Math.max(d,t)),o=void 0!==o?Math.min(c,Math.max(d,o)):void 0;var n=0;if(isFinite(i))for(;Math.round(i*Math.pow(10,n))/Math.pow(10,n)!==i;)n++;var r=parseFloat(t.toFixed(n));K.isBetweenSteps=void 0!==o&&o!==r,I?K.isAdjustingLowerValue&&(S?r<=0:r<=K.latestValue)?z(r,e):!K.isAdjustingLowerValue&&(S?r>=0:r>=K.latestLowerValue)&&L(r,e):L(r,e)},Q=function(e,t){var o=0;switch(e.type){case"mousedown":case"mousemove":o=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":o=t?e.touches[0].clientY:e.touches[0].clientX}return o},J=function(e){var t,o=N.current.getBoundingClientRect(),n=(a.vertical?o.height:o.width)/j;if(a.vertical){var r=Q(e,a.vertical);t=(o.bottom-r)/n}else{var i=Q(e,a.vertical);t=(cr(a.theme)?o.right-i:i-o.left)/n}return t},$=function(e,t){var o=J(e),n=d+i*o,r=d+i*Math.round(o);X(e,r,n),t||(e.preventDefault(),e.stopPropagation())},ee=function(e){if(I){var t=J(e),o=d+i*t;K.isAdjustingLowerValue=o<=K.latestLowerValue||o-K.latestLowerValue<=K.latestValue-o}"mousedown"===e.type?T.current.push(Gl(B,"mousemove",$,!0),Gl(B,"mouseup",te,!0)):"touchstart"===e.type&&T.current.push(Gl(B,"touchmove",$,!0),Gl(B,"touchend",te,!0)),$(e,!0)},te=function(e){K.isBetweenSteps=void 0,null==E||E(e,K.latestValue,I?[K.latestLowerValue,K.latestValue]:void 0),oe()},oe=ht.useCallback(function(){T.current.forEach(function(e){return e()}),T.current=[]},[]);ht.useEffect(function(){return oe},[oe]);var ne=ht.useRef(null),re=ht.useRef(null),ie=ht.useRef(null);!function(e,t,o,n){ht.useImperativeHandle(e.componentRef,function(){return{get value(){return o},get range(){return n},focus:function(){var e;null===(e=t.current)||void 0===e||e.focus()}}},[n,t,o])}(a,ie,W,I?[V,W]:void 0);var ae=bE(v?"bottom":cr(a.theme)?"right":"left"),se=bE(v?"height":"width"),le=S?0:d,ce=yE(W,d,c),ue=yE(V,d,c),de=yE(le,d,c),pe=I?ce-ue:Math.abs(de-ce),he=Math.min(100-ce,100-de),me=I?ue:Math.min(ce,de),fe={className:U.root,ref:e},ge={className:U.titleLabel,children:s,disabled:r,htmlFor:w?void 0:G},ve=h?{className:U.valueLabel,children:y?y(W):W,disabled:r,htmlFor:r?G:void 0}:void 0,be=I&&h?{className:U.valueLabel,children:y?y(V):V,disabled:r}:void 0,ye=S?{className:U.zeroTick,style:ae(de)}:void 0,Ce={className:hi(U.lineContainer,U.activeSection),style:se(pe)},_e={className:hi(U.lineContainer,U.inactiveSection),style:se(he)},Se={className:hi(U.lineContainer,U.inactiveSection),style:se(me)},xe=pt({"aria-disabled":r,role:"slider",tabIndex:r?void 0:0},{"data-is-focusable":!r}),ke=pt(pt(pt({id:G,className:hi(U.slideBox,f.className),ref:ie},!r&&{onMouseDown:ee,onTouchStart:ee,onKeyDown:function(e){var t=K.isAdjustingLowerValue?K.latestLowerValue:K.latestValue,o=0;switch(e.which){case dr(sr.left,a.theme):case sr.down:o=-i,q(),Y(e);break;case dr(sr.right,a.theme):case sr.up:o=i,q(),Y(e);break;case sr.home:t=d,q(),Y(e);break;case sr.end:t=c,q(),Y(e);break;default:return}X(e,t+o),e.preventDefault(),e.stopPropagation()}}),f&&qr(f,jr,["id","className"])),!I&&pt(pt({},xe),{"aria-valuemin":d,"aria-valuemax":c,"aria-valuenow":W,"aria-valuetext":Z(W),"aria-label":w||s,"aria-labelledby":x})),we=r?{}:{onFocus:function(e){K.isAdjustingLowerValue=e.target===ne.current}},Ie=pt({ref:re,className:U.thumb,style:ae(ce)},I&&pt(pt(pt({},xe),we),{id:"max-".concat(G),"aria-valuemin":V,"aria-valuemax":c,"aria-valuenow":W,"aria-valuetext":Z(W),"aria-label":"max ".concat(w||s)})),De=I?pt(pt(pt({ref:ne,className:U.thumb,style:ae(ue)},xe),we),{id:"min-".concat(G),"aria-valuemin":d,"aria-valuemax":W,"aria-valuenow":V,"aria-valuetext":Z(V),"aria-label":"min ".concat(w||s)}):void 0;return{root:fe,label:ge,sliderBox:ke,container:{className:U.container},valueLabel:ve,lowerValueLabel:be,thumb:Ie,lowerValueThumb:De,zeroTick:ye,activeTrack:Ce,topInactiveTrack:_e,bottomInactiveTrack:Se,sliderLine:{ref:N,className:U.line}}}(e,t);return Qi({name:CE,props:e,mutuallyExclusive:{value:"defaultValue"}}),ht.createElement("div",pt({},o.root),o&&ht.createElement(vf,pt({},o.label)),ht.createElement("div",pt({},o.container),e.ranged&&(e.vertical?o.valueLabel&&ht.createElement(vf,pt({},o.valueLabel)):o.lowerValueLabel&&ht.createElement(vf,pt({},o.lowerValueLabel))),ht.createElement("div",pt({},o.sliderBox),ht.createElement("div",pt({},o.sliderLine),e.ranged&&ht.createElement("span",pt({},o.lowerValueThumb)),ht.createElement("span",pt({},o.thumb)),o.zeroTick&&ht.createElement("span",pt({},o.zeroTick)),ht.createElement("span",pt({},o.bottomInactiveTrack)),ht.createElement("span",pt({},o.activeTrack)),ht.createElement("span",pt({},o.topInactiveTrack)))),e.ranged&&e.vertical?o.lowerValueLabel&&ht.createElement(vf,pt({},o.lowerValueLabel)):o.valueLabel&&ht.createElement(vf,pt({},o.valueLabel))),ht.createElement(sl,null))});_E.displayName=CE;var SE,xE={root:"ms-Slider",enabled:"ms-Slider-enabled",disabled:"ms-Slider-disabled",row:"ms-Slider-row",column:"ms-Slider-column",container:"ms-Slider-container",slideBox:"ms-Slider-slideBox",line:"ms-Slider-line",thumb:"ms-Slider-thumb",activeSection:"ms-Slider-active",inactiveSection:"ms-Slider-inactive",valueLabel:"ms-Slider-value",showValue:"ms-Slider-showValue",showTransitions:"ms-Slider-showTransitions",zeroTick:"ms-Slider-zeroTick"},kE=ir(_E,function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h,m=e.className,f=e.titleLabelClassName,g=e.theme,v=e.vertical,b=e.disabled,y=e.showTransitions,C=e.showValue,_=e.ranged,S=g.semanticColors,x=g.palette,k=Ro(xE,g),w=S.inputBackgroundCheckedHovered,I=S.inputBackgroundChecked,D=x.neutralSecondaryAlt,E=x.neutralPrimary,T=x.neutralSecondaryAlt,P=S.disabledText,R=S.disabledBackground,M=S.inputBackground,N=S.smallInputBorder,B=S.disabledBorder,A=!b&&{backgroundColor:w,selectors:(t={},t[Mo]={backgroundColor:"Highlight"},t)},F=!b&&{backgroundColor:D,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)},L=!b&&{backgroundColor:I,selectors:(n={},n[Mo]={backgroundColor:"Highlight"},n)},O=!b&&{border:"2px solid ".concat(w),selectors:(r={},r[Mo]={borderColor:"Highlight"},r)},H=!e.disabled&&{backgroundColor:S.inputPlaceholderBackgroundChecked,selectors:(i={},i[Mo]={backgroundColor:"Highlight"},i)};return{root:z(z(z(z(z([k.root,g.fonts.medium,{userSelect:"none"},v&&{marginRight:8}],[b?void 0:k.enabled],!1),[b?k.disabled:void 0],!1),[v?void 0:k.row],!1),[v?k.column:void 0],!1),[m],!1),titleLabel:[{padding:0},f],container:[k.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},v&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:z(z([k.slideBox,!_&&on(g),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:(a={},a[":active .".concat(k.activeSection)]=A,a[":hover .".concat(k.activeSection)]=L,a[":active .".concat(k.inactiveSection)]=F,a[":hover .".concat(k.inactiveSection)]=F,a[":active .".concat(k.thumb)]=O,a[":hover .".concat(k.thumb)]=O,a[":active .".concat(k.zeroTick)]=H,a[":hover .".concat(k.zeroTick)]=H,a[Mo]={forcedColorAdjust:"none"},a)},v?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[C?k.showValue:void 0],!1),[y?k.showTransitions:void 0],!1),thumb:[k.thumb,_&&on(g,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:N,borderRadius:10,boxSizing:"border-box",background:M,display:"block",width:16,height:16,position:"absolute"},v?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:cr(g)?"translateX(50%)":"translateX(-50%)"},y&&{transition:"left ".concat(We.durationValue3," ").concat(We.easeFunction1)},b&&{borderColor:B,selectors:(s={},s[Mo]={borderColor:"GrayText"},s)}],line:[k.line,{display:"flex",position:"relative"},v?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},v?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[k.activeSection,{background:E,selectors:(l={},l[Mo]={backgroundColor:"WindowText"},l)},y&&{transition:"width ".concat(We.durationValue3," ").concat(We.easeFunction1)},b&&{background:P,selectors:(c={},c[Mo]={backgroundColor:"GrayText",borderColor:"GrayText"},c)}],inactiveSection:[k.inactiveSection,{background:T,selectors:(u={},u[Mo]={border:"1px solid WindowText"},u)},y&&{transition:"width ".concat(We.durationValue3," ").concat(We.easeFunction1)},b&&{background:R,selectors:(d={},d[Mo]={borderColor:"GrayText"},d)}],zeroTick:[k.zeroTick,{position:"absolute",background:S.disabledBorder,selectors:(p={},p[Mo]={backgroundColor:"WindowText"},p)},e.disabled&&{background:S.disabledBackground,selectors:(h={},h[Mo]={backgroundColor:"GrayText"},h)},e.vertical?{width:"16px",height:"1px",transform:cr(g)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[k.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},v?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}},void 0,{scope:"Slider"});!function(e){e[e.down=-1]="down",e[e.notSpinning=0]="notSpinning",e[e.up=1]="up"}(SE||(SE={}));var wE=Do(function(e){var t,o=e.semanticColors,n=o.disabledText,r=o.disabledBackground;return{backgroundColor:r,pointerEvents:"none",cursor:"default",color:n,selectors:(t={":after":{borderColor:r}},t[Mo]={color:"GrayText"},t)}}),IE=Do(function(e,t,o){var n,r,i,a=e.palette,s=e.semanticColors,l=e.effects,c=a.neutralSecondary,u=s.buttonText,d=s.buttonText,p=s.buttonBackgroundHovered,h=s.buttonBackgroundPressed;return Bn({root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:c,selectors:{"&.ms-DownButton":{borderRadius:"0 0 ".concat(l.roundedCorner2," 0")},"&.ms-UpButton":{borderRadius:"0 ".concat(l.roundedCorner2," 0 0")}}},rootHovered:{backgroundColor:p,color:u},rootChecked:{backgroundColor:h,color:d,selectors:(n={},n[Mo]={backgroundColor:"Highlight",color:"HighlightText"},n)},rootPressed:{backgroundColor:h,color:d,selectors:(r={},r[Mo]={backgroundColor:"Highlight",color:"HighlightText"},r)},rootDisabled:{opacity:.5,selectors:(i={},i[Mo]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}},{},o)}),DE=vr(),EE="SpinButton",TE={disabled:!1,label:"",step:1,labelPosition:Fl.start,incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},PE=function(){},RE=function(e,t){var o=t.min,n=t.max;return"number"==typeof n&&(e=Math.min(e,n)),"number"==typeof o&&(e=Math.max(e,o)),e},ME=ht.forwardRef(function(e,t){var o=Cr(TE,e),n=o.disabled,r=o.label,i=o.min,a=o.max,s=o.step,l=o.defaultValue,c=o.value,u=o.precision,d=o.labelPosition,p=o.iconProps,h=o.incrementButtonIcon,m=o.incrementButtonAriaLabel,f=o.decrementButtonIcon,g=o.decrementButtonAriaLabel,v=o.ariaLabel,b=o.ariaDescribedBy,y=o.upArrowButtonStyles,C=o.downArrowButtonStyles,_=o.theme,S=o.ariaPositionInSet,x=o.ariaSetSize,k=o.ariaValueNow,w=o.ariaValueText,I=o.className,D=o.inputProps,E=o.onDecrement,T=o.onIncrement,P=o.iconButtonProps,R=o.onValidate,M=o.onChange,N=o.styles,B=ht.useRef(null),A=Sd("input"),F=Sd("Label"),L=ht.useState(!1),O=L[0],H=L[1],z=ht.useState(SE.notSpinning),W=z[0],V=z[1],K=Rc(),G=ht.useMemo(function(){return null!=u?u:Math.max(ew(s),0)},[u,s]),U=Km(c,null!=l?l:String(i||0),M),j=U[0],q=U[1],Y=ht.useState(),Z=Y[0],X=Y[1],Q=ht.useRef({stepTimeoutHandle:-1,latestValue:void 0,latestIntermediateValue:void 0}).current;Q.latestValue=j,Q.latestIntermediateValue=Z;var J=Yi(c);ht.useEffect(function(){c!==J&&void 0!==Z&&X(void 0)},[c,J,Z]);var $=DE(N,{theme:_,disabled:n,isFocused:O,keyboardSpinDirection:W,labelPosition:d,className:I}),ee=qr(o,jr,["onBlur","onFocus","className","onChange"]),te=ht.useCallback(function(e){var t=Q.latestIntermediateValue;if(void 0!==t&&t!==Q.latestValue){var o=void 0;R?o=R(t,e):t&&t.trim().length&&!isNaN(Number(t))&&(o=String(RE(Number(t),{min:i,max:a}))),void 0!==o&&o!==Q.latestValue&&q(o,e)}X(void 0)},[Q,a,i,R,q]),oe=ht.useCallback(function(){Q.stepTimeoutHandle>=0&&(K.clearTimeout(Q.stepTimeoutHandle),Q.stepTimeoutHandle=-1),(Q.spinningByMouse||W!==SE.notSpinning)&&(Q.spinningByMouse=!1,V(SE.notSpinning))},[Q,W,K]),ne=ht.useCallback(function(e,t){if(t.persist(),void 0!==Q.latestIntermediateValue)return"keydown"!==t.type&&"mousedown"!==t.type||te(t),void K.requestAnimationFrame(function(){ne(e,t)});var o=e(Q.latestValue||"",t);void 0!==o&&o!==Q.latestValue&&q(o,t);var n=Q.spinningByMouse;Q.spinningByMouse="mousedown"===t.type,Q.spinningByMouse&&(Q.stepTimeoutHandle=K.setTimeout(function(){ne(e,t)},n?75:400))},[Q,K,te,q]),re=ht.useCallback(function(e){if(T)return T(e);var t=RE(Number(e)+Number(s),{max:a});return t=tw(t,G),String(t)},[G,a,T,s]),ie=ht.useCallback(function(e){if(E)return E(e);var t=RE(Number(e)-Number(s),{min:i});return t=tw(t,G),String(t)},[G,i,E,s]),ae=ht.useCallback(function(e){(n||e.which===sr.up||e.which===sr.down)&&oe()},[n,oe]),se=ht.useCallback(function(e){ne(re,e)},[re,ne]),le=ht.useCallback(function(e){ne(ie,e)},[ie,ne]);!function(e,t,o){ht.useImperativeHandle(e.componentRef,function(){return{get value(){return o},focus:function(){t.current&&t.current.focus()}}},[t,o])}(o,B,j),NE(o);var ce=!!j&&!isNaN(Number(j)),ue=(p||r)&&ht.createElement("div",{className:$.labelWrapper},p&&ht.createElement(wi,pt({},p,{className:$.icon,"aria-hidden":"true"})),r&&ht.createElement(vf,{id:F,htmlFor:A,className:$.label,disabled:n},r));return ht.createElement("div",{className:$.root,ref:t},d!==Fl.bottom&&ue,ht.createElement("div",pt({},ee,{className:$.spinButtonWrapper,"aria-label":v&&v,"aria-posinset":S,"aria-setsize":x,"data-ktp-target":!0}),ht.createElement("input",pt({value:null!=Z?Z:j,id:A,onChange:PE,onInput:function(e){X(e.target.value)},className:$.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":r&&F,"aria-valuetext":null!=w?w:ce?void 0:j,"aria-valuenow":k,"aria-valuemin":i,"aria-valuemax":a,"aria-describedby":b,onBlur:function(e){var t;te(e),H(!1),null===(t=o.onBlur)||void 0===t||t.call(o,e)},ref:B,onFocus:function(e){var t;B.current&&((Q.spinningByMouse||W!==SE.notSpinning)&&oe(),B.current.select(),H(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e))},onKeyDown:function(e){if(e.which!==sr.up&&e.which!==sr.down&&e.which!==sr.enter||(e.preventDefault(),e.stopPropagation()),n)oe();else{var t=SE.notSpinning;switch(e.which){case sr.up:t=SE.up,ne(re,e);break;case sr.down:t=SE.down,ne(ie,e);break;case sr.enter:te(e);break;case sr.escape:X(void 0)}W!==t&&V(t)}},onKeyUp:ae,disabled:n,"aria-disabled":n,"data-lpignore":!0,"data-ktp-execute-target":!0},D)),ht.createElement("span",{className:$.arrowButtonsContainer},ht.createElement(xp,pt({styles:IE(_,!0,y),className:"ms-UpButton",checked:W===SE.up,disabled:n,iconProps:h,onMouseDown:se,onMouseLeave:oe,onMouseUp:oe,tabIndex:-1,ariaLabel:m,"data-is-focusable":!1},P)),ht.createElement(xp,pt({styles:IE(_,!1,C),className:"ms-DownButton",checked:W===SE.down,disabled:n,iconProps:f,onMouseDown:le,onMouseLeave:oe,onMouseUp:oe,tabIndex:-1,ariaLabel:g,"data-is-focusable":!1},P)))),d===Fl.bottom&&ue)});ME.displayName=EE;var NE=function(e){Qi({name:EE,props:e,mutuallyExclusive:{value:"defaultValue"}})},BE=ir(ME,function(e){var t,o,n,r,i=e.theme,a=e.className,s=e.labelPosition,l=e.disabled,c=e.isFocused,u=i.palette,d=i.semanticColors,p=i.effects,h=i.fonts,m=d.inputBorder,f=d.inputBackground,g=d.inputBorderHovered,v=d.inputFocusBorderAlt,b=d.inputText,y=u.white,C=d.inputBackgroundChecked,_=d.disabledText;return{root:[h.medium,{outline:"none",width:"100%",minWidth:86},a],labelWrapper:[{display:"inline-flex",alignItems:"center"},s===Fl.start&&{height:32,float:"left",marginRight:10},s===Fl.end&&{height:32,float:"right",marginLeft:10},s===Fl.top&&{marginBottom:-1}],icon:[{padding:"0 5px",fontSize:Je.large},l&&{color:_}],label:{pointerEvents:"none",lineHeight:Je.large},spinButtonWrapper:[pt(pt({display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86},an(m,p.roundedCorner2,"border",0)),{":after":(t={borderWidth:"1px"},t[Mo]={borderColor:"GrayText"},t)}),(s===Fl.top||s===Fl.bottom)&&{width:"100%"},!l&&[{":hover:after":(o={borderColor:g},o[Mo]={borderColor:"Highlight"},o)},c&&{":hover:after, :after":(n={borderColor:v,borderWidth:"2px"},n[Mo]={borderColor:"Highlight"},n)}],l&&wE(i)],input:["ms-spinButton-input",{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:h.medium.fontSize,fontFamily:"inherit",color:b,backgroundColor:f,height:"100%",padding:"0 8px 0 9px",outline:0,display:"block",minWidth:61,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:"".concat(p.roundedCorner2," 0 0 ").concat(p.roundedCorner2)},!l&&{selectors:{"::selection":{backgroundColor:C,color:y,selectors:(r={},r[Mo]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},r)}}},l&&wE(i)],arrowButtonsContainer:[{display:"block",height:"100%",cursor:"default"},l&&wE(i)]}},void 0,{scope:"SpinButton"}),AE=pt;function FE(e,t){for(var o=[],n=2;n0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function(e,t,o,n,r,i){return void 0!==e.create?e.create(t,o,n,r):OE(e)(t,o,n,r,i)}(r[n],e,i[n],i.slots&&i.slots[n],i._defaultStyles&&i._defaultStyles[n],i.theme)};e.isSlot=!0,t[n]=e}};for(var n in r)o(n);return t}function zE(u,d){void 0===d&&(d={});var e=d.factoryOptions,t=(void 0===e?{}:e).defaultProp,o=function(e){var t,o,n,r=(t=d.displayName,o=ht.useContext(or),n=d.fields,At.getSettings(n||["theme","styles","tokens"],t,o.customizations)),i=d.state;i&&(e=pt(pt({},e),i(e)));var a=e.theme||r.theme,s=WE(e,a,d.tokens,r.tokens,e.tokens),l=function(t,o,n){for(var e=[],r=3;r2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===o.length)return{rowGap:UE(GE(o[0],t)),columnGap:UE(GE(o[1],t))};var n=UE(GE(e,t));return{rowGap:n,columnGap:n}}(D,t),M=R.rowGap,N=R.columnGap,B="".concat(-.5*N.value).concat(N.unit),A="".concat(-.5*M.value).concat(M.unit),F={textOverflow:"ellipsis"},L="> "+(b?"."+YE.child:"*"),O=((n={})["".concat(L,":not(.").concat(VE.root,")")]={flexShrink:0},n);return w?{root:[I.root,{flexWrap:"wrap",maxWidth:T,maxHeight:E,width:"auto",overflow:"visible",height:"100%"},_&&(r={},r[C?"justifyContent":"alignItems"]=qE[_]||_,r),x&&(i={},i[C?"alignItems":"justifyContent"]=qE[x]||x,i),g,{display:"flex"},C&&{height:k?"100%":"auto"}],inner:[I.inner,(a={display:"flex",flexWrap:"wrap",marginLeft:B,marginRight:B,marginTop:A,marginBottom:A,overflow:"visible",boxSizing:"border-box",padding:jE(P,t),width:0===N.value?"100%":"calc(100% + ".concat(N.value).concat(N.unit,")"),maxWidth:"100vw"},a[L]=pt({margin:"".concat(.5*M.value).concat(M.unit," ").concat(.5*N.value).concat(N.unit)},F),a),v&&O,_&&(s={},s[C?"justifyContent":"alignItems"]=qE[_]||_,s),x&&(l={},l[C?"alignItems":"justifyContent"]=qE[x]||x,l),C&&(c={flexDirection:S?"row-reverse":"row",height:0===M.value?"100%":"calc(100% + ".concat(M.value).concat(M.unit,")")},c[L]={maxWidth:0===N.value?"100%":"calc(100% - ".concat(N.value).concat(N.unit,")")},c),!C&&(u={flexDirection:S?"column-reverse":"column",height:"calc(100% + ".concat(M.value).concat(M.unit,")")},u[L]={maxHeight:0===M.value?"100%":"calc(100% - ".concat(M.value).concat(M.unit,")")},u)]}:{root:[I.root,(d={display:"flex",flexDirection:C?S?"row-reverse":"row":S?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:k?"100%":"auto",maxWidth:T,maxHeight:E,padding:jE(P,t),boxSizing:"border-box"},d[L]=F,d),v&&O,y&&{flexGrow:!0===y?1:y},_&&(p={},p[C?"justifyContent":"alignItems"]=qE[_]||_,p),x&&(h={},h[C?"alignItems":"justifyContent"]=qE[x]||x,h),C&&N.value>0&&(m={},m["".concat(L,S?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(N.value).concat(N.unit)},m),!C&&M.value>0&&(f={},f["".concat(L,S?":not(:last-child)":":not(:first-child)")]={marginTop:"".concat(M.value).concat(M.unit)},f),g]}},statics:{Item:ZE}});!function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(QE||(QE={}));var $E=function(t){function e(e){var i,h=t.call(this,e)||this;return h._root=ht.createRef(),h._stickyContentTop=ht.createRef(),h._stickyContentBottom=ht.createRef(),h._nonStickyContent=ht.createRef(),h._placeHolder=ht.createRef(),h.syncScroll=function(e){var t=h.nonStickyContent;t&&h.props.isScrollSynced&&(t.scrollLeft=e.scrollLeft)},h._getContext=function(){return h.context},h._onScrollEvent=function(e,t){var o,n,r,i,a;if(h.root&&h.nonStickyContent){var s=h._getNonStickyDistanceFromTop(e),l=!1,c=!1,u=null===(n=null!==(o=h._getContext().window)&&void 0!==o?o:window)||void 0===n?void 0:n.document;if(h.canStickyTop){var d=s-h._getStickyDistanceFromTop(),p=e.scrollTop;a=1,l=(r=d)<(i=p)&&!function(e,t,o){var n=o<0?0:o;return Math.abs(e-t)<=n}(r,i,a)}h.canStickyBottom&&e.clientHeight-t.offsetHeight<=s&&(c=s-h._scrollUtils.getScrollTopInRange(e,1)>=h._getStickyDistanceFromTopForFooter(e,t)),(null==u?void 0:u.activeElement)&&h.nonStickyContent.contains(null==u?void 0:u.activeElement)&&(h.state.isStickyTop!==l||h.state.isStickyBottom!==c)?h._activeElement=null==u?void 0:u.activeElement:h._activeElement=void 0,h.setState({isStickyTop:h.canStickyTop&&l,isStickyBottom:c,distanceFromTop:s})}},h._getStickyDistanceFromTop=function(){var e=0;return h.stickyContentTop&&(e=h.stickyContentTop.offsetTop),e},h._getStickyDistanceFromTopForFooter=function(e,t){var o=0;return h.stickyContentBottom&&(o=e.clientHeight-t.offsetHeight+h.stickyContentBottom.offsetTop),o},h._getNonStickyDistanceFromTop=function(e){var t=0,o=h.root;if(o){for(;o&&o.offsetParent!==e;)t+=o.offsetTop,o=o.offsetParent;o&&o.offsetParent===e&&(t+=o.offsetTop)}return t},ua(h),h.state={isStickyTop:!1,isStickyBottom:!1,distanceFromTop:void 0},h._activeElement=void 0,h._scrollUtils=(i=new Map,{getScrollTopInRange:function(e,t){var o,n=e.scrollTop,r=null!==(o=i.get(e))&&void 0!==o?o:NaN;return r-t<=n&&r+t>=n?r:(i.set(e,n),n)}}),h}return m(e,t),Object.defineProperty(e.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeHolder.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyContentTop",{get:function(){return this._stickyContentTop.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyContentBottom",{get:function(){return this._stickyContentBottom.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nonStickyContent",{get:function(){return this._nonStickyContent.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canStickyTop",{get:function(){return this.props.stickyPosition===QE.Both||this.props.stickyPosition===QE.Header},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===QE.Both||this.props.stickyPosition===QE.Footer},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){var e=this._getContext().scrollablePane;e&&(e.subscribe(this._onScrollEvent),e.addSticky(this))},e.prototype.componentWillUnmount=function(){var e=this._getContext().scrollablePane;e&&(e.unsubscribe(this._onScrollEvent),e.removeSticky(this))},e.prototype.componentDidUpdate=function(e,t){var o=this._getContext().scrollablePane;if(o){var n=this.state,r=n.isStickyBottom,i=n.isStickyTop,a=n.distanceFromTop,s=!1;t.distanceFromTop!==a&&(o.sortSticky(this,!0),s=!0),t.isStickyTop===i&&t.isStickyBottom===r||(this._activeElement&&this._activeElement.focus(),o.updateStickyRefHeights(),s=!0),s&&o.syncScrollSticky(this)}},e.prototype.shouldComponentUpdate=function(e,t){if(!this.context.scrollablePane)return!0;var o=this.state,n=o.isStickyTop,r=o.isStickyBottom,i=o.distanceFromTop;return n!==t.isStickyTop||r!==t.isStickyBottom||this.props.stickyPosition!==e.stickyPosition||this.props.children!==e.children||i!==t.distanceFromTop||eT(this._nonStickyContent,this._stickyContentTop)||eT(this._nonStickyContent,this._stickyContentBottom)||eT(this._nonStickyContent,this._placeHolder)},e.prototype.render=function(){var e=this.state,t=e.isStickyTop,o=e.isStickyBottom,n=this.props,r=n.stickyClassName,i=n.children;return this.context.scrollablePane?ht.createElement("div",{ref:this._root},this.canStickyTop&&ht.createElement("div",{ref:this._stickyContentTop,style:{pointerEvents:t?"auto":"none"}},ht.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&ht.createElement("div",{ref:this._stickyContentBottom,style:{pointerEvents:o?"auto":"none"}},ht.createElement("div",{style:this._getStickyPlaceholderHeight(o)})),ht.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||o)&&ht.createElement("span",{style:ho},i),ht.createElement("div",{ref:this._nonStickyContent,className:t||o?r:void 0,style:this._getContentStyles(t||o)},i))):ht.createElement("div",null,this.props.children)},e.prototype.addSticky=function(e){this.nonStickyContent&&e.appendChild(this.nonStickyContent)},e.prototype.resetSticky=function(){this.nonStickyContent&&this.placeholder&&this.placeholder.appendChild(this.nonStickyContent)},e.prototype.setDistanceFromTop=function(e){var t=this._getNonStickyDistanceFromTop(e);this.setState({distanceFromTop:t})},e.prototype._getContentStyles=function(e){return{backgroundColor:this.props.stickyBackgroundColor||this._getBackground(),overflow:e?"hidden":""}},e.prototype._getStickyPlaceholderHeight=function(e){var t=this.nonStickyContent?this.nonStickyContent.offsetHeight:0;return{visibility:e?"hidden":"visible",height:e?0:t}},e.prototype._getNonStickyPlaceholderHeightAndWidth=function(){var e=this.state,t=e.isStickyTop,o=e.isStickyBottom;if(t||o){var n=0,r=0;return this.nonStickyContent&&this.nonStickyContent.firstElementChild&&(n=this.nonStickyContent.offsetHeight,r=this.nonStickyContent.firstElementChild.scrollWidth+(this.nonStickyContent.firstElementChild.offsetWidth-this.nonStickyContent.firstElementChild.clientWidth)),{height:n,width:r}}return{}},e.prototype._getBackground=function(){var e;if(this.root){for(var t=this.root,o=null!==(e=this._getContext().window)&&void 0!==e?e:window;"rgba(0, 0, 0, 0)"===o.getComputedStyle(t).getPropertyValue("background-color")||"transparent"===o.getComputedStyle(t).getPropertyValue("background-color");){if("HTML"===t.tagName)return;t.parentElement&&(t=t.parentElement)}return o.getComputedStyle(t).getPropertyValue("background-color")}},e.defaultProps={stickyPosition:QE.Both,isScrollSynced:!0},e.contextType=aD,e}(ht.Component);function eT(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}var tT=vr(),oT=Do(function(e,t,o,n,r,i,a,s,l){var c=nh(e);return Fn({root:["ms-Button",c.root,o,t,a&&["is-checked",c.rootChecked],i&&["is-disabled",c.rootDisabled],!i&&!a&&{selectors:{":hover":c.rootHovered,":focus":c.rootFocused,":active":c.rootPressed}},i&&a&&[c.rootCheckedDisabled],!i&&a&&{selectors:{":hover":c.rootCheckedHovered,":active":c.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",c.flexContainer]})}),nT=function(o){var e,t,n=o.item,r=o.idPrefix,i=void 0===r?o.id:r,a=o.isRadio,s=o.selected,l=void 0!==s&&s,c=o.disabled,u=void 0!==c&&c,d=o.styles,p=o.circle,h=void 0===p||p,m=o.color,f=o.onClick,g=o.onHover,v=o.onFocus,b=o.onMouseEnter,y=o.onMouseMove,C=o.onMouseLeave,_=o.onWheel,S=o.onKeyDown,x=o.height,k=o.width,w=o.borderWidth,I=tT(d,{theme:o.theme,disabled:u,selected:l,circle:h,isWhite:(e=m,t=Xg(e),"ffffff"===(null==t?void 0:t.hex)),height:x,width:k,borderWidth:w}),D=function(e){var t,o=I.svg;return ht.createElement("svg",{className:o,role:"img","aria-label":e.label,viewBox:"0 0 20 20",fill:null===(t=Xg(e.color))||void 0===t?void 0:t.str},h?ht.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):ht.createElement("rect",{width:"100%",height:"100%"}))},E=a?{role:"radio","aria-checked":l,selected:void 0}:{role:"gridcell",selected:l};return ht.createElement(Ih,pt({item:n,id:"".concat(i,"-").concat(n.id,"-").concat(n.index),key:n.id,disabled:u},E,{onRenderItem:function(e){var t=o.onRenderColorCellContent;return(void 0===t?D:t)(e,D)},onClick:f,onHover:g,onFocus:v,label:n.label,className:I.colorCell,getClassNames:oT,index:n.index,onMouseEnter:b,onMouseMove:y,onMouseLeave:C,onWheel:_,onKeyDown:S}))},rT={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},iT=ir(nT,function(e){var t,o,n,r,i,a,s=e.theme,l=e.disabled,c=e.selected,u=e.circle,d=e.isWhite,p=e.height,h=void 0===p?20:p,m=e.width,f=void 0===m?20:m,g=e.borderWidth,v=s.semanticColors,b=s.palette,y=b.neutralLighter,C=b.neutralLight,_=b.neutralSecondary,S=b.neutralTertiary,x=g||(f<24?2:4);return{colorCell:[on(s,{inset:-1,position:"relative",highContrastStyle:rT}),{backgroundColor:v.bodyBackground,padding:0,position:"relative",boxSizing:"border-box",display:"inline-block",cursor:"pointer",userSelect:"none",borderRadius:0,border:"none",height:h,width:f,verticalAlign:"top","forced-color-adjust":"none"},!u&&{selectors:(t={},t[".".concat(Jo," &:focus::after, :host(.").concat(Jo,") &:focus::after")]={outlineOffset:"".concat(x-1,"px")},t)},u&&{borderRadius:"50%",selectors:(o={},o[".".concat(Jo," &:focus::after, :host(.").concat(Jo,") &:focus::after")]={outline:"none",borderColor:v.focusBorder,borderRadius:"50%",left:-x,right:-x,top:-x,bottom:-x,selectors:(n={},n[Mo]={outline:"1px solid ButtonText"},n)},o)},c&&{padding:2,border:"".concat(x,"px solid ").concat(C),selectors:(r={},r["&:hover::before"]={content:'""',height:h,width:f,position:"absolute",top:-x,left:-x,borderRadius:u?"50%":"default",boxShadow:"inset 0 0 0 1px ".concat(_)},r)},!c&&{selectors:(i={},i["&:hover, &:active, &:focus"]={backgroundColor:v.bodyBackground,padding:2,border:"".concat(x,"px solid ").concat(y)},i["&:focus"]={borderColor:v.bodyBackground,padding:0,selectors:{":hover":{borderColor:s.palette.neutralLight,padding:2}}},i)},l&&{color:v.disabledBodyText,pointerEvents:"none",opacity:.3},d&&!c&&{backgroundColor:S,padding:1,selectors:(a={},a[Mo]={outline:"1px solid ButtonText"},a)}],svg:[{width:"100%",height:"100%"},u&&{borderRadius:"50%"}]}},void 0,{scope:"ColorPickerGridCell"},!0),aT=vr(),sT="SwatchColorPicker",lT=ht.forwardRef(function(n,e){var t=Sd("swatchColorPicker"),o=n.id||t,i=Lc(),a=Zi({isNavigationIdle:!0,cellFocused:!1,navigationIdleTimeoutId:void 0,navigationIdleDelay:250}),r=Zf(),s=r.setTimeout,l=r.clearTimeout;!function(e){Qi({name:sT,props:e,mutuallyExclusive:{focusOnHover:"onHover",selectedId:"defaultSelectedId"},deprecations:{isControlled:"selectedId' or 'defaultSelectedId",onColorChanged:"onChange"}})}(n);var c=n.colorCells,u=n.cellShape,d=void 0===u?"circle":u,p=n.columnCount,h=n.shouldFocusCircularNavigate,m=void 0===h||h,f=n.className,g=n.disabled,v=void 0!==g&&g,b=n.doNotContainWithinFocusZone,y=n.styles,C=n.cellMargin,_=void 0===C?10:C,S=n.defaultSelectedId,x=n.focusOnHover,k=n.mouseLeaveParentSelector,w=n.onChange,I=n.onColorChanged,D=n.onCellHovered,E=n.onCellFocused,T=n.getColorGridCellStyles,P=n.cellHeight,R=n.cellWidth,M=n.cellBorderWidth,N=n.onRenderColorCellContent,B=ht.useMemo(function(){return c.map(function(e,t){return pt(pt({},e),{index:t})})},[c]),A=ht.useCallback(function(e,t){var o,n=null===(o=c.filter(function(e){return e.id===t})[0])||void 0===o?void 0:o.color;null==w||w(e,t,n),null==I||I(t,n)},[w,I,c]),F=Km(n.selectedId,S,A),L=F[0],O=F[1],H=aT(y,{theme:n.theme,className:f,cellMargin:_}),z={root:H.root,tableCell:H.tableCell,focusedContainer:H.focusedContainer},W=c.length<=p,V=ht.useCallback(function(e){E&&(a.cellFocused=!1,E(void 0,void 0,e))},[a,E]),K=ht.useCallback(function(e){return x?(a.isNavigationIdle&&!v&&e.currentTarget.focus(),!0):!a.isNavigationIdle||!!v},[x,a,v]),G=ht.useCallback(function(e){if(!x)return!a.isNavigationIdle||!!v;var t=e.currentTarget;return!a.isNavigationIdle||i&&t===i.activeElement||t.focus(),!0},[x,a,v,i]),U=ht.useCallback(function(e){var t,o=k;if(x&&o&&a.isNavigationIdle&&!v)for(var n=null!==(t=null==i?void 0:i.querySelectorAll(o))&&void 0!==t?t:[],r=0;r0&&(r=t[0].displayIndex-1);for(var i=0,a=t;ir&&(r=s.displayIndex)):o&&(l=o),n=n.slice(0,s.displayIndex)+l+n.slice(s.displayIndex+1)}return o||(n=n.slice(0,r+1)),n}function TT(e,t){for(var o=0;o=t)return e[o].displayIndex;return e[e.length-1].displayIndex}function PT(e,t,o){for(var n=0;n=t){if(e[n].displayIndex>=t+o)break;e[n].value=void 0}return e}function RT(e,t,o){for(var n=0,r=0,i=!1,a=0;a=t)for(i=!0,r=e[a].displayIndex;n=t){e[o].value=void 0;break}return e}(y.maskCharData,i),o=TT(y.maskCharData,i)):(y.maskCharData=function(e,t){for(var o=e.length-1;o>=0;o--)if(e[o].displayIndex=0;o--)if(e[o].displayIndexS.length){c=a-(l=t.length-S.length);var p=t.substr(c,l);o=RT(y.maskCharData,c,p)}else if(t.length<=S.length){l=1;var h=S.length+l-t.length;c=a-l,p=t.substr(c,l),y.maskCharData=PT(y.maskCharData,c,h),o=RT(y.maskCharData,c,p)}y.changeSelectionData=null;var m=ET(v,y.maskCharData,b);x(m),C(o),null==g||g(e,m)}},[S.length,y,v,b,g]),P=ht.useCallback(function(e){if(null==l||l(e),y.changeSelectionData=null,f.current&&f.current.value){var t=e.keyCode,o=e.ctrlKey,n=e.metaKey;if(o||n)return;if(t===sr.backspace||t===sr.del){var r=e.target.selectionStart,i=e.target.selectionEnd;if(!(t===sr.backspace&&i&&i>0||t===sr.del&&null!==r&&rc||t.getHours()===c&&t.getMinutes()>u?Ph.HoursInOneDay-t.getHours()+c:Math.abs(t.getHours()-c);var p=Ph.MillisecondsIn1Sec*Ph.MinutesInOneHour*n*Ph.SecondsInOneMinute+d*Ph.MillisecondsIn1Sec,h=new Date(t.getTime()+p);return h.setMinutes(u),h.setSeconds(d),h},zT=function(e,t,o){var n=e.toLocaleTimeString([],{hour:"numeric",minute:"2-digit",second:t?"2-digit":void 0,hour12:o});return o||"24"!==n.slice(0,2)||(n="00"+n.slice(2)),n},WT=/^((1[0-2]|0?[1-9]):([0-5][0-9]):([0-5][0-9])\s([AaPp][Mm]))$/,VT=/^((1[0-2]|0?[1-9]):[0-5][0-9]\s([AaPp][Mm]))$/,KT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/,GT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/,UT=function(e){var t=e.label,o=e.increments,a=void 0===o?30:o,n=e.showSeconds,l=void 0!==n&&n,r=e.allowFreeform,c=void 0===r||r,i=e.useHour12,u=void 0!==i&&i,d=e.timeRange,s=e.strings,p=void 0===s?function(e,t){var o=e?"12-hour":"24-hour",n="hh:mm".concat(t?":ss":"").concat(e?" AP":"");return{invalidInputErrorMessage:"Enter a valid time in the ".concat(o," format: ").concat(n),timeOutOfBoundsErrorMessage:"Please enter a time within the range of {0} and {1}"}}(u,l):s,h=e.defaultValue,m=e.value,f=e.dateAnchor,g=e.onChange,v=e.onFormatDate,b=e.onValidateUserInput,y=e.onValidationResult,C=Fe(e,["label","increments","showSeconds","allowFreeform","useHour12","timeRange","strings","defaultValue","value","dateAnchor","onChange","onFormatDate","onValidateUserInput","onValidationResult"]),_=ht.useState(""),S=_[0],x=_[1],k=ht.useState(),w=k[0],I=k[1],D=ht.useState(""),E=D[0],T=D[1],P=Zi(new Date),R=Km(m,h),M=R[0],N=R[1],B=YT(a,d),A=f||m||h||P,F=ht.useMemo(function(){return jT(A,"start",a,d)},[A,a,d]),L=ht.useMemo(function(){return jT(A,"end",a,d)},[A,a,d]),O=ht.useMemo(function(){for(var e=Array(B),t=0;tL)&&(t=tm(p.timeOutOfBoundsErrorMessage,F.toString(),L.toString()))}}else t=p.invalidInputErrorMessage;return t}(n)),y&&E!==i&&y(e,{errorMessage:i}),i||void 0!==n&&!n.length){var a=n||(null==t?void 0:t.text)||"";x(a),N(i?new Date("invalid"):void 0),r=new Date("invalid")}else{var s=void 0;(null==t?void 0:t.data)instanceof Date?s=t.data:(a=(null==t?void 0:t.key)||n||"",s=HT(u,F,a)),N(s),r=s}null==g||g(e,r),T(i)},[d,F,L,c,v,b,l,u,p.invalidInputErrorMessage,p.timeOutOfBoundsErrorMessage,N,y,g,E]);return ht.createElement(jv,pt({},C,{allowFreeform:c,selectedKey:w,label:t,errorMessage:E,options:O,onChange:H,text:S,onKeyPress:function(e){var t=e.charCode;v||t>=sr.zero&&t<=sr.colon||t===sr.space||t===sr.a||t===sr.m||t===sr.p||e.preventDefault()},useComboBoxAsMenuWidth:!0}))};UT.displayName="TimePicker";var jT=function(e,t,o,n){var r=new Date(e.getTime());if(n){var i=qT(n),a="start"===t?i.start:i.end;r.getHours()!==a&&r.setHours(a)}else"end"===t&&r.setDate(r.getDate()+1);return r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),function(e,t){var o=new Date(e.getTime()),n=o.getMinutes();if(Ph.MinutesInOneHour%t)o.setMinutes(0);else{for(var r=Ph.MinutesInOneHour/t,i=1;i<=r;i++)if(n>t*(i-1)&&n<=t*i){n=t*i;break}o.setMinutes(n)}return o}(r,o)},qT=function(e){return{start:Math.min(Math.max(e.start,0),23),end:Math.min(Math.max(e.end,0),23)}},YT=function(e,t){var o=function(e){var t=Ph.HoursInOneDay;if(e){var o=qT(e);o.start>o.end?t=Ph.HoursInOneDay-e.start-e.end:e.end>e.start&&(t=e.end-e.start)}return t}(t);return Math.floor(Ph.MinutesInOneHour*o/e)},ZT=vr(),XT="Toggle",QT=ht.forwardRef(function(e,t){var o=e.as,n=void 0===o?"div":o,r=e.ariaLabel,i=e.checked,a=e.className,s=e.defaultChecked,l=void 0!==s&&s,c=e.disabled,u=e.inlineLabel,d=e.label,p=e.offAriaLabel,h=e.offText,m=e.onAriaLabel,f=e.onChange,g=e.onChanged,v=e.onClick,b=e.onText,y=e.role,C=e.styles,_=e.theme,S=Km(i,l,ht.useCallback(function(e,t){null==f||f(e,t),null==g||g(t)},[f,g])),x=S[0],k=S[1],w=ZT(C,{theme:_,className:a,disabled:c,checked:x,inlineLabel:u,onOffMissing:!b&&!h}),I=x?m:p,D=Sd(XT,e.id),E="".concat(D,"-label"),T="".concat(D,"-stateText"),P=x?b:h,R=qr(e,Mr,["defaultChecked"]),M=void 0;r||I||(d&&(M=E),P&&!M&&(M=T));var N=ht.useRef(null);al(N),JT(e,x,N),Qi({name:XT,props:e,deprecations:{offAriaLabel:void 0,onAriaLabel:"ariaLabel",onChanged:"onChange"},mutuallyExclusive:{checked:"defaultChecked"}});var B={root:{className:w.root,hidden:R.hidden},label:{children:d,className:w.label,htmlFor:D,id:E},container:{className:w.container},pill:pt(pt({},R),{"aria-disabled":c,"aria-checked":x,"aria-label":r||I,"aria-labelledby":M,className:w.pill,"data-is-focusable":!0,"data-ktp-target":!0,disabled:c,id:D,onClick:function(e){c||(k(!x,e),v&&v(e))},ref:N,role:y||"switch",type:"button"}),thumb:{className:w.thumb},stateText:{children:P,className:w.text,htmlFor:D,id:T}};return ht.createElement(n,pt({ref:t},B.root),d&&ht.createElement(vf,pt({},B.label)),ht.createElement("div",pt({},B.container),ht.createElement("button",pt({},B.pill),ht.createElement("span",pt({},B.thumb))),(x&&b||h)&&ht.createElement(vf,pt({},B.stateText))))});QT.displayName=XT+"Base";var JT=function(e,t,o){ht.useImperativeHandle(e.componentRef,function(){return{get checked(){return!!t},focus:function(){o.current&&o.current.focus()}}},[t,o])},$T=ir(QT,function(e){var t,o,n,r,i,a,s,l=e.theme,c=e.className,u=e.disabled,d=e.checked,p=e.inlineLabel,h=e.onOffMissing,m=l.semanticColors,f=l.palette,g=m.bodyBackground,v=m.inputBackgroundChecked,b=m.inputBackgroundCheckedHovered,y=f.neutralDark,C=m.disabledBodySubtext,_=m.smallInputBorder,S=m.inputForegroundChecked,x=m.disabledBodySubtext,k=m.disabledBackground,w=m.smallInputBorder,I=m.inputBorderHovered,D=m.disabledBodySubtext,E=m.disabledText;return{root:["ms-Toggle",d&&"is-checked",!u&&"is-enabled",u&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},p&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",{display:"inline-block"},u&&{color:E,selectors:(t={},t[Mo]={color:"GrayText"},t)},p&&!h&&{marginRight:16},h&&p&&{order:1,marginLeft:16},p&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",on(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid ".concat(w),background:g,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px",overflow:"visible"},!u&&[!d&&{selectors:{":hover":[{borderColor:I}],":hover .ms-Toggle-thumb":[{backgroundColor:y,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)}]}},d&&[{background:v,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(n={":hover":[{backgroundColor:b,borderColor:"transparent",selectors:(r={},r[Mo]={backgroundColor:"Highlight"},r)}]},n[Mo]=pt({backgroundColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)}]],u&&[{cursor:"default"},!d&&[{borderColor:D}],d&&[{backgroundColor:C,borderColor:"transparent",justifyContent:"flex-end"}]],!u&&{selectors:{"&:hover":{selectors:(i={},i[Mo]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:_,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!u&&d&&[{backgroundColor:S,selectors:(a={},a[Mo]={backgroundColor:"Window",borderColor:"Window"},a)}],u&&[!d&&[{backgroundColor:x}],d&&[{backgroundColor:k}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:Qe.regular}}},u&&{selectors:{"&&":{color:E,selectors:(s={},s[Mo]={color:"GrayText"},s)}}}]}},void 0,{scope:"Toggle"}),eP=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()},tP=function(){function a(){}return a.measure=function(e,t){a._timeoutId&&a.setPeriodicReset();var o=eP();t();var n=eP(),r=a.summary[e]||{totalDuration:0,count:0,all:[]},i=n-o;r.totalDuration+=i,r.count++,r.all.push({duration:i,timeStamp:n}),a.summary[e]=r},a.reset=function(){a.summary={},clearTimeout(a._timeoutId),a._timeoutId=NaN},a.setPeriodicReset=function(){a._timeoutId=setTimeout(function(){return a.reset()},18e4)},a.summary={},a}(),oP="undefined"!=typeof WeakMap?new WeakMap:void 0;function nP(o){var n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={Component:oP?oP.get(o.load):void 0},e}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.forwardedRef,o=e.asyncPlaceholder,n=Fe(e,["forwardedRef","asyncPlaceholder"]),r=this.state.Component;return r?ht.createElement(r,pt(pt({},n),{ref:t})):o?ht.createElement(o,null):null},e.prototype.componentDidMount=function(){var t=this;this.state.Component||o.load().then(function(e){e&&(oP&&oP.set(o.load,e),t.setState({Component:e},o.onLoad))}).catch(o.onError)},e}(ht.Component);return ht.forwardRef(function(e,t){return ht.createElement(n,pt({},e,{forwardedRef:t}))})}function rP(e){throw new Error("Unexpected object: "+e)}var iP="";function aP(e){return iP+e}function sP(e){iP=e}function lP(e){var t,o=e||ut();o&&!0!==(null===(t=o.FabricConfig)||void 0===t?void 0:t.disableFocusRects)&&(o.__hasInitializeFocusRects__||(o.__hasInitializeFocusRects__=!0,o.addEventListener("mousedown",cP,!0),o.addEventListener("pointerdown",uP,!0),o.addEventListener("keydown",dP,!0)))}function cP(e){tn(!1,e.target)}function uP(e){"mouse"!==e.pointerType&&tn(!1,e.target)}function dP(e){Js(e.which)&&tn(!0,e.target)}var pP="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,hP=!1;if(pP)try{document.adoptedStyleSheets.push(),hP=!0}catch(n){hP=!1}var mP,fP=hP,gP={};try{gP=window||{}}catch(M){}var vP=function(c){function d(e,t){var o=c.call(this,e,t)||this;return o._onAddSheetCallbacks=[],o._sheetCounter=0,o._adoptableSheets=new Map,gP[p]=d,o}return m(d,c),d.getInstance=function(e){var t=e||h,o=t.stylesheetKey||b,n=t.inShadow,r=t.window||("undefined"!=typeof window?window:void 0),i=r||gP,a=r?r.document:"undefined"!=typeof document?document:void 0,s=(mP=i[k])&&!mP.getAdoptedSheets;if(!mP||s||mP._lastStyleElement&&mP._lastStyleElement.ownerDocument!==a){var l=(null==i?void 0:i.FabricConfig)||{},c={window:r,inShadow:n,stylesheetKey:o};l.mergeStyles=l.mergeStyles||{},l.mergeStyles=pt(pt({},c),l.mergeStyles);var u=void 0;s?function(e,t,o,n){var r;if(void 0===t&&(t=!1),n){var i=n.querySelectorAll("[data-merge-styles]");if(i){e.setConfig({window:o,inShadow:t,stylesheetKey:b});for(var a=0;a=0&&!h;){var m=d[--p],f=null!==(a=null===(i=m.metadata)||void 0===i?void 0:i.sortOrder)&&void 0!==a?a:0,g=null!==(l=null===(s=t.metadata)||void 0===s?void 0:s.sortOrder)&&void 0!==l?l:0;"merge-styles"===m.bucketName&&f0?u.insertBefore(v,b[b.length-1].nextSibling):u.insertBefore(v,u.firstChild),v.sheet&&(function(e,t){for(var o=0;o