!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.FluentUIReact=t(require("React"),require("ReactDOM")):e.FluentUIReact=t(e.React,e.ReactDOM)}(self,function(t,r){return function(){"use strict";var o={804:function(e){e.exports=t},196:function(e){e.exports=r}},n={};function cT(e){var t=n[e];if(void 0!==t)return t.exports;t=n[e]={exports:{}};return o[e](t,t.exports,cT),t.exports}cT.d=function(e,t){for(var o in t)cT.o(t,o)&&!cT.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},cT.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),cT.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},cT.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var uT={};return function(){cT.r(uT),cT.d(uT,{ActionButton:function(){return Yd},ActivityItem:function(){return di},AnimationClassNames:function(){return Le},AnimationDirection:function(){return eh},AnimationStyles:function(){return Ie},AnimationVariables:function(){return we},Announced:function(){return Bi},AnnouncedBase:function(){return Ni},Async:function(){return Si},AutoScroll:function(){return rx},Autofill:function(){return ki},BaseButton:function(){return zu},BaseComponent:function(){return Sa},BaseExtendedPeoplePicker:function(){return PC},BaseExtendedPicker:function(){return wC},BaseFloatingPeoplePicker:function(){return O_},BaseFloatingPicker:function(){return N_},BasePeoplePicker:function(){return Ck},BasePeopleSelectedItemsList:function(){return l1},BasePicker:function(){return tk},BasePickerListBelow:function(){return ok},BaseSelectedItemsList:function(){return Hw},BaseSlots:function(){return xD},Breadcrumb:function(){return Nd},BreadcrumbBase:function(){return Td},Button:function(){return Jd},ButtonGrid:function(){return ip},ButtonGridCell:function(){return vp},ButtonType:function(){return yd},COACHMARK_ATTRIBUTE_NAME:function(){return xm},Calendar:function(){return Ph},Callout:function(){return nc},CalloutContent:function(){return Al},CalloutContentBase:function(){return Nl},Check:function(){return Hh},CheckBase:function(){return Ah},Checkbox:function(){return Gh},CheckboxBase:function(){return zh},CheckboxVisibility:function(){return vv},ChoiceGroup:function(){return cm},ChoiceGroupBase:function(){return am},ChoiceGroupOption:function(){return im},Coachmark:function(){return Im},CoachmarkBase:function(){return wm},CollapseAllVisibility:function(){return pv},ColorClassNames:function(){return jt},ColorPicker:function(){return of},ColorPickerBase:function(){return Yg},ColorPickerGridCell:function(){return BI},ColorPickerGridCellBase:function(){return MI},ColumnActionsMode:function(){return hv},ColumnDragEndLocation:function(){return gv},ComboBox:function(){return gf},CommandBar:function(){return Qf},CommandBarBase:function(){return Xf},CommandBarButton:function(){return ep},CommandButton:function(){return tp},CommunicationColors:function(){return rD},CompactPeoplePicker:function(){return Nk},CompactPeoplePickerBase:function(){return xk},CompoundButton:function(){return Xd},ConstrainMode:function(){return mv},ContextualMenu:function(){return Fu},ContextualMenuBase:function(){return Tu},ContextualMenuItem:function(){return xc},ContextualMenuItemBase:function(){return mc},ContextualMenuItemType:function(){return Ia},Customizations:function(){return yt},Customizer:function(){return zl},CustomizerContext:function(){return xn},DATAKTP_ARIA_TARGET:function(){return Ec},DATAKTP_EXECUTE_TARGET:function(){return Tc},DATAKTP_TARGET:function(){return Dc},DATA_IS_SCROLLABLE_ATTRIBUTE:function(){return ws},DATA_PORTAL_ATTRIBUTE:function(){return Ns},DAYS_IN_WEEK:function(){return bp},DEFAULT_CELL_STYLE_PROPS:function(){return Pv},DEFAULT_MASK_CHAR:function(){return aD},DEFAULT_ROW_HEIGHTS:function(){return Rv},DatePicker:function(){return av},DatePickerBase:function(){return tv},DateRangeType:function(){return fp},DayOfWeek:function(){return hp},DefaultButton:function(){return jd},DefaultEffects:function(){return Rt},DefaultFontStyles:function(){return et},DefaultPalette:function(){return it},DefaultSpacing:function(){return Ft},DelayedRender:function(){return Ri},Depths:function(){return dt},DetailsColumnBase:function(){return jv},DetailsHeader:function(){return ab},DetailsHeaderBase:function(){return eb},DetailsList:function(){return s0},DetailsListBase:function(){return e0},DetailsListLayoutMode:function(){return fv},DetailsRow:function(){return fb},DetailsRowBase:function(){return db},DetailsRowCheck:function(){return Kv},DetailsRowFields:function(){return lb},DetailsRowGlobalClassNames:function(){return Ev},Dialog:function(){return U0},DialogBase:function(){return K0},DialogContent:function(){return O0},DialogContentBase:function(){return L0},DialogFooter:function(){return B0},DialogFooterBase:function(){return M0},DialogType:function(){return r0},DirectionalHint:function(){return Ea},DocumentCard:function(){return py},DocumentCardActions:function(){return gy},DocumentCardActivity:function(){return vy},DocumentCardDetails:function(){return Cy},DocumentCardImage:function(){return Ty},DocumentCardLocation:function(){return Sy},DocumentCardLogo:function(){return Ny},DocumentCardPreview:function(){return ky},DocumentCardStatus:function(){return Ay},DocumentCardTitle:function(){return Py},DocumentCardType:function(){return D0},DragDropHelper:function(){return Gv},Dropdown:function(){return yC},DropdownBase:function(){return dC},DropdownMenuItemType:function(){return $g},EdgeChromiumHighContrastSelector:function(){return Qt},ElementType:function(){return bd},EventGroup:function(){return fa},ExpandingCard:function(){return nS},ExpandingCardBase:function(){return oS},ExpandingCardMode:function(){return Z_},ExtendedPeoplePicker:function(){return RC},ExtendedSelectedItem:function(){return r1},Fabric:function(){return ql},FabricBase:function(){return Kl},FabricPerformance:function(){return VD},FabricSlots:function(){return kD},Facepile:function(){return qC},FacepileBase:function(){return UC},FirstWeekOfYear:function(){return gp},FloatingPeoplePicker:function(){return z_},FluentTheme:function(){return hD},FocusRects:function(){return oa},FocusTrapCallout:function(){return Bh},FocusTrapZone:function(){return Mh},FocusZone:function(){return Ys},FocusZoneDirection:function(){return Ti},FocusZoneTabbableElements:function(){return Fi},FontClassNames:function(){return rt},FontIcon:function(){return Lr},FontSizes:function(){return Be},FontWeights:function(){return Fe},GlobalSettings:function(){return at},GroupFooter:function(){return Lb},GroupHeader:function(){return Rb},GroupShowAll:function(){return Bb},GroupSpacer:function(){return wv},GroupedList:function(){return Kb},GroupedListBase:function(){return Vb},GroupedListSection:function(){return Hb},HEX_REGEX:function(){return Lm},HighContrastSelector:function(){return Yt},HighContrastSelectorBlack:function(){return Xt},HighContrastSelectorWhite:function(){return Zt},HoverCard:function(){return uS},HoverCardBase:function(){return cS},HoverCardType:function(){return q_},Icon:function(){return Wr},IconBase:function(){return zr},IconButton:function(){return Xu},IconFontSizes:function(){return Ae},IconType:function(){return dr},Image:function(){return Ir},ImageBase:function(){return kr},ImageCoverStyle:function(){return hr},ImageFit:function(){return pr},ImageIcon:function(){return Ta},ImageLoadState:function(){return mr},InjectionMode:function(){return d},IsFocusVisibleClassName:function(){return go},KTP_ARIA_SEPARATOR:function(){return Rc},KTP_FULL_PREFIX:function(){return Ic},KTP_LAYER_ID:function(){return Pc},KTP_PREFIX:function(){return kc},KTP_SEPARATOR:function(){return wc},KeyCodes:function(){return Tn},KeyboardSpinDirection:function(){return J1},Keytip:function(){return HS},KeytipData:function(){return Gc},KeytipEvents:function(){return dc},KeytipLayer:function(){return JS},KeytipLayerBase:function(){return QS},KeytipManager:function(){return Fc},Label:function(){return qh},LabelBase:function(){return jh},Layer:function(){return oc},LayerBase:function(){return $l},LayerHost:function(){return ox},Link:function(){return ca},LinkBase:function(){return aa},List:function(){return Mf},ListPeoplePicker:function(){return Bk},ListPeoplePickerBase:function(){return kk},LocalizedFontFamilies:function(){return Ne},LocalizedFontNames:function(){return Me},MAX_COLOR_ALPHA:function(){return Mm},MAX_COLOR_HUE:function(){return Tm},MAX_COLOR_RGB:function(){return Pm},MAX_COLOR_RGBA:function(){return Rm},MAX_COLOR_SATURATION:function(){return Dm},MAX_COLOR_VALUE:function(){return Em},MAX_HEX_LENGTH:function(){return Bm},MAX_RGBA_LENGTH:function(){return Am},MIN_HEX_LENGTH:function(){return Nm},MIN_RGBA_LENGTH:function(){return Fm},MarqueeSelection:function(){return hx},MaskedTextField:function(){return lD},MeasuredContext:function(){return ed},MemberListPeoplePicker:function(){return _k},MessageBar:function(){return xx},MessageBarBase:function(){return vx},MessageBarButton:function(){return np},MessageBarType:function(){return ux},Modal:function(){return I0},ModalBase:function(){return w0},MonthOfYear:function(){return mp},MotionAnimations:function(){return dD},MotionDurations:function(){return cD},MotionTimings:function(){return uD},Nav:function(){return Rx},NavBase:function(){return Px},NeutralColors:function(){return iD},NormalPeoplePicker:function(){return Mk},NormalPeoplePickerBase:function(){return Sk},OpenCardMode:function(){return j_},OverflowButtonType:function(){return DC},OverflowSet:function(){return qf},OverflowSetBase:function(){return Gf},Overlay:function(){return m0},OverlayBase:function(){return p0},Panel:function(){return lC},PanelBase:function(){return $y},PanelType:function(){return Z0},PeoplePickerItem:function(){return sk},PeoplePickerItemBase:function(){return ik},PeoplePickerItemSuggestion:function(){return uk},PeoplePickerItemSuggestionBase:function(){return ck},Persona:function(){return KC},PersonaBase:function(){return OC},PersonaCoin:function(){return ui},PersonaCoinBase:function(){return ii},PersonaInitialsColor:function(){return Mr},PersonaPresence:function(){return Rr},PersonaSize:function(){return Pr},Pivot:function(){return rw},PivotBase:function(){return Jk},PivotItem:function(){return Xk},PivotLinkFormat:function(){return tw},PivotLinkSize:function(){return ow},PlainCard:function(){return aS},PlainCardBase:function(){return sS},Popup:function(){return Il},Position:function(){return Ma},PositioningContainer:function(){return bm},PrimaryButton:function(){return Qd},ProgressIndicator:function(){return pw},ProgressIndicatorBase:function(){return lw},PulsingBeaconAnimationStyles:function(){return Do},RGBA_REGEX:function(){return Hm},Rating:function(){return _w},RatingBase:function(){return yw},RatingSize:function(){return iw},Rectangle:function(){return Oa},RectangleEdge:function(){return Ra},ResizeGroup:function(){return ad},ResizeGroupBase:function(){return id},ResizeGroupDirection:function(){return Gu},ResponsiveMode:function(){return iu},SELECTION_CHANGE:function(){return lv},ScreenWidthMaxLarge:function(){return so},ScreenWidthMaxMedium:function(){return io},ScreenWidthMaxSmall:function(){return ro},ScreenWidthMaxXLarge:function(){return ao},ScreenWidthMaxXXLarge:function(){return lo},ScreenWidthMinLarge:function(){return eo},ScreenWidthMinMedium:function(){return $t},ScreenWidthMinSmall:function(){return Jt},ScreenWidthMinUhfMobile:function(){return co},ScreenWidthMinXLarge:function(){return to},ScreenWidthMinXXLarge:function(){return oo},ScreenWidthMinXXXLarge:function(){return no},ScrollToMode:function(){return Tf},ScrollablePane:function(){return Dw},ScrollablePaneBase:function(){return Iw},ScrollablePaneContext:function(){return kw},ScrollbarVisibility:function(){return xw},SearchBox:function(){return Lw},SearchBoxBase:function(){return Nw},SelectAllVisibility:function(){return Wv},SelectableOptionMenuItemType:function(){return $g},SelectedPeopleList:function(){return c1},Selection:function(){return cv},SelectionDirection:function(){return iv},SelectionMode:function(){return rv},SelectionZone:function(){return xv},SemanticColorSlots:function(){return wD},Separator:function(){return p1},SeparatorBase:function(){return d1},Shade:function(){return lg},SharedColors:function(){return sD},Shimmer:function(){return U1},ShimmerBase:function(){return W1},ShimmerCircle:function(){return B1},ShimmerCircleBase:function(){return N1},ShimmerElementType:function(){return b1},ShimmerElementsDefaultHeights:function(){return y1},ShimmerElementsGroup:function(){return O1},ShimmerElementsGroupBase:function(){return A1},ShimmerGap:function(){return P1},ShimmerGapBase:function(){return T1},ShimmerLine:function(){return I1},ShimmerLineBase:function(){return k1},ShimmeredDetailsList:function(){return Y1},ShimmeredDetailsListBase:function(){return q1},Slider:function(){return eI},SliderBase:function(){return X1},SpinButton:function(){return lI},Spinner:function(){return Tb},SpinnerBase:function(){return wb},SpinnerSize:function(){return mb},SpinnerType:function(){return gb},Stack:function(){return wI},StackItem:function(){return SI},Sticky:function(){return DI},StickyPositionType:function(){return yI},Stylesheet:function(){return v},SuggestionActionType:function(){return Dx},SuggestionItemType:function(){return b_},Suggestions:function(){return Ox},SuggestionsControl:function(){return R_},SuggestionsController:function(){return zx},SuggestionsCore:function(){return f_},SuggestionsHeaderFooterItem:function(){return P_},SuggestionsItem:function(){return d_},SuggestionsStore:function(){return G_},SwatchColorPicker:function(){return OI},SwatchColorPickerBase:function(){return AI},TagItem:function(){return Hk},TagItemBase:function(){return Lk},TagItemSuggestion:function(){return Vk},TagItemSuggestionBase:function(){return Wk},TagPicker:function(){return Gk},TagPickerBase:function(){return Kk},TeachingBubble:function(){return YI},TeachingBubbleBase:function(){return qI},TeachingBubbleContent:function(){return GI},TeachingBubbleContentBase:function(){return WI},Text:function(){return QI},TextField:function(){return Og},TextFieldBase:function(){return Rg},TextStyles:function(){return XI},TextView:function(){return ZI},ThemeContext:function(){return mD},ThemeGenerator:function(){return ID},ThemeProvider:function(){return SD},ThemeSettingName:function(){return Ot},TimeConstants:function(){return yp},TimePicker:function(){return ND},Toggle:function(){return WD},ToggleBase:function(){return HD},Tooltip:function(){return gd},TooltipBase:function(){return md},TooltipDelay:function(){return dd},TooltipHost:function(){return wd},TooltipHostBase:function(){return xd},TooltipOverflowMode:function(){return sd},ValidationState:function(){return Nx},VerticalDivider:function(){return Xc},VirtualizedComboBox:function(){return Af},WeeklyDayPicker:function(){return aT},WindowContext:function(){return _l},WindowProvider:function(){return kl},ZIndexes:function(){return mo},addDays:function(){return Cp},addDirectionalKeyCode:function(){return Js},addElementAtIndex:function(){return Gi},addMonths:function(){return Sp},addWeeks:function(){return _p},addYears:function(){return xp},allowOverscrollOnElement:function(){return Ds},allowScrollOnElement:function(){return Is},anchorProperties:function(){return qn},appendFunction:function(){return mi},arraysEqual:function(){return ji},asAsync:function(){return UD},assertNever:function(){return jD},assign:function(){return da},audioProperties:function(){return Kn},baseElementEvents:function(){return On},baseElementProperties:function(){return zn},buildClassMap:function(){return H},buildColumns:function(){return o0},buildKeytipConfigMap:function(){return ex},buttonProperties:function(){return Yn},calculatePrecision:function(){return lx},canAnyMenuItemsCheck:function(){return ku},clamp:function(){return Gm},classNamesFunction:function(){return Fn},colGroupProperties:function(){return nr},colProperties:function(){return rr},compareDatePart:function(){return Pp},compareDates:function(){return Ep},composeComponentAs:function(){return Of},composeRenderFunction:function(){return Xh},concatStyleSets:function(){return un},concatStyleSetsWithProps:function(){return dn},constructKeytip:function(){return tx},correctHSV:function(){return sg},correctHex:function(){return ag},correctRGB:function(){return ig},createArray:function(){return zi},createFontStyles:function(){return Ve},createGenericItem:function(){return Pk},createItem:function(){return K_},createMemoizer:function(){return Lo},createMergedRef:function(){return qi},createTheme:function(){return At},css:function(){return Er},cssColor:function(){return Vm},customizable:function(){return Vu},defaultCalendarNavigationIcons:function(){return dh},defaultCalendarStrings:function(){return ch},defaultDatePickerStrings:function(){return Jf},defaultDayPickerStrings:function(){return uh},defaultWeeklyDayPickerNavigationIcons:function(){return rT},defaultWeeklyDayPickerStrings:function(){return nT},disableBodyScroll:function(){return Es},divProperties:function(){return cr},doesElementContainFocus:function(){return ds},elementContains:function(){return $i},elementContainsAttribute:function(){return Ji},enableBodyScroll:function(){return Ps},extendComponent:function(){return gi},filteredAssign:function(){return pa},find:function(){return Oi},findElementRecursive:function(){return Qi},findIndex:function(){return Hi},findScrollableParent:function(){return Ms},fitContentToBounds:function(){return ax},flatten:function(){return Ui},focusAsync:function(){return ms},focusClear:function(){return yo},focusFirstChild:function(){return rs},fontFace:function(){return He},formProperties:function(){return ir},format:function(){return Kp},getAllSelectedOptions:function(){return pf},getAriaDescribedBy:function(){return Wc},getBackgroundShade:function(){return Sg},getBoundsFromTargetWindow:function(){return vl},getChildren:function(){return qD},getColorFromHSV:function(){return $m},getColorFromRGBA:function(){return Qm},getColorFromString:function(){return Jm},getContrastRatio:function(){return xg},getDatePartHashValue:function(){return Hp},getDateRangeArray:function(){return Rp},getDetailsRowStyles:function(){return Nv},getDistanceBetweenPoints:function(){return sx},getDocument:function(){return gt},getEdgeChromiumNoHighContrastAdjustSelector:function(){return ho},getElementIndexPath:function(){return fs},getEndDateOfWeek:function(){return Ap},getFadedOverflowStyle:function(){return qo},getFirstFocusable:function(){return es},getFirstTabbable:function(){return os},getFocusOutlineStyle:function(){return Co},getFocusStyle:function(){return bo},getFocusableByIndexPath:function(){return gs},getFontIcon:function(){return Hr},getFullColorString:function(){return eg},getGlobalClassNames:function(){return zo},getHighContrastNoAdjustStyle:function(){return po},getIcon:function(){return nn},getIconClassName:function(){return cn},getIconContent:function(){return Ar},getId:function(){return Cs},getInitialResponsiveMode:function(){return gu},getInitials:function(){return Cr},getInputFocusStyle:function(){return _o},getLanguage:function(){return Qe},getLastFocusable:function(){return ts},getLastTabbable:function(){return ns},getMaxHeight:function(){return gl},getMeasurementCache:function(){return Ju},getMenuItemStyles:function(){return bc},getMonthEnd:function(){return wp},getMonthStart:function(){return kp},getNativeElementProps:function(){return Dv},getNativeProps:function(){return ur},getNextElement:function(){return ss},getNextResizeGroupStateProvider:function(){return $u},getOppositeEdge:function(){return fl},getParent:function(){return Xi},getPersonaInitialsColor:function(){return ti},getPlaceholderStyles:function(){return Zo},getPreviousElement:function(){return is},getPropsWithDefaults:function(){return Hn},getRTL:function(){return Pn},getRTLSafeKeyCode:function(){return Mn},getRect:function(){return Yb},getResourceUrl:function(){return $D},getResponsiveMode:function(){return vu},getScreenSelector:function(){return uo},getScrollbarWidth:function(){return Rs},getShade:function(){return _g},getSplitButtonClassNames:function(){return Ou},getStartDateOfWeek:function(){return Fp},getSubmenuItems:function(){return xu},getTheme:function(){return Wt},getThemedContext:function(){return Go},getVirtualParent:function(){return Zi},getWeekNumber:function(){return Bp},getWeekNumbersInMonth:function(){return Np},getWindow:function(){return qe},getYearEnd:function(){return Dp},getYearStart:function(){return Ip},hasHorizontalOverflow:function(){return ld},hasOverflow:function(){return ud},hasVerticalOverflow:function(){return cd},hiddenContentStyle:function(){return So},hoistMethods:function(){return nu},hoistStatics:function(){return cu},hsl2hsv:function(){return Om},hsl2rgb:function(){return Wm},hsv2hex:function(){return qm},hsv2hsl:function(){return Zm},hsv2rgb:function(){return zm},htmlElementProperties:function(){return Wn},iframeProperties:function(){return sr},imageProperties:function(){return lr},imgProperties:function(){return ar},initializeComponentRef:function(){return fi},initializeFocusRects:function(){return YD},initializeIcons:function(){return NS},initializeResponsiveMode:function(){return mu},inputProperties:function(){return Zn},isControlled:function(){return Dg},isDark:function(){return Cg},isDirectionalKeyCode:function(){return Qs},isElementFocusSubZone:function(){return us},isElementFocusZone:function(){return cs},isElementTabbable:function(){return ls},isElementVisible:function(){return as},isIE11:function(){return pi},isIOS:function(){return Na},isInDateRangeArray:function(){return Mp},isMac:function(){return Pa},isRelativeUrl:function(){return Ix},isValidShade:function(){return vg},isVirtualElement:function(){return Yi},keyframes:function(){return O},ktpTargetFromId:function(){return zc},ktpTargetFromSequences:function(){return Oc},labelProperties:function(){return Vn},liProperties:function(){return jn},loadTheme:function(){return Gt},makeStyles:function(){return bD},mapEnumByName:function(){return ha},memoize:function(){return Fo},memoizeFunction:function(){return Ao},merge:function(){return Mt},mergeAriaAttributeValues:function(){return wa},mergeCustomizations:function(){return Hl},mergeOverflows:function(){return Hc},mergeScopedSettings:function(){return Vo},mergeSettings:function(){return Wo},mergeStyleSets:function(){return pn},mergeStyles:function(){return j},mergeThemes:function(){return Bt},modalize:function(){return Rh},noWrap:function(){return jo},normalize:function(){return Uo},nullRender:function(){return ka},olProperties:function(){return Un},omit:function(){return ga},on:function(){return Ha},optionProperties:function(){return Jn},personaPresenceSize:function(){return Br},personaSize:function(){return Nr},portalContainsElement:function(){return Fs},positionCallout:function(){return hl},positionCard:function(){return ml},positionElement:function(){return pl},precisionRound:function(){return cx},presenceBoolean:function(){return Ur},raiseClick:function(){return Ss},registerDefaultFontFaces:function(){return nt},registerIconAlias:function(){return on},registerIcons:function(){return en},registerOnThemeChangeCallback:function(){return Vt},removeIndex:function(){return Vi},removeOnThemeChangeCallback:function(){return Kt},replaceElement:function(){return Ki},resetControlledWarnings:function(){return wg},resetIds:function(){return _s},resetMemoizations:function(){return Bo},rgb2hex:function(){return Um},rgb2hsv:function(){return Ym},safeRequestAnimationFrame:function(){return Ly},safeSetTimeout:function(){return tT},selectProperties:function(){return Qn},sequencesToID:function(){return Lc},setBaseUrl:function(){return eT},setFocusVisibility:function(){return vo},setIconOptions:function(){return rn},setLanguage:function(){return Je},setMemoizeWeakMap:function(){return No},setMonth:function(){return Tp},setPortalAttribute:function(){return Bs},setRTL:function(){return Rn},setResponsiveMode:function(){return hu},setSSR:function(){return Ge},setVirtualParent:function(){return Yl},setWarningCallback:function(){return Qo},shallowCompare:function(){return ua},shouldWrapFocus:function(){return ps},sizeBoolean:function(){return Kr},sizeToPixels:function(){return Gr},styled:function(){return In},tableProperties:function(){return $n},tdProperties:function(){return or},textAreaProperties:function(){return Xn},thProperties:function(){return tr},themeRulesStandardCreator:function(){return TD},toMatrix:function(){return Wi},trProperties:function(){return er},transitionKeysAreEqual:function(){return qS},transitionKeysContain:function(){return YS},unhoistMethods:function(){return ru},unregisterIcons:function(){return tn},updateA:function(){return rg},updateH:function(){return og},updateRGB:function(){return ng},updateSV:function(){return tg},updateT:function(){return kg},useCustomizationSettings:function(){return kn},useDocument:function(){return xl},useFocusRects:function(){return ta},useHeightOffset:function(){return vm},useKeytipRef:function(){return WS},useResponsiveMode:function(){return bu},useTheme:function(){return gD},useWindow:function(){return Sl},values:function(){return ma},videoProperties:function(){return Gn},warn:function(){return Xo},warnConditionallyRequiredProps:function(){return ba},warnControlledUsage:function(){return Ig},warnDeprecations:function(){return ya},warnMutuallyExclusive:function(){return Ca},withResponsiveMode:function(){return fu}});var e={};cT.r(e),cT.d(e,{pickerInput:function(){return xC},pickerText:function(){return SC}});var t={};cT.r(t),cT.d(t,{callout:function(){return ZC}});var o={};cT.r(o),cT.d(o,{actionButton:function(){return o_},buttonSelected:function(){return n_},closeButton:function(){return $C},itemButton:function(){return t_},root:function(){return QC},suggestionsAvailable:function(){return l_},suggestionsContainer:function(){return i_},suggestionsItem:function(){return JC},suggestionsItemIsSuggested:function(){return e_},suggestionsNone:function(){return s_},suggestionsSpinner:function(){return a_},suggestionsTitle:function(){return r_}});var n={};cT.r(n),cT.d(n,{suggestionsContainer:function(){return m_}});var r={};cT.r(r),cT.d(r,{actionButton:function(){return C_},buttonSelected:function(){return __},itemButton:function(){return k_},root:function(){return y_},screenReaderOnly:function(){return w_},suggestionsSpinner:function(){return x_},suggestionsTitle:function(){return S_}});var i={};cT.r(i),cT.d(i,{inputDisabled:function(){return Zx},inputFocused:function(){return Yx},pickerInput:function(){return Xx},pickerItems:function(){return Qx},pickerText:function(){return qx},screenReaderOnly:function(){return Jx}});var s={};cT.r(s),cT.d(s,{actionButton:function(){return Yw},expandButton:function(){return $w},hover:function(){return qw},itemContainer:function(){return o1},itemContent:function(){return Qw},personaContainer:function(){return jw},personaContainerIsSelected:function(){return Zw},personaDetails:function(){return t1},personaWrapper:function(){return e1},removeButton:function(){return Jw},validationError:function(){return Xw}});var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var pt=function(){return(pt=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function ht(e,t){var o={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o}function c(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;0<=a;a--)(r=e[a])&&(s=(i<3?r(s):3<i?r(t,o,s):r(t,o))||s);return 3<i&&s&&Object.defineProperty(t,o,s),s}function $e(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;for(var n=Array(e),r=0,t=0;t<o;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,r++)n[r]=i[s];return n}Object.create,Object.create;var u,mt=cT(804),d={none:0,insertNode:1,appendChild:2},p="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),h={};try{h=window||{}}catch(k){}var v=(m.getInstance=function(){var e;return(!(u=h.__stylesheet__)||u._lastStyleElement&&u._lastStyleElement.ownerDocument!==document)&&(e=new m((e=(null==h?void 0:h.FabricConfig)||{}).mergeStyles,e.serializedStylesheet),u=e,h.__stylesheet__=e),u},m.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},m.prototype.setConfig=function(e){this._config=pt(pt({},this._config),e)},m.prototype.onReset=function(t){var e=this;return this._onResetCallbacks.push(t),function(){e._onResetCallbacks=e._onResetCallbacks.filter(function(e){return e!==t})}},m.prototype.onInsertRule=function(t){var e=this;return this._onInsertRuleCallbacks.push(t),function(){e._onInsertRuleCallbacks=e._onInsertRuleCallbacks.filter(function(e){return e!==t})}},m.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},m.prototype.cacheClassName=function(e,t,o,n){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:o,rules:n}},m.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},m.prototype.getClassNameCache=function(){return this._keyToClassName},m.prototype.argsFromClassName=function(e){e=this._classNameToArgs[e];return e&&e.args},m.prototype.insertedRulesFromClassName=function(e){e=this._classNameToArgs[e];return e&&e.rules},m.prototype.insertRule=function(e,t){var o=this._config.injectionMode,n=o!==d.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(o){case d.insertNode:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case d.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach(function(e){return e()})},m.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},m.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},m.prototype.resetKeys=function(){this._keyToClassName={}},m.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),p||window.requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},m.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var o=this._config.cspSettings;return o&&o.nonce&&t.setAttribute("nonce",o.nonce),this._lastStyleElement?e.insertBefore(t,this._lastStyleElement.nextElementSibling):(o=this._findPlaceholderStyleTag())?e.insertBefore(t,o.nextElementSibling):e.insertBefore(t,e.childNodes[0]),this._lastStyleElement=t},m.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},m);function m(e,t){this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=pt({injectionMode:"undefined"==typeof document?d.none:d.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(e=null==t?void 0:t.classNameToArgs)&&void 0!==e?e:this._classNameToArgs,this._counter=null!==(e=null==t?void 0:t.counter)&&void 0!==e?e:this._counter,this._keyToClassName=null!==(e=null!==(e=this._config.classNameCache)&&void 0!==e?e:null==t?void 0:t.keyToClassName)&&void 0!==e?e:this._keyToClassName,this._preservedRules=null!==(e=null==t?void 0:t.preservedRules)&&void 0!==e?e:this._preservedRules,this._rules=null!==(t=null==t?void 0:t.rules)&&void 0!==t?t:this._rules}function g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var s=[],a=[],l=v.getInstance();return function e(t){for(var o=0,n=t;o<n.length;o++){var r,i=n[o];i&&("string"==typeof i?0<=i.indexOf(" ")?e(i.split(" ")):(r=l.argsFromClassName(i))?e(r):-1===s.indexOf(i)&&s.push(i):Array.isArray(i)?e(i):"object"==typeof i&&a.push(i))}}(e),{classes:s,objects:a}}function f(e){_!==e&&(_=e)}function b(){return _=void 0===_?"undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir"):_}function y(){return{rtl:b()}}var C,_=b(),S={},x={"user-select":1};var k,w=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];var I="left",D="right",T=((k={}).left=D,k.right=I,k),E={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};var P=/\:global\((.+?)\)/g;function R(e,t){return 0<=e.indexOf(":global(")?e.replace(P,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function M(t,o,e,n){void 0===o&&(o={__order:[]}),0===e.indexOf("@")?N([n],o,e=e+"{"+t):-1<e.indexOf(",")?function(e){if(!P.test(e))return e;for(var t=[],o=/\:global\((.+?)\)/g,n=null;n=o.exec(e);)-1<n[1].indexOf(",")&&t.push([n.index,n.index+n[0].length,n[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var o=t[0],n=t[1],t=t[2];return e.slice(0,o)+t+e.slice(n)},e)}(e).split(",").map(function(e){return e.trim()}).forEach(function(e){return N([n],o,R(e,t))}):N([n],o,R(e,t))}function N(e,t,o){void 0===t&&(t={__order:[]}),void 0===o&&(o="&");var n=v.getInstance(),r=t[o];r||(t[o]=r={},t.__order.push(o));for(var i,s,a,l,c=0,u=e;c<u.length;c++){var d=u[c];if("string"==typeof d){var p=n.argsFromClassName(d);p&&N(p,t,o)}else if(Array.isArray(d))N(d,t,o);else for(var h in d)if(d.hasOwnProperty(h)){var m=d[h];if("selectors"===h){var g,f=d.selectors;for(g in f)f.hasOwnProperty(g)&&M(o,t,g,f[g])}else"object"==typeof m?null!==m&&M(o,t,h,m):void 0!==m&&("margin"===h||"padding"===h?(i=r,s=h,l=void 0,0===(l="string"==typeof(a=m)?function(e){for(var t=[],o=0,n=0,r=0;r<e.length;r++)switch(e[r]){case"(":n++;break;case")":n&&n--;break;case"\t":case" ":n||(o<r&&t.push(e.substring(o,r)),o=r+1)}return o<e.length&&t.push(e.substring(o)),t}(a):[a]).length&&l.push(a),"!important"===l[l.length-1]&&(l=l.slice(0,-1).map(function(e){return e+" !important"})),i[s+"Top"]=l[0],i[s+"Right"]=l[1]||l[0],i[s+"Bottom"]=l[2]||l[0],i[s+"Left"]=l[3]||l[1]||l[0]):r[h]=m)}}return t}function B(e,t){if(!t)return"";var o,n=[];for(o in t)t.hasOwnProperty(o)&&"displayName"!==o&&void 0!==t[o]&&n.push(o,t[o]);for(var r,i,s,a,l,c=0;c<n.length;c+=2)i=void 0,"-"!==(i=(l=n)[r=c]).charAt(0)&&(l[r]=S[i]=S[i]||i.replace(/([A-Z])/g,"-$1").toLowerCase()),l=a=s=void 0,a=(r=n)[i=c],"number"==typeof(l=r[i+1])&&(s=-1<w.indexOf(a),a=-1<a.indexOf("--"),r[i+1]=l+(s||a?"":"px")),function(e,t,o){if(e.rtl){e=t[o];if(e){var n=t[o+1];if("string"==typeof n&&0<=n.indexOf("@noflip"))t[o+1]=n.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(0<=e.indexOf(I))t[o]=e.replace(I,D);else if(0<=e.indexOf(D))t[o]=e.replace(D,I);else if(0<=String(n).indexOf(I))t[o+1]=n.replace(I,D);else if(0<=String(n).indexOf(D))t[o+1]=n.replace(D,I);else if(T[e])t[o]=T[e];else if(E[n])t[o+1]=E[n];else switch(e){case"margin":case"padding":t[o+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(n);break;case"box-shadow":t[o+1]=(r=n.split(" "),i=parseInt(r[0],10),r[0]=r[0].replace(String(i),String(-1*i)),r.join(" "))}}}var r,i}(e,n,c),r=n,i=c,a=s=l=void 0,C||(l="undefined"!=typeof document?document:void 0,s=null===(s=null==(a="undefined"!=typeof navigator?navigator:void 0)?void 0:a.userAgent)||void 0===s?void 0:s.toLowerCase(),C=l?{isWebkit:!!(l&&"WebkitAppearance"in l.documentElement.style),isMoz:!!(s&&-1<s.indexOf("firefox")),isOpera:!!(s&&-1<s.indexOf("opera")),isMs:!(!a||!/rv:11.0/i.test(a.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}),s=C,a=r[i],x[a]&&(i=r[i+1],x[a]&&(s.isWebkit&&r.push("-webkit-"+a,i),s.isMoz&&r.push("-moz-"+a,i),s.isMs&&r.push("-ms-"+a,i),s.isOpera&&r.push("-o-"+a,i)));for(c=1;c<n.length;c+=4)n.splice(c,1,":",n[c],";");return n.join("")}function F(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var n=N(t),r=function(e,t){for(var o=[e.rtl?"rtl":"ltr"],n=!1,r=0,i=t.__order;r<i.length;r++){var s=i[r];o.push(s);var a,l=t[s];for(a in l)l.hasOwnProperty(a)&&void 0!==l[a]&&(n=!0,o.push(a,l[a]))}return n?o.join(""):void 0}(e,n);if(r){var i=v.getInstance(),r={className:i.classNameFromKey(r),key:r,args:t};if(!r.className){r.className=i.getClassName((i=(i=n)&&i["&"])?i.displayName:void 0);for(var s=[],a=0,l=n.__order;a<l.length;a++){var c=l[a];s.push(c,B(e,n[c]))}r.rulesToInsert=s}return r}}function A(e,t){void 0===t&&(t=1);var o=v.getInstance(),n=e.className,r=e.key,i=e.args,s=e.rulesToInsert;if(s){for(var a=0;a<s.length;a+=2){var l,c=s[a+1];c&&(l=(l=(l=s[a]).replace(/&/g,function e(t,o){return o<=0?"":1===o?t:t+e(t,o-1)}("."+e.className,t)))+"{"+c+"}"+(0===l.indexOf("@")?"}":""),o.insertRule(l))}o.cacheClassName(n,r,i,s)}}function j(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return L(e,y())}function L(e,t){var o=g(e instanceof Array?e:[e]),e=o.classes,o=o.objects;return o.length&&e.push(function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var n=F.apply(void 0,$e([e],t));return n?(A(n,e.specificityMultiplier),n.className):""}(t||{},o)),e.join(" ")}function H(o){var e,n={};for(e in o)!function(e){var t;o.hasOwnProperty(e)&&Object.defineProperty(n,e,{get:function(){return t=void 0===t?j(o[e]).toString():t},enumerable:!0,configurable:!0})}(e);return n}function O(e){var t,o=v.getInstance(),n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t,"{",B(y(),e[t]),"}");var r=n.join(""),i=o.classNameFromKey(r);if(i)return i;i=o.getClassName();return o.insertRule("@keyframes "+i+"{"+r+"}",!0),o.cacheClassName(i,r,[],["keyframes",r]),i}var z="cubic-bezier(.1,.9,.2,1)",W="cubic-bezier(.1,.25,.75,.9)",V="0.167s",K="0.267s",G="0.367s",U="0.467s",q=O({from:{opacity:0},to:{opacity:1}}),Y=O({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),Z=Te(-10),X=Te(-20),Q=Te(-40),J=Te(-400),$=Te(10),ee=Te(20),te=Te(40),oe=Te(400),ne=Ee(10),re=Ee(20),ie=Ee(-10),se=Ee(-20),ae=Pe(10),le=Pe(20),ce=Pe(40),ue=Pe(400),de=Pe(-10),pe=Pe(-20),he=Pe(-40),me=Pe(-400),ge=Re(-10),fe=Re(-20),ve=Re(10),be=Re(20),ye=O({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),Ce=O({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),_e=O({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),Se=O({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),xe=O({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),ke=O({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),we={easeFunction1:z,easeFunction2:W,durationValue1:V,durationValue2:K,durationValue3:G,durationValue4:U},Ie={slideRightIn10:De(q+","+Z,G,z),slideRightIn20:De(q+","+X,G,z),slideRightIn40:De(q+","+Q,G,z),slideRightIn400:De(q+","+J,G,z),slideLeftIn10:De(q+","+$,G,z),slideLeftIn20:De(q+","+ee,G,z),slideLeftIn40:De(q+","+te,G,z),slideLeftIn400:De(q+","+oe,G,z),slideUpIn10:De(q+","+ne,G,z),slideUpIn20:De(q+","+re,G,z),slideDownIn10:De(q+","+ie,G,z),slideDownIn20:De(q+","+se,G,z),slideRightOut10:De(Y+","+ae,G,z),slideRightOut20:De(Y+","+le,G,z),slideRightOut40:De(Y+","+ce,G,z),slideRightOut400:De(Y+","+ue,G,z),slideLeftOut10:De(Y+","+de,G,z),slideLeftOut20:De(Y+","+pe,G,z),slideLeftOut40:De(Y+","+he,G,z),slideLeftOut400:De(Y+","+me,G,z),slideUpOut10:De(Y+","+ge,G,z),slideUpOut20:De(Y+","+fe,G,z),slideDownOut10:De(Y+","+ve,G,z),slideDownOut20:De(Y+","+be,G,z),scaleUpIn100:De(q+","+ye,G,z),scaleDownIn100:De(q+","+_e,G,z),scaleUpOut103:De(Y+","+Se,V,W),scaleDownOut98:De(Y+","+Ce,V,W),fadeIn100:De(q,V,W),fadeIn200:De(q,K,W),fadeIn400:De(q,G,W),fadeIn500:De(q,U,W),fadeOut100:De(Y,V,W),fadeOut200:De(Y,K,W),fadeOut400:De(Y,G,W),fadeOut500:De(Y,U,W),rotate90deg:De(xe,"0.1s",W),rotateN90deg:De(ke,"0.1s",W)};function De(e,t,o){return{animationName:e,animationDuration:t,animationTimingFunction:o,animationFillMode:"both"}}function Te(e){return O({from:{transform:"translate3d("+e+"px,0,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function Ee(e){return O({from:{transform:"translate3d(0,"+e+"px,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function Pe(e){return O({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function Re(e){return O({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var Me,Ne,Be,Fe,Ae,Le=H(Ie);function He(e){var t=v.getInstance(),o=B(y(),e);t.classNameFromKey(o)||(e=t.getClassName(),t.insertRule("@font-face{"+o+"}",!0),t.cacheClassName(e,o,[],["font-face",o]))}(q=Me=Me||{}).Arabic="Segoe UI Web (Arabic)",q.Cyrillic="Segoe UI Web (Cyrillic)",q.EastEuropean="Segoe UI Web (East European)",q.Greek="Segoe UI Web (Greek)",q.Hebrew="Segoe UI Web (Hebrew)",q.Thai="Leelawadee UI Web",q.Vietnamese="Segoe UI Web (Vietnamese)",q.WestEuropean="Segoe UI Web (West European)",q.Selawik="Selawik Web",q.Armenian="Segoe UI Web (Armenian)",q.Georgian="Segoe UI Web (Georgian)",(V=Ne=Ne||{}).Arabic="'"+Me.Arabic+"'",V.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",V.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",V.Cyrillic="'"+Me.Cyrillic+"'",V.EastEuropean="'"+Me.EastEuropean+"'",V.Greek="'"+Me.Greek+"'",V.Hebrew="'"+Me.Hebrew+"'",V.Hindi="'Nirmala UI'",V.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",V.Korean="'Malgun Gothic', Gulim",V.Selawik="'"+Me.Selawik+"'",V.Thai="'Leelawadee UI Web', 'Kmer UI'",V.Vietnamese="'"+Me.Vietnamese+"'",V.WestEuropean="'"+Me.WestEuropean+"'",V.Armenian="'"+Me.Armenian+"'",V.Georgian="'"+Me.Georgian+"'",(K=Be=Be||{}).size10="10px",K.size12="12px",K.size14="14px",K.size16="16px",K.size18="18px",K.size20="20px",K.size24="24px",K.size28="28px",K.size32="32px",K.size42="42px",K.size68="68px",K.mini="10px",K.xSmall="10px",K.small="12px",K.smallPlus="12px",K.medium="14px",K.mediumPlus="16px",K.icon="16px",K.large="18px",K.xLarge="20px",K.xLargePlus="24px",K.xxLarge="28px",K.xxLargePlus="32px",K.superLarge="42px",K.mega="68px",(G=Fe=Fe||{}).light=100,G.semilight=300,G.regular=400,G.semibold=600,G.bold=700,(Y=Ae=Ae||{}).xSmall="10px",Y.small="12px",Y.medium="16px",Y.large="20px";var Oe="'Segoe UI', '"+Me.WestEuropean+"'",ze={ar:Ne.Arabic,bg:Ne.Cyrillic,cs:Ne.EastEuropean,el:Ne.Greek,et:Ne.EastEuropean,he:Ne.Hebrew,hi:Ne.Hindi,hr:Ne.EastEuropean,hu:Ne.EastEuropean,ja:Ne.Japanese,kk:Ne.EastEuropean,ko:Ne.Korean,lt:Ne.EastEuropean,lv:Ne.EastEuropean,pl:Ne.EastEuropean,ru:Ne.Cyrillic,sk:Ne.EastEuropean,"sr-latn":Ne.EastEuropean,th:Ne.Thai,tr:Ne.EastEuropean,uk:Ne.Cyrillic,vi:Ne.Vietnamese,"zh-hans":Ne.ChineseSimplified,"zh-hant":Ne.ChineseTraditional,hy:Ne.Armenian,ka:Ne.Georgian};function We(e,t,o){return{fontFamily:o,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}function Ve(e){e=function(e){for(var t in ze)if(ze.hasOwnProperty(t)&&e&&0===t.indexOf(e))return ze[t];return Oe}(e)+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";return{tiny:We(Be.mini,Fe.regular,e),xSmall:We(Be.xSmall,Fe.regular,e),small:We(Be.small,Fe.regular,e),smallPlus:We(Be.smallPlus,Fe.regular,e),medium:We(Be.medium,Fe.regular,e),mediumPlus:We(Be.mediumPlus,Fe.regular,e),large:We(Be.large,Fe.regular,e),xLarge:We(Be.xLarge,Fe.semibold,e),xLargePlus:We(Be.xLargePlus,Fe.semibold,e),xxLarge:We(Be.xxLarge,Fe.semibold,e),xxLargePlus:We(Be.xxLargePlus,Fe.semibold,e),superLarge:We(Be.superLarge,Fe.semibold,e),mega:We(Be.mega,Fe.semibold,e)}}var Ke=!1;function Ge(e){Ke=e}function gt(e){if(!Ke&&"undefined"!=typeof document)return e&&e.ownerDocument?e.ownerDocument:document}var Ue,je=void 0;try{je=window}catch(e){}function qe(e){if(!Ke&&void 0!==je)return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:je}function Ye(e){var t=null;try{var o=qe(),t=o?o.sessionStorage.getItem(e):null}catch(e){}return t}function Ze(e,t){var o;try{null===(o=qe())||void 0===o||o.sessionStorage.setItem(e,t)}catch(e){}}var Xe="language";function Qe(e){var t;return void 0===e&&(e="sessionStorage"),void 0===Ue&&(t=gt(),e="localStorage"===e?function(){var e=null;try{var t=qe(),e=t?t.localStorage.getItem("language"):null}catch(e){}return e}():"sessionStorage"===e?Ye(Xe):void 0,void 0===(Ue=void 0===(Ue=e?e:Ue)&&t?t.documentElement.getAttribute("lang"):Ue)&&(Ue="en")),Ue}function Je(e,t){var o=gt();o&&o.documentElement.setAttribute("lang",e);t=!0===t?"none":t||"sessionStorage";"localStorage"===t?function(e){try{var t=qe();t&&t.localStorage.setItem("language",e)}catch(e){}}(e):"sessionStorage"===t&&Ze(Xe,e),Ue=e}var et=Ve(Qe());function tt(e,t,o,n){He({fontFamily:e="'"+e+"'",src:(void 0!==n?"local('"+n+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:o,fontStyle:"normal",fontDisplay:"swap"})}function ot(e,t,o,n,r){n=e+"/"+o+"/"+(n=void 0===n?"segoeui":n);tt(t,n+"-light",Fe.light,r&&r+" Light"),tt(t,n+"-semilight",Fe.semilight,r&&r+" SemiLight"),tt(t,n+"-regular",Fe.regular,r),tt(t,n+"-semibold",Fe.semibold,r&&r+" SemiBold"),tt(t,n+"-bold",Fe.bold,r&&r+" Bold")}function nt(e){e&&(ot(e=e+"/fonts",Me.Thai,"leelawadeeui-thai","leelawadeeui"),ot(e,Me.Arabic,"segoeui-arabic"),ot(e,Me.Cyrillic,"segoeui-cyrillic"),ot(e,Me.EastEuropean,"segoeui-easteuropean"),ot(e,Me.Greek,"segoeui-greek"),ot(e,Me.Hebrew,"segoeui-hebrew"),ot(e,Me.Vietnamese,"segoeui-vietnamese"),ot(e,Me.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),ot(e,Ne.Selawik,"selawik","selawik"),ot(e,Me.Armenian,"segoeui-armenian"),ot(e,Me.Georgian,"segoeui-georgian"),tt("Leelawadee UI Web",e+"/leelawadeeui-thai/leelawadeeui-semilight",Fe.light),tt("Leelawadee UI Web",e+"/leelawadeeui-thai/leelawadeeui-bold",Fe.semibold))}nt(null!==(U=null==(U=null===(U=qe())||void 0===U?void 0:U.FabricConfig)?void 0:U.fontBaseUrl)&&void 0!==U?U:"https://static2.sharepointonline.com/files/fabric/assets");var rt=H(et),it={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"},st=0,at=(lt.getValue=function(e,t){var o=ct();return void 0===o[e]&&(o[e]="function"==typeof t?t():t),o[e]},lt.setValue=function(e,t){var o=ct(),n=o.__callbacks__,r=o[e];if(t!==r){var i,s={oldValue:r,value:o[e]=t,key:e};for(i in n)n.hasOwnProperty(i)&&n[i](s)}return t},lt.addChangeListener=function(e){var t=e.__id__;ut()[t=t||(e.__id__=String(st++))]=e},lt.removeChangeListener=function(e){delete ut()[e.__id__]},lt);function lt(){}function ct(){var e,t=qe()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function ut(){return ct().__callbacks__}var dt,ft={settings:{},scopedSettings:{},inCustomizerContext:!1},vt=at.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),bt=[],yt=(wt.reset=function(){vt.settings={},vt.scopedSettings={}},wt.applySettings=function(e){vt.settings=pt(pt({},vt.settings),e),wt._raiseChange()},wt.applyScopedSettings=function(e,t){vt.scopedSettings[e]=pt(pt({},vt.scopedSettings[e]),t),wt._raiseChange()},wt.getSettings=function(e,t,o){void 0===o&&(o=ft);for(var n={},r=t&&o.scopedSettings[t]||{},i=t&&vt.scopedSettings[t]||{},s=0,a=e;s<a.length;s++){var l=a[s];n[l]=r[l]||o.settings[l]||i[l]||vt.settings[l]}return n},wt.applyBatchedUpdates=function(e,t){wt._suppressUpdates=!0;try{e()}catch(e){}wt._suppressUpdates=!1,t||wt._raiseChange()},wt.observe=function(e){bt.push(e)},wt.unobserve=function(t){bt=bt.filter(function(e){return e!==t})},wt._raiseChange=function(){wt._suppressUpdates||bt.forEach(function(e){return e()})},wt),Ct=function(){return(Ct=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},xe="undefined"==typeof window?cT.g:window,_t=xe&&xe.CSPSettings&&xe.CSPSettings.nonce,St=((ke=!(ke=xe.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState?Ct({},ke,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}):ke).registeredThemableStyles||(ke=Ct({},ke,{registeredThemableStyles:[]})),xe.__themeState__=ke),xt=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,kt=function(){return("undefined"!=typeof performance&&performance.now?performance:Date).now()};function wt(){}function It(e){var t=kt();e();e=kt();St.perf.duration+=e-t}function Dt(r,i){void 0===i&&(i=!1),It(function(){var e=Array.isArray(r)?r:function(e){var t=[];if(e){for(var o,n=0;o=xt.exec(e);){var r=o.index;n<r&&t.push({rawString:e.substring(n,r)}),t.push({theme:o[1],defaultValue:o[2]}),n=xt.lastIndex}t.push({rawString:e.substring(n)})}return t}(r),t=St.runState,o=t.mode,n=t.buffer,t=t.flushTimer;i||1===o?(n.push(e),t||(St.runState.flushTimer=setTimeout(function(){St.runState.flushTimer=0,It(function(){var e=St.runState.buffer.slice();St.runState.buffer=[];e=[].concat.apply([],e);0<e.length&&Tt(e)})},0))):Tt(e)})}function Tt(e){var t,o,n,r;St.loadStyles?St.loadStyles(Pt(e).styleString,e):(t=e,"undefined"!=typeof document&&(r=document.getElementsByTagName("head")[0],o=document.createElement("style"),e=(n=Pt(t)).styleString,n=n.themable,o.setAttribute("data-load-themed-styles","true"),o.type="text/css",_t&&o.setAttribute("nonce",_t),o.appendChild(document.createTextNode(e)),St.perf.count++,r.appendChild(o),(r=document.createEvent("HTMLEvents")).initEvent("styleinsert",!0,!1),r.args={newStyle:o},document.dispatchEvent(r),(n?St.registeredThemableStyles:St.registeredStyles).push({styleElement:o,themableStyle:t})))}function Et(e){e.forEach(function(e){e=e&&e.styleElement;e&&e.parentElement&&e.parentElement.removeChild(e)})}function Pt(e){var r=St.theme,i=!1;return{styleString:(e||[]).map(function(e){var t=e.theme;if(t){i=!0;var o=r?r[t]:void 0,n=e.defaultValue||"inherit";return!r||o||!console||t in r||"undefined"==typeof DEBUG||!DEBUG||console.warn('Theming value not provided for "'+t+'". Falling back to "'+n+'".'),o||n}return e.rawString}).join(""),themable:i}}(W=dt=dt||{}).depth0="0 0 0 0 transparent",W.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",W.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",W.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",W.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)";var Rt={elevation4:dt.depth4,elevation8:dt.depth8,elevation16:dt.depth16,elevation64:dt.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};function Mt(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var n=0,r=t;n<r.length;n++)!function e(t,o,n){for(var r in void 0===n&&(n=[]),n.push(o),o){var i,s;o.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&("object"!=typeof(i=o[r])||null===i||Array.isArray(i)?t[r]=i:(s=-1<n.indexOf(i),t[r]=s?i:e(t[r]||{},i,n)))}return n.pop(),t}(e||{},r[n]);return e}function Nt(e,t,o,n,r){void 0===r&&(r=!1);var i={},s=e||{},a=s.white,l=s.black,c=s.themePrimary,u=s.themeDark,d=s.themeDarker,p=s.themeDarkAlt,h=s.themeLighter,m=s.neutralLight,g=s.neutralLighter,f=s.neutralDark,v=s.neutralQuaternary,b=s.neutralQuaternaryAlt,y=s.neutralPrimary,C=s.neutralSecondary,_=s.neutralSecondaryAlt,S=s.neutralTertiary,r=s.neutralTertiaryAlt,e=s.neutralLighterAlt,s=s.accent;return a&&(i.bodyBackground=a,i.bodyFrameBackground=a,i.accentButtonText=a,i.buttonBackground=a,i.primaryButtonText=a,i.primaryButtonTextHovered=a,i.primaryButtonTextPressed=a,i.inputBackground=a,i.inputForegroundChecked=a,i.listBackground=a,i.menuBackground=a,i.cardStandoutBackground=a),l&&(i.bodyTextChecked=l,i.buttonTextCheckedHovered=l),c&&(i.link=c,i.primaryButtonBackground=c,i.inputBackgroundChecked=c,i.inputIcon=c,i.inputFocusBorderAlt=c,i.menuIcon=c,i.menuHeader=c,i.accentButtonBackground=c),u&&(i.primaryButtonBackgroundPressed=u,i.inputBackgroundCheckedHovered=u,i.inputIconHovered=u),d&&(i.linkHovered=d),p&&(i.primaryButtonBackgroundHovered=p),h&&(i.inputPlaceholderBackgroundChecked=h),m&&(i.bodyBackgroundChecked=m,i.bodyFrameDivider=m,i.bodyDivider=m,i.variantBorder=m,i.buttonBackgroundCheckedHovered=m,i.buttonBackgroundPressed=m,i.listItemBackgroundChecked=m,i.listHeaderBackgroundPressed=m,i.menuItemBackgroundPressed=m,i.menuItemBackgroundChecked=m),g&&(i.bodyBackgroundHovered=g,i.buttonBackgroundHovered=g,i.buttonBackgroundDisabled=g,i.buttonBorderDisabled=g,i.primaryButtonBackgroundDisabled=g,i.disabledBackground=g,i.listItemBackgroundHovered=g,i.listHeaderBackgroundHovered=g,i.menuItemBackgroundHovered=g),v&&(i.primaryButtonTextDisabled=v,i.disabledSubtext=v),b&&(i.listItemBackgroundCheckedHovered=b),S&&(i.disabledBodyText=S,i.variantBorderHovered=(null==o?void 0:o.variantBorderHovered)||S,i.buttonTextDisabled=S,i.inputIconDisabled=S,i.disabledText=S),y&&(i.bodyText=y,i.actionLink=y,i.buttonText=y,i.inputBorderHovered=y,i.inputText=y,i.listText=y,i.menuItemText=y),e&&(i.bodyStandoutBackground=e,i.defaultStateBackground=e),f&&(i.actionLinkHovered=f,i.buttonTextHovered=f,i.buttonTextChecked=f,i.buttonTextPressed=f,i.inputTextHovered=f,i.menuItemTextHovered=f),C&&(i.bodySubtext=C,i.focusBorder=C,i.inputBorder=C,i.smallInputBorder=C,i.inputPlaceholderText=C),_&&(i.buttonBorder=_),r&&(i.disabledBodySubtext=r,i.disabledBorder=r,i.buttonBackgroundChecked=r,i.menuDivider=r),s&&(i.accentButtonBackground=s),null!=t&&t.elevation4&&(i.cardShadow=t.elevation4),!n&&null!=t&&t.elevation8?i.cardShadowHovered=t.elevation8:i.variantBorderHovered&&(i.cardShadowHovered="0 0 1px "+i.variantBorderHovered),pt(pt({},i),o)}function Bt(e,t){var o,n=Mt({},e,t=void 0===t?{}:t,{semanticColors:Nt(t.palette,t.effects,t.semanticColors,(void 0===t.isInverted?e:t).isInverted)});if(null===(e=t.palette)||void 0===e||!e.themePrimary||null!==(e=t.palette)&&void 0!==e&&e.accent||(n.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var r=0,i=Object.keys(n.fonts);r<i.length;r++){var s=i[r];n.fonts[s]=Mt(n.fonts[s],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[s])}return n}var Ft={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function At(e,t){var o,n=!!(e=void 0===e?{}:e).isInverted;return Bt({palette:it,effects:Rt,fonts:et,spacing:Ft,isInverted:n,disableGlobalClassNames:!1,semanticColors:((o=void 0)===(t=t=void 0===t?!1:t)&&(t=!1),n=Nt(it,Rt,pt({primaryButtonBorder:"transparent",errorText:(n=n)?"#F1707B":"#a4262c",messageText:n?"#F3F2F1":"#323130",messageLink:n?"#6CB8F6":"#005A9E",messageLinkHovered:n?"#82C7FF":"#004578",infoIcon:n?"#C8C6C4":"#605e5c",errorIcon:n?"#F1707B":"#A80000",blockingIcon:n?"#442726":"#FDE7E9",warningIcon:n?"#C8C6C4":"#797775",severeWarningIcon:n?"#FCE100":"#D83B01",successIcon:n?"#92C353":"#107C10",infoBackground:n?"#323130":"#f3f2f1",errorBackground:n?"#442726":"#FDE7E9",blockingBackground:n?"#442726":"#FDE7E9",warningBackground:n?"#433519":"#FFF4CE",severeWarningBackground:n?"#4F2A0F":"#FED9CC",successBackground:n?"#393D1B":"#DFF6DD",warningHighlight:n?"#fff100":"#ffb900",successText:n?"#92c353":"#107C10"},o),n),t=!0===t?" /* @deprecated */":"",n.listTextColor=n.listText+t,n.menuItemBackgroundChecked+=t,n.warningHighlight+=t,n.warningText=n.messageText+t,n.successText+=t,n),rtl:void 0},e)}var Lt=At({}),Ht=[],Ot="theme";function zt(){var e,t;yt.getSettings([Ot]).theme||(null!==(e=null==(t=qe())?void 0:t.FabricConfig)&&void 0!==e&&e.theme&&(Lt=At(t.FabricConfig.theme)),yt.applySettings(((t={})[Ot]=Lt,t)))}function Wt(e){return Lt=!0===(e=void 0===e?!1:e)?At({},e):Lt}function Vt(e){-1===Ht.indexOf(e)&&Ht.push(e)}function Kt(e){e=Ht.indexOf(e);-1!==e&&Ht.splice(e,1)}function Gt(e,t){return Lt=At(e,t=void 0===t?!1:t),t=pt(pt(pt(pt({},Lt.palette),Lt.semanticColors),Lt.effects),function(e){for(var t={},o=0,n=Object.keys(e.fonts);o<n.length;o++)for(var r=n[o],i=e.fonts[r],s=0,a=Object.keys(i);s<a.length;s++){var l=a[s],c=r+l.charAt(0).toUpperCase()+l.slice(1),u=i[l];"fontSize"===l&&"number"==typeof u&&(u+="px"),t[c]=u}return t}(Lt)),St.theme=t,function(){if(St.theme){for(var e=[],t=0,o=St.registeredThemableStyles;t<o.length;t++){var n=o[t];e.push(n.themableStyle)}0<e.length&&(3!==(r=1)&&2!==r||(Et(St.registeredStyles),St.registeredStyles=[]),3!==r&&1!==r||(Et(St.registeredThemableStyles),St.registeredThemableStyles=[]),Tt([].concat.apply([],e)))}var r}(),yt.applySettings(((t={})[Ot]=Lt,t)),Ht.forEach(function(e){try{e(Lt)}catch(e){}}),Lt}zt();var Ut,jt={};for(Ut in it)it.hasOwnProperty(Ut)&&(qt(jt,Ut,"",!1,"color"),qt(jt,Ut,"Hover",!0,"color"),qt(jt,Ut,"Background",!1,"background"),qt(jt,Ut,"BackgroundHover",!0,"background"),qt(jt,Ut,"Border",!1,"borderColor"),qt(jt,Ut,"BorderHover",!0,"borderColor"));function qt(e,t,o,n,r){Object.defineProperty(e,t+o,{get:function(){var e=((e={})[r]=Wt().palette[t],e);return j(n?{selectors:{":hover":e}}:e).toString()},enumerable:!0,configurable:!0})}var Yt="@media screen and (-ms-high-contrast: active), (forced-colors: active)",Zt="@media screen and (-ms-high-contrast: black-on-white), (forced-colors: black-on-white)",Xt="@media screen and (-ms-high-contrast: white-on-black), (forced-colors: white-on-black)",Qt="@media screen and (forced-colors: active)",Jt=320,$t=480,eo=640,to=1024,oo=1366,no=1920,ro=$t-1,io=eo-1,so=to-1,ao=oo-1,lo=no-1,co=768;function uo(e,t){return"@media only screen"+("number"==typeof e?" and (min-width: "+e+"px)":"")+("number"==typeof t?" and (max-width: "+t+"px)":"")}function po(){return{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}}function ho(){var e;return(e={})[Qt]={forcedColorAdjust:"none"},e}var mo,go="ms-Fabric--isFocusVisible",fo="ms-Fabric--isFocusHidden";function vo(e,t){t=t?qe(t):qe();t&&((t=t.document.body.classList).add(e?go:fo),t.remove(e?fo:go))}function bo(e,t,o,n,r,i,s){return t=(a=void 0===(a="number"!=typeof t&&t?t:{inset:t,position:o,highContrastStyle:n,borderColor:r,outlineColor:i,isFocusedOnly:s})?{}:a).inset,o=void 0===t?0:t,n=a.width,r=void 0===n?1:n,i=a.position,s=a.highContrastStyle,t=a.borderColor,n=void 0===t?e.palette.white:t,t=void 0===(t=a.outlineColor)?e.palette.neutralSecondary:t,a=a.isFocusedOnly,{outline:"transparent",position:void 0===i?"relative":i,selectors:((i={"::-moz-focus-inner":{border:"0"}})["."+go+" &"+(void 0===a||a?":focus":"")+":after"]={content:'""',position:"absolute",left:o+1,top:o+1,bottom:o+1,right:o+1,border:r+"px solid "+n,outline:r+"px solid "+t,zIndex:mo.FocusStyle,selectors:((t={})[Yt]=s,t)},i)};var a}function yo(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}function Co(e,t,o,n){var r;return{selectors:((r={})[":global("+go+") &:focus"]={outline:(o=void 0===o?1:o)+" solid "+(n||e.palette.neutralSecondary),outlineOffset:-(t=void 0===t?0:t)+"px"},r)}}(q=mo=mo||{}).Nav=1,q.ScrollablePane=1,q.FocusStyle=1,q.Coachmark=1e3,q.Layer=1e6,q.KeytipLayer=1000001;var _o=function(e,t,o,n){void 0===n&&(n=-1);var r="borderBottom"===(o=void 0===o?"border":o);return{borderColor:e,selectors:{":after":((n={pointerEvents:"none",content:"''",position:"absolute",left:r?0:n,top:n,bottom:n,right:r?0:n})[o]="2px solid "+e,n.borderRadius=t,n.width="borderBottom"===o?"100%":void 0,n.selectors=((e={})[Yt]=((t={})["border"===o?"borderColor":"borderBottomColor"]="Highlight",t),e),n)}}},So={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"};function xo(e,t){return{borderColor:e,borderWidth:"0px",width:t,height:t}}function ko(e){return{opacity:1,borderWidth:e}}function wo(e,t){return{borderWidth:"0",width:t,height:t,opacity:0,borderColor:e}}function Io(e,t){return pt(pt({},xo(e,t)),{opacity:0})}var Do={continuousPulseAnimationDouble:function(e,t,o,n,r){return O({"0%":xo(e,o),"1.42%":ko(r),"3.57%":{opacity:1},"7.14%":wo(t,n),"8%":Io(e,o),"29.99%":Io(e,o),"30%":xo(e,o),"31.42%":ko(r),"33.57%":{opacity:1},"37.14%":wo(t,n),"38%":Io(e,o),"79.42%":Io(e,o),79.43:xo(e,o),81.85:ko(r),83.42:{opacity:1},"87%":wo(t,n),"100%":{}})},continuousPulseAnimationSingle:function(e,t,o,n,r){return O({"0%":xo(e,o),"14.2%":ko(r),"35.7%":{opacity:1},"71.4%":wo(t,n),"100%":{}})},createDefaultAnimation:function(e,t){return{animationName:e,animationIterationCount:"1",animationDuration:"14s",animationDelay:t||"2s"}}},To=!1,Eo=0,Po={empty:!0},Ro={},Mo="undefined"==typeof WeakMap?null:WeakMap;function No(e){Mo=e}function Bo(){Eo++}function Fo(e,t,o){var n=Ao(o.value&&o.value.bind(null));return{configurable:!0,get:function(){return n}}}function Ao(i,s,a){if(void 0===s&&(s=100),void 0===a&&(a=!1),!Mo)return i;var e;To||((e=v.getInstance())&&e.onReset&&v.getInstance().onReset(Bo),To=!0);var l,c=0,u=Eo;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=l;(void 0===l||u!==Eo||0<s&&s<c)&&(l=Ho(),c=0,u=Eo);for(var o=l,n=0;n<e.length;n++){var r=(r=e[n])?"object"==typeof r||"function"==typeof r?r:(Ro[r]||(Ro[r]={val:r}),Ro[r]):Po;o.map.has(r)||o.map.set(r,Ho()),o=o.map.get(r)}return o.hasOwnProperty("value")||(o.value=i.apply(void 0,e),c++),!a||null!==o.value&&void 0!==o.value||(o.value=i.apply(void 0,e)),o.value}}function Lo(o){if(!Mo)return o;var n=new Mo;return function(e){if(!e||"function"!=typeof e&&"object"!=typeof e)return o(e);if(n.has(e))return n.get(e);var t=o(e);return n.set(e,t),t}}function Ho(){return{map:Mo?new Mo:null}}var Oo=Ao(function(o,e){var n=v.getInstance();return e?Object.keys(o).reduce(function(e,t){return e[t]=n.getClassName(o[t]),e},{}):o});function zo(e,t,o){return Oo(e,void 0!==o?o:t.disableGlobalClassNames)}function Wo(e,t){return(Ko(t)?t:(o=t,function(e){return o?pt(pt({},e),o):e}))(e=void 0===e?{}:e);var o}function Vo(e,t){return(Ko(t)?t:(void 0===(n=t)&&(n={}),function(e){var t,o=pt({},e);for(t in n)n.hasOwnProperty(t)&&(o[t]=pt(pt({},e[t]),n[t]));return o}))(e=void 0===e?{}:e);var n}function Ko(e){return"function"==typeof e}function Go(e,t,o){var n,r=e,i=o||yt.getSettings(["theme"],void 0,e.customizations).theme;o&&(n={theme:o});t=t&&i&&i.schemes&&i.schemes[t];return i&&t&&i!==t&&((n={theme:t}).theme.schemes=i.schemes),r=n?{customizations:{settings:Wo(e.customizations.settings,n),scopedSettings:e.customizations.scopedSettings}}:r}var Uo={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},jo={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function qo(e,t,o,n,r){void 0===o&&(o="horizontal"),void 0===n&&(n=Yo("width",o)),void 0===r&&(r=Yo("height",o));e=e.semanticColors[t=void 0===t?"bodyBackground":t]||e.palette[t],t=function(e){if("#"===e[0])return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)};if(0!==e.indexOf("rgba("))return{r:255,g:255,b:255};e=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:e[0],g:e[1],b:e[2]}}(e);return{content:'""',position:"absolute",right:0,bottom:0,width:n,height:r,pointerEvents:"none",backgroundImage:"linear-gradient("+("vertical"===o?"to bottom":"to right")+", rgba("+t.r+", "+t.g+", "+t.b+", 0) 0%, "+e+" 100%)"}}function Yo(e,t){return"width"===e?"horizontal"===t?20:"100%":"vertical"===t?"50%":"100%"}function Zo(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}function Xo(e){console&&console.warn&&console.warn(e)}function Qo(e){}var Jo=at.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),V=v.getInstance();V&&V.onReset&&V.onReset(function(){for(var e in Jo)Jo.hasOwnProperty(e)&&Jo[e].subset&&(Jo[e].subset.className=void 0)});var $o=function(e){return e.toLowerCase()};function en(e,t){var o,n,r,i,s=pt(pt({},e),{isRegistered:!1,className:void 0}),a=e.icons;for(o in t=t?pt(pt({},Jo.__options),t):Jo.__options,a)a.hasOwnProperty(o)&&(n=a[o],r=$o(o),Jo[r]?(i=o,Jo.__options.disableWarnings||(sn.push(i),void 0===an&&(an=setTimeout(function(){Xo("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+sn.slice(0,10).join(", ")+(10<sn.length?" (+ "+(sn.length-10)+" more)":"")),an=void 0,sn=[]},2e3)))):Jo[r]={code:n,subset:s})}function tn(e){for(var o=Jo.__options,t=0,n=e;t<n.length;t++)!function(e){var t=$o(e);Jo[t]?delete Jo[t]:o.disableWarnings||Xo('The icon "'+e+'" tried to unregister but was not registered.'),Jo.__remapped[t]&&delete Jo.__remapped[t],Object.keys(Jo.__remapped).forEach(function(e){Jo.__remapped[e]===t&&delete Jo.__remapped[e]})}(n[t])}function on(e,t){Jo.__remapped[$o(e)]=$o(t)}function nn(e){var t,o=void 0,n=Jo.__options;return e=e?$o(e):"",(e=Jo.__remapped[e]||e)&&((o=Jo[e])?(t=o.subset)&&t.fontFace&&(t.isRegistered||(He(t.fontFace),t.isRegistered=!0),t.className||(t.className=j(t.style,{fontFamily:t.fontFace.fontFamily,fontWeight:t.fontFace.fontWeight||"normal",fontStyle:t.fontFace.fontStyle||"normal"}))):!n.disableWarnings&&n.warnOnMissingIcons&&Xo('The icon "'+e+'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.')),o}function rn(e){Jo.__options=pt(pt({},Jo.__options),e)}var sn=[],an=void 0;var ln={display:"inline-block"};function cn(e){var t="",e=nn(e);return t=e?j(e.subset.className,ln,{selectors:{"::before":{content:'"'+e.code+'"'}}}):t}function un(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var o={},n={},r=0,i=e;r<i.length;r++){var s=i[r];if(s)for(var a in s)if(s.hasOwnProperty(a)){if("subComponentStyles"===a&&void 0!==s.subComponentStyles){var l=s.subComponentStyles;for(d in l)l.hasOwnProperty(d)&&(n.hasOwnProperty(d)?n[d].push(l[d]):n[d]=[l[d]]);continue}var c=o[a],u=s[a];o[a]=void 0===c?u:$e(Array.isArray(c)?c:[c],Array.isArray(u)?u:[u])}}if(0<Object.keys(n).length){o.subComponentStyles={};var d,p=o.subComponentStyles;for(d in n)!function(e){var o;n.hasOwnProperty(e)&&(o=n[e],p[e]=function(t){return un.apply(void 0,o.map(function(e){return"function"==typeof e?e(t):e}))})}(d)}return o}function dn(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var n=[],r=0,i=t;r<i.length;r++){var s=i[r];s&&n.push("function"==typeof s?s(e):s)}return 1===n.length?n[0]:n.length?un.apply(void 0,n):{}}function pn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return hn(e,y())}function hn(e,t){var o={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var n,r=un.apply(void 0,e),i=[];for(n in r)if(r.hasOwnProperty(n)){if("subComponentStyles"===n){o.subComponentStyles=r.subComponentStyles||{};continue}var s=g(r[n]),a=s.classes,s=s.objects;null!=s&&s.length?(l=F(t||{},{displayName:n},s))&&(i.push(l),o[n]=a.concat([l.className]).join(" ")):o[n]=a.join(" ")}for(var l,c=0,u=i;c<u.length;c++)(l=u[c])&&A(l,null==t?void 0:t.specificityMultiplier);return o}var mn={},gn=void 0;try{gn=window}catch(e){}function fn(e,t){var o;void 0!==gn&&((o=gn.__packages__=gn.__packages__||{})[e]&&mn[e]||(mn[e]=t,(o[e]=o[e]||[]).push(t)))}fn("@fluentui/set-version","6.0.0"),fn("@fluentui/style-utilities","8.3.4"),zt();var vn=Ao(function(e,t,o,n){return{root:j("ms-ActivityItem",t,e.root,n&&e.isCompactRoot),pulsingBeacon:j("ms-ActivityItem-pulsingBeacon",e.pulsingBeacon),personaContainer:j("ms-ActivityItem-personaContainer",e.personaContainer,n&&e.isCompactPersonaContainer),activityPersona:j("ms-ActivityItem-activityPersona",e.activityPersona,n&&e.isCompactPersona,!n&&o&&2===o.length&&e.doublePersona),activityTypeIcon:j("ms-ActivityItem-activityTypeIcon",e.activityTypeIcon,n&&e.isCompactIcon),activityContent:j("ms-ActivityItem-activityContent",e.activityContent,n&&e.isCompactContent),activityText:j("ms-ActivityItem-activityText",e.activityText),commentText:j("ms-ActivityItem-commentText",e.commentText),timeStamp:j("ms-ActivityItem-timeStamp",e.timeStamp,n&&e.isCompactTimeStamp)}}),bn="32px",yn="16px",Cn=Ao(function(){return O({from:{opacity:0},to:{opacity:1}})}),_n=Ao(function(){return O({from:{transform:"translateX(-10px)"},to:{transform:"translateX(0)"}})}),Sn=Ao(function(e,t,o,n,r,i){void 0===e&&(e=Wt());var s={animationName:Do.continuousPulseAnimationSingle(n||e.palette.themePrimary,r||e.palette.themeTertiary,"4px","28px","4px"),animationIterationCount:"1",animationDuration:".8s",zIndex:1},n={animationName:_n(),animationIterationCount:"1",animationDuration:".5s"},r={animationName:Cn(),animationIterationCount:"1",animationDuration:".5s"};return un({root:[e.fonts.small,{display:"flex",justifyContent:"flex-start",alignItems:"flex-start",boxSizing:"border-box",color:e.palette.neutralSecondary},i&&o&&r],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:0},i&&o&&s],isCompactRoot:{alignItems:"center"},personaContainer:{display:"flex",flexWrap:"wrap",minWidth:bn,width:bn,height:bn},isCompactPersonaContainer:{display:"inline-flex",flexWrap:"nowrap",flexBasis:"auto",height:yn,width:"auto",minWidth:"0",paddingRight:"6px"},activityTypeIcon:{height:bn,fontSize:"16px",lineHeight:"16px",marginTop:"3px"},isCompactIcon:{height:yn,minWidth:yn,fontSize:"13px",lineHeight:"13px",color:e.palette.themePrimary,marginTop:"1px",position:"relative",display:"flex",justifyContent:"center",alignItems:"center",selectors:{".ms-Persona-imageArea":{margin:"-2px 0 0 -2px",border:"2px solid"+e.palette.white,borderRadius:"50%",selectors:((s={})[Yt]={border:"none",margin:"0"},s)}}},activityPersona:{display:"block"},doublePersona:{selectors:{":first-child":{alignSelf:"flex-end"}}},isCompactPersona:{display:"inline-block",width:"8px",minWidth:"8px",overflow:"visible"},activityContent:[{padding:"0 8px"},i&&o&&n],activityText:{display:"inline"},isCompactContent:{flex:"1",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflowX:"hidden"},commentText:{color:e.palette.neutralPrimary},timeStamp:[e.fonts.tiny,{fontWeight:400,color:e.palette.neutralSecondary}],isCompactTimeStamp:{display:"inline-block",paddingLeft:"0.3em",fontSize:"1em"}},t)}),xn=mt.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function kn(e,t){var o,n=(o=mt.useState(0)[1],function(){return o(function(e){return++e})}),r=mt.useContext(xn).customizations,i=r.inCustomizerContext;return mt.useEffect(function(){return i||yt.observe(n),function(){i||yt.unobserve(n)}},[i]),yt.getSettings(e,t,r)}var wn=["theme","styles"];function In(a,l,c,e,t){var u=(e=e||{scope:"",fields:void 0}).scope,e=e.fields,d=void 0===e?wn:e,e=mt.forwardRef(function(t,e){var o=mt.useRef(),n=kn(d,u),r=n.styles,i=(n.dir,ht(n,["styles","dir"])),s=c?c(t):void 0,n=o.current&&o.current.__cachedInputs__||[];return o.current&&r===n[1]&&t.styles===n[2]||((n=function(e){return dn(e,l,r,t.styles)}).__cachedInputs__=[l,r,t.styles],n.__noStyleOverride__=!r&&!t.styles,o.current=n),mt.createElement(a,pt({ref:e},i,s,t,{styles:o.current}))});e.displayName="Styled"+(a.displayName||a.name);t=t?mt.memo(e):e;return e.displayName&&(t.displayName=e.displayName),t}var Dn,Tn={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,colon:58,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222},En="isRTL";function Pn(e){return void 0!==(e=void 0===e?{}:e).rtl?e.rtl:(void 0===Dn&&(null!==(e=Ye(En))&&Rn(Dn="1"===e),e=gt(),void 0===Dn&&e&&f(Dn="rtl"===(e.body&&e.body.getAttribute("dir")||e.documentElement.getAttribute("dir")))),!!Dn)}function Rn(e,t){void 0===t&&(t=!1);var o=gt();o&&o.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&Ze(En,e?"1":"0"),f(Dn=e)}function Mn(e,t){return Pn(t=void 0===t?{}:t)&&(e===Tn.left?e=Tn.right:e===Tn.right&&(e=Tn.left)),e}var Nn=0,K=v.getInstance();K&&K.onReset&&K.onReset(function(){return Nn++});var Bn="__retval__";function Fn(i){void 0===i&&(i={});var s=new Map,a=0,l=0,c=Nn;return function(e,t){if(void 0===t&&(t={}),i.useStaticStyles&&"function"==typeof e&&e.__noStyleOverride__)return e(t);l++;var o=s,n=t.theme,r=n&&void 0!==n.rtl?n.rtl:Pn(),n=i.disableCaching;return c!==Nn&&(c=Nn,s=new Map,a=0),i.disableCaching||(o=Ln(s,e),o=Ln(o,t)),!n&&o[Bn]||(o[Bn]=void 0===e?{}:hn(["function"==typeof e?e(t):e],{rtl:!!r,specificityMultiplier:i.useStaticStyles?5:void 0}),n||a++),a>(i.cacheSize||50)&&(null!==(n=null==(n=qe())?void 0:n.FabricConfig)&&void 0!==n&&n.enableClassNameCacheFullWarning&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is "+a+"/"+l+"."),console.trace()),s.clear(),a=0,i.disableCaching=!0),o[Bn]}}function An(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function Ln(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var o=0,n=t.__cachedInputs__;o<n.length;o++)e=An(e,n[o]);else e=An(e,t);else if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=An(e,t[r]));return e}function Hn(e,t){for(var o=pt({},t),n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];void 0===o[i]&&(o[i]=e[i])}return o}var G=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o={},n=0,r=e;n<r.length;n++)for(var i=r[n],s=0,a=Array.isArray(i)?i:Object.keys(i);s<a.length;s++)o[a[s]]=1;return o},On=G(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),zn=G(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Wn=G(zn,On),Vn=G(Wn,["form"]),Kn=G(Wn,["height","loop","muted","preload","src","width"]),Gn=G(Kn,["poster"]),Un=G(Wn,["start"]),jn=G(Wn,["value"]),qn=G(Wn,["download","href","hrefLang","media","rel","target","type"]),Yn=G(Wn,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),Zn=G(Yn,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Xn=G(Yn,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),Qn=G(Yn,["form","multiple","required"]),Jn=G(Wn,["selected","value"]),$n=G(Wn,["cellPadding","cellSpacing"]),er=Wn,tr=G(Wn,["rowSpan","scope"]),or=G(Wn,["colSpan","headers","rowSpan","scope"]),nr=G(Wn,["span"]),rr=G(Wn,["span"]),ir=G(Wn,["acceptCharset","action","encType","encType","method","noValidate","target"]),sr=G(Wn,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ar=G(Wn,["alt","crossOrigin","height","src","srcSet","useMap","width"]),lr=ar,cr=Wn;function ur(e,t,o){for(var n=Array.isArray(t),r={},i=0,s=Object.keys(e);i<s.length;i++){var a=s[i];!(!n&&t[a]||n&&0<=t.indexOf(a)||0===a.indexOf("data-")||0===a.indexOf("aria-"))||o&&-1!==(null==o?void 0:o.indexOf(a))||(r[a]=e[a])}return r}var dr,pr,hr,mr,gr=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,fr=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,vr=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,br=/\s+/g,yr=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Cr(e,t,o){return e?(e=e.replace(gr,"").replace(fr,"").replace(br," ").trim(),yr.test(e)||!o&&vr.test(e)?"":(o=t,t="",2===(e=e.split(" ")).length?(t+=e[0].charAt(0).toUpperCase(),t+=e[1].charAt(0).toUpperCase()):3===e.length?(t+=e[0].charAt(0).toUpperCase(),t+=e[2].charAt(0).toUpperCase()):0!==e.length&&(t+=e[0].charAt(0).toUpperCase()),o&&1<t.length?t.charAt(1)+t.charAt(0):t)):""}function _r(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var i=mt.useCallback(function(e){i.current=e;for(var t=0,o=r;t<o.length;t++){var n=o[t];"function"==typeof n?n(e):n&&(n.current=e)}},$e(r));return i}(Y=dr=dr||{})[Y.default=0]="default",Y[Y.image=1]="image",Y[Y.Default=1e5]="Default",Y[Y.Image=100001]="Image",(U=pr=pr||{})[U.center=0]="center",U[U.contain=1]="contain",U[U.cover=2]="cover",U[U.none=3]="none",U[U.centerCover=4]="centerCover",U[U.centerContain=5]="centerContain",(xe=hr=hr||{})[xe.landscape=0]="landscape",xe[xe.portrait=1]="portrait",(ke=mr=mr||{})[ke.notLoaded=0]="notLoaded",ke[ke.loaded=1]="loaded",ke[ke.error=2]="error",ke[ke.errorLoaded=3]="errorLoaded";var Sr=Fn(),xr=/\.svg$/i,kr=mt.forwardRef(function(c,e){var n,r,i,s,t=mt.useRef(),o=mt.useRef(),a=function(e){var t=c.onLoadingStateChange,o=c.onLoad,n=c.onError,r=c.src,i=mt.useState(mr.notLoaded),s=i[0],a=i[1];mt.useLayoutEffect(function(){a(mr.notLoaded)},[r]),mt.useEffect(function(){s===mr.notLoaded&&e.current&&(r&&0<e.current.naturalWidth&&0<e.current.naturalHeight||e.current.complete&&xr.test(r))&&a(mr.loaded)}),mt.useEffect(function(){null==t||t(s)},[s]);var l=mt.useCallback(function(e){null==o||o(e),r&&a(mr.loaded)},[r,o]),i=mt.useCallback(function(e){null==n||n(e),a(mr.error)},[n]);return[s,l,i]}(o),l=a[0],u=a[1],d=a[2],p=ur(c,ar,["width","height"]),h=c.src,m=c.alt,g=c.width,f=c.height,v=c.shouldFadeIn,b=void 0===v||v,y=c.shouldStartVisible,C=c.className,_=c.imageFit,S=c.role,x=c.maximizeFrame,k=c.styles,w=c.theme,I=c.loading,v=(n=c,r=l,i=o,s=t,a=mt.useRef(r),(void 0===(v=mt.useRef())||a.current===mr.notLoaded&&r===mr.loaded)&&(v.current=function(){var e=n.imageFit,t=n.width,o=n.height;if(void 0!==n.coverStyle)return n.coverStyle;if(r===mr.loaded&&(e===pr.cover||e===pr.contain||e===pr.centerContain||e===pr.centerCover)&&i.current&&s.current){o="number"==typeof t&&"number"==typeof o&&e!==pr.centerContain&&e!==pr.centerCover?t/o:s.current.clientWidth/s.current.clientHeight;if(i.current.naturalWidth/i.current.naturalHeight>o)return hr.landscape}return hr.portrait}()),a.current=r,v.current),_=Sr(k,{theme:w,className:C,width:g,height:f,maximizeFrame:x,shouldFadeIn:b,shouldStartVisible:y,isLoaded:l===mr.loaded||l===mr.notLoaded&&c.shouldStartVisible,isLandscape:v===hr.landscape,isCenter:_===pr.center,isCenterContain:_===pr.centerContain,isCenterCover:_===pr.centerCover,isContain:_===pr.contain,isCover:_===pr.cover,isNone:_===pr.none,isError:l===mr.error,isNotImageFit:void 0===_});return mt.createElement("div",{className:_.root,style:{width:g,height:f},ref:t},mt.createElement("img",pt({},p,{onLoad:u,onError:d,key:"fabricImage"+c.src||"",className:_.image,ref:_r(o,e),src:h,alt:m,role:S,loading:I})))});kr.displayName="ImageBase";var wr={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},Ir=In(kr,function(e){var t=e.className,o=e.width,n=e.height,r=e.maximizeFrame,i=e.isLoaded,s=e.shouldFadeIn,a=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,h=e.isCenterCover,m=e.isNone,g=e.isError,f=e.isNotImageFit,v=e.theme,b=zo(wr,v),y={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},C=qe(),e=void 0!==C&&void 0===C.navigator.msMaxTouchPoints,C=u&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[b.root,v.fonts.medium,{overflow:"hidden"},r&&[b.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&s&&!a&&Le.fadeIn400,(c||u||d||p||h)&&{position:"relative"},t],image:[b.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],c&&[b.imageCenter,y],u&&[b.imageContain,e&&{width:"100%",height:"100%",objectFit:"contain"},!e&&C,!e&&y],d&&[b.imageCover,e&&{width:"100%",height:"100%",objectFit:"cover"},!e&&C,!e&&y],p&&[b.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},y],h&&[b.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},y],m&&[b.imageNone,{width:"auto",height:"auto"}],f&&[!!o&&!n&&{height:"auto",width:"100%"},!o&&!!n&&{height:"100%",width:"auto"},!!o&&!!n&&{height:"100%",width:"100%"}],l&&b.imageLandscape,!l&&b.imagePortrait,!i&&"is-notLoaded",s&&"is-fadeIn",g&&"is-error"]}},void 0,{scope:"Image"},!0);Ir.displayName="Image";var Dr=pn({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),Tr="ms-Icon";function Er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o=[],n=0,r=e;n<r.length;n++){var i=r[n];if(i)if("string"==typeof i)o.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)o.push(i.toString());else for(var s in i)i[s]&&o.push(s)}return o.join(" ")}var Pr,Rr,Mr,Nr,Br,Fr,Ar=Ao(function(e){var t=nn(e)||{subset:{},code:void 0},e=t.code,t=t.subset;return e?{children:e,iconClassName:t.className,fontFamily:t.fontFace&&t.fontFace.fontFamily,mergeImageProps:t.mergeImageProps}:null},void 0,!0),Lr=function(e){var t=e.iconName,o=e.className,n=e.style,r=void 0===n?{}:n,i=Ar(t)||{},s=i.iconClassName,a=i.children,l=i.fontFamily,c=i.mergeImageProps,u=ur(e,Wn),n=e["aria-label"]||e.title,i=e["aria-label"]||e["aria-labelledby"]||e.title?{role:c?void 0:"img"}:{"aria-hidden":!0},e=a;return c&&"object"==typeof a&&"object"==typeof a.props&&n&&(e=mt.cloneElement(a,{alt:n})),mt.createElement("i",pt({"data-icon-name":t},i,u,c?{title:void 0,"aria-label":void 0}:{},{className:Er(Tr,Dr.root,s,!t&&Dr.placeholder,o),style:pt({fontFamily:l},r)}),e)},Hr=Ao(function(e,t,o){return Lr({iconName:e,className:t,"aria-label":o})}),Or=Fn({cacheSize:100}),zr=(l(Vr,Fr=mt.Component),Vr.prototype.render=function(){var e=this.props,t=e.children,o=e.className,n=e.styles,r=e.iconName,i=e.imageErrorAs,s=e.theme,a="string"==typeof r&&0===r.length,l=!!this.props.imageProps||this.props.iconType===dr.image||this.props.iconType===dr.Image,c=Ar(r)||{},u=c.iconClassName,d=c.children,p=c.mergeImageProps,e=Or(n,{theme:s,className:o,iconClassName:u,isImage:l,isPlaceholder:a}),c=l?"span":"i",n=ur(this.props,Wn,["aria-label"]),s=this.state.imageLoadError,o=pt(pt({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),u=s&&i||Ir,a=this.props["aria-label"]||this.props.ariaLabel,s=o.alt||a||this.props.title,i=s||this.props["aria-labelledby"]||o["aria-label"]||o["aria-labelledby"]?{role:l||p?void 0:"img","aria-label":l||p?void 0:s}:{"aria-hidden":!0},a=d;return p&&d&&"object"==typeof d&&s&&(a=mt.cloneElement(d,{alt:s})),mt.createElement(c,pt({"data-icon-name":r},i,n,p?{title:void 0,"aria-label":void 0}:{},{className:e.root}),l?mt.createElement(u,pt({},o)):t||a)},Vr),Wr=In(zr,function(e){var t=e.className,o=e.iconClassName,n=e.isPlaceholder,r=e.isImage,e=e.styles;return{root:[n&&Dr.placeholder,Dr.root,r&&Dr.image,o,t,e&&e.root,e&&e.imageContainer]}},void 0,{scope:"Icon"},!0);function Vr(e){var t=Fr.call(this,e)||this;return t._onImageLoadingStateChange=function(e){t.props.imageProps&&t.props.imageProps.onLoadingStateChange&&t.props.imageProps.onLoadingStateChange(e),e===mr.error&&t.setState({imageLoadError:!0})},t.state={imageLoadError:!1},t}Wr.displayName="Icon",(W=Pr=Pr||{})[W.tiny=0]="tiny",W[W.extraExtraSmall=1]="extraExtraSmall",W[W.extraSmall=2]="extraSmall",W[W.small=3]="small",W[W.regular=4]="regular",W[W.large=5]="large",W[W.extraLarge=6]="extraLarge",W[W.size8=17]="size8",W[W.size10=9]="size10",W[W.size16=8]="size16",W[W.size24=10]="size24",W[W.size28=7]="size28",W[W.size32=11]="size32",W[W.size40=12]="size40",W[W.size48=13]="size48",W[W.size56=16]="size56",W[W.size72=14]="size72",W[W.size100=15]="size100",W[W.size120=18]="size120",(q=Rr=Rr||{})[q.none=0]="none",q[q.offline=1]="offline",q[q.online=2]="online",q[q.away=3]="away",q[q.dnd=4]="dnd",q[q.blocked=5]="blocked",q[q.busy=6]="busy",(V=Mr=Mr||{})[V.lightBlue=0]="lightBlue",V[V.blue=1]="blue",V[V.darkBlue=2]="darkBlue",V[V.teal=3]="teal",V[V.lightGreen=4]="lightGreen",V[V.green=5]="green",V[V.darkGreen=6]="darkGreen",V[V.lightPink=7]="lightPink",V[V.pink=8]="pink",V[V.magenta=9]="magenta",V[V.purple=10]="purple",V[V.black=11]="black",V[V.orange=12]="orange",V[V.red=13]="red",V[V.darkRed=14]="darkRed",V[V.transparent=15]="transparent",V[V.violet=16]="violet",V[V.lightRed=17]="lightRed",V[V.gold=18]="gold",V[V.burgundy=19]="burgundy",V[V.warmGray=20]="warmGray",V[V.coolGray=21]="coolGray",V[V.gray=22]="gray",V[V.cyan=23]="cyan",V[V.rust=24]="rust",(K=Nr=Nr||{}).size8="20px",K.size10="20px",K.size16="16px",K.size24="24px",K.size28="28px",K.size32="32px",K.size40="40px",K.size48="48px",K.size56="56px",K.size72="72px",K.size100="100px",K.size120="120px",(G=Br=Br||{}).size6="6px",G.size8="8px",G.size12="12px",G.size16="16px",G.size20="20px",G.size28="28px",G.size32="32px",G.border="2px";var Kr=function(e){return{isSize8:e===Pr.size8,isSize10:e===Pr.size10||e===Pr.tiny,isSize16:e===Pr.size16,isSize24:e===Pr.size24||e===Pr.extraExtraSmall,isSize28:e===Pr.size28||e===Pr.extraSmall,isSize32:e===Pr.size32,isSize40:e===Pr.size40||e===Pr.small,isSize48:e===Pr.size48||e===Pr.regular,isSize56:e===Pr.size56,isSize72:e===Pr.size72||e===Pr.large,isSize100:e===Pr.size100||e===Pr.extraLarge,isSize120:e===Pr.size120}},Gr=((Y={})[Pr.tiny]=10,Y[Pr.extraExtraSmall]=24,Y[Pr.extraSmall]=28,Y[Pr.small]=40,Y[Pr.regular]=48,Y[Pr.large]=72,Y[Pr.extraLarge]=100,Y[Pr.size8]=8,Y[Pr.size10]=10,Y[Pr.size16]=16,Y[Pr.size24]=24,Y[Pr.size28]=28,Y[Pr.size32]=32,Y[Pr.size40]=40,Y[Pr.size48]=48,Y[Pr.size56]=56,Y[Pr.size72]=72,Y[Pr.size100]=100,Y[Pr.size120]=120,Y),Ur=function(e){return{isAvailable:e===Rr.online,isAway:e===Rr.away,isBlocked:e===Rr.blocked,isBusy:e===Rr.busy,isDoNotDisturb:e===Rr.dnd,isOffline:e===Rr.offline}},jr=Fn({cacheSize:100}),U=mt.forwardRef(function(e,t){var o=e.coinSize,n=e.isOutOfOffice,r=e.styles,i=e.presence,s=e.theme,a=e.presenceTitle,l=e.presenceColors,c=_r(t,mt.useRef(null)),u=Kr(e.size),d=!(u.isSize8||u.isSize10||u.isSize16||u.isSize24||u.isSize28||u.isSize32)&&(!o||32<o),t=o?o/3<40?o/3+"px":"40px":"",u=o?{fontSize:o?o/6<20?o/6+"px":"20px":"",lineHeight:t}:void 0,t=o?{width:t,height:t}:void 0,l=jr(r,{theme:s,presence:i,size:e.size,isOutOfOffice:n,presenceColors:l});return i===Rr.none?null:mt.createElement("div",{role:"presentation",className:l.presence,style:t,title:a,ref:c},d&&mt.createElement(Wr,{className:l.presenceIcon,iconName:function(e,t){if(e){var o="SkypeArrow";switch(Rr[e]){case"online":return"SkypeCheck";case"away":return t?o:"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?o:""}return""}}(e.presence,e.isOutOfOffice),style:u}))});U.displayName="PersonaPresenceBase";var qr={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function Yr(e){return{color:e,borderColor:e}}function Zr(e,t){return{selectors:{":before":{border:e+" solid "+t}}}}function Xr(e){return{height:e,width:e}}function Qr(e){return{backgroundColor:e}}var Jr=In(U,function(e){var t,o,n=e.theme,r=e.presenceColors,i=n.semanticColors,s=n.fonts,a=zo(qr,n),l=Kr(e.size),c=Ur(e.presence),u=r&&r.available||"#6BB700",d=r&&r.away||"#FFAA44",p=r&&r.busy||"#C43148",h=r&&r.dnd||"#C50F1F",m=r&&r.offline||"#8A8886",g=r&&r.oof||"#B4009E",f=r&&r.background||i.bodyBackground,n=c.isOffline||e.isOutOfOffice&&(c.isAvailable||c.isBusy||c.isAway||c.isDoNotDisturb),r=l.isSize72||l.isSize100?"2px":"1px";return{presence:[a.presence,pt(pt({position:"absolute",height:Br.size12,width:Br.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid "+f,textAlign:"center",boxSizing:"content-box",backgroundClip:"border-box"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:((i={})[Yt]={borderColor:"Window",backgroundColor:"WindowText"},i)}),(l.isSize8||l.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:((t={})[Yt]={top:"9px",border:"1px solid WindowText"},t)},(l.isSize8||l.isSize10||l.isSize24||l.isSize28||l.isSize32)&&Xr(Br.size8),(l.isSize40||l.isSize48)&&Xr(Br.size12),l.isSize16&&{height:Br.size6,width:Br.size6,borderWidth:"1.5px"},l.isSize56&&Xr(Br.size16),l.isSize72&&Xr(Br.size20),l.isSize100&&Xr(Br.size28),l.isSize120&&Xr(Br.size32),c.isAvailable&&{backgroundColor:u,selectors:((t={})[Yt]=Qr("Highlight"),t)},c.isAway&&Qr(d),c.isBlocked&&[{selectors:((o={":after":l.isSize40||l.isSize48||l.isSize72||l.isSize100?{content:'""',width:"100%",height:r,backgroundColor:p,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0})[Yt]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},o)}],c.isBusy&&Qr(p),c.isDoNotDisturb&&Qr(h),c.isOffline&&Qr(m),(n||c.isBlocked)&&[{backgroundColor:f,selectors:((o={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:r+" solid "+p,borderRadius:"50%",boxSizing:"border-box"}})[Yt]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},o)}],n&&c.isAvailable&&Zr(r,u),n&&c.isBusy&&Zr(r,p),n&&c.isAway&&Zr(r,g),n&&c.isDoNotDisturb&&Zr(r,h),n&&c.isOffline&&Zr(r,m),n&&c.isOffline&&e.isOutOfOffice&&Zr(r,g)],presenceIcon:[a.presenceIcon,{color:f,fontSize:"6px",lineHeight:Br.size12,verticalAlign:"top",selectors:((f={})[Yt]={color:"Window"},f)},l.isSize56&&{fontSize:"8px",lineHeight:Br.size16},l.isSize72&&{fontSize:s.small.fontSize,lineHeight:Br.size20},l.isSize100&&{fontSize:s.medium.fontSize,lineHeight:Br.size28},l.isSize120&&{fontSize:s.medium.fontSize,lineHeight:Br.size32},c.isAway&&{position:"relative",left:n?void 0:"1px"},n&&c.isAvailable&&Yr(u),n&&c.isBusy&&Yr(p),n&&c.isAway&&Yr(g),n&&c.isDoNotDisturb&&Yr(h),n&&c.isOffline&&Yr(m),n&&c.isOffline&&e.isOutOfOffice&&Yr(g)]}},void 0,{scope:"PersonaPresence"}),$r=[Mr.lightBlue,Mr.blue,Mr.darkBlue,Mr.teal,Mr.green,Mr.darkGreen,Mr.lightPink,Mr.pink,Mr.magenta,Mr.purple,Mr.orange,Mr.lightRed,Mr.darkRed,Mr.violet,Mr.gold,Mr.burgundy,Mr.warmGray,Mr.cyan,Mr.rust,Mr.coolGray],ei=$r.length;function ti(e){var t=e.primaryText,o=e.text,n=e.initialsColor;return"string"==typeof n?n:function(){switch(n){case Mr.lightBlue:return"#4F6BED";case Mr.blue:return"#0078D4";case Mr.darkBlue:return"#004E8C";case Mr.teal:return"#038387";case Mr.lightGreen:case Mr.green:return"#498205";case Mr.darkGreen:return"#0B6A0B";case Mr.lightPink:return"#C239B3";case Mr.pink:return"#E3008C";case Mr.magenta:return"#881798";case Mr.purple:return"#5C2E91";case Mr.orange:return"#CA5010";case Mr.red:return"#EE1111";case Mr.lightRed:return"#D13438";case Mr.darkRed:return"#A4262C";case Mr.transparent:return"transparent";case Mr.violet:return"#8764B8";case Mr.gold:return"#986F0B";case Mr.burgundy:return"#750B1C";case Mr.warmGray:return"#7A7574";case Mr.cyan:return"#005B70";case Mr.rust:return"#8E562E";case Mr.coolGray:return"#69797E";case Mr.black:return"#1D1D1D";case Mr.gray:return"#393939"}}(n=void 0!==n?n:function(e){var t=Mr.blue;if(!e)return t;for(var o=0,n=e.length-1;0<=n;n--){var r=e.charCodeAt(n),i=n%8;o^=(r<<i)+(r>>8-i)}return $r[o%ei]}(o||t))}var oi=Fn({cacheSize:100}),ni=Ao(function(e,t,o,n,r,i){return j(e,!i&&{backgroundColor:ti({text:n,initialsColor:t,primaryText:r}),color:o})}),ri={size:Pr.size48,presence:Rr.none,imageAlt:""},ii=mt.forwardRef(function(e,t){var o,n,r,i,s,a=Hn(ri,e),l=(o=a.onPhotoLoadingStateChange,n=a.imageUrl,r=mt.useState(mr.notLoaded),i=r[0],s=r[1],mt.useEffect(function(){s(mr.notLoaded)},[n]),[i,function(e){s(e),null==o||o(e)}]),c=l[0],u=ai(l[1]),d=a.className,p=a.coinProps,h=a.showUnknownPersonaCoin,m=a.coinSize,g=a.styles,f=a.imageUrl,v=a.initialsColor,b=a.initialsTextColor,y=a.isOutOfOffice,C=a.onRenderCoin,_=a.onRenderPersonaCoin,S=void 0===_?void 0===C?u:C:_,x=a.onRenderInitials,k=void 0===x?li:x,w=a.presence,I=a.presenceTitle,D=a.presenceColors,T=a.primaryText,e=a.showInitialsUntilImageLoads,r=a.text,n=a.theme,i=a.size,l=ur(a,cr),C=ur(p||{},cr),_=m?{width:m,height:m}:void 0,x=h,D={coinSize:m,isOutOfOffice:y,presence:w,presenceTitle:I,presenceColors:D,size:i,theme:n},m=oi(g,{theme:n,className:p&&p.className?p.className:d,size:i,coinSize:m,showUnknownPersonaCoin:h}),c=Boolean(c!==mr.loaded&&(e&&f||!f||c===mr.error||x));return mt.createElement("div",pt({role:"presentation"},l,{className:m.coin,ref:t}),i!==Pr.size8&&i!==Pr.size10&&i!==Pr.tiny?mt.createElement("div",pt({role:"presentation"},C,{className:m.imageArea,style:_}),c&&mt.createElement("div",{className:ni(m.initials,v,b,r,T,h),style:_,"aria-hidden":"true"},k(a,li)),!x&&S(a,u),mt.createElement(Jr,pt({},D))):a.presence?mt.createElement(Jr,pt({},D)):mt.createElement(Wr,{iconName:"Contact",className:m.size10WithoutPresenceIcon}),a.children)});ii.displayName="PersonaCoinBase";var si,ai=function(c){return function(e){var t=e.coinSize,o=e.styles,n=e.imageUrl,r=e.imageAlt,i=e.imageShouldFadeIn,s=e.imageShouldStartVisible,a=e.theme,l=e.showUnknownPersonaCoin,e=e.size,e=void 0===e?ri.size:e;if(!n)return null;l=oi(o,{theme:a,size:e,showUnknownPersonaCoin:l}),e=t||Gr[e];return mt.createElement(Ir,{className:l.image,imageFit:pr.cover,src:n,width:e,height:e,alt:r,shouldFadeIn:i,shouldStartVisible:s,onLoadingStateChange:c})}},li=function(e){var t=e.imageInitials,o=e.allowPhoneInitials,n=e.showUnknownPersonaCoin,r=e.text,i=e.primaryText,e=e.theme;if(n)return mt.createElement(Wr,{iconName:"Help"});e=Pn(e);return""!==(t=t||Cr(r||i||"",e,o))?mt.createElement("span",null,t):mt.createElement(Wr,{iconName:"Contact"})},ci={coin:"ms-Persona-coin",imageArea:"ms-Persona-imageArea",image:"ms-Persona-image",initials:"ms-Persona-initials",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120"},ui=In(ii,function(e){var t=e.className,o=e.theme,n=e.coinSize,r=o.palette,i=o.fonts,s=Kr(e.size),o=zo(ci,o),n=n||e.size&&Gr[e.size]||48;return{coin:[o.coin,i.medium,s.isSize8&&o.size8,s.isSize10&&o.size10,s.isSize16&&o.size16,s.isSize24&&o.size24,s.isSize28&&o.size28,s.isSize32&&o.size32,s.isSize40&&o.size40,s.isSize48&&o.size48,s.isSize56&&o.size56,s.isSize72&&o.size72,s.isSize100&&o.size100,s.isSize120&&o.size120,t],size10WithoutPresenceIcon:{fontSize:i.xSmall.fontSize,position:"absolute",top:"5px",right:"auto",left:0},imageArea:[o.imageArea,{position:"relative",textAlign:"center",flex:"0 0 auto",height:n,width:n},n<=10&&{overflow:"visible",background:"transparent",height:0,width:0}],image:[o.image,{marginRight:"10px",position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,borderRadius:"50%",perspective:"1px"},n<=10&&{overflow:"visible",background:"transparent",height:0,width:0},10<n&&{height:n,width:n}],initials:[o.initials,{borderRadius:"50%",color:e.showUnknownPersonaCoin?"rgb(168, 0, 0)":r.white,fontSize:i.large.fontSize,fontWeight:Fe.semibold,lineHeight:48===n?46:n,height:n,selectors:((r={})[Yt]=pt(pt({border:"1px solid WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"}),r.i={fontWeight:Fe.semibold},r)},e.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},n<32&&{fontSize:i.xSmall.fontSize},32<=n&&n<40&&{fontSize:i.medium.fontSize},40<=n&&n<56&&{fontSize:i.mediumPlus.fontSize},56<=n&&n<72&&{fontSize:i.xLarge.fontSize},72<=n&&n<100&&{fontSize:i.xxLarge.fontSize},100<=n&&{fontSize:i.superLarge.fontSize}]}},void 0,{scope:"PersonaCoin"}),di=(l(hi,si=mt.Component),hi.prototype.render=function(){var e=this.props,t=e.onRenderIcon,o=void 0===t?this._onRenderIcon:t,n=e.onRenderActivityDescription,r=void 0===n?this._onRenderActivityDescription:n,i=e.onRenderComments,s=void 0===i?this._onRenderComments:i,t=e.onRenderTimeStamp,n=void 0===t?this._onRenderTimeStamp:t,i=e.animateBeaconSignal,t=e.isCompact,e=this._getClassNames(this.props);return mt.createElement("div",{className:e.root,style:this.props.style},(this.props.activityPersonas||this.props.activityIcon||this.props.onRenderIcon)&&mt.createElement("div",{className:e.activityTypeIcon},i&&t&&mt.createElement("div",{className:e.pulsingBeacon}),o(this.props)),mt.createElement("div",{className:e.activityContent},r(this.props,this._onRenderActivityDescription),s(this.props,this._onRenderComments),n(this.props,this._onRenderTimeStamp)))},hi.prototype._getClassNames=function(e){return vn(Sn(void 0,e.styles,e.animateBeaconSignal,e.beaconColorOne,e.beaconColorTwo,e.isCompact),e.className,e.activityPersonas,e.isCompact)},hi),pi=function(){var e,t=qe();return!(null===(e=null==t?void 0:t.navigator)||void 0===e||!e.userAgent)&&-1<t.navigator.userAgent.indexOf("rv:11.0")};function hi(e){var l=si.call(this,e)||this;return l._onRenderIcon=function(e){return e.activityPersonas?l._onRenderPersonaArray(e):l.props.activityIcon},l._onRenderActivityDescription=function(e){var t=l._getClassNames(e),e=e.activityDescription||e.activityDescriptionText;return e?mt.createElement("span",{className:t.activityText},e):null},l._onRenderComments=function(e){var t=l._getClassNames(e),o=e.comments||e.commentText;return!e.isCompact&&o?mt.createElement("div",{className:t.commentText},o):null},l._onRenderTimeStamp=function(e){var t=l._getClassNames(e);return!e.isCompact&&e.timeStamp?mt.createElement("div",{className:t.timeStamp},e.timeStamp):null},l._onRenderPersonaArray=function(e){var o,n,r,i,s=l._getClassNames(e),t=null,a=e.activityPersonas;return(a[0].imageUrl||a[0].imageInitials)&&(o=[],n=1<a.length||e.isCompact,r=e.isCompact?3:4,i=void 0,e.isCompact&&(i={display:"inline-block",width:"10px",minWidth:"10px",overflow:"visible"}),a.filter(function(e,t){return t<r}).forEach(function(e,t){o.push(mt.createElement(ui,pt({},e,{key:e.key||t,className:s.activityPersona,size:n?Pr.size16:Pr.size32,style:i})))}),t=mt.createElement("div",{className:s.personaContainer},o)),t},l}function mi(o){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return n.length<2?n[0]:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n.forEach(function(e){return e&&e.apply(o,t)})}}function gi(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=mi(e,e[o],t[o]))}function fi(e){gi(e,{componentDidMount:vi,componentDidUpdate:bi,componentWillUnmount:yi})}function vi(){Ci(this.props.componentRef,this)}function bi(e){e.componentRef!==this.props.componentRef&&(Ci(e.componentRef,null),Ci(this.props.componentRef,this))}function yi(){Ci(this.props.componentRef,null)}function Ci(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var _i,Si=(Ii.prototype.dispose=function(){if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(var e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},Ii.prototype.setTimeout=function(e,t){var o=this,n=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),n=setTimeout(function(){try{o._timeoutIds&&delete o._timeoutIds[n],e.apply(o._parent)}catch(e){o._logError(e)}},t),this._timeoutIds[n]=!0),n},Ii.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},Ii.prototype.setImmediate=function(e,t){var o=this,n=0,t=qe(t);return this._isDisposed||(this._immediateIds||(this._immediateIds={}),n=t.setTimeout(function(){try{o._immediateIds&&delete o._immediateIds[n],e.apply(o._parent)}catch(e){o._logError(e)}},0),this._immediateIds[n]=!0),n},Ii.prototype.clearImmediate=function(e,t){t=qe(t);this._immediateIds&&this._immediateIds[e]&&(t.clearTimeout(e),delete this._immediateIds[e])},Ii.prototype.setInterval=function(e,t){var o=this,n=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),n=setInterval(function(){try{e.apply(o._parent)}catch(e){o._logError(e)}},t),this._intervalIds[n]=!0),n},Ii.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},Ii.prototype.throttle=function(r,e,t){var i=this;if(this._isDisposed)return this._noop;var s,a,l=e||0,c=!0,u=!0,d=0,p=null;t&&"boolean"==typeof t.leading&&(c=t.leading),t&&"boolean"==typeof t.trailing&&(u=t.trailing);function h(e){var t=Date.now(),o=t-d,n=c?l-o:l;return l<=o&&(!e||c)?(d=t,p&&(i.clearTimeout(p),p=null),s=r.apply(i._parent,a)):null===p&&u&&(p=i.setTimeout(h,n)),s}return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,h(!0)}},Ii.prototype.debounce=function(t,e,o){var a=this;if(this._isDisposed){var n=function(){};return n.cancel=function(){},n.flush=function(){return null},n.pending=function(){return!1},n}var l,r,c=e||0,u=!1,d=!0,p=null,h=0,m=Date.now(),g=null;o&&"boolean"==typeof o.leading&&(u=o.leading),o&&"boolean"==typeof o.trailing&&(d=o.trailing),o&&"number"==typeof o.maxWait&&!isNaN(o.maxWait)&&(p=o.maxWait);var i=function(e){g&&(a.clearTimeout(g),g=null),m=e},f=function(e){i(e),l=t.apply(a._parent,r)},v=function(e){var t=Date.now(),o=!1;e&&(u&&c<=t-h&&(o=!0),h=t);var n=t-h,r=c-n,i=t-m,s=!1;return null!==p&&(p<=i&&g?s=!0:r=Math.min(r,p-i)),c<=n||s||o?f(t):null!==g&&e||!d||(g=a.setTimeout(v,r)),l},e=function(){return!!g},o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r=e,v(!0)};return o.cancel=function(){g&&i(Date.now())},o.flush=function(){return g&&f(Date.now()),l},o.pending=e,o},Ii.prototype.requestAnimationFrame=function(e,t){var o=this,n=0,r=qe(t);return this._isDisposed||(this._animationFrameIds||(this._animationFrameIds={}),t=function(){try{o._animationFrameIds&&delete o._animationFrameIds[n],e.apply(o._parent)}catch(e){o._logError(e)}},n=r.requestAnimationFrame?r.requestAnimationFrame(t):r.setTimeout(t,0),this._animationFrameIds[n]=!0),n},Ii.prototype.cancelAnimationFrame=function(e,t){t=qe(t);this._animationFrameIds&&this._animationFrameIds[e]&&(t.cancelAnimationFrame?t.cancelAnimationFrame(e):t.clearTimeout(e),delete this._animationFrameIds[e])},Ii.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},Ii),xi="backward",ki=(l(wi,_i=mt.Component),wi.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){e=e.updateValueInWillReceiveProps();if(null!==e&&e!==t.inputValue)return{inputValue:e}}return null},Object.defineProperty(wi.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(wi.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!1,configurable:!0}),Object.defineProperty(wi.prototype,"value",{get:function(){return this._getControlledValue()||this.state.inputValue||""},enumerable:!1,configurable:!0}),Object.defineProperty(wi.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(wi.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Object.defineProperty(wi.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!1,configurable:!0}),wi.prototype.componentDidUpdate=function(e,t,o){var n=this.props,r=n.suggestedDisplayValue,i=n.shouldSelectFullInputValueInComponentDidUpdate,s=0;if(!n.preventValueSelection)if(this._autoFillEnabled&&this.value&&r&&Di(r,this.value)){n=!1;if((n=i?i():n)&&this._inputElement.current)this._inputElement.current.setSelectionRange(0,r.length,xi);else{for(;s<this.value.length&&this.value[s].toLocaleLowerCase()===r[s].toLocaleLowerCase();)s++;0<s&&this._inputElement.current&&this._inputElement.current.setSelectionRange(s,r.length,xi)}}else this._inputElement.current&&(null===o||this._autoFillEnabled||this._inputElement.current.setSelectionRange(o.start,o.end,o.dir))},wi.prototype.componentWillUnmount=function(){this._async.dispose()},wi.prototype.render=function(){var e=ur(this.props,Zn),t=pt(pt({},this.props.style),{fontFamily:"inherit"});return mt.createElement("input",pt({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick||this._onClick,"data-lpignore":!0}))},wi.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},wi.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},wi.prototype.getSnapshotBeforeUpdate=function(){var e,t=this._inputElement.current;return t&&t.selectionStart!==this.value.length?{start:null!==(e=t.selectionStart)&&void 0!==e?e:t.value.length,end:null!==(e=t.selectionEnd)&&void 0!==e?e:t.value.length,dir:t.selectionDirection||"backward"}:null},wi.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},wi.prototype._tryEnableAutofill=function(e,t,o,n){!o&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||n)&&(this._autoFillEnabled=!0)},wi.prototype._getDisplayValue=function(){return this._autoFillEnabled?(o=e=this.value,o=(t=this.props.suggestedDisplayValue)&&e&&Di(t,e)?t:o):this.value;var e,t,o},wi.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is "+e+" with type of "+typeof e),e.toString())},wi.defaultProps={enableAutofillOnKeyPress:[Tn.down,Tn.up]},wi);function wi(e){var i=_i.call(this,e)||this;return i._inputElement=mt.createRef(),i._autoFillEnabled=!0,i._isComposing=!1,i._onCompositionStart=function(e){i._isComposing=!0,i._autoFillEnabled=!1},i._onCompositionUpdate=function(){pi()&&i._updateValue(i._getCurrentInputValue(),!0)},i._onCompositionEnd=function(e){var t=i._getCurrentInputValue();i._tryEnableAutofill(t,i.value,!1,!0),i._isComposing=!1,i._async.setTimeout(function(){i._updateValue(i._getCurrentInputValue(),!1)},0)},i._onClick=function(){i.value&&""!==i.value&&i._autoFillEnabled&&(i._autoFillEnabled=!1)},i._onKeyDown=function(e){if(i.props.onKeyDown&&i.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case Tn.backspace:i._autoFillEnabled=!1;break;case Tn.left:case Tn.right:i._autoFillEnabled&&(i.setState({inputValue:i.props.suggestedDisplayValue||""}),i._autoFillEnabled=!1);break;default:i._autoFillEnabled||-1!==i.props.enableAutofillOnKeyPress.indexOf(e.which)&&(i._autoFillEnabled=!0)}},i._onInputChanged=function(e){var t=i._getCurrentInputValue(e);i._isComposing||i._tryEnableAutofill(t,i.value,e.nativeEvent.isComposing),pi()&&i._isComposing||(e=void 0===(e=e.nativeEvent.isComposing)?i._isComposing:e,i._updateValue(t,e))},i._onChanged=function(){},i._updateValue=function(e,t){var o,n,r;!e&&e===i.value||(n=(o=i.props).onInputChange,r=o.onInputValueChange,n&&(e=(null==n?void 0:n(e,t))||""),i.setState({inputValue:e},function(){return null==r?void 0:r(e,t)}))},fi(i),i._async=new Si(i),i.state={inputValue:e.defaultVisibleValue||""},i}function Ii(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}function Di(e,t){return e&&t&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var Ti,Ei,Pi,Ri=(l(Li,Pi=mt.Component),Li.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout(function(){e.setState({isRendered:!0})},t)},Li.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},Li.prototype.render=function(){return this.state.isRendered?mt.Children.only(this.props.children):null},Li.defaultProps={delay:0},Li),Mi=Fn(),Ni=(l(Ai,Ei=mt.Component),Ai.prototype.render=function(){var e=this.props,t=e.message,o=e.styles,n=e.as,n=void 0===n?"div":n,e=e.className,e=Mi(o,{className:e});return mt.createElement(n,pt({role:"status",className:e.root},ur(this.props,cr,["className"])),mt.createElement(Ri,null,mt.createElement("div",{className:e.screenReaderText},t)))},Ai.defaultProps={"aria-live":"polite"},Ai),Bi=In(Ni,function(e){return{root:e.className,screenReaderText:So}}),Fi={none:0,all:1,inputOnly:2};function Ai(){return null!==Ei&&Ei.apply(this,arguments)||this}function Li(e){e=Pi.call(this,e)||this;return e.state={isRendered:!1},e}function Hi(e,t,o){for(var n=-1,r=o=void 0===o?0:o;e&&r<e.length;r++)if(t(e[r],r)){n=r;break}return n}function Oi(e,t){t=Hi(e,t);if(!(t<0))return e[t]}function zi(e,t){for(var o=[],n=0;n<e;n++)o.push(t(n));return o}function Wi(e,n){return e.reduce(function(e,t,o){return o%n==0?e.push([t]):e[e.length-1].push(t),e},[])}function Vi(e,o){return e.filter(function(e,t){return o!==t})}function Ki(e,t,o){e=e.slice();return e[o]=t,e}function Gi(e,t,o){e=e.slice();return e.splice(t,0,o),e}function Ui(e){var t=[];return e.forEach(function(e){return t=t.concat(e)}),t}function ji(e,t){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}(xe=Ti=Ti||{})[xe.vertical=0]="vertical",xe[xe.horizontal=1]="horizontal",xe[xe.bidirectional=2]="bidirectional",xe[xe.domOrder=3]="domOrder";var qi=function(e){var o={refs:[]};return function(){for(var r,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.resolver&&ji(o.refs,e)||(o.resolver=(r=o,function(e){for(var t=0,o=r.refs;t<o.length;t++){var n=o[t];"function"==typeof n?n(e):n&&(n.current=e)}})),o.refs=e,o.resolver}};function Yi(e){return e&&!!e._virtual}function Zi(e){var t;return t=e&&Yi(e)?e._virtual.parent:t}function Xi(e,t){return void 0===t&&(t=!0),e&&(t&&Zi(e)||e.parentNode&&e.parentNode)}function Qi(e,t){return e&&e!==document.body?t(e)?e:Qi(Xi(e),t):null}function Ji(e,t){e=Qi(e,function(e){return e.hasAttribute(t)});return e&&e.getAttribute(t)}function $i(e,t,o){void 0===o&&(o=!0);var n=!1;if(e&&t)if(o)if(e===t)n=!0;else for(n=!1;t;){var r=Xi(t);if(r===e){n=!0;break}t=r}else e.contains&&(n=e.contains(t));return n}function es(e,t,o){return ss(e,t,!0,!1,!1,o)}function ts(e,t,o){return is(e,t,!0,!1,!0,o)}function os(e,t,o,n){return ss(e,t,n=void 0===n?!0:n,!1,!1,o,!1,!0)}function ns(e,t,o,n){return is(e,t,n=void 0===n?!0:n,!1,!0,o,!1,!0)}function rs(e){e=ss(e,e,!0,!1,!1,!0);return!!e&&(ms(e),!0)}function is(e,t,o,n,r,i,s,a){if(!t||!s&&t===e)return null;var l=as(t);if(r&&l&&(i||!cs(t)&&!us(t))){var c=is(e,t.lastElementChild,!0,!0,!0,i,s,a);if(c){if(a&&ls(c,!0)||!a)return c;r=is(e,c.previousElementSibling,!0,!0,!0,i,s,a);if(r)return r;for(var u=c.parentElement;u&&u!==t;){var d=is(e,u.previousElementSibling,!0,!0,!0,i,s,a);if(d)return d;u=u.parentElement}}}return o&&l&&ls(t,a)?t:is(e,t.previousElementSibling,!0,!0,!0,i,s,a)||(n?null:is(e,t.parentElement,!0,!1,!1,i,s,a))}function ss(e,t,o,n,r,i,s,a){if(!t||t===e&&r&&!s)return null;var l=as(t);if(o&&l&&ls(t,a))return t;if(!r&&l&&(i||!cs(t)&&!us(t))){l=ss(e,t.firstElementChild,!0,!0,!1,i,s,a);if(l)return l}return t===e?null:ss(e,t.nextElementSibling,!0,!0,!1,i,s,a)||(n?null:ss(e,t.parentElement,!1,!1,!0,i,s,a))}function as(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function ls(e,t){if(!e||e.disabled)return!1;var o=0,n=null;e&&e.getAttribute&&(n=e.getAttribute("tabIndex"))&&(o=parseInt(n,10));var r=e.getAttribute?e.getAttribute("data-is-focusable"):null,n=!!e&&"false"!==r&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===r||null!==n&&0<=o);return(!t||-1!==o)&&n}function cs(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function us(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function ds(e){var t=gt(e),t=t&&t.activeElement;return!(!t||!$i(e,t))}function ps(e,t){return"true"!==Ji(e,t)}var hs=void 0;function ms(e){e&&(hs?hs=e:(e=qe(hs=e))&&e.requestAnimationFrame(function(){hs&&hs.focus(),hs=void 0}))}function gs(e,t){for(var o=e,n=0,r=t;n<r.length;n++){var i=r[n],i=o.children[Math.min(i,o.children.length-1)];if(!i)break;o=i}return ls(o)&&as(o)?o:ss(e,o,!0)||is(e,o)}function fs(e,t){for(var o=[];t&&e&&t!==e;){var n=Xi(t,!0);if(null===n)return[];o.unshift(Array.prototype.indexOf.call(n.children,t)),t=n}return o}var vs=qe()||{};void 0===vs.__currentId__&&(vs.__currentId__=0);var bs,ys=!1;function Cs(e){var t;return ys||((t=v.getInstance())&&t.onReset&&t.onReset(_s),ys=!0),(void 0===e?"id__":e)+vs.__currentId__++}function _s(e){vs.__currentId__=e=void 0===e?0:e}function Ss(e){var t,o,o=(t="MouseEvents","function"==typeof Event?o=new Event(t):(o=document.createEvent("Event")).initEvent(t,!0,!0),o);o.initEvent("click",!0,!0),e.dispatchEvent(o)}var xs=0,ks=j({overflow:"hidden !important"}),ws="data-is-scrollable",Is=function(e,t){var n,r;e&&(n=0,r=null,t.on(e,"touchstart",function(e){1===e.targetTouches.length&&(n=e.targetTouches[0].clientY)},{passive:!1}),t.on(e,"touchmove",function(e){var t,o;1===e.targetTouches.length&&(e.stopPropagation(),r)&&(t=e.targetTouches[0].clientY-n,o=Ms(e.target),0===(r=o?o:r).scrollTop&&0<t&&e.preventDefault(),r.scrollHeight-Math.ceil(r.scrollTop)<=r.clientHeight&&t<0&&e.preventDefault())},{passive:!1}),r=e)},Ds=function(e,t){e&&t.on(e,"touchmove",function(e){e.stopPropagation()},{passive:!1})},Ts=function(e){e.preventDefault()};function Es(){var e=gt();e&&e.body&&!xs&&(e.body.classList.add(ks),e.body.addEventListener("touchmove",Ts,{passive:!1,capture:!1})),xs++}function Ps(){var e;0<xs&&((e=gt())&&e.body&&1===xs&&(e.body.classList.remove(ks),e.body.removeEventListener("touchmove",Ts)),xs--)}function Rs(){var e;return void 0===bs&&((e=document.createElement("div")).style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),bs=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),bs}function Ms(e){for(var t=e,o=gt(e);t&&t!==o.body;){if("true"===t.getAttribute(ws))return t;t=t.parentElement}for(t=e;t&&t!==o.body;){if("false"!==t.getAttribute(ws)){var n=getComputedStyle(t),n=n?n.getPropertyValue("overflow-y"):"";if(n&&("scroll"===n||"auto"===n))return t}t=t.parentElement}return t=!t||t===o.body?qe(e):t}var Ns="data-portal-element";function Bs(e){e.setAttribute(Ns,"true")}function Fs(e,t){e=Qi(e,function(e){return t===e||e.hasAttribute(Ns)});return null!==e&&e.hasAttribute(Ns)}var As,Ls,Hs="data-is-focusable",Os="data-focuszone-id",zs="tabindex",Ws="data-no-vertical-wrap",Vs="data-no-horizontal-wrap",Ks=999999999,Gs=-999999999,Us={},js=new Set,qs=["text","number","password","email","tel","url","search"],Ys=(l(Xs,Ls=mt.Component),Xs.getOuterZones=function(){return js.size},Xs._onKeyDownCapture=function(e){e.which===Tn.tab&&js.forEach(function(e){return e._updateTabIndexes()})},Xs.prototype.componentDidMount=function(){var e=this._root.current;if(Us[this._id]=this,e){this._windowElement=qe(e);for(var t=Xi(e,!1);t&&t!==this._getDocument().body&&1===t.nodeType;){if(cs(t)){this._isInnerZone=!0;break}t=Xi(t,!1)}this._isInnerZone||(js.add(this),this._windowElement&&1===js.size&&this._windowElement.addEventListener("keydown",Xs._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},Xs.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();t&&this._lastIndexPath&&(t.activeElement===t.body||null===t.activeElement||!this.props.preventFocusRestoration&&t.activeElement===e)&&((e=gs(e,this._lastIndexPath))?(this._setActiveElement(e,!0),e.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0))},Xs.prototype.componentWillUnmount=function(){delete Us[this._id],this._isInnerZone||(js.delete(this),this._windowElement&&0===js.size&&this._windowElement.removeEventListener("keydown",Xs._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},Xs.prototype.render=function(){var t=this,e=this.props,o=e.as,n=e.elementType,r=e.rootProps,i=e.ariaDescribedBy,s=e.ariaLabelledBy,a=e.className,e=ur(this.props,Wn),n=o||n||"div";this._evaluateFocusBeforeRender();var l=Wt();return mt.createElement(n,pt({"aria-labelledby":s,"aria-describedby":i},e,r,{className:Er(As=As||j({selectors:{":focus":{outline:"none"}}},"ms-FocusZone"),a),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(e){return t._onKeyDown(e,l)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},Xs.prototype.focus=function(e){if(void 0===e&&(e=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(Hs)&&this._isInnerZone){var t=this._getOwnerZone(this._root.current);if(t===this._root.current)return!1;t=Us[t.getAttribute(Os)];return!!t&&t.focusElement(this._root.current)}if(!e&&this._activeElement&&$i(this._root.current,this._activeElement)&&ls(this._activeElement))return this._activeElement.focus(),!0;e=this._root.current.firstChild;return this.focusElement(ss(this._root.current,e,!0))}return!1},Xs.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(is(this._root.current,e,!0,!0,!0))}return!1},Xs.prototype.focusElement=function(e,t){var o=this.props,n=o.onBeforeFocus,o=o.shouldReceiveFocus;return!(o&&!o(e)||n&&!n(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},Xs.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Xs.prototype._evaluateFocusBeforeRender=function(){var e,t=this._root.current,o=this._getDocument();!o||(e=o.activeElement)!==t&&(o=$i(t,e,!1),this._lastIndexPath=o?fs(t,e):void 0)},Xs.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&((this._isParked=e)?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},Xs.prototype._setActiveElement=function(e,t){var o=this._activeElement;this._activeElement=e,o&&(cs(o)&&this._updateTabIndexes(o),o.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},Xs.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},Xs.prototype._tryInvokeClickForFocusable=function(e){if(e===this._root.current)return!1;do{if("BUTTON"===e.tagName||"A"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName)return!1;if(this._isImmediateDescendantOfZone(e)&&"true"===e.getAttribute(Hs)&&"true"!==e.getAttribute("data-disable-click-on-enter"))return Ss(e),!0}while((e=Xi(e,!1))!==this._root.current);return!1},Xs.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(cs(e))return Us[e.getAttribute(Os)];for(var t=e.firstElementChild;t;){if(cs(t))return Us[t.getAttribute(Os)];var o=this._getFirstInnerZone(t);if(o)return o;t=t.nextElementSibling}return null},Xs.prototype._moveFocus=function(e,t,o,n){void 0===n&&(n=!0);var r=this._activeElement,i=-1,s=void 0,a=!1,l=this.props.direction===Ti.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var c=l?r.getBoundingClientRect():null;do{if(r=(e?ss:is)(this._root.current,r),!l){s=r;break}if(r){var u=t(c,r.getBoundingClientRect());if(-1===u&&-1===i){s=r;break}if(-1<u&&(-1===i||u<i)&&(i=u,s=r),0<=i&&u<0)break}}while(r);if(s&&s!==this._activeElement)a=!0,this.focusElement(s);else if(this.props.isCircularNavigation&&n)return e?this.focusElement(ss(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(is(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return a},Xs.prototype._moveFocusDown=function(){var r=this,i=-1,s=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,function(e,t){var o=-1,n=Math.floor(t.top),e=Math.floor(e.bottom);return n<e?r._shouldWrapFocus(r._activeElement,Ws)?Ks:Gs:((-1===i&&e<=n||n===i)&&(i=n,o=s>=t.left&&s<=t.left+t.width?0:Math.abs(t.left+t.width/2-s)),o)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},Xs.prototype._moveFocusUp=function(){var i=this,s=-1,a=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,function(e,t){var o=-1,n=Math.floor(t.bottom),r=Math.floor(t.top),e=Math.floor(e.top);return e<n?i._shouldWrapFocus(i._activeElement,Ws)?Ks:Gs:((-1===s&&n<=e||r===s)&&(s=r,o=a>=t.left&&a<=t.left+t.width?0:Math.abs(t.left+t.width/2-a)),o)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},Xs.prototype._moveFocusLeft=function(n){var r=this,i=this._shouldWrapFocus(this._activeElement,Vs);return!!this._moveFocus(Pn(n),function(e,t){var o=-1;return(Pn(n)?parseFloat(t.top.toFixed(3))<parseFloat(e.bottom.toFixed(3)):parseFloat(t.bottom.toFixed(3))>parseFloat(e.top.toFixed(3)))&&t.right<=e.right&&r.props.direction!==Ti.vertical?o=e.right-t.right:i||(o=Gs),o},void 0,i)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},Xs.prototype._moveFocusRight=function(n){var r=this,i=this._shouldWrapFocus(this._activeElement,Vs);return!!this._moveFocus(!Pn(n),function(e,t){var o=-1;return(Pn(n)?parseFloat(t.bottom.toFixed(3))>parseFloat(e.top.toFixed(3)):parseFloat(t.top.toFixed(3))<parseFloat(e.bottom.toFixed(3)))&&t.left>=e.left&&r.props.direction!==Ti.vertical?o=t.left-e.left:i||(o=Gs),o},void 0,i)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},Xs.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var o=this._activeElement;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var n=Ms(o);if(!n)return!1;var r=-1,i=void 0,s=-1,a=-1,l=n.clientHeight,c=o.getBoundingClientRect();do{if(o=(e?ss:is)(this._root.current,o)){var u=o.getBoundingClientRect(),d=Math.floor(u.top),p=Math.floor(c.bottom),h=Math.floor(u.bottom),m=Math.floor(c.top),u=this._getHorizontalDistanceFromCenter(e,c,u);if(e&&p+l<d||!e&&h<m-l)break;-1<u&&(e&&s<d?(s=d,r=u,i=o):!e&&h<a?(a=h,r=u,i=o):(-1===r||u<=r)&&(r=u,i=o))}}while(o);n=!1;if(i&&i!==this._activeElement)n=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(ss(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(is(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return n},Xs.prototype._setFocusAlignment=function(e,t,o){var n;this.props.direction!==Ti.bidirectional||this._focusAlignment&&!t&&!o||(e=(n=e.getBoundingClientRect()).left+n.width/2,n=n.top+n.height/2,this._focusAlignment||(this._focusAlignment={left:e,top:n}),t&&(this._focusAlignment.left=e),o&&(this._focusAlignment.top=n))},Xs.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},Xs.prototype._getOwnerZone=function(e){for(var t=Xi(e,!1);t&&t!==this._root.current&&t!==this._getDocument().body;){if(cs(t))return t;t=Xi(t,!1)}return t},Xs.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!$i(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!ls(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,o=0;t&&o<t.length;o++){var n=t[o];cs(n)?"true"===n.getAttribute(Hs)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(zs)&&n.setAttribute(zs,"-1"):"0"!==(this._defaultFocusElement=n).getAttribute(zs)&&n.setAttribute(zs,"0")):(n.getAttribute&&"false"===n.getAttribute(Hs)&&n.setAttribute(zs,"-1"),ls(n)?this.props.disabled?n.setAttribute(zs,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(zs)&&n.setAttribute(zs,"-1"):"0"!==(this._defaultFocusElement=n).getAttribute(zs)&&n.setAttribute(zs,"0"):"svg"===n.tagName&&"false"!==n.getAttribute("focusable")&&n.setAttribute("focusable","false")),this._updateTabIndexes(n)}},Xs.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},Xs.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},Xs.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&-1<qs.indexOf(e.type.toLowerCase())){var o=e.selectionStart,n=o!==e.selectionEnd,r=e.value,i=e.readOnly;if(n||0<o&&!t&&!i||o!==r.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},Xs.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||ps(e,t)},Xs.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Fs(e,this._root.current)},Xs.prototype._getDocument=function(){return gt(this._root.current)},Xs.defaultProps={isCircularNavigation:!1,direction:Ti.bidirectional,shouldRaiseClicks:!0},Xs),Zs=((ke={})[Tn.up]=1,ke[Tn.down]=1,ke[Tn.left]=1,ke[Tn.right]=1,ke[Tn.home]=1,ke[Tn.end]=1,ke[Tn.tab]=1,ke[Tn.pageUp]=1,ke[Tn.pageDown]=1,ke);function Xs(e){var t,p=Ls.call(this,e)||this;p._root=mt.createRef(),p._mergedRef=qi(),p._onFocus=function(e){if(!p._portalContainsElement(e.target)){var t,o=p.props,n=o.onActiveElementChanged,r=o.doNotAllowFocusEventToPropagate,i=o.stopFocusPropagation,s=o.onFocusNotification,a=o.onFocus,l=o.shouldFocusInnerElementWhenReceivedFocus,c=o.defaultTabbableElement,o=p._isImmediateDescendantOfZone(e.target);if(o)t=e.target;else for(var u=e.target;u&&u!==p._root.current;){if(ls(u)&&p._isImmediateDescendantOfZone(u)){t=u;break}u=Xi(u,!1)}l&&e.target===p._root.current&&((d=c&&"function"==typeof c&&c(p._root.current))&&ls(d)?(t=d).focus():(p.focus(!0),p._activeElement&&(t=null)));var d=!p._activeElement;t&&t!==p._activeElement&&((o||d)&&p._setFocusAlignment(t,!0,!0),p._activeElement=t,d&&p._updateTabIndexes()),n&&n(p._activeElement,e),(i||r)&&e.stopPropagation(),a?a(e):s&&s()}},p._onBlur=function(){p._setParkedFocus(!1)},p._onMouseDown=function(e){if(!p._portalContainsElement(e.target)&&!p.props.disabled){for(var t=e.target,o=[];t&&t!==p._root.current;)o.push(t),t=Xi(t,!1);for(;o.length&&((t=o.pop())&&ls(t)&&p._setActiveElement(t,!0),!cs(t)););}},p._onKeyDown=function(e,t){if(!p._portalContainsElement(e.target)){var o=p.props,n=o.direction,r=o.disabled,i=o.isInnerZoneKeystroke,s=o.pagingSupportDisabled,o=o.shouldEnterInnerZone;if(!(r||(p.props.onKeyDown&&p.props.onKeyDown(e),e.isDefaultPrevented()||p._getDocument().activeElement===p._root.current&&p._isInnerZone))){if((o&&o(e)||i&&i(e))&&p._isImmediateDescendantOfZone(e.target)){i=p._getFirstInnerZone();if(i){if(!i.focus(!0))return}else{if(!us(e.target))return;if(!p.focusElement(ss(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case Tn.space:if(p._shouldRaiseClicksOnSpace&&p._tryInvokeClickForFocusable(e.target))break;return;case Tn.left:if(n!==Ti.vertical&&(p._preventDefaultWhenHandled(e),p._moveFocusLeft(t)))break;return;case Tn.right:if(n!==Ti.vertical&&(p._preventDefaultWhenHandled(e),p._moveFocusRight(t)))break;return;case Tn.up:if(n!==Ti.horizontal&&(p._preventDefaultWhenHandled(e),p._moveFocusUp()))break;return;case Tn.down:if(n!==Ti.horizontal&&(p._preventDefaultWhenHandled(e),p._moveFocusDown()))break;return;case Tn.pageDown:if(!s&&p._moveFocusPaging(!0))break;return;case Tn.pageUp:if(!s&&p._moveFocusPaging(!1))break;return;case Tn.tab:if(p.props.allowTabKey||p.props.handleTabKey===Fi.all||p.props.handleTabKey===Fi.inputOnly&&p._isElementInput(e.target)){var a;if(p._processingTabKey=!0,a=n!==Ti.vertical&&p._shouldWrapFocus(p._activeElement,Vs)?(Pn(t)?!e.shiftKey:e.shiftKey)?p._moveFocusLeft(t):p._moveFocusRight(t):e.shiftKey?p._moveFocusUp():p._moveFocusDown(),p._processingTabKey=!1,a)break;p.props.shouldResetActiveElementWhenTabFromZone&&(p._activeElement=null)}return;case Tn.home:if(p._isContentEditableElement(e.target)||p._isElementInput(e.target)&&!p._shouldInputLoseFocus(e.target,!1))return!1;var l=p._root.current&&p._root.current.firstChild;if(p._root.current&&l&&p.focusElement(ss(p._root.current,l,!0)))break;return;case Tn.end:if(p._isContentEditableElement(e.target)||p._isElementInput(e.target)&&!p._shouldInputLoseFocus(e.target,!0))return!1;l=p._root.current&&p._root.current.lastChild;if(p._root.current&&p.focusElement(is(p._root.current,l,!0,!0,!0)))break;return;case Tn.enter:if(p._shouldRaiseClicksOnEnter&&p._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},p._getHorizontalDistanceFromCenter=function(e,t,o){var n=p._focusAlignment.left||p._focusAlignment.x||0,r=Math.floor(o.top),i=Math.floor(t.bottom),s=Math.floor(o.bottom),t=Math.floor(t.top);return e&&i<r||!e&&s<t?n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n):p._shouldWrapFocus(p._activeElement,Ws)?Ks:Gs},fi(p),p._id=Cs("FocusZone"),p._focusAlignment={left:0,top:0},p._processingTabKey=!1;var o=null===(t=null!==(o=e.shouldRaiseClicks)&&void 0!==o?o:Xs.defaultProps.shouldRaiseClicks)||void 0===t||t;return p._shouldRaiseClicksOnEnter=null!==(t=e.shouldRaiseClicksOnEnter)&&void 0!==t?t:o,p._shouldRaiseClicksOnSpace=null!==(e=e.shouldRaiseClicksOnSpace)&&void 0!==e?e:o,p}function Qs(e){return!!Zs[e]}function Js(e){Zs[e]=1}var $s=new WeakMap;function ea(e,t){var o=$s.get(e),t=o?o+t:1;return $s.set(e,t),t}function ta(o){mt.useEffect(function(){var e,t=qe(null==o?void 0:o.current);if(t&&!0!==(null===(e=t.FabricConfig)||void 0===e?void 0:e.disableFocusRects))return ea(t,1)<=1&&(t.addEventListener("mousedown",na,!0),t.addEventListener("pointerdown",ra,!0),t.addEventListener("keydown",ia,!0)),function(){var e;t&&!0!==(null===(e=t.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===ea(t,-1)&&(t.removeEventListener("mousedown",na,!0),t.removeEventListener("pointerdown",ra,!0),t.removeEventListener("keydown",ia,!0))}},[o])}var oa=function(e){return ta(e.rootRef),null};function na(e){vo(!1,e.target)}function ra(e){"mouse"!==e.pointerType&&vo(!1,e.target)}function ia(e){Qs(e.which)&&vo(!0,e.target)}var sa=Fn(),aa=mt.forwardRef(function(e,t){e=function(e,t){var o,n=e.as,r=e.className,i=e.disabled,s=e.href,a=e.onClick,l=e.styles,c=e.theme,u=e.underline,d=mt.useRef(null),t=_r(d,t);o=d,mt.useImperativeHandle(e.componentRef,function(){return{focus:function(){o.current&&o.current.focus()}}},[o]),ta(d);c=sa(l,{className:r,isButton:!s,isDisabled:i,isUnderlined:u,theme:c}),s=n||(s?"a":"button");return{state:{},slots:{root:s},slotProps:{root:pt(pt({},function(e,t){t.as;var o=t.disabled,n=t.target,r=t.href,t=(t.theme,t.getStyles,t.styles,t.componentRef,t.underline,ht(t,["as","disabled","target","href","theme","getStyles","styles","componentRef","underline"]));return"string"==typeof e?"a"===e?pt({target:n,href:o?void 0:r},t):"button"===e?pt({type:"button",disabled:o},t):pt(pt({},t),{disabled:o}):pt({target:n,href:r,disabled:o},t)}(s,e)),{"aria-disabled":i,className:c.root,onClick:function(e){i?e.preventDefault():a&&a(e)},ref:t})}}}(e,t),t=e.slots,e=e.slotProps;return mt.createElement(t.root,pt({},e.root))});aa.displayName="LinkBase";var la={root:"ms-Link"},ca=In(aa,function(e){var t=e.className,o=e.isButton,n=e.isDisabled,r=e.isUnderlined,i=e.theme,s=i.semanticColors,a=s.link,l=s.linkHovered,c=s.disabledText,e=s.focusBorder,s=zo(la,i);return{root:[s.root,i.fonts.medium,{color:a,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:r?"underline":"none",selectors:((e={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px "+e+" inset",outline:"1px auto "+e,selectors:((e={})[Yt]={outline:"1px solid WindowText"},e)}})[Yt]={borderBottom:"none"},e)},o&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:((e={})[Yt]={color:"LinkText",forcedColorAdjust:"none"},e)},!o&&{selectors:((o={})[Yt]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},o)},n&&["is-disabled",{color:c,cursor:"default"},{selectors:{"&:link, &:visited":{pointerEvents:"none"}}}],!n&&{selectors:{"&:active, &:hover, &:active:hover":{color:l,textDecoration:"underline",selectors:((l={})[Yt]={color:"LinkText"},l)},"&:focus":{color:a,selectors:((a={})[Yt]={color:"LinkText"},a)}}},s.root,t]}},void 0,{scope:"Link"});function ua(e,t){for(var o in e)if(e.hasOwnProperty(o)&&(!t.hasOwnProperty(o)||t[o]!==e[o]))return!1;for(var o in t)if(t.hasOwnProperty(o)&&!e.hasOwnProperty(o))return!1;return!0}function da(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return pa.apply(this,[null,e].concat(t))}function pa(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];t=t||{};for(var r=0,i=o;r<i.length;r++){var s=i[r];if(s)for(var a in s)!s.hasOwnProperty(a)||e&&!e(a)||(t[a]=s[a])}return t}function ha(t,o){return Object.keys(t).map(function(e){if(String(Number(e))!==e)return o(e,t[e])}).filter(function(e){return!!e})}function ma(o){return Object.keys(o).reduce(function(e,t){return e.push(o[t]),e},[])}function ga(e,t){var o,n={};for(o in e)-1===t.indexOf(o)&&e.hasOwnProperty(o)&&(n[o]=e[o]);return n}var fa=(va.raise=function(e,t,o,n){var r,i;if(va._isElement(e))"undefined"!=typeof document&&document.createEvent?((i=document.createEvent("HTMLEvents")).initEvent(t,n||!1,!0),da(i,o),r=e.dispatchEvent(i)):"undefined"!=typeof document&&document.createEventObject&&(i=document.createEventObject(o),e.fireEvent("on"+t,i));else for(;e&&!1!==r;){var s=e.__events__,a=s?s[t]:null;if(a)for(var l in a)if(a.hasOwnProperty(l))for(var c=a[l],u=0;!1!==r&&u<c.length;u++){var d=c[u];d.objectCallback&&(r=d.objectCallback.call(d.parent,o))}e=n?e.parent:null}return r},va.isObserved=function(e,t){e=e&&e.__events__;return!!e&&!!e[t]},va.isDeclared=function(e,t){e=e&&e.__declaredEvents;return!!e&&!!e[t]},va.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},va._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},va.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},va.prototype.onAll=function(e,t,o){for(var n in t)t.hasOwnProperty(n)&&this.on(e,n,t[n],o)},va.prototype.on=function(e,t,r,o){var i=this;if(-1<t.indexOf(","))for(var n=t.split(/[ ,]+/),s=0;s<n.length;s++)this.on(e,n[s],r,o);else{var a,l=this._parent,c={target:e,eventName:t,parent:l,callback:r,options:o};(n=e.__events__=e.__events__||{})[t]=n[t]||{count:0},n[t][this._id]=n[t][this._id]||[],n[t][this._id].push(c),n[t].count++,va._isElement(e)?(a=function(){for(var e,t,o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];if(!i._isDisposed){try{!1===(e=r.apply(l,o))&&o[0]&&((t=o[0]).preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)}catch(t){}return e}},c.elementCallback=a,e.addEventListener?e.addEventListener(t,a,o):e.attachEvent&&e.attachEvent("on"+t,a)):c.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return r.apply(l,e)},this._eventRecords.push(c)}},va.prototype.off=function(e,t,o,n){for(var r=0;r<this._eventRecords.length;r++){var i,s,a,l=this._eventRecords[r];e&&e!==l.target||t&&t!==l.eventName||o&&o!==l.callback||"boolean"==typeof n&&n!==l.options||((a=(s=(i=l.target.__events__)[l.eventName])?s[this._id]:null)&&(1!==a.length&&o?(s.count--,a.splice(a.indexOf(l),1)):(s.count-=a.length,delete i[l.eventName][this._id]),s.count||delete i[l.eventName]),l.elementCallback&&(l.target.removeEventListener?l.target.removeEventListener(l.eventName,l.elementCallback,l.options):l.target.detachEvent&&l.target.detachEvent("on"+l.eventName,l.elementCallback)),this._eventRecords.splice(r--,1))}},va.prototype.raise=function(e,t,o){return va.raise(this._parent,e,t,o)},va.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var o=0;o<e.length;o++)t[e[o]]=!0},va._uniqueId=0,va);function va(e){this._id=va._uniqueId++,this._parent=e,this._eventRecords=[]}function ba(e,t,o,n,r){}function ya(e,t,o){}function Ca(e,t,o){}var _a,Sa=(l(xa,_a=mt.Component),xa.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},xa.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},xa.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var o=this.__disposables[e];o.dispose&&o.dispose()}this.__disposables=null}},Object.defineProperty(xa.prototype,"className",{get:function(){var e;return this.__className||(e=/function (.{1,})\(/.exec(this.constructor.toString()),this.__className=e&&1<e.length?e[1]:""),this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(xa.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(xa.prototype,"_async",{get:function(){return this.__async||(this.__async=new Si(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(xa.prototype,"_events",{get:function(){return this.__events||(this.__events=new fa(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),xa.prototype._resolveRef=function(t){var o=this;return this.__resolves||(this.__resolves={}),this.__resolves[t]||(this.__resolves[t]=function(e){return o[t]=e}),this.__resolves[t]},xa.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},xa.prototype._warnDeprecations=function(e){this.className,this.props},xa.prototype._warnMutuallyExclusive=function(e){this.className,this.props},xa.prototype._warnConditionallyRequiredProps=function(e,t,o){this.className,this.props},xa.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))},xa);function xa(e,t){t=_a.call(this,e,t)||this;return function(e,t,o){for(var n=0,r=o.length;n<r;n++)!function(e,t,o){var n=e[o],r=t[o];(n||r)&&(e[o]=function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return r&&(e=r.apply(this,t)),e=n!==r?n.apply(this,t):e})}(e,t,o[n])}(t,xa.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),t}function ka(){return null}function wa(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=e.filter(function(e){return e}).join(" ").trim();return""===o?void 0:o}var Ia,Da,Ta=function(e){var t=e.className,o=e.imageProps,n=ur(e,Wn,["aria-label","aria-labelledby","title","aria-describedby"]),r=o.alt||e["aria-label"],i=r||e["aria-labelledby"]||e.title||o["aria-label"]||o["aria-labelledby"]||o.title,e={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title};return mt.createElement("div",pt({},i?{}:{"aria-hidden":!0},n,{className:Er(Tr,Dr.root,Dr.image,t)}),mt.createElement(Ir,pt({},e,o,{alt:i?r:""})))},Ea={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13};function Pa(e){return void 0!==Da&&!e||(e=null===(e=null==(e=qe())?void 0:e.navigator)||void 0===e?void 0:e.userAgent,Da=!!e&&-1!==e.indexOf("Macintosh")),!!Da}(W=Ia=Ia||{})[W.Normal=0]="Normal",W[W.Divider=1]="Divider",W[W.Header=2]="Header",W[W.Section=3]="Section";var Ra,Ma,Na=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)};function Ba(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function Fa(e){return!(!e.subMenuProps&&!e.items)}function Aa(e){return!(!e.isDisabled&&!e.disabled)}function La(e){return null!==Ba(e)?"menuitemcheckbox":"menuitem"}function Ha(e,t,o,n){return e.addEventListener(t,o,n),function(){return e.removeEventListener(t,o,n)}}(q=Ra=Ra||{})[q.top=1]="top",q[q.bottom=-1]="bottom",q[q.left=2]="left",q[q.right=-2]="right",(V=Ma=Ma||{})[V.top=0]="top",V[V.bottom=1]="bottom",V[V.start=2]="start",V[V.end=3]="end";var Oa=(Object.defineProperty(za.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(za.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),za.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},za);function za(e,t,o,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),this.top=o=void 0===o?0:o,this.bottom=n,this.left=e,this.right=t}function Wa(e,t,o){return{targetEdge:e,alignmentEdge:t,isAuto:o}}var Va=((K={})[Ea.topLeftEdge]=Wa(Ra.top,Ra.left),K[Ea.topCenter]=Wa(Ra.top),K[Ea.topRightEdge]=Wa(Ra.top,Ra.right),K[Ea.topAutoEdge]=Wa(Ra.top,void 0,!0),K[Ea.bottomLeftEdge]=Wa(Ra.bottom,Ra.left),K[Ea.bottomCenter]=Wa(Ra.bottom),K[Ea.bottomRightEdge]=Wa(Ra.bottom,Ra.right),K[Ea.bottomAutoEdge]=Wa(Ra.bottom,void 0,!0),K[Ea.leftTopEdge]=Wa(Ra.left,Ra.top),K[Ea.leftCenter]=Wa(Ra.left),K[Ea.leftBottomEdge]=Wa(Ra.left,Ra.bottom),K[Ea.rightTopEdge]=Wa(Ra.right,Ra.top),K[Ea.rightCenter]=Wa(Ra.right),K[Ea.rightBottomEdge]=Wa(Ra.right,Ra.bottom),K);function Ka(e,t){return!(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function Ga(e,t){var o=[];return e.top<t.top&&o.push(Ra.top),e.bottom>t.bottom&&o.push(Ra.bottom),e.left<t.left&&o.push(Ra.left),e.right>t.right&&o.push(Ra.right),o}function Ua(e,t){return e[Ra[t]]}function ja(e,t,o){return e[Ra[t]]=o,e}function qa(e,t){t=nl(t);return(Ua(e,t.positiveEdge)+Ua(e,t.negativeEdge))/2}function Ya(e,t){return 0<e?t:-1*t}function Za(e,t){return Ya(e,Ua(t,e))}function Xa(e,t,o){return Ya(o,Ua(e,o)-Ua(t,o))}function Qa(e,t,o,n){void 0===n&&(n=!0);var r=Ua(e,t)-o,o=ja(e,t,o);return o=n?ja(e,-1*t,Ua(e,-1*t)-r):o}function Ja(e,t,o,n){return Qa(e,o,Ua(t,o)+Ya(o,n=void 0===n?0:n))}function $a(e,t,o){return Za(o,e)>Za(o,t)}function el(e,t,o){for(var n=0,r=e;n<r.length;n++){var i=r[n],s=Ja(t.elementRectangle,o,i);$a(s,o,-1*i)||(s=Qa(s,-1*i,Ua(o,-1*i),!1),t.forcedInBounds=!0),t.elementRectangle=s}return t}function tl(e,t,o){var n=nl(t).positiveEdge;return Qa(e,n,o-(qa(e,t)-Ua(e,n)))}function ol(e,t,o,n,r){void 0===n&&(n=0);var i=new Oa(e.left,e.right,e.top,e.bottom),s=o.alignmentEdge,e=o.targetEdge,o=r?e:-1*e,i=r?Ja(i,t,e,n):(n=Ya(-1*e,void 0===n?0:n),Qa(i,-1*e,Ua(t,e)+n));return s?Ja(i,t,s):tl(i,o,qa(t,e))}function nl(e){return e===Ra.top||e===Ra.bottom?{positiveEdge:Ra.left,negativeEdge:Ra.right}:{positiveEdge:Ra.top,negativeEdge:Ra.bottom}}function rl(e,t,o){return o&&Math.abs(Xa(e,o,t))>Math.abs(Xa(e,o,-1*t))?-1*t:t}function il(e,t,o){var n=qa(t,e),t=qa(o,e),o=nl(e),e=o.positiveEdge,o=o.negativeEdge;return n<=t?e:o}function sl(e,t,o,c,n,u,r){var d=ol(e,t,c,n,r);return Ka(d,o)?{elementRectangle:d,targetEdge:c.targetEdge,alignmentEdge:c.alignmentEdge}:function(e,t,o,n){void 0===o&&(o=0);var r=c.alignmentEdge,i=c.alignTargetEdge,s={elementRectangle:d,targetEdge:c.targetEdge,alignmentEdge:r};u||n||(s=function(e,t,o,n,r){void 0===r&&(r=0);var i=[Ra.left,Ra.right,Ra.bottom,Ra.top];Pn()&&(i[0]*=-1,i[1]*=-1);for(var s,a=e,l=n.targetEdge,c=n.alignmentEdge,u=l,d=c,p=0;p<4;p++){if($a(a,o,l))return{elementRectangle:a,targetEdge:l,alignmentEdge:c};var h=function(e,t){for(var o=0,n=0,r=Ga(e,t);n<r.length;n++){var i=r[n];o+=Math.pow(Xa(e,t,i),2)}return o}(a,o);(!s||h<s)&&(s=h,u=l,d=c),i.splice(i.indexOf(l),1),0<i.length&&(-1<i.indexOf(-1*l)?l*=-1:(c=l,l=i.slice(-1)[0]),a=ol(e,t,{targetEdge:l,alignmentEdge:c},r))}return{elementRectangle:a=ol(e,t,{targetEdge:u,alignmentEdge:d},r),targetEdge:u,alignmentEdge:d}}(d,e,t,c,o));var a,l=Ga(s.elementRectangle,t);if(0<l.length)if(i){if(s.alignmentEdge&&-1<l.indexOf(-1*s.alignmentEdge)){i=(a=o,i=(r=s).alignmentEdge,o=r.targetEdge,i*=-1,{elementRectangle:ol(r.elementRectangle,e,{targetEdge:o,alignmentEdge:i},a,n),targetEdge:o,alignmentEdge:i});if(Ka(i.elementRectangle,t))return i;s=el(Ga(i.elementRectangle,t),s,t)}}else s=el(l,s,t);return s}(t,o,n,r)}function al(e){e=e.getBoundingClientRect();return new Oa(e.left,e.right,e.top,e.bottom)}function ll(e){return new Oa(e.left,e.right,e.top,e.bottom)}function cl(e,t,o,n){var r,i,s=e.gapSpace||0,a=function(e,t){var o,n,r,i;if(t){if(!Ka(o=t.preventDefault?new Oa(t.clientX,t.clientX,t.clientY,t.clientY):t.getBoundingClientRect?al(t):(n=t.left||t.x,r=t.top||t.y,i=t.right||n,t=t.bottom||r,new Oa(n,i,r,t)),e))for(var s=0,a=Ga(o,e);s<a.length;s++){var l=a[s];o[Ra[l]]=e[Ra[l]]}}else o=new Oa(0,0,0,0);return o}(o,e.target),r=(r=function(e,t){if(void 0===e&&(e=Ea.bottomAutoEdge),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};e=pt({},Va[e]);return Pn()?(e.alignmentEdge&&e.alignmentEdge%2==0&&(e.alignmentEdge=-1*e.alignmentEdge),void 0!==t?Va[t]:e):e}(e.directionalHint,e.directionalHintForRTL),e.coverTarget,i=e.alignTargetEdge,r.isAuto&&(r.alignmentEdge=il(r.targetEdge,a,o)),r.alignTargetEdge=i,r),e=sl(al(t),a,o,r,s,e.directionalHintFixed,e.coverTarget);return pt(pt({},e),{targetRectangle:a})}function ul(e,t,o,n,r){return{elementPosition:(i=e.elementRectangle,s=e.targetEdge,a=o,l=e.alignmentEdge,c=n,o=r,n=e.forcedInBounds,r={},t=al(t),c=c?s:-1*s,s=l||nl(s).positiveEdge,o||(s=rl(i,s,a)),r[Ra[c]]=Xa(i,t,c),r[Ra[s]]=Xa(i,t,s),n&&(r[Ra[-1*c]]=Xa(i,t,-1*c),r[Ra[-1*s]]=Xa(i,t,-1*s)),r),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge};var i,s,a,l,c}function dl(e,t,o,n,r){var i=e.isBeakVisible&&e.beakWidth||0,s=Math.sqrt(i*i*2)/2+(e.gapSpace||0),a=e;a.gapSpace=s;var l,c,u,d=e.bounds?ll(e.bounds):new Oa(0,window.innerWidth-Rs(),0,window.innerHeight),p=cl(a,o,d,n),u=(c=i,s=(u=l=p).targetRectangle,a=nl(u.targetEdge),o=a.positiveEdge,n=a.negativeEdge,i=qa(s,u.targetEdge),a=new Oa(c/2,u.elementRectangle.width-c/2,c/2,u.elementRectangle.height-c/2),$a(s=tl(s=Qa(s=new Oa(0,c,0,c),-1*u.targetEdge,-c/2),-1*u.targetEdge,i-Za(o,u.elementRectangle)),a,o)?$a(s,a,n)||(s=Ja(s,a,n)):s=Ja(s,a,o),i=s,u=d,n=-1*l.targetEdge,a=new Oa(0,l.elementRectangle.width,0,l.elementRectangle.height),o={},s=rl(l.elementRectangle,l.alignmentEdge||nl(n).positiveEdge,u),u=Xa(l.elementRectangle,l.targetRectangle,n)>Math.abs(Ua(i,n)),o[Ra[n]]=Ua(i,n),o[Ra[s]]=Xa(i,a,s),{elementPosition:pt({},o),closestEdge:il(l.targetEdge,i,a),targetEdge:n,hideBeak:!u});return pt(pt({},ul(p,t,d,e.coverTarget,r)),{beakPosition:u})}function pl(e,t,o,n){return r=t,t=o,o=n,e=(n=e).bounds?ll(n.bounds):new Oa(0,window.innerWidth-Rs(),0,window.innerHeight),ul(cl(n,t,e,o),r,e,n.coverTarget);var r}function hl(e,t,o,n){return dl(e,t,o,n)}function ml(e,t,o,n){return dl(e,t,o,n,!0)}function gl(e,t,o,n,r){void 0===o&&(o=0);var i=e,s=e,a=e,l=n?ll(n):new Oa(0,window.innerWidth-Rs(),0,window.innerHeight),c=a.left||a.x,e=a.top||a.y,n=a.right||c,a=a.bottom||e;return s=i.stopPropagation?new Oa(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==c&&void 0!==e?new Oa(c,n,e,a):al(s),o=o,t=Va[t],r=r?-1*t.targetEdge:t.targetEdge,0<(o=r===Ra.top?Ua(s,t.targetEdge)-l.top-o:r===Ra.bottom?l.bottom-Ua(s,t.targetEdge)-o:l.bottom-s.top-o)?o:l.height}function fl(e){return-1*e}function vl(e,t){return function(e,t){var o=void 0;if(void 0===(o=t.getWindowSegments?t.getWindowSegments():o)||o.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var n=0,r=0;null!==e&&e.getBoundingClientRect?(n=((t=e.getBoundingClientRect()).left+t.right)/2,r=(t.top+t.bottom)/2):null!==e&&(n=e.left||e.x,r=e.top||e.y);for(var i={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,a=o;s<a.length;s++){var l=a[s];n&&l.left<=n&&l.right>=n&&r&&l.top<=r&&l.bottom>=r&&(i={top:l.top,left:l.left,right:l.right,bottom:l.bottom,width:l.width,height:l.height})}return i}(e,t)}function bl(e){var t=mt.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function yl(){var e=bl(function(){return new Si});return mt.useEffect(function(){return function(){return e.dispose()}},[e]),e}function Cl(t,o,e,n){var r=mt.useRef(e);r.current=e,mt.useEffect(function(){var e=t&&"current"in t?t.current:t;if(e)return Ha(e,o,function(e){return r.current(e)},n)},[t,o,n])}var _l=mt.createContext({window:"object"==typeof window?window:void 0}),Sl=function(){return mt.useContext(_l).window},xl=function(){var e;return null===(e=mt.useContext(_l).window)||void 0===e?void 0:e.document},kl=function(e){return mt.createElement(_l.Provider,{value:e},e.children)};function wl(e){var t=e.originalElement,e=e.containsFocus;t&&e&&t!==qe()&&setTimeout(function(){var e;null===(e=t.focus)||void 0===e||e.call(t)},0)}var Il=mt.forwardRef(function(e,t){e=pt({shouldRestoreFocus:!0},e);var o,n,r,i,s,a=mt.useRef(),l=_r(a,t);s=e["aria-modal"],mt.useEffect(function(){var e=gt();if(s&&e){for(var t=e.body.children,o=[],n=0;n<t.length-1;n++)o.push(t[n]);return(o=o.filter(function(e){return"TEMPLATE"!==e.tagName&&"SCRIPT"!==e.tagName&&"STYLE"!==e.tagName&&!e.hasAttribute("aria-hidden")})).forEach(function(e){return e.setAttribute("aria-hidden","true")}),function(){return o.forEach(function(e){return e.removeAttribute("aria-hidden")})}}},[s]),o=a,p=e.onRestoreFocus,n=void 0===p?wl:p,r=mt.useRef(),i=mt.useRef(!1),mt.useEffect(function(){return r.current=gt().activeElement,ds(o.current)&&(i.current=!0),function(){var e;null==n||n({originalElement:r.current,containsFocus:i.current,documentContainsFocus:(null===(e=gt())||void 0===e?void 0:e.hasFocus())||!1}),r.current=void 0}},[]),Cl(o,"focus",mt.useCallback(function(){i.current=!0},[]),!0),Cl(o,"blur",mt.useCallback(function(e){o.current&&e.relatedTarget&&!o.current.contains(e.relatedTarget)&&(i.current=!1)},[]),!0);var c,u,d,p,h,m,g=e.role,f=e.className,v=e.ariaLabel,b=e.ariaLabelledBy,y=e.ariaDescribedBy,C=e.style,t=e.children,_=e.onDismiss,a=(c=e,u=a,d=yl(),p=mt.useState(!1),h=p[0],m=p[1],mt.useEffect(function(){return d.requestAnimationFrame(function(){var e,t,o;c.style&&c.style.overflowY||(e=!1,u&&u.current&&null!==(o=u.current)&&void 0!==o&&o.firstElementChild&&(t=u.current.clientHeight,o=u.current.firstElementChild.clientHeight,0<t&&t<o&&(e=1<o-t)),h!==e&&m(e))}),function(){return d.dispose()}}),h),p=mt.useCallback(function(e){e.which===Tn.escape&&_&&(_(e),e.preventDefault(),e.stopPropagation())},[_]);return Cl(Sl(),"keydown",p),mt.createElement("div",pt({ref:l},ur(e,cr),{className:f,role:g,"aria-label":v,"aria-labelledby":b,"aria-describedby":y,onKeyDown:p,style:pt({overflowY:a?"scroll":void 0,outline:"none"},C)}),t)});function Dl(e,t){var o=mt.useRef(),n=mt.useRef(null),r=Sl();return e&&e===o.current&&"string"!=typeof e||(t=null==t?void 0:t.current,e&&("string"==typeof e?(t=gt(t),n.current=t?t.querySelector(e):null):n.current=!("stopPropagation"in e||"getBoundingClientRect"in e)&&"current"in e?e.current:e),o.current=e),[n,r]}var Tl=((G={})[Ra.top]=Le.slideUpIn10,G[Ra.bottom]=Le.slideDownIn10,G[Ra.left]=Le.slideLeftIn10,G[Ra.right]=Le.slideRightIn10,G),El={opacity:0,filter:"opacity(0)",pointerEvents:"none"},Pl=["role","aria-roledescription"],Rl={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:Ea.bottomAutoEdge},Ml=Fn({disableCaching:!0}),Nl=mt.memo(mt.forwardRef(function(e,t){var s,a,l,c,u,d,p,h,m,g,f,v,b,y,n,r,i,C,_,S,x,k,w,o,I,D,T,E,P,R,M,N,B,F,A,L,H,O,z,W,V,K=Hn(Rl,e),G=K.styles,U=K.style,j=K.ariaLabel,q=K.ariaDescribedBy,Y=K.ariaLabelledBy,Z=K.className,X=K.isBeakVisible,Q=K.children,J=K.beakWidth,$=K.calloutWidth,ee=K.calloutMaxWidth,te=K.calloutMinWidth,oe=K.doNotLayer,ne=K.finalHeight,re=K.hideOverflow,ie=void 0===re?!!ne:re,se=K.backgroundColor,ae=K.calloutMaxHeight,le=K.onScroll,ce=K.shouldRestoreFocus,ue=void 0===ce||ce,de=K.target,pe=K.hidden,he=K.onLayerMounted,me=mt.useRef(null),ge=mt.useState(null),fe=ge[0],ve=ge[1],e=mt.useCallback(function(e){ve(e)},[]),ne=_r(me,t),re=Dl(K.target,{current:fe}),ce=re[0],ge=re[1],t=(r=me,i=fe,P=C=ce,R=ge,M=(n=K).bounds,t=K.minPagePadding,N=void 0===t?Rl.minPagePadding:t,B=K.target,re=mt.useState(!1),F=re[0],A=re[1],L=mt.useRef(),t=mt.useCallback(function(){var e;return L.current&&!F||(!(e="function"==typeof M?R?M(B,R):void 0:M)&&R&&(e={top:(e=vl(P.current,R)).top+N,left:e.left+N,right:e.right-N,bottom:e.bottom-N,width:e.width-2*N,height:e.height-2*N}),L.current=e,F&&A(!1)),L.current},[M,N,B,P,R,F]),re=yl(),Cl(R,"resize",re.debounce(function(){A(!0)},500,{leading:!0})),_=t,re=mt.useState(),S=re[0],x=re[1],k=mt.useRef(0),w=mt.useRef(),o=yl(),I=n.hidden,D=n.target,T=n.finalHeight,E=n.onPositioned,re=n.directionalHint,mt.useEffect(function(){if(!I){var e=o.requestAnimationFrame(function(){var e,t,o;r.current&&i&&(t=pt(pt({},n),{target:C.current,bounds:_()}),o=w.current===D?S:void 0,e=(T?ml:hl)(t,r.current,i,o),!S&&e||S&&e&&(!Bl((t=S).elementPosition,(o=e).elementPosition)||!Bl(t.beakPosition.elementPosition,o.beakPosition.elementPosition))&&k.current<5?(k.current++,x(e)):0<k.current&&(k.current=0,null==E||E(S)))},i);return w.current=D,function(){o.cancelAnimationFrame(e),w.current=void 0}}x(void 0),k.current=0},[I,re,o,i,r,C,T,_,E,S,n,D]),S),ce=(re=t,s=me,a=ce,l=ge,c=K.hidden,u=K.onDismiss,d=K.preventDismissOnScroll,p=K.preventDismissOnResize,h=K.preventDismissOnLostFocus,m=K.dismissOnTargetClick,g=K.shouldDismissOnWindowFocus,f=K.preventDismissOnEvent,v=mt.useRef(!1),b=yl(),me=bl([function(){v.current=!0},function(){v.current=!1}]),y=!!re,mt.useEffect(function(){function o(e){y&&!d&&t(e)}function n(e){p||f&&f(e)||null==u||u(e)}function r(e){h||t(e)}function t(e){var t=e.target,o=s.current&&!$i(s.current,t);o&&v.current?v.current=!1:(!a.current&&o||e.target!==l&&o&&(!a.current||"stopPropagation"in a.current||m||t!==a.current&&!$i(a.current,t)))&&(f&&f(e)||null==u||u(e))}function i(e){g&&((!f||f(e))&&(f||h)||null!=l&&l.document.hasFocus()||null!==e.relatedTarget||null==u||u(e))}var e=new Promise(function(t){b.setTimeout(function(){var e;!c&&l&&(e=[Ha(l,"scroll",o,!0),Ha(l,"resize",n,!0),Ha(l.document.documentElement,"focus",r,!0),Ha(l.document.documentElement,"click",r,!0),Ha(l,"blur",i,!0)],t(function(){e.forEach(function(e){return e()})}))},0)});return function(){e.then(function(e){return e()})}},[c,b,s,a,l,u,g,m,h,p,d,y,f]),me),re=ce[0],me=ce[1];if(ce=t,H=fe,O=K.hidden,z=K.setInitialFocus,W=yl(),V=!!ce,mt.useEffect(function(){if(!O&&z&&V&&H){var e=W.requestAnimationFrame(function(){return rs(H)},H);return function(){return W.cancelAnimationFrame(e)}}},[O,V,W,H,z]),mt.useEffect(function(){pe||null==he||he()},[pe]),!ge)return null;de=X&&!!de,oe=Ml(G,{theme:K.theme,className:Z,overflowYHidden:ie,calloutWidth:$,positions:t,beakWidth:J,backgroundColor:se,calloutMaxWidth:ee,calloutMinWidth:te,doNotLayer:oe}),U=pt(pt({maxHeight:ae||"100%"},U),ie&&{overflowY:"hidden"}),ie=K.hidden?{visibility:"hidden"}:void 0;return mt.createElement("div",{ref:ne,className:oe.container,style:ie},mt.createElement("div",pt({},ur(K,cr,Pl),{className:Er(oe.root,t&&t.targetEdge&&Tl[t.targetEdge]),style:t?t.elementPosition:El,tabIndex:-1,ref:e}),de&&mt.createElement("div",{className:oe.beak,style:((e=pt(pt({},null===(t=null==(e=t)?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:null!==(e=null==e?void 0:e.beakPosition)&&void 0!==e&&e.hideBeak?"none":void 0})).top||e.bottom||e.left||e.right||(e.left=0,e.top=0),e)}),de&&mt.createElement("div",{className:oe.beakCurtain}),mt.createElement(Il,pt({},ur(K,Pl),{ariaDescribedBy:q,ariaLabel:j,ariaLabelledBy:Y,className:oe.calloutMain,onDismiss:K.onDismiss,onMouseDown:re,onMouseUp:me,onRestoreFocus:K.onRestoreFocus,onScroll:le,shouldRestoreFocus:ue,style:U}),Q)))}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||ua(e,t)});function Bl(e,t){for(var o in t)if(t.hasOwnProperty(o)){var n=e[o],o=t[o];if(void 0===n||void 0===o)return;if(n.toFixed(2)!==o.toFixed(2))return}return 1}Nl.displayName="CalloutContentBase";var Fl={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},Al=In(Nl,function(e){var t=e.theme,o=e.className,n=e.overflowYHidden,r=e.calloutWidth,i=e.beakWidth,s=e.backgroundColor,a=e.calloutMaxWidth,l=e.calloutMinWidth,c=e.doNotLayer,u=zo(Fl,t),d=t.semanticColors,e=t.effects;return{container:[u.container,{position:"relative"}],root:[u.root,t.fonts.medium,{position:"absolute",zIndex:c?mo.Layer:void 0,boxSizing:"border-box",borderRadius:e.roundedCorner2,boxShadow:e.elevation16,selectors:((c={})[Yt]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},c)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},o,!!r&&{width:r},!!a&&{maxWidth:a},!!l&&{minWidth:l}],beak:[u.beak,{position:"absolute",backgroundColor:d.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},{height:i,width:i},s&&{backgroundColor:s}],beakCurtain:[u.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:d.menuBackground,borderRadius:e.roundedCorner2}],calloutMain:[u.calloutMain,{backgroundColor:d.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:e.roundedCorner2},n&&{overflowY:"hidden"},s&&{backgroundColor:s}]}},void 0,{scope:"CalloutContent"}),Ll=cT(196);function Hl(e,t){t=(t||{}).customizations,t=void 0===t?{settings:{},scopedSettings:{}}:t;return{customizations:{settings:Wo(t.settings,e.settings),scopedSettings:Vo(t.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}var Ol,zl=(l(Gl,Ol=mt.Component),Gl.prototype.componentDidMount=function(){yt.observe(this._onCustomizationChange)},Gl.prototype.componentWillUnmount=function(){yt.unobserve(this._onCustomizationChange)},Gl.prototype.render=function(){var t=this,o=this.props.contextTransform;return mt.createElement(xn.Consumer,null,function(e){e=Hl(t.props,e);return o&&(e=o(e)),mt.createElement(xn.Provider,{value:e},t.props.children)})},Gl),Wl=Fn(),Vl=Ao(function(e,t){return At(pt(pt({},e),{rtl:t}))}),Kl=mt.forwardRef(function(e,t){var o,n,r,i,s,a=e.className,l=e.theme,c=e.applyTheme,u=e.applyThemeToBody,d=e.styles,p=Wl(d,{theme:l,applyTheme:c,className:a}),h=mt.useRef(null);return r=u,i=h,s=p.bodyThemed,mt.useEffect(function(){if(r){var e=gt(i.current);if(e)return e.body.classList.add(s),function(){e.body.classList.remove(s)}}},[s,r,i]),ta(h),mt.createElement(mt.Fragment,null,(o=e,n=h,d=t,l=p.root,c=o.as,a=void 0===c?"div":c,u=o.dir,e=o.theme,h=ur(o,cr,["dir"]),t=o.theme,p=o.dir,c=Pn(t)?"rtl":"ltr",o=Pn()?"rtl":"ltr",t={rootDir:(t=p||c)!==c||t!==o?t:p,needsTheme:t!==c},c=t.needsTheme,d=mt.createElement(a,pt({dir:t.rootDir},h,{className:l,ref:_r(n,d)})),d=c?mt.createElement(zl,{settings:{theme:Vl(e,"rtl"===u)}},d):d))});function Gl(){var e=null!==Ol&&Ol.apply(this,arguments)||this;return e._onCustomizationChange=function(){return e.forceUpdate()},e}Kl.displayName="FabricBase";var Ul={fontFamily:"inherit"},jl={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},ql=In(Kl,function(e){var t=e.theme,o=e.className,e=e.applyTheme;return{root:[zo(jl,t).root,t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":Ul,"& input":Ul,"& textarea":Ul}},e&&{color:t.semanticColors.bodyText,backgroundColor:t.semanticColors.bodyBackground},o],bodyThemed:[{backgroundColor:t.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"});function Yl(e,t){var o=e,n=t;o._virtual||(o._virtual={children:[]});e=o._virtual.parent;!e||e===t||-1<(t=e._virtual.children.indexOf(o))&&e._virtual.children.splice(t,1),o._virtual.parent=n||void 0,n&&(n._virtual||(n._virtual={children:[]}),n._virtual.children.push(o))}var Zl={};function Xl(e){Zl[e]&&Zl[e].forEach(function(e){return e()})}var Ql,Jl=Fn(),$l=mt.forwardRef(function(e,t){function o(){null==b||b();var e=s.current;s.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)}function n(){var e,t=function(){if(u)return g?u.getElementById(g):u.body}();u&&t&&(o(),(e=u.createElement("div")).className=C.root,Bs(e),Yl(e,r.current),y?t.insertBefore(e,t.firstChild):t.appendChild(e),s.current=e,c(!0))}var r=mt.useRef(null),i=_r(r,t),s=mt.useRef(),a=mt.useState(!1),l=a[0],c=a[1],u=xl(),d=e.eventBubblingEnabled,p=e.styles,h=e.theme,m=e.className,t=e.children,g=e.hostId,a=e.onLayerDidMount,f=void 0===a?function(){}:a,a=e.onLayerMounted,v=void 0===a?function(){}:a,b=e.onLayerWillUnmount,y=e.insertFirst,C=Jl(p,{theme:h,className:m,isNotHost:!g});return mt.useLayoutEffect(function(){return n(),g&&(t=n,Zl[e=g]||(Zl[e]=[]),Zl[e].push(t)),function(){var e,t;o(),g&&(!Zl[e=g]||0<=(t=Zl[e].indexOf(n))&&(Zl[e].splice(t,1),0===Zl[e].length&&delete Zl[e]))};var e,t},[g]),mt.useEffect(function(){s.current&&l&&(null==v||v(),null==f||f(),c(!1))},[l,v,f]),mt.createElement("span",{className:"ms-layer",ref:i},s.current&&Ll.createPortal(mt.createElement(ql,pt({},!d&&(Ql||(Ql={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach(function(e){return Ql[e]=ec})),Ql),{className:C.content}),t),s.current))});$l.displayName="LayerBase";var ec=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},tc={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},oc=In($l,function(e){var t=e.className,o=e.isNotHost,n=e.theme,e=zo(tc,n);return{root:[e.root,n.fonts.medium,o&&[e.rootNoHost,{position:"fixed",zIndex:mo.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[e.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),nc=mt.forwardRef(function(e,t){var o=e.layerProps,n=e.doNotLayer,e=ht(e,["layerProps","doNotLayer"]),t=mt.createElement(Al,pt({},e,{doNotLayer:n,ref:t}));return n?t:mt.createElement(oc,pt({},o),t)});nc.displayName="Callout";function rc(e){var t=e.item,e=e.classNames,t=t.iconProps;return mt.createElement(Wr,pt({},t,{className:e.icon}))}function ic(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,rc):rc(e):null}function sc(e){var t=e.onCheckmarkClick,o=e.item,n=e.classNames,e=Ba(o);return t?mt.createElement(Wr,{iconName:!1!==o.canCheck&&e?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(o,e)}}):null}function ac(e){var t=e.item,e=e.classNames;return t.text||t.name?mt.createElement("span",{className:e.label},t.text||t.name):null}function lc(e){var t=e.item,e=e.classNames;return t.secondaryText?mt.createElement("span",{className:e.secondaryText},t.secondaryText):null}function cc(e){var t=e.item,o=e.classNames,e=e.theme;return Fa(t)?mt.createElement(Wr,pt({iconName:Pn(e)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:o.subMenuIcon})):null}function uc(e){var t=e.theme,o=e.disabled,n=e.expanded,r=e.checked,i=e.isAnchorLink,s=e.knownIcon,a=e.itemClassName,l=e.dividerClassName,c=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,e=e.className;return Sc(t,o,n,r,i,s,a,l,c,u,d,e)}var dc,pc,hc,mc=(l(Nc,hc=mt.Component),Nc.prototype.render=function(){var e=this.props,t=e.item,o=e.classNames,e=t.onRenderContent||this._renderLayout;return mt.createElement("div",{className:t.split?o.linkContentMenu:o.linkContent},e(this.props,{renderCheckMarkIcon:sc,renderItemIcon:ic,renderItemName:ac,renderSecondaryText:lc,renderSubMenuIcon:cc}))},Nc.prototype._renderLayout=function(e,t){return mt.createElement(mt.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},Nc),gc=Ao(function(e){return pn({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),fc=uo(0,io),vc=Ao(function(){var e;return{selectors:((e={})[Yt]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),e)}}),bc=Ao(function(e){var t=e.semanticColors,o=e.fonts,n=e.palette,r=t.menuItemBackgroundHovered,i=t.menuItemTextHovered,s=t.menuItemBackgroundPressed,a=t.bodyDivider;return un({item:[o.medium,{color:t.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:a,position:"relative"},root:[bo(e),o.medium,{color:t.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:t.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:((o={})[Yt]=pt({color:"GrayText",opacity:1},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},rootHovered:pt({backgroundColor:r,color:i,selectors:{".ms-ContextualMenu-icon":{color:n.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:n.neutralPrimary}}},vc()),rootFocused:pt({backgroundColor:n.white},vc()),rootChecked:pt({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:n.neutralPrimary}}},vc()),rootPressed:pt({backgroundColor:s,selectors:{".ms-ContextualMenu-icon":{color:n.themeDark},".ms-ContextualMenu-submenuIcon":{color:n.neutralPrimary}}},vc()),rootExpanded:pt({backgroundColor:s,color:t.bodyTextChecked},vc()),linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:36,fontSize:Ae.medium,width:Ae.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:((i={})[fc]={fontSize:Ae.large,width:Ae.large},i)},iconColor:{color:t.menuIcon,selectors:((s={})[Yt]={color:"inherit"},s["$root:hover &"]={selectors:((i={})[Yt]={color:"HighlightText"},i)},s["$root:focus &"]={selectors:((i={})[Yt]={color:"HighlightText"},i)},s)},iconDisabled:{color:t.disabledBodyText},checkmarkIcon:{color:t.bodySubtext,selectors:((t={})[Yt]={color:"HighlightText"},t)},subMenuIcon:{height:36,lineHeight:36,color:n.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:Ae.small,selectors:((n={":hover":{color:n.neutralPrimary},":active":{color:n.neutralPrimary}})[fc]={fontSize:Ae.medium},n[Yt]={color:"HighlightText"},n)},splitButtonFlexContainer:[bo(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})}),yc=uo(0,io),Cc=Ao(function(e){return pn(gc(e),{wrapper:{position:"absolute",right:28,selectors:((e={})[yc]={right:32},e)},divider:{height:16,width:1}})}),_c={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},Sc=Ao(function(e,t,o,n,r,i,s,a,l,c,u,d){var p,h=bc(e),m=zo(_c,e);return pn({item:[m.item,h.item,s],divider:[m.divider,h.divider,a],root:[m.root,h.root,n&&[m.isChecked,h.rootChecked],r&&h.anchorLink,o&&[m.isExpanded,h.rootExpanded],t&&[m.isDisabled,h.rootDisabled],!t&&!o&&[{selectors:((r={":hover":h.rootHovered,":active":h.rootPressed})["."+go+" &:focus, ."+go+" &:focus:hover"]=h.rootFocused,r["."+go+" &:hover"]={background:"inherit;"},r)}],d],splitPrimary:[h.root,{width:"calc(100% - 28px)"},n&&["is-checked",h.rootChecked],(t||u)&&["is-disabled",h.rootDisabled],!(t||u)&&!n&&[{selectors:((p={":hover":h.rootHovered})[":hover ~ ."+m.splitMenu]=h.rootHovered,p[":active"]=h.rootPressed,p["."+go+" &:focus, ."+go+" &:focus:hover"]=h.rootFocused,p["."+go+" &:hover"]={background:"inherit;"},p)}]],splitMenu:[m.splitMenu,h.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},o&&["is-expanded",h.rootExpanded],t&&["is-disabled",h.rootDisabled],!t&&!o&&[{selectors:((p={":hover":h.rootHovered,":active":h.rootPressed})["."+go+" &:focus, ."+go+" &:focus:hover"]=h.rootFocused,p["."+go+" &:hover"]={background:"inherit;"},p)}]],anchorLink:h.anchorLink,linkContent:[m.linkContent,h.linkContent],linkContentMenu:[m.linkContentMenu,h.linkContent,{justifyContent:"center"}],icon:[m.icon,i&&h.iconColor,h.icon,l,t&&[m.isDisabled,h.iconDisabled]],iconColor:h.iconColor,checkmarkIcon:[m.checkmarkIcon,i&&h.checkmarkIcon,h.icon,l],subMenuIcon:[m.subMenuIcon,h.subMenuIcon,c,o&&{color:e.palette.neutralPrimary},t&&[h.iconDisabled]],label:[m.label,h.label],secondaryText:[m.secondaryText,h.secondaryText],splitContainer:[h.splitButtonFlexContainer,!t&&!n&&[{selectors:((n={})["."+go+" &:focus, ."+go+" &:focus:hover"]=h.rootFocused,n)}]],screenReaderText:[m.screenReaderText,h.screenReaderText,So,{visibility:"hidden"}]})}),xc=In(mc,uc,void 0,{scope:"ContextualMenuItem"}),Y=(l(Mc,pc=mt.Component),Mc.prototype.shouldComponentUpdate=function(e){return!ua(e,this.props)},Mc),kc="ktp",wc="-",Ic=kc+wc,Dc="data-ktp-target",Tc="data-ktp-execute-target",Ec="data-ktp-aria-target",Pc="ktp-layer-id",Rc=", ";function Mc(e){var n=pc.call(this,e)||this;return n._onItemMouseEnter=function(e){var t=n.props,o=t.item,t=t.onItemMouseEnter;t&&t(o,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,o=t.item,t=t.onItemClickBase;t&&t(o,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,o=t.item,t=t.onItemMouseLeave;t&&t(o,e)},n._onItemKeyDown=function(e){var t=n.props,o=t.item,t=t.onItemKeyDown;t&&t(o,e)},n._onItemMouseMove=function(e){var t=n.props,o=t.item,t=t.onItemMouseMove;t&&t(o,e,e.currentTarget)},n._getSubmenuTarget=function(){},fi(n),n}function Nc(e){var n=hc.call(this,e)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,o=e.openSubMenu,e=e.getSubmenuTarget;e&&(e=e(),Fa(t)&&o&&e&&o(t,e))},n.dismissSubMenu=function(){var e=n.props,t=e.item,e=e.dismissSubMenu;Fa(t)&&e&&e()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},fi(n),n}function Bc(e){var t=(0,mt.useRef)();return(0,mt.useEffect)(function(){t.current=e}),t.current}(U=dc=dc||{}).KEYTIP_ADDED="keytipAdded",U.KEYTIP_REMOVED="keytipRemoved",U.KEYTIP_UPDATED="keytipUpdated",U.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",U.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",U.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",U.ENTER_KEYTIP_MODE="enterKeytipMode",U.EXIT_KEYTIP_MODE="exitKeytipMode";var Fc=(Ac.getInstance=function(){return this._instance},Ac.prototype.init=function(e){this.delayUpdatingKeytipChange=e},Ac.prototype.register=function(e,t){var o=e;(t=void 0===t?!1:t)||(o=this.addParentOverflow(e),this.sequenceMapping[o.keySequences.toString()]=o);e=this._getUniqueKtp(o);return t?this.persistedKeytips[e.uniqueID]=e:this.keytips[e.uniqueID]=e,!this.inKeytipMode&&this.delayUpdatingKeytipChange||(t=t?dc.PERSISTED_KEYTIP_ADDED:dc.KEYTIP_ADDED,fa.raise(this,t,{keytip:o,uniqueID:e.uniqueID})),e.uniqueID},Ac.prototype.update=function(e,t){var o=this.addParentOverflow(e),e=this._getUniqueKtp(o,t),o=this.keytips[t];o&&(e.keytip.visible=o.keytip.visible,this.keytips[t]=e,delete this.sequenceMapping[o.keytip.keySequences.toString()],this.sequenceMapping[e.keytip.keySequences.toString()]=e.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||fa.raise(this,dc.KEYTIP_UPDATED,{keytip:e.keytip,uniqueID:e.uniqueID}))},Ac.prototype.unregister=function(e,t,o){(o=void 0===o?!1:o)?delete this.persistedKeytips[t]:delete this.keytips[t],o||delete this.sequenceMapping[e.keySequences.toString()];o=o?dc.PERSISTED_KEYTIP_REMOVED:dc.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||fa.raise(this,o,{keytip:e,uniqueID:t})},Ac.prototype.enterKeytipMode=function(){fa.raise(this,dc.ENTER_KEYTIP_MODE)},Ac.prototype.exitKeytipMode=function(){fa.raise(this,dc.EXIT_KEYTIP_MODE)},Ac.prototype.getKeytips=function(){var t=this;return Object.keys(this.keytips).map(function(e){return t.keytips[e].keytip})},Ac.prototype.addParentOverflow=function(e){var t=$e(e.keySequences);if(t.pop(),0!==t.length){t=this.sequenceMapping[t.toString()];if(t&&t.overflowSetSequence)return pt(pt({},e),{overflowSetSequence:t.overflowSetSequence})}return e},Ac.prototype.menuExecute=function(e,t){fa.raise(this,dc.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},Ac.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Cs()),{keytip:pt({},e),uniqueID:t}},Ac._instance=new Ac,Ac);function Ac(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}function Lc(e){return e.reduce(function(e,t){return e+wc+t.split("").join(wc)},kc)}function Hc(e,t){var o=t.length,t=$e(t).pop();return Gi($e(e),o-1,t)}function Oc(e){return"["+Dc+'="'+Lc(e)+'"]'}function zc(e){return"["+Tc+'="'+e+'"]'}function Wc(e){var t=" "+Pc;return e.length?t+" "+Lc(e):t}function Vc(e){var t=mt.useRef(),o=e.keytipProps?pt({disabled:e.disabled},e.keytipProps):void 0,n=bl(Fc.getInstance()),r=Bc(e);mt.useLayoutEffect(function(){t.current&&o&&((null==r?void 0:r.keytipProps)!==e.keytipProps||(null==r?void 0:r.disabled)!==e.disabled)&&n.update(o,t.current)}),mt.useLayoutEffect(function(){return o&&(t.current=n.register(o)),function(){o&&n.unregister(o,t.current)}},[]);var i,s,a,l={ariaDescribedBy:void 0,keytipId:void 0};return o&&(i=n,s=e.ariaDescribedBy,a=i.addParentOverflow(o),i=wa(s,Wc(a.keySequences)),s=$e(a.keySequences),l={ariaDescribedBy:i,keytipId:Lc(s=a.overflowSetSequence?Hc(s,a.overflowSetSequence):s)}),l}var Kc,Gc=function(e){var t=e.children,o=Vc(ht(e,["children"])),e=o.keytipId,o=o.ariaDescribedBy;return t(((t={})[Dc]=e,t[Tc]=e,t["aria-describedby"]=o,t))},Uc=(l(qc,Kc=Y),qc.prototype.render=function(){var t=this,e=this.props,o=e.item,n=e.classNames,r=e.index,i=e.focusableElementIndex,s=e.totalItemCount,a=e.hasCheckmarks,l=e.hasIcons,c=e.contextualMenuItemAs,u=void 0===c?xc:c,d=e.expandedMenuItemKey,p=e.onItemClick,h=e.openSubMenu,m=e.dismissSubMenu,g=e.dismissMenu,f=o.rel;o.target&&"_blank"===o.target.toLowerCase()&&(f=f||"nofollow noopener noreferrer");var v=Fa(o),b=ur(o,qn),c=Aa(o),y=o.itemProps,C=o.ariaDescription,e=o.keytipProps;e&&v&&this._getMemoizedMenuButtonKeytipProps(e),C&&(this._ariaDescriptionId=Cs());var e=wa(o.ariaDescribedBy,C?this._ariaDescriptionId:void 0,b["aria-describedby"]),_={"aria-describedby":e};return mt.createElement("div",null,mt.createElement(Gc,{keytipProps:o.keytipProps,ariaDescribedBy:e,disabled:c},function(e){return mt.createElement("a",pt({},_,b,e,{ref:t._anchor,href:o.href,target:o.target,rel:f,className:n.root,role:"menuitem","aria-haspopup":v||void 0,"aria-expanded":v?o.key===d:void 0,"aria-posinset":i+1,"aria-setsize":s,"aria-disabled":Aa(o),style:o.style,onClick:t._onItemClick,onMouseEnter:t._onItemMouseEnter,onMouseLeave:t._onItemMouseLeave,onMouseMove:t._onItemMouseMove,onKeyDown:v?t._onItemKeyDown:void 0}),mt.createElement(u,pt({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:a&&p?p:void 0,hasIcons:l,openSubMenu:h,dismissSubMenu:m,dismissMenu:g,getSubmenuTarget:t._getSubmenuTarget},y)),t._renderAriaDescription(C,n.screenReaderText))}))},qc),jc=Fn(),xe=mt.forwardRef(function(e,t){var o=e.styles,n=e.theme,r=e.getClassNames,e=e.className,e=jc(o,{theme:n,getClassNames:r,className:e});return mt.createElement("span",{className:e.wrapper,ref:t},mt.createElement("span",{className:e.divider}))});function qc(){var n=null!==Kc&&Kc.apply(this,arguments)||this;return n._anchor=mt.createRef(),n._getMemoizedMenuButtonKeytipProps=Ao(function(e){return pt(pt({},e),{hasMenu:!0})}),n._getSubmenuTarget=function(){return n._anchor.current||void 0},n._onItemClick=function(e){var t=n.props,o=t.item,t=t.onItemClick;t&&t(o,e)},n._renderAriaDescription=function(e,t){return e?mt.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n}xe.displayName="VerticalDividerBase";var Yc,Zc,Xc=In(xe,function(e){var t=e.theme,o=e.getClassNames,e=e.className;if(!t)throw new Error("Theme is undefined or null.");if(o){o=o(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},e],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),Qc=(l(eu,Zc=Y),eu.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},eu.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},eu.prototype.render=function(){var t=this,e=this.props,o=e.item,n=e.classNames,r=e.index,i=e.focusableElementIndex,s=e.totalItemCount,a=e.hasCheckmarks,l=e.hasIcons,c=e.onItemMouseLeave,u=e.expandedMenuItemKey,d=Fa(o),e=(e=o.keytipProps)&&this._getMemoizedMenuButtonKeytipProps(e),p=o.ariaDescription;return p&&(this._ariaDescriptionId=Cs()),mt.createElement(Gc,{keytipProps:e,disabled:Aa(o)},function(e){return mt.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:La(o),"aria-label":o.ariaLabel,className:n.splitContainer,"aria-disabled":Aa(o),"aria-expanded":d?o.key===u:void 0,"aria-haspopup":!0,"aria-describedby":wa(o.ariaDescribedBy,p?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":o.isChecked||o.checked,"aria-posinset":i+1,"aria-setsize":s,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:c?c.bind(t,pt(pt({},o),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":o["aria-roledescription"]},t._renderSplitPrimaryButton(o,n,r,a,l),t._renderSplitDivider(o),t._renderSplitIconButton(o,n,r,e),t._renderAriaDescription(p,n.screenReaderText))})},eu.prototype._renderSplitPrimaryButton=function(e,t,o,n,r){var i=this.props,s=i.contextualMenuItemAs,a=void 0===s?xc:s,s=i.onItemClick,i={key:e.key,disabled:Aa(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},e=e.itemProps;return mt.createElement("button",pt({},ur(i,Yn)),mt.createElement(a,pt({"data-is-focusable":!1,item:i,classNames:t,index:o,onCheckmarkClick:n&&s?s:void 0,hasIcons:r},e)))},eu.prototype._renderSplitDivider=function(e){e=e.getSplitButtonVerticalDividerClassNames||Cc;return mt.createElement(Xc,{getClassNames:e})},eu.prototype._renderSplitIconButton=function(t,e,o,n){var r=this.props,i=r.contextualMenuItemAs,s=void 0===i?xc:i,a=r.onItemMouseLeave,l=r.onItemMouseDown,c=r.openSubMenu,u=r.dismissSubMenu,i=r.dismissMenu,r={onClick:this._onIconItemClick,disabled:Aa(t),className:e.splitMenu,subMenuProps:t.subMenuProps,submenuIconProps:t.submenuIconProps,split:!0,key:t.key},a=pt(pt({},ur(r,Yn)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:a?a.bind(this,t):void 0,onMouseDown:function(e){return l?l(t,e):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":n["data-ktp-execute-target"],"aria-hidden":!0}),n=t.itemProps;return mt.createElement("button",pt({},a),mt.createElement(s,pt({componentRef:t.componentRef,item:r,classNames:e,index:o,hasIcons:!1,openSubMenu:c,dismissSubMenu:u,dismissMenu:i,getSubmenuTarget:this._getSubmenuTarget},n)))},eu.prototype._handleTouchAndPointerEvent=function(e){var t=this,o=this.props.onTap;o&&o(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0},500)},eu),Jc=(l($c,Yc=Y),$c.prototype.render=function(){var t=this,e=this.props,o=e.item,n=e.classNames,r=e.index,i=e.focusableElementIndex,s=e.totalItemCount,a=e.hasCheckmarks,l=e.hasIcons,c=e.contextualMenuItemAs,u=void 0===c?xc:c,d=e.expandedMenuItemKey,p=e.onItemMouseDown,h=e.onItemClick,m=e.openSubMenu,g=e.dismissSubMenu,f=e.dismissMenu,v=Ba(o),b=null!==v,y=La(o),C=Fa(o),_=o.itemProps,c=o.ariaLabel,S=o.ariaDescription,x=ur(o,Yn);delete x.disabled;e=o.role||y;S&&(this._ariaDescriptionId=Cs());var y=wa(o.ariaDescribedBy,S?this._ariaDescriptionId:void 0,x["aria-describedby"]),k={className:n.root,onClick:this._onItemClick,onKeyDown:C?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return p?p(o,e):void 0},onMouseMove:this._onItemMouseMove,href:o.href,title:o.title,"aria-label":c,"aria-describedby":y,"aria-haspopup":C||void 0,"aria-expanded":C?o.key===d:void 0,"aria-posinset":i+1,"aria-setsize":s,"aria-disabled":Aa(o),"aria-checked":"menuitemcheckbox"!==e&&"menuitemradio"!==e||!b?void 0:!!v,"aria-selected":"menuitem"===e&&b?!!v:void 0,role:e,style:o.style},e=o.keytipProps;return e&&C&&(e=this._getMemoizedMenuButtonKeytipProps(e)),mt.createElement(Gc,{keytipProps:e,ariaDescribedBy:y,disabled:Aa(o)},function(e){return mt.createElement("button",pt({ref:t._btn},x,k,e),mt.createElement(u,pt({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:a&&h?h:void 0,hasIcons:l,openSubMenu:m,dismissSubMenu:g,dismissMenu:f,getSubmenuTarget:t._getSubmenuTarget},_)),t._renderAriaDescription(S,n.screenReaderText))})},$c);function $c(){var o=null!==Yc&&Yc.apply(this,arguments)||this;return o._btn=mt.createRef(),o._getMemoizedMenuButtonKeytipProps=Ao(function(e){return pt(pt({},e),{hasMenu:!0})}),o._renderAriaDescription=function(e,t){return e?mt.createElement("span",{id:o._ariaDescriptionId,className:t},e):null},o._getSubmenuTarget=function(){return o._btn.current||void 0},o}function eu(e){var r=Zc.call(this,e)||this;return r._getMemoizedMenuButtonKeytipProps=Ao(function(e){return pt(pt({},e),{hasMenu:!0})}),r._onItemKeyDown=function(e){var t=r.props,o=t.item,t=t.onItemKeyDown;e.which===Tn.enter?(r._executeItemClick(e),e.preventDefault(),e.stopPropagation()):t&&t(o,e)},r._getSubmenuTarget=function(){return r._splitButton},r._renderAriaDescription=function(e,t){return e?mt.createElement("span",{id:r._ariaDescriptionId,className:t},e):null},r._onItemMouseEnterPrimary=function(e){var t=r.props,o=t.item,t=t.onItemMouseEnter;t&&t(pt(pt({},o),{subMenuProps:void 0,items:void 0}),e,r._splitButton)},r._onItemMouseEnterIcon=function(e){var t=r.props,o=t.item,t=t.onItemMouseEnter;t&&t(o,e,r._splitButton)},r._onItemMouseMovePrimary=function(e){var t=r.props,o=t.item,t=t.onItemMouseMove;t&&t(pt(pt({},o),{subMenuProps:void 0,items:void 0}),e,r._splitButton)},r._onItemMouseMoveIcon=function(e){var t=r.props,o=t.item,t=t.onItemMouseMove;t&&t(o,e,r._splitButton)},r._onIconItemClick=function(e){var t=r.props,o=t.item,t=t.onItemClickBase;t&&t(o,e,r._splitButton||e.currentTarget)},r._executeItemClick=function(e){var t=r.props,o=t.item,n=t.executeItemClick,t=t.onItemClick;if(!o.disabled&&!o.isDisabled)return r._processingTouch&&t?t(o,e):void(n&&n(o,e))},r._onTouchStart=function(e){!r._splitButton||"onpointerdown"in r._splitButton||r._handleTouchAndPointerEvent(e)},r._onPointerDown=function(e){"touch"===e.pointerType&&(r._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},r._async=new Si(r),r._events=new fa(r),r}function tu(e,t){t=mt.useRef(t);return t.current||(t.current=Cs(e)),t.current}var ou=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function nu(e,n,t){void 0===t&&(t=ou);var o,r=[];for(o in n)!function(o){"function"!=typeof n[o]||void 0!==e[o]||t&&-1!==t.indexOf(o)||(r.push(o),e[o]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n[o].apply(n,e)})}(o);return r}function ru(t,e){e.forEach(function(e){return delete t[e]})}var iu,su,au=(l(lu,su=mt.Component),lu.prototype._updateComposedComponentRef=function(e){(this._composedComponentInstance=e)?this._hoisted=nu(this,e):this._hoisted&&ru(this,this._hoisted)},lu);function lu(e){e=su.call(this,e)||this;return e._updateComposedComponentRef=e._updateComposedComponentRef.bind(e),e}function cu(e,t){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t}(ke=iu=iu||{})[ke.small=0]="small",ke[ke.medium=1]="medium",ke[ke.large=2]="large",ke[ke.xLarge=3]="xLarge",ke[ke.xxLarge=4]="xxLarge",ke[ke.xxxLarge=5]="xxxLarge",ke[ke.unknown=999]="unknown";var uu,du,pu=[479,639,1023,1365,1919,99999999];function hu(e){uu=e}function mu(e){e=qe(e);e&&vu(e)}function gu(){var e;return null!==(e=null!=uu?uu:du)&&void 0!==e?e:iu.large}function fu(t){var o,e=(l(n,o=au),n.prototype.componentDidMount=function(){this._events.on(this.context.window,"resize",this._onResize),this._onResize()},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var e=this.state.responsiveMode;return e===iu.unknown?null:mt.createElement(t,pt({ref:this._updateComposedComponentRef,responsiveMode:e},this.props))},n.contextType=_l,n);function n(e){var t=o.call(this,e)||this;return t._onResize=function(){var e=vu(t.context.window);e!==t.state.responsiveMode&&t.setState({responsiveMode:e})},t._events=new fa(t),t._updateComposedComponentRef=t._updateComposedComponentRef.bind(t),t.state={responsiveMode:gu()},t}return cu(t,e)}function vu(e){var t=iu.small;if(e){try{for(;e.innerWidth>pu[t];)t++}catch(e){t=gu()}du=t}else{if(void 0===uu)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");t=uu}return t}var bu=function(t,e){var o=mt.useState(gu()),n=o[0],r=o[1],i=mt.useCallback(function(){var e=vu(qe(t.current));n!==e&&r(e)},[t,n]);return Cl(Sl(),"resize",i),mt.useEffect(function(){void 0===e&&i()},[e]),null!=e?e:n},yu=mt.createContext({}),Cu=Fn(),_u=Fn(),Su={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:Ea.bottomAutoEdge,beakWidth:16};function xu(e){return(e.subMenuProps||e).items}function ku(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}var wu="ContextualMenu",Iu=Ao(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return dn.apply(void 0,$e([e,uc],t))}});function Du(e,t){var o=e.hidden,n=e.items,r=e.theme,i=e.className,s=e.id,e=mt.useState(),a=e[0],l=e[1],e=mt.useState(),c=e[0],u=e[1],e=mt.useState(),d=e[0],p=e[1],h=tu(wu,s),m=mt.useCallback(function(){p(void 0),l(void 0),u(void 0)},[]),s=mt.useCallback(function(e,t,o){e=e.key;a!==e&&(t.focus(),p(o),l(e),u(t))},[a]);mt.useEffect(function(){o&&m()},[o,m]);var g,f,v,b=(g=t,f=m,v=mt.useRef(!1),mt.useEffect(function(){return v.current=!0,function(){v.current=!1}},[]),function(e,t){t?g(e,t):v.current&&f()});return[a,s,function(){var e=function e(t,o){for(var n=0,r=o;n<r.length;n++){var i=r[n];if(i.itemType===Ia.Section&&i.sectionProps){var s=e(t,i.sectionProps.items);if(s)return s}else if(i.key&&i.key===t)return i}}(a,n),t=null;return e&&(t={items:xu(e),target:c,onDismiss:b,isSubMenu:!0,id:h,shouldFocusOnMount:!0,shouldFocusOnContainer:d,directionalHint:Pn(r)?Ea.leftTopEdge:Ea.rightTopEdge,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&da(t,e.subMenuProps)),t},b]}var Tu=mt.memo(mt.forwardRef(function(e,o){function a(e,t){var o;return null===(o=_.onDismiss)||void 0===o?void 0:o.call(_,e,t)}var t,n,r,i,s,l,c,u,d,p,h,m,g,f,v,b,y,C=Hn(Su,e),_=(C.ref,ht(C,["ref"])),S=mt.useRef(null),x=yl(),k=tu(wu,_.id),w=Dl(_.target,S),I=w[0],D=w[1],T=(c=D,u=(g=_).hidden,d=g.onRestoreFocus,p=mt.useRef(),h=mt.useCallback(function(e){var t;d?d(e):null!=e&&e.documentContainsFocus&&(null===(e=null===(t=p.current)||void 0===t?void 0:t.focus)||void 0===e||e.call(t))},[d]),mt.useLayoutEffect(function(){var e;u?p.current&&(h({originalElement:p.current,containsFocus:!0,documentContainsFocus:(null===(e=gt())||void 0===e?void 0:e.hasFocus())||!1}),p.current=void 0):p.current=null==c?void 0:c.document.activeElement},[u,null==c?void 0:c.document.activeElement,h]),h),E=Du(_,a),P=E[0],R=E[1],M=E[2],N=E[3],B=function(e){var t=e.delayUpdateFocusOnHover,o=e.hidden,n=mt.useRef(!t),r=mt.useRef(!1);mt.useEffect(function(){n.current=!t,r.current=!o&&!t&&r.current},[t,o]);e=mt.useCallback(function(){t&&(n.current=!0)},[t]);return[n,r,e]}(_),F=B[0],A=B[1],L=B[2],e=(i=x,s=mt.useRef(!0),l=mt.useRef(),[function(){s.current||void 0===l.current?s.current=!1:(i.clearTimeout(l.current),l.current=void 0),l.current=i.setTimeout(function(){s.current=!0},250)},s]),H=e[0],C=e[1],g=(t=x,w=_.subMenuHoverDelay,n=void 0===w?250:w,r=mt.useRef(void 0),[z,function(e){r.current=t.setTimeout(function(){e(),z()},n)},r]),O=g[0],E=g[1],B=g[2],e=bu(S,_.responsiveMode);function z(){void 0!==r.current&&(t.clearTimeout(r.current),r.current=void 0)}w=(x=_).hidden,m=void 0!==w&&w,g=x.onMenuDismissed,w=x.onMenuOpened,f=Bc(m),v=mt.useRef(w),b=mt.useRef(g),y=mt.useRef(x),v.current=w,b.current=g,y.current=x,mt.useEffect(function(){var e,t;m&&!1===f?null===(e=b.current)||void 0===e||e.call(b,y.current):m||!1===f||null===(t=v.current)||void 0===t||t.call(v,y.current)},[m,f]),mt.useEffect(function(){return function(){var e;return null===(e=b.current)||void 0===e?void 0:e.call(b,y.current)}},[]);function W(e,o,t){var n=0,r=e.items,i=e.totalItemCount,s=e.hasCheckmarks,a=e.hasIcons;return mt.createElement("ul",{className:o.list,onKeyDown:de,onKeyUp:pe,role:"presentation"},r.map(function(e,t){t=V(e,t,n,i,s,a,o);return e.itemType!==Ia.Divider&&e.itemType!==Ia.Header&&(e=e.customOnRenderListLength||1,n+=e),t}))}function V(e,t,o,n,r,i,s){var a,l=[],c=e.iconProps||{iconName:"None"},u=e.getItemClassNames,d=(h=e.itemProps)?h.styles:void 0,p=e.itemType===Ia.Divider?e.className:void 0,h=e.submenuIconProps?e.submenuIconProps.className:"";switch(a=u?u(_.theme,Aa(e),P===e.key,!!Ba(e),!!e.href,"None"!==c.iconName,e.className,p,c.className,h,e.primaryDisabled):(c={theme:_.theme,disabled:Aa(e),expanded:P===e.key,checked:!!Ba(e),isAnchorLink:!!e.href,knownIcon:"None"!==c.iconName,itemClassName:e.className,dividerClassName:p,iconClassName:c.className,subMenuClassName:h,primaryDisabled:e.primaryDisabled},_u(Iu(null===(h=s.subComponentStyles)||void 0===h?void 0:h.menuItem,d),c)),"-"!==e.text&&"-"!==e.name||(e.itemType=Ia.Divider),e.itemType){case Ia.Divider:l.push(ke(t,a));break;case Ia.Header:l.push(ke(t,a));var m=Ie(e,a,s,t,r,i);l.push(xe(m,e.key||t,a,e.title));break;case Ia.Section:l.push(Se(e,a,s,t,r,i));break;default:m=we(e,a,t,o,n,r,i);l.push(xe(m,e.key||t,a,e.title))}return mt.createElement(mt.Fragment,{key:e.key},l)}var K,G,U,j,q,Y,Z,X,Q,J,$,ee,te,oe,ne,re,ie,se,ae,le,ce,ue,x=(ne=a,re=S,ie=R,se=(x=_).theme,ae=x.isSubMenu,x=x.focusZoneProps,le=(x=void 0===x?{}:x).checkForNoWrap,x=x.direction,ce=void 0===x?Ti.vertical:x,ue=mt.useRef(),[it,function(e){return nt(e,st,!0)},function(e){var t,o,n;!it(e)&&re.current&&(t=!(!e.altKey&&!e.metaKey),n=e.which===Tn.up,o=e.which===Tn.down,t||!n&&!o||(n=n?ts(re.current,re.current.lastChild,!0):es(re.current,re.current.firstChild,!0))&&(n.focus(),e.preventDefault(),e.stopPropagation()))},function(e,t){var o=Pn(se)?Tn.left:Tn.right;e.disabled||t.which!==o&&t.which!==Tn.enter&&(t.which!==Tn.down||!t.altKey&&!t.metaKey)||(ie(e,t.currentTarget,!1),t.preventDefault())}]),de=x[0],pe=x[1],he=x[2],me=x[3],x=(G=_,U=C,j=B,q=D,Y=F,Z=A,X=P,Q=S,J=E,$=O,ee=R,te=N,oe=a,[function(e,t,o){$e()||et(e,t,o)},function(e,t,o){var n=t.currentTarget;Y.current&&(Z.current=!0,U.current&&void 0===j.current&&n!==(null==q?void 0:q.document.activeElement)&&et(e,t,o))},function(e,t){var o;if(!$e()&&($(),void 0===X))if(Q.current.setActive)try{Q.current.setActive()}catch(e){}else null===(o=Q.current)||void 0===o||o.focus()},function(e,t){tt(e,t,t.currentTarget)},function(e,t){ot(e,t),t.stopPropagation()},ot,tt]),ge=x[0],fe=x[1],ve=x[2],be=x[3],ye=x[4],Ce=x[5],_e=x[6],Se=function(e,t,o,n,r,i){var s,a,l,c,u,d=e.sectionProps;if(d)return d.title&&(l=void 0,c="",c="string"==typeof d.title?(u=k+d.title.replace(/\s/g,""),l={key:"section-"+d.title+"-title",itemType:Ia.Header,text:d.title,id:u},u):(u=d.title.id||k+d.title.key.replace(/\s/g,""),l=pt(pt({},d.title),{id:u}),u),l&&(a={role:"group","aria-labelledby":c},s=Ie(l,t,o,n,r,i))),d.items&&0<d.items.length?mt.createElement("li",{role:"presentation",key:d.key||e.key||"section-"+n},mt.createElement("div",pt({},a),mt.createElement("ul",{className:o.list,role:"presentation"},d.topDivider&&ke(n,t,!0,!0),s&&xe(s,e.key||n,t,e.title),d.items.map(function(e,t){return V(e,t,t,d.items.length,r,i,o)}),d.bottomDivider&&ke(n,t,!1,!0)))):void 0},xe=function(e,t,o,n){return mt.createElement("li",{role:"presentation",title:n,key:t,className:o.item},e)},ke=function(e,t,o,n){return n||0<e?mt.createElement("li",{role:"separator",key:"separator-"+e+(void 0===o?"":o?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},we=function(e,t,o,n,r,i,s){if(e.onRender)return e.onRender(pt({"aria-posinset":n+1,"aria-setsize":r},e),a);s={item:e,classNames:t,index:o,focusableElementIndex:n,totalItemCount:r,hasCheckmarks:i,hasIcons:s,contextualMenuItemAs:_.contextualMenuItemAs,onItemMouseEnter:ge,onItemMouseLeave:ve,onItemMouseMove:fe,onItemMouseDown:Pu,executeItemClick:Ce,onItemKeyDown:me,expandedMenuItemKey:P,openSubMenu:R,dismissSubMenu:N,dismissMenu:a};return e.href?mt.createElement(Uc,pt({},s,{onItemClick:ye})):e.split&&Fa(e)?mt.createElement(Qc,pt({},s,{onItemClick:be,onItemClickBase:_e,onTap:O})):mt.createElement(Jc,pt({},s,{onItemClick:be,onItemClickBase:_e}))},Ie=function(e,t,o,n,r,i){var s=_.contextualMenuItemAs,a=void 0===s?xc:s,l=e.itemProps,c=e.id,s=l&&ur(l,cr);return mt.createElement("div",pt({id:c,className:o.header},s,{style:e.style}),mt.createElement(a,pt({item:e,classNames:t,index:n,onCheckmarkClick:r?be:void 0,hasIcons:i},l)))},De=_.isBeakVisible,Te=_.items,Ee=_.labelElementId,Pe=_.id,C=_.className,Re=_.beakWidth,Me=_.directionalHint,Ne=_.directionalHintForRTL,Be=_.alignTargetEdge,Fe=_.gapSpace,Ae=_.coverTarget,Le=_.ariaLabel,He=_.doNotLayer,Oe=_.target,ze=_.bounds,B=_.useTargetWidth,D=_.useTargetAsMinWidth,We=_.directionalHintFixed,Ve=_.shouldFocusOnMount,Ke=_.shouldFocusOnContainer,Ge=_.title,F=_.styles,A=_.theme,Ue=_.calloutProps,E=_.onRenderSubMenu,je=void 0===E?Ru:E,x=_.onRenderMenuList,qe=void 0===x?function(e,t){return W(e,Ye)}:x,E=_.focusZoneProps,x=_.getMenuClassNames,Ye=x?x(A,C):Cu(F,{theme:A,className:C}),Ze=function e(t){for(var o=0,n=t;o<n.length;o++){var r=n[o];if(r.iconProps)return!0;if(r.itemType===Ia.Section&&r.sectionProps&&e(r.sectionProps.items))return!0}return!1}(Te),Xe=pt(pt({},E),{className:Ye.root,isCircularNavigation:!0,handleTabKey:Fi.all,direction:null!==(E=null===(E=_.focusZoneProps)||void 0===E?void 0:E.direction)&&void 0!==E?E:Ti.vertical}),Qe=ku(Te),Je=P&&!0!==_.hidden?M():null;function $e(){return!U.current||!Z.current}function et(e,t,o){var n=o||t.currentTarget;e.key!==X&&($(),void 0===X&&n.focus(),Fa(e)?(t.stopPropagation(),J(function(){n.focus(),ee(e,n,!0)})):J(function(){te(t),n.focus()}))}function tt(e,t,o){var n=xu(e);$(),Fa(e)||n&&n.length?e.key!==X&&ee(e,o,0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType):ot(e,t),t.stopPropagation(),t.preventDefault()}function ot(e,t){var o;e.disabled||e.isDisabled||(o=!1,e.onClick?o=!!e.onClick(t,e):G.onItemClick&&(o=!!G.onItemClick(t,e)),!o&&t.defaultPrevented||oe(t,!0))}function nt(e,t,o){var n=!1;return t(e)&&(ne(e,o),e.preventDefault(),e.stopPropagation(),n=!0),n}function rt(e){return e.which===Tn.escape||(t=e,o=Pn(se)?Tn.right:Tn.left,!(t.which!==o||!ae||ce!==Ti.vertical&&(!le||ps(t.target,"data-no-horizontal-wrap"))))||e.which===Tn.up&&(e.altKey||e.metaKey);var t,o}function it(e){ue.current=Eu(e);var t=e.which===Tn.escape&&(Pa()||Na());return nt(e,rt,t)}function st(e){return e=ue.current&&Eu(e),ue.current=!1,!!e&&!(Na()||Pa())}De=void 0===De?e<=iu.medium:De,I=I.current;if((B||D)&&I&&I.offsetWidth&&(I=I.getBoundingClientRect().width-2,B?K={width:I}:D&&(K={minWidth:I})),Te&&0<Te.length){for(var at=0,lt=0,ct=Te;lt<ct.length;lt++){var ut=ct[lt];ut.itemType!==Ia.Divider&&ut.itemType!==Ia.Header&&(ut=ut.customOnRenderListLength||1,at+=ut)}var dt=Ye.subComponentStyles?Ye.subComponentStyles.callout:void 0;return mt.createElement(yu.Consumer,null,function(e){return mt.createElement(nc,pt({styles:dt,onRestoreFocus:T},Ue,{target:Oe||e.target,isBeakVisible:De,beakWidth:Re,directionalHint:Me,directionalHintForRTL:Ne,gapSpace:Fe,coverTarget:Ae,doNotLayer:He,className:Er("ms-ContextualMenu-Callout",Ue&&Ue.className),setInitialFocus:Ve,onDismiss:_.onDismiss||e.onDismiss,onScroll:H,bounds:ze,directionalHintFixed:We,alignTargetEdge:Be,hidden:_.hidden||e.hidden,ref:o}),mt.createElement("div",{style:K,ref:S,id:Pe,className:Ye.container,tabIndex:Ke?0:-1,onKeyDown:he,onKeyUp:pe,onFocusCapture:L,"aria-label":Le,"aria-labelledby":Ee,role:"menu"},Ge&&mt.createElement("div",{className:Ye.title}," ",Ge," "),Te&&Te.length?(t=qe({ariaLabel:Le,items:Te,totalItemCount:at,hasCheckmarks:Qe,hasIcons:Ze,defaultMenuItemRenderer:function(e){return t=e.index,o=e.focusableElementIndex,n=e.totalItemCount,r=e.hasCheckmarks,i=e.hasIcons,V(e,t,o,n,r,i,Ye);var t,o,n,r,i},labelElementId:Ee},function(e,t){return W(e,Ye)}),e=_.focusZoneAs,mt.createElement(void 0===e?Ys:e,pt({},Xe),t)):null,Je&&je(Je,Ru)));var t})}return null}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||ua(e,t)});function Eu(e){return e.which===Tn.alt||"Meta"===e.key}function Pu(e,t){var o;null===(o=e.onMouseDown)||void 0===o||o.call(e,e,t)}function Ru(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}Tu.displayName="ContextualMenuBase";var Mu={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Nu(e){return mt.createElement(Bu,pt({},e))}var Bu=In(Tu,function(e){var t=e.className,o=e.theme,n=zo(Mu,o),r=o.fonts,i=o.semanticColors,e=o.effects;return{root:[o.fonts.medium,n.root,n.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[n.container,{selectors:{":focus":{outline:0}}}],list:[n.list,n.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[n.header,r.small,{fontWeight:Fe.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[n.title,{fontSize:r.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:e.elevation8}},menuItem:{}}}},function(){return{onRenderSubMenu:Nu}},{scope:"ContextualMenu"}),Fu=Bu;Fu.displayName="ContextualMenu";var Au,Lu={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},Hu=Ao(function(e,t,o,n,r,i,s,a,l,c,u){e=zo(Lu,e||{}),c=c&&!u;return pn({root:[e.msButton,t.root,n,l&&["is-checked",t.rootChecked],c&&["is-expanded",t.rootExpanded,{selectors:((n={})[":hover ."+e.msButtonIcon]=t.iconExpandedHovered,n[":hover ."+e.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,n[":hover"]=t.rootExpandedHovered,n)}],a&&[Lu.msButtonHasMenu,t.rootHasMenu],s&&["is-disabled",t.rootDisabled],!s&&!c&&!l&&{selectors:((a={":hover":t.rootHovered})[":hover ."+e.msButtonLabel]=t.labelHovered,a[":hover ."+e.msButtonIcon]=t.iconHovered,a[":hover ."+e.msButtonDescription]=t.descriptionHovered,a[":hover ."+e.msButtonMenuIcon]=t.menuIconHovered,a[":focus"]=t.rootFocused,a[":active"]=t.rootPressed,a[":active ."+e.msButtonIcon]=t.iconPressed,a[":active ."+e.msButtonDescription]=t.descriptionPressed,a[":active ."+e.msButtonMenuIcon]=t.menuIconPressed,a)},s&&l&&[t.rootCheckedDisabled],!s&&l&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},o],flexContainer:[e.msButtonFlexContainer,t.flexContainer],textContainer:[e.msButtonTextContainer,t.textContainer],icon:[e.msButtonIcon,r,t.icon,c&&t.iconExpanded,l&&t.iconChecked,s&&t.iconDisabled],label:[e.msButtonLabel,t.label,l&&t.labelChecked,s&&t.labelDisabled],menuIcon:[e.msButtonMenuIcon,i,t.menuIcon,l&&t.menuIconChecked,s&&!u&&t.menuIconDisabled,!s&&!c&&!l&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},c&&["is-expanded",t.menuIconExpanded]],description:[e.msButtonDescription,t.description,l&&t.descriptionChecked,s&&t.descriptionDisabled],screenReaderText:[e.msButtonScreenReaderText,t.screenReaderText]})}),Ou=Ao(function(e,t,o,n,r){return{root:j(e.splitButtonMenuButton,o&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],n&&!t&&[e.splitButtonMenuButtonChecked],r&&!t&&[{selectors:{":focus":e.splitButtonMenuFocused}}]),splitButtonContainer:j(e.splitButtonContainer,!t&&n&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!n&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:j(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:j(e.splitButtonFlexContainer),divider:j(e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}}),zu=(l(Wu,Au=mt.Component),Object.defineProperty(Wu.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),Wu.prototype.render=function(){var e=this.props,t=e.ariaDescription,o=e.ariaLabel,n=e.ariaHidden,r=e.className,i=e.disabled,s=e.allowDisabledFocus,a=e.primaryDisabled,l=e.secondaryText,c=void 0===l?this.props.description:l,u=e.href,d=e.iconProps,p=e.menuIconProps,h=e.styles,m=e.checked,g=e.variantClassName,f=e.theme,v=e.toggle,b=e.getClassNames,l=e.role,e=this.state.menuHidden,a=i||a;this._classNames=b?b(f,r,g,d&&d.className,p&&p.className,a,m,!e,!!this.props.menuProps,this.props.split,!!s):Hu(f,h,r,g,d&&d.className,p&&p.className,a,!!this.props.menuProps,m,!e,this.props.split);h=this._ariaDescriptionId,r=this._labelId,g=this._descriptionId,d=!a&&!!u,p=d?"a":"button",u=ur(da(d?{}:{type:"button"},this.props.rootProps,this.props),d?qn:Yn,["disabled"]),d=o||u["aria-label"],o=void 0;t?o=h:c&&this.props.onRenderDescription!==ka?o=g:u["aria-describedby"]&&(o=u["aria-describedby"]);g=void 0;u["aria-labelledby"]?g=u["aria-labelledby"]:o&&!d&&(g=this._hasText()?r:void 0);var i=!(!1===this.props["data-is-focusable"]||i&&!s||this._isSplitButton),l="menuitemcheckbox"===l||"checkbox"===l,m=l||!0===v?!!m:void 0,i=da(u,((i={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:a&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":d,"aria-labelledby":g,"aria-describedby":o,"aria-disabled":a,"data-is-focusable":i})[l?"aria-checked":"aria-pressed"]=m,i));return n&&(i["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(p,i):(this.props.menuProps&&(n=void 0===(n=this.props.menuProps.id)?this._labelId+"-menu":n,da(i,{"aria-expanded":!e,"aria-controls":e?null:n,"aria-haspopup":!0})),this._onRenderContent(p,i))},Wu.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},Wu.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},Wu.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},Wu.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?(vo(!0),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(vo(!0),this._buttonElement.current.focus())},Wu.prototype.dismissMenu=function(){this._dismissMenu()},Wu.prototype.openMenu=function(e,t){this._openMenu(e,t)},Wu.prototype._onRenderContent=function(e,t){var o=this,n=this.props,r=e,i=n.menuIconProps,s=n.menuProps,a=n.onRenderIcon,l=void 0===a?this._onRenderIcon:a,c=n.onRenderAriaDescription,u=void 0===c?this._onRenderAriaDescription:c,e=n.onRenderChildren,d=void 0===e?this._onRenderChildren:e,a=n.onRenderMenu,p=void 0===a?this._onRenderMenu:a,c=n.onRenderMenuIcon,h=void 0===c?this._onRenderMenuIcon:c,e=n.disabled,a=n.keytipProps;a&&s&&(a=this._getMemoizedMenuButtonKeytipProps(a));c=function(e){return mt.createElement(r,pt({},t,e),mt.createElement("span",{className:o._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},l(n,o._onRenderIcon),o._onRenderTextContents(),u(n,o._onRenderAriaDescription),d(n,o._onRenderChildren),!o._isSplitButton&&(s||i||o.props.onRenderMenuIcon)&&h(o.props,o._onRenderMenuIcon),s&&!s.doNotLayer&&o._shouldRenderMenu()&&p(s,o._onRenderMenu)))},c=a?mt.createElement(Gc,{keytipProps:this._isSplitButton?void 0:a,ariaDescribedBy:t["aria-describedby"],disabled:e},c):c();return s&&s.doNotLayer?mt.createElement(mt.Fragment,null,c,this._shouldRenderMenu()&&p(s,this._onRenderMenu)):mt.createElement(mt.Fragment,null,c,mt.createElement(oa,null))},Wu.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,o=t.persistMenu,t=t.renderPersistedMenuHiddenOnMount;return!e||!(!o||!this._renderedVisibleMenu&&!t)},Wu.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},Wu.prototype._onRenderSplitButtonContent=function(t,o){var n=this,e=this.props,r=e.styles,i=void 0===r?{}:r,s=e.disabled,a=e.allowDisabledFocus,l=e.checked,c=e.getSplitButtonClassNames,u=e.primaryDisabled,d=e.menuProps,p=e.toggle,h=e.role,r=e.primaryActionButtonProps,e=this.props.keytipProps,m=this.state.menuHidden,g=c?c(!!s,!m,!!l,!!a):i&&Ou(i,!!s,!m,!!l,!!u);da(o,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),e&&d&&(e=this._getMemoizedMenuButtonKeytipProps(e));var f=ur(o,[],["disabled"]);r&&da(o,r);r=function(e){return mt.createElement("div",pt({},f,{"data-ktp-target":e?e["data-ktp-target"]:void 0,role:h||"button","aria-disabled":s,"aria-haspopup":!0,"aria-expanded":!m,"aria-pressed":p?!!l:void 0,"aria-describedby":wa(o["aria-describedby"],e?e["aria-describedby"]:void 0),className:g&&g.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:s||u?void 0:n._onSplitButtonPrimaryClick,tabIndex:!s&&!u||a?0:void 0,"aria-roledescription":o["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),mt.createElement("span",{style:{display:"flex"}},n._onRenderContent(t,o),n._onRenderSplitButtonMenuButton(g,e),n._onRenderSplitButtonDivider(g)))};return e?mt.createElement(Gc,{keytipProps:e,disabled:s},r):r()},Wu.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?mt.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}}):null},Wu.prototype._onRenderSplitButtonMenuButton=function(e,t){var o=this.props,n=o.allowDisabledFocus,r=o.checked,i=o.disabled,s=o.splitButtonMenuProps,a=o.splitButtonAriaLabel,l=o.primaryDisabled,c=this.state.menuHidden,o=this.props.menuIconProps;void 0===o&&(o={iconName:"ChevronDown"});c=pt(pt({},s),{styles:e,checked:r,disabled:i,allowDisabledFocus:n,onClick:this._onMenuClick,menuProps:void 0,iconProps:pt(pt({},o),{className:this._classNames.menuIcon}),ariaLabel:a,"aria-haspopup":!0,"aria-expanded":!c,"data-is-focusable":!1});return mt.createElement(Wu,pt({},c,{"data-ktp-execute-target":t&&t["data-ktp-execute-target"],onMouseDown:this._onMouseDown,tabIndex:l&&!n?0:-1}))},Wu.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},Wu.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,e.focus()},500)},Wu.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&e.which===Tn.down&&(e.altKey||e.metaKey)},Wu.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},Wu);function Wu(e){var s=Au.call(this,e)||this;return s._buttonElement=mt.createRef(),s._splitButtonContainer=mt.createRef(),s._mergedRef=qi(),s._renderedVisibleMenu=!1,s._getMemoizedMenuButtonKeytipProps=Ao(function(e){return pt(pt({},e),{hasMenu:!0})}),s._onRenderIcon=function(e,t){var o=s.props.iconProps;if(o&&(void 0!==o.iconName||o.imageProps)){var n=o.className,r=o.imageProps,i=ht(o,["className","imageProps"]);if(o.styles)return mt.createElement(Wr,pt({className:Er(s._classNames.icon,n),imageProps:r},i));if(o.iconName)return mt.createElement(Lr,pt({className:Er(s._classNames.icon,n)},i));if(r)return mt.createElement(Ta,pt({className:Er(s._classNames.icon,n),imageProps:r},i))}return null},s._onRenderTextContents=function(){var e=s.props,t=e.text,o=e.children,n=e.secondaryText,r=void 0===n?s.props.description:n,n=e.onRenderText,n=void 0===n?s._onRenderText:n,e=e.onRenderDescription,e=void 0===e?s._onRenderDescription:e;return t||"string"==typeof o||r?mt.createElement("span",{className:s._classNames.textContainer},n(s.props,s._onRenderText),e(s.props,s._onRenderDescription)):[n(s.props,s._onRenderText),e(s.props,s._onRenderDescription)]},s._onRenderText=function(){var e=s.props.text,t=s.props.children;return void 0===e&&"string"==typeof t&&(e=t),s._hasText()?mt.createElement("span",{key:s._labelId,className:s._classNames.label,id:s._labelId},e):null},s._onRenderChildren=function(){var e=s.props.children;return"string"==typeof e?null:e},s._onRenderDescription=function(e){e=e.secondaryText,e=void 0===e?s.props.description:e;return e?mt.createElement("span",{key:s._descriptionId,className:s._classNames.description,id:s._descriptionId},e):null},s._onRenderAriaDescription=function(){var e=s.props.ariaDescription;return e?mt.createElement("span",{className:s._classNames.screenReaderText,id:s._ariaDescriptionId},e):null},s._onRenderMenuIcon=function(e){var t=s.props.menuIconProps;return mt.createElement(Lr,pt({iconName:"ChevronDown"},t,{className:s._classNames.menuIcon}))},s._onRenderMenu=function(e){var t=s.props.persistMenu,o=s.state.menuHidden,n=s.props.menuAs||Fu;return e.ariaLabel||e.labelElementId||!s._hasText()||(e=pt(pt({},e),{labelElementId:s._labelId})),mt.createElement(n,pt({id:s._labelId+"-menu",directionalHint:Ea.bottomLeftEdge},e,{shouldFocusOnContainer:s._menuShouldFocusOnContainer,shouldFocusOnMount:s._menuShouldFocusOnMount,hidden:t?o:void 0,className:Er("ms-BaseButton-menuhost",e.className),target:(s._isSplitButton?s._splitButtonContainer:s._buttonElement).current,onDismiss:s._onDismissMenu}))},s._onDismissMenu=function(e){var t=s.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||s._dismissMenu()},s._dismissMenu=function(){s._menuShouldFocusOnMount=void 0,s._menuShouldFocusOnContainer=void 0,s.setState({menuHidden:!0})},s._openMenu=function(e,t){void 0===t&&(t=!0),s.props.menuProps&&(s._menuShouldFocusOnContainer=e,s._menuShouldFocusOnMount=t,s._renderedVisibleMenu=!0,s.setState({menuHidden:!1}))},s._onToggleMenu=function(e){var t=!0;s.props.menuProps&&!1===s.props.menuProps.shouldFocusOnMount&&(t=!1),s.state.menuHidden?s._openMenu(e,t):s._dismissMenu()},s._onSplitContainerFocusCapture=function(e){var t=s._splitButtonContainer.current;!t||e.target&&Fs(e.target,t)||t.focus()},s._onSplitButtonPrimaryClick=function(e){s.state.menuHidden||s._dismissMenu(),!s._processingTouch&&s.props.onClick?s.props.onClick(e):s._processingTouch&&s._onMenuClick(e)},s._onKeyDown=function(e){!s.props.disabled||e.which!==Tn.enter&&e.which!==Tn.space?s.props.disabled||(s.props.menuProps?s._onMenuKeyDown(e):void 0!==s.props.onKeyDown&&s.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},s._onKeyUp=function(e){s.props.disabled||void 0===s.props.onKeyUp||s.props.onKeyUp(e)},s._onKeyPress=function(e){s.props.disabled||void 0===s.props.onKeyPress||s.props.onKeyPress(e)},s._onMouseUp=function(e){s.props.disabled||void 0===s.props.onMouseUp||s.props.onMouseUp(e)},s._onMouseDown=function(e){s.props.disabled||void 0===s.props.onMouseDown||s.props.onMouseDown(e)},s._onClick=function(e){s.props.disabled||(s.props.menuProps?s._onMenuClick(e):void 0!==s.props.onClick&&s.props.onClick(e))},s._onSplitButtonContainerKeyDown=function(e){e.which===Tn.enter||e.which===Tn.space?s._buttonElement.current&&(s._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):s._onMenuKeyDown(e)},s._onMenuKeyDown=function(e){var t,o,n;s.props.disabled||(s.props.onKeyDown&&s.props.onKeyDown(e),t=e.which===Tn.up,o=e.which===Tn.down,!e.defaultPrevented&&s._isValidMenuOpenKey(e)&&((n=s.props.onMenuClick)&&n(e,s.props),s._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()),e.which!==Tn.enter&&e.which!==Tn.space||vo(!0,e.target),e.altKey||e.metaKey||!t&&!o||!s.state.menuHidden&&s.props.menuProps&&((void 0!==s._menuShouldFocusOnMount?s._menuShouldFocusOnMount:s.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),s._menuShouldFocusOnMount=!0,s.forceUpdate())))},s._onTouchStart=function(){!s._isSplitButton||!s._splitButtonContainer.current||"onpointerdown"in s._splitButtonContainer.current||s._handleTouchAndPointerEvent()},s._onMenuClick=function(e){var t=s.props.onMenuClick;t&&t(e,s.props),e.defaultPrevented||(t=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType,s._onToggleMenu(t),e.preventDefault(),e.stopPropagation())},fi(s),s._async=new Si(s),s._events=new fa(s),s.props.split,s._labelId=Cs(),s._descriptionId=Cs(),s._ariaDescriptionId=Cs(),s.state={menuHidden:!0},s}function Vu(i,s,a){return function(r){var t,e=(l(o,t=mt.Component),o.prototype.componentDidMount=function(){yt.observe(this._onSettingChanged)},o.prototype.componentWillUnmount=function(){yt.unobserve(this._onSettingChanged)},o.prototype.render=function(){var n=this;return mt.createElement(xn.Consumer,null,function(e){var t=yt.getSettings(s,i,e.customizations),o=n.props;return t.styles&&"function"==typeof t.styles&&(t.styles=t.styles(pt(pt({},t),o))),a&&t.styles?(n._styleCache.default===t.styles&&n._styleCache.component===o.styles||(e=un(t.styles,o.styles),n._styleCache.default=t.styles,n._styleCache.component=o.styles,n._styleCache.merged=e),mt.createElement(r,pt({},t,o,{styles:n._styleCache.merged}))):mt.createElement(r,pt({},t,o))})},o.prototype._onSettingChanged=function(){this.forceUpdate()},o.displayName="Customized"+i,o);function o(e){e=t.call(this,e)||this;return e._styleCache={},e._onSettingChanged=e._onSettingChanged.bind(e),e}return cu(r,e)}}function Ku(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}}var Gu,Uu,ju={outline:0},qu=Ao(function(e){var t=e.semanticColors,o=e.effects,n=e.fonts,r=t.buttonBorder,i=t.disabledBackground,s=t.disabledText,t={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[bo(e,{inset:1,highContrastStyle:t,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+r,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[bo(e,{inset:1,highContrastStyle:t,borderColor:"transparent"}),{backgroundColor:i,borderColor:i,color:s,cursor:"default",selectors:{":hover":ju,":focus":ju}}],iconDisabled:{color:s,selectors:((i={})[Yt]={color:"GrayText"},i)},menuIconDisabled:{color:s,selectors:((s={})[Yt]={color:"GrayText"},s)},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:Ku(n.mediumPlus.fontSize),menuIcon:Ku(n.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:So}}),Yu=Ao(function(e,t){var o,n=e.effects,r=e.palette,i=e.semanticColors,s={left:-2,top:-2,bottom:-2,right:-2,border:"none"},a={position:"absolute",width:1,right:31,top:8,bottom:8};return un({splitButtonContainer:[bo(e,{highContrastStyle:s,inset:2}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",selectors:((o={})[Yt]=pt({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},".ms-Button--primary + .ms-Button":{border:"none",selectors:((o={})[Yt]={border:"1px solid WindowText",borderLeftWidth:"0"},o)}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:((o={})[Yt]={color:"Window",backgroundColor:"Highlight"},o)},".ms-Button.is-disabled":{color:i.buttonTextDisabled,selectors:((i={})[Yt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:((i={})[Yt]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:((i={})[Yt]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:((r={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:n.roundedCorner2,borderBottomRightRadius:n.roundedCorner2,border:"1px solid "+r.neutralSecondaryAlt,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0})[Yt]={".ms-Button-menuIcon":{color:"WindowText"}},r),splitButtonDivider:pt(pt({},a),{selectors:((r={})[Yt]={backgroundColor:"WindowText"},r)}),splitButtonDividerDisabled:pt(pt({},a),{selectors:((a={})[Yt]={backgroundColor:"GrayText"},a)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:((a={":hover":{cursor:"default"},".ms-Button--primary":{selectors:((a={})[Yt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},a)},".ms-Button-menuIcon":{selectors:((a={})[Yt]={color:"GrayText"},a)}})[Yt]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},a)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:((a={})[Yt]=pt({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)},splitButtonMenuFocused:pt({},bo(e,{highContrastStyle:s,inset:2}))},t)}),Zu=Ao(function(e,t){var o=qu(e),n=Yu(e),r=e.palette;return un(o,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:r.themeDarkAlt,backgroundColor:r.neutralLighter,selectors:((e={})[Yt]={borderColor:"Highlight",color:"Highlight"},e)},rootHasMenu:{width:"auto"},rootPressed:{color:r.themeDark,backgroundColor:r.neutralLight},rootExpanded:{color:r.themeDark,backgroundColor:r.neutralLight},rootChecked:{color:r.themeDark,backgroundColor:r.neutralLight},rootCheckedHovered:{color:r.themeDark,backgroundColor:r.neutralQuaternaryAlt},rootDisabled:{color:r.neutralTertiaryAlt}},n,t)}),Xu=(l(Qu,Uu=mt.Component),Qu.prototype.render=function(){var e=this.props,t=e.styles,e=e.theme;return mt.createElement(zu,pt({},this.props,{variantClassName:"ms-Button--icon",styles:Zu(e,t),onRenderText:ka,onRenderDescription:ka}))},c([Vu("IconButton",["theme","styles"],!0)],Qu));function Qu(){return null!==Uu&&Uu.apply(this,arguments)||this}(W=Gu=Gu||{})[W.horizontal=0]="horizontal",W[W.vertical=1]="vertical";var Ju=function(){var o={};return{getCachedMeasurement:function(e){if(e&&e.cacheKey&&o.hasOwnProperty(e.cacheKey))return o[e.cacheKey]},addMeasurementToCache:function(e,t){e.cacheKey&&(o[e.cacheKey]=t)}}},$u=function(e){var a,l=e=void 0===e?Ju():e;function c(e,t){var o=l.getCachedMeasurement(e);if(void 0!==o)return o;t=t();return l.addMeasurementToCache(e,t),t}function u(e,t,o){for(var n=e,r=c(e,o);a<r;){var i=t(n);if(void 0===i)return{renderedData:n,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(r=l.getCachedMeasurement(i)))return{dataToMeasure:i,resizeDirection:"shrink"};n=i}return{renderedData:n,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,o,n){if(void 0!==n||void 0!==t.dataToMeasure){if(n){if(a&&t.renderedData&&!t.dataToMeasure)return pt(pt({},t),function(e,t,o,n){o=a<e?n?{resizeDirection:"grow",dataToMeasure:n(o)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:o};return a=e,pt(pt({},o),{measureContainer:!1})}(n,e.data,t.renderedData,e.onGrowData));a=n}n=pt(pt({},t),{measureContainer:!1});return n=t.dataToMeasure?"grow"===t.resizeDirection&&e.onGrowData?pt(pt({},n),function(e,t,o,n){for(var r=e,i=c(e,o);i<a;){var s=t(r);if(void 0===s)return{renderedData:r,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(i=l.getCachedMeasurement(s)))return{dataToMeasure:s};r=s}return pt({resizeDirection:"shrink"},u(r,n,o))}(t.dataToMeasure,e.onGrowData,o,e.onReduceData)):pt(pt({},n),u(t.dataToMeasure,e.onReduceData,o)):n}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==l.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:pt({},e),resizeDirection:"grow",measureContainer:!0}}}},ed=mt.createContext({isMeasured:!1}),td={position:"fixed",visibility:"hidden"},od={position:"relative"};function nd(e,t){var o;switch(t.type){case"resizeData":return pt({},t.value);case"dataToMeasure":return pt(pt({},e),{dataToMeasure:t.value,resizeDirection:"grow",measureContainer:!0});default:return pt(pt({},e),((o={})[t.type]=t.value,o))}}var rd={isMeasured:!0},id=mt.forwardRef(function(e,t){var o=mt.useRef(null),n=_r(o,t),r=function(o,n){var r=bl($u),i=mt.useRef(null),s=mt.useRef(null),a=mt.useRef(!1),e=yl(),t=function(e,t,o){var n=bl(function(){return t.getInitialResizeGroupState(e.data)}),r=mt.useReducer(nd,n),i=r[0],s=r[1];mt.useEffect(function(){s({type:"dataToMeasure",value:e.data})},[e.data]);n=mt.useRef(n);return n.current=pt({},i),[n,mt.useCallback(function(e){e&&s({type:"resizeData",value:e})},[]),mt.useCallback(function(){o.current&&s({type:"measureContainer",value:!0})},[o])]}(o,r,n),l=t[0],c=t[1],u=t[2];mt.useEffect(function(){var e;l.current.renderedData&&(a.current=!0,null===(e=o.dataDidRender)||void 0===e||e.call(o,l.current.renderedData))}),mt.useEffect(function(){e.requestAnimationFrame(function(){var e,t=void 0;l.current.measureContainer&&n.current&&(e=n.current.getBoundingClientRect(),t=o.direction===Gu.vertical?e.height:e.width);t=r.getNextState(o,l.current,function(){var e=a.current?s:i;return e.current?o.direction===Gu.vertical?e.current.scrollHeight:e.current.scrollWidth:0},t);c(t)})}),Cl(Sl(),"resize",e.debounce(u,16,{leading:!0}));var d=r.shouldRenderDataForMeasurement(l.current.dataToMeasure),t=!a.current&&d;return[l.current.dataToMeasure,l.current.renderedData,u,i,s,d,t]}(e,o),i=r[0],s=r[1],a=r[2],l=r[3],c=r[4],u=r[5],t=r[6];mt.useImperativeHandle(e.componentRef,function(){return{remeasure:a}},[a]);o=e.className,r=e.onRenderData,e=ur(e,cr,["data"]);return mt.createElement("div",pt({},e,{className:o,ref:n}),mt.createElement("div",{style:od},u&&!t&&mt.createElement("div",{style:td,ref:c},mt.createElement(ed.Provider,{value:rd},r(i))),mt.createElement("div",{ref:l,style:t?td:void 0,"data-automation-id":"visibleContent"},t?r(i):s&&r(s))))});id.displayName="ResizeGroupBase";var sd,ad=id;function ld(e){return e.clientWidth<e.scrollWidth}function cd(e){return e.clientHeight<e.scrollHeight}function ud(e){return ld(e)||cd(e)}(q=sd=sd||{})[q.Parent=0]="Parent",q[q.Self=1]="Self";var dd,pd,hd=Fn(),md=(l(fd,pd=mt.Component),fd.prototype.render=function(){var e=this.props,t=e.className,o=e.calloutProps,n=e.directionalHint,r=e.directionalHintForRTL,i=e.styles,s=e.id,a=e.maxWidth,l=e.onRenderContent,c=void 0===l?this._onRenderContent:l,l=e.targetElement,e=e.theme;return this._classNames=hd(i,{theme:e,className:t||o&&o.className,beakWidth:o&&o.beakWidth,gapSpace:o&&o.gapSpace,maxWidth:a}),mt.createElement(nc,pt({target:l,directionalHint:n,directionalHintForRTL:r},o,ur(this.props,cr,["id"]),{className:this._classNames.root}),mt.createElement("div",{className:this._classNames.content,id:s,role:"tooltip",onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},c(this.props,this._onRenderContent)))},fd.defaultProps={directionalHint:Ea.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},fd),gd=In(md,function(e){var t=e.className,o=e.beakWidth,n=void 0===o?16:o,r=e.gapSpace,i=void 0===r?0:r,s=e.maxWidth,a=e.theme,o=a.semanticColors,r=a.fonts,e=a.effects,i=-(Math.sqrt(n*n/2)+i)+1/window.devicePixelRatio;return{root:["ms-Tooltip",a.fonts.medium,Le.fadeIn200,{background:o.menuBackground,boxShadow:e.elevation8,padding:"8px",maxWidth:s,selectors:{":after":{content:"''",position:"absolute",bottom:i,left:i,right:i,top:i,zIndex:0}}},t],content:["ms-Tooltip-content",r.small,{position:"relative",zIndex:1,color:o.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}},void 0,{scope:"Tooltip"});function fd(){var t=null!==pd&&pd.apply(this,arguments)||this;return t._onRenderContent=function(e){return"string"==typeof e.content?mt.createElement("p",{className:t._classNames.subText},e.content):mt.createElement("div",{className:t._classNames.subText},e.content)},t}(V=dd=dd||{})[V.zero=0]="zero",V[V.medium=1]="medium",V[V.long=2]="long";function vd(){return null}var bd,yd,Cd,_d,Sd=Fn(),xd=(l(Fd,_d=mt.Component),Fd.prototype.render=function(){var e=this.props,t=e.calloutProps,o=e.children,n=e.content,r=e.directionalHint,i=e.directionalHintForRTL,s=e.hostClassName,a=e.id,l=e.setAriaDescribedBy,c=void 0===l||l,u=e.tooltipProps,d=e.styles,l=e.theme;this._classNames=Sd(d,{theme:l,className:s});e=this.state,d=e.isAriaPlaceholderRendered,l=e.isTooltipVisible,s=a||this._defaultTooltipId,e=!!(n||u&&u.onRenderContent&&u.onRenderContent()),a=l&&e;return mt.createElement("div",pt({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipFocus},{onBlurCapture:this._onTooltipBlur},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,role:"none","aria-describedby":c&&l&&e?s:void 0}),o,a&&mt.createElement(gd,pt({id:s,content:n,targetElement:this._getTargetElement(),directionalHint:r,directionalHintForRTL:i,calloutProps:da({},t,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},ur(this.props,cr),u)),d&&mt.createElement("div",{id:s,role:"none",style:So},n))},Fd.prototype.componentWillUnmount=function(){Fd._currentVisibleTooltip&&Fd._currentVisibleTooltip===this&&(Fd._currentVisibleTooltip=void 0),this._async.dispose()},Fd.defaultProps={delay:dd.medium},Fd),kd={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},wd=In(xd,function(e){var t=e.className,e=e.theme;return{root:[zo(kd,e).root,{display:"inline"},t]}},void 0,{scope:"TooltipHost"}),Id=Fn(),Dd={styles:function(e){return{root:{selectors:{"&.is-disabled":{color:e.theme.semanticColors.bodyText}}}}}},Td=(l(Bd,Cd=mt.Component),Bd.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},Bd.prototype.render=function(){this._validateProps(this.props);var e=this.props,t=e.onReduceData,o=void 0===t?this._onReduceData:t,n=e.onGrowData,r=void 0===n?this._onGrowData:n,i=e.overflowIndex,s=e.maxDisplayedItems,a=e.items,t=e.className,n=e.theme,e=e.styles,a=$e(a),s=a.splice(i,a.length-s),s={props:this.props,renderedItems:a,renderedOverflowItems:s};return this._classNames=Id(e,{className:t,theme:n}),mt.createElement(ad,{onRenderData:this._onRenderBreadcrumb,onReduceData:o,onGrowData:r,data:s})},Bd.prototype._validateProps=function(e){var t=e.maxDisplayedItems,o=e.overflowIndex,e=e.items;if(o<0||1<t&&t-1<o||0<e.length&&o>e.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},Bd.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},Bd),Ed={root:"ms-Breadcrumb",list:"ms-Breadcrumb-list",listItem:"ms-Breadcrumb-listItem",chevron:"ms-Breadcrumb-chevron",overflow:"ms-Breadcrumb-overflow",overflowButton:"ms-Breadcrumb-overflowButton",itemLink:"ms-Breadcrumb-itemLink",item:"ms-Breadcrumb-item"},Pd={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},Rd=uo(0,ro),Md=uo($t,io),Nd=In(Td,function(e){var t=e.className,o=e.theme,n=o.palette,r=o.semanticColors,i=o.fonts,s=zo(Ed,o),a=r.menuItemBackgroundHovered,l=r.menuItemBackgroundPressed,c=n.neutralSecondary,u=Fe.regular,d=n.neutralPrimary,p=n.neutralPrimary,h=Fe.semibold,e=n.neutralSecondary,r=n.neutralSecondary,p={fontWeight:h,color:p},l={":hover":{color:d,backgroundColor:a,cursor:"pointer",selectors:((a={})[Yt]={color:"Highlight"},a)},":active":{backgroundColor:l,color:d},"&:active:hover":{color:d,backgroundColor:l},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},u={color:c,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:u};return{root:[s.root,i.medium,{margin:"11px 0 1px"},t],list:[s.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[s.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":p,"&:last-child .ms-Breadcrumb-item":p}}],chevron:[s.chevron,{color:e,fontSize:i.small.fontSize,selectors:((e={})[Yt]=pt({color:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),e[Md]={fontSize:8},e[Rd]={fontSize:8},e)}],overflow:[s.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[s.overflowButton,bo(o),Pd,{fontSize:16,color:r,height:"100%",cursor:"pointer",selectors:pt(pt({},l),((r={})[Rd]={padding:"4px 6px"},r[Md]={fontSize:i.mediumPlus.fontSize},r))}],itemLink:[s.itemLink,bo(o),Pd,pt(pt({},u),{selectors:pt(((n={":focus":{color:n.neutralDark}})["."+go+" &:focus"]={outline:"none"},n),l)})],item:[s.item,pt(pt({},u),{selectors:{":hover":{cursor:"default"}}})]}},void 0,{scope:"Breadcrumb"});function Bd(e){var p=Cd.call(this,e)||this;return p._focusZone=mt.createRef(),p._onReduceData=function(e){var t=e.renderedItems,o=e.renderedOverflowItems,n=e.props.overflowIndex,r=t[n];if(r)return(t=$e(t)).splice(n,1),o=$e(o,[r]),pt(pt({},e),{renderedItems:t,renderedOverflowItems:o})},p._onGrowData=function(e){var t=e.renderedItems,o=e.renderedOverflowItems,n=e.props,r=n.overflowIndex,i=n.maxDisplayedItems,n=(o=$e(o)).pop();if(n&&!(t.length>=i))return(t=$e(t)).splice(r,0,n),pt(pt({},e),{renderedItems:t,renderedOverflowItems:o})},p._onRenderBreadcrumb=function(e){var t=e.props,o=t.ariaLabel,n=t.dividerAs,r=void 0===n?Wr:n,i=t.onRenderItem,s=void 0===i?p._onRenderItem:i,a=t.overflowAriaLabel,l=t.overflowIndex,c=t.onRenderOverflowIcon,n=t.overflowButtonAs,i=e.renderedOverflowItems,t=e.renderedItems,e=i.map(function(e){var t=!(!e.onClick&&!e.href);return{text:e.text,name:e.text,key:e.key,onClick:e.onClick?p._onBreadcrumbClicked.bind(p,e):null,href:e.href,disabled:!t,itemProps:t?void 0:Dd}}),u=t.length-1,d=i&&0!==i.length,t=t.map(function(e,t){return mt.createElement("li",{className:p._classNames.listItem,key:e.key||String(t)},s(e,p._onRenderItem),(t!==u||d&&t===l-1)&&mt.createElement(r,{className:p._classNames.chevron,iconName:Pn(p.props.theme)?"ChevronLeft":"ChevronRight",item:e}))});d&&t.splice(l,0,mt.createElement("li",{className:p._classNames.overflow,key:"overflow"},mt.createElement(n||Xu,{className:p._classNames.overflowButton,iconProps:c?{}:{iconName:"More"},role:"button","aria-haspopup":"true",ariaLabel:a,onRenderMenuIcon:c||vd,menuProps:{items:e,directionalHint:Ea.bottomLeftEdge}}),l!==1+u&&mt.createElement(r,{className:p._classNames.chevron,iconName:Pn(p.props.theme)?"ChevronLeft":"ChevronRight",item:i[i.length-1]})));i=ur(p.props,Wn,["className"]);return mt.createElement("div",pt({className:p._classNames.root,role:"navigation","aria-label":o},i),mt.createElement(Ys,pt({componentRef:p._focusZone,direction:Ti.horizontal},p.props.focusZoneProps),mt.createElement("ol",{className:p._classNames.list},t)))},p._onRenderItem=function(e){var t=e.as,o=e.href,n=e.onClick,r=e.isCurrentItem,i=e.text,s=ht(e,["as","href","onClick","isCurrentItem","text"]);return n||o?mt.createElement(ca,pt({},s,{as:t,className:p._classNames.itemLink,href:o,"aria-current":r?"page":void 0,onClick:p._onBreadcrumbClicked.bind(p,e)}),mt.createElement(wd,pt({content:i,overflowMode:sd.Parent},p.props.tooltipHostProps),i)):mt.createElement(t||"span",pt({},s,{className:p._classNames.item}),mt.createElement(wd,pt({content:i,overflowMode:sd.Parent},p.props.tooltipHostProps),i))},p._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},fi(p),p._validateProps(e),p}function Fd(e){var n=_d.call(this,e)||this;return n._tooltipHost=mt.createRef(),n._defaultTooltipId=Cs("tooltip"),n.show=function(){n._toggleTooltip(!0)},n.dismiss=function(){n._hideTooltip()},n._getTargetElement=function(){if(n._tooltipHost.current){var e=n.props.overflowMode;if(void 0!==e)switch(e){case sd.Parent:return n._tooltipHost.current.parentElement;case sd.Self:return n._tooltipHost.current}return n._tooltipHost.current}},n._onTooltipFocus=function(e){n._ignoreNextFocusEvent?n._ignoreNextFocusEvent=!1:n._onTooltipMouseEnter(e)},n._onTooltipBlur=function(e){n._ignoreNextFocusEvent=(null===document||void 0===document?void 0:document.activeElement)===e.target,n._hideTooltip()},n._onTooltipMouseEnter=function(e){var t=n.props,o=t.overflowMode,t=t.delay;if(Fd._currentVisibleTooltip&&Fd._currentVisibleTooltip!==n&&Fd._currentVisibleTooltip.dismiss(),Fd._currentVisibleTooltip=n,void 0!==o){o=n._getTargetElement();if(o&&!ud(o))return}e.target&&Fs(e.target,n._getTargetElement())||(n._clearDismissTimer(),n._clearOpenTimer(),t!==dd.zero?(n.setState({isAriaPlaceholderRendered:!0}),t=n._getDelayTime(t),n._openTimerId=n._async.setTimeout(function(){n._toggleTooltip(!0)},t)):n._toggleTooltip(!0))},n._onTooltipMouseLeave=function(e){var t=n.props.closeDelay;n._clearDismissTimer(),n._clearOpenTimer(),t?n._dismissTimerId=n._async.setTimeout(function(){n._toggleTooltip(!1)},t):n._toggleTooltip(!1),Fd._currentVisibleTooltip===n&&(Fd._currentVisibleTooltip=void 0)},n._onTooltipKeyDown=function(e){(e.which===Tn.escape||e.ctrlKey)&&n.state.isTooltipVisible&&(n._hideTooltip(),e.stopPropagation())},n._clearDismissTimer=function(){n._async.clearTimeout(n._dismissTimerId)},n._clearOpenTimer=function(){n._async.clearTimeout(n._openTimerId)},n._hideTooltip=function(){n._clearOpenTimer(),n._clearDismissTimer(),n._toggleTooltip(!1)},n._toggleTooltip=function(e){n.state.isTooltipVisible!==e&&n.setState({isAriaPlaceholderRendered:!1,isTooltipVisible:e},function(){return n.props.onTooltipToggle&&n.props.onTooltipToggle(e)})},n._getDelayTime=function(e){switch(e){case dd.medium:return 300;case dd.long:return 500;default:return 0}},fi(n),n.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},n._async=new Si(n),n}function Ad(e){var t=e.semanticColors,o=e.palette,n=t.buttonBackground,r=t.buttonBackgroundPressed,i=t.buttonBackgroundHovered,s=t.buttonBackgroundDisabled,a=t.buttonText,l=t.buttonTextHovered,c=t.buttonTextDisabled,u=t.buttonTextChecked,d=t.buttonTextCheckedHovered;return{root:{backgroundColor:n,color:a},rootHovered:{backgroundColor:i,color:l,selectors:((l={})[Yt]={borderColor:"Highlight",color:"Highlight"},l)},rootPressed:{backgroundColor:r,color:u},rootExpanded:{backgroundColor:r,color:u},rootChecked:{backgroundColor:r,color:u},rootCheckedHovered:{backgroundColor:r,color:d},rootDisabled:{color:c,backgroundColor:s,selectors:((s={})[Yt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)},splitButtonContainer:{selectors:((s={})[Yt]={border:"none"},s)},splitButtonMenuButton:{color:o.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:o.neutralLight,selectors:((s={})[Yt]={color:"Highlight"},s)}}},splitButtonMenuButtonDisabled:{backgroundColor:t.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:t.buttonBackgroundDisabled}}},splitButtonDivider:pt(pt({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:o.neutralTertiaryAlt,selectors:((s={})[Yt]={backgroundColor:"WindowText"},s)}),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:o.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:o.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:o.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:o.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:t.buttonText},splitButtonMenuIconDisabled:{color:t.buttonTextDisabled}}}function Ld(e){var t,o=e.palette,n=e.semanticColors;return{root:{backgroundColor:n.primaryButtonBackground,border:"1px solid "+n.primaryButtonBackground,color:n.primaryButtonText,selectors:((t={})[Yt]=pt({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t["."+go+" &:focus"]={selectors:{":after":{border:"none",outlineColor:o.white}}},t)},rootHovered:{backgroundColor:n.primaryButtonBackgroundHovered,border:"1px solid "+n.primaryButtonBackgroundHovered,color:n.primaryButtonTextHovered,selectors:((e={})[Yt]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},e)},rootPressed:{backgroundColor:n.primaryButtonBackgroundPressed,border:"1px solid "+n.primaryButtonBackgroundPressed,color:n.primaryButtonTextPressed,selectors:((t={})[Yt]=pt({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},rootExpanded:{backgroundColor:n.primaryButtonBackgroundPressed,color:n.primaryButtonTextPressed},rootChecked:{backgroundColor:n.primaryButtonBackgroundPressed,color:n.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:n.primaryButtonBackgroundPressed,color:n.primaryButtonTextPressed},rootDisabled:{color:n.primaryButtonTextDisabled,backgroundColor:n.primaryButtonBackgroundDisabled,selectors:((e={})[Yt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},e)},splitButtonContainer:{selectors:((t={})[Yt]={border:"none"},t)},splitButtonDivider:pt(pt({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:o.white,selectors:((e={})[Yt]={backgroundColor:"Window"},e)}),splitButtonMenuButton:{backgroundColor:n.primaryButtonBackground,color:n.primaryButtonText,selectors:((t={})[Yt]={backgroundColor:"WindowText"},t[":hover"]={backgroundColor:n.primaryButtonBackgroundHovered,selectors:((e={})[Yt]={color:"Highlight"},e)},t)},splitButtonMenuButtonDisabled:{backgroundColor:n.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:n.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:n.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:n.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:n.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:n.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:n.primaryButtonText},splitButtonMenuIconDisabled:{color:o.neutralTertiary,selectors:((o={})[Yt]={color:"GrayText"},o)}}}(K=bd=bd||{})[K.button=0]="button",K[K.anchor=1]="anchor",(G=yd=yd||{})[G.normal=0]="normal",G[G.primary=1]="primary",G[G.hero=2]="hero",G[G.compound=3]="compound",G[G.command=4]="command",G[G.icon=5]="icon",G[G.default=6]="default";var Hd,Od,zd,Wd,Vd,Kd,Gd,Ud=Ao(function(e,t,o){var n=qu(e),r=Yu(e);return un(n,{root:{minWidth:"80px",height:"32px"},label:{fontWeight:Fe.semibold}},(o?Ld:Ad)(e),r,t)}),jd=(l(pp,Gd=mt.Component),pp.prototype.render=function(){var e=this.props,t=e.primary,o=void 0!==t&&t,t=e.styles,e=e.theme;return mt.createElement(zu,pt({},this.props,{variantClassName:o?"ms-Button--primary":"ms-Button--default",styles:Ud(e,t,o),onRenderDescription:ka}))},c([Vu("DefaultButton",["theme","styles"],!0)],pp)),qd=Ao(function(e,t){var o;return un(qu(e),{root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent",selectors:((o={})[Yt]={borderColor:"Window"},o)},rootHovered:{color:e.palette.themePrimary,selectors:((o={})[Yt]={color:"Highlight"},o)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent",selectors:((o={})[Yt]={color:"GrayText"},o)},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}},t)}),Yd=(l(dp,Kd=mt.Component),dp.prototype.render=function(){var e=this.props,t=e.styles,e=e.theme;return mt.createElement(zu,pt({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:qd(e,t),onRenderDescription:ka}))},c([Vu("ActionButton",["theme","styles"],!0)],dp)),Zd=Ao(function(e,t,o){var n=e.fonts,r=e.palette,i=qu(e),s=Yu(e),a={root:{maxWidth:"280px",minHeight:"72px",height:"auto",padding:"16px 12px"},flexContainer:{flexDirection:"row",alignItems:"flex-start",minWidth:"100%",margin:""},textContainer:{textAlign:"left"},icon:{fontSize:"2em",lineHeight:"1em",height:"1em",margin:"0px 8px 0px 0px",flexBasis:"1em",flexShrink:"0"},label:{margin:"0 0 5px",lineHeight:"100%",fontWeight:Fe.semibold},description:[n.small,{lineHeight:"100%"}]},l={description:{color:r.neutralSecondary},descriptionHovered:{color:r.neutralDark},descriptionPressed:{color:"inherit"},descriptionChecked:{color:"inherit"},descriptionDisabled:{color:"inherit"}},r={description:{color:r.white,selectors:((n={})[Yt]=pt({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},descriptionHovered:{color:r.white,selectors:((r={})[Yt]={backgroundColor:"Highlight",color:"Window"},r)},descriptionPressed:{color:"inherit",selectors:((r={})[Yt]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},descriptionChecked:{color:"inherit",selectors:((r={})[Yt]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},descriptionDisabled:{color:"inherit",selectors:((r={})[Yt]={color:"inherit"},r)}};return un(i,a,(o?Ld:Ad)(e),o?r:l,s,t)}),Xd=(l(up,Vd=mt.Component),up.prototype.render=function(){var e=this.props,t=e.primary,o=void 0!==t&&t,t=e.styles,e=e.theme;return mt.createElement(zu,pt({},this.props,{variantClassName:o?"ms-Button--compoundPrimary":"ms-Button--compound",styles:Zd(e,t,o)}))},c([Vu("CompoundButton",["theme","styles"],!0)],up)),Qd=(l(cp,Wd=mt.Component),cp.prototype.render=function(){return mt.createElement(jd,pt({},this.props,{primary:!0,onRenderDescription:ka}))},c([Vu("PrimaryButton",["theme","styles"],!0)],cp)),Jd=(l(lp,zd=mt.Component),lp.prototype.render=function(){var e=this.props;switch(e.buttonType){case yd.command:return mt.createElement(Yd,pt({},e));case yd.compound:return mt.createElement(Xd,pt({},e));case yd.icon:return mt.createElement(Xu,pt({},e));case yd.primary:return mt.createElement(Qd,pt({},e));default:return mt.createElement(jd,pt({},e))}},lp),$d=Ao(function(e,t,o,n){var r=qu(e),i=Yu(e),s=e.palette,a=e.semanticColors;return un(r,i,{root:[bo(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,{minWidth:"40px",backgroundColor:s.white,color:s.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:((e={})[Yt]={border:"none"},e)}],rootHovered:{backgroundColor:s.neutralLighter,color:s.neutralDark,selectors:((e={})[Yt]={color:"Highlight"},e["."+Lu.msButtonIcon]={color:s.themeDarkAlt},e["."+Lu.msButtonMenuIcon]={color:s.neutralPrimary},e)},rootPressed:{backgroundColor:s.neutralLight,color:s.neutralDark,selectors:((e={})["."+Lu.msButtonIcon]={color:s.themeDark},e["."+Lu.msButtonMenuIcon]={color:s.neutralPrimary},e)},rootChecked:{backgroundColor:s.neutralLight,color:s.neutralDark,selectors:((e={})["."+Lu.msButtonIcon]={color:s.themeDark},e["."+Lu.msButtonMenuIcon]={color:s.neutralPrimary},e)},rootCheckedHovered:{backgroundColor:s.neutralQuaternaryAlt,selectors:((e={})["."+Lu.msButtonIcon]={color:s.themeDark},e["."+Lu.msButtonMenuIcon]={color:s.neutralPrimary},e)},rootExpanded:{backgroundColor:s.neutralLight,color:s.neutralDark,selectors:((e={})["."+Lu.msButtonIcon]={color:s.themeDark},e["."+Lu.msButtonMenuIcon]={color:s.neutralPrimary},e)},rootExpandedHovered:{backgroundColor:s.neutralQuaternaryAlt},rootDisabled:{backgroundColor:s.white,selectors:((e={})["."+Lu.msButtonIcon]={color:a.disabledBodySubtext,selectors:((a={})[Yt]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)},e[Yt]=pt({color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),e)},splitButtonContainer:{height:"100%",selectors:((e={})[Yt]={border:"none"},e)},splitButtonDividerDisabled:{selectors:((e={})[Yt]={backgroundColor:"Window"},e)},splitButtonDivider:{backgroundColor:s.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:s.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:s.neutralSecondary,selectors:{":hover":{backgroundColor:s.neutralLighter,color:s.neutralDark,selectors:((e={})[Yt]={color:"Highlight"},e["."+Lu.msButtonIcon]={color:s.neutralPrimary},e)},":active":{backgroundColor:s.neutralLight,selectors:((e={})["."+Lu.msButtonIcon]={color:s.neutralPrimary},e)}}},splitButtonMenuButtonDisabled:{backgroundColor:s.white,selectors:((e={})[Yt]=pt({color:"GrayText",border:"none",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),e)},splitButtonMenuButtonChecked:{backgroundColor:s.neutralLight,color:s.neutralDark,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralLight,color:s.black,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:s.neutralPrimary},splitButtonMenuIconDisabled:{color:s.neutralTertiary},label:{fontWeight:"normal"},icon:{color:s.themePrimary},menuIcon:((s={color:s.neutralSecondary})[Yt]={color:"GrayText"},s)},t)}),ep=(l(ap,Od=mt.Component),ap.prototype.render=function(){var e=this.props,t=e.styles,e=e.theme;return mt.createElement(zu,pt({},this.props,{variantClassName:"ms-Button--commandBar",styles:$d(e,t),onRenderDescription:ka}))},c([Vu("CommandBarButton",["theme","styles"],!0)],ap)),tp=Yd,op=Ao(function(e,t){return un({root:[bo(e,{inset:1,highContrastStyle:{outlineOffset:"-4px",outline:"1px solid Window"},borderColor:"transparent"}),{height:24}]},t)}),np=(l(sp,Hd=mt.Component),sp.prototype.render=function(){var e=this.props,t=e.styles,e=e.theme;return mt.createElement(jd,pt({},this.props,{styles:op(e,t),onRenderDescription:ka}))},c([Vu("MessageBarButton",["theme","styles"],!0)],sp)),rp=Fn(),ip=In(mt.forwardRef(function(e,t){var o=tu(void 0,e.id),n=e.items,r=e.columnCount,i=e.onRenderItem,s=e.ariaPosInSet,a=void 0===s?e.positionInSet:s,l=e.ariaSetSize,c=void 0===l?e.setSize:l,u=e.styles,s=e.doNotContainWithinFocusZone,l=ur(e,Wn,s?[]:["onBlur"]),d=rp(u,{theme:e.theme}),r=Wi(n,r),r=mt.createElement("table",pt({"aria-posinset":a,"aria-setsize":c,id:o,role:"grid"},l,{className:d.root}),mt.createElement("tbody",null,r.map(function(e,t){return mt.createElement("tr",{role:"row",key:t},e.map(function(e,t){return mt.createElement("td",{role:"presentation",key:t+"-cell",className:d.tableCell},i(e,t))}))})));return s?r:mt.createElement(Ys,{elementRef:t,isCircularNavigation:e.shouldFocusCircularNavigate,className:d.focusedContainer,onBlur:e.onBlur},r)}),function(e){return{root:{padding:2,outline:"none"},tableCell:{padding:0}}});function sp(){return null!==Hd&&Hd.apply(this,arguments)||this}function ap(){return null!==Od&&Od.apply(this,arguments)||this}function lp(e){e=zd.call(this,e)||this;return Xo("The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"),e}function cp(){return null!==Wd&&Wd.apply(this,arguments)||this}function up(){return null!==Vd&&Vd.apply(this,arguments)||this}function dp(){return null!==Kd&&Kd.apply(this,arguments)||this}function pp(){return null!==Gd&&Gd.apply(this,arguments)||this}ip.displayName="ButtonGrid";var hp,mp,gp,fp,vp=function(e){var t=tu("gridCell"),o=e.item,n=e.id,r=void 0===n?t:n,i=e.className,s=e.role,a=e.selected,l=e.disabled,c=void 0!==l&&l,u=e.onRenderItem,d=e.cellDisabledStyle,p=e.cellIsSelectedStyle,h=e.index,m=e.label,g=e.getClassNames,f=e.onClick,v=e.onHover,b=e.onMouseMove,y=e.onMouseLeave,C=e.onMouseEnter,_=e.onFocus,S=mt.useCallback(function(){f&&!c&&f(o)},[c,o,f]),t=mt.useCallback(function(e){C&&C(e)||!v||c||v(o)},[c,o,v,C]),n=mt.useCallback(function(e){b&&b(e)||!v||c||v(o)},[c,o,v,b]),l=mt.useCallback(function(e){y&&y(e)||!v||c||v()},[c,v,y]),e=mt.useCallback(function(){_&&!c&&_(o)},[c,o,_]);return mt.createElement(tp,{id:r,"data-index":h,"data-is-focusable":!0,disabled:c,className:Er(i,((i={})[""+p]=a,i[""+d]=c,i)),onClick:S,onMouseEnter:t,onMouseMove:n,onMouseLeave:l,onFocus:e,role:s,"aria-selected":a,ariaLabel:m,title:m,getClassNames:g},u(o))};(U=hp=hp||{})[U.Sunday=0]="Sunday",U[U.Monday=1]="Monday",U[U.Tuesday=2]="Tuesday",U[U.Wednesday=3]="Wednesday",U[U.Thursday=4]="Thursday",U[U.Friday=5]="Friday",U[U.Saturday=6]="Saturday",(xe=mp=mp||{})[xe.January=0]="January",xe[xe.February=1]="February",xe[xe.March=2]="March",xe[xe.April=3]="April",xe[xe.May=4]="May",xe[xe.June=5]="June",xe[xe.July=6]="July",xe[xe.August=7]="August",xe[xe.September=8]="September",xe[xe.October=9]="October",xe[xe.November=10]="November",xe[xe.December=11]="December",(Y=gp=gp||{})[Y.FirstDay=0]="FirstDay",Y[Y.FirstFullWeek=1]="FirstFullWeek",Y[Y.FirstFourDayWeek=2]="FirstFourDayWeek",(ke=fp=fp||{})[ke.Day=0]="Day",ke[ke.Week=1]="Week",ke[ke.Month=2]="Month",ke[ke.WorkWeek=3]="WorkWeek";var bp=7,W={formatDay:function(e){return e.getDate().toString()},formatMonth:function(e,t){return t.months[e.getMonth()]},formatYear:function(e){return e.getFullYear().toString()},formatMonthDayYear:function(e,t){return t.months[e.getMonth()]+" "+e.getDate()+", "+e.getFullYear()},formatMonthYear:function(e,t){return t.months[e.getMonth()]+" "+e.getFullYear()}},q=pt(pt({},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["S","M","T","W","T","F","S"]}),{goToToday:"Go to today",weekNumberFormatString:"Week number {0}",prevMonthAriaLabel:"Previous month",nextMonthAriaLabel:"Next month",prevYearAriaLabel:"Previous year",nextYearAriaLabel:"Next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close",selectedDateFormatString:"Selected date {0}",todayDateFormatString:"Today's date {0}",monthPickerHeaderAriaLabel:"{0}, change year",yearPickerHeaderAriaLabel:"{0}, change month",dayMarkedAriaLabel:"marked"}),yp={MillisecondsInOneDay:864e5,MillisecondsIn1Sec:1e3,MillisecondsIn1Min:6e4,MillisecondsIn30Mins:18e5,MillisecondsIn1Hour:36e5,MinutesInOneDay:1440,MinutesInOneHour:60,DaysInOneWeek:7,MonthInOneYear:12,HoursInOneDay:24};function Cp(e,t){e=new Date(e.getTime());return e.setDate(e.getDate()+t),e}function _p(e,t){return Cp(e,t*yp.DaysInOneWeek)}function Sp(e,t){e=new Date(e.getTime()),t=e.getMonth()+t;return e.setMonth(t),e=e.getMonth()!==(t%yp.MonthInOneYear+yp.MonthInOneYear)%yp.MonthInOneYear?Cp(e,-e.getDate()):e}function xp(e,t){var o=new Date(e.getTime());return o.setFullYear(e.getFullYear()+t),o=o.getMonth()!==(e.getMonth()%yp.MonthInOneYear+yp.MonthInOneYear)%yp.MonthInOneYear?Cp(o,-o.getDate()):o}function kp(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function wp(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function Ip(e){return new Date(e.getFullYear(),0,1,0,0,0,0)}function Dp(e){return new Date(e.getFullYear()+1,0,0,0,0,0,0)}function Tp(e,t){return Sp(e,t-e.getMonth())}function Ep(e,t){return!e&&!t||!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Pp(e,t){return Hp(e)-Hp(t)}function Rp(e,t,o,n,r){void 0===r&&(r=1);var i,s=[],a=null;switch(n=n||[hp.Monday,hp.Tuesday,hp.Wednesday,hp.Thursday,hp.Friday],r=Math.max(r,1),t){case fp.Day:a=Cp(i=Lp(e),r);break;case fp.Week:case fp.WorkWeek:a=Cp(i=Fp(Lp(e),o),yp.DaysInOneWeek);break;case fp.Month:a=Sp(i=new Date(e.getFullYear(),e.getMonth(),1),1);break;default:throw new Error("Unexpected object: "+t)}for(var l=i;t===fp.WorkWeek&&-1===n.indexOf(l.getDay())||s.push(l),!Ep(l=Cp(l,1),a););return s}function Mp(e,t){for(var o=0,n=t;o<n.length;o++)if(Ep(e,n[o]))return!0;return!1}function Np(e,t,o,n){for(var r=n.getFullYear(),i=n.getMonth(),s=1,a=new Date(r,i,s),a=s+(t+yp.DaysInOneWeek-1)-(n=t,a=a.getDay(),n!==hp.Sunday&&a<n?a+yp.DaysInOneWeek:a),l=new Date(r,i,a),s=l.getDate(),c=[],u=0;u<e;u++)c.push(Bp(l,t,o)),s+=yp.DaysInOneWeek,l=new Date(r,i,s);return c}function Bp(e,t,o){switch(o){case gp.FirstFullWeek:return Op(e,t,yp.DaysInOneWeek);case gp.FirstFourDayWeek:return Op(e,t,4);default:return r=t,i=zp(n=e)-1,r=(n.getDay()-i%yp.DaysInOneWeek-r+2*yp.DaysInOneWeek)%yp.DaysInOneWeek,Math.floor((i+r)/yp.DaysInOneWeek+1)}var n,r,i}function Fp(e,t){t-=e.getDay();return 0<t&&(t-=yp.DaysInOneWeek),Cp(e,t)}function Ap(e,t){t=(0<=t-1?t-1:yp.DaysInOneWeek-1)-e.getDay();return t<0&&(t+=yp.DaysInOneWeek),Cp(e,t)}function Lp(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Hp(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function Op(e,t,o){var n=zp(e)-1,r=e.getDay()-n%yp.DaysInOneWeek,i=zp(new Date(e.getFullYear()-1,mp.December,31))-1,e=(t-r+2*yp.DaysInOneWeek)%yp.DaysInOneWeek;0!==e&&o<=e&&(e-=yp.DaysInOneWeek);n-=e;return n<0&&(0!=(e=(t-(r-=i%yp.DaysInOneWeek)+2*yp.DaysInOneWeek)%yp.DaysInOneWeek)&&o<=e+1&&(e-=yp.DaysInOneWeek),n=i-e),Math.floor(n/yp.DaysInOneWeek+1)}function zp(e){for(var t=e.getMonth(),o=e.getFullYear(),n=0,r=0;r<t;r++)n+=new Date(o,r+1,0).getDate();return n+e.getDate()}var Wp=/[\{\}]/g,Vp=/\{\d+\}/g;function Kp(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var n=t;return e.replace(Vp,function(e){return e=null==(e=n[e.replace(Wp,"")])?"":e})}function Gp(e){var t=e.showWeekNumbers,r=e.strings,i=e.firstDayOfWeek,s=e.allFocusable,o=e.weeksToShow,n=e.weeks,a=e.classNames,l=r.shortDays.slice(),c=Hi(n[1],function(e){return 1===e.originalDate.getDate()});return 1===o&&0<=c&&(l[(c+i)%bp]=r.shortMonths[n[1][c].originalDate.getMonth()]),mt.createElement("tr",null,t&&mt.createElement("th",{className:a.dayCell}),l.map(function(e,t){var o=(t+i)%bp,n=t===c?r.days[o]+" "+l[o]:r.days[o];return mt.createElement("th",{className:Er(a.dayCell,a.weekDayLabelCell),scope:"col",key:l[o]+" "+t,title:n,"aria-label":n,"data-is-focusable":!!s||void 0},l[o])}))}function Up(e){var t=e.targetDate,o=e.initialDate,n=e.direction,r=ht(e,["targetDate","initialDate","direction"]),i=t;if(!Xp(t,r))return t;for(;0!==Pp(o,i)&&Xp(i,r)&&!Zp(i,r)&&!Yp(i,r);)i=Cp(i,n);return 0===Pp(o,i)||Xp(i,r)?void 0:i}function jp(o){var e=o.classNames,t=o.week,n=o.weeks,r=o.weekIndex,i=o.rowClassName,s=o.ariaRole,a=o.showWeekNumbers,l=o.firstDayOfWeek,c=o.firstWeekOfYear,u=o.navigatedDate,d=o.strings,d=(u=a?Np(n.length,l,c,u):null)?d.weekNumberFormatString&&Kp(d.weekNumberFormatString,u[r]):"";return mt.createElement("tr",{role:s,className:i,key:r+"_"+t[0].key},a&&u&&mt.createElement("th",{className:e.weekNumberCell,key:r,title:d,"aria-label":d,scope:"row"},mt.createElement("span",null,u[r])),t.map(function(e,t){return mt.createElement(Qp,pt({},o,{key:e.key,day:e,dayIndex:t}))}))}var qp=function(e,t,o){e=$e(e);return t&&(e=e.filter(function(e){return 0<=Pp(e,t)})),e=o?e.filter(function(e){return Pp(e,o)<=0}):e},Yp=function(e,t){t=t.minDate;return!!t&&1<=Pp(t,e)},Zp=function(e,t){t=t.maxDate;return!!t&&1<=Pp(e,t)},Xp=function(t,e){var o=e.restrictedDates,n=e.minDate,r=e.maxDate;return!!(o||n||r)&&(o&&o.some(function(e){return Ep(e,t)})||Yp(t,e)||Zp(t,e))},Qp=function(e){var t=e.navigatedDate,o=e.dateTimeFormatter,n=e.allFocusable,r=e.strings,i=e.activeDescendantId,s=e.navigatedDayRef,a=e.calculateRoundedStyles,l=e.weeks,c=e.classNames,u=e.day,d=e.dayIndex,p=e.weekIndex,h=e.weekCorners,m=e.ariaHidden,g=e.customDayCellRef,f=e.dateRangeType,v=e.daysToSelectInDayView,b=e.onSelectDate,y=e.restrictedDates,C=e.minDate,_=e.maxDate,S=e.onNavigateDate,x=e.getDayInfosInRangeOfDay,k=e.getRefsFromDayInfos,d=null!==(p=null==h?void 0:h[p+"_"+d])&&void 0!==p?p:"",p=Ep(t,u.originalDate),t=u.originalDate.getDate()+", "+r.months[u.originalDate.getMonth()]+", "+u.originalDate.getFullYear();return u.isMarked&&(t=t+", "+r.dayMarkedAriaLabel),mt.createElement("td",{className:Er(c.dayCell,h&&d,u.isSelected&&c.daySelected,u.isSelected&&"ms-CalendarDay-daySelected",!u.isInBounds&&c.dayOutsideBounds,!u.isInMonth&&c.dayOutsideNavigatedMonth),ref:function(e){null==g||g(e,u.originalDate,c),u.setRef(e)},"aria-hidden":m,onClick:u.isInBounds&&!m?u.onSelected:void 0,onMouseOver:m?void 0:function(e){var o=x(u),n=k(o);n.forEach(function(e,t){e&&(e.classList.add("ms-CalendarDay-hoverStyle"),!o[t].isSelected&&f===fp.Day&&v&&1<v)&&(e.classList.remove(c.bottomLeftCornerDate,c.bottomRightCornerDate,c.topLeftCornerDate,c.topRightCornerDate),(t=a(c,!1,!1,0<t,t<n.length-1).trim())&&(e=e.classList).add.apply(e,t.split(" ")))})},onMouseDown:m?void 0:function(e){var t=x(u);k(t).forEach(function(e){e&&e.classList.add("ms-CalendarDay-pressedStyle")})},onMouseUp:m?void 0:function(e){var t=x(u);k(t).forEach(function(e){e&&e.classList.remove("ms-CalendarDay-pressedStyle")})},onMouseOut:m?void 0:function(e){var o=x(u),n=k(o);n.forEach(function(e,t){e&&(e.classList.remove("ms-CalendarDay-hoverStyle"),e.classList.remove("ms-CalendarDay-pressedStyle"),!o[t].isSelected&&f===fp.Day&&v&&1<v)&&((t=a(c,!1,!1,0<t,t<n.length-1).trim())&&(e=e.classList).remove.apply(e,t.split(" ")))})},role:"presentation"},mt.createElement("button",{key:u.key+"button","aria-hidden":m,className:Er(c.dayButton,u.isToday&&c.dayIsToday,u.isToday&&"ms-CalendarDay-dayIsToday"),onKeyDown:m?void 0:function(e){var t,o,n,r;e.which===Tn.enter?null==b||b(u.originalDate):(t=e,o=u.originalDate,r=void 0,e=1,t.which===Tn.up?(r=_p(o,-1),e=-1):t.which===Tn.down?r=_p(o,1):t.which===Mn(Tn.left)?(r=Cp(o,-1),e=-1):t.which===Mn(Tn.right)&&(r=Cp(o,1)),r&&((n=Up(r={initialDate:o,targetDate:r,direction:e,restrictedDates:y,minDate:C,maxDate:_}))||(r.direction=-e,n=Up(r)),l&&n&&l.slice(1,l.length-1).some(function(e){return e.some(function(e){return Ep(e.originalDate,n)})})||n&&(S(n,!0),t.preventDefault())))},"aria-label":t,id:p?i:void 0,"aria-current":u.isSelected?"date":void 0,"aria-selected":u.isInBounds?u.isSelected:void 0,"data-is-focusable":!m&&(n||!!u.isInBounds||void 0),ref:p?s:void 0,disabled:!n&&!u.isInBounds,"aria-disabled":!m&&!u.isInBounds,type:"button",role:"gridcell","aria-readonly":!0,tabIndex:p?0:void 0},mt.createElement("span",{"aria-hidden":"true"},o.formatDay(u.originalDate)),u.isMarked&&mt.createElement("div",{"aria-hidden":"true",className:c.dayMarker})))},Jp=Fn();function $p(c,u,d){return mt.useMemo(function(){for(var e,o=function(e){for(var t=e.selectedDate,o=e.dateRangeType,n=e.firstDayOfWeek,r=e.today,i=e.minDate,s=e.maxDate,a=e.weeksToShow,l=e.workWeekDays,c=e.daysToSelectInDayView,u=e.restrictedDates,d=e.markedDays,p={minDate:i,maxDate:s,restrictedDates:u},h=r||new Date,m=e.navigatedDate||h,g=a&&a<=4?new Date(m.getFullYear(),m.getMonth(),m.getDate()):new Date(m.getFullYear(),m.getMonth(),1),f=[];g.getDay()!==n;)g.setDate(g.getDate()-1);g=Cp(g,-bp);var v=!1,e=(e=o,!(o=l)||e!==fp.WorkWeek||function(e,t){for(var o=new Set(e),n=0,r=0,i=e;r<i.length;r++){var s=(i[r]+1)%7;o.has(s)&&t!==s||n++}return n<2}(o,n)&&0!==o.length?e:fp.Week),b=[];t&&(b=Rp(t,e,n,l,c),b=qp(b,i,s));for(var y=!0,C=0;y;C++){for(var _=[],v=!0,S=0;S<bp;S++)!function(){var t=new Date(g.getTime()),e={key:g.toString(),date:g.getDate().toString(),originalDate:t,isInMonth:g.getMonth()===m.getMonth(),isToday:Ep(h,g),isSelected:Mp(g,b),isInBounds:!Xp(g,p),isMarked:(null==d?void 0:d.some(function(e){return Ep(t,e)}))||!1};_.push(e),e.isInMonth&&(v=!1),g.setDate(g.getDate()+1)}();y=a?C<a+1:!v||0===C,f.push(_)}return f}(c),t=o[1][0].originalDate,n=o[o.length-1][6].originalDate,r=(null===(e=c.getMarkedDays)||void 0===e?void 0:e.call(c,t,n))||[],i=[],s=0;s<o.length;s++){for(var a=[],l=0;l<bp;l++)!function(e){var t=o[s][e],e=pt(pt({onSelected:function(){return u(t.originalDate)},setRef:d(t.key)},t),{isMarked:t.isMarked||(null==r?void 0:r.some(function(e){return Ep(t.originalDate,e)}))});a.push(e)}(l);i.push(a)}return i},[c])}var eh,V=function(a){var l,o,n=mt.useRef(null),e=tu(),t=[o=mt.useRef({}),function(t){return function(e){null===e?delete o.current[t]:o.current[t]=e}}],r=t[0],i=$p(a,function(e){var t=a.firstDayOfWeek,o=a.minDate,n=a.maxDate,r=a.workWeekDays,i=a.daysToSelectInDayView,s={minDate:o,maxDate:n,restrictedDates:a.restrictedDates},i=Rp(e,v,t,r,i),i=(i=qp(i,o,n)).filter(function(e){return!Xp(e,s)});null===(n=a.onSelectDate)||void 0===n||n.call(a,e,i),null===(i=a.onNavigateDate)||void 0===i||i.call(a,e,!0)},t[1]),s=(b=Bc((y=i)[0][0].originalDate))&&b.getTime()!==y[0][0].originalDate.getTime()?!(b<=y[0][0].originalDate):void 0,c=(l=a,[function(c,e){var u={},d=e.slice(1,e.length-1);return d.forEach(function(e,l){e.forEach(function(e,t){var o,n=d[l-1]&&d[l-1][t]&&h(d[l-1][t].originalDate,e.originalDate,d[l-1][t].isSelected,e.isSelected),r=d[l+1]&&d[l+1][t]&&h(d[l+1][t].originalDate,e.originalDate,d[l+1][t].isSelected,e.isSelected),i=d[l][t-1]&&h(d[l][t-1].originalDate,e.originalDate,d[l][t-1].isSelected,e.isSelected),s=d[l][t+1]&&h(d[l][t+1].originalDate,e.originalDate,d[l][t+1].isSelected,e.isSelected),a=[];a.push(p(c,n,r,i,s)),a.push((o=c,e=r,r=i,i=s,s=[],n||s.push(o.datesAbove),e||s.push(o.datesBelow),r||s.push(Pn()?o.datesRight:o.datesLeft),i||s.push(Pn()?o.datesLeft:o.datesRight),s.join(" "))),u[l+"_"+t]=a.join(" ")})}),u},p]),u=c[0],d=c[1];function p(e,t,o,n,r){var i=[],s=!t&&!r,a=!o&&!n,r=!o&&!r;return t||n||i.push(Pn()?e.topRightCornerDate:e.topLeftCornerDate),s&&i.push(Pn()?e.topLeftCornerDate:e.topRightCornerDate),a&&i.push(Pn()?e.bottomRightCornerDate:e.bottomLeftCornerDate),r&&i.push(Pn()?e.bottomLeftCornerDate:e.bottomRightCornerDate),i.join(" ")}function h(e,t,o,n){var r=l.dateRangeType,i=l.firstDayOfWeek,s=l.workWeekDays,s=Rp(e,r===fp.WorkWeek?fp.Week:r,i,s);return o===n&&(!(!o||!n)||0<s.filter(function(e){return e.getTime()===t.getTime()}).length)}mt.useImperativeHandle(a.componentRef,function(){return{focus:function(){var e,t;null===(t=null===(e=n.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}},[]);var m=a.styles,g=a.theme,f=a.className,v=a.dateRangeType,t=a.showWeekNumbers,b=a.labelledBy,y=a.lightenDaysOutsideNavigatedMonth,c=a.animationDirection,C=Jp(m,{theme:g,className:f,dateRangeType:v,showWeekNumbers:t,lightenDaysOutsideNavigatedMonth:void 0===y||y,animationDirection:c,animateBackwards:s}),u=u(C,i),_={weeks:i,navigatedDayRef:n,calculateRoundedStyles:d,activeDescendantId:e,classNames:C,weekCorners:u,getDayInfosInRangeOfDay:function(e){var t=function(e,t){if(t&&e===fp.WorkWeek){for(var o=t.slice().sort(),n=!0,r=1;r<o.length;r++)if(o[r]!==o[r-1]+1){n=!1;break}if(!n||0===t.length)return fp.Week}return e}(a.dateRangeType,a.workWeekDays),o=Rp(e.originalDate,t,a.firstDayOfWeek,a.workWeekDays,a.daysToSelectInDayView).map(function(e){return e.getTime()});return i.reduce(function(e,t){return e.concat(t.filter(function(e){return-1!==o.indexOf(e.originalDate.getTime())}))},[])},getRefsFromDayInfos:function(e){return e.map(function(e){return r.current[e.key]})}};return mt.createElement(Ys,{className:C.wrapper},mt.createElement("table",{className:C.table,"aria-readonly":"true","aria-multiselectable":"false","aria-labelledby":b,"aria-activedescendant":e,role:"grid"},mt.createElement("tbody",null,mt.createElement(Gp,pt({},a,{classNames:C,weeks:i})),mt.createElement(jp,pt({},a,_,{week:i[0],weekIndex:-1,rowClassName:C.firstTransitionWeek,ariaRole:"presentation",ariaHidden:!0})),i.slice(1,i.length-1).map(function(e,t){return mt.createElement(jp,pt({},a,_,{key:t,week:e,weekIndex:t,rowClassName:C.weekRow}))}),mt.createElement(jp,pt({},a,_,{week:i[i.length-1],weekIndex:-2,rowClassName:C.lastTransitionWeek,ariaRole:"presentation",ariaHidden:!0})))))};V.displayName="CalendarDayGridBase",(K=eh=eh||{})[K.Horizontal=0]="Horizontal",K[K.Vertical=1]="Vertical";var th={hoverStyle:"ms-CalendarDay-hoverStyle",pressedStyle:"ms-CalendarDay-pressedStyle",dayIsTodayStyle:"ms-CalendarDay-dayIsToday",daySelectedStyle:"ms-CalendarDay-daySelected"},oh=O({"100%":{width:0,height:0,overflow:"hidden"},"99.9%":{width:"100%",height:28,overflow:"visible"},"0%":{width:"100%",height:28,overflow:"visible"}}),nh=In(V,function(e){var t=e.theme,o=e.dateRangeType,n=e.showWeekNumbers,r=e.lightenDaysOutsideNavigatedMonth,i=e.animateBackwards,s=e.animationDirection,a=t.palette,l=zo(th,t),c={};void 0!==i&&(c=s===eh.Horizontal?i?Ie.slideRightIn20:Ie.slideLeftIn20:i?Ie.slideDownIn20:Ie.slideUpIn20);var u={},e={};void 0!==i&&s!==eh.Horizontal&&(u=i?{animationName:""}:Ie.slideUpOut20,e=i?Ie.slideDownOut20:{animationName:""});s={selectors:{"&, &:disabled, & button":{color:a.neutralTertiaryAlt,pointerEvents:"none"}}};return{wrapper:{paddingBottom:10},table:[{textAlign:"center",borderCollapse:"collapse",borderSpacing:"0",tableLayout:"fixed",fontSize:"inherit",marginTop:4,width:196,position:"relative",paddingBottom:10},n&&{width:226}],dayCell:{margin:0,padding:0,width:28,height:28,lineHeight:28,fontSize:Be.small,fontWeight:Fe.regular,color:a.neutralPrimary,cursor:"pointer",position:"relative",selectors:((i={})[Yt]=pt({color:"WindowText",backgroundColor:"Window",zIndex:0},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i["&."+l.hoverStyle]={backgroundColor:a.neutralLighter,selectors:((n={})[Yt]={zIndex:3,backgroundColor:"Window",outline:"1px solid Highlight"},n)},i["&."+l.pressedStyle]={backgroundColor:a.neutralLight,selectors:((n={})[Yt]={borderColor:"Highlight",color:"Highlight",backgroundColor:"Window"},n)},i["&."+l.pressedStyle+"."+l.hoverStyle]={selectors:((n={})[Yt]={backgroundColor:"Window",outline:"1px solid Highlight"},n)},i)},daySelected:[o!==fp.Month&&{backgroundColor:a.neutralLight+"!important",selectors:((i={"&:after":{content:'""',position:"absolute",top:0,bottom:0,left:0,right:0}})["&:hover, &."+l.hoverStyle+", &."+l.pressedStyle]=((o={backgroundColor:a.neutralLight+"!important"})[Yt]={color:"HighlightText!important",background:"Highlight!important"},o),i[Yt]=pt({background:"Highlight!important",color:"HighlightText!important",borderColor:"Highlight!important"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}],weekRow:c,weekDayLabelCell:Ie.fadeIn200,weekNumberCell:{margin:0,padding:0,borderRight:"1px solid",borderColor:a.neutralLight,backgroundColor:a.neutralLighterAlt,color:a.neutralSecondary,boxSizing:"border-box",width:28,height:28,fontWeight:Fe.regular,fontSize:Be.small},dayOutsideBounds:s,dayOutsideNavigatedMonth:r&&{color:a.neutralSecondary,fontWeight:Fe.regular},dayButton:[bo(t,{inset:-3}),{width:24,height:24,lineHeight:24,fontSize:Be.small,fontWeight:"inherit",borderRadius:2,border:"none",padding:0,color:"inherit",backgroundColor:"transparent",cursor:"pointer",overflow:"visible",selectors:{span:{height:"inherit",lineHeight:"inherit"}}}],dayIsToday:{backgroundColor:a.themePrimary+"!important",borderRadius:"100%",color:a.white+"!important",fontWeight:Fe.semibold+"!important",selectors:((t={})[Yt]=pt({background:"WindowText!important",color:"Window!important",borderColor:"WindowText!important"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},firstTransitionWeek:pt(pt({position:"absolute",opacity:0,width:0,height:0,overflow:"hidden"},u),{animationName:u.animationName+","+oh}),lastTransitionWeek:pt(pt({position:"absolute",opacity:0,width:0,height:0,overflow:"hidden",marginTop:-28},e),{animationName:e.animationName+","+oh}),dayMarker:{width:4,height:4,backgroundColor:a.neutralSecondary,borderRadius:"100%",bottom:1,left:0,right:0,position:"absolute",margin:"auto",selectors:((u={})["."+l.dayIsTodayStyle+" &"]={backgroundColor:a.white,selectors:((e={})[Yt]={backgroundColor:"Window"},e)},u["."+l.daySelectedStyle+" &"]={selectors:((l={})[Yt]={backgroundColor:"HighlightText"},l)},u[Yt]=pt({backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},topRightCornerDate:{borderTopRightRadius:"2px"},topLeftCornerDate:{borderTopLeftRadius:"2px"},bottomRightCornerDate:{borderBottomRightRadius:"2px"},bottomLeftCornerDate:{borderBottomLeftRadius:"2px"},datesAbove:{"&:after":{borderTop:"1px solid "+a.neutralSecondary}},datesBelow:{"&:after":{borderBottom:"1px solid "+a.neutralSecondary}},datesLeft:{"&:after":{borderLeft:"1px solid "+a.neutralSecondary}},datesRight:{"&:after":{borderRight:"1px solid "+a.neutralSecondary}}}},void 0,{scope:"CalendarDayGrid"}),rh=Fn(),G=function(e){var o=mt.useRef(null);mt.useImperativeHandle(e.componentRef,function(){return{focus:function(){var e,t;null===(t=null===(e=o.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}},[]);var t=e.strings,n=e.navigatedDate,r=e.dateTimeFormatter,i=e.styles,s=e.theme,a=e.className,l=e.onHeaderSelect,c=e.showSixWeeksByDefault,u=e.minDate,d=e.maxDate,p=e.restrictedDates,h=e.onNavigateDate,m=e.showWeekNumbers,g=e.dateRangeType,f=e.animationDirection,v=tu(),s=rh(i,{theme:s,className:a,headerIsClickable:!!l,showWeekNumbers:m,animationDirection:f}),a=r.formatMonthYear(n,t),m=l?"button":"div",f=t.yearPickerHeaderAriaLabel?Kp(t.yearPickerHeaderAriaLabel,a):a;return mt.createElement("div",{className:s.root},mt.createElement("div",{className:s.header},mt.createElement(m,{"aria-live":"polite","aria-atomic":"true","aria-label":l?f:void 0,key:a,className:s.monthAndYear,onClick:l,"data-is-focusable":!!l,tabIndex:l?0:-1,onKeyDown:ah(l),type:"button"},mt.createElement("span",{id:v},a)),mt.createElement(ih,pt({},e,{classNames:s}))),mt.createElement(nh,pt({},e,{styles:i,componentRef:o,strings:t,navigatedDate:n,weeksToShow:c?6:void 0,dateTimeFormatter:r,minDate:u,maxDate:d,restrictedDates:p,onNavigateDate:h,labelledBy:v,dateRangeType:g})))};G.displayName="CalendarDayBase";var ih=function(e){function t(){d(Sp(i,1),!1)}function o(){d(Sp(i,-1),!1)}var n=e.minDate,r=e.maxDate,i=e.navigatedDate,s=e.allFocusable,a=e.strings,l=e.navigationIcons,c=e.showCloseButton,u=e.classNames,d=e.onNavigateDate,p=e.onDismiss,h=l.leftNavigation,m=l.rightNavigation,e=l.closeIcon,l=!n||Pp(n,kp(i))<0,n=!r||Pp(wp(i),r)<0;return mt.createElement("div",{className:u.monthComponents},mt.createElement("button",{className:Er(u.headerIconButton,((r={})[u.disabledStyle]=!l,r)),tabIndex:l?void 0:s?0:-1,"aria-disabled":!l,onClick:l?o:void 0,onKeyDown:l?ah(o):void 0,title:a.prevMonthAriaLabel?a.prevMonthAriaLabel+" "+a.months[Sp(i,-1).getMonth()]:void 0,type:"button"},mt.createElement(Wr,{iconName:h})),mt.createElement("button",{className:Er(u.headerIconButton,((h={})[u.disabledStyle]=!n,h)),tabIndex:n?void 0:s?0:-1,"aria-disabled":!n,onClick:n?t:void 0,onKeyDown:n?ah(t):void 0,title:a.nextMonthAriaLabel?a.nextMonthAriaLabel+" "+a.months[Sp(i,1).getMonth()]:void 0,type:"button"},mt.createElement(Wr,{iconName:m})),c&&mt.createElement("button",{className:Er(u.headerIconButton),onClick:p,onKeyDown:ah(p),title:a.closeButtonAriaLabel,type:"button"},mt.createElement(Wr,{iconName:e})))};ih.displayName="CalendarDayNavigationButtons";function sh(e){var t=e.styles,o=e.theme,n=e.className,r=e.highlightCurrentYear,i=e.highlightSelectedYear,s=e.year,a=e.selected,l=e.disabled,c=e.componentRef,u=e.onSelectYear,e=e.onRenderYear,d=mt.useRef(null);return mt.useImperativeHandle(c,function(){return{focus:function(){var e,t;null===(t=null===(e=d.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}},[]),r=ph(t,{theme:o,className:n,highlightCurrent:r,highlightSelected:i}),mt.createElement("button",{className:Er(r.itemButton,((i={})[r.selected]=a,i[r.disabled]=l,i)),type:"button",role:"gridcell",onClick:l?void 0:function(){null==u||u(s)},onKeyDown:l?void 0:function(e){e.which===Tn.enter&&(null==u||u(s))},disabled:l,"aria-selected":a,ref:d,"aria-readonly":!0},null!==(e=null==e?void 0:e(s))&&void 0!==e?e:s)}var ah=function(t){return function(e){e.which===Tn.enter&&(null==t||t())}},lh=In(G,function(e){var t=e.className,o=e.theme,n=e.headerIsClickable,r=e.showWeekNumbers,i=o.palette,e={selectors:{"&, &:disabled, & button":{color:i.neutralTertiaryAlt,pointerEvents:"none"}}};return{root:[Uo,{width:196,padding:12,boxSizing:"content-box"},r&&{width:226},t],header:{position:"relative",display:"inline-flex",height:28,lineHeight:44,width:"100%"},monthAndYear:[bo(o,{inset:1}),pt(pt({},Ie.fadeIn200),{alignItems:"center",fontSize:Be.medium,fontFamily:"inherit",color:i.neutralPrimary,display:"inline-block",flexGrow:1,fontWeight:Fe.semibold,padding:"0 4px 0 10px",border:"none",backgroundColor:"transparent",borderRadius:2,lineHeight:28,overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"}),n&&{selectors:{"&:hover":{cursor:"pointer",background:i.neutralLight,color:i.black}}}],monthComponents:{display:"inline-flex",alignSelf:"flex-end"},headerIconButton:[bo(o,{inset:-1}),{width:28,height:28,display:"block",textAlign:"center",lineHeight:28,fontSize:Be.small,fontFamily:"inherit",color:i.neutralPrimary,borderRadius:2,position:"relative",backgroundColor:"transparent",border:"none",padding:0,overflow:"visible",selectors:{"&:hover":{color:i.neutralDark,backgroundColor:i.neutralLight,cursor:"pointer",outline:"1px solid transparent"}}}],disabledStyle:e}},void 0,{scope:"CalendarDay"}),U=function(e){var t=e.className,o=e.theme,n=e.hasHeaderClickCallback,r=e.highlightCurrent,i=e.highlightSelected,s=e.animateBackwards,a=e.animationDirection,l=o.palette,e={};void 0!==s&&(e=a===eh.Horizontal?s?Ie.slideRightIn20:Ie.slideLeftIn20:s?Ie.slideDownIn20:Ie.slideUpIn20);s=void 0!==s?Ie.fadeIn200:{};return{root:[Uo,{width:196,padding:12,boxSizing:"content-box",overflow:"hidden"},t],headerContainer:{display:"flex"},currentItemButton:[bo(o,{inset:-1}),pt(pt({},s),{fontSize:Be.medium,fontWeight:Fe.semibold,fontFamily:"inherit",textAlign:"left",backgroundColor:"transparent",flexGrow:1,padding:"0 4px 0 10px",border:"none",overflow:"visible"}),n&&{selectors:{"&:hover, &:active":{cursor:n?"pointer":"default",color:l.neutralDark,outline:"1px solid transparent",backgroundColor:l.neutralLight}}}],navigationButtonsContainer:{display:"flex",alignItems:"center"},navigationButton:[bo(o,{inset:-1}),{fontFamily:"inherit",width:28,minWidth:28,height:28,minHeight:28,display:"block",textAlign:"center",lineHeight:28,fontSize:Be.small,color:l.neutralPrimary,borderRadius:2,position:"relative",backgroundColor:"transparent",border:"none",padding:0,overflow:"visible",selectors:{"&:hover":{color:l.neutralDark,cursor:"pointer",outline:"1px solid transparent",backgroundColor:l.neutralLight}}}],gridContainer:{marginTop:4},buttonRow:pt(pt({},e),{marginBottom:16,selectors:{"&:nth-child(n + 3)":{marginBottom:0}}}),itemButton:[bo(o,{inset:-1}),{width:40,height:40,minWidth:40,minHeight:40,lineHeight:40,fontSize:Be.small,fontFamily:"inherit",padding:0,margin:"0 12px 0 0",color:l.neutralPrimary,backgroundColor:"transparent",border:"none",borderRadius:2,overflow:"visible",selectors:{"&:nth-child(4n + 4)":{marginRight:0},"&:nth-child(n + 9)":{marginBottom:0},"& div":{fontWeight:Fe.regular},"&:hover":{color:l.neutralDark,backgroundColor:l.neutralLight,cursor:"pointer",outline:"1px solid transparent",selectors:((o={})[Yt]=pt({background:"Window",color:"WindowText",outline:"1px solid Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},"&:active":{backgroundColor:l.themeLight,selectors:((o={})[Yt]=pt({background:"Window",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)}}}],current:r?{color:l.white,backgroundColor:l.themePrimary,selectors:((r={"& div":{fontWeight:Fe.semibold},"&:hover":{backgroundColor:l.themePrimary,selectors:((r={})[Yt]=pt({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}})[Yt]=pt({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}:{},selected:i?{color:l.neutralPrimary,backgroundColor:l.themeLight,fontWeight:Fe.semibold,selectors:((i={"& div":{fontWeight:Fe.semibold},"&:hover, &:active":{backgroundColor:l.themeLight,selectors:((i={})[Yt]=pt({color:"Window",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}})[Yt]=pt({background:"Highlight",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}:{},disabled:{selectors:{"&, &:disabled, & button":{color:l.neutralTertiaryAlt,pointerEvents:"none"}}}}},xe=U,ch=q,uh=ch,dh={leftNavigation:"Up",rightNavigation:"Down",closeIcon:"CalculatorMultiply"},ph=Fn(),hh={prevRangeAriaLabel:void 0,nextRangeAriaLabel:void 0};sh.displayName="CalendarYearGridCell";function mh(o){var e=o.styles,t=o.theme,n=o.className,r=o.fromYear,i=o.toYear,s=o.animationDirection,a=o.animateBackwards,l=o.minYear,c=o.maxYear,u=o.onSelectYear,d=o.selectedYear,p=o.componentRef,h=mt.useRef(null),m=mt.useRef(null);mt.useImperativeHandle(p,function(){return{focus:function(){var e,t;null===(t=null===(e=h.current||m.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}},[]);for(var g,f,v,b,y=ph(e,{theme:t,className:n,animateBackwards:a,animationDirection:s}),s=(s=function(e){var t;return null!==(t=null===(t=o.onRenderYear)||void 0===t?void 0:t.call(o,e))&&void 0!==t?t:e})(r)+" - "+s(i),C=r,_=[],S=0;S<(i-r+1)/4;S++){_.push([]);for(var x=0;x<4;x++)_[S].push((f=(g=C)===d,v=void 0!==l&&g<l||void 0!==c&&c<g,b=g===(new Date).getFullYear(),mt.createElement(sh,pt({},o,{key:g,year:g,selected:f,current:b,disabled:v,onSelectYear:u,componentRef:f?h:b?m:void 0,theme:t})))),C++}return mt.createElement(Ys,null,mt.createElement("div",{className:y.gridContainer,role:"grid","aria-label":s},_.map(function(e,t){return mt.createElement("div",{key:"yearPickerRow_"+t+"_"+r,role:"row",className:y.buttonRow},e)})))}var gh;mh.displayName="CalendarYearGrid",(Y=gh=gh||{})[Y.Previous=0]="Previous",Y[Y.Next=1]="Next";function fh(e){function t(){a===gh.Previous?null==l||l():null==c||c()}var o=e.styles,n=e.theme,r=e.className,i=void 0===(p=e.navigationIcons)?dh:p,s=void 0===(h=e.strings)?hh:h,a=e.direction,l=e.onSelectPrev,c=e.onSelectNext,u=e.fromYear,d=e.toYear,p=e.maxYear,h=e.minYear,n=ph(o,{theme:n,className:r}),r=a===gh.Previous?s.prevRangeAriaLabel:s.nextRangeAriaLabel,s=a===gh.Previous?-12:12,s=r?"string"==typeof r?r:r({fromYear:u+s,toYear:d+s}):void 0,h=a===gh.Previous?void 0!==h&&u<h:void 0!==p&&e.fromYear+12>p,e=Pn()?a===gh.Next:a===gh.Previous;return mt.createElement("button",{className:Er(n.navigationButton,((p={})[n.disabled]=h,p)),onClick:h?void 0:t,onKeyDown:h?void 0:function(e){e.which===Tn.enter&&t()},type:"button",title:s,disabled:h},mt.createElement(Wr,{iconName:e?i.leftNavigation:i.rightNavigation}))}fh.displayName="CalendarYearNavArrow";function vh(e){var t=e.styles,o=e.theme,n=e.className,n=ph(t,{theme:o,className:n});return mt.createElement("div",{className:n.navigationButtonsContainer},mt.createElement(fh,pt({},e,{direction:gh.Previous})),mt.createElement(fh,pt({},e,{direction:gh.Next})))}vh.displayName="CalendarYearNav";function bh(o){function t(){var e;null===(e=o.onHeaderSelect)||void 0===e||e.call(o,!0)}var e=o.styles,n=o.theme,r=o.className,i=o.fromYear,s=o.toYear,a=void 0===(u=o.strings)?hh:u,l=o.animateBackwards,c=o.animationDirection,u=function(e){var t;return null!==(t=null===(t=o.onRenderYear)||void 0===t?void 0:t.call(o,e))&&void 0!==t?t:e},l=ph(e,{theme:n,className:r,hasHeaderClickCallback:!!o.onHeaderSelect,animateBackwards:l,animationDirection:c});if(o.onHeaderSelect){c=a.rangeAriaLabel,a=a.headerAriaLabelFormatString,c=c?"string"==typeof c?c:c(o):void 0,c=a?Kp(a,c):c;return mt.createElement("button",{className:l.currentItemButton,onClick:t,onKeyDown:function(e){e.which!==Tn.enter&&e.which!==Tn.space||t()},"aria-label":c,role:"button",type:"button","aria-atomic":!0,"aria-live":"polite"},u(i)," - ",u(s))}return mt.createElement("div",{className:l.current},u(i)," - ",u(s))}bh.displayName="CalendarYearTitle";function yh(e){var t=e.styles,o=e.theme,n=e.className,r=e.animateBackwards,i=e.animationDirection,s=e.onRenderTitle,i=ph(t,{theme:o,className:n,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:r,animationDirection:i});return mt.createElement("div",{className:i.headerContainer},null!==(s=null==s?void 0:s(e))&&void 0!==s?s:mt.createElement(bh,pt({},e)),mt.createElement(vh,pt({},e)))}var Ch;yh.displayName="CalendarYearHeader",(ke=Ch=Ch||{})[ke.Previous=0]="Previous",ke[ke.Next=1]="Next";K=function(e){var t,o,n,r,i,s=(r=e.selectedYear,i=e.navigatedYear,r=r||i||(new Date).getFullYear(),i=10*Math.floor(r/10),(r=Bc(i))&&r!==i?i<r:void 0),a=(t=e.selectedYear,o=e.navigatedYear,d=mt.useReducer(function(e,t){return e+(t===Ch.Next?12:-12)},void 0,function(){var e=t||o||(new Date).getFullYear();return 10*Math.floor(e/10)}),p=d[0],n=d[1],[p,p+12-1,function(){return n(Ch.Next)},function(){return n(Ch.Previous)}]),l=a[0],c=a[1],i=a[2],r=a[3],u=mt.useRef(null);mt.useImperativeHandle(e.componentRef,function(){return{focus:function(){var e,t;null===(t=null===(e=u.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}});var d=e.styles,p=e.theme,a=e.className,a=ph(d,{theme:p,className:a});return mt.createElement("div",{className:a.root},mt.createElement(yh,pt({},e,{fromYear:l,toYear:c,onSelectPrev:r,onSelectNext:i,animateBackwards:s})),mt.createElement(mh,pt({},e,{fromYear:l,toYear:c,animateBackwards:s,componentRef:u})))};K.displayName="CalendarYearBase";var _h=In(K,U,void 0,{scope:"CalendarYear"}),Sh=Fn(),xh={styles:xe,strings:void 0,navigationIcons:dh,dateTimeFormatter:W,yearPickerHidden:!1},V=function(e){function p(o){return function(){return e=o,null===(t=h.onHeaderSelect)||void 0===t||t.call(h),void H(Tp(S,e),!0);var e,t}}var t,o,n,r,i,s,a,l,c,u,d,h=Hn(xh,e),m=(n=h.componentRef,r=mt.useRef(null),i=mt.useRef(null),s=mt.useRef(!1),a=mt.useCallback(function(){i.current?i.current.focus():r.current&&r.current.focus()},[]),mt.useImperativeHandle(n,function(){return{focus:a}},[a]),mt.useEffect(function(){s.current&&(a(),s.current=!1)}),[r,i,function(){s.current=!0}]),g=m[0],f=m[1],v=m[2],b=mt.useState(!1),y=b[0],C=b[1],_=(t=h.navigatedDate.getFullYear(),void 0===(o=Bc(t))||o===t?void 0:t<o),S=h.navigatedDate,x=h.selectedDate,k=h.strings,w=h.today,I=void 0===w?new Date:w,D=h.navigationIcons,T=h.dateTimeFormatter,E=h.minDate,P=h.maxDate,R=h.theme,M=h.styles,N=h.className,B=h.allFocusable,F=h.highlightCurrentMonth,A=h.highlightSelectedMonth,e=h.animationDirection,L=h.yearPickerHidden,H=h.onNavigateDate,n=function(){H(xp(S,1),!1)},m=function(){H(xp(S,-1),!1)},b=function(){var e;L?null===(e=h.onHeaderSelect)||void 0===e||e.call(h):(v(),C(!0))},t=D.leftNavigation,o=D.rightNavigation,O=T,w=!E||Pp(E,Ip(S))<0,T=!P||Pp(Dp(S),P)<0,z=Sh(M,{theme:R,className:N,hasHeaderClickCallback:!!h.onHeaderSelect||!L,highlightCurrent:F,highlightSelected:A,animateBackwards:_,animationDirection:e});if(y){y=(l=(_=h).strings,c=_.navigatedDate,u=_.dateTimeFormatter,[d=function(e){if(u){var t=new Date(c.getTime());return t.setFullYear(e),u.formatYear(t)}return String(e)},{rangeAriaLabel:W,prevRangeAriaLabel:function(e){return l.prevYearRangeAriaLabel?l.prevYearRangeAriaLabel+" "+W(e):""},nextRangeAriaLabel:function(e){return l.nextYearRangeAriaLabel?l.nextYearRangeAriaLabel+" "+W(e):""},headerAriaLabelFormatString:l.yearPickerHeaderAriaLabel}]),_=y[0],y=y[1];return mt.createElement(_h,{key:"calendarYear",minYear:E?E.getFullYear():void 0,maxYear:P?P.getFullYear():void 0,onSelectYear:function(e){var t;v(),S.getFullYear()!==e&&((t=new Date(S.getTime())).setFullYear(e),P&&P<t?t=Tp(t,P.getMonth()):E&&t<E&&(t=Tp(t,E.getMonth())),H(t,!0)),C(!1)},navigationIcons:D,onHeaderSelect:function(e){v(),C(!1)},selectedYear:x?x.getFullYear():S?S.getFullYear():void 0,onRenderYear:_,strings:y,componentRef:f,styles:M,highlightCurrentYear:F,highlightSelectedYear:A,animationDirection:e})}function W(e){return d(e.fromYear)+" - "+d(e.toYear)}for(var V=[],K=0;K<k.shortMonths.length/4;K++)V.push(K);M=O.formatYear(S),e=k.monthPickerHeaderAriaLabel?Kp(k.monthPickerHeaderAriaLabel,M):M;return mt.createElement("div",{className:z.root},mt.createElement("div",{className:z.headerContainer},mt.createElement("button",{className:z.currentItemButton,onClick:b,onKeyDown:kh(b),"aria-label":e,"data-is-focusable":!!h.onHeaderSelect||!L,tabIndex:h.onHeaderSelect||!L?0:-1,type:"button","aria-atomic":!0,"aria-live":"polite"},M),mt.createElement("div",{className:z.navigationButtonsContainer},mt.createElement("button",{className:Er(z.navigationButton,((e={})[z.disabled]=!w,e)),"aria-disabled":!w,tabIndex:w?void 0:B?0:-1,onClick:w?m:void 0,onKeyDown:w?kh(m):void 0,title:k.prevYearAriaLabel?k.prevYearAriaLabel+" "+O.formatYear(xp(S,-1)):void 0,type:"button"},mt.createElement(Wr,{iconName:Pn()?o:t})),mt.createElement("button",{className:Er(z.navigationButton,((m={})[z.disabled]=!T,m)),"aria-disabled":!T,tabIndex:T?void 0:B?0:-1,onClick:T?n:void 0,onKeyDown:T?kh(n):void 0,title:k.nextYearAriaLabel?k.nextYearAriaLabel+" "+O.formatYear(xp(S,1)):void 0,type:"button"},mt.createElement(Wr,{iconName:Pn()?t:o})))),mt.createElement(Ys,null,mt.createElement("div",{className:z.gridContainer,role:"grid","aria-label":M},V.map(function(d){var e=k.shortMonths.slice(4*d,4*(d+1));return mt.createElement("div",{key:"monthRow_"+d+S.getFullYear(),role:"row",className:z.buttonRow},e.map(function(e,t){var o,n,r,i=4*d+t,s=Tp(S,i),a=S.getMonth()===i,l=x.getMonth()===i,c=x.getFullYear()===S.getFullYear(),u=(!E||Pp(E,wp(s))<1)&&(!P||Pp(kp(s),P)<1);return mt.createElement("button",{ref:a?g:void 0,role:"gridcell",className:Er(z.itemButton,((o={})[z.current]=F&&(n=i,r=S.getFullYear(),(t=I).getFullYear()===r&&t.getMonth()===n),o[z.selected]=A&&l&&c,o[z.disabled]=!u,o)),disabled:!B&&!u,key:i,onClick:u?p(i):void 0,onKeyDown:u?kh(p(i)):void 0,"aria-label":O.formatMonth(s,k),"aria-selected":a,"data-is-focusable":!!u||void 0,type:"button","aria-readonly":!0},e)}))}))))};function kh(t){return function(e){e.which===Tn.enter&&t()}}V.displayName="CalendarMonthBase";var wh=In(V,xe,void 0,{scope:"CalendarMonth"});function Ih(e,t,o){var n=mt.useState(t),t=n[0],r=n[1],i=bl(void 0!==e),s=i?e:t,a=mt.useRef(s),l=mt.useRef(o);mt.useEffect(function(){a.current=s,l.current=o});t=bl(function(){return function(e,t){e="function"==typeof e?e(a.current):e;l.current&&l.current(t,e),i||r(e)}});return[s,t]}var Dh=Fn(),G=[hp.Monday,hp.Tuesday,hp.Wednesday,hp.Thursday,hp.Friday],Th={isMonthPickerVisible:!0,isDayPickerVisible:!0,showMonthPickerAsOverlay:!1,today:new Date,firstDayOfWeek:hp.Sunday,dateRangeType:fp.Day,showGoToToday:!0,strings:q,highlightCurrentMonth:!1,highlightSelectedMonth:!1,navigationIcons:dh,showWeekNumbers:!1,firstWeekOfYear:gp.FirstDay,dateTimeFormatter:W,showSixWeeksByDefault:!1,workWeekDays:G,showCloseButton:!1,allFocusable:!1},Y=mt.forwardRef(function(e,t){function o(){var t,e=Z;return Z&&J&&(e=M.getFullYear()!==J.getFullYear()||M.getMonth()!==J.getMonth()||N.getFullYear()!==J.getFullYear()||N.getMonth()!==J.getMonth()),Z&&mt.createElement("button",{className:Er("js-goToday",ee.goTodayButton),onClick:n,onKeyDown:(t=n,function(e){switch(e.which){case Tn.enter:case Tn.space:t()}}),type:"button",disabled:!e},Y.goToToday)}function n(){F(J),G()}var r,i,s,a,l,c,u,d,p,h,m,g,f,v,b,y,C,_,S,x,k,w,I,D,T,E=Hn(Th,e),P=(y=(b=E).value,C=b.today,_=void 0===C?new Date:C,S=b.onSelectDate,x=Ih(y,_),k=x[0],w=void 0===k?_:k,I=x[1],C=mt.useState(y),b=C[0],k=void 0===b?_:b,D=C[1],x=mt.useState(y),b=x[0],C=void 0===b?_:b,T=x[1],b=mt.useState(y),x=void 0===(x=b[0])?_:x,b=b[1],y&&x.valueOf()!==y.valueOf()&&(D(y),T(y),b(y)),[w,k,C,function(e,t){T(e),D(e),I(e),null==S||S(e,t)},function(e){T(e),D(e)},function(e){T(e)}]),R=P[0],M=P[1],N=P[2],B=P[3],F=P[4],A=P[5],L=(p=Ih(Eh(d=E)?void 0:d.isMonthPickerVisible,!1),h=p[0],m=void 0===h||h,g=p[1],p=Ih(Eh(d)?void 0:d.isDayPickerVisible,!0),d=p[0],f=void 0===d||d,v=p[1],[m,f,function(){g(!m),v(!f)}]),H=L[0],O=L[1],z=L[2],W=(r=O,i=H,s=E.componentRef,a=mt.useRef(null),l=mt.useRef(null),c=mt.useRef(!1),u=mt.useCallback(function(){r&&a.current?ms(a.current):i&&l.current&&ms(l.current)},[r,i]),mt.useImperativeHandle(s,function(){return{focus:u}},[u]),mt.useEffect(function(){c.current&&(u(),c.current=!1)}),[a,l,function(){c.current=!0}]),V=W[0],K=W[1],G=W[2],U=Eh(E)?function(){z(),G()}:void 0,j=E.firstDayOfWeek,q=E.dateRangeType,Y=E.strings,Z=E.showGoToToday,X=E.highlightCurrentMonth,Q=E.highlightSelectedMonth,e=E.navigationIcons,_=E.minDate,x=E.maxDate,b=E.restrictedDates,y=E.className,w=E.showCloseButton,k=E.allFocusable,C=E.styles,P=E.showWeekNumbers,h=E.theme,d=E.calendarDayProps,p=E.calendarMonthProps,L=E.dateTimeFormatter,s=E.today,J=void 0===s?new Date:s,W=Eh(E),$=!W&&!O,s=W&&Z,ee=Dh(C,{theme:h,className:y,isMonthPickerVisible:H,isDayPickerVisible:O,monthPickerOnly:$,showMonthPickerAsOverlay:W,overlaidWithButton:s,overlayedWithButton:s,showGoToToday:Z,showWeekNumbers:P}),s="",P="";return L&&Y.todayDateFormatString&&(s=Kp(Y.todayDateFormatString,L.formatMonthDayYear(J,Y))),L&&Y.selectedDateFormatString&&(P=Kp(Y.selectedDateFormatString,L.formatMonthDayYear(R,Y))),mt.createElement("div",{ref:t,role:"group","aria-label":P+", "+s,className:Er("ms-DatePicker",ee.root,y,"ms-slideDownIn10"),onKeyDown:function(e){var t;switch(e.which){case Tn.enter:case Tn.backspace:e.preventDefault();break;case Tn.escape:null===(t=E.onDismiss)||void 0===t||t.call(E);break;case Tn.pageUp:e.ctrlKey?F(xp(M,1)):F(Sp(M,1)),e.preventDefault();break;case Tn.pageDown:e.ctrlKey?F(xp(M,-1)):F(Sp(M,-1)),e.preventDefault()}}},mt.createElement("div",{className:ee.liveRegion,"aria-live":"polite","aria-atomic":"true"},mt.createElement("span",null,P)),O&&mt.createElement(lh,pt({selectedDate:R,navigatedDate:M,today:E.today,onSelectDate:B,onNavigateDate:function(e,t){F(e),t&&G()},onDismiss:E.onDismiss,firstDayOfWeek:j,dateRangeType:q,strings:Y,onHeaderSelect:U,navigationIcons:e,showWeekNumbers:E.showWeekNumbers,firstWeekOfYear:E.firstWeekOfYear,dateTimeFormatter:E.dateTimeFormatter,showSixWeeksByDefault:E.showSixWeeksByDefault,minDate:_,maxDate:x,restrictedDates:b,workWeekDays:E.workWeekDays,componentRef:V,showCloseButton:w,allFocusable:k},d)),O&&H&&mt.createElement("div",{className:ee.divider}),H?mt.createElement("div",{className:ee.monthPickerWrapper},mt.createElement(wh,pt({navigatedDate:N,selectedDate:M,strings:Y,onNavigateDate:function(e,t){t&&G(),t?($&&B(e),F(e)):A(e)},today:E.today,highlightCurrentMonth:X,highlightSelectedMonth:Q,onHeaderSelect:U,navigationIcons:e,dateTimeFormatter:E.dateTimeFormatter,minDate:_,maxDate:x,componentRef:K},p)),o()):o(),mt.createElement(oa,null))});function Eh(e){var t=qe();return e.showMonthPickerAsOverlay||t&&t.innerWidth<=440}Y.displayName="CalendarBase";var Ph=In(Y,function(e){var t=e.className,o=e.theme,n=e.isDayPickerVisible,r=e.isMonthPickerVisible,i=e.showWeekNumbers,s=o.palette,e=n&&r?440:220;return i&&n&&(e+=30),{root:[Uo,{display:"flex",width:e},!r&&{flexDirection:"column"},t],divider:{top:0,borderRight:"1px solid",borderColor:s.neutralLight},monthPickerWrapper:[{display:"flex",flexDirection:"column"}],goTodayButton:[bo(o,{inset:-1}),{bottom:0,color:s.neutralPrimary,height:30,lineHeight:30,backgroundColor:"transparent",border:"none",boxSizing:"content-box",padding:"0 4px",alignSelf:"flex-end",marginRight:16,marginTop:3,fontSize:Be.small,fontFamily:"inherit",overflow:"visible",selectors:{"& div":{fontSize:Be.small},"&:hover":{color:s.themePrimary,backgroundColor:"transparent",cursor:"pointer"},"&:active":{color:s.themeDark},"&:disabled":{color:s.neutralTertiaryAlt,pointerEvents:"none"}}}],liveRegion:{border:0,height:"1px",margin:"-1px",overflow:"hidden",padding:0,width:"1px",position:"absolute"}}},void 0,{scope:"Calendar"});function Rh(e){for(var t,o=[],n=gt(e)||document;e!==n.body;){for(var r=0,i=e.parentElement.children;r<i.length;r++){var s=i[r];s!==e&&"true"!==(null===(t=s.getAttribute("aria-hidden"))||void 0===t?void 0:t.toLowerCase())&&o.push(s)}if(!e.parentElement)break;e=e.parentElement}return o.forEach(function(e){e.setAttribute("aria-hidden","true")}),function(){o.forEach(function(e){e.setAttribute("aria-hidden","false")}),o=[]}}var Mh=mt.forwardRef(function(e,t){var o,n,r=mt.useRef(null),i=mt.useRef(null),s=mt.useRef(null),a=_r(r,t),l=tu(void 0,e.id),c=xl(),u=ur(e,cr),d=bl(function(){return{previouslyFocusedElementOutsideTrapZone:void 0,previouslyFocusedElementInTrapZone:void 0,disposeFocusHandler:void 0,disposeClickHandler:void 0,hasFocus:!1,unmodalize:void 0}}),p=e.ariaLabelledBy,h=e.className,m=e.children,g=e.componentRef,f=e.disabled,v=e.disableFirstFocus,b=void 0!==v&&v,y=e.disabled,C=void 0!==y&&y,_=e.elementToFocusOnDismiss,S=e.forceFocusInsideTrap,x=void 0===S||S,k=e.focusPreviouslyFocusedInnerElement,w=e.firstFocusableSelector,I=e.ignoreExternalFocusing,t=e.isClickableOutsideFocusTrap,D=void 0!==t&&t,v=e.onFocus,y=e.onBlur,T=e.onFocusCapture,E=e.onBlurCapture,P=e.enableAriaHiddenSiblings,S={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:f?-1:0,"data-is-visible":!0},R=mt.useCallback(function(){var e,t;k&&d.previouslyFocusedElementInTrapZone&&$i(r.current,d.previouslyFocusedElementInTrapZone)?ms(d.previouslyFocusedElementInTrapZone):(e="string"==typeof w?w:w&&w(),t=null,(t=r.current?(t=e?r.current.querySelector("."+e):t)||ss(r.current,r.current.firstChild,!1,!1,!1,!0):t)&&ms(t))},[w,k,d]),M=mt.useCallback(function(e){var t;f||(t=(e===d.hasFocus?s:i).current,!r.current||(t=(e===d.hasFocus?ns:os)(r.current,t,!0,!1))&&(t===i.current||t===s.current?R():t.focus()))},[f,R,d]),t=mt.useCallback(function(e){null==E||E(e);var t=e.relatedTarget;null===e.relatedTarget&&(t=c.activeElement),$i(r.current,t)||(d.hasFocus=!1)},[c,d,E]),e=mt.useCallback(function(e){null==T||T(e),e.target===i.current?M(!0):e.target===s.current&&M(!1),d.hasFocus=!0,e.target!==e.currentTarget&&e.target!==i.current&&e.target!==s.current&&(d.previouslyFocusedElementInTrapZone=e.target)},[T,d,M]),N=mt.useCallback(function(){var e;Mh.focusStack=Mh.focusStack.filter(function(e){return l!==e}),c&&(e=c.activeElement,I||!d.previouslyFocusedElementOutsideTrapZone||"function"!=typeof d.previouslyFocusedElementOutsideTrapZone.focus||!$i(r.current,e)&&e!==c.body||d.previouslyFocusedElementOutsideTrapZone!==i.current&&d.previouslyFocusedElementOutsideTrapZone!==s.current&&ms(d.previouslyFocusedElementOutsideTrapZone))},[c,l,I,d]),B=mt.useCallback(function(e){var t;!f&&Mh.focusStack.length&&l===Mh.focusStack[Mh.focusStack.length-1]&&(t=e.target,$i(r.current,t)||(R(),d.hasFocus=!0,e.preventDefault(),e.stopPropagation()))},[f,l,R,d]),F=mt.useCallback(function(e){var t;f||!Mh.focusStack.length||l!==Mh.focusStack[Mh.focusStack.length-1]||(t=e.target)&&!$i(r.current,t)&&(R(),d.hasFocus=!0,e.preventDefault(),e.stopPropagation())},[f,l,R,d]),A=mt.useCallback(function(){x&&!d.disposeFocusHandler?d.disposeFocusHandler=Ha(window,"focus",B,!0):!x&&d.disposeFocusHandler&&(d.disposeFocusHandler(),d.disposeFocusHandler=void 0),D||d.disposeClickHandler?D&&d.disposeClickHandler&&(d.disposeClickHandler(),d.disposeClickHandler=void 0):d.disposeClickHandler=Ha(window,"click",F,!0)},[F,B,x,D,d]);return mt.useEffect(function(){var e=r.current;return A(),function(){f&&!x&&$i(e,null==c?void 0:c.activeElement)||N()}},[A]),mt.useEffect(function(){var e=void 0===x||x,t=void 0!==f&&f;if(!t||e){if(C)return;Mh.focusStack.push(l),d.previouslyFocusedElementOutsideTrapZone=_||c.activeElement,b||$i(r.current,d.previouslyFocusedElementOutsideTrapZone)||R(),!d.unmodalize&&r.current&&P&&(d.unmodalize=Rh(r.current))}else e&&!t||(N(),d.unmodalize&&d.unmodalize());_&&d.previouslyFocusedElementOutsideTrapZone!==_&&(d.previouslyFocusedElementOutsideTrapZone=_)},[_,x,f]),Nh(function(){d.disposeClickHandler&&(d.disposeClickHandler(),d.disposeClickHandler=void 0),d.disposeFocusHandler&&(d.disposeFocusHandler(),d.disposeFocusHandler=void 0),d.unmodalize&&d.unmodalize(),delete d.previouslyFocusedElementInTrapZone,delete d.previouslyFocusedElementOutsideTrapZone}),o=d.previouslyFocusedElementInTrapZone,n=R,mt.useImperativeHandle(g,function(){return{get previouslyFocusedElement(){return o},focus:n}},[o,n]),mt.createElement("div",pt({},u,{className:h,ref:a,"aria-labelledby":p,onFocusCapture:e,onFocus:v,onBlur:y,onBlurCapture:t}),mt.createElement("div",pt({},S,{ref:i})),m,mt.createElement("div",pt({},S,{ref:s})))}),Nh=function(e){var t=mt.useRef(e);t.current=e,mt.useEffect(function(){return function(){t.current&&t.current()}},[e])};Mh.displayName="FocusTrapZone",Mh.focusStack=[];var Bh=function(e){return mt.createElement(nc,pt({},e),mt.createElement(Mh,pt({disabled:e.hidden},e.focusTrapProps),e.children))},Fh=Fn(),Ah=mt.forwardRef(function(e,t){var o=e.checked,n=e.className,r=e.theme,i=e.styles,e=e.useFastIcons,e=void 0===e||e,o=Fh(i,{theme:r,className:n,checked:void 0!==o&&o}),e=e?Lr:Wr;return mt.createElement("div",{className:o.root,ref:t},mt.createElement(e,{iconName:"CircleRing",className:o.circle}),mt.createElement(e,{iconName:"StatusCircleCheckmark",className:o.check}))});Ah.displayName="CheckBase";var Lh={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},Hh=In(Ah,function(e){var t=e.height,o=void 0===t?e.checkBoxHeight||"18px":t,n=e.checked,r=e.className,i=e.theme,s=i.palette,a=i.semanticColors,l=i.fonts,t=Pn(i),e=zo(Lh,i),i={fontSize:o,position:"absolute",left:0,top:0,width:o,height:o,textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"};return{root:[e.root,l.medium,{lineHeight:"1",width:o,height:o,verticalAlign:"top",position:"relative",userSelect:"none",selectors:((a={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:a.bodyBackground}})["."+e.checkHost+":hover &, ."+e.checkHost+":focus &, &:hover, &:focus"]={opacity:1},a)},n&&["is-checked",{selectors:{":before":{background:s.themePrimary,opacity:1,selectors:((a={})[Yt]={background:"Window"},a)}}}],r],circle:[e.circle,i,{color:s.neutralSecondary,selectors:((r={})[Yt]={color:"WindowText"},r)},n&&{color:s.white}],check:[e.check,i,{opacity:0,color:s.neutralSecondary,fontSize:Ae.medium,left:t?"-0.5px":".5px",top:"-1px",selectors:((t={":hover":{opacity:1}})[Yt]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},n&&{opacity:1,color:s.white,fontWeight:900,selectors:((s={})[Yt]={border:"none",color:"WindowText"},s)}],checkHost:e.checkHost}},void 0,{scope:"Check"},!0),Oh=Fn(),zh=mt.forwardRef(function(e,t){var o,n,r,i=e.disabled,s=e.required,a=e.inputProps,l=e.name,c=e.ariaLabel,u=e.ariaLabelledBy,d=e.ariaDescribedBy,p=e.ariaPositionInSet,h=e.ariaSetSize,m=e.title,g=e.checkmarkIconProps,f=e.styles,v=e.theme,b=e.className,y=e.boxSide,C=void 0===y?"start":y,_=tu("checkbox-",e.id),S=mt.useRef(null),x=_r(S,t),y=mt.useRef(null),t=Ih(e.checked,e.defaultChecked,e.onChange),k=t[0],w=t[1],t=Ih(e.indeterminate,e.defaultIndeterminate),I=t[0],D=t[1];ta(S),o=k,n=I,r=y,mt.useImperativeHandle(e.componentRef,function(){return{get checked(){return!!o},get indeterminate(){return!!n},focus:function(){r.current&&r.current.focus()}}},[r,o,n]);var T=Oh(f,{theme:v,className:b,disabled:i,indeterminate:I,checked:k,reversed:"start"!==C,isUsingCustomLabelRender:!!e.onRenderLabel}),v=mt.useCallback(function(e){return e&&e.label?mt.createElement("span",{className:T.text,title:e.title},e.label):null},[T.text]),b=e.onRenderLabel||v,C=I?"mixed":void 0,C=pt(pt({className:T.input,type:"checkbox"},a),{checked:!!k,disabled:i,required:s,name:l,id:_,title:m,onChange:function(e){I?(w(!!k,e),D(!1)):w(!k,e)},"aria-disabled":i,"aria-label":c,"aria-labelledby":u,"aria-describedby":d,"aria-posinset":p,"aria-setsize":h,"aria-checked":C});return mt.createElement("div",{className:T.root,title:m,ref:x},mt.createElement("input",pt({},C,{ref:y,title:m,"data-ktp-execute-target":!0})),mt.createElement("label",{className:T.label,htmlFor:_},mt.createElement("div",{className:T.checkbox,"data-ktp-target":!0},mt.createElement(Wr,pt({iconName:"CheckMark"},g,{className:T.checkmark}))),b(e,v)))});zh.displayName="CheckboxBase";var Wh,Vh={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},Kh="cubic-bezier(.4, 0, .23, 1)",Gh=In(zh,function(e){var t,o,n,r=e.className,i=e.theme,s=e.reversed,a=e.checked,l=e.disabled,c=e.isUsingCustomLabelRender,u=e.indeterminate,d=i.semanticColors,p=i.effects,h=i.palette,m=i.fonts,g=zo(Vh,i),f=d.inputForegroundChecked,v=h.neutralSecondary,b=h.neutralPrimary,y=d.inputBackgroundChecked,C=d.inputBackgroundChecked,_=d.disabledBodySubtext,S=d.inputBorderHovered,x=d.inputBackgroundCheckedHovered,k=d.inputBackgroundChecked,w=d.inputBackgroundCheckedHovered,I=d.inputBackgroundCheckedHovered,D=d.inputTextHovered,T=d.disabledBodySubtext,E=d.bodyText,P=d.disabledText,h=[((e={content:'""',borderRadius:p.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:l?_:y,transitionProperty:"border-width, border, border-color",transitionDuration:"200ms",transitionTimingFunction:Kh})[Yt]={borderColor:"WindowText"},e)];return{root:[g.root,{position:"relative",display:"flex"},s&&"reversed",a&&"is-checked",!l&&"is-enabled",l&&"is-disabled",!l&&[!a&&((d={})[":hover ."+g.checkbox]=((e={borderColor:S})[Yt]={borderColor:"Highlight"},e),d[":focus ."+g.checkbox]={borderColor:S},d[":hover ."+g.checkmark]=((v={color:v,opacity:"1"})[Yt]={color:"Highlight"},v),d),a&&!u&&((t={})[":hover ."+g.checkbox]={background:w,borderColor:I},t[":focus ."+g.checkbox]={background:w,borderColor:I},t[Yt]=((I={})[":hover ."+g.checkbox]={background:"Highlight",borderColor:"Highlight"},I[":focus ."+g.checkbox]={background:"Highlight"},I[":focus:hover ."+g.checkbox]={background:"Highlight"},I[":focus:hover ."+g.checkmark]={color:"Window"},I[":hover ."+g.checkmark]={color:"Window"},I),t),u&&((o={})[":hover ."+g.checkbox+", :hover ."+g.checkbox+":after"]=((t={borderColor:x})[Yt]={borderColor:"WindowText"},t),o[":focus ."+g.checkbox]={borderColor:x},o[":hover ."+g.checkmark]={opacity:"0"},o),((o={})[":hover ."+g.text+", :focus ."+g.text]=((D={color:D})[Yt]={color:l?"GrayText":"WindowText"},D),o)],r],input:((o={position:"absolute",background:"none",opacity:0})["."+go+" &:focus + label::before"]=((r={outline:"1px solid "+i.palette.neutralSecondary,outlineOffset:"2px"})[Yt]={outline:"1px solid WindowText"},r),o),label:[g.label,i.fonts.medium,{display:"flex",alignItems:c?"center":"flex-start",cursor:l?"default":"pointer",position:"relative",userSelect:"none"},s&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[g.checkbox,((h={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:"20px",width:"20px",border:"1px solid "+b,borderRadius:p.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:"200ms",transitionTimingFunction:Kh,overflow:"hidden",":after":u?h:null})[Yt]=pt({borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),h),u&&{borderColor:y},s?{marginLeft:4}:{marginRight:4},!l&&!u&&a&&((n={background:k,borderColor:C})[Yt]={background:"Highlight",borderColor:"Highlight"},n),l&&((n={borderColor:_})[Yt]={borderColor:"GrayText"},n),a&&l&&((_={background:T,borderColor:_})[Yt]={background:"Window"},_)],checkmark:[g.checkmark,((f={opacity:a?"1":"0",color:f})[Yt]=pt({color:l?"GrayText":"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),f)],text:[g.text,((m={color:l?P:E,fontSize:m.medium.fontSize,lineHeight:"20px"})[Yt]=pt({color:l?"GrayText":"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),m),s?{marginRight:4}:{marginLeft:4}]}},void 0,{scope:"Checkbox"}),Uh=Fn({cacheSize:100}),jh=(l(Zh,Wh=mt.Component),Zh.prototype.render=function(){var e=this.props,t=e.as,o=void 0===t?"label":t,n=e.children,r=e.className,i=e.disabled,s=e.styles,t=e.required,e=e.theme,e=Uh(s,{className:r,disabled:i,required:t,theme:e});return mt.createElement(o,pt({},ur(this.props,cr),{className:e.root}),n)},Zh),qh=In(jh,function(e){var t=e.theme,o=e.className,n=e.disabled,r=e.required,i=t.semanticColors,s=Fe.semibold,a=i.bodyText,e=i.disabledBodyText,i=i.errorText;return{root:["ms-Label",t.fonts.medium,{fontWeight:s,color:a,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},n&&{color:e,selectors:((e={})[Yt]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),e)},r&&{selectors:{"::after":{content:"' *'",color:i,paddingRight:12}}},o]}},void 0,{scope:"Label"}),Yh=Lo(function(r){return Lo(function(o){var n=Lo(function(t){return function(e){return o(e,t)}});return function(e,t){return r(e,t?n(t):o)}})});function Zh(){return null!==Wh&&Wh.apply(this,arguments)||this}function Xh(e,t){return Yh(e)(t)}var Qh=Fn(),Jh={imageSize:{width:32,height:32}},ke=function(e){var n=Hn(pt(pt({},Jh),{key:e.itemKey}),e),t=n.ariaLabel,o=n.focused,r=n.required,i=n.theme,s=n.iconProps,a=n.imageSrc,l=n.imageSize,c=n.disabled,u=n.checked,d=n.id,p=n.styles,h=n.name,e=ht(n,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),m=Qh(p,{theme:i,hasIcon:!!s,hasImage:!!a,checked:u,disabled:c,imageIsLarge:!!a&&(71<l.width||71<l.height),imageSize:l,focused:o}),p=ur(e,Zn),i=p.className,o=ht(p,["className"]),g=function(){return mt.createElement("span",{id:n.labelId,className:"ms-ChoiceFieldLabel"},n.text)},e=function(){var e=n.imageAlt,t=void 0===e?"":e,o=n.selectedImageSrc,e=(n.onRenderLabel?Xh(n.onRenderLabel,g):g)(n);return mt.createElement("label",{htmlFor:d,className:m.field},a&&mt.createElement("div",{className:m.innerField},mt.createElement("div",{className:m.imageWrapper},mt.createElement(Ir,pt({src:a,alt:t},l))),mt.createElement("div",{className:m.selectedImageWrapper},mt.createElement(Ir,pt({src:o,alt:t},l)))),s&&mt.createElement("div",{className:m.innerField},mt.createElement("div",{className:m.iconWrapper},mt.createElement(Wr,pt({},s)))),a||s?mt.createElement("div",{className:m.labelWrapper},e):e)},p=n.onRenderField,p=void 0===p?e:p;return mt.createElement("div",{className:m.root},mt.createElement("div",{className:m.choiceFieldWrapper},mt.createElement("input",pt({"aria-label":t,id:d,className:Er(m.input,i),type:"radio",name:h,disabled:c,checked:u,required:r},o,{onChange:function(e){var t;null===(t=n.onChange)||void 0===t||t.call(n,e,n)},onFocus:function(e){var t;null===(t=n.onFocus)||void 0===t||t.call(n,e,n)},onBlur:function(e){var t;null===(t=n.onBlur)||void 0===t||t.call(n,e)}})),p(n,e)))};ke.displayName="ChoiceGroupOption";var $h={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"},em="200ms",tm="cubic-bezier(.4, 0, .23, 1)";function om(e,t,o){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:em,transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(o?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}function nm(e,t){return t+"-"+e.key}function rm(e,t){return void 0===t?void 0:Oi(e,function(e){return e.key===t})}var im=In(ke,function(e){var t=e.theme,o=e.hasIcon,n=e.hasImage,r=e.checked,i=e.disabled,s=e.imageIsLarge,a=e.focused,l=e.imageSize,c=t.palette,u=t.semanticColors,d=t.fonts,p=zo($h,t),h=c.neutralPrimary,m=u.inputBorderHovered,g=u.inputBackgroundChecked,f=c.themeDark,v=u.disabledBodySubtext,b=u.bodyBackground,y=c.neutralSecondary,C=u.inputBackgroundChecked,_=c.themeDark,S=u.disabledBodySubtext,x=c.neutralDark,k=u.focusBorder,w=u.inputBorderHovered,I=u.inputBackgroundChecked,e=c.themeDark,c=c.neutralLighter,_={selectors:{".ms-ChoiceFieldLabel":{color:x},":before":{borderColor:r?f:m},":after":[!o&&!n&&!r&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:y},r&&{borderColor:_,background:_}]}},m={borderColor:r?e:w,selectors:{":before":{opacity:1,borderColor:r?f:m}}},D=[{content:'""',display:"inline-block",backgroundColor:b,borderWidth:1,borderStyle:"solid",borderColor:h,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:em,transitionTimingFunction:tm,borderRadius:"50%"},i&&{borderColor:v,selectors:((h={})[Yt]=pt({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),h)},r&&{borderColor:i?v:g,selectors:((D={})[Yt]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},D)},(o||n)&&{top:3,right:3,left:"auto",opacity:r?1:0}],T=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:em,transitionTimingFunction:tm,boxSizing:"border-box"},r&&{borderWidth:5,borderStyle:"solid",borderColor:i?S:C,background:C,left:5,top:5,width:10,height:10,selectors:((T={})[Yt]={borderColor:"Highlight",forcedColorAdjust:"none"},T)},r&&(o||n)&&{top:8,right:8,left:"auto"}];return{root:[p.root,t.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:u.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!o&&!n&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},n&&"ms-ChoiceField--image",o&&"ms-ChoiceField--icon",(o||n)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:c,height:"100%"}],choiceFieldWrapper:[p.choiceFieldWrapper,a&&["is-inFocus",{selectors:((a={})["."+go+" &"]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid "+(k=k),position:"absolute",selectors:((k={})[Yt]={borderColor:"WindowText",borderWidth:o||n?1:2},k)}}},a)}]],input:[p.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},i&&"is-disabled"],field:[p.field,r&&p.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!i&&_,":focus":!i&&_,":before":D,":after":T}},o&&"ms-ChoiceField--icon",n&&"ms-ChoiceField-field--image",(o||n)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:em,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},r&&{borderColor:I},(o||n)&&!i&&{selectors:{":hover":m,":focus":m}},i&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:u.disabledBodyText,selectors:((u={})[Yt]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)}}},r&&i&&{borderColor:c}],innerField:[p.innerField,n&&{height:l.height,width:l.width},(o||n)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(o||n)&&s&&{paddingLeft:24,paddingRight:24},(o||n)&&i&&{opacity:.25,selectors:((i={})[Yt]={color:"GrayText",opacity:1},i)}],imageWrapper:om(!1,p.imageWrapper,r),selectedImageWrapper:om(!0,p.imageWrapper,r),iconWrapper:[p.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[p.labelWrapper,d.medium,(o||n)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*l.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}},void 0,{scope:"ChoiceGroupOption"}),sm=Fn(),am=mt.forwardRef(function(e,t){var o,n,r,i=e.className,s=e.theme,a=e.styles,l=e.options,c=void 0===l?[]:l,u=e.label,d=e.required,p=e.disabled,h=e.name,m=e.defaultSelectedKey,g=e.componentRef,f=e.onChange,v=tu("ChoiceGroup"),b=tu("ChoiceGroupLabel"),l=ur(e,cr,["onChange","className","required"]),s=sm(a,{theme:s,className:i,optionsContainIconOrImage:c.some(function(e){return!(!e.iconProps&&!e.imageSrc)})}),i=e.ariaLabelledBy||(u?b:e["aria-labelledby"]),m=Ih(e.selectedKey,m),y=m[0],C=m[1],m=mt.useState(),_=m[0],S=m[1];o=c,n=y,r=v,mt.useImperativeHandle(g,function(){return{get checkedOption(){return rm(o,n)},focus:function(){var e=rm(o,n)||o.filter(function(e){return!e.disabled})[0],e=e&&document.getElementById(nm(e,r));e&&(e.focus(),vo(!0,e))}}},[o,n,r]);var x=mt.useCallback(function(e,t){var o;t&&(S(t.itemKey),null===(o=t.onFocus)||void 0===o||o.call(t,e))},[]),k=mt.useCallback(function(e,t){var o;S(void 0),null===(o=null==t?void 0:t.onBlur)||void 0===o||o.call(t,e)},[]),w=mt.useCallback(function(e,t){var o;t&&(C(t.itemKey),null===(o=t.onChange)||void 0===o||o.call(t,e),null==f||f(e,rm(c,t.itemKey)))},[f,c,C]);return mt.createElement("div",pt({className:s.root},l,{ref:t}),mt.createElement("div",pt({role:"radiogroup"},i&&{"aria-labelledby":i}),u&&mt.createElement(qh,{className:s.label,required:d,id:b,disabled:p},u),mt.createElement("div",{className:s.flexContainer},c.map(function(e){return mt.createElement(im,pt({itemKey:e.key},e,{key:e.key,onBlur:k,onFocus:x,onChange:w,focused:e.key===_,checked:e.key===y,disabled:e.disabled||p,id:nm(e,v),labelId:e.labelId||b+"-"+e.key,name:h||v,required:d}))}))))});am.displayName="ChoiceGroup";var lm={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},cm=In(am,function(e){var t=e.className,o=e.optionsContainIconOrImage,n=e.theme,e=zo(lm,n);return{root:[t,e.root,n.fonts.medium,{display:"block"}],flexContainer:[e.flexContainer,o&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}},void 0,{scope:"ChoiceGroup"}),um=Ao(function(){return O({"0%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"78.57%":{transform:"translate(0, 0)",animationTimingFunction:"cubic-bezier(0.62, 0, 0.56, 1)"},"82.14%":{transform:"translate(0, -5px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0, 1)"},"84.88%":{transform:"translate(0, 9px)",animationTimingFunction:"cubic-bezier(1, 0, 0.56, 1)"},"88.1%":{transform:"translate(0, -2px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0.67, 1)"},"90.12%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"100%":{transform:"translate(0, 0)"}})}),dm=Ao(function(){return O({"0%":{transform:" scale(0)",animationTimingFunction:"linear"},"14.29%":{transform:"scale(0)",animationTimingFunction:"cubic-bezier(0.84, 0, 0.52, 0.99)"},"16.67%":{transform:"scale(1.15)",animationTimingFunction:"cubic-bezier(0.48, -0.01, 0.52, 1.01)"},"19.05%":{transform:"scale(0.95)",animationTimingFunction:"cubic-bezier(0.48, 0.02, 0.52, 0.98)"},"21.43%":{transform:"scale(1)",animationTimingFunction:"linear"},"42.86%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"45.71%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"50%":{transform:"scale(1)",animationTimingFunction:"linear"},"90.12%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"92.98%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"97.26%":{transform:"scale(1)",animationTimingFunction:"linear"},"100%":{transform:"scale(1)"}})}),pm=Ao(function(){return O({"0%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"83.33%":{transform:" rotate(0deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"83.93%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"84.52%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.12%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.71%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"86.31%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"100%":{transform:"rotate(0deg)"}})}),hm=Ao(function(){var e;return pn({root:[{position:"absolute",boxSizing:"border-box",border:"1px solid ${}",selectors:((e={})[Yt]={border:"1px solid WindowText"},e)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}],container:{position:"relative"},main:{backgroundColor:"#ffffff",overflowX:"hidden",overflowY:"hidden",position:"relative"},overFlowYHidden:{overflowY:"hidden"}})}),mm={opacity:0},gm=((K={})[Ra.top]="slideUpIn20",K[Ra.bottom]="slideDownIn20",K[Ra.left]="slideLeftIn20",K[Ra.right]="slideRightIn20",K),fm={preventDismissOnScroll:!1,offsetFromTarget:0,minPagePadding:8,directionalHint:Ea.bottomAutoEdge};function vm(e,n){function r(){n&&i&&(c.current=l.requestAnimationFrame(function(){var e,t,o;n.current&&(t=(e=n.current.lastChild).scrollHeight,o=e.offsetHeight,a(s+(t-o)),e.offsetHeight<i?r():l.cancelAnimationFrame(c.current))}))}var i=e.finalHeight,e=mt.useState(0),s=e[0],a=e[1],l=yl(),c=mt.useRef(0);return mt.useEffect(r,[i]),s}var bm=mt.forwardRef(function(e,t){var o,n,r,i,s,a,l,c,u,d,p,h,m,g,f,v,b,y,C,_,S,x,k,w,I,D,T,E,P,R,M,N,B,F=Hn(fm,e),A=mt.useRef(null),L=mt.useRef(null),H=_r(t,L),O=Dl(F.target,L),z=O[0],W=O[1],V=(v=F,b=W,y=mt.useRef(),function(){var e;return y.current||(e=(e=v.bounds)||{top:0+v.minPagePadding,left:0+v.minPagePadding,right:b.innerWidth-v.minPagePadding,bottom:b.innerHeight-v.minPagePadding,width:b.innerWidth-2*v.minPagePadding,height:b.innerHeight-2*v.minPagePadding},y.current=e),y.current}),K=(l=F,c=L,u=A,d=z,p=V,h=yl(),U=mt.useState(),m=U[0],g=U[1],f=mt.useRef(0),U=function(){h.requestAnimationFrame(function(){var e=l.offsetFromTarget,t=l.onPositioned,o=c.current,n=u.current;if(o&&n){var r=pt({},l);r.bounds=p(),r.target=d.current;var i=r.target;if(i)if(!i.getBoundingClientRect&&!i.preventDefault||document.body.contains(i)){r.gapSpace=e;var s=pl(r,o,n);!m&&s||m&&s&&!function(e,t){return function(e,t){for(var o in t)if(t.hasOwnProperty(o)){var n=e[o],r=t[o];if(n&&r&&n.toFixed(2)!==r.toFixed(2))return!1}return!0}(e.elementPosition,t.elementPosition)}(m,s)&&f.current<5?(f.current++,g(s),null==t||t(s)):(f.current=0,null==t||t(s))}else void 0!==m&&g(void 0);else void 0!==m&&g(void 0)}})},mt.useEffect(U),[m,U]),G=K[0],e=K[1],O=(o=z,n=V,r=F.directionalHintFixed,i=F.offsetFromTarget,s=F.directionalHint,t=F.target,a=mt.useRef(),"string"==typeof t&&(a.current=void 0),mt.useEffect(function(){a.current=void 0},[t,i]),function(){return a.current||(r&&o.current?a.current=gl(o.current,s,i||0,n()):a.current=n().height-2),a.current}),U=vm(F,A);if(R=A,M=G,N=F.setInitialFocus,B=mt.useRef(!1),mt.useEffect(function(){!B.current&&R.current&&N&&M&&(B.current=!0,rs(R.current))}),C=L,_=W,S=z,x=G,k=e,w=F.onDismiss,I=F.preventDismissOnScroll,D=yl(),T=mt.useCallback(function(e){w?w(e):k()},[w,k]),E=mt.useCallback(function(e){var t=e.target,o=C.current&&!$i(C.current,t);(!S.current&&o||e.target!==_&&o&&(S.current.stopPropagation||!S.current||t!==S.current&&!$i(S.current,t)))&&T(e)},[T,C,S,_]),P=mt.useCallback(function(e){x&&!I&&E(e)},[E,x,I]),mt.useEffect(function(){var t=new fa({});return D.setTimeout(function(){var e;t.on(_,"scroll",D.throttle(P,10),!0),t.on(_,"resize",D.throttle(T,10),!0),t.on(null===(e=null==_?void 0:_.document)||void 0===e?void 0:e.body,"focus",E,!0),t.on(null===(e=null==_?void 0:_.document)||void 0===e?void 0:e.body,"click",E,!0)},0),function(){return t.dispose()}},[P]),mt.useEffect(function(){var e;return null===(e=F.onLayerMounted)||void 0===e?void 0:e.call(F)},[]),!W)return null;var K=F.className,V=F.doNotLayer,t=F.positioningContainerWidth,L=F.positioningContainerMaxHeight,z=F.children,e=hm(),W=G&&G.targetEdge?Le[gm[G.targetEdge]]:"",U=O()+U,L=L&&U<L?U:L,L=mt.createElement("div",{ref:H,className:Er("ms-PositioningContainer",e.container)},mt.createElement("div",{className:j("ms-PositioningContainer-layerHost",e.root,K,W,!!t&&{width:t},V&&{zIndex:mo.Layer}),style:G?G.elementPosition:mm,tabIndex:-1,ref:A},z,L));return V?L:mt.createElement(oc,null,L)});function ym(e){return{root:[{position:"absolute",boxShadow:"inherit",border:"none",boxSizing:"border-box",transform:e.transform,width:e.width,height:e.height,left:e.left,top:e.top,right:e.right,bottom:e.bottom}],beak:{fill:e.color,display:"block",selectors:((e={})[Yt]={fill:"windowtext"},e)}}}bm.displayName="PositioningContainer";var Cm=mt.forwardRef(function(e,t){var o,n,r,i,s,a=e.left,l=e.top,c=e.bottom,u=e.right,d=e.color,p=e.direction,e=void 0===p?Ra.top:p,p=e===Ra.top||e===Ra.bottom?(o=10,18):(o=18,10);switch(e){case Ra.top:default:n="9, 0",r="18, 10",i="0, 10",s="translateY(-100%)";break;case Ra.right:n="0, 0",r="10, 10",i="0, 18",s="translateX(100%)";break;case Ra.bottom:n="0, 0",r="18, 0",i="9, 10",s="translateY(100%)";break;case Ra.left:n="10, 0",r="0, 10",i="10, 18",s="translateX(-100%)"}d=Fn()(ym,{left:a,top:l,bottom:c,right:u,height:o+"px",width:p+"px",transform:s,color:d});return mt.createElement("div",{className:d.root,role:"presentation",ref:t},mt.createElement("svg",{height:o,width:p,className:d.beak},mt.createElement("polygon",{points:n+" "+r+" "+i})))});Cm.displayName="Beak";function _m(){var n=bl({});return mt.useEffect(function(){return function(){for(var e=0,t=Object.keys(n);e<t.length;e++){var o=t[e];clearTimeout(o)}}},[n]),bl({setTimeout:function(e,t){t=setTimeout(e,t);return n[t]=1,t},clearTimeout:function(e){delete n[e],clearTimeout(e)}})}var Sm=Fn(),xm="data-coachmarkid",km={isCollapsed:!0,mouseProximityOffset:10,delayBeforeMouseOpen:3600,delayBeforeCoachmarkAnimation:0,isPositionForced:!0,positioningContainerProps:{directionalHint:Ea.bottomAutoEdge}},wm=mt.forwardRef(function(e,t){var o,n,r,i,s,a,l,c,u,d,p,h,m,g,f,v,b,y,C,_,S,x,k,w,I,D,T,E,P,R,M,N,B=Hn(km,e),F=mt.useRef(null),A=mt.useRef(null),L=(x=yl(),X=mt.useState(),re=X[0],k=X[1],w=mt.useState(),X=w[0],I=w[1],[re,X,function(e){var t=e.alignmentEdge,o=e.targetEdge;return x.requestAnimationFrame(function(){k(t),I(o)})}]),H=L[0],O=L[1],z=L[2],W=(g=F,f=B.isCollapsed,v=B.onAnimationOpenStart,b=B.onAnimationOpenEnd,Q=mt.useState(!!f),J=Q[0],y=Q[1],C=_m().setTimeout,_=mt.useRef(!J),S=mt.useCallback(function(){var e,t;_.current||(y(!1),null==v||v(),null===(t=null===(e=g.current)||void 0===e?void 0:e.addEventListener)||void 0===t||t.call(e,"transitionend",function(){C(function(){g.current&&rs(g.current)},1e3),null==b||b()}),_.current=!0)},[g,b,v,C]),mt.useEffect(function(){f||S()},[f]),[J,S]),V=W[0],K=W[1],G=(p=H,h=O,m=Pn(B.theme),mt.useMemo(function(){var e,t,o=void 0===h?Ra.bottom:-1*h,n={direction:o},r="3px";switch(o){case Ra.top:case Ra.bottom:e=p?p===Ra.left?(n.left="7px","left"):(n.right="7px","right"):(n.left="calc(50% - 9px)","center"),t=o===Ra.top?(n.top=r,"top"):(n.bottom=r,"bottom");break;case Ra.left:case Ra.right:t=p?p===Ra.top?(n.top="7px","top"):(n.bottom="7px","bottom"):(n.top="calc(50% - 9px)","center"),e=o===Ra.left?(m?n.right=r:n.left=r,"left"):(m?n.left=r:n.right=r,"right")}return[n,e+" "+t]},[p,h,m])),U=G[0],j=G[1],q=(te=B,l=F,$=mt.useState(!!te.isCollapsed),ee=$[0],c=$[1],$=mt.useState(te.isCollapsed?{width:0,height:0}:{}),te=$[0],u=$[1],d=yl(),mt.useEffect(function(){d.requestAnimationFrame(function(){l.current&&(u({width:l.current.offsetWidth,height:l.current.offsetHeight}),c(!1))})},[]),[ee,te]),Y=q[0],Z=q[1],e=(i=B.ariaAlertText,s=yl(),oe=mt.useState(),ne=oe[0],a=oe[1],mt.useEffect(function(){s.requestAnimationFrame(function(){a(i)})},[]),ne),w=(o=B.preventFocusOnMount,n=_m().setTimeout,r=mt.useRef(null),mt.useEffect(function(){o||n(function(){var e;return null===(e=r.current)||void 0===e?void 0:e.focus()},1e3)},[]),r);!function(r,i,n){var e=null===(t=gt())||void 0===t?void 0:t.documentElement;Cl(e,"keydown",function(e){var t,o;(e.altKey&&e.which===Tn.c||e.which===Tn.enter&&null!==(o=null===(t=i.current)||void 0===t?void 0:t.contains)&&void 0!==o&&o.call(t,e.target))&&n()},!0);var t=function(e){var t,o,n;r.preventDismissOnLostFocus&&(t=e.target,o=i.current&&!$i(i.current,t),n=r.target,o&&t!==n&&!$i(n,t)&&(null===(t=r.onDismiss)||void 0===t||t.call(r,e)))};Cl(e,"click",t,!0),Cl(e,"focus",t,!0)}(B,A,K),N=B.onDismiss,mt.useImperativeHandle(B.componentRef,function(e){return{dismiss:function(){null==N||N(e)}}},[N]),D=B,T=A,E=K,re=_m(),P=re.setTimeout,R=re.clearTimeout,M=mt.useRef(),mt.useEffect(function(){function s(){T.current&&(M.current=T.current.getBoundingClientRect())}var o=new fa({});return P(function(){var e=D.mouseProximityOffset,i=void 0===e?0:e,t=[];P(function(){s(),o.on(window,"resize",function(){t.forEach(function(e){R(e)}),t.splice(0,t.length),t.push(P(function(){s()},100))})},10),o.on(document,"mousemove",function(e){var t,o,n=e.clientY,r=e.clientX;s(),t=M.current,o=i,r>t.left-(o=void 0===o?0:o)&&r<t.left+t.width+o&&n>t.top-o&&n<t.top+t.height+o&&E(),null===(o=D.onMouseMove)||void 0===o||o.call(D,e)})},D.delayBeforeMouseOpen),function(){return o.dispose()}},[]);var X=B.beaconColorOne,L=B.beaconColorTwo,Q=B.children,J=B.target,W=B.color,H=B.positioningContainerProps,O=B.ariaDescribedBy,G=B.ariaDescribedByText,$=B.ariaLabelledBy,ee=B.ariaLabelledByText,te=B.ariaAlertText,q=B.delayBeforeCoachmarkAnimation,oe=B.styles,ne=B.theme,K=B.className,re=B.persistentBeak,W=W;!W&&ne&&(W=ne.semanticColors.primaryButtonBackground);q=Sm(oe,{theme:ne,beaconColorOne:X,beaconColorTwo:L,className:K,isCollapsed:V,isMeasuring:Y,color:W,transformOrigin:j,entityHostHeight:void 0===Z.height?void 0:Z.height+"px",entityHostWidth:void 0===Z.width?void 0:Z.width+"px",width:"32px",height:"32px",delayBeforeCoachmarkAnimation:q+"ms"}),Z=V?32:Z.height;return mt.createElement(bm,pt({target:J,offsetFromTarget:10,finalHeight:Z,ref:t,onPositioned:z,bounds:(B=(z=B).isPositionForced,z=z.positioningContainerProps,B?!z||z.directionalHint!==Ea.topAutoEdge&&z.directionalHint!==Ea.bottomAutoEdge?{left:-1/0,top:-1/0,bottom:1/0,right:1/0,width:1/0,height:1/0}:{left:0,top:-1/0,bottom:1/0,right:window.innerWidth,width:window.innerWidth,height:1/0}:void 0)},H),mt.createElement("div",{className:q.root},te&&mt.createElement("div",{className:q.ariaContainer,role:"alert","aria-hidden":!V},e),mt.createElement("div",{className:q.pulsingBeacon}),mt.createElement("div",{className:q.translateAnimationContainer,ref:A},mt.createElement("div",{className:q.scaleAnimationLayer},mt.createElement("div",{className:q.rotateAnimationLayer},(V||re)&&mt.createElement(Cm,pt({},U,{color:W})),mt.createElement("div",{className:q.entityHost,ref:w,tabIndex:-1,"data-is-focusable":!0,role:"dialog","aria-labelledby":$,"aria-describedby":O},V&&[$&&mt.createElement("p",{id:$,key:0,className:q.ariaContainer},ee),O&&mt.createElement("p",{id:O,key:1,className:q.ariaContainer},G)],mt.createElement(Mh,{isClickableOutsideFocusTrap:!0,forceFocusInsideTrap:!1},mt.createElement("div",{className:q.entityInnerHost,ref:F},mt.createElement("div",{className:q.childrenContainer,"aria-hidden":V},Q)))))))))});wm.displayName="CoachmarkBase";var Im=In(wm,function(e){var t=e.theme,o=e.className,n=e.color,r=e.beaconColorOne,i=e.beaconColorTwo,s=e.delayBeforeCoachmarkAnimation,a=e.isCollapsed,l=e.isMeasuring,c=e.entityHostHeight,u=e.entityHostWidth,e=e.transformOrigin;if(!t)throw new Error("theme is undefined or null in base Dropdown getStyles function.");i=Do.continuousPulseAnimationDouble(r||t.palette.themePrimary,i||t.palette.themeTertiary,"35px","150px","10px"),s=Do.createDefaultAnimation(i,s);return{root:[t.fonts.medium,{position:"relative"},o],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:Pn(t)?"translate(50%, -50%)":"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:"0"},a&&s],translateAnimationContainer:[{width:"100%",height:"100%"},a&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:um(),transition:"opacity 0.5s ease-in-out"},!a&&{opacity:"1"}],scaleAnimationLayer:[{width:"100%",height:"100%"},a&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:dm()}],rotateAnimationLayer:[{width:"100%",height:"100%"},a&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:pm()},!a&&{opacity:"1"}],entityHost:[{position:"relative",outline:"none",overflow:"hidden",backgroundColor:n,borderRadius:32,transition:"border-radius 250ms, width 500ms, height 500ms cubic-bezier(0.5, 0, 0, 1)",visibility:"hidden",selectors:((n={})[Yt]={backgroundColor:"Window",border:"2px solid WindowText"},n["."+go+" &:focus"]={outline:"1px solid "+t.palette.themeTertiary},n)},!l&&a&&{width:32,height:32},!l&&{visibility:"visible"},!a&&{borderRadius:"1px",opacity:"1",width:u,height:c}],entityInnerHost:[{transition:"transform 500ms cubic-bezier(0.5, 0, 0, 1)",transformOrigin:e,transform:"scale(0)"},!a&&{width:u,height:c,transform:"scale(1)"},!l&&{visibility:"visible"}],childrenContainer:[{display:!l&&a?"none":"block"}],ariaContainer:{position:"fixed",opacity:0,height:0,width:0,pointerEvents:"none"}}},void 0,{scope:"Coachmark"}),Dm=100,Tm=359,Em=100,Pm=255,Rm=Pm,Mm=100,Nm=3,Bm=6,Fm=1,Am=3,Lm=/^[\da-f]{0,6}$/i,Hm=/^\d{0,3}$/;function Om(e,t,o){o+=t*=(o<50?o:100-o)/100;return{h:e,s:0===o?0:2*t/o*100,v:o}}function zm(e,t,o){var n=[],r=(o/=100)*(t/=100),e=e/60,i=r*(1-Math.abs(e%2-1)),o=o-r;switch(Math.floor(e)){case 0:n=[r,i,0];break;case 1:n=[i,r,0];break;case 2:n=[0,r,i];break;case 3:n=[0,i,r];break;case 4:n=[i,0,r];break;case 5:n=[r,0,i]}return{r:Math.round(Pm*(n[0]+o)),g:Math.round(Pm*(n[1]+o)),b:Math.round(Pm*(n[2]+o))}}function Wm(e,t,o){o=Om(e,t,o);return zm(o.h,o.s,o.v)}function Vm(n){if(n)return Km(n)||function(e){if("#"===e[0]&&7===e.length&&/^#[\da-fA-F]{6}$/.test(e))return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:Mm}}(n)||function(e){if("#"===e[0]&&4===e.length&&/^#[\da-fA-F]{3}$/.test(e))return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:Mm}}(n)||function(){var e=n.match(/^hsl(a?)\(([\d., ]+)\)$/);if(e){var t=!!e[1],o=t?4:3,e=e[2].split(/ *, */).map(Number);if(e.length===o){o=Wm(e[0],e[1],e[2]);return o.a=t?100*e[3]:Mm,o}}}()||function(e){if("undefined"!=typeof document){var t=document.createElement("div");t.style.backgroundColor=e,t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.width="1px",document.body.appendChild(t);var o=getComputedStyle(t),o=o&&o.backgroundColor;if(document.body.removeChild(t),"rgba(0, 0, 0, 0)"!==o&&"transparent"!==o)return Km(o);switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}}}(n)}function Km(e){if(e){var t=e.match(/^rgb(a?)\(([\d., ]+)\)$/);if(t){var o=!!t[1],e=o?4:3,t=t[2].split(/ *, */).map(Number);if(t.length===e)return{r:t[0],g:t[1],b:t[2],a:o?100*t[3]:Mm}}}}function Gm(e,t,o){return e<(o=void 0===o?0:o)?o:t<e?t:e}function Um(e,t,o){return[jm(e),jm(t),jm(o)].join("")}function jm(e){e=(e=Gm(e,Pm)).toString(16);return 1===e.length?"0"+e:e}function qm(e,t,o){o=zm(e,t,o);return Um(o.r,o.g,o.b)}function Ym(e,t,o){var n=NaN,r=Math.max(e,t,o),i=r-Math.min(e,t,o);return 0==i?n=0:e===r?n=(t-o)/i%6:t===r?n=(o-e)/i+2:o===r&&(n=(e-t)/i+4),(n=Math.round(60*n))<0&&(n+=360),{h:n,s:Math.round(100*(0===r?0:i/r)),v:Math.round(r/Pm*100)}}function Zm(e,t,o){var n=(2-(t/=Dm))*(o/=Em);return{h:e,s:100*(t*o/(n<=1?n:2-n)||0),l:100*(n/=2)}}function Xm(e,t,o,n,r){return n===Mm||"number"!=typeof n?"#"+r:"rgba("+e+", "+t+", "+o+", "+n/Mm+")"}function Qm(e){var t=e.a,o=void 0===t?Mm:t,n=e.b,r=e.g,i=e.r,s=Ym(i,r,n),a=s.h,t=s.s,e=s.v,s=Um(i,r,n);return{a:o,b:n,g:r,h:a,hex:s,r:i,s:t,str:Xm(i,r,n,o,s),v:e,t:Mm-o}}function Jm(e){var t=Vm(e);if(t)return pt(pt({},Qm(t)),{str:e})}function $m(e,t){var o=e.h,n=e.s,r=e.v;t="number"==typeof t?t:Mm;var i=zm(o,n,r),s=i.r,a=i.g,e=i.b,i=qm(o,n,r);return{a:t,b:e,g:a,h:o,hex:i,r:s,s:n,str:Xm(s,a,e,t,i),v:r,t:Mm-t}}function eg(e){return"#"+qm(e.h,Dm,Em)}function tg(e,t,o){var n=zm(e.h,t,o),r=n.r,i=n.g,s=n.b,n=Um(r,i,s);return pt(pt({},e),{s:t,v:o,r:r,g:i,b:s,hex:n,str:Xm(r,i,s,e.a,n)})}function og(e,t){var o=zm(t,e.s,e.v),n=o.r,r=o.g,i=o.b,o=Um(n,r,i);return pt(pt({},e),{h:t,r:n,g:r,b:i,hex:o,str:Xm(n,r,i,e.a,o)})}function ng(e,t,o){return Qm(((e={r:e.r,g:e.g,b:e.b,a:e.a})[t]=o,e))}function rg(e,t){return pt(pt({},e),{a:t,t:Mm-t,str:Xm(e.r,e.g,e.b,t,e.hex)})}function ig(e){return{r:Gm(e.r,Pm),g:Gm(e.g,Pm),b:Gm(e.b,Pm),a:"number"==typeof e.a?Gm(e.a,Mm):e.a}}function sg(e){return{h:Gm(e.h,Tm),s:Gm(e.s,Dm),v:Gm(e.v,Em)}}function ag(e){return!e||e.length<Nm?"ffffff":e.length>=Bm?e.substring(0,Bm):e.substring(0,Nm)}var lg,cg=[.027,.043,.082,.145,.184,.216,.349,.537],ug=[.537,.45,.349,.216,.184,.145,.082,.043],dg=[.537,.349,.216,.184,.145,.082,.043,.027],pg=[.537,.45,.349,.216,.184,.145,.082,.043],hg=[.88,.77,.66,.55,.44,.33,.22,.11],mg=[.11,.22,.33,.44,.55,.66,.77,.88],gg=[.96,.84,.7,.4,.12],fg=[.1,.24,.44];function vg(e){return"number"==typeof e&&e>=lg.Unshaded&&e<=lg.Shade8}function bg(e,t){return{h:e.h,s:e.s,v:Gm(e.v-e.v*t,100,0)}}function yg(e,t){return{h:e.h,s:Gm(e.s-e.s*t,100,0),v:Gm(e.v+(100-e.v)*t,100,0)}}function Cg(e){return Zm(e.h,e.s,e.v).l<50}function _g(e,t,o){if(!e)return null;if(t===lg.Unshaded||!vg(t))return e;var n=Zm(e.h,e.s,e.v),r={h:e.h,s:e.s,v:e.v},i=t-1,s=yg,t=bg;return(o=void 0===o?!1:o)&&(s=bg,t=yg),Qm(da(zm((r=e.r===Pm&&e.g===Pm&&e.b===Pm?bg(r,dg[i]):0===e.r&&0===e.g&&0===e.b?yg(r,pg[i]):.8<n.l/100?t(r,mg[i]):n.l/100<.2?s(r,hg[i]):i<gg.length?s(r,gg[i]):t(r,fg[i-gg.length])).h,r.s,r.v),{a:e.a}))}function Sg(e,t,o){if(!e)return null;if(t===lg.Unshaded||!vg(t))return e;var n={h:e.h,s:e.s,v:e.v},t=t-1;return Qm(da(zm((n=(o=void 0===o?!1:o)?yg(n,ug[pg.length-1-t]):bg(n,cg[t])).h,n.s,n.v),{a:e.a}))}function xg(e,t){function o(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}e=.2126*o(e.r/Pm)+.7152*o(e.g/Pm)+.0722*o(e.b/Pm);e+=.05;t=.2126*o(t.r/Pm)+.7152*o(t.g/Pm)+.0722*o(t.b/Pm);return 1<e/(t+=.05)?e/t:t/e}function kg(e,t){var o=Mm-t;return pt(pt({},e),{t:t,a:o,str:Xm(e.r,e.g,e.b,o,e.hex)})}function wg(){}function Ig(e){}function Dg(e,t){return void 0!==e[t]&&null!==e[t]}(U=lg=lg||{})[U.Unshaded=0]="Unshaded",U[U.Shade1=1]="Shade1",U[U.Shade2=2]="Shade2",U[U.Shade3=3]="Shade3",U[U.Shade4=4]="Shade4",U[U.Shade5=5]="Shade5",U[U.Shade6=6]="Shade6",U[U.Shade7=7]="Shade7",U[U.Shade8=8]="Shade8";var Tg,Eg,Pg=Fn(),Rg=(l(Mg,Eg=mt.Component),Object.defineProperty(Mg.prototype,"value",{get:function(){return Ng(this.props,this.state)},enumerable:!1,configurable:!0}),Mg.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},Mg.prototype.componentWillUnmount=function(){this._async.dispose()},Mg.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},Mg.prototype.componentDidUpdate=function(e,t,o){var n=this.props,r=(o||{}).selection,o=void 0===r?[null,null]:r,r=o[0],o=o[1];!!e.multiline!=!!n.multiline&&t.isFocused&&(this.focus(),null!==r&&null!==o&&0<=r&&0<=o&&this.setSelectionRange(r,o)),e.value!==n.value&&(this._lastChangeValue=void 0);o=Ng(e,t),t=this.value;o!==t&&(this._warnControlledUsage(e),this.state.errorMessage&&!n.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),Bg(n)&&this._delayedValidate(t))},Mg.prototype.render=function(){var e,t=this.props,o=t.borderless,n=t.className,r=t.disabled,i=t.iconProps,s=t.inputClassName,a=t.label,l=t.multiline,c=t.required,u=t.underlined,d=t.prefix,p=t.resizable,h=t.suffix,m=t.theme,g=t.styles,f=t.autoAdjustHeight,v=t.canRevealPassword,b=t.revealPasswordAriaLabel,y=t.type,C=t.onRenderPrefix,_=void 0===C?this._onRenderPrefix:C,S=t.onRenderSuffix,x=void 0===S?this._onRenderSuffix:S,k=t.onRenderLabel,w=void 0===k?this._onRenderLabel:k,C=t.onRenderDescription,S=void 0===C?this._onRenderDescription:C,k=this.state,t=k.isFocused,C=k.isRevealingPassword,k=this._errorMessage,e=!!v&&"password"===y&&("boolean"!=typeof Tg&&(e=qe(),Tg=null==e||!e.navigator||(e=/^Edg/.test(e.navigator.userAgent||""),!(pi()||e))),Tg),f=this._classNames=Pg(g,{theme:m,className:n,disabled:r,focused:t,required:c,multiline:l,hasLabel:!!a,hasErrorMessage:!!k,borderless:o,resizable:p,hasIcon:!!i,underlined:u,inputClassName:s,autoAdjustHeight:f,hasRevealButton:e});return mt.createElement("div",{ref:this.props.elementRef,className:f.root},mt.createElement("div",{className:f.wrapper},w(this.props,this._onRenderLabel),mt.createElement("div",{className:f.fieldGroup},(void 0!==d||this.props.onRenderPrefix)&&mt.createElement("div",{className:f.prefix},_(this.props,this._onRenderPrefix)),l?this._renderTextArea():this._renderInput(),i&&mt.createElement(Wr,pt({className:f.icon},i)),e&&mt.createElement("button",{"aria-label":b,className:f.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!C,type:"button"},mt.createElement("span",{className:f.revealSpan},mt.createElement(Wr,{className:f.revealIcon,iconName:C?"Hide":"RedEye"}))),(void 0!==h||this.props.onRenderSuffix)&&mt.createElement("div",{className:f.suffix},x(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&mt.createElement("span",{id:this._descriptionId},S(this.props,this._onRenderDescription),k&&mt.createElement("div",{role:"alert"},mt.createElement(Ri,null,this._renderErrorMessage()))))},Mg.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},Mg.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},Mg.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},Mg.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},Mg.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(Mg.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(Mg.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Mg.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},Mg.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,Xo("Warning: 'value' prop on 'TextField' should not be null. Consider using an empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(Mg.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(Mg.prototype,"_isControlled",{get:function(){return Dg(this.props,"value")},enumerable:!1,configurable:!0}),Mg.prototype._onRenderPrefix=function(e){e=e.prefix;return mt.createElement("span",{style:{paddingBottom:"1px"}},e)},Mg.prototype._onRenderSuffix=function(e){e=e.suffix;return mt.createElement("span",{style:{paddingBottom:"1px"}},e)},Object.defineProperty(Mg.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),Mg.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?mt.createElement("p",{className:this._classNames.errorMessage},mt.createElement("span",{"data-automation-id":"error-message"},e)):mt.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(Mg.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),Mg.prototype._renderTextArea=function(){var e=ur(this.props,Xn,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return mt.createElement("textarea",pt({id:this._id},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},Mg.prototype._renderInput=function(){var e=pt(pt({type:!this.state.isRevealingPassword&&this.props.type||"text",id:this._id},ur(this.props,Zn,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":this.props.ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,onFocus:this._onFocus,onBlur:this._onBlur}),t=function(e){return mt.createElement("input",pt({},e))};return(this.props.onRenderInput||t)(e,t)},Mg.prototype._validate=function(t){var e,o,n=this;this._latestValidateValue===t&&Bg(this.props)||(this._latestValidateValue=t,void 0!==(e=(e=this.props.onGetErrorMessage)&&e(t||""))?"string"!=typeof e&&"then"in e?(o=++this._lastValidation,e.then(function(e){o===n._lastValidation&&n.setState({errorMessage:e}),n._notifyAfterValidate(t,e)})):(this.setState({errorMessage:e}),this._notifyAfterValidate(t,e)):this._notifyAfterValidate(t,""))},Mg.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},Mg.prototype._adjustInputHeight=function(){var e;this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline&&((e=this._textElement.current).style.height="",e.style.height=e.scrollHeight+"px")},Mg.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},Mg);function Mg(e){var r=Eg.call(this,e)||this;r._textElement=mt.createRef(),r._onFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({isFocused:!0},function(){r.props.validateOnFocusIn&&r._validate(r.value)})},r._onBlur=function(e){r.props.onBlur&&r.props.onBlur(e),r.setState({isFocused:!1},function(){r.props.validateOnFocusOut&&r._validate(r.value)})},r._onRenderLabel=function(e){var t=e.label,o=e.required,n=r._classNames.subComponentStyles?r._classNames.subComponentStyles.label:void 0;return t?mt.createElement(qh,{required:o,htmlFor:r._id,styles:n,disabled:e.disabled,id:r._labelId},e.label):null},r._onRenderDescription=function(e){return e.description?mt.createElement("span",{className:r._classNames.description},e.description):null},r._onRevealButtonClick=function(e){r.setState(function(e){return{isRevealingPassword:!e.isRevealingPassword}})},r._onInputChange=function(e){var t,o=e.target.value,n=Ng(r.props,r.state)||"";void 0!==o&&o!==r._lastChangeValue&&o!==n?(r._lastChangeValue=o,null===(n=(t=r.props).onChange)||void 0===n||n.call(t,e,o),r._isControlled||r.setState({uncontrolledValue:o})):r._lastChangeValue=void 0},fi(r),r._async=new Si(r),r._fallbackId=Cs("TextField"),r._descriptionId=Cs("TextFieldDescription"),r._labelId=Cs("TextFieldLabel"),r._warnControlledUsage();e=e.defaultValue,e=void 0===e?"":e;return"number"==typeof e&&(e=String(e)),r.state={uncontrolledValue:r._isControlled?void 0:e,isFocused:!1,errorMessage:""},r._delayedValidate=r._async.debounce(r._validate,r.props.deferredValidationTime),r._lastValidation=0,r}function Ng(e,t){e=e.value,e=void 0===e?t.uncontrolledValue:e;return"number"==typeof e?String(e):e}function Bg(e){return!e.validateOnFocusIn&&!e.validateOnFocusOut}var Fg={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",revealButton:"ms-TextField-reveal",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};var Ag,Lg,Hg,Og=In(Rg,function(e){var t,o,n,r,i,s,a,l=e.theme,c=e.className,u=e.disabled,d=e.focused,p=e.required,h=e.multiline,m=e.hasLabel,g=e.borderless,f=e.underlined,v=e.hasIcon,b=e.resizable,y=e.hasErrorMessage,C=e.inputClassName,_=e.autoAdjustHeight,S=e.hasRevealButton,x=l.semanticColors,k=l.effects,w=l.fonts,I=zo(Fg,l),D={background:x.disabledBackground,color:u?x.disabledText:x.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:((T={})[Yt]={background:"Window",color:u?"GrayText":"WindowText"},T)},T=[w.medium,{color:x.inputPlaceholderText,opacity:1,selectors:((E={})[Yt]={color:"GrayText"},E)}],E={color:x.disabledText,selectors:((E={})[Yt]={color:"GrayText"},E)};return{root:[I.root,w.medium,p&&I.required,u&&I.disabled,d&&I.active,h&&I.multiline,g&&I.borderless,f&&I.underlined,Uo,{position:"relative"},c],wrapper:[I.wrapper,f&&[{display:"flex",borderBottom:"1px solid "+(y?x.errorText:x.inputBorder),width:"100%"},u&&{borderBottomColor:x.disabledBackground,selectors:((c={})[Yt]=pt({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)},!u&&{selectors:{":hover":{borderBottomColor:y?x.errorText:x.inputBorderHovered,selectors:((t={})[Yt]=pt({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)}}},d&&[{position:"relative"},_o(y?x.errorText:x.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[I.fieldGroup,Uo,{border:"1px solid "+x.inputBorder,borderRadius:k.roundedCorner2,background:x.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},h&&{minHeight:"60px",height:"auto",display:"flex"},!d&&!u&&{selectors:{":hover":{borderColor:x.inputBorderHovered,selectors:((t={})[Yt]=pt({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)}}},d&&!f&&_o(y?x.errorText:x.inputFocusBorderAlt,k.roundedCorner2),u&&{borderColor:x.disabledBackground,selectors:((k={})[Yt]=pt({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),k),cursor:"default"},g&&{border:"none"},g&&d&&{border:"none",selectors:{":after":{border:"none"}}},f&&{flex:"1 1 0px",border:"none",textAlign:"left"},f&&u&&{backgroundColor:"transparent"},y&&!f&&{borderColor:x.errorText,selectors:{"&:hover":{borderColor:x.errorText}}},!m&&p&&{selectors:((o={":before":{content:"'*'",color:x.errorText,position:"absolute",top:-5,right:-10}})[Yt]={selectors:{":before":{color:"WindowText",right:-14}}},o)}],field:[w.medium,I.field,Uo,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:x.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:((o={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}})[Yt]={background:"Window",color:u?"GrayText":"WindowText"},o)},Zo(T),h&&!b&&[I.unresizable,{resize:"none"}],h&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},h&&_&&{overflow:"hidden"},v&&!S&&{paddingRight:24},h&&v&&{paddingRight:40},u&&[{backgroundColor:x.disabledBackground,color:x.disabledText,borderColor:x.disabledBackground},Zo(E)],f&&{textAlign:"left"},d&&!g&&{selectors:((f={})[Yt]={paddingLeft:11,paddingRight:11},f)},d&&h&&!g&&{selectors:((g={})[Yt]={paddingTop:4},g)},C],icon:[h&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:Ae.medium,lineHeight:18},u&&{color:x.disabledText}],description:[I.description,{color:x.bodySubtext,fontSize:w.xSmall.fontSize}],errorMessage:[I.errorMessage,Le.slideDownIn20,w.small,{color:x.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[I.prefix,D],suffix:[I.suffix,D],revealButton:[I.revealButton,"ms-Button","ms-Button--icon",bo(l,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:x.link,selectors:{":hover":{outline:0,color:x.primaryButtonBackgroundHovered,backgroundColor:x.buttonBackgroundHovered,selectors:((x={})[Yt]={borderColor:"Highlight",color:"Highlight"},x)},":focus":{outline:0}}},v&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:Ae.medium,lineHeight:18},subComponentStyles:{label:(n=(v=e).underlined,r=e.disabled,i=e.focused,s=(v=e.theme).palette,a=v.fonts,function(){var e;return{root:[n&&r&&{color:s.neutralTertiary},n&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},n&&i&&{selectors:((e={})[Yt]={height:31},e)}]}})}}},void 0,{scope:"TextField"}),zg=Fn(),V=(l(Qg,Hg=mt.Component),Object.defineProperty(Qg.prototype,"color",{get:function(){return this.state.color},enumerable:!1,configurable:!0}),Qg.prototype.componentDidUpdate=function(e,t){e!==this.props&&this.props.color&&this.setState({color:this.props.color})},Qg.prototype.componentWillUnmount=function(){this._disposeListeners()},Qg.prototype.render=function(){var e=this.props,t=e.minSize,o=e.theme,n=e.className,r=e.styles,i=e.ariaValueFormat,s=e.ariaLabel,a=e.ariaDescription,e=this.state.color,t=zg(r,{theme:o,className:n,minSize:t}),i=i.replace("{0}",String(e.s)).replace("{1}",String(e.v));return mt.createElement("div",{ref:this._root,tabIndex:0,className:t.root,style:{backgroundColor:eg(e)},onMouseDown:this._onMouseDown,onKeyDown:this._onKeyDown,role:"slider","aria-valuetext":i,"aria-valuenow":this._isAdjustingSaturation?e.s:e.v,"aria-valuemin":0,"aria-valuemax":Em,"aria-label":s,"aria-describedby":this._descriptionId,"data-is-focusable":!0},mt.createElement("div",{className:t.description,id:this._descriptionId},a),mt.createElement("div",{className:t.light}),mt.createElement("div",{className:t.dark}),mt.createElement("div",{className:t.thumb,style:{left:e.s+"%",top:Em-e.v+"%",backgroundColor:e.str}}))},Qg.prototype._updateColor=function(e,t){var o=this.props.onChange,n=this.state.color;t.s===n.s&&t.v===n.v||(o&&o(e,t),e.defaultPrevented||(this.setState({color:t}),e.preventDefault()))},Qg.defaultProps={minSize:220,ariaLabel:"Saturation and brightness",ariaValueFormat:"Saturation {0} brightness {1}",ariaDescription:"Use left and right arrow keys to set saturation. Use up and down arrow keys to set brightness."},Qg),Wg=In(V,function(e){var t=e.className,o=e.theme,n=e.minSize,e=o.palette,o=o.effects;return{root:["ms-ColorPicker-colorRect",{position:"relative",marginBottom:8,border:"1px solid "+e.neutralLighter,borderRadius:o.roundedCorner2,minWidth:n,minHeight:n,outline:"none",selectors:((n={})[Yt]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n["."+go+" &:focus"]={outline:"1px solid "+e.neutralSecondary},n)},t],light:["ms-ColorPicker-light",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to right, white 0%, transparent 100%) /*@noflip*/"}],dark:["ms-ColorPicker-dark",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to bottom, transparent 0, #000 100%)"}],thumb:["ms-ColorPicker-thumb",{position:"absolute",width:20,height:20,background:"white",border:"1px solid "+e.neutralSecondaryAlt,borderRadius:"50%",boxShadow:o.elevation8,transform:"translate(-50%, -50%)",selectors:{":before":{position:"absolute",left:0,right:0,top:0,bottom:0,border:"2px solid "+e.white,borderRadius:"50%",boxSizing:"border-box",content:'""'}}}],description:So}},void 0,{scope:"ColorRectangle"}),Vg=Fn(),xe=(l(Xg,Lg=mt.Component),Object.defineProperty(Xg.prototype,"value",{get:function(){return this.state.currentValue},enumerable:!1,configurable:!0}),Xg.prototype.componentDidUpdate=function(e,t){e!==this.props&&void 0!==this.props.value&&this.setState({currentValue:this.props.value})},Xg.prototype.componentWillUnmount=function(){this._disposeListeners()},Xg.prototype.render=function(){var e=this._type,t=this._maxValue,o=this.props,n=o.overlayStyle,r=o.overlayColor,i=o.theme,s=o.className,a=o.styles,l=o.ariaLabel,o=void 0===l?e:l,l=this.value,i=Vg(a,{theme:i,className:s,type:e}),s=100*l/t;return mt.createElement("div",{ref:this._root,className:i.root,tabIndex:0,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,role:"slider","aria-valuenow":l,"aria-valuetext":String(l),"aria-valuemin":0,"aria-valuemax":t,"aria-label":o,"data-is-focusable":!0},!(!r&&!n)&&mt.createElement("div",{className:i.sliderOverlay,style:r?{background:"transparency"===e?"linear-gradient(to right, #"+r+", transparent)":"linear-gradient(to right, transparent, #"+r+")"}:n}),mt.createElement("div",{className:i.sliderThumb,style:{left:s+"%"}}))},Object.defineProperty(Xg.prototype,"_type",{get:function(){var e=this.props,t=e.isAlpha,e=e.type;return void 0===e?t?"alpha":"hue":e},enumerable:!1,configurable:!0}),Object.defineProperty(Xg.prototype,"_maxValue",{get:function(){return"hue"===this._type?Tm:Mm},enumerable:!1,configurable:!0}),Xg.prototype._updateValue=function(e,t){var o;t!==this.value&&((o=this.props.onChange)&&o(e,t),e.defaultPrevented||(this.setState({currentValue:t}),e.preventDefault()))},Xg.defaultProps={value:0},Xg),Kg={background:"linear-gradient("+["to left","red 0","#f09 10%","#cd00ff 20%","#3200ff 30%","#06f 40%","#00fffd 50%","#0f6 60%","#35ff00 70%","#cdff00 80%","#f90 90%","red 100%"].join(",")+")"},Gg={backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)"},Ug=In(xe,function(e){var t=e.theme,o=e.className,n=e.type,r=e.isAlpha,e=void 0===r?"hue"!==(void 0===n?"hue":n):r,n=t.palette,r=t.effects;return{root:["ms-ColorPicker-slider",{position:"relative",height:20,marginBottom:8,border:"1px solid "+n.neutralLight,borderRadius:r.roundedCorner2,boxSizing:"border-box",outline:"none",selectors:((t={})["."+go+" &:focus"]={outline:"1px solid "+n.neutralSecondary},t)},e?Gg:Kg,o],sliderOverlay:["ms-ColorPicker-sliderOverlay",{content:"",position:"absolute",left:0,right:0,top:0,bottom:0}],sliderThumb:["ms-ColorPicker-thumb","is-slider",{position:"absolute",width:20,height:20,background:"white",border:"1px solid "+n.neutralSecondaryAlt,borderRadius:"50%",boxShadow:r.elevation8,transform:"translate(-50%, -50%)",top:"50%"}]}},void 0,{scope:"ColorSlider"}),jg=Fn(),qg=["hex","r","g","b","a","t"],Yg=(l(Zg,Ag=mt.Component),Object.defineProperty(Zg.prototype,"color",{get:function(){return this.state.color},enumerable:!1,configurable:!0}),Zg.prototype.componentDidUpdate=function(e,t){e===this.props||(e=Jg(this.props))&&this._updateColor(void 0,e)},Zg.prototype.render=function(){var t=this,e=this.props,o=this._strings,n=this._textLabels,r=e.theme,i=e.className,s=e.styles,a=e.alphaType,l=e.alphaSliderHidden,c=void 0===l?"none"===a:l,u=this.state.color,d="transparency"===a,p=["hex","r","g","b",d?"t":"a"],h=d?u.t:u.a,l=d?n.t:n.a,m=jg(s,{theme:r,className:i,alphaType:a}),i=[n.r,u.r,n.g,u.g,n.b,u.b];c||"number"!=typeof h||i.push(l,h+"%");i=o.rootAriaLabelFormat.replace("{0}",i.join(" "));return mt.createElement("div",{className:m.root,role:"group","aria-label":i},mt.createElement("div",{className:m.panel},mt.createElement(Wg,{color:u,onChange:this._onSVChanged,ariaLabel:o.svAriaLabel,ariaDescription:o.svAriaDescription,ariaValueFormat:o.svAriaValueFormat,className:m.colorRectangle}),mt.createElement("div",{className:m.flexContainer},mt.createElement("div",{className:m.flexSlider},mt.createElement(Ug,{className:"is-hue",type:"hue",ariaLabel:o.hue||o.hueAriaLabel,value:u.h,onChange:this._onHChanged}),!c&&mt.createElement(Ug,{className:"is-alpha",type:a,ariaLabel:d?o.transparencyAriaLabel:o.alphaAriaLabel,overlayColor:u.hex,value:h,onChange:this._onATChanged})),e.showPreview&&mt.createElement("div",{className:m.flexPreviewBox},mt.createElement("div",{className:m.colorSquare+" is-preview",style:{backgroundColor:u.str}}))),mt.createElement("table",{className:m.table,role:"group",cellPadding:"0",cellSpacing:"0"},mt.createElement("thead",null,mt.createElement("tr",{className:m.tableHeader},mt.createElement("td",{className:m.tableHexCell},n.hex),mt.createElement("td",null,n.r),mt.createElement("td",null,n.g),mt.createElement("td",null,n.b),!c&&mt.createElement("td",{className:m.tableAlphaCell},l))),mt.createElement("tbody",null,mt.createElement("tr",null,p.map(function(e){return"a"!==e&&"t"!==e||!c?mt.createElement("td",{key:e},mt.createElement(Og,{className:m.input,onChange:t._textChangeHandlers[e],onBlur:t._onBlur,value:t._getDisplayValue(e),spellCheck:!1,ariaLabel:n[e],autoComplete:"off"})):null}))))))},Zg.prototype._getDisplayValue=function(e){var t=this.state,o=t.color,t=t.editingColor;return t&&t.component===e?t.value:"hex"===e?o[e]||"":"number"!=typeof o[e]||isNaN(o[e])?"":String(o[e])},Zg.prototype._onTextChange=function(e,t,o){var n,r=this.state.color,i="hex"===e,s="a"===e,a="t"===e;o=(o||"").substr(0,i?Bm:Am),(i?Lm:Hm).test(o)&&(""!==o&&(i?o.length===Bm:s||a?Number(o)<=Mm:Number(o)<=Pm)?String(r[e])===o?this.state.editingColor&&this.setState({editingColor:void 0}):(n=i?Jm("#"+o):a?kg(r,Number(o)):Qm(pt(pt({},r),((n={})[e]=Number(o),n))),this._updateColor(t,n)):this.setState({editingColor:{component:e,value:o}}))},Zg.prototype._updateColor=function(e,t){var o,n;t&&(o=(n=this.state).color,n=n.editingColor,t.h===o.h&&t.str===o.str&&!n||e&&this.props.onChange&&(this.props.onChange(e,t),e.defaultPrevented)||this.setState({color:t,editingColor:void 0}))},Zg.defaultProps={alphaType:"alpha",strings:{rootAriaLabelFormat:"Color picker, {0} selected.",hex:"Hex",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",transparency:"Transparency",hueAriaLabel:"Hue",svAriaLabel:V.defaultProps.ariaLabel,svAriaValueFormat:V.defaultProps.ariaValueFormat,svAriaDescription:V.defaultProps.ariaDescription}},Zg);function Zg(e){var l=Ag.call(this,e)||this;l._onSVChanged=function(e,t){l._updateColor(e,t)},l._onHChanged=function(e,t){l._updateColor(e,og(l.state.color,t))},l._onATChanged=function(e,t){var o="transparency"===l.props.alphaType?kg:rg;l._updateColor(e,o(l.state.color,Math.round(t)))},l._onBlur=function(e){var t,o,n,r,i=l.state,s=i.color,a=i.editingColor;a&&(t=a.value,n="a"===(o=a.component),r="t"===o,t.length>=((i="hex"===o)?Nm:Fm)&&(i||!isNaN(Number(t)))?(a=void 0,a=i?Jm("#"+ag(t)):n||r?(n?rg:kg)(s,Gm(Number(t),Mm)):Qm(ig(pt(pt({},s),((s={})[o]=Number(t),s)))),l._updateColor(e,a)):l.setState({editingColor:void 0}))},fi(l);var t=e.strings;t.hue&&Xo("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),l.state={color:Jg(e)||Jm("#ffffff")},l._textChangeHandlers={};for(var o=0,n=qg;o<n.length;o++){var r=n[o];l._textChangeHandlers[r]=l._onTextChange.bind(l,r)}var i=Zg.defaultProps.strings;return l._textLabels={r:e.redLabel||t.red||i.red,g:e.greenLabel||t.green||i.green,b:e.blueLabel||t.blue||i.blue,a:e.alphaLabel||t.alpha||i.alpha,hex:e.hexLabel||t.hex||i.hex,t:t.transparency||i.transparency},l._strings=pt(pt(pt({},i),{alphaAriaLabel:l._textLabels.a,transparencyAriaLabel:l._textLabels.t}),t),l}function Xg(e){var r=Lg.call(this,e)||this;return r._disposables=[],r._root=mt.createRef(),r._onKeyDown=function(e){var t=r.value,o=r._maxValue,n=e.shiftKey?10:1;switch(e.which){case Tn.left:t-=n;break;case Tn.right:t+=n;break;case Tn.home:t=0;break;case Tn.end:t=o;break;default:return}r._updateValue(e,Gm(t,o))},r._onMouseDown=function(e){var t=qe(r);t&&r._disposables.push(Ha(t,"mousemove",r._onMouseMove,!0),Ha(t,"mouseup",r._disposeListeners,!0)),r._onMouseMove(e)},r._onMouseMove=function(e){var t,o;r._root.current&&(o=r._maxValue,t=r._root.current.getBoundingClientRect(),t=(e.clientX-t.left)/t.width,o=Gm(Math.round(t*o),o),r._updateValue(e,o))},r._disposeListeners=function(){r._disposables.forEach(function(e){return e()}),r._disposables=[]},fi(r),"hue"===r._type||e.overlayColor||e.overlayStyle||Xo("ColorSlider: 'overlayColor' is required when 'type' is \"alpha\" or \"transparency\""),r.state={currentValue:e.value||0},r}function Qg(e){var i=Hg.call(this,e)||this;return i._disposables=[],i._root=mt.createRef(),i._isAdjustingSaturation=!0,i._descriptionId=Cs("ColorRectangle-description"),i._onKeyDown=function(e){var t=i.state.color,o=t.s,n=t.v,r=e.shiftKey?10:1;switch(e.which){case Tn.up:i._isAdjustingSaturation=!1,n+=r;break;case Tn.down:i._isAdjustingSaturation=!1,n-=r;break;case Tn.left:i._isAdjustingSaturation=!0,o-=r;break;case Tn.right:i._isAdjustingSaturation=!0,o+=r;break;default:return}i._updateColor(e,tg(t,Gm(o,Dm),Gm(n,Em)))},i._onMouseDown=function(e){i._disposables.push(Ha(window,"mousemove",i._onMouseMove,!0),Ha(window,"mouseup",i._disposeListeners,!0)),i._onMouseMove(e)},i._onMouseMove=function(e){var t,o,n,r;i._root.current&&(t=e,o=i.state.color,n=i._root.current.getBoundingClientRect(),r=(t.clientX-n.left)/n.width,n=(t.clientY-n.top)/n.height,(n=tg(o,Gm(Math.round(r*Dm),Dm),Gm(Math.round(Em-n*Em),Em)))&&i._updateColor(e,n))},i._disposeListeners=function(){i._disposables.forEach(function(e){return e()}),i._disposables=[]},fi(i),i.state={color:e.color},i}function Jg(e){e=e.color;return"string"==typeof e?Jm(e):e}var $g,ef,tf,of=In(Yg,function(e){var t=e.className,o=e.theme,e=e.alphaType;return{root:["ms-ColorPicker",o.fonts.medium,{position:"relative",maxWidth:300},t],panel:["ms-ColorPicker-panel",{padding:"16px"}],table:["ms-ColorPicker-table",{tableLayout:"fixed",width:"100%",selectors:{"tbody td:last-of-type .ms-ColorPicker-input":{paddingRight:0}}}],tableHeader:[o.fonts.small,{selectors:{td:{paddingBottom:4}}}],tableHexCell:{width:"25%"},tableAlphaCell:"transparency"===e&&{width:"22%"},colorSquare:["ms-ColorPicker-colorSquare",{width:48,height:48,margin:"0 0 0 8px",border:"1px solid #c8c6c4"}],flexContainer:{display:"flex"},flexSlider:{flexGrow:"1"},flexPreviewBox:{flexGrow:"0"},input:["ms-ColorPicker-input",{width:"100%",border:"none",boxSizing:"border-box",height:30,selectors:{"&.ms-TextField":{paddingRight:4},"& .ms-TextField-field":{minWidth:"auto",padding:5,textOverflow:"clip"}}}]}},void 0,{scope:"ColorPicker"}),nf=Ao(function(e){var e=e.semanticColors;return{backgroundColor:e.disabledBackground,color:e.disabledText,cursor:"default",selectors:((e={":after":{borderColor:e.disabledBackground}})[Yt]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},e)}}),rf={selectors:((G={})[Yt]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),G)},sf={selectors:((Y={})[Yt]=pt({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Y)},af=Ao(function(e,t,o,n,r,i){var s=e.palette,a=e.semanticColors,a={textHoveredColor:a.menuItemTextHovered,textSelectedColor:s.neutralDark,textDisabledColor:a.disabledText,backgroundHoveredColor:a.menuItemBackgroundHovered,backgroundPressedColor:a.menuItemBackgroundPressed};return un({root:[e.fonts.medium,{backgroundColor:n?a.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:r?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:((r={})[Yt]={border:"none",borderColor:"Background"},r["&.ms-Checkbox"]={display:"flex",alignItems:"center"},r["&.ms-Button--command:hover:active"]={backgroundColor:a.backgroundPressedColor},r[".ms-Checkbox-label"]={width:"100%"},r)},i?[{backgroundColor:"transparent",color:a.textSelectedColor,selectors:{":hover":[{backgroundColor:a.backgroundHoveredColor},rf]}},bo(e,{inset:-1,isFocusedOnly:!1}),rf]:[]],rootHovered:{backgroundColor:a.backgroundHoveredColor,color:a.textHoveredColor},rootFocused:{backgroundColor:a.backgroundHoveredColor},rootDisabled:{color:a.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}},t,o)}),lf=Ao(function(e,t){var o,n=e.semanticColors,r=e.fonts,i={buttonTextColor:n.bodySubtext,buttonTextHoveredCheckedColor:n.buttonTextChecked,buttonBackgroundHoveredColor:n.listItemBackgroundHovered,buttonBackgroundCheckedColor:n.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:n.listItemBackgroundCheckedHovered},n={selectors:((o={})[Yt]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)};return un({root:{color:i.buttonTextColor,fontSize:r.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:((o={})[Yt]=pt({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},icon:{fontSize:r.small.fontSize},rootHovered:[{backgroundColor:i.buttonBackgroundHoveredColor,color:i.buttonTextHoveredCheckedColor,cursor:"pointer"},n],rootPressed:[{backgroundColor:i.buttonBackgroundCheckedColor,color:i.buttonTextHoveredCheckedColor},n],rootChecked:[{backgroundColor:i.buttonBackgroundCheckedColor,color:i.buttonTextHoveredCheckedColor},n],rootCheckedHovered:[{backgroundColor:i.buttonBackgroundCheckedHoveredColor,color:i.buttonTextHoveredCheckedColor},n],rootDisabled:[nf(e),{position:"absolute"}]},t)}),cf=Ao(function(e,t,o){var n=e.semanticColors,r=e.fonts,i=e.effects,s={textColor:n.inputText,borderColor:n.inputBorder,borderHoveredColor:n.inputBorderHovered,borderPressedColor:n.inputFocusBorderAlt,borderFocusedColor:n.inputFocusBorderAlt,backgroundColor:n.inputBackground,erroredColor:n.errorText},a={headerTextColor:n.menuHeader,dividerBorderColor:n.bodyDivider},l={selectors:((h={})[Yt]={color:"GrayText"},h)},c=[{color:n.inputPlaceholderText},l],u=[{color:n.inputTextHovered},l],d=[{color:n.disabledText},l],p=pt(pt({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),h=_o(s.borderPressedColor,i.roundedCorner2,"border",0);return un({container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:s.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:s.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:((l={})[Yt]=p,l)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:s.borderColor,borderRadius:i.roundedCorner2}}}],rootHovered:{selectors:((u={":after":{borderColor:s.borderHoveredColor},".ms-ComboBox-Input":[{color:n.inputTextHovered},Zo(u),sf]})[Yt]=pt(pt({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),u)},rootPressed:[{position:"relative",selectors:((u={})[Yt]=p,u)}],rootFocused:[{selectors:((u={".ms-ComboBox-Input":[{color:n.inputTextHovered},sf]})[Yt]=p,u)},h],rootDisabled:nf(e),rootError:{selectors:{":after":{borderColor:s.erroredColor},":hover:after":{borderColor:n.inputBorderHovered}}},rootDisallowFreeForm:{},input:[Zo(c),{backgroundColor:s.backgroundColor,color:s.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},sf],inputDisabled:[nf(e),Zo(d)],errorMessage:[e.fonts.small,{color:s.erroredColor,marginTop:"5px"}],callout:{boxShadow:i.elevation8},optionsContainerWrapper:{width:o},optionsContainer:{display:"block"},screenReaderText:So,header:[r.medium,{fontWeight:Fe.semibold,color:a.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:((r={})[Yt]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}],divider:{height:1,backgroundColor:a.dividerBorderColor}},t)}),uf=Ao(function(e,t,o,n,r,i,s,a){return{container:j("ms-ComboBox-container",t,e.container),label:j(e.label,n&&e.labelDisabled),root:j("ms-ComboBox",a?e.rootError:o&&"is-open",r&&"is-required",e.root,!s&&e.rootDisallowFreeForm,a&&!i?e.rootError:!n&&i&&e.rootFocused,!n&&{selectors:{":hover":a?e.rootError:!o&&!i&&e.rootHovered,":active":a?e.rootError:e.rootPressed,":focus":a?e.rootError:e.rootFocused}},n&&["is-disabled",e.rootDisabled]),input:j("ms-ComboBox-Input",e.input,n&&e.inputDisabled),errorMessage:j(e.errorMessage),callout:j("ms-ComboBox-callout",e.callout),optionsContainerWrapper:j("ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:j("ms-ComboBox-optionsContainer",e.optionsContainer),header:j("ms-ComboBox-header",e.header),divider:j("ms-ComboBox-divider",e.divider),screenReaderText:j(e.screenReaderText)}}),df=Ao(function(e){return{optionText:j("ms-ComboBox-optionText",e.optionText),root:j("ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:j(e.optionTextWrapper)}});function pf(e,t){for(var o=[],n=0,r=t;n<r.length;n++){var i=e[r[n]];i&&o.push(i)}return o}(ke=$g=$g||{})[ke.Normal=0]="Normal",ke[ke.Divider=1]="Divider",ke[ke.Header=2]="Header",ke[ke.SelectAll=3]="SelectAll",(K=ef=ef||{})[K.backward=-1]="backward",K[K.none=0]="none",K[K.forward=1]="forward",(U=tf=tf||{})[U.clearAll=-2]="clearAll",U[U.default=-1]="default";var hf=mt.memo(function(e){return(0,e.render)()},function(e,t){e.render;e=ht(e,["render"]);return t.render,ua(e,ht(t,["render"]))}),mf={options:[],allowFreeform:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}},gf=mt.forwardRef(function(e,t){var o,n,r,i,s,a,l,c=Hn(mf,e),u=(c.ref,ht(c,["ref"])),d=mt.useRef(null),p=_r(d,t),c=(o=u.options,n=u.defaultSelectedKey,r=u.selectedKey,i=mt.useState(function(){return yf(o,(e=Cf(n)).length?e:Cf(r));var e}),e=i[0],s=i[1],c=mt.useState(o),t=c[0],a=c[1],i=mt.useState(),c=i[0],l=i[1],mt.useEffect(function(){var e;void 0!==r&&(e=Cf(r),e=yf(o,e),s(e)),a(o)},[o,r]),mt.useEffect(function(){null===r&&l(void 0)},[r]),[e,s,t,a,c,l]);return mt.createElement(vf,pt({},u,{hoisted:{mergedRootRef:p,rootRef:d,selectedIndices:c[0],setSelectedIndices:c[1],currentOptions:c[2],setCurrentOptions:c[3],suggestedDisplayValue:c[4],setSuggestedDisplayValue:c[5]}}))});gf.displayName="ComboBox";var ff,vf=(l(bf,ff=mt.Component),Object.defineProperty(bf.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return pf(e.currentOptions,e.selectedIndices)},enumerable:!1,configurable:!0}),bf.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},bf.prototype.componentDidUpdate=function(e,t){var o=this,n=this.props,r=n.allowFreeform,i=n.text,s=n.onMenuOpen,a=n.onMenuDismissed,l=n.hoisted.selectedIndices,c=this.state,n=c.isOpen,c=c.currentPendingValueValidIndex;!n||t.isOpen&&t.currentPendingValueValidIndex===c||this._async.setTimeout(function(){return o._scrollIntoView()},0),this._hasFocus()&&(n||t.isOpen&&!n&&this._focusInputAfterClose&&this._autofill.current&&document.activeElement!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!n||this._hasFocus()&&(!n&&!this.props.multiSelect&&e.hoisted.selectedIndices&&l&&e.hoisted.selectedIndices[0]!==l[0]||!r||i!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),n&&!t.isOpen&&s&&s(),!n&&t.isOpen&&a&&a()},bf.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},bf.prototype.render=function(){var e=this._id+"-error",t=this.props,o=t.className,n=t.disabled,r=t.required,i=t.errorMessage,s=t.onRenderContainer,a=void 0===s?this._onRenderContainer:s,l=t.onRenderLabel,c=void 0===l?this._onRenderLabel:l,u=t.onRenderList,d=void 0===u?this._onRenderList:u,p=t.onRenderItem,h=void 0===p?this._onRenderItem:p,m=t.onRenderOption,g=void 0===m?this._onRenderOptionContent:m,f=t.allowFreeform,v=t.styles,b=t.theme,s=t.persistMenu,l=t.multiSelect,u=t.hoisted,p=u.suggestedDisplayValue,m=u.selectedIndices,t=u.currentOptions,u=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();l=l?this._getMultiselectDisplayString(m,t,p):void 0,m=ur(this.props,cr,["onChange","value"]),p=!!(i&&0<i.length);this._classNames=this.props.getClassNames?this.props.getClassNames(b,!!u,!!n,!!r,!!this._hasFocus(),!!f,!!p,o):uf(cf(b,v),o,!!u,!!n,!!r,!!this._hasFocus(),!!f,!!p);f=this._renderComboBoxWrapper(l,e);return mt.createElement("div",pt({},m,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),c({props:this.props,multiselectAccessibleText:l},this._onRenderLabel),f,(s||u)&&a(pt(pt({},this.props),{onRenderList:d,onRenderItem:h,onRenderOption:g,options:t.map(function(e,t){return pt(pt({},e),{index:t})}),onDismiss:this._onDismiss}),this._onRenderContainer),p&&mt.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},bf.prototype._getPendingString=function(e,t,o){return null!=e?e:Sf(t,o)?t[o].text:""},bf.prototype._getMultiselectDisplayString=function(e,t,o){for(var n=[],r=0;e&&r<e.length;r++){var i=e[r];t[i].itemType!==$g.SelectAll&&n.push(Sf(t,i)?t[i].text:o||"")}var s=this.props.multiSelectDelimiter;return n.join(void 0===s?", ":s)},bf.prototype._processInputChangeWithFreeform=function(t){var e=this.props.hoisted.currentOptions,o=-1;if(""===t)return 1===(r=e.map(function(e,t){return pt(pt({},e),{index:t})}).filter(function(e){return xf(e)&&wf(e)===t})).length&&(o=r[0].index),void this._setPendingInfo(t,o,t);var n=t;t=t.toLocaleLowerCase();var r,i,s="";"on"===this.props.autoComplete?0<(r=e.map(function(e,t){return pt(pt({},e),{index:t})}).filter(function(e){return xf(e)&&0===wf(e).toLocaleLowerCase().indexOf(t)})).length&&(s=(i=wf(r[0])).toLocaleLowerCase()!==t?i:"",o=r[0].index):1===(r=e.map(function(e,t){return pt(pt({},e),{index:t})}).filter(function(e){return xf(e)&&wf(e).toLocaleLowerCase()===t})).length&&(o=r[0].index),this._setPendingInfo(n,o,s)},bf.prototype._processInputChangeWithoutFreeform=function(t){var e=this,o=this.props.hoisted.currentOptions,n=this.state,r=n.currentPendingValue,n=n.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==t){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,t=(r||"")+t);r=t;t=t.toLocaleLowerCase();o=o.map(function(e,t){return pt(pt({},e),{index:t})}).filter(function(e){return xf(e)&&0===e.text.toLocaleLowerCase().indexOf(t)});return 0<o.length&&this._setPendingInfo(r,o[0].index,wf(o[0])),void(this._autoCompleteTimeout=this._async.setTimeout(function(){e._autoCompleteTimeout=void 0},1e3))}n=0<=n?n:this._getFirstSelectedIndex();this._setPendingInfoFromIndex(n)},bf.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return null!=e&&e.length?e[0]:-1},bf.prototype._getNextSelectableIndex=function(e,t){var o=this.props.hoisted.currentOptions,n=e+t;if(!Sf(o,n=Math.max(0,Math.min(o.length-1,n))))return-1;var r=o[n];if(!kf(r)||!0===r.hidden){if(t===ef.none||!(0<n&&t<ef.none||0<=n&&n<o.length&&t>ef.none))return e;n=this._getNextSelectableIndex(n,t)}return n},bf.prototype._setSelectedIndex=function(t,e,o){void 0===o&&(o=ef.none);var n=this.props,r=n.onChange,i=n.onPendingValueChanged,s=n.hoisted,n=s.selectedIndices,s=s.currentOptions,a=n?n.slice():[],l=s.slice();if(Sf(s,t=this._getNextSelectableIndex(t,o))){if(this.props.multiSelect||a.length<1||1===a.length&&a[0]!==t){var c,n=pt({},s[t]);if(!n||n.disabled)return;this.props.multiSelect?(n.selected=void 0!==n.selected?!n.selected:a.indexOf(t)<0,n.itemType===$g.SelectAll?(a=[],n.selected?s.forEach(function(e,t){!e.disabled&&kf(e)&&(a.push(t),l[t]=pt(pt({},e),{selected:!0}))}):l=s.map(function(e){return pt(pt({},e),{selected:!1})})):(n.selected&&a.indexOf(t)<0?a.push(t):!n.selected&&0<=a.indexOf(t)&&(a=a.filter(function(e){return e!==t})),l[t]=n,(o=l.filter(function(e){return e.itemType===$g.SelectAll})[0])&&(s=this._isSelectAllChecked(a),c=l.indexOf(o),s?(a.push(c),l[c]=pt(pt({},o),{selected:!0})):(a=a.filter(function(e){return e!==c}),l[c]=pt(pt({},o),{selected:!1}))))):a[0]=t,e.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(a),this.props.hoisted.setCurrentOptions(l)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),r&&r(e,n,t,void 0)}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},bf.prototype._submitPendingValue=function(e){var t=this.props,o=t.onChange,n=t.allowFreeform,r=t.autoComplete,i=t.multiSelect,s=t.hoisted,a=s.currentOptions,l=this.state,c=l.currentPendingValue,u=l.currentPendingValueValidIndex,d=l.currentPendingValueValidIndexOnHover,t=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(n){if(null==c)return void(0<=d&&(this._setSelectedIndex(d,e),this._clearPendingInfo()));if(Sf(a,u)){var l=wf(a[u]).toLocaleLowerCase(),n=this._autofill.current;if(c.toLocaleLowerCase()===l||r&&0===l.indexOf(c.toLocaleLowerCase())&&null!=n&&n.isValueSelected&&c.length+(n.selectionEnd-n.selectionStart)===l.length||(null===(n=null==n?void 0:n.inputElement)||void 0===n?void 0:n.value.toLocaleLowerCase())===l)return this._setSelectedIndex(u,e),i&&this.state.isOpen?void 0:void this._clearPendingInfo()}o?o(e,void 0,void 0,c):(c={key:c||Cs(),text:c||""},i&&(c.selected=!0),c=a.concat([c]),t&&(t=!i?[]:t).push(c.length-1),s.setCurrentOptions(c),s.setSelectedIndices(t))}else 0<=u?this._setSelectedIndex(u,e):0<=d&&this._setSelectedIndex(d,e);this._clearPendingInfo()}},bf.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},bf.prototype._renderSeparator=function(e){var t=e.index,e=e.key;return t&&0<t?mt.createElement("div",{role:"separator",key:e,className:this._classNames.divider}):null},bf.prototype._renderHeader=function(e){var t=this.props.onRenderOption,t=void 0===t?this._onRenderOptionContent:t;return mt.createElement("div",{key:e.key,className:this._classNames.header},t(e,this._onRenderOptionContent))},bf.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==tf.clearAll&&(0<=t?t===e:this._isOptionSelected(e))},bf.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},bf.prototype._isOptionChecked=function(e){return!(!this.props.multiSelect||void 0===e||!this.props.hoisted.selectedIndices)&&0<=this.props.hoisted.selectedIndices.indexOf(e)},bf.prototype._isOptionIndeterminate=function(e){var t=this.props,o=t.multiSelect,t=t.hoisted;if(o&&void 0!==e&&t.selectedIndices&&t.currentOptions){e=t.currentOptions[e];if(e&&e.itemType===$g.SelectAll)return 0<t.selectedIndices.length&&!this._isSelectAllChecked()}return!1},bf.prototype._isSelectAllChecked=function(e){var t=this.props,o=t.multiSelect,n=t.hoisted,t=n.currentOptions.find(function(e){return e.itemType===$g.SelectAll}),e=e||n.selectedIndices;if(!o||!e||!t)return!1;var r=n.currentOptions.indexOf(t),e=e.filter(function(e){return e!==r}),n=n.currentOptions.filter(function(e){return!e.disabled&&e.itemType!==$g.SelectAll&&kf(e)});return e.length===n.length},bf.prototype._getPendingSelectedIndex=function(e){var t=this.state,o=t.currentPendingValueValidIndex,t=t.currentPendingValue;return 0<=o||e&&null!=t?o:this.props.multiSelect?0:this._getFirstSelectedIndex()},bf.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,o=e.scrollSelectedToTop,n=this.state,e=n.currentPendingValueValidIndex,n=n.currentPendingValue;if(t)t(0<=e||""!==n?e:this._getFirstSelectedIndex());else if(this._selectedElement.current&&this._selectedElement.current.offsetParent)if(o)this._selectedElement.current.offsetParent.scrollIntoView(!0);else{n=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){e=this._comboBoxMenu.current.offsetParent.getBoundingClientRect(),o=this._selectedElement.current.offsetParent.getBoundingClientRect();if(e.top<=o.top&&e.top+e.height>=o.top+o.height)return;e.top+e.height<=o.top+o.height&&(n=!1)}this._selectedElement.current.offsetParent.scrollIntoView(n)}},bf.prototype._onItemClick=function(t){var o=this,n=this.props.onItemClick,r=t.index;return function(e){o.props.multiSelect||(o._autofill.current&&o._autofill.current.focus(),o.setState({isOpen:!1})),n&&n(e,t,r),o._setSelectedIndex(r,e)}},bf.prototype._resetSelectedIndex=function(){var e=this.props.hoisted.currentOptions;this._clearPendingInfo();var t=this._getFirstSelectedIndex();0<t&&t<e.length?this.props.hoisted.setSuggestedDisplayValue(e[t].text):this.props.text&&this.props.hoisted.setSuggestedDisplayValue(this.props.text)},bf.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.props.hoisted.setSuggestedDisplayValue(void 0),this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,currentPendingValueValidIndexOnHover:tf.default},this._onAfterClearPendingInfo)},bf.prototype._setPendingInfo=function(e,t,o){void 0===t&&(t=-1),this._processingClearPendingInfo||(this.props.hoisted.setSuggestedDisplayValue(o),this.setState({currentPendingValue:e||"",currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:tf.default}))},bf.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;0<=e&&e<t.length?(t=t[e],this._setPendingInfo(wf(t),e,wf(t))):this._clearPendingInfo()},bf.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var o=this.props.hoisted.currentOptions;t===ef.forward&&e>=o.length-1?e=-1:t===ef.backward&&e<=0&&(e=o.length);var n=this._getNextSelectableIndex(e,t);e===n?t===ef.forward?e=this._getNextSelectableIndex(-1,t):t===ef.backward&&(e=this._getNextSelectableIndex(o.length,t)):e=n,Sf(o,e)&&this._setPendingInfoFromIndex(e)},bf.prototype._notifyPendingValueChanged=function(e){var t,o,n,r,i,s,a=this.props.onPendingValueChanged;a&&(t=this.props.hoisted.currentOptions,o=(r=this.state).currentPendingValue,n=r.currentPendingValueValidIndex,s=i=void 0,(r=r.currentPendingValueValidIndexOnHover)!==e.currentPendingValueValidIndexOnHover&&Sf(t,r)?i=r:n!==e.currentPendingValueValidIndex&&Sf(t,n)?i=n:o!==e.currentPendingValue&&(s=o),void 0===i&&void 0===s&&!this._hasPendingValue||(a(void 0!==i?t[i]:void 0,i,s),this._hasPendingValue=void 0!==i||void 0!==s))},bf.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},bf.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},bf.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},bf.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},bf.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==Tn.tab&&e.which!==Tn.escape&&(e.which<112||123<e.which)&&(e.stopPropagation(),e.preventDefault()))},bf.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)},bf.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return lf(this.props.theme,e)},bf.prototype._getCurrentOptionStyles=function(e){var t=this.props.comboBoxOptionStyles,o=e.styles;return af(this.props.theme,t,o,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index))},bf.prototype._getAriaActiveDescendantValue=function(){var e=this.props.hoisted.selectedIndices,t=this.state,o=t.isOpen,t=t.currentPendingValueValidIndex,e=o&&null!=e&&e.length?this._id+"-list"+e[0]:void 0;return e=o&&this._hasFocus()&&-1!==t?this._id+"-list"+t:e},bf.prototype._getAriaAutoCompleteValue=function(){return this.props.disabled||"on"!==this.props.autoComplete?"none":this.props.allowFreeform?"inline":"both"},bf.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},bf.prototype._hasFocus=function(){return"none"!==this.state.focusState},c([Vu("ComboBox",["theme","styles"],!0)],bf));function bf(e){var v=ff.call(this,e)||this;return v._autofill=mt.createRef(),v._comboBoxWrapper=mt.createRef(),v._comboBoxMenu=mt.createRef(),v._selectedElement=mt.createRef(),v.focus=function(e,t){v._autofill.current&&(t?ms(v._autofill.current):v._autofill.current.focus(),e&&v.setState({isOpen:!0})),v._hasFocus()||v.setState({focusState:"focused"})},v.dismissMenu=function(){v.state.isOpen&&v.setState({isOpen:!1})},v._onUpdateValueInAutofillWillReceiveProps=function(){var e=v._autofill.current;if(!e)return null;if(null===e.value||void 0===e.value)return null;var t=_f(v._currentVisibleValue);return e.value!==t?t:e.value},v._renderComboBoxWrapper=function(e,t){var o=v.props,n=o.label,r=o.disabled,i=o.ariaLabel,s=o.ariaDescribedBy,a=o.required,l=o.errorMessage,c=o.buttonIconProps,u=o.isButtonAriaHidden,d=void 0===u||u,p=o.title,h=o.placeholder,m=o.tabIndex,g=o.autofill,f=o.iconButtonProps,u=o.hoisted.suggestedDisplayValue,o=v.state.isOpen,h=v._hasFocus()&&v.props.multiSelect&&e?e:h;return mt.createElement("div",{"data-ktp-target":!0,ref:v._comboBoxWrapper,id:v._id+"wrapper",className:v._classNames.root,"aria-owns":o?v._id+"-list":void 0},mt.createElement(ki,pt({"data-ktp-execute-target":!0,"data-is-interactable":!r,componentRef:v._autofill,id:v._id+"-input",className:v._classNames.input,type:"text",onFocus:v._onFocus,onBlur:v._onBlur,onKeyDown:v._onInputKeyDown,onKeyUp:v._onInputKeyUp,onClick:v._onAutofillClick,onTouchStart:v._onTouchStart,onInputValueChange:v._onInputChange,"aria-expanded":o,"aria-autocomplete":v._getAriaAutoCompleteValue(),role:"combobox",readOnly:r,"aria-labelledby":n&&v._id+"-label","aria-label":i&&!n?i:void 0,"aria-describedby":void 0!==l?wa(s,t):s,"aria-activedescendant":v._getAriaActiveDescendantValue(),"aria-required":a,"aria-disabled":r,"aria-controls":o?v._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:v._currentVisibleValue,suggestedDisplayValue:u,updateValueInWillReceiveProps:v._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:v._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:p,preventValueSelection:!v._hasFocus(),placeholder:h,tabIndex:r?-1:m},g)),mt.createElement(Xu,pt({className:"ms-ComboBox-CaretDown-button",styles:v._getCaretButtonStyles(),role:"presentation","aria-hidden":d,"data-is-focusable":!1,tabIndex:-1,onClick:v._onComboBoxClick,onBlur:v._onBlur,iconProps:c,disabled:r,checked:o},f)))},v._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return v._currentVisibleValue===v.props.hoisted.suggestedDisplayValue},v._getVisibleValue=function(){var e=v.props,t=e.text,o=e.allowFreeform,n=e.autoComplete,r=e.hoisted,i=r.suggestedDisplayValue,s=r.selectedIndices,a=r.currentOptions,l=v.state,c=l.currentPendingValueValidIndex,e=l.currentPendingValue,r=l.isOpen,l=Sf(a,c);if((!r||!l)&&t&&null==e)return t;if(v.props.multiSelect){if(v._hasFocus()){var u="on"===n&&l?c:-1;return v._getPendingString(e,a,u)}return v._getMultiselectDisplayString(s,a,i)}return u=v._getFirstSelectedIndex(),o?v._getPendingString(e,a,u="on"===n&&l?c:u):l&&"on"===n?(u=c,e||""):!v.state.isOpen&&e?Sf(a,u)?e:i||"":Sf(a,u)?wf(a[u]):i||""},v._onInputChange=function(e){v.props.disabled?v._handleInputWhenDisabled(null):v.props.allowFreeform?v._processInputChangeWithFreeform(e):v._processInputChangeWithoutFreeform(e)},v._onFocus=function(){var e;null===(e=null===(e=v._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===e||e.select(),v._hasFocus()||v.setState({focusState:"focusing"})},v._onResolveOptions=function(){var e,t;v.props.onResolveOptions&&(e=v.props.onResolveOptions($e(v.props.hoisted.currentOptions)),Array.isArray(e)?v.props.hoisted.setCurrentOptions(e):e&&e.then&&(t=v._currentPromise=e).then(function(e){t===v._currentPromise&&v.props.hoisted.setCurrentOptions(e)}))},v._onBlur=function(e){var t=e.relatedTarget;if(t=null===e.relatedTarget?document.activeElement:t){var o=null===(n=v.props.hoisted.rootRef.current)||void 0===n?void 0:n.contains(t),n=null===(r=v._comboBoxMenu.current)||void 0===r?void 0:r.contains(t),r=v._comboBoxMenu.current&&Qi(v._comboBoxMenu.current,function(e){return e===t});if(o||n||r)return r&&v._hasFocus()&&(!v.props.multiSelect||v.props.allowFreeform)&&v._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}v._hasFocus()&&(v.setState({focusState:"none"}),v.props.multiSelect&&!v.props.allowFreeform||v._submitPendingValue(e))},v._onRenderContainer=function(e,t){var o=e.onRenderList,n=e.calloutProps,r=e.dropdownWidth,i=e.dropdownMaxWidth,s=e.onRenderUpperContent,a=void 0===s?v._onRenderUpperContent:s,l=e.onRenderLowerContent,c=void 0===l?v._onRenderLowerContent:l,u=e.useComboBoxAsMenuWidth,d=e.persistMenu,p=e.shouldRestoreFocus,h=void 0===p||p,s=v.state.isOpen,l=v._id,p=u&&v._comboBoxWrapper.current?v._comboBoxWrapper.current.clientWidth+2:void 0;return mt.createElement(nc,pt({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:Ea.bottomLeftEdge,directionalHintFixed:!1},n,{onLayerMounted:v._onLayerMounted,className:Er(v._classNames.callout,null==n?void 0:n.className),target:v._comboBoxWrapper.current,onDismiss:v._onDismiss,onMouseDown:v._onCalloutMouseDown,onScroll:v._onScroll,setInitialFocus:!1,calloutWidth:u&&v._comboBoxWrapper.current?p:r,calloutMaxWidth:i||p,hidden:d?!s:void 0,shouldRestoreFocus:h}),a(v.props,v._onRenderUpperContent),mt.createElement("div",{className:v._classNames.optionsContainerWrapper,ref:v._comboBoxMenu},null==o?void 0:o(pt(pt({},e),{id:l}),v._onRenderList)),c(v.props,v._onRenderLowerContent))},v._onLayerMounted=function(){v._onCalloutLayerMounted(),v._async.setTimeout(function(){v._scrollIntoView()},0),v.props.calloutProps&&v.props.calloutProps.onLayerMounted&&v.props.calloutProps.onLayerMounted()},v._onRenderLabel=function(e){var t=e.props,o=t.label,n=t.disabled,t=t.required;return o?mt.createElement(qh,{id:v._id+"-label",disabled:n,required:t,className:v._classNames.label},o,e.multiselectAccessibleText&&mt.createElement("span",{className:v._classNames.screenReaderText},e.multiselectAccessibleText)):null},v._onRenderList=function(e){var t=e.onRenderItem,o=e.options,n=e.label,r=e.ariaLabel,e=v._id;return mt.createElement("div",{id:e+"-list",className:v._classNames.optionsContainer,"aria-labelledby":n&&e+"-label","aria-label":r&&!n?r:void 0,role:"listbox"},o.map(function(e){return null==t?void 0:t(e,v._onRenderItem)}))},v._onRenderItem=function(e){switch(e.itemType){case $g.Divider:return v._renderSeparator(e);case $g.Header:return v._renderHeader(e);default:return v._renderOption(e)}},v._onRenderLowerContent=function(){return null},v._onRenderUpperContent=function(){return null},v._renderOption=function(e){function t(){return n(e,v._onRenderOptionContent)}var o=v.props.onRenderOption,n=void 0===o?v._onRenderOptionContent:o,r=v._id,i=v._isOptionSelected(e.index),s=v._isOptionChecked(e.index),a=v._isOptionIndeterminate(e.index),l=v._getCurrentOptionStyles(e),c=df(v._getCurrentOptionStyles(e)),u=null!==(o=e.title)&&void 0!==o?o:wf(e);return mt.createElement(hf,{key:e.key,index:e.index,disabled:e.disabled,isSelected:i,isChecked:s,isIndeterminate:a,text:e.text,render:function(){return v.props.multiSelect?mt.createElement(Gh,{id:r+"-list"+e.index,ariaLabel:e.ariaLabel,key:e.key,styles:l,className:"ms-ComboBox-option",onChange:v._onItemClick(e),label:e.text,checked:s,indeterminate:a,title:u,disabled:e.disabled,onRenderLabel:t,inputProps:pt({"aria-selected":s?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):mt.createElement(tp,{id:r+"-list"+e.index,key:e.key,"data-index":e.index,styles:l,checked:i,className:"ms-ComboBox-option",onClick:v._onItemClick(e),onMouseEnter:v._onOptionMouseEnter.bind(v,e.index),onMouseMove:v._onOptionMouseMove.bind(v,e.index),onMouseLeave:v._onOptionMouseLeave,role:"option","aria-selected":i?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:u},mt.createElement("span",{className:c.optionTextWrapper,ref:i?v._selectedElement:void 0},n(e,v._onRenderOptionContent)))},data:e.data})},v._onCalloutMouseDown=function(e){e.preventDefault()},v._onScroll=function(){v._isScrollIdle||void 0===v._scrollIdleTimeoutId?v._isScrollIdle=!1:(v._async.clearTimeout(v._scrollIdleTimeoutId),v._scrollIdleTimeoutId=void 0),v._scrollIdleTimeoutId=v._async.setTimeout(function(){v._isScrollIdle=!0},250)},v._onRenderOptionContent=function(e){var t=df(v._getCurrentOptionStyles(e));return mt.createElement("span",{className:t.optionText},e.text)},v._onDismiss=function(){var e=v.props.onMenuDismiss;e&&e(),v.props.persistMenu&&v._onCalloutLayerMounted(),v._setOpenStateAndFocusOnClose(!1,!1),v._resetSelectedIndex()},v._onAfterClearPendingInfo=function(){v._processingClearPendingInfo=!1},v._onInputKeyDown=function(e){var t=v.props,o=t.disabled,n=t.allowFreeform,r=t.autoComplete,i=t.hoisted.currentOptions,t=v.state,s=t.isOpen,a=t.currentPendingValueValidIndexOnHover;if(v._lastKeyDownWasAltOrMeta=If(e),o)v._handleInputWhenDisabled(e);else{var l=v._getPendingSelectedIndex(!1);switch(e.which){case Tn.enter:v._autofill.current&&v._autofill.current.inputElement&&v._autofill.current.inputElement.select(),v._submitPendingValue(e),v.props.multiSelect&&s?v.setState({currentPendingValueValidIndex:l}):(s||(!n||void 0===v.state.currentPendingValue||null===v.state.currentPendingValue||v.state.currentPendingValue.length<=0)&&v.state.currentPendingValueValidIndex<0)&&v.setState({isOpen:!s});break;case Tn.tab:return v.props.multiSelect||v._submitPendingValue(e),void(s&&v._setOpenStateAndFocusOnClose(!s,!1));case Tn.escape:if(v._resetSelectedIndex(),!s)return;v.setState({isOpen:!1});break;case Tn.up:if(a===tf.clearAll&&(l=v.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(s){v._setOpenStateAndFocusOnClose(!s,!0);break}return}v._setPendingInfoFromIndexAndDirection(l,ef.backward);break;case Tn.down:e.altKey||e.metaKey?v._setOpenStateAndFocusOnClose(!0,!0):(a===tf.clearAll&&(l=-1),v._setPendingInfoFromIndexAndDirection(l,ef.forward));break;case Tn.home:case Tn.end:if(n)return;var l=-1,c=ef.forward;e.which===Tn.end&&(l=i.length,c=ef.backward),v._setPendingInfoFromIndexAndDirection(l,c);break;case Tn.space:if(!n&&"off"===r)break;default:if(112<=e.which&&e.which<=123)return;if(e.keyCode===Tn.alt||"Meta"===e.key)return;if(n||"on"!==r)return;v._onInputChange(e.key)}e.stopPropagation(),e.preventDefault()}},v._onInputKeyUp=function(e){var t=v.props,o=t.disabled,n=t.allowFreeform,r=t.autoComplete,i=v.state.isOpen,t=v._lastKeyDownWasAltOrMeta&&If(e);v._lastKeyDownWasAltOrMeta=!1;t=t&&!(Pa()||Na());o?v._handleInputWhenDisabled(e):e.which!==Tn.space?t&&i?v._setOpenStateAndFocusOnClose(!i,!0):("focusing"===v.state.focusState&&v.props.openOnKeyboardFocus&&v.setState({isOpen:!0}),"focused"!==v.state.focusState&&v.setState({focusState:"focused"})):n||"off"!==r||v._setOpenStateAndFocusOnClose(!i,!!i)},v._onOptionMouseLeave=function(){v._shouldIgnoreMouseEvent()||v.props.persistMenu&&!v.state.isOpen||v.setState({currentPendingValueValidIndexOnHover:tf.clearAll})},v._onComboBoxClick=function(){var e=v.props.disabled,t=v.state.isOpen;e||(v._setOpenStateAndFocusOnClose(!t,!1),v.setState({focusState:"focused"}))},v._onAutofillClick=function(){var e=v.props,t=e.disabled;e.allowFreeform&&!t?v.focus(v.state.isOpen||v._processingTouch):v._onComboBoxClick()},v._onTouchStart=function(){!v._comboBoxWrapper.current||"onpointerdown"in v._comboBoxWrapper||v._handleTouchAndPointerEvent()},v._onPointerDown=function(e){"touch"===e.pointerType&&(v._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},fi(v),v._async=new Si(v),v._events=new fa(v),v._id=e.id||Cs("ComboBox"),v._isScrollIdle=!0,v._processingTouch=!1,v._gotMouseMove=!1,v._processingClearPendingInfo=!1,v.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:tf.default},v}function yf(o,e){if(!o||!e)return[];var n={};o.forEach(function(e,t){e.selected&&(n[t]=!0)});for(var t=0,r=e;t<r.length;t++)!function(t){var e=Hi(o,function(e){return e.key===t});-1<e&&(n[e]=!0)}(r[t]);return Object.keys(n).map(Number).sort()}function Cf(e){return void 0===e?[]:e instanceof Array?e:[e]}function _f(e){return e||""}function Sf(e,t){return!!e&&0<=t&&t<e.length}function xf(e){return e.itemType!==$g.Header&&e.itemType!==$g.Divider&&e.itemType!==$g.SelectAll}function kf(e){return e.itemType!==$g.Header&&e.itemType!==$g.Divider}function wf(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function If(e){return e.which===Tn.alt||"Meta"===e.key}var Df,Tf={auto:0,top:1,bottom:2,center:3},Ef={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},xe=function(e){return e.getBoundingClientRect()},Pf=xe,Rf=xe,Mf=(l(Nf,Df=mt.Component),Nf.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},Object.defineProperty(Nf.prototype,"pageRefs",{get:function(){return this._pageRefs},enumerable:!1,configurable:!0}),Nf.prototype.scrollToIndex=function(e,t,o){void 0===o&&(o=Tf.auto);for(var n=this.props.startIndex,r=n+this._getRenderCount(),i=this._allowedRect,s=0,a=n;a<r;a+=u){var l=this._getPageSpecification(a,i),c=l.height,u=l.itemCount;if(a<=e&&e<a+u){if(t&&this._scrollElement){for(var d=Rf(this._scrollElement),p=this._scrollElement.scrollTop,l=this._scrollElement.scrollTop+d.height,h=e-a,m=0;m<h;++m)s+=t(a+m);var g=s+t(e);switch(o){case Tf.top:return void(this._scrollElement.scrollTop=s);case Tf.bottom:return void(this._scrollElement.scrollTop=g-d.height);case Tf.center:return void(this._scrollElement.scrollTop=(s+g-d.height)/2);case Tf.auto:}if(p<=s&&g<=l)return;s<p||l<g&&(s=g-d.height)}return void(this._scrollElement&&(this._scrollElement.scrollTop=s))}s+=c}},Nf.prototype.getStartItemIndexInView=function(e){for(var t=0,o=this.state.pages||[];t<o.length;t++){var n=o[t];if(!n.isSpacer&&(this._scrollTop||0)>=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,s=n.startIndex;s<n.startIndex+n.itemCount;s++){if(r=e(s),n.top+i<=this._scrollTop&&this._scrollTop<n.top+i+r)return s;i+=r}}}return 0},Nf.prototype.componentDidMount=function(){this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,this._scrollElement=Ms(this._root.current),this._events.on(window,"resize",this._onAsyncResize),this._root.current&&this._events.on(this._root.current,"focus",this._onFocus,!0),this._scrollElement&&(this._events.on(this._scrollElement,"scroll",this._onScroll),this._events.on(this._scrollElement,"scroll",this._onAsyncScroll))},Nf.prototype.componentDidUpdate=function(){var e=this.props,t=this.state;!e.getPageHeight&&this._updatePageMeasurements(t.pages)?(this._materializedRect=null,this._hasCompletedFirstRender?this._onAsyncScroll():(this._hasCompletedFirstRender=!0,this.setState(this._updatePages(e,t)))):this._onAsyncIdle(),e.onPagesUpdated&&e.onPagesUpdated(t.pages)},Nf.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose(),delete this._scrollElement},Nf.prototype.shouldComponentUpdate=function(e,t){var o=this.state.pages,n=t.pages,r=!1;if(!t.isScrolling&&this.state.isScrolling)return!0;if(e.version!==this.props.version)return!0;if(e.items===this.props.items&&o.length===n.length)for(var i=0;i<o.length;i++){var s=o[i],a=n[i];if(s.key!==a.key||s.itemCount!==a.itemCount){r=!0;break}}else r=!0;return r},Nf.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,this.state,!0),this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,Df.prototype.forceUpdate.call(this)},Nf.prototype.getTotalListHeight=function(){return this._surfaceRect.height},Nf.prototype.render=function(){for(var e=this.props,t=e.className,o=e.role,n=void 0===o?"list":o,r=e.onRenderSurface,i=e.onRenderRoot,o=this.state.pages,e=void 0===o?[]:o,s=[],o=ur(this.props,cr),a=0,l=e;a<l.length;a++){var c=l[a];s.push(this._renderPage(c))}r=r?Xh(r,this._onRenderSurface):this._onRenderSurface;return(i?Xh(i,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:e,surfaceElement:r({surfaceRef:this._surface,pages:e,pageElements:s,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:pt(pt({},o),{className:Er("ms-List",t),role:0<s.length?n:void 0})})},Nf.prototype._shouldVirtualize=function(e){var t=(e=void 0===e?this.props:e).onShouldVirtualize;return!t||t(e)},Nf.prototype._invalidatePageCache=function(){this._pageCache={}},Nf.prototype._renderPage=function(t){var o=this,e=this.props.usePageCache;if(e&&(r=this._pageCache[t.key])&&r.pageElement)return r.pageElement;var n=this._getPageStyle(t),r=this.props.onRenderPage,n=(void 0===r?this._onRenderPage:r)({page:t,className:"ms-List-page",key:t.key,ref:function(e){o._pageRefs[t.key]=e},style:n,role:"presentation"},this._onRenderPage);return e&&0===t.startIndex&&(this._pageCache[t.key]={page:t,pageElement:n}),n},Nf.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return pt(pt({},t?t(e):{}),e.items?{}:{height:e.height})},Nf.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=Xi(t)}},Nf.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDone()},Nf.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},Nf.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))},Nf.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),e=Math.min(o,r+1);i===n&&e===r||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=e,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(i<t||e<o)&&this._onAsyncIdle()},Nf.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||this.setState({isScrolling:!1})},Nf.prototype._onAsyncResize=function(){this.forceUpdate()},Nf.prototype._updatePages=function(e,t){this._requiredRect||this._updateRenderRects(e,t);var o=this._buildPages(e,t),e=t.pages;return this._notifyPageChanges(e,o.pages,this.props),pt(pt({},t),o)},Nf.prototype._notifyPageChanges=function(e,t,o){var n=o.onPageAdded,o=o.onPageRemoved;if(n||o){for(var r={},i=0,s=e;i<s.length;i++)(a=s[i]).items&&(r[a.startIndex]=a);for(var a,l,c=0,u=t;c<u.length;c++)(a=u[c]).items&&(r[a.startIndex]?delete r[a.startIndex]:this._onPageAdded(a));for(l in r)r.hasOwnProperty(l)&&this._onPageRemoved(r[l])}},Nf.prototype._updatePageMeasurements=function(e){var t=!1;if(!this._shouldVirtualize())return t;for(var o=0;o<e.length;o++){var n=e[o];n.items&&(t=this._measurePage(n)||t)}return t},Nf.prototype._measurePage=function(e){var t=!1,o=this._pageRefs[e.key],n=this._cachedPageHeights[e.startIndex];return!o||!this._shouldVirtualize()||n&&n.measureVersion===this._measureVersion||((o={width:o.clientWidth,height:o.clientHeight}).height||o.width)&&(t=e.height!==o.height,e.height=o.height,this._cachedPageHeights[e.startIndex]={height:o.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+o.height)/(this._totalEstimates+1)),this._totalEstimates++),t},Nf.prototype._onPageAdded=function(e){var t=this.props.onPageAdded;t&&t(e)},Nf.prototype._onPageRemoved=function(e){var t=this.props.onPageRemoved;t&&t(e)},Nf.prototype._buildPages=function(e,l){e.renderCount;for(var c=e.items,u=e.startIndex,t=e.getPageHeight,o=this._getRenderCount(e),d=pt({},Ef),p=[],h=1,m=0,g=null,f=this._focusedIndex,v=u+o,b=this._shouldVirtualize(e),y=0===this._estimatedPageHeight&&!t,C=this._allowedRect,_=this,n=u;n<v&&"break"!==function(t){var e=_._getPageSpecification(t,C),o=e.height,n=e.data,r=e.key;h=e.itemCount;var i=m+o-1,s=-1<Hi(l.pages,function(e){return e.items&&e.startIndex===t}),a=!C||i>=C.top&&m<=C.bottom,e=!_._requiredRect||i>=_._requiredRect.top&&m<=_._requiredRect.bottom;if(!y&&(e||a&&s)||!b||t<=f&&f<t+h||t===u?(g&&(p.push(g),g=null),s=Math.min(h,v-t),(s=_._createPage(r,c.slice(t,t+s),t,void 0,void 0,n)).top=m,s.height=o,_._visibleRect&&_._visibleRect.bottom&&(s.isVisible=i>=_._visibleRect.top&&m<=_._visibleRect.bottom),p.push(s),e&&_._allowedRect&&(e={top:m,bottom:i,height:o,left:C.left,right:C.right,width:C.width},(o=d).top=(e.top<o.top||-1===o.top?e:o).top,o.left=(e.left<o.left||-1===o.left?e:o).left,o.bottom=(e.bottom>o.bottom||-1===o.bottom?e:o).bottom,o.right=(e.right>o.right||-1===o.right?e:o).right,o.width=o.right-o.left+1,o.height=o.bottom-o.top+1)):((g=g||_._createPage("spacer-"+t,void 0,t,0,void 0,n,!0)).height=(g.height||0)+(i-m)+1,g.itemCount+=h),m+=i-m+1,y&&b)return"break"}(n);n+=h);return g&&(g.key="spacer-end",p.push(g)),this._materializedRect=d,pt(pt({},l),{pages:p,measureVersion:this._measureVersion})},Nf.prototype._getPageSpecification=function(e,t){var o=this.props.getPageSpecification;if(o){var n=o(e,t),o=n.itemCount,r=void 0===o?this._getItemCountForPage(e,t):o,o=n.height;return{itemCount:r,height:void 0===o?this._getPageHeight(e,t,r):o,data:n.data,key:n.key}}return{itemCount:r=this._getItemCountForPage(e,t),height:this._getPageHeight(e,t,r)}},Nf.prototype._getPageHeight=function(e,t,o){if(this.props.getPageHeight)return this.props.getPageHeight(e,t,o);e=this._cachedPageHeights[e];return e?e.height:this._estimatedPageHeight||30},Nf.prototype._getItemCountForPage=function(e,t){return(this.props.getItemCountForPage?this.props.getItemCountForPage(e,t):10)||10},Nf.prototype._createPage=function(e,t,o,n,r,i,s){void 0===o&&(o=-1),void 0===n&&(n=t?t.length:0),void 0===r&&(r={});var a=this._pageCache[e=e||"page-"+o];return a&&a.page?a.page:{key:e,startIndex:o,itemCount:n,items:t,style:r,top:0,height:0,data:i,isSpacer:s||!1}},Nf.prototype._getRenderCount=function(e){var t=e||this.props,o=t.items,e=t.startIndex,t=t.renderCount;return void 0===t?o?o.length-e:0:t},Nf.prototype._updateRenderRects=function(e,t,o){var n,r=e.renderedWindowsAhead,i=e.renderedWindowsBehind,s=t.pages;this._shouldVirtualize(e)&&(n=this._surfaceRect||pt({},Ef),t=this._scrollElement&&this._scrollElement.scrollHeight,e=this._scrollElement?this._scrollElement.scrollTop:0,this._surface.current&&(o||!s||!this._surfaceRect||!t||t!==this._scrollHeight||Math.abs(this._scrollTop-e)>this._estimatedPageHeight/3)&&(n=this._surfaceRect=Pf(this._surface.current),this._scrollTop=e),!o&&t&&t===this._scrollHeight||this._measureVersion++,this._scrollHeight=t||0,o=Math.max(0,-n.top),t=qe(this._root.current),t={top:o,left:n.left,bottom:o+t.innerHeight,right:n.right,width:n.width,height:t.innerHeight},this._requiredRect=Bf(t,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=Bf(t,i,r),this._visibleRect=t)},Nf.defaultProps={startIndex:0,onRenderCell:function(e,t,o){return mt.createElement(mt.Fragment,null,e&&e.name||"")},renderedWindowsAhead:2,renderedWindowsBehind:2},Nf);function Nf(e){var m=Df.call(this,e)||this;return m._root=mt.createRef(),m._surface=mt.createRef(),m._pageRefs={},m._getDerivedStateFromProps=function(e,t){return e.items!==m.props.items||e.renderCount!==m.props.renderCount||e.startIndex!==m.props.startIndex||e.version!==m.props.version?(m._resetRequiredWindows(),m._requiredRect=null,m._measureVersion++,m._invalidatePageCache(),m._updatePages(e,t)):t},m._onRenderRoot=function(e){var t=e.rootRef,o=e.surfaceElement,e=e.divProps;return mt.createElement("div",pt({ref:t},e),o)},m._onRenderSurface=function(e){var t=e.surfaceRef,o=e.pageElements,e=e.divProps;return mt.createElement("div",pt({ref:t},e),o)},m._onRenderPage=function(e,t){for(var o=m.props,n=o.onRenderCell,r=o.role,i=e.page,o=i.items,s=void 0===o?[]:o,a=i.startIndex,e=ht(e,["page"]),l=void 0===r?"listitem":"presentation",c=[],u=0;u<s.length;u++){var d=a+u,p=s[u],h=m.props.getKey?m.props.getKey(p,d):p&&p.key;null==h&&(h=d),c.push(mt.createElement("div",{role:l,className:"ms-List-cell",key:h,"data-list-index":d,"data-automationid":"ListCell"},n&&n(p,d,m.props.ignoreScrollingState?void 0:m.state.isScrolling)))}return mt.createElement("div",pt({},e),c)},fi(m),m.state={pages:[],isScrolling:!1,getDerivedStateFromProps:m._getDerivedStateFromProps},m._async=new Si(m),m._events=new fa(m),m._estimatedPageHeight=0,m._totalEstimates=0,m._requiredWindowsAhead=0,m._requiredWindowsBehind=0,m._measureVersion=0,m._onAsyncScroll=m._async.debounce(m._onAsyncScroll,100,{leading:!1,maxWait:500}),m._onAsyncIdle=m._async.debounce(m._onAsyncIdle,200,{leading:!1}),m._onAsyncResize=m._async.debounce(m._onAsyncResize,16,{leading:!1}),m._onScrollingDone=m._async.debounce(m._onScrollingDone,500,{leading:!1}),m._cachedPageHeights={},m._estimatedPageHeight=0,m._focusedIndex=-1,m._pageCache={},m}function Bf(e,t,o){var n=e.top-t*e.height,o=e.height+(t+o)*e.height;return{top:n,bottom:n+o,height:o,left:e.left,right:e.right,width:e.width}}var Ff,Af=(l(Hf,Ff=mt.Component),Object.defineProperty(Hf.prototype,"selectedOptions",{get:function(){return this._comboBox.current?this._comboBox.current.selectedOptions:[]},enumerable:!1,configurable:!0}),Hf.prototype.dismissMenu=function(){if(this._comboBox.current)return this._comboBox.current.dismissMenu()},Hf.prototype.focus=function(e,t){return!!this._comboBox.current&&(this._comboBox.current.focus(e,t),!0)},Hf.prototype.render=function(){return mt.createElement(gf,pt({},this.props,{componentRef:this._comboBox,onRenderList:this._onRenderList,onScrollToItem:this._onScrollToItem}))},Hf),Lf=Lo(function(t){var r=t;return Lo(function(e){if(t===e)throw new Error("Attempted to compose a component with itself.");var o=e,n=Lo(function(t){return function(e){return mt.createElement(o,pt({},e,{defaultRender:t}))}});return function(e){var t=e.defaultRender;return mt.createElement(r,pt({},e,{defaultRender:t?n(t):o}))}})});function Hf(e){var n=Ff.call(this,e)||this;return n._comboBox=mt.createRef(),n._list=mt.createRef(),n._onRenderList=function(e){var t=e.id,o=e.onRenderItem;return mt.createElement(Mf,{componentRef:n._list,role:"listbox",id:t+"-list","aria-labelledby":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)},fi(n),n}function Of(e,t){return Lf(e)(t)}function zf(e,t,o){for(var n=0,r=e;n<r.length;n++){var i=r[n];o[t.register(i,!0)]=i}}function Wf(e,t){for(var o=0,n=Object.keys(t);o<n.length;o++){var r=n[o];e.unregister(t[r],r,!0),delete t[r]}}function Vf(e){var t,o,n,r,s=Fc.getInstance(),i=e.className,a=e.overflowItems,l=e.keytipSequences,c=e.itemSubMenuProvider,u=e.onRenderOverflowButton,d=bl({}),p=mt.useCallback(function(e){return c?c(e):e.subMenuProps?e.subMenuProps.items:void 0},[c]),h=mt.useMemo(function(){var r=[],i=[];return l?null==a||a.forEach(function(e){var t,o,n=e.keytipProps;n?(o={content:n.content,keySequences:n.keySequences,disabled:n.disabled||!(!e.disabled&&!e.isDisabled),hasDynamicChildren:n.hasDynamicChildren,hasMenu:n.hasMenu},n.hasDynamicChildren||p(e)?o.onExecute=s.menuExecute.bind(s,l,null===(t=null==e?void 0:e.keytipProps)||void 0===t?void 0:t.keySequences):o.onExecute=n.onExecute,r.push(o),n=pt(pt({},e),{keytipProps:pt(pt({},n),{overflowSetSequence:l})}),null==i||i.push(n)):null==i||i.push(e)}):i=a,{modifiedOverflowItems:i,keytipsToRegister:r}},[a,p,s,l]),e=h.modifiedOverflowItems;return t=d,o=h.keytipsToRegister,n=s,r=Bc(t),mt.useEffect(function(){r&&(Wf(n,r),zf(o,n,t))}),mt.useEffect(function(){return zf(o,n,t),function(){Wf(n,t)}},[]),mt.createElement("div",{className:i},u(e))}var Kf=Fn(),Gf=mt.forwardRef(function(e,t){var o,n=mt.useRef(null),r=_r(n,t);o=n,mt.useImperativeHandle(e.componentRef,function(){return{focus:function(){var e=!1;return e=o.current?rs(o.current):e},focusElement:function(e){var t=!1;return!!e&&(o.current&&$i(o.current,e)&&(e.focus(),t=document.activeElement===e),t)}}},[o]);var i=e.items,s=e.overflowItems,a=e.className,l=e.styles,c=e.vertical,t=e.role,n=e.overflowSide,n=void 0===n?"end":n,u=e.onRenderItem,d=Kf(l,{className:a,vertical:c}),s=!!s&&0<s.length;return mt.createElement("div",pt({},ur(e,cr),{role:t||"group","aria-orientation":"menubar"===t?!0===c?"vertical":"horizontal":void 0,className:d.root,ref:r}),"start"===n&&s&&mt.createElement(Vf,pt({},e,{className:d.overflowButton})),i&&i.map(function(e,t){return mt.createElement("div",{className:d.item,key:e.key,role:"none"},u(e))}),"end"===n&&s&&mt.createElement(Vf,pt({},e,{className:d.overflowButton})))});Gf.displayName="OverflowSet";var Uf,jf={flexShrink:0,display:"inherit"},qf=In(Gf,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",jf],overflowButton:["ms-OverflowSet-overflowButton",jf]}},void 0,{scope:"OverflowSet"}),Yf=Ao(function(e){var t={height:"100%"},o={whiteSpace:"nowrap"},n=e||{},r=n.root,e=n.label,n=ht(n,["root","label"]);return pt(pt({},n),{root:r?[t,r]:t,label:e?[o,e]:o})}),Zf=Fn(),Xf=(l(ov,Uf=mt.Component),ov.prototype.render=function(){var e=this.props,t=e.items,o=e.overflowItems,n=e.farItems,r=e.styles,i=e.theme,s=e.dataDidRender,a=e.onReduceData,l=void 0===a?this._onReduceData:a,a=e.onGrowData,a=void 0===a?this._onGrowData:a,e=e.resizeGroupAs,e=void 0===e?ad:e,o={primaryItems:$e(t),overflowItems:$e(o),minimumOverflowItems:$e(o).length,farItems:n,cacheKey:this._computeCacheKey({primaryItems:$e(t),overflow:o&&0<o.length})};this._classNames=Zf(r,{theme:i});i=ur(this.props,cr);return mt.createElement(e,pt({},i,{componentRef:this._resizeGroup,data:o,onReduceData:l,onGrowData:a,onRenderData:this._onRenderData,dataDidRender:s}))},ov.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},ov.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},ov.prototype._onButtonClick=function(t){return function(e){t.inactive||t.onClick&&t.onClick(e,t)}},ov.prototype._computeCacheKey=function(e){var t=e.primaryItems,e=e.overflow;return[t&&t.reduce(function(e,t){var o=t.cacheKey;return e+(void 0===o?t.key:o)},""),e?"overflow":""].join("")},ov.defaultProps={items:[],overflowItems:[]},ov),Qf=In(Xf,function(e){var t=e.className,o=e.theme,e=o.semanticColors;return{root:[o.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:e.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"}]}},void 0,{scope:"CommandBar"}),Jf=pt(pt({},ch),{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}"'}),$f=Fn(),ev={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){e=Date.parse(e);return e?new Date(e):null},firstDayOfWeek:hp.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:Jf,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:gp.FirstDay,showGoToToday:!0,showCloseButton:!1,underlined:!1,allFocusable:!1},tv=mt.forwardRef(function(e,t){var o,n,r,i,s,a,l,c,u,d,p,h,m,g,f,v,b,y,C,_,S,x,k,w,I,D,T,E=Hn(ev,e),P=E.firstDayOfWeek,R=E.strings,M=E.label,N=E.theme,B=E.className,F=E.styles,A=E.initialPickerDate,L=E.isRequired,H=E.disabled,O=E.ariaLabel,z=E.pickerAriaLabel,W=E.placeholder,V=E.allowTextInput,K=E.borderless,G=E.minDate,U=E.maxDate,j=E.showCloseButton,q=E.calendarProps,Y=E.calloutProps,Z=E.textField,X=E.underlined,Q=E.allFocusable,J=E.calendarAs,$=void 0===J?Ph:J,ee=E.tabIndex,te=E.disableAutoFocus,oe=void 0===te||te,ne=tu("DatePicker",E.id),re=tu("DatePicker-Callout"),ie=mt.useRef(null),se=mt.useRef(null),ae=(D=mt.useRef(null),T=mt.useRef(!1),[D,function(){var e,t;null===(t=null===(e=D.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)},T,function(){T.current=!0}]),le=ae[0],ce=ae[1],ue=ae[2],de=ae[3],J=(_=ce,S=(e=E).allowTextInput,x=e.onAfterMenuDismiss,e=mt.useState(!1),k=e[0],e=e[1],w=mt.useRef(!1),I=yl(),mt.useEffect(function(){w.current&&!k&&(S&&I.requestAnimationFrame(_),null==x||x()),w.current=!0},[k]),[k,e]),pe=J[0],he=J[1],J=(f=(te=E).formatDate,v=te.value,b=te.onSelectDate,ae=Ih(v,void 0,function(e,t){return null==b?void 0:b(t)}),e=ae[0],y=ae[1],te=mt.useState(function(){return v&&f?f(v):""}),ae=te[0],C=te[1],mt.useEffect(function(){C(v&&f?f(v):"")},[f,v]),[e,ae,function(e){y(e),C(e&&f?f(e):"")},C]),te=J[0],me=J[1],ge=J[2],fe=J[3],e=(o=te,n=ge,r=me,e=pe,i=(ae=E).isRequired,s=ae.allowTextInput,a=ae.strings,l=ae.parseDateFromString,c=ae.onSelectDate,u=ae.formatDate,d=ae.minDate,p=ae.maxDate,J=mt.useState(),h=J[0],m=J[1],ae=mt.useState(),J=ae[0],g=ae[1],mt.useEffect(function(){i&&!o?m(a.isRequiredErrorMessage||" "):o&&nv(o,d,p)?m(a.isOutOfBoundsErrorMessage||" "):m(void 0)},[d&&Hp(d),p&&Hp(p),o&&Hp(o),i]),[e?void 0:h,function(e){var t;void 0===e&&(e=null),s?r||e?o&&!h&&u&&u(null!=e?e:o)===r||(!(e=e||l(r))||isNaN(e.getTime())?(n(o),t=u?u(o):"",t=a.isResetStatusMessage?Kp(a.isResetStatusMessage,r,t):a.invalidInputErrorMessage||"",g(t)):nv(e,d,p)?m(a.isOutOfBoundsErrorMessage||" "):(n(e),m(void 0),g(void 0))):(m(i?a.isRequiredErrorMessage||" ":void 0),null==c||c(e)):i&&!r?m(a.isRequiredErrorMessage||" "):(m(void 0),g(void 0))},m,e?void 0:J,g]),J=e[0],ve=e[1],be=e[2],ye=e[3],Ce=e[4],_e=mt.useCallback(function(){pe||(de(),he(!0))},[pe,de,he]);mt.useImperativeHandle(E.componentRef,function(){return{focus:ce,reset:function(){he(!1),ge(void 0),be(void 0),Ce(void 0)},showDatePickerPopup:_e}},[ce,be,he,ge,Ce,_e]);function Se(e){pe&&(he(!1),ve(e),!V&&e&&ge(e))}function xe(e){de(),Se(e)}var ke=$f(F,{theme:N,className:B,disabled:H,underlined:X,label:!!M,isDatePickerShown:pe}),F=ur(E,cr,["value"]),N=Z&&Z.iconProps,B=Z&&Z.id&&Z.id!==ne?Z.id:ne+"-label",ne=!V&&!H;return mt.createElement("div",pt({},F,{className:ke.root,ref:t}),mt.createElement("div",{ref:se,"aria-owns":pe?re:void 0,className:ke.wrapper},mt.createElement(Og,pt({role:"combobox",label:M,"aria-expanded":pe,ariaLabel:O,"aria-haspopup":"dialog","aria-controls":pe?re:void 0,required:L,disabled:H,errorMessage:J,placeholder:W,borderless:K,value:me,componentRef:le,underlined:X,tabIndex:ee,readOnly:!V},Z,{id:B,className:Er(ke.textField,Z&&Z.className),iconProps:pt(pt({iconName:"Calendar"},N),{className:Er(ke.icon,N&&N.className),onClick:function(e){e.stopPropagation(),pe||E.disabled?E.allowTextInput&&Se():_e()}}),onRenderDescription:function(e,t){return mt.createElement(mt.Fragment,null,e.description?t(e):null,mt.createElement("div",{"aria-live":"assertive",className:ke.statusMessage},ye))},onKeyDown:function(e){switch(e.which){case Tn.enter:e.preventDefault(),e.stopPropagation(),pe?E.allowTextInput&&Se():(ve(),_e());break;case Tn.escape:e.stopPropagation(),xe();break;case Tn.down:e.altKey&&!pe&&_e()}},onFocus:function(){oe||V||(ue.current||_e(),ue.current=!1)},onBlur:function(e){ve()},onClick:function(e){!E.openOnClick&&E.disableAutoFocus||pe||E.disabled?E.allowTextInput&&Se():_e()},onChange:function(e,t){var o,n=E.textField;V&&(pe&&Se(),fe(t)),null===(o=null==n?void 0:n.onChange)||void 0===o||o.call(n,e,t)},onRenderInput:ne?function(e){e=ur(e,cr);return mt.createElement("div",pt({},e,{className:Er(e.className,ke.readOnlyTextField),tabIndex:ee||0}),me||mt.createElement("span",{className:ke.readOnlyPlaceholder},W))}:void 0}))),pe&&mt.createElement(nc,pt({id:re,role:"dialog",ariaLabel:z,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:se.current,directionalHint:Ea.bottomLeftEdge},Y,{className:Er(ke.callout,Y&&Y.className),onDismiss:function(e){xe()},onPositioned:function(){var e=!0;E.calloutProps&&void 0!==E.calloutProps.setInitialFocus&&(e=E.calloutProps.setInitialFocus),ie.current&&e&&ie.current.focus()}}),mt.createElement(Mh,{isClickableOutsideFocusTrap:!0,disableFirstFocus:oe},mt.createElement($,pt({},q,{onSelectDate:function(e){E.calendarProps&&E.calendarProps.onSelectDate&&E.calendarProps.onSelectDate(e),xe(e)},onDismiss:xe,isMonthPickerVisible:E.isMonthPickerVisible,showMonthPickerAsOverlay:E.showMonthPickerAsOverlay,today:E.today,value:te||A,firstDayOfWeek:P,strings:R,highlightCurrentMonth:E.highlightCurrentMonth,highlightSelectedMonth:E.highlightSelectedMonth,showWeekNumbers:E.showWeekNumbers,firstWeekOfYear:E.firstWeekOfYear,showGoToToday:E.showGoToToday,dateTimeFormatter:E.dateTimeFormatter,minDate:G,maxDate:U,componentRef:ie,showCloseButton:j,allFocusable:Q})))))});function ov(e){var l=Uf.call(this,e)||this;return l._overflowSet=mt.createRef(),l._resizeGroup=mt.createRef(),l._onRenderData=function(e){var t=l.props,o=t.ariaLabel,n=t.primaryGroupAriaLabel,r=t.farItemsGroupAriaLabel,t=e.farItems&&0<e.farItems.length;return mt.createElement(Ys,{className:Er(l._classNames.root),direction:Ti.horizontal,role:"menubar","aria-label":o},mt.createElement(qf,{role:t?"group":"none","aria-label":t?n:void 0,componentRef:l._overflowSet,className:Er(l._classNames.primarySet),items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:l._onRenderItem,onRenderOverflowButton:l._onRenderOverflowButton}),t&&mt.createElement(qf,{role:"group","aria-label":r,className:Er(l._classNames.secondarySet),items:e.farItems,onRenderItem:l._onRenderItem,onRenderOverflowButton:ka}))},l._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:Yf(e.buttonStyles),className:Er("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:l._onButtonClick(e)});return e.iconOnly&&(void 0!==t||e.tooltipHostProps)?mt.createElement(wd,pt({role:"none",content:t,setAriaDescribedBy:!1},e.tooltipHostProps),l._commandButton(e,o)):l._commandButton(e,o)},l._commandButton=function(e,t){var o=l.props.buttonAs,n=e.commandBarButtonAs,e=ep;return n&&(e=Of(n,e)),o&&(e=Of(o,e)),mt.createElement(e,pt({},t))},l._onRenderOverflowButton=function(e){var t=l.props.overflowButtonProps,t=void 0===t?{}:t,e=$e(t.menuProps?t.menuProps.items:[],e),e=pt(pt({role:"menuitem"},t),{styles:pt({menuIcon:{fontSize:"17px"}},t.styles),className:Er("ms-CommandBar-overflowButton",t.className),menuProps:pt(pt({},t.menuProps),{items:e}),menuIconProps:pt({iconName:"More"},t.menuIconProps)}),t=l.props.overflowButtonAs?Of(l.props.overflowButtonAs,ep):ep;return mt.createElement(t,pt({},e))},l._onReduceData=function(e){var t=l.props,o=t.shiftOnReduce,n=t.onDataReduced,r=e.primaryItems,i=e.overflowItems,t=(e.cacheKey,r[o?0:r.length-1]);if(void 0!==t){t.renderedInOverflow=!0;var i=$e([t],i),r=o?r.slice(1):r.slice(0,-1),e=pt(pt({},e),{primaryItems:r,overflowItems:i}),s=l._computeCacheKey({primaryItems:r,overflow:0<i.length});return n&&n(t),e.cacheKey=s,e}},l._onGrowData=function(e){var t=l.props,o=t.shiftOnReduce,n=t.onDataGrown,r=e.minimumOverflowItems,i=e.primaryItems,s=e.overflowItems,t=(e.cacheKey,s[0]);if(void 0!==t&&s.length>r){t.renderedInOverflow=!1;var s=s.slice(1),i=o?$e([t],i):$e(i,[t]),e=pt(pt({},e),{primaryItems:i,overflowItems:s}),a=l._computeCacheKey({primaryItems:i,overflow:0<s.length});return n&&n(t),e.cacheKey=a,e}},fi(l),l}function nv(e,t,o){return t&&0<Pp(t,e)||o&&Pp(o,e)<0}tv.displayName="DatePickerBase";var rv,iv,sv={root:"ms-DatePicker",callout:"ms-DatePicker-callout",withLabel:"ms-DatePicker-event--with-label",withoutLabel:"ms-DatePicker-event--without-label",disabled:"msDatePickerDisabled "},av=In(tv,function(e){var t=e.className,o=e.theme,n=e.disabled,r=e.underlined,i=e.label,s=e.isDatePickerShown,a=o.palette,l=o.semanticColors,c=o.fonts,e=zo(sv,o),a={color:a.neutralSecondary,fontSize:Be.icon,lineHeight:"18px",pointerEvents:"none",position:"absolute",right:"4px",padding:"5px"};return{root:[e.root,o.fonts.large,s&&"is-open",Uo,t],textField:[{position:"relative",selectors:{"& input[readonly]":{cursor:"pointer"},input:{selectors:{"::-ms-clear":{display:"none"}}}}},n&&{selectors:{"& input[readonly]":{cursor:"default"}}}],callout:[e.callout],icon:[a,i?e.withLabel:e.withoutLabel,{paddingTop:"7px"},!n&&[e.disabled,{pointerEvents:"initial",cursor:"pointer"}],n&&{color:l.disabledText,cursor:"default"}],statusMessage:[c.small,{color:l.errorText,marginTop:5}],readOnlyTextField:[{cursor:"pointer",height:32,lineHeight:30,overflow:"hidden",textOverflow:"ellipsis"},r&&{lineHeight:34}],readOnlyPlaceholder:((l={color:l.inputPlaceholderText})[Yt]={color:"GrayText"},l)}},void 0,{scope:"DatePicker"}),lv="change";(V=rv=rv||{})[V.none=0]="none",V[V.single=1]="single",V[V.multiple=2]="multiple",(G=iv=iv||{})[G.horizontal=0]="horizontal",G[G.vertical=1]="vertical";var cv=(uv.prototype.canSelectItem=function(e,t){return!("number"==typeof t&&t<0)&&this._canSelectItem(e,t)},uv.prototype.getKey=function(e,t){t=this._getKey(e,t);return"number"==typeof t||t?""+t:""},uv.prototype.setChangeEvents=function(e,t){this._changeEventSuppressionCount+=e?-1:1,0===this._changeEventSuppressionCount&&this._hasChanged&&(this._hasChanged=!1,t||this._change())},uv.prototype.isModal=function(){return this._isModal},uv.prototype.setModal=function(e){this._isModal!==e&&(this.setChangeEvents(!1),(this._isModal=e)||this.setAllSelected(!1),this._change(),this.setChangeEvents(!0))},uv.prototype.setItems=function(e,t){void 0===t&&(t=!0);var o={},n={},r=!1;this.setChangeEvents(!1);for(var i,s=this._unselectableCount=0;s<e.length;s++)!(l=e[s])||(i=this.getKey(l,s))&&(o[i]=s),n[s]=l&&!this.canSelectItem(l),n[s]&&this._unselectableCount++;!t&&0!==e.length||this._setAllSelected(!1,!0);var a,l,c,u,d={},p=0;for(a in this._exemptedIndices)this._exemptedIndices.hasOwnProperty(a)&&(c=Number(a),r=void 0===(u=(u=(l=this._items[c])?this.getKey(l,Number(c)):void 0)?o[u]:c)||(d[u]=!0,p++,r||u!==c));this._items&&0===this._exemptedCount&&e.length!==this._items.length&&this._isAllSelected&&(r=!0),this._exemptedIndices=d,this._exemptedCount=p,this._keyToIndexMap=o,this._unselectableIndices=n,this._items=e,this._selectedItems=null,r&&(this._updateCount(),this._change()),this.setChangeEvents(!0)},uv.prototype.getItems=function(){return this._items},uv.prototype.getSelection=function(){if(!this._selectedItems){this._selectedItems=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedItems.push(e[t])}return this._selectedItems},uv.prototype.getSelectedCount=function(){return this._isAllSelected?this._items.length-this._exemptedCount-this._unselectableCount:this._exemptedCount},uv.prototype.getSelectedIndices=function(){if(!this._selectedIndices){this._selectedIndices=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedIndices.push(t)}return this._selectedIndices},uv.prototype.isRangeSelected=function(e,t){if(0===t)return!1;for(var o=e+t,n=e;n<o;n++)if(!this.isIndexSelected(n))return!1;return!0},uv.prototype.isAllSelected=function(){var e=this._items.length-this._unselectableCount;return this.mode===rv.single&&(e=Math.min(e,1)),0<this.count&&this._isAllSelected&&0===this._exemptedCount||!this._isAllSelected&&this._exemptedCount===e&&0<e},uv.prototype.isKeySelected=function(e){e=this._keyToIndexMap[e];return this.isIndexSelected(e)},uv.prototype.isIndexSelected=function(e){return!!(0<this.count&&this._isAllSelected&&!this._exemptedIndices[e]&&!this._unselectableIndices[e]||!this._isAllSelected&&this._exemptedIndices[e])},uv.prototype.setAllSelected=function(e){var t;e&&this.mode!==rv.multiple||(t=this._items?this._items.length-this._unselectableCount:0,this.setChangeEvents(!1),0<t&&(0<this._exemptedCount||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||0<this._exemptedCount)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount()),this.setChangeEvents(!0))},uv.prototype.setKeySelected=function(e,t,o){e=this._keyToIndexMap[e];0<=e&&this.setIndexSelected(e,t,o)},uv.prototype.setIndexSelected=function(e,t,o){var n;this.mode===rv.none||(e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length||(this.setChangeEvents(!1),n=this._exemptedIndices[e],this._unselectableIndices[e]||(t&&this.mode===rv.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))},uv.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},uv.prototype.selectToIndex=function(e,t){if(this.mode!==rv.none)if(this.mode!==rv.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)},uv.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},uv.prototype.toggleKeySelected=function(e){this.setKeySelected(e,!this.isKeySelected(e),!0)},uv.prototype.toggleIndexSelected=function(e){this.setIndexSelected(e,!this.isIndexSelected(e),!0)},uv.prototype.toggleRangeSelected=function(e,t){if(this.mode!==rv.none){var o=this.isRangeSelected(e,t),n=e+t;if(!(this.mode===rv.single&&1<t)){this.setChangeEvents(!1);for(var r=e;r<n;r++)this.setIndexSelected(r,!o,!1);this.setChangeEvents(!0)}}},uv.prototype._updateCount=function(e){void 0===e&&(e=!1);var t=this.getSelectedCount();t!==this.count&&(this.count=t,this._change()),this.count||e||this.setModal(!1)},uv.prototype._setAllSelected=function(e,t){var o;void 0===t&&(t=!1),e&&this.mode!==rv.multiple||(o=this._items?this._items.length-this._unselectableCount:0,this.setChangeEvents(!1),0<o&&(0<this._exemptedCount||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||0<this._exemptedCount)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount(t)),this.setChangeEvents(!0))},uv.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,fa.raise(this,lv),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},uv);function uv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=e[0]||{},n=o.onSelectionChanged,r=o.getKey,i=o.canSelectItem,s=void 0===i?function(){return!0}:i,i=o.items,o=o.selectionMode,o=void 0===o?rv.multiple:o;this.mode=o,this._getKey=r||dv,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=n,this._canSelectItem=s,this._isModal=!1,this.setItems(i||[],!0),this.count=this.getSelectedCount()}function dv(e,t){e=(e||{}).key;return void 0===e?""+t:e}var pv,hv,mv,gv,fv,vv,bv,yv="data-selection-index",Cv="data-selection-toggle",_v="data-selection-invoke",Sv="data-selection-all-toggle",xv=(l(kv,bv=mt.Component),kv.getDerivedStateFromProps=function(e,t){e=e.selection.isModal&&e.selection.isModal();return pt(pt({},t),{isModal:e})},kv.prototype.componentDidMount=function(){var e=qe(this._root.current);this._events.on(e,"keydown, keyup",this._updateModifiers,!0),this._events.on(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(document.body,"touchstart",this._onTouchStartCapture,!0),this._events.on(document.body,"touchend",this._onTouchStartCapture,!0),this._events.on(this.props.selection,"change",this._onSelectionChange)},kv.prototype.render=function(){var e=this.state.isModal;return mt.createElement("div",{className:Er("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,mt.createElement(oa,null))},kv.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},kv.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},kv.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===rv.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=Xi(e)}return!1},kv.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===rv.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},kv.prototype._onToggleClick=function(e,t){var o=this.props.selection,n=this._getSelectionMode();if(o.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&!o.isIndexSelected(t)&&o.setModal&&(o.setModal(!0),this._setIsTouch(!1)),n===rv.multiple)o.toggleIndexSelected(t);else{if(n!==rv.single)return void o.setChangeEvents(!0);var r=o.isIndexSelected(t),n=o.isModal&&o.isModal();o.setAllSelected(!1),o.setIndexSelected(t,!r,!0),n&&o.setModal&&o.setModal(!0)}o.setChangeEvents(!0),e.stopPropagation()},kv.prototype._onInvokeClick=function(e,t){var o=this.props,n=o.selection,o=o.onItemInvoked;o&&(o(n.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},kv.prototype._onItemSurfaceClick=function(e,t){var o=this.props.selection,n=this._isCtrlPressed||this._isMetaPressed,r=this._getSelectionMode();r===rv.multiple?this._isShiftPressed&&!this._isTabPressed?o.selectToIndex(t,!n):n?o.toggleIndexSelected(t):this._clearAndSelectIndex(t):r===rv.single&&this._clearAndSelectIndex(t)},kv.prototype._onInvokeMouseDown=function(e,t){this.props.selection.isIndexSelected(t)||this._clearAndSelectIndex(t)},kv.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=Ms(this._root.current);this._events.off(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(t,"click",this._tryClearOnEmptyClick),(t&&e.target instanceof Node&&t.contains(e.target)||t===e.target)&&this._tryClearOnEmptyClick(e)},kv.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},kv.prototype._clearAndSelectIndex=function(e){var t,o=this.props.selection;1===o.getSelectedCount()&&o.isIndexSelected(e)||(t=o.isModal&&o.isModal(),o.setChangeEvents(!1),o.setAllSelected(!1),o.setIndexSelected(e,!0,!0),(t||this.props.enterModalOnTouch&&this._isTouch)&&(o.setModal&&o.setModal(!0),this._isTouch&&this._setIsTouch(!1)),o.setChangeEvents(!0))},kv.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;e=e.keyCode;this._isTabPressed=!!e&&e===Tn.tab},kv.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var o=e.getAttribute(yv),n=Number(o);if(null!==o&&0<=n&&n<t.getItems().length)break;e=Xi(e)}if(e!==this._root.current)return e},kv.prototype._getItemIndex=function(e){return Number(e.getAttribute(yv))},kv.prototype._shouldAutoSelect=function(e){return this._hasAttribute(e,"data-selection-select")},kv.prototype._hasAttribute=function(e,t){for(var o=!1;!o&&e!==this._root.current;)o="true"===e.getAttribute(t),e=Xi(e);return o},kv.prototype._isInputElement=function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName},kv.prototype._isNonHandledClick=function(e){var t=gt();if(t&&e)for(;e&&e!==t.documentElement;){if(ls(e))return!1;e=Xi(e)}return!0},kv.prototype._handleNextFocus=function(e){var t=this;this._shouldHandleFocusTimeoutId&&(this._async.clearTimeout(this._shouldHandleFocusTimeoutId),this._shouldHandleFocusTimeoutId=void 0),(this._shouldHandleFocus=e)&&this._async.setTimeout(function(){t._shouldHandleFocus=!1},100)},kv.prototype._setIsTouch=function(e){var t=this;this._isTouchTimeoutId&&(this._async.clearTimeout(this._isTouchTimeoutId),this._isTouchTimeoutId=void 0),this._isTouch=!0,e&&this._async.setTimeout(function(){t._isTouch=!1},300)},kv.prototype._getSelectionMode=function(){var e=this.props.selection,t=this.props.selectionMode;return void 0===t?e?e.mode:rv.none:t},kv.defaultProps={isSelectedOnFocus:!0,selectionMode:rv.multiple},kv);function kv(e){var c=bv.call(this,e)||this;c._root=mt.createRef(),c.ignoreNextFocus=function(){c._handleNextFocus(!1)},c._onSelectionChange=function(){var e=c.props.selection,e=e.isModal&&e.isModal();c.setState({isModal:e})},c._onMouseDownCapture=function(e){var t=e.target;if(document.activeElement===t||$i(document.activeElement,t)){if($i(t,c._root.current))for(;t!==c._root.current;){if(c._hasAttribute(t,_v)){c.ignoreNextFocus();break}t=Xi(t)}}else c.ignoreNextFocus()},c._onFocus=function(e){var t=e.target,o=c.props.selection,n=c._isCtrlPressed||c._isMetaPressed,r=c._getSelectionMode();c._shouldHandleFocus&&r!==rv.none&&(r=c._hasAttribute(t,Cv),t=c._findItemRoot(t),!r&&t&&(t=c._getItemIndex(t),n?(o.setIndexSelected(t,o.isIndexSelected(t),!0),c.props.enterModalOnTouch&&c._isTouch&&o.setModal&&(o.setModal(!0),c._setIsTouch(!1))):c.props.isSelectedOnFocus&&c._onItemSurfaceClick(e,t))),c._handleNextFocus(!1)},c._onMouseDown=function(e){c._updateModifiers(e);var t=e.target,o=c._findItemRoot(t);if(!c._isSelectionDisabled(t))for(;t!==c._root.current&&!c._hasAttribute(t,Sv);){if(o){if(c._hasAttribute(t,Cv))break;if(c._hasAttribute(t,_v))break;if(!(t!==o&&!c._shouldAutoSelect(t)||c._isShiftPressed||c._isCtrlPressed||c._isMetaPressed)){c._onInvokeMouseDown(e,c._getItemIndex(o));break}if(c.props.disableAutoSelectOnInputElements&&("A"===t.tagName||"BUTTON"===t.tagName||"INPUT"===t.tagName))return}t=Xi(t)}},c._onTouchStartCapture=function(e){c._setIsTouch(!0)},c._onClick=function(e){var t=c.props.enableTouchInvocationTarget,o=void 0!==t&&t;c._updateModifiers(e);for(var n=e.target,r=c._findItemRoot(n),i=c._isSelectionDisabled(n);n!==c._root.current;){if(c._hasAttribute(n,Sv)){i||c._onToggleAllClick(e);break}if(r){var s=c._getItemIndex(r);if(c._hasAttribute(n,Cv)){i||(c._isShiftPressed?c._onItemSurfaceClick(e,s):c._onToggleClick(e,s));break}if(c._isTouch&&o&&c._hasAttribute(n,"data-selection-touch-invoke")||c._hasAttribute(n,_v)){c._onInvokeClick(e,s);break}if(n===r){i||c._onItemSurfaceClick(e,s);break}if("A"===n.tagName||"BUTTON"===n.tagName||"INPUT"===n.tagName)return}n=Xi(n)}},c._onContextMenu=function(e){var t=e.target,o=c.props,n=o.onItemContextMenu,o=o.selection;!n||(t=c._findItemRoot(t))&&(t=c._getItemIndex(t),c._onInvokeMouseDown(e,t),n(o.getItems()[t],t,e.nativeEvent)||e.preventDefault())},c._onDoubleClick=function(e){var t=e.target,o=c.props.onItemInvoked,n=c._findItemRoot(t);if(n&&o&&!c._isInputElement(t)){for(var r=c._getItemIndex(n);t!==c._root.current&&!c._hasAttribute(t,Cv)&&!c._hasAttribute(t,_v);){if(t===n){c._onInvokeClick(e,r);break}t=Xi(t)}Xi(t)}},c._onKeyDownCapture=function(e){c._updateModifiers(e),c._handleNextFocus(!0)},c._onKeyDown=function(e){c._updateModifiers(e);var t=e.target,o=c._isSelectionDisabled(t),n=c.props.selection,r=e.which===Tn.a&&(c._isCtrlPressed||c._isMetaPressed),i=e.which===Tn.escape;if(!c._isInputElement(t)){var s=c._getSelectionMode();if(r&&s===rv.multiple&&!n.isAllSelected())return o||n.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(i&&0<n.getSelectedCount())return o||n.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var a=c._findItemRoot(t);if(a)for(var l=c._getItemIndex(a);t!==c._root.current&&!c._hasAttribute(t,Cv);){if(c._shouldAutoSelect(t)){o||c._onInvokeMouseDown(e,l);break}if(!(e.which!==Tn.enter&&e.which!==Tn.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName))return!1;if(t===a){if(e.which===Tn.enter)return c._onInvokeClick(e,l),void e.preventDefault();if(e.which===Tn.space)return o||c._onToggleClick(e,l),void e.preventDefault();break}t=Xi(t)}}},c._events=new fa(c),c._async=new Si(c),fi(c);e=c.props.selection,e=e.isModal&&e.isModal();return c.state={isModal:e},c}(Y=pv=pv||{})[Y.hidden=0]="hidden",Y[Y.visible=1]="visible",(ke=hv=hv||{})[ke.disabled=0]="disabled",ke[ke.clickable=1]="clickable",ke[ke.hasDropdown=2]="hasDropdown",(K=mv=mv||{})[K.unconstrained=0]="unconstrained",K[K.horizontalConstrained=1]="horizontalConstrained",(U=gv=gv||{})[U.outside=0]="outside",U[U.surface=1]="surface",U[U.header=2]="header",(xe=fv=fv||{})[xe.fixedColumns=0]="fixedColumns",xe[xe.justified=1]="justified",(V=vv=vv||{})[V.onHover=0]="onHover",V[V.always=1]="always",V[V.hidden=2]="hidden";var wv=function(e){var t=e.count,o=e.indentWidth,e=e.role;return 0<t?mt.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:t*(void 0===o?36:o)},role:void 0===e?"presentation":e}):null},Iv={label:Vn,audio:Kn,video:Gn,ol:Un,li:jn,a:qn,button:Yn,input:Zn,textarea:Xn,select:Qn,option:Jn,table:$n,tr:er,th:tr,td:or,colGroup:nr,col:rr,form:ir,iframe:sr,img:ar};function Dv(e,t,o){return ur(t,e&&Iv[e]||Wn,o)}function Tv(e){var t=e.theme,e=void 0===(o=e.cellStyleProps)?Pv:o,o=t.semanticColors;return[zo(Bv,t).cell,bo(t),{color:o.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 "+e.cellRightPadding+"px 0 "+e.cellLeftPadding+"px",lineHeight:"inherit",margin:"0",height:42,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]}var Ev={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"},Pv={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},Rv={rowHeight:42,compactRowHeight:32},Mv=pt(pt({},Rv),{rowVerticalPadding:11,compactRowVerticalPadding:6}),Nv=function(e){var t=e.theme,o=e.isSelected,n=e.canSelect,r=e.droppingClassName,i=e.anySelected,s=e.isCheckVisible,a=e.checkboxCellClassName,l=e.compact,c=e.className,u=e.cellStyleProps,d=void 0===u?Pv:u,p=e.enableUpdateAnimations,h=e.disabled,m=t.palette,g=t.fonts,f=m.neutralPrimary,v=m.white,b=m.neutralSecondary,y=m.neutralLighter,C=m.neutralLight,_=m.neutralDark,S=m.neutralQuaternaryAlt,x=t.semanticColors,k=x.focusBorder,u=x.linkHovered,e=zo(Ev,t),m={defaultHeaderText:f,defaultMetaText:b,defaultBackground:v,defaultHoverHeaderText:_,defaultHoverMetaText:f,defaultHoverBackground:y,selectedHeaderText:_,selectedMetaText:f,selectedBackground:C,selectedHoverHeaderText:_,selectedHoverMetaText:f,selectedHoverBackground:S,focusHeaderText:_,focusMetaText:f,focusBackground:C,focusHoverBackground:S},_=[bo(t,{inset:-1,borderColor:k,outlineColor:v,highContrastStyle:{top:2,right:2,bottom:2,left:2}}),e.isSelected,{color:m.selectedMetaText,background:m.selectedBackground,borderBottom:"1px solid "+v,selectors:((x={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid "+v}})["."+e.cell+" > ."+la.root]={color:u},x["&:hover"]={background:m.selectedHoverBackground,color:m.selectedHoverMetaText,selectors:((_={})["."+e.cell+" "+Yt]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},_["."+e.isRowHeader]={color:m.selectedHoverHeaderText,selectors:((f={})[Yt]={color:"HighlightText"},f)},_[Yt]={background:"Highlight"},_)},x["&:focus"]={background:m.focusBackground,selectors:((C={})["."+e.cell]={color:m.focusMetaText,selectors:((S={})[Yt]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},S)},C["."+e.isRowHeader]={color:m.focusHeaderText,selectors:((f={})[Yt]={color:"HighlightText"},f)},C[Yt]={background:"Highlight"},C)},x[Yt]=pt(pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{a:{color:"HighlightText"}}}),x["&:focus:hover"]={background:m.focusHoverBackground},x)}],S=[e.isContentUnselectable,{userSelect:"none",cursor:"default"}],f={minHeight:Mv.compactRowHeight,border:0},C={minHeight:Mv.compactRowHeight,paddingTop:Mv.compactRowVerticalPadding,paddingBottom:Mv.compactRowVerticalPadding,paddingLeft:d.cellLeftPadding+"px"},h=[bo(t,{inset:-1}),e.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:Mv.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:Mv.rowVerticalPadding,paddingBottom:Mv.rowVerticalPadding,paddingLeft:d.cellLeftPadding+"px",selectors:((x={"& > button":{maxWidth:"100%"}})["[data-is-focusable='true']"]=bo(t,{inset:-1,borderColor:b,outlineColor:v}),x)},o&&{selectors:((x={})[Yt]=pt(pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{a:{color:"HighlightText"}}}),x)},l&&C,h&&{opacity:.5}];return{root:[e.root,Le.fadeIn400,r,t.fonts.small,s&&e.isCheckVisible,bo(t,{borderColor:k,outlineColor:v}),{borderBottom:"1px solid "+y,background:m.defaultBackground,color:m.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:Mv.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:((v={})["."+e.listCellFirstChild+" &:before"]={display:"none"},v["&:hover"]={background:m.defaultHoverBackground,color:m.defaultHoverMetaText,selectors:((y={})["."+e.isRowHeader]={color:m.defaultHoverHeaderText},y["."+e.cell+" > ."+la.root]={color:u},y)},v["&:hover ."+e.check]={opacity:1},v["."+go+" &:focus ."+e.check]={opacity:1},v[".ms-GroupSpacer"]={flexShrink:0,flexGrow:0},v)},o&&_,!n&&S,l&&f,c],cellUnpadded:{paddingRight:d.cellRightPadding+"px"},cellPadded:{paddingRight:d.cellExtraRightPadding+d.cellRightPadding+"px",selectors:((d={})["&."+e.cellCheck]={paddingRight:0},d)},cell:h,cellAnimation:p&&Ie.slideLeftIn40,cellMeasurer:[e.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[h,e.cellCheck,a,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],checkCover:{position:"absolute",top:-1,left:0,bottom:0,right:0,display:i?"block":"none"},fields:[e.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[e.isRowHeader,{color:m.defaultHeaderText,fontSize:g.medium.fontSize},o&&{color:m.selectedHeaderText,fontWeight:Fe.semibold,selectors:((m={})[Yt]={color:"HighlightText"},m)}],isMultiline:[h,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[e.check]}},Bv={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"},Fv={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},Av=Fn(),Lv=mt.memo(function(e){return mt.createElement(Hh,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})});function Hv(e){return mt.createElement(Hh,{checked:e.checked})}function Ov(e){return mt.createElement(Lv,{theme:e.theme,checked:e.checked})}function zv(t){return function(e){return e?e.column.isIconOnly?mt.createElement("span",{className:t.accessibleLabel},e.column.name):mt.createElement(mt.Fragment,null,e.column.name):null}}var Wv,Vv,Kv=In(function(e){var t=e.isVisible,o=void 0!==t&&t,n=e.canSelect,r=void 0!==n&&n,i=e.anySelected,s=void 0!==i&&i,a=e.selected,l=void 0!==a&&a,c=e.selectionMode,u=e.isHeader,d=void 0!==u&&u,p=e.className,t=(e.checkClassName,e.styles),n=e.theme,i=e.compact,a=e.onRenderDetailsCheckbox,u=e.useFastIcons,u=void 0===u||u,e=ht(e,["isVisible","canSelect","anySelected","selected","selectionMode","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),u=u?Ov:Hv,u=a?Xh(a,u):u,o=Av(t,{theme:n,canSelect:r,selected:l,anySelected:s,className:p,isHeader:d,isVisible:o,compact:i}),i={checked:l,theme:n},n=Dv("div",e,["aria-label","aria-labelledby","aria-describedby"]),c=c===rv.single?"radio":"checkbox";return r?mt.createElement("div",pt({},e,{role:c,className:Er(o.root,o.check),"aria-checked":l,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),u(i)):mt.createElement("div",pt({},n,{className:Er(o.root,o.check)}))},function(e){var t=e.theme,o=e.className,n=e.isHeader,r=e.selected,i=e.anySelected,s=e.canSelect,a=e.compact,l=e.isVisible,c=zo(Fv,t),u=Rv.rowHeight,e=Rv.compactRowHeight,u=n?42:a?e:u,i=l||r||i;return{root:[c.root,o],check:[!s&&c.isDisabled,n&&c.isHeader,bo(t),t.fonts.small,Lh.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:i?1:0,height:u,width:48,padding:0,margin:0}],isDisabled:[]}},void 0,{scope:"DetailsRowCheck"},!0),Gv=(Xv.prototype.dispose=function(){this._events&&this._events.dispose()},Xv.prototype.subscribe=function(n,r,o){var i=this;this._initialized||(this._events=new fa(this),(t=gt())&&(this._events.on(t.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(t,"mouseup",this._onDocumentMouseUp.bind(this),!0)),this._initialized=!0);var s,a,l,c,u,d,p,h,e=o.key,m=void 0===e?""+ ++this._lastId:e,g=[];if(o&&n){var t=o.eventMap,f=o.context,v=o.updateDropState,e={root:n,options:o,key:m},b=this._isDraggable(e),y=this._isDroppable(e);if((b||y)&&t)for(var C=0,_=t;C<_.length;C++){var S=_[C],S={callback:S.callback.bind(null,f),eventName:S.eventName};g.push(S),this._events.on(n,S.eventName,S.callback)}y&&(a=function(e){e.isHandled||(e.isHandled=!0,i._dragEnterCounts[m]--,0===i._dragEnterCounts[m]&&v(!1,e))},l=function(e){e.preventDefault(),e.isHandled||(e.isHandled=!0,i._dragEnterCounts[m]++,1===i._dragEnterCounts[m]&&v(!0,e))},c=function(e){i._dragEnterCounts[m]=0,v(!1,e)},u=function(e){i._dragEnterCounts[m]=0,v(!1,e),o.onDrop&&o.onDrop(o.context.data,e)},d=function(e){e.preventDefault(),o.onDragOver&&o.onDragOver(o.context.data,e)},this._dragEnterCounts[m]=0,r.on(n,"dragenter",l),r.on(n,"dragleave",a),r.on(n,"dragend",c),r.on(n,"drop",u),r.on(n,"dragover",d)),b&&(p=this._onMouseDown.bind(this,e),c=this._onDragEnd.bind(this,e),s=function(e){var t=o;t&&t.onDragStart&&t.onDragStart(t.context.data,t.context.index,i._selection.getSelection(),e),i._isDragging=!0,e.dataTransfer&&e.dataTransfer.setData("id",n.id)},r.on(n,"dragstart",s),r.on(n,"mousedown",p),r.on(n,"dragend",c)),h={target:e,dispose:function(){if(i._activeTargets[m]===h&&delete i._activeTargets[m],n){for(var e=0,t=g;e<t.length;e++){var o=t[e];i._events.off(n,o.eventName,o.callback)}y&&(r.off(n,"dragenter",l),r.off(n,"dragleave",a),r.off(n,"dragend",c),r.off(n,"dragover",d),r.off(n,"drop",u)),b&&(r.off(n,"dragstart",s),r.off(n,"mousedown",p),r.off(n,"dragend",c))}}},this._activeTargets[m]=h}return{key:m,dispose:function(){h&&h.dispose()}}},Xv.prototype.unsubscribe=function(e,t){t=this._activeTargets[t];t&&t.dispose()},Xv.prototype._onDragEnd=function(e,t){e=e.options;e.onDragEnd&&e.onDragEnd(e.context.data,t)},Xv.prototype._onMouseUp=function(e){if(this._isDragging=!1,this._dragData){for(var t=0,o=Object.keys(this._activeTargets);t<o.length;t++){var n=o[t],n=this._activeTargets[n];n.target.root&&(this._events.off(n.target.root,"mousemove"),this._events.off(n.target.root,"mouseleave"))}this._dragData.dropTarget&&(fa.raise(this._dragData.dropTarget.root,"dragleave"),fa.raise(this._dragData.dropTarget.root,"drop"))}this._dragData=null},Xv.prototype._onDocumentMouseUp=function(e){var t=gt();t&&e.target===t.documentElement&&this._onMouseUp(e)},Xv.prototype._onMouseMove=function(e,t){var o=t.buttons;this._dragData&&1!==(void 0===o?1:o)?this._onMouseUp(t):(o=e.root,t=e.key,this._isDragging&&this._isDroppable(e)&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key!==t&&!this._isChild(o,this._dragData.dropTarget.root)&&0<this._dragEnterCounts[this._dragData.dropTarget.key]&&(fa.raise(this._dragData.dropTarget.root,"dragleave"),fa.raise(o,"dragenter"),this._dragData.dropTarget=e))},Xv.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(fa.raise(e.root,"dragleave"),this._dragData.dropTarget=void 0)},Xv.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<n.length;o++){var r=n[o],r=this._activeTargets[r];r.target.root&&(this._events.on(r.target.root,"mousemove",this._onMouseMove.bind(this,r.target)),this._events.on(r.target.root,"mouseleave",this._onMouseLeave.bind(this,r.target)))}}else this._dragData=null},Xv.prototype._isChild=function(e,t){for(;t&&t.parentElement;){if(t.parentElement===e)return!0;t=t.parentElement}return!1},Xv.prototype._isDraggable=function(e){e=e.options;return!(!e.canDrag||!e.canDrag(e.context.data))},Xv.prototype._isDroppable=function(e){var t=e.options,e=this._dragData&&this._dragData.dragTarget?this._dragData.dragTarget.options.context:void 0;return!(!t.canDrop||!t.canDrop(t.context,e))},Xv),Uv=Fn(),jv=(l(Zv,Vv=mt.Component),Zv.prototype.render=function(){var e=this.props,t=e.column,o=e.columnIndex,n=e.parentId,r=e.isDraggable,i=e.styles,s=e.theme,a=e.cellStyleProps,l=void 0===a?Pv:a,c=e.useFastIcons,u=void 0===c||c,d=this.props.onRenderColumnHeaderTooltip,a=void 0===d?this._onRenderColumnHeaderTooltip:d;this._classNames=Uv(i,{theme:s,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==hv.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:l,transitionDurationDrag:200,transitionDurationDrop:1500});e=this._classNames,c=u?Lr:Wr,d=t.onRenderFilterIcon?Xh(t.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),i=t.onRenderHeader?Xh(t.onRenderHeader,zv(this._classNames)):zv(this._classNames),s=t.columnActionsMode!==hv.disabled&&(void 0!==t.onColumnClick||void 0!==this.props.onColumnClick),u={"aria-label":t.isIconOnly?t.name:void 0,"aria-labelledby":t.isIconOnly?void 0:n+"-"+t.key+"-name","aria-describedby":!this.props.onRenderColumnHeaderTooltip&&this._hasAccessibleLabel()?n+"-"+t.key+"-tooltip":void 0};return mt.createElement(mt.Fragment,null,mt.createElement("div",pt({key:t.key,ref:this._root,role:"columnheader"},!s&&u,{"aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","aria-colindex":o,"data-is-focusable":s||t.columnActionsMode===hv.disabled?void 0:"true",className:e.root,"data-is-draggable":r,draggable:r,style:{width:t.calculatedWidth+l.cellLeftPadding+l.cellRightPadding+(t.isPadded?l.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":t.key}),r&&mt.createElement(c,{iconName:"GripperBarVertical",className:e.gripperBarVerticalStyle}),a({hostClassName:e.cellTooltip,id:n+"-"+t.key+"-tooltip",setAriaDescribedBy:!1,column:t,content:t.columnActionsMode!==hv.disabled?t.ariaLabel:"",children:mt.createElement("span",pt({id:n+"-"+t.key,className:e.cellTitle,"data-is-focusable":s&&t.columnActionsMode!==hv.disabled?"true":void 0,role:s?"button":void 0},s&&u,{onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,"aria-haspopup":t.columnActionsMode===hv.hasDropdown?"menu":void 0,"aria-expanded":t.columnActionsMode===hv.hasDropdown?!!t.isMenuOpen:void 0}),mt.createElement("span",{id:n+"-"+t.key+"-name",className:e.cellName},(t.iconName||t.iconClassName)&&mt.createElement(c,{className:e.iconClassName,iconName:t.iconName}),i(this.props)),t.isFiltered&&mt.createElement(c,{className:e.nearIcon,iconName:"Filter"}),t.isSorted&&mt.createElement(c,{className:e.sortIcon,iconName:t.isSortedDescending?"SortDown":"SortUp"}),t.isGrouped&&mt.createElement(c,{className:e.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===hv.hasDropdown&&!t.isIconOnly&&d({"aria-hidden":!0,columnProps:this.props,className:e.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleLabel())},Zv.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))},Zv.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},Zv.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)},Zv.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}},Zv.prototype._hasAccessibleLabel=function(){var e=this.props.column;return!!(e.ariaLabel||e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel)},Zv.prototype._renderAccessibleLabel=function(){var e=this.props,t=e.column,o=e.parentId,e=this._classNames;return this._hasAccessibleLabel()&&!this.props.onRenderColumnHeaderTooltip?mt.createElement("label",{key:t.key+"_label",id:o+"-"+t.key+"-tooltip",className:e.accessibleLabel},t.ariaLabel,t.isFiltered&&t.filterAriaLabel||null,t.isSorted&&(t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},Zv.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)},Zv),qv={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"},Yv=In(jv,function(e){var t=e.theme,o=e.headerClassName,n=e.iconClassName,r=e.isActionable,i=e.isEmpty,s=e.isIconVisible,a=e.isPadded,l=e.isIconOnly,c=e.cellStyleProps,u=void 0===c?Pv:c,d=e.transitionDurationDrag,p=e.transitionDurationDrop,h=t.semanticColors,m=t.palette,g=t.fonts,f=zo(qv,t),v={iconForegroundColor:h.bodySubtext,headerForegroundColor:h.bodyText,headerBackgroundColor:h.bodyBackground,dropdownChevronForegroundColor:m.neutralSecondary,resizerColor:m.neutralTertiaryAlt},b={color:v.iconForegroundColor,opacity:1,paddingLeft:8},y={outline:"1px solid "+m.themePrimary},c={outlineColor:"transparent"};return{root:[Tv(e),g.small,r&&[f.isActionable,{selectors:{":hover":{color:h.bodyText,background:h.listHeaderBackgroundHovered},":active":{background:h.listHeaderBackgroundPressed}}}],i&&[f.isEmpty,{textOverflow:"clip"}],s&&f.isIconVisible,a&&{paddingRight:u.cellExtraRightPadding+u.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},o],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:m.neutralTertiary,left:1},nearIcon:[f.nearIcon,b],sortIcon:[b,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:v.iconForegroundColor,opacity:1},n],filterChevron:[f.filterChevron,{color:v.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:g.small.fontSize}],cellTitle:[f.cellTitle,bo(t),pt({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 "+u.cellRightPadding+"px 0 "+u.cellLeftPadding+"px"},l?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[f.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:Fe.semibold,fontSize:g.medium.fontSize},l&&{selectors:((l={})["."+f.nearIcon]={paddingLeft:0},l)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:So,borderWhileDragging:y,noBorderWhileDragging:[c,{transition:"outline "+d+"ms ease"}],borderAfterDropping:y,noBorderAfterDropping:[c,{transition:"outline  "+p+"ms ease"}]}},void 0,{scope:"DetailsColumn"});function Zv(e){var i=Vv.call(this,e)||this;return i._root=mt.createRef(),i._onRenderFilterIcon=function(e){return function(e){var t=e.columnProps,e=ht(e,["columnProps"]),t=null!=t&&t.useFastIcons?Lr:Wr;return mt.createElement(t,pt({},e))}},i._onRenderColumnHeaderTooltip=function(e){return mt.createElement("span",{className:e.hostClassName},e.children)},i._onColumnClick=function(e){var t=i.props,o=t.onColumnClick,t=t.column;t.columnActionsMode!==hv.disabled&&(t.onColumnClick&&t.onColumnClick(e,t),o&&o(e,t))},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,t=t.column;t.onColumnContextMenu&&(t.onColumnContextMenu(t,e),e.preventDefault()),o&&(o(t,e),e.preventDefault())},i._onRootMouseDown=function(e){i.props.isDraggable&&0===e.button&&e.stopPropagation()},fi(i),i._async=new Si(i),i._events=new fa(i),i}function Xv(e){this._selection=e.selection,this._dragEnterCounts={},this._activeTargets={},this._lastId=0,this._initialized=!1}(G=Wv=Wv||{})[G.none=0]="none",G[G.hidden=1]="hidden",G[G.visible=2]="visible";var Qv,Jv=Fn(),$v=[],eb=(l(tb,Qv=mt.Component),tb.prototype.componentDidMount=function(){var e=this.props.selection;this._events.on(e,lv,this._onSelectionChanged),this._rootElement.current&&(this._events.on(this._rootElement.current,"mousedown",this._onRootMouseDown),this._events.on(this._rootElement.current,"keydown",this._onRootKeyDown),this._getColumnReorderProps()&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement.current,this._events,this._getHeaderDragDropOptions())))},tb.prototype.componentDidUpdate=function(e){var t,o;this._getColumnReorderProps()?!this._subscriptionObject&&this._rootElement.current&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement.current,this._events,this._getHeaderDragDropOptions())):this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this.props!==e&&0<=this._onDropIndexInfo.sourceIndex&&0<=this._onDropIndexInfo.targetIndex&&(t=e.columns,o=this.props.columns,(void 0===t?$v:t)[this._onDropIndexInfo.sourceIndex].key===(void 0===o?$v:o)[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})),this.props.isAllCollapsed!==e.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},tb.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},tb.prototype.render=function(){var n=this,e=this.props,t=e.columns,r=void 0===t?$v:t,o=e.ariaLabel,i=e.ariaLabelForToggleAllGroupsButton,s=e.ariaLabelForSelectAllCheckbox,a=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,g=e.selectionMode,f=e.theme,v=e.onRenderDetailsCheckbox,b=e.groupNestingDepth,y=e.useFastIcons,C=e.checkboxVisibility,_=e.className,S=this.state,x=S.isAllSelected,t=S.columnResizeDetails,p=S.isSizing,e=S.isAllCollapsed,k=a!==Wv.none,S=a===Wv.hidden,C=C===vv.always,w=this._getColumnReorderProps(),I=w&&w.frozenColumnCountFromStart?w.frozenColumnCountFromStart:0,D=w&&w.frozenColumnCountFromEnd?w.frozenColumnCountFromEnd:0;this._classNames=Jv(m,{theme:f,isAllSelected:x,isSelectAllHidden:a===Wv.hidden,isResizingColumn:!!t&&p,isSizing:p,isAllCollapsed:e,isCheckboxHidden:S,className:_});t=this._classNames,_=y?Lr:Wr,f=Pn(f);return mt.createElement(Ys,{role:"row","aria-label":o,className:t.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:Ti.horizontal},k?[mt.createElement("div",{key:"__checkbox",className:t.cellIsCheck,"aria-labelledby":this._id+"-checkTooltip",onClick:S?void 0:this._onSelectAllClicked,"aria-colindex":1,role:"columnheader"},h({hostClassName:t.checkTooltip,id:this._id+"-checkTooltip",setAriaDescribedBy:!1,content:s,children:mt.createElement(Kv,{id:this._id+"-check","aria-label":g===rv.multiple?s:l,"data-is-focusable":!S||void 0,isHeader:!0,selected:x,anySelected:!1,canSelect:!S,className:t.check,onRenderDetailsCheckbox:v,useFastIcons:y,isVisible:C})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:s&&!S?mt.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:t.accessibleLabel,"aria-hidden":!0},s):l&&S?mt.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:t.accessibleLabel,"aria-hidden":!0},l):null]:null,0<b&&this.props.collapseAllVisibility===pv.visible?mt.createElement("div",{className:t.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!e,role:"columnheader"},mt.createElement(_,{className:t.collapseButton,iconName:f?"ChevronLeftMed":"ChevronRightMed"})):null,mt.createElement(wv,{indentWidth:c,role:"gridcell",count:b-1}),r.map(function(e,t){var o=!!w&&I<=t&&t<r.length-D;return[w&&(o||t===r.length-D)&&n._renderDropHint(t),mt.createElement(Yv,{column:e,styles:e.styles,key:e.key,columnIndex:(k?2:1)+t,parentId:n._id,isDraggable:o,updateDragInfo:n._updateDragInfo,dragDropHelper:n._dragDropHelper,onColumnClick:u,onColumnContextMenu:d,onRenderColumnHeaderTooltip:n.props.onRenderColumnHeaderTooltip,isDropped:n._onDropIndexInfo.targetIndex===t,cellStyleProps:n.props.cellStyleProps,useFastIcons:y}),n._renderColumnDivider(t)]}),w&&0===D&&this._renderDropHint(r.length),p&&mt.createElement(oc,null,mt.createElement("div",{className:t.sizingOverlay,onMouseMove:this._onSizerMouseMove,onMouseUp:this._onSizerMouseUp})))},tb.prototype.focus=function(){var e;return!(null===(e=this._rootComponent.current)||void 0===e||!e.focus())},tb.prototype._getColumnReorderProps=function(){var e=this.props,t=e.columnReorderOptions;return e.columnReorderProps||t&&pt(pt({},t),{onColumnDragEnd:void 0})},tb.prototype._getHeaderDragDropOptions=function(){return{selectionIndex:1,context:{data:this,index:0},canDrag:function(){return!1},canDrop:function(){return!0},onDragStart:function(){},updateDropState:this._updateDroppingState,onDrop:this._onDrop,onDragEnd:function(){},onDragOver:this._onDragOver}},tb.prototype._isValidCurrentDropHintIndex=function(){return 0<=this._currentDropHintIndex},tb.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,e=e.checkboxVisibility;return t===rv.none||e===vv.hidden},tb.prototype._resetDropHints=function(){0<=this._currentDropHintIndex&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},tb.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},tb.prototype._isEventOnHeader=function(e){if(this._rootElement.current){var t=this._rootElement.current.getBoundingClientRect();if(e.clientX>t.left&&e.clientX<t.right&&e.clientY>t.top&&e.clientY<t.bottom)return gv.header}},tb.prototype._renderColumnDivider=function(e){var t=this.props.columns,o=(void 0===t?$v:t)[e],t=o.onRenderDivider;return t?t({column:o,columnIndex:e},this._renderColumnSizer):this._renderColumnSizer({column:o,columnIndex:e})},tb.prototype._renderDropHint=function(e){var t=this._classNames,o=this.props.useFastIcons?Lr:Wr;return mt.createElement("div",{key:"dropHintKey",className:t.dropHintStyle,id:"columnDropHint_"+e},mt.createElement("div",{role:"presentation",key:"dropHintCircleKey",className:t.dropHintCaretStyle,"data-is-focusable":!1,"data-sizer-index":e,"aria-hidden":!0},mt.createElement(o,{iconName:"CircleShapeSolid"})),mt.createElement("div",{key:"dropHintLineKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":e,className:t.dropHintLineStyle}))},tb.prototype._onSizerDoubleClick=function(e,t){var o=this.props,n=o.onColumnAutoResized,o=o.columns;n&&n((void 0===o?$v:o)[e],e)},tb.prototype._onSelectionChanged=function(){var e=!!this.props.selection&&this.props.selection.isAllSelected();this.state.isAllSelected!==e&&this.setState({isAllSelected:e})},tb.defaultProps={selectAllVisibility:Wv.visible,collapseAllVisibility:pv.visible,useFastIcons:!0},tb);function tb(e){var u=Qv.call(this,e)||this;return u._rootElement=mt.createRef(),u._rootComponent=mt.createRef(),u._draggedColumnIndex=-1,u._dropHintDetails={},u._updateDroppingState=function(e,t){0<=u._draggedColumnIndex&&"drop"!==t.type&&!e&&u._resetDropHints()},u._onDragOver=function(e,t){0<=u._draggedColumnIndex&&(t.stopPropagation(),u._computeDropHintToBeShown(t.clientX))},u._onDrop=function(e,t){var o,n,r=u._getColumnReorderProps();0<=u._draggedColumnIndex&&t&&(o=u._draggedColumnIndex>u._currentDropHintIndex?u._currentDropHintIndex:u._currentDropHintIndex-1,n=u._isValidCurrentDropHintIndex(),t.stopPropagation(),n&&(u._onDropIndexInfo.sourceIndex=u._draggedColumnIndex,u._onDropIndexInfo.targetIndex=o,r.onColumnDrop?(n={draggedIndex:u._draggedColumnIndex,targetIndex:o},r.onColumnDrop(n)):r.handleColumnReorder&&r.handleColumnReorder(u._draggedColumnIndex,o))),u._resetDropHints(),u._dropHintDetails={},u._draggedColumnIndex=-1},u._updateDragInfo=function(e,t){var o=u._getColumnReorderProps(),e=e.itemIndex;0<=e?(u._draggedColumnIndex=u._isCheckboxColumnHidden()?e-1:e-2,u._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0)):t&&0<=u._draggedColumnIndex&&(u._resetDropHints(),u._draggedColumnIndex=-1,u._dropHintDetails={},o.onColumnDragEnd)&&(e=u._isEventOnHeader(t),o.onColumnDragEnd({dropLocation:e},t))},u._getDropHintPositions=function(){for(var e,t,o,n=u.props.columns,r=void 0===n?$v:n,n=u._getColumnReorderProps(),i=0,s=0,a=n.frozenColumnCountFromStart||0,l=n.frozenColumnCountFromEnd||0,c=a;c<r.length-l+1;c++)!u._rootElement.current||(t=u._rootElement.current.querySelectorAll("#columnDropHint_"+c)[0])&&(c===a?(i=t.offsetLeft,s=t.offsetLeft,e=t):(o=(t.offsetLeft+i)/2,u._dropHintDetails[c-1]={originX:i,startX:s,endX:o,dropHintElementRef:e},s=o,i=(e=t).offsetLeft,c===r.length-l&&(u._dropHintDetails[c]={originX:i,startX:s,endX:t.offsetLeft,dropHintElementRef:e})))},u._computeDropHintToBeShown=function(e){var t=Pn(u.props.theme);if(u._rootElement.current){var o=e-u._rootElement.current.getBoundingClientRect().left,n=u._currentDropHintIndex;if(!u._isValidCurrentDropHintIndex()||!ob(t,o,u._dropHintDetails[n].startX,u._dropHintDetails[n].endX)){var r=u.props.columns,i=void 0===r?$v:r,e=u._getColumnReorderProps(),r=e.frozenColumnCountFromStart||0,e=e.frozenColumnCountFromEnd||0,e=i.length-e,s=-1;if(nb(t,o,u._dropHintDetails[r].endX)?s=r:rb(t,o,u._dropHintDetails[e].startX)?s=e:u._isValidCurrentDropHintIndex()&&(u._dropHintDetails[n+1]&&ob(t,o,u._dropHintDetails[n+1].startX,u._dropHintDetails[n+1].endX)?s=n+1:u._dropHintDetails[n-1]&&ob(t,o,u._dropHintDetails[n-1].startX,u._dropHintDetails[n-1].endX)&&(s=n-1)),-1===s)for(var a=r,l=e;a<l;){var c=Math.ceil((l+a)/2);if(ob(t,o,u._dropHintDetails[c].startX,u._dropHintDetails[c].endX)){s=c;break}nb(t,o,u._dropHintDetails[c].originX)?l=c:rb(t,o,u._dropHintDetails[c].originX)&&(a=c)}s===u._draggedColumnIndex||s===u._draggedColumnIndex+1?u._isValidCurrentDropHintIndex()&&u._resetDropHints():n!==s&&0<=s&&(u._resetDropHints(),u._updateDropHintElement(u._dropHintDetails[s].dropHintElementRef,"inline-block"),u._currentDropHintIndex=s)}}},u._renderColumnSizer=function(e){var t=e.columnIndex,o=u.props.columns,n=void 0===o?$v:o,r=n[t],e=u.state.columnResizeDetails,o=u._classNames;return r.isResizable?mt.createElement("div",{key:r.key+"_sizer","aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:ib,"data-sizer-index":t,onBlur:u._onSizerBlur,className:Er(o.cellSizer,t<n.length-1?o.cellSizerStart:o.cellSizerEnd,((n={})[o.cellIsResizing]=e&&e.columnIndex===t,n)),onDoubleClick:u._onSizerDoubleClick.bind(u,t)}):null},u._onRenderColumnHeaderTooltip=function(e){return mt.createElement("span",{className:e.hostClassName},e.children)},u._onSelectAllClicked=function(){var e=u.props.selection;e&&e.toggleAllSelected()},u._onRootMouseDown=function(e){var t=e.target.getAttribute("data-sizer-index"),o=Number(t),n=u.props.columns;null!==t&&0===e.button&&(u.setState({columnResizeDetails:{columnIndex:o,columnMinWidth:(void 0===n?$v:n)[o].calculatedWidth,originX:e.clientX}}),e.preventDefault(),e.stopPropagation())},u._onRootMouseMove=function(e){var t=u.state,o=t.columnResizeDetails,t=t.isSizing;o&&!t&&e.clientX!==o.originX&&u.setState({isSizing:!0})},u._onRootKeyDown=function(e){var t=u.state,o=t.columnResizeDetails,n=t.isSizing,r=u.props,i=r.columns,t=void 0===i?$v:i,i=r.onColumnResized,r=e.target.getAttribute("data-sizer-index");r&&!n&&(n=Number(r),o?(r=void 0,e.which===Tn.enter?(u.setState({columnResizeDetails:void 0}),e.preventDefault(),e.stopPropagation()):e.which===Tn.left?r=Pn(u.props.theme)?1:-1:e.which===Tn.right&&(r=Pn(u.props.theme)?-1:1),r&&(e.shiftKey||(r*=10),u.setState({columnResizeDetails:pt(pt({},o),{columnMinWidth:o.columnMinWidth+r})}),i&&i(t[n],o.columnMinWidth+r,n),e.preventDefault(),e.stopPropagation())):e.which===Tn.enter&&(u.setState({columnResizeDetails:{columnIndex:n,columnMinWidth:t[n].calculatedWidth}}),e.preventDefault(),e.stopPropagation()))},u._onSizerMouseMove=function(e){var t=e.buttons,o=u.props,n=o.onColumnIsSizingChanged,r=o.onColumnResized,i=o.columns,o=void 0===i?$v:i,i=u.state.columnResizeDetails;void 0===t||1===t?(e.clientX!==i.originX&&n&&n(o[i.columnIndex],!0),r&&(n=e.clientX-i.originX,Pn(u.props.theme)&&(n=-n),r(o[i.columnIndex],i.columnMinWidth+n,i.columnIndex))):u._onSizerMouseUp(e)},u._onSizerBlur=function(e){u.state.columnResizeDetails&&u.setState({columnResizeDetails:void 0,isSizing:!1})},u._onSizerMouseUp=function(e){var t=u.props,o=t.columns,n=void 0===o?$v:o,o=t.onColumnIsSizingChanged,t=u.state.columnResizeDetails;u.setState({columnResizeDetails:void 0,isSizing:!1}),o&&o(n[t.columnIndex],!1)},u._onToggleCollapseAll=function(){var e=u.props.onToggleCollapseAll,t=!u.state.isAllCollapsed;u.setState({isAllCollapsed:t}),e&&e(t)},fi(u),u._events=new fa(u),u.state={columnResizeDetails:void 0,isAllCollapsed:u.props.isAllCollapsed,isAllSelected:!!u.props.selection&&u.props.selection.isAllSelected()},u._onDropIndexInfo={sourceIndex:-1,targetIndex:-1},u._id=Cs("header"),u._currentDropHintIndex=-1,u._dragDropHelper=new Gv({selection:{getSelection:function(){}},minimumPixelsForDrag:u.props.minimumPixelsForDrag}),u}function ob(e,t,o,n){return e?t<=o&&n<=t:o<=t&&t<=n}function nb(e,t,o){return e?o<=t:t<=o}function rb(e,t,o){return e?t<=o:o<=t}function ib(e){e.stopPropagation()}var sb,ab=In(eb,function(e){var t=e.theme,o=e.className,n=e.isAllSelected,r=e.isResizingColumn,i=e.isSizing,s=e.isAllCollapsed,a=e.cellStyleProps,l=void 0===a?Pv:a,c=t.semanticColors,u=t.palette,d=t.fonts,p=zo(Bv,t),h={iconForegroundColor:c.bodySubtext,headerForegroundColor:c.bodyText,headerBackgroundColor:c.bodyBackground,resizerColor:u.neutralTertiaryAlt},m={opacity:1,transition:"opacity 0.3s linear"},a=Tv(e);return{root:[p.root,d.small,{display:"inline-block",background:h.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:42,lineHeight:42,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid "+c.bodyDivider,cursor:"default",userSelect:"none",selectors:((e={})["&:hover ."+p.check]={opacity:1},e["& ."+p.tooltipHost+" ."+p.checkTooltip]={display:"block"},e)},n&&p.isAllSelected,r&&p.isResizingColumn,o],check:[p.check,{height:42},{selectors:((o={})["."+go+" &:focus"]={opacity:1},o)}],cellWrapperPadded:{paddingRight:l.cellExtraRightPadding+l.cellRightPadding},cellIsCheck:[a,p.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},n&&{opacity:1}],cellIsGroupExpander:[a,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:d.small.fontSize,padding:0,border:"none",width:36,color:u.neutralSecondary,selectors:{":hover":{backgroundColor:u.neutralLighter},":active":{backgroundColor:u.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:c.bodyText,background:c.listHeaderBackgroundHovered},":active":{background:c.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[p.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:((h={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:h.resizerColor,opacity:0,left:"50%"},":focus:after":m,":hover:after":m})["&."+p.isResizing+":after"]=[m,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],h)}],cellIsResizing:p.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[p.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},s?[p.isCollapsed,{transform:"rotate(0deg)"}]:{transform:Pn(t)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:p.checkTooltip,sizingOverlay:i&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:((i={})[Yt]=pt({background:"transparent"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},accessibleLabel:So,dropHintCircleStyle:[p.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 "+u.themePrimary,background:u.white}],dropHintCaretStyle:[p.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:d.medium.fontSize,color:u.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[p.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:u.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}},void 0,{scope:"DetailsHeader"}),lb=function(e){var t=e.columns,s=e.columnStartIndex,a=e.rowClassNames,o=e.cellStyleProps,l=void 0===o?Pv:o,c=e.item,u=e.itemIndex,d=e.onRenderItemColumn,p=e.getCellValueKey,h=e.cellsByColumn,m=e.enableUpdateAnimations,g=e.rowHeaderId,e=mt.useRef(),f=e.current||(e.current={});return mt.createElement("div",{className:a.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map(function(e,t){var o,n=void 0===e.calculatedWidth?"auto":e.calculatedWidth+l.cellLeftPadding+l.cellRightPadding+(e.isPadded?l.cellExtraRightPadding:0),r=e.onRender,i=void 0===r?d:r,r=e.getValueKey,r=void 0===r?p:r,i=h&&e.key in h?h[e.key]:i?i(c,u,e):"boolean"==typeof(o=null==(o=c&&e&&e.fieldName?c[e.fieldName]:"")?"":o)?o.toString():o,o=f[e.key],r=m&&r?r(c,u,e):void 0,o=void 0!==r&&void 0!==o&&r!==o?!0:!1;f[e.key]=r;r=e.key+(void 0!==r?"-"+r:"");return mt.createElement("div",{key:r,id:e.isRowHeader?g:void 0,role:e.isRowHeader?"rowheader":"gridcell","aria-readonly":!0,"aria-colindex":t+s+1,className:Er(e.className,e.isMultiline&&a.isMultiline,e.isRowHeader&&a.isRowHeader,a.cell,e.isPadded?a.cellPadded:a.cellUnpadded,o&&a.cellAnimation),style:{width:n},"data-automationid":"DetailsRowCell","data-automation-key":e.key},i)}))},cb=Fn(),ub=[],db=(l(pb,sb=mt.Component),pb.getDerivedStateFromProps=function(e,t){return pt(pt({},t),{selectionState:hb(e)})},pb.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,o=e.selection,n=e.item,e=e.onDidMount;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getRowDragDropOptions())),o&&this._events.on(o,lv,this._onSelectionChanged),e&&n&&(this._onDidMountCalled=!0,e(this))},pb.prototype.componentDidUpdate=function(e){var t=this.state,o=this.props,n=o.item,o=o.onDidMount,t=t.columnMeasureInfo;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()))),t&&0<=t.index&&this._cellMeasurer.current&&(e=this._cellMeasurer.current.getBoundingClientRect().width,t.onMeasureDone(e),this.setState({columnMeasureInfo:void 0})),n&&o&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,o(this))},pb.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,e=e.onWillUnmount;e&&t&&e(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},pb.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var o=hb(e);return this.state.selectionState.isSelected!==o.isSelected||!ua(this.props,e)}return!0},pb.prototype.render=function(){var e=this.props,t=e.className,o=e.columns,n=void 0===o?ub:o,r=e.dragDropEvents,i=e.item,s=e.itemIndex,a=e.id,l=e.flatIndexOffset,c=void 0===l?2:l,u=e.onRenderCheck,d=void 0===u?this._onRenderCheck:u,p=e.onRenderDetailsCheckbox,h=e.onRenderItemColumn,m=e.getCellValueKey,g=e.selectionMode,f=e.rowWidth,v=void 0===f?0:f,b=e.checkboxVisibility,y=e.getRowAriaLabel,C=e.getRowAriaDescribedBy,_=e.checkButtonAriaLabel,S=e.checkboxCellClassName,x=e.rowFieldsAs,k=void 0===x?lb:x,w=e.selection,I=e.indentWidth,D=e.enableUpdateAnimations,T=e.compact,E=e.theme,P=e.styles,R=e.cellsByColumn,M=e.groupNestingDepth,N=e.useFastIcons,B=void 0===N||N,F=e.cellStyleProps,A=e.group,L=e.focusZoneProps,H=e.disabled,O=void 0!==H&&H,z=this.state,o=z.columnMeasureInfo,l=z.isDropping,u=this.state.selectionState,f=u.isSelected,x=void 0!==f&&f,N=u.isSelectionModal,e=void 0!==N&&N,H=r?!(!r.canDrag||!r.canDrag(i)):void 0,z=l?this._droppingClassNames||"is-dropping":"",f=y?y(i):void 0,u=C?C(i):void 0,N=!!w&&w.canSelectItem(i,s)&&!O,r=g===rv.multiple,l=g!==rv.none&&b!==vv.hidden,y=g===rv.none?void 0:x,C=A?s-A.startIndex+1:void 0,w=A?A.count:void 0,A=L?L.direction:Ti.horizontal;this._classNames=pt(pt({},this._classNames),cb(P,{theme:E,isSelected:x,canSelect:!r,anySelected:e,checkboxCellClassName:S,droppingClassName:z,className:t,compact:T,enableUpdateAnimations:D,cellStyleProps:F,disabled:O}));t={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};ua(this._rowClassNames||{},t)||(this._rowClassNames=t);D=mt.createElement(k,{rowClassNames:this._rowClassNames,rowHeaderId:a+"-header",cellsByColumn:R,columns:n,item:i,itemIndex:s,columnStartIndex:(l?1:0)+(M?1:0),onRenderItemColumn:h,getCellValueKey:m,enableUpdateAnimations:D,cellStyleProps:F}),F=this.props.role||"row";return mt.createElement(Ys,pt({"data-is-focusable":!0},ur(this.props,cr),"boolean"==typeof H?{"data-is-draggable":H,draggable:H}:{},L,{direction:A,elementRef:this._root,componentRef:this._focusZone,role:F,"aria-label":f,"aria-disabled":O||void 0,"aria-describedby":u,className:this._classNames.root,"data-selection-index":s,"data-selection-touch-invoke":!0,"data-selection-disabled":O||void 0,"data-item-index":s,"aria-rowindex":void 0===C?s+c:void 0,"aria-level":M&&M+1||void 0,"aria-posinset":C,"aria-setsize":w,"data-automationid":"DetailsRow",style:{minWidth:v},"aria-selected":y,allowFocusRoot:!0}),l&&mt.createElement("div",{role:"gridcell","aria-colindex":1,"data-selection-toggle":!0,className:this._classNames.checkCell},d({id:a?a+"-checkbox":void 0,selected:x,selectionMode:g,anySelected:e,"aria-label":_,"aria-labelledby":a?a+"-checkbox "+a+"-header":void 0,canSelect:N,compact:T,className:this._classNames.check,theme:E,isVisible:b===vv.always,onRenderDetailsCheckbox:p,useFastIcons:B})),mt.createElement(wv,{indentWidth:I,role:"gridcell",count:M-(this.props.collapseAllVisibility===pv.hidden?1:0)}),i&&D,o&&mt.createElement("span",{role:"presentation",className:Er(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},mt.createElement(k,{rowClassNames:this._rowClassNames,rowHeaderId:a+"-header",columns:[o.column],item:i,itemIndex:s,columnStartIndex:(l?1:0)+(M?1:0)+n.length,onRenderItemColumn:h,getCellValueKey:m})),mt.createElement("span",{role:"checkbox",className:this._classNames.checkCover,"aria-checked":x,"data-selection-toggle":!0}))},pb.prototype.measureCell=function(e,t){var o=this.props.columns,o=pt({},(void 0===o?ub:o)[e]);o.minWidth=0,o.maxWidth=999999,delete o.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:o,onMeasureDone:t}})},pb.prototype.focus=function(e){var t;return void 0===e&&(e=!1),!(null===(t=this._focusZone.current)||void 0===t||!t.focus(e))},pb.prototype._onRenderCheck=function(e){return mt.createElement(Kv,pt({},e))},pb.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}},pb);function pb(e){var i=sb.call(this,e)||this;return i._root=mt.createRef(),i._cellMeasurer=mt.createRef(),i._focusZone=mt.createRef(),i._onSelectionChanged=function(){var e=hb(i.props);ua(e,i.state.selectionState)||i.setState({selectionState:e})},i._updateDroppingState=function(e,t){var o=i.state.isDropping,n=i.props,r=n.dragDropEvents,n=n.item;e?r.onDragEnter&&(i._droppingClassNames=r.onDragEnter(n,t)):r.onDragLeave&&r.onDragLeave(n,t),o!==e&&i.setState({isDropping:e})},fi(i),i._events=new fa(i),i.state={selectionState:hb(e),columnMeasureInfo:void 0,isDropping:!1},i._droppingClassNames="",i}function hb(e){var t=e.itemIndex,e=e.selection;return{isSelected:!(null==e||!e.isIndexSelected(t)),isSelectionModal:!(null===(t=null==e?void 0:e.isModal)||void 0===t||!t.call(e))}}var mb,gb,fb=In(db,Nv,void 0,{scope:"DetailsRow"}),vb={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},bb={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"},yb="cubic-bezier(0.390, 0.575, 0.565, 1.000)";(Y=mb=mb||{})[Y.xSmall=0]="xSmall",Y[Y.small=1]="small",Y[Y.medium=2]="medium",Y[Y.large=3]="large",(ke=gb=gb||{})[ke.normal=0]="normal",ke[ke.large=1]="large";var Cb,_b,Sb,xb,kb=Fn(),wb=(l(qb,xb=mt.Component),qb.prototype.render=function(){var e=this.props,t=e.type,o=e.size,n=e.ariaLabel,r=e.ariaLive,i=e.styles,s=e.label,a=e.theme,l=e.className,c=e.labelPosition,u=n,e=ur(this.props,cr,["size"]),n=o;void 0===o&&void 0!==t&&(n=t===gb.large?mb.large:mb.medium);c=kb(i,{theme:a,size:n,className:l,labelPosition:c});return mt.createElement("div",pt({},e,{className:c.root}),mt.createElement("div",{className:c.circle}),s&&mt.createElement("div",{className:c.label},s),u&&mt.createElement("div",{role:"status","aria-live":r},mt.createElement(Ri,null,mt.createElement("div",{className:c.screenReaderText},u))))},qb.defaultProps={size:mb.medium,ariaLive:"polite",labelPosition:"bottom"},qb),Ib={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},Db=Ao(function(){return O({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),Tb=In(wb,function(e){var t=e.theme,o=e.size,n=e.className,r=e.labelPosition,i=t.palette,e=zo(Ib,t);return{root:[e.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===r&&{flexDirection:"column-reverse"},"right"===r&&{flexDirection:"row"},"left"===r&&{flexDirection:"row-reverse"},n],circle:[e.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+i.themeLight,borderTopColor:i.themePrimary,animationName:Db(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:((n={})[Yt]=pt({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},o===mb.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],o===mb.small&&["ms-Spinner--small",{width:16,height:16}],o===mb.medium&&["ms-Spinner--medium",{width:20,height:20}],o===mb.large&&["ms-Spinner--large",{width:28,height:28}]],label:[e.label,t.fonts.small,{color:i.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===r&&{margin:"0 0 8px"},"right"===r&&{margin:"0 0 0 8px"},"left"===r&&{margin:"0 8px 0 0"}],screenReaderText:So}},void 0,{scope:"Spinner"}),Eb=Fn(),K=(l(jb,Sb=mt.Component),jb.getDerivedStateFromProps=function(e,t){if(e.group){var o=e.group.isCollapsed,n=e.isGroupLoading,e=!o&&n&&n(e.group);return pt(pt({},t),{isCollapsed:o||!1,isLoadingVisible:e||!1})}return t},jb.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,s=e.loadingText,a=e.isSelected,l=void 0!==a&&a,c=e.selected,u=void 0!==c&&c,d=e.indentWidth,p=e.onRenderTitle,h=void 0===p?this._onRenderTitle:p,m=e.onRenderGroupHeaderCheckbox,g=e.isCollapsedGroupSelectVisible,f=void 0===g||g,v=e.expandButtonProps,b=e.expandButtonIcon,y=e.selectAllButtonProps,C=e.theme,_=e.styles,S=e.className,x=e.compact,o=e.ariaPosInSet,a=e.ariaSetSize,c=e.ariaRowIndex,p=e.useFastIcons?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,g=m?Xh(m,p):p,e=this.state,m=e.isCollapsed,p=e.isLoadingVisible,e=i===rv.multiple,f=e&&(f||!(t&&t.isCollapsed)),u=u||l,l=Pn(C);return this._classNames=Eb(_,{theme:C,className:S,selected:u,isCollapsed:m,compact:x}),t?mt.createElement("div",{className:this._classNames.root,style:r?{minWidth:r.width}:{},onClick:this._onHeaderClick,role:"row","aria-setsize":a,"aria-posinset":o,"aria-rowindex":c,"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":e?u:void 0,"aria-level":n+1},mt.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},f?mt.createElement("div",{role:"gridcell"},mt.createElement("button",pt({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:this._id+"-check","aria-checked":u,"aria-labelledby":this._id+"-check "+this._id,"data-selection-toggle":!0,onClick:this._onToggleSelectGroupClick},y),g({checked:u,theme:C},g))):i!==rv.none&&mt.createElement(wv,{indentWidth:48,count:1}),mt.createElement(wv,{indentWidth:d,count:n}),mt.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},mt.createElement(Wr,{iconName:"Tag"})),mt.createElement("div",{role:"gridcell"},mt.createElement("button",pt({"data-is-focusable":!1,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},v),mt.createElement(Wr,{className:this._classNames.expandIsCollapsed,iconName:b||(l?"ChevronLeftMed":"ChevronRightMed")}))),h(this.props,this._onRenderTitle),p&&mt.createElement(Tb,{label:s}))):null},jb.prototype._defaultCheckboxRender=function(e){return mt.createElement(Hh,{checked:e.checked})},jb.prototype._fastDefaultCheckboxRender=function(e){return mt.createElement(Pb,{theme:e.theme,checked:e.checked})},jb.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},jb),Pb=mt.memo(function(e){return mt.createElement(Hh,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}),Rb=In(K,function(e){var t,o=e.theme,n=e.className,r=e.selected,i=e.isCollapsed,s=e.compact,a=Pv.cellLeftPadding,l=s?40:48,c=o.semanticColors,u=o.palette,d=o.fonts,p=zo(bb,o),h=[bo(o),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[p.root,bo(o),o.fonts.medium,{borderBottom:"1px solid "+c.listBackground,cursor:"default",userSelect:"none",selectors:((t={":hover":{background:c.listItemBackgroundHovered,color:c.actionLinkHovered}})["&:hover ."+p.check]={opacity:1},t["."+go+" &:focus ."+p.check]={opacity:1},t[":global(."+p.group+"."+p.isDropping+")"]={selectors:((e={})["& > ."+p.root+" ."+p.dropIcon]={transition:"transform "+we.durationValue4+" cubic-bezier(0.075, 0.820, 0.165, 1.000) opacity "+we.durationValue1+" "+yb,transitionDelay:we.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},e["."+p.check]={opacity:0},e)},t)},r&&[p.isSelected,{background:c.listItemBackgroundChecked,selectors:((c={":hover":{background:c.listItemBackgroundCheckedHovered}})[""+p.check]={opacity:1},c)}],s&&[p.compact,{border:"none"}],n],groupHeaderContainer:[{display:"flex",alignItems:"center",height:l}],headerCount:[{padding:"0px 4px"}],check:[p.check,h,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:48,height:l,selectors:((n={})["."+go+" &:focus"]={opacity:1},n)}],expand:[p.expand,h,{display:"flex",alignItems:"center",justifyContent:"center",fontSize:d.small.fontSize,width:36,height:l,color:r?u.neutralPrimary:u.neutralSecondary,selectors:{":hover":{backgroundColor:r?u.neutralQuaternary:u.neutralLight},":active":{backgroundColor:r?u.neutralTertiaryAlt:u.neutralQuaternaryAlt}}}],expandIsCollapsed:[i?[p.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:Pn(o)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[p.title,{paddingLeft:a,fontSize:(s?d.medium:d.mediumPlus).fontSize,fontWeight:i?Fe.regular:Fe.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis"}],dropIcon:[p.dropIcon,{position:"absolute",left:-26,fontSize:Ae.large,color:u.neutralSecondary,transition:"transform "+we.durationValue2+" cubic-bezier(0.600, -0.280, 0.735, 0.045), opacity "+we.durationValue4+" "+yb,opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:((u={})[":global(."+p.iconTag+")"]={position:"absolute"},u)}]}},void 0,{scope:"GroupHeader"}),Mb={root:"ms-GroupShowAll",link:"ms-Link"},Nb=Fn(),Bb=In(function(e){var t=e.group,o=e.groupLevel,n=e.showAllLinkText,r=void 0===n?"Show All":n,i=e.styles,n=e.theme,s=e.onToggleSummarize,i=Nb(i,{theme:n}),n=(0,mt.useCallback)(function(e){s(t),e.stopPropagation(),e.preventDefault()},[s,t]);return t?mt.createElement("div",{className:i.root},mt.createElement(wv,{count:o}),mt.createElement(ca,{onClick:n},r)):null},function(e){var t=e.theme,o=t.fonts,e=zo(Mb,t);return{root:[e.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:((t={})["."+e.link]={fontSize:o.small.fontSize},t)}]}},void 0,{scope:"GroupShowAll"}),Fb={root:"ms-groupFooter"},Ab=Fn(),Lb=In(function(e){var t=e.group,o=e.groupLevel,n=e.footerText,r=e.indentWidth,i=e.styles,e=e.theme,e=Ab(i,{theme:e});return t&&n?mt.createElement("div",{className:e.root},mt.createElement(wv,{indentWidth:r,count:o}),n):null},function(e){var t=e.theme,o=e.className,e=zo(Fb,t);return{root:[t.fonts.medium,e.root,{position:"relative",padding:"5px 38px"},o]}},void 0,{scope:"GroupFooter"}),Hb=(l(Ub,_b=mt.Component),Ub.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,e=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),e&&this._events.on(e,lv,this._onSelectionChange)},Ub.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},Ub.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())))},Ub.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,o=e.group,n=e.groupIndex,r=e.headerProps,i=e.showAllProps,s=e.footerProps,a=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,g=e.onShouldVirtualize,f=e.groupedListClassNames,v=e.groups,b=e.compact,c=e.listProps,d=void 0===c?{}:c,h=this.state.isSelected,e=o&&t?t(o):1/0,c=o&&!o.children&&!o.isCollapsed&&!o.isShowingAll&&(o.count>e||o.hasMoreData),t=o&&o.children&&0<o.children.length,d=d.version,b={group:o,groupIndex:n,groupLevel:o?o.level:0,isSelected:h,selected:h,viewport:a,selectionMode:l,groups:v,compact:b},n={groupedListId:this._id,ariaSetSize:v?v.length:void 0,ariaPosInSet:void 0!==n?n+1:void 0},n=pt(pt(pt({},r),b),n),i=pt(pt({},i),b),s=pt(pt({},s),b),b=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(o)&&!!this.props.dragDropEvents.canDragGroups;return mt.createElement("div",pt({ref:this._root},b&&{draggable:!0},{className:Er(f&&f.group,this._getDroppingClassName()),role:"presentation"}),u(n,this._onRenderGroupHeader),o&&o.isCollapsed?null:t?mt.createElement(Mf,{role:"presentation",ref:this._list,items:o?o.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:g,version:d,id:this._id}):this._onRenderGroup(e),o&&o.isCollapsed?null:c&&p(i,this._onRenderGroupShowAll),m(s,this._onRenderGroupFooter))},Ub.prototype.forceUpdate=function(){_b.prototype.forceUpdate.call(this),this.forceListUpdate()},Ub.prototype.forceListUpdate=function(){var e,t=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),t&&t.children&&0<t.children.length)for(var o=t.children.length,n=0;n<o;n++)(e=this._list.current.pageRefs["subGroup_"+String(n)])&&e.forceListUpdate()}else(e=this._subGroupRefs["subGroup_"+String(0)])&&e.forceListUpdate()},Ub.prototype._onSelectionChange=function(){var e=this.props,t=e.group,e=e.selection;e&&t&&((t=e.isRangeSelected(t.startIndex,t.count))!==this.state.isSelected&&this.setState({isSelected:t}))},Ub.prototype._onRenderGroupCell=function(o,n,r){return function(e,t){return o(n,e,t,r)}},Ub.prototype._onRenderGroup=function(e){var t=this.props,o=t.group,n=t.items,r=t.onRenderCell,i=t.listProps,s=t.groupNestingDepth,a=t.onShouldVirtualize,l=t.groupProps,c=o&&!o.isShowingAll?o.count:n.length,t=o?o.startIndex:0;return mt.createElement(Mf,pt({role:l&&l.role?l.role:"rowgroup","aria-label":null==o?void 0:o.name,items:n,onRenderCell:this._onRenderGroupCell(r,s,o),ref:this._list,renderCount:Math.min(c,e),startIndex:t,onShouldVirtualize:a,id:this._id},i))},Ub.prototype._returnOne=function(){return 1},Ub.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(e.level)+String(t))},Ub.prototype._getDroppingClassName=function(){var e=this.state.isDropping,t=this.props,o=t.group,t=t.groupedListClassNames;return Er((e=!(!o||!e))&&this._droppingClassName,e&&"is-dropping",e&&t&&t.groupIsDropping)},Ub),Ob=Fn(),zb=Rv.rowHeight,Wb=Rv.compactRowHeight,Vb=(l(Gb,Cb=mt.Component),Gb.getDerivedStateFromProps=function(e,t){var o=e.groups,n=e.selectionMode,r=e.compact,i=e.items,s=e.listProps,a=s&&s.version,e=pt(pt({},t),{selectionMode:n,compact:r,groups:o,listProps:s}),s=!1;return a===(t.listProps&&t.listProps.version)&&i===t.items&&o===t.groups&&n===t.selectionMode&&r===t.compact||(s=!0),o!==t.groups&&(e=pt(pt({},e),{groups:o})),e=(s=n!==t.selectionMode||r!==t.compact?!0:s)?pt(pt({},e),{version:{}}):e},Gb.prototype.scrollToIndex=function(e,t,o){this._list.current&&this._list.current.scrollToIndex(e,t,o)},Gb.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},Gb.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,e=e.groups;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(void 0===e?[]:e,t.isAllGroupsCollapsed)},Gb.prototype.render=function(){var e=this.props,t=e.className,o=e.usePageCache,n=e.onShouldVirtualize,r=e.theme,i=e.role,s=void 0===i?"treegrid":i,a=e.styles,l=e.compact,c=e.focusZoneProps,u=void 0===c?{}:c,i=e.rootListProps,c=void 0===i?{}:i,e=this.state,i=e.groups,e=e.version;this._classNames=Ob(a,{theme:r,className:t,compact:l});l=u.shouldEnterInnerZone,l=void 0===l?this._isInnerZoneKeystroke:l;return mt.createElement(Ys,pt({direction:Ti.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},u,{shouldEnterInnerZone:l,className:Er(this._classNames.root,u.className)}),i?mt.createElement(Mf,pt({ref:this._list,role:s,items:i,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:o,onShouldVirtualize:n,version:e},c)):this._renderGroup(void 0,0))},Gb.prototype.forceUpdate=function(){Cb.prototype.forceUpdate.call(this),this._forceListUpdates()},Gb.prototype.toggleCollapseAll=function(e){var t=this.state.groups,o=void 0===t?[]:t,t=this.props.groupProps,t=t&&t.onToggleCollapseAll;0<o.length&&(t&&t(e),this._setGroupsCollapsedState(o,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},Gb.prototype._setGroupsCollapsedState=function(e,t){for(var o=0;o<e.length;o++)e[o].isCollapsed=t},Gb.prototype._returnOne=function(){return 1},Gb.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(t))},Gb.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.state.groups;t&&0<t.length;)e++,t=t[0].children;return e},Gb.prototype._forceListUpdates=function(e){this.setState({version:{}})},Gb.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some(function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed}))},Gb.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,e=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==e&&(t&&t(e),this._isSomeGroupExpanded=e)},Gb.defaultProps={selectionMode:rv.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},Gb),Kb=In(Vb,function(e){var t=e.theme,o=e.className,n=e.compact,r=t.palette,e=zo(vb,t);return{root:[e.root,t.fonts.small,{position:"relative",selectors:((t={})["."+e.listCell]={minHeight:38},t)},n&&[e.compact,{selectors:((n={})["."+e.listCell]={minHeight:32},n)}],o],group:[e.group,{transition:"background-color "+we.durationValue2+" cubic-bezier(0.445, 0.050, 0.550, 0.950)"}],groupIsDropping:{backgroundColor:r.neutralLight}}},void 0,{scope:"GroupedList"});function Gb(e){var y=Cb.call(this,e)||this;y._list=mt.createRef(),y._renderGroup=function(e,t){var o=y.props,n=o.dragDropEvents,r=o.dragDropHelper,i=o.eventsToRegister,s=o.groupProps,a=o.items,l=o.listProps,c=o.onRenderCell,u=o.selectionMode,d=o.selection,p=o.viewport,h=o.onShouldVirtualize,m=o.groups,g=o.compact,f={onToggleSelectGroup:y._onToggleSelectGroup,onToggleCollapse:y._onToggleCollapse,onToggleSummarize:y._onToggleSummarize},v=pt(pt({},s.headerProps),f),b=pt(pt({},s.showAllProps),f),o=pt(pt({},s.footerProps),f),f=y._getGroupNestingDepth();if(!s.showEmptyGroups&&e&&0===e.count)return null;l=pt(pt({},l||{}),{version:y.state.version});return mt.createElement(Hb,{key:y._getGroupKey(e,t),dragDropEvents:n,dragDropHelper:r,eventsToRegister:i,footerProps:o,getGroupItemLimit:s&&s.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:f,groupProps:s,headerProps:v,listProps:l,items:a,onRenderCell:c,onRenderGroupHeader:s.onRenderHeader,onRenderGroupShowAll:s.onRenderShowAll,onRenderGroupFooter:s.onRenderFooter,selectionMode:u,selection:d,showAllProps:b,viewport:p,onShouldVirtualize:h,groupedListClassNames:y._classNames,groups:m,compact:g})},y._getDefaultGroupItemLimit=function(e){return e.children&&0<e.children.length?e.children.length:e.count},y._getGroupItemLimit=function(e){var t=y.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:y._getDefaultGroupItemLimit)(e)},y._getGroupHeight=function(e){var t=y.props.compact?Wb:zb;return t+(e.isCollapsed?0:t*y._getGroupItemLimit(e))},y._getPageHeight=function(e){var t=y.state.groups,o=y.props.getGroupHeight,o=void 0===o?y._getGroupHeight:o,t=t&&t[e];return t?o(t,e):0},y._onToggleCollapse=function(e){var t=y.props.groupProps,t=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(t&&t(e),e.isCollapsed=!e.isCollapsed,y._updateIsSomeGroupExpanded(),y.forceUpdate())},y._onToggleSelectGroup=function(e){var t=y.props,o=t.selection,t=t.selectionMode;e&&o&&t===rv.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},y._isInnerZoneKeystroke=function(e){return e.which===Mn(Tn.right)},y._onToggleSummarize=function(e){var t=y.props.groupProps,t=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;t?t(e):(e&&(e.isShowingAll=!e.isShowingAll),y.forceUpdate())},y._getPageSpecification=function(e){var t=y.state.groups,e=t&&t[e];return{key:e&&e.key}},fi(y),y._isSomeGroupExpanded=y._computeIsSomeGroupExpanded(e.groups);var t=e.listProps,t=(void 0===t?{}:t).version;return y.state={groups:e.groups,items:e.items,listProps:e.listProps,version:void 0===t?{}:t},y}function Ub(e){var x=_b.call(this,e)||this;x._root=mt.createRef(),x._list=mt.createRef(),x._subGroupRefs={},x._droppingClassName="",x._onRenderGroupHeader=function(e){return mt.createElement(Rb,pt({},e))},x._onRenderGroupShowAll=function(e){return mt.createElement(Bb,pt({},e))},x._onRenderGroupFooter=function(e){return mt.createElement(Lb,pt({},e))},x._renderSubGroup=function(e,t){var o=x.props,n=o.dragDropEvents,r=o.dragDropHelper,i=o.eventsToRegister,s=o.getGroupItemLimit,a=o.groupNestingDepth,l=o.groupProps,c=o.items,u=o.headerProps,d=o.showAllProps,p=o.footerProps,h=o.listProps,m=o.onRenderCell,g=o.selection,f=o.selectionMode,v=o.viewport,b=o.onRenderGroupHeader,y=o.onRenderGroupShowAll,C=o.onRenderGroupFooter,_=o.onShouldVirtualize,S=o.group,o=o.compact,a=e.level?e.level+1:a;return!e||0<e.count||l&&l.showEmptyGroups?mt.createElement(Ub,{ref:function(e){return x._subGroupRefs["subGroup_"+t]=e},key:x._getGroupKey(e,t),dragDropEvents:n,dragDropHelper:r,eventsToRegister:i,footerProps:p,getGroupItemLimit:s,group:e,groupIndex:t,groupNestingDepth:a,groupProps:l,headerProps:u,items:c,listProps:h,onRenderCell:m,selection:g,selectionMode:f,showAllProps:d,viewport:v,onRenderGroupHeader:b,onRenderGroupShowAll:y,onRenderGroupFooter:C,onShouldVirtualize:_,groups:S?S.children:[],compact:o}):null},x._getGroupDragDropOptions=function(){var e=x.props,t=e.group,o=e.groupIndex,n=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:o,isGroup:!0},updateDropState:x._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}},x._updateDroppingState=function(e,t){var o=x.state.isDropping,n=x.props,r=n.dragDropEvents,n=n.group;o!==e&&(o?r&&r.onDragLeave&&r.onDragLeave(n,t):r&&r.onDragEnter&&(x._droppingClassName=r.onDragEnter(n,t)),x.setState({isDropping:e}))};var t=e.selection,e=e.group;return fi(x),x._id=Cs("GroupedListSection"),x.state={isDropping:!1,isSelected:!(!t||!e)&&t.isRangeSelected(e.startIndex,e.count)},x._events=new fa(x),x}function jb(e){var r=Sb.call(this,e)||this;return r._toggleCollapse=function(){var e=r.props,t=e.group,o=e.onToggleCollapse,n=e.isGroupLoading,e=!r.state.isCollapsed,n=!e&&n&&n(t);r.setState({isCollapsed:e,isLoadingVisible:n}),o&&o(t)},r._onKeyUp=function(e){var t=r.props,o=t.group,t=t.onGroupHeaderKeyUp;t&&t(e,o),e.defaultPrevented||(o=r.state.isCollapsed&&e.which===Mn(Tn.right,r.props.theme),(!r.state.isCollapsed&&e.which===Mn(Tn.left,r.props.theme)||o)&&(r._toggleCollapse(),e.stopPropagation(),e.preventDefault()))},r._onToggleClick=function(e){r._toggleCollapse(),e.stopPropagation(),e.preventDefault()},r._onToggleSelectGroupClick=function(e){var t=r.props,o=t.onToggleSelectGroup,t=t.group;o&&o(t),e.preventDefault(),e.stopPropagation()},r._onHeaderClick=function(){var e=r.props,t=e.group,o=e.onGroupHeaderClick,e=e.onToggleSelectGroup;o?o(t):e&&e(t)},r._onRenderTitle=function(e){var t=e.group,e=e.ariaColSpan;return t?mt.createElement("div",{className:r._classNames.title,id:r._id,role:"gridcell","aria-colspan":e},mt.createElement("span",null,t.name),mt.createElement("span",{className:r._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},r._id=Cs("GroupHeader"),r.state={isCollapsed:r.props.group&&r.props.group.isCollapsed,isLoadingVisible:!1},r}function qb(){return null!==xb&&xb.apply(this,arguments)||this}function Yb(e){var t;return e&&(e===window?t={left:0,top:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect&&(t=e.getBoundingClientRect())),t}function Zb(t){return l(e,o=au),e.prototype.componentDidMount=function(){var e=this,t=this.props,o=t.delayFirstMeasure,n=t.disableResizeObserver,r=t.skipViewportMeasures,t=qe(this._root.current);this._onAsyncResize=this._async.debounce(this._onAsyncResize,500,{leading:!1}),r||(!n&&this._isResizeObserverAvailable()?this._registerResizeObserver():this._events.on(t,"resize",this._onAsyncResize),o?this._async.setTimeout(function(){e._updateViewport()},500):this._updateViewport())},e.prototype.componentDidUpdate=function(e){var t=e.skipViewportMeasures,o=this.props,n=o.disableResizeObserver,e=o.skipViewportMeasures,o=qe(this._root.current);e!==t&&(e?(this._unregisterResizeObserver(),this._events.off(o,"resize",this._onAsyncResize)):(!n&&this._isResizeObserverAvailable()?this._viewportResizeObserver||this._registerResizeObserver():this._events.on(o,"resize",this._onAsyncResize),this._updateViewport()))},e.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._unregisterResizeObserver()},e.prototype.render=function(){var e=this.state.viewport,e=0<e.width&&0<e.height?e:void 0;return mt.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},mt.createElement(t,pt({ref:this._updateComposedComponentRef,viewport:e},this.props)))},e.prototype.forceUpdate=function(){this._updateViewport(!0)},e.prototype._onAsyncResize=function(){this._updateViewport()},e.prototype._isResizeObserverAvailable=function(){var e=qe(this._root.current);return e&&e.ResizeObserver},e;function e(e){var r=o.call(this,e)||this;return r._root=mt.createRef(),r._registerResizeObserver=function(){var e=qe(r._root.current);r._viewportResizeObserver=new e.ResizeObserver(r._onAsyncResize),r._viewportResizeObserver.observe(r._root.current)},r._unregisterResizeObserver=function(){r._viewportResizeObserver&&(r._viewportResizeObserver.disconnect(),delete r._viewportResizeObserver)},r._updateViewport=function(e){var t=r.state.viewport,o=r._root.current,n=Yb(Ms(o)),o=Yb(o);((o&&o.width)!==t.width||(n&&n.height)!==t.height)&&r._resizeAttempts<3&&o&&n?(r._resizeAttempts++,r.setState({viewport:{width:o.width,height:n.height}},function(){r._updateViewport(e)})):(r._resizeAttempts=0,e&&r._composedComponentInstance&&r._composedComponentInstance.forceUpdate())},r._async=new Si(r),r._events=new fa(r),r._resizeAttempts=0,r.state={viewport:{width:0,height:0}},r}var o}function Xb(i){var s,a=i.selection,e=i.ariaLabelForListHeader,t=i.ariaLabelForSelectAllCheckbox,o=i.ariaLabelForSelectionColumn,n=i.className,l=i.checkboxVisibility,c=i.compact,r=i.constrainMode,u=i.dragDropEvents,d=i.groups,p=i.groupProps,h=i.indentWidth,m=i.items,g=i.isPlaceholderData,f=i.isHeaderVisible,v=i.layoutMode,b=i.onItemInvoked,y=i.onItemContextMenu,C=i.onColumnHeaderClick,_=i.onColumnHeaderContextMenu,S=void 0===(We=i.selectionMode)?a.mode:We,x=i.selectionPreservedOnEmptyClick,k=i.selectionZoneProps,w=i.ariaLabel,I=i.ariaLabelForGrid,D=i.rowElementEventMap,T=void 0!==(Ve=i.shouldApplyApplicationRole)&&Ve,E=i.getKey,P=i.listProps,R=i.usePageCache,M=i.onShouldVirtualize,N=i.viewport,B=i.minimumPixelsForDrag,F=i.getGroupHeight,A=i.styles,L=i.theme,H=void 0===(qe=i.cellStyleProps)?Pv:qe,O=i.onRenderCheckbox,z=i.useFastIcons,W=i.dragDropHelper,V=i.adjustedColumns,K=i.isCollapsed,G=i.isSizing,U=i.isSomeGroupExpanded,j=i.version,q=i.rootRef,Y=i.listRef,Z=i.focusZoneRef,X=i.columnReorderOptions,Q=i.groupedListRef,J=i.headerRef,$=i.onGroupExpandStateChanged,ee=i.onColumnIsSizingChanged,te=i.onRowDidMount,oe=i.onRowWillUnmount,ne=i.disableSelectionZone,re=i.onColumnResized,ie=i.onColumnAutoResized,se=i.onToggleCollapse,ae=i.onActiveRowChanged,le=i.onBlur,ce=i.rowElementEventMap,ue=i.onRenderMissingItem,de=i.onRenderItemColumn,pe=i.getCellValueKey,he=i.getRowAriaLabel,me=i.getRowAriaDescribedBy,ge=i.checkButtonAriaLabel,fe=i.checkButtonGroupAriaLabel,ve=i.checkboxCellClassName,be=i.useReducedRowRenderer,ye=i.enableUpdateAnimations,Ce=i.enterModalSelectionOnTouch,_e=i.onRenderDefaultRow,Se=i.selectionZoneRef,xe=i.focusZoneProps,ke=i.role||"grid",we=Cs("row"),Ie=function(){for(var e=0,t=d;t&&0<t.length;)e++,t=t[0].children;return e}(),De=(s=d,mt.useMemo(function(){var e={};if(s)for(var t=1,o=1,n=0,r=s;n<r.length;n++){var i=r[n];e[i.key]={numOfGroupHeadersBeforeItem:o,totalRowCount:t},o++,t+=i.count+1}return e},[s])),Te=mt.useMemo(function(){return pt({renderedWindowsAhead:G?0:2,renderedWindowsBehind:G?0:2,getKey:E,version:j},P)},[G,E,j,P]),Ee=Wv.none;S===rv.single&&(Ee=Wv.hidden),S===rv.multiple&&(Ee=(Je=void 0===(Je=p&&p.headerProps&&p.headerProps.isCollapsedGroupSelectVisible)?!0:Je)||!d||U?Wv.visible:Wv.hidden),l===vv.hidden&&(Ee=Wv.none);var Pe=mt.useCallback(function(e){return mt.createElement(ab,pt({},e))},[]),Re=mt.useCallback(function(){return null},[]),Me=i.onRenderDetailsHeader,Ne=mt.useMemo(function(){return Me?Xh(Me,Pe):Pe},[Me,Pe]),Be=i.onRenderDetailsFooter,Fe=mt.useMemo(function(){return Be?Xh(Be,Re):Re},[Be,Re]),Ae=mt.useMemo(function(){return{columns:V,groupNestingDepth:Ie,selection:a,selectionMode:S,viewport:N,checkboxVisibility:l,indentWidth:h,cellStyleProps:H}},[V,Ie,a,S,N,l,h,H]),Le=X&&X.onDragEnd,He=mt.useCallback(function(e,t){var o=e.dropLocation,e=gv.outside;Le&&(o&&o!==gv.header?e=o:q.current&&(o=q.current.getBoundingClientRect(),t.clientX>o.left&&t.clientX<o.right&&t.clientY>o.top&&t.clientY<o.bottom&&(e=gv.surface)),Le(e))},[Le,q]),Oe=mt.useMemo(function(){if(X)return pt(pt({},X),{onColumnDragEnd:He})},[X,He]),ze=(f?1:0)+function(){var e=0;if(d)for(var t,o=$e(d);o&&0<o.length;)++e,(t=o.pop())&&t.children&&o.push.apply(o,t.children);return e}()+(m?m.length:0),We=(Ee!==Wv.none?1:0)+(V?V.length:0)+(d?1:0),Ve=mt.useMemo(function(){return Jb(A,{theme:L,compact:c,isFixed:v===fv.fixedColumns,isHorizontalConstrained:r===mv.horizontalConstrained,className:n})},[A,L,c,v,r,n]),Ke=p&&p.onRenderFooter,Ge=mt.useMemo(function(){return Ke?function(e,t){return Ke(pt(pt({},e),{columns:V,groupNestingDepth:Ie,indentWidth:h,selection:a,selectionMode:S,viewport:N,checkboxVisibility:l,cellStyleProps:H}),t)}:void 0},[Ke,V,Ie,h,a,S,N,l,H]),Ue=p&&p.onRenderHeader,je=mt.useMemo(function(){return Ue?function(e,t){var o=e.groupIndex,n=void 0===o||null===(n=null===(n=e.groups)||void 0===n?void 0:n[o])||void 0===n?void 0:n.key,n=void 0!==n&&De[n]?De[n].totalRowCount:0;return Ue(pt(pt({},e),{columns:V,groupNestingDepth:Ie,indentWidth:h,selection:a,selectionMode:l!==vv.hidden?S:rv.none,viewport:N,checkboxVisibility:l,cellStyleProps:H,ariaColSpan:V.length,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==o?n+(f?1:0):void 0}),t)}:function(e,t){var o=e.groupIndex,n=void 0===o||null===(n=null===(n=e.groups)||void 0===n?void 0:n[o])||void 0===n?void 0:n.key,n=void 0!==n&&De[n]?De[n].totalRowCount:0;return t(pt(pt({},e),{ariaColSpan:V.length,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==o?n+(f?1:0):void 0}))}},[Ue,V,Ie,h,f,a,S,N,l,H,De]),qe=mt.useMemo(function(){return pt(pt({},p),{role:"grid"===ke?"rowgroup":"presentation",onRenderFooter:Ge,onRenderHeader:je,headerProps:pt({selectAllButtonProps:{"aria-label":fe}},null==p?void 0:p.headerProps)})},[p,Ge,je,fe,ke]),Ye=bl(function(){return Ao(function(e){var t=0;return e.forEach(function(e){return t+=e.calculatedWidth||e.minWidth}),t})}),Ze=p&&p.collapseAllVisibility,Xe=mt.useMemo(function(){return Ye(V)},[V,Ye]),Qe=mt.useCallback(function(e,t,o,n){var r=i.onRenderRow?Xh(i.onRenderRow,_e):_e,n=n?n.key:void 0,n=n&&De[n]?De[n].numOfGroupHeadersBeforeItem:0,e={item:t,itemIndex:o,flatIndexOffset:(f?2:1)+n,compact:c,columns:V,groupNestingDepth:e,id:we+"-"+o,selectionMode:S,selection:a,onDidMount:te,onWillUnmount:oe,onRenderItemColumn:de,getCellValueKey:pe,eventsToRegister:ce,dragDropEvents:u,dragDropHelper:W,viewport:N,checkboxVisibility:l,collapseAllVisibility:Ze,getRowAriaLabel:he,getRowAriaDescribedBy:me,checkButtonAriaLabel:ge,checkboxCellClassName:ve,useReducedRowRenderer:be,indentWidth:h,cellStyleProps:H,onRenderDetailsCheckbox:O,enableUpdateAnimations:ye,rowWidth:Xe,useFastIcons:z,role:"grid"===ke?void 0:"presentation"};return t?r(e):ue?ue(o,e):null},[c,V,S,a,we,te,oe,de,pe,ce,u,W,N,l,Ze,he,me,f,ge,ve,be,h,H,O,ye,z,_e,ue,i.onRenderRow,Xe,ke,De]),Je=mt.useCallback(function(o){return function(e,t){return Qe(o,e,t)}},[Qe]),U=mt.useCallback(function(e){return e.which===Mn(Tn.right,L)},[L]),le=pt(pt({},xe),{componentRef:Z,className:Ve.focusZone,direction:xe?xe.direction:Ti.vertical,shouldEnterInnerZone:xe&&xe.shouldEnterInnerZone?xe.shouldEnterInnerZone:U,onActiveElementChanged:xe&&xe.onActiveElementChanged?xe.onActiveElementChanged:ae,shouldRaiseClicksOnEnter:!1,onBlur:xe&&xe.onBlur?xe.onBlur:le}),R=d?mt.createElement(Kb,{focusZoneProps:le,componentRef:Q,groups:d,groupProps:qe,items:m,onRenderCell:Qe,role:"presentation",selection:a,selectionMode:l!==vv.hidden?S:rv.none,dragDropEvents:u,dragDropHelper:W,eventsToRegister:D,listProps:Te,onGroupExpandStateChanged:$,usePageCache:R,onShouldVirtualize:M,getGroupHeight:F,compact:c}):mt.createElement(Ys,pt({},le),mt.createElement(Mf,pt({ref:Y,role:"presentation",items:m,onRenderCell:Je(0),usePageCache:R,onShouldVirtualize:M},Te))),M=mt.useCallback(function(e){e.which===Tn.down&&Z.current&&Z.current.focus()&&(0===a.getSelectedIndices().length&&a.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())},[a,Z]),Te=mt.useCallback(function(e){e.which!==Tn.up||e.altKey||J.current&&J.current.focus()&&(e.preventDefault(),e.stopPropagation())},[J]);return mt.createElement("div",pt({ref:q,className:Ve.root,"data-automationid":"DetailsList","data-is-scrollable":"false","aria-label":w},T?{role:"application"}:{}),mt.createElement(oa,null),mt.createElement("div",{role:ke,"aria-label":I,"aria-rowcount":g?-1:ze,"aria-colcount":We,"aria-readonly":"true","aria-busy":g},mt.createElement("div",{onKeyDown:M,role:"presentation",className:Ve.headerWrapper},f&&Ne({componentRef:J,selectionMode:S,layoutMode:v,selection:a,columns:V,onColumnClick:C,onColumnContextMenu:_,onColumnResized:re,onColumnIsSizingChanged:ee,onColumnAutoResized:ie,groupNestingDepth:Ie,isAllCollapsed:K,onToggleCollapseAll:se,ariaLabel:e,ariaLabelForSelectAllCheckbox:t,ariaLabelForSelectionColumn:o,selectAllVisibility:Ee,collapseAllVisibility:p&&p.collapseAllVisibility,viewport:N,columnReorderProps:Oe,minimumPixelsForDrag:B,cellStyleProps:H,checkboxVisibility:l,indentWidth:h,onRenderDetailsCheckbox:O,rowWidth:Ye(V),useFastIcons:z},Ne)),mt.createElement("div",{onKeyDown:Te,role:"presentation",className:Ve.contentWrapper},ne?R:mt.createElement(xv,pt({ref:Se,selection:a,selectionPreservedOnEmptyClick:x,selectionMode:S,onItemInvoked:b,onItemContextMenu:y,enterModalOnTouch:Ce},k||{}),R)),Fe(pt({},Ae))))}var Qb,Jb=Fn(),$b=100,e0=(l(t0,Qb=mt.Component),t0.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},t0.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)},t0.prototype.focusIndex=function(e,t,o,n){void 0===t&&(t=!1);var r=this.props.items[e];r&&(this.scrollToIndex(e,o,n),e=this._getItemKey(r,e),(e=this._activeRows[e])&&this._setFocusToRow(e,t))},t0.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},t0.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},t0.prototype.componentDidUpdate=function(e,t){var o,n,r;this._notifyColumnsResized(),void 0!==this._initialFocusedIndex&&(n=this.props.items[this._initialFocusedIndex])&&(r=this._getItemKey(n,this._initialFocusedIndex),(o=this._activeRows[r])&&this._setFocusToRowIfPending(o)),this.props.items!==e.items&&0<this.props.items.length&&-1!==this.state.focusedItemIndex&&!$i(this._root.current,document.activeElement,!1)&&(e=this.state.focusedItemIndex<this.props.items.length?this.state.focusedItemIndex:this.props.items.length-1,n=this.props.items[e],r=this._getItemKey(n,this.state.focusedItemIndex),(o=this._activeRows[r])?this._setFocusToRow(o):this._initialFocusedIndex=e),this.props.onDidUpdate&&this.props.onDidUpdate(this)},t0.prototype.render=function(){return mt.createElement(Xb,pt({},this.props,this.state,{selection:this._selection,dragDropHelper:this._dragDropHelper,rootRef:this._root,listRef:this._list,groupedListRef:this._groupedList,focusZoneRef:this._focusZone,headerRef:this._header,selectionZoneRef:this._selectionZone,onGroupExpandStateChanged:this._onGroupExpandStateChanged,onColumnIsSizingChanged:this._onColumnIsSizingChanged,onRowDidMount:this._onRowDidMount,onRowWillUnmount:this._onRowWillUnmount,onColumnResized:this._onColumnResized,onColumnAutoResized:this._onColumnAutoResized,onToggleCollapse:this._onToggleCollapse,onActiveRowChanged:this._onActiveRowChanged,onBlur:this._onBlur,onRenderDefaultRow:this._onRenderRow}))},t0.prototype.forceUpdate=function(){Qb.prototype.forceUpdate.call(this),this._forceListUpdates()},t0.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.props.groups;t&&0<t.length;)e++,t=t[0].children;return e},t0.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},t0.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)},t0.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},t0.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach(function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)})},t0.prototype._adjustColumns=function(e,t,o,n){o=this._getAdjustedColumns(e,t,o,n),n=this.props.viewport,n=n&&n.width?n.width:0;return pt(pt({},t),{adjustedColumns:o,lastWidth:n})},t0.prototype._getAdjustedColumns=function(e,t,o,n){var r,i=this,s=e.items,a=e.layoutMode,l=e.selectionMode,c=e.viewport,u=c&&c.width?c.width:0,d=e.columns,p=this.props?this.props.columns:[],c=t?t.lastWidth:-1,t=t?t.lastSelectionMode:void 0;return o||c!==u||t!==l||p&&d!==p?(d=d||o0(s,!0),a===fv.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||[]},t0.prototype._getFixedColumns=function(e,t,o){var n=this,r=this.props,i=r.selectionMode,s=void 0===i?this._selection.mode:i,a=r.checkboxVisibility,i=r.flexMargin,l=r.skipViewportMeasures,c=t-(i||0),u=0;e.forEach(function(e){l||!e.flexGrow?c-=e.maxWidth||e.minWidth||$b:(c-=e.minWidth||$b,u+=e.flexGrow),c-=n0(e,o,!0)});var s=s!==rv.none&&a!==vv.hidden?48:0,a=36*this._getGroupNestingDepth(),d=(c-=s+a)/u;return l||e.forEach(function(e){var t,o=pt(pt({},e),n._columnOverrides[e.key]);o.flexGrow&&o.maxWidth&&(0<(e=(t=o.flexGrow*d+o.minWidth)-o.maxWidth)&&(c+=e,u-=e/(t-o.minWidth)*o.flexGrow))}),d=0<c?c/u:0,e.map(function(e){e=pt(pt({},e),n._columnOverrides[e.key]);return!l&&e.flexGrow&&c<=0||e.calculatedWidth||(!l&&e.flexGrow?(e.calculatedWidth=e.minWidth+e.flexGrow*d,e.calculatedWidth=Math.min(e.calculatedWidth,e.maxWidth||Number.MAX_VALUE)):e.calculatedWidth=e.maxWidth||e.minWidth||$b),e})},t0.prototype._getJustifiedColumns=function(e,t,n){var r=this,o=n.selectionMode,i=void 0===o?this._selection.mode:o,o=n.checkboxVisibility,i=i!==rv.none&&o!==vv.hidden?48:0,o=36*this._getGroupNestingDepth(),s=0,a=0,l=t-(i+o),c=e.map(function(e,t){var o=pt(pt({},e),{calculatedWidth:e.minWidth||$b}),e=pt(pt({},o),r._columnOverrides[e.key]);return o.isCollapsible||o.isCollapsable||(a+=n0(o,n)),s+=n0(e,n),e});if(l<a)return c;for(var u=c.length-1;0<=u&&l<s;){var d,p=(f=c[u]).minWidth||$b,h=s-l;f.calculatedWidth-p>=h||!f.isCollapsible&&!f.isCollapsable?(d=f.calculatedWidth,f.calculatedWidth=Math.max(f.calculatedWidth-h,p),s-=d-f.calculatedWidth):(s-=n0(f,n),c.splice(u,1)),u--}for(var m=0;m<c.length&&s<l;m++){var g,f=c[m],v=m===c.length-1,b=this._columnOverrides[f.key];b&&b.calculatedWidth&&!v||(g=l-s,b=void 0,b=v?g:(v=f.maxWidth,p=f.minWidth||v||$b,v?Math.min(g,v-p):g),f.calculatedWidth=f.calculatedWidth+b,s+=b)}return c},t0.prototype._rememberCalculatedWidth=function(e,t){e=this._getColumnOverride(e.key);e.calculatedWidth=t,e.currentWidth=t},t0.prototype._getColumnOverride=function(e){return this._columnOverrides[e]=this._columnOverrides[e]||{}},t0.prototype._getItemKey=function(e,t){var o=this.props.getKey,n=void 0;return e&&(n=e.key),n=(n=o?o(e,t):n)||t},t0.defaultProps={layoutMode:fv.justified,selectionMode:rv.multiple,constrainMode:mv.horizontalConstrained,checkboxVisibility:vv.onHover,isHeaderVisible:!0,compact:!1,useFastIcons:!0},c([Zb],t0));function t0(e){var h=Qb.call(this,e)||this;return h._root=mt.createRef(),h._header=mt.createRef(),h._groupedList=mt.createRef(),h._list=mt.createRef(),h._focusZone=mt.createRef(),h._selectionZone=mt.createRef(),h._onRenderRow=function(e,t){return mt.createElement(fb,pt({},e))},h._getDerivedStateFromProps=function(e,t){var o=h.props,n=o.checkboxVisibility,r=o.items,i=o.setKey,s=o.selectionMode,a=void 0===s?h._selection.mode:s,l=o.columns,c=o.viewport,u=o.compact,d=o.dragDropEvents,p=(h.props.groupProps||{}).isAllGroupsCollapsed,s=void 0===p?void 0:p,o=e.viewport&&e.viewport.width||0,p=c&&c.width||0,c=e.setKey!==i||void 0===e.setKey,i=!1;e.layoutMode!==h.props.layoutMode&&(i=!0);return c&&(h._initialFocusedIndex=e.initialFocusedIndex,t=pt(pt({},t),{focusedItemIndex:void 0!==h._initialFocusedIndex?h._initialFocusedIndex:-1})),h.props.disableSelectionZone||e.items===r||h._selection.setItems(e.items,c),e.checkboxVisibility===n&&e.columns===l&&o===p&&e.compact===u||(i=!0),t=pt(pt({},t),h._adjustColumns(e,t,!0)),e.selectionMode!==a&&(i=!0),void 0===s&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&(t=pt(pt({},t),{isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed})),e.dragDropEvents!==d&&(h._dragDropHelper&&h._dragDropHelper.dispose(),h._dragDropHelper=e.dragDropEvents?new Gv({selection:h._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,i=!0),t=i?pt(pt({},t),{version:{}}):t},h._onGroupExpandStateChanged=function(e){h.setState({isSomeGroupExpanded:e})},h._onColumnIsSizingChanged=function(e,t){h.setState({isSizing:t})},h._onRowDidMount=function(e){var t=e.props,o=t.item,n=t.itemIndex,t=h._getItemKey(o,n);h._activeRows[t]=e,h._setFocusToRowIfPending(e);e=h.props.onRowDidMount;e&&e(o,n)},h._onRowWillUnmount=function(e){var t=h.props.onRowWillUnmount,o=e.props,n=o.item,e=o.itemIndex,o=h._getItemKey(n,e);delete h._activeRows[o],t&&t(n,e)},h._onToggleCollapse=function(e){h.setState({isCollapsed:e}),h._groupedList.current&&h._groupedList.current.toggleCollapseAll(e)},h._onColumnResized=function(e,t,o){t=Math.max(e.minWidth||$b,t);h.props.onColumnResize&&h.props.onColumnResize(e,t,o),h._rememberCalculatedWidth(e,t),h.setState(pt(pt({},h._adjustColumns(h.props,h.state,!0,o)),{version:{}}))},h._onColumnAutoResized=function(t,o){var e,n=0,r=0,i=Object.keys(h._activeRows).length;for(e in h._activeRows)h._activeRows.hasOwnProperty(e)&&h._activeRows[e].measureCell(o,function(e){n=Math.max(n,e),++r===i&&h._onColumnResized(t,n,o)})},h._onActiveRowChanged=function(e,t){var o=h.props,n=o.items,o=o.onActiveItemChanged;e&&e.getAttribute("data-item-index")&&(0<=(e=Number(e.getAttribute("data-item-index")))&&(o&&o(n[e],e,t),h.setState({focusedItemIndex:e})))},h._onBlur=function(e){h.setState({focusedItemIndex:-1})},fi(h),h._async=new Si(h),h._activeRows={},h._columnOverrides={},h.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:h._getAdjustedColumns(e,void 0),isSizing:!1,isCollapsed:e.groupProps&&e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:e.groupProps&&!e.groupProps.isAllGroupsCollapsed,version:{},getDerivedStateFromProps:h._getDerivedStateFromProps},h._selection=e.selection||new cv({onSelectionChanged:void 0,getKey:e.getKey,selectionMode:e.selectionMode}),h.props.disableSelectionZone||h._selection.setItems(e.items,!1),h._dragDropHelper=e.dragDropEvents?new Gv({selection:h._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,h._initialFocusedIndex=e.initialFocusedIndex,h}function o0(e,t,o,n,r,i,s){var a=[];if(e&&e.length){var l,c=e[0];for(l in c)c.hasOwnProperty(l)&&a.push({key:l,name:l,fieldName:l,minWidth:$b,maxWidth:300,isCollapsable:!!a.length,isCollapsible:!!a.length,isMultiline:void 0!==s&&s,isSorted:n===l,isSortedDescending:!!r,isRowHeader:!1,columnActionsMode:hv.clickable,isResizable:t,onColumnClick:o,isGrouped:i===l})}return a}function n0(e,t,o){t=t.cellStyleProps,t=void 0===t?Pv:t;return(o?0:e.calculatedWidth)+t.cellLeftPadding+t.cellRightPadding+(e.isPadded?t.cellExtraRightPadding:0)}var r0,i0={root:"ms-DetailsList",compact:"ms-DetailsList--Compact",contentWrapper:"ms-DetailsList-contentWrapper",headerWrapper:"ms-DetailsList-headerWrapper",isFixed:"is-fixed",isHorizontalConstrained:"is-horizontalConstrained",listCell:"ms-List-cell"},s0=In(e0,function(e){var t=e.theme,o=e.className,n=e.isHorizontalConstrained,r=e.compact,i=e.isFixed,s=t.semanticColors,e=zo(i0,t);return{root:[e.root,t.fonts.small,{position:"relative",color:s.listText,selectors:((s={})["& ."+e.listCell]={minHeight:38,wordBreak:"break-word"},s)},i&&e.isFixed,r&&[e.compact,{selectors:((r={})["."+e.listCell]={minHeight:32},r)}],n&&[e.isHorizontalConstrained,{overflowX:"auto",overflowY:"visible",WebkitOverflowScrolling:"touch"}],o],focusZone:[{display:"inline-block",minWidth:"100%",minHeight:1}],headerWrapper:e.headerWrapper,contentWrapper:e.contentWrapper}},void 0,{scope:"DetailsList"});(U=r0=r0||{})[U.normal=0]="normal",U[U.largeHeader=1]="largeHeader",U[U.close=2]="close";var a0,l0,c0=we.durationValue2,u0={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},d0=Fn(),p0=(l(C0,l0=mt.Component),C0.prototype.componentDidMount=function(){this._allowTouchBodyScroll||Es()},C0.prototype.componentWillUnmount=function(){this._allowTouchBodyScroll||Ps()},C0.prototype.render=function(){var e=this.props,t=e.isDarkThemed,o=e.className,n=e.theme,r=e.styles,e=ur(this.props,cr),t=d0(r,{theme:n,className:o,isDark:t});return mt.createElement("div",pt({},e,{className:t.root}))},C0),h0={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},m0=In(p0,function(e){var t=e.className,o=e.theme,n=e.isNone,r=e.isDark,i=o.palette,e=zo(h0,o);return{root:[e.root,o.fonts.medium,{backgroundColor:i.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:((o={})[Yt]={border:"1px solid WindowText",opacity:0},o)},n&&{visibility:"hidden"},r&&[e.rootDark,{backgroundColor:i.blackTranslucent40}],t]}},void 0,{scope:"Overlay"}),g0=Ao(function(e,t){return{root:j(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}}),f0={start:"touchstart",move:"touchmove",stop:"touchend"},v0={start:"mousedown",move:"mousemove",stop:"mouseup"},b0=(l(y0,a0=mt.Component),y0.prototype.componentDidUpdate=function(e){!this.props.position||e.position&&this.props.position===e.position||this.setState({position:this.props.position})},y0.prototype.componentWillUnmount=function(){this._events.forEach(function(e){return e()})},y0.prototype.render=function(){var e=mt.Children.only(this.props.children),t=e.props,o=this.props.position,n=this.state,r=n.position,i=n.isDragging,n=r.x,r=r.y;return o&&!i&&(n=o.x,r=o.y),mt.cloneElement(e,{style:pt(pt({},t.style),{transform:"translate("+n+"px, "+r+"px)"}),className:g0(t.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})},y0.prototype._getControlPosition=function(e){var t=this._getActiveTouch(e);if(void 0===this._touchId||t){e=t||e;return{x:e.clientX,y:e.clientY}}},y0.prototype._getActiveTouch=function(e){return e.targetTouches&&this._findTouchInTouchList(e.targetTouches)||e.changedTouches&&this._findTouchInTouchList(e.changedTouches)},y0.prototype._getTouchId=function(e){e=e.targetTouches&&e.targetTouches[0]||e.changedTouches&&e.changedTouches[0];if(e)return e.identifier},y0.prototype._matchesSelector=function(e,t){if(!e||e===document.body)return!1;var o=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return!!o&&(o.call(e,t)||this._matchesSelector(e.parentElement,t))},y0.prototype._findTouchInTouchList=function(e){if(void 0!==this._touchId)for(var t=0;t<e.length;t++)if(e[t].identifier===this._touchId)return e[t]},y0.prototype._createDragDataFromPosition=function(e){var t=this.state.lastPosition;return void 0===t?{delta:{x:0,y:0},lastPosition:e,position:e}:{delta:{x:e.x-t.x,y:e.y-t.y},lastPosition:t,position:e}},y0.prototype._createUpdatedDragData=function(e){var t=this.state.position;return{position:{x:t.x+e.delta.x,y:t.y+e.delta.y},delta:e.delta,lastPosition:t}},y0);function y0(e){var r=a0.call(this,e)||this;return r._currentEventType=v0,r._events=[],r._onMouseDown=function(e){var t=mt.Children.only(r.props.children).props.onMouseDown;return t&&t(e),r._currentEventType=v0,r._onDragStart(e)},r._onMouseUp=function(e){var t=mt.Children.only(r.props.children).props.onMouseUp;return t&&t(e),r._currentEventType=v0,r._onDragStop(e)},r._onTouchStart=function(e){var t=mt.Children.only(r.props.children).props.onTouchStart;return t&&t(e),r._currentEventType=f0,r._onDragStart(e)},r._onTouchEnd=function(e){var t=mt.Children.only(r.props.children).props.onTouchEnd;t&&t(e),r._currentEventType=f0,r._onDragStop(e)},r._onDragStart=function(e){if("number"==typeof e.button&&0!==e.button)return!1;var t,o;r.props.handleSelector&&!r._matchesSelector(e.target,r.props.handleSelector)||r.props.preventDragSelector&&r._matchesSelector(e.target,r.props.preventDragSelector)||(r._touchId=r._getTouchId(e),void 0!==(t=r._getControlPosition(e))&&(o=r._createDragDataFromPosition(t),r.props.onStart&&r.props.onStart(e,o),r.setState({isDragging:!0,lastPosition:t}),r._events=[Ha(document.body,r._currentEventType.move,r._onDrag,!0),Ha(document.body,r._currentEventType.stop,r._onDragStop,!0)]))},r._onDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t,o,n=r._getControlPosition(e);n&&(o=(t=r._createUpdatedDragData(r._createDragDataFromPosition(n))).position,r.props.onDragChange&&r.props.onDragChange(e,t),r.setState({position:o,lastPosition:n}))},r._onDragStop=function(e){var t;!r.state.isDragging||(t=r._getControlPosition(e))&&(t=r._createDragDataFromPosition(t),r.setState({isDragging:!1,lastPosition:void 0}),r.props.onStop&&r.props.onStop(e,t),r.props.position&&r.setState({position:r.props.position}),r._events.forEach(function(e){return e()}))},r.state={isDragging:!1,position:r.props.position||{x:0,y:0},lastPosition:void 0},r}function C0(e){var t=l0.call(this,e)||this;fi(t);e=t.props.allowTouchBodyScroll;return t._allowTouchBodyScroll=void 0!==e&&e,t}function _0(e){var t=mt.useState(e),e=t[0],o=t[1];return[e,{setTrue:bl(function(){return function(){o(!0)}}),setFalse:bl(function(){return function(){o(!1)}}),toggle:bl(function(){return function(){o(function(e){return!e})}})}]}var S0={x:0,y:0},x0={isOpen:!1,isDarkOverlay:!0,className:"",containerClassName:""},k0=Fn(),w0=mt.forwardRef(function(e,t){function o(){var e=L.current;(e=null==e?void 0:e.getBoundingClientRect())&&(T&&Z(e.top),ee&&($.minPosition={x:-e.left,y:-e.top},$.maxPosition={x:e.left,y:e.top}))}function n(){var e;$.lastSetCoordinates=S0,J(),$.isInKeyboardMoveMode=!1,U(!1),Y(S0),null===(e=$.disposeOnKeyUp)||void 0===e||e.call($),null==N||N()}var r,i,s=Hn(x0,e),a=s.allowTouchBodyScroll,l=s.className,c=s.children,u=s.containerClassName,d=s.scrollableContentClassName,p=s.elementToFocusOnDismiss,h=s.firstFocusableSelector,m=s.forceFocusInsideTrap,g=s.ignoreExternalFocusing,f=s.isBlocking,v=s.isAlert,b=s.isClickableOutsideFocusTrap,y=s.isDarkOverlay,C=s.onDismiss,_=s.layerProps,S=s.overlay,x=s.isOpen,k=s.titleAriaId,w=s.styles,I=s.subtitleAriaId,D=s.theme,T=s.topOffsetFixed,E=s.responsiveMode,P=s.onLayerDidMount,R=s.isModeless,M=s.dragOptions,N=s.onDismissed,B=s.enableAriaHiddenSiblings,F=mt.useRef(null),A=mt.useRef(null),L=mt.useRef(null),H=_r(F,t),O=bu(H),z=tu("ModalFocusTrapZone"),W=Sl(),e=_m(),V=e.setTimeout,K=e.clearTimeout,F=mt.useState(x),G=F[0],U=F[1],t=mt.useState(x),e=t[0],j=t[1],F=mt.useState(S0),q=F[0],Y=F[1],t=mt.useState(),F=t[0],Z=t[1],t=_0(!1),X=t[0],t=t[1],Q=t.toggle,J=t.setFalse,$=bl(function(){return{onModalCloseTimer:0,allowTouchBodyScroll:a,scrollableContent:null,lastSetCoordinates:S0,events:new fa({})}}),ee=(M||{}).keepInBounds,t=null!=v?v:f&&!R,v=void 0===_?"":_.className,u=k0(w,{theme:D,className:l,containerClassName:u,scrollableContentClassName:d,isOpen:x,isVisible:e,hasBeenOpened:$.hasBeenOpened,modalRectangleTop:F,topOffsetFixed:T,isModeless:R,layerClassName:v,windowInnerHeight:null==W?void 0:W.innerHeight,isDefaultDragHandle:M&&!M.dragHandleSelector}),d=pt(pt({eventBubblingEnabled:!1},_),{onLayerDidMount:_&&_.onLayerDidMount?_.onLayerDidMount:P,insertFirst:R,className:u.layer}),e=mt.useCallback(function(e){e?($.allowTouchBodyScroll?Ds:Is)(e,$.events):$.events.off($.scrollableContent),$.scrollableContent=e},[$]),te=mt.useCallback(function(e,t){var o=$.minPosition,n=$.maxPosition;return ee&&o&&n&&(t=Math.max(o[e],t),t=Math.min(n[e],t)),t},[ee,$]),F=mt.useCallback(function(){J(),$.isInKeyboardMoveMode=!1},[$,J]),v=mt.useCallback(function(e,t){Y(function(e){return{x:te("x",e.x+t.delta.x),y:te("y",e.y+t.delta.y)}})},[te]),_=mt.useCallback(function(){A.current&&A.current.focus()},[]);mt.useEffect(function(){var e;K($.onModalCloseTimer),x&&(requestAnimationFrame(function(){return V(o,0)}),U(!0),M&&(e=function(e){e.altKey&&e.ctrlKey&&e.keyCode===Tn.space&&$i($.scrollableContent,e.target)&&(Q(),e.preventDefault(),e.stopPropagation())},$.disposeOnKeyUp||($.events.on(W,"keyup",e,!0),$.disposeOnKeyUp=function(){$.events.off(W,"keyup",e,!0),$.disposeOnKeyUp=void 0})),$.hasBeenOpened=!0,j(!0)),!x&&G&&($.onModalCloseTimer=V(n,1e3*parseFloat(c0)),j(!1))},[G,x]),P=function(){$.events.dispose()},(r=mt.useRef(P)).current=P,mt.useEffect(function(){return function(){var e;null===(e=r.current)||void 0===e||e.call(r)}},[]),i=A,mt.useImperativeHandle(s.componentRef,function(){return{focus:function(){i.current&&i.current.focus()}}},[i]);c=mt.createElement(Mh,{id:z,ref:L,componentRef:A,className:u.main,elementToFocusOnDismiss:p,isClickableOutsideFocusTrap:R||b||!f,ignoreExternalFocusing:g,forceFocusInsideTrap:R?!R:m,firstFocusableSelector:h,focusPreviouslyFocusedInnerElement:!0,onBlur:$.isInKeyboardMoveMode?function(){var e;$.lastSetCoordinates=S0,$.isInKeyboardMoveMode=!1,null===(e=$.disposeOnKeyDown)||void 0===e||e.call($)}:void 0,enableAriaHiddenSiblings:B},M&&$.isInKeyboardMoveMode&&mt.createElement("div",{className:u.keyboardMoveIconContainer},M.keyboardMoveIconProps?mt.createElement(Wr,pt({},M.keyboardMoveIconProps)):mt.createElement(Wr,{iconName:"move",className:u.keyboardMoveIcon})),mt.createElement("div",{ref:e,className:u.scrollableContent,"data-is-scrollable":!0},M&&X&&mt.createElement(M.menu,{items:[{key:"move",text:M.moveMenuItemText,onClick:function(){function e(e){if(e.altKey&&e.ctrlKey&&e.keyCode===Tn.space)return e.preventDefault(),void e.stopPropagation();if(X&&(e.altKey||e.keyCode===Tn.escape)&&J(),!$.isInKeyboardMoveMode||e.keyCode!==Tn.escape&&e.keyCode!==Tn.enter||($.isInKeyboardMoveMode=!1,e.preventDefault(),e.stopPropagation()),$.isInKeyboardMoveMode){var t=!0,o=(n=10,e.shiftKey?e.ctrlKey||(n=50):e.ctrlKey&&(n=1),n);switch(e.keyCode){case Tn.escape:Y($.lastSetCoordinates);case Tn.enter:$.lastSetCoordinates=S0;break;case Tn.up:Y(function(e){return{x:e.x,y:te("y",e.y-o)}});break;case Tn.down:Y(function(e){return{x:e.x,y:te("y",e.y+o)}});break;case Tn.left:Y(function(e){return{x:te("x",e.x-o),y:e.y}});break;case Tn.right:Y(function(e){return{x:te("x",e.x+o),y:e.y}});break;default:t=!1}t&&(e.preventDefault(),e.stopPropagation())}var n}$.lastSetCoordinates=q,J(),$.isInKeyboardMoveMode=!0,$.events.on(W,"keydown",e,!0),$.disposeOnKeyDown=function(){$.events.off(W,"keydown",e,!0),$.disposeOnKeyDown=void 0}}},{key:"close",text:M.closeMenuItemText,onClick:n}],onDismiss:J,alignTargetEdge:!0,coverTarget:!0,directionalHint:Ea.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:$.scrollableContent}),c));return G&&O>=(E||iu.small)&&mt.createElement(oc,pt({ref:H},d),mt.createElement(Il,{role:t?"alertdialog":"dialog","aria-modal":!R,ariaLabelledBy:k,ariaDescribedBy:I,onDismiss:C,shouldRestoreFocus:!g},mt.createElement("div",{className:u.root,role:R?void 0:"document"},!R&&mt.createElement(m0,pt({"aria-hidden":!0,isDarkThemed:y,onClick:f?void 0:C,allowTouchBodyScroll:a},S)),M?mt.createElement(b0,{handleSelector:M.dragHandleSelector||"#"+z,preventDragSelector:"button",onStart:F,onDragChange:v,onStop:_,position:q},c):c)))||null});w0.displayName="Modal";var I0=In(w0,function(e){var t=e.className,o=e.containerClassName,n=e.scrollableContentClassName,r=e.isOpen,i=e.isVisible,s=e.hasBeenOpened,a=e.modalRectangleTop,l=e.theme,c=e.topOffsetFixed,u=e.isModeless,d=e.layerClassName,p=e.isDefaultDragHandle,h=e.windowInnerHeight,m=l.palette,g=l.effects,e=l.fonts,l=zo(u0,l);return{root:[l.root,e.medium,{backgroundColor:"transparent",position:u?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+c0},c&&"number"==typeof a&&s&&{alignItems:"flex-start"},r&&l.isOpen,i&&{opacity:1,pointerEvents:"auto"},t],main:[l.main,{boxShadow:g.elevation64,borderRadius:g.roundedCorner2,backgroundColor:m.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:u?mo.Layer:void 0},c&&"number"==typeof a&&s&&{top:a},p&&{cursor:"move"},o],scrollableContent:[l.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:((o={})["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:h},o)},n],layer:u&&[d,l.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:e.xLargePlus.fontSize,width:"24px"}}},void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]});I0.displayName="Modal";var D0,T0,E0,P0,R0=Fn(),M0=(l(Y0,P0=mt.Component),Y0.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,e=e.theme;return this._classNames=R0(o,{theme:e,className:t}),mt.createElement("div",{className:this._classNames.actions},mt.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},Y0.prototype._renderChildrenAsActions=function(){var t=this;return mt.Children.map(this.props.children,function(e){return e?mt.createElement("span",{className:t._classNames.action},e):null})},Y0),N0={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},B0=In(M0,function(e){var t=e.className,e=e.theme,e=zo(N0,e);return{actions:[e.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal"}}},t],action:[e.action,{margin:"0 4px"}],actionsRight:[e.actionsRight,{textAlign:"right",marginRight:"-4px",fontSize:"0"}]}},void 0,{scope:"DialogFooter"}),F0=Fn(),A0=mt.createElement(B0,null).type,L0=(l(q0,E0=mt.Component),q0.prototype.render=function(){var e,t=this.props,o=t.showCloseButton,n=t.className,r=t.closeButtonAriaLabel,i=t.onDismiss,s=t.subTextId,a=t.subText,l=t.titleProps,c=void 0===l?{}:l,u=t.titleId,d=t.title,p=t.type,h=t.styles,l=t.theme,t=t.draggableHeaderClassName,n=F0(h,{theme:l,className:n,isLargeHeader:p===r0.largeHeader,isClose:p===r0.close,draggableHeaderClassName:t}),t=this._groupChildren();return a&&(e=mt.createElement("p",{className:n.subText,id:s},a)),mt.createElement("div",{className:n.content},mt.createElement("div",{className:n.header},mt.createElement("div",pt({id:u,role:"heading","aria-level":1},c,{className:Er(n.title,c.className)}),d),mt.createElement("div",{className:n.topButton},this.props.topButtonsProps.map(function(e,t){return mt.createElement(Xu,pt({key:e.uniqueId||t},e))}),(p===r0.close||o&&p!==r0.largeHeader)&&mt.createElement(Xu,{className:n.button,iconProps:{iconName:"Cancel"},ariaLabel:r,onClick:i,title:r}))),mt.createElement("div",{className:n.inner},mt.createElement("div",{className:n.innerContent},e,t.contents),t.footers))},q0.prototype._groupChildren=function(){var t={footers:[],contents:[]};return mt.Children.map(this.props.children,function(e){("object"==typeof e&&null!==e&&e.type===A0?t.footers:t.contents).push(e)}),t},q0.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},c([fu],q0)),H0={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"},O0=In(L0,function(e){var t=e.className,o=e.theme,n=e.isLargeHeader,r=e.isClose,i=e.hidden,s=e.isMultiline,a=e.draggableHeaderClassName,l=o.palette,c=o.fonts,u=o.effects,e=o.semanticColors,o=zo(H0,o);return{content:[n&&[o.contentLgHeader,{borderTop:"4px solid "+l.themePrimary}],r&&o.close,{flexGrow:1,overflowY:"hidden"},t],subText:[o.subText,c.medium,{margin:"0 0 24px 0",color:e.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:Fe.regular}],header:[o.header,{position:"relative",width:"100%",boxSizing:"border-box"},r&&o.close,a&&[a,{cursor:"move"}]],button:[o.button,i&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:e.buttonText,fontSize:Ae.medium}}}],inner:[o.inner,{padding:"0 24px 24px",selectors:((i={})["@media (min-width: "+Jt+"px) and (max-width: "+ro+"px)"]={padding:"0 16px 16px"},i)}],innerContent:[o.content,{position:"relative",width:"100%"}],title:[o.title,c.xLarge,{color:e.bodyText,margin:"0",minHeight:c.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:((o={})["@media (min-width: "+Jt+"px) and (max-width: "+ro+"px)"]={padding:"16px 46px 16px 16px"},o)},n&&{color:e.menuHeader},s&&{fontSize:c.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:((u={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:e.buttonText},".ms-Dialog-button:hover":{color:e.buttonTextHovered,borderRadius:u.roundedCorner2}})["@media (min-width: "+Jt+"px) and (max-width: "+ro+"px)"]={padding:"15px 8px 0 0"},u)}]}},void 0,{scope:"DialogContent"}),z0=Fn(),W0={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},V0={type:r0.normal,className:"",topButtonsProps:[]},K0=(l(j0,T0=mt.Component),j0.prototype.render=function(){var e=this.props,t=e.className,o=e.containerClassName,n=e.contentClassName,r=e.elementToFocusOnDismiss,i=e.firstFocusableSelector,s=e.forceFocusInsideTrap,a=e.styles,l=e.hidden,c=e.ignoreExternalFocusing,u=e.isBlocking,d=e.isClickableOutsideFocusTrap,p=e.isDarkOverlay,h=e.isOpen,m=e.onDismiss,g=e.onDismissed,f=e.onLayerDidMount,v=e.responsiveMode,b=e.subText,y=e.theme,C=e.title,_=e.topButtonsProps,S=e.type,x=e.minWidth,k=e.maxWidth,w=e.modalProps,e=pt({},w?w.layerProps:{onLayerDidMount:f});f&&!e.onLayerDidMount&&(e.onLayerDidMount=f);var f=w&&w.dragOptions&&!w.dragOptions.dragHandleSelector?(I="ms-Dialog-draggable-header",pt(pt({},w.dragOptions),{dragHandleSelector:"."+I})):w&&w.dragOptions,f=pt(pt(pt(pt({},W0),{className:t,containerClassName:o,isBlocking:u,isDarkOverlay:p,onDismissed:g}),w),{layerProps:e,dragOptions:f}),I=pt(pt(pt({className:n,subText:b,title:C,topButtonsProps:_,type:S},V0),this.props.dialogContentProps),{draggableHeaderClassName:I,titleProps:pt({id:(null===(I=this.props.dialogContentProps)||void 0===I?void 0:I.titleId)||this._defaultTitleTextId},null===(I=this.props.dialogContentProps)||void 0===I?void 0:I.titleProps)}),k=z0(a,{theme:y,className:f.className,containerClassName:f.containerClassName,hidden:l,dialogDefaultMinWidth:x,dialogDefaultMaxWidth:k});return mt.createElement(I0,pt({elementToFocusOnDismiss:r,firstFocusableSelector:i,forceFocusInsideTrap:s,ignoreExternalFocusing:c,isClickableOutsideFocusTrap:d,onDismissed:f.onDismissed,responsiveMode:v},f,{isDarkOverlay:f.isDarkOverlay,isBlocking:f.isBlocking,isOpen:void 0!==h?h:!l,className:k.root,containerClassName:k.main,onDismiss:m||f.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),mt.createElement(O0,pt({subTextId:this._defaultSubTextId,title:I.title,subText:I.subText,showCloseButton:f.isBlocking,topButtonsProps:I.topButtonsProps,type:I.type,onDismiss:m||I.onDismiss,className:I.className},I),this.props.children))},j0.defaultProps={hidden:!0},c([fu],j0)),G0={root:"ms-Dialog"},U0=In(K0,function(e){var t=e.className,o=e.containerClassName,n=e.dialogDefaultMinWidth,r=void 0===n?"288px":n,i=e.dialogDefaultMaxWidth,n=void 0===i?"340px":i,i=e.hidden,e=e.theme;return{root:[zo(G0,e).root,e.fonts.medium,t],main:[{width:r,outline:"3px solid transparent",selectors:((t={})["@media (min-width: "+$t+"px)"]={width:"auto",maxWidth:n,minWidth:r},t)},!i&&{display:"flex"},o]}},void 0,{scope:"Dialog"});function j0(e){var r=T0.call(this,e)||this;return r._getSubTextId=function(){var e=r.props,t=e.ariaDescribedById,o=e.modalProps,n=e.dialogContentProps,e=e.subText;return o&&o.subtitleAriaId||t||(n&&n.subText||e)&&r._defaultSubTextId},r._getTitleTextId=function(){var e=r.props,t=e.ariaLabelledById,o=e.modalProps,n=e.dialogContentProps,e=e.title;return o&&o.titleAriaId||t||(n&&n.title||e)&&r._defaultTitleTextId},r._id=Cs("Dialog"),r._defaultTitleTextId=r._id+"-title",r._defaultSubTextId=r._id+"-subText",r}function q0(e){e=E0.call(this,e)||this;return fi(e),e}function Y0(e){e=P0.call(this,e)||this;return fi(e),e}U0.displayName="Dialog",(xe=D0=D0||{})[xe.normal=0]="normal",xe[xe.compact=1]="compact";var Z0,X0,Q0,J0,$0,ey,ty,oy,ny,ry,iy,sy=Fn(),V=(l(Zy,iy=mt.Component),Zy.prototype.render=function(){var e,t=this.props,o=t.onClick,n=t.onClickHref,r=t.children,i=t.type,s=t.accentColor,a=t.styles,l=t.theme,c=t.className,t=ur(this.props,cr,["className","onClick","type","role"]),n=!(!o&&!n);this._classNames=sy(a,{theme:l,className:c,actionable:n,compact:i===D0.compact}),i===D0.compact&&s&&(e={borderBottomColor:s});o=this.props.role||(n?o?"button":"link":void 0);return mt.createElement("div",pt({ref:this._rootElement,tabIndex:n?0:void 0,"data-is-focusable":n,role:o,className:this._classNames.root,onKeyDown:n?this._onKeyDown:void 0,onClick:n?this._onClick:void 0,style:e},t),r)},Zy.prototype.focus=function(){this._rootElement.current&&this._rootElement.current.focus()},Zy.defaultProps={type:D0.normal},Zy),ay={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},ly={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"},cy={root:"ms-DocumentCardTitle"},uy={root:"ms-DocumentCardLocation"},dy={root:"ms-DocumentCard",rootActionable:"ms-DocumentCard--actionable",rootCompact:"ms-DocumentCard--compact"},py=In(V,function(e){var t=e.className,o=e.theme,n=e.actionable,r=e.compact,i=o.palette,s=o.fonts,a=o.effects,e=zo(dy,o);return{root:[e.root,{WebkitFontSmoothing:"antialiased",backgroundColor:i.white,border:"1px solid "+i.neutralLight,maxWidth:"320px",minWidth:"206px",userSelect:"none",position:"relative",selectors:((o={":focus":{outline:"0px solid"}})["."+go+" &:focus"]=_o(i.neutralSecondary,a.roundedCorner2),o["."+uy.root+" + ."+cy.root]={paddingTop:"4px"},o)},n&&[e.rootActionable,{selectors:{":hover":{cursor:"pointer",borderColor:i.neutralTertiaryAlt},":hover:after":{content:'" "',position:"absolute",top:0,right:0,bottom:0,left:0,border:"1px solid "+i.neutralTertiaryAlt,pointerEvents:"none"}}}],r&&[e.rootCompact,{display:"flex",maxWidth:"480px",height:"108px",selectors:((e={})["."+ay.root]={borderRight:"1px solid "+i.neutralLight,borderBottom:0,maxHeight:"106px",maxWidth:"144px"},e["."+ay.icon]={maxHeight:"32px",maxWidth:"32px"},e["."+ly.root]={paddingBottom:"12px"},e["."+cy.root]={paddingBottom:"12px 16px 8px 16px",fontSize:s.mediumPlus.fontSize,lineHeight:"16px"},e)}],t]}},void 0,{scope:"DocumentCard"}),hy=Fn(),G=(l(Yy,ry=mt.Component),Yy.prototype.render=function(){var o=this,e=this.props,t=e.actions,n=e.views,r=e.styles,i=e.theme,e=e.className;return this._classNames=hy(r,{theme:i,className:e}),mt.createElement("div",{className:this._classNames.root},t&&t.map(function(e,t){return mt.createElement("div",{className:o._classNames.action,key:t},mt.createElement(Xu,pt({},e)))}),0<n&&mt.createElement("div",{className:this._classNames.views},mt.createElement(Wr,{iconName:"View",className:this._classNames.viewsIcon}),n))},Yy),my={root:"ms-DocumentCardActions",action:"ms-DocumentCardActions-action",views:"ms-DocumentCardActions-views"},gy=In(G,function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts,e=zo(my,o);return{root:[e.root,{height:"34px",padding:"4px 12px",position:"relative"},t],action:[e.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:[e.views,{textAlign:"right",lineHeight:34}],viewsIcon:{marginRight:"8px",fontSize:r.medium.fontSize,verticalAlign:"top"}}},void 0,{scope:"DocumentCardActions"}),fy=Fn(),vy=In((l(qy,ny=mt.Component),qy.prototype.render=function(){var e=this.props,t=e.activity,o=e.people,n=e.styles,r=e.theme,e=e.className;return this._classNames=fy(n,{theme:r,className:e,multiplePeople:1<o.length}),o&&0!==o.length?mt.createElement("div",{className:this._classNames.root},this._renderAvatars(o),mt.createElement("div",{className:this._classNames.details},mt.createElement("span",{className:this._classNames.name},this._getNameString(o)),mt.createElement("span",{className:this._classNames.activity},t))):null},qy.prototype._renderAvatars=function(e){return mt.createElement("div",{className:this._classNames.avatars},1<e.length?this._renderAvatar(e[1]):null,this._renderAvatar(e[0]))},qy.prototype._renderAvatar=function(e){return mt.createElement("div",{className:this._classNames.avatar},mt.createElement(ui,{imageInitials:e.initials,text:e.name,imageUrl:e.profileImageSrc,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,role:"presentation",size:Pr.size32}))},qy.prototype._getNameString=function(e){var t=e[0].name;return 2<=e.length&&(t+=" +"+(e.length-1)),t},qy),function(e){var t=e.theme,o=e.className,n=e.multiplePeople,r=t.palette,e=t.fonts,t=zo(ly,t);return{root:[t.root,n&&t.multiplePeople,{padding:"8px 16px",position:"relative"},o],avatars:[t.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[t.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 "+r.white,borderRadius:"50%"},":nth-of-type(2)":n&&{marginLeft:"-16px"}}}],details:[t.details,{left:n?"72px":"56px",height:32,position:"absolute",top:8,width:"calc(100% - 72px)"}],name:[t.name,{display:"block",fontSize:e.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralPrimary,fontWeight:Fe.semibold}],activity:[t.activity,{display:"block",fontSize:e.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralSecondary}]}},void 0,{scope:"DocumentCardActivity"}),by=Fn(),Y=(l(jy,oy=mt.Component),jy.prototype.render=function(){var e=this.props,t=e.children,o=e.styles,n=e.theme,e=e.className;return this._classNames=by(o,{theme:n,className:e}),mt.createElement("div",{className:this._classNames.root},t)},jy),yy={root:"ms-DocumentCardDetails"},Cy=In(Y,function(e){var t=e.className,e=e.theme;return{root:[zo(yy,e).root,{display:"flex",flexDirection:"column",flex:1,justifyContent:"space-between",overflow:"hidden"},t]}},void 0,{scope:"DocumentCardDetails"}),_y=Fn(),Sy=In((l(Uy,ty=mt.Component),Uy.prototype.render=function(){var e=this.props,t=e.location,o=e.locationHref,n=e.ariaLabel,r=e.onClick,i=e.styles,s=e.theme,e=e.className;return this._classNames=_y(i,{theme:s,className:e}),mt.createElement("a",{className:this._classNames.root,href:o,onClick:r,"aria-label":n},t)},Uy),function(e){var t=e.theme,o=e.className,n=t.palette,e=t.fonts;return{root:[zo(uy,t).root,e.small,{color:n.themePrimary,display:"block",fontWeight:Fe.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"}),xy=Fn(),ky=In((l(Gy,ey=mt.Component),Gy.prototype.render=function(){var e,t,o=this.props,n=o.previewImages,r=o.styles,i=o.theme,s=o.className,o=1<n.length;return this._classNames=xy(r,{theme:i,className:s,isFileList:o}),1<n.length?t=this._renderPreviewList(n):1===n.length&&(t=this._renderPreviewImage(n[0]),n[0].accentColor&&(e={borderBottomColor:n[0].accentColor})),mt.createElement("div",{className:this._classNames.root,style:e},t)},Gy.prototype._renderPreviewImage=function(e){var t=e.width,o=e.height,n=e.imageFit,r=e.previewIconProps,i=e.previewIconContainerClass;if(r)return mt.createElement("div",{className:Er(this._classNames.previewIcon,i),style:{width:t,height:o}},mt.createElement(Wr,pt({},r)));var s,n=mt.createElement(Ir,{width:t,height:o,imageFit:n,src:e.previewImageSrc,role:"presentation",alt:""});return e.iconSrc&&(s=mt.createElement(Ir,{className:this._classNames.icon,src:e.iconSrc,role:"presentation",alt:""})),mt.createElement("div",null,n,s)},Gy),function(e){var t=e.theme,o=e.className,n=e.isFileList,r=t.palette,i=t.fonts,e=zo(ay,t);return{root:[e.root,i.small,{backgroundColor:n?r.white:r.neutralLighterAlt,borderBottom:"1px solid "+r.neutralLight,overflow:"hidden",position:"relative"},o],previewIcon:[e.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[e.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:[bo(t,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:r.neutralDark,flexGrow:1,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:((t={":hover":{color:r.themePrimary}})["."+go+" &:focus"]={selectors:((r={})[Yt]={outline:"none"},r)},t)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}},void 0,{scope:"DocumentCardPreview"}),wy=Fn(),ke=(l(Ky,$0=mt.Component),Ky.prototype.render=function(){var e=this.props,t=e.styles,o=e.width,n=e.height,r=e.imageFit,e=e.imageSrc;return this._classNames=wy(t,this.props),mt.createElement("div",{className:this._classNames.root},e&&mt.createElement(Ir,{width:o,height:n,imageFit:r,src:e,role:"presentation",alt:"",onLoad:this._onImageLoad}),this.state.imageHasLoaded?this._renderCornerIcon():this._renderCenterIcon())},Ky.prototype._renderCenterIcon=function(){var e=this.props.iconProps;return mt.createElement("div",{className:this._classNames.centeredIconWrapper},mt.createElement(Wr,pt({className:this._classNames.centeredIcon},e)))},Ky.prototype._renderCornerIcon=function(){var e=this.props.iconProps;return mt.createElement(Wr,pt({className:this._classNames.cornerIcon},e))},Ky),Iy="42px",Dy="32px",Ty=In(ke,function(e){var t=e.theme,o=e.className,n=e.height,e=e.width,t=t.palette;return{root:[{borderBottom:"1px solid "+t.neutralLight,position:"relative",backgroundColor:t.neutralLighterAlt,overflow:"hidden",height:n&&n+"px",width:e&&e+"px"},o],centeredIcon:[{height:Iy,width:Iy,fontSize:Iy}],centeredIconWrapper:[{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0}],cornerIcon:[{left:"10px",bottom:"10px",height:Dy,width:Dy,fontSize:Dy,position:"absolute",overflow:"visible"}]}},void 0,{scope:"DocumentCardImage"}),Ey=Fn(),Py=In((l(Vy,J0=mt.Component),Vy.prototype.componentDidUpdate=function(e){var t=this;this.props.title!==e.title&&this.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0}),e.shouldTruncate!==this.props.shouldTruncate?this.props.shouldTruncate?(this._truncateTitle(),this._async.requestAnimationFrame(this._shrinkTitle),this._events.on(window,"resize",this._updateTruncation)):this._events.off(window,"resize",this._updateTruncation):this._needMeasurement&&this._async.requestAnimationFrame(function(){t._truncateWhenInAnimation(),t._shrinkTitle()})},Vy.prototype.componentDidMount=function(){this.props.shouldTruncate&&(this._truncateTitle(),this._events.on(window,"resize",this._updateTruncation))},Vy.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},Vy.prototype.render=function(){var e=this.props,t=e.title,o=e.shouldTruncate,n=e.showAsSecondaryTitle,r=e.styles,i=e.theme,s=e.className,a=this.state,e=a.truncatedTitleFirstPiece,a=a.truncatedTitleSecondPiece;return this._classNames=Ey(r,{theme:i,className:s,showAsSecondaryTitle:n}),o&&e&&a?mt.createElement("div",{className:this._classNames.root,ref:this._titleElement,title:t},e,"…",a):mt.createElement("div",{className:this._classNames.root,ref:this._titleElement,title:t,style:this._needMeasurement?{whiteSpace:"nowrap"}:void 0},t)},Object.defineProperty(Vy.prototype,"_needMeasurement",{get:function(){return!!this.props.shouldTruncate&&void 0===this._clientWidth},enumerable:!1,configurable:!0}),Vy.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))},Vy),function(e){var t=e.theme,o=e.className,n=e.showAsSecondaryTitle,r=t.palette,e=t.fonts;return{root:[zo(cy,t).root,n?e.medium:e.large,{padding:"8px 16px",display:"block",overflow:"hidden",wordWrap:"break-word",height:n?"45px":"38px",lineHeight:n?"18px":"21px",color:n?r.neutralSecondary:r.neutralPrimary},o]}},void 0,{scope:"DocumentCardTitle"}),Ry=Fn(),K=(l(Wy,Q0=mt.Component),Wy.prototype.render=function(){var e=this.props,t=e.logoIcon,o=e.styles,n=e.theme,e=e.className;return this._classNames=Ry(o,{theme:n,className:e}),mt.createElement("div",{className:this._classNames.root},mt.createElement(Wr,{iconName:t}))},Wy),My={root:"ms-DocumentCardLogo"},Ny=In(K,function(e){var t=e.theme,o=e.className,n=t.palette,e=t.fonts;return{root:[zo(My,t).root,{fontSize:e.xxLargePlus.fontSize,color:n.themePrimary,display:"block",padding:"16px 16px 0 16px"},o]}},void 0,{scope:"DocumentCardLogo"}),By=Fn(),U=(l(zy,X0=mt.Component),zy.prototype.render=function(){var e=this.props,t=e.statusIcon,o=e.status,n=e.styles,r=e.theme,i=e.className,e={iconName:t,styles:{root:{padding:"8px"}}};return this._classNames=By(n,{theme:r,className:i}),mt.createElement("div",{className:this._classNames.root},t&&mt.createElement(Wr,pt({},e)),o)},zy),Fy={root:"ms-DocumentCardStatus"},Ay=In(U,function(e){var t=e.className,o=e.theme,n=o.palette,e=o.fonts;return{root:[zo(Fy,o).root,e.medium,{margin:"8px 16px",color:n.neutralPrimary,backgroundColor:n.neutralLighter,height:"32px"},t]}},void 0,{scope:"DocumentCardStatus"}),Ly=function(o){var n;return function(e){n||(n=new Set,gi(o,{componentWillUnmount:function(){n.forEach(function(e){return cancelAnimationFrame(e)})}}));var t=requestAnimationFrame(function(){n.delete(t),e()});n.add(t)}},Hy=(Oy.prototype.updateOptions=function(e){for(var t=[],o=0,n=0;n<e.length;n++)e[n].itemType===$g.Divider||e[n].itemType===$g.Header?t.push(n):e[n].hidden||o++;this._size=o,this._displayOnlyOptionsCache=t,this._cachedOptions=$e(e)},Object.defineProperty(Oy.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(Oy.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!1,configurable:!0}),Oy.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._displayOnlyOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index "+e+" is not a selectable element.");return e-t+1}},Oy);function Oy(){this._size=0}function zy(e){e=X0.call(this,e)||this;return fi(e),e}function Wy(e){e=Q0.call(this,e)||this;return fi(e),e}function Vy(e){var i=J0.call(this,e)||this;return i._titleElement=mt.createRef(),i._truncateTitle=function(){i._needMeasurement&&i._async.requestAnimationFrame(i._truncateWhenInAnimation)},i._truncateWhenInAnimation=function(){var e=i.props.title,t=i._titleElement.current;if(t){var o=getComputedStyle(t);if(o.width&&o.lineHeight&&o.height){var n=t.clientWidth,r=t.scrollWidth;i._clientWidth=n;n=Math.floor((parseInt(o.height,10)+5)/parseInt(o.lineHeight,10));t.style.whiteSpace="";n=r/(parseInt(o.width,10)*n);if(1<n){n=e.length/n-3;return i.setState({truncatedTitleFirstPiece:e.slice(0,n/2),truncatedTitleSecondPiece:e.slice(e.length-n/2)})}}}},i._shrinkTitle=function(){var e=i.state,t=e.truncatedTitleFirstPiece,o=e.truncatedTitleSecondPiece;t&&o&&((e=i._titleElement.current)&&(e.scrollHeight>e.clientHeight+5||e.scrollWidth>e.clientWidth)&&i.setState({truncatedTitleFirstPiece:t.slice(0,t.length-1),truncatedTitleSecondPiece:o.slice(1)}))},fi(i),i._async=new Si(i),i._events=new fa(i),i._clientWidth=void 0,i.state={truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0},i}function Ky(e){var t=$0.call(this,e)||this;return t._onImageLoad=function(){t.setState({imageHasLoaded:!0})},fi(t),t.state={imageHasLoaded:!1},t}function Gy(e){var r=ey.call(this,e)||this;return r._renderPreviewList=function(e){var t=r.props,o=t.getOverflowDocumentCountText,n=t.maxDisplayCount,t=void 0===n?3:n,n=e.length-t,n=n?o?o(n):"+"+n:null,t=e.slice(0,t).map(function(e,t){return mt.createElement("li",{key:t},mt.createElement(Ir,{className:r._classNames.fileListIcon,src:e.iconSrc,role:"presentation",alt:"",width:"16px",height:"16px"}),mt.createElement(ca,pt({className:r._classNames.fileListLink},(e.linkProps,{href:e.linkProps&&e.linkProps.href||e.url})),e.name))});return mt.createElement("div",null,mt.createElement("ul",{className:r._classNames.fileList},t),n&&mt.createElement("span",{className:r._classNames.fileListOverflowText},n))},fi(r),r}function Uy(e){e=ty.call(this,e)||this;return fi(e),e}function jy(e){e=oy.call(this,e)||this;return fi(e),e}function qy(e){e=ny.call(this,e)||this;return fi(e),e}function Yy(e){e=ry.call(this,e)||this;return fi(e),e}function Zy(e){var r=iy.call(this,e)||this;return r._rootElement=mt.createRef(),r._onClick=function(e){r._onAction(e)},r._onKeyDown=function(e){e.which!==Tn.enter&&e.which!==Tn.space||r._onAction(e)},r._onAction=function(e){var t=r.props,o=t.onClick,n=t.onClickHref,t=t.onClickTarget;o?o(e):!o&&n&&(t?window.open(n,t,"noreferrer noopener nofollow"):window.location.href=n,e.preventDefault(),e.stopPropagation())},fi(r),r}(xe=Z0=Z0||{})[xe.smallFluid=0]="smallFluid",xe[xe.smallFixedFar=1]="smallFixedFar",xe[xe.smallFixedNear=2]="smallFixedNear",xe[xe.medium=3]="medium",xe[xe.large=4]="large",xe[xe.largeFixed=5]="largeFixed",xe[xe.extraLarge=6]="extraLarge",xe[xe.custom=7]="custom",xe[xe.customNear=8]="customNear";var Xy,Qy=Fn();(V=Xy=Xy||{})[V.closed=0]="closed",V[V.animatingOpen=1]="animatingOpen",V[V.open=2]="open",V[V.animatingClosed=3]="animatingClosed";var Jy,$y=(l(pC,Jy=mt.Component),pC.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==Xy.closed&&t.visibility!==Xy.animatingClosed?e.isOpen||t.visibility!==Xy.open&&t.visibility!==Xy.animatingOpen?null:{visibility:Xy.animatingClosed}:{visibility:Xy.animatingOpen}},pC.prototype.componentDidMount=function(){this._events.on(window,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:Xy.animatingOpen})},pC.prototype.componentDidUpdate=function(e,t){var o=this._shouldListenForOuterClick(this.props),e=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===Xy.animatingOpen?this._animateTo(Xy.open):this.state.visibility===Xy.animatingClosed&&this._animateTo(Xy.closed)),o&&!e?this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0):!o&&e&&this._events.off(document.body,"mousedown",this._dismissOnOuterClick,!0)},pC.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},pC.prototype.render=function(){var e=this.props,t=e.className,o=void 0===t?"":t,n=e.elementToFocusOnDismiss,r=e.firstFocusableSelector,i=e.focusTrapZoneProps,s=e.forceFocusInsideTrap,a=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,g=e.isHiddenOnDismiss,f=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,T=void 0===D?this._onRenderHeader:D,E=e.onRenderBody,P=void 0===E?this._onRenderBody:E,t=e.onRenderFooter,c=void 0===t?this._onRenderFooter:t,x=this.state,w=x.isFooterSticky,D=x.visibility,E=x.id,e=y===Z0.smallFixedNear||y===Z0.customNear,t=Pn(_)?e:!e,x=y===Z0.custom||y===Z0.customNear?{width:S}:{},e=ur(this.props,cr),S=this.isActive,D=D===Xy.animatingClosed||D===Xy.animatingOpen;if(this._headerTextId=l&&E+"-headerText",!S&&!D&&!g)return null;this._classNames=Qy(C,{theme:_,className:o,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:a,headerClassName:u,isAnimating:D,isFooterSticky:w,isFooterAtBottom:h,isOnRightSide:t,isOpen:S,isHiddenOnDismiss:g,type:y,hasCustomNavigation:this._hasCustomNavigation});var R,t=this._classNames,y=this._allowTouchBodyScroll;return p&&S&&(R=mt.createElement(m0,pt({className:t.overlay,isDarkThemed:!1,onClick:m?k:void 0,allowTouchBodyScroll:y},v))),mt.createElement(oc,pt({},f),mt.createElement(Il,pt({role:"dialog","aria-modal":p?"true":void 0,ariaLabelledBy:this._headerTextId||void 0,onDismiss:this.dismiss,className:t.hiddenPanel},b),mt.createElement("div",pt({"aria-hidden":!S&&D},e,{ref:this._panel,className:t.root}),R,mt.createElement(Mh,pt({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!p||g&&!S)&&s,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},i,{className:t.main,style:x,elementToFocusOnDismiss:n}),mt.createElement("div",{className:t.contentInner},mt.createElement("div",{ref:this._allowScrollOnPanel,className:t.scrollableContent,"data-is-scrollable":!0},mt.createElement("div",{className:t.commands,"data-is-visible":!0},I(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!a)&&T(this.props,this._onRenderHeader,this._headerTextId),P(this.props,this._onRenderBody),c(this.props,this._onRenderFooter)))))))},pC.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:Xy.animatingOpen}))},pC.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:Xy.animatingClosed})},Object.defineProperty(pC.prototype,"isActive",{get:function(){return this.state.visibility===Xy.open||this.state.visibility===Xy.animatingOpen},enumerable:!1,configurable:!0}),pC.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},pC.prototype._updateFooterPosition=function(){var e,t=this._scrollableContent;t&&(e=t.clientHeight,t=t.scrollHeight,this.setState({isFooterSticky:e<t}))},pC.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&($i(t,e.target)||(this.props.onOuterClick?this.props.onOuterClick(e):this.dismiss(e)))},pC.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:Z0.smallFixedFar},pC),eC={root:"ms-Panel",main:"ms-Panel-main",commands:"ms-Panel-commands",contentInner:"ms-Panel-contentInner",scrollableContent:"ms-Panel-scrollableContent",navigation:"ms-Panel-navigation",closeButton:"ms-Panel-closeButton ms-PanelAction-close",header:"ms-Panel-header",headerText:"ms-Panel-headerText",content:"ms-Panel-content",footer:"ms-Panel-footer",footerInner:"ms-Panel-footerInner",isOpen:"is-open",hasCloseButton:"ms-Panel--hasCloseButton",smallFluid:"ms-Panel--smFluid",smallFixedNear:"ms-Panel--smLeft",smallFixedFar:"ms-Panel--sm",medium:"ms-Panel--md",large:"ms-Panel--lg",largeFixed:"ms-Panel--fixed",extraLarge:"ms-Panel--xl",custom:"ms-Panel--custom",customNear:"ms-Panel--customLeft"},tC="auto",oC=((G={})["@media (min-width: "+$t+"px)"]={width:340},G),nC=((Y={})["@media (min-width: "+eo+"px)"]={width:592},Y["@media (min-width: "+to+"px)"]={width:644},Y),rC=((ke={})["@media (min-width: "+co+"px)"]={left:48,width:"auto"},ke["@media (min-width: "+oo+"px)"]={left:428},ke),iC=((K={})["@media (min-width: "+oo+"px)"]={left:tC,width:940},K),sC=((U={})["@media (min-width: "+oo+"px)"]={left:176},U),aC={paddingLeft:"24px",paddingRight:"24px"},lC=In($y,function(e){var t,o=e.className,n=e.focusTrapZoneClassName,r=e.hasCloseButton,i=e.headerClassName,s=e.isAnimating,a=e.isFooterSticky,l=e.isFooterAtBottom,c=e.isOnRightSide,u=e.isOpen,d=e.isHiddenOnDismiss,p=e.hasCustomNavigation,h=e.theme,m=e.type,g=void 0===m?Z0.smallFixedFar:m,f=h.effects,v=h.fonts,b=h.semanticColors,e=zo(eC,h),m=g===Z0.custom||g===Z0.customNear;return{root:[e.root,h.fonts.medium,u&&e.isOpen,r&&e.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},m&&c&&e.custom,m&&!c&&e.customNear,o],overlay:[{pointerEvents:"auto",cursor:"pointer"},u&&s&&Le.fadeIn100,!u&&s&&Le.fadeOut100],hiddenPanel:[!u&&!s&&d&&{visibility:"hidden"}],main:[e.main,{backgroundColor:b.bodyBackground,boxShadow:f.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:tC,right:0,width:"100%",selectors:pt(((f={})[Yt]={borderLeft:"3px solid "+b.variantBorder,borderRight:"3px solid "+b.variantBorder},f),function(e){var t;switch(e){case Z0.smallFixedFar:t=pt({},oC);break;case Z0.medium:t=pt(pt({},oC),nC);break;case Z0.large:t=pt(pt(pt({},oC),nC),rC);break;case Z0.largeFixed:t=pt(pt(pt(pt({},oC),nC),rC),iC);break;case Z0.extraLarge:t=pt(pt(pt(pt({},oC),nC),rC),sC)}return t}(g))},g===Z0.smallFluid&&{left:0},g===Z0.smallFixedNear&&{left:0,right:tC,width:272},g===Z0.customNear&&{right:"auto",left:0},m&&{maxWidth:"100vw"},u&&s&&!c&&Le.slideRightIn40,u&&s&&c&&Le.slideLeftIn40,!u&&s&&!c&&Le.slideLeftOut40,!u&&s&&c&&Le.slideRightOut40,n],commands:[e.commands,{paddingTop:18,selectors:((n={})["@media (min-height: "+$t+"px)"]={backgroundColor:b.bodyBackground,position:"sticky",top:0},n)},p&&{marginTop:"inherit"}],navigation:[e.navigation,{display:"flex",justifyContent:"flex-end"},p&&{height:"44px"}],contentInner:[e.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[e.header,aC,{alignSelf:"flex-start"},r&&!p&&{flexGrow:1},p&&{flexShrink:0}],headerText:[e.headerText,v.xLarge,{color:b.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},i],scrollableContent:[e.scrollableContent,{overflowY:"auto"},l&&{flexGrow:1}],content:[e.content,aC,{paddingBottom:20},l&&{selectors:((t={})["@media (min-height: "+$t+"px)"]={minHeight:"100%"},t)}],footer:[e.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity "+we.durationValue3+" "+we.easeFunction2,selectors:((t={})["@media (min-height: "+$t+"px)"]={position:"sticky",bottom:0},t)},a&&{background:b.bodyBackground,borderTopColor:b.variantBorder}],footerInner:[e.footerInner,aC,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[e.closeButton,{marginRight:14,color:h.palette.neutralSecondary,fontSize:Ae.large},p&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:h.palette.neutralPrimary}}}}},void 0,{scope:"Panel"}),cC=Fn(),uC={options:[]},dC=mt.forwardRef(function(e,t){var s,o,n,r,a,l,c,u,d,p,i=Hn(uC,e),h=mt.useRef(null),m=_r(t,h),g=bu(h,i.responsiveMode),h=(o=i.defaultSelectedKeys,n=i.selectedKeys,r=i.defaultSelectedKey,e=i.selectedKey,a=i.options,l=i.multiSelect,c=Bc(a),t=mt.useState([]),h=t[0],u=t[1],d=a!==c,p=Bc(s=l?d&&void 0!==o?o:n:d&&void 0!==r?r:e),mt.useEffect(function(){function i(t){return Hi(a,function(e){return null!=t?e.key===t:e.selected||e.isSelected})}void 0===s&&c||s===p&&!d||u(function(){if(void 0===s)return l?a.map(function(e,t){return e.selected?t:-1}).filter(function(e){return-1!==e}):-1!==(n=i(null))?[n]:[];if(!Array.isArray(s))return-1!==(n=i(s))?[n]:[];for(var e=[],t=0,o=s;t<o.length;t++){var n,r=o[t];-1!==(n=i(r))&&e.push(n)}return e}())},[d,l,c,p,a,s]),[h,u]);return mt.createElement(mC,pt({},i,{responsiveMode:g,hoisted:{rootRef:m,selectedIndices:h[0],setSelectedIndices:h[1]}}))});function pC(e){var r=Jy.call(this,e)||this;r._panel=mt.createRef(),r._animationCallback=null,r._hasCustomNavigation=!(!r.props.onRenderNavigation&&!r.props.onRenderNavigationContent),r.dismiss=function(e){r.props.onDismiss&&r.isActive&&r.props.onDismiss(e),e&&e.defaultPrevented||r.close()},r._allowScrollOnPanel=function(e){e?(r._allowTouchBodyScroll?Ds:Is)(e,r._events):r._events.off(r._scrollableContent),r._scrollableContent=e},r._onRenderNavigation=function(e){if(!r.props.onRenderNavigationContent&&!r.props.onRenderNavigation&&!r.props.hasCloseButton)return null;var t=r.props.onRenderNavigationContent,t=void 0===t?r._onRenderNavigationContent:t;return mt.createElement("div",{className:r._classNames.navigation},t(e,r._onRenderNavigationContent))},r._onRenderNavigationContent=function(e){var t=e.closeButtonAriaLabel,o=e.hasCloseButton,e=e.onRenderHeader,e=void 0===e?r._onRenderHeader:e;if(o){o=null===(o=r._classNames.subComponentStyles)||void 0===o?void 0:o.closeButton();return mt.createElement(mt.Fragment,null,!r._hasCustomNavigation&&e(r.props,r._onRenderHeader,r._headerTextId),mt.createElement(Xu,{styles:o,className:r._classNames.closeButton,onClick:r._onPanelClick,ariaLabel:t,title:t,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},r._onRenderHeader=function(e,t,o){var n=e.headerText,e=e.headerTextProps,e=void 0===e?{}:e;return n?mt.createElement("div",{className:r._classNames.header},mt.createElement("div",pt({id:o,role:"heading","aria-level":1},e,{className:Er(r._classNames.headerText,e.className)}),n)):null},r._onRenderBody=function(e){return mt.createElement("div",{className:r._classNames.content},e.children)},r._onRenderFooter=function(e){var t=r.props.onRenderFooterContent,t=void 0===t?null:t;return t?mt.createElement("div",{className:r._classNames.footer},mt.createElement("div",{className:r._classNames.footerInner},t())):null},r._animateTo=function(e){e===Xy.open&&r.props.onOpen&&r.props.onOpen(),r._animationCallback=r._async.setTimeout(function(){r.setState({visibility:e}),r._onTransitionComplete()},200)},r._clearExistingAnimationTimer=function(){null!==r._animationCallback&&r._async.clearTimeout(r._animationCallback)},r._onPanelClick=function(e){r.dismiss(e)},r._onTransitionComplete=function(){r._updateFooterPosition(),r.state.visibility===Xy.open&&r.props.onOpened&&r.props.onOpened(),r.state.visibility===Xy.closed&&r.props.onDismissed&&r.props.onDismissed()};e=r.props.allowTouchBodyScroll;return r._allowTouchBodyScroll=void 0!==e&&e,r._async=new Si(r),r._events=new fa(r),fi(r),r.state={isFooterSticky:!1,visibility:Xy.closed,id:Cs("Panel")},r}dC.displayName="DropdownBase";var hC,mC=(l(CC,hC=mt.Component),Object.defineProperty(CC.prototype,"selectedOptions",{get:function(){var e=this.props;return pf(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),CC.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},CC.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this.props.onDismiss&&this.props.onDismiss())},CC.prototype.render=function(){var e=this._id,t=this.props,o=t.className,n=t.label,r=t.options,i=t.ariaLabel,s=t.required,a=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,g=void 0===m?this._onRenderContainer:m,f=t.onRenderCaretDown,v=void 0===f?this._onRenderCaretDown:f,b=t.onRenderLabel,y=void 0===b?this._onRenderLabel:b,C=t.hoisted.selectedIndices,_=this.state,S=_.isOpen,x=_.calloutRenderEdge,p=_.hasFocus,m=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;r!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(r);f=pf(r,C),b=ur(t,cr),_=this._isDisabled(),r=e+"-errorMessage",C=!_&&S&&1===C.length&&0<=C[0]?this._listId+C[0]:void 0;this._classNames=cC(l,{theme:c,className:o,hasError:!!(a&&0<a.length),hasLabel:!!n,isOpen:S,required:s,disabled:_,isRenderingPlaceholder:!f.length,panelClassName:u?u.className:void 0,calloutClassName:d?d.className:void 0,calloutRenderEdge:x});x=!!a&&0<a.length;return mt.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":S?this._listId:void 0},y(this.props,this._onRenderLabel),mt.createElement("div",pt({"data-is-focusable":!_,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:_?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":S?"true":"false","aria-label":i,"aria-labelledby":n&&!i?wa(this._labelId,this._optionId):void 0,"aria-describedby":x?this._id+"-errorMessage":void 0,"aria-activedescendant":C,"aria-required":s,"aria-disabled":_,"aria-controls":S?this._listId:void 0},b,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),mt.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":p?"polite":void 0,"aria-atomic":!!p||void 0,"aria-invalid":x},f.length?h(f,this._onRenderTitle):m(t,this._onRenderPlaceholder)),mt.createElement("span",{className:this._classNames.caretDownWrapper},v(t,this._onRenderCaretDown))),S&&g(pt(pt({},t),{onDismiss:this._onDismiss}),this._onRenderContainer),x&&mt.createElement("div",{role:"alert",id:r,className:this._classNames.errorMessage},a))},CC.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},CC.prototype.setSelectedIndex=function(e,t){var o=this.props,n=o.options,r=o.selectedKey,i=o.selectedKeys,s=o.multiSelect,a=o.notifyOnReselect,l=o.hoisted.selectedIndices,c=void 0===l?[]:l,o=!!c&&-1<c.indexOf(t),l=[];t=Math.max(0,Math.min(n.length-1,t)),void 0===r&&void 0===i?(s||a||t!==c[0])&&(s?(l=c?this._copyArray(c):[],o?-1<(c=l.indexOf(t))&&l.splice(c,1):l.push(t)):l=[t],e.persist(),this.props.hoisted.setSelectedIndices(l),this._onChange(e,n,t,o,s)):this._onChange(e,n,t,o,s)},CC.prototype._copyArray=function(e){for(var t=[],o=0,n=e;o<n.length;o++){var r=n[o];t.push(r)}return t},CC.prototype._moveIndex=function(e,t,o,n){var r=this.props.options;if(n===o||0===r.length)return n;o>=r.length?o=0:o<0&&(o=r.length-1);for(var i=0;r[o].itemType===$g.Header||r[o].itemType===$g.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},CC.prototype._renderFocusableList=function(e){var t=e.onRenderList,o=void 0===t?this._onRenderList:t,n=e.label,r=e.ariaLabel,t=e.multiSelect;return mt.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},mt.createElement(Ys,{ref:this._focusZone,direction:Ti.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":r,"aria-labelledby":n&&!r?this._labelId:void 0,"aria-multiselectable":t},o(e,this._onRenderList)))},CC.prototype._renderSeparator=function(e){var t=e.index,e=e.key;return 0<t?mt.createElement("div",{role:"separator",key:e,className:this._classNames.dropdownDivider}):null},CC.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOption:t,n=e.key,t=e.id;return mt.createElement("div",{id:t,key:n,className:this._classNames.dropdownItemHeader},o(e,this._onRenderOption))},CC.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},CC.prototype._onItemMouseMove=function(e,t){t=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==t&&t.focus()},CC.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},CC.prototype._isAltOrMeta=function(e){return e.which===Tn.alt||"Meta"===e.key},CC.prototype._shouldHandleKeyUp=function(e){e=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!e&&!(Pa()||Na())},CC.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},CC.defaultProps={options:[]},CC),gC={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"},V=((xe={})[Yt+", "+Zt.replace("@media ","")]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),xe),fC={selectors:pt(((G={})[Yt]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},G),V)},vC={selectors:((Y={})[Yt]={borderColor:"Highlight"},Y)},bC=uo(0,$t),yC=In(dC,function(e){var t=e.theme,o=e.hasError,n=e.hasLabel,r=e.className,i=e.isOpen,s=e.disabled,a=e.required,l=e.isRenderingPlaceholder,c=e.panelClassName,u=e.calloutClassName,d=e.calloutRenderEdge;if(!t)throw new Error("theme is undefined or null in base Dropdown getStyles function.");function p(e){return{selectors:((e={"&:hover:focus":[{color:g.menuItemTextHovered,backgroundColor:(e=void 0===e?!1:e)?S:g.menuItemBackgroundHovered},fC],"&:focus":[{backgroundColor:e?S:"transparent"},fC],"&:active":[{color:g.menuItemTextHovered,backgroundColor:e?g.menuItemBackgroundHovered:g.menuBackground},fC]})["."+go+" &:focus:after"]={left:0,top:0,bottom:0,right:0},e[Yt]={border:"none"},e)}}var h=zo(gC,t),m=t.palette,g=t.semanticColors,f=t.effects,v=t.fonts,b={color:g.menuItemTextHovered},y={color:g.menuItemText},C={borderColor:g.errorText},_=[h.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%"}}],S=g.menuItemBackgroundPressed,x=$e(_,[{backgroundColor:S,color:g.menuItemTextHovered},p(!0),fC]),k=$e(_,[{color:g.disabledText,cursor:"default",selectors:((w={})[Yt]={color:"GrayText",border:"none"},w)}]),e=d===Ra.bottom?f.roundedCorner2+" "+f.roundedCorner2+" 0 0":"0 0 "+f.roundedCorner2+" "+f.roundedCorner2,w=d===Ra.bottom?"0 0 "+f.roundedCorner2+" "+f.roundedCorner2:f.roundedCorner2+" "+f.roundedCorner2+" 0 0";return{root:[h.root,r],label:h.label,dropdown:[h.dropdown,Uo,v.medium,{color:g.menuItemText,borderColor:g.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:((d={})["&:hover ."+h.title]=[!s&&b,{borderColor:i?m.neutralSecondary:m.neutralPrimary},vC],d["&:focus ."+h.title]=[!s&&b,{selectors:((r={})[Yt]={color:"Highlight"},r)}],d["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:s?"none":"2px solid "+m.themePrimary,borderRadius:"2px",selectors:((r={})[Yt]={color:"Highlight"},r)}],d["&:active ."+h.title]=[!s&&b,{borderColor:m.themePrimary},vC],d["&:hover ."+h.caretDown]=!s&&y,d["&:focus ."+h.caretDown]=[!s&&y,{selectors:((b={})[Yt]={color:"Highlight"},b)}],d["&:active ."+h.caretDown]=!s&&y,d["&:hover ."+h.titleIsPlaceHolder]=!s&&y,d["&:focus ."+h.titleIsPlaceHolder]=!s&&y,d["&:active ."+h.titleIsPlaceHolder]=!s&&y,d["&:hover ."+h.titleHasError]=C,d["&:active ."+h.titleHasError]=C,d)},i&&"is-open",s&&"is-disabled",a&&"is-required",a&&!n&&{selectors:((n={":before":{content:"'*'",color:g.errorText,position:"absolute",top:-5,right:-10}})[Yt]={selectors:{":after":{right:-14}}},n)}],title:[h.title,Uo,{backgroundColor:g.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:g.inputBorder,borderRadius:i?e:f.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},l&&[h.titleIsPlaceHolder,{color:g.inputPlaceholderText}],o&&[h.titleHasError,C],s&&{backgroundColor:g.disabledBackground,border:"none",color:g.disabledText,cursor:"default",selectors:((C={})[Yt]=pt({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),C)}],caretDownWrapper:[h.caretDownWrapper,{position:"absolute",top:1,right:8,height:32,lineHeight:30},!s&&{cursor:"pointer"}],caretDown:[h.caretDown,{color:m.neutralSecondary,fontSize:v.small.fontSize,pointerEvents:"none"},s&&{color:g.disabledText,selectors:((s={})[Yt]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],errorMessage:pt(pt({color:g.errorText},t.fonts.small),{paddingTop:5}),callout:[h.callout,{boxShadow:f.elevation8,borderRadius:w,selectors:((f={})[".ms-Callout-main"]={borderRadius:w},f)},u],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[h.dropdownItems,{display:"block"}],dropdownItem:$e(_,[p()]),dropdownItemSelected:x,dropdownItemDisabled:k,dropdownItemSelectedAndDisabled:[x,k,{backgroundColor:"transparent"}],dropdownItemHidden:$e(_,[{display:"none"}]),dropdownDivider:[h.dropdownDivider,{height:1,backgroundColor:g.bodyDivider}],dropdownOptionText:[h.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:[h.dropdownItemHeader,pt(pt({},v.medium),{fontWeight:Fe.semibold,color:g.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:((v={})[Yt]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),v)})],subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:((v={})["."+go+" &:focus + label::before"]={outlineOffset:"0px"},v)}},panel:{root:[c],main:{selectors:((c={})[bC]={width:272},c)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"});function CC(e){var l=hC.call(this,e)||this;l._host=mt.createRef(),l._focusZone=mt.createRef(),l._dropDown=mt.createRef(),l._scrollIdleDelay=250,l._sizePosCache=new Hy,l._requestAnimationFrame=Ly(l),l._onChange=function(e,t,o,n,r){var i=l.props,s=i.onChange,i=i.onChanged;(s||i)&&(t=r?pt(pt({},t[o]),{selected:!n}):t[o],s&&s(pt(pt({},e),{target:l._dropDown.current}),t,o),i&&i(t,o))},l._getPlaceholder=function(){return l.props.placeholder||l.props.placeHolder},l._getTitle=function(e,t){var o=l.props.multiSelectDelimiter,o=void 0===o?", ":o;return e.map(function(e){return e.text}).join(o)},l._onRenderTitle=function(e){return mt.createElement(mt.Fragment,null,l._getTitle(e))},l._onRenderPlaceholder=function(e){return l._getPlaceholder()?mt.createElement(mt.Fragment,null,l._getPlaceholder()):null},l._onRenderContainer=function(e){var t=e.calloutProps,o=e.panelProps,n=l.props,r=n.responsiveMode,i=n.dropdownWidth,s=r<=iu.medium,a=l._classNames.subComponentStyles?l._classNames.subComponentStyles.panel:void 0,n=void 0,r=void 0;return"auto"===i?r=l._dropDown.current?l._dropDown.current.clientWidth:0:n=i||(l._dropDown.current?l._dropDown.current.clientWidth:0),s?mt.createElement(lC,pt({isOpen:!0,isLightDismiss:!0,onDismiss:l._onDismiss,hasCloseButton:!1,styles:a},o),l._renderFocusableList(e)):mt.createElement(nc,pt({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:Ea.bottomLeftEdge,calloutWidth:n,calloutMinWidth:r},t,{className:l._classNames.callout,target:l._dropDown.current,onDismiss:l._onDismiss,onScroll:l._onScroll,onPositioned:l._onPositioned}),l._renderFocusableList(e))},l._onRenderCaretDown=function(e){return mt.createElement(Wr,{className:l._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},l._onRenderList=function(e){function n(){var e=i.id?[mt.createElement("div",{role:"group",key:i.id,"aria-labelledby":i.id},i.items)]:i.items;o=$e(o,e),i={items:[]}}var t=e.onRenderItem,r=void 0===t?l._onRenderItem:t,i={items:[]},o=[];return e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case $g.Header:0<i.items.length&&n();var o=l._id+e.key;i.items.push(r(pt(pt({id:o},e),{index:t}),l._onRenderItem)),i.id=o;break;case $g.Divider:0<t&&i.items.push(r(pt(pt({},e),{index:t}),l._onRenderItem)),0<i.items.length&&n();break;default:i.items.push(r(pt(pt({},e),{index:t}),l._onRenderItem))}}(e,t)}),0<i.items.length&&n(),mt.createElement(mt.Fragment,null,o)},l._onRenderItem=function(e){switch(e.itemType){case $g.Divider:return l._renderSeparator(e);case $g.Header:return l._renderHeader(e);default:return l._renderOption(e)}},l._renderOption=function(e){var t=l.props,o=t.onRenderOption,n=void 0===o?l._onRenderOption:o,r=t.hoisted.selectedIndices,i=void 0===r?[]:r,o=!(void 0===e.index||!i)&&-1<i.indexOf(e.index),t=e.hidden?l._classNames.dropdownItemHidden:o&&!0===e.disabled?l._classNames.dropdownItemSelectedAndDisabled:o?l._classNames.dropdownItemSelected:!0===e.disabled?l._classNames.dropdownItemDisabled:l._classNames.dropdownItem,r=e.title,i=l._classNames.subComponentStyles?l._classNames.subComponentStyles.multiSelectItem:void 0;return l.props.multiSelect?mt.createElement(Gh,{id:l._listId+e.index,key:e.key,disabled:e.disabled,onChange:l._onItemClick(e),inputProps:pt({"aria-selected":o,onMouseEnter:l._onItemMouseEnter.bind(l,e),onMouseLeave:l._onMouseItemLeave.bind(l,e),onMouseMove:l._onItemMouseMove.bind(l,e),role:"option"},{"data-index":e.index,"data-is-focusable":!e.disabled}),label:e.text,title:r,onRenderLabel:l._onRenderItemLabel.bind(l,e),className:t,checked:o,styles:i,ariaPositionInSet:l._sizePosCache.positionInSet(e.index),ariaSetSize:l._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel}):mt.createElement(tp,{id:l._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:t,onClick:l._onItemClick(e),onMouseEnter:l._onItemMouseEnter.bind(l,e),onMouseLeave:l._onMouseItemLeave.bind(l,e),onMouseMove:l._onItemMouseMove.bind(l,e),role:"option","aria-selected":o?"true":"false",ariaLabel:e.ariaLabel,title:r,"aria-posinset":l._sizePosCache.positionInSet(e.index),"aria-setsize":l._sizePosCache.optionSetSize},n(e,l._onRenderOption))},l._onRenderOption=function(e){return mt.createElement("span",{className:l._classNames.dropdownOptionText},e.text)},l._onRenderItemLabel=function(e){var t=l.props.onRenderOption;return(void 0===t?l._onRenderOption:t)(e,l._onRenderOption)},l._onPositioned=function(e){l._focusZone.current&&l._requestAnimationFrame(function(){var e=l.props.hoisted.selectedIndices;l._focusZone.current&&(e&&e[0]&&!l.props.options[e[0]].disabled?(e=gt().getElementById(l._id+"-list"+e[0]))&&l._focusZone.current.focusElement(e):l._focusZone.current.focus())}),l.state.calloutRenderEdge&&l.state.calloutRenderEdge===e.targetEdge||l.setState({calloutRenderEdge:e.targetEdge})},l._onItemClick=function(t){return function(e){t.disabled||(l.setSelectedIndex(e,t.index),l.props.multiSelect||l.setState({isOpen:!1}))}},l._onScroll=function(){l._isScrollIdle||void 0===l._scrollIdleTimeoutId?l._isScrollIdle=!1:(clearTimeout(l._scrollIdleTimeoutId),l._scrollIdleTimeoutId=void 0),l._scrollIdleTimeoutId=window.setTimeout(function(){l._isScrollIdle=!0},l._scrollIdleDelay)},l._onMouseItemLeave=function(e,t){if(!l._shouldIgnoreMouseEvent()&&l._host.current)if(l._host.current.setActive)try{l._host.current.setActive()}catch(e){}else l._host.current.focus()},l._onDismiss=function(){l.setState({isOpen:!1})},l._onDropdownBlur=function(e){l._isDisabled()||l.state.isOpen||(l.setState({hasFocus:!1}),l.props.onBlur&&l.props.onBlur(e))},l._onDropdownKeyDown=function(e){if(!l._isDisabled()&&(l._lastKeyDownWasAltOrMeta=l._isAltOrMeta(e),!l.props.onKeyDown||(l.props.onKeyDown(e),!e.defaultPrevented))){var t,o=l.props.hoisted.selectedIndices.length?l.props.hoisted.selectedIndices[0]:-1,n=e.altKey||e.metaKey,r=l.state.isOpen;switch(e.which){case Tn.enter:l.setState({isOpen:!r});break;case Tn.escape:if(!r)return;l.setState({isOpen:!1});break;case Tn.up:if(n){if(r){l.setState({isOpen:!1});break}return}l.props.multiSelect?l.setState({isOpen:!0}):l._isDisabled()||(t=l._moveIndex(e,-1,o-1,o));break;case Tn.down:n&&(e.stopPropagation(),e.preventDefault()),n&&!r||l.props.multiSelect?l.setState({isOpen:!0}):l._isDisabled()||(t=l._moveIndex(e,1,o+1,o));break;case Tn.home:l.props.multiSelect||(t=l._moveIndex(e,1,0,o));break;case Tn.end:l.props.multiSelect||(t=l._moveIndex(e,-1,l.props.options.length-1,o));break;case Tn.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},l._onDropdownKeyUp=function(e){var t,o;l._isDisabled()||(t=l._shouldHandleKeyUp(e),o=l.state.isOpen,l.props.onKeyUp&&(l.props.onKeyUp(e),e.defaultPrevented)||(e.which===Tn.space?(l.setState({isOpen:!o}),e.stopPropagation(),e.preventDefault()):t&&o&&l.setState({isOpen:!1})))},l._onZoneKeyDown=function(e){var t;l._lastKeyDownWasAltOrMeta=l._isAltOrMeta(e);var o=e.altKey||e.metaKey;switch(e.which){case Tn.up:o?l.setState({isOpen:!1}):l._host.current&&(t=ts(l._host.current,l._host.current.lastChild,!0));break;case Tn.home:case Tn.end:case Tn.pageUp:case Tn.pageDown:break;case Tn.down:!o&&l._host.current&&(t=es(l._host.current,l._host.current.firstChild,!0));break;case Tn.escape:l.setState({isOpen:!1});break;case Tn.tab:return void l.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},l._onZoneKeyUp=function(e){l._shouldHandleKeyUp(e)&&l.state.isOpen&&(l.setState({isOpen:!1}),e.preventDefault())},l._onDropdownClick=function(e){l.props.onClick&&(l.props.onClick(e),e.defaultPrevented)||(e=l.state.isOpen,l._isDisabled()||l._shouldOpenOnFocus()||l.setState({isOpen:!e}),l._isFocusedByClick=!1)},l._onDropdownMouseDown=function(){l._isFocusedByClick=!0},l._onFocus=function(e){l._isDisabled()||(l.props.onFocus&&l.props.onFocus(e),e={hasFocus:!0},l._shouldOpenOnFocus()&&(e.isOpen=!0),l.setState(e))},l._isDisabled=function(){var e=l.props.disabled,t=l.props.isDisabled;return e=void 0===e?t:e},l._onRenderLabel=function(e){var t=e.label,o=e.required,n=e.disabled,e=l._classNames.subComponentStyles?l._classNames.subComponentStyles.label:void 0;return t?mt.createElement(qh,{className:l._classNames.label,id:l._labelId,required:o,styles:e,disabled:n},t):null},fi(l),e.multiSelect,e.selectedKey,e.selectedKeys,e.defaultSelectedKey,e.defaultSelectedKeys;var t=e.options;return l._id=e.id||Cs("Dropdown"),l._labelId=l._id+"-label",l._listId=l._id+"-list",l._optionId=l._id+"-option",l._isScrollIdle=!0,l._sizePosCache.updateOptions(t),l.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},l}yC.displayName="Dropdown",Dt([{rawString:".pickerText_cc9894a7{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_cc9894a7:hover{border-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.pickerInput_cc9894a7{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_cc9894a7::-ms-clear{display:none}"}]);var _C,SC="pickerText_cc9894a7",xC="pickerInput_cc9894a7",kC=e,wC=(l(IC,_C=mt.Component),Object.defineProperty(IC.prototype,"items",{get:function(){var e,t;return null!==(t=null!==(t=null!==(e=this.props.selectedItems)&&void 0!==e?e:null===(t=this.selectedItemsList.current)||void 0===t?void 0:t.items)&&void 0!==t?t:this.props.defaultSelectedItems)&&void 0!==t?t:null},enumerable:!1,configurable:!0}),IC.prototype.componentDidMount=function(){this.forceUpdate()},IC.prototype.focus=function(){this.input.current&&this.input.current.focus()},IC.prototype.clearInput=function(){this.input.current&&this.input.current.clear()},Object.defineProperty(IC.prototype,"inputElement",{get:function(){return this.input.current&&this.input.current.inputElement},enumerable:!1,configurable:!0}),Object.defineProperty(IC.prototype,"highlightedItems",{get:function(){return this.selectedItemsList.current?this.selectedItemsList.current.highlightedItems():[]},enumerable:!1,configurable:!0}),IC.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,e=!!this.floatingPicker.current&&this.floatingPicker.current.isSuggestionsShown;return mt.createElement("div",{ref:this.root,className:Er("ms-BasePicker ms-BaseExtendedPicker",t||""),onKeyDown:this.onBackspace,onCopy:this.onCopy},mt.createElement(Ys,pt({direction:Ti.bidirectional},r),mt.createElement(xv,{selection:this.selection,selectionMode:rv.multiple},mt.createElement("div",{className:Er("ms-BasePicker-text",kC.pickerText),role:"list"},this.props.headerComponent,this.renderSelectedItemsList(),this.canAddItems()&&mt.createElement(ki,pt({},o,{className:Er("ms-BasePicker-input",kC.pickerInput),ref:this.input,onFocus:this.onInputFocus,onClick:this.onInputClick,onInputValueChange:this.onInputChange,"aria-activedescendant":i,"aria-owns":e?"suggestion-list":void 0,"aria-expanded":e,"aria-haspopup":"true",role:"combobox",disabled:n,onPaste:this.onPaste}))))),this.renderFloatingPicker())},Object.defineProperty(IC.prototype,"floatingPickerProps",{get:function(){return this.props.floatingPickerProps},enumerable:!1,configurable:!0}),Object.defineProperty(IC.prototype,"selectedItemsListProps",{get:function(){return this.props.selectedItemsListProps},enumerable:!1,configurable:!0}),IC.prototype.canAddItems=function(){var e=this.props.itemLimit;return void 0===e||this.items.length<e},IC.prototype.renderFloatingPicker=function(){var e=this.props.onRenderFloatingPicker;return mt.createElement(e,pt({componentRef:this.floatingPicker,onChange:this._onSuggestionSelected,onSuggestionsHidden:this._onSuggestionsShownOrHidden,onSuggestionsShown:this._onSuggestionsShownOrHidden,inputElement:this.input.current?this.input.current.inputElement:void 0,selectedItems:this.items,suggestionItems:this.props.suggestionItems||void 0},this.floatingPickerProps))},IC.prototype.renderSelectedItemsList=function(){var e=this.props.onRenderSelectedItems;return mt.createElement(e,pt({componentRef:this.selectedItemsList,selection:this.selection,selectedItems:this.props.selectedItems||void 0,onItemsDeleted:this.props.selectedItems?this.props.onItemsRemoved:void 0},this.selectedItemsListProps))},IC.prototype._addProcessedItem=function(e){this.props.onItemAdded&&this.props.onItemAdded(e),this.selectedItemsList.current&&this.selectedItemsList.current.addItems([e]),this.input.current&&this.input.current.clear(),this.floatingPicker.current&&this.floatingPicker.current.hidePicker(),this.focus()},IC);function IC(e){var r=_C.call(this,e)||this;return r.floatingPicker=mt.createRef(),r.selectedItemsList=mt.createRef(),r.root=mt.createRef(),r.input=mt.createRef(),r.onSelectionChange=function(){r.forceUpdate()},r.onInputChange=function(e,t){t||(r.setState({queryString:e}),r.floatingPicker.current&&r.floatingPicker.current.onQueryStringChanged(e))},r.onInputFocus=function(e){r.selectedItemsList.current&&r.selectedItemsList.current.unselectAll(),r.props.inputProps&&r.props.inputProps.onFocus&&r.props.inputProps.onFocus(e)},r.onInputClick=function(e){var t;r.selectedItemsList.current&&r.selectedItemsList.current.unselectAll(),r.floatingPicker.current&&r.inputElement&&(t=""===r.inputElement.value||r.inputElement.value!==r.floatingPicker.current.inputText,r.floatingPicker.current.showPicker(t))},r.onBackspace=function(e){e.which===Tn.backspace&&r.selectedItemsList.current&&r.items.length&&(r.input.current&&!r.input.current.isValueSelected&&r.input.current.inputElement===e.currentTarget.ownerDocument.activeElement&&0===r.input.current.cursorLocation?(r.floatingPicker.current&&r.floatingPicker.current.hidePicker(),e.preventDefault(),r.selectedItemsList.current.removeItemAt(r.items.length-1),r._onSelectedItemsChanged()):r.selectedItemsList.current.hasSelectedItems()&&(r.floatingPicker.current&&r.floatingPicker.current.hidePicker(),e.preventDefault(),r.selectedItemsList.current.removeSelectedItems(),r._onSelectedItemsChanged()))},r.onCopy=function(e){r.selectedItemsList.current&&r.selectedItemsList.current.onCopy(e)},r.onPaste=function(e){var t;r.props.onPaste&&(t=e.clipboardData.getData("Text"),e.preventDefault(),r.props.onPaste(t))},r._onSuggestionSelected=function(e){var t,o=r.props.currentRenderedQueryString,n=r.state.queryString;void 0!==o&&o!==n||null!==(n=r.props.onItemSelected?r.props.onItemSelected(e):e)&&((e=n)&&n.then?n.then(function(e){t=e,r._addProcessedItem(t)}):(t=e,r._addProcessedItem(t)))},r._onSelectedItemsChanged=function(){r.focus()},r._onSuggestionsShownOrHidden=function(){r.forceUpdate()},fi(r),r.selection=new cv({onSelectionChanged:function(){return r.onSelectionChange()}}),r.state={queryString:""},r}Dt([{rawString:".resultContent_ae2a2ef5{display:table-row}.resultContent_ae2a2ef5 .resultItem_ae2a2ef5{display:table-cell;vertical-align:bottom}.peoplePickerPersona_ae2a2ef5{width:180px}.peoplePickerPersona_ae2a2ef5 .ms-Persona-details{width:100%}.peoplePicker_ae2a2ef5 .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_ae2a2ef5{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}"}]);var DC,TC,EC,PC=(l(NC,EC=wC),NC),RC=(l(MC,TC=PC),MC);function MC(){return null!==TC&&TC.apply(this,arguments)||this}function NC(){return null!==EC&&EC.apply(this,arguments)||this}(ke=DC=DC||{})[ke.none=0]="none",ke[ke.descriptive=1]="descriptive",ke[ke.more=2]="more",ke[ke.downArrow=3]="downArrow";var BC,FC=Ao(function(e,t,o){var n=qu(e),r=un(n,o);return pt(pt({},r),{root:[n.root,t,e.fonts.medium,o&&o.root]})}),AC=(l(zC,BC=mt.Component),zC.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,e=ht(e,["className","styles"]),o=FC(this.props.theme,t,o);return mt.createElement(zu,pt({},e,{variantClassName:"ms-Button--facepile",styles:o,onRenderDescription:ka}))},c([Vu("FacepileButton",["theme","styles"],!0)],zC)),LC=Fn(),HC={size:Pr.size48,presence:Rr.none,imageAlt:"",showOverflowTooltip:!0},OC=mt.forwardRef(function(e,t){function o(){return r.text||r.primaryText||""}function n(e,t,o){return mt.createElement("div",{dir:"auto",className:e},t&&t(r,o))}var r=Hn(HC,e),i=_r(t,mt.useRef(null)),s=function(e,t){return void 0===t&&(t=!0),e?t?function(){return mt.createElement(wd,{content:e,overflowMode:sd.Parent,directionalHint:Ea.topLeftEdge},e)}:function(){return mt.createElement(mt.Fragment,null,e)}:void 0},a=s(o(),r.showOverflowTooltip),l=s(r.secondaryText,r.showOverflowTooltip),c=s(r.tertiaryText,r.showOverflowTooltip),u=s(r.optionalText,r.showOverflowTooltip),d=r.hidePersonaDetails,p=r.onRenderOptionalText,h=void 0===p?u:p,m=r.onRenderPrimaryText,g=void 0===m?a:m,f=r.onRenderSecondaryText,v=void 0===f?l:f,b=r.onRenderTertiaryText,y=void 0===b?c:b,C=r.onRenderPersonaCoin,_=void 0===C?function(e){return mt.createElement(ui,pt({},e))}:C,S=r.size,x=r.allowPhoneInitials,k=r.className,w=r.coinProps,I=r.showUnknownPersonaCoin,D=r.coinSize,T=r.styles,E=r.imageAlt,P=r.imageInitials,R=r.imageShouldFadeIn,M=r.imageShouldStartVisible,N=r.imageUrl,B=r.initialsColor,F=r.initialsTextColor,A=r.isOutOfOffice,L=r.onPhotoLoadingStateChange,e=r.onRenderCoin,t=r.onRenderInitials,s=r.presence,p=r.presenceTitle,m=r.presenceColors,f=r.showInitialsUntilImageLoads,b=r.showSecondaryText,C=r.theme,w=pt({allowPhoneInitials:x,showUnknownPersonaCoin:I,coinSize:D,imageAlt:E,imageInitials:P,imageShouldFadeIn:R,imageShouldStartVisible:M,imageUrl:N,initialsColor:B,initialsTextColor:F,onPhotoLoadingStateChange:L,onRenderCoin:e,onRenderInitials:t,presence:s,presenceTitle:p,showInitialsUntilImageLoads:f,size:S,text:o(),isOutOfOffice:A,presenceColors:m},w),b=LC(T,{theme:C,className:k,showSecondaryText:b,presence:s,size:S}),s=ur(r,cr),u=mt.createElement("div",{className:b.details},n(b.primaryText,g,a),n(b.secondaryText,v,l),n(b.tertiaryText,y,c),n(b.optionalText,h,u),r.children);return mt.createElement("div",pt({},s,{ref:i,className:b.root,style:D?{height:D,minWidth:D}:void 0}),_(w,_),(!d||S===Pr.size8||S===Pr.size10||S===Pr.tiny)&&u)});function zC(){return null!==BC&&BC.apply(this,arguments)||this}OC.displayName="PersonaBase";var WC,VC={root:"ms-Persona",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120",available:"ms-Persona--online",away:"ms-Persona--away",blocked:"ms-Persona--blocked",busy:"ms-Persona--busy",doNotDisturb:"ms-Persona--donotdisturb",offline:"ms-Persona--offline",details:"ms-Persona-details",primaryText:"ms-Persona-primaryText",secondaryText:"ms-Persona-secondaryText",tertiaryText:"ms-Persona-tertiaryText",optionalText:"ms-Persona-optionalText",textContent:"ms-Persona-textContent"},KC=In(OC,function(e){var t=e.className,o=e.showSecondaryText,n=e.theme,r=n.semanticColors,i=n.fonts,s=zo(VC,n),a=Kr(e.size),l=Ur(e.presence),c="16px",e={color:r.bodySubtext,fontWeight:Fe.regular,fontSize:i.small.fontSize};return{root:[s.root,n.fonts.medium,Uo,{color:r.bodyText,position:"relative",height:Nr.size48,minWidth:Nr.size48,display:"flex",alignItems:"center",selectors:{".contextualHost":{display:"none"}}},a.isSize8&&[s.size8,{height:Nr.size8,minWidth:Nr.size8}],a.isSize10&&[s.size10,{height:Nr.size10,minWidth:Nr.size10}],a.isSize16&&[s.size16,{height:Nr.size16,minWidth:Nr.size16}],a.isSize24&&[s.size24,{height:Nr.size24,minWidth:Nr.size24}],a.isSize24&&o&&{height:"36px"},a.isSize28&&[s.size28,{height:Nr.size28,minWidth:Nr.size28}],a.isSize28&&o&&{height:"32px"},a.isSize32&&[s.size32,{height:Nr.size32,minWidth:Nr.size32}],a.isSize40&&[s.size40,{height:Nr.size40,minWidth:Nr.size40}],a.isSize48&&s.size48,a.isSize56&&[s.size56,{height:Nr.size56,minWidth:Nr.size56}],a.isSize72&&[s.size72,{height:Nr.size72,minWidth:Nr.size72}],a.isSize100&&[s.size100,{height:Nr.size100,minWidth:Nr.size100}],a.isSize120&&[s.size120,{height:Nr.size120,minWidth:Nr.size120}],l.isAvailable&&s.available,l.isAway&&s.away,l.isBlocked&&s.blocked,l.isBusy&&s.busy,l.isDoNotDisturb&&s.doNotDisturb,l.isOffline&&s.offline,t],details:[s.details,{padding:"0 24px 0 16px",minWidth:0,width:"100%",textAlign:"left",display:"flex",flexDirection:"column",justifyContent:"space-around"},(a.isSize8||a.isSize10)&&{paddingLeft:17},(a.isSize24||a.isSize28||a.isSize32)&&{padding:"0 8px"},(a.isSize40||a.isSize48)&&{padding:"0 12px"}],primaryText:[s.primaryText,jo,{color:r.bodyText,fontWeight:Fe.regular,fontSize:i.medium.fontSize,selectors:{":hover":{color:r.inputTextHovered}}},o&&{height:c,lineHeight:c,overflowX:"hidden"},(a.isSize8||a.isSize10)&&{fontSize:i.small.fontSize,lineHeight:Nr.size8},a.isSize16&&{lineHeight:Nr.size28},(a.isSize24||a.isSize28||a.isSize32||a.isSize40||a.isSize48)&&o&&{height:18},(a.isSize56||a.isSize72||a.isSize100||a.isSize120)&&{fontSize:i.xLarge.fontSize},(a.isSize56||a.isSize72||a.isSize100||a.isSize120)&&o&&{height:22}],secondaryText:[s.secondaryText,jo,e,(a.isSize8||a.isSize10||a.isSize16||a.isSize24||a.isSize28||a.isSize32)&&{display:"none"},o&&{display:"block",height:c,lineHeight:c,overflowX:"hidden"},a.isSize24&&o&&{height:18},(a.isSize56||a.isSize72||a.isSize100||a.isSize120)&&{fontSize:i.medium.fontSize},(a.isSize56||a.isSize72||a.isSize100||a.isSize120)&&o&&{height:18}],tertiaryText:[s.tertiaryText,jo,e,{display:"none",fontSize:i.medium.fontSize},(a.isSize72||a.isSize100||a.isSize120)&&{display:"block"}],optionalText:[s.optionalText,jo,e,{display:"none",fontSize:i.medium.fontSize},(a.isSize100||a.isSize120)&&{display:"block"}],textContent:[s.textContent,jo]}},void 0,{scope:"Persona"}),GC=Fn(),UC=(l(YC,WC=mt.Component),YC.prototype.render=function(){var e=this.props.overflowButtonProps,t=this.props,o=t.chevronButtonProps,n=t.maxDisplayablePersonas,r=t.personas,i=t.overflowPersonas,s=t.showAddButton,a=t.ariaLabel,l=t.showTooltip,c=void 0===l||l,t=this._classNames,l="number"==typeof n?Math.min(r.length,n):r.length;o&&!e&&(e=o);n=i&&0<i.length,o=n?r:r.slice(0,l),l=(n?i:r.slice(l))||[];return mt.createElement("div",{className:t.root},this.onRenderAriaDescription(),mt.createElement("div",{className:t.itemContainer},s?this._getAddNewElement():null,mt.createElement("ul",{className:t.members,"aria-label":a},this._onRenderVisiblePersonas(o,0===l.length&&1===r.length,c)),e?this._getOverflowElement(l):null))},YC.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&mt.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},YC.prototype._onRenderVisiblePersonas=function(e,n,r){var i=this,t=this.props,o=t.onRenderPersona,s=void 0===o?this._getPersonaControl:o,t=t.onRenderPersonaCoin,a=void 0===t?this._getPersonaCoinControl:t;return e.map(function(e,t){var o=n?s(e,i._getPersonaControl):a(e,i._getPersonaCoinControl);return mt.createElement("li",{key:(n?"persona":"personaCoin")+"-"+t,className:i._classNames.member},e.onClick?i._getElementWithOnClickEvent(o,e,r,t):i._getElementWithoutOnClickEvent(o,e,r,t))})},YC.prototype._getElementWithOnClickEvent=function(e,t,o,n){var r=t.keytipProps;return mt.createElement(AC,pt({},ur(t,Yn),this._getElementProps(t,o,n),{keytipProps:r,onClick:this._onPersonaClick.bind(this,t)}),e)},YC.prototype._getElementWithoutOnClickEvent=function(e,t,o,n){return mt.createElement("div",pt({},ur(t,Yn),this._getElementProps(t,o,n)),e)},YC.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)}},YC.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case DC.descriptive:return this._getDescriptiveOverflowElement(e);case DC.downArrow:return this._getIconElement("ChevronDown");case DC.more:return this._getIconElement("More");default:return null}},YC.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),o=Math.max(e.length,0),e=this._classNames;return mt.createElement(AC,pt({},n,{ariaDescription:n.title,className:e.descriptiveOverflowButton}),mt.createElement(ui,{size:t,onRenderInitials:this._renderInitialsNotPictured(o),initialsColor:Mr.transparent}))},YC.prototype._getIconElement=function(e){var t=this.props,o=t.overflowButtonProps,n=t.personaSize,t=this._classNames;return mt.createElement(AC,pt({},o,{className:t.overflowButton}),mt.createElement(ui,{size:n,onRenderInitials:this._renderInitials(e,!0),initialsColor:Mr.transparent}))},YC.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,o=e.personaSize,e=this._classNames;return mt.createElement(AC,pt({},t,{className:e.addButton}),mt.createElement(ui,{size:o,onRenderInitials:this._renderInitials("AddFriend")}))},YC.prototype._onPersonaClick=function(e,t){e.onClick(t,e),t.preventDefault(),t.stopPropagation()},YC.prototype._onPersonaMouseMove=function(e,t){e.onMouseMove&&e.onMouseMove(t,e)},YC.prototype._onPersonaMouseOut=function(e,t){e.onMouseOut&&e.onMouseOut(t,e)},YC.prototype._renderInitials=function(e,t){var o=this._classNames;return function(){return mt.createElement(Wr,{iconName:e,className:t?o.overflowInitialsIcon:""})}},YC.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return mt.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},YC.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:Pr.size32},YC),jC={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"},qC=In(UC,function(e){var t=e.className,o=e.theme,n=e.spacingAroundItemButton,r=void 0===n?2:n,i=o.palette,s=o.fonts,e=zo(jC,o),n={textAlign:"center",padding:0,borderRadius:"50%",verticalAlign:"top",display:"inline",backgroundColor:"transparent",border:"none",selectors:{"&::-moz-focus-inner":{padding:0,border:0}}};return{root:[e.root,o.fonts.medium,{width:"auto"},t],addButton:[e.addButton,bo(o,{inset:-1}),n,{fontSize:s.medium.fontSize,color:i.white,backgroundColor:i.themePrimary,marginRight:2*r+"px",selectors:{"&:hover":{backgroundColor:i.themeDark},"&:focus":{backgroundColor:i.themeDark},"&:active":{backgroundColor:i.themeDarker},"&:disabled":{backgroundColor:i.neutralTertiaryAlt}}}],descriptiveOverflowButton:[e.descriptiveOverflowButton,bo(o,{inset:-1}),n,{fontSize:s.small.fontSize,color:i.neutralSecondary,backgroundColor:i.neutralLighter,marginLeft:2*r+"px"}],itemButton:[e.itemButton,n],itemContainer:[e.itemContainer,{display:"flex"}],members:[e.members,{display:"flex",overflow:"hidden",listStyleType:"none",padding:0,margin:"-"+r+"px"}],member:[e.member,{display:"inline-flex",flex:"0 0 auto",margin:r+"px"}],overflowButton:[e.overflowButton,bo(o,{inset:-1}),n,{fontSize:s.medium.fontSize,color:i.neutralSecondary,backgroundColor:i.neutralLighter,marginLeft:2*r+"px"}],overflowInitialsIcon:[{color:i.neutralPrimary,selectors:((i={})[Yt]={color:"WindowText"},i)}],screenReaderOnly:So}},void 0,{scope:"Facepile"});function YC(e){var n=WC.call(this,e)||this;return n._classNames=GC(n.props.styles,{theme:n.props.theme,className:n.props.className}),n._getPersonaControl=function(e){var t=n.props,o=t.getPersonaProps,t=t.personaSize;return mt.createElement(KC,pt({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:t},o?o(e):null,{styles:{details:{flex:"1 0 auto"}}}))},n._getPersonaCoinControl=function(e){var t=n.props,o=t.getPersonaProps,t=t.personaSize;return mt.createElement(ui,pt({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:t},o?o(e):null))},fi(n),n._ariaDescriptionId=Cs(),n}Dt([{rawString:".callout_0508e60b .ms-Suggestions-itemButton{padding:0;border:none}.callout_0508e60b .ms-Suggestions{min-width:300px}"}]);var ZC="callout_0508e60b";Dt([{rawString:".root_2f55324e{min-width:260px}.suggestionsItem_2f55324e{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_2f55324e:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_2f55324e:hover .closeButton_2f55324e{display:block}.suggestionsItem_2f55324e.suggestionsItemIsSuggested_2f55324e{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_2f55324e.suggestionsItemIsSuggested_2f55324e:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_2f55324e.suggestionsItemIsSuggested_2f55324e:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active){.suggestionsItem_2f55324e.suggestionsItemIsSuggested_2f55324e{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_2f55324e.suggestionsItemIsSuggested_2f55324e .closeButton_2f55324e:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_2f55324e.suggestionsItemIsSuggested_2f55324e .itemButton_2f55324e{color:HighlightText}}.suggestionsItem_2f55324e .closeButton_2f55324e{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_2f55324e .closeButton_2f55324e:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_2f55324e{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_2f55324e{padding-left:8px}[dir=rtl] .actionButton_2f55324e{padding-right:8px}html[dir=ltr] .actionButton_2f55324e{text-align:left}html[dir=rtl] .actionButton_2f55324e{text-align:right}.actionButton_2f55324e:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_2f55324e:active,.actionButton_2f55324e:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_2f55324e .ms-Button-icon{font-size:16px;width:25px}.actionButton_2f55324e .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_2f55324e .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_2f55324e{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_2f55324e{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_2f55324e{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_2f55324e{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_2f55324e{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_2f55324e{padding-left:14px}html[dir=rtl] .suggestionsSpinner_2f55324e{padding-right:14px}html[dir=ltr] .suggestionsSpinner_2f55324e{text-align:left}html[dir=rtl] .suggestionsSpinner_2f55324e{text-align:right}.suggestionsSpinner_2f55324e .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_2f55324e .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_2f55324e .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_2f55324e.itemButton_2f55324e{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active){.itemButton_2f55324e.itemButton_2f55324e{color:WindowText}}.itemButton_2f55324e.itemButton_2f55324e:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_2f55324e.closeButton_2f55324e{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active){.closeButton_2f55324e.closeButton_2f55324e{color:WindowText}}.closeButton_2f55324e.closeButton_2f55324e:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_2f55324e{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var XC,QC="root_2f55324e",JC="suggestionsItem_2f55324e",$C="closeButton_2f55324e",e_="suggestionsItemIsSuggested_2f55324e",t_="itemButton_2f55324e",o_="actionButton_2f55324e",n_="buttonSelected_2f55324e",r_="suggestionsTitle_2f55324e",i_="suggestionsContainer_2f55324e",s_="suggestionsNone_2f55324e",a_="suggestionsSpinner_2f55324e",l_="suggestionsAvailable_2f55324e",c_=o,u_=Fn(),d_=(l(p_,XC=mt.Component),p_.prototype.render=function(){var e=this.props,t=e.suggestionModel,o=e.RenderSuggestion,n=e.onClick,r=e.className,i=e.id,s=e.onRemoveItem,a=e.isSelectedOverride,l=e.removeButtonAriaLabel,c=e.styles,u=e.theme,e=e.removeButtonIconProps,r=c?u_(c,{theme:u,className:r,suggested:t.selected||a}):{root:Er("ms-Suggestions-item",c_.suggestionsItem,((u={})["is-suggested "+c_.suggestionsItemIsSuggested]=t.selected||a,u),r),itemButton:Er("ms-Suggestions-itemButton",c_.itemButton),closeButton:Er("ms-Suggestions-closeButton",c_.closeButton)};return mt.createElement("div",{className:r.root,role:"presentation"},mt.createElement(tp,{onClick:n,className:r.itemButton,id:i,"aria-selected":t.selected,role:"option","aria-label":t.ariaLabel},o(t.item,this.props)),this.props.showRemoveButton?mt.createElement(Xu,{iconProps:null!=e?e:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},title:l,ariaLabel:l,onClick:s,className:r.closeButton}):null)},p_);function p_(e){e=XC.call(this,e)||this;return fi(e),e}Dt([{rawString:".suggestionsContainer_a151d363{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_a151d363 .ms-Suggestion-item:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.suggestionsContainer_a151d363 .is-suggested{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.suggestionsContainer_a151d363 .is-suggested:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}"}]);var h_,m_="suggestionsContainer_a151d363",g_=n,f_=(l(v_,h_=mt.Component),v_.prototype.nextSuggestion=function(){var e=this.props.suggestions;if(e&&0<e.length){if(-1===this.currentIndex)return this.setSelectedSuggestion(0),!0;if(this.currentIndex<e.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.props.shouldLoopSelection&&this.currentIndex===e.length-1)return this.setSelectedSuggestion(0),!0}return!1},v_.prototype.previousSuggestion=function(){var e=this.props.suggestions;if(e&&0<e.length){if(-1===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0;if(0<this.currentIndex)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(v_.prototype,"selectedElement",{get:function(){return this._selectedElement.current||void 0},enumerable:!1,configurable:!0}),v_.prototype.getCurrentItem=function(){return this.props.suggestions[this.currentIndex]},v_.prototype.getSuggestionAtIndex=function(e){return this.props.suggestions[e]},v_.prototype.hasSuggestionSelected=function(){return-1!==this.currentIndex&&this.currentIndex<this.props.suggestions.length},v_.prototype.removeSuggestion=function(e){this.props.suggestions.splice(e,1)},v_.prototype.deselectAllSuggestions=function(){-1<this.currentIndex&&this.props.suggestions[this.currentIndex]&&(this.props.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1,this.forceUpdate())},v_.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):(-1<this.currentIndex&&t[this.currentIndex]&&(t[this.currentIndex].selected=!1),t[e].selected=!0,this.currentIndex=e,this.currentSuggestion=t[e]),this.forceUpdate()},v_.prototype.componentDidUpdate=function(){this.scrollSelected()},v_.prototype.render=function(){var o=this,e=this.props,n=e.onRenderSuggestion,r=e.suggestionsItemClassName,t=e.resultsMaximumNumber,i=e.showRemoveButtons,s=e.suggestionsContainerAriaLabel,a=this.SuggestionsItemOfProperType,e=this.props.suggestions;return t&&(e=e.slice(0,t)),mt.createElement("div",{className:Er("ms-Suggestions-container",g_.suggestionsContainer),id:"suggestion-list",role:"list","aria-label":s},e.map(function(e,t){return mt.createElement("div",{ref:e.selected||t===o.currentIndex?o._selectedElement:void 0,key:e.item.key||t,id:"sug-"+t,role:"listitem","aria-label":e.ariaLabel},mt.createElement(a,{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}))}))},v_.prototype.scrollSelected=function(){var e;void 0!==(null===(e=this._selectedElement.current)||void 0===e?void 0:e.scrollIntoView)&&this._selectedElement.current.scrollIntoView(!1)},v_);function v_(e){var n=h_.call(this,e)||this;return n._selectedElement=mt.createRef(),n.SuggestionsItemOfProperType=d_,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()}},fi(n),n.currentIndex=-1,n}Dt([{rawString:".root_e4eecb3d{min-width:260px}.actionButton_e4eecb3d{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_e4eecb3d{text-align:left}html[dir=rtl] .actionButton_e4eecb3d{text-align:right}.actionButton_e4eecb3d:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.actionButton_e4eecb3d:active,.actionButton_e4eecb3d:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_e4eecb3d .ms-Button-icon{font-size:16px;width:25px}.actionButton_e4eecb3d .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_e4eecb3d .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_e4eecb3d{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.buttonSelected_e4eecb3d:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}@media screen and (-ms-high-contrast:active){.buttonSelected_e4eecb3d:hover{background-color:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active){.buttonSelected_e4eecb3d{background-color:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsTitle_e4eecb3d{font-size:12px}.suggestionsSpinner_e4eecb3d{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_e4eecb3d{padding-left:14px}html[dir=rtl] .suggestionsSpinner_e4eecb3d{padding-right:14px}html[dir=ltr] .suggestionsSpinner_e4eecb3d{text-align:left}html[dir=rtl] .suggestionsSpinner_e4eecb3d{text-align:right}.suggestionsSpinner_e4eecb3d .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_e4eecb3d .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_e4eecb3d .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_e4eecb3d{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active){.itemButton_e4eecb3d{color:WindowText}}.screenReaderOnly_e4eecb3d{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var b_,y_="root_e4eecb3d",C_="actionButton_e4eecb3d",__="buttonSelected_e4eecb3d",S_="suggestionsTitle_e4eecb3d",x_="suggestionsSpinner_e4eecb3d",k_="itemButton_e4eecb3d",w_="screenReaderOnly_e4eecb3d",I_=r;(K=b_=b_||{})[K.header=0]="header",K[K.suggestion=1]="suggestion",K[K.footer=2]="footer";var D_,T_,E_,P_=(l(A_,E_=mt.Component),A_.prototype.render=function(){var e=this.props,t=e.renderItem,o=e.onExecute,n=e.isSelected,r=e.id,e=e.className;return o?mt.createElement("div",{id:r,onClick:o,className:Er("ms-Suggestions-sectionButton",e,I_.actionButton,((o={})["is-selected "+I_.buttonSelected]=n,o))},t()):mt.createElement("div",{id:r,className:Er("ms-Suggestions-section",e,I_.suggestionsTitle)},t())},A_),R_=(l(F_,T_=mt.Component),F_.prototype.componentDidMount=function(){this.resetSelectedItem()},F_.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()})},F_.prototype.componentWillUnmount=function(){var e;null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions()},F_.prototype.render=function(){var e=this.props,t=e.className,o=e.headerItemsProps,n=e.footerItemsProps,r=e.suggestionsAvailableAlertText,i=j(So),e=this.state.suggestions&&0<this.state.suggestions.length&&r;return mt.createElement("div",{className:Er("ms-Suggestions",t||"",I_.root)},o&&this.renderHeaderItems(),this._renderSuggestions(),n&&this.renderFooterItems(),e?mt.createElement("span",{role:"alert","aria-live":"polite",className:i},r):null)},Object.defineProperty(F_.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(F_.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(F_.prototype,"selectedElement",{get:function(){var e;return this._selectedElement.current||(null===(e=this._suggestions.current)||void 0===e?void 0:e.selectedElement)},enumerable:!1,configurable:!0}),F_.prototype.hasSuggestionSelected=function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())||!1},F_.prototype.hasSelection=function(){var e=this.state,t=e.selectedHeaderIndex,e=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==e},F_.prototype.executeSelectedAction=function(){var e,t=this.props,o=t.headerItemsProps,n=t.footerItemsProps,r=this.state,t=r.selectedHeaderIndex,r=r.selectedFooterIndex;o&&-1!==t&&t<o.length?(e=o[t]).onExecute&&e.onExecute():null!==(e=this._suggestions.current)&&void 0!==e&&e.hasSuggestionSelected()?this.props.completeSuggestion():n&&-1!==r&&r<n.length&&((r=n[r]).onExecute&&r.onExecute())},F_.prototype.removeSuggestion=function(e){var t;null===(t=this._suggestions.current)||void 0===t||t.removeSuggestion(e||(null===(e=this._suggestions.current)||void 0===e?void 0:e.currentIndex))},F_.prototype.handleKeyDown=function(e){var t,o=this.state,n=o.selectedHeaderIndex,r=o.selectedFooterIndex,i=!1;return e===Tn.down?-1!==n||null!==(o=this._suggestions.current)&&void 0!==o&&o.hasSuggestionSelected()||-1!==r?-1!==n?(this.selectNextItem(b_.header),i=!0):null!==(t=this._suggestions.current)&&void 0!==t&&t.hasSuggestionSelected()?(this.selectNextItem(b_.suggestion),i=!0):-1!==r&&(this.selectNextItem(b_.footer),i=!0):this.selectFirstItem():e===Tn.up?-1!==n||null!==(t=this._suggestions.current)&&void 0!==t&&t.hasSuggestionSelected()||-1!==r?-1!==n?(this.selectPreviousItem(b_.header),i=!0):null!==(n=this._suggestions.current)&&void 0!==n&&n.hasSuggestionSelected()?(this.selectPreviousItem(b_.suggestion),i=!0):-1!==r&&(this.selectPreviousItem(b_.footer),i=!0):this.selectLastItem():e!==Tn.enter&&e!==Tn.tab||this.hasSelection()&&(this.executeSelectedAction(),i=!0),i},F_.prototype.scrollSelected=function(){this._selectedElement.current&&this._selectedElement.current.scrollIntoView(!1)},F_.prototype.renderHeaderItems=function(){var n=this,e=this.props,t=e.headerItemsProps,e=e.suggestionsHeaderContainerAriaLabel,r=this.state.selectedHeaderIndex;return t?mt.createElement("div",{className:Er("ms-Suggestions-headerContainer",I_.suggestionsContainer),id:"suggestionHeader-list",role:"list","aria-label":e},t.map(function(e,t){var o=-1!==r&&r===t;return e.shouldShow()?mt.createElement("div",{ref:o?n._selectedElement:void 0,id:"sug-header"+t,key:"sug-header"+t,role:"listitem","aria-label":e.ariaLabel},mt.createElement(P_,{id:"sug-header-item"+t,isSelected:o,renderItem:e.renderItem,onExecute:e.onExecute,className:e.className})):null})):null},F_.prototype.renderFooterItems=function(){var n=this,e=this.props,t=e.footerItemsProps,e=e.suggestionsFooterContainerAriaLabel,r=this.state.selectedFooterIndex;return t?mt.createElement("div",{className:Er("ms-Suggestions-footerContainer",I_.suggestionsContainer),id:"suggestionFooter-list",role:"list","aria-label":e},t.map(function(e,t){var o=-1!==r&&r===t;return e.shouldShow()?mt.createElement("div",{ref:o?n._selectedElement:void 0,id:"sug-footer"+t,key:"sug-footer"+t,role:"listitem","aria-label":e.ariaLabel},mt.createElement(P_,{id:"sug-footer-item"+t,isSelected:o,renderItem:e.renderItem,onExecute:e.onExecute,className:e.className})):null})):null},F_.prototype._renderSuggestions=function(){var e=this.SuggestionsOfProperType;return mt.createElement(e,pt({ref:this._suggestions},this.props,{suggestions:this.state.suggestions}))},F_.prototype.selectNextItem=function(e,t){e!==t?this._selectNextItemOfItemType(e,(t=void 0!==t?t:e)===e?this._getCurrentIndexForType(e):void 0)||this.selectNextItem(this._getNextItemSectionType(e),t):this._selectNextItemOfItemType(e)},F_.prototype.selectPreviousItem=function(e,t){e!==t?this._selectPreviousItemOfItemType(e,(t=void 0!==t?t:e)===e?this._getCurrentIndexForType(e):void 0)||this.selectPreviousItem(this._getPreviousItemSectionType(e),t):this._selectPreviousItemOfItemType(e)},F_.prototype.resetSelectedItem=function(){var e;this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions(),void 0!==this.props.shouldSelectFirstItem&&!this.props.shouldSelectFirstItem()||this.selectFirstItem()},F_.prototype.selectFirstItem=function(){this._selectNextItemOfItemType(b_.header)||this._selectNextItemOfItemType(b_.suggestion)||this._selectNextItemOfItemType(b_.footer)},F_.prototype.selectLastItem=function(){this._selectPreviousItemOfItemType(b_.footer)||this._selectPreviousItemOfItemType(b_.suggestion)||this._selectPreviousItemOfItemType(b_.header)},F_.prototype._selectNextItemOfItemType=function(e,t){var o;if(void 0===t&&(t=-1),e===b_.suggestion){if(this.state.suggestions.length>t+1)return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var n=e===b_.header,r=n?this.props.headerItemsProps:this.props.footerItemsProps;if(r&&r.length>t+1)for(var i=t+1;i<r.length;i++){var s=r[i];if(s.onExecute&&s.shouldShow())return this.setState({selectedHeaderIndex:n?i:-1}),this.setState({selectedFooterIndex:n?-1:i}),null===(s=this._suggestions.current)||void 0===s||s.deselectAllSuggestions(),!0}}return!1},F_.prototype._selectPreviousItemOfItemType=function(e,t){var o;if(e===b_.suggestion){if(0<(n=void 0!==t?t:this.state.suggestions.length))return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(n-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var n,r=e===b_.header,i=r?this.props.headerItemsProps:this.props.footerItemsProps;if(i&&0<(n=void 0!==t?t:i.length))for(var s=n-1;0<=s;s--){var a=i[s];if(a.onExecute&&a.shouldShow())return this.setState({selectedHeaderIndex:r?s:-1}),this.setState({selectedFooterIndex:r?-1:s}),null===(a=this._suggestions.current)||void 0===a||a.deselectAllSuggestions(),!0}}return!1},F_.prototype._getCurrentIndexForType=function(e){switch(e){case b_.header:return this.state.selectedHeaderIndex;case b_.suggestion:return this._suggestions.current.currentIndex;case b_.footer:return this.state.selectedFooterIndex}},F_.prototype._getNextItemSectionType=function(e){switch(e){case b_.header:return b_.suggestion;case b_.suggestion:return b_.footer;case b_.footer:return b_.header}},F_.prototype._getPreviousItemSectionType=function(e){switch(e){case b_.header:return b_.footer;case b_.suggestion:return b_.header;case b_.footer:return b_.suggestion}},F_),M_=t,N_=(l(B_,D_=mt.Component),Object.defineProperty(B_.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!1,configurable:!0}),Object.defineProperty(B_.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!1,configurable:!0}),B_.prototype.forceResolveSuggestion=function(){this.suggestionsControl.current&&this.suggestionsControl.current.hasSuggestionSelected()?this.completeSuggestion():this._onValidateInput()},Object.defineProperty(B_.prototype,"currentSelectedSuggestionIndex",{get:function(){return this.suggestionsControl.current?this.suggestionsControl.current.currentSuggestionIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(B_.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!1,configurable:!0}),B_.prototype.componentDidMount=function(){this._bindToInputElement(),this.isComponentMounted=!0,this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},B_.prototype.componentDidUpdate=function(){this._bindToInputElement()},B_.prototype.componentWillUnmount=function(){this._unbindFromInputElement(),this.isComponentMounted=!1},B_.prototype.updateSuggestions=function(e,t){void 0===t&&(t=!1),this.suggestionStore.updateSuggestions(e),t&&this.forceUpdate()},B_.prototype.render=function(){var e=this.props.className;return mt.createElement("div",{ref:this.root,className:Er("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},B_.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.props.suggestionItems&&this.suggestionStore.updateSuggestions(this.props.suggestionItems),this.state.suggestionsVisible?mt.createElement(nc,pt({className:M_.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:Ea.bottomLeftEdge,directionalHintForRTL:Ea.bottomRightEdge,calloutWidth:this.props.calloutWidth||0},this.props.pickerCalloutProps),mt.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},B_.prototype.onSelectionChange=function(){this.forceUpdate()},B_.prototype.updateValue=function(e){""===e?this.updateSuggestionWithZeroState():this._onResolveSuggestions(e)},B_.prototype.updateSuggestionWithZeroState=function(){var e;this.props.onZeroQuerySuggestion?(e=(0,this.props.onZeroQuerySuggestion)(this.props.selectedItems),this.updateSuggestionsList(e)):this.hidePicker()},B_.prototype.updateSuggestionsList=function(e){var t,o=this,n=e,e=e;Array.isArray(n)?this.updateSuggestions(n,!0):e&&e.then&&(t=this.currentPromise=e).then(function(e){t===o.currentPromise&&o.isComponentMounted&&o.updateSuggestions(e,!0)})},B_.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},B_.prototype._updateActiveDescendant=function(){var e;this.props.inputElement&&this.suggestionsControl.current&&this.suggestionsControl.current.selectedElement&&((e=this.suggestionsControl.current.selectedElement.getAttribute("id"))&&this.props.inputElement.setAttribute("aria-activedescendant",e))},B_.prototype._onResolveSuggestions=function(e){e=this.props.onResolveSuggestions(e,this.props.selectedItems);this._updateSuggestionsVisible(!0),null!==e&&this.updateSuggestionsList(e)},B_.prototype._updateSuggestionsVisible=function(e){e?this.showPicker():this.hidePicker()},B_.prototype._bindToInputElement=function(){this.props.inputElement&&!this.state.didBind&&(this.props.inputElement.addEventListener("keydown",this.onKeyDown),this.setState({didBind:!0}))},B_.prototype._unbindFromInputElement=function(){this.props.inputElement&&this.state.didBind&&(this.props.inputElement.removeEventListener("keydown",this.onKeyDown),this.setState({didBind:!1}))},B_);function B_(e){var n=D_.call(this,e)||this;return n.root=mt.createRef(),n.suggestionsControl=mt.createRef(),n.SuggestionsControlOfProperType=R_,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 Tn.escape:n.hidePicker(),e.preventDefault(),e.stopPropagation();break;case Tn.tab:case Tn.enter:!e.shiftKey&&!e.ctrlKey&&n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):n._onValidateInput();break;case Tn.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 Tn.up:case Tn.down:n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)&&(e.preventDefault(),e.stopPropagation(),n._updateActiveDescendant())}}},n._onValidateInput=function(){var e;n.state.queryString&&n.props.onValidateInput&&n.props.createGenericItem&&(e=n.props.createGenericItem(n.state.queryString,n.props.onValidateInput(n.state.queryString)),e=n.suggestionStore.convertSuggestionsToSuggestionItems([e]),n.onChange(e[0].item))},n._async=new Si(n),fi(n),n.suggestionStore=e.suggestionsStore,n.state={queryString:"",didBind:!1},n}function F_(e){var t=T_.call(this,e)||this;return t._selectedElement=mt.createRef(),t._suggestions=mt.createRef(),t.SuggestionsOfProperType=f_,fi(t),t.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:e.suggestions},t}function A_(e){e=E_.call(this,e)||this;return fi(e),e}Dt([{rawString:".resultContent_a17eb2a2{display:table-row}.resultContent_a17eb2a2 .resultItem_a17eb2a2{display:table-cell;vertical-align:bottom}.peoplePickerPersona_a17eb2a2{width:180px}.peoplePickerPersona_a17eb2a2 .ms-Persona-details{width:100%}.peoplePicker_a17eb2a2 .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_a17eb2a2{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 L_,H_,O_=(l(V_,H_=N_),V_),z_=(l(W_,L_=O_),W_.defaultProps={onRenderSuggestionsItem:function(e,t){return e=pt({},e),pt({},t),mt.createElement("div",{className:Er("ms-PeoplePicker-personaContent","peoplePickerPersonaContent_a17eb2a2")},mt.createElement(KC,pt({presence:void 0!==e.presence?e.presence:Rr.none,size:Pr.size40,className:Er("ms-PeoplePicker-Persona","peoplePickerPersona_a17eb2a2"),showSecondaryText:!0},e)))},createGenericItem:K_},W_);function W_(){return null!==L_&&L_.apply(this,arguments)||this}function V_(){return null!==H_&&H_.apply(this,arguments)||this}function K_(e,t){var o={key:e,primaryText:e,imageInitials:"!",isValid:t};return t||(o.imageInitials=Cr(e,Pn())),o}var G_=(U_.prototype.updateSuggestions=function(e){e&&0<e.length?this.suggestions=this.convertSuggestionsToSuggestionItems(e):this.suggestions=[]},U_.prototype.getSuggestions=function(){return this.suggestions},U_.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},U_.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},U_.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},U_);function U_(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}fn("@fluentui/react-focus","8.3.2");var j_,q_,Y_={host:"ms-HoverCard-host"};(U=j_=j_||{})[U.hover=0]="hover",U[U.hotKey=1]="hotKey",(xe=q_=q_||{}).plain="PlainCard",xe.expanding="ExpandingCard";var Z_,X_={root:"ms-ExpandingCard-root",compactCard:"ms-ExpandingCard-compactCard",expandedCard:"ms-ExpandingCard-expandedCard",expandedCardScroll:"ms-ExpandingCard-expandedCardScrollRegion"};(G=Z_=Z_||{})[G.compact=0]="compact",G[G.expanded=1]="expanded";function Q_(e){var t=void 0===(u=e.gapSpace)?0:u,o=void 0===(d=e.directionalHint)?Ea.bottomLeftEdge:d,n=e.directionalHintFixed,r=e.targetElement,i=e.firstFocus,s=e.trapFocus,a=e.onLeave,l=e.className,c=e.finalHeight,u=e.content,d=e.calloutProps,d=pt(pt(pt({},ur(e,cr)),{className:l,target:r,isBeakVisible:!1,directionalHint:o,directionalHintFixed:n,finalHeight:c,minPagePadding:24,onDismiss:a,gapSpace:t}),d);return mt.createElement(mt.Fragment,null,s?mt.createElement(Bh,pt({},d,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!i}}),u):mt.createElement(nc,pt({},d),u))}var J_,$_,eS,tS=Fn(),oS=(l(hS,eS=mt.Component),hS.prototype.componentDidMount=function(){this._checkNeedsScroll()},hS.prototype.componentWillUnmount=function(){this._async.dispose()},hS.prototype.render=function(){var e=this.props,t=e.styles,o=e.compactCardHeight,n=e.expandedCardHeight,r=e.theme,i=e.mode,s=e.className,a=this.state,l=a.needsScroll,e=a.firstFrameRendered,a=o+n;this._classNames=tS(t,{theme:r,compactCardHeight:o,className:s,expandedCardHeight:n,needsScroll:l,expandedCardFirstFrameRendered:i===Z_.expanded&&e});e=mt.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return mt.createElement(Q_,pt({},this.props,{content:e,finalHeight:a,className:this._classNames.root}))},hS.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},hS),nS=In(oS,function(e){var t=e.theme,o=e.needsScroll,n=e.expandedCardFirstFrameRendered,r=e.compactCardHeight,i=e.expandedCardHeight,s=e.className,a=t.palette,e=zo(X_,t);return{root:[e.root,{width:320,pointerEvents:"none",selectors:((t={})[Yt]={border:"1px solid WindowText"},t)},s],compactCard:[e.compactCard,{pointerEvents:"auto",position:"relative",height:r}],expandedCard:[e.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:a.neutralLighter}}},n&&{height:i}],expandedCardScroll:[e.expandedCardScroll,o&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}},void 0,{scope:"ExpandingCard"}),rS={root:"ms-PlainCard-root"},iS=Fn(),sS=(l(pS,$_=mt.Component),pS.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme,e=e.className;this._classNames=iS(t,{theme:o,className:e});e=mt.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return mt.createElement(Q_,pt({},this.props,{content:e,className:this._classNames.root}))},pS),aS=In(sS,function(e){var t=e.theme,e=e.className;return{root:[zo(rS,t).root,{pointerEvents:"auto",selectors:((t={})[Yt]={border:"1px solid WindowText"},t)},e]}},void 0,{scope:"PlainCard"}),lS=Fn(),cS=(l(dS,J_=mt.Component),dS.prototype.componentDidMount=function(){this._setEventListeners()},dS.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},dS.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:Z_.expanded},function(){o.props.onCardExpand&&o.props.onCardExpand()})},this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:Z_.compact}),this.props.onCardHide&&this.props.onCardHide()))},dS.prototype.render=function(){var e=this.props,t=e.expandingCardProps,o=e.children,n=e.id,r=e.setAriaDescribedBy,i=void 0===r||r,s=e.styles,a=e.theme,l=e.className,c=e.type,u=e.plainCardProps,d=e.trapFocus,p=e.setInitialFocus,h=this.state,r=h.isHoverCardVisible,e=h.mode,h=h.openMode,n=n||Cs("hoverCard");this._classNames=lS(s,{theme:a,className:l});h=pt(pt({},ur(this.props,cr)),{id:n,trapFocus:!!d,firstFocus:p||h===j_.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),e=pt(pt(pt({},t),h),{mode:e}),h=pt(pt({},u),h);return mt.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":i&&r?n:void 0,"data-is-focusable":!this.props.target},o,r&&(c===q_.expanding?mt.createElement(nS,pt({},e)):mt.createElement(aS,pt({},h))))},dS.prototype._getTargetElement=function(e){switch(typeof e){case"string":return gt().querySelector(e);case"object":return e;default:return this._hoverCard.current||void 0}},dS.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},dS.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:Tn.c,type:q_.expanding},dS),uS=In(cS,function(e){var t=e.className,e=e.theme;return{host:[zo(Y_,e).host,t]}},void 0,{scope:"HoverCard"});function dS(e){var r=J_.call(this,e)||this;return r._hoverCard=mt.createRef(),r.dismiss=function(e){r._async.clearTimeout(r._openTimerId),r._async.clearTimeout(r._dismissTimerId),e?r._dismissTimerId=r._async.setTimeout(function(){r._setDismissedState()},r.props.cardDismissDelay):r._setDismissedState()},r._cardOpen=function(e){r._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==r.props.openHotKey||(r._async.clearTimeout(r._dismissTimerId),"mouseenter"===e.type&&(r._currentMouseTarget=e.currentTarget),r._executeCardOpen(e))},r._executeCardOpen=function(t){r._async.clearTimeout(r._openTimerId),r._openTimerId=r._async.setTimeout(function(){r.setState(function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Z_.compact,openMode:"keydown"===t.type?j_.hotKey:j_.hover}})},r.props.cardOpenDelay)},r._cardDismiss=function(e,t){e?t instanceof MouseEvent&&("keydown"===t.type&&t.which!==Tn.escape||r.props.sticky||r._currentMouseTarget!==t.currentTarget&&t.which!==Tn.escape||r.dismiss(!0)):r.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type||r.dismiss(!0)},r._setDismissedState=function(){r.setState({isHoverCardVisible:!1,mode:Z_.compact,openMode:j_.hover})},r._instantOpenAsExpanded=function(e){r._async.clearTimeout(r._dismissTimerId),r.setState(function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Z_.expanded}})},r._setEventListeners=function(){var e=r.props,t=e.trapFocus,o=e.instantOpenOnClick,n=e.eventListenerTarget,e=n?r._getTargetElement(n):r._getTargetElement(r.props.target),n=r._nativeDismissEvent;e&&(r._events.on(e,"mouseenter",r._cardOpen),r._events.on(e,"mouseleave",n),t?r._events.on(e,"keydown",r._cardOpen):(r._events.on(e,"focus",r._cardOpen),r._events.on(e,"blur",n)),o?r._events.on(e,"click",r._instantOpenAsExpanded):(r._events.on(e,"mousedown",n),r._events.on(e,"keydown",n)))},fi(r),r._async=new Si(r),r._events=new fa(r),r._nativeDismissEvent=r._cardDismiss.bind(r,!0),r._childDismissEvent=r._cardDismiss.bind(r,!1),r.state={isHoverCardVisible:!1,mode:Z_.compact,openMode:j_.hover},r}function pS(e){var t=$_.call(this,e)||this;return t._onKeyDown=function(e){e.which===Tn.escape&&t.props.onLeave&&t.props.onLeave(e)},fi(t),t}function hS(e){var t=eS.call(this,e)||this;return t._expandedElem=mt.createRef(),t._onKeyDown=function(e){e.which===Tn.escape&&t.props.onLeave&&t.props.onLeave(e)},t._onRenderCompactCard=function(){return mt.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})}),mt.createElement("div",{className:t._classNames.expandedCard,ref:t._expandedElem},mt.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 Si(t),fi(t),t.state={firstFrameRendered:!1,needsScroll:!1},t}function mS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('"+(e=void 0===e?"":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 gS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('"+(e=void 0===e?"":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 fS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('"+(e=void 0===e?"":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 vS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('"+(e=void 0===e?"":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 bS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('"+(e=void 0===e?"":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 yS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('"+(e=void 0===e?"":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 CS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('"+(e=void 0===e?"":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 _S(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('"+(e=void 0===e?"":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 SS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('"+(e=void 0===e?"":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 xS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('"+(e=void 0===e?"":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 kS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('"+(e=void 0===e?"":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 wS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('"+(e=void 0===e?"":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 IS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('"+(e=void 0===e?"":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 DS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('"+(e=void 0===e?"":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 TS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('"+(e=void 0===e?"":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 ES(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('"+(e=void 0===e?"":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 PS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('"+(e=void 0===e?"":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 RS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('"+(e=void 0===e?"":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 MS(e,t){en({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('"+(e=void 0===e?"":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)}function NS(t,o){void 0===t&&(t="https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20210407.001/assets/icons/"),[mS,gS,fS,vS,bS,yS,CS,_S,SS,xS,kS,wS,IS,DS,TS,ES,PS,RS,MS].forEach(function(e){return e(t,o)}),on("trash","delete"),on("onedrive","onedrivelogo"),on("alertsolid12","eventdatemissed12"),on("sixpointstar","6pointstar"),on("twelvepointstar","12pointstar"),on("toggleon","toggleleft"),on("toggleoff","toggleright")}fn("@fluentui/font-icons-mdl2","8.1.14");function BS(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}}var FS,AS,V=(l(zS,AS=mt.Component),zS.prototype.render=function(){var e=this.props,t=e.content,o=e.styles,n=e.theme,r=e.disabled,e=e.visible,e=Fn()(o,{theme:n,disabled:r,visible:e});return mt.createElement("div",{className:e.container},mt.createElement("span",{className:e.root},t))},zS),LS=In(V,function(e){var t=e.theme,o=e.disabled,n=e.visible;return{container:[{backgroundColor:t.palette.neutralDark},o&&{opacity:.5,selectors:((e={})[Yt]={color:"GrayText",opacity:1},e)},!n&&{visibility:"hidden"}],root:[t.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:t.palette.neutralDark,color:t.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},o&&{color:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"KeytipContent"}),HS=(l(OS,FS=mt.Component),OS.prototype.render=function(){var t,e=this.props,o=e.keySequences,n=e.offset,r=e.overflowSetSequence,e=this.props.calloutProps,o=Oc(r?Hc(o,r):o);return(e=n?pt(pt({},e),{coverTarget:!0,directionalHint:Ea.topLeftEdge}):e)&&void 0!==e.directionalHint||(e=pt(pt({},e),{directionalHint:Ea.bottomCenter})),mt.createElement(nc,pt({},e,{isBeakVisible:!1,doNotLayer:!0,minPagePadding:0,styles:n?(t=n,function(e){return pn({container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]},{root:[{marginLeft:t.left||t.x,marginTop:t.top||t.y}]})}):BS,preventDismissOnScroll:!0,target:o}),mt.createElement(LS,pt({},this.props)))},OS);function OS(){return null!==FS&&FS.apply(this,arguments)||this}function zS(){return null!==AS&&AS.apply(this,arguments)||this}function WS(e){var e=Vc(e),n=e.keytipId,r=e.ariaDescribedBy;return mt.useCallback(function(e){var t,o;e&&(t=KS(e,Dc)||e,o=KS(e,Tc)||t,e=KS(e,Ec)||o,VS(t,Dc,n),VS(o,Tc,n),VS(e,"aria-describedby",r,!0))},[n,r])}function VS(e,t,o,n){var r;void 0===n&&(n=!1),e&&o&&(r=o,!n||(n=e.getAttribute(t))&&-1===n.indexOf(o)&&(r=n+" "+o),e.setAttribute(t,r))}function KS(e,t){return e.querySelector("["+t+"]")}function GS(e){return{root:[{zIndex:mo.KeytipLayer}]}}var US=(jS.prototype.addNode=function(e,t,o){var n=this._getFullSequence(e),r=Lc(n);n.pop();n=this._getParentID(n),o=this._createNode(r,n,[],e,o);this.nodeMap[t]=o,this.getNodes([n]).forEach(function(e){return e.children.push(r)})},jS.prototype.updateNode=function(e,t){var o=this._getFullSequence(e),n=Lc(o);o.pop();var o=this._getParentID(o),r=this.nodeMap[t],t=r.parent;r&&(t!==o&&this._removeChildFromParents(t,r.id),r.id!==n&&this.getNodes([o]).forEach(function(e){var t=e.children.indexOf(r.id);0<=t?e.children[t]=n:e.children.push(n)}),r.id=n,r.keySequences=e.keySequences,r.overflowSetSequence=e.overflowSetSequence,r.onExecute=e.onExecute,r.onReturn=e.onReturn,r.hasDynamicChildren=e.hasDynamicChildren,r.hasMenu=e.hasMenu,r.parent=o,r.disabled=e.disabled)},jS.prototype.removeNode=function(e,t){var o=this._getFullSequence(e),e=Lc(o);o.pop(),this._removeChildFromParents(this._getParentID(o),e),this.nodeMap[t]&&delete this.nodeMap[t]},jS.prototype.getExactMatchedNode=function(t,e){var o=this;return Oi(this.getNodes(e.children),function(e){return o._getNodeSequence(e)===t&&!e.disabled})},jS.prototype.getPartiallyMatchedNodes=function(t,e){var o=this;return this.getNodes(e.children).filter(function(e){return 0===o._getNodeSequence(e).indexOf(t)&&!e.disabled})},jS.prototype.getChildren=function(e){var o=this;if(!e&&!(e=this.currentKeytip))return[];var n=e.children;return Object.keys(this.nodeMap).reduce(function(e,t){return 0<=n.indexOf(o.nodeMap[t].id)&&!o.nodeMap[t].persisted&&e.push(o.nodeMap[t].id),e},[])},jS.prototype.getNodes=function(o){var n=this;return Object.keys(this.nodeMap).reduce(function(e,t){return 0<=o.indexOf(n.nodeMap[t].id)&&e.push(n.nodeMap[t]),e},[])},jS.prototype.getNode=function(t){return Oi(ma(this.nodeMap),function(e){return e.id===t})},jS.prototype.isCurrentKeytipParent=function(e){if(this.currentKeytip){var t=$e(e.keySequences);(t=e.overflowSetSequence?Hc(t,e.overflowSetSequence):t).pop();e=0===t.length?this.root.id:Lc(t),t=!1;return(t=this.currentKeytip.overflowSetSequence?Lc(this.currentKeytip.keySequences)===e:t)||this.currentKeytip.id===e}return!1},jS.prototype._getParentID=function(e){return 0===e.length?this.root.id:Lc(e)},jS.prototype._getFullSequence=function(e){var t=$e(e.keySequences);return t=e.overflowSetSequence?Hc(t,e.overflowSetSequence):t},jS.prototype._getNodeSequence=function(e){var t=$e(e.keySequences);return(t=e.overflowSetSequence?Hc(t,e.overflowSetSequence):t)[t.length-1]},jS.prototype._createNode=function(o,e,t,n,r){var i=this,s=n.keySequences,a=n.hasDynamicChildren,l=n.overflowSetSequence,c=n.hasMenu,u=n.onExecute,d=n.onReturn,n=n.disabled,r={id:o,keySequences:s,overflowSetSequence:l,parent:e,children:t,onExecute:u,onReturn:d,hasDynamicChildren:a,hasMenu:c,disabled:n,persisted:r};return r.children=Object.keys(this.nodeMap).reduce(function(e,t){return i.nodeMap[t].parent===o&&e.push(i.nodeMap[t].id),e},[]),r},jS.prototype._removeChildFromParents=function(e,o){this.getNodes([e]).forEach(function(e){var t=e.children.indexOf(o);0<=t&&e.children.splice(t,1)})},jS);function jS(){this.nodeMap={},this.root={id:Pc,children:[],parent:"",keySequences:[]},this.nodeMap[this.root.id]=this.root}function qS(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;for(var o=o.sort(),n=n.sort(),r=0;r<o.length;r++)if(o[r]!==n[r])return!1}return!0}function YS(e,t){return!!Oi(e,function(e){return qS(e,t)})}var ZS,Y={key:Pa()?"Control":"Meta",modifierKeys:[Tn.alt]},ke=Y,n={key:"Escape"},XS=Fn(),QS=(l($S,ZS=mt.Component),$S.prototype.render=function(){var o=this,e=this.props,t=e.content,n=e.styles,r=this.state,e=r.keytips,r=r.visibleKeytips;return this._classNames=XS(n,{}),mt.createElement(oc,{styles:GS},mt.createElement("span",{id:Pc,className:this._classNames.innerContent},""+t+Rc),e&&e.map(function(e,t){return mt.createElement("span",{key:t,id:Lc(e.keySequences),className:o._classNames.innerContent},e.keySequences.join(Rc))}),r&&r.map(function(e){return mt.createElement(HS,pt({key:Lc(e.keySequences)},e))}))},$S.prototype.componentDidMount=function(){this._events.on(window,"mouseup",this._onDismiss,!0),this._events.on(window,"pointerup",this._onDismiss,!0),this._events.on(window,"resize",this._onDismiss),this._events.on(window,"keydown",this._onKeyDown,!0),this._events.on(window,"keypress",this._onKeyPress,!0),this._events.on(window,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,dc.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,dc.EXIT_KEYTIP_MODE,this._exitKeytipMode)},$S.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},$S.prototype.getCurrentSequence=function(){return this._currentSequence},$S.prototype.getKeytipTree=function(){return this._keytipTree},$S.prototype.processTransitionInput=function(e,t){var o=this._keytipTree.currentKeytip;YS(this.props.keytipExitSequences,e)&&o?(this._keyHandled=!0,this._exitKeytipMode(t)):YS(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())):YS(this.props.keytipStartSequences,e)&&!o&&(this._keyHandled=!0,this._enterKeytipMode(e),this._warnIfDuplicateKeytips())},$S.prototype.processInput=function(e,t){var o=this._currentSequence+e,n=this._keytipTree.currentKeytip;if(n){e=this._keytipTree.getExactMatchedNode(o,n);if(e){this._keytipTree.currentKeytip=n=e;e=this._keytipTree.getChildren();return n.onExecute&&(n.onExecute(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),n=this._keytipTree.currentKeytip),0!==e.length||n.hasDynamicChildren||n.hasMenu?(this.showKeytips(e),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}n=this._keytipTree.getPartiallyMatchedNodes(o,n);0<n.length&&(n=n.filter(function(e){return!e.persisted}).map(function(e){return e.id}),this.showKeytips(n),this._currentSequence=o)}},$S.prototype.showKeytips=function(e){for(var t=0,o=this._keytipManager.getKeytips();t<o.length;t++){var n=o[t],r=Lc(n.keySequences);n.overflowSetSequence&&(r=Lc(Hc(n.keySequences,n.overflowSetSequence))),0<=e.indexOf(r)?n.visible=!0:n.visible=!1}this._setKeytips()},$S.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))},$S.prototype._buildTree=function(){this._keytipTree=new US;for(var e=0,t=Object.keys(this._keytipManager.keytips);e<t.length;e++){var o=t[e],n=this._keytipManager.keytips[o];this._keytipTree.addNode(n.keytip,n.uniqueID)}for(var r=0,i=Object.keys(this._keytipManager.persistedKeytips);r<i.length;r++)o=i[r],n=this._keytipManager.persistedKeytips[o],this._keytipTree.addNode(n.keytip,n.uniqueID)},$S.prototype._exitKeytipMode=function(e){this._keytipTree.currentKeytip=void 0,this._currentSequence="",this.showKeytips([]),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedKeytipQueue=[],this._setInKeytipMode(!1),this.props.onExitKeytipMode&&this.props.onExitKeytipMode(e)},$S.prototype._setKeytips=function(e){void 0===e&&(e=this._keytipManager.getKeytips()),this.setState({keytips:e,visibleKeytips:this._getVisibleKeytips(e)})},$S.prototype._persistedKeytipExecute=function(e,t){this._newCurrentKeytipSequences=t;e=this._keytipTree.getNode(Lc(e));e&&e.onExecute&&e.onExecute(this._getKtpExecuteTarget(e),this._getKtpTarget(e))},$S.prototype._getVisibleKeytips=function(e){var o={};return e.filter(function(e){var t=Lc(e.keySequences);return e.overflowSetSequence&&(t=Lc(Hc(e.keySequences,e.overflowSetSequence))),o[t]=o[t]?o[t]+1:1,e.visible&&1===o[t]})},$S.prototype._getModifierKey=function(e,t){var o=[];return t.altKey&&"Alt"!==e&&o.push(Tn.alt),t.ctrlKey&&"Control"!==e&&o.push(Tn.ctrl),t.shiftKey&&"Shift"!==e&&o.push(Tn.shift),t.metaKey&&"Meta"!==e&&o.push(Tn.leftWindow),o.length?o:void 0},$S.prototype._triggerKeytipImmediately=function(e){var t=$e(e.keySequences);e.overflowSetSequence&&(t=Hc(t,e.overflowSetSequence)),this._keytipTree.currentKeytip=this._keytipTree.getNode(Lc(t)),this._keytipTree.currentKeytip&&((t=this._keytipTree.getChildren()).length&&this.showKeytips(t),this._keytipTree.currentKeytip.onExecute&&this._keytipTree.currentKeytip.onExecute(this._getKtpExecuteTarget(this._keytipTree.currentKeytip),this._getKtpTarget(this._keytipTree.currentKeytip))),this._newCurrentKeytipSequences=void 0},$S.prototype._addKeytipToQueue=function(e){var t=this;this._delayedKeytipQueue.push(e),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout(function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])},300)},$S.prototype._removeKeytipFromQueue=function(e){var t=this,e=this._delayedKeytipQueue.indexOf(e);0<=e&&(this._delayedKeytipQueue.splice(e,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout(function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])},300))},$S.prototype._getKtpExecuteTarget=function(e){return gt().querySelector(zc(e.id))},$S.prototype._getKtpTarget=function(e){return gt().querySelector(Oc(e.keySequences))},$S.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!ji(e.keySequences,t.keySequences))},$S.defaultProps={keytipStartSequences:[Y],keytipExitSequences:[ke],keytipReturnSequences:[n],content:""},$S),JS=In(QS,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 $S(e,t){var n=ZS.call(this,e,t)||this;n._keytipManager=Fc.getInstance(),n._delayedKeytipQueue=[],n._keyHandled=!1,n._onDismiss=function(e){n.state.inKeytipMode&&n._exitKeytipMode(e)},n._onKeyDown=function(e){n._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":n.state.inKeytipMode&&(n._keyHandled=!0,n._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var o={key:t};o.modifierKeys=n._getModifierKey(t,e),n.processTransitionInput(o,e)}},n._onKeyPress=function(e){n.state.inKeytipMode&&!n._keyHandled&&(n.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},n._onKeytipAdded=function(e){var t,o=e.keytip,e=e.uniqueID;n._keytipTree.addNode(o,e),n._setKeytips(),n._keytipTree.isCurrentKeytipParent(o)&&(n._delayedKeytipQueue=n._delayedKeytipQueue.concat((null===(e=n._keytipTree.currentKeytip)||void 0===e?void 0:e.children)||[]),n._addKeytipToQueue(Lc(o.keySequences)),n._keytipTree.currentKeytip&&n._keytipTree.currentKeytip.hasDynamicChildren&&n._keytipTree.currentKeytip.children.indexOf(o.id)<0)&&(t=n._keytipTree.getNode(n._keytipTree.currentKeytip.id))&&(n._keytipTree.currentKeytip=t),n._persistedKeytipChecks(o)},n._onKeytipUpdated=function(e){var t=e.keytip,e=e.uniqueID;n._keytipTree.updateNode(t,e),n._setKeytips(),n._keytipTree.isCurrentKeytipParent(t)&&(n._delayedKeytipQueue=n._delayedKeytipQueue.concat((null===(e=n._keytipTree.currentKeytip)||void 0===e?void 0:e.children)||[]),n._addKeytipToQueue(Lc(t.keySequences))),n._persistedKeytipChecks(t)},n._persistedKeytipChecks=function(e){var t;n._newCurrentKeytipSequences&&ji(e.keySequences,n._newCurrentKeytipSequences)&&n._triggerKeytipImmediately(e),n._isCurrentKeytipAnAlias(e)&&(t=e.keySequences,e.overflowSetSequence&&(t=Hc(t,e.overflowSetSequence)),n._keytipTree.currentKeytip=n._keytipTree.getNode(Lc(t)))},n._onKeytipRemoved=function(e){var t=e.keytip,e=e.uniqueID;n._removeKeytipFromQueue(Lc(t.keySequences)),n._keytipTree.removeNode(t,e),n._setKeytips()},n._onPersistedKeytipAdded=function(e){var t=e.keytip,e=e.uniqueID;n._keytipTree.addNode(t,e,!0)},n._onPersistedKeytipRemoved=function(e){var t=e.keytip,e=e.uniqueID;n._keytipTree.removeNode(t,e)},n._onPersistedKeytipExecute=function(e){n._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},n._setInKeytipMode=function(e){n.setState({inKeytipMode:e}),n._keytipManager.inKeytipMode=e},n._warnIfDuplicateKeytips=function(){var e=n._getDuplicateIds(n._keytipTree.getChildren());e.length&&Xo("Duplicate keytips found for "+e.join(", "))},n._getDuplicateIds=function(e){var t={};return e.filter(function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]})},fi(n),n._events=new fa(n),n._async=new Si(n);t=n._keytipManager.getKeytips();return n.state={inKeytipMode:!1,keytips:t,visibleKeytips:n._getVisibleKeytips(t)},n._buildTree(),n._currentSequence="",n._events.on(n._keytipManager,dc.KEYTIP_ADDED,n._onKeytipAdded),n._events.on(n._keytipManager,dc.KEYTIP_UPDATED,n._onKeytipUpdated),n._events.on(n._keytipManager,dc.KEYTIP_REMOVED,n._onKeytipRemoved),n._events.on(n._keytipManager,dc.PERSISTED_KEYTIP_ADDED,n._onPersistedKeytipAdded),n._events.on(n._keytipManager,dc.PERSISTED_KEYTIP_REMOVED,n._onPersistedKeytipRemoved),n._events.on(n._keytipManager,dc.PERSISTED_KEYTIP_EXECUTE,n._onPersistedKeytipExecute),n}function ex(e){for(var t={},o=0,n=e.keytips;o<n.length;o++)tx(t,[],n[o]);return t}function tx(e,t,o){var n=o.sequence||o.content.toLocaleLowerCase(),r=t.concat(n),n=pt(pt({},o.optionalProps),{keySequences:r,content:o.content});if(e[o.id]=n,o.children)for(var i=0,s=o.children;i<s.length;i++)tx(e,r,s[i])}fn("@fluentui/react","8.36.4");var ox=function(e){var t=e.id,o=e.className;return mt.useEffect(function(){Xl(t)},[]),nx(function(){Xl(t)}),mt.createElement("div",pt({},e,{className:Er("ms-LayerHost",o)}))},nx=function(e){var t=mt.useRef(e);t.current=e,mt.useEffect(function(){return function(){t.current&&t.current()}},[])},rx=(ix.prototype.dispose=function(){this._events.dispose(),this._stopScroll()},ix.prototype._onMouseMove=function(e){this._computeScrollVelocity(e)},ix.prototype._onTouchMove=function(e){0<e.touches.length&&this._computeScrollVelocity(e)},ix.prototype._computeScrollVelocity=function(e){var t,o,n,r,i,s,a,l;this._scrollRect&&(o="clientX"in e?(t=e.clientX,e.clientY):(t=e.touches[0].clientX,e.touches[0].clientY),s=this._scrollRect.top,a=this._scrollRect.left,l=s+this._scrollRect.height-100,e=a+this._scrollRect.width-100,o<s+100||l<o?(r=o,n=s,i=l,this._isVerticalScroll=!0):(r=t,n=a,i=e,this._isVerticalScroll=!1),this._scrollVelocity=r<n+100?Math.max(-15,(100-(r-n))/100*-15):i<r?Math.min(15,(r-i)/100*15):0,this._scrollVelocity?this._startScroll():this._stopScroll())},ix.prototype._startScroll=function(){this._timeoutId||this._incrementScroll()},ix.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)},ix.prototype._stopScroll=function(){this._timeoutId&&(clearTimeout(this._timeoutId),delete this._timeoutId)},ix);function ix(e){this._events=new fa(this),this._scrollableParent=Ms(e),this._incrementScroll=this._incrementScroll.bind(this),this._scrollRect=Yb(this._scrollableParent),this._scrollableParent===window&&(this._scrollableParent=document.body),this._scrollableParent&&(this._events.on(window,"mousemove",this._onMouseMove,!0),this._events.on(window,"touchmove",this._onTouchMove,!0))}function sx(e,t){var o=e.left||e.x||0,n=e.top||e.y||0,e=t.left||t.x||0,t=t.top||t.y||0;return Math.sqrt(Math.pow(o-e,2)+Math.pow(n-t,2))}function ax(e){var t=e.contentSize,o=e.boundsSize,n=e.mode,r=e.maxScale,i=t.width/t.height,e=o.width/o.height,o=("contain"===(void 0===n?"contain":n)?e<i:i<e)?o.width/t.width:o.height/t.height,o=Math.min(void 0===r?1:r,o);return{width:t.width*o,height:t.height*o}}function lx(e){e=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return e?e[1]?-e[1].length:e[2]?e[2].length:0:0}function cx(e,t,o){void 0===o&&(o=10);t=Math.pow(o,t);return Math.round(e*t)/t}var ux,dx,px=Fn(),hx=In((l(mx,dx=mt.Component),mx.prototype.componentDidMount=function(){this._scrollableParent=Ms(this._root.current),this._scrollableSurface=this._scrollableParent===window?document.body:this._scrollableParent;var e=this.props.isDraggingConstrainedToRoot?this._root.current:this._scrollableSurface;this._events.on(e,"mousedown",this._onMouseDown),this._events.on(e,"touchstart",this._onTouchStart,!0),this._events.on(e,"pointerdown",this._onPointerDown,!0)},mx.prototype.componentWillUnmount=function(){this._autoScroll&&this._autoScroll.dispose(),delete this._scrollableParent,delete this._scrollableSurface,this._events.dispose(),this._async.dispose()},mx.prototype.render=function(){var e=this.props,t=e.rootProps,o=e.children,n=e.theme,r=e.className,i=e.styles,e=this.state.dragRect,r=px(i,{theme:n,className:r});return mt.createElement("div",pt({},t,{className:r.root,ref:this._root}),o,e&&mt.createElement("div",{className:r.dragMask}),e&&mt.createElement("div",{className:r.box,style:e},mt.createElement("div",{className:r.boxFill})))},mx.prototype._isMouseEventOnScrollbar=function(e){var t=e.target,o=t.offsetWidth-t.clientWidth,n=t.offsetHeight-t.clientHeight;if(o||n){n=t.getBoundingClientRect();if(Pn(this.props.theme)){if(e.clientX<n.left+o)return!0}else if(e.clientX>n.left+t.clientWidth)return!0;if(e.clientY>n.top+t.clientHeight)return!0}return!1},mx.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}},mx.prototype._onAsyncMouseMove=function(e){var t=this;this._async.requestAnimationFrame(function(){t._onMouseMove(e)}),e.stopPropagation(),e.preventDefault()},mx.prototype._onMouseMove=function(e){if(this._autoScroll){void 0!==e.clientX&&(this._lastMouseEvent=e);var t,o=this._getRootRect(),n={left:e.clientX-o.left,top:e.clientY-o.top};return this._dragOrigin||(this._dragOrigin=n),void 0!==e.buttons&&0===e.buttons?this._onMouseUp(e):(this.state.dragRect||5<sx(this._dragOrigin,n))&&(this.state.dragRect||(t=this.props.selection,e.shiftKey||t.setAllSelected(!1),this._preservedIndicies=t&&t.getSelectedIndices&&t.getSelectedIndices()),t=this.props.isDraggingConstrainedToRoot?{left:Math.max(0,Math.min(o.width,this._lastMouseEvent.clientX-o.left)),top:Math.max(0,Math.min(o.height,this._lastMouseEvent.clientY-o.top))}:{left:this._lastMouseEvent.clientX-o.left,top:this._lastMouseEvent.clientY-o.top},t={left:Math.min(this._dragOrigin.left||0,t.left),top:Math.min(this._dragOrigin.top||0,t.top),width:Math.abs(t.left-(this._dragOrigin.left||0)),height:Math.abs(t.top-(this._dragOrigin.top||0))},this._evaluateSelection(t,o),this.setState({dragRect:t})),!1}},mx.prototype._onMouseUp=function(e){this._events.off(window),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())},mx.prototype._isPointInRectangle=function(e,t){return!!t.top&&e.top<t.top&&e.bottom>t.top&&!!t.left&&e.left<t.left&&e.right>t.left},mx.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;n<o.length;n++){var r=o[n],i=Number(r.getAttribute("data-selection-index"));if(t.isIndexSelected(i)){r=r.getBoundingClientRect();if(this._isPointInRectangle(r,{left:e.clientX,top:e.clientY}))return!0}}return!1},mx.prototype._isInSelectionToggle=function(e){for(var t=e.target;t&&t!==this._root.current;){if("true"===t.getAttribute("data-selection-toggle"))return!0;t=t.parentElement}return!1},mx.prototype._evaluateSelection=function(e,t){if(e&&this._root.current){var o=this.props.selection,n=this._root.current.querySelectorAll("[data-selection-index]");this._itemRectCache||(this._itemRectCache={});for(var r=0;r<n.length;r++){var i=n[r],s=i.getAttribute("data-selection-index"),a=this._itemRectCache[s];a||0<(a={left:(a=i.getBoundingClientRect()).left-t.left,top:a.top-t.top,width:a.width,height:a.height,right:a.left-t.left+a.width,bottom:a.top-t.top+a.height}).width&&0<a.height&&(this._itemRectCache[s]=a),a.top<e.top+e.height&&a.bottom>e.top&&a.left<e.left+e.width&&a.right>e.left?this._selectedIndicies[s]=!0:delete this._selectedIndicies[s]}var l=this._allSelectedIndices||{};for(s in this._allSelectedIndices={},this._selectedIndicies)this._selectedIndicies.hasOwnProperty(s)&&(this._allSelectedIndices[s]=!0);if(this._preservedIndicies)for(var c=0,u=this._preservedIndicies;c<u.length;c++)s=u[c],this._allSelectedIndices[s]=!0;var d=!1;for(s in this._allSelectedIndices)if(this._allSelectedIndices[s]!==l[s]){d=!0;break}if(!d)for(var s in l)if(this._allSelectedIndices[s]!==l[s]){d=!0;break}if(d){o.setChangeEvents(!1),o.setAllSelected(!1);for(var p=0,h=Object.keys(this._allSelectedIndices);p<h.length;p++)s=h[p],o.setIndexSelected(Number(s),!0,!1);o.setChangeEvents(!0)}}},mx.defaultProps={rootTagName:"div",rootProps:{},isEnabled:!0},mx),function(e){var t=e.theme,e=e.className,t=t.palette;return{root:[e,{position:"relative",cursor:"default"}],dragMask:[{position:"absolute",background:"rgba(255, 0, 0, 0)",left:0,top:0,right:0,bottom:0,selectors:((e={})[Yt]={background:"none",backgroundColor:"transparent"},e)}],box:[{position:"absolute",boxSizing:"border-box",border:"1px solid "+t.themePrimary,pointerEvents:"none",zIndex:10,selectors:((e={})[Yt]={borderColor:"Highlight"},e)}],boxFill:[{position:"absolute",boxSizing:"border-box",backgroundColor:t.themePrimary,opacity:.1,left:0,top:0,right:0,bottom:0,selectors:((t={})[Yt]={background:"none",backgroundColor:"transparent"},t)}]}},void 0,{scope:"MarqueeSelection"});function mx(e){var n=dx.call(this,e)||this;return n._root=mt.createRef(),n._onMouseDown=function(e){var t=n.props,o=t.isEnabled,t=t.onShouldStartSelection;n._isMouseEventOnScrollbar(e)||n._isInSelectionToggle(e)||n._isTouch||!o||n._isDragStartInSelection(e)||t&&!t(e)||n._scrollableSurface&&0===e.button&&n._root.current&&(n._selectedIndicies={},n._preservedIndicies=void 0,n._events.on(window,"mousemove",n._onAsyncMouseMove,!0),n._events.on(n._scrollableParent,"scroll",n._onAsyncMouseMove),n._events.on(window,"click",n._onMouseUp,!0),n._autoScroll=new rx(n._root.current),n._scrollTop=n._scrollableSurface.scrollTop,n._scrollLeft=n._scrollableSurface.scrollLeft,n._rootRect=n._root.current.getBoundingClientRect(),n._onMouseMove(e))},n._onTouchStart=function(e){n._isTouch=!0,n._async.setTimeout(function(){n._isTouch=!1},0)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._isTouch=!0,n._async.setTimeout(function(){n._isTouch=!1},0))},fi(n),n._async=new Si(n),n._events=new fa(n),n.state={dragRect:void 0},n}(r=ux=ux||{})[r.info=0]="info",r[r.error=1]="error",r[r.blocked=2]="blocked",r[r.severeWarning=3]="severeWarning",r[r.success=4]="success",r[r.warning=5]="warning";var gx=((K={})[ux.info]="Info",K[ux.warning]="Info",K[ux.error]="ErrorBadge",K[ux.blocked]="Blocked2",K[ux.severeWarning]="Warning",K[ux.success]="Completed",K),fx=Fn(),vx=mt.forwardRef(function(e,t){var o=_0(!1),n=o[0],r=o[1].toggle,i=tu("MessageBar"),s=e.actions,a=e.className,l=e.children,c=e.overflowButtonAriaLabel,u=e.dismissIconProps,d=e.styles,p=e.theme,h=e.messageBarType,m=void 0===h?ux.info:h,g=e.onDismiss,f=void 0===g?void 0:g,v=e.isMultiline,b=void 0===v||v,y=e.truncated,o=e.dismissButtonAriaLabel,h=e.messageBarIconProps,g=e.role,v=e.delayedRender,v=void 0===v||v,e=ur(e,Wn,["className","role"]),d=fx(d,{theme:p,messageBarType:m||ux.info,onDismiss:void 0!==f,actions:void 0!==s,truncated:y,isMultiline:b,expandSingleLine:n,className:a}),p={iconName:n?"DoubleChevronUp":"DoubleChevronDown"},a=s||f?{"aria-describedby":i,role:"region"}:{},s=s?mt.createElement("div",{className:d.actions},s):null,o=f?mt.createElement(Xu,{disabled:!1,className:d.dismissal,onClick:f,iconProps:u||{iconName:"Clear"},title:o,ariaLabel:o}):null;return mt.createElement("div",pt({ref:t,className:d.root},a),mt.createElement("div",{className:d.content},mt.createElement("div",{className:d.iconContainer,"aria-hidden":!0},h?mt.createElement(Wr,pt({},h,{className:Er(d.icon,h.className)})):mt.createElement(Wr,{iconName:gx[m],className:d.icon})),mt.createElement("div",{className:d.text,id:i,role:g||function(e){switch(e){case ux.blocked:case ux.error:case ux.severeWarning:return"alert"}return"status"}(m),"aria-live":function(e){switch(e){case ux.blocked:case ux.error:case ux.severeWarning:return"assertive"}return"polite"}(m)},mt.createElement("span",pt({className:d.innerText},e),v?mt.createElement(Ri,null,mt.createElement("span",null,l)):mt.createElement("span",null,l))),!b&&!s&&y&&mt.createElement("div",{className:d.expandSingleLine},mt.createElement(Xu,{disabled:!1,className:d.expand,onClick:r,iconProps:p,ariaLabel:c,"aria-expanded":n})),!b&&s,!b&&o&&mt.createElement("div",{className:d.dismissSingleLine},o),b&&o),b&&s)});vx.displayName="MessageBar";var bx,yx={root:"ms-MessageBar",error:"ms-MessageBar--error",blocked:"ms-MessageBar--blocked",severeWarning:"ms-MessageBar--severeWarning",success:"ms-MessageBar--success",warning:"ms-MessageBar--warning",multiline:"ms-MessageBar-multiline",singleline:"ms-MessageBar-singleline",dismissalSingleLine:"ms-MessageBar-dismissalSingleLine",expandingSingleLine:"ms-MessageBar-expandingSingleLine",content:"ms-MessageBar-content",iconContainer:"ms-MessageBar-icon",text:"ms-MessageBar-text",innerText:"ms-MessageBar-innerText",dismissSingleLine:"ms-MessageBar-dismissSingleLine",expandSingleLine:"ms-MessageBar-expandSingleLine",dismissal:"ms-MessageBar-dismissal",expand:"ms-MessageBar-expand",actions:"ms-MessageBar-actions",actionsSingleline:"ms-MessageBar-actionsSingleLine"},Cx=((t={})[ux.error]="errorBackground",t[ux.blocked]="errorBackground",t[ux.success]="successBackground",t[ux.warning]="warningBackground",t[ux.severeWarning]="severeWarningBackground",t[ux.info]="infoBackground",t),_x=((U={})[ux.error]="rgba(255, 0, 0, 0.3)",U[ux.blocked]="rgba(255, 0, 0, 0.3)",U[ux.success]="rgba(48, 241, 73, 0.3)",U[ux.warning]="rgba(255, 254, 57, 0.3)",U[ux.severeWarning]="rgba(255, 0, 0, 0.3)",U[ux.info]="Window",U),Sx=((xe={})[ux.error]="errorIcon",xe[ux.blocked]="errorIcon",xe[ux.success]="successIcon",xe[ux.warning]="warningIcon",xe[ux.severeWarning]="severeWarningIcon",xe[ux.info]="infoIcon",xe),xx=In(vx,function(e){var t=e.theme,o=e.className,n=e.onDismiss,r=e.truncated,i=e.isMultiline,s=e.expandSingleLine,a=e.messageBarType,l=void 0===a?ux.info:a,c=t.semanticColors,u=t.fonts,d=uo(0,ro),e=zo(yx,t),a={fontSize:Ae.xSmall,height:10,lineHeight:"10px",color:c.messageText,selectors:((a={})[Yt]=pt(pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText"}),a)},t=[bo(t,{inset:1,highContrastStyle:{outlineOffset:"-6px",outline:"1px solid Highlight"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":a,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[e.root,u.medium,l===ux.error&&e.error,l===ux.blocked&&e.blocked,l===ux.severeWarning&&e.severeWarning,l===ux.success&&e.success,l===ux.warning&&e.warning,i?e.multiline:e.singleline,!i&&n&&e.dismissalSingleLine,!i&&r&&e.expandingSingleLine,{background:c[Cx[l]],color:c.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:((a={".ms-Link":{color:c.messageLink,selectors:{":hover":{color:c.messageLinkHovered}}}})[Yt]=pt(pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{background:_x[l],border:"1px solid WindowText",color:"WindowText"}),a)},i&&{flexDirection:"column"},o],content:[e.content,{display:"flex",width:"100%",lineHeight:"normal"}],iconContainer:[e.iconContainer,{fontSize:Ae.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"}],icon:{color:c[Sx[l]],selectors:((l={})[Yt]=pt(pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText"}),l)},text:[e.text,pt(pt({minWidth:0,display:"flex",flexGrow:1,margin:8},u.small),{selectors:((u={})[Yt]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)}),!n&&{marginRight:12}],innerText:[e.innerText,{lineHeight:16,selectors:{"& span a:last-child":{paddingLeft:4}}},r&&{overflow:"visible",whiteSpace:"pre-wrap"},!i&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!i&&!r&&{selectors:((r={})[d]={overflow:"visible",whiteSpace:"pre-wrap"},r)},s&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:e.dismissSingleLine,expandSingleLine:e.expandSingleLine,dismissal:[e.dismissal,t],expand:[e.expand,t],actions:[i?e.actions:e.actionsSingleline,{display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",flexDirection:"row-reverse",alignItems:"center",margin:"0 12px 0 8px",selectors:{"& button:nth-child(n+2)":{marginLeft:8}}},i&&{marginBottom:8},n&&!i&&{marginRight:0}]}},void 0,{scope:"MessageBar"}),kx={root:"ms-Nav",linkText:"ms-Nav-linkText",compositeLink:"ms-Nav-compositeLink",link:"ms-Nav-link",chevronButton:"ms-Nav-chevronButton",chevronIcon:"ms-Nav-chevron",navItem:"ms-Nav-navItem",navItems:"ms-Nav-navItems",group:"ms-Nav-group",groupContent:"ms-Nav-groupContent"},wx={textContainer:{overflow:"hidden"},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}};function Ix(e){return!!e&&!/^[a-z0-9+-.]+:\/\//i.test(e)}var Dx,Tx,Ex=Fn(),Px=(l(Mx,Tx=mt.Component),Mx.prototype.render=function(){var e=this.props,t=e.styles,o=e.groups,n=e.className,r=e.isOnTop,i=e.theme;if(!o)return null;e=o.map(this._renderGroup),o=Ex(t,{theme:i,className:n,isOnTop:r,groups:o});return mt.createElement(Ys,{direction:Ti.vertical,componentRef:this._focusZone},mt.createElement("nav",{role:"navigation",className:o.root,"aria-label":this.props.ariaLabel},e))},Object.defineProperty(Mx.prototype,"selectedKey",{get:function(){return this.state.selectedKey},enumerable:!1,configurable:!0}),Mx.prototype.focus=function(e){return void 0===e&&(e=!1),!(!this._focusZone||!this._focusZone.current)&&this._focusZone.current.focus(e)},Mx.prototype._renderNavLink=function(e,t,o){var n=this.props,r=n.styles,i=n.groups,s=n.theme,a=e.icon||e.iconProps,l=this._isLinkSelected(e),n=e.ariaCurrent,n=void 0===n?"page":n,s=Ex(r,{theme:s,isSelected:l,isDisabled:e.disabled,isButtonEntry:e.onClick&&!e.forceAnchor,leftPadding:14*o+3+(a?0:24),groups:i}),o=e.url&&e.target&&!Ix(e.url)?"noopener noreferrer":void 0,a=this.props.linkAs?Of(this.props.linkAs,Yd):Yd,i=this.props.onRenderLink?Xh(this.props.onRenderLink,this._onRenderLink):this._onRenderLink;return mt.createElement(a,{className:s.link,styles:wx,href:e.url||(e.forceAnchor?"#":void 0),iconProps:e.iconProps||{iconName:e.icon},onClick:(e.onClick?this._onNavButtonLinkClicked:this._onNavAnchorLinkClicked).bind(this,e),title:void 0!==e.title?e.title:e.name,target:e.target,rel:o,disabled:e.disabled,"aria-current":l?n:void 0,"aria-label":e.ariaLabel||void 0,link:e},i(e))},Mx.prototype._renderCompositeLink=function(e,t,o){var n=pt({},ur(e,cr,["onClick"])),r=this.props,i=r.expandButtonAriaLabel,s=r.styles,a=r.groups,r=r.theme,r=Ex(s,{theme:r,isExpanded:!!e.isExpanded,isSelected:this._isLinkSelected(e),isLink:!0,isDisabled:e.disabled,position:14*o+1,groups:a}),a="";return e.links&&0<e.links.length&&(a=e.collapseAriaLabel||e.expandAriaLabel?e.isExpanded?e.collapseAriaLabel:e.expandAriaLabel:i?e.name+" "+i:e.name),mt.createElement("div",pt({},n,{key:e.key||t,className:r.compositeLink}),e.links&&0<e.links.length?mt.createElement("button",{className:r.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":a,"aria-expanded":e.isExpanded?"true":"false"},mt.createElement(Wr,{className:r.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,o))},Mx.prototype._renderLink=function(e,t,o){var n=this.props,r=n.styles,i=n.groups,n=n.theme,i=Ex(r,{theme:n,groups:i});return mt.createElement("li",{key:e.key||t,role:"listitem",className:i.navItem},this._renderCompositeLink(e,t,o),e.isExpanded?this._renderLinks(e.links,++o):null)},Mx.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,e=r.groups,r=r.theme,e=Ex(i,{theme:r,groups:e});return mt.createElement("ul",{role:"list",className:e.navItems},t)},Mx.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},Mx.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()},Mx.prototype._preventBounce=function(e,t){!e.url&&e.forceAnchor&&t.preventDefault()},Mx.prototype._onNavAnchorLinkClicked=function(e,t){this._preventBounce(e,t),this.props.onLinkClick&&this.props.onLinkClick(t,e),!e.url&&e.links&&0<e.links.length&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},Mx.prototype._onNavButtonLinkClicked=function(e,t){this._preventBounce(e,t),e.onClick&&e.onClick(t,e),!e.url&&e.links&&0<e.links.length&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},Mx.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===qe()||!e.url)return!1;(bx=bx||document.createElement("a")).href=e.url||"";var t=bx.href;return location.href===t||location.protocol+"//"+location.host+location.pathname===t||!!location.hash&&(location.hash===e.url||(bx.href=location.hash.substring(1),bx.href===t))},Mx.prototype._isGroupExpanded=function(e){return e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},Mx.prototype._toggleCollapsed=function(e){var t;e.name&&(t=pt(pt({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t)),this.setState({isGroupCollapsed:t}))},Mx.defaultProps={groups:null},Mx),Rx=In(Px,function(e){var t=e.className,o=e.theme,n=e.isOnTop,r=e.isExpanded,i=e.isGroup,s=e.isLink,a=e.isSelected,l=e.isDisabled,c=e.isButtonEntry,u=e.navHeight,d=void 0===u?44:u,p=e.position,h=e.leftPadding,m=void 0===h?20:h,g=e.leftPaddingExpanded,f=void 0===g?28:g,v=e.rightPadding,u=void 0===v?20:v,h=o.palette,g=o.semanticColors,e=o.fonts,v=zo(kx,o);return{root:[v.root,t,e.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},n&&[{position:"absolute"},Le.slideRightIn40]],linkText:[v.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[v.compositeLink,{display:"block",position:"relative",color:g.bodyText},r&&"is-expanded",a&&"is-selected",l&&"is-disabled",l&&{color:g.disabledText}],link:[v.link,bo(o),{display:"block",position:"relative",height:d,width:"100%",lineHeight:d+"px",textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:m,paddingRight:u,color:g.bodyText,selectors:((m={})[Yt]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},m)},!l&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:g.bodyBackgroundHovered}}},a&&{color:g.bodyTextChecked,fontWeight:Fe.semibold,backgroundColor:g.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid "+h.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},l&&{color:g.disabledText},c&&{color:h.themePrimary}],chevronButton:[v.chevronButton,bo(o),e.small,{display:"block",textAlign:"left",lineHeight:d+"px",margin:"5px 0",padding:"0px, "+u+"px, 0px, "+f+"px",border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:g.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:g.bodyText}}},i&&{fontSize:e.large.fontSize,width:"100%",height:d,borderBottom:"1px solid "+g.bodyDivider},s&&{display:"block",width:f-2,height:d-2,position:"absolute",top:"1px",left:p+"px",zIndex:mo.Nav,padding:0,margin:0},a&&{color:h.themePrimary,backgroundColor:h.neutralLighterAlt,selectors:{"&:after":{borderLeft:"2px solid "+h.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}}],chevronIcon:[v.chevronIcon,{position:"absolute",left:"8px",height:d,display:"inline-flex",alignItems:"center",lineHeight:d+"px",fontSize:e.small.fontSize,transition:"transform .1s linear"},r&&{transform:"rotate(-180deg)"},s&&{top:0}],navItem:[v.navItem,{padding:0}],navItems:[v.navItems,{listStyleType:"none",padding:0,margin:0}],group:[v.group,r&&"is-expanded"],groupContent:[v.groupContent,{display:"none",marginBottom:"40px"},Le.slideDownIn20,r&&{display:"block"}]}},void 0,{scope:"Nav"});function Mx(e){var a=Tx.call(this,e)||this;return a._focusZone=mt.createRef(),a._onRenderLink=function(e){var t=a.props,o=t.styles,n=t.groups,t=t.theme,n=Ex(o,{theme:t,groups:n});return mt.createElement("div",{className:n.linkText},e.name)},a._renderGroup=function(o,e){var t=a.props,n=t.styles,r=t.groups,i=t.theme,s=t.onRenderGroupHeader,t=void 0===s?a._renderGroupHeader:s,s=a._isGroupExpanded(o),r=Ex(n,{theme:i,isGroup:!0,isExpanded:s,groups:r}),s=pt(pt({},o),{isExpanded:s,onHeaderClick:function(e,t){a._onGroupHeaderClicked(o,e)}});return mt.createElement("div",{key:e,className:r.group},s.name?t(s,a._renderGroupHeader):null,mt.createElement("div",{className:r.groupContent},a._renderLinks(s.links,0)))},a._renderGroupHeader=function(e){var t=a.props,o=t.styles,n=t.groups,r=t.theme,t=t.expandButtonAriaLabel,i=e.isExpanded,n=Ex(o,{theme:r,isGroup:!0,isExpanded:i,groups:n}),t=(i?e.collapseAriaLabel:e.expandAriaLabel)||t,s=e.onHeaderClick;return mt.createElement("button",{className:n.chevronButton,onClick:s?function(e){s(e,i)}:void 0,"aria-label":t,"aria-expanded":i},mt.createElement(Wr,{className:n.chevronIcon,iconName:"ChevronDown"}),e.name)},fi(a),a.state={isGroupCollapsed:{},isLinkExpandStateChanged:!1,selectedKey:e.initialSelectedKey||e.selectedKey},a}(G=Dx=Dx||{})[G.none=0]="none",G[G.forceResolve=1]="forceResolve",G[G.searchMore=2]="searchMore";var Nx,Bx,Fx={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"},Ax=o,Lx=Fn(),Hx=In(d_,function(e){var t,o=e.className,n=e.theme,r=e.suggested,i=n.palette,s=n.semanticColors,a=zo(Fx,n);return{root:[a.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:s.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},r&&{selectors:((t={})["."+go+" &"]={selectors:((e={})["."+a.closeButton]={display:"block",background:s.menuItemBackgroundPressed},e)},t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid "+n.semanticColors.focusBorder},t)},o],itemButton:[a.itemButton,{width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:((o={})[Yt]={color:"WindowText",selectors:{":hover":pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},o[":hover"]={color:s.menuItemTextHovered},o)},r&&[a.isSuggested,{background:s.menuItemBackgroundPressed,selectors:((s={":hover":{background:s.menuDivider}})[Yt]=pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}]],closeButton:[a.closeButton,{display:"none",color:i.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:((a={":hover, :active":{background:i.neutralTertiaryAlt,color:i.neutralDark}})[Yt]={color:"WindowText"},a)},r&&((r={})["."+go+" &"]={selectors:{":hover, :active":{background:i.neutralTertiary}}},r.selectors={":hover, :active":{background:i.neutralTertiary,color:i.neutralPrimary}},r)]}},void 0,{scope:"SuggestionItem"}),Ox=(l(Kx,Bx=mt.Component),Kx.prototype.componentDidMount=function(){this.scrollSelected(),this.activeSelectedElement=this._selectedElement?this._selectedElement.current:null},Kx.prototype.componentDidUpdate=function(){this._selectedElement.current&&this.activeSelectedElement!==this._selectedElement.current&&(this.scrollSelected(),this.activeSelectedElement=this._selectedElement.current)},Kx.prototype.render=function(){var e=this,t=this.props,o=t.forceResolveText,n=t.mostRecentlyUsedHeaderText,r=t.searchForMoreIcon,i=t.searchForMoreText,s=t.className,a=t.moreSuggestionsAvailable,l=t.noResultsFoundText,c=t.suggestions,u=t.isLoading,d=t.isSearching,p=t.loadingText,h=t.onRenderNoResultFound,m=t.searchingText,g=t.isMostRecentlyUsedVisible,f=t.resultsMaximumNumber,v=t.resultsFooterFull,b=t.resultsFooter,y=t.isResultsFooterVisible,C=void 0===y||y,_=t.suggestionsHeaderText,S=t.suggestionsClassName,x=t.theme,y=t.styles,t=t.suggestionsListId;this._classNames=y?Lx(y,{theme:x,className:s,suggestionsClassName:S,forceResolveButtonSelected:this.state.selectedActionType===Dx.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===Dx.searchMore}):{root:Er("ms-Suggestions",s,Ax.root),title:Er("ms-Suggestions-title",Ax.suggestionsTitle),searchForMoreButton:Er("ms-SearchMore-button",Ax.actionButton,((s={})["is-selected "+Ax.buttonSelected]=this.state.selectedActionType===Dx.searchMore,s)),forceResolveButton:Er("ms-forceResolve-button",Ax.actionButton,((s={})["is-selected "+Ax.buttonSelected]=this.state.selectedActionType===Dx.forceResolve,s)),suggestionsAvailable:Er("ms-Suggestions-suggestionsAvailable",Ax.suggestionsAvailable),suggestionsContainer:Er("ms-Suggestions-container",Ax.suggestionsContainer,S),noSuggestions:Er("ms-Suggestions-none",Ax.suggestionsNone)};var S=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,S=y?{styles:S}:{className:Er("ms-Suggestions-spinner",Ax.suggestionsSpinner)},k=function(){return mt.createElement("div",{id:"sug-noResultsFound",role:"option"},h?h(void 0,k):mt.createElement("div",{className:e._classNames.noSuggestions},l))},_=_;g&&n&&(_=n);n=void 0;C&&(n=c.length>=f?v:b);v=!(c&&c.length||u),b=this.state.selectedActionType===Dx.forceResolve?"sug-selectedAction":void 0,c=this.state.selectedActionType===Dx.searchMore?"sug-selectedAction":void 0;return mt.createElement("div",pt({className:this._classNames.root},v||u?{role:"listbox",id:t}:{}),mt.createElement(Bi,{message:this._getAlertText(),"aria-live":"polite"}),_?mt.createElement("div",{className:this._classNames.title},_):null,o&&this._shouldShowForceResolve()&&mt.createElement(tp,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,id:b,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},o),u&&mt.createElement(Tb,pt({},S,{label:p})),v?k():this._renderSuggestions(),i&&a&&mt.createElement(tp,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:r||{iconName:"Search"},id:c,onClick:this._getMoreResults,"data-automationid":"sug-searchForMore"},i),d?mt.createElement(Tb,pt({},S,{label:m})):null,!n||a||g||d?null:mt.createElement("div",{className:this._classNames.title},n(this.props)))},Kx.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},Kx.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==Dx.none},Kx.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case Dx.forceResolve:this._forceResolve();break;case Dx.searchMore:this._getMoreResults()}},Kx.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:Dx.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:Dx.searchMore})},Kx.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:Dx.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:Dx.forceResolve})},Kx.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},Kx.prototype.scrollSelected=function(){var e,t,o,n,r;this._selectedElement.current&&this._scrollContainer.current&&void 0!==this._scrollContainer.current.scrollTo&&(e=(n=this._selectedElement.current).offsetHeight,t=n.offsetTop,o=(r=this._scrollContainer.current).offsetHeight,r=(n=r.scrollTop)+o<t+e,t<n?this._scrollContainer.current.scrollTo(0,t):r&&this._scrollContainer.current.scrollTo(0,t-o+e))},Kx.prototype._renderSuggestions=function(){var o=this,e=this.props,t=e.isMostRecentlyUsedVisible,n=e.mostRecentlyUsedHeaderText,r=e.onRenderSuggestion,i=e.removeSuggestionAriaLabel,s=e.suggestionsItemClassName,a=e.resultsMaximumNumber,l=e.showRemoveButtons,c=e.suggestionsContainerAriaLabel,u=e.suggestionsHeaderText,d=e.suggestionsListId,p=e.removeButtonIconProps,e=this.props.suggestions,h=Hx,m=-1;if(e.some(function(e,t){return!!e.selected&&(m=t,!0)}),0===(e=a?a<=m?e.slice(m-a+1,m+1):e.slice(0,a):e).length)return null;u=t&&n?n:u;return mt.createElement("div",{className:this._classNames.suggestionsContainer,id:d,ref:this._scrollContainer,role:"listbox","aria-label":c||u},e.map(function(e,t){return mt.createElement("div",{ref:e.selected?o._selectedElement:void 0,key:e.item.key||t,role:"presentation"},mt.createElement(h,{suggestionModel:e,RenderSuggestion:r,onClick:o._onClickTypedSuggestionsItem(e.item,t),className:s,showRemoveButton:l,removeButtonAriaLabel:i,onRemoveItem:o._onRemoveTypedSuggestionsItem(e.item,t),id:"sug-"+t,removeButtonIconProps:p}))}))},Kx),zx=(Vx.prototype.updateSuggestions=function(e,t){e&&0<e.length?(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])):(this.suggestions=[],this.currentIndex=-1,this.currentSuggestion=void 0)},Vx.prototype.nextSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex<this.suggestions.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.currentIndex===this.suggestions.length-1)return this.setSelectedSuggestion(0),!0}return!1},Vx.prototype.previousSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(0<this.currentIndex)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(0===this.currentIndex)return this.setSelectedSuggestion(this.suggestions.length-1),!0}return!1},Vx.prototype.getSuggestions=function(){return this.suggestions},Vx.prototype.getCurrentItem=function(){return this.currentSuggestion},Vx.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},Vx.prototype.hasSelectedSuggestion=function(){return!!this.currentSuggestion},Vx.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},Vx.prototype.createGenericSuggestion=function(e){e=this.convertSuggestionsToSuggestionItems([e])[0];this.currentSuggestion=e},Vx.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},Vx.prototype.deselectAllSuggestions=function(){-1<this.currentIndex&&(this.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1)},Vx.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):(-1<this.currentIndex&&(this.suggestions[this.currentIndex].selected=!1),this.suggestions[e].selected=!0,this.currentIndex=e,this.currentSuggestion=this.suggestions[e])},Vx),Wx={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 Vx(){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.name||e.primaryText}},this.suggestions=[],this.currentIndex=-1}function Kx(e){var s=Bx.call(this,e)||this;return s._forceResolveButton=mt.createRef(),s._searchForMoreButton=mt.createRef(),s._selectedElement=mt.createRef(),s._scrollContainer=mt.createRef(),s.tryHandleKeyDown=function(e,t){var o=!1,n=null,r=s.state.selectedActionType,i=s.props.suggestions.length;if(e===Tn.down)switch(r){case Dx.forceResolve:n=0<i?(s._refocusOnSuggestions(e),Dx.none):s._searchForMoreButton.current?Dx.searchMore:Dx.forceResolve;break;case Dx.searchMore:n=s._forceResolveButton.current?Dx.forceResolve:0<i?(s._refocusOnSuggestions(e),Dx.none):Dx.searchMore;break;case Dx.none:-1===t&&s._forceResolveButton.current&&(n=Dx.forceResolve)}else if(e===Tn.up)switch(r){case Dx.forceResolve:s._searchForMoreButton.current?n=Dx.searchMore:0<i&&(s._refocusOnSuggestions(e),n=Dx.none);break;case Dx.searchMore:0<i?(s._refocusOnSuggestions(e),n=Dx.none):s._forceResolveButton.current&&(n=Dx.forceResolve);break;case Dx.none:-1===t&&s._searchForMoreButton.current&&(n=Dx.searchMore)}return null!==n&&(s.setState({selectedActionType:n}),o=!0),o},s._getAlertText=function(){var e=s.props,t=e.isLoading,o=e.isSearching,n=e.suggestions,r=e.suggestionsAvailableAlertText,e=e.noResultsFoundText;if(!t&&!o){if(0<n.length)return r||"";if(e)return e}return""},s._getMoreResults=function(){s.props.onGetMoreResults&&s.props.onGetMoreResults()},s._forceResolve=function(){s.props.createGenericItem&&s.props.createGenericItem()},s._shouldShowForceResolve=function(){return!!s.props.showForceResolve&&s.props.showForceResolve()},s._onClickTypedSuggestionsItem=function(t,o){return function(e){s.props.onSuggestionClick(e,t,o)}},s._refocusOnSuggestions=function(e){"function"==typeof s.props.refocusSuggestions&&s.props.refocusSuggestions(e)},s._onRemoveTypedSuggestionsItem=function(t,o){return function(e){(0,s.props.onSuggestionRemove)(e,t,o),e.stopPropagation()}},fi(s),s.state={selectedActionType:Dx.none},s}function Gx(e){var t=e.className,o=e.suggestionsClassName,n=e.theme,r=e.forceResolveButtonSelected,i=e.searchForMoreButtonSelected,s=n.palette,a=n.semanticColors,l=n.fonts,c=zo(Wx,n),e={backgroundColor:"transparent",border:0,cursor:"pointer",margin:0,paddingLeft:8,position:"relative",borderTop:"1px solid "+s.neutralLight,height:40,textAlign:"left",width:"100%",fontSize:l.small.fontSize,selectors:{":hover":{backgroundColor:a.menuItemBackgroundPressed,cursor:"pointer"},":focus, :active":{backgroundColor:s.themeLight},".ms-Button-icon":{fontSize:l.mediumPlus.fontSize,width:25},".ms-Button-label":{margin:"0 4px 0 9px"}}},n={backgroundColor:s.themeLight,selectors:((n={})[Yt]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)};return{root:[c.root,{minWidth:260},t],suggestionsContainer:[c.suggestionsContainer,{overflowY:"auto",overflowX:"hidden",maxHeight:300,transform:"translate3d(0,0,0)"},o],title:[c.title,{padding:"0 12px",fontSize:l.small.fontSize,color:s.themePrimary,lineHeight:40,borderBottom:"1px solid "+a.menuItemBackgroundPressed}],forceResolveButton:[c.forceResolveButton,e,r&&[c.isSelected,n]],searchForMoreButton:[c.searchForMoreButton,e,i&&[c.isSelected,n]],noSuggestions:[c.noSuggestions,{textAlign:"center",color:s.neutralSecondary,fontSize:l.small.fontSize,lineHeight:30}],suggestionsAvailable:[c.suggestionsAvailable,So],subComponentStyles:{spinner:{root:[c.spinner,{margin:"5px 0",paddingLeft:14,textAlign:"left",whiteSpace:"nowrap",lineHeight:20,fontSize:l.small.fontSize}],circle:{display:"inline-block",verticalAlign:"middle"},label:{display:"inline-block",verticalAlign:"middle",margin:"0 10px 0 16px"}}}}}(V=Nx=Nx||{})[V.valid=0]="valid",V[V.warning=1]="warning",V[V.invalid=2]="invalid",Dt([{rawString:".pickerText_15a92175{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_15a92175:hover{border-color:"},{theme:"inputBorderHovered",defaultValue:"#323130"},{rawString:"}.pickerText_15a92175.inputFocused_15a92175{position:relative;border-color:"},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:"}.pickerText_15a92175.inputFocused_15a92175: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){.pickerText_15a92175.inputDisabled_15a92175{position:relative;border-color:GrayText}.pickerText_15a92175.inputDisabled_15a92175:after{pointer-events:none;content:'';position:absolute;left:0;top:0;bottom:0;right:0;background-color:Window}}.pickerInput_15a92175{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_15a92175{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.screenReaderOnly_15a92175{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var Ux,jx,qx="pickerText_15a92175",Yx="inputFocused_15a92175",Zx="inputDisabled_15a92175",Xx="pickerInput_15a92175",Qx="pickerItems_15a92175",Jx="screenReaderOnly_15a92175",$x=i,ek=Fn(),tk=(l(hk,jx=mt.Component),hk.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(hk.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),hk.prototype.componentDidMount=function(){this.selection.setItems(this.state.items),this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},hk.prototype.componentDidUpdate=function(e,t){var o;this.state.items&&this.state.items!==t.items&&(o=this.selection.getSelectedIndices()[0],this.selection.setItems(this.state.items),this.state.isFocused&&(this.state.items.length<t.items.length?(this.selection.setIndexSelected(o,!1,!0),this.resetFocus(o)):this.state.items.length>t.items.length&&!this.canAddItems()&&this.resetFocus(this.state.items.length-1)))},hk.prototype.componentWillUnmount=function(){this.currentPromise&&(this.currentPromise=void 0),this._async.dispose()},hk.prototype.focus=function(){this.input.current&&this.input.current.focus()},hk.prototype.focusInput=function(){this.input.current&&this.input.current.focus()},hk.prototype.completeSuggestion=function(e){this.suggestionStore.hasSelectedSuggestion()&&this.input.current?this.completeSelection(this.suggestionStore.currentSuggestion.item):e&&this._completeGenericSuggestion()},hk.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,o=e.isFocused,n=e.items,r=this.props,i=r.className,s=r.inputProps,a=r.disabled,l=r.selectionAriaLabel,c=r.selectionRole,u=void 0===c?"list":c,e=r.theme,c=r.styles,r=this.state.suggestionsVisible?this._ariaMap.suggestionList:"",o=c?ek(c,{theme:e,className:i,isFocused:o,disabled:a,inputClassName:s&&s.className}):{root:Er("ms-BasePicker",i||""),text:Er("ms-BasePicker-text",$x.pickerText,this.state.isFocused&&$x.inputFocused),itemsWrapper:$x.pickerItems,input:Er("ms-BasePicker-input",$x.pickerInput,s&&s.className),screenReaderText:$x.screenReaderOnly},i=this.props["aria-label"]||(null==s?void 0:s["aria-label"]);return mt.createElement("div",{ref:this.root,className:o.root,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur},this.renderCustomAlert(o.screenReaderText),mt.createElement("span",{id:this._ariaMap.selectedItems+"-label",hidden:!0},l||i),mt.createElement(xv,{selection:this.selection,selectionMode:rv.multiple},mt.createElement("div",{className:o.text,"aria-owns":r},0<n.length&&mt.createElement("span",{id:this._ariaMap.selectedItems,className:o.itemsWrapper,role:u,"aria-labelledby":this._ariaMap.selectedItems+"-label"},this.renderItems()),this.canAddItems()&&mt.createElement(ki,pt({spellCheck:!1},s,{className:o.input,componentRef:this.input,id:null!=s&&s.id?s.id:this._ariaMap.combobox,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":this.getActiveDescendant(),"aria-controls":r,"aria-describedby":0<n.length?this._ariaMap.selectedItems:void 0,"aria-expanded":!!this.state.suggestionsVisible,"aria-haspopup":"listbox","aria-label":i,role:"combobox",disabled:a,onInputChange:this.props.onInputChange})))),this.renderSuggestions())},hk.prototype.canAddItems=function(){var e=this.state.items,t=this.props.itemLimit;return void 0===t||e.length<t},hk.prototype.renderSuggestions=function(){var e=this._styledSuggestions;return this.state.suggestionsVisible&&this.input?mt.createElement(nc,pt({isBeakVisible:!1,gapSpace:5,target:this.input.current?this.input.current.inputElement:void 0,onDismiss:this.dismissSuggestions,directionalHint:Ea.bottomLeftEdge,directionalHintForRTL:Ea.bottomRightEdge},this.props.pickerCalloutProps),mt.createElement(e,pt({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionElement,onGetMoreResults:this.onGetMoreResults,moreSuggestionsAvailable:this.state.moreSuggestionsAvailable,isLoading:this.state.suggestionsLoading,isSearching:this.state.isSearching,isMostRecentlyUsedVisible:this.state.isMostRecentlyUsedVisible,isResultsFooterVisible:this.state.isResultsFooterVisible,refocusSuggestions:this.refocusSuggestions,removeSuggestionAriaLabel:this.props.removeButtonAriaLabel,suggestionsListId:this._ariaMap.suggestionList,createGenericItem:this._completeGenericSuggestion},this.props.pickerSuggestionsProps))):null},hk.prototype.renderItems=function(){var o=this,e=this.props,n=e.disabled,r=e.removeButtonAriaLabel,i=e.removeButtonIconProps,s=this.props.onRenderItem,t=this.state,e=t.items,a=t.selectedIndices;return e.map(function(e,t){return s({item:e,index:t,key:e.key||t,selected:-1!==a.indexOf(t),onRemoveItem:function(){return o.removeItem(e)},disabled:n,onItemChange:o.onItemChange,removeButtonAriaLabel:r,removeButtonIconProps:i})})},hk.prototype.resetFocus=function(e){var t=this.state.items;t.length&&0<=e?(e=this.root.current&&this.root.current.querySelectorAll("[data-selection-index]")[Math.min(e,t.length-1)])&&e.focus():this.canAddItems()?this.input.current&&this.input.current.focus():this.resetFocus(t.length-1)},hk.prototype.onSuggestionSelect=function(){var e;this.suggestionStore.currentSuggestion&&(e=this.input.current?this.input.current.value:"",e=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e),this.setState({suggestedDisplayValue:e}))},hk.prototype.onSelectionChange=function(){this.setState({selectedIndices:this.selection.getSelectedIndices()})},hk.prototype.updateSuggestions=function(e){this.suggestionStore.updateSuggestions(e,0),this.forceUpdate()},hk.prototype.onEmptyInputFocus=function(){var e=this.props.onEmptyResolveSuggestions||this.props.onEmptyInputFocus;e&&(e=e(this.state.items),this.updateSuggestionsList(e),this.setState({isMostRecentlyUsedVisible:!0,suggestionsVisible:!0,moreSuggestionsAvailable:!1}))},hk.prototype.updateValue=function(e){this._onResolveSuggestions(e)},hk.prototype.updateSuggestionsList=function(e,t){var o,n=this,r=e,e=e;Array.isArray(r)?this._updateAndResolveValue(t,r):e&&e.then&&(this.setState({suggestionsLoading:!0}),this.suggestionStore.updateSuggestions([]),void 0!==t?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===document.activeElement}),(o=this.currentPromise=e).then(function(e){o===n.currentPromise&&n._updateAndResolveValue(t,e)}))},hk.prototype.resolveNewValue=function(e,t){var o=this;this.updateSuggestions(t);t=void 0;this.suggestionStore.currentSuggestion&&(t=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:t,suggestionsVisible:this._getShowSuggestions()},function(){return o.setState({suggestionsLoading:!1})})},hk.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},hk.prototype.onBackspace=function(e){(this.state.items.length&&!this.input.current||this.input.current&&!this.input.current.isValueSelected&&0===this.input.current.cursorLocation)&&(0<this.selection.getSelectedCount()?this.removeItems(this.selection.getSelection()):this.removeItem(this.state.items[this.state.items.length-1]))},hk.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&&e.hasSuggestedAction()?"sug-selectedAction":0===this.suggestionStore.suggestions.length?"sug-noResultsFound":void 0:"sug-"+t}},hk.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=$x.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){t=-1<t?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,t=t?t.ariaLabel:void 0;return mt.createElement("div",{id:this._ariaMap.selectedSuggestionAlert,className:e},t+" ")}},hk.prototype.renderCustomAlert=function(e){void 0===e&&(e=$x.screenReaderOnly);var t=this.props.suggestionRemovedText,o="";return this.state.selectionRemoved&&(o=Kp(void 0===t?"removed {0}":t,this._getTextFromItem(this.state.selectionRemoved,""))),mt.createElement("div",{className:e,id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},this.getSuggestionsAlert(e),o)},hk.prototype._updateAndResolveValue=function(e,t){void 0!==e?this.resolveNewValue(e,t):(this.suggestionStore.updateSuggestions(t,-1),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1}))},hk.prototype._updateSelectedItems=function(e){var t=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},function(){t._onSelectedItemsUpdated(e)})},hk.prototype._onSelectedItemsUpdated=function(e){this.onChange(e)},hk.prototype._getShowSuggestions=function(){return void 0!==this.input.current&&null!==this.input.current&&this.input.current.inputElement===document.activeElement&&""!==this.input.current.value},hk.prototype._getTextFromItem=function(e,t){return this.props.getTextFromItem?this.props.getTextFromItem(e,t):""},hk),ok=(l(pk,Ux=tk),pk.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,o=e.isFocused,n=this.props,r=n.className,i=n.inputProps,s=n.disabled,a=n.selectionAriaLabel,l=n.selectionRole,c=void 0===l?"list":l,e=n.theme,l=n.styles,n=this.state.suggestionsVisible?this._ariaMap.suggestionList:"",o=l?ek(l,{theme:e,className:r,isFocused:o,inputClassName:i&&i.className}):{root:Er("ms-BasePicker",r||""),text:Er("ms-BasePicker-text",$x.pickerText,this.state.isFocused&&$x.inputFocused,s&&$x.inputDisabled),itemsWrapper:$x.pickerItems,input:Er("ms-BasePicker-input",$x.pickerInput,i&&i.className),screenReaderText:$x.screenReaderOnly},r=this.props["aria-label"]||(null==i?void 0:i["aria-label"]);return mt.createElement("div",{ref:this.root,onBlur:this.onBlur,onFocus:this.onFocus},mt.createElement("div",{className:o.root,onKeyDown:this.onKeyDown},this.renderCustomAlert(o.screenReaderText),mt.createElement("div",{className:o.text,"aria-owns":n||void 0},mt.createElement(ki,pt({},i,{className:o.input,componentRef:this.input,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onClick:this.onClick,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":this.getActiveDescendant(),"aria-controls":n||void 0,"aria-expanded":!!this.state.suggestionsVisible,"aria-haspopup":"listbox","aria-label":r,role:"combobox",id:null!=i&&i.id?i.id:this._ariaMap.combobox,disabled:s,onInputChange:this.props.onInputChange})))),this.renderSuggestions(),mt.createElement(xv,{selection:this.selection,selectionMode:rv.single},mt.createElement("div",{id:this._ariaMap.selectedItems,className:"ms-BasePicker-selectedItems",role:c,"aria-label":a||r},this.renderItems())))},pk.prototype.onBackspace=function(e){},pk),nk={root:"ms-PickerPersona-container",itemContent:"ms-PickerItem-content",removeButton:"ms-PickerItem-removeButton",isSelected:"is-selected",isInvalid:"is-invalid"},rk=Fn(),ik=function(e){var t=e.item,o=e.onRemoveItem,n=e.index,r=e.selected,i=e.removeButtonAriaLabel,s=e.styles,a=e.theme,l=e.className,c=e.disabled,u=e.removeButtonIconProps,e=Cs(),a=rk(s,{theme:a,className:l,selected:r,disabled:c,invalid:t.ValidationState===Nx.warning}),l=a.subComponentStyles?a.subComponentStyles.persona:void 0,r=a.subComponentStyles?a.subComponentStyles.personaCoin:void 0;return mt.createElement("div",{className:a.root,role:"listitem"},mt.createElement("div",{className:a.itemContent,id:"selectedItemPersona-"+e},mt.createElement(KC,pt({size:Pr.size24,styles:l,coinProps:{styles:r}},t))),mt.createElement(Xu,{id:e,onClick:o,disabled:c,iconProps:null!=u?u:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:a.removeButton,ariaLabel:i,"aria-labelledby":e+" selectedItemPersona-"+e,"data-selection-index":n}))},sk=In(ik,function(e){var t,o=e.className,n=e.theme,r=e.selected,i=e.invalid,s=e.disabled,a=n.palette,l=n.semanticColors,c=n.fonts,e=zo(nk,n),u=[r&&!i&&!s&&{color:a.white,selectors:((t={":hover":{color:a.white}})[Yt]={color:"HighlightText"},t)},(i&&!r||i&&r&&s)&&{color:a.redDark,borderBottom:"2px dotted "+a.redDark,selectors:((t={})["."+e.root+":hover &"]={color:a.redDark},t)},i&&r&&!s&&{color:a.white,borderBottom:"2px dotted "+a.white},s&&{selectors:((u={})[Yt]={color:"GrayText"},u)}],c=[i&&{fontSize:c.xLarge.fontSize}];return{root:[e.root,bo(n,{inset:-2}),{borderRadius:15,display:"inline-flex",alignItems:"center",background:a.neutralLighter,margin:"1px 2px",cursor:"default",userSelect:"none",maxWidth:300,verticalAlign:"middle",minWidth:0,selectors:((n={":hover":{background:r||s?"":a.neutralLight}})[Yt]=[{border:"1px solid WindowText"},s&&{borderColor:"GrayText"}],n)},r&&!s&&[e.isSelected,{background:a.themePrimary,selectors:((n={})[Yt]=pt({borderColor:"HighLight",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)}],i&&[e.isInvalid],i&&r&&!s&&{background:a.redDark},o],itemContent:[e.itemContent,{flex:"0 1 auto",minWidth:0,maxWidth:"100%",overflow:"hidden"}],removeButton:[e.removeButton,{borderRadius:15,color:a.neutralPrimary,flex:"0 0 auto",width:24,height:24,selectors:{":hover":{background:a.neutralTertiaryAlt,color:a.neutralDark}}},r&&[{color:a.white,selectors:((r={":hover":{color:a.white,background:a.themeDark},":active":{color:a.white,background:a.themeDarker}})[Yt]={color:"HighlightText"},r)},i&&{selectors:{":hover":{background:a.red},":active":{background:a.redDark}}}],s&&{selectors:((s={})["."+Lu.msButtonIcon]={color:l.buttonText},s)}],subComponentStyles:{persona:{primaryText:u},personaCoin:{initials:c}}}},void 0,{scope:"PeoplePickerItem"}),ak={root:"ms-PeoplePicker-personaContent",personaWrapper:"ms-PeoplePicker-Persona"},lk=Fn(),ck=function(e){var t=e.personaProps,o=e.suggestionsProps,n=e.compact,r=e.styles,i=e.theme,e=e.className,o=lk(r,{theme:i,className:o&&o.suggestionsItemClassName||e}),e=o.subComponentStyles&&o.subComponentStyles.persona?o.subComponentStyles.persona:void 0;return mt.createElement("div",{className:o.root},mt.createElement(KC,pt({size:Pr.size24,styles:e,className:o.personaWrapper,showSecondaryText:!n,showOverflowTooltip:!1},t)))},uk=In(ck,function(e){var t=e.className,o=e.theme,n=zo(ak,o),e={selectors:((e={})["."+Fx.isSuggested+" &"]={selectors:((o={})[Yt]={color:"HighlightText"},o)},e["."+n.root+":hover &"]={selectors:((o={})[Yt]={color:"HighlightText"},o)},e)};return{root:[n.root,{width:"100%",padding:"4px 12px"},t],personaWrapper:[n.personaWrapper,{width:180}],subComponentStyles:{persona:{primaryText:e,secondaryText:e}}}},void 0,{scope:"PeoplePickerItemSuggestion"}),dk={root:"ms-BasePicker",text:"ms-BasePicker-text",itemsWrapper:"ms-BasePicker-itemsWrapper",input:"ms-BasePicker-input"};function pk(){return null!==Ux&&Ux.apply(this,arguments)||this}function hk(e){var n=jx.call(this,e)||this;n.root=mt.createRef(),n.input=mt.createRef(),n.suggestionElement=mt.createRef(),n.SuggestionOfProperType=Ox,n._styledSuggestions=In(n.SuggestionOfProperType,Gx,void 0,{scope:"Suggestions"}),n.dismissSuggestions=function(t){function e(){var e=!0;n.props.onDismiss&&(e=n.props.onDismiss(t,n.suggestionStore.currentSuggestion?n.suggestionStore.currentSuggestion.item:void 0)),t&&t.defaultPrevented||!1===e||!n.canAddItems()||!n.suggestionStore.hasSelectedSuggestion()||!n.state.suggestedDisplayValue||n.addItemByIndex(0)}n.currentPromise?n.currentPromise.then(e):e(),n.setState({suggestionsVisible:!1})},n.refocusSuggestions=function(e){n.resetFocus(),n.suggestionStore.suggestions&&0<n.suggestionStore.suggestions.length&&(e===Tn.up?n.suggestionStore.setSelectedSuggestion(n.suggestionStore.suggestions.length-1):e===Tn.down&&n.suggestionStore.setSelectedSuggestion(0))},n.onInputChange=function(e){n.updateValue(e),n.setState({moreSuggestionsAvailable:!0,isMostRecentlyUsedVisible:!1})},n.onSuggestionClick=function(e,t,o){n.addItemByIndex(o)},n.onSuggestionRemove=function(e,t,o){n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(t),n.suggestionStore.removeSuggestion(o)},n.onInputFocus=function(e){n.selection.setAllSelected(!1),n.state.isFocused||(n._userTriggeredSuggestions(),n.props.inputProps&&n.props.inputProps.onFocus&&n.props.inputProps.onFocus(e))},n.onInputBlur=function(e){n.props.inputProps&&n.props.inputProps.onBlur&&n.props.inputProps.onBlur(e)},n.onBlur=function(e){var t;n.state.isFocused&&(t=e.relatedTarget,(t=null===e.relatedTarget?document.activeElement:t)&&!$i(n.root.current,t)&&(n.setState({isFocused:!1}),n.props.onBlur&&n.props.onBlur(e)))},n.onClick=function(e){void 0!==n.props.inputProps&&void 0!==n.props.inputProps.onClick&&n.props.inputProps.onClick(e),0===e.button&&n._userTriggeredSuggestions()},n.onFocus=function(){n.state.isFocused||n.setState({isFocused:!0})},n.onKeyDown=function(e){var t=e.which;switch(t){case Tn.escape:n.state.suggestionsVisible&&(n.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case Tn.tab:case Tn.enter:n.suggestionElement.current&&n.suggestionElement.current.hasSuggestedActionSelected()?n.suggestionElement.current.executeSelectedAction():!e.shiftKey&&n.suggestionStore.hasSelectedSuggestion()&&n.state.suggestionsVisible?(n.completeSuggestion(),e.preventDefault(),e.stopPropagation()):n._completeGenericSuggestion();break;case Tn.backspace:n.props.disabled||n.onBackspace(e),e.stopPropagation();break;case Tn.del:n.props.disabled||(n.input.current&&e.target===n.input.current.inputElement&&n.state.suggestionsVisible&&-1!==n.suggestionStore.currentIndex?(n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(n.suggestionStore.currentSuggestion.item),n.suggestionStore.removeSuggestion(n.suggestionStore.currentIndex),n.forceUpdate()):n.onBackspace(e)),e.stopPropagation();break;case Tn.up:n.input.current&&e.target===n.input.current.inputElement&&n.state.suggestionsVisible&&(n.suggestionElement.current&&n.suggestionElement.current.tryHandleKeyDown(t,n.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),n.forceUpdate()):n.suggestionElement.current&&n.suggestionElement.current.hasSuggestedAction()&&0===n.suggestionStore.currentIndex?(e.preventDefault(),e.stopPropagation(),n.suggestionElement.current.focusAboveSuggestions(),n.suggestionStore.deselectAllSuggestions(),n.forceUpdate()):n.suggestionStore.previousSuggestion()&&(e.preventDefault(),e.stopPropagation(),n.onSuggestionSelect()));break;case Tn.down:n.input.current&&e.target===n.input.current.inputElement&&n.state.suggestionsVisible&&(n.suggestionElement.current&&n.suggestionElement.current.tryHandleKeyDown(t,n.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),n.forceUpdate()):n.suggestionElement.current&&n.suggestionElement.current.hasSuggestedAction()&&n.suggestionStore.currentIndex+1===n.suggestionStore.suggestions.length?(e.preventDefault(),e.stopPropagation(),n.suggestionElement.current.focusBelowSuggestions(),n.suggestionStore.deselectAllSuggestions(),n.forceUpdate()):n.suggestionStore.nextSuggestion()&&(e.preventDefault(),e.stopPropagation(),n.onSuggestionSelect()))}},n.onItemChange=function(e,t){var o=n.state.items;0<=t&&((o=o)[t]=e,n._updateSelectedItems(o))},n.onGetMoreResults=function(){n.setState({isSearching:!0},function(){var e,t;n.props.onGetMoreResults&&n.input.current?(t=e=n.props.onGetMoreResults(n.input.current.value,n.state.items),Array.isArray(e)?(n.updateSuggestions(e),n.setState({isSearching:!1})):t.then&&t.then(function(e){n.updateSuggestions(e),n.setState({isSearching:!1})})):n.setState({isSearching:!1}),n.input.current&&n.input.current.focus(),n.setState({moreSuggestionsAvailable:!1,isResultsFooterVisible:!0})})},n.completeSelection=function(e){n.addItem(e),n.updateValue(""),n.input.current&&n.input.current.clear(),n.setState({suggestionsVisible:!1})},n.addItemByIndex=function(e){n.completeSelection(n.suggestionStore.getSuggestionAtIndex(e).item)},n.addItem=function(e){var t=n.props.onItemSelected?n.props.onItemSelected(e):e;null!==t&&((e=t)&&t.then?t.then(function(e){e=n.state.items.concat([e]);n._updateSelectedItems(e)}):(e=n.state.items.concat([e]),n._updateSelectedItems(e)),n.setState({suggestedDisplayValue:"",selectionRemoved:void 0}))},n.removeItem=function(e){var t=n.state.items,o=t.indexOf(e);0<=o&&(o=t.slice(0,o).concat(t.slice(o+1)),n.setState({selectionRemoved:e}),n._updateSelectedItems(o))},n.removeItems=function(t){var e=n.state.items.filter(function(e){return-1===t.indexOf(e)});n._updateSelectedItems(e)},n._shouldFocusZoneEnterInnerZone=function(e){if(n.state.suggestionsVisible)switch(e.which){case Tn.up:case Tn.down:return!0}return e.which===Tn.enter},n._onResolveSuggestions=function(e){var t=n.props.onResolveSuggestions(e,n.state.items);null!==t&&n.updateSuggestionsList(t,e)},n._completeGenericSuggestion=function(){var e;n.props.onValidateInput&&n.input.current&&n.props.onValidateInput(n.input.current.value)!==Nx.invalid&&n.props.createGenericItem&&(e=n.props.createGenericItem(n.input.current.value,n.props.onValidateInput(n.input.current.value)),n.suggestionStore.createGenericSuggestion(e),n.completeSuggestion())},n._userTriggeredSuggestions=function(){var e;n.state.suggestionsVisible||((e=n.input.current?n.input.current.value:"")?0===n.suggestionStore.suggestions.length?n._onResolveSuggestions(e):n.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):n.onEmptyInputFocus())},fi(n),n._async=new Si(n);e=e.selectedItems||e.defaultSelectedItems||[];return n._id=Cs(),n._ariaMap={selectedItems:"selected-items-"+n._id,selectedSuggestionAlert:"selected-suggestion-alert-"+n._id,suggestionList:"suggestion-list-"+n._id,combobox:"combobox-"+n._id},n.suggestionStore=new zx,n.selection=new cv({onSelectionChanged:function(){return n.onSelectionChange()}}),n.selection.setItems(e),n.state={items:e,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[],selectionRemoved:void 0},n}function mk(e){var t=e.className,o=e.theme,n=e.isFocused,r=e.inputClassName,i=e.disabled;if(!o)throw new Error("theme is undefined or null in base BasePicker getStyles function.");var s=o.semanticColors,a=o.effects,l=o.fonts,c=s.inputBorder,u=s.inputBorderHovered,d=s.inputFocusBorderAlt,p=zo(dk,o),e=[l.medium,{color:s.inputPlaceholderText,opacity:1,selectors:((h={})[Yt]={color:"GrayText"},h)}],h={color:s.disabledText,selectors:((o={})[Yt]={color:"GrayText"},o)},o="rgba(218, 218, 218, 0.29)";return{root:[p.root,t],text:[p.text,{display:"flex",position:"relative",flexWrap:"wrap",alignItems:"center",boxSizing:"border-box",minWidth:180,minHeight:30,border:"1px solid "+c,borderRadius:a.roundedCorner2},!n&&!i&&{selectors:{":hover":{borderColor:u}}},n&&!i&&_o(d,a.roundedCorner2),i&&{borderColor:o,selectors:((o={":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:o}})[Yt]={borderColor:"GrayText",selectors:{":after":{background:"none"}}},o)}],itemsWrapper:[p.itemsWrapper,{display:"flex",flexWrap:"wrap",maxWidth:"100%"}],input:[p.input,l.medium,{height:30,border:"none",flexGrow:1,outline:"none",padding:"0 6px 0",alignSelf:"flex-end",borderRadius:a.roundedCorner2,backgroundColor:"transparent",color:s.inputText,selectors:{"::-ms-clear":{display:"none"}}},Zo(e),i&&Zo(h),r],screenReaderText:So}}var gk,fk,vk,bk,yk,Ck=(l(Ek,yk=tk),Ek),_k=(l(Tk,bk=ok),Tk),Sk=(l(Dk,vk=Ck),Dk.defaultProps={onRenderItem:function(e){return mt.createElement(sk,pt({},e))},onRenderSuggestionsItem:function(e,t){return mt.createElement(uk,{personaProps:e,suggestionsProps:t})},createGenericItem:Pk},Dk),xk=(l(Ik,fk=Ck),Ik.defaultProps={onRenderItem:function(e){return mt.createElement(sk,pt({},e))},onRenderSuggestionsItem:function(e,t){return mt.createElement(uk,{personaProps:e,suggestionsProps:t,compact:!0})},createGenericItem:Pk},Ik),kk=(l(wk,gk=_k),wk.defaultProps={onRenderItem:function(e){return mt.createElement(sk,pt({},e))},onRenderSuggestionsItem:function(e,t){return mt.createElement(uk,{personaProps:e,suggestionsProps:t})},createGenericItem:Pk},wk);function wk(){return null!==gk&&gk.apply(this,arguments)||this}function Ik(){return null!==fk&&fk.apply(this,arguments)||this}function Dk(){return null!==vk&&vk.apply(this,arguments)||this}function Tk(){return null!==bk&&bk.apply(this,arguments)||this}function Ek(){return null!==yk&&yk.apply(this,arguments)||this}function Pk(e,t){var o={key:e,primaryText:e,imageInitials:"!",ValidationState:t};return t!==Nx.warning&&(o.imageInitials=Cr(e,Pn())),o}var Rk,Mk=In(Sk,mk,void 0,{scope:"NormalPeoplePicker"}),Nk=In(xk,mk,void 0,{scope:"CompactPeoplePicker"}),Bk=In(kk,mk,void 0,{scope:"ListPeoplePickerBase"}),Fk={root:"ms-TagItem",text:"ms-TagItem-text",close:"ms-TagItem-close",isSelected:"is-selected"},Ak=Fn(),Lk=function(e){var t=e.theme,o=e.styles,n=e.selected,r=e.disabled,i=e.enableTagFocusInDisabledPicker,s=e.children,a=e.className,l=e.index,c=e.onRemoveItem,u=e.removeButtonAriaLabel,d=e.title,d=void 0===d?"string"==typeof e.children?e.children:e.item.name:d,e=e.removeButtonIconProps,a=Ak(o,{theme:t,className:a,selected:n,disabled:r}),n=tu(),r=i?{"aria-disabled":r,tabindex:0}:{disabled:r};return mt.createElement("div",{className:a.root,role:"listitem",key:l},mt.createElement("span",{className:a.text,title:d,id:n+"-text"},s),mt.createElement(Xu,pt({id:n,onClick:c},r,{iconProps:null!=e?e:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:a.close,ariaLabel:u,"aria-labelledby":n+" "+n+"-text","data-selection-index":l})))},Hk=In(Lk,function(e){var t=e.className,o=e.theme,n=e.selected,r=e.disabled,i=o.palette,s=o.effects,a=o.fonts,l=o.semanticColors,e=zo(Fk,o);return{root:[e.root,a.medium,bo(o),{boxSizing:"content-box",flexShrink:"1",margin:2,height:26,lineHeight:26,cursor:"default",userSelect:"none",display:"flex",flexWrap:"nowrap",maxWidth:300,minWidth:0,borderRadius:s.roundedCorner2,color:l.inputText,background:i.neutralLighter,selectors:((l={":hover":[!r&&!n&&{color:i.neutralDark,background:i.neutralLight,selectors:{".ms-TagItem-close":{color:i.neutralPrimary}}},r&&{background:i.neutralLighter}],":focus-within":[!r&&{background:i.themePrimary,color:i.white}]})[Yt]={border:"1px solid "+(n?"WindowFrame":"WindowText")},l)},r&&{selectors:((l={})[Yt]={borderColor:"GrayText"},l)},n&&!r&&[e.isSelected],t],text:[e.text,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:30,margin:"0 8px"},r&&{selectors:((t={})[Yt]={color:"GrayText"},t)}],close:[e.close,{color:i.neutralSecondary,width:30,height:"100%",flex:"0 0 auto",borderRadius:Pn(o)?s.roundedCorner2+" 0 0 "+s.roundedCorner2:"0 "+s.roundedCorner2+" "+s.roundedCorner2+" 0",selectors:{":hover":{background:i.neutralQuaternaryAlt,color:i.neutralPrimary},":focus":{color:i.white,background:i.themePrimary},":focus:hover":{color:i.white,background:i.themeDark},":active":{color:i.white,backgroundColor:i.themeDark}}},r&&{selectors:((r={})["."+Lu.msButtonIcon]={color:i.neutralSecondary},r)}]}},void 0,{scope:"TagItem"}),Ok={suggestionTextOverflow:"ms-TagItem-TextOverflow"},zk=Fn(),Wk=function(e){var t=e.styles,o=e.theme,e=e.children,o=zk(t,{theme:o});return mt.createElement("div",{className:o.suggestionTextOverflow}," ",e," ")},Vk=In(Wk,function(e){var t=e.className,e=e.theme;return{suggestionTextOverflow:[zo(Ok,e).suggestionTextOverflow,{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"60vw",padding:"6px 12px 7px",whiteSpace:"nowrap"},t]}},void 0,{scope:"TagItemSuggestion"}),Kk=(l(Uk,Rk=tk),Uk.defaultProps={onRenderItem:function(e){return mt.createElement(Hk,pt({},e),e.item.name)},onRenderSuggestionsItem:function(e){return mt.createElement(Vk,null,e.name)}},Uk),Gk=In(Kk,mk,void 0,{scope:"TagPicker"});function Uk(e){e=Rk.call(this,e)||this;return fi(e),e}function jk(e,t){var o,n=mt.useRef({ref:((o=function(e){n.ref.current!==e&&(n.cleanup&&(n.cleanup(),n.cleanup=void 0),null!==(n.ref.current=e)&&(n.cleanup=n.callback(e)))}).current=t=void 0===t?null:t,o),callback:e}).current;return n.callback=e,n.ref}function qk(i,s){var a={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return mt.Children.forEach(mt.Children.toArray(i.children),function(e,t){var o,n,r;Yk(e)?(n=(o=e.props).linkText,r=ht(o,["linkText"]),o=e.props.itemKey||t.toString(),a.links.push(pt(pt({headerText:n},r),{itemKey:o})),a.keyToIndexMapping[o]=t,a.keyToTabIdMapping[o]=(n=s,r=t,(t=i).getTabId?t.getTabId(o,r):n+"-Tab"+r)):e&&Xo("The children of a Pivot component must be of type PivotItem to be rendered.")}),a}function Yk(e){return mt.isValidElement(e)&&(null===(e=e.type)||void 0===e?void 0:e.name)===Xk.name}var Zk,Xk=(l($k,Zk=mt.Component),$k.prototype.render=function(){return mt.createElement("div",pt({},ur(this.props,cr)),this.props.children)},$k),Qk=Fn(),Jk=mt.forwardRef(function(r,e){var t=mt.useRef(null),o=mt.useRef(null),n=tu("Pivot"),i=Ih(r.selectedKey,r.defaultSelectedKey),s=i[0],a=i[1],l=r.componentRef,c=r.theme,u=r.linkSize,d=r.linkFormat,p=r.overflowBehavior,h=r.focusZoneProps,i=ur(r,cr),m=qk(r,n);mt.useImperativeHandle(l,function(){return{focus:function(){var e;null===(e=t.current)||void 0===e||e.focus()}}});function g(e){if(!e)return null;var t=e.itemCount,o=e.itemIcon,n=e.headerText;return mt.createElement("span",{className:w.linkContent},void 0!==o&&mt.createElement("span",{className:w.icon},mt.createElement(Wr,{iconName:o})),void 0!==n&&mt.createElement("span",{className:w.text}," ",e.headerText),void 0!==t&&mt.createElement("span",{className:w.count}," (",t,")"))}function f(e,t,o,n){var r=t.itemKey,i=t.headerButtonProps,s=t.onRenderItemLink,a=e.keyToTabIdMapping[r],e=o===r,o=s?s(t,g):g(t),s=t.headerText||"";return s+=t.itemCount?" ("+t.itemCount+")":"",s+=t.itemIcon?" xx":"",mt.createElement(tp,pt({},i,{id:a,key:r,className:Er(n,e&&w.linkIsSelected),onClick:function(e){return t=r,(e=e).preventDefault(),void k(t,e);var t},onKeyDown:function(e){var t;t=r,(e=e).which===Tn.enter&&(e.preventDefault(),k(t))},"aria-label":t.ariaLabel,role:t.role||"tab","aria-selected":e,name:t.headerText,keytipProps:t.keytipProps,"data-content":s}),o)}var v,b,y,C,_,S,x,k=function(e,t){a(e),m=qk(r,n),r.onLinkClick&&0<=m.keyToIndexMapping[e]&&(e=m.keyToIndexMapping[e],e=mt.Children.toArray(r.children)[e],Yk(e)&&r.onLinkClick(e,t)),null===(t=o.current)||void 0===t||t.dismissMenu()},w=Qk(r.styles,{theme:c,linkSize:u,linkFormat:d}),I=null===s||void 0!==s&&void 0!==m.keyToIndexMapping[s]?s:m.links.length?m.links[0].itemKey:void 0,d=I?m.keyToIndexMapping[I]:0,s=m.links.map(function(e){return f(m,e,I,w.link)}),D=mt.useMemo(function(){return{items:[],alignTargetEdge:!0,directionalHint:Ea.bottomRightEdge}},[]),d=(d={onOverflowItemsChanged:function(o,e){e.forEach(function(e){var t=e.ele,e=e.isOverflowing;return t.dataset.isOverflowing=""+e}),D.items=m.links.slice(o).map(function(e,t){return{key:e.itemKey||""+(o+t),onRender:function(){return f(m,e,I,w.linkInMenu)}}})},rtl:Pn(c),pinnedIndex:d},v=d.onOverflowItemsChanged,b=d.rtl,y=d.pinnedIndex,C=mt.useRef(),_=mt.useRef(),S=jk(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()}}function n(){return t(void 0)}var r=qe(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){_.current=e?e[0].contentRect.width:t.clientWidth,C.current&&C.current()});return function(){e(),_.current=void 0}}),x=jk(function(e){return S(e.parentElement),function(){return S(null)}}),mt.useLayoutEffect(function(){var e=S.current,n=x.current;if(e&&n){for(var r=[],t=0;t<e.children.length;t++){var o=e.children[t];o instanceof HTMLElement&&o!==n&&r.push(o)}var i=[],s=0;C.current=function(){var e=_.current;if(void 0!==e){for(var t,o=r.length-1;0<=o;o--)if(void 0===i[o]&&(t=b?e-r[o].offsetLeft:r[o].offsetLeft+r[o].offsetWidth,o+1<r.length&&o+1===y&&(s=i[o+1]-t),o===r.length-2&&(s+=n.offsetWidth),i[o]=t+s),e>i[o])return void u(o+1);u(0)}};var a,l,c=r.length,u=function(o){c!==o&&v(c=o,r.map(function(e,t){return{ele:e,isOverflowing:o<=t&&t!==y}}))},d=void 0;return void 0===_.current||(a=qe(e))&&(l=a.requestAnimationFrame(C.current),d=function(){return a.cancelAnimationFrame(l)}),function(){d&&d(),u(r.length),C.current=void 0}}}),x);return mt.createElement("div",pt({role:"toolbar"},i,{ref:e}),mt.createElement(Ys,pt({componentRef:t,role:"tablist",direction:Ti.horizontal},h,{className:Er(w.root,null==h?void 0:h.className)}),s,"menu"===p&&mt.createElement(tp,{className:Er(w.link,w.overflowMenuButton),elementRef:d,componentRef:o,menuProps:D,menuIconProps:{iconName:"More",style:{color:"inherit"}}})),I&&m.links.map(function(e){return(!0===e.alwaysRender||I===e.itemKey)&&function(e,t){if(r.headersOnly||!e)return null;var o=m.keyToIndexMapping[e],n=m.keyToTabIdMapping[e];return mt.createElement("div",{role:"tabpanel",hidden:!t,key:e,"aria-hidden":!t,"aria-labelledby":n,className:w.itemContainer},mt.Children.toArray(r.children)[o])}(e.itemKey,I===e.itemKey)}))});function $k(e){e=Zk.call(this,e)||this;return fi(e),e}Jk.displayName="Pivot";function ew(e,t,o){void 0===o&&(o=!1);var n=e.linkSize,r=e.linkFormat,i=(s=e.theme).semanticColors,e=s.fonts,s="large"===n,n="tabs"===r;return[e.medium,{color:i.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:((r={":hover":{backgroundColor:i.buttonBackgroundHovered,color:i.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:i.buttonBackgroundPressed,color:i.buttonTextHovered},":focus":{outline:"none"}})["."+go+" &:focus"]={outline:"1px solid "+i.focusBorder},r["."+go+" &:focus:after"]={content:"attr(data-content)",position:"relative",border:0},r)},!o&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:{":before":{backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left "+we.durationValue2+" "+we.easeFunction2+",\n                        right "+we.durationValue2+" "+we.easeFunction2},":after":{color:"transparent",content:"attr(data-content)",display:"block",fontWeight:Fe.bold,height:1,overflow:"hidden",visibility:"hidden"}}},s&&{fontSize:e.large.fontSize},n&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:i.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:((n={":focus":{outlineOffset:"-1px"}})["."+go+" &:focus::before"]={height:"auto",background:"transparent",transition:"none"},n["&:hover, &:focus"]={color:i.buttonTextCheckedHovered},n["&:active, &:hover"]={color:i.primaryButtonText,backgroundColor:i.primaryButtonBackground},n["&."+t.linkIsSelected]={backgroundColor:i.primaryButtonBackground,color:i.primaryButtonText,fontWeight:Fe.regular,selectors:((i={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:i.primaryButtonBackgroundHovered,color:i.primaryButtonText},"&:active":{backgroundColor:i.primaryButtonBackgroundPressed,color:i.primaryButtonText}})[Yt]=pt({fontWeight:Fe.semibold,color:"HighlightText",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},n)}]]]}var tw,ow,nw={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"},rw=In(Jk,function(e){var t=e.className,o=e.linkSize,n=e.linkFormat,r=e.theme,i=r.semanticColors,s=r.fonts,r=zo(nw,r);return{root:[r.root,s.medium,Uo,{position:"relative",color:i.link,whiteSpace:"nowrap"},"large"===o&&r.rootIsLarge,"tabs"===n&&r.rootIsTabs,t],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:$e([r.link],ew(e,r),[((t={})["&[data-is-overflowing='true']"]={display:"none"},t)]),overflowMenuButton:[r.overflowMenuButton,((t={visibility:"hidden",position:"absolute",right:0})["."+r.link+"[data-is-overflowing='true'] ~ &"]={visibility:"visible",position:"relative"},t)],linkInMenu:$e([r.linkInMenu],ew(e,r,!0),[{textAlign:"left",width:"100%",height:36,lineHeight:36}]),linkIsSelected:[r.link,r.linkIsSelected,{fontWeight:Fe.semibold,selectors:((i={":before":{backgroundColor:i.inputBackgroundChecked,selectors:((i={})[Yt]={backgroundColor:"Highlight"},i)},":hover::before":{left:0,right:0}})[Yt]={color:"Highlight"},i)}],linkContent:[r.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[r.text,{display:"inline-block",verticalAlign:"top"}],count:[r.count,{display:"inline-block",verticalAlign:"top"}],icon:r.icon}},void 0,{scope:"Pivot"});(Y=tw=tw||{}).links="links",Y.tabs="tabs",(ke=ow=ow||{}).normal="normal",ke.large="large";var iw,sw,aw=Fn(),lw=(l(mw,sw=mt.Component),mw.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,s=e.styles,a=e.theme,l=e.progressHidden,n=e.onRenderProgress,e=void 0===n?this._onRenderProgress:n,n="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,t=aw(s,{theme:a,className:o,barHeight:t,indeterminate:void 0===n});return mt.createElement("div",{className:t.root},r?mt.createElement("div",{id:this._labelId,className:t.itemName},r):null,l?null:e(pt(pt({},this.props),{percentComplete:n}),this._onRenderProgress),i?mt.createElement("div",{id:this._descriptionId,className:t.itemDescription},i):null)},mw.defaultProps={label:"",description:"",width:180},mw),cw={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},uw=Ao(function(){return O({"0%":{left:"-30%"},"100%":{left:"100%"}})}),dw=Ao(function(){return O({"100%":{right:"-30%"},"0%":{right:"100%"}})}),pw=In(lw,function(e){var t=Pn(e.theme),o=e.className,n=e.indeterminate,r=e.theme,i=e.barHeight,s=void 0===i?2:i,a=r.palette,l=r.semanticColors,e=r.fonts,i=zo(cw,r),r=a.neutralLight;return{root:[i.root,e.medium,o],itemName:[i.itemName,jo,{color:l.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[i.itemDescription,{color:l.bodySubtext,fontSize:e.small.fontSize,lineHeight:18}],itemProgress:[i.itemProgress,{position:"relative",overflow:"hidden",height:s,padding:"8px 0"}],progressTrack:[i.progressTrack,{position:"absolute",width:"100%",height:s,backgroundColor:r,selectors:((e={})[Yt]={borderBottom:"1px solid WindowText"},e)}],progressBar:[{backgroundColor:a.themePrimary,height:s,position:"absolute",transition:"width .3s ease",width:0,selectors:((s={})[Yt]=pt({backgroundColor:"highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)},n?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, "+r+" 0%, "+a.themePrimary+" 50%, "+r+" 100%)",animation:(t?dw:uw)()+" 3s infinite",selectors:((t={})[Yt]={background:"highlight"},t)}:{transition:"width .15s linear"},i.progressBar]}},void 0,{scope:"ProgressIndicator"}),hw={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 mw(e){var c=sw.call(this,e)||this;c._onRenderProgress=function(e){var t=c.props,o=t.ariaValueText,n=t.barHeight,r=t.className,i=t.description,s=t.label,a=void 0===s?c.props.title:s,l=t.styles,s=t.theme,t="number"==typeof c.props.percentComplete?Math.min(100,Math.max(0,100*c.props.percentComplete)):void 0,l=aw(l,{theme:s,className:r,barHeight:n,indeterminate:void 0===t}),s={width:void 0!==t?t+"%":void 0,transition:void 0!==t&&t<.01?"none":void 0},r=void 0!==t?0:void 0,n=void 0!==t?100:void 0,t=void 0!==t?Math.floor(t):void 0;return mt.createElement("div",{className:l.itemProgress},mt.createElement("div",{className:l.progressTrack}),mt.createElement("div",{className:l.progressBar,style:s,role:"progressbar","aria-describedby":i?c._descriptionId:void 0,"aria-labelledby":a?c._labelId:void 0,"aria-valuemin":r,"aria-valuemax":n,"aria-valuenow":t,"aria-valuetext":o}))};e=Cs("progress-indicator");return c._labelId=e+"-label",c._descriptionId=e+"-description",c}function gw(e,t){return{color:e,selectors:((e={})[Yt]={color:t},e)}}(n=iw=iw||{})[n.Small=0]="Small",n[n.Large=1]="Large";function fw(e){return mt.createElement("div",{className:e.classNames.ratingStar},mt.createElement(Wr,{className:e.classNames.ratingStarBack,iconName:0===e.fillPercentage||100===e.fillPercentage?e.icon:e.unselectedIcon}),!e.disabled&&mt.createElement(Wr,{className:e.classNames.ratingStarFront,iconName:e.icon,style:{width:e.fillPercentage+"%"}}))}function vw(e,t){return e+"-star-"+(t-1)}var bw=Fn(),yw=mt.forwardRef(function(e,t){var o,i=tu("Rating"),s=tu("RatingLabel"),n=e.ariaLabel,a=e.ariaLabelFormat,l=e.disabled,r=e.getAriaLabel,c=e.styles,u=e.min,d=void 0===u?e.allowZeroStars?0:1:u,p=e.max,h=void 0===p?5:p,m=e.readOnly,g=e.size,u=e.theme,p=e.icon,f=void 0===p?"FavoriteStarFill":p,p=e.unselectedIcon,v=void 0===p?"FavoriteStar":p,b=e.onRenderStar,p=Math.max(d,0),d=Ih(e.rating,e.defaultRating,e.onChange),y=d[0],C=d[1],_=(d=h,Math.min(Math.max(null!=y?y:p,p),d));d=e.componentRef,o=_,mt.useImperativeHandle(d,function(){return{rating:o}},[o]);for(var e=ur(e,cr),S=bw(c,{disabled:l,readOnly:m,theme:u}),u=null==r?void 0:r(_,h),r=n||u,x=[],k=1;k<=h;k++)!function(t){var e,o,n,r=(r=t,e=_,o=Math.ceil(e),n=100,r===e?n=100:r===o?n=e%1*100:o<r&&(n=0),n),n=function(e){void 0!==y&&Math.ceil(y)===t||C(t,e)};x.push(mt.createElement("button",pt({className:Er(S.ratingButton,g===iw.Large?S.ratingStarIsLarge:S.ratingStarIsSmall),id:vw(i,t),key:t},t===Math.ceil(_)&&{"data-is-current":!0},{onFocus:n,onClick:n,disabled:!(!l&&!m),role:"radio","aria-hidden":m?"true":void 0,type:"button","aria-checked":t===Math.ceil(_)}),mt.createElement("span",{id:s+"-"+t,className:S.labelText},Kp(a||"",t,h)),(r={fillPercentage:r,disabled:l,classNames:S,icon:0<r?f:v,starNum:t,unselectedIcon:v},b?b(r):mt.createElement(fw,pt({},r)))))}(k);n=g===iw.Large?S.rootIsLarge:S.rootIsSmall;return mt.createElement("div",pt({ref:t,className:Er("ms-Rating-star",S.root,n),"aria-label":m?void 0:r,id:i,role:m?void 0:"radiogroup"},e),mt.createElement(Ys,pt({direction:Ti.bidirectional,className:Er(S.ratingFocusZone,n),defaultActiveElement:"#"+vw(i,Math.ceil(_))},m&&{allowFocusRoot:!0,disabled:!0,role:"textbox","aria-label":u,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}),x))});yw.displayName="RatingBase";var Cw,_w=In(yw,function(e){var t=e.disabled,o=e.readOnly,n=e.theme,r=n.semanticColors,i=n.palette,s=zo(hw,n),a=i.neutralSecondary,l=i.themePrimary,e=i.themeDark,i=i.neutralPrimary,r=r.disabledBodySubtext;return{root:[s.root,n.fonts.medium,!t&&!o&&{selectors:{"&:hover":{selectors:{".ms-RatingStar-back":gw(i,"Highlight")}}}}],rootIsSmall:[s.rootIsSmall,{height:"32px"}],rootIsLarge:[s.rootIsLarge,{height:"36px"}],ratingStar:[s.ratingStar,{display:"inline-block",position:"relative",height:"inherit"}],ratingStarBack:[s.ratingStarBack,{color:a,width:"100%"},t&&gw(r,"GrayText")],ratingStarFront:[s.ratingStarFront,{position:"absolute",height:"100 %",left:"0",top:"0",textAlign:"center",verticalAlign:"middle",overflow:"hidden"},gw(i,"Highlight")],ratingButton:[bo(n),s.ratingButton,{backgroundColor:"transparent",padding:"8px 2px",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":gw(a,"WindowText"),".ms-RatingStar-front":gw(a,"WindowText")}},"&:hover":{selectors:{".ms-RatingStar-back":{color:l},".ms-RatingStar-front":{color:e}}}}},t&&{cursor:"default"}],ratingStarIsSmall:[s.ratingStarIsSmall,{fontSize:"16px",lineHeight:"16px",height:"16px"}],ratingStarIsLarge:[s.ratingStartIsLarge,{fontSize:"20px",lineHeight:"20px",height:"20px"}],labelText:[s.labelText,So],ratingFocusZone:[bo(n),s.ratingFocusZone,{display:"inline-block"}]}},void 0,{scope:"Rating"}),Sw={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},xw={auto:"auto",always:"always"},kw=mt.createContext({scrollablePane:void 0}),ww=Fn(),Iw=(l(Bw,Cw=mt.Component),Object.defineProperty(Bw.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(Bw.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(Bw.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(Bw.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!1,configurable:!0}),Bw.prototype.componentDidMount=function(){var n=this,e=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&e&&(this.contentContainer.scrollTop=e),this.setStickiesDistanceFromTop(),this._stickies.forEach(function(e){n.sortSticky(e)}),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver(function(t){var o,e=n._getScrollbarHeight();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():(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}))},Bw.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},Bw.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},Bw.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)},Bw.prototype.render=function(){var e=this.props,t=e.className,o=e.scrollContainerFocus,n=e.scrollContainerAriaLabel,r=e.theme,i=e.styles,s=this.state,e=s.stickyTopHeight,s=s.stickyBottomHeight,t=ww(i,{theme:r,className:t,scrollbarVisibility:this.props.scrollbarVisibility}),n=o?{role:"group",tabIndex:0,"aria-label":n}:{};return mt.createElement("div",pt({},ur(this.props,cr),{ref:this._root,className:t.root}),mt.createElement("div",{ref:this._stickyAboveRef,className:t.stickyAbove,style:this._getStickyContainerStyle(e,!0)}),mt.createElement("div",pt({ref:this._contentContainer},n,{className:t.contentContainer,"data-is-scrollable":!0}),mt.createElement(kw.Provider,{value:this._getScrollablePaneContext()},this.props.children)),mt.createElement("div",{className:t.stickyBelow,style:this._getStickyContainerStyle(s,!1)},mt.createElement("div",{ref:this._stickyBelowRef,className:t.stickyBelowItems})))},Bw.prototype.setStickiesDistanceFromTop=function(){var t=this;this.contentContainer&&this._stickies.forEach(function(e){e.setDistanceFromTop(t.contentContainer)})},Bw.prototype.forceLayoutUpdate=function(){this._onWindowResize()},Bw.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())},Bw.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},Bw.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},Bw),Dw=In(Iw,function(e){var t=e.className,o=e.theme,n=zo(Sw,o),r={position:"absolute",pointerEvents:"none"},i={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[n.root,o.fonts.medium,i,t],contentContainer:[n.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},i],stickyAbove:[{top:0,zIndex:1,selectors:((i={})[Yt]={borderBottom:"1px solid WindowText"},i)},r],stickyBelow:[{bottom:0,selectors:((i={})[Yt]={borderTop:"1px solid WindowText"},i)},r],stickyBelowItems:[{bottom:0},r,{width:"100%"}]}},void 0,{scope:"ScrollablePane"}),Tw="SearchBox",Ew={root:{height:"auto"},icon:{fontSize:"12px"}},Pw={iconName:"Clear"},Rw={ariaLabel:"Clear text"},Mw=Fn(),Nw=mt.forwardRef(function(o,e){var t,n,r=o.ariaLabel,i=o.className,s=o.defaultValue,a=void 0===s?"":s,l=o.disabled,c=o.underlined,u=o.styles,d=o.labelText,p=o.placeholder,h=void 0===p?d:p,m=o.theme,g=o.clearButtonProps,f=void 0===g?Rw:g,v=o.disableAnimation,b=void 0!==v&&v,s=o.showIcon,d=void 0!==s&&s,y=o.onClear,C=o.onBlur,_=o.onEscape,S=o.onSearch,x=o.onKeyDown,p=o.iconProps,g=o.role,k=o.onChange,w=o.onChanged,v=mt.useState(!1),s=v[0],I=v[1],v=Ih(o.value,a,mt.useCallback(function(e){null==k||k(e,null==e?void 0:e.target.value),null==w||w(null==e?void 0:e.target.value)},[k,w])),a=v[0],D=v[1],T=String(a),a=mt.useRef(null),E=mt.useRef(null),a=_r(a,e),e=tu(Tw,o.id),P=f.onClick,u=Mw(u,{theme:m,className:i,underlined:c,hasFocus:s,disabled:l,hasInput:0<T.length,disableAnimation:b,showIcon:d}),m=ur(o,Zn,["className","placeholder","onFocus","onBlur","value","role"]),R=mt.useCallback(function(e){var t;null==y||y(e),e.defaultPrevented||(D(""),null===(t=E.current)||void 0===t||t.focus(),e.stopPropagation(),e.preventDefault())},[y,D]),i=mt.useCallback(function(e){null==P||P(e),e.defaultPrevented||R(e)},[P,R]),c=mt.useCallback(function(e){I(!1),null==C||C(e)},[C]),b=function(e){D(e.target.value,e)};return d=o.componentRef,t=E,n=s,mt.useImperativeHandle(d,function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()},hasFocus:function(){return n}}},[t,n]),mt.createElement("div",{role:g,ref:a,className:u.root,onFocusCapture:function(e){var t;I(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e)}},mt.createElement("div",{className:u.iconContainer,onClick:function(){E.current&&(E.current.focus(),E.current.selectionStart=E.current.selectionEnd=0)},"aria-hidden":!0},mt.createElement(Wr,pt({iconName:"Search"},p,{className:u.icon}))),mt.createElement("input",pt({},m,{id:e,className:u.field,placeholder:h,onChange:b,onInput:b,onBlur:c,onKeyDown:function(e){switch(e.which){case Tn.escape:null==_||_(e),T&&!e.defaultPrevented&&R(e);break;case Tn.enter:S&&(S(T),e.preventDefault(),e.stopPropagation());break;default:null==x||x(e),e.defaultPrevented&&e.stopPropagation()}},value:T,disabled:l,role:"searchbox","aria-label":r,ref:E})),0<T.length&&mt.createElement("div",{className:u.clearButton},mt.createElement(Xu,pt({onBlur:c,styles:Ew,iconProps:Pw},f,{onClick:i}))))});function Bw(e){var u=Cw.call(this,e)||this;return u._root=mt.createRef(),u._stickyAboveRef=mt.createRef(),u._stickyBelowRef=mt.createRef(),u._contentContainer=mt.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,n=0,r=0;e.forEach(function(e){var t=e.state,o=t.isStickyTop,t=t.isStickyBottom;e.nonStickyContent&&(o&&(n+=e.nonStickyContent.offsetHeight),t&&(r+=e.nonStickyContent.offsetHeight),u._checkStickyStatus(e))}),u.setState({stickyTopHeight:n,stickyBottomHeight:r})},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}}},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,s=0,a=r.sort(function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)}).filter(function(e){e=o===u.stickyAbove?e.stickyContentTop:e.stickyContentBottom;return!!e&&-1<n.indexOf(e)});s<a.length;s++){var l=a[s];if((l.state.distanceFromTop||0)>=(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},Pn(u.props.theme)?{right:"0",left:(u.state.scrollbarWidth||u._getScrollbarWidth()||0)+"px"}:{left:"0",right:(u.state.scrollbarWidth||u._getScrollbarWidth()||0)+"px"}),t?{top:"0"}:{bottom:(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,fi(u),u._async=new Si(u),u._events=new fa(u),u.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},u._notifyThrottled=u._async.throttle(u.notifySubscribers,50),u}Nw.displayName=Tw;var Fw,Aw={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"},Lw=In(Nw,function(e){var t=e.theme,o=e.underlined,n=e.disabled,r=e.hasFocus,i=e.className,s=e.hasInput,a=e.disableAnimation,l=e.showIcon,c=t.palette,u=t.fonts,d=t.semanticColors,p=t.effects,h=zo(Aw,t),m={color:d.inputPlaceholderText,opacity:1},g=c.neutralSecondary,f=c.neutralPrimary,v=c.neutralLighter,b=c.neutralLighter,e=c.neutralLighter;return{root:[h.root,u.medium,Uo,{color:d.inputText,backgroundColor:d.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:p.roundedCorner2,border:"1px solid "+d.inputBorder,height:32,selectors:((c={})[Yt]={borderColor:"WindowText"},c[":hover"]={borderColor:d.inputBorderHovered,selectors:((u={})[Yt]={borderColor:"Highlight"},u)},c[":hover ."+h.iconContainer]={color:d.inputIconHovered},c)},!r&&s&&{selectors:((c={})[":hover ."+h.iconContainer]={width:4},c[":hover ."+h.icon]={opacity:0},c)},r&&["is-active",{position:"relative"},_o(d.inputFocusBorderAlt,o?0:p.roundedCorner2,o?"borderBottom":"border")],l&&[{selectors:((p={})[":hover ."+h.iconContainer]={width:32},p[":hover ."+h.icon]={opacity:1},p)}],n&&["is-disabled",{borderColor:v,backgroundColor:e,pointerEvents:"none",cursor:"default",selectors:((e={})[Yt]={borderColor:"GrayText"},e)}],o&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],o&&n&&{backgroundColor:"transparent"},s&&"can-clear",i],iconContainer:[h.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:d.inputIcon,cursor:"text"},r&&{width:4},n&&{color:d.inputIconDisabled},!a&&{transition:"width "+we.durationValue1},l&&r&&{width:32}],icon:[h.icon,{opacity:1},r&&{opacity:0},!a&&{transition:"opacity "+we.durationValue1+" 0s"},l&&r&&{opacity:1}],clearButton:[h.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:b},"&:hover .ms-Button-icon":{color:f},".ms-Button":{borderRadius:Pn(t)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:g}}}],field:[h.field,Uo,Zo(m),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:d.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},n&&{color:d.disabledText}]}},void 0,{scope:"SearchBox"}),Hw=(l(Ow,Fw=mt.Component),Ow.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(Ow.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),Ow.prototype.removeSelectedItems=function(){this.state.items.length&&0<this.selection.getSelectedCount()&&this.removeItems(this.selection.getSelection())},Ow.prototype.updateItems=function(e,t){var o=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},function(){o._onSelectedItemsUpdated(e,t)})},Ow.prototype.hasSelectedItems=function(){return 0<this.selection.getSelectedCount()},Ow.prototype.componentDidUpdate=function(e,t){this.state.items&&this.state.items!==t.items&&this.selection.setItems(this.state.items)},Ow.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},Ow.prototype.highlightedItems=function(){return this.selection.getSelection()},Ow.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},Object.defineProperty(Ow.prototype,"selection",{get:function(){var e;return null!==(e=this.props.selection)&&void 0!==e?e:this._defaultSelection},enumerable:!1,configurable:!0}),Ow.prototype.render=function(){return this.renderItems()},Ow.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},Ow.prototype.copyItems=function(e){if(this.props.onCopyItems){var t=this.props.onCopyItems(e),o=document.createElement("input");document.body.appendChild(o);try{if(o.value=t,o.select(),!document.execCommand("copy"))throw new Error}catch(e){}finally{document.body.removeChild(o)}}},Ow.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},Ow.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},Ow);function Ow(e){var r=Fw.call(this,e)||this;r.addItems=function(e){var t=r.props.onItemSelected?r.props.onItemSelected(e):e,e=t,t=t;t&&t.then?t.then(function(e){e=r.state.items.concat(e);r.updateItems(e)}):(e=r.state.items.concat(e),r.updateItems(e))},r.removeItemAt=function(e){var t=r.state.items;r._canRemoveItem(t[e])&&-1<e&&(r.props.onItemsDeleted&&r.props.onItemsDeleted([t[e]]),e=t.slice(0,e).concat(t.slice(e+1)),r.updateItems(e))},r.removeItem=function(e){e=r.state.items.indexOf(e);r.removeItemAt(e)},r.replaceItem=function(e,t){var o=r.state.items,e=o.indexOf(e);-1<e&&(e=o.slice(0,e).concat(t).concat(o.slice(e+1)),r.updateItems(e))},r.removeItems=function(e){var t=r.state.items,o=e.filter(function(e){return r._canRemoveItem(e)}),n=t.filter(function(e){return-1===o.indexOf(e)}),e=o[0],e=t.indexOf(e);r.props.onItemsDeleted&&r.props.onItemsDeleted(o),r.updateItems(n,e)},r.onCopy=function(e){var t;r.props.onCopyItems&&0<r.selection.getSelectedCount()&&(t=r.selection.getSelection(),r.copyItems(t))},r.renderItems=function(){var o=r.props.removeButtonAriaLabel,n=r.props.onRenderItem;return r.state.items.map(function(e,t){return n({item:e,index:t,key:e.key||t,selected:r.selection.isIndexSelected(t),onRemoveItem:function(){return r.removeItem(e)},onItemChange:r.onItemChange,removeButtonAriaLabel:o,onCopyItem:function(e){return r.copyItems([e])}})})},r.onSelectionChanged=function(){r.forceUpdate()},r.onItemChange=function(e,t){var o=r.state.items;0<=t&&((o=o)[t]=e,r.updateItems(o))},fi(r);e=e.selectedItems||e.defaultSelectedItems||[];return r.state={items:e},r._defaultSelection=new cv({onSelectionChanged:r.onSelectionChanged}),r}Dt([{rawString:".personaContainer_cbad3345{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_cbad3345::-moz-focus-inner{border:0}.personaContainer_cbad3345{outline:transparent}.personaContainer_cbad3345{position:relative}.ms-Fabric--isFocusVisible .personaContainer_cbad3345: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_cbad3345 .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}.personaContainer_cbad3345 .ms-Persona-primaryText.hover_cbad3345{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_cbad3345 .ms-Persona-primaryText{color:HighlightText}}.personaContainer_cbad3345 .actionButton_cbad3345:hover{background:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.personaContainer_cbad3345 .actionButton_cbad3345 .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_cbad3345 .actionButton_cbad3345 .ms-Button-icon{color:HighlightText}}.personaContainer_cbad3345:hover{background:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.personaContainer_cbad3345:hover .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}@media screen and (-ms-high-contrast:active){.personaContainer_cbad3345:hover .ms-Persona-primaryText{color:HighlightText}}.personaContainer_cbad3345.personaContainerIsSelected_cbad3345{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:"}.personaContainer_cbad3345.personaContainerIsSelected_cbad3345 .ms-Persona-primaryText{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_cbad3345.personaContainerIsSelected_cbad3345 .ms-Persona-primaryText{color:HighlightText}}.personaContainer_cbad3345.personaContainerIsSelected_cbad3345 .actionButton_cbad3345{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.personaContainer_cbad3345.personaContainerIsSelected_cbad3345 .actionButton_cbad3345 .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}.personaContainer_cbad3345.personaContainerIsSelected_cbad3345 .actionButton_cbad3345 .ms-Button-icon:hover{background:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active){.personaContainer_cbad3345.personaContainerIsSelected_cbad3345 .actionButton_cbad3345 .ms-Button-icon{color:HighlightText}}@media screen and (-ms-high-contrast:active){.personaContainer_cbad3345.personaContainerIsSelected_cbad3345{border-color:Highlight;background:Highlight;-ms-high-contrast-adjust:none}}.personaContainer_cbad3345.validationError_cbad3345 .ms-Persona-primaryText{color:"},{theme:"red",defaultValue:"#e81123"},{rawString:"}.personaContainer_cbad3345.validationError_cbad3345 .ms-Persona-initials{font-size:20px}@media screen and (-ms-high-contrast:active){.personaContainer_cbad3345{border:1px solid WindowText}}.personaContainer_cbad3345 .itemContent_cbad3345{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%}.personaContainer_cbad3345 .removeButton_cbad3345{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_cbad3345 .expandButton_cbad3345{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_cbad3345 .personaWrapper_cbad3345{position:relative;display:inherit}.personaContainer_cbad3345 .personaWrapper_cbad3345 .ms-Persona-details{padding:0 8px}.personaContainer_cbad3345 .personaDetails_cbad3345{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_cbad3345{display:inline-block;vertical-align:top}"}]);function zw(e){var t=Wt();if(!t)throw new Error("theme is undefined or null in Editing item getStyles function.");var o=t.semanticColors;return{root:[(t=zo(s1,t)).root,{margin:"4px"}],input:[t.input,{border:"0px",outline:"none",width:"100%",backgroundColor:o.inputBackground,color:o.inputText,selectors:{"::-ms-clear":{display:"none"}}}]}}var Ww,Vw,Kw,Gw,Uw,jw="personaContainer_cbad3345",qw="hover_cbad3345",Yw="actionButton_cbad3345",Zw="personaContainerIsSelected_cbad3345",Xw="validationError_cbad3345",Qw="itemContent_cbad3345",Jw="removeButton_cbad3345",$w="expandButton_cbad3345",e1="personaWrapper_cbad3345",t1="personaDetails_cbad3345",o1="itemContainer_cbad3345",n1=s,r1=(l(v1,Uw=mt.Component),v1.prototype.render=function(){var e=this.props,t=e.item,o=e.onExpandItem,n=e.onRemoveItem,r=e.removeButtonAriaLabel,i=e.index,s=e.selected,a=Cs();return mt.createElement("div",{ref:this.persona,className:Er("ms-PickerPersona-container",n1.personaContainer,((e={})["is-selected "+n1.personaContainerIsSelected]=s,e),((e={})["is-invalid "+n1.validationError]=!t.isValid,e)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":i,role:"listitem","aria-labelledby":"selectedItemPersona-"+a},mt.createElement("div",{hidden:!t.canExpand||void 0===o},mt.createElement(Xu,{onClick:this._onClickIconButton(o),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:Er("ms-PickerItem-removeButton",n1.expandButton,n1.actionButton),ariaLabel:r})),mt.createElement("div",{className:Er(n1.personaWrapper)},mt.createElement("div",{className:Er("ms-PickerItem-content",n1.itemContent),id:"selectedItemPersona-"+a},mt.createElement(KC,pt({},t,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:Pr.size32}))),mt.createElement(Xu,{onClick:this._onClickIconButton(n),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:Er("ms-PickerItem-removeButton",n1.removeButton,n1.actionButton),ariaLabel:r})))},v1.prototype._onClickIconButton=function(t){return function(e){e.stopPropagation(),e.preventDefault(),t&&t()}},v1),i1=(l(f1,Gw=mt.Component),f1.prototype.render=function(){return mt.createElement("div",{ref:this.itemElement,onContextMenu:this._onClick},this.props.renderedItem,this.state.contextualMenuVisible?mt.createElement(Fu,{items:this.props.menuItems,shouldFocusOnMount:!0,target:this.itemElement.current,onDismiss:this._onCloseContextualMenu,directionalHint:Ea.bottomLeftEdge}):null)},f1),s1={root:"ms-EditingItem",input:"ms-EditingItem-input"},a1=(l(g1,Kw=mt.Component),g1.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()},g1.prototype.render=function(){var e=Cs(),t=ur(this.props,Zn),o=Fn()(zw);return mt.createElement("div",{"aria-labelledby":"editingItemPersona-"+e,className:o.root},mt.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())},g1.prototype._onInputKeyDown=function(e){e.which!==Tn.backspace&&e.which!==Tn.del||e.stopPropagation()},g1),l1=(l(m1,Vw=Hw),m1),c1=(l(h1,Ww=l1),h1.prototype._renderItem=function(e,t){var o=this,n=this.props.removeButtonAriaLabel,r=this.props.onExpandGroup,i={item:e,index:t,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)},t=0<i.menuItems.length;if(e.isEditing&&t)return mt.createElement(a1,pt({},i,{onRenderFloatingPicker:this.props.onRenderFloatingPicker,floatingPickerProps:this.props.floatingPickerProps,onEditingComplete:this._completeEditing,getEditingItemText:this.props.getEditingItemText}));n=(0,this.props.onRenderItem)(i);return t?mt.createElement(i1,{key:i.key,renderedItem:n,beginEditing:this._beginEditing,menuItems:this._createMenuItems(i.item),item:i.item}):n},h1.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},h1.defaultProps={onRenderItem:function(e){return mt.createElement(r1,pt({},e))}},h1),u1=Fn(),d1=mt.forwardRef(function(e,t){var o=e.styles,n=e.theme,r=e.className,i=e.vertical,s=e.alignContent,e=e.children,s=u1(o,{theme:n,className:r,alignContent:s,vertical:i});return mt.createElement("div",{className:s.root,ref:t},mt.createElement("div",{className:s.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},e))}),p1=In(d1,function(e){var t,o=e.theme,n=e.alignContent,r=e.vertical,e=e.className;return{root:[o.fonts.medium,{position:"relative"},n&&{textAlign:n},!n&&{textAlign:"center"},r&&("center"===n||!n)&&{verticalAlign:"middle"},r&&"start"===n&&{verticalAlign:"top"},r&&"end"===n&&{verticalAlign:"bottom"},r&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":((t={backgroundColor:o.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1})[Yt]={backgroundColor:"WindowText"},t)}},!r&&{padding:"4px 0",selectors:{":before":((t={backgroundColor:o.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"})[Yt]={backgroundColor:"WindowText"},t)}},e],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:o.semanticColors.bodyText,background:o.semanticColors.bodyBackground},r&&{padding:"12px 0"}]}},void 0,{scope:"Separator"});function h1(){var o=null!==Ww&&Ww.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}function m1(){return null!==Vw&&Vw.apply(this,arguments)||this}function g1(e){var o=Kw.call(this,e)||this;return o._editingFloatingPicker=mt.createRef(),o._renderEditingSuggestions=function(){var e=o.props.onRenderFloatingPicker,t=o.props.floatingPickerProps;return e&&t?mt.createElement(e,pt({componentRef:o._editingFloatingPicker,onChange:o._onSuggestionSelected,inputElement:o._editingInput,selectedItems:[]},t)):mt.createElement(mt.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){!o._editingFloatingPicker.current||null===e.relatedTarget||-1===(e=e.relatedTarget).className.indexOf("ms-Suggestions-itemButton")&&-1===e.className.indexOf("ms-Suggestions-sectionButton")&&o._editingFloatingPicker.current.forceResolveSuggestion()},o._onInputChange=function(e){e=e.target.value;""===e?o.props.onRemoveItem&&o.props.onRemoveItem():o._editingFloatingPicker.current&&o._editingFloatingPicker.current.onQueryStringChanged(e)},o._onSuggestionSelected=function(e){o.props.onEditingComplete(o.props.item,e)},fi(o),o.state={contextualMenuVisible:!1},o}function f1(e){var t=Gw.call(this,e)||this;return t.itemElement=mt.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})},fi(t),t.state={contextualMenuVisible:!1},t}function v1(e){e=Uw.call(this,e)||this;return e.persona=mt.createRef(),fi(e),e.state={contextualMenuVisible:!1},e}p1.displayName="Separator";var b1,y1,C1={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},_1=Ao(function(){return O({"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(100%)"}})}),S1=Ao(function(){return O({"100%":{transform:"translateX(-100%)"},"0%":{transform:"translateX(100%)"}})});(r=b1=b1||{})[r.line=1]="line",r[r.circle=2]="circle",r[r.gap=3]="gap",(K=y1=y1||{})[K.line=16]="line",K[K.gap=16]="gap",K[K.circle=24]="circle";var x1=Fn(),k1=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"100%":n,n=e.borderStyle,e=e.theme,n=x1(o,{theme:e,height:t,borderStyle:n});return mt.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:n.root},mt.createElement("svg",{width:"2",height:"2",className:n.topLeftCorner},mt.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),mt.createElement("svg",{width:"2",height:"2",className:n.topRightCorner},mt.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),mt.createElement("svg",{width:"2",height:"2",className:n.bottomRightCorner},mt.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),mt.createElement("svg",{width:"2",height:"2",className:n.bottomLeftCorner},mt.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},w1={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"},I1=In(k1,function(e){var t=e.height,o=e.borderStyle,n=e.theme,r=n.semanticColors,i=zo(w1,n),e=o||{},o={position:"absolute",fill:r.bodyBackground};return{root:[i.root,n.fonts.medium,{height:t+"px",boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:r.bodyBackground,borderWidth:0,selectors:((r={})[Yt]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},r)},e],topLeftCorner:[i.topLeftCorner,{top:"0",left:"0"},o],topRightCorner:[i.topRightCorner,{top:"0",right:"0"},o],bottomRightCorner:[i.bottomRightCorner,{bottom:"0",right:"0"},o],bottomLeftCorner:[i.bottomLeftCorner,{bottom:"0",left:"0"},o]}},void 0,{scope:"ShimmerLine"}),D1=Fn(),T1=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"10px":n,n=e.borderStyle,e=e.theme,n=D1(o,{theme:e,height:t,borderStyle:n});return mt.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:n.root})},E1={root:"ms-ShimmerGap-root"},P1=In(T1,function(e){var t=e.height,o=e.borderStyle,n=e.theme,e=n.semanticColors,o=o||{};return{root:[zo(E1,n).root,n.fonts.medium,{backgroundColor:e.bodyBackground,height:t+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:e.bodyBackground,selectors:((e={})[Yt]={backgroundColor:"Window",borderColor:"Window"},e)},o]}},void 0,{scope:"ShimmerGap"}),R1={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"},M1=Fn(),N1=function(e){var t=e.height,o=e.styles,n=e.borderStyle,e=e.theme,n=M1(o,{theme:e,height:t,borderStyle:n});return mt.createElement("div",{className:n.root},mt.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:n.svg},mt.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"})))},B1=In(N1,function(e){var t=e.height,o=e.borderStyle,n=e.theme,r=n.semanticColors,e=zo(R1,n),o=o||{};return{root:[e.root,n.fonts.medium,{width:t+"px",height:t+"px",minWidth:t+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:r.bodyBackground,selectors:((t={})[Yt]={borderColor:"Window"},t)},o],svg:[e.svg,{display:"block",fill:r.bodyBackground,selectors:((r={})[Yt]={fill:"Window"},r)}]}},void 0,{scope:"ShimmerCircle"}),F1=Fn(),A1=function(e){var a,l,t=e.styles,o=e.width,n=void 0===o?"auto":o,r=e.shimmerElements,i=e.rowHeight,s=void 0===i?(r||[]).map(function(e){switch(e.type){case b1.circle:e.height||(e.height=y1.circle);break;case b1.line:e.height||(e.height=y1.line);break;case b1.gap:e.height||(e.height=y1.gap)}return e}).reduce(function(e,t){return t.height&&t.height>e?t.height:e},0):i,o=e.flexWrap,i=e.theme,e=e.backgroundColor,o=F1(t,{theme:i,flexWrap:void 0!==o&&o});return mt.createElement("div",{style:{width:n},className:o.root},(a=e,l=s,r?r.map(function(e,t){var o=e.type,n=ht(e,["type"]),r=n.verticalAlign,i=n.height,s=L1(r,o,i,a,l);switch(e.type){case b1.circle:return mt.createElement(B1,pt({key:t},n,{styles:s}));case b1.gap:return mt.createElement(P1,pt({key:t},n,{styles:s}));case b1.line:return mt.createElement(I1,pt({key:t},n,{styles:s}))}}):mt.createElement(I1,{height:y1.line})))},L1=Ao(function(e,t,o,n,r){var i,o=r&&o?r-o:0;if(e&&"center"!==e?e&&"top"===e?i={borderBottomWidth:o+"px",borderTopWidth:"0px"}:e&&"bottom"===e&&(i={borderBottomWidth:"0px",borderTopWidth:o+"px"}):i={borderBottomWidth:(o?Math.floor(o/2):0)+"px",borderTopWidth:(o?Math.ceil(o/2):0)+"px"},n)switch(t){case b1.circle:return{root:pt(pt({},i),{borderColor:n}),svg:{fill:n}};case b1.gap:return{root:pt(pt({},i),{borderColor:n,backgroundColor:n})};case b1.line:return{root:pt(pt({},i),{borderColor:n}),topLeftCorner:{fill:n},topRightCorner:{fill:n},bottomLeftCorner:{fill:n},bottomRightCorner:{fill:n}}}return{root:i}}),H1={root:"ms-ShimmerElementsGroup-root"},O1=In(A1,function(e){var t=e.flexWrap,e=e.theme;return{root:[zo(H1,e).root,e.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}},void 0,{scope:"ShimmerElementsGroup"}),z1=Fn(),W1=mt.forwardRef(function(e,t){var o=e.styles,n=e.shimmerElements,r=e.children,i=e.width,s=e.className,a=e.customElementsGroup,l=e.theme,c=e.ariaLabel,u=e.shimmerColors,d=e.isDataLoaded,p=void 0!==d&&d,e=ur(e,cr),l=z1(o,{theme:l,isDataLoaded:p,className:s,transitionAnimationInterval:200,shimmerColor:u&&u.shimmer,shimmerWaveColor:u&&u.shimmerWave}),h=bl({lastTimeoutId:0}),s=_m(),m=s.setTimeout,g=s.clearTimeout,s=mt.useState(p),f=s[0],v=s[1],i={width:i||"100%"};return mt.useEffect(function(){if(p!==f){if(p)return h.lastTimeoutId=m(function(){v(!0)},200),function(){return g(h.lastTimeoutId)};v(!1)}},[p]),mt.createElement("div",pt({},e,{className:l.root,ref:t}),!f&&mt.createElement("div",{style:i,className:l.shimmerWrapper},mt.createElement("div",{className:l.shimmerGradient}),a||mt.createElement(O1,{shimmerElements:n,backgroundColor:u&&u.background})),r&&mt.createElement("div",{className:l.dataWrapper},r),c&&!p&&mt.createElement("div",{role:"status","aria-live":"polite"},mt.createElement(Ri,null,mt.createElement("div",{className:l.screenReaderText},c))))});W1.displayName="Shimmer";function V1(o){return function(e){var t;return(t={})[o]=e+"%",t}}function K1(e,t,o){return o===t?0:(e-t)/(o-t)*100}var G1,U1=In(W1,function(e){var t=e.isDataLoaded,o=e.className,n=e.theme,r=e.transitionAnimationInterval,i=e.shimmerColor,s=e.shimmerWaveColor,a=n.semanticColors,l=zo(C1,n),e=Pn(n);return{root:[l.root,n.fonts.medium,{position:"relative",height:"auto"},o],shimmerWrapper:[l.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:i||a.disabledBackground,transition:"opacity "+r+"ms",selectors:((o={"> *":{transform:"translateZ(0)"}})[Yt]=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"}),o)},t&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"}],shimmerGradient:[l.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:(i||a.disabledBackground)+"\n                      linear-gradient(\n                        to right,\n                        "+(i||a.disabledBackground)+" 0%,\n                        "+(s||a.bodyDivider)+" 50%,\n                        "+(i||a.disabledBackground)+" 100%)\n                      0 0 / 90% 100%\n                      no-repeat",transform:"translateX(-100%)",animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:(e?S1:_1)()}],dataWrapper:[l.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity "+r+"ms"},t&&{opacity:"1",position:"static"}],screenReaderText:So}},void 0,{scope:"Shimmer"}),j1=Fn(),q1=(l(Q1,G1=mt.Component),Q1.prototype.render=function(){var e=this.props,t=e.detailsListStyles,o=e.enableShimmer,n=e.items,r=e.listProps,i=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),s=(e.shimmerLines,e.styles),a=e.theme,l=e.ariaLabelForGrid,c=e.ariaLabelForShimmer,u=ht(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),e=r&&r.className;this._classNames=j1(s,{theme:a});e=pt(pt({},r),{className:o&&!i?Er(this._classNames.root,e):e});return mt.createElement(s0,pt({},u,{styles:t,items:o?this._shimmerItems:n,isPlaceholderData:o,ariaLabelForGrid:o&&c||l,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:e}))},Q1),Y1=In(q1,function(e){e=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%, "+e.whiteTranslucent40+" 65%,"+e.white+" 100%)"}}}}},void 0,{scope:"ShimmeredDetailsList"}),Z1=Fn(),X1=mt.forwardRef(function(e,t){t=function(r,e){var t=r.step,i=void 0===t?1:t,o=r.className,n=r.disabled,s=void 0!==n&&n,a=r.label,l=r.max,c=void 0===l?10:l,u=r.min,d=void 0===u?0:u,p=r.showValue,h=void 0===p||p,m=r.buttonProps,g=void 0===m?{}:m,f=r.vertical,v=void 0!==f&&f,b=r.snapToStep,y=r.valueFormat,C=r.styles,_=r.theme,S=r.originFromZero,x=r["aria-label"],k=r.ranged,w=r.onChange,I=r.onChanged,D=mt.useRef([]),T=_m(),E=T.setTimeout,P=T.clearTimeout,R=mt.useRef(null),M=Ih(r.value,r.defaultValue,function(e,t){return null==w?void 0:w(t,k?[H.latestLowerValue,t]:void 0,e)}),N=M[0],B=M[1],F=Ih(r.lowerValue,r.defaultLowerValue,function(e,t){return null==w?void 0:w(H.latestValue,[t,H.latestValue],e)}),A=F[0],L=F[1],t=Math.max(d,Math.min(c,N||0)),n=Math.max(d,Math.min(t,A||0)),H=bl({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:t,latestLowerValue:n});H.latestValue=t,H.latestLowerValue=n;function O(){P(H.onKeyDownTimer),H.onKeyDownTimer=-1}function z(e){O(),I&&(H.onKeyDownTimer=E(function(){I(e,H.latestValue,k?[H.latestLowerValue,H.latestValue]:void 0)},1e3))}function W(e,t){var o=Z(e),n=d+i*o,o=d+i*Math.round(o);q(e,o,n),t||(e.preventDefault(),e.stopPropagation())}function V(e){H.isBetweenSteps=void 0,null==I||I(e,H.latestValue,k?[H.latestLowerValue,H.latestValue]:void 0),X()}var K,G,U,l=tu("Slider",r.id||(null==g?void 0:g.id)),u=Z1(C,{className:o,disabled:s,vertical:v,showTransitions:!b&&!H.isBetweenSteps,showValue:h,ranged:k,theme:_}),j=(c-d)/i,p=function(e){var t=r.ariaValueText;if(void 0!==e)return t?t(e):e.toString()},q=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++;t=parseFloat(t.toFixed(n));H.isBetweenSteps=void 0!==o&&o!==t,k?H.isAdjustingLowerValue&&(S?t<=0:t<=H.latestValue)?L(t,e):!H.isAdjustingLowerValue&&(S?0<=t:t>=H.latestLowerValue)&&B(t,e):B(t,e)},Y=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},Z=function(e){var t,o=R.current.getBoundingClientRect(),n=(r.vertical?o.height:o.width)/j;return r.vertical?(t=Y(e,r.vertical),(o.bottom-t)/n):(e=Y(e,r.vertical),(Pn(r.theme)?o.right-e:e-o.left)/n)},m=function(e){var t;k&&(t=Z(e),t=d+i*t,H.isAdjustingLowerValue=t<=H.latestLowerValue||t-H.latestLowerValue<=H.latestValue-t),"mousedown"===e.type?D.current.push(Ha(window,"mousemove",W,!0),Ha(window,"mouseup",V,!0)):"touchstart"===e.type&&D.current.push(Ha(window,"touchmove",W,!0),Ha(window,"touchend",V,!0)),W(e,!0)},X=function(){D.current.forEach(function(e){return e()}),D.current=[]},Q=mt.useRef(null),f=mt.useRef(null);T=r,K=k&&!v?Q:f,G=t,U=k?[n,t]:void 0,mt.useImperativeHandle(T.componentRef,function(){return{get value(){return G},get range(){return U},focus:function(){K.current&&K.current.focus()}}},[K,G,U]);M=V1(v?"bottom":Pn(r.theme)?"right":"left"),F=V1(v?"height":"width"),N=K1(t,d,c),A=K1(n,d,c),C=K1(S?0:d,d,c),o=k?N-A:Math.abs(C-N),b=Math.min(100-N,100-C),_=k?A:Math.min(N,C),T={className:u.root,ref:e},v={className:u.titleLabel,children:a,disabled:s,htmlFor:x?void 0:l},e=h?{className:u.valueLabel,children:y?y(t):t,disabled:s,htmlFor:s?l:void 0}:void 0,y=k&&h?{className:u.valueLabel,children:y?y(n):n,disabled:s}:void 0,C=S?{className:u.zeroTick,style:M(C)}:void 0,o={className:Er(u.lineContainer,u.activeSection),style:F(o)},b={className:Er(u.lineContainer,u.inactiveSection),style:F(b)},F={className:Er(u.lineContainer,u.inactiveSection),style:F(_)},_=pt({"aria-disabled":s,role:"slider",tabIndex:s?void 0:0},{"data-is-focusable":!s}),g=pt(pt(pt({id:l,className:Er(u.slideBox,g.className)},!s&&{onMouseDown:m,onTouchStart:m,onKeyDown:function(e){var t=H.isAdjustingLowerValue?H.latestLowerValue:H.latestValue,o=0;switch(e.which){case Mn(Tn.left,r.theme):case Tn.down:o=-i,O(),z(e);break;case Mn(Tn.right,r.theme):case Tn.up:o=i,O(),z(e);break;case Tn.home:t=d,O(),z(e);break;case Tn.end:t=c,O(),z(e);break;default:return}q(e,t+o),e.preventDefault(),e.stopPropagation()}}),g&&ur(g,cr,["id","className"])),!k&&pt(pt({},_),{"aria-valuemin":d,"aria-valuemax":c,"aria-valuenow":t,"aria-valuetext":p(t),"aria-label":x||a})),s=s?{}:{onFocus:function(e){H.isAdjustingLowerValue=e.target===Q.current}},N=pt({ref:f,className:u.thumb,style:M(N)},k&&pt(pt(pt({},_),s),{id:"max-"+l,"aria-valuemin":n,"aria-valuemax":c,"aria-valuenow":t,"aria-valuetext":p(t),"aria-label":"max "+(x||a)})),a=k?pt(pt(pt({ref:Q,className:u.thumb,style:M(A)},_),s),{id:"min-"+l,"aria-valuemin":d,"aria-valuemax":t,"aria-valuenow":n,"aria-valuetext":p(n),"aria-label":"min "+(x||a)}):void 0;return{root:T,label:v,sliderBox:g,container:{className:u.container},valueLabel:e,lowerValueLabel:y,thumb:N,lowerValueThumb:a,zeroTick:C,activeTrack:o,topInactiveTrack:b,bottomInactiveTrack:F,sliderLine:{ref:R,className:u.line}}}(e,t);return mt.createElement("div",pt({},t.root),t&&mt.createElement(qh,pt({},t.label)),mt.createElement("div",pt({},t.container),e.ranged&&(e.vertical?t.valueLabel&&mt.createElement(qh,pt({},t.valueLabel)):t.lowerValueLabel&&mt.createElement(qh,pt({},t.lowerValueLabel))),mt.createElement("div",pt({},t.sliderBox),mt.createElement("div",pt({},t.sliderLine),e.ranged&&mt.createElement("span",pt({},t.lowerValueThumb)),mt.createElement("span",pt({},t.thumb)),t.zeroTick&&mt.createElement("span",pt({},t.zeroTick)),mt.createElement("span",pt({},t.bottomInactiveTrack)),mt.createElement("span",pt({},t.activeTrack)),mt.createElement("span",pt({},t.topInactiveTrack)))),e.ranged&&e.vertical?t.lowerValueLabel&&mt.createElement(qh,pt({},t.lowerValueLabel)):t.valueLabel&&mt.createElement(qh,pt({},t.valueLabel))),mt.createElement(oa,null))});function Q1(e){var n=G1.call(this,e)||this;return n._onRenderShimmerPlaceholder=function(e,t){var o=n.props.onRenderCustomPlaceholder,t=o?o(t,e,n._renderDefaultShimmerPlaceholder):n._renderDefaultShimmerPlaceholder(t);return mt.createElement(U1,{customElementsGroup:t})},n._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,o=e.compact,n=e.selectionMode,r=e.checkboxVisibility,i=e.cellStyleProps,s=void 0===i?Pv:i,e=Rv.rowHeight,i=Rv.compactRowHeight,a=o?i:e+1,l=[];return n!==rv.none&&r!==vv.hidden&&l.push(mt.createElement(O1,{key:"checkboxGap",shimmerElements:[{type:b1.gap,width:"40px",height:a}]})),t.forEach(function(e,t){var o=[],n=s.cellLeftPadding+s.cellRightPadding+e.calculatedWidth+(e.isPadded?s.cellExtraRightPadding:0);o.push({type:b1.gap,width:s.cellLeftPadding,height:a}),e.isIconOnly?(o.push({type:b1.line,width:e.calculatedWidth,height:e.calculatedWidth}),o.push({type:b1.gap,width:s.cellRightPadding,height:a})):(o.push({type:b1.line,width:.95*e.calculatedWidth,height:7}),o.push({type:b1.gap,width:s.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?s.cellExtraRightPadding:0),height:a})),l.push(mt.createElement(O1,{key:t,width:n+"px",shimmerElements:o}))}),l.push(mt.createElement(O1,{key:"endGap",width:"100%",shimmerElements:[{type:b1.gap,width:"100%",height:a}]})),mt.createElement("div",{style:{display:"flex"}},l)},n._shimmerItems=e.shimmerLines?new Array(e.shimmerLines):new Array(10),n}X1.displayName="SliderBase";var J1,$1={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"},eI=In(X1,function(e){var t,o=e.className,n=e.titleLabelClassName,r=e.theme,i=e.vertical,s=e.disabled,a=e.showTransitions,l=e.showValue,c=e.ranged,u=r.semanticColors,d=zo($1,r),p=u.inputBackgroundCheckedHovered,h=u.inputBackgroundChecked,m=u.inputPlaceholderBackgroundChecked,g=u.smallInputBorder,f=u.disabledBorder,v=u.disabledText,b=u.disabledBackground,y=u.inputBackground,C=u.smallInputBorder,_=u.disabledBorder,S=!s&&{backgroundColor:p,selectors:((S={})[Yt]={backgroundColor:"Highlight"},S)},x=!s&&{backgroundColor:m,selectors:((x={})[Yt]={borderColor:"Highlight"},x)},k=!s&&{backgroundColor:h,selectors:((k={})[Yt]={backgroundColor:"Highlight"},k)},w=!s&&{border:"2px solid "+p,selectors:((w={})[Yt]={borderColor:"Highlight"},w)},I=!e.disabled&&{backgroundColor:u.inputPlaceholderBackgroundChecked,selectors:((I={})[Yt]={backgroundColor:"Highlight"},I)};return{root:$e([d.root,r.fonts.medium,{userSelect:"none"},i&&{marginRight:8}],[s?void 0:d.enabled],[s?d.disabled:void 0],[i?void 0:d.row],[i?d.column:void 0],[o]),titleLabel:[{padding:0},n],container:[d.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},i&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:$e([d.slideBox,!c&&bo(r),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:((n={})[":active ."+d.activeSection]=S,n[":hover ."+d.activeSection]=k,n[":active ."+d.inactiveSection]=x,n[":hover ."+d.inactiveSection]=x,n[":active ."+d.thumb]=w,n[":hover ."+d.thumb]=w,n[":active ."+d.zeroTick]=I,n[":hover ."+d.zeroTick]=I,n[Yt]={forcedColorAdjust:"none"},n)},i?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[l?d.showValue:void 0],[a?d.showTransitions:void 0]),thumb:[d.thumb,c&&bo(r,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:C,borderRadius:10,boxSizing:"border-box",background:y,display:"block",width:16,height:16,position:"absolute"},i?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:Pn(r)?"translateX(50%)":"translateX(-50%)"},a&&{transition:"left "+we.durationValue3+" "+we.easeFunction1},s&&{borderColor:_,selectors:((_={})[Yt]={borderColor:"GrayText"},_)}],line:[d.line,{display:"flex",position:"relative"},i?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},i?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[d.activeSection,{background:g,selectors:((g={})[Yt]={backgroundColor:"WindowText"},g)},a&&{transition:"width "+we.durationValue3+" "+we.easeFunction1},s&&{background:v,selectors:((v={})[Yt]={backgroundColor:"GrayText",borderColor:"GrayText"},v)}],inactiveSection:[d.inactiveSection,{background:f,selectors:((f={})[Yt]={border:"1px solid WindowText"},f)},a&&{transition:"width "+we.durationValue3+" "+we.easeFunction1},s&&{background:b,selectors:((t={})[Yt]={borderColor:"GrayText"},t)}],zeroTick:[d.zeroTick,{position:"absolute",background:u.disabledBorder,selectors:((t={})[Yt]={backgroundColor:"WindowText"},t)},e.disabled&&{background:u.disabledBackground,selectors:((u={})[Yt]={backgroundColor:"GrayText"},u)},e.vertical?{width:"16px",height:"1px",transform:Pn(r)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[d.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},i?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}},void 0,{scope:"Slider"}),tI=Ao(function(e){var t=e.semanticColors,e=t.disabledText,t=t.disabledBackground;return{backgroundColor:t,pointerEvents:"none",cursor:"default",color:e,selectors:((t={":after":{borderColor:t}})[Yt]={color:"GrayText"},t)}}),oI=Ao(function(e,t,o){var n=e.palette,r=e.semanticColors,i=e.effects,s=n.neutralSecondary,a=r.buttonText,e=r.buttonText,n=r.buttonBackgroundHovered,r=r.buttonBackgroundPressed;return un({root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:s,selectors:{"&.ms-DownButton":{borderRadius:"0 0 "+i.roundedCorner2+" 0"},"&.ms-UpButton":{borderRadius:"0 "+i.roundedCorner2+" 0 0"}}},rootHovered:{backgroundColor:n,color:a},rootChecked:{backgroundColor:r,color:e,selectors:((a={})[Yt]={backgroundColor:"Highlight",color:"HighlightText"},a)},rootPressed:{backgroundColor:r,color:e,selectors:((e={})[Yt]={backgroundColor:"Highlight",color:"HighlightText"},e)},rootDisabled:{opacity:.5,selectors:((e={})[Yt]={color:"GrayText",opacity:1},e)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}},{},o)});(t=J1=J1||{})[t.down=-1]="down",t[t.notSpinning=0]="notSpinning",t[t.up=1]="up";function nI(){}function rI(e,t){var o=t.min;return"number"==typeof(t=t.max)&&(e=Math.min(e,t)),e="number"==typeof o?Math.max(e,o):e}var iI=Fn(),sI={disabled:!1,label:"",step:1,labelPosition:Ma.start,incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},U=mt.forwardRef(function(e,t){var o=Hn(sI,e),n=o.disabled,r=o.label,i=o.min,s=o.max,a=o.step,l=o.defaultValue,c=o.value,u=o.precision,d=o.labelPosition,p=o.iconProps,h=o.incrementButtonIcon,m=o.incrementButtonAriaLabel,g=o.decrementButtonIcon,f=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,T=o.onDecrement,E=o.onIncrement,P=o.iconButtonProps,R=o.onValidate,M=o.onChange,N=o.styles,B=mt.useRef(null),F=tu("input"),A=tu("Label"),L=mt.useState(!1),H=L[0],O=L[1],e=mt.useState(J1.notSpinning),z=e[0],W=e[1],V=yl(),K=mt.useMemo(function(){return null!=u?u:Math.max(lx(a),0)},[u,a]),L=Ih(c,null!=l?l:String(i||0),M),e=L[0],G=L[1],l=mt.useState(),U=l[0],j=l[1],q=mt.useRef({stepTimeoutHandle:-1,latestValue:void 0,latestIntermediateValue:void 0}).current;q.latestValue=e,q.latestIntermediateValue=U;var Y=Bc(c);mt.useEffect(function(){c!==Y&&void 0!==U&&j(void 0)},[c,Y,U]);var Z,X,M=iI(N,{theme:_,disabled:n,isFocused:H,keyboardSpinDirection:z,labelPosition:d,className:I}),L=ur(o,cr,["onBlur","onFocus","className","onChange"]),Q=mt.useCallback(function(e){var t,o=q.latestIntermediateValue;void 0!==o&&o!==q.latestValue&&(t=void 0,R?t=R(o,e):o&&o.trim().length&&!isNaN(Number(o))&&(t=String(rI(Number(o),{min:i,max:s}))),void 0!==t&&t!==q.latestValue&&G(t,e)),j(void 0)},[q,s,i,R,G]),J=mt.useCallback(function(){0<=q.stepTimeoutHandle&&(V.clearTimeout(q.stepTimeoutHandle),q.stepTimeoutHandle=-1),!q.spinningByMouse&&z===J1.notSpinning||(q.spinningByMouse=!1,W(J1.notSpinning))},[q,z,V]),$=mt.useCallback(function(e,t){if(t.persist(),void 0!==q.latestIntermediateValue)return"keydown"===t.type&&Q(t),void V.requestAnimationFrame(function(){$(e,t)});var o=e(q.latestValue||"",t);void 0!==o&&o!==q.latestValue&&G(o,t);o=q.spinningByMouse;q.spinningByMouse="mousedown"===t.type,q.spinningByMouse&&(q.stepTimeoutHandle=V.setTimeout(function(){$(e,t)},o?75:400))},[q,V,Q,G]),ee=mt.useCallback(function(e){if(E)return E(e);e=cx(e=rI(Number(e)+Number(a),{max:s}),K);return String(e)},[K,s,E,a]),te=mt.useCallback(function(e){if(T)return T(e);e=cx(e=rI(Number(e)-Number(a),{min:i}),K);return String(e)},[K,i,T,a]),l=mt.useCallback(function(e){!n&&e.which!==Tn.up&&e.which!==Tn.down||J()},[n,J]),N=mt.useCallback(function(e){$(ee,e)},[ee,$]),H=mt.useCallback(function(e){$(te,e)},[te,$]);Z=B,X=e,mt.useImperativeHandle(o.componentRef,function(){return{get value(){return X},focus:function(){Z.current&&Z.current.focus()}}},[Z,X]),aI(o);I=!!e&&!isNaN(Number(e)),p=(p||r)&&mt.createElement("div",{className:M.labelWrapper},p&&mt.createElement(Wr,pt({},p,{className:M.icon,"aria-hidden":"true"})),r&&mt.createElement(qh,{id:A,htmlFor:F,className:M.label,disabled:n},r));return mt.createElement("div",{className:M.root,ref:t},d!==Ma.bottom&&p,mt.createElement("div",pt({},L,{className:M.spinButtonWrapper,"aria-label":v,"aria-posinset":S,"aria-setsize":x,"data-ktp-target":!0}),mt.createElement("input",pt({value:null!=U?U:e,id:F,onChange:nI,onInput:function(e){j(e.target.value)},className:M.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":r&&A,"aria-valuenow":null!=k?k:I?Number(e):void 0,"aria-valuetext":null!=w?w:I?void 0:e,"aria-valuemin":i,"aria-valuemax":s,"aria-describedby":b,onBlur:function(e){var t;Q(e),O(!1),null===(t=o.onBlur)||void 0===t||t.call(o,e)},ref:B,onFocus:function(e){var t;B.current&&(!q.spinningByMouse&&z===J1.notSpinning||J(),B.current.select(),O(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e))},onKeyDown:function(e){if(e.which!==Tn.up&&e.which!==Tn.down&&e.which!==Tn.enter||(e.preventDefault(),e.stopPropagation()),n)J();else{var t=J1.notSpinning;switch(e.which){case Tn.up:t=J1.up,$(ee,e);break;case Tn.down:t=J1.down,$(te,e);break;case Tn.enter:Q(e);break;case Tn.escape:j(void 0)}z!==t&&W(t)}},onKeyUp:l,disabled:n,"aria-disabled":n,"data-lpignore":!0,"data-ktp-execute-target":!0},D)),mt.createElement("span",{className:M.arrowButtonsContainer},mt.createElement(Xu,pt({styles:oI(_,!0,y),className:"ms-UpButton",checked:z===J1.up,disabled:n,iconProps:h,onMouseDown:N,onMouseLeave:J,onMouseUp:J,tabIndex:-1,ariaLabel:m,"data-is-focusable":!1},P)),mt.createElement(Xu,pt({styles:oI(_,!1,C),className:"ms-DownButton",checked:z===J1.down,disabled:n,iconProps:g,onMouseDown:H,onMouseLeave:J,onMouseUp:J,tabIndex:-1,ariaLabel:f,"data-is-focusable":!1},P)))),d===Ma.bottom&&p)});U.displayName="SpinButton";var aI=function(e){},lI=In(U,function(e){var t=e.theme,o=e.className,n=e.labelPosition,r=e.disabled,i=e.isFocused,s=t.palette,a=t.semanticColors,l=t.effects,c=t.fonts,u=a.inputBorder,d=a.inputBackground,p=a.inputBorderHovered,h=a.inputFocusBorderAlt,m=a.inputText,e=s.white,s=a.inputBackgroundChecked,a=a.disabledText;return{root:[c.medium,{outline:"none",width:"100%",minWidth:86},o],labelWrapper:[{display:"inline-flex",alignItems:"center"},n===Ma.start&&{height:32,float:"left",marginRight:10},n===Ma.end&&{height:32,float:"right",marginLeft:10},n===Ma.top&&{marginBottom:-1}],icon:[{padding:"0 5px",fontSize:Ae.large},r&&{color:a}],label:{pointerEvents:"none",lineHeight:Ae.large},spinButtonWrapper:[{display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86,selectors:{":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:u,borderRadius:l.roundedCorner2}}},(n===Ma.top||n===Ma.bottom)&&{width:"100%"},!r&&[{selectors:{":hover":{selectors:((p={":after":{borderColor:p}})[Yt]={selectors:{":after":{borderColor:"Highlight"}}},p)}}},i&&{selectors:{"&&":_o(h,l.roundedCorner2)}}],r&&tI(t)],input:["ms-spinButton-input",{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:c.medium.fontSize,fontFamily:"inherit",color:m,backgroundColor:d,height:"100%",padding:"0 8px 0 9px",outline:0,display:"block",minWidth:61,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:l.roundedCorner2+" 0 0 "+l.roundedCorner2},!r&&{selectors:{"::selection":{backgroundColor:s,color:e,selectors:((e={})[Yt]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},e)}}},r&&tI(t)],arrowButtonsContainer:[{display:"block",height:"100%",cursor:"default"},r&&tI(t)]}},void 0,{scope:"SpinButton"}),cI=pt;function uI(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var r=e;return r.isSlot?0===(o=mt.Children.toArray(o)).length?r(t):r(pt(pt({},t),{children:o})):mt.createElement.apply(mt,$e([e,t],o))}function dI(s,e){var e=(e=void 0===e?{}:e).defaultProp,a=void 0===e?"children":e;return function(e,t,o,n,r){if(mt.isValidElement(t))return t;var i,i=function(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];for(var r={},i=[],s=0,a=o;s<a.length;s++){var l=a[s];i.push(l&&l.className),cI(r,l)}return r.className=L([e,i],{rtl:Pn(t)}),r}(n,r,e,t="string"==typeof(t=t)||"number"==typeof t||"boolean"==typeof t?((i={})[a]=t,i):t);if(o){if(o.component){t=o.component;return mt.createElement(t,pt({},i))}if(o.render)return o.render(i,s)}return mt.createElement(s,pt({},i))}}var pI=Ao(function(e){return dI(e)});function hI(e,c){function t(l){var e;c.hasOwnProperty(l)&&((e=function(e){for(var t,o,n,r,i,s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];if(0<s.length)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return t=c[l],o=e,n=u[l],r=u.slots&&u.slots[l],i=u._defaultStyles&&u._defaultStyles[l],e=u.theme,void 0!==t.create?t.create(o,n,r,i):pI(t)(o,n,r,i,e)}).isSlot=!0,n[l]=e)}var o,n={},u=e;for(o in c)t(o);return n}function mI(r,i){var e=(i=void 0===i?{}:i).factoryOptions,t=(void 0===e?{}:e).defaultProp,e=function(e){var t=(o=i.displayName,n=mt.useContext(xn),t=i.fields,yt.getSettings(t||["theme","styles","tokens"],o,n.customizations)),o=i.state,n=(e=o?pt(pt({},e),o(e)):e).theme||t.theme,o=gI(e,n,i.tokens,t.tokens,e.tokens),t=function(t,o,n){for(var e=[],r=3;r<arguments.length;r++)e[r-3]=arguments[r];return un.apply(void 0,e.map(function(e){return"function"==typeof e?e(t,o,n):e}))}(e,n,o,i.styles,t.styles,e.styles),n=pt(pt({},e),{styles:t,tokens:o,_defaultStyles:t,theme:n});return r(n)};return e.displayName=i.displayName||r.name,t&&(e.create=dI(e,{defaultProp:t})),cI(e,i.statics),e}function gI(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];for(var r={},i=0,s=o;i<s.length;i++){var a=s[i];a&&(a="function"==typeof a?a(e,t):a,Array.isArray(a)&&(a=gI.apply(void 0,$e([e,t],a))),cI(r,a))}return r}function fI(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e}function vI(e){var t=parseFloat(e),o=isNaN(t)?0:t,t=isNaN(t)?"":t.toString();return{value:o,unit:e.substring(t.toString().length)||"px"}}function bI(e,o){if(void 0===e||"number"==typeof e||""===e)return e;var t=e.split(" ");return t.length<2?fI(e,o):t.reduce(function(e,t){return fI(e,o)+" "+fI(t,o)})}var yI,CI={root:"ms-StackItem"},_I={start:"flex-start",end:"flex-end"},SI=mI(function(e){var t=e.children,o=ur(e,Wn);return null==t?null:uI(hI(e,{root:"div"}).root,pt({},o),t)},{displayName:"StackItem",styles:function(e,t,o){var n=e.grow,r=e.shrink,i=e.disableShrink,s=e.align,a=e.verticalFill,l=e.order,c=e.className,e=zo(CI,t);return{root:[t.fonts.medium,e.root,{margin:o.margin,padding:o.padding,height:a?"100%":"auto",width:"auto"},n&&{flexGrow:!0===n?1:n},(i||!n&&!r)&&{flexShrink:0},r&&!i&&{flexShrink:1},s&&{alignSelf:_I[s]||s},l&&{order:l},c]}}}),xI={start:"flex-start",end:"flex-end"},kI={root:"ms-Stack",inner:"ms-Stack-inner"},wI=mI(function(e){var t=e.as,o=void 0===t?"div":t,n=e.disableShrink,r=e.wrap,i=ht(e,["as","disableShrink","wrap"]),t=mt.Children.map(e.children,function(e,t){return e?e&&"object"==typeof e&&e.type&&e.type.displayName===SI.displayName?mt.cloneElement(e,pt(pt({},{shrink:!n}),e.props)):e:null}),i=ur(i,Wn),o=hI(e,{root:o,inner:"div"});return uI(o.root,pt({},i),r?uI(o.inner,null,t):t)},{displayName:"Stack",styles:function(e,t,o){var n,r,i,s=e.verticalFill,a=e.horizontal,l=e.reversed,c=e.grow,u=e.wrap,d=e.horizontalAlign,p=e.verticalAlign,h=e.disableShrink,m=e.className,g=zo(kI,t),f=o&&o.childrenGap?o.childrenGap:e.gap,v=(o&&o.maxHeight?o:e).maxHeight,b=(o&&o.maxWidth?o:e).maxWidth,y=(o&&o.padding?o:e).padding,C=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var o=e.split(" ");if(2<o.length)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===o.length)return{rowGap:vI(fI(o[0],t)),columnGap:vI(fI(o[1],t))};t=vI(fI(e,t));return{rowGap:t,columnGap:t}}(f,t),_=C.rowGap,o=C.columnGap,e=""+-.5*o.value+o.unit,f=""+-.5*_.value+_.unit,C={textOverflow:"ellipsis"},h={"> *:not(.ms-StackItem)":{flexShrink:h?0:1}};return u?{root:[g.root,{flexWrap:"wrap",maxWidth:b,maxHeight:v,width:"auto",overflow:"visible",height:"100%"},d&&((n={})[a?"justifyContent":"alignItems"]=xI[d]||d,n),p&&((n={})[a?"alignItems":"justifyContent"]=xI[p]||p,n),m,{display:"flex"},a&&{height:s?"100%":"auto"}],inner:[g.inner,{display:"flex",flexWrap:"wrap",marginLeft:e,marginRight:e,marginTop:f,marginBottom:f,overflow:"visible",boxSizing:"border-box",padding:bI(y,t),width:0===o.value?"100%":"calc(100% + "+o.value+o.unit+")",maxWidth:"100vw",selectors:pt({"> *":pt({margin:""+.5*_.value+_.unit+" "+.5*o.value+o.unit},C)},h)},d&&((r={})[a?"justifyContent":"alignItems"]=xI[d]||d,r),p&&((r={})[a?"alignItems":"justifyContent"]=xI[p]||p,r),a&&{flexDirection:l?"row-reverse":"row",height:0===_.value?"100%":"calc(100% + "+_.value+_.unit+")",selectors:{"> *":{maxWidth:0===o.value?"100%":"calc(100% - "+o.value+o.unit+")"}}},!a&&{flexDirection:l?"column-reverse":"column",height:"calc(100% + "+_.value+_.unit+")",selectors:{"> *":{maxHeight:0===_.value?"100%":"calc(100% - "+_.value+_.unit+")"}}}]}:{root:[g.root,{display:"flex",flexDirection:a?l?"row-reverse":"row":l?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:s?"100%":"auto",maxWidth:b,maxHeight:v,padding:bI(y,t),boxSizing:"border-box",selectors:pt(((C={"> *":C})[l?"> *:not(:last-child)":"> *:not(:first-child)"]=[a&&{marginLeft:""+o.value+o.unit},!a&&{marginTop:""+_.value+_.unit}],C),h)},c&&{flexGrow:!0===c?1:c},d&&((i={})[a?"justifyContent":"alignItems"]=xI[d]||d,i),p&&((i={})[a?"alignItems":"justifyContent"]=xI[p]||p,i),m]}},statics:{Item:SI}});(xe=yI=yI||{})[xe.Both=0]="Both",xe[xe.Header=1]="Header",xe[xe.Footer=2]="Footer";var II,DI=(l(TI,II=mt.Component),Object.defineProperty(TI.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(TI.prototype,"placeholder",{get:function(){return this._placeHolder.current},enumerable:!1,configurable:!0}),Object.defineProperty(TI.prototype,"stickyContentTop",{get:function(){return this._stickyContentTop.current},enumerable:!1,configurable:!0}),Object.defineProperty(TI.prototype,"stickyContentBottom",{get:function(){return this._stickyContentBottom.current},enumerable:!1,configurable:!0}),Object.defineProperty(TI.prototype,"nonStickyContent",{get:function(){return this._nonStickyContent.current},enumerable:!1,configurable:!0}),Object.defineProperty(TI.prototype,"canStickyTop",{get:function(){return this.props.stickyPosition===yI.Both||this.props.stickyPosition===yI.Header},enumerable:!1,configurable:!0}),Object.defineProperty(TI.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===yI.Both||this.props.stickyPosition===yI.Footer},enumerable:!1,configurable:!0}),TI.prototype.componentDidMount=function(){var e=this._getContext().scrollablePane;e&&(e.subscribe(this._onScrollEvent),e.addSticky(this))},TI.prototype.componentWillUnmount=function(){var e=this._getContext().scrollablePane;e&&(e.unsubscribe(this._onScrollEvent),e.removeSticky(this))},TI.prototype.componentDidUpdate=function(e,t){var o,n,r,i,s=this._getContext().scrollablePane;s&&(o=(i=this.state).isStickyBottom,n=i.isStickyTop,r=i.distanceFromTop,i=!1,t.distanceFromTop!==r&&(s.sortSticky(this,!0),i=!0),t.isStickyTop===n&&t.isStickyBottom===o||(this._activeElement&&this._activeElement.focus(),s.updateStickyRefHeights(),i=!0),i&&s.syncScrollSticky(this))},TI.prototype.shouldComponentUpdate=function(e,t){if(!this.context.scrollablePane)return!0;var o=this.state,n=o.isStickyTop,r=o.isStickyBottom,o=o.distanceFromTop;return n!==t.isStickyTop||r!==t.isStickyBottom||this.props.stickyPosition!==e.stickyPosition||this.props.children!==e.children||o!==t.distanceFromTop||EI(this._nonStickyContent,this._stickyContentTop)||EI(this._nonStickyContent,this._stickyContentBottom)||EI(this._nonStickyContent,this._placeHolder)},TI.prototype.render=function(){var e=this.state,t=e.isStickyTop,o=e.isStickyBottom,n=this.props,e=n.stickyClassName,n=n.children;return this.context.scrollablePane?mt.createElement("div",{ref:this._root},this.canStickyTop&&mt.createElement("div",{ref:this._stickyContentTop,style:{pointerEvents:t?"auto":"none"}},mt.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&mt.createElement("div",{ref:this._stickyContentBottom,style:{pointerEvents:o?"auto":"none"}},mt.createElement("div",{style:this._getStickyPlaceholderHeight(o)})),mt.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||o)&&mt.createElement("span",{style:So},n),mt.createElement("div",{ref:this._nonStickyContent,className:t||o?e:void 0,style:this._getContentStyles(t||o)},n))):mt.createElement("div",null,this.props.children)},TI.prototype.addSticky=function(e){this.nonStickyContent&&e.appendChild(this.nonStickyContent)},TI.prototype.resetSticky=function(){this.nonStickyContent&&this.placeholder&&this.placeholder.appendChild(this.nonStickyContent)},TI.prototype.setDistanceFromTop=function(e){e=this._getNonStickyDistanceFromTop(e);this.setState({distanceFromTop:e})},TI.prototype._getContentStyles=function(e){return{backgroundColor:this.props.stickyBackgroundColor||this._getBackground(),overflow:e?"hidden":""}},TI.prototype._getStickyPlaceholderHeight=function(e){var t=this.nonStickyContent?this.nonStickyContent.offsetHeight:0;return{visibility:e?"hidden":"visible",height:e?0:t}},TI.prototype._getNonStickyPlaceholderHeightAndWidth=function(){var e=this.state,t=e.isStickyTop,e=e.isStickyBottom;if(t||e){t=0,e=0;return this.nonStickyContent&&this.nonStickyContent.firstElementChild&&(t=this.nonStickyContent.offsetHeight,e=this.nonStickyContent.firstElementChild.scrollWidth+(this.nonStickyContent.firstElementChild.offsetWidth-this.nonStickyContent.firstElementChild.clientWidth)),{height:t,width:e}}return{}},TI.prototype._getBackground=function(){if(this.root){for(var e=this.root;"rgba(0, 0, 0, 0)"===window.getComputedStyle(e).getPropertyValue("background-color")||"transparent"===window.getComputedStyle(e).getPropertyValue("background-color");){if("HTML"===e.tagName)return;e.parentElement&&(e=e.parentElement)}return window.getComputedStyle(e).getPropertyValue("background-color")}},TI.defaultProps={stickyPosition:yI.Both,isScrollSynced:!0},TI.contextType=kw,TI);function TI(e){var i=II.call(this,e)||this;return i._root=mt.createRef(),i._stickyContentTop=mt.createRef(),i._stickyContentBottom=mt.createRef(),i._nonStickyContent=mt.createRef(),i._placeHolder=mt.createRef(),i.syncScroll=function(e){var t=i.nonStickyContent;t&&i.props.isScrollSynced&&(t.scrollLeft=e.scrollLeft)},i._getContext=function(){return i.context},i._onScrollEvent=function(e,t){var o,n,r;i.root&&i.nonStickyContent&&(o=i._getNonStickyDistanceFromTop(e),r=n=!1,i.canStickyTop&&(n=o-i._getStickyDistanceFromTop()<e.scrollTop),i.canStickyBottom&&e.clientHeight-t.offsetHeight<=o&&(r=o-Math.floor(e.scrollTop)>=i._getStickyDistanceFromTopForFooter(e,t)),document.activeElement&&i.nonStickyContent.contains(document.activeElement)&&(i.state.isStickyTop!==n||i.state.isStickyBottom!==r)?i._activeElement=document.activeElement:i._activeElement=void 0,i.setState({isStickyTop:i.canStickyTop&&n,isStickyBottom:r,distanceFromTop:o}))},i._getStickyDistanceFromTop=function(){var e=0;return e=i.stickyContentTop?i.stickyContentTop.offsetTop:e},i._getStickyDistanceFromTopForFooter=function(e,t){var o=0;return o=i.stickyContentBottom?e.clientHeight-t.offsetHeight+i.stickyContentBottom.offsetTop:o},i._getNonStickyDistanceFromTop=function(e){var t=0,o=i.root;if(o){for(;o&&o.offsetParent!==e;)t+=o.offsetTop,o=o.offsetParent;o&&o.offsetParent===e&&(t+=o.offsetTop)}return t},fi(i),i.state={isStickyTop:!1,isStickyBottom:!1,distanceFromTop:void 0},i._activeElement=void 0,i}function EI(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}var PI=Fn(),RI=Ao(function(e,t,o,n,r,i,s,a,l){e=qd(e);return pn({root:["ms-Button",e.root,o,t,s&&["is-checked",e.rootChecked],i&&["is-disabled",e.rootDisabled],!i&&!s&&{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}},i&&s&&[e.rootCheckedDisabled],!i&&s&&{selectors:{":hover":e.rootCheckedHovered,":active":e.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",e.flexContainer]})}),MI=function(e){var t=e.item,o=e.idPrefix,n=void 0===o?e.id:o,r=e.selected,i=void 0!==r&&r,s=e.disabled,a=void 0!==s&&s,l=e.styles,c=e.circle,u=void 0===c||c,d=e.color,p=e.onClick,h=e.onHover,m=e.onFocus,g=e.onMouseEnter,f=e.onMouseMove,v=e.onMouseLeave,b=e.onWheel,o=e.onKeyDown,r=e.height,s=e.width,c=e.borderWidth,y=PI(l,{theme:e.theme,disabled:a,selected:i,circle:u,isWhite:"ffffff"===(null==(d=Jm(d))?void 0:d.hex),height:r,width:s,borderWidth:c});return mt.createElement(vp,{item:t,id:n+"-"+t.id+"-"+t.index,key:t.id,disabled:a,role:"gridcell",onRenderItem:function(e){var t=y.svg;return mt.createElement("svg",{className:t,viewBox:"0 0 20 20",fill:null===(e=Jm(e.color))||void 0===e?void 0:e.str},u?mt.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):mt.createElement("rect",{width:"100%",height:"100%"}))},selected:i,onClick:p,onHover:h,onFocus:m,label:t.label,className:y.colorCell,getClassNames:RI,index:t.index,onMouseEnter:g,onMouseMove:f,onMouseLeave:v,onWheel:b,onKeyDown:o})},NI={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},BI=In(MI,function(e){var t,o,n=e.theme,r=e.disabled,i=e.selected,s=e.circle,a=e.isWhite,l=e.height,c=void 0===l?20:l,u=e.width,d=void 0===u?20:u,p=e.borderWidth,h=n.semanticColors,m=n.palette,g=m.neutralLighter,l=m.neutralLight,u=m.neutralSecondary,e=m.neutralTertiary,m=p||(d<24?2:4);return{colorCell:[bo(n,{inset:-1,position:"relative",highContrastStyle:NI}),{backgroundColor:h.bodyBackground,padding:0,position:"relative",boxSizing:"border-box",display:"inline-block",cursor:"pointer",userSelect:"none",borderRadius:0,border:"none",height:c,width:d,verticalAlign:"top"},!s&&{selectors:((t={})["."+go+" &:focus::after"]={outlineOffset:m-1+"px"},t)},s&&{borderRadius:"50%",selectors:((p={})["."+go+" &:focus::after"]={outline:"none",borderColor:h.focusBorder,borderRadius:"50%",left:-m,right:-m,top:-m,bottom:-m,selectors:((t={})[Yt]={outline:"1px solid ButtonText"},t)},p)},i&&{padding:2,border:m+"px solid "+l,selectors:((o={})["&:hover::before"]={content:'""',height:c,width:d,position:"absolute",top:-m,left:-m,borderRadius:s?"50%":"default",boxShadow:"inset 0 0 0 1px "+u},o)},!i&&{selectors:((o={})["&:hover, &:active, &:focus"]={backgroundColor:h.bodyBackground,padding:2,border:m+"px solid "+g},o["&:focus"]={borderColor:h.bodyBackground,padding:0,selectors:{":hover":{borderColor:n.palette.neutralLight,padding:2}}},o)},r&&{color:h.disabledBodyText,pointerEvents:"none",opacity:.3},a&&!i&&{backgroundColor:e,padding:1}],svg:[{width:"100%",height:"100%"},s&&{borderRadius:"50%"}]}},void 0,{scope:"ColorPickerGridCell"},!0),FI=Fn(),AI=mt.forwardRef(function(n,e){var t=tu("swatchColorPicker"),o=n.id||t,r=bl({isNavigationIdle:!0,cellFocused:!1,navigationIdleTimeoutId:void 0,navigationIdleDelay:250}),i=_m(),s=i.setTimeout,a=i.clearTimeout,l=n.colorCells,c=n.cellShape,u=void 0===c?"circle":c,d=n.columnCount,p=n.shouldFocusCircularNavigate,h=void 0===p||p,m=n.className,g=n.disabled,f=void 0!==g&&g,v=n.doNotContainWithinFocusZone,t=n.styles,i=n.cellMargin,c=void 0===i?10:i,p=n.defaultSelectedId,b=n.focusOnHover,y=n.mouseLeaveParentSelector,C=n.onChange,_=n.onColorChanged,S=n.onCellHovered,x=n.onCellFocused,k=n.getColorGridCellStyles,w=n.cellHeight,I=n.cellWidth,D=n.cellBorderWidth,g=mt.useMemo(function(){return l.map(function(e,t){return pt(pt({},e),{index:t})})},[l]),i=mt.useCallback(function(e,t){var o=null===(o=l.filter(function(e){return e.id===t})[0])||void 0===o?void 0:o.color;null==C||C(e,t,o),null==_||_(t,o)},[C,_,l]),i=Ih(n.selectedId,p,i),T=i[0],E=i[1],m=FI(t,{theme:n.theme,className:m,cellMargin:c}),c={root:m.root,tableCell:m.tableCell,focusedContainer:m.focusedContainer},m=mt.useCallback(function(){x&&(r.cellFocused=!1,x())},[r,x]),P=mt.useCallback(function(e){return b?(r.isNavigationIdle&&!f&&e.currentTarget.focus(),!0):!r.isNavigationIdle||!!f},[b,r,f]),R=mt.useCallback(function(e){if(!b)return!r.isNavigationIdle||!!f;e=e.currentTarget;return!r.isNavigationIdle||document&&e===document.activeElement||e.focus(),!0},[b,r,f]),M=mt.useCallback(function(e){if(b&&y&&r.isNavigationIdle&&!f)for(var t=document.querySelectorAll(y),o=0;o<t.length;o+=1)if(t[o].contains(e.currentTarget)){if(t[o].setActive)try{t[o].setActive()}catch(e){}else t[o].focus();break}},[f,b,r,y]),N=mt.useCallback(function(e){if(S)return e?S(e.id,e.color):S()},[S]),B=mt.useCallback(function(e){if(x)return e?(r.cellFocused=!0,x(e.id,e.color)):(r.cellFocused=!1,x())},[r,x]),F=mt.useCallback(function(e){f||e.id!==T&&(x&&r.cellFocused&&(r.cellFocused=!1,x()),E(e.id))},[f,r,x,T,E]),A=mt.useCallback(function(){r.isNavigationIdle||void 0===r.navigationIdleTimeoutId?r.isNavigationIdle=!1:(a(r.navigationIdleTimeoutId),r.navigationIdleTimeoutId=void 0),r.navigationIdleTimeoutId=s(function(){r.isNavigationIdle=!0},r.navigationIdleDelay)},[a,r,s]),L=mt.useCallback(function(e){e.which!==Tn.up&&e.which!==Tn.down&&e.which!==Tn.left&&e.which!==Tn.right||A()},[A]),H=function(e){return mt.createElement(BI,{item:e,idPrefix:o,color:e.color,styles:k,disabled:f,onClick:F,onHover:N,onFocus:B,selected:T===e.id,circle:"circle"===u,label:e.label,onMouseEnter:P,onMouseMove:R,onMouseLeave:M,onWheel:A,onKeyDown:L,height:w,width:I,borderWidth:D})};return l.length<1||d<1?null:mt.createElement(ip,pt({},n,{ref:e,id:o,items:g,columnCount:d,onRenderItem:function(e,t){var o=n.onRenderColorCell;return(void 0===o?H:o)(e,H)},shouldFocusCircularNavigate:h,doNotContainWithinFocusZone:v,onBlur:m,theme:n.theme,styles:c}))});AI.displayName="SwatchColorPicker";function LI(e,t){var t=(o=t||{}).calloutWidth,o=o.calloutMaxWidth;return[{display:"block",maxWidth:364,border:0,outline:"transparent",width:t||"calc(100% + 1px)",animationName:""+KI(),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},e&&{maxWidth:o||456}]}var HI={focusedContainer:"ms-swatchColorPickerBodyContainer"},OI=In(AI,function(e){var t=e.className,o=e.theme;return{root:{margin:"8px 0",borderCollapse:"collapse"},tableCell:{padding:e.cellMargin/2},focusedContainer:[zo(HI,o).focusedContainer,{clear:"both",display:"block",minWidth:"180px"},t]}},void 0,{scope:"SwatchColorPicker"}),zI=Fn(),WI=mt.forwardRef(function(e,t){var o,n,r,i,s,a,l=mt.useRef(null),c=xl(),u=_r(l,t),d=tu("teaching-bubble-content-"),p=tu("teaching-bubble-title-"),h=null!==(k=e.ariaDescribedBy)&&void 0!==k?k:d,m=null!==(w=e.ariaLabelledBy)&&void 0!==w?w:p,g=e.illustrationImage,f=e.primaryButtonProps,v=e.secondaryButtonProps,b=e.headline,y=e.hasCondensedHeadline,C=e.hasCloseButton,_=void 0===C?e.hasCloseIcon:C,S=e.onDismiss,x=e.closeButtonAriaLabel,t=e.hasSmallHeadline,k=e.isWide,d=e.styles,w=e.theme,p=e.footerContent,C=e.focusTrapZoneProps,k=zI(d,{theme:w,hasCondensedHeadline:y,hasSmallHeadline:t,hasCloseButton:_,hasHeadline:!!b,isWide:k,primaryButtonClassName:f?f.className:void 0,secondaryButtonClassName:v?v.className:void 0});return Cl(c,"keydown",mt.useCallback(function(e){S&&e.which===Tn.escape&&S(e)},[S])),g&&g.src&&(o=mt.createElement("div",{className:k.imageContent},mt.createElement(Ir,pt({},g)))),b&&(i=mt.createElement("div",{className:k.header},mt.createElement("string"==typeof b?"p":"div",{role:"heading","aria-level":3,className:k.headline,id:m},b))),e.children&&(s="string"==typeof e.children?"p":"div",s=mt.createElement("div",{className:k.body},mt.createElement(s,{className:k.subText,id:h},e.children))),(f||v||p)&&(n=mt.createElement(wI,{className:k.footer,horizontal:!0,horizontalAlign:p?"space-between":"end"},mt.createElement(wI.Item,{align:"center"},mt.createElement("span",null,p)),mt.createElement(wI.Item,null,v&&mt.createElement(jd,pt({},v,{className:k.secondaryButton})),f&&mt.createElement(Qd,pt({},f,{className:k.primaryButton}))))),_&&(r=mt.createElement(Xu,{className:k.closeButton,iconProps:{iconName:"Cancel"},ariaLabel:x,onClick:S})),e=e.componentRef,a=l,mt.useImperativeHandle(e,function(){return{focus:function(){var e;return null===(e=a.current)||void 0===e?void 0:e.focus()}}},[a]),mt.createElement("div",{className:k.content,ref:u,role:"dialog",tabIndex:-1,"aria-labelledby":m,"aria-describedby":h,"data-is-focusable":!0},o,mt.createElement(Mh,pt({isClickableOutsideFocusTrap:!0},C),mt.createElement("div",{className:k.bodyContent},i,s,n,r)))}),VI={root:"ms-TeachingBubble",body:"ms-TeachingBubble-body",bodyContent:"ms-TeachingBubble-bodycontent",closeButton:"ms-TeachingBubble-closebutton",content:"ms-TeachingBubble-content",footer:"ms-TeachingBubble-footer",header:"ms-TeachingBubble-header",headerIsCondensed:"ms-TeachingBubble-header--condensed",headerIsSmall:"ms-TeachingBubble-header--small",headerIsLarge:"ms-TeachingBubble-header--large",headline:"ms-TeachingBubble-headline",image:"ms-TeachingBubble-image",primaryButton:"ms-TeachingBubble-primaryButton",secondaryButton:"ms-TeachingBubble-secondaryButton",subText:"ms-TeachingBubble-subText",button:"ms-Button",buttonLabel:"ms-Button-label"},KI=Ao(function(){return O({"0%":{opacity:0,animationTimingFunction:we.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})}),G=function(e){var t=e.hasCondensedHeadline,o=e.hasSmallHeadline,n=e.hasCloseButton,r=e.hasHeadline,i=e.isWide,s=e.primaryButtonClassName,a=e.secondaryButtonClassName,l=e.theme,c=e.calloutProps,u=void 0===c?{className:void 0,theme:l}:c,d=!t&&!o,p=l.palette,h=l.semanticColors,e=l.fonts,c=zo(VI,l),l=bo(l,{outlineColor:"transparent",borderColor:"transparent"});return{root:[c.root,e.medium,u.className],body:[c.body,n&&!r&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[c.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[c.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:p.white,fontSize:e.small.fontSize,selectors:{":hover":{background:p.themeDarkAlt,color:p.white},":active":{background:p.themeDark,color:p.white},":focus":{border:"1px solid "+h.variantBorder}}}],content:$e([c.content],LI(i),[i&&{display:"flex"}]),footer:[c.footer,{display:"flex",flex:"auto",alignItems:"center",color:p.white,selectors:((r={})["."+c.button+":not(:first-child)"]={marginLeft:10},r)}],header:$e([c.header],(h=c,r=o,t?[h.headerIsCondensed,{marginBottom:14}]:[r&&h.headerIsSmall,!r&&h.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]),[n&&{marginRight:24},(t||o)&&[e.medium,{fontWeight:Fe.semibold}]]),headline:[c.headline,{margin:0,color:p.white,fontWeight:Fe.semibold,overflowWrap:"break-word"},d&&[{fontSize:e.xLarge.fontSize}]],imageContent:[c.header,c.image,i&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[c.primaryButton,s,l,{backgroundColor:p.white,borderColor:p.white,color:p.themePrimary,whiteSpace:"nowrap",selectors:((s={})["."+c.buttonLabel]=e.medium,s[":hover"]={backgroundColor:p.themeLighter,borderColor:p.themeLighter,color:p.themeDark},s[":focus"]={backgroundColor:p.themeLighter,border:"1px solid "+p.black,color:p.themeDark,outline:"1px solid "+p.white,outlineOffset:"-2px"},s[":active"]={backgroundColor:p.white,borderColor:p.white,color:p.themePrimary},s)}],secondaryButton:[c.secondaryButton,a,l,{backgroundColor:p.themePrimary,borderColor:p.white,whiteSpace:"nowrap",selectors:((l={})["."+c.buttonLabel]=[e.medium,{color:p.white}],l[":hover"]={backgroundColor:p.themeDarkAlt,borderColor:p.white},l[":focus"]={backgroundColor:p.themeDark,border:"1px solid "+p.black,outline:"1px solid "+p.white,outlineOffset:"-2px"},l[":active"]={backgroundColor:p.themePrimary,borderColor:p.white},l)}],subText:[c.subText,{margin:0,fontSize:e.medium.fontSize,color:p.white,fontWeight:Fe.regular}],subComponentStyles:{callout:{root:$e(LI(i,u),[e.medium]),beak:[{background:p.themePrimary}],calloutMain:[{background:p.themePrimary}]}}}},GI=In(WI,G,void 0,{scope:"TeachingBubbleContent"}),UI={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:Ea.rightCenter},jI=Fn(),qI=mt.forwardRef(function(e,t){var o,n=mt.useRef(null),r=_r(n,t),i=e.calloutProps,s=e.targetElement,a=e.onDismiss,l=e.hasCloseButton,c=void 0===l?e.hasCloseIcon:l,u=e.isWide,d=e.styles,p=e.theme,t=e.target,l=mt.useMemo(function(){return pt(pt(pt({},UI),i),{theme:p})},[i,p]),d=jI(d,{theme:p,isWide:u,calloutProps:l,hasCloseButton:c}),u=d.subComponentStyles?d.subComponentStyles.callout:void 0;return c=e.componentRef,o=n,mt.useImperativeHandle(c,function(){return{focus:function(){var e;return null===(e=o.current)||void 0===e?void 0:e.focus()}}},[o]),mt.createElement(nc,pt({target:t||s,onDismiss:a},l,{className:d.root,styles:u,hideOverflow:!0}),mt.createElement("div",{ref:r},mt.createElement(GI,pt({},e))))});qI.displayName="TeachingBubble";var YI=In(qI,G,void 0,{scope:"TeachingBubble"}),ZI=function(e){if(null==e.children)return null;e.block,e.className;var t=e.as,o=void 0===t?"span":t,t=(e.variant,e.nowrap,ht(e,["block","className","as","variant","nowrap"]));return uI(hI(e,{root:o}).root,pt({},ur(t,Wn)))},XI=function(e,t){var o=e.as,n=e.className,r=e.block,i=e.nowrap,s=e.variant,e=t.fonts,t=t.semanticColors,s=e[s||"medium"];return{root:[s,{color:s.color||t.bodyText,display:r?"td"===o?"table-cell":"block":"inline",mozOsxFontSmoothing:s.MozOsxFontSmoothing,webkitFontSmoothing:s.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},n]}},QI=mI(ZI,{displayName:"Text",styles:XI}),JI={9:/[0-9]/,a:/[a-zA-Z]/,"*":/[a-zA-Z0-9]/};function $I(e,t){if(void 0===t&&(t=JI),!e)return[];for(var o=[],n=0,r=0;r+n<e.length;r++){var i=e.charAt(r+n);"\\"===i?n++:(i=t[i])&&o.push({displayIndex:r,format:i})}return o}function eD(e,t,o){if(!(n=e))return"";var n=n.replace(/\\/g,""),r=0;0<t.length&&(r=t[0].displayIndex-1);for(var i=0,s=t;i<s.length;i++){var a=s[i],l=" ";a.value?(l=a.value,a.displayIndex>r&&(r=a.displayIndex)):o&&(l=o),n=n.slice(0,a.displayIndex)+l+n.slice(a.displayIndex+1)}return n=!o?n.slice(0,r+1):n}function tD(e,t){for(var o=0;o<e.length;o++)if(e[o].displayIndex>=t)return e[o].displayIndex;return e[e.length-1].displayIndex}function oD(e,t,o){for(var n=0;n<e.length;n++)if(e[n].displayIndex>=t){if(e[n].displayIndex>=t+o)break;e[n].value=void 0}return e}function nD(e,t,o){for(var n=0,r=0,i=!1,s=0;s<e.length&&n<o.length;s++)if(e[s].displayIndex>=t)for(i=!0,r=e[s].displayIndex;n<o.length;){if(e[s].format.test(o.charAt(n))){e[s].value=o.charAt(n++),s+1<e.length?r=e[s+1].displayIndex:r++;break}n++}return i?r:t}var rD,iD,sD,aD="_",lD=mt.forwardRef(function(e,t){var o,n,d=mt.useRef(null),r=e.componentRef,i=e.onFocus,s=e.onBlur,a=e.onMouseDown,l=e.onMouseUp,p=e.onChange,c=e.onPaste,u=e.onKeyDown,h=e.mask,m=e.maskChar,g=void 0===m?aD:m,f=e.maskFormat,v=void 0===f?JI:f,b=e.value,y=bl(function(){return{maskCharData:$I(h,v),isFocused:!1,moveCursorOnMouseUp:!1,changeSelectionData:null}}),C=mt.useState(),_=C[0],S=C[1],x=mt.useState(function(){return eD(h,y.maskCharData,g)}),k=x[0],w=x[1],I=mt.useCallback(function(e){for(var t=0,o=0;t<e.length&&o<y.maskCharData.length;){var n=e[t];y.maskCharData[o].format.test(n)&&(y.maskCharData[o].value=n,o++),t++}},[y]),D=mt.useCallback(function(e){null==i||i(e),y.isFocused=!0;for(var t=0;t<y.maskCharData.length;t++)if(!y.maskCharData[t].value){S(y.maskCharData[t].displayIndex);break}},[y,i]),T=mt.useCallback(function(e){null==s||s(e),y.isFocused=!1,y.moveCursorOnMouseUp=!0},[y,s]),E=mt.useCallback(function(e){null==a||a(e),y.isFocused||(y.moveCursorOnMouseUp=!0)},[y,a]),m=mt.useCallback(function(e){if(null==l||l(e),y.moveCursorOnMouseUp){y.moveCursorOnMouseUp=!1;for(var t=0;t<y.maskCharData.length;t++)if(!y.maskCharData[t].value){S(y.maskCharData[t].displayIndex);break}}},[y,l]),f=mt.useCallback(function(e,t){var o,n,r,i,s,a,l,c,u;null===y.changeSelectionData&&d.current&&(y.changeSelectionData={changeType:"default",selectionStart:null!==d.current.selectionStart?d.current.selectionStart:-1,selectionEnd:null!==d.current.selectionEnd?d.current.selectionEnd:-1}),y.changeSelectionData&&(s=0,i=(r=y.changeSelectionData).changeType,c=r.selectionStart,o=r.selectionEnd,"textPasted"===i?(l=t.length+(n=o-c)-k.length,r=t.substr(a=c,l),n&&(y.maskCharData=oD(y.maskCharData,c,n)),s=nD(y.maskCharData,a,r)):"delete"===i||"backspace"===i?(i="delete"===i,s=(l=o-c)?(y.maskCharData=oD(y.maskCharData,c,l),tD(y.maskCharData,c)):i?(y.maskCharData=function(e,t){for(var o=0;o<e.length;o++)if(e[o].displayIndex>=t){e[o].value=void 0;break}return e}(y.maskCharData,c),tD(y.maskCharData,c)):(y.maskCharData=function(e,t){for(var o=e.length-1;0<=o;o--)if(e[o].displayIndex<t){e[o].value=void 0;break}return e}(y.maskCharData,c),function(e,t){for(var o=e.length-1;0<=o;o--)if(e[o].displayIndex<t)return e[o].displayIndex;return e[0].displayIndex}(y.maskCharData,c))):t.length>k.length?(a=o-(l=t.length-k.length),u=t.substr(a,l),s=nD(y.maskCharData,a,u)):t.length<=k.length&&(c=k.length+(l=1)-t.length,u=t.substr(a=o-l,l),y.maskCharData=oD(y.maskCharData,a,c),s=nD(y.maskCharData,a,u)),y.changeSelectionData=null,u=eD(h,y.maskCharData,g),w(u),S(s),null==p||p(e,u))},[k.length,y,h,g,p]),C=mt.useCallback(function(e){var t,o,n;null==u||u(e),y.changeSelectionData=null,d.current&&d.current.value&&(t=e.keyCode,o=e.ctrlKey,n=e.metaKey,o||n||t!==Tn.backspace&&t!==Tn.del||(n=e.target.selectionStart,e=e.target.selectionEnd,(t===Tn.backspace&&e&&0<e||t===Tn.del&&null!==n&&n<d.current.value.length)&&(y.changeSelectionData={changeType:t===Tn.backspace?"backspace":"delete",selectionStart:null!==n?n:-1,selectionEnd:null!==e?e:-1})))},[y,u]),x=mt.useCallback(function(e){null==c||c(e);var t=e.target.selectionStart,e=e.target.selectionEnd;y.changeSelectionData={changeType:"textPasted",selectionStart:null!==t?t:-1,selectionEnd:null!==e?e:-1}},[y,c]);return mt.useEffect(function(){y.maskCharData=$I(h,v),void 0!==b&&I(b),w(eD(h,y.maskCharData,g))},[h,b]),mt.useLayoutEffect(function(){void 0!==_&&d.current&&d.current.setSelectionRange(_,_)},[_]),mt.useEffect(function(){y.isFocused&&void 0!==_&&d.current&&d.current.setSelectionRange(_,_)}),o=y,n=d,mt.useImperativeHandle(r,function(){return{get value(){for(var e="",t=0;t<o.maskCharData.length;t++){if(!o.maskCharData[t].value)return;e+=o.maskCharData[t].value}return e},get selectionStart(){return n.current&&null!==n.current.selectionStart?n.current.selectionStart:-1},get selectionEnd(){return n.current&&n.current.selectionEnd?n.current.selectionEnd:-1},focus:function(){n.current&&n.current.focus()},blur:function(){n.current&&n.current.blur()},select:function(){n.current&&n.current.select()},setSelectionStart:function(e){n.current&&n.current.setSelectionStart(e)},setSelectionEnd:function(e){n.current&&n.current.setSelectionEnd(e)},setSelectionRange:function(e,t){n.current&&n.current.setSelectionRange(e,t)}}},[o,n]),mt.createElement(Og,pt({},e,{elementRef:t,onFocus:D,onBlur:T,onMouseDown:E,onMouseUp:m,onChange:f,onKeyDown:C,onPaste:x,value:k||"",componentRef:d}))});lD.displayName="MaskedTextField",(o=rD=rD||{}).shade30="#004578",o.shade20="#005a9e",o.shade10="#106ebe",o.primary="#0078d4",o.tint10="#2b88d8",o.tint20="#c7e0f4",o.tint30="#deecf9",o.tint40="#eff6fc",(V=iD=iD||{}).black="#000000",V.gray220="#11100f",V.gray210="#161514",V.gray200="#1b1a19",V.gray190="#201f1e",V.gray180="#252423",V.gray170="#292827",V.gray160="#323130",V.gray150="#3b3a39",V.gray140="#484644",V.gray130="#605e5c",V.gray120="#797775",V.gray110="#8a8886",V.gray100="#979593",V.gray90="#a19f9d",V.gray80="#b3b0ad",V.gray70="#bebbb8",V.gray60="#c8c6c4",V.gray50="#d2d0ce",V.gray40="#e1dfdd",V.gray30="#edebe9",V.gray20="#f3f2f1",V.gray10="#faf9f8",V.white="#ffffff",(i=sD=sD||{}).pinkRed10="#750b1c",i.red20="#a4262c",i.red10="#d13438",i.redOrange20="#603d30",i.redOrange10="#da3b01",i.orange30="#8e562e",i.orange20="#ca5010",i.orange10="#ffaa44",i.yellow10="#fce100",i.orangeYellow20="#986f0b",i.orangeYellow10="#c19c00",i.yellowGreen10="#8cbd18",i.green20="#0b6a0b",i.green10="#498205",i.greenCyan10="#00ad56",i.cyan40="#005e50",i.cyan30="#005b70",i.cyan20="#038387",i.cyan10="#00b7c3",i.cyanBlue20="#004e8c",i.cyanBlue10="#0078d4",i.blue10="#4f6bed",i.blueMagenta40="#373277",i.blueMagenta30="#5c2e91",i.blueMagenta20="#8764b8",i.blueMagenta10="#8378de",i.magenta20="#881798",i.magenta10="#c239b3",i.magentaPink20="#9b0062",i.magentaPink10="#e3008c",i.gray40="#393939",i.gray30="#7a7574",i.gray20="#69797e",i.gray10="#a0aeb2";var cD,uD,dD,Y=O({from:{opacity:0},to:{opacity:1}}),ke=O({from:{opacity:1},to:{opacity:0}}),n=O({from:{transform:"scale3d(1.15, 1.15, 1)"},to:{transform:"scale3d(1, 1, 1)"}}),s=O({from:{transform:"scale3d(1, 1, 1)"},to:{transform:"scale3d(0.9, 0.9, 1)"}}),r=O({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(-48px, 0, 0)"}}),K=O({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(48px, 0, 0)"}}),t=O({from:{transform:"translate3d(48px, 0, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),U=O({from:{transform:"translate3d(-48px, 0, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),xe=O({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(0, -48px, 0)"}}),G=O({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(0, 48px, 0)"}}),o=O({from:{transform:"translate3d(0, 48px, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),V=O({from:{transform:"translate3d(0, -48px, 0)"},to:{transform:"translate3d(0, 0, 0)"}});function pD(e,t,o){return e+" "+t+" "+o}(i=cD=cD||{}).duration1="100ms",i.duration2="200ms",i.duration3="300ms",i.duration4="400ms",(i=uD=uD||{}).accelerate="cubic-bezier(0.9, 0.1, 1, 0.2)",i.decelerate="cubic-bezier(0.1, 0.9, 0.2, 1)",i.linear="cubic-bezier(0, 0, 1, 1)",i.standard="cubic-bezier(0.8, 0, 0.2, 1)",(i=dD=dD||{}).fadeIn=pD(Y,cD.duration1,uD.linear),i.fadeOut=pD(ke,cD.duration1,uD.linear),i.scaleDownIn=pD(n,cD.duration3,uD.decelerate),i.scaleDownOut=pD(s,cD.duration3,uD.decelerate),i.slideLeftOut=pD(r,cD.duration1,uD.accelerate),i.slideRightOut=pD(K,cD.duration1,uD.accelerate),i.slideLeftIn=pD(t,cD.duration1,uD.decelerate),i.slideRightIn=pD(U,cD.duration1,uD.decelerate),i.slideUpOut=pD(xe,cD.duration1,uD.accelerate),i.slideDownOut=pD(G,cD.duration1,uD.accelerate),i.slideUpIn=pD(o,cD.duration1,uD.decelerate),i.slideDownIn=pD(V,cD.duration1,uD.decelerate);var hD=At({});fn("@fluentui/theme","2.4.1");var mD=mt.createContext(void 0),gD=function(){var e=(0,mt.useContext)(mD),t=kn(["theme"]).theme;return e||t||At({})},fD=function(){return 0},vD=function(e,t){return hn(Array.isArray(e)?e:[e],t)};function bD(i){var s=new Map;return function(e){var t=(e=void 0===e?{}:e).theme,o=Sl(),n=gD(),t=t||n,e=fD(),n="function"==typeof i,r=n?[e,o,t]:[e,o],e=function(e){for(var t=0,o=r;t<o.length;t++)if(!(e=e.get(o[t])))return;return e}(s);return e||(n=n?i(t):i,e=vD(n,{targetWindow:o,rtl:!!t.rtl}),function(e,t,o){for(var n=0;n<t.length-1;n++){var r=t[n],i=e.get(r);i||(i=new Map,e.set(r,i)),e=i}e.set(t[t.length-1],o)}(s,r,e)),e}}function yD(e){var t=e.theme,o=e.customizerContext,n=e.as||"div",e="string"==typeof e.as?Dv(e.as,e):ga(e,["as"]);return mt.createElement(mD.Provider,{value:t},mt.createElement(xn.Provider,{value:o},mt.createElement(n,pt({},e))))}var CD=bD(function(e){var t=e.semanticColors,e=e.fonts;return{body:[{color:t.bodyText,background:t.bodyBackground,fontFamily:e.medium.fontFamily,fontWeight:e.medium.fontWeight,fontSize:e.medium.fontSize,MozOsxFontSmoothing:e.medium.MozOsxFontSmoothing,WebkitFontSmoothing:e.medium.WebkitFontSmoothing}]}}),_D=new Map,SD=mt.forwardRef(function(e,t){var o,n,r,i,s,a,l,c,u=(l=e,c=Hn({ref:_r(t,mt.useRef(null)),as:"div",applyTo:"element"},l),o=(l=c).theme,n=gD(),r=l.theme=mt.useMemo(function(){var e=Bt(n,o);return e.id=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o=[],n=0,r=e;n<r.length;n++){var i,s=r[n];s&&((i=s.id||_D.get(s))||(i=Cs(""),_D.set(s,i)),o.push(i))}return o.join("-")}(n,o),e},[n,o]),l.customizerContext=mt.useMemo(function(){return{customizations:{inCustomizerContext:!0,settings:{theme:r},scopedSettings:r.components||{}}}},[r]),l.theme.rtl!==n.rtl&&(l.dir=l.theme.rtl?"rtl":"ltr"),{state:c,render:yD}),d=u.render,p=u.state;return t=CD(e=p),l=e.className,c=e.applyTo,i=[t.root,t.body],s="body"===e.applyTo,a=null===(u=xl())||void 0===u?void 0:u.body,mt.useEffect(function(){if(s&&a){for(var e=0,t=i;e<t.length;e++){var o=t[e];o&&a.classList.add(o)}return function(){if(s&&a)for(var e=0,t=i;e<t.length;e++){var o=t[e];o&&a.classList.remove(o)}}}},[s,a,i]),e.className=Er(l,t.root,"element"===c&&t.body),ta(p.ref),d(p)});SD.displayName="ThemeProvider";var xD,kD,wD,ID=(DD.setSlot=function(e,t,o,n,r){if(void 0===o&&(o=!1),void 0===n&&(n=!1),void 0===r&&(r=!0),e.color||!e.value)if(r){var i=void 0;if("string"==typeof t){if(!(i=Jm(t)))throw new Error("color is invalid in setSlot(): "+t)}else i=t;DD._setSlot(e,i,o,n,r)}else e.color&&DD._setSlot(e,e.color,o,n,r)},DD.insureSlots=function(e,t){for(var o in e)if(e.hasOwnProperty(o)){o=e[o];if(!o.inherits&&!o.value){if(!o.color)throw new Error("A color slot rule that does not inherit must provide its own color.");DD._setSlot(o,o.color,t,!1,!1)}}},DD.getThemeAsJson=function(e){var t,o,n={};for(t in e)e.hasOwnProperty(t)&&(n[(o=e[t]).name]=o.color?o.color.str:o.value||"");return n},DD.getThemeAsCode=function(e){return DD._makeRemainingCode("loadTheme({\n  palette: {\n",e)},DD.getThemeAsCodeWithCreateTheme=function(e){return DD._makeRemainingCode("const myTheme = createTheme({\n  palette: {\n",e)},DD.getThemeAsSass=function(e){var t,o,n,r="";for(t in e)e.hasOwnProperty(t)&&(r+=Kp('${0}Color: "[theme: {1}, default: {2}]";\n',n=(o=e[t]).name.charAt(0).toLowerCase()+o.name.slice(1),n,o.color?o.color.str:o.value||""));return r},DD.getThemeForPowerShell=function(e){var t,o="";for(t in e)if(e.hasOwnProperty(t)){var n=e[t];if(n.value)continue;var r=n.name.charAt(0).toLowerCase()+n.name.slice(1),i=n.color?"#"+n.color.hex:n.value||"";n.color&&n.color.a&&100!==n.color.a&&(i+=String(n.color.a.toString(16))),o+=Kp('"{0}" = "{1}";\n',r,i)}return"@{\n"+o+"}"},DD._setSlot=function(e,t,o,n,r){if(void 0===r&&(r=!0),(e.color||!e.value)&&(r||!e.color||!e.isCustomized||!e.inherits)){!r&&e.isCustomized||n||!e.inherits||!vg(e.asShade)?(e.color=t,e.isCustomized=!0):(e.isBackgroundShade?e.color=Sg(t,e.asShade,o):e.color=_g(t,e.asShade,o),e.isCustomized=!1);for(var i=0,s=e.dependentRules;i<s.length;i++){var a=s[i];DD._setSlot(a,e.color,o,!1,r)}}},DD._makeRemainingCode=function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e+=Kp("    {0}: '{1}',\n",(o=t[o]).name.charAt(0).toLowerCase()+o.name.slice(1),o.color?"#"+o.color.hex:o.value||""));return e+"  }});"},DD);function DD(){}function TD(){var r={};function e(e,t,o,n){t=r[xD[t]],n={name:e,inherits:t,asShade:o,isCustomized:!1,isBackgroundShade:n=void 0===n?!1:n,dependentRules:[]};r[e]=n,t.dependentRules.push(n)}return ha(xD,function(n){r[n]={name:n,isCustomized:!0,dependentRules:[]},ha(lg,function(e,t){var o;e!==lg[lg.Unshaded]&&(o=r[n],t={name:n+e,inherits:r[n],asShade:t,isCustomized:!1,isBackgroundShade:n===xD[xD.backgroundColor],dependentRules:[]},r[n+e]=t,o.dependentRules.push(t))})}),r[xD[xD.primaryColor]].color=Jm("#0078d4"),r[xD[xD.backgroundColor]].color=Jm("#ffffff"),r[xD[xD.foregroundColor]].color=Jm("#323130"),e(kD[kD.themePrimary],xD.primaryColor,lg.Unshaded),e(kD[kD.themeLighterAlt],xD.primaryColor,lg.Shade1),e(kD[kD.themeLighter],xD.primaryColor,lg.Shade2),e(kD[kD.themeLight],xD.primaryColor,lg.Shade3),e(kD[kD.themeTertiary],xD.primaryColor,lg.Shade4),e(kD[kD.themeSecondary],xD.primaryColor,lg.Shade5),e(kD[kD.themeDarkAlt],xD.primaryColor,lg.Shade6),e(kD[kD.themeDark],xD.primaryColor,lg.Shade7),e(kD[kD.themeDarker],xD.primaryColor,lg.Shade8),e(kD[kD.neutralLighterAlt],xD.backgroundColor,lg.Shade1,!0),e(kD[kD.neutralLighter],xD.backgroundColor,lg.Shade2,!0),e(kD[kD.neutralLight],xD.backgroundColor,lg.Shade3,!0),e(kD[kD.neutralQuaternaryAlt],xD.backgroundColor,lg.Shade4,!0),e(kD[kD.neutralQuaternary],xD.backgroundColor,lg.Shade5,!0),e(kD[kD.neutralTertiaryAlt],xD.backgroundColor,lg.Shade6,!0),e(kD[kD.neutralTertiary],xD.foregroundColor,lg.Shade3),e(kD[kD.neutralSecondary],xD.foregroundColor,lg.Shade4),e(kD[kD.neutralPrimaryAlt],xD.foregroundColor,lg.Shade5),e(kD[kD.neutralPrimary],xD.foregroundColor,lg.Unshaded),e(kD[kD.neutralDark],xD.foregroundColor,lg.Shade7),e(kD[kD.black],xD.foregroundColor,lg.Shade8),e(kD[kD.white],xD.backgroundColor,lg.Unshaded,!0),r[kD[kD.neutralLighterAlt]].color=Jm("#faf9f8"),r[kD[kD.neutralLighter]].color=Jm("#f3f2f1"),r[kD[kD.neutralLight]].color=Jm("#edebe9"),r[kD[kD.neutralQuaternaryAlt]].color=Jm("#e1dfdd"),r[kD[kD.neutralDark]].color=Jm("#201f1e"),r[kD[kD.neutralTertiaryAlt]].color=Jm("#c8c6c4"),r[kD[kD.black]].color=Jm("#000000"),r[kD[kD.neutralDark]].color=Jm("#201f1e"),r[kD[kD.neutralPrimaryAlt]].color=Jm("#3b3a39"),r[kD[kD.neutralSecondary]].color=Jm("#605e5c"),r[kD[kD.neutralTertiary]].color=Jm("#a19f9d"),r[kD[kD.white]].color=Jm("#ffffff"),r[kD[kD.themeDarker]].color=Jm("#004578"),r[kD[kD.themeDark]].color=Jm("#005a9e"),r[kD[kD.themeDarkAlt]].color=Jm("#106ebe"),r[kD[kD.themeSecondary]].color=Jm("#2b88d8"),r[kD[kD.themeTertiary]].color=Jm("#71afe5"),r[kD[kD.themeLight]].color=Jm("#c7e0f4"),r[kD[kD.themeLighter]].color=Jm("#deecf9"),r[kD[kD.themeLighterAlt]].color=Jm("#eff6fc"),r[kD[kD.neutralLighterAlt]].isCustomized=!0,r[kD[kD.neutralLighter]].isCustomized=!0,r[kD[kD.neutralLight]].isCustomized=!0,r[kD[kD.neutralQuaternaryAlt]].isCustomized=!0,r[kD[kD.neutralDark]].isCustomized=!0,r[kD[kD.neutralTertiaryAlt]].isCustomized=!0,r[kD[kD.black]].isCustomized=!0,r[kD[kD.neutralDark]].isCustomized=!0,r[kD[kD.neutralPrimaryAlt]].isCustomized=!0,r[kD[kD.neutralSecondary]].isCustomized=!0,r[kD[kD.neutralTertiary]].isCustomized=!0,r[kD[kD.white]].isCustomized=!0,r[kD[kD.themeDarker]].isCustomized=!0,r[kD[kD.themeDark]].isCustomized=!0,r[kD[kD.themeDarkAlt]].isCustomized=!0,r[kD[kD.themePrimary]].isCustomized=!0,r[kD[kD.themeSecondary]].isCustomized=!0,r[kD[kD.themeTertiary]].isCustomized=!0,r[kD[kD.themeLight]].isCustomized=!0,r[kD[kD.themeLighter]].isCustomized=!0,r[kD[kD.themeLighterAlt]].isCustomized=!0,r}(V=xD=xD||{})[V.primaryColor=0]="primaryColor",V[V.backgroundColor=1]="backgroundColor",V[V.foregroundColor=2]="foregroundColor",(V=kD=kD||{})[V.themePrimary=0]="themePrimary",V[V.themeLighterAlt=1]="themeLighterAlt",V[V.themeLighter=2]="themeLighter",V[V.themeLight=3]="themeLight",V[V.themeTertiary=4]="themeTertiary",V[V.themeSecondary=5]="themeSecondary",V[V.themeDarkAlt=6]="themeDarkAlt",V[V.themeDark=7]="themeDark",V[V.themeDarker=8]="themeDarker",V[V.neutralLighterAlt=9]="neutralLighterAlt",V[V.neutralLighter=10]="neutralLighter",V[V.neutralLight=11]="neutralLight",V[V.neutralQuaternaryAlt=12]="neutralQuaternaryAlt",V[V.neutralQuaternary=13]="neutralQuaternary",V[V.neutralTertiaryAlt=14]="neutralTertiaryAlt",V[V.neutralTertiary=15]="neutralTertiary",V[V.neutralSecondary=16]="neutralSecondary",V[V.neutralPrimaryAlt=17]="neutralPrimaryAlt",V[V.neutralPrimary=18]="neutralPrimary",V[V.neutralDark=19]="neutralDark",V[V.black=20]="black",V[V.white=21]="white",(V=wD=wD||{})[V.bodyBackground=0]="bodyBackground",V[V.bodyText=1]="bodyText",V[V.disabledBackground=2]="disabledBackground",V[V.disabledText=3]="disabledText";var ED=/((1[0-2]|0?[1-9]):([0-5][0-9]):(?:[0-5]\d) ?([AaPp][Mm]))$/,PD=/((1[0-2]|0?[1-9]):([0-5][0-9]) ?([AaPp][Mm]))$/,RD=/([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:[0-5]\d):(?:[0-5]\d)$/,MD=/([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:[0-5]\d)$/,ND=function(e){var t,o=e.label,n=e.increments,r=void 0===n?30:n,i=e.showSeconds,s=void 0!==i&&i,a=e.allowFreeform,l=void 0===a||a,c=e.useHour12,u=void 0!==c&&c,d=e.timeRange,n=e.strings,p=void 0===n?(t=u?"12-hour":"24-hour",{invalidInputErrorMessage:s?"TimePicker format must be valid and in the "+t+" format hh:mm:ss A.":"TimePicker format must be valid and in the "+t+" format hh:mm A."}):n,h=e.onFormatDate,m=e.onValidateUserInput,g=e.onChange,i=ht(e,["label","increments","showSeconds","allowFreeform","useHour12","timeRange","strings","onFormatDate","onValidateUserInput","onChange"]),a=mt.useState(""),c=a[0],f=a[1],t=mt.useState(""),n=t[0],v=t[1],b=AD(r,d),e=mt.useMemo(function(){for(var e=Array(b),t=0;t<b;t++)e[t]=0;var n=FD(r,d);return e.map(function(e,t){var o,t=(o=r*t,(t=new Date(n.getTime())).setTime(t.getTime()+o*yp.MinutesInOneHour*yp.MillisecondsIn1Sec),t);t.setSeconds(0);t=h?h(t):t.toLocaleTimeString([],{hour:"numeric",minute:"2-digit",second:s?"2-digit":void 0,hour12:u});return{key:t,text:t}})},[d,r,b,s,h,u]),a=mt.useState(e[0].key),t=a[0],y=a[1],a=mt.useCallback(function(e,t,o,n){g&&g(e,t,o,n);var r=null==t?void 0:t.key,i="",e="";n?(l&&!t&&(h?m&&(e=m(n)):(o="",e=o=(u?s?ED:PD:s?RD:MD).test(n)?o:p.invalidInputErrorMessage)),i=n):t&&(i=t.text),v(e),f(i),y(r)},[l,h,m,s,u,g,p.invalidInputErrorMessage]);return mt.createElement(gf,pt({},i,{allowFreeform:l,selectedKey:t,label:o,errorMessage:n,options:e,onChange:a,text:c,onKeyPress:function(e){h||e.charCode>=Tn.zero&&e.charCode<=Tn.colon||e.charCode===Tn.space||e.charCode===Tn.a||e.charCode===Tn.m||e.charCode===Tn.p||e.preventDefault()}}))};ND.displayName="TimePicker";function BD(e){return{start:Math.min(Math.max(e.start,0),23),end:Math.min(Math.max(e.end,0),23)}}var FD=function(e,t){var i=new Date;return t&&(t=BD(t),i.setHours(t.start)),function(e){var t=new Date(i.getTime()),o=t.getMinutes();if(yp.MinutesInOneHour%e)t.setMinutes(0);else{for(var n=yp.MinutesInOneHour/e,r=1;r<=n;r++)if(e*(r-1)<o&&o<=e*r){o=e*r;break}t.setMinutes(o)}return t}(e)},AD=function(e,t){var o,n=yp.HoursInOneDay;return t&&((o=BD(t)).start>o.end?n=yp.HoursInOneDay-t.start-t.end:t.end>t.start&&(n=t.end-t.start)),Math.floor(yp.MinutesInOneHour*n/e)},LD=Fn(),HD=mt.forwardRef(function(e,t){var o=e.as,n=void 0===o?"div":o,r=e.ariaLabel,i=e.checked,s=e.className,a=e.defaultChecked,l=e.disabled,c=e.inlineLabel,u=e.label,d=e.offAriaLabel,p=e.offText,h=e.onAriaLabel,m=e.onChange,g=e.onChanged,f=e.onClick,v=e.onText,b=e.role,y=e.styles,C=e.theme,o=Ih(i,void 0!==a&&a,mt.useCallback(function(e,t){null==m||m(e,t),null==g||g(t)},[m,g])),_=o[0],S=o[1],i=LD(y,{theme:C,className:s,disabled:l,checked:_,inlineLabel:c,onOffMissing:!v&&!p}),a=_?h:d,o=tu("Toggle",e.id),y=o+"-label",C=o+"-stateText",s=_?v:p,c=ur(e,Zn,["defaultChecked"]),h=void 0;r||a||(u&&(h=y),s&&!h&&(h=C));d=mt.useRef(null);ta(d),zD(e,_,d);C={root:{className:i.root,hidden:c.hidden},label:{children:u,className:i.label,htmlFor:o,id:y},container:{className:i.container},pill:pt(pt({},c),{"aria-disabled":l,"aria-checked":_,"aria-label":r||a,"aria-labelledby":h,className:i.pill,"data-is-focusable":!0,"data-ktp-target":!0,disabled:l,id:o,onClick:function(e){l||(S(!_,e),f&&f(e))},ref:d,role:b||"switch",type:"button"}),thumb:{className:i.thumb},stateText:{children:s,className:i.text,htmlFor:o,id:C}};return mt.createElement(n,pt({ref:t},C.root),u&&mt.createElement(qh,pt({},C.label)),mt.createElement("div",pt({},C.container),mt.createElement("button",pt({},C.pill),mt.createElement("span",pt({},C.thumb))),(_&&v||p)&&mt.createElement(qh,pt({},C.stateText))))});HD.displayName="ToggleBase";function OD(){return("undefined"!=typeof performance&&performance.now?performance:Date).now()}var zD=function(e,t,o){mt.useImperativeHandle(e.componentRef,function(){return{get checked(){return!!t},focus:function(){o.current&&o.current.focus()}}},[t,o])},WD=In(HD,function(e){var t=e.theme,o=e.className,n=e.disabled,r=e.checked,i=e.inlineLabel,s=e.onOffMissing,a=t.semanticColors,l=t.palette,c=a.bodyBackground,u=a.inputBackgroundChecked,d=a.inputBackgroundCheckedHovered,p=l.neutralDark,h=a.disabledBodySubtext,m=a.smallInputBorder,g=a.inputForegroundChecked,f=a.disabledBodySubtext,v=a.disabledBackground,b=a.smallInputBorder,e=a.inputBorderHovered,l=a.disabledBodySubtext,a=a.disabledText;return{root:["ms-Toggle",r&&"is-checked",!n&&"is-enabled",n&&"is-disabled",t.fonts.medium,{marginBottom:"8px"},i&&{display:"flex",alignItems:"center"},o],label:["ms-Toggle-label",{display:"inline-block"},n&&{color:a,selectors:((o={})[Yt]={color:"GrayText"},o)},i&&!s&&{marginRight:16},s&&i&&{order:1,marginLeft:16},i&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",bo(t,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid "+b,background:c,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px"},!n&&[!r&&{selectors:{":hover":[{borderColor:e}],":hover .ms-Toggle-thumb":[{backgroundColor:p,selectors:((p={})[Yt]={borderColor:"Highlight"},p)}]}},r&&[{background:u,borderColor:"transparent",justifyContent:"flex-end"},{selectors:((d={":hover":[{backgroundColor:d,borderColor:"transparent",selectors:((d={})[Yt]={backgroundColor:"Highlight"},d)}]})[Yt]=pt({backgroundColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)}]],n&&[{cursor:"default"},!r&&[{borderColor:l}],r&&[{backgroundColor:h,borderColor:"transparent",justifyContent:"flex-end"}]],!n&&{selectors:{"&:hover":{selectors:((h={})[Yt]={borderColor:"Highlight"},h)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:m,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!n&&r&&[{backgroundColor:g,selectors:((g={})[Yt]={backgroundColor:"Window",borderColor:"Window"},g)}],n&&[!r&&[{backgroundColor:f}],r&&[{backgroundColor:v}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:Fe.regular}}},n&&{selectors:{"&&":{color:a,selectors:((a={})[Yt]={color:"GrayText"},a)}}}]}},void 0,{scope:"Toggle"}),VD=(GD.measure=function(e,t){GD._timeoutId&&GD.setPeriodicReset();var o=OD();t();var n=OD(),t=GD.summary[e]||{totalDuration:0,count:0,all:[]},o=n-o;t.totalDuration+=o,t.count++,t.all.push({duration:o,timeStamp:n}),GD.summary[e]=t},GD.reset=function(){GD.summary={},clearTimeout(GD._timeoutId),GD._timeoutId=NaN},GD.setPeriodicReset=function(){GD._timeoutId=setTimeout(function(){return GD.reset()},18e4)},GD.summary={},GD),KD="undefined"!=typeof WeakMap?new WeakMap:void 0;function GD(){}function UD(o){var t,n=(l(e,t=mt.Component),e.prototype.render=function(){var e=this.props,t=e.forwardedRef,o=e.asyncPlaceholder,n=ht(e,["forwardedRef","asyncPlaceholder"]),e=this.state.Component;return e?mt.createElement(e,pt(pt({},n),{ref:t})):o?mt.createElement(o,null):null},e.prototype.componentDidMount=function(){var t=this;this.state.Component||o.load().then(function(e){e&&(KD&&KD.set(o.load,e),t.setState({Component:e},o.onLoad))}).catch(o.onError)},e);function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={Component:KD?KD.get(o.load):void 0},e}return mt.forwardRef(function(e,t){return mt.createElement(n,pt({},e,{forwardedRef:t}))})}function jD(e){throw new Error("Unexpected object: "+e)}function qD(e,t){void 0===t&&(t=!0);var o=[];if(e){for(var n=0;n<e.children.length;n++)o.push(e.children.item(n));t&&Yi(e)&&o.push.apply(o,e._virtual.children)}return o}function YD(e){var t=e||qe();t&&!0!==(null===(e=t.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&(t.__hasInitializeFocusRects__||(t.__hasInitializeFocusRects__=!0,t.addEventListener("mousedown",ZD,!0),t.addEventListener("pointerdown",XD,!0),t.addEventListener("keydown",QD,!0)))}function ZD(e){vo(!1,e.target)}function XD(e){"mouse"!==e.pointerType&&vo(!1,e.target)}function QD(e){Qs(e.which)&&vo(!0,e.target)}var JD="";function $D(e){return JD+e}function eT(e){JD=e}var tT=function(n){var r;return function(e,t){r||(r=new Set,gi(n,{componentWillUnmount:function(){r.forEach(function(e){return clearTimeout(e)})}}));var o=setTimeout(function(){r.delete(o),e()},t);r.add(o)}};fn("@fluentui/utilities","8.3.4");var oT,nT=pt(pt({},q),{prevWeekAriaLabel:"Previous week",nextWeekAriaLabel:"Next week",prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker"}),rT={leftNavigation:"ChevronLeft",rightNavigation:"ChevronRight"},iT=Fn(),W=(l(lT,oT=mt.Component),lT.getDerivedStateFromProps=function(e,t){var o=e.initialDate&&!isNaN(e.initialDate.getTime())?e.initialDate:e.today||new Date,n=!!e.showFullMonth,e=n!==t.previousShowFullMonth?eh.Vertical:eh.Horizontal;return Ep(o,t.selectedDate)?{selectedDate:o,navigatedDate:t.navigatedDate,previousShowFullMonth:n,animationDirection:e}:{selectedDate:o,navigatedDate:o,previousShowFullMonth:n,animationDirection:e}},lT.prototype.focus=function(){this._dayGrid&&this._dayGrid.current&&this._dayGrid.current.focus()},lT.prototype.render=function(){var e=this.props,t=e.strings,o=e.dateTimeFormatter,n=e.firstDayOfWeek,r=e.minDate,i=e.maxDate,s=e.restrictedDates,a=e.today,l=e.styles,c=e.theme,u=e.className,d=e.showFullMonth,p=e.weeksToShow,e=ht(e,["strings","dateTimeFormatter","firstDayOfWeek","minDate","maxDate","restrictedDates","today","styles","theme","className","showFullMonth","weeksToShow"]),u=iT(l,{theme:c,className:u});return mt.createElement("div",{className:u.root,onKeyDown:this._onWrapperKeyDown,onTouchStart:this._onTouchStart,onTouchMove:this._onTouchMove,"aria-expanded":d},this._renderPreviousWeekNavigationButton(u),mt.createElement(nh,pt({styles:l,componentRef:this._dayGrid,strings:t,selectedDate:this.state.selectedDate,navigatedDate:this.state.navigatedDate,firstDayOfWeek:n,firstWeekOfYear:gp.FirstDay,dateRangeType:fp.Day,weeksToShow:d?p:1,dateTimeFormatter:o,minDate:r,maxDate:i,restrictedDates:s,onSelectDate:this._onSelectDate,onNavigateDate:this._onNavigateDate,today:a,lightenDaysOutsideNavigatedMonth:d,animationDirection:this.state.animationDirection},e)),this._renderNextWeekNavigationButton(u))},lT.prototype.componentDidUpdate=function(){this._focusOnUpdate&&(this.focus(),this._focusOnUpdate=!1)},lT.defaultProps={onSelectDate:void 0,initialDate:void 0,today:new Date,firstDayOfWeek:hp.Sunday,strings:nT,navigationIcons:rT,dateTimeFormatter:W,animationDirection:eh.Horizontal},lT),sT={root:"ms-WeeklyDayPicker-root"},aT=In(W,function(e){var t=e.className,o=e.theme,n=o.palette,e=zo(sT,o);return{root:[e.root,Uo,{width:220,padding:12,boxSizing:"content-box",display:"flex",alignItems:"center",flexDirection:"row"},t],dayButton:{borderRadius:"100%"},dayIsToday:{},dayCell:{borderRadius:"100%!important"},daySelected:{},navigationIconButton:[bo(o,{inset:0}),{width:12,minWidth:12,height:0,overflow:"hidden",padding:0,margin:0,border:"none",display:"flex",alignItems:"center",backgroundColor:n.neutralLighter,fontSize:Be.small,fontFamily:"inherit",selectors:((o={})["."+e.root+":hover &, ."+go+" ."+e.root+":focus &, ."+go+" &:focus"]={height:53,minHeight:12,overflow:"initial"},o["."+go+" ."+e.root+":focus-within &"]={height:53,minHeight:12,overflow:"initial"},o["&:hover"]={cursor:"pointer",backgroundColor:n.neutralLight},o["&:active"]={backgroundColor:n.neutralTertiary},o)}],disabledStyle:{selectors:{"&, &:disabled, & button":{color:n.neutralTertiaryAlt,pointerEvents:"none"}}}}},void 0,{scope:"WeeklyDayPicker"});function lT(e){var i=oT.call(this,e)||this;i._dayGrid=mt.createRef(),i._onSelectDate=function(e){var t=i.props.onSelectDate;i.setState({selectedDate:e}),i._focusOnUpdate=!0,t&&t(e)},i._onNavigateDate=function(e,t){var o=i.props.onNavigateDate;i.setState({navigatedDate:e}),i._focusOnUpdate=t,o&&o(e)},i._renderPreviousWeekNavigationButton=function(e){var t=i.props,o=t.minDate,n=t.firstDayOfWeek,r=t.navigationIcons,t=i.state.navigatedDate,r=Pn()?r.rightNavigation:r.leftNavigation,t=!o||Pp(o,Fp(t,n))<0;return mt.createElement("button",{className:Er(e.navigationIconButton,((n={})[e.disabledStyle]=!t,n)),disabled:!t,"aria-disabled":!t,onClick:t?i._onSelectPrevDateRange:void 0,onKeyDown:t?i._onButtonKeyDown(i._onSelectPrevDateRange):void 0,title:i._createPreviousWeekAriaLabel(),type:"button"},mt.createElement(Wr,{iconName:r}))},i._renderNextWeekNavigationButton=function(e){var t=i.props,o=t.maxDate,n=t.firstDayOfWeek,r=t.navigationIcons,t=i.state.navigatedDate,r=Pn()?r.leftNavigation:r.rightNavigation,n=!o||Pp(Cp(Fp(t,n),7),o)<0;return mt.createElement("button",{className:Er(e.navigationIconButton,((o={})[e.disabledStyle]=!n,o)),disabled:!n,"aria-disabled":!n,onClick:n?i._onSelectNextDateRange:void 0,onKeyDown:n?i._onButtonKeyDown(i._onSelectNextDateRange):void 0,title:i._createNextWeekAriaLabel(),type:"button"},mt.createElement(Wr,{iconName:r}))},i._onSelectPrevDateRange=function(){i.props.showFullMonth?i._navigateDate(Sp(i.state.navigatedDate,-1)):i._navigateDate(Cp(i.state.navigatedDate,-7))},i._onSelectNextDateRange=function(){i.props.showFullMonth?i._navigateDate(Sp(i.state.navigatedDate,1)):i._navigateDate(Cp(i.state.navigatedDate,7))},i._navigateDate=function(e){i.setState({navigatedDate:e}),i.props.onNavigateDate&&i.props.onNavigateDate(e)},i._onWrapperKeyDown=function(e){switch(e.which){case Tn.enter:case Tn.backspace:e.preventDefault()}},i._onButtonKeyDown=function(t){return function(e){e.which===Tn.enter&&t()}},i._onTouchStart=function(e){e=e.touches[0];e&&(i._initialTouchX=e.clientX)},i._onTouchMove=function(e){var t=Pn(),e=e.touches[0];e&&void 0!==i._initialTouchX&&e.clientX!==i._initialTouchX&&((e.clientX-i._initialTouchX)*(t?-1:1)<0?i._onSelectNextDateRange():i._onSelectPrevDateRange(),i._initialTouchX=void 0)},i._createPreviousWeekAriaLabel=function(){var e=i.props,t=e.strings,o=e.showFullMonth,n=e.firstDayOfWeek,r=i.state.navigatedDate,e=void 0;return o&&t.prevMonthAriaLabel?e=t.prevMonthAriaLabel+" "+t.months[Sp(r,-1).getMonth()]:!o&&t.prevWeekAriaLabel&&(r=Fp(Cp(r,-7),n),n=Cp(r,6),e=t.prevWeekAriaLabel+" "+i._formatDateRange(r,n)),e},i._createNextWeekAriaLabel=function(){var e=i.props,t=e.strings,o=e.showFullMonth,n=e.firstDayOfWeek,r=i.state.navigatedDate,e=void 0;return o&&t.nextMonthAriaLabel?e=t.nextMonthAriaLabel+" "+t.months[Sp(r,1).getMonth()]:!o&&t.nextWeekAriaLabel&&(r=Fp(Cp(r,7),n),n=Cp(r,6),e=t.nextWeekAriaLabel+" "+i._formatDateRange(r,n)),e},i._formatDateRange=function(e,t){var o=i.props,n=o.dateTimeFormatter,o=o.strings;return(null==n?void 0:n.formatMonthDayYear(e,o))+" - "+(null==n?void 0:n.formatMonthDayYear(t,o))},fi(i);var t=e.initialDate&&!isNaN(e.initialDate.getTime())?e.initialDate:e.today||new Date;return i.state={selectedDate:t,navigatedDate:t,previousShowFullMonth:!!e.showFullMonth,animationDirection:e.animationDirection},i._focusOnUpdate=!1,i}fn("@fluentui/react-window-provider","2.1.4"),NS()}(),uT}()});