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UACA,YACA,mBACA,mBACA,YACA,cACA,UACA,eACA,mBACA,cACA,UACA,SACA,YACA,aACA,eACA,WACA,YACA,YACA,YACA,eACA,iBACA,YACA,UACA,iBACA,gBACA,gBACA,SACA,YACA,cACA,aACA,cACA,aACA,cACA,SACA,cACA,qBACA,eACA,eACA,cACA,aACA,cACA,YACA,mBACA,WACA,gBACA,aACA,cACA,eACA,WACA,UACA,kBACA,gBACA,iBACA,iBACA,gBACA,eACA,gBACA,cACA,sBACA,yBAQWG,EAAwBH,EAAY,CAC/C,YACA,WACA,YACA,kBACA,MACA,YACA,SACA,UACA,KACA,OACA,MACA,OACA,QACA,WACA,QACA,YACA,aACA,SAQW9uG,EAAwB8uG,EAAYG,EAAuBD,GAgB3DE,GATkBJ,EAAY9uG,EAAuB,CAChE,SAQ6B8uG,EAAY9uG,EAAuB,CAChE,SACA,OACA,QACA,UACA,MACA,WAmCWgY,GA3BkB82F,EAAYI,EAAiB,CAC1D,WAQ0BJ,EAAY9uG,EAAuB,CAC7D,UAQ0B8uG,EAAY9uG,EAAuB,CAC7D,UAQ8B8uG,EAAY9uG,EAAuB,CACjE,WACA,OACA,WACA,QACA,MACA,SACA,UAQW2a,EAAmBm0F,EAAY9uG,EAAuB,CACjE,YACA,WACA,OACA,aACA,cACA,aACA,iBACA,aACA,OACA,UAQW+7C,EAAkB+yD,EAAYn0F,EAAkB,CAC3D,SACA,MACA,iBACA,eACA,UACA,UACA,OACA,SACA,YACA,OACA,MACA,YACA,MACA,YACA,WACA,UACA,cACA,WACA,WACA,MACA,OACA,OACA,OACA,QACA,UAQW6lE,EAAqBsuB,EAAYn0F,EAAkB,CAC9D,iBACA,OACA,UACA,OACA,YACA,YACA,cACA,WACA,WACA,OACA,SA0GWu/C,GAlGmB40C,EAAYn0F,EAAkB,CAC5D,OACA,WACA,aAG8Bm0F,EAAY9uG,EAAuB,CACjE,WACA,UAQ6B8uG,EAAY9uG,EAAuB,CAChE,cACA,gBAe0B8uG,EAAY9uG,EAA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mE,SAC1BwxB,EAAAA,EAAAA,KAAmB,EAAM31B,EAAGha,OAAmB4vC,EAEnD,CAEA,SAASX,EAASj1B,EAAmB41B,GAE/BylF,EAAqBr7G,EAAGmE,SAC1BwxB,EAAAA,EAAAA,KAAmB,EAAM31B,EAAGha,OAAmB4vC,EAEnD,C,uECjLa3W,GAAoD80F,E,SAAAA,KAAcxmH,EAAAA,gBAAwBA,EAAAA,S,wDCJjG,SAAUioF,EAAKzjE,GAGR4/F,SAAWA,QAAQn8B,MAC5Bm8B,QAAQn8B,KAAKzjE,EAEjB,C,wBCPM,SAAUgkB,EACd6lF,EACAt3I,EACAukI,EACAC,EACAC,GASF,C,uDCbM,SAAU/yE,EAAoB4lF,EAAuBt3I,EAAUmkI,GAarE,C","sources":["../node_modules/@fluentui/azure-themes/lib/src/azure/AzureColors.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/AzureDepths.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/ActionButton.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Breadcrumb.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Callout.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Checkbox.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/DetailsList.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/ChoiceGroupOptions.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/ColorPickerGridCell.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/ColorPicker.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/ComboBox.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/CommandBar.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/CommandBarButton.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/CompoundButton.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/ContextualMenu.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/DatePicker.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/DefaultButton.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Dialog.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/DocumentCard.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/DropDown.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/IconButton.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Label.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Link.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/MessageBar.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Modal.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Overlay.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Nav.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Panel.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Pivot.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/HoverCard.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/PrimaryButton.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/ProgressIndicator.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Rating.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/SearchBox.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Slider.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/SpinButton.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/SuggestionsItem.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Suggestions.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/TagItem.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/TagPicker.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/TeachingBubble.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/TextField.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Toggle.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Tooltip.styles.ts","../node_modules/@fluentui/azure-themes/lib/azure/src/azure/styles/Calendar.styles.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/AzureStyleSettings.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/AzureThemeDark.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/AzureThemeHighContrastDark.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/AzureThemeHighContrastLight.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/AzureThemeLight.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/AzureType.ts","../node_modules/@fluentui/azure-themes/lib/src/azure/Constants.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateValues/dateValues.ts","../node_modules/@fluentui/dom-utilities/src/elementContains.ts","../node_modules/@fluentui/dom-utilities/src/findElementRecursive.ts","../node_modules/@fluentui/dom-utilities/src/getParent.ts","../node_modules/@fluentui/dom-utilities/src/getVirtualParent.ts","../node_modules/@fluentui/dom-utilities/src/isVirtualElement.ts","../node_modules/@fluentui/dom-utilities/src/portalContainsElement.ts","../node_modules/@fluentui/dom-utilities/src/setPortalAttribute.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-0.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-1.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-2.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-3.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-4.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-5.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-6.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-7.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-8.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-9.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-10.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-11.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-12.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-13.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-14.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-15.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-16.ts","../node_modules/@fluentui/font-icons-mdl2/src/fabric-icons-17.ts","../node_modules/@fluentui/font-icons-mdl2/src/iconAliases.ts","../node_modules/@fluentui/font-icons-mdl2/src/version.ts","../node_modules/@fluentui/font-icons-mdl2/src/index.ts","../node_modules/@fluentui/foundation-legacy/src/createComponent.tsx","../node_modules/@fluentui/foundation-legacy/src/slots.tsx","../node_modules/@fluentui/foundation-legacy/src/utilities.ts","../node_modules/@fluentui/merge-styles/src/StyleOptionsState.ts","../node_modules/@fluentui/merge-styles/src/Stylesheet.ts","../node_modules/@fluentui/merge-styles/src/concatStyleSets.ts","../node_modules/@fluentui/merge-styles/src/concatStyleSetsWithProps.ts","../node_modules/@fluentui/merge-styles/src/extractStyleParts.ts","../node_modules/@fluentui/merge-styles/src/fontFace.ts","../node_modules/@fluentui/merge-styles/src/mergeStyleSets.ts","../node_modules/@fluentui/merge-styles/src/mergeStyles.ts","../node_modules/@fluentui/merge-styles/src/getVendorSettings.ts","../node_modules/@fluentui/merge-styles/lib/src/transforms/kebabRules.ts","../node_modules/@fluentui/merge-styles/lib/src/transforms/prefixRules.ts","../node_modules/@fluentui/merge-styles/lib/src/transforms/provideUnits.ts","../node_modules/@fluentui/merge-styles/lib/src/transforms/rtlifyRules.ts","../node_modules/@fluentui/merge-styles/src/styleToClassName.ts","../node_modules/@fluentui/merge-styles/src/tokenizeWithParentheses.ts","../node_modules/@fluentui/react-focus/lib/components/src/components/FocusZone/FocusZone.tsx","../node_modules/@fluentui/react-focus/lib/components/src/components/FocusZone/FocusZone.types.ts","../node_modules/@fluentui/react-hooks/src/useAsync.ts","../node_modules/@fluentui/react-hooks/src/useConst.ts","../node_modules/@fluentui/react-hooks/src/useControllableValue.ts","../node_modules/@fluentui/react-hooks/src/useId.ts","../node_modules/@fluentui/react-hooks/src/useMergedRefs.ts","../node_modules/@fluentui/react-hooks/src/useOnEvent.ts","../node_modules/@fluentui/react-hooks/src/usePrevious.ts","../node_modules/@fluentui/react-hooks/src/useTarget.ts","../node_modules/@fluentui/react-window-provider/src/WindowProvider.tsx","../node_modules/@fluentui/react/lib/src/common/DirectionalHint.ts","../node_modules/@fluentui/react/lib/components/src/components/Announced/Announced.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Announced/Announced.ts","../node_modules/@fluentui/react/lib/components/src/components/Announced/Announced.styles.ts","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/ActionButton/ActionButton.styles.ts","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/ActionButton/ActionButton.tsx","../node_modules/@fluentui/react/lib/components/src/components/Button/BaseButton.classNames.ts","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenu.types.ts","../node_modules/@fluentui/react/lib/components/src/components/Icon/ImageIcon.tsx","../node_modules/@fluentui/utilities/lib/src/componentAs/composeComponentAs.tsx","../node_modules/@fluentui/react/lib/utilities/src/utilities/contextualMenu/contextualMenuUtility.ts","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenuItem.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Divider/VerticalDivider.classNames.ts","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenu.cnstyles.ts","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenu.classNames.ts","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenuItem.ts","../node_modules/@fluentui/react/lib/components/ContextualMenu/src/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.tsx","../node_modules/@fluentui/react/lib/utilities/src/utilities/keytips/KeytipUtils.ts","../node_modules/@fluentui/react/lib/components/src/components/KeytipData/useKeytipData.ts","../node_modules/@fluentui/react/lib/components/src/components/KeytipData/KeytipData.tsx","../node_modules/@fluentui/react/lib/components/ContextualMenu/src/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuAnchor.tsx","../node_modules/@fluentui/react/lib/components/src/components/Divider/VerticalDivider.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Divider/VerticalDivider.tsx","../node_modules/@fluentui/react/lib/components/src/components/Divider/VerticalDivider.styles.ts","../node_modules/@fluentui/react/lib/components/ContextualMenu/src/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuSplitButton.tsx","../node_modules/@fluentui/react/lib/components/ContextualMenu/src/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuButton.tsx","../node_modules/@fluentui/react/lib/utilities/src/utilities/MenuContext/MenuContext.ts","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenu.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenu.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/ContextualMenu/ContextualMenu.tsx","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/SplitButton/SplitButton.classNames.ts","../node_modules/@fluentui/react/lib/components/src/components/Button/BaseButton.tsx","../node_modules/@fluentui/react/lib/components/src/components/Button/BaseButton.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Button/ButtonThemes.ts","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/CommandBarButton/CommandBarButton.styles.ts","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/CommandBarButton/CommandBarButton.tsx","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/CommandButton/CommandButton.tsx","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/CompoundButton/CompoundButton.styles.ts","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/CompoundButton/CompoundButton.tsx","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/DefaultButton/DefaultButton.styles.ts","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/DefaultButton/DefaultButton.tsx","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/IconButton/IconButton.styles.ts","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/IconButton/IconButton.tsx","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/PrimaryButton/PrimaryButton.tsx","../node_modules/@fluentui/react/lib/components/Button/src/components/Button/SplitButton/SplitButton.styles.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateFormatting/dateFormatting.defaults.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateValues/timeConstants.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateMath/dateMath.ts","../node_modules/@fluentui/utilities/src/string.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/getDateRangeTypeToUse.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/isContiguous.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/getBoundedDateRange.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/isBeforeMinDate.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/isAfterMaxDate.ts","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/isRestrictedDate.ts","../node_modules/@fluentui/react/lib/components/src/components/CalendarDayGrid/CalendarMonthHeaderRow.tsx","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/findAvailableDate.ts","../node_modules/@fluentui/react/lib/components/src/components/CalendarDayGrid/CalendarGridDayCell.tsx","../node_modules/@fluentui/react/lib/components/src/components/CalendarDayGrid/CalendarGridRow.tsx","../node_modules/@fluentui/react/lib/components/src/components/CalendarDayGrid/CalendarDayGrid.base.tsx","../node_modules/@fluentui/date-time-utilities/lib/src/dateGrid/getDayGrid.ts","../node_modules/@fluentui/react/lib/components/src/components/Calendar/Calendar.types.ts","../node_modules/@fluentui/react/lib/components/src/components/CalendarDayGrid/CalendarDayGrid.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/CalendarDayGrid/CalendarDayGrid.tsx","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarDay/CalendarDay.base.tsx","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarDay/CalendarDay.tsx","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarDay/CalendarDay.styles.ts","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarPicker/CalendarPicker.styles.ts","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarMonth/CalendarMonth.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Calendar/defaults.ts","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarYear/CalendarYear.base.tsx","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarYear/CalendarYear.tsx","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarYear/CalendarYear.styles.ts","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarMonth/CalendarMonth.base.tsx","../node_modules/@fluentui/react/lib/components/Calendar/src/components/Calendar/CalendarMonth/CalendarMonth.tsx","../node_modules/@fluentui/react/lib/components/src/components/Calendar/Calendar.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Calendar/Calendar.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Calendar/Calendar.tsx","../node_modules/@fluentui/utilities/src/Rectangle.ts","../node_modules/@fluentui/react/lib/utilities/src/utilities/positioning/positioning.ts","../node_modules/@fluentui/react/lib/components/src/components/Callout/CalloutContent.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Callout/CalloutContent.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Callout/CalloutContent.tsx","../node_modules/@fluentui/react/lib/components/src/components/Callout/Callout.tsx","../node_modules/@fluentui/react/lib/components/ChoiceGroup/src/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.base.tsx","../node_modules/@fluentui/react/lib/components/ChoiceGroup/src/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.styles.ts","../node_modules/@fluentui/react/lib/components/ChoiceGroup/src/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.tsx","../node_modules/@fluentui/react/lib/components/src/components/ChoiceGroup/ChoiceGroup.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/ChoiceGroup/ChoiceGroup.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/ChoiceGroup/ChoiceGroup.tsx","../node_modules/@fluentui/react/lib/utilities/src/utilities/selectableOption/SelectableOption.types.ts","../node_modules/@fluentui/react/lib/components/Dropdown/src/components/Dropdown/utilities/DropdownSizePosCache.ts","../node_modules/@fluentui/react/lib/components/src/components/Panel/Panel.types.ts","../node_modules/@fluentui/react/lib/components/src/components/Overlay/Overlay.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Overlay/Overlay.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Overlay/Overlay.tsx","../node_modules/@fluentui/react/lib/components/src/components/Panel/Panel.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Panel/Panel.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Panel/Panel.ts","../node_modules/@fluentui/react/lib/utilities/src/utilities/selectableOption/SelectableOption.ts","../node_modules/@fluentui/react/lib/components/src/components/Checkbox/Checkbox.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Checkbox/Checkbox.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Checkbox/Checkbox.tsx","../node_modules/@fluentui/react/lib/components/src/components/Dropdown/Dropdown.base.tsx","../node_modules/@fluentui/utilities/src/safeRequestAnimationFrame.ts","../node_modules/@fluentui/react/lib/components/src/components/Dropdown/Dropdown.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Dropdown/Dropdown.tsx","../node_modules/@fluentui/react-hooks/src/useEventCallback.ts","../node_modules/@fluentui/react-hooks/src/useUnmount.ts","../node_modules/@fluentui/react/lib/components/src/components/FocusTrapZone/FocusTrapZone.tsx","../node_modules/@fluentui/react/lib/components/src/components/Icon/FontIcon.tsx","../node_modules/@fluentui/react/lib/components/src/components/Icon/Icon.types.ts","../node_modules/@fluentui/react/lib/components/src/components/Icon/Icon.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Icon/Icon.tsx","../node_modules/@fluentui/react/lib/components/src/components/Icon/Icon.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Image/Image.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Image/Image.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Image/Image.tsx","../node_modules/@fluentui/react/lib/components/src/components/Image/Image.types.ts","../node_modules/@fluentui/react/lib/components/src/components/Label/Label.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Label/Label.tsx","../node_modules/@fluentui/react/lib/components/src/components/Label/Label.styles.ts","../node_modules/@fluentui/react-portal-compat-context/lib/PortalCompatContext.js","../node_modules/@fluentui/utilities/src/FocusRectsProvider.tsx","../node_modules/@fluentui/utilities/lib/src/customizations/mergeSettings.ts","../node_modules/@fluentui/utilities/lib/src/customizations/Customizer.tsx","../node_modules/@fluentui/utilities/lib/src/customizations/mergeCustomizations.ts","../node_modules/@fluentui/react/lib/components/src/components/Fabric/Fabric.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Fabric/Fabric.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Fabric/Fabric.tsx","../node_modules/@fluentui/react/lib/components/src/components/Layer/Layer.notification.ts","../node_modules/@fluentui/react/lib/components/src/components/Layer/Layer.base.tsx","../node_modules/@fluentui/dom-utilities/src/setVirtualParent.ts","../node_modules/@fluentui/react/lib/components/src/components/Layer/Layer.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Layer/Layer.tsx","../node_modules/@fluentui/react/lib/components/src/components/Link/useLink.ts","../node_modules/@fluentui/react/lib/components/src/components/Link/Link.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Link/Link.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Link/Link.tsx","../node_modules/@fluentui/react/lib/components/src/components/MessageBar/MessageBar.base.tsx","../node_modules/@fluentui/react-hooks/src/useBoolean.ts","../node_modules/@fluentui/react/lib/components/src/components/MessageBar/MessageBar.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/MessageBar/MessageBar.tsx","../node_modules/@fluentui/react/lib/components/src/components/MessageBar/MessageBar.types.ts","../node_modules/@fluentui/react/lib/components/src/components/OverflowSet/OverflowButton.tsx","../node_modules/@fluentui/react/lib/components/src/components/OverflowSet/OverflowSet.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/OverflowSet/OverflowSet.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/OverflowSet/OverflowSet.ts","../node_modules/@fluentui/react-hooks/src/useRefEffect.ts","../node_modules/@fluentui/react/lib/src/utilities/useOverflow.ts","../node_modules/@fluentui/react/lib/src/utilities/observeResize.ts","../node_modules/@fluentui/react/lib/components/src/components/Pivot/Pivot.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Pivot/Pivot.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Pivot/Pivot.tsx","../node_modules/@fluentui/react/lib/components/src/components/Pivot/PivotItem.tsx","../node_modules/@fluentui/react/lib/components/src/components/Popup/Popup.tsx","../node_modules/@fluentui/react/lib/components/src/components/Separator/Separator.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Separator/Separator.tsx","../node_modules/@fluentui/react/lib/components/src/components/Separator/Separator.styles.ts","../node_modules/@fluentui/utilities/src/math.ts","../node_modules/@fluentui/react/lib/components/src/components/SpinButton/SpinButton.types.ts","../node_modules/@fluentui/react/lib/components/src/components/SpinButton/SpinButton.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/SpinButton/SpinButton.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/SpinButton/SpinButton.tsx","../node_modules/@fluentui/react/lib/components/src/components/Spinner/Spinner.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Spinner/Spinner.styles.tsx","../node_modules/@fluentui/react/lib/components/src/components/Spinner/Spinner.tsx","../node_modules/@fluentui/react/lib/components/src/components/Spinner/Spinner.types.ts","../node_modules/@fluentui/react/lib/components/Stack/src/components/Stack/StackItem/StackItem.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Stack/StackUtils.ts","../node_modules/@fluentui/react/lib/components/src/components/Stack/Stack.styles.ts","../node_modules/@fluentui/react/lib/components/Stack/src/components/Stack/StackItem/StackItem.tsx","../node_modules/@fluentui/react/lib/components/src/components/Stack/Stack.tsx","../node_modules/@fluentui/react/lib/components/TextField/src/components/TextField/MaskedTextField/inputMask.ts","../node_modules/@fluentui/react/lib/components/TextField/src/components/TextField/MaskedTextField/MaskedTextField.tsx","../node_modules/@fluentui/react/lib/components/src/components/TextField/TextField.base.tsx","../node_modules/@fluentui/utilities/src/ie11Detector.ts","../node_modules/@fluentui/utilities/src/controlled.ts","../node_modules/@fluentui/react/lib/components/src/components/TextField/TextField.styles.tsx","../node_modules/@fluentui/react/lib/components/src/components/TextField/TextField.ts","../node_modules/@fluentui/react/lib/components/src/components/Text/Text.ts","../node_modules/@fluentui/react/lib/components/src/components/Text/Text.view.tsx","../node_modules/@fluentui/react/lib/components/src/components/Text/Text.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/TooltipHost.types.ts","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/Tooltip.types.ts","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/Tooltip.base.tsx","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/Tooltip.tsx","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/Tooltip.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/TooltipHost.base.tsx","../node_modules/@fluentui/utilities/src/overflow.ts","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/TooltipHost.styles.ts","../node_modules/@fluentui/react/lib/components/src/components/Tooltip/TooltipHost.ts","../node_modules/@fluentui/react/lib/utilities/src/utilities/ThemeProvider/ThemeContext.ts","../node_modules/@fluentui/react/lib/utilities/src/utilities/ThemeProvider/useTheme.ts","../node_modules/@fluentui/react/lib/utilities/src/utilities/decorators/withResponsiveMode.tsx","../node_modules/@fluentui/react/lib/utilities/src/utilities/hooks/useResponsiveMode.tsx","../node_modules/@fluentui/react/lib/utilities/src/utilities/keytips/KeytipConstants.ts","../node_modules/@fluentui/react/lib/utilities/src/utilities/keytips/KeytipManager.ts","../node_modules/@fluentui/react/lib/utilities/src/utilities/positioning/positioning.types.ts","../node_modules/@fluentui/set-version/src/setVersion.ts","../node_modules/@fluentui/set-version/src/index.ts","../node_modules/@fluentui/merge-styles/src/keyframes.ts","../node_modules/@fluentui/theme/lib/src/motion/AnimationStyles.ts","../node_modules/@fluentui/style-utilities/lib/src/classNames/AnimationClassNames.ts","../node_modules/@fluentui/style-utilities/lib/src/utilities/buildClassMap.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/CommonStyles.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/zIndexes.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/getFocusStyle.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/hiddenContentStyle.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/getGlobalClassNames.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/theme.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/GeneralStyles.ts","../node_modules/@fluentui/style-utilities/lib/src/styles/getPlaceholderStyles.ts","../node_modules/@fluentui/style-utilities/lib/src/utilities/icons.ts","../node_modules/@fluentui/style-utilities/src/cdn.ts","../node_modules/@fluentui/style-utilities/src/version.ts","../node_modules/@fluentui/style-utilities/src/index.ts","../node_modules/@fluentui/theme/lib/src/colors/DefaultPalette.ts","../node_modules/@fluentui/theme/lib/src/effects/DefaultEffects.ts","../node_modules/@fluentui/theme/lib/src/fonts/createFontStyles.ts","../node_modules/@fluentui/utilities/src/language.ts","../node_modules/@fluentui/theme/lib/src/fonts/DefaultFontStyles.ts","../node_modules/@fluentui/utilities/src/localStorage.ts","../node_modules/@fluentui/utilities/src/merge.ts","../node_modules/@fluentui/theme/lib/src/utilities/makeSemanticColors.ts","../node_modules/@fluentui/theme/lib/src/spacing/DefaultSpacing.ts","../node_modules/@fluentui/theme/src/createTheme.ts","../node_modules/@fluentui/theme/src/mergeThemes.ts","../node_modules/@fluentui/theme/lib/src/effects/FluentDepths.ts","../node_modules/@fluentui/theme/lib/src/fonts/FluentFonts.ts","../node_modules/@fluentui/utilities/src/Async.ts","../node_modules/@fluentui/utilities/src/BaseComponent.ts","../node_modules/@fluentui/utilities/src/DelayedRender.tsx","../node_modules/@fluentui/utilities/src/EventGroup.ts","../node_modules/@fluentui/utilities/src/GlobalSettings.ts","../node_modules/@fluentui/utilities/src/KeyCodes.ts","../node_modules/@fluentui/utilities/src/aria.ts","../node_modules/@fluentui/utilities/src/array.ts","../node_modules/@fluentui/utilities/src/classNamesFunction.ts","../node_modules/@fluentui/utilities/src/createMergedRef.ts","../node_modules/@fluentui/utilities/src/css.ts","../node_modules/@fluentui/utilities/lib/src/customizations/Customizations.ts","../node_modules/@fluentui/utilities/lib/src/customizations/CustomizerContext.ts","../node_modules/@fluentui/utilities/lib/src/customizations/customizable.tsx","../node_modules/@fluentui/utilities/src/hoistStatics.ts","../node_modules/@fluentui/utilities/lib/src/customizations/useCustomizationSettings.ts","../node_modules/@fluentui/utilities/lib/src/dom/canUseDOM.ts","../node_modules/@fluentui/utilities/lib/src/dom/getDocument.ts","../node_modules/@fluentui/utilities/lib/src/dom/getWindow.ts","../node_modules/@fluentui/utilities/lib/src/dom/on.ts","../node_modules/@fluentui/utilities/src/appendFunction.ts","../node_modules/@fluentui/utilities/src/extendComponent.ts","../node_modules/@fluentui/utilities/src/focus.ts","../node_modules/@fluentui/dom-utilities/src/elementContainsAttribute.ts","../node_modules/@fluentui/utilities/src/getId.ts","../node_modules/@fluentui/utilities/src/getPropsWithDefaults.ts","../node_modules/@fluentui/utilities/src/initializeComponentRef.ts","../node_modules/@fluentui/utilities/src/memoize.ts","../node_modules/@fluentui/utilities/src/mobileDetector.ts","../node_modules/@fluentui/utilities/src/modalize.ts","../node_modules/@fluentui/utilities/src/object.ts","../node_modules/@fluentui/utilities/src/osDetector.ts","../node_modules/@fluentui/utilities/src/properties.ts","../node_modules/@fluentui/utilities/lib/src/renderFunction/composeRenderFunction.tsx","../node_modules/@fluentui/utilities/src/rtl.ts","../node_modules/@fluentui/utilities/src/scroll.ts","../node_modules/@fluentui/utilities/src/sessionStorage.ts","../node_modules/@fluentui/utilities/src/setFocusVisibility.ts","../node_modules/@fluentui/utilities/src/styled.tsx","../node_modules/@fluentui/utilities/src/keyboard.ts","../node_modules/@fluentui/utilities/src/useFocusRects.ts","../node_modules/@fluentui/utilities/src/useIsomorphicLayoutEffect.ts","../node_modules/@fluentui/utilities/lib/src/warn/warn.ts","../node_modules/@fluentui/utilities/lib/src/warn/warnConditionallyRequiredProps.ts","../node_modules/@fluentui/utilities/lib/src/warn/warnDeprecations.ts"],"sourcesContent":["import { IAzureSemanticColors } from './IAzureSemanticColors';\n\nexport namespace BaseColors {\n export const BLUE_F0F6FF = '#F0F6FF';\n export const BLUE_B3D7F2 = '#b3d7f2';\n export const BLUE_BEDFFF = '#BEDFFF';\n export const BLUE_CCE1FF = '#cce1ff';\n export const BLUE_CCE4F6 = '#cce4f6';\n export const BLUE_C7E0F4 = '#C7E0F4';\n export const BLUE_DEECF9 = '#deecf9';\n export const BLUE_E6F2FB = '#e6f2fb';\n export const BLUE_0000CD = '#0000cd';\n export const BLUE_00245B = '#00245B';\n export const BLUE_00E8E8 = '#00e8e8';\n export const BLUE_00FFFF = '#00ffff';\n export const BLUE_00188F = '#00188F';\n export const BLUE_001D3F = '#001D3F';\n export const BLUE_004578 = '#004578';\n export const BLUE_004C87 = '#004C87';\n export const BLUE_005A9E = '#005A9E';\n export const BLUE_0078D4 = '#0078D4';\n export const BLUE_016AFE = '#016afe';\n export const BLUE_015CDA = '#015cda';\n export const BLUE_014DB7 = '#014db7';\n export const BLUE_012B65 = '#012b65';\n export const BLUE_0F64AE = '#0f64ae';\n export const BLUE_106EBE = '#106EBE';\n export const BLUE_02FEFF = '#02FEFF';\n export const BLUE_043862 = '#043862';\n export const BLUE_6CA9FE = '#6ca9fe';\n export const BLUE_6CB8F6 = '#6cb8f6';\n export const BLUE_82C7FF = '#82C7FF';\n export const BLUE_4894FE = '#4894fe';\n export const BLUE_257FFE = '#257FFE';\n export const BLUE_2899F5 = '#2899f5';\n export const BLUE_3AA0F3 = '#3aa0f3';\n export const BLUE_55B3FF = '#55b3ff';\n export const BLUE_7BB2FE = '#7bb2fe';\n export const BROWN_502006 = '#502006';\n export const GREEN_A4E1D2 = '#A4E1D2';\n export const GREEN_E6FFCC = '#e6ffcc';\n export const GREEN_F8FFF0 = '#F8FFF0';\n export const GREEN_00A2AD = '#00A2AD';\n export const GREEN_00FF00 = '#00FF00';\n export const GREEN_0AFF00 = '#0AFF00';\n export const GREEN_038387 = '#038387';\n export const GREEN_022F22 = '#022F22';\n export const GREEN_1A3300 = '#1a3300';\n export const GREEN_393D1B = '#393D1B';\n export const GREEN_428000 = '#428000';\n export const GREEN_5DB300 = '#5db300';\n export const GREEN_57A300 = '#57A300';\n export const GREEN_92C353 = '#92C353';\n export const RED_A52121 = '#A52121';\n export const RED_C32727 = '#C32727';\n export const RED_FEF0F1 = '#FEF0F1';\n export const RED_FDD8DB = '#fdd8db';\n export const RED_F63747 = '#f63747';\n export const RED_F1707B = '#F1707B';\n export const RED_E00B1C = '#e00b1c';\n export const RED_A4262C = '#a4262c';\n export const RED_442726 = '#442726';\n export const RED_61050C = '#61050c';\n export const RED_791818 = '#791818';\n export const RED_800000 = '#800002';\n export const ORANGE_CB4936 = '#CB4936';\n export const ORANGE_DB7500 = '#DB7500';\n export const ORANGE_EF6950 = '#EF6950';\n export const ORANGE_FFCA8A = '#FFCA8A';\n export const ORANGE_FFDFB8 = '#ffdfb8';\n export const ORANGE_FFF8F0 = '#FFF8F0';\n export const ORANGE_FF8C00 = '#ff8c00';\n export const ORANGE_422400 = '#422400';\n export const ORANGE_4F2A0F = '#4F2A0F';\n export const PURPLE_800080 = '#800080';\n export const PURPLE_F9F3FC = '#F9F3FC';\n export const PURPLE_EFDBF5 = '#efdbf5';\n export const PURPLE_C87FDC = '#c87fdc';\n export const PURPLE_C7D3FF = '#C7D3FF';\n export const PURPLE_917EDB = '#917EDB';\n export const PURPLE_8A2DA5 = '#8a2da5';\n export const PURPLE_660166 = '#660166';\n export const PURPLE_6E5DB7 = '#6E5DB7';\n export const PURPLE_471754 = '#471754';\n export const PURPLE_4B003F = '#4B003F';\n export const PURPLE_38134A = '#38134A';\n export const PINK_E3008C = '#E3008C';\n export const PINK_D90086 = '#D90086';\n export const PINK_F6C0FF = '#F6C0FF';\n export const YELLOW_FEFF00 = '#FEFF00';\n export const YELLOW_FCE100 = '#FCE100';\n export const GRAY_CCCCCC = '#CCCCCC';\n export const GRAY_111111 = '#111111';\n export const GRAY_161616 = '#161616';\n export const GRAY_1B1A19 = '#1b1a19';\n export const GRAY_201F1E = '#201F1E';\n export const GRAY_252423 = '#252423';\n export const GRAY_292827 = '#292827';\n export const GRAY_323130 = '#323130';\n export const GRAY_302928 = '#302928';\n export const GRAY_3B3A39 = '#3B3A39';\n export const GRAY_414141 = '#414141';\n export const GRAY_484644 = '#484644';\n export const GRAY_585858 = '#585858';\n export const GRAY_595959 = '#595959';\n export const GRAY_605E5C = '#605E5C';\n export const GRAY_747474 = '#747474';\n export const GRAY_797775 = '#797775';\n export const GRAY_808080 = '#808080';\n export const GRAY_8A8886 = '#8A8886';\n export const GRAY_979693 = '#979693';\n export const GRAY_AFAFAF = '#afafaf';\n export const GRAY_A19F9D = '#A19F9D';\n export const GRAY_C8C6C4 = '#C8C6C4';\n export const GRAY_E5E5E5 = '#E5E5E5';\n export const GRAY_EDEBE9 = '#EDEBE9';\n export const GRAY_E1DFDD = '#E1DFDD';\n export const GRAY_F3F2F1 = '#F3F2F1';\n export const GRAY_FAF9F8 = '#FAF9F8';\n export const GRAY_6B849C = '#6B849C';\n export const BLACK = '#000000';\n export const WHITE = '#ffffff';\n export const TRANSPARENT = 'transparent';\n\n export const GRAY_000000_060 = 'rgba(0, 0, 0, .6)';\n export const GRAY_6B849C_006 = 'rgba(107, 132, 156, .06)';\n export const GRAY_6B849C_025 = 'rgba(107, 132, 156, .25)';\n export const GRAY_6B849C_035 = 'rgba(107, 132, 156, .35)';\n\n export const GRAY_808080_010 = 'rgba(128, 128, 128, .10)';\n export const GRAY_808080_015 = 'rgba(128, 128, 128, .15)';\n export const GRAY_808080_025 = 'rgba(128, 128, 128, .25)';\n export const GRAY_808080_030 = 'rgba(128, 128, 128, .30)';\n export const GRAY_808080_050 = 'rgba(128, 128, 128, .50)';\n export const GRAY_808080_070 = 'rgba(128, 128, 128, .70)';\n export const BLUE_55B3FF_010 = 'rgba(85, 179, 255, .10)';\n export const BLUE_55B3FF_020 = 'rgba(85, 179, 255, .20)';\n export const BLUE_55B3FF_040 = 'rgba(85, 179, 255, .4)';\n\n // Extended Palette Colors (not in Azure spec)\n export const GRAY_FFFFFF_050 = 'rgba(255,255,255,.5)'; // overlay light\n export const GRAY_000000_050 = 'rgba(0,0,0,.5)'; // overlay dark\n export const GRAY_404040 = '#404040'; // shimmer\n export const GRAY_F7F7F7 = '#f7f7f7'; // shimmer\n export const GRAY_DFDFDF = '#dfdfdf'; // shimmer\n}\n\nexport namespace CommonSemanticColors {\n export const icons = {\n okay: BaseColors.GREEN_5DB300,\n error: BaseColors.RED_E00B1C,\n warning: BaseColors.ORANGE_FF8C00,\n information: BaseColors.BLUE_015CDA,\n upsell: BaseColors.PURPLE_8A2DA5,\n };\n export const dividers = {\n lineSeparator: BaseColors.GRAY_E5E5E5,\n sectionDivider: BaseColors.GRAY_6B849C_035,\n };\n export const backgrounds = {\n disabled: BaseColors.GRAY_808080_010,\n section: BaseColors.GRAY_6B849C_006,\n overlay: BaseColors.GRAY_000000_060,\n };\n export const textControlOutline = {\n rest: BaseColors.GRAY_808080_070,\n hover: BaseColors.GRAY_808080,\n };\n export const controlOutline = {\n rest: BaseColors.GRAY_808080,\n disabled: BaseColors.GRAY_808080_070,\n };\n export const overlay = {\n light: BaseColors.GRAY_FFFFFF_050,\n dark: BaseColors.GRAY_000000_050,\n };\n}\n\nexport const DarkSemanticColors: IAzureSemanticColors = {\n background: BaseColors.GRAY_1B1A19,\n text: {\n list: BaseColors.GRAY_F3F2F1,\n heading: BaseColors.GRAY_F3F2F1,\n body: BaseColors.GRAY_F3F2F1,\n bodyHovered: BaseColors.GRAY_FAF9F8,\n value: BaseColors.GRAY_F3F2F1,\n icon: BaseColors.WHITE,\n label: BaseColors.WHITE,\n disabled: BaseColors.GRAY_A19F9D,\n hyperlink: BaseColors.BLUE_2899F5,\n hyperlinkHovered: BaseColors.BLUE_82C7FF,\n success: BaseColors.GREEN_5DB300,\n error: BaseColors.RED_F1707B,\n placeholder: BaseColors.GRAY_A19F9D,\n },\n statusBar: {\n link: {\n rest: BaseColors.BLUE_6CB8F6,\n hover: BaseColors.BLUE_82C7FF,\n },\n background: {\n success: BaseColors.GREEN_393D1B,\n error: BaseColors.RED_442726,\n warning: BaseColors.ORANGE_4F2A0F,\n information: BaseColors.BLUE_00245B,\n upsell: BaseColors.PURPLE_38134A,\n },\n border: {\n default: BaseColors.BLUE_00245B,\n okay: BaseColors.GREEN_393D1B,\n error: BaseColors.RED_442726,\n warning: BaseColors.ORANGE_4F2A0F,\n information: BaseColors.BLUE_00245B,\n upsell: BaseColors.PURPLE_38134A,\n },\n icon: {\n success: BaseColors.GREEN_57A300,\n error: BaseColors.RED_E00B1C,\n warning: BaseColors.ORANGE_DB7500,\n information: BaseColors.BLUE_015CDA,\n upsell: BaseColors.PURPLE_8A2DA5,\n disabled: BaseColors.GRAY_8A8886,\n },\n },\n primaryButton: {\n rest: {\n background: BaseColors.BLUE_0078D4,\n text: BaseColors.WHITE,\n border: BaseColors.BLUE_0078D4,\n },\n hover: {\n background: BaseColors.BLUE_106EBE,\n text: BaseColors.WHITE,\n },\n pressed: {\n background: BaseColors.BLUE_005A9E,\n text: BaseColors.WHITE,\n },\n disabled: {\n background: BaseColors.GRAY_484644,\n border: BaseColors.GRAY_252423,\n text: BaseColors.GRAY_A19F9D,\n },\n focus: {\n text: BaseColors.BLACK,\n },\n },\n disabledButton: {\n background: BaseColors.GRAY_252423,\n text: BaseColors.GRAY_797775,\n },\n dangerButton: {\n rest: {\n text: BaseColors.WHITE,\n background: BaseColors.RED_C32727,\n border: BaseColors.RED_C32727,\n },\n hover: {\n text: BaseColors.WHITE,\n background: BaseColors.RED_A52121,\n border: BaseColors.RED_A52121,\n },\n pressed: {\n text: BaseColors.WHITE,\n background: BaseColors.RED_791818,\n border: BaseColors.RED_791818,\n },\n },\n secondaryButton: {\n rest: {\n background: BaseColors.GRAY_1B1A19,\n border: BaseColors.GRAY_8A8886,\n text: BaseColors.GRAY_F3F2F1,\n },\n hover: {\n background: BaseColors.GRAY_252423,\n border: BaseColors.GRAY_979693,\n color: BaseColors.GRAY_FAF9F8,\n },\n pressed: {\n text: BaseColors.GRAY_FAF9F8,\n background: BaseColors.GRAY_292827,\n border: BaseColors.GRAY_979693,\n },\n focus: {\n border: BaseColors.GRAY_A19F9D,\n },\n },\n checkBox: {\n rest: {\n border: BaseColors.GRAY_F3F2F1,\n hover: BaseColors.GRAY_A19F9D,\n hoverText: BaseColors.GRAY_FAF9F8,\n background: BaseColors.BLUE_2899F5,\n focus: BaseColors.GRAY_A19F9D,\n check: BaseColors.BLACK,\n },\n checked: {\n border: BaseColors.BLUE_2899F5,\n background: BaseColors.BLUE_2899F5,\n default: BaseColors.BLUE_6CB8F6,\n hoverBackground: BaseColors.BLUE_82C7FF,\n hoverBorder: BaseColors.BLUE_82C7FF,\n },\n disabled: {\n border: BaseColors.GRAY_484644,\n background: BaseColors.GRAY_484644,\n },\n },\n controlOutlines: {\n rest: BaseColors.GRAY_808080,\n background: BaseColors.GRAY_252423,\n disabled: BaseColors.GRAY_484644,\n hover: BaseColors.WHITE,\n accent: BaseColors.BLUE_106EBE,\n focus: BaseColors.BLUE_2899F5,\n error: BaseColors.RED_F63747,\n dirty: BaseColors.PURPLE_C87FDC,\n },\n choiceGroup: {\n circle: {\n hover: BaseColors.GRAY_A19F9D,\n },\n focus: BaseColors.GRAY_A19F9D,\n },\n dropDown: {\n background: {\n rest: BaseColors.GRAY_252423,\n hover: BaseColors.GRAY_323130,\n },\n text: {\n hovered: BaseColors.WHITE,\n },\n },\n item: {\n hover: BaseColors.GRAY_323130,\n select: BaseColors.GRAY_3B3A39,\n selectHovered: BaseColors.GRAY_484644,\n },\n shimmer: {\n primary: BaseColors.GRAY_808080,\n secondary: BaseColors.GRAY_404040,\n },\n tagButton: {\n rest: {\n text: BaseColors.WHITE,\n background: BaseColors.BLUE_55B3FF_040,\n border: BaseColors.TRANSPARENT,\n },\n hover: {\n text: BaseColors.WHITE,\n background: BaseColors.BLUE_55B3FF_040,\n border: BaseColors.GRAY_808080_070,\n },\n pressed: {\n text: BaseColors.WHITE,\n background: BaseColors.BLUE_55B3FF_040,\n border: BaseColors.BLUE_4894FE,\n },\n },\n toggle: {\n disabled: {\n backrgound: BaseColors.GRAY_484644,\n },\n },\n commandBar: {\n border: BaseColors.GRAY_323130,\n button: {\n root: {\n color: BaseColors.GRAY_F3F2F1,\n },\n disabled: {\n color: BaseColors.GRAY_797775,\n },\n focus: {\n borderColor: BaseColors.GRAY_A19F9D,\n },\n hover: {\n background: BaseColors.GRAY_252423,\n color: BaseColors.GRAY_FAF9F8,\n icon: BaseColors.BLUE_3AA0F3,\n },\n selected: {\n background: BaseColors.GRAY_292827,\n icon: BaseColors.BLUE_6CB8F6,\n },\n selectedHover: {\n background: BaseColors.GRAY_323130,\n },\n },\n },\n dataColor: {\n dataColor1: BaseColors.BLUE_0078D4,\n dataColor2: BaseColors.ORANGE_CB4936,\n dataColor3: BaseColors.BLUE_BEDFFF,\n dataColor4: BaseColors.GREEN_038387,\n dataColor5: BaseColors.PINK_F6C0FF,\n dataColor6: BaseColors.PINK_D90086,\n dataColor7: BaseColors.GREEN_A4E1D2,\n dataColor8: BaseColors.PURPLE_6E5DB7,\n dataColor9: BaseColors.PURPLE_C7D3FF,\n dataColor10: BaseColors.ORANGE_FFCA8A,\n noData1: BaseColors.GRAY_808080_070,\n noData2: BaseColors.GRAY_747474,\n },\n datePicker: {\n rest: {\n selected: BaseColors.BLUE_0078D4,\n text: BaseColors.WHITE,\n },\n disabled: {\n border: BaseColors.GRAY_A19F9D,\n },\n },\n detailsRow: {\n border: BaseColors.GRAY_414141,\n focus: BaseColors.GRAY_111111,\n hoveredLink: BaseColors.BLUE_82C7FF,\n hoveredRowLink: BaseColors.BLUE_82C7FF,\n hoveredBackground: BaseColors.GRAY_323130,\n selectedLink: BaseColors.BLUE_82C7FF,\n selectedHoveredLink: BaseColors.BLUE_82C7FF,\n },\n radioButton: {\n circle: {\n uncheckedRest: BaseColors.WHITE,\n checkedDisabled: BaseColors.BLACK,\n borderDisabled: BaseColors.GRAY_F3F2F1,\n },\n pill: {\n disabled: BaseColors.GRAY_C8C6C4,\n uncheckedDisabled: BaseColors.BLACK,\n checkedHover: BaseColors.BLUE_82C7FF,\n uncheckedHover: BaseColors.BLACK,\n },\n },\n tabs: {\n hover: BaseColors.GRAY_252423,\n },\n teachingBubble: {\n rest: {\n background: BaseColors.BLUE_2899F5,\n border: BaseColors.BLUE_2899F5,\n text: BaseColors.BLACK,\n secondaryBackround: BaseColors.BLACK,\n },\n hover: {\n primaryButtonBackground: BaseColors.BLUE_043862,\n },\n },\n slider: {\n activeBackground: BaseColors.GRAY_A19F9D,\n activeBackgroundHovered: BaseColors.BLUE_2899F5,\n inactiveBackgroundHovered: BaseColors.BLUE_004C87,\n activeDisabledBackground: BaseColors.GRAY_797775,\n inactiveDisabledBackground: BaseColors.GRAY_292827,\n activeBackgroundPressed: BaseColors.BLUE_3AA0F3,\n },\n calendar: {\n background: BaseColors.GRAY_252423,\n text: {\n rest: BaseColors.GRAY_F3F2F1,\n hover: BaseColors.GRAY_F3F2F1,\n disabled: BaseColors.GRAY_797775,\n outside: BaseColors.GRAY_A19F9D,\n },\n button: {\n border: BaseColors.GRAY_A19F9D,\n selected: BaseColors.GRAY_3B3A39,\n hover: BaseColors.GRAY_323130,\n },\n },\n};\n\nexport const HighContrastDarkSemanticColors: IAzureSemanticColors = {\n background: BaseColors.BLACK,\n text: {\n list: BaseColors.WHITE,\n heading: BaseColors.WHITE,\n body: BaseColors.WHITE,\n bodyHovered: BaseColors.WHITE,\n value: BaseColors.WHITE,\n icon: BaseColors.WHITE,\n label: BaseColors.WHITE,\n disabled: BaseColors.GREEN_0AFF00,\n hyperlink: BaseColors.YELLOW_FEFF00,\n hyperlinkHovered: BaseColors.YELLOW_FEFF00,\n success: BaseColors.GREEN_5DB300,\n error: BaseColors.RED_F63747,\n placeholder: BaseColors.GREEN_0AFF00,\n },\n statusBar: {\n link: {\n rest: BaseColors.YELLOW_FEFF00,\n hover: BaseColors.YELLOW_FEFF00,\n },\n background: {\n success: BaseColors.TRANSPARENT,\n error: BaseColors.TRANSPARENT,\n warning: BaseColors.TRANSPARENT,\n information: BaseColors.TRANSPARENT,\n upsell: BaseColors.TRANSPARENT,\n },\n border: {\n default: BaseColors.BLUE_00245B,\n okay: BaseColors.GREEN_393D1B,\n error: BaseColors.RED_442726,\n warning: BaseColors.ORANGE_4F2A0F,\n information: BaseColors.BLUE_00245B,\n upsell: BaseColors.PURPLE_38134A,\n },\n icon: {\n success: BaseColors.GREEN_57A300,\n error: BaseColors.RED_E00B1C,\n warning: BaseColors.ORANGE_DB7500,\n information: BaseColors.BLUE_015CDA,\n upsell: BaseColors.PURPLE_8A2DA5,\n disabled: BaseColors.GRAY_8A8886,\n },\n },\n primaryButton: {\n rest: {\n background: BaseColors.BLACK,\n text: BaseColors.WHITE,\n border: BaseColors.WHITE,\n },\n hover: {\n background: BaseColors.BLUE_00FFFF,\n text: BaseColors.BLACK,\n },\n pressed: {\n background: BaseColors.BLUE_00FFFF,\n text: BaseColors.GRAY_1B1A19,\n },\n disabled: {\n background: BaseColors.BLACK,\n border: BaseColors.GREEN_00FF00,\n text: BaseColors.GREEN_00FF00,\n },\n focus: {\n text: BaseColors.WHITE,\n },\n },\n disabledButton: {\n background: BaseColors.GRAY_F3F2F1,\n text: BaseColors.GRAY_A19F9D,\n },\n dangerButton: {\n rest: {\n background: BaseColors.BLACK,\n border: BaseColors.WHITE,\n text: BaseColors.WHITE,\n },\n hover: {\n background: BaseColors.BLUE_00FFFF,\n border: BaseColors.BLUE_00E8E8,\n text: BaseColors.BLACK,\n },\n pressed: {\n text: BaseColors.GRAY_1B1A19,\n background: BaseColors.BLUE_00E8E8,\n border: BaseColors.BLUE_00E8E8,\n },\n },\n secondaryButton: {\n rest: {\n background: BaseColors.BLACK,\n border: BaseColors.WHITE,\n text: BaseColors.WHITE,\n },\n hover: {\n background: BaseColors.BLUE_00FFFF,\n border: BaseColors.BLUE_00E8E8,\n color: BaseColors.GRAY_1B1A19,\n },\n pressed: {\n text: BaseColors.GRAY_1B1A19,\n background: BaseColors.BLUE_00E8E8,\n border: BaseColors.BLUE_00E8E8,\n },\n focus: {\n border: BaseColors.GRAY_A19F9D,\n },\n },\n checkBox: {\n rest: {\n border: BaseColors.GRAY_F3F2F1,\n background: BaseColors.BLUE_0078D4,\n hover: BaseColors.GRAY_A19F9D,\n hoverText: BaseColors.WHITE,\n focus: BaseColors.WHITE,\n check: BaseColors.WHITE,\n },\n checked: {\n border: BaseColors.BLUE_00FFFF,\n background: BaseColors.GRAY_111111,\n default: BaseColors.BLUE_6CB8F6,\n hoverBackground: BaseColors.GRAY_111111,\n hoverBorder: BaseColors.PURPLE_800080,\n },\n disabled: {\n border: BaseColors.GREEN_0AFF00,\n background: BaseColors.TRANSPARENT,\n },\n },\n controlOutlines: {\n rest: BaseColors.WHITE,\n background: BaseColors.GRAY_111111,\n disabled: BaseColors.GRAY_808080_070,\n hover: BaseColors.WHITE,\n accent: BaseColors.BLUE_00FFFF,\n focus: BaseColors.BLUE_00FFFF,\n error: BaseColors.RED_F63747,\n dirty: BaseColors.PURPLE_C87FDC,\n },\n choiceGroup: {\n circle: {\n hover: BaseColors.BLUE_00FFFF,\n },\n focus: BaseColors.GRAY_A19F9D,\n },\n dropDown: {\n background: {\n rest: BaseColors.GRAY_1B1A19,\n hover: BaseColors.TRANSPARENT,\n },\n text: {\n hovered: BaseColors.WHITE,\n },\n },\n item: {\n hover: BaseColors.BLUE_00FFFF,\n select: BaseColors.GRAY_808080_050,\n selectHovered: BaseColors.GRAY_808080_050,\n },\n shimmer: {\n primary: BaseColors.GRAY_808080,\n secondary: BaseColors.GRAY_404040,\n },\n tagButton: {\n rest: {\n text: BaseColors.WHITE,\n background: BaseColors.BLUE_55B3FF_040,\n border: BaseColors.TRANSPARENT,\n },\n hover: {\n text: BaseColors.WHITE,\n background: BaseColors.BLUE_55B3FF_040,\n border: BaseColors.WHITE,\n },\n pressed: {\n text: BaseColors.WHITE,\n background: BaseColors.BLUE_55B3FF_040,\n border: BaseColors.BLUE_4894FE,\n },\n },\n toggle: {\n disabled: {\n backrgound: BaseColors.GRAY_484644,\n },\n },\n commandBar: {\n border: BaseColors.GRAY_605E5C,\n button: {\n root: {\n color: BaseColors.WHITE,\n },\n disabled: {\n color: BaseColors.GREEN_0AFF00,\n },\n focus: {\n borderColor: 'none',\n },\n hover: {\n background: BaseColors.BLUE_00FFFF,\n color: BaseColors.GRAY_1B1A19,\n icon: BaseColors.BLACK,\n },\n selected: {\n background: BaseColors.BLUE_00FFFF,\n icon: BaseColors.BLACK,\n },\n selectedHover: {\n background: BaseColors.BLUE_00FFFF,\n },\n },\n },\n dataColor: {\n dataColor1: BaseColors.BLUE_0078D4,\n dataColor2: BaseColors.ORANGE_CB4936,\n dataColor3: BaseColors.BLUE_BEDFFF,\n dataColor4: BaseColors.GREEN_038387,\n dataColor5: BaseColors.PINK_F6C0FF,\n dataColor6: BaseColors.PINK_D90086,\n dataColor7: BaseColors.GREEN_A4E1D2,\n dataColor8: BaseColors.PURPLE_6E5DB7,\n dataColor9: BaseColors.PURPLE_C7D3FF,\n dataColor10: BaseColors.ORANGE_FFCA8A,\n noData1: BaseColors.GRAY_808080_070,\n noData2: BaseColors.GRAY_747474,\n },\n datePicker: {\n rest: {\n selected: BaseColors.BLUE_02FEFF,\n text: BaseColors.BLACK,\n },\n disabled: {\n border: BaseColors.GRAY_A19F9D,\n },\n },\n detailsRow: {\n border: BaseColors.WHITE,\n focus: BaseColors.BLUE_00FFFF,\n hoveredRowLink: BaseColors.BLUE_7BB2FE,\n hoveredLink: BaseColors.BLACK,\n hoveredBackground: BaseColors.GRAY_808080_030,\n selectedLink: BaseColors.YELLOW_FEFF00,\n selectedHoveredLink: BaseColors.BLUE_7BB2FE,\n },\n radioButton: {\n circle: {\n uncheckedRest: BaseColors.WHITE,\n checkedDisabled: BaseColors.WHITE,\n borderDisabled: BaseColors.GREEN_00FF00,\n },\n pill: {\n disabled: BaseColors.GREEN_00FF00,\n uncheckedDisabled: BaseColors.GREEN_00FF00,\n checkedHover: BaseColors.BLUE_6CA9FE,\n uncheckedHover: BaseColors.BLUE_00FFFF,\n },\n },\n tabs: {\n hover: BaseColors.GRAY_252423,\n },\n teachingBubble: {\n rest: {\n background: BaseColors.BLUE_00FFFF,\n border: BaseColors.BLUE_00FFFF,\n text: BaseColors.BLACK,\n secondaryBackround: BaseColors.BLACK,\n },\n hover: {\n primaryButtonBackground: BaseColors.BLUE_043862,\n },\n },\n slider: {\n activeBackground: BaseColors.GRAY_605E5C,\n activeBackgroundHovered: BaseColors.BLUE_00FFFF,\n inactiveBackgroundHovered: BaseColors.GRAY_585858,\n activeDisabledBackground: BaseColors.GREEN_0AFF00,\n inactiveDisabledBackground: BaseColors.GREEN_0AFF00,\n activeBackgroundPressed: BaseColors.BLUE_00FFFF,\n },\n calendar: {\n background: BaseColors.GRAY_252423,\n text: {\n rest: BaseColors.GRAY_F3F2F1,\n hover: BaseColors.GRAY_F3F2F1,\n disabled: BaseColors.GRAY_797775,\n outside: BaseColors.GRAY_A19F9D,\n },\n button: {\n border: BaseColors.GRAY_A19F9D,\n selected: BaseColors.GRAY_3B3A39,\n hover: BaseColors.GRAY_323130,\n },\n },\n};\n\nexport const LightSemanticColors: IAzureSemanticColors = {\n background: BaseColors.WHITE,\n text: {\n list: BaseColors.GRAY_302928,\n heading: BaseColors.GRAY_302928,\n body: BaseColors.GRAY_292827,\n bodyHovered: BaseColors.GRAY_201F1E,\n value: BaseColors.GRAY_302928,\n icon: BaseColors.GRAY_302928,\n label: BaseColors.GRAY_323130,\n disabled: BaseColors.GRAY_A19F9D,\n hyperlink: BaseColors.BLUE_0078D4,\n hyperlinkHovered: BaseColors.BLUE_004578,\n success: BaseColors.GREEN_428000,\n error: BaseColors.RED_A4262C,\n placeholder: BaseColors.GRAY_605E5C,\n },\n statusBar: {\n link: {\n rest: BaseColors.BLUE_005A9E,\n hover: BaseColors.BLUE_004578,\n },\n background: {\n success: BaseColors.GREEN_F8FFF0,\n error: BaseColors.RED_FEF0F1,\n warning: BaseColors.ORANGE_FFF8F0,\n information: BaseColors.BLUE_F0F6FF,\n upsell: BaseColors.PURPLE_F9F3FC,\n },\n border: {\n default: BaseColors.BLUE_F0F6FF,\n okay: BaseColors.GREEN_F8FFF0,\n error: BaseColors.RED_FEF0F1,\n warning: BaseColors.ORANGE_FFF8F0,\n information: BaseColors.BLUE_F0F6FF,\n upsell: BaseColors.PURPLE_F9F3FC,\n },\n icon: {\n success: BaseColors.GREEN_57A300,\n error: BaseColors.RED_A4262C,\n warning: BaseColors.ORANGE_DB7500,\n information: BaseColors.BLUE_015CDA,\n upsell: BaseColors.PURPLE_8A2DA5,\n disabled: BaseColors.GRAY_8A8886,\n },\n },\n primaryButton: {\n rest: {\n background: BaseColors.BLUE_0078D4,\n text: BaseColors.WHITE,\n border: BaseColors.BLUE_0078D4,\n },\n hover: {\n background: BaseColors.BLUE_106EBE,\n text: BaseColors.WHITE,\n },\n pressed: {\n background: BaseColors.BLUE_005A9E,\n text: BaseColors.WHITE,\n },\n disabled: {\n background: BaseColors.GRAY_F3F2F1,\n border: BaseColors.GRAY_F3F2F1,\n text: BaseColors.GRAY_A19F9D,\n },\n focus: {\n text: BaseColors.WHITE,\n },\n },\n disabledButton: {\n background: BaseColors.GRAY_F3F2F1,\n text: BaseColors.GRAY_A19F9D,\n },\n dangerButton: {\n rest: {\n text: BaseColors.WHITE,\n background: BaseColors.RED_C32727,\n border: BaseColors.RED_C32727,\n },\n hover: {\n text: BaseColors.WHITE,\n background: BaseColors.RED_A52121,\n border: BaseColors.RED_A52121,\n },\n pressed: {\n text: BaseColors.WHITE,\n background: BaseColors.RED_791818,\n border: BaseColors.RED_791818,\n },\n },\n secondaryButton: {\n rest: {\n text: BaseColors.GRAY_323130,\n background: BaseColors.WHITE,\n border: BaseColors.GRAY_8A8886,\n },\n hover: {\n background: BaseColors.GRAY_F3F2F1,\n border: BaseColors.GRAY_8A8886,\n color: BaseColors.GRAY_201F1E,\n },\n pressed: {\n text: BaseColors.GRAY_201F1E,\n background: BaseColors.GRAY_EDEBE9,\n border: BaseColors.GRAY_8A8886,\n },\n focus: {\n border: BaseColors.GRAY_605E5C,\n },\n },\n checkBox: {\n rest: {\n border: BaseColors.GRAY_323130,\n background: BaseColors.BLUE_0078D4,\n hover: BaseColors.GRAY_605E5C,\n hoverText: BaseColors.GRAY_201F1E,\n focus: BaseColors.GRAY_605E5C,\n check: BaseColors.WHITE,\n },\n checked: {\n border: BaseColors.BLUE_0078D4,\n background: BaseColors.BLUE_0078D4,\n default: BaseColors.BLUE_106EBE,\n hoverBackground: BaseColors.BLUE_005A9E,\n hoverBorder: BaseColors.BLUE_005A9E,\n },\n disabled: {\n border: BaseColors.GRAY_C8C6C4,\n background: BaseColors.GRAY_C8C6C4,\n },\n },\n controlOutlines: {\n rest: BaseColors.GRAY_323130,\n background: BaseColors.WHITE,\n disabled: BaseColors.GRAY_F3F2F1,\n hover: BaseColors.GRAY_605E5C,\n accent: BaseColors.GRAY_605E5C,\n focus: BaseColors.BLUE_0078D4,\n error: BaseColors.RED_A4262C,\n dirty: BaseColors.PURPLE_8A2DA5,\n },\n choiceGroup: {\n circle: {\n hover: BaseColors.GRAY_605E5C,\n },\n focus: BaseColors.GRAY_605E5C,\n },\n dropDown: {\n background: {\n rest: BaseColors.WHITE,\n hover: BaseColors.GRAY_F3F2F1,\n },\n text: {\n hovered: BaseColors.GRAY_302928,\n },\n },\n item: {\n hover: BaseColors.GRAY_F3F2F1,\n select: BaseColors.GRAY_EDEBE9,\n selectHovered: BaseColors.GRAY_E1DFDD,\n },\n shimmer: {\n primary: BaseColors.GRAY_F7F7F7,\n secondary: BaseColors.GRAY_DFDFDF,\n },\n tagButton: {\n rest: {\n text: BaseColors.BLACK,\n background: BaseColors.BLUE_E6F2FB,\n border: BaseColors.BLUE_E6F2FB,\n },\n hover: {\n text: BaseColors.BLACK,\n background: BaseColors.BLUE_CCE4F6,\n border: BaseColors.BLUE_CCE4F6,\n },\n pressed: {\n text: BaseColors.BLACK,\n background: BaseColors.BLUE_B3D7F2,\n border: BaseColors.BLUE_015CDA,\n },\n },\n toggle: {\n disabled: {\n backrgound: BaseColors.WHITE,\n },\n },\n commandBar: {\n border: BaseColors.GRAY_CCCCCC,\n button: {\n root: {\n color: BaseColors.GRAY_323130,\n },\n disabled: {\n color: BaseColors.GRAY_A19F9D,\n },\n focus: {\n borderColor: BaseColors.GRAY_605E5C,\n },\n hover: {\n background: BaseColors.GRAY_F3F2F1,\n color: BaseColors.GRAY_201F1E,\n icon: BaseColors.BLUE_106EBE,\n },\n selected: {\n background: BaseColors.GRAY_EDEBE9,\n icon: BaseColors.BLUE_005A9E,\n },\n selectedHover: {\n background: BaseColors.GRAY_E1DFDD,\n },\n },\n },\n dataColor: {\n dataColor1: BaseColors.BLUE_0078D4,\n dataColor2: BaseColors.ORANGE_EF6950,\n dataColor3: BaseColors.BLUE_00188F,\n dataColor4: BaseColors.GREEN_00A2AD,\n dataColor5: BaseColors.PURPLE_4B003F,\n dataColor6: BaseColors.PINK_E3008C,\n dataColor7: BaseColors.GREEN_022F22,\n dataColor8: BaseColors.PURPLE_917EDB,\n dataColor9: BaseColors.BLUE_001D3F,\n dataColor10: BaseColors.BROWN_502006,\n noData1: BaseColors.GRAY_808080_070,\n noData2: BaseColors.GRAY_747474,\n },\n datePicker: {\n rest: {\n selected: BaseColors.BLUE_0078D4,\n text: BaseColors.WHITE,\n },\n disabled: {\n border: BaseColors.GRAY_F3F2F1,\n },\n },\n detailsRow: {\n border: BaseColors.GRAY_F3F2F1,\n focus: BaseColors.WHITE,\n hoveredRowLink: BaseColors.BLUE_106EBE,\n hoveredLink: BaseColors.BLUE_106EBE,\n hoveredBackground: BaseColors.GRAY_F3F2F1,\n selectedLink: BaseColors.BLUE_106EBE,\n selectedHoveredLink: BaseColors.BLUE_005A9E,\n },\n radioButton: {\n circle: {\n uncheckedRest: BaseColors.GRAY_605E5C,\n checkedDisabled: BaseColors.GRAY_F3F2F1,\n borderDisabled: BaseColors.GRAY_F3F2F1,\n },\n pill: {\n disabled: BaseColors.GRAY_C8C6C4,\n uncheckedDisabled: BaseColors.WHITE,\n checkedHover: BaseColors.BLUE_005A9E,\n uncheckedHover: BaseColors.WHITE,\n },\n },\n tabs: {\n hover: BaseColors.GRAY_F3F2F1,\n },\n teachingBubble: {\n rest: {\n background: BaseColors.BLUE_0078D4,\n border: BaseColors.BLUE_0078D4,\n text: BaseColors.WHITE,\n secondaryBackround: BaseColors.WHITE,\n },\n hover: {\n primaryButtonBackground: BaseColors.BLUE_DEECF9,\n },\n },\n slider: {\n activeBackground: BaseColors.GRAY_605E5C,\n activeBackgroundHovered: BaseColors.BLUE_0078D4,\n inactiveBackgroundHovered: BaseColors.BLUE_C7E0F4,\n activeDisabledBackground: BaseColors.GRAY_A19F9D,\n inactiveDisabledBackground: BaseColors.GRAY_EDEBE9,\n activeBackgroundPressed: BaseColors.BLUE_106EBE,\n },\n calendar: {\n background: BaseColors.WHITE,\n text: {\n rest: BaseColors.GRAY_323130,\n hover: BaseColors.GRAY_201F1E,\n disabled: BaseColors.GRAY_A19F9D,\n outside: BaseColors.GRAY_605E5C,\n },\n button: {\n border: BaseColors.GRAY_605E5C,\n selected: BaseColors.GRAY_EDEBE9,\n hover: BaseColors.GRAY_F3F2F1,\n },\n },\n};\n\nexport const HighContrastLightSemanticColors: IAzureSemanticColors = {\n background: BaseColors.WHITE,\n text: {\n list: BaseColors.BLACK,\n heading: BaseColors.BLACK,\n body: BaseColors.BLACK,\n bodyHovered: BaseColors.BLACK,\n value: BaseColors.BLACK,\n icon: BaseColors.BLACK,\n label: BaseColors.BLACK,\n disabled: BaseColors.RED_800000,\n hyperlink: BaseColors.BLUE_0000CD,\n hyperlinkHovered: BaseColors.BLUE_0000CD,\n success: BaseColors.GREEN_428000,\n error: BaseColors.RED_E00B1C,\n placeholder: BaseColors.RED_800000,\n },\n statusBar: {\n link: {\n rest: BaseColors.BLUE_0000CD,\n hover: BaseColors.BLUE_0000CD,\n },\n background: {\n success: BaseColors.TRANSPARENT,\n error: BaseColors.TRANSPARENT,\n warning: BaseColors.TRANSPARENT,\n information: BaseColors.TRANSPARENT,\n upsell: BaseColors.TRANSPARENT,\n },\n border: {\n default: BaseColors.BLUE_F0F6FF,\n okay: BaseColors.GREEN_F8FFF0,\n error: BaseColors.RED_FEF0F1,\n warning: BaseColors.ORANGE_FFF8F0,\n information: BaseColors.BLUE_F0F6FF,\n upsell: BaseColors.PURPLE_F9F3FC,\n },\n icon: {\n success: BaseColors.GREEN_57A300,\n error: BaseColors.RED_E00B1C,\n warning: BaseColors.ORANGE_DB7500,\n information: BaseColors.BLUE_015CDA,\n upsell: BaseColors.PURPLE_8A2DA5,\n disabled: BaseColors.GRAY_8A8886,\n },\n },\n primaryButton: {\n rest: {\n background: BaseColors.WHITE,\n text: BaseColors.BLACK,\n border: BaseColors.BLACK,\n },\n hover: {\n background: BaseColors.PURPLE_800080,\n text: BaseColors.WHITE,\n },\n pressed: {\n background: BaseColors.PURPLE_660166,\n text: BaseColors.WHITE,\n },\n disabled: {\n background: BaseColors.GRAY_F3F2F1,\n border: BaseColors.RED_800000,\n text: BaseColors.RED_800000,\n },\n focus: {\n text: BaseColors.BLACK,\n },\n },\n disabledButton: {\n background: BaseColors.WHITE,\n text: BaseColors.RED_800000,\n },\n dangerButton: {\n rest: {\n text: BaseColors.BLACK,\n background: BaseColors.WHITE,\n border: BaseColors.BLACK,\n },\n hover: {\n text: BaseColors.WHITE,\n background: BaseColors.PURPLE_800080,\n border: BaseColors.PURPLE_800080,\n },\n pressed: {\n text: BaseColors.WHITE,\n background: BaseColors.PURPLE_660166,\n border: BaseColors.PURPLE_660166,\n },\n },\n secondaryButton: {\n rest: {\n text: BaseColors.BLACK,\n background: BaseColors.WHITE,\n border: BaseColors.BLACK,\n },\n hover: {\n background: BaseColors.PURPLE_800080,\n border: BaseColors.PURPLE_800080,\n color: BaseColors.WHITE,\n },\n pressed: {\n text: BaseColors.WHITE,\n background: BaseColors.PURPLE_660166,\n border: BaseColors.PURPLE_660166,\n },\n focus: {\n border: BaseColors.GRAY_323130,\n },\n },\n checkBox: {\n rest: {\n border: BaseColors.GRAY_323130,\n background: BaseColors.BLUE_0078D4,\n hover: BaseColors.GRAY_605E5C,\n hoverText: BaseColors.GRAY_201F1E,\n focus: BaseColors.GRAY_605E5C,\n check: BaseColors.WHITE,\n },\n checked: {\n border: BaseColors.BLUE_0078D4,\n background: BaseColors.BLUE_0078D4,\n default: BaseColors.BLUE_106EBE,\n hoverBackground: BaseColors.BLUE_005A9E,\n hoverBorder: BaseColors.BLUE_005A9E,\n },\n disabled: {\n border: BaseColors.GRAY_C8C6C4,\n background: BaseColors.GRAY_C8C6C4,\n },\n },\n controlOutlines: {\n rest: BaseColors.BLACK,\n background: BaseColors.WHITE,\n disabled: BaseColors.GRAY_F3F2F1,\n hover: BaseColors.GRAY_605E5C,\n accent: BaseColors.PURPLE_800080,\n focus: BaseColors.PURPLE_800080,\n error: BaseColors.RED_E00B1C,\n dirty: BaseColors.PURPLE_8A2DA5,\n },\n choiceGroup: {\n circle: {\n hover: BaseColors.GRAY_605E5C,\n },\n focus: BaseColors.GRAY_323130,\n },\n dropDown: {\n background: {\n rest: BaseColors.WHITE,\n hover: BaseColors.TRANSPARENT,\n },\n text: {\n hovered: BaseColors.BLACK,\n },\n },\n item: {\n hover: BaseColors.PURPLE_800080,\n select: BaseColors.GRAY_EDEBE9,\n selectHovered: BaseColors.GRAY_E1DFDD,\n },\n shimmer: {\n primary: BaseColors.GRAY_F7F7F7,\n secondary: BaseColors.GRAY_DFDFDF,\n },\n tagButton: {\n rest: {\n text: BaseColors.BLACK,\n background: BaseColors.BLUE_E6F2FB,\n border: BaseColors.BLUE_E6F2FB,\n },\n hover: {\n text: BaseColors.BLACK,\n background: BaseColors.BLUE_CCE4F6,\n border: BaseColors.BLUE_CCE4F6,\n },\n pressed: {\n text: BaseColors.BLACK,\n background: BaseColors.BLUE_B3D7F2,\n border: BaseColors.BLUE_015CDA,\n },\n },\n toggle: {\n disabled: {\n backrgound: BaseColors.WHITE,\n },\n },\n commandBar: {\n border: BaseColors.GRAY_CCCCCC,\n button: {\n root: {\n color: BaseColors.BLACK,\n },\n disabled: {\n color: BaseColors.RED_800000,\n },\n focus: {\n borderColor: 'none',\n },\n hover: {\n background: BaseColors.PURPLE_800080,\n color: BaseColors.WHITE,\n icon: BaseColors.WHITE,\n },\n selected: {\n background: BaseColors.PURPLE_800080,\n icon: BaseColors.WHITE,\n },\n selectedHover: {\n background: BaseColors.PURPLE_800080,\n },\n },\n },\n dataColor: {\n dataColor1: BaseColors.BLUE_0078D4,\n dataColor2: BaseColors.ORANGE_EF6950,\n dataColor3: BaseColors.BLUE_00188F,\n dataColor4: BaseColors.GREEN_00A2AD,\n dataColor5: BaseColors.PURPLE_4B003F,\n dataColor6: BaseColors.PINK_E3008C,\n dataColor7: BaseColors.GREEN_022F22,\n dataColor8: BaseColors.PURPLE_917EDB,\n dataColor9: BaseColors.BLUE_001D3F,\n dataColor10: BaseColors.BROWN_502006,\n noData1: BaseColors.GRAY_808080_070,\n noData2: BaseColors.GRAY_747474,\n },\n datePicker: {\n rest: {\n selected: BaseColors.BLUE_0078D4,\n text: BaseColors.WHITE,\n },\n disabled: {\n border: BaseColors.GRAY_F3F2F1,\n },\n },\n detailsRow: {\n border: BaseColors.BLACK,\n focus: BaseColors.PURPLE_800080,\n hoveredRowLink: BaseColors.BLUE_0F64AE,\n hoveredLink: BaseColors.WHITE,\n hoveredBackground: BaseColors.GRAY_F3F2F1,\n selectedLink: BaseColors.BLUE_0000CD,\n selectedHoveredLink: BaseColors.BLUE_0F64AE,\n },\n radioButton: {\n circle: {\n uncheckedRest: BaseColors.BLACK,\n checkedDisabled: BaseColors.BLACK,\n borderDisabled: BaseColors.RED_800000,\n },\n pill: {\n disabled: BaseColors.RED_800000,\n uncheckedDisabled: BaseColors.RED_800000,\n checkedHover: BaseColors.BLUE_0078D4,\n uncheckedHover: BaseColors.PURPLE_800080,\n },\n },\n tabs: {\n hover: BaseColors.GRAY_F3F2F1,\n },\n teachingBubble: {\n rest: {\n background: BaseColors.PURPLE_800080,\n border: BaseColors.PURPLE_800080,\n text: BaseColors.WHITE,\n secondaryBackround: BaseColors.WHITE,\n },\n hover: {\n primaryButtonBackground: BaseColors.BLUE_DEECF9,\n },\n },\n slider: {\n activeBackground: BaseColors.GRAY_605E5C,\n activeBackgroundHovered: BaseColors.PURPLE_800080,\n inactiveBackgroundHovered: BaseColors.BLUE_C7E0F4,\n activeDisabledBackground: BaseColors.RED_800000,\n inactiveDisabledBackground: BaseColors.RED_800000,\n activeBackgroundPressed: BaseColors.PURPLE_800080,\n },\n calendar: {\n background: BaseColors.WHITE,\n text: {\n rest: BaseColors.GRAY_323130,\n hover: BaseColors.GRAY_201F1E,\n disabled: BaseColors.GRAY_A19F9D,\n outside: BaseColors.GRAY_605E5C,\n },\n button: {\n border: BaseColors.GRAY_605E5C,\n selected: BaseColors.GRAY_EDEBE9,\n hover: BaseColors.GRAY_F3F2F1,\n },\n },\n};\n","export namespace Depths {\n export const depth0 = '0 0 0 0 transparent';\n export const 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)';\n export const 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)';\n export const 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)';\n export const 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)';\n}\n","import { IButtonStyles } from '@fluentui/react/lib/Button';\nimport { ITheme } from '@fluentui/react/lib/Styling';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const ActionButtonStyles = (theme: ITheme): Partial => {\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n const iconColor = (color: string) => {\n return {\n selectors: {\n '.ms-Button-icon': { color },\n },\n };\n };\n return {\n root: {\n fontSize: theme.fonts.medium.fontSize,\n height: StyleConstants.commandBarHeight,\n backgroundColor: semanticColors.buttonBackground,\n color: semanticColors.buttonText,\n ...iconColor(extendedSemanticColors.iconButtonFill),\n },\n rootDisabled: {\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n color: semanticColors.primaryButtonTextDisabled,\n ...iconColor(semanticColors.primaryButtonTextDisabled),\n },\n rootHovered: {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n selectors: {\n ':hover': {\n ...iconColor(extendedSemanticColors.iconButtonFillHovered),\n },\n },\n },\n rootPressed: {\n backgroundColor: semanticColors.buttonBackgroundPressed,\n color: semanticColors.buttonTextPressed,\n selectors: {\n ':active': {\n ...iconColor(extendedSemanticColors.iconButtonFillHovered),\n },\n },\n },\n rootFocused: {\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.inputBorderPressed}`,\n },\n rootChecked: {\n border: `${StyleConstants.borderWidth} solid ${semanticColors.buttonTextPressed}`,\n backgroundColor: semanticColors.buttonBackgroundPressed,\n color: semanticColors.buttonTextPressed,\n ...iconColor(extendedSemanticColors.iconButtonFillHovered),\n },\n rootCheckedHovered: {\n border: `${StyleConstants.borderWidth} solid ${semanticColors.buttonTextHovered}`,\n backgroundColor: semanticColors.buttonBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n selectors: {\n ':hover': {\n ...iconColor(extendedSemanticColors.iconButtonFillHovered),\n },\n },\n },\n rootCheckedPressed: {\n border: `${StyleConstants.borderWidth} solid ${semanticColors.buttonTextPressed}`,\n backgroundColor: semanticColors.buttonBackgroundPressed,\n color: semanticColors.buttonTextPressed,\n selectors: {\n ':active': {\n ...iconColor(extendedSemanticColors.iconButtonFillHovered),\n },\n },\n },\n };\n};\n","import { IBreadcrumbStyleProps, IBreadcrumbStyles } from '@fluentui/react/lib/Breadcrumb';\nimport { FontWeights } from '@fluentui/react/lib/Styling';\n\nexport const BreadcrumbStyles = (props: IBreadcrumbStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n\n return {\n chevron: {\n color: semanticColors.bodyText,\n },\n overflowButton: {\n selectors: {\n '&:hover': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n },\n ':focus': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.buttonTextPressed,\n },\n ':hover:focus': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.buttonTextPressed,\n },\n },\n },\n itemLink: {\n fontSize: theme.fonts.medium.fontSize,\n outline: 'none',\n fontWeight: FontWeights.regular,\n color: semanticColors.link,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.linkHovered,\n textDecoration: 'underline',\n },\n ':focus': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.linkHovered,\n textDecoration: 'underline',\n },\n ':hover:focus': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.linkHovered,\n textDecoration: 'underline',\n },\n },\n },\n };\n};\n","import { ICalloutContentStyleProps, ICalloutContentStyles } from '@fluentui/react/lib/Callout';\nimport { Depths } from '../AzureDepths';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const CalloutContentStyles = (props: ICalloutContentStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n boxShadow: Depths.depth8,\n },\n calloutMain: {\n color: semanticColors.bodyText,\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: extendedSemanticColors.controlBackground,\n border: `${extendedSemanticColors.choiceGroupContainerBorder}\n ${extendedSemanticColors.callOutBorderStyle}\n ${extendedSemanticColors.primaryButtonBorder}`,\n },\n beak: {\n backgroundColor: extendedSemanticColors.controlBackground,\n border: `${extendedSemanticColors.choiceGroupContainerBorder}\n ${extendedSemanticColors.callOutBorderStyle}\n ${extendedSemanticColors.primaryButtonBorder}`,\n },\n };\n};\n","import { ICheckboxStyleProps, ICheckboxStyles } from '@fluentui/react/lib/Checkbox';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport { BaseColors } from '../AzureColors';\nimport * as StyleConstants from '../Constants';\n\nexport const CheckboxStyles = (props: ICheckboxStyleProps): Partial => {\n const { disabled, checked, theme, indeterminate } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n text: [\n {\n fontSize: theme.fonts.medium.fontSize,\n color: semanticColors.bodyText,\n lineHeight: StyleConstants.choiceFieldHeight,\n },\n disabled && {\n color: semanticColors.disabledBodyText,\n },\n ],\n checkbox: [\n {\n backgroundColor: semanticColors.bodyBackground,\n borderColor: extendedSemanticColors.checkBoxBorder,\n selectors: {\n '::after': {\n backgroundColor: BaseColors.BLUE_0078D4,\n },\n },\n width: StyleConstants.choiceFieldHeight,\n height: StyleConstants.choiceFieldHeight,\n },\n indeterminate && {\n selectors: {\n '::after': {\n top: 3,\n left: 3,\n },\n },\n },\n checked && {\n backgroundColor: BaseColors.WHITE,\n borderColor: extendedSemanticColors.checkboxBorderChecked,\n },\n disabled && {\n borderColor: extendedSemanticColors.checkBoxDisabled,\n },\n disabled &&\n indeterminate && {\n selectors: {\n '::after': {\n backgroundColor: extendedSemanticColors.checkBoxDisabled,\n },\n },\n },\n disabled &&\n checked && {\n borderColor: extendedSemanticColors.checkBoxDisabled,\n backgroundColor: extendedSemanticColors.checkBoxCheckedDisabledBackground,\n },\n ],\n checkmark: [\n {\n color: extendedSemanticColors.checkBoxCheck,\n selectors: {\n '&:hover': {},\n },\n },\n disabled && {\n color: extendedSemanticColors.checkBoxCheck,\n },\n ],\n root: [\n !disabled && [\n !checked && {\n selectors: {\n ':hover .ms-Checkbox-label .ms-Checkbox-checkbox': {\n borderColor: extendedSemanticColors.buttonText,\n },\n ':hover .ms-Checkbox-label .ms-Checkbox-checkmark': {\n color: extendedSemanticColors.checkBoxCheckHover,\n opacity: '1',\n },\n ':hover .ms-Checkbox-text': {\n color: extendedSemanticColors.checkBoxCheckHoverTest,\n },\n },\n },\n checked && {\n selectors: {\n '.ms-Checkbox-label .ms-Checkbox-checkbox': {\n background: extendedSemanticColors.checkboxBackgroundChecked,\n borderColor: extendedSemanticColors.checkboxBorderChecked,\n },\n ':hover .ms-Checkbox-label .ms-Checkbox-checkbox': {\n borderColor: extendedSemanticColors.checkboxBorderCheckedHovered,\n backgroundColor: extendedSemanticColors.checkboxBackgroundHovered,\n },\n ':hover .ms-Checkbox-text': {\n color: extendedSemanticColors.checkBoxCheckHoverTest,\n },\n\n ':focus .ms-Checkbox-label .ms-Checkbox-checkbox': {\n borderColor: extendedSemanticColors.focusBorder,\n },\n },\n },\n indeterminate &&\n checked && {\n selectors: {\n '.ms-Checkbox-label .ms-Checkbox-checkbox': {\n background: extendedSemanticColors.checkBoxIndeterminateBackground,\n borderColor: extendedSemanticColors.checkBoxBorder,\n },\n ':hover .ms-Checkbox-label .ms-Checkbox-checkbox': {\n borderColor: extendedSemanticColors.buttonText,\n backgroundColor: 'transparent',\n },\n },\n },\n ],\n ],\n input: {\n [`.ms-Fabric--isFocusVisible &:focus + label::before`]: {\n outline: `1px solid ${extendedSemanticColors.checkBoxCheckedFocus}`,\n },\n },\n };\n};\n","import { ICheckStyleProps, ICheckStyles } from '@fluentui/react/lib/Check';\nimport {\n IDetailsRowStyleProps,\n IDetailsRowStyles,\n IDetailsListStyleProps,\n IDetailsListStyles,\n} from '@fluentui/react/lib/DetailsList';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport { FontSizes } from '../AzureType';\nimport * as StyleConstants from '../Constants';\n\nexport const CheckStyles = (props: ICheckStyleProps): Partial => {\n const { theme, checked } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return {\n circle: [\n {\n fontSize: 0,\n paddingLeft: 1,\n borderRadius: StyleConstants.borderRadius,\n color: semanticColors.listBackground,\n backgroundColor: semanticColors.listBackground,\n borderColor: semanticColors.ButtonBorderFocus,\n borderWidth: StyleConstants.borderWidth,\n borderStyle: StyleConstants.borderSolid,\n },\n ],\n check: [\n {\n left: 1.8,\n top: 0.5,\n },\n checked && {\n color: semanticColors.inputText,\n },\n !checked && {\n color: semanticColors.listBackground,\n },\n ],\n };\n};\n\nexport const DetailsListStyles = (props: IDetailsListStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n borderTop: StyleConstants.borderNone,\n },\n headerWrapper: {\n selectors: {\n '.ms-DetailsHeader': {\n borderColor: extendedSemanticColors.rowBorder,\n borderTop: StyleConstants.borderNone,\n selectors: {\n '.ms-DetailsHeader-cellTitle': {\n backgroundColor: semanticColors.listBackground,\n borderRightWidth: StyleConstants.borderWidth,\n borderRightStyle: StyleConstants.borderSolid,\n borderRightColor: semanticColors.listBackground,\n fontSize: FontSizes.size10,\n fontWeight: 700,\n },\n ':hover .ms-DetailsHeader-cellTitle': {\n borderRightWidth: StyleConstants.borderWidth,\n borderRightStyle: StyleConstants.borderSolid,\n borderRightColor: semanticColors.variantBorder,\n },\n '.is-checked': {\n '.ms-Check-circle': {\n backgroundColor: extendedSemanticColors.checkboxBackgroundChecked,\n borderColor: extendedSemanticColors.checkBoxCheck,\n },\n '.ms-Check-check': {\n color: extendedSemanticColors.checkBoxCheck,\n },\n },\n '.ms-DetailsHeader-check:hover': {\n '.ms-Check-check': {\n color: extendedSemanticColors.checkBoxCheckHover,\n },\n '.is-checked': {\n '.ms-Check-circle': {\n backgroundColor: extendedSemanticColors.checkboxBackgroundHovered,\n },\n '.ms-Check-check': {\n color: extendedSemanticColors.checkBoxCheck,\n },\n },\n },\n },\n },\n },\n },\n };\n};\n\nexport const DetailsRowStyles = (props: IDetailsRowStyleProps): Partial => {\n const { theme, isSelected } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n borderColor: extendedSemanticColors.rowBorder,\n color: semanticColors.listText,\n fontSize: theme.fonts.medium.fontSize,\n selectors: {\n '&.ms-DetailsRow': {\n borderBottom: `1px solid ${extendedSemanticColors.listItemBackgroundSelected}`,\n },\n },\n },\n !isSelected && [\n {\n background: semanticColors.listBackground,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.listItemBackgroundHovered,\n selectors: {\n '.ms-Check-check': {\n color: extendedSemanticColors.checkBoxCheckHover,\n },\n '.ms-Link': {\n color: extendedSemanticColors.listLinkRowHovered,\n },\n '.ms-Link:hover': {\n color: extendedSemanticColors.listLinkHovered,\n },\n },\n },\n ':focus': {\n backgroundColor: extendedSemanticColors.rowFocus,\n },\n },\n },\n ],\n isSelected && [\n {\n backgroundColor: extendedSemanticColors.listItemBackgroundSelected,\n textDecoration: extendedSemanticColors.listUnderline,\n fontWeight: StyleConstants.fontWeightRegular,\n selectors: {\n '.ms-DetailsRow-cell': {\n fontWeight: StyleConstants.fontWeightRegular,\n },\n '.ms-Check-circle': {\n backgroundColor: extendedSemanticColors.checkboxBackgroundChecked,\n borderColor: extendedSemanticColors.checkBoxCheck,\n },\n '.ms-Check-check': {\n color: extendedSemanticColors.checkBoxCheck,\n },\n '.ms-Link': {\n color: extendedSemanticColors.listLinkRowSelected,\n },\n ':hover': {\n background: extendedSemanticColors.listItemBackgroundSelectedHovered,\n selectors: {\n '.ms-Link': {\n color: extendedSemanticColors.listLinkRowSelectedHovered,\n },\n '.ms-Check-circle': {\n backgroundColor: extendedSemanticColors.checkboxBackgroundHovered,\n },\n },\n },\n },\n },\n ],\n ],\n };\n};\n","import { IChoiceGroupOptionStyleProps, IChoiceGroupOptionStyles } from '@fluentui/react/lib/ChoiceGroup';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport * as StyleConstants from '../Constants';\n\nexport const ChoiceGroupOptionStyles = (props: IChoiceGroupOptionStyleProps): Partial => {\n const { checked, disabled, theme, hasIcon, hasImage } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n return {\n root: {\n fontSize: theme.fonts.medium.fontSize,\n color: semanticColors.bodyText,\n backgroundColor: semanticColors.bodyBackground,\n selectors: {\n '.ms-ChoiceField-wrapper': {\n padding: '4px',\n },\n '.ms-ChoiceFieldLabel': {\n fontSize: theme.fonts.medium.fontSize,\n verticalAlign: 'middle',\n },\n '.is-inFocus': {\n selectors: {\n ':after': {\n border: `1px solid ${extendedSemanticColors.choiceGroupFocusBorder} !important`,\n },\n },\n border: `${extendedSemanticColors.choiceGroupContainerBorder}\n ${extendedSemanticColors.choiceGroupContainerBorderStyle}\n ${extendedSemanticColors.checkboxBorderChecked}`,\n },\n },\n },\n field: [\n {\n selectors: {\n // The circle\n ':before': [\n {\n width: StyleConstants.choiceFieldHeight,\n height: StyleConstants.choiceFieldHeight,\n borderColor: semanticColors.bodyText,\n },\n checked && {\n backgroundColor: 'transparent',\n borderColor: extendedSemanticColors.checkboxBorderChecked,\n },\n disabled && {\n backgroundColor: semanticColors.bodyBackground,\n borderColor: extendedSemanticColors.controlOutlineDisabled,\n },\n (hasIcon || hasImage) &&\n disabled &&\n checked && {\n opacity: 1,\n },\n ],\n // The dot\n ':after': [\n {\n borderColor: extendedSemanticColors.checkboxBorderChecked,\n top: 4,\n left: 4,\n },\n checked &&\n disabled && {\n borderColor: extendedSemanticColors.controlOutlineDisabled,\n },\n ],\n ':hover': [\n (hasIcon || hasImage) && {\n borderColor: extendedSemanticColors.controlOutlineHovered,\n },\n !disabled && {\n selectors: {\n '.ms-ChoiceFieldLabel': {\n color: extendedSemanticColors.bodyTextHovered,\n },\n ':before': {\n borderColor: extendedSemanticColors.controlOutlineHovered,\n },\n ':after': {\n borderColor: extendedSemanticColors.checkboxBorderChecked,\n backgroundColor: extendedSemanticColors.choiceGroupUncheckedDotHover,\n top: 4,\n left: 4,\n },\n },\n },\n !disabled &&\n checked && {\n selectors: {\n ':before': {\n borderColor: extendedSemanticColors.checkboxBorderCheckedHovered,\n },\n ':after': {\n borderColor: extendedSemanticColors.checkboxBorderCheckedHovered,\n backgroundColor: extendedSemanticColors.choiceGroupUncheckedDotHover,\n },\n },\n },\n ],\n '.ms-ChoiceFieldLabel': {\n color: disabled ? semanticColors.disabledBodyText : semanticColors.bodyText,\n },\n },\n },\n (hasIcon || hasImage) &&\n !disabled && {\n selectors: {\n i: {\n // discrepency: does icon highlight change color when selected?\n color: checked ? extendedSemanticColors.controlAccent : semanticColors.bodyText,\n },\n },\n },\n (hasIcon || hasImage) && {\n borderWidth: StyleConstants.borderWidth,\n borderColor: checked ? extendedSemanticColors.controlOutline : semanticColors.bodyBackground,\n },\n checked &&\n disabled && {\n borderColor: semanticColors.disabledBodyText,\n },\n ],\n };\n};\n","import { IColorPickerGridCellStyleProps, IColorPickerGridCellStyles } from '@fluentui/react/lib/SwatchColorPicker';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const ColorPickerGridCellStyles = (\n props: IColorPickerGridCellStyleProps,\n): Partial => {\n const { theme, selected, circle } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return {\n colorCell: [\n !selected && {\n selectors: {\n ':focus': {\n borderColor: semanticColors.controlOutline,\n backgroundColor: semanticColors.listItemBackgroundHovered,\n },\n ':hover': {\n borderColor: semanticColors.controlOutline,\n backgroundColor: semanticColors.listItemBackgroundHovered,\n },\n ':active:hover': {\n borderColor: semanticColors.controlOutline,\n backgroundColor: semanticColors.listItemBackgroundHovered,\n },\n },\n },\n selected && {\n borderColor: semanticColors.controlOutline,\n selectors: {\n ':hover': [\n !circle && {\n outlineColor: semanticColors.controlOutline,\n },\n circle && {\n borderColor: semanticColors.controlOutline,\n },\n ],\n },\n },\n ],\n };\n};\n","import {\n IColorPickerStyleProps,\n IColorPickerStyles,\n IColorRectangleStyleProps,\n IColorRectangleStyles,\n IColorSliderStyleProps,\n IColorSliderStyles,\n} from '@fluentui/react/lib/ColorPicker';\nimport { Depths } from '../AzureDepths';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const ColorPickerStyles = (props: IColorPickerStyleProps): Partial => {\n return {\n input: {\n selectors: {\n '&.ms-TextField': {\n paddingRight: 4,\n },\n '.ms-TextField-field': {\n minWidth: 'auto',\n padding: 5,\n textOverflow: 'clip',\n },\n },\n },\n table: {\n selectors: {\n 'tbody td:last-of-type .ms-ColorPicker-input': {\n paddingRight: 0,\n },\n },\n },\n tableHeader: {\n selectors: {\n td: {\n paddingBottom: 4,\n },\n },\n },\n };\n};\n\nexport const ColorRectangleStyles = (props: IColorRectangleStyleProps): Partial => {\n const { theme } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n border: `1px solid ${semanticColors.controlOutline}`,\n },\n thumb: {\n borderColor: semanticColors.controlOutline,\n boxShadow: Depths.depth8,\n },\n };\n};\n\nexport const ColorSliderStyles = (props: IColorSliderStyleProps): Partial => {\n const { theme } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return {\n sliderThumb: {\n borderColor: semanticColors.controlOutline,\n boxShadow: Depths.depth8,\n },\n };\n};\n","import { ITheme } from '@fluentui/react/lib/Styling';\nimport { Depths } from '../AzureDepths';\nimport { IComboBoxStyles } from '@fluentui/react/lib/ComboBox';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const ComboBoxStyles = (theme: ITheme): Partial => {\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n height: StyleConstants.inputControlHeight,\n fontSize: theme.fonts.medium.fontSize,\n lineHeight: StyleConstants.inputControlHeight,\n selectors: {\n '.ms-Button': {\n backgroundColor: semanticColors.bodyBackground,\n color: semanticColors.inputText,\n paddingTop: '5px',\n },\n '.ms-Button:hover': {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n },\n '&.is-open': {\n borderColor: semanticColors.focusBorder,\n },\n '.ms-Button-icon': {\n height: StyleConstants.inputControlHeightInner,\n },\n },\n },\n input: {\n height: StyleConstants.inputControlHeightInner,\n selectors: {\n '::placeholder': {\n fontStyle: 'italic',\n },\n '::-ms-input-placeholder': {\n fontStyle: 'italic',\n },\n },\n },\n rootDisabled: {\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n selectors: {\n '.ms-Button': {\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n color: semanticColors.inputText,\n },\n '.ms-Button:hover': {\n backgroundColor: semanticColors.disabledBackground,\n color: semanticColors.inputText,\n },\n '.ms-ComboBox-Input': {\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n color: semanticColors.primaryButtonTextDisabled,\n },\n },\n },\n rootFocused: {\n borderColor: semanticColors.focusBorder,\n },\n rootError: {\n borderColor: semanticColors.errorBackground,\n borderWidth: StyleConstants.borderWidth,\n },\n rootPressed: {\n borderColor: semanticColors.focusBorder,\n },\n callout: {\n boxShadow: Depths.depth8,\n },\n divider: {\n backgroundColor: semanticColors.inputBorder,\n border: 'none',\n height: '1px',\n },\n errorMessage: {\n color: semanticColors.errorText,\n fontSize: theme.fonts.medium.fontSize,\n },\n optionsContainer: {\n verticalAlign: 'middle',\n border: 'none',\n selectors: {\n '.ms-ComboBox-divider': {\n backgroundColor: extendedSemanticColors.rowBorder,\n },\n '.ms-ComboBox-header': {\n color: semanticColors.inputText,\n fontSize: theme.fonts.medium.fontSize,\n },\n '.ms-ComboBox-option': {\n color: semanticColors.bodyText,\n fontSize: theme.fonts.medium.fontSize,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n border: '1px solid transparent',\n color: extendedSemanticColors.buttonTextHovered,\n },\n },\n },\n '.is-checked': {\n backgroundColor: semanticColors.listItemBackgroundChecked,\n },\n '.is-disabled': {\n color: semanticColors.disabledBodyText,\n },\n },\n },\n };\n};\n","import { ICommandBarStyleProps, ICommandBarStyles } from '@fluentui/react/lib/CommandBar';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const CommandBarStyles = (props: ICommandBarStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n backgroundColor: semanticColors.bodyBackground,\n height: '36px',\n borderBottomWidth: StyleConstants.borderWidth,\n borderBottomStyle: StyleConstants.borderSolid,\n borderBottomColor: extendedSemanticColors.commandBarBorder,\n padding: 0,\n },\n ],\n };\n};\n","import { ITheme } from '@fluentui/react';\nimport { getFocusStyle } from '@fluentui/react/lib/Styling';\nimport { IButtonStyles } from '@fluentui/react/lib/Button';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const CommandBarButtonStyles = (theme: ITheme): Partial => {\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n icon: {\n color: extendedSemanticColors.iconButtonFill,\n },\n menuIcon: {\n color: semanticColors.bodyText,\n },\n root: {\n ...getFocusStyle(theme, { inset: 2 }),\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: semanticColors.bodyBackground,\n color: extendedSemanticColors.commandBarButtonText,\n paddingLeft: 4,\n paddingRight: 4,\n },\n rootExpanded: {\n backgroundColor: extendedSemanticColors.commandBarButtonBackgroundHover,\n color: extendedSemanticColors.commandBarButtonTextHover,\n selectors: {\n '.ms-Button-icon': {\n color: extendedSemanticColors.commandBarButtonIconHover,\n },\n '.ms-Button-menuIcon': {\n color: extendedSemanticColors.commandBarButtonTextHover,\n },\n },\n },\n rootExpandedHovered: {\n backgroundColor: extendedSemanticColors.commandBarButtonBackgroundSelectedHover,\n color: extendedSemanticColors.commandBarButtonTextHover,\n selectors: {\n '.ms-Button-icon': {\n color: extendedSemanticColors.commandBarButtonIconSelected,\n },\n '.ms-Button-menuIcon': {\n color: extendedSemanticColors.commandBarButtonTextHover,\n },\n },\n },\n rootHovered: {\n backgroundColor: extendedSemanticColors.commandBarButtonBackgroundHover,\n color: extendedSemanticColors.commandBarButtonTextHover,\n selectors: {\n '.ms-Button-icon': {\n color: extendedSemanticColors.commandBarButtonIconHover,\n },\n '.ms-Button-menuIcon': {\n color: extendedSemanticColors.commandBarButtonTextHover,\n },\n },\n },\n rootPressed: {\n backgroundColor: extendedSemanticColors.commandBarButtonBackgroundSelected,\n color: extendedSemanticColors.commandBarButtonTextHover,\n selectors: {\n '.ms-Button-icon': {\n color: extendedSemanticColors.commandBarButtonIconSelected,\n },\n '.ms-Button-menuIcon': {\n color: extendedSemanticColors.commandBarButtonTextHover,\n },\n },\n },\n rootChecked: {\n backgroundColor: extendedSemanticColors.commandBarButtonBackgroundSelected,\n color: extendedSemanticColors.commandBarButtonTextHover,\n selectors: {\n '.ms-Button-icon': {\n color: extendedSemanticColors.commandBarButtonIconSelected,\n },\n '.ms-Button-menuIcon': {\n color: extendedSemanticColors.commandBarButtonTextHover,\n },\n },\n },\n rootDisabled: {\n backgroundColor: semanticColors.bodyBackground,\n color: extendedSemanticColors.commandBarButtonTextDisabled,\n selectors: {\n '.ms-Button-icon': {\n color: extendedSemanticColors.commandBarButtonTextDisabled,\n },\n '.ms-Button-menuIcon': {\n color: extendedSemanticColors.commandBarButtonTextDisabled,\n },\n },\n },\n rootFocused: {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n selectors: {\n '.ms-Button-icon': {\n color: extendedSemanticColors.iconButtonFillHovered,\n },\n '.ms-Button-menuIcon': {\n color: semanticColors.buttonTextHovered,\n },\n '::after': {\n outlineColor: `${extendedSemanticColors.commandBarButtonAfterColor} !important`,\n },\n },\n },\n splitButtonMenuButton: {\n backgroundColor: semanticColors.bodyBackground,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n },\n },\n },\n splitButtonMenuButtonChecked: {\n backgroundColor: semanticColors.bodyBackground,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n },\n },\n },\n splitButtonMenuButtonDisabled: {\n backgroundColor: semanticColors.bodyBackground,\n },\n splitButtonMenuButtonExpanded: {\n backgroundColor: semanticColors.bodyBackground,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n },\n },\n },\n splitButtonMenuIcon: {\n color: semanticColors.bodyText,\n },\n };\n};\n","import { IButtonStyles } from '@fluentui/react/lib/Button';\nimport { ITheme } from '@fluentui/react/lib/Styling';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const CompoundButtonStyles = (theme: ITheme): Partial => {\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n const labelTextColor = (color: string) => {\n return {\n '.ms-Button-description': { color },\n '.ms-Button-label': { color },\n };\n };\n\n return {\n root: {\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: semanticColors.buttonBackground,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n selectors: {\n ...labelTextColor(semanticColors.buttonText),\n '&.ms-Button--compoundPrimary': {\n backgroundColor: semanticColors.primaryButtonBackground,\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.primaryCompoundButtonBorder}`,\n selectors: {\n ...labelTextColor(semanticColors.primaryButtonText),\n },\n },\n '&.ms-Button--compoundPrimary:focus': {\n backgroundColor: semanticColors.primaryButtonBackground,\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.primaryCompoundButtonBorder}`,\n selectors: {\n ...labelTextColor(extendedSemanticColors.primaryButtonTextFocused),\n },\n },\n '&.ms-Button--compound:focus': {\n backgroundColor: semanticColors.buttonBackground,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n selectors: {\n ...labelTextColor(semanticColors.buttonText),\n '&.ms-Button--compound:hover': {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n },\n },\n },\n },\n },\n rootHovered: {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n selectors: {\n '&.ms-Button--compound:hover': {\n selectors: {\n ...labelTextColor(semanticColors.buttonTextHovered),\n },\n },\n '&.ms-Button--compoundPrimary:hover': {\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n color: semanticColors.primaryButtonTextHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.primaryButtonBackgroundHovered}`,\n selectors: {\n ...labelTextColor(semanticColors.primaryButtonTextHovered),\n },\n },\n },\n },\n rootPressed: {\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n selectors: {\n '&.ms-Button--compound:active': {\n backgroundColor: semanticColors.buttonBackgroundPressed,\n borderColor: semanticColors.buttonBackgroundPressed,\n selectors: {\n ...labelTextColor(semanticColors.buttonTextPressed),\n },\n },\n '&.ms-Button--compoundPrimary:active': {\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n color: semanticColors.primaryButtonTextPressed,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.primaryButtonBackgroundPressed}`,\n\n selectors: {\n ...labelTextColor(semanticColors.primaryButtonTextPressed),\n },\n },\n },\n },\n rootDisabled: {\n backgroundColor: semanticColors.buttonBackgroundDisabled,\n border: '0px',\n selectors: {\n ...labelTextColor(semanticColors.buttonTextDisabled),\n '&.ms-Button--compoundPrimary': {\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.primaryButtonBorderDisabled}`,\n selectors: {\n ...labelTextColor(semanticColors.primaryButtonTextDisabled),\n },\n },\n '&.ms-Button--compound': {\n border: extendedSemanticColors.primaryButtonBorderDisabled,\n },\n },\n },\n rootChecked: {\n backgroundColor: semanticColors.buttonBackgroundPressed,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.buttonTextPressed}`,\n selectors: {\n ...labelTextColor(semanticColors.buttonTextPressed),\n '&.ms-Button--compoundPrimary.is-checked': {\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n border: `0px`,\n selectors: {\n ...labelTextColor(semanticColors.primaryButtonTextPressed),\n },\n },\n },\n },\n rootCheckedHovered: {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.buttonTextPressed}`,\n selectors: {\n ...labelTextColor(semanticColors.buttonTextHovered),\n '&.ms-Button--compoundPrimary.is-checked:hover': {\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n border: `0px`,\n selectors: {\n ...labelTextColor(semanticColors.primaryButtonTextHovered),\n },\n },\n },\n },\n rootCheckedPressed: {\n backgroundColor: semanticColors.buttonBackgroundPressed,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.buttonTextPressed}`,\n selectors: {\n ...labelTextColor(semanticColors.buttonTextPressed),\n '&.ms-Button--compoundPrimary.is-checked:active': {\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n border: `0px`,\n selectors: {\n ...labelTextColor(semanticColors.primaryButtonTextPressed),\n },\n },\n },\n },\n rootCheckedDisabled: {\n backgroundColor: semanticColors.buttonBackgroundDisabled,\n border: '0px',\n selectors: {\n ...labelTextColor(semanticColors.buttonTextDisabled),\n '&.ms-Button--compoundPrimary.is-checked.is-disabled': {\n backgroundColor: semanticColors.buttonBackgroundDisabled,\n selectors: {\n ...labelTextColor(semanticColors.buttonTextDisabled),\n },\n },\n },\n },\n };\n};\n","import {\n IContextualMenuStyleProps,\n IContextualMenuStyles,\n IContextualMenuItemStyleProps,\n IContextualMenuItemStyles,\n} from '@fluentui/react/lib/ContextualMenu';\nimport { Depths } from '../AzureDepths';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const ContextualMenuStyles = (props: IContextualMenuStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n subComponentStyles: {\n callout: {\n root: {\n backgroundColor: extendedSemanticColors.controlBackground,\n borderColor: semanticColors.variantBorder,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: StyleConstants.borderWidth,\n boxShadow: Depths.depth8,\n selectors: {\n '.ms-Callout-beak': {\n backgroundColor: semanticColors.inputBackground,\n },\n },\n },\n },\n menuItem: (itemStyleProps: IContextualMenuItemStyleProps): Partial => {\n return {\n root: [\n {\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: extendedSemanticColors.controlBackground,\n selectors: {\n '&:hover': {\n backgroundColor: semanticColors.listItemBackgroundHovered,\n color: semanticColors.bodyText,\n selectors: {\n '.ms-ContextualMenu-icon': {\n color: extendedSemanticColors.iconButtonFillHovered,\n },\n },\n },\n '&:active': {\n color: semanticColors.buttonTextHovered,\n },\n '.ms-ContextualMenu-icon': {\n color: extendedSemanticColors.iconButtonFill,\n },\n },\n },\n ],\n splitPrimary: {\n fontSize: theme.fonts.medium.fontSize,\n },\n divider: {\n backgroundColor: semanticColors.variantBorder,\n },\n iconColor: {\n color: semanticColors.focusBorder,\n },\n item: {\n selectors: {\n '.is-expanded': {\n backgroundColor: semanticColors.menuItemBackgroundHovered,\n color: semanticColors.inputText,\n },\n },\n },\n };\n },\n },\n };\n};\n","import { IDatePickerStyles, IDatePickerStyleProps } from '@fluentui/react/lib/DatePicker';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport * as StyleConstants from '../Constants';\n\nexport const DatePickerStyles = (props: IDatePickerStyleProps): Partial => {\n const { disabled, theme } = props;\n if (!theme) {\n return {};\n }\n\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n icon: [\n {\n color: extendedSemanticColors.calendarTextOutside,\n bottom: '0px',\n top: '0px',\n height: '19px',\n padding: '3px 5px 0 0',\n },\n disabled && {\n color: extendedSemanticColors.calendarTextDisabled,\n },\n ],\n root: [\n {\n fontSize: theme.fonts.medium.fontSize,\n selectors: {\n '.ms-TextField-field': {\n lineHeight: StyleConstants.calendarHeightInner,\n height: StyleConstants.calendarHeightInner,\n },\n },\n },\n disabled && {\n border: 'none',\n color: semanticColors.disabledBodyText,\n selectors: {\n '.ms-TextField-fieldGroup': {\n borderColor: semanticColors.datePickerDisabledBorder,\n borderRadius: StyleConstants.borderRadius,\n },\n '.ms-TextField-field': {\n lineHeight: 22,\n },\n },\n },\n ],\n callout: [\n {\n selectors: {\n '.ms-CalendarDay-daySelected::before': {\n display: 'none !important',\n border: 0,\n },\n },\n },\n ],\n };\n};\n","import { IButtonStyles } from '@fluentui/react/lib/Button';\nimport * as StyleConstants from '../Constants';\nimport { ITheme } from '@fluentui/react/lib/Styling';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const DefaultButtonStyles = (theme: ITheme): Partial => {\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n fontSize: theme.fonts.medium.fontSize,\n height: StyleConstants.inputControlHeight,\n padding: '0px 16px',\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n selectors: {\n // danger button\n '&.danger': {\n outlineColor: extendedSemanticColors.ButtonBackgroundDanger,\n borderColor: extendedSemanticColors.ButtonBorderDanger,\n backgroundColor: extendedSemanticColors.ButtonBackgroundDanger,\n color: extendedSemanticColors.ButtonBackgroundDangerText,\n selectors: {\n ':hover': {\n outlineColor: extendedSemanticColors.ButtonBackgroundDangerHovered,\n borderColor: `${extendedSemanticColors.ButtonBorderDangerHovered} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundDangerHovered,\n color: extendedSemanticColors.ButtonBackgroundDangerTextHovered,\n },\n ':active': {\n outlineColor: extendedSemanticColors.ButtonBackgroundDangerPressed,\n borderColor: `${extendedSemanticColors.ButtonBorderDangerPressed} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundDangerPressed,\n color: extendedSemanticColors.ButtonBackgroundDangerTextHovered,\n },\n ':focus': {\n outlineColor: extendedSemanticColors.ButtonBackgroundDangerPressed,\n borderColor: extendedSemanticColors.ButtonBorderDangerPressed,\n backgroundColor: extendedSemanticColors.ButtonBackgroundDangerPressed,\n color: extendedSemanticColors.ButtonBackgroundDangerTextHovered,\n },\n },\n },\n // tag button\n '&.tag': {\n outlineColor: extendedSemanticColors.ButtonBackgroundTag,\n borderColor: `${extendedSemanticColors.ButtonBorderTag} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundTag,\n color: extendedSemanticColors.ButtonBackgroundTagText,\n selectors: {\n ':hover': {\n outlineColor: extendedSemanticColors.ButtonBackgroundTagHovered,\n borderColor: `${extendedSemanticColors.ButtonBorderTagHovered} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundTagHovered,\n color: extendedSemanticColors.ButtonBackgroundTagTextHovered,\n },\n ':active': {\n outlineColor: extendedSemanticColors.ButtonBackgroundTagPressed,\n borderColor: extendedSemanticColors.ButtonBorderTagPressed,\n backgroundColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n color: extendedSemanticColors.ButtonBackgroundTagTextHovered,\n },\n ':focus': {\n outlineColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n borderColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n backgroundColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n color: `${extendedSemanticColors.ButtonBackgroundTagTextHovered} !important`,\n },\n },\n },\n // standard button\n '&.is-expanded': {\n color: semanticColors.buttonTextHovered,\n borderColor: semanticColors.inputBorderHovered,\n },\n '&.ms-Button--primary': {\n height: StyleConstants.inputControlHeight,\n padding: '0px 16px',\n border: `${StyleConstants.borderWidth} solid ${semanticColors.primaryButtonBorder}`,\n selectors: {\n ':hover': {\n borderColor: semanticColors.primaryButtonBackgroundHovered,\n },\n ':active': {\n borderColor: semanticColors.primaryButtonBackgroundPressed,\n },\n ':focus': {\n backgroundColor: semanticColors.primaryButtonBackground,\n color: semanticColors.primaryButtonText,\n borderColor: extendedSemanticColors.primaryCompoundButtonBorder,\n },\n },\n },\n '&.ms-Button--primary.is-disabled': {\n border: `${StyleConstants.borderWidth} solid\n ${extendedSemanticColors.primaryButtonBorderDisabled} !important`,\n },\n },\n },\n rootFocused: {\n selectors: {\n '::after': {\n outlineColor: `${extendedSemanticColors.ButtonBorderFocus} !important`,\n },\n },\n backgroundColor: semanticColors.buttonBackground,\n color: semanticColors.buttonText,\n fill: semanticColors.buttonTextHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n },\n rootChecked: {\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.inputBorderPressed}`,\n },\n rootCheckedHovered: {\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n },\n rootCheckedPressed: {\n backgroundColor: semanticColors.buttonBackgroundPressed,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n color: semanticColors.buttonTextHovered,\n },\n rootDisabled: {\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n color: semanticColors.primaryButtonTextDisabled,\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.primaryButtonBorderDisabled} !important`,\n },\n splitButtonContainer: {\n selectors: {\n // standard button\n '.ms-Button--default': {\n height: StyleConstants.inputControlHeight,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n borderRight: '0 !important',\n },\n // standard button dropdown\n '.ms-Button--default + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackground,\n color: semanticColors.buttonText,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorder}`,\n borderLeft: 'none',\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.buttonText,\n },\n },\n },\n // standard button divider\n '.ms-Button--default + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.buttonTextHovered,\n },\n // primary button\n '.ms-Button--primary': {\n height: StyleConstants.inputControlHeight,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.primaryButtonBorder}`,\n borderRight: '0 !important',\n backgroundColor: semanticColors.primaryButtonBackground,\n color: semanticColors.primaryButtonText,\n },\n // primary button dropdown\n '.ms-Button--primary + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.primaryButtonBackground,\n color: semanticColors.primaryButtonText,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.primaryButtonBorder}`,\n borderLeft: '0 !important',\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.primaryButtonText,\n },\n },\n },\n // primary button divider\n '.ms-Button--primary + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.primaryButtonText,\n },\n // disabled primary action\n '.ms-Button.is-disabled': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackgroundDisabled,\n color: semanticColors.primaryButtonTextDisabled,\n },\n // primary function disabled, secondary enabled - divider\n '.ms-Button--primary.is-disabled + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.primaryButtonBackground,\n },\n // entire split button disabled - divider\n '.ms-Button.is-disabled + .ms-Button.is-disabled + span': {\n height: '10px',\n backgroundColor: semanticColors.buttonTextDisabled,\n },\n },\n },\n splitButtonContainerHovered: {\n selectors: {\n // primary button hover\n '.ms-Button--primary:not(.is-disabled)': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n color: semanticColors.primaryButtonTextHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.primaryButtonBorder}`,\n },\n // primary button dropdown hover\n '.ms-Button--primary + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n border: 'none',\n color: semanticColors.primaryButtonTextHovered,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.primaryButtonTextHovered,\n },\n ':hover': {\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n color: semanticColors.primaryButtonTextHovered,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.primaryButtonTextHovered,\n },\n },\n },\n },\n },\n // secondary button hover\n '.ms-Button--default:not(.is-disabled)': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackgroundHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n borderRight: 'none',\n color: semanticColors.buttonTextHovered,\n },\n // secondary button dropdown hover\n '.ms-Button--default + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackgroundHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n borderLeft: 'none',\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.buttonTextHovered,\n },\n },\n },\n },\n },\n },\n },\n splitButtonContainerDisabled: {\n selectors: {\n '.ms-Button': {\n border: 'none',\n height: StyleConstants.inputControlHeight,\n color: semanticColors.primaryButtonTextDisabled,\n },\n\n '.ms-Button--default + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.primaryButtonBorderDisabled}`,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.primaryButtonTextDisabled,\n },\n },\n },\n '.ms-Button--primary + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n //border: '1px solid pink !important', //\"'none',\n color: semanticColors.primaryButtonTextDisabled,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.primaryButtonTextDisabled,\n },\n },\n },\n },\n },\n splitButtonContainerChecked: {\n selectors: {\n // primary button checked\n '.ms-Button--primary:not(.is-disabled)': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n color: semanticColors.primaryButtonTextPressed,\n border: 'none',\n },\n // primary button dropdown checked\n '.ms-Button--primary + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n color: semanticColors.primaryButtonTextPressed,\n borderColor: semanticColors.primaryButtonBackgroundPressed,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.primaryButtonTextPressed,\n },\n },\n },\n // secondary button checked\n '.ms-Button--default:not(.is-disabled)': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackgroundPressed,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n borderRight: 'none',\n color: semanticColors.buttonTextPressed,\n },\n // secondary button dropdown checked\n '.ms-Button--default + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackgroundPressed,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n color: semanticColors.buttonTextPressed,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.buttonTextPressed,\n },\n },\n },\n // primary button divider\n '.ms-Button--primary + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.primaryButtonTextHovered,\n },\n // standard button divider\n '.ms-Button--default + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.buttonTextPressed,\n },\n // primary function disabled, secondary enabled - divider\n '.ms-Button--primary.is-disabled + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n },\n },\n },\n splitButtonContainerCheckedHovered: {\n selectors: {\n // primary button checked hovered\n '.ms-Button--primary:not(.is-disabled)': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n color: semanticColors.primaryButtonTextHovered,\n border: 'none',\n },\n // primary button dropdown checked hovered\n '.ms-Button--primary + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n color: semanticColors.primaryButtonTextHovered,\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.primaryButtonTextHovered,\n },\n },\n },\n // secondary button checked hovered\n '.ms-Button--default:not(.is-disabled)': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackgroundHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n borderRight: 'none',\n color: semanticColors.buttonTextHovered,\n },\n // secondary button dropdown checked hovered\n '.ms-Button--default + .ms-Button': {\n height: StyleConstants.inputControlHeight,\n backgroundColor: semanticColors.buttonBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.inputBorderHovered}`,\n borderLeft: 'none',\n selectors: {\n '.ms-Button-menuIcon': {\n color: semanticColors.buttonTextHovered,\n },\n },\n },\n // primary button divider\n '.ms-Button--primary + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.primaryButtonTextHovered,\n },\n // standard button divider\n '.ms-Button--default + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.buttonTextHovered,\n },\n // primary function disabled, secondary enabled - divider\n '.ms-Button--primary.is-disabled + .ms-Button + span': {\n height: '10px',\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n },\n },\n },\n };\n};\n","import {\n IDialogContentStyleProps,\n IDialogContentStyles,\n IDialogFooterStyleProps,\n IDialogFooterStyles,\n} from '@fluentui/react/lib/Dialog';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport { FontSizes } from '../AzureType';\nimport { BaseColors } from '../AzureColors';\n\nexport const DialogContentStyles = (props: IDialogContentStyleProps): Partial => {\n const { theme, isLargeHeader } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return {\n content: {\n color: semanticColors.bodyText,\n fontSize: theme.fonts.medium.fontSize,\n },\n title: [\n {\n fontSize: FontSizes.size18,\n },\n isLargeHeader && {\n color: semanticColors.primaryButtonText,\n },\n !isLargeHeader && {\n color: semanticColors.bodyText,\n },\n ],\n topButton: {\n selectors: {\n '.ms-Dialog-button': {\n color: semanticColors.bodyText,\n },\n '.ms-Dialog-button:hover': {\n backgroundColor: BaseColors.RED_E00B1C, // always this color regardless of theme.\n color: BaseColors.WHITE,\n },\n '.ms-Dialog-button:active': {\n backgroundColor: BaseColors.RED_E00B1C, // always this color regardless of theme.\n color: BaseColors.WHITE,\n },\n },\n },\n innerContent: {\n color: semanticColors.bodyText,\n fontSize: theme.fonts.medium.fontSize,\n },\n subText: {\n color: semanticColors.bodyText,\n fontSize: theme.fonts.medium.fontSize,\n },\n };\n};\n\nexport const DialogFooterStyles = (props: IDialogFooterStyleProps): Partial => {\n return {\n actions: {\n margin: '16px 0 0',\n },\n };\n};\n","import { IDocumentCardStyles, IDocumentCardStyleProps } from '@fluentui/react/lib/DocumentCard';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const DocumentCardStyles = (props: IDocumentCardStyleProps): Partial => {\n const { theme } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n borderColor: semanticColors.controlOutline,\n selectors: {\n '&:hover': {\n borderColor: semanticColors.controlOutlineHovered,\n },\n },\n },\n };\n};\n","import { IDropdownStyleProps, IDropdownStyles } from '@fluentui/react/lib/Dropdown';\nimport { Depths } from '../AzureDepths';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const DropdownStyles = (props: IDropdownStyleProps): Partial => {\n const { disabled, theme, hasError, isOpen } = props;\n\n if (!theme) {\n return {};\n }\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n return {\n root: {\n selectors: {\n '.ms-Dropdown': {\n height: StyleConstants.inputControlHeight,\n },\n },\n },\n callout: {\n border: 'none',\n boxShadow: Depths.depth8,\n selectors: {\n ['.ms-Callout-main']: {\n backgroundColor: semanticColors.inputBackground,\n borderColor: semanticColors.inputBorder,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: 0,\n },\n },\n },\n caretDownWrapper: {\n right: 8,\n height: StyleConstants.inputControlHeightInner,\n lineHeight: StyleConstants.inputControlHeight,\n },\n caretDown: [\n {\n color: semanticColors.inputText,\n },\n disabled && {\n color: semanticColors.disabledBodyText,\n },\n ],\n dropdown: [\n {\n fontSize: theme.fonts.medium.fontSize,\n height: StyleConstants.dropDownItemHeight,\n color: semanticColors.inputText,\n border: 0,\n selectors: {\n ':focus::after, :focus, :active': {\n borderColor: extendedSemanticColors.controlFocus,\n },\n },\n },\n disabled && {\n borderWidth: '0px',\n color: semanticColors.primaryButtonTextDisabled,\n selectors: {\n ['.ms-Dropdown-title, .ms-Dropdown-titleIsPlaceHolder, .ms-Dropdown-caretDown']: {\n color: semanticColors.primaryButtonTextDisabled,\n },\n },\n },\n !disabled && {\n selectors: {\n ['.ms-Dropdown-title']: {\n color: semanticColors.bodyText,\n borderColor: semanticColors.inputBorder,\n backgroundColor: extendedSemanticColors.controlBackground,\n },\n ['.ms-Dropdown-titleIsPlaceHolder.ms-Dropdown-title']: {\n color: semanticColors.inputPlaceholderText,\n },\n ['&:hover .ms-Dropdown-title']: {\n color: extendedSemanticColors.bodyText,\n borderColor: semanticColors.inputText,\n },\n ['&:focus .ms-Dropdown-title']: {\n borderColor: semanticColors.focusBorder,\n },\n ['&:active .ms-Dropdown-title']: {\n color: semanticColors.bodyText,\n borderColor: semanticColors.focusBorder,\n },\n // CaretDown states are the same for focus, hover, active.\n ['&:hover .ms-Dropdown-caretDown, &:focus .ms-Dropdown-caretDown, &:active .ms-Dropdown-caretDown']: {\n color: semanticColors.inputText,\n },\n },\n },\n\n hasError && {\n selectors: {\n ['.ms-Dropdown-title']: {\n borderColor: semanticColors.errorText,\n },\n },\n },\n ],\n dropdownDivider: {\n backgroundColor: extendedSemanticColors.rowBorder,\n },\n title: [\n {\n height: StyleConstants.inputControlHeight,\n lineHeight: '21px',\n borderColor: semanticColors.inputBorder,\n selectors: {\n span: {\n lineHeight: StyleConstants.inputControlHeight,\n position: 'absolute',\n },\n },\n },\n hasError && {\n borderColor: semanticColors.errorBackground,\n borderWidth: StyleConstants.borderWidth,\n },\n isOpen &&\n !hasError && {\n borderColor: semanticColors.inputBorder,\n },\n disabled && {\n color: semanticColors.disabledBodyText,\n },\n ],\n dropdownItemsWrapper: {\n backgroundColor: extendedSemanticColors.dropdownBackground,\n borderColor: semanticColors.inputBorder,\n border: 0,\n },\n dropdownItem: {\n color: semanticColors.bodyText,\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: extendedSemanticColors.dropdownBackground,\n selectors: {\n // active: Mouse down on the item, then drag outside.\n '&:hover, &:active, &:hover:focus': {\n backgroundColor: semanticColors.listItemBackgroundHovered,\n borderColor: 'transparent',\n color: extendedSemanticColors.dropdownTextHovered,\n },\n // unselected multi-choice item\n '&.ms-Checkbox': {\n color: extendedSemanticColors.bodyText,\n backgroundColor: extendedSemanticColors.dropdownBackground,\n },\n // unselected multi-choice hovered item\n '&.ms-Checkbox:hover': {\n color: extendedSemanticColors.dropdownTextHovered,\n backgroundColor: extendedSemanticColors.listItemBackgroundHovered,\n },\n },\n },\n dropdownItemDisabled: {\n color: semanticColors.primaryButtonTextDisabled,\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: extendedSemanticColors.dropdownBackground,\n selectors: {\n // multi select drop down disabled items\n '&.ms-Checkbox': {\n backgroundColor: extendedSemanticColors.dropdownBackground,\n },\n // multi select drop down disabled items hovered\n '&.ms-Checkbox:hover': {\n backgroundColor: extendedSemanticColors.dropdownBackground,\n },\n },\n },\n dropdownItemSelected: {\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: semanticColors.listItemBackgroundChecked,\n color: extendedSemanticColors.bodyText,\n selectors: {\n '&:hover, &:focus, &:active, &:hover:focus': {\n backgroundColor: semanticColors.listItemBackgroundChecked,\n borderColor: 'transparent',\n },\n // multi select drop down items\n '&.ms-Checkbox': {\n backgroundColor: extendedSemanticColors.dropdownBackground,\n },\n // multi select drop down items hovered\n '&.ms-Checkbox:hover': {\n backgroundColor: extendedSemanticColors.listItemBackgroundHovered,\n color: extendedSemanticColors.dropdownTextHovered,\n },\n },\n },\n dropdownItemHeader: {\n color: semanticColors.inputText,\n fontWeight: '600',\n backgroundColor: extendedSemanticColors.dropdownBackground,\n },\n subComponentStyles: {\n panel: {},\n label: {},\n multiSelectItem: {\n root: {\n padding: 0,\n backgroundColor: extendedSemanticColors.controlBackground,\n selectors: {\n // active: Mouse down on the item, then drag outside.\n '&:hover, &:active, &:hover:focus': {\n backgroundColor: extendedSemanticColors.controlBackground,\n },\n },\n },\n },\n },\n errorMessage: {\n color: semanticColors.errorText,\n fontSize: theme.fonts.medium.fontSize,\n },\n };\n};\n","import { IButtonStyles } from '@fluentui/react/lib/Button';\nimport { ITheme } from '@fluentui/react/lib/Styling';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const IconButtonStyles = (theme: ITheme): Partial => {\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n backgroundColor: StyleConstants.transparent,\n color: extendedSemanticColors.iconButtonFill,\n selectors: {\n // standard button\n '&.is-expanded': {\n backgroundColor: extendedSemanticColors.buttonBackgroundHovered,\n color: extendedSemanticColors.iconButtonFillHovered,\n },\n },\n },\n rootDisabled: {\n backgroundColor: StyleConstants.transparent,\n color: semanticColors.buttonTextDisabled,\n },\n rootHovered: {\n backgroundColor: extendedSemanticColors.buttonBackgroundHovered,\n color: extendedSemanticColors.iconButtonFillHovered,\n },\n rootPressed: {\n backgroundColor: extendedSemanticColors.buttonBackgroundPressed,\n color: extendedSemanticColors.iconButtonFillHovered,\n },\n rootChecked: {\n backgroundColor: extendedSemanticColors.buttonBackgroundPressed,\n color: extendedSemanticColors.iconButtonFillHovered,\n },\n rootCheckedHovered: {\n backgroundColor: extendedSemanticColors.buttonBackgroundPressed,\n color: extendedSemanticColors.iconButtonFillHovered,\n },\n };\n};\n","import { ILabelStyleProps, ILabelStyles } from '@fluentui/react/lib/Label';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const LabelStyles = (props: ILabelStyleProps): Partial => {\n const { theme, disabled } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n fontSize: theme.fonts.medium.fontSize,\n color: extendedSemanticColors.labelText,\n fontWeight: 400,\n },\n disabled && {\n color: semanticColors.disabledBodyText,\n },\n ],\n };\n};\n","import { ILinkStyleProps, ILinkStyles } from '@fluentui/react/lib/Link';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const LinkStyles = (props: ILinkStyleProps): Partial => {\n const { isDisabled, theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n !isDisabled && {\n color: semanticColors.link,\n textDecoration: extendedSemanticColors.listUnderline,\n selectors: {\n '&:active, &:hover, &:active:hover': {\n color: semanticColors.linkHovered,\n },\n '&:active': {\n color: semanticColors.linkHovered,\n },\n },\n },\n ],\n };\n};\n","import { IStyle } from '@fluentui/react';\nimport { IMessageBarStyleProps, IMessageBarStyles, MessageBarType } from '@fluentui/react/lib/MessageBar';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nconst generateBaseStyle = (backgroundColor: string, textColor: string): IStyle => {\n return {\n backgroundColor: backgroundColor,\n color: textColor,\n selectors: {\n '.ms-Button-icon': {\n color: textColor,\n selectors: {\n '&:hover': {\n backgroundColor: backgroundColor,\n },\n '&:active': {\n backgroundColor: backgroundColor,\n },\n },\n },\n },\n };\n};\n\nconst IconButtonStyles = (props: IMessageBarStyleProps): IStyle => {\n const { theme, messageBarType } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return [\n (messageBarType === MessageBarType.error || messageBarType === MessageBarType.severeWarning) &&\n generateBaseStyle(semanticColors.statusErrorBackground, semanticColors.statusErrorText),\n\n messageBarType === MessageBarType.info &&\n generateBaseStyle(semanticColors.statusInformationBackground, semanticColors.statusInformationText),\n\n messageBarType === MessageBarType.success &&\n generateBaseStyle(semanticColors.statusSuccessBackground, semanticColors.statusSuccessText),\n\n (messageBarType === MessageBarType.warning || messageBarType === MessageBarType.blocked) &&\n generateBaseStyle(semanticColors.statusWarningBackground, semanticColors.statusWarningText),\n\n typeof messageBarType !== 'number' && generateBaseStyle(semanticColors.bodyBackground, semanticColors.bodyText),\n ];\n};\n\nexport const MessageBarStyles = (props: IMessageBarStyleProps): Partial => {\n const { theme, messageBarType } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n const iconButtonStyles = IconButtonStyles(props);\n\n return {\n actions: {\n // Buttons utilizes an alpha channel < 1 for their pressed and hover state background colors.\n // This styling effectively makes the button background the body background and applies hover / active styles\n // to next child down.\n selectors: {\n '.ms-Button': {\n backgroundColor: semanticColors.bodyBackground,\n color: semanticColors.buttonText,\n padding: '0px',\n border: `1px solid ${semanticColors.buttonText}`,\n selectors: {\n '.ms-Button-flexContainer': {\n paddingLeft: '16px',\n paddingRight: '16px',\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n },\n ':active': {\n backgroundColor: semanticColors.buttonBackgroundPressed,\n color: semanticColors.buttonTextPressed,\n },\n },\n },\n ':hover': {\n backgroundColor: semanticColors.bodyBackground,\n color: semanticColors.buttonText,\n },\n ':active': {\n backgroundColor: semanticColors.bodyBackground,\n color: semanticColors.buttonText,\n },\n },\n },\n },\n },\n dismissSingleLine: iconButtonStyles,\n dismissal: iconButtonStyles,\n expand: iconButtonStyles,\n expandSingleLine: iconButtonStyles,\n icon: [\n (messageBarType === MessageBarType.error || messageBarType === MessageBarType.severeWarning) && {\n color: semanticColors.statusErrorIcon,\n },\n\n messageBarType === MessageBarType.info && {\n color: semanticColors.statusInformationIcon,\n },\n\n messageBarType === MessageBarType.success && {\n color: semanticColors.statusSuccessIcon,\n },\n\n (messageBarType === MessageBarType.warning || messageBarType === MessageBarType.blocked) && {\n color: semanticColors.statusWarningIcon,\n },\n\n !messageBarType && {\n color: semanticColors.statusInformationIcon,\n },\n ],\n root: [\n {\n color: semanticColors.bodyText,\n width: 'calc(100% - 2px)', // needed for border-right to be visible\n selectors: {\n '.ms-Link': {\n color: semanticColors.statusLink,\n textDecoration: 'underline',\n },\n '.ms-Link:hover': {\n color: semanticColors.linkHovered,\n },\n },\n },\n (messageBarType === MessageBarType.error || messageBarType === MessageBarType.severeWarning) && {\n backgroundColor: semanticColors.statusErrorBackground,\n border: `1px solid ${semanticColors.statusErrorBorder}`,\n },\n\n messageBarType === MessageBarType.info && {\n backgroundColor: semanticColors.statusInformationBackground,\n border: `1px solid ${semanticColors.statusDefaultBorder}`,\n },\n\n messageBarType === MessageBarType.success && {\n backgroundColor: semanticColors.statusSuccessBackground,\n border: `1px solid ${semanticColors.statusSuccessBorder}`,\n },\n\n (messageBarType === MessageBarType.warning || messageBarType === MessageBarType.blocked) && {\n backgroundColor: semanticColors.statusWarningBackground,\n border: `1px solid ${semanticColors.statusWarningBorder}`,\n },\n\n !messageBarType && {\n backgroundColor: semanticColors.statusDefaultBackground,\n border: `1px solid ${semanticColors.statusDefaultBorder}`,\n },\n ],\n };\n};\n","import { IModalStyles, IModalStyleProps } from '@fluentui/react';\nimport { Depths } from '../AzureDepths';\nimport * as StyleConstants from '../Constants';\n\nexport const ModalStyles = (props: IModalStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n\n return {\n root: {\n color: semanticColors.bodyText,\n fontSize: theme.fonts.medium.fontSize,\n },\n main: {\n borderColor: semanticColors.inputBorder,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: StyleConstants.borderWidth,\n boxShadow: Depths.depth8,\n },\n };\n};\n","import { IOverlayStyleProps, IOverlayStyles } from '@fluentui/react/lib/Overlay';\nimport { CommonSemanticColors } from '../AzureColors';\n\nexport const OverlayStyles = (props: IOverlayStyleProps): Partial => {\n const { isDark } = props;\n return {\n root: [\n {\n backgroundColor: CommonSemanticColors.overlay.light,\n },\n isDark && {\n backgroundColor: CommonSemanticColors.overlay.dark,\n },\n ],\n };\n};\n","import { INavStyleProps, INavStyles } from '@fluentui/react/lib/Nav';\nimport { borderNone } from '../Constants';\n\nexport const NavStyles = (props: INavStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n\n return {\n compositeLink: {\n border: borderNone,\n },\n link: {\n border: borderNone,\n color: semanticColors.bodyText,\n selectors: {\n '&:hover': {\n border: borderNone,\n },\n '&:active': {\n border: borderNone,\n },\n },\n },\n };\n};\n","import { IPanelStyles, IPanelStyleProps } from '@fluentui/react';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport { BaseColors } from '../AzureColors';\n\nexport const PanelStyles = (props: IPanelStyleProps): Partial => {\n const { theme } = props;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n return {\n main: {\n backgroundColor: semanticColors.bodyBackground,\n selectors: {\n '&.ms-Panel-main': {\n border: 'none',\n },\n },\n },\n closeButton: {\n color: semanticColors.bodyText,\n selectors: {\n '&:hover': {\n backgroundColor: BaseColors.RED_E00B1C, // always this color regardless of theme.\n color: BaseColors.WHITE,\n },\n '&:active': {\n backgroundColor: BaseColors.RED_E00B1C, // always this color regardless of theme.\n color: BaseColors.WHITE,\n },\n },\n },\n content: {\n color: semanticColors.bodyText,\n },\n headerText: {\n color: semanticColors.bodyText,\n },\n };\n};\n","import { IPivotStyleProps, IPivotStyles } from '@fluentui/react/lib/Pivot';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const PivotStyles = (props: IPivotStyleProps): Partial => {\n const { theme, linkFormat, linkSize } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n const rootIsTabs = linkFormat === 'tabs';\n const rootIsLarge = linkSize === 'large';\n\n return {\n root: [\n {\n borderBottomColor: semanticColors.inputBorder,\n borderBottomStyle: StyleConstants.borderSolid,\n borderBottomWidth: StyleConstants.borderWidth,\n borderBottom: 0,\n },\n !rootIsTabs && {\n selectors: {\n '.is-selected::before': {\n borderColor: semanticColors.bodyText,\n },\n },\n },\n rootIsTabs && {\n selectors: {\n // remove bottom highlight\n '.is-selected::before': {\n border: StyleConstants.borderNone,\n },\n '.ms-Pivot-link:hover': {\n color: semanticColors.bodyText,\n },\n '.ms-Pivot-link:active': {\n color: semanticColors.bodyText,\n },\n '.ms-Pivot-link:focus': {\n color: semanticColors.bodyText,\n },\n },\n },\n ],\n link: [\n {\n color: semanticColors.bodyText,\n height: 36,\n paddingLeft: 0,\n paddingRight: 0,\n marginRight: 24,\n },\n !rootIsLarge && {\n fontSize: theme.fonts.large.fontSize,\n },\n !rootIsTabs && {\n selectors: {\n ':hover': {\n backgroundColor: extendedSemanticColors.bodyBackground,\n border: StyleConstants.borderNone,\n color: semanticColors.bodyText,\n transition: 'background-color .2s ease-out',\n },\n ':active': {\n backgroundColor: semanticColors.bodyBackground,\n border: StyleConstants.borderNone,\n color: semanticColors.bodyText,\n },\n },\n },\n rootIsTabs && {\n backgroundColor: semanticColors.bodyBackground,\n borderBottom: `1px solid ${semanticColors.inputBorder}`,\n color: semanticColors.buttonText,\n marginBottom: '-1px',\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.bodyBackground,\n border: StyleConstants.borderNone,\n borderBottom: `1px solid ${semanticColors.inputBorder}`,\n transition: 'background-color .2s ease-out',\n },\n ':active': {\n backgroundColor: semanticColors.bodyBackground,\n border: StyleConstants.borderNone,\n borderBottom: `1px solid ${semanticColors.inputBorder}`,\n transition: 'background-color .2s ease-out',\n },\n },\n },\n ],\n linkIsSelected: [\n {\n marginRight: 24,\n selectors: {\n '.ms-Fabric--isFocusVisible': {\n outline: '1px solid black !important',\n },\n ':active': {\n backgroundColor: semanticColors.bodyBackground,\n },\n ':focus': {\n border: 0,\n },\n },\n },\n !rootIsLarge && {\n fontSize: theme.fonts.large.fontSize,\n height: 36,\n paddingLeft: 0,\n paddingRight: 0,\n // the selected underline\n '::before': {\n left: 0,\n right: 0,\n },\n },\n !rootIsTabs && {\n color: semanticColors.bodyText,\n paddingBottom: '1px',\n selectors: {\n ':hover': {\n backgroundColor: extendedSemanticColors.bodyBackground,\n color: extendedSemanticColors.bodyText,\n border: StyleConstants.borderNone,\n },\n ':active': {\n border: StyleConstants.borderNone,\n },\n },\n },\n rootIsTabs && {\n backgroundColor: semanticColors.bodyBackground,\n borderColor: semanticColors.inputBorder,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: StyleConstants.borderWidth,\n borderBottomColor: semanticColors.bodyDivider,\n marginBottom: '-1px',\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.bodyBackground,\n borderColor: semanticColors.inputBorder,\n borderBottomColor: semanticColors.bodyDivider,\n },\n ':active': {\n backgroundColor: semanticColors.bodyBackground,\n borderColor: semanticColors.inputBorder,\n borderBottomColor: semanticColors.bodyDivider,\n },\n },\n },\n ],\n };\n};\n","import {\n IExpandingCardStyleProps,\n IExpandingCardStyles,\n IPlainCardStyleProps,\n IPlainCardStyles,\n} from '@fluentui/react/lib/HoverCard';\nimport * as StyleConstants from '../Constants';\n\nexport const ExpandingCardStyles = (props: IExpandingCardStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n\n return {\n root: {\n selectors: {\n '.ms-Callout-main': {\n borderColor: semanticColors.inputBorder,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: StyleConstants.borderWidth,\n },\n },\n },\n };\n};\n\nexport const PlainCardStyles = (props: IPlainCardStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n\n return {\n root: {\n selectors: {\n '.ms-Callout-main': {\n borderColor: semanticColors.inputBorder,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: StyleConstants.borderWidth,\n },\n },\n },\n };\n};\n","import { IButtonStyles } from '@fluentui/react/lib/Button';\nimport * as StyleConstants from '../Constants';\nimport { ITheme } from '@fluentui/react/lib/Styling';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const PrimaryButtonStyles = (theme: ITheme): Partial => {\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n height: StyleConstants.inputControlHeight,\n padding: StyleConstants.buttonPadding,\n border: `${StyleConstants.borderWidth} solid ${semanticColors.primaryButtonBorder}`,\n selectors: {\n // danger button\n '&.danger': {\n outlineColor: extendedSemanticColors.ButtonBackgroundDanger,\n borderColor: `${extendedSemanticColors.ButtonBorderDanger} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundDanger,\n color: extendedSemanticColors.ButtonBackgroundDangerText,\n selectors: {\n ':hover': {\n outlineColor: extendedSemanticColors.ButtonBackgroundDangerHovered,\n borderColor: `${extendedSemanticColors.ButtonBorderDangerHovered} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundDangerHovered,\n color: extendedSemanticColors.ButtonBackgroundDangerTextHovered,\n },\n ':active': {\n outlineColor: extendedSemanticColors.ButtonBackgroundDangerPressed,\n borderColor: extendedSemanticColors.ButtonBorderDangerPressed,\n backgroundColor: `${extendedSemanticColors.ButtonBackgroundDangerPressed} !important`,\n color: extendedSemanticColors.ButtonBackgroundDangerTextHovered,\n },\n ':focus': {\n outlineColor: `${extendedSemanticColors.ButtonBackgroundDangerPressed} !important`,\n borderColor: `${extendedSemanticColors.ButtonBackgroundDangerPressed} !important`,\n backgroundColor: `${extendedSemanticColors.ButtonBackgroundDangerPressed} !important`,\n color: `${extendedSemanticColors.ButtonBackgroundDangerTextHovered} !important`,\n },\n },\n },\n // tag button\n '&.tag': {\n outlineColor: extendedSemanticColors.ButtonBackgroundTag,\n borderColor: `${extendedSemanticColors.ButtonBorderTag} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundTag,\n color: extendedSemanticColors.ButtonBackgroundTagText,\n selectors: {\n ':hover': {\n outlineColor: extendedSemanticColors.ButtonBackgroundTagHovered,\n borderColor: `${extendedSemanticColors.ButtonBorderTagHovered} !important`,\n backgroundColor: extendedSemanticColors.ButtonBackgroundTagHovered,\n color: extendedSemanticColors.ButtonBackgroundTagTextHovered,\n },\n ':active': {\n outlineColor: extendedSemanticColors.ButtonBackgroundTagPressed,\n borderColor: extendedSemanticColors.ButtonBorderTagPressed,\n backgroundColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n color: extendedSemanticColors.ButtonBackgroundTagTextHovered,\n },\n ':focus': {\n outlineColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n borderColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n backgroundColor: `${extendedSemanticColors.ButtonBackgroundTagPressed} !important`,\n color: `${extendedSemanticColors.ButtonBackgroundTagTextHovered} !important`,\n },\n },\n },\n },\n },\n rootFocused: {\n selectors: {\n '::after': {\n outlineColor: `${semanticColors.primaryButtonText} !important`,\n },\n },\n backgroundColor: semanticColors.primaryButtonBackground,\n color: semanticColors.primaryButtonText,\n borderColor: extendedSemanticColors.primaryCompoundButtonBorder,\n },\n rootChecked: {\n border: 'none',\n },\n rootCheckedHovered: {\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n color: semanticColors.primaryButtonTextHovered,\n },\n rootCheckedPressed: {\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n color: semanticColors.primaryButtonTextPressed,\n },\n rootDisabled: {\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.primaryButtonBorderDisabled} !important`,\n },\n };\n};\n","import { IProgressIndicatorStyles, IProgressIndicatorStyleProps } from '@fluentui/react/lib/ProgressIndicator';\n\nexport const ProgressIndicatorStyles = (props: IProgressIndicatorStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n\n return {\n progressBar: {\n height: '4px',\n },\n progressTrack: {\n backgroundColor: semanticColors.variantBorder,\n height: '4px',\n },\n };\n};\n","import { IRatingStyleProps, IRatingStyles } from '@fluentui/react/lib/Rating';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const RatingStyles = (props: IRatingStyleProps): Partial => {\n const { disabled, readOnly, theme } = props;\n const { palette } = theme;\n const semanticColors = theme.semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n !disabled &&\n !readOnly && {\n selectors: {\n '&:hover': {\n selectors: {\n '.ms-RatingStar-back': { color: palette.themePrimary },\n },\n },\n },\n },\n ],\n ratingStarBack: [\n {\n color: semanticColors.controlOutline,\n },\n (disabled || readOnly) && {\n color: semanticColors.controlOutlineDisabled,\n },\n ],\n ratingStarFront: {\n color: semanticColors.bodyText,\n },\n ratingButton: [\n !disabled &&\n !readOnly && {\n selectors: {\n '&:hover ~ .ms-Rating-button': {\n selectors: {\n '.ms-RatingStar-back': { color: semanticColors.controlOutline },\n '.ms-RatingStar-front': { color: semanticColors.controlOutline },\n },\n },\n },\n },\n ],\n };\n};\n","import { ISearchBoxStyleProps, ISearchBoxStyles } from '@fluentui/react/lib/SearchBox';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const SearchBoxStyles = (props: ISearchBoxStyleProps): Partial => {\n const { theme, hasFocus } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n height: StyleConstants.inputControlHeight,\n selectors: {\n '::after': {\n borderColor: semanticColors.primaryButtonBorder,\n },\n },\n },\n hasFocus && {\n borderColor: semanticColors.focusBorder,\n },\n !hasFocus && {\n borderColor: semanticColors.inputBorder,\n selectors: {\n '&:hover': {\n borderColor: semanticColors.inputBorderHovered,\n },\n },\n },\n ],\n clearButton: {\n selectors: {\n '.ms-Button': {\n color: semanticColors.inputText,\n selectors: {\n ':hover': {\n color: semanticColors.inputText,\n },\n ':active': {\n color: semanticColors.inputText,\n },\n },\n },\n },\n },\n field: {\n color: semanticColors.inputText,\n },\n icon: {\n color: extendedSemanticColors.iconButtonFill,\n width: '20px',\n fontSize: theme.fonts.medium.fontSize,\n },\n };\n};\n","import { ISliderStyleProps, ISliderStyles } from '@fluentui/react/lib/Slider';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nconst SLIDER_BOX_DIMENSION: number = 8;\nconst SLIDER_DIAMETER: number = 16;\nconst SLIDER_BORDER_RADIUS: number = 10;\n\nexport const SliderStyles = (props: ISliderStyleProps): Partial => {\n const { disabled, theme, vertical } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: {\n selectors: {\n ':not(.ms-Slider-disabled) .ms-Slider-container:hover .ms-Slider-inactive': {\n backgroundColor: extendedSemanticColors.sliderInActiveHover,\n },\n ':not(.ms-Slider-disabled) .ms-Slider-container:hover .ms-Slider-active': {\n backgroundColor: extendedSemanticColors.sliderActiveHover,\n },\n ':not(.ms-Slider-disabled) .ms-Slider-container:hover .ms-Slider-thumb': {\n borderColor: extendedSemanticColors.sliderActiveHover,\n },\n ':not(.ms-Slider-disabled) .ms-Slider-container:active .ms-Slider-inactive': {\n backgroundColor: extendedSemanticColors.sliderInActiveHover,\n },\n ':not(.ms-Slider-disabled) .ms-Slider-container:active .ms-Slider-active': {\n backgroundColor: extendedSemanticColors.sliderActivePressed,\n },\n ':not(.ms-Slider-disabled) .ms-Slider-container:active .ms-Slider-thumb': {\n borderColor: extendedSemanticColors.sliderActivePressed,\n },\n },\n },\n // left side of bar\n activeSection: [\n !disabled && {\n backgroundColor: extendedSemanticColors.sliderActiveBackground,\n },\n disabled && {\n background: extendedSemanticColors.sliderDisabledActiveBackground,\n },\n ],\n // right side of bar\n inactiveSection: [\n !disabled && {\n background: extendedSemanticColors.controlOutlineDisabled,\n },\n disabled && {\n background: extendedSemanticColors.sliderDisabledInActiveBackground,\n },\n ],\n slideBox: [\n !disabled && {\n selectors: {\n '.ms-Slider-thumb': {\n borderColor: extendedSemanticColors.sliderActiveBackground,\n width: SLIDER_DIAMETER,\n },\n },\n },\n disabled && {\n selectors: {\n '.ms-Slider-thumb': [\n {\n borderColor: extendedSemanticColors.sliderDisabledActiveBackground,\n width: SLIDER_DIAMETER,\n },\n ],\n },\n },\n ],\n line: [\n !vertical && {\n selectors: {\n '.ms-Slider-active': {\n borderRadius: SLIDER_BORDER_RADIUS,\n },\n '.ms-Slider-inactive': {\n borderRadius: SLIDER_BORDER_RADIUS,\n },\n },\n },\n vertical && {\n selectors: {\n '.ms-Slider-active': {\n width: SLIDER_BOX_DIMENSION,\n borderRadius: SLIDER_BORDER_RADIUS,\n },\n '.ms-Slider-inactive': {\n width: SLIDER_BOX_DIMENSION,\n borderRadius: SLIDER_BORDER_RADIUS,\n },\n },\n },\n ],\n valueLabel: [\n !disabled && {\n borderColor: semanticColors.inputBorder,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: StyleConstants.borderWidth,\n textAlign: StyleConstants.textAlignCenter,\n selectors: {\n '&.ms-Slider-value': {\n color: semanticColors.bodyText,\n borderRadius: StyleConstants.borderRadius,\n },\n },\n },\n disabled && {\n borderColor: extendedSemanticColors.controlOutlineDisabled,\n borderStyle: StyleConstants.borderSolid,\n borderWidth: StyleConstants.borderWidth,\n textAlign: StyleConstants.textAlignCenter,\n selectors: {\n '&.ms-Slider-value': {\n color: extendedSemanticColors.sliderDisabledActiveBackground,\n borderRadius: StyleConstants.borderRadius,\n },\n },\n },\n ],\n };\n};\n","import { ISpinButtonStyleProps, ISpinButtonStyles } from '@fluentui/react/lib/SpinButton';\nimport { IStyleFunction } from '@fluentui/react/lib/Utilities';\nimport * as StyleConstants from '../Constants';\n\nexport const SpinButtonStyles: IStyleFunction = (\n props: ISpinButtonStyleProps,\n) => {\n const { theme } = props;\n\n return {\n root: {\n selectors: {\n 'div[class^=\"spinButtonWrapper-\"]': {\n height: StyleConstants.inputControlHeight,\n },\n 'div[class^=\"labelWrapper-\"]': {\n height: StyleConstants.inputControlHeight,\n padding: '4px 0px 2px 0px',\n },\n button: {\n i: {\n height: StyleConstants.spinButtonArrowHeight,\n },\n },\n },\n },\n input: {\n backgroundColor: theme.semanticColors.inputBackground,\n color: theme.semanticColors.inputText,\n fontSize: theme.fonts.medium.fontSize,\n },\n inputTextSelected: {\n color: theme.semanticColors.inputText,\n fontSize: theme.fonts.medium.fontSize,\n },\n };\n};\n","import { ISuggestionItemProps, ISuggestionsItemStyles, ITagPickerProps } from '@fluentui/react/lib/Pickers';\n\nexport const SuggestionItemStyles = (props: ISuggestionItemProps): Partial => {\n const { theme } = props;\n if (!theme) {\n return {};\n }\n const { semanticColors } = theme;\n return {\n root: {\n fontSize: theme.fonts.medium.fontSize,\n backgroundColor: semanticColors.bodyBackground,\n color: semanticColors.bodyText,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.listItemBackgroundHovered,\n },\n },\n },\n itemButton: {\n border: 'none',\n paddingRight: '2px',\n color: semanticColors.bodyText,\n backgroundColor: semanticColors.bodyBackground,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.listItemBackgroundHovered,\n border: 'none',\n },\n ':active': {\n border: 'none',\n color: semanticColors.bodyText,\n background: semanticColors.listItemBackgroundChecked,\n },\n },\n },\n };\n};\n","import { ISuggestionsStyleProps, ISuggestionsStyles } from '@fluentui/react/lib/Pickers';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const SuggestionsStyles = (props: ISuggestionsStyleProps): Partial => {\n const { theme } = props;\n if (!theme) {\n return {};\n }\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n return {\n root: {\n border: 'none',\n },\n suggestionsContainer: {\n color: semanticColors.bodyText,\n },\n title: {\n color: extendedSemanticColors.labelText,\n },\n };\n};\n","import { ITagItemStyleProps, ITagItemStyles } from '@fluentui/react/lib/Pickers';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport { transparent } from '../Constants';\n\nexport const TagItemStyles = (props: ITagItemStyleProps): Partial => {\n const { theme, selected } = props;\n if (!theme) {\n return {};\n }\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n return {\n root: {\n verticalAlign: 'middle',\n backgroundColor: semanticColors.listItemBackgroundChecked,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.listItemBackgroundCheckedHovered,\n },\n },\n },\n text: [\n selected && {\n color: semanticColors.bodyText,\n },\n ],\n close: {\n color: semanticColors.bodyText,\n verticalAlign: 'middle',\n backgroundColor: 'transparent',\n selectors: {\n '&.is-disabled': {\n backgroundColor: transparent,\n },\n ':active': {\n backgroundColor: semanticColors.listHeaderBackgroundPressed,\n color: extendedSemanticColors.controlOutlineHovered,\n },\n ':hover': {\n backgroundColor: semanticColors.listItemBackgroundCheckedHovered,\n color: semanticColors.bodyText,\n },\n },\n },\n };\n};\n","import { IBasePickerStyles, IBasePickerStyleProps } from '@fluentui/react/lib/Pickers';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const TagPickerStyles = (props: IBasePickerStyleProps): Partial => {\n const { theme } = props;\n if (!theme) {\n return {};\n }\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n return {\n root: {\n fontSize: theme.fonts.medium.fontSize,\n border: `${StyleConstants.borderWidth} solid ${StyleConstants.transparent}`,\n backgroundColor: StyleConstants.transparent,\n selectors: {\n '[disabled]': {\n backgroundColor: semanticColors.buttonBackgroundDisabled,\n color: semanticColors.buttonTextDisabled,\n },\n },\n },\n input: {\n color: extendedSemanticColors.inputText,\n backgroundColor: StyleConstants.transparent,\n border: 'none',\n },\n itemsWrapper: {\n color: semanticColors.bodyText,\n border: 'none',\n backgroundColor: StyleConstants.transparent,\n },\n text: {\n border: `${StyleConstants.borderWidth} solid ${extendedSemanticColors.controlOutline}`,\n },\n };\n};\n","import { ITeachingBubbleStyleProps, ITeachingBubbleStyles } from '@fluentui/react/lib/TeachingBubble';\nimport { Depths } from '../AzureDepths';\nimport { FontSizes } from '../AzureType';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const TeachingBubbleStyles = (props: ITeachingBubbleStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n bodyContent: {\n color: extendedSemanticColors.teachingBubbleText,\n selectors: {\n '.ms-TeachingBubble-subText': {\n fontSize: FontSizes.size14,\n },\n },\n },\n footer: {\n color: extendedSemanticColors.teachingBubbleText,\n selectors: {\n '.ms-Button-label': {\n lineHeight: 22,\n },\n },\n },\n header: {\n color: extendedSemanticColors.teachingBubbleText,\n },\n headline: {\n color: extendedSemanticColors.teachingBubbleText,\n },\n content: {\n backgroundColor: extendedSemanticColors.teachingBubbleBackground,\n color: extendedSemanticColors.teachingBubbleText,\n selectors: {\n '.ms-TeachingBubble-header--small': {\n fontSize: FontSizes.size14,\n },\n '.ms-TeachingBubble-header--condensed': {\n fontSize: FontSizes.size14,\n },\n },\n },\n subText: {\n color: extendedSemanticColors.teachingBubbleText,\n },\n subComponentStyles: {\n callout: {\n root: {\n boxShadow: Depths.depth8,\n selectors: {\n '.ms-Callout-main': {\n border: 0,\n },\n '.ms-Callout-beak': {\n backgroundColor: extendedSemanticColors.teachingBubbleBackground,\n border: 0,\n },\n },\n },\n },\n },\n closeButton: {\n color: extendedSemanticColors.teachingBubbleText,\n margin: 1,\n selectors: {\n '&:hover': {\n backgroundColor: `${extendedSemanticColors.primaryButtonBackgroundPressed} !important`,\n },\n '&:active': {\n backgroundColor: extendedSemanticColors.primaryButtonBackgroundPressed,\n },\n },\n },\n primaryButton: {\n // backgroundColor and border color requires !important to override primary btn color\n backgroundColor: `${extendedSemanticColors.teachingBubbleSecondaryBackground} !important`,\n borderColor: `${extendedSemanticColors.teachingBubbleSecondaryBackground} !important`,\n selectors: {\n '&:focus': {\n backgroundColor: extendedSemanticColors.teachingBubblePrimaryButtonHover,\n color: extendedSemanticColors.primaryButtonBackground,\n },\n '&:hover': {\n backgroundColor: extendedSemanticColors.teachingBubblePrimaryButtonHover,\n borderColor: extendedSemanticColors.teachingBubblePrimaryButtonHover,\n },\n span: {\n color: extendedSemanticColors.teachingBubbleBackground,\n },\n '.ms-Button-label': {\n fontSize: theme.fonts.medium.fontSize,\n },\n },\n },\n secondaryButton: {\n backgroundColor: extendedSemanticColors.teachingBubbleBackground,\n selectors: {\n '.ms-Button-label': {\n fontSize: theme.fonts.medium.fontSize,\n },\n '&:hover': {\n backgroundColor: extendedSemanticColors.primaryButtonBackgroundHovered,\n },\n '&:focus': {\n backgroundColor: extendedSemanticColors.teachingBubbleBackground,\n },\n },\n },\n };\n};\n","import { ITextFieldStyleProps, ITextFieldStyles } from '@fluentui/react/lib/TextField';\nimport * as StyleConstants from '../Constants';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\n\nexport const TextFieldStyles = (props: ITextFieldStyleProps): Partial => {\n const { focused, disabled, hasErrorMessage, multiline, theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n fieldGroup: [\n !multiline && {\n height: StyleConstants.inputControlHeight,\n },\n !hasErrorMessage && {\n borderColor: semanticColors.inputBorder,\n selectors: {\n '::after': {\n borderColor: extendedSemanticColors.controlFocus,\n },\n },\n },\n !focused &&\n !disabled && {\n selectors: {\n ':hover': {\n borderColor: semanticColors.inputText,\n },\n },\n },\n focused && {\n borderColor: semanticColors.focusBorder,\n },\n disabled && {\n borderColor: extendedSemanticColors.textFieldBorderDisabled,\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n },\n hasErrorMessage && [\n {\n borderWidth: StyleConstants.borderWidth,\n },\n focused && {\n borderColor: semanticColors.focusBorder,\n selectors: {\n '&:focus, &:hover': {\n borderColor: semanticColors.focusBorder,\n },\n },\n },\n ],\n ],\n icon: {\n bottom: 2,\n },\n prefix: {\n fontSize: theme.fonts.medium.fontSize,\n },\n suffix: {\n fontSize: theme.fonts.medium.fontSize,\n },\n field: [\n {\n color: semanticColors.inputText,\n backgroundColor: extendedSemanticColors.controlBackground,\n fontSize: theme.fonts.medium.fontSize,\n selectors: {\n '::placeholder': {\n color: semanticColors.inputPlaceholderText,\n fontStyle: 'italic',\n },\n ':-ms-input-placeholder': {\n color: semanticColors.inputPlaceholderText,\n fontStyle: 'italic',\n },\n '::-webkit-input-placeholder': {\n color: semanticColors.inputPlaceholderText,\n fontStyle: 'italic',\n },\n },\n },\n disabled && {\n color: semanticColors.primaryButtonTextDisabled,\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n selectors: {\n '::placeholder': {\n color: semanticColors.disabledBodyText,\n },\n ':-ms-input-placeholder': {\n color: semanticColors.disabledBodyText,\n },\n '::-webkit-input-placeholder': {\n color: semanticColors.disabledBodyText,\n },\n },\n },\n ],\n errorMessage: {\n color: semanticColors.errorText,\n },\n };\n};\n","import { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport { IToggleStyleProps, IToggleStyles } from '@fluentui/react/lib/Toggle';\nimport * as StyleConstants from '../Constants';\n\nexport const ToggleStyles = (props: IToggleStyleProps): Partial => {\n const { theme, disabled, checked } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n container: {},\n pill: [\n {\n height: StyleConstants.choiceFieldHeight,\n backgroundColor: semanticColors.bodyBackground,\n selectors: {\n '&:hover': {\n backgroundColor: extendedSemanticColors.radioButtonPillUncheckedHover,\n },\n '&::after': {\n outlineColor: `${extendedSemanticColors.ButtonBorderFocus} !important`,\n },\n },\n },\n checked && [\n {\n backgroundColor: extendedSemanticColors.controlFocus,\n selectors: {\n '&:hover': {\n backgroundColor: extendedSemanticColors.radioButtonPillCheckedHover,\n },\n },\n },\n disabled && {\n backgroundColor: extendedSemanticColors.checkBoxDisabled,\n selectors: {\n '&:hover': {\n backgroundColor: `${extendedSemanticColors.checkBoxDisabled}`,\n },\n },\n },\n ],\n !checked && [\n {\n backgroundColor: extendedSemanticColors.bodyBackground,\n border: `1px solid ${extendedSemanticColors.ButtonBorderFocus} !important`,\n\n selectors: {\n '&:hover': {\n border: `1px solid ${extendedSemanticColors.buttonTextHovered} !important`,\n },\n },\n },\n disabled && {\n border: `1px solid ${extendedSemanticColors.checkBoxDisabled} !important`,\n\n selectors: {\n '&:hover': {\n backgroundColor: extendedSemanticColors.bodyBackground,\n border: `1px solid ${extendedSemanticColors.checkBoxDisabled} !important`,\n },\n },\n },\n ],\n ],\n // toggle circle\n thumb: [\n {\n borderWidth: 5.5,\n height: StyleConstants.choiceFieldCircle,\n width: StyleConstants.choiceFieldCircle,\n },\n checked && [\n {\n backgroundColor: extendedSemanticColors.buttonBackground,\n },\n disabled && {\n backgroundColor: semanticColors.primaryButtonBackgroundDisabled,\n },\n ],\n !checked && [\n {\n backgroundColor: extendedSemanticColors.ButtonBorderFocus,\n selectors: {\n '&:hover': {\n backgroundColor: extendedSemanticColors.buttonTextHovered,\n },\n },\n },\n disabled && {\n backgroundColor: extendedSemanticColors.checkBoxDisabled,\n selectors: {\n '&:hover': {\n backgroundColor: extendedSemanticColors.checkBoxDisabled,\n },\n },\n },\n ],\n ],\n root: [\n {\n fontSize: theme.fonts.medium.fontSize,\n selectors: {\n '.ms-Toggle-stateText': {\n color: semanticColors.bodyText,\n },\n '&:hover': {\n '.ms-Toggle-stateText': {\n color: extendedSemanticColors.buttonTextHovered,\n },\n },\n },\n },\n disabled && {\n selectors: {\n '.ms-Toggle-stateText': {\n color: semanticColors.disabledBodyText,\n },\n '&:hover': {\n '.ms-Toggle-stateText': {\n color: semanticColors.disabledBodyText,\n },\n },\n },\n },\n ],\n };\n};\n","import { ITooltipStyles, ITooltipStyleProps } from '@fluentui/react/lib/Tooltip';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport * as StyleConstants from '../Constants';\n\nexport const TooltipStyles = (props: ITooltipStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n return {\n root: {\n maxWidth: '480px',\n padding: 0,\n },\n content: {\n backgroundColor: extendedSemanticColors.controlBackground,\n padding: StyleConstants.inputControlPadding,\n },\n };\n};\n","import {\n ICalendarStyleProps,\n ICalendarStyles,\n ICalendarDayStyleProps,\n ICalendarDayStyles,\n ICalendarMonthStyles,\n ICalendarYearStyles,\n ICalendarDayGridStyleProps,\n ICalendarDayGridStyles,\n ICalendarPickerStyleProps,\n} from '@fluentui/react';\nimport { IExtendedSemanticColors } from '../IExtendedSemanticColors';\nimport * as StyleConstants from '../Constants';\n\n// Effects general area of callout.\nexport const CalendarStyles = (props: ICalendarStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n backgroundColor: extendedSemanticColors.calendarBackground,\n 'box-shadow': '1px 0px 8px rgba(0, 0, 0, 0.3), 0px 6px 15px rgba(0, 0, 0, 0.3)',\n },\n ],\n divider: {\n borderColor: extendedSemanticColors.calendarTextDisabled,\n },\n goTodayButton: [\n {\n color: extendedSemanticColors.calendarTextRest,\n selectors: {\n '&:hover': {\n color: extendedSemanticColors.calendarTextHover,\n },\n '&:active': {\n color: extendedSemanticColors.calendarTextRest,\n },\n '&:disabled': {\n color: extendedSemanticColors.calendarTextDisabled,\n },\n },\n },\n ],\n };\n};\n\n// Effects Calendar Grid area for days of the month\nexport const CalendarDayGridStyles = (props: ICalendarDayGridStyleProps): Partial => {\n const { lightenDaysOutsideNavigatedMonth, theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n wrapper: {\n background: extendedSemanticColors.calendarBackground,\n },\n dayCell: {\n selectors: {\n '&.ms-CalendarDay-hoverStyle': {\n background: extendedSemanticColors.calendarBackgroundHover,\n color: extendedSemanticColors.calendarTextHover,\n },\n '&.ms-CalendarDay-pressedStyle': {\n background: extendedSemanticColors.calendarBackgroundSelected,\n color: extendedSemanticColors.calendarTextRest,\n },\n },\n },\n daySelected: [\n {\n background: extendedSemanticColors.calendarBackgroundSelected + ' !important',\n color: extendedSemanticColors.calendarTextRest,\n },\n ],\n weekDayLabelCell: {\n color: extendedSemanticColors.calendarTextOutside,\n pointerEvents: 'none',\n },\n dayOutsideBounds: {\n selectors: {\n '&, &:disabled, & button': {\n color: extendedSemanticColors.calendarTextDisabled,\n },\n },\n },\n dayOutsideNavigatedMonth: lightenDaysOutsideNavigatedMonth && {\n color: extendedSemanticColors.calendarTextOutside,\n },\n dayButton: [\n {\n borderRadius: StyleConstants.borderRadius,\n color: 'inherit !important',\n selectors: {\n '&:after': {\n outlineColor: `${extendedSemanticColors.calendarBackgroundBorder} !important`,\n },\n },\n },\n ],\n datesAbove: {\n '&:after': {\n borderTop: `none`,\n },\n '&:focus': {\n borderColor: 'red',\n },\n },\n datesBelow: {\n '&:after': {\n borderBottom: `none`,\n },\n },\n datesLeft: {\n '&:after': {\n borderLeft: `none`,\n },\n },\n datesRight: {\n '&:after': {\n borderRight: `none`,\n },\n },\n };\n};\n\n// Effects Calendar Day header and nav buttons\nexport const CalendarDayStyles = (props: ICalendarDayStyleProps): Partial => {\n const { theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n background: extendedSemanticColors.calendarBackground,\n },\n ],\n monthAndYear: [\n {\n color: extendedSemanticColors.inputText,\n },\n ],\n headerIconButton: [\n {\n color: extendedSemanticColors.calendarTextOutside,\n selectors: {\n '&:hover': {\n background: extendedSemanticColors.calendarBackgroundHover,\n color: extendedSemanticColors.calendarTextHover,\n },\n },\n },\n ],\n disabledStyle: {\n selectors: {\n '&, &:disabled, & button': {\n color: extendedSemanticColors.calendarTextDisabled,\n },\n },\n },\n };\n};\n\n// Effects calendar Month header and nav buttons. Also effects Month selection buttons\nexport const CalendarMonthStyles = (props: ICalendarPickerStyleProps): Partial => {\n const { hasHeaderClickCallback, theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n backgroundColor: extendedSemanticColors.calendarBackground,\n },\n ],\n currentItemButton: [\n {\n color: extendedSemanticColors.inputText,\n },\n hasHeaderClickCallback && {\n selectors: {\n '&:hover, &:active': {\n color: extendedSemanticColors.calendarTextHover,\n backgroundColor: extendedSemanticColors.calendarBackgroundHover,\n },\n },\n },\n ],\n navigationButton: [\n {\n color: extendedSemanticColors.calendarTextOutside,\n selectors: {\n '&:hover': {\n background: extendedSemanticColors.calendarBackgroundHover,\n color: extendedSemanticColors.calendarTextHover,\n },\n },\n },\n ],\n itemButton: [\n {\n color: extendedSemanticColors.calendarTextRest,\n selectors: {\n '&:hover': {\n color: extendedSemanticColors.calendarTextHover,\n backgroundColor: extendedSemanticColors.calendarBackgroundHover,\n },\n '&:active': {\n color: extendedSemanticColors.calendarTextRest,\n backgroundColor: extendedSemanticColors.calendarBackgroundSelected,\n },\n },\n },\n ],\n disabled: {\n selectors: {\n '&, &:disabled, & button': {\n color: extendedSemanticColors.calendarTextDisabled,\n },\n },\n },\n };\n};\n\n// Effects calendar Year header and nav buttons. Also effects Year selection buttons\nexport const CalendarYearStyles = (props: ICalendarPickerStyleProps): Partial => {\n const { hasHeaderClickCallback, theme } = props;\n const { semanticColors } = theme;\n const extendedSemanticColors = semanticColors as IExtendedSemanticColors;\n\n return {\n root: [\n {\n backgroundColor: extendedSemanticColors.calendarBackground,\n },\n ],\n currentItemButton: [\n {\n color: extendedSemanticColors.inputText,\n },\n hasHeaderClickCallback && {\n selectors: {\n '&:hover, &:active': {\n color: extendedSemanticColors.calendarTextHover,\n backgroundColor: extendedSemanticColors.calendarBackgroundHover,\n },\n },\n },\n ],\n navigationButton: [\n {\n color: extendedSemanticColors.calendarTextOutside,\n selectors: {\n '&:hover': {\n background: extendedSemanticColors.calendarBackgroundHover,\n color: extendedSemanticColors.calendarTextHover,\n },\n },\n },\n ],\n itemButton: [\n {\n color: extendedSemanticColors.calendarTextRest,\n selectors: {\n '&:hover': {\n color: extendedSemanticColors.calendarTextHover,\n backgroundColor: extendedSemanticColors.calendarBackgroundHover,\n },\n '&:active': {\n color: extendedSemanticColors.calendarTextRest,\n backgroundColor: extendedSemanticColors.calendarBackgroundSelected,\n },\n },\n },\n ],\n disabled: {\n selectors: {\n '&, &:disabled, & button': {\n color: extendedSemanticColors.calendarTextDisabled,\n },\n },\n },\n };\n};\n","import { ITheme } from '@fluentui/react';\nimport { ActionButtonStyles } from './styles/ActionButton.styles';\nimport { BreadcrumbStyles } from './styles/Breadcrumb.styles';\nimport { CalloutContentStyles } from './styles/Callout.styles';\nimport { CheckboxStyles } from './styles/Checkbox.styles';\nimport { CheckStyles, DetailsRowStyles, DetailsListStyles } from './styles/DetailsList.styles';\nimport { ChoiceGroupOptionStyles } from './styles/ChoiceGroupOptions.styles';\nimport { ColorPickerGridCellStyles } from './styles/ColorPickerGridCell.styles';\nimport { ColorPickerStyles, ColorRectangleStyles, ColorSliderStyles } from './styles/ColorPicker.styles';\nimport { ComboBoxStyles } from './styles/ComboBox.styles';\nimport { CommandBarStyles } from './styles/CommandBar.styles';\nimport { CommandBarButtonStyles } from './styles/CommandBarButton.styles';\nimport { CompoundButtonStyles } from './styles/CompoundButton.styles';\nimport { ContextualMenuStyles } from './styles/ContextualMenu.styles';\nimport { DatePickerStyles } from './styles/DatePicker.styles';\nimport { DefaultButtonStyles } from './styles/DefaultButton.styles';\nimport { DialogContentStyles, DialogFooterStyles } from './styles/Dialog.styles';\nimport { DocumentCardStyles } from './styles/DocumentCard.styles';\nimport { DropdownStyles } from './styles/DropDown.styles';\nimport { IconButtonStyles } from './styles/IconButton.styles';\nimport { LabelStyles } from './styles/Label.styles';\nimport { LinkStyles } from './styles/Link.styles';\nimport { MessageBarStyles } from './styles/MessageBar.styles';\nimport { ModalStyles } from './styles/Modal.styles';\nimport { OverlayStyles } from './styles/Overlay.styles';\nimport { NavStyles } from './styles/Nav.styles';\nimport { PanelStyles } from './styles/Panel.styles';\nimport { PivotStyles } from './styles/Pivot.styles';\nimport { ExpandingCardStyles, PlainCardStyles } from './styles/HoverCard.styles';\nimport { PrimaryButtonStyles } from './styles/PrimaryButton.styles';\nimport { ProgressIndicatorStyles } from './styles/ProgressIndicator.styles';\nimport { RatingStyles } from './styles/Rating.styles';\nimport { SearchBoxStyles } from './styles/SearchBox.styles';\nimport { SliderStyles } from './styles/Slider.styles';\nimport { SpinButtonStyles } from './styles/SpinButton.styles';\nimport { SuggestionItemStyles } from './styles/SuggestionsItem.styles';\nimport { SuggestionsStyles } from './styles/Suggestions.styles';\nimport { TagItemStyles } from './styles/TagItem.styles';\nimport { TagPickerStyles } from './styles/TagPicker.styles';\nimport { TeachingBubbleStyles } from './styles/TeachingBubble.styles';\nimport { TextFieldStyles } from './styles/TextField.styles';\nimport { ToggleStyles } from './styles/Toggle.styles';\nimport { TooltipStyles } from './styles/Tooltip.styles';\nimport {\n CalendarStyles,\n CalendarDayGridStyles,\n CalendarDayStyles,\n CalendarMonthStyles,\n CalendarYearStyles,\n} from './styles/Calendar.styles';\n\n// TODO: \"any\" is used here to get around \"is using xxx but cannot be named\" TS error. Should be able to remove\n// this 'any' once we upgrade to TS3.1+\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const AzureStyleSettings = (theme: ITheme): any => {\n return {\n ActionButton: {\n styles: ActionButtonStyles(theme),\n },\n Breadcrumb: {\n styles: BreadcrumbStyles,\n },\n Calendar: {\n styles: CalendarStyles,\n },\n CalendarDayGrid: {\n styles: CalendarDayGridStyles,\n },\n CalendarDay: {\n styles: CalendarDayStyles,\n },\n CalendarMonth: {\n styles: CalendarMonthStyles,\n },\n CalendarYear: {\n styles: CalendarYearStyles,\n },\n CalloutContent: {\n styles: CalloutContentStyles,\n },\n ColorPicker: {\n styles: ColorPickerStyles,\n },\n ColorRectangle: {\n styles: ColorRectangleStyles,\n },\n ColorSlider: {\n styles: ColorSliderStyles,\n },\n CommandBar: {\n styles: CommandBarStyles,\n },\n CommandBarButton: {\n styles: CommandBarButtonStyles(theme),\n },\n CompoundButton: {\n styles: CompoundButtonStyles(theme),\n },\n Check: {\n styles: CheckStyles,\n },\n Checkbox: {\n styles: CheckboxStyles,\n },\n ChoiceGroupOption: {\n styles: ChoiceGroupOptionStyles,\n },\n ColorPickerGridCell: {\n styles: ColorPickerGridCellStyles,\n },\n ComboBox: {\n styles: ComboBoxStyles(theme),\n },\n ContextualMenu: {\n styles: ContextualMenuStyles,\n },\n DatePicker: {\n styles: DatePickerStyles,\n },\n DefaultButton: {\n styles: DefaultButtonStyles(theme),\n },\n DetailsList: {\n styles: DetailsListStyles,\n },\n DetailsRow: {\n styles: DetailsRowStyles,\n },\n DialogContent: {\n styles: DialogContentStyles,\n },\n DialogFooter: {\n styles: DialogFooterStyles,\n },\n DocumentCard: {\n styles: DocumentCardStyles,\n },\n Dropdown: {\n styles: DropdownStyles,\n },\n ExpandingCard: {\n styles: ExpandingCardStyles,\n },\n IconButton: {\n styles: IconButtonStyles(theme),\n },\n Label: {\n styles: LabelStyles,\n },\n Link: {\n styles: LinkStyles,\n },\n MessageBar: {\n styles: MessageBarStyles,\n },\n Modal: {\n styles: ModalStyles,\n },\n Overlay: {\n styles: OverlayStyles,\n },\n Nav: {\n styles: NavStyles,\n },\n Pivot: {\n styles: PivotStyles,\n },\n PlainCard: {\n styles: PlainCardStyles,\n },\n Panel: {\n styles: PanelStyles,\n },\n PrimaryButton: {\n styles: PrimaryButtonStyles(theme),\n },\n ProgressIndicator: {\n styles: ProgressIndicatorStyles,\n },\n Rating: {\n styles: RatingStyles,\n },\n Slider: {\n styles: SliderStyles,\n },\n SearchBox: {\n styles: SearchBoxStyles,\n },\n SpinButton: {\n styles: SpinButtonStyles,\n },\n TagPicker: {\n styles: TagPickerStyles,\n },\n TagItem: {\n styles: TagItemStyles,\n },\n SuggestionItem: {\n styles: SuggestionItemStyles,\n },\n Suggestions: {\n styles: SuggestionsStyles,\n },\n TeachingBubble: {\n styles: TeachingBubbleStyles,\n },\n TextField: {\n styles: TextFieldStyles,\n },\n Toggle: {\n styles: ToggleStyles,\n },\n Tooltip: {\n styles: TooltipStyles,\n },\n };\n};\n","import { createTheme, Theme } from '@fluentui/react';\nimport { BaseColors, CommonSemanticColors, DarkSemanticColors } from './AzureColors';\nimport { IExtendedSemanticColors } from './IExtendedSemanticColors';\nimport { FontSizes } from './AzureType';\nimport * as StyleConstants from './Constants';\nimport { AzureStyleSettings } from './AzureStyleSettings';\n\nconst darkExtendedSemanticColors: Partial = {\n bodyBackground: DarkSemanticColors.background,\n bodyDivider: CommonSemanticColors.dividers.lineSeparator,\n bodyText: DarkSemanticColors.text.body,\n bodyTextHovered: DarkSemanticColors.text.bodyHovered,\n buttonBackground: DarkSemanticColors.secondaryButton.rest.background,\n buttonBackgroundChecked: DarkSemanticColors.secondaryButton.pressed.background,\n buttonBackgroundCheckedHovered: DarkSemanticColors.secondaryButton.hover.background,\n ButtonBackgroundDanger: DarkSemanticColors.dangerButton.rest.background,\n ButtonBackgroundDangerHovered: DarkSemanticColors.dangerButton.hover.background,\n ButtonBackgroundDangerPressed: DarkSemanticColors.dangerButton.pressed.background,\n ButtonBackgroundDangerText: DarkSemanticColors.dangerButton.rest.text,\n ButtonBackgroundDangerTextHovered: DarkSemanticColors.dangerButton.hover.text,\n buttonBackgroundDisabled: DarkSemanticColors.disabledButton.background,\n buttonBackgroundHovered: DarkSemanticColors.secondaryButton.hover.background,\n buttonBackgroundPressed: DarkSemanticColors.secondaryButton.pressed.background,\n ButtonBackgroundTag: DarkSemanticColors.tagButton.rest.background,\n ButtonBackgroundTagHovered: DarkSemanticColors.tagButton.hover.background,\n ButtonBackgroundTagPressed: DarkSemanticColors.tagButton.pressed.background,\n ButtonBackgroundTagText: DarkSemanticColors.tagButton.rest.text,\n ButtonBackgroundTagTextHovered: DarkSemanticColors.tagButton.hover.text,\n ButtonBorderDanger: DarkSemanticColors.dangerButton.rest.border,\n ButtonBorderDangerHovered: DarkSemanticColors.dangerButton.hover.border,\n ButtonBorderDangerPressed: DarkSemanticColors.dangerButton.pressed.border,\n ButtonBorderDisabled: DarkSemanticColors.disabledButton.background,\n ButtonBorderFocus: DarkSemanticColors.secondaryButton.focus.border,\n ButtonBorderTag: DarkSemanticColors.tagButton.rest.border,\n ButtonBorderTagHovered: DarkSemanticColors.tagButton.hover.border,\n ButtonBorderTagPressed: DarkSemanticColors.tagButton.pressed.border,\n buttonText: DarkSemanticColors.secondaryButton.rest.text,\n buttonTextChecked: DarkSemanticColors.secondaryButton.pressed.text,\n buttonTextCheckedHovered: DarkSemanticColors.secondaryButton.hover.border,\n buttonTextDisabled: DarkSemanticColors.disabledButton.text,\n buttonTextHovered: DarkSemanticColors.secondaryButton.hover.color,\n buttonTextPressed: DarkSemanticColors.secondaryButton.pressed.text,\n checkboxBackgroundChecked: DarkSemanticColors.checkBox.checked.background,\n checkboxBackgroundHovered: DarkSemanticColors.checkBox.checked.hoverBorder,\n checkBoxBorder: DarkSemanticColors.checkBox.rest.border,\n checkboxBorderChecked: DarkSemanticColors.checkBox.checked.border,\n checkboxBorderCheckedHovered: DarkSemanticColors.checkBox.checked.hoverBorder,\n checkBoxCheck: DarkSemanticColors.checkBox.rest.check,\n checkBoxCheckedFocus: DarkSemanticColors.checkBox.rest.focus,\n checkBoxCheckHover: DarkSemanticColors.checkBox.rest.hover,\n checkBoxCheckHoverTest: DarkSemanticColors.checkBox.rest.hoverText,\n checkBoxCheckedDisabledBackground: DarkSemanticColors.checkBox.disabled.background,\n checkBoxDisabled: DarkSemanticColors.checkBox.disabled.border,\n checkBoxIndeterminateBackground: DarkSemanticColors.checkBox.rest.check,\n choiceGroupUncheckedDotHover: DarkSemanticColors.choiceGroup.circle.hover,\n choiceGroupFocusBorder: DarkSemanticColors.choiceGroup.focus,\n commandBarBorder: DarkSemanticColors.commandBar.border,\n dataColor1: DarkSemanticColors.dataColor.dataColor1,\n dataColor2: DarkSemanticColors.dataColor.dataColor2,\n dataColor3: DarkSemanticColors.dataColor.dataColor3,\n dataColor4: DarkSemanticColors.dataColor.dataColor4,\n dataColor5: DarkSemanticColors.dataColor.dataColor5,\n dataColor6: DarkSemanticColors.dataColor.dataColor6,\n dataColor7: DarkSemanticColors.dataColor.dataColor7,\n dataColor8: DarkSemanticColors.dataColor.dataColor8,\n dataColor9: DarkSemanticColors.dataColor.dataColor9,\n dataColor10: DarkSemanticColors.dataColor.dataColor10,\n datePickerDisabledBorder: DarkSemanticColors.datePicker.disabled.border,\n datePickerSelectionBackground: DarkSemanticColors.datePicker.rest.selected,\n datePickerSelectionText: DarkSemanticColors.datePicker.rest.text,\n disabledBackground: CommonSemanticColors.backgrounds.disabled,\n disabledBodyText: DarkSemanticColors.text.disabled,\n dropdownBackground: DarkSemanticColors.dropDown.background.rest,\n dropdownItemHover: DarkSemanticColors.dropDown.text.hovered,\n dropdownTextHovered: DarkSemanticColors.dropDown.text.hovered,\n errorBackground: DarkSemanticColors.controlOutlines.error,\n errorText: DarkSemanticColors.text.error,\n focusBorder: DarkSemanticColors.controlOutlines.accent,\n inputBackground: DarkSemanticColors.background,\n inputBorder: DarkSemanticColors.secondaryButton.rest.border,\n inputBorderHovered: DarkSemanticColors.secondaryButton.hover.border,\n inputBorderPressed: DarkSemanticColors.secondaryButton.pressed.border,\n inputPlaceholderText: DarkSemanticColors.text.placeholder,\n inputText: DarkSemanticColors.text.value,\n link: DarkSemanticColors.text.hyperlink,\n linkHovered: DarkSemanticColors.text.hyperlinkHovered,\n listBackground: DarkSemanticColors.background,\n listHeaderBackgroundPressed: DarkSemanticColors.item.hover,\n listItemBackgroundChecked: DarkSemanticColors.item.select,\n listItemBackgroundCheckedHovered: DarkSemanticColors.item.select,\n listItemBackgroundHovered: DarkSemanticColors.detailsRow.hoveredBackground,\n listItemBackgroundSelected: DarkSemanticColors.item.select,\n listItemBackgroundSelectedHovered: DarkSemanticColors.item.selectHovered,\n listLinkHovered: DarkSemanticColors.detailsRow.hoveredLink,\n listLinkRowHovered: DarkSemanticColors.detailsRow.hoveredRowLink,\n listLinkRowSelected: DarkSemanticColors.detailsRow.selectedLink,\n listLinkRowSelectedHovered: DarkSemanticColors.detailsRow.selectedHoveredLink,\n listText: DarkSemanticColors.text.body,\n menuItemBackgroundHovered: DarkSemanticColors.item.hover,\n menuItemBackgroundPressed: DarkSemanticColors.item.select,\n noDataColor1: DarkSemanticColors.dataColor.noData1,\n noData2Color: DarkSemanticColors.dataColor.noData2,\n primaryButtonBackground: DarkSemanticColors.primaryButton.rest.background,\n primaryButtonBackgroundDisabled: DarkSemanticColors.disabledButton.background,\n primaryButtonBackgroundHovered: DarkSemanticColors.primaryButton.hover.background,\n primaryButtonBackgroundPressed: DarkSemanticColors.primaryButton.pressed.background,\n primaryButtonBorder: DarkSemanticColors.primaryButton.rest.border,\n primaryButtonBorderDisabled: DarkSemanticColors.primaryButton.disabled.border,\n primaryButtonText: DarkSemanticColors.primaryButton.rest.text,\n primaryButtonTextDisabled: DarkSemanticColors.disabledButton.text,\n primaryButtonTextFocused: DarkSemanticColors.primaryButton.focus.text,\n primaryButtonTextHovered: DarkSemanticColors.primaryButton.hover.text,\n primaryButtonTextPressed: DarkSemanticColors.primaryButton.pressed.text,\n primaryCompoundButtonBorder: DarkSemanticColors.primaryButton.rest.background,\n radioButtonPillBorderDisabled: DarkSemanticColors.radioButton.circle.borderDisabled,\n radioButtonPillCheckedHover: DarkSemanticColors.radioButton.pill.checkedHover,\n radioButtonPillUncheckedDisabled: DarkSemanticColors.radioButton.pill.uncheckedDisabled,\n radioButtonPillUncheckedHover: DarkSemanticColors.radioButton.pill.uncheckedHover,\n radioButtonPillDisabled: DarkSemanticColors.radioButton.pill.disabled,\n radioButtonThumbUnchecked: DarkSemanticColors.radioButton.circle.uncheckedRest,\n radioButtonThumbUncheckedDisabled: DarkSemanticColors.radioButton.pill.disabled,\n radioButtonThumbCheckedDisabled: DarkSemanticColors.radioButton.circle.checkedDisabled,\n rowBorder: DarkSemanticColors.detailsRow.border,\n rowFocus: DarkSemanticColors.detailsRow.focus,\n tabHover: DarkSemanticColors.tabs.hover,\n variantBorder: BaseColors.TRANSPARENT,\n\n // extended\n commandBarButtonAfterColor: DarkSemanticColors.commandBar.button.focus.borderColor,\n commandBarButtonBackgroundHover: DarkSemanticColors.commandBar.button.hover.background,\n commandBarButtonBackgroundSelected: DarkSemanticColors.commandBar.button.selected.background,\n commandBarButtonBackgroundSelectedHover: DarkSemanticColors.commandBar.button.selectedHover.background,\n commandBarButtonIconHover: DarkSemanticColors.commandBar.button.hover.icon,\n commandBarButtonIconSelected: DarkSemanticColors.commandBar.button.selected.icon,\n commandBarButtonText: DarkSemanticColors.commandBar.button.root.color,\n commandBarButtonTextDisabled: DarkSemanticColors.commandBar.button.disabled.color,\n commandBarButtonTextHover: DarkSemanticColors.commandBar.button.hover.color,\n controlAccent: DarkSemanticColors.controlOutlines.accent,\n controlBackground: DarkSemanticColors.controlOutlines.background,\n controlFocus: DarkSemanticColors.controlOutlines.focus,\n controlOutline: DarkSemanticColors.controlOutlines.rest,\n controlOutlineDisabled: DarkSemanticColors.controlOutlines.disabled,\n controlOutlineHovered: DarkSemanticColors.controlOutlines.hover,\n iconButtonFill: DarkSemanticColors.primaryButton.rest.background,\n iconButtonFillHovered: DarkSemanticColors.commandBar.button.hover.icon,\n labelText: DarkSemanticColors.text.label,\n sliderActiveBackground: DarkSemanticColors.slider.activeBackground,\n sliderInActiveHover: DarkSemanticColors.slider.inactiveBackgroundHovered,\n sliderActiveHover: DarkSemanticColors.slider.activeBackgroundHovered,\n sliderActivePressed: DarkSemanticColors.slider.activeBackgroundPressed,\n sliderDisabledActiveBackground: DarkSemanticColors.slider.activeDisabledBackground,\n sliderDisabledInActiveBackground: DarkSemanticColors.slider.inactiveDisabledBackground,\n statusDefaultBackground: DarkSemanticColors.statusBar.background.information,\n statusDefaultBorder: DarkSemanticColors.statusBar.border.default,\n statusDisabledIcon: DarkSemanticColors.statusBar.icon.disabled,\n statusErrorBackground: DarkSemanticColors.statusBar.background.error,\n statusErrorBorder: DarkSemanticColors.statusBar.border.error,\n statusErrorIcon: DarkSemanticColors.statusBar.icon.error,\n statusInformationBackground: DarkSemanticColors.statusBar.background.information,\n statusInformationText: DarkSemanticColors.text.body,\n statusInformationIcon: DarkSemanticColors.statusBar.icon.information,\n statusSuccessBackground: DarkSemanticColors.statusBar.background.success,\n statusSuccessBorder: DarkSemanticColors.statusBar.border.okay,\n statusLink: DarkSemanticColors.statusBar.link.rest,\n statusLinkHover: DarkSemanticColors.statusBar.link.hover,\n statusUpsellBackground: DarkSemanticColors.statusBar.background.upsell,\n statusUpsellIcon: DarkSemanticColors.statusBar.icon.upsell,\n statusSuccessText: DarkSemanticColors.text.body,\n statusSuccessIcon: DarkSemanticColors.statusBar.icon.success,\n statusWarningBackground: DarkSemanticColors.statusBar.background.warning,\n statusWarningBorder: DarkSemanticColors.statusBar.border.warning,\n statusWarningText: DarkSemanticColors.text.body,\n statusWarningIcon: DarkSemanticColors.statusBar.icon.warning,\n teachingBubbleBackground: DarkSemanticColors.teachingBubble.rest.background,\n teachingBubbleBorder: DarkSemanticColors.teachingBubble.rest.border,\n teachingBubblePrimaryButtonHover: DarkSemanticColors.teachingBubble.hover.primaryButtonBackground,\n teachingBubbleSecondaryBackground: DarkSemanticColors.teachingBubble.rest.secondaryBackround,\n teachingBubbleText: DarkSemanticColors.teachingBubble.rest.text,\n textFieldBorderDisabled: DarkSemanticColors.primaryButton.disabled.border,\n calendarBackground: DarkSemanticColors.calendar.background,\n calendarTextRest: DarkSemanticColors.calendar.text.rest,\n calendarTextHover: DarkSemanticColors.calendar.text.hover,\n calendarTextDisabled: DarkSemanticColors.calendar.text.disabled,\n calendarTextOutside: DarkSemanticColors.calendar.text.outside,\n calendarBackgroundBorder: DarkSemanticColors.calendar.button.border,\n calendarBackgroundSelected: DarkSemanticColors.calendar.button.selected,\n calendarBackgroundHover: DarkSemanticColors.calendar.button.hover,\n\n // temporary work around for high contrast themes\n choiceGroupContainerBorder: '0px',\n callOutBorderStyle: 'solid',\n choiceGroupContainerBorderStyle: 'solid',\n listUnderline: 'none',\n linkBorderStyle: 'dashed',\n};\n\nexport const AzureThemeDark: Theme = createTheme({\n fonts: {\n medium: {\n fontFamily: StyleConstants.fontFamily,\n fontSize: FontSizes.size13,\n },\n large: {\n fontSize: FontSizes.size14,\n },\n },\n palette: {\n themePrimary: DarkSemanticColors.controlOutlines.accent,\n neutralPrimary: DarkSemanticColors.text.body,\n neutralDark: DarkSemanticColors.text.body,\n neutralLighter: DarkSemanticColors.shimmer.secondary, // shimmer elements\n neutralLight: DarkSemanticColors.shimmer.primary, // shimmer elements\n neutralLighterAlt: DarkSemanticColors.item.hover, // nav highlight\n neutralQuaternaryAlt: DarkSemanticColors.item.select, // expand button on list controls\n neutralSecondary: DarkSemanticColors.text.label, // persona,\n white: DarkSemanticColors.background, // shimmer elements\n },\n semanticColors: darkExtendedSemanticColors,\n isInverted: true,\n});\n\nAzureThemeDark.components = AzureStyleSettings(AzureThemeDark);\n","import { createTheme, Theme } from '@fluentui/react';\nimport { CommonSemanticColors, HighContrastDarkSemanticColors } from './AzureColors';\nimport { IExtendedSemanticColors } from './IExtendedSemanticColors';\nimport { FontSizes } from './AzureType';\nimport * as StyleConstants from './Constants';\nimport { AzureStyleSettings } from './AzureStyleSettings';\n\nconst highContrastDarkExtendedSemanticColors: Partial = {\n bodyBackground: HighContrastDarkSemanticColors.background,\n bodyDivider: CommonSemanticColors.dividers.lineSeparator,\n bodyText: HighContrastDarkSemanticColors.text.body,\n bodyTextHovered: HighContrastDarkSemanticColors.text.bodyHovered,\n buttonBackground: HighContrastDarkSemanticColors.secondaryButton.rest.background,\n buttonBackgroundChecked: HighContrastDarkSemanticColors.secondaryButton.pressed.background,\n buttonBackgroundCheckedHovered: HighContrastDarkSemanticColors.secondaryButton.hover.background,\n ButtonBackgroundDanger: HighContrastDarkSemanticColors.dangerButton.rest.background,\n ButtonBackgroundDangerHovered: HighContrastDarkSemanticColors.dangerButton.hover.background,\n ButtonBackgroundDangerPressed: HighContrastDarkSemanticColors.dangerButton.pressed.background,\n ButtonBackgroundDangerText: HighContrastDarkSemanticColors.dangerButton.rest.text,\n ButtonBackgroundDangerTextHovered: HighContrastDarkSemanticColors.dangerButton.hover.text,\n buttonBackgroundDisabled: HighContrastDarkSemanticColors.primaryButton.disabled.background,\n buttonBackgroundHovered: HighContrastDarkSemanticColors.secondaryButton.hover.background,\n buttonBackgroundPressed: HighContrastDarkSemanticColors.secondaryButton.pressed.background,\n ButtonBackgroundTag: HighContrastDarkSemanticColors.tagButton.rest.background,\n ButtonBackgroundTagHovered: HighContrastDarkSemanticColors.tagButton.hover.background,\n ButtonBackgroundTagPressed: HighContrastDarkSemanticColors.tagButton.pressed.background,\n ButtonBackgroundTagText: HighContrastDarkSemanticColors.tagButton.rest.text,\n ButtonBackgroundTagTextHovered: HighContrastDarkSemanticColors.tagButton.hover.text,\n ButtonBorderDanger: HighContrastDarkSemanticColors.dangerButton.rest.border,\n ButtonBorderDangerHovered: HighContrastDarkSemanticColors.dangerButton.hover.border,\n ButtonBorderDangerPressed: HighContrastDarkSemanticColors.dangerButton.pressed.border,\n ButtonBorderDisabled: HighContrastDarkSemanticColors.disabledButton.background,\n ButtonBorderFocus: HighContrastDarkSemanticColors.secondaryButton.focus.border,\n ButtonBorderTag: HighContrastDarkSemanticColors.tagButton.rest.border,\n ButtonBorderTagHovered: HighContrastDarkSemanticColors.tagButton.hover.border,\n ButtonBorderTagPressed: HighContrastDarkSemanticColors.tagButton.pressed.border,\n buttonText: HighContrastDarkSemanticColors.secondaryButton.rest.text,\n buttonTextChecked: HighContrastDarkSemanticColors.secondaryButton.pressed.text,\n buttonTextCheckedHovered: HighContrastDarkSemanticColors.secondaryButton.hover.border,\n buttonTextDisabled: HighContrastDarkSemanticColors.disabledButton.text,\n buttonTextHovered: HighContrastDarkSemanticColors.secondaryButton.hover.color,\n buttonTextPressed: HighContrastDarkSemanticColors.secondaryButton.pressed.text,\n checkboxBackgroundChecked: HighContrastDarkSemanticColors.checkBox.checked.background,\n checkboxBackgroundHovered: HighContrastDarkSemanticColors.checkBox.checked.hoverBackground,\n checkBoxBorder: HighContrastDarkSemanticColors.checkBox.rest.border,\n checkboxBorderChecked: HighContrastDarkSemanticColors.checkBox.checked.border,\n checkboxBorderCheckedHovered: HighContrastDarkSemanticColors.checkBox.checked.hoverBorder,\n checkBoxCheck: HighContrastDarkSemanticColors.checkBox.rest.check,\n checkBoxCheckedFocus: HighContrastDarkSemanticColors.checkBox.rest.focus,\n checkBoxCheckHover: HighContrastDarkSemanticColors.checkBox.rest.hover,\n checkBoxCheckHoverTest: HighContrastDarkSemanticColors.checkBox.rest.hoverText,\n checkBoxCheckedDisabledBackground: HighContrastDarkSemanticColors.checkBox.disabled.background,\n checkBoxDisabled: HighContrastDarkSemanticColors.checkBox.disabled.border,\n checkBoxIndeterminateBackground: HighContrastDarkSemanticColors.checkBox.checked.background,\n checkBoxIndeterminateDefaultChecked: HighContrastDarkSemanticColors.checkBox.checked.default,\n choiceGroupUncheckedDotHover: HighContrastDarkSemanticColors.choiceGroup.circle.hover,\n choiceGroupFocusBorder: HighContrastDarkSemanticColors.choiceGroup.focus,\n commandBarBorder: HighContrastDarkSemanticColors.commandBar.border,\n dataColor1: HighContrastDarkSemanticColors.dataColor.dataColor1,\n dataColor2: HighContrastDarkSemanticColors.dataColor.dataColor2,\n dataColor3: HighContrastDarkSemanticColors.dataColor.dataColor3,\n dataColor4: HighContrastDarkSemanticColors.dataColor.dataColor4,\n dataColor5: HighContrastDarkSemanticColors.dataColor.dataColor5,\n dataColor6: HighContrastDarkSemanticColors.dataColor.dataColor6,\n dataColor7: HighContrastDarkSemanticColors.dataColor.dataColor7,\n dataColor8: HighContrastDarkSemanticColors.dataColor.dataColor8,\n dataColor9: HighContrastDarkSemanticColors.dataColor.dataColor9,\n dataColor10: HighContrastDarkSemanticColors.dataColor.dataColor10,\n datePickerDisabledBorder: HighContrastDarkSemanticColors.datePicker.disabled.border,\n datePickerSelectionBackground: HighContrastDarkSemanticColors.datePicker.rest.selected,\n datePickerSelectionText: HighContrastDarkSemanticColors.datePicker.rest.text,\n disabledBackground: CommonSemanticColors.backgrounds.disabled,\n disabledBodyText: HighContrastDarkSemanticColors.text.disabled,\n dropdownBackground: HighContrastDarkSemanticColors.dropDown.background.rest,\n dropdownItemHover: HighContrastDarkSemanticColors.dropDown.background.hover,\n dropdownTextHovered: HighContrastDarkSemanticColors.dropDown.text.hovered,\n errorBackground: HighContrastDarkSemanticColors.controlOutlines.error,\n errorText: HighContrastDarkSemanticColors.text.error,\n focusBorder: HighContrastDarkSemanticColors.controlOutlines.accent,\n inputBackground: HighContrastDarkSemanticColors.background,\n inputBorder: HighContrastDarkSemanticColors.secondaryButton.rest.border,\n inputBorderHovered: HighContrastDarkSemanticColors.secondaryButton.hover.border,\n inputBorderPressed: HighContrastDarkSemanticColors.secondaryButton.pressed.border,\n inputPlaceholderText: HighContrastDarkSemanticColors.text.placeholder,\n inputText: HighContrastDarkSemanticColors.text.value,\n link: HighContrastDarkSemanticColors.text.hyperlink,\n linkHovered: HighContrastDarkSemanticColors.text.hyperlinkHovered,\n listBackground: HighContrastDarkSemanticColors.background,\n listHeaderBackgroundPressed: HighContrastDarkSemanticColors.item.hover,\n listItemBackgroundChecked: HighContrastDarkSemanticColors.item.select,\n listItemBackgroundCheckedHovered: HighContrastDarkSemanticColors.item.select,\n listItemBackgroundHovered: HighContrastDarkSemanticColors.detailsRow.hoveredBackground,\n listItemBackgroundSelected: HighContrastDarkSemanticColors.item.select,\n listItemBackgroundSelectedHovered: HighContrastDarkSemanticColors.item.selectHovered,\n listLinkHovered: HighContrastDarkSemanticColors.detailsRow.hoveredLink,\n listLinkRowHovered: HighContrastDarkSemanticColors.detailsRow.hoveredRowLink,\n listLinkRowSelected: HighContrastDarkSemanticColors.detailsRow.selectedLink,\n listLinkRowSelectedHovered: HighContrastDarkSemanticColors.detailsRow.selectedHoveredLink,\n listText: HighContrastDarkSemanticColors.text.list,\n menuItemBackgroundHovered: HighContrastDarkSemanticColors.primaryButton.hover.background,\n menuItemBackgroundPressed: HighContrastDarkSemanticColors.primaryButton.hover.background,\n noDataColor1: HighContrastDarkSemanticColors.dataColor.noData1,\n noData2Color: HighContrastDarkSemanticColors.dataColor.noData2,\n primaryButtonBackground: HighContrastDarkSemanticColors.primaryButton.rest.background,\n primaryButtonBackgroundDisabled: HighContrastDarkSemanticColors.primaryButton.disabled.background,\n primaryButtonBackgroundHovered: HighContrastDarkSemanticColors.primaryButton.hover.background,\n primaryButtonBackgroundPressed: HighContrastDarkSemanticColors.primaryButton.pressed.background,\n primaryButtonBorder: HighContrastDarkSemanticColors.primaryButton.rest.border,\n primaryButtonBorderDisabled: HighContrastDarkSemanticColors.primaryButton.disabled.border,\n primaryButtonText: HighContrastDarkSemanticColors.primaryButton.rest.text,\n primaryButtonTextDisabled: HighContrastDarkSemanticColors.primaryButton.disabled.text,\n primaryButtonTextFocused: HighContrastDarkSemanticColors.primaryButton.focus.text,\n primaryButtonTextHovered: HighContrastDarkSemanticColors.primaryButton.hover.text,\n primaryButtonTextPressed: HighContrastDarkSemanticColors.primaryButton.pressed.text,\n radioButtonPillBorderDisabled: HighContrastDarkSemanticColors.radioButton.circle.borderDisabled,\n radioButtonPillCheckedHover: HighContrastDarkSemanticColors.radioButton.pill.checkedHover,\n radioButtonPillUncheckedDisabled: HighContrastDarkSemanticColors.radioButton.pill.uncheckedDisabled,\n radioButtonPillUncheckedHover: HighContrastDarkSemanticColors.radioButton.pill.uncheckedHover,\n radioButtonPillDisabled: HighContrastDarkSemanticColors.radioButton.pill.disabled,\n radioButtonThumbUnchecked: HighContrastDarkSemanticColors.radioButton.circle.uncheckedRest,\n radioButtonThumbUncheckedDisabled: HighContrastDarkSemanticColors.radioButton.circle.checkedDisabled,\n radioButtonThumbCheckedDisabled: HighContrastDarkSemanticColors.radioButton.circle.checkedDisabled,\n tabHover: HighContrastDarkSemanticColors.tabs.hover,\n rowBorder: HighContrastDarkSemanticColors.detailsRow.border,\n rowFocus: HighContrastDarkSemanticColors.detailsRow.focus,\n variantBorder: CommonSemanticColors.dividers.lineSeparator,\n // extended\n commandBarButtonAfterColor: HighContrastDarkSemanticColors.commandBar.button.focus.borderColor,\n commandBarButtonBackgroundHover: HighContrastDarkSemanticColors.commandBar.button.hover.background,\n commandBarButtonBackgroundSelected: HighContrastDarkSemanticColors.commandBar.button.selected.background,\n commandBarButtonBackgroundSelectedHover: HighContrastDarkSemanticColors.commandBar.button.selectedHover.background,\n commandBarButtonIconHover: HighContrastDarkSemanticColors.commandBar.button.hover.icon,\n commandBarButtonIconSelected: HighContrastDarkSemanticColors.commandBar.button.selected.icon,\n commandBarButtonText: HighContrastDarkSemanticColors.commandBar.button.root.color,\n commandBarButtonTextDisabled: HighContrastDarkSemanticColors.commandBar.button.disabled.color,\n commandBarButtonTextHover: HighContrastDarkSemanticColors.commandBar.button.hover.color,\n controlAccent: HighContrastDarkSemanticColors.controlOutlines.accent,\n controlBackground: HighContrastDarkSemanticColors.controlOutlines.background,\n controlFocus: HighContrastDarkSemanticColors.controlOutlines.focus,\n controlOutline: HighContrastDarkSemanticColors.controlOutlines.rest,\n controlOutlineDisabled: HighContrastDarkSemanticColors.controlOutlines.disabled,\n controlOutlineHovered: HighContrastDarkSemanticColors.controlOutlines.hover,\n iconButtonFill: HighContrastDarkSemanticColors.text.icon,\n iconButtonFillHovered: HighContrastDarkSemanticColors.primaryButton.hover.text,\n labelText: HighContrastDarkSemanticColors.text.label,\n sliderActiveBackground: HighContrastDarkSemanticColors.slider.activeBackground,\n sliderInActiveHover: HighContrastDarkSemanticColors.slider.inactiveBackgroundHovered,\n sliderActiveHover: HighContrastDarkSemanticColors.slider.activeBackgroundHovered,\n sliderActivePressed: HighContrastDarkSemanticColors.slider.activeBackgroundPressed,\n sliderDisabledActiveBackground: HighContrastDarkSemanticColors.slider.activeDisabledBackground,\n sliderDisabledInActiveBackground: HighContrastDarkSemanticColors.slider.inactiveDisabledBackground,\n statusDefaultBackground: HighContrastDarkSemanticColors.statusBar.background.information,\n statusDefaultBorder: HighContrastDarkSemanticColors.statusBar.border.default,\n statusDisabledIcon: HighContrastDarkSemanticColors.statusBar.icon.disabled,\n statusErrorBackground: HighContrastDarkSemanticColors.statusBar.background.error,\n statusErrorBorder: HighContrastDarkSemanticColors.statusBar.border.error,\n statusErrorText: HighContrastDarkSemanticColors.text.body,\n statusErrorIcon: HighContrastDarkSemanticColors.statusBar.icon.error,\n statusInformationBackground: HighContrastDarkSemanticColors.statusBar.background.information,\n statusInformationText: HighContrastDarkSemanticColors.text.body,\n statusInformationIcon: HighContrastDarkSemanticColors.statusBar.icon.information,\n statusLink: HighContrastDarkSemanticColors.statusBar.link.rest,\n statusLinkHover: HighContrastDarkSemanticColors.statusBar.link.hover,\n statusUpsellBackground: HighContrastDarkSemanticColors.statusBar.background.upsell,\n statusUpsellIcon: HighContrastDarkSemanticColors.statusBar.icon.upsell,\n statusSuccessBackground: HighContrastDarkSemanticColors.statusBar.background.success,\n statusSuccessBorder: HighContrastDarkSemanticColors.statusBar.border.okay,\n statusSuccessText: HighContrastDarkSemanticColors.text.body,\n statusSuccessIcon: HighContrastDarkSemanticColors.statusBar.icon.success,\n statusWarningBackground: HighContrastDarkSemanticColors.statusBar.background.warning,\n statusWarningBorder: HighContrastDarkSemanticColors.statusBar.border.warning,\n statusWarningText: HighContrastDarkSemanticColors.text.body,\n statusWarningIcon: HighContrastDarkSemanticColors.statusBar.icon.warning,\n teachingBubbleBackground: HighContrastDarkSemanticColors.teachingBubble.rest.background,\n teachingBubbleBorder: HighContrastDarkSemanticColors.teachingBubble.rest.border,\n teachingBubblePrimaryButtonHover: HighContrastDarkSemanticColors.teachingBubble.hover.primaryButtonBackground,\n teachingBubbleSecondaryBackground: HighContrastDarkSemanticColors.teachingBubble.rest.secondaryBackround,\n teachingBubbleText: HighContrastDarkSemanticColors.teachingBubble.rest.text,\n textFieldBorderDisabled: HighContrastDarkSemanticColors.primaryButton.disabled.border,\n calendarBackground: HighContrastDarkSemanticColors.calendar.background,\n calendarTextRest: HighContrastDarkSemanticColors.calendar.text.rest,\n calendarTextHover: HighContrastDarkSemanticColors.calendar.text.hover,\n calendarTextDisabled: HighContrastDarkSemanticColors.calendar.text.disabled,\n calendarTextOutside: HighContrastDarkSemanticColors.calendar.text.outside,\n calendarBackgroundBorder: HighContrastDarkSemanticColors.calendar.button.border,\n calendarBackgroundSelected: HighContrastDarkSemanticColors.calendar.button.selected,\n calendarBackgroundHover: HighContrastDarkSemanticColors.calendar.button.hover,\n\n // temporary work around for high contrast themes\n choiceGroupContainerBorder: '1px',\n callOutBorderStyle: 'solid',\n choiceGroupContainerBorderStyle: 'solid',\n listUnderline: 'underline',\n linkBorderStyle: 'dashed',\n};\n\nexport const AzureThemeHighContrastDark: Theme = createTheme({\n fonts: {\n medium: {\n fontFamily: StyleConstants.fontFamily,\n fontSize: FontSizes.size13,\n },\n large: {\n fontSize: FontSizes.size14,\n },\n },\n palette: {\n themePrimary: HighContrastDarkSemanticColors.controlOutlines.accent,\n neutralPrimary: HighContrastDarkSemanticColors.text.body,\n neutralDark: HighContrastDarkSemanticColors.text.body,\n neutralLighter: HighContrastDarkSemanticColors.shimmer.secondary, // shimmer elements\n neutralLight: HighContrastDarkSemanticColors.shimmer.primary, // shimmer elements\n neutralLighterAlt: HighContrastDarkSemanticColors.item.hover, // nav highlight\n neutralQuaternaryAlt: HighContrastDarkSemanticColors.item.select, // expand button on list controls\n neutralSecondary: HighContrastDarkSemanticColors.text.label, // persona,\n white: HighContrastDarkSemanticColors.background, // shimmer elements\n },\n semanticColors: highContrastDarkExtendedSemanticColors,\n isInverted: true,\n});\n\nAzureThemeHighContrastDark.components = AzureStyleSettings(AzureThemeHighContrastDark);\n","import { createTheme, Theme } from '@fluentui/react';\nimport { CommonSemanticColors, HighContrastLightSemanticColors } from './AzureColors';\nimport { IExtendedSemanticColors } from './IExtendedSemanticColors';\nimport { FontSizes } from './AzureType';\nimport * as StyleConstants from './Constants';\nimport { AzureStyleSettings } from './AzureStyleSettings';\n\nconst highContrastLightExtendedSemanticColors: Partial = {\n bodyBackground: HighContrastLightSemanticColors.background,\n bodyDivider: CommonSemanticColors.dividers.lineSeparator,\n bodyText: HighContrastLightSemanticColors.text.body,\n bodyTextHovered: HighContrastLightSemanticColors.text.bodyHovered,\n buttonBackground: HighContrastLightSemanticColors.secondaryButton.rest.background,\n buttonBackgroundChecked: HighContrastLightSemanticColors.secondaryButton.pressed.background,\n buttonBackgroundCheckedHovered: HighContrastLightSemanticColors.secondaryButton.hover.background,\n ButtonBackgroundDanger: HighContrastLightSemanticColors.dangerButton.rest.background,\n ButtonBackgroundDangerHovered: HighContrastLightSemanticColors.dangerButton.hover.background,\n ButtonBackgroundDangerPressed: HighContrastLightSemanticColors.dangerButton.pressed.background,\n ButtonBackgroundDangerText: HighContrastLightSemanticColors.dangerButton.rest.text,\n ButtonBackgroundDangerTextHovered: HighContrastLightSemanticColors.dangerButton.hover.text,\n buttonBackgroundDisabled: HighContrastLightSemanticColors.disabledButton.background,\n buttonBackgroundHovered: HighContrastLightSemanticColors.secondaryButton.hover.background,\n buttonBackgroundPressed: HighContrastLightSemanticColors.secondaryButton.pressed.background,\n ButtonBackgroundTag: HighContrastLightSemanticColors.tagButton.rest.background,\n ButtonBackgroundTagHovered: HighContrastLightSemanticColors.tagButton.hover.background,\n ButtonBackgroundTagPressed: HighContrastLightSemanticColors.tagButton.pressed.background,\n ButtonBackgroundTagText: HighContrastLightSemanticColors.tagButton.rest.text,\n ButtonBackgroundTagTextHovered: HighContrastLightSemanticColors.tagButton.hover.text,\n ButtonBorderDanger: HighContrastLightSemanticColors.dangerButton.rest.border,\n ButtonBorderDangerHovered: HighContrastLightSemanticColors.dangerButton.hover.border,\n ButtonBorderDangerPressed: HighContrastLightSemanticColors.dangerButton.pressed.border,\n ButtonBorderDisabled: HighContrastLightSemanticColors.disabledButton.text,\n ButtonBorderFocus: HighContrastLightSemanticColors.secondaryButton.focus.border,\n ButtonBorderTag: HighContrastLightSemanticColors.tagButton.rest.border,\n ButtonBorderTagHovered: HighContrastLightSemanticColors.tagButton.hover.border,\n ButtonBorderTagPressed: HighContrastLightSemanticColors.tagButton.pressed.border,\n buttonText: HighContrastLightSemanticColors.secondaryButton.rest.text,\n buttonTextChecked: HighContrastLightSemanticColors.secondaryButton.pressed.text,\n buttonTextCheckedHovered: HighContrastLightSemanticColors.secondaryButton.hover.border,\n buttonTextDisabled: HighContrastLightSemanticColors.disabledButton.text,\n buttonTextHovered: HighContrastLightSemanticColors.secondaryButton.hover.color,\n buttonTextPressed: HighContrastLightSemanticColors.secondaryButton.pressed.text,\n checkboxBackgroundChecked: HighContrastLightSemanticColors.checkBox.checked.background,\n checkboxBackgroundHovered: HighContrastLightSemanticColors.checkBox.checked.hoverBackground,\n checkBoxBorder: HighContrastLightSemanticColors.checkBox.rest.border,\n checkboxBorderChecked: HighContrastLightSemanticColors.checkBox.checked.border,\n checkboxBorderCheckedHovered: HighContrastLightSemanticColors.checkBox.checked.hoverBorder,\n checkBoxCheck: HighContrastLightSemanticColors.checkBox.rest.check,\n checkBoxCheckedFocus: HighContrastLightSemanticColors.checkBox.rest.focus,\n checkBoxCheckHover: HighContrastLightSemanticColors.checkBox.rest.hover,\n checkBoxCheckHoverTest: HighContrastLightSemanticColors.checkBox.rest.hoverText,\n checkBoxCheckedDisabledBackground: HighContrastLightSemanticColors.checkBox.disabled.background,\n checkBoxDisabled: HighContrastLightSemanticColors.checkBox.disabled.border,\n checkBoxIndeterminateBackground: HighContrastLightSemanticColors.checkBox.rest.check,\n checkBoxIndeterminateDefaultChecked: HighContrastLightSemanticColors.checkBox.checked.default,\n choiceGroupUncheckedDotHover: HighContrastLightSemanticColors.choiceGroup.circle.hover,\n choiceGroupFocusBorder: HighContrastLightSemanticColors.choiceGroup.focus,\n commandBarBorder: HighContrastLightSemanticColors.commandBar.border,\n dataColor1: HighContrastLightSemanticColors.dataColor.dataColor1,\n dataColor2: HighContrastLightSemanticColors.dataColor.dataColor2,\n dataColor3: HighContrastLightSemanticColors.dataColor.dataColor3,\n dataColor4: HighContrastLightSemanticColors.dataColor.dataColor4,\n dataColor5: HighContrastLightSemanticColors.dataColor.dataColor5,\n dataColor6: HighContrastLightSemanticColors.dataColor.dataColor6,\n dataColor7: HighContrastLightSemanticColors.dataColor.dataColor7,\n dataColor8: HighContrastLightSemanticColors.dataColor.dataColor8,\n dataColor9: HighContrastLightSemanticColors.dataColor.dataColor9,\n dataColor10: HighContrastLightSemanticColors.dataColor.dataColor10,\n datePickerDisabledBorder: HighContrastLightSemanticColors.datePicker.disabled.border,\n datePickerSelectionBackground: HighContrastLightSemanticColors.primaryButton.hover.background,\n datePickerSelectionText: HighContrastLightSemanticColors.datePicker.rest.text,\n disabledBackground: CommonSemanticColors.backgrounds.disabled,\n disabledBodyText: HighContrastLightSemanticColors.text.disabled,\n dropdownBackground: HighContrastLightSemanticColors.dropDown.background.rest,\n dropdownItemHover: HighContrastLightSemanticColors.dropDown.background.hover,\n dropdownTextHovered: HighContrastLightSemanticColors.dropDown.text.hovered,\n errorBackground: HighContrastLightSemanticColors.controlOutlines.error,\n errorText: HighContrastLightSemanticColors.text.error,\n focusBorder: HighContrastLightSemanticColors.controlOutlines.accent,\n inputBackground: HighContrastLightSemanticColors.background,\n inputBorder: HighContrastLightSemanticColors.secondaryButton.rest.border,\n inputBorderHovered: HighContrastLightSemanticColors.secondaryButton.hover.border,\n inputBorderPressed: HighContrastLightSemanticColors.secondaryButton.pressed.border,\n inputPlaceholderText: HighContrastLightSemanticColors.text.placeholder,\n inputText: HighContrastLightSemanticColors.text.value,\n link: HighContrastLightSemanticColors.text.hyperlink,\n linkHovered: HighContrastLightSemanticColors.text.hyperlinkHovered,\n listBackground: HighContrastLightSemanticColors.background,\n listHeaderBackgroundPressed: HighContrastLightSemanticColors.item.hover,\n listItemBackgroundChecked: HighContrastLightSemanticColors.item.select,\n listItemBackgroundCheckedHovered: HighContrastLightSemanticColors.item.select,\n listItemBackgroundHovered: HighContrastLightSemanticColors.detailsRow.hoveredBackground,\n listItemBackgroundSelected: HighContrastLightSemanticColors.item.select,\n listItemBackgroundSelectedHovered: HighContrastLightSemanticColors.item.selectHovered,\n listLinkHovered: HighContrastLightSemanticColors.detailsRow.hoveredLink,\n listLinkRowHovered: HighContrastLightSemanticColors.detailsRow.hoveredRowLink,\n listLinkRowSelected: HighContrastLightSemanticColors.detailsRow.selectedLink,\n listLinkRowSelectedHovered: HighContrastLightSemanticColors.detailsRow.selectedHoveredLink,\n listText: HighContrastLightSemanticColors.text.list,\n menuItemBackgroundHovered: HighContrastLightSemanticColors.primaryButton.hover.background,\n menuItemBackgroundPressed: HighContrastLightSemanticColors.primaryButton.hover.background,\n noDataColor1: HighContrastLightSemanticColors.dataColor.noData1,\n noData2Color: HighContrastLightSemanticColors.dataColor.noData2,\n primaryButtonBackground: HighContrastLightSemanticColors.primaryButton.rest.background,\n primaryButtonBackgroundDisabled: HighContrastLightSemanticColors.disabledButton.background,\n primaryButtonBackgroundHovered: HighContrastLightSemanticColors.primaryButton.hover.background,\n primaryButtonBackgroundPressed: HighContrastLightSemanticColors.primaryButton.pressed.background,\n primaryButtonBorder: HighContrastLightSemanticColors.primaryButton.rest.border,\n primaryButtonBorderDisabled: HighContrastLightSemanticColors.disabledButton.text,\n primaryButtonText: HighContrastLightSemanticColors.primaryButton.rest.text,\n primaryButtonTextDisabled: HighContrastLightSemanticColors.disabledButton.text,\n primaryButtonTextFocused: HighContrastLightSemanticColors.primaryButton.focus.text,\n primaryButtonTextHovered: HighContrastLightSemanticColors.primaryButton.hover.text,\n primaryButtonTextPressed: HighContrastLightSemanticColors.primaryButton.pressed.text,\n primaryCompoundButtonBorder: HighContrastLightSemanticColors.primaryButton.rest.border,\n radioButtonPillBorderDisabled: HighContrastLightSemanticColors.radioButton.circle.borderDisabled,\n radioButtonPillCheckedHover: HighContrastLightSemanticColors.radioButton.pill.checkedHover,\n radioButtonPillUncheckedDisabled: HighContrastLightSemanticColors.radioButton.pill.uncheckedDisabled,\n radioButtonPillUncheckedHover: HighContrastLightSemanticColors.radioButton.pill.uncheckedHover,\n radioButtonPillDisabled: HighContrastLightSemanticColors.radioButton.pill.disabled,\n radioButtonThumbUnchecked: HighContrastLightSemanticColors.radioButton.circle.uncheckedRest,\n radioButtonThumbUncheckedDisabled: HighContrastLightSemanticColors.radioButton.circle.checkedDisabled,\n radioButtonThumbCheckedDisabled: HighContrastLightSemanticColors.radioButton.circle.checkedDisabled,\n rowBorder: HighContrastLightSemanticColors.radioButton.circle.checkedDisabled,\n rowFocus: HighContrastLightSemanticColors.detailsRow.focus,\n tabHover: HighContrastLightSemanticColors.tabs.hover,\n variantBorder: HighContrastLightSemanticColors.controlOutlines.rest,\n // extended\n commandBarButtonAfterColor: HighContrastLightSemanticColors.commandBar.button.focus.borderColor,\n commandBarButtonBackgroundHover: HighContrastLightSemanticColors.commandBar.button.hover.background,\n commandBarButtonBackgroundSelected: HighContrastLightSemanticColors.commandBar.button.selected.background,\n commandBarButtonBackgroundSelectedHover: HighContrastLightSemanticColors.commandBar.button.selectedHover.background,\n commandBarButtonIconHover: HighContrastLightSemanticColors.commandBar.button.hover.icon,\n commandBarButtonIconSelected: HighContrastLightSemanticColors.commandBar.button.selected.icon,\n commandBarButtonText: HighContrastLightSemanticColors.commandBar.button.root.color,\n commandBarButtonTextDisabled: HighContrastLightSemanticColors.commandBar.button.disabled.color,\n commandBarButtonTextHover: HighContrastLightSemanticColors.commandBar.button.hover.color,\n controlAccent: HighContrastLightSemanticColors.controlOutlines.accent,\n controlBackground: HighContrastLightSemanticColors.controlOutlines.background,\n controlFocus: HighContrastLightSemanticColors.controlOutlines.focus,\n controlOutline: HighContrastLightSemanticColors.controlOutlines.rest,\n controlOutlineDisabled: HighContrastLightSemanticColors.controlOutlines.disabled,\n controlOutlineHovered: HighContrastLightSemanticColors.controlOutlines.hover,\n iconButtonFill: HighContrastLightSemanticColors.text.icon,\n iconButtonFillHovered: HighContrastLightSemanticColors.primaryButton.hover.text,\n labelText: HighContrastLightSemanticColors.text.label,\n sliderActiveBackground: HighContrastLightSemanticColors.slider.activeBackground,\n sliderInActiveHover: HighContrastLightSemanticColors.slider.inactiveBackgroundHovered,\n sliderActiveHover: HighContrastLightSemanticColors.slider.activeBackgroundHovered,\n sliderActivePressed: HighContrastLightSemanticColors.slider.activeBackgroundPressed,\n sliderDisabledActiveBackground: HighContrastLightSemanticColors.slider.activeDisabledBackground,\n sliderDisabledInActiveBackground: HighContrastLightSemanticColors.slider.inactiveDisabledBackground,\n statusDefaultBackground: HighContrastLightSemanticColors.statusBar.background.information,\n statusDefaultBorder: HighContrastLightSemanticColors.statusBar.border.default,\n statusDisabledIcon: HighContrastLightSemanticColors.statusBar.icon.disabled,\n statusErrorBackground: HighContrastLightSemanticColors.statusBar.background.error,\n statusErrorBorder: HighContrastLightSemanticColors.statusBar.border.error,\n statusErrorText: HighContrastLightSemanticColors.text.body,\n statusErrorIcon: HighContrastLightSemanticColors.statusBar.icon.error,\n statusInformationBackground: HighContrastLightSemanticColors.statusBar.background.information,\n statusInformationText: HighContrastLightSemanticColors.text.body,\n statusInformationIcon: HighContrastLightSemanticColors.statusBar.icon.information,\n statusLink: HighContrastLightSemanticColors.statusBar.link.rest,\n statusLinkHover: HighContrastLightSemanticColors.statusBar.link.hover,\n statusUpsellBackground: HighContrastLightSemanticColors.statusBar.background.upsell,\n statusUpsellIcon: HighContrastLightSemanticColors.statusBar.icon.upsell,\n statusSuccessBackground: HighContrastLightSemanticColors.statusBar.background.success,\n statusSuccessBorder: HighContrastLightSemanticColors.statusBar.border.okay,\n statusSuccessText: HighContrastLightSemanticColors.text.body,\n statusSuccessIcon: HighContrastLightSemanticColors.statusBar.icon.success,\n statusWarningBackground: HighContrastLightSemanticColors.statusBar.background.warning,\n statusWarningBorder: HighContrastLightSemanticColors.statusBar.border.warning,\n statusWarningText: HighContrastLightSemanticColors.text.body,\n statusWarningIcon: HighContrastLightSemanticColors.statusBar.icon.warning,\n teachingBubbleBackground: HighContrastLightSemanticColors.teachingBubble.rest.background,\n teachingBubbleBorder: HighContrastLightSemanticColors.teachingBubble.rest.border,\n teachingBubblePrimaryButtonHover: HighContrastLightSemanticColors.teachingBubble.hover.primaryButtonBackground,\n teachingBubbleSecondaryBackground: HighContrastLightSemanticColors.teachingBubble.rest.secondaryBackround,\n teachingBubbleText: HighContrastLightSemanticColors.teachingBubble.rest.text,\n textFieldBorderDisabled: HighContrastLightSemanticColors.text.disabled,\n calendarBackground: HighContrastLightSemanticColors.calendar.background,\n calendarTextRest: HighContrastLightSemanticColors.calendar.text.rest,\n calendarTextHover: HighContrastLightSemanticColors.calendar.text.hover,\n calendarTextDisabled: HighContrastLightSemanticColors.calendar.text.disabled,\n calendarTextOutside: HighContrastLightSemanticColors.calendar.text.outside,\n calendarBackgroundBorder: HighContrastLightSemanticColors.calendar.button.border,\n calendarBackgroundSelected: HighContrastLightSemanticColors.calendar.button.selected,\n calendarBackgroundHover: HighContrastLightSemanticColors.calendar.button.hover,\n\n // temporary work around for high contrast themes\n choiceGroupContainerBorder: '1px',\n callOutBorderStyle: 'solid',\n choiceGroupContainerBorderStyle: 'dashed',\n listUnderline: 'underline',\n linkBorderStyle: 'dashed',\n};\n\nexport const AzureThemeHighContrastLight: Theme = createTheme({\n fonts: {\n medium: {\n fontFamily: StyleConstants.fontFamily,\n fontSize: FontSizes.size13,\n },\n large: {\n fontSize: FontSizes.size14,\n },\n },\n palette: {\n themePrimary: HighContrastLightSemanticColors.controlOutlines.accent,\n neutralPrimary: HighContrastLightSemanticColors.text.body,\n neutralDark: HighContrastLightSemanticColors.text.body,\n neutralLight: HighContrastLightSemanticColors.shimmer.secondary, // shimmer elements\n neutralLighter: HighContrastLightSemanticColors.shimmer.primary, // shimmer elements\n neutralLighterAlt: HighContrastLightSemanticColors.item.hover, // nav highlight\n neutralQuaternaryAlt: HighContrastLightSemanticColors.item.select, // expand button on list controls\n neutralSecondary: HighContrastLightSemanticColors.text.label, // persona\n white: HighContrastLightSemanticColors.background, // shimmer elements\n },\n semanticColors: highContrastLightExtendedSemanticColors,\n});\n\nAzureThemeHighContrastLight.components = AzureStyleSettings(AzureThemeHighContrastLight);\n","import { createTheme, Theme } from '@fluentui/react';\nimport { CommonSemanticColors, LightSemanticColors } from './AzureColors';\nimport { IExtendedSemanticColors } from './IExtendedSemanticColors';\nimport { FontSizes } from './AzureType';\nimport * as StyleConstants from './Constants';\nimport { AzureStyleSettings } from './AzureStyleSettings';\n\nconst lightExtendedSemanticColors: Partial = {\n bodyBackground: LightSemanticColors.background,\n bodyDivider: CommonSemanticColors.dividers.lineSeparator,\n bodyText: LightSemanticColors.text.body,\n bodyTextHovered: LightSemanticColors.text.bodyHovered,\n buttonBackground: LightSemanticColors.secondaryButton.rest.background,\n buttonBackgroundChecked: LightSemanticColors.secondaryButton.pressed.background,\n buttonBackgroundCheckedHovered: LightSemanticColors.secondaryButton.hover.background,\n ButtonBackgroundDanger: LightSemanticColors.dangerButton.rest.background,\n ButtonBackgroundDangerHovered: LightSemanticColors.dangerButton.hover.background,\n ButtonBackgroundDangerPressed: LightSemanticColors.dangerButton.pressed.background,\n ButtonBackgroundDangerText: LightSemanticColors.dangerButton.rest.text,\n ButtonBackgroundDangerTextHovered: LightSemanticColors.dangerButton.hover.text,\n buttonBackgroundDisabled: LightSemanticColors.disabledButton.background,\n buttonBackgroundHovered: LightSemanticColors.secondaryButton.hover.background,\n buttonBackgroundPressed: LightSemanticColors.secondaryButton.pressed.background,\n ButtonBackgroundTag: LightSemanticColors.tagButton.rest.background,\n ButtonBackgroundTagHovered: LightSemanticColors.tagButton.hover.background,\n ButtonBackgroundTagPressed: LightSemanticColors.tagButton.pressed.background,\n ButtonBackgroundTagText: LightSemanticColors.tagButton.rest.text,\n ButtonBackgroundTagTextHovered: LightSemanticColors.tagButton.hover.text,\n ButtonBorderDanger: LightSemanticColors.dangerButton.rest.border,\n ButtonBorderDangerHovered: LightSemanticColors.dangerButton.hover.border,\n ButtonBorderDangerPressed: LightSemanticColors.dangerButton.pressed.border,\n ButtonBorderDisabled: LightSemanticColors.disabledButton.background,\n ButtonBorderFocus: LightSemanticColors.secondaryButton.focus.border,\n ButtonBorderTag: LightSemanticColors.tagButton.rest.border,\n ButtonBorderTagHovered: LightSemanticColors.tagButton.hover.border,\n ButtonBorderTagPressed: LightSemanticColors.tagButton.pressed.border,\n buttonText: LightSemanticColors.secondaryButton.rest.text,\n buttonTextChecked: LightSemanticColors.secondaryButton.pressed.text,\n buttonTextCheckedHovered: LightSemanticColors.secondaryButton.hover.border,\n buttonTextDisabled: LightSemanticColors.disabledButton.text,\n buttonTextHovered: LightSemanticColors.secondaryButton.hover.color,\n buttonTextPressed: LightSemanticColors.secondaryButton.pressed.text,\n checkboxBackgroundChecked: LightSemanticColors.checkBox.checked.background,\n checkboxBackgroundHovered: LightSemanticColors.checkBox.checked.hoverBackground,\n checkBoxBorder: LightSemanticColors.checkBox.rest.border,\n checkboxBorderChecked: LightSemanticColors.checkBox.checked.border,\n checkboxBorderCheckedHovered: LightSemanticColors.checkBox.checked.hoverBorder,\n checkBoxCheck: LightSemanticColors.checkBox.rest.check,\n checkBoxCheckedFocus: LightSemanticColors.checkBox.rest.focus,\n checkBoxCheckHover: LightSemanticColors.checkBox.rest.hover,\n checkBoxCheckHoverTest: LightSemanticColors.checkBox.rest.hoverText,\n checkBoxCheckedDisabledBackground: LightSemanticColors.checkBox.disabled.background,\n checkBoxDisabled: LightSemanticColors.checkBox.disabled.border,\n checkBoxIndeterminateBackground: LightSemanticColors.checkBox.rest.check,\n checkBoxIndeterminateDefaultChecked: LightSemanticColors.checkBox.checked.default,\n choiceGroupUncheckedDotHover: LightSemanticColors.choiceGroup.circle.hover,\n choiceGroupFocusBorder: LightSemanticColors.choiceGroup.focus,\n commandBarBorder: LightSemanticColors.commandBar.border,\n dataColor1: LightSemanticColors.dataColor.dataColor1,\n dataColor2: LightSemanticColors.dataColor.dataColor2,\n dataColor3: LightSemanticColors.dataColor.dataColor3,\n dataColor4: LightSemanticColors.dataColor.dataColor4,\n dataColor5: LightSemanticColors.dataColor.dataColor5,\n dataColor6: LightSemanticColors.dataColor.dataColor6,\n dataColor7: LightSemanticColors.dataColor.dataColor7,\n dataColor8: LightSemanticColors.dataColor.dataColor8,\n dataColor9: LightSemanticColors.dataColor.dataColor9,\n dataColor10: LightSemanticColors.dataColor.dataColor10,\n datePickerDisabledBorder: LightSemanticColors.datePicker.disabled.border,\n datePickerSelectionBackground: LightSemanticColors.datePicker.rest.selected,\n datePickerSelectionText: LightSemanticColors.datePicker.rest.text,\n disabledBackground: CommonSemanticColors.backgrounds.disabled,\n disabledBodyText: LightSemanticColors.text.disabled,\n dropdownBackground: LightSemanticColors.dropDown.background.rest,\n dropdownItemHover: LightSemanticColors.dropDown.background.hover,\n dropdownTextHovered: LightSemanticColors.dropDown.text.hovered,\n errorBackground: LightSemanticColors.controlOutlines.error,\n errorText: LightSemanticColors.text.error,\n focusBorder: LightSemanticColors.controlOutlines.accent,\n inputBackground: LightSemanticColors.background,\n inputBorder: LightSemanticColors.secondaryButton.rest.border,\n inputBorderHovered: LightSemanticColors.controlOutlines.hover,\n inputBorderPressed: LightSemanticColors.secondaryButton.pressed.border,\n inputPlaceholderText: LightSemanticColors.text.placeholder,\n inputText: LightSemanticColors.text.value,\n link: LightSemanticColors.text.hyperlink,\n linkHovered: LightSemanticColors.text.hyperlinkHovered,\n listBackground: LightSemanticColors.background,\n listHeaderBackgroundPressed: LightSemanticColors.item.hover,\n listItemBackgroundChecked: LightSemanticColors.item.select,\n listItemBackgroundCheckedHovered: LightSemanticColors.item.select,\n listItemBackgroundHovered: LightSemanticColors.detailsRow.hoveredBackground,\n listItemBackgroundSelected: LightSemanticColors.item.select,\n listItemBackgroundSelectedHovered: LightSemanticColors.item.selectHovered,\n listLinkHovered: LightSemanticColors.detailsRow.hoveredLink,\n listLinkRowHovered: LightSemanticColors.detailsRow.hoveredRowLink,\n listLinkRowSelected: LightSemanticColors.detailsRow.selectedLink,\n listLinkRowSelectedHovered: LightSemanticColors.detailsRow.selectedHoveredLink,\n listText: LightSemanticColors.text.body,\n menuItemBackgroundHovered: LightSemanticColors.item.hover,\n menuItemBackgroundPressed: LightSemanticColors.item.select,\n noDataColor1: LightSemanticColors.dataColor.noData1,\n noData2Color: LightSemanticColors.dataColor.noData2,\n primaryButtonBackground: LightSemanticColors.primaryButton.rest.background,\n primaryButtonBackgroundDisabled: LightSemanticColors.disabledButton.background,\n primaryButtonBackgroundHovered: LightSemanticColors.primaryButton.hover.background,\n primaryButtonBackgroundPressed: LightSemanticColors.primaryButton.pressed.background,\n primaryButtonBorder: LightSemanticColors.primaryButton.rest.border,\n primaryButtonBorderDisabled: LightSemanticColors.primaryButton.disabled.border,\n primaryButtonText: LightSemanticColors.primaryButton.rest.text,\n primaryButtonTextDisabled: LightSemanticColors.disabledButton.text,\n primaryButtonTextFocused: LightSemanticColors.primaryButton.focus.text,\n primaryButtonTextHovered: LightSemanticColors.primaryButton.hover.text,\n primaryButtonTextPressed: LightSemanticColors.primaryButton.pressed.text,\n primaryCompoundButtonBorder: LightSemanticColors.primaryButton.rest.background,\n radioButtonPillBorderDisabled: LightSemanticColors.radioButton.circle.borderDisabled,\n radioButtonPillCheckedHover: LightSemanticColors.radioButton.pill.checkedHover,\n radioButtonPillUncheckedDisabled: LightSemanticColors.radioButton.pill.uncheckedDisabled,\n radioButtonPillUncheckedHover: LightSemanticColors.radioButton.pill.uncheckedHover,\n radioButtonPillDisabled: LightSemanticColors.radioButton.pill.disabled,\n radioButtonThumbUncheckedDisabled: LightSemanticColors.radioButton.pill.disabled,\n radioButtonThumbCheckedDisabled: LightSemanticColors.radioButton.circle.checkedDisabled,\n rowBorder: LightSemanticColors.detailsRow.border,\n rowFocus: LightSemanticColors.detailsRow.focus,\n tabHover: LightSemanticColors.tabs.hover,\n variantBorder: CommonSemanticColors.dividers.lineSeparator,\n // extended\n commandBarButtonAfterColor: LightSemanticColors.commandBar.button.focus.borderColor,\n commandBarButtonBackgroundHover: LightSemanticColors.commandBar.button.hover.background,\n commandBarButtonBackgroundSelected: LightSemanticColors.commandBar.button.selected.background,\n commandBarButtonBackgroundSelectedHover: LightSemanticColors.commandBar.button.selectedHover.background,\n commandBarButtonIconHover: LightSemanticColors.commandBar.button.hover.icon,\n commandBarButtonIconSelected: LightSemanticColors.commandBar.button.selected.icon,\n commandBarButtonText: LightSemanticColors.commandBar.button.root.color,\n commandBarButtonTextDisabled: LightSemanticColors.commandBar.button.disabled.color,\n commandBarButtonTextHover: LightSemanticColors.commandBar.button.hover.color,\n controlAccent: LightSemanticColors.controlOutlines.accent,\n controlBackground: LightSemanticColors.controlOutlines.background,\n controlFocus: LightSemanticColors.controlOutlines.focus,\n controlOutline: LightSemanticColors.controlOutlines.rest,\n controlOutlineDisabled: LightSemanticColors.controlOutlines.disabled,\n controlOutlineHovered: LightSemanticColors.controlOutlines.hover,\n iconButtonFill: LightSemanticColors.primaryButton.rest.background,\n iconButtonFillHovered: LightSemanticColors.primaryButton.hover.background,\n labelText: LightSemanticColors.text.label,\n sliderActiveBackground: LightSemanticColors.slider.activeBackground,\n sliderInActiveHover: LightSemanticColors.slider.inactiveBackgroundHovered,\n sliderActiveHover: LightSemanticColors.slider.activeBackgroundHovered,\n sliderActivePressed: LightSemanticColors.slider.activeBackgroundPressed,\n sliderDisabledActiveBackground: LightSemanticColors.slider.activeDisabledBackground,\n sliderDisabledInActiveBackground: LightSemanticColors.slider.inactiveDisabledBackground,\n statusDefaultBackground: LightSemanticColors.statusBar.background.information,\n statusDefaultBorder: LightSemanticColors.statusBar.border.default,\n statusDisabledIcon: LightSemanticColors.statusBar.icon.disabled,\n statusErrorBackground: LightSemanticColors.statusBar.background.error,\n statusErrorBorder: LightSemanticColors.statusBar.border.error,\n statusErrorText: LightSemanticColors.text.body,\n statusErrorIcon: LightSemanticColors.statusBar.icon.error,\n statusInformationBackground: LightSemanticColors.statusBar.background.information,\n statusInformationText: LightSemanticColors.text.body,\n statusInformationIcon: LightSemanticColors.statusBar.icon.information,\n statusSuccessBackground: LightSemanticColors.statusBar.background.success,\n statusSuccessBorder: LightSemanticColors.statusBar.border.okay,\n statusSuccessText: LightSemanticColors.text.body,\n statusSuccessIcon: LightSemanticColors.statusBar.icon.success,\n statusLink: LightSemanticColors.statusBar.link.rest,\n statusLinkHover: LightSemanticColors.statusBar.link.hover,\n statusUpsellBackground: LightSemanticColors.statusBar.background.upsell,\n statusUpsellIcon: LightSemanticColors.statusBar.icon.upsell,\n statusWarningBackground: LightSemanticColors.statusBar.background.warning,\n statusWarningBorder: LightSemanticColors.statusBar.border.warning,\n statusWarningText: LightSemanticColors.text.body,\n statusWarningIcon: LightSemanticColors.statusBar.icon.warning,\n teachingBubbleBackground: LightSemanticColors.teachingBubble.rest.background,\n teachingBubbleBorder: LightSemanticColors.teachingBubble.rest.border,\n teachingBubblePrimaryButtonHover: LightSemanticColors.teachingBubble.hover.primaryButtonBackground,\n teachingBubbleSecondaryBackground: LightSemanticColors.teachingBubble.rest.secondaryBackround,\n teachingBubbleText: LightSemanticColors.teachingBubble.rest.text,\n textFieldBorderDisabled: LightSemanticColors.disabledButton.background,\n calendarBackground: LightSemanticColors.calendar.background,\n calendarTextRest: LightSemanticColors.calendar.text.rest,\n calendarTextHover: LightSemanticColors.calendar.text.hover,\n calendarTextDisabled: LightSemanticColors.calendar.text.disabled,\n calendarTextOutside: LightSemanticColors.calendar.text.outside,\n calendarBackgroundBorder: LightSemanticColors.calendar.button.border,\n calendarBackgroundSelected: LightSemanticColors.calendar.button.selected,\n calendarBackgroundHover: LightSemanticColors.calendar.button.hover,\n\n // temporary work around for high contrast themes\n choiceGroupContainerBorder: '0px',\n callOutBorderStyle: 'solid',\n choiceGroupContainerBorderStyle: 'solid',\n listUnderline: 'none',\n linkBorderStyle: 'dashed',\n};\n\nexport const AzureThemeLight: Theme = createTheme({\n fonts: {\n medium: {\n fontFamily: StyleConstants.fontFamily,\n fontSize: FontSizes.size13,\n },\n large: {\n fontSize: FontSizes.size14,\n },\n },\n palette: {\n themePrimary: LightSemanticColors.controlOutlines.accent,\n neutralPrimary: LightSemanticColors.text.body,\n neutralDark: LightSemanticColors.text.body,\n neutralLight: LightSemanticColors.shimmer.secondary, // shimmer elements\n neutralLighter: LightSemanticColors.shimmer.primary, // shimmer elements\n neutralLighterAlt: LightSemanticColors.item.hover, // nav highlight\n neutralQuaternaryAlt: LightSemanticColors.item.select, // expand button on list controls\n neutralSecondary: LightSemanticColors.text.label, // persona\n white: LightSemanticColors.background, // shimmer elements\n },\n semanticColors: lightExtendedSemanticColors,\n});\n\nAzureThemeLight.components = AzureStyleSettings(AzureThemeLight);\n","export namespace FontSizes {\n export const size10 = '10px';\n export const size12 = '12px';\n export const size13 = '13px';\n export const size14 = '14px';\n export const size16 = '16px';\n export const size18 = '18px';\n export const size20 = '20px';\n export const size24 = '24px';\n export const size28 = '28px';\n export const size32 = '32px';\n export const size42 = '42px';\n export const size68 = '68px';\n}\n","import {\n ScreenWidthMaxMedium,\n ScreenWidthMaxSmall,\n ScreenWidthMinMedium,\n getScreenSelector,\n} from '@fluentui/react/lib/Styling';\n\nexport const borderNone = 'none';\nexport const borderRadius = '2px';\nexport const borderSolid = 'solid';\nexport const borderWidth = '1px';\nexport const buttonPadding = '0px 16px';\nexport const calendarHeightInner = '22px';\nexport const choiceFieldHeight = '18px';\nexport const choiceFieldCircle = '10px';\nexport const commandBarHeight = '36px';\nexport const dropDownItemHeight = '32px';\nexport const fontFamily =\n // eslint-disable-next-line @fluentui/max-len\n 'Segoe UI, \"Segoe UI Web (West European)\", \"Segoe UI\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\",sans-serif';\nexport const fontWeightRegular = '400';\nexport const inputControlHeight = '24px';\nexport const inputControlHeightInner = '20px';\nexport const inputControlPadding = '12px';\nexport const MinimumScreenSelector = getScreenSelector(0, ScreenWidthMaxSmall);\nexport const MediumScreenSelector = getScreenSelector(ScreenWidthMinMedium, ScreenWidthMaxMedium);\nexport const spinButtonArrowHeight = '14px';\nexport const textAlignCenter = 'center';\nexport const transparent = 'transparent';\n","/**\n * The days of the week\n * {@docCategory DateTimeUtilities}\n */\nexport enum DayOfWeek {\n Sunday = 0,\n Monday = 1,\n Tuesday = 2,\n Wednesday = 3,\n Thursday = 4,\n Friday = 5,\n Saturday = 6,\n}\n\n/**\n * The months\n * {@docCategory DateTimeUtilities}\n */\nexport enum MonthOfYear {\n January = 0,\n February = 1,\n March = 2,\n April = 3,\n May = 4,\n June = 5,\n July = 6,\n August = 7,\n September = 8,\n October = 9,\n November = 10,\n December = 11,\n}\n\n/**\n * First week of the year settings types\n * {@docCategory DateTimeUtilities}\n */\nexport enum FirstWeekOfYear {\n FirstDay = 0,\n FirstFullWeek = 1,\n FirstFourDayWeek = 2,\n}\n\n/**\n * The supported date range types\n * {@docCategory DateTimeUtilities}\n */\nexport enum DateRangeType {\n Day = 0,\n Week = 1,\n Month = 2,\n WorkWeek = 3,\n}\n\nexport const DAYS_IN_WEEK = 7;\n","import { getParent } from './getParent';\n/**\n * Determines whether or not a parent element contains a given child element.\n * If `allowVirtualParents` is true, this method may return `true` if the child\n * has the parent in its virtual element hierarchy.\n *\n * @public\n */\nexport function elementContains(\n parent: HTMLElement | null,\n child: HTMLElement | null,\n allowVirtualParents: boolean = true,\n): boolean {\n let isContained = false;\n\n if (parent && child) {\n if (allowVirtualParents) {\n if (parent === child) {\n isContained = true;\n } else {\n isContained = false;\n\n while (child) {\n const nextParent: HTMLElement | null = getParent(child);\n\n if (nextParent === parent) {\n isContained = true;\n break;\n }\n\n child = nextParent;\n }\n }\n } else if (parent.contains) {\n isContained = parent.contains(child);\n }\n }\n\n return isContained;\n}\n","import { getParent } from './getParent';\n/**\n * Finds the first parent element where the matchFunction returns true\n * @param element - element to start searching at\n * @param matchFunction - the function that determines if the element is a match\n * @returns the matched element or null no match was found\n */\nexport function findElementRecursive(\n element: HTMLElement | null,\n matchFunction: (element: HTMLElement) => boolean,\n): HTMLElement | null {\n if (!element || element === document.body) {\n return null;\n }\n return matchFunction(element) ? element : findElementRecursive(getParent(element), matchFunction);\n}\n","import { getVirtualParent } from './getVirtualParent';\n/**\n * Gets the element which is the parent of a given element.\n * If `allowVirtuaParents` is `true`, this method prefers the virtual parent over\n * real DOM parent when present.\n *\n * @public\n */\nexport function getParent(child: HTMLElement, allowVirtualParents: boolean = true): HTMLElement | null {\n return (\n child &&\n ((allowVirtualParents && getVirtualParent(child)) || (child.parentNode && (child.parentNode as HTMLElement)))\n );\n}\n","import { isVirtualElement } from './isVirtualElement';\n/**\n * Gets the virtual parent given the child element, if it exists.\n *\n * @public\n */\nexport function getVirtualParent(child: HTMLElement): HTMLElement | undefined {\n let parent: HTMLElement | undefined;\n if (child && isVirtualElement(child)) {\n parent = child._virtual.parent;\n }\n return parent;\n}\n","import { IVirtualElement } from './IVirtualElement';\n/**\n * Determines whether or not an element has the virtual hierarchy extension.\n *\n * @public\n */\nexport function isVirtualElement(element: HTMLElement | IVirtualElement): element is IVirtualElement {\n return element && !!(element)._virtual;\n}\n","import { findElementRecursive } from './findElementRecursive';\nimport { DATA_PORTAL_ATTRIBUTE } from './setPortalAttribute';\n\n/**\n * Determine whether a target is within a portal from perspective of root or optional parent.\n * This function only works against portal components that use the setPortalAttribute function.\n * If both parent and child are within the same portal this function will return false.\n * @param target - Element to query portal containment status of.\n * @param parent - Optional parent perspective. Search for containing portal stops at parent\n * (or root if parent is undefined or invalid.)\n */\nexport function portalContainsElement(target: HTMLElement, parent?: HTMLElement): boolean {\n const elementMatch = findElementRecursive(\n target,\n (testElement: HTMLElement) => parent === testElement || testElement.hasAttribute(DATA_PORTAL_ATTRIBUTE),\n );\n return elementMatch !== null && elementMatch.hasAttribute(DATA_PORTAL_ATTRIBUTE);\n}\n","export const DATA_PORTAL_ATTRIBUTE = 'data-portal-element';\n\n/**\n * Identify element as a portal by setting an attribute.\n * @param element - Element to mark as a portal.\n */\nexport function setPortalAttribute(element: HTMLElement): void {\n element.setAttribute(DATA_PORTAL_ATTRIBUTE, 'true');\n}\n","// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport { IIconOptions, IIconSubset, registerIcons } from '@fluentui/style-utilities';\n\nexport function initializeIcons(baseUrl: string = '', options?: IIconOptions): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none',\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons\"`,\n src: `url('${baseUrl}fabric-icons-a13498cf.woff') format('woff')`,\n },\n icons: {\n GlobalNavButton: '\\uE700',\n ChevronDown: '\\uE70D',\n ChevronUp: '\\uE70E',\n Edit: '\\uE70F',\n Add: '\\uE710',\n Cancel: '\\uE711',\n More: '\\uE712',\n Settings: '\\uE713',\n Mail: '\\uE715',\n Filter: '\\uE71C',\n Search: '\\uE721',\n Share: '\\uE72D',\n BlockedSite: '\\uE72F',\n FavoriteStar: '\\uE734',\n FavoriteStarFill: '\\uE735',\n CheckMark: '\\uE73E',\n Delete: '\\uE74D',\n ChevronLeft: '\\uE76B',\n ChevronRight: '\\uE76C',\n Calendar: '\\uE787',\n Megaphone: '\\uE789',\n Undo: '\\uE7A7',\n Flag: '\\uE7C1',\n Page: '\\uE7C3',\n Pinned: '\\uE840',\n View: '\\uE890',\n Clear: '\\uE894',\n Download: '\\uE896',\n Upload: '\\uE898',\n Folder: '\\uE8B7',\n Sort: '\\uE8CB',\n AlignRight: '\\uE8E2',\n AlignLeft: '\\uE8E4',\n Tag: '\\uE8EC',\n AddFriend: '\\uE8FA',\n Info: '\\uE946',\n SortLines: '\\uE9D0',\n List: '\\uEA37',\n CircleRing: '\\uEA3A',\n Heart: '\\uEB51',\n HeartFill: '\\uEB52',\n Tiles: '\\uECA5',\n Embed: '\\uECCE',\n Glimmer: '\\uECF4',\n Ascending: '\\uEDC0',\n Descending: '\\uEDC1',\n SortUp: '\\uEE68',\n SortDown: '\\uEE69',\n SyncToPC: '\\uEE6E',\n LargeGrid: '\\uEECB',\n SkypeCheck: '\\uEF80',\n SkypeClock: '\\uEF81',\n SkypeMinus: '\\uEF82',\n ClearFilter: '\\uEF8F',\n Flow: '\\uEF90',\n StatusCircleCheckmark: '\\uF13E',\n MoreVertical: '\\uF2BC',\n },\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-0\"`,\n src: `url('${baseUrl}fabric-icons-0-467ee27f.woff') format('woff')`\n },\n icons: {\n 'PageLink': '\\uE302',\n 'CommentSolid': '\\uE30E',\n 'ChangeEntitlements': '\\uE310',\n 'Installation': '\\uE311',\n 'WebAppBuilderModule': '\\uE313',\n 'WebAppBuilderFragment': '\\uE314',\n 'WebAppBuilderSlot': '\\uE315',\n 'BullseyeTargetEdit': '\\uE319',\n 'WebAppBuilderFragmentCreate': '\\uE31B',\n 'PageData': '\\uE31C',\n 'PageHeaderEdit': '\\uE31D',\n 'ProductList': '\\uE31E',\n 'UnpublishContent': '\\uE31F',\n 'DependencyAdd': '\\uE344',\n 'DependencyRemove': '\\uE345',\n 'EntitlementPolicy': '\\uE346',\n 'EntitlementRedemption': '\\uE347',\n 'SchoolDataSyncLogo': '\\uE34C',\n 'PinSolid12': '\\uE352',\n 'PinSolidOff12': '\\uE353',\n 'AddLink': '\\uE35E',\n 'SharepointAppIcon16': '\\uE365',\n 'DataflowsLink': '\\uE366',\n 'TimePicker': '\\uE367',\n 'UserWarning': '\\uE368',\n 'ComplianceAudit': '\\uE369',\n 'InternetSharing': '\\uE704',\n 'Brightness': '\\uE706',\n 'MapPin': '\\uE707',\n 'Airplane': '\\uE709',\n 'Tablet': '\\uE70A',\n 'QuickNote': '\\uE70B',\n 'Video': '\\uE714',\n 'People': '\\uE716',\n 'Phone': '\\uE717',\n 'Pin': '\\uE718',\n 'Shop': '\\uE719',\n 'Stop': '\\uE71A',\n 'Link': '\\uE71B',\n 'AllApps': '\\uE71D',\n 'Zoom': '\\uE71E',\n 'ZoomOut': '\\uE71F',\n 'Microphone': '\\uE720',\n 'Camera': '\\uE722',\n 'Attach': '\\uE723',\n 'Send': '\\uE724',\n 'FavoriteList': '\\uE728',\n 'PageSolid': '\\uE729',\n 'Forward': '\\uE72A',\n 'Back': '\\uE72B',\n 'Refresh': '\\uE72C',\n 'Lock': '\\uE72E',\n 'ReportHacked': '\\uE730',\n 'EMI': '\\uE731',\n 'MiniLink': '\\uE732',\n 'Blocked': '\\uE733',\n 'ReadingMode': '\\uE736',\n 'Favicon': '\\uE737',\n 'Remove': '\\uE738',\n 'Checkbox': '\\uE739',\n 'CheckboxComposite': '\\uE73A',\n 'CheckboxFill': '\\uE73B',\n 'CheckboxIndeterminate': '\\uE73C',\n 'CheckboxCompositeReversed': '\\uE73D',\n 'BackToWindow': '\\uE73F',\n 'FullScreen': '\\uE740',\n 'Print': '\\uE749',\n 'Up': '\\uE74A',\n 'Down': '\\uE74B',\n 'OEM': '\\uE74C',\n 'Save': '\\uE74E',\n 'ReturnKey': '\\uE751',\n 'Cloud': '\\uE753',\n 'Flashlight': '\\uE754',\n 'CommandPrompt': '\\uE756',\n 'Sad': '\\uE757',\n 'RealEstate': '\\uE758',\n 'SIPMove': '\\uE759',\n 'EraseTool': '\\uE75C',\n 'GripperTool': '\\uE75E',\n 'Dialpad': '\\uE75F',\n 'PageLeft': '\\uE760',\n 'PageRight': '\\uE761',\n 'MultiSelect': '\\uE762',\n 'KeyboardClassic': '\\uE765',\n 'Play': '\\uE768',\n 'Pause': '\\uE769',\n 'InkingTool': '\\uE76D',\n 'Emoji2': '\\uE76E',\n 'GripperBarHorizontal': '\\uE76F',\n 'System': '\\uE770',\n 'Personalize': '\\uE771',\n 'SearchAndApps': '\\uE773',\n 'Globe': '\\uE774',\n 'EaseOfAccess': '\\uE776',\n 'ContactInfo': '\\uE779',\n 'Unpin': '\\uE77A',\n 'Contact': '\\uE77B',\n 'Memo': '\\uE77C',\n 'IncomingCall': '\\uE77E'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-1\"`,\n src: `url('${baseUrl}fabric-icons-1-4d521695.woff') format('woff')`\n },\n icons: {\n 'Paste': '\\uE77F',\n 'WindowsLogo': '\\uE782',\n 'Error': '\\uE783',\n 'GripperBarVertical': '\\uE784',\n 'Unlock': '\\uE785',\n 'Slideshow': '\\uE786',\n 'Trim': '\\uE78A',\n 'AutoEnhanceOn': '\\uE78D',\n 'AutoEnhanceOff': '\\uE78E',\n 'Color': '\\uE790',\n 'SaveAs': '\\uE792',\n 'Light': '\\uE793',\n 'Filters': '\\uE795',\n 'AspectRatio': '\\uE799',\n 'Contrast': '\\uE7A1',\n 'Redo': '\\uE7A6',\n 'Crop': '\\uE7A8',\n 'PhotoCollection': '\\uE7AA',\n 'Album': '\\uE7AB',\n 'Rotate': '\\uE7AD',\n 'PanoIndicator': '\\uE7B0',\n 'Translate': '\\uE7B2',\n 'RedEye': '\\uE7B3',\n 'ViewOriginal': '\\uE7B4',\n 'ThumbnailView': '\\uE7B6',\n 'Package': '\\uE7B8',\n 'Telemarketer': '\\uE7B9',\n 'Warning': '\\uE7BA',\n 'Financial': '\\uE7BB',\n 'Education': '\\uE7BE',\n 'ShoppingCart': '\\uE7BF',\n 'Train': '\\uE7C0',\n 'Move': '\\uE7C2',\n 'TouchPointer': '\\uE7C9',\n 'Merge': '\\uE7D5',\n 'TurnRight': '\\uE7DB',\n 'Ferry': '\\uE7E3',\n 'Highlight': '\\uE7E6',\n 'PowerButton': '\\uE7E8',\n 'Tab': '\\uE7E9',\n 'Admin': '\\uE7EF',\n 'TVMonitor': '\\uE7F4',\n 'Speakers': '\\uE7F5',\n 'Game': '\\uE7FC',\n 'HorizontalTabKey': '\\uE7FD',\n 'UnstackSelected': '\\uE7FE',\n 'StackIndicator': '\\uE7FF',\n 'Nav2DMapView': '\\uE800',\n 'StreetsideSplitMinimize': '\\uE802',\n 'Car': '\\uE804',\n 'Bus': '\\uE806',\n 'EatDrink': '\\uE807',\n 'SeeDo': '\\uE808',\n 'LocationCircle': '\\uE80E',\n 'Home': '\\uE80F',\n 'SwitcherStartEnd': '\\uE810',\n 'ParkingLocation': '\\uE811',\n 'IncidentTriangle': '\\uE814',\n 'Touch': '\\uE815',\n 'MapDirections': '\\uE816',\n 'CaretHollow': '\\uE817',\n 'CaretSolid': '\\uE818',\n 'History': '\\uE81C',\n 'Location': '\\uE81D',\n 'MapLayers': '\\uE81E',\n 'SearchNearby': '\\uE820',\n 'Work': '\\uE821',\n 'Recent': '\\uE823',\n 'Hotel': '\\uE824',\n 'Bank': '\\uE825',\n 'LocationDot': '\\uE827',\n 'Dictionary': '\\uE82D',\n 'ChromeBack': '\\uE830',\n 'FolderOpen': '\\uE838',\n 'PinnedFill': '\\uE842',\n 'RevToggleKey': '\\uE845',\n 'USB': '\\uE88E',\n 'Previous': '\\uE892',\n 'Next': '\\uE893',\n 'Sync': '\\uE895',\n 'Help': '\\uE897',\n 'Emoji': '\\uE899',\n 'MailForward': '\\uE89C',\n 'ClosePane': '\\uE89F',\n 'OpenPane': '\\uE8A0',\n 'PreviewLink': '\\uE8A1',\n 'ZoomIn': '\\uE8A3',\n 'Bookmarks': '\\uE8A4',\n 'Document': '\\uE8A5',\n 'ProtectedDocument': '\\uE8A6',\n 'OpenInNewWindow': '\\uE8A7',\n 'MailFill': '\\uE8A8',\n 'ViewAll': '\\uE8A9',\n 'Switch': '\\uE8AB',\n 'Rename': '\\uE8AC',\n 'Go': '\\uE8AD',\n 'Remote': '\\uE8AF',\n 'SelectAll': '\\uE8B3',\n 'Orientation': '\\uE8B4',\n 'Import': '\\uE8B5'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-2\"`,\n src: `url('${baseUrl}fabric-icons-2-63c99abf.woff') format('woff')`\n },\n icons: {\n 'Picture': '\\uE8B9',\n 'ChromeClose': '\\uE8BB',\n 'ShowResults': '\\uE8BC',\n 'Message': '\\uE8BD',\n 'CalendarDay': '\\uE8BF',\n 'CalendarWeek': '\\uE8C0',\n 'MailReplyAll': '\\uE8C2',\n 'Read': '\\uE8C3',\n 'Cut': '\\uE8C6',\n 'PaymentCard': '\\uE8C7',\n 'Copy': '\\uE8C8',\n 'Important': '\\uE8C9',\n 'MailReply': '\\uE8CA',\n 'GotoToday': '\\uE8D1',\n 'Font': '\\uE8D2',\n 'FontColor': '\\uE8D3',\n 'FolderFill': '\\uE8D5',\n 'Permissions': '\\uE8D7',\n 'DisableUpdates': '\\uE8D8',\n 'Unfavorite': '\\uE8D9',\n 'Italic': '\\uE8DB',\n 'Underline': '\\uE8DC',\n 'Bold': '\\uE8DD',\n 'MoveToFolder': '\\uE8DE',\n 'Dislike': '\\uE8E0',\n 'Like': '\\uE8E1',\n 'AlignCenter': '\\uE8E3',\n 'OpenFile': '\\uE8E5',\n 'ClearSelection': '\\uE8E6',\n 'FontDecrease': '\\uE8E7',\n 'FontIncrease': '\\uE8E8',\n 'FontSize': '\\uE8E9',\n 'CellPhone': '\\uE8EA',\n 'RepeatOne': '\\uE8ED',\n 'RepeatAll': '\\uE8EE',\n 'Calculator': '\\uE8EF',\n 'Library': '\\uE8F1',\n 'PostUpdate': '\\uE8F3',\n 'NewFolder': '\\uE8F4',\n 'CalendarReply': '\\uE8F5',\n 'UnsyncFolder': '\\uE8F6',\n 'SyncFolder': '\\uE8F7',\n 'BlockContact': '\\uE8F8',\n 'Accept': '\\uE8FB',\n 'BulletedList': '\\uE8FD',\n 'Preview': '\\uE8FF',\n 'News': '\\uE900',\n 'Chat': '\\uE901',\n 'Group': '\\uE902',\n 'World': '\\uE909',\n 'Comment': '\\uE90A',\n 'DockLeft': '\\uE90C',\n 'DockRight': '\\uE90D',\n 'Repair': '\\uE90F',\n 'Accounts': '\\uE910',\n 'Street': '\\uE913',\n 'RadioBullet': '\\uE915',\n 'Stopwatch': '\\uE916',\n 'Clock': '\\uE917',\n 'WorldClock': '\\uE918',\n 'AlarmClock': '\\uE919',\n 'Photo': '\\uE91B',\n 'ActionCenter': '\\uE91C',\n 'Hospital': '\\uE91D',\n 'Timer': '\\uE91E',\n 'FullCircleMask': '\\uE91F',\n 'LocationFill': '\\uE920',\n 'ChromeMinimize': '\\uE921',\n 'ChromeRestore': '\\uE923',\n 'Annotation': '\\uE924',\n 'Fingerprint': '\\uE928',\n 'Handwriting': '\\uE929',\n 'ChromeFullScreen': '\\uE92D',\n 'Completed': '\\uE930',\n 'Label': '\\uE932',\n 'FlickDown': '\\uE935',\n 'FlickUp': '\\uE936',\n 'FlickLeft': '\\uE937',\n 'FlickRight': '\\uE938',\n 'MiniExpand': '\\uE93A',\n 'MiniContract': '\\uE93B',\n 'Streaming': '\\uE93E',\n 'MusicInCollection': '\\uE940',\n 'OneDriveLogo': '\\uE941',\n 'CompassNW': '\\uE942',\n 'Code': '\\uE943',\n 'LightningBolt': '\\uE945',\n 'CalculatorMultiply': '\\uE947',\n 'CalculatorAddition': '\\uE948',\n 'CalculatorSubtract': '\\uE949',\n 'CalculatorPercentage': '\\uE94C',\n 'CalculatorEqualTo': '\\uE94E',\n 'PrintfaxPrinterFile': '\\uE956',\n 'StorageOptical': '\\uE958',\n 'Communications': '\\uE95A',\n 'Headset': '\\uE95B',\n 'Health': '\\uE95E',\n 'Webcam2': '\\uE960',\n 'FrontCamera': '\\uE96B',\n 'ChevronUpSmall': '\\uE96D'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-3\"`,\n src: `url('${baseUrl}fabric-icons-3-089e217a.woff') format('woff')`\n },\n icons: {\n 'ChevronDownSmall': '\\uE96E',\n 'ChevronLeftSmall': '\\uE96F',\n 'ChevronRightSmall': '\\uE970',\n 'ChevronUpMed': '\\uE971',\n 'ChevronDownMed': '\\uE972',\n 'ChevronLeftMed': '\\uE973',\n 'ChevronRightMed': '\\uE974',\n 'Devices2': '\\uE975',\n 'PC1': '\\uE977',\n 'PresenceChickletVideo': '\\uE979',\n 'Reply': '\\uE97A',\n 'HalfAlpha': '\\uE97E',\n 'ConstructionCone': '\\uE98F',\n 'DoubleChevronLeftMed': '\\uE991',\n 'Volume0': '\\uE992',\n 'Volume1': '\\uE993',\n 'Volume2': '\\uE994',\n 'Volume3': '\\uE995',\n 'Chart': '\\uE999',\n 'Robot': '\\uE99A',\n 'Manufacturing': '\\uE99C',\n 'LockSolid': '\\uE9A2',\n 'FitPage': '\\uE9A6',\n 'FitWidth': '\\uE9A7',\n 'BidiLtr': '\\uE9AA',\n 'BidiRtl': '\\uE9AB',\n 'RightDoubleQuote': '\\uE9B1',\n 'Sunny': '\\uE9BD',\n 'CloudWeather': '\\uE9BE',\n 'Cloudy': '\\uE9BF',\n 'PartlyCloudyDay': '\\uE9C0',\n 'PartlyCloudyNight': '\\uE9C1',\n 'ClearNight': '\\uE9C2',\n 'RainShowersDay': '\\uE9C3',\n 'Rain': '\\uE9C4',\n 'Thunderstorms': '\\uE9C6',\n 'RainSnow': '\\uE9C7',\n 'Snow': '\\uE9C8',\n 'BlowingSnow': '\\uE9C9',\n 'Frigid': '\\uE9CA',\n 'Fog': '\\uE9CB',\n 'Squalls': '\\uE9CC',\n 'Duststorm': '\\uE9CD',\n 'Unknown': '\\uE9CE',\n 'Precipitation': '\\uE9CF',\n 'Ribbon': '\\uE9D1',\n 'AreaChart': '\\uE9D2',\n 'Assign': '\\uE9D3',\n 'FlowChart': '\\uE9D4',\n 'CheckList': '\\uE9D5',\n 'Diagnostic': '\\uE9D9',\n 'Generate': '\\uE9DA',\n 'LineChart': '\\uE9E6',\n 'Equalizer': '\\uE9E9',\n 'BarChartHorizontal': '\\uE9EB',\n 'BarChartVertical': '\\uE9EC',\n 'Freezing': '\\uE9EF',\n 'FunnelChart': '\\uE9F1',\n 'Processing': '\\uE9F5',\n 'Quantity': '\\uE9F8',\n 'ReportDocument': '\\uE9F9',\n 'StackColumnChart': '\\uE9FC',\n 'SnowShowerDay': '\\uE9FD',\n 'HailDay': '\\uEA00',\n 'WorkFlow': '\\uEA01',\n 'HourGlass': '\\uEA03',\n 'StoreLogoMed20': '\\uEA04',\n 'TimeSheet': '\\uEA05',\n 'TriangleSolid': '\\uEA08',\n 'UpgradeAnalysis': '\\uEA0B',\n 'VideoSolid': '\\uEA0C',\n 'RainShowersNight': '\\uEA0F',\n 'SnowShowerNight': '\\uEA11',\n 'Teamwork': '\\uEA12',\n 'HailNight': '\\uEA13',\n 'PeopleAdd': '\\uEA15',\n 'Glasses': '\\uEA16',\n 'DateTime2': '\\uEA17',\n 'Shield': '\\uEA18',\n 'Header1': '\\uEA19',\n 'PageAdd': '\\uEA1A',\n 'NumberedList': '\\uEA1C',\n 'PowerBILogo': '\\uEA1E',\n 'Info2': '\\uEA1F',\n 'MusicInCollectionFill': '\\uEA36',\n 'Asterisk': '\\uEA38',\n 'ErrorBadge': '\\uEA39',\n 'CircleFill': '\\uEA3B',\n 'Record2': '\\uEA3F',\n 'AllAppsMirrored': '\\uEA40',\n 'BookmarksMirrored': '\\uEA41',\n 'BulletedListMirrored': '\\uEA42',\n 'CaretHollowMirrored': '\\uEA45',\n 'CaretSolidMirrored': '\\uEA46',\n 'ChromeBackMirrored': '\\uEA47',\n 'ClearSelectionMirrored': '\\uEA48',\n 'ClosePaneMirrored': '\\uEA49',\n 'DockLeftMirrored': '\\uEA4C',\n 'DoubleChevronLeftMedMirrored': '\\uEA4D',\n 'GoMirrored': '\\uEA4F'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-4\"`,\n src: `url('${baseUrl}fabric-icons-4-a656cc0a.woff') format('woff')`\n },\n icons: {\n 'HelpMirrored': '\\uEA51',\n 'ImportMirrored': '\\uEA52',\n 'ImportAllMirrored': '\\uEA53',\n 'ListMirrored': '\\uEA55',\n 'MailForwardMirrored': '\\uEA56',\n 'MailReplyMirrored': '\\uEA57',\n 'MailReplyAllMirrored': '\\uEA58',\n 'MiniContractMirrored': '\\uEA59',\n 'MiniExpandMirrored': '\\uEA5A',\n 'OpenPaneMirrored': '\\uEA5B',\n 'ParkingLocationMirrored': '\\uEA5E',\n 'SendMirrored': '\\uEA63',\n 'ShowResultsMirrored': '\\uEA65',\n 'ThumbnailViewMirrored': '\\uEA67',\n 'Media': '\\uEA69',\n 'Devices3': '\\uEA6C',\n 'Focus': '\\uEA6F',\n 'VideoLightOff': '\\uEA74',\n 'Lightbulb': '\\uEA80',\n 'StatusTriangle': '\\uEA82',\n 'VolumeDisabled': '\\uEA85',\n 'Puzzle': '\\uEA86',\n 'EmojiNeutral': '\\uEA87',\n 'EmojiDisappointed': '\\uEA88',\n 'HomeSolid': '\\uEA8A',\n 'Ringer': '\\uEA8F',\n 'PDF': '\\uEA90',\n 'HeartBroken': '\\uEA92',\n 'StoreLogo16': '\\uEA96',\n 'MultiSelectMirrored': '\\uEA98',\n 'Broom': '\\uEA99',\n 'AddToShoppingList': '\\uEA9A',\n 'Cocktails': '\\uEA9D',\n 'Wines': '\\uEABF',\n 'Articles': '\\uEAC1',\n 'Cycling': '\\uEAC7',\n 'DietPlanNotebook': '\\uEAC8',\n 'Pill': '\\uEACB',\n 'ExerciseTracker': '\\uEACC',\n 'HandsFree': '\\uEAD0',\n 'Medical': '\\uEAD4',\n 'Running': '\\uEADA',\n 'Weights': '\\uEADB',\n 'Trackers': '\\uEADF',\n 'AddNotes': '\\uEAE3',\n 'AllCurrency': '\\uEAE4',\n 'BarChart4': '\\uEAE7',\n 'CirclePlus': '\\uEAEE',\n 'Coffee': '\\uEAEF',\n 'Cotton': '\\uEAF3',\n 'Market': '\\uEAFC',\n 'Money': '\\uEAFD',\n 'PieDouble': '\\uEB04',\n 'PieSingle': '\\uEB05',\n 'RemoveFilter': '\\uEB08',\n 'Savings': '\\uEB0B',\n 'Sell': '\\uEB0C',\n 'StockDown': '\\uEB0F',\n 'StockUp': '\\uEB11',\n 'Lamp': '\\uEB19',\n 'Source': '\\uEB1B',\n 'MSNVideos': '\\uEB1C',\n 'Cricket': '\\uEB1E',\n 'Golf': '\\uEB1F',\n 'Baseball': '\\uEB20',\n 'Soccer': '\\uEB21',\n 'MoreSports': '\\uEB22',\n 'AutoRacing': '\\uEB24',\n 'CollegeHoops': '\\uEB25',\n 'CollegeFootball': '\\uEB26',\n 'ProFootball': '\\uEB27',\n 'ProHockey': '\\uEB28',\n 'Rugby': '\\uEB2D',\n 'SubstitutionsIn': '\\uEB31',\n 'Tennis': '\\uEB33',\n 'Arrivals': '\\uEB34',\n 'Design': '\\uEB3C',\n 'Website': '\\uEB41',\n 'Drop': '\\uEB42',\n 'HistoricalWeather': '\\uEB43',\n 'SkiResorts': '\\uEB45',\n 'Snowflake': '\\uEB46',\n 'BusSolid': '\\uEB47',\n 'FerrySolid': '\\uEB48',\n 'AirplaneSolid': '\\uEB4C',\n 'TrainSolid': '\\uEB4D',\n 'Ticket': '\\uEB54',\n 'WifiWarning4': '\\uEB63',\n 'Devices4': '\\uEB66',\n 'AzureLogo': '\\uEB6A',\n 'BingLogo': '\\uEB6B',\n 'MSNLogo': '\\uEB6C',\n 'OutlookLogoInverse': '\\uEB6D',\n 'OfficeLogo': '\\uEB6E',\n 'SkypeLogo': '\\uEB6F',\n 'Door': '\\uEB75',\n 'EditMirrored': '\\uEB7E',\n 'GiftCard': '\\uEB8E',\n 'DoubleBookmark': '\\uEB8F',\n 'StatusErrorFull': '\\uEB90'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-5\"`,\n src: `url('${baseUrl}fabric-icons-5-f95ba260.woff') format('woff')`\n },\n icons: {\n 'Certificate': '\\uEB95',\n 'FastForward': '\\uEB9D',\n 'Rewind': '\\uEB9E',\n 'Photo2': '\\uEB9F',\n 'OpenSource': '\\uEBC2',\n 'Movers': '\\uEBCD',\n 'CloudDownload': '\\uEBD3',\n 'Family': '\\uEBDA',\n 'WindDirection': '\\uEBE6',\n 'Bug': '\\uEBE8',\n 'SiteScan': '\\uEBEC',\n 'BrowserScreenShot': '\\uEBED',\n 'F12DevTools': '\\uEBEE',\n 'CSS': '\\uEBEF',\n 'JS': '\\uEBF0',\n 'DeliveryTruck': '\\uEBF4',\n 'ReminderPerson': '\\uEBF7',\n 'ReminderGroup': '\\uEBF8',\n 'ReminderTime': '\\uEBF9',\n 'TabletMode': '\\uEBFC',\n 'Umbrella': '\\uEC04',\n 'NetworkTower': '\\uEC05',\n 'CityNext': '\\uEC06',\n 'CityNext2': '\\uEC07',\n 'Section': '\\uEC0C',\n 'OneNoteLogoInverse': '\\uEC0D',\n 'ToggleFilled': '\\uEC11',\n 'ToggleBorder': '\\uEC12',\n 'SliderThumb': '\\uEC13',\n 'ToggleThumb': '\\uEC14',\n 'Documentation': '\\uEC17',\n 'Badge': '\\uEC1B',\n 'Giftbox': '\\uEC1F',\n 'VisualStudioLogo': '\\uEC22',\n 'HomeGroup': '\\uEC26',\n 'ExcelLogoInverse': '\\uEC28',\n 'WordLogoInverse': '\\uEC29',\n 'PowerPointLogoInverse': '\\uEC2A',\n 'Cafe': '\\uEC32',\n 'SpeedHigh': '\\uEC4A',\n 'Commitments': '\\uEC4D',\n 'ThisPC': '\\uEC4E',\n 'MusicNote': '\\uEC4F',\n 'MicOff': '\\uEC54',\n 'PlaybackRate1x': '\\uEC57',\n 'EdgeLogo': '\\uEC60',\n 'CompletedSolid': '\\uEC61',\n 'AlbumRemove': '\\uEC62',\n 'MessageFill': '\\uEC70',\n 'TabletSelected': '\\uEC74',\n 'MobileSelected': '\\uEC75',\n 'LaptopSelected': '\\uEC76',\n 'TVMonitorSelected': '\\uEC77',\n 'DeveloperTools': '\\uEC7A',\n 'Shapes': '\\uEC7C',\n 'InsertTextBox': '\\uEC7D',\n 'LowerBrightness': '\\uEC8A',\n 'WebComponents': '\\uEC8B',\n 'OfflineStorage': '\\uEC8C',\n 'DOM': '\\uEC8D',\n 'CloudUpload': '\\uEC8E',\n 'ScrollUpDown': '\\uEC8F',\n 'DateTime': '\\uEC92',\n 'Event': '\\uECA3',\n 'Cake': '\\uECA4',\n 'Org': '\\uECA6',\n 'PartyLeader': '\\uECA7',\n 'DRM': '\\uECA8',\n 'CloudAdd': '\\uECA9',\n 'AppIconDefault': '\\uECAA',\n 'Photo2Add': '\\uECAB',\n 'Photo2Remove': '\\uECAC',\n 'Calories': '\\uECAD',\n 'POI': '\\uECAF',\n 'AddTo': '\\uECC8',\n 'RadioBtnOff': '\\uECCA',\n 'RadioBtnOn': '\\uECCB',\n 'ExploreContent': '\\uECCD',\n 'Product': '\\uECDC',\n 'ProgressLoopInner': '\\uECDE',\n 'ProgressLoopOuter': '\\uECDF',\n 'Blocked2': '\\uECE4',\n 'FangBody': '\\uECEB',\n 'Toolbox': '\\uECED',\n 'PageHeader': '\\uECEE',\n 'ChatInviteFriend': '\\uECFE',\n 'Brush': '\\uECFF',\n 'Shirt': '\\uED00',\n 'Crown': '\\uED01',\n 'Diamond': '\\uED02',\n 'ScaleUp': '\\uED09',\n 'QRCode': '\\uED14',\n 'Feedback': '\\uED15',\n 'SharepointLogoInverse': '\\uED18',\n 'YammerLogo': '\\uED19',\n 'Hide': '\\uED1A',\n 'Uneditable': '\\uED1D',\n 'ReturnToSession': '\\uED24',\n 'OpenFolderHorizontal': '\\uED25',\n 'CalendarMirrored': '\\uED28'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-6\"`,\n src: `url('${baseUrl}fabric-icons-6-ef6fd590.woff') format('woff')`\n },\n icons: {\n 'SwayLogoInverse': '\\uED29',\n 'OutOfOffice': '\\uED34',\n 'Trophy': '\\uED3F',\n 'ReopenPages': '\\uED50',\n 'EmojiTabSymbols': '\\uED58',\n 'AADLogo': '\\uED68',\n 'AccessLogo': '\\uED69',\n 'AdminALogoInverse32': '\\uED6A',\n 'AdminCLogoInverse32': '\\uED6B',\n 'AdminDLogoInverse32': '\\uED6C',\n 'AdminELogoInverse32': '\\uED6D',\n 'AdminLLogoInverse32': '\\uED6E',\n 'AdminMLogoInverse32': '\\uED6F',\n 'AdminOLogoInverse32': '\\uED70',\n 'AdminPLogoInverse32': '\\uED71',\n 'AdminSLogoInverse32': '\\uED72',\n 'AdminYLogoInverse32': '\\uED73',\n 'DelveLogoInverse': '\\uED76',\n 'ExchangeLogoInverse': '\\uED78',\n 'LyncLogo': '\\uED79',\n 'OfficeVideoLogoInverse': '\\uED7A',\n 'SocialListeningLogo': '\\uED7C',\n 'VisioLogoInverse': '\\uED7D',\n 'Balloons': '\\uED7E',\n 'Cat': '\\uED7F',\n 'MailAlert': '\\uED80',\n 'MailCheck': '\\uED81',\n 'MailLowImportance': '\\uED82',\n 'MailPause': '\\uED83',\n 'MailRepeat': '\\uED84',\n 'SecurityGroup': '\\uED85',\n 'Table': '\\uED86',\n 'VoicemailForward': '\\uED87',\n 'VoicemailReply': '\\uED88',\n 'Waffle': '\\uED89',\n 'RemoveEvent': '\\uED8A',\n 'EventInfo': '\\uED8B',\n 'ForwardEvent': '\\uED8C',\n 'WipePhone': '\\uED8D',\n 'AddOnlineMeeting': '\\uED8E',\n 'JoinOnlineMeeting': '\\uED8F',\n 'RemoveLink': '\\uED90',\n 'PeopleBlock': '\\uED91',\n 'PeopleRepeat': '\\uED92',\n 'PeopleAlert': '\\uED93',\n 'PeoplePause': '\\uED94',\n 'TransferCall': '\\uED95',\n 'AddPhone': '\\uED96',\n 'UnknownCall': '\\uED97',\n 'NoteReply': '\\uED98',\n 'NoteForward': '\\uED99',\n 'NotePinned': '\\uED9A',\n 'RemoveOccurrence': '\\uED9B',\n 'Timeline': '\\uED9C',\n 'EditNote': '\\uED9D',\n 'CircleHalfFull': '\\uED9E',\n 'Room': '\\uED9F',\n 'Unsubscribe': '\\uEDA0',\n 'Subscribe': '\\uEDA1',\n 'HardDrive': '\\uEDA2',\n 'RecurringTask': '\\uEDB2',\n 'TaskManager': '\\uEDB7',\n 'TaskManagerMirrored': '\\uEDB8',\n 'Combine': '\\uEDBB',\n 'Split': '\\uEDBC',\n 'DoubleChevronUp': '\\uEDBD',\n 'DoubleChevronLeft': '\\uEDBE',\n 'DoubleChevronRight': '\\uEDBF',\n 'TextBox': '\\uEDC2',\n 'TextField': '\\uEDC3',\n 'NumberField': '\\uEDC4',\n 'Dropdown': '\\uEDC5',\n 'PenWorkspace': '\\uEDC6',\n 'BookingsLogo': '\\uEDC7',\n 'ClassNotebookLogoInverse': '\\uEDC8',\n 'DelveAnalyticsLogo': '\\uEDCA',\n 'DocsLogoInverse': '\\uEDCB',\n 'Dynamics365Logo': '\\uEDCC',\n 'DynamicSMBLogo': '\\uEDCD',\n 'OfficeAssistantLogo': '\\uEDCE',\n 'OfficeStoreLogo': '\\uEDCF',\n 'OneNoteEduLogoInverse': '\\uEDD0',\n 'PlannerLogo': '\\uEDD1',\n 'PowerApps': '\\uEDD2',\n 'Suitcase': '\\uEDD3',\n 'ProjectLogoInverse': '\\uEDD4',\n 'CaretLeft8': '\\uEDD5',\n 'CaretRight8': '\\uEDD6',\n 'CaretUp8': '\\uEDD7',\n 'CaretDown8': '\\uEDD8',\n 'CaretLeftSolid8': '\\uEDD9',\n 'CaretRightSolid8': '\\uEDDA',\n 'CaretUpSolid8': '\\uEDDB',\n 'CaretDownSolid8': '\\uEDDC',\n 'ClearFormatting': '\\uEDDD',\n 'Superscript': '\\uEDDE',\n 'Subscript': '\\uEDDF',\n 'Strikethrough': '\\uEDE0',\n 'Export': '\\uEDE1',\n 'ExportMirrored': '\\uEDE2'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-7\"`,\n src: `url('${baseUrl}fabric-icons-7-2b97bb99.woff') format('woff')`\n },\n icons: {\n 'SingleBookmark': '\\uEDFF',\n 'SingleBookmarkSolid': '\\uEE00',\n 'DoubleChevronDown': '\\uEE04',\n 'FollowUser': '\\uEE05',\n 'ReplyAll': '\\uEE0A',\n 'WorkforceManagement': '\\uEE0F',\n 'RecruitmentManagement': '\\uEE12',\n 'Questionnaire': '\\uEE19',\n 'ManagerSelfService': '\\uEE23',\n 'ProductionFloorManagement': '\\uEE29',\n 'ProductRelease': '\\uEE2E',\n 'ProductVariant': '\\uEE30',\n 'ReplyMirrored': '\\uEE35',\n 'ReplyAllMirrored': '\\uEE36',\n 'Medal': '\\uEE38',\n 'AddGroup': '\\uEE3D',\n 'QuestionnaireMirrored': '\\uEE4B',\n 'CloudImportExport': '\\uEE55',\n 'TemporaryUser': '\\uEE58',\n 'CaretSolid16': '\\uEE62',\n 'GroupedDescending': '\\uEE66',\n 'GroupedAscending': '\\uEE67',\n 'AwayStatus': '\\uEE6A',\n 'MyMoviesTV': '\\uEE6C',\n 'GenericScan': '\\uEE6F',\n 'AustralianRules': '\\uEE70',\n 'WifiEthernet': '\\uEE77',\n 'TrackersMirrored': '\\uEE92',\n 'DateTimeMirrored': '\\uEE93',\n 'StopSolid': '\\uEE95',\n 'DoubleChevronUp12': '\\uEE96',\n 'DoubleChevronDown12': '\\uEE97',\n 'DoubleChevronLeft12': '\\uEE98',\n 'DoubleChevronRight12': '\\uEE99',\n 'CalendarAgenda': '\\uEE9A',\n 'ConnectVirtualMachine': '\\uEE9D',\n 'AddEvent': '\\uEEB5',\n 'AssetLibrary': '\\uEEB6',\n 'DataConnectionLibrary': '\\uEEB7',\n 'DocLibrary': '\\uEEB8',\n 'FormLibrary': '\\uEEB9',\n 'FormLibraryMirrored': '\\uEEBA',\n 'ReportLibrary': '\\uEEBB',\n 'ReportLibraryMirrored': '\\uEEBC',\n 'ContactCard': '\\uEEBD',\n 'CustomList': '\\uEEBE',\n 'CustomListMirrored': '\\uEEBF',\n 'IssueTracking': '\\uEEC0',\n 'IssueTrackingMirrored': '\\uEEC1',\n 'PictureLibrary': '\\uEEC2',\n 'OfficeAddinsLogo': '\\uEEC7',\n 'OfflineOneDriveParachute': '\\uEEC8',\n 'OfflineOneDriveParachuteDisabled': '\\uEEC9',\n 'TriangleSolidUp12': '\\uEECC',\n 'TriangleSolidDown12': '\\uEECD',\n 'TriangleSolidLeft12': '\\uEECE',\n 'TriangleSolidRight12': '\\uEECF',\n 'TriangleUp12': '\\uEED0',\n 'TriangleDown12': '\\uEED1',\n 'TriangleLeft12': '\\uEED2',\n 'TriangleRight12': '\\uEED3',\n 'ArrowUpRight8': '\\uEED4',\n 'ArrowDownRight8': '\\uEED5',\n 'DocumentSet': '\\uEED6',\n 'GoToDashboard': '\\uEEED',\n 'DelveAnalytics': '\\uEEEE',\n 'ArrowUpRightMirrored8': '\\uEEEF',\n 'ArrowDownRightMirrored8': '\\uEEF0',\n 'CompanyDirectory': '\\uEF0D',\n 'OpenEnrollment': '\\uEF1C',\n 'CompanyDirectoryMirrored': '\\uEF2B',\n 'OneDriveAdd': '\\uEF32',\n 'ProfileSearch': '\\uEF35',\n 'Header2': '\\uEF36',\n 'Header3': '\\uEF37',\n 'Header4': '\\uEF38',\n 'RingerSolid': '\\uEF3A',\n 'Eyedropper': '\\uEF3C',\n 'MarketDown': '\\uEF42',\n 'CalendarWorkWeek': '\\uEF51',\n 'SidePanel': '\\uEF52',\n 'GlobeFavorite': '\\uEF53',\n 'CaretTopLeftSolid8': '\\uEF54',\n 'CaretTopRightSolid8': '\\uEF55',\n 'ViewAll2': '\\uEF56',\n 'DocumentReply': '\\uEF57',\n 'PlayerSettings': '\\uEF58',\n 'ReceiptForward': '\\uEF59',\n 'ReceiptReply': '\\uEF5A',\n 'ReceiptCheck': '\\uEF5B',\n 'Fax': '\\uEF5C',\n 'RecurringEvent': '\\uEF5D',\n 'ReplyAlt': '\\uEF5E',\n 'ReplyAllAlt': '\\uEF5F',\n 'EditStyle': '\\uEF60',\n 'EditMail': '\\uEF61',\n 'Lifesaver': '\\uEF62',\n 'LifesaverLock': '\\uEF63',\n 'InboxCheck': '\\uEF64',\n 'FolderSearch': '\\uEF65'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-8\"`,\n src: `url('${baseUrl}fabric-icons-8-6fdf1528.woff') format('woff')`\n },\n icons: {\n 'CollapseMenu': '\\uEF66',\n 'ExpandMenu': '\\uEF67',\n 'Boards': '\\uEF68',\n 'SunAdd': '\\uEF69',\n 'SunQuestionMark': '\\uEF6A',\n 'LandscapeOrientation': '\\uEF6B',\n 'DocumentSearch': '\\uEF6C',\n 'PublicCalendar': '\\uEF6D',\n 'PublicContactCard': '\\uEF6E',\n 'PublicEmail': '\\uEF6F',\n 'PublicFolder': '\\uEF70',\n 'WordDocument': '\\uEF71',\n 'PowerPointDocument': '\\uEF72',\n 'ExcelDocument': '\\uEF73',\n 'GroupedList': '\\uEF74',\n 'ClassroomLogo': '\\uEF75',\n 'Sections': '\\uEF76',\n 'EditPhoto': '\\uEF77',\n 'Starburst': '\\uEF78',\n 'ShareiOS': '\\uEF79',\n 'AirTickets': '\\uEF7A',\n 'PencilReply': '\\uEF7B',\n 'Tiles2': '\\uEF7C',\n 'SkypeCircleCheck': '\\uEF7D',\n 'SkypeCircleClock': '\\uEF7E',\n 'SkypeCircleMinus': '\\uEF7F',\n 'SkypeMessage': '\\uEF83',\n 'ClosedCaption': '\\uEF84',\n 'ATPLogo': '\\uEF85',\n 'OfficeFormsLogoInverse': '\\uEF86',\n 'RecycleBin': '\\uEF87',\n 'EmptyRecycleBin': '\\uEF88',\n 'Hide2': '\\uEF89',\n 'Breadcrumb': '\\uEF8C',\n 'BirthdayCake': '\\uEF8D',\n 'TimeEntry': '\\uEF95',\n 'CRMProcesses': '\\uEFB1',\n 'PageEdit': '\\uEFB6',\n 'PageArrowRight': '\\uEFB8',\n 'PageRemove': '\\uEFBA',\n 'Database': '\\uEFC7',\n 'DataManagementSettings': '\\uEFC8',\n 'CRMServices': '\\uEFD2',\n 'EditContact': '\\uEFD3',\n 'ConnectContacts': '\\uEFD4',\n 'AppIconDefaultAdd': '\\uEFDA',\n 'AppIconDefaultList': '\\uEFDE',\n 'ActivateOrders': '\\uEFE0',\n 'DeactivateOrders': '\\uEFE1',\n 'ProductCatalog': '\\uEFE8',\n 'ScatterChart': '\\uEFEB',\n 'AccountActivity': '\\uEFF4',\n 'DocumentManagement': '\\uEFFC',\n 'CRMReport': '\\uEFFE',\n 'KnowledgeArticle': '\\uF000',\n 'Relationship': '\\uF003',\n 'HomeVerify': '\\uF00E',\n 'ZipFolder': '\\uF012',\n 'SurveyQuestions': '\\uF01B',\n 'TextDocument': '\\uF029',\n 'TextDocumentShared': '\\uF02B',\n 'PageCheckedOut': '\\uF02C',\n 'PageShared': '\\uF02D',\n 'SaveAndClose': '\\uF038',\n 'Script': '\\uF03A',\n 'Archive': '\\uF03F',\n 'ActivityFeed': '\\uF056',\n 'Compare': '\\uF057',\n 'EventDate': '\\uF059',\n 'ArrowUpRight': '\\uF069',\n 'CaretRight': '\\uF06B',\n 'SetAction': '\\uF071',\n 'ChatBot': '\\uF08B',\n 'CaretSolidLeft': '\\uF08D',\n 'CaretSolidDown': '\\uF08E',\n 'CaretSolidRight': '\\uF08F',\n 'CaretSolidUp': '\\uF090',\n 'PowerAppsLogo': '\\uF091',\n 'PowerApps2Logo': '\\uF092',\n 'SearchIssue': '\\uF09A',\n 'SearchIssueMirrored': '\\uF09B',\n 'FabricAssetLibrary': '\\uF09C',\n 'FabricDataConnectionLibrary': '\\uF09D',\n 'FabricDocLibrary': '\\uF09E',\n 'FabricFormLibrary': '\\uF09F',\n 'FabricFormLibraryMirrored': '\\uF0A0',\n 'FabricReportLibrary': '\\uF0A1',\n 'FabricReportLibraryMirrored': '\\uF0A2',\n 'FabricPublicFolder': '\\uF0A3',\n 'FabricFolderSearch': '\\uF0A4',\n 'FabricMovetoFolder': '\\uF0A5',\n 'FabricUnsyncFolder': '\\uF0A6',\n 'FabricSyncFolder': '\\uF0A7',\n 'FabricOpenFolderHorizontal': '\\uF0A8',\n 'FabricFolder': '\\uF0A9',\n 'FabricFolderFill': '\\uF0AA',\n 'FabricNewFolder': '\\uF0AB',\n 'FabricPictureLibrary': '\\uF0AC',\n 'PhotoVideoMedia': '\\uF0B1',\n 'AddFavorite': '\\uF0C8'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-9\"`,\n src: `url('${baseUrl}fabric-icons-9-c6162b42.woff') format('woff')`\n },\n icons: {\n 'AddFavoriteFill': '\\uF0C9',\n 'BufferTimeBefore': '\\uF0CF',\n 'BufferTimeAfter': '\\uF0D0',\n 'BufferTimeBoth': '\\uF0D1',\n 'PublishContent': '\\uF0D4',\n 'ClipboardList': '\\uF0E3',\n 'ClipboardListMirrored': '\\uF0E4',\n 'CannedChat': '\\uF0F2',\n 'SkypeForBusinessLogo': '\\uF0FC',\n 'TabCenter': '\\uF100',\n 'PageCheckedin': '\\uF104',\n 'PageList': '\\uF106',\n 'ReadOutLoud': '\\uF112',\n 'CaretBottomLeftSolid8': '\\uF121',\n 'CaretBottomRightSolid8': '\\uF122',\n 'FolderHorizontal': '\\uF12B',\n 'MicrosoftStaffhubLogo': '\\uF130',\n 'GiftboxOpen': '\\uF133',\n 'StatusCircleOuter': '\\uF136',\n 'StatusCircleInner': '\\uF137',\n 'StatusCircleRing': '\\uF138',\n 'StatusTriangleOuter': '\\uF139',\n 'StatusTriangleInner': '\\uF13A',\n 'StatusTriangleExclamation': '\\uF13B',\n 'StatusCircleExclamation': '\\uF13C',\n 'StatusCircleErrorX': '\\uF13D',\n 'StatusCircleInfo': '\\uF13F',\n 'StatusCircleBlock': '\\uF140',\n 'StatusCircleBlock2': '\\uF141',\n 'StatusCircleQuestionMark': '\\uF142',\n 'StatusCircleSync': '\\uF143',\n 'Toll': '\\uF160',\n 'ExploreContentSingle': '\\uF164',\n 'CollapseContent': '\\uF165',\n 'CollapseContentSingle': '\\uF166',\n 'InfoSolid': '\\uF167',\n 'GroupList': '\\uF168',\n 'ProgressRingDots': '\\uF16A',\n 'CaloriesAdd': '\\uF172',\n 'BranchFork': '\\uF173',\n 'MuteChat': '\\uF17A',\n 'AddHome': '\\uF17B',\n 'AddWork': '\\uF17C',\n 'MobileReport': '\\uF18A',\n 'ScaleVolume': '\\uF18C',\n 'HardDriveGroup': '\\uF18F',\n 'FastMode': '\\uF19A',\n 'ToggleLeft': '\\uF19E',\n 'ToggleRight': '\\uF19F',\n 'TriangleShape': '\\uF1A7',\n 'RectangleShape': '\\uF1A9',\n 'CubeShape': '\\uF1AA',\n 'Trophy2': '\\uF1AE',\n 'BucketColor': '\\uF1B6',\n 'BucketColorFill': '\\uF1B7',\n 'Taskboard': '\\uF1C2',\n 'SingleColumn': '\\uF1D3',\n 'DoubleColumn': '\\uF1D4',\n 'TripleColumn': '\\uF1D5',\n 'ColumnLeftTwoThirds': '\\uF1D6',\n 'ColumnRightTwoThirds': '\\uF1D7',\n 'AccessLogoFill': '\\uF1DB',\n 'AnalyticsLogo': '\\uF1DE',\n 'AnalyticsQuery': '\\uF1DF',\n 'NewAnalyticsQuery': '\\uF1E0',\n 'AnalyticsReport': '\\uF1E1',\n 'WordLogo': '\\uF1E3',\n 'WordLogoFill': '\\uF1E4',\n 'ExcelLogo': '\\uF1E5',\n 'ExcelLogoFill': '\\uF1E6',\n 'OneNoteLogo': '\\uF1E7',\n 'OneNoteLogoFill': '\\uF1E8',\n 'OutlookLogo': '\\uF1E9',\n 'OutlookLogoFill': '\\uF1EA',\n 'PowerPointLogo': '\\uF1EB',\n 'PowerPointLogoFill': '\\uF1EC',\n 'PublisherLogo': '\\uF1ED',\n 'PublisherLogoFill': '\\uF1EE',\n 'ScheduleEventAction': '\\uF1EF',\n 'FlameSolid': '\\uF1F3',\n 'ServerProcesses': '\\uF1FE',\n 'Server': '\\uF201',\n 'SaveAll': '\\uF203',\n 'LinkedInLogo': '\\uF20A',\n 'Decimals': '\\uF218',\n 'SidePanelMirrored': '\\uF221',\n 'ProtectRestrict': '\\uF22A',\n 'Blog': '\\uF22B',\n 'UnknownMirrored': '\\uF22E',\n 'PublicContactCardMirrored': '\\uF230',\n 'GridViewSmall': '\\uF232',\n 'GridViewMedium': '\\uF233',\n 'GridViewLarge': '\\uF234',\n 'Step': '\\uF241',\n 'StepInsert': '\\uF242',\n 'StepShared': '\\uF243',\n 'StepSharedAdd': '\\uF244',\n 'StepSharedInsert': '\\uF245',\n 'ViewDashboard': '\\uF246',\n 'ViewList': '\\uF247'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-10\"`,\n src: `url('${baseUrl}fabric-icons-10-c4ded8e4.woff') format('woff')`\n },\n icons: {\n 'ViewListGroup': '\\uF248',\n 'ViewListTree': '\\uF249',\n 'TriggerAuto': '\\uF24A',\n 'TriggerUser': '\\uF24B',\n 'PivotChart': '\\uF24C',\n 'StackedBarChart': '\\uF24D',\n 'StackedLineChart': '\\uF24E',\n 'BuildQueue': '\\uF24F',\n 'BuildQueueNew': '\\uF250',\n 'UserFollowed': '\\uF25C',\n 'ContactLink': '\\uF25F',\n 'Stack': '\\uF26F',\n 'Bullseye': '\\uF272',\n 'VennDiagram': '\\uF273',\n 'FiveTileGrid': '\\uF274',\n 'FocalPoint': '\\uF277',\n 'Insert': '\\uF278',\n 'RingerRemove': '\\uF279',\n 'TeamsLogoInverse': '\\uF27A',\n 'TeamsLogo': '\\uF27B',\n 'TeamsLogoFill': '\\uF27C',\n 'SkypeForBusinessLogoFill': '\\uF27D',\n 'SharepointLogo': '\\uF27E',\n 'SharepointLogoFill': '\\uF27F',\n 'DelveLogo': '\\uF280',\n 'DelveLogoFill': '\\uF281',\n 'OfficeVideoLogo': '\\uF282',\n 'OfficeVideoLogoFill': '\\uF283',\n 'ExchangeLogo': '\\uF284',\n 'ExchangeLogoFill': '\\uF285',\n 'Signin': '\\uF286',\n 'DocumentApproval': '\\uF28B',\n 'CloneToDesktop': '\\uF28C',\n 'InstallToDrive': '\\uF28D',\n 'Blur': '\\uF28E',\n 'Build': '\\uF28F',\n 'ProcessMetaTask': '\\uF290',\n 'BranchFork2': '\\uF291',\n 'BranchLocked': '\\uF292',\n 'BranchCommit': '\\uF293',\n 'BranchCompare': '\\uF294',\n 'BranchMerge': '\\uF295',\n 'BranchPullRequest': '\\uF296',\n 'BranchSearch': '\\uF297',\n 'BranchShelveset': '\\uF298',\n 'RawSource': '\\uF299',\n 'MergeDuplicate': '\\uF29A',\n 'RowsGroup': '\\uF29B',\n 'RowsChild': '\\uF29C',\n 'Deploy': '\\uF29D',\n 'Redeploy': '\\uF29E',\n 'ServerEnviroment': '\\uF29F',\n 'VisioDiagram': '\\uF2A0',\n 'HighlightMappedShapes': '\\uF2A1',\n 'TextCallout': '\\uF2A2',\n 'IconSetsFlag': '\\uF2A4',\n 'VisioLogo': '\\uF2A7',\n 'VisioLogoFill': '\\uF2A8',\n 'VisioDocument': '\\uF2A9',\n 'TimelineProgress': '\\uF2AA',\n 'TimelineDelivery': '\\uF2AB',\n 'Backlog': '\\uF2AC',\n 'TeamFavorite': '\\uF2AD',\n 'TaskGroup': '\\uF2AE',\n 'TaskGroupMirrored': '\\uF2AF',\n 'ScopeTemplate': '\\uF2B0',\n 'AssessmentGroupTemplate': '\\uF2B1',\n 'NewTeamProject': '\\uF2B2',\n 'CommentAdd': '\\uF2B3',\n 'CommentNext': '\\uF2B4',\n 'CommentPrevious': '\\uF2B5',\n 'ShopServer': '\\uF2B6',\n 'LocaleLanguage': '\\uF2B7',\n 'QueryList': '\\uF2B8',\n 'UserSync': '\\uF2B9',\n 'UserPause': '\\uF2BA',\n 'StreamingOff': '\\uF2BB',\n 'ArrowTallUpLeft': '\\uF2BD',\n 'ArrowTallUpRight': '\\uF2BE',\n 'ArrowTallDownLeft': '\\uF2BF',\n 'ArrowTallDownRight': '\\uF2C0',\n 'FieldEmpty': '\\uF2C1',\n 'FieldFilled': '\\uF2C2',\n 'FieldChanged': '\\uF2C3',\n 'FieldNotChanged': '\\uF2C4',\n 'RingerOff': '\\uF2C5',\n 'PlayResume': '\\uF2C6',\n 'BulletedList2': '\\uF2C7',\n 'BulletedList2Mirrored': '\\uF2C8',\n 'ImageCrosshair': '\\uF2C9',\n 'GitGraph': '\\uF2CA',\n 'Repo': '\\uF2CB',\n 'RepoSolid': '\\uF2CC',\n 'FolderQuery': '\\uF2CD',\n 'FolderList': '\\uF2CE',\n 'FolderListMirrored': '\\uF2CF',\n 'LocationOutline': '\\uF2D0',\n 'POISolid': '\\uF2D1',\n 'CalculatorNotEqualTo': '\\uF2D2',\n 'BoxSubtractSolid': '\\uF2D3'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-11\"`,\n src: `url('${baseUrl}fabric-icons-11-2a8393d6.woff') format('woff')`\n },\n icons: {\n 'BoxAdditionSolid': '\\uF2D4',\n 'BoxMultiplySolid': '\\uF2D5',\n 'BoxPlaySolid': '\\uF2D6',\n 'BoxCheckmarkSolid': '\\uF2D7',\n 'CirclePauseSolid': '\\uF2D8',\n 'CirclePause': '\\uF2D9',\n 'MSNVideosSolid': '\\uF2DA',\n 'CircleStopSolid': '\\uF2DB',\n 'CircleStop': '\\uF2DC',\n 'NavigateBack': '\\uF2DD',\n 'NavigateBackMirrored': '\\uF2DE',\n 'NavigateForward': '\\uF2DF',\n 'NavigateForwardMirrored': '\\uF2E0',\n 'UnknownSolid': '\\uF2E1',\n 'UnknownMirroredSolid': '\\uF2E2',\n 'CircleAddition': '\\uF2E3',\n 'CircleAdditionSolid': '\\uF2E4',\n 'FilePDB': '\\uF2E5',\n 'FileTemplate': '\\uF2E6',\n 'FileSQL': '\\uF2E7',\n 'FileJAVA': '\\uF2E8',\n 'FileASPX': '\\uF2E9',\n 'FileCSS': '\\uF2EA',\n 'FileSass': '\\uF2EB',\n 'FileLess': '\\uF2EC',\n 'FileHTML': '\\uF2ED',\n 'JavaScriptLanguage': '\\uF2EE',\n 'CSharpLanguage': '\\uF2EF',\n 'CSharp': '\\uF2F0',\n 'VisualBasicLanguage': '\\uF2F1',\n 'VB': '\\uF2F2',\n 'CPlusPlusLanguage': '\\uF2F3',\n 'CPlusPlus': '\\uF2F4',\n 'FSharpLanguage': '\\uF2F5',\n 'FSharp': '\\uF2F6',\n 'TypeScriptLanguage': '\\uF2F7',\n 'PythonLanguage': '\\uF2F8',\n 'PY': '\\uF2F9',\n 'CoffeeScript': '\\uF2FA',\n 'MarkDownLanguage': '\\uF2FB',\n 'FullWidth': '\\uF2FE',\n 'FullWidthEdit': '\\uF2FF',\n 'Plug': '\\uF300',\n 'PlugSolid': '\\uF301',\n 'PlugConnected': '\\uF302',\n 'PlugDisconnected': '\\uF303',\n 'UnlockSolid': '\\uF304',\n 'Variable': '\\uF305',\n 'Parameter': '\\uF306',\n 'CommentUrgent': '\\uF307',\n 'Storyboard': '\\uF308',\n 'DiffInline': '\\uF309',\n 'DiffSideBySide': '\\uF30A',\n 'ImageDiff': '\\uF30B',\n 'ImagePixel': '\\uF30C',\n 'FileBug': '\\uF30D',\n 'FileCode': '\\uF30E',\n 'FileComment': '\\uF30F',\n 'BusinessHoursSign': '\\uF310',\n 'FileImage': '\\uF311',\n 'FileSymlink': '\\uF312',\n 'AutoFillTemplate': '\\uF313',\n 'WorkItem': '\\uF314',\n 'WorkItemBug': '\\uF315',\n 'LogRemove': '\\uF316',\n 'ColumnOptions': '\\uF317',\n 'Packages': '\\uF318',\n 'BuildIssue': '\\uF319',\n 'AssessmentGroup': '\\uF31A',\n 'VariableGroup': '\\uF31B',\n 'FullHistory': '\\uF31C',\n 'Wheelchair': '\\uF31F',\n 'SingleColumnEdit': '\\uF321',\n 'DoubleColumnEdit': '\\uF322',\n 'TripleColumnEdit': '\\uF323',\n 'ColumnLeftTwoThirdsEdit': '\\uF324',\n 'ColumnRightTwoThirdsEdit': '\\uF325',\n 'StreamLogo': '\\uF329',\n 'PassiveAuthentication': '\\uF32A',\n 'AlertSolid': '\\uF331',\n 'MegaphoneSolid': '\\uF332',\n 'TaskSolid': '\\uF333',\n 'ConfigurationSolid': '\\uF334',\n 'BugSolid': '\\uF335',\n 'CrownSolid': '\\uF336',\n 'Trophy2Solid': '\\uF337',\n 'QuickNoteSolid': '\\uF338',\n 'ConstructionConeSolid': '\\uF339',\n 'PageListSolid': '\\uF33A',\n 'PageListMirroredSolid': '\\uF33B',\n 'StarburstSolid': '\\uF33C',\n 'ReadingModeSolid': '\\uF33D',\n 'SadSolid': '\\uF33E',\n 'HealthSolid': '\\uF33F',\n 'ShieldSolid': '\\uF340',\n 'GiftBoxSolid': '\\uF341',\n 'ShoppingCartSolid': '\\uF342',\n 'MailSolid': '\\uF343',\n 'ChatSolid': '\\uF344',\n 'RibbonSolid': '\\uF345'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-12\"`,\n src: `url('${baseUrl}fabric-icons-12-7e945a1e.woff') format('woff')`\n },\n icons: {\n 'FinancialSolid': '\\uF346',\n 'FinancialMirroredSolid': '\\uF347',\n 'HeadsetSolid': '\\uF348',\n 'PermissionsSolid': '\\uF349',\n 'ParkingSolid': '\\uF34A',\n 'ParkingMirroredSolid': '\\uF34B',\n 'DiamondSolid': '\\uF34C',\n 'AsteriskSolid': '\\uF34D',\n 'OfflineStorageSolid': '\\uF34E',\n 'BankSolid': '\\uF34F',\n 'DecisionSolid': '\\uF350',\n 'Parachute': '\\uF351',\n 'ParachuteSolid': '\\uF352',\n 'FiltersSolid': '\\uF353',\n 'ColorSolid': '\\uF354',\n 'ReviewSolid': '\\uF355',\n 'ReviewRequestSolid': '\\uF356',\n 'ReviewRequestMirroredSolid': '\\uF357',\n 'ReviewResponseSolid': '\\uF358',\n 'FeedbackRequestSolid': '\\uF359',\n 'FeedbackRequestMirroredSolid': '\\uF35A',\n 'FeedbackResponseSolid': '\\uF35B',\n 'WorkItemBar': '\\uF35C',\n 'WorkItemBarSolid': '\\uF35D',\n 'Separator': '\\uF35E',\n 'NavigateExternalInline': '\\uF35F',\n 'PlanView': '\\uF360',\n 'TimelineMatrixView': '\\uF361',\n 'EngineeringGroup': '\\uF362',\n 'ProjectCollection': '\\uF363',\n 'CaretBottomRightCenter8': '\\uF364',\n 'CaretBottomLeftCenter8': '\\uF365',\n 'CaretTopRightCenter8': '\\uF366',\n 'CaretTopLeftCenter8': '\\uF367',\n 'DonutChart': '\\uF368',\n 'ChevronUnfold10': '\\uF369',\n 'ChevronFold10': '\\uF36A',\n 'DoubleChevronDown8': '\\uF36B',\n 'DoubleChevronUp8': '\\uF36C',\n 'DoubleChevronLeft8': '\\uF36D',\n 'DoubleChevronRight8': '\\uF36E',\n 'ChevronDownEnd6': '\\uF36F',\n 'ChevronUpEnd6': '\\uF370',\n 'ChevronLeftEnd6': '\\uF371',\n 'ChevronRightEnd6': '\\uF372',\n 'ContextMenu': '\\uF37C',\n 'AzureAPIManagement': '\\uF37F',\n 'AzureServiceEndpoint': '\\uF380',\n 'VSTSLogo': '\\uF381',\n 'VSTSAltLogo1': '\\uF382',\n 'VSTSAltLogo2': '\\uF383',\n 'FileTypeSolution': '\\uF387',\n 'WordLogoInverse16': '\\uF390',\n 'WordLogo16': '\\uF391',\n 'WordLogoFill16': '\\uF392',\n 'PowerPointLogoInverse16': '\\uF393',\n 'PowerPointLogo16': '\\uF394',\n 'PowerPointLogoFill16': '\\uF395',\n 'ExcelLogoInverse16': '\\uF396',\n 'ExcelLogo16': '\\uF397',\n 'ExcelLogoFill16': '\\uF398',\n 'OneNoteLogoInverse16': '\\uF399',\n 'OneNoteLogo16': '\\uF39A',\n 'OneNoteLogoFill16': '\\uF39B',\n 'OutlookLogoInverse16': '\\uF39C',\n 'OutlookLogo16': '\\uF39D',\n 'OutlookLogoFill16': '\\uF39E',\n 'PublisherLogoInverse16': '\\uF39F',\n 'PublisherLogo16': '\\uF3A0',\n 'PublisherLogoFill16': '\\uF3A1',\n 'VisioLogoInverse16': '\\uF3A2',\n 'VisioLogo16': '\\uF3A3',\n 'VisioLogoFill16': '\\uF3A4',\n 'TestBeaker': '\\uF3A5',\n 'TestBeakerSolid': '\\uF3A6',\n 'TestExploreSolid': '\\uF3A7',\n 'TestAutoSolid': '\\uF3A8',\n 'TestUserSolid': '\\uF3A9',\n 'TestImpactSolid': '\\uF3AA',\n 'TestPlan': '\\uF3AB',\n 'TestStep': '\\uF3AC',\n 'TestParameter': '\\uF3AD',\n 'TestSuite': '\\uF3AE',\n 'TestCase': '\\uF3AF',\n 'Sprint': '\\uF3B0',\n 'SignOut': '\\uF3B1',\n 'TriggerApproval': '\\uF3B2',\n 'Rocket': '\\uF3B3',\n 'AzureKeyVault': '\\uF3B4',\n 'Onboarding': '\\uF3BA',\n 'Transition': '\\uF3BC',\n 'LikeSolid': '\\uF3BF',\n 'DislikeSolid': '\\uF3C0',\n 'CRMCustomerInsightsApp': '\\uF3C8',\n 'EditCreate': '\\uF3C9',\n 'PlayReverseResume': '\\uF3E4',\n 'PlayReverse': '\\uF3E5',\n 'SearchData': '\\uF3F1',\n 'UnSetColor': '\\uF3F9',\n 'DeclineCall': '\\uF405'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-13\"`,\n src: `url('${baseUrl}fabric-icons-13-c3989a02.woff') format('woff')`\n },\n icons: {\n 'RectangularClipping': '\\uF407',\n 'TeamsLogo16': '\\uF40A',\n 'TeamsLogoFill16': '\\uF40B',\n 'Spacer': '\\uF40D',\n 'SkypeLogo16': '\\uF40E',\n 'SkypeForBusinessLogo16': '\\uF40F',\n 'SkypeForBusinessLogoFill16': '\\uF410',\n 'FilterSolid': '\\uF412',\n 'MailUndelivered': '\\uF415',\n 'MailTentative': '\\uF416',\n 'MailTentativeMirrored': '\\uF417',\n 'MailReminder': '\\uF418',\n 'ReceiptUndelivered': '\\uF419',\n 'ReceiptTentative': '\\uF41A',\n 'ReceiptTentativeMirrored': '\\uF41B',\n 'Inbox': '\\uF41C',\n 'IRMReply': '\\uF41D',\n 'IRMReplyMirrored': '\\uF41E',\n 'IRMForward': '\\uF41F',\n 'IRMForwardMirrored': '\\uF420',\n 'VoicemailIRM': '\\uF421',\n 'EventAccepted': '\\uF422',\n 'EventTentative': '\\uF423',\n 'EventTentativeMirrored': '\\uF424',\n 'EventDeclined': '\\uF425',\n 'IDBadge': '\\uF427',\n 'BackgroundColor': '\\uF42B',\n 'OfficeFormsLogoInverse16': '\\uF433',\n 'OfficeFormsLogo': '\\uF434',\n 'OfficeFormsLogoFill': '\\uF435',\n 'OfficeFormsLogo16': '\\uF436',\n 'OfficeFormsLogoFill16': '\\uF437',\n 'OfficeFormsLogoInverse24': '\\uF43A',\n 'OfficeFormsLogo24': '\\uF43B',\n 'OfficeFormsLogoFill24': '\\uF43C',\n 'PageLock': '\\uF43F',\n 'NotExecuted': '\\uF440',\n 'NotImpactedSolid': '\\uF441',\n 'FieldReadOnly': '\\uF442',\n 'FieldRequired': '\\uF443',\n 'BacklogBoard': '\\uF444',\n 'ExternalBuild': '\\uF445',\n 'ExternalTFVC': '\\uF446',\n 'ExternalXAML': '\\uF447',\n 'IssueSolid': '\\uF448',\n 'DefectSolid': '\\uF449',\n 'LadybugSolid': '\\uF44A',\n 'NugetLogo': '\\uF44C',\n 'TFVCLogo': '\\uF44D',\n 'ProjectLogo32': '\\uF47E',\n 'ProjectLogoFill32': '\\uF47F',\n 'ProjectLogo16': '\\uF480',\n 'ProjectLogoFill16': '\\uF481',\n 'SwayLogo32': '\\uF482',\n 'SwayLogoFill32': '\\uF483',\n 'SwayLogo16': '\\uF484',\n 'SwayLogoFill16': '\\uF485',\n 'ClassNotebookLogo32': '\\uF486',\n 'ClassNotebookLogoFill32': '\\uF487',\n 'ClassNotebookLogo16': '\\uF488',\n 'ClassNotebookLogoFill16': '\\uF489',\n 'ClassNotebookLogoInverse32': '\\uF48A',\n 'ClassNotebookLogoInverse16': '\\uF48B',\n 'StaffNotebookLogo32': '\\uF48C',\n 'StaffNotebookLogoFill32': '\\uF48D',\n 'StaffNotebookLogo16': '\\uF48E',\n 'StaffNotebookLogoFill16': '\\uF48F',\n 'StaffNotebookLogoInverted32': '\\uF490',\n 'StaffNotebookLogoInverted16': '\\uF491',\n 'KaizalaLogo': '\\uF492',\n 'TaskLogo': '\\uF493',\n 'ProtectionCenterLogo32': '\\uF494',\n 'GallatinLogo': '\\uF496',\n 'Globe2': '\\uF49A',\n 'Guitar': '\\uF49B',\n 'Breakfast': '\\uF49C',\n 'Brunch': '\\uF49D',\n 'BeerMug': '\\uF49E',\n 'Vacation': '\\uF49F',\n 'Teeth': '\\uF4A0',\n 'Taxi': '\\uF4A1',\n 'Chopsticks': '\\uF4A2',\n 'SyncOccurence': '\\uF4A3',\n 'UnsyncOccurence': '\\uF4A4',\n 'GIF': '\\uF4A9',\n 'PrimaryCalendar': '\\uF4AE',\n 'SearchCalendar': '\\uF4AF',\n 'VideoOff': '\\uF4B0',\n 'MicrosoftFlowLogo': '\\uF4B1',\n 'BusinessCenterLogo': '\\uF4B2',\n 'ToDoLogoBottom': '\\uF4B3',\n 'ToDoLogoTop': '\\uF4B4',\n 'EditSolid12': '\\uF4B5',\n 'EditSolidMirrored12': '\\uF4B6',\n 'UneditableSolid12': '\\uF4B7',\n 'UneditableSolidMirrored12': '\\uF4B8',\n 'UneditableMirrored': '\\uF4B9',\n 'AdminALogo32': '\\uF4BA',\n 'AdminALogoFill32': '\\uF4BB',\n 'ToDoLogoInverse': '\\uF4BC'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-14\"`,\n src: `url('${baseUrl}fabric-icons-14-5cf58db8.woff') format('woff')`\n },\n icons: {\n 'Snooze': '\\uF4BD',\n 'WaffleOffice365': '\\uF4E0',\n 'ImageSearch': '\\uF4E8',\n 'NewsSearch': '\\uF4E9',\n 'VideoSearch': '\\uF4EA',\n 'R': '\\uF4EB',\n 'FontColorA': '\\uF4EC',\n 'FontColorSwatch': '\\uF4ED',\n 'LightWeight': '\\uF4EE',\n 'NormalWeight': '\\uF4EF',\n 'SemiboldWeight': '\\uF4F0',\n 'GroupObject': '\\uF4F1',\n 'UngroupObject': '\\uF4F2',\n 'AlignHorizontalLeft': '\\uF4F3',\n 'AlignHorizontalCenter': '\\uF4F4',\n 'AlignHorizontalRight': '\\uF4F5',\n 'AlignVerticalTop': '\\uF4F6',\n 'AlignVerticalCenter': '\\uF4F7',\n 'AlignVerticalBottom': '\\uF4F8',\n 'HorizontalDistributeCenter': '\\uF4F9',\n 'VerticalDistributeCenter': '\\uF4FA',\n 'Ellipse': '\\uF4FB',\n 'Line': '\\uF4FC',\n 'Octagon': '\\uF4FD',\n 'Hexagon': '\\uF4FE',\n 'Pentagon': '\\uF4FF',\n 'RightTriangle': '\\uF500',\n 'HalfCircle': '\\uF501',\n 'QuarterCircle': '\\uF502',\n 'ThreeQuarterCircle': '\\uF503',\n '6PointStar': '\\uF504',\n '12PointStar': '\\uF505',\n 'ArrangeBringToFront': '\\uF506',\n 'ArrangeSendToBack': '\\uF507',\n 'ArrangeSendBackward': '\\uF508',\n 'ArrangeBringForward': '\\uF509',\n 'BorderDash': '\\uF50A',\n 'BorderDot': '\\uF50B',\n 'LineStyle': '\\uF50C',\n 'LineThickness': '\\uF50D',\n 'WindowEdit': '\\uF50E',\n 'HintText': '\\uF50F',\n 'MediaAdd': '\\uF510',\n 'AnchorLock': '\\uF511',\n 'AutoHeight': '\\uF512',\n 'ChartSeries': '\\uF513',\n 'ChartXAngle': '\\uF514',\n 'ChartYAngle': '\\uF515',\n 'Combobox': '\\uF516',\n 'LineSpacing': '\\uF517',\n 'Padding': '\\uF518',\n 'PaddingTop': '\\uF519',\n 'PaddingBottom': '\\uF51A',\n 'PaddingLeft': '\\uF51B',\n 'PaddingRight': '\\uF51C',\n 'NavigationFlipper': '\\uF51D',\n 'AlignJustify': '\\uF51E',\n 'TextOverflow': '\\uF51F',\n 'VisualsFolder': '\\uF520',\n 'VisualsStore': '\\uF521',\n 'PictureCenter': '\\uF522',\n 'PictureFill': '\\uF523',\n 'PicturePosition': '\\uF524',\n 'PictureStretch': '\\uF525',\n 'PictureTile': '\\uF526',\n 'Slider': '\\uF527',\n 'SliderHandleSize': '\\uF528',\n 'DefaultRatio': '\\uF529',\n 'NumberSequence': '\\uF52A',\n 'GUID': '\\uF52B',\n 'ReportAdd': '\\uF52C',\n 'DashboardAdd': '\\uF52D',\n 'MapPinSolid': '\\uF52E',\n 'WebPublish': '\\uF52F',\n 'PieSingleSolid': '\\uF530',\n 'BlockedSolid': '\\uF531',\n 'DrillDown': '\\uF532',\n 'DrillDownSolid': '\\uF533',\n 'DrillExpand': '\\uF534',\n 'DrillShow': '\\uF535',\n 'SpecialEvent': '\\uF536',\n 'OneDriveFolder16': '\\uF53B',\n 'FunctionalManagerDashboard': '\\uF542',\n 'BIDashboard': '\\uF543',\n 'CodeEdit': '\\uF544',\n 'RenewalCurrent': '\\uF545',\n 'RenewalFuture': '\\uF546',\n 'SplitObject': '\\uF547',\n 'BulkUpload': '\\uF548',\n 'DownloadDocument': '\\uF549',\n 'GreetingCard': '\\uF54B',\n 'Flower': '\\uF54E',\n 'WaitlistConfirm': '\\uF550',\n 'WaitlistConfirmMirrored': '\\uF551',\n 'LaptopSecure': '\\uF552',\n 'DragObject': '\\uF553',\n 'EntryView': '\\uF554',\n 'EntryDecline': '\\uF555',\n 'ContactCardSettings': '\\uF556',\n 'ContactCardSettingsMirrored': '\\uF557'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-15\"`,\n src: `url('${baseUrl}fabric-icons-15-3807251b.woff') format('woff')`\n },\n icons: {\n 'CalendarSettings': '\\uF558',\n 'CalendarSettingsMirrored': '\\uF559',\n 'HardDriveLock': '\\uF55A',\n 'HardDriveUnlock': '\\uF55B',\n 'AccountManagement': '\\uF55C',\n 'ReportWarning': '\\uF569',\n 'TransitionPop': '\\uF5B2',\n 'TransitionPush': '\\uF5B3',\n 'TransitionEffect': '\\uF5B4',\n 'LookupEntities': '\\uF5B5',\n 'ExploreData': '\\uF5B6',\n 'AddBookmark': '\\uF5B7',\n 'SearchBookmark': '\\uF5B8',\n 'DrillThrough': '\\uF5B9',\n 'MasterDatabase': '\\uF5BA',\n 'CertifiedDatabase': '\\uF5BB',\n 'MaximumValue': '\\uF5BC',\n 'MinimumValue': '\\uF5BD',\n 'VisualStudioIDELogo32': '\\uF5D0',\n 'PasteAsText': '\\uF5D5',\n 'PasteAsCode': '\\uF5D6',\n 'BrowserTab': '\\uF5D7',\n 'BrowserTabScreenshot': '\\uF5D8',\n 'DesktopScreenshot': '\\uF5D9',\n 'FileYML': '\\uF5DA',\n 'ClipboardSolid': '\\uF5DC',\n 'FabricUserFolder': '\\uF5E5',\n 'FabricNetworkFolder': '\\uF5E6',\n 'BullseyeTarget': '\\uF5F0',\n 'AnalyticsView': '\\uF5F1',\n 'Video360Generic': '\\uF609',\n 'Untag': '\\uF60B',\n 'Leave': '\\uF627',\n 'Trending12': '\\uF62D',\n 'Blocked12': '\\uF62E',\n 'Warning12': '\\uF62F',\n 'CheckedOutByOther12': '\\uF630',\n 'CheckedOutByYou12': '\\uF631',\n 'CircleShapeSolid': '\\uF63C',\n 'SquareShapeSolid': '\\uF63D',\n 'TriangleShapeSolid': '\\uF63E',\n 'DropShapeSolid': '\\uF63F',\n 'RectangleShapeSolid': '\\uF640',\n 'ZoomToFit': '\\uF649',\n 'InsertColumnsLeft': '\\uF64A',\n 'InsertColumnsRight': '\\uF64B',\n 'InsertRowsAbove': '\\uF64C',\n 'InsertRowsBelow': '\\uF64D',\n 'DeleteColumns': '\\uF64E',\n 'DeleteRows': '\\uF64F',\n 'DeleteRowsMirrored': '\\uF650',\n 'DeleteTable': '\\uF651',\n 'AccountBrowser': '\\uF652',\n 'VersionControlPush': '\\uF664',\n 'StackedColumnChart2': '\\uF666',\n 'TripleColumnWide': '\\uF66E',\n 'QuadColumn': '\\uF66F',\n 'WhiteBoardApp16': '\\uF673',\n 'WhiteBoardApp32': '\\uF674',\n 'PinnedSolid': '\\uF676',\n 'InsertSignatureLine': '\\uF677',\n 'ArrangeByFrom': '\\uF678',\n 'Phishing': '\\uF679',\n 'CreateMailRule': '\\uF67A',\n 'PublishCourse': '\\uF699',\n 'DictionaryRemove': '\\uF69A',\n 'UserRemove': '\\uF69B',\n 'UserEvent': '\\uF69C',\n 'Encryption': '\\uF69D',\n 'PasswordField': '\\uF6AA',\n 'OpenInNewTab': '\\uF6AB',\n 'Hide3': '\\uF6AC',\n 'VerifiedBrandSolid': '\\uF6AD',\n 'MarkAsProtected': '\\uF6AE',\n 'AuthenticatorApp': '\\uF6B1',\n 'WebTemplate': '\\uF6B2',\n 'DefenderTVM': '\\uF6B3',\n 'MedalSolid': '\\uF6B9',\n 'D365TalentLearn': '\\uF6BB',\n 'D365TalentInsight': '\\uF6BC',\n 'D365TalentHRCore': '\\uF6BD',\n 'BacklogList': '\\uF6BF',\n 'ButtonControl': '\\uF6C0',\n 'TableGroup': '\\uF6D9',\n 'MountainClimbing': '\\uF6DB',\n 'TagUnknown': '\\uF6DF',\n 'TagUnknownMirror': '\\uF6E0',\n 'TagUnknown12': '\\uF6E1',\n 'TagUnknown12Mirror': '\\uF6E2',\n 'Link12': '\\uF6E3',\n 'Presentation': '\\uF6E4',\n 'Presentation12': '\\uF6E5',\n 'Lock12': '\\uF6E6',\n 'BuildDefinition': '\\uF6E9',\n 'ReleaseDefinition': '\\uF6EA',\n 'SaveTemplate': '\\uF6EC',\n 'UserGauge': '\\uF6ED',\n 'BlockedSiteSolid12': '\\uF70A',\n 'TagSolid': '\\uF70E',\n 'OfficeChat': '\\uF70F'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-16\"`,\n src: `url('${baseUrl}fabric-icons-16-9cf93f3b.woff') format('woff')`\n },\n icons: {\n 'OfficeChatSolid': '\\uF710',\n 'MailSchedule': '\\uF72E',\n 'WarningSolid': '\\uF736',\n 'Blocked2Solid': '\\uF737',\n 'SkypeCircleArrow': '\\uF747',\n 'SkypeArrow': '\\uF748',\n 'SyncStatus': '\\uF751',\n 'SyncStatusSolid': '\\uF752',\n 'ProjectDocument': '\\uF759',\n 'ToDoLogoOutline': '\\uF75B',\n 'VisioOnlineLogoFill32': '\\uF75F',\n 'VisioOnlineLogo32': '\\uF760',\n 'VisioOnlineLogoCloud32': '\\uF761',\n 'VisioDiagramSync': '\\uF762',\n 'Event12': '\\uF763',\n 'EventDateMissed12': '\\uF764',\n 'UserOptional': '\\uF767',\n 'ResponsesMenu': '\\uF768',\n 'DoubleDownArrow': '\\uF769',\n 'DistributeDown': '\\uF76A',\n 'BookmarkReport': '\\uF76B',\n 'FilterSettings': '\\uF76C',\n 'GripperDotsVertical': '\\uF772',\n 'MailAttached': '\\uF774',\n 'AddIn': '\\uF775',\n 'LinkedDatabase': '\\uF779',\n 'TableLink': '\\uF77A',\n 'PromotedDatabase': '\\uF77D',\n 'BarChartVerticalFilter': '\\uF77E',\n 'BarChartVerticalFilterSolid': '\\uF77F',\n 'MicOff2': '\\uF781',\n 'MicrosoftTranslatorLogo': '\\uF782',\n 'ShowTimeAs': '\\uF787',\n 'FileRequest': '\\uF789',\n 'WorkItemAlert': '\\uF78F',\n 'PowerBILogo16': '\\uF790',\n 'PowerBILogoBackplate16': '\\uF791',\n 'BulletedListText': '\\uF792',\n 'BulletedListBullet': '\\uF793',\n 'BulletedListTextMirrored': '\\uF794',\n 'BulletedListBulletMirrored': '\\uF795',\n 'NumberedListText': '\\uF796',\n 'NumberedListNumber': '\\uF797',\n 'NumberedListTextMirrored': '\\uF798',\n 'NumberedListNumberMirrored': '\\uF799',\n 'RemoveLinkChain': '\\uF79A',\n 'RemoveLinkX': '\\uF79B',\n 'FabricTextHighlight': '\\uF79C',\n 'ClearFormattingA': '\\uF79D',\n 'ClearFormattingEraser': '\\uF79E',\n 'Photo2Fill': '\\uF79F',\n 'IncreaseIndentText': '\\uF7A0',\n 'IncreaseIndentArrow': '\\uF7A1',\n 'DecreaseIndentText': '\\uF7A2',\n 'DecreaseIndentArrow': '\\uF7A3',\n 'IncreaseIndentTextMirrored': '\\uF7A4',\n 'IncreaseIndentArrowMirrored': '\\uF7A5',\n 'DecreaseIndentTextMirrored': '\\uF7A6',\n 'DecreaseIndentArrowMirrored': '\\uF7A7',\n 'CheckListText': '\\uF7A8',\n 'CheckListCheck': '\\uF7A9',\n 'CheckListTextMirrored': '\\uF7AA',\n 'CheckListCheckMirrored': '\\uF7AB',\n 'NumberSymbol': '\\uF7AC',\n 'Coupon': '\\uF7BC',\n 'VerifiedBrand': '\\uF7BD',\n 'ReleaseGate': '\\uF7BE',\n 'ReleaseGateCheck': '\\uF7BF',\n 'ReleaseGateError': '\\uF7C0',\n 'M365InvoicingLogo': '\\uF7C1',\n 'RemoveFromShoppingList': '\\uF7D5',\n 'ShieldAlert': '\\uF7D7',\n 'FabricTextHighlightComposite': '\\uF7DA',\n 'Dataflows': '\\uF7DD',\n 'GenericScanFilled': '\\uF7DE',\n 'DiagnosticDataBarTooltip': '\\uF7DF',\n 'SaveToMobile': '\\uF7E0',\n 'Orientation2': '\\uF7E1',\n 'ScreenCast': '\\uF7E2',\n 'ShowGrid': '\\uF7E3',\n 'SnapToGrid': '\\uF7E4',\n 'ContactList': '\\uF7E5',\n 'NewMail': '\\uF7EA',\n 'EyeShadow': '\\uF7EB',\n 'FabricFolderConfirm': '\\uF7FF',\n 'InformationBarriers': '\\uF803',\n 'CommentActive': '\\uF804',\n 'ColumnVerticalSectionEdit': '\\uF806',\n 'WavingHand': '\\uF807',\n 'ShakeDevice': '\\uF80A',\n 'SmartGlassRemote': '\\uF80B',\n 'Rotate90Clockwise': '\\uF80D',\n 'Rotate90CounterClockwise': '\\uF80E',\n 'CampaignTemplate': '\\uF811',\n 'ChartTemplate': '\\uF812',\n 'PageListFilter': '\\uF813',\n 'SecondaryNav': '\\uF814',\n 'ColumnVerticalSection': '\\uF81E',\n 'SkypeCircleSlash': '\\uF825',\n 'SkypeSlash': '\\uF826'\n }\n };\n\n registerIcons(subset, options);\n}\n"," // Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license\n\nimport {\n IIconOptions,\n IIconSubset,\n registerIcons\n} from '@fluentui/style-utilities';\n\nexport function initializeIcons(\n baseUrl: string = '',\n options?: IIconOptions\n): void {\n const subset: IIconSubset = {\n style: {\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontStyle: 'normal',\n fontWeight: 'normal',\n speak: 'none'\n },\n fontFace: {\n fontFamily: `\"FabricMDL2Icons-17\"`,\n src: `url('${baseUrl}fabric-icons-17-0c4ed701.woff') format('woff')`\n },\n icons: {\n 'CustomizeToolbar': '\\uF828',\n 'DuplicateRow': '\\uF82A',\n 'RemoveFromTrash': '\\uF82B',\n 'MailOptions': '\\uF82C',\n 'Childof': '\\uF82D',\n 'Footer': '\\uF82E',\n 'Header': '\\uF82F',\n 'BarChartVerticalFill': '\\uF830',\n 'StackedColumnChart2Fill': '\\uF831',\n 'PlainText': '\\uF834',\n 'AccessibiltyChecker': '\\uF835',\n 'DatabaseSync': '\\uF842',\n 'ReservationOrders': '\\uF845',\n 'TabOneColumn': '\\uF849',\n 'TabTwoColumn': '\\uF84A',\n 'TabThreeColumn': '\\uF84B',\n 'BulletedTreeList': '\\uF84C',\n 'MicrosoftTranslatorLogoGreen': '\\uF852',\n 'MicrosoftTranslatorLogoBlue': '\\uF853',\n 'InternalInvestigation': '\\uF854',\n 'AddReaction': '\\uF85D',\n 'ContactHeart': '\\uF862',\n 'VisuallyImpaired': '\\uF866',\n 'EventToDoLogo': '\\uF869',\n 'Variable2': '\\uF86D',\n 'ModelingView': '\\uF871',\n 'DisconnectVirtualMachine': '\\uF873',\n 'ReportLock': '\\uF875',\n 'Uneditable2': '\\uF876',\n 'Uneditable2Mirrored': '\\uF877',\n 'BarChartVerticalEdit': '\\uF89D',\n 'GlobalNavButtonActive': '\\uF89F',\n 'PollResults': '\\uF8A0',\n 'Rerun': '\\uF8A1',\n 'QandA': '\\uF8A2',\n 'QandAMirror': '\\uF8A3',\n 'BookAnswers': '\\uF8A4',\n 'AlertSettings': '\\uF8B6',\n 'TrimStart': '\\uF8BB',\n 'TrimEnd': '\\uF8BC',\n 'TableComputed': '\\uF8F5',\n 'DecreaseIndentLegacy': '\\uE290',\n 'IncreaseIndentLegacy': '\\uE291',\n 'SizeLegacy': '\\uE2B2'\n }\n };\n\n registerIcons(subset, options);\n}\n","import { registerIconAlias } from '@fluentui/style-utilities';\n\nexport const registerIconAliases = () => {\n registerIconAlias('trash', 'delete');\n registerIconAlias('onedrive', 'onedrivelogo');\n registerIconAlias('alertsolid12', 'eventdatemissed12');\n registerIconAlias('sixpointstar', '6pointstar');\n registerIconAlias('twelvepointstar', '12pointstar');\n registerIconAlias('toggleon', 'toggleleft');\n registerIconAlias('toggleoff', 'toggleright');\n};\n\nexport default registerIconAliases;\n","// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/font-icons-mdl2', '8.5.25');","import { initializeIcons as i } from './fabric-icons';\nimport { initializeIcons as i0 } from './fabric-icons-0';\nimport { initializeIcons as i1 } from './fabric-icons-1';\nimport { initializeIcons as i2 } from './fabric-icons-2';\nimport { initializeIcons as i3 } from './fabric-icons-3';\nimport { initializeIcons as i4 } from './fabric-icons-4';\nimport { initializeIcons as i5 } from './fabric-icons-5';\nimport { initializeIcons as i6 } from './fabric-icons-6';\nimport { initializeIcons as i7 } from './fabric-icons-7';\nimport { initializeIcons as i8 } from './fabric-icons-8';\nimport { initializeIcons as i9 } from './fabric-icons-9';\nimport { initializeIcons as i10 } from './fabric-icons-10';\nimport { initializeIcons as i11 } from './fabric-icons-11';\nimport { initializeIcons as i12 } from './fabric-icons-12';\nimport { initializeIcons as i13 } from './fabric-icons-13';\nimport { initializeIcons as i14 } from './fabric-icons-14';\nimport { initializeIcons as i15 } from './fabric-icons-15';\nimport { initializeIcons as i16 } from './fabric-icons-16';\nimport { initializeIcons as i17 } from './fabric-icons-17';\nimport { IIconOptions, FLUENT_CDN_BASE_URL } from '@fluentui/style-utilities';\nimport { registerIconAliases } from './iconAliases';\nimport { getWindow } from '@fluentui/utilities';\n\nconst DEFAULT_BASE_URL = `${FLUENT_CDN_BASE_URL}/assets/icons/`;\n\n/*\n * The Window variable has the iconBaseUrl prop in order to allow for users to redirect icon font downloads to a new\n * URL. The config can be burned on the page to ensure there are no race conditions which might load resources on\n * script load.\n */\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n interface Window {\n /**\n * The FabricConfig options can be burned on the page prior to script load to provide\n * alternative defaults at script load time. This helps avoid race conditions by calling\n * `initializeIcons` too late, or in cases where you can't control the `initializeIcons` call,\n * such as using the pre-created Fluent bundle.\n */\n FabricConfig?: {\n /**\n * Controls the base url of the font files. This is useful for scenarios where the fonts\n * are stored on a private CDN other than the default SharePoint CDN.\n */\n fontBaseUrl?: string;\n\n /**\n * Controls the base url of the icon font files. This is useful for scenarios where the icons\n * are stored on a private CDN other than the default SharePoint CDN. Note that in prior\n * iterations, `fontBaseUrl` was used to control both font and icon base urls. While you can\n * still use `fontBaseUrl` to provide a single base url for both, the `iconBaseUrl` will be\n * used first if available.\n */\n iconBaseUrl?: string;\n };\n }\n}\n\nconst win = getWindow();\n\nexport function initializeIcons(\n baseUrl: string = win?.FabricConfig?.iconBaseUrl || win?.FabricConfig?.fontBaseUrl || DEFAULT_BASE_URL,\n options?: IIconOptions,\n): void {\n [i, i0, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17].forEach(\n (initialize: (url: string, options?: IIconOptions) => void) => initialize(baseUrl, options),\n );\n\n registerIconAliases();\n}\n\n/* eslint-disable deprecation/deprecation */\nexport type { IconNamesInput } from './IconNames';\nexport { IconNames } from './IconNames';\n/* eslint-enable deprecation/deprecation */\n\nimport './version';\n","import * as React from 'react';\nimport { concatStyleSets, IStyleSet, ITheme } from '@fluentui/style-utilities';\nimport { Customizations, CustomizerContext, ICustomizerContext } from '@fluentui/utilities';\nimport { createFactory } from './slots';\nimport { assign } from './utilities';\n\nimport {\n IComponentOptions,\n ICustomizationProps,\n IStyleableComponentProps,\n IStylesFunctionOrObject,\n IToken,\n ITokenFunction,\n IViewComponent,\n} from './IComponent';\nimport { IDefaultSlotProps, ISlotCreator, ValidProps } from './ISlots';\n\n/**\n * Assembles a higher order component based on the following: styles, theme, view, and state.\n * Imposes a separation of concern and centralizes styling processing to increase ease of use and robustness\n * in how components use and apply styling and theming.\n *\n * Automatically merges and applies themes and styles with theme / styleprops having the highest priority.\n * State component, if provided, is passed in props for processing. Props from state / user are automatically processed\n * and styled before finally being passed to view.\n *\n * State components should contain all stateful behavior and should not generate any JSX, but rather simply call\n * the view prop.\n *\n * Views should simply be stateless pure functions that receive all props needed for rendering their output.\n *\n * State component is optional. If state is not provided, created component is essentially a functional\n * stateless component.\n *\n * @param options - component Component options. See IComponentOptions for more detail.\n */\nexport function createComponent<\n TComponentProps extends ValidProps,\n TTokens,\n TStyleSet extends IStyleSet,\n TViewProps extends TComponentProps = TComponentProps,\n TStatics = {},\n>(\n view: IViewComponent,\n options: IComponentOptions = {},\n): React.FunctionComponent & TStatics {\n const { factoryOptions = {} } = options;\n const { defaultProp } = factoryOptions;\n\n const ResultComponent: React.FunctionComponent = (\n componentProps: TComponentProps & IStyleableComponentProps,\n ) => {\n const settings: ICustomizationProps = _getCustomizations(\n options.displayName,\n React.useContext(CustomizerContext),\n options.fields,\n );\n\n const stateReducer = options.state;\n\n if (stateReducer) {\n // Don't assume state will return all props, so spread useState result over component props.\n componentProps = {\n ...componentProps,\n ...stateReducer(componentProps),\n };\n }\n\n const theme = componentProps.theme || settings.theme;\n\n const tokens = _resolveTokens(componentProps, theme, options.tokens, settings.tokens, componentProps.tokens);\n const styles = _resolveStyles(\n componentProps,\n theme,\n tokens,\n options.styles,\n settings.styles,\n componentProps.styles,\n );\n\n const viewProps = {\n ...componentProps,\n styles,\n tokens,\n _defaultStyles: styles,\n theme,\n } as unknown as TViewProps & IDefaultSlotProps;\n\n return view(viewProps);\n };\n\n ResultComponent.displayName = options.displayName || view.name;\n\n // If a shorthand prop is defined, create a factory for the component.\n // TODO: This shouldn't be a concern of createComponent.. factoryOptions should just be forwarded.\n // Need to weigh creating default factories on component creation vs. memoizing them on use in slots.tsx.\n if (defaultProp) {\n (ResultComponent as ISlotCreator).create = createFactory(ResultComponent, { defaultProp });\n }\n\n assign(ResultComponent, options.statics);\n\n // Later versions of TypeSript should allow us to merge objects in a type safe way and avoid this cast.\n return ResultComponent as React.FunctionComponent & TStatics;\n}\n\n/**\n * Resolve all styles functions with both props and tokens and flatten results along with all styles objects.\n */\nfunction _resolveStyles>(\n props: TProps,\n theme: ITheme,\n tokens: TTokens,\n ...allStyles: (IStylesFunctionOrObject | undefined)[]\n): ReturnType {\n return concatStyleSets(\n ...allStyles.map((styles: IStylesFunctionOrObject | undefined) =>\n typeof styles === 'function' ? styles(props, theme, tokens) : styles,\n ),\n );\n}\n\n/**\n * Resolve all tokens functions with props flatten results along with all tokens objects.\n */\nfunction _resolveTokens(\n props: TViewProps,\n theme: ITheme,\n ...allTokens: (IToken | false | null | undefined)[]\n): TTokens {\n const tokens = {};\n\n for (let currentTokens of allTokens) {\n if (currentTokens) {\n // TODO: why is this cast needed? TS seems to think there is a (TToken | Function) union from somewhere.\n currentTokens =\n typeof currentTokens === 'function'\n ? (currentTokens as ITokenFunction)(props, theme)\n : currentTokens;\n\n if (Array.isArray(currentTokens)) {\n currentTokens = _resolveTokens(props, theme, ...currentTokens);\n }\n\n assign(tokens, currentTokens);\n }\n }\n\n return tokens as TTokens;\n}\n\n/**\n * Helper function for calling Customizations.getSettings falling back to default fields.\n *\n * @param displayName Displayable name for component.\n * @param context React context passed to component containing contextual settings.\n * @param fields Optional list of properties to grab from global store and context.\n */\nfunction _getCustomizations>(\n displayName: string | undefined,\n context: ICustomizerContext,\n fields?: string[],\n): ICustomizationProps {\n // TODO: do we want field props? should fields be part of IComponent and used here?\n // TODO: should we centrally define DefaultFields? (not exported from styling)\n // TODO: tie this array to ICustomizationProps, such that each array element is keyof ICustomizationProps\n const DefaultFields = ['theme', 'styles', 'tokens'];\n return Customizations.getSettings(fields || DefaultFields, displayName, context.customizations);\n}\n","import * as React from 'react';\nimport { mergeCss } from '@fluentui/merge-styles';\nimport { IStyle, ITheme } from '@fluentui/style-utilities';\nimport { getRTL, memoizeFunction } from '@fluentui/utilities';\nimport { assign } from './utilities';\nimport { IFactoryOptions } from './IComponent';\nimport {\n ISlottableReactType,\n ISlot,\n ISlots,\n ISlotDefinition,\n ISlotFactory,\n ISlotProp,\n ISlottableProps,\n ISlotOptions,\n IDefaultSlotProps,\n IProcessedSlotProps,\n ValidProps,\n ValidShorthand,\n} from './ISlots';\n\n/**\n * This function is required for any module that uses slots.\n *\n * This function is a slot resolver that automatically evaluates slot functions to generate React elements.\n * A byproduct of this resolver is that it removes slots from the React hierarchy by bypassing React.createElement.\n *\n * To use this function on a per-file basis, use the jsx directive targeting withSlots.\n * This directive must be the FIRST LINE in the file to work correctly.\n * Usage of this pragma also requires withSlots import statement.\n *\n * See React.createElement\n */\n// Can't use typeof on React.createElement since it's overloaded. Approximate createElement's signature for now\n// and widen as needed.\nexport function withSlots

(\n type: ISlot

| React.FunctionComponent

| string,\n props?: (React.Attributes & P) | null,\n ...children: React.ReactNode[]\n): ReturnType> {\n const slotType = type as ISlot

;\n if (slotType.isSlot) {\n // Since we are bypassing createElement, use React.Children.toArray to make sure children are\n // properly assigned keys.\n // TODO: should this be mutating? does React mutate children subprop with createElement?\n // TODO: will toArray clobber existing keys?\n // TODO: React generates warnings because it doesn't detect hidden member _store that is set in createElement.\n // Even children passed to createElement without keys don't generate this warning.\n // Is there a better way to prevent slots from appearing in hierarchy? toArray doesn't address root issue.\n children = React.Children.toArray(children);\n\n // TODO: There is something weird going on here with children embedded in props vs. rest args.\n // Comment out these lines to see. Make sure this function is doing the right things.\n if (children.length === 0) {\n return slotType(props);\n }\n\n return slotType({ ...(props as any), children });\n } else {\n // TODO: Are there some cases where children should NOT be spread? Also, spreading reraises perf question.\n // Children had to be spread to avoid breaking KeytipData in Toggle.view:\n // react-dom.development.js:18931 Uncaught TypeError: children is not a function\n // Without spread, function child is a child array of one element\n // TODO: is there a reason this can't be:\n // return React.createElement.apply(this, arguments);\n return React.createElement(type, props, ...children);\n }\n}\n\n/**\n * This function creates factories that render ouput depending on the user ISlotProp props passed in.\n * @param DefaultComponent - Base component to render when not overridden by user props.\n * @param options - Factory options, including defaultProp value for shorthand prop mapping.\n * @returns ISlotFactory function used for rendering slots.\n */\nexport function createFactory(\n DefaultComponent: React.ComponentType,\n options: IFactoryOptions = {},\n): ISlotFactory {\n const { defaultProp = 'children' } = options;\n\n const result: ISlotFactory = (\n componentProps,\n userProps,\n userSlotOptions,\n defaultStyles,\n theme,\n ) => {\n // If they passed in raw JSX, just return that.\n if (React.isValidElement(userProps)) {\n return userProps;\n }\n\n const flattenedUserProps: TProps | undefined = _translateShorthand(defaultProp as string, userProps);\n const finalProps = _constructFinalProps(defaultStyles, theme, componentProps, flattenedUserProps);\n\n if (userSlotOptions) {\n if (userSlotOptions.component) {\n // TODO: Remove cast if possible. This cast is needed because TS errors on the intrinsic portion of ReactType.\n // return ;\n const UserComponent = userSlotOptions.component as React.ComponentType;\n return ;\n }\n\n if (userSlotOptions.render) {\n return userSlotOptions.render(finalProps, DefaultComponent);\n }\n }\n\n return ;\n };\n\n return result;\n}\n\n/**\n * Default factory for components without explicit factories.\n */\nconst defaultFactory = memoizeFunction(type => createFactory(type));\n\n/**\n * This function generates slots that can be used in JSX given a definition of slots and their corresponding types.\n * @param userProps - Props as pass to component.\n * @param slots - Slot definition object defining the default slot component for each slot.\n * @returns A set of created slots that components can render in JSX.\n */\nexport function getSlots, TComponentSlots>(\n userProps: TComponentProps,\n slots: ISlotDefinition>,\n): ISlots> {\n const result: ISlots> = {} as ISlots>;\n\n // userProps already has default props mixed in by createComponent. Recast here to gain typing for this function.\n const mixedProps = userProps as TComponentProps & IDefaultSlotProps;\n\n for (const name in slots) {\n if (slots.hasOwnProperty(name)) {\n // This closure method requires the use of withSlots to prevent unnecessary rerenders. This is because React\n // detects each closure as a different component (since it is a new instance) from the previous one and then\n // forces a rerender of the entire slot subtree. For now, the only way to avoid this is to use withSlots, which\n // bypasses the call to React.createElement.\n const slot: ISlots>[keyof TComponentSlots] = (componentProps, ...args: any[]) => {\n if (args.length > 0) {\n // If React.createElement is being incorrectly used with slots, there will be additional arguments.\n // We can detect these additional arguments and error on their presence.\n throw new Error('Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.');\n }\n // TODO: having TS infer types here seems to cause infinite loop.\n // use explicit types or casting to preserve typing if possible.\n // TODO: this should be a lookup on TProps property instead of being TProps directly, which is probably\n // causing the infinite loop\n return _renderSlot(\n slots[name],\n // TODO: this cast to any is hiding a relationship issue between the first two args\n componentProps as any,\n mixedProps[name],\n mixedProps.slots && mixedProps.slots[name],\n // _defaultStyles should always be present, but a check for existence is added to make view tests\n // easier to use.\n mixedProps._defaultStyles && mixedProps._defaultStyles[name],\n (mixedProps as any).theme,\n );\n };\n slot.isSlot = true;\n result[name] = slot;\n }\n }\n\n return result;\n}\n\n/**\n * Helper function that translates shorthand as needed.\n * @param defaultProp\n * @param slotProps\n */\nfunction _translateShorthand(\n defaultProp: string,\n slotProps: ISlotProp,\n): TProps | undefined {\n let transformedProps: TProps | undefined;\n\n if (typeof slotProps === 'string' || typeof slotProps === 'number' || typeof slotProps === 'boolean') {\n transformedProps = {\n [defaultProp]: slotProps as any,\n } as TProps;\n } else {\n transformedProps = slotProps as TProps;\n }\n\n return transformedProps;\n}\n\n/**\n * Helper function that constructs final styles and props given a series of props ordered by increasing priority.\n */\nfunction _constructFinalProps(\n defaultStyles: IStyle,\n theme?: ITheme,\n ...allProps: (TProps | undefined)[]\n): TProps {\n const finalProps: TProps = {} as any;\n const classNames: (string | undefined)[] = [];\n\n for (const props of allProps) {\n classNames.push(props && props.className);\n assign(finalProps, props);\n }\n\n finalProps.className = mergeCss([defaultStyles, classNames], { rtl: getRTL(theme) });\n\n return finalProps;\n}\n\n/**\n * Render a slot given component and user props. Uses component factory if available, otherwise falls back\n * to default factory.\n * @param ComponentType Factory component type.\n * @param componentProps The properties passed into slot from within the component.\n * @param userProps The user properties passed in from outside of the component.\n */\nfunction _renderSlot<\n TSlotComponent extends ISlottableReactType,\n TSlotProps extends ValidProps,\n TSlotShorthand extends ValidShorthand,\n>(\n ComponentType: TSlotComponent,\n componentProps: TSlotProps,\n userProps: ISlotProp,\n slotOptions: ISlotOptions | undefined,\n defaultStyles: IStyle,\n theme?: ITheme,\n): ReturnType {\n if (ComponentType.create !== undefined) {\n return ComponentType.create(componentProps, userProps, slotOptions, defaultStyles);\n } else {\n // TODO: need to resolve typing / generic issues passing through memoizeFunction. for now, cast to 'unknown'\n return (defaultFactory(ComponentType) as unknown as ISlotFactory)(\n componentProps,\n userProps,\n slotOptions,\n defaultStyles,\n theme,\n );\n }\n}\n","import { __assign } from 'tslib';\nexport const assign = __assign;\n","import { IStyleOptions } from './IStyleOptions';\n\n/**\n * Sets the current RTL value.\n */\nexport function setRTL(isRTL: boolean): void {\n if (_rtl !== isRTL) {\n _rtl = isRTL;\n }\n}\n\n/**\n * Gets the current RTL value.\n */\nexport function getRTL(): boolean {\n if (_rtl === undefined) {\n _rtl =\n typeof document !== 'undefined' &&\n !!document.documentElement &&\n document.documentElement.getAttribute('dir') === 'rtl';\n }\n return _rtl;\n}\n\n// This has been split into 2 lines because it was working in Fabric due to the code being transpiled to es5, so this\n// was converted to var while not working in Fluent that uses babel to transpile the code to be es6-like. Splitting the\n// logic into two lines, however, allows it to work in both scenarios.\nlet _rtl: boolean;\n_rtl = getRTL();\n\nexport function getStyleOptions(): IStyleOptions {\n return {\n rtl: getRTL(),\n };\n}\n","import { IStyle } from './IStyle';\n\nexport const InjectionMode = {\n /**\n * Avoids style injection, use getRules() to read the styles.\n */\n none: 0 as 0,\n\n /**\n * Inserts rules using the insertRule api.\n */\n insertNode: 1 as 1,\n\n /**\n * Appends rules using appendChild.\n */\n appendChild: 2 as 2,\n};\n\nexport type InjectionMode = (typeof InjectionMode)[keyof typeof InjectionMode];\n\n/**\n * CSP settings for the stylesheet\n */\nexport interface ICSPSettings {\n /**\n * Nonce to inject into script tag\n */\n nonce?: string;\n}\n\n/**\n * Stylesheet config.\n *\n * @public\n */\nexport interface IStyleSheetConfig {\n /**\n * Injection mode for how rules are inserted.\n */\n injectionMode?: InjectionMode;\n\n /**\n * Default 'displayName' to use for a className.\n * @defaultvalue 'css'\n */\n defaultPrefix?: string;\n\n /**\n * Defines the default direction of rules for auto-rtlifying things.\n * While typically this is represented as a DIR attribute in the markup,\n * the DIR is not enough to control whether padding goes on the left or\n * right. Use this to set the default direction when rules are registered.\n */\n rtl?: boolean;\n\n /**\n * Default 'namespace' to attach before the className.\n */\n namespace?: string;\n\n /**\n * CSP settings\n */\n cspSettings?: ICSPSettings;\n\n /**\n * Callback executed when a rule is inserted.\n * @deprecated Use `Stylesheet.onInsertRule` instead.\n */\n onInsertRule?: (rule: string) => void;\n\n /**\n * Initial value for classnames cache. Key is serialized css rules associated with a classname.\n */\n classNameCache?: { [key: string]: string };\n}\n\n/**\n * Representation of Stylesheet used for rehydration.\n */\nexport interface ISerializedStylesheet {\n classNameToArgs: Stylesheet['_classNameToArgs'];\n counter: Stylesheet['_counter'];\n keyToClassName: Stylesheet['_keyToClassName'];\n preservedRules: Stylesheet['_preservedRules'];\n rules: Stylesheet['_rules'];\n}\n\nconst STYLESHEET_SETTING = '__stylesheet__';\n/**\n * MSIE 11 doesn't cascade styles based on DOM ordering, but rather on the order that each style node\n * is created. As such, to maintain consistent priority, IE11 should reuse a single style node.\n */\nconst REUSE_STYLE_NODE = typeof navigator !== 'undefined' && /rv:11.0/.test(navigator.userAgent);\n\nlet _global: (Window | {}) & {\n [STYLESHEET_SETTING]?: Stylesheet;\n FabricConfig?: {\n mergeStyles?: IStyleSheetConfig;\n serializedStylesheet?: ISerializedStylesheet;\n };\n} = {};\n\n// Grab window.\ntry {\n // Why the cast?\n // if compiled/type checked in same program with `@fluentui/font-icons-mdl2` which extends `Window` on global\n // ( check packages/font-icons-mdl2/src/index.ts ) the definitions don't match! Thus the need of this extra assertion\n _global = (window || {}) as typeof _global;\n} catch {\n /* leave as blank object */\n}\n\nlet _stylesheet: Stylesheet | undefined;\n\n/**\n * Represents the state of styles registered in the page. Abstracts\n * the surface for adding styles to the stylesheet, exposes helpers\n * for reading the styles registered in server rendered scenarios.\n *\n * @public\n */\nexport class Stylesheet {\n private _lastStyleElement?: HTMLStyleElement;\n private _styleElement?: HTMLStyleElement;\n private _rules: string[] = [];\n private _preservedRules: string[] = [];\n private _config: IStyleSheetConfig;\n private _counter = 0;\n private _keyToClassName: { [key: string]: string } = {};\n private _onInsertRuleCallbacks: Function[] = [];\n private _onResetCallbacks: Function[] = [];\n private _classNameToArgs: { [key: string]: { args: any; rules: string[] } } = {};\n\n /**\n * Gets the singleton instance.\n */\n public static getInstance(): Stylesheet {\n _stylesheet = _global[STYLESHEET_SETTING] as Stylesheet;\n\n if (!_stylesheet || (_stylesheet._lastStyleElement && _stylesheet._lastStyleElement.ownerDocument !== document)) {\n const fabricConfig = _global?.FabricConfig || {};\n\n const stylesheet = new Stylesheet(fabricConfig.mergeStyles, fabricConfig.serializedStylesheet);\n _stylesheet = stylesheet;\n _global[STYLESHEET_SETTING] = stylesheet;\n }\n\n return _stylesheet;\n }\n\n constructor(config?: IStyleSheetConfig, serializedStylesheet?: ISerializedStylesheet) {\n this._config = {\n // If there is no document we won't have an element to inject into.\n injectionMode: typeof document === 'undefined' ? InjectionMode.none : InjectionMode.insertNode,\n defaultPrefix: 'css',\n namespace: undefined,\n cspSettings: undefined,\n ...config,\n };\n\n this._classNameToArgs = serializedStylesheet?.classNameToArgs ?? this._classNameToArgs;\n this._counter = serializedStylesheet?.counter ?? this._counter;\n this._keyToClassName = this._config.classNameCache ?? serializedStylesheet?.keyToClassName ?? this._keyToClassName;\n this._preservedRules = serializedStylesheet?.preservedRules ?? this._preservedRules;\n this._rules = serializedStylesheet?.rules ?? this._rules;\n }\n\n /**\n * Serializes the Stylesheet instance into a format which allows rehydration on creation.\n * @returns string representation of `ISerializedStylesheet` interface.\n */\n public serialize(): string {\n return JSON.stringify({\n classNameToArgs: this._classNameToArgs,\n counter: this._counter,\n keyToClassName: this._keyToClassName,\n preservedRules: this._preservedRules,\n rules: this._rules,\n });\n }\n\n /**\n * Configures the stylesheet.\n */\n public setConfig(config?: IStyleSheetConfig): void {\n this._config = {\n ...this._config,\n ...config,\n };\n }\n\n /**\n * Configures a reset callback.\n *\n * @param callback - A callback which will be called when the Stylesheet is reset.\n * @returns function which when called un-registers provided callback.\n */\n public onReset(callback: Function): Function {\n this._onResetCallbacks.push(callback);\n\n return () => {\n this._onResetCallbacks = this._onResetCallbacks.filter(cb => cb !== callback);\n };\n }\n\n /**\n * Configures an insert rule callback.\n *\n * @param callback - A callback which will be called when a rule is inserted.\n * @returns function which when called un-registers provided callback.\n */\n public onInsertRule(callback: Function): Function {\n this._onInsertRuleCallbacks.push(callback);\n\n return () => {\n this._onInsertRuleCallbacks = this._onInsertRuleCallbacks.filter(cb => cb !== callback);\n };\n }\n\n /**\n * Generates a unique classname.\n *\n * @param displayName - Optional value to use as a prefix.\n */\n public getClassName(displayName?: string): string {\n const { namespace } = this._config;\n const prefix = displayName || this._config.defaultPrefix;\n\n return `${namespace ? namespace + '-' : ''}${prefix}-${this._counter++}`;\n }\n\n /**\n * Used internally to cache information about a class which was\n * registered with the stylesheet.\n */\n public cacheClassName(className: string, key: string, args: IStyle[], rules: string[]): void {\n this._keyToClassName[key] = className;\n this._classNameToArgs[className] = {\n args,\n rules,\n };\n }\n\n /**\n * Gets the appropriate classname given a key which was previously\n * registered using cacheClassName.\n */\n public classNameFromKey(key: string): string | undefined {\n return this._keyToClassName[key];\n }\n\n /**\n * Gets all classnames cache with the stylesheet.\n */\n public getClassNameCache(): { [key: string]: string } {\n return this._keyToClassName;\n }\n\n /**\n * Gets the arguments associated with a given classname which was\n * previously registered using cacheClassName.\n */\n public argsFromClassName(className: string): IStyle[] | undefined {\n const entry = this._classNameToArgs[className];\n\n return entry && entry.args;\n }\n\n /**\n * Gets the rules associated with a given classname which was\n * previously registered using cacheClassName.\n */\n public insertedRulesFromClassName(className: string): string[] | undefined {\n const entry = this._classNameToArgs[className];\n\n return entry && entry.rules;\n }\n\n /**\n * Inserts a css rule into the stylesheet.\n * @param preserve - Preserves the rule beyond a reset boundary.\n */\n public insertRule(rule: string, preserve?: boolean): void {\n const { injectionMode } = this._config;\n const element = injectionMode !== InjectionMode.none ? this._getStyleElement() : undefined;\n\n if (preserve) {\n this._preservedRules.push(rule);\n }\n\n if (element) {\n switch (injectionMode) {\n case InjectionMode.insertNode:\n const { sheet } = element!;\n\n try {\n (sheet as CSSStyleSheet).insertRule(rule, (sheet as CSSStyleSheet).cssRules.length);\n } catch (e) {\n // The browser will throw exceptions on unsupported rules (such as a moz prefix in webkit.)\n // We need to swallow the exceptions for this scenario, otherwise we'd need to filter\n // which could be slower and bulkier.\n }\n break;\n\n case InjectionMode.appendChild:\n element.appendChild(document.createTextNode(rule));\n break;\n }\n } else {\n this._rules.push(rule);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n if (this._config.onInsertRule) {\n // eslint-disable-next-line deprecation/deprecation\n this._config.onInsertRule(rule);\n }\n\n this._onInsertRuleCallbacks.forEach(callback => callback());\n }\n\n /**\n * Gets all rules registered with the stylesheet; only valid when\n * using InsertionMode.none.\n */\n public getRules(includePreservedRules?: boolean): string {\n return (includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('');\n }\n\n /**\n * Resets the internal state of the stylesheet. Only used in server\n * rendered scenarios where we're using InsertionMode.none.\n */\n public reset(): void {\n this._rules = [];\n this._counter = 0;\n this._classNameToArgs = {};\n this._keyToClassName = {};\n\n this._onResetCallbacks.forEach(callback => callback());\n }\n\n // Forces the regeneration of incoming styles without totally resetting the stylesheet.\n public resetKeys(): void {\n this._keyToClassName = {};\n }\n\n private _getStyleElement(): HTMLStyleElement | undefined {\n if (!this._styleElement && typeof document !== 'undefined') {\n this._styleElement = this._createStyleElement();\n\n if (!REUSE_STYLE_NODE) {\n // Reset the style element on the next frame.\n window.requestAnimationFrame(() => {\n this._styleElement = undefined;\n });\n }\n }\n return this._styleElement;\n }\n\n private _createStyleElement(): HTMLStyleElement {\n const head: HTMLHeadElement = document.head;\n const styleElement = document.createElement('style');\n let nodeToInsertBefore: Node | null = null;\n\n styleElement.setAttribute('data-merge-styles', 'true');\n\n const { cspSettings } = this._config;\n if (cspSettings) {\n if (cspSettings.nonce) {\n styleElement.setAttribute('nonce', cspSettings.nonce);\n }\n }\n if (this._lastStyleElement) {\n // If the `nextElementSibling` is null, then the insertBefore will act as a regular append.\n // https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore#Syntax\n nodeToInsertBefore = this._lastStyleElement.nextElementSibling;\n } else {\n const placeholderStyleTag: Element | null = this._findPlaceholderStyleTag();\n\n if (placeholderStyleTag) {\n nodeToInsertBefore = placeholderStyleTag.nextElementSibling;\n } else {\n nodeToInsertBefore = head.childNodes[0];\n }\n }\n\n head!.insertBefore(styleElement, head!.contains(nodeToInsertBefore) ? nodeToInsertBefore : null);\n this._lastStyleElement = styleElement;\n\n return styleElement;\n }\n\n private _findPlaceholderStyleTag(): Element | null {\n const head: HTMLHeadElement = document.head;\n if (head) {\n return head.querySelector('style[data-merge-styles]');\n }\n return null;\n }\n}\n","import { IStyleSet, IConcatenatedStyleSet } from './IStyleSet';\nimport { IStyleBase, IStyle } from './IStyle';\nimport { IStyleFunctionOrObject } from './IStyleFunction';\nimport { ObjectOnly } from './ObjectOnly';\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSet - The first style set to be concatenated.\n */\nexport function concatStyleSets(\n styleSet: TStyleSet | false | null | undefined,\n): IConcatenatedStyleSet>;\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSet1 - The first style set to be concatenated.\n * @param styleSet2 - The second style set to be concatenated.\n */\nexport function concatStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n): IConcatenatedStyleSet & ObjectOnly>;\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSet1 - The first style set to be concatenated.\n * @param styleSet2 - The second style set to be concatenated.\n * @param styleSet3 - The third style set to be concatenated.\n */\nexport function concatStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n styleSet3: TStyleSet3 | false | null | undefined,\n): IConcatenatedStyleSet & ObjectOnly & ObjectOnly>;\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSet1 - The first style set to be concatenated.\n * @param styleSet2 - The second style set to be concatenated.\n * @param styleSet3 - The third style set to be concatenated.\n * @param styleSet4 - The fourth style set to be concatenated.\n */\nexport function concatStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n styleSet3: TStyleSet3 | false | null | undefined,\n styleSet4: TStyleSet4 | false | null | undefined,\n): IConcatenatedStyleSet<\n ObjectOnly & ObjectOnly & ObjectOnly & ObjectOnly\n>;\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSet1 - The first style set to be concatenated.\n * @param styleSet2 - The second style set to be concatenated.\n * @param styleSet3 - The third style set to be concatenated.\n * @param styleSet4 - The fourth style set to be concatenated.\n * @param styleSet5 - The fifth set to be concatenated.\n */\nexport function concatStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n styleSet3: TStyleSet3 | false | null | undefined,\n styleSet4: TStyleSet4 | false | null | undefined,\n styleSet5: TStyleSet5 | false | null | undefined,\n): IConcatenatedStyleSet<\n ObjectOnly &\n ObjectOnly &\n ObjectOnly &\n ObjectOnly &\n ObjectOnly\n>;\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSet1 - The first style set to be concatenated.\n * @param styleSet2 - The second style set to be concatenated.\n * @param styleSet3 - The third style set to be concatenated.\n * @param styleSet4 - The fourth style set to be concatenated.\n * @param styleSet5 - The fifth set to be concatenated.\n * @param styleSet6 - The sixth set to be concatenated.\n */\nexport function concatStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n styleSet3: TStyleSet3 | false | null | undefined,\n styleSet4: TStyleSet4 | false | null | undefined,\n styleSet5: TStyleSet5 | false | null | undefined,\n styleSet6: TStyleSet6 | false | null | undefined,\n): IConcatenatedStyleSet<\n ObjectOnly &\n ObjectOnly &\n ObjectOnly &\n ObjectOnly &\n ObjectOnly &\n ObjectOnly\n>;\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSets - One or more stylesets to be merged (each param can also be falsy).\n */\nexport function concatStyleSets(...styleSets: (IStyleSet | false | null | undefined)[]): IConcatenatedStyleSet;\n\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSets - One or more stylesets to be merged (each param can also be falsy).\n */\nexport function concatStyleSets(...styleSets: (IStyleSet | false | null | undefined)[]): IConcatenatedStyleSet {\n if (styleSets && styleSets.length === 1 && styleSets[0] && !(styleSets[0] as IStyleSet).subComponentStyles) {\n return styleSets[0] as IConcatenatedStyleSet;\n }\n\n const mergedSet: IConcatenatedStyleSet = {};\n\n // We process sub component styles in two phases. First we collect them, then we combine them into 1 style function.\n const workingSubcomponentStyles: { [key: string]: Array> } = {};\n\n for (const currentSet of styleSets) {\n if (currentSet) {\n for (const prop in currentSet) {\n if (currentSet.hasOwnProperty(prop)) {\n if (prop === 'subComponentStyles' && currentSet.subComponentStyles !== undefined) {\n // subcomponent styles - style functions or objects\n\n const currentComponentStyles = currentSet.subComponentStyles;\n for (const subCompProp in currentComponentStyles) {\n if (currentComponentStyles.hasOwnProperty(subCompProp)) {\n if (workingSubcomponentStyles.hasOwnProperty(subCompProp)) {\n workingSubcomponentStyles[subCompProp].push(currentComponentStyles[subCompProp]);\n } else {\n workingSubcomponentStyles[subCompProp] = [currentComponentStyles[subCompProp]];\n }\n }\n }\n\n continue;\n }\n\n // the as any casts below is a workaround for ts 2.8.\n // todo: remove cast to any in ts 2.9.\n const mergedValue: IStyle = (mergedSet as any)[prop];\n const currentValue = (currentSet as any)[prop];\n\n if (mergedValue === undefined) {\n (mergedSet as any)[prop] = currentValue;\n } else {\n (mergedSet as any)[prop] = [\n // https://github.com/Microsoft/TypeScript/issues/25474\n ...(Array.isArray(mergedValue) ? mergedValue : [mergedValue as IStyleBase]),\n ...(Array.isArray(currentValue) ? currentValue : [currentValue as IStyleBase]),\n ];\n }\n }\n }\n }\n }\n\n if (Object.keys(workingSubcomponentStyles).length > 0) {\n mergedSet.subComponentStyles = {};\n const mergedSubStyles = mergedSet.subComponentStyles;\n\n // now we process the subcomponent styles if there are any\n for (const subCompProp in workingSubcomponentStyles) {\n if (workingSubcomponentStyles.hasOwnProperty(subCompProp)) {\n const workingSet = workingSubcomponentStyles[subCompProp];\n mergedSubStyles[subCompProp] = (styleProps: any) => {\n return concatStyleSets(\n ...workingSet.map((styleFunctionOrObject: IStyleFunctionOrObject) =>\n typeof styleFunctionOrObject === 'function' ? styleFunctionOrObject(styleProps) : styleFunctionOrObject,\n ),\n );\n };\n }\n }\n }\n\n return mergedSet;\n}\n","import { concatStyleSets } from './concatStyleSets';\nimport { IStyleSet } from './IStyleSet';\nimport { IStyleFunctionOrObject } from './IStyleFunction';\nimport { DeepPartial } from './DeepPartial';\n\n/**\n * Concatenates style sets into one, but resolves functional sets using the given props.\n * @param styleProps - Props used to resolve functional sets.\n * @param allStyles - Style sets, which can be functions or objects.\n */\nexport function concatStyleSetsWithProps>(\n styleProps: TStyleProps,\n ...allStyles: (IStyleFunctionOrObject | undefined)[]\n): DeepPartial {\n const result: DeepPartial[] = [];\n for (const styles of allStyles) {\n if (styles) {\n result.push(typeof styles === 'function' ? styles(styleProps) : styles);\n }\n }\n if (result.length === 1) {\n return result[0] as DeepPartial;\n } else if (result.length) {\n // cliffkoh: I cannot figure out how to avoid the cast to any here.\n // It is something to do with the use of Omit in IStyleSet.\n // It might not be necessary once Omit becomes part of lib.d.ts (when we remove our own Omit and rely on\n // the official version).\n return concatStyleSets(...(result as any)) as any;\n }\n\n return {};\n}\n","import { IStyle, IStyleBaseArray } from './IStyle';\nimport { Stylesheet } from './Stylesheet';\n\n/**\n * Separates the classes and style objects. Any classes that are pre-registered\n * args are auto expanded into objects.\n */\nexport function extractStyleParts(...args: (IStyle | IStyle[] | false | null | undefined)[]): {\n classes: string[];\n objects: IStyleBaseArray;\n} {\n const classes: string[] = [];\n const objects: {}[] = [];\n const stylesheet = Stylesheet.getInstance();\n\n function _processArgs(argsList: (IStyle | IStyle[])[]): void {\n for (const arg of argsList) {\n if (arg) {\n if (typeof arg === 'string') {\n if (arg.indexOf(' ') >= 0) {\n _processArgs(arg.split(' '));\n } else {\n const translatedArgs = stylesheet.argsFromClassName(arg);\n\n if (translatedArgs) {\n _processArgs(translatedArgs);\n } else {\n // Avoid adding the same class twice.\n if (classes.indexOf(arg) === -1) {\n classes.push(arg);\n }\n }\n }\n } else if (Array.isArray(arg)) {\n _processArgs(arg);\n } else if (typeof arg === 'object') {\n objects.push(arg);\n }\n }\n }\n }\n\n _processArgs(args);\n\n return {\n classes,\n objects,\n };\n}\n","import { IFontFace } from './IRawStyleBase';\nimport { getStyleOptions } from './StyleOptionsState';\nimport { Stylesheet } from './Stylesheet';\nimport { serializeRuleEntries } from './styleToClassName';\n\n/**\n * Registers a font face.\n * @public\n */\nexport function fontFace(font: IFontFace): void {\n const stylesheet = Stylesheet.getInstance();\n\n const rule = serializeRuleEntries(getStyleOptions(), font as {});\n\n const className = stylesheet.classNameFromKey(rule);\n\n if (className) {\n return;\n }\n\n const name = stylesheet.getClassName();\n stylesheet.insertRule(`@font-face{${rule}}`, true);\n stylesheet.cacheClassName(name, rule, [], ['font-face', rule]);\n}\n","import { concatStyleSets } from './concatStyleSets';\nimport { extractStyleParts } from './extractStyleParts';\nimport { IStyle } from './IStyle';\nimport { IStyleOptions } from './IStyleOptions';\nimport { IConcatenatedStyleSet, IProcessedStyleSet, IStyleSet } from './IStyleSet';\nimport { getStyleOptions } from './StyleOptionsState';\nimport { applyRegistration, styleToRegistration } from './styleToClassName';\nimport { ObjectOnly } from './ObjectOnly';\n\n/**\n * Takes in one or more style set objects, each consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeStyles` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSet - The first style set to be merged and reigstered.\n */\nexport function mergeStyleSets(\n styleSet: TStyleSet | false | null | undefined,\n): IProcessedStyleSet>;\n\n/**\n * Takes in one or more style set objects, each consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeStyles` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSet1 - The first style set to be merged.\n * @param styleSet2 - The second style set to be merged.\n */\nexport function mergeStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n): IProcessedStyleSet & ObjectOnly>;\n\n/**\n * Takes in one or more style set objects, each consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeStyles` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSet1 - The first style set to be merged.\n * @param styleSet2 - The second style set to be merged.\n * @param styleSet3 - The third style set to be merged.\n */\nexport function mergeStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n styleSet3: TStyleSet3 | false | null | undefined,\n): IProcessedStyleSet & ObjectOnly & ObjectOnly>;\n\n/**\n * Takes in one or more style set objects, each consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeStyles` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSet1 - The first style set to be merged.\n * @param styleSet2 - The second style set to be merged.\n * @param styleSet3 - The third style set to be merged.\n * @param styleSet4 - The fourth style set to be merged.\n */\nexport function mergeStyleSets(\n styleSet1: TStyleSet1 | false | null | undefined,\n styleSet2: TStyleSet2 | false | null | undefined,\n styleSet3: TStyleSet3 | false | null | undefined,\n styleSet4: TStyleSet4 | false | null | undefined,\n): IProcessedStyleSet<\n ObjectOnly & ObjectOnly & ObjectOnly & ObjectOnly\n>;\n\n/**\n * Takes in one or more style set objects, each consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeStyles` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n */\nexport function mergeStyleSets(...styleSets: Array): IProcessedStyleSet;\n\n/**\n * Takes in one or more style set objects, each consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeStyles` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n */\nexport function mergeStyleSets(...styleSets: Array): IProcessedStyleSet {\n return mergeCssSets(styleSets as any, getStyleOptions());\n}\n\n/**\n * Takes in one or more style set objects, each1consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeCss` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n * @param options - (optional) Options to use when creating rules.\n */\nexport function mergeCssSets(\n styleSets: [TStyleSet | false | null | undefined],\n options?: IStyleOptions,\n): IProcessedStyleSet;\n\n/**\n * Takes in one or more style set objects, each1consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeCss` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n * @param options - (optional) Options to use when creating rules.\n */\nexport function mergeCssSets(\n styleSets: [TStyleSet1 | false | null | undefined, TStyleSet2 | false | null | undefined],\n options?: IStyleOptions,\n): IProcessedStyleSet;\n\n/**\n * Takes in one or more style set objects, each1consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeCss` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n * @param options - (optional) Options to use when creating rules.\n */\nexport function mergeCssSets(\n styleSets: [\n TStyleSet1 | false | null | undefined,\n TStyleSet2 | false | null | undefined,\n TStyleSet3 | false | null | undefined,\n ],\n options?: IStyleOptions,\n): IProcessedStyleSet;\n\n/**\n * Takes in one or more style set objects, each1consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeCss` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n * @param options - (optional) Options to use when creating rules.\n */\nexport function mergeCssSets(\n styleSets: [\n TStyleSet1 | false | null | undefined,\n TStyleSet2 | false | null | undefined,\n TStyleSet3 | false | null | undefined,\n TStyleSet4 | false | null | undefined,\n ],\n options?: IStyleOptions,\n): IProcessedStyleSet<\n ObjectOnly & ObjectOnly & ObjectOnly & ObjectOnly\n>;\n\n/**\n * Takes in one or more style set objects, each1consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeCss` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n * @param options - (optional) Options to use when creating rules.\n */\nexport function mergeCssSets(\n styleSet: [TStyleSet | false | null | undefined],\n options?: IStyleOptions,\n): IProcessedStyleSet;\n\n/**\n * Takes in one or more style set objects, each1consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeCss` for each property in the object, but ensures the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n * @param options - (optional) Options to use when creating rules.\n */\nexport function mergeCssSets(\n styleSets: Array,\n options?: IStyleOptions,\n): IProcessedStyleSet {\n const classNameSet: IProcessedStyleSet = { subComponentStyles: {} };\n\n const styleSet = styleSets[0];\n\n if (!styleSet && styleSets.length <= 1) {\n return { subComponentStyles: {} } as any;\n }\n\n const concatenatedStyleSet = concatStyleSets(...styleSets);\n\n const registrations = [];\n\n for (const styleSetArea in concatenatedStyleSet) {\n if (concatenatedStyleSet.hasOwnProperty(styleSetArea)) {\n if (styleSetArea === 'subComponentStyles') {\n classNameSet.subComponentStyles = (concatenatedStyleSet as IConcatenatedStyleSet).subComponentStyles || {};\n continue;\n }\n\n const styles: IStyle = (concatenatedStyleSet as any)[styleSetArea];\n\n const { classes, objects } = extractStyleParts(styles);\n\n if (objects?.length) {\n const registration = styleToRegistration(options || {}, { displayName: styleSetArea }, objects);\n\n if (registration) {\n registrations.push(registration);\n // FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed\n (classNameSet as Record)[styleSetArea] = classes.concat([registration.className]).join(' ');\n }\n } else {\n // FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed\n (classNameSet as Record)[styleSetArea] = classes.join(' ');\n }\n }\n }\n\n for (const registration of registrations) {\n if (registration) {\n applyRegistration(registration, options?.specificityMultiplier);\n }\n }\n\n return classNameSet as any;\n}\n","import { extractStyleParts } from './extractStyleParts';\nimport { IStyle, IStyleBaseArray } from './IStyle';\nimport { IStyleOptions } from './IStyleOptions';\nimport { getStyleOptions } from './StyleOptionsState';\nimport { styleToClassName } from './styleToClassName';\n\n/**\n * Concatenation helper, which can merge class names together. Skips over falsey values.\n *\n * @public\n */\nexport function mergeStyles(...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string {\n return mergeCss(args, getStyleOptions());\n}\n\n/**\n * Concatenation helper, which can merge class names together. Skips over falsey values.\n * Accepts a set of options that will be used when calculating styles.\n *\n * @public\n */\nexport function mergeCss(\n args: (IStyle | IStyleBaseArray | false | null | undefined) | (IStyle | IStyleBaseArray | false | null | undefined)[],\n options?: IStyleOptions,\n): string {\n const styleArgs = args instanceof Array ? args : [args];\n const { classes, objects } = extractStyleParts(styleArgs);\n\n if (objects.length) {\n classes.push(styleToClassName(options || {}, objects));\n }\n\n return classes.join(' ');\n}\n","export interface IVendorSettings {\n isWebkit?: boolean;\n isMoz?: boolean;\n isMs?: boolean;\n isOpera?: boolean;\n}\n\nlet _vendorSettings: IVendorSettings | undefined;\n\nexport function getVendorSettings(): IVendorSettings {\n if (!_vendorSettings) {\n const doc = typeof document !== 'undefined' ? document : undefined;\n const nav = typeof navigator !== 'undefined' ? navigator : undefined;\n const userAgent = nav?.userAgent?.toLowerCase();\n\n if (!doc) {\n _vendorSettings = {\n isWebkit: true,\n isMoz: true,\n isOpera: true,\n isMs: true,\n };\n } else {\n _vendorSettings = {\n isWebkit: !!(doc && 'WebkitAppearance' in doc.documentElement.style),\n isMoz: !!(userAgent && userAgent.indexOf('firefox') > -1),\n isOpera: !!(userAgent && userAgent.indexOf('opera') > -1),\n isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\\/\\d./i.test(navigator.userAgent))),\n };\n }\n }\n\n return _vendorSettings;\n}\n\n/**\n * Sets the vendor settings for prefixing and vendor specific operations.\n */\nexport function setVendorSettings(vendorSettings?: IVendorSettings): void {\n _vendorSettings = vendorSettings;\n}\n","const rules: { [key: string]: string } = {};\n\nexport function kebabRules(rulePairs: (string | number)[], index: number): void {\n const rule: string = rulePairs[index] as string;\n\n if (rule.charAt(0) !== '-') {\n rulePairs[index] = rules[rule] = rules[rule] || rule.replace(/([A-Z])/g, '-$1').toLowerCase();\n }\n}\n","import { getVendorSettings } from '../getVendorSettings';\n\nconst autoPrefixNames: { [key: string]: number } = {\n 'user-select': 1,\n};\n\nexport function prefixRules(rulePairs: (string | number)[], index: number): void {\n const vendorSettings = getVendorSettings();\n\n const name = rulePairs[index];\n\n if (autoPrefixNames[name]) {\n const value = rulePairs[index + 1];\n\n if (autoPrefixNames[name]) {\n if (vendorSettings.isWebkit) {\n rulePairs.push('-webkit-' + name, value);\n }\n if (vendorSettings.isMoz) {\n rulePairs.push('-moz-' + name, value);\n }\n if (vendorSettings.isMs) {\n rulePairs.push('-ms-' + name, value);\n }\n if (vendorSettings.isOpera) {\n rulePairs.push('-o-' + name, value);\n }\n }\n }\n}\n","const NON_PIXEL_NUMBER_PROPS = [\n 'column-count',\n 'font-weight',\n 'flex',\n 'flex-grow',\n 'flex-shrink',\n 'fill-opacity',\n 'opacity',\n 'order',\n 'z-index',\n 'zoom',\n];\n\nexport function provideUnits(rulePairs: (string | number)[], index: number): void {\n const name = rulePairs[index] as string;\n const value = rulePairs[index + 1];\n\n if (typeof value === 'number') {\n const isNonPixelProp = NON_PIXEL_NUMBER_PROPS.indexOf(name as string) > -1;\n const isVariableOrPrefixed = name.indexOf('--') > -1;\n const unit = isNonPixelProp || isVariableOrPrefixed ? '' : 'px';\n\n rulePairs[index + 1] = `${value}${unit}`;\n }\n}\n","import { IStyleOptions } from '../IStyleOptions';\n\nconst LEFT = 'left';\nconst RIGHT = 'right';\nconst NO_FLIP = '@noflip';\nconst NAME_REPLACEMENTS: { [key: string]: string } = {\n [LEFT]: RIGHT,\n [RIGHT]: LEFT,\n};\nconst VALUE_REPLACEMENTS: { [key: string]: string } = {\n 'w-resize': 'e-resize',\n 'sw-resize': 'se-resize',\n 'nw-resize': 'ne-resize',\n};\n\n/**\n * RTLifies the rulePair in the array at the current index. This mutates the array for performance\n * reasons.\n */\nexport function rtlifyRules(options: IStyleOptions, rulePairs: (string | number)[], index: number): void {\n if (options.rtl) {\n const name = rulePairs[index] as string;\n\n if (!name) {\n return;\n }\n\n const value = rulePairs[index + 1] as string;\n\n if (typeof value === 'string' && value.indexOf(NO_FLIP) >= 0) {\n rulePairs[index + 1] = value.replace(/\\s*(?:\\/\\*\\s*)?\\@noflip\\b(?:\\s*\\*\\/)?\\s*?/g, '');\n } else if (name.indexOf(LEFT) >= 0) {\n rulePairs[index] = name.replace(LEFT, RIGHT);\n } else if (name.indexOf(RIGHT) >= 0) {\n rulePairs[index] = name.replace(RIGHT, LEFT);\n } else if (String(value).indexOf(LEFT) >= 0) {\n rulePairs[index + 1] = value.replace(LEFT, RIGHT);\n } else if (String(value).indexOf(RIGHT) >= 0) {\n rulePairs[index + 1] = value.replace(RIGHT, LEFT);\n } else if (NAME_REPLACEMENTS[name]) {\n rulePairs[index] = NAME_REPLACEMENTS[name];\n } else if (VALUE_REPLACEMENTS[value]) {\n rulePairs[index + 1] = VALUE_REPLACEMENTS[value];\n } else {\n switch (name) {\n case 'margin':\n case 'padding':\n rulePairs[index + 1] = flipQuad(value);\n break;\n case 'box-shadow':\n rulePairs[index + 1] = negateNum(value, 0);\n break;\n }\n }\n }\n}\n\n/**\n * Given a string value in a space delimited format (e.g. \"1 2 3 4\"), negates a particular value.\n */\nfunction negateNum(value: string, partIndex: number): string {\n const parts = value.split(' ');\n const numberVal = parseInt(parts[partIndex], 10);\n\n parts[0] = parts[0].replace(String(numberVal), String(numberVal * -1));\n\n return parts.join(' ');\n}\n\n/**\n * Given a string quad, flips the left and right values.\n */\nfunction flipQuad(value: string): string {\n if (typeof value === 'string') {\n const parts = value.split(' ');\n\n if (parts.length === 4) {\n return `${parts[0]} ${parts[3]} ${parts[2]} ${parts[1]}`;\n }\n }\n\n return value;\n}\n","import { IStyle } from './IStyle';\nimport { IRawStyle } from './IRawStyle';\n\nimport { Stylesheet } from './Stylesheet';\nimport { kebabRules } from './transforms/kebabRules';\nimport { prefixRules } from './transforms/prefixRules';\nimport { provideUnits } from './transforms/provideUnits';\nimport { rtlifyRules } from './transforms/rtlifyRules';\nimport { IStyleOptions } from './IStyleOptions';\nimport { tokenizeWithParentheses } from './tokenizeWithParentheses';\n\nconst DISPLAY_NAME = 'displayName';\n\ntype IDictionary = { [key: string]: any };\n\ninterface IRuleSet {\n __order: string[];\n [key: string]: IDictionary;\n}\n\nfunction getDisplayName(rules?: { [key: string]: IRawStyle }): string | undefined {\n const rootStyle: IStyle = rules && rules['&'];\n\n return rootStyle ? (rootStyle as IRawStyle).displayName : undefined;\n}\n\nconst globalSelectorRegExp = /\\:global\\((.+?)\\)/g;\n\ntype ReplacementInfo = [number, number, string];\n\n/**\n * Finds comma separated selectors in a :global() e.g. \":global(.class1, .class2, .class3)\"\n * and wraps them each in their own global \":global(.class1), :global(.class2), :global(.class3)\"\n *\n * @param selectorWithGlobals The selector to process\n * @returns The updated selector\n */\nfunction expandCommaSeparatedGlobals(selectorWithGlobals: string): string {\n // We the selector does not have a :global() we can shortcut\n if (!globalSelectorRegExp.test(selectorWithGlobals)) {\n return selectorWithGlobals;\n }\n\n const replacementInfo: ReplacementInfo[] = [];\n\n const findGlobal = /\\:global\\((.+?)\\)/g;\n let match = null;\n // Create a result list for global selectors so we can replace them.\n while ((match = findGlobal.exec(selectorWithGlobals))) {\n // Only if the found selector is a comma separated list we'll process it.\n if (match[1].indexOf(',') > -1) {\n replacementInfo.push([\n match.index,\n match.index + match[0].length,\n // Wrap each of the found selectors in :global()\n match[1]\n .split(',')\n .map((v: string) => `:global(${v.trim()})`)\n .join(', '),\n ]);\n }\n }\n\n // Replace the found selectors with their wrapped variants in reverse order\n return replacementInfo\n .reverse()\n .reduce((selector: string, [matchIndex, matchEndIndex, replacement]: ReplacementInfo) => {\n const prefix = selector.slice(0, matchIndex);\n const suffix = selector.slice(matchEndIndex);\n\n return prefix + replacement + suffix;\n }, selectorWithGlobals);\n}\n\nfunction expandSelector(newSelector: string, currentSelector: string): string {\n if (newSelector.indexOf(':global(') >= 0) {\n return newSelector.replace(globalSelectorRegExp, '$1');\n } else if (newSelector.indexOf(':') === 0) {\n return currentSelector + newSelector;\n } else if (newSelector.indexOf('&') < 0) {\n return currentSelector + ' ' + newSelector;\n }\n\n return newSelector;\n}\n\nfunction extractSelector(currentSelector: string, rules: IRuleSet = { __order: [] }, selector: string, value: IStyle) {\n if (selector.indexOf('@') === 0) {\n selector = selector + '{' + currentSelector;\n extractRules([value], rules, selector);\n } else if (selector.indexOf(',') > -1) {\n expandCommaSeparatedGlobals(selector)\n .split(',')\n .map((s: string) => s.trim())\n .forEach((separatedSelector: string) =>\n extractRules([value], rules, expandSelector(separatedSelector, currentSelector)),\n );\n } else {\n extractRules([value], rules, expandSelector(selector, currentSelector));\n }\n}\n\nfunction extractRules(args: IStyle[], rules: IRuleSet = { __order: [] }, currentSelector: string = '&'): IRuleSet {\n const stylesheet = Stylesheet.getInstance();\n let currentRules: IDictionary | undefined = rules[currentSelector] as IDictionary;\n\n if (!currentRules) {\n currentRules = {};\n rules[currentSelector] = currentRules;\n rules.__order.push(currentSelector);\n }\n\n for (const arg of args) {\n // If the arg is a string, we need to look up the class map and merge.\n if (typeof arg === 'string') {\n const expandedRules = stylesheet.argsFromClassName(arg);\n\n if (expandedRules) {\n extractRules(expandedRules, rules, currentSelector);\n }\n // Else if the arg is an array, we need to recurse in.\n } else if (Array.isArray(arg)) {\n extractRules(arg, rules, currentSelector);\n } else {\n for (const prop in arg as any) {\n if ((arg as any).hasOwnProperty(prop)) {\n const propValue = (arg as any)[prop];\n\n if (prop === 'selectors') {\n // every child is a selector.\n const selectors: { [key: string]: IStyle } = (arg as any).selectors;\n\n for (const newSelector in selectors) {\n if (selectors.hasOwnProperty(newSelector)) {\n extractSelector(currentSelector, rules, newSelector, selectors[newSelector]);\n }\n }\n } else if (typeof propValue === 'object') {\n // prop is a selector.\n if (propValue !== null) {\n extractSelector(currentSelector, rules, prop, propValue);\n }\n } else {\n if (propValue !== undefined) {\n // Else, add the rule to the currentSelector.\n if (prop === 'margin' || prop === 'padding') {\n expandQuads(currentRules, prop, propValue);\n } else {\n (currentRules as any)[prop] = propValue;\n }\n }\n }\n }\n }\n }\n }\n\n return rules;\n}\n\nfunction expandQuads(currentRules: IDictionary, name: string, value: string): void {\n let parts = typeof value === 'string' ? tokenizeWithParentheses(value) : [value];\n\n if (parts.length === 0) {\n parts.push(value);\n }\n\n if (parts[parts.length - 1] === '!important') {\n // Remove !important from parts, and append it to each part individually\n parts = parts.slice(0, -1).map(p => p + ' !important');\n }\n\n currentRules[name + 'Top'] = parts[0];\n currentRules[name + 'Right'] = parts[1] || parts[0];\n currentRules[name + 'Bottom'] = parts[2] || parts[0];\n currentRules[name + 'Left'] = parts[3] || parts[1] || parts[0];\n}\n\nfunction getKeyForRules(options: IStyleOptions, rules: IRuleSet): string | undefined {\n const serialized: string[] = [options.rtl ? 'rtl' : 'ltr'];\n let hasProps = false;\n\n for (const selector of rules.__order) {\n serialized.push(selector);\n const rulesForSelector = rules[selector];\n\n for (const propName in rulesForSelector) {\n if (rulesForSelector.hasOwnProperty(propName) && rulesForSelector[propName] !== undefined) {\n hasProps = true;\n serialized.push(propName, rulesForSelector[propName]);\n }\n }\n }\n\n return hasProps ? serialized.join('') : undefined;\n}\n\nfunction repeatString(target: string, count: number): string {\n if (count <= 0) {\n return '';\n }\n\n if (count === 1) {\n return target;\n }\n\n return target + repeatString(target, count - 1);\n}\n\nexport function serializeRuleEntries(options: IStyleOptions, ruleEntries: { [key: string]: string | number }): string {\n if (!ruleEntries) {\n return '';\n }\n\n const allEntries: (string | number)[] = [];\n\n for (const entry in ruleEntries) {\n if (ruleEntries.hasOwnProperty(entry) && entry !== DISPLAY_NAME && ruleEntries[entry] !== undefined) {\n allEntries.push(entry, ruleEntries[entry]);\n }\n }\n\n // Apply transforms.\n for (let i = 0; i < allEntries.length; i += 2) {\n kebabRules(allEntries, i);\n provideUnits(allEntries, i);\n rtlifyRules(options, allEntries, i);\n prefixRules(allEntries, i);\n }\n\n // Apply punctuation.\n for (let i = 1; i < allEntries.length; i += 4) {\n allEntries.splice(i, 1, ':', allEntries[i], ';');\n }\n\n return allEntries.join('');\n}\n\nexport interface IRegistration {\n className: string;\n key: string;\n args: IStyle[];\n rulesToInsert: string[];\n}\n\nexport function styleToRegistration(options: IStyleOptions, ...args: IStyle[]): IRegistration | undefined {\n const rules: IRuleSet = extractRules(args);\n const key = getKeyForRules(options, rules);\n\n if (key) {\n const stylesheet = Stylesheet.getInstance();\n const registration: Partial = {\n className: stylesheet.classNameFromKey(key),\n key,\n args,\n };\n\n if (!registration.className) {\n registration.className = stylesheet.getClassName(getDisplayName(rules));\n const rulesToInsert: string[] = [];\n\n for (const selector of rules.__order) {\n rulesToInsert.push(selector, serializeRuleEntries(options, rules[selector]));\n }\n registration.rulesToInsert = rulesToInsert;\n }\n\n return registration as IRegistration;\n }\n\n return undefined;\n}\n\n/**\n * Insert style to stylesheet.\n * @param registration Style registration.\n * @param specificityMultiplier Number of times classname selector is repeated in the css rule.\n * This is to increase css specificity in case it's needed. Default to 1.\n */\nexport function applyRegistration(registration: IRegistration, specificityMultiplier: number = 1): void {\n const stylesheet = Stylesheet.getInstance();\n const { className, key, args, rulesToInsert } = registration;\n\n if (rulesToInsert) {\n // rulesToInsert is an ordered array of selector/rule pairs.\n for (let i = 0; i < rulesToInsert.length; i += 2) {\n const rules = rulesToInsert[i + 1];\n if (rules) {\n let selector = rulesToInsert[i];\n selector = selector.replace(/&/g, repeatString(`.${registration.className}`, specificityMultiplier));\n\n // Insert. Note if a media query, we must close the query with a final bracket.\n const processedRule = `${selector}{${rules}}${selector.indexOf('@') === 0 ? '}' : ''}`;\n stylesheet.insertRule(processedRule);\n }\n }\n stylesheet.cacheClassName(className!, key!, args!, rulesToInsert);\n }\n}\n\nexport function styleToClassName(options: IStyleOptions, ...args: IStyle[]): string {\n const registration = styleToRegistration(options, ...args);\n if (registration) {\n applyRegistration(registration, options.specificityMultiplier);\n\n return registration.className;\n }\n\n return '';\n}\n","/**\n * Split a string into tokens separated by whitespace, except all text within parentheses\n * is treated as a single token (whitespace is ignored within parentheses).\n *\n * Unlike String.split(' '), multiple consecutive space characters are collapsed and\n * removed from the returned array (including leading and trailing spaces).\n *\n * For example:\n * `tokenizeWithParentheses(\"3px calc(var(--x) / 2) 9px 0 \")`\n * => `[\"3px\", \"calc(var(--x) / 2)\", \"9px\", \"0\"]`\n *\n * @returns The array of tokens. Returns an empty array if the string was empty or contained only whitespace.\n */\nexport function tokenizeWithParentheses(value: string): string[] {\n const parts = [];\n let partStart = 0;\n let parens = 0;\n\n for (let i = 0; i < value.length; i++) {\n switch (value[i]) {\n case '(':\n parens++;\n break;\n case ')':\n if (parens) {\n parens--;\n }\n break;\n case '\\t':\n case ' ':\n if (!parens) {\n // Add the new part if it's not an empty string\n if (i > partStart) {\n parts.push(value.substring(partStart, i));\n }\n partStart = i + 1;\n }\n break;\n }\n }\n\n // Add the last part\n if (partStart < value.length) {\n parts.push(value.substring(partStart));\n }\n\n return parts;\n}\n","import * as React from 'react';\nimport { FocusZoneDirection, FocusZoneTabbableElements } from './FocusZone.types';\nimport {\n KeyCodes,\n css,\n elementContains,\n getDocument,\n getElementIndexPath,\n getFocusableByIndexPath,\n getId,\n getNativeProps,\n getNextElement,\n getParent,\n getPreviousElement,\n getRTL,\n htmlElementProperties,\n initializeComponentRef,\n isElementFocusSubZone,\n isElementFocusZone,\n isElementTabbable,\n shouldWrapFocus,\n warnDeprecations,\n portalContainsElement,\n findScrollableParent,\n createMergedRef,\n isElementVisibleAndNotHidden,\n} from '@fluentui/utilities';\nimport { mergeStyles } from '@fluentui/merge-styles';\nimport { getTheme } from '@fluentui/style-utilities';\nimport type { IFocusZone, IFocusZoneProps } from './FocusZone.types';\nimport type { Point } from '@fluentui/utilities';\nimport type { ITheme } from '@fluentui/style-utilities';\n\nconst IS_FOCUSABLE_ATTRIBUTE = 'data-is-focusable';\nconst IS_ENTER_DISABLED_ATTRIBUTE = 'data-disable-click-on-enter';\nconst FOCUSZONE_ID_ATTRIBUTE = 'data-focuszone-id';\nconst TABINDEX = 'tabindex';\nconst NO_VERTICAL_WRAP = 'data-no-vertical-wrap';\nconst NO_HORIZONTAL_WRAP = 'data-no-horizontal-wrap';\nconst LARGE_DISTANCE_FROM_CENTER = 999999999;\nconst LARGE_NEGATIVE_DISTANCE_FROM_CENTER = -999999999;\n\nlet focusZoneStyles: string;\n\nconst focusZoneClass: string = 'ms-FocusZone';\n\n/**\n * Raises a click on a target element based on a keyboard event.\n */\nfunction raiseClickFromKeyboardEvent(target: Element, ev?: React.KeyboardEvent): void {\n let event;\n if (typeof MouseEvent === 'function') {\n event = new MouseEvent('click', {\n ctrlKey: ev?.ctrlKey,\n metaKey: ev?.metaKey,\n shiftKey: ev?.shiftKey,\n altKey: ev?.altKey,\n bubbles: ev?.bubbles,\n cancelable: ev?.cancelable,\n });\n } else {\n event = document.createEvent('MouseEvents');\n // eslint-disable-next-line deprecation/deprecation\n event.initMouseEvent(\n 'click',\n ev ? ev.bubbles : false,\n ev ? ev.cancelable : false,\n window, // not using getWindow() since this can only be run client side\n 0, // detail\n 0, // screen x\n 0, // screen y\n 0, // client x\n 0, // client y\n ev ? ev.ctrlKey : false,\n ev ? ev.altKey : false,\n ev ? ev.shiftKey : false,\n ev ? ev.metaKey : false,\n 0, // button\n null, // relatedTarget\n );\n }\n\n target.dispatchEvent(event);\n}\n\n// Helper function that will return a class for when the root is focused\nfunction getRootClass(): string {\n if (!focusZoneStyles) {\n focusZoneStyles = mergeStyles(\n {\n selectors: {\n ':focus': {\n outline: 'none',\n },\n },\n },\n focusZoneClass,\n );\n }\n return focusZoneStyles;\n}\n\nconst _allInstances: {\n [key: string]: FocusZone;\n} = {};\nconst _outerZones: Set = new Set();\n\nconst ALLOWED_INPUT_TYPES = ['text', 'number', 'password', 'email', 'tel', 'url', 'search', 'textarea'];\n\nconst ALLOW_VIRTUAL_ELEMENTS = false;\n\nexport class FocusZone extends React.Component implements IFocusZone {\n public static defaultProps: IFocusZoneProps = {\n isCircularNavigation: false,\n direction: FocusZoneDirection.bidirectional,\n shouldRaiseClicks: true,\n };\n\n private _root: React.RefObject = React.createRef();\n private _mergedRef = createMergedRef();\n\n private _id: string;\n\n /** The most recently focused child element. */\n private _activeElement: HTMLElement | null;\n\n /**\n * The index path to the last focused child element.\n */\n private _lastIndexPath: number[] | undefined;\n\n /**\n * Flag to define when we've intentionally parked focus on the root element to temporarily\n * hold focus until items appear within the zone.\n */\n private _isParked: boolean;\n\n /** The child element with tabindex=0. */\n private _defaultFocusElement: HTMLElement | null;\n private _focusAlignment: Point;\n private _isInnerZone: boolean;\n private _parkedTabIndex: string | null | undefined;\n\n /** Used to allow moving to next focusable element even when we're focusing on a input element when pressing tab */\n private _processingTabKey: boolean;\n\n /** Provides granular control over `shouldRaiseClicks` and should be preferred over `props.shouldRaiseClicks`. */\n private _shouldRaiseClicksOnEnter: boolean;\n private _shouldRaiseClicksOnSpace: boolean;\n\n /** Used for testing purposes only. */\n public static getOuterZones(): number {\n return _outerZones.size;\n }\n\n /**\n * Handle global tab presses so that we can patch tabindexes on the fly.\n * HEADS UP: This must not be an arrow function in order to be referentially equal among instances\n * for ref counting to work correctly!\n */\n private static _onKeyDownCapture(ev: KeyboardEvent): void {\n // eslint-disable-next-line deprecation/deprecation, @fluentui/deprecated-keyboard-event-props\n if (ev.which === KeyCodes.tab) {\n _outerZones.forEach((zone: FocusZone) => zone._updateTabIndexes());\n }\n }\n\n constructor(props: IFocusZoneProps) {\n super(props);\n // Manage componentRef resolution.\n initializeComponentRef(this);\n\n if (process.env.NODE_ENV !== 'production') {\n warnDeprecations('FocusZone', props, {\n rootProps: undefined,\n allowTabKey: 'handleTabKey',\n elementType: 'as',\n ariaDescribedBy: 'aria-describedby',\n ariaLabelledBy: 'aria-labelledby',\n });\n }\n\n this._id = getId('FocusZone');\n\n this._focusAlignment = {\n left: 0,\n top: 0,\n };\n\n this._processingTabKey = false;\n\n const shouldRaiseClicksFallback = props.shouldRaiseClicks ?? FocusZone.defaultProps.shouldRaiseClicks ?? true;\n this._shouldRaiseClicksOnEnter = props.shouldRaiseClicksOnEnter ?? shouldRaiseClicksFallback;\n this._shouldRaiseClicksOnSpace = props.shouldRaiseClicksOnSpace ?? shouldRaiseClicksFallback;\n }\n\n public componentDidMount(): void {\n const { current: root } = this._root;\n\n _allInstances[this._id] = this;\n\n if (root) {\n let parentElement = getParent(root, ALLOW_VIRTUAL_ELEMENTS);\n\n while (parentElement && parentElement !== this._getDocument().body && parentElement.nodeType === 1) {\n if (isElementFocusZone(parentElement)) {\n this._isInnerZone = true;\n break;\n }\n parentElement = getParent(parentElement, ALLOW_VIRTUAL_ELEMENTS);\n }\n\n if (!this._isInnerZone) {\n _outerZones.add(this);\n\n this._root.current && this._root.current.addEventListener('keydown', FocusZone._onKeyDownCapture, true);\n }\n\n this._root.current && this._root.current.addEventListener('blur', this._onBlur, true);\n\n // Assign initial tab indexes so that we can set initial focus as appropriate.\n this._updateTabIndexes();\n\n if (this.props.defaultTabbableElement && typeof this.props.defaultTabbableElement === 'string') {\n this._activeElement = this._getDocument().querySelector(this.props.defaultTabbableElement) as HTMLElement;\n // eslint-disable-next-line deprecation/deprecation\n } else if (this.props.defaultActiveElement) {\n // eslint-disable-next-line deprecation/deprecation\n this._activeElement = this._getDocument().querySelector(this.props.defaultActiveElement) as HTMLElement;\n }\n\n if (this.props.shouldFocusOnMount) {\n this.focus();\n }\n }\n }\n\n public componentDidUpdate(): void {\n const { current: root } = this._root;\n const doc = this._getDocument();\n\n // If either _activeElement or _defaultFocusElement are no longer contained by _root,\n // reset those variables (and update tab indexes) to avoid memory leaks\n if (\n (this._activeElement && !elementContains(this._root.current, this._activeElement, ALLOW_VIRTUAL_ELEMENTS)) ||\n (this._defaultFocusElement &&\n !elementContains(this._root.current, this._defaultFocusElement, ALLOW_VIRTUAL_ELEMENTS))\n ) {\n this._activeElement = null;\n this._defaultFocusElement = null;\n this._updateTabIndexes();\n }\n\n if (\n !this.props.preventFocusRestoration &&\n doc &&\n this._lastIndexPath &&\n (doc.activeElement === doc.body || doc.activeElement === null || doc.activeElement === root)\n ) {\n // The element has been removed after the render, attempt to restore focus.\n const elementToFocus = getFocusableByIndexPath(root as HTMLElement, this._lastIndexPath);\n\n if (elementToFocus) {\n this._setActiveElement(elementToFocus, true);\n elementToFocus.focus();\n this._setParkedFocus(false);\n } else {\n // We had a focus path to restore, but now that path is unresolvable. Park focus\n // on the container until we can try again.\n this._setParkedFocus(true);\n }\n }\n }\n\n public componentWillUnmount(): void {\n delete _allInstances[this._id];\n\n if (!this._isInnerZone) {\n _outerZones.delete(this);\n\n this._root.current && this._root.current.removeEventListener('keydown', FocusZone._onKeyDownCapture, true);\n }\n\n if (this._root.current) {\n this._root.current.removeEventListener('blur', this._onBlur, true);\n }\n\n this._activeElement = null;\n this._defaultFocusElement = null;\n }\n\n public render(): React.ReactNode {\n // eslint-disable-next-line deprecation/deprecation\n const { as: tag, elementType, rootProps, ariaDescribedBy, ariaLabelledBy, className } = this.props;\n const divProps = getNativeProps(this.props, htmlElementProperties);\n\n const Tag = tag || elementType || 'div';\n\n // Note, right before rendering/reconciling proceeds, we need to record if focus\n // was in the zone before the update. This helper will track this and, if focus\n // was actually in the zone, what the index path to the element is at this time.\n // Then, later in componentDidUpdate, we can evaluate if we need to restore it in\n // the case the element was removed.\n this._evaluateFocusBeforeRender();\n\n // Only support RTL defined in global theme, not contextual theme/RTL.\n const theme: ITheme = getTheme();\n\n return (\n ) => this._onKeyDown(ev, theme)}\n onFocus={this._onFocus}\n onMouseDownCapture={this._onMouseDown}\n >\n {this.props.children}\n \n );\n }\n\n /**\n * Sets focus to the first tabbable item in the zone.\n * @param forceIntoFirstElement - If true, focus will be forced into the first element, even\n * if focus is already in the focus zone.\n * @param bypassHiddenElements - If true, focus will be not be set on hidden elements.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n public focus(forceIntoFirstElement: boolean = false, bypassHiddenElements: boolean = false): boolean {\n if (this._root.current) {\n if (\n !forceIntoFirstElement &&\n this._root.current.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'true' &&\n this._isInnerZone\n ) {\n const ownerZoneElement = this._getOwnerZone(this._root.current) as HTMLElement;\n\n if (ownerZoneElement !== this._root.current) {\n const ownerZone = _allInstances[ownerZoneElement.getAttribute(FOCUSZONE_ID_ATTRIBUTE) as string];\n\n return !!ownerZone && ownerZone.focusElement(this._root.current);\n }\n\n return false;\n } else if (\n !forceIntoFirstElement &&\n this._activeElement &&\n elementContains(this._root.current, this._activeElement) &&\n isElementTabbable(this._activeElement) &&\n (!bypassHiddenElements || isElementVisibleAndNotHidden(this._activeElement))\n ) {\n this._activeElement.focus();\n return true;\n } else {\n const firstChild = this._root.current.firstChild as HTMLElement;\n\n return this.focusElement(\n getNextElement(\n this._root.current,\n firstChild,\n true,\n undefined,\n undefined,\n undefined,\n undefined,\n undefined,\n bypassHiddenElements,\n ) as HTMLElement,\n );\n }\n }\n return false;\n }\n\n /**\n * Sets focus to the last tabbable item in the zone.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n public focusLast(): boolean {\n if (this._root.current) {\n const lastChild = this._root.current && (this._root.current.lastChild as HTMLElement | null);\n\n return this.focusElement(getPreviousElement(this._root.current, lastChild, true, true, true) as HTMLElement);\n }\n\n return false;\n }\n\n /**\n * Sets focus to a specific child element within the zone. This can be used in conjunction with\n * shouldReceiveFocus to create delayed focus scenarios (like animate the scroll position to the correct\n * location and then focus.)\n * @param element - The child element within the zone to focus.\n * @param forceAlignment - If true, focus alignment will be set according to the element provided.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n public focusElement(element: HTMLElement, forceAlignment?: boolean): boolean {\n // eslint-disable-next-line deprecation/deprecation\n const { onBeforeFocus, shouldReceiveFocus } = this.props;\n\n if ((shouldReceiveFocus && !shouldReceiveFocus(element)) || (onBeforeFocus && !onBeforeFocus(element))) {\n return false;\n }\n\n if (element) {\n // when we set focus to a specific child, we should recalculate the alignment depending on its position.\n this._setActiveElement(element, forceAlignment);\n if (this._activeElement) {\n this._activeElement.focus();\n }\n\n return true;\n }\n\n return false;\n }\n\n /**\n * Forces horizontal alignment in the context of vertical arrowing to use specific point as the reference,\n * rather than a center based on the last horizontal motion.\n * @param point - the new reference point.\n */\n public setFocusAlignment(point: Point): void {\n this._focusAlignment = point;\n }\n\n public get defaultFocusElement() {\n return this._defaultFocusElement;\n }\n\n public get activeElement() {\n return this._activeElement;\n }\n\n private _evaluateFocusBeforeRender(): void {\n const { current: root } = this._root;\n\n const doc = this._getDocument();\n if (doc) {\n const focusedElement = doc.activeElement as HTMLElement;\n\n // Only update the index path if we are not parked on the root.\n if (focusedElement !== root) {\n const shouldRestoreFocus = elementContains(root, focusedElement, false);\n this._lastIndexPath = shouldRestoreFocus ? getElementIndexPath(root as HTMLElement, focusedElement) : undefined;\n }\n }\n }\n\n private _onFocus = (ev: React.FocusEvent): void => {\n if (this._portalContainsElement(ev.target as HTMLElement)) {\n // If the event target is inside a portal do not process the event.\n return;\n }\n\n const {\n onActiveElementChanged,\n // eslint-disable-next-line deprecation/deprecation\n doNotAllowFocusEventToPropagate,\n stopFocusPropagation,\n // eslint-disable-next-line deprecation/deprecation\n onFocusNotification,\n onFocus,\n shouldFocusInnerElementWhenReceivedFocus,\n defaultTabbableElement,\n } = this.props;\n const isImmediateDescendant = this._isImmediateDescendantOfZone(ev.target as HTMLElement);\n let newActiveElement: HTMLElement | null | undefined;\n\n if (isImmediateDescendant) {\n newActiveElement = ev.target as HTMLElement;\n } else {\n let parentElement = ev.target as HTMLElement;\n\n while (parentElement && parentElement !== this._root.current) {\n if (isElementTabbable(parentElement) && this._isImmediateDescendantOfZone(parentElement)) {\n newActiveElement = parentElement;\n break;\n }\n parentElement = getParent(parentElement, ALLOW_VIRTUAL_ELEMENTS) as HTMLElement;\n }\n }\n\n // If an inner focusable element should be focused when FocusZone container receives focus\n if (shouldFocusInnerElementWhenReceivedFocus && ev.target === this._root.current) {\n const maybeElementToFocus =\n defaultTabbableElement &&\n typeof defaultTabbableElement === 'function' &&\n this._root.current &&\n defaultTabbableElement(this._root.current);\n\n // try to focus defaultTabbable element\n if (maybeElementToFocus && isElementTabbable(maybeElementToFocus)) {\n newActiveElement = maybeElementToFocus;\n maybeElementToFocus.focus();\n } else {\n // force focus on first focusable element\n this.focus(true);\n if (this._activeElement) {\n // set to null as new active element was handled in method above\n newActiveElement = null;\n }\n }\n }\n\n const initialElementFocused = !this._activeElement;\n\n // If the new active element is a child of this zone and received focus,\n // update alignment an immediate descendant\n if (newActiveElement && newActiveElement !== this._activeElement) {\n if (isImmediateDescendant || initialElementFocused) {\n this._setFocusAlignment(newActiveElement, true, true);\n }\n\n this._activeElement = newActiveElement;\n\n if (initialElementFocused) {\n this._updateTabIndexes();\n }\n }\n\n if (onActiveElementChanged) {\n onActiveElementChanged(this._activeElement as HTMLElement, ev);\n }\n\n if (stopFocusPropagation || doNotAllowFocusEventToPropagate) {\n ev.stopPropagation();\n }\n\n if (onFocus) {\n onFocus(ev);\n } else if (onFocusNotification) {\n onFocusNotification();\n }\n };\n\n /**\n * When focus is in the zone at render time but then all focusable elements are removed,\n * we \"park\" focus temporarily on the root. Once we update with focusable children, we restore\n * focus to the closest path from previous. If the user tabs away from the parked container,\n * we restore focusability to the pre-parked state.\n */\n private _setParkedFocus(isParked: boolean): void {\n const { current: root } = this._root;\n\n if (root && this._isParked !== isParked) {\n this._isParked = isParked;\n\n if (isParked) {\n if (!this.props.allowFocusRoot) {\n this._parkedTabIndex = root.getAttribute('tabindex');\n root.setAttribute('tabindex', '-1');\n }\n root.focus();\n } else if (!this.props.allowFocusRoot) {\n if (this._parkedTabIndex) {\n root.setAttribute('tabindex', this._parkedTabIndex);\n this._parkedTabIndex = undefined;\n } else {\n root.removeAttribute('tabindex');\n }\n }\n }\n }\n\n private _onBlur = (): void => {\n this._setParkedFocus(false);\n };\n\n private _onMouseDown = (ev: React.MouseEvent): void => {\n if (this._portalContainsElement(ev.target as HTMLElement)) {\n // If the event target is inside a portal do not process the event.\n return;\n }\n\n const { disabled } = this.props;\n\n if (disabled) {\n return;\n }\n\n let target = ev.target as HTMLElement;\n const path = [];\n\n while (target && target !== this._root.current) {\n path.push(target);\n target = getParent(target, ALLOW_VIRTUAL_ELEMENTS) as HTMLElement;\n }\n\n while (path.length) {\n target = path.pop() as HTMLElement;\n\n if (target && isElementTabbable(target)) {\n this._setActiveElement(target, true);\n }\n\n if (isElementFocusZone(target)) {\n // Stop here since the focus zone will take care of its own children.\n break;\n }\n }\n };\n\n private _setActiveElement(element: HTMLElement, forceAlignment?: boolean): void {\n const previousActiveElement = this._activeElement;\n\n this._activeElement = element;\n\n if (previousActiveElement) {\n if (isElementFocusZone(previousActiveElement)) {\n this._updateTabIndexes(previousActiveElement);\n }\n\n previousActiveElement.tabIndex = -1;\n }\n\n if (this._activeElement) {\n if (!this._focusAlignment || forceAlignment) {\n this._setFocusAlignment(element, true, true);\n }\n\n this._activeElement.tabIndex = 0;\n }\n }\n\n private _preventDefaultWhenHandled(ev: React.KeyboardEvent): void {\n this.props.preventDefaultWhenHandled && ev.preventDefault();\n }\n\n /**\n * Handle the keystrokes.\n */\n private _onKeyDown = (ev: React.KeyboardEvent, theme: ITheme): boolean | undefined => {\n if (this._portalContainsElement(ev.target as HTMLElement)) {\n // If the event target is inside a portal do not process the event.\n return;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n const { direction, disabled, isInnerZoneKeystroke, pagingSupportDisabled, shouldEnterInnerZone } = this.props;\n\n if (disabled) {\n return;\n }\n\n if (this.props.onKeyDown) {\n this.props.onKeyDown(ev);\n }\n\n // If the default has been prevented, do not process keyboard events.\n if (ev.isDefaultPrevented()) {\n return;\n }\n\n if (this._getDocument().activeElement === this._root.current && this._isInnerZone) {\n // If this element has focus, it is being controlled by a parent.\n // Ignore the keystroke.\n return;\n }\n\n if (\n ((shouldEnterInnerZone && shouldEnterInnerZone(ev)) || (isInnerZoneKeystroke && isInnerZoneKeystroke(ev))) &&\n this._isImmediateDescendantOfZone(ev.target as HTMLElement)\n ) {\n // Try to focus\n const innerZone = this._getFirstInnerZone();\n\n if (innerZone) {\n if (!innerZone.focus(true)) {\n return;\n }\n } else if (isElementFocusSubZone(ev.target as HTMLElement)) {\n if (\n !this.focusElement(\n getNextElement(\n ev.target as HTMLElement,\n (ev.target as HTMLElement).firstChild as HTMLElement,\n true,\n ) as HTMLElement,\n )\n ) {\n return;\n }\n } else {\n return;\n }\n } else if (ev.altKey) {\n return;\n } else {\n // eslint-disable-next-line @fluentui/deprecated-keyboard-event-props, deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.space:\n if (this._shouldRaiseClicksOnSpace && this._tryInvokeClickForFocusable(ev.target as HTMLElement, ev)) {\n break;\n }\n return;\n\n case KeyCodes.left:\n if (direction !== FocusZoneDirection.vertical) {\n this._preventDefaultWhenHandled(ev);\n if (this._moveFocusLeft(theme)) {\n break;\n }\n }\n return;\n\n case KeyCodes.right:\n if (direction !== FocusZoneDirection.vertical) {\n this._preventDefaultWhenHandled(ev);\n if (this._moveFocusRight(theme)) {\n break;\n }\n }\n return;\n\n case KeyCodes.up:\n if (direction !== FocusZoneDirection.horizontal) {\n this._preventDefaultWhenHandled(ev);\n if (this._moveFocusUp()) {\n break;\n }\n }\n return;\n\n case KeyCodes.down:\n if (direction !== FocusZoneDirection.horizontal) {\n this._preventDefaultWhenHandled(ev);\n if (this._moveFocusDown()) {\n break;\n }\n }\n return;\n case KeyCodes.pageDown:\n if (!pagingSupportDisabled && this._moveFocusPaging(true)) {\n break;\n }\n return;\n case KeyCodes.pageUp:\n if (!pagingSupportDisabled && this._moveFocusPaging(false)) {\n break;\n }\n return;\n\n case KeyCodes.tab:\n if (\n // eslint-disable-next-line deprecation/deprecation\n this.props.allowTabKey ||\n this.props.handleTabKey === FocusZoneTabbableElements.all ||\n (this.props.handleTabKey === FocusZoneTabbableElements.inputOnly &&\n this._isElementInput(ev.target as HTMLElement))\n ) {\n let focusChanged = false;\n this._processingTabKey = true;\n if (\n direction === FocusZoneDirection.vertical ||\n !this._shouldWrapFocus(this._activeElement as HTMLElement, NO_HORIZONTAL_WRAP)\n ) {\n focusChanged = ev.shiftKey ? this._moveFocusUp() : this._moveFocusDown();\n } else {\n const tabWithDirection = getRTL(theme) ? !ev.shiftKey : ev.shiftKey;\n focusChanged = tabWithDirection ? this._moveFocusLeft(theme) : this._moveFocusRight(theme);\n }\n this._processingTabKey = false;\n if (focusChanged) {\n break;\n } else if (this.props.shouldResetActiveElementWhenTabFromZone) {\n this._activeElement = null;\n }\n }\n return;\n\n case KeyCodes.home:\n if (\n this._isContentEditableElement(ev.target as HTMLElement) ||\n (this._isElementInput(ev.target as HTMLElement) &&\n !this._shouldInputLoseFocus(ev.target as HTMLInputElement, false))\n ) {\n return false;\n }\n const firstChild = this._root.current && (this._root.current.firstChild as HTMLElement | null);\n if (\n this._root.current &&\n firstChild &&\n this.focusElement(getNextElement(this._root.current, firstChild, true) as HTMLElement)\n ) {\n break;\n }\n return;\n\n case KeyCodes.end:\n if (\n this._isContentEditableElement(ev.target as HTMLElement) ||\n (this._isElementInput(ev.target as HTMLElement) &&\n !this._shouldInputLoseFocus(ev.target as HTMLInputElement, true))\n ) {\n return false;\n }\n\n const lastChild = this._root.current && (this._root.current.lastChild as HTMLElement | null);\n if (\n this._root.current &&\n this.focusElement(getPreviousElement(this._root.current, lastChild, true, true, true) as HTMLElement)\n ) {\n break;\n }\n return;\n\n case KeyCodes.enter:\n if (this._shouldRaiseClicksOnEnter && this._tryInvokeClickForFocusable(ev.target as HTMLElement, ev)) {\n break;\n }\n return;\n\n default:\n return;\n }\n }\n\n ev.preventDefault();\n ev.stopPropagation();\n };\n\n /**\n * Walk up the dom try to find a focusable element.\n */\n private _tryInvokeClickForFocusable(targetElement: HTMLElement, ev?: React.KeyboardEvent): boolean {\n let target = targetElement;\n if (target === this._root.current) {\n return false;\n }\n\n do {\n if (\n target.tagName === 'BUTTON' ||\n target.tagName === 'A' ||\n target.tagName === 'INPUT' ||\n target.tagName === 'TEXTAREA' ||\n target.tagName === 'SUMMARY'\n ) {\n return false;\n }\n\n if (\n this._isImmediateDescendantOfZone(target) &&\n target.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'true' &&\n target.getAttribute(IS_ENTER_DISABLED_ATTRIBUTE) !== 'true'\n ) {\n raiseClickFromKeyboardEvent(target, ev);\n return true;\n }\n\n target = getParent(target, ALLOW_VIRTUAL_ELEMENTS) as HTMLElement;\n } while (target !== this._root.current);\n\n return false;\n }\n\n /**\n * Traverse to find first child zone.\n */\n private _getFirstInnerZone(rootElement?: HTMLElement | null): FocusZone | null {\n rootElement = rootElement || this._activeElement || this._root.current;\n\n if (!rootElement) {\n return null;\n }\n\n if (isElementFocusZone(rootElement)) {\n return _allInstances[rootElement.getAttribute(FOCUSZONE_ID_ATTRIBUTE) as string];\n }\n\n let child = rootElement.firstElementChild as HTMLElement | null;\n\n while (child) {\n if (isElementFocusZone(child)) {\n return _allInstances[child.getAttribute(FOCUSZONE_ID_ATTRIBUTE) as string];\n }\n const match = this._getFirstInnerZone(child);\n\n if (match) {\n return match;\n }\n\n child = child.nextElementSibling as HTMLElement | null;\n }\n\n return null;\n }\n\n private _moveFocus(\n isForward: boolean,\n // eslint-disable-next-line deprecation/deprecation\n getDistanceFromCenter: (activeRect: ClientRect, targetRect: ClientRect) => number,\n ev?: Event,\n useDefaultWrap: boolean = true,\n ): boolean {\n let element = this._activeElement;\n let candidateDistance = -1;\n let candidateElement: HTMLElement | undefined = undefined;\n let changedFocus = false;\n const isBidirectional = this.props.direction === FocusZoneDirection.bidirectional;\n\n if (!element || !this._root.current) {\n return false;\n }\n\n if (this._isElementInput(element)) {\n if (!this._shouldInputLoseFocus(element as HTMLInputElement, isForward)) {\n return false;\n }\n }\n\n const activeRect = isBidirectional ? element.getBoundingClientRect() : null;\n\n do {\n element = (\n isForward ? getNextElement(this._root.current, element) : getPreviousElement(this._root.current, element)\n ) as HTMLElement;\n\n if (isBidirectional) {\n if (element) {\n const targetRect = element.getBoundingClientRect();\n // eslint-disable-next-line deprecation/deprecation\n const elementDistance = getDistanceFromCenter(activeRect as ClientRect, targetRect);\n\n if (elementDistance === -1 && candidateDistance === -1) {\n candidateElement = element;\n break;\n }\n\n if (elementDistance > -1 && (candidateDistance === -1 || elementDistance < candidateDistance)) {\n candidateDistance = elementDistance;\n candidateElement = element;\n }\n\n if (candidateDistance >= 0 && elementDistance < 0) {\n break;\n }\n }\n } else {\n candidateElement = element;\n break;\n }\n } while (element);\n\n // Focus the closest candidate\n if (candidateElement && candidateElement !== this._activeElement) {\n changedFocus = true;\n this.focusElement(candidateElement);\n } else if (this.props.isCircularNavigation && useDefaultWrap) {\n if (isForward) {\n return this.focusElement(\n getNextElement(this._root.current, this._root.current.firstElementChild as HTMLElement, true) as HTMLElement,\n );\n } else {\n return this.focusElement(\n getPreviousElement(\n this._root.current,\n this._root.current.lastElementChild as HTMLElement,\n true,\n true,\n true,\n ) as HTMLElement,\n );\n }\n }\n\n return changedFocus;\n }\n\n private _moveFocusDown(): boolean {\n let targetTop = -1;\n // eslint-disable-next-line deprecation/deprecation\n const leftAlignment = this._focusAlignment.left || this._focusAlignment.x || 0;\n\n if (\n // eslint-disable-next-line deprecation/deprecation\n this._moveFocus(true, (activeRect: ClientRect, targetRect: ClientRect) => {\n let distance = -1;\n // ClientRect values can be floats that differ by very small fractions of a decimal.\n // If the difference between top and bottom are within a pixel then we should treat\n // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent,\n // but without Math.Floor they will be handled incorrectly.\n const targetRectTop = Math.floor(targetRect.top);\n const activeRectBottom = Math.floor(activeRect.bottom);\n\n if (targetRectTop < activeRectBottom) {\n if (!this._shouldWrapFocus(this._activeElement as HTMLElement, NO_VERTICAL_WRAP)) {\n return LARGE_NEGATIVE_DISTANCE_FROM_CENTER;\n }\n\n return LARGE_DISTANCE_FROM_CENTER;\n }\n\n if ((targetTop === -1 && targetRectTop >= activeRectBottom) || targetRectTop === targetTop) {\n targetTop = targetRectTop;\n if (leftAlignment >= targetRect.left && leftAlignment <= targetRect.left + targetRect.width) {\n distance = 0;\n } else {\n distance = Math.abs(targetRect.left + targetRect.width / 2 - leftAlignment);\n }\n }\n\n return distance;\n })\n ) {\n this._setFocusAlignment(this._activeElement as HTMLElement, false, true);\n return true;\n }\n\n return false;\n }\n\n private _moveFocusUp(): boolean {\n let targetTop = -1;\n // eslint-disable-next-line deprecation/deprecation\n const leftAlignment = this._focusAlignment.left || this._focusAlignment.x || 0;\n\n if (\n // eslint-disable-next-line deprecation/deprecation\n this._moveFocus(false, (activeRect: ClientRect, targetRect: ClientRect) => {\n let distance = -1;\n // ClientRect values can be floats that differ by very small fractions of a decimal.\n // If the difference between top and bottom are within a pixel then we should treat\n // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent,\n // but without Math.Floor they will be handled incorrectly.\n const targetRectBottom = Math.floor(targetRect.bottom);\n const targetRectTop = Math.floor(targetRect.top);\n const activeRectTop = Math.floor(activeRect.top);\n\n if (targetRectBottom > activeRectTop) {\n if (!this._shouldWrapFocus(this._activeElement as HTMLElement, NO_VERTICAL_WRAP)) {\n return LARGE_NEGATIVE_DISTANCE_FROM_CENTER;\n }\n return LARGE_DISTANCE_FROM_CENTER;\n }\n\n if ((targetTop === -1 && targetRectBottom <= activeRectTop) || targetRectTop === targetTop) {\n targetTop = targetRectTop;\n if (leftAlignment >= targetRect.left && leftAlignment <= targetRect.left + targetRect.width) {\n distance = 0;\n } else {\n distance = Math.abs(targetRect.left + targetRect.width / 2 - leftAlignment);\n }\n }\n\n return distance;\n })\n ) {\n this._setFocusAlignment(this._activeElement as HTMLElement, false, true);\n return true;\n }\n\n return false;\n }\n\n private _moveFocusLeft(theme: ITheme): boolean {\n const shouldWrap = this._shouldWrapFocus(this._activeElement as HTMLElement, NO_HORIZONTAL_WRAP);\n if (\n this._moveFocus(\n getRTL(theme),\n // eslint-disable-next-line deprecation/deprecation\n (activeRect: ClientRect, targetRect: ClientRect) => {\n let distance = -1;\n let topBottomComparison;\n\n if (getRTL(theme)) {\n // When in RTL, this comparison should be the same as the one in _moveFocusRight for LTR.\n // Going left at a leftmost rectangle will go down a line instead of up a line like in LTR.\n // This is important, because we want to be comparing the top of the target rect\n // with the bottom of the active rect.\n topBottomComparison = parseFloat(targetRect.top.toFixed(3)) < parseFloat(activeRect.bottom.toFixed(3));\n } else {\n topBottomComparison = parseFloat(targetRect.bottom.toFixed(3)) > parseFloat(activeRect.top.toFixed(3));\n }\n\n if (\n topBottomComparison &&\n targetRect.right <= activeRect.right &&\n this.props.direction !== FocusZoneDirection.vertical\n ) {\n distance = activeRect.right - targetRect.right;\n } else if (!shouldWrap) {\n distance = LARGE_NEGATIVE_DISTANCE_FROM_CENTER;\n }\n\n return distance;\n },\n undefined /*ev*/,\n shouldWrap,\n )\n ) {\n this._setFocusAlignment(this._activeElement as HTMLElement, true, false);\n return true;\n }\n\n return false;\n }\n\n private _moveFocusRight(theme: ITheme): boolean {\n const shouldWrap = this._shouldWrapFocus(this._activeElement as HTMLElement, NO_HORIZONTAL_WRAP);\n if (\n this._moveFocus(\n !getRTL(theme),\n // eslint-disable-next-line deprecation/deprecation\n (activeRect: ClientRect, targetRect: ClientRect) => {\n let distance = -1;\n let topBottomComparison;\n\n if (getRTL(theme)) {\n // When in RTL, this comparison should be the same as the one in _moveFocusLeft for LTR.\n // Going right at a rightmost rectangle will go up a line instead of down a line like in LTR.\n // This is important, because we want to be comparing the bottom of the target rect\n // with the top of the active rect.\n topBottomComparison = parseFloat(targetRect.bottom.toFixed(3)) > parseFloat(activeRect.top.toFixed(3));\n } else {\n topBottomComparison = parseFloat(targetRect.top.toFixed(3)) < parseFloat(activeRect.bottom.toFixed(3));\n }\n\n if (\n topBottomComparison &&\n targetRect.left >= activeRect.left &&\n this.props.direction !== FocusZoneDirection.vertical\n ) {\n distance = targetRect.left - activeRect.left;\n } else if (!shouldWrap) {\n distance = LARGE_NEGATIVE_DISTANCE_FROM_CENTER;\n }\n\n return distance;\n },\n undefined /*ev*/,\n shouldWrap,\n )\n ) {\n this._setFocusAlignment(this._activeElement as HTMLElement, true, false);\n return true;\n }\n\n return false;\n }\n\n private _getHorizontalDistanceFromCenter = (\n isForward: boolean,\n // eslint-disable-next-line deprecation/deprecation\n activeRect: ClientRect,\n // eslint-disable-next-line deprecation/deprecation\n targetRect: ClientRect,\n ): number => {\n // eslint-disable-next-line deprecation/deprecation\n const leftAlignment = this._focusAlignment.left || this._focusAlignment.x || 0;\n // ClientRect values can be floats that differ by very small fractions of a decimal.\n // If the difference between top and bottom are within a pixel then we should treat\n // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent,\n // but without Math.Floor they will be handled incorrectly.\n const targetRectTop = Math.floor(targetRect.top);\n const activeRectBottom = Math.floor(activeRect.bottom);\n const targetRectBottom = Math.floor(targetRect.bottom);\n const activeRectTop = Math.floor(activeRect.top);\n const isValidCandidateOnpagingDown = isForward && targetRectTop > activeRectBottom;\n const isValidCandidateOnpagingUp = !isForward && targetRectBottom < activeRectTop;\n\n if (isValidCandidateOnpagingDown || isValidCandidateOnpagingUp) {\n if (leftAlignment >= targetRect.left && leftAlignment <= targetRect.left + targetRect.width) {\n return 0;\n }\n return Math.abs(targetRect.left + targetRect.width / 2 - leftAlignment);\n }\n\n if (!this._shouldWrapFocus(this._activeElement as HTMLElement, NO_VERTICAL_WRAP)) {\n return LARGE_NEGATIVE_DISTANCE_FROM_CENTER;\n }\n return LARGE_DISTANCE_FROM_CENTER;\n };\n\n private _moveFocusPaging(isForward: boolean, useDefaultWrap: boolean = true): boolean {\n let element = this._activeElement;\n if (!element || !this._root.current) {\n return false;\n }\n if (this._isElementInput(element)) {\n if (!this._shouldInputLoseFocus(element as HTMLInputElement, isForward)) {\n return false;\n }\n }\n const scrollableParent = findScrollableParent(element);\n if (!scrollableParent) {\n return false;\n }\n let candidateDistance = -1;\n let candidateElement = undefined;\n let targetTop = -1;\n let targetBottom = -1;\n const pagesize = (scrollableParent as HTMLElement).clientHeight;\n const activeRect = element.getBoundingClientRect();\n do {\n element = isForward\n ? getNextElement(this._root.current, element)\n : getPreviousElement(this._root.current, element);\n if (element) {\n const targetRect = element.getBoundingClientRect();\n const targetRectTop = Math.floor(targetRect.top);\n const activeRectBottom = Math.floor(activeRect.bottom);\n const targetRectBottom = Math.floor(targetRect.bottom);\n const activeRectTop = Math.floor(activeRect.top);\n const elementDistance = this._getHorizontalDistanceFromCenter(isForward, activeRect, targetRect);\n const isElementPassedPageSizeOnPagingDown = isForward && targetRectTop > activeRectBottom + pagesize;\n const isElementPassedPageSizeOnPagingUp = !isForward && targetRectBottom < activeRectTop - pagesize;\n\n if (isElementPassedPageSizeOnPagingDown || isElementPassedPageSizeOnPagingUp) {\n break;\n }\n if (elementDistance > -1) {\n // for paging down\n if (isForward && targetRectTop > targetTop) {\n targetTop = targetRectTop;\n candidateDistance = elementDistance;\n candidateElement = element;\n } else if (!isForward && targetRectBottom < targetBottom) {\n // for paging up\n targetBottom = targetRectBottom;\n candidateDistance = elementDistance;\n candidateElement = element;\n } else if (candidateDistance === -1 || elementDistance <= candidateDistance) {\n candidateDistance = elementDistance;\n candidateElement = element;\n }\n }\n }\n } while (element);\n\n let changedFocus = false;\n // Focus the closest candidate\n if (candidateElement && candidateElement !== this._activeElement) {\n changedFocus = true;\n this.focusElement(candidateElement);\n this._setFocusAlignment(candidateElement as HTMLElement, false, true);\n } else if (this.props.isCircularNavigation && useDefaultWrap) {\n if (isForward) {\n return this.focusElement(\n getNextElement(this._root.current, this._root.current.firstElementChild as HTMLElement, true) as HTMLElement,\n );\n }\n return this.focusElement(\n getPreviousElement(\n this._root.current,\n this._root.current.lastElementChild as HTMLElement,\n true,\n true,\n true,\n ) as HTMLElement,\n );\n }\n return changedFocus;\n }\n\n private _setFocusAlignment(element: HTMLElement, isHorizontal?: boolean, isVertical?: boolean): void {\n if (\n this.props.direction === FocusZoneDirection.bidirectional &&\n (!this._focusAlignment || isHorizontal || isVertical)\n ) {\n const rect = element.getBoundingClientRect();\n const left = rect.left + rect.width / 2;\n const top = rect.top + rect.height / 2;\n\n if (!this._focusAlignment) {\n this._focusAlignment = { left, top };\n }\n\n if (isHorizontal) {\n this._focusAlignment.left = left;\n }\n\n if (isVertical) {\n this._focusAlignment.top = top;\n }\n }\n }\n\n private _isImmediateDescendantOfZone(element?: HTMLElement): boolean {\n return this._getOwnerZone(element) === this._root.current;\n }\n\n private _getOwnerZone(element?: HTMLElement): HTMLElement | null {\n let parentElement = getParent(element as HTMLElement, ALLOW_VIRTUAL_ELEMENTS);\n\n while (parentElement && parentElement !== this._root.current && parentElement !== this._getDocument().body) {\n if (isElementFocusZone(parentElement)) {\n return parentElement;\n }\n\n parentElement = getParent(parentElement, ALLOW_VIRTUAL_ELEMENTS);\n }\n\n return parentElement;\n }\n\n private _updateTabIndexes(element?: HTMLElement): void {\n if (\n !this._activeElement &&\n this.props.defaultTabbableElement &&\n typeof this.props.defaultTabbableElement === 'function'\n ) {\n this._activeElement = this.props.defaultTabbableElement(this._root.current as HTMLElement);\n }\n\n if (!element && this._root.current) {\n this._defaultFocusElement = null;\n element = this._root.current;\n if (this._activeElement && !elementContains(element, this._activeElement)) {\n this._activeElement = null;\n }\n }\n\n // If active element changes state to disabled, set it to null.\n // Otherwise, we lose keyboard accessibility to other elements in focus zone.\n if (this._activeElement && !isElementTabbable(this._activeElement)) {\n this._activeElement = null;\n }\n\n const childNodes = element && element.children;\n\n for (let childIndex = 0; childNodes && childIndex < childNodes.length; childIndex++) {\n const child = childNodes[childIndex] as HTMLElement;\n\n if (!isElementFocusZone(child)) {\n // If the item is explicitly set to not be focusable then TABINDEX needs to be set to -1.\n if (child.getAttribute && child.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'false') {\n child.setAttribute(TABINDEX, '-1');\n }\n\n if (isElementTabbable(child)) {\n if (this.props.disabled) {\n child.setAttribute(TABINDEX, '-1');\n } else if (\n !this._isInnerZone &&\n ((!this._activeElement && !this._defaultFocusElement) || this._activeElement === child)\n ) {\n this._defaultFocusElement = child;\n if (child.getAttribute(TABINDEX) !== '0') {\n child.setAttribute(TABINDEX, '0');\n }\n } else if (child.getAttribute(TABINDEX) !== '-1') {\n child.setAttribute(TABINDEX, '-1');\n }\n } else if (child.tagName === 'svg' && child.getAttribute('focusable') !== 'false') {\n // Disgusting IE hack. Sad face.\n child.setAttribute('focusable', 'false');\n }\n } else if (child.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'true') {\n if (\n !this._isInnerZone &&\n ((!this._activeElement && !this._defaultFocusElement) || this._activeElement === child)\n ) {\n this._defaultFocusElement = child;\n if (child.getAttribute(TABINDEX) !== '0') {\n child.setAttribute(TABINDEX, '0');\n }\n } else if (child.getAttribute(TABINDEX) !== '-1') {\n child.setAttribute(TABINDEX, '-1');\n }\n }\n\n this._updateTabIndexes(child);\n }\n }\n\n private _isContentEditableElement(element: HTMLElement): boolean {\n return element && element.getAttribute('contenteditable') === 'true';\n }\n\n private _isElementInput(element: HTMLElement): boolean {\n if (\n element &&\n element.tagName &&\n (element.tagName.toLowerCase() === 'input' || element.tagName.toLowerCase() === 'textarea')\n ) {\n return true;\n }\n return false;\n }\n\n private _shouldInputLoseFocus(element: HTMLInputElement | HTMLTextAreaElement, isForward?: boolean): boolean {\n // If a tab was used, we want to focus on the next element.\n if (\n !this._processingTabKey &&\n element &&\n element.type &&\n ALLOWED_INPUT_TYPES.indexOf(element.type.toLowerCase()) > -1\n ) {\n const selectionStart = element.selectionStart;\n const selectionEnd = element.selectionEnd;\n const isRangeSelected = selectionStart !== selectionEnd;\n const inputValue = element.value;\n const isReadonly = element.readOnly;\n\n // We shouldn't lose focus in the following cases:\n // 1. There is range selected.\n // 2. When selection start is larger than 0 and it is backward and not readOnly.\n // 3. when selection start is not the end of length, it is forward and not readOnly.\n // 4. We press any of the arrow keys when our handleTabKey isn't none or undefined (only losing focus if we hit\n // tab) and if shouldInputLoseFocusOnArrowKey is defined, if scenario prefers to not loose the focus which is\n // determined by calling the callback shouldInputLoseFocusOnArrowKey\n if (\n isRangeSelected ||\n (selectionStart! > 0 && !isForward && !isReadonly) ||\n (selectionStart !== inputValue.length && isForward && !isReadonly) ||\n (!!this.props.handleTabKey &&\n !(this.props.shouldInputLoseFocusOnArrowKey && this.props.shouldInputLoseFocusOnArrowKey(element)))\n ) {\n return false;\n }\n }\n\n return true;\n }\n\n private _shouldWrapFocus(\n element: HTMLElement,\n noWrapDataAttribute: 'data-no-vertical-wrap' | 'data-no-horizontal-wrap',\n ): boolean {\n return this.props.checkForNoWrap ? shouldWrapFocus(element, noWrapDataAttribute) : true;\n }\n\n /**\n * Returns true if the element is a descendant of the FocusZone through a React portal.\n */\n private _portalContainsElement(element: HTMLElement): boolean {\n return element && !!this._root.current && portalContainsElement(element, this._root.current);\n }\n\n private _getDocument(): Document {\n return getDocument(this._root.current)!;\n }\n}\n","import * as React from 'react';\nimport type { IRefObject, Point } from '@fluentui/utilities';\n\n/**\n * FocusZone component class interface.\n * {@docCategory FocusZone}\n */\nexport interface IFocusZone {\n /**\n * Sets focus to the first tabbable item in the zone.\n * @param forceIntoFirstElement - If true, focus will be forced into the first element, even\n * if focus is already in the focus zone.\n * @param bypassHiddenElements - If true, focus will be not be set on hidden elements.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n focus(forceIntoFirstElement?: boolean, bypassHiddenElements?: boolean): boolean;\n\n /**\n * Sets focus to the last tabbable item in the zone.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n focusLast(): boolean;\n\n /**\n * Sets focus to a specific child element within the zone. This can be used in conjunction with\n * shouldReceiveFocus to create delayed focus scenarios (like animate the scroll position to the correct\n * location and then focus.)\n * @param childElement - The child element within the zone to focus.\n * @param forceAlignment - If true, focus alignment will be set according to the element provided.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n focusElement(childElement?: HTMLElement, forceAlignment?: boolean): boolean;\n\n /**\n * Forces horizontal alignment in the context of vertical arrowing to use specific point as the reference, rather\n * than a center based on the last horizontal motion.\n * @param point - the new reference point.\n */\n setFocusAlignment(point: Point): void;\n}\n\n/**\n * FocusZone component props.\n * {@docCategory FocusZone}\n */\nexport interface IFocusZoneProps extends React.HTMLAttributes {\n /**\n * Optional callback to access the IFocusZone interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject;\n\n /**\n * Optional callback to access the root DOM element.\n * @deprecated Temporary solution which will be replaced with ref in the V8 release.\n */\n elementRef?: React.Ref;\n\n /**\n * Additional class name to provide on the root element, in addition to the ms-FocusZone class.\n */\n className?: string;\n\n /**\n * Defines which arrows to react to.\n * @defaultvalue FocusZoneDirection.bidirectional\n */\n direction?: FocusZoneDirection;\n\n /**\n * Optionally defines the initial tabbable element inside the FocusZone.\n * If a string is passed then it is treated as a selector for identifying the initial tabbable element.\n * If a function is passed then it uses the root element as a parameter to return the initial tabbable element.\n */\n defaultTabbableElement?: string | ((root: HTMLElement) => HTMLElement);\n\n /**\n * Optionally provide a selector for identifying the initial active element.\n * @deprecated Use `defaultTabbableElement` instead.\n */\n defaultActiveElement?: string;\n\n /**\n * Determines if a default tabbable element should be force focused on FocusZone mount.\n * @default false\n */\n shouldFocusOnMount?: boolean;\n\n /**\n * If set, the FocusZone will not be tabbable and keyboard navigation will be disabled.\n * This does not affect disabled attribute of any child.\n */\n disabled?: boolean;\n\n /**\n * Element type the root element will use. Default is \"div\".\n * @deprecated Use `as` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n elementType?: any /* TODO should be `keyof React.ReactHTML`, tracking with https://github.com/Microsoft/TypeScript/issues/30050 */;\n\n /**\n * A component that should be used as the root element of the FocusZone component.\n */\n as?: React.ElementType;\n\n /**\n * If set, will cycle to the beginning of the targets once the user navigates to the\n * next target while at the end, and to the end when navigate to the previous at the beginning.\n */\n isCircularNavigation?: boolean;\n\n /**\n * If provided, this callback will be executed on keypresses to determine if the user\n * intends to navigate into the inner zone. Returning true will ask the first inner zone to\n * set focus.\n * @deprecated Use `shouldEnterInnerZone` instead.\n */\n isInnerZoneKeystroke?: (ev: React.KeyboardEvent) => boolean;\n\n /**\n * Callback function that will be executed on keypresses to determine if the user intends to navigate into\n * the inner (nested) zone. Returning true will ask the first inner zone to set focus.\n */\n shouldEnterInnerZone?: (ev: React.KeyboardEvent) => boolean;\n\n /**\n * Sets the aria-labelledby attribute.\n * @deprecated Directly use the `aria-labelledby` attribute instead\n */\n ariaLabelledBy?: string;\n\n /**\n * Sets the aria-describedby attribute.\n * @deprecated Directly use the `aria-describedby` attribute instead\n */\n ariaDescribedBy?: string;\n\n /**\n * Callback for when one of immediate children elements gets active by getting focused\n * or by having one of its respective children elements focused.\n */\n onActiveElementChanged?: (element?: HTMLElement, ev?: React.FocusEvent) => void;\n\n /**\n * @deprecated Div props provided to the FocusZone will be mixed into the root element.\n * Deprecated at v1.12.1.\n */\n rootProps?: React.HTMLAttributes;\n\n /**\n * Callback method for determining if focus should indeed be set on the given element.\n * @param element - The child element within the zone to focus.\n * @returns True if focus should be set to the given element, false to avoid setting focus.\n * @deprecated Use `shouldReceiveFocus` instead.\n */\n onBeforeFocus?: (childElement?: HTMLElement) => boolean;\n\n /**\n * Callback method for determining if focus should indeed be set on the given element.\n * @param element - The child element within the zone to focus.\n * @returns True if focus should be set to the given element, false to avoid setting focus.\n */\n shouldReceiveFocus?: (childElement?: HTMLElement) => boolean;\n\n /** Allows focus to park on root when focus is in the `FocusZone` at render time. */\n allowFocusRoot?: boolean;\n\n /**\n * Allows tab key to be handled to tab through a list of items in the focus zone,\n * an unfortunate side effect is that users will not be able to tab out of the focus zone\n * and have to hit escape or some other key.\n * @deprecated Use `handleTabKey` instead.\n *\n */\n allowTabKey?: boolean;\n\n /**\n * Allows tab key to be handled to tab through a list of items in the focus zone,\n * an unfortunate side effect is that users will not be able to tab out of the focus zone\n * and have to hit escape or some other key.\n */\n handleTabKey?: FocusZoneTabbableElements;\n\n /**\n * If true and FocusZone's root element (container) receives focus, the focus will land either on the\n * defaultTabbableElement (if set) or on the first tabbable element of this FocusZone.\n * Usually a case for nested focus zones, when the nested focus zone's container is a focusable element.\n */\n shouldFocusInnerElementWhenReceivedFocus?: boolean;\n\n /**\n * If true and TAB key is not handled by FocusZone, resets current active element to null value.\n * For example, when roving index is not desirable and focus should always reset to the default tabbable element.\n */\n shouldResetActiveElementWhenTabFromZone?: boolean;\n\n /**\n * Determines whether the FocusZone will walk up the DOM trying to invoke click callbacks on focusable elements on\n * Enter and Space keydowns to ensure accessibility for tags that don't guarantee this behavior.\n * @defaultvalue true\n */\n shouldRaiseClicks?: boolean;\n\n /**\n * Relates to `shouldRaiseClicks`.\n * Allows the click event raising for the \"Enter\" key to be set independently from `shouldRaiseClicks`.\n * Inherits the value of `shouldRaiseClicks` if not set explicitly.\n */\n shouldRaiseClicksOnEnter?: boolean;\n\n /**\n * Relates to `shouldRaiseClicks`.\n * Allows the click event raising for the \"Space\" key to be set independently from `shouldRaiseClicks`.\n * Inherits the value of `shouldRaiseClicks` if not set explicitly.\n */\n shouldRaiseClicksOnSpace?: boolean;\n\n /**\n * A callback method to determine if an input or textarea element should lose focus on arrow keys\n * @param inputElement - The input or textarea element which is to lose focus.\n * @returns True if input element should loose focus or false otherwise.\n */\n shouldInputLoseFocusOnArrowKey?: (inputElement: HTMLInputElement | HTMLTextAreaElement) => boolean;\n\n /**\n * Determines whether to disable the paging support for Page Up and Page Down keyboard scenarios.\n * @defaultvalue false\n */\n pagingSupportDisabled?: boolean;\n\n /**\n * Determines whether to check for data-no-horizontal-wrap or data-no-vertical-wrap attributes\n * when determining how to move focus\n * @defaultvalue false\n */\n checkForNoWrap?: boolean;\n\n /**\n * Whether the FocusZone should allow focus events to propagate past the FocusZone.\n * @deprecated Use `stopFocusPropagation` instead.\n */\n doNotAllowFocusEventToPropagate?: boolean;\n\n /**\n * Whether the FocusZone should allow focus events to propagate past the FocusZone.\n */\n stopFocusPropagation?: boolean;\n\n /**\n * Callback to notify creators that focus has been set on the FocusZone\n * @deprecated Use `onFocus` instead.\n */\n onFocusNotification?: () => void;\n\n /**\n * Callback called when \"focus\" event triggered in FocusZone.\n * @param event - React's original FocusEvent.\n */\n onFocus?: (event: React.FocusEvent) => void;\n\n /**\n * If true, FocusZone prevents the default behavior of Keyboard events when changing focus between elements.\n * @defaultvalue false\n */\n preventDefaultWhenHandled?: boolean;\n\n /**\n * If true, prevents the FocusZone from attempting to restore the focus to the inner element when the focus is on the\n * root element after componentDidUpdate.\n * @defaultvalue false\n */\n preventFocusRestoration?: boolean;\n}\n/**\n * {@docCategory FocusZone}\n */\nexport const FocusZoneTabbableElements = {\n /** Tabbing is not allowed */\n none: 0 as 0,\n\n /** All tabbing action is allowed */\n all: 1 as 1,\n\n /** Tabbing is allowed only on input elements */\n inputOnly: 2 as 2,\n};\n\n/**\n * {@docCategory FocusZone}\n */\nexport type FocusZoneTabbableElements = (typeof FocusZoneTabbableElements)[keyof typeof FocusZoneTabbableElements];\n\n/**\n * {@docCategory FocusZone}\n */\nexport enum FocusZoneDirection {\n /** Only react to up/down arrows. */\n vertical = 0,\n\n /** Only react to left/right arrows. */\n horizontal = 1,\n\n /** React to all arrows. */\n bidirectional = 2,\n\n /**\n * React to all arrows. Navigate next item in DOM on right/down arrow keys and previous - left/up arrow keys.\n * Right and Left arrow keys are swapped in RTL mode.\n */\n domOrder = 3,\n}\n","import { Async } from '@fluentui/utilities';\nimport * as React from 'react';\n\n/**\n * Hook to provide an Async instance that is automatically cleaned up on dismount.\n */\nexport function useAsync() {\n const asyncRef = React.useRef();\n if (!asyncRef.current) {\n asyncRef.current = new Async();\n }\n React.useEffect(() => {\n return () => {\n asyncRef.current?.dispose();\n asyncRef.current = undefined;\n };\n }, []);\n return asyncRef.current;\n}\n","import * as React from 'react';\n\n/**\n * Hook to initialize and return a constant value. Unlike `React.useMemo`, this is guaranteed to\n * always return the same value (and if the initializer is a function, only call it once).\n * This is similar to setting a private member in a class constructor.\n *\n * If the value should ever change based on dependencies, use `React.useMemo` instead.\n *\n * @param initialValue - Initial value, or function to get the initial value. Similar to `useState`,\n * only the value/function passed in the first time this is called is respected.\n * @returns The value. The identity of this value will always be the same.\n */\nexport function useConst(initialValue: T | (() => T)): T {\n // Use useRef to store the value because it's the least expensive built-in hook that works here\n // (we could also use `const [value] = React.useState(initialValue)` but that's more expensive\n // internally due to reducer handling which we don't need)\n const ref = React.useRef<{ value: T }>();\n if (ref.current === undefined) {\n // Box the value in an object so we can tell if it's initialized even if the initializer\n // returns/is undefined\n ref.current = {\n value: typeof initialValue === 'function' ? (initialValue as Function)() : initialValue,\n };\n }\n return ref.current.value;\n}\n","import * as React from 'react';\nimport { useConst } from './useConst';\n\nexport type ChangeCallback<\n TElement extends HTMLElement,\n TValue,\n TEvent extends React.SyntheticEvent | undefined,\n> = (ev: TEvent, newValue: TValue | undefined) => void;\n\n/**\n * Hook to manage a value that could be either controlled or uncontrolled, such as a checked state or\n * text box string.\n * @param controlledValue - The controlled value passed in the props. This value will always be used if provided,\n * and the internal state will be updated to reflect it.\n * @param defaultUncontrolledValue - Initial value for the internal state in the uncontrolled case.\n * @returns An array of the current value and an updater callback. Like `React.useState`, the updater\n * callback always has the same identity, and it can take either a new value, or a function which\n * is passed the previous value and returns the new value.\n * @see https://reactjs.org/docs/uncontrolled-components.html\n */\nexport function useControllableValue(\n controlledValue: TValue | undefined,\n defaultUncontrolledValue: TValue | undefined,\n): Readonly<[TValue | undefined, (update: React.SetStateAction) => void]>;\nexport function useControllableValue<\n TValue,\n TElement extends HTMLElement,\n TEvent extends React.SyntheticEvent | undefined,\n>(\n controlledValue: TValue | undefined,\n defaultUncontrolledValue: TValue | undefined,\n onChange: ChangeCallback | undefined,\n): Readonly<\n [TValue | undefined, (update: React.SetStateAction, ev?: React.FormEvent) => void]\n>;\nexport function useControllableValue<\n TValue,\n TElement extends HTMLElement,\n TEvent extends React.SyntheticEvent | undefined,\n>(\n controlledValue: TValue | undefined,\n defaultUncontrolledValue: TValue | undefined,\n onChange?: ChangeCallback,\n) {\n const [value, setValue] = React.useState(defaultUncontrolledValue);\n const isControlled = useConst(controlledValue !== undefined);\n const currentValue = isControlled ? controlledValue : value;\n\n // Duplicate the current value and onChange in refs so they're accessible from\n // setValueOrCallOnChange without creating a new callback every time\n const valueRef = React.useRef(currentValue);\n const onChangeRef = React.useRef(onChange);\n React.useEffect(() => {\n valueRef.current = currentValue;\n onChangeRef.current = onChange;\n });\n\n // To match the behavior of the setter returned by React.useState, this callback's identity\n // should never change. This means it MUST NOT directly reference variables that can change.\n const setValueOrCallOnChange = useConst(() => (update: React.SetStateAction, ev?: TEvent) => {\n // Assuming here that TValue is not a function, because a controllable value will typically\n // be something a user can enter as input\n const newValue = typeof update === 'function' ? (update as Function)(valueRef.current) : update;\n\n if (onChangeRef.current) {\n onChangeRef.current(ev!, newValue);\n }\n\n if (!isControlled) {\n setValue(newValue);\n }\n });\n\n return [currentValue, setValueOrCallOnChange] as const;\n}\n","import * as React from 'react';\nimport { getId } from '@fluentui/utilities';\n\n/**\n * Hook to generate a unique ID in the global scope (spanning across duplicate copies of the same library).\n *\n * @param prefix - Optional prefix for the ID\n * @param providedId - Optional id provided by a parent component. Defaults to the provided value if present,\n * without conditioning the hook call\n * @returns The ID\n */\nexport function useId(prefix?: string, providedId?: string): string {\n // getId should only be called once since it updates the global constant for the next ID value.\n // (While an extra update isn't likely to cause problems in practice, it's better to avoid it.)\n const ref = React.useRef(providedId);\n if (!ref.current) {\n ref.current = getId(prefix);\n }\n return ref.current;\n}\n","import * as React from 'react';\n\n/**\n * A Ref function which can be treated like a ref object in that it has an attached\n * current property, which will be updated as the ref is evaluated.\n */\nexport type RefObjectFunction = React.RefObject & ((value: T) => void);\n\n/**\n * React hook to merge multiple React refs (either MutableRefObjects or ref callbacks) into a single ref callback that\n * updates all provided refs\n * @param refs - Refs to collectively update with one ref value.\n * @returns A function with an attached \"current\" prop, so that it can be treated like a RefObject.\n */\nexport function useMergedRefs(...refs: (React.Ref | undefined)[]): RefObjectFunction {\n const mergedCallback: RefObjectFunction = React.useCallback(\n (value: T) => {\n // Update the \"current\" prop hanging on the function.\n (mergedCallback as unknown as React.MutableRefObject).current = value;\n\n for (const ref of refs) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n // work around the immutability of the React.Ref type\n (ref as unknown as React.MutableRefObject).current = value;\n }\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps -- already exhaustive\n [...refs],\n ) as unknown as RefObjectFunction;\n\n return mergedCallback;\n}\n","import { on } from '@fluentui/utilities';\nimport * as React from 'react';\n\n/**\n * Hook to attach an event handler on mount and handle cleanup.\n * @param element - Element (or ref to an element) to attach the event handler to\n * @param eventName - The event to attach a handler for\n * @param callback - The handler for the event\n * @param useCapture - Whether or not to attach the handler for the capture phase\n */\nexport function useOnEvent(\n element: React.RefObject | TElement | Window | Document | undefined | null,\n eventName: string,\n callback: (ev: TEvent) => void,\n useCapture?: boolean,\n) {\n // Use a ref for the callback to prevent repeatedly attaching/unattaching callbacks that are unstable across renders\n const callbackRef = React.useRef(callback);\n callbackRef.current = callback;\n\n React.useEffect(() => {\n const actualElement = element && 'current' in element ? element.current : element;\n if (!actualElement) {\n return;\n }\n\n const dispose = on(actualElement, eventName, (ev: TEvent) => callbackRef.current(ev), useCapture);\n return dispose;\n }, [element, eventName, useCapture]);\n}\n","import { useRef, useEffect } from 'react';\n\n/**\n * Hook keeping track of a given value from a previous execution of the component the Hook is used in.\n *\n * See [React Hooks FAQ](https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state)\n */\nexport function usePrevious(value: T): T | undefined {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n}\n","import { getDocument, Rectangle } from '@fluentui/utilities';\nimport * as React from 'react';\nimport { useWindow } from '@fluentui/react-window-provider';\nimport type { Point } from '@fluentui/utilities';\n\nexport type Target = Element | string | MouseEvent | Point | Rectangle | null | React.RefObject;\n\n/**\n * Hook to calculate and cache the target element specified by the given target attribute,\n * as well as the target element's (or host element's) parent window\n * @param target- Target selector passed to the component as a property, describing the element that\n * the callout should target\n * @param hostElement- The callout's host element, used for determining the parent window.\n */\nexport function useTarget(\n target: Target | undefined,\n hostElement?: React.RefObject,\n): Readonly<[React.RefObject, Window | undefined]> {\n const previousTargetProp = React.useRef<\n Element | string | MouseEvent | Point | Rectangle | React.RefObject | null | undefined\n >();\n\n const targetRef = React.useRef(null);\n /**\n * Stores an instance of Window, used to check\n * for server side rendering and if focus was lost.\n */\n const targetWindow = useWindow();\n\n // If the target element changed, find the new one. If we are tracking\n // target with class name, always find element because we do not know if\n // fabric has rendered a new element and disposed the old element.\n if (!target || target !== previousTargetProp.current || typeof target === 'string') {\n const currentElement = hostElement?.current;\n if (target) {\n if (typeof target === 'string') {\n const currentDoc: Document = getDocument(currentElement)!;\n targetRef.current = currentDoc ? currentDoc.querySelector(target) : null;\n } else if ('stopPropagation' in target) {\n targetRef.current = target;\n } else if ('getBoundingClientRect' in target) {\n targetRef.current = target;\n } else if ('current' in target) {\n targetRef.current = target.current;\n } else {\n targetRef.current = target;\n }\n }\n previousTargetProp.current = target;\n }\n\n return [targetRef, targetWindow] as const;\n}\n","import * as React from 'react';\n\n/**\n * Props for the WindowProvider component.\n */\nexport type WindowProviderProps = {\n /**\n * Provide the active window.\n */\n window: Window | undefined;\n children?: React.ReactNode;\n};\n\n/**\n * Context for providing the window.\n */\n// eslint-disable-next-line @fluentui/no-context-default-value\nexport const WindowContext = React.createContext({\n window: typeof window === 'object' ? window : undefined,\n});\n\n/**\n * Hook to access the window object. This can be overridden contextually using the `WindowProvider`.\n */\nexport const useWindow = (): Window | undefined => React.useContext(WindowContext).window;\n\n/**\n * Hook to access the document object. This can be overridden contextually using the `WindowProvider`.\n */\nexport const useDocument = (): Document | undefined => React.useContext(WindowContext).window?.document;\n\n/**\n * Component to provide the window object contextually. This is useful when rendering content to an element\n * contained within a child window or iframe element, where event handlers and styling must be projected\n * to an alternative window or document.\n */\nexport const WindowProvider: React.FunctionComponent = props => {\n return {props.children};\n};\n","export const DirectionalHint = {\n /**\n * Appear above the target element, with the left edges of the callout and target aligning.\n */\n topLeftEdge: 0 as 0,\n\n /**\n * Appear above the target element, with the centers of the callout and target aligning.\n */\n topCenter: 1 as 1,\n\n /**\n * Appear above the target element, with the right edges of the callout and target aligning.\n */\n topRightEdge: 2 as 2,\n\n /**\n * Appear above the target element, aligning with the target element such that the callout tends toward\n * the center of the screen.\n */\n topAutoEdge: 3 as 3,\n\n /**\n * Appear below the target element, with the left edges of the callout and target aligning.\n */\n bottomLeftEdge: 4 as 4,\n\n /**\n * Appear below the target element, with the centers of the callout and target aligning.\n */\n bottomCenter: 5 as 5,\n\n /**\n * Appear below the target element, with the right edges of the callout and target aligning.\n */\n bottomRightEdge: 6 as 6,\n\n /**\n * Appear below the target element, aligning with the target element such that the callout tends toward\n * the center of the screen.\n */\n bottomAutoEdge: 7 as 7,\n\n /**\n * Appear to the left of the target element, with the top edges of the callout and target aligning.\n */\n leftTopEdge: 8 as 8,\n\n /**\n * Appear to the left of the target element, with the centers of the callout and target aligning.\n */\n leftCenter: 9 as 9,\n\n /**\n * Appear to the left of the target element, with the bottom edges of the callout and target aligning.\n */\n leftBottomEdge: 10 as 10,\n\n /**\n * Appear to the right of the target element, with the top edges of the callout and target aligning.\n */\n rightTopEdge: 11 as 11,\n\n /**\n * Appear to the right of the target element, with the centers of the callout and target aligning.\n */\n rightCenter: 12 as 12,\n\n /**\n * Appear to the right of the target element, with the bottom edges of the callout and target aligning.\n */\n rightBottomEdge: 13 as 13,\n};\n\nexport type DirectionalHint = (typeof DirectionalHint)[keyof typeof DirectionalHint];\n","import * as React from 'react';\nimport { DelayedRender, classNamesFunction, getNativeProps, divProperties } from '../../Utilities';\nimport type { IAnnouncedProps, IAnnouncedStyles } from './Announced.types';\n\nconst getClassNames = classNamesFunction<{}, IAnnouncedStyles>();\n\n/**\n * {@docCategory Announced}\n */\nexport class AnnouncedBase extends React.Component {\n public static defaultProps: Partial = {\n 'aria-live': 'polite',\n };\n\n public render(): JSX.Element {\n const { message, styles, as: Root = 'div', className } = this.props;\n\n const classNames = getClassNames(styles, { className });\n\n return (\n \n \n

{message}
\n \n \n );\n }\n}\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { AnnouncedBase } from './Announced.base';\nimport { getStyles } from './Announced.styles';\nimport type { IAnnouncedProps, IAnnouncedStyles } from './Announced.types';\n\nexport const Announced: React.FunctionComponent = styled(\n AnnouncedBase,\n getStyles,\n);\n","import { hiddenContentStyle } from '../../Styling';\nimport type { IStyleFunction } from '../../Utilities';\nimport type { IAnnouncedStyles, IAnnouncedStyleProps } from './Announced.types';\n\nexport const getStyles: IStyleFunction = props => {\n return {\n root: props.className,\n screenReaderText: hiddenContentStyle,\n };\n};\n","import { concatStyleSets, HighContrastSelector } from '../../../Styling';\nimport { memoizeFunction } from '../../../Utilities';\nimport { getStyles as getBaseButtonStyles } from '../BaseButton.styles';\nimport type { IButtonStyles } from '../Button.types';\nimport type { ITheme } from '../../../Styling';\n\nconst DEFAULT_BUTTON_HEIGHT = '40px';\nconst DEFAULT_PADDING = '0 4px';\n\nexport const getStyles = memoizeFunction((theme: ITheme, customStyles?: IButtonStyles): IButtonStyles => {\n const baseButtonStyles: IButtonStyles = getBaseButtonStyles(theme);\n const actionButtonStyles: IButtonStyles = {\n root: {\n padding: DEFAULT_PADDING,\n height: DEFAULT_BUTTON_HEIGHT,\n color: theme.palette.neutralPrimary,\n backgroundColor: 'transparent',\n border: '1px solid transparent',\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Window',\n },\n },\n },\n\n rootHovered: {\n color: theme.palette.themePrimary,\n selectors: {\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n },\n },\n\n iconHovered: {\n color: theme.palette.themePrimary,\n },\n\n rootPressed: {\n color: theme.palette.black,\n },\n\n rootExpanded: {\n color: theme.palette.themePrimary,\n },\n\n iconPressed: {\n color: theme.palette.themeDarker,\n },\n\n rootDisabled: {\n color: theme.palette.neutralTertiary,\n backgroundColor: 'transparent',\n borderColor: 'transparent',\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n },\n\n rootChecked: {\n color: theme.palette.black,\n },\n\n iconChecked: {\n color: theme.palette.themeDarker,\n },\n\n flexContainer: {\n justifyContent: 'flex-start',\n },\n\n icon: {\n color: theme.palette.themeDarkAlt,\n },\n\n iconDisabled: {\n color: 'inherit',\n },\n\n menuIcon: {\n color: theme.palette.neutralSecondary,\n },\n\n textContainer: {\n flexGrow: 0,\n },\n };\n\n return concatStyleSets(baseButtonStyles, actionButtonStyles, customStyles)!;\n});\n","import * as React from 'react';\nimport { BaseButton } from '../BaseButton';\nimport { customizable, nullRender } from '../../../Utilities';\nimport { getStyles } from './ActionButton.styles';\nimport type { IButtonProps } from '../Button.types';\n\n/**\n * {@docCategory Button}\n */\n@customizable('ActionButton', ['theme', 'styles'], true)\nexport class ActionButton extends React.Component {\n public render(): JSX.Element {\n const { styles, theme } = this.props;\n\n return (\n \n );\n }\n}\n","import { memoizeFunction } from '../../Utilities';\nimport { getGlobalClassNames, mergeStyleSets } from '../../Styling';\nimport type { ITheme } from '../../Styling';\nimport type { IButtonStyles } from './Button.types';\n\nexport interface IButtonClassNames {\n root?: string;\n flexContainer?: string;\n textContainer?: string;\n icon?: string;\n label?: string;\n menuIcon?: string;\n description?: string;\n screenReaderText?: string;\n}\n\nexport const ButtonGlobalClassNames = {\n msButton: 'ms-Button',\n msButtonHasMenu: 'ms-Button--hasMenu',\n msButtonIcon: 'ms-Button-icon',\n msButtonMenuIcon: 'ms-Button-menuIcon',\n msButtonLabel: 'ms-Button-label',\n msButtonDescription: 'ms-Button-description',\n msButtonScreenReaderText: 'ms-Button-screenReaderText',\n msButtonFlexContainer: 'ms-Button-flexContainer',\n msButtonTextContainer: 'ms-Button-textContainer',\n};\n\nexport const getBaseButtonClassNames = memoizeFunction(\n (\n theme: ITheme,\n styles: IButtonStyles,\n className: string,\n variantClassName: string,\n iconClassName: string | undefined,\n menuIconClassName: string | undefined,\n disabled: boolean,\n hasMenu: boolean,\n checked: boolean,\n expanded: boolean,\n isSplit: boolean | undefined,\n ): IButtonClassNames => {\n const classNames = getGlobalClassNames(ButtonGlobalClassNames, theme || {});\n\n const isExpanded = expanded && !isSplit;\n return mergeStyleSets({\n root: [\n classNames.msButton,\n styles.root,\n variantClassName,\n checked && ['is-checked', styles.rootChecked],\n isExpanded && [\n 'is-expanded',\n styles.rootExpanded,\n {\n selectors: {\n [`:hover .${classNames.msButtonIcon}`]: styles.iconExpandedHovered,\n // menuIcon falls back to rootExpandedHovered to support original behavior\n [`:hover .${classNames.msButtonMenuIcon}`]: styles.menuIconExpandedHovered || styles.rootExpandedHovered,\n ':hover': styles.rootExpandedHovered,\n },\n },\n ],\n hasMenu && [ButtonGlobalClassNames.msButtonHasMenu, styles.rootHasMenu],\n disabled && ['is-disabled', styles.rootDisabled],\n !disabled &&\n !isExpanded &&\n !checked && {\n selectors: {\n ':hover': styles.rootHovered,\n [`:hover .${classNames.msButtonLabel}`]: styles.labelHovered,\n [`:hover .${classNames.msButtonIcon}`]: styles.iconHovered,\n [`:hover .${classNames.msButtonDescription}`]: styles.descriptionHovered,\n [`:hover .${classNames.msButtonMenuIcon}`]: styles.menuIconHovered,\n ':focus': styles.rootFocused,\n ':active': styles.rootPressed,\n [`:active .${classNames.msButtonIcon}`]: styles.iconPressed,\n [`:active .${classNames.msButtonDescription}`]: styles.descriptionPressed,\n [`:active .${classNames.msButtonMenuIcon}`]: styles.menuIconPressed,\n },\n },\n disabled && checked && [styles.rootCheckedDisabled],\n !disabled &&\n checked && {\n selectors: {\n ':hover': styles.rootCheckedHovered,\n ':active': styles.rootCheckedPressed,\n },\n },\n className,\n ],\n flexContainer: [classNames.msButtonFlexContainer, styles.flexContainer],\n textContainer: [classNames.msButtonTextContainer, styles.textContainer],\n icon: [\n classNames.msButtonIcon,\n iconClassName,\n styles.icon,\n isExpanded && styles.iconExpanded,\n checked && styles.iconChecked,\n disabled && styles.iconDisabled,\n ],\n label: [classNames.msButtonLabel, styles.label, checked && styles.labelChecked, disabled && styles.labelDisabled],\n menuIcon: [\n classNames.msButtonMenuIcon,\n menuIconClassName,\n styles.menuIcon,\n checked && styles.menuIconChecked,\n disabled && !isSplit && styles.menuIconDisabled,\n !disabled &&\n !isExpanded &&\n !checked && {\n selectors: {\n ':hover': styles.menuIconHovered,\n ':active': styles.menuIconPressed,\n },\n },\n isExpanded && ['is-expanded', styles.menuIconExpanded],\n ],\n description: [\n classNames.msButtonDescription,\n styles.description,\n checked && styles.descriptionChecked,\n disabled && styles.descriptionDisabled,\n ],\n screenReaderText: [classNames.msButtonScreenReaderText, styles.screenReaderText],\n });\n },\n);\n","import * as React from 'react';\nimport { DirectionalHint } from '../../common/DirectionalHint';\nimport type { IFocusZoneProps } from '../../FocusZone';\nimport type { IIconProps } from '../../Icon';\nimport type { ICalloutProps, ICalloutContentStyleProps } from '../../Callout';\nimport type { ITheme, IStyle } from '../../Styling';\nimport type { IButtonStyles } from '../../Button';\nimport type {\n IRefObject,\n IBaseProps,\n IRectangle,\n IRenderFunction,\n IStyleFunctionOrObject,\n IComponentAs,\n} from '../../Utilities';\nimport type { IWithResponsiveModeState } from '../../ResponsiveMode';\nimport type { IContextualMenuClassNames, IMenuItemClassNames } from './ContextualMenu.classNames';\nimport type { IVerticalDividerClassNames } from '../Divider/VerticalDivider.types';\nimport type {\n IContextualMenuItemProps,\n IContextualMenuRenderItem,\n IContextualMenuItemStyleProps,\n IContextualMenuItemRenderFunctions,\n} from './ContextualMenuItem.types';\nimport type { IKeytipProps } from '../../Keytip';\nimport type { Target } from '@fluentui/react-hooks';\nimport type { IPopupRestoreFocusParams } from '../../Popup';\nimport { IContextualMenuItemWrapperProps } from './ContextualMenuItemWrapper/ContextualMenuItemWrapper.types';\n\nexport { DirectionalHint } from '../../common/DirectionalHint';\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport enum ContextualMenuItemType {\n Normal = 0,\n Divider = 1,\n Header = 2,\n Section = 3,\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenu {}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuProps\n extends IBaseProps,\n React.RefAttributes,\n // eslint-disable-next-line deprecation/deprecation\n IWithResponsiveModeState {\n /**\n * Optional callback to access the IContextualMenu interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n * @deprecated ContextualMenu has no imperative methods, so componentRef no longer returns a ref\n */\n componentRef?: IRefObject;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * Theme provided by higher-order component.\n */\n theme?: ITheme;\n\n /**\n * Additional CSS class to apply to the ContextualMenu.\n */\n className?: string;\n\n /**\n * The target that the ContextualMenu should try to position itself based on.\n * It can be either an element, a query selector string resolving to a valid element,\n * or a MouseEvent. If a MouseEvent is given, the origin point of the event will be used.\n */\n target?: Target;\n\n /**\n * How the menu should be positioned\n * @defaultvalue DirectionalHint.bottomAutoEdge\n */\n directionalHint?: DirectionalHint;\n\n /**\n * How the menu should be positioned in RTL layouts.\n * If not specified, a mirror of `directionalHint` will be used.\n */\n directionalHintForRTL?: DirectionalHint;\n\n /**\n * The gap between the ContextualMenu and the target\n * @defaultvalue 0\n */\n gapSpace?: number;\n\n /**\n * The width of the beak.\n * @defaultvalue 16\n */\n beakWidth?: number;\n\n /**\n * If true the context menu will render as the same width as the target element\n * @defaultvalue false\n */\n useTargetWidth?: boolean;\n\n /**\n * If true the context menu will have a minimum width equal to the width of the target element\n * @defaultvalue false\n */\n useTargetAsMinWidth?: boolean;\n\n /**\n * The bounding rectangle (or callback that returns a rectangle) which the contextual menu can appear in.\n */\n bounds?: IRectangle | ((target?: Target, targetWindow?: Window) => IRectangle | undefined);\n\n /**\n * If true then the beak is visible. If false it will not be shown.\n */\n isBeakVisible?: boolean;\n\n /**\n * If true, the menu will be positioned to cover the target.\n * If false, it will be positioned next to the target.\n * @defaultvalue false\n */\n coverTarget?: boolean;\n\n /**\n * If true the positioning logic will prefer to flip edges rather than to nudge the rectangle to fit within bounds,\n * thus making sure the element aligns perfectly with target's alignment edge\n */\n alignTargetEdge?: boolean;\n\n /**\n * Menu items to display.\n */\n items: IContextualMenuItem[];\n\n /**\n * Used as `aria-labelledby` for the menu element inside the callout.\n */\n labelElementId?: string;\n\n /**\n * Whether to focus on the menu when mounted.\n * @defaultvalue true\n */\n shouldFocusOnMount?: boolean;\n\n /**\n * Whether to focus on the contextual menu container (as opposed to the first menu item).\n *\n * Avoid using as it breaks the default focus behaviour when using assistive technologies.\n */\n shouldFocusOnContainer?: boolean;\n\n /**\n * Callback when the ContextualMenu tries to close. If `dismissAll` is true then all\n * submenus will be dismissed.\n */\n onDismiss?: (ev?: Event | React.MouseEvent | React.KeyboardEvent, dismissAll?: boolean) => void;\n\n /**\n * Click handler which is invoked if `onClick` is not passed for individual contextual\n * menu item.\n * Returning true will dismiss the menu even if `ev.preventDefault()` was called.\n */\n onItemClick?: (\n ev?: React.MouseEvent | React.KeyboardEvent,\n item?: IContextualMenuItem,\n ) => boolean | void;\n\n /**\n * Whether this menu is a submenu of another menu.\n */\n isSubMenu?: boolean;\n\n /**\n * ID for the ContextualMenu's root element (inside the callout).\n * Should be used for `aria-owns` and other such uses, rather than direct reference for programmatic purposes.\n */\n id?: string;\n\n /**\n * Accessible label for the ContextualMenu's root element (inside the callout).\n */\n ariaLabel?: string;\n\n /**\n * If true do not render on a new layer. If false render on a new layer.\n * @defaultvalue false\n */\n doNotLayer?: boolean;\n\n /**\n * If true the position will not change sides in an attempt to fit the ContextualMenu within bounds.\n * It will still attempt to align it to whatever bounds are given.\n * @defaultvalue false\n */\n directionalHintFixed?: boolean;\n\n /**\n * Callback for when the menu has been opened.\n */\n onMenuOpened?: (contextualMenu?: IContextualMenuProps) => void;\n\n /**\n * Callback for when the menu is being closed (removing from the DOM).\n */\n onMenuDismissed?: (contextualMenu?: IContextualMenuProps) => void;\n\n /**\n * Additional custom props for the Callout.\n */\n calloutProps?: ICalloutProps;\n\n /**\n * Title to be displayed at the top of the menu, above the items.\n */\n title?: string;\n\n /**\n * Method to provide the classnames to style the contextual menu.\n * @deprecated Use `styles` instead to leverage mergeStyles API.\n */\n // eslint-disable-next-line deprecation/deprecation\n getMenuClassNames?: (theme: ITheme, className?: string) => IContextualMenuClassNames;\n\n /** Custom render function for a submenu. */\n onRenderSubMenu?: IRenderFunction;\n\n /**\n * Method to override the render of the list of menu items.\n */\n onRenderMenuList?: IRenderFunction;\n\n /**\n * Method to wrap menu items. Gives the ability to wrap a custom\n * tooltip to each menu item button.\n */\n onRenderContextualMenuItem?: IRenderFunction;\n\n /**\n * Delay (in milliseconds) to wait before expanding / dismissing a submenu on mouseEnter or mouseLeave\n */\n subMenuHoverDelay?: number;\n\n /**\n * Custom component to use for rendering individual menu items.\n * @defaultvalue ContextualMenuItem\n */\n contextualMenuItemAs?: IComponentAs;\n\n /**\n * Props to pass down to the FocusZone.\n * NOTE: the default FocusZoneDirection will be used unless a direction\n * is specified in the focusZoneProps (even if other focusZoneProps are defined)\n * @defaultvalue \\{ direction: FocusZoneDirection.vertical \\}\n */\n focusZoneProps?: IFocusZoneProps;\n\n /**\n * Custom component to use for rendering the focus zone (the root).\n * @defaultValue FocusZone\n */\n focusZoneAs?: IComponentAs;\n\n /**\n * If true, renders the ContextualMenu in a hidden state.\n * Use this flag, rather than rendering a ContextualMenu conditionally based on visibility,\n * to improve rendering performance when it becomes visible.\n * Note: When ContextualMenu is hidden its content will not be rendered. It will only render\n * once the ContextualMenu is visible.\n */\n hidden?: boolean;\n\n /**\n * If true, the menu will be updated even when `hidden=true`. Note that this will consume\n * resources to update even when nothing is being shown to the user. This might be helpful if\n * your updates are small and you want the menu to display quickly when `hidden` is set to false.\n */\n shouldUpdateWhenHidden?: boolean;\n\n /**\n * If true, the contextual menu will not be updated until focus enters the menu via other means.\n * This will only result in different behavior when `shouldFocusOnMount = false`.\n */\n delayUpdateFocusOnHover?: boolean;\n\n /**\n * Called when the component is unmounting, and focus needs to be restored. If this is provided,\n * focus will not be restored automatically, and you'll need to call `params.originalElement.focus()`.\n */\n onRestoreFocus?: (params: IPopupRestoreFocusParams) => void;\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuItemRenderProps extends IContextualMenuItem {\n index: number;\n focusableElementIndex: number;\n totalItemCount: number;\n hasCheckmarks: boolean;\n hasIcons: boolean;\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuListProps {\n items: IContextualMenuItem[];\n totalItemCount: number;\n hasCheckmarks: boolean;\n hasIcons: boolean;\n defaultMenuItemRenderer: (item: IContextualMenuItemRenderProps) => React.ReactNode;\n ariaLabel?: string;\n labelElementId?: string;\n role?: string;\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuItem {\n /**\n * Optional callback to access the IContextualMenuRenderItem interface.\n * This will get passed down to ContextualMenuItem.\n */\n componentRef?: IRefObject;\n\n /**\n * Unique id to identify the item\n */\n key: string;\n\n /**\n * Text of the menu item.\n * If a standard hyphen (-) is passed in, then the item will be rendered as a divider.\n * If a dash must appear as text, use an emdash (—), figuredash (‒), or minus symbol (−) instead.\n */\n text?: string;\n\n /**\n * Secondary description for the menu item to display\n */\n secondaryText?: string;\n\n itemType?: ContextualMenuItemType;\n\n /**\n * Props for an icon to display next to the item.\n */\n iconProps?: IIconProps;\n\n /**\n * Custom render function for the menu item icon.\n * iconProps must be present on at least one item for onRenderIcon to be called.\n */\n onRenderIcon?: IRenderFunction;\n\n /**\n * Props for the Icon used for the chevron.\n */\n submenuIconProps?: IIconProps;\n\n /**\n * Whether the menu item is disabled\n * @defaultvalue false\n */\n disabled?: boolean;\n\n /**\n * If the menu item is a split button, this prop disables purely the primary action of the button.\n * @defaultvalue false\n */\n primaryDisabled?: boolean;\n\n /**\n * @deprecated Not used\n */\n shortCut?: string;\n\n /**\n * Whether or not this menu item can be checked\n * @defaultvalue false\n */\n canCheck?: boolean;\n\n /**\n * Whether or not this menu item is currently checked.\n * @defaultvalue false\n */\n checked?: boolean;\n\n /**\n * Whether or not this menu item is a splitButton.\n * @defaultvalue false\n */\n split?: boolean;\n\n /**\n * Any custom data the developer wishes to associate with the menu item.\n */\n data?: any;\n\n /**\n * Callback for when the menu item is invoked. If `ev.preventDefault()` is called in `onClick`,\n * the click will not close the menu.\n *\n * Only for ContextualMenu items, returning true will dismiss the menu even if `ev.preventDefault()`\n * was called (does not apply for button or CommandBar sub-menu items).\n */\n onClick?: (\n ev?: React.MouseEvent | React.KeyboardEvent,\n item?: IContextualMenuItem,\n ) => boolean | void;\n\n /**\n * Navigate to this URL when the menu item is clicked.\n */\n href?: string;\n\n /**\n * Target window when using `href`.\n */\n target?: string;\n\n /**\n * Link relation setting when using `href`.\n * If `target` is `_blank`, `rel` is defaulted to a value to prevent clickjacking.\n */\n rel?: string;\n\n /**\n * Properties to apply to a submenu to this item.\n *\n * The ContextualMenu will provide default values for `target`, `onDismiss`, `isSubMenu`,\n * `id`, `shouldFocusOnMount`, `directionalHint`, `className`, and `gapSpace`, all of which\n * can be overridden.\n */\n subMenuProps?: IContextualMenuProps;\n\n /**\n * Method to provide the classnames to style the individual items inside a menu.\n * @deprecated Use `styles` prop of `IContextualMenuItemProps` to leverage mergeStyles API.\n */\n getItemClassNames?: (\n theme: ITheme,\n disabled: boolean,\n expanded: boolean,\n checked: boolean,\n isAnchorLink: boolean,\n knownIcon: boolean,\n itemClassName?: string,\n dividerClassName?: string,\n iconClassName?: string,\n subMenuClassName?: string,\n primaryDisabled?: boolean,\n ) => // eslint-disable-next-line deprecation/deprecation\n IMenuItemClassNames;\n\n /**\n * Optional IContextualMenuItemProps overrides to customize behaviors such as item styling via `styles`.\n */\n itemProps?: Partial;\n\n /**\n * Method to provide the classnames to style the Vertical Divider of a split button inside a menu.\n * Default value is the `getSplitButtonVerticalDividerClassNames` func defined in `ContextualMenu.classnames.ts`.\n * @defaultvalue getSplitButtonVerticalDividerClassNames\n */\n // eslint-disable-next-line deprecation/deprecation\n getSplitButtonVerticalDividerClassNames?: (theme: ITheme) => IVerticalDividerClassNames;\n\n /**\n * Properties to apply to render this item as a section.\n * This prop is mutually exclusive with `subMenuProps`.\n */\n sectionProps?: IContextualMenuSection;\n\n /**\n * Additional CSS class to apply to the menu item.\n */\n className?: string;\n\n /**\n * Additional styles to apply to the menu item\n * @deprecated Use `styles` instead to leverage mergeStyles API.\n */\n style?: React.CSSProperties;\n\n /**\n * Custom accessible label for the element.\n * If no override is specified, the `aria-label` attribute will contain the item name.\n */\n ariaLabel?: string;\n\n /**\n * Title (tooltip) text displayed when hovering over an item.\n */\n title?: string;\n\n /**\n * Method to custom render this menu item.\n * For keyboard accessibility, the top-level rendered item should be a focusable element\n * (like an anchor or a button) or have the `data-is-focusable` property set to true.\n *\n * @param item - Item to render. Will typically be of type `IContextualMenuItem`.\n * (When rendering a command bar item, will be `ICommandBarItemProps`.)\n * @param dismissMenu - Function to dismiss the menu. Can be used to ensure that a custom menu\n * item click dismisses the menu. (Will be undefined if rendering a command bar item.)\n */\n onRender?: (item: any, dismissMenu: (ev?: any, dismissAll?: boolean) => void) => React.ReactNode;\n\n /**\n * An override for the child content of the contextual menu item.\n */\n contextualMenuItemAs?: IComponentAs;\n\n /**\n * An override for the entire component used to render the contextal menu item.\n */\n contextualMenuItemWrapperAs?: IComponentAs;\n\n /**\n * Method to customize sub-components rendering of this menu item.\n *\n * @param props - Props used to pass into render functions\n * @param defaultRenders - Default render functions that renders default sub-components\n */\n onRenderContent?: (\n props: IContextualMenuItemProps,\n defaultRenders: IContextualMenuItemRenderFunctions,\n ) => React.ReactNode;\n\n /**\n * A function to be executed on mouse down. This is executed before an `onClick` event and can\n * be used to interrupt native on click events as well. The click event should still handle\n * the commands. This should only be used in special cases when react and non-react are mixed.\n */\n onMouseDown?: (item: IContextualMenuItem, event: React.MouseEvent) => void;\n\n /**\n * Optional override for the menu button's role.\n * @default `menuitem` or `menuitemcheckbox`\n */\n role?: string;\n\n /**\n * When rendering a custom menu component that is passed in, the component might also be a list of\n * elements. We want to keep track of the correct index our menu is using based off of\n * the length of the custom list. It is up to the user to increment the count for their list.\n */\n customOnRenderListLength?: number;\n\n /**\n * Keytip for this contextual menu item\n */\n keytipProps?: IKeytipProps;\n\n /**\n * @deprecated Use subMenuProps.items instead.\n */\n items?: IContextualMenuItem[];\n\n /**\n * Any additional properties to use when custom rendering menu items.\n */\n [propertyName: string]: any;\n\n /**\n * Detailed description of the menu item for the benefit of screen readers.\n */\n ariaDescription?: string;\n\n /**\n * ID of the element that contains additional detailed descriptive information for screen readers\n */\n ariaDescribedBy?: string;\n\n /**\n * @deprecated No longer used. All contextual menu items are now focusable when disabled.\n */\n inactive?: boolean;\n\n /**\n * Text of the menu item.\n * @deprecated Use `text` instead.\n */\n name?: string;\n\n /**\n * Flag which indicates that, when the item is clicked, the 'target' for the click event should be\n * overridden to reflect the launch target from the root menu.\n * This avoids a situation where the 'target' of the event may wind up detached from the DOM\n * when the menu is dismissed in response to the click.\n */\n preferMenuTargetAsEventTarget?: boolean;\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuSection extends React.ClassAttributes {\n /**\n * The items to include inside the section.\n */\n items: IContextualMenuItem[];\n\n /**\n * The optional section title.\n */\n title?: string | IContextualMenuItem;\n\n /**\n * If set to true, the section will display a divider at the top of the section.\n */\n topDivider?: boolean;\n\n /**\n * If set to true, the section will display a divider at the bottom of the section.\n */\n bottomDivider?: boolean;\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IMenuItemStyles extends IButtonStyles {\n /**\n * Styles for a menu item that is an anchor link.\n */\n item?: IStyle;\n\n /**\n * Styles for the content inside the button/link of the menuItem.\n */\n linkContent?: IStyle;\n\n /**\n * Styles for a menu item that is an anchor link.\n */\n anchorLink?: IStyle;\n\n /**\n * Default icon color style for known icons.\n */\n iconColor?: IStyle;\n\n /**\n * Default style for checkmark icons.\n */\n checkmarkIcon?: IStyle;\n\n /**\n * Styles for the submenu icon of a menu item.\n */\n subMenuIcon?: IStyle;\n\n /**\n * Styles for a divider item of a ContextualMenu.\n */\n divider?: IStyle;\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuStyleProps {\n theme: ITheme;\n\n className?: string;\n\n // Insert ContextualMenu style props below\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuStyles {\n /**\n * Style override for the contextual menu title.\n */\n title: IStyle;\n\n /**\n * Style for the container which parents all menu items.\n */\n container: IStyle;\n\n /**\n * Base styles for the root element of all ContextualMenus.\n */\n root: IStyle;\n\n /**\n * Styles for the header item of a ContextualMenu\n */\n header: IStyle;\n\n /**\n * Styles for the list that contains all menuItems.\n */\n list: IStyle;\n\n /**\n * SubComponent styles.\n */\n subComponentStyles: IContextualMenuSubComponentStyles;\n}\n\n/**\n * {@docCategory ContextualMenu}\n */\nexport interface IContextualMenuSubComponentStyles {\n /** Styles for the callout that hosts the ContextualMenu options. */\n callout: IStyleFunctionOrObject;\n\n /** Styles for each menu item. */\n menuItem: IStyleFunctionOrObject;\n}\n","import * as React from 'react';\nimport { Image } from '../Image/Image';\nimport { css, getNativeProps, htmlElementProperties } from '../../Utilities';\nimport { classNames, MS_ICON } from './Icon.styles';\nimport type { IImageIconProps } from './Icon.types';\n\n/**\n * Fast icon component which only supports images (not font glyphs) and can't be targeted by customizations.\n * To style the icon, use `className` or reference `ms-Icon` in CSS.\n * {@docCategory Icon}\n */\nexport const ImageIcon: React.FunctionComponent = props => {\n const { className, imageProps } = props;\n\n const nativeProps = getNativeProps>(props, htmlElementProperties, [\n 'aria-label',\n 'aria-labelledby',\n 'title',\n 'aria-describedby',\n ]);\n const altText = imageProps.alt || props['aria-label'];\n const hasName =\n altText ||\n props['aria-labelledby'] ||\n props.title ||\n imageProps['aria-label'] ||\n imageProps['aria-labelledby'] ||\n imageProps.title;\n\n // move naming or describing attributes from the container (where they are invalid) to the image\n const imageNameProps = {\n 'aria-labelledby': props['aria-labelledby'],\n 'aria-describedby': props['aria-describedby'],\n title: props.title,\n };\n\n const containerProps = hasName\n ? {}\n : {\n 'aria-hidden': true,\n };\n\n return (\n
\n {hasName\n
\n );\n};\n","import * as React from 'react';\nimport { createMemoizer } from '../memoize';\nimport type { IComponentAs, IComponentAsProps } from '../IComponentAs';\n\ninterface IComposeComponentAs {\n (outer: IComponentAs): (inner: IComponentAs) => IComponentAs;\n}\n\nfunction createComposedComponent(\n outer: IComponentAs,\n): (inner: IComponentAs) => IComponentAs {\n const Outer = outer;\n\n const outerMemoizer = createMemoizer((inner: IComponentAs) => {\n if (outer === inner) {\n throw new Error('Attempted to compose a component with itself.');\n }\n\n const Inner = inner;\n\n const innerMemoizer = createMemoizer((defaultRender: IComponentAs) => {\n const InnerWithDefaultRender: React.ComponentType> = (\n innerProps: IComponentAsProps,\n ): JSX.Element => {\n return ;\n };\n\n return InnerWithDefaultRender;\n });\n\n const OuterWithDefaultRender: React.ComponentType> = (\n outerProps: IComponentAsProps,\n ): JSX.Element => {\n const { defaultRender } = outerProps;\n\n return ;\n };\n\n return OuterWithDefaultRender;\n });\n\n return outerMemoizer;\n}\n\nconst componentAsMemoizer = createMemoizer(createComposedComponent);\n\n/**\n * Composes two components which conform to the `IComponentAs` specification; that is, two\n * components which accept a `defaultRender` prop, which is a 'default' implementation of\n * a component which accepts the same overall props.\n *\n * @public\n */\nexport function composeComponentAs(\n outer: IComponentAs,\n inner: IComponentAs,\n): IComponentAs {\n return componentAsMemoizer(outer)(inner);\n}\n","import type { IContextualMenuItem } from '../../index';\n\n/**\n * Determines the effective checked state of a menu item.\n *\n * @param item {IContextualMenuItem} to get the check state of.\n * @returns {true} if the item is checked.\n * @returns {false} if the item is unchecked.\n * @returns {null} if the item is not checkable.\n */\nexport function getIsChecked(item: IContextualMenuItem): boolean | null {\n if (item.canCheck) {\n return !!(item.isChecked || item.checked);\n }\n\n if (typeof item.isChecked === 'boolean') {\n return item.isChecked;\n }\n\n if (typeof item.checked === 'boolean') {\n return item.checked;\n }\n\n // Item is not checkable.\n return null;\n}\n\nexport function hasSubmenu(item: IContextualMenuItem): boolean {\n // eslint-disable-next-line deprecation/deprecation\n return !!(item.subMenuProps || item.items);\n}\n\nexport function isItemDisabled(item: IContextualMenuItem): boolean {\n return !!(item.isDisabled || item.disabled);\n}\n\nexport function getMenuItemAriaRole(item: IContextualMenuItem): string {\n const isChecked = getIsChecked(item);\n const canCheck: boolean = isChecked !== null;\n return canCheck ? 'menuitemcheckbox' : 'menuitem';\n}\n","import * as React from 'react';\nimport { hasSubmenu, getIsChecked } from '../../utilities/contextualMenu/index';\nimport { getRTL, initializeComponentRef } from '../../Utilities';\nimport { Icon } from '../../Icon';\nimport type { IContextualMenuItemProps, IContextualMenuItemRenderFunctions } from './ContextualMenuItem.types';\n\nconst defaultIconRenderer = (props: IContextualMenuItemProps) => {\n const { item, classNames } = props;\n const { iconProps } = item;\n return ;\n};\n\nconst renderItemIcon = (props: IContextualMenuItemProps) => {\n const { item, hasIcons } = props;\n if (!hasIcons) {\n return null;\n }\n\n if (item.onRenderIcon) {\n return item.onRenderIcon(props, defaultIconRenderer);\n }\n\n return defaultIconRenderer(props);\n};\n\nconst renderCheckMarkIcon = ({ onCheckmarkClick, item, classNames }: IContextualMenuItemProps) => {\n const isItemChecked = getIsChecked(item);\n if (onCheckmarkClick) {\n // Ensures that the item is passed as the first argument to the checkmark click callback.\n const onClick = (e: React.MouseEvent) => onCheckmarkClick(item, e);\n\n return (\n \n );\n }\n return null;\n};\n\nconst renderItemName = ({ item, classNames }: IContextualMenuItemProps) => {\n /* eslint-disable deprecation/deprecation */\n if (item.text || item.name) {\n return {item.text || item.name};\n }\n /* eslint-enable deprecation/deprecation */\n return null;\n};\n\nconst renderSecondaryText = ({ item, classNames }: IContextualMenuItemProps) => {\n if (item.secondaryText) {\n return {item.secondaryText};\n }\n return null;\n};\n\nconst renderSubMenuIcon = ({ item, classNames, theme }: IContextualMenuItemProps) => {\n if (hasSubmenu(item)) {\n return (\n \n );\n }\n return null;\n};\n\nexport class ContextualMenuItemBase extends React.Component {\n constructor(props: IContextualMenuItemProps) {\n super(props);\n\n initializeComponentRef(this);\n }\n\n public render() {\n const { item, classNames } = this.props;\n const renderContent = item.onRenderContent || this._renderLayout;\n\n return (\n
\n {renderContent(this.props, {\n renderCheckMarkIcon,\n renderItemIcon,\n renderItemName,\n renderSecondaryText,\n renderSubMenuIcon,\n })}\n
\n );\n }\n\n public openSubMenu = (): void => {\n const { item, openSubMenu, getSubmenuTarget } = this.props;\n if (getSubmenuTarget) {\n const submenuTarget = getSubmenuTarget();\n if (hasSubmenu(item) && openSubMenu && submenuTarget) {\n openSubMenu(item, submenuTarget);\n }\n }\n };\n\n public dismissSubMenu = (): void => {\n const { item, dismissSubMenu } = this.props;\n if (hasSubmenu(item) && dismissSubMenu) {\n dismissSubMenu();\n }\n };\n\n public dismissMenu = (dismissAll?: boolean): void => {\n const { dismissMenu } = this.props;\n if (dismissMenu) {\n dismissMenu(undefined /* ev */, dismissAll);\n }\n };\n\n private _renderLayout(props: IContextualMenuItemProps, defaultRenders: IContextualMenuItemRenderFunctions) {\n return (\n <>\n {defaultRenders.renderCheckMarkIcon(props)}\n {defaultRenders.renderItemIcon(props)}\n {defaultRenders.renderItemName(props)}\n {defaultRenders.renderSecondaryText(props)}\n {defaultRenders.renderSubMenuIcon(props)}\n \n );\n }\n}\n","import { memoizeFunction } from '../../Utilities';\nimport { mergeStyleSets } from '../../Styling';\nimport type { ITheme } from '../../Styling';\nimport type { IVerticalDividerClassNames } from './VerticalDivider.types';\n\n/**\n * @deprecated use getStyles exported from VerticalDivider.styles.ts\n */\nexport const getDividerClassNames = memoizeFunction(\n // eslint-disable-next-line deprecation/deprecation\n (theme: ITheme): IVerticalDividerClassNames => {\n return mergeStyleSets({\n wrapper: {\n display: 'inline-flex',\n height: '100%',\n alignItems: 'center',\n },\n divider: {\n width: 1,\n height: '100%',\n backgroundColor: theme.palette.neutralTertiaryAlt,\n },\n });\n },\n);\n","import {\n concatStyleSets,\n getFocusStyle,\n HighContrastSelector,\n getScreenSelector,\n ScreenWidthMaxMedium,\n IconFontSizes,\n getHighContrastNoAdjustStyle,\n} from '../../Styling';\nimport { memoizeFunction } from '../../Utilities';\nimport type { ITheme } from '../../Styling';\nimport type { IMenuItemStyles } from './ContextualMenu.types';\n\nexport const CONTEXTUAL_MENU_ITEM_HEIGHT = 36;\n\nconst MediumScreenSelector = getScreenSelector(0, ScreenWidthMaxMedium);\n\nexport const getMenuItemStyles = memoizeFunction((theme: ITheme): IMenuItemStyles => {\n const { semanticColors, fonts, palette } = theme;\n const ContextualMenuItemBackgroundHoverColor = semanticColors.menuItemBackgroundHovered;\n const ContextualMenuItemTextHoverColor = semanticColors.menuItemTextHovered;\n const ContextualMenuItemBackgroundSelectedColor = semanticColors.menuItemBackgroundPressed;\n const ContextualMenuItemDividerColor = semanticColors.bodyDivider;\n\n const menuItemStyles: IMenuItemStyles = {\n item: [\n fonts.medium,\n {\n color: semanticColors.bodyText,\n position: 'relative',\n boxSizing: 'border-box',\n },\n ],\n divider: {\n display: 'block',\n height: '1px',\n backgroundColor: ContextualMenuItemDividerColor,\n position: 'relative',\n },\n root: [\n getFocusStyle(theme),\n fonts.medium,\n {\n color: semanticColors.bodyText,\n backgroundColor: 'transparent',\n border: 'none',\n width: '100%',\n height: CONTEXTUAL_MENU_ITEM_HEIGHT,\n lineHeight: CONTEXTUAL_MENU_ITEM_HEIGHT,\n display: 'block',\n cursor: 'pointer',\n padding: '0px 8px 0 4px', // inner elements have a margin of 4px (4 + 4 = 8px as on right side)\n textAlign: 'left',\n },\n ],\n rootDisabled: {\n color: semanticColors.disabledBodyText,\n cursor: 'default',\n pointerEvents: 'none',\n selectors: {\n [HighContrastSelector]: {\n // ensure disabled text looks different than enabled\n color: 'GrayText',\n opacity: 1,\n },\n },\n },\n rootHovered: {\n backgroundColor: ContextualMenuItemBackgroundHoverColor,\n color: ContextualMenuItemTextHoverColor,\n selectors: {\n '.ms-ContextualMenu-icon': {\n color: palette.themeDarkAlt,\n },\n '.ms-ContextualMenu-submenuIcon': {\n color: palette.neutralPrimary,\n },\n },\n },\n rootFocused: {\n backgroundColor: palette.white,\n },\n rootChecked: {\n selectors: {\n '.ms-ContextualMenu-checkmarkIcon': {\n color: palette.neutralPrimary,\n },\n },\n },\n rootPressed: {\n backgroundColor: ContextualMenuItemBackgroundSelectedColor,\n selectors: {\n '.ms-ContextualMenu-icon': {\n color: palette.themeDark,\n },\n '.ms-ContextualMenu-submenuIcon': {\n color: palette.neutralPrimary,\n },\n },\n },\n rootExpanded: {\n backgroundColor: ContextualMenuItemBackgroundSelectedColor,\n color: semanticColors.bodyTextChecked,\n selectors: {\n '.ms-ContextualMenu-submenuIcon': {\n [HighContrastSelector]: {\n // icons inside of anchor tags are not properly inheriting color in high contrast\n color: 'inherit',\n },\n },\n [HighContrastSelector]: {\n // allow change in background/text to be visible\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n linkContent: {\n whiteSpace: 'nowrap',\n height: 'inherit',\n display: 'flex',\n alignItems: 'center',\n maxWidth: '100%',\n },\n anchorLink: {\n padding: '0px 8px 0 4px', // inner elements have a margin of 4px (4 + 4 = 8px as on right side)\n textRendering: 'auto',\n color: 'inherit',\n letterSpacing: 'normal',\n wordSpacing: 'normal',\n textTransform: 'none',\n textIndent: '0px',\n textShadow: 'none',\n textDecoration: 'none',\n boxSizing: 'border-box',\n },\n label: {\n margin: '0 4px',\n verticalAlign: 'middle',\n display: 'inline-block',\n flexGrow: '1',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n },\n secondaryText: {\n color: theme.palette.neutralSecondary,\n paddingLeft: '20px',\n textAlign: 'right',\n },\n icon: {\n display: 'inline-block',\n minHeight: '1px',\n maxHeight: CONTEXTUAL_MENU_ITEM_HEIGHT,\n fontSize: IconFontSizes.medium,\n width: IconFontSizes.medium,\n margin: '0 4px',\n verticalAlign: 'middle',\n flexShrink: '0',\n selectors: {\n [MediumScreenSelector]: {\n fontSize: IconFontSizes.large,\n width: IconFontSizes.large,\n },\n },\n },\n iconColor: {\n color: semanticColors.menuIcon,\n },\n iconDisabled: {\n color: semanticColors.disabledBodyText,\n },\n checkmarkIcon: {\n color: semanticColors.bodySubtext,\n },\n subMenuIcon: {\n height: CONTEXTUAL_MENU_ITEM_HEIGHT,\n lineHeight: CONTEXTUAL_MENU_ITEM_HEIGHT,\n color: palette.neutralSecondary,\n textAlign: 'center',\n display: 'inline-block',\n verticalAlign: 'middle',\n flexShrink: '0',\n fontSize: IconFontSizes.small, // 12px\n selectors: {\n ':hover': {\n color: palette.neutralPrimary,\n },\n ':active': {\n color: palette.neutralPrimary,\n },\n [MediumScreenSelector]: {\n fontSize: IconFontSizes.medium, // 16px\n },\n },\n },\n splitButtonFlexContainer: [\n getFocusStyle(theme),\n {\n display: 'flex',\n height: CONTEXTUAL_MENU_ITEM_HEIGHT,\n flexWrap: 'nowrap',\n justifyContent: 'center',\n alignItems: 'flex-start',\n },\n ],\n };\n\n return concatStyleSets(menuItemStyles);\n});\n","import { getDividerClassNames } from '../Divider/VerticalDivider.classNames';\nimport { getMenuItemStyles } from './ContextualMenu.cnstyles';\nimport {\n mergeStyleSets,\n getGlobalClassNames,\n getScreenSelector,\n ScreenWidthMaxMedium,\n hiddenContentStyle,\n} from '../../Styling';\nimport { memoizeFunction, IsFocusVisibleClassName } from '../../Utilities';\nimport type { ITheme } from '../../Styling';\nimport type { IVerticalDividerClassNames } from '../Divider/VerticalDivider.types';\nimport type { IContextualMenuItemStyles, IContextualMenuItemStyleProps } from './ContextualMenuItem.types';\nimport type { IContextualMenuSubComponentStyles } from './ContextualMenu.types';\n\n/**\n * @deprecated Deprecated in favor of mergeStyles API.\n */\nexport interface IContextualMenuClassNames {\n container?: string;\n root?: string;\n list?: string;\n header?: string;\n title?: string;\n subComponentStyles?: IContextualMenuSubComponentStyles;\n}\n\n/**\n * @deprecated Deprecated in favor of mergeStyles API.\n */\nexport interface IMenuItemClassNames {\n item?: string;\n divider?: string;\n root?: string;\n linkContent?: string;\n icon?: string;\n checkmarkIcon?: string;\n subMenuIcon?: string;\n label?: string;\n secondaryText?: string;\n splitContainer?: string;\n splitPrimary?: string;\n splitMenu?: string;\n linkContentMenu?: string;\n screenReaderText?: string;\n}\n\nconst CONTEXTUAL_SPLIT_MENU_MINWIDTH = '28px';\n\nconst MediumScreenSelector = getScreenSelector(0, ScreenWidthMaxMedium);\n\nexport const getSplitButtonVerticalDividerClassNames = memoizeFunction(\n /* eslint-disable deprecation/deprecation */\n (theme: ITheme): IVerticalDividerClassNames => {\n return mergeStyleSets(getDividerClassNames(theme), {\n /* eslint-enable deprecation/deprecation */\n wrapper: {\n position: 'absolute',\n right: 28, // width of the splitMenu based on the padding plus icon fontSize\n selectors: {\n [MediumScreenSelector]: {\n right: 32, // fontSize of the icon increased from 12px to 16px\n },\n },\n },\n divider: {\n height: 16,\n width: 1,\n },\n });\n },\n);\n\nconst GlobalClassNames = {\n item: 'ms-ContextualMenu-item',\n divider: 'ms-ContextualMenu-divider',\n root: 'ms-ContextualMenu-link',\n isChecked: 'is-checked',\n isExpanded: 'is-expanded',\n isDisabled: 'is-disabled',\n linkContent: 'ms-ContextualMenu-linkContent',\n linkContentMenu: 'ms-ContextualMenu-linkContent',\n icon: 'ms-ContextualMenu-icon',\n iconColor: 'ms-ContextualMenu-iconColor',\n checkmarkIcon: 'ms-ContextualMenu-checkmarkIcon',\n subMenuIcon: 'ms-ContextualMenu-submenuIcon',\n label: 'ms-ContextualMenu-itemText',\n secondaryText: 'ms-ContextualMenu-secondaryText',\n splitMenu: 'ms-ContextualMenu-splitMenu',\n screenReaderText: 'ms-ContextualMenu-screenReaderText',\n};\n\n/**\n * @deprecated Will be removed in \\>= 7.0.\n * This is a package-internal method that has been depended on.\n * It is being kept in this form for backwards compatibility.\n * @internal\n */\n// TODO: Audit perf. impact of and potentially remove memoizeFunction.\n// https://github.com/microsoft/fluentui/issues/5534\nexport const getItemClassNames = memoizeFunction(\n (\n theme: ITheme,\n disabled: boolean,\n expanded: boolean,\n checked: boolean,\n isAnchorLink: boolean,\n knownIcon: boolean,\n itemClassName?: string,\n dividerClassName?: string,\n iconClassName?: string,\n subMenuClassName?: string,\n primaryDisabled?: boolean,\n className?: string,\n ): IContextualMenuItemStyles => {\n const styles = getMenuItemStyles(theme);\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return mergeStyleSets({\n item: [classNames.item, styles.item, itemClassName],\n divider: [classNames.divider, styles.divider, dividerClassName],\n root: [\n classNames.root,\n styles.root,\n checked && [classNames.isChecked, styles.rootChecked],\n isAnchorLink && styles.anchorLink,\n expanded && [classNames.isExpanded, styles.rootExpanded],\n disabled && [classNames.isDisabled, styles.rootDisabled],\n !disabled &&\n !expanded && [\n {\n selectors: {\n ':hover': styles.rootHovered,\n ':active': styles.rootPressed,\n [`.${IsFocusVisibleClassName} &:focus, .${IsFocusVisibleClassName} &:focus:hover`]: styles.rootFocused,\n [`.${IsFocusVisibleClassName} &:hover`]: { background: 'inherit;' },\n },\n },\n ],\n className,\n ],\n splitPrimary: [\n styles.root,\n {\n width: `calc(100% - ${CONTEXTUAL_SPLIT_MENU_MINWIDTH})`,\n },\n checked && ['is-checked', styles.rootChecked],\n (disabled || primaryDisabled) && ['is-disabled', styles.rootDisabled],\n !(disabled || primaryDisabled) &&\n !checked && [\n {\n selectors: {\n ':hover': styles.rootHovered,\n // when hovering over the splitPrimary also affect the splitMenu\n [`:hover ~ .${classNames.splitMenu}`]: styles.rootHovered,\n ':active': styles.rootPressed,\n [`.${IsFocusVisibleClassName} &:focus, .${IsFocusVisibleClassName} &:focus:hover`]: styles.rootFocused,\n [`.${IsFocusVisibleClassName} &:hover`]: { background: 'inherit;' },\n },\n },\n ],\n ],\n splitMenu: [\n classNames.splitMenu,\n styles.root,\n {\n flexBasis: '0',\n padding: '0 8px',\n minWidth: CONTEXTUAL_SPLIT_MENU_MINWIDTH,\n },\n expanded && ['is-expanded', styles.rootExpanded],\n disabled && ['is-disabled', styles.rootDisabled],\n !disabled &&\n !expanded && [\n {\n selectors: {\n ':hover': styles.rootHovered,\n ':active': styles.rootPressed,\n [`.${IsFocusVisibleClassName} &:focus, .${IsFocusVisibleClassName} &:focus:hover`]: styles.rootFocused,\n [`.${IsFocusVisibleClassName} &:hover`]: { background: 'inherit;' },\n },\n },\n ],\n ],\n anchorLink: styles.anchorLink,\n linkContent: [classNames.linkContent, styles.linkContent],\n linkContentMenu: [\n classNames.linkContentMenu,\n styles.linkContent,\n {\n justifyContent: 'center',\n },\n ],\n icon: [\n classNames.icon,\n knownIcon && styles.iconColor,\n styles.icon,\n iconClassName,\n disabled && [classNames.isDisabled, styles.iconDisabled],\n ],\n iconColor: styles.iconColor,\n checkmarkIcon: [classNames.checkmarkIcon, knownIcon && styles.checkmarkIcon, styles.icon, iconClassName],\n subMenuIcon: [\n classNames.subMenuIcon,\n styles.subMenuIcon,\n subMenuClassName,\n expanded && { color: theme.palette.neutralPrimary },\n disabled && [styles.iconDisabled],\n ],\n label: [classNames.label, styles.label],\n secondaryText: [classNames.secondaryText, styles.secondaryText],\n splitContainer: [\n styles.splitButtonFlexContainer,\n !disabled &&\n !checked && [\n {\n selectors: {\n [`.${IsFocusVisibleClassName} &:focus, .${IsFocusVisibleClassName} &:focus:hover`]: styles.rootFocused,\n },\n },\n ],\n ],\n screenReaderText: [\n classNames.screenReaderText,\n styles.screenReaderText,\n hiddenContentStyle,\n { visibility: 'hidden' },\n ],\n });\n },\n);\n\n/**\n * Wrapper function for generating ContextualMenuItem classNames which adheres to\n * the getStyles API, but invokes memoized className generator function with\n * primitive values.\n *\n * @param props - the ContextualMenuItem style props used to generate its styles.\n */\nexport const getItemStyles = (props: IContextualMenuItemStyleProps): IContextualMenuItemStyles => {\n const {\n theme,\n disabled,\n expanded,\n checked,\n isAnchorLink,\n knownIcon,\n itemClassName,\n dividerClassName,\n iconClassName,\n subMenuClassName,\n primaryDisabled,\n className,\n } = props;\n\n // eslint-disable-next-line deprecation/deprecation\n return getItemClassNames(\n theme,\n disabled,\n expanded,\n checked,\n isAnchorLink,\n knownIcon,\n itemClassName,\n dividerClassName,\n iconClassName,\n subMenuClassName,\n primaryDisabled,\n className,\n );\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { ContextualMenuItemBase } from './ContextualMenuItem.base';\nimport { getItemStyles } from './ContextualMenu.classNames';\nimport type {\n IContextualMenuItemProps,\n IContextualMenuItemStyleProps,\n IContextualMenuItemStyles,\n} from './ContextualMenuItem.types';\n\n/**\n * ContextualMenuItem description\n */\nexport const ContextualMenuItem: React.FunctionComponent = styled<\n IContextualMenuItemProps,\n IContextualMenuItemStyleProps,\n IContextualMenuItemStyles\n>(ContextualMenuItemBase, getItemStyles, undefined, { scope: 'ContextualMenuItem' });\n","import * as React from 'react';\nimport { initializeComponentRef, shallowCompare } from '../../../Utilities';\nimport type { IContextualMenuItemWrapperProps } from './ContextualMenuItemWrapper.types';\n\nexport class ContextualMenuItemWrapper extends React.Component {\n constructor(props: IContextualMenuItemWrapperProps) {\n super(props);\n initializeComponentRef(this);\n }\n\n public shouldComponentUpdate(newProps: IContextualMenuItemWrapperProps): boolean {\n return !shallowCompare(newProps, this.props);\n }\n\n protected _onItemMouseEnter = (ev: React.MouseEvent): void => {\n const { item, onItemMouseEnter } = this.props;\n if (onItemMouseEnter) {\n onItemMouseEnter(item, ev, ev.currentTarget as HTMLElement);\n }\n };\n\n protected _onItemClick = (ev: React.MouseEvent): void => {\n const { item, onItemClickBase } = this.props;\n if (onItemClickBase) {\n onItemClickBase(item, ev, ev.currentTarget as HTMLElement);\n }\n };\n\n protected _onItemMouseLeave = (ev: React.MouseEvent): void => {\n const { item, onItemMouseLeave } = this.props;\n if (onItemMouseLeave) {\n onItemMouseLeave(item, ev);\n }\n };\n\n protected _onItemKeyDown = (ev: React.KeyboardEvent): void => {\n const { item, onItemKeyDown } = this.props;\n if (onItemKeyDown) {\n onItemKeyDown(item, ev);\n }\n };\n\n protected _onItemMouseMove = (ev: React.MouseEvent): void => {\n const { item, onItemMouseMove } = this.props;\n if (onItemMouseMove) {\n onItemMouseMove(item, ev, ev.currentTarget as HTMLElement);\n }\n };\n\n protected _getSubmenuTarget = (): HTMLElement | undefined => {\n return undefined;\n };\n}\n","import { KTP_SEPARATOR, KTP_PREFIX, DATAKTP_TARGET, DATAKTP_EXECUTE_TARGET, KTP_LAYER_ID } from './KeytipConstants';\nimport { addElementAtIndex } from '../../Utilities';\n\n/**\n * Converts a whole set of KeySequences into one keytip ID, which will be the ID for the last keytip sequence specified\n * keySequences should not include the initial keytip 'start' sequence.\n *\n * @param keySequences - Full path of IKeySequences for one keytip.\n * @returns String to use for the keytip ID.\n */\nexport function sequencesToID(keySequences: string[]): string {\n return keySequences.reduce((prevValue: string, keySequence: string): string => {\n return prevValue + KTP_SEPARATOR + keySequence.split('').join(KTP_SEPARATOR);\n }, KTP_PREFIX);\n}\n\n/**\n * Merges an overflow sequence with a key sequence.\n *\n * @param keySequences - Full sequence for one keytip.\n * @param overflowKeySequences - Full overflow keytip sequence.\n * @returns Sequence that will be used by the keytip when in the overflow.\n */\nexport function mergeOverflows(keySequences: string[], overflowKeySequences: string[]): string[] {\n const overflowSequenceLen = overflowKeySequences.length;\n const overflowSequence = [...overflowKeySequences].pop();\n const newKeySequences = [...keySequences];\n return addElementAtIndex(newKeySequences, overflowSequenceLen - 1, overflowSequence!);\n}\n\n/**\n * Constructs the data-ktp-target attribute selector from a full key sequence.\n *\n * @param keySequences - Full string[] for a Keytip.\n * @returns String selector to use to query for the keytip target.\n */\nexport function ktpTargetFromSequences(keySequences: string[]): string {\n return '[' + DATAKTP_TARGET + '=\"' + sequencesToID(keySequences) + '\"]';\n}\n\n/**\n * Constructs the data-ktp-execute-target attribute selector from a keytip ID.\n *\n * @param keytipId - ID of the Keytip.\n * @returns String selector to use to query for the keytip execute target.\n */\nexport function ktpTargetFromId(keytipId: string): string {\n return '[' + DATAKTP_EXECUTE_TARGET + '=\"' + keytipId + '\"]';\n}\n\n/**\n * Gets the aria-describedby value to put on the component with this keytip.\n *\n * @param keySequences - KeySequences of the keytip.\n * @returns The aria-describedby value to set on the component with this keytip.\n */\nexport function getAriaDescribedBy(keySequences: string[]): string {\n const describedby = ' ' + KTP_LAYER_ID;\n if (!keySequences.length) {\n // Return just the layer ID\n return describedby;\n }\n\n return describedby + ' ' + sequencesToID(keySequences);\n}\n","import * as React from 'react';\nimport { useConst, useIsomorphicLayoutEffect, usePrevious } from '@fluentui/react-hooks';\nimport { mergeAriaAttributeValues } from '../../Utilities';\nimport { KeytipManager, mergeOverflows, sequencesToID, getAriaDescribedBy } from '../../utilities/keytips/index';\nimport type { KeytipDataOptions } from './KeytipData.types';\nimport type { IKeytipProps } from '../../Keytip';\n\nexport interface IKeytipData {\n ariaDescribedBy: string | undefined;\n keytipId: string | undefined;\n}\n\n/**\n * Hook that creates attributes for components which are enabled with Keytip.\n */\nexport function useKeytipData(options: KeytipDataOptions): IKeytipData {\n const uniqueId = React.useRef();\n const keytipProps: IKeytipProps | undefined = options.keytipProps\n ? {\n disabled: options.disabled,\n ...options.keytipProps,\n }\n : undefined;\n\n const keytipManager = useConst(KeytipManager.getInstance());\n const prevOptions = usePrevious(options);\n\n // useLayoutEffect used to strictly emulate didUpdate/didMount behavior\n useIsomorphicLayoutEffect(() => {\n if (\n uniqueId.current &&\n keytipProps &&\n (prevOptions?.keytipProps !== options.keytipProps || prevOptions?.disabled !== options.disabled)\n ) {\n keytipManager.update(keytipProps, uniqueId.current);\n }\n });\n\n useIsomorphicLayoutEffect(() => {\n // Register Keytip in KeytipManager\n if (keytipProps) {\n uniqueId.current = keytipManager.register(keytipProps);\n }\n\n return () => {\n // Unregister Keytip in KeytipManager\n keytipProps && keytipManager.unregister(keytipProps, uniqueId.current!);\n };\n // this is meant to run only at mount, and updates are handled separately\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n let nativeKeytipProps: IKeytipData = {\n ariaDescribedBy: undefined,\n keytipId: undefined,\n };\n\n if (keytipProps) {\n nativeKeytipProps = getKeytipData(keytipManager, keytipProps, options.ariaDescribedBy);\n }\n\n return nativeKeytipProps;\n}\n\n/**\n * Gets the aria- and data- attributes to attach to the component\n * @param keytipProps - options for Keytip\n * @param describedByPrepend - ariaDescribedBy value to prepend\n */\nfunction getKeytipData(\n keytipManager: KeytipManager,\n keytipProps: IKeytipProps,\n describedByPrepend?: string,\n): IKeytipData {\n // Add the parent overflow sequence if necessary\n const newKeytipProps = keytipManager.addParentOverflow(keytipProps);\n\n // Construct aria-describedby and data-ktp-id attributes\n const ariaDescribedBy = mergeAriaAttributeValues(\n describedByPrepend,\n getAriaDescribedBy(newKeytipProps.keySequences),\n )!;\n\n let keySequences = [...newKeytipProps.keySequences];\n if (newKeytipProps.overflowSetSequence) {\n keySequences = mergeOverflows(keySequences, newKeytipProps.overflowSetSequence);\n }\n const keytipId = sequencesToID(keySequences);\n\n return {\n ariaDescribedBy,\n keytipId,\n };\n}\n","import * as React from 'react';\nimport { DATAKTP_TARGET, DATAKTP_EXECUTE_TARGET } from '../../utilities/keytips/index';\nimport { useKeytipData } from './useKeytipData';\nimport type { IRenderComponent } from '../../Utilities';\nimport type { IKeytipDataProps } from './KeytipData.types';\n\n/**\n * A small element to help the target component correctly read out its aria-describedby for its Keytip\n * {@docCategory Keytips}\n */\nexport const KeytipData: React.FunctionComponent> = props => {\n const { children, ...keytipDataProps } = props;\n const { keytipId, ariaDescribedBy } = useKeytipData(keytipDataProps);\n\n return children({\n [DATAKTP_TARGET]: keytipId,\n [DATAKTP_EXECUTE_TARGET]: keytipId,\n 'aria-describedby': ariaDescribedBy,\n });\n};\n","import * as React from 'react';\nimport {\n anchorProperties,\n getNativeProps,\n memoizeFunction,\n getId,\n mergeAriaAttributeValues,\n IComponentAs,\n composeComponentAs,\n} from '../../../Utilities';\nimport { ContextualMenuItemWrapper } from './ContextualMenuItemWrapper';\nimport { KeytipData } from '../../../KeytipData';\nimport { isItemDisabled, hasSubmenu } from '../../../utilities/contextualMenu/index';\nimport { ContextualMenuItem } from '../ContextualMenuItem';\nimport type { IKeytipDataProps } from '../../../KeytipData';\nimport type { IKeytipProps } from '../../../Keytip';\nimport { IContextualMenuItemProps } from '../ContextualMenuItem.types';\n\nexport class ContextualMenuAnchor extends ContextualMenuItemWrapper {\n private _anchor = React.createRef();\n private _ariaDescriptionId: string;\n\n private _getMemoizedMenuButtonKeytipProps = memoizeFunction((keytipProps: IKeytipProps) => {\n return {\n ...keytipProps,\n hasMenu: true,\n };\n });\n\n public render() {\n const {\n item,\n classNames,\n index,\n focusableElementIndex,\n totalItemCount,\n hasCheckmarks,\n hasIcons,\n expandedMenuItemKey,\n onItemClick,\n openSubMenu,\n dismissSubMenu,\n dismissMenu,\n } = this.props;\n\n let ChildrenRenderer: IComponentAs = ContextualMenuItem;\n\n if (this.props.item.contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(this.props.item.contextualMenuItemAs, ChildrenRenderer);\n }\n\n if (this.props.contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(this.props.contextualMenuItemAs, ChildrenRenderer);\n }\n\n let anchorRel = item.rel;\n if (item.target && item.target.toLowerCase() === '_blank') {\n anchorRel = anchorRel ? anchorRel : 'nofollow noopener noreferrer'; // Safe default to prevent tabjacking\n }\n\n const itemHasSubmenu = hasSubmenu(item);\n const nativeProps = getNativeProps>(item, anchorProperties);\n const disabled = isItemDisabled(item);\n const { itemProps, ariaDescription } = item;\n\n let { keytipProps } = item;\n if (keytipProps && itemHasSubmenu) {\n keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps);\n }\n\n // Check for ariaDescription to set the _ariaDescriptionId and render a hidden span with\n // the description in it to be added to ariaDescribedBy\n if (ariaDescription) {\n this._ariaDescriptionId = getId();\n }\n const ariaDescribedByIds = mergeAriaAttributeValues(\n item.ariaDescribedBy,\n ariaDescription ? this._ariaDescriptionId : undefined,\n nativeProps['aria-describedby'],\n );\n\n const additionalItemProperties = {\n 'aria-describedby': ariaDescribedByIds,\n };\n\n return (\n
\n \n {(keytipAttributes: IKeytipDataProps): JSX.Element => (\n \n \n {this._renderAriaDescription(ariaDescription, classNames.screenReaderText)}\n \n )}\n \n
\n );\n }\n\n protected _getSubmenuTarget = (): HTMLElement | undefined => {\n return this._anchor.current ? this._anchor.current : undefined;\n };\n\n protected _onItemClick = (ev: React.MouseEvent): void => {\n const { item, onItemClick } = this.props;\n if (onItemClick) {\n onItemClick(item, ev);\n }\n };\n\n protected _renderAriaDescription = (ariaDescription?: string, className?: string) => {\n // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan\n return ariaDescription ? (\n \n {ariaDescription}\n \n ) : null;\n };\n}\n","import * as React from 'react';\nimport { classNamesFunction } from '../../Utilities';\nimport type {\n IVerticalDividerProps,\n IVerticalDividerPropsStyles,\n IVerticalDividerStyles,\n} from './VerticalDivider.types';\n\nconst getClassNames = classNamesFunction();\n\nexport const VerticalDividerBase: React.FunctionComponent = React.forwardRef<\n HTMLDivElement,\n IVerticalDividerProps\n>((props, ref) => {\n // eslint-disable-next-line deprecation/deprecation\n const { styles, theme, getClassNames: deprecatedGetClassNames, className } = props;\n const classNames = getClassNames(styles, { theme, getClassNames: deprecatedGetClassNames, className });\n return (\n \n \n \n );\n});\nVerticalDividerBase.displayName = 'VerticalDividerBase';\n","import * as React from 'react';\nimport { getStyles } from './VerticalDivider.styles';\nimport { VerticalDividerBase } from './VerticalDivider.base';\nimport { styled } from '../../Utilities';\nimport type {\n IVerticalDividerProps,\n IVerticalDividerStyles,\n IVerticalDividerPropsStyles,\n} from './VerticalDivider.types';\n\nexport const VerticalDivider: React.FunctionComponent = styled<\n IVerticalDividerProps,\n IVerticalDividerPropsStyles,\n IVerticalDividerStyles\n>(VerticalDividerBase, getStyles, undefined, {\n scope: 'VerticalDivider',\n});\n","import type { IVerticalDividerPropsStyles, IVerticalDividerStyles } from './VerticalDivider.types';\nimport type { IStyleFunction } from '../../Utilities';\n\nexport const getStyles: IStyleFunction = (\n props: IVerticalDividerPropsStyles,\n): IVerticalDividerStyles => {\n // eslint-disable-next-line deprecation/deprecation\n const { theme, getClassNames, className } = props;\n\n if (!theme) {\n throw new Error('Theme is undefined or null.');\n }\n\n if (getClassNames) {\n const names = getClassNames(theme);\n return {\n wrapper: [names.wrapper],\n divider: [names.divider],\n };\n }\n\n return {\n wrapper: [\n {\n display: 'inline-flex',\n height: '100%',\n alignItems: 'center',\n },\n className,\n ],\n divider: [\n {\n width: 1,\n height: '100%',\n backgroundColor: theme.palette.neutralTertiaryAlt,\n },\n ],\n };\n};\n","import * as React from 'react';\nimport {\n buttonProperties,\n getNativeProps,\n KeyCodes,\n mergeAriaAttributeValues,\n memoizeFunction,\n Async,\n EventGroup,\n getId,\n composeComponentAs,\n IComponentAs,\n} from '../../../Utilities';\nimport { ContextualMenuItem } from '../ContextualMenuItem';\nimport { getSplitButtonVerticalDividerClassNames } from '../ContextualMenu.classNames';\nimport { KeytipData } from '../../../KeytipData';\nimport { getIsChecked, getMenuItemAriaRole, hasSubmenu, isItemDisabled } from '../../../utilities/contextualMenu/index';\nimport { VerticalDivider } from '../../../Divider';\nimport { ContextualMenuItemWrapper } from './ContextualMenuItemWrapper';\nimport type { IContextualMenuItem } from '../ContextualMenu.types';\nimport type { IMenuItemClassNames } from '../ContextualMenu.classNames';\nimport type { IKeytipProps } from '../../../Keytip';\nimport type { IContextualMenuItemWrapperProps } from './ContextualMenuItemWrapper.types';\nimport { IContextualMenuItemProps } from '../ContextualMenuItem.types';\n\nexport interface IContextualMenuSplitButtonState {}\n\nconst TouchIdleDelay = 500; /* ms */\n\nexport class ContextualMenuSplitButton extends ContextualMenuItemWrapper {\n private _splitButton: HTMLDivElement;\n private _lastTouchTimeoutId: number | undefined;\n private _processingTouch: boolean;\n private _ariaDescriptionId: string;\n private _dismissLabelId: string;\n\n private _async: Async;\n private _events: EventGroup;\n\n private _getMemoizedMenuButtonKeytipProps = memoizeFunction((keytipProps: IKeytipProps) => {\n return {\n ...keytipProps,\n hasMenu: true,\n };\n });\n\n constructor(props: IContextualMenuItemWrapperProps) {\n super(props);\n\n this._async = new Async(this);\n this._events = new EventGroup(this);\n this._dismissLabelId = getId();\n }\n\n public componentDidMount() {\n if (this._splitButton && 'onpointerdown' in this._splitButton) {\n this._events.on(this._splitButton, 'pointerdown', this._onPointerDown, true);\n }\n }\n\n public componentWillUnmount(): void {\n this._async.dispose();\n this._events.dispose();\n }\n\n public render(): JSX.Element | null {\n const {\n item,\n classNames,\n index,\n focusableElementIndex,\n totalItemCount,\n hasCheckmarks,\n hasIcons,\n onItemMouseLeave,\n expandedMenuItemKey,\n } = this.props;\n\n const itemHasSubmenu = hasSubmenu(item);\n\n let { keytipProps } = item;\n if (keytipProps) {\n keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps);\n }\n\n // Check for ariaDescription to set the _ariaDescriptionId and render a hidden span with\n // the description in it to be added to ariaDescribedBy\n const { ariaDescription } = item;\n if (ariaDescription) {\n this._ariaDescriptionId = getId();\n }\n\n const ariaChecked = getIsChecked(item) ?? undefined;\n\n return (\n \n {(keytipAttributes: any): JSX.Element => (\n (this._splitButton = splitButton)}\n role={getMenuItemAriaRole(item)}\n aria-label={item.ariaLabel}\n className={classNames.splitContainer}\n aria-disabled={isItemDisabled(item)}\n aria-expanded={itemHasSubmenu ? item.key === expandedMenuItemKey : undefined}\n aria-haspopup={true}\n aria-describedby={mergeAriaAttributeValues(\n item.ariaDescribedBy,\n ariaDescription ? this._ariaDescriptionId : undefined,\n keytipAttributes['aria-describedby'],\n )}\n aria-checked={ariaChecked}\n aria-posinset={focusableElementIndex + 1}\n aria-setsize={totalItemCount}\n onMouseEnter={this._onItemMouseEnterPrimary}\n onMouseLeave={\n onItemMouseLeave ? onItemMouseLeave.bind(this, { ...item, subMenuProps: null, items: null }) : undefined\n }\n onMouseMove={this._onItemMouseMovePrimary}\n onKeyDown={this._onItemKeyDown}\n onClick={this._executeItemClick}\n onTouchStart={this._onTouchStart}\n tabIndex={0}\n data-is-focusable={true}\n aria-roledescription={item['aria-roledescription']}\n >\n {this._renderSplitPrimaryButton(item, classNames, index, hasCheckmarks!, hasIcons!)}\n {this._renderSplitDivider(item)}\n {this._renderSplitIconButton(item, classNames, index, keytipAttributes)}\n {this._renderAriaDescription(ariaDescription, classNames.screenReaderText)}\n \n )}\n \n );\n }\n\n protected _onItemKeyDown = (ev: React.KeyboardEvent): void => {\n const { item, onItemKeyDown } = this.props;\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.enter) {\n this._executeItemClick(ev);\n ev.preventDefault();\n ev.stopPropagation();\n } else if (onItemKeyDown) {\n onItemKeyDown(item, ev);\n }\n };\n\n protected _getSubmenuTarget = (): HTMLElement | undefined => {\n return this._splitButton;\n };\n\n protected _renderAriaDescription = (ariaDescription?: string, className?: string) => {\n // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan\n return ariaDescription ? (\n \n {ariaDescription}\n \n ) : null;\n };\n\n private _renderSplitPrimaryButton(\n item: IContextualMenuItem,\n // eslint-disable-next-line deprecation/deprecation\n classNames: IMenuItemClassNames,\n index: number,\n hasCheckmarks: boolean,\n hasIcons: boolean,\n ) {\n const { contextualMenuItemAs: ChildrenRenderer = ContextualMenuItem, onItemClick } = this.props;\n\n const itemProps: IContextualMenuItem = {\n key: item.key,\n disabled: isItemDisabled(item) || item.primaryDisabled,\n /* eslint-disable deprecation/deprecation */\n name: item.name,\n text: item.text || item.name,\n secondaryText: item.secondaryText,\n /* eslint-enable deprecation/deprecation */\n className: classNames.splitPrimary,\n canCheck: item.canCheck,\n isChecked: item.isChecked,\n checked: item.checked,\n iconProps: item.iconProps,\n id: this._dismissLabelId,\n onRenderIcon: item.onRenderIcon,\n data: item.data,\n 'data-is-focusable': false,\n };\n\n const { itemProps: itemComponentProps } = item;\n\n return (\n \n );\n }\n\n private _renderSplitDivider(item: IContextualMenuItem) {\n const getDividerClassNames =\n item.getSplitButtonVerticalDividerClassNames || getSplitButtonVerticalDividerClassNames;\n return ;\n }\n\n private _renderSplitIconButton(\n item: IContextualMenuItem,\n classNames: IMenuItemClassNames, // eslint-disable-line deprecation/deprecation\n index: number,\n keytipAttributes: any,\n ) {\n const { onItemMouseLeave, onItemMouseDown, openSubMenu, dismissSubMenu, dismissMenu } = this.props;\n\n let ChildrenRenderer: IComponentAs = ContextualMenuItem;\n\n if (this.props.item.contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(this.props.item.contextualMenuItemAs, ChildrenRenderer);\n }\n\n if (this.props.contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(this.props.contextualMenuItemAs, ChildrenRenderer);\n }\n\n const itemProps: IContextualMenuItem = {\n onClick: this._onIconItemClick,\n disabled: isItemDisabled(item),\n className: classNames.splitMenu,\n subMenuProps: item.subMenuProps,\n submenuIconProps: item.submenuIconProps,\n split: true,\n key: item.key,\n 'aria-labelledby': this._dismissLabelId,\n };\n\n const buttonProps = {\n ...getNativeProps>(itemProps, buttonProperties),\n ...{\n onMouseEnter: this._onItemMouseEnterIcon,\n onMouseLeave: onItemMouseLeave ? onItemMouseLeave.bind(this, item) : undefined,\n onMouseDown: (ev: React.MouseEvent) =>\n onItemMouseDown ? onItemMouseDown(item, ev) : undefined,\n onMouseMove: this._onItemMouseMoveIcon,\n 'data-is-focusable': false,\n 'data-ktp-execute-target': keytipAttributes['data-ktp-execute-target'],\n 'aria-haspopup': true,\n },\n };\n\n const { itemProps: itemComponentProps } = item;\n\n return (\n \n );\n }\n\n private _onItemMouseEnterPrimary = (ev: React.MouseEvent): void => {\n const { item, onItemMouseEnter } = this.props;\n if (onItemMouseEnter) {\n onItemMouseEnter({ ...item, subMenuProps: undefined, items: undefined }, ev, this._splitButton);\n }\n };\n\n private _onItemMouseEnterIcon = (ev: React.MouseEvent): void => {\n const { item, onItemMouseEnter } = this.props;\n if (onItemMouseEnter) {\n onItemMouseEnter(item, ev, this._splitButton);\n }\n };\n\n private _onItemMouseMovePrimary = (ev: React.MouseEvent): void => {\n const { item, onItemMouseMove } = this.props;\n if (onItemMouseMove) {\n onItemMouseMove({ ...item, subMenuProps: undefined, items: undefined }, ev, this._splitButton);\n }\n };\n\n private _onItemMouseMoveIcon = (ev: React.MouseEvent): void => {\n const { item, onItemMouseMove } = this.props;\n if (onItemMouseMove) {\n onItemMouseMove(item, ev, this._splitButton);\n }\n };\n\n private _onIconItemClick = (ev: React.MouseEvent): void => {\n const { item, onItemClickBase } = this.props;\n if (onItemClickBase) {\n onItemClickBase(item, ev, (this._splitButton ? this._splitButton : ev.currentTarget) as HTMLElement);\n }\n };\n\n private _executeItemClick = (ev: React.MouseEvent | React.KeyboardEvent): void => {\n const { item, executeItemClick, onItemClick } = this.props;\n\n if (item.disabled || item.isDisabled) {\n return;\n }\n\n if (this._processingTouch && !item.canCheck && onItemClick) {\n return onItemClick(item, ev);\n }\n\n if (executeItemClick) {\n executeItemClick(item, ev);\n }\n };\n\n private _onTouchStart = (ev: React.TouchEvent): void => {\n if (this._splitButton && !('onpointerdown' in this._splitButton)) {\n this._handleTouchAndPointerEvent(ev);\n }\n };\n\n private _onPointerDown = (ev: PointerEvent): void => {\n if (ev.pointerType === 'touch') {\n this._handleTouchAndPointerEvent(ev);\n ev.preventDefault();\n ev.stopImmediatePropagation();\n }\n };\n\n private _handleTouchAndPointerEvent(ev: React.TouchEvent | PointerEvent) {\n const { onTap } = this.props;\n\n if (onTap) {\n onTap(ev);\n }\n // If we already have an existing timeout from a previous touch/pointer event\n // cancel that timeout so we can set a new one.\n if (this._lastTouchTimeoutId) {\n this._async.clearTimeout(this._lastTouchTimeoutId);\n this._lastTouchTimeoutId = undefined;\n }\n this._processingTouch = true;\n this._lastTouchTimeoutId = this._async.setTimeout(() => {\n this._processingTouch = false;\n this._lastTouchTimeoutId = undefined;\n }, TouchIdleDelay);\n }\n}\n","import * as React from 'react';\nimport {\n buttonProperties,\n getNativeProps,\n memoizeFunction,\n getId,\n mergeAriaAttributeValues,\n IComponentAs,\n composeComponentAs,\n} from '../../../Utilities';\nimport { ContextualMenuItemWrapper } from './ContextualMenuItemWrapper';\nimport { KeytipData } from '../../../KeytipData';\nimport { getIsChecked, isItemDisabled, hasSubmenu, getMenuItemAriaRole } from '../../../utilities/contextualMenu/index';\nimport { ContextualMenuItem } from '../ContextualMenuItem';\nimport type { IKeytipDataProps } from '../../../KeytipData';\nimport type { IKeytipProps } from '../../../Keytip';\nimport { IContextualMenuItemProps } from '../ContextualMenuItem.types';\n\nexport class ContextualMenuButton extends ContextualMenuItemWrapper {\n private _btn = React.createRef();\n private _ariaDescriptionId: string;\n\n private _getMemoizedMenuButtonKeytipProps = memoizeFunction((keytipProps: IKeytipProps) => {\n return {\n ...keytipProps,\n hasMenu: true,\n };\n });\n\n public render() {\n const {\n item,\n classNames,\n index,\n focusableElementIndex,\n totalItemCount,\n hasCheckmarks,\n hasIcons,\n contextualMenuItemAs,\n expandedMenuItemKey,\n onItemMouseDown,\n onItemClick,\n openSubMenu,\n dismissSubMenu,\n dismissMenu,\n } = this.props;\n\n let ChildrenRenderer: IComponentAs = ContextualMenuItem;\n\n if (item.contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(item.contextualMenuItemAs, ChildrenRenderer);\n }\n\n if (contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(contextualMenuItemAs, ChildrenRenderer);\n }\n\n const isChecked: boolean | null | undefined = getIsChecked(item);\n const canCheck: boolean = isChecked !== null;\n const defaultRole = getMenuItemAriaRole(item);\n const itemHasSubmenu = hasSubmenu(item);\n const { itemProps, ariaLabel, ariaDescription } = item;\n\n const buttonNativeProperties = getNativeProps>(\n item,\n buttonProperties,\n );\n // Do not add the disabled attribute to the button so that it is focusable\n delete buttonNativeProperties.disabled;\n\n const itemRole = item.role || defaultRole;\n\n // Check for ariaDescription to set the _ariaDescriptionId and render a hidden span with\n // the description in it to be added to ariaDescribedBy\n if (ariaDescription) {\n this._ariaDescriptionId = getId();\n }\n const ariaDescribedByIds = mergeAriaAttributeValues(\n item.ariaDescribedBy,\n ariaDescription ? this._ariaDescriptionId : undefined,\n buttonNativeProperties['aria-describedby'],\n );\n\n const itemButtonProperties = {\n className: classNames.root,\n onClick: this._onItemClick,\n onKeyDown: itemHasSubmenu ? this._onItemKeyDown : undefined,\n onMouseEnter: this._onItemMouseEnter,\n onMouseLeave: this._onItemMouseLeave,\n onMouseDown: (ev: React.MouseEvent) =>\n onItemMouseDown ? onItemMouseDown(item, ev) : undefined,\n onMouseMove: this._onItemMouseMove,\n href: item.href,\n title: item.title,\n 'aria-label': ariaLabel,\n 'aria-describedby': ariaDescribedByIds,\n 'aria-haspopup': itemHasSubmenu || undefined,\n 'aria-expanded': itemHasSubmenu ? item.key === expandedMenuItemKey : undefined,\n 'aria-posinset': focusableElementIndex + 1,\n 'aria-setsize': totalItemCount,\n 'aria-disabled': isItemDisabled(item),\n 'aria-checked':\n (itemRole === 'menuitemcheckbox' || itemRole === 'menuitemradio') && canCheck ? !!isChecked : undefined,\n 'aria-selected': itemRole === 'menuitem' && canCheck ? !!isChecked : undefined,\n role: itemRole,\n // eslint-disable-next-line deprecation/deprecation\n style: item.style,\n };\n\n let { keytipProps } = item;\n if (keytipProps && itemHasSubmenu) {\n keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps);\n }\n\n return (\n \n {(keytipAttributes: IKeytipDataProps): JSX.Element => (\n \n )}\n \n );\n }\n\n protected _renderAriaDescription = (ariaDescription?: string, className?: string) => {\n // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan\n return ariaDescription ? (\n \n {ariaDescription}\n \n ) : null;\n };\n\n protected _getSubmenuTarget = (): HTMLElement | undefined => {\n return this._btn.current ? this._btn.current : undefined;\n };\n}\n","import * as React from 'react';\nimport type { MinimalMenuProps } from './types';\n\nexport const MenuContext = React.createContext({});\n\nexport const useMenuContext = () => {\n return React.useContext(MenuContext);\n};\n","import * as React from 'react';\nimport { ContextualMenuItemType } from './ContextualMenu.types';\nimport { DirectionalHint } from '../../common/DirectionalHint';\nimport { FocusZone, FocusZoneDirection, FocusZoneTabbableElements } from '../../FocusZone';\nimport {\n divProperties,\n getNativeProps,\n shallowCompare,\n Async,\n assign,\n classNamesFunction,\n css,\n getFirstFocusable,\n getLastFocusable,\n getRTL,\n KeyCodes,\n shouldWrapFocus,\n isIOS,\n isMac,\n memoizeFunction,\n getPropsWithDefaults,\n getDocument,\n FocusRects,\n IComponentAs,\n composeComponentAs,\n} from '../../Utilities';\nimport { hasSubmenu, getIsChecked, isItemDisabled } from '../../utilities/contextualMenu/index';\nimport { Callout } from '../../Callout';\nimport { ContextualMenuItem } from './ContextualMenuItem';\nimport {\n ContextualMenuSplitButton,\n ContextualMenuButton,\n ContextualMenuAnchor,\n IContextualMenuItemWrapperProps,\n} from './ContextualMenuItemWrapper/index';\nimport { concatStyleSetsWithProps } from '../../Styling';\nimport { getItemStyles } from './ContextualMenu.classNames';\nimport {\n useTarget,\n usePrevious,\n useAsync,\n useWarnings,\n useId,\n Target,\n useIsomorphicLayoutEffect,\n} from '@fluentui/react-hooks';\nimport { useResponsiveMode, ResponsiveMode } from '../../ResponsiveMode';\nimport { MenuContext } from '../../utilities/MenuContext/index';\nimport type {\n IContextualMenuProps,\n IContextualMenuItem,\n IContextualMenuListProps,\n IContextualMenuStyleProps,\n IContextualMenuStyles,\n IContextualMenuItemRenderProps,\n} from './ContextualMenu.types';\nimport type { IFocusZoneProps } from '../../FocusZone';\nimport type { IMenuItemClassNames, IContextualMenuClassNames } from './ContextualMenu.classNames';\nimport type { IRenderFunction, IStyleFunctionOrObject } from '../../Utilities';\nimport type { ICalloutContentStyleProps, ICalloutContentStyles } from '../../Callout';\nimport type { IProcessedStyleSet } from '../../Styling';\nimport type {\n IContextualMenuItemProps,\n IContextualMenuItemStyleProps,\n IContextualMenuItemStyles,\n} from './ContextualMenuItem.types';\nimport type { IPopupRestoreFocusParams } from '../../Popup';\n\nconst getClassNames = classNamesFunction();\nconst getContextualMenuItemClassNames = classNamesFunction();\n\n// The default ContextualMenu properties have no items and beak, the default submenu direction is right and top.\nconst DEFAULT_PROPS: Partial = {\n items: [],\n shouldFocusOnMount: true,\n gapSpace: 0,\n directionalHint: DirectionalHint.bottomAutoEdge,\n beakWidth: 16,\n};\n\n/* return number of menu items, excluding headers and dividers */\nfunction getItemCount(items: IContextualMenuItem[]): number {\n let totalItemCount = 0;\n for (const item of items) {\n if (item.itemType !== ContextualMenuItemType.Divider && item.itemType !== ContextualMenuItemType.Header) {\n const itemCount = item.customOnRenderListLength ? item.customOnRenderListLength : 1;\n totalItemCount += itemCount;\n }\n }\n return totalItemCount;\n}\n\nexport function getSubmenuItems(\n item: IContextualMenuItem,\n options?: {\n target?: Target;\n },\n): IContextualMenuItem[] | undefined {\n const target = options?.target;\n\n // eslint-disable-next-line deprecation/deprecation\n const items = item.subMenuProps ? item.subMenuProps.items : item.items;\n\n if (items) {\n const overrideItems: typeof items = [];\n\n for (const subItem of items) {\n if (subItem.preferMenuTargetAsEventTarget) {\n // For sub-items which need an overridden target, intercept `onClick`\n const { onClick, ...contextItem } = subItem;\n\n overrideItems.push({\n ...contextItem,\n onClick: getOnClickWithOverrideTarget(onClick, target),\n });\n } else {\n overrideItems.push(subItem);\n }\n }\n\n return overrideItems;\n }\n}\n\n/**\n * Returns true if a list of menu items can contain a checkbox\n */\nexport function canAnyMenuItemsCheck(items: IContextualMenuItem[]): boolean {\n return items.some(item => {\n if (item.canCheck) {\n return true;\n }\n\n // If the item is a section, check if any of the items in the section can check.\n if (item.sectionProps && item.sectionProps.items.some(submenuItem => submenuItem.canCheck === true)) {\n return true;\n }\n\n return false;\n });\n}\n\nconst NavigationIdleDelay = 250; /* ms */\n\nconst COMPONENT_NAME = 'ContextualMenu';\n\nconst _getMenuItemStylesFunction = memoizeFunction(\n (\n ...styles: (IStyleFunctionOrObject | undefined)[]\n ): IStyleFunctionOrObject => {\n return (styleProps: IContextualMenuItemStyleProps) =>\n concatStyleSetsWithProps(styleProps, getItemStyles, ...styles);\n },\n);\n\n//#region Custom hooks\nfunction useVisibility(props: IContextualMenuProps, targetWindow: Window | undefined) {\n const { hidden = false, onMenuDismissed, onMenuOpened } = props;\n const previousHidden = usePrevious(hidden);\n\n const onMenuOpenedRef = React.useRef(onMenuOpened);\n const onMenuClosedRef = React.useRef(onMenuDismissed);\n const propsRef = React.useRef(props);\n\n onMenuOpenedRef.current = onMenuOpened;\n onMenuClosedRef.current = onMenuDismissed;\n propsRef.current = props;\n\n React.useEffect(() => {\n // Don't issue dismissed callbacks on initial mount\n if (hidden && previousHidden === false) {\n onMenuClosedRef.current?.(propsRef.current);\n } else if (!hidden && previousHidden !== false) {\n onMenuOpenedRef.current?.(propsRef.current);\n }\n }, [hidden, previousHidden]);\n\n // Issue onDismissedCallback on unmount\n React.useEffect(() => () => onMenuClosedRef.current?.(propsRef.current), []);\n}\n\nfunction useSubMenuState(\n { hidden, items, theme, className, id, target: menuTarget }: IContextualMenuProps,\n dismiss: () => void,\n) {\n const [expandedMenuItemKey, setExpandedMenuItemKey] = React.useState();\n const [submenuTarget, setSubmenuTarget] = React.useState();\n /** True if the menu was expanded by mouse click OR hover (as opposed to by keyboard) */\n const [shouldFocusOnContainer, setShouldFocusOnContainer] = React.useState();\n const subMenuId = useId(COMPONENT_NAME, id);\n\n const closeSubMenu = React.useCallback(() => {\n setShouldFocusOnContainer(undefined);\n setExpandedMenuItemKey(undefined);\n setSubmenuTarget(undefined);\n }, []);\n\n const openSubMenu = React.useCallback(\n ({ key: submenuItemKey }: IContextualMenuItem, target: HTMLElement, focusContainer?: boolean) => {\n if (expandedMenuItemKey === submenuItemKey) {\n return;\n }\n\n target.focus();\n setShouldFocusOnContainer(focusContainer);\n setExpandedMenuItemKey(submenuItemKey);\n setSubmenuTarget(target);\n },\n [expandedMenuItemKey],\n );\n\n React.useEffect(() => {\n if (hidden) {\n closeSubMenu();\n }\n }, [hidden, closeSubMenu]);\n\n const onSubMenuDismiss = useOnSubmenuDismiss(dismiss, closeSubMenu);\n\n const getSubmenuProps = (): IContextualMenuProps | null => {\n const item = findItemByKeyFromItems(expandedMenuItemKey!, items);\n let submenuProps: IContextualMenuProps | null = null;\n\n if (item) {\n submenuProps = {\n items: getSubmenuItems(item, { target: menuTarget })!,\n target: submenuTarget,\n onDismiss: onSubMenuDismiss,\n isSubMenu: true,\n id: subMenuId,\n shouldFocusOnMount: true,\n shouldFocusOnContainer,\n directionalHint: getRTL(theme) ? DirectionalHint.leftTopEdge : DirectionalHint.rightTopEdge,\n className,\n gapSpace: 0,\n isBeakVisible: false,\n };\n\n if (item.subMenuProps) {\n assign(submenuProps, item.subMenuProps);\n }\n\n if (item.preferMenuTargetAsEventTarget) {\n const { onItemClick } = item;\n\n submenuProps.onItemClick = getOnClickWithOverrideTarget(onItemClick, menuTarget);\n }\n }\n return submenuProps;\n };\n\n return [expandedMenuItemKey, openSubMenu, getSubmenuProps, onSubMenuDismiss] as const;\n}\n\nfunction useShouldUpdateFocusOnMouseMove({ delayUpdateFocusOnHover, hidden }: IContextualMenuProps) {\n const shouldUpdateFocusOnMouseEvent = React.useRef(!delayUpdateFocusOnHover);\n const gotMouseMove = React.useRef(false);\n\n React.useEffect(() => {\n shouldUpdateFocusOnMouseEvent.current = !delayUpdateFocusOnHover;\n gotMouseMove.current = hidden ? false : !delayUpdateFocusOnHover && gotMouseMove.current;\n }, [delayUpdateFocusOnHover, hidden]);\n\n const onMenuFocusCapture = React.useCallback(() => {\n if (delayUpdateFocusOnHover) {\n shouldUpdateFocusOnMouseEvent.current = false;\n }\n }, [delayUpdateFocusOnHover]);\n\n return [shouldUpdateFocusOnMouseEvent, gotMouseMove, onMenuFocusCapture] as const;\n}\n\nfunction usePreviousActiveElement(\n { hidden, onRestoreFocus }: IContextualMenuProps,\n targetWindow: Window | undefined,\n hostElement: any,\n) {\n const previousActiveElement = React.useRef();\n\n const tryFocusPreviousActiveElement = React.useCallback(\n (options: IPopupRestoreFocusParams) => {\n if (onRestoreFocus) {\n onRestoreFocus(options);\n } else if (options?.documentContainsFocus) {\n // Make sure that the focus method actually exists\n // In some cases the object might exist but not be a real element.\n // This is primarily for IE 11 and should be removed once IE 11 is no longer in use.\n previousActiveElement.current?.focus?.();\n }\n },\n [onRestoreFocus],\n );\n\n useIsomorphicLayoutEffect(() => {\n if (!hidden) {\n const newElement = targetWindow?.document.activeElement as HTMLElement;\n if (!hostElement.current?.contains(newElement) && newElement.tagName !== 'BODY') {\n previousActiveElement.current = newElement;\n }\n } else if (previousActiveElement.current) {\n tryFocusPreviousActiveElement({\n originalElement: previousActiveElement.current,\n containsFocus: true,\n documentContainsFocus: getDocument()?.hasFocus() || false,\n });\n\n previousActiveElement.current = undefined;\n }\n }, [hidden, targetWindow?.document.activeElement, tryFocusPreviousActiveElement, hostElement]);\n\n return [tryFocusPreviousActiveElement] as const;\n}\n\nfunction useKeyHandlers(\n {\n theme,\n isSubMenu,\n focusZoneProps: { checkForNoWrap, direction: focusZoneDirection = FocusZoneDirection.vertical } = {},\n }: IContextualMenuProps,\n dismiss: (ev?: any, dismissAll?: boolean | undefined) => void | undefined,\n hostElement: React.RefObject,\n openSubMenu: (submenuItemKey: IContextualMenuItem, target: HTMLElement) => void,\n) {\n /** True if the most recent keydown event was for alt (option) or meta (command). */\n const lastKeyDownWasAltOrMeta = React.useRef();\n\n /**\n * Calls `shouldHandleKey` to determine whether the keyboard event should be handled;\n * if so, stops event propagation and dismisses menu(s).\n * @param ev - The keyboard event.\n * @param shouldHandleKey - Returns whether we should handle this keyboard event.\n * @param dismissAllMenus - If true, dismiss all menus. Otherwise, dismiss only the current menu.\n * Only does anything if `shouldHandleKey` returns true.\n * @returns Whether the event was handled.\n */\n const keyHandler = (\n ev: React.KeyboardEvent,\n shouldHandleKey: (ev: React.KeyboardEvent) => boolean,\n dismissAllMenus?: boolean,\n ): boolean => {\n let handled = false;\n\n if (shouldHandleKey(ev)) {\n dismiss(ev, dismissAllMenus);\n ev.preventDefault();\n ev.stopPropagation();\n handled = true;\n }\n\n return handled;\n };\n\n /**\n * Checks if the submenu should be closed\n */\n const shouldCloseSubMenu = (ev: React.KeyboardEvent): boolean => {\n const submenuCloseKey = getRTL(theme) ? KeyCodes.right : KeyCodes.left;\n\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which !== submenuCloseKey || !isSubMenu) {\n return false;\n }\n\n return !!(\n focusZoneDirection === FocusZoneDirection.vertical ||\n (checkForNoWrap && !shouldWrapFocus(ev.target as HTMLElement, 'data-no-horizontal-wrap'))\n );\n };\n\n const shouldHandleKeyDown = (ev: React.KeyboardEvent) => {\n return (\n // eslint-disable-next-line deprecation/deprecation\n ev.which === KeyCodes.escape ||\n shouldCloseSubMenu(ev) ||\n // eslint-disable-next-line deprecation/deprecation\n (ev.which === KeyCodes.up && (ev.altKey || ev.metaKey))\n );\n };\n\n const onKeyDown = (ev: React.KeyboardEvent): boolean => {\n // Take note if we are processing an alt (option) or meta (command) keydown.\n // See comment in shouldHandleKeyUp for reasoning.\n lastKeyDownWasAltOrMeta.current = isAltOrMeta(ev);\n\n // On Mac, pressing escape dismisses all levels of native context menus\n // eslint-disable-next-line deprecation/deprecation\n const dismissAllMenus = ev.which === KeyCodes.escape && (isMac() || isIOS());\n\n return keyHandler(ev, shouldHandleKeyDown, dismissAllMenus);\n };\n\n /**\n * We close the menu on key up only if ALL of the following are true:\n * - Most recent key down was alt or meta (command)\n * - The alt/meta key down was NOT followed by some other key (such as down/up arrow to\n * expand/collapse the menu)\n * - We're not on a Mac (or iOS)\n *\n * This is because on Windows, pressing alt moves focus to the application menu bar or similar,\n * closing any open context menus. There is not a similar behavior on Macs.\n */\n const shouldHandleKeyUp = (ev: React.KeyboardEvent) => {\n const keyPressIsAltOrMetaAlone = lastKeyDownWasAltOrMeta.current && isAltOrMeta(ev);\n lastKeyDownWasAltOrMeta.current = false;\n return !!keyPressIsAltOrMetaAlone && !(isIOS() || isMac());\n };\n\n const onKeyUp = (ev: React.KeyboardEvent): boolean => {\n return keyHandler(ev, shouldHandleKeyUp, true /* dismissAllMenus */);\n };\n\n const onMenuKeyDown = (ev: React.KeyboardEvent) => {\n // Mark as handled if onKeyDown returns true (for handling collapse cases)\n // or if we are attempting to expand a submenu\n const handled = onKeyDown(ev);\n\n if (handled || !hostElement.current) {\n return;\n }\n\n // If we have a modifier key being pressed, we do not want to move focus.\n // Otherwise, handle up and down keys.\n const hasModifier = !!(ev.altKey || ev.metaKey);\n // eslint-disable-next-line deprecation/deprecation\n const isUp = ev.which === KeyCodes.up;\n // eslint-disable-next-line deprecation/deprecation\n const isDown = ev.which === KeyCodes.down;\n if (!hasModifier && (isUp || isDown)) {\n const elementToFocus = isUp\n ? getLastFocusable(hostElement.current, hostElement.current.lastChild as HTMLElement, true)\n : getFirstFocusable(hostElement.current, hostElement.current.firstChild as HTMLElement, true);\n\n if (elementToFocus) {\n elementToFocus.focus();\n ev.preventDefault();\n ev.stopPropagation();\n }\n }\n };\n\n const onItemKeyDown = (item: any, ev: React.KeyboardEvent): void => {\n const openKey = getRTL(theme) ? KeyCodes.left : KeyCodes.right;\n\n if (\n !item.disabled &&\n // eslint-disable-next-line deprecation/deprecation\n (ev.which === openKey || ev.which === KeyCodes.enter || (ev.which === KeyCodes.down && (ev.altKey || ev.metaKey)))\n ) {\n openSubMenu(item, ev.currentTarget as HTMLElement);\n ev.preventDefault();\n }\n };\n\n return [onKeyDown, onKeyUp, onMenuKeyDown, onItemKeyDown] as const;\n}\n\nfunction useScrollHandler(asyncTracker: Async) {\n const isScrollIdle = React.useRef(true);\n const scrollIdleTimeoutId = React.useRef();\n\n /**\n * Scroll handler for the callout to make sure the mouse events\n * for updating focus are not interacting during scroll\n */\n const onScroll = (): void => {\n if (!isScrollIdle.current && scrollIdleTimeoutId.current !== undefined) {\n asyncTracker.clearTimeout(scrollIdleTimeoutId.current);\n scrollIdleTimeoutId.current = undefined;\n } else {\n isScrollIdle.current = false;\n }\n\n scrollIdleTimeoutId.current = asyncTracker.setTimeout(() => {\n isScrollIdle.current = true;\n }, NavigationIdleDelay);\n };\n\n return [onScroll, isScrollIdle] as const;\n}\n\nfunction useOnSubmenuDismiss(dismiss: (ev?: any, dismissAll?: boolean) => void, closeSubMenu: () => void) {\n const isMountedRef = React.useRef(false);\n React.useEffect(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n\n /**\n * This function is called ASYNCHRONOUSLY, and so there is a chance it is called\n * after the component is unmounted. The isMountedRef is added to prevent\n * from calling setState() after unmount. Do NOT copy this pattern in synchronous\n * code.\n */\n const onSubMenuDismiss = (ev?: any, dismissAll?: boolean): void => {\n if (dismissAll) {\n dismiss(ev, dismissAll);\n } else if (isMountedRef.current) {\n closeSubMenu();\n }\n };\n\n return onSubMenuDismiss;\n}\n\nfunction useSubmenuEnterTimer({ subMenuHoverDelay = NavigationIdleDelay }: IContextualMenuProps, asyncTracker: Async) {\n const enterTimerRef = React.useRef(undefined);\n\n const cancelSubMenuTimer = () => {\n if (enterTimerRef.current !== undefined) {\n asyncTracker.clearTimeout(enterTimerRef.current);\n enterTimerRef.current = undefined;\n }\n };\n\n const startSubmenuTimer = (onTimerExpired: () => void) => {\n enterTimerRef.current = asyncTracker.setTimeout(() => {\n onTimerExpired();\n cancelSubMenuTimer();\n }, subMenuHoverDelay);\n };\n\n return [cancelSubMenuTimer, startSubmenuTimer, enterTimerRef as React.RefObject] as const;\n}\n\nfunction useMouseHandlers(\n props: IContextualMenuProps,\n isScrollIdle: React.MutableRefObject,\n subMenuEntryTimer: React.RefObject,\n targetWindow: Window | undefined,\n shouldUpdateFocusOnMouseEvent: React.MutableRefObject,\n gotMouseMove: React.MutableRefObject,\n expandedMenuItemKey: string | undefined,\n hostElement: React.RefObject,\n startSubmenuTimer: (onTimerExpired: () => void) => void,\n cancelSubMenuTimer: () => void,\n openSubMenu: (submenuItemKey: IContextualMenuItem, target: HTMLElement, openedByMouseClick?: boolean) => void,\n onSubMenuDismiss: (ev?: any, dismissAll?: boolean) => void,\n dismiss: (ev?: any, dismissAll?: boolean) => void,\n) {\n const { target: menuTarget } = props;\n\n const onItemMouseEnterBase = (item: any, ev: React.MouseEvent, target?: HTMLElement): void => {\n if (shouldUpdateFocusOnMouseEvent.current) {\n gotMouseMove.current = true;\n }\n\n if (shouldIgnoreMouseEvent()) {\n return;\n }\n\n updateFocusOnMouseEvent(item, ev, target);\n };\n\n const onItemMouseMoveBase = (item: any, ev: React.MouseEvent, target: HTMLElement): void => {\n const targetElement = ev.currentTarget as HTMLElement;\n\n // Always do this check to make sure we record a mouseMove if needed (even if we are timed out)\n if (shouldUpdateFocusOnMouseEvent.current) {\n gotMouseMove.current = true;\n } else {\n return;\n }\n\n if (\n !isScrollIdle.current ||\n subMenuEntryTimer.current !== undefined ||\n targetElement === (targetWindow?.document.activeElement as HTMLElement)\n ) {\n return;\n }\n\n updateFocusOnMouseEvent(item, ev, target);\n };\n\n const shouldIgnoreMouseEvent = (): boolean => {\n return !isScrollIdle.current || !gotMouseMove.current;\n };\n\n const onMouseItemLeave = (item: any, ev: React.MouseEvent): void => {\n if (shouldIgnoreMouseEvent()) {\n return;\n }\n\n cancelSubMenuTimer();\n\n if (expandedMenuItemKey !== undefined) {\n return;\n }\n\n /**\n * IE11 focus() method forces parents to scroll to top of element.\n * Edge and IE expose a setActive() function for focusable divs that\n * sets the page focus but does not scroll the parent element.\n */\n if ((hostElement.current as any).setActive) {\n try {\n (hostElement.current as any).setActive();\n } catch (e) {\n /* no-op */\n }\n } else {\n hostElement.current?.focus();\n }\n };\n\n /**\n * Handles updating focus when mouseEnter or mouseMove fire.\n * As part of updating focus, This function will also update\n * the expand/collapse state accordingly.\n */\n const updateFocusOnMouseEvent = (\n item: IContextualMenuItem,\n ev: React.MouseEvent,\n target?: HTMLElement,\n ) => {\n const targetElement = target ? target : (ev.currentTarget as HTMLElement);\n\n if (item.key === expandedMenuItemKey) {\n return;\n }\n\n cancelSubMenuTimer();\n\n // If the menu is not expanded we can update focus without any delay\n if (expandedMenuItemKey === undefined) {\n targetElement.focus();\n }\n\n // Delay updating expanding/dismissing the submenu\n // and only set focus if we have not already done so\n if (hasSubmenu(item)) {\n ev.stopPropagation();\n startSubmenuTimer(() => {\n targetElement.focus();\n openSubMenu(item, targetElement, true);\n });\n } else {\n startSubmenuTimer(() => {\n onSubMenuDismiss(ev);\n targetElement.focus();\n });\n }\n };\n\n const onItemClick = (\n item: IContextualMenuItem,\n ev: React.MouseEvent | React.KeyboardEvent,\n ): void => {\n onItemClickBase(item, ev, ev.currentTarget as HTMLElement);\n };\n\n const onItemClickBase = (\n item: IContextualMenuItem,\n ev: React.MouseEvent | React.KeyboardEvent,\n target: HTMLElement,\n ): void => {\n const items = getSubmenuItems(item, { target: menuTarget });\n\n // Cancel an async menu item hover timeout action from being taken and instead\n // just trigger the click event instead.\n cancelSubMenuTimer();\n\n if (!hasSubmenu(item) && (!items || !items.length)) {\n // This is an item without a menu. Click it.\n executeItemClick(item, ev);\n } else {\n if (item.key !== expandedMenuItemKey) {\n // This has a collapsed sub menu. Expand it.\n\n // focus on the container by default when the menu is opened with a click event\n // this differentiates from a keyboard interaction triggering the click event\n const shouldFocusOnContainer =\n typeof props.shouldFocusOnContainer === 'boolean'\n ? props.shouldFocusOnContainer\n : (ev.nativeEvent as PointerEvent).pointerType === 'mouse';\n openSubMenu(item, target, shouldFocusOnContainer);\n }\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n };\n\n const onAnchorClick = (item: IContextualMenuItem, ev: React.MouseEvent) => {\n executeItemClick(item, ev);\n ev.stopPropagation();\n };\n\n const executeItemClick = (\n item: IContextualMenuItem,\n ev: React.MouseEvent | React.KeyboardEvent,\n ): void => {\n if (item.disabled || item.isDisabled) {\n return;\n }\n\n if (item.preferMenuTargetAsEventTarget) {\n overrideTarget(ev, menuTarget);\n }\n\n let shouldDismiss = false;\n if (item.onClick) {\n shouldDismiss = !!item.onClick(ev, item);\n } else if (props.onItemClick) {\n shouldDismiss = !!props.onItemClick(ev, item);\n }\n\n if (shouldDismiss || !ev.defaultPrevented) {\n dismiss(ev, true);\n }\n };\n\n return [\n onItemMouseEnterBase,\n onItemMouseMoveBase,\n onMouseItemLeave,\n onItemClick,\n onAnchorClick,\n executeItemClick,\n onItemClickBase,\n ] as const;\n}\n//#endregion\n\nexport const ContextualMenuBase: React.FunctionComponent = React.memo(\n React.forwardRef((propsWithoutDefaults, forwardedRef) => {\n const { ref, ...props } = getPropsWithDefaults(DEFAULT_PROPS, propsWithoutDefaults);\n const hostElement = React.useRef(null);\n const asyncTracker = useAsync();\n const menuId = useId(COMPONENT_NAME, props.id);\n\n useWarnings({\n name: COMPONENT_NAME,\n props,\n deprecations: {\n getMenuClassNames: 'styles',\n },\n });\n\n const dismiss = (ev?: any, dismissAll?: boolean) => props.onDismiss?.(ev, dismissAll);\n const [targetRef, targetWindow] = useTarget(props.target, hostElement);\n const [tryFocusPreviousActiveElement] = usePreviousActiveElement(props, targetWindow, hostElement);\n const [expandedMenuItemKey, openSubMenu, getSubmenuProps, onSubMenuDismiss] = useSubMenuState(props, dismiss);\n const [shouldUpdateFocusOnMouseEvent, gotMouseMove, onMenuFocusCapture] = useShouldUpdateFocusOnMouseMove(props);\n const [onScroll, isScrollIdle] = useScrollHandler(asyncTracker);\n const [cancelSubMenuTimer, startSubmenuTimer, subMenuEntryTimer] = useSubmenuEnterTimer(props, asyncTracker);\n\n const responsiveMode = useResponsiveMode(hostElement, props.responsiveMode);\n\n useVisibility(props, targetWindow);\n\n const [onKeyDown, onKeyUp, onMenuKeyDown, onItemKeyDown] = useKeyHandlers(props, dismiss, hostElement, openSubMenu);\n const [\n onItemMouseEnterBase,\n onItemMouseMoveBase,\n onMouseItemLeave,\n onItemClick,\n onAnchorClick,\n executeItemClick,\n onItemClickBase,\n ] = useMouseHandlers(\n props,\n isScrollIdle,\n subMenuEntryTimer,\n targetWindow,\n shouldUpdateFocusOnMouseEvent,\n gotMouseMove,\n expandedMenuItemKey,\n hostElement,\n startSubmenuTimer,\n cancelSubMenuTimer,\n openSubMenu,\n onSubMenuDismiss,\n dismiss,\n );\n\n //#region Render helpers\n\n const onDefaultRenderMenuList = (\n menuListProps: IContextualMenuListProps,\n // eslint-disable-next-line deprecation/deprecation\n menuClassNames: IProcessedStyleSet | IContextualMenuClassNames,\n defaultRender?: IRenderFunction,\n ): JSX.Element => {\n let indexCorrection = 0;\n const { items, totalItemCount, hasCheckmarks, hasIcons } = menuListProps;\n\n return (\n
    \n {items.map((item, index) => {\n const menuItem = renderMenuItem(\n item,\n index,\n indexCorrection,\n totalItemCount,\n hasCheckmarks,\n hasIcons,\n menuClassNames,\n );\n if (item.itemType !== ContextualMenuItemType.Divider && item.itemType !== ContextualMenuItemType.Header) {\n const indexIncrease = item.customOnRenderListLength ? item.customOnRenderListLength : 1;\n indexCorrection += indexIncrease;\n }\n return menuItem;\n })}\n
\n );\n };\n\n const renderFocusZone = (children: JSX.Element | null, adjustedFocusZoneProps: IFocusZoneProps): JSX.Element => {\n const { focusZoneAs: ChildrenRenderer = FocusZone } = props;\n return {children};\n };\n\n /**\n * !!!IMPORTANT!!! Avoid mutating `item: IContextualMenuItem` argument. It will\n * cause the menu items to always re-render because the component update is based on shallow comparison.\n */\n const renderMenuItem = (\n item: IContextualMenuItem,\n index: number,\n focusableElementIndex: number,\n totalItemCount: number,\n hasCheckmarks: boolean,\n hasIcons: boolean,\n // eslint-disable-next-line deprecation/deprecation\n menuClassNames: IProcessedStyleSet | IContextualMenuClassNames,\n ): JSX.Element => {\n const renderedItems: React.ReactNode[] = [];\n const iconProps = item.iconProps || { iconName: 'None' };\n const {\n getItemClassNames, // eslint-disable-line deprecation/deprecation\n itemProps,\n } = item;\n const styles = itemProps ? itemProps.styles : undefined;\n\n // We only send a dividerClassName when the item to be rendered is a divider.\n // For all other cases, the default divider style is used.\n const dividerClassName = item.itemType === ContextualMenuItemType.Divider ? item.className : undefined;\n const subMenuIconClassName = item.submenuIconProps ? item.submenuIconProps.className : '';\n\n // eslint-disable-next-line deprecation/deprecation\n let itemClassNames: IMenuItemClassNames;\n\n // IContextualMenuItem#getItemClassNames for backwards compatibility\n // otherwise uses mergeStyles for class names.\n if (getItemClassNames) {\n itemClassNames = getItemClassNames(\n props.theme!,\n isItemDisabled(item),\n expandedMenuItemKey === item.key,\n !!getIsChecked(item),\n !!item.href,\n iconProps.iconName !== 'None',\n item.className,\n dividerClassName,\n iconProps.className,\n subMenuIconClassName,\n item.primaryDisabled,\n );\n } else {\n const itemStyleProps: IContextualMenuItemStyleProps = {\n theme: props.theme!,\n disabled: isItemDisabled(item),\n expanded: expandedMenuItemKey === item.key,\n checked: !!getIsChecked(item),\n isAnchorLink: !!item.href,\n knownIcon: iconProps.iconName !== 'None',\n itemClassName: item.className,\n dividerClassName,\n iconClassName: iconProps.className,\n subMenuClassName: subMenuIconClassName,\n primaryDisabled: item.primaryDisabled,\n };\n\n // We need to generate default styles then override if styles are provided\n // since the ContextualMenu currently handles item classNames.\n itemClassNames = getContextualMenuItemClassNames(\n _getMenuItemStylesFunction(menuClassNames.subComponentStyles?.menuItem, styles),\n itemStyleProps,\n );\n }\n\n // eslint-disable-next-line deprecation/deprecation\n if (item.text === '-' || item.name === '-') {\n item.itemType = ContextualMenuItemType.Divider;\n }\n switch (item.itemType) {\n case ContextualMenuItemType.Divider:\n renderedItems.push(renderSeparator(index, itemClassNames));\n break;\n case ContextualMenuItemType.Header:\n renderedItems.push(renderSeparator(index, itemClassNames));\n const headerItem = renderHeaderMenuItem(item, itemClassNames, menuClassNames, index, hasCheckmarks, hasIcons);\n renderedItems.push(renderListItem(headerItem, item.key || index, itemClassNames, item.title));\n break;\n case ContextualMenuItemType.Section:\n renderedItems.push(renderSectionItem(item, itemClassNames, menuClassNames, index, hasCheckmarks, hasIcons));\n break;\n default:\n const defaultRenderNormalItem = () =>\n renderNormalItem(\n item,\n itemClassNames,\n index,\n focusableElementIndex,\n totalItemCount,\n hasCheckmarks,\n hasIcons,\n ) as JSX.Element;\n\n const menuItem = props.onRenderContextualMenuItem\n ? props.onRenderContextualMenuItem(item, defaultRenderNormalItem)\n : defaultRenderNormalItem();\n renderedItems.push(renderListItem(menuItem, item.key || index, itemClassNames, item.title));\n break;\n }\n\n // Since multiple nodes *could* be rendered, wrap them all in a fragment with this item's key.\n // This ensures the reconciler handles multi-item output per-node correctly and does not re-mount content.\n return {renderedItems};\n };\n\n const defaultMenuItemRenderer = (\n item: IContextualMenuItemRenderProps,\n // eslint-disable-next-line deprecation/deprecation\n menuClassNames: IProcessedStyleSet | IContextualMenuClassNames,\n ): React.ReactNode => {\n const { index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons } = item;\n return renderMenuItem(\n item,\n index,\n focusableElementIndex,\n totalItemCount,\n hasCheckmarks,\n hasIcons,\n menuClassNames,\n );\n };\n\n const renderSectionItem = (\n sectionItem: IContextualMenuItem,\n // eslint-disable-next-line deprecation/deprecation\n itemClassNames: IMenuItemClassNames,\n // eslint-disable-next-line deprecation/deprecation\n menuClassNames: IProcessedStyleSet | IContextualMenuClassNames,\n index: number,\n hasCheckmarks: boolean,\n hasIcons: boolean,\n ) => {\n const sectionProps = sectionItem.sectionProps;\n if (!sectionProps) {\n return;\n }\n\n let headerItem;\n let groupProps;\n if (sectionProps.title) {\n let headerContextualMenuItem: IContextualMenuItem | undefined = undefined;\n let ariaLabelledby = '';\n if (typeof sectionProps.title === 'string') {\n // Since title is a user-facing string, it needs to be stripped\n // of whitespace in order to build a valid element ID\n const id = menuId + sectionProps.title.replace(/\\s/g, '');\n headerContextualMenuItem = {\n key: `section-${sectionProps.title}-title`,\n itemType: ContextualMenuItemType.Header,\n text: sectionProps.title,\n id,\n };\n ariaLabelledby = id;\n } else {\n const id = sectionProps.title.id || menuId + sectionProps.title.key.replace(/\\s/g, '');\n headerContextualMenuItem = { ...sectionProps.title, id };\n ariaLabelledby = id;\n }\n\n if (headerContextualMenuItem) {\n groupProps = {\n role: 'group',\n 'aria-labelledby': ariaLabelledby,\n };\n headerItem = renderHeaderMenuItem(\n headerContextualMenuItem,\n itemClassNames,\n menuClassNames,\n index,\n hasCheckmarks,\n hasIcons,\n );\n }\n }\n\n if (sectionProps.items && sectionProps.items.length > 0) {\n let correctedIndex = 0;\n return (\n
  • \n
    \n
      \n {sectionProps.topDivider && renderSeparator(index, itemClassNames, true, true)}\n {headerItem && renderListItem(headerItem, sectionItem.key || index, itemClassNames, sectionItem.title)}\n {sectionProps.items.map((contextualMenuItem, itemsIndex) => {\n const menuItem = renderMenuItem(\n contextualMenuItem,\n itemsIndex,\n correctedIndex,\n getItemCount(sectionProps.items),\n hasCheckmarks,\n hasIcons,\n menuClassNames,\n );\n if (\n contextualMenuItem.itemType !== ContextualMenuItemType.Divider &&\n contextualMenuItem.itemType !== ContextualMenuItemType.Header\n ) {\n const indexIncrease = contextualMenuItem.customOnRenderListLength\n ? contextualMenuItem.customOnRenderListLength\n : 1;\n correctedIndex += indexIncrease;\n }\n return menuItem;\n })}\n {sectionProps.bottomDivider && renderSeparator(index, itemClassNames, false, true)}\n
    \n
    \n
  • \n );\n }\n };\n\n const renderListItem = (\n content: React.ReactNode,\n key: string | number,\n classNames: IMenuItemClassNames, // eslint-disable-line deprecation/deprecation\n title?: string,\n ) => {\n return (\n
  • \n {content}\n
  • \n );\n };\n\n const renderSeparator = (\n index: number,\n classNames: IMenuItemClassNames, // eslint-disable-line deprecation/deprecation\n top?: boolean,\n fromSection?: boolean,\n ): React.ReactNode => {\n if (fromSection || index > 0) {\n return (\n \n );\n }\n return null;\n };\n\n const renderNormalItem = (\n item: IContextualMenuItem,\n classNames: IMenuItemClassNames, // eslint-disable-line deprecation/deprecation\n index: number,\n focusableElementIndex: number,\n totalItemCount: number,\n hasCheckmarks: boolean,\n hasIcons: boolean,\n ): React.ReactNode => {\n if (item.onRender) {\n return item.onRender(\n { 'aria-posinset': focusableElementIndex + 1, 'aria-setsize': totalItemCount, ...item },\n dismiss,\n );\n }\n\n const { contextualMenuItemAs } = props;\n\n const commonProps = {\n item,\n classNames,\n index,\n focusableElementIndex,\n totalItemCount,\n hasCheckmarks,\n hasIcons,\n contextualMenuItemAs,\n onItemMouseEnter: onItemMouseEnterBase,\n onItemMouseLeave: onMouseItemLeave,\n onItemMouseMove: onItemMouseMoveBase,\n onItemMouseDown,\n executeItemClick,\n onItemKeyDown,\n expandedMenuItemKey,\n openSubMenu,\n dismissSubMenu: onSubMenuDismiss,\n dismissMenu: dismiss,\n } as const;\n\n if (item.href) {\n let ContextualMenuAnchorAs: IComponentAs = ContextualMenuAnchor;\n\n if (item.contextualMenuItemWrapperAs) {\n ContextualMenuAnchorAs = composeComponentAs(item.contextualMenuItemWrapperAs, ContextualMenuAnchorAs);\n }\n\n return ;\n }\n\n if (item.split && hasSubmenu(item)) {\n let ContextualMenuSplitButtonAs: IComponentAs = ContextualMenuSplitButton;\n\n if (item.contextualMenuItemWrapperAs) {\n ContextualMenuSplitButtonAs = composeComponentAs(\n item.contextualMenuItemWrapperAs,\n ContextualMenuSplitButtonAs,\n );\n }\n\n return (\n \n );\n }\n\n let ContextualMenuButtonAs: IComponentAs = ContextualMenuButton;\n\n if (item.contextualMenuItemWrapperAs) {\n ContextualMenuButtonAs = composeComponentAs(item.contextualMenuItemWrapperAs, ContextualMenuButtonAs);\n }\n\n return ;\n };\n\n const renderHeaderMenuItem = (\n item: IContextualMenuItem,\n // eslint-disable-next-line deprecation/deprecation\n itemClassNames: IMenuItemClassNames,\n // eslint-disable-next-line deprecation/deprecation\n menuClassNames: IProcessedStyleSet | IContextualMenuClassNames,\n index: number,\n hasCheckmarks: boolean,\n hasIcons: boolean,\n ): React.ReactNode => {\n let ChildrenRenderer: IComponentAs = ContextualMenuItem;\n\n if (item.contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(item.contextualMenuItemAs, ChildrenRenderer);\n }\n\n if (props.contextualMenuItemAs) {\n ChildrenRenderer = composeComponentAs(props.contextualMenuItemAs, ChildrenRenderer);\n }\n\n const { itemProps, id } = item;\n const divHtmlProperties =\n itemProps && getNativeProps>(itemProps, divProperties);\n return (\n // eslint-disable-next-line deprecation/deprecation\n
    \n \n
    \n );\n };\n //#endregion\n\n //#region Main render\n let { isBeakVisible } = props;\n\n const {\n items,\n labelElementId,\n id,\n className,\n beakWidth,\n directionalHint,\n directionalHintForRTL,\n alignTargetEdge,\n gapSpace,\n coverTarget,\n ariaLabel,\n doNotLayer,\n target,\n bounds,\n useTargetWidth,\n useTargetAsMinWidth,\n directionalHintFixed,\n shouldFocusOnMount,\n shouldFocusOnContainer,\n title,\n styles,\n theme,\n calloutProps,\n onRenderSubMenu = onDefaultRenderSubMenu,\n onRenderMenuList = (\n menuListProps: IContextualMenuListProps,\n defaultRender?: IRenderFunction,\n ) => onDefaultRenderMenuList(menuListProps, classNames, defaultRender),\n focusZoneProps,\n // eslint-disable-next-line deprecation/deprecation\n getMenuClassNames,\n } = props;\n\n const classNames = getMenuClassNames\n ? getMenuClassNames(theme!, className)\n : getClassNames(styles, {\n theme: theme!,\n className,\n });\n\n const hasIcons = itemsHaveIcons(items);\n\n function itemsHaveIcons(contextualMenuItems: IContextualMenuItem[]): boolean {\n for (const item of contextualMenuItems) {\n if (item.iconProps) {\n return true;\n }\n\n if (\n item.itemType === ContextualMenuItemType.Section &&\n item.sectionProps &&\n itemsHaveIcons(item.sectionProps.items)\n ) {\n return true;\n }\n }\n\n return false;\n }\n\n const adjustedFocusZoneProps = {\n direction: FocusZoneDirection.vertical,\n handleTabKey: FocusZoneTabbableElements.all,\n isCircularNavigation: true,\n ...focusZoneProps,\n className: css(classNames.root, props.focusZoneProps?.className),\n };\n\n const hasCheckmarks = canAnyMenuItemsCheck(items);\n const submenuProps = expandedMenuItemKey && props.hidden !== true ? getSubmenuProps() : null;\n\n isBeakVisible = isBeakVisible === undefined ? responsiveMode! <= ResponsiveMode.medium : isBeakVisible;\n /**\n * When useTargetWidth is true, get the width of the target element and apply it for the context menu container\n */\n let contextMenuStyle: React.CSSProperties;\n const targetAsHtmlElement = targetRef.current as HTMLElement;\n if ((useTargetWidth || useTargetAsMinWidth) && targetAsHtmlElement && targetAsHtmlElement.offsetWidth) {\n const targetBoundingRect = targetAsHtmlElement.getBoundingClientRect();\n const targetWidth = targetBoundingRect.width - 2; /* Accounts for 1px border */\n\n if (useTargetWidth) {\n contextMenuStyle = {\n width: targetWidth,\n };\n } else if (useTargetAsMinWidth) {\n contextMenuStyle = {\n minWidth: targetWidth,\n };\n }\n }\n\n // The menu should only return if items were provided, if no items were provided then it should not appear.\n if (items && items.length > 0) {\n const totalItemCount = getItemCount(items);\n\n const calloutStyles = classNames.subComponentStyles\n ? (classNames.subComponentStyles.callout as IStyleFunctionOrObject<\n ICalloutContentStyleProps,\n ICalloutContentStyles\n >)\n : undefined;\n\n return (\n \n {menuContext => (\n \n );\n } else {\n return null;\n }\n //#endregion\n }),\n (prevProps, newProps) => {\n if (!newProps.shouldUpdateWhenHidden && prevProps.hidden && newProps.hidden) {\n // Do not update when hidden.\n return true;\n }\n\n return shallowCompare(prevProps, newProps);\n },\n);\nContextualMenuBase.displayName = 'ContextualMenuBase';\n\n/**\n * Returns true if the key for the event is alt (Mac option) or meta (Mac command).\n */\nfunction isAltOrMeta(ev: React.KeyboardEvent): boolean {\n // eslint-disable-next-line deprecation/deprecation\n return ev.which === KeyCodes.alt || ev.key === 'Meta';\n}\n\nfunction onItemMouseDown(item: IContextualMenuItem, ev: React.MouseEvent): void {\n item.onMouseDown?.(item, ev);\n}\n\nfunction onDefaultRenderSubMenu(\n subMenuProps: IContextualMenuProps,\n defaultRender?: IRenderFunction,\n): JSX.Element {\n throw Error(\n 'ContextualMenuBase: onRenderSubMenu callback is null or undefined. ' +\n 'Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.',\n );\n}\n\n/**\n * Returns the item that matches a given key if any.\n * @param key - The key of the item to match\n * @param items - The items to look for the key\n */\nfunction findItemByKeyFromItems(key: string, items: IContextualMenuItem[]): IContextualMenuItem | undefined {\n for (const item of items) {\n if (item.itemType === ContextualMenuItemType.Section && item.sectionProps) {\n const match = findItemByKeyFromItems(key, item.sectionProps.items);\n if (match) {\n return match;\n }\n } else if (item.key && item.key === key) {\n return item;\n }\n }\n}\n\nfunction getOnClickWithOverrideTarget(\n onClick:\n | ((\n ev?: React.MouseEvent | React.KeyboardEvent | undefined,\n item?: IContextualMenuItem | undefined,\n ) => boolean | void)\n | undefined,\n target: Target | undefined,\n) {\n return onClick\n ? (\n ev?: React.MouseEvent | React.KeyboardEvent | undefined,\n item?: IContextualMenuItem | undefined,\n ) => {\n overrideTarget(ev, target);\n\n return onClick(ev, item);\n }\n : onClick;\n}\n\nfunction overrideTarget(\n ev?: React.MouseEvent | React.KeyboardEvent | undefined,\n target?: Target,\n): void {\n if (ev && target) {\n ev.persist();\n\n if (target instanceof Event) {\n ev.target = target.target as HTMLElement;\n } else if (target instanceof Element) {\n ev.target = target;\n }\n }\n}\n","import { getGlobalClassNames, FontWeights } from '../../Styling';\nimport { CONTEXTUAL_MENU_ITEM_HEIGHT } from './ContextualMenu.cnstyles';\nimport type { IContextualMenuStyleProps, IContextualMenuStyles } from './ContextualMenu.types';\n\nconst GlobalClassNames = {\n root: 'ms-ContextualMenu',\n container: 'ms-ContextualMenu-container',\n list: 'ms-ContextualMenu-list',\n header: 'ms-ContextualMenu-header',\n title: 'ms-ContextualMenu-title',\n isopen: 'is-open',\n};\n\nexport const getStyles = (props: IContextualMenuStyleProps): IContextualMenuStyles => {\n const { className, theme } = props;\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n const { fonts, semanticColors, effects } = theme;\n\n return {\n root: [\n theme.fonts.medium,\n classNames.root,\n classNames.isopen,\n {\n backgroundColor: semanticColors.menuBackground,\n minWidth: '180px',\n },\n className,\n ],\n container: [\n classNames.container,\n {\n selectors: {\n ':focus': { outline: 0 },\n },\n },\n ],\n list: [\n classNames.list,\n classNames.isopen,\n {\n listStyleType: 'none',\n margin: '0',\n padding: '0',\n },\n ],\n header: [\n classNames.header,\n fonts.small,\n {\n fontWeight: FontWeights.semibold,\n color: semanticColors.menuHeader,\n background: 'none',\n backgroundColor: 'transparent',\n border: 'none',\n height: CONTEXTUAL_MENU_ITEM_HEIGHT,\n lineHeight: CONTEXTUAL_MENU_ITEM_HEIGHT,\n cursor: 'default',\n padding: '0px 6px',\n userSelect: 'none',\n textAlign: 'left',\n },\n ],\n title: [\n classNames.title,\n {\n fontSize: fonts.mediumPlus.fontSize,\n paddingRight: '14px',\n paddingLeft: '14px',\n paddingBottom: '5px',\n paddingTop: '5px',\n backgroundColor: semanticColors.menuItemBackgroundPressed,\n },\n ],\n subComponentStyles: {\n callout: {\n root: {\n boxShadow: effects.elevation8,\n },\n },\n menuItem: {},\n },\n };\n};\n","import * as React from 'react';\nimport { styled, composeRenderFunction } from '../../Utilities';\nimport { ContextualMenuBase } from './ContextualMenu.base';\nimport { getStyles } from './ContextualMenu.styles';\nimport type { IContextualMenuProps, IContextualMenuStyleProps, IContextualMenuStyles } from './ContextualMenu.types';\n\nfunction onRenderSubMenu(subMenuProps: IContextualMenuProps) {\n return ;\n}\n\n// This is to prevent cyclic import with ContextualMenu.base.tsx.\nconst LocalContextualMenu: React.FunctionComponent = styled<\n IContextualMenuProps,\n IContextualMenuStyleProps,\n IContextualMenuStyles\n>(\n ContextualMenuBase,\n getStyles,\n (props: IContextualMenuProps) => ({\n onRenderSubMenu: props.onRenderSubMenu\n ? composeRenderFunction(props.onRenderSubMenu, onRenderSubMenu)\n : onRenderSubMenu,\n }),\n { scope: 'ContextualMenu' },\n);\n\n/**\n * ContextualMenu description\n */\nexport const ContextualMenu: React.FunctionComponent = LocalContextualMenu;\nContextualMenu.displayName = 'ContextualMenu';\n","import { memoizeFunction } from '../../../Utilities';\nimport { mergeStyles } from '../../../Styling';\nimport type { IButtonStyles } from '../Button.types';\n\nexport interface ISplitButtonClassNames {\n root?: string;\n icon?: string;\n splitButtonContainer?: string;\n flexContainer?: string;\n divider?: string;\n}\n\nexport const getSplitButtonClassNames = memoizeFunction(\n (\n styles: IButtonStyles,\n disabled: boolean,\n expanded: boolean,\n checked: boolean,\n primaryDisabled?: boolean,\n ): ISplitButtonClassNames => {\n return {\n root: mergeStyles(\n styles.splitButtonMenuButton,\n expanded && [styles.splitButtonMenuButtonExpanded],\n disabled && [styles.splitButtonMenuButtonDisabled],\n checked && !disabled && [styles.splitButtonMenuButtonChecked],\n primaryDisabled &&\n !disabled && [\n {\n selectors: {\n ':focus': styles.splitButtonMenuFocused,\n },\n },\n ],\n ),\n\n splitButtonContainer: mergeStyles(\n styles.splitButtonContainer,\n !disabled &&\n checked && [\n styles.splitButtonContainerChecked,\n {\n selectors: {\n ':hover': styles.splitButtonContainerCheckedHovered,\n },\n },\n ],\n !disabled &&\n !checked && [\n {\n selectors: {\n ':hover': styles.splitButtonContainerHovered,\n ':focus': styles.splitButtonContainerFocused,\n },\n },\n ],\n disabled && styles.splitButtonContainerDisabled,\n ),\n\n icon: mergeStyles(\n styles.splitButtonMenuIcon,\n disabled && styles.splitButtonMenuIconDisabled,\n !disabled && primaryDisabled && styles.splitButtonMenuIcon,\n ),\n\n flexContainer: mergeStyles(styles.splitButtonFlexContainer),\n\n divider: mergeStyles(\n styles.splitButtonDivider,\n (primaryDisabled || disabled) && styles.splitButtonDividerDisabled,\n ),\n };\n },\n);\n","import * as React from 'react';\nimport {\n anchorProperties,\n assign,\n buttonProperties,\n createMergedRef,\n css,\n getId,\n getNativeProps,\n initializeComponentRef,\n memoizeFunction,\n mergeAriaAttributeValues,\n nullRender,\n portalContainsElement,\n setFocusVisibility,\n warnConditionallyRequiredProps,\n warnDeprecations,\n Async,\n EventGroup,\n FocusRects,\n FocusRectsContext,\n KeyCodes,\n} from '../../Utilities';\nimport { Icon, FontIcon, ImageIcon } from '../../Icon';\nimport { DirectionalHint } from '../../common/DirectionalHint';\nimport { ContextualMenu } from '../../ContextualMenu';\nimport { getBaseButtonClassNames } from './BaseButton.classNames';\nimport { getSplitButtonClassNames as getBaseSplitButtonClassNames } from './SplitButton/SplitButton.classNames';\nimport { KeytipData } from '../../KeytipData';\nimport type { IFocusRectsContext, IRenderFunction } from '../../Utilities';\nimport type { IContextualMenuProps } from '../../ContextualMenu';\nimport type { IButtonProps, IButton } from './Button.types';\nimport type { IButtonClassNames } from './BaseButton.classNames';\nimport type { ISplitButtonClassNames } from './SplitButton/SplitButton.classNames';\nimport type { IKeytipProps } from '../../Keytip';\nimport { composeComponentAs } from '../../Utilities';\n\n/**\n * {@docCategory Button}\n */\nexport interface IBaseButtonProps extends IButtonProps {\n baseClassName?: string;\n variantClassName?: string;\n}\n\n/**\n * {@docCategory Button}\n */\nexport interface IBaseButtonState {\n menuHidden: boolean;\n}\n\nconst TouchIdleDelay = 500; /* ms */\nconst COMPONENT_NAME = 'BaseButton';\n\n/**\n * {@docCategory Button}\n */\nexport class BaseButton extends React.Component implements IButton {\n private get _isSplitButton(): boolean {\n return !!this.props.menuProps && !!this.props.onClick && this.props.split === true;\n }\n\n public static defaultProps: Partial = {\n baseClassName: 'ms-Button',\n styles: {},\n split: false,\n };\n\n // needed to access registeredProviders when manually setting focus visibility\n public static contextType = FocusRectsContext;\n public context: IFocusRectsContext;\n\n private _async: Async;\n private _events: EventGroup;\n private _buttonElement = React.createRef();\n private _splitButtonContainer = React.createRef();\n private _mergedRef = createMergedRef();\n private _labelId: string;\n private _descriptionId: string;\n private _ariaDescriptionId: string;\n private _classNames: IButtonClassNames;\n private _processingTouch: boolean;\n private _lastTouchTimeoutId: number | undefined;\n private _renderedVisibleMenu: boolean = false;\n\n // These fields will be used to set corresponding props on the menu.\n private _menuShouldFocusOnContainer: boolean | undefined;\n private _menuShouldFocusOnMount: boolean | undefined;\n\n private _getMemoizedMenuButtonKeytipProps = memoizeFunction((keytipProps: IKeytipProps) => {\n return {\n ...keytipProps,\n hasMenu: true,\n };\n });\n\n constructor(props: IBaseButtonProps) {\n super(props);\n\n initializeComponentRef(this);\n this._async = new Async(this);\n this._events = new EventGroup(this);\n\n warnConditionallyRequiredProps(COMPONENT_NAME, props, ['menuProps', 'onClick'], 'split', this.props.split!);\n\n warnDeprecations(COMPONENT_NAME, props, {\n rootProps: undefined,\n description: 'secondaryText',\n toggled: 'checked',\n });\n this._labelId = getId();\n this._descriptionId = getId();\n this._ariaDescriptionId = getId();\n\n this.state = {\n menuHidden: true,\n };\n }\n\n public render(): JSX.Element {\n const {\n ariaDescription,\n ariaLabel,\n ariaHidden,\n className,\n disabled,\n allowDisabledFocus,\n primaryDisabled,\n // eslint-disable-next-line deprecation/deprecation\n secondaryText = this.props.description,\n href,\n iconProps,\n menuIconProps,\n styles,\n checked,\n variantClassName,\n theme,\n toggle,\n getClassNames,\n role,\n } = this.props;\n\n const { menuHidden } = this.state;\n\n // Button is disabled if the whole button (in case of splitButton is disabled) or if the primary action is disabled\n const isPrimaryButtonDisabled = disabled || primaryDisabled;\n\n this._classNames = getClassNames\n ? getClassNames(\n theme!,\n className!,\n variantClassName!,\n iconProps && iconProps.className,\n menuIconProps && menuIconProps.className,\n isPrimaryButtonDisabled!,\n checked!,\n !menuHidden,\n !!this.props.menuProps,\n this.props.split,\n !!allowDisabledFocus,\n )\n : getBaseButtonClassNames(\n theme!,\n styles!,\n className!,\n variantClassName!,\n iconProps && iconProps.className,\n menuIconProps && menuIconProps.className,\n isPrimaryButtonDisabled!,\n !!this.props.menuProps,\n checked!,\n !menuHidden,\n this.props.split,\n );\n\n const { _ariaDescriptionId, _labelId, _descriptionId } = this;\n // Anchor tag cannot be disabled hence in disabled state rendering\n // anchor button as normal button\n const renderAsAnchor: boolean = !isPrimaryButtonDisabled && !!href;\n const tag = renderAsAnchor ? 'a' : 'button';\n\n const nativeProps = getNativeProps(\n // eslint-disable-next-line deprecation/deprecation\n assign(renderAsAnchor ? {} : { type: 'button' }, this.props.rootProps, this.props),\n renderAsAnchor ? anchorProperties : buttonProperties,\n [\n 'disabled', // let disabled buttons be focused and styled as disabled.\n ],\n );\n\n // Check for ariaLabel passed in via Button props, and fall back to aria-label passed in via native props\n const resolvedAriaLabel = ariaLabel || (nativeProps as any)['aria-label'];\n\n // Check for ariaDescription, secondaryText or aria-describedby in the native props to determine source of\n // aria-describedby. Otherwise default to undefined so property does not appear in output.\n let ariaDescribedBy = undefined;\n if (ariaDescription) {\n ariaDescribedBy = _ariaDescriptionId;\n } else if (secondaryText && this.props.onRenderDescription !== nullRender) {\n // for buttons like CompoundButton with a valid onRenderDescription, we need to set an ariaDescribedBy\n // for buttons that do not render anything (via nullRender), we should not set an ariaDescribedBy\n ariaDescribedBy = _descriptionId;\n } else if ((nativeProps as any)['aria-describedby']) {\n ariaDescribedBy = (nativeProps as any)['aria-describedby'];\n }\n\n // If an explicit aria-labelledby is given, use that and we're done.\n // If any kind of description is given (which will end up as an aria-describedby attribute)\n // and no ariaLabel is specified, set the labelledby element.\n // Otherwise, the button is labeled implicitly by the descendent text on the button (if it exists).\n let ariaLabelledBy = undefined;\n if ((nativeProps as any)['aria-labelledby']) {\n ariaLabelledBy = (nativeProps as any)['aria-labelledby'];\n } else if (ariaDescribedBy && !resolvedAriaLabel) {\n ariaLabelledBy = this._hasText() ? _labelId : undefined;\n }\n\n const dataIsFocusable =\n (this.props as any)['data-is-focusable'] === false || (disabled && !allowDisabledFocus) || this._isSplitButton\n ? false\n : true;\n\n const isCheckboxTypeRole = role === 'menuitemcheckbox' || role === 'checkbox';\n // if isCheckboxTypeRole, always return a checked value.\n // Otherwise only return checked value if toggle is set to true.\n // This is because role=\"checkbox\" always needs to have an aria-checked value\n // but our checked prop only sets aria-pressed if we mark the button as a toggle=\"true\"\n const checkedOrPressedValue = isCheckboxTypeRole ? !!checked : toggle === true ? !!checked : undefined;\n\n const buttonProps = assign(nativeProps, {\n className: this._classNames.root,\n // eslint-disable-next-line deprecation/deprecation\n ref: this._mergedRef(this.props.elementRef, this._buttonElement),\n disabled: isPrimaryButtonDisabled && !allowDisabledFocus,\n onKeyDown: this._onKeyDown,\n onKeyPress: this._onKeyPress,\n onKeyUp: this._onKeyUp,\n onMouseDown: this._onMouseDown,\n onMouseUp: this._onMouseUp,\n onClick: this._onClick,\n 'aria-label': resolvedAriaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-describedby': ariaDescribedBy,\n 'aria-disabled': isPrimaryButtonDisabled,\n 'data-is-focusable': dataIsFocusable,\n // aria-pressed attribute should only be present for toggle buttons\n // aria-checked attribute should only be present for toggle buttons with checkbox type role\n [isCheckboxTypeRole ? 'aria-checked' : 'aria-pressed']: checkedOrPressedValue,\n });\n\n if (ariaHidden) {\n buttonProps['aria-hidden'] = true;\n }\n\n if (this._isSplitButton) {\n return this._onRenderSplitButtonContent(tag, buttonProps);\n } else if (this.props.menuProps) {\n const { id = `${this._labelId}-menu` } = this.props.menuProps;\n assign(buttonProps, {\n 'aria-expanded': !menuHidden,\n 'aria-controls': !menuHidden ? id : null,\n 'aria-haspopup': true,\n });\n }\n\n return this._onRenderContent(tag, buttonProps);\n }\n\n public componentDidMount() {\n // For split buttons, touching anywhere in the button should drop the dropdown, which should contain the\n // primary action. This gives more hit target space for touch environments. We're setting the onpointerdown here,\n // because React does not support Pointer events yet.\n if (this._isSplitButton && this._splitButtonContainer.current) {\n if ('onpointerdown' in this._splitButtonContainer.current) {\n this._events.on(this._splitButtonContainer.current, 'pointerdown', this._onPointerDown, true);\n }\n if ('onpointerup' in this._splitButtonContainer.current && this.props.onPointerUp) {\n this._events.on(this._splitButtonContainer.current, 'pointerup', this.props.onPointerUp, true);\n }\n }\n }\n\n public componentDidUpdate(prevProps: IBaseButtonProps, prevState: IBaseButtonState) {\n // If Button's menu was closed, run onAfterMenuDismiss.\n if (this.props.onAfterMenuDismiss && !prevState.menuHidden && this.state.menuHidden) {\n this.props.onAfterMenuDismiss();\n }\n }\n\n public componentWillUnmount(): void {\n this._async.dispose();\n this._events.dispose();\n }\n\n public focus(): void {\n if (this._isSplitButton && this._splitButtonContainer.current) {\n setFocusVisibility(true, undefined, this.context?.registeredProviders);\n this._splitButtonContainer.current.focus();\n } else if (this._buttonElement.current) {\n setFocusVisibility(true, undefined, this.context?.registeredProviders);\n this._buttonElement.current.focus();\n }\n }\n\n public dismissMenu(): void {\n this._dismissMenu();\n }\n\n public openMenu(shouldFocusOnContainer?: boolean, shouldFocusOnMount?: boolean): void {\n this._openMenu(shouldFocusOnContainer, shouldFocusOnMount);\n }\n\n private _onRenderContent(tag: any, buttonProps: IButtonProps): JSX.Element {\n const props = this.props;\n const Tag = tag;\n const {\n menuIconProps,\n menuProps,\n onRenderIcon = this._onRenderIcon,\n onRenderAriaDescription = this._onRenderAriaDescription,\n onRenderChildren = this._onRenderChildren,\n // eslint-disable-next-line deprecation/deprecation\n onRenderMenu = this._onRenderMenu,\n onRenderMenuIcon = this._onRenderMenuIcon,\n disabled,\n } = props;\n let { keytipProps } = props;\n if (keytipProps && menuProps) {\n keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps);\n }\n\n const Button = (keytipAttributes?: any): JSX.Element => (\n \n \n {onRenderIcon(props, this._onRenderIcon)}\n {this._onRenderTextContents()}\n {onRenderAriaDescription(props, this._onRenderAriaDescription)}\n {onRenderChildren(props, this._onRenderChildren)}\n {!this._isSplitButton &&\n (menuProps || menuIconProps || this.props.onRenderMenuIcon) &&\n onRenderMenuIcon(this.props, this._onRenderMenuIcon)}\n {menuProps &&\n !menuProps.doNotLayer &&\n this._shouldRenderMenu() &&\n onRenderMenu(this._getMenuProps(menuProps), this._onRenderMenu)}\n \n \n );\n\n const Content = keytipProps ? (\n // If we're making a split button, we won't put the keytip here\n \n {(keytipAttributes: any): JSX.Element => Button(keytipAttributes)}\n \n ) : (\n Button()\n );\n\n if (menuProps && menuProps.doNotLayer) {\n return (\n <>\n {Content}\n {this._shouldRenderMenu() && onRenderMenu(this._getMenuProps(menuProps), this._onRenderMenu)}\n \n );\n }\n\n return (\n <>\n {Content}\n \n \n );\n }\n\n /**\n * Method to help determine if the menu's component tree should\n * be rendered. It takes into account whether the menu is expanded,\n * whether it is a persisted menu and whether it has been shown to the user.\n */\n private _shouldRenderMenu() {\n const { menuHidden } = this.state;\n // eslint-disable-next-line deprecation/deprecation\n const { persistMenu, renderPersistedMenuHiddenOnMount } = this.props;\n\n if (!menuHidden) {\n // Always should render a menu when it is expanded\n return true;\n } else if (persistMenu && (this._renderedVisibleMenu || renderPersistedMenuHiddenOnMount)) {\n // _renderedVisibleMenu ensures that the first rendering of\n // the menu happens on-screen, as edge's scrollbar calculations are off if done while hidden.\n return true;\n }\n\n return false;\n }\n\n private _onRenderIcon = (\n buttonProps?: IButtonProps,\n defaultRender?: IRenderFunction,\n ): JSX.Element | null => {\n const { iconProps } = this.props;\n\n if (iconProps && (iconProps.iconName !== undefined || iconProps.imageProps)) {\n const { className, imageProps, ...rest } = iconProps;\n\n // If the styles prop is specified as part of iconProps, fall back to regular Icon as FontIcon and ImageIcon\n // do not have this prop.\n if (iconProps.styles) {\n return ;\n }\n if (iconProps.iconName) {\n return ;\n }\n if (imageProps) {\n return ;\n }\n }\n return null;\n };\n\n private _onRenderTextContents = (): JSX.Element | (JSX.Element | null)[] => {\n const {\n text,\n children,\n // eslint-disable-next-line deprecation/deprecation\n secondaryText = this.props.description,\n onRenderText = this._onRenderText,\n onRenderDescription = this._onRenderDescription,\n } = this.props;\n\n if (text || typeof children === 'string' || secondaryText) {\n return (\n \n {onRenderText(this.props, this._onRenderText)}\n {onRenderDescription(this.props, this._onRenderDescription)}\n \n );\n }\n return [onRenderText(this.props, this._onRenderText), onRenderDescription(this.props, this._onRenderDescription)];\n };\n\n private _onRenderText = (): JSX.Element | null => {\n let { text } = this.props;\n const { children } = this.props;\n\n // For backwards compat, we should continue to take in the text content from children.\n if (text === undefined && typeof children === 'string') {\n text = children;\n }\n\n if (this._hasText()) {\n return (\n \n {text}\n \n );\n }\n\n return null;\n };\n\n private _hasText(): boolean {\n // _onRenderTextContents and _onRenderText do not perform the same checks. Below is parity with what _onRenderText\n // used to have before the refactor that introduced this function. _onRenderTextContents does not require props.\n // text to be undefined in order for props.children to be used as a fallback.\n // Purely a code maintainability/reuse issue, but logged as Issue #4979.\n return this.props.text !== null && (this.props.text !== undefined || typeof this.props.children === 'string');\n }\n\n private _onRenderChildren = (): JSX.Element | null => {\n const { children } = this.props;\n\n // If children is just a string, either it or the text will be rendered via onRenderLabel\n // If children is another component, it will be rendered after text\n if (typeof children === 'string') {\n return null;\n }\n\n return children as any;\n };\n\n private _onRenderDescription = (props: IButtonProps) => {\n // eslint-disable-next-line deprecation/deprecation\n const { secondaryText = this.props.description } = props;\n\n // ms-Button-description is only shown when the button type is compound.\n // In other cases it will not be displayed.\n return secondaryText ? (\n \n {secondaryText}\n \n ) : null;\n };\n\n private _onRenderAriaDescription = () => {\n const { ariaDescription } = this.props;\n\n // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan,\n // otherwise it will be assigned to descriptionSpan.\n return ariaDescription ? (\n \n {ariaDescription}\n \n ) : null;\n };\n\n private _onRenderMenuIcon = (props: IButtonProps): JSX.Element | null => {\n const { menuIconProps } = this.props;\n\n return ;\n };\n\n private _getMenuProps(menuProps: IContextualMenuProps): IContextualMenuProps {\n const { persistMenu } = this.props;\n const { menuHidden } = this.state;\n\n // the accessible menu label (accessible name) has a relationship to the button.\n // If the menu props do not specify an explicit value for aria-label or aria-labelledBy,\n // AND the button has text, we'll set the menu aria-labelledBy to the text element id.\n if (!menuProps.ariaLabel && !menuProps.labelElementId && this._hasText()) {\n menuProps = { ...menuProps, labelElementId: this._labelId };\n }\n\n return {\n id: this._labelId + '-menu',\n directionalHint: DirectionalHint.bottomLeftEdge,\n ...menuProps,\n shouldFocusOnContainer: this._menuShouldFocusOnContainer,\n shouldFocusOnMount: this._menuShouldFocusOnMount,\n hidden: persistMenu ? menuHidden : undefined,\n className: css('ms-BaseButton-menuhost', menuProps.className),\n target: this._isSplitButton ? this._splitButtonContainer.current : this._buttonElement.current,\n onDismiss: this._onDismissMenu,\n };\n }\n\n private _onRenderMenu = (menuProps: IContextualMenuProps): JSX.Element => {\n const MenuType = this.props.menuAs ? composeComponentAs(this.props.menuAs, ContextualMenu) : ContextualMenu;\n\n return ;\n };\n\n private _onDismissMenu: IContextualMenuProps['onDismiss'] = ev => {\n const { menuProps } = this.props;\n\n if (menuProps && menuProps.onDismiss) {\n menuProps.onDismiss(ev);\n }\n if (!ev || !ev.defaultPrevented) {\n this._dismissMenu();\n }\n };\n\n private _dismissMenu = (): void => {\n this._menuShouldFocusOnMount = undefined;\n this._menuShouldFocusOnContainer = undefined;\n this.setState({ menuHidden: true });\n };\n\n private _openMenu = (shouldFocusOnContainer?: boolean, shouldFocusOnMount: boolean = true): void => {\n if (this.props.menuProps) {\n this._menuShouldFocusOnContainer = shouldFocusOnContainer;\n this._menuShouldFocusOnMount = shouldFocusOnMount;\n this._renderedVisibleMenu = true;\n this.setState({ menuHidden: false });\n }\n };\n\n private _onToggleMenu = (shouldFocusOnContainer: boolean): void => {\n let shouldFocusOnMount = true;\n if (this.props.menuProps && this.props.menuProps.shouldFocusOnMount === false) {\n shouldFocusOnMount = false;\n }\n\n this.state.menuHidden ? this._openMenu(shouldFocusOnContainer, shouldFocusOnMount) : this._dismissMenu();\n };\n\n private _onRenderSplitButtonContent(tag: any, buttonProps: IButtonProps): JSX.Element {\n const {\n styles = {},\n disabled,\n allowDisabledFocus,\n checked,\n getSplitButtonClassNames,\n primaryDisabled,\n menuProps,\n toggle,\n role,\n primaryActionButtonProps,\n } = this.props;\n let { keytipProps } = this.props;\n const { menuHidden } = this.state;\n\n const classNames = getSplitButtonClassNames\n ? getSplitButtonClassNames(!!disabled, !menuHidden, !!checked, !!allowDisabledFocus)\n : styles && getBaseSplitButtonClassNames(styles!, !!disabled, !menuHidden, !!checked, !!primaryDisabled);\n\n assign(buttonProps, {\n onClick: undefined,\n onPointerDown: undefined,\n onPointerUp: undefined,\n tabIndex: -1,\n 'data-is-focusable': false,\n });\n\n if (keytipProps && menuProps) {\n keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps);\n }\n\n const containerProps = getNativeProps>(buttonProps, [], ['disabled']);\n\n // Add additional props to apply on primary action button\n if (primaryActionButtonProps) {\n assign(buttonProps, primaryActionButtonProps);\n }\n\n const SplitButton = (keytipAttributes?: any): JSX.Element => (\n \n \n {this._onRenderContent(tag, buttonProps)}\n {this._onRenderSplitButtonMenuButton(classNames, keytipAttributes)}\n {this._onRenderSplitButtonDivider(classNames)}\n \n \n );\n\n return keytipProps ? (\n \n {(keytipAttributes: any): JSX.Element => SplitButton(keytipAttributes)}\n \n ) : (\n SplitButton()\n );\n }\n\n private _onSplitContainerFocusCapture = (ev: React.FocusEvent) => {\n const container = this._splitButtonContainer.current;\n\n // If the target is coming from the portal we do not need to set focus on the container.\n if (!container || (ev.target && portalContainsElement(ev.target, container))) {\n return;\n }\n\n // We should never be able to focus the individual buttons in a split button. Focus\n // should always remain on the container.\n container.focus();\n };\n\n private _onSplitButtonPrimaryClick = (ev: React.MouseEvent) => {\n if (!this.state.menuHidden) {\n this._dismissMenu();\n }\n\n // toggle split buttons need two separate targets, even for touch\n const singleTouchTarget = this._processingTouch && !this.props.toggle;\n\n if (!singleTouchTarget && this.props.onClick) {\n this.props.onClick(ev);\n } else if (singleTouchTarget) {\n this._onMenuClick(ev);\n }\n };\n\n private _onRenderSplitButtonDivider(classNames: ISplitButtonClassNames | undefined): JSX.Element | null {\n if (classNames && classNames.divider) {\n const onClick = (ev: React.MouseEvent) => {\n ev.stopPropagation();\n };\n return ;\n }\n return null;\n }\n\n private _onRenderSplitButtonMenuButton(\n classNames: ISplitButtonClassNames | undefined,\n keytipAttributes: any,\n ): JSX.Element {\n const { allowDisabledFocus, checked, disabled, splitButtonMenuProps, splitButtonAriaLabel, primaryDisabled } =\n this.props;\n const { menuHidden } = this.state;\n let menuIconProps = this.props.menuIconProps;\n\n if (menuIconProps === undefined) {\n menuIconProps = {\n iconName: 'ChevronDown',\n };\n }\n\n const splitButtonProps = {\n ...splitButtonMenuProps,\n styles: classNames,\n checked,\n disabled,\n allowDisabledFocus,\n onClick: this._onMenuClick,\n menuProps: undefined,\n iconProps: { ...menuIconProps, className: this._classNames.menuIcon },\n ariaLabel: splitButtonAriaLabel,\n 'aria-haspopup': true,\n 'aria-expanded': !menuHidden,\n 'data-is-focusable': false,\n };\n\n // Add data-ktp-execute-target to the split button if the keytip is defined\n return (\n \n );\n }\n\n private _onKeyDown = (ev: React.KeyboardEvent) => {\n // explicity cancelling event so click won't fire after this\n // eslint-disable-next-line deprecation/deprecation\n if (this.props.disabled && (ev.which === KeyCodes.enter || ev.which === KeyCodes.space)) {\n ev.preventDefault();\n ev.stopPropagation();\n } else if (!this.props.disabled) {\n if (this.props.menuProps) {\n this._onMenuKeyDown(ev);\n } else if (this.props.onKeyDown !== undefined) {\n this.props.onKeyDown(ev); // not cancelling event because it's not disabled\n }\n }\n };\n\n private _onKeyUp = (\n ev: React.KeyboardEvent,\n ) => {\n if (!this.props.disabled && this.props.onKeyUp !== undefined) {\n this.props.onKeyUp(ev); // not cancelling event because it's not disabled\n }\n };\n\n private _onKeyPress = (\n ev: React.KeyboardEvent,\n ) => {\n // eslint-disable-next-line deprecation/deprecation\n if (!this.props.disabled && this.props.onKeyPress !== undefined) {\n // eslint-disable-next-line deprecation/deprecation\n this.props.onKeyPress(ev); // not cancelling event because it's not disabled\n }\n };\n\n private _onMouseUp = (\n ev: React.MouseEvent,\n ) => {\n if (!this.props.disabled && this.props.onMouseUp !== undefined) {\n this.props.onMouseUp(ev); // not cancelling event because it's not disabled\n }\n };\n\n private _onMouseDown = (\n ev: React.MouseEvent,\n ) => {\n if (!this.props.disabled && this.props.onMouseDown !== undefined) {\n this.props.onMouseDown(ev); // not cancelling event because it's not disabled\n }\n };\n\n private _onClick = (\n ev: React.MouseEvent,\n ) => {\n if (!this.props.disabled) {\n if (this.props.menuProps) {\n this._onMenuClick(ev);\n } else if (this.props.onClick !== undefined) {\n this.props.onClick(ev); // not cancelling event because it's not disabled\n }\n }\n };\n\n private _onSplitButtonContainerKeyDown = (ev: React.KeyboardEvent) => {\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.enter || ev.which === KeyCodes.space) {\n if (this._buttonElement.current) {\n this._buttonElement.current.click();\n ev.preventDefault();\n ev.stopPropagation();\n }\n } else {\n this._onMenuKeyDown(ev);\n }\n };\n\n private _onMenuKeyDown = (ev: React.KeyboardEvent) => {\n if (this.props.disabled) {\n return;\n }\n\n if (this.props.onKeyDown) {\n this.props.onKeyDown(ev);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n const isUp = ev.which === KeyCodes.up;\n // eslint-disable-next-line deprecation/deprecation\n const isDown = ev.which === KeyCodes.down;\n\n if (!ev.defaultPrevented && this._isValidMenuOpenKey(ev)) {\n const { onMenuClick } = this.props;\n if (onMenuClick) {\n onMenuClick(ev, this.props);\n }\n\n this._onToggleMenu(false);\n ev.preventDefault();\n ev.stopPropagation();\n }\n\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.enter || ev.which === KeyCodes.space) {\n // We manually set the focus visibility to true if opening via Enter or Space to account for the scenario where\n // a user clicks on the button, closes the menu and then opens it via keyboard. In this scenario our default logic\n // for setting focus visibility is not triggered since there is no keyboard navigation present beforehand.\n setFocusVisibility(true, ev.target as Element, this.context?.registeredProviders);\n }\n\n if (!(ev.altKey || ev.metaKey) && (isUp || isDown)) {\n // Suppose a menu, with shouldFocusOnMount: false, is open, and user wants to keyboard to the menu items\n // We need to re-render the menu with shouldFocusOnMount as true.\n\n if (!this.state.menuHidden && this.props.menuProps) {\n const currentShouldFocusOnMount =\n this._menuShouldFocusOnMount !== undefined\n ? this._menuShouldFocusOnMount\n : this.props.menuProps.shouldFocusOnMount;\n if (!currentShouldFocusOnMount) {\n ev.preventDefault();\n ev.stopPropagation();\n this._menuShouldFocusOnMount = true;\n this.forceUpdate();\n }\n }\n }\n };\n\n private _onTouchStart: () => void = () => {\n if (\n this._isSplitButton &&\n this._splitButtonContainer.current &&\n !('onpointerdown' in this._splitButtonContainer.current)\n ) {\n this._handleTouchAndPointerEvent();\n }\n };\n\n private _onPointerDown(\n ev: PointerEvent &\n React.PointerEvent,\n ) {\n const { onPointerDown } = this.props;\n if (onPointerDown) {\n onPointerDown(ev);\n }\n\n if (ev.pointerType === 'touch') {\n this._handleTouchAndPointerEvent();\n\n ev.preventDefault();\n ev.stopImmediatePropagation();\n }\n }\n\n private _handleTouchAndPointerEvent() {\n // If we already have an existing timeout from a previous touch and pointer event\n // cancel that timeout so we can set a new one.\n if (this._lastTouchTimeoutId !== undefined) {\n this._async.clearTimeout(this._lastTouchTimeoutId);\n this._lastTouchTimeoutId = undefined;\n }\n this._processingTouch = true;\n\n this._lastTouchTimeoutId = this._async.setTimeout(() => {\n this._processingTouch = false;\n this._lastTouchTimeoutId = undefined;\n\n // Touch and pointer events don't focus the button naturally,\n // so adding an imperative focus call to guarantee this behavior.\n // Only focus the button if a splitbutton menu is not open\n if (this.state.menuHidden) {\n this.focus();\n }\n }, TouchIdleDelay);\n }\n\n /**\n * Returns if the user hits a valid keyboard key to open the menu\n * @param ev - the keyboard event\n * @returns True if user clicks on custom trigger key if enabled or alt + down arrow if not. False otherwise.\n */\n private _isValidMenuOpenKey(\n ev: React.KeyboardEvent,\n ): boolean {\n if (this.props.menuTriggerKeyCode) {\n // eslint-disable-next-line deprecation/deprecation\n return ev.which === this.props.menuTriggerKeyCode;\n } else if (this.props.menuProps) {\n // eslint-disable-next-line deprecation/deprecation\n return ev.which === KeyCodes.down && (ev.altKey || ev.metaKey);\n }\n\n // Note: When enter is pressed, we will let the event continue to propagate\n // to trigger the onClick event on the button\n return false;\n }\n\n private _onMenuClick = (\n ev: React.MouseEvent,\n ) => {\n const { onMenuClick, menuProps } = this.props;\n if (onMenuClick) {\n onMenuClick(ev, this.props);\n }\n\n // focus on the container by default when the menu is opened with a click event\n // this differentiates from a keyboard interaction triggering the click event\n const shouldFocusOnContainer =\n typeof menuProps?.shouldFocusOnContainer === 'boolean'\n ? menuProps.shouldFocusOnContainer\n : (ev.nativeEvent as PointerEvent).pointerType === 'mouse';\n\n if (!ev.defaultPrevented) {\n this._onToggleMenu(shouldFocusOnContainer);\n ev.preventDefault();\n ev.stopPropagation();\n }\n };\n}\n","import { memoizeFunction } from '../../Utilities';\nimport { HighContrastSelector, getFocusStyle, hiddenContentStyle } from '../../Styling';\nimport type { IButtonStyles } from './Button.types';\nimport type { ITheme, IRawStyle } from '../../Styling';\n\nconst noOutline: IRawStyle = {\n outline: 0,\n};\n\nconst iconStyle = (fontSize?: string | number): IRawStyle => {\n return {\n fontSize,\n margin: '0 4px',\n height: '16px',\n lineHeight: '16px',\n textAlign: 'center',\n flexShrink: 0,\n };\n};\n\n/**\n * Gets the base button styles. Note: because it is a base class to be used with the `mergeRules`\n * helper, it should have values for all class names in the interface. This let `mergeRules` optimize\n * mixing class names together.\n */\nexport const getStyles = memoizeFunction((theme: ITheme): IButtonStyles => {\n const { semanticColors, effects, fonts } = theme;\n\n const border = semanticColors.buttonBorder;\n const disabledBackground = semanticColors.disabledBackground;\n const disabledText = semanticColors.disabledText;\n const buttonHighContrastFocus = {\n left: -2,\n top: -2,\n bottom: -2,\n right: -2,\n outlineColor: 'ButtonText',\n };\n\n return {\n root: [\n getFocusStyle(theme, { inset: 1, highContrastStyle: buttonHighContrastFocus, borderColor: 'transparent' }),\n theme.fonts.medium,\n {\n border: '1px solid ' + border,\n borderRadius: effects.roundedCorner2,\n boxSizing: 'border-box',\n cursor: 'pointer',\n display: 'inline-block',\n padding: '0 16px',\n textDecoration: 'none',\n textAlign: 'center',\n userSelect: 'none',\n\n selectors: {\n // IE11 workaround for preventing shift of child elements of a button when active.\n ':active > span': {\n position: 'relative',\n left: 0,\n top: 0,\n },\n },\n },\n ],\n\n rootDisabled: [\n getFocusStyle(theme, { inset: 1, highContrastStyle: buttonHighContrastFocus, borderColor: 'transparent' }),\n {\n backgroundColor: disabledBackground,\n borderColor: disabledBackground,\n color: disabledText,\n cursor: 'default',\n selectors: {\n ':hover': noOutline,\n ':focus': noOutline,\n },\n },\n ],\n\n iconDisabled: {\n color: disabledText,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n },\n\n menuIconDisabled: {\n color: disabledText,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n },\n\n flexContainer: {\n display: 'flex',\n height: '100%',\n flexWrap: 'nowrap',\n justifyContent: 'center',\n alignItems: 'center',\n },\n description: {\n display: 'block',\n },\n\n textContainer: {\n flexGrow: 1,\n display: 'block',\n },\n\n icon: iconStyle(fonts.mediumPlus.fontSize),\n\n menuIcon: iconStyle(fonts.small.fontSize),\n\n label: {\n margin: '0 4px',\n lineHeight: '100%',\n display: 'block',\n },\n\n screenReaderText: hiddenContentStyle,\n };\n});\n","import { HighContrastSelector, getHighContrastNoAdjustStyle } from '../../Styling';\nimport { IsFocusVisibleClassName } from '../../Utilities';\nimport type { IButtonStyles } from './Button.types';\nimport type { ITheme, IRawStyle } from '../../Styling';\n\nconst splitButtonDividerBaseStyles = (): IRawStyle => {\n return {\n position: 'absolute',\n width: 1,\n right: 31,\n top: 8,\n bottom: 8,\n };\n};\n\nexport function standardStyles(theme: ITheme): IButtonStyles {\n const { semanticColors: s, palette: p } = theme;\n\n const buttonBackground = s.buttonBackground;\n const buttonBackgroundPressed = s.buttonBackgroundPressed;\n const buttonBackgroundHovered = s.buttonBackgroundHovered;\n const buttonBackgroundDisabled = s.buttonBackgroundDisabled;\n\n const buttonText = s.buttonText;\n const buttonTextHovered = s.buttonTextHovered;\n const buttonTextDisabled = s.buttonTextDisabled;\n const buttonTextChecked = s.buttonTextChecked;\n const buttonTextCheckedHovered = s.buttonTextCheckedHovered;\n\n return {\n root: {\n backgroundColor: buttonBackground,\n color: buttonText,\n },\n\n rootHovered: {\n backgroundColor: buttonBackgroundHovered,\n color: buttonTextHovered,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n color: 'Highlight',\n },\n },\n },\n\n rootPressed: {\n backgroundColor: buttonBackgroundPressed,\n color: buttonTextChecked,\n },\n\n rootExpanded: {\n backgroundColor: buttonBackgroundPressed,\n color: buttonTextChecked,\n },\n\n rootChecked: {\n backgroundColor: buttonBackgroundPressed,\n color: buttonTextChecked,\n },\n\n rootCheckedHovered: {\n backgroundColor: buttonBackgroundPressed,\n color: buttonTextCheckedHovered,\n },\n\n rootDisabled: {\n color: buttonTextDisabled,\n backgroundColor: buttonBackgroundDisabled,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n borderColor: 'GrayText',\n backgroundColor: 'Window',\n },\n },\n },\n\n // Split button styles\n splitButtonContainer: {\n selectors: {\n [HighContrastSelector]: {\n border: 'none',\n },\n },\n },\n\n splitButtonMenuButton: {\n color: p.white,\n backgroundColor: 'transparent',\n selectors: {\n ':hover': {\n backgroundColor: p.neutralLight,\n selectors: {\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n },\n },\n },\n },\n\n splitButtonMenuButtonDisabled: {\n backgroundColor: s.buttonBackgroundDisabled,\n selectors: {\n ':hover': {\n backgroundColor: s.buttonBackgroundDisabled,\n },\n },\n },\n\n splitButtonDivider: {\n ...splitButtonDividerBaseStyles(),\n backgroundColor: p.neutralTertiaryAlt,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n },\n },\n },\n\n splitButtonDividerDisabled: {\n backgroundColor: theme.palette.neutralTertiaryAlt,\n },\n\n splitButtonMenuButtonChecked: {\n backgroundColor: p.neutralQuaternaryAlt,\n selectors: {\n ':hover': {\n backgroundColor: p.neutralQuaternaryAlt,\n },\n },\n },\n\n splitButtonMenuButtonExpanded: {\n backgroundColor: p.neutralQuaternaryAlt,\n selectors: {\n ':hover': {\n backgroundColor: p.neutralQuaternaryAlt,\n },\n },\n },\n\n splitButtonMenuIcon: {\n color: s.buttonText,\n },\n\n splitButtonMenuIconDisabled: {\n color: s.buttonTextDisabled,\n },\n };\n}\n\nexport function primaryStyles(theme: ITheme): IButtonStyles {\n const { palette: p, semanticColors: s } = theme;\n\n return {\n root: {\n backgroundColor: s.primaryButtonBackground,\n border: `1px solid ${s.primaryButtonBackground}`,\n color: s.primaryButtonText,\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'WindowText',\n borderColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n [`.${IsFocusVisibleClassName} &:focus`]: {\n selectors: {\n ':after': {\n border: `none`,\n outlineColor: p.white,\n },\n },\n },\n },\n },\n\n rootHovered: {\n backgroundColor: s.primaryButtonBackgroundHovered,\n border: `1px solid ${s.primaryButtonBackgroundHovered}`,\n color: s.primaryButtonTextHovered,\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'Highlight',\n borderColor: 'Highlight',\n },\n },\n },\n\n rootPressed: {\n backgroundColor: s.primaryButtonBackgroundPressed,\n border: `1px solid ${s.primaryButtonBackgroundPressed}`,\n color: s.primaryButtonTextPressed,\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'WindowText',\n borderColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n\n rootExpanded: {\n backgroundColor: s.primaryButtonBackgroundPressed,\n color: s.primaryButtonTextPressed,\n },\n\n rootChecked: {\n backgroundColor: s.primaryButtonBackgroundPressed,\n color: s.primaryButtonTextPressed,\n },\n\n rootCheckedHovered: {\n backgroundColor: s.primaryButtonBackgroundPressed,\n color: s.primaryButtonTextPressed,\n },\n\n rootDisabled: {\n color: s.primaryButtonTextDisabled,\n backgroundColor: s.primaryButtonBackgroundDisabled,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n borderColor: 'GrayText',\n backgroundColor: 'Window',\n },\n },\n },\n\n // Split button styles\n splitButtonContainer: {\n selectors: {\n [HighContrastSelector]: {\n border: 'none',\n },\n },\n },\n\n splitButtonDivider: {\n ...splitButtonDividerBaseStyles(),\n backgroundColor: p.white,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Window',\n },\n },\n },\n\n splitButtonMenuButton: {\n backgroundColor: s.primaryButtonBackground,\n color: s.primaryButtonText,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Canvas',\n },\n ':hover': {\n backgroundColor: s.primaryButtonBackgroundHovered,\n selectors: {\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n },\n },\n },\n },\n\n splitButtonMenuButtonDisabled: {\n backgroundColor: s.primaryButtonBackgroundDisabled,\n selectors: {\n ':hover': {\n backgroundColor: s.primaryButtonBackgroundDisabled,\n },\n },\n },\n\n splitButtonMenuButtonChecked: {\n backgroundColor: s.primaryButtonBackgroundPressed,\n selectors: {\n ':hover': {\n backgroundColor: s.primaryButtonBackgroundPressed,\n },\n },\n },\n\n splitButtonMenuButtonExpanded: {\n backgroundColor: s.primaryButtonBackgroundPressed,\n selectors: {\n ':hover': {\n backgroundColor: s.primaryButtonBackgroundPressed,\n },\n },\n },\n\n splitButtonMenuIcon: {\n color: s.primaryButtonText,\n },\n\n splitButtonMenuIconDisabled: {\n color: p.neutralTertiary,\n\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n },\n };\n}\n","import { concatStyleSets, getFocusStyle, HighContrastSelector, getHighContrastNoAdjustStyle } from '../../../Styling';\nimport { memoizeFunction } from '../../../Utilities';\nimport { getStyles as getBaseButtonStyles } from '../BaseButton.styles';\nimport { getStyles as getSplitButtonStyles } from '../SplitButton/SplitButton.styles';\nimport { ButtonGlobalClassNames } from '../BaseButton.classNames';\nimport type { IButtonStyles } from '../Button.types';\nimport type { ITheme } from '../../../Styling';\n\nexport const getStyles = memoizeFunction(\n (theme: ITheme, customStyles?: IButtonStyles, focusInset?: string, focusColor?: string): IButtonStyles => {\n const baseButtonStyles: IButtonStyles = getBaseButtonStyles(theme);\n const baseSplitButtonStyles: IButtonStyles = getSplitButtonStyles(theme);\n\n const { palette: p, semanticColors } = theme;\n\n const commandButtonHighContrastFocus = {\n left: 4,\n top: 4,\n bottom: 4,\n right: 4,\n border: 'none',\n };\n\n const commandButtonStyles: IButtonStyles = {\n root: [\n getFocusStyle(theme, {\n inset: 2,\n highContrastStyle: commandButtonHighContrastFocus,\n borderColor: 'transparent',\n }),\n theme.fonts.medium,\n {\n minWidth: '40px',\n backgroundColor: p.white,\n color: p.neutralPrimary,\n padding: '0 4px',\n border: 'none',\n borderRadius: 0,\n selectors: {\n [HighContrastSelector]: {\n border: 'none',\n },\n },\n },\n ],\n\n rootHovered: {\n backgroundColor: p.neutralLighter,\n color: p.neutralDark,\n selectors: {\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: p.themeDarkAlt,\n },\n [`.${ButtonGlobalClassNames.msButtonMenuIcon}`]: {\n color: p.neutralPrimary,\n },\n },\n },\n\n rootPressed: {\n backgroundColor: p.neutralLight,\n color: p.neutralDark,\n selectors: {\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: p.themeDark,\n },\n [`.${ButtonGlobalClassNames.msButtonMenuIcon}`]: {\n color: p.neutralPrimary,\n },\n },\n },\n\n rootChecked: {\n backgroundColor: p.neutralLight,\n color: p.neutralDark,\n selectors: {\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: p.themeDark,\n },\n [`.${ButtonGlobalClassNames.msButtonMenuIcon}`]: {\n color: p.neutralPrimary,\n },\n },\n },\n\n rootCheckedHovered: {\n backgroundColor: p.neutralQuaternaryAlt,\n selectors: {\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: p.themeDark,\n },\n [`.${ButtonGlobalClassNames.msButtonMenuIcon}`]: {\n color: p.neutralPrimary,\n },\n },\n },\n\n rootExpanded: {\n backgroundColor: p.neutralLight,\n color: p.neutralDark,\n selectors: {\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: p.themeDark,\n },\n [`.${ButtonGlobalClassNames.msButtonMenuIcon}`]: {\n color: p.neutralPrimary,\n },\n },\n },\n\n rootExpandedHovered: {\n backgroundColor: p.neutralQuaternaryAlt,\n },\n\n rootDisabled: {\n backgroundColor: p.white,\n selectors: {\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: semanticColors.disabledBodySubtext,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n [HighContrastSelector]: {\n color: 'GrayText',\n backgroundColor: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n\n // Split button styles\n splitButtonContainer: {\n height: '100%',\n selectors: {\n [HighContrastSelector]: {\n border: 'none',\n },\n },\n },\n\n splitButtonDividerDisabled: {\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Window',\n },\n },\n },\n\n splitButtonDivider: {\n backgroundColor: p.neutralTertiaryAlt,\n },\n\n splitButtonMenuButton: {\n backgroundColor: p.white,\n border: 'none',\n borderTopRightRadius: '0',\n borderBottomRightRadius: '0',\n color: p.neutralSecondary,\n selectors: {\n ':hover': {\n backgroundColor: p.neutralLighter,\n color: p.neutralDark,\n selectors: {\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: p.neutralPrimary,\n },\n },\n },\n ':active': {\n backgroundColor: p.neutralLight,\n selectors: {\n [`.${ButtonGlobalClassNames.msButtonIcon}`]: {\n color: p.neutralPrimary,\n },\n },\n },\n },\n },\n\n splitButtonMenuButtonDisabled: {\n backgroundColor: p.white,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n border: 'none',\n backgroundColor: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n\n splitButtonMenuButtonChecked: {\n backgroundColor: p.neutralLight,\n color: p.neutralDark,\n selectors: {\n ':hover': {\n backgroundColor: p.neutralQuaternaryAlt,\n },\n },\n },\n\n splitButtonMenuButtonExpanded: {\n backgroundColor: p.neutralLight,\n color: p.black,\n selectors: {\n ':hover': {\n backgroundColor: p.neutralQuaternaryAlt,\n },\n },\n },\n\n splitButtonMenuIcon: {\n color: p.neutralPrimary,\n },\n\n splitButtonMenuIconDisabled: {\n color: p.neutralTertiary,\n },\n\n label: {\n fontWeight: 'normal', // theme.fontWeights.semibold,\n },\n\n icon: {\n color: p.themePrimary,\n },\n\n menuIcon: {\n color: p.neutralSecondary,\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n };\n\n return concatStyleSets(baseButtonStyles, baseSplitButtonStyles, commandButtonStyles, customStyles)!;\n },\n);\n","import * as React from 'react';\nimport { BaseButton } from '../BaseButton';\nimport { customizable, nullRender } from '../../../Utilities';\nimport { getStyles } from './CommandBarButton.styles';\nimport type { IButtonProps } from '../Button.types';\n\n/**\n * {@docCategory Button}\n */\n@customizable('CommandBarButton', ['theme', 'styles'], true)\nexport class CommandBarButton extends React.Component {\n public render(): JSX.Element {\n const { styles, theme } = this.props;\n\n return (\n \n );\n }\n}\n","import { ActionButton } from '../ActionButton/ActionButton';\n\n/**\n * {@docCategory Button}\n */\nexport const CommandButton = ActionButton;\n","import { concatStyleSets, FontWeights, HighContrastSelector, getHighContrastNoAdjustStyle } from '../../../Styling';\nimport { memoizeFunction } from '../../../Utilities';\nimport { getStyles as getBaseButtonStyles } from '../BaseButton.styles';\nimport { getStyles as getSplitButtonStyles } from '../SplitButton/SplitButton.styles';\nimport { primaryStyles, standardStyles } from '../ButtonThemes';\nimport type { IButtonStyles } from '../Button.types';\nimport type { ITheme } from '../../../Styling';\n\nexport const getStyles = memoizeFunction(\n (theme: ITheme, customStyles?: IButtonStyles, primary?: boolean): IButtonStyles => {\n const { fonts, palette } = theme;\n\n const baseButtonStyles: IButtonStyles = getBaseButtonStyles(theme);\n const splitButtonStyles: IButtonStyles = getSplitButtonStyles(theme);\n const compoundButtonStyles: IButtonStyles = {\n root: {\n maxWidth: '280px',\n minHeight: '72px',\n height: 'auto',\n padding: '16px 12px',\n },\n\n flexContainer: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n minWidth: '100%',\n margin: '',\n },\n\n textContainer: {\n textAlign: 'left',\n },\n\n icon: {\n fontSize: '2em',\n lineHeight: '1em',\n height: '1em',\n margin: '0px 8px 0px 0px',\n flexBasis: '1em',\n flexShrink: '0',\n },\n\n label: {\n margin: '0 0 5px',\n lineHeight: '100%',\n fontWeight: FontWeights.semibold,\n },\n description: [\n fonts.small,\n {\n lineHeight: '100%',\n },\n ],\n };\n\n const standardCompoundTheme: IButtonStyles = {\n description: {\n color: palette.neutralSecondary,\n },\n\n descriptionHovered: {\n color: palette.neutralDark,\n },\n\n descriptionPressed: {\n color: 'inherit',\n },\n\n descriptionChecked: {\n color: 'inherit',\n },\n\n descriptionDisabled: {\n color: 'inherit',\n },\n };\n\n const primaryCompoundTheme: IButtonStyles = {\n description: {\n color: palette.white,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n color: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n\n descriptionHovered: {\n color: palette.white,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Highlight',\n color: 'Window',\n },\n },\n },\n\n descriptionPressed: {\n color: 'inherit',\n\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n\n descriptionChecked: {\n color: 'inherit',\n\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n\n descriptionDisabled: {\n color: 'inherit',\n selectors: {\n [HighContrastSelector]: {\n color: 'inherit',\n },\n },\n },\n };\n\n return concatStyleSets(\n baseButtonStyles,\n compoundButtonStyles,\n primary ? primaryStyles(theme) : standardStyles(theme),\n primary ? primaryCompoundTheme : standardCompoundTheme,\n splitButtonStyles,\n customStyles,\n )!;\n },\n);\n","import * as React from 'react';\nimport { BaseButton } from '../BaseButton';\nimport { customizable } from '../../../Utilities';\nimport { getStyles } from './CompoundButton.styles';\nimport type { IButtonProps } from '../Button.types';\n\n/**\n * {@docCategory Button}\n */\n@customizable('CompoundButton', ['theme', 'styles'], true)\nexport class CompoundButton extends React.Component {\n public render(): JSX.Element {\n const { primary = false, styles, theme } = this.props;\n return (\n \n );\n }\n}\n","import { concatStyleSets, FontWeights } from '../../../Styling';\nimport { memoizeFunction } from '../../../Utilities';\nimport { getStyles as getBaseButtonStyles } from '../BaseButton.styles';\nimport { getStyles as getSplitButtonStyles } from '../SplitButton/SplitButton.styles';\n\nimport { primaryStyles, standardStyles } from '../ButtonThemes';\nimport type { IButtonStyles } from '../Button.types';\nimport type { ITheme } from '../../../Styling';\n\nconst DEFAULT_BUTTON_HEIGHT = '32px';\nconst DEFAULT_BUTTON_MIN_WIDTH = '80px';\n\nexport const getStyles = memoizeFunction(\n (theme: ITheme, customStyles?: IButtonStyles, primary?: boolean): IButtonStyles => {\n const baseButtonStyles: IButtonStyles = getBaseButtonStyles(theme);\n const splitButtonStyles: IButtonStyles = getSplitButtonStyles(theme);\n const defaultButtonStyles: IButtonStyles = {\n root: {\n minWidth: DEFAULT_BUTTON_MIN_WIDTH,\n height: DEFAULT_BUTTON_HEIGHT,\n },\n label: {\n fontWeight: FontWeights.semibold,\n },\n };\n\n return concatStyleSets(\n baseButtonStyles,\n defaultButtonStyles,\n primary ? primaryStyles(theme) : standardStyles(theme),\n splitButtonStyles,\n customStyles,\n )!;\n },\n);\n","import * as React from 'react';\nimport { BaseButton } from '../BaseButton';\nimport { customizable, nullRender } from '../../../Utilities';\nimport { getStyles } from './DefaultButton.styles';\nimport type { IButtonProps } from '../Button.types';\n\n/**\n * {@docCategory Button}\n */\n@customizable('DefaultButton', ['theme', 'styles'], true)\nexport class DefaultButton extends React.Component {\n public render(): JSX.Element {\n const { primary = false, styles, theme } = this.props;\n\n return (\n \n );\n }\n}\n","import { concatStyleSets, HighContrastSelector } from '../../../Styling';\nimport { memoizeFunction } from '../../../Utilities';\nimport { getStyles as getBaseButtonStyles } from '../BaseButton.styles';\nimport { getStyles as getSplitButtonStyles } from '../SplitButton/SplitButton.styles';\nimport type { IButtonStyles } from '../Button.types';\nimport type { ITheme } from '../../../Styling';\n\nexport const getStyles = memoizeFunction((theme: ITheme, customStyles?: IButtonStyles): IButtonStyles => {\n const baseButtonStyles: IButtonStyles = getBaseButtonStyles(theme);\n const splitButtonStyles: IButtonStyles = getSplitButtonStyles(theme);\n const { palette, semanticColors } = theme;\n const iconButtonStyles: IButtonStyles = {\n root: {\n padding: '0 4px',\n width: '32px',\n height: '32px',\n backgroundColor: 'transparent',\n border: 'none',\n color: semanticColors.link,\n },\n\n rootHovered: {\n color: palette.themeDarkAlt,\n backgroundColor: palette.neutralLighter,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n color: 'Highlight',\n },\n },\n },\n\n rootHasMenu: {\n width: 'auto',\n },\n\n rootPressed: {\n color: palette.themeDark,\n backgroundColor: palette.neutralLight,\n },\n\n rootExpanded: {\n color: palette.themeDark,\n backgroundColor: palette.neutralLight,\n },\n\n rootChecked: {\n color: palette.themeDark,\n backgroundColor: palette.neutralLight,\n },\n\n rootCheckedHovered: {\n color: palette.themeDark,\n backgroundColor: palette.neutralQuaternaryAlt,\n },\n\n rootDisabled: {\n color: palette.neutralTertiaryAlt,\n },\n };\n\n return concatStyleSets(baseButtonStyles, iconButtonStyles, splitButtonStyles, customStyles)!;\n});\n","import * as React from 'react';\nimport { BaseButton } from '../BaseButton';\nimport { customizable, nullRender } from '../../../Utilities';\nimport { getStyles } from './IconButton.styles';\nimport type { IButtonProps } from '../Button.types';\n\n/**\n * {@docCategory Button}\n */\n@customizable('IconButton', ['theme', 'styles'], true)\nexport class IconButton extends React.Component {\n public render(): JSX.Element {\n const { styles, theme } = this.props;\n\n return (\n \n );\n }\n}\n","import * as React from 'react';\nimport { customizable, nullRender } from '../../../Utilities';\nimport { DefaultButton } from '../DefaultButton/DefaultButton';\nimport type { IButtonProps } from '../Button.types';\n\n/**\n * {@docCategory Button}\n */\n@customizable('PrimaryButton', ['theme', 'styles'], true)\nexport class PrimaryButton extends React.Component {\n public render(): JSX.Element {\n return ;\n }\n}\n","import { HighContrastSelector, concatStyleSets, getFocusStyle, getHighContrastNoAdjustStyle } from '../../../Styling';\nimport { memoizeFunction } from '../../../Utilities';\nimport type { IButtonStyles } from '../Button.types';\nimport type { ITheme, IStyle } from '../../../Styling';\n\nexport const getStyles = memoizeFunction((theme: ITheme, customStyles?: IButtonStyles): IButtonStyles => {\n const { effects, palette, semanticColors } = theme;\n\n const buttonHighContrastFocus = {\n left: -2,\n top: -2,\n bottom: -2,\n right: -2,\n border: 'none',\n };\n\n const splitButtonDividerBaseStyles: IStyle = {\n position: 'absolute',\n width: 1,\n right: 31,\n top: 8,\n bottom: 8,\n };\n\n const splitButtonStyles: IButtonStyles = {\n splitButtonContainer: [\n getFocusStyle(theme, { highContrastStyle: buttonHighContrastFocus, inset: 2, pointerEvents: 'none' }),\n {\n display: 'inline-flex',\n selectors: {\n '.ms-Button--default': {\n borderTopRightRadius: '0',\n borderBottomRightRadius: '0',\n borderRight: 'none',\n flexGrow: '1',\n },\n '.ms-Button--primary': {\n borderTopRightRadius: '0',\n borderBottomRightRadius: '0',\n border: 'none',\n flexGrow: '1',\n\n selectors: {\n [HighContrastSelector]: {\n color: 'WindowText',\n backgroundColor: 'Window',\n border: '1px solid WindowText',\n borderRightWidth: '0',\n ...getHighContrastNoAdjustStyle(),\n },\n ':hover': {\n border: 'none',\n },\n ':active': {\n border: 'none',\n },\n },\n },\n '.ms-Button--primary + .ms-Button': {\n border: 'none',\n selectors: {\n [HighContrastSelector]: {\n border: '1px solid WindowText',\n borderLeftWidth: '0',\n },\n },\n },\n },\n },\n ],\n splitButtonContainerHovered: {\n selectors: {\n '.ms-Button--primary': {\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'Highlight',\n },\n },\n },\n '.ms-Button.is-disabled': {\n color: semanticColors.buttonTextDisabled,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n borderColor: 'GrayText',\n backgroundColor: 'Window',\n },\n },\n },\n },\n },\n splitButtonContainerChecked: {\n selectors: {\n '.ms-Button--primary': {\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n },\n },\n splitButtonContainerCheckedHovered: {\n selectors: {\n '.ms-Button--primary': {\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n backgroundColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n },\n },\n splitButtonContainerFocused: {\n outline: 'none!important',\n },\n splitButtonMenuButton: {\n padding: 6,\n height: 'auto',\n boxSizing: 'border-box',\n borderRadius: 0,\n borderTopRightRadius: effects.roundedCorner2,\n borderBottomRightRadius: effects.roundedCorner2,\n border: `1px solid ${palette.neutralSecondaryAlt}`,\n borderLeft: 'none',\n outline: 'transparent',\n userSelect: 'none',\n display: 'inline-block',\n textDecoration: 'none',\n textAlign: 'center',\n cursor: 'pointer',\n verticalAlign: 'top',\n width: 32,\n marginLeft: -1,\n marginTop: 0,\n marginRight: 0,\n marginBottom: 0,\n [HighContrastSelector]: {\n '.ms-Button-menuIcon': {\n color: 'WindowText',\n },\n },\n },\n splitButtonDivider: {\n ...splitButtonDividerBaseStyles,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n },\n },\n },\n splitButtonDividerDisabled: {\n ...splitButtonDividerBaseStyles,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'GrayText',\n },\n },\n },\n splitButtonMenuButtonDisabled: {\n pointerEvents: 'none',\n border: 'none',\n selectors: {\n ':hover': {\n cursor: 'default',\n },\n\n '.ms-Button--primary': {\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n borderColor: 'GrayText',\n backgroundColor: 'Window',\n },\n },\n },\n '.ms-Button-menuIcon': {\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n },\n [HighContrastSelector]: {\n color: 'GrayText',\n border: '1px solid GrayText',\n backgroundColor: 'Window',\n },\n },\n },\n\n splitButtonFlexContainer: {\n display: 'flex',\n height: '100%',\n flexWrap: 'nowrap',\n justifyContent: 'center',\n alignItems: 'center',\n },\n\n splitButtonContainerDisabled: {\n outline: 'none',\n border: 'none',\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n borderColor: 'GrayText',\n backgroundColor: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n splitButtonMenuFocused: {\n ...getFocusStyle(theme, { highContrastStyle: buttonHighContrastFocus, inset: 2 }),\n },\n };\n\n return concatStyleSets(splitButtonStyles, customStyles)!;\n});\n","import { IDateGridStrings, IDateFormatting, ICalendarStrings } from './dateFormatting.types';\n\n/**\n * Format date to a day string representation\n * @param date - input date to format\n */\nexport const formatDay = (date: Date) => date.getDate().toString();\n\n/**\n * Format date to a month-day-year string\n * @param date - input date to format\n * @param strings - localized strings\n */\nexport const formatMonthDayYear = (date: Date, strings: IDateGridStrings) =>\n strings.months[date.getMonth()] + ' ' + date.getDate() + ', ' + date.getFullYear();\n\n/**\n * Format date to a month-year string\n * @param date - input date to format\n * @param strings - localized strings\n */\nexport const formatMonthYear = (date: Date, strings: IDateGridStrings) =>\n strings.months[date.getMonth()] + ' ' + date.getFullYear();\n\n/**\n * Format date to a month string\n * @param date - input date to format\n * @param strings - localized strings\n */\nexport const formatMonth = (date: Date, strings: IDateGridStrings) => strings.months[date.getMonth()];\n\n/**\n * Format date to a year string representation\n * @param date - input date to format\n */\nexport const formatYear = (date: Date) => date.getFullYear().toString();\n\nexport const DEFAULT_DATE_GRID_STRINGS: IDateGridStrings = {\n months: [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ],\n shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n shortDays: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n};\n\nexport const DEFAULT_DATE_FORMATTING: IDateFormatting = {\n formatDay,\n formatMonth,\n formatYear,\n formatMonthDayYear,\n formatMonthYear,\n};\n\nexport const DEFAULT_CALENDAR_STRINGS: ICalendarStrings = {\n ...DEFAULT_DATE_GRID_STRINGS,\n\n goToToday: 'Go to today',\n weekNumberFormatString: 'Week number {0}',\n prevMonthAriaLabel: 'Previous month',\n nextMonthAriaLabel: 'Next month',\n prevYearAriaLabel: 'Previous year',\n nextYearAriaLabel: 'Next year',\n prevYearRangeAriaLabel: 'Previous year range',\n nextYearRangeAriaLabel: 'Next year range',\n closeButtonAriaLabel: 'Close',\n selectedDateFormatString: 'Selected date {0}',\n todayDateFormatString: \"Today's date {0}\",\n monthPickerHeaderAriaLabel: '{0}, change year',\n yearPickerHeaderAriaLabel: '{0}, change month',\n dayMarkedAriaLabel: 'marked',\n};\n","export const TimeConstants = {\n MillisecondsInOneDay: 86400000,\n MillisecondsIn1Sec: 1000,\n MillisecondsIn1Min: 60000,\n MillisecondsIn30Mins: 1800000,\n MillisecondsIn1Hour: 3600000,\n MinutesInOneDay: 1440,\n MinutesInOneHour: 60,\n DaysInOneWeek: 7,\n MonthInOneYear: 12,\n HoursInOneDay: 24,\n SecondsInOneMinute: 60,\n OffsetTo24HourFormat: 12,\n /**\n * Matches a time string. Groups:\n * 1. hours (with or without leading 0)\n * 2. minutes\n * 3. seconds (optional)\n * 4. meridiem (am/pm, case-insensitive, optional)\n */\n TimeFormatRegex: /^(\\d\\d?):(\\d\\d):?(\\d\\d)? ?([ap]m)?/i,\n};\n","import { DayOfWeek, MonthOfYear, FirstWeekOfYear, DateRangeType } from '../dateValues/dateValues';\nimport { TimeConstants } from '../dateValues/timeConstants';\n\n/**\n * Returns a date offset from the given date by the specified number of days.\n * @param date - The origin date\n * @param days - The number of days to offset. 'days' can be negative.\n * @returns A new Date object offset from the origin date by the given number of days\n */\nexport function addDays(date: Date, days: number): Date {\n const result = new Date(date.getTime());\n result.setDate(result.getDate() + days);\n return result;\n}\n\n/**\n * Returns a date offset from the given date by the specified number of weeks.\n * @param date - The origin date\n * @param weeks - The number of weeks to offset. 'weeks' can be negative.\n * @returns A new Date object offset from the origin date by the given number of weeks\n */\nexport function addWeeks(date: Date, weeks: number): Date {\n return addDays(date, weeks * TimeConstants.DaysInOneWeek);\n}\n\n/**\n * Returns a date offset from the given date by the specified number of months.\n * The method tries to preserve the day-of-month; however, if the new month does not have enough days\n * to contain the original day-of-month, we'll use the last day of the new month.\n * @param date - The origin date\n * @param months - The number of months to offset. 'months' can be negative.\n * @returns A new Date object offset from the origin date by the given number of months\n */\nexport function addMonths(date: Date, months: number): Date {\n let result = new Date(date.getTime());\n const newMonth = result.getMonth() + months;\n result.setMonth(newMonth);\n\n // We want to maintain the same day-of-month, but that may not be possible if the new month doesn't have enough days.\n // Loop until we back up to a day the new month has.\n // (Weird modulo math is due to Javascript's treatment of negative numbers in modulo)\n if (\n result.getMonth() !==\n ((newMonth % TimeConstants.MonthInOneYear) + TimeConstants.MonthInOneYear) % TimeConstants.MonthInOneYear\n ) {\n result = addDays(result, -result.getDate());\n }\n return result;\n}\n\n/**\n * Returns a date offset from the given date by the specified number of years.\n * The method tries to preserve the day-of-month; however, if the new month does not have enough days\n * to contain the original day-of-month, we'll use the last day of the new month.\n * @param date - The origin date\n * @param years - The number of years to offset. 'years' can be negative.\n * @returns A new Date object offset from the origin date by the given number of years\n */\nexport function addYears(date: Date, years: number): Date {\n let result = new Date(date.getTime());\n result.setFullYear(date.getFullYear() + years);\n\n // We want to maintain the same day-of-month, but that may not be possible if the new month doesn't have enough days.\n // Loop until we back up to a day the new month has.\n // (Weird modulo math is due to Javascript's treatment of negative numbers in modulo)\n if (\n result.getMonth() !==\n ((date.getMonth() % TimeConstants.MonthInOneYear) + TimeConstants.MonthInOneYear) % TimeConstants.MonthInOneYear\n ) {\n result = addDays(result, -result.getDate());\n }\n return result;\n}\n\n/**\n * Returns a date that is the first day of the month of the provided date.\n * @param date - The origin date\n * @returns A new Date object with the day set to the first day of the month.\n */\nexport function getMonthStart(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth(), 1, 0, 0, 0, 0);\n}\n\n/**\n * Returns a date that is the last day of the month of the provided date.\n * @param date - The origin date\n * @returns A new Date object with the day set to the last day of the month.\n */\nexport function getMonthEnd(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth() + 1, 0, 0, 0, 0, 0);\n}\n\n/**\n * Returns a date that is the first day of the year of the provided date.\n * @param date - The origin date\n * @returns A new Date object with the day set to the first day of the year.\n */\nexport function getYearStart(date: Date): Date {\n return new Date(date.getFullYear(), 0, 1, 0, 0, 0, 0);\n}\n\n/**\n * Returns a date that is the last day of the year of the provided date.\n * @param date - The origin date\n * @returns A new Date object with the day set to the last day of the year.\n */\nexport function getYearEnd(date: Date): Date {\n return new Date(date.getFullYear() + 1, 0, 0, 0, 0, 0, 0);\n}\n\n/**\n * Returns a date that is a copy of the given date, aside from the month changing to the given month.\n * The method tries to preserve the day-of-month; however, if the new month does not have enough days\n * to contain the original day-of-month, we'll use the last day of the new month.\n * @param date - The origin date\n * @param month - The 0-based index of the month to set on the date.\n * @returns A new Date object with the given month set.\n */\nexport function setMonth(date: Date, month: number): Date {\n return addMonths(date, month - date.getMonth());\n}\n\n/**\n * Compares two dates, and returns true if the two dates (not accounting for time-of-day) are equal.\n * @returns True if the two dates represent the same date (regardless of time-of-day), false otherwise.\n */\nexport function compareDates(date1: Date, date2: Date): boolean {\n if (!date1 && !date2) {\n return true;\n } else if (!date1 || !date2) {\n return false;\n } else {\n return (\n date1.getFullYear() === date2.getFullYear() &&\n date1.getMonth() === date2.getMonth() &&\n date1.getDate() === date2.getDate()\n );\n }\n}\n\n/**\n * Compare the date parts of two dates\n * @param date1 - The first date to compare\n * @param date2 - The second date to compare\n * @returns A negative value if date1 is earlier than date2, 0 if the dates are equal, or a positive value\n * if date1 is later than date2.\n */\nexport function compareDatePart(date1: Date, date2: Date): Number {\n return getDatePartHashValue(date1) - getDatePartHashValue(date2);\n}\n\n/**\n * Gets the date range array including the specified date. The date range array is calculated as the list\n * of dates accounting for the specified first day of the week and date range type.\n * @param date - The input date\n * @param dateRangeType - The desired date range type, i.e., day, week, month, etc.\n * @param firstDayOfWeek - The first day of the week.\n * @param workWeekDays - The allowed days in work week. If not provided, assumes all days are allowed.\n * @param daysToSelectInDayView - The number of days to include when using dateRangeType === DateRangeType.Day\n * for multiday view. Defaults to 1\n * @returns An array of dates representing the date range containing the specified date.\n */\nexport function getDateRangeArray(\n date: Date,\n dateRangeType: DateRangeType,\n firstDayOfWeek: DayOfWeek,\n workWeekDays?: DayOfWeek[],\n daysToSelectInDayView: number = 1,\n): Date[] {\n const datesArray: Date[] = [];\n let startDate: Date;\n let endDate = null;\n\n if (!workWeekDays) {\n workWeekDays = [DayOfWeek.Monday, DayOfWeek.Tuesday, DayOfWeek.Wednesday, DayOfWeek.Thursday, DayOfWeek.Friday];\n }\n\n daysToSelectInDayView = Math.max(daysToSelectInDayView, 1);\n\n switch (dateRangeType) {\n case DateRangeType.Day:\n startDate = getDatePart(date);\n endDate = addDays(startDate, daysToSelectInDayView);\n break;\n\n case DateRangeType.Week:\n case DateRangeType.WorkWeek:\n startDate = getStartDateOfWeek(getDatePart(date), firstDayOfWeek);\n endDate = addDays(startDate, TimeConstants.DaysInOneWeek);\n break;\n\n case DateRangeType.Month:\n startDate = new Date(date.getFullYear(), date.getMonth(), 1);\n endDate = addMonths(startDate, 1);\n break;\n\n default:\n throw new Error('Unexpected object: ' + dateRangeType);\n }\n\n // Populate the dates array with the dates in range\n let nextDate = startDate;\n\n do {\n if (dateRangeType !== DateRangeType.WorkWeek) {\n // push all days not in work week view\n datesArray.push(nextDate);\n } else if (workWeekDays.indexOf(nextDate.getDay()) !== -1) {\n datesArray.push(nextDate);\n }\n nextDate = addDays(nextDate, 1);\n } while (!compareDates(nextDate, endDate));\n\n return datesArray;\n}\n\n/**\n * Checks whether the specified date is in the given date range.\n * @param date - The origin date\n * @param dateRange - An array of dates to do the lookup on\n * @returns True if the date matches one of the dates in the specified array, false otherwise.\n */\nexport function isInDateRangeArray(date: Date, dateRange: Date[]): boolean {\n for (const dateInRange of dateRange) {\n if (compareDates(date, dateInRange)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Returns the week number for a date.\n * Week numbers are 1 - 52 (53) in a year\n * @param navigatedDate - A date to find the week number for.\n * @param firstDayOfWeek - The first day of the week (0-6, Sunday = 0)\n * @param firstWeekOfYear - The first week of the year (1-2)\n * @returns The weeks number array for the current month.\n */\nexport function getWeekNumbersInMonth(\n weeksInMonth: number,\n firstDayOfWeek: DayOfWeek,\n firstWeekOfYear: FirstWeekOfYear,\n navigatedDate: Date,\n): number[] {\n const selectedYear = navigatedDate.getFullYear();\n const selectedMonth = navigatedDate.getMonth();\n let dayOfMonth = 1;\n const fistDayOfMonth = new Date(selectedYear, selectedMonth, dayOfMonth);\n const endOfFirstWeek =\n dayOfMonth +\n (firstDayOfWeek + TimeConstants.DaysInOneWeek - 1) -\n adjustWeekDay(firstDayOfWeek, fistDayOfMonth.getDay());\n let endOfWeekRange = new Date(selectedYear, selectedMonth, endOfFirstWeek);\n dayOfMonth = endOfWeekRange.getDate();\n\n const weeksArray = [];\n for (let i = 0; i < weeksInMonth; i++) {\n // Get week number for end of week\n weeksArray.push(getWeekNumber(endOfWeekRange, firstDayOfWeek, firstWeekOfYear));\n dayOfMonth += TimeConstants.DaysInOneWeek;\n endOfWeekRange = new Date(selectedYear, selectedMonth, dayOfMonth);\n }\n return weeksArray;\n}\n\n/**\n * Returns the week number for a date.\n * Week numbers are 1 - 52 (53) in a year\n * @param date - A date to find the week number for.\n * @param firstDayOfWeek - The first day of the week (0-6, Sunday = 0)\n * @param firstWeekOfYear - The first week of the year (1-2)\n * @returns The week's number in the year.\n */\nexport function getWeekNumber(date: Date, firstDayOfWeek: DayOfWeek, firstWeekOfYear: FirstWeekOfYear): number {\n // First four-day week of the year - minumum days count\n const fourDayWeek = 4;\n\n switch (firstWeekOfYear) {\n case FirstWeekOfYear.FirstFullWeek:\n return getWeekOfYearFullDays(date, firstDayOfWeek, TimeConstants.DaysInOneWeek);\n\n case FirstWeekOfYear.FirstFourDayWeek:\n return getWeekOfYearFullDays(date, firstDayOfWeek, fourDayWeek);\n\n default:\n return getFirstDayWeekOfYear(date, firstDayOfWeek);\n }\n}\n\n/**\n * Gets the date for the first day of the week based on the given date assuming\n * the specified first day of the week.\n * @param date - The date to find the beginning of the week date for.\n * @returns A new date object representing the first day of the week containing the input date.\n */\nexport function getStartDateOfWeek(date: Date, firstDayOfWeek: DayOfWeek): Date {\n let daysOffset = firstDayOfWeek - date.getDay();\n if (daysOffset > 0) {\n // If first day of week is > date, go 1 week back, to ensure resulting date is in the past.\n daysOffset -= TimeConstants.DaysInOneWeek;\n }\n return addDays(date, daysOffset);\n}\n\n/**\n * Gets the date for the last day of the week based on the given date assuming\n * the specified first day of the week.\n * @param date - The date to find the beginning of the week date for.\n * @returns A new date object representing the first day of the week containing the input date.\n */\nexport function getEndDateOfWeek(date: Date, firstDayOfWeek: DayOfWeek): Date {\n const lastDayOfWeek = firstDayOfWeek - 1 >= 0 ? firstDayOfWeek - 1 : TimeConstants.DaysInOneWeek - 1;\n let daysOffset = lastDayOfWeek - date.getDay();\n if (daysOffset < 0) {\n // If last day of week is < date, go 1 week forward, to ensure resulting date is in the future.\n daysOffset += TimeConstants.DaysInOneWeek;\n }\n return addDays(date, daysOffset);\n}\n\n/**\n * Gets a new date with the time portion zeroed out, i.e., set to midnight\n * @param date - The origin date\n * @returns A new date with the time set to midnight\n */\nfunction getDatePart(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate());\n}\n\n/**\n * Helper function to assist in date comparisons\n */\nexport function getDatePartHashValue(date: Date): number {\n // Generate date hash value created as sum of Date (up to 31 = 5 bits), Month (up to 11 = 4 bits) and Year.\n // eslint-disable-next-line no-bitwise\n return date.getDate() + (date.getMonth() << 5) + (date.getFullYear() << 9);\n}\n\n/**\n * Helper function for `getWeekNumber`.\n * Returns week number for a date.\n * @param date - current selected date.\n * @param firstDayOfWeek - The first day of week (0-6, Sunday = 0)\n * @param numberOfFullDays - week settings.\n * @returns The week's number in the year.\n */\nfunction getWeekOfYearFullDays(date: Date, firstDayOfWeek: DayOfWeek, numberOfFullDays: number): number {\n const dayOfYear = getDayOfYear(date) - 1;\n let num = date.getDay() - (dayOfYear % TimeConstants.DaysInOneWeek);\n\n const lastDayOfPrevYear = new Date(date.getFullYear() - 1, MonthOfYear.December, 31);\n const daysInYear = getDayOfYear(lastDayOfPrevYear) - 1;\n\n let num2 = (firstDayOfWeek - num + 2 * TimeConstants.DaysInOneWeek) % TimeConstants.DaysInOneWeek;\n if (num2 !== 0 && num2 >= numberOfFullDays) {\n num2 -= TimeConstants.DaysInOneWeek;\n }\n\n let num3 = dayOfYear - num2;\n if (num3 < 0) {\n num -= daysInYear % TimeConstants.DaysInOneWeek;\n num2 = (firstDayOfWeek - num + 2 * TimeConstants.DaysInOneWeek) % TimeConstants.DaysInOneWeek;\n if (num2 !== 0 && num2 + 1 >= numberOfFullDays) {\n num2 -= TimeConstants.DaysInOneWeek;\n }\n\n num3 = daysInYear - num2;\n }\n\n return Math.floor(num3 / TimeConstants.DaysInOneWeek + 1);\n}\n\n/**\n * Helper function for `getWeekNumber`.\n * Returns week number for a date.\n * @param date - current selected date.\n * @param firstDayOfWeek - The first day of week (0-6, Sunday = 0)\n * @returns The week's number in the year.\n */\nfunction getFirstDayWeekOfYear(date: Date, firstDayOfWeek: number): number {\n const num = getDayOfYear(date) - 1;\n const num2 = date.getDay() - (num % TimeConstants.DaysInOneWeek);\n const num3 = (num2 - firstDayOfWeek + 2 * TimeConstants.DaysInOneWeek) % TimeConstants.DaysInOneWeek;\n\n return Math.floor((num + num3) / TimeConstants.DaysInOneWeek + 1);\n}\n\n/**\n * Helper function for `getWeekNumber`.\n * Returns adjusted week day number when `firstDayOfWeek` is other than Sunday.\n * For Week Day Number comparison checks\n * @param firstDayOfWeek - The first day of week (0-6, Sunday = 0)\n * @param dateWeekDay - shifts number forward to 1 week in case passed as true\n * @returns The day of week adjusted to `firstDayOfWeek`; e.g. when `firstDayOfWeek` is Monday (1),\n * Sunday becomes 7.\n */\nfunction adjustWeekDay(firstDayOfWeek: DayOfWeek, dateWeekDay: DayOfWeek): number {\n return firstDayOfWeek !== DayOfWeek.Sunday && dateWeekDay < firstDayOfWeek\n ? dateWeekDay + TimeConstants.DaysInOneWeek\n : dateWeekDay;\n}\n\n/**\n * Returns the day number for a date in a year:\n * the number of days since January 1st in the particular year.\n * @param date - A date to find the day number for.\n * @returns The day's number in the year.\n */\nfunction getDayOfYear(date: Date): number {\n const month = date.getMonth();\n const year = date.getFullYear();\n let daysUntilDate = 0;\n\n for (let i = 0; i < month; i++) {\n daysUntilDate += daysInMonth(i + 1, year);\n }\n\n daysUntilDate += date.getDate();\n\n return daysUntilDate;\n}\n\n/**\n * Returns the number of days in the month\n * @param month - The month number to target (months 1-12).\n * @param year - The year to target.\n * @returns The number of days in the month.\n */\nfunction daysInMonth(month: number, year: number): number {\n return new Date(year, month, 0).getDate();\n}\n","// Regex that finds { and } so they can be removed on a lookup for string format\nconst FORMAT_ARGS_REGEX = /[\\{\\}]/g;\n\n// Regex that finds {#} so it can be replaced by the arguments in string format\nconst FORMAT_REGEX = /\\{\\d+\\}/g;\n\n/**\n * String format method, used for scenarios where at runtime you\n * need to evaluate a formatted string given a tokenized string. This\n * usually only is needed in localization scenarios.\n\n * @example\n * ```tsx\n * \"I love {0} every {1}\".format(\"CXP\")\n * ```\n * will result in a Debug Exception.\n *\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function format(s: string, ...values: any[]): string {\n let args = values;\n // Callback match function\n function replaceFunc(match: string): string {\n // looks up in the args\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let replacement = args[match.replace(FORMAT_ARGS_REGEX, '') as any];\n\n // catches undefined in nondebug and null in debug and nondebug\n if (replacement === null || replacement === undefined) {\n replacement = '';\n }\n\n return replacement;\n }\n return s.replace(FORMAT_REGEX, replaceFunc);\n}\n","import { DateRangeType, DayOfWeek } from '../dateValues/dateValues';\nimport { isContiguous } from './isContiguous';\n/**\n * Return corrected date range type, given `dateRangeType` and list of working days.\n * For non-contiguous working days and working week range type, returns general week range type.\n * For other cases returns input date range type.\n * @param dateRangeType - input type of range\n * @param workWeekDays - list of working days in a week\n */\nexport const getDateRangeTypeToUse = (\n dateRangeType: DateRangeType,\n workWeekDays: DayOfWeek[] | undefined,\n firstDayOfWeek: DayOfWeek,\n): DateRangeType => {\n if (workWeekDays && dateRangeType === DateRangeType.WorkWeek) {\n if (!isContiguous(workWeekDays, true, firstDayOfWeek) || workWeekDays.length === 0) {\n return DateRangeType.Week;\n }\n }\n\n return dateRangeType;\n};\n","import { DayOfWeek } from '../dateValues/dateValues';\n\n/**\n * Returns whether provided week days are contiguous.\n * @param days - list of days in a week\n * @param isSingleWeek - decides whether the contiguous logic applies across week boundaries or not\n * @param firstDayOfWeek - decides which day of week is the first one in the order.\n */\nexport const isContiguous = (days: DayOfWeek[], isSingleWeek: boolean, firstDayOfWeek: DayOfWeek): boolean => {\n const daySet = new Set(days);\n let amountOfNoNeighbors = 0;\n for (const day of days) {\n const nextDay = (day + 1) % 7;\n if (!(daySet.has(nextDay) && (!isSingleWeek || firstDayOfWeek !== nextDay))) {\n amountOfNoNeighbors++;\n }\n }\n\n // In case the full week is provided, then each day has a neighbor\n //, otherwise the last day does not have a neighbor.\n return amountOfNoNeighbors < 2;\n};\n","import { compareDatePart } from '../dateMath/dateMath';\n\n/**\n * Generates a list of dates, bounded by min and max dates\n * @param dateRange - input date range\n * @param minDate - min date to limit the range\n * @param maxDate - max date to limit the range\n */\nexport const getBoundedDateRange = (dateRange: Date[], minDate?: Date, maxDate?: Date): Date[] => {\n let boundedDateRange = [...dateRange];\n if (minDate) {\n boundedDateRange = boundedDateRange.filter((date: Date) => compareDatePart(date, minDate as Date) >= 0);\n }\n if (maxDate) {\n boundedDateRange = boundedDateRange.filter((date: Date) => compareDatePart(date, maxDate as Date) <= 0);\n }\n return boundedDateRange;\n};\n","import { IRestrictedDatesOptions } from './dateGrid.types';\nimport { compareDatePart } from '../dateMath/dateMath';\n\n/**\n * Checks if `date` happens earlier than min date\n * @param date - date to check\n * @param options - object with min date to check against\n */\nexport const isBeforeMinDate = (date: Date, options: IRestrictedDatesOptions): boolean => {\n const { minDate } = options;\n return minDate ? compareDatePart(minDate, date) >= 1 : false;\n};\n","import { IRestrictedDatesOptions } from './dateGrid.types';\nimport { compareDatePart } from '../dateMath/dateMath';\n\n/**\n * Checks if `date` happens later than max date\n * @param date - date to check\n * @param options - object with max date to check against\n */\nexport const isAfterMaxDate = (date: Date, options: IRestrictedDatesOptions): boolean => {\n const { maxDate } = options;\n return maxDate ? compareDatePart(date, maxDate) >= 1 : false;\n};\n","import { IRestrictedDatesOptions } from './dateGrid.types';\nimport { compareDates } from '../dateMath/dateMath';\nimport { isBeforeMinDate } from './isBeforeMinDate';\nimport { isAfterMaxDate } from './isAfterMaxDate';\n\n/**\n * Checks if `date` falls into the restricted `options`\n * @param date - date to check\n * @param options - restriction options (min date, max date and list of restricted dates)\n */\nexport const isRestrictedDate = (date: Date, options: IRestrictedDatesOptions): boolean => {\n const { restrictedDates, minDate, maxDate } = options;\n if (!restrictedDates && !minDate && !maxDate) {\n return false;\n }\n const inRestrictedDates = restrictedDates && restrictedDates.some((rd: Date) => compareDates(rd, date));\n return inRestrictedDates || isBeforeMinDate(date, options) || isAfterMaxDate(date, options);\n};\n","import * as React from 'react';\nimport { css, findIndex } from '@fluentui/utilities';\nimport { DAYS_IN_WEEK } from '@fluentui/date-time-utilities';\nimport type { ICalendarDayGridProps, ICalendarDayGridStyles } from './CalendarDayGrid.types';\nimport type { IProcessedStyleSet } from '@fluentui/style-utilities';\nimport type { IDayInfo } from './CalendarDayGrid.base';\n\nexport interface ICalendarDayMonthHeaderRowProps extends ICalendarDayGridProps {\n weeks: IDayInfo[][];\n classNames: IProcessedStyleSet;\n}\n\nexport const CalendarMonthHeaderRow: React.FunctionComponent = props => {\n const { showWeekNumbers, strings, firstDayOfWeek, allFocusable, weeksToShow, weeks, classNames } = props;\n const dayLabels = strings.shortDays.slice();\n const firstOfMonthIndex = findIndex(weeks![1], (day: IDayInfo) => day.originalDate.getDate() === 1);\n if (weeksToShow === 1 && firstOfMonthIndex >= 0) {\n // if we only show one week, replace the header with short month name\n const firstOfMonthIndexOffset = (firstOfMonthIndex + firstDayOfWeek) % DAYS_IN_WEEK;\n dayLabels[firstOfMonthIndexOffset] = strings.shortMonths[weeks![1][firstOfMonthIndex].originalDate.getMonth()];\n }\n\n return (\n \n {showWeekNumbers && }\n {dayLabels.map((val: string, index: number) => {\n const i = (index + firstDayOfWeek) % DAYS_IN_WEEK;\n const label = strings.days[i];\n return (\n \n {dayLabels[i]}\n \n );\n })}\n \n );\n};\n","import { IAvailableDateOptions } from './dateGrid.types';\n\nimport { isRestrictedDate } from './isRestrictedDate';\n\nimport { isAfterMaxDate } from './isAfterMaxDate';\n\nimport { isBeforeMinDate } from './isBeforeMinDate';\nimport { compareDatePart, addDays } from '../dateMath/dateMath';\n\n/**\n * Returns closest available date given the restriction `options`, or undefined otherwise\n * @param options - list of search options\n */\nexport const findAvailableDate = (options: IAvailableDateOptions): Date | undefined => {\n const { targetDate, initialDate, direction, ...restrictedDateOptions } = options;\n let availableDate = targetDate;\n // if the target date is available, return it immediately\n if (!isRestrictedDate(targetDate, restrictedDateOptions)) {\n return targetDate;\n }\n\n while (\n compareDatePart(initialDate, availableDate) !== 0 &&\n isRestrictedDate(availableDate, restrictedDateOptions) &&\n !isAfterMaxDate(availableDate, restrictedDateOptions) &&\n !isBeforeMinDate(availableDate, restrictedDateOptions)\n ) {\n availableDate = addDays(availableDate, direction);\n }\n\n if (compareDatePart(initialDate, availableDate) !== 0 && !isRestrictedDate(availableDate, restrictedDateOptions)) {\n return availableDate;\n }\n\n return undefined;\n};\n","import * as React from 'react';\nimport { KeyCodes, css, getRTLSafeKeyCode } from '@fluentui/utilities';\nimport { addDays, addWeeks, compareDates, findAvailableDate, DateRangeType } from '@fluentui/date-time-utilities';\nimport type { IAvailableDateOptions } from '@fluentui/date-time-utilities';\nimport type { IDayInfo } from './CalendarDayGrid.base';\nimport type { ICalendarGridRowProps } from './CalendarGridRow';\n\nexport interface ICalendarGridDayCellProps extends ICalendarGridRowProps {\n day: IDayInfo;\n dayIndex: number;\n}\n\nexport const CalendarGridDayCell: React.FunctionComponent = props => {\n const {\n navigatedDate,\n dateTimeFormatter,\n allFocusable,\n strings,\n activeDescendantId,\n navigatedDayRef,\n calculateRoundedStyles,\n weeks,\n classNames,\n day,\n dayIndex,\n weekIndex,\n weekCorners,\n ariaHidden,\n customDayCellRef,\n dateRangeType,\n daysToSelectInDayView,\n onSelectDate,\n restrictedDates,\n minDate,\n maxDate,\n onNavigateDate,\n getDayInfosInRangeOfDay,\n getRefsFromDayInfos,\n } = props;\n const cornerStyle = weekCorners?.[weekIndex + '_' + dayIndex] ?? '';\n const isNavigatedDate = compareDates(navigatedDate, day.originalDate);\n\n const navigateMonthEdge = (ev: React.KeyboardEvent, date: Date): void => {\n let targetDate: Date | undefined = undefined;\n let direction = 1; // by default search forward\n\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.up) {\n targetDate = addWeeks(date, -1);\n direction = -1;\n // eslint-disable-next-line deprecation/deprecation\n } else if (ev.which === KeyCodes.down) {\n targetDate = addWeeks(date, 1);\n // eslint-disable-next-line deprecation/deprecation\n } else if (ev.which === getRTLSafeKeyCode(KeyCodes.left)) {\n targetDate = addDays(date, -1);\n direction = -1;\n // eslint-disable-next-line deprecation/deprecation\n } else if (ev.which === getRTLSafeKeyCode(KeyCodes.right)) {\n targetDate = addDays(date, 1);\n }\n\n if (!targetDate) {\n // if we couldn't find a target date at all, do nothing\n return;\n }\n\n const findAvailableDateOptions: IAvailableDateOptions = {\n initialDate: date,\n targetDate,\n direction,\n restrictedDates,\n minDate,\n maxDate,\n };\n\n // target date is restricted, search in whatever direction until finding the next possible date,\n // stopping at boundaries\n let nextDate = findAvailableDate(findAvailableDateOptions);\n\n if (!nextDate) {\n // if no dates available in initial direction, try going backwards\n findAvailableDateOptions.direction = -direction;\n nextDate = findAvailableDate(findAvailableDateOptions);\n }\n\n // if the nextDate is still inside the same focusZone area, let the focusZone handle setting the focus so we\n // don't jump the view unnecessarily\n const isInCurrentView =\n weeks &&\n nextDate &&\n weeks.slice(1, weeks.length - 1).some((week: IDayInfo[]) => {\n return week.some((dayToCompare: IDayInfo) => {\n return compareDates(dayToCompare.originalDate, nextDate!);\n });\n });\n if (isInCurrentView) {\n return;\n }\n\n // else, fire navigation on the date to change the view to show it\n if (nextDate) {\n onNavigateDate(nextDate, true);\n ev.preventDefault();\n }\n };\n\n const onMouseOverDay = (ev: React.MouseEvent) => {\n const dayInfos = getDayInfosInRangeOfDay(day);\n const dayRefs = getRefsFromDayInfos(dayInfos);\n\n dayRefs.forEach((dayRef: HTMLElement, index: number) => {\n if (dayRef) {\n dayRef.classList.add('ms-CalendarDay-hoverStyle');\n if (\n !dayInfos[index].isSelected &&\n dateRangeType === DateRangeType.Day &&\n daysToSelectInDayView &&\n daysToSelectInDayView > 1\n ) {\n // remove the static classes first to overwrite them\n dayRef.classList.remove(\n classNames.bottomLeftCornerDate!,\n classNames.bottomRightCornerDate!,\n classNames.topLeftCornerDate!,\n classNames.topRightCornerDate!,\n );\n\n const classNamesToAdd = calculateRoundedStyles(\n classNames,\n false,\n false,\n index > 0,\n index < dayRefs.length - 1,\n ).trim();\n if (classNamesToAdd) {\n dayRef.classList.add(...classNamesToAdd.split(' '));\n }\n }\n }\n });\n };\n\n const onMouseDownDay = (ev: React.MouseEvent) => {\n const dayInfos = getDayInfosInRangeOfDay(day);\n const dayRefs = getRefsFromDayInfos(dayInfos);\n\n dayRefs.forEach((dayRef: HTMLElement) => {\n if (dayRef) {\n dayRef.classList.add('ms-CalendarDay-pressedStyle');\n }\n });\n };\n\n const onMouseUpDay = (ev: React.MouseEvent) => {\n const dayInfos = getDayInfosInRangeOfDay(day);\n const dayRefs = getRefsFromDayInfos(dayInfos);\n\n dayRefs.forEach((dayRef: HTMLElement) => {\n if (dayRef) {\n dayRef.classList.remove('ms-CalendarDay-pressedStyle');\n }\n });\n };\n\n const onMouseOutDay = (ev: React.MouseEvent) => {\n const dayInfos = getDayInfosInRangeOfDay(day);\n const dayRefs = getRefsFromDayInfos(dayInfos);\n\n dayRefs.forEach((dayRef: HTMLElement, index: number) => {\n if (dayRef) {\n dayRef.classList.remove('ms-CalendarDay-hoverStyle');\n dayRef.classList.remove('ms-CalendarDay-pressedStyle');\n if (\n !dayInfos[index].isSelected &&\n dateRangeType === DateRangeType.Day &&\n daysToSelectInDayView &&\n daysToSelectInDayView > 1\n ) {\n const classNamesToAdd = calculateRoundedStyles(\n classNames,\n false,\n false,\n index > 0,\n index < dayRefs.length - 1,\n ).trim();\n if (classNamesToAdd) {\n dayRef.classList.remove(...classNamesToAdd.split(' '));\n }\n }\n }\n });\n };\n\n const onDayKeyDown = (ev: React.KeyboardEvent): void => {\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.enter) {\n onSelectDate?.(day.originalDate);\n } else {\n navigateMonthEdge(ev, day.originalDate);\n }\n };\n\n let ariaLabel =\n day.originalDate.getDate() +\n ', ' +\n strings.months[day.originalDate.getMonth()] +\n ', ' +\n day.originalDate.getFullYear();\n\n if (day.isMarked) {\n ariaLabel = ariaLabel + ', ' + strings.dayMarkedAriaLabel;\n }\n\n return (\n {\n customDayCellRef?.(element, day.originalDate, classNames);\n day.setRef(element);\n isNavigatedDate && (navigatedDayRef.current = element);\n }}\n aria-hidden={ariaHidden}\n aria-disabled={!ariaHidden && !day.isInBounds}\n onClick={day.isInBounds && !ariaHidden ? day.onSelected : undefined}\n onMouseOver={!ariaHidden ? onMouseOverDay : undefined}\n onMouseDown={!ariaHidden ? onMouseDownDay : undefined}\n onMouseUp={!ariaHidden ? onMouseUpDay : undefined}\n onMouseOut={!ariaHidden ? onMouseOutDay : undefined}\n onKeyDown={!ariaHidden ? onDayKeyDown : undefined}\n role=\"gridcell\"\n tabIndex={isNavigatedDate ? 0 : undefined}\n aria-current={day.isToday ? 'date' : undefined}\n aria-selected={day.isInBounds ? day.isSelected : undefined}\n data-is-focusable={!ariaHidden && (allFocusable || (day.isInBounds ? true : undefined))}\n >\n \n {dateTimeFormatter.formatDay(day.originalDate)}\n {day.isMarked &&
    }\n \n \n );\n};\n","import * as React from 'react';\nimport { format } from '@fluentui/utilities';\nimport { getWeekNumbersInMonth } from '@fluentui/date-time-utilities';\nimport { CalendarGridDayCell } from './CalendarGridDayCell';\nimport type { ICalendarDayGridProps, ICalendarDayGridStyles } from './CalendarDayGrid.types';\nimport type { IProcessedStyleSet } from '@fluentui/style-utilities';\nimport type { IDayInfo, IWeekCorners } from './CalendarDayGrid.base';\n\nexport interface ICalendarGridRowProps extends ICalendarDayGridProps {\n classNames: IProcessedStyleSet;\n weeks: IDayInfo[][];\n week: IDayInfo[];\n weekIndex: number;\n weekCorners?: IWeekCorners;\n ariaHidden?: boolean;\n rowClassName?: string;\n ariaRole?: string;\n navigatedDayRef: React.MutableRefObject;\n activeDescendantId: string;\n calculateRoundedStyles(\n classNames: IProcessedStyleSet,\n above: boolean,\n below: boolean,\n left: boolean,\n right: boolean,\n ): string;\n getDayInfosInRangeOfDay(dayToCompare: IDayInfo): IDayInfo[];\n getRefsFromDayInfos(dayInfosInRange: IDayInfo[]): (HTMLElement | null)[];\n}\n\nexport const CalendarGridRow: React.FunctionComponent = props => {\n const {\n classNames,\n week,\n weeks,\n weekIndex,\n rowClassName,\n ariaRole,\n showWeekNumbers,\n firstDayOfWeek,\n firstWeekOfYear,\n navigatedDate,\n strings,\n } = props;\n const weekNumbers = showWeekNumbers\n ? getWeekNumbersInMonth(weeks!.length, firstDayOfWeek, firstWeekOfYear, navigatedDate)\n : null;\n\n const titleString = weekNumbers\n ? strings.weekNumberFormatString && format(strings.weekNumberFormatString, weekNumbers[weekIndex])\n : '';\n\n return (\n \n {showWeekNumbers && weekNumbers && (\n \n {weekNumbers[weekIndex]}\n \n )}\n {week.map((day: IDayInfo, dayIndex: number) => (\n \n ))}\n \n );\n};\n","import * as React from 'react';\nimport { getRTL, classNamesFunction } from '@fluentui/utilities';\nimport { FocusZone } from '../../FocusZone';\nimport {\n getDateRangeArray,\n getDayGrid,\n getBoundedDateRange,\n isRestrictedDate,\n DAYS_IN_WEEK,\n compareDates,\n DateRangeType,\n DayOfWeek,\n} from '@fluentui/date-time-utilities';\nimport { usePrevious, useId } from '@fluentui/react-hooks';\nimport { CalendarMonthHeaderRow } from './CalendarMonthHeaderRow';\nimport { CalendarGridRow } from './CalendarGridRow';\nimport type { IDay } from '@fluentui/date-time-utilities';\nimport type {\n ICalendarDayGridProps,\n ICalendarDayGridStyleProps,\n ICalendarDayGridStyles,\n} from './CalendarDayGrid.types';\nimport type { IProcessedStyleSet } from '@fluentui/style-utilities';\n\nconst getClassNames = classNamesFunction();\n\nexport interface IWeekCorners {\n [key: string]: string;\n}\n\nexport interface IDayInfo extends IDay {\n onSelected: () => void;\n setRef(element: HTMLElement | null): void;\n}\n\nfunction useDayRefs() {\n const daysRef = React.useRef>({});\n\n const getSetRefCallback = (dayKey: string) => (element: HTMLElement | null) => {\n if (element === null) {\n delete daysRef.current[dayKey];\n } else {\n daysRef.current[dayKey] = element;\n }\n };\n\n return [daysRef, getSetRefCallback] as const;\n}\n\nfunction useWeeks(\n props: ICalendarDayGridProps,\n onSelectDate: (date: Date) => void,\n getSetRefCallback: (dayKey: string) => (element: HTMLElement | null) => void,\n): IDayInfo[][] {\n /**\n * Initial parsing of the given props to generate IDayInfo two dimensional array, which contains a representation\n * of every day in the grid. Convenient for helping with conversions between day refs and Date objects in callbacks.\n */\n const weeks = React.useMemo((): IDayInfo[][] => {\n const weeksGrid = getDayGrid(props);\n\n const firstVisibleDay = weeksGrid[1][0].originalDate;\n const lastVisibleDay = weeksGrid[weeksGrid.length - 1][6].originalDate;\n const markedDays = props.getMarkedDays?.(firstVisibleDay, lastVisibleDay) || [];\n\n /**\n * Weeks is a 2D array. Weeks[0] contains the last week of the prior range,\n * Weeks[weeks.length - 1] contains first week of next range. These are for transition states.\n *\n * Weeks[1... weeks.length - 2] contains the actual visible data\n */\n const returnValue: IDayInfo[][] = [];\n\n for (let weekIndex = 0; weekIndex < weeksGrid.length; weekIndex++) {\n const week: IDayInfo[] = [];\n for (let dayIndex = 0; dayIndex < DAYS_IN_WEEK; dayIndex++) {\n const day = weeksGrid[weekIndex][dayIndex];\n const dayInfo: IDayInfo = {\n onSelected: () => onSelectDate(day.originalDate),\n setRef: getSetRefCallback(day.key),\n ...day,\n isMarked: day.isMarked || markedDays?.some(markedDay => compareDates(day.originalDate, markedDay)),\n };\n\n week.push(dayInfo);\n }\n returnValue.push(week);\n }\n\n return returnValue;\n // TODO: this is missing deps on getSetRefCallback and onSelectDate (and depending on the entire\n // props object may not be a good idea due to likely frequent mutation). It would be easy to\n // fix getSetRefCallback to not mutate every render, but onSelectDate is passed down from\n // Calendar and trying to fix it requires a huge cascade of changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [props]);\n\n return weeks;\n}\n\n/**\n * Hook to determine whether to animate the CalendarDayGrid forwards or backwards\n * @returns true if the grid should animate backwards; false otherwise\n */\nfunction useAnimateBackwards(weeks: IDayInfo[][]): boolean | undefined {\n const previousNavigatedDate = usePrevious(weeks[0][0].originalDate);\n\n if (!previousNavigatedDate || previousNavigatedDate.getTime() === weeks[0][0].originalDate.getTime()) {\n return undefined;\n } else if (previousNavigatedDate <= weeks[0][0].originalDate) {\n return false;\n } else {\n return true;\n }\n}\n\nfunction useWeekCornerStyles(props: ICalendarDayGridProps) {\n /**\n *\n * Section for setting the rounded corner styles on individual day cells. Individual day cells need different\n * corners to be rounded depending on which date range type and where the cell is located in the current grid.\n * If we just round all of the corners, there isn't a good overlap and we get gaps between contiguous day boxes\n * in Edge browser.\n *\n */\n const getWeekCornerStyles = (\n classNames: IProcessedStyleSet,\n initialWeeks: IDayInfo[][],\n ): IWeekCorners => {\n const weekCornersStyled: { [key: string]: string } = {};\n /* need to handle setting all of the corners on arbitrarily shaped blobs\n __\n __|A |\n |B |C |__\n |D |E |F |\n\n in this case, A needs top left rounded, top right rounded\n B needs top left rounded\n C doesn't need any rounding\n D needs bottom left rounded\n E doesn't need any rounding\n F needs top right rounding\n */\n\n // cut off the animation transition weeks\n const weeks = initialWeeks.slice(1, initialWeeks.length - 1);\n\n // if there's an item above, lose both top corners. Item below, lose both bottom corners, etc.\n weeks.forEach((week: IDayInfo[], weekIndex: number) => {\n week.forEach((day: IDayInfo, dayIndex: number) => {\n const above =\n weeks[weekIndex - 1] &&\n weeks[weekIndex - 1][dayIndex] &&\n isInSameHoverRange(\n weeks[weekIndex - 1][dayIndex].originalDate,\n day.originalDate,\n weeks[weekIndex - 1][dayIndex].isSelected,\n day.isSelected,\n );\n const below =\n weeks[weekIndex + 1] &&\n weeks[weekIndex + 1][dayIndex] &&\n isInSameHoverRange(\n weeks[weekIndex + 1][dayIndex].originalDate,\n day.originalDate,\n weeks[weekIndex + 1][dayIndex].isSelected,\n day.isSelected,\n );\n const left =\n weeks[weekIndex][dayIndex - 1] &&\n isInSameHoverRange(\n weeks[weekIndex][dayIndex - 1].originalDate,\n day.originalDate,\n weeks[weekIndex][dayIndex - 1].isSelected,\n day.isSelected,\n );\n const right =\n weeks[weekIndex][dayIndex + 1] &&\n isInSameHoverRange(\n weeks[weekIndex][dayIndex + 1].originalDate,\n day.originalDate,\n weeks[weekIndex][dayIndex + 1].isSelected,\n day.isSelected,\n );\n\n const style = [];\n style.push(calculateRoundedStyles(classNames, above, below, left, right));\n style.push(calculateBorderStyles(classNames, above, below, left, right));\n\n weekCornersStyled[weekIndex + '_' + dayIndex] = style.join(' ');\n });\n });\n\n return weekCornersStyled;\n };\n\n const calculateRoundedStyles = (\n classNames: IProcessedStyleSet,\n above: boolean,\n below: boolean,\n left: boolean,\n right: boolean,\n ): string => {\n const style = [];\n const roundedTopLeft = !above && !left;\n const roundedTopRight = !above && !right;\n const roundedBottomLeft = !below && !left;\n const roundedBottomRight = !below && !right;\n\n if (roundedTopLeft) {\n style.push(getRTL() ? classNames.topRightCornerDate : classNames.topLeftCornerDate);\n }\n if (roundedTopRight) {\n style.push(getRTL() ? classNames.topLeftCornerDate : classNames.topRightCornerDate);\n }\n if (roundedBottomLeft) {\n style.push(getRTL() ? classNames.bottomRightCornerDate : classNames.bottomLeftCornerDate);\n }\n if (roundedBottomRight) {\n style.push(getRTL() ? classNames.bottomLeftCornerDate : classNames.bottomRightCornerDate);\n }\n\n return style.join(' ');\n };\n\n const calculateBorderStyles = (\n classNames: IProcessedStyleSet,\n above: boolean,\n below: boolean,\n left: boolean,\n right: boolean,\n ): string => {\n const style = [];\n\n if (!above) {\n style.push(classNames.datesAbove);\n }\n if (!below) {\n style.push(classNames.datesBelow);\n }\n if (!left) {\n style.push(getRTL() ? classNames.datesRight : classNames.datesLeft);\n }\n if (!right) {\n style.push(getRTL() ? classNames.datesLeft : classNames.datesRight);\n }\n\n return style.join(' ');\n };\n\n const isInSameHoverRange = (date1: Date, date2: Date, date1Selected: boolean, date2Selected: boolean): boolean => {\n const { dateRangeType, firstDayOfWeek, workWeekDays } = props;\n\n // The hover state looks weird with non-contiguous days in work week view. In work week, show week hover state\n const dateRangeHoverType = dateRangeType === DateRangeType.WorkWeek ? DateRangeType.Week : dateRangeType;\n\n // we do not pass daysToSelectInDayView because we handle setting those styles dyanamically in onMouseOver\n const dateRange = getDateRangeArray(date1, dateRangeHoverType, firstDayOfWeek, workWeekDays);\n\n if (date1Selected !== date2Selected) {\n // if one is selected and the other is not, they can't be in the same range\n return false;\n } else if (date1Selected && date2Selected) {\n // if they're both selected at the same time they must be in the same range\n return true;\n }\n\n // otherwise, both must be unselected, so check the dateRange\n return dateRange.filter((date: Date) => date.getTime() === date2.getTime()).length > 0;\n };\n\n return [getWeekCornerStyles, calculateRoundedStyles] as const;\n}\n\nexport const CalendarDayGridBase: React.FunctionComponent = props => {\n const navigatedDayRef = React.useRef(null) as React.MutableRefObject;\n\n const activeDescendantId = useId();\n\n const onSelectDate = (selectedDate: Date): void => {\n const { firstDayOfWeek, minDate, maxDate, workWeekDays, daysToSelectInDayView, restrictedDates } = props;\n const restrictedDatesOptions = { minDate, maxDate, restrictedDates };\n\n let dateRange = getDateRangeArray(selectedDate, dateRangeType, firstDayOfWeek, workWeekDays, daysToSelectInDayView);\n dateRange = getBoundedDateRange(dateRange, minDate, maxDate);\n\n dateRange = dateRange.filter((d: Date) => {\n return !isRestrictedDate(d, restrictedDatesOptions);\n });\n\n props.onSelectDate?.(selectedDate, dateRange);\n props.onNavigateDate?.(selectedDate, true);\n };\n\n const [daysRef, getSetRefCallback] = useDayRefs();\n\n const weeks = useWeeks(props, onSelectDate, getSetRefCallback);\n const animateBackwards = useAnimateBackwards(weeks);\n const [getWeekCornerStyles, calculateRoundedStyles] = useWeekCornerStyles(props);\n\n React.useImperativeHandle(\n props.componentRef,\n () => ({\n focus() {\n navigatedDayRef.current?.focus?.();\n },\n }),\n [],\n );\n\n /**\n *\n * Section for setting hover/pressed styles. Because we want arbitrary blobs of days to be selectable, to support\n * highlighting every day in the month for month view, css :hover style isn't enough, so we need mouse callbacks\n * to set classnames on all relevant child refs to apply the styling\n *\n */\n const getDayInfosInRangeOfDay = (dayToCompare: IDayInfo): IDayInfo[] => {\n // The hover state looks weird with non-contiguous days in work week view. In work week, show week hover state\n const dateRangeHoverType = getDateRangeTypeToUse(props.dateRangeType, props.workWeekDays);\n\n // gets all the dates for the given date range type that are in the same date range as the given day\n const dateRange = getDateRangeArray(\n dayToCompare.originalDate,\n dateRangeHoverType,\n props.firstDayOfWeek,\n props.workWeekDays,\n props.daysToSelectInDayView,\n ).map((date: Date) => date.getTime());\n\n // gets all the day refs for the given dates\n const dayInfosInRange = weeks.reduce((accumulatedValue: IDayInfo[], currentWeek: IDayInfo[]) => {\n return accumulatedValue.concat(\n currentWeek.filter((weekDay: IDayInfo) => dateRange.indexOf(weekDay.originalDate.getTime()) !== -1),\n );\n }, []);\n\n return dayInfosInRange;\n };\n\n const getRefsFromDayInfos = (dayInfosInRange: IDayInfo[]): (HTMLElement | null)[] => {\n let dayRefs: (HTMLElement | null)[] = [];\n dayRefs = dayInfosInRange.map((dayInfo: IDayInfo) => daysRef.current[dayInfo.key]);\n\n return dayRefs;\n };\n\n const {\n styles,\n theme,\n className,\n dateRangeType,\n showWeekNumbers,\n labelledBy,\n lightenDaysOutsideNavigatedMonth,\n animationDirection,\n } = props;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n dateRangeType,\n showWeekNumbers,\n lightenDaysOutsideNavigatedMonth:\n lightenDaysOutsideNavigatedMonth === undefined ? true : lightenDaysOutsideNavigatedMonth,\n animationDirection,\n animateBackwards,\n });\n\n // When the month is highlighted get the corner dates so that styles can be added to them\n const weekCorners: IWeekCorners = getWeekCornerStyles(classNames, weeks!);\n const partialWeekProps = {\n weeks,\n navigatedDayRef,\n calculateRoundedStyles,\n activeDescendantId,\n classNames,\n weekCorners,\n getDayInfosInRangeOfDay,\n getRefsFromDayInfos,\n } as const;\n\n return (\n \n \n \n \n \n {weeks!.slice(1, weeks!.length - 1).map((week: IDayInfo[], weekIndex: number) => (\n \n ))}\n \n \n \n \n );\n};\nCalendarDayGridBase.displayName = 'CalendarDayGridBase';\n\n/**\n * When given work week, if the days are non-contiguous, the hover states look really weird. So for non-contiguous\n * work weeks, we'll just show week view instead.\n */\nfunction getDateRangeTypeToUse(dateRangeType: DateRangeType, workWeekDays: DayOfWeek[] | undefined): DateRangeType {\n if (workWeekDays && dateRangeType === DateRangeType.WorkWeek) {\n const sortedWWDays = workWeekDays.slice().sort();\n let isContiguous = true;\n for (let i = 1; i < sortedWWDays.length; i++) {\n if (sortedWWDays[i] !== sortedWWDays[i - 1] + 1) {\n isContiguous = false;\n break;\n }\n }\n\n if (!isContiguous || workWeekDays.length === 0) {\n return DateRangeType.Week;\n }\n }\n\n return dateRangeType;\n}\n","import { addDays, compareDates, getDateRangeArray, isInDateRangeArray } from '../dateMath/dateMath';\nimport { DAYS_IN_WEEK } from '../dateValues/dateValues';\nimport { IDay, IDayGridOptions } from './dateGrid.types';\nimport { getDateRangeTypeToUse } from './getDateRangeTypeToUse';\nimport { getBoundedDateRange } from './getBoundedDateRange';\nimport { isRestrictedDate } from './isRestrictedDate';\n\n/**\n * Generates a grid of days, given the `options`.\n * Returns one additional week at the begining from the previous range\n * and one at the end from the future range\n * @param options - parameters to specify date related restrictions for the resulting grid\n */\nexport const getDayGrid = (options: IDayGridOptions): IDay[][] => {\n const {\n selectedDate,\n dateRangeType,\n firstDayOfWeek,\n today,\n minDate,\n maxDate,\n weeksToShow,\n workWeekDays,\n daysToSelectInDayView,\n restrictedDates,\n markedDays,\n } = options;\n const restrictedDateOptions = { minDate, maxDate, restrictedDates };\n\n const todaysDate = today || new Date();\n\n const navigatedDate = options.navigatedDate ? options.navigatedDate : todaysDate;\n\n let date;\n if (weeksToShow && weeksToShow <= 4) {\n // if showing less than a full month, just use date == navigatedDate\n date = new Date(navigatedDate.getFullYear(), navigatedDate.getMonth(), navigatedDate.getDate());\n } else {\n date = new Date(navigatedDate.getFullYear(), navigatedDate.getMonth(), 1);\n }\n const weeks: IDay[][] = [];\n\n // Cycle the date backwards to get to the first day of the week.\n while (date.getDay() !== firstDayOfWeek) {\n date.setDate(date.getDate() - 1);\n }\n\n // add the transition week as last week of previous range\n date = addDays(date, -DAYS_IN_WEEK);\n\n // a flag to indicate whether all days of the week are outside the month\n let isAllDaysOfWeekOutOfMonth = false;\n\n // in work week view if the days aren't contiguous we use week view instead\n const selectedDateRangeType = getDateRangeTypeToUse(dateRangeType, workWeekDays, firstDayOfWeek);\n\n let selectedDates: Date[] = [];\n\n if (selectedDate) {\n selectedDates = getDateRangeArray(\n selectedDate,\n selectedDateRangeType,\n firstDayOfWeek,\n workWeekDays,\n daysToSelectInDayView,\n );\n selectedDates = getBoundedDateRange(selectedDates, minDate, maxDate);\n }\n\n let shouldGetWeeks = true;\n\n for (let weekIndex = 0; shouldGetWeeks; weekIndex++) {\n const week: IDay[] = [];\n\n isAllDaysOfWeekOutOfMonth = true;\n\n for (let dayIndex = 0; dayIndex < DAYS_IN_WEEK; dayIndex++) {\n const originalDate = new Date(date.getTime());\n const dayInfo: IDay = {\n key: date.toString(),\n date: date.getDate().toString(),\n originalDate: originalDate,\n isInMonth: date.getMonth() === navigatedDate.getMonth(),\n isToday: compareDates(todaysDate, date),\n isSelected: isInDateRangeArray(date, selectedDates),\n isInBounds: !isRestrictedDate(date, restrictedDateOptions),\n isMarked: markedDays?.some(markedDay => compareDates(originalDate, markedDay)) || false,\n };\n\n week.push(dayInfo);\n\n if (dayInfo.isInMonth) {\n isAllDaysOfWeekOutOfMonth = false;\n }\n\n date.setDate(date.getDate() + 1);\n }\n\n // We append the condition of the loop depending upon the showSixWeeksByDefault prop.\n shouldGetWeeks = weeksToShow ? weekIndex < weeksToShow + 1 : !isAllDaysOfWeekOutOfMonth || weekIndex === 0;\n\n // we don't check shouldGetWeeks before pushing because we want to add one extra week for transition state\n weeks.push(week);\n }\n\n return weeks;\n};\n","import * as React from 'react';\nimport { DayOfWeek, FirstWeekOfYear, DateRangeType } from '@fluentui/date-time-utilities';\nimport type { IRefObject, IBaseProps, IStyleFunctionOrObject } from '@fluentui/utilities';\nimport type { IStyle, ITheme } from '@fluentui/style-utilities';\nimport type { ICalendarDayProps } from './CalendarDay/CalendarDay.types';\nimport type { ICalendarMonthProps } from './CalendarMonth/CalendarMonth.types';\nimport type { ICalendarStrings, IDateFormatting } from '@fluentui/date-time-utilities';\n\n/**\n * {@docCategory Calendar}\n */\nexport interface ICalendar {\n /** Sets focus to the selected date. */\n focus: () => void;\n}\n\n/**\n * {@docCategory Calendar}\n */\nexport interface ICalendarProps extends IBaseProps, React.RefAttributes {\n /**\n * Optional callback to access the ICalendar interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject;\n\n /**\n * Customized styles for the calendar component\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * Customized props for the calendar day\n */\n calendarDayProps?: Partial;\n\n /**\n * Customized props for the calendar month\n */\n calendarMonthProps?: Partial;\n\n /**\n * Theme provided by High-Order Component.\n */\n theme?: ITheme;\n\n /**\n * Optional class name to add to the root element.\n */\n className?: string;\n\n /**\n * Callback for when a date is selected\n * @param date - The date the user selected\n * @param selectedDateRangeArray - The resultant list of dates that are selected based on the date range type set\n * for the component.\n */\n onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;\n\n /**\n * Callback for when calendar is closed\n */\n onDismiss?: () => void;\n\n /**\n * ID for the calendar\n */\n id?: string;\n\n /**\n * Default value of the Calendar, if any\n */\n value?: Date;\n\n /**\n * Value of today. If unspecified, current time in client machine will be used.\n */\n today?: Date;\n\n /**\n * The date range type indicating how many days should be selected as the user\n * selects days\n * @defaultValue DateRangeType.Day\n */\n dateRangeType?: DateRangeType;\n\n /**\n * The first day of the week for your locale.\n * @defaultvalue DayOfWeek.Sunday\n */\n firstDayOfWeek?: DayOfWeek;\n\n /**\n * Defines when the first week of the year should start.\n * @defaultvalue FirstWeekOfYear.FirstDay\n */\n firstWeekOfYear?: FirstWeekOfYear;\n\n /**\n * Whether the month picker is shown beside the day picker or hidden.\n * @defaultvalue true\n */\n isMonthPickerVisible?: boolean;\n\n /**\n * Whether the day picker is shown beside the month picker or hidden.\n * @defaultvalue true\n */\n isDayPickerVisible?: boolean;\n\n /**\n * Show month picker on top of date picker when visible.\n * @defaultvalue false\n */\n showMonthPickerAsOverlay?: boolean;\n\n /**\n * Whether the \"Go to today\" link should be shown or not\n */\n showGoToToday?: boolean;\n\n /**\n * Whether the calendar should show the week number (weeks 1 to 53) before each week row\n * @defaultvalue false\n */\n showWeekNumbers?: boolean;\n\n /**\n * Localized strings to use in the Calendar\n */\n strings?: ICalendarStrings;\n\n /**\n * Custom navigation icons.\n */\n navigationIcons?: ICalendarNavigationIcons;\n\n /**\n * Apply additional formatting to dates, for example localized date formatting.\n */\n dateTimeFormatter?: IDateFormatting;\n\n /**\n * If set the Calendar will not allow navigation to or selection of a date earlier than this value.\n */\n minDate?: Date;\n\n /**\n * If set the Calendar will not allow navigation to or selection of a date later than this value.\n */\n maxDate?: Date;\n\n /**\n * If set the Calendar will not allow selection of dates in this array.\n */\n restrictedDates?: Date[];\n\n /**\n * Whether the calendar should show 6 weeks by default.\n * @defaultvalue false\n */\n showSixWeeksByDefault?: boolean;\n\n /**\n * The days that are selectable when `dateRangeType` is `WorkWeek`.\n * If `dateRangeType` is not `WorkWeek` this property does nothing.\n * @defaultvalue [Monday,Tuesday,Wednesday,Thursday,Friday]\n */\n workWeekDays?: DayOfWeek[];\n\n /**\n * Whether the month picker should highlight the current month\n * @defaultvalue false\n */\n highlightCurrentMonth?: boolean;\n\n /**\n * Whether the month picker should highlight the selected month\n * @defaultvalue false\n */\n highlightSelectedMonth?: boolean;\n\n /**\n * Whether the close button should be shown or not\n * @defaultvalue false\n */\n showCloseButton?: boolean;\n\n /**\n * Allows all dates and buttons to be focused, including disabled ones\n * @defaultvalue false\n */\n allFocusable?: boolean;\n}\n\n/**\n * {@docCategory Calendar}\n */\nexport interface ICalendarNavigationIcons {\n /**\n * FabricMDL2Icons name for the left navigation icon. Previous default: ChevronLeft.\n * @defaultvalue 'Up'\n */\n leftNavigation?: string;\n\n /**\n * FabricMDL2Icons name for the right navigation icon. Previous default: ChevronRight.\n * @defaultvalue 'Down'\n */\n rightNavigation?: string;\n\n /**\n * Close icon\n * @defaultvalue 'CalculatorMultiply'\n */\n closeIcon?: string;\n}\n\n/**\n * @deprecated Use `ICalendarNavigationIcons`\n */\nexport type ICalendarIconStrings = ICalendarNavigationIcons;\n\n/**\n * @deprecated Use `IDateFormatting`\n */\nexport type ICalendarFormatDateCallbacks = IDateFormatting;\n\n/**\n * {@docCategory Calendar}\n */\nexport interface ICalendarStyleProps {\n /**\n * Theme provided by higher-order component.\n */\n theme: ITheme;\n\n /**\n * Custom CSS class for the calendar.\n */\n className?: string;\n\n /**\n * Whether the month picker is visible\n */\n isMonthPickerVisible?: boolean;\n\n /**\n * Whether the day picker is visible\n */\n isDayPickerVisible?: boolean;\n\n /**\n * Whether only month picker is shown\n */\n monthPickerOnly?: boolean;\n\n /**\n * Whether the month picker is overlaid on the day picker\n */\n showMonthPickerAsOverlay?: boolean;\n\n /**\n * @deprecated Use `overlaidWithButton`\n */\n overlayedWithButton?: boolean;\n\n /**\n * Whether the month and day picker are overlaid and the 'go to today' button is shown\n */\n overlaidWithButton?: boolean;\n\n /**\n * Whether the go to today button is shown\n */\n showGoToToday?: boolean;\n\n /**\n * Whether the week numbers are shown\n */\n showWeekNumbers?: boolean;\n}\n\n/**\n * {@docCategory Calendar}\n */\nexport interface ICalendarStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n\n divider: IStyle;\n\n goTodayButton: IStyle;\n\n monthPickerWrapper: IStyle;\n\n liveRegion: IStyle;\n}\n\n/**\n * {@docCategory Calendar}\n */\nexport enum AnimationDirection {\n /**\n * Grid will transition out and in horizontally\n */\n Horizontal,\n\n /**\n * Grid will transition out and in vertically\n */\n Vertical,\n}\n","import {\n FontSizes,\n FontWeights,\n getFocusStyle,\n getGlobalClassNames,\n AnimationStyles,\n keyframes,\n HighContrastSelector,\n getHighContrastNoAdjustStyle,\n} from '@fluentui/style-utilities';\nimport { DateRangeType } from '@fluentui/date-time-utilities';\nimport { AnimationDirection } from '../Calendar/Calendar.types';\nimport type { ICalendarDayGridStyleProps, ICalendarDayGridStyles } from './CalendarDayGrid.types';\nimport type { IRawStyle } from '@fluentui/style-utilities';\n\nconst GlobalClassNames = {\n hoverStyle: 'ms-CalendarDay-hoverStyle',\n pressedStyle: 'ms-CalendarDay-pressedStyle',\n dayIsTodayStyle: 'ms-CalendarDay-dayIsToday',\n daySelectedStyle: 'ms-CalendarDay-daySelected',\n};\n\nconst transitionRowDisappearance = keyframes({\n '100%': {\n width: 0,\n height: 0,\n overflow: 'hidden',\n },\n '99.9%': {\n width: '100%',\n height: 28,\n overflow: 'visible',\n },\n '0%': {\n width: '100%',\n height: 28,\n overflow: 'visible',\n },\n});\n\nexport const styles = (props: ICalendarDayGridStyleProps): ICalendarDayGridStyles => {\n const {\n theme,\n dateRangeType,\n showWeekNumbers,\n lightenDaysOutsideNavigatedMonth,\n animateBackwards,\n animationDirection,\n } = props;\n const { palette } = theme;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n let rowAnimationStyle: IRawStyle = {};\n if (animateBackwards !== undefined) {\n if (animationDirection === AnimationDirection.Horizontal) {\n rowAnimationStyle = animateBackwards ? AnimationStyles.slideRightIn20 : AnimationStyles.slideLeftIn20;\n } else {\n rowAnimationStyle = animateBackwards ? AnimationStyles.slideDownIn20 : AnimationStyles.slideUpIn20;\n }\n }\n\n let firstTransitionRowAnimationStyle: IRawStyle = {};\n let lastTransitionRowAnimationStyle: IRawStyle = {};\n if (animateBackwards !== undefined) {\n if (animationDirection !== AnimationDirection.Horizontal) {\n firstTransitionRowAnimationStyle = animateBackwards ? { animationName: '' } : AnimationStyles.slideUpOut20;\n lastTransitionRowAnimationStyle = animateBackwards ? AnimationStyles.slideDownOut20 : { animationName: '' };\n }\n }\n\n const disabledStyle = {\n selectors: {\n '&, &:disabled, & button': {\n color: palette.neutralTertiaryAlt,\n pointerEvents: 'none',\n },\n },\n };\n\n return {\n wrapper: {\n paddingBottom: 10,\n },\n table: [\n {\n textAlign: 'center',\n borderCollapse: 'collapse',\n borderSpacing: '0',\n tableLayout: 'fixed',\n fontSize: 'inherit',\n marginTop: 4,\n width: 196,\n position: 'relative',\n paddingBottom: 10,\n },\n showWeekNumbers && {\n width: 226,\n },\n ],\n dayCell: [\n getFocusStyle(theme, { inset: -3 }),\n {\n margin: 0,\n padding: 0,\n width: 28,\n height: 28,\n lineHeight: 28,\n fontSize: FontSizes.small,\n fontWeight: FontWeights.regular,\n color: palette.neutralPrimary,\n cursor: 'pointer',\n position: 'relative',\n selectors: {\n [HighContrastSelector]: {\n color: 'WindowText',\n backgroundColor: 'transparent',\n zIndex: 0,\n ...getHighContrastNoAdjustStyle(),\n },\n ['&.' + classNames.hoverStyle]: {\n backgroundColor: palette.neutralLighter,\n selectors: {\n [HighContrastSelector]: {\n zIndex: 3,\n backgroundColor: 'Window',\n outline: '1px solid Highlight',\n },\n },\n },\n ['&.' + classNames.pressedStyle]: {\n backgroundColor: palette.neutralLight,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n color: 'Highlight',\n backgroundColor: 'Window',\n },\n },\n },\n ['&.' + classNames.pressedStyle + '.' + classNames.hoverStyle]: {\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Window',\n outline: '1px solid Highlight',\n },\n },\n },\n },\n },\n ],\n daySelected: [\n dateRangeType !== DateRangeType.Month && {\n backgroundColor: palette.neutralLight + '!important',\n selectors: {\n '&::before': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n },\n ['&:hover, &.' + classNames.hoverStyle + ', &.' + classNames.pressedStyle]: {\n backgroundColor: palette.neutralLight + '!important',\n [HighContrastSelector]: {\n color: 'HighlightText!important',\n background: 'Highlight!important',\n },\n },\n [HighContrastSelector]: {\n background: 'Highlight!important',\n color: 'HighlightText!important',\n borderColor: 'Highlight!important',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n ],\n weekRow: rowAnimationStyle,\n weekDayLabelCell: AnimationStyles.fadeIn200,\n weekNumberCell: {\n margin: 0,\n padding: 0,\n borderRight: '1px solid',\n borderColor: palette.neutralLight,\n backgroundColor: palette.neutralLighterAlt,\n color: palette.neutralSecondary,\n boxSizing: 'border-box',\n width: 28,\n height: 28,\n fontWeight: FontWeights.regular,\n fontSize: FontSizes.small,\n },\n dayOutsideBounds: disabledStyle,\n dayOutsideNavigatedMonth: lightenDaysOutsideNavigatedMonth && {\n color: palette.neutralSecondary,\n fontWeight: FontWeights.regular,\n },\n dayButton: {\n width: 24,\n height: 24,\n lineHeight: 24,\n fontSize: FontSizes.small,\n fontWeight: 'inherit',\n borderRadius: 2,\n border: 'none',\n padding: 0,\n color: 'inherit',\n backgroundColor: 'transparent',\n cursor: 'pointer',\n overflow: 'visible', // explicitly specify for IE11\n selectors: {\n span: {\n height: 'inherit',\n lineHeight: 'inherit',\n },\n },\n },\n dayIsToday: {\n backgroundColor: palette.themePrimary + '!important',\n borderRadius: '100%',\n color: palette.white + '!important',\n fontWeight: (FontWeights.semibold + '!important') as 'initial',\n selectors: {\n [HighContrastSelector]: {\n background: 'WindowText!important',\n color: 'Window!important',\n borderColor: 'WindowText!important',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n firstTransitionWeek: {\n position: 'absolute',\n opacity: 0,\n width: 0,\n height: 0,\n overflow: 'hidden',\n ...firstTransitionRowAnimationStyle,\n animationName: firstTransitionRowAnimationStyle.animationName + ',' + transitionRowDisappearance,\n },\n lastTransitionWeek: {\n position: 'absolute',\n opacity: 0,\n width: 0,\n height: 0,\n overflow: 'hidden',\n marginTop: -28,\n ...lastTransitionRowAnimationStyle,\n animationName: lastTransitionRowAnimationStyle.animationName + ',' + transitionRowDisappearance,\n },\n dayMarker: {\n width: 4,\n height: 4,\n backgroundColor: palette.neutralSecondary,\n borderRadius: '100%',\n bottom: 1,\n left: 0,\n right: 0,\n position: 'absolute',\n margin: 'auto',\n selectors: {\n ['.' + classNames.dayIsTodayStyle + ' &']: {\n backgroundColor: palette.white,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Window',\n },\n },\n },\n ['.' + classNames.daySelectedStyle + ' &']: {\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'HighlightText',\n },\n },\n },\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n topRightCornerDate: {\n borderTopRightRadius: '2px',\n },\n topLeftCornerDate: {\n borderTopLeftRadius: '2px',\n },\n bottomRightCornerDate: {\n borderBottomRightRadius: '2px',\n },\n bottomLeftCornerDate: {\n borderBottomLeftRadius: '2px',\n },\n datesAbove: {\n '&::before': {\n borderTop: `1px solid ${palette.neutralSecondary}`,\n },\n },\n datesBelow: {\n '&::before': {\n borderBottom: `1px solid ${palette.neutralSecondary}`,\n },\n },\n datesLeft: {\n '&::before': {\n borderLeft: `1px solid ${palette.neutralSecondary}`,\n },\n },\n datesRight: {\n '&::before': {\n borderRight: `1px solid ${palette.neutralSecondary}`,\n },\n },\n };\n};\n","import * as React from 'react';\nimport { CalendarDayGridBase } from './CalendarDayGrid.base';\nimport { styles } from './CalendarDayGrid.styles';\nimport { styled } from '../../Utilities';\nimport type { ICalendarDayGridProps } from './CalendarDayGrid.types';\n\nexport const CalendarDayGrid: React.FunctionComponent = styled(\n CalendarDayGridBase,\n styles,\n undefined,\n { scope: 'CalendarDayGrid' },\n);\n","import * as React from 'react';\nimport { KeyCodes, css, classNamesFunction, format } from '@fluentui/utilities';\nimport { Icon } from '../../../Icon';\nimport { addMonths, compareDatePart, getMonthStart, getMonthEnd } from '@fluentui/date-time-utilities';\nimport { CalendarDayGrid } from '../../CalendarDayGrid/CalendarDayGrid';\nimport { useId } from '@fluentui/react-hooks';\nimport type { ICalendarDayProps, ICalendarDayStyleProps, ICalendarDayStyles } from './CalendarDay.types';\nimport type { IProcessedStyleSet } from '@fluentui/style-utilities';\nimport type { ICalendarDayGrid } from '../../CalendarDayGrid/CalendarDayGrid.types';\n\nconst getClassNames = classNamesFunction();\n\nexport const CalendarDayBase: React.FunctionComponent = props => {\n const dayGrid = React.useRef(null);\n\n React.useImperativeHandle(\n props.componentRef,\n () => ({\n focus() {\n dayGrid.current?.focus?.();\n },\n }),\n [],\n );\n\n const {\n strings,\n navigatedDate,\n dateTimeFormatter,\n styles,\n theme,\n className,\n onHeaderSelect,\n showSixWeeksByDefault,\n minDate,\n maxDate,\n restrictedDates,\n onNavigateDate,\n showWeekNumbers,\n dateRangeType,\n animationDirection,\n } = props;\n const monthAndYearId = useId();\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n headerIsClickable: !!onHeaderSelect,\n showWeekNumbers,\n animationDirection,\n });\n\n const monthAndYear = dateTimeFormatter.formatMonthYear(navigatedDate, strings);\n const HeaderButtonComponentType = onHeaderSelect ? 'button' : 'div';\n const headerAriaLabel = strings.yearPickerHeaderAriaLabel\n ? format(strings.yearPickerHeaderAriaLabel, monthAndYear)\n : monthAndYear;\n\n return (\n
    \n
    \n \n \n {monthAndYear}\n \n \n \n
    \n \n
    \n );\n};\nCalendarDayBase.displayName = 'CalendarDayBase';\n\ninterface ICalendarDayNavigationButtonsProps extends ICalendarDayProps {\n classNames: IProcessedStyleSet;\n}\n\nconst CalendarDayNavigationButtons = (props: ICalendarDayNavigationButtonsProps): JSX.Element => {\n const {\n minDate,\n maxDate,\n navigatedDate,\n allFocusable,\n strings,\n navigationIcons,\n showCloseButton,\n classNames,\n onNavigateDate,\n onDismiss,\n } = props;\n\n const onSelectNextMonth = (): void => {\n onNavigateDate(addMonths(navigatedDate, 1), false);\n };\n\n const onSelectPrevMonth = (): void => {\n onNavigateDate(addMonths(navigatedDate, -1), false);\n };\n const leftNavigationIcon = navigationIcons.leftNavigation;\n const rightNavigationIcon = navigationIcons.rightNavigation;\n const closeNavigationIcon = navigationIcons.closeIcon;\n\n // determine if previous/next months are in bounds\n const prevMonthInBounds = minDate ? compareDatePart(minDate, getMonthStart(navigatedDate)) < 0 : true;\n const nextMonthInBounds = maxDate ? compareDatePart(getMonthEnd(navigatedDate), maxDate) < 0 : true;\n\n // use aria-disabled instead of disabled so focus is not lost\n // when a prev/next button becomes disabled after being clicked\n return (\n
    \n \n \n \n \n \n \n {showCloseButton && (\n \n \n \n )}\n
    \n );\n};\nCalendarDayNavigationButtons.displayName = 'CalendarDayNavigationButtons';\n\nconst onButtonKeyDown =\n (callback?: () => void): ((ev: React.KeyboardEvent) => void) =>\n (ev: React.KeyboardEvent) => {\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.enter:\n callback?.();\n break;\n }\n };\n","import * as React from 'react';\nimport { CalendarDayBase } from './CalendarDay.base';\nimport { styles } from './CalendarDay.styles';\nimport { styled } from '../../../Utilities';\nimport type { ICalendarDayProps } from './CalendarDay.types';\n\nexport const CalendarDay: React.FunctionComponent = styled(CalendarDayBase, styles, undefined, {\n scope: 'CalendarDay',\n});\n","import {\n normalize,\n FontSizes,\n FontWeights,\n getFocusStyle,\n AnimationStyles,\n HighContrastSelector,\n} from '@fluentui/style-utilities';\nimport type { ICalendarDayStyleProps, ICalendarDayStyles } from './CalendarDay.types';\n\nexport const styles = (props: ICalendarDayStyleProps): ICalendarDayStyles => {\n const { className, theme, headerIsClickable, showWeekNumbers } = props;\n const { palette } = theme;\n\n const disabledStyle = {\n selectors: {\n '&, &:disabled, & button': {\n color: palette.neutralTertiaryAlt,\n pointerEvents: 'none',\n },\n [HighContrastSelector]: {\n color: 'GrayText',\n forcedColorAdjust: 'none',\n },\n },\n };\n\n return {\n root: [\n normalize,\n {\n width: 196,\n padding: 12,\n boxSizing: 'content-box',\n },\n showWeekNumbers && {\n width: 226,\n },\n className,\n ],\n header: {\n position: 'relative',\n display: 'inline-flex',\n height: 28,\n lineHeight: 44,\n width: '100%',\n },\n monthAndYear: [\n getFocusStyle(theme, { inset: 1 }),\n {\n ...AnimationStyles.fadeIn200,\n alignItems: 'center',\n fontSize: FontSizes.medium,\n fontFamily: 'inherit',\n color: palette.neutralPrimary,\n display: 'inline-block',\n flexGrow: 1,\n fontWeight: FontWeights.semibold,\n padding: '0 4px 0 10px',\n border: 'none',\n backgroundColor: 'transparent',\n borderRadius: 2,\n lineHeight: 28,\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textAlign: 'left',\n textOverflow: 'ellipsis',\n },\n headerIsClickable && {\n selectors: {\n '&:hover': {\n cursor: 'pointer',\n background: palette.neutralLight,\n color: palette.black,\n },\n },\n },\n ],\n monthComponents: {\n display: 'inline-flex',\n alignSelf: 'flex-end',\n },\n headerIconButton: [\n getFocusStyle(theme, { inset: -1 }),\n {\n width: 28,\n height: 28,\n display: 'block',\n textAlign: 'center',\n lineHeight: 28,\n fontSize: FontSizes.small,\n fontFamily: 'inherit',\n color: palette.neutralPrimary,\n borderRadius: 2,\n position: 'relative',\n backgroundColor: 'transparent',\n border: 'none',\n padding: 0,\n overflow: 'visible', // explicitly specify for IE11\n selectors: {\n '&:hover': {\n color: palette.neutralDark,\n backgroundColor: palette.neutralLight,\n cursor: 'pointer',\n outline: '1px solid transparent',\n },\n },\n },\n ],\n disabledStyle,\n };\n};\n","import {\n normalize,\n FontSizes,\n FontWeights,\n getFocusStyle,\n AnimationStyles,\n HighContrastSelector,\n getHighContrastNoAdjustStyle,\n} from '@fluentui/style-utilities';\nimport { AnimationDirection } from '../Calendar.types';\nimport type { ICalendarPickerStyleProps, ICalendarPickerStyles } from './CalendarPicker.types';\nimport type { IRawStyle } from '@fluentui/style-utilities';\n\nexport const getStyles = (props: ICalendarPickerStyleProps): ICalendarPickerStyles => {\n const {\n className,\n theme,\n hasHeaderClickCallback,\n highlightCurrent,\n highlightSelected,\n animateBackwards,\n animationDirection,\n } = props;\n const { palette } = theme;\n\n let animationStyle: IRawStyle = {};\n if (animateBackwards !== undefined) {\n if (animationDirection === AnimationDirection.Horizontal) {\n animationStyle = animateBackwards ? AnimationStyles.slideRightIn20 : AnimationStyles.slideLeftIn20;\n } else {\n animationStyle = animateBackwards ? AnimationStyles.slideDownIn20 : AnimationStyles.slideUpIn20;\n }\n }\n\n const headerAnimationStyle: IRawStyle = animateBackwards !== undefined ? AnimationStyles.fadeIn200 : {};\n\n return {\n root: [\n normalize,\n {\n width: 196,\n padding: 12,\n boxSizing: 'content-box',\n overflow: 'hidden',\n },\n className,\n ],\n headerContainer: {\n display: 'flex',\n },\n currentItemButton: [\n getFocusStyle(theme, { inset: -1 }),\n {\n ...headerAnimationStyle,\n fontSize: FontSizes.medium,\n fontWeight: FontWeights.semibold,\n fontFamily: 'inherit',\n textAlign: 'left',\n color: 'inherit',\n backgroundColor: 'transparent',\n flexGrow: 1,\n padding: '0 4px 0 10px',\n border: 'none',\n overflow: 'visible', // explicitly specify for IE11\n },\n hasHeaderClickCallback && {\n selectors: {\n '&:hover, &:active': {\n cursor: !hasHeaderClickCallback ? 'default' : 'pointer',\n color: palette.neutralDark,\n outline: '1px solid transparent',\n backgroundColor: palette.neutralLight,\n },\n },\n },\n ],\n navigationButtonsContainer: {\n display: 'flex',\n alignItems: 'center',\n },\n navigationButton: [\n getFocusStyle(theme, { inset: -1 }),\n {\n fontFamily: 'inherit',\n width: 28,\n minWidth: 28,\n height: 28,\n minHeight: 28,\n display: 'block',\n textAlign: 'center',\n lineHeight: 28,\n fontSize: FontSizes.small,\n color: palette.neutralPrimary,\n borderRadius: 2,\n position: 'relative',\n backgroundColor: 'transparent',\n border: 'none',\n padding: 0,\n overflow: 'visible', // explicitly specify for IE11\n selectors: {\n '&:hover': {\n color: palette.neutralDark,\n cursor: 'pointer',\n outline: '1px solid transparent',\n backgroundColor: palette.neutralLight,\n },\n },\n },\n ],\n gridContainer: {\n marginTop: 4,\n },\n buttonRow: {\n ...animationStyle,\n marginBottom: 16,\n selectors: {\n '&:nth-child(n + 3)': {\n marginBottom: 0,\n },\n },\n },\n itemButton: [\n getFocusStyle(theme, { inset: -1 }),\n {\n width: 40,\n height: 40,\n minWidth: 40,\n minHeight: 40,\n lineHeight: 40,\n fontSize: FontSizes.small,\n fontFamily: 'inherit',\n padding: 0,\n margin: '0 12px 0 0',\n color: palette.neutralPrimary,\n backgroundColor: 'transparent',\n border: 'none',\n borderRadius: 2,\n overflow: 'visible', // explicitly specify for IE11\n selectors: {\n '&:nth-child(4n + 4)': {\n marginRight: 0,\n },\n '&:nth-child(n + 9)': {\n marginBottom: 0,\n },\n '& div': {\n fontWeight: FontWeights.regular,\n },\n '&:hover': {\n color: palette.neutralDark,\n backgroundColor: palette.neutralLight,\n cursor: 'pointer',\n outline: '1px solid transparent',\n selectors: {\n [HighContrastSelector]: {\n background: 'Window',\n color: 'WindowText',\n outline: '1px solid Highlight',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n '&:active': {\n backgroundColor: palette.themeLight,\n selectors: {\n [HighContrastSelector]: {\n background: 'Window',\n color: 'Highlight',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n },\n },\n ],\n current: highlightCurrent\n ? {\n color: palette.white,\n backgroundColor: palette.themePrimary,\n selectors: {\n '& div': {\n fontWeight: FontWeights.semibold,\n },\n '&:hover': {\n backgroundColor: palette.themePrimary,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n color: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n color: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n }\n : {},\n selected: highlightSelected\n ? {\n color: palette.neutralPrimary,\n backgroundColor: palette.themeLight,\n fontWeight: FontWeights.semibold,\n selectors: {\n '& div': {\n fontWeight: FontWeights.semibold,\n },\n '&:hover, &:active': {\n backgroundColor: palette.themeLight,\n selectors: {\n [HighContrastSelector]: {\n color: 'Window',\n background: 'Highlight',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n [HighContrastSelector]: {\n background: 'Highlight',\n color: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n }\n : {},\n disabled: {\n selectors: {\n '&, &:disabled, & button': {\n color: palette.neutralTertiaryAlt,\n pointerEvents: 'none',\n },\n [HighContrastSelector]: {\n color: 'GrayText',\n forcedColorAdjust: 'none',\n },\n },\n },\n };\n};\n","import { getStyles as getPickerStyles } from '../CalendarPicker/CalendarPicker.styles';\nimport type { ICalendarMonthStyleProps, ICalendarMonthStyles } from './CalendarMonth.types';\n\nexport const getStyles = (props: ICalendarMonthStyleProps): ICalendarMonthStyles => {\n /* Return styles from the base class.\n * If this component has extra styles not in the base, apply them here i.e.:\n * const myStyle: IStyle = {\n * display: \"block\"\n * }; *\n * return {...getPickerStyles(props), myStyle};\n */\n\n return getPickerStyles(props);\n};\n","import { DEFAULT_CALENDAR_STRINGS } from '@fluentui/date-time-utilities';\nimport type { ICalendarNavigationIcons } from './Calendar.types';\nimport type { ICalendarStrings } from '@fluentui/date-time-utilities';\n\nexport const defaultCalendarStrings: ICalendarStrings = DEFAULT_CALENDAR_STRINGS;\n\n/**\n * @deprecated Use `defaultCalendarStrings`\n */\nexport const defaultDayPickerStrings = defaultCalendarStrings;\n\nexport const defaultCalendarNavigationIcons: ICalendarNavigationIcons = {\n leftNavigation: 'Up',\n rightNavigation: 'Down',\n closeIcon: 'CalculatorMultiply',\n};\n","import * as React from 'react';\nimport { KeyCodes, getRTL, classNamesFunction, css, format } from '../../../Utilities';\nimport { FocusZone } from '../../../FocusZone';\nimport { Icon } from '../../../Icon';\nimport { usePrevious } from '@fluentui/react-hooks';\nimport { defaultCalendarNavigationIcons } from '../defaults';\nimport type {\n ICalendarYearStrings,\n ICalendarYearProps,\n ICalendarYearRange,\n ICalendarYearHeaderProps,\n ICalendarYearStyleProps,\n ICalendarYearStyles,\n} from './CalendarYear.types';\nimport type { IRefObject } from '../../../Utilities';\n\nconst getClassNames = classNamesFunction();\n\nconst CELL_COUNT = 12;\nconst CELLS_PER_ROW = 4;\n\nconst DefaultCalendarYearStrings: ICalendarYearStrings = {\n prevRangeAriaLabel: undefined,\n nextRangeAriaLabel: undefined,\n};\ninterface ICalendarYearGrid {\n focus(): void;\n}\n\ninterface ICalendarYearGridCellProps extends ICalendarYearProps {\n year: number;\n current?: boolean;\n selected?: boolean;\n disabled?: boolean;\n onSelectYear?: (year: number) => void;\n onRenderYear?: (year: number) => React.ReactNode;\n}\n\ninterface ICalendarYearGridProps extends ICalendarYearProps, ICalendarYearRange {\n selectedYear?: number;\n animateBackwards?: boolean;\n componentRef?: IRefObject;\n}\n\ninterface ICalendarYearGridCell {\n focus(): void;\n}\n\nconst CalendarYearGridCell: React.FunctionComponent = props => {\n const {\n styles,\n theme,\n className,\n highlightCurrentYear,\n highlightSelectedYear,\n year,\n selected,\n disabled,\n componentRef,\n onSelectYear,\n onRenderYear,\n } = props;\n\n const buttonRef = React.useRef(null);\n\n React.useImperativeHandle(\n componentRef,\n () => ({\n focus() {\n buttonRef.current?.focus?.();\n },\n }),\n [],\n );\n\n const onClick = () => {\n onSelectYear?.(year);\n };\n\n const onKeyDown = (ev: React.KeyboardEvent) => {\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.enter) {\n onSelectYear?.(year);\n }\n };\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n highlightCurrent: highlightCurrentYear,\n highlightSelected: highlightSelectedYear,\n });\n\n return (\n \n {onRenderYear?.(year) ?? year}\n \n );\n};\nCalendarYearGridCell.displayName = 'CalendarYearGridCell';\n\nconst CalendarYearGrid: React.FunctionComponent = props => {\n const {\n styles,\n theme,\n className,\n fromYear,\n toYear,\n animationDirection,\n animateBackwards,\n minYear,\n maxYear,\n onSelectYear,\n selectedYear,\n componentRef,\n } = props;\n\n const selectedCellRef = React.useRef(null);\n const currentCellRef = React.useRef(null);\n\n React.useImperativeHandle(\n componentRef,\n () => ({\n focus() {\n (selectedCellRef.current || currentCellRef.current)?.focus?.();\n },\n }),\n [],\n );\n\n const renderCell = (yearToRender: number): React.ReactNode => {\n const selected = yearToRender === selectedYear;\n const disabled =\n (minYear !== undefined && yearToRender < minYear) || (maxYear !== undefined && yearToRender > maxYear);\n const current = yearToRender === new Date().getFullYear();\n\n return (\n \n );\n };\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n animateBackwards,\n animationDirection,\n });\n\n const onRenderYear = (value: number) => {\n return props.onRenderYear?.(value) ?? value;\n };\n\n const gridAriaLabel = `${onRenderYear(fromYear)} - ${onRenderYear(toYear)}`;\n\n let year = fromYear;\n const cells: React.ReactNode[][] = [];\n\n for (let i = 0; i < (toYear - fromYear + 1) / CELLS_PER_ROW; i++) {\n cells.push([]);\n for (let j = 0; j < CELLS_PER_ROW; j++) {\n cells[i].push(renderCell(year));\n year++;\n }\n }\n\n return (\n \n
    \n {cells.map((cellRow: React.ReactNode[], index: number) => {\n return (\n
    \n {...cellRow}\n
    \n );\n })}\n
    \n
    \n );\n};\nCalendarYearGrid.displayName = 'CalendarYearGrid';\n\nconst enum CalendarYearNavDirection {\n Previous,\n Next,\n}\n\ninterface ICalendarYearNavArrowProps extends ICalendarYearHeaderProps {\n direction: CalendarYearNavDirection;\n}\n\nconst CalendarYearNavArrow: React.FunctionComponent = props => {\n const {\n styles,\n theme,\n className,\n navigationIcons = defaultCalendarNavigationIcons,\n strings = DefaultCalendarYearStrings,\n direction,\n onSelectPrev,\n onSelectNext,\n fromYear,\n toYear,\n maxYear,\n minYear,\n } = props;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n });\n\n const ariaLabel =\n direction === CalendarYearNavDirection.Previous ? strings.prevRangeAriaLabel : strings.nextRangeAriaLabel;\n const newRangeOffset = direction === CalendarYearNavDirection.Previous ? -CELL_COUNT : CELL_COUNT;\n const newRange = { fromYear: fromYear + newRangeOffset, toYear: toYear + newRangeOffset };\n const ariaLabelString = ariaLabel ? (typeof ariaLabel === 'string' ? ariaLabel : ariaLabel(newRange)) : undefined;\n const disabled =\n direction === CalendarYearNavDirection.Previous\n ? minYear !== undefined && fromYear < minYear\n : maxYear !== undefined && props.fromYear + CELL_COUNT > maxYear;\n\n const onNavigate = () => {\n direction === CalendarYearNavDirection.Previous ? onSelectPrev?.() : onSelectNext?.();\n };\n\n const onKeyDown = (ev: React.KeyboardEvent) => {\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.enter) {\n onNavigate();\n }\n };\n\n // can be condensed, but leaving verbose for clarity due to regressions\n const isLeftNavigation = getRTL()\n ? direction === CalendarYearNavDirection.Next\n : direction === CalendarYearNavDirection.Previous;\n\n return (\n \n \n \n );\n};\nCalendarYearNavArrow.displayName = 'CalendarYearNavArrow';\n\nconst CalendarYearNav: React.FunctionComponent = props => {\n const { styles, theme, className } = props;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n });\n\n return (\n
    \n \n \n
    \n );\n};\nCalendarYearNav.displayName = 'CalendarYearNav';\n\nconst CalendarYearTitle: React.FunctionComponent = props => {\n const {\n styles,\n theme,\n className,\n fromYear,\n toYear,\n strings = DefaultCalendarYearStrings,\n animateBackwards,\n animationDirection,\n } = props;\n\n const onHeaderSelect = () => {\n props.onHeaderSelect?.(true);\n };\n\n const onHeaderKeyDown = (ev: React.KeyboardEvent) => {\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.enter || ev.which === KeyCodes.space) {\n onHeaderSelect();\n }\n };\n\n const onRenderYear = (year: number) => {\n return props.onRenderYear?.(year) ?? year;\n };\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n hasHeaderClickCallback: !!props.onHeaderSelect,\n animateBackwards,\n animationDirection,\n });\n\n if (props.onHeaderSelect) {\n const rangeAriaLabel = strings.rangeAriaLabel;\n const headerAriaLabelFormatString = strings.headerAriaLabelFormatString;\n const currentDateRange = rangeAriaLabel\n ? typeof rangeAriaLabel === 'string'\n ? rangeAriaLabel\n : rangeAriaLabel(props)\n : undefined;\n\n const ariaLabel = headerAriaLabelFormatString\n ? format(headerAriaLabelFormatString, currentDateRange)\n : currentDateRange;\n\n return (\n \n \n {onRenderYear(fromYear)} - {onRenderYear(toYear)}\n \n \n );\n }\n\n return (\n
    \n {onRenderYear(fromYear)} - {onRenderYear(toYear)}\n
    \n );\n};\nCalendarYearTitle.displayName = 'CalendarYearTitle';\n\nconst CalendarYearHeader: React.FunctionComponent = props => {\n const { styles, theme, className, animateBackwards, animationDirection, onRenderTitle } = props;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n hasHeaderClickCallback: !!props.onHeaderSelect,\n animateBackwards,\n animationDirection,\n });\n\n return (\n
    \n {onRenderTitle?.(props) ?? }\n \n
    \n );\n};\nCalendarYearHeader.displayName = 'CalendarYearHeader';\n\nfunction useAnimateBackwards({ selectedYear, navigatedYear }: ICalendarYearProps) {\n const rangeYear = selectedYear || navigatedYear || new Date().getFullYear();\n const fromYear = Math.floor(rangeYear / 10) * 10;\n\n const previousFromYear = usePrevious(fromYear);\n\n if (!previousFromYear || previousFromYear === fromYear) {\n return undefined;\n } else if (previousFromYear > fromYear) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction useYearRangeState({ selectedYear, navigatedYear }: ICalendarYearProps) {\n const rangeYear = React.useMemo(() => {\n return selectedYear || navigatedYear || Math.floor(new Date().getFullYear() / 10) * 10;\n }, [navigatedYear, selectedYear]);\n\n const [fromYear, setFromYear] = React.useState(rangeYear);\n\n const onNavNext = () => {\n setFromYear(year => year + CELL_COUNT);\n };\n\n const onNavPrevious = () => {\n setFromYear(year => year - CELL_COUNT);\n };\n\n React.useEffect(() => {\n setFromYear(rangeYear);\n }, [rangeYear]);\n\n const toYear = fromYear + CELL_COUNT - 1;\n\n return [fromYear, toYear, onNavNext, onNavPrevious] as const;\n}\n\nexport const CalendarYearBase: React.FunctionComponent = props => {\n const animateBackwards = useAnimateBackwards(props);\n const [fromYear, toYear, onNavNext, onNavPrevious] = useYearRangeState(props);\n\n const gridRef = React.useRef(null);\n\n React.useImperativeHandle(props.componentRef, () => ({\n focus() {\n gridRef.current?.focus?.();\n },\n }));\n\n const { styles, theme, className } = props;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n });\n\n return (\n
    \n \n \n
    \n );\n};\nCalendarYearBase.displayName = 'CalendarYearBase';\n","import * as React from 'react';\nimport { getStyles } from './CalendarYear.styles';\nimport { styled } from '../../../Utilities';\nimport { CalendarYearBase } from './CalendarYear.base';\nimport type { ICalendarYearProps } from './CalendarYear.types';\n\nexport const CalendarYear: React.FunctionComponent = styled(\n CalendarYearBase,\n getStyles,\n undefined,\n { scope: 'CalendarYear' },\n);\n","import { getStyles as getPickerStyles } from '../CalendarPicker/CalendarPicker.styles';\nimport type { ICalendarYearStyleProps, ICalendarYearStyles } from './CalendarYear.types';\n\nexport const getStyles = (props: ICalendarYearStyleProps): ICalendarYearStyles => {\n /* Return styles from the base class.\n * If this component has extra styles not in the base, apply them here i.e.:\n * const myStyle: IStyle = {\n * display: \"block\"\n * };\n * return {...getPickerStyles(props), myStyle};\n */\n\n return getPickerStyles(props);\n};\n","import * as React from 'react';\nimport { FocusZone } from '../../../FocusZone';\nimport {\n addYears,\n setMonth,\n getYearStart,\n getYearEnd,\n getMonthStart,\n getMonthEnd,\n compareDatePart,\n DEFAULT_DATE_FORMATTING,\n} from '@fluentui/date-time-utilities';\nimport { Icon } from '../../../Icon';\nimport { getStyles } from './CalendarMonth.styles';\nimport { css, getRTL, classNamesFunction, KeyCodes, format, getPropsWithDefaults } from '@fluentui/utilities';\nimport { CalendarYear } from '../CalendarYear/CalendarYear';\nimport { usePrevious } from '@fluentui/react-hooks';\nimport { defaultCalendarNavigationIcons } from '../defaults';\nimport type { ICalendarMonthProps, ICalendarMonthStyles, ICalendarMonthStyleProps } from './CalendarMonth.types';\nimport type { ICalendarYear, ICalendarYearRange } from '../CalendarYear/CalendarYear.types';\n\nconst MONTHS_PER_ROW = 4;\n\nconst getClassNames = classNamesFunction();\n\nconst DEFAULT_PROPS: Readonly> = {\n styles: getStyles,\n strings: undefined,\n navigationIcons: defaultCalendarNavigationIcons,\n dateTimeFormatter: DEFAULT_DATE_FORMATTING,\n yearPickerHidden: false,\n};\n\nfunction useAnimateBackwards({ navigatedDate }: ICalendarMonthProps) {\n const currentYear = navigatedDate.getFullYear();\n const previousYear = usePrevious(currentYear);\n\n if (previousYear === undefined || previousYear === currentYear) {\n return undefined;\n } else {\n return previousYear > currentYear;\n }\n}\n\nfunction useFocusLogic({ componentRef }: ICalendarMonthProps) {\n const navigatedMonthRef = React.useRef(null);\n const calendarYearRef = React.useRef(null);\n const focusOnUpdate = React.useRef(false);\n\n const focus = React.useCallback(() => {\n if (calendarYearRef.current) {\n calendarYearRef.current.focus();\n } else if (navigatedMonthRef.current) {\n navigatedMonthRef.current.focus();\n }\n }, []);\n\n React.useImperativeHandle(componentRef, () => ({ focus }), [focus]);\n\n React.useEffect(() => {\n if (focusOnUpdate.current) {\n focus();\n focusOnUpdate.current = false;\n }\n });\n\n const focusOnNextUpdate = () => {\n focusOnUpdate.current = true;\n };\n\n return [navigatedMonthRef, calendarYearRef, focusOnNextUpdate] as const;\n}\n\nexport const CalendarMonthBase: React.FunctionComponent = propsWithoutDefaults => {\n const props = getPropsWithDefaults(DEFAULT_PROPS, propsWithoutDefaults);\n const [navigatedMonthRef, calendarYearRef, focusOnNextUpdate] = useFocusLogic(props);\n const [isYearPickerVisible, setIsYearPickerVisible] = React.useState(false);\n\n const animateBackwards = useAnimateBackwards(props);\n\n const {\n navigatedDate,\n selectedDate,\n strings,\n today = new Date(),\n navigationIcons,\n dateTimeFormatter,\n minDate,\n maxDate,\n theme,\n styles,\n className,\n allFocusable,\n highlightCurrentMonth,\n highlightSelectedMonth,\n animationDirection,\n yearPickerHidden,\n onNavigateDate,\n } = props;\n\n const selectMonthCallback = (newMonth: number): (() => void) => {\n return () => onSelectMonth(newMonth);\n };\n\n const onSelectNextYear = (): void => {\n onNavigateDate(addYears(navigatedDate, 1), false);\n };\n\n const onSelectPrevYear = (): void => {\n onNavigateDate(addYears(navigatedDate, -1), false);\n };\n\n const onSelectMonth = (newMonth: number): void => {\n // If header is clickable the calendars are overlayed, switch back to day picker when month is clicked\n props.onHeaderSelect?.();\n onNavigateDate(setMonth(navigatedDate, newMonth), true);\n };\n\n const onHeaderSelect = (): void => {\n if (!yearPickerHidden) {\n focusOnNextUpdate();\n setIsYearPickerVisible(true);\n } else {\n props.onHeaderSelect?.();\n }\n };\n\n const onSelectYear = (selectedYear: number) => {\n focusOnNextUpdate();\n const navYear = navigatedDate.getFullYear();\n if (navYear !== selectedYear) {\n let newNavigationDate = new Date(navigatedDate.getTime());\n newNavigationDate.setFullYear(selectedYear);\n // for min and max dates, adjust the new navigation date - perhaps this should be\n // checked on the master navigation date handler (i.e. in Calendar)\n if (maxDate && newNavigationDate > maxDate) {\n newNavigationDate = setMonth(newNavigationDate, maxDate.getMonth());\n } else if (minDate && newNavigationDate < minDate) {\n newNavigationDate = setMonth(newNavigationDate, minDate.getMonth());\n }\n onNavigateDate(newNavigationDate, true);\n }\n setIsYearPickerVisible(false);\n };\n\n const onYearPickerHeaderSelect = (focus: boolean): void => {\n focusOnNextUpdate();\n setIsYearPickerVisible(false);\n };\n\n // navigationIcons has a default value in defaultProps, but typescript doesn't recognize this\n const leftNavigationIcon = navigationIcons!.leftNavigation;\n const rightNavigationIcon = navigationIcons!.rightNavigation;\n const dateFormatter = dateTimeFormatter!;\n\n // determine if previous/next years are in bounds\n const isPrevYearInBounds = minDate ? compareDatePart(minDate, getYearStart(navigatedDate)) < 0 : true;\n const isNextYearInBounds = maxDate ? compareDatePart(getYearEnd(navigatedDate), maxDate) < 0 : true;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n hasHeaderClickCallback: !!props.onHeaderSelect || !yearPickerHidden,\n highlightCurrent: highlightCurrentMonth,\n highlightSelected: highlightSelectedMonth,\n animateBackwards,\n animationDirection,\n });\n\n if (isYearPickerVisible) {\n const [onRenderYear, yearStrings] = getYearStrings(props);\n // use navigated date for the year picker\n return (\n \n );\n }\n\n const rowIndexes = [];\n for (let i = 0; i < strings.shortMonths.length / MONTHS_PER_ROW; i++) {\n rowIndexes.push(i);\n }\n\n const yearString = dateFormatter.formatYear(navigatedDate);\n const headerAriaLabel = strings.monthPickerHeaderAriaLabel\n ? format(strings.monthPickerHeaderAriaLabel, yearString)\n : yearString;\n\n return (\n
    \n
    \n \n \n {yearString}\n \n \n
    \n \n \n \n \n \n \n
    \n
    \n \n
    \n {rowIndexes.map((rowNum: number) => {\n const monthsForRow = strings.shortMonths.slice(rowNum * MONTHS_PER_ROW, (rowNum + 1) * MONTHS_PER_ROW);\n return (\n
    \n {monthsForRow.map((month: string, index: number) => {\n const monthIndex = rowNum * MONTHS_PER_ROW + index;\n const indexedMonth = setMonth(navigatedDate, monthIndex);\n const isNavigatedMonth = navigatedDate.getMonth() === monthIndex;\n const isSelectedMonth = selectedDate.getMonth() === monthIndex;\n const isSelectedYear = selectedDate.getFullYear() === navigatedDate.getFullYear();\n const isInBounds =\n (minDate ? compareDatePart(minDate, getMonthEnd(indexedMonth)) < 1 : true) &&\n (maxDate ? compareDatePart(getMonthStart(indexedMonth), maxDate) < 1 : true);\n\n return (\n \n {month}\n \n );\n })}\n
    \n );\n })}\n
    \n
    \n
    \n );\n};\nCalendarMonthBase.displayName = 'CalendarMonthBase';\n\nfunction getYearStrings({ strings, navigatedDate, dateTimeFormatter }: ICalendarMonthProps) {\n const yearToString = (year: number) => {\n if (dateTimeFormatter) {\n // create a date based on the current nav date\n const yearFormattingDate = new Date(navigatedDate.getTime());\n yearFormattingDate.setFullYear(year);\n return dateTimeFormatter.formatYear(yearFormattingDate);\n }\n return String(year);\n };\n\n const yearRangeToString = (yearRange: ICalendarYearRange) => {\n return `${yearToString(yearRange.fromYear)} - ${yearToString(yearRange.toYear)}`;\n };\n\n const yearRangeToNextDecadeLabel = (yearRange: ICalendarYearRange) => {\n return strings.nextYearRangeAriaLabel ? `${strings.nextYearRangeAriaLabel} ${yearRangeToString(yearRange)}` : '';\n };\n\n const yearRangeToPrevDecadeLabel = (yearRange: ICalendarYearRange) => {\n return strings.prevYearRangeAriaLabel ? `${strings.prevYearRangeAriaLabel} ${yearRangeToString(yearRange)}` : '';\n };\n\n return [\n yearToString,\n {\n rangeAriaLabel: yearRangeToString,\n prevRangeAriaLabel: yearRangeToPrevDecadeLabel,\n nextRangeAriaLabel: yearRangeToNextDecadeLabel,\n headerAriaLabelFormatString: strings.yearPickerHeaderAriaLabel,\n } as const,\n ] as const;\n}\n\nfunction isCurrentMonth(month: number, year: number, today: Date): boolean {\n return today.getFullYear() === year && today.getMonth() === month;\n}\n\nfunction onButtonKeyDown(callback: () => void): (ev: React.KeyboardEvent) => void {\n return (ev: React.KeyboardEvent) => {\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.enter:\n callback();\n break;\n }\n };\n}\n","import * as React from 'react';\nimport { CalendarMonthBase } from './CalendarMonth.base';\nimport { getStyles } from './CalendarMonth.styles';\nimport { styled } from '../../../Utilities';\nimport type { ICalendarMonthProps } from './CalendarMonth.types';\n\nexport const CalendarMonth: React.FunctionComponent = styled(\n CalendarMonthBase,\n getStyles,\n undefined,\n { scope: 'CalendarMonth' },\n);\n","import * as React from 'react';\nimport {\n DayOfWeek,\n FirstWeekOfYear,\n DateRangeType,\n addMonths,\n addYears,\n DEFAULT_CALENDAR_STRINGS,\n DEFAULT_DATE_FORMATTING,\n} from '@fluentui/date-time-utilities';\nimport { CalendarDay } from './CalendarDay/CalendarDay';\nimport { CalendarMonth } from './CalendarMonth/CalendarMonth';\nimport {\n css,\n KeyCodes,\n classNamesFunction,\n focusAsync,\n format,\n FocusRects,\n getPropsWithDefaults,\n getWindow,\n} from '@fluentui/utilities';\nimport { useControllableValue } from '@fluentui/react-hooks';\nimport { defaultCalendarNavigationIcons } from './defaults';\nimport type { ICalendarProps, ICalendarStyleProps, ICalendarStyles } from './Calendar.types';\nimport type { ICalendarDay } from './CalendarDay/CalendarDay.types';\nimport type { ICalendarMonth } from './CalendarMonth/CalendarMonth.types';\n\nconst MIN_SIZE_FORCE_OVERLAY = 440;\n\nconst getClassNames = classNamesFunction();\n\nconst defaultWorkWeekDays: DayOfWeek[] = [\n DayOfWeek.Monday,\n DayOfWeek.Tuesday,\n DayOfWeek.Wednesday,\n DayOfWeek.Thursday,\n DayOfWeek.Friday,\n];\n\nconst DEFAULT_PROPS: Partial = {\n isMonthPickerVisible: true,\n isDayPickerVisible: true,\n showMonthPickerAsOverlay: false,\n today: new Date(),\n firstDayOfWeek: DayOfWeek.Sunday,\n dateRangeType: DateRangeType.Day,\n showGoToToday: true,\n strings: DEFAULT_CALENDAR_STRINGS,\n highlightCurrentMonth: false,\n highlightSelectedMonth: false,\n navigationIcons: defaultCalendarNavigationIcons,\n showWeekNumbers: false,\n firstWeekOfYear: FirstWeekOfYear.FirstDay,\n dateTimeFormatter: DEFAULT_DATE_FORMATTING,\n showSixWeeksByDefault: false,\n workWeekDays: defaultWorkWeekDays,\n showCloseButton: false,\n allFocusable: false,\n};\n\nfunction useDateState({ value, today = new Date(), onSelectDate }: ICalendarProps) {\n /** The currently selected date in the calendar */\n const [selectedDate = today, setSelectedDate] = useControllableValue(value, today);\n\n /** The currently focused date in the day picker, but not necessarily selected */\n const [navigatedDay = today, setNavigatedDay] = React.useState(value);\n\n /** The currently focused date in the month picker, but not necessarily selected */\n const [navigatedMonth = today, setNavigatedMonth] = React.useState(value);\n\n /** If using a controlled value, when that value changes, navigate to that date */\n const [lastSelectedDate = today, setLastSelectedDate] = React.useState(value);\n if (value && lastSelectedDate.valueOf() !== value.valueOf()) {\n setNavigatedDay(value);\n setNavigatedMonth(value);\n setLastSelectedDate(value);\n }\n\n const navigateMonth = (date: Date) => {\n setNavigatedMonth(date);\n };\n\n const navigateDay = (date: Date) => {\n setNavigatedMonth(date);\n setNavigatedDay(date);\n };\n\n const onDateSelected = (date: Date, selectedDateRangeArray?: Date[]) => {\n setNavigatedMonth(date);\n setNavigatedDay(date);\n setSelectedDate(date);\n onSelectDate?.(date, selectedDateRangeArray);\n };\n\n return [selectedDate, navigatedDay, navigatedMonth, onDateSelected, navigateDay, navigateMonth] as const;\n}\n\nfunction useVisibilityState(props: ICalendarProps) {\n /** State used to show/hide month picker */\n const [isMonthPickerVisible = true, setIsMonthPickerVisible] = useControllableValue(\n getShowMonthPickerAsOverlay(props) ? undefined : props.isMonthPickerVisible,\n false,\n );\n /** State used to show/hide day picker */\n const [isDayPickerVisible = true, setIsDayPickerVisible] = useControllableValue(\n getShowMonthPickerAsOverlay(props) ? undefined : props.isDayPickerVisible,\n true,\n );\n\n const toggleDayMonthPickerVisibility = () => {\n setIsMonthPickerVisible(!isMonthPickerVisible);\n setIsDayPickerVisible(!isDayPickerVisible);\n };\n\n return [isMonthPickerVisible, isDayPickerVisible, toggleDayMonthPickerVisibility] as const;\n}\n\nfunction useFocusLogic({ componentRef }: ICalendarProps, isDayPickerVisible: boolean, isMonthPickerVisible: boolean) {\n const dayPicker = React.useRef(null);\n const monthPicker = React.useRef(null);\n const focusOnUpdate = React.useRef(false);\n\n const focus = React.useCallback(() => {\n if (isDayPickerVisible && dayPicker.current) {\n focusAsync(dayPicker.current);\n } else if (isMonthPickerVisible && monthPicker.current) {\n focusAsync(monthPicker.current);\n }\n }, [isDayPickerVisible, isMonthPickerVisible]);\n\n React.useImperativeHandle(componentRef, () => ({ focus }), [focus]);\n\n React.useEffect(() => {\n if (focusOnUpdate.current) {\n focus();\n focusOnUpdate.current = false;\n }\n });\n\n const focusOnNextUpdate = () => {\n focusOnUpdate.current = true;\n };\n\n return [dayPicker, monthPicker, focusOnNextUpdate] as const;\n}\n\nexport const CalendarBase: React.FunctionComponent = React.forwardRef(\n (propsWithoutDefaults, forwardedRef) => {\n const props = getPropsWithDefaults(DEFAULT_PROPS, propsWithoutDefaults);\n\n const [selectedDate, navigatedDay, navigatedMonth, onDateSelected, navigateDay, navigateMonth] =\n useDateState(props);\n const [isMonthPickerVisible, isDayPickerVisible, toggleDayMonthPickerVisibility] = useVisibilityState(props);\n const [dayPicker, monthPicker, focusOnNextUpdate] = useFocusLogic(props, isDayPickerVisible, isMonthPickerVisible);\n\n const renderGoToTodayButton = () => {\n let goTodayEnabled = showGoToToday;\n\n if (goTodayEnabled && today) {\n goTodayEnabled =\n navigatedDay.getFullYear() !== today.getFullYear() ||\n navigatedDay.getMonth() !== today.getMonth() ||\n navigatedMonth.getFullYear() !== today.getFullYear() ||\n navigatedMonth.getMonth() !== today.getMonth();\n }\n\n return (\n showGoToToday && (\n \n {strings!.goToToday}\n \n )\n );\n };\n\n const onNavigateDayDate = (date: Date, focusOnNavigatedDay: boolean): void => {\n navigateDay(date);\n if (focusOnNavigatedDay) {\n focusOnNextUpdate();\n }\n };\n\n const onNavigateMonthDate = (date: Date, focusOnNavigatedDay: boolean): void => {\n if (focusOnNavigatedDay) {\n focusOnNextUpdate();\n }\n\n if (!focusOnNavigatedDay) {\n navigateMonth(date);\n return;\n }\n\n if (monthPickerOnly) {\n onDateSelected(date);\n }\n\n navigateDay(date);\n };\n\n const onHeaderSelect = getShowMonthPickerAsOverlay(props)\n ? (): void => {\n toggleDayMonthPickerVisibility();\n\n focusOnNextUpdate();\n }\n : undefined;\n\n const onGotoToday = (): void => {\n navigateDay(today!);\n focusOnNextUpdate();\n };\n\n const onButtonKeyDown = (callback: () => void): ((ev: React.KeyboardEvent) => void) => {\n return (ev: React.KeyboardEvent) => {\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.enter:\n case KeyCodes.space:\n callback();\n break;\n }\n };\n };\n\n const onDatePickerPopupKeyDown = (ev: React.KeyboardEvent): void => {\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.enter:\n ev.preventDefault();\n break;\n\n case KeyCodes.backspace:\n ev.preventDefault();\n break;\n\n case KeyCodes.escape:\n props.onDismiss?.();\n break;\n\n case KeyCodes.pageUp:\n if (ev.ctrlKey) {\n // go to next year\n navigateDay(addYears(navigatedDay, 1));\n } else {\n // go to next month\n navigateDay(addMonths(navigatedDay, 1));\n }\n ev.preventDefault();\n break;\n case KeyCodes.pageDown:\n if (ev.ctrlKey) {\n // go to previous year\n navigateDay(addYears(navigatedDay, -1));\n } else {\n // go to previous month\n navigateDay(addMonths(navigatedDay, -1));\n }\n ev.preventDefault();\n break;\n default:\n break;\n }\n };\n const rootClass = 'ms-DatePicker';\n const {\n firstDayOfWeek,\n dateRangeType,\n strings,\n showGoToToday,\n highlightCurrentMonth,\n highlightSelectedMonth,\n navigationIcons,\n minDate,\n maxDate,\n restrictedDates,\n id,\n className,\n showCloseButton,\n allFocusable,\n styles,\n showWeekNumbers,\n theme,\n calendarDayProps,\n calendarMonthProps,\n dateTimeFormatter,\n today = new Date(),\n } = props;\n\n const showMonthPickerAsOverlay = getShowMonthPickerAsOverlay(props);\n\n const monthPickerOnly = !showMonthPickerAsOverlay && !isDayPickerVisible;\n const overlaidWithButton = showMonthPickerAsOverlay && showGoToToday;\n\n const classes = getClassNames(styles, {\n theme: theme!,\n className,\n isMonthPickerVisible,\n isDayPickerVisible,\n monthPickerOnly,\n showMonthPickerAsOverlay,\n overlaidWithButton,\n overlayedWithButton: overlaidWithButton,\n showGoToToday,\n showWeekNumbers,\n });\n\n let todayDateString: string = '';\n let selectedDateString: string = '';\n if (dateTimeFormatter && strings!.todayDateFormatString) {\n todayDateString = format(strings!.todayDateFormatString, dateTimeFormatter.formatMonthDayYear(today, strings!));\n }\n if (dateTimeFormatter && strings!.selectedDateFormatString) {\n const dateStringFormatter = monthPickerOnly\n ? dateTimeFormatter.formatMonthYear\n : dateTimeFormatter.formatMonthDayYear;\n selectedDateString = format(strings!.selectedDateFormatString, dateStringFormatter(selectedDate, strings!));\n }\n const selectionAndTodayString = selectedDateString + ', ' + todayDateString;\n\n return (\n \n
    \n {selectedDateString}\n
    \n {isDayPickerVisible && (\n \n )}\n {isDayPickerVisible && isMonthPickerVisible &&
    }\n {isMonthPickerVisible ? (\n
    \n \n {renderGoToTodayButton()}\n
    \n ) : (\n renderGoToTodayButton()\n )}\n \n
    \n );\n },\n);\nCalendarBase.displayName = 'CalendarBase';\n\nfunction getShowMonthPickerAsOverlay({ showMonthPickerAsOverlay, isDayPickerVisible }: ICalendarProps) {\n const win = getWindow();\n return showMonthPickerAsOverlay || (isDayPickerVisible && win && win.innerWidth <= MIN_SIZE_FORCE_OVERLAY);\n}\n","import { normalize, FontSizes, getFocusStyle, HighContrastSelector } from '@fluentui/style-utilities';\nimport type { ICalendarStyleProps, ICalendarStyles } from './Calendar.types';\n\nexport const styles = (props: ICalendarStyleProps): ICalendarStyles => {\n const { className, theme, isDayPickerVisible, isMonthPickerVisible, showWeekNumbers } = props;\n const { palette } = theme;\n\n let totalWidth = isDayPickerVisible && isMonthPickerVisible ? 440 : 220;\n if (showWeekNumbers && isDayPickerVisible) {\n totalWidth += 30;\n }\n\n return {\n root: [\n normalize,\n {\n display: 'flex',\n width: totalWidth,\n },\n !isMonthPickerVisible && {\n flexDirection: 'column',\n },\n className,\n ],\n divider: {\n top: 0,\n borderRight: '1px solid',\n borderColor: palette.neutralLight,\n },\n monthPickerWrapper: [\n {\n display: 'flex',\n flexDirection: 'column',\n },\n ],\n goTodayButton: [\n getFocusStyle(theme, { inset: -1 }),\n {\n bottom: 0,\n color: palette.neutralPrimary,\n height: 30,\n lineHeight: 30,\n backgroundColor: 'transparent',\n border: 'none',\n boxSizing: 'content-box',\n padding: '0 4px',\n alignSelf: 'flex-end',\n marginRight: 16,\n marginTop: 3,\n fontSize: FontSizes.small,\n fontFamily: 'inherit',\n overflow: 'visible', // explicitly specify for IE11\n selectors: {\n '& div': {\n fontSize: FontSizes.small,\n },\n '&:hover': {\n color: palette.themePrimary,\n backgroundColor: 'transparent',\n cursor: 'pointer',\n selectors: {\n [HighContrastSelector]: {\n outline: '1px solid Buttontext',\n borderRadius: '2px',\n },\n },\n },\n '&:active': {\n color: palette.themeDark,\n },\n '&:disabled': {\n color: palette.neutralTertiaryAlt,\n pointerEvents: 'none',\n },\n },\n },\n ],\n liveRegion: {\n border: 0,\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n width: '1px',\n position: 'absolute',\n },\n };\n};\n","import * as React from 'react';\nimport { styled } from '@fluentui/utilities';\nimport { CalendarBase } from './Calendar.base';\nimport { styles } from './Calendar.styles';\nimport type { ICalendarProps } from './Calendar.types';\n\nexport const Calendar: React.FunctionComponent = styled(CalendarBase, styles, undefined, {\n scope: 'Calendar',\n});\n","/**\n * Rectangle helper class.\n *\n * @public\n * {@docCategory Rectangle}\n */\nexport class Rectangle {\n public top: number;\n public bottom: number;\n public left: number;\n public right: number;\n\n constructor(left: number = 0, right: number = 0, top: number = 0, bottom: number = 0) {\n this.top = top;\n this.bottom = bottom;\n this.left = left;\n this.right = right;\n }\n\n /**\n * Calculated automatically by subtracting the right from left\n */\n public get width(): number {\n return this.right - this.left;\n }\n\n /**\n * Calculated automatically by subtracting the bottom from top.\n */\n public get height(): number {\n return this.bottom - this.top;\n }\n\n /**\n * Tests if another rect is approximately equal to this rect (within 4 decimal places.)\n */\n public equals(rect: Rectangle): boolean {\n // Fixing to 4 decimal places because it allows enough precision and will handle cases when something\n // should be rounded, like .999999 should round to 1.\n return (\n parseFloat(this.top.toFixed(4)) === parseFloat(rect.top.toFixed(4)) &&\n parseFloat(this.bottom.toFixed(4)) === parseFloat(rect.bottom.toFixed(4)) &&\n parseFloat(this.left.toFixed(4)) === parseFloat(rect.left.toFixed(4)) &&\n parseFloat(this.right.toFixed(4)) === parseFloat(rect.right.toFixed(4))\n );\n }\n}\n","import { DirectionalHint } from '../../common/DirectionalHint';\nimport { getScrollbarWidth, getRTL } from '../../Utilities';\nimport { RectangleEdge } from './positioning.types';\nimport { Rectangle } from '../../Utilities';\nimport type { IRectangle, Point } from '../../Utilities';\nimport type {\n IPositionDirectionalHintData,\n IPositionedData,\n ICalloutPositionedInfo,\n ICalloutBeakPositionedInfo,\n IPositionProps,\n ICalloutPositionProps,\n IWindowWithSegments,\n} from './positioning.types';\n\nfunction _createPositionData(\n targetEdge: RectangleEdge,\n alignmentEdge?: RectangleEdge,\n isAuto?: boolean,\n): IPositionDirectionalHintData {\n return {\n targetEdge,\n alignmentEdge,\n isAuto,\n };\n}\n\n// Currently the beakPercent is set to 50 for all positions meaning that it should tend to the center of the target\nconst DirectionalDictionary: { [key: number]: IPositionDirectionalHintData } = {\n [DirectionalHint.topLeftEdge]: _createPositionData(RectangleEdge.top, RectangleEdge.left),\n [DirectionalHint.topCenter]: _createPositionData(RectangleEdge.top),\n [DirectionalHint.topRightEdge]: _createPositionData(RectangleEdge.top, RectangleEdge.right),\n [DirectionalHint.topAutoEdge]: _createPositionData(RectangleEdge.top, undefined, true),\n [DirectionalHint.bottomLeftEdge]: _createPositionData(RectangleEdge.bottom, RectangleEdge.left),\n [DirectionalHint.bottomCenter]: _createPositionData(RectangleEdge.bottom),\n [DirectionalHint.bottomRightEdge]: _createPositionData(RectangleEdge.bottom, RectangleEdge.right),\n [DirectionalHint.bottomAutoEdge]: _createPositionData(RectangleEdge.bottom, undefined, true),\n [DirectionalHint.leftTopEdge]: _createPositionData(RectangleEdge.left, RectangleEdge.top),\n [DirectionalHint.leftCenter]: _createPositionData(RectangleEdge.left),\n [DirectionalHint.leftBottomEdge]: _createPositionData(RectangleEdge.left, RectangleEdge.bottom),\n [DirectionalHint.rightTopEdge]: _createPositionData(RectangleEdge.right, RectangleEdge.top),\n [DirectionalHint.rightCenter]: _createPositionData(RectangleEdge.right),\n [DirectionalHint.rightBottomEdge]: _createPositionData(RectangleEdge.right, RectangleEdge.bottom),\n};\n\n/**\n * Do not call methods from this directly, use either positionCallout or positionElement or make another function that\n * utilizes them.\n * START Private functions and interfaces\n */\n\nexport interface IElementPosition {\n elementRectangle: Rectangle;\n targetEdge: RectangleEdge;\n alignmentEdge: RectangleEdge | undefined;\n forcedInBounds?: boolean;\n}\n\nexport interface IElementPositionInfo extends IElementPosition {\n targetRectangle: Rectangle;\n}\n\ntype PartialIRectangle = Partial;\n\ninterface IPartialIRectangle extends PartialIRectangle {\n [key: string]: number | undefined;\n}\n\nfunction _isRectangleWithinBounds(rect: Rectangle, boundingRect: Rectangle): boolean {\n if (rect.top < boundingRect.top) {\n return false;\n }\n if (rect.bottom > boundingRect.bottom) {\n return false;\n }\n if (rect.left < boundingRect.left) {\n return false;\n }\n if (rect.right > boundingRect.right) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Gets all of the edges of a rectangle that are outside of the given bounds.\n * If there are no out of bounds edges it returns an empty array.\n */\nfunction _getOutOfBoundsEdges(rect: Rectangle, boundingRect: Rectangle): RectangleEdge[] {\n const outOfBounds: RectangleEdge[] = [];\n\n if (rect.top < boundingRect.top) {\n outOfBounds.push(RectangleEdge.top);\n }\n if (rect.bottom > boundingRect.bottom) {\n outOfBounds.push(RectangleEdge.bottom);\n }\n if (rect.left < boundingRect.left) {\n outOfBounds.push(RectangleEdge.left);\n }\n if (rect.right > boundingRect.right) {\n outOfBounds.push(RectangleEdge.right);\n }\n\n return outOfBounds;\n}\n\nfunction _getEdgeValue(rect: Rectangle, edge: RectangleEdge): number {\n return (rect as any)[RectangleEdge[edge]] as number;\n}\n\nfunction _setEdgeValue(rect: Rectangle, edge: RectangleEdge, value: number) {\n (rect as any)[RectangleEdge[edge]] = value;\n return rect;\n}\n\n/**\n * Returns the middle value of an edge. Only returns 1 value rather than xy coordinates as\n * the itself already contains the other coordinate.\n * For instance, a bottom edge's current value is it's y coordinate, so the number returned is the x.\n */\nfunction _getCenterValue(rect: Rectangle, edge: RectangleEdge): number {\n const edges = _getFlankingEdges(edge);\n return (_getEdgeValue(rect, edges.positiveEdge) + _getEdgeValue(rect, edges.negativeEdge)) / 2;\n}\n\n/**\n * Flips the value depending on the edge.\n * If the edge is a \"positive\" edge, Top or Left, then the value should stay as it is.\n * If the edge is a \"negative\" edge, Bottom or Right, then the value should be flipped.\n * This is to account for the fact that the coordinates are effectively reserved in certain cases for the\n * \"negative\" edges.\n *\n * For example, when testing to see if a bottom edge 1 is within the bounds of another bottom edge 2:\n * If edge 1 is greater than edge 2 then it is out of bounds. This is reversed for top edge 1 and top edge 2.\n * If top edge 1 is less than edge 2 then it is out of bounds.\n */\nfunction _getRelativeEdgeValue(edge: RectangleEdge, value: number): number {\n if (edge > 0) {\n return value;\n } else {\n return value * -1;\n }\n}\n\nfunction _getRelativeRectEdgeValue(edge: RectangleEdge, rect: Rectangle): number {\n return _getRelativeEdgeValue(edge, _getEdgeValue(rect, edge));\n}\n\nfunction _getRelativeEdgeDifference(rect: Rectangle, hostRect: Rectangle, edge: RectangleEdge): number {\n const edgeDifference = _getEdgeValue(rect, edge) - _getEdgeValue(hostRect, edge);\n return _getRelativeEdgeValue(edge, edgeDifference);\n}\n\n/**\n * Moves the edge of a rectangle to the value given. It only moves the edge in a linear direction based on that edge.\n * For example, if it's a bottom edge it will only change y coordinates.\n * if maintainSize is set to false, it will only adjust the specified edge value\n */\nfunction _moveEdge(rect: Rectangle, edge: RectangleEdge, newValue: number, maintainSize = true): Rectangle {\n const difference = _getEdgeValue(rect, edge) - newValue;\n let returnRect = _setEdgeValue(rect, edge, newValue);\n if (maintainSize) {\n returnRect = _setEdgeValue(rect, edge * -1, _getEdgeValue(rect, edge * -1) - difference);\n }\n return returnRect;\n}\n\n/**\n * Aligns the edge on the passed in rect to the target. If there is a gap then it will have that space between the two.\n */\nfunction _alignEdges(rect: Rectangle, target: Rectangle, edge: RectangleEdge, gap: number = 0): Rectangle {\n return _moveEdge(rect, edge, _getEdgeValue(target, edge) + _getRelativeEdgeValue(edge, gap));\n}\n\n/**\n * Aligns the targetEdge on the passed in target to the rects corresponding opposite edge.\n * For instance if targetEdge is bottom, then the rects top will be moved to match it.\n */\nfunction _alignOppositeEdges(\n rect: Rectangle,\n target: Rectangle,\n targetEdge: RectangleEdge,\n gap: number = 0,\n): Rectangle {\n const oppositeEdge = targetEdge * -1;\n const adjustedGap = _getRelativeEdgeValue(oppositeEdge, gap);\n return _moveEdge(rect, targetEdge * -1, _getEdgeValue(target, targetEdge) + adjustedGap);\n}\n\n/**\n * Tests to see if the given edge is within the bounds of the given rectangle.\n */\nfunction _isEdgeInBounds(rect: Rectangle, bounds: Rectangle, edge: RectangleEdge): boolean {\n const adjustedRectValue = _getRelativeRectEdgeValue(edge, rect);\n return adjustedRectValue > _getRelativeRectEdgeValue(edge, bounds);\n}\n\n/**\n * Returns a measure of how much a rectangle is out of bounds for a given alignment;\n * this can be used to compare which rectangle is more or less out of bounds.\n * A value of 0 means the rectangle is entirely in bounds\n */\nfunction _getOutOfBoundsDegree(rect: Rectangle, bounds: Rectangle) {\n const breakingEdges = _getOutOfBoundsEdges(rect, bounds);\n let total = 0;\n for (const edge of breakingEdges) {\n total += _getRelativeEdgeDifference(rect, bounds, edge) ** 2;\n }\n\n return total;\n}\n\n/**\n * Attempts to move the rectangle through various sides of the target to find a place to fit.\n * If no fit is found, the least bad option should be returned.\n */\nfunction _flipToFit(\n rect: Rectangle,\n target: Rectangle,\n bounding: Rectangle,\n positionData: IPositionDirectionalHintData,\n gap: number = 0,\n): IElementPosition {\n const directions: RectangleEdge[] = [\n RectangleEdge.left,\n RectangleEdge.right,\n RectangleEdge.bottom,\n RectangleEdge.top,\n ];\n // In RTL page, RectangleEdge.right has a higher priority than RectangleEdge.left, so the order should be updated.\n if (getRTL()) {\n directions[0] *= -1;\n directions[1] *= -1;\n }\n let currentEstimate = rect;\n let currentEdge = positionData.targetEdge;\n let currentAlignment = positionData.alignmentEdge;\n\n // keep track of least bad option, in case no sides fit\n let oobDegree;\n let bestEdge = currentEdge;\n let bestAlignment = currentAlignment;\n\n // Keep switching sides until one is found with enough space.\n // If all sides don't fit then return the unmodified element.\n for (let i = 0; i < 4; i++) {\n if (!_isEdgeInBounds(currentEstimate, bounding, currentEdge)) {\n // update least-bad edges\n const currentOOBDegree = _getOutOfBoundsDegree(currentEstimate, bounding);\n if (!oobDegree || currentOOBDegree < oobDegree) {\n oobDegree = currentOOBDegree;\n bestEdge = currentEdge;\n bestAlignment = currentAlignment;\n }\n\n directions.splice(directions.indexOf(currentEdge), 1);\n if (directions.length > 0) {\n if (directions.indexOf(currentEdge * -1) > -1) {\n currentEdge = currentEdge * -1;\n } else {\n currentAlignment = currentEdge;\n currentEdge = directions.slice(-1)[0];\n }\n currentEstimate = _estimatePosition(\n rect,\n target,\n { targetEdge: currentEdge, alignmentEdge: currentAlignment },\n gap,\n );\n }\n } else {\n return {\n elementRectangle: currentEstimate,\n targetEdge: currentEdge,\n alignmentEdge: currentAlignment,\n };\n }\n }\n\n // nothing fits, use least-bad option\n currentEstimate = _estimatePosition(rect, target, { targetEdge: bestEdge, alignmentEdge: bestAlignment }, gap);\n return {\n elementRectangle: currentEstimate,\n targetEdge: bestEdge,\n alignmentEdge: bestAlignment,\n };\n}\n\n/**\n * Flips only the alignment edge of an element rectangle. This is used instead of nudging the alignment edges\n * into position, when `alignTargetEdge` is specified.\n */\nfunction _flipAlignmentEdge(\n elementEstimate: IElementPosition,\n target: Rectangle,\n gap: number,\n coverTarget?: boolean,\n): IElementPosition {\n const { alignmentEdge, targetEdge, elementRectangle } = elementEstimate;\n const oppositeEdge = alignmentEdge! * -1;\n const newEstimate = _estimatePosition(\n elementRectangle,\n target,\n { targetEdge, alignmentEdge: oppositeEdge },\n gap,\n coverTarget,\n );\n\n return {\n elementRectangle: newEstimate,\n targetEdge,\n alignmentEdge: oppositeEdge,\n };\n}\n\n/**\n * Adjusts a element rectangle to fit within the bounds given. If directionalHintFixed or covertarget is passed in\n * then the element will not flip sides on the target. They will, however, be nudged to fit within the bounds given.\n */\nfunction _adjustFitWithinBounds(\n element: Rectangle,\n target: Rectangle,\n bounding: Rectangle,\n positionData: IPositionDirectionalHintData,\n gap: number = 0,\n directionalHintFixed?: boolean,\n coverTarget?: boolean,\n): IElementPosition {\n const { alignmentEdge, alignTargetEdge } = positionData;\n let elementEstimate: IElementPosition = {\n elementRectangle: element,\n targetEdge: positionData.targetEdge,\n alignmentEdge,\n };\n\n if (!directionalHintFixed && !coverTarget) {\n elementEstimate = _flipToFit(element, target, bounding, positionData, gap);\n }\n const outOfBounds = _getOutOfBoundsEdges(elementEstimate.elementRectangle, bounding);\n // if directionalHintFixed is specified, we need to force the target edge to not change\n // we need *-1 because targetEdge refers to the target's edge; the callout edge is the opposite\n const fixedEdge = directionalHintFixed ? -elementEstimate.targetEdge : undefined;\n\n if (outOfBounds.length > 0) {\n if (alignTargetEdge) {\n // The edge opposite to the alignment edge might be out of bounds.\n // Flip alignment to see if we can get it within bounds.\n if (elementEstimate.alignmentEdge && outOfBounds.indexOf(elementEstimate.alignmentEdge * -1) > -1) {\n const flippedElementEstimate = _flipAlignmentEdge(elementEstimate, target, gap, coverTarget);\n if (_isRectangleWithinBounds(flippedElementEstimate.elementRectangle, bounding)) {\n return flippedElementEstimate;\n } else {\n // If the flipped elements edges are still out of bounds, try nudging it.\n elementEstimate = _alignOutOfBoundsEdges(\n _getOutOfBoundsEdges(flippedElementEstimate.elementRectangle, bounding),\n elementEstimate,\n bounding,\n fixedEdge,\n );\n }\n } else {\n elementEstimate = _alignOutOfBoundsEdges(outOfBounds, elementEstimate, bounding, fixedEdge);\n }\n } else {\n elementEstimate = _alignOutOfBoundsEdges(outOfBounds, elementEstimate, bounding, fixedEdge);\n }\n }\n\n return elementEstimate;\n}\n\n/**\n * Iterates through a list of out of bounds edges and tries to nudge and align them.\n * @param outOfBoundsEdges - Array of edges that are out of bounds\n * @param elementEstimate - The current element positioning estimate\n * @param bounding - The current bounds\n * @param preserveEdge - Specify an edge that should not be modified\n */\nfunction _alignOutOfBoundsEdges(\n outOfBoundsEdges: RectangleEdge[],\n elementEstimate: IElementPosition,\n bounding: Rectangle,\n preserveEdge?: RectangleEdge,\n) {\n for (const direction of outOfBoundsEdges) {\n let edgeAttempt;\n\n // if preserveEdge is specified, do not call _alignEdges, skip directly to _moveEdge\n // this is because _alignEdges will move the opposite edge\n if (preserveEdge && preserveEdge === direction * -1) {\n edgeAttempt = _moveEdge(elementEstimate.elementRectangle, direction, _getEdgeValue(bounding, direction), false);\n elementEstimate.forcedInBounds = true;\n } else {\n edgeAttempt = _alignEdges(elementEstimate.elementRectangle, bounding, direction);\n const inBounds = _isEdgeInBounds(edgeAttempt, bounding, direction * -1);\n // only update estimate if the attempt didn't break out of the opposite bounding edge\n if (!inBounds) {\n edgeAttempt = _moveEdge(edgeAttempt, direction * -1, _getEdgeValue(bounding, direction * -1), false);\n elementEstimate.forcedInBounds = true;\n }\n }\n\n elementEstimate.elementRectangle = edgeAttempt;\n }\n\n return elementEstimate;\n}\n\n/**\n * Moves the middle point on an edge to the point given.\n * Only moves in one direction. For instance if a bottom edge is passed in, then\n * the bottom edge will be moved in the x axis to match the point.\n */\nfunction _centerEdgeToPoint(rect: Rectangle, edge: RectangleEdge, point: number): Rectangle {\n const { positiveEdge } = _getFlankingEdges(edge);\n const elementMiddle = _getCenterValue(rect, edge);\n const distanceToMiddle = elementMiddle - _getEdgeValue(rect, positiveEdge);\n return _moveEdge(rect, positiveEdge, point - distanceToMiddle);\n}\n\n/**\n * Moves the element rectangle to be appropriately positioned relative to a given target.\n * Does not flip or adjust the element.\n */\nfunction _estimatePosition(\n elementToPosition: Rectangle,\n target: Rectangle,\n positionData: IPositionDirectionalHintData,\n gap: number = 0,\n coverTarget?: boolean,\n): Rectangle {\n let estimatedElementPosition = new Rectangle(\n elementToPosition.left,\n elementToPosition.right,\n elementToPosition.top,\n elementToPosition.bottom,\n );\n const { alignmentEdge, targetEdge } = positionData;\n const elementEdge = coverTarget ? targetEdge : targetEdge * -1;\n estimatedElementPosition = coverTarget\n ? _alignEdges(estimatedElementPosition, target, targetEdge, gap)\n : _alignOppositeEdges(estimatedElementPosition, target, targetEdge, gap);\n // if no alignment edge is provided it's supposed to be centered.\n if (!alignmentEdge) {\n const targetMiddlePoint = _getCenterValue(target, targetEdge);\n estimatedElementPosition = _centerEdgeToPoint(estimatedElementPosition, elementEdge, targetMiddlePoint);\n } else {\n estimatedElementPosition = _alignEdges(estimatedElementPosition, target, alignmentEdge);\n }\n\n return estimatedElementPosition;\n}\n\n/**\n * Returns the non-opposite edges of the target edge.\n * For instance if bottom is passed in then left and right will be returned.\n */\nfunction _getFlankingEdges(edge: RectangleEdge): { positiveEdge: RectangleEdge; negativeEdge: RectangleEdge } {\n if (edge === RectangleEdge.top || edge === RectangleEdge.bottom) {\n return {\n positiveEdge: RectangleEdge.left,\n negativeEdge: RectangleEdge.right,\n };\n } else {\n return {\n positiveEdge: RectangleEdge.top,\n negativeEdge: RectangleEdge.bottom,\n };\n }\n}\n\n/**\n * Retrieve the final value for the return edge of `elementRectangle`. If the `elementRectangle` is closer to one side\n * of the bounds versus the other, the return edge is flipped to grow inward.\n */\nfunction _finalizeReturnEdge(\n elementRectangle: Rectangle,\n returnEdge: RectangleEdge,\n bounds?: Rectangle,\n): RectangleEdge {\n if (\n bounds &&\n Math.abs(_getRelativeEdgeDifference(elementRectangle, bounds, returnEdge)) >\n Math.abs(_getRelativeEdgeDifference(elementRectangle, bounds, returnEdge * -1))\n ) {\n return returnEdge * -1;\n }\n\n return returnEdge;\n}\n\n/**\n * Whether or not the considered edge of the elementRectangle is lying on the edge of the bounds\n * @param elementRectangle The rectangle whose edge we are considering\n * @param bounds The rectangle marking the bounds\n * @param edge The target edge we're considering\n * @returns If the target edge of the elementRectangle is in the same location as that edge of the bounds\n */\nfunction _isEdgeOnBounds(elementRectangle: Rectangle, edge: RectangleEdge, bounds?: Rectangle): boolean {\n return bounds !== undefined && _getEdgeValue(elementRectangle, edge) === _getEdgeValue(bounds, edge);\n}\n\n/**\n * Finalizes the element position based on the hostElement. Only returns the\n * rectangle values to position such that they are anchored to the target.\n * This helps prevent resizing from looking very strange.\n * For instance, if the target edge is top and aligned with the left side then\n * the bottom and left values are returned so as the Callout shrinks it shrinks towards that corner.\n */\nfunction _finalizeElementPosition(\n elementRectangle: Rectangle,\n hostElement: HTMLElement,\n targetEdge: RectangleEdge,\n bounds?: Rectangle,\n alignmentEdge?: RectangleEdge,\n coverTarget?: boolean,\n doNotFinalizeReturnEdge?: boolean,\n forceWithinBounds?: boolean,\n): IPartialIRectangle {\n const returnValue: IPartialIRectangle = {};\n\n const hostRect: Rectangle = _getRectangleFromElement(hostElement);\n const elementEdge = coverTarget ? targetEdge : targetEdge * -1;\n let returnEdge = alignmentEdge ? alignmentEdge : _getFlankingEdges(targetEdge).positiveEdge;\n\n // If we are finalizing the return edge, choose the edge such that we grow away from the bounds\n // If we are not finalizing the return edge but the opposite edge is flush against the bounds,\n // choose that as the anchor edge so the element rect can grow away from the bounds' edge\n // In this case there will not be a visual difference because there is no more room for the elementRectangle to grow\n // in the usual direction\n if (!doNotFinalizeReturnEdge || _isEdgeOnBounds(elementRectangle, getOppositeEdge(returnEdge), bounds)) {\n returnEdge = _finalizeReturnEdge(elementRectangle, returnEdge, bounds);\n }\n\n returnValue[RectangleEdge[elementEdge]] = _getRelativeEdgeDifference(elementRectangle, hostRect, elementEdge);\n returnValue[RectangleEdge[returnEdge]] = _getRelativeEdgeDifference(elementRectangle, hostRect, returnEdge);\n\n // if the positioned element will still overflow, return all four edges with in-bounds values\n if (forceWithinBounds) {\n returnValue[RectangleEdge[elementEdge * -1]] = _getRelativeEdgeDifference(\n elementRectangle,\n hostRect,\n elementEdge * -1,\n );\n returnValue[RectangleEdge[returnEdge * -1]] = _getRelativeEdgeDifference(\n elementRectangle,\n hostRect,\n returnEdge * -1,\n );\n }\n\n return returnValue;\n}\n\n// Since the beak is rotated 45 degrees the actual height/width is the length of the diagonal.\n// We still want to position the beak based on it's midpoint which does not change. It will\n// be at (beakwidth / 2, beakwidth / 2)\nfunction _calculateActualBeakWidthInPixels(beakWidth: number): number {\n return Math.sqrt(beakWidth * beakWidth * 2);\n}\n\n/**\n * Returns the appropriate IPositionData based on the props altered for RTL.\n * If directionalHintForRTL is passed in that is used if the page is RTL.\n * If directionalHint is specified, no directionalHintForRTL is available, and the page is RTL, the hint will be\n * flipped (e.g. bottomLeftEdge would become bottomRightEdge).\n *\n * If there is no directionalHint passed in, bottomAutoEdge is chosen automatically.\n */\nfunction _getPositionData(\n directionalHint: DirectionalHint = DirectionalHint.bottomAutoEdge,\n directionalHintForRTL?: DirectionalHint,\n previousPositions?: IPositionDirectionalHintData,\n): IPositionDirectionalHintData {\n if (previousPositions) {\n return {\n alignmentEdge: previousPositions.alignmentEdge,\n isAuto: previousPositions.isAuto,\n targetEdge: previousPositions.targetEdge,\n };\n }\n const positionInformation: IPositionDirectionalHintData = { ...DirectionalDictionary[directionalHint] };\n if (getRTL()) {\n // If alignment edge exists and that alignment edge is -2 or 2, right or left, then flip it.\n if (positionInformation.alignmentEdge && positionInformation.alignmentEdge % 2 === 0) {\n positionInformation.alignmentEdge = positionInformation.alignmentEdge * -1;\n }\n\n return directionalHintForRTL !== undefined ? DirectionalDictionary[directionalHintForRTL] : positionInformation;\n }\n return positionInformation;\n}\n\n/**\n * Gets the alignment data for the given information. This only really matters if the positioning is Auto.\n * If it is auto then the alignmentEdge should be chosen based on the target edge's position relative to\n * the center of the page.\n */\nfunction _getAlignmentData(\n positionData: IPositionDirectionalHintData,\n target: Rectangle,\n boundingRect: Rectangle,\n coverTarget?: boolean,\n alignTargetEdge?: boolean,\n): IPositionDirectionalHintData {\n if (positionData.isAuto) {\n positionData.alignmentEdge = getClosestEdge(positionData.targetEdge, target, boundingRect);\n }\n\n positionData.alignTargetEdge = alignTargetEdge;\n return positionData;\n}\n\nfunction getClosestEdge(targetEdge: RectangleEdge, target: Rectangle, boundingRect: Rectangle): RectangleEdge {\n const targetCenter: number = _getCenterValue(target, targetEdge);\n const boundingCenter: number = _getCenterValue(boundingRect, targetEdge);\n const { positiveEdge, negativeEdge } = _getFlankingEdges(targetEdge);\n if (targetCenter <= boundingCenter) {\n return positiveEdge;\n } else {\n return negativeEdge;\n }\n}\n\nfunction _positionElementWithinBounds(\n elementToPosition: Rectangle,\n target: Rectangle,\n bounding: Rectangle,\n positionData: IPositionDirectionalHintData,\n gap: number,\n directionalHintFixed?: boolean,\n coverTarget?: boolean,\n): IElementPosition {\n const estimatedElementPosition: Rectangle = _estimatePosition(\n elementToPosition,\n target,\n positionData,\n gap,\n coverTarget,\n );\n if (_isRectangleWithinBounds(estimatedElementPosition, bounding)) {\n return {\n elementRectangle: estimatedElementPosition,\n targetEdge: positionData.targetEdge,\n alignmentEdge: positionData.alignmentEdge,\n };\n } else {\n return _adjustFitWithinBounds(\n estimatedElementPosition,\n target,\n bounding,\n positionData,\n gap,\n directionalHintFixed,\n coverTarget,\n );\n }\n}\n\nfunction _finalizeBeakPosition(\n elementPosition: IElementPositionInfo,\n positionedBeak: Rectangle,\n bounds?: Rectangle,\n): ICalloutBeakPositionedInfo {\n const targetEdge = elementPosition.targetEdge * -1;\n // The \"host\" element that we will use to help position the beak.\n const actualElement = new Rectangle(\n 0,\n elementPosition.elementRectangle.width,\n 0,\n elementPosition.elementRectangle.height,\n );\n const returnValue: IPartialIRectangle = {};\n const returnEdge = _finalizeReturnEdge(\n elementPosition.elementRectangle,\n elementPosition.alignmentEdge ? elementPosition.alignmentEdge : _getFlankingEdges(targetEdge).positiveEdge,\n bounds,\n );\n\n // only show the beak if the callout is not fully covering the target\n const beakEdgeDifference = _getRelativeEdgeDifference(\n elementPosition.elementRectangle,\n elementPosition.targetRectangle,\n targetEdge,\n );\n const showBeak = beakEdgeDifference > Math.abs(_getEdgeValue(positionedBeak, targetEdge));\n\n returnValue[RectangleEdge[targetEdge]] = _getEdgeValue(positionedBeak, targetEdge);\n returnValue[RectangleEdge[returnEdge]] = _getRelativeEdgeDifference(positionedBeak, actualElement, returnEdge);\n\n return {\n elementPosition: { ...returnValue },\n closestEdge: getClosestEdge(elementPosition.targetEdge, positionedBeak, actualElement),\n targetEdge,\n hideBeak: !showBeak,\n };\n}\n\nfunction _positionBeak(beakWidth: number, elementPosition: IElementPositionInfo): Rectangle {\n const target = elementPosition.targetRectangle;\n /**\n * Note about beak positioning: The actual beak width only matters for getting the gap between the callout and\n * target, it does not impact the beak placement within the callout. For example example, if the beakWidth is 8,\n * then the actual beakWidth is sqrroot(8^2 + 8^2) = 11.31x11.31. So the callout will need to be an extra 3 pixels\n * away from its target. While the beak is being positioned in the callout it still acts as though it were 8x8.\n */\n const { positiveEdge, negativeEdge } = _getFlankingEdges(elementPosition.targetEdge);\n const beakTargetPoint = _getCenterValue(target, elementPosition.targetEdge);\n const elementBounds = new Rectangle(\n beakWidth / 2,\n elementPosition.elementRectangle.width - beakWidth / 2,\n beakWidth / 2,\n elementPosition.elementRectangle.height - beakWidth / 2,\n );\n\n let beakPosition: Rectangle = new Rectangle(0, beakWidth, 0, beakWidth);\n\n beakPosition = _moveEdge(beakPosition, elementPosition.targetEdge * -1, -beakWidth / 2);\n\n beakPosition = _centerEdgeToPoint(\n beakPosition,\n elementPosition.targetEdge * -1,\n beakTargetPoint - _getRelativeRectEdgeValue(positiveEdge, elementPosition.elementRectangle),\n );\n\n if (!_isEdgeInBounds(beakPosition, elementBounds, positiveEdge)) {\n beakPosition = _alignEdges(beakPosition, elementBounds, positiveEdge);\n } else if (!_isEdgeInBounds(beakPosition, elementBounds, negativeEdge)) {\n beakPosition = _alignEdges(beakPosition, elementBounds, negativeEdge);\n }\n\n return beakPosition;\n}\n\nfunction _getRectangleFromElement(element: Element): Rectangle {\n // eslint-disable-next-line deprecation/deprecation\n const clientRect: ClientRect = element.getBoundingClientRect();\n\n return new Rectangle(clientRect.left, clientRect.right, clientRect.top, clientRect.bottom);\n}\n\nfunction _getRectangleFromIRect(rect: IRectangle): Rectangle {\n return new Rectangle(rect.left, rect.right, rect.top, rect.bottom);\n}\n\nfunction _getTargetRect(bounds: Rectangle, target: Element | MouseEvent | Point | Rectangle | undefined): Rectangle {\n let targetRectangle: Rectangle;\n if (target) {\n // eslint-disable-next-line no-extra-boolean-cast\n if (!!(target as MouseEvent).preventDefault) {\n const ev = target as MouseEvent;\n targetRectangle = new Rectangle(ev.clientX, ev.clientX, ev.clientY, ev.clientY);\n // eslint-disable-next-line no-extra-boolean-cast\n } else if (!!(target as Element).getBoundingClientRect) {\n targetRectangle = _getRectangleFromElement(target as Element);\n // HTMLImgElements can have x and y values. The check for it being a point must go last.\n } else {\n const rectOrPoint: Point & Rectangle = target as Point & Rectangle;\n // eslint-disable-next-line deprecation/deprecation\n const left = rectOrPoint.left || rectOrPoint.x;\n // eslint-disable-next-line deprecation/deprecation\n const top = rectOrPoint.top || rectOrPoint.y;\n const right = rectOrPoint.right || left;\n const bottom = rectOrPoint.bottom || top;\n targetRectangle = new Rectangle(left, right, top, bottom);\n }\n\n if (!_isRectangleWithinBounds(targetRectangle, bounds)) {\n const outOfBounds: RectangleEdge[] = _getOutOfBoundsEdges(targetRectangle, bounds);\n\n for (const direction of outOfBounds) {\n (targetRectangle as any)[RectangleEdge[direction]] = (bounds as any)[RectangleEdge[direction]];\n }\n }\n } else {\n targetRectangle = new Rectangle(0, 0, 0, 0);\n }\n\n return targetRectangle;\n}\n\n/**\n * If max height is less than zero it returns the bounds height instead.\n */\nfunction _getMaxHeightFromTargetRectangle(\n targetRectangle: Rectangle,\n targetEdge: DirectionalHint,\n gapSpace: number,\n bounds: Rectangle,\n coverTarget?: boolean,\n) {\n let maxHeight = 0;\n const directionalHint = DirectionalDictionary[targetEdge];\n\n // If cover target is set, then the max height should be calculated using the opposite of the target edge since\n // that's the direction that the callout will expand in.\n // For instance, if the directionalhint is bottomLeftEdge then the callout will position so it's bottom edge\n // is aligned with the bottom of the target and expand up towards the top of the screen and the calculated max height\n // is (bottom of target) - (top of screen) - gapSpace.\n const target = coverTarget ? directionalHint.targetEdge * -1 : directionalHint.targetEdge;\n\n if (target === RectangleEdge.top) {\n maxHeight = _getEdgeValue(targetRectangle, directionalHint.targetEdge) - bounds.top - gapSpace;\n } else if (target === RectangleEdge.bottom) {\n maxHeight = bounds.bottom - _getEdgeValue(targetRectangle, directionalHint.targetEdge) - gapSpace;\n } else {\n maxHeight = bounds.bottom - targetRectangle.top - gapSpace;\n }\n\n return maxHeight > 0 ? maxHeight : bounds.height;\n}\n\nfunction _positionElementRelative(\n props: IPositionProps,\n elementToPosition: HTMLElement,\n boundingRect: Rectangle,\n previousPositions?: IPositionedData,\n): IElementPositionInfo {\n const gap: number = props.gapSpace ? props.gapSpace : 0;\n const targetRect: Rectangle = _getTargetRect(boundingRect, props.target);\n const positionData: IPositionDirectionalHintData = _getAlignmentData(\n _getPositionData(props.directionalHint, props.directionalHintForRTL, previousPositions)!,\n targetRect,\n boundingRect,\n props.coverTarget,\n props.alignTargetEdge,\n );\n const positionedElement: IElementPosition = _positionElementWithinBounds(\n _getRectangleFromElement(elementToPosition),\n targetRect,\n boundingRect,\n positionData,\n gap,\n props.directionalHintFixed,\n props.coverTarget,\n );\n return { ...positionedElement, targetRectangle: targetRect };\n}\n\nfunction _finalizePositionData(\n positionedElement: IElementPosition,\n hostElement: HTMLElement,\n bounds?: Rectangle,\n coverTarget?: boolean,\n doNotFinalizeReturnEdge?: boolean,\n): IPositionedData {\n const finalizedElement: IPartialIRectangle = _finalizeElementPosition(\n positionedElement.elementRectangle,\n hostElement,\n positionedElement.targetEdge,\n bounds,\n positionedElement.alignmentEdge,\n coverTarget,\n doNotFinalizeReturnEdge,\n positionedElement.forcedInBounds,\n );\n return {\n elementPosition: finalizedElement,\n targetEdge: positionedElement.targetEdge,\n alignmentEdge: positionedElement.alignmentEdge,\n };\n}\n\nfunction _positionElement(\n props: IPositionProps,\n hostElement: HTMLElement,\n elementToPosition: HTMLElement,\n previousPositions?: IPositionedData,\n): IPositionedData {\n const boundingRect: Rectangle = props.bounds\n ? _getRectangleFromIRect(props.bounds)\n : new Rectangle(0, window.innerWidth - getScrollbarWidth(), 0, window.innerHeight);\n const positionedElement: IElementPosition = _positionElementRelative(\n props,\n elementToPosition,\n boundingRect,\n previousPositions,\n );\n return _finalizePositionData(positionedElement, hostElement, boundingRect, props.coverTarget);\n}\n\nfunction _positionCallout(\n props: ICalloutPositionProps,\n hostElement: HTMLElement,\n callout: HTMLElement,\n previousPositions?: ICalloutPositionedInfo,\n doNotFinalizeReturnEdge?: boolean,\n): ICalloutPositionedInfo {\n const beakWidth: number = props.isBeakVisible ? props.beakWidth || 0 : 0;\n const gap: number = _calculateActualBeakWidthInPixels(beakWidth) / 2 + (props.gapSpace ? props.gapSpace : 0);\n const positionProps: IPositionProps = props;\n positionProps.gapSpace = gap;\n const boundingRect: Rectangle = props.bounds\n ? _getRectangleFromIRect(props.bounds)\n : new Rectangle(0, window.innerWidth - getScrollbarWidth(), 0, window.innerHeight);\n const positionedElement: IElementPositionInfo = _positionElementRelative(\n positionProps,\n callout,\n boundingRect,\n previousPositions,\n );\n\n const beakPositioned: Rectangle = _positionBeak(beakWidth, positionedElement);\n const finalizedBeakPosition: ICalloutBeakPositionedInfo = _finalizeBeakPosition(\n positionedElement,\n beakPositioned,\n boundingRect,\n );\n\n return {\n ..._finalizePositionData(positionedElement, hostElement, boundingRect, props.coverTarget, doNotFinalizeReturnEdge),\n beakPosition: finalizedBeakPosition,\n };\n}\n\nfunction _positionCard(\n props: ICalloutPositionProps,\n hostElement: HTMLElement,\n callout: HTMLElement,\n previousPositions?: ICalloutPositionedInfo,\n): ICalloutPositionedInfo {\n return _positionCallout(props, hostElement, callout, previousPositions, true);\n}\n// END PRIVATE FUNCTIONS\n\nexport const __positioningTestPackage = {\n _finalizePositionData,\n _finalizeBeakPosition,\n _calculateActualBeakWidthInPixels,\n _positionElementWithinBounds,\n _positionBeak,\n _getPositionData,\n _getMaxHeightFromTargetRectangle,\n};\n\n/**\n * Used to position an element relative to the given positioning props.\n * If positioning has been completed before, previousPositions can be passed to ensure that the positioning element\n * repositions based on its previous targets rather than starting with directionalhint.\n */\nexport function positionElement(\n props: IPositionProps,\n hostElement: HTMLElement,\n elementToPosition: HTMLElement,\n previousPositions?: IPositionedData,\n): IPositionedData {\n return _positionElement(props, hostElement, elementToPosition, previousPositions);\n}\n\nexport function positionCallout(\n props: IPositionProps,\n hostElement: HTMLElement,\n elementToPosition: HTMLElement,\n previousPositions?: ICalloutPositionedInfo,\n): ICalloutPositionedInfo {\n return _positionCallout(props, hostElement, elementToPosition, previousPositions);\n}\n\nexport function positionCard(\n props: IPositionProps,\n hostElement: HTMLElement,\n elementToPosition: HTMLElement,\n previousPositions?: ICalloutPositionedInfo,\n): ICalloutPositionedInfo {\n return _positionCard(props, hostElement, elementToPosition, previousPositions);\n}\n\n/**\n * Gets the maximum height that a rectangle can have in order to fit below or above a target.\n * If the directional hint specifies a left or right edge (i.e. leftCenter) it will limit the height to the topBorder\n * of the target given.\n * If no bounds are provided then the window is treated as the bounds.\n */\nexport function getMaxHeight(\n target: Element | MouseEvent | Point | Rectangle,\n targetEdge: DirectionalHint,\n gapSpace: number = 0,\n bounds?: IRectangle,\n coverTarget?: boolean,\n): number {\n const mouseTarget: MouseEvent = target as MouseEvent;\n const elementTarget: Element = target as Element;\n const rectOrPointTarget: Point & Rectangle = target as Point & Rectangle;\n let targetRect: Rectangle;\n const boundingRectangle = bounds\n ? _getRectangleFromIRect(bounds)\n : new Rectangle(0, window.innerWidth - getScrollbarWidth(), 0, window.innerHeight);\n\n // eslint-disable-next-line deprecation/deprecation\n const left = rectOrPointTarget.left || rectOrPointTarget.x;\n // eslint-disable-next-line deprecation/deprecation\n const top = rectOrPointTarget.top || rectOrPointTarget.y;\n const right = rectOrPointTarget.right || left;\n const bottom = rectOrPointTarget.bottom || top;\n\n // eslint-disable-next-line no-extra-boolean-cast -- may not actually be a MouseEvent\n if (!!mouseTarget.stopPropagation) {\n targetRect = new Rectangle(mouseTarget.clientX, mouseTarget.clientX, mouseTarget.clientY, mouseTarget.clientY);\n } else if (left !== undefined && top !== undefined) {\n targetRect = new Rectangle(left, right, top, bottom);\n } else {\n targetRect = _getRectangleFromElement(elementTarget);\n }\n\n return _getMaxHeightFromTargetRectangle(targetRect, targetEdge, gapSpace, boundingRectangle, coverTarget);\n}\n\n/**\n * Returns the opposite edge of the given RectangleEdge.\n */\nexport function getOppositeEdge(edge: RectangleEdge): RectangleEdge {\n return edge * -1;\n}\n\nfunction _getBoundsFromTargetWindow(\n target: Element | MouseEvent | Point | Rectangle | null,\n targetWindow: IWindowWithSegments,\n): IRectangle {\n let segments = undefined;\n if (targetWindow.getWindowSegments) {\n segments = targetWindow.getWindowSegments();\n }\n\n // Identify if we're dealing with single screen scenarios.\n if (segments === undefined || segments.length <= 1) {\n return {\n top: 0,\n left: 0,\n right: targetWindow.innerWidth,\n bottom: targetWindow.innerHeight,\n width: targetWindow.innerWidth,\n height: targetWindow.innerHeight,\n };\n }\n\n // Logic for determining dual screen scenarios.\n let x: number | undefined = 0;\n let y: number | undefined = 0;\n\n // If the target is an Element get coordinates for its center.\n if (target !== null && !!(target as Element).getBoundingClientRect) {\n const clientRect = (target as Element).getBoundingClientRect();\n x = (clientRect.left + clientRect.right) / 2;\n y = (clientRect.top + clientRect.bottom) / 2;\n }\n // If the target is not null get x-axis and y-axis coordinates directly.\n else if (target !== null) {\n // eslint-disable-next-line deprecation/deprecation\n x = (target as Point).left || (target as MouseEvent | Point).x;\n // eslint-disable-next-line deprecation/deprecation\n y = (target as Point).top || (target as MouseEvent | Point).y;\n }\n\n let bounds = { top: 0, left: 0, right: 0, bottom: 0, width: 0, height: 0 };\n\n // Define which window segment are the coordinates in and calculate bounds based on that.\n for (const segment of segments) {\n if (x && segment.left <= x && segment.right >= x && y && segment.top <= y && segment.bottom >= y) {\n bounds = {\n top: segment.top,\n left: segment.left,\n right: segment.right,\n bottom: segment.bottom,\n width: segment.width,\n height: segment.height,\n };\n }\n }\n\n return bounds;\n}\n\nexport function getBoundsFromTargetWindow(\n target: Element | MouseEvent | Point | Rectangle | null,\n targetWindow: IWindowWithSegments,\n): IRectangle {\n return _getBoundsFromTargetWindow(target, targetWindow);\n}\n","import * as React from 'react';\nimport { DirectionalHint } from '../../common/DirectionalHint';\nimport {\n css,\n divProperties,\n elementContains,\n focusFirstChild,\n getNativeProps,\n on,\n shallowCompare,\n getPropsWithDefaults,\n Async,\n} from '../../Utilities';\nimport { positionCallout, RectangleEdge, positionCard, getBoundsFromTargetWindow } from '../../Positioning';\nimport { Popup } from '../../Popup';\nimport { classNamesFunction } from '../../Utilities';\nimport { AnimationClassNames } from '../../Styling';\nimport { useMergedRefs, useAsync, useConst, useTarget, useOnEvent } from '@fluentui/react-hooks';\nimport type { ICalloutProps, ICalloutContentStyleProps, ICalloutContentStyles } from './Callout.types';\nimport type { Point, IRectangle } from '../../Utilities';\nimport type { ICalloutPositionedInfo, IPositionProps, IPosition } from '../../Positioning';\nimport type { Target } from '@fluentui/react-hooks';\n\nconst COMPONENT_NAME = 'CalloutContentBase';\n\nconst ANIMATIONS: { [key: number]: string | undefined } = {\n [RectangleEdge.top]: AnimationClassNames.slideUpIn10,\n [RectangleEdge.bottom]: AnimationClassNames.slideDownIn10,\n [RectangleEdge.left]: AnimationClassNames.slideLeftIn10,\n [RectangleEdge.right]: AnimationClassNames.slideRightIn10,\n};\n\nconst BEAK_ORIGIN_POSITION = { top: 0, left: 0 };\n// Microsoft Edge will overwrite inline styles if there is an animation pertaining to that style.\n// To help ensure that edge will respect the offscreen style opacity\n// filter needs to be added as an additional way to set opacity.\n// Also set pointer-events: none so that the callout will not occlude the element it is\n// going to be positioned against\nconst OFF_SCREEN_STYLE: React.CSSProperties = {\n opacity: 0,\n filter: 'opacity(0)',\n pointerEvents: 'none',\n};\n// role and role description go hand-in-hand. Both would be included by spreading getNativeProps for a basic element\n// This constant array can be used to filter these out of native props spread on callout root and apply them together on\n// calloutMain (the Popup component within the callout)\nconst ARIA_ROLE_ATTRIBUTES = ['role', 'aria-roledescription'];\n\nconst DEFAULT_PROPS = {\n preventDismissOnLostFocus: false,\n preventDismissOnScroll: false,\n preventDismissOnResize: false,\n isBeakVisible: true,\n beakWidth: 16,\n gapSpace: 0,\n minPagePadding: 8,\n directionalHint: DirectionalHint.bottomAutoEdge,\n} as const;\n\nconst getClassNames = classNamesFunction({\n disableCaching: true, // disabling caching because stylesProp.position mutates often\n});\n\n/**\n * (Hook) to return a function to lazily fetch the bounds of the target element for the callout.\n */\nfunction useBounds(\n { bounds, minPagePadding = DEFAULT_PROPS.minPagePadding, target }: ICalloutProps,\n targetRef: React.RefObject,\n targetWindow: Window | undefined,\n) {\n const [targetWindowResized, setTargetWindowResized] = React.useState(false);\n const cachedBounds = React.useRef();\n\n const getBounds = React.useCallback((): IRectangle | undefined => {\n if (!cachedBounds.current || targetWindowResized) {\n let currentBounds =\n typeof bounds === 'function' ? (targetWindow ? bounds(target, targetWindow) : undefined) : bounds;\n\n if (!currentBounds && targetWindow) {\n currentBounds = getBoundsFromTargetWindow(targetRef.current, targetWindow);\n currentBounds = {\n top: currentBounds.top + minPagePadding,\n left: currentBounds.left + minPagePadding,\n right: currentBounds.right! - minPagePadding,\n bottom: currentBounds.bottom! - minPagePadding,\n width: currentBounds.width - minPagePadding * 2,\n height: currentBounds.height - minPagePadding * 2,\n };\n }\n cachedBounds.current = currentBounds;\n targetWindowResized && setTargetWindowResized(false);\n }\n\n return cachedBounds.current;\n }, [bounds, minPagePadding, target, targetRef, targetWindow, targetWindowResized]);\n\n const async: Async = useAsync();\n useOnEvent(\n targetWindow,\n 'resize',\n async.debounce(\n () => {\n setTargetWindowResized(true);\n },\n 500,\n { leading: true },\n ),\n );\n\n return getBounds;\n}\n\n/**\n * (Hook) to return the maximum available height for the Callout to render into.\n */\nfunction useMaxHeight(\n { calloutMaxHeight, finalHeight, directionalHint, directionalHintFixed, hidden }: ICalloutProps,\n getBounds: () => IRectangle | undefined,\n positions?: ICalloutPositionedInfo,\n) {\n const [maxHeight, setMaxHeight] = React.useState();\n const { top, bottom } = positions?.elementPosition ?? {};\n\n React.useEffect(() => {\n const { top: topBounds, bottom: bottomBounds } = getBounds() ?? {};\n let calculatedHeight: number | undefined;\n\n if (typeof top === 'number' && bottomBounds) {\n calculatedHeight = bottomBounds - top;\n } else if (typeof bottom === 'number' && typeof topBounds === 'number' && bottomBounds) {\n calculatedHeight = bottomBounds - topBounds - bottom;\n }\n\n if (\n (!calloutMaxHeight && !hidden) ||\n (calloutMaxHeight && calculatedHeight && calloutMaxHeight > calculatedHeight)\n ) {\n setMaxHeight(calculatedHeight);\n } else if (calloutMaxHeight) {\n setMaxHeight(calloutMaxHeight);\n } else {\n setMaxHeight(undefined);\n }\n }, [bottom, calloutMaxHeight, finalHeight, directionalHint, directionalHintFixed, getBounds, hidden, positions, top]);\n\n return maxHeight;\n}\n\n/**\n * (Hook) to find the current position of Callout. If Callout is resized then a new position is calculated.\n */\nfunction usePositions(\n props: ICalloutProps,\n hostElement: React.RefObject,\n calloutElement: HTMLDivElement | null,\n targetRef: React.RefObject,\n getBounds: () => IRectangle | undefined,\n) {\n const [positions, setPositions] = React.useState();\n const positionAttempts = React.useRef(0);\n const previousTarget = React.useRef();\n const async = useAsync();\n const { hidden, target, finalHeight, calloutMaxHeight, onPositioned, directionalHint } = props;\n\n React.useEffect(() => {\n if (!hidden) {\n const timerId = async.requestAnimationFrame(() => {\n if (hostElement.current && calloutElement) {\n const currentProps: IPositionProps = {\n ...props,\n target: targetRef.current!,\n bounds: getBounds(),\n };\n\n // duplicate calloutElement & remove useMaxHeight's maxHeight for position calc\n const dupeCalloutElement = calloutElement.cloneNode(true) as HTMLElement;\n dupeCalloutElement.style.maxHeight = calloutMaxHeight ? `${calloutMaxHeight}` : '';\n dupeCalloutElement.style.visibility = 'hidden';\n calloutElement.parentElement?.appendChild(dupeCalloutElement);\n\n const previousPositions = previousTarget.current === target ? positions : undefined;\n\n // If there is a finalHeight given then we assume that the user knows and will handle\n // additional positioning adjustments so we should call positionCard\n const newPositions: ICalloutPositionedInfo = finalHeight\n ? positionCard(currentProps, hostElement.current, dupeCalloutElement, previousPositions)\n : positionCallout(currentProps, hostElement.current, dupeCalloutElement, previousPositions);\n\n // clean up duplicate calloutElement\n calloutElement.parentElement?.removeChild(dupeCalloutElement);\n\n // Set the new position only when the positions do not exist or one of the new callout positions\n // is different. The position should not change if the position is within 2 decimal places.\n if (\n (!positions && newPositions) ||\n (positions && newPositions && !arePositionsEqual(positions, newPositions) && positionAttempts.current < 5)\n ) {\n // We should not reposition the callout more than a few times, if it is then the content is likely resizing\n // and we should stop trying to reposition to prevent a stack overflow.\n positionAttempts.current++;\n setPositions(newPositions);\n } else if (positionAttempts.current > 0) {\n // Only call the onPositioned callback if the callout has been re-positioned at least once.\n positionAttempts.current = 0;\n onPositioned?.(positions);\n }\n }\n }, calloutElement);\n\n previousTarget.current = target;\n\n return () => {\n async.cancelAnimationFrame(timerId);\n previousTarget.current = undefined;\n };\n } else {\n // When the callout is hidden, clear position state so that it is not accidentally used next render.\n setPositions(undefined);\n positionAttempts.current = 0;\n }\n }, [\n hidden,\n directionalHint,\n async,\n calloutElement,\n calloutMaxHeight,\n hostElement,\n targetRef,\n finalHeight,\n getBounds,\n onPositioned,\n positions,\n props,\n target,\n ]);\n\n return positions;\n}\n\n/**\n * (Hook) to set up behavior to automatically focus the callout when it appears, if indicated by props.\n */\nfunction useAutoFocus(\n { hidden, setInitialFocus }: ICalloutProps,\n positions: ICalloutPositionedInfo | undefined,\n calloutElement: HTMLDivElement | null,\n) {\n const async = useAsync();\n const hasPositions = !!positions;\n React.useEffect(() => {\n if (!hidden && setInitialFocus && hasPositions && calloutElement) {\n const timerId = async.requestAnimationFrame(() => focusFirstChild(calloutElement), calloutElement);\n\n return () => async.cancelAnimationFrame(timerId);\n }\n }, [hidden, hasPositions, async, calloutElement, setInitialFocus]);\n}\n\n/**\n * (Hook) to set up various handlers to dismiss the popup when it loses focus or the window scrolls or similar cases.\n */\nfunction useDismissHandlers(\n {\n hidden,\n onDismiss,\n // eslint-disable-next-line deprecation/deprecation\n preventDismissOnScroll,\n // eslint-disable-next-line deprecation/deprecation\n preventDismissOnResize,\n // eslint-disable-next-line deprecation/deprecation\n preventDismissOnLostFocus,\n dismissOnTargetClick,\n shouldDismissOnWindowFocus,\n preventDismissOnEvent,\n }: ICalloutProps,\n positions: ICalloutPositionedInfo | undefined,\n hostElement: React.RefObject,\n targetRef: React.RefObject,\n targetWindow: Window | undefined,\n) {\n const isMouseDownOnPopup = React.useRef(false);\n const async = useAsync();\n\n const mouseDownHandlers = useConst([\n () => {\n isMouseDownOnPopup.current = true;\n },\n () => {\n isMouseDownOnPopup.current = false;\n },\n ] as const);\n\n const positionsExists = !!positions;\n\n React.useEffect(() => {\n const dismissOnScroll = (ev: Event) => {\n if (positionsExists && !preventDismissOnScroll) {\n dismissOnClickOrScroll(ev);\n }\n };\n\n const dismissOnResize = (ev: Event) => {\n if (!preventDismissOnResize && !(preventDismissOnEvent && preventDismissOnEvent(ev))) {\n onDismiss?.(ev);\n }\n };\n\n const dismissOnLostFocus = (ev: Event) => {\n if (!preventDismissOnLostFocus) {\n dismissOnClickOrScroll(ev);\n }\n };\n\n const dismissOnClickOrScroll = (ev: Event) => {\n const eventPaths: Array = ev.composedPath ? ev.composedPath() : [];\n const target = eventPaths.length > 0 ? (eventPaths[0] as HTMLElement) : (ev.target as HTMLElement);\n const isEventTargetOutsideCallout = hostElement.current && !elementContains(hostElement.current, target);\n\n // If mouse is pressed down on callout but moved outside then released, don't dismiss the callout.\n if (isEventTargetOutsideCallout && isMouseDownOnPopup.current) {\n isMouseDownOnPopup.current = false;\n return;\n }\n\n if (\n (!targetRef.current && isEventTargetOutsideCallout) ||\n (ev.target !== targetWindow &&\n isEventTargetOutsideCallout &&\n (!targetRef.current ||\n 'stopPropagation' in targetRef.current ||\n dismissOnTargetClick ||\n (target !== targetRef.current && !elementContains(targetRef.current as HTMLElement, target))))\n ) {\n if (preventDismissOnEvent && preventDismissOnEvent(ev)) {\n return;\n }\n onDismiss?.(ev);\n }\n };\n\n const dismissOnTargetWindowBlur = (ev: FocusEvent) => {\n // Do nothing\n if (!shouldDismissOnWindowFocus) {\n return;\n }\n\n if (\n ((preventDismissOnEvent && !preventDismissOnEvent(ev)) ||\n (!preventDismissOnEvent && !preventDismissOnLostFocus)) &&\n !targetWindow?.document.hasFocus() &&\n ev.relatedTarget === null\n ) {\n onDismiss?.(ev);\n }\n };\n\n // This is added so the callout will dismiss when the window is scrolled\n // but not when something inside the callout is scrolled. The delay seems\n // to be required to avoid React firing an async focus event in IE from\n // the target changing focus quickly prior to rendering the callout.\n const disposablesPromise = new Promise<() => void>(resolve => {\n async.setTimeout(() => {\n if (!hidden && targetWindow) {\n const disposables = [\n on(targetWindow, 'scroll', dismissOnScroll, true),\n on(targetWindow, 'resize', dismissOnResize, true),\n on(targetWindow.document.documentElement, 'focus', dismissOnLostFocus, true),\n on(targetWindow.document.documentElement, 'click', dismissOnLostFocus, true),\n on(targetWindow, 'blur', dismissOnTargetWindowBlur, true),\n ];\n\n resolve(() => {\n disposables.forEach(dispose => dispose());\n });\n }\n }, 0);\n });\n\n return () => {\n disposablesPromise.then(dispose => dispose());\n };\n }, [\n hidden,\n async,\n hostElement,\n targetRef,\n targetWindow,\n onDismiss,\n shouldDismissOnWindowFocus,\n dismissOnTargetClick,\n preventDismissOnLostFocus,\n preventDismissOnResize,\n preventDismissOnScroll,\n positionsExists,\n preventDismissOnEvent,\n ]);\n\n return mouseDownHandlers;\n}\n\nexport const CalloutContentBase: React.FunctionComponent = React.memo(\n React.forwardRef((propsWithoutDefaults, forwardedRef) => {\n const props = getPropsWithDefaults(DEFAULT_PROPS, propsWithoutDefaults);\n\n const {\n styles,\n style,\n ariaLabel,\n ariaDescribedBy,\n ariaLabelledBy,\n className,\n isBeakVisible,\n children,\n beakWidth,\n calloutWidth,\n calloutMaxWidth,\n calloutMinWidth,\n doNotLayer,\n finalHeight,\n hideOverflow = !!finalHeight,\n backgroundColor,\n calloutMaxHeight,\n onScroll,\n // eslint-disable-next-line deprecation/deprecation\n shouldRestoreFocus = true,\n target,\n hidden,\n onLayerMounted,\n popupProps,\n } = props;\n\n const hostElement = React.useRef(null);\n const [calloutElement, setCalloutElement] = React.useState(null);\n const calloutCallback = React.useCallback((calloutEl: any) => {\n setCalloutElement(calloutEl);\n }, []);\n const rootRef = useMergedRefs(hostElement, forwardedRef);\n\n const [targetRef, targetWindow] = useTarget(props.target, {\n current: calloutElement,\n });\n const getBounds = useBounds(props, targetRef, targetWindow);\n const positions = usePositions(props, hostElement, calloutElement, targetRef, getBounds);\n const maxHeight = useMaxHeight(props, getBounds, positions);\n const [mouseDownOnPopup, mouseUpOnPopup] = useDismissHandlers(\n props,\n positions,\n hostElement,\n targetRef,\n targetWindow,\n );\n\n // do not set both top and bottom css props from positions\n // instead, use maxHeight\n const isForcedInBounds = positions?.elementPosition.top && positions?.elementPosition.bottom;\n const cssPositions = {\n ...positions?.elementPosition,\n maxHeight,\n };\n if (isForcedInBounds) {\n cssPositions.bottom = undefined;\n }\n\n useAutoFocus(props, positions, calloutElement);\n\n React.useEffect(() => {\n if (!hidden) {\n onLayerMounted?.();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run if hidden changes\n }, [hidden]);\n\n // If there is no target window then we are likely in server side rendering and we should not render anything.\n if (!targetWindow) {\n return null;\n }\n\n const overflowYHidden = hideOverflow;\n\n const beakVisible = isBeakVisible && !!target;\n const classNames = getClassNames(styles!, {\n theme: props.theme!,\n className,\n overflowYHidden,\n calloutWidth,\n positions,\n beakWidth,\n backgroundColor,\n calloutMaxWidth,\n calloutMinWidth,\n doNotLayer,\n });\n\n const overflowStyle: React.CSSProperties = {\n maxHeight: calloutMaxHeight ? calloutMaxHeight : '100%',\n ...style,\n ...(overflowYHidden && { overflowY: 'hidden' }),\n };\n\n const visibilityStyle: React.CSSProperties | undefined = props.hidden ? { visibility: 'hidden' } : undefined;\n // React.CSSProperties does not understand IRawStyle, so the inline animations will need to be cast as any for now.\n return (\n
    \n \n {beakVisible &&
    }\n {beakVisible &&
    }\n \n {children}\n \n
    \n
    \n );\n }),\n (previousProps: ICalloutProps, nextProps: ICalloutProps) => {\n if (!nextProps.shouldUpdateWhenHidden && previousProps.hidden && nextProps.hidden) {\n // Do not update when hidden.\n return true;\n }\n return shallowCompare(previousProps, nextProps);\n },\n);\n\n/**\n * (Utility) to find and return the current `Callout` Beak position.\n *\n * @param positions\n */\nfunction getBeakPosition(positions?: ICalloutPositionedInfo): React.CSSProperties {\n const beakPositionStyle: React.CSSProperties = {\n ...positions?.beakPosition?.elementPosition,\n display: positions?.beakPosition?.hideBeak ? 'none' : undefined,\n };\n\n if (!beakPositionStyle.top && !beakPositionStyle.bottom && !beakPositionStyle.left && !beakPositionStyle.right) {\n beakPositionStyle.left = BEAK_ORIGIN_POSITION.left;\n beakPositionStyle.top = BEAK_ORIGIN_POSITION.top;\n }\n\n return beakPositionStyle;\n}\n\n/**\n * (Utility) used to compare two different elementPositions to determine whether they are equal.\n *\n * @param prevElementPositions\n * @param newElementPosition\n */\nfunction arePositionsEqual(\n prevElementPositions: ICalloutPositionedInfo,\n newElementPosition: ICalloutPositionedInfo,\n): boolean {\n return (\n comparePositions(prevElementPositions.elementPosition, newElementPosition.elementPosition) &&\n comparePositions(prevElementPositions.beakPosition.elementPosition, newElementPosition.beakPosition.elementPosition)\n );\n}\n\n/**\n * (Utility) used in **arePositionsEqual** to compare two different elementPositions.\n *\n * @param prevElementPositions\n * @param newElementPositions\n */\nfunction comparePositions(prevElementPositions: IPosition, newElementPositions: IPosition): boolean {\n for (const key in newElementPositions) {\n if (newElementPositions.hasOwnProperty(key)) {\n const oldPositionEdge = prevElementPositions[key];\n const newPositionEdge = newElementPositions[key];\n if (oldPositionEdge !== undefined && newPositionEdge !== undefined) {\n if (oldPositionEdge.toFixed(2) !== newPositionEdge.toFixed(2)) {\n return false;\n }\n } else {\n return false;\n }\n }\n }\n return true;\n}\n\nCalloutContentBase.displayName = COMPONENT_NAME;\n","import { HighContrastSelector, focusClear, getGlobalClassNames, ZIndexes } from '../../Styling';\nimport type { IRawStyle } from '../../Styling';\nimport type { ICalloutContentStyleProps, ICalloutContentStyles } from './Callout.types';\n\nfunction getBeakStyle(beakWidth?: number): IRawStyle {\n return {\n height: beakWidth,\n width: beakWidth,\n };\n}\n\nconst GlobalClassNames = {\n container: 'ms-Callout-container',\n root: 'ms-Callout',\n beak: 'ms-Callout-beak',\n beakCurtain: 'ms-Callout-beakCurtain',\n calloutMain: 'ms-Callout-main',\n};\n\nexport const getStyles = (props: ICalloutContentStyleProps): ICalloutContentStyles => {\n const {\n theme,\n className,\n overflowYHidden,\n calloutWidth,\n beakWidth,\n backgroundColor,\n calloutMaxWidth,\n calloutMinWidth,\n doNotLayer,\n } = props;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n const { semanticColors, effects } = theme;\n\n return {\n container: [\n classNames.container,\n {\n position: 'relative',\n },\n ],\n root: [\n classNames.root,\n theme.fonts.medium,\n {\n position: 'absolute',\n display: 'flex',\n zIndex: doNotLayer ? ZIndexes.Layer : undefined,\n boxSizing: 'border-box',\n borderRadius: effects.roundedCorner2,\n boxShadow: effects.elevation16,\n selectors: {\n [HighContrastSelector]: {\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'WindowText',\n },\n },\n },\n focusClear(),\n className,\n !!calloutWidth && { width: calloutWidth },\n !!calloutMaxWidth && { maxWidth: calloutMaxWidth },\n !!calloutMinWidth && { minWidth: calloutMinWidth },\n ],\n beak: [\n classNames.beak,\n {\n position: 'absolute',\n backgroundColor: semanticColors.menuBackground,\n boxShadow: 'inherit',\n border: 'inherit',\n boxSizing: 'border-box',\n transform: 'rotate(45deg)',\n },\n getBeakStyle(beakWidth),\n backgroundColor && {\n backgroundColor,\n },\n ],\n beakCurtain: [\n classNames.beakCurtain,\n {\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n backgroundColor: semanticColors.menuBackground,\n borderRadius: effects.roundedCorner2,\n },\n ],\n calloutMain: [\n classNames.calloutMain,\n {\n backgroundColor: semanticColors.menuBackground,\n overflowX: 'hidden',\n overflowY: 'auto',\n position: 'relative',\n width: '100%',\n borderRadius: effects.roundedCorner2,\n },\n overflowYHidden && {\n overflowY: 'hidden',\n },\n backgroundColor && {\n backgroundColor,\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { CalloutContentBase } from './CalloutContent.base';\nimport { getStyles } from './CalloutContent.styles';\nimport type { ICalloutProps } from './Callout.types';\n\nexport const CalloutContent: React.FunctionComponent = styled(CalloutContentBase, getStyles, undefined, {\n scope: 'CalloutContent',\n});\n","import * as React from 'react';\nimport { CalloutContent } from './CalloutContent';\nimport { Layer } from '../../Layer';\nimport type { ICalloutProps } from './Callout.types';\n\nexport const Callout: React.FunctionComponent = React.forwardRef(\n ({ layerProps, doNotLayer, ...rest }, forwardedRef) => {\n const content = ;\n return doNotLayer ? content : {content};\n },\n);\nCallout.displayName = 'Callout';\n","import * as React from 'react';\nimport { Image } from '../../../Image';\nimport { Icon } from '../../../Icon';\nimport {\n classNamesFunction,\n getNativeProps,\n inputProperties,\n css,\n composeRenderFunction,\n getPropsWithDefaults,\n} from '../../../Utilities';\nimport type {\n IChoiceGroupOptionProps,\n IChoiceGroupOptionStyleProps,\n IChoiceGroupOptionStyles,\n} from './ChoiceGroupOption.types';\n\nconst getClassNames = classNamesFunction();\n\nconst LARGE_IMAGE_SIZE = 71;\n\nconst DEFAULT_PROPS: Partial = {\n // This ensures default imageSize value doesn't mutate. Mutation can cause style re-calcuation.\n imageSize: { width: 32, height: 32 },\n};\n\nexport const ChoiceGroupOptionBase: React.FunctionComponent = propsWithoutDefaults => {\n // Mix the `key` prop back in since custom render functions may be expecting it\n // (React uses `key` internally rather than passing it through to the component)\n const props = getPropsWithDefaults({ ...DEFAULT_PROPS, key: propsWithoutDefaults.itemKey }, propsWithoutDefaults);\n\n const {\n ariaLabel,\n focused,\n required,\n theme,\n iconProps,\n imageSrc,\n imageSize,\n disabled,\n checked,\n id,\n styles,\n name,\n ...rest\n } = props;\n\n const classNames = getClassNames(styles!, {\n theme: theme!,\n hasIcon: !!iconProps,\n hasImage: !!imageSrc,\n checked,\n disabled,\n imageIsLarge: !!imageSrc && (imageSize!.width > LARGE_IMAGE_SIZE || imageSize!.height > LARGE_IMAGE_SIZE),\n imageSize,\n focused,\n });\n\n const { className, ...nativeProps } = getNativeProps<{ className: string }>(rest, inputProperties);\n\n const defaultOnRenderLabel = (): JSX.Element => {\n return (\n \n {props.text}\n \n );\n };\n\n const defaultOnRenderField = (): JSX.Element => {\n const { imageAlt = '', selectedImageSrc } = props;\n\n const onRenderLabel = props.onRenderLabel\n ? composeRenderFunction(props.onRenderLabel, defaultOnRenderLabel)\n : defaultOnRenderLabel;\n\n const label = onRenderLabel({ ...props, key: props.itemKey });\n\n return (\n \n );\n };\n\n const { onRenderField = defaultOnRenderField } = props;\n\n const onChange = (evt: React.FormEvent): void => {\n props.onChange?.(evt, { ...props, key: props.itemKey });\n };\n\n const onBlur = (evt: React.FocusEvent) => {\n props.onBlur?.(evt);\n };\n\n const onFocus = (evt: React.FocusEvent) => {\n props.onFocus?.(evt, { ...props, key: props.itemKey });\n };\n\n return (\n
    \n
    \n \n {onRenderField({ ...props, key: props.itemKey }, defaultOnRenderField)}\n
    \n
    \n );\n};\nChoiceGroupOptionBase.displayName = 'ChoiceGroupOption';\n","import { HighContrastSelector, getGlobalClassNames, getHighContrastNoAdjustStyle } from '../../../Styling';\nimport { IsFocusVisibleClassName } from '../../../Utilities';\nimport type { IStyle } from '../../../Styling';\nimport type { IChoiceGroupOptionStyleProps, IChoiceGroupOptionStyles } from './ChoiceGroupOption.types';\n\nconst GlobalClassNames = {\n root: 'ms-ChoiceField',\n choiceFieldWrapper: 'ms-ChoiceField-wrapper',\n input: 'ms-ChoiceField-input',\n field: 'ms-ChoiceField-field',\n innerField: 'ms-ChoiceField-innerField',\n imageWrapper: 'ms-ChoiceField-imageWrapper',\n iconWrapper: 'ms-ChoiceField-iconWrapper',\n labelWrapper: 'ms-ChoiceField-labelWrapper',\n checked: 'is-checked',\n};\n\nconst labelWrapperLineHeight = 15;\nconst labelWrapperHeight = labelWrapperLineHeight * 2 + 2; // adding 2px height to ensure text doesn't get cutoff\nconst iconSize = 32;\nconst choiceFieldSize = 20;\nconst choiceFieldTransitionDuration = '200ms';\nconst choiceFieldTransitionTiming = 'cubic-bezier(.4, 0, .23, 1)';\nconst radioButtonSpacing = 3;\nconst radioButtonInnerSize = 5;\n\nfunction getChoiceGroupFocusStyle(focusBorderColor: string, hasIconOrImage?: boolean): IStyle {\n return [\n 'is-inFocus',\n {\n selectors: {\n [`.${IsFocusVisibleClassName} &`]: {\n position: 'relative',\n outline: 'transparent',\n selectors: {\n '::-moz-focus-inner': {\n border: 0,\n },\n ':after': {\n content: '\"\"',\n top: -2,\n right: -2,\n bottom: -2,\n left: -2,\n pointerEvents: 'none',\n border: `1px solid ${focusBorderColor}`,\n position: 'absolute',\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'WindowText',\n borderWidth: hasIconOrImage ? 1 : 2,\n },\n },\n },\n },\n },\n },\n },\n ];\n}\n\nfunction getImageWrapperStyle(isSelectedImageWrapper: boolean, className?: string, checked?: boolean): IStyle {\n return [\n className,\n {\n paddingBottom: 2,\n transitionProperty: 'opacity',\n transitionDuration: choiceFieldTransitionDuration,\n transitionTimingFunction: 'ease',\n selectors: {\n '.ms-Image': {\n display: 'inline-block',\n borderStyle: 'none',\n },\n },\n },\n (checked ? !isSelectedImageWrapper : isSelectedImageWrapper) && [\n 'is-hidden',\n {\n position: 'absolute',\n left: 0,\n top: 0,\n width: '100%',\n height: '100%',\n overflow: 'hidden',\n opacity: 0,\n },\n ],\n ];\n}\n\nexport const getStyles = (props: IChoiceGroupOptionStyleProps): IChoiceGroupOptionStyles => {\n const { theme, hasIcon, hasImage, checked, disabled, imageIsLarge, focused, imageSize } = props;\n const { palette, semanticColors, fonts } = theme;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n // Tokens\n // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.smallInputBorder\n const circleBorderColor = palette.neutralPrimary;\n const circleHoveredBorderColor = semanticColors.inputBorderHovered;\n const circleCheckedBorderColor = semanticColors.inputBackgroundChecked;\n // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBackgroundCheckedHovered\n const circleCheckedHoveredBorderColor = palette.themeDark;\n const circleDisabledBorderColor = semanticColors.disabledBodySubtext;\n const circleBackgroundColor = semanticColors.bodyBackground;\n const dotUncheckedHoveredColor = palette.neutralSecondary;\n const dotCheckedColor = semanticColors.inputBackgroundChecked;\n // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBackgroundCheckedHovered\n const dotCheckedHoveredColor = palette.themeDark;\n const dotDisabledColor = semanticColors.disabledBodySubtext;\n // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.bodyTextChecked\n const labelHoverFocusColor = palette.neutralDark;\n const focusBorderColor = semanticColors.focusBorder;\n const iconOrImageChoiceBorderUncheckedHoveredColor = semanticColors.inputBorderHovered;\n // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBackgroundCheckedHovered\n const iconOrImageChoiceBorderCheckedColor = semanticColors.inputBackgroundChecked;\n const iconOrImageChoiceBorderCheckedHoveredColor = palette.themeDark;\n const iconOrImageChoiceBackgroundColor = palette.neutralLighter;\n\n const fieldHoverOrFocusProperties = {\n selectors: {\n '.ms-ChoiceFieldLabel': {\n color: labelHoverFocusColor,\n },\n ':before': {\n borderColor: checked ? circleCheckedHoveredBorderColor : circleHoveredBorderColor,\n },\n ':after': [\n !hasIcon &&\n !hasImage &&\n !checked && {\n content: '\"\"',\n transitionProperty: 'background-color',\n left: 5,\n top: 5,\n width: 10,\n height: 10,\n backgroundColor: dotUncheckedHoveredColor,\n },\n checked && {\n borderColor: dotCheckedHoveredColor,\n background: dotCheckedHoveredColor,\n },\n ],\n },\n };\n\n const enabledFieldWithImageHoverOrFocusProperties = {\n borderColor: checked ? iconOrImageChoiceBorderCheckedHoveredColor : iconOrImageChoiceBorderUncheckedHoveredColor,\n selectors: {\n ':before': {\n opacity: 1,\n borderColor: checked ? circleCheckedHoveredBorderColor : circleHoveredBorderColor,\n },\n },\n };\n\n const circleAreaProperties: IStyle = [\n {\n content: '\"\"',\n display: 'inline-block',\n backgroundColor: circleBackgroundColor,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: circleBorderColor,\n width: choiceFieldSize,\n height: choiceFieldSize,\n fontWeight: 'normal',\n position: 'absolute',\n top: 0,\n left: 0,\n boxSizing: 'border-box',\n transitionProperty: 'border-color',\n transitionDuration: choiceFieldTransitionDuration,\n transitionTimingFunction: choiceFieldTransitionTiming,\n borderRadius: '50%',\n },\n disabled && {\n borderColor: circleDisabledBorderColor,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'GrayText',\n background: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n checked && {\n borderColor: disabled ? circleDisabledBorderColor : circleCheckedBorderColor,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n background: 'Window',\n forcedColorAdjust: 'none',\n },\n },\n },\n (hasIcon || hasImage) && {\n top: radioButtonSpacing,\n right: radioButtonSpacing,\n left: 'auto', // To reset the value of 'left' to its default value, so that 'right' works\n opacity: checked ? 1 : 0,\n },\n ];\n\n const dotAreaProperties: IStyle = [\n {\n content: '\"\"',\n width: 0,\n height: 0,\n borderRadius: '50%',\n position: 'absolute',\n left: choiceFieldSize / 2,\n right: 0,\n transitionProperty: 'border-width',\n transitionDuration: choiceFieldTransitionDuration,\n transitionTimingFunction: choiceFieldTransitionTiming,\n boxSizing: 'border-box',\n },\n checked && {\n borderWidth: 5,\n borderStyle: 'solid',\n borderColor: disabled ? dotDisabledColor : dotCheckedColor,\n background: dotCheckedColor,\n left: 5,\n top: 5,\n width: 10,\n height: 10,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n forcedColorAdjust: 'none',\n },\n },\n },\n checked &&\n (hasIcon || hasImage) && {\n top: radioButtonSpacing + radioButtonInnerSize,\n right: radioButtonSpacing + radioButtonInnerSize,\n left: 'auto', // To reset the value of 'left' to its default value, so that 'right' works\n },\n ];\n\n return {\n root: [\n classNames.root,\n theme.fonts.medium,\n {\n display: 'flex',\n alignItems: 'center',\n boxSizing: 'border-box',\n color: semanticColors.bodyText,\n minHeight: 26,\n border: 'none',\n position: 'relative',\n marginTop: 8,\n selectors: {\n '.ms-ChoiceFieldLabel': {\n display: 'inline-block',\n },\n },\n },\n !hasIcon &&\n !hasImage && {\n selectors: {\n '.ms-ChoiceFieldLabel': {\n paddingLeft: '26px',\n },\n },\n },\n hasImage && 'ms-ChoiceField--image',\n hasIcon && 'ms-ChoiceField--icon',\n (hasIcon || hasImage) && {\n display: 'inline-flex',\n fontSize: 0,\n margin: '0 4px 4px 0',\n paddingLeft: 0,\n backgroundColor: iconOrImageChoiceBackgroundColor,\n height: '100%',\n },\n ],\n choiceFieldWrapper: [\n classNames.choiceFieldWrapper,\n focused && getChoiceGroupFocusStyle(focusBorderColor, hasIcon || hasImage),\n ],\n // The hidden input\n input: [\n classNames.input,\n {\n position: 'absolute',\n opacity: 0,\n top: 0,\n right: 0,\n width: '100%',\n height: '100%',\n margin: 0,\n },\n disabled && 'is-disabled',\n ],\n field: [\n classNames.field,\n checked && classNames.checked,\n {\n display: 'inline-block',\n cursor: 'pointer',\n marginTop: 0,\n position: 'relative',\n verticalAlign: 'top',\n userSelect: 'none',\n minHeight: 20,\n selectors: {\n ':hover': !disabled && fieldHoverOrFocusProperties,\n ':focus': !disabled && fieldHoverOrFocusProperties,\n\n // The circle\n ':before': circleAreaProperties,\n\n // The dot\n ':after': dotAreaProperties,\n },\n },\n hasIcon && 'ms-ChoiceField--icon',\n hasImage && 'ms-ChoiceField-field--image',\n (hasIcon || hasImage) && {\n boxSizing: 'content-box',\n cursor: 'pointer',\n paddingTop: 22,\n margin: 0,\n textAlign: 'center',\n transitionProperty: 'all',\n transitionDuration: choiceFieldTransitionDuration,\n transitionTimingFunction: 'ease',\n border: '1px solid transparent',\n justifyContent: 'center',\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'column',\n },\n checked && {\n borderColor: iconOrImageChoiceBorderCheckedColor,\n },\n (hasIcon || hasImage) &&\n !disabled && {\n selectors: {\n ':hover': enabledFieldWithImageHoverOrFocusProperties,\n ':focus': enabledFieldWithImageHoverOrFocusProperties,\n },\n },\n disabled && {\n cursor: 'default',\n selectors: {\n '.ms-ChoiceFieldLabel': {\n color: semanticColors.disabledBodyText,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n },\n },\n checked &&\n disabled && {\n borderColor: iconOrImageChoiceBackgroundColor,\n },\n ],\n innerField: [\n classNames.innerField,\n hasImage && {\n // using non-null assertion because we have a default in `ChoiceGroupOptionBase` class.\n height: imageSize!.height,\n width: imageSize!.width,\n },\n (hasIcon || hasImage) && {\n position: 'relative',\n display: 'inline-block',\n paddingLeft: 30,\n paddingRight: 30,\n },\n (hasIcon || hasImage) &&\n imageIsLarge && {\n paddingLeft: 24,\n paddingRight: 24,\n },\n (hasIcon || hasImage) &&\n disabled && {\n opacity: 0.25,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n opacity: 1,\n },\n },\n },\n ],\n imageWrapper: getImageWrapperStyle(false, classNames.imageWrapper, checked),\n selectedImageWrapper: getImageWrapperStyle(true, classNames.imageWrapper, checked),\n iconWrapper: [\n classNames.iconWrapper,\n {\n fontSize: iconSize,\n lineHeight: iconSize,\n height: iconSize,\n },\n ],\n labelWrapper: [\n classNames.labelWrapper,\n fonts.medium,\n (hasIcon || hasImage) && {\n display: 'block',\n position: 'relative',\n margin: '4px 8px 2px 8px',\n height: labelWrapperHeight,\n lineHeight: labelWrapperLineHeight,\n // using non-null assertion because we have a default in `ChoiceGroupOptionBase` class.\n maxWidth: imageSize!.width * 2,\n overflow: 'hidden',\n whiteSpace: 'pre-wrap',\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../../Utilities';\nimport { ChoiceGroupOptionBase } from './ChoiceGroupOption.base';\nimport { getStyles } from './ChoiceGroupOption.styles';\nimport type {\n IChoiceGroupOptionProps,\n IChoiceGroupOptionStyleProps,\n IChoiceGroupOptionStyles,\n} from './ChoiceGroupOption.types';\n\nexport const ChoiceGroupOption: React.FunctionComponent = styled<\n IChoiceGroupOptionProps,\n IChoiceGroupOptionStyleProps,\n IChoiceGroupOptionStyles\n>(ChoiceGroupOptionBase, getStyles, undefined, { scope: 'ChoiceGroupOption' });\n","import * as React from 'react';\nimport { Label } from '../../Label';\nimport {\n classNamesFunction,\n find,\n FocusRectsContext,\n getNativeProps,\n divProperties,\n setFocusVisibility,\n useFocusRects,\n} from '../../Utilities';\nimport { ChoiceGroupOption } from './ChoiceGroupOption/index';\nimport { useId, useControllableValue, useMergedRefs, useWarnings } from '@fluentui/react-hooks';\nimport type { IRefObject } from '../../Utilities';\nimport type {\n IChoiceGroupOption,\n IChoiceGroupProps,\n IChoiceGroupStyleProps,\n IChoiceGroupStyles,\n IChoiceGroup,\n} from './ChoiceGroup.types';\nimport type { IChoiceGroupOptionProps } from './ChoiceGroupOption/ChoiceGroupOption.types';\n\nconst getClassNames = classNamesFunction();\n\nconst getOptionId = (option: IChoiceGroupOption, id: string): string => {\n return `${id}-${option.key}`;\n};\n\nconst findOption = (options: IChoiceGroupOption[], key: IChoiceGroupProps['selectedKey']) => {\n return key === undefined ? undefined : find(options, value => value.key === key);\n};\n\nconst focusSelectedOption = (\n options: IChoiceGroupOption[],\n keyChecked: IChoiceGroupProps['selectedKey'],\n id: string,\n focusProviders?: React.RefObject[],\n) => {\n const optionToFocus = findOption(options, keyChecked) || options.filter(option => !option.disabled)[0];\n const elementToFocus = optionToFocus && document.getElementById(getOptionId(optionToFocus, id));\n\n if (elementToFocus) {\n elementToFocus.focus();\n setFocusVisibility(true, elementToFocus as Element, focusProviders);\n }\n};\n\nconst focusFromFocusTrapZone = (evt: React.FocusEvent): boolean => {\n return evt.relatedTarget instanceof HTMLElement && evt.relatedTarget.dataset.isFocusTrapZoneBumper === 'true';\n};\n\nconst useComponentRef = (\n options: IChoiceGroupOption[],\n keyChecked: IChoiceGroupProps['selectedKey'],\n id: string,\n componentRef?: IRefObject,\n focusProviders?: React.RefObject[],\n) => {\n React.useImperativeHandle(\n componentRef,\n () => ({\n get checkedOption() {\n return findOption(options, keyChecked);\n },\n focus() {\n focusSelectedOption(options, keyChecked, id, focusProviders);\n },\n }),\n [options, keyChecked, id, focusProviders],\n );\n};\n\nconst COMPONENT_NAME = 'ChoiceGroup';\n\nexport const ChoiceGroupBase: React.FunctionComponent = React.forwardRef<\n HTMLDivElement,\n IChoiceGroupProps\n>((props, forwardedRef) => {\n const {\n className,\n theme,\n styles,\n options = [],\n label,\n required,\n disabled,\n name,\n defaultSelectedKey,\n componentRef,\n onChange,\n } = props;\n const id = useId('ChoiceGroup');\n const labelId = useId('ChoiceGroupLabel');\n\n const divProps = getNativeProps>(props, divProperties, [\n 'onChange',\n 'className',\n 'required',\n ]);\n\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n optionsContainIconOrImage: options.some(option => !!(option.iconProps || option.imageSrc)),\n });\n\n const ariaLabelledBy = props.ariaLabelledBy || (label ? labelId : props['aria-labelledby']);\n\n const [keyChecked, setKeyChecked] = useControllableValue(props.selectedKey, defaultSelectedKey);\n const [keyFocused, setKeyFocused] = React.useState();\n\n const rootRef = React.useRef(null);\n const mergedRootRefs: React.Ref = useMergedRefs(rootRef, forwardedRef);\n\n const focusContext = React.useContext(FocusRectsContext);\n\n useDebugWarnings(props);\n useComponentRef(options, keyChecked, id, componentRef, focusContext?.registeredProviders);\n useFocusRects(rootRef);\n\n const onFocus = React.useCallback((ev?: React.FocusEvent, option?: IChoiceGroupOptionProps) => {\n if (option) {\n setKeyFocused(option.itemKey);\n option.onFocus?.(ev);\n }\n }, []);\n\n const onBlur = React.useCallback((ev: React.FocusEvent, option?: IChoiceGroupOptionProps) => {\n setKeyFocused(undefined);\n option?.onBlur?.(ev);\n }, []);\n\n const onOptionChange = React.useCallback(\n (evt?: React.FormEvent, option?: IChoiceGroupOptionProps) => {\n if (!option) {\n return;\n }\n setKeyChecked(option.itemKey);\n\n option.onChange?.(evt);\n onChange?.(evt, findOption(options, option.itemKey));\n },\n [onChange, options, setKeyChecked],\n );\n\n const onRadioFocus = React.useCallback(\n (evt: React.FocusEvent) => {\n // Handles scenarios like this bug: https://github.com/microsoft/fluentui/issues/20173\n if (focusFromFocusTrapZone(evt)) {\n focusSelectedOption(options, keyChecked, id, focusContext?.registeredProviders);\n }\n },\n [options, keyChecked, id, focusContext],\n );\n\n return (\n
    \n
    \n {label && (\n \n )}\n
    \n {options.map((option: IChoiceGroupOption) => {\n return (\n \n );\n })}\n
    \n
    \n
    \n );\n});\nChoiceGroupBase.displayName = COMPONENT_NAME;\n\nfunction useDebugWarnings(props: IChoiceGroupProps) {\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks -- build-time conditional\n useWarnings({\n name: COMPONENT_NAME,\n props,\n mutuallyExclusive: {\n selectedKey: 'defaultSelectedKey',\n },\n });\n }\n}\n","import { getGlobalClassNames } from '../../Styling';\nimport type { IChoiceGroupStyleProps, IChoiceGroupStyles } from './ChoiceGroup.types';\n\nconst GlobalClassNames = {\n root: 'ms-ChoiceFieldGroup',\n flexContainer: 'ms-ChoiceFieldGroup-flexContainer',\n};\n\nexport const getStyles = (props: IChoiceGroupStyleProps): IChoiceGroupStyles => {\n const { className, optionsContainIconOrImage, theme } = props;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return {\n root: [\n className,\n classNames.root,\n theme.fonts.medium,\n {\n display: 'block',\n },\n ],\n flexContainer: [\n classNames.flexContainer,\n optionsContainIconOrImage && {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { ChoiceGroupBase } from './ChoiceGroup.base';\nimport { getStyles } from './ChoiceGroup.styles';\nimport type { IChoiceGroupProps, IChoiceGroupStyles, IChoiceGroupStyleProps } from './ChoiceGroup.types';\n\nexport const ChoiceGroup: React.FunctionComponent = styled<\n IChoiceGroupProps,\n IChoiceGroupStyleProps,\n IChoiceGroupStyles\n>(ChoiceGroupBase, getStyles, undefined, { scope: 'ChoiceGroup' });\n","export interface ISelectableOption {\n /**\n * Arbitrary string associated with this option.\n */\n key: string | number;\n\n /**\n * ID attribute associated with this option\n */\n id?: string;\n\n /**\n * Text to render for this option\n */\n text: string;\n\n /**\n * Title attribute (built in tooltip) for a given option.\n */\n title?: string;\n\n /**\n * Text to render for this option\n * Note: the SelectAll itemType is only supported on one option in multiselect components\n */\n itemType?: SelectableOptionMenuItemType;\n\n /**\n * Index for this option\n */\n index?: number;\n\n /**\n * The aria label for the dropdown option. If not present, the `text` will be used.\n */\n ariaLabel?: string;\n\n /** If option is selected. */\n selected?: boolean;\n\n /**\n * Whether the option is disabled\n * @defaultvalue false\n */\n disabled?: boolean;\n\n /**\n * Defines whether the option is hidden or not.\n * @defaultvalue false\n */\n hidden?: boolean;\n\n /**\n * Data available to custom onRender functions.\n */\n data?: T;\n}\n\nexport enum SelectableOptionMenuItemType {\n Normal = 0,\n Divider = 1,\n Header = 2,\n SelectAll = 3,\n}\n","import { DropdownMenuItemType } from '../Dropdown.types';\nimport type { IDropdownOption } from '../Dropdown.types';\n\n/**\n * A utility class to cache size and position in cache.\n *\n * Dropdown options has non-selectable display types. It is therefore not cheap to determine\n * the total number of actual selectable options as well as the position an option is in the\n * list of options - O(n) cost for each lookup.\n *\n * Given that we potentially have to make this determination on every single render pass, this\n * cache should provide a little bit of relief.\n */\nexport class DropdownSizePosCache {\n private _cachedOptions: IDropdownOption[];\n private _displayOnlyOptionsCache: number[];\n private _notSelectableOptionsCache: number[];\n private _size = 0;\n\n /**\n * Invalidates the cache and recalculate the size of selectable options.\n */\n public updateOptions(options: IDropdownOption[]) {\n const displayOnlyOptionsCache = [];\n const notSelectableOptionsCache = [];\n let size = 0;\n for (let i = 0; i < options.length; i++) {\n const { itemType, hidden } = options[i];\n\n if (itemType === DropdownMenuItemType.Divider || itemType === DropdownMenuItemType.Header) {\n displayOnlyOptionsCache.push(i);\n notSelectableOptionsCache.push(i);\n } else if (hidden) {\n notSelectableOptionsCache.push(i);\n } else {\n size++;\n }\n }\n\n this._size = size;\n this._displayOnlyOptionsCache = displayOnlyOptionsCache;\n this._notSelectableOptionsCache = notSelectableOptionsCache;\n this._cachedOptions = [...options];\n }\n\n /**\n * The size of all the selectable options.\n */\n public get optionSetSize(): number {\n return this._size;\n }\n\n /**\n * The chached options array.\n */\n public get cachedOptions(): IDropdownOption[] {\n return this._cachedOptions;\n }\n\n /**\n * Returns the position of this option element relative to the full set of selectable option elements.\n * Note: the first selectable element is position 1 in the set.\n * @param index The raw index of the option element.\n */\n public positionInSet(index: number | undefined): number | undefined {\n if (index === undefined) {\n return undefined;\n }\n\n // we could possibly memoize this too but this should be good enough, most of the time (the expectation is that\n // when you have a lot of options, the selectable options will heavily dominate over the non-selectable options.\n let offset = 0;\n while (index > this._notSelectableOptionsCache[offset]) {\n offset++;\n }\n\n if (this._displayOnlyOptionsCache[offset] === index) {\n throw new Error(`Unexpected: Option at index ${index} is not a selectable element.`);\n }\n\n if (this._notSelectableOptionsCache[offset] === index) {\n return undefined;\n }\n\n return index - offset + 1;\n }\n}\n","import * as React from 'react';\nimport { PanelBase } from './Panel.base';\nimport type { IFocusTrapZoneProps } from '../../FocusTrapZone';\nimport type { ILayerProps } from '../../Layer';\nimport type { IOverlayProps } from '../../Overlay';\nimport type { IStyle, ITheme } from '../../Styling';\nimport type { IRefObject, IRenderFunction, IStyleFunctionOrObject } from '../../Utilities';\nimport type { IButtonStyles } from '../../Button';\nimport type { IPopupProps } from '../../Popup';\n\n/**\n * {@docCategory Panel}\n */\nexport interface IPanel {\n /**\n * Forces the panel to open.\n */\n open: () => void;\n\n /**\n * Forces the panel to dismiss.\n */\n dismiss: (ev?: React.KeyboardEvent | KeyboardEvent) => void;\n}\n\n/**\n * {@docCategory Panel}\n */\nexport interface IPanelProps extends React.HTMLAttributes {\n /**\n * Optional callback to access the IPanel interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject;\n\n /**\n * Whether the panel is displayed.\n * If true, will cause panel to stay open even if dismissed.\n * If false, will cause panel to stay hidden.\n * If undefined, will allow the panel to control its own visibility through open/dismiss methods.\n * @defaultvalue undefined\n */\n isOpen?: boolean;\n\n /**\n * Has the close button visible.\n * @defaultvalue true\n */\n hasCloseButton?: boolean;\n\n /**\n * Whether the panel can be light dismissed.\n * @defaultvalue false\n */\n isLightDismiss?: boolean;\n\n /**\n * Whether the panel is hidden on dismiss, instead of destroyed in the DOM.\n * Protects the contents from being destroyed when the panel is dismissed.\n * @defaultvalue false\n */\n isHiddenOnDismiss?: boolean;\n\n /**\n * Whether the panel uses a modal overlay or not\n * @defaultvalue true\n */\n isBlocking?: boolean;\n\n /**\n * Determines if content should stretch to fill available space putting footer at the bottom of the page\n * @defaultvalue false\n */\n isFooterAtBottom?: boolean;\n\n /**\n * Header text for the Panel.\n * @defaultvalue \"\"\n */\n headerText?: string;\n\n /**\n * The props for header text container.\n */\n headerTextProps?: React.HTMLAttributes;\n\n /**\n * A callback function for when the Panel is opened, before the animation completes.\n */\n onOpen?: () => void;\n\n /**\n * A callback function for when the Panel is opened, after the animation completes.\n */\n onOpened?: () => void;\n\n /**\n * A callback function for when the panel is closed, before the animation completes.\n * If the panel should NOT be dismissed based on some keyboard event, then simply call ev.preventDefault() on it\n */\n onDismiss?: (ev?: React.SyntheticEvent | KeyboardEvent) => void;\n\n /**\n * A callback function which is called **after** the Panel is dismissed and the animation is complete.\n * (If you need to update the Panel's `isOpen` prop in response to a dismiss event, use `onDismiss` instead.)\n */\n onDismissed?: () => void;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * Theme provided by High-Order Component.\n */\n theme?: ITheme;\n\n /**\n * Additional css class to apply to the Panel\n * @defaultvalue undefined\n */\n className?: string;\n\n /**\n * Type of the panel.\n * @defaultvalue PanelType.smallFixedFar\n */\n type?: PanelType;\n\n /**\n * Custom panel width, used only when `type` is set to `PanelType.custom`.\n */\n customWidth?: string;\n\n /**\n * Aria label on close button\n */\n closeButtonAriaLabel?: string;\n\n /**\n * Optional parameter to provider the class name for header text\n */\n headerClassName?: string;\n\n /**\n * Sets the HTMLElement to focus on when exiting the FocusTrapZone.\n * @defaultvalue The `element.target` that triggered the Panel.\n */\n elementToFocusOnDismiss?: HTMLElement;\n\n /**\n * Indicates if this Panel will ignore keeping track of HTMLElement that activated the Zone.\n * @defaultvalue false\n * @deprecated Use `focusTrapZoneProps`.\n */\n ignoreExternalFocusing?: boolean;\n\n /**\n * Indicates whether Panel should force focus inside the focus trap zone.\n * If not explicitly specified, behavior aligns with FocusTrapZone's default behavior.\n * @deprecated Use `focusTrapZoneProps`.\n */\n forceFocusInsideTrap?: boolean;\n\n /**\n * Indicates the selector for first focusable item.\n * @deprecated Use `focusTrapZoneProps`.\n */\n firstFocusableSelector?: string;\n\n /**\n * Optional props to pass to the FocusTrapZone component to manage focus in the panel.\n */\n focusTrapZoneProps?: IFocusTrapZoneProps;\n\n /**\n * Optional props to pass to the Layer component hosting the panel.\n */\n layerProps?: ILayerProps;\n\n /**\n * Optional props to pass to the Overlay component that the panel uses.\n */\n overlayProps?: IOverlayProps;\n\n /**\n * Optional props to pass the Popup component that the panel uses.\n */\n popupProps?: IPopupProps;\n\n /**\n * Optional custom function to handle clicks outside the panel in lightdismiss mode\n */\n onLightDismissClick?: () => void;\n\n /**\n * Optional custom function to handle clicks outside this component\n */\n onOuterClick?: (ev?: React.MouseEvent) => void;\n\n /**\n * Optional custom renderer navigation region. Replaces the region that contains the close button.\n */\n onRenderNavigation?: IRenderFunction;\n\n /**\n * Optional custom renderer for content in the navigation region. Replaces current close button.\n */\n onRenderNavigationContent?: IRenderFunction;\n\n /**\n * Optional custom renderer for header region. Replaces current title\n */\n onRenderHeader?: IPanelHeaderRenderer;\n\n /**\n * Optional custom renderer for body region. Replaces any children passed into the component.\n */\n onRenderBody?: IRenderFunction;\n\n /**\n * Optional custom renderer for footer region. Replaces sticky footer.\n */\n onRenderFooter?: IRenderFunction;\n\n /**\n * Custom renderer for content in the sticky footer\n */\n onRenderFooterContent?: IRenderFunction;\n\n /**\n * @deprecated Not used.\n */\n componentId?: string;\n\n /**\n * Allow body scroll on content and overlay on touch devices. Changing after mounting has no effect.\n * @defaultvalue false\n */\n allowTouchBodyScroll?: boolean;\n}\n\n/**\n * Renderer function which takes an additional parameter, the ID to use for the element containing\n * the panel's title. This allows the `aria-labelledby` for the panel popup to work correctly.\n * Note that if `headerTextId` is provided, it **must** be used on an element, or screen readers\n * will be confused by the reference to a nonexistent ID.\n * {@docCategory Panel}\n */\nexport interface IPanelHeaderRenderer extends IRenderFunction {\n /**\n * @param props - Props given to the panel\n * @param defaultRender - Default header renderer. If using this renderer in code that does not\n * assign `headerTextId` to an element elsewhere, it **must** be passed to this function.\n * @param headerTextId - If provided, this **must** be used as the ID of an element containing the\n * panel's title, because the panel popup uses this ID as its aria-labelledby.\n */\n (props?: IPanelProps, defaultRender?: IPanelHeaderRenderer, headerTextId?: string | undefined): JSX.Element | null;\n}\n\n/**\n * {@docCategory Panel}\n */\nexport enum PanelType {\n /**\n * Renders the Panel with a `fluid` (full screen) width.\n * Recommended for use on small screen breakpoints.\n * - Small (320-479): full screen width, 16px left/right padding\n * - Medium (480-639): full screen width, 16px left/right padding\n * - Large (640-1023): full screen width, 32px left/right padding\n * - XLarge (1024-1365): full screen width, 32px left/right padding\n * - XXLarge (1366-up): full screen width, 40px left/right padding\n */\n smallFluid = 0,\n\n /**\n * Renders the Panel in fixed-width `small` size, anchored to the far side (right in LTR mode).\n * - Small (320-479): adapts to `PanelType.smallFluid` at this breakpoint\n * - Medium (480-639): 340px width, 16px left/right padding\n * - Large (640-1023): 340px width, 32px left/right padding\n * - XLarge (1024-1365): 340px width, 32px left/right padding\n * - XXLarge (1366-up): 340px width, 40px left/right padding\n */\n smallFixedFar = 1,\n\n /**\n * Renders the Panel in fixed-width `small` size, anchored to the near side (left in LTR mode).\n * - Small (320-479): 272px width, 16px left/right padding\n * - Medium (480-639): 272px width, 16px left/right padding\n * - Large (640-1023): 272px width, 32px left/right padding\n * - XLarge (1024-1365): 272px width, 32px left/right padding\n * - XXLarge (1366-up): 272px width, 40px left/right padding\n */\n smallFixedNear = 2,\n\n /**\n * Renders the Panel in `medium` size, anchored to the far side (right in LTR mode).\n * - Small (320-479): adapts to `PanelType.smallFluid` at this breakpoint\n * - Medium (480-639): adapts to `PanelType.smallFixedFar` at this breakpoint\n * - Large (640-1023): 592px width, 32px left/right padding\n * - XLarge (1024-1365): 644px width, 32px left/right padding\n * - XXLarge (1366-up): 644px width, 40px left/right padding\n */\n medium = 3,\n\n /**\n * Renders the Panel in `large` size, anchored to the far side (right in LTR mode).\n * - Small (320-479): adapts to `PanelType.smallFluid` at this breakpoint\n * - Medium (480-639): adapts to `PanelType.smallFixedFar` at this breakpoint\n * - Large (640-1023): adapts to `PanelType.medium` at this breakpoint\n * - XLarge (1024-1365): 48px fixed left margin, fluid width, 32px left/right padding\n * - XXLarge (1366-up): 428px fixed left margin, fluid width, 40px left/right padding\n */\n large = 4,\n\n /**\n * Renders the Panel in `large` size, anchored to the far side (right in LTR mode), with a fixed width at\n * XX-Large breakpoint.\n * - Small (320-479): adapts to `PanelType.smallFluid` at this breakpoint\n * - Medium (480-639): adapts to `PanelType.smallFixedFar` at this breakpoint\n * - Large (640-1023): adapts to `PanelType.medium` at this breakpoint\n * - XLarge (1024-1365): 48px fixed left margin, fluid width, 32px left/right padding\n * - XXLarge (1366-up): 940px width, 40px left/right padding\n */\n largeFixed = 5,\n\n /**\n * Renders the Panel in `extra large` size, anchored to the far side (right in LTR mode).\n * - Small (320-479): adapts to `PanelType.smallFluid` at this breakpoint\n * - Medium (480-639): adapts to `PanelType.smallFixedFar` at this breakpoint\n * - Large (640-1023): adapts to `PanelType.medium` at this breakpoint\n * - XLarge (1024-1365): adapts to `PanelType.large` at this breakpoint\n * - XXLarge (1366-1919): 176px fixed left margin, fluid width, 40px left/right padding\n * - XXXLarge (1920-up): 176px fixed left margin, fluid width, 40px left/right padding\n */\n extraLarge = 6,\n\n /**\n * Renders the Panel in `custom` size using `customWidth`, anchored to the far side (right in LTR mode).\n * - Has a fixed width provided by the `customWidth` prop\n * - When screen width reaches the `customWidth` value it will behave like a fluid width Panel\n * taking up 100% of the viewport width\n */\n custom = 7,\n\n /**\n * Renders the Panel in `custom` size using `customWidth`, anchored to the near side (left in LTR mode).\n * - Has a fixed width provided by the `customWidth` prop\n * - When screen width reaches the `customWidth` value it will behave like a fluid width Panel\n * taking up 100% of the viewport width\n */\n customNear = 8,\n}\n\n/**\n * {@docCategory Panel}\n */\nexport interface IPanelStyleProps {\n /**\n * Theme provided by High-Order Component.\n */\n theme: ITheme;\n\n /**\n * Accept custom classNames\n */\n className?: string;\n\n /**\n * Is Panel open\n */\n isOpen?: boolean;\n\n /**\n * Is animation currently running\n */\n isAnimating?: boolean;\n\n /**\n * Is panel on right side\n */\n isOnRightSide?: boolean;\n\n /**\n * Is panel hidden on dismiss\n */\n isHiddenOnDismiss?: boolean;\n\n /**\n * Classname for FocusTrapZone element\n */\n focusTrapZoneClassName?: string;\n\n /**\n * Determines if content should stretch to fill available space putting footer at the bottom of the page\n */\n isFooterAtBottom?: boolean;\n\n /**\n * Based on state value setting footer to sticky or not\n */\n isFooterSticky?: boolean;\n\n /**\n * Panel has close button\n */\n hasCloseButton?: boolean;\n\n /**\n * Type of the panel.\n */\n type?: PanelType;\n\n /**\n * Optional parameter to provider the class name for header text\n */\n headerClassName?: string;\n\n /**\n * Determines where the header is rendered based on whether the user\n * has passed in a custom onRenderNavigation or onRenderNavigationContent render callback\n */\n hasCustomNavigation?: boolean;\n}\n\nexport interface IPanelSubComponentStyles {\n /**\n * Styling for close button child component.\n */\n closeButton: Partial;\n}\n\n/**\n * {@docCategory Panel}\n */\nexport interface IPanelStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n\n /**\n * Style for the overlay element.\n */\n overlay: IStyle;\n\n /**\n * Style for the hidden element.\n */\n hiddenPanel: IStyle;\n\n /**\n * Style for the main section element.\n */\n main: IStyle;\n\n /**\n * Style for the navigation container element.\n */\n commands: IStyle;\n\n /**\n * Style for the Body and Footer container element.\n */\n contentInner: IStyle;\n\n /**\n * Style for the scrollable content area container element.\n */\n scrollableContent: IStyle;\n\n /**\n * Style for the close button container element.\n */\n navigation: IStyle;\n\n /**\n * Style for the close button IconButton element.\n * @deprecated Use `subComponentStyles.closeButton` instead.\n */\n closeButton?: IStyle;\n\n /**\n * Style for the header container div element.\n */\n header: IStyle;\n\n /**\n * Style for the header text div element.\n */\n headerText: IStyle;\n\n /**\n * Style for the body div element.\n */\n content: IStyle;\n\n /**\n * Style for the footer div element.\n */\n footer: IStyle;\n\n /**\n * Style for the inner footer div element.\n */\n footerInner: IStyle;\n\n /**\n * Styling for subcomponents.\n */\n subComponentStyles: IPanelSubComponentStyles;\n}\n","import * as React from 'react';\nimport {\n classNamesFunction,\n getNativeProps,\n divProperties,\n enableBodyScroll,\n disableBodyScroll,\n initializeComponentRef,\n} from '../../Utilities';\nimport type { IOverlayProps, IOverlayStyleProps, IOverlayStyles } from './Overlay.types';\n\nconst getClassNames = classNamesFunction();\n\nexport class OverlayBase extends React.Component {\n private _allowTouchBodyScroll: boolean;\n\n constructor(props: IOverlayProps) {\n super(props);\n\n initializeComponentRef(this);\n const { allowTouchBodyScroll = false } = this.props;\n this._allowTouchBodyScroll = allowTouchBodyScroll;\n }\n\n public componentDidMount(): void {\n !this._allowTouchBodyScroll && disableBodyScroll();\n }\n\n public componentWillUnmount(): void {\n !this._allowTouchBodyScroll && enableBodyScroll();\n }\n\n public render(): JSX.Element {\n const { isDarkThemed: isDark, className, theme, styles } = this.props;\n\n const divProps = getNativeProps>(this.props, divProperties);\n\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n isDark,\n });\n\n return
    ;\n }\n}\n","import { HighContrastSelector, getGlobalClassNames } from '../../Styling';\nimport type { IOverlayStyleProps, IOverlayStyles } from './Overlay.types';\n\nconst GlobalClassNames = {\n root: 'ms-Overlay',\n rootDark: 'ms-Overlay--dark',\n};\n\nexport const getStyles = (props: IOverlayStyleProps): IOverlayStyles => {\n const { className, theme, isNone, isDark } = props;\n\n const { palette } = theme;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return {\n root: [\n classNames.root,\n theme.fonts.medium,\n {\n backgroundColor: palette.whiteTranslucent40,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n position: 'absolute',\n\n selectors: {\n [HighContrastSelector]: {\n border: '1px solid WindowText',\n opacity: 0,\n },\n },\n },\n\n isNone && {\n visibility: 'hidden',\n },\n\n isDark && [\n classNames.rootDark,\n {\n backgroundColor: palette.blackTranslucent40,\n },\n ],\n\n className,\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { OverlayBase } from './Overlay.base';\nimport { getStyles } from './Overlay.styles';\nimport type { IOverlayProps, IOverlayStyleProps, IOverlayStyles } from './Overlay.types';\n\nexport const Overlay: React.FunctionComponent = styled<\n IOverlayProps,\n IOverlayStyleProps,\n IOverlayStyles\n>(OverlayBase, getStyles, undefined, {\n scope: 'Overlay',\n});\n","import * as React from 'react';\nimport { IconButton } from '../../Button';\nimport { Layer } from '../../Layer';\nimport { Overlay } from '../../Overlay';\nimport { Popup } from '../../Popup';\nimport {\n allowScrollOnElement,\n allowOverscrollOnElement,\n classNamesFunction,\n divProperties,\n elementContains,\n getId,\n getNativeProps,\n getRTL,\n css,\n warnDeprecations,\n Async,\n EventGroup,\n initializeComponentRef,\n} from '../../Utilities';\nimport { FocusTrapZone } from '../FocusTrapZone/index';\nimport { PanelType } from './Panel.types';\nimport type { IProcessedStyleSet } from '../../Styling';\nimport type { IPanel, IPanelProps, IPanelStyleProps, IPanelStyles } from './Panel.types';\n\nconst getClassNames = classNamesFunction();\nconst COMPONENT_NAME = 'Panel';\n\nenum PanelVisibilityState {\n closed,\n animatingOpen,\n open,\n animatingClosed,\n}\n\ninterface IPanelState {\n isFooterSticky?: boolean;\n id?: string;\n visibility: PanelVisibilityState;\n}\n\nexport class PanelBase extends React.Component implements IPanel {\n public static defaultProps: IPanelProps = {\n isHiddenOnDismiss: false,\n isOpen: undefined,\n isBlocking: true,\n hasCloseButton: true,\n type: PanelType.smallFixedFar,\n };\n\n private _async: Async;\n private _events: EventGroup;\n private _panel = React.createRef();\n private _classNames: IProcessedStyleSet;\n private _scrollableContent: HTMLDivElement | null;\n private _animationCallback: number | null = null;\n private _hasCustomNavigation: boolean = !!(this.props.onRenderNavigation || this.props.onRenderNavigationContent);\n private _headerTextId: string | undefined;\n private _allowTouchBodyScroll: boolean;\n\n public static getDerivedStateFromProps(\n nextProps: Readonly,\n prevState: Readonly,\n ): Partial | null {\n if (nextProps.isOpen === undefined) {\n return null; // no state update\n }\n if (\n nextProps.isOpen &&\n (prevState.visibility === PanelVisibilityState.closed ||\n prevState.visibility === PanelVisibilityState.animatingClosed)\n ) {\n return { visibility: PanelVisibilityState.animatingOpen };\n }\n if (\n !nextProps.isOpen &&\n (prevState.visibility === PanelVisibilityState.open ||\n prevState.visibility === PanelVisibilityState.animatingOpen)\n ) {\n return { visibility: PanelVisibilityState.animatingClosed };\n }\n return null;\n }\n\n constructor(props: IPanelProps) {\n super(props);\n\n const { allowTouchBodyScroll = false } = this.props;\n this._allowTouchBodyScroll = allowTouchBodyScroll;\n\n initializeComponentRef(this);\n\n warnDeprecations(COMPONENT_NAME, props, {\n ignoreExternalFocusing: 'focusTrapZoneProps',\n forceFocusInsideTrap: 'focusTrapZoneProps',\n firstFocusableSelector: 'focusTrapZoneProps',\n });\n\n this.state = {\n isFooterSticky: false,\n // intentionally ignore props so animation takes place during componentDidMount\n visibility: PanelVisibilityState.closed,\n id: getId('Panel'),\n };\n }\n\n public componentDidMount(): void {\n this._async = new Async(this);\n this._events = new EventGroup(this);\n\n this._events.on(window, 'resize', this._updateFooterPosition);\n\n if (this._shouldListenForOuterClick(this.props)) {\n this._events.on(document.body, 'mousedown', this._dismissOnOuterClick, true);\n }\n\n if (this.props.isOpen) {\n this.setState({ visibility: PanelVisibilityState.animatingOpen });\n }\n }\n\n public componentDidUpdate(previousProps: IPanelProps, previousState: IPanelState): void {\n const shouldListenOnOuterClick = this._shouldListenForOuterClick(this.props);\n const previousShouldListenOnOuterClick = this._shouldListenForOuterClick(previousProps);\n\n if (this.state.visibility !== previousState.visibility) {\n this._clearExistingAnimationTimer();\n if (this.state.visibility === PanelVisibilityState.animatingOpen) {\n this._animateTo(PanelVisibilityState.open);\n } else if (this.state.visibility === PanelVisibilityState.animatingClosed) {\n this._animateTo(PanelVisibilityState.closed);\n }\n }\n\n if (shouldListenOnOuterClick && !previousShouldListenOnOuterClick) {\n this._events.on(document.body, 'mousedown', this._dismissOnOuterClick, true);\n } else if (!shouldListenOnOuterClick && previousShouldListenOnOuterClick) {\n this._events.off(document.body, 'mousedown', this._dismissOnOuterClick, true);\n }\n }\n\n public componentWillUnmount(): void {\n this._async.dispose();\n this._events.dispose();\n }\n\n public render(): JSX.Element | null {\n const {\n className = '',\n elementToFocusOnDismiss,\n /* eslint-disable deprecation/deprecation */\n firstFocusableSelector,\n focusTrapZoneProps,\n forceFocusInsideTrap,\n hasCloseButton,\n headerText,\n headerClassName = '',\n ignoreExternalFocusing,\n isBlocking,\n isFooterAtBottom,\n isLightDismiss,\n isHiddenOnDismiss,\n layerProps,\n overlayProps,\n popupProps,\n type,\n styles,\n theme,\n customWidth,\n onLightDismissClick = this._onPanelClick,\n onRenderNavigation = this._onRenderNavigation,\n onRenderHeader = this._onRenderHeader,\n onRenderBody = this._onRenderBody,\n onRenderFooter = this._onRenderFooter,\n } = this.props;\n const { isFooterSticky, visibility, id } = this.state;\n const isLeft = type === PanelType.smallFixedNear || type === PanelType.customNear ? true : false;\n const isRTL = getRTL(theme);\n const isOnRightSide = isRTL ? isLeft : !isLeft;\n const customWidthStyles = type === PanelType.custom || type === PanelType.customNear ? { width: customWidth } : {};\n const nativeProps = getNativeProps>(this.props, divProperties);\n const isOpen = this.isActive;\n const isAnimating =\n visibility === PanelVisibilityState.animatingClosed || visibility === PanelVisibilityState.animatingOpen;\n\n this._headerTextId = headerText && id + '-headerText';\n\n if (!isOpen && !isAnimating && !isHiddenOnDismiss) {\n return null;\n }\n\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n focusTrapZoneClassName: focusTrapZoneProps ? focusTrapZoneProps.className : undefined,\n hasCloseButton,\n headerClassName,\n isAnimating,\n isFooterSticky,\n isFooterAtBottom,\n isOnRightSide,\n isOpen,\n isHiddenOnDismiss,\n type,\n hasCustomNavigation: this._hasCustomNavigation,\n });\n\n const { _classNames, _allowTouchBodyScroll } = this;\n\n let overlay;\n if (isBlocking && isOpen) {\n overlay = (\n \n );\n }\n\n return (\n \n \n
    \n {overlay}\n \n
    \n
    \n
    \n {onRenderNavigation(this.props, this._onRenderNavigation)}\n
    \n {(this._hasCustomNavigation || !hasCloseButton) &&\n onRenderHeader(this.props, this._onRenderHeader, this._headerTextId)}\n {onRenderBody(this.props, this._onRenderBody)}\n {onRenderFooter(this.props, this._onRenderFooter)}\n
    \n
    \n \n
    \n \n
    \n );\n }\n\n public open() {\n if (this.props.isOpen !== undefined) {\n return;\n }\n\n if (this.isActive) {\n return;\n }\n\n this.setState({ visibility: PanelVisibilityState.animatingOpen });\n }\n\n public close() {\n if (this.props.isOpen !== undefined) {\n return;\n }\n\n if (!this.isActive) {\n return;\n }\n\n this.setState({ visibility: PanelVisibilityState.animatingClosed });\n }\n\n public dismiss = (ev?: React.SyntheticEvent | KeyboardEvent): void => {\n if (this.props.onDismiss && this.isActive) {\n this.props.onDismiss(ev);\n }\n\n if (!ev || (ev && !ev.defaultPrevented)) {\n this.close();\n }\n };\n\n /** isActive is true when panel is open or opening. */\n public get isActive(): boolean {\n return (\n this.state.visibility === PanelVisibilityState.open ||\n this.state.visibility === PanelVisibilityState.animatingOpen\n );\n }\n\n // Allow the user to scroll within the panel but not on the body\n private _allowScrollOnPanel = (elt: HTMLDivElement | null): void => {\n if (elt) {\n if (this._allowTouchBodyScroll) {\n allowOverscrollOnElement(elt, this._events);\n } else {\n allowScrollOnElement(elt, this._events);\n }\n } else {\n this._events.off(this._scrollableContent);\n }\n this._scrollableContent = elt;\n };\n\n private _shouldListenForOuterClick(props: IPanelProps): boolean {\n return !!props.isBlocking && !!props.isOpen;\n }\n\n private _onRenderNavigation = (props: IPanelProps): JSX.Element | null => {\n if (!this.props.onRenderNavigationContent && !this.props.onRenderNavigation && !this.props.hasCloseButton) {\n return null;\n }\n const { onRenderNavigationContent = this._onRenderNavigationContent } = this.props;\n return (\n
    \n {onRenderNavigationContent(props, this._onRenderNavigationContent)}\n
    \n );\n };\n\n private _onRenderNavigationContent = (props: IPanelProps): JSX.Element | null => {\n const { closeButtonAriaLabel, hasCloseButton, onRenderHeader = this._onRenderHeader } = props;\n if (hasCloseButton) {\n const iconButtonStyles = this._classNames.subComponentStyles?.closeButton();\n\n return (\n <>\n {!this._hasCustomNavigation && onRenderHeader(this.props, this._onRenderHeader, this._headerTextId)}\n \n \n );\n }\n return null;\n };\n\n private _onRenderHeader = (\n props: IPanelProps,\n defaultRender?: (props?: IPanelProps) => JSX.Element | null,\n headerTextId?: string | undefined,\n ): JSX.Element | null => {\n const { headerText, headerTextProps = {} } = props;\n\n if (headerText) {\n return (\n
    \n \n {headerText}\n
    \n
    \n );\n }\n return null;\n };\n\n private _onRenderBody = (props: IPanelProps): JSX.Element => {\n return
    {props.children}
    ;\n };\n\n private _onRenderFooter = (props: IPanelProps): JSX.Element | null => {\n const { onRenderFooterContent = null } = this.props;\n if (onRenderFooterContent) {\n return (\n
    \n
    {onRenderFooterContent()}
    \n
    \n );\n }\n return null;\n };\n\n private _updateFooterPosition(): void {\n const scrollableContent = this._scrollableContent;\n if (scrollableContent) {\n const height = scrollableContent.clientHeight;\n const innerHeight = scrollableContent.scrollHeight;\n\n this.setState({\n isFooterSticky: height < innerHeight ? true : false,\n });\n }\n }\n\n private _dismissOnOuterClick(ev: React.MouseEvent): void {\n const panel = this._panel.current;\n if (this.isActive && panel && !ev.defaultPrevented) {\n if (!elementContains(panel, ev.target as HTMLElement)) {\n if (this.props.onOuterClick) {\n this.props.onOuterClick(ev);\n } else {\n this.dismiss(ev);\n }\n }\n }\n }\n\n private _animateTo = (newVisibilityState: PanelVisibilityState): void => {\n if (newVisibilityState === PanelVisibilityState.open && this.props.onOpen) {\n this.props.onOpen();\n }\n\n this._animationCallback = this._async.setTimeout(() => {\n this.setState({ visibility: newVisibilityState });\n this._onTransitionComplete(newVisibilityState);\n }, 200);\n };\n\n private _clearExistingAnimationTimer = (): void => {\n if (this._animationCallback !== null) {\n this._async.clearTimeout(this._animationCallback);\n }\n };\n\n private _onPanelClick = (ev?: any): void => {\n this.dismiss(ev);\n };\n\n private _onTransitionComplete = (newVisibilityState: PanelVisibilityState): void => {\n this._updateFooterPosition();\n if (newVisibilityState === PanelVisibilityState.open && this.props.onOpened) {\n this.props.onOpened();\n }\n\n if (newVisibilityState === PanelVisibilityState.closed && this.props.onDismissed) {\n this.props.onDismissed();\n }\n };\n}\n","import { PanelType } from './Panel.types';\nimport {\n AnimationClassNames,\n AnimationVariables,\n getGlobalClassNames,\n HighContrastSelector,\n ScreenWidthMinMedium,\n ScreenWidthMinLarge,\n ScreenWidthMinXLarge,\n ScreenWidthMinXXLarge,\n ScreenWidthMinUhfMobile,\n IconFontSizes,\n} from '../../Styling';\nimport type { IPanelStyleProps, IPanelStyles } from './Panel.types';\nimport type { IStyle } from '../../Styling';\n\nconst GlobalClassNames = {\n root: 'ms-Panel',\n main: 'ms-Panel-main',\n commands: 'ms-Panel-commands',\n contentInner: 'ms-Panel-contentInner',\n scrollableContent: 'ms-Panel-scrollableContent',\n navigation: 'ms-Panel-navigation',\n closeButton: 'ms-Panel-closeButton ms-PanelAction-close',\n header: 'ms-Panel-header',\n headerText: 'ms-Panel-headerText',\n content: 'ms-Panel-content',\n footer: 'ms-Panel-footer',\n footerInner: 'ms-Panel-footerInner',\n isOpen: 'is-open',\n hasCloseButton: 'ms-Panel--hasCloseButton',\n smallFluid: 'ms-Panel--smFluid',\n smallFixedNear: 'ms-Panel--smLeft',\n smallFixedFar: 'ms-Panel--sm',\n medium: 'ms-Panel--md',\n large: 'ms-Panel--lg',\n largeFixed: 'ms-Panel--fixed',\n extraLarge: 'ms-Panel--xl',\n custom: 'ms-Panel--custom',\n customNear: 'ms-Panel--customLeft',\n};\n\nconst panelWidth = {\n full: '100%',\n auto: 'auto',\n xs: 272,\n sm: 340,\n md1: 592,\n md2: 644,\n lg: 940,\n};\n\nconst panelMargin = {\n auto: 'auto',\n none: 0,\n md: 48,\n lg: 428,\n xl: 176,\n};\n\n// Following consts are used below in `getPanelBreakpoints()` function to provide\n// necessary fallbacks for different types of Panel in different breakpoints.\nconst smallPanelSelectors = {\n [`@media (min-width: ${ScreenWidthMinMedium}px)`]: {\n width: panelWidth.sm,\n },\n};\n\nconst mediumPanelSelectors = {\n [`@media (min-width: ${ScreenWidthMinLarge}px)`]: {\n width: panelWidth.md1,\n },\n [`@media (min-width: ${ScreenWidthMinXLarge}px)`]: {\n width: panelWidth.md2,\n },\n};\n\nconst largePanelSelectors = {\n [`@media (min-width: ${ScreenWidthMinUhfMobile}px)`]: {\n left: panelMargin.md,\n width: panelWidth.auto,\n },\n [`@media (min-width: ${ScreenWidthMinXXLarge}px)`]: {\n left: panelMargin.lg,\n },\n};\n\nconst largeFixedPanelSelectors = {\n [`@media (min-width: ${ScreenWidthMinXXLarge}px)`]: {\n left: panelMargin.auto,\n width: panelWidth.lg,\n },\n};\n\nconst extraLargePanelSelectors = {\n [`@media (min-width: ${ScreenWidthMinXXLarge}px)`]: {\n left: panelMargin.xl,\n },\n};\n\n// Make sure Panels have fallbacks to different breakpoints by reusing same selectors.\n// This is done in the effort to follow design redlines.\nconst getPanelBreakpoints = (type: PanelType): { [x: string]: IStyle } | undefined => {\n let selectors;\n\n // Panel types `smallFluid`, `smallFixedNear`, `custom` and `customNear`\n // are not checked in here because they render the same in all the breakpoints\n // and have the checks done separately in the `getStyles` function below.\n switch (type) {\n case PanelType.smallFixedFar:\n selectors = {\n ...smallPanelSelectors,\n };\n break;\n case PanelType.medium:\n selectors = {\n ...smallPanelSelectors,\n ...mediumPanelSelectors,\n };\n break;\n case PanelType.large:\n selectors = {\n ...smallPanelSelectors,\n ...mediumPanelSelectors,\n ...largePanelSelectors,\n };\n break;\n case PanelType.largeFixed:\n selectors = {\n ...smallPanelSelectors,\n ...mediumPanelSelectors,\n ...largePanelSelectors,\n ...largeFixedPanelSelectors,\n };\n break;\n case PanelType.extraLarge:\n selectors = {\n ...smallPanelSelectors,\n ...mediumPanelSelectors,\n ...largePanelSelectors,\n ...extraLargePanelSelectors,\n };\n break;\n default:\n break;\n }\n\n return selectors;\n};\n\nconst commandBarHeight = '44px';\n\nconst sharedPaddingStyles = {\n paddingLeft: '24px',\n paddingRight: '24px',\n};\n\nexport const getStyles = (props: IPanelStyleProps): IPanelStyles => {\n const {\n className,\n focusTrapZoneClassName,\n hasCloseButton,\n headerClassName,\n isAnimating,\n isFooterSticky,\n isFooterAtBottom,\n isOnRightSide,\n isOpen,\n isHiddenOnDismiss,\n hasCustomNavigation,\n theme,\n type = PanelType.smallFixedFar,\n } = props;\n const { effects, fonts, semanticColors } = theme;\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n const isCustomPanel = type === PanelType.custom || type === PanelType.customNear;\n\n return {\n root: [\n classNames.root,\n theme.fonts.medium,\n isOpen && classNames.isOpen,\n hasCloseButton && classNames.hasCloseButton,\n {\n pointerEvents: 'none',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n },\n isCustomPanel && isOnRightSide && classNames.custom,\n isCustomPanel && !isOnRightSide && classNames.customNear,\n className,\n ],\n overlay: [\n {\n pointerEvents: 'auto',\n cursor: 'pointer',\n },\n isOpen && isAnimating && AnimationClassNames.fadeIn100,\n !isOpen && isAnimating && AnimationClassNames.fadeOut100,\n ],\n hiddenPanel: [\n !isOpen &&\n !isAnimating &&\n isHiddenOnDismiss && {\n visibility: 'hidden',\n },\n ],\n main: [\n classNames.main,\n {\n backgroundColor: semanticColors.bodyBackground,\n boxShadow: effects.elevation64,\n pointerEvents: 'auto',\n position: 'absolute',\n display: 'flex',\n flexDirection: 'column',\n overflowX: 'hidden',\n overflowY: 'auto',\n WebkitOverflowScrolling: 'touch',\n bottom: 0,\n top: 0,\n // left, right, width are overridden depending on the type of the Panel and the screen breakpoint.\n left: panelMargin.auto,\n right: panelMargin.none,\n width: panelWidth.full,\n selectors: {\n [HighContrastSelector]: {\n borderLeft: `3px solid ${semanticColors.variantBorder}`,\n borderRight: `3px solid ${semanticColors.variantBorder}`,\n },\n ...getPanelBreakpoints(type),\n },\n },\n type === PanelType.smallFluid && {\n left: panelMargin.none,\n },\n type === PanelType.smallFixedNear && {\n left: panelMargin.none,\n right: panelMargin.auto,\n width: panelWidth.xs,\n },\n type === PanelType.customNear && {\n right: 'auto',\n left: 0,\n },\n isCustomPanel && {\n maxWidth: '100vw',\n },\n isOpen && isAnimating && !isOnRightSide && AnimationClassNames.slideRightIn40,\n isOpen && isAnimating && isOnRightSide && AnimationClassNames.slideLeftIn40,\n !isOpen && isAnimating && !isOnRightSide && AnimationClassNames.slideLeftOut40,\n !isOpen && isAnimating && isOnRightSide && AnimationClassNames.slideRightOut40,\n focusTrapZoneClassName,\n ],\n commands: [\n classNames.commands,\n {\n // Ensures that the sticky header always has a background to prevent overlaps on scroll.\n backgroundColor: semanticColors.bodyBackground,\n paddingTop: 18,\n selectors: {\n [`@media (min-height: ${ScreenWidthMinMedium}px)`]: {\n position: 'sticky',\n top: 0,\n zIndex: 1,\n },\n },\n },\n hasCustomNavigation && {\n paddingTop: 'inherit',\n },\n ],\n navigation: [\n classNames.navigation,\n {\n display: 'flex',\n justifyContent: 'flex-end',\n },\n hasCustomNavigation && {\n height: commandBarHeight,\n },\n ],\n contentInner: [\n classNames.contentInner,\n {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n overflowY: 'hidden',\n },\n ],\n header: [\n classNames.header,\n sharedPaddingStyles,\n {\n alignSelf: 'flex-start',\n },\n hasCloseButton &&\n !hasCustomNavigation && {\n flexGrow: 1,\n },\n hasCustomNavigation && {\n // Ensure that title doesn't shrink if screen is too small\n flexShrink: 0,\n },\n ],\n headerText: [\n classNames.headerText,\n fonts.xLarge,\n {\n color: semanticColors.bodyText,\n lineHeight: '27px',\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n wordBreak: 'break-word',\n hyphens: 'auto',\n },\n headerClassName,\n ],\n scrollableContent: [\n classNames.scrollableContent,\n {\n overflowY: 'auto',\n },\n isFooterAtBottom && {\n flexGrow: 1,\n display: 'inherit',\n flexDirection: 'inherit',\n },\n ],\n content: [\n classNames.content,\n sharedPaddingStyles,\n {\n paddingBottom: 20,\n },\n isFooterAtBottom && {\n selectors: {\n [`@media (min-height: ${ScreenWidthMinMedium}px)`]: {\n flexGrow: 1,\n },\n },\n },\n ],\n footer: [\n classNames.footer,\n {\n // Ensure that footer doesn't shrink if screen is too small\n flexShrink: 0,\n borderTop: '1px solid transparent',\n transition: `opacity ${AnimationVariables.durationValue3} ${AnimationVariables.easeFunction2}`,\n selectors: {\n [`@media (min-height: ${ScreenWidthMinMedium}px)`]: {\n position: 'sticky',\n bottom: 0,\n },\n },\n },\n isFooterSticky && {\n backgroundColor: semanticColors.bodyBackground,\n borderTopColor: semanticColors.variantBorder,\n },\n ],\n footerInner: [\n classNames.footerInner,\n sharedPaddingStyles,\n {\n paddingBottom: 16,\n paddingTop: 16,\n },\n ],\n subComponentStyles: {\n closeButton: {\n root: [\n classNames.closeButton,\n {\n marginRight: 14,\n color: theme.palette.neutralSecondary,\n fontSize: IconFontSizes.large,\n },\n hasCustomNavigation && {\n marginRight: 0,\n height: 'auto',\n width: '44px',\n },\n ],\n rootHovered: {\n color: theme.palette.neutralPrimary,\n },\n },\n },\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { PanelBase } from './Panel.base';\nimport { getStyles } from './Panel.styles';\nimport type { IPanelProps, IPanelStyleProps, IPanelStyles } from './Panel.types';\n\n/**\n * Panel description\n */\nexport const Panel: React.FunctionComponent = styled(\n PanelBase,\n getStyles,\n undefined,\n {\n scope: 'Panel',\n },\n);\n","import type { ISelectableOption } from '../../utilities/selectableOption/SelectableOption.types';\n\nexport function getAllSelectedOptions(options: ISelectableOption[], selectedIndices: number[]): ISelectableOption[] {\n const selectedOptions: ISelectableOption[] = [];\n for (const index of selectedIndices) {\n const option = options[index];\n\n if (option) {\n selectedOptions.push(option);\n }\n }\n\n return selectedOptions;\n}\n","import * as React from 'react';\nimport { useControllableValue, useId, useMergedRefs, useWarnings } from '@fluentui/react-hooks';\nimport { useFocusRects, classNamesFunction } from '@fluentui/utilities';\nimport { Icon } from '../Icon/Icon';\nimport type { ICheckboxProps, ICheckboxStyleProps, ICheckboxStyles } from './Checkbox.types';\n\nconst getClassNames = classNamesFunction();\n\nexport const CheckboxBase: React.FunctionComponent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disabled,\n required,\n inputProps,\n name,\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy,\n ariaPositionInSet,\n ariaSetSize,\n title,\n checkmarkIconProps,\n styles,\n theme,\n className,\n boxSide = 'start',\n } = props;\n\n const id = useId('checkbox-', props.id);\n\n const rootRef = React.useRef(null);\n const mergedRootRefs: React.Ref = useMergedRefs(rootRef, forwardedRef);\n const inputRef = React.useRef(null);\n\n const [isChecked, setIsChecked] = useControllableValue(props.checked, props.defaultChecked, props.onChange);\n const [isIndeterminate, setIsIndeterminate] = useControllableValue(props.indeterminate, props.defaultIndeterminate);\n\n useFocusRects(rootRef);\n useDebugWarning(props);\n\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n disabled,\n indeterminate: isIndeterminate,\n checked: isChecked,\n reversed: boxSide !== 'start',\n isUsingCustomLabelRender: !!props.onRenderLabel,\n });\n\n const onChange = React.useCallback(\n (event: React.ChangeEvent): void => {\n if (isIndeterminate) {\n // If indeterminate, clicking the checkbox *only* removes the indeterminate state (or if\n // controlled, lets the consumer know to change it by calling onChange). It doesn't\n // change the checked state.\n setIsChecked(!!isChecked, event);\n setIsIndeterminate(false);\n } else {\n setIsChecked(!isChecked, event);\n }\n },\n [setIsChecked, setIsIndeterminate, isIndeterminate, isChecked],\n );\n\n const defaultLabelRenderer = React.useCallback(\n (checkboxProps?: ICheckboxProps): JSX.Element | null => {\n if (!checkboxProps) {\n return null;\n }\n return checkboxProps.label ? (\n \n {checkboxProps.label}\n \n ) : null;\n },\n [classNames.text],\n );\n\n const setNativeIndeterminate = React.useCallback(\n (indeterminate: boolean | undefined) => {\n if (!inputRef.current) {\n return;\n }\n\n const value = !!indeterminate;\n\n inputRef.current.indeterminate = value;\n setIsIndeterminate(value);\n },\n [setIsIndeterminate],\n );\n\n useComponentRef(props, isChecked, isIndeterminate, setNativeIndeterminate, inputRef);\n React.useEffect(() => setNativeIndeterminate(isIndeterminate), [setNativeIndeterminate, isIndeterminate]);\n\n const onRenderLabel = props.onRenderLabel || defaultLabelRenderer;\n\n const ariaChecked: React.InputHTMLAttributes['aria-checked'] = isIndeterminate\n ? 'mixed'\n : undefined;\n\n const mergedInputProps: React.InputHTMLAttributes = {\n className: classNames.input,\n type: 'checkbox' as React.InputHTMLAttributes['type'],\n ...inputProps,\n checked: !!isChecked,\n disabled,\n required,\n name,\n id,\n title,\n onChange,\n 'aria-disabled': disabled,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-describedby': ariaDescribedBy,\n 'aria-posinset': ariaPositionInSet,\n 'aria-setsize': ariaSetSize,\n 'aria-checked': ariaChecked,\n };\n\n return (\n
    \n \n \n
    \n );\n },\n);\n\nCheckboxBase.displayName = 'CheckboxBase';\n\nfunction useDebugWarning(props: ICheckboxProps) {\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks -- build-time conditional\n useWarnings({\n name: 'Checkbox',\n props,\n mutuallyExclusive: {\n checked: 'defaultChecked',\n indeterminate: 'defaultIndeterminate',\n },\n });\n }\n}\n\nfunction useComponentRef(\n props: ICheckboxProps,\n isChecked: boolean | undefined,\n isIndeterminate: boolean | undefined,\n setIndeterminate: (indeterminate: boolean) => void,\n checkBoxRef: React.RefObject,\n) {\n React.useImperativeHandle(\n props.componentRef,\n () => ({\n get checked() {\n return !!isChecked;\n },\n get indeterminate() {\n return !!isIndeterminate;\n },\n set indeterminate(indeterminate: boolean) {\n setIndeterminate(indeterminate);\n },\n focus() {\n if (checkBoxRef.current) {\n checkBoxRef.current.focus();\n }\n },\n }),\n [checkBoxRef, isChecked, isIndeterminate, setIndeterminate],\n );\n}\n","import { HighContrastSelector, getGlobalClassNames, getHighContrastNoAdjustStyle } from '@fluentui/style-utilities';\nimport { IsFocusVisibleClassName } from '@fluentui/utilities';\nimport type { ICheckboxStyleProps, ICheckboxStyles } from './Checkbox.types';\nimport type { IStyle } from '@fluentui/style-utilities';\n\nconst GlobalClassNames = {\n root: 'ms-Checkbox',\n label: 'ms-Checkbox-label',\n checkbox: 'ms-Checkbox-checkbox',\n checkmark: 'ms-Checkbox-checkmark',\n text: 'ms-Checkbox-text',\n};\n\nconst MS_CHECKBOX_LABEL_SIZE = '20px';\nconst MS_CHECKBOX_TRANSITION_DURATION = '200ms';\nconst MS_CHECKBOX_TRANSITION_TIMING = 'cubic-bezier(.4, 0, .23, 1)';\n\nexport const getStyles = (props: ICheckboxStyleProps): ICheckboxStyles => {\n const { className, theme, reversed, checked, disabled, isUsingCustomLabelRender, indeterminate } = props;\n const { semanticColors, effects, palette, fonts } = theme;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n const checkmarkFontColor = semanticColors.inputForegroundChecked;\n // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBorder\n const checkmarkFontColorHovered = palette.neutralSecondary;\n // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.smallInputBorder\n const checkboxBorderColor = palette.neutralPrimary;\n const checkboxBorderIndeterminateColor = semanticColors.inputBackgroundChecked;\n const checkboxBorderColorChecked = semanticColors.inputBackgroundChecked;\n const checkboxBorderColorDisabled = semanticColors.disabledBodySubtext;\n const checkboxBorderHoveredColor = semanticColors.inputBorderHovered;\n const checkboxBorderIndeterminateHoveredColor = semanticColors.inputBackgroundCheckedHovered;\n const checkboxBackgroundChecked = semanticColors.inputBackgroundChecked;\n // TODO: after updating the semanticColors slots mapping the following 2 tokens need to be\n // semanticColors.inputBackgroundCheckedHovered\n const checkboxBackgroundCheckedHovered = semanticColors.inputBackgroundCheckedHovered;\n const checkboxBorderColorCheckedHovered = semanticColors.inputBackgroundCheckedHovered;\n const checkboxHoveredTextColor = semanticColors.inputTextHovered;\n const checkboxBackgroundDisabledChecked = semanticColors.disabledBodySubtext;\n const checkboxTextColor = semanticColors.bodyText;\n const checkboxTextColorDisabled = semanticColors.disabledText;\n\n const indeterminateDotStyles: IStyle = [\n {\n content: '\"\"',\n borderRadius: effects.roundedCorner2,\n position: 'absolute',\n width: 10,\n height: 10,\n top: 4,\n left: 4,\n boxSizing: 'border-box',\n borderWidth: 5,\n borderStyle: 'solid',\n borderColor: disabled ? checkboxBorderColorDisabled : checkboxBorderIndeterminateColor,\n transitionProperty: 'border-width, border, border-color',\n transitionDuration: MS_CHECKBOX_TRANSITION_DURATION,\n transitionTimingFunction: MS_CHECKBOX_TRANSITION_TIMING,\n [HighContrastSelector]: {\n borderColor: 'WindowText',\n },\n },\n ];\n\n return {\n root: [\n classNames.root,\n {\n position: 'relative',\n display: 'flex',\n },\n reversed && 'reversed',\n checked && 'is-checked',\n !disabled && 'is-enabled',\n disabled && 'is-disabled',\n !disabled && [\n !checked && {\n [`:hover .${classNames.checkbox}`]: {\n borderColor: checkboxBorderHoveredColor,\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n },\n },\n [`:focus .${classNames.checkbox}`]: { borderColor: checkboxBorderHoveredColor },\n [`:hover .${classNames.checkmark}`]: {\n color: checkmarkFontColorHovered,\n opacity: '1',\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n },\n },\n checked &&\n !indeterminate && {\n [`:hover .${classNames.checkbox}`]: {\n background: checkboxBackgroundCheckedHovered,\n borderColor: checkboxBorderColorCheckedHovered,\n },\n [`:focus .${classNames.checkbox}`]: {\n background: checkboxBackgroundCheckedHovered,\n borderColor: checkboxBorderColorCheckedHovered,\n },\n [HighContrastSelector]: {\n [`:hover .${classNames.checkbox}`]: {\n background: 'Highlight',\n borderColor: 'Highlight',\n },\n [`:focus .${classNames.checkbox}`]: {\n background: 'Highlight',\n },\n [`:focus:hover .${classNames.checkbox}`]: {\n background: 'Highlight',\n },\n [`:focus:hover .${classNames.checkmark}`]: {\n color: 'Window',\n },\n [`:hover .${classNames.checkmark}`]: {\n color: 'Window',\n },\n },\n },\n indeterminate && {\n [`:hover .${classNames.checkbox}, :hover .${classNames.checkbox}:after`]: {\n borderColor: checkboxBorderIndeterminateHoveredColor,\n [HighContrastSelector]: {\n borderColor: 'WindowText',\n },\n },\n [`:focus .${classNames.checkbox}`]: {\n borderColor: checkboxBorderIndeterminateHoveredColor,\n },\n [`:hover .${classNames.checkmark}`]: {\n opacity: '0',\n },\n },\n {\n [`:hover .${classNames.text}, :focus .${classNames.text}`]: {\n color: checkboxHoveredTextColor,\n [HighContrastSelector]: {\n color: disabled ? 'GrayText' : 'WindowText',\n },\n },\n },\n ],\n className,\n ],\n input: {\n position: 'absolute',\n background: 'none',\n\n opacity: 0,\n [`.${IsFocusVisibleClassName} &:focus + label::before`]: {\n outline: '1px solid ' + theme.palette.neutralSecondary,\n outlineOffset: '2px',\n [HighContrastSelector]: {\n outline: '1px solid WindowText',\n },\n },\n },\n label: [\n classNames.label,\n theme.fonts.medium,\n {\n display: 'flex',\n alignItems: isUsingCustomLabelRender ? 'center' : 'flex-start',\n cursor: disabled ? 'default' : 'pointer',\n position: 'relative',\n userSelect: 'none',\n },\n reversed && {\n flexDirection: 'row-reverse',\n justifyContent: 'flex-end',\n },\n {\n '&::before': {\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n content: '\"\"',\n pointerEvents: 'none',\n },\n },\n ],\n checkbox: [\n classNames.checkbox,\n {\n position: 'relative',\n display: 'flex',\n flexShrink: 0,\n alignItems: 'center',\n justifyContent: 'center',\n height: MS_CHECKBOX_LABEL_SIZE,\n width: MS_CHECKBOX_LABEL_SIZE,\n border: `1px solid ${checkboxBorderColor}`,\n borderRadius: effects.roundedCorner2,\n boxSizing: 'border-box',\n transitionProperty: 'background, border, border-color',\n transitionDuration: MS_CHECKBOX_TRANSITION_DURATION,\n transitionTimingFunction: MS_CHECKBOX_TRANSITION_TIMING,\n\n /* in case the icon is bigger than the box */\n overflow: 'hidden',\n ':after': indeterminate ? indeterminateDotStyles : null,\n [HighContrastSelector]: {\n borderColor: 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n indeterminate && {\n borderColor: checkboxBorderIndeterminateColor,\n },\n !reversed\n ? // This margin on the checkbox is for backwards compat. Notably it has the effect where a customRender\n // is used, there will be only a 4px margin from checkbox to label. The label by default would have\n // another 4px margin for a total of 8px margin between checkbox and label. We don't combine the two\n // (and move it into the text) to not incur a breaking change for everyone using custom render atm.\n {\n marginRight: 4,\n }\n : {\n marginLeft: 4,\n },\n !disabled &&\n !indeterminate &&\n checked && {\n background: checkboxBackgroundChecked,\n borderColor: checkboxBorderColorChecked,\n [HighContrastSelector]: {\n background: 'Highlight',\n borderColor: 'Highlight',\n },\n },\n disabled && {\n borderColor: checkboxBorderColorDisabled,\n [HighContrastSelector]: {\n borderColor: 'GrayText',\n },\n },\n checked &&\n disabled && {\n background: checkboxBackgroundDisabledChecked,\n borderColor: checkboxBorderColorDisabled,\n [HighContrastSelector]: {\n background: 'Window',\n },\n },\n ],\n checkmark: [\n classNames.checkmark,\n {\n opacity: checked && !indeterminate ? '1' : '0',\n color: checkmarkFontColor,\n [HighContrastSelector]: {\n color: disabled ? 'GrayText' : 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n ],\n text: [\n classNames.text,\n {\n color: disabled ? checkboxTextColorDisabled : checkboxTextColor,\n fontSize: fonts.medium.fontSize,\n lineHeight: '20px',\n [HighContrastSelector]: {\n color: disabled ? 'GrayText' : 'WindowText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n !reversed\n ? {\n marginLeft: 4,\n }\n : {\n marginRight: 4,\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '@fluentui/utilities';\nimport { CheckboxBase } from './Checkbox.base';\nimport { getStyles } from './Checkbox.styles';\nimport type { ICheckboxProps, ICheckboxStyleProps, ICheckboxStyles } from './Checkbox.types';\n\nexport const Checkbox: React.FunctionComponent = styled<\n ICheckboxProps,\n ICheckboxStyleProps,\n ICheckboxStyles\n>(CheckboxBase, getStyles, undefined, { scope: 'Checkbox' });\n","import * as React from 'react';\nimport {\n css,\n KeyCodes,\n classNamesFunction,\n divProperties,\n findIndex,\n getDocument,\n getFirstFocusable,\n getId,\n getLastFocusable,\n getNativeProps,\n initializeComponentRef,\n isIOS,\n isMac,\n mergeAriaAttributeValues,\n safeRequestAnimationFrame,\n warn,\n warnDeprecations,\n warnMutuallyExclusive,\n} from '../../Utilities';\nimport { Callout, DirectionalHint } from '../../Callout';\nimport { CommandButton } from '../../Button';\nimport { DropdownMenuItemType } from './Dropdown.types';\nimport { DropdownSizePosCache } from './utilities/DropdownSizePosCache';\nimport { FocusZone, FocusZoneDirection } from '../../FocusZone';\nimport { RectangleEdge } from '../../Positioning';\nimport { Icon } from '../../Icon';\nimport { Label } from '../../Label';\nimport { Panel } from '../../Panel';\nimport { ResponsiveMode, useResponsiveMode } from '../../ResponsiveMode';\nimport { SelectableOptionMenuItemType, getAllSelectedOptions } from '../../SelectableOption';\n// import and use V7 Checkbox to ensure no breaking changes.\nimport { Checkbox } from '../../Checkbox';\nimport { getNextElement, getPreviousElement, getPropsWithDefaults } from '@fluentui/utilities';\nimport { useMergedRefs, usePrevious } from '@fluentui/react-hooks';\nimport type { IStyleFunctionOrObject } from '../../Utilities';\nimport type {\n IDropdownOption,\n IDropdownProps,\n IDropdownStyleProps,\n IDropdownStyles,\n IDropdown,\n} from './Dropdown.types';\nimport type { ICalloutPositionedInfo } from '../../Positioning';\nimport type { ILabelStyleProps, ILabelStyles } from '../../Label';\nimport type { IProcessedStyleSet } from '../../Styling';\nimport type { IPanelStyleProps, IPanelStyles } from '../../Panel';\nimport type { IWithResponsiveModeState } from '../../ResponsiveMode';\nimport type { ISelectableDroppableTextProps } from '../../SelectableOption';\nimport type { ICheckboxStyleProps, ICheckboxStyles } from '../../Checkbox';\nimport { IFocusTrapZoneProps } from '../FocusTrapZone/FocusTrapZone.types';\n\nconst COMPONENT_NAME = 'Dropdown';\nconst getClassNames = classNamesFunction();\n\n/** Internal only props interface to support mixing in responsive mode */\n// eslint-disable-next-line deprecation/deprecation\ninterface IDropdownInternalProps extends Omit, IWithResponsiveModeState {\n hoisted: {\n rootRef: React.RefObject;\n selectedIndices: number[];\n setSelectedIndices: React.Dispatch>;\n };\n}\n\ninterface IDropdownState {\n isOpen: boolean;\n /** Used to track whether focus is already within the Dropdown, for openOnFocus handling. */\n hasFocus: boolean;\n calloutRenderEdge?: RectangleEdge;\n}\n\nconst DEFAULT_PROPS: Partial = {\n options: [],\n};\n\nfunction useSelectedItemsState({\n defaultSelectedKeys,\n selectedKeys,\n defaultSelectedKey,\n selectedKey,\n options,\n multiSelect,\n}: IDropdownProps) {\n const oldOptions = usePrevious(options);\n const [selectedIndices, setSelectedIndices] = React.useState([]);\n\n // In controlled component usage where selectedKey is provided, update the selectedIndex\n // state if the key or options change.\n let selectedKeyPropToUse: string | number | string[] | number[] | null | undefined;\n\n // this does a shallow compare (assumes options are pure), for the purposes of determining whether\n // defaultSelectedKey/defaultSelectedKeys are respected.\n const didOptionsChange = options !== oldOptions;\n\n if (multiSelect) {\n if (didOptionsChange && defaultSelectedKeys !== undefined) {\n selectedKeyPropToUse = defaultSelectedKeys;\n } else {\n selectedKeyPropToUse = selectedKeys;\n }\n } else {\n if (didOptionsChange && defaultSelectedKey !== undefined) {\n selectedKeyPropToUse = defaultSelectedKey;\n } else {\n selectedKeyPropToUse = selectedKey;\n }\n }\n\n const oldSelectedKeyProp = usePrevious(selectedKeyPropToUse);\n\n React.useEffect(() => {\n /** Get all selected indexes for multi-select mode */\n const getSelectedIndexes = (): number[] => {\n if (selectedKeyPropToUse === undefined) {\n if (multiSelect) {\n return getAllSelectedIndices();\n }\n const selectedIndex = getSelectedIndex(null);\n return selectedIndex !== -1 ? [selectedIndex] : [];\n } else if (!Array.isArray(selectedKeyPropToUse)) {\n const selectedIndex = getSelectedIndex(selectedKeyPropToUse);\n return selectedIndex !== -1 ? [selectedIndex] : [];\n }\n\n const returnValue: number[] = [];\n for (const key of selectedKeyPropToUse) {\n const selectedIndex = getSelectedIndex(key);\n selectedIndex !== -1 && returnValue.push(selectedIndex);\n }\n return returnValue;\n };\n\n const getAllSelectedIndices = (): number[] => {\n return options\n .map((option: IDropdownOption, index: number) => (option.selected ? index : -1))\n .filter(index => index !== -1);\n };\n\n const getSelectedIndex = (searchKey: string | number | null | undefined): number => {\n return findIndex(options, option => {\n // eslint-disable-next-line eqeqeq\n if (searchKey != null) {\n return option.key === searchKey;\n } else {\n // eslint-disable-next-line deprecation/deprecation\n return !!option.selected || !!option.isSelected;\n }\n });\n };\n\n if (\n (selectedKeyPropToUse !== undefined || !oldOptions) &&\n (selectedKeyPropToUse !== oldSelectedKeyProp || didOptionsChange)\n ) {\n setSelectedIndices(getSelectedIndexes());\n }\n }, [didOptionsChange, multiSelect, oldOptions, oldSelectedKeyProp, options, selectedKeyPropToUse]);\n\n return [selectedIndices, setSelectedIndices] as const;\n}\n\nexport const DropdownBase: React.FunctionComponent = React.forwardRef(\n (propsWithoutDefaults, forwardedRef) => {\n const props = getPropsWithDefaults(DEFAULT_PROPS, propsWithoutDefaults);\n\n const rootRef = React.useRef(null);\n const mergedRootRef = useMergedRefs(forwardedRef, rootRef);\n\n const responsiveMode = useResponsiveMode(rootRef, props.responsiveMode);\n const [selectedIndices, setSelectedIndices] = useSelectedItemsState(props);\n\n return (\n )}\n responsiveMode={responsiveMode}\n hoisted={{ rootRef: mergedRootRef, selectedIndices, setSelectedIndices }}\n />\n );\n },\n);\nDropdownBase.displayName = 'DropdownBase';\n\nclass DropdownInternal extends React.Component implements IDropdown {\n public static defaultProps = {\n options: [] as IDropdownOption[],\n };\n\n private _host = React.createRef();\n private _focusZone = React.createRef();\n private _dropDown = React.createRef();\n private _id: string;\n private _labelId: string;\n private _listId: string;\n private _optionId: string;\n private _isScrollIdle: boolean;\n /** Flag for tracking if the Callout has previously been positioned.\n * This is necessary to properly control focus state when the width\n * of the Dropdown is dynamic (e.g, \"fit-content\").\n */\n private _hasBeenPositioned: boolean;\n private readonly _scrollIdleDelay: number = 250 /* ms */;\n private _scrollIdleTimeoutId: number | undefined;\n /** True if the most recent keydown event was for alt (option) or meta (command). */\n private _lastKeyDownWasAltOrMeta: boolean | undefined;\n private _sizePosCache: DropdownSizePosCache = new DropdownSizePosCache();\n private _classNames: IProcessedStyleSet;\n private _requestAnimationFrame = safeRequestAnimationFrame(this);\n /** Flag for when we get the first mouseMove */\n private _gotMouseMove: boolean;\n /** Flag for tracking whether focus is triggered by click (alternatively triggered by keyboard nav) */\n private _isFocusedByClick: boolean;\n\n constructor(props: IDropdownInternalProps) {\n super(props);\n\n initializeComponentRef(this);\n\n const { multiSelect, selectedKey, selectedKeys, defaultSelectedKey, defaultSelectedKeys, options } = props;\n\n if (process.env.NODE_ENV !== 'production') {\n warnDeprecations(COMPONENT_NAME, props, {\n isDisabled: 'disabled',\n onChanged: 'onChange',\n placeHolder: 'placeholder',\n onRenderPlaceHolder: 'onRenderPlaceholder',\n });\n\n warnMutuallyExclusive(COMPONENT_NAME, props, {\n defaultSelectedKey: 'selectedKey',\n defaultSelectedKeys: 'selectedKeys',\n selectedKeys: 'selectedKey',\n });\n\n if (multiSelect) {\n const warnMultiSelect = (prop: keyof IDropdownProps) =>\n warn(`Dropdown property '${prop}' cannot be used when 'multiSelect' is true. Use '${prop}s' instead.`);\n if (selectedKey !== undefined) {\n warnMultiSelect('selectedKey');\n }\n if (defaultSelectedKey !== undefined) {\n warnMultiSelect('defaultSelectedKey');\n }\n } else {\n const warnNotMultiSelect = (prop: keyof IDropdownProps) =>\n warn(`Dropdown property '${prop}s' cannot be used when 'multiSelect' is false/unset. Use '${prop}' instead.`);\n if (selectedKeys !== undefined) {\n warnNotMultiSelect('selectedKey');\n }\n if (defaultSelectedKeys !== undefined) {\n warnNotMultiSelect('defaultSelectedKey');\n }\n }\n }\n\n this._id = props.id || getId('Dropdown');\n this._labelId = this._id + '-label';\n this._listId = this._id + '-list';\n this._optionId = this._id + '-option';\n this._isScrollIdle = true;\n this._hasBeenPositioned = false;\n\n this._sizePosCache.updateOptions(options);\n\n this.state = {\n isOpen: false,\n hasFocus: false,\n calloutRenderEdge: undefined,\n };\n }\n\n /**\n * All selected options\n */\n public get selectedOptions(): IDropdownOption[] {\n const {\n options,\n hoisted: { selectedIndices },\n } = this.props;\n\n return getAllSelectedOptions(options, selectedIndices);\n }\n\n public componentWillUnmount() {\n clearTimeout(this._scrollIdleTimeoutId);\n }\n\n public componentDidUpdate(prevProps: IDropdownProps, prevState: IDropdownState) {\n if (prevState.isOpen === true && this.state.isOpen === false) {\n this._gotMouseMove = false;\n this._hasBeenPositioned = false;\n\n if (this.props.onDismiss) {\n this.props.onDismiss();\n }\n }\n }\n\n public render(): JSX.Element {\n const id = this._id;\n\n const props = this.props;\n const {\n className,\n label,\n options,\n ariaLabel,\n required,\n errorMessage,\n styles: propStyles,\n theme,\n panelProps,\n calloutProps,\n onRenderTitle = this._getTitle,\n onRenderContainer = this._onRenderContainer,\n onRenderCaretDown = this._onRenderCaretDown,\n onRenderLabel = this._onRenderLabel,\n onRenderItem = this._onRenderItem,\n hoisted: { selectedIndices },\n } = props;\n const { isOpen, calloutRenderEdge, hasFocus } = this.state;\n // eslint-disable-next-line deprecation/deprecation\n const onRenderPlaceholder = props.onRenderPlaceholder || props.onRenderPlaceHolder || this._getPlaceholder;\n\n // If our cached options are out of date update our cache\n if (options !== this._sizePosCache.cachedOptions) {\n this._sizePosCache.updateOptions(options);\n }\n\n const selectedOptions = getAllSelectedOptions(options, selectedIndices);\n const divProps = getNativeProps(props, divProperties);\n\n const disabled = this._isDisabled();\n\n const errorMessageId = id + '-errorMessage';\n\n this._classNames = getClassNames(propStyles, {\n theme,\n className,\n hasError: !!(errorMessage && errorMessage.length > 0),\n hasLabel: !!label,\n isOpen,\n required,\n disabled,\n isRenderingPlaceholder: !selectedOptions.length,\n panelClassName: panelProps ? panelProps.className : undefined,\n calloutClassName: calloutProps ? calloutProps.className : undefined,\n calloutRenderEdge,\n });\n\n const hasErrorMessage: boolean = !!errorMessage && errorMessage.length > 0;\n\n return (\n \n {onRenderLabel(this.props, this._onRenderLabel)}\n \n \n {\n // If option is selected render title, otherwise render the placeholder text\n selectedOptions.length\n ? onRenderTitle(selectedOptions, this._onRenderTitle)\n : onRenderPlaceholder(props, this._onRenderPlaceholder)\n }\n \n {onRenderCaretDown(props, this._onRenderCaretDown)}\n
    \n {isOpen &&\n onRenderContainer(\n {\n ...props,\n onDismiss: this._onDismiss,\n onRenderItem,\n },\n this._onRenderContainer,\n )}\n {hasErrorMessage && (\n
    \n {errorMessage}\n
    \n )}\n
    \n );\n }\n\n /**\n * Close menu callout if it is open\n */\n public dismissMenu = (): void => {\n const { isOpen } = this.state;\n isOpen && this.setState({ isOpen: false });\n };\n\n public focus(shouldOpenOnFocus?: boolean): void {\n if (this._dropDown.current) {\n this._dropDown.current.focus();\n\n if (shouldOpenOnFocus) {\n this.setState({\n isOpen: true,\n });\n }\n }\n }\n\n public setSelectedIndex(event: React.FormEvent, index: number): void {\n const {\n options,\n selectedKey,\n selectedKeys,\n multiSelect,\n notifyOnReselect,\n hoisted: { selectedIndices = [] },\n } = this.props;\n const checked: boolean = selectedIndices ? selectedIndices.indexOf(index) > -1 : false;\n let newIndexes: number[] = [];\n\n index = Math.max(0, Math.min(options.length - 1, index));\n\n // If this is a controlled component then no state change should take place.\n if (selectedKey !== undefined || selectedKeys !== undefined) {\n this._onChange(event, options, index, checked, multiSelect);\n return;\n }\n\n if (!multiSelect && !notifyOnReselect && index === selectedIndices[0]) {\n return;\n } else if (multiSelect) {\n newIndexes = selectedIndices ? this._copyArray(selectedIndices) : [];\n if (checked) {\n const position = newIndexes.indexOf(index);\n if (position > -1) {\n // unchecked the current one\n newIndexes.splice(position, 1);\n }\n } else {\n // add the new selected index into the existing one\n newIndexes.push(index);\n }\n } else {\n // Set the selected option if this is an uncontrolled component\n newIndexes = [index];\n }\n\n event.persist();\n // Call onChange after state is updated\n this.props.hoisted.setSelectedIndices(newIndexes);\n this._onChange(event, options, index, checked, multiSelect);\n }\n\n private _onChange = (\n event: React.FormEvent,\n options: IDropdownOption[],\n index: number,\n checked?: boolean,\n multiSelect?: boolean,\n ) => {\n // eslint-disable-next-line deprecation/deprecation\n const { onChange, onChanged } = this.props;\n if (onChange || onChanged) {\n // for single-select, option passed in will always be selected.\n // for multi-select, flip the checked value\n const changedOpt = multiSelect ? { ...options[index], selected: !checked } : options[index];\n\n onChange && onChange({ ...event, target: this._dropDown.current as EventTarget }, changedOpt, index);\n onChanged && onChanged(changedOpt, index);\n }\n };\n\n /** Get either props.placeholder (new name) or props.placeHolder (old name) */\n private _getPlaceholder = (): string | undefined => {\n // eslint-disable-next-line deprecation/deprecation\n return this.props.placeholder || this.props.placeHolder;\n };\n\n private _copyArray(array: any[]): any[] {\n const newArray = [];\n for (const element of array) {\n newArray.push(element);\n }\n return newArray;\n }\n\n /**\n * Finds the next valid Dropdown option and sets the selected index to it.\n * @param stepValue - Value of how many items the function should traverse. Should be -1 or 1.\n * @param index - Index of where the search should start\n * @param selectedIndex - The selectedIndex Dropdown's state\n * @returns The next valid dropdown option's index\n */\n private _moveIndex(\n event: React.FormEvent,\n stepValue: number,\n index: number,\n selectedIndex: number,\n ): number {\n const { options } = this.props;\n // Return selectedIndex if nothing has changed or options is empty\n if (selectedIndex === index || options.length === 0) {\n return selectedIndex;\n }\n\n // If the user is pressing the up or down key we want to make\n // sure that the dropdown cycles through the options without\n // causing the screen to scroll. In _onDropdownKeyDown\n // at the very end is a check to see if newIndex !== selectedIndex.\n // If the index is less than 0 and we set it back to 0, then\n // newIndex will equal selectedIndex and not stop the action\n // of the key press happening and vice versa for indexes greater\n // than or equal to the options length.\n if (index >= options.length) {\n index = 0;\n } else if (index < 0) {\n index = options.length - 1;\n }\n\n let stepCounter = 0;\n // If current index is a header or divider, or disabled, increment by step\n while (\n options[index].itemType === DropdownMenuItemType.Header ||\n options[index].itemType === DropdownMenuItemType.Divider ||\n options[index].disabled\n ) {\n // If stepCounter exceeds length of options, then return selectedIndex (-1)\n if (stepCounter >= options.length) {\n return selectedIndex;\n }\n // If index + stepValue is out of bounds, wrap around\n if (index + stepValue < 0) {\n index = options.length;\n } else if (index + stepValue >= options.length) {\n index = -1;\n }\n\n index = index + stepValue;\n stepCounter++;\n }\n\n this.setSelectedIndex(event, index);\n return index;\n }\n\n /** Get text in dropdown input as a string */\n private _getTitle = (items: IDropdownOption[], _unused?: unknown): string => {\n const { multiSelectDelimiter = ', ' } = this.props;\n return items.map(i => i.text).join(multiSelectDelimiter);\n };\n\n /** Render text in dropdown input */\n private _onRenderTitle = (items: IDropdownOption[]): JSX.Element => {\n return <>{this._getTitle(items)};\n };\n\n /** Render placeholder text in dropdown input */\n private _onRenderPlaceholder = (props: IDropdownProps): JSX.Element | null => {\n if (!this._getPlaceholder()) {\n return null;\n }\n return <>{this._getPlaceholder()};\n };\n\n /** Render Callout or Panel container and pass in list */\n private _onRenderContainer = (props: ISelectableDroppableTextProps): JSX.Element => {\n const { calloutProps, panelProps } = props;\n const { responsiveMode, dropdownWidth } = this.props;\n\n const isSmall = responsiveMode! <= ResponsiveMode.medium;\n\n const focusTrapZoneProps: IFocusTrapZoneProps = { firstFocusableTarget: `#${this._listId}1` };\n const panelStyles = this._classNames.subComponentStyles\n ? (this._classNames.subComponentStyles.panel as IStyleFunctionOrObject)\n : undefined;\n\n let calloutWidth = undefined;\n let calloutMinWidth = undefined;\n if (dropdownWidth === 'auto') {\n calloutMinWidth = this._dropDown.current ? this._dropDown.current.clientWidth : 0;\n } else {\n calloutWidth = dropdownWidth || (this._dropDown.current ? this._dropDown.current.clientWidth : 0);\n }\n\n return isSmall ? (\n \n {this._renderFocusableList(props)}\n \n ) : (\n \n {this._renderFocusableList(props)}\n \n );\n };\n\n /** Render Caret Down Icon */\n private _onRenderCaretDown = (props: IDropdownProps): JSX.Element => {\n return ;\n };\n\n /** Wrap item list in a FocusZone */\n private _renderFocusableList(props: ISelectableDroppableTextProps): JSX.Element {\n const { onRenderList = this._onRenderList, label, ariaLabel, multiSelect } = props;\n\n return (\n \n \n {onRenderList(props, this._onRenderList)}\n \n \n );\n }\n\n /** Render List of items */\n private _onRenderList = (props: ISelectableDroppableTextProps): JSX.Element => {\n const { onRenderItem = this._onRenderItem } = props;\n\n let queue: { id?: string; items: JSX.Element[] } = { items: [] };\n let renderedList: JSX.Element[] = [];\n\n const emptyQueue = (): void => {\n const newGroup = queue.id\n ? [\n
    \n {queue.items}\n
    ,\n ]\n : queue.items;\n\n renderedList = [...renderedList, ...newGroup];\n // Flush items and id\n queue = { items: [] };\n };\n\n const placeRenderedOptionIntoQueue = (item: IDropdownOption, index: number) => {\n /*\n Case Header\n empty queue if it's not already empty\n ensure unique ID for header and set queue ID\n push header into queue\n Case Divider\n push divider into queue if not first item\n empty queue if not already empty\n Default\n push item into queue\n */\n switch (item.itemType) {\n case SelectableOptionMenuItemType.Header:\n queue.items.length > 0 && emptyQueue();\n\n const id = this._id + item.key;\n queue.items.push(onRenderItem({ id, ...item, index }, this._onRenderItem)!);\n queue.id = id;\n break;\n case SelectableOptionMenuItemType.Divider:\n index > 0 && queue.items.push(onRenderItem({ ...item, index }, this._onRenderItem)!);\n\n queue.items.length > 0 && emptyQueue();\n break;\n default:\n queue.items.push(onRenderItem({ ...item, index }, this._onRenderItem)!);\n }\n };\n\n // Place options into the queue. Queue will be emptied anytime a Header or Divider is encountered\n props.options.forEach((item: IDropdownOption, index: number) => {\n placeRenderedOptionIntoQueue(item, index);\n });\n\n // Push remaining items into all renderedList\n queue.items.length > 0 && emptyQueue();\n\n return <>{renderedList};\n };\n\n private _onRenderItem = (item: IDropdownOption): JSX.Element | null => {\n switch (item.itemType) {\n case SelectableOptionMenuItemType.Divider:\n return this._renderSeparator(item);\n case SelectableOptionMenuItemType.Header:\n return this._renderHeader(item);\n default:\n return this._renderOption(item);\n }\n };\n\n private _renderSeparator(item: IDropdownOption): JSX.Element | null {\n const { index, key } = item;\n const separatorClassName = item.hidden ? this._classNames.dropdownDividerHidden : this._classNames.dropdownDivider;\n if (index! > 0) {\n return
    ;\n }\n return null;\n }\n\n private _renderHeader(item: IDropdownOption): JSX.Element {\n const { onRenderOption = this._onRenderOption } = this.props;\n const { key, id } = item;\n const headerClassName = item.hidden\n ? this._classNames.dropdownItemHeaderHidden\n : this._classNames.dropdownItemHeader;\n\n return (\n
    \n {onRenderOption(item, this._onRenderOption)}\n
    \n );\n }\n\n private _renderOption = (item: IDropdownOption): JSX.Element => {\n const {\n onRenderOption = this._onRenderOption,\n hoisted: { selectedIndices = [] },\n } = this.props;\n const isItemSelected =\n item.index !== undefined && selectedIndices ? selectedIndices.indexOf(item.index) > -1 : false;\n\n // select the right className based on the combination of selected/disabled\n const itemClassName = item.hidden // predicate: item hidden\n ? this._classNames.dropdownItemHidden\n : isItemSelected && item.disabled === true // predicate: both selected and disabled\n ? this._classNames.dropdownItemSelectedAndDisabled\n : isItemSelected // predicate: selected only\n ? this._classNames.dropdownItemSelected\n : item.disabled === true // predicate: disabled only\n ? this._classNames.dropdownItemDisabled\n : this._classNames.dropdownItem;\n\n const { title } = item;\n\n // define the id and label id (for multiselect checkboxes)\n const id = this._listId + item.index;\n const labelId = item.id ?? id + '-label';\n\n const multiSelectItemStyles = this._classNames.subComponentStyles\n ? (this._classNames.subComponentStyles.multiSelectItem as IStyleFunctionOrObject<\n ICheckboxStyleProps,\n ICheckboxStyles\n >)\n : undefined;\n\n return !this.props.multiSelect ? (\n \n {onRenderOption(item, this._onRenderOption)}\n \n ) : (\n \n );\n };\n\n /** Render content of item (i.e. text/icon inside of button) */\n private _onRenderOption = (item: IDropdownOption): JSX.Element => {\n return {item.text};\n };\n\n /*\n * Render content of a multiselect item label.\n * Text within the label is aria-hidden, to prevent duplicate input/label exposure\n */\n private _onRenderMultiselectOption = (item: IDropdownOption): JSX.Element => {\n return (\n \n {item.text}\n \n );\n };\n\n /** Render custom label for multiselect checkbox items */\n private _onRenderItemLabel = (item: IDropdownOption): JSX.Element | null => {\n const { onRenderOption = this._onRenderMultiselectOption } = this.props;\n return onRenderOption(item, this._onRenderMultiselectOption);\n };\n\n private _onPositioned = (positions?: ICalloutPositionedInfo): void => {\n if (this._focusZone.current) {\n // Focusing an element can trigger a reflow. Making this wait until there is an animation\n // frame can improve perf significantly.\n this._requestAnimationFrame(() => {\n const selectedIndices = this.props.hoisted.selectedIndices;\n if (this._focusZone.current) {\n if (\n !this._hasBeenPositioned &&\n selectedIndices &&\n selectedIndices[0] &&\n !this.props.options[selectedIndices[0]].disabled\n ) {\n const element: HTMLElement | null = getDocument()!.getElementById(`${this._id}-list${selectedIndices[0]}`);\n if (element) {\n this._focusZone.current.focusElement(element);\n }\n this._hasBeenPositioned = true;\n } else {\n this._focusZone.current.focus();\n }\n }\n });\n }\n\n if (!this.state.calloutRenderEdge || this.state.calloutRenderEdge !== positions!.targetEdge) {\n this.setState({\n calloutRenderEdge: positions!.targetEdge,\n });\n }\n };\n\n private _onItemClick = (item: IDropdownOption): ((event: React.MouseEvent) => void) => {\n return (event: React.MouseEvent): void => {\n if (!item.disabled) {\n this.setSelectedIndex(event, item.index!);\n if (!this.props.multiSelect) {\n // only close the callout when it's in single-select mode\n this.setState({\n isOpen: false,\n });\n }\n }\n };\n };\n\n /**\n * Scroll handler for the callout to make sure the mouse events\n * for updating focus are not interacting during scroll\n */\n private _onScroll = (): void => {\n if (!this._isScrollIdle && this._scrollIdleTimeoutId !== undefined) {\n clearTimeout(this._scrollIdleTimeoutId);\n this._scrollIdleTimeoutId = undefined;\n } else {\n this._isScrollIdle = false;\n }\n\n this._scrollIdleTimeoutId = window.setTimeout(() => {\n this._isScrollIdle = true;\n }, this._scrollIdleDelay);\n };\n\n private _onItemMouseEnter(item: any, ev: React.MouseEvent): void {\n if (this._shouldIgnoreMouseEvent()) {\n return;\n }\n\n const targetElement = ev.currentTarget as HTMLElement;\n targetElement.focus();\n }\n\n private _onItemMouseMove(item: any, ev: React.MouseEvent): void {\n const targetElement = ev.currentTarget as HTMLElement;\n this._gotMouseMove = true;\n\n if (!this._isScrollIdle || document.activeElement === targetElement) {\n return;\n }\n\n targetElement.focus();\n }\n\n private _onMouseItemLeave = (item: any, ev: React.MouseEvent): void => {\n if (this._shouldIgnoreMouseEvent()) {\n return;\n }\n\n /**\n * IE11 focus() method forces parents to scroll to top of element.\n * Edge and IE expose a setActive() function for focusable divs that\n * sets the page focus but does not scroll the parent element.\n */\n if (this._host.current) {\n if ((this._host.current as any).setActive) {\n try {\n (this._host.current as any).setActive();\n } catch (e) {\n /* no-op */\n }\n } else {\n this._host.current.focus();\n }\n }\n };\n\n private _shouldIgnoreMouseEvent(): boolean {\n return !this._isScrollIdle || !this._gotMouseMove;\n }\n\n private _onDismiss = (): void => {\n this.setState({ isOpen: false });\n };\n\n private _onDropdownBlur = (ev: React.FocusEvent): void => {\n // If Dropdown disabled do not proceed with this logic.\n const disabled = this._isDisabled();\n if (disabled) {\n return;\n }\n\n if (this.state.isOpen) {\n // Do not call onBlur or update focus state when the callout is opened\n return;\n }\n\n this.setState({ hasFocus: false });\n\n if (this.props.onBlur) {\n this.props.onBlur(ev);\n }\n };\n\n private _onDropdownKeyDown = (ev: React.KeyboardEvent): void => {\n // If Dropdown disabled do not process any keyboard events.\n const disabled = this._isDisabled();\n if (disabled) {\n return;\n }\n\n // Take note if we are processing an alt (option) or meta (command) keydown.\n // See comment in _shouldHandleKeyUp for reasoning.\n this._lastKeyDownWasAltOrMeta = this._isAltOrMeta(ev);\n\n if (this.props.onKeyDown) {\n this.props.onKeyDown(ev);\n if (ev.defaultPrevented) {\n return;\n }\n }\n\n let newIndex: number | undefined;\n const selectedIndex = this.props.hoisted.selectedIndices.length ? this.props.hoisted.selectedIndices[0] : -1;\n const containsExpandCollapseModifier = ev.altKey || ev.metaKey;\n const isOpen = this.state.isOpen;\n\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.enter:\n this.setState({\n isOpen: !isOpen,\n });\n break;\n\n case KeyCodes.escape:\n if (!isOpen) {\n return;\n }\n\n this.setState({\n isOpen: false,\n });\n break;\n\n case KeyCodes.up:\n if (containsExpandCollapseModifier) {\n if (isOpen) {\n this.setState({ isOpen: false });\n break;\n }\n\n return;\n }\n if (this.props.multiSelect) {\n this.setState({ isOpen: true });\n } else if (!this._isDisabled()) {\n newIndex = this._moveIndex(ev, -1, selectedIndex - 1, selectedIndex);\n }\n break;\n\n case KeyCodes.down:\n if (containsExpandCollapseModifier) {\n ev.stopPropagation();\n ev.preventDefault();\n }\n if ((containsExpandCollapseModifier && !isOpen) || this.props.multiSelect) {\n this.setState({ isOpen: true });\n } else if (!this._isDisabled()) {\n newIndex = this._moveIndex(ev, 1, selectedIndex + 1, selectedIndex);\n }\n break;\n\n case KeyCodes.home:\n if (!this.props.multiSelect) {\n newIndex = this._moveIndex(ev, 1, 0, selectedIndex);\n }\n break;\n\n case KeyCodes.end:\n if (!this.props.multiSelect) {\n newIndex = this._moveIndex(ev, -1, this.props.options.length - 1, selectedIndex);\n }\n break;\n\n case KeyCodes.space:\n // event handled in _onDropdownKeyUp\n break;\n\n default:\n return;\n }\n\n if (newIndex !== selectedIndex) {\n ev.stopPropagation();\n ev.preventDefault();\n }\n };\n\n private _onDropdownKeyUp = (ev: React.KeyboardEvent): void => {\n // If Dropdown disabled do not process any keyboard events.\n const disabled = this._isDisabled();\n if (disabled) {\n return;\n }\n\n const shouldHandleKey = this._shouldHandleKeyUp(ev);\n const isOpen = this.state.isOpen;\n\n if (this.props.onKeyUp) {\n this.props.onKeyUp(ev);\n if (ev.defaultPrevented) {\n return;\n }\n }\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.space:\n this.setState({\n isOpen: !isOpen,\n });\n break;\n\n default:\n if (shouldHandleKey && isOpen) {\n this.setState({ isOpen: false });\n }\n return;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n };\n\n /**\n * Returns true if the key for the event is alt (Mac option) or meta (Mac command).\n */\n private _isAltOrMeta(ev: React.KeyboardEvent): boolean {\n // eslint-disable-next-line deprecation/deprecation\n return ev.which === KeyCodes.alt || ev.key === 'Meta';\n }\n\n /**\n * We close the menu on key up only if ALL of the following are true:\n * - Most recent key down was alt or meta (command)\n * - The alt/meta key down was NOT followed by some other key (such as down/up arrow to\n * expand/collapse the menu)\n * - We're not on a Mac (or iOS)\n *\n * This is because on Windows, pressing alt moves focus to the application menu bar or similar,\n * closing any open context menus. There is not a similar behavior on Macs.\n */\n private _shouldHandleKeyUp(ev: React.KeyboardEvent): boolean {\n const keyPressIsAltOrMetaAlone = this._lastKeyDownWasAltOrMeta && this._isAltOrMeta(ev);\n this._lastKeyDownWasAltOrMeta = false;\n return !!keyPressIsAltOrMetaAlone && !(isMac() || isIOS());\n }\n\n private _onZoneKeyDown = (ev: React.KeyboardEvent): void => {\n let elementToFocus;\n\n // Take note if we are processing an alt (option) or meta (command) keydown.\n // See comment in _shouldHandleKeyUp for reasoning.\n this._lastKeyDownWasAltOrMeta = this._isAltOrMeta(ev);\n const containsExpandCollapseModifier = ev.altKey || ev.metaKey;\n\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.up:\n if (containsExpandCollapseModifier) {\n this.setState({ isOpen: false });\n } else {\n if (this._host.current) {\n elementToFocus = getLastFocusable(this._host.current, this._host.current.lastChild as HTMLElement, true);\n }\n }\n break;\n\n // All directional keystrokes should be canceled when the zone is rendered.\n // This avoids the body scroll from reacting and thus dismissing the dropdown.\n case KeyCodes.home:\n case KeyCodes.end:\n case KeyCodes.pageUp:\n case KeyCodes.pageDown:\n break;\n\n case KeyCodes.down:\n if (!containsExpandCollapseModifier && this._host.current) {\n elementToFocus = getFirstFocusable(this._host.current, this._host.current.firstChild as HTMLElement, true);\n }\n break;\n\n case KeyCodes.escape:\n this.setState({ isOpen: false });\n break;\n\n case KeyCodes.tab:\n this.setState({ isOpen: false });\n\n const document = getDocument();\n\n if (document) {\n if (ev.shiftKey) {\n getPreviousElement(document.body, this._dropDown.current, false, false, true, true)?.focus();\n } else {\n getNextElement(document.body, this._dropDown.current, false, false, true, true)?.focus();\n }\n }\n break;\n\n default:\n return;\n }\n\n if (elementToFocus) {\n elementToFocus.focus();\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n };\n\n private _onZoneKeyUp = (ev: React.KeyboardEvent): void => {\n const shouldHandleKey = this._shouldHandleKeyUp(ev);\n\n if (shouldHandleKey && this.state.isOpen) {\n this.setState({ isOpen: false });\n ev.preventDefault();\n }\n };\n\n private _onDropdownClick = (ev: React.MouseEvent): void => {\n if (this.props.onClick) {\n this.props.onClick(ev);\n if (ev.defaultPrevented) {\n return;\n }\n }\n\n const { isOpen } = this.state;\n const disabled = this._isDisabled();\n\n if (!disabled && !this._shouldOpenOnFocus()) {\n this.setState({\n isOpen: !isOpen,\n });\n }\n\n this._isFocusedByClick = false; // reset\n };\n\n private _onDropdownMouseDown = (): void => {\n this._isFocusedByClick = true;\n };\n\n private _onFocus = (ev: React.FocusEvent): void => {\n const disabled = this._isDisabled();\n\n if (!disabled) {\n if (this.props.onFocus) {\n this.props.onFocus(ev);\n }\n const state: Pick | Pick = { hasFocus: true };\n if (this._shouldOpenOnFocus()) {\n (state as Pick).isOpen = true;\n }\n\n this.setState(state);\n }\n };\n\n /**\n * Because the isDisabled prop is deprecated, we have had to repeat this logic all over the place.\n * This helper method avoids all the repetition.\n */\n private _isDisabled: () => boolean | undefined = () => {\n let { disabled } = this.props;\n // eslint-disable-next-line deprecation/deprecation\n const { isDisabled } = this.props;\n\n // Remove this deprecation workaround at 1.0.0\n if (disabled === undefined) {\n disabled = isDisabled;\n }\n\n return disabled;\n };\n\n private _onRenderLabel = (props: IDropdownProps): JSX.Element | null => {\n const { label, required, disabled } = props;\n\n const labelStyles = this._classNames.subComponentStyles\n ? (this._classNames.subComponentStyles.label as IStyleFunctionOrObject)\n : undefined;\n\n return label ? (\n \n {label}\n \n ) : null;\n };\n\n /**\n * Returns true if dropdown should set to open on focus.\n * Otherwise, isOpen state should be toggled on click\n */\n private _shouldOpenOnFocus(): boolean {\n const { hasFocus } = this.state;\n const { openOnKeyboardFocus } = this.props;\n return !this._isFocusedByClick && openOnKeyboardFocus === true && !hasFocus;\n }\n}\n","import * as React from 'react';\nimport { extendComponent } from './extendComponent';\n\n/**\n * Generates a function to be attached to a React component, which can be called\n * as a replacement to RAF. In-flight async calls will be auto canceled if the component\n * is unmounting before the async code is executed, preventing bugs where code\n * accesses things within the component after being unmounted.\n */\nexport const safeRequestAnimationFrame = (component: React.Component): ((cb: Function) => void) => {\n let activeTimeouts: Set;\n\n return (cb: Function) => {\n if (!activeTimeouts) {\n activeTimeouts = new Set();\n\n extendComponent(component, {\n componentWillUnmount: () => {\n activeTimeouts.forEach((id: number) => cancelAnimationFrame(id));\n },\n });\n }\n\n const timeoutId = requestAnimationFrame(() => {\n activeTimeouts.delete(timeoutId);\n cb();\n });\n\n activeTimeouts.add(timeoutId);\n };\n};\n","import { IsFocusVisibleClassName } from '../../Utilities';\nimport { RectangleEdge } from '../../Positioning';\nimport {\n FontWeights,\n HighContrastSelector,\n getGlobalClassNames,\n normalize,\n HighContrastSelectorWhite,\n getScreenSelector,\n ScreenWidthMinMedium,\n getHighContrastNoAdjustStyle,\n} from '../../Styling';\nimport type { IDropdownStyles, IDropdownStyleProps } from './Dropdown.types';\nimport type { IStyleFunction } from '../../Utilities';\nimport type { IRawStyle, IStyle } from '../../Styling';\n\nconst GlobalClassNames = {\n root: 'ms-Dropdown-container',\n label: 'ms-Dropdown-label',\n dropdown: 'ms-Dropdown',\n title: 'ms-Dropdown-title',\n caretDownWrapper: 'ms-Dropdown-caretDownWrapper',\n caretDown: 'ms-Dropdown-caretDown',\n callout: 'ms-Dropdown-callout',\n panel: 'ms-Dropdown-panel',\n dropdownItems: 'ms-Dropdown-items',\n dropdownItem: 'ms-Dropdown-item',\n dropdownDivider: 'ms-Dropdown-divider',\n dropdownOptionText: 'ms-Dropdown-optionText',\n dropdownItemHeader: 'ms-Dropdown-header',\n titleIsPlaceHolder: 'ms-Dropdown-titleIsPlaceHolder',\n titleHasError: 'ms-Dropdown-title--hasError',\n};\n\nconst DROPDOWN_HEIGHT = 32;\nconst DROPDOWN_ITEM_HEIGHT = 36;\n\nconst highContrastAdjustMixin = {\n [`${HighContrastSelector}, ${HighContrastSelectorWhite.replace('@media ', '')}`]: {\n ...getHighContrastNoAdjustStyle(),\n },\n};\n\nconst highContrastItemAndTitleStateMixin: IRawStyle = {\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Highlight',\n borderColor: 'Highlight',\n color: 'HighlightText',\n },\n ['.ms-Checkbox-checkbox']: {\n [HighContrastSelector]: {\n borderColor: 'HighlightText',\n },\n },\n ...highContrastAdjustMixin,\n },\n};\n\nconst highContrastBorderState: IRawStyle = {\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n },\n },\n};\n\nconst MinimumScreenSelector = getScreenSelector(0, ScreenWidthMinMedium);\n\nexport const getStyles: IStyleFunction = props => {\n const {\n theme,\n hasError,\n hasLabel,\n className,\n isOpen,\n disabled,\n required,\n isRenderingPlaceholder,\n panelClassName,\n calloutClassName,\n calloutRenderEdge,\n } = props;\n\n if (!theme) {\n throw new Error('theme is undefined or null in base Dropdown getStyles function.');\n }\n\n const globalClassnames = getGlobalClassNames(GlobalClassNames, theme);\n const { palette, semanticColors, effects, fonts } = theme;\n\n const rootHoverFocusActiveSelectorNeutralDarkMixin: IStyle = {\n color: semanticColors.menuItemTextHovered,\n };\n\n const rootHoverFocusActiveSelectorNeutralPrimaryMixin: IStyle = {\n color: semanticColors.menuItemText,\n };\n\n const borderColorError: IStyle = {\n borderColor: semanticColors.errorText,\n };\n\n const dropdownItemStyle: IStyle = [\n globalClassnames.dropdownItem,\n {\n backgroundColor: 'transparent',\n boxSizing: 'border-box',\n cursor: 'pointer',\n display: 'flex',\n alignItems: 'center',\n padding: '0 8px',\n width: '100%',\n minHeight: DROPDOWN_ITEM_HEIGHT,\n lineHeight: 20,\n height: 0,\n position: 'relative',\n border: '1px solid transparent',\n borderRadius: 0,\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n textAlign: 'left',\n\n '.ms-Button-flexContainer': {\n width: '100%',\n },\n },\n ];\n\n const dropdownHeaderStyle: IStyle = [\n globalClassnames.dropdownItemHeader,\n {\n ...fonts.medium,\n fontWeight: FontWeights.semibold,\n color: semanticColors.menuHeader,\n background: 'none',\n backgroundColor: 'transparent',\n border: 'none',\n height: DROPDOWN_ITEM_HEIGHT,\n lineHeight: DROPDOWN_ITEM_HEIGHT,\n cursor: 'default',\n padding: '0 8px',\n userSelect: 'none',\n textAlign: 'left',\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n ];\n\n const selectedItemBackgroundColor = semanticColors.menuItemBackgroundPressed;\n\n const itemSelectors = (isSelected: boolean = false) => {\n return {\n selectors: {\n '&:hover': [\n {\n color: semanticColors.menuItemTextHovered,\n backgroundColor: !isSelected ? semanticColors.menuItemBackgroundHovered : selectedItemBackgroundColor,\n },\n highContrastItemAndTitleStateMixin,\n ],\n '&.is-multi-select:hover': [\n { backgroundColor: !isSelected ? 'transparent' : selectedItemBackgroundColor },\n highContrastItemAndTitleStateMixin,\n ],\n '&:active:hover': [\n {\n color: semanticColors.menuItemTextHovered,\n backgroundColor: !isSelected\n ? semanticColors.menuItemBackgroundPressed\n : semanticColors.menuItemBackgroundHovered,\n },\n highContrastItemAndTitleStateMixin,\n ],\n [`.${IsFocusVisibleClassName} &:focus:after`]: {\n left: 0,\n top: 0,\n bottom: 0,\n right: 0,\n [HighContrastSelector]: {\n inset: '2px',\n },\n },\n [HighContrastSelector]: {\n border: 'none',\n },\n },\n };\n };\n\n const dropdownItemSelected: IStyle = [\n ...dropdownItemStyle,\n {\n backgroundColor: selectedItemBackgroundColor,\n color: semanticColors.menuItemTextHovered,\n },\n itemSelectors(true),\n highContrastItemAndTitleStateMixin,\n ];\n\n const dropdownItemDisabled: IStyle = [\n ...dropdownItemStyle,\n {\n color: semanticColors.disabledText,\n cursor: 'default',\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n border: 'none',\n },\n },\n },\n ];\n\n const titleOpenBorderRadius =\n calloutRenderEdge === RectangleEdge.bottom\n ? `${effects.roundedCorner2} ${effects.roundedCorner2} 0 0`\n : `0 0 ${effects.roundedCorner2} ${effects.roundedCorner2}`;\n\n const calloutOpenBorderRadius =\n calloutRenderEdge === RectangleEdge.bottom\n ? `0 0 ${effects.roundedCorner2} ${effects.roundedCorner2}`\n : `${effects.roundedCorner2} ${effects.roundedCorner2} 0 0`;\n\n return {\n root: [globalClassnames.root, className],\n label: globalClassnames.label,\n dropdown: [\n globalClassnames.dropdown,\n normalize,\n fonts.medium,\n {\n color: semanticColors.menuItemText,\n borderColor: semanticColors.focusBorder,\n position: 'relative',\n outline: 0,\n userSelect: 'none',\n selectors: {\n ['&:hover .' + globalClassnames.title]: [\n !disabled && rootHoverFocusActiveSelectorNeutralDarkMixin,\n { borderColor: isOpen ? palette.neutralSecondary : palette.neutralPrimary },\n highContrastBorderState,\n ],\n ['&:focus .' + globalClassnames.title]: [\n !disabled && rootHoverFocusActiveSelectorNeutralDarkMixin,\n { selectors: { [HighContrastSelector]: { color: 'Highlight' } } },\n ],\n\n ['&:focus:after']: [\n {\n pointerEvents: 'none',\n content: \"''\",\n position: 'absolute',\n boxSizing: 'border-box',\n top: '0px',\n left: '0px',\n width: '100%',\n height: '100%',\n // see https://github.com/microsoft/fluentui/pull/9182 for semantic color disc\n border: !disabled ? `2px solid ${palette.themePrimary}` : 'none',\n borderRadius: '2px',\n\n selectors: {\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n },\n },\n ],\n ['&:active .' + globalClassnames.title]: [\n !disabled && rootHoverFocusActiveSelectorNeutralDarkMixin,\n { borderColor: palette.themePrimary },\n highContrastBorderState,\n ],\n\n ['&:hover .' + globalClassnames.caretDown]: !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin,\n ['&:focus .' + globalClassnames.caretDown]: [\n !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin,\n { selectors: { [HighContrastSelector]: { color: 'Highlight' } } },\n ],\n ['&:active .' + globalClassnames.caretDown]: !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin,\n\n ['&:hover .' + globalClassnames.titleIsPlaceHolder]:\n !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin,\n ['&:focus .' + globalClassnames.titleIsPlaceHolder]:\n !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin,\n ['&:active .' + globalClassnames.titleIsPlaceHolder]:\n !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin,\n\n ['&:hover .' + globalClassnames.titleHasError]: borderColorError,\n ['&:active .' + globalClassnames.titleHasError]: borderColorError,\n },\n },\n isOpen && 'is-open',\n disabled && 'is-disabled',\n required && 'is-required',\n required &&\n !hasLabel && {\n selectors: {\n ':before': {\n content: `'*'`,\n color: semanticColors.errorText,\n position: 'absolute',\n top: -5,\n right: -10,\n },\n [HighContrastSelector]: {\n selectors: {\n ':after': {\n right: -14, // moving the * 4 pixel to right to alleviate border clipping in HC mode.\n },\n },\n },\n },\n },\n ],\n title: [\n globalClassnames.title,\n normalize,\n {\n backgroundColor: semanticColors.inputBackground,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: semanticColors.inputBorder,\n borderRadius: isOpen ? titleOpenBorderRadius : effects.roundedCorner2,\n cursor: 'pointer',\n display: 'block',\n height: DROPDOWN_HEIGHT,\n lineHeight: DROPDOWN_HEIGHT - 2,\n padding: `0 28px 0 8px`,\n position: 'relative',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n },\n isRenderingPlaceholder && [globalClassnames.titleIsPlaceHolder, { color: semanticColors.inputPlaceholderText }],\n hasError && [globalClassnames.titleHasError, borderColorError],\n disabled && {\n backgroundColor: semanticColors.disabledBackground,\n border: 'none',\n color: semanticColors.disabledText,\n cursor: 'default',\n selectors: {\n [HighContrastSelector]: {\n border: '1px solid GrayText',\n color: 'GrayText',\n backgroundColor: 'Window',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n ],\n caretDownWrapper: [\n globalClassnames.caretDownWrapper,\n {\n height: DROPDOWN_HEIGHT,\n lineHeight: DROPDOWN_HEIGHT - 2, // height minus the border\n paddingTop: 1,\n position: 'absolute',\n right: 8,\n top: 0,\n },\n !disabled && {\n cursor: 'pointer',\n },\n ],\n caretDown: [\n globalClassnames.caretDown,\n { color: palette.neutralSecondary, fontSize: fonts.small.fontSize, pointerEvents: 'none' },\n disabled && {\n color: semanticColors.disabledText,\n selectors: {\n [HighContrastSelector]: { color: 'GrayText', ...getHighContrastNoAdjustStyle() },\n },\n },\n ],\n errorMessage: { color: semanticColors.errorText, ...theme.fonts.small, paddingTop: 5 },\n callout: [\n globalClassnames.callout,\n {\n boxShadow: effects.elevation8,\n borderRadius: calloutOpenBorderRadius,\n selectors: {\n ['.ms-Callout-main']: { borderRadius: calloutOpenBorderRadius },\n },\n },\n calloutClassName,\n ],\n dropdownItemsWrapper: { selectors: { '&:focus': { outline: 0 } } },\n dropdownItems: [globalClassnames.dropdownItems, { display: 'block' }],\n dropdownItem: [...dropdownItemStyle, itemSelectors()],\n dropdownItemSelected,\n dropdownItemDisabled,\n dropdownItemSelectedAndDisabled: [dropdownItemSelected, dropdownItemDisabled, { backgroundColor: 'transparent' }],\n dropdownItemHidden: [...dropdownItemStyle, { display: 'none' }],\n dropdownDivider: [globalClassnames.dropdownDivider, { height: 1, backgroundColor: semanticColors.bodyDivider }],\n dropdownDividerHidden: [globalClassnames.dropdownDivider, { display: 'none' }],\n dropdownOptionText: [\n globalClassnames.dropdownOptionText,\n {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n minWidth: 0,\n maxWidth: '100%',\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n margin: '1px',\n },\n ],\n dropdownItemHeader: dropdownHeaderStyle,\n dropdownItemHeaderHidden: [...dropdownHeaderStyle, { display: 'none' }],\n subComponentStyles: {\n label: { root: { display: 'inline-block' } },\n multiSelectItem: {\n root: {\n padding: 0,\n },\n label: {\n alignSelf: 'stretch',\n padding: '0 8px',\n width: '100%',\n },\n input: {\n selectors: {\n [`.${IsFocusVisibleClassName} &:focus + label::before`]: {\n outlineOffset: '0px',\n },\n },\n },\n },\n panel: {\n root: [panelClassName],\n main: {\n selectors: {\n // In case of extra small screen sizes\n [MinimumScreenSelector]: {\n // panelWidth xs\n width: 272,\n },\n },\n },\n contentInner: { padding: '0 0 20px' },\n },\n },\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { DropdownBase } from './Dropdown.base';\nimport { getStyles } from './Dropdown.styles';\nimport type { IDropdownProps, IDropdownStyleProps, IDropdownStyles } from './Dropdown.types';\n\nexport const Dropdown: React.FunctionComponent = styled<\n IDropdownProps,\n IDropdownStyleProps,\n IDropdownStyles\n>(DropdownBase, getStyles, undefined, {\n scope: 'Dropdown',\n});\nDropdown.displayName = 'Dropdown';\n","import * as React from 'react';\nimport { useConst } from './useConst';\nimport { useIsomorphicLayoutEffect } from '@fluentui/utilities';\n\n/**\n * Modified `useCallback` that returns the same function reference every time, but internally calls\n * the most-recently passed callback implementation. Can be useful in situations such as:\n * - Event handler dependencies change too frequently, such as user props which might change on\n * every render, or volatile values such as useState/useDispatch\n * - Callback must be referenced in a captured context (such as a window event handler or unmount\n * handler that's registered once) but needs access to the latest props\n *\n * In general, prefer `useCallback` unless you've encountered one of the problems above.\n *\n * https://reactjs.org/docs/hooks-faq.html#how-to-read-an-often-changing-value-from-usecallback\n *\n * @param fn - The callback function that will be used\n * @returns A function which is referentially stable but internally calls the most recently passed callback\n */\nexport function useEventCallback(fn: (...args: Args) => Return) {\n const callbackRef = React.useRef(() => {\n throw new Error('Cannot call an event handler while rendering');\n });\n\n useIsomorphicLayoutEffect(() => {\n callbackRef.current = fn;\n }, [fn]);\n\n // useConst rather than useCallback to ensure the reference is always stable\n // (useCallback's deps list is an optimization, not a guarantee)\n return useConst(() => (...args: Args) => {\n const callback = callbackRef.current;\n return callback(...args);\n });\n}\n","import * as React from 'react';\n\n/**\n * Hook which synchronously executes a callback when the component is about to unmount.\n *\n * @param callback - Function to call during unmount.\n */\nexport const useUnmount = (callback: () => void) => {\n const unmountRef = React.useRef(callback);\n unmountRef.current = callback;\n React.useEffect(\n () => () => {\n unmountRef.current?.();\n },\n [],\n );\n};\n","import * as React from 'react';\nimport {\n elementContains,\n getNativeProps,\n divProperties,\n getFirstTabbable,\n getLastTabbable,\n getNextElement,\n focusAsync,\n getPropsWithDefaults,\n modalize,\n on,\n} from '../../Utilities';\nimport { useId, useConst, useMergedRefs, useEventCallback, usePrevious, useUnmount } from '@fluentui/react-hooks';\nimport { useDocument } from '../../WindowProvider';\nimport type { IRefObject } from '../../Utilities';\nimport type { IFocusTrapZoneProps, IFocusTrapZone } from './FocusTrapZone.types';\n\ninterface IFocusTrapZoneInternalState {\n previouslyFocusedElementInTrapZone?: HTMLElement;\n hasFocus: boolean;\n /** ID tracked in focusStack. Don't respect prop updates in case the ID changes while the FTZ is active. */\n focusStackId: string;\n}\n\nconst COMPONENT_NAME = 'FocusTrapZone';\n\nconst DEFAULT_PROPS = {\n disabled: false,\n disableFirstFocus: false,\n forceFocusInsideTrap: true,\n isClickableOutsideFocusTrap: false,\n};\n\nconst useComponentRef = (\n componentRef: IRefObject | undefined,\n previouslyFocusedElement: HTMLElement | undefined,\n focusFTZ: () => void,\n) => {\n React.useImperativeHandle(\n componentRef,\n () => ({\n get previouslyFocusedElement() {\n return previouslyFocusedElement;\n },\n focus: focusFTZ,\n }),\n [focusFTZ, previouslyFocusedElement],\n );\n};\n\nexport const FocusTrapZone: React.FunctionComponent & {\n /**\n * Stack of active FocusTrapZone identifiers, exposed for testing purposes only.\n * (This is always set, just marked as optional to avoid a cast in the component definition.)\n * @internal\n */\n focusStack?: string[];\n} = React.forwardRef((propsWithoutDefaults, ref) => {\n const root = React.useRef(null);\n const firstBumper = React.useRef(null);\n const lastBumper = React.useRef(null);\n const mergedRootRef = useMergedRefs(root, ref) as React.Ref;\n const doc = useDocument();\n\n const isFirstRender = usePrevious(false) ?? true;\n\n const props = getPropsWithDefaults(DEFAULT_PROPS, propsWithoutDefaults);\n\n const internalState = useConst({\n hasFocus: false,\n focusStackId: useId('ftz-', props.id),\n });\n\n const {\n children,\n componentRef,\n disabled,\n disableFirstFocus,\n forceFocusInsideTrap,\n focusPreviouslyFocusedInnerElement,\n // eslint-disable-next-line deprecation/deprecation\n firstFocusableSelector,\n firstFocusableTarget,\n // eslint-disable-next-line deprecation/deprecation\n disableRestoreFocus = props.ignoreExternalFocusing,\n isClickableOutsideFocusTrap,\n enableAriaHiddenSiblings,\n } = props;\n\n const bumperProps = {\n 'aria-hidden': true,\n style: {\n pointerEvents: 'none',\n position: 'fixed', // 'fixed' prevents browsers from scrolling to bumpers when viewport does not contain them\n },\n tabIndex: disabled ? -1 : 0, // make bumpers tabbable only when enabled\n 'data-is-visible': true,\n 'data-is-focus-trap-zone-bumper': true,\n } as React.HTMLAttributes;\n\n const focusElementAsync = React.useCallback((element: HTMLElement) => {\n if (element !== firstBumper.current && element !== lastBumper.current) {\n focusAsync(element);\n }\n }, []);\n\n /**\n * Callback to force focus into FTZ (named to avoid overlap with global focus() callback).\n * useEventCallback always returns the same callback reference but updates the implementation\n * every render to avoid stale captured values.\n */\n const focusFTZ = useEventCallback(() => {\n if (!root.current) {\n return; // not done mounting\n }\n\n const { previouslyFocusedElementInTrapZone } = internalState;\n if (\n focusPreviouslyFocusedInnerElement &&\n previouslyFocusedElementInTrapZone &&\n elementContains(root.current, previouslyFocusedElementInTrapZone)\n ) {\n // focus on the last item that had focus in the zone before we left the zone\n focusElementAsync(previouslyFocusedElementInTrapZone);\n return;\n }\n\n let firstFocusableChild: HTMLElement | null = null;\n\n if (typeof firstFocusableTarget === 'string') {\n firstFocusableChild = root.current.querySelector(firstFocusableTarget);\n } else if (firstFocusableTarget) {\n firstFocusableChild = firstFocusableTarget(root.current);\n } else if (firstFocusableSelector) {\n const focusSelector =\n typeof firstFocusableSelector === 'string' ? firstFocusableSelector : firstFocusableSelector();\n firstFocusableChild = root.current.querySelector('.' + focusSelector);\n }\n\n // Fall back to first element if query selector did not match any elements.\n if (!firstFocusableChild) {\n firstFocusableChild = getNextElement(\n root.current,\n root.current.firstChild as HTMLElement,\n false,\n false,\n false,\n true,\n );\n }\n\n if (firstFocusableChild) {\n focusElementAsync(firstFocusableChild);\n }\n });\n\n /** Used in root div focus/blur handlers */\n const focusBumper = (isFirstBumper: boolean) => {\n if (disabled || !root.current) {\n return;\n }\n\n const nextFocusable =\n isFirstBumper === internalState.hasFocus\n ? getLastTabbable(root.current, lastBumper.current!, true, false)\n : getFirstTabbable(root.current, firstBumper.current!, true, false);\n\n if (nextFocusable) {\n if (nextFocusable === firstBumper.current || nextFocusable === lastBumper.current) {\n // This can happen when FTZ contains no tabbable elements.\n // focusFTZ() will take care of finding a focusable element in FTZ.\n focusFTZ();\n } else {\n nextFocusable.focus();\n }\n }\n };\n\n /** Root div blur handler (doesn't need useCallback since it's for a native element) */\n const onRootBlurCapture = (ev: React.FocusEvent) => {\n props.onBlurCapture?.(ev);\n let relatedTarget = ev.relatedTarget;\n if (ev.relatedTarget === null) {\n // In IE11, due to lack of support, event.relatedTarget is always\n // null making every onBlur call to be \"outside\" of the root\n // even when it's not. Using document.activeElement is another way\n // for us to be able to get what the relatedTarget without relying\n // on the event\n relatedTarget = doc!.activeElement as Element;\n }\n if (!elementContains(root.current, relatedTarget as HTMLElement)) {\n internalState.hasFocus = false;\n }\n };\n\n /** Root div focus handler (doesn't need useCallback since it's for a native element) */\n const onRootFocusCapture = (ev: React.FocusEvent) => {\n props.onFocusCapture?.(ev);\n\n if (ev.target === firstBumper.current) {\n focusBumper(true);\n } else if (ev.target === lastBumper.current) {\n focusBumper(false);\n }\n\n internalState.hasFocus = true;\n\n if (ev.target !== ev.currentTarget && !(ev.target === firstBumper.current || ev.target === lastBumper.current)) {\n // every time focus changes within the trap zone, remember the focused element so that\n // it can be restored if focus leaves the pane and returns via keystroke (i.e. via a call to this.focus(true))\n internalState.previouslyFocusedElementInTrapZone = ev.target as HTMLElement;\n }\n };\n\n /** Called to restore focus on unmount or props change. (useEventCallback ensures latest prop values are used.) */\n const returnFocusToInitiator = useEventCallback((elementToFocusOnDismiss: HTMLElement | null) => {\n FocusTrapZone.focusStack = FocusTrapZone.focusStack!.filter(value => internalState.focusStackId !== value);\n\n if (!doc) {\n return;\n }\n\n const activeElement = doc.activeElement as HTMLElement;\n if (\n !disableRestoreFocus &&\n typeof elementToFocusOnDismiss?.focus === 'function' &&\n // only restore focus if the current focused element is within the FTZ, or if nothing is focused\n (elementContains(root.current, activeElement) || activeElement === doc.body)\n ) {\n focusElementAsync(elementToFocusOnDismiss);\n }\n });\n\n /** Called in window event handlers. (useEventCallback ensures latest prop values are used.) */\n const forceFocusOrClickInTrap = useEventCallback((ev: FocusEvent | MouseEvent): void => {\n // be sure to use the latest values here\n if (disabled) {\n return;\n }\n if (internalState.focusStackId === FocusTrapZone.focusStack!.slice(-1)[0]) {\n const targetElement = ev.target as HTMLElement | null;\n if (targetElement && !elementContains(root.current, targetElement)) {\n if (doc && doc.activeElement === doc.body) {\n setTimeout(() => {\n if (doc && doc.activeElement === doc.body) {\n focusFTZ();\n internalState.hasFocus = true; // set focus here since we stop event propagation\n }\n }, 0);\n } else {\n focusFTZ();\n internalState.hasFocus = true; // set focus here since we stop event propagation\n }\n ev.preventDefault();\n ev.stopPropagation();\n }\n }\n });\n\n // Update window event handlers when relevant props change\n React.useEffect(() => {\n const disposables: Array<() => void> = [];\n\n if (forceFocusInsideTrap) {\n disposables.push(on(window, 'focus', forceFocusOrClickInTrap, true));\n }\n if (!isClickableOutsideFocusTrap) {\n disposables.push(on(window, 'click', forceFocusOrClickInTrap, true));\n }\n\n return () => {\n disposables.forEach(dispose => dispose());\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run when these two props change\n }, [forceFocusInsideTrap, isClickableOutsideFocusTrap]);\n\n // On prop change or first render, focus the FTZ and update focusStack if appropriate\n React.useEffect(() => {\n // Do nothing if disabled, or if it's a re-render and forceFocusInsideTrap is false\n // (to match existing behavior, the FTZ handles first focus even if forceFocusInsideTrap\n // is false, though it's debatable whether it should do this)\n if (disabled || (!isFirstRender && !forceFocusInsideTrap) || !root.current) {\n return;\n }\n\n // Transition from forceFocusInsideTrap / FTZ disabled to enabled (or initial mount)\n FocusTrapZone.focusStack!.push(internalState.focusStackId);\n\n const elementToFocusOnDismiss = props.elementToFocusOnDismiss || (doc!.activeElement as HTMLElement | null);\n\n if (!disableFirstFocus && !elementContains(root.current, elementToFocusOnDismiss)) {\n focusFTZ();\n }\n\n // To match existing behavior, always return focus on cleanup (even if we didn't handle\n // initial focus), but it's debatable whether that's correct\n return () => returnFocusToInitiator(elementToFocusOnDismiss);\n\n // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run when these two props change\n }, [forceFocusInsideTrap, disabled]);\n\n // Handle modalization separately from first focus\n React.useEffect(() => {\n if (!disabled && enableAriaHiddenSiblings) {\n const unmodalize = modalize(root.current!);\n return unmodalize;\n }\n }, [disabled, enableAriaHiddenSiblings, root]);\n\n // Cleanup lifecyle method for internalState.\n useUnmount(() => {\n // Dispose of element references so the DOM Nodes can be garbage-collected\n delete internalState.previouslyFocusedElementInTrapZone;\n });\n\n useComponentRef(componentRef, internalState.previouslyFocusedElementInTrapZone, focusFTZ);\n\n return (\n >(props, divProperties)}\n ref={mergedRootRef}\n onFocusCapture={onRootFocusCapture}\n onBlurCapture={onRootBlurCapture}\n >\n
    \n {children}\n
    \n
    \n );\n});\n\nFocusTrapZone.displayName = COMPONENT_NAME;\nFocusTrapZone.focusStack = [];\n","import * as React from 'react';\nimport { classNames, MS_ICON } from './Icon.styles';\nimport { css, getNativeProps, htmlElementProperties, memoizeFunction } from '../../Utilities';\nimport { getIcon } from '../../Styling';\nimport type { IFontIconProps } from './Icon.types';\nimport type { IIconRecord, IIconSubsetRecord } from '../../Styling';\n\nexport interface IIconContent {\n children?: string | JSX.Element;\n iconClassName?: string;\n fontFamily?: string;\n mergeImageProps?: boolean;\n}\n\nexport const getIconContent = memoizeFunction(\n (iconName?: string): IIconContent | null => {\n const { code, subset }: Pick & { subset: Partial } = getIcon(iconName) || {\n subset: {},\n code: undefined,\n };\n\n if (!code) {\n return null;\n }\n\n return {\n children: code,\n iconClassName: subset.className,\n fontFamily: subset.fontFace && subset.fontFace.fontFamily,\n mergeImageProps: subset.mergeImageProps,\n };\n },\n undefined,\n true /*ignoreNullOrUndefinedResult */,\n);\n\n/**\n * Fast icon component which only supports font glyphs (not images) and can't be targeted by customizations.\n * To style the icon, use `className` or reference `ms-Icon` in CSS.\n * {@docCategory Icon}\n */\nexport const FontIcon: React.FunctionComponent = props => {\n const { iconName, className, style = {} } = props;\n const iconContent = getIconContent(iconName) || {};\n const { iconClassName, children, fontFamily, mergeImageProps } = iconContent;\n\n const nativeProps = getNativeProps>(props, htmlElementProperties);\n const accessibleName = props['aria-label'] || props.title;\n const containerProps =\n props['aria-label'] || props['aria-labelledby'] || props.title\n ? {\n role: mergeImageProps ? undefined : 'img',\n }\n : {\n 'aria-hidden': true,\n };\n\n let finalChildren = children;\n\n if (mergeImageProps) {\n if (typeof children === 'object' && typeof children.props === 'object' && accessibleName) {\n finalChildren = React.cloneElement(children, { alt: accessibleName });\n }\n }\n\n return (\n \n {finalChildren}\n \n );\n};\n\n/**\n * Memoized helper for rendering a FontIcon.\n * @param iconName - The name of the icon to use from the icon font.\n * @param className - Class name for styling the icon.\n * @param ariaLabel - Label for the icon for the benefit of screen readers.\n * {@docCategory Icon}\n */\nexport const getFontIcon = memoizeFunction((iconName: string, className?: string, ariaLabel?: string) => {\n return FontIcon({ iconName, className, 'aria-label': ariaLabel });\n});\n","import * as React from 'react';\nimport type { IImageProps } from '../Image/Image.types';\nimport type { IStyle, ITheme } from '../../Styling';\nimport type { IBaseProps, IStyleFunctionOrObject } from '../../Utilities';\n\n/**\n * @deprecated Icon type is inferred based on presence of `IIconProps.imageProps`\n * {@docCategory Icon}\n */\nexport enum IconType {\n /**\n * Render using the fabric icon font.\n * @deprecated Icon type is inferred based on presence of `IIconProps.imageProps`\n */\n default = 0,\n\n /**\n * Render using an image, where imageProps would be used.\n * @deprecated Icon type is inferred based on presence of `IIconProps.imageProps`\n */\n image = 1,\n\n /**\n * @deprecated Icon type is inferred based on presence of `IIconProps.imageProps`\n */\n Default = 100000,\n\n /**\n * @deprecated Icon type is inferred based on presence of `IIconProps.imageProps`\n */\n Image = 100001,\n}\n\n/**\n * {@docCategory Icon}\n */\nexport interface IIconProps extends IBaseProps, React.HTMLAttributes {\n /**\n * The name of the icon to use from the icon font.\n * If string is empty, a placeholder icon will be rendered the same width as an icon.\n */\n iconName?: string;\n\n /**\n * The aria label of the icon for the benefit of screen readers.\n * @deprecated Use the native prop `aria-label`\n */\n ariaLabel?: string;\n\n /**\n * The type of icon to render (image or icon font).\n * @deprecated Inferred based on the presence of `imageProps`\n */\n // eslint-disable-next-line deprecation/deprecation\n iconType?: IconType;\n\n /**\n * If rendering an image icon, these props will be passed to the Image component.\n */\n imageProps?: IImageProps;\n\n /**\n * If rendering an image icon, this component will be rendered in the event that loading the image fails.\n */\n imageErrorAs?: React.ComponentType;\n\n /**\n * Gets the styles for an Icon.\n */\n styles?: IStyleFunctionOrObject;\n theme?: ITheme;\n}\n\n/**\n * {@docCategory Icon}\n */\nexport interface IIconStyleProps {\n className?: string;\n iconClassName?: string;\n isPlaceholder: boolean;\n isImage: boolean;\n styles?: Partial;\n theme?: ITheme;\n}\n\n/**\n * {@docCategory Icon}\n */\nexport interface IIconStyles {\n root?: IStyle;\n\n /**\n * @deprecated Use `root`.\n */\n imageContainer?: IStyle;\n}\n\n/**\n * Props for a basic icon component which only supports font glyphs and can't be targeted by customizations.\n * {@docCategory Icon}\n */\nexport interface IFontIconProps extends React.HTMLAttributes {\n /**\n * The name of the icon to use from the icon font.\n * If string is empty, a placeholder icon will be rendered the same width as an icon.\n */\n iconName?: string;\n\n /**\n * Custom class to style the icon.\n */\n className?: string;\n}\n\n/**\n * Props for a basic image icon component which doesn't directly provide image load error handling\n * and can't be targeted by customizations.\n * {@docCategory Icon}\n */\nexport interface IImageIconProps extends React.HTMLAttributes {\n /**\n * Props passed to the Image component.\n */\n imageProps: IImageProps;\n\n /**\n * Custom class to style the icon.\n */\n className?: string;\n}\n","import * as React from 'react';\n\nimport { IconType } from './Icon.types';\nimport { Image } from '../Image/Image';\nimport { ImageLoadState } from '../Image/Image.types';\nimport { getNativeProps, htmlElementProperties, classNamesFunction } from '../../Utilities';\nimport { getIconContent } from './FontIcon';\nimport type { IIconProps, IIconStyleProps, IIconStyles } from './Icon.types';\nimport type { IImageProps } from '../Image/Image.types';\n\nexport interface IIconState {\n imageLoadError: boolean;\n}\n\nconst getClassNames = classNamesFunction({\n // Icon is used a lot by other components.\n // It's likely to see expected cases which pass different className to the Icon.\n // Therefore setting a larger cache size.\n cacheSize: 100,\n});\n\nexport class IconBase extends React.Component {\n constructor(props: IIconProps) {\n super(props);\n this.state = {\n imageLoadError: false,\n };\n }\n\n public render() {\n const { children, className, styles, iconName, imageErrorAs, theme } = this.props;\n const isPlaceholder = typeof iconName === 'string' && iconName.length === 0;\n const isImage =\n // eslint-disable-next-line deprecation/deprecation\n !!this.props.imageProps || this.props.iconType === IconType.image || this.props.iconType === IconType.Image;\n const iconContent = getIconContent(iconName) || {};\n const { iconClassName, children: iconContentChildren, mergeImageProps } = iconContent;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n className,\n iconClassName,\n isImage,\n isPlaceholder,\n });\n\n const RootType = isImage ? 'span' : 'i';\n const nativeProps = getNativeProps>(this.props, htmlElementProperties, [\n 'aria-label',\n ]);\n const { imageLoadError } = this.state;\n const imageProps: IImageProps = {\n ...this.props.imageProps,\n onLoadingStateChange: this._onImageLoadingStateChange,\n };\n const ImageType = (imageLoadError && imageErrorAs) || Image;\n\n // eslint-disable-next-line deprecation/deprecation\n const ariaLabel = this.props['aria-label'] || this.props.ariaLabel;\n const accessibleName = imageProps.alt || ariaLabel || this.props.title;\n const hasName = !!(\n accessibleName ||\n this.props['aria-labelledby'] ||\n imageProps['aria-label'] ||\n imageProps['aria-labelledby']\n );\n const containerProps = hasName\n ? {\n role: isImage || mergeImageProps ? undefined : 'img',\n 'aria-label': isImage || mergeImageProps ? undefined : accessibleName,\n }\n : {\n 'aria-hidden': true,\n };\n\n let finalIconContentChildren = iconContentChildren;\n\n if (mergeImageProps && iconContentChildren && typeof iconContentChildren === 'object' && accessibleName) {\n finalIconContentChildren = React.cloneElement(iconContentChildren, {\n alt: accessibleName,\n });\n }\n\n return (\n \n {isImage ? : children || finalIconContentChildren}\n \n );\n }\n\n private _onImageLoadingStateChange = (state: ImageLoadState): void => {\n if (this.props.imageProps && this.props.imageProps.onLoadingStateChange) {\n this.props.imageProps.onLoadingStateChange(state);\n }\n if (state === ImageLoadState.error) {\n this.setState({ imageLoadError: true });\n }\n };\n}\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { IconBase } from './Icon.base';\nimport { getStyles } from './Icon.styles';\nimport type { IIconProps, IIconStyleProps, IIconStyles } from './Icon.types';\n\n/**\n * Legacy Icon component which can be targeted by customization. It's recommended to use `FontIcon`\n * or `ImageIcon` instead, especially in scenarios where rendering performance is important.\n * {@docCategory Icon}\n */\nexport const Icon: React.FunctionComponent = styled(\n IconBase,\n getStyles,\n undefined,\n {\n scope: 'Icon',\n },\n true,\n);\nIcon.displayName = 'Icon';\n","import { mergeStyleSets } from '../../Styling';\nimport type { IIconStyleProps, IIconStyles } from './Icon.types';\n\n/** Class names used in themeable and non-themeable Icon components */\nexport const classNames = mergeStyleSets({\n root: {\n display: 'inline-block',\n },\n placeholder: [\n 'ms-Icon-placeHolder',\n {\n width: '1em',\n },\n ],\n image: [\n 'ms-Icon-imageContainer',\n {\n overflow: 'hidden',\n },\n ],\n});\n/** Class name used only in non-themeable Icon components */\nexport const MS_ICON = 'ms-Icon';\n\nexport const getStyles = (props: IIconStyleProps): IIconStyles => {\n const { className, iconClassName, isPlaceholder, isImage, styles } = props;\n\n return {\n root: [\n isPlaceholder && classNames.placeholder,\n classNames.root,\n isImage && classNames.image,\n iconClassName,\n className,\n styles && styles.root,\n // eslint-disable-next-line deprecation/deprecation\n styles && styles.imageContainer,\n ],\n };\n};\n","import * as React from 'react';\nimport { classNamesFunction, getNativeProps, imgProperties } from '../../Utilities';\nimport { ImageCoverStyle, ImageFit, ImageLoadState } from './Image.types';\nimport { useIsomorphicLayoutEffect, useMergedRefs } from '@fluentui/react-hooks';\nimport type { IImageProps, IImageStyleProps, IImageStyles } from './Image.types';\n\nconst getClassNames = classNamesFunction();\n\nexport interface IImageState {\n loadState?: ImageLoadState;\n}\n\nconst SVG_REGEX = /\\.svg$/i;\nconst KEY_PREFIX = 'fabricImage';\n\nfunction useLoadState(\n props: IImageProps,\n imageElement: React.RefObject,\n): readonly [\n ImageLoadState,\n /* onImageLoad */ (ev: React.SyntheticEvent) => void,\n /* onImageError */ (ev: React.SyntheticEvent) => void,\n] {\n const { onLoadingStateChange, onLoad, onError, src } = props;\n\n const [loadState, setLoadState] = React.useState(ImageLoadState.notLoaded);\n\n useIsomorphicLayoutEffect(() => {\n // If the src property changes, reset the load state\n // (does nothing if the load state is already notLoaded)\n setLoadState(ImageLoadState.notLoaded);\n }, [src]);\n\n // eslint-disable-next-line react-hooks/exhaustive-deps -- intended to run every render\n React.useEffect(() => {\n if (loadState === ImageLoadState.notLoaded) {\n // testing if naturalWidth and naturalHeight are greater than zero is better than checking\n // .complete, because .complete will also be set to true if the image breaks. However,\n // for some browsers, SVG images do not have a naturalWidth or naturalHeight, so fall back\n // to checking .complete for these images.\n const isLoaded: boolean = imageElement.current\n ? (src && imageElement.current.naturalWidth > 0 && imageElement.current.naturalHeight > 0) ||\n (imageElement.current.complete && SVG_REGEX.test(src!))\n : false;\n\n if (isLoaded) {\n setLoadState(ImageLoadState.loaded);\n }\n }\n });\n\n React.useEffect(() => {\n onLoadingStateChange?.(loadState);\n // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run when loadState changes\n }, [loadState]);\n\n const onImageLoaded = React.useCallback(\n (ev: React.SyntheticEvent) => {\n onLoad?.(ev);\n if (src) {\n setLoadState(ImageLoadState.loaded);\n }\n },\n [src, onLoad],\n );\n\n const onImageError = React.useCallback(\n (ev: React.SyntheticEvent) => {\n onError?.(ev);\n setLoadState(ImageLoadState.error);\n },\n [onError],\n );\n\n return [loadState, onImageLoaded, onImageError] as const;\n}\n\nexport const ImageBase: React.FunctionComponent = React.forwardRef(\n (props, forwardedRef) => {\n const frameElement = React.useRef() as React.RefObject;\n const imageElement = React.useRef() as React.RefObject;\n const [loadState, onImageLoaded, onImageError] = useLoadState(props, imageElement);\n\n const imageProps = getNativeProps>(props, imgProperties, [\n 'width',\n 'height',\n ]);\n const {\n src,\n alt,\n width,\n height,\n shouldFadeIn = true,\n shouldStartVisible,\n className,\n imageFit,\n role,\n maximizeFrame,\n styles,\n theme,\n loading,\n } = props;\n const coverStyle = useCoverStyle(props, loadState, imageElement, frameElement);\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n width,\n height,\n maximizeFrame,\n shouldFadeIn,\n shouldStartVisible,\n isLoaded:\n loadState === ImageLoadState.loaded || (loadState === ImageLoadState.notLoaded && props.shouldStartVisible),\n isLandscape: coverStyle === ImageCoverStyle.landscape,\n isCenter: imageFit === ImageFit.center,\n isCenterContain: imageFit === ImageFit.centerContain,\n isCenterCover: imageFit === ImageFit.centerCover,\n isContain: imageFit === ImageFit.contain,\n isCover: imageFit === ImageFit.cover,\n isNone: imageFit === ImageFit.none,\n isError: loadState === ImageLoadState.error,\n isNotImageFit: imageFit === undefined,\n });\n\n // If image dimensions aren't specified, the natural size of the image is used.\n return (\n
    \n \n
    \n );\n },\n);\nImageBase.displayName = 'ImageBase';\n\nfunction useCoverStyle(\n props: IImageProps,\n loadState: ImageLoadState,\n imageElement: React.RefObject,\n frameElement: React.RefObject,\n) {\n const previousLoadState = React.useRef(loadState);\n const coverStyle = React.useRef();\n\n if (\n coverStyle === undefined ||\n (previousLoadState.current === ImageLoadState.notLoaded && loadState === ImageLoadState.loaded)\n ) {\n coverStyle.current = computeCoverStyle(props, loadState, imageElement, frameElement);\n }\n\n previousLoadState.current = loadState;\n\n return coverStyle.current!;\n}\n\nfunction computeCoverStyle(\n props: IImageProps,\n loadState: ImageLoadState,\n imageElement: React.RefObject,\n frameElement: React.RefObject,\n): ImageCoverStyle {\n const { imageFit, width, height } = props;\n\n // Do not compute cover style if it was already specified in props\n if (props.coverStyle !== undefined) {\n return props.coverStyle;\n } else if (\n loadState === ImageLoadState.loaded &&\n (imageFit === ImageFit.cover ||\n imageFit === ImageFit.contain ||\n imageFit === ImageFit.centerContain ||\n imageFit === ImageFit.centerCover) &&\n imageElement.current &&\n frameElement.current\n ) {\n // Determine the desired ratio using the width and height props.\n // If those props aren't available, measure measure the frame.\n let desiredRatio;\n if (\n typeof width === 'number' &&\n typeof height === 'number' &&\n imageFit !== ImageFit.centerContain &&\n imageFit !== ImageFit.centerCover\n ) {\n desiredRatio = width / height;\n } else {\n desiredRatio = frameElement.current.clientWidth / frameElement.current.clientHeight;\n }\n\n // Examine the source image to determine its original ratio.\n const naturalRatio = imageElement.current.naturalWidth / imageElement.current.naturalHeight;\n\n // Should we crop from the top or the sides?\n if (naturalRatio > desiredRatio) {\n return ImageCoverStyle.landscape;\n }\n }\n return ImageCoverStyle.portrait;\n}\n","import { AnimationClassNames, getGlobalClassNames } from '../../Styling';\nimport { getWindow } from '../../Utilities';\nimport type { IStyle } from '../../Styling';\nimport type { IImageStyleProps, IImageStyles } from './Image.types';\n\nconst GlobalClassNames = {\n root: 'ms-Image',\n rootMaximizeFrame: 'ms-Image--maximizeFrame',\n image: 'ms-Image-image',\n imageCenter: 'ms-Image-image--center',\n imageContain: 'ms-Image-image--contain',\n imageCover: 'ms-Image-image--cover',\n imageCenterContain: 'ms-Image-image--centerContain',\n imageCenterCover: 'ms-Image-image--centerCover',\n imageNone: 'ms-Image-image--none',\n imageLandscape: 'ms-Image-image--landscape',\n imagePortrait: 'ms-Image-image--portrait',\n};\n\nexport const getStyles = (props: IImageStyleProps): IImageStyles => {\n const {\n className,\n width,\n height,\n maximizeFrame,\n isLoaded,\n shouldFadeIn,\n shouldStartVisible,\n isLandscape,\n isCenter,\n isContain,\n isCover,\n isCenterContain,\n isCenterCover,\n isNone,\n isError,\n isNotImageFit,\n theme,\n } = props;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n const ImageFitStyles: IStyle = {\n position: 'absolute',\n left: '50% /* @noflip */',\n top: '50%',\n transform: 'translate(-50%,-50%)', // @todo test RTL renders transform: translate(50%,-50%);\n };\n\n // Cut the mustard using msMaxTouchPoints to detect IE11 which does not support CSS object-fit\n const window: Window | undefined = getWindow();\n const supportsObjectFit: boolean =\n window !== undefined &&\n // eslint-disable-next-line @fluentui/max-len\n // cast needed as vendor prefixed `msMaxTouchPoints` api is no longer part of TS lib declaration - introduced with TS 4.4\n (window.navigator as { msMaxTouchPoints?: Window['navigator']['maxTouchPoints'] }).msMaxTouchPoints === undefined;\n const fallbackObjectFitStyles =\n (isContain && isLandscape) || (isCover && !isLandscape)\n ? { width: '100%', height: 'auto' }\n : { width: 'auto', height: '100%' };\n\n return {\n root: [\n classNames.root,\n theme.fonts.medium,\n {\n overflow: 'hidden',\n },\n maximizeFrame && [\n classNames.rootMaximizeFrame,\n {\n height: '100%',\n width: '100%',\n },\n ],\n isLoaded && shouldFadeIn && !shouldStartVisible && AnimationClassNames.fadeIn400,\n (isCenter || isContain || isCover || isCenterContain || isCenterCover) && {\n position: 'relative',\n },\n className,\n ],\n image: [\n classNames.image,\n {\n display: 'block',\n opacity: 0,\n },\n isLoaded && [\n 'is-loaded',\n {\n opacity: 1,\n },\n ],\n isCenter && [classNames.imageCenter, ImageFitStyles],\n isContain && [\n classNames.imageContain,\n supportsObjectFit && {\n width: '100%',\n height: '100%',\n objectFit: 'contain',\n },\n !supportsObjectFit && fallbackObjectFitStyles,\n !supportsObjectFit && ImageFitStyles,\n ],\n isCover && [\n classNames.imageCover,\n supportsObjectFit && {\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n },\n !supportsObjectFit && fallbackObjectFitStyles,\n !supportsObjectFit && ImageFitStyles,\n ],\n isCenterContain && [\n classNames.imageCenterContain,\n isLandscape && {\n maxWidth: '100%',\n },\n !isLandscape && {\n maxHeight: '100%',\n },\n ImageFitStyles,\n ],\n isCenterCover && [\n classNames.imageCenterCover,\n isLandscape && {\n maxHeight: '100%',\n },\n !isLandscape && {\n maxWidth: '100%',\n },\n ImageFitStyles,\n ],\n isNone && [\n classNames.imageNone,\n {\n width: 'auto',\n height: 'auto',\n },\n ],\n isNotImageFit && [\n !!width &&\n !height && {\n height: 'auto',\n width: '100%',\n },\n !width &&\n !!height && {\n height: '100%',\n width: 'auto',\n },\n !!width &&\n !!height && {\n height: '100%',\n width: '100%',\n },\n ],\n isLandscape && classNames.imageLandscape,\n !isLandscape && classNames.imagePortrait,\n !isLoaded && 'is-notLoaded',\n shouldFadeIn && 'is-fadeIn',\n isError && 'is-error',\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { ImageBase } from './Image.base';\nimport { getStyles } from './Image.styles';\nimport type { IImageProps, IImageStyleProps, IImageStyles } from './Image.types';\n\nexport const Image: React.FunctionComponent = styled(\n ImageBase,\n getStyles,\n undefined,\n {\n scope: 'Image',\n },\n true,\n);\nImage.displayName = 'Image';\n","import * as React from 'react';\nimport type { IStyle, ITheme } from '../../Styling';\nimport type { IStyleFunctionOrObject } from '../../Utilities';\n\n/**\n * {@docCategory Image}\n */\nexport interface IImage {}\n\n/**\n * {@docCategory Image}\n */\nexport interface IImageProps extends React.ImgHTMLAttributes, React.RefAttributes {\n /**\n * Call to provide customized styling that will layer on top of the variant rules\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * Theme provided by HOC.\n */\n theme?: ITheme;\n\n /**\n * Additional css class to apply to the Component\n * @defaultvalue undefined\n */\n className?: string;\n\n /**\n * If true, fades the image in when loaded.\n * @defaultvalue true\n */\n shouldFadeIn?: boolean;\n\n /**\n * If true, the image starts as visible and is hidden on error. Otherwise, the image is hidden until\n * it is successfully loaded. This disables shouldFadeIn.\n * @defaultvalue false;\n */\n shouldStartVisible?: boolean;\n\n /**\n * Used to determine how the image is scaled and cropped to fit the frame.\n *\n * @defaultvalue If both dimensions are provided, then the image is fit using `ImageFit.scale`.\n * Otherwise, the image won't be scaled or cropped.\n */\n imageFit?: ImageFit;\n\n /**\n * @deprecated Not used. Use `onLoadingStateChange` and re-render the Image with a different src.\n */\n errorSrc?: string;\n\n /**\n * If true, the image frame will expand to fill its parent container.\n */\n maximizeFrame?: boolean;\n\n /**\n * Optional callback method for when the image load state has changed.\n * The 'loadState' parameter indicates the current state of the Image.\n */\n onLoadingStateChange?: (loadState: ImageLoadState) => void;\n\n /**\n * Specifies the cover style to be used for this image. If not\n * specified, this will be dynamically calculated based on the\n * aspect ratio for the image.\n */\n coverStyle?: ImageCoverStyle;\n\n /**\n * Allows for browser-level image lazy-loading.\n */\n loading?: 'lazy' | 'eager';\n}\n\n/**\n * The possible methods that can be used to fit the image.\n * {@docCategory Image}\n */\nexport enum ImageFit {\n /**\n * The image is not scaled. The image is centered and cropped within the content box.\n */\n center = 0,\n\n /**\n * The image is scaled to maintain its aspect ratio while being fully contained within the frame. The image will\n * be centered horizontally and vertically within the frame. The space in the top and bottom or in the sides of\n * the frame will be empty depending on the difference in aspect ratio between the image and the frame.\n */\n contain = 1,\n\n /**\n * The image is scaled to maintain its aspect ratio while filling the frame. Portions of the image will be cropped\n * from the top and bottom, or the sides, depending on the difference in aspect ratio between the image and the frame.\n */\n cover = 2,\n\n /**\n * Neither the image nor the frame are scaled. If their sizes do not match, the image will either be cropped or the\n * frame will have empty space.\n */\n none = 3,\n\n /**\n * The image will be centered horizontally and vertically within the frame and maintains its aspect ratio. It will\n * behave as ImageFit.center if the image's natural height or width is less than the Image frame's height or width,\n * but if both natural height and width are larger than the frame it will behave as ImageFit.cover.\n */\n centerCover = 4,\n\n /**\n * The image will be centered horizontally and vertically within the frame and maintains its aspect ratio. It will\n * behave as ImageFit.center if the image's natural height and width is less than the Image frame's height and width,\n * but if either natural height or width are larger than the frame it will behave as ImageFit.contain.\n */\n centerContain = 5,\n}\n\n/**\n * The cover style to be used on the image\n * {@docCategory Image}\n */\nexport enum ImageCoverStyle {\n /**\n * The image will be shown at 100% height of container and the width will be scaled accordingly\n */\n landscape = 0,\n\n /**\n * The image will be shown at 100% width of container and the height will be scaled accordingly\n */\n portrait = 1,\n}\n\n/**\n * {@docCategory Image}\n */\nexport enum ImageLoadState {\n /**\n * The image has not yet been loaded, and there is no error yet.\n */\n notLoaded = 0,\n\n /**\n * The image has been loaded successfully.\n */\n loaded = 1,\n\n /**\n * An error has been encountered while loading the image.\n */\n error = 2,\n\n /**\n * @deprecated Not used. Use `onLoadingStateChange` and re-render the Image with a different src.\n */\n errorLoaded = 3,\n}\n\n/**\n * {@docCategory Image}\n */\nexport interface IImageStyleProps {\n /**\n * Accept theme prop.\n */\n theme: ITheme;\n\n /**\n * Accept custom classNames\n */\n className?: string;\n\n /**\n * If true, the image frame will expand to fill its parent container.\n */\n maximizeFrame?: boolean;\n\n /**\n * If true, the image is loaded\n */\n isLoaded?: boolean;\n\n /**\n * If true, fades the image in when loaded.\n * @defaultvalue true\n */\n shouldFadeIn?: boolean;\n\n /**\n * If true, the image starts as visible and is hidden on error. Otherwise, the image is hidden until\n * it is successfully loaded. This disables shouldFadeIn.\n * @defaultvalue false;\n */\n shouldStartVisible?: boolean;\n\n /**\n * If true the image is coverStyle landscape instead of portrait\n */\n isLandscape?: boolean;\n\n /**\n * ImageFit booleans for center, cover, contain, centerContain, centerCover, none\n */\n isCenter?: boolean;\n isContain?: boolean;\n isCover?: boolean;\n isCenterContain?: boolean;\n isCenterCover?: boolean;\n isNone?: boolean;\n\n /**\n * if true image load is in error\n */\n isError?: boolean;\n\n /**\n * if true, imageFit is undefined\n */\n isNotImageFit?: boolean;\n\n /**\n * Image width value\n */\n width?: number | string;\n\n /**\n * Image height value\n */\n height?: number | string;\n}\n\n/**\n * {@docCategory Image}\n */\nexport interface IImageStyles {\n /**\n * Style set for the root div element.\n */\n root: IStyle;\n /**\n * Style set for the img element.\n */\n image: IStyle;\n}\n","import * as React from 'react';\nimport { divProperties, getNativeProps } from '../../Utilities';\nimport { classNamesFunction } from '../../Utilities';\nimport type { ILabelProps, ILabelStyleProps, ILabelStyles } from './Label.types';\n\nconst getClassNames = classNamesFunction({\n // Label is used a lot by other components.\n // It's likely to see expected cases which pass different className to the Label.\n // Therefore setting a larger cache size.\n cacheSize: 100,\n});\n\nexport class LabelBase extends React.Component {\n public render(): JSX.Element {\n const { as: RootType = 'label', children, className, disabled, styles, required, theme } = this.props;\n const classNames = getClassNames(styles, {\n className,\n disabled,\n required,\n theme: theme!,\n });\n return (\n \n {children}\n \n );\n }\n}\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { LabelBase } from './Label.base';\nimport { getStyles } from './Label.styles';\nimport type { ILabelProps, ILabelStyleProps, ILabelStyles } from './Label.types';\n\nexport const Label: React.FunctionComponent = styled(\n LabelBase,\n getStyles,\n undefined,\n {\n scope: 'Label',\n },\n);\n","import { HighContrastSelector, FontWeights, getHighContrastNoAdjustStyle } from '../../Styling';\nimport type { ILabelStyleProps, ILabelStyles } from './Label.types';\n\nexport const getStyles = (props: ILabelStyleProps): ILabelStyles => {\n const { theme, className, disabled, required } = props;\n const { semanticColors } = theme;\n\n // Tokens\n const labelFontWeight = FontWeights.semibold;\n const labelColor = semanticColors.bodyText;\n const labelDisabledColor = semanticColors.disabledBodyText;\n const labelRequiredStarColor = semanticColors.errorText;\n\n return {\n root: [\n 'ms-Label',\n theme.fonts.medium,\n {\n fontWeight: labelFontWeight,\n color: labelColor,\n boxSizing: 'border-box',\n boxShadow: 'none',\n margin: 0,\n display: 'block',\n padding: '5px 0',\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n },\n disabled && {\n color: labelDisabledColor,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n required && {\n selectors: {\n '::after': {\n content: `' *'`,\n color: labelRequiredStarColor,\n paddingRight: 12,\n },\n },\n },\n className,\n ],\n };\n};\n","import * as React from 'react';\nconst PortalCompatContext = React.createContext(undefined);\nconst portalCompatContextDefaultValue = ()=>()=>undefined;\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\nexport function usePortalCompat() {\n var _React_useContext;\n return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;\n}\n","import * as React from 'react';\nimport { FocusRectsContext } from './useFocusRects';\n\nexport type FocusRectsProviderProps = {\n /**\n * Ref to the root element that this is providing focus rects for.\n */\n providerRef: React.RefObject;\n\n /**\n * Indicates that this is the root of a layer, and should not inherit the providerRef from a parent context.\n */\n layerRoot?: boolean;\n};\n\nexport const FocusRectsProvider: React.FC = props => {\n const { providerRef, layerRoot } = props;\n const [registeredProviders] = React.useState[]>([]);\n const parentContext = React.useContext(FocusRectsContext);\n\n // Inherit the parent context if it exists, unless this is a layer root.\n // This allows the topmost provider element in the DOM tree to handle the focus events.\n // Since layers are in a separate HTML tree from their parent, they shouldn't use the parent's providerRef.\n const inheritParentContext = parentContext !== undefined && !layerRoot;\n\n const context = React.useMemo(\n () =>\n inheritParentContext\n ? undefined\n : {\n providerRef,\n registeredProviders,\n registerProvider: (ref: React.RefObject) => {\n // Register this child provider with the current context, and any parent contexts\n registeredProviders.push(ref);\n parentContext?.registerProvider(ref);\n },\n unregisterProvider: (ref: React.RefObject) => {\n parentContext?.unregisterProvider(ref);\n const i = registeredProviders.indexOf(ref);\n if (i >= 0) {\n registeredProviders.splice(i, 1);\n }\n },\n },\n [providerRef, registeredProviders, parentContext, inheritParentContext],\n );\n\n React.useEffect(() => {\n if (context) {\n context.registerProvider(context.providerRef);\n return () => context.unregisterProvider(context.providerRef);\n }\n }, [context]);\n\n // Create a new context provider if this is not inheriting from the parent.\n if (context) {\n return {props.children};\n } else {\n return <>{props.children};\n }\n};\n","import type { ISettings, ISettingsFunction } from './Customizations';\n\n/**\n * Merge new and old settings, giving priority to new settings.\n * New settings is optional in which case oldSettings is returned as-is.\n * @param oldSettings - Old settings to fall back to.\n * @param newSettings - New settings that will be merged over oldSettings.\n * @returns Merged settings.\n */\nexport function mergeSettings(oldSettings: ISettings = {}, newSettings?: ISettings | ISettingsFunction): ISettings {\n const mergeSettingsWith = _isSettingsFunction(newSettings) ? newSettings : _settingsMergeWith(newSettings);\n\n return mergeSettingsWith(oldSettings);\n}\n\nexport function mergeScopedSettings(\n oldSettings: ISettings = {},\n newSettings?: ISettings | ISettingsFunction,\n): ISettings {\n const mergeSettingsWith = _isSettingsFunction(newSettings) ? newSettings : _scopedSettingsMergeWith(newSettings);\n\n return mergeSettingsWith(oldSettings);\n}\n\nfunction _isSettingsFunction(settings?: ISettings | ISettingsFunction): settings is ISettingsFunction {\n return typeof settings === 'function';\n}\n\nfunction _settingsMergeWith(newSettings?: object): (settings: ISettings) => ISettings {\n return (settings: ISettings) => (newSettings ? { ...settings, ...newSettings } : settings);\n}\n\nfunction _scopedSettingsMergeWith(scopedSettingsFromProps: ISettings = {}): (scopedSettings: ISettings) => ISettings {\n return (oldScopedSettings: ISettings): ISettings => {\n const newScopedSettings: ISettings = { ...oldScopedSettings };\n\n for (let scopeName in scopedSettingsFromProps) {\n if (scopedSettingsFromProps.hasOwnProperty(scopeName)) {\n newScopedSettings[scopeName] = { ...oldScopedSettings[scopeName], ...scopedSettingsFromProps[scopeName] };\n }\n }\n\n return newScopedSettings;\n };\n}\n","import * as React from 'react';\nimport { Customizations } from './Customizations';\nimport { CustomizerContext } from './CustomizerContext';\nimport { mergeCustomizations } from './mergeCustomizations';\nimport type { ICustomizerContext } from './CustomizerContext';\nimport type { ICustomizerProps } from './Customizer.types';\n\n/**\n * The Customizer component allows for default props to be mixed into components which\n * are decorated with the customizable() decorator, or use the styled HOC. This enables\n * injection scenarios like:\n *\n * 1. render svg icons instead of the icon font within all buttons\n * 2. inject a custom theme object into a component\n *\n * Props are provided via the settings prop which should be one of the following:\n * - A json map which contains 1 or more name/value pairs representing injectable props.\n * - A function that receives the current settings and returns the new ones that apply to the scope\n *\n * @public\n *\n * @deprecated This component is deprecated for purpose of applying theme to components\n * as of `@fluentui/react` version 8. Use `ThemeProvider` for applying theme instead.\n */\nexport class Customizer extends React.Component {\n public componentDidMount(): void {\n Customizations.observe(this._onCustomizationChange);\n }\n\n public componentWillUnmount(): void {\n Customizations.unobserve(this._onCustomizationChange);\n }\n\n public render(): React.ReactElement<{}> {\n const { contextTransform } = this.props;\n return (\n \n {(parentContext: ICustomizerContext) => {\n let newContext = mergeCustomizations(this.props, parentContext);\n\n if (contextTransform) {\n newContext = contextTransform(newContext);\n }\n\n return {this.props.children};\n }}\n \n );\n }\n\n private _onCustomizationChange = () => this.forceUpdate();\n}\n","import { mergeSettings, mergeScopedSettings } from './mergeSettings';\nimport type { ICustomizerProps } from './Customizer.types';\nimport type { ICustomizerContext } from './CustomizerContext';\n\n/**\n * Merge props and customizations giving priority to props over context.\n * NOTE: This function will always perform multiple merge operations. Use with caution.\n * @param props - New settings to merge in.\n * @param parentContext - Context containing current settings.\n * @returns Merged customizations.\n */\nexport function mergeCustomizations(props: ICustomizerProps, parentContext: ICustomizerContext): ICustomizerContext {\n const { customizations = { settings: {}, scopedSettings: {} } } = parentContext || {};\n\n return {\n customizations: {\n settings: mergeSettings(customizations.settings, props.settings),\n scopedSettings: mergeScopedSettings(customizations.scopedSettings, props.scopedSettings),\n inCustomizerContext: true,\n },\n };\n}\n","import * as React from 'react';\nimport {\n classNamesFunction,\n divProperties,\n getDocument,\n getNativeProps,\n getRTL,\n memoizeFunction,\n Customizer,\n FocusRectsProvider,\n} from '../../Utilities';\nimport { createTheme } from '../../Styling';\nimport { useMergedRefs } from '@fluentui/react-hooks';\nimport type { IFabricProps, IFabricStyleProps, IFabricStyles } from './Fabric.types';\nimport type { IProcessedStyleSet } from '@fluentui/merge-styles';\nimport type { ITheme } from '../../Styling';\n\nconst getClassNames = classNamesFunction();\nconst getFabricTheme = memoizeFunction((theme?: ITheme, isRTL?: boolean) => createTheme({ ...theme, rtl: isRTL }));\n\nconst getDir = ({ theme, dir }: IFabricProps) => {\n const contextDir = getRTL(theme) ? 'rtl' : 'ltr';\n const pageDir = getRTL() ? 'rtl' : 'ltr';\n const componentDir = dir ? dir : contextDir;\n return {\n // If Fabric dir !== contextDir\n // Or If contextDir !== pageDir\n // Then we need to set dir of the Fabric root\n rootDir: componentDir !== contextDir || componentDir !== pageDir ? componentDir : dir,\n // If dir !== contextDir || pageDir\n // then set contextual theme around content\n needsTheme: componentDir !== contextDir,\n };\n};\n\nexport const FabricBase: React.FunctionComponent = React.forwardRef(\n (props, ref) => {\n const { className, theme, applyTheme, applyThemeToBody, styles } = props;\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n applyTheme,\n className,\n });\n\n const rootElement = React.useRef(null);\n useApplyThemeToBody(applyThemeToBody, classNames, rootElement);\n\n return <>{useRenderedContent(props, classNames, rootElement, ref)};\n },\n);\nFabricBase.displayName = 'FabricBase';\n\nfunction useRenderedContent(\n props: IFabricProps,\n { root }: IProcessedStyleSet,\n rootElement: React.RefObject,\n ref: React.Ref,\n) {\n const { as: Root = 'div', dir, theme } = props;\n const divProps = getNativeProps>(props, divProperties, ['dir']);\n\n const { rootDir, needsTheme } = getDir(props);\n\n let renderedContent = (\n \n \n \n );\n\n // Create the contextual theme if component direction does not match parent direction.\n if (needsTheme) {\n // Disabling ThemeProvider here because theme doesn't need to be re-provided by ThemeProvider if dir has changed.\n renderedContent = (\n // eslint-disable-next-line deprecation/deprecation\n {renderedContent}\n );\n }\n\n return renderedContent;\n}\n\nfunction useApplyThemeToBody(\n applyThemeToBody: boolean | undefined,\n { bodyThemed }: IProcessedStyleSet,\n rootElement: React.RefObject,\n) {\n React.useEffect((): void | (() => void) => {\n if (applyThemeToBody) {\n const currentDoc = getDocument(rootElement.current);\n if (currentDoc) {\n currentDoc.body.classList.add(bodyThemed);\n return () => {\n currentDoc.body.classList.remove(bodyThemed);\n };\n }\n }\n }, [bodyThemed, applyThemeToBody, rootElement]);\n\n return rootElement;\n}\n","import { getGlobalClassNames } from '../../Styling';\nimport type { IFabricStyleProps, IFabricStyles } from './Fabric.types';\n\nconst inheritFont = { fontFamily: 'inherit' };\n\nconst GlobalClassNames = {\n root: 'ms-Fabric',\n bodyThemed: 'ms-Fabric-bodyThemed',\n};\n\nexport interface IFabricClassNames {\n root: string;\n bodyThemed: string;\n}\n\nexport const getStyles = (props: IFabricStyleProps): IFabricStyles => {\n const { applyTheme, className, preventBlanketFontInheritance, theme } = props;\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n return {\n root: [\n classNames.root,\n theme.fonts.medium,\n {\n color: theme.palette.neutralPrimary,\n },\n !preventBlanketFontInheritance && {\n '& button': inheritFont,\n '& input': inheritFont,\n '& textarea': inheritFont,\n },\n // apply theme to only if applyTheme is true\n applyTheme && {\n color: theme.semanticColors.bodyText,\n backgroundColor: theme.semanticColors.bodyBackground,\n },\n className,\n ],\n bodyThemed: [\n {\n backgroundColor: theme.semanticColors.bodyBackground,\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { FabricBase } from './Fabric.base';\nimport { getStyles } from './Fabric.styles';\nimport type { IFabricProps, IFabricStyleProps, IFabricStyles } from './Fabric.types';\n\n/**\n * @deprecated This component is deprecated as of `@fluentui/react` version 8. Use `ThemeProvider` instead.\n */\nexport const Fabric: React.FunctionComponent = styled(\n FabricBase,\n getStyles,\n undefined,\n {\n scope: 'Fabric',\n },\n);\n","import { ILayerHost } from './LayerHost.types';\n\nconst _layersByHostId: { [hostId: string]: (() => void)[] } = {};\nconst _layerHostsById: { [hostId: string]: ILayerHost[] } = {};\n\nconst defaultHostId = 'fluent-default-layer-host';\nlet _defaultHostSelector: string | undefined = `#${defaultHostId}`;\n\n/**\n * Register a layer for a given host id\n * @param hostId - Id of the layer host\n * @param layer - Layer instance\n */\nexport function registerLayer(hostId: string, callback: () => void) {\n if (!_layersByHostId[hostId]) {\n _layersByHostId[hostId] = [];\n }\n\n _layersByHostId[hostId].push(callback);\n\n const layerHosts = _layerHostsById[hostId];\n\n if (layerHosts) {\n for (const layerHost of layerHosts) {\n layerHost.notifyLayersChanged();\n }\n }\n}\n\n/**\n * Unregister a layer for a given host id\n * @param hostId - Id of the layer host\n * @param layer - Layer instance\n */\nexport function unregisterLayer(hostId: string, callback: () => void) {\n const layers = _layersByHostId[hostId];\n\n if (layers) {\n const idx = layers.indexOf(callback);\n if (idx >= 0) {\n layers.splice(idx, 1);\n\n if (layers.length === 0) {\n delete _layersByHostId[hostId];\n }\n }\n }\n\n const layerHosts = _layerHostsById[hostId];\n\n if (layerHosts) {\n for (const layerHost of layerHosts) {\n layerHost.notifyLayersChanged();\n }\n }\n}\n\n/**\n * Gets the number of layers currently registered with a host id.\n * @param hostId - Id of the layer host.\n * @returns The number of layers currently registered with the host.\n */\nexport function getLayerCount(hostId: string): number {\n const layers = _layerHostsById[hostId];\n\n return layers ? layers.length : 0;\n}\n\n/**\n * Gets the Layer Host instance associated with a hostId, if applicable.\n * @param hostId - Id of the layer host\n * @returns A component ref for the associated layer host.\n */\nexport function getLayerHost(hostId: string): ILayerHost | undefined {\n const layerHosts = _layerHostsById[hostId];\n\n return (layerHosts && layerHosts[0]) || undefined;\n}\n\n/**\n * Registers a Layer Host with an associated hostId.\n * @param hostId - Id of the layer host\n * @param layerHost - layer host instance\n */\nexport function registerLayerHost(hostId: string, layerHost: ILayerHost): void {\n const layerHosts = _layerHostsById[hostId] || (_layerHostsById[hostId] = []);\n\n // Insert this at the start of an array to avoid race conditions between mount and unmount.\n // If a LayerHost is re-mounted, and mount of the new instance may occur before the unmount of the old one.\n // Putting the new instance at the start of this array ensures that calls to `getLayerHost` will immediately\n // get the new one even if the old one is around briefly.\n layerHosts.unshift(layerHost);\n}\n\n/**\n * Unregisters a Layer Host from the associated hostId.\n * @param hostId - Id of the layer host\n * @param layerHost - layer host instance\n */\nexport function unregisterLayerHost(hostId: string, layerHost: ILayerHost): void {\n const layerHosts = _layerHostsById[hostId];\n\n if (layerHosts) {\n const idx = layerHosts.indexOf(layerHost);\n\n if (idx >= 0) {\n layerHosts.splice(idx, 1);\n }\n\n if (layerHosts.length === 0) {\n delete _layerHostsById[hostId];\n }\n }\n}\n\n/**\n * When no default layer host is provided, this function is executed to create the default host.\n */\nexport function createDefaultLayerHost(doc: Document): Node | null {\n const host = doc.createElement('div');\n host.setAttribute('id', defaultHostId);\n (host as HTMLElement).style.cssText = 'position:fixed;z-index:1000000';\n\n doc?.body.appendChild(host);\n\n return host;\n}\n\n/**\n * This function can be optionally called to clean up the default layer host as needed.\n */\nexport function cleanupDefaultLayerHost(doc: Document) {\n const host = doc.querySelector(`#${defaultHostId}`);\n\n if (host) {\n doc.removeChild(host);\n }\n}\n\n/**\n * Used for notifying applicable Layers that a host is available/unavailable and to re-evaluate Layers that\n * care about the specific host.\n */\nexport function notifyHostChanged(id: string) {\n if (_layersByHostId[id]) {\n _layersByHostId[id].forEach(callback => callback());\n }\n}\n\n/**\n * Sets the default target selector to use when determining the host in which\n * Layered content will be injected into. If not provided, an element will be\n * created at the end of the document body.\n *\n * Passing in a falsy value will clear the default target and reset back to\n * using a created element at the end of document body.\n */\nexport function setDefaultTarget(selector?: string) {\n _defaultHostSelector = selector;\n}\n\n/**\n * Get the default target selector when determining a host\n */\nexport function getDefaultTarget(): string | undefined {\n return _defaultHostSelector;\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore \"react-portal-compat-context\" uses v9 configs via path aliases\nimport { usePortalCompat } from '@fluentui/react-portal-compat-context';\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { Fabric } from '../../Fabric';\nimport {\n classNamesFunction,\n css,\n getDocument,\n setPortalAttribute,\n setVirtualParent,\n FocusRectsProvider,\n FocusRectsContext,\n IsFocusVisibleClassName,\n} from '../../Utilities';\nimport {\n registerLayer,\n getDefaultTarget,\n unregisterLayer,\n getLayerHost,\n createDefaultLayerHost,\n} from './Layer.notification';\nimport { useIsomorphicLayoutEffect, useMergedRefs, useWarnings } from '@fluentui/react-hooks';\nimport type { ILayerProps, ILayerStyleProps, ILayerStyles } from './Layer.types';\n\nconst getClassNames = classNamesFunction();\n\nconst getFocusVisibility = (providerRef?: React.RefObject) => {\n if (providerRef?.current) {\n return providerRef.current.classList.contains(IsFocusVisibleClassName);\n }\n\n return false;\n};\n\nexport const LayerBase: React.FunctionComponent = React.forwardRef(\n (props, ref) => {\n const registerPortalEl = usePortalCompat();\n\n const rootRef = React.useRef(null);\n const mergedRef = useMergedRefs(rootRef, ref);\n const layerRef = React.useRef();\n const fabricElementRef = React.useRef(null);\n const focusContext = React.useContext(FocusRectsContext);\n\n // Tracks if the layer mount events need to be raised.\n // Required to allow the DOM to render after the layer element is added.\n const [needRaiseLayerMount, setNeedRaiseLayerMount] = React.useState(false);\n\n // Sets the focus visible className when the FocusRectsProvider for the layer is rendered\n // This allows the current focus visibility style to be carried over to the layer content\n const focusRectsRef = React.useCallback(\n el => {\n const isFocusVisible = getFocusVisibility(focusContext?.providerRef);\n if (el && isFocusVisible) {\n el.classList.add(IsFocusVisibleClassName);\n }\n },\n [focusContext],\n );\n\n const {\n children,\n className,\n eventBubblingEnabled,\n fabricProps,\n hostId,\n insertFirst,\n onLayerDidMount = () => undefined,\n // eslint-disable-next-line deprecation/deprecation\n onLayerMounted = () => undefined,\n onLayerWillUnmount,\n styles,\n theme,\n } = props;\n\n const fabricRef = useMergedRefs(fabricElementRef, fabricProps?.ref, focusRectsRef);\n\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n isNotHost: !hostId,\n });\n\n // Returns the user provided hostId props element, the default target selector,\n // or undefined if document doesn't exist.\n const getHost = (doc: Document): Node | null => {\n if (hostId) {\n const layerHost = getLayerHost(hostId);\n\n if (layerHost) {\n return layerHost.rootRef.current ?? null;\n }\n\n return doc.getElementById(hostId) ?? null;\n } else {\n const defaultHostSelector = getDefaultTarget();\n\n // Find the host.\n let host: Node | null = defaultHostSelector ? (doc.querySelector(defaultHostSelector) as Node) : null;\n\n // If no host is available, create a container for injecting layers in.\n // Having a container scopes layout computation.\n if (!host) {\n host = createDefaultLayerHost(doc);\n }\n\n return host;\n }\n };\n\n // Removes the current layer element's parentNode and runs onLayerWillUnmount prop if provided.\n const removeLayerElement = (): void => {\n onLayerWillUnmount?.();\n\n const elem = layerRef.current;\n\n // Clear ref before removing from the DOM\n layerRef.current = undefined;\n\n if (elem && elem.parentNode) {\n elem.parentNode.removeChild(elem);\n }\n };\n\n // If a doc or host exists, it will remove and update layer parentNodes.\n const createLayerElement = () => {\n const doc = getDocument(rootRef.current);\n\n if (!doc) {\n return;\n }\n\n const host = getHost(doc);\n\n if (!host) {\n return;\n }\n\n // Remove and re-create any previous existing layer elements.\n removeLayerElement();\n\n const el = (host.ownerDocument ?? doc).createElement('div');\n\n el.className = classNames.root!;\n setPortalAttribute(el);\n setVirtualParent(el, rootRef.current!);\n\n insertFirst ? host.insertBefore(el, host.firstChild) : host.appendChild(el);\n layerRef.current = el;\n setNeedRaiseLayerMount(true);\n };\n\n useIsomorphicLayoutEffect(() => {\n createLayerElement();\n // Check if the user provided a hostId prop and register the layer with the ID.\n if (hostId) {\n registerLayer(hostId, createLayerElement);\n }\n\n const unregisterPortalEl = layerRef.current ? registerPortalEl(layerRef.current) : undefined;\n\n return () => {\n if (unregisterPortalEl) {\n unregisterPortalEl();\n }\n\n removeLayerElement();\n\n if (hostId) {\n unregisterLayer(hostId, createLayerElement);\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps -- should run if the hostId updates.\n }, [hostId]);\n\n React.useEffect(() => {\n if (layerRef.current && needRaiseLayerMount) {\n onLayerMounted?.();\n onLayerDidMount?.();\n setNeedRaiseLayerMount(false);\n }\n }, [needRaiseLayerMount, onLayerMounted, onLayerDidMount]);\n\n useDebugWarnings(props);\n\n return (\n \n {layerRef.current &&\n ReactDOM.createPortal(\n \n {/* eslint-disable deprecation/deprecation */}\n \n {children}\n \n {/* eslint-enable deprecation/deprecation */}\n ,\n layerRef.current,\n )}\n \n );\n },\n);\nLayerBase.displayName = 'LayerBase';\n\nlet filteredEventProps: { [key: string]: (ev: React.SyntheticEvent) => void };\n\nconst onFilterEvent = (ev: React.SyntheticEvent): void => {\n // We should just be able to check ev.bubble here and only stop events that are bubbling up. However, even though\n // mouseenter and mouseleave do NOT bubble up, they are showing up as bubbling. Therefore we stop events based on\n // event name rather than ev.bubble.\n if (\n ev.eventPhase === Event.BUBBLING_PHASE &&\n ev.type !== 'mouseenter' &&\n ev.type !== 'mouseleave' &&\n ev.type !== 'touchstart' &&\n ev.type !== 'touchend'\n ) {\n ev.stopPropagation();\n }\n};\n\nfunction getFilteredEvents() {\n if (!filteredEventProps) {\n filteredEventProps = {} as any;\n [\n 'onClick',\n 'onContextMenu',\n 'onDoubleClick',\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOver',\n 'onMouseOut',\n 'onMouseUp',\n 'onTouchMove',\n 'onTouchStart',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onKeyDown',\n 'onKeyPress',\n 'onKeyUp',\n 'onFocus',\n 'onBlur',\n 'onChange',\n 'onInput',\n 'onInvalid',\n 'onSubmit',\n ].forEach(name => (filteredEventProps[name] = onFilterEvent));\n }\n return filteredEventProps;\n}\n\nfunction useDebugWarnings(props: ILayerProps) {\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks -- build-time conditional\n useWarnings({\n name: 'Layer',\n props,\n deprecations: { onLayerMounted: 'onLayerDidMount' },\n });\n }\n}\n","import { IVirtualElement } from './IVirtualElement';\n/**\n * Sets the virtual parent of an element.\n * Pass `undefined` as the `parent` to clear the virtual parent.\n *\n * @public\n */\nexport function setVirtualParent(child: HTMLElement, parent: HTMLElement | null): void {\n const virtualChild = child;\n const virtualParent = parent;\n\n if (!virtualChild._virtual) {\n virtualChild._virtual = {\n children: [],\n };\n }\n\n const oldParent = virtualChild._virtual.parent;\n\n if (oldParent && oldParent !== parent) {\n // Remove the child from its old parent.\n const index = oldParent._virtual.children.indexOf(virtualChild);\n\n if (index > -1) {\n oldParent._virtual.children.splice(index, 1);\n }\n }\n\n virtualChild._virtual.parent = virtualParent || undefined;\n\n if (virtualParent) {\n if (!virtualParent._virtual) {\n virtualParent._virtual = {\n children: [],\n };\n }\n\n virtualParent._virtual.children.push(virtualChild);\n }\n}\n","import { ZIndexes, getGlobalClassNames } from '../../Styling';\nimport type { ILayerStyleProps, ILayerStyles } from './Layer.types';\n\nconst GlobalClassNames = {\n root: 'ms-Layer',\n rootNoHost: 'ms-Layer--fixed',\n content: 'ms-Layer-content',\n};\n\nexport const getStyles = (props: ILayerStyleProps): ILayerStyles => {\n const { className, isNotHost, theme } = props;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return {\n root: [\n classNames.root,\n theme.fonts.medium,\n isNotHost && [\n classNames.rootNoHost,\n {\n position: 'fixed',\n zIndex: ZIndexes.Layer,\n top: 0,\n left: 0,\n bottom: 0,\n right: 0,\n visibility: 'hidden',\n },\n ],\n className,\n ],\n content: [\n classNames.content,\n {\n visibility: 'visible',\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { LayerBase } from './Layer.base';\nimport { getStyles } from './Layer.styles';\nimport type { ILayerProps, ILayerStyleProps, ILayerStyles } from './Layer.types';\n\nexport const Layer: React.FunctionComponent = styled(\n LayerBase,\n getStyles,\n undefined,\n {\n scope: 'Layer',\n fields: ['hostId', 'theme', 'styles'],\n },\n);\n","import * as React from 'react';\nimport { useMergedRefs } from '@fluentui/react-hooks';\nimport { classNamesFunction, useFocusRects } from '@fluentui/utilities';\nimport type { ILink, ILinkProps, ILinkStyleProps, ILinkStyles } from './Link.types';\n\nconst getClassNames = classNamesFunction();\n\n/**\n * The useLink hook processes the Link component props and returns\n * state, slots and slotProps for consumption by the component.\n */\nexport const useLink = (props: ILinkProps, forwardedRef: React.Ref): any => {\n const { as, className, disabled, href, onClick, styles, theme, underline } = props;\n const rootRef = React.useRef(null);\n const mergedRootRefs: React.Ref = useMergedRefs(rootRef, forwardedRef);\n\n useComponentRef(props, rootRef);\n useFocusRects(rootRef);\n\n const classNames = getClassNames(styles!, {\n className,\n isButton: !href,\n isDisabled: disabled,\n isUnderlined: underline,\n theme: theme!,\n });\n\n const _onClick = (ev: React.MouseEvent) => {\n if (disabled) {\n ev.preventDefault();\n } else if (onClick) {\n onClick(ev);\n }\n };\n\n const rootType = as ? as : href ? 'a' : 'button';\n\n const state = {};\n const slots = { root: rootType };\n const slotProps = {\n root: {\n ...adjustPropsForRootType(rootType, props),\n 'aria-disabled': disabled,\n className: classNames.root,\n onClick: _onClick,\n ref: mergedRootRefs,\n },\n };\n\n return { state, slots, slotProps };\n};\n\nconst useComponentRef = (props: ILinkProps, link: React.RefObject) => {\n React.useImperativeHandle(\n props.componentRef,\n () => ({\n focus() {\n if (link.current) {\n link.current.focus();\n }\n },\n }),\n [link],\n );\n};\n\nconst adjustPropsForRootType = (\n RootType: string | React.ComponentClass | React.FunctionComponent,\n props: ILinkProps & { getStyles?: any },\n): Partial => {\n // Deconstruct the props so we remove props like `as`, `theme` and `styles`\n // as those will always be removed. We also take some props that are optional\n // based on the RootType.\n const { as, disabled, target, href, theme, getStyles, styles, componentRef, underline, ...restProps } = props;\n\n // RootType will be a string if we're dealing with an html component\n if (typeof RootType === 'string') {\n // Remove the disabled prop for anchor elements\n if (RootType === 'a') {\n return {\n target,\n href: disabled ? undefined : href,\n ...restProps,\n };\n }\n\n // Add the type='button' prop for button elements\n if (RootType === 'button') {\n return {\n type: 'button',\n disabled,\n ...restProps,\n };\n }\n\n // Remove the target and href props for all other non anchor elements\n return { ...restProps, disabled };\n }\n\n // Retain all props except 'as' for ReactComponents\n return { target, href, disabled, ...restProps };\n};\n","import * as React from 'react';\nimport { useLink } from './useLink';\nimport type { ILinkProps } from './Link.types';\n\nexport const LinkBase: React.FunctionComponent = React.forwardRef((props, ref) => {\n const { slots, slotProps } = useLink(props, ref);\n\n return ;\n});\n\nLinkBase.displayName = 'LinkBase';\n","import { getGlobalClassNames, HighContrastSelector } from '@fluentui/style-utilities';\nimport type { ILinkStyleProps, ILinkStyles } from './Link.types';\n\nexport const GlobalClassNames = {\n root: 'ms-Link',\n};\n\nexport const getStyles = (props: ILinkStyleProps): ILinkStyles => {\n const { className, isButton, isDisabled, isUnderlined, theme } = props;\n const { semanticColors } = theme;\n\n // Tokens\n const linkColor = semanticColors.link;\n const linkInteractedColor = semanticColors.linkHovered;\n const linkDisabledColor = semanticColors.disabledText;\n const focusBorderColor = semanticColors.focusBorder;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return {\n root: [\n classNames.root,\n theme.fonts.medium,\n {\n color: linkColor,\n outline: 'none',\n fontSize: 'inherit',\n fontWeight: 'inherit',\n textDecoration: isUnderlined ? 'underline' : 'none',\n\n selectors: {\n '.ms-Fabric--isFocusVisible &:focus': {\n // Can't use getFocusStyle because it doesn't support wrapping links\n // https://github.com/microsoft/fluentui/issues/4883#issuecomment-406743543\n // Using box-shadow and outline allows the focus rect to wrap links that span multiple lines\n // and helps the focus rect avoid getting clipped.\n boxShadow: `0 0 0 1px ${focusBorderColor} inset`,\n outline: `1px auto ${focusBorderColor}`,\n selectors: {\n [HighContrastSelector]: {\n outline: '1px solid WindowText',\n },\n },\n },\n [HighContrastSelector]: {\n // For IE high contrast mode\n borderBottom: 'none',\n },\n },\n },\n isButton && {\n background: 'none',\n backgroundColor: 'transparent',\n border: 'none',\n cursor: 'pointer',\n display: 'inline',\n margin: 0,\n overflow: 'inherit',\n padding: 0,\n textAlign: 'left',\n textOverflow: 'inherit',\n userSelect: 'text',\n borderBottom: '1px solid transparent', // For Firefox high contrast mode\n selectors: {\n [HighContrastSelector]: {\n color: 'LinkText',\n forcedColorAdjust: 'none',\n },\n },\n },\n !isButton && {\n selectors: {\n [HighContrastSelector]: {\n // This is mainly for MessageBar, which sets MsHighContrastAdjust: none by default\n MsHighContrastAdjust: 'auto',\n forcedColorAdjust: 'auto',\n },\n },\n },\n\n isDisabled && [\n 'is-disabled',\n {\n color: linkDisabledColor,\n cursor: 'default',\n },\n {\n selectors: {\n '&:link, &:visited': {\n pointerEvents: 'none',\n },\n\n [HighContrastSelector]: {\n // We need to specify the color in High Contrast because of the case of Links rendering as buttons.\n color: 'GrayText',\n },\n },\n },\n ],\n !isDisabled && {\n selectors: {\n '&:active, &:hover, &:active:hover': {\n color: linkInteractedColor,\n textDecoration: 'underline',\n\n selectors: {\n [HighContrastSelector]: {\n color: 'LinkText',\n },\n },\n },\n '&:focus': {\n color: linkColor,\n\n selectors: {\n [HighContrastSelector]: {\n color: 'LinkText',\n },\n },\n },\n },\n },\n classNames.root,\n className,\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '@fluentui/utilities';\nimport { LinkBase } from './Link.base';\nimport { getStyles } from './Link.styles';\nimport type { ILinkProps, ILinkStyleProps, ILinkStyles } from './Link.types';\n\nexport const Link: React.FunctionComponent = styled(\n LinkBase,\n getStyles,\n undefined,\n {\n scope: 'Link',\n },\n);\n","import * as React from 'react';\nimport { DelayedRender, classNamesFunction, getNativeProps, htmlElementProperties, css } from '../../Utilities';\nimport { IconButton } from '../../Button';\nimport { Icon } from '../../Icon';\nimport { MessageBarType } from './MessageBar.types';\nimport { useId, useBoolean } from '@fluentui/react-hooks';\nimport type { IMessageBarProps, IMessageBarStyleProps, IMessageBarStyles } from './MessageBar.types';\n\nconst ICON_MAP = {\n [MessageBarType.info]: 'Info',\n [MessageBarType.warning]: 'Info',\n [MessageBarType.error]: 'ErrorBadge',\n [MessageBarType.blocked]: 'Blocked2',\n [MessageBarType.severeWarning]: 'Warning',\n [MessageBarType.success]: 'Completed',\n};\n\nconst COMPONENT_NAME = 'MessageBar';\n\nconst getClassNames = classNamesFunction();\n\nconst getAnnouncementPriority = (messageBarType: MessageBarType): 'assertive' | 'polite' => {\n switch (messageBarType) {\n case MessageBarType.blocked:\n case MessageBarType.error:\n case MessageBarType.severeWarning:\n return 'assertive';\n }\n return 'polite';\n};\n\nconst getRole = (messageBarType: MessageBarType): 'alert' | 'status' => {\n switch (messageBarType) {\n case MessageBarType.blocked:\n case MessageBarType.error:\n case MessageBarType.severeWarning:\n return 'alert';\n }\n return 'status';\n};\n\nexport const MessageBarBase: React.FunctionComponent = React.forwardRef<\n HTMLDivElement,\n IMessageBarProps\n>((props, ref) => {\n const [expandSingleLine, { toggle: toggleExpandSingleLine }] = useBoolean(false);\n const labelId = useId('MessageBar');\n\n const {\n actions,\n className,\n children,\n // eslint-disable-next-line deprecation/deprecation\n overflowButtonAriaLabel,\n dismissIconProps,\n styles,\n theme,\n messageBarType = MessageBarType.info,\n onDismiss = undefined,\n isMultiline = true,\n truncated,\n dismissButtonAriaLabel,\n messageBarIconProps,\n role,\n delayedRender = true,\n expandButtonProps,\n } = props;\n\n const nativeProps = getNativeProps>(props, htmlElementProperties, [\n 'className',\n 'role',\n ]);\n\n const classNames: { [key in keyof IMessageBarStyles]: string } = getClassNames(styles, {\n theme: theme!,\n messageBarType: messageBarType || MessageBarType.info,\n onDismiss: onDismiss !== undefined,\n actions: actions !== undefined,\n truncated,\n isMultiline,\n expandSingleLine,\n className,\n });\n\n const expandIconProps = { iconName: expandSingleLine ? 'DoubleChevronUp' : 'DoubleChevronDown' };\n const regionProps = actions || onDismiss ? { 'aria-describedby': labelId, role: 'region' } : {};\n const actionsDiv = actions ?
    {actions}
    : null;\n\n const dismissButton = onDismiss ? (\n \n ) : null;\n\n return (\n
    \n
    \n
    \n {messageBarIconProps ? (\n \n ) : (\n \n )}\n
    \n \n \n {delayedRender ? (\n \n {children}\n \n ) : (\n // this span is probably not necessary, but preserving it for now in case anyone\n // has styling that expects it to be present\n {children}\n )}\n \n
    \n {\n /* singleline expand/collapse button */ !isMultiline && !actionsDiv && truncated && (\n
    \n \n
    \n )\n }\n {/* singleline actions */ !isMultiline && actionsDiv}\n {\n /* singleline dismiss */ !isMultiline && dismissButton && (\n
    {dismissButton}
    \n )\n }\n {/* multiline dismiss */ isMultiline && dismissButton}\n
    \n {/* multiline actions */ isMultiline && actionsDiv}\n
    \n );\n});\nMessageBarBase.displayName = COMPONENT_NAME;\n","import * as React from 'react';\nimport { useConst } from './useConst';\n\n/** Updater callbacks returned by `useBoolean`. */\nexport interface IUseBooleanCallbacks {\n /** Set the value to true. Always has the same identity. */\n setTrue: () => void;\n /** Set the value to false. Always has the same identity. */\n setFalse: () => void;\n /** Toggle the value. Always has the same identity. */\n toggle: () => void;\n}\n\n/**\n * Hook to store a value and generate callbacks for setting the value to true or false.\n * The identity of the callbacks will always stay the same.\n *\n * @param initialState - Initial value\n * @returns Array with the current value and an object containing the updater callbacks.\n */\nexport function useBoolean(initialState: boolean): [boolean, IUseBooleanCallbacks] {\n const [value, setValue] = React.useState(initialState);\n\n const setTrue = useConst(() => () => {\n setValue(true);\n });\n const setFalse = useConst(() => () => {\n setValue(false);\n });\n const toggle = useConst(() => () => {\n setValue(currentValue => !currentValue);\n });\n\n return [value, { setTrue, setFalse, toggle }];\n}\n","import {\n HighContrastSelector,\n HighContrastSelectorWhite,\n ScreenWidthMaxSmall,\n getScreenSelector,\n getGlobalClassNames,\n getFocusStyle,\n IconFontSizes,\n getHighContrastNoAdjustStyle,\n} from '../../Styling';\nimport { MessageBarType } from './MessageBar.types';\nimport type { IStyle, ISemanticColors } from '../../Styling';\nimport type { IMessageBarStyleProps, IMessageBarStyles } from './MessageBar.types';\n\nconst GlobalClassNames = {\n root: 'ms-MessageBar',\n error: 'ms-MessageBar--error',\n blocked: 'ms-MessageBar--blocked',\n severeWarning: 'ms-MessageBar--severeWarning',\n success: 'ms-MessageBar--success',\n warning: 'ms-MessageBar--warning',\n multiline: 'ms-MessageBar-multiline',\n singleline: 'ms-MessageBar-singleline',\n dismissalSingleLine: 'ms-MessageBar-dismissalSingleLine',\n expandingSingleLine: 'ms-MessageBar-expandingSingleLine',\n content: 'ms-MessageBar-content',\n iconContainer: 'ms-MessageBar-icon',\n text: 'ms-MessageBar-text',\n innerText: 'ms-MessageBar-innerText',\n dismissSingleLine: 'ms-MessageBar-dismissSingleLine',\n expandSingleLine: 'ms-MessageBar-expandSingleLine',\n dismissal: 'ms-MessageBar-dismissal',\n expand: 'ms-MessageBar-expand',\n actions: 'ms-MessageBar-actions',\n actionsSingleline: 'ms-MessageBar-actionsSingleLine',\n};\n\nconst backgroundColor: { [key: string]: keyof ISemanticColors } = {\n [MessageBarType.error]: 'errorBackground',\n [MessageBarType.blocked]: 'errorBackground',\n [MessageBarType.success]: 'successBackground',\n [MessageBarType.warning]: 'warningBackground',\n [MessageBarType.severeWarning]: 'severeWarningBackground',\n [MessageBarType.info]: 'infoBackground',\n};\n\nconst iconColor: { [key: string]: keyof ISemanticColors } = {\n [MessageBarType.error]: 'errorIcon',\n [MessageBarType.blocked]: 'errorIcon',\n [MessageBarType.success]: 'successIcon',\n [MessageBarType.warning]: 'warningIcon',\n [MessageBarType.severeWarning]: 'severeWarningIcon',\n [MessageBarType.info]: 'infoIcon',\n};\n\nconst highContrastBorderColor: { [key: string]: string } = {\n [MessageBarType.error]: '#ff0000',\n [MessageBarType.blocked]: '#ff0000',\n [MessageBarType.success]: '#bad80a',\n [MessageBarType.warning]: '#fff100',\n [MessageBarType.severeWarning]: '#ff0000',\n [MessageBarType.info]: 'WindowText',\n};\n\nconst highContrastWhiteBorderColor: { [key: string]: string } = {\n [MessageBarType.error]: '#e81123',\n [MessageBarType.blocked]: '#e81123',\n [MessageBarType.success]: '#107c10',\n [MessageBarType.warning]: '#966400',\n [MessageBarType.severeWarning]: '#d83b01',\n [MessageBarType.info]: 'WindowText',\n};\n\nexport const getStyles = (props: IMessageBarStyleProps): IMessageBarStyles => {\n const {\n theme,\n className,\n onDismiss,\n truncated,\n isMultiline,\n expandSingleLine,\n messageBarType = MessageBarType.info,\n } = props;\n const { semanticColors, fonts } = theme;\n\n const SmallScreenSelector = getScreenSelector(0, ScreenWidthMaxSmall);\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n const dismissalAndExpandIconStyle: IStyle = {\n fontSize: IconFontSizes.xSmall,\n height: 10,\n lineHeight: '10px',\n color: semanticColors.messageText,\n selectors: {\n [HighContrastSelector]: {\n ...getHighContrastNoAdjustStyle(),\n color: 'WindowText',\n },\n },\n };\n\n const dismissalAndExpandStyle: IStyle = [\n getFocusStyle(theme, {\n inset: 1,\n highContrastStyle: {\n outlineOffset: '-6px',\n outline: '1px solid Highlight',\n },\n borderColor: 'transparent',\n }),\n {\n flexShrink: 0,\n width: 32,\n height: 32,\n padding: '8px 12px',\n selectors: {\n '& .ms-Button-icon': dismissalAndExpandIconStyle,\n ':hover': {\n backgroundColor: 'transparent',\n },\n ':active': {\n backgroundColor: 'transparent',\n },\n },\n },\n ];\n\n return {\n root: [\n classNames.root,\n fonts.medium,\n messageBarType === MessageBarType.error && classNames.error,\n messageBarType === MessageBarType.blocked && classNames.blocked,\n messageBarType === MessageBarType.severeWarning && classNames.severeWarning,\n messageBarType === MessageBarType.success && classNames.success,\n messageBarType === MessageBarType.warning && classNames.warning,\n isMultiline ? classNames.multiline : classNames.singleline,\n !isMultiline && onDismiss && classNames.dismissalSingleLine,\n !isMultiline && truncated && classNames.expandingSingleLine,\n {\n background: semanticColors[backgroundColor[messageBarType]],\n boxSizing: 'border-box',\n color: semanticColors.messageText,\n minHeight: 32,\n width: '100%',\n display: 'flex',\n wordBreak: 'break-word',\n selectors: {\n '.ms-Link': {\n color: semanticColors.messageLink,\n selectors: {\n ':hover': {\n color: semanticColors.messageLinkHovered,\n },\n },\n },\n [HighContrastSelector]: {\n ...getHighContrastNoAdjustStyle(),\n background: 'transparent',\n border: `1px solid ${highContrastBorderColor[messageBarType]}`,\n color: 'WindowText',\n },\n [HighContrastSelectorWhite]: {\n border: `1px solid ${highContrastWhiteBorderColor[messageBarType]}`,\n },\n },\n },\n isMultiline && {\n flexDirection: 'column',\n },\n className,\n ],\n content: [\n classNames.content,\n {\n display: 'flex',\n width: '100%',\n lineHeight: 'normal',\n [SmallScreenSelector]: {\n display: 'grid',\n gridTemplateColumns: 'auto 1fr auto',\n gridTemplateRows: '1fr auto',\n gridTemplateAreas: `\n \"icon text close\"\n \"action action action\"\n `,\n },\n },\n ],\n iconContainer: [\n classNames.iconContainer,\n {\n fontSize: IconFontSizes.medium,\n minWidth: 16,\n minHeight: 16,\n display: 'flex',\n flexShrink: 0,\n margin: '8px 0 8px 12px',\n [SmallScreenSelector]: {\n gridArea: 'icon',\n },\n },\n ],\n icon: {\n color: semanticColors[iconColor[messageBarType]],\n selectors: {\n [HighContrastSelector]: {\n ...getHighContrastNoAdjustStyle(),\n color: 'WindowText',\n },\n },\n },\n text: [\n classNames.text,\n {\n minWidth: 0,\n display: 'flex',\n flexGrow: 1,\n margin: 8,\n ...fonts.small,\n [SmallScreenSelector]: {\n gridArea: 'text',\n },\n selectors: {\n [HighContrastSelector]: {\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n !onDismiss && {\n marginRight: 12,\n },\n ],\n innerText: [\n classNames.innerText,\n {\n lineHeight: 16,\n selectors: {\n '& span a:last-child': {\n paddingLeft: 4,\n },\n },\n },\n truncated && {\n overflow: 'visible',\n whiteSpace: 'pre-wrap',\n },\n !isMultiline && {\n // In high contrast this causes the top and bottom of links' focus outline to be clipped\n // (not sure of a good way around that while still maintaining text clipping)\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n !isMultiline &&\n !truncated && {\n selectors: {\n [SmallScreenSelector]: {\n overflow: 'visible',\n whiteSpace: 'pre-wrap',\n },\n },\n },\n expandSingleLine && {\n overflow: 'visible',\n whiteSpace: 'pre-wrap',\n },\n ],\n dismissSingleLine: [\n classNames.dismissSingleLine,\n {\n [SmallScreenSelector]: {\n gridArea: 'close',\n },\n },\n ],\n expandSingleLine: classNames.expandSingleLine,\n dismissal: [classNames.dismissal, dismissalAndExpandStyle],\n expand: [classNames.expand, dismissalAndExpandStyle],\n actions: [\n isMultiline ? classNames.actions : classNames.actionsSingleline,\n {\n display: 'flex',\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n flexDirection: 'row-reverse',\n alignItems: 'center',\n margin: '0 12px 0 8px',\n // reset forced colors to browser control for inner actions\n forcedColorAdjust: 'auto',\n MsHighContrastAdjust: 'auto',\n [SmallScreenSelector]: {\n gridArea: 'action',\n marginRight: 8,\n marginBottom: 8,\n },\n selectors: {\n '& button:nth-child(n+2)': {\n marginLeft: 8,\n [SmallScreenSelector]: {\n marginBottom: 0,\n },\n },\n },\n },\n isMultiline && {\n marginBottom: 8,\n },\n onDismiss &&\n !isMultiline && {\n marginRight: 0,\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { MessageBarBase } from './MessageBar.base';\nimport { getStyles } from './MessageBar.styles';\nimport type { IMessageBarProps, IMessageBarStyleProps, IMessageBarStyles } from './MessageBar.types';\n\nexport const MessageBar: React.FunctionComponent = styled<\n IMessageBarProps,\n IMessageBarStyleProps,\n IMessageBarStyles\n>(MessageBarBase, getStyles, undefined, {\n scope: 'MessageBar',\n});\n","import * as React from 'react';\nimport { BaseButton, Button, IButtonProps } from '../../Button';\nimport type { ITheme, IStyle } from '../../Styling';\nimport type { IRefObject, IStyleFunctionOrObject } from '../../Utilities';\nimport type { IIconProps } from '../../Icon';\n\n/**\n * {@docCategory MessageBar}\n */\nexport interface IMessageBar {}\n\n/**\n * {@docCategory MessageBar}\n */\nexport interface IMessageBarProps extends React.HTMLAttributes, React.RefAttributes {\n /**\n * Optional callback to access the IMessageBar interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject;\n\n /**\n * The type of MessageBar to render.\n * @defaultvalue MessageBarType.info\n */\n messageBarType?: MessageBarType;\n\n /**\n * The actions you want to show on the other side.\n */\n actions?: JSX.Element;\n\n /**\n * A description of the message bar for the benefit of screen readers.\n * @deprecated Use native prop `aria-label` instead.\n */\n ariaLabel?: string;\n\n /**\n * Whether the message bar has a dismiss button and its callback.\n * If null, we don't show a dismiss button.\n * @defaultvalue null\n */\n // eslint-disable-next-line deprecation/deprecation\n onDismiss?: (ev?: React.MouseEvent) => any;\n\n /**\n * Determines if the message bar is multi lined.\n * If false, and the text overflows over buttons or to another line, it is clipped.\n * @defaultvalue true\n */\n isMultiline?: boolean;\n\n /**\n * Aria label on dismiss button if onDismiss is defined.\n */\n dismissButtonAriaLabel?: string;\n\n /**\n * Determines if the message bar text is truncated.\n * If true, a button will render to toggle between a single line view and multiline view.\n * This prop is for single line message bars with no buttons only in a limited space scenario.\n * @defaultvalue false\n */\n truncated?: boolean;\n\n /**\n * Aria label on overflow button if truncated is defined.\n * @deprecated Use `expandButtonProps` instead.\n */\n overflowButtonAriaLabel?: string;\n\n /**\n * Additional CSS class(es) to apply to the MessageBar.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * Custom icon prop to replace the dismiss icon.\n * If unset, default will be the Fabric Clear icon.\n */\n dismissIconProps?: IIconProps;\n\n /**\n * Custom icon prop to replace the message bar icon.\n * If unset, default will be the icon set by messageBarType.\n */\n messageBarIconProps?: IIconProps;\n\n /**\n * Button props that can be applied to the expand button of the MessageBar.\n */\n expandButtonProps?: IButtonProps;\n\n /**\n * Custom role to apply to the MessageBar.\n * @defaultvalue `alert` if `messageBarType` is `error`, `blocked`, or `severeWarning`;\n * or `status` otherwise\n */\n role?: 'alert' | 'status' | 'none';\n\n /**\n * By default, MessageBar delay-renders its content within an internal live region to help ensure\n * it's announced by screen readers. You can disable that behavior by setting this prop to `false`.\n *\n * If you set this prop to `false`, to ensure proper announcement you should either:\n * - If appropriate, ensure that the `role` prop is set to `alert` (this will be done by default\n * if `messageBarType` is `error`, `blocked`, or `severeWarning`), OR\n * - Set the `role` prop to `none` (to avoid nested `status` regions), wrap the whole MessageBar\n * in a `
    ` which is always rendered, and ensure that the MessageBar is\n * rendered either conditionally or with a delay.\n * @default true\n */\n delayedRender?: boolean;\n}\n\n/**\n * {@docCategory MessageBar}\n */\nexport interface IMessageBarStyleProps {\n /**\n * Theme (provided through customization).\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es).\n */\n className?: string;\n\n /**\n * Type of the MessageBar.\n */\n messageBarType?: MessageBarType;\n\n /**\n * Whether the MessageBar contains a dismiss button.\n */\n onDismiss?: boolean;\n\n /**\n * Whether the text is truncated.\n */\n truncated?: boolean;\n\n /**\n * Whether the MessageBar is rendered in multi line (as opposed to single line) mode.\n */\n isMultiline?: boolean;\n\n /**\n * Whether the single line MessageBar is being expanded.\n */\n expandSingleLine?: boolean;\n\n /**\n * Whether the MessageBar contains any action elements.\n */\n actions?: boolean;\n}\n\n/**\n * {@docCategory MessageBar}\n */\nexport interface IMessageBarStyles {\n /**\n * Style set for the root element.\n */\n root?: IStyle;\n\n /**\n * Style set for the element containing the icon, text, and optional dismiss button.\n */\n content?: IStyle;\n\n /**\n * Style set for the element containing the icon.\n */\n iconContainer?: IStyle;\n\n /**\n * Style set for the icon.\n */\n icon?: IStyle;\n\n /**\n * Style set for the element containing the text.\n */\n text?: IStyle;\n\n /**\n * Style set for the text.\n */\n innerText?: IStyle;\n\n /**\n * Style set for the optional dismiss button.\n */\n dismissal?: IStyle;\n\n /**\n * Style set for the icon used to expand and collapse the MessageBar.\n */\n expand?: IStyle;\n\n /**\n * Style set for the element containing the dismiss button.\n */\n dismissSingleLine?: IStyle;\n\n /**\n * Style set for the element containing the expand icon.\n */\n expandSingleLine?: IStyle;\n\n /**\n * Style set for the optional element containing the action elements.\n */\n actions?: IStyle;\n}\n\n/**\n * {@docCategory MessageBar}\n */\nexport enum MessageBarType {\n /** Info styled MessageBar */\n info = 0,\n /** Error styled MessageBar */\n error = 1,\n /** Blocked styled MessageBar */\n blocked = 2,\n /** SevereWarning styled MessageBar */\n severeWarning = 3,\n /** Success styled MessageBar */\n success = 4,\n /** Warning styled MessageBar */\n warning = 5,\n}\n","import * as React from 'react';\nimport { KeytipManager } from '../../utilities/keytips/KeytipManager';\nimport { useConst, usePrevious } from '@fluentui/react-hooks';\nimport type { IKeytipProps } from '../../Keytip';\nimport type { IOverflowSetItemProps, IOverflowSetProps } from './OverflowSet.types';\n\nconst registerPersistedKeytips = (\n keytipsToRegister: IKeytipProps[],\n keytipManager: KeytipManager,\n registeredPersistedKeytips: { [uniqueID: string]: IKeytipProps },\n) => {\n for (const keytip of keytipsToRegister) {\n const uniqueID = keytipManager.register(keytip, true);\n // Update map\n registeredPersistedKeytips[uniqueID] = keytip;\n }\n};\n\nconst unregisterPersistedKeytips = (\n keytipManager: KeytipManager,\n registeredPersistedKeytips: { [uniqueID: string]: IKeytipProps },\n) => {\n for (const uniqueID of Object.keys(registeredPersistedKeytips)) {\n keytipManager.unregister(registeredPersistedKeytips[uniqueID], uniqueID, true);\n delete registeredPersistedKeytips[uniqueID];\n }\n};\n\nconst useKeytipRegistrations = (\n registeredPersistedKeytips: { [uniqueID: string]: IKeytipProps },\n keytipsToRegister: IKeytipProps[],\n keytipManager: KeytipManager,\n) => {\n const prevPersistedKeytips = usePrevious(registeredPersistedKeytips);\n\n // Update\n React.useEffect(() => {\n if (prevPersistedKeytips) {\n // Unregister old keytips\n unregisterPersistedKeytips(keytipManager, prevPersistedKeytips);\n // Register new keytips\n registerPersistedKeytips(keytipsToRegister, keytipManager, registeredPersistedKeytips);\n }\n });\n\n // Mount/Unmount\n React.useEffect(() => {\n // Register on mount\n registerPersistedKeytips(keytipsToRegister, keytipManager, registeredPersistedKeytips);\n return () => {\n // Unregister on unmount\n unregisterPersistedKeytips(keytipManager, registeredPersistedKeytips);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n};\n\nexport const OverflowButton = (props: IOverflowSetProps) => {\n const keytipManager: KeytipManager = KeytipManager.getInstance();\n const { className, overflowItems, keytipSequences, itemSubMenuProvider, onRenderOverflowButton } = props;\n\n const persistedKeytips = useConst<{ [uniqueID: string]: IKeytipProps }>({});\n\n // Gets the subMenu for an overflow item\n const getSubMenuForItem = React.useCallback(\n (item: IOverflowSetItemProps) => {\n // Checks if itemSubMenuProvider has been defined, if not defaults to subMenuProps\n if (itemSubMenuProvider) {\n return itemSubMenuProvider(item);\n }\n if (item.subMenuProps) {\n return item.subMenuProps.items;\n }\n return undefined;\n },\n [itemSubMenuProvider],\n );\n\n const { modifiedOverflowItems, keytipsToRegister } = React.useMemo(() => {\n const newKeytipsToRegister: IKeytipProps[] = [];\n let newOverflowItems: IOverflowSetItemProps[] | undefined = [];\n\n if (keytipSequences) {\n overflowItems?.forEach(overflowItem => {\n const keytip = (overflowItem as IOverflowSetItemProps).keytipProps;\n\n if (keytip) {\n // Create persisted keytip\n const persistedKeytip: IKeytipProps = {\n content: keytip.content,\n keySequences: keytip.keySequences,\n disabled: keytip.disabled || !!(overflowItem.disabled || overflowItem.isDisabled),\n hasDynamicChildren: keytip.hasDynamicChildren,\n hasMenu: keytip.hasMenu,\n };\n\n if (keytip.hasDynamicChildren || getSubMenuForItem(overflowItem)) {\n // If the keytip has a submenu or children nodes, change onExecute to persistedKeytipExecute\n persistedKeytip.onExecute = keytipManager.menuExecute.bind(\n keytipManager,\n keytipSequences,\n overflowItem?.keytipProps?.keySequences,\n );\n persistedKeytip.hasOverflowSubMenu = true;\n } else {\n // If the keytip doesn't have a submenu, just execute the original function\n persistedKeytip.onExecute = keytip.onExecute;\n }\n\n newKeytipsToRegister.push(persistedKeytip);\n\n // Add the overflow sequence to this item\n const newOverflowItem = {\n ...overflowItem,\n keytipProps: {\n ...keytip,\n overflowSetSequence: keytipSequences,\n },\n };\n newOverflowItems?.push(newOverflowItem);\n } else {\n // Nothing to change, add overflowItem to list\n newOverflowItems?.push(overflowItem);\n }\n });\n } else {\n newOverflowItems = overflowItems;\n }\n return { modifiedOverflowItems: newOverflowItems, keytipsToRegister: newKeytipsToRegister };\n }, [overflowItems, getSubMenuForItem, keytipManager, keytipSequences]);\n\n useKeytipRegistrations(persistedKeytips, keytipsToRegister, keytipManager);\n\n return
    {onRenderOverflowButton(modifiedOverflowItems)}
    ;\n};\n","import * as React from 'react';\nimport { useMergedRefs } from '@fluentui/react-hooks';\nimport { classNamesFunction, divProperties, elementContains, getNativeProps, focusFirstChild } from '../../Utilities';\nimport { OverflowButton } from './OverflowButton';\nimport type { IProcessedStyleSet } from '../../Styling';\nimport type { IOverflowSetProps, IOverflowSetStyles, IOverflowSetStyleProps, IOverflowSet } from './OverflowSet.types';\n\nconst getClassNames = classNamesFunction();\nconst COMPONENT_NAME = 'OverflowSet';\n\nconst useComponentRef = (props: IOverflowSetProps, divContainer: React.RefObject) => {\n React.useImperativeHandle(\n props.componentRef,\n (): IOverflowSet => ({\n focus: (_forceIntoFirstElement?: boolean, bypassHiddenElements?: boolean): boolean => {\n let focusSucceeded = false;\n if (divContainer.current) {\n focusSucceeded = focusFirstChild(divContainer.current, bypassHiddenElements);\n }\n return focusSucceeded;\n },\n focusElement: (childElement?: HTMLElement) => {\n let focusSucceeded = false;\n if (!childElement) {\n return false;\n }\n if (divContainer.current && elementContains(divContainer.current, childElement)) {\n childElement.focus();\n focusSucceeded = document.activeElement === childElement;\n }\n return focusSucceeded;\n },\n }),\n [divContainer],\n );\n};\n\nexport const OverflowSetBase: React.FunctionComponent = React.forwardRef<\n HTMLDivElement,\n IOverflowSetProps\n>((props, forwardedRef) => {\n const divContainer = React.useRef(null);\n const mergedRef = useMergedRefs(divContainer, forwardedRef);\n useComponentRef(props, divContainer);\n\n const { items, overflowItems, className, styles, vertical, role, overflowSide = 'end', onRenderItem } = props;\n\n const classNames: IProcessedStyleSet = getClassNames(styles, { className, vertical });\n\n const showOverflow = !!overflowItems && overflowItems.length > 0;\n\n return (\n >(props, divProperties)}\n role={role || 'group'}\n aria-orientation={role === 'menubar' ? (vertical === true ? 'vertical' : 'horizontal') : undefined}\n className={classNames.root}\n ref={mergedRef}\n >\n {overflowSide === 'start' && showOverflow && }\n {items &&\n items.map((item, i) => (\n
    \n {onRenderItem(item)}\n
    \n ))}\n {overflowSide === 'end' && showOverflow && }\n
    \n );\n});\nOverflowSetBase.displayName = COMPONENT_NAME;\n","import type { IOverflowSetStyles, IOverflowSetStyleProps } from './OverflowSet.types';\nimport type { IStyleFunction } from '../../Utilities';\nimport type { IStyle } from '../../Styling';\n\nconst overflowItemStyle: IStyle = {\n flexShrink: 0,\n display: 'inherit',\n};\n\nexport const getStyles: IStyleFunction = props => {\n const { className, vertical } = props;\n return {\n root: [\n 'ms-OverflowSet',\n {\n position: 'relative',\n display: 'flex',\n flexWrap: 'nowrap',\n },\n vertical && { flexDirection: 'column' },\n className,\n ],\n item: ['ms-OverflowSet-item', overflowItemStyle],\n overflowButton: ['ms-OverflowSet-overflowButton', overflowItemStyle],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { OverflowSetBase } from './OverflowSet.base';\nimport { getStyles } from './OverflowSet.styles';\nimport type { IOverflowSetProps } from './OverflowSet.types';\n\nexport const OverflowSet: React.FunctionComponent = styled(OverflowSetBase, getStyles, undefined, {\n scope: 'OverflowSet',\n});\n","import * as React from 'react';\n\n/**\n * A callback ref function that also has a .current member for the ref's current value.\n */\nexport type RefCallback = ((value: T | null) => void) & React.RefObject;\n\n/**\n * Creates a ref, and calls a callback whenever the ref changes to a non-null value. The callback can optionally return\n * a cleanup function that'll be called before the value changes, and when the ref is unmounted.\n *\n * This can be used to work around a limitation that useEffect cannot depend on `ref.current` (see\n * https://github.com/facebook/react/issues/14387#issuecomment-503616820).\n *\n * Usage example:\n * ```ts\n * const myRef = useRefEffect(element => {\n * ...\n * return () => { ... cleanup ... };\n * });\n * ```\n * ```jsx\n *
    \n * ```\n *\n * @param callback - Called whenever the ref's value changes to non-null. Can optionally return a cleanup function.\n * @param initial - (Optional) The initial value for the ref.\n *\n * @returns A function that should be called to set the ref's value. The object also has a `.current` member that can be\n * used to access the ref's value (like a normal RefObject). It can be hooked up to an element's `ref` property.\n */\nexport function useRefEffect(callback: (value: T) => (() => void) | void, initial: T | null = null): RefCallback {\n type RefData = {\n ref: ((value: T | null) => void) & React.MutableRefObject;\n callback: (value: T) => (() => void) | void;\n cleanup?: (() => void) | void;\n };\n\n const createRefCallback = () => {\n const refCallback = (value: T | null) => {\n if (data.ref.current !== value) {\n if (data.cleanup) {\n data.cleanup();\n data.cleanup = undefined;\n }\n\n data.ref.current = value;\n\n if (value !== null) {\n data.cleanup = data.callback(value);\n }\n }\n };\n\n refCallback.current = initial;\n return refCallback;\n };\n\n const data = React.useRef({\n ref: createRefCallback(),\n callback,\n }).current;\n\n data.callback = callback;\n\n return data.ref;\n}\n","import * as React from 'react';\nimport { useIsomorphicLayoutEffect, useRefEffect } from '@fluentui/react-hooks';\nimport { getWindow } from '@fluentui/utilities';\nimport { observeResize } from './observeResize';\nimport type { RefCallback } from '@fluentui/react-hooks';\n\n/**\n * Callback to notify the user that the items in the overflow have changed. This should ensure that the overflow menu\n * is visible, and contains all of the overflowing items.\n *\n * @param overflowIndex - The index of the first item in the overflow, or items.length if nothing is overflowing.\n * @param items - The list of all items in the container, and whether that particular item is in the overflow\n */\nexport type OverflowItemsChangedCallback = (\n overflowIndex: number,\n items: { ele: HTMLElement; isOverflowing: boolean }[],\n) => void;\n\n/** Parameters for {@see useOverflow} */\nexport type OverflowParams = {\n /** Callback to notify the user that the items in the overflow have changed. */\n onOverflowItemsChanged: OverflowItemsChangedCallback;\n\n /** True if the element containing overflowMenuButtonRef is in right-to-left order */\n rtl: boolean;\n\n /** Optional: Index of item that should never go into the overflow menu. */\n pinnedIndex?: number;\n};\n\n/** Return value for {@see useOverflow} */\nexport type OverflowRefs = {\n /** Set the overflow menu button's ref to this ref callback */\n menuButtonRef: RefCallback;\n};\n\n/**\n * Track whether any items don't fit within their container, and move them to the overflow menu.\n * Items are moved into the overflow menu from back to front, excluding pinned items.\n *\n * The overflow menu button must be the last sibling of all of the items that can be put into the overflow, and it\n * must be hooked up to the `setMenuButtonRef` setter function that's returned by `useOverflow`:\n * ```ts\n * const overflow = useOverflow(...);\n * ```\n * ```jsx\n * \n * // Index 0\n * // Index 1\n * ...\n *
    \n );\n };\n\n const isKeyValid = (itemKey: string | null | undefined): boolean => {\n return itemKey === null || (itemKey !== undefined && linkCollection.keyToIndexMapping[itemKey] !== undefined);\n };\n\n const getSelectedKey = () => {\n if (isKeyValid(selectedKey)) {\n return selectedKey;\n }\n if (linkCollection.links.length) {\n return linkCollection.links[0].itemKey;\n }\n return undefined;\n };\n\n classNames = getClassNames(props.styles!, {\n theme: theme!,\n linkSize,\n linkFormat,\n });\n\n const renderedSelectedKey = getSelectedKey();\n const renderedSelectedIndex = renderedSelectedKey ? linkCollection.keyToIndexMapping[renderedSelectedKey] : 0;\n\n const items = linkCollection.links.map(l =>\n renderPivotLink(linkCollection, l, renderedSelectedKey, classNames.link),\n );\n\n // The overflow menu starts empty and items[] is updated as the overflow items change\n const overflowMenuProps: IContextualMenuProps = React.useMemo(\n () => ({\n items: [],\n alignTargetEdge: true,\n directionalHint: DirectionalHint.bottomRightEdge,\n }),\n [],\n );\n\n const { menuButtonRef: overflowMenuButtonRef } = useOverflow({\n onOverflowItemsChanged: (overflowIndex, elements) => {\n // Set data-is-overflowing on each item\n elements.forEach(({ ele, isOverflowing }) => (ele.dataset.isOverflowing = `${isOverflowing}`));\n\n // Update the menu items\n overflowMenuProps.items = linkCollection.links\n .slice(overflowIndex)\n .filter(link => link.itemKey !== renderedSelectedKey)\n .map((link, index) => {\n link.role = 'menuitem';\n\n return {\n key: link.itemKey || `${overflowIndex + index}`,\n onRender: () => renderPivotLink(linkCollection, link, renderedSelectedKey, classNames.linkInMenu),\n };\n });\n },\n rtl: getRTL(theme),\n pinnedIndex: renderedSelectedIndex,\n });\n\n const OverflowButton = overflowButtonAs ? overflowButtonAs : CommandButton;\n return (\n
    \n \n {items}\n {overflowBehavior === 'menu' && (\n \n )}\n \n {renderedSelectedKey &&\n linkCollection.links.map(\n link =>\n (link.alwaysRender === true || renderedSelectedKey === link.itemKey) &&\n renderPivotItem(link.itemKey, renderedSelectedKey === link.itemKey),\n )}\n
    \n );\n },\n);\nPivotBase.displayName = COMPONENT_NAME;\n","import {\n AnimationVariables,\n getGlobalClassNames,\n HighContrastSelector,\n normalize,\n FontWeights,\n getHighContrastNoAdjustStyle,\n} from '@fluentui/style-utilities';\nimport { IsFocusVisibleClassName } from '@fluentui/utilities';\nimport type { IPivotStyleProps, IPivotStyles } from './Pivot.types';\nimport type { IStyle } from '@fluentui/style-utilities';\n\nconst globalClassNames = {\n count: 'ms-Pivot-count',\n icon: 'ms-Pivot-icon',\n linkIsSelected: 'is-selected',\n link: 'ms-Pivot-link',\n linkContent: 'ms-Pivot-linkContent',\n root: 'ms-Pivot',\n rootIsLarge: 'ms-Pivot--large',\n rootIsTabs: 'ms-Pivot--tabs',\n text: 'ms-Pivot-text',\n linkInMenu: 'ms-Pivot-linkInMenu',\n overflowMenuButton: 'ms-Pivot-overflowMenuButton',\n};\n\nconst getLinkStyles = (\n props: IPivotStyleProps,\n classNames: { [key: string]: string },\n isLinkInOverflowMenu: boolean = false,\n): IStyle[] => {\n const { linkSize, linkFormat } = props;\n const { semanticColors, fonts } = props.theme;\n const rootIsLarge = linkSize === 'large';\n const rootIsTabs = linkFormat === 'tabs';\n\n return [\n fonts.medium,\n {\n color: semanticColors.actionLink,\n padding: '0 8px',\n position: 'relative',\n backgroundColor: 'transparent',\n border: 0,\n borderRadius: 0,\n selectors: {\n ':hover': {\n backgroundColor: semanticColors.buttonBackgroundHovered,\n color: semanticColors.buttonTextHovered,\n cursor: 'pointer',\n },\n ':active': {\n backgroundColor: semanticColors.buttonBackgroundPressed,\n color: semanticColors.buttonTextHovered,\n },\n ':focus': {\n outline: 'none',\n },\n },\n },\n !isLinkInOverflowMenu && [\n {\n display: 'inline-block',\n lineHeight: 44,\n height: 44,\n marginRight: 8,\n textAlign: 'center',\n selectors: {\n [`.${IsFocusVisibleClassName} &:focus`]: {\n outline: `1px solid ${semanticColors.focusBorder}`,\n },\n\n [`.${IsFocusVisibleClassName} &:focus:after`]: {\n content: 'attr(data-content)',\n position: 'relative',\n border: 0,\n },\n ':before': {\n backgroundColor: 'transparent',\n bottom: 0,\n content: '\"\"',\n height: 2,\n left: 8,\n position: 'absolute',\n right: 8,\n transition: `left ${AnimationVariables.durationValue2} ${AnimationVariables.easeFunction2},\n right ${AnimationVariables.durationValue2} ${AnimationVariables.easeFunction2}`,\n },\n ':after': {\n color: 'transparent',\n content: 'attr(data-content)',\n display: 'block',\n fontWeight: FontWeights.bold,\n height: 1,\n overflow: 'hidden',\n visibility: 'hidden',\n },\n },\n },\n rootIsLarge && {\n fontSize: fonts.large.fontSize,\n },\n rootIsTabs && [\n {\n marginRight: 0,\n height: 44,\n lineHeight: 44,\n backgroundColor: semanticColors.buttonBackground,\n padding: '0 10px',\n verticalAlign: 'top',\n\n selectors: {\n ':focus': {\n outlineOffset: '-2px',\n },\n [`.${IsFocusVisibleClassName} &:focus::before`]: {\n height: 'auto',\n background: 'transparent',\n transition: 'none',\n },\n '&:hover, &:focus': {\n color: semanticColors.buttonTextCheckedHovered,\n },\n '&:active, &:hover': {\n color: semanticColors.primaryButtonText,\n backgroundColor: semanticColors.primaryButtonBackground,\n },\n [`&.${classNames.linkIsSelected}`]: {\n backgroundColor: semanticColors.primaryButtonBackground,\n color: semanticColors.primaryButtonText,\n fontWeight: FontWeights.regular,\n selectors: {\n ':before': {\n backgroundColor: 'transparent',\n transition: 'none',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n content: '\"\"',\n height: 0,\n },\n ':hover': {\n backgroundColor: semanticColors.primaryButtonBackgroundHovered,\n color: semanticColors.primaryButtonText,\n },\n ':active': {\n backgroundColor: semanticColors.primaryButtonBackgroundPressed,\n color: semanticColors.primaryButtonText,\n },\n [HighContrastSelector]: {\n fontWeight: FontWeights.semibold,\n color: 'HighlightText',\n background: 'Highlight',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n [`.${IsFocusVisibleClassName} &.${classNames.linkIsSelected}:focus`]: {\n outlineColor: semanticColors.primaryButtonText,\n },\n },\n },\n ],\n ],\n ];\n};\n\nexport const getStyles = (props: IPivotStyleProps): IPivotStyles => {\n const { className, linkSize, linkFormat, theme } = props;\n const { semanticColors, fonts } = theme;\n\n const classNames = getGlobalClassNames(globalClassNames, theme);\n\n const rootIsLarge = linkSize === 'large';\n const rootIsTabs = linkFormat === 'tabs';\n\n return {\n root: [\n classNames.root,\n fonts.medium,\n normalize,\n {\n position: 'relative',\n color: semanticColors.link,\n whiteSpace: 'nowrap',\n },\n rootIsLarge && classNames.rootIsLarge,\n rootIsTabs && classNames.rootIsTabs,\n className,\n ],\n itemContainer: {\n selectors: {\n '&[hidden]': {\n display: 'none',\n },\n },\n },\n link: [\n classNames.link,\n ...getLinkStyles(props, classNames),\n {\n [`&[data-is-overflowing='true']`]: {\n display: 'none',\n },\n },\n ],\n overflowMenuButton: [\n classNames.overflowMenuButton,\n {\n visibility: 'hidden',\n position: 'absolute',\n right: 0,\n [`.${classNames.link}[data-is-overflowing='true'] ~ &`]: {\n visibility: 'visible',\n position: 'relative',\n },\n },\n ],\n linkInMenu: [\n classNames.linkInMenu,\n ...getLinkStyles(props, classNames, true),\n {\n textAlign: 'left',\n width: '100%',\n height: 36,\n lineHeight: 36,\n },\n ],\n linkIsSelected: [\n classNames.link,\n classNames.linkIsSelected,\n {\n fontWeight: FontWeights.semibold,\n selectors: {\n ':before': {\n backgroundColor: semanticColors.inputBackgroundChecked,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Highlight',\n },\n },\n },\n ':hover::before': {\n left: 0,\n right: 0,\n },\n [HighContrastSelector]: {\n color: 'Highlight',\n },\n },\n },\n ],\n linkContent: [\n classNames.linkContent,\n {\n flex: '0 1 100%',\n selectors: {\n '& > * ': {\n marginLeft: 4,\n },\n '& > *:first-child': {\n marginLeft: 0,\n },\n },\n },\n ],\n text: [\n classNames.text,\n {\n display: 'inline-block',\n verticalAlign: 'top',\n },\n ],\n count: [\n classNames.count,\n {\n display: 'inline-block',\n verticalAlign: 'top',\n },\n ],\n icon: classNames.icon,\n };\n};\n","import * as React from 'react';\nimport { styled } from '@fluentui/utilities';\nimport { PivotBase } from './Pivot.base';\nimport { getStyles } from './Pivot.styles';\nimport type { IPivotProps, IPivotStyleProps, IPivotStyles } from './Pivot.types';\n\n/**\n * The Pivot control and related tabs pattern are used for navigating frequently accessed,\n * distinct content categories. Pivots allow for navigation between two or more content\n * views and relies on text headers to articulate the different sections of content.\n */\nexport const Pivot: React.FunctionComponent = styled(\n PivotBase,\n getStyles,\n undefined,\n {\n scope: 'Pivot',\n },\n);\n","import * as React from 'react';\nimport { getNativeProps, divProperties, initializeComponentRef, warnDeprecations } from '@fluentui/utilities';\nimport type { IPivotItemProps } from './PivotItem.types';\n\nconst COMPONENT_NAME = 'PivotItem';\n\nexport class PivotItem extends React.Component {\n constructor(props: IPivotItemProps) {\n super(props);\n\n initializeComponentRef(this);\n warnDeprecations(COMPONENT_NAME, props, {\n linkText: 'headerText',\n });\n }\n\n public render(): JSX.Element {\n return
    {this.props.children}
    ;\n }\n}\n","import * as React from 'react';\nimport {\n KeyCodes,\n divProperties,\n doesElementContainFocus,\n getDocument,\n getNativeProps,\n getPropsWithDefaults,\n getWindow,\n modalize,\n} from '../../Utilities';\nimport { useMergedRefs, useAsync, useOnEvent } from '@fluentui/react-hooks';\nimport { useWindow } from '@fluentui/react-window-provider';\nimport type { IPopupProps, IPopupRestoreFocusParams } from './Popup.types';\n\nfunction useScrollbarAsync(props: IPopupProps, root: React.RefObject) {\n const async = useAsync();\n const [needsVerticalScrollBarState, setNeedsVerticalScrollBar] = React.useState(false);\n React.useEffect(() => {\n async.requestAnimationFrame(() => {\n // If overflowY is overridden, don't waste time calculating whether the scrollbar is necessary.\n if (props.style && props.style.overflowY) {\n return;\n }\n\n let needsVerticalScrollBar = false;\n if (root && root.current && root.current?.firstElementChild) {\n // ClientHeight returns the client height of an element rounded to an\n // integer. On some browsers at different zoom levels this rounding\n // can generate different results for the root container and child even\n // though they are the same height. This causes us to show a scroll bar\n // when not needed. Ideally we would use BoundingClientRect().height\n // instead however seems that the API is 90% slower than using ClientHeight.\n // Therefore instead we will calculate the difference between heights and\n // allow for a 1px difference to still be considered ok and not show the\n // scroll bar.\n const rootHeight = root.current.clientHeight;\n const firstChildHeight = root.current.firstElementChild.clientHeight;\n if (rootHeight > 0 && firstChildHeight > rootHeight) {\n needsVerticalScrollBar = firstChildHeight - rootHeight > 1;\n }\n }\n if (needsVerticalScrollBarState !== needsVerticalScrollBar) {\n setNeedsVerticalScrollBar(needsVerticalScrollBar);\n }\n });\n\n return () => async.dispose();\n });\n\n return needsVerticalScrollBarState;\n}\n\nfunction defaultFocusRestorer(options: IPopupRestoreFocusParams) {\n const { originalElement, containsFocus } = options;\n\n if (originalElement && containsFocus && originalElement !== getWindow()) {\n // Make sure that the focus method actually exists\n // In some cases the object might exist but not be a real element.\n // This is primarily for IE 11 and should be removed once IE 11 is no longer in use.\n // This is wrapped in a setTimeout because of a React 16 bug that is resolved in 17.\n // Once we move to 17, the setTimeout should be removed (ref: https://github.com/facebook/react/issues/17894#issuecomment-656094405)\n setTimeout(() => {\n originalElement.focus?.();\n }, 0);\n }\n}\n\nfunction useRestoreFocus(props: IPopupProps, root: React.RefObject) {\n const { onRestoreFocus = defaultFocusRestorer } = props;\n const originalFocusedElement = React.useRef();\n const containsFocus = React.useRef(false);\n\n React.useEffect(() => {\n originalFocusedElement.current = getDocument()!.activeElement as HTMLElement;\n\n if (doesElementContainFocus(root.current!)) {\n containsFocus.current = true;\n }\n\n return () => {\n onRestoreFocus?.({\n originalElement: originalFocusedElement.current,\n containsFocus: containsFocus.current,\n documentContainsFocus: getDocument()?.hasFocus() || false,\n });\n\n // De-reference DOM Node to avoid retainment via transpiled closure of _onKeyDown\n originalFocusedElement.current = undefined;\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on first render\n }, []);\n\n useOnEvent(\n root,\n 'focus',\n React.useCallback((): void => {\n containsFocus.current = true;\n }, []),\n true,\n );\n\n useOnEvent(\n root,\n 'blur',\n React.useCallback((ev: FocusEvent): void => {\n /** The popup should update this._containsFocus when:\n * relatedTarget exists AND\n * the relatedTarget is not contained within the popup.\n * If the relatedTarget is within the popup, that means the popup still has focus\n * and focused moved from one element to another within the popup.\n * If relatedTarget is undefined or null that usually means that a\n * keyboard event occurred and focus didn't change\n */\n if (root.current && ev.relatedTarget && !root.current.contains(ev.relatedTarget as HTMLElement)) {\n containsFocus.current = false;\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on first render\n }, []),\n true,\n );\n}\n\nfunction useHideSiblingNodes(props: IPopupProps, root: React.RefObject) {\n // eslint-disable-next-line deprecation/deprecation\n const shouldHideSiblings = String(props['aria-modal']).toLowerCase() === 'true' && props.enableAriaHiddenSiblings;\n\n React.useEffect(() => {\n if (!(shouldHideSiblings && root.current)) {\n return;\n }\n\n const unmodalize = modalize(root.current);\n return unmodalize;\n }, [root, shouldHideSiblings]);\n}\n\n/**\n * This adds accessibility to Dialog and Panel controls\n */\nexport const Popup: React.FunctionComponent = React.forwardRef(\n (propsWithoutDefaults, forwardedRef) => {\n const props = getPropsWithDefaults(\n { shouldRestoreFocus: true, enableAriaHiddenSiblings: true },\n propsWithoutDefaults,\n );\n\n const root = React.useRef();\n const mergedRootRef = useMergedRefs(root, forwardedRef) as React.Ref;\n\n useHideSiblingNodes(props, root);\n useRestoreFocus(props, root);\n\n const { role, className, ariaLabel, ariaLabelledBy, ariaDescribedBy, style, children, onDismiss } = props;\n const needsVerticalScrollBar = useScrollbarAsync(props, root);\n\n const onKeyDown = React.useCallback(\n (ev: React.KeyboardEvent | KeyboardEvent): void => {\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.escape:\n if (onDismiss) {\n onDismiss(ev);\n\n ev.preventDefault();\n ev.stopPropagation();\n }\n\n break;\n }\n },\n [onDismiss],\n );\n\n const win = useWindow();\n useOnEvent(win, 'keydown', onKeyDown as (ev: Event) => void);\n\n return (\n \n {children}\n
    \n );\n },\n);\nPopup.displayName = 'Popup';\n","import * as React from 'react';\nimport { classNamesFunction } from '../../Utilities';\nimport type { ISeparatorProps, ISeparatorStyles, ISeparatorStyleProps } from './Separator.types';\n\nconst getClassNames = classNamesFunction();\n\nexport const SeparatorBase: React.FunctionComponent = React.forwardRef<\n HTMLDivElement,\n ISeparatorProps\n>((props, ref) => {\n const { styles, theme, className, vertical, alignContent, children } = props;\n\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n alignContent,\n vertical,\n });\n\n return (\n
    \n
    \n {children}\n
    \n
    \n );\n});\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { getStyles } from './Separator.styles';\nimport { SeparatorBase } from './Separator.base';\nimport type { ISeparatorProps, ISeparatorStyleProps, ISeparatorStyles } from './Separator.types';\n\nexport const Separator: React.FunctionComponent = styled<\n ISeparatorProps,\n ISeparatorStyleProps,\n ISeparatorStyles\n>(SeparatorBase, getStyles, undefined, {\n scope: 'Separator',\n});\nSeparator.displayName = 'Separator';\n","import { HighContrastSelector } from '../../Styling';\nimport type { ISeparatorStyleProps, ISeparatorStyles } from './Separator.types';\n\nexport const getStyles = (props: ISeparatorStyleProps): ISeparatorStyles => {\n const { theme, alignContent, vertical, className } = props;\n\n const alignStart = alignContent === 'start';\n const alignCenter = alignContent === 'center';\n const alignEnd = alignContent === 'end';\n\n return {\n root: [\n theme.fonts.medium,\n {\n position: 'relative',\n },\n alignContent && {\n textAlign: alignContent,\n },\n !alignContent && {\n textAlign: 'center',\n },\n vertical &&\n (alignCenter || !alignContent) && {\n verticalAlign: 'middle',\n },\n vertical &&\n alignStart && {\n verticalAlign: 'top',\n },\n vertical &&\n alignEnd && {\n verticalAlign: 'bottom',\n },\n vertical && {\n padding: '0 4px',\n height: 'inherit',\n display: 'table-cell',\n zIndex: 1,\n selectors: {\n ':after': {\n backgroundColor: theme.palette.neutralLighter,\n width: '1px',\n content: '\"\"',\n position: 'absolute',\n top: '0',\n bottom: '0',\n left: '50%',\n right: '0',\n zIndex: -1,\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n },\n },\n },\n },\n !vertical && {\n padding: '4px 0',\n selectors: {\n ':before': {\n backgroundColor: theme.palette.neutralLighter,\n height: '1px',\n content: '\"\"',\n display: 'block',\n position: 'absolute',\n top: '50%',\n bottom: '0',\n left: '0',\n right: '0',\n [HighContrastSelector]: {\n backgroundColor: 'WindowText',\n },\n },\n },\n },\n className,\n ],\n content: [\n {\n position: 'relative',\n display: 'inline-block',\n padding: '0 12px',\n color: theme.semanticColors.bodyText,\n background: theme.semanticColors.bodyBackground,\n },\n vertical && {\n padding: '12px 0',\n },\n ],\n };\n};\n","import type { Point } from './Point';\nimport type { ISize } from './ISize';\n\n/**\n * Determines the distance between two points.\n *\n * @public\n */\n/* eslint-disable deprecation/deprecation */\nexport function getDistanceBetweenPoints(point1: Point, point2: Point): number {\n const left1 = point1.left || point1.x || 0;\n const top1 = point1.top || point1.y || 0;\n const left2 = point2.left || point2.x || 0;\n const top2 = point2.top || point2.y || 0;\n /* eslint-enable deprecation/deprecation */\n\n let distance = Math.sqrt(Math.pow(left1 - left2, 2) + Math.pow(top1 - top2, 2));\n\n return distance;\n}\n\n/**\n * The available fit modes. These should match the fit modes for CSS.\n */\nexport type FitMode = 'contain' | 'cover';\n\n/**\n * Options for fitting content sizes into bounding sizes.\n */\nexport interface IFitContentToBoundsOptions {\n /**\n * The size of the content to fit to the bounds.\n * The output will be proportional to this value.\n */\n contentSize: ISize;\n /**\n * The size of the bounds.\n */\n boundsSize: ISize;\n /**\n * The fit mode to apply, either 'contain' or 'cover'.\n */\n mode: FitMode;\n /**\n * An optional maximum scale factor to apply. The default is 1.\n * Use Infinity for an unbounded resize.\n */\n maxScale?: number;\n}\n\n/**\n * Produces a proportionally-scaled version of an input content size when fit to a bounding size.\n * Given a `contentSize` and a `boundsSize`, this function scales `contentSize` proportionally\n * using either `contain` or `cover` fit behaviors.\n * Use this function to pre-calculate the layout for the CSS `object-fit` and `background-fit` behaviors.\n * With `contain`, the output size must be the largest it can be while completely within the `boundsSize`.\n * With `cover`, the output size must be the smallest it can be while completely around the `boundsSize`.\n * By default, there is a `maxScale` value of 1, which prevents the `contentSize` from being scaled larger.\n *\n * @param options - the options for the bounds fit operation\n */\nexport function fitContentToBounds(options: IFitContentToBoundsOptions): ISize {\n const { contentSize, boundsSize, mode = 'contain', maxScale = 1 } = options;\n\n const contentAspectRatio = contentSize.width / contentSize.height;\n const boundsAspectRatio = boundsSize.width / boundsSize.height;\n\n let scale: number;\n\n if (mode === 'contain' ? contentAspectRatio > boundsAspectRatio : contentAspectRatio < boundsAspectRatio) {\n scale = boundsSize.width / contentSize.width;\n } else {\n scale = boundsSize.height / contentSize.height;\n }\n\n const finalScale = Math.min(maxScale, scale);\n\n return {\n width: contentSize.width * finalScale,\n height: contentSize.height * finalScale,\n };\n}\n\n/**\n * Calculates a number's precision based on the number of trailing\n * zeros if the number does not have a decimal indicated by a negative\n * precision. Otherwise, it calculates the number of digits after\n * the decimal point indicated by a positive precision.\n * @param value - the value to determine the precision of\n */\nexport function calculatePrecision(value: number | string): number {\n /**\n * Group 1:\n * [1-9]([0]+$) matches trailing zeros\n * Group 2:\n * \\.([0-9]*) matches all digits after a decimal point.\n */\n const groups = /[1-9]([0]+$)|\\.([0-9]*)/.exec(String(value));\n if (!groups) {\n return 0;\n }\n if (groups[1]) {\n return -groups[1].length;\n }\n if (groups[2]) {\n return groups[2].length;\n }\n return 0;\n}\n\n/**\n * Rounds a number to a certain level of precision. Accepts negative precision.\n * @param value - The value that is being rounded.\n * @param precision - The number of decimal places to round the number to\n */\nexport function precisionRound(value: number, precision: number, base: number = 10): number {\n const exp = Math.pow(base, precision);\n return Math.round(value * exp) / exp;\n}\n","import * as React from 'react';\nimport { Position } from '../../Positioning';\nimport type { IButtonStyles, IButtonProps } from '../../Button';\nimport type { IIconProps } from '../../Icon';\nimport type { ITheme, IStyle } from '../../Styling';\nimport type { IKeytipProps } from '../../Keytip';\nimport type { IRefObject, IStyleFunctionOrObject } from '../../Utilities';\n\n/**\n * {@docCategory SpinButton}\n */\nexport interface ISpinButton {\n /**\n * Current committed/validated value of the control. Note that this does *not* update on every\n * keystroke while the user is editing text in the input field.\n * \"committed\" the edit yet by focusing away (blurring) or pressing enter,\n */\n value?: string;\n\n /**\n * Sets focus to the control.\n */\n focus: () => void;\n}\n\n/**\n * {@docCategory SpinButton}\n */\nexport enum KeyboardSpinDirection {\n down = -1,\n notSpinning = 0,\n up = 1,\n}\n\n/**\n * {@docCategory SpinButton}\n */\nexport interface ISpinButtonProps extends React.HTMLAttributes, React.RefAttributes {\n /**\n * Gets the component ref.\n */\n componentRef?: IRefObject;\n\n /**\n * Initial value of the control (assumed to be valid). Updates to this prop will not be respected.\n *\n * Use this if you intend for the SpinButton to be an uncontrolled component which maintains its\n * own value. For a controlled component, use `value` instead. (Mutually exclusive with `value`.)\n * @defaultvalue 0\n */\n defaultValue?: string;\n\n /**\n * Current value of the control (assumed to be valid).\n *\n * Only provide this if the SpinButton is a controlled component where you are maintaining its\n * current state and passing updates based on change events; otherwise, use the `defaultValue`\n * property. (Mutually exclusive with `defaultValue`.)\n */\n value?: string;\n\n /**\n * Min value of the control. If not provided, the control has no minimum value.\n */\n min?: number;\n\n /**\n * Max value of the control. If not provided, the control has no maximum value.\n */\n max?: number;\n\n /**\n * Difference between two adjacent values of the control.\n * This value is used to calculate the precision of the input if no `precision` is given.\n * The precision calculated this way will always be \\>= 0.\n * @defaultvalue 1\n */\n step?: number;\n\n /**\n * A description of the control for the benefit of screen reader users.\n */\n ariaLabel?: string;\n\n /**\n * ID of a label which describes the control, if not using the default label.\n */\n ariaDescribedBy?: string;\n\n /**\n * A more descriptive title for the control, visible on its tooltip.\n */\n title?: string;\n\n /**\n * Whether or not the control is disabled.\n */\n disabled?: boolean;\n\n /**\n * Custom className for the control.\n */\n className?: string;\n\n /**\n * Descriptive label for the control.\n */\n label?: string;\n\n /**\n * Where to position the control's label.\n * @defaultvalue Left\n */\n labelPosition?: Position;\n\n /**\n * Props for an icon to display alongside the control's label.\n */\n iconProps?: IIconProps;\n\n /**\n * Callback for when the committed/validated value changes. This is called *after* `onIncrement`,\n * `onDecrement`, or `onValidate`, on the following events:\n * - User presses the up/down buttons (on single press or every spin)\n * - User presses the up/down arrow keys (on single press or every spin)\n * - User *commits* edits to the input text by focusing away (blurring) or pressing enter.\n * Note that this is NOT called for every key press while the user is editing.\n */\n onChange?: (event: React.SyntheticEvent, newValue?: string) => void;\n\n /**\n * Callback for when the entered value should be validated.\n * @param value - The entered value to validate\n * @param event - The event that triggered this validate, if any (for accessibility)\n * @returns If a string is returned, it will be used as the new value\n */\n onValidate?: (value: string, event?: React.SyntheticEvent) => string | void;\n\n /**\n * Callback for when the increment button or up arrow key is pressed.\n * @param value - The current value to be incremented\n * @param event - The event that triggered this increment\n * @returns If a string is returned, it will be used as the new value\n */\n onIncrement?: (\n value: string,\n event?: React.MouseEvent | React.KeyboardEvent,\n ) => string | void;\n\n /**\n * Callback for when the decrement button or down arrow key is pressed.\n * @param value - The current value to be decremented\n * @param event - The event that triggered this decrement\n * @returns If a string is returned, it will be used as the new value\n */\n onDecrement?: (\n value: string,\n event?: React.MouseEvent | React.KeyboardEvent,\n ) => string | void;\n\n /**\n * Callback for when the user focuses the control.\n */\n onFocus?: React.FocusEventHandler;\n\n /**\n * Callback for when the control loses focus.\n */\n onBlur?: React.FocusEventHandler;\n\n /**\n * Custom props for the increment button.\n */\n incrementButtonIcon?: IIconProps;\n\n /**\n * Custom props for the decrement button.\n */\n decrementButtonIcon?: IIconProps;\n\n /**\n * Custom styling for individual elements within the control.\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * Custom styles for the up arrow button.\n *\n * Note: The buttons are in a checked state when arrow keys are used to increment/decrement\n * the SpinButton. Use `rootChecked` instead of `rootPressed` for styling when that is the case.\n */\n upArrowButtonStyles?: Partial;\n\n /**\n * Custom styles for the down arrow button.\n *\n * Note: The buttons are in a checked state when arrow keys are used to increment/decrement\n * the SpinButton. Use `rootChecked` instead of `rootPressed` for styling when that is the case.\n */\n downArrowButtonStyles?: Partial;\n\n /**\n * Theme provided by HOC.\n */\n theme?: ITheme;\n\n /**\n * Accessible label text for the increment button (for screen reader users).\n */\n incrementButtonAriaLabel?: string;\n\n /**\n * Accessible label text for the decrement button (for screen reader users).\n */\n decrementButtonAriaLabel?: string;\n\n /**\n * How many decimal places the value should be rounded to.\n *\n * The default is calculated based on the precision of `step`: i.e. if step = 1, precision = 0.\n * step = 0.0089, precision = 4. step = 300, precision = 2. step = 23.00, precision = 2.\n */\n precision?: number;\n\n /**\n * The position in the parent set (if in a set).\n */\n ariaPositionInSet?: number;\n\n /**\n * The total size of the parent set (if in a set).\n */\n ariaSetSize?: number;\n\n /**\n * Sets the control's aria-valuenow. This is the numeric form of `value`.\n * Providing this only makes sense when using as a controlled component.\n */\n ariaValueNow?: number;\n\n /*\n * Sets the control's aria-valuetext.\n * Providing this only makes sense when using as a controlled component.\n */\n ariaValueText?: string;\n\n /**\n * Keytip for the control.\n */\n keytipProps?: IKeytipProps;\n\n /**\n * Additional props for the input field.\n */\n inputProps?: React.InputHTMLAttributes;\n\n /**\n * Additional props for the up and down arrow buttons.\n */\n iconButtonProps?: IButtonProps;\n}\n\n/**\n * {@docCategory SpinButton}\n */\nexport interface ISpinButtonStyles {\n /**\n * Styles for the root of the component.\n */\n root: IStyle;\n\n /**\n * Style for the label wrapper element, which contains the icon and label.\n */\n labelWrapper: IStyle;\n\n /**\n * Style for the icon.\n */\n icon: IStyle;\n\n /**\n * Style for the label text.\n */\n label: IStyle;\n\n /**\n * Style for the wrapper element of the input field and arrow buttons.\n */\n spinButtonWrapper: IStyle;\n\n /**\n * Styles for the input.\n */\n input: IStyle;\n\n /**\n * Styles for the arrowButtonsContainer\n */\n arrowButtonsContainer: IStyle;\n}\n\n/**\n * {@docCategory SpinButton}\n */\nexport interface ISpinButtonStyleProps {\n theme: ITheme;\n className: string | undefined;\n disabled: boolean;\n isFocused: boolean;\n keyboardSpinDirection: KeyboardSpinDirection;\n labelPosition: Position;\n}\n","import { concatStyleSets, HighContrastSelector, IconFontSizes, getInputFocusStyle } from '../../Styling';\nimport { memoizeFunction } from '../../Utilities';\nimport { Position } from '../../Positioning';\nimport type { IRawStyle, ITheme } from '../../Styling';\nimport type { IButtonStyles } from '../../Button';\nimport type { ISpinButtonStyles, ISpinButtonStyleProps } from './SpinButton.types';\n\nconst ARROW_BUTTON_WIDTH = 23;\nconst ARROW_BUTTON_ICON_SIZE = 8;\nconst DEFAULT_HEIGHT = 32;\nconst DEFAULT_MIN_WIDTH = 86;\nconst LABEL_MARGIN = 10;\n\nconst getDisabledStyles = memoizeFunction((theme: ITheme): IRawStyle => {\n const { semanticColors } = theme;\n\n const SpinButtonTextColorDisabled = semanticColors.disabledText;\n const SpinButtonBackgroundColorDisabled = semanticColors.disabledBackground;\n\n return {\n backgroundColor: SpinButtonBackgroundColorDisabled,\n pointerEvents: 'none',\n cursor: 'default',\n color: SpinButtonTextColorDisabled,\n selectors: {\n ':after': {\n borderColor: SpinButtonBackgroundColorDisabled,\n },\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n };\n});\n\nexport const getArrowButtonStyles = memoizeFunction(\n (theme: ITheme, isUpArrow: boolean, customSpecificArrowStyles?: Partial): IButtonStyles => {\n const { palette, semanticColors, effects } = theme;\n\n // TODO: after updating the semanticColor slots all this need to be reevaluated.\n const ArrowButtonTextColor = palette.neutralSecondary;\n const ArrowButtonTextColorHovered = semanticColors.buttonText;\n const ArrowButtonTextColorPressed = semanticColors.buttonText;\n\n const ArrowButtonBackgroundHovered = semanticColors.buttonBackgroundHovered;\n const ArrowButtonBackgroundPressed = semanticColors.buttonBackgroundPressed;\n\n const defaultArrowButtonStyles: IButtonStyles = {\n root: {\n outline: 'none',\n display: 'block',\n height: '50%',\n width: ARROW_BUTTON_WIDTH,\n padding: 0,\n backgroundColor: 'transparent',\n textAlign: 'center',\n cursor: 'default',\n color: ArrowButtonTextColor,\n selectors: {\n '&.ms-DownButton': {\n borderRadius: `0 0 ${effects.roundedCorner2} 0`,\n },\n '&.ms-UpButton': {\n borderRadius: `0 ${effects.roundedCorner2} 0 0`,\n },\n },\n },\n rootHovered: {\n backgroundColor: ArrowButtonBackgroundHovered,\n color: ArrowButtonTextColorHovered,\n },\n rootChecked: {\n backgroundColor: ArrowButtonBackgroundPressed,\n color: ArrowButtonTextColorPressed,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Highlight',\n color: 'HighlightText',\n },\n },\n },\n rootPressed: {\n backgroundColor: ArrowButtonBackgroundPressed,\n color: ArrowButtonTextColorPressed,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Highlight',\n color: 'HighlightText',\n },\n },\n },\n rootDisabled: {\n opacity: 0.5,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n opacity: 1,\n },\n },\n },\n icon: {\n fontSize: ARROW_BUTTON_ICON_SIZE,\n marginTop: 0,\n marginRight: 0,\n marginBottom: 0,\n marginLeft: 0,\n },\n };\n\n // No specific styles needed as of now.\n const defaultUpArrowButtonStyles: Partial = {};\n\n const defaultDownArrowButtonStyles: Partial = {};\n\n return concatStyleSets(\n defaultArrowButtonStyles,\n isUpArrow ? defaultUpArrowButtonStyles : defaultDownArrowButtonStyles,\n customSpecificArrowStyles,\n ) as IButtonStyles;\n },\n);\n\nexport const getStyles = (props: ISpinButtonStyleProps): ISpinButtonStyles => {\n const { theme, className, labelPosition, disabled, isFocused } = props;\n const { palette, semanticColors, effects, fonts } = theme;\n const SpinButtonRootBorderColor = semanticColors.inputBorder;\n const SpinButtonRootBackgroundColor = semanticColors.inputBackground;\n const SpinButtonRootBorderColorHovered = semanticColors.inputBorderHovered;\n const SpinButtonRootBorderColorFocused = semanticColors.inputFocusBorderAlt;\n const SpinButtonInputTextColor = semanticColors.inputText;\n const SpinButtonInputTextColorSelected = palette.white;\n const SpinButtonInputBackgroundColorSelected = semanticColors.inputBackgroundChecked;\n const SpinButtonIconDisabledColor = semanticColors.disabledText;\n return {\n root: [\n fonts.medium,\n {\n outline: 'none',\n width: '100%',\n minWidth: DEFAULT_MIN_WIDTH,\n },\n className,\n ],\n\n labelWrapper: [\n {\n display: 'inline-flex',\n alignItems: 'center',\n },\n labelPosition === Position.start && {\n height: DEFAULT_HEIGHT,\n float: 'left',\n marginRight: LABEL_MARGIN,\n },\n labelPosition === Position.end && {\n height: DEFAULT_HEIGHT,\n float: 'right',\n marginLeft: LABEL_MARGIN,\n },\n labelPosition === Position.top && {\n // Due to the lineHeight set on the label (below), the height of the wrapper (contains icon+label)\n // ends up 1px taller than a standard label height, causing the vertical alignment to be off when\n // the SpinButton is displayed with the label on top next to other form fields.\n // Decrease the wrapper's effective height slightly to compensate.\n marginBottom: -1,\n },\n ],\n\n icon: [\n {\n padding: '0 5px',\n fontSize: IconFontSizes.large,\n },\n disabled && {\n color: SpinButtonIconDisabledColor,\n },\n ],\n\n label: {\n pointerEvents: 'none',\n // centering the label with the icon by forcing the exact same height as the icon.\n lineHeight: IconFontSizes.large,\n },\n\n spinButtonWrapper: [\n {\n display: 'flex',\n position: 'relative',\n boxSizing: 'border-box',\n height: DEFAULT_HEIGHT,\n minWidth: DEFAULT_MIN_WIDTH,\n ...getInputFocusStyle(SpinButtonRootBorderColor, effects.roundedCorner2, 'border', 0),\n ':after': {\n borderWidth: '1px',\n [HighContrastSelector]: {\n borderColor: 'GrayText',\n },\n },\n },\n (labelPosition === Position.top || labelPosition === Position.bottom) && {\n width: '100%',\n },\n\n !disabled && [\n {\n ':hover:after': {\n borderColor: SpinButtonRootBorderColorHovered,\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n },\n },\n },\n isFocused && {\n ':hover:after, :after': {\n borderColor: SpinButtonRootBorderColorFocused,\n borderWidth: '2px',\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n },\n },\n },\n ],\n disabled && getDisabledStyles(theme),\n ],\n\n input: [\n 'ms-spinButton-input',\n {\n boxSizing: 'border-box',\n boxShadow: 'none',\n borderStyle: 'none',\n flex: 1,\n margin: 0,\n fontSize: fonts.medium.fontSize,\n fontFamily: 'inherit',\n color: SpinButtonInputTextColor,\n backgroundColor: SpinButtonRootBackgroundColor,\n height: '100%',\n padding: '0 8px 0 9px',\n outline: 0,\n display: 'block',\n minWidth: DEFAULT_MIN_WIDTH - ARROW_BUTTON_WIDTH - 2,\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n cursor: 'text',\n userSelect: 'text',\n borderRadius: `${effects.roundedCorner2} 0 0 ${effects.roundedCorner2}`,\n },\n !disabled && {\n selectors: {\n '::selection': {\n backgroundColor: SpinButtonInputBackgroundColorSelected,\n color: SpinButtonInputTextColorSelected,\n selectors: {\n [HighContrastSelector]: {\n backgroundColor: 'Highlight',\n borderColor: 'Highlight',\n color: 'HighlightText',\n },\n },\n },\n },\n },\n disabled && getDisabledStyles(theme),\n ],\n\n arrowButtonsContainer: [\n {\n display: 'block',\n height: '100%',\n cursor: 'default',\n },\n disabled && getDisabledStyles(theme),\n ],\n };\n};\n","import * as React from 'react';\nimport { IconButton } from '../../Button';\nimport { Label } from '../../Label';\nimport { Icon } from '../../Icon';\nimport {\n KeyCodes,\n calculatePrecision,\n classNamesFunction,\n precisionRound,\n getNativeProps,\n getPropsWithDefaults,\n divProperties,\n} from '../../Utilities';\nimport { getArrowButtonStyles } from './SpinButton.styles';\nimport { KeyboardSpinDirection } from './SpinButton.types';\nimport { Position } from '../../Positioning';\nimport { useAsync, useControllableValue, useWarnings, useId, usePrevious } from '@fluentui/react-hooks';\nimport type { ISpinButtonProps, ISpinButtonStyleProps, ISpinButtonStyles } from './SpinButton.types';\n\ninterface ISpinButtonInternalState {\n spinningByMouse?: boolean;\n stepTimeoutHandle: number;\n /** Allows access to the latest `value` inside reused callbacks (to avoid stale capture issues) */\n latestValue: string | undefined;\n /** Allows access to the latest `intermediateValue` inside reused callbacks (to avoid stale capture issues) */\n latestIntermediateValue: string | undefined;\n}\n\nconst getClassNames = classNamesFunction();\n\nconst COMPONENT_NAME = 'SpinButton';\nconst DEFAULT_PROPS: Required<\n Pick<\n ISpinButtonProps,\n // These are explicitly specified so that only the things which actually have defaults\n // get marked as required in ISpinButtonPropsWithDefaults below\n 'disabled' | 'label' | 'step' | 'labelPosition' | 'incrementButtonIcon' | 'decrementButtonIcon'\n >\n> = {\n disabled: false,\n label: '',\n step: 1,\n labelPosition: Position.start,\n incrementButtonIcon: { iconName: 'ChevronUpSmall' },\n decrementButtonIcon: { iconName: 'ChevronDownSmall' },\n};\ntype ISpinButtonPropsWithDefaults = ISpinButtonProps & typeof DEFAULT_PROPS;\n\nconst INITIAL_STEP_DELAY = 400;\nconst STEP_DELAY = 75;\n\nconst useComponentRef = (\n props: ISpinButtonProps,\n input: React.RefObject,\n value: string | undefined,\n) => {\n React.useImperativeHandle(\n props.componentRef,\n () => ({\n get value() {\n return value;\n },\n focus() {\n if (input.current) {\n input.current.focus();\n }\n },\n }),\n [input, value],\n );\n};\n\nconst noOp = (): void => {\n /**\n * A noop input change handler. Using onInput instead of onChange was meant to address an issue\n * which apparently has been resolved in React 16 (https://github.com/facebook/react/issues/7027).\n * The no-op onChange handler was still needed because React gives console errors if an input\n * doesn't have onChange.\n *\n * TODO (Fabric 8?) - switch to just calling onChange (this is a breaking change for any tests,\n * ours or 3rd-party, which simulate entering text in a SpinButton)\n */\n};\n\n/** Clamp the value to the provided min and/or max */\nconst clampValue = (value: number, { min, max }: { max?: number; min?: number }) => {\n if (typeof max === 'number') {\n value = Math.min(value, max);\n }\n if (typeof min === 'number') {\n value = Math.max(value, min);\n }\n return value;\n};\n\nexport const SpinButtonBase: React.FunctionComponent = React.forwardRef<\n HTMLDivElement,\n ISpinButtonProps\n>((propsWithoutDefaults, ref) => {\n const props = getPropsWithDefaults(DEFAULT_PROPS, propsWithoutDefaults) as ISpinButtonPropsWithDefaults;\n const {\n disabled,\n label,\n min,\n max,\n step,\n defaultValue,\n value: valueFromProps,\n precision: precisionFromProps,\n labelPosition,\n iconProps,\n incrementButtonIcon,\n incrementButtonAriaLabel,\n decrementButtonIcon,\n decrementButtonAriaLabel,\n ariaLabel,\n ariaDescribedBy,\n upArrowButtonStyles: customUpArrowButtonStyles,\n downArrowButtonStyles: customDownArrowButtonStyles,\n theme,\n ariaPositionInSet,\n ariaSetSize,\n ariaValueNow,\n ariaValueText,\n className,\n inputProps,\n onDecrement,\n onIncrement,\n iconButtonProps,\n onValidate,\n onChange,\n styles,\n } = props;\n\n const input = React.useRef(null);\n const inputId = useId('input');\n const labelId = useId('Label');\n\n const [isFocused, setIsFocused] = React.useState(false);\n const [keyboardSpinDirection, setKeyboardSpinDirection] = React.useState(KeyboardSpinDirection.notSpinning);\n const async = useAsync();\n\n const precision = React.useMemo(() => {\n return precisionFromProps ?? Math.max(calculatePrecision(step), 0);\n }, [precisionFromProps, step]);\n\n /**\n * Actual current value. If `props.value` is provided (controlled), it will always be used.\n * If not (uncontrolled), this tracks the current value based on user modifications.\n * Note that while the user is editing text in the field, this will not be updated until \"commit\"\n * (blur or press enter).\n */\n const [value, setValue] = useControllableValue(valueFromProps, defaultValue ?? String(min || 0), onChange);\n /**\n * \"Uncommitted\" internal value while the user is editing text in the field. This lets us wait to\n * call `onChange` (and possibly update the real value) until the user \"commits\" the value by\n * pressing enter or blurring the field.\n */\n const [intermediateValue, setIntermediateValue] = React.useState();\n\n const { current: internalState } = React.useRef({\n stepTimeoutHandle: -1,\n latestValue: undefined,\n latestIntermediateValue: undefined,\n });\n // On each render, update this saved value used by callbacks. (This should be safe even if render\n // is called multiple times, because an event handler or timeout callback will only run once.)\n internalState.latestValue = value;\n internalState.latestIntermediateValue = intermediateValue;\n\n const previousValueFromProps = usePrevious(valueFromProps);\n React.useEffect(() => {\n // If props.value changes while editing, clear the intermediate value\n if (valueFromProps !== previousValueFromProps && intermediateValue !== undefined) {\n setIntermediateValue(undefined);\n }\n }, [valueFromProps, previousValueFromProps, intermediateValue]);\n\n const classNames = getClassNames(styles, {\n theme: theme!,\n disabled,\n isFocused,\n keyboardSpinDirection,\n labelPosition,\n className,\n });\n\n const nativeProps = getNativeProps>(props, divProperties, [\n 'onBlur',\n 'onFocus',\n 'className',\n 'onChange',\n ]);\n\n /** Validate (commit) function called on blur or enter keypress. */\n const validate = React.useCallback(\n (ev: React.SyntheticEvent): void => {\n // Only run validation if the value changed\n const enteredValue = internalState.latestIntermediateValue;\n if (enteredValue !== undefined && enteredValue !== internalState.latestValue) {\n let newValue: string | undefined;\n if (onValidate) {\n newValue = onValidate(enteredValue, ev) as string | undefined;\n } else if (enteredValue && enteredValue.trim().length && !isNaN(Number(enteredValue))) {\n // default validation handling\n newValue = String(clampValue(Number(enteredValue), { min, max }));\n }\n if (newValue !== undefined && newValue !== internalState.latestValue) {\n // Commit the value if it changed\n setValue(newValue, ev);\n }\n }\n\n // Done validating, so clear the intermediate typed value (if any)\n setIntermediateValue(undefined);\n },\n [internalState, max, min, onValidate, setValue],\n );\n\n /**\n * Stop spinning (clear any currently pending update and set spinning to false)\n */\n const stop = React.useCallback((): void => {\n if (internalState.stepTimeoutHandle >= 0) {\n async.clearTimeout(internalState.stepTimeoutHandle);\n internalState.stepTimeoutHandle = -1;\n }\n if (internalState.spinningByMouse || keyboardSpinDirection !== KeyboardSpinDirection.notSpinning) {\n internalState.spinningByMouse = false;\n setKeyboardSpinDirection(KeyboardSpinDirection.notSpinning);\n }\n }, [internalState, keyboardSpinDirection, async]);\n\n /**\n * Update the value with the given stepFunction.\n * Also starts spinning for mousedown events by scheduling another update with setTimeout.\n * @param stepFunction - function to use to step by\n * @param event - The event that triggered the updateValue\n */\n const updateValue = React.useCallback(\n (\n stepFunction: Required['onIncrement'],\n ev: React.MouseEvent | React.KeyboardEvent,\n ): void => {\n ev.persist();\n\n if (internalState.latestIntermediateValue !== undefined) {\n // Edge case: if intermediateValue is set, this means that the user was editing the input\n // text and then started spinning (either with mouse or keyboard). We need to validate and\n // call onChange before starting to spin.\n if (ev.type === 'keydown' || ev.type === 'mousedown') {\n // For the arrow keys, we have to manually trigger validation.\n // (For the buttons, validation will happen automatically since the input's onBlur will\n // be triggered after mousedown on the button completes.)\n validate(ev);\n }\n async.requestAnimationFrame(() => {\n // After handling any value updates, do the spinning update\n updateValue(stepFunction, ev);\n });\n return;\n }\n\n // Call the step function and update the value.\n // (Note: we access the latest value via internalState (not directly) to ensure we don't use\n // a stale captured value. This is mainly important for spinning by mouse, where we trigger\n // additional calls to the original updateValue function via setTimeout. It also lets us\n // avoid useCallback deps on frequently changing values.)\n const newValue = stepFunction(internalState.latestValue || '', ev) as string | undefined;\n if (newValue !== undefined && newValue !== internalState.latestValue) {\n setValue(newValue, ev);\n }\n\n // Schedule the next spin if applicable\n // (will be canceled if there's a mouseup before the timeout runs)\n const wasSpinning = internalState.spinningByMouse;\n internalState.spinningByMouse = ev.type === 'mousedown';\n if (internalState.spinningByMouse) {\n internalState.stepTimeoutHandle = async.setTimeout(\n () => {\n updateValue(stepFunction, ev);\n },\n wasSpinning ? STEP_DELAY : INITIAL_STEP_DELAY, // the first step is slower\n );\n }\n },\n [internalState, async, validate, setValue],\n );\n\n /** Composed increment handler (uses `props.onIncrement` or default) */\n const handleIncrement = React.useCallback(\n (newValue: string): string | void => {\n if (onIncrement) {\n return onIncrement(newValue);\n } else {\n let numericValue = clampValue(Number(newValue) + Number(step), { max });\n numericValue = precisionRound(numericValue, precision);\n return String(numericValue);\n }\n },\n [precision, max, onIncrement, step],\n );\n\n /** Composed decrement handler (uses `props.onDecrement` or default) */\n const handleDecrement = React.useCallback(\n (newValue: string): string | void => {\n if (onDecrement) {\n return onDecrement(newValue);\n } else {\n let numericValue = clampValue(Number(newValue) - Number(step), { min });\n numericValue = precisionRound(numericValue, precision);\n return String(numericValue);\n }\n },\n [precision, min, onDecrement, step],\n );\n\n /** Handles when the user types in the input */\n const handleInputChange = (ev: React.FormEvent): void => {\n setIntermediateValue((ev.target as HTMLInputElement).value);\n };\n\n /** Composed focus handler (does internal stuff and calls `props.onFocus`) */\n const handleFocus = (ev: React.FocusEvent): void => {\n // We can't set focus on a non-existing element\n if (!input.current) {\n return;\n }\n if (internalState.spinningByMouse || keyboardSpinDirection !== KeyboardSpinDirection.notSpinning) {\n stop();\n }\n input.current.select();\n setIsFocused(true);\n props.onFocus?.(ev);\n };\n\n /** Composed blur handler (does internal stuff and calls `props.onBlur`) */\n const handleBlur = (ev: React.FocusEvent): void => {\n validate(ev);\n setIsFocused(false);\n props.onBlur?.(ev);\n };\n\n /** Update value when arrow keys are pressed, commit on enter, or revert on escape */\n const handleKeyDown = (ev: React.KeyboardEvent): void => {\n // eat the up and down arrow keys to keep focus in the spinButton\n // (especially when a spinButton is inside of a FocusZone)\n // eslint-disable-next-line deprecation/deprecation\n if (ev.which === KeyCodes.up || ev.which === KeyCodes.down || ev.which === KeyCodes.enter) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n if (disabled) {\n stop();\n return;\n }\n\n let spinDirection = KeyboardSpinDirection.notSpinning;\n\n // eslint-disable-next-line deprecation/deprecation\n switch (ev.which) {\n case KeyCodes.up:\n spinDirection = KeyboardSpinDirection.up;\n updateValue(handleIncrement, ev);\n break;\n case KeyCodes.down:\n spinDirection = KeyboardSpinDirection.down;\n updateValue(handleDecrement, ev);\n break;\n case KeyCodes.enter:\n // Commit the edited value\n validate(ev);\n break;\n case KeyCodes.escape:\n // Revert to previous value\n setIntermediateValue(undefined);\n break;\n }\n // style the increment/decrement button to look active\n // when the corresponding up/down arrow keys trigger a step\n if (keyboardSpinDirection !== spinDirection) {\n setKeyboardSpinDirection(spinDirection);\n }\n };\n\n /** Stop spinning on keyUp if the up or down arrow key fired this event */\n const handleKeyUp = React.useCallback(\n (ev: React.KeyboardEvent): void => {\n // eslint-disable-next-line deprecation/deprecation\n if (disabled || ev.which === KeyCodes.up || ev.which === KeyCodes.down) {\n stop();\n return;\n }\n },\n [disabled, stop],\n );\n\n const handleIncrementMouseDown = React.useCallback(\n (ev: React.MouseEvent): void => {\n updateValue(handleIncrement, ev);\n },\n [handleIncrement, updateValue],\n );\n\n const handleDecrementMouseDown = React.useCallback(\n (ev: React.MouseEvent): void => {\n updateValue(handleDecrement, ev);\n },\n [handleDecrement, updateValue],\n );\n\n useComponentRef(props, input, value);\n useDebugWarnings(props);\n\n const valueIsNumber = !!value && !isNaN(Number(value)); // Number('') is 0 which may not be desirable\n\n const labelContent = (iconProps || label) && (\n
    \n {iconProps && }\n {label && (\n \n )}\n
    \n );\n\n return (\n
    \n {labelPosition !== Position.bottom && labelContent}\n \n \n \n \n \n \n
    \n {labelPosition === Position.bottom && labelContent}\n \n );\n});\nSpinButtonBase.displayName = COMPONENT_NAME;\n\nconst useDebugWarnings = (props: ISpinButtonProps) => {\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks -- build-time conditional\n useWarnings({\n name: COMPONENT_NAME,\n props,\n mutuallyExclusive: { value: 'defaultValue' },\n });\n }\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { SpinButtonBase } from './SpinButton.base';\nimport { getStyles } from './SpinButton.styles';\nimport type { ISpinButtonProps, ISpinButtonStyles } from './SpinButton.types';\n\n/**\n * The SpinButton control and related tabs pattern are used for navigating frequently accessed,\n * distinct content categories. SpinButtons allow for navigation between two or more content\n * views and relies on text headers to articulate the different sections of content.\n */\nexport const SpinButton: React.FunctionComponent = styled(\n SpinButtonBase,\n getStyles,\n undefined,\n {\n scope: 'SpinButton',\n },\n);\n","import * as React from 'react';\nimport { SpinnerType, SpinnerSize } from './Spinner.types';\nimport { classNamesFunction, DelayedRender, getNativeProps, divProperties } from '../../Utilities';\nimport type { ISpinnerProps, ISpinnerStyleProps, ISpinnerStyles } from './Spinner.types';\n\nconst getClassNames = classNamesFunction();\n\nexport class SpinnerBase extends React.Component {\n public static defaultProps: ISpinnerProps = {\n size: SpinnerSize.medium,\n ariaLive: 'polite',\n labelPosition: 'bottom',\n };\n\n public render() {\n // eslint-disable-next-line deprecation/deprecation\n const { type, size, ariaLabel, ariaLive, styles, label, theme, className, labelPosition } = this.props;\n const statusMessage = ariaLabel;\n const nativeProps = getNativeProps>(this.props, divProperties, ['size']);\n\n // SpinnerType is deprecated. If someone is still using this property, rather than putting the SpinnerType into the\n // ISpinnerStyleProps, we'll map SpinnerType to its equivalent SpinnerSize and pass that in. Once SpinnerType\n // finally goes away we should delete this.\n let styleSize = size;\n if (styleSize === undefined && type !== undefined) {\n // eslint-disable-next-line deprecation/deprecation\n styleSize = type === SpinnerType.large ? SpinnerSize.large : SpinnerSize.medium;\n }\n\n const classNames = getClassNames(styles!, {\n theme: theme!,\n size: styleSize,\n className,\n labelPosition,\n });\n\n return (\n
    \n
    \n {label &&
    {label}
    }\n {statusMessage && (\n
    \n \n
    {statusMessage}
    \n
    \n
    \n )}\n
    \n );\n }\n}\n","import { SpinnerSize } from './Spinner.types';\nimport {\n hiddenContentStyle,\n keyframes,\n HighContrastSelector,\n getGlobalClassNames,\n getHighContrastNoAdjustStyle,\n} from '../../Styling';\nimport { memoizeFunction } from '../../Utilities';\nimport type { ISpinnerStyleProps, ISpinnerStyles } from './Spinner.types';\n\nconst GlobalClassNames = {\n root: 'ms-Spinner',\n circle: 'ms-Spinner-circle',\n label: 'ms-Spinner-label',\n};\n\nconst spinAnimation = memoizeFunction(() =>\n keyframes({\n '0%': {\n transform: 'rotate(0deg)',\n },\n '100%': {\n transform: 'rotate(360deg)',\n },\n }),\n);\n\nexport const getStyles = (props: ISpinnerStyleProps): ISpinnerStyles => {\n const { theme, size, className, labelPosition } = props;\n\n const { palette } = theme;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return {\n root: [\n classNames.root,\n {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n },\n labelPosition === 'top' && {\n flexDirection: 'column-reverse',\n },\n labelPosition === 'right' && {\n flexDirection: 'row',\n },\n labelPosition === 'left' && {\n flexDirection: 'row-reverse',\n },\n className,\n ],\n circle: [\n classNames.circle,\n {\n boxSizing: 'border-box',\n borderRadius: '50%',\n border: '1.5px solid ' + palette.themeLight,\n borderTopColor: palette.themePrimary,\n animationName: spinAnimation(),\n animationDuration: '1.3s',\n animationIterationCount: 'infinite',\n animationTimingFunction: 'cubic-bezier(.53,.21,.29,.67)',\n selectors: {\n [HighContrastSelector]: {\n borderTopColor: 'Highlight',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n size === SpinnerSize.xSmall && [\n 'ms-Spinner--xSmall',\n {\n width: 12,\n height: 12,\n },\n ],\n size === SpinnerSize.small && [\n 'ms-Spinner--small',\n {\n width: 16,\n height: 16,\n },\n ],\n size === SpinnerSize.medium && [\n 'ms-Spinner--medium',\n {\n width: 20,\n height: 20,\n },\n ],\n size === SpinnerSize.large && [\n 'ms-Spinner--large',\n {\n width: 28,\n height: 28,\n },\n ],\n ],\n label: [\n classNames.label,\n theme.fonts.small,\n {\n color: palette.themePrimary,\n margin: '8px 0 0',\n textAlign: 'center',\n },\n labelPosition === 'top' && {\n margin: '0 0 8px',\n },\n labelPosition === 'right' && {\n margin: '0 0 0 8px',\n },\n labelPosition === 'left' && {\n margin: '0 8px 0 0',\n },\n ],\n screenReaderText: hiddenContentStyle,\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { SpinnerBase } from './Spinner.base';\nimport { getStyles } from './Spinner.styles';\nimport type { ISpinnerProps, ISpinnerStyles, ISpinnerStyleProps } from './Spinner.types';\n\nexport const Spinner: React.FunctionComponent = styled<\n ISpinnerProps,\n ISpinnerStyleProps,\n ISpinnerStyles\n>(SpinnerBase, getStyles, undefined, { scope: 'Spinner' });\n","import * as React from 'react';\nimport type { ITheme, IStyle } from '../../Styling';\nimport type { IRefObject, IStyleFunctionOrObject } from '../../Utilities';\n\n/**\n * {@docCategory Spinner}\n */\nexport interface ISpinner {}\n\n/**\n * Spinner component props.\n * {@docCategory Spinner}\n */\nexport interface ISpinnerProps extends React.HTMLAttributes {\n /**\n * Optional callback to access the ISpinner interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject;\n\n /**\n * @deprecated Use `size` instead. Will be removed at \\>= 2.0.0.\n */\n // eslint-disable-next-line deprecation/deprecation\n type?: SpinnerType;\n\n /**\n * The size of Spinner to render.\n * @defaultvalue SpinnerType.medium\n */\n size?: SpinnerSize;\n\n /**\n * The label to show next to the Spinner. Label updates will be announced to the screen readers.\n * Use ariaLive to control politeness level.\n */\n label?: string;\n\n /**\n * Additional CSS class(es) to apply to the Spinner.\n */\n className?: string;\n\n /**\n * Politeness setting for label update announcement.\n * @defaultvalue polite\n */\n ariaLive?: 'assertive' | 'polite' | 'off';\n\n /**\n * Alternative status label for screen reader\n */\n ariaLabel?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * The position of the label in regards of the spinner animation.\n * @defaultvalue SpinnerLabelPosition.bottom\n */\n labelPosition?: SpinnerLabelPosition;\n}\n\n/**\n * Possible variations of the spinner circle size.\n * {@docCategory Spinner}\n */\nexport enum SpinnerSize {\n /**\n * 12px Spinner diameter\n */\n xSmall = 0,\n\n /**\n * 16px Spinner diameter\n */\n small = 1,\n\n /**\n * 20px Spinner diameter\n */\n medium = 2,\n\n /**\n * 28px Spinner diameter\n */\n large = 3,\n}\n\n/**\n * Possible locations of the label in regards to the spinner\n * {@docCategory Spinner}\n */\nexport type SpinnerLabelPosition = 'top' | 'right' | 'bottom' | 'left';\n\n/**\n * @deprecated Use `SpinnerSize` instead. Will be removed at \\>= 2.0.0.\n * {@docCategory Spinner}\n */\nexport enum SpinnerType {\n /**\n * @deprecated Use `SpinnerSize.medium` instead. Will be removed at \\>= 2.0.0.\n */\n normal = 0,\n\n /**\n * @deprecated Use `SpinnerSize.large` instead. Will be removed at \\>= 2.0.0.\n */\n large = 1,\n}\n\n/**\n * The props needed to construct styles.\n * This represents the simplified set of immutable things which control the class names.\n * {@docCategory Spinner}\n */\nexport interface ISpinnerStyleProps {\n /** Theme provided by High-Order Component. */\n theme: ITheme;\n\n /** Size of the spinner animation. */\n size?: SpinnerSize;\n\n /** CSS class name for the component attached to the root stylable area. */\n className?: string;\n\n /** Position of the label in regards to the spinner animation. */\n labelPosition?: SpinnerLabelPosition;\n}\n\n/**\n * Represents the stylable areas of the control.\n * {@docCategory Spinner}\n */\nexport interface ISpinnerStyles {\n /** Styles for the root element. Refers to the wrapper containing both the circle and the label. */\n root?: IStyle;\n\n /** Styles for the spinner circle animation. */\n circle?: IStyle;\n\n /** Styles for the label accompanying the circle. */\n label?: IStyle;\n\n /** Styles for the hidden helper element to aid with screen readers. */\n screenReaderText?: IStyle;\n}\n","import { getGlobalClassNames } from '../../../Styling';\nimport type { IStackItemComponent, IStackItemStyles, IStackItemStylesReturnType } from './StackItem.types';\n\nexport const GlobalClassNames = {\n root: 'ms-StackItem',\n};\n\nconst alignMap: { [key: string]: string } = {\n start: 'flex-start',\n end: 'flex-end',\n};\n\nexport const StackItemStyles: IStackItemComponent['styles'] = (props, theme, tokens): IStackItemStylesReturnType => {\n const { grow, shrink, disableShrink, align, verticalFill, order, className, basis = 'auto' } = props;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return {\n root: [\n theme.fonts.medium,\n classNames.root,\n {\n flexBasis: basis,\n margin: tokens.margin,\n padding: tokens.padding,\n height: verticalFill ? '100%' : 'auto',\n width: 'auto',\n },\n grow && {\n flexGrow: grow === true ? 1 : grow,\n },\n (disableShrink || (!grow && !shrink)) && {\n flexShrink: 0,\n },\n shrink &&\n !disableShrink && {\n flexShrink: 1,\n },\n align && {\n alignSelf: alignMap[align] || align,\n },\n order && {\n order,\n },\n className,\n ],\n // TODO: this cast may be hiding some potential issues with styling and name\n // lookups and should be removed\n } as IStackItemStyles;\n};\n","import type { ITheme } from '../../Styling';\nimport type { IStackProps } from './Stack.types';\n\n// Helper function that converts a themed spacing key (if given) to the corresponding themed spacing value.\nconst _getThemedSpacing = (space: string, theme: ITheme): string => {\n if (theme.spacing.hasOwnProperty(space)) {\n return theme.spacing[space as keyof typeof theme.spacing];\n }\n return space;\n};\n\n// Helper function that takes a gap as a string and converts it into a { value, unit } representation.\nconst _getValueUnitGap = (gap: string): { value: number; unit: string } => {\n const numericalPart = parseFloat(gap);\n const numericalValue = isNaN(numericalPart) ? 0 : numericalPart;\n const numericalString = isNaN(numericalPart) ? '' : numericalPart.toString();\n\n const unitPart = gap.substring(numericalString.toString().length);\n\n return {\n value: numericalValue,\n unit: unitPart || 'px',\n };\n};\n\n/**\n * Takes in a gap size in either a CSS-style format (e.g. 10 or \"10px\")\n * or a key of a themed spacing value (e.g. \"s1\").\n * Returns the separate numerical value of the padding (e.g. 10)\n * and the CSS unit (e.g. \"px\").\n */\nexport const parseGap = (\n gap: IStackProps['gap'],\n theme: ITheme,\n): { rowGap: { value: number; unit: string }; columnGap: { value: number; unit: string } } => {\n if (gap === undefined || gap === '') {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n if (typeof gap === 'number') {\n return {\n rowGap: {\n value: gap,\n unit: 'px',\n },\n columnGap: {\n value: gap,\n unit: 'px',\n },\n };\n }\n\n const splitGap = gap.split(' ');\n\n // If the array has more than two values, then return 0px.\n if (splitGap.length > 2) {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n // If the array has two values, then parse each one.\n if (splitGap.length === 2) {\n return {\n rowGap: _getValueUnitGap(_getThemedSpacing(splitGap[0], theme)),\n columnGap: _getValueUnitGap(_getThemedSpacing(splitGap[1], theme)),\n };\n }\n\n // Else, parse the numerical value and pass it as both the vertical and horizontal gap.\n const calculatedGap = _getValueUnitGap(_getThemedSpacing(gap, theme));\n\n return {\n rowGap: calculatedGap,\n columnGap: calculatedGap,\n };\n};\n\n/**\n * Takes in a padding in a CSS-style format (e.g. 10, \"10px\", \"10px 10px\", etc.)\n * where the separate padding values can also be the key of a themed spacing value\n * (e.g. \"s1 m\", \"10px l1 20px l2\", etc.).\n * Returns a CSS-style padding.\n */\nexport const parsePadding = (padding: number | string | undefined, theme: ITheme): number | string | undefined => {\n if (padding === undefined || typeof padding === 'number' || padding === '') {\n return padding;\n }\n\n const paddingValues = padding.split(' ');\n if (paddingValues.length < 2) {\n return _getThemedSpacing(padding, theme);\n }\n\n return paddingValues.reduce((padding1: string, padding2: string) => {\n return _getThemedSpacing(padding1, theme) + ' ' + _getThemedSpacing(padding2, theme);\n });\n};\n","import { getGlobalClassNames } from '../../Styling';\nimport { GlobalClassNames as StackItemGlobalClassNames } from './StackItem/StackItem.styles';\nimport { parseGap, parsePadding } from './StackUtils';\nimport type { IStackComponent, IStackStyles, IStackStylesReturnType } from './Stack.types';\n\nconst nameMap: { [key: string]: string } = {\n start: 'flex-start',\n end: 'flex-end',\n};\n\nexport const GlobalClassNames = {\n root: 'ms-Stack',\n inner: 'ms-Stack-inner',\n child: 'ms-Stack-child',\n};\n\nexport const styles: IStackComponent['styles'] = (props, theme, tokens): IStackStylesReturnType => {\n const {\n className,\n disableShrink,\n enableScopedSelectors,\n grow,\n horizontal,\n horizontalAlign,\n reversed,\n verticalAlign,\n verticalFill,\n wrap,\n } = props;\n\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n /* eslint-disable deprecation/deprecation */\n const childrenGap = tokens && tokens.childrenGap ? tokens.childrenGap : props.gap;\n const maxHeight = tokens && tokens.maxHeight ? tokens.maxHeight : props.maxHeight;\n const maxWidth = tokens && tokens.maxWidth ? tokens.maxWidth : props.maxWidth;\n const padding = tokens && tokens.padding ? tokens.padding : props.padding;\n /* eslint-enable deprecation/deprecation */\n\n const { rowGap, columnGap } = parseGap(childrenGap, theme);\n\n const horizontalMargin = `${-0.5 * columnGap.value}${columnGap.unit}`;\n const verticalMargin = `${-0.5 * rowGap.value}${rowGap.unit}`;\n\n // styles to be applied to all direct children regardless of wrap or direction\n const childStyles = {\n textOverflow: 'ellipsis',\n };\n\n const childSelector = '> ' + (enableScopedSelectors ? '.' + GlobalClassNames.child : '*');\n\n const disableShrinkStyles = {\n // flexShrink styles are applied by the StackItem\n [`${childSelector}:not(.${StackItemGlobalClassNames.root})`]: {\n flexShrink: 0,\n },\n };\n\n if (wrap) {\n return {\n root: [\n classNames.root,\n {\n flexWrap: 'wrap',\n maxWidth,\n maxHeight,\n width: 'auto',\n overflow: 'visible',\n height: '100%',\n },\n horizontalAlign && {\n [horizontal ? 'justifyContent' : 'alignItems']: nameMap[horizontalAlign] || horizontalAlign,\n },\n verticalAlign && {\n [horizontal ? 'alignItems' : 'justifyContent']: nameMap[verticalAlign] || verticalAlign,\n },\n className,\n {\n // not allowed to be overridden by className\n // since this is necessary in order to prevent collapsing margins\n display: 'flex',\n },\n horizontal && {\n height: verticalFill ? '100%' : 'auto',\n },\n ],\n\n inner: [\n classNames.inner,\n {\n display: 'flex',\n flexWrap: 'wrap',\n marginLeft: horizontalMargin,\n marginRight: horizontalMargin,\n marginTop: verticalMargin,\n marginBottom: verticalMargin,\n overflow: 'visible',\n boxSizing: 'border-box',\n padding: parsePadding(padding, theme),\n // avoid unnecessary calc() calls if horizontal gap is 0\n width: columnGap.value === 0 ? '100%' : `calc(100% + ${columnGap.value}${columnGap.unit})`,\n maxWidth: '100vw',\n\n [childSelector]: {\n margin: `${0.5 * rowGap.value}${rowGap.unit} ${0.5 * columnGap.value}${columnGap.unit}`,\n\n ...childStyles,\n },\n },\n disableShrink && disableShrinkStyles,\n horizontalAlign && {\n [horizontal ? 'justifyContent' : 'alignItems']: nameMap[horizontalAlign] || horizontalAlign,\n },\n verticalAlign && {\n [horizontal ? 'alignItems' : 'justifyContent']: nameMap[verticalAlign] || verticalAlign,\n },\n horizontal && {\n flexDirection: reversed ? 'row-reverse' : 'row',\n\n // avoid unnecessary calc() calls if vertical gap is 0\n height: rowGap.value === 0 ? '100%' : `calc(100% + ${rowGap.value}${rowGap.unit})`,\n\n [childSelector]: {\n maxWidth: columnGap.value === 0 ? '100%' : `calc(100% - ${columnGap.value}${columnGap.unit})`,\n },\n },\n !horizontal && {\n flexDirection: reversed ? 'column-reverse' : 'column',\n height: `calc(100% + ${rowGap.value}${rowGap.unit})`,\n\n [childSelector]: {\n maxHeight: rowGap.value === 0 ? '100%' : `calc(100% - ${rowGap.value}${rowGap.unit})`,\n },\n },\n ],\n } as IStackStyles;\n }\n\n return {\n root: [\n classNames.root,\n {\n display: 'flex',\n flexDirection: horizontal ? (reversed ? 'row-reverse' : 'row') : reversed ? 'column-reverse' : 'column',\n flexWrap: 'nowrap',\n width: 'auto',\n height: verticalFill ? '100%' : 'auto',\n maxWidth,\n maxHeight,\n padding: parsePadding(padding, theme),\n boxSizing: 'border-box',\n\n [childSelector]: childStyles,\n },\n disableShrink && disableShrinkStyles,\n grow && {\n flexGrow: grow === true ? 1 : grow,\n },\n\n horizontalAlign && {\n [horizontal ? 'justifyContent' : 'alignItems']: nameMap[horizontalAlign] || horizontalAlign,\n },\n verticalAlign && {\n [horizontal ? 'alignItems' : 'justifyContent']: nameMap[verticalAlign] || verticalAlign,\n },\n horizontal &&\n columnGap.value > 0 && {\n // apply gap margin to every direct child except the first direct child if the direction is not reversed,\n // and the last direct one if it is\n [reversed ? `${childSelector}:not(:last-child)` : `${childSelector}:not(:first-child)`]: {\n marginLeft: `${columnGap.value}${columnGap.unit}`,\n },\n },\n !horizontal &&\n rowGap.value > 0 && {\n // apply gap margin to every direct child except the first direct child if the direction is not reversed,\n // and the last direct one if it is\n [reversed ? `${childSelector}:not(:last-child)` : `${childSelector}:not(:first-child)`]: {\n marginTop: `${rowGap.value}${rowGap.unit}`,\n },\n },\n className,\n ],\n // TODO: this cast may be hiding some potential issues with styling and name\n // lookups and should be removed\n } as IStackStyles;\n};\n","/** @jsxRuntime classic */\n/** @jsx withSlots */\nimport * as React from 'react';\nimport { withSlots, createComponent, getSlots } from '@fluentui/foundation-legacy';\nimport { getNativeProps, htmlElementProperties } from '../../../Utilities';\nimport { StackItemStyles as styles } from './StackItem.styles';\nimport type { IStackItemComponent, IStackItemProps, IStackItemSlots } from './StackItem.types';\n\nconst StackItemView: IStackItemComponent['view'] = props => {\n const { children } = props;\n const nativeProps = getNativeProps>(props, htmlElementProperties);\n // eslint-disable-next-line eqeqeq\n if (children == null) {\n return null;\n }\n\n const Slots = getSlots(props, {\n root: 'div',\n });\n\n return {children};\n};\n\nexport const StackItem: React.FunctionComponent = createComponent(StackItemView, {\n displayName: 'StackItem',\n styles,\n});\n\nexport default StackItem;\n","/** @jsxRuntime classic */\n/** @jsx withSlots */\nimport * as React from 'react';\nimport { withSlots, createComponent, getSlots } from '@fluentui/foundation-legacy';\nimport { css, getNativeProps, htmlElementProperties, warnDeprecations } from '../../Utilities';\nimport { styles, GlobalClassNames as StackGlobalClassNames } from './Stack.styles';\nimport { StackItem } from './StackItem/StackItem';\nimport type { IStackComponent, IStackProps, IStackSlots } from './Stack.types';\nimport type { IStackItemProps } from './StackItem/StackItem.types';\n\nconst StackView: IStackComponent['view'] = props => {\n const {\n as: RootType = 'div',\n disableShrink = false,\n // eslint-disable-next-line deprecation/deprecation\n doNotRenderFalsyValues = false,\n enableScopedSelectors = false,\n wrap,\n ...rest\n } = props;\n\n warnDeprecations('Stack', props, {\n gap: 'tokens.childrenGap',\n maxHeight: 'tokens.maxHeight',\n maxWidth: 'tokens.maxWidth',\n padding: 'tokens.padding',\n });\n\n const stackChildren = _processStackChildren(props.children, {\n disableShrink,\n enableScopedSelectors,\n doNotRenderFalsyValues,\n });\n\n const nativeProps = getNativeProps>(rest, htmlElementProperties);\n\n const Slots = getSlots(props, {\n root: RootType,\n inner: 'div',\n });\n\n if (wrap) {\n return (\n \n {stackChildren}\n \n );\n }\n\n return {stackChildren};\n};\n\nfunction _processStackChildren(\n children: React.ReactNode,\n {\n disableShrink,\n enableScopedSelectors,\n doNotRenderFalsyValues,\n }: { disableShrink: boolean; enableScopedSelectors: boolean; doNotRenderFalsyValues: boolean },\n): (React.ReactChild | React.ReactFragment | React.ReactPortal)[] {\n let childrenArray = React.Children.toArray(children);\n\n childrenArray = React.Children.map(childrenArray, child => {\n if (!child) {\n return doNotRenderFalsyValues ? null : child;\n }\n\n // We need to allow children that aren't falsy values, but not valid elements since they could be\n // a string like {'sample string'}\n if (!React.isValidElement(child)) {\n return child;\n }\n\n if (child.type === React.Fragment) {\n return child.props.children\n ? _processStackChildren(child.props.children, { disableShrink, enableScopedSelectors, doNotRenderFalsyValues })\n : null;\n }\n\n const childAsReactElement = child as React.ReactElement;\n\n let defaultItemProps: IStackItemProps = {};\n if (_isStackItem(child)) {\n defaultItemProps = { shrink: !disableShrink };\n }\n const childClassName = childAsReactElement.props.className;\n\n return React.cloneElement(childAsReactElement, {\n ...defaultItemProps,\n ...childAsReactElement.props,\n ...(childClassName && { className: childClassName }),\n ...(enableScopedSelectors && { className: css(StackGlobalClassNames.child, childClassName) }),\n });\n });\n\n return childrenArray;\n}\n\nfunction _isStackItem(item: React.ReactNode): item is typeof StackItem {\n // In theory, we should be able to just check item.type === StackItem.\n // However, under certain unclear circumstances (see https://github.com/microsoft/fluentui/issues/10785),\n // the object identity is different despite the function implementation being the same.\n return (\n !!item &&\n typeof item === 'object' &&\n !!(item as React.ReactElement).type &&\n // StackItem is generated by createComponent, so we need to check its displayName instead of name\n ((item as React.ReactElement).type as React.ComponentType).displayName === StackItem.displayName\n );\n}\n\nconst StackStatics = {\n Item: StackItem,\n};\n\nexport const Stack: React.FunctionComponent & {\n Item: React.FunctionComponent;\n} = createComponent(StackView, {\n displayName: 'Stack',\n styles,\n statics: StackStatics,\n});\n\nexport default Stack;\n","export interface IMaskValue {\n value?: string;\n /**\n * This index refers to the index in the displayMask rather than the inputMask.\n * This means that any escaped characters do not count toward this index.\n */\n displayIndex: number;\n format: RegExp;\n}\n\nexport const DEFAULT_MASK_FORMAT_CHARS: { [key: string]: RegExp } = {\n '9': /[0-9]/,\n a: /[a-zA-Z]/,\n '*': /[a-zA-Z0-9]/,\n};\n\n/**\n * Takes in the mask string and the formatCharacters and returns an array of MaskValues\n * Example:\n * mask = 'Phone Number: (999) - 9999'\n * return = [\n * { value: undefined, displayIndex: 16, format: /[0-9]/ },\n * { value: undefined, displayIndex: 17, format: /[0-9]/ },\n * { value: undefined, displayIndex: 18, format: /[0-9]/ },\n * { value: undefined, displayIndex: 22, format: /[0-9]/ },\n * ]\n *\n * @param mask The string use to define the format of the displayed maskedValue.\n * @param formatChars An object defining how certain characters in the mask should accept input.\n */\nexport function parseMask(\n mask: string | undefined,\n formatChars: { [key: string]: RegExp } = DEFAULT_MASK_FORMAT_CHARS,\n): IMaskValue[] {\n if (!mask) {\n return [];\n }\n\n const maskCharData: IMaskValue[] = [];\n // Count the escape characters in the mask string.\n let escapedChars = 0;\n for (let i = 0; i + escapedChars < mask.length; i++) {\n const maskChar = mask.charAt(i + escapedChars);\n if (maskChar === '\\\\') {\n escapedChars++;\n } else {\n // Check if the maskChar is a format character.\n const maskFormat = formatChars[maskChar];\n if (maskFormat) {\n maskCharData.push({\n /**\n * Do not add escapedChars to the displayIndex.\n * The index refers to a position in the mask's displayValue.\n * Since the backslashes don't appear in the displayValue,\n * we do not add them to the charData displayIndex.\n */\n displayIndex: i,\n format: maskFormat,\n });\n }\n }\n }\n\n return maskCharData;\n}\n\n/**\n * Takes in the mask string, an array of MaskValues, and the maskCharacter\n * returns the mask string formatted with the input values and maskCharacter.\n * If the maskChar is undefined, the maskDisplay is truncated to the last filled format character.\n * Example:\n * mask = 'Phone Number: (999) 999 - 9999'\n * maskCharData = '12345'\n * maskChar = '_'\n * return = 'Phone Number: (123) 45_ - ___'\n *\n * Example:\n * mask = 'Phone Number: (999) 999 - 9999'\n * value = '12345'\n * maskChar = undefined\n * return = 'Phone Number: (123) 45'\n *\n * @param mask The string use to define the format of the displayed maskedValue.\n * @param maskCharData The input values to insert into the mask string for displaying.\n * @param maskChar? A character to display in place of unfilled mask format characters.\n */\nexport function getMaskDisplay(mask: string | undefined, maskCharData: IMaskValue[], maskChar?: string): string {\n let maskDisplay = mask;\n\n if (!maskDisplay) {\n return '';\n }\n\n // Remove all backslashes\n maskDisplay = maskDisplay.replace(/\\\\/g, '');\n\n // lastDisplayIndex is is used to truncate the string if necessary.\n let lastDisplayIndex = 0;\n if (maskCharData.length > 0) {\n lastDisplayIndex = maskCharData[0].displayIndex - 1;\n }\n\n /**\n * For each input value, replace the character in the maskDisplay with the value.\n * If there is no value set for the format character, use the maskChar.\n */\n for (const charData of maskCharData) {\n let nextChar = ' ';\n if (charData.value) {\n nextChar = charData.value;\n if (charData.displayIndex > lastDisplayIndex) {\n lastDisplayIndex = charData.displayIndex;\n }\n } else {\n if (maskChar) {\n nextChar = maskChar;\n }\n }\n\n // Insert the character into the maskdisplay at its corresponding index\n maskDisplay = maskDisplay.slice(0, charData.displayIndex) + nextChar + maskDisplay.slice(charData.displayIndex + 1);\n }\n\n // Cut off all mask characters after the last filled format value\n if (!maskChar) {\n maskDisplay = maskDisplay.slice(0, lastDisplayIndex + 1);\n }\n\n return maskDisplay;\n}\n\n/**\n * Get the next format index right of or at a specified index.\n * If no index exists, returns the rightmost index.\n * @param maskCharData\n * @param index\n */\nexport function getRightFormatIndex(maskCharData: IMaskValue[], index: number): number {\n for (let i = 0; i < maskCharData.length; i++) {\n if (maskCharData[i].displayIndex >= index) {\n return maskCharData[i].displayIndex;\n }\n }\n return maskCharData[maskCharData.length - 1].displayIndex;\n}\n\n/**\n * Get the next format index left of a specified index.\n * If no index exists, returns the leftmost index.\n * @param maskCharData\n * @param index\n */\nexport function getLeftFormatIndex(maskCharData: IMaskValue[], index: number): number {\n for (let i = maskCharData.length - 1; i >= 0; i--) {\n if (maskCharData[i].displayIndex < index) {\n return maskCharData[i].displayIndex;\n }\n }\n return maskCharData[0].displayIndex;\n}\n\n/**\n * Deletes all values in maskCharData with a displayIndex that falls inside the specified range.\n * maskCharData is modified inline and also returned.\n * @param maskCharData\n * @param selectionStart\n * @param selectionCount\n */\nexport function clearRange(maskCharData: IMaskValue[], selectionStart: number, selectionCount: number): IMaskValue[] {\n for (let i = 0; i < maskCharData.length; i++) {\n if (maskCharData[i].displayIndex >= selectionStart) {\n if (maskCharData[i].displayIndex >= selectionStart + selectionCount) {\n break;\n }\n maskCharData[i].value = undefined;\n }\n }\n return maskCharData;\n}\n\n/**\n * Deletes the input character at or after a specified index and returns the new array of charData\n * maskCharData is modified inline and also returned.\n * @param maskCharData\n * @param selectionStart\n */\nexport function clearNext(maskCharData: IMaskValue[], selectionStart: number): IMaskValue[] {\n for (let i = 0; i < maskCharData.length; i++) {\n if (maskCharData[i].displayIndex >= selectionStart) {\n maskCharData[i].value = undefined;\n break;\n }\n }\n return maskCharData;\n}\n\n/**\n * Deletes the input character before a specified index and returns the new array of charData\n * maskCharData is modified inline and also returned.\n * @param maskCharData\n * @param selectionStart\n */\nexport function clearPrev(maskCharData: IMaskValue[], selectionStart: number): IMaskValue[] {\n for (let i = maskCharData.length - 1; i >= 0; i--) {\n if (maskCharData[i].displayIndex < selectionStart) {\n maskCharData[i].value = undefined;\n break;\n }\n }\n return maskCharData;\n}\n\n/**\n * Deletes all values in maskCharData with a displayIndex that falls inside the specified range.\n * Modifies the maskCharData inplace with the passed string and returns the display index of the\n * next format character after the inserted string.\n * @param maskCharData\n * @param selectionStart\n * @param selectionCount\n * @return The displayIndex of the next format character\n */\nexport function insertString(maskCharData: IMaskValue[], selectionStart: number, newString: string): number {\n let stringIndex = 0;\n let nextIndex = 0;\n let isStringInserted = false;\n\n // Iterate through _maskCharData finding values with a displayIndex after the specified range start\n for (let i = 0; i < maskCharData.length && stringIndex < newString.length; i++) {\n if (maskCharData[i].displayIndex >= selectionStart) {\n isStringInserted = true;\n nextIndex = maskCharData[i].displayIndex;\n // Find the next character in the newString that matches the format\n while (stringIndex < newString.length) {\n // If the character matches the format regexp, set the maskCharData to the new character\n if (maskCharData[i].format.test(newString.charAt(stringIndex))) {\n maskCharData[i].value = newString.charAt(stringIndex++);\n // Set the nextIndex to the display index of the next mask format character.\n if (i + 1 < maskCharData.length) {\n nextIndex = maskCharData[i + 1].displayIndex;\n } else {\n nextIndex++;\n }\n break;\n }\n stringIndex++;\n }\n }\n }\n\n return isStringInserted ? nextIndex : selectionStart;\n}\n","import * as React from 'react';\nimport { TextField } from '../TextField';\nimport { KeyCodes } from '../../../Utilities';\nimport {\n clearNext,\n clearPrev,\n clearRange,\n DEFAULT_MASK_FORMAT_CHARS,\n getLeftFormatIndex,\n getMaskDisplay,\n getRightFormatIndex,\n insertString,\n parseMask,\n} from './inputMask';\nimport { useConst, useIsomorphicLayoutEffect } from '@fluentui/react-hooks';\nimport type { IMaskedTextFieldProps, IMaskedTextField } from '../TextField.types';\nimport type { IRefObject } from '../../../Utilities';\nimport type { IMaskValue } from './inputMask';\n\ninterface IMaskedTextFieldInternalState {\n maskCharData: IMaskValue[];\n isFocused: boolean;\n moveCursorOnMouseUp: boolean;\n changeSelectionData: {\n changeType: 'default' | 'backspace' | 'delete' | 'textPasted';\n selectionStart: number;\n selectionEnd: number;\n } | null;\n}\n\nconst COMPONENT_NAME = 'MaskedTextField';\n\nconst useComponentRef = (\n componentRef: IRefObject | undefined,\n internalState: IMaskedTextFieldInternalState,\n textField: React.RefObject,\n) => {\n React.useImperativeHandle(\n componentRef,\n (): IMaskedTextField => ({\n get value() {\n let value = '';\n\n for (let i = 0; i < internalState.maskCharData.length; i++) {\n if (!internalState.maskCharData[i].value) {\n return undefined;\n }\n value += internalState.maskCharData[i].value;\n }\n return value;\n },\n\n get selectionStart(): number | null {\n return textField.current && textField.current.selectionStart !== null ? textField.current.selectionStart : -1;\n },\n\n get selectionEnd(): number | null {\n return textField.current && textField.current.selectionEnd ? textField.current.selectionEnd : -1;\n },\n\n focus(): void {\n textField.current && textField.current.focus();\n },\n\n blur(): void {\n textField.current && textField.current.blur();\n },\n\n select(): void {\n textField.current && textField.current.select();\n },\n\n setSelectionStart(value: number): void {\n textField.current && textField.current.setSelectionStart(value);\n },\n\n setSelectionEnd(value: number): void {\n textField.current && textField.current.setSelectionEnd(value);\n },\n\n setSelectionRange(start: number, end: number): void {\n textField.current && textField.current.setSelectionRange(start, end);\n },\n }),\n [internalState, textField],\n );\n};\n\nexport const DEFAULT_MASK_CHAR = '_';\n\nexport const MaskedTextField: React.FunctionComponent = React.forwardRef<\n HTMLDivElement,\n IMaskedTextFieldProps\n>((props, ref) => {\n const textField = React.useRef(null);\n\n const {\n componentRef,\n onFocus,\n onBlur,\n onMouseDown,\n onMouseUp,\n onChange,\n onPaste,\n onKeyDown,\n mask,\n maskChar = DEFAULT_MASK_CHAR,\n maskFormat = DEFAULT_MASK_FORMAT_CHARS,\n value,\n } = props;\n\n const internalState = useConst(() => ({\n maskCharData: parseMask(mask, maskFormat),\n isFocused: false,\n moveCursorOnMouseUp: false,\n changeSelectionData: null,\n }));\n\n /** The index into the rendered value of the first unfilled format character */\n const [maskCursorPosition, setMaskCursorPosition] = React.useState();\n\n /**\n * The mask string formatted with the input value.\n * This is what is displayed inside the TextField\n * @example\n * `Phone Number: 12_ - 4___`\n */\n const [displayValue, setDisplayValue] = React.useState(() =>\n getMaskDisplay(mask, internalState.maskCharData, maskChar),\n );\n\n const setValue = React.useCallback(\n (newValue: string): void => {\n let valueIndex = 0;\n let charDataIndex = 0;\n\n while (valueIndex < newValue.length && charDataIndex < internalState.maskCharData.length) {\n // Test if the next character in the new value fits the next format character\n const testVal = newValue[valueIndex];\n if (internalState.maskCharData[charDataIndex].format.test(testVal)) {\n internalState.maskCharData[charDataIndex].value = testVal;\n charDataIndex++;\n }\n valueIndex++;\n }\n },\n [internalState],\n );\n\n const handleFocus = React.useCallback(\n (ev: React.FocusEvent) => {\n onFocus?.(ev);\n internalState.isFocused = true;\n\n // Move the cursor position to the leftmost unfilled position\n for (let i = 0; i < internalState.maskCharData.length; i++) {\n if (!internalState.maskCharData[i].value) {\n setMaskCursorPosition(internalState.maskCharData[i].displayIndex);\n break;\n }\n }\n },\n [internalState, onFocus],\n );\n\n const handleBlur = React.useCallback(\n (ev: React.FocusEvent) => {\n onBlur?.(ev);\n internalState.isFocused = false;\n internalState.moveCursorOnMouseUp = true;\n },\n [internalState, onBlur],\n );\n\n const handleMouseDown = React.useCallback(\n (ev: React.MouseEvent) => {\n onMouseDown?.(ev);\n if (!internalState.isFocused) {\n internalState.moveCursorOnMouseUp = true;\n }\n },\n [internalState, onMouseDown],\n );\n\n const handleMouseUp = React.useCallback(\n (ev: React.MouseEvent) => {\n onMouseUp?.(ev);\n // Move the cursor on mouseUp after focusing the textField\n if (internalState.moveCursorOnMouseUp) {\n internalState.moveCursorOnMouseUp = false;\n // Move the cursor position to the rightmost unfilled position\n for (let i = 0; i < internalState.maskCharData.length; i++) {\n if (!internalState.maskCharData[i].value) {\n setMaskCursorPosition(internalState.maskCharData[i].displayIndex);\n break;\n }\n }\n }\n },\n [internalState, onMouseUp],\n );\n\n const handleInputChange = React.useCallback(\n (ev: React.FormEvent, inputValue: string) => {\n if (internalState.changeSelectionData === null && textField.current) {\n internalState.changeSelectionData = {\n changeType: 'default',\n selectionStart: textField.current.selectionStart !== null ? textField.current.selectionStart : -1,\n selectionEnd: textField.current.selectionEnd !== null ? textField.current.selectionEnd : -1,\n };\n }\n if (!internalState.changeSelectionData) {\n return;\n }\n\n // The initial value of cursorPos does not matter\n let cursorPos = 0;\n const { changeType, selectionStart, selectionEnd } = internalState.changeSelectionData;\n\n if (changeType === 'textPasted') {\n const charsSelected = selectionEnd - selectionStart;\n const charCount = inputValue.length + charsSelected - displayValue.length;\n const startPos = selectionStart;\n // eslint-disable-next-line deprecation/deprecation\n const pastedString = inputValue.substr(startPos, charCount);\n\n // Clear any selected characters\n if (charsSelected) {\n internalState.maskCharData = clearRange(internalState.maskCharData, selectionStart, charsSelected);\n }\n cursorPos = insertString(internalState.maskCharData, startPos, pastedString);\n } else if (changeType === 'delete' || changeType === 'backspace') {\n // isDel is true If the characters are removed LTR, otherwise RTL\n const isDel = changeType === 'delete';\n const charCount = selectionEnd - selectionStart;\n\n if (charCount) {\n // charCount is > 0 if range was deleted\n internalState.maskCharData = clearRange(internalState.maskCharData, selectionStart, charCount);\n cursorPos = getRightFormatIndex(internalState.maskCharData, selectionStart);\n } else {\n // If charCount === 0, there was no selection and a single character was deleted\n if (isDel) {\n internalState.maskCharData = clearNext(internalState.maskCharData, selectionStart);\n cursorPos = getRightFormatIndex(internalState.maskCharData, selectionStart);\n } else {\n internalState.maskCharData = clearPrev(internalState.maskCharData, selectionStart);\n cursorPos = getLeftFormatIndex(internalState.maskCharData, selectionStart);\n }\n }\n } else if (inputValue.length > displayValue.length) {\n // This case is if the user added characters\n const charCount = inputValue.length - displayValue.length;\n const startPos = selectionEnd - charCount;\n // eslint-disable-next-line deprecation/deprecation\n const enteredString = inputValue.substr(startPos, charCount);\n\n cursorPos = insertString(internalState.maskCharData, startPos, enteredString);\n } else if (inputValue.length <= displayValue.length) {\n /**\n * This case is reached only if the user has selected a block of 1 or more\n * characters and input a character replacing the characters they've selected.\n */\n const charCount = 1;\n const selectCount = displayValue.length + charCount - inputValue.length;\n const startPos = selectionEnd - charCount;\n // eslint-disable-next-line deprecation/deprecation\n const enteredString = inputValue.substr(startPos, charCount);\n\n // Clear the selected range\n internalState.maskCharData = clearRange(internalState.maskCharData, startPos, selectCount);\n // Insert the printed character\n cursorPos = insertString(internalState.maskCharData, startPos, enteredString);\n }\n\n internalState.changeSelectionData = null;\n\n const newValue = getMaskDisplay(mask, internalState.maskCharData, maskChar);\n\n setDisplayValue(newValue);\n setMaskCursorPosition(cursorPos);\n\n // Perform onChange after input has been processed. Return value is expected to be the displayed text\n onChange?.(ev, newValue);\n },\n [displayValue.length, internalState, mask, maskChar, onChange],\n );\n\n const handleKeyDown = React.useCallback(\n (ev: React.KeyboardEvent) => {\n onKeyDown?.(ev);\n\n internalState.changeSelectionData = null;\n if (textField.current && textField.current.value) {\n // eslint-disable-next-line deprecation/deprecation\n const { keyCode, ctrlKey, metaKey } = ev;\n\n // Ignore ctrl and meta keydown\n if (ctrlKey || metaKey) {\n return;\n }\n\n // On backspace or delete, store the selection and the keyCode\n if (keyCode === KeyCodes.backspace || keyCode === KeyCodes.del) {\n const selectionStart = (ev.target as HTMLInputElement).selectionStart;\n const selectionEnd = (ev.target as HTMLInputElement).selectionEnd;\n\n // Check if backspace or delete press is valid.\n if (\n !(keyCode === KeyCodes.backspace && selectionEnd && selectionEnd > 0) &&\n !(keyCode === KeyCodes.del && selectionStart !== null && selectionStart < textField.current.value.length)\n ) {\n return;\n }\n\n internalState.changeSelectionData = {\n changeType: keyCode === KeyCodes.backspace ? 'backspace' : 'delete',\n selectionStart: selectionStart !== null ? selectionStart : -1,\n selectionEnd: selectionEnd !== null ? selectionEnd : -1,\n };\n }\n }\n },\n [internalState, onKeyDown],\n );\n\n const handlePaste = React.useCallback(\n (ev: React.ClipboardEvent) => {\n onPaste?.(ev);\n\n const selectionStart = (ev.target as HTMLInputElement).selectionStart;\n const selectionEnd = (ev.target as HTMLInputElement).selectionEnd;\n // Store the paste selection range\n internalState.changeSelectionData = {\n changeType: 'textPasted',\n selectionStart: selectionStart !== null ? selectionStart : -1,\n selectionEnd: selectionEnd !== null ? selectionEnd : -1,\n };\n },\n [internalState, onPaste],\n );\n\n // Updates the display value if mask or value props change.\n React.useEffect(() => {\n internalState.maskCharData = parseMask(mask, maskFormat);\n value !== undefined && setValue(value);\n setDisplayValue(getMaskDisplay(mask, internalState.maskCharData, maskChar));\n // eslint-disable-next-line react-hooks/exhaustive-deps -- Should only update when mask or value changes.\n }, [mask, value]);\n\n // Run before browser paint to avoid flickering from selection reset.\n useIsomorphicLayoutEffect(() => {\n // Move the cursor to position before paint.\n if (maskCursorPosition !== undefined && textField.current) {\n textField.current.setSelectionRange(maskCursorPosition, maskCursorPosition);\n }\n }, [maskCursorPosition]);\n\n // Run after browser paint.\n React.useEffect(() => {\n // Move the cursor to the start of the mask format after values update.\n if (internalState.isFocused && maskCursorPosition !== undefined && textField.current) {\n textField.current.setSelectionRange(maskCursorPosition, maskCursorPosition);\n }\n });\n\n useComponentRef(componentRef, internalState, textField);\n\n return (\n \n );\n});\nMaskedTextField.displayName = COMPONENT_NAME;\n","import * as React from 'react';\nimport { Label } from '../../Label';\nimport { Icon } from '../../Icon';\nimport {\n Async,\n classNamesFunction,\n DelayedRender,\n getId,\n getNativeProps,\n getWindow,\n initializeComponentRef,\n inputProperties,\n isControlled,\n isIE11,\n textAreaProperties,\n warn,\n warnControlledUsage,\n warnMutuallyExclusive,\n} from '../../Utilities';\nimport type { IProcessedStyleSet } from '../../Styling';\nimport type { ILabelStyleProps, ILabelStyles } from '../../Label';\nimport type { IStyleFunctionOrObject } from '../../Utilities';\nimport type { ITextField, ITextFieldProps, ITextFieldStyleProps, ITextFieldStyles } from './TextField.types';\n\nconst getClassNames = classNamesFunction();\n\n/** @internal */\nexport interface ITextFieldState {\n /** The currently displayed value if uncontrolled. */\n uncontrolledValue: string | undefined;\n\n /** Is true when the control has focus. */\n isFocused?: boolean;\n\n /**\n * Dynamic error message returned by `onGetErrorMessage`.\n * Use `this._errorMessage` to get the actual current error message.\n */\n errorMessage: string | JSX.Element;\n\n /**\n * Whether this field has `type='password'` and `canRevealPassword=true`, and the password is\n * currently being revealed.\n */\n isRevealingPassword?: boolean;\n}\n\n/** @internal */\nexport interface ITextFieldSnapshot {\n /**\n * If set, the text field is changing between single- and multi-line, so we'll need to reset\n * selection/cursor after the change completes.\n */\n selection?: [number | null, number | null];\n}\n\nconst DEFAULT_STATE_VALUE = '';\nconst COMPONENT_NAME = 'TextField';\n\nconst REVEAL_ICON_NAME = 'RedEye';\nconst HIDE_ICON_NAME = 'Hide';\n\nexport class TextFieldBase\n extends React.Component\n implements ITextField\n{\n public static defaultProps: ITextFieldProps = {\n resizable: true,\n deferredValidationTime: 200,\n validateOnLoad: true,\n };\n\n /** Fallback ID if none is provided in props. Access proper value via `this._id`. */\n private _fallbackId: string;\n private _descriptionId: string;\n private _labelId: string;\n private _prefixId: string;\n private _suffixId: string;\n private _delayedValidate: (value: string | undefined) => void;\n private _lastValidation: number;\n private _latestValidateValue: string | undefined;\n private _hasWarnedNullValue: boolean | undefined;\n private _textElement = React.createRef();\n private _classNames: IProcessedStyleSet;\n private _async: Async;\n /** Most recent value from a change or input event, to help avoid processing events twice */\n private _lastChangeValue: string | undefined;\n\n public constructor(props: ITextFieldProps) {\n super(props);\n\n initializeComponentRef(this);\n this._async = new Async(this);\n\n if (process.env.NODE_ENV !== 'production') {\n warnMutuallyExclusive(COMPONENT_NAME, props, {\n errorMessage: 'onGetErrorMessage',\n });\n }\n\n this._fallbackId = getId(COMPONENT_NAME);\n this._descriptionId = getId(COMPONENT_NAME + 'Description');\n this._labelId = getId(COMPONENT_NAME + 'Label');\n this._prefixId = getId(COMPONENT_NAME + 'Prefix');\n this._suffixId = getId(COMPONENT_NAME + 'Suffix');\n\n this._warnControlledUsage();\n\n let { defaultValue = DEFAULT_STATE_VALUE } = props;\n if (typeof defaultValue === 'number') {\n // This isn't allowed per the props, but happens anyway.\n defaultValue = String(defaultValue);\n }\n this.state = {\n uncontrolledValue: this._isControlled ? undefined : defaultValue,\n isFocused: false,\n errorMessage: '',\n };\n\n this._delayedValidate = this._async.debounce(this._validate, this.props.deferredValidationTime);\n this._lastValidation = 0;\n }\n\n /**\n * Gets the current value of the text field.\n */\n public get value(): string | undefined {\n return _getValue(this.props, this.state);\n }\n\n public componentDidMount(): void {\n this._adjustInputHeight();\n\n if (this.props.validateOnLoad) {\n this._validate(this.value);\n }\n }\n\n public componentWillUnmount() {\n this._async.dispose();\n }\n\n public getSnapshotBeforeUpdate(prevProps: ITextFieldProps, prevState: ITextFieldState): ITextFieldSnapshot | null {\n return {\n selection: [this.selectionStart, this.selectionEnd],\n };\n }\n\n public componentDidUpdate(\n prevProps: ITextFieldProps,\n prevState: ITextFieldState,\n snapshot: ITextFieldSnapshot,\n ): void {\n const props = this.props;\n const { selection = [null, null] } = snapshot || {};\n const [start, end] = selection;\n\n if (!!prevProps.multiline !== !!props.multiline && prevState.isFocused) {\n // The text field has just changed between single- and multi-line, so we need to reset focus\n // and selection/cursor.\n this.focus();\n if (start !== null && end !== null && start >= 0 && end >= 0) {\n this.setSelectionRange(start, end);\n }\n }\n\n if (prevProps.value !== props.value) {\n // Only if the value in props changed, reset the record of the last value seen by a\n // change/input event (don't do this if the value in state changed, since at least in tests\n // the state update may happen before the second event in a series)\n this._lastChangeValue = undefined;\n }\n\n const prevValue = _getValue(prevProps, prevState);\n const value = this.value;\n if (prevValue !== value) {\n // Handle controlled/uncontrolled warnings and status\n this._warnControlledUsage(prevProps);\n\n // Clear error message if needed\n // TODO: is there any way to do this without an extra render?\n if (this.state.errorMessage && !props.errorMessage) {\n this.setState({ errorMessage: '' });\n }\n\n // Adjust height if needed based on new value\n this._adjustInputHeight();\n\n // TODO: #5875 added logic to trigger validation in componentWillReceiveProps and other places.\n // This seems a bit odd and hard to integrate with the new approach.\n // (Starting to think we should just put the validation logic in a separate wrapper component...?)\n if (_shouldValidateAllChanges(props)) {\n this._delayedValidate(value);\n }\n }\n }\n\n public render(): JSX.Element {\n const {\n borderless,\n className,\n disabled,\n invalid,\n iconProps,\n inputClassName,\n label,\n multiline,\n required,\n underlined,\n prefix,\n resizable,\n suffix,\n theme,\n styles,\n autoAdjustHeight,\n canRevealPassword,\n revealPasswordAriaLabel,\n type,\n onRenderPrefix = this._onRenderPrefix,\n onRenderSuffix = this._onRenderSuffix,\n onRenderLabel = this._onRenderLabel,\n onRenderDescription = this._onRenderDescription,\n } = this.props;\n const { isFocused, isRevealingPassword } = this.state;\n const errorMessage = this._errorMessage;\n const isInvalid = typeof invalid === 'boolean' ? invalid : !!errorMessage;\n\n const hasRevealButton = !!canRevealPassword && type === 'password' && _browserNeedsRevealButton();\n\n const classNames = (this._classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n disabled,\n focused: isFocused,\n required,\n multiline,\n hasLabel: !!label,\n hasErrorMessage: isInvalid,\n borderless,\n resizable,\n hasIcon: !!iconProps,\n underlined,\n inputClassName,\n autoAdjustHeight,\n hasRevealButton,\n }));\n\n return (\n // eslint-disable-next-line deprecation/deprecation\n
    \n
    \n {onRenderLabel(this.props, this._onRenderLabel)}\n
    \n {(prefix !== undefined || this.props.onRenderPrefix) && (\n
    \n {onRenderPrefix(this.props, this._onRenderPrefix)}\n
    \n )}\n {multiline ? this._renderTextArea() : this._renderInput()}\n {iconProps && }\n {hasRevealButton && (\n // Explicitly set type=\"button\" since the default button type within a form is \"submit\"\n \n \n \n \n \n )}\n {(suffix !== undefined || this.props.onRenderSuffix) && (\n
    \n {onRenderSuffix(this.props, this._onRenderSuffix)}\n
    \n )}\n
    \n
    \n {this._isDescriptionAvailable && (\n \n {onRenderDescription(this.props, this._onRenderDescription)}\n {errorMessage && (\n
    \n {this._renderErrorMessage()}\n
    \n )}\n
    \n )}\n
    \n );\n }\n\n /**\n * Sets focus on the text field\n */\n public focus() {\n if (this._textElement.current) {\n this._textElement.current.focus();\n }\n }\n\n /**\n * Blurs the text field.\n */\n public blur() {\n if (this._textElement.current) {\n this._textElement.current.blur();\n }\n }\n\n /**\n * Selects the text field\n */\n public select() {\n if (this._textElement.current) {\n this._textElement.current.select();\n }\n }\n\n /**\n * Sets the selection start of the text field to a specified value\n */\n public setSelectionStart(value: number): void {\n if (this._textElement.current) {\n this._textElement.current.selectionStart = value;\n }\n }\n\n /**\n * Sets the selection end of the text field to a specified value\n */\n public setSelectionEnd(value: number): void {\n if (this._textElement.current) {\n this._textElement.current.selectionEnd = value;\n }\n }\n\n /**\n * Gets the selection start of the text field\n */\n public get selectionStart(): number | null {\n return this._textElement.current ? this._textElement.current.selectionStart : -1;\n }\n\n /**\n * Gets the selection end of the text field\n */\n public get selectionEnd(): number | null {\n return this._textElement.current ? this._textElement.current.selectionEnd : -1;\n }\n\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start - Index of the start of the selection.\n * @param end - Index of the end of the selection.\n */\n public setSelectionRange(start: number, end: number): void {\n if (this._textElement.current) {\n (this._textElement.current as HTMLInputElement).setSelectionRange(start, end);\n }\n }\n\n private _warnControlledUsage(prevProps?: ITextFieldProps): void {\n // Show warnings if props are being used in an invalid way\n warnControlledUsage({\n componentId: this._id,\n componentName: COMPONENT_NAME,\n props: this.props,\n oldProps: prevProps,\n valueProp: 'value',\n defaultValueProp: 'defaultValue',\n onChangeProp: 'onChange',\n readOnlyProp: 'readOnly',\n });\n\n if (this.props.value === null && !this._hasWarnedNullValue) {\n this._hasWarnedNullValue = true;\n warn(\n `Warning: 'value' prop on '${COMPONENT_NAME}' should not be null. Consider using an ` +\n 'empty string to clear the component or undefined to indicate an uncontrolled component.',\n );\n }\n }\n\n /** Returns `props.id` if available, or a fallback if not. */\n private get _id(): string {\n return this.props.id || this._fallbackId;\n }\n\n private get _isControlled(): boolean {\n return isControlled(this.props, 'value');\n }\n\n private _onFocus = (ev: React.FocusEvent): void => {\n if (this.props.onFocus) {\n this.props.onFocus(ev);\n }\n\n this.setState({ isFocused: true }, () => {\n if (this.props.validateOnFocusIn) {\n this._validate(this.value);\n }\n });\n };\n\n private _onBlur = (ev: React.FocusEvent): void => {\n if (this.props.onBlur) {\n this.props.onBlur(ev);\n }\n\n this.setState({ isFocused: false }, () => {\n if (this.props.validateOnFocusOut) {\n this._validate(this.value);\n }\n });\n };\n\n private _onRenderLabel = (props: ITextFieldProps): JSX.Element | null => {\n const { label, required } = props;\n // IProcessedStyleSet definition requires casting for what Label expects as its styles prop\n const labelStyles = this._classNames.subComponentStyles\n ? (this._classNames.subComponentStyles.label as IStyleFunctionOrObject)\n : undefined;\n\n if (label) {\n return (\n \n );\n }\n return null;\n };\n\n private _onRenderDescription = (props: ITextFieldProps): JSX.Element | null => {\n if (props.description) {\n return {props.description};\n }\n return null;\n };\n\n private _onRenderPrefix(props: ITextFieldProps): JSX.Element {\n const { prefix } = props;\n return {prefix};\n }\n\n private _onRenderSuffix(props: ITextFieldProps): JSX.Element {\n const { suffix } = props;\n return {suffix};\n }\n\n /**\n * Current error message from either `props.errorMessage` or the result of `props.onGetErrorMessage`.\n *\n * - If there is no validation error or we have not validated the input value, errorMessage is an empty string.\n * - If we have done the validation and there is validation error, errorMessage is the validation error message.\n */\n private get _errorMessage(): string | JSX.Element {\n const { errorMessage = this.state.errorMessage } = this.props;\n return errorMessage || '';\n }\n\n /**\n * Renders error message based on the type of the message.\n *\n * - If error message is string, it will render using the built in styles.\n * - If error message is an element, user has full control over how it's rendered.\n */\n private _renderErrorMessage(): JSX.Element | null {\n const errorMessage = this._errorMessage;\n\n return errorMessage ? (\n typeof errorMessage === 'string' ? (\n

    \n {errorMessage}\n

    \n ) : (\n
    \n {errorMessage}\n
    \n )\n ) : null;\n }\n\n /**\n * If a custom description render function is supplied then treat description as always available.\n * Otherwise defer to the presence of description or error message text.\n */\n private get _isDescriptionAvailable(): boolean {\n const props = this.props;\n return !!(props.onRenderDescription || props.description || this._errorMessage);\n }\n\n private _renderTextArea(): React.ReactElement> {\n const { invalid = !!this._errorMessage } = this.props;\n const textAreaProps = getNativeProps>(\n this.props,\n textAreaProperties,\n ['defaultValue'],\n );\n const ariaLabelledBy = this.props['aria-labelledby'] || (this.props.label ? this._labelId : undefined);\n return (\n }\n value={this.value || ''}\n onInput={this._onInputChange}\n onChange={this._onInputChange}\n className={this._classNames.field}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={this._isDescriptionAvailable ? this._descriptionId : this.props['aria-describedby']}\n aria-invalid={invalid}\n aria-label={this.props.ariaLabel}\n readOnly={this.props.readOnly}\n onFocus={this._onFocus}\n onBlur={this._onBlur}\n />\n );\n }\n\n private _renderInput(): JSX.Element | null {\n const {\n ariaLabel,\n invalid = !!this._errorMessage,\n onRenderPrefix,\n onRenderSuffix,\n prefix,\n suffix,\n type = 'text',\n label,\n } = this.props;\n\n // build aria-labelledby list from label, prefix, and suffix\n const labelIds = [];\n label && labelIds.push(this._labelId);\n (prefix !== undefined || onRenderPrefix) && labelIds.push(this._prefixId);\n (suffix !== undefined || onRenderSuffix) && labelIds.push(this._suffixId);\n\n const inputProps: React.InputHTMLAttributes & React.RefAttributes = {\n type: this.state.isRevealingPassword ? 'text' : type,\n id: this._id,\n ...getNativeProps(this.props, inputProperties, ['defaultValue', 'type']),\n 'aria-labelledby': this.props['aria-labelledby'] || (labelIds.length > 0 ? labelIds.join(' ') : undefined),\n ref: this._textElement as React.RefObject,\n value: this.value || '',\n onInput: this._onInputChange,\n onChange: this._onInputChange,\n className: this._classNames.field,\n 'aria-label': ariaLabel,\n 'aria-describedby': this._isDescriptionAvailable ? this._descriptionId : this.props['aria-describedby'],\n 'aria-invalid': invalid,\n onFocus: this._onFocus,\n onBlur: this._onBlur,\n };\n\n const defaultRender = (updatedInputProps: React.InputHTMLAttributes) => {\n return ;\n };\n const onRenderInput = this.props.onRenderInput || defaultRender;\n return onRenderInput(inputProps, defaultRender);\n }\n\n private _onRevealButtonClick = (event: React.MouseEvent): void => {\n this.setState(prevState => ({ isRevealingPassword: !prevState.isRevealingPassword }));\n };\n\n private _onInputChange = (event: React.FormEvent): void => {\n // Previously, we needed to call both onInput and onChange due to some weird IE/React issues,\n // which have *probably* been fixed now:\n // - https://github.com/microsoft/fluentui/issues/744 (likely fixed)\n // - https://github.com/microsoft/fluentui/issues/824 (confirmed fixed)\n\n // TODO (Fabric 8?) - Switch to calling only onChange. This switch is pretty disruptive for\n // tests (ours and maybe consumers' too), so it seemed best to do the switch in a major bump.\n\n const element = event.target as HTMLInputElement;\n const value = element.value;\n // Ignore this event if any of the following are true:\n // - the value is undefined (in case one of the IE bugs comes back)\n // - it's a duplicate event (important since onInputChange is called twice per actual user event)\n // - it's the same as the previous value\n const previousValue = _getValue(this.props, this.state) || '';\n if (value === undefined || value === this._lastChangeValue || value === previousValue) {\n this._lastChangeValue = undefined;\n return;\n }\n this._lastChangeValue = value;\n\n this.props.onChange?.(event, value);\n\n if (!this._isControlled) {\n // ONLY if this is an uncontrolled component, update the displayed value.\n // (Controlled components must update the `value` prop from `onChange`.)\n this.setState({ uncontrolledValue: value });\n }\n };\n\n private _validate(value: string | undefined): void {\n // In case _validate is called again while validation promise is executing\n if (this._latestValidateValue === value && _shouldValidateAllChanges(this.props)) {\n return;\n }\n\n this._latestValidateValue = value;\n const onGetErrorMessage = this.props.onGetErrorMessage;\n const result = onGetErrorMessage && onGetErrorMessage(value || '');\n\n if (result !== undefined) {\n if (typeof result === 'string' || !('then' in result)) {\n this.setState({ errorMessage: result });\n this._notifyAfterValidate(value, result);\n } else {\n const currentValidation: number = ++this._lastValidation;\n\n result.then((errorMessage: string | JSX.Element) => {\n if (currentValidation === this._lastValidation) {\n this.setState({ errorMessage });\n }\n this._notifyAfterValidate(value, errorMessage);\n });\n }\n } else {\n this._notifyAfterValidate(value, '');\n }\n }\n\n private _notifyAfterValidate(value: string | undefined, errorMessage: string | JSX.Element): void {\n if (value === this.value && this.props.onNotifyValidationResult) {\n this.props.onNotifyValidationResult(errorMessage, value);\n }\n }\n\n private _adjustInputHeight(): void {\n if (this._textElement.current && this.props.autoAdjustHeight && this.props.multiline) {\n const textField = this._textElement.current;\n textField.style.height = '';\n textField.style.height = textField.scrollHeight + 'px';\n }\n }\n}\n\n/** Get the value from the given state and props (converting from number to string if needed) */\nfunction _getValue(props: ITextFieldProps, state: ITextFieldState): string | undefined {\n const { value = state.uncontrolledValue } = props;\n if (typeof value === 'number') {\n // not allowed per typings, but happens anyway\n return String(value);\n }\n return value;\n}\n\n/**\n * If `validateOnFocusIn` or `validateOnFocusOut` is true, validation should run **only** on that event.\n * Otherwise, validation should run on every change.\n */\nfunction _shouldValidateAllChanges(props: ITextFieldProps): boolean {\n return !(props.validateOnFocusIn || props.validateOnFocusOut);\n}\n\n// Only calculate this once across all TextFields, since will stay the same\nlet __browserNeedsRevealButton: boolean | undefined;\n\nfunction _browserNeedsRevealButton() {\n if (typeof __browserNeedsRevealButton !== 'boolean') {\n const win = getWindow();\n\n if (win?.navigator) {\n // Edge, Chromium Edge\n const isEdge = /Edg/.test(win.navigator.userAgent || '');\n\n __browserNeedsRevealButton = !(isIE11() || isEdge);\n } else {\n __browserNeedsRevealButton = true;\n }\n }\n return __browserNeedsRevealButton;\n}\n","import { getWindow } from './dom/getWindow';\n\nexport const isIE11 = (): boolean => {\n const win = getWindow();\n\n if (!win?.navigator?.userAgent) {\n return false;\n }\n\n return win.navigator.userAgent.indexOf('rv:11.0') > -1;\n};\n","/**\n * Determines whether a component is controlled.\n * @param props - Component props\n * @param valueProp - Prop containing the controlled value\n * @returns true if controlled, false if uncontrolled\n */\nexport function isControlled

    (props: P, valueProp: keyof P): boolean {\n // React's built-in considers a prop to be provided if its value is non-null/undefined.\n // Mirror that behavior here (rather than checking for just undefined).\n return props[valueProp] !== undefined && props[valueProp] !== null;\n}\n","import {\n AnimationClassNames,\n getFocusStyle,\n getGlobalClassNames,\n getInputFocusStyle,\n HighContrastSelector,\n normalize,\n getPlaceholderStyles,\n IconFontSizes,\n getHighContrastNoAdjustStyle,\n} from '../../Styling';\nimport type { IStyle } from '../../Styling';\nimport type { ILabelStyles, ILabelStyleProps } from '../../Label';\nimport type { ITextFieldStyleProps, ITextFieldStyles } from './TextField.types';\nimport type { IStyleFunctionOrObject } from '@fluentui/utilities';\n\nconst globalClassNames = {\n root: 'ms-TextField',\n description: 'ms-TextField-description',\n errorMessage: 'ms-TextField-errorMessage',\n field: 'ms-TextField-field',\n fieldGroup: 'ms-TextField-fieldGroup',\n prefix: 'ms-TextField-prefix',\n suffix: 'ms-TextField-suffix',\n wrapper: 'ms-TextField-wrapper',\n revealButton: 'ms-TextField-reveal',\n\n multiline: 'ms-TextField--multiline',\n borderless: 'ms-TextField--borderless',\n underlined: 'ms-TextField--underlined',\n unresizable: 'ms-TextField--unresizable',\n\n required: 'is-required',\n disabled: 'is-disabled',\n active: 'is-active',\n};\n\nfunction getLabelStyles(props: ITextFieldStyleProps): IStyleFunctionOrObject {\n const { underlined, disabled, focused, theme } = props;\n const { palette, fonts } = theme;\n\n return () => ({\n root: [\n underlined &&\n disabled && {\n color: palette.neutralTertiary,\n },\n underlined && {\n fontSize: fonts.medium.fontSize,\n marginRight: 8,\n paddingLeft: 12,\n paddingRight: 0,\n lineHeight: '22px',\n height: 32,\n },\n underlined &&\n focused && {\n selectors: {\n [HighContrastSelector]: {\n height: 31, // -1px to prevent jumpiness in HC with the increased border-width to 2px\n },\n },\n },\n ],\n });\n}\n\nexport function getStyles(props: ITextFieldStyleProps): ITextFieldStyles {\n const {\n theme,\n className,\n disabled,\n focused,\n required,\n multiline,\n hasLabel,\n borderless,\n underlined,\n hasIcon,\n resizable,\n hasErrorMessage,\n inputClassName,\n autoAdjustHeight,\n hasRevealButton,\n } = props;\n\n const { semanticColors, effects, fonts } = theme;\n\n const classNames = getGlobalClassNames(globalClassNames, theme);\n\n const fieldPrefixSuffix: IStyle = {\n // Suffix/Prefix are not editable so the disabled slot perfectly fits.\n background: semanticColors.disabledBackground,\n color: !disabled ? semanticColors.inputPlaceholderText : semanticColors.disabledText,\n display: 'flex',\n alignItems: 'center',\n padding: '0 10px',\n lineHeight: 1,\n whiteSpace: 'nowrap',\n flexShrink: 0,\n selectors: {\n [HighContrastSelector]: {\n background: 'Window',\n color: disabled ? 'GrayText' : 'WindowText',\n },\n },\n };\n\n // placeholder style constants\n const placeholderStyles: IStyle = [\n {\n color: semanticColors.inputPlaceholderText,\n opacity: 1,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n },\n ];\n\n const disabledPlaceholderStyles: IStyle = {\n color: semanticColors.disabledText,\n selectors: {\n [HighContrastSelector]: {\n color: 'GrayText',\n },\n },\n };\n\n return {\n root: [\n classNames.root,\n fonts.medium,\n required && classNames.required,\n disabled && classNames.disabled,\n focused && classNames.active,\n multiline && classNames.multiline,\n borderless && classNames.borderless,\n underlined && classNames.underlined,\n normalize,\n {\n position: 'relative',\n },\n className,\n ],\n wrapper: [\n classNames.wrapper,\n\n underlined && [\n {\n display: 'flex',\n borderBottom: `1px solid ${!hasErrorMessage ? semanticColors.inputBorder : semanticColors.errorText}`,\n width: '100%',\n },\n disabled && {\n borderBottomColor: semanticColors.disabledBackground,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'GrayText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n !disabled && {\n selectors: {\n ':hover': {\n borderBottomColor: !hasErrorMessage ? semanticColors.inputBorderHovered : semanticColors.errorText,\n selectors: {\n [HighContrastSelector]: {\n borderBottomColor: 'Highlight',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n },\n },\n focused && [\n {\n position: 'relative',\n },\n getInputFocusStyle(\n !hasErrorMessage ? semanticColors.inputFocusBorderAlt : semanticColors.errorText,\n 0,\n 'borderBottom',\n ),\n ],\n ],\n ],\n fieldGroup: [\n classNames.fieldGroup,\n normalize,\n {\n border: `1px solid ${semanticColors.inputBorder}`,\n borderRadius: effects.roundedCorner2,\n background: semanticColors.inputBackground,\n cursor: 'text',\n height: 32,\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'stretch',\n position: 'relative',\n },\n multiline && {\n minHeight: '60px',\n height: 'auto',\n display: 'flex',\n },\n\n !focused &&\n !disabled && {\n selectors: {\n ':hover': {\n borderColor: semanticColors.inputBorderHovered,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n },\n },\n },\n\n focused &&\n !underlined &&\n getInputFocusStyle(\n !hasErrorMessage ? semanticColors.inputFocusBorderAlt : semanticColors.errorText,\n effects.roundedCorner2,\n ),\n disabled && {\n borderColor: semanticColors.disabledBackground,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'GrayText',\n ...getHighContrastNoAdjustStyle(),\n },\n },\n\n cursor: 'default',\n },\n borderless && {\n border: 'none',\n },\n borderless &&\n focused && {\n border: 'none',\n selectors: {\n ':after': {\n border: 'none',\n },\n },\n },\n underlined && {\n flex: '1 1 0px',\n border: 'none',\n textAlign: 'left',\n },\n underlined &&\n disabled && {\n backgroundColor: 'transparent',\n },\n\n hasErrorMessage &&\n !underlined && {\n borderColor: semanticColors.errorText,\n selectors: {\n '&:hover': {\n borderColor: semanticColors.errorText,\n },\n },\n },\n !hasLabel &&\n required && {\n selectors: {\n ':before': {\n content: `'*'`,\n color: semanticColors.errorText,\n position: 'absolute',\n top: -5,\n right: -10,\n },\n [HighContrastSelector]: {\n selectors: {\n ':before': {\n color: 'WindowText',\n right: -14, // moving the * 4 pixel to right to alleviate border clipping in HC mode.\n },\n },\n },\n },\n },\n ],\n field: [\n fonts.medium,\n classNames.field,\n normalize,\n {\n borderRadius: 0,\n border: 'none',\n background: 'none',\n backgroundColor: 'transparent',\n color: semanticColors.inputText,\n padding: '0 8px',\n width: '100%',\n minWidth: 0,\n textOverflow: 'ellipsis',\n outline: 0,\n selectors: {\n '&:active, &:focus, &:hover': { outline: 0 },\n '::-ms-clear': {\n display: 'none',\n },\n [HighContrastSelector]: {\n background: 'Window',\n color: disabled ? 'GrayText' : 'WindowText',\n },\n },\n },\n getPlaceholderStyles(placeholderStyles),\n multiline &&\n !resizable && [\n classNames.unresizable,\n {\n resize: 'none',\n },\n ],\n multiline && {\n minHeight: 'inherit',\n lineHeight: 17,\n flexGrow: 1,\n paddingTop: 6,\n paddingBottom: 6,\n overflow: 'auto',\n width: '100%',\n },\n multiline &&\n autoAdjustHeight && {\n overflow: 'hidden',\n },\n hasIcon &&\n !hasRevealButton && {\n paddingRight: 24,\n },\n multiline &&\n hasIcon && {\n paddingRight: 40,\n },\n disabled && [\n {\n backgroundColor: semanticColors.disabledBackground,\n color: semanticColors.disabledText,\n borderColor: semanticColors.disabledBackground,\n },\n getPlaceholderStyles(disabledPlaceholderStyles),\n ],\n underlined && {\n textAlign: 'left',\n },\n focused &&\n !borderless && {\n selectors: {\n [HighContrastSelector]: {\n paddingLeft: 11,\n paddingRight: 11,\n },\n },\n },\n focused &&\n multiline &&\n !borderless && {\n selectors: {\n [HighContrastSelector]: {\n paddingTop: 4, // take into consideration the 2px increased border-width (not when borderless).\n },\n },\n },\n inputClassName,\n ],\n icon: [\n multiline && {\n paddingRight: 24,\n alignItems: 'flex-end',\n },\n {\n pointerEvents: 'none',\n position: 'absolute',\n bottom: 6,\n right: 8,\n top: 'auto',\n fontSize: IconFontSizes.medium,\n lineHeight: 18,\n },\n disabled && {\n color: semanticColors.disabledText,\n },\n ],\n description: [\n classNames.description,\n {\n color: semanticColors.bodySubtext,\n fontSize: fonts.xSmall.fontSize,\n },\n ],\n errorMessage: [\n classNames.errorMessage,\n AnimationClassNames.slideDownIn20,\n fonts.small,\n {\n color: semanticColors.errorText,\n margin: 0,\n paddingTop: 5,\n display: 'flex',\n alignItems: 'center',\n },\n ],\n prefix: [classNames.prefix, fieldPrefixSuffix],\n suffix: [classNames.suffix, fieldPrefixSuffix],\n revealButton: [\n classNames.revealButton,\n 'ms-Button',\n 'ms-Button--icon',\n getFocusStyle(theme, { inset: 1 }),\n {\n height: 30,\n width: 32,\n border: 'none',\n padding: '0px 4px',\n backgroundColor: 'transparent',\n color: semanticColors.link,\n selectors: {\n ':hover': {\n outline: 0,\n color: semanticColors.primaryButtonBackgroundHovered,\n backgroundColor: semanticColors.buttonBackgroundHovered,\n selectors: {\n [HighContrastSelector]: {\n borderColor: 'Highlight',\n color: 'Highlight',\n },\n },\n },\n ':focus': { outline: 0 },\n },\n },\n hasIcon && {\n marginRight: 28,\n },\n ],\n revealSpan: {\n display: 'flex',\n height: '100%',\n alignItems: 'center',\n },\n revealIcon: {\n margin: '0px 4px',\n pointerEvents: 'none',\n bottom: 6,\n right: 8,\n top: 'auto',\n fontSize: IconFontSizes.medium,\n lineHeight: 18,\n },\n subComponentStyles: {\n label: getLabelStyles(props),\n },\n };\n}\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { TextFieldBase } from './TextField.base';\nimport { getStyles } from './TextField.styles';\nimport type { ITextFieldProps, ITextFieldStyles, ITextFieldStyleProps } from './TextField.types';\n\nexport const TextField: React.FunctionComponent = styled<\n ITextFieldProps,\n ITextFieldStyleProps,\n ITextFieldStyles\n>(TextFieldBase, getStyles, undefined, {\n scope: 'TextField',\n});\n\nexport type { ITextField } from './TextField.types';\n","import * as React from 'react';\nimport { createComponent } from '@fluentui/foundation-legacy';\nimport { TextView } from './Text.view';\nimport { TextStyles as styles } from './Text.styles';\nimport type { ITextProps } from './Text.types';\n\nexport const Text: React.FunctionComponent = createComponent(TextView, {\n displayName: 'Text',\n styles,\n});\n\nexport default Text;\n","/** @jsxRuntime classic */\n/** @jsx withSlots */\nimport { withSlots, getSlots } from '@fluentui/foundation-legacy';\nimport { getNativeProps, htmlElementProperties } from '../../Utilities';\nimport type { ITextComponent, ITextProps, ITextSlots } from './Text.types';\n\nexport const TextView: ITextComponent['view'] = props => {\n // eslint-disable-next-line eqeqeq\n if (props.children == null) {\n return null;\n }\n\n const { block, className, as: RootType = 'span', variant, nowrap, ...rest } = props;\n\n const Slots = getSlots(props, {\n root: RootType,\n });\n\n return ;\n};\n","import type { ITextComponent, ITextStyles, ITextStylesReturnType, ITextProps } from './Text.types';\nimport type { ITheme } from '../../Styling';\n\nexport const TextStyles: ITextComponent['styles'] = (props: ITextProps, theme: ITheme): ITextStylesReturnType => {\n const { as, className, block, nowrap, variant } = props;\n const { fonts, semanticColors } = theme;\n const variantObject = fonts[variant || 'medium'];\n\n return {\n root: [\n variantObject,\n {\n color: variantObject.color || semanticColors.bodyText,\n display: block ? (as === 'td' ? 'table-cell' : 'block') : 'inline',\n mozOsxFontSmoothing: variantObject.MozOsxFontSmoothing,\n webkitFontSmoothing: variantObject.WebkitFontSmoothing,\n },\n nowrap && {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n },\n className,\n ],\n } as ITextStyles;\n};\n","import * as React from 'react';\nimport { TooltipHostBase } from './TooltipHost.base';\nimport { TooltipDelay } from './Tooltip.types';\nimport { DirectionalHint } from '../../common/DirectionalHint';\nimport type { ITooltipProps } from './Tooltip.types';\nimport type { ICalloutProps } from '../../Callout';\nimport type { IRefObject, IStyleFunctionOrObject } from '../../Utilities';\nimport type { IStyle, ITheme } from '../../Styling';\n\n/**\n * {@docCategory Tooltip}\n */\nexport interface ITooltipHost {\n /**\n * Shows the tooltip.\n */\n show: () => void;\n\n /**\n * Dismisses the tooltip.\n */\n dismiss: () => void;\n}\n\n/**\n * {@docCategory Tooltip}\n */\nexport enum TooltipOverflowMode {\n /** Only show tooltip if parent DOM element is overflowing */\n Parent,\n\n /**\n * Only show tooltip if tooltip host's content is overflowing.\n * Note that this does not check the children for overflow, only the TooltipHost root.\n */\n Self,\n}\n\n/**\n * TooltipHost props. Note that native props (such as `id`, `className`, and `aria-` props) are\n * passed through to the Tooltip itself, rather than being used on the host element.\n * {@docCategory Tooltip}\n */\nexport interface ITooltipHostProps extends Omit, 'content'> {\n /**\n * Optional callback to access the ITooltipHost interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject;\n\n /**\n * Additional properties to pass through for Callout.\n */\n calloutProps?: ICalloutProps;\n\n /**\n * Number of milliseconds to delay closing the tooltip, so that the user has time to hover over\n * the tooltip and interact with it. Hovering over the tooltip will count as hovering over the\n * host, so that the tooltip will stay open if the user is actively interacting with it.\n */\n closeDelay?: number;\n\n /**\n * Content to display in the Tooltip.\n */\n content?: string | JSX.Element | JSX.Element[];\n\n /**\n * Length of delay before showing the tooltip on hover.\n * @defaultvalue TooltipDelay.medium\n */\n delay?: TooltipDelay;\n\n /**\n * How the tooltip should be anchored to its `targetElement`.\n * @defaultvalue DirectionalHint.topCenter\n */\n directionalHint?: DirectionalHint;\n\n /**\n * How the element should be positioned in RTL layouts.\n * If not specified, a mirror of `directionalHint` will be used.\n */\n directionalHintForRTL?: DirectionalHint;\n\n /**\n * Class name to apply to tooltip host.\n */\n hostClassName?: string;\n\n /**\n * Class name to apply to the *tooltip itself*, not the host.\n * To apply a class to the host, use `hostClassName` or `styles.root`.\n */\n className?: string;\n\n /**\n * If this is unset (the default), the tooltip is always shown even if there's no overflow.\n *\n * If set, only show the tooltip if the specified element (`Self` or `Parent`) has overflow.\n * When set to `Parent`, the parent element is also used as the tooltip's target element.\n *\n * Note that even with `Self` mode, the TooltipHost *does not* check whether any children have overflow.\n */\n overflowMode?: TooltipOverflowMode;\n\n /**\n * Whether or not to mark the TooltipHost root element as described by the tooltip.\n * Since this applies aria-describedby to a generic

    , the description will not be\n * read by screen readers. Instead, the caller should pass an `id` to the TooltipHost\n * (to be passed through to the Tooltip) and mark the appropriate element as `aria-describedby`\n * with the `id`.\n * @defaultvalue true\n * @deprecated use aria-describedby on the appropriate element instead\n */\n setAriaDescribedBy?: boolean;\n\n /**\n * Additional properties to pass through for Tooltip.\n */\n tooltipProps?: ITooltipProps;\n\n /**\n * Optional ID to pass through to the tooltip (not used on the host itself).\n * Auto-generated if not provided.\n */\n id?: string;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject;\n\n /**\n * Theme provided by higher-order component.\n */\n theme?: ITheme;\n\n /**\n * Notifies when tooltip becomes visible or hidden, whatever the trigger was.\n */\n onTooltipToggle?(isTooltipVisible: boolean): void;\n}\n\n/**\n * {@docCategory Tooltip}\n */\nexport interface ITooltipHostStyleProps {\n theme: ITheme;\n className?: string;\n}\n\n/**\n * {@docCategory Tooltip}\n */\nexport interface ITooltipHostStyles {\n /**\n * Style for the host wrapper element.\n */\n root: IStyle;\n}\n","import * as React from 'react';\nimport { TooltipBase } from './Tooltip.base';\nimport { DirectionalHint } from '../../common/DirectionalHint';\nimport type { ICalloutProps } from '../../Callout';\nimport type { IRenderFunction, IRefObject, IStyleFunctionOrObject } from '../../Utilities';\nimport type { IStyle, ITheme } from '../../Styling';\n\n/**\n * {@docCategory Tooltip}\n */\nexport interface ITooltip {}\n\n/**\n * {@docCategory Tooltip}\n */\nexport interface ITooltipProps extends Omit, 'content'> {\n /**\n * Optional callback to access the ITooltip interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject;\n\n /**\n * Properties to pass through for Callout.\n * @defaultvalue `{ isBeakVisible: true, beakWidth: 16, gapSpace: 0, setInitialFocus: true, doNotLayer: false }`\n */\n calloutProps?: ICalloutProps;\n\n /**\n * Content to be passed to the tooltip\n */\n content?: string | JSX.Element | JSX.Element[];\n\n /**\n * Render function to populate tooltip content.\n */\n onRenderContent?: IRenderFunction;\n\n /**\n * Length of delay. Set to `TooltipDelay.zero` if you do not want a delay.\n * @defaultvalue TooltipDelay.medium\n */\n delay?: TooltipDelay;\n\n /**\n * Max width of tooltip\n * @defaultvalue 364px\n */\n maxWidth?: string | null;\n\n /**\n * Element to anchor the Tooltip to.\n */\n targetElement?: HTMLElement;\n\n /**\n * How the tooltip should be anchored to its `targetElement`.\n * @defaultvalue DirectionalHint.topCenter\n */\n directionalHint?: DirectionalHint;\n\n /**\n * How the element should be positioned in RTL layouts.\n * If not specified, a mirror of `directionalHint` will be used instead\n */\n directionalHintForRTL?: DirectionalHint;\n\n /**\n * Theme provided by higher-order component.\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject;\n}\n\n/**\n * {@docCategory Tooltip}\n */\nexport enum TooltipDelay {\n zero = 0,\n /** 300 ms delay before showing the tooltip */\n medium = 1,\n /** 500 ms delay before showing the tooltip */\n long = 2,\n}\n\n/**\n * {@docCategory Tooltip}\n */\nexport interface ITooltipStyleProps {\n theme: ITheme;\n\n className?: string;\n\n /**\n * Delay before tooltip appears.\n * @deprecated Delay logic moved to TooltipHost vs relying on animation delay.\n */\n delay?: TooltipDelay;\n\n /**\n * Maximum width of tooltip.\n */\n maxWidth?: string;\n\n /**\n * The gap between the Callout and the target\n * @defaultvalue 0\n */\n gapSpace?: number;\n\n /**\n * The width of the Callout's beak\n * @defaultvalue 16\n */\n beakWidth?: number;\n}\n\n/**\n * {@docCategory Tooltip}\n */\nexport interface ITooltipStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n\n /**\n * Style for the content element.\n */\n content: IStyle;\n\n /**\n * Style for the subtext element.\n */\n subText: IStyle;\n}\n","import * as React from 'react';\nimport { classNamesFunction, divProperties, getNativeProps } from '../../Utilities';\nimport { Callout } from '../../Callout';\nimport { DirectionalHint } from '../../common/DirectionalHint';\nimport type { IProcessedStyleSet } from '../../Styling';\nimport type { ITooltipProps, ITooltipStyleProps, ITooltipStyles } from './Tooltip.types';\n\nconst getClassNames = classNamesFunction();\n\nexport class TooltipBase extends React.Component {\n // Specify default props values\n public static defaultProps: Partial = {\n directionalHint: DirectionalHint.topCenter,\n maxWidth: '364px',\n calloutProps: {\n isBeakVisible: true,\n beakWidth: 16,\n gapSpace: 0,\n setInitialFocus: true,\n doNotLayer: false,\n },\n };\n\n private _classNames: IProcessedStyleSet;\n\n public render(): JSX.Element {\n const {\n className,\n calloutProps,\n directionalHint,\n directionalHintForRTL,\n styles,\n id,\n maxWidth,\n onRenderContent = this._onRenderContent,\n targetElement,\n theme,\n } = this.props;\n\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n className: className || (calloutProps && calloutProps.className),\n beakWidth: calloutProps && calloutProps.isBeakVisible ? calloutProps.beakWidth : 0,\n gapSpace: calloutProps && calloutProps.gapSpace,\n maxWidth: maxWidth!,\n });\n\n return (\n \n \n {onRenderContent(this.props, this._onRenderContent)}\n
    \n \n );\n }\n\n private _onRenderContent = (props: ITooltipProps): JSX.Element => {\n if (typeof props.content === 'string') {\n return

    {props.content}

    ;\n } else {\n return
    {props.content}
    ;\n }\n };\n}\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { TooltipBase } from './Tooltip.base';\nimport { getStyles } from './Tooltip.styles';\nimport type { ITooltipProps, ITooltipStyleProps, ITooltipStyles } from './Tooltip.types';\n\nexport const Tooltip: React.FunctionComponent = styled<\n ITooltipProps,\n ITooltipStyleProps,\n ITooltipStyles\n>(TooltipBase, getStyles, undefined, {\n scope: 'Tooltip',\n});\n","import { AnimationClassNames } from '../../Styling';\nimport type { ITooltipStyleProps, ITooltipStyles } from './Tooltip.types';\n\nexport const getStyles = (props: ITooltipStyleProps): ITooltipStyles => {\n const { className, beakWidth = 16, gapSpace = 0, maxWidth, theme } = props;\n const { semanticColors, fonts, effects } = theme;\n\n // The math here is done to account for the 45 degree rotation of the beak\n // and sub-pixel rounding that differs across browsers, which is more noticeable when\n // the device pixel ratio is larger\n const tooltipGapSpace = -(Math.sqrt((beakWidth * beakWidth) / 2) + gapSpace) + 1 / window.devicePixelRatio;\n\n return {\n root: [\n 'ms-Tooltip',\n theme.fonts.medium,\n AnimationClassNames.fadeIn200,\n {\n background: semanticColors.menuBackground,\n boxShadow: effects.elevation8,\n padding: '8px',\n maxWidth,\n selectors: {\n ':after': {\n content: `''`,\n position: 'absolute',\n bottom: tooltipGapSpace,\n left: tooltipGapSpace,\n right: tooltipGapSpace,\n top: tooltipGapSpace,\n zIndex: 0,\n },\n },\n },\n className,\n ],\n content: [\n 'ms-Tooltip-content',\n fonts.small,\n {\n position: 'relative',\n zIndex: 1,\n color: semanticColors.menuItemText,\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n overflow: 'hidden',\n },\n ],\n subText: [\n 'ms-Tooltip-subtext',\n {\n // Using inherit here to avoid unintentional global overrides of the

    tag.\n fontSize: 'inherit',\n fontWeight: 'inherit',\n color: 'inherit',\n margin: 0,\n },\n ],\n };\n};\n","import * as React from 'react';\nimport { hiddenContentStyle } from '../../Styling';\nimport {\n initializeComponentRef,\n Async,\n divProperties,\n getNativeProps,\n getId,\n assign,\n hasOverflow,\n portalContainsElement,\n classNamesFunction,\n KeyCodes,\n} from '../../Utilities';\nimport { TooltipOverflowMode } from './TooltipHost.types';\nimport { Tooltip } from './Tooltip';\nimport { TooltipDelay } from './Tooltip.types';\nimport type { ITooltipHostProps, ITooltipHostStyles, ITooltipHostStyleProps, ITooltipHost } from './TooltipHost.types';\n\nexport interface ITooltipHostState {\n /** @deprecated No longer used internally */\n isAriaPlaceholderRendered: boolean;\n isTooltipVisible: boolean;\n}\n\nconst getClassNames = classNamesFunction();\n\nexport class TooltipHostBase extends React.Component implements ITooltipHost {\n public static defaultProps = {\n delay: TooltipDelay.medium,\n };\n\n private static _currentVisibleTooltip: ITooltipHost | undefined;\n\n // The wrapping div that gets the hover events\n private _tooltipHost = React.createRef();\n\n private _classNames: { [key in keyof ITooltipHostStyles]: string };\n private _async: Async;\n private _dismissTimerId: number;\n private _openTimerId: number;\n private _defaultTooltipId = getId('tooltip');\n private _ignoreNextFocusEvent: boolean;\n\n // Constructor\n constructor(props: ITooltipHostProps) {\n super(props);\n\n initializeComponentRef(this);\n\n this.state = {\n isAriaPlaceholderRendered: false,\n isTooltipVisible: false,\n };\n\n this._async = new Async(this);\n }\n\n // Render\n public render(): JSX.Element {\n const {\n calloutProps,\n children,\n content,\n directionalHint,\n directionalHintForRTL,\n hostClassName: className,\n id,\n // eslint-disable-next-line deprecation/deprecation\n setAriaDescribedBy = true,\n tooltipProps,\n styles,\n theme,\n } = this.props;\n\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n });\n\n const { isTooltipVisible } = this.state;\n const tooltipId = id || this._defaultTooltipId;\n\n const tooltipRenderProps = {\n id: `${tooltipId}--tooltip`,\n content,\n targetElement: this._getTargetElement(),\n directionalHint,\n directionalHintForRTL,\n calloutProps: assign({}, calloutProps, {\n onDismiss: this._hideTooltip,\n onFocus: this._onTooltipContentFocus,\n onMouseEnter: this._onTooltipMouseEnter,\n onMouseLeave: this._onTooltipMouseLeave,\n }),\n onMouseEnter: this._onTooltipMouseEnter,\n onMouseLeave: this._onTooltipMouseLeave,\n ...getNativeProps(this.props, divProperties, ['id']), // Make sure we use the id above\n ...tooltipProps,\n };\n\n // Get the content of the tooltip for use in the hidden div used for screen readers\n const tooltipContent = tooltipProps?.onRenderContent\n ? tooltipProps.onRenderContent(tooltipRenderProps, props => (props?.content ? <>{props.content} : null))\n : content;\n const showTooltip = isTooltipVisible && !!tooltipContent;\n const ariaDescribedBy = setAriaDescribedBy && isTooltipVisible && !!tooltipContent ? tooltipId : undefined;\n\n return (\n \n {children}\n {showTooltip && }\n

    \n
    \n );\n }\n\n public componentWillUnmount(): void {\n if (TooltipHostBase._currentVisibleTooltip && TooltipHostBase._currentVisibleTooltip === this) {\n TooltipHostBase._currentVisibleTooltip = undefined;\n }\n\n this._async.dispose();\n }\n\n public show = (): void => {\n this._toggleTooltip(true);\n };\n\n public dismiss = (): void => {\n this._hideTooltip();\n };\n\n private _getTargetElement = (): HTMLElement | undefined => {\n if (!this._tooltipHost.current) {\n return undefined;\n }\n\n const { overflowMode } = this.props;\n\n // Select target element based on overflow mode. For parent mode, you want to position the tooltip relative\n // to the parent element, otherwise it might look off.\n if (overflowMode !== undefined) {\n switch (overflowMode) {\n case TooltipOverflowMode.Parent:\n return this._tooltipHost.current.parentElement!;\n\n case TooltipOverflowMode.Self:\n return this._tooltipHost.current;\n }\n }\n\n return this._tooltipHost.current;\n };\n\n private _onTooltipFocus = (ev: React.FocusEvent) => {\n if (this._ignoreNextFocusEvent) {\n this._ignoreNextFocusEvent = false;\n return;\n }\n\n this._onTooltipMouseEnter(ev);\n };\n\n private _onTooltipContentFocus = (ev: React.FocusEvent) => {\n if (TooltipHostBase._currentVisibleTooltip && TooltipHostBase._currentVisibleTooltip !== this) {\n TooltipHostBase._currentVisibleTooltip.dismiss();\n }\n TooltipHostBase._currentVisibleTooltip = this;\n\n this._clearDismissTimer();\n this._clearOpenTimer();\n };\n\n private _onTooltipBlur = (ev: React.FocusEvent) => {\n // The focused element gets a blur event when the document loses focus\n // (e.g. switching tabs in the browser), but we don't want to show the\n // tooltip again when the document gets focus back. Handle this case by\n // checking if the blurred element is still the document's activeElement,\n // and ignoring when it next gets focus back.\n // See https://github.com/microsoft/fluentui/issues/13541\n this._ignoreNextFocusEvent = document?.activeElement === ev.target;\n\n this._dismissTimerId = this._async.setTimeout(() => {\n this._hideTooltip();\n }, 0);\n };\n\n // Show Tooltip\n private _onTooltipMouseEnter = (ev: any): void => {\n const { overflowMode, delay } = this.props;\n\n if (TooltipHostBase._currentVisibleTooltip && TooltipHostBase._currentVisibleTooltip !== this) {\n TooltipHostBase._currentVisibleTooltip.dismiss();\n }\n TooltipHostBase._currentVisibleTooltip = this;\n\n if (overflowMode !== undefined) {\n const overflowElement = this._getTargetElement();\n if (overflowElement && !hasOverflow(overflowElement)) {\n return;\n }\n }\n\n if (ev.target && portalContainsElement(ev.target as HTMLElement, this._getTargetElement())) {\n // Do not show tooltip when target is inside a portal relative to TooltipHost.\n return;\n }\n\n this._clearDismissTimer();\n this._clearOpenTimer();\n\n if (delay !== TooltipDelay.zero) {\n const delayTime = this._getDelayTime(delay!); // non-null assertion because we set it in `defaultProps`\n\n this._openTimerId = this._async.setTimeout(() => {\n this._toggleTooltip(true);\n }, delayTime);\n } else {\n this._toggleTooltip(true);\n }\n };\n\n // Hide Tooltip\n private _onTooltipMouseLeave = (ev: any): void => {\n const { closeDelay } = this.props;\n\n this._clearDismissTimer();\n this._clearOpenTimer();\n\n if (closeDelay) {\n this._dismissTimerId = this._async.setTimeout(() => {\n this._toggleTooltip(false);\n }, closeDelay);\n } else {\n this._toggleTooltip(false);\n }\n\n if (TooltipHostBase._currentVisibleTooltip === this) {\n TooltipHostBase._currentVisibleTooltip = undefined;\n }\n };\n\n private _onTooltipKeyDown = (ev: React.KeyboardEvent): void => {\n // eslint-disable-next-line deprecation/deprecation\n if ((ev.which === KeyCodes.escape || ev.ctrlKey) && this.state.isTooltipVisible) {\n this._hideTooltip();\n ev.stopPropagation();\n }\n };\n\n private _clearDismissTimer = (): void => {\n this._async.clearTimeout(this._dismissTimerId);\n };\n\n private _clearOpenTimer = (): void => {\n this._async.clearTimeout(this._openTimerId);\n };\n\n // Hide Tooltip\n private _hideTooltip = (): void => {\n this._clearOpenTimer();\n this._clearDismissTimer();\n this._toggleTooltip(false);\n };\n\n private _toggleTooltip = (isTooltipVisible: boolean): void => {\n if (this.state.isTooltipVisible !== isTooltipVisible) {\n this.setState(\n { isTooltipVisible },\n () => this.props.onTooltipToggle && this.props.onTooltipToggle(isTooltipVisible),\n );\n }\n };\n\n private _getDelayTime = (delay: TooltipDelay): number => {\n switch (delay) {\n case TooltipDelay.medium:\n return 300;\n case TooltipDelay.long:\n return 500;\n default:\n return 0;\n }\n };\n}\n","/**\n * Detects whether an element's content has horizontal overflow\n *\n * @public\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nexport function hasHorizontalOverflow(element: HTMLElement): boolean {\n return element.clientWidth < element.scrollWidth;\n}\n\n/**\n * Detects whether an element's content has vertical overflow\n *\n * @public\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nexport function hasVerticalOverflow(element: HTMLElement): boolean {\n return element.clientHeight < element.scrollHeight;\n}\n\n/**\n * Detects whether an element's content has overflow in any direction\n *\n * @public\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nexport function hasOverflow(element: HTMLElement): boolean {\n return hasHorizontalOverflow(element) || hasVerticalOverflow(element);\n}\n","import { getGlobalClassNames } from '../../Styling';\nimport type { ITooltipHostStyleProps, ITooltipHostStyles } from './TooltipHost.types';\n\nconst GlobalClassNames = {\n root: 'ms-TooltipHost',\n ariaPlaceholder: 'ms-TooltipHost-aria-placeholder',\n};\n\nexport const getStyles = (props: ITooltipHostStyleProps): ITooltipHostStyles => {\n const { className, theme } = props;\n const classNames = getGlobalClassNames(GlobalClassNames, theme);\n\n return {\n root: [\n classNames.root,\n {\n display: 'inline',\n },\n className,\n ],\n };\n};\n","import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { TooltipHostBase } from './TooltipHost.base';\nimport { getStyles } from './TooltipHost.styles';\nimport type { ITooltipHostProps, ITooltipHostStyleProps, ITooltipHostStyles } from './TooltipHost.types';\n\nexport const TooltipHost: React.FunctionComponent = styled<\n ITooltipHostProps,\n ITooltipHostStyleProps,\n ITooltipHostStyles\n>(TooltipHostBase, getStyles, undefined, {\n scope: 'TooltipHost',\n});\n","import * as React from 'react';\nimport type { Theme } from '@fluentui/theme';\n\nexport const ThemeContext = React.createContext(undefined);\n","import { useContext } from 'react';\nimport { useCustomizationSettings } from '@fluentui/utilities';\nimport { createTheme } from '@fluentui/theme';\nimport { ThemeContext } from './ThemeContext';\nimport type { ITheme, Theme } from '@fluentui/theme';\n\n/**\n * Get theme from CustomizerContext or Customizations singleton.\n */\nfunction useCompatTheme(): ITheme | undefined {\n return useCustomizationSettings(['theme']).theme;\n}\n\n/**\n * React hook for programmatically accessing the theme.\n */\nexport const useTheme = (): Theme => {\n const theme = useContext(ThemeContext);\n const legacyTheme = useCompatTheme();\n\n return theme || legacyTheme || createTheme({});\n};\n","import * as React from 'react';\nimport { BaseDecorator } from './BaseDecorator';\nimport { getWindow, hoistStatics, EventGroup } from '../../Utilities';\nimport { WindowContext } from '../../WindowProvider';\n\n/**\n * @deprecated Decorator usage is deprecated. Either call `getResponsiveMode` manually, or\n * use the `useResponsiveMode` hook within a function component.\n */\nexport interface IWithResponsiveModeState {\n responsiveMode?: ResponsiveMode;\n}\n\nexport enum ResponsiveMode {\n /** Width \\<= 479px */\n small = 0,\n /** Width \\> 479px and \\<= 639px */\n medium = 1,\n /** Width \\> 639px and \\<= 1023px */\n large = 2,\n /** Width \\> 1023px and \\<= 1365px */\n xLarge = 3,\n /** Width \\> 1365px and \\<= 1919px */\n xxLarge = 4,\n /** Width \\> 1919px */\n xxxLarge = 5,\n unknown = 999,\n}\n\nconst RESPONSIVE_MAX_CONSTRAINT = [479, 639, 1023, 1365, 1919, 99999999];\n\n/**\n * User specified mode to default to, useful for server side rendering scenarios.\n */\nlet _defaultMode: ResponsiveMode | undefined;\n\n/**\n * Tracking the last mode we successfully rendered, which allows us to\n * paint initial renders with the correct size.\n */\nlet _lastMode: ResponsiveMode | undefined;\n\n/**\n * Allows a server rendered scenario to provide a **default** responsive mode.\n * This WILL NOT trigger any updates to components that have already consumed the responsive mode!\n */\nexport function setResponsiveMode(responsiveMode: ResponsiveMode | undefined): void {\n _defaultMode = responsiveMode;\n}\n\n/**\n * Initializes the responsive mode to the current window size. This can be used to avoid\n * a re-render during first component mount since the window would otherwise not be measured\n * until after mounting.\n *\n * This WILL NOT trigger any updates to components that have already consumed the responsive mode!\n */\nexport function initializeResponsiveMode(element?: HTMLElement): void {\n const currentWindow = getWindow(element);\n\n if (currentWindow) {\n getResponsiveMode(currentWindow);\n }\n}\n\nexport function getInitialResponsiveMode(): ResponsiveMode {\n return _defaultMode ?? _lastMode ?? ResponsiveMode.large;\n}\n\n/**\n * @deprecated Decorator usage is deprecated. Either call `getResponsiveMode` manually, or\n * use the `useResponsiveMode` hook within a function component.\n */\nexport function withResponsiveMode(\n ComposedComponent: new (props: TProps, ...args: any[]) => React.Component,\n): any {\n // eslint-disable-next-line deprecation/deprecation\n const resultClass = class WithResponsiveMode extends BaseDecorator {\n public static contextType = WindowContext;\n public context: React.ContextType;\n\n private _events: EventGroup;\n\n constructor(props: TProps) {\n super(props);\n this._events = new EventGroup(this);\n this._updateComposedComponentRef = this._updateComposedComponentRef.bind(this);\n\n this.state = {\n responsiveMode: getInitialResponsiveMode(),\n };\n }\n\n public componentDidMount(): void {\n this._events.on(this.context.window, 'resize', this._onResize);\n this._onResize();\n }\n\n public componentWillUnmount(): void {\n this._events.dispose();\n }\n\n public render(): JSX.Element | null {\n const { responsiveMode } = this.state;\n\n return responsiveMode === ResponsiveMode.unknown ? null : (\n \n );\n }\n\n private _onResize = () => {\n const responsiveMode = getResponsiveMode(this.context.window);\n\n if (responsiveMode !== this.state.responsiveMode) {\n this.setState({\n responsiveMode,\n });\n }\n };\n };\n return hoistStatics(ComposedComponent, resultClass);\n}\n\nfunction getWidthOfCurrentWindow(currentWindow: Window): number {\n try {\n return currentWindow.document.documentElement.clientWidth;\n } catch (e) {\n return currentWindow.innerWidth;\n }\n}\n\n/**\n * Hook to get the current responsive mode (window size category).\n * @param currentWindow - Use this window when determining the responsive mode.\n */\nexport function getResponsiveMode(currentWindow: Window | undefined): ResponsiveMode {\n let responsiveMode = ResponsiveMode.small;\n\n if (currentWindow) {\n try {\n while (getWidthOfCurrentWindow(currentWindow) > RESPONSIVE_MAX_CONSTRAINT[responsiveMode]) {\n responsiveMode++;\n }\n } catch (e) {\n // Return a best effort result in cases where we're in the browser but it throws on getting innerWidth.\n responsiveMode = getInitialResponsiveMode();\n }\n\n // Tracking last mode just gives us a better default in future renders,\n // which avoids starting with the wrong value if we've measured once.\n _lastMode = responsiveMode;\n } else {\n if (_defaultMode !== undefined) {\n responsiveMode = _defaultMode;\n } else {\n throw new Error(\n 'Content was rendered in a server environment without providing a default responsive mode. ' +\n 'Call setResponsiveMode to define what the responsive mode is.',\n );\n }\n }\n\n return responsiveMode;\n}\n","import * as React from 'react';\nimport { getWindow } from '@fluentui/utilities';\nimport { useOnEvent } from '@fluentui/react-hooks';\nimport { ResponsiveMode, getResponsiveMode, getInitialResponsiveMode } from '../decorators/withResponsiveMode';\nimport { useWindow } from '../../WindowProvider';\n\n/**\n * Hook to get the current responsive mode (window size category).\n * @param elementRef - Use this element's parent window when determining the responsive mode.\n * @param overrideResponsiveMode - Override the responsive mode. If this param is present, it's always returned.\n */\nexport const useResponsiveMode = (\n elementRef: React.RefObject,\n overrideResponsiveMode?: ResponsiveMode,\n) => {\n const [lastResponsiveMode, setLastResponsiveMode] = React.useState(getInitialResponsiveMode());\n\n const onResize = React.useCallback(() => {\n const newResponsiveMode = getResponsiveMode(getWindow(elementRef.current));\n\n // Setting the same value should not cause a re-render.\n if (lastResponsiveMode !== newResponsiveMode) {\n setLastResponsiveMode(newResponsiveMode);\n }\n }, [elementRef, lastResponsiveMode]);\n\n const win = useWindow();\n useOnEvent(win, 'resize', onResize);\n\n // Call resize function initially on mount, or if the override changes from defined to undefined\n // (the effect will run on all override changes, but onResize will only be called if it changed to undefined)\n React.useEffect(() => {\n if (overrideResponsiveMode === undefined) {\n onResize();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps -- only meant to run on mount or when override changes\n }, [overrideResponsiveMode]);\n\n return overrideResponsiveMode ?? lastResponsiveMode;\n};\n","export const KTP_PREFIX = 'ktp';\nexport const KTP_SEPARATOR = '-';\nexport const KTP_FULL_PREFIX = KTP_PREFIX + KTP_SEPARATOR;\nexport const DATAKTP_TARGET = 'data-ktp-target';\nexport const DATAKTP_EXECUTE_TARGET = 'data-ktp-execute-target';\nexport const DATAKTP_ARIA_TARGET = 'data-ktp-aria-target';\nexport const KTP_LAYER_ID = 'ktp-layer-id';\nexport const KTP_ARIA_SEPARATOR = ', ';\n\n// Events\nexport namespace KeytipEvents {\n export const KEYTIP_ADDED = 'keytipAdded';\n export const KEYTIP_REMOVED = 'keytipRemoved';\n export const KEYTIP_UPDATED = 'keytipUpdated';\n export const PERSISTED_KEYTIP_ADDED = 'persistedKeytipAdded';\n export const PERSISTED_KEYTIP_REMOVED = 'persistedKeytipRemoved';\n export const PERSISTED_KEYTIP_EXECUTE = 'persistedKeytipExecute';\n export const ENTER_KEYTIP_MODE = 'enterKeytipMode';\n export const EXIT_KEYTIP_MODE = 'exitKeytipMode';\n}\n","import { EventGroup, getId } from '../../Utilities';\nimport { KeytipEvents } from '../../utilities/keytips/KeytipConstants';\nimport type { IKeytipProps } from '../../Keytip';\n\nexport interface IUniqueKeytip {\n uniqueID: string;\n keytip: IKeytipProps;\n}\n\n/**\n * This class is responsible for handling registering, updating, and unregistering of keytips\n */\nexport class KeytipManager {\n private static _instance: KeytipManager = new KeytipManager();\n\n public keytips: { [key: string]: IUniqueKeytip } = {};\n public persistedKeytips: { [key: string]: IUniqueKeytip } = {};\n public sequenceMapping: { [key: string]: IKeytipProps } = {};\n\n // This is (and should be) updated and kept in sync\n // with the inKeytipMode in KeytipLayer.\n public inKeytipMode = false;\n\n // Boolean that gets checked before entering keytip mode by the KeytipLayer\n // Used for an override in special cases (e.g. Disable entering keytip mode when a modal is shown)\n public shouldEnterKeytipMode = true;\n\n // Boolean to indicate whether to delay firing an event to update subscribers of\n // keytip data changed.\n public delayUpdatingKeytipChange = false;\n\n /**\n * Static function to get singleton KeytipManager instance\n *\n * @returns Singleton KeytipManager instance\n */\n public static getInstance(): KeytipManager {\n return this._instance;\n }\n\n /**\n * Initialization code to set set parameters to define\n * how the KeytipManager handles keytip data.\n *\n * @param delayUpdatingKeytipChange - T/F if we should delay notifiying keytip subscribers\n * of keytip changes\n */\n public init(delayUpdatingKeytipChange: boolean) {\n this.delayUpdatingKeytipChange = delayUpdatingKeytipChange;\n }\n\n /**\n * Registers a keytip\n *\n * @param keytipProps - Keytip to register\n * @param persisted - T/F if this keytip should be persisted, default is false\n * @returns Unique ID for this keytip\n */\n public register(keytipProps: IKeytipProps, persisted: boolean = false): string {\n let props: IKeytipProps = keytipProps;\n if (!persisted) {\n // Add the overflowSetSequence if necessary\n props = this.addParentOverflow(keytipProps);\n this.sequenceMapping[props.keySequences.toString()] = props;\n }\n // Create a unique keytip\n const uniqueKeytip: IUniqueKeytip = this._getUniqueKtp(props);\n // Add to dictionary\n persisted\n ? (this.persistedKeytips[uniqueKeytip.uniqueID] = uniqueKeytip)\n : (this.keytips[uniqueKeytip.uniqueID] = uniqueKeytip);\n\n // We only want to add something new if we are currently showing keytip mode\n if (this.inKeytipMode || !this.delayUpdatingKeytipChange) {\n const event = persisted ? KeytipEvents.PERSISTED_KEYTIP_ADDED : KeytipEvents.KEYTIP_ADDED;\n EventGroup.raise(this, event, {\n keytip: props,\n uniqueID: uniqueKeytip.uniqueID,\n });\n }\n\n return uniqueKeytip.uniqueID;\n }\n\n /**\n * Update a keytip\n *\n * @param keytipProps - Keytip to update\n * @param uniqueID - Unique ID of this keytip\n */\n public update(keytipProps: IKeytipProps, uniqueID: string): void {\n const newKeytipProps = this.addParentOverflow(keytipProps);\n const uniqueKeytip = this._getUniqueKtp(newKeytipProps, uniqueID);\n const oldKeyTip = this.keytips[uniqueID];\n if (oldKeyTip) {\n // Update everything except 'visible'\n uniqueKeytip.keytip.visible = oldKeyTip.keytip.visible;\n // Update keytip in this.keytips\n this.keytips[uniqueID] = uniqueKeytip;\n\n // Update the sequence to be up to date\n delete this.sequenceMapping[oldKeyTip.keytip.keySequences.toString()];\n this.sequenceMapping[uniqueKeytip.keytip.keySequences.toString()] = uniqueKeytip.keytip;\n\n // Raise event only if we are currently in keytip mode\n if (this.inKeytipMode || !this.delayUpdatingKeytipChange) {\n EventGroup.raise(this, KeytipEvents.KEYTIP_UPDATED, {\n keytip: uniqueKeytip.keytip,\n uniqueID: uniqueKeytip.uniqueID,\n });\n }\n }\n }\n\n /**\n * Unregisters a keytip\n *\n * @param keytipToRemove - IKeytipProps of the keytip to remove\n * @param uniqueID - Unique ID of this keytip\n * @param persisted - T/F if this keytip should be persisted, default is false\n */\n public unregister(keytipToRemove: IKeytipProps, uniqueID: string, persisted: boolean = false): void {\n persisted ? delete this.persistedKeytips[uniqueID] : delete this.keytips[uniqueID];\n !persisted && delete this.sequenceMapping[keytipToRemove.keySequences.toString()];\n\n const event = persisted ? KeytipEvents.PERSISTED_KEYTIP_REMOVED : KeytipEvents.KEYTIP_REMOVED;\n // Update keytips only if we're in keytip mode\n if (this.inKeytipMode || !this.delayUpdatingKeytipChange) {\n EventGroup.raise(this, event, {\n keytip: keytipToRemove,\n uniqueID,\n });\n }\n }\n\n /**\n * Manual call to enter keytip mode\n */\n public enterKeytipMode(): void {\n EventGroup.raise(this, KeytipEvents.ENTER_KEYTIP_MODE);\n }\n\n /**\n * Manual call to exit keytip mode\n */\n public exitKeytipMode(): void {\n EventGroup.raise(this, KeytipEvents.EXIT_KEYTIP_MODE);\n }\n\n /**\n * Gets all IKeytipProps from this.keytips\n *\n * @returns All keytips stored in the manager\n */\n public getKeytips(): IKeytipProps[] {\n return Object.keys(this.keytips).map(key => this.keytips[key].keytip);\n }\n\n /**\n * Adds the overflowSetSequence to the keytipProps if its parent keytip also has it\n *\n * @param keytipProps - Keytip props to add overflowSetSequence to if necessary\n * @returns - Modified keytip props, if needed to be modified\n */\n public addParentOverflow(keytipProps: IKeytipProps): IKeytipProps {\n const fullSequence = [...keytipProps.keySequences];\n fullSequence.pop();\n if (fullSequence.length !== 0) {\n const parentKeytip = this.sequenceMapping[fullSequence.toString()];\n if (parentKeytip && parentKeytip.overflowSetSequence) {\n return {\n ...keytipProps,\n overflowSetSequence: parentKeytip.overflowSetSequence,\n };\n }\n }\n return keytipProps;\n }\n\n /**\n * Public function to bind for overflow items that have a submenu\n */\n public menuExecute(overflowButtonSequences: string[], keytipSequences: string[]) {\n EventGroup.raise(this, KeytipEvents.PERSISTED_KEYTIP_EXECUTE, {\n overflowButtonSequences,\n keytipSequences,\n });\n }\n\n /**\n * Creates an IUniqueKeytip object\n *\n * @param keytipProps - IKeytipProps\n * @param uniqueID - Unique ID, will default to the next unique ID if not passed\n * @returns IUniqueKeytip object\n */\n private _getUniqueKtp(keytipProps: IKeytipProps, uniqueID: string = getId()): IUniqueKeytip {\n return { keytip: { ...keytipProps }, uniqueID };\n }\n}\n","import { DirectionalHint } from '../../common/DirectionalHint';\nimport type { IRectangle, Point } from '../../Utilities';\n\nexport enum RectangleEdge {\n top = 1,\n bottom = -1,\n left = 2,\n right = -2,\n}\n\nexport enum Position {\n top = 0,\n bottom = 1,\n start = 2,\n end = 3,\n}\n\n/**\n * Window with typings for experimental features regarding Dual Screen devices.\n */\nexport interface IWindowWithSegments extends Window {\n getWindowSegments?: () => DOMRect[];\n}\n\nexport interface IPositionProps {\n target?: Element | MouseEvent | Point;\n /** how the element should be positioned */\n directionalHint?: DirectionalHint;\n /**\n * How the element should be positioned in RTL layouts.\n * If not specified, a mirror of `directionalHint` will be used instead\n */\n directionalHintForRTL?: DirectionalHint;\n /** The gap between the callout and the target */\n gapSpace?: number;\n /**\n * The bounding rectangle for which the contextual menu can appear in.\n */\n bounds?: IRectangle;\n /**\n * If true the position returned will have the menu element cover the target.\n * If false then it will position next to the target;\n */\n coverTarget?: boolean;\n /**\n * If true the position will not change edges in an attempt to fit the rectangle within bounds.\n * It will still attempt to align it to whatever bounds are given.\n * @defaultvalue false\n */\n directionalHintFixed?: boolean;\n\n /**\n * If true the positioning logic will prefer flipping edges over nudging the rectangle to fit within bounds,\n * thus making sure the element align perfectly with target.\n */\n alignTargetEdge?: boolean;\n}\n\nexport interface ICalloutPositionProps extends IPositionProps {\n /**\n * The width of the beak.\n */\n beakWidth?: number;\n\n /**\n * Whether or not the beak is visible\n */\n isBeakVisible?: boolean;\n}\n\nexport interface IPositionedData {\n /**\n * The new position of the element.\n */\n elementPosition: IPosition;\n /**\n * The finalized target edge that element is aligning to. For instance RectangleEdge.bottom would mean\n * that the bottom edge of the target is being aligned to by the RectangleEdge.top of the element\n * that is being positioned.\n */\n targetEdge: RectangleEdge;\n /**\n * The finalized alignment edge that the element is aligning too. For instance, RectangleEdge.left means\n * that the left edge of the target should be in line with the left edge of the element being positioned.\n */\n alignmentEdge?: RectangleEdge;\n}\n\nexport interface ICalloutPositionedInfo extends IPositionedData {\n beakPosition: ICalloutBeakPositionedInfo;\n}\n\nexport interface ICalloutBeakPositionedInfo extends IPositionedData {\n closestEdge: RectangleEdge;\n hideBeak?: boolean;\n}\n\n/**\n * Gives the position of some element on the page. Only a pair of vertical and horizontal edges need to be\n * given. So top/left or bottom/left is sufficient.\n * The number given is the distance in pixels from whatever host was given..\n * So bottom: 100 would be 100px up from the bottom of the host while top: 100px from the top.\n */\nexport interface IPosition {\n top?: number;\n left?: number;\n bottom?: number;\n right?: number;\n [key: string]: number | undefined;\n}\n\nexport interface IPositionDirectionalHintData {\n targetEdge: RectangleEdge;\n alignmentEdge?: RectangleEdge;\n isAuto?: boolean;\n alignTargetEdge?: boolean;\n}\n\nexport interface IRelativePositions {\n calloutPosition: IPosition;\n beakPosition: { position: IPosition | undefined; display: 'block' };\n directionalClassName: string;\n submenuDirection: DirectionalHint;\n}\n\n// eslint-disable-next-line deprecation/deprecation\nexport type { Point, IPoint } from '../../Utilities';\n","// A packages cache that makes sure that we don't inject the same packageName twice in the same bundle -\n// this cache is local to the module closure inside this bundle\nconst packagesCache: { [name: string]: string } = {};\n\n// Cache access to window to avoid IE11 memory leak.\nlet _win: Window | undefined = undefined;\n\ntry {\n _win = window;\n} catch (e) {\n /* no-op */\n}\n\nexport function setVersion(packageName: string, packageVersion: string): void {\n if (typeof _win !== 'undefined') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const packages = ((_win as any).__packages__ = (_win as any).__packages__ || {});\n\n // We allow either the global packages or local packages caches to invalidate so testing can\n // just clear the global to set this state\n if (!packages[packageName] || !packagesCache[packageName]) {\n packagesCache[packageName] = packageVersion;\n const versions = (packages[packageName] = packages[packageName] || []);\n versions.push(packageVersion);\n }\n }\n}\n","import { setVersion } from './setVersion';\nexport { setVersion };\n\nsetVersion('@fluentui/set-version', '6.0.0');\n","import { IKeyframes } from './IKeyframes';\nimport { getStyleOptions } from './StyleOptionsState';\nimport { Stylesheet } from './Stylesheet';\nimport { serializeRuleEntries } from './styleToClassName';\n\n/**\n * Registers keyframe definitions.\n *\n * @public\n */\nexport function keyframes(timeline: IKeyframes): string {\n const stylesheet = Stylesheet.getInstance();\n const rulesArray: string[] = [];\n\n for (const prop in timeline) {\n if (timeline.hasOwnProperty(prop)) {\n rulesArray.push(prop, '{', serializeRuleEntries(getStyleOptions(), timeline[prop]), '}');\n }\n }\n const rules = rulesArray.join('');\n\n const className = stylesheet.classNameFromKey(rules);\n\n if (className) {\n return className;\n }\n\n const name = stylesheet.getClassName();\n stylesheet.insertRule(`@keyframes ${name}{${rules}}`, true);\n stylesheet.cacheClassName(name, rules, [], ['keyframes', rules]);\n\n return name;\n}\n","import { keyframes } from '@fluentui/merge-styles';\nimport type { IAnimationStyles, IAnimationVariables } from '../types/IAnimationStyles';\nimport type { IRawStyle } from '@fluentui/merge-styles';\n\n/* Register the keyframes */\n\nconst EASING_FUNCTION_1 = 'cubic-bezier(.1,.9,.2,1)';\nconst EASING_FUNCTION_2 = 'cubic-bezier(.1,.25,.75,.9)';\nconst DURATION_1 = '0.167s';\nconst DURATION_2 = '0.267s';\nconst DURATION_3 = '0.367s';\nconst DURATION_4 = '0.467s';\n\nconst FADE_IN: string = keyframes({\n from: { opacity: 0 },\n to: { opacity: 1 },\n});\n\nconst FADE_OUT: string = keyframes({\n from: { opacity: 1 },\n to: { opacity: 0, visibility: 'hidden' },\n});\n\nconst SLIDE_RIGHT_IN10: string = _createSlideInX(-10);\nconst SLIDE_RIGHT_IN20: string = _createSlideInX(-20);\nconst SLIDE_RIGHT_IN40: string = _createSlideInX(-40);\nconst SLIDE_RIGHT_IN400: string = _createSlideInX(-400);\nconst SLIDE_LEFT_IN10: string = _createSlideInX(10);\nconst SLIDE_LEFT_IN20: string = _createSlideInX(20);\nconst SLIDE_LEFT_IN40: string = _createSlideInX(40);\nconst SLIDE_LEFT_IN400: string = _createSlideInX(400);\nconst SLIDE_UP_IN10: string = _createSlideInY(10);\nconst SLIDE_UP_IN20: string = _createSlideInY(20);\nconst SLIDE_DOWN_IN10: string = _createSlideInY(-10);\nconst SLIDE_DOWN_IN20: string = _createSlideInY(-20);\n\nconst SLIDE_RIGHT_OUT10: string = _createSlideOutX(10);\nconst SLIDE_RIGHT_OUT20: string = _createSlideOutX(20);\nconst SLIDE_RIGHT_OUT40: string = _createSlideOutX(40);\nconst SLIDE_RIGHT_OUT400: string = _createSlideOutX(400);\nconst SLIDE_LEFT_OUT10: string = _createSlideOutX(-10);\nconst SLIDE_LEFT_OUT20: string = _createSlideOutX(-20);\nconst SLIDE_LEFT_OUT40: string = _createSlideOutX(-40);\nconst SLIDE_LEFT_OUT400: string = _createSlideOutX(-400);\nconst SLIDE_UP_OUT10: string = _createSlideOutY(-10);\nconst SLIDE_UP_OUT20: string = _createSlideOutY(-20);\nconst SLIDE_DOWN_OUT10: string = _createSlideOutY(10);\nconst SLIDE_DOWN_OUT20: string = _createSlideOutY(20);\n\nconst SCALE_UP100: string = keyframes({\n from: { transform: 'scale3d(.98,.98,1)' },\n to: { transform: 'scale3d(1,1,1)' },\n});\n\nconst SCALE_DOWN98: string = keyframes({\n from: { transform: 'scale3d(1,1,1)' },\n to: { transform: 'scale3d(.98,.98,1)' },\n});\n\nconst SCALE_DOWN100: string = keyframes({\n from: { transform: 'scale3d(1.03,1.03,1)' },\n to: { transform: 'scale3d(1,1,1)' },\n});\n\nconst SCALE_UP103: string = keyframes({\n from: { transform: 'scale3d(1,1,1)' },\n to: { transform: 'scale3d(1.03,1.03,1)' },\n});\n\nconst ROTATE90: string = keyframes({\n from: { transform: 'rotateZ(0deg)' },\n to: { transform: 'rotateZ(90deg)' },\n});\n\nconst ROTATE_N90: string = keyframes({\n from: { transform: 'rotateZ(0deg)' },\n to: { transform: 'rotateZ(-90deg)' },\n});\n\n/**\n * Exporting raw duraction values and easing functions to be used in custom animations\n */\nexport const AnimationVariables: IAnimationVariables = {\n easeFunction1: EASING_FUNCTION_1,\n easeFunction2: EASING_FUNCTION_2,\n durationValue1: DURATION_1,\n durationValue2: DURATION_2,\n durationValue3: DURATION_3,\n durationValue4: DURATION_4,\n};\n\n/**\n * All Fabric standard animations, exposed as json objects referencing predefined\n * keyframes. These objects can be mixed in with other class definitions.\n */\nexport const AnimationStyles: IAnimationStyles = {\n slideRightIn10: _createAnimation(`${FADE_IN},${SLIDE_RIGHT_IN10}`, DURATION_3, EASING_FUNCTION_1),\n slideRightIn20: _createAnimation(`${FADE_IN},${SLIDE_RIGHT_IN20}`, DURATION_3, EASING_FUNCTION_1),\n slideRightIn40: _createAnimation(`${FADE_IN},${SLIDE_RIGHT_IN40}`, DURATION_3, EASING_FUNCTION_1),\n slideRightIn400: _createAnimation(`${FADE_IN},${SLIDE_RIGHT_IN400}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn10: _createAnimation(`${FADE_IN},${SLIDE_LEFT_IN10}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn20: _createAnimation(`${FADE_IN},${SLIDE_LEFT_IN20}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn40: _createAnimation(`${FADE_IN},${SLIDE_LEFT_IN40}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn400: _createAnimation(`${FADE_IN},${SLIDE_LEFT_IN400}`, DURATION_3, EASING_FUNCTION_1),\n slideUpIn10: _createAnimation(`${FADE_IN},${SLIDE_UP_IN10}`, DURATION_3, EASING_FUNCTION_1),\n slideUpIn20: _createAnimation(`${FADE_IN},${SLIDE_UP_IN20}`, DURATION_3, EASING_FUNCTION_1),\n slideDownIn10: _createAnimation(`${FADE_IN},${SLIDE_DOWN_IN10}`, DURATION_3, EASING_FUNCTION_1),\n slideDownIn20: _createAnimation(`${FADE_IN},${SLIDE_DOWN_IN20}`, DURATION_3, EASING_FUNCTION_1),\n\n slideRightOut10: _createAnimation(`${FADE_OUT},${SLIDE_RIGHT_OUT10}`, DURATION_3, EASING_FUNCTION_1),\n slideRightOut20: _createAnimation(`${FADE_OUT},${SLIDE_RIGHT_OUT20}`, DURATION_3, EASING_FUNCTION_1),\n slideRightOut40: _createAnimation(`${FADE_OUT},${SLIDE_RIGHT_OUT40}`, DURATION_3, EASING_FUNCTION_1),\n slideRightOut400: _createAnimation(`${FADE_OUT},${SLIDE_RIGHT_OUT400}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut10: _createAnimation(`${FADE_OUT},${SLIDE_LEFT_OUT10}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut20: _createAnimation(`${FADE_OUT},${SLIDE_LEFT_OUT20}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut40: _createAnimation(`${FADE_OUT},${SLIDE_LEFT_OUT40}`, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut400: _createAnimation(`${FADE_OUT},${SLIDE_LEFT_OUT400}`, DURATION_3, EASING_FUNCTION_1),\n slideUpOut10: _createAnimation(`${FADE_OUT},${SLIDE_UP_OUT10}`, DURATION_3, EASING_FUNCTION_1),\n slideUpOut20: _createAnimation(`${FADE_OUT},${SLIDE_UP_OUT20}`, DURATION_3, EASING_FUNCTION_1),\n slideDownOut10: _createAnimation(`${FADE_OUT},${SLIDE_DOWN_OUT10}`, DURATION_3, EASING_FUNCTION_1),\n slideDownOut20: _createAnimation(`${FADE_OUT},${SLIDE_DOWN_OUT20}`, DURATION_3, EASING_FUNCTION_1),\n\n scaleUpIn100: _createAnimation(`${FADE_IN},${SCALE_UP100}`, DURATION_3, EASING_FUNCTION_1),\n scaleDownIn100: _createAnimation(`${FADE_IN},${SCALE_DOWN100}`, DURATION_3, EASING_FUNCTION_1),\n scaleUpOut103: _createAnimation(`${FADE_OUT},${SCALE_UP103}`, DURATION_1, EASING_FUNCTION_2),\n scaleDownOut98: _createAnimation(`${FADE_OUT},${SCALE_DOWN98}`, DURATION_1, EASING_FUNCTION_2),\n\n fadeIn100: _createAnimation(FADE_IN, DURATION_1, EASING_FUNCTION_2),\n fadeIn200: _createAnimation(FADE_IN, DURATION_2, EASING_FUNCTION_2),\n fadeIn400: _createAnimation(FADE_IN, DURATION_3, EASING_FUNCTION_2),\n fadeIn500: _createAnimation(FADE_IN, DURATION_4, EASING_FUNCTION_2),\n\n fadeOut100: _createAnimation(FADE_OUT, DURATION_1, EASING_FUNCTION_2),\n fadeOut200: _createAnimation(FADE_OUT, DURATION_2, EASING_FUNCTION_2),\n fadeOut400: _createAnimation(FADE_OUT, DURATION_3, EASING_FUNCTION_2),\n fadeOut500: _createAnimation(FADE_OUT, DURATION_4, EASING_FUNCTION_2),\n\n rotate90deg: _createAnimation(ROTATE90, '0.1s', EASING_FUNCTION_2),\n rotateN90deg: _createAnimation(ROTATE_N90, '0.1s', EASING_FUNCTION_2),\n\n // expandCollapse 100/200/400, delay 100/200\n};\n\nfunction _createAnimation(\n animationName: string,\n animationDuration: string,\n animationTimingFunction: string,\n): IRawStyle {\n return {\n animationName,\n animationDuration,\n animationTimingFunction,\n animationFillMode: 'both',\n };\n}\n\nfunction _createSlideInX(fromX: number): string {\n return keyframes({\n from: { transform: `translate3d(${fromX}px,0,0)`, pointerEvents: 'none' },\n to: { transform: `translate3d(0,0,0)`, pointerEvents: 'auto' },\n });\n}\n\nfunction _createSlideInY(fromY: number): string {\n return keyframes({\n from: { transform: `translate3d(0,${fromY}px,0)`, pointerEvents: 'none' },\n to: { transform: `translate3d(0,0,0)`, pointerEvents: 'auto' },\n });\n}\n\nfunction _createSlideOutX(toX: number): string {\n return keyframes({\n from: { transform: `translate3d(0,0,0)` },\n to: { transform: `translate3d(${toX}px,0,0)` },\n });\n}\n\nfunction _createSlideOutY(toY: number): string {\n return keyframes({\n from: { transform: `translate3d(0,0,0)` },\n to: { transform: `translate3d(0,${toY}px,0)` },\n });\n}\n","import { buildClassMap } from '../utilities/index';\nimport { AnimationStyles } from '../styles/index';\nimport type { IAnimationStyles } from '../interfaces/index';\n\n/**\n * {@docCategory AnimationClassNames}\n */\nexport const AnimationClassNames: { [key in keyof IAnimationStyles]?: string } = buildClassMap(AnimationStyles);\n","import { mergeStyles } from '../MergeStyles';\n\n/**\n * Builds a class names object from a given map.\n *\n * @param styles - Map of unprocessed styles.\n * @returns Map of property name to class name.\n */\nexport function buildClassMap(styles: T): { [key in keyof T]?: string } {\n let classes: { [key in keyof T]?: string } = {};\n\n for (let styleName in styles) {\n if (styles.hasOwnProperty(styleName)) {\n let className: string;\n\n Object.defineProperty(classes, styleName, {\n get: (): string => {\n if (className === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n className = mergeStyles(styles[styleName] as any).toString();\n }\n return className;\n },\n enumerable: true,\n configurable: true,\n });\n }\n }\n\n return classes;\n}\n","import type { IRawStyle } from '../MergeStyles';\n\nexport const HighContrastSelector = '@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)';\nexport const HighContrastSelectorWhite =\n // eslint-disable-next-line @fluentui/max-len\n '@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)';\nexport const HighContrastSelectorBlack =\n // eslint-disable-next-line @fluentui/max-len\n '@media screen and (-ms-high-contrast: white-on-black), screen and (forced-colors: active) and (prefers-color-scheme: dark)';\n/**\n * @deprecated Use `HighContrastSelector`\n */\nexport const EdgeChromiumHighContrastSelector =\n '@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)';\n\nexport const ScreenWidthMinSmall = 320;\nexport const ScreenWidthMinMedium = 480;\nexport const ScreenWidthMinLarge = 640;\nexport const ScreenWidthMinXLarge = 1024;\nexport const ScreenWidthMinXXLarge = 1366;\nexport const ScreenWidthMinXXXLarge = 1920;\nexport const ScreenWidthMaxSmall = ScreenWidthMinMedium - 1;\nexport const ScreenWidthMaxMedium = ScreenWidthMinLarge - 1;\nexport const ScreenWidthMaxLarge = ScreenWidthMinXLarge - 1;\nexport const ScreenWidthMaxXLarge = ScreenWidthMinXXLarge - 1;\nexport const ScreenWidthMaxXXLarge = ScreenWidthMinXXXLarge - 1;\n\nexport const ScreenWidthMinUhfMobile = 768;\n\nexport function getScreenSelector(min: number | undefined, max: number | undefined): string {\n const minSelector = typeof min === 'number' ? ` and (min-width: ${min}px)` : '';\n const maxSelector = typeof max === 'number' ? ` and (max-width: ${max}px)` : '';\n return `@media only screen${minSelector}${maxSelector}`;\n}\n\n/**\n * The style which turns off high contrast adjustment in browsers.\n */\nexport function getHighContrastNoAdjustStyle(): IRawStyle {\n return {\n forcedColorAdjust: 'none',\n MsHighContrastAdjust: 'none',\n };\n}\n\n/**\n * The style which turns off high contrast adjustment in (only) Edge Chromium browser.\n * @deprecated Use `getHighContrastNoAdjustStyle`\n */\n// eslint-disable-next-line deprecation/deprecation\nexport function getEdgeChromiumNoHighContrastAdjustSelector(): { [EdgeChromiumHighContrastSelector]: IRawStyle } {\n return {\n // eslint-disable-next-line deprecation/deprecation\n [EdgeChromiumHighContrastSelector]: {\n forcedColorAdjust: 'none',\n MsHighContrastAdjust: 'none',\n },\n };\n}\n","export namespace ZIndexes {\n export const Nav: number = 1;\n /**\n * @deprecated Do not use\n */\n export const ScrollablePane: number = 1;\n export const FocusStyle: number = 1;\n export const Coachmark: number = 1000;\n export const Layer: number = 1000000;\n export const KeytipLayer: number = 1000001;\n}\n","import { HighContrastSelector } from './CommonStyles';\nimport { IsFocusVisibleClassName } from '@fluentui/utilities';\nimport { ZIndexes } from './zIndexes';\nimport type { IRawStyle } from '@fluentui/merge-styles';\nimport type { IGetFocusStylesOptions, ITheme } from '../interfaces/index';\n\n/**\n * Generates a focus style which can be used to define an :after focus border.\n *\n * @param theme - The theme object to use.\n * @param options - Options to customize the focus border.\n * @returns The style object.\n */\nexport function getFocusStyle(theme: ITheme, options?: IGetFocusStylesOptions): IRawStyle;\n/**\n * Generates a focus style which can be used to define an :after focus border.\n *\n * @param theme - The theme object to use.\n * @param inset - The number of pixels to inset the border.\n * @param position - The positioning applied to the container. Must\n * be 'relative' or 'absolute' so that the focus border can live around it.\n * @param highContrastStyle - Style for high contrast mode.\n * @param borderColor - Color of the border.\n * @param outlineColor - Color of the outline.\n * @param isFocusedOnly - If the styles should apply on focus or not.\n * @param borderRadius - If the style should include a rounded border.\n * @returns The style object.\n * @deprecated Use the object parameter version instead.\n */\nexport function getFocusStyle(\n theme: ITheme,\n inset?: number,\n position?: 'relative' | 'absolute',\n highContrastStyle?: IRawStyle | undefined,\n borderColor?: string,\n outlineColor?: string,\n isFocusedOnly?: boolean,\n borderRadius?: string | number | undefined,\n): IRawStyle;\nexport function getFocusStyle(\n theme: ITheme,\n insetOrOptions?: number | IGetFocusStylesOptions,\n position?: 'relative' | 'absolute',\n highContrastStyle?: IRawStyle,\n borderColor?: string,\n outlineColor?: string,\n isFocusedOnly?: boolean,\n borderRadius?: string | number | undefined,\n): IRawStyle {\n if (typeof insetOrOptions === 'number' || !insetOrOptions) {\n return _getFocusStyleInternal(theme, {\n inset: insetOrOptions,\n position,\n highContrastStyle,\n borderColor,\n outlineColor,\n isFocusedOnly,\n borderRadius,\n });\n } else {\n return _getFocusStyleInternal(theme, insetOrOptions);\n }\n}\n\nfunction _getFocusStyleInternal(theme: ITheme, options: IGetFocusStylesOptions = {}): IRawStyle {\n const {\n borderRadius,\n inset = 0,\n width = 1,\n position = 'relative',\n highContrastStyle,\n borderColor = theme.palette.white,\n outlineColor = theme.palette.neutralSecondary,\n isFocusedOnly = true,\n pointerEvents,\n } = options;\n\n return {\n // Clear browser-specific focus styles and use 'transparent' as placeholder for focus style.\n outline: 'transparent',\n // Requirement because pseudo-element is absolutely positioned.\n position,\n\n selectors: {\n // Clear the focus border in Firefox.\n // Reference: http://stackoverflow.com/a/199319/1436671\n '::-moz-focus-inner': {\n border: '0',\n },\n\n // When the element that uses this mixin is in a :focus state, add a pseudo-element to\n // create a border.\n [`.${IsFocusVisibleClassName} &${isFocusedOnly ? ':focus' : ''}:after`]: {\n content: '\"\"',\n position: 'absolute',\n pointerEvents,\n left: inset + 1,\n top: inset + 1,\n bottom: inset + 1,\n right: inset + 1,\n border: `${width}px solid ${borderColor}`,\n outline: `${width}px solid ${outlineColor}`,\n zIndex: ZIndexes.FocusStyle,\n borderRadius: borderRadius,\n selectors: {\n [HighContrastSelector]: highContrastStyle,\n },\n },\n },\n };\n}\n\n/**\n * Generates style to clear browser specific focus styles.\n */\nexport function focusClear(): IRawStyle {\n return {\n selectors: {\n '&::-moz-focus-inner': {\n // Clear the focus border in Firefox. Reference: http://stackoverflow.com/a/199319/1436671\n border: 0,\n },\n '&': {\n // Clear browser specific focus styles and use transparent as placeholder for focus style\n outline: 'transparent',\n },\n },\n };\n}\n\n/**\n * Generates a style which can be used to set a border on focus.\n *\n * @param theme - The theme object to use.\n * @param inset - The number of pixels to inset the border (default 0)\n * @param width - The border width in pixels (default 1)\n * @param color - Color of the outline (default `theme.palette.neutralSecondary`)\n * @returns The style object.\n */\nexport function getFocusOutlineStyle(theme: ITheme, inset: number = 0, width: number = 1, color?: string): IRawStyle {\n return {\n selectors: {\n [`:global(${IsFocusVisibleClassName}) &:focus`]: {\n outline: `${width} solid ${color || theme.palette.neutralSecondary}`,\n outlineOffset: `${-inset}px`,\n },\n },\n };\n}\n\n/**\n * Generates text input border styles on focus.\n *\n * @param borderColor - Color of the border.\n * @param borderRadius - Radius of the border.\n * @param borderType - Type of the border.\n * @param borderPosition - Position of the border relative to the input element (default to -1\n * as it's the most common border width of the input element)\n * @returns The style object.\n */\nexport const getInputFocusStyle = (\n borderColor: string,\n borderRadius: string | number,\n borderType: 'border' | 'borderBottom' = 'border',\n borderPosition: number = -1,\n): IRawStyle => {\n const isBorderBottom = borderType === 'borderBottom';\n\n return {\n borderColor,\n selectors: {\n ':after': {\n pointerEvents: 'none',\n content: \"''\",\n position: 'absolute',\n left: isBorderBottom ? 0 : borderPosition,\n top: borderPosition,\n bottom: borderPosition,\n right: isBorderBottom ? 0 : borderPosition,\n [borderType]: `2px solid ${borderColor}`,\n borderRadius,\n width: borderType === 'borderBottom' ? '100%' : undefined,\n selectors: {\n [HighContrastSelector]: {\n [borderType === 'border' ? 'borderColor' : 'borderBottomColor']: 'Highlight',\n },\n },\n },\n },\n };\n};\n","import type { IRawStyle } from '@fluentui/merge-styles';\n\nexport const hiddenContentStyle: IRawStyle = {\n position: 'absolute',\n width: 1,\n height: 1,\n margin: -1,\n padding: 0,\n border: 0,\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n};\n","import { Stylesheet } from '@fluentui/merge-styles';\nimport { memoizeFunction } from '@fluentui/utilities';\nimport type { ITheme } from '../interfaces/index';\n\nexport type GlobalClassNames = Record;\n\n/**\n * Internal memoized function which simply takes in the class map and the\n * disable boolean. These immutable values can be memoized.\n */\nconst _getGlobalClassNames = memoizeFunction(\n (classNames: GlobalClassNames, disableGlobalClassNames?: boolean): GlobalClassNames => {\n const styleSheet = Stylesheet.getInstance();\n\n if (disableGlobalClassNames) {\n // disable global classnames\n return (Object.keys(classNames) as (keyof T)[]).reduce((acc, className) => {\n acc[className] = styleSheet.getClassName(classNames[className]);\n return acc;\n }, {} as GlobalClassNames);\n }\n\n // use global classnames\n return classNames;\n },\n);\n\n/**\n * Checks for the `disableGlobalClassNames` property on the `theme` to determine if it should return `classNames`\n * Note that calls to this function are memoized.\n *\n * @param classNames - The collection of global class names that apply when the flag is false. Make sure to pass in\n * the same instance on each call to benefit from memoization.\n * @param theme - The theme to check the flag on\n * @param disableGlobalClassNames - Optional. Explicitly opt in/out of disabling global classnames. Defaults to false.\n */\nexport function getGlobalClassNames(\n classNames: GlobalClassNames,\n theme: ITheme,\n disableGlobalClassNames?: boolean,\n): GlobalClassNames {\n return _getGlobalClassNames(\n classNames,\n disableGlobalClassNames !== undefined ? disableGlobalClassNames : theme.disableGlobalClassNames,\n );\n}\n","import { Customizations, getWindow } from '@fluentui/utilities';\nimport { loadTheme as legacyLoadTheme } from '@microsoft/load-themed-styles';\nimport { createTheme } from '@fluentui/theme';\nimport type { ITheme, IPartialTheme, IFontStyles } from '../interfaces/index';\nimport type { IRawStyle } from '@fluentui/merge-styles';\n\nexport { createTheme } from '@fluentui/theme';\n\nlet _theme: ITheme = createTheme({});\nlet _onThemeChangeCallbacks: Array<(theme: ITheme) => void> = [];\n\nexport const ThemeSettingName = 'theme';\n\nexport function initializeThemeInCustomizations(): void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const win: any = getWindow();\n\n if (win?.FabricConfig?.legacyTheme) {\n // does everything the `else` clause does and more, such as invoke legacy theming\n loadTheme(win.FabricConfig.legacyTheme);\n } else if (!Customizations.getSettings([ThemeSettingName]).theme) {\n if (win?.FabricConfig?.theme) {\n _theme = createTheme(win.FabricConfig.theme);\n }\n\n // Set the default theme.\n Customizations.applySettings({ [ThemeSettingName]: _theme });\n }\n}\n\ninitializeThemeInCustomizations();\n\n/**\n * Gets the theme object\n * @param depComments - Whether to include deprecated tags as comments for deprecated slots.\n */\nexport function getTheme(depComments: boolean = false): ITheme {\n if (depComments === true) {\n _theme = createTheme({}, depComments);\n }\n return _theme;\n}\n\n/**\n * Registers a callback that gets called whenever the theme changes.\n * This should only be used when the component cannot automatically get theme changes through its state.\n * This will not register duplicate callbacks.\n */\nexport function registerOnThemeChangeCallback(callback: (theme: ITheme) => void): void {\n if (_onThemeChangeCallbacks.indexOf(callback) === -1) {\n _onThemeChangeCallbacks.push(callback);\n }\n}\n\n/**\n * See registerOnThemeChangeCallback().\n * Removes previously registered callbacks.\n */\nexport function removeOnThemeChangeCallback(callback: (theme: ITheme) => void): void {\n const i = _onThemeChangeCallbacks.indexOf(callback);\n if (i === -1) {\n return;\n }\n\n _onThemeChangeCallbacks.splice(i, 1);\n}\n\n/**\n * Applies the theme, while filling in missing slots.\n * @param theme - Partial theme object.\n * @param depComments - Whether to include deprecated tags as comments for deprecated slots.\n */\nexport function loadTheme(theme: IPartialTheme, depComments: boolean = false): ITheme {\n _theme = createTheme(theme, depComments);\n\n // Invoke the legacy method of theming the page as well.\n legacyLoadTheme({ ..._theme.palette, ..._theme.semanticColors, ..._theme.effects, ..._loadFonts(_theme) });\n\n Customizations.applySettings({ [ThemeSettingName]: _theme });\n\n _onThemeChangeCallbacks.forEach((callback: (theme: ITheme) => void) => {\n try {\n callback(_theme);\n } catch (e) {\n // don't let a bad callback break everything else\n }\n });\n\n return _theme;\n}\n\n/**\n * Loads font variables into a JSON object.\n * @param theme - The theme object\n */\nfunction _loadFonts(theme: ITheme): { [name: string]: string } {\n const lines: { [key: string]: string } = {};\n\n for (const fontName of Object.keys(theme.fonts)) {\n const font: IRawStyle = theme.fonts[fontName as keyof IFontStyles];\n\n for (const propName of Object.keys(font)) {\n const name: string = fontName + propName.charAt(0).toUpperCase() + propName.slice(1);\n let value = font[propName as keyof IRawStyle] as string;\n\n if (propName === 'fontSize' && typeof value === 'number') {\n // if it's a number, convert it to px by default like our theming system does\n value = value + 'px';\n }\n lines[name] = value;\n }\n }\n return lines;\n}\n","import type { IRawStyle } from '@fluentui/merge-styles';\n\n// This file mimics styles and mixins from _General.Mixins.scss\nexport const normalize: IRawStyle = {\n boxShadow: 'none',\n margin: 0,\n padding: 0,\n boxSizing: 'border-box',\n};\n\nexport const noWrap: IRawStyle = {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n};\n","import type { IStyle } from '@fluentui/merge-styles';\n\n/**\n * Generates placeholder style for each of the browsers supported by `@fluentui/react`.\n * @param styles - The style to use.\n * @returns The placeholder style object for each browser depending on the placeholder directive it uses.\n */\nexport function getPlaceholderStyles(styles: IStyle): IStyle {\n return {\n selectors: {\n '::placeholder': styles, // Chrome, Safari, Opera, Firefox\n ':-ms-input-placeholder': styles, // IE 10+\n '::-ms-input-placeholder': styles, // Edge\n },\n };\n}\n","import { GlobalSettings, warn } from '@fluentui/utilities';\nimport { fontFace, mergeStyles, Stylesheet } from '@fluentui/merge-styles';\nimport type { IRawStyle, IFontFace } from '@fluentui/merge-styles';\n\nexport interface IIconSubset {\n fontFace?: IFontFace;\n icons: {\n [key: string]: string | JSX.Element;\n };\n\n style?: IRawStyle;\n /**\n * Indicates to the icon renderer that it is safe to merge any props on the original `Icon` element\n * onto the child content element registered for the icon which are valid for HTML images.\n */\n mergeImageProps?: boolean;\n}\n\nexport interface IIconSubsetRecord extends IIconSubset {\n isRegistered?: boolean;\n className?: string;\n}\n\nexport interface IIconRecord {\n code: string | undefined;\n subset: IIconSubsetRecord;\n}\n\nexport interface IIconOptions {\n /**\n * By default, registering the same set of icons will generate a console warning per duplicate icon\n * registered, because this scenario can create unexpected consequences.\n *\n * Some scenarios include:\n *\n * Icon set was previously registered using a different base url.\n * Icon set was previously registered but a different version was provided.\n * Icons in a previous registered set overlap with a new set.\n *\n * To simply ignore previously registered icons, you can specify to disable warnings. This means\n * that if an icon which was previous registered is registered again, it will be silently ignored.\n * However, consider whether the problems listed above will cause issues.\n **/\n disableWarnings: boolean;\n\n /**\n * @deprecated Use `disableWarnings` instead.\n */\n warnOnMissingIcons?: boolean;\n}\n\nexport interface IIconRecords {\n __options: IIconOptions;\n __remapped: { [key: string]: string };\n [key: string]: IIconRecord | {};\n}\n\nconst ICON_SETTING_NAME = 'icons';\n\nconst _iconSettings = GlobalSettings.getValue(ICON_SETTING_NAME, {\n __options: {\n disableWarnings: false,\n warnOnMissingIcons: true,\n },\n __remapped: {},\n});\n\n// Reset icon registration on stylesheet resets.\nconst stylesheet = Stylesheet.getInstance();\n\nif (stylesheet && stylesheet.onReset) {\n stylesheet.onReset(() => {\n for (const name in _iconSettings) {\n if (_iconSettings.hasOwnProperty(name) && !!(_iconSettings[name] as IIconRecord).subset) {\n (_iconSettings[name] as IIconRecord).subset.className = undefined;\n }\n }\n });\n}\n\n/**\n * Normalizes an icon name for consistent mapping.\n * Current implementation is to convert the icon name to lower case.\n *\n * @param name - Icon name to normalize.\n * @returns {string} Normalized icon name to use for indexing and mapping.\n */\nconst normalizeIconName = (name: string): string => name.toLowerCase();\n\n/**\n * Registers a given subset of icons.\n *\n * @param iconSubset - the icon subset definition.\n */\nexport function registerIcons(iconSubset: IIconSubset, options?: Partial): void {\n let subset = {\n ...iconSubset,\n isRegistered: false,\n className: undefined,\n };\n let { icons } = iconSubset;\n\n // Grab options, optionally mix user provided ones on top.\n options = options ? { ..._iconSettings.__options, ...options } : _iconSettings.__options;\n\n for (const iconName in icons) {\n if (icons.hasOwnProperty(iconName)) {\n const code = icons[iconName];\n const normalizedIconName = normalizeIconName(iconName);\n\n if (_iconSettings[normalizedIconName]) {\n _warnDuplicateIcon(iconName);\n } else {\n _iconSettings[normalizedIconName] = {\n code,\n subset,\n } as IIconRecord;\n }\n }\n }\n}\n\n/**\n * Unregisters icons by name.\n *\n * @param iconNames - List of icons to unregister.\n */\nexport function unregisterIcons(iconNames: string[]): void {\n const options = _iconSettings.__options;\n\n for (const iconName of iconNames) {\n const normalizedIconName = normalizeIconName(iconName);\n if (_iconSettings[normalizedIconName]) {\n delete _iconSettings[normalizedIconName];\n } else {\n // Warn that we are trying to delete an icon that doesn't exist\n if (!options.disableWarnings) {\n warn(`The icon \"${iconName}\" tried to unregister but was not registered.`);\n }\n }\n\n // Delete any aliases for this iconName\n if (_iconSettings.__remapped[normalizedIconName]) {\n delete _iconSettings.__remapped[normalizedIconName];\n }\n\n // Delete any items that were an alias for this iconName\n Object.keys(_iconSettings.__remapped).forEach((key: string) => {\n if (_iconSettings.__remapped[key] === normalizedIconName) {\n delete _iconSettings.__remapped[key];\n }\n });\n }\n}\n\n/**\n * Remaps one icon name to another.\n */\nexport function registerIconAlias(iconName: string, mappedToName: string): void {\n _iconSettings.__remapped[normalizeIconName(iconName)] = normalizeIconName(mappedToName);\n}\n\n/**\n * Gets an icon definition. If an icon is requested but the subset has yet to be registered,\n * it will get registered immediately.\n *\n * @public\n * @param name - Name of icon.\n */\nexport function getIcon(name?: string): IIconRecord | undefined {\n let icon: IIconRecord | undefined = undefined;\n const options = _iconSettings.__options;\n\n name = name ? normalizeIconName(name) : '';\n name = _iconSettings.__remapped[name] || name;\n\n if (name) {\n icon = _iconSettings[name!] as IIconRecord;\n\n if (icon) {\n let { subset } = icon;\n if (subset && subset.fontFace) {\n if (!subset.isRegistered) {\n fontFace(subset.fontFace);\n subset.isRegistered = true;\n }\n\n if (!subset.className) {\n subset.className = mergeStyles(subset.style, {\n fontFamily: subset.fontFace.fontFamily,\n fontWeight: subset.fontFace.fontWeight || 'normal',\n fontStyle: subset.fontFace.fontStyle || 'normal',\n });\n }\n }\n } else {\n // eslint-disable-next-line deprecation/deprecation\n if (!options.disableWarnings && options.warnOnMissingIcons) {\n warn(\n `The icon \"${name}\" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.`,\n );\n }\n }\n }\n\n return icon;\n}\n\n/**\n * Sets the icon options.\n *\n * @public\n */\nexport function setIconOptions(options: Partial): void {\n _iconSettings.__options = {\n ..._iconSettings.__options,\n ...options,\n };\n}\n\nlet _missingIcons: string[] = [];\nlet _missingIconsTimer: ReturnType | undefined = undefined;\n\nfunction _warnDuplicateIcon(iconName: string): void {\n const options = _iconSettings.__options;\n const warningDelay = 2000;\n const maxIconsInMessage = 10;\n\n if (!options.disableWarnings) {\n _missingIcons.push(iconName);\n if (_missingIconsTimer === undefined) {\n _missingIconsTimer = setTimeout(() => {\n warn(\n `Some icons were re-registered. Applications should only call registerIcons for any given ` +\n `icon once. Redefining what an icon is may have unintended consequences. Duplicates ` +\n `include: \\n` +\n _missingIcons.slice(0, maxIconsInMessage).join(', ') +\n (_missingIcons.length > maxIconsInMessage ? ` (+ ${_missingIcons.length - maxIconsInMessage} more)` : ''),\n );\n _missingIconsTimer = undefined;\n _missingIcons = [];\n }, warningDelay);\n }\n }\n}\n","export const FLUENT_CDN_BASE_URL = 'https://res.cdn.office.net/files/fabric-cdn-prod_20230815.002';\n","// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/style-utilities', '8.9.18');","export * from './classNames/index';\nexport * from './styles/index';\nexport * from './utilities/index';\nexport * from './interfaces/index';\nexport * from './MergeStyles';\nexport * from './cdn';\n\nimport './version';\n\n// Ensure theme is initialized when this package is referenced.\nimport { initializeThemeInCustomizations } from './styles/theme';\ninitializeThemeInCustomizations();\n","import type { IPalette } from '../types/index';\n\n// When adding or removing a color, make sure you keep this consistent with IColorClassNames\n// by adding the color variants.\nexport const DefaultPalette: IPalette = {\n themeDarker: '#004578',\n themeDark: '#005a9e',\n themeDarkAlt: '#106ebe',\n themePrimary: '#0078d4',\n themeSecondary: '#2b88d8',\n themeTertiary: '#71afe5',\n themeLight: '#c7e0f4',\n themeLighter: '#deecf9',\n themeLighterAlt: '#eff6fc',\n black: '#000000',\n blackTranslucent40: 'rgba(0,0,0,.4)',\n neutralDark: '#201f1e',\n neutralPrimary: '#323130',\n neutralPrimaryAlt: '#3b3a39',\n neutralSecondary: '#605e5c',\n neutralSecondaryAlt: '#8a8886',\n neutralTertiary: '#a19f9d',\n neutralTertiaryAlt: '#c8c6c4',\n neutralQuaternary: '#d2d0ce',\n neutralQuaternaryAlt: '#e1dfdd',\n neutralLight: '#edebe9',\n neutralLighter: '#f3f2f1',\n neutralLighterAlt: '#faf9f8',\n accent: '#0078d4',\n white: '#ffffff',\n whiteTranslucent40: 'rgba(255,255,255,.4)',\n yellowDark: '#d29200',\n yellow: '#ffb900',\n yellowLight: '#fff100',\n orange: '#d83b01',\n orangeLight: '#ea4300',\n orangeLighter: '#ff8c00',\n redDark: '#a4262c',\n red: '#e81123',\n magentaDark: '#5c005c',\n magenta: '#b4009e',\n magentaLight: '#e3008c',\n purpleDark: '#32145a',\n purple: '#5c2d91',\n purpleLight: '#b4a0ff',\n blueDark: '#002050',\n blueMid: '#00188f',\n blue: '#0078d4',\n blueLight: '#00bcf2',\n tealDark: '#004b50',\n teal: '#008272',\n tealLight: '#00b294',\n greenDark: '#004b1c',\n green: '#107c10',\n greenLight: '#bad80a',\n};\n","import { Depths } from './FluentDepths';\nimport type { IEffects } from '../types/index';\n\nexport const DefaultEffects: IEffects = {\n elevation4: Depths.depth4,\n elevation8: Depths.depth8,\n elevation16: Depths.depth16,\n elevation64: Depths.depth64,\n\n roundedCorner2: '2px',\n roundedCorner4: '4px',\n roundedCorner6: '6px',\n};\n","import { FontSizes, FontWeights, LocalizedFontFamilies, LocalizedFontNames } from './FluentFonts';\nimport type { IFontWeight, IRawStyle } from '@fluentui/merge-styles';\nimport type { IFontStyles } from '../types/IFontStyles';\n\n// Fallback fonts, if specified system or web fonts are unavailable.\nconst FontFamilyFallbacks = `'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif`;\n\n// By default, we favor system fonts for the default.\n// All localized fonts use a web font and never use the system font.\nconst defaultFontFamily = `'Segoe UI', '${LocalizedFontNames.WestEuropean}'`;\n\n// Mapping of language prefix to to font family.\nconst LanguageToFontMap = {\n ar: LocalizedFontFamilies.Arabic,\n bg: LocalizedFontFamilies.Cyrillic,\n cs: LocalizedFontFamilies.EastEuropean,\n el: LocalizedFontFamilies.Greek,\n et: LocalizedFontFamilies.EastEuropean,\n he: LocalizedFontFamilies.Hebrew,\n hi: LocalizedFontFamilies.Hindi,\n hr: LocalizedFontFamilies.EastEuropean,\n hu: LocalizedFontFamilies.EastEuropean,\n ja: LocalizedFontFamilies.Japanese,\n kk: LocalizedFontFamilies.EastEuropean,\n ko: LocalizedFontFamilies.Korean,\n lt: LocalizedFontFamilies.EastEuropean,\n lv: LocalizedFontFamilies.EastEuropean,\n pl: LocalizedFontFamilies.EastEuropean,\n ru: LocalizedFontFamilies.Cyrillic,\n sk: LocalizedFontFamilies.EastEuropean,\n 'sr-latn': LocalizedFontFamilies.EastEuropean,\n th: LocalizedFontFamilies.Thai,\n tr: LocalizedFontFamilies.EastEuropean,\n uk: LocalizedFontFamilies.Cyrillic,\n vi: LocalizedFontFamilies.Vietnamese,\n 'zh-hans': LocalizedFontFamilies.ChineseSimplified,\n 'zh-hant': LocalizedFontFamilies.ChineseTraditional,\n hy: LocalizedFontFamilies.Armenian,\n ka: LocalizedFontFamilies.Georgian,\n};\n\nfunction _fontFamilyWithFallbacks(fontFamily: string): string {\n return `${fontFamily}, ${FontFamilyFallbacks}`;\n}\n\n/**\n * If there is a localized font for this language, return that.\n * Returns undefined if there is no localized font for that language.\n */\nfunction _getLocalizedFontFamily(language: string | null): string {\n for (const lang in LanguageToFontMap) {\n if (LanguageToFontMap.hasOwnProperty(lang) && language && lang.indexOf(language) === 0) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (LanguageToFontMap as any)[lang];\n }\n }\n\n return defaultFontFamily;\n}\n\nfunction _createFont(size: string, weight: IFontWeight, fontFamily: string): IRawStyle {\n return {\n fontFamily: fontFamily,\n MozOsxFontSmoothing: 'grayscale',\n WebkitFontSmoothing: 'antialiased',\n fontSize: size,\n fontWeight: weight,\n };\n}\n\nexport function createFontStyles(localeCode: string | null): IFontStyles {\n const localizedFont = _getLocalizedFontFamily(localeCode);\n const fontFamilyWithFallback = _fontFamilyWithFallbacks(localizedFont);\n\n const fontStyles = {\n tiny: _createFont(FontSizes.mini, FontWeights.regular, fontFamilyWithFallback),\n xSmall: _createFont(FontSizes.xSmall, FontWeights.regular, fontFamilyWithFallback),\n small: _createFont(FontSizes.small, FontWeights.regular, fontFamilyWithFallback),\n smallPlus: _createFont(FontSizes.smallPlus, FontWeights.regular, fontFamilyWithFallback),\n medium: _createFont(FontSizes.medium, FontWeights.regular, fontFamilyWithFallback),\n mediumPlus: _createFont(FontSizes.mediumPlus, FontWeights.regular, fontFamilyWithFallback),\n large: _createFont(FontSizes.large, FontWeights.regular, fontFamilyWithFallback),\n xLarge: _createFont(FontSizes.xLarge, FontWeights.semibold, fontFamilyWithFallback),\n xLargePlus: _createFont(FontSizes.xLargePlus, FontWeights.semibold, fontFamilyWithFallback),\n xxLarge: _createFont(FontSizes.xxLarge, FontWeights.semibold, fontFamilyWithFallback),\n xxLargePlus: _createFont(FontSizes.xxLargePlus, FontWeights.semibold, fontFamilyWithFallback),\n superLarge: _createFont(FontSizes.superLarge, FontWeights.semibold, fontFamilyWithFallback),\n mega: _createFont(FontSizes.mega, FontWeights.semibold, fontFamilyWithFallback),\n };\n\n return fontStyles;\n}\n","import { getDocument } from './dom/getDocument';\nimport * as localStorage from './localStorage';\nimport * as sessionStorage from './sessionStorage';\n\n// Default to undefined so that we initialize on first read.\nlet _language: string | null;\n\nconst STORAGE_KEY = 'language';\n\n/**\n * Gets the language set for the page.\n * @param persistenceType - Where to persist the value. Default is `sessionStorage` if available.\n */\nexport function getLanguage(\n persistenceType: 'localStorage' | 'sessionStorage' | 'none' = 'sessionStorage',\n): string | null {\n if (_language === undefined) {\n let doc = getDocument();\n const savedLanguage =\n persistenceType === 'localStorage'\n ? localStorage.getItem(STORAGE_KEY)\n : persistenceType === 'sessionStorage'\n ? sessionStorage.getItem(STORAGE_KEY)\n : undefined;\n\n if (savedLanguage) {\n _language = savedLanguage;\n }\n\n if (_language === undefined && doc) {\n _language = doc.documentElement.getAttribute('lang');\n }\n\n if (_language === undefined) {\n _language = 'en';\n }\n }\n\n return _language;\n}\n\n/**\n * Sets the language for the page (by adjusting the lang attribute of the html element).\n * @param language - Language to set.\n * @param persistenceType - Where to persist the value. Default is `sessionStorage` if available.\n */\nexport function setLanguage(language: string, persistenceType?: 'localStorage' | 'sessionStorage' | 'none'): void;\n/**\n * Sets the language for the page (by adjusting the lang attribute of the html element).\n * @deprecated Use string parameter version.\n * @param language - Language to set.\n * @param avoidPersisting - If true, don't store the value.\n */\nexport function setLanguage(language: string, avoidPersisting?: boolean): void;\nexport function setLanguage(\n language: string,\n persistenceParam?: 'localStorage' | 'sessionStorage' | 'none' | boolean,\n): void {\n let doc = getDocument();\n\n if (doc) {\n doc.documentElement.setAttribute('lang', language);\n }\n\n const persistenceType = persistenceParam === true ? 'none' : !persistenceParam ? 'sessionStorage' : persistenceParam;\n if (persistenceType === 'localStorage') {\n localStorage.setItem(STORAGE_KEY, language);\n } else if (persistenceType === 'sessionStorage') {\n sessionStorage.setItem(STORAGE_KEY, language);\n }\n\n _language = language;\n}\n","import { fontFace } from '@fluentui/merge-styles';\nimport { FontWeights, LocalizedFontFamilies, LocalizedFontNames } from './FluentFonts';\nimport { createFontStyles } from './createFontStyles';\nimport { getLanguage, getWindow } from '@fluentui/utilities';\nimport type { IFontWeight } from '@fluentui/merge-styles';\nimport type { IFontStyles } from '../types/IFontStyles';\nimport type { IFabricConfig } from '../types/IFabricConfig';\n\n// Default urls.\nconst DefaultBaseUrl = 'https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets';\n\n// Standard font styling.\nexport const DefaultFontStyles: IFontStyles = createFontStyles(getLanguage());\n\nfunction _registerFontFace(fontFamily: string, url: string, fontWeight?: IFontWeight, localFontName?: string): void {\n fontFamily = `'${fontFamily}'`;\n\n const localFontSrc = localFontName !== undefined ? `local('${localFontName}'),` : '';\n\n fontFace({\n fontFamily,\n src: localFontSrc + `url('${url}.woff2') format('woff2'),` + `url('${url}.woff') format('woff')`,\n fontWeight,\n fontStyle: 'normal',\n fontDisplay: 'swap',\n });\n}\n\nfunction _registerFontFaceSet(\n baseUrl: string,\n fontFamily: string,\n cdnFolder: string,\n cdnFontName: string = 'segoeui',\n localFontName?: string,\n): void {\n const urlBase = `${baseUrl}/${cdnFolder}/${cdnFontName}`;\n\n _registerFontFace(fontFamily, urlBase + '-light', FontWeights.light, localFontName && localFontName + ' Light');\n _registerFontFace(\n fontFamily,\n urlBase + '-semilight',\n FontWeights.semilight,\n localFontName && localFontName + ' SemiLight',\n );\n _registerFontFace(fontFamily, urlBase + '-regular', FontWeights.regular, localFontName);\n _registerFontFace(\n fontFamily,\n urlBase + '-semibold',\n FontWeights.semibold,\n localFontName && localFontName + ' SemiBold',\n );\n _registerFontFace(fontFamily, urlBase + '-bold', FontWeights.bold, localFontName && localFontName + ' Bold');\n}\n\nexport function registerDefaultFontFaces(baseUrl: string): void {\n if (baseUrl) {\n const fontUrl = `${baseUrl}/fonts`;\n\n // Produce @font-face definitions for all supported web fonts.\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Thai, 'leelawadeeui-thai', 'leelawadeeui');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Arabic, 'segoeui-arabic');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Cyrillic, 'segoeui-cyrillic');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.EastEuropean, 'segoeui-easteuropean');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Greek, 'segoeui-greek');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Hebrew, 'segoeui-hebrew');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Vietnamese, 'segoeui-vietnamese');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.WestEuropean, 'segoeui-westeuropean', 'segoeui', 'Segoe UI');\n _registerFontFaceSet(fontUrl, LocalizedFontFamilies.Selawik, 'selawik', 'selawik');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Armenian, 'segoeui-armenian');\n _registerFontFaceSet(fontUrl, LocalizedFontNames.Georgian, 'segoeui-georgian');\n\n // Leelawadee UI (Thai) does not have a 'light' weight, so we override\n // the font-face generated above to use the 'semilight' weight instead.\n _registerFontFace('Leelawadee UI Web', `${fontUrl}/leelawadeeui-thai/leelawadeeui-semilight`, FontWeights.light);\n\n // Leelawadee UI (Thai) does not have a 'semibold' weight, so we override\n // the font-face generated above to use the 'bold' weight instead.\n _registerFontFace('Leelawadee UI Web', `${fontUrl}/leelawadeeui-thai/leelawadeeui-bold`, FontWeights.semibold);\n }\n}\n\n/**\n * Reads the fontBaseUrl from window.FabricConfig.fontBaseUrl or falls back to a default.\n */\nfunction _getFontBaseUrl(): string {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const fabricConfig: IFabricConfig | undefined = (getWindow() as any)?.FabricConfig;\n\n return fabricConfig?.fontBaseUrl ?? DefaultBaseUrl;\n}\n\n/**\n * Register the font faces.\n */\nregisterDefaultFontFaces(_getFontBaseUrl());\n","import { getWindow } from './dom/getWindow';\n\n/**\n * Fetches an item from local storage without throwing an exception\n * @param key The key of the item to fetch from local storage\n */\nexport function getItem(key: string): string | null {\n let result = null;\n try {\n const win = getWindow();\n result = win ? win.localStorage.getItem(key) : null;\n } catch (e) {\n /* Eat the exception */\n }\n return result;\n}\n\n/**\n * Inserts an item into local storage without throwing an exception\n * @param key The key of the item to add to local storage\n * @param data The data to put into local storage\n */\nexport function setItem(key: string, data: string): void {\n try {\n const win = getWindow();\n\n win && win.localStorage.setItem(key, data);\n } catch (e) {\n /* Eat the exception */\n }\n}\n","/**\n * Simple deep merge function. Takes all arguments and returns a deep copy of the objects merged\n * together in the order provided. If an object creates a circular reference, it will assign the\n * original reference.\n */\nexport function merge(target: Partial, ...args: (Partial | null | undefined | false)[]): T {\n for (const arg of args) {\n _merge(target || {}, arg as Partial);\n }\n\n return target as T;\n}\n\n/**\n * The _merge helper iterates through all props on source and assigns them to target.\n * When the value is an object, we will create a deep clone of the object. However if\n * there is a circular reference, the value will not be deep cloned and will persist\n * the reference.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _merge(target: T, source: T, circularReferences: any[] = []): T {\n circularReferences.push(source);\n\n for (let name in source) {\n if (source.hasOwnProperty(name)) {\n if (name !== '__proto__' && name !== 'constructor' && name !== 'prototype') {\n const value: T[Extract] = source[name];\n if (typeof value === 'object' && value !== null && !Array.isArray(value)) {\n const isCircularReference = circularReferences.indexOf(value) > -1;\n target[name] = (\n isCircularReference ? value : _merge(target[name] || {}, value, circularReferences)\n ) as T[Extract];\n } else {\n target[name] = value;\n }\n }\n }\n }\n\n circularReferences.pop();\n\n return target;\n}\n","import type { IEffects, IPalette, ISemanticColors } from '../types/index';\n\n/** Generates all the semantic slot colors based on the theme so far\n * We'll use these as fallbacks for semantic slots that the passed in theme did not define.\n * The caller must still mix in the customized semantic slots at the end.\n */\nexport function makeSemanticColors(\n p: IPalette,\n e: IEffects,\n s: Partial | undefined,\n isInverted: boolean,\n depComments: boolean = false,\n): ISemanticColors {\n const semanticColors: Partial = {\n primaryButtonBorder: 'transparent',\n\n errorText: !isInverted ? '#a4262c' : '#F1707B',\n\n messageText: !isInverted ? '#323130' : '#F3F2F1',\n messageLink: !isInverted ? '#005A9E' : '#6CB8F6',\n messageLinkHovered: !isInverted ? '#004578' : '#82C7FF',\n\n infoIcon: !isInverted ? '#605e5c' : '#C8C6C4',\n errorIcon: !isInverted ? '#A80000' : '#F1707B',\n blockingIcon: !isInverted ? '#FDE7E9' : '#442726',\n warningIcon: !isInverted ? '#797775' : '#C8C6C4',\n severeWarningIcon: !isInverted ? '#D83B01' : '#FCE100',\n successIcon: !isInverted ? '#107C10' : '#92C353',\n\n infoBackground: !isInverted ? '#f3f2f1' : '#323130',\n errorBackground: !isInverted ? '#FDE7E9' : '#442726',\n blockingBackground: !isInverted ? '#FDE7E9' : '#442726',\n warningBackground: !isInverted ? '#FFF4CE' : '#433519',\n severeWarningBackground: !isInverted ? '#FED9CC' : '#4F2A0F',\n successBackground: !isInverted ? '#DFF6DD' : '#393D1B',\n\n // deprecated\n warningHighlight: !isInverted ? '#ffb900' : '#fff100',\n successText: !isInverted ? '#107C10' : '#92c353',\n\n ...s,\n };\n\n const fullSemanticColors = getSemanticColors(p, e, semanticColors, isInverted);\n return _fixDeprecatedSlots(fullSemanticColors, depComments);\n}\n\n/**\n * Map partial platte and effects to partial semantic colors.\n */\nexport function getSemanticColors>(\n p: Partial | undefined,\n e: Partial | undefined,\n s: Partial | undefined,\n isInverted: boolean,\n depComments: boolean = false,\n): TResult {\n let result: Partial = {};\n\n // map palette\n const {\n white,\n black,\n themePrimary,\n themeDark,\n themeDarker,\n themeDarkAlt,\n themeLighter,\n neutralLight,\n neutralLighter,\n neutralDark,\n neutralQuaternary,\n neutralQuaternaryAlt,\n neutralPrimary,\n neutralSecondary,\n neutralSecondaryAlt,\n neutralTertiary,\n neutralTertiaryAlt,\n neutralLighterAlt,\n accent,\n } = p || {};\n\n if (white) {\n result.bodyBackground = white;\n result.bodyFrameBackground = white;\n result.accentButtonText = white;\n result.buttonBackground = white;\n result.primaryButtonText = white;\n result.primaryButtonTextHovered = white;\n result.primaryButtonTextPressed = white;\n result.inputBackground = white;\n result.inputForegroundChecked = white;\n result.listBackground = white;\n result.menuBackground = white;\n result.cardStandoutBackground = white;\n }\n if (black) {\n result.bodyTextChecked = black;\n result.buttonTextCheckedHovered = black;\n }\n if (themePrimary) {\n result.link = themePrimary;\n result.primaryButtonBackground = themePrimary;\n result.inputBackgroundChecked = themePrimary;\n result.inputIcon = themePrimary;\n result.inputFocusBorderAlt = themePrimary;\n result.menuIcon = themePrimary;\n result.menuHeader = themePrimary;\n result.accentButtonBackground = themePrimary;\n }\n if (themeDark) {\n result.primaryButtonBackgroundPressed = themeDark;\n result.inputBackgroundCheckedHovered = themeDark;\n result.inputIconHovered = themeDark;\n }\n if (themeDarker) {\n result.linkHovered = themeDarker;\n }\n if (themeDarkAlt) {\n result.primaryButtonBackgroundHovered = themeDarkAlt;\n }\n if (themeLighter) {\n result.inputPlaceholderBackgroundChecked = themeLighter;\n }\n if (neutralLight) {\n result.bodyBackgroundChecked = neutralLight;\n result.bodyFrameDivider = neutralLight;\n result.bodyDivider = neutralLight;\n result.variantBorder = neutralLight;\n result.buttonBackgroundCheckedHovered = neutralLight;\n result.buttonBackgroundPressed = neutralLight;\n result.listItemBackgroundChecked = neutralLight;\n result.listHeaderBackgroundPressed = neutralLight;\n result.menuItemBackgroundPressed = neutralLight;\n // eslint-disable-next-line deprecation/deprecation\n result.menuItemBackgroundChecked = neutralLight;\n }\n if (neutralLighter) {\n result.bodyBackgroundHovered = neutralLighter;\n result.buttonBackgroundHovered = neutralLighter;\n result.buttonBackgroundDisabled = neutralLighter;\n result.buttonBorderDisabled = neutralLighter;\n result.primaryButtonBackgroundDisabled = neutralLighter;\n result.disabledBackground = neutralLighter;\n result.listItemBackgroundHovered = neutralLighter;\n result.listHeaderBackgroundHovered = neutralLighter;\n result.menuItemBackgroundHovered = neutralLighter;\n }\n if (neutralQuaternary) {\n result.primaryButtonTextDisabled = neutralQuaternary;\n result.disabledSubtext = neutralQuaternary;\n }\n if (neutralQuaternaryAlt) {\n result.listItemBackgroundCheckedHovered = neutralQuaternaryAlt;\n }\n if (neutralTertiary) {\n result.disabledBodyText = neutralTertiary;\n result.variantBorderHovered = s?.variantBorderHovered || neutralTertiary;\n result.buttonTextDisabled = neutralTertiary;\n result.inputIconDisabled = neutralTertiary;\n result.disabledText = neutralTertiary;\n }\n if (neutralPrimary) {\n result.bodyText = neutralPrimary;\n result.actionLink = neutralPrimary;\n result.buttonText = neutralPrimary;\n result.inputBorderHovered = neutralPrimary;\n result.inputText = neutralPrimary;\n result.listText = neutralPrimary;\n result.menuItemText = neutralPrimary;\n }\n if (neutralLighterAlt) {\n result.bodyStandoutBackground = neutralLighterAlt;\n result.defaultStateBackground = neutralLighterAlt;\n }\n if (neutralDark) {\n result.actionLinkHovered = neutralDark;\n result.buttonTextHovered = neutralDark;\n result.buttonTextChecked = neutralDark;\n result.buttonTextPressed = neutralDark;\n result.inputTextHovered = neutralDark;\n result.menuItemTextHovered = neutralDark;\n }\n if (neutralSecondary) {\n result.bodySubtext = neutralSecondary;\n result.focusBorder = neutralSecondary;\n result.inputBorder = neutralSecondary;\n result.smallInputBorder = neutralSecondary;\n result.inputPlaceholderText = neutralSecondary;\n }\n if (neutralSecondaryAlt) {\n result.buttonBorder = neutralSecondaryAlt;\n }\n if (neutralTertiaryAlt) {\n result.disabledBodySubtext = neutralTertiaryAlt;\n result.disabledBorder = neutralTertiaryAlt;\n result.buttonBackgroundChecked = neutralTertiaryAlt;\n result.menuDivider = neutralTertiaryAlt;\n }\n if (accent) {\n result.accentButtonBackground = accent;\n }\n\n // map effects\n if (e?.elevation4) {\n result.cardShadow = e.elevation4;\n }\n if (!isInverted && e?.elevation8) {\n result.cardShadowHovered = e.elevation8;\n } else if (result.variantBorderHovered) {\n result.cardShadowHovered = '0 0 1px ' + result.variantBorderHovered;\n }\n\n result = {\n ...result,\n // mix in customized semantic slots\n ...s,\n };\n\n return result as TResult;\n}\n\nfunction _fixDeprecatedSlots(s: ISemanticColors, depComments: boolean): ISemanticColors {\n // Add @deprecated tag as comment if enabled\n let dep = '';\n if (depComments === true) {\n dep = ' /* @deprecated */';\n }\n\n /* eslint-disable deprecation/deprecation */\n s.listTextColor = s.listText + dep;\n s.menuItemBackgroundChecked += dep;\n s.warningHighlight += dep;\n s.warningText = s.messageText + dep;\n s.successText += dep;\n /* eslint-enable deprecation/deprecation */\n return s;\n}\n","import type { ISpacing } from '../types/index';\n\nexport const DefaultSpacing: ISpacing = {\n s2: '4px',\n s1: '8px',\n m: '16px',\n l1: '20px',\n l2: '32px',\n};\n","import { DefaultPalette } from './colors/index';\nimport { DefaultEffects } from './effects/index';\nimport { DefaultFontStyles } from './fonts/index';\nimport { mergeThemes } from './mergeThemes';\nimport { DefaultSpacing } from './spacing/index';\nimport { makeSemanticColors } from './utilities/makeSemanticColors';\nimport type { PartialTheme, Theme } from './types/index';\n\n/**\n * Creates a custom theme definition.\n * @param theme - Partial theme object.\n * @param depComments - Whether to include deprecated tags as comments for deprecated slots.\n */\nexport function createTheme(theme: PartialTheme = {}, depComments: boolean = false): Theme {\n const isInverted = !!theme.isInverted;\n const baseTheme: Theme = {\n palette: DefaultPalette,\n effects: DefaultEffects,\n fonts: DefaultFontStyles,\n spacing: DefaultSpacing,\n isInverted,\n disableGlobalClassNames: false,\n semanticColors: makeSemanticColors(DefaultPalette, DefaultEffects, undefined, isInverted, depComments),\n rtl: undefined,\n };\n\n return mergeThemes(baseTheme, theme);\n}\n","import { merge } from '@fluentui/utilities';\nimport { getSemanticColors } from './utilities/makeSemanticColors';\nimport type { IFontStyles, PartialTheme, Theme } from './types/index';\n\n/**\n * Merge a partial/full theme into a full theme and returns a merged full theme.\n */\nexport function mergeThemes(theme: Theme, partialTheme: PartialTheme = {}): Theme {\n const mergedTheme = merge({}, theme, partialTheme, {\n semanticColors: getSemanticColors(\n partialTheme.palette,\n partialTheme.effects,\n partialTheme.semanticColors,\n partialTheme.isInverted === undefined ? theme.isInverted : partialTheme.isInverted,\n ),\n }) as Theme;\n\n if (partialTheme.palette?.themePrimary && !partialTheme.palette?.accent) {\n mergedTheme.palette.accent = partialTheme.palette.themePrimary;\n }\n\n if (partialTheme.defaultFontStyle) {\n for (const fontStyle of Object.keys(mergedTheme.fonts) as (keyof IFontStyles)[]) {\n mergedTheme.fonts[fontStyle] = merge(\n mergedTheme.fonts[fontStyle],\n partialTheme.defaultFontStyle,\n partialTheme?.fonts?.[fontStyle],\n );\n }\n }\n\n return mergedTheme;\n}\n","export namespace Depths {\n export const depth0 = '0 0 0 0 transparent';\n export const 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)';\n export const 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)';\n export const 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)';\n export const 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)';\n}\n","import type { IFontWeight } from '@fluentui/merge-styles';\n\n// Font face names to be registered.\nexport namespace LocalizedFontNames {\n export const Arabic = 'Segoe UI Web (Arabic)';\n export const Cyrillic = 'Segoe UI Web (Cyrillic)';\n export const EastEuropean = 'Segoe UI Web (East European)';\n export const Greek = 'Segoe UI Web (Greek)';\n export const Hebrew = 'Segoe UI Web (Hebrew)';\n export const Thai = 'Leelawadee UI Web';\n export const Vietnamese = 'Segoe UI Web (Vietnamese)';\n export const WestEuropean = 'Segoe UI Web (West European)';\n export const Selawik = 'Selawik Web';\n export const Armenian = 'Segoe UI Web (Armenian)';\n export const Georgian = 'Segoe UI Web (Georgian)';\n}\n\n// Font families with fallbacks, for the general regions.\nexport namespace LocalizedFontFamilies {\n export const Arabic = `'${LocalizedFontNames.Arabic}'`;\n export const ChineseSimplified = `'Microsoft Yahei UI', Verdana, Simsun`;\n export const ChineseTraditional = `'Microsoft Jhenghei UI', Pmingliu`;\n export const Cyrillic = `'${LocalizedFontNames.Cyrillic}'`;\n export const EastEuropean = `'${LocalizedFontNames.EastEuropean}'`;\n export const Greek = `'${LocalizedFontNames.Greek}'`;\n export const Hebrew = `'${LocalizedFontNames.Hebrew}'`;\n export const Hindi = `'Nirmala UI'`;\n export const Japanese = `'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka`;\n export const Korean = `'Malgun Gothic', Gulim`;\n export const Selawik = `'${LocalizedFontNames.Selawik}'`;\n export const Thai = `'Leelawadee UI Web', 'Kmer UI'`;\n export const Vietnamese = `'${LocalizedFontNames.Vietnamese}'`;\n export const WestEuropean = `'${LocalizedFontNames.WestEuropean}'`;\n export const Armenian = `'${LocalizedFontNames.Armenian}'`;\n export const Georgian = `'${LocalizedFontNames.Georgian}'`;\n}\n\n// Standard font sizes.\nexport namespace FontSizes {\n export const size10 = '10px';\n export const size12 = '12px';\n export const size14 = '14px';\n export const size16 = '16px';\n export const size18 = '18px';\n export const size20 = '20px';\n export const size24 = '24px';\n export const size28 = '28px';\n export const size32 = '32px';\n export const size42 = '42px';\n export const size68 = '68px';\n\n export const mini: string = '10px';\n export const xSmall: string = '10px';\n export const small: string = '12px';\n export const smallPlus: string = '12px';\n export const medium: string = '14px';\n export const mediumPlus: string = '16px';\n export const icon: string = '16px';\n export const large: string = '18px';\n export const xLarge: string = '20px';\n export const xLargePlus: string = '24px';\n export const xxLarge: string = '28px';\n export const xxLargePlus: string = '32px';\n export const superLarge: string = '42px';\n export const mega: string = '68px';\n}\n\n// Standard font weights.\nexport namespace FontWeights {\n export const light: IFontWeight = 100;\n export const semilight: IFontWeight = 300;\n export const regular: IFontWeight = 400;\n export const semibold: IFontWeight = 600;\n export const bold: IFontWeight = 700;\n}\n\n// Standard Icon Sizes.\nexport namespace IconFontSizes {\n export const xSmall: string = '10px';\n export const small: string = '12px';\n export const medium: string = '16px';\n export const large: string = '20px';\n}\n","import { getWindow } from './dom/getWindow';\n\ndeclare function setTimeout(cb: Function, delay: number): number;\ndeclare function setInterval(cb: Function, delay: number): number;\n\n/**\n * Bugs often appear in async code when stuff gets disposed, but async operations don't get canceled.\n * This Async helper class solves these issues by tying async code to the lifetime of a disposable object.\n *\n * Usage: Anything class extending from BaseModel can access this helper via this.async. Otherwise create a\n * new instance of the class and remember to call dispose() during your code's dispose handler.\n *\n * @public\n */\nexport class Async {\n private _timeoutIds: { [id: number]: boolean } | null = null;\n private _immediateIds: { [id: number]: boolean } | null = null;\n private _intervalIds: { [id: number]: boolean } | null = null;\n private _animationFrameIds: { [id: number]: boolean } | null = null;\n private _isDisposed: boolean;\n private _parent: object | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _onErrorHandler: ((e: any) => void) | undefined;\n private _noop: () => void;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(parent?: object, onError?: (e: any) => void) {\n this._isDisposed = false;\n this._parent = parent || null;\n this._onErrorHandler = onError;\n this._noop = () => {\n /* do nothing */\n };\n }\n\n /**\n * Dispose function, clears all async operations.\n */\n public dispose(): void {\n let id;\n\n this._isDisposed = true;\n this._parent = null;\n\n // Clear timeouts.\n if (this._timeoutIds) {\n for (id in this._timeoutIds) {\n if (this._timeoutIds.hasOwnProperty(id)) {\n this.clearTimeout(parseInt(id, 10));\n }\n }\n\n this._timeoutIds = null;\n }\n\n // Clear immediates.\n if (this._immediateIds) {\n for (id in this._immediateIds) {\n if (this._immediateIds.hasOwnProperty(id)) {\n this.clearImmediate(parseInt(id, 10));\n }\n }\n\n this._immediateIds = null;\n }\n\n // Clear intervals.\n if (this._intervalIds) {\n for (id in this._intervalIds) {\n if (this._intervalIds.hasOwnProperty(id)) {\n this.clearInterval(parseInt(id, 10));\n }\n }\n this._intervalIds = null;\n }\n\n // Clear animation frames.\n if (this._animationFrameIds) {\n for (id in this._animationFrameIds) {\n if (this._animationFrameIds.hasOwnProperty(id)) {\n this.cancelAnimationFrame(parseInt(id, 10));\n }\n }\n\n this._animationFrameIds = null;\n }\n }\n\n /**\n * SetTimeout override, which will auto cancel the timeout during dispose.\n * @param callback - Callback to execute.\n * @param duration - Duration in milliseconds.\n * @returns The setTimeout id.\n */\n public setTimeout(callback: () => void, duration: number): number {\n let timeoutId = 0;\n\n if (!this._isDisposed) {\n if (!this._timeoutIds) {\n this._timeoutIds = {};\n }\n\n timeoutId = setTimeout(() => {\n // Time to execute the timeout, enqueue it as a foreground task to be executed.\n\n try {\n // Now delete the record and call the callback.\n if (this._timeoutIds) {\n delete this._timeoutIds[timeoutId];\n }\n callback.apply(this._parent);\n } catch (e) {\n this._logError(e);\n }\n }, duration);\n\n this._timeoutIds[timeoutId] = true;\n }\n\n return timeoutId;\n }\n\n /**\n * Clears the timeout.\n * @param id - Id to cancel.\n */\n public clearTimeout(id: number): void {\n if (this._timeoutIds && this._timeoutIds[id]) {\n clearTimeout(id);\n delete this._timeoutIds[id];\n }\n }\n\n /**\n * SetImmediate override, which will auto cancel the immediate during dispose.\n * @param callback - Callback to execute.\n * @param targetElement - Optional target element to use for identifying the correct window.\n * @returns The setTimeout id.\n */\n public setImmediate(callback: () => void, targetElement?: Element | null): number {\n let immediateId = 0;\n const win = getWindow(targetElement)!;\n\n if (!this._isDisposed) {\n if (!this._immediateIds) {\n this._immediateIds = {};\n }\n\n let setImmediateCallback = () => {\n // Time to execute the timeout, enqueue it as a foreground task to be executed.\n\n try {\n // Now delete the record and call the callback.\n if (this._immediateIds) {\n delete this._immediateIds[immediateId];\n }\n callback.apply(this._parent);\n } catch (e) {\n this._logError(e);\n }\n };\n\n immediateId = win.setTimeout(setImmediateCallback, 0);\n\n this._immediateIds[immediateId] = true;\n }\n\n return immediateId;\n }\n\n /**\n * Clears the immediate.\n * @param id - Id to cancel.\n * @param targetElement - Optional target element to use for identifying the correct window.\n */\n public clearImmediate(id: number, targetElement?: Element | null): void {\n const win = getWindow(targetElement)!;\n\n if (this._immediateIds && this._immediateIds[id]) {\n win.clearTimeout(id);\n delete this._immediateIds[id];\n }\n }\n\n /**\n * SetInterval override, which will auto cancel the timeout during dispose.\n * @param callback - Callback to execute.\n * @param duration - Duration in milliseconds.\n * @returns The setTimeout id.\n */\n public setInterval(callback: () => void, duration: number): number {\n let intervalId = 0;\n\n if (!this._isDisposed) {\n if (!this._intervalIds) {\n this._intervalIds = {};\n }\n\n intervalId = setInterval(() => {\n // Time to execute the interval callback, enqueue it as a foreground task to be executed.\n try {\n callback.apply(this._parent);\n } catch (e) {\n this._logError(e);\n }\n }, duration);\n\n this._intervalIds[intervalId] = true;\n }\n\n return intervalId;\n }\n\n /**\n * Clears the interval.\n * @param id - Id to cancel.\n */\n public clearInterval(id: number): void {\n if (this._intervalIds && this._intervalIds[id]) {\n clearInterval(id);\n delete this._intervalIds[id];\n }\n }\n\n /**\n * Creates a function that, when executed, will only call the func function at most once per\n * every wait milliseconds. Provide an options object to indicate that func should be invoked\n * on the leading and/or trailing edge of the wait timeout. Subsequent calls to the throttled\n * function will return the result of the last func call.\n *\n * Note: If leading and trailing options are true func will be called on the trailing edge of\n * the timeout only if the throttled function is invoked more than once during the wait timeout.\n *\n * @param func - The function to throttle.\n * @param wait - The number of milliseconds to throttle executions to. Defaults to 0.\n * @param options - The options object.\n * @returns The new throttled function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public throttle any>(\n func: T,\n wait?: number,\n options?: {\n leading?: boolean;\n trailing?: boolean;\n },\n ): T {\n if (this._isDisposed) {\n return this._noop as T;\n }\n\n let waitMS = wait || 0;\n let leading = true;\n let trailing = true;\n let lastExecuteTime = 0;\n let lastResult: T;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let lastArgs: any[];\n let timeoutId: number | null = null;\n\n if (options && typeof options.leading === 'boolean') {\n leading = options.leading;\n }\n\n if (options && typeof options.trailing === 'boolean') {\n trailing = options.trailing;\n }\n\n let callback = (userCall?: boolean) => {\n let now = Date.now();\n let delta = now - lastExecuteTime;\n let waitLength = leading ? waitMS - delta : waitMS;\n if (delta >= waitMS && (!userCall || leading)) {\n lastExecuteTime = now;\n if (timeoutId) {\n this.clearTimeout(timeoutId);\n timeoutId = null;\n }\n lastResult = func.apply(this._parent, lastArgs);\n } else if (timeoutId === null && trailing) {\n timeoutId = this.setTimeout(callback, waitLength);\n }\n\n return lastResult;\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let resultFunction = ((...args: any[]): any => {\n lastArgs = args;\n return callback(true);\n }) as T;\n\n return resultFunction;\n }\n\n /**\n * Creates a function that will delay the execution of func until after wait milliseconds have\n * elapsed since the last time it was invoked. Provide an options object to indicate that func\n * should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent calls\n * to the debounced function will return the result of the last func call.\n *\n * Note: If leading and trailing options are true func will be called on the trailing edge of\n * the timeout only if the debounced function is invoked more than once during the wait\n * timeout.\n *\n * @param func - The function to debounce.\n * @param wait - The number of milliseconds to delay.\n * @param options - The options object.\n * @returns The new debounced function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public debounce any>(\n func: T,\n wait?: number,\n options?: {\n leading?: boolean;\n maxWait?: number;\n trailing?: boolean;\n },\n ): ICancelable & T {\n if (this._isDisposed) {\n let noOpFunction = (() => {\n /** Do nothing */\n }) as ICancelable & T;\n\n noOpFunction.cancel = () => {\n return;\n };\n noOpFunction.flush = (() => null) as unknown as () => ReturnType;\n noOpFunction.pending = () => false;\n\n return noOpFunction;\n }\n\n let waitMS = wait || 0;\n let leading = false;\n let trailing = true;\n let maxWait: number | null = null;\n let lastCallTime = 0;\n let lastExecuteTime = Date.now();\n let lastResult: ReturnType;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let lastArgs: any[];\n let timeoutId: number | null = null;\n\n if (options && typeof options.leading === 'boolean') {\n leading = options.leading;\n }\n\n if (options && typeof options.trailing === 'boolean') {\n trailing = options.trailing;\n }\n\n if (options && typeof options.maxWait === 'number' && !isNaN(options.maxWait)) {\n maxWait = options.maxWait;\n }\n\n let markExecuted = (time: number) => {\n if (timeoutId) {\n this.clearTimeout(timeoutId);\n timeoutId = null;\n }\n lastExecuteTime = time;\n };\n\n let invokeFunction = (time: number) => {\n markExecuted(time);\n lastResult = func.apply(this._parent, lastArgs);\n };\n\n let callback = (userCall?: boolean) => {\n let now = Date.now();\n let executeImmediately = false;\n if (userCall) {\n if (leading && now - lastCallTime >= waitMS) {\n executeImmediately = true;\n }\n lastCallTime = now;\n }\n let delta = now - lastCallTime;\n let waitLength = waitMS - delta;\n let maxWaitDelta = now - lastExecuteTime;\n let maxWaitExpired = false;\n\n if (maxWait !== null) {\n // maxWait only matters when there is a pending callback\n if (maxWaitDelta >= maxWait && timeoutId) {\n maxWaitExpired = true;\n } else {\n waitLength = Math.min(waitLength, maxWait - maxWaitDelta);\n }\n }\n\n if (delta >= waitMS || maxWaitExpired || executeImmediately) {\n invokeFunction(now);\n } else if ((timeoutId === null || !userCall) && trailing) {\n timeoutId = this.setTimeout(callback, waitLength);\n }\n\n return lastResult;\n };\n\n let pending = (): boolean => {\n return !!timeoutId;\n };\n\n let cancel = (): void => {\n if (pending()) {\n // Mark the debounced function as having executed\n markExecuted(Date.now());\n }\n };\n\n let flush = () => {\n if (pending()) {\n invokeFunction(Date.now());\n }\n\n return lastResult;\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let resultFunction = ((...args: any[]) => {\n lastArgs = args;\n return callback(true);\n }) as ICancelable & T;\n\n resultFunction.cancel = cancel;\n resultFunction.flush = flush;\n resultFunction.pending = pending;\n\n return resultFunction;\n }\n\n public requestAnimationFrame(callback: () => void, targetElement?: Element | null): number {\n let animationFrameId = 0;\n const win = getWindow(targetElement)!;\n\n if (!this._isDisposed) {\n if (!this._animationFrameIds) {\n this._animationFrameIds = {};\n }\n\n let animationFrameCallback = () => {\n try {\n // Now delete the record and call the callback.\n if (this._animationFrameIds) {\n delete this._animationFrameIds[animationFrameId];\n }\n\n callback.apply(this._parent);\n } catch (e) {\n this._logError(e);\n }\n };\n\n animationFrameId = win.requestAnimationFrame\n ? win.requestAnimationFrame(animationFrameCallback)\n : win.setTimeout(animationFrameCallback, 0);\n\n this._animationFrameIds[animationFrameId] = true;\n }\n\n return animationFrameId;\n }\n\n public cancelAnimationFrame(id: number, targetElement?: Element | null): void {\n const win = getWindow(targetElement)!;\n\n if (this._animationFrameIds && this._animationFrameIds[id]) {\n win.cancelAnimationFrame ? win.cancelAnimationFrame(id) : win.clearTimeout(id);\n delete this._animationFrameIds[id];\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n protected _logError(e: any): void {\n if (this._onErrorHandler) {\n this._onErrorHandler(e);\n }\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ICancelable any> = {\n flush: () => ReturnType;\n cancel: () => void;\n pending: () => boolean;\n};\n","import * as React from 'react';\nimport { Async } from './Async';\nimport { EventGroup } from './EventGroup';\nimport { warnConditionallyRequiredProps } from './warn/warnConditionallyRequiredProps';\nimport { warnMutuallyExclusive } from './warn/warnMutuallyExclusive';\nimport { warnDeprecations } from './warn/warnDeprecations';\nimport type { IDisposable } from './IDisposable';\nimport type { ISettingsMap } from './warn/warn';\nimport type { IRefObject } from './createRef';\nimport type { IBaseProps } from './BaseComponent.types';\n\n/**\n * BaseComponent class, which provides basic helpers for all components.\n *\n * @public\n * {@docCategory BaseComponent}\n *\n * @deprecated Do not use. We are moving away from class component.\n */\nexport class BaseComponent extends React.Component {\n /**\n * @deprecated Use React's error boundaries instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public static onError: (errorMessage?: string, ex?: any) => void;\n\n /**\n * Controls whether the componentRef prop will be resolved by this component instance. If you are\n * implementing a passthrough (higher-order component), you would set this to false and pass through\n * the props to the inner component, allowing it to resolve the componentRef.\n */\n protected _skipComponentRefResolution!: boolean;\n\n private __async!: Async;\n private __events!: EventGroup;\n private __disposables!: IDisposable[] | null;\n private __resolves!: { [name: string]: (ref: React.ReactNode) => React.ReactNode };\n private __className!: string;\n\n /**\n * BaseComponent constructor\n * @param props - The props for the component.\n * @param context - The context for the component.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(props: TProps, context?: any) {\n super(props, context);\n\n // eslint-disable-next-line deprecation/deprecation\n _makeAllSafe(this, BaseComponent.prototype, [\n 'componentDidMount',\n 'shouldComponentUpdate',\n 'getSnapshotBeforeUpdate',\n 'render',\n 'componentDidUpdate',\n 'componentWillUnmount',\n ]);\n }\n\n /**\n * When the component receives props, make sure the componentRef is updated.\n */\n public componentDidUpdate(prevProps: TProps, prevState: TState): void {\n this._updateComponentRef(prevProps, this.props);\n }\n\n /**\n * When the component has mounted, update the componentRef.\n */\n public componentDidMount(): void {\n this._setComponentRef(this.props.componentRef, this);\n }\n\n /**\n * If we have disposables, dispose them automatically on unmount.\n */\n public componentWillUnmount(): void {\n this._setComponentRef(this.props.componentRef, null);\n\n if (this.__disposables) {\n for (let i = 0, len = this._disposables.length; i < len; i++) {\n let disposable = this.__disposables[i];\n\n if (disposable.dispose) {\n disposable.dispose();\n }\n }\n this.__disposables = null;\n }\n }\n\n /**\n * Gets the object's class name.\n */\n public get className(): string {\n if (!this.__className) {\n let funcNameRegex = /function (.{1,})\\(/;\n let results = funcNameRegex.exec(this.constructor.toString());\n\n this.__className = results && results.length > 1 ? results[1] : '';\n }\n\n return this.__className;\n }\n\n /**\n * Allows subclasses to push things to this._disposables to be auto disposed.\n */\n protected get _disposables(): IDisposable[] {\n if (!this.__disposables) {\n this.__disposables = [];\n }\n return this.__disposables;\n }\n\n /**\n * Gets the async instance associated with the component, created on demand. The async instance gives\n * subclasses a way to execute setTimeout/setInterval async calls safely, where the callbacks\n * will be cleared/ignored automatically after unmounting. The helpers within the async object also\n * preserve the this pointer so that you don't need to \"bind\" the callbacks.\n */\n protected get _async(): Async {\n if (!this.__async) {\n this.__async = new Async(this);\n this._disposables.push(this.__async);\n }\n\n return this.__async;\n }\n\n /**\n * Gets the event group instance assocaited with the component, created on demand. The event instance\n * provides on/off methods for listening to DOM (or regular javascript object) events. The event callbacks\n * will be automatically disconnected after unmounting. The helpers within the events object also\n * preserve the this reference so that you don't need to \"bind\" the callbacks.\n */\n protected get _events(): EventGroup {\n if (!this.__events) {\n this.__events = new EventGroup(this);\n this._disposables.push(this.__events);\n }\n\n return this.__events;\n }\n\n /**\n * Helper to return a memoized ref resolver function.\n * @param refName - Name of the member to assign the ref to.\n * @returns A function instance keyed from the given refname.\n * @deprecated Use `createRef` from React.createRef.\n */\n protected _resolveRef(refName: string): (ref: React.ReactNode) => React.ReactNode {\n if (!this.__resolves) {\n this.__resolves = {};\n }\n\n if (!this.__resolves[refName]) {\n this.__resolves[refName] = (ref: React.ReactNode) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((this as any)[refName] = ref);\n };\n }\n\n return this.__resolves[refName];\n }\n\n /**\n * Updates the componentRef (by calling it with \"this\" when necessary.)\n */\n protected _updateComponentRef(currentProps: IBaseProps, newProps: IBaseProps = {}): void {\n // currentProps *should* always be defined, but verify that just in case a subclass is manually\n // calling a lifecycle method with no parameters (which has happened) or other odd usage.\n if (currentProps && newProps && currentProps.componentRef !== newProps.componentRef) {\n this._setComponentRef(currentProps.componentRef, null);\n this._setComponentRef(newProps.componentRef, this);\n }\n }\n\n /**\n * Warns when a deprecated props are being used.\n *\n * @param deprecationMap - The map of deprecations, where key is the prop name and the value is\n * either null or a replacement prop name.\n */\n protected _warnDeprecations(deprecationMap: ISettingsMap): void {\n warnDeprecations(this.className, this.props, deprecationMap);\n }\n\n /**\n * Warns when props which are mutually exclusive with each other are both used.\n *\n * @param mutuallyExclusiveMap - The map of mutually exclusive props.\n */\n protected _warnMutuallyExclusive(mutuallyExclusiveMap: ISettingsMap): void {\n warnMutuallyExclusive(this.className, this.props, mutuallyExclusiveMap);\n }\n\n /**\n * Warns when props are required if a condition is met.\n *\n * @param requiredProps - The name of the props that are required when the condition is met.\n * @param conditionalPropName - The name of the prop that the condition is based on.\n * @param condition - Whether the condition is met.\n */\n protected _warnConditionallyRequiredProps(\n requiredProps: string[],\n conditionalPropName: string,\n condition: boolean,\n ): void {\n warnConditionallyRequiredProps(this.className, this.props, requiredProps, conditionalPropName, condition);\n }\n\n private _setComponentRef(\n ref: IRefObject | undefined,\n value: TRefInterface | null,\n ): void {\n if (!this._skipComponentRefResolution && ref) {\n if (typeof ref === 'function') {\n ref(value);\n }\n\n if (typeof ref === 'object') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (ref as any).current = value;\n }\n }\n }\n}\n\n/**\n * Helper to override a given method with a wrapper method that can try/catch the original, but also\n * ensures that the BaseComponent's methods are called before the subclass's. This ensures that\n * componentWillUnmount in the base is called and that things in the _disposables array are disposed.\n */\n// eslint-disable-next-line deprecation/deprecation\nfunction _makeAllSafe(obj: BaseComponent<{}, {}>, prototype: Object, methodNames: string[]): void {\n for (let i = 0, len = methodNames.length; i < len; i++) {\n _makeSafe(obj, prototype, methodNames[i]);\n }\n}\n\n// eslint-disable-next-line deprecation/deprecation\nfunction _makeSafe(obj: BaseComponent<{}, {}>, prototype: Object, methodName: string): void {\n /* eslint-disable @typescript-eslint/no-explicit-any */\n let classMethod = (obj as any)[methodName];\n let prototypeMethod = (prototype as any)[methodName];\n\n if (classMethod || prototypeMethod) {\n (obj as any)[methodName] = function (...args: any[]): any {\n /* eslint-enable @typescript-eslint/no-explicit-any */\n let retVal;\n\n if (prototypeMethod) {\n retVal = prototypeMethod.apply(this, args);\n }\n if (classMethod !== prototypeMethod) {\n retVal = classMethod.apply(this, args);\n }\n\n return retVal;\n };\n }\n}\n\n/**\n * Simple constant function for returning null, used to render empty templates in JSX.\n *\n * @public\n */\nexport function nullRender(): JSX.Element | null {\n return null;\n}\n","import * as React from 'react';\nimport { getWindow } from './dom/getWindow';\nimport { IReactProps } from './React.types';\n\n/**\n * DelayedRender component props.\n *\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport interface IDelayedRenderProps extends IReactProps<{}> {\n /**\n * Number of milliseconds to delay rendering children.\n */\n delay?: number;\n}\n\n/**\n * DelayedRender component state.\n *\n * @internal\n */\nexport interface IDelayedRenderState {\n /**\n * Whether the component is rendered or not.\n */\n isRendered: boolean;\n}\n\n/**\n * Utility component for delaying the render of a child component after a given delay. This component\n * requires a single child component; don't pass in many components. Wrap multiple components in a DIV\n * if necessary.\n *\n * @public\n * {@docCategory DelayedRender}\n */\nexport class DelayedRender extends React.Component {\n public static defaultProps = {\n delay: 0,\n };\n\n private _timeoutId: number | undefined;\n\n constructor(props: IDelayedRenderProps) {\n super(props);\n this.state = {\n isRendered: getWindow() === undefined,\n };\n }\n\n public componentDidMount(): void {\n let { delay } = this.props;\n this._timeoutId = window.setTimeout(() => {\n this.setState({\n isRendered: true,\n });\n }, delay);\n }\n\n public componentWillUnmount(): void {\n if (this._timeoutId) {\n clearTimeout(this._timeoutId);\n }\n }\n\n public render(): React.ReactElement<{}> | null {\n return this.state.isRendered ? (React.Children.only(this.props.children) as React.ReactElement<{}>) : null;\n }\n}\n","import { assign } from './object';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * @internal\n */\nexport interface IEventRecord {\n target: any;\n eventName: string;\n parent: any;\n callback: (args?: any) => void;\n elementCallback?: (...args: any[]) => void;\n objectCallback?: (args?: any) => void;\n options?: boolean | AddEventListenerOptions;\n}\n\n/**\n * @internal\n */\nexport interface IEventRecordsByName {\n [eventName: string]: IEventRecordList;\n}\n\n/**\n * @internal\n */\nexport interface IEventRecordList {\n [id: string]: IEventRecord[] | number;\n count: number;\n}\n\n/**\n * @internal\n */\nexport interface IDeclaredEventsByName {\n [eventName: string]: boolean;\n}\n\n/** An instance of EventGroup allows anything with a handle to it to trigger events on it.\n * If the target is an HTMLElement, the event will be attached to the element and can be\n * triggered as usual (like clicking for onClick).\n * The event can be triggered by calling EventGroup.raise() here. If the target is an\n * HTMLElement, the event gets raised and is handled by the browser. Otherwise, it gets\n * handled here in EventGroup, and the handler is called in the context of the parent\n * (which is passed in in the constructor).\n *\n * @public\n * {@docCategory EventGroup}\n */\nexport class EventGroup {\n private static _uniqueId: number = 0;\n private _parent: any;\n private _eventRecords: IEventRecord[];\n private _id: number = EventGroup._uniqueId++;\n private _isDisposed!: boolean;\n\n /** For IE8, bubbleEvent is ignored here and must be dealt with by the handler.\n * Events raised here by default have bubbling set to false and cancelable set to true.\n * This applies also to built-in events being raised manually here on HTMLElements,\n * which may lead to unexpected behavior if it differs from the defaults.\n *\n */\n public static raise(target: any, eventName: string, eventArgs?: any, bubbleEvent?: boolean): boolean | undefined {\n let retVal;\n\n if (EventGroup._isElement(target)) {\n if (typeof document !== 'undefined' && document.createEvent) {\n let ev = document.createEvent('HTMLEvents');\n\n // eslint-disable-next-line deprecation/deprecation\n ev.initEvent(eventName, bubbleEvent || false, true);\n\n assign(ev, eventArgs);\n\n retVal = target.dispatchEvent(ev);\n } else if (typeof document !== 'undefined' && (document as any).createEventObject) {\n // IE8\n let evObj = (document as any).createEventObject(eventArgs);\n // cannot set cancelBubble on evObj, fireEvent will overwrite it\n target.fireEvent('on' + eventName, evObj);\n }\n } else {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore -- FIXME: strictBindCallApply error - https://github.com/microsoft/fluentui/issues/17331\n while (target && retVal !== false) {\n let events = target.__events__;\n let eventRecords = events ? events[eventName] : null;\n\n if (eventRecords) {\n for (let id in eventRecords) {\n if (eventRecords.hasOwnProperty(id)) {\n let eventRecordList = eventRecords[id];\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore -- FIXME: strictBindCallApply error - https://github.com/microsoft/fluentui/issues/17331\n for (let listIndex = 0; retVal !== false && listIndex < eventRecordList.length; listIndex++) {\n let record = eventRecordList[listIndex];\n\n if (record.objectCallback) {\n retVal = record.objectCallback.call(record.parent, eventArgs);\n }\n }\n }\n }\n }\n\n // If the target has a parent, bubble the event up.\n target = bubbleEvent ? target.parent : null;\n }\n }\n\n return retVal;\n }\n\n public static isObserved(target: any, eventName: string): boolean {\n let events = target && target.__events__;\n\n return !!events && !!events[eventName];\n }\n\n /** Check to see if the target has declared support of the given event. */\n public static isDeclared(target: any, eventName: string): boolean {\n let declaredEvents = target && target.__declaredEvents;\n\n return !!declaredEvents && !!declaredEvents[eventName];\n }\n\n public static stopPropagation(event: any): void {\n if (event.stopPropagation) {\n event.stopPropagation();\n } else {\n // IE8\n event.cancelBubble = true;\n }\n }\n\n private static _isElement(target: HTMLElement): boolean {\n return (\n !!target && (!!target.addEventListener || (typeof HTMLElement !== 'undefined' && target instanceof HTMLElement))\n );\n }\n\n /** parent: the context in which events attached to non-HTMLElements are called */\n public constructor(parent: any) {\n this._parent = parent;\n this._eventRecords = [];\n }\n\n public dispose(): void {\n if (!this._isDisposed) {\n this._isDisposed = true;\n\n this.off();\n this._parent = null;\n }\n }\n\n /** On the target, attach a set of events, where the events object is a name to function mapping. */\n public onAll(target: any, events: { [key: string]: (args?: any) => void }, useCapture?: boolean): void {\n for (let eventName in events) {\n if (events.hasOwnProperty(eventName)) {\n this.on(target, eventName, events[eventName], useCapture);\n }\n }\n }\n\n /**\n * On the target, attach an event whose handler will be called in the context of the parent\n * of this instance of EventGroup.\n */\n public on(\n target: any,\n eventName: string,\n callback: (args?: any) => void,\n options?: boolean | AddEventListenerOptions,\n ): void {\n if (eventName.indexOf(',') > -1) {\n let events = eventName.split(/[ ,]+/);\n\n for (let i = 0; i < events.length; i++) {\n this.on(target, events[i], callback, options);\n }\n } else {\n let parent = this._parent;\n let eventRecord: IEventRecord = {\n target,\n eventName,\n parent,\n callback,\n options,\n };\n\n // Initialize and wire up the record on the target, so that it can call the callback if the event fires.\n let events = (target.__events__ = target.__events__ || {});\n events[eventName] =\n events[eventName] ||\n {\n count: 0,\n };\n events[eventName][this._id] = events[eventName][this._id] || [];\n (events[eventName][this._id]).push(eventRecord);\n events[eventName].count++;\n\n if (EventGroup._isElement(target)) {\n let processElementEvent = (...args: any[]) => {\n if (this._isDisposed) {\n return;\n }\n\n let result;\n try {\n result = callback.apply(parent, args);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore -- FIXME: strictBindCallApply error - https://github.com/microsoft/fluentui/issues/17331\n if (result === false && args[0]) {\n let e = args[0];\n\n if (e.preventDefault) {\n e.preventDefault();\n }\n\n if (e.stopPropagation) {\n e.stopPropagation();\n }\n\n e.cancelBubble = true;\n }\n } catch (e) {\n // ignore\n }\n\n return result;\n };\n\n eventRecord.elementCallback = processElementEvent;\n\n if (target.addEventListener) {\n (target).addEventListener(eventName, processElementEvent, options);\n } else if (target.attachEvent) {\n // IE8\n target.attachEvent('on' + eventName, processElementEvent);\n }\n } else {\n let processObjectEvent = (...args: any[]) => {\n if (this._isDisposed) {\n return;\n }\n\n return callback.apply(parent, args);\n };\n\n eventRecord.objectCallback = processObjectEvent;\n }\n\n // Remember the record locally, so that it can be removed.\n this._eventRecords.push(eventRecord);\n }\n }\n\n public off(\n target?: any,\n eventName?: string,\n callback?: (args?: any) => void,\n options?: boolean | AddEventListenerOptions,\n ): void {\n for (let i = 0; i < this._eventRecords.length; i++) {\n let eventRecord = this._eventRecords[i];\n if (\n (!target || target === eventRecord.target) &&\n (!eventName || eventName === eventRecord.eventName) &&\n (!callback || callback === eventRecord.callback) &&\n (typeof options !== 'boolean' || options === eventRecord.options)\n ) {\n let events = eventRecord.target.__events__;\n let targetArrayLookup = events[eventRecord.eventName];\n let targetArray = targetArrayLookup ? targetArrayLookup[this._id] : null;\n\n // We may have already target's entries, so check for null.\n if (targetArray) {\n if (targetArray.length === 1 || !callback) {\n targetArrayLookup.count -= targetArray.length;\n delete events[eventRecord.eventName][this._id];\n } else {\n targetArrayLookup.count--;\n targetArray.splice(targetArray.indexOf(eventRecord), 1);\n }\n\n if (!targetArrayLookup.count) {\n delete events[eventRecord.eventName];\n }\n }\n\n if (eventRecord.elementCallback) {\n if (eventRecord.target.removeEventListener) {\n eventRecord.target.removeEventListener(\n eventRecord.eventName,\n eventRecord.elementCallback,\n eventRecord.options,\n );\n } else if (eventRecord.target.detachEvent) {\n // IE8\n eventRecord.target.detachEvent('on' + eventRecord.eventName, eventRecord.elementCallback);\n }\n }\n\n this._eventRecords.splice(i--, 1);\n }\n }\n }\n\n /** Trigger the given event in the context of this instance of EventGroup. */\n public raise(eventName: string, eventArgs?: any, bubbleEvent?: boolean): boolean | undefined {\n return EventGroup.raise(this._parent, eventName, eventArgs, bubbleEvent);\n }\n\n /** Declare an event as being supported by this instance of EventGroup. */\n public declare(event: string | string[]): void {\n let declaredEvents = (this._parent.__declaredEvents = this._parent.__declaredEvents || {});\n\n if (typeof event === 'string') {\n declaredEvents[event] = true;\n } else {\n for (let i = 0; i < event.length; i++) {\n declaredEvents[event[i]] = true;\n }\n }\n }\n}\n","import { getWindow } from './dom/getWindow';\n\n/**\n * Storing global state in local module variables has issues when more than one copy\n * if the module gets loaded on the page (due to a bundling error or simply by consuming\n * a prebundled script.)\n *\n * This file contains helpers to deal with the getting and setting local state, and allows\n * callers to get called back when it mutates.\n */\n\nconst GLOBAL_SETTINGS_PROP_NAME = '__globalSettings__';\nconst CALLBACK_STATE_PROP_NAME = '__callbacks__';\n\nlet _counter = 0;\n\n/**\n * Change description used for change callbacks in GlobalSettings.\n *\n * @public\n * {@docCategory IChangeDescription}\n */\nexport interface IChangeDescription {\n key: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n oldValue: any;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n value: any;\n}\n\n/**\n * Change event callback.\n *\n * @public\n * {@docCategory IChangeEventCallback}\n */\nexport interface IChangeEventCallback {\n __id__?: string;\n (changeDescription?: IChangeDescription): void;\n}\n\n/**\n * Global settings helper, which stores settings in the global (window) namespace.\n * If window is not provided, it will store settings in module scope. Provides a\n * way to observe changes as well when their values change.\n *\n * @public\n * {@docCategory GlobalSettings}\n */\nexport class GlobalSettings {\n public static getValue(key: string, defaultValue?: T | (() => T)): T {\n const globalSettings = _getGlobalSettings();\n\n if (globalSettings[key] === undefined) {\n globalSettings[key] = typeof defaultValue === 'function' ? (defaultValue as Function)() : defaultValue;\n }\n\n return globalSettings[key];\n }\n\n public static setValue(key: string, value: T): T {\n const globalSettings = _getGlobalSettings();\n const callbacks = globalSettings[CALLBACK_STATE_PROP_NAME];\n let oldValue = globalSettings[key];\n\n if (value !== oldValue) {\n globalSettings[key] = value;\n\n let changeDescription = {\n oldValue,\n value,\n key,\n };\n\n for (let id in callbacks) {\n if (callbacks.hasOwnProperty(id)) {\n callbacks[id](changeDescription);\n }\n }\n }\n\n return value;\n }\n\n public static addChangeListener(cb: IChangeEventCallback): void {\n // Note: we use generated ids on the callbacks to create a map of the callbacks, which optimizes removal.\n // (It's faster to delete a key than it is to look up the index of an object and splice an array.)\n let id = cb.__id__;\n const callbacks = _getCallbacks();\n\n if (!id) {\n id = cb.__id__ = String(_counter++);\n }\n\n callbacks[id] = cb;\n }\n\n public static removeChangeListener(cb: IChangeEventCallback): void {\n const callbacks = _getCallbacks();\n delete callbacks[cb.__id__ as string];\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _getGlobalSettings(): { [key: string]: any } {\n const win = getWindow();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const globalObj: { [key: string]: any } = win || {};\n\n if (!globalObj[GLOBAL_SETTINGS_PROP_NAME]) {\n globalObj[GLOBAL_SETTINGS_PROP_NAME] = {\n [CALLBACK_STATE_PROP_NAME]: {},\n };\n }\n\n return globalObj[GLOBAL_SETTINGS_PROP_NAME];\n}\n\nfunction _getCallbacks(): { [key: string]: () => void } {\n const globalSettings = _getGlobalSettings();\n return globalSettings[CALLBACK_STATE_PROP_NAME];\n}\n","/**\n * Simulated enum for keycodes. These will get inlined by uglify when used much like an enum\n *\n * @public\n * {@docCategory KeyCodes}\n */\nexport const KeyCodes = {\n backspace: 8 as 8,\n tab: 9 as 9,\n enter: 13 as 13,\n shift: 16 as 16,\n ctrl: 17 as 17,\n alt: 18 as 18,\n pauseBreak: 19 as 19,\n capslock: 20 as 20,\n escape: 27 as 27,\n space: 32 as 32,\n pageUp: 33 as 33,\n pageDown: 34 as 34,\n end: 35 as 35,\n home: 36 as 36,\n left: 37 as 37,\n up: 38 as 38,\n right: 39 as 39,\n down: 40 as 40,\n insert: 45 as 45,\n del: 46 as 46,\n zero: 48 as 48,\n one: 49 as 49,\n two: 50 as 50,\n three: 51 as 51,\n four: 52 as 52,\n five: 53 as 53,\n six: 54 as 54,\n seven: 55 as 55,\n eight: 56 as 56,\n nine: 57 as 57,\n colon: 58 as 58,\n a: 65 as 65,\n b: 66 as 66,\n c: 67 as 67,\n d: 68 as 68,\n e: 69 as 69,\n f: 70 as 70,\n g: 71 as 71,\n h: 72 as 72,\n i: 73 as 73,\n j: 74 as 74,\n k: 75 as 75,\n l: 76 as 76,\n m: 77 as 77,\n n: 78 as 78,\n o: 79 as 79,\n p: 80 as 80,\n q: 81 as 81,\n r: 82 as 82,\n s: 83 as 83,\n t: 84 as 84,\n u: 85 as 85,\n v: 86 as 86,\n w: 87 as 87,\n x: 88 as 88,\n y: 89 as 89,\n z: 90 as 90,\n leftWindow: 91 as 91,\n rightWindow: 92 as 92,\n select: 93 as 93,\n /* eslint-disable @typescript-eslint/naming-convention */\n zero_numpad: 96 as 96,\n one_numpad: 97 as 97,\n two_numpad: 98 as 98,\n three_numpad: 99 as 99,\n four_numpad: 100 as 100,\n five_numpad: 101 as 101,\n six_numpad: 102 as 102,\n seven_numpad: 103 as 103,\n eight_numpad: 104 as 104,\n nine_numpad: 105 as 105,\n /* eslint-enable @typescript-eslint/naming-convention */\n multiply: 106 as 106,\n add: 107 as 107,\n subtract: 109 as 109,\n decimalPoint: 110 as 110,\n divide: 111 as 111,\n f1: 112 as 112,\n f2: 113 as 113,\n f3: 114 as 114,\n f4: 115 as 115,\n f5: 116 as 116,\n f6: 117 as 117,\n f7: 118 as 118,\n f8: 119 as 119,\n f9: 120 as 120,\n f10: 121 as 121,\n f11: 122 as 122,\n f12: 123 as 123,\n numlock: 144 as 144,\n scrollLock: 145 as 145,\n semicolon: 186 as 186,\n equalSign: 187 as 187,\n comma: 188 as 188,\n dash: 189 as 189,\n period: 190 as 190,\n forwardSlash: 191 as 191,\n graveAccent: 192 as 192,\n openBracket: 219 as 219,\n backSlash: 220 as 220,\n closeBracket: 221 as 221,\n singleQuote: 222 as 222,\n};\nexport type KeyCodes = number;\n","/**\n * ARIA helper to concatenate attributes, returning undefined if all attributes\n * are undefined. (Empty strings are not a valid ARIA attribute value.)\n *\n * @param ariaAttributes - ARIA attributes to merge\n */\nexport function mergeAriaAttributeValues(...ariaAttributes: (string | undefined | false)[]): string | undefined {\n const mergedAttribute = ariaAttributes\n .filter((arg: string | undefined | false) => arg)\n .join(' ')\n .trim();\n return mergedAttribute === '' ? undefined : mergedAttribute;\n}\n","/**\n * Helper to find the index of an item within an array, using a callback to\n * determine the match.\n *\n * @public\n * @param array - Array to search.\n * @param cb - Callback which returns true on matches.\n * @param fromIndex - Optional index to start from (defaults to 0)\n */\nexport function findIndex(array: T[], cb: (item: T, index: number) => boolean, fromIndex: number = 0): number {\n let index = -1;\n\n for (let i = fromIndex; array && i < array.length; i++) {\n if (cb(array[i], i)) {\n index = i;\n break;\n }\n }\n\n return index;\n}\n\n/**\n * Helper to find the first item within an array that satisfies the callback.\n * @param array - Array to search\n * @param cb - Callback which returns true on matches\n */\nexport function find(array: T[], cb: (item: T, index: number) => boolean): T | undefined {\n let index = findIndex(array, cb);\n\n if (index < 0) {\n return undefined;\n }\n\n return array[index];\n}\n\n/**\n * Creates an array of a given size and helper method to populate.\n *\n * @public\n * @param size - Size of array.\n * @param getItem - Callback to populate given cell index.\n */\nexport function createArray(size: number, getItem: (index: number) => T): T[] {\n let array: T[] = [];\n\n for (let i = 0; i < size; i++) {\n array.push(getItem(i));\n }\n\n return array;\n}\n\n/**\n * Convert the given array to a matrix with columnCount number\n * of columns.\n *\n * @public\n * @param items - The array to convert\n * @param columnCount - The number of columns for the resulting matrix\n * @returns A matrix of items\n */\nexport function toMatrix(items: T[], columnCount: number): T[][] {\n return items.reduce((rows: T[][], currentValue: T, index: number) => {\n if (index % columnCount === 0) {\n rows.push([currentValue]);\n } else {\n rows[rows.length - 1].push(currentValue);\n }\n return rows;\n }, [] as T[][]);\n}\n\n/**\n * Given an array, it returns a new array that does not contain the item at the given index.\n * @param array - The array to operate on\n * @param index - The index of the element to remove\n */\nexport function removeIndex(array: T[], index: number): T[] {\n return array.filter((_: T, i: number) => index !== i);\n}\n\n/**\n * Given an array, this function returns a new array where the element at a given index has been replaced.\n * @param array - The array to operate on\n * @param newElement - The element that will be placed in the new array\n * @param index - The index of the element that should be replaced\n */\nexport function replaceElement(array: T[], newElement: T, index: number): T[] {\n const copy = array.slice();\n copy[index] = newElement;\n return copy;\n}\n\n/**\n * Given an array, this function returns a new array where an element has been inserted at the given index.\n * @param array - The array to operate on\n * @param index - The index where an element should be inserted\n * @param itemToAdd - The element to insert\n */\nexport function addElementAtIndex(array: T[], index: number, itemToAdd: T): T[] {\n const copy = array.slice();\n copy.splice(index, 0, itemToAdd);\n return copy;\n}\n\n/**\n * Given an array where each element is of type T or T[], flatten it into an array of T\n * @param array - The array where each element can optionally also be an array\n */\nexport function flatten(array: (T | T[])[]): T[] {\n let result: T[] = [];\n array.forEach((item: T | T[]): T[] => (result = result.concat(item)));\n return result;\n}\n\n/**\n * Returns a boolean indicating if the two given arrays are equal in length and values.\n *\n * @param array1 - First array to compare\n * @param array2 - Second array to compare\n * @returns True if the arrays are the same length and have the same values in the same positions, false otherwise.\n */\nexport function arraysEqual(array1: T[], array2: T[]): boolean {\n if (array1.length !== array2.length) {\n return false;\n }\n for (let i = 0; i < array1.length; i++) {\n if (array1[i] !== array2[i]) {\n return false;\n }\n }\n return true;\n}\n","import { mergeCssSets, Stylesheet } from '@fluentui/merge-styles';\nimport { getRTL } from './rtl';\nimport { getWindow } from './dom';\nimport type { IStyleSet, IProcessedStyleSet, IStyleFunctionOrObject } from '@fluentui/merge-styles';\nimport type { StyleFunction } from './styled';\n\nconst MAX_CACHE_COUNT = 50;\nconst DEFAULT_SPECIFICITY_MULTIPLIER = 5;\n\nlet _memoizedClassNames = 0;\n\nconst stylesheet = Stylesheet.getInstance();\n\nif (stylesheet && stylesheet.onReset) {\n stylesheet.onReset(() => _memoizedClassNames++);\n}\n\n// Note that because of the caching nature within the classNames memoization,\n// I've disabled this rule to simply be able to work with any types.\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n// This represents a prop we attach to each Map to indicate the cached return value\n// associated with the graph node.\nconst retVal = '__retval__';\n\ninterface IRecursiveMemoNode extends Map {\n [retVal]?: string;\n}\n\ntype AppWindow = (Window & { FabricConfig?: { enableClassNameCacheFullWarning?: boolean } }) | undefined;\n\nexport interface IClassNamesFunctionOptions {\n /**\n * Disables class caching for scenarios where styleProp parts mutate frequently.\n */\n disableCaching?: boolean;\n\n /**\n * Size of the cache. It overwrites default cache size when defined.\n */\n cacheSize?: number;\n\n /**\n * Set to true if component base styles are implemented in scss instead of css-in-js.\n */\n useStaticStyles?: boolean;\n}\n\n/**\n * Creates a getClassNames function which calls getStyles given the props, and injects them\n * into mergeStyleSets.\n *\n * Note that the props you pass in on every render should be in the same order and\n * immutable (numbers, strings, and booleans). This will allow the results to be memoized. Violating\n * these will cause extra recalcs to occur.\n */\nexport function classNamesFunction>(\n options: IClassNamesFunctionOptions = {},\n): (\n getStyles: IStyleFunctionOrObject | undefined,\n styleProps?: TStyleProps,\n) => IProcessedStyleSet {\n // We build a trie where each node is a Map. The map entry key represents an argument\n // value, and the entry value is another node (Map). Each node has a `__retval__`\n // property which is used to hold the cached response.\n\n // To derive the response, we can simply ensure the arguments are added or already\n // exist in the trie. At the last node, if there is a `__retval__` we return that. Otherwise\n // we call the `getStyles` api to evaluate, cache on the property, and return that.\n let map: IRecursiveMemoNode = new Map();\n let styleCalcCount = 0;\n let getClassNamesCount = 0;\n let currentMemoizedClassNames = _memoizedClassNames;\n\n const getClassNames = (\n styleFunctionOrObject: IStyleFunctionOrObject | undefined,\n styleProps: TStyleProps = {} as TStyleProps,\n ): IProcessedStyleSet => {\n // If useStaticStyles is true, styleFunctionOrObject returns slot to classname mappings.\n // If there is also no style overrides, we can skip merge styles completely and\n // simply return the result from the style funcion.\n if (\n options.useStaticStyles &&\n typeof styleFunctionOrObject === 'function' &&\n (styleFunctionOrObject as StyleFunction).__noStyleOverride__\n ) {\n return styleFunctionOrObject(styleProps) as IProcessedStyleSet;\n }\n\n getClassNamesCount++;\n let current: Map = map;\n const { theme } = styleProps as any;\n const rtl = theme && theme.rtl !== undefined ? theme.rtl : getRTL();\n\n const disableCaching = options.disableCaching;\n\n // On reset of our stylesheet, reset memoized cache.\n if (currentMemoizedClassNames !== _memoizedClassNames) {\n currentMemoizedClassNames = _memoizedClassNames;\n map = new Map();\n styleCalcCount = 0;\n }\n\n if (!options.disableCaching) {\n current = _traverseMap(map, styleFunctionOrObject as any);\n current = _traverseMap(current, styleProps);\n }\n\n if (disableCaching || !(current as any)[retVal]) {\n if (styleFunctionOrObject === undefined) {\n (current as any)[retVal] = {} as IProcessedStyleSet;\n } else {\n (current as any)[retVal] = mergeCssSets(\n [\n (typeof styleFunctionOrObject === 'function'\n ? styleFunctionOrObject(styleProps)\n : styleFunctionOrObject) as IStyleSet,\n ],\n { rtl: !!rtl, specificityMultiplier: options.useStaticStyles ? DEFAULT_SPECIFICITY_MULTIPLIER : undefined },\n );\n }\n\n if (!disableCaching) {\n styleCalcCount++;\n }\n }\n\n if (styleCalcCount > (options.cacheSize || MAX_CACHE_COUNT)) {\n const win = getWindow() as AppWindow;\n if (win?.FabricConfig?.enableClassNameCacheFullWarning) {\n // eslint-disable-next-line no-console\n console.warn(\n `Styles are being recalculated too frequently. Cache miss rate is ${styleCalcCount}/${getClassNamesCount}.`,\n );\n // eslint-disable-next-line no-console\n console.trace();\n }\n\n map.clear();\n styleCalcCount = 0;\n\n // Mutate the options passed in, that's all we can do.\n options.disableCaching = true;\n }\n\n // Note: the retVal is an attached property on the Map; not a key in the Map. We use this attached property to\n // cache the return value for this branch of the graph.\n return (current as any)[retVal];\n };\n\n return getClassNames;\n}\n\nfunction _traverseEdge(current: Map, value: any): Map {\n value = _normalizeValue(value);\n\n if (!current.has(value)) {\n current.set(value, new Map());\n }\n\n return current.get(value);\n}\n\nfunction _traverseMap(current: Map, inputs: any[] | Object): Map {\n if (typeof inputs === 'function') {\n const cachedInputsFromStyled = (inputs as StyleFunction).__cachedInputs__;\n if (cachedInputsFromStyled) {\n // The styled helper will generate the styles function and will attach the cached\n // inputs (consisting of the default styles, customzied styles, and user provided styles.)\n // These should be used as cache keys for deriving the memoized value.\n for (const input of (inputs as any).__cachedInputs__) {\n current = _traverseEdge(current, input);\n }\n } else {\n current = _traverseEdge(current, inputs);\n }\n } else if (typeof inputs === 'object') {\n for (const propName in inputs) {\n if (inputs.hasOwnProperty(propName)) {\n current = _traverseEdge(current, (inputs as any)[propName]);\n }\n }\n }\n\n return current;\n}\n\nfunction _normalizeValue(value: any): string {\n switch (value) {\n case undefined:\n return '__undefined__';\n case null:\n return '__null__';\n default:\n return value;\n }\n}\n","import * as React from 'react';\nimport { arraysEqual } from './array';\n\n/**\n * Internal state type for the ref.\n */\ntype LocalState = {\n refs: (React.Ref | undefined)[];\n resolver?: (newValue: TType | TValue | null) => void;\n};\n\n/**\n * Set up a ref resolver function given internal state managed for the ref.\n * @param local Set\n */\nconst createResolver =\n (local: LocalState) =>\n (newValue: TType | TValue | null) => {\n for (const ref of local.refs) {\n if (typeof ref === 'function') {\n ref(newValue);\n } else if (ref) {\n // work around the immutability of the React.Ref type\n (ref as unknown as React.MutableRefObject).current = newValue;\n }\n }\n };\n\n/**\n * Helper to merge refs from within class components.\n */\nexport const createMergedRef = (value?: TValue) => {\n const local: LocalState = {\n refs: [] as LocalState['refs'],\n };\n\n return (\n ...newRefs: (React.Ref | undefined)[]\n ): ((newValue: TType | TValue | null) => void) => {\n if (!local.resolver || !arraysEqual(local.refs, newRefs)) {\n local.resolver = createResolver(local);\n }\n\n local.refs = newRefs;\n\n return local.resolver!;\n };\n};\n","/**\n * Dictionary of booleans.\n *\n * @internal\n */\nexport interface IDictionary {\n [className: string]: boolean;\n}\n\n/**\n * Serializable object.\n *\n * @internal\n */\nexport interface ISerializableObject {\n toString?: () => string;\n}\n\n/**\n * css input type.\n *\n * @internal\n */\nexport type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;\n\n/**\n * Concatination helper, which can merge class names together. Skips over falsey values.\n *\n * @public\n */\nexport function css(...args: ICssInput[]): string {\n let classes = [];\n\n for (let arg of args) {\n if (arg) {\n if (typeof arg === 'string') {\n classes.push(arg);\n } else if (arg.hasOwnProperty('toString') && typeof arg.toString === 'function') {\n classes.push(arg.toString());\n } else {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n for (let key in arg as any) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if ((arg as any)[key]) {\n classes.push(key);\n }\n }\n }\n }\n }\n\n return classes.join(' ');\n}\n","import { GlobalSettings } from '../GlobalSettings';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ISettings = { [key: string]: any };\nexport type ISettingsFunction = (settings: ISettings) => ISettings;\n\n/**\n * @deprecated Use ISettings.\n */\nexport type Settings = ISettings;\n\n/**\n * @deprecated Use ISettingsFunction.\n */\nexport type SettingsFunction = ISettingsFunction;\n\nexport interface ICustomizations {\n settings: ISettings;\n scopedSettings: { [key: string]: ISettings };\n inCustomizerContext?: boolean;\n}\n\nconst CustomizationsGlobalKey = 'customizations';\nconst NO_CUSTOMIZATIONS = { settings: {}, scopedSettings: {}, inCustomizerContext: false };\n\nlet _allSettings = GlobalSettings.getValue(CustomizationsGlobalKey, {\n settings: {},\n scopedSettings: {},\n inCustomizerContext: false,\n});\n\nlet _events: (() => void)[] = [];\n\nexport class Customizations {\n private static _suppressUpdates: boolean;\n\n public static reset(): void {\n _allSettings.settings = {};\n _allSettings.scopedSettings = {};\n }\n\n /** Apply global Customization settings.\n * @example Customizations.applySettings(\\{ theme: \\{...\\} \\});\n */\n public static applySettings(settings: ISettings): void {\n _allSettings.settings = { ..._allSettings.settings, ...settings };\n Customizations._raiseChange();\n }\n\n /** Apply Customizations to a particular named scope, like a component.\n * @example Customizations.applyScopedSettings('Nav', \\{ styles: () =\\> \\{\\} \\});\n */\n public static applyScopedSettings(scopeName: string, settings: ISettings): void {\n _allSettings.scopedSettings[scopeName] = { ..._allSettings.scopedSettings[scopeName], ...settings };\n Customizations._raiseChange();\n }\n\n public static getSettings(\n properties: string[],\n scopeName?: string,\n localSettings: ICustomizations = NO_CUSTOMIZATIONS,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): any {\n const settings: ISettings = {};\n const localScopedSettings = (scopeName && localSettings.scopedSettings[scopeName]) || {};\n const globalScopedSettings = (scopeName && _allSettings.scopedSettings[scopeName]) || {};\n\n for (let property of properties) {\n settings[property] =\n localScopedSettings[property] ||\n localSettings.settings[property] ||\n globalScopedSettings[property] ||\n _allSettings.settings[property];\n }\n\n return settings;\n }\n\n /** Used to run some code that sets Customizations without triggering an update until the end.\n * Useful for applying Customizations that don't affect anything currently rendered, or for\n * applying many customizations at once.\n * @param suppressUpdate - Do not raise the change event at the end, preventing all updates\n */\n public static applyBatchedUpdates(code: () => void, suppressUpdate?: boolean): void {\n Customizations._suppressUpdates = true;\n try {\n code();\n } catch {\n /* do nothing */\n }\n Customizations._suppressUpdates = false;\n if (!suppressUpdate) {\n Customizations._raiseChange();\n }\n }\n\n public static observe(onChange: () => void): void {\n _events.push(onChange);\n }\n\n public static unobserve(onChange: () => void): void {\n _events = _events.filter((cb: () => void) => cb !== onChange);\n }\n\n private static _raiseChange(): void {\n if (!Customizations._suppressUpdates) {\n _events.forEach((cb: () => void) => cb());\n }\n }\n}\n","import * as React from 'react';\nimport type { ICustomizations } from './Customizations';\n\nexport interface ICustomizerContext {\n customizations: ICustomizations;\n}\n\nexport const CustomizerContext = React.createContext({\n customizations: {\n inCustomizerContext: false,\n settings: {},\n scopedSettings: {},\n },\n});\n","import * as React from 'react';\nimport { Customizations } from './Customizations';\nimport { hoistStatics } from '../hoistStatics';\nimport { CustomizerContext } from './CustomizerContext';\nimport { concatStyleSets } from '@fluentui/merge-styles';\nimport type { ICustomizerContext } from './CustomizerContext';\n\nexport function customizable(\n scope: string,\n fields: string[],\n concatStyles?: boolean,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n):

    (ComposedComponent: React.ComponentType

    ) => any {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function customizableFactory

    (ComposedComponent: React.ComponentType

    ): any {\n const resultClass = class ComponentWithInjectedProps extends React.Component {\n public static displayName: string = 'Customized' + scope;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _styleCache: { default?: any; component?: any; merged?: any } = {};\n\n constructor(props: P) {\n super(props);\n\n this._onSettingChanged = this._onSettingChanged.bind(this);\n }\n\n public componentDidMount(): void {\n Customizations.observe(this._onSettingChanged);\n }\n\n public componentWillUnmount(): void {\n Customizations.unobserve(this._onSettingChanged);\n }\n\n public render(): JSX.Element {\n return (\n \n {(context: ICustomizerContext) => {\n const defaultProps = Customizations.getSettings(fields, scope, context.customizations);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const componentProps = this.props as any;\n\n // If defaultProps.styles is a function, evaluate it before calling concatStyleSets\n if (defaultProps.styles && typeof defaultProps.styles === 'function') {\n defaultProps.styles = defaultProps.styles({ ...defaultProps, ...componentProps });\n }\n\n // If concatStyles is true and custom styles have been defined compute those styles\n if (concatStyles && defaultProps.styles) {\n if (\n this._styleCache.default !== defaultProps.styles ||\n this._styleCache.component !== componentProps.styles\n ) {\n const mergedStyles = concatStyleSets(defaultProps.styles, componentProps.styles);\n this._styleCache.default = defaultProps.styles;\n this._styleCache.component = componentProps.styles;\n this._styleCache.merged = mergedStyles;\n }\n\n return ;\n }\n\n return ;\n }}\n \n );\n }\n\n private _onSettingChanged(): void {\n this.forceUpdate();\n }\n };\n\n return hoistStatics(ComposedComponent, resultClass);\n };\n}\n","/**\n * Allows you to hoist static functions in components.\n * Created for the purpose of fixing broken static functions in classes\n * that utilize decorators.\n *\n * @public\n * @param source - The object where the methods are hoisted from.\n * @param dest - The object to hoist the methods onto.\n * @returns The dest object with methods added\n */\n\nexport function hoistStatics(source: TSource, dest: TDest): TDest {\n for (const name in source) {\n if (source.hasOwnProperty(name)) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (dest as any)[name] = source[name];\n }\n }\n\n return dest;\n}\n","import * as React from 'react';\nimport { Customizations } from './Customizations';\nimport { CustomizerContext } from './CustomizerContext';\nimport type { ISettings } from './Customizations';\n\n/**\n * Hook to get Customizations settings from Customizations singleton or CustomizerContext.\n * It will trigger component state update on settings change observed.\n */\nexport function useCustomizationSettings(properties: string[], scopeName?: string): ISettings {\n const forceUpdate = useForceUpdate();\n const { customizations } = React.useContext(CustomizerContext);\n const { inCustomizerContext } = customizations;\n React.useEffect(() => {\n if (!inCustomizerContext) {\n Customizations.observe(forceUpdate);\n }\n return () => {\n if (!inCustomizerContext) {\n Customizations.unobserve(forceUpdate);\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps -- exclude forceUpdate\n }, [inCustomizerContext]);\n\n return Customizations.getSettings(properties, scopeName, customizations);\n}\n\nfunction useForceUpdate() {\n const [, setValue] = React.useState(0);\n return () => setValue(value => ++value);\n}\n","/**\n * Verifies if an application can use DOM.\n */\nexport function canUseDOM(): boolean {\n return (\n typeof window !== 'undefined' &&\n !!(\n window.document &&\n // eslint-disable-next-line deprecation/deprecation\n window.document.createElement\n )\n );\n}\n","import { canUseDOM } from './canUseDOM';\n\n/**\n * Helper to get the document object. Note that in popup window cases, document\n * might be the wrong document, which is why we look at ownerDocument for the\n * truth.\n *\n * @public\n */\nexport function getDocument(rootElement?: HTMLElement | null): Document | undefined {\n if (!canUseDOM() || typeof document === 'undefined') {\n return undefined;\n } else {\n const el = rootElement as Element;\n\n return el && el.ownerDocument ? el.ownerDocument : document;\n }\n}\n","import { canUseDOM } from './canUseDOM';\n\nlet _window: Window | undefined = undefined;\n\n// Note: Accessing \"window\" in IE11 is somewhat expensive, and calling \"typeof window\"\n// hits a memory leak, whereas aliasing it and calling \"typeof _window\" does not.\n// Caching the window value at the file scope lets us minimize the impact.\ntry {\n _window = window;\n} catch (e) {\n /* no-op */\n}\n\n/**\n * Helper to get the window object. The helper will make sure to use a cached variable\n * of \"window\", to avoid overhead and memory leaks in IE11. Note that in popup scenarios the\n * window object won't match the \"global\" window object, and for these scenarios, you should\n * pass in an element hosted within the popup.\n *\n * @public\n */\nexport function getWindow(rootElement?: Element | null): Window | undefined {\n if (!canUseDOM() || typeof _window === 'undefined') {\n return undefined;\n } else {\n const el = rootElement as Element;\n\n return el && el.ownerDocument && el.ownerDocument.defaultView ? el.ownerDocument.defaultView : _window;\n }\n}\n","export function on(\n element: Element | Window | Document,\n eventName: string,\n callback: (ev: Event) => void,\n options?: boolean,\n): () => void {\n element.addEventListener(eventName, callback, options);\n\n return () => element.removeEventListener(eventName, callback, options);\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Returns a single function which will call each of the given functions in the context of the\n * parent.\n */\nexport function appendFunction(parent: any, ...functions: any[]): () => void {\n if (functions.length < 2) {\n return functions[0] as () => void;\n }\n\n return (...args: any[]): void => {\n functions.forEach((f: () => void) => f && f.apply(parent, args));\n };\n}\n","import * as React from 'react';\nimport { appendFunction } from './appendFunction';\n\n/**\n * Extends a component's lifetime methods by appending new functions to the existing lifetime functions.\n */\nexport function extendComponent(parent: T, methods: { [key in keyof T]?: T[key] }): void {\n for (let name in methods) {\n if (methods.hasOwnProperty(name)) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n parent[name] = appendFunction(parent, parent[name], methods[name]) as any;\n }\n }\n}\n","import { elementContainsAttribute } from './dom/elementContainsAttribute';\nimport { elementContains } from './dom/elementContains';\nimport { getParent } from './dom/getParent';\nimport { getWindow } from './dom/getWindow';\nimport { getDocument } from './dom/getDocument';\n\nconst IS_FOCUSABLE_ATTRIBUTE = 'data-is-focusable';\nconst IS_VISIBLE_ATTRIBUTE = 'data-is-visible';\nconst FOCUSZONE_ID_ATTRIBUTE = 'data-focuszone-id';\nconst FOCUSZONE_SUB_ATTRIBUTE = 'data-is-sub-focuszone';\n\n/**\n * Gets the first focusable element.\n *\n * @public\n */\nexport function getFirstFocusable(\n rootElement: HTMLElement,\n currentElement: HTMLElement,\n includeElementsInFocusZones?: boolean,\n): HTMLElement | null {\n return getNextElement(\n rootElement,\n currentElement,\n true /*checkNode*/,\n false /*suppressParentTraversal*/,\n false /*suppressChildTraversal*/,\n includeElementsInFocusZones,\n );\n}\n\n/**\n * Gets the last focusable element.\n *\n * @public\n */\nexport function getLastFocusable(\n rootElement: HTMLElement,\n currentElement: HTMLElement,\n includeElementsInFocusZones?: boolean,\n): HTMLElement | null {\n return getPreviousElement(\n rootElement,\n currentElement,\n true /*checkNode*/,\n false /*suppressParentTraversal*/,\n true /*traverseChildren*/,\n includeElementsInFocusZones,\n );\n}\n\n/**\n * Gets the first tabbable element. (The difference between focusable and tabbable is that tabbable elements are\n * focusable elements that also have tabIndex != -1.)\n * @param rootElement - The parent element to search beneath.\n * @param currentElement - The descendant of rootElement to start the search at. This element is the first one checked,\n * and iteration continues forward. Typical use passes rootElement.firstChild.\n * @param includeElementsInFocusZones - true if traversal should go into FocusZone descendants.\n * @param checkNode - Include currentElement in search when true. Defaults to true.\n * @public\n */\nexport function getFirstTabbable(\n rootElement: HTMLElement,\n currentElement: HTMLElement,\n includeElementsInFocusZones?: boolean,\n checkNode: boolean = true,\n): HTMLElement | null {\n return getNextElement(\n rootElement,\n currentElement,\n checkNode,\n false /*suppressParentTraversal*/,\n false /*suppressChildTraversal*/,\n includeElementsInFocusZones,\n false /*allowFocusRoot*/,\n true /*tabbable*/,\n );\n}\n\n/**\n * Gets the last tabbable element. (The difference between focusable and tabbable is that tabbable elements are\n * focusable elements that also have tabIndex != -1.)\n * @param rootElement - The parent element to search beneath.\n * @param currentElement - The descendant of rootElement to start the search at. This element is the first one checked,\n * and iteration continues in reverse. Typical use passes rootElement.lastChild.\n * @param includeElementsInFocusZones - true if traversal should go into FocusZone descendants.\n * @param checkNode - Include currentElement in search when true. Defaults to true.\n * @public\n */\nexport function getLastTabbable(\n rootElement: HTMLElement,\n currentElement: HTMLElement,\n includeElementsInFocusZones?: boolean,\n checkNode: boolean = true,\n): HTMLElement | null {\n return getPreviousElement(\n rootElement,\n currentElement,\n checkNode,\n false /*suppressParentTraversal*/,\n true /*traverseChildren*/,\n includeElementsInFocusZones,\n false /*allowFocusRoot*/,\n true /*tabbable*/,\n );\n}\n\n/**\n * Attempts to focus the first focusable element that is a child or child's child of the rootElement.\n *\n * @public\n * @param rootElement - Element to start the search for a focusable child.\n * @param bypassHiddenElements - If true, focus will be not be set on hidden elements.\n * @returns True if focus was set, false if it was not.\n */\nexport function focusFirstChild(rootElement: HTMLElement, bypassHiddenElements?: boolean): boolean {\n let element: HTMLElement | null = getNextElement(\n rootElement,\n rootElement,\n true,\n false,\n false,\n true,\n undefined,\n undefined,\n bypassHiddenElements,\n );\n\n if (element) {\n focusAsync(element);\n return true;\n }\n return false;\n}\n\n/**\n * Traverse to find the previous element.\n * If tabbable is true, the element must have tabIndex != -1.\n *\n * @public\n */\nexport function getPreviousElement(\n rootElement: HTMLElement,\n currentElement: HTMLElement | null,\n checkNode?: boolean,\n suppressParentTraversal?: boolean,\n traverseChildren?: boolean,\n includeElementsInFocusZones?: boolean,\n allowFocusRoot?: boolean,\n tabbable?: boolean,\n): HTMLElement | null {\n if (!currentElement || (!allowFocusRoot && currentElement === rootElement)) {\n return null;\n }\n\n let isCurrentElementVisible = isElementVisible(currentElement);\n\n // Check its children.\n if (\n traverseChildren &&\n isCurrentElementVisible &&\n (includeElementsInFocusZones || !(isElementFocusZone(currentElement) || isElementFocusSubZone(currentElement)))\n ) {\n const childMatch = getPreviousElement(\n rootElement,\n currentElement.lastElementChild as HTMLElement,\n true,\n true,\n true,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n );\n\n if (childMatch) {\n if ((tabbable && isElementTabbable(childMatch, true)) || !tabbable) {\n return childMatch;\n }\n\n const childMatchSiblingMatch = getPreviousElement(\n rootElement,\n childMatch.previousElementSibling as HTMLElement,\n true,\n true,\n true,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n );\n if (childMatchSiblingMatch) {\n return childMatchSiblingMatch;\n }\n\n let childMatchParent = childMatch.parentElement;\n\n // At this point if we have not found any potential matches\n // start looking at the rest of the subtree under the currentParent.\n // NOTE: We do not want to recurse here because doing so could\n // cause elements to get skipped.\n while (childMatchParent && childMatchParent !== currentElement) {\n const childMatchParentMatch = getPreviousElement(\n rootElement,\n childMatchParent.previousElementSibling as HTMLElement,\n true,\n true,\n true,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n );\n\n if (childMatchParentMatch) {\n return childMatchParentMatch;\n }\n\n childMatchParent = childMatchParent.parentElement;\n }\n }\n }\n\n // Check the current node, if it's not the first traversal.\n if (checkNode && isCurrentElementVisible && isElementTabbable(currentElement, tabbable)) {\n return currentElement;\n }\n\n // Check its previous sibling.\n const siblingMatch = getPreviousElement(\n rootElement,\n currentElement.previousElementSibling as HTMLElement,\n true,\n true,\n true,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n );\n\n if (siblingMatch) {\n return siblingMatch;\n }\n\n // Check its parent.\n if (!suppressParentTraversal) {\n return getPreviousElement(\n rootElement,\n currentElement.parentElement,\n true,\n false,\n false,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n );\n }\n\n return null;\n}\n\n/**\n * Traverse to find the next focusable element.\n * If tabbable is true, the element must have tabIndex != -1.\n *\n * @public\n * @param checkNode - Include currentElement in search when true.\n */\nexport function getNextElement(\n rootElement: HTMLElement,\n currentElement: HTMLElement | null,\n checkNode?: boolean,\n suppressParentTraversal?: boolean,\n suppressChildTraversal?: boolean,\n includeElementsInFocusZones?: boolean,\n allowFocusRoot?: boolean,\n tabbable?: boolean,\n bypassHiddenElements?: boolean,\n): HTMLElement | null {\n if (!currentElement || (currentElement === rootElement && suppressChildTraversal && !allowFocusRoot)) {\n return null;\n }\n\n const checkElementVisibility = bypassHiddenElements ? isElementVisibleAndNotHidden : isElementVisible;\n\n let isCurrentElementVisible = checkElementVisibility(currentElement);\n\n // Check the current node, if it's not the first traversal.\n if (checkNode && isCurrentElementVisible && isElementTabbable(currentElement, tabbable)) {\n return currentElement;\n }\n\n // Check its children.\n if (\n !suppressChildTraversal &&\n isCurrentElementVisible &&\n (includeElementsInFocusZones || !(isElementFocusZone(currentElement) || isElementFocusSubZone(currentElement)))\n ) {\n const childMatch = getNextElement(\n rootElement,\n currentElement.firstElementChild as HTMLElement,\n true,\n true,\n false,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n bypassHiddenElements,\n );\n\n if (childMatch) {\n return childMatch;\n }\n }\n\n if (currentElement === rootElement) {\n return null;\n }\n\n // Check its sibling.\n const siblingMatch = getNextElement(\n rootElement,\n currentElement.nextElementSibling as HTMLElement,\n true,\n true,\n false,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n bypassHiddenElements,\n );\n\n if (siblingMatch) {\n return siblingMatch;\n }\n\n if (!suppressParentTraversal) {\n return getNextElement(\n rootElement,\n currentElement.parentElement,\n false,\n false,\n true,\n includeElementsInFocusZones,\n allowFocusRoot,\n tabbable,\n bypassHiddenElements,\n );\n }\n\n return null;\n}\n\n/**\n * Determines if an element is visible.\n *\n * @public\n */\nexport function isElementVisible(element: HTMLElement | undefined | null): boolean {\n // If the element is not valid, return false.\n if (!element || !element.getAttribute) {\n return false;\n }\n\n const visibilityAttribute = element.getAttribute(IS_VISIBLE_ATTRIBUTE);\n\n // If the element is explicitly marked with the visibility attribute, return that value as boolean.\n if (visibilityAttribute !== null && visibilityAttribute !== undefined) {\n return visibilityAttribute === 'true';\n }\n\n // Fallback to other methods of determining actual visibility.\n return (\n element.offsetHeight !== 0 ||\n element.offsetParent !== null ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (element as any).isVisible === true\n ); // used as a workaround for testing.\n}\n\n/**\n * Determines if an element is visible and not hidden\n * @param element - Element to check\n * @returns Returns true if the given element is visible and not hidden\n *\n * @public\n */\nexport function isElementVisibleAndNotHidden(element: HTMLElement | undefined | null): boolean {\n return (\n !!element &&\n isElementVisible(element) &&\n !element.hidden &&\n window.getComputedStyle(element).visibility !== 'hidden'\n );\n}\n\n/**\n * Determines if an element can receive focus programmatically or via a mouse click.\n * If checkTabIndex is true, additionally checks to ensure the element can be focused with the tab key,\n * meaning tabIndex != -1.\n *\n * @public\n */\nexport function isElementTabbable(element: HTMLElement, checkTabIndex?: boolean): boolean {\n // If this element is null or is disabled, it is not considered tabbable.\n if (!element || (element as HTMLButtonElement).disabled) {\n return false;\n }\n\n let tabIndex = 0;\n let tabIndexAttributeValue = null;\n\n if (element && element.getAttribute) {\n tabIndexAttributeValue = element.getAttribute('tabIndex');\n\n if (tabIndexAttributeValue) {\n tabIndex = parseInt(tabIndexAttributeValue, 10);\n }\n }\n\n let isFocusableAttribute = element.getAttribute ? element.getAttribute(IS_FOCUSABLE_ATTRIBUTE) : null;\n let isTabIndexSet = tabIndexAttributeValue !== null && tabIndex >= 0;\n\n const result =\n !!element &&\n isFocusableAttribute !== 'false' &&\n (element.tagName === 'A' ||\n element.tagName === 'BUTTON' ||\n element.tagName === 'INPUT' ||\n element.tagName === 'TEXTAREA' ||\n element.tagName === 'SELECT' ||\n isFocusableAttribute === 'true' ||\n isTabIndexSet);\n\n return checkTabIndex ? tabIndex !== -1 && result : result;\n}\n\n/**\n * Determines if a given element is a focus zone.\n *\n * @public\n */\nexport function isElementFocusZone(element?: HTMLElement): boolean {\n return !!(element && element.getAttribute && !!element.getAttribute(FOCUSZONE_ID_ATTRIBUTE));\n}\n\n/**\n * Determines if a given element is a focus sub zone.\n *\n * @public\n */\nexport function isElementFocusSubZone(element?: HTMLElement): boolean {\n return !!(element && element.getAttribute && element.getAttribute(FOCUSZONE_SUB_ATTRIBUTE) === 'true');\n}\n\n/**\n * Determines if an element, or any of its children, contain focus.\n *\n * @public\n */\nexport function doesElementContainFocus(element: HTMLElement): boolean {\n let document = getDocument(element);\n let currentActiveElement: HTMLElement | undefined = document && (document.activeElement as HTMLElement);\n if (currentActiveElement && elementContains(element, currentActiveElement)) {\n return true;\n }\n return false;\n}\n\n/**\n * Determines if an, or any of its ancestors, sepcificies that it doesn't want focus to wrap\n * @param element - element to start searching from\n * @param noWrapDataAttribute - the no wrap data attribute to match (either)\n * @returns true if focus should wrap, false otherwise\n */\nexport function shouldWrapFocus(\n element: HTMLElement,\n noWrapDataAttribute: 'data-no-vertical-wrap' | 'data-no-horizontal-wrap',\n): boolean {\n return elementContainsAttribute(element, noWrapDataAttribute) === 'true' ? false : true;\n}\n\nlet animationId: number | undefined = undefined;\n\n/**\n * Sets focus to an element asynchronously. The focus will be set at the next browser repaint,\n * meaning it won't cause any extra recalculations. If more than one focusAsync is called during one frame,\n * only the latest called focusAsync element will actually be focused\n * @param element - The element to focus\n */\nexport function focusAsync(element: HTMLElement | { focus: () => void } | undefined | null): void {\n if (element) {\n const win = getWindow(element as Element);\n\n if (win) {\n // cancel any previous focus queues\n if (animationId !== undefined) {\n win.cancelAnimationFrame(animationId);\n }\n\n // element.focus() is a no-op if the element is no longer in the DOM, meaning this is always safe\n animationId = win.requestAnimationFrame(() => {\n element && element.focus();\n\n // We are done focusing for this frame, so reset the queued focus element\n animationId = undefined;\n });\n }\n }\n}\n\n/**\n * Finds the closest focusable element via an index path from a parent. See\n * `getElementIndexPath` for getting an index path from an element to a child.\n */\nexport function getFocusableByIndexPath(parent: HTMLElement, path: number[]): HTMLElement | undefined {\n let element = parent;\n\n for (const index of path) {\n const nextChild = element.children[Math.min(index, element.children.length - 1)] as HTMLElement;\n\n if (!nextChild) {\n break;\n }\n element = nextChild;\n }\n\n element =\n isElementTabbable(element) && isElementVisible(element)\n ? element\n : getNextElement(parent, element, true) || getPreviousElement(parent, element)!;\n\n return element as HTMLElement;\n}\n\n/**\n * Finds the element index path from a parent element to a child element.\n *\n * If you had this node structure: \"A has children [B, C] and C has child D\",\n * the index path from A to D would be [1, 0], or `parent.chidren[1].children[0]`.\n */\nexport function getElementIndexPath(fromElement: HTMLElement, toElement: HTMLElement): number[] {\n const path: number[] = [];\n\n while (toElement && fromElement && toElement !== fromElement) {\n const parent = getParent(toElement, true);\n\n if (parent === null) {\n return [];\n }\n\n path.unshift(Array.prototype.indexOf.call(parent.children, toElement));\n toElement = parent;\n }\n\n return path;\n}\n","import { findElementRecursive } from './findElementRecursive';\n\n/**\n * Determines if an element, or any of its ancestors, contain the given attribute\n * @param element - element to start searching at\n * @param attribute - the attribute to search for\n * @returns the value of the first instance found\n */\nexport function elementContainsAttribute(element: HTMLElement, attribute: string): string | null {\n const elementMatch = findElementRecursive(element, (testElement: HTMLElement) => testElement.hasAttribute(attribute));\n\n return elementMatch && elementMatch.getAttribute(attribute);\n}\n","import { getWindow } from './dom/getWindow';\nimport { Stylesheet } from '@fluentui/merge-styles';\n\n// Initialize global window id.\nconst CURRENT_ID_PROPERTY = '__currentId__';\nconst DEFAULT_ID_STRING = 'id__';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nlet _global: any = getWindow() || {};\n\nif (_global[CURRENT_ID_PROPERTY] === undefined) {\n _global[CURRENT_ID_PROPERTY] = 0;\n}\n\nlet _initializedStylesheetResets = false;\n\n/**\n * Generates a unique id in the global scope (this spans across duplicate copies of the same library.)\n *\n * @public\n */\nexport function getId(prefix?: string): string {\n if (!_initializedStylesheetResets) {\n // Configure ids to reset on stylesheet resets.\n const stylesheet = Stylesheet.getInstance();\n\n if (stylesheet && stylesheet.onReset) {\n stylesheet.onReset(resetIds);\n }\n _initializedStylesheetResets = true;\n }\n\n let index = _global[CURRENT_ID_PROPERTY]++;\n\n return (prefix === undefined ? DEFAULT_ID_STRING : prefix) + index;\n}\n\n/**\n * Resets id counter to an (optional) number.\n *\n * @public\n */\nexport function resetIds(counter: number = 0): void {\n _global[CURRENT_ID_PROPERTY] = counter;\n}\n","/**\n * Function to apply default values to a component props object. This function is intended for function components,\n * to maintain parity with the `defaultProps` feature of class components. It accounts for properties that are\n * specified, but undefined.\n * @param defaultProps- An object with default values for various properties\n * @param propsWithoutDefaults- The props object passed into the component\n */\nexport function getPropsWithDefaults(\n defaultProps: Partial,\n propsWithoutDefaults: TProps,\n): TProps {\n const props = { ...propsWithoutDefaults };\n for (const key of Object.keys(defaultProps) as (keyof TProps)[]) {\n if (props[key] === undefined) {\n props[key] = defaultProps[key]!;\n }\n }\n\n return props;\n}\n","import * as React from 'react';\nimport { extendComponent } from './extendComponent';\nimport type { IBaseProps } from './BaseComponent.types';\n\n/**\n * Helper to manage componentRef resolution. Internally appends logic to\n * lifetime methods to resolve componentRef to the passed in object.\n *\n * Usage: call initializeComponentRef(this) in the constructor,\n */\nexport function initializeComponentRef(obj: React.Component): void {\n extendComponent(obj, {\n componentDidMount: _onMount,\n componentDidUpdate: _onUpdate,\n componentWillUnmount: _onUnmount,\n });\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _onMount(this: any): void {\n _setComponentRef(this.props.componentRef, this);\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _onUpdate(this: any, prevProps: IBaseProps): void {\n if (prevProps.componentRef !== this.props.componentRef) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n _setComponentRef((prevProps as any).componentRef, null);\n _setComponentRef(this.props.componentRef, this);\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _onUnmount(this: any): void {\n _setComponentRef(this.props.componentRef, null);\n}\n\nfunction _setComponentRef(componentRef: React.RefObject, value: TInterface | null): void {\n if (componentRef) {\n if (typeof componentRef === 'object') {\n (componentRef as { current: TInterface | null }).current = value;\n } else if (typeof componentRef === 'function') {\n (componentRef as Function)(value);\n }\n }\n}\n","import { Stylesheet } from '@fluentui/merge-styles';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\ndeclare class WeakMap {\n public get(key: any): any;\n public set(key: any, value: any): void;\n public has(key: any): boolean;\n}\n\nlet _initializedStylesheetResets = false;\nlet _resetCounter = 0;\nconst _emptyObject = { empty: true };\nconst _dictionary: any = {};\nlet _weakMap = typeof WeakMap === 'undefined' ? null : WeakMap;\n\ninterface IMemoizeNode {\n map: WeakMap | null;\n value?: any;\n}\n\n/**\n * Test utility for providing a custom weakmap.\n *\n * @internal\n * */\nexport function setMemoizeWeakMap(weakMap: any): void {\n _weakMap = weakMap;\n}\n\n/**\n * Reset memoizations.\n */\nexport function resetMemoizations(): void {\n _resetCounter++;\n}\n\n/**\n * Memoize decorator to be used on class methods. WARNING: the `this` reference\n * will be inaccessible within a memoized method, given that a cached method's `this`\n * would not be instance-specific.\n *\n * @public\n */\nexport function memoize(\n _target: any,\n _key: string,\n descriptor: TypedPropertyDescriptor,\n): {\n configurable: boolean;\n get(): T;\n} {\n // We bind to \"null\" to prevent people from inadvertently pulling values from \"this\",\n // rather than passing them in as input values which can be memoized.\n let fn = memoizeFunction(descriptor.value && descriptor.value.bind(null));\n\n return {\n configurable: true,\n get(): T {\n return fn;\n },\n };\n}\n\n/**\n * Memoizes a function; when you pass in the same parameters multiple times, it returns a cached result.\n * Be careful when passing in objects, you need to pass in the same INSTANCE for caching to work. Otherwise\n * it will grow the cache unnecessarily. Also avoid using default values that evaluate functions; passing in\n * undefined for a value and relying on a default function will execute it the first time, but will not\n * re-evaluate subsequent times which may have been unexpected.\n *\n * By default, the cache will reset after 100 permutations, to avoid abuse cases where the function is\n * unintendedly called with unique objects. Without a reset, the cache could grow infinitely, so we safeguard\n * by resetting. To override this behavior, pass a value of 0 to the maxCacheSize parameter.\n *\n * @public\n * @param cb - The function to memoize.\n * @param maxCacheSize - Max results to cache. If the cache exceeds this value, it will reset on the next call.\n * @param ignoreNullOrUndefinedResult - Flag to decide whether to cache callback result if it is undefined/null.\n * If the flag is set to true, the callback result is recomputed every time till the callback result is\n * not undefined/null for the first time, and then the non-undefined/null version gets cached.\n * @returns A memoized version of the function.\n */\nexport function memoizeFunction RetType, RetType>(\n cb: T,\n maxCacheSize: number = 100,\n ignoreNullOrUndefinedResult: boolean = false,\n): T {\n // Avoid breaking scenarios which don't have weak map.\n if (!_weakMap) {\n return cb;\n }\n\n if (!_initializedStylesheetResets) {\n const stylesheet = Stylesheet.getInstance();\n\n if (stylesheet && (stylesheet as { onReset?: unknown }).onReset) {\n Stylesheet.getInstance().onReset(resetMemoizations);\n }\n _initializedStylesheetResets = true;\n }\n\n let rootNode: any;\n let cacheSize = 0;\n let localResetCounter = _resetCounter;\n\n return function memoizedFunction(...args: any[]): RetType {\n let currentNode: any = rootNode;\n\n if (\n rootNode === undefined ||\n localResetCounter !== _resetCounter ||\n (maxCacheSize > 0 && cacheSize > maxCacheSize)\n ) {\n rootNode = _createNode();\n cacheSize = 0;\n localResetCounter = _resetCounter;\n }\n\n currentNode = rootNode;\n\n // Traverse the tree until we find the match.\n for (let i = 0; i < args.length; i++) {\n let arg = _normalizeArg(args[i]);\n\n if (!currentNode.map.has(arg)) {\n currentNode.map.set(arg, _createNode());\n }\n\n currentNode = currentNode.map.get(arg);\n }\n\n if (!currentNode.hasOwnProperty('value')) {\n currentNode.value = cb(...args);\n cacheSize++;\n }\n\n if (ignoreNullOrUndefinedResult && (currentNode.value === null || currentNode.value === undefined)) {\n currentNode.value = cb(...args);\n }\n\n return currentNode.value;\n } as any;\n}\n\n/**\n * Creates a memoizer for a single-value function, backed by a WeakMap.\n * With a WeakMap, the memoized values are only kept as long as the source objects,\n * ensuring that there is no memory leak.\n *\n * This function assumes that the input values passed to the wrapped function will be\n * `function` or `object` types. To memoize functions which accept other inputs, use\n * `memoizeFunction`, which memoizes against arbitrary inputs using a lookup cache.\n *\n * @public\n */\nexport function createMemoizer any>(getValue: F): F {\n if (!_weakMap) {\n // Without a `WeakMap` implementation, memoization is not possible.\n return getValue;\n }\n\n const cache = new _weakMap();\n\n function memoizedGetValue(input: any): any {\n if (!input || (typeof input !== 'function' && typeof input !== 'object')) {\n // A WeakMap can only be used to test against reference values, i.e. 'function' and 'object'.\n // All other inputs cannot be memoized against in this manner.\n return getValue(input);\n }\n\n if (cache.has(input)) {\n return cache.get(input)!;\n }\n\n const value = getValue(input);\n\n cache.set(input, value);\n\n return value;\n }\n\n return memoizedGetValue as F;\n}\n\nfunction _normalizeArg(val: null | undefined): { empty: boolean } | any;\nfunction _normalizeArg(val: object): any;\nfunction _normalizeArg(val: any): any {\n if (!val) {\n return _emptyObject;\n } else if (typeof val === 'object' || typeof val === 'function') {\n return val;\n } else if (!_dictionary[val]) {\n _dictionary[val] = { val };\n }\n\n return _dictionary[val];\n}\n\nfunction _createNode(): IMemoizeNode {\n return {\n map: _weakMap ? new _weakMap() : null,\n };\n}\n","/**\n * Returns true if and only if the user is on a iOS device.\n * Used to determine whether iOS-specific behavior should be applied.\n */\nexport const isIOS = (): boolean => {\n if (!window || !window.navigator || !window.navigator.userAgent) {\n return false;\n }\n return /iPad|iPhone|iPod/i.test(window.navigator.userAgent);\n};\n","/**\n * The helper functions here will make the target element as modal to screen readers, by placing aria-hidden on elements\n * that are siblings to the target element and the target element's ancestors (because aria-hidden gets inherited).\n * That way, all other elements on the page are hidden to the screen reader.\n */\n\nimport { getDocument } from './dom/getDocument';\n\n/** Tag names to ignore when modalizing */\nconst tagsToIgnore = ['TEMPLATE', 'STYLE', 'SCRIPT'];\n\n/**\n * Call this on a target element to make it modal to screen readers.\n * Returns a function that undoes the changes it made.\n */\nexport function modalize(target: HTMLElement): () => void {\n const targetDocument = getDocument(target);\n if (!targetDocument) {\n // can't do this in SSR\n return () => undefined;\n }\n\n let affectedNodes: [HTMLElement, string | null][] = [];\n\n // start at target, then recurse and do the same for parent, until we reach \n while (target !== targetDocument.body && target.parentElement) {\n // grab all siblings of current element\n for (const sibling of target.parentElement.children as unknown as HTMLElement[]) {\n // but ignore elements that are already aria-hidden\n const ariaHidden = sibling.getAttribute('aria-hidden');\n if (sibling !== target && ariaHidden?.toLowerCase() !== 'true' && tagsToIgnore.indexOf(sibling.tagName) === -1) {\n affectedNodes.push([sibling, ariaHidden]);\n }\n }\n\n target = target.parentElement;\n }\n\n // take all those elements and set aria-hidden=true on them\n affectedNodes.forEach(([node]) => {\n node.setAttribute('aria-hidden', 'true');\n });\n\n return () => {\n unmodalize(affectedNodes);\n affectedNodes = []; // dispose\n };\n}\n\n/**\n * Undoes the changes that modalize() did.\n */\nfunction unmodalize(affectedNodes: [HTMLElement, string | null][]) {\n affectedNodes.forEach(([node, originalValue]) => {\n // Restore the original value (false or unset)\n if (originalValue) {\n node.setAttribute('aria-hidden', originalValue);\n } else {\n node.removeAttribute('aria-hidden');\n }\n });\n}\n","/**\n * Compares a to b and b to a.\n *\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function shallowCompare(a: TA, b: TB): boolean {\n if (!a || !b) {\n // only return true if both a and b are falsy\n return !a && !b;\n }\n\n for (let propName in a) {\n if ((a as Object).hasOwnProperty(propName)) {\n if (!(b as Object).hasOwnProperty(propName) || (b as { [key: string]: unknown })[propName] !== a[propName]) {\n return false;\n }\n }\n }\n for (let propName in b) {\n if ((b as Object).hasOwnProperty(propName)) {\n if (!(a as Object).hasOwnProperty(propName)) {\n return false;\n }\n }\n }\n return true;\n}\n\n/**\n * Makes a resulting merge of a bunch of objects. Pass in the target object followed by 1 or more\n * objects as arguments and they will be merged sequentially into the target. Note that this will\n * shallow merge; it will not create new cloned values for target members.\n *\n * @public\n * @param target - Target object to merge following object arguments into.\n * @param args - One or more objects that will be mixed into the target in the order they are provided.\n * @returns Resulting merged target.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function assign(this: any, target: any, ...args: any[]): any {\n return filteredAssign.apply(this, [null, target].concat(args));\n}\n\n/**\n * Makes a resulting merge of a bunch of objects, but allows a filter function to be passed in to filter\n * the resulting merges. This allows for scenarios where you want to merge \"everything except that one thing\"\n * or \"properties that start with data-\". Note that this will shallow merge; it will not create new cloned\n * values for target members.\n *\n * @public\n * @param isAllowed - Callback to determine if the given propName is allowed in the result.\n * @param target - Target object to merge following object arguments into.\n * @param args - One or more objects that will be mixed into the target in the order they are provided.\n * @returns Resulting merged target.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function filteredAssign(isAllowed: (propName: string) => boolean, target: any, ...args: any[]): any {\n target = target || {};\n\n for (let sourceObject of args) {\n if (sourceObject) {\n for (let propName in sourceObject) {\n if (sourceObject.hasOwnProperty(propName) && (!isAllowed || isAllowed(propName))) {\n target[propName] = sourceObject[propName];\n }\n }\n }\n }\n\n return target;\n}\n\n/**\n * Takes an enum and iterates over each value of the enum (as a string), running the callback on each,\n * returning a mapped array.\n * @param theEnum - Enum to iterate over\n * @param callback - The first parameter the name of the entry, and the second parameter is the value\n * of that entry, which is the value you'd normally use when using the enum (usually a number).\n */\nexport function mapEnumByName(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n theEnum: any,\n callback: (name?: string, value?: string | number) => T | undefined,\n): (T | undefined)[] | undefined {\n // map to satisfy compiler since it doesn't realize we strip out undefineds in the .filter() call\n return Object.keys(theEnum)\n .map((p: string | number) => {\n // map on each property name as a string\n if (String(Number(p)) !== p) {\n // if the property is not just a number (because enums in TypeScript will map both ways)\n return callback(p as string, theEnum[p]);\n }\n return undefined;\n })\n .filter((v: T | undefined) => !!v); // only return elements with values\n}\n\n/**\n * Get all values in an object dictionary\n *\n * @param obj - The dictionary to get values for\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function values(obj: any): T[] {\n return Object.keys(obj).reduce((arr: T[], key: string): T[] => {\n arr.push(obj[key]);\n return arr;\n }, []);\n}\n\n/**\n * Tiny helper to do the minimal amount of work in duplicating an object but omitting some\n * props. This ends up faster than using object ...rest or reduce to filter.\n *\n * This behaves very much like filteredAssign, but does not merge many objects together,\n * uses an exclusion object map, and avoids spreads all for optimal performance.\n *\n * See perf test for background:\n * https://jsperf.com/omit-vs-rest-vs-reduce/1\n *\n * @param obj - The object to clone\n * @param exclusions - The array of keys to exclude\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function omit>(obj: TObj, exclusions: (keyof TObj)[]): TObj {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const result: Record = {};\n\n for (const key in obj) {\n if (exclusions.indexOf(key) === -1 && obj.hasOwnProperty(key)) {\n result[key] = obj[key];\n }\n }\n\n return result as TObj;\n}\n","import { getWindow } from './dom/getWindow';\n\nlet isMacResult: boolean | undefined;\n\n/**\n * Returns true if the user is on a Mac. Caches the result value.\n * @param reset - Reset the cached result value (mainly for testing).\n */\nexport function isMac(reset?: boolean): boolean {\n if (typeof isMacResult === 'undefined' || reset) {\n const win = getWindow();\n // In certain SSR frameworks, `window` will be defined even on the server but `navigator` will be undefined\n const userAgent = win?.navigator?.userAgent;\n isMacResult = !!userAgent && userAgent.indexOf('Macintosh') !== -1;\n }\n return !!isMacResult;\n}\n","const toObjectMap = (...items: (string[] | Record)[]) => {\n const result: Record = {};\n\n for (const item of items) {\n const keys = Array.isArray(item) ? item : Object.keys(item);\n\n for (const key of keys) {\n result[key] = 1;\n }\n }\n\n return result;\n};\n\n/**\n * An array of events that are allowed on every html element type.\n *\n * @public\n */\nexport const baseElementEvents = toObjectMap([\n 'onCopy',\n 'onCut',\n 'onPaste',\n 'onCompositionEnd',\n 'onCompositionStart',\n 'onCompositionUpdate',\n 'onFocus',\n 'onFocusCapture',\n 'onBlur',\n 'onBlurCapture',\n 'onChange',\n 'onInput',\n 'onSubmit',\n 'onLoad',\n 'onError',\n 'onKeyDown',\n 'onKeyDownCapture',\n 'onKeyPress',\n 'onKeyUp',\n 'onAbort',\n 'onCanPlay',\n 'onCanPlayThrough',\n 'onDurationChange',\n 'onEmptied',\n 'onEncrypted',\n 'onEnded',\n 'onLoadedData',\n 'onLoadedMetadata',\n 'onLoadStart',\n 'onPause',\n 'onPlay',\n 'onPlaying',\n 'onProgress',\n 'onRateChange',\n 'onSeeked',\n 'onSeeking',\n 'onStalled',\n 'onSuspend',\n 'onTimeUpdate',\n 'onVolumeChange',\n 'onWaiting',\n 'onClick',\n 'onClickCapture',\n 'onContextMenu',\n 'onDoubleClick',\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n 'onMouseDown',\n 'onMouseDownCapture',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onMouseUpCapture',\n 'onSelect',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n 'onScroll',\n 'onWheel',\n 'onPointerCancel',\n 'onPointerDown',\n 'onPointerEnter',\n 'onPointerLeave',\n 'onPointerMove',\n 'onPointerOut',\n 'onPointerOver',\n 'onPointerUp',\n 'onGotPointerCapture',\n 'onLostPointerCapture',\n]);\n\n/**\n * An array of element attributes which are allowed on every html element type.\n *\n * @public\n */\nexport const baseElementProperties = toObjectMap([\n 'accessKey', // global\n 'children', // global\n 'className', // global\n 'contentEditable', // global\n 'dir', // global\n 'draggable', // global\n 'hidden', // global\n 'htmlFor', // global\n 'id', // global\n 'lang', // global\n 'ref', // global\n 'role', // global\n 'style', // global\n 'tabIndex', // global\n 'title', // global\n 'translate', // global\n 'spellCheck', // global\n 'name', // global\n]);\n\n/**\n * An array of HTML element properties and events.\n *\n * @public\n */\nexport const htmlElementProperties = toObjectMap(baseElementProperties, baseElementEvents);\n\n/**\n * An array of LABEL tag properties and events.\n *\n * @public\n */\nexport const labelProperties = toObjectMap(htmlElementProperties, [\n 'form', // button, fieldset, input, label, meter, object, output, select, textarea\n]);\n\n/**\n * An array of AUDIO tag properties and events.\n\n * @public\n */\nexport const audioProperties = toObjectMap(htmlElementProperties, [\n 'height', // canvas, embed, iframe, img, input, object, video\n 'loop', // audio, video\n 'muted', // audio, video\n 'preload', // audio, video\n 'src', // audio, embed, iframe, img, input, script, source, track, video\n 'width', // canvas, embed, iframe, img, input, object, video\n]);\n\n/**\n * An array of VIDEO tag properties and events.\n *\n * @public\n */\nexport const videoProperties = toObjectMap(audioProperties, [\n 'poster', // video\n]);\n\n/**\n * An array of OL tag properties and events.\n *\n * @public\n */\nexport const olProperties = toObjectMap(htmlElementProperties, [\n 'start', // ol\n]);\n\n/**\n * An array of LI tag properties and events.\n *\n * @public\n */\nexport const liProperties = toObjectMap(htmlElementProperties, [\n 'value', // button, input, li, option, meter, progress, param\n]);\n\n/**\n * An array of A tag properties and events.\n *\n * @public\n */\nexport const anchorProperties = toObjectMap(htmlElementProperties, [\n 'download', // a, area\n 'href', // a, area, base, link\n 'hrefLang', // a, area, link\n 'media', // a, area, link, source, style\n 'rel', // a, area, link\n 'target', // a, area, base, form\n 'type', // a, button, input, link, menu, object, script, source, style\n]);\n\n/**\n * An array of BUTTON tag properties and events.\n *\n * @public\n */\nexport const buttonProperties = toObjectMap(htmlElementProperties, [\n 'autoFocus', // button, input, select, textarea\n 'disabled', // button, fieldset, input, optgroup, option, select, textarea\n 'form', // button, fieldset, input, label, meter, object, output, select, textarea\n 'formAction', // input, button\n 'formEncType', // input, button\n 'formMethod', // input, button\n 'formNoValidate', // input, button\n 'formTarget', // input, button\n 'type', // a, button, input, link, menu, object, script, source, style\n 'value', // button, input, li, option, meter, progress, param,\n]);\n\n/**\n * An array of INPUT tag properties and events.\n *\n * @public\n */\nexport const inputProperties = toObjectMap(buttonProperties, [\n 'accept', // input\n 'alt', // area, img, input\n 'autoCapitalize', // input, textarea\n 'autoComplete', // form, input\n 'checked', // input\n 'dirname', // input, textarea\n 'form', // button, fieldset, input, label, meter, object, output, select, textarea\n 'height', // canvas, embed, iframe, img, input, object, video\n 'inputMode', // input\n 'list', // input\n 'max', // input, meter\n 'maxLength', // input, textarea\n 'min', // input, meter\n 'minLength', // input, textarea\n 'multiple', // input, select\n 'pattern', // input\n 'placeholder', // input, textarea\n 'readOnly', // input, textarea\n 'required', // input, select, textarea\n 'src', // audio, embed, iframe, img, input, script, source, track, video\n 'step', // input\n 'size', // input\n 'type', // a, button, input, link, menu, object, script, source, style\n 'value', // button, input, li, option, meter, progress, param\n 'width', // canvas, embed, iframe, img, input, object, video\n]);\n\n/**\n * An array of TEXTAREA tag properties and events.\n *\n * @public\n */\nexport const textAreaProperties = toObjectMap(buttonProperties, [\n 'autoCapitalize', // input, textarea\n 'cols', // textarea\n 'dirname', // input, textarea\n 'form', // button, fieldset, input, label, meter, object, output, select, textarea\n 'maxLength', // input, textarea\n 'minLength', // input, textarea\n 'placeholder', // input, textarea\n 'readOnly', // input, textarea\n 'required', // input, select, textarea\n 'rows', // textarea\n 'wrap', // textarea\n]);\n\n/**\n * An array of SELECT tag properties and events.\n *\n * @public\n */\nexport const selectProperties = toObjectMap(buttonProperties, [\n 'form', // button, fieldset, input, label, meter, object, output, select, textarea\n 'multiple', // input, select\n 'required', // input, select, textarea\n]);\n\nexport const optionProperties = toObjectMap(htmlElementProperties, [\n 'selected', // option\n 'value', // button, input, li, option, meter, progress, param\n]);\n\n/**\n * An array of TABLE tag properties and events.\n *\n * @public\n */\nexport const tableProperties = toObjectMap(htmlElementProperties, [\n 'cellPadding', // table\n 'cellSpacing', // table\n]);\n\n/**\n * An array of TR tag properties and events.\n *\n * @public\n */\nexport const trProperties = htmlElementProperties;\n\n/**\n * An array of TH tag properties and events.\n *\n * @public\n */\nexport const thProperties = toObjectMap(htmlElementProperties, [\n 'rowSpan', // td, th\n 'scope', // th\n]);\n\n/**\n * An array of TD tag properties and events.\n *\n * @public\n */\nexport const tdProperties = toObjectMap(htmlElementProperties, [\n 'colSpan', // td\n 'headers', // td\n 'rowSpan', // td, th\n 'scope', // th\n]);\n\nexport const colGroupProperties = toObjectMap(htmlElementProperties, [\n 'span', // col, colgroup\n]);\n\nexport const colProperties = toObjectMap(htmlElementProperties, [\n 'span', // col, colgroup\n]);\n\n/**\n * An array of FORM tag properties and events.\n *\n * @public\n */\nexport const formProperties = toObjectMap(htmlElementProperties, [\n 'acceptCharset', // form\n 'action', // form\n 'encType', // form\n 'encType', // form\n 'method', // form\n 'noValidate', // form\n 'target', // form\n]);\n\n/**\n * An array of IFRAME tag properties and events.\n *\n * @public\n */\nexport const iframeProperties = toObjectMap(htmlElementProperties, [\n 'allow', // iframe\n 'allowFullScreen', // iframe\n 'allowPaymentRequest', // iframe\n 'allowTransparency', // iframe\n 'csp', // iframe\n 'height', // canvas, embed, iframe, img, input, object, video\n 'importance', // iframe\n 'referrerPolicy', // iframe\n 'sandbox', // iframe\n 'src', // audio, embed, iframe, img, input, script, source, track, video\n 'srcDoc', // iframe\n 'width', // canvas, embed, iframe, img, input, object, video,\n]);\n\n/**\n * An array of IMAGE tag properties and events.\n *\n * @public\n */\nexport const imgProperties = toObjectMap(htmlElementProperties, [\n 'alt', // area, img, input\n 'crossOrigin', // img\n 'height', // canvas, embed, iframe, img, input, object, video\n 'src', // audio, embed, iframe, img, input, script, source, track, video\n 'srcSet', // img, source\n 'useMap', // img, object,\n 'width', // canvas, embed, iframe, img, input, object, video\n]);\n\n/**\n * @deprecated Use imgProperties for img elements.\n */\nexport const imageProperties = imgProperties;\n\n/**\n * An array of DIV tag properties and events.\n *\n * @public\n */\nexport const divProperties = htmlElementProperties;\n\n/**\n * Gets native supported props for an html element provided the allowance set. Use one of the property\n * sets defined (divProperties, buttonPropertes, etc) to filter out supported properties from a given\n * props set. Note that all data- and aria- prefixed attributes will be allowed.\n * NOTE: getNativeProps should always be applied first when adding props to a react component. The\n * non-native props should be applied second. This will prevent getNativeProps from overriding your custom props.\n * For example, if props passed to getNativeProps has an onClick function and getNativeProps is added to\n * the component after an onClick function is added, then the getNativeProps onClick will override it.\n *\n * @public\n * @param props - The unfiltered input props\n * @param allowedPropsNames - The array or record of allowed prop names.\n * @returns The filtered props\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function getNativeProps>(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n props: Record,\n allowedPropNames: string[] | Record,\n excludedPropNames?: string[],\n): T {\n // It'd be great to properly type this while allowing 'aria-` and 'data-' attributes like TypeScript does for\n // JSX attributes, but that ability is hardcoded into the TS compiler with no analog in TypeScript typings.\n // Then we'd be able to enforce props extends native props (including aria- and data- attributes), and then\n // return native props.\n // We should be able to do this once this PR is merged: https://github.com/microsoft/TypeScript/pull/26797\n\n const isArray = Array.isArray(allowedPropNames);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const result: Record = {};\n const keys = Object.keys(props);\n\n for (const key of keys) {\n const isNativeProp =\n (!isArray && (allowedPropNames as Record)[key]) ||\n (isArray && (allowedPropNames as string[]).indexOf(key) >= 0) ||\n key.indexOf('data-') === 0 ||\n key.indexOf('aria-') === 0;\n\n if (isNativeProp && (!excludedPropNames || excludedPropNames?.indexOf(key) === -1)) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n result[key] = props![key] as any;\n }\n }\n\n return result as T;\n}\n","import { createMemoizer } from '../memoize';\nimport type { IRenderFunction } from '../IRenderFunction';\n\ninterface IRenderFunctionComposer {\n (outer: IRenderFunction): (inner: IRenderFunction) => IRenderFunction;\n}\n\nfunction createComposedRenderFunction(\n outer: IRenderFunction,\n): (inner: IRenderFunction) => IRenderFunction {\n const outerMemoizer = createMemoizer((inner: IRenderFunction) => {\n const innerMemoizer = createMemoizer((defaultRender: IRenderFunction) => {\n return (innerProps?: TProps) => {\n return inner(innerProps, defaultRender);\n };\n });\n\n return (outerProps?: TProps, defaultRender?: IRenderFunction) => {\n return outer(outerProps, defaultRender ? innerMemoizer(defaultRender) : inner);\n };\n });\n\n return outerMemoizer;\n}\n\nconst memoizer = createMemoizer(createComposedRenderFunction);\n\n/**\n * Composes two 'render functions' to produce a final render function that renders\n * the outer function, passing the inner function as 'default render'. The inner function\n * is then passed the original 'default render' prop.\n * @public\n */\nexport function composeRenderFunction(\n outer: IRenderFunction,\n inner: IRenderFunction,\n): IRenderFunction {\n return memoizer(outer)(inner);\n}\n","import { KeyCodes } from './KeyCodes';\nimport { getDocument } from './dom/getDocument';\nimport { getItem, setItem } from './sessionStorage';\nimport { setRTL as mergeStylesSetRTL } from '@fluentui/merge-styles';\n\nconst RTL_LOCAL_STORAGE_KEY = 'isRTL';\n\n// Default to undefined so that we initialize on first read.\nlet _isRTL: boolean | undefined;\n\n/**\n * Gets the rtl state of the page (returns true if in rtl.)\n */\nexport function getRTL(theme: { rtl?: boolean } = {}): boolean {\n if (theme.rtl !== undefined) {\n return theme.rtl;\n }\n if (_isRTL === undefined) {\n // Fabric supports persisting the RTL setting between page refreshes via session storage\n let savedRTL = getItem(RTL_LOCAL_STORAGE_KEY);\n if (savedRTL !== null) {\n _isRTL = savedRTL === '1';\n setRTL(_isRTL);\n }\n\n let doc = getDocument();\n if (_isRTL === undefined && doc) {\n _isRTL = ((doc.body && doc.body.getAttribute('dir')) || doc.documentElement.getAttribute('dir')) === 'rtl';\n mergeStylesSetRTL(_isRTL);\n }\n }\n\n return !!_isRTL;\n}\n\n/**\n * Sets the rtl state of the page (by adjusting the dir attribute of the html element.)\n */\nexport function setRTL(isRTL: boolean, persistSetting: boolean = false): void {\n let doc = getDocument();\n if (doc) {\n doc.documentElement.setAttribute('dir', isRTL ? 'rtl' : 'ltr');\n }\n\n if (persistSetting) {\n setItem(RTL_LOCAL_STORAGE_KEY, isRTL ? '1' : '0');\n }\n\n _isRTL = isRTL;\n mergeStylesSetRTL(_isRTL);\n}\n\n/**\n * Returns the given key, but flips right/left arrows if necessary.\n */\nexport function getRTLSafeKeyCode(key: number, theme: { rtl?: boolean } = {}): number {\n if (getRTL(theme)) {\n if (key === KeyCodes.left) {\n key = KeyCodes.right;\n } else if (key === KeyCodes.right) {\n key = KeyCodes.left;\n }\n }\n\n return key;\n}\n","import { getDocument } from './dom/getDocument';\nimport { mergeStyles } from '@fluentui/merge-styles';\nimport { EventGroup } from './EventGroup';\nimport { getWindow } from './dom/getWindow';\n\nlet _scrollbarWidth: number;\nlet _bodyScrollDisabledCount = 0;\n\nconst DisabledScrollClassName = mergeStyles({\n overflow: 'hidden !important' as 'hidden',\n});\n\n/**\n * Placing this attribute on scrollable divs optimizes detection to know\n * if the div is scrollable or not (given we can avoid expensive operations\n * like getComputedStyle.)\n *\n * @public\n */\nexport const DATA_IS_SCROLLABLE_ATTRIBUTE = 'data-is-scrollable';\n\n/**\n * Allows the user to scroll within a element,\n * while preventing the user from scrolling the body\n */\nexport const allowScrollOnElement = (element: HTMLElement | null, events: EventGroup): void => {\n if (!element) {\n return;\n }\n\n let _previousClientY = 0;\n let _element: Element | null = null;\n\n // remember the clientY for future calls of _preventOverscrolling\n const _saveClientY = (event: TouchEvent): void => {\n if (event.targetTouches.length === 1) {\n _previousClientY = event.targetTouches[0].clientY;\n }\n };\n\n // prevent the body from scrolling when the user attempts\n // to scroll past the top or bottom of the element\n const _preventOverscrolling = (event: TouchEvent): void => {\n // only respond to a single-finger touch\n if (event.targetTouches.length !== 1) {\n return;\n }\n\n // prevent the body touchmove handler from firing\n // so that scrolling is allowed within the element\n event.stopPropagation();\n\n if (!_element) {\n return;\n }\n\n const clientY = event.targetTouches[0].clientY - _previousClientY;\n\n const scrollableParent = findScrollableParent(event.target as HTMLElement) as HTMLElement;\n if (scrollableParent) {\n _element = scrollableParent;\n }\n\n // if the element is scrolled to the top,\n // prevent the user from scrolling up\n if (_element.scrollTop === 0 && clientY > 0) {\n event.preventDefault();\n }\n\n // if the element is scrolled to the bottom,\n // prevent the user from scrolling down\n if (_element.scrollHeight - Math.ceil(_element.scrollTop) <= _element.clientHeight && clientY < 0) {\n event.preventDefault();\n }\n };\n\n events.on(element, 'touchstart', _saveClientY, { passive: false });\n events.on(element, 'touchmove', _preventOverscrolling, { passive: false });\n\n _element = element;\n};\n\n/**\n * Same as allowScrollOnElement but does not prevent overscrolling.\n */\nexport const allowOverscrollOnElement = (element: HTMLElement | null, events: EventGroup): void => {\n if (!element) {\n return;\n }\n const _allowElementScroll = (event: TouchEvent) => {\n event.stopPropagation();\n };\n events.on(element, 'touchmove', _allowElementScroll, { passive: false });\n};\n\nconst _disableIosBodyScroll = (event: TouchEvent) => {\n event.preventDefault();\n};\n\n/**\n * Disables the body scrolling.\n *\n * @public\n */\nexport function disableBodyScroll(): void {\n let doc = getDocument();\n\n if (doc && doc.body && !_bodyScrollDisabledCount) {\n doc.body.classList.add(DisabledScrollClassName);\n doc.body.addEventListener('touchmove', _disableIosBodyScroll, { passive: false, capture: false });\n }\n\n _bodyScrollDisabledCount++;\n}\n\n/**\n * Enables the body scrolling.\n *\n * @public\n */\nexport function enableBodyScroll(): void {\n if (_bodyScrollDisabledCount > 0) {\n let doc = getDocument();\n\n if (doc && doc.body && _bodyScrollDisabledCount === 1) {\n doc.body.classList.remove(DisabledScrollClassName);\n doc.body.removeEventListener('touchmove', _disableIosBodyScroll);\n }\n\n _bodyScrollDisabledCount--;\n }\n}\n\n/**\n * Calculates the width of a scrollbar for the browser/os.\n *\n * @public\n */\nexport function getScrollbarWidth(): number {\n if (_scrollbarWidth === undefined) {\n let scrollDiv: HTMLElement = document.createElement('div');\n scrollDiv.style.setProperty('width', '100px');\n scrollDiv.style.setProperty('height', '100px');\n scrollDiv.style.setProperty('overflow', 'scroll');\n scrollDiv.style.setProperty('position', 'absolute');\n scrollDiv.style.setProperty('top', '-9999px');\n document.body.appendChild(scrollDiv);\n // Get the scrollbar width\n _scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n\n // Delete the DIV\n document.body.removeChild(scrollDiv);\n }\n\n return _scrollbarWidth;\n}\n\n/**\n * Traverses up the DOM for the element with the data-is-scrollable=true attribute, or returns\n * document.body.\n *\n * @public\n */\nexport function findScrollableParent(startingElement: HTMLElement | null): HTMLElement | Window | undefined | null {\n let el: HTMLElement | Window | undefined | null = startingElement;\n const doc = getDocument(startingElement)!;\n\n // First do a quick scan for the scrollable attribute.\n while (el && el !== doc.body) {\n if (el.getAttribute(DATA_IS_SCROLLABLE_ATTRIBUTE) === 'true') {\n return el;\n }\n el = el.parentElement;\n }\n\n // If we haven't found it, the use the slower method: compute styles to evaluate if overflow is set.\n el = startingElement;\n\n while (el && el !== doc.body) {\n if (el.getAttribute(DATA_IS_SCROLLABLE_ATTRIBUTE) !== 'false') {\n const computedStyles = getComputedStyle(el);\n let overflowY = computedStyles ? computedStyles.getPropertyValue('overflow-y') : '';\n\n if (overflowY && (overflowY === 'scroll' || overflowY === 'auto')) {\n return el;\n }\n }\n\n el = el.parentElement;\n }\n\n // Fall back to window scroll.\n if (!el || el === doc.body) {\n el = getWindow(startingElement);\n }\n\n return el;\n}\n","import { getWindow } from './dom/getWindow';\n\n/**\n * Fetches an item from session storage without throwing an exception\n * @param key The key of the item to fetch from session storage\n */\nexport function getItem(key: string): string | null {\n let result = null;\n try {\n const win = getWindow();\n result = win ? win.sessionStorage.getItem(key) : null;\n } catch (e) {\n /* Eat the exception */\n }\n return result;\n}\n\n/**\n * Inserts an item into session storage without throwing an exception\n * @param key The key of the item to add to session storage\n * @param data The data to put into session storage\n */\nexport function setItem(key: string, data: string): void {\n try {\n getWindow()?.sessionStorage.setItem(key, data);\n } catch (e) {\n /* Eat the exception */\n }\n}\n","import * as React from 'react';\nimport { getWindow } from './dom/getWindow';\nexport const IsFocusVisibleClassName = 'ms-Fabric--isFocusVisible';\nexport const IsFocusHiddenClassName = 'ms-Fabric--isFocusHidden';\n\nfunction updateClassList(el: HTMLElement | null | undefined, enabled: boolean) {\n if (el) {\n el.classList.add(enabled ? IsFocusVisibleClassName : IsFocusHiddenClassName);\n el.classList.remove(enabled ? IsFocusHiddenClassName : IsFocusVisibleClassName);\n }\n}\n\n/**\n * Sets the visibility of focus styling.\n *\n * By default, focus styles (the box surrounding a focused Button, for example) only show up when navigational\n * keypresses occur (through Tab, arrows, PgUp/PgDn, Home and End), and are hidden when mouse interactions occur.\n * This API provides an imperative way to turn them on/off.\n *\n * A use case might be when you have a keypress like ctrl-f6 navigate to a particular region on the page,\n * and want focus to show up.\n *\n * @param enabled - Whether to turn focus visibility on or off.\n * @param target - Optional target from which to get window in case no `providerElem` has been specified.\n * @param registeredProviders - Array of provider refs that are associated with a FocusRectsProvider. If no array\n * is passed in, the classnames are attached to the document body that contains `target`.\n */\nexport function setFocusVisibility(\n enabled: boolean,\n target?: Element,\n registeredProviders?: React.RefObject[],\n): void {\n if (registeredProviders) {\n registeredProviders.forEach(ref => updateClassList(ref.current, enabled));\n } else {\n updateClassList(getWindow(target)?.document.body, enabled);\n }\n}\n","import * as React from 'react';\nimport { concatStyleSetsWithProps } from '@fluentui/merge-styles';\nimport { useCustomizationSettings } from './customizations/useCustomizationSettings';\nimport type { IStyleSet, IStyleFunctionOrObject } from '@fluentui/merge-styles';\n\nexport interface IPropsWithStyles> {\n styles?: IStyleFunctionOrObject;\n}\n\nexport interface ICustomizableProps {\n /**\n * Name of scope, which can be targeted using the Customizer.\n */\n scope: string;\n\n /**\n * List of fields which can be customized.\n * @defaultvalue [ 'theme', 'styles' ]\n */\n fields?: string[];\n}\n\nconst DefaultFields = ['theme', 'styles'];\n\nexport type StyleFunction = IStyleFunctionOrObject & {\n /** Cache for all style functions. */\n __cachedInputs__: (IStyleFunctionOrObject | undefined)[];\n\n /** True if no styles prop or styles from Customizer is passed to wrapped component. */\n __noStyleOverride__: boolean;\n};\n\n/**\n * The styled HOC wrapper allows you to create a functional wrapper around a given component which will resolve\n * getStyles functional props, and mix customized props passed in using concatStyleSets.\n *\n * @example\n * ```tsx\n * export const Toggle = styled(\n * ToggleBase,\n * props => ({ root: { background: 'red' }})\n * );\n * ```\n * @param Component - The unstyled base component to render, which receives styles.\n * @param baseStyles - The styles which should be curried with the component.\n * @param getProps - A helper which provides default props.\n * @param customizable - An object which defines which props can be customized using the Customizer.\n * @param pure - A boolean indicating if the component should avoid re-rendering when props haven't changed.\n * Note that pure should not be used on components which allow children, or take in complex objects or\n * arrays as props which could mutate on every render.\n */\nexport function styled<\n TComponentProps extends IPropsWithStyles,\n TStyleProps,\n TStyleSet extends IStyleSet,\n>(\n Component: React.ComponentClass | React.FunctionComponent,\n baseStyles: IStyleFunctionOrObject,\n getProps?: (props: TComponentProps) => Partial,\n customizable?: ICustomizableProps,\n pure?: boolean,\n): React.FunctionComponent;\nexport function styled<\n TComponentProps extends IPropsWithStyles & React.RefAttributes,\n TStyleProps,\n TStyleSet extends IStyleSet,\n TRef = unknown,\n>(\n Component: React.ComponentClass | React.FunctionComponent,\n baseStyles: IStyleFunctionOrObject,\n getProps?: (props: TComponentProps) => Partial,\n customizable?: ICustomizableProps,\n pure?: boolean,\n): React.ForwardRefExoticComponent & React.RefAttributes>;\nexport function styled<\n TComponentProps extends IPropsWithStyles & React.RefAttributes,\n TStyleProps,\n TStyleSet extends IStyleSet,\n TRef = unknown,\n>(\n Component: React.ComponentClass | React.FunctionComponent,\n baseStyles: IStyleFunctionOrObject,\n getProps?: (props: TComponentProps) => Partial,\n customizable?: ICustomizableProps,\n pure?: boolean,\n) {\n customizable = customizable || { scope: '', fields: undefined };\n\n const { scope, fields = DefaultFields } = customizable;\n\n const Wrapped = React.forwardRef((props: TComponentProps, forwardedRef: React.Ref) => {\n const styles = React.useRef>();\n\n const settings = useCustomizationSettings(fields, scope);\n const { styles: customizedStyles, dir, ...rest } = settings;\n const additionalProps = getProps ? getProps(props) : undefined;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const cache = (styles.current && (styles.current as any).__cachedInputs__) || [];\n const propStyles = props.styles;\n if (!styles.current || customizedStyles !== cache[1] || propStyles !== cache[2]) {\n // Using styled components as the Component arg will result in nested styling arrays.\n // The function can be cached and in order to prevent the props from being retained within it's closure\n // we pass in just the styles and not the entire props\n const concatenatedStyles: IStyleFunctionOrObject = (styleProps: TStyleProps) =>\n concatStyleSetsWithProps(styleProps, baseStyles, customizedStyles, propStyles);\n\n // The __cachedInputs__ array is attached to the function and consumed by the\n // classNamesFunction as a list of keys to include for memoizing classnames.\n (concatenatedStyles as StyleFunction).__cachedInputs__ = [\n baseStyles,\n customizedStyles,\n propStyles,\n ];\n\n (concatenatedStyles as StyleFunction).__noStyleOverride__ =\n !customizedStyles && !propStyles;\n\n styles.current = concatenatedStyles as StyleFunction;\n }\n\n return ;\n });\n // Function.prototype.name is an ES6 feature, so the cast to any is required until we're\n // able to drop IE 11 support and compile with ES6 libs\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Wrapped.displayName = `Styled${Component.displayName || (Component as any).name}`;\n\n // This preserves backwards compatibility.\n const pureComponent = pure ? React.memo(Wrapped) : Wrapped;\n // Check if the wrapper has a displayName after it has been memoized. Then assign it to the pure component.\n if (Wrapped.displayName) {\n pureComponent.displayName = Wrapped.displayName;\n }\n\n return pureComponent;\n}\n","import { KeyCodes } from './KeyCodes';\n\nconst DirectionalKeyCodes: { [key: number]: number } = {\n [KeyCodes.up]: 1,\n [KeyCodes.down]: 1,\n [KeyCodes.left]: 1,\n [KeyCodes.right]: 1,\n [KeyCodes.home]: 1,\n [KeyCodes.end]: 1,\n [KeyCodes.tab]: 1,\n [KeyCodes.pageUp]: 1,\n [KeyCodes.pageDown]: 1,\n};\n\n/**\n * Returns true if the keycode is a directional keyboard key.\n */\nexport function isDirectionalKeyCode(which: number): boolean {\n return !!DirectionalKeyCodes[which];\n}\n\n/**\n * Adds a keycode to the list of keys that, when pressed, should cause the focus outlines to be visible.\n * This can be used to add global shortcut keys that directionally move from section to section within\n * an app or between focus trap zones.\n */\nexport function addDirectionalKeyCode(which: number): void {\n DirectionalKeyCodes[which] = 1;\n}\n\n/**\n * Removes a keycode to the list of keys that, when pressed, should cause the focus outlines to be visible.\n * This can be used to remove global shortcut keys that directionally move from section to section within\n * an app or between focus trap zones.\n */\nexport function removeDirectionalKeyCode(which: number): void {\n delete DirectionalKeyCodes[which];\n}\n","import * as React from 'react';\nimport { getWindow } from './dom/getWindow';\nimport { isDirectionalKeyCode } from './keyboard';\nimport { setFocusVisibility } from './setFocusVisibility';\n\n/**\n * Counter for mounted component that uses focus rectangles.\n * We want to cleanup the listeners before the last component that uses focus rectangles unmounts.\n */\nexport type ListenerCallbacks = {\n onMouseDown: (ev: MouseEvent) => void;\n onPointerDown: (ev: PointerEvent) => void;\n onKeyDown: (ev: KeyboardEvent) => void;\n onKeyUp: (ev: KeyboardEvent) => void;\n};\nlet mountCounters = new WeakMap();\nlet callbackMap = new WeakMap();\n\nfunction setMountCounters(key: Window | HTMLElement, delta: number): number {\n let newValue;\n const currValue = mountCounters.get(key);\n if (currValue) {\n newValue = currValue + delta;\n } else {\n newValue = 1;\n }\n\n mountCounters.set(key, newValue);\n return newValue;\n}\n\nfunction setCallbackMap(context: IFocusRectsContext): ListenerCallbacks {\n let callbacks = callbackMap.get(context);\n if (callbacks) {\n return callbacks;\n }\n\n const onMouseDown = (ev: MouseEvent) => _onMouseDown(ev, context.registeredProviders);\n const onPointerDown = (ev: PointerEvent) => _onPointerDown(ev, context.registeredProviders);\n const onKeyDown = (ev: KeyboardEvent) => _onKeyDown(ev, context.registeredProviders);\n const onKeyUp = (ev: KeyboardEvent) => _onKeyUp(ev, context.registeredProviders);\n callbacks = { onMouseDown, onPointerDown, onKeyDown, onKeyUp };\n\n callbackMap.set(context, callbacks);\n return callbacks;\n}\n\ntype AppWindow = (Window & { FabricConfig?: { disableFocusRects?: boolean } }) | undefined;\n\nexport type IFocusRectsContext = {\n /**\n * Ref to the root element of the provider\n */\n readonly providerRef: React.RefObject;\n\n /**\n * Array of this and all child provider elements under this one in the React tree.\n *\n * Tracking all child providers will allow a focus event in the parent to also set focus styling in its descendants.\n * This is needed for Combobox, for example, because the focus events happen on the parent context, but the visual\n * focus indicator is in the combobox callout. The callout needs to be notified on focus events from the parent.\n */\n readonly registeredProviders: React.RefObject[];\n\n /**\n * Used by child FocusRectsProviders to register their element with the parent provider.\n */\n readonly registerProvider: (ref: React.RefObject) => void;\n\n /**\n * Used by child FocusRectsProviders to unregister their element from the parent provider.\n */\n readonly unregisterProvider: (ref: React.RefObject) => void;\n};\n\nexport const FocusRectsContext = React.createContext(undefined);\n\n/**\n * Initializes the logic which:\n *\n * 1. Subscribes keydown, keyup, mousedown and pointerdown events. (It will only do it once for the current element of\n * the FocusRectsContext providerRef or once per window if no such element is provided via context, so it's safe to\n * call this method multiple times.)\n * 2. When the user presses triggers a keydown or keyup event via directional keyboard keys, adds the\n * 'ms-Fabric--isFocusVisible' classname to the current element of the FocusRectsContext providerRef or the document\n * body if no such element is provided via context, and removes the 'ms-Fabric-isFocusHidden' classname.\n * 3. When the user triggers a mousedown or pointerdown event, adds the 'ms-Fabric-isFocusHidden' classname to the\n * current element of the FocusRectsContext providerRef or the document body if no such element is provided via\n * context, and removes the 'ms-Fabric--isFocusVisible' classname.\n *\n * This logic allows components on the page to conditionally render focus treatments based on\n * the existence of global classnames, which simplifies logic overall.\n *\n * @param rootRef - A Ref object. Focus rectangle can be applied on itself and all its children.\n */\nexport function useFocusRects(rootRef?: React.RefObject): void {\n const context = React.useContext(FocusRectsContext);\n\n React.useEffect(() => {\n const win = getWindow(rootRef?.current) as AppWindow;\n\n if (!win || win.FabricConfig?.disableFocusRects === true) {\n return undefined;\n }\n\n let el: Window | HTMLElement = win;\n let onMouseDown: (ev: MouseEvent) => void;\n let onPointerDown: (ev: PointerEvent) => void;\n let onKeyDown: (ev: KeyboardEvent) => void;\n let onKeyUp: (ev: KeyboardEvent) => void;\n if (\n context?.providerRef?.current &&\n (context?.providerRef?.current as Partial>)?.addEventListener\n ) {\n el = context.providerRef.current;\n // The NOINLINE directive tells terser not to move the setCallbackMap implementation into the call site during\n // minification.\n // This prevents the function from capturing additional variables in the closure, which can cause memory leaks.\n const callbacks = /*@__NOINLINE__*/ setCallbackMap(context);\n onMouseDown = callbacks.onMouseDown;\n onPointerDown = callbacks.onPointerDown;\n onKeyDown = callbacks.onKeyDown;\n onKeyUp = callbacks.onKeyUp;\n } else {\n onMouseDown = _onMouseDown;\n onPointerDown = _onPointerDown;\n onKeyDown = _onKeyDown;\n onKeyUp = _onKeyUp;\n }\n\n let count = setMountCounters(el, 1);\n if (count <= 1) {\n el.addEventListener('mousedown', onMouseDown, true);\n el.addEventListener('pointerdown', onPointerDown, true);\n el.addEventListener('keydown', onKeyDown, true);\n el.addEventListener('keyup', onKeyUp, true);\n }\n\n return () => {\n if (!win || win.FabricConfig?.disableFocusRects === true) {\n return;\n }\n count = setMountCounters(el, -1);\n if (count === 0) {\n el.removeEventListener('mousedown', onMouseDown, true);\n el.removeEventListener('pointerdown', onPointerDown, true);\n el.removeEventListener('keydown', onKeyDown, true);\n el.removeEventListener('keyup', onKeyUp, true);\n }\n };\n }, [context, rootRef]);\n}\n\n/**\n * Function Component wrapper which enables calling `useFocusRects` hook.\n * Renders nothing.\n */\nexport const FocusRects: React.FunctionComponent<{ rootRef?: React.RefObject }> = props => {\n useFocusRects(props.rootRef);\n return null;\n};\n\nfunction _onMouseDown(ev: MouseEvent, registeredProviders?: React.RefObject[]): void {\n setFocusVisibility(false, ev.target as Element, registeredProviders);\n}\n\nfunction _onPointerDown(ev: PointerEvent, registeredProviders?: React.RefObject[]): void {\n if (ev.pointerType !== 'mouse') {\n setFocusVisibility(false, ev.target as Element, registeredProviders);\n }\n}\n\n// You need both a keydown and a keyup listener that sets focus visibility to true to handle two distinct scenarios when\n// attaching the listeners and classnames to the provider instead of the document body.\n// If you only have a keydown listener, then the focus rectangles will not show when moving from outside of the provider\n// to inside it. That is why a keyup listener is needed, since it will always trigger after the focus event is fired.\n// If you only have a keyup listener, then the focus rectangles will not show moving between different tabbable elements\n// if the tab key is pressed without being released. That's is why we need a keydown listener, since it will trigger for\n// every element that is being tabbed into.\n// This works because `classList.add` is smart and will not duplicate a classname that already exists on the classList\n// when focus visibility is turned on.\nfunction _onKeyDown(ev: KeyboardEvent, registeredProviders?: React.RefObject[]): void {\n // eslint-disable-next-line deprecation/deprecation\n if (isDirectionalKeyCode(ev.which)) {\n setFocusVisibility(true, ev.target as Element, registeredProviders);\n }\n}\n\nfunction _onKeyUp(ev: KeyboardEvent, registeredProviders?: React.RefObject[]): void {\n // eslint-disable-next-line deprecation/deprecation\n if (isDirectionalKeyCode(ev.which)) {\n setFocusVisibility(true, ev.target as Element, registeredProviders);\n }\n}\n","import * as React from 'react';\nimport { canUseDOM } from './dom/canUseDOM';\n\n/**\n * React currently throws a warning when using `useLayoutEffect` on the server. To get around it,\n * this hook calls `useEffect` on the server (no-op) and `useLayoutEffect` in the browser.\n *\n * Prefer `useEffect` unless you have a specific need to do something after mount and before paint,\n * such as to avoid a render flash for certain operations.\n *\n * Server-side rendering is detected based on `canUseDOM` from `@fluentui/utilities`.\n *\n * https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * https://github.com/reduxjs/react-redux/blob/master/src/utils/useIsomorphicLayoutEffect.js\n */\n// eslint-disable-next-line no-restricted-properties\nexport const useIsomorphicLayoutEffect: typeof React.useEffect = canUseDOM() ? React.useLayoutEffect : React.useEffect;\n","/* eslint-disable no-console */\n\nlet _warningCallback: ((message: string) => void) | undefined = undefined;\n\nexport type ISettingsMap = { [P in keyof T]?: string };\n\n/**\n * Sends a warning to console, if the api is present.\n *\n * @public\n * @param message - Warning message.\n */\nexport function warn(message: string): void {\n if (_warningCallback && process.env.NODE_ENV !== 'production') {\n _warningCallback(message);\n } else if (console && console.warn) {\n console.warn(message);\n }\n}\n\n/**\n * Configures the warning callback. Passing in undefined will reset it to use the default\n * console.warn function.\n *\n * @public\n * @param warningCallback - Callback to override the generated warnings.\n */\nexport function setWarningCallback(warningCallback?: (message: string) => void): void {\n _warningCallback = warningCallback;\n}\n","import { warn } from './warn';\n/**\n * Warns when props are required if a condition is met.\n *\n * @public\n * @param componentName - The name of the component being used.\n * @param props - The props passed into the component.\n * @param requiredProps - The name of the props that are required when the condition is met.\n * @param conditionalPropName - The name of the prop that the condition is based on.\n * @param condition - Whether the condition is met.\n */\nexport function warnConditionallyRequiredProps

    (\n componentName: string,\n props: P,\n requiredProps: string[],\n conditionalPropName: string,\n condition: boolean,\n): void {\n if (condition === true && process.env.NODE_ENV !== 'production') {\n for (const requiredPropName of requiredProps) {\n if (!(requiredPropName in props)) {\n warn(`${componentName} property '${requiredPropName}' is required when '${conditionalPropName}' is used.'`);\n }\n }\n }\n}\n","import { warn } from './warn';\nimport type { ISettingsMap } from './warn';\n\n/**\n * Warns when a deprecated props are being used.\n *\n * @public\n * @param componentName - The name of the component being used.\n * @param props - The props passed into the component.\n * @param deprecationMap - The map of deprecations, where key is the prop name and the value is\n * either null or a replacement prop name.\n */\nexport function warnDeprecations

    (componentName: string, props: P, deprecationMap: ISettingsMap

    ): void {\n if (process.env.NODE_ENV !== 'production') {\n for (const propName in deprecationMap) {\n if (props && propName in props) {\n let deprecationMessage = `${componentName} property '${propName}' was used but has been deprecated.`;\n const replacementPropName = deprecationMap[propName];\n if (replacementPropName) {\n deprecationMessage += ` Use '${replacementPropName}' instead.`;\n }\n warn(deprecationMessage);\n }\n }\n }\n}\n"],"names":["BaseColors","CommonSemanticColors","BLUE_F0F6FF","BLUE_B3D7F2","BLUE_BEDFFF","BLUE_CCE1FF","BLUE_CCE4F6","BLUE_C7E0F4","BLUE_DEECF9","BLUE_E6F2FB","BLUE_0000CD","BLUE_00245B","BLUE_00E8E8","BLUE_00FFFF","BLUE_00188F","BLUE_001D3F","BLUE_004578","BLUE_004C87","BLUE_005A9E","BLUE_0078D4","BLUE_016AFE","BLUE_015CDA","BLUE_014DB7","BLUE_012B65","BLUE_0F64AE","BLUE_106EBE","BLUE_02FEFF","BLUE_043862","BLUE_6CA9FE","BLUE_6CB8F6","BLUE_82C7FF","BLUE_4894FE","BLUE_257FFE","BLUE_2899F5","BLUE_3AA0F3","BLUE_55B3FF","BLUE_7BB2FE","BROWN_502006","GREEN_A4E1D2","GREEN_E6FFCC","GREEN_F8FFF0","GREEN_00A2AD","GREEN_00FF00","GREEN_0AFF00","GREEN_038387","GREEN_022F22","GREEN_1A3300","GREEN_393D1B","GREEN_428000","GREEN_5DB300","GREEN_57A300","GREEN_92C353","RED_A52121","RED_C32727","RED_FEF0F1","RED_FDD8DB","RED_F63747","RED_F1707B","RED_E00B1C","RED_A4262C","RED_442726","RED_61050C","RED_791818","RED_800000","ORANGE_CB4936","ORANGE_DB7500","ORANGE_EF6950","ORANGE_FFCA8A","ORANGE_FFDFB8","ORANGE_FFF8F0","ORANGE_FF8C00","ORANGE_422400","ORANGE_4F2A0F","PURPLE_800080","PURPLE_F9F3FC","PURPLE_EFDBF5","PURPLE_C87FDC","PURPLE_C7D3FF","PURPLE_917EDB","PURPLE_8A2DA5","PURPLE_660166","PURPLE_6E5DB7","PURPLE_471754","PURPLE_4B003F","PURPLE_38134A","PINK_E3008C","PINK_D90086","PINK_F6C0FF","YELLOW_FEFF00","YELLOW_FCE100","GRAY_CCCCCC","GRAY_111111","GRAY_161616","GRAY_1B1A19","GRAY_201F1E","GRAY_252423","GRAY_292827","GRAY_323130","GRAY_302928","GRAY_3B3A39","GRAY_414141","GRAY_484644","GRAY_585858","GRAY_595959","GRAY_605E5C","GRAY_747474","GRAY_797775","GRAY_808080","GRAY_8A8886","GRAY_979693","GRAY_AFAFAF","GRAY_A19F9D","GRAY_C8C6C4","GRAY_E5E5E5","GRAY_EDEBE9","GRAY_E1DFDD","GRAY_F3F2F1","GRAY_FAF9F8","GRAY_6B849C","BLACK","WHITE","TRANSPARENT","GRAY_000000_060","GRAY_6B849C_006","GRAY_6B849C_025","GRAY_6B849C_035","GRAY_808080_010","GRAY_808080_015","GRAY_808080_025","GRAY_808080_030","GRAY_808080_050","GRAY_808080_070","BLUE_55B3FF_010","BLUE_55B3FF_020","BLUE_55B3FF_040","GRAY_FFFFFF_050","GRAY_000000_050","GRAY_404040","GRAY_F7F7F7","GRAY_DFDFDF","icons","okay","error","warning","information","upsell","dividers","lineSeparator","sectionDivider","backgrounds","disabled","section","overlay","textControlOutline","rest","hover","controlOutline","light","dark","DarkSemanticColors","background","text","list","heading","body","bodyHovered","value","icon","label","hyperlink","hyperlinkHovered","success","placeholder","statusBar","link","border","default","primaryButton","pressed","focus","disabledButton","dangerButton","secondaryButton","color","checkBox","hoverText","check","checked","hoverBackground","hoverBorder","controlOutlines","accent","dirty","choiceGroup","circle","dropDown","hovered","item","select","selectHovered","shimmer","primary","secondary","tagButton","toggle","backrgound","commandBar","button","root","borderColor","selected","selectedHover","dataColor","dataColor1","dataColor2","dataColor3","dataColor4","dataColor5","dataColor6","dataColor7","dataColor8","dataColor9","dataColor10","noData1","noData2","datePicker","detailsRow","hoveredLink","hoveredRowLink","hoveredBackground","selectedLink","selectedHoveredLink","radioButton","uncheckedRest","checkedDisabled","borderDisabled","pill","uncheckedDisabled","checkedHover","uncheckedHover","tabs","teachingBubble","secondaryBackround","primaryButtonBackground","slider","activeBackground","activeBackgroundHovered","inactiveBackgroundHovered","activeDisabledBackground","inactiveDisabledBackground","activeBackgroundPressed","calendar","outside","HighContrastDarkSemanticColors","LightSemanticColors","HighContrastLightSemanticColors","Depths","ActionButtonStyles","theme","semanticColors","extendedSemanticColors","iconColor","selectors","__assign","fontSize","fonts","medium","height","StyleConstants","backgroundColor","buttonBackground","buttonText","iconButtonFill","rootDisabled","primaryButtonBackgroundDisabled","primaryButtonTextDisabled","rootHovered","buttonBackgroundHovered","buttonTextHovered","iconButtonFillHovered","rootPressed","buttonBackgroundPressed","buttonTextPressed","rootFocused","concat","inputBorderPressed","rootChecked","rootCheckedHovered","rootCheckedPressed","BreadcrumbStyles","props","chevron","bodyText","overflowButton","menuItemBackgroundHovered","itemLink","outline","fontWeight","FontWeights","regular","linkHovered","textDecoration","depth0","depth4","depth8","depth16","depth64","CalloutContentStyles","boxShadow","calloutMain","controlBackground","choiceGroupContainerBorder","callOutBorderStyle","primaryButtonBorder","beak","CheckboxStyles","indeterminate","lineHeight","disabledBodyText","checkbox","bodyBackground","checkBoxBorder","width","top","left","checkboxBorderChecked","checkBoxDisabled","checkBoxCheckedDisabledBackground","checkmark","checkBoxCheck","checkBoxCheckHover","opacity","checkBoxCheckHoverTest","checkboxBackgroundChecked","checkboxBorderCheckedHovered","checkboxBackgroundHovered","focusBorder","checkBoxIndeterminateBackground","input","_a","checkBoxCheckedFocus","CheckStyles","paddingLeft","borderRadius","listBackground","ButtonBorderFocus","borderWidth","borderStyle","inputText","DetailsListStyles","borderTop","headerWrapper","rowBorder","borderRightWidth","borderRightStyle","borderRightColor","FontSizes","size10","variantBorder","DetailsRowStyles","isSelected","listText","borderBottom","listItemBackgroundSelected","listItemBackgroundHovered","listLinkRowHovered","listLinkHovered","rowFocus","listUnderline","listLinkRowSelected","listItemBackgroundSelectedHovered","listLinkRowSelectedHovered","ChoiceGroupOptionStyles","hasIcon","hasImage","padding","verticalAlign","choiceGroupFocusBorder","choiceGroupContainerBorderStyle","field","controlOutlineDisabled","controlOutlineHovered","bodyTextHovered","choiceGroupUncheckedDotHover","i","controlAccent","ColorPickerGridCellStyles","colorCell","outlineColor","ColorPickerStyles","paddingRight","minWidth","textOverflow","table","tableHeader","td","paddingBottom","ColorRectangleStyles","thumb","ColorSliderStyles","sliderThumb","ComboBoxStyles","paddingTop","fontStyle","disabledBackground","rootError","errorBackground","callout","divider","inputBorder","errorMessage","errorText","optionsContainer","listItemBackgroundChecked","CommandBarStyles","borderBottomWidth","borderBottomStyle","borderBottomColor","commandBarBorder","CommandBarButtonStyles","menuIcon","getFocusStyle","inset","commandBarButtonText","rootExpanded","commandBarButtonBackgroundHover","commandBarButtonTextHover","commandBarButtonIconHover","rootExpandedHovered","commandBarButtonBackgroundSelectedHover","commandBarButtonIconSelected","commandBarButtonBackgroundSelected","commandBarButtonTextDisabled","commandBarButtonAfterColor","splitButtonMenuButton","splitButtonMenuButtonChecked","splitButtonMenuButtonDisabled","splitButtonMenuButtonExpanded","splitButtonMenuIcon","CompoundButtonStyles","labelTextColor","primaryCompoundButtonBorder","primaryButtonText","primaryButtonTextFocused","inputBorderHovered","primaryButtonBackgroundHovered","primaryButtonTextHovered","primaryButtonBackgroundPressed","primaryButtonTextPressed","buttonBackgroundDisabled","buttonTextDisabled","primaryButtonBorderDisabled","rootCheckedDisabled","ContextualMenuStyles","subComponentStyles","inputBackground","menuItem","itemStyleProps","splitPrimary","DatePickerStyles","calendarTextOutside","bottom","calendarTextDisabled","datePickerDisabledBorder","display","DefaultButtonStyles","ButtonBackgroundDanger","ButtonBorderDanger","ButtonBackgroundDangerText","ButtonBackgroundDangerHovered","ButtonBorderDangerHovered","ButtonBackgroundDangerTextHovered","ButtonBackgroundDangerPressed","ButtonBorderDangerPressed","ButtonBackgroundTag","ButtonBorderTag","ButtonBackgroundTagText","ButtonBackgroundTagHovered","ButtonBorderTagHovered","ButtonBackgroundTagTextHovered","ButtonBackgroundTagPressed","ButtonBorderTagPressed","fill","splitButtonContainer","borderRight","borderLeft","splitButtonContainerHovered","splitButtonContainerDisabled","splitButtonContainerChecked","splitButtonContainerCheckedHovered","DialogContentStyles","isLargeHeader","content","title","size18","topButton","innerContent","subText","DialogFooterStyles","actions","margin","DocumentCardStyles","DropdownStyles","hasError","isOpen","caretDownWrapper","right","caretDown","dropdown","controlFocus","_b","_c","inputPlaceholderText","_d","dropdownDivider","span","position","dropdownItemsWrapper","dropdownBackground","dropdownItem","dropdownTextHovered","dropdownItemDisabled","dropdownItemSelected","dropdownItemHeader","panel","multiSelectItem","IconButtonStyles","LabelStyles","labelText","LinkStyles","isDisabled","generateBaseStyle","textColor","MessageBarStyles","messageBarType","iconButtonStyles","MessageBarType","severeWarning","statusErrorBackground","statusErrorText","info","statusInformationBackground","statusInformationText","statusSuccessBackground","statusSuccessText","blocked","statusWarningBackground","statusWarningText","dismissSingleLine","dismissal","expand","expandSingleLine","statusErrorIcon","statusInformationIcon","statusSuccessIcon","statusWarningIcon","statusLink","statusErrorBorder","statusDefaultBorder","statusSuccessBorder","statusWarningBorder","statusDefaultBackground","ModalStyles","main","OverlayStyles","isDark","NavStyles","compositeLink","borderNone","PanelStyles","closeButton","headerText","PivotStyles","linkFormat","linkSize","rootIsTabs","rootIsLarge","marginRight","large","transition","marginBottom","linkIsSelected","bodyDivider","ExpandingCardStyles","PlainCardStyles","PrimaryButtonStyles","ProgressIndicatorStyles","progressBar","progressTrack","RatingStyles","readOnly","palette","themePrimary","ratingStarBack","ratingStarFront","ratingButton","SearchBoxStyles","hasFocus","clearButton","SliderStyles","vertical","sliderInActiveHover","sliderActiveHover","sliderActivePressed","activeSection","sliderActiveBackground","sliderDisabledActiveBackground","inactiveSection","sliderDisabledInActiveBackground","slideBox","line","valueLabel","textAlign","SpinButtonStyles","inputTextSelected","SuggestionItemStyles","itemButton","SuggestionsStyles","suggestionsContainer","TagItemStyles","listItemBackgroundCheckedHovered","close","transparent","listHeaderBackgroundPressed","TagPickerStyles","itemsWrapper","TeachingBubbleStyles","bodyContent","teachingBubbleText","size14","footer","header","headline","teachingBubbleBackground","teachingBubbleSecondaryBackground","teachingBubblePrimaryButtonHover","TextFieldStyles","focused","hasErrorMessage","multiline","fieldGroup","textFieldBorderDisabled","prefix","suffix","ToggleStyles","container","radioButtonPillUncheckedHover","radioButtonPillCheckedHover","TooltipStyles","maxWidth","CalendarStyles","calendarBackground","goTodayButton","calendarTextRest","calendarTextHover","CalendarDayGridStyles","lightenDaysOutsideNavigatedMonth","wrapper","dayCell","calendarBackgroundHover","calendarBackgroundSelected","daySelected","weekDayLabelCell","pointerEvents","dayOutsideBounds","dayOutsideNavigatedMonth","dayButton","calendarBackgroundBorder","datesAbove","datesBelow","datesLeft","datesRight","CalendarDayStyles","monthAndYear","headerIconButton","disabledStyle","CalendarMonthStyles","hasHeaderClickCallback","currentItemButton","navigationButton","CalendarYearStyles","AzureStyleSettings","ActionButton","styles","Breadcrumb","Calendar","CalendarDayGrid","CalendarDay","CalendarMonth","CalendarYear","CalloutContent","ColorPicker","ColorRectangle","ColorSlider","CommandBar","CommandBarButton","CompoundButton","Check","Checkbox","ChoiceGroupOption","ColorPickerGridCell","ComboBox","ContextualMenu","DatePicker","DefaultButton","DetailsList","DetailsRow","DialogContent","DialogFooter","DocumentCard","Dropdown","ExpandingCard","IconButton","Label","Link","MessageBar","Modal","Overlay","Nav","Pivot","PlainCard","Panel","PrimaryButton","ProgressIndicator","Rating","Slider","SearchBox","SpinButton","TagPicker","TagItem","SuggestionItem","Suggestions","TeachingBubble","TextField","Toggle","Tooltip","darkExtendedSemanticColors","buttonBackgroundChecked","buttonBackgroundCheckedHovered","ButtonBorderDisabled","buttonTextChecked","buttonTextCheckedHovered","datePickerSelectionBackground","datePickerSelectionText","dropdownItemHover","menuItemBackgroundPressed","noDataColor1","noData2Color","radioButtonPillBorderDisabled","radioButtonPillUncheckedDisabled","radioButtonPillDisabled","radioButtonThumbUnchecked","radioButtonThumbUncheckedDisabled","radioButtonThumbCheckedDisabled","tabHover","statusDisabledIcon","statusLinkHover","statusUpsellBackground","statusUpsellIcon","teachingBubbleBorder","linkBorderStyle","AzureThemeDark","createTheme","fontFamily","size13","neutralPrimary","neutralDark","neutralLighter","neutralLight","neutralLighterAlt","neutralQuaternaryAlt","neutralSecondary","white","isInverted","components","highContrastDarkExtendedSemanticColors","checkBoxIndeterminateDefaultChecked","AzureThemeHighContrastDark","highContrastLightExtendedSemanticColors","AzureThemeHighContrastLight","lightExtendedSemanticColors","AzureThemeLight","size12","size16","size20","size24","size28","size32","size42","size68","borderSolid","buttonPadding","calendarHeightInner","choiceFieldHeight","choiceFieldCircle","commandBarHeight","dropDownItemHeight","fontWeightRegular","inputControlHeight","inputControlHeightInner","inputControlPadding","spinButtonArrowHeight","getScreenSelector","ScreenWidthMaxSmall","ScreenWidthMinMedium","ScreenWidthMaxMedium","textAlignCenter","DayOfWeek","MonthOfYear","FirstWeekOfYear","DateRangeType","DAYS_IN_WEEK","elementContains","parent","child","allowVirtualParents","isContained","nextParent","getParent","contains","findElementRecursive","element","matchFunction","document","_virtual","getVirtualParent","parentNode","portalContainsElement","target","elementMatch","testElement","hasAttribute","DATA_PORTAL_ATTRIBUTE","setPortalAttribute","setAttribute","initializeIcons","baseUrl","options","subset","style","MozOsxFontSmoothing","WebkitFontSmoothing","speak","fontFace","src","GlobalNavButton","ChevronDown","ChevronUp","Edit","Add","Cancel","More","Settings","Mail","Filter","Search","Share","BlockedSite","FavoriteStar","FavoriteStarFill","CheckMark","Delete","ChevronLeft","ChevronRight","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","registerIcons","registerIconAliases","registerIconAlias","setVersion","DEFAULT_BASE_URL","FLUENT_CDN_BASE_URL","win","getWindow","FabricConfig","iconBaseUrl","fontBaseUrl","i0","i1","i2","i3","i4","i5","i6","i7","i8","i9","i10","i11","i12","i13","i14","i15","i16","i17","forEach","initialize","createComponent","view","factoryOptions","defaultProp","ResultComponent","componentProps","settings","displayName","context","fields","DefaultFields","Customizations","getSettings","customizations","_getCustomizations","React","CustomizerContext","stateReducer","state","tokens","_resolveTokens","allStyles","_i","arguments","length","concatStyleSets","apply","map","_resolveStyles","viewProps","_defaultStyles","name","create","createFactory","assign","statics","allTokens","allTokens_1","currentTokens","Array","isArray","__spreadArray","withSlots","type","children","slotType","isSlot","toArray","DefaultComponent","userProps","userSlotOptions","defaultStyles","flattenedUserProps","slotProps","transformedProps","_translateShorthand","finalProps","allProps","classNames","allProps_1","push","className","mergeCss","rtl","getRTL","_constructFinalProps","component","UserComponent","render","defaultFactory","memoizeFunction","getSlots","slots","result","mixedProps","name_1","hasOwnProperty","slot","args","Error","ComponentType","slotOptions","undefined","_renderSlot","setRTL","isRTL","_rtl","documentElement","getAttribute","getStyleOptions","_stylesheet","InjectionMode","STYLESHEET_SETTING","REUSE_STYLE_NODE","navigator","test","userAgent","_global","window","Stylesheet","config","serializedStylesheet","_rules","_preservedRules","_counter","_keyToClassName","_onInsertRuleCallbacks","_onResetCallbacks","_classNameToArgs","this","_config","injectionMode","defaultPrefix","namespace","cspSettings","classNameToArgs","counter","classNameCache","keyToClassName","_e","preservedRules","_f","rules","getInstance","_lastStyleElement","ownerDocument","fabricConfig","stylesheet","mergeStyles","prototype","serialize","JSON","stringify","setConfig","onReset","callback","_this","filter","cb","onInsertRule","getClassName","cacheClassName","key","classNameFromKey","getClassNameCache","argsFromClassName","entry","insertedRulesFromClassName","insertRule","rule","preserve","_getStyleElement","sheet","cssRules","e","appendChild","createTextNode","getRules","includePreservedRules","join","reset","resetKeys","_styleElement","_createStyleElement","requestAnimationFrame","head","styleElement","createElement","nodeToInsertBefore","nonce","nextElementSibling","placeholderStyleTag","_findPlaceholderStyleTag","childNodes","insertBefore","querySelector","styleSets","mergedSet","workingSubcomponentStyles","styleSets_1","currentSet","prop","currentComponentStyles","subCompProp","mergedValue","currentValue","Object","keys","mergedSubStyles","workingSet_1","styleProps","styleFunctionOrObject","concatStyleSetsWithProps","allStyles_1","extractStyleParts","classes","objects","_processArgs","argsList","argsList_1","arg","indexOf","split","translatedArgs","font","serializeRuleEntries","mergeStyleSets","mergeCssSets","classNameSet","concatenatedStyleSet","registrations","styleSetArea","registration","styleToRegistration","registrations_1","applyRegistration","specificityMultiplier","styleArgs","styleToClassName","_vendorSettings","kebabRules","rulePairs","index","charAt","replace","toLowerCase","autoPrefixNames","prefixRules","vendorSettings","doc","nav","isWebkit","isMoz","isOpera","isMs","getVendorSettings","NON_PIXEL_NUMBER_PROPS","provideUnits","isNonPixelProp","isVariableOrPrefixed","unit","LEFT","RIGHT","NO_FLIP","NAME_REPLACEMENTS","VALUE_REPLACEMENTS","rtlifyRules","String","parts","flipQuad","partIndex","numberVal","parseInt","negateNum","DISPLAY_NAME","globalSelectorRegExp","expandSelector","newSelector","currentSelector","extractSelector","selector","__order","extractRules","selectorWithGlobals","replacementInfo","findGlobal","match","exec","v","trim","reverse","reduce","matchIndex","matchEndIndex","replacement","slice","expandCommaSeparatedGlobals","s","separatedSelector","currentRules","args_1","expandedRules","propValue","expandQuads","partStart","parens","substring","tokenizeWithParentheses","p","repeatString","count","ruleEntries","allEntries","splice","serialized","hasProps","rulesForSelector","propName","getKeyForRules","rootStyle","getDisplayName","rulesToInsert","processedRule","focusZoneStyles","IS_FOCUSABLE_ATTRIBUTE","FOCUSZONE_ID_ATTRIBUTE","TABINDEX","NO_VERTICAL_WRAP","NO_HORIZONTAL_WRAP","LARGE_DISTANCE_FROM_CENTER","LARGE_NEGATIVE_DISTANCE_FROM_CENTER","raiseClickFromKeyboardEvent","ev","event","MouseEvent","ctrlKey","metaKey","shiftKey","altKey","bubbles","cancelable","createEvent","initMouseEvent","dispatchEvent","_allInstances","_outerZones","Set","ALLOWED_INPUT_TYPES","ALLOW_VIRTUAL_ELEMENTS","FocusZone","_super","call","_root","_mergedRef","createMergedRef","_onFocus","_portalContainsElement","newActiveElement","onActiveElementChanged","doNotAllowFocusEventToPropagate","stopFocusPropagation","onFocusNotification","onFocus","shouldFocusInnerElementWhenReceivedFocus","defaultTabbableElement","isImmediateDescendant","_isImmediateDescendantOfZone","parentElement","current","isElementTabbable","maybeElementToFocus","_activeElement","initialElementFocused","_setFocusAlignment","_updateTabIndexes","stopPropagation","_onBlur","_setParkedFocus","_onMouseDown","path","pop","_setActiveElement","isElementFocusZone","_onKeyDown","direction","isInnerZoneKeystroke","pagingSupportDisabled","shouldEnterInnerZone","onKeyDown","isDefaultPrevented","_getDocument","activeElement","_isInnerZone","innerZone","_getFirstInnerZone","isElementFocusSubZone","focusElement","getNextElement","firstChild","which","KeyCodes","space","_shouldRaiseClicksOnSpace","_tryInvokeClickForFocusable","FocusZoneDirection","_preventDefaultWhenHandled","_moveFocusLeft","_moveFocusRight","up","horizontal","_moveFocusUp","down","_moveFocusDown","pageDown","_moveFocusPaging","pageUp","tab","allowTabKey","handleTabKey","FocusZoneTabbableElements","all","inputOnly","_isElementInput","focusChanged","_processingTabKey","_shouldWrapFocus","shouldResetActiveElementWhenTabFromZone","home","_isContentEditableElement","_shouldInputLoseFocus","end","lastChild","getPreviousElement","enter","_shouldRaiseClicksOnEnter","preventDefault","_getHorizontalDistanceFromCenter","isForward","activeRect","targetRect","leftAlignment","_focusAlignment","x","targetRectTop","Math","floor","activeRectBottom","targetRectBottom","activeRectTop","abs","initializeComponentRef","_id","getId","shouldRaiseClicksFallback","shouldRaiseClicks","defaultProps","shouldRaiseClicksOnEnter","shouldRaiseClicksOnSpace","__extends","getOuterZones","size","_onKeyDownCapture","zone","componentDidMount","nodeType","add","addEventListener","defaultActiveElement","shouldFocusOnMount","componentDidUpdate","_defaultFocusElement","preventFocusRestoration","_lastIndexPath","elementToFocus","getFocusableByIndexPath","componentWillUnmount","delete","removeEventListener","tag","as","elementType","rootProps","ariaDescribedBy","ariaLabelledBy","divProps","getNativeProps","htmlElementProperties","_evaluateFocusBeforeRender","getTheme","css","ref","elementRef","onMouseDownCapture","forceIntoFirstElement","bypassHiddenElements","ownerZoneElement","_getOwnerZone","ownerZone","isElementVisibleAndNotHidden","focusLast","forceAlignment","onBeforeFocus","shouldReceiveFocus","setFocusAlignment","point","defineProperty","focusedElement","shouldRestoreFocus","getElementIndexPath","isParked","_isParked","allowFocusRoot","_parkedTabIndex","removeAttribute","previousActiveElement","tabIndex","preventDefaultWhenHandled","targetElement","tagName","rootElement","firstElementChild","_moveFocus","getDistanceFromCenter","useDefaultWrap","candidateDistance","candidateElement","changedFocus","isBidirectional","bidirectional","getBoundingClientRect","elementDistance","isCircularNavigation","lastElementChild","targetTop","distance","shouldWrap","parseFloat","toFixed","scrollableParent","findScrollableParent","targetBottom","pagesize","clientHeight","isHorizontal","isVertical","rect","top_1","childIndex","selectionStart","isRangeSelected","selectionEnd","inputValue","isReadonly","shouldInputLoseFocusOnArrowKey","noWrapDataAttribute","checkForNoWrap","shouldWrapFocus","getDocument","none","useAsync","asyncRef","Async","dispose","useConst","initialValue","useControllableValue","controlledValue","defaultUncontrolledValue","onChange","setValue","isControlled","valueRef","onChangeRef","setValueOrCallOnChange","update","newValue","useId","providedId","useMergedRefs","refs","mergedCallback","refs_1","useOnEvent","eventName","useCapture","callbackRef","actualElement","on","usePrevious","useRef","useEffect","useTarget","hostElement","previousTargetProp","targetRef","targetWindow","useWindow","currentElement","currentDoc","WindowContext","useDocument","DirectionalHint","topLeftEdge","topCenter","topRightEdge","topAutoEdge","bottomLeftEdge","bottomCenter","bottomRightEdge","bottomAutoEdge","leftTopEdge","leftCenter","leftBottomEdge","rightTopEdge","rightCenter","rightBottomEdge","getClassNames","classNamesFunction","AnnouncedBase","message","Root","role","divProperties","DelayedRender","screenReaderText","Announced","styled","hiddenContentStyle","getStyles","customStyles","baseButtonStyles","getBaseButtonStyles","actionButtonStyles","HighContrastSelector","iconHovered","black","iconPressed","themeDarker","neutralTertiary","iconChecked","flexContainer","justifyContent","themeDarkAlt","iconDisabled","textContainer","flexGrow","BaseButton","variantClassName","onRenderDescription","nullRender","__decorate","customizable","ButtonGlobalClassNames","msButton","msButtonHasMenu","msButtonIcon","msButtonMenuIcon","msButtonLabel","msButtonDescription","msButtonScreenReaderText","msButtonFlexContainer","msButtonTextContainer","getBaseButtonClassNames","iconClassName","menuIconClassName","hasMenu","expanded","isSplit","getGlobalClassNames","isExpanded","iconExpandedHovered","menuIconExpandedHovered","rootHasMenu","labelHovered","descriptionHovered","menuIconHovered","descriptionPressed","menuIconPressed","iconExpanded","labelChecked","labelDisabled","menuIconChecked","menuIconDisabled","menuIconExpanded","description","descriptionChecked","descriptionDisabled","ContextualMenuItemType","ImageIcon","imageProps","nativeProps","altText","alt","hasName","imageNameProps","containerProps","MS_ICON","image","Image","componentAsMemoizer","createMemoizer","outer","Outer","inner","Inner","innerMemoizer","defaultRender","innerProps","outerProps","composeComponentAs","getIsChecked","canCheck","isChecked","hasSubmenu","subMenuProps","items","isItemDisabled","getMenuItemAriaRole","defaultIconRenderer","iconProps","Icon","renderItemIcon","hasIcons","onRenderIcon","renderCheckMarkIcon","onCheckmarkClick","isItemChecked","iconName","checkmarkIcon","onClick","renderItemName","renderSecondaryText","secondaryText","renderSubMenuIcon","submenuIconProps","subMenuIcon","ContextualMenuItemBase","openSubMenu","getSubmenuTarget","submenuTarget","dismissSubMenu","dismissMenu","dismissAll","renderContent","onRenderContent","_renderLayout","linkContentMenu","linkContent","defaultRenders","getDividerClassNames","alignItems","neutralTertiaryAlt","CONTEXTUAL_MENU_ITEM_HEIGHT","MediumScreenSelector","getMenuItemStyles","ContextualMenuItemBackgroundHoverColor","ContextualMenuItemTextHoverColor","menuItemTextHovered","ContextualMenuItemBackgroundSelectedColor","ContextualMenuItemDividerColor","menuItemStyles","boxSizing","cursor","themeDark","bodyTextChecked","getHighContrastNoAdjustStyle","whiteSpace","anchorLink","textRendering","letterSpacing","wordSpacing","textTransform","textIndent","textShadow","overflow","minHeight","maxHeight","IconFontSizes","flexShrink","bodySubtext","small","splitButtonFlexContainer","flexWrap","CONTEXTUAL_SPLIT_MENU_MINWIDTH","getSplitButtonVerticalDividerClassNames","GlobalClassNames","splitMenu","getItemClassNames","isAnchorLink","knownIcon","itemClassName","dividerClassName","subMenuClassName","primaryDisabled","IsFocusVisibleClassName","flexBasis","splitContainer","visibility","getItemStyles","ContextualMenuItem","scope","ContextualMenuItemWrapper","_onItemMouseEnter","onItemMouseEnter","currentTarget","_onItemClick","onItemClickBase","_onItemMouseLeave","onItemMouseLeave","_onItemKeyDown","onItemKeyDown","_onItemMouseMove","onItemMouseMove","_getSubmenuTarget","shouldComponentUpdate","newProps","shallowCompare","sequencesToID","keySequences","prevValue","keySequence","KTP_SEPARATOR","KTP_PREFIX","useKeytipData","uniqueId","keytipProps","keytipManager","KeytipManager","prevOptions","useIsomorphicLayoutEffect","register","unregister","nativeKeytipProps","keytipId","describedByPrepend","newKeytipProps","addParentOverflow","mergeAriaAttributeValues","describedby","KTP_LAYER_ID","getAriaDescribedBy","overflowSetSequence","overflowKeySequences","overflowSequenceLen","overflowSequence","newKeySequences","addElementAtIndex","mergeOverflows","getKeytipData","KeytipData","__rest","DATAKTP_TARGET","DATAKTP_EXECUTE_TARGET","ContextualMenuAnchor","_anchor","_getMemoizedMenuButtonKeytipProps","onItemClick","_renderAriaDescription","ariaDescription","id","_ariaDescriptionId","focusableElementIndex","totalItemCount","hasCheckmarks","expandedMenuItemKey","ChildrenRenderer","contextualMenuItemAs","anchorRel","rel","itemHasSubmenu","anchorProperties","itemProps","ariaDescribedByIds","additionalItemProperties","keytipAttributes","href","onMouseEnter","onMouseLeave","onMouseMove","componentRef","VerticalDividerBase","deprecatedGetClassNames","VerticalDivider","names","ContextualMenuSplitButton","_executeItemClick","_splitButton","_onItemMouseEnterPrimary","_onItemMouseEnterIcon","_onItemMouseMovePrimary","_onItemMouseMoveIcon","_onIconItemClick","executeItemClick","_processingTouch","_onTouchStart","_handleTouchAndPointerEvent","_onPointerDown","pointerType","stopImmediatePropagation","_async","_events","EventGroup","_dismissLabelId","ariaChecked","splitButton","ariaLabel","bind","onTouchStart","_renderSplitPrimaryButton","_renderSplitDivider","_renderSplitIconButton","data","itemComponentProps","buttonProperties","onItemMouseDown","buttonProps","onMouseDown","onTap","_lastTouchTimeoutId","clearTimeout","setTimeout","ContextualMenuButton","_btn","defaultRole","buttonNativeProperties","itemRole","itemButtonProperties","MenuContext","getContextualMenuItemClassNames","DEFAULT_PROPS","gapSpace","directionalHint","beakWidth","getItemCount","items_1","itemType","Divider","Header","customOnRenderListLength","getSubmenuItems","overrideItems","items_2","subItem","preferMenuTargetAsEventTarget","contextItem","getOnClickWithOverrideTarget","COMPONENT_NAME","_getMenuItemStylesFunction","useSubMenuState","dismiss","hidden","menuTarget","setExpandedMenuItemKey","setSubmenuTarget","shouldFocusOnContainer","setShouldFocusOnContainer","subMenuId","closeSubMenu","focusContainer","submenuItemKey","onSubMenuDismiss","isMountedRef","useOnSubmenuDismiss","findItemByKeyFromItems","submenuProps","onDismiss","isSubMenu","isBeakVisible","useKeyHandlers","focusZoneProps","focusZoneDirection","lastKeyDownWasAltOrMeta","keyHandler","shouldHandleKey","dismissAllMenus","handled","shouldHandleKeyDown","escape","submenuCloseKey","shouldCloseSubMenu","isAltOrMeta","isMac","isIOS","shouldHandleKeyUp","keyPressIsAltOrMetaAlone","hasModifier","isUp","isDown","getLastFocusable","getFirstFocusable","openKey","ContextualMenuBase","propsWithoutDefaults","forwardedRef","getPropsWithDefaults","asyncTracker","menuId","tryFocusPreviousActiveElement","onRestoreFocus","documentContainsFocus","originalElement","containsFocus","newElement","usePreviousActiveElement","getSubmenuProps","delayUpdateFocusOnHover","shouldUpdateFocusOnMouseEvent","gotMouseMove","onMenuFocusCapture","useShouldUpdateFocusOnMouseMove","isScrollIdle","scrollIdleTimeoutId","useScrollHandler","onScroll","_g","subMenuHoverDelay","enterTimerRef","cancelSubMenuTimer","onTimerExpired","useSubmenuEnterTimer","startSubmenuTimer","subMenuEntryTimer","responsiveMode","useResponsiveMode","onMenuDismissed","onMenuOpened","previousHidden","onMenuOpenedRef","onMenuClosedRef","propsRef","useVisibility","_h","onKeyUp","onMenuKeyDown","_j","shouldIgnoreMouseEvent","updateFocusOnMouseEvent","nativeEvent","overrideTarget","shouldDismiss","defaultPrevented","setActive","useMouseHandlers","onItemMouseEnterBase","onItemMouseMoveBase","onMouseItemLeave","onAnchorClick","onDefaultRenderMenuList","menuListProps","menuClassNames","indexCorrection","renderMenuItem","indexIncrease","itemClassNames","renderedItems","subMenuIconClassName","renderSeparator","headerItem","renderHeaderMenuItem","renderListItem","Section","renderSectionItem","defaultRenderNormalItem","renderNormalItem","onRenderContextualMenuItem","sectionItem","sectionProps","groupProps","headerContextualMenuItem","ariaLabelledby","id_1","id_2","correctedIndex_1","topDivider","contextualMenuItem","itemsIndex","bottomDivider","fromSection","onRender","commonProps","ContextualMenuAnchorAs","contextualMenuItemWrapperAs","ContextualMenuSplitButtonAs","ContextualMenuButtonAs","divHtmlProperties","labelElementId","directionalHintForRTL","alignTargetEdge","coverTarget","doNotLayer","bounds","useTargetWidth","useTargetAsMinWidth","directionalHintFixed","calloutProps","_k","onRenderSubMenu","onDefaultRenderSubMenu","_l","onRenderMenuList","getMenuClassNames","itemsHaveIcons","contextualMenuItems","contextualMenuItems_1","contextMenuStyle","adjustedFocusZoneProps","some","submenuItem","canAnyMenuItemsCheck","ResponsiveMode","targetAsHtmlElement","offsetWidth","targetWidth","totalItemCount_1","calloutStyles_1","Consumer","menuContext","Callout","setInitialFocus","onFocusCapture","focusZoneAs","renderFocusZone","defaultMenuItemRenderer","FocusRects","prevProps","shouldUpdateWhenHidden","items_3","persist","Event","Element","isopen","LocalContextualMenu","effects","menuBackground","listStyleType","semibold","menuHeader","userSelect","mediumPlus","elevation8","composeRenderFunction","getSplitButtonClassNames","splitButtonMenuFocused","splitButtonContainerFocused","splitButtonMenuIconDisabled","splitButtonDivider","splitButtonDividerDisabled","_buttonElement","_splitButtonContainer","_renderedVisibleMenu","_onRenderIcon","_classNames","FontIcon","_onRenderTextContents","onRenderText","_onRenderText","_onRenderDescription","_hasText","_labelId","_onRenderChildren","_descriptionId","_onRenderAriaDescription","_onRenderMenuIcon","menuIconProps","_onRenderMenu","menuProps","MenuType","menuAs","_onDismissMenu","_dismissMenu","_menuShouldFocusOnMount","_menuShouldFocusOnContainer","setState","menuHidden","_openMenu","_onToggleMenu","_onSplitContainerFocusCapture","_onSplitButtonPrimaryClick","singleTouchTarget","_onMenuClick","_onMenuKeyDown","_onKeyUp","_onKeyPress","onKeyPress","_onMouseUp","onMouseUp","_onClick","_onSplitButtonContainerKeyDown","click","_isValidMenuOpenKey","onMenuClick","setFocusVisibility","registeredProviders","forceUpdate","_isSplitButton","warnConditionallyRequiredProps","warnDeprecations","toggled","ariaHidden","allowDisabledFocus","isPrimaryButtonDisabled","renderAsAnchor","resolvedAriaLabel","dataIsFocusable","isCheckboxTypeRole","checkedOrPressedValue","_onRenderSplitButtonContent","_onRenderContent","onPointerUp","prevState","onAfterMenuDismiss","openMenu","onRenderAriaDescription","onRenderChildren","onRenderMenu","onRenderMenuIcon","Button","_shouldRenderMenu","_getMenuProps","Content","persistMenu","renderPersistedMenuHiddenOnMount","primaryActionButtonProps","getBaseSplitButtonClassNames","onPointerDown","SplitButton","_onRenderSplitButtonMenuButton","_onRenderSplitButtonDivider","splitButtonMenuProps","splitButtonAriaLabel","splitButtonProps","menuTriggerKeyCode","baseClassName","contextType","FocusRectsContext","noOutline","iconStyle","buttonBorder","disabledText","buttonHighContrastFocus","highContrastStyle","roundedCorner2","splitButtonDividerBaseStyles","standardStyles","primaryStyles","focusInset","focusColor","baseSplitButtonStyles","getSplitButtonStyles","commandButtonStyles","disabledBodySubtext","borderTopRightRadius","borderBottomRightRadius","_m","_o","_p","CommandButton","splitButtonStyles","compoundButtonStyles","flexDirection","standardCompoundTheme","primaryCompoundTheme","defaultButtonStyles","borderLeftWidth","neutralSecondaryAlt","marginLeft","marginTop","DEFAULT_DATE_FORMATTING","formatDay","date","getDate","toString","formatMonth","strings","months","getMonth","formatYear","getFullYear","formatMonthDayYear","formatMonthYear","DEFAULT_CALENDAR_STRINGS","shortMonths","days","shortDays","goToToday","weekNumberFormatString","prevMonthAriaLabel","nextMonthAriaLabel","prevYearAriaLabel","nextYearAriaLabel","prevYearRangeAriaLabel","nextYearRangeAriaLabel","closeButtonAriaLabel","selectedDateFormatString","todayDateFormatString","monthPickerHeaderAriaLabel","yearPickerHeaderAriaLabel","dayMarkedAriaLabel","TimeConstants","MillisecondsInOneDay","MillisecondsIn1Sec","MillisecondsIn1Min","MillisecondsIn30Mins","MillisecondsIn1Hour","MinutesInOneDay","MinutesInOneHour","DaysInOneWeek","MonthInOneYear","HoursInOneDay","SecondsInOneMinute","OffsetTo24HourFormat","TimeFormatRegex","addDays","Date","getTime","setDate","addWeeks","weeks","addMonths","newMonth","setMonth","addYears","years","setFullYear","getMonthStart","getMonthEnd","month","compareDates","date1","date2","compareDatePart","getDatePartHashValue","getDateRangeArray","dateRangeType","firstDayOfWeek","workWeekDays","daysToSelectInDayView","startDate","datesArray","endDate","Monday","Tuesday","Wednesday","Thursday","Friday","max","Day","getDatePart","Week","WorkWeek","daysOffset","getDay","getStartDateOfWeek","Month","nextDate","isInDateRangeArray","dateRange","dateRange_1","getWeekNumbersInMonth","weeksInMonth","firstWeekOfYear","navigatedDate","selectedYear","selectedMonth","dayOfMonth","fistDayOfMonth","endOfFirstWeek","dateWeekDay","Sunday","adjustWeekDay","endOfWeekRange","weeksArray","getWeekNumber","FirstFullWeek","getWeekOfYearFullDays","FirstFourDayWeek","num","getDayOfYear","num2","num3","getFirstDayWeekOfYear","numberOfFullDays","dayOfYear","daysInYear","December","year","daysUntilDate","daysInMonth","FORMAT_ARGS_REGEX","FORMAT_REGEX","format","values","getDateRangeTypeToUse","isSingleWeek","daySet","amountOfNoNeighbors","days_1","nextDay","has","isContiguous","getBoundedDateRange","minDate","maxDate","boundedDateRange","isBeforeMinDate","isAfterMaxDate","isRestrictedDate","restrictedDates","rd","CalendarMonthHeaderRow","showWeekNumbers","allFocusable","weeksToShow","dayLabels","firstOfMonthIndex","findIndex","day","originalDate","firstOfMonthIndexOffset","val","findAvailableDate","targetDate","initialDate","restrictedDateOptions","availableDate","CalendarGridDayCell","dateTimeFormatter","activeDescendantId","navigatedDayRef","calculateRoundedStyles","dayIndex","weekIndex","weekCorners","customDayCellRef","onSelectDate","onNavigateDate","getDayInfosInRangeOfDay","getRefsFromDayInfos","cornerStyle","isNavigatedDate","isMarked","isInBounds","isInMonth","setRef","onSelected","onMouseOver","dayInfos","dayRefs","dayRef","classList","remove","bottomLeftCornerDate","bottomRightCornerDate","topLeftCornerDate","topRightCornerDate","classNamesToAdd","onMouseOut","getRTLSafeKeyCode","findAvailableDateOptions","week","dayToCompare","navigateMonthEdge","isToday","dayIsToday","dayMarker","CalendarGridRow","rowClassName","ariaRole","weekNumbers","titleString","weekNumberCell","useWeeks","getSetRefCallback","weeksGrid","selectedDate","today","markedDays","todaysDate","isAllDaysOfWeekOutOfMonth","selectedDateRangeType","selectedDates","shouldGetWeeks","dayInfo","markedDay","getDayGrid","firstVisibleDay","lastVisibleDay","getMarkedDays","returnValue","CalendarDayGridBase","daysRef","dayKey","useDayRefs","restrictedDatesOptions","d","animateBackwards","previousNavigatedDate","useAnimateBackwards","above","below","roundedTopRight","roundedBottomLeft","roundedBottomRight","calculateBorderStyles","isInSameHoverRange","date1Selected","date2Selected","initialWeeks","weekCornersStyled","useWeekCornerStyles","getWeekCornerStyles","labelledBy","animationDirection","partialWeekProps","dateRangeHoverType","sortedWWDays","sort","accumulatedValue","currentWeek","weekDay","dayInfosInRange","firstTransitionWeek","weekRow","lastTransitionWeek","AnimationDirection","hoverStyle","pressedStyle","dayIsTodayStyle","daySelectedStyle","transitionRowDisappearance","keyframes","rowAnimationStyle","Horizontal","AnimationStyles","slideRightIn20","slideLeftIn20","slideDownIn20","slideUpIn20","firstTransitionRowAnimationStyle","lastTransitionRowAnimationStyle","animationName","slideUpOut20","slideDownOut20","borderCollapse","borderSpacing","tableLayout","zIndex","fadeIn200","borderTopLeftRadius","borderBottomLeftRadius","CalendarDayBase","dayGrid","onHeaderSelect","showSixWeeksByDefault","monthAndYearId","headerIsClickable","HeaderButtonComponentType","headerAriaLabel","onButtonKeyDown","CalendarDayNavigationButtons","navigationIcons","showCloseButton","onSelectNextMonth","onSelectPrevMonth","leftNavigationIcon","leftNavigation","rightNavigationIcon","rightNavigation","closeNavigationIcon","closeIcon","prevMonthInBounds","nextMonthInBounds","monthComponents","forcedColorAdjust","normalize","alignSelf","highlightCurrent","highlightSelected","animationStyle","headerAnimationStyle","headerContainer","navigationButtonsContainer","gridContainer","buttonRow","themeLight","getPickerStyles","defaultCalendarNavigationIcons","CELL_COUNT","DefaultCalendarYearStrings","prevRangeAriaLabel","nextRangeAriaLabel","CalendarYearGridCell","highlightCurrentYear","highlightSelectedYear","onSelectYear","onRenderYear","buttonRef","CalendarYearNavDirection","CalendarYearGrid","fromYear","toYear","minYear","maxYear","selectedCellRef","currentCellRef","renderCell","yearToRender","gridAriaLabel","cells","j","cellRow","CalendarYearNavArrow","onSelectPrev","onSelectNext","Previous","newRangeOffset","ariaLabelString","onNavigate","isLeftNavigation","Next","CalendarYearNav","CalendarYearTitle","rangeAriaLabel","headerAriaLabelFormatString","currentDateRange","CalendarYearHeader","onRenderTitle","CalendarYearBase","navigatedYear","rangeYear","previousFromYear","setFromYear","useYearRangeState","onNavNext","onNavPrevious","gridRef","yearPickerHidden","CalendarMonthBase","navigatedMonthRef","calendarYearRef","focusOnUpdate","useFocusLogic","focusOnNextUpdate","isYearPickerVisible","setIsYearPickerVisible","currentYear","previousYear","highlightCurrentMonth","highlightSelectedMonth","selectMonthCallback","onSelectMonth","onSelectNextYear","onSelectPrevYear","dateFormatter","isPrevYearInBounds","isNextYearInBounds","getYearEnd","yearToString","yearFormattingDate","yearRangeToString","yearRange","yearRangeToNextDecadeLabel","yearRangeToPrevDecadeLabel","getYearStrings","yearStrings","newNavigationDate","rowIndexes","yearString","rowNum","monthsForRow","monthIndex","indexedMonth","isNavigatedMonth","isSelectedMonth","isSelectedYear","isCurrentMonth","MIN_SIZE_FORCE_OVERLAY","defaultWorkWeekDays","isMonthPickerVisible","isDayPickerVisible","showMonthPickerAsOverlay","showGoToToday","FirstDay","CalendarBase","setSelectedDate","navigatedDay","setNavigatedDay","navigatedMonth","setNavigatedMonth","lastSelectedDate","setLastSelectedDate","valueOf","selectedDateRangeArray","useDateState","onDateSelected","navigateDay","navigateMonth","getShowMonthPickerAsOverlay","setIsMonthPickerVisible","setIsDayPickerVisible","useVisibilityState","toggleDayMonthPickerVisibility","dayPicker","monthPicker","focusAsync","renderGoToTodayButton","goTodayEnabled","onGotoToday","calendarDayProps","calendarMonthProps","monthPickerOnly","overlaidWithButton","overlayedWithButton","todayDateString","selectedDateString","dateStringFormatter","selectionAndTodayString","backspace","liveRegion","focusOnNavigatedDay","monthPickerWrapper","innerWidth","totalWidth","Rectangle","equals","_createPositionData","targetEdge","alignmentEdge","isAuto","DirectionalDictionary","RectangleEdge","_isRectangleWithinBounds","boundingRect","_getOutOfBoundsEdges","outOfBounds","_getEdgeValue","edge","_setEdgeValue","_getCenterValue","edges","_getFlankingEdges","positiveEdge","negativeEdge","_getRelativeEdgeValue","_getRelativeRectEdgeValue","_getRelativeEdgeDifference","hostRect","_moveEdge","maintainSize","difference","returnRect","_alignEdges","gap","_isEdgeInBounds","_getOutOfBoundsDegree","total","breakingEdges_1","pow","_adjustFitWithinBounds","bounding","positionData","elementEstimate","elementRectangle","directions","oobDegree","currentEstimate","currentEdge","currentAlignment","bestEdge","bestAlignment","currentOOBDegree","_estimatePosition","_flipToFit","fixedEdge","flippedElementEstimate","oppositeEdge","_flipAlignmentEdge","_alignOutOfBoundsEdges","outOfBoundsEdges","preserveEdge","outOfBoundsEdges_1","edgeAttempt","forcedInBounds","_centerEdgeToPoint","elementToPosition","estimatedElementPosition","elementEdge","adjustedGap","_alignOppositeEdges","_finalizeReturnEdge","returnEdge","_finalizeElementPosition","doNotFinalizeReturnEdge","forceWithinBounds","_getRectangleFromElement","_isEdgeOnBounds","_calculateActualBeakWidthInPixels","sqrt","_getPositionData","previousPositions","positionInformation","getClosestEdge","targetCenter","boundingCenter","_positionElementWithinBounds","_finalizeBeakPosition","elementPosition","positionedBeak","showBeak","targetRectangle","closestEdge","hideBeak","_positionBeak","beakTargetPoint","elementBounds","beakPosition","clientRect","_getRectangleFromIRect","_positionElementRelative","clientX","clientY","rectOrPoint","y","outOfBounds_1","_getTargetRect","_getAlignmentData","positionedElement","_finalizePositionData","_positionCallout","positionProps","getScrollbarWidth","innerHeight","finalizedBeakPosition","positionCard","_positionCard","ANIMATIONS","AnimationClassNames","slideUpIn10","slideDownIn10","slideLeftIn10","slideRightIn10","BEAK_ORIGIN_POSITION","OFF_SCREEN_STYLE","ARIA_ROLE_ATTRIBUTES","preventDismissOnLostFocus","preventDismissOnScroll","preventDismissOnResize","minPagePadding","disableCaching","usePositions","calloutElement","getBounds","positions","setPositions","positionAttempts","previousTarget","async","finalHeight","calloutMaxHeight","onPositioned","timerId_1","prevElementPositions","newElementPosition","currentProps","dupeCalloutElement","cloneNode","newPositions","positionCallout","removeChild","comparePositions","cancelAnimationFrame","CalloutContentBase","calloutWidth","calloutMaxWidth","calloutMinWidth","hideOverflow","onLayerMounted","popupProps","setCalloutElement","calloutCallback","calloutEl","rootRef","targetWindowResized","setTargetWindowResized","cachedBounds","currentBounds","segments","getWindowSegments","segments_1","segment","_getBoundsFromTargetWindow","getBoundsFromTargetWindow","debounce","leading","useBounds","setMaxHeight","calculatedHeight","topBounds","bottomBounds","useMaxHeight","dismissOnTargetClick","shouldDismissOnWindowFocus","preventDismissOnEvent","isMouseDownOnPopup","mouseDownHandlers","positionsExists","dismissOnScroll","dismissOnClickOrScroll","dismissOnResize","dismissOnLostFocus","eventPaths","composedPath","isEventTargetOutsideCallout","dismissOnTargetWindowBlur","relatedTarget","disposablesPromise","Promise","resolve","disposables_1","then","useDismissHandlers","mouseDownOnPopup","mouseUpOnPopup","isForcedInBounds","cssPositions","hasPositions","timerId_2","focusFirstChild","useAutoFocus","overflowYHidden","beakVisible","overflowStyle","overflowY","visibilityStyle","getBeakPosition","beakCurtain","Popup","previousProps","nextProps","beakPositionStyle","newElementPositions","oldPositionEdge","newPositionEdge","getBeakStyle","ZIndexes","Layer","elevation16","focusClear","transform","overflowX","layerProps","imageSize","ChoiceGroupOptionBase","itemKey","required","imageSrc","imageIsLarge","inputProperties","defaultOnRenderLabel","labelId","defaultOnRenderField","imageAlt","selectedImageSrc","onRenderLabel","htmlFor","innerField","imageWrapper","selectedImageWrapper","iconWrapper","labelWrapper","onRenderField","choiceFieldWrapper","evt","onBlur","choiceFieldTransitionDuration","choiceFieldTransitionTiming","getChoiceGroupFocusStyle","focusBorderColor","hasIconOrImage","getImageWrapperStyle","isSelectedImageWrapper","transitionProperty","transitionDuration","transitionTimingFunction","circleBorderColor","circleHoveredBorderColor","circleCheckedBorderColor","inputBackgroundChecked","circleCheckedHoveredBorderColor","circleDisabledBorderColor","circleBackgroundColor","dotUncheckedHoveredColor","dotCheckedColor","dotCheckedHoveredColor","dotDisabledColor","labelHoverFocusColor","iconOrImageChoiceBorderUncheckedHoveredColor","iconOrImageChoiceBorderCheckedColor","iconOrImageChoiceBorderCheckedHoveredColor","iconOrImageChoiceBackgroundColor","fieldHoverOrFocusProperties","enabledFieldWithImageHoverOrFocusProperties","circleAreaProperties","dotAreaProperties","choiceFieldSize","radioButtonSpacing","labelWrapperLineHeight","getOptionId","option","findOption","find","focusSelectedOption","keyChecked","focusProviders","optionToFocus","getElementById","ChoiceGroupBase","defaultSelectedKey","optionsContainIconOrImage","selectedKey","setKeyChecked","keyFocused","setKeyFocused","mergedRootRefs","focusContext","checkedOption","useComponentRef","useFocusRects","onOptionChange","onRadioFocus","HTMLElement","dataset","isFocusTrapZoneBumper","focusFromFocusTrapZone","ChoiceGroup","SelectableOptionMenuItemType","PanelType","DropdownSizePosCache","_size","updateOptions","displayOnlyOptionsCache","notSelectableOptionsCache","DropdownMenuItemType","_displayOnlyOptionsCache","_notSelectableOptionsCache","_cachedOptions","positionInSet","offset","OverlayBase","allowTouchBodyScroll","_allowTouchBodyScroll","disableBodyScroll","enableBodyScroll","isDarkThemed","rootDark","isNone","whiteTranslucent40","blackTranslucent40","PanelVisibilityState","PanelBase","_panel","_animationCallback","_hasCustomNavigation","onRenderNavigation","onRenderNavigationContent","isActive","_allowScrollOnPanel","elt","allowOverscrollOnElement","allowScrollOnElement","off","_scrollableContent","_onRenderNavigation","hasCloseButton","_onRenderNavigationContent","navigation","onRenderHeader","_onRenderHeader","_headerTextId","_onPanelClick","headerTextId","headerTextProps","_onRenderBody","_onRenderFooter","onRenderFooterContent","footerInner","_animateTo","newVisibilityState","open","onOpen","_onTransitionComplete","_clearExistingAnimationTimer","_updateFooterPosition","onOpened","closed","onDismissed","ignoreExternalFocusing","forceFocusInsideTrap","firstFocusableSelector","isFooterSticky","getDerivedStateFromProps","animatingClosed","animatingOpen","_shouldListenForOuterClick","_dismissOnOuterClick","previousState","shouldListenOnOuterClick","previousShouldListenOnOuterClick","elementToFocusOnDismiss","focusTrapZoneProps","headerClassName","isBlocking","isFooterAtBottom","isLightDismiss","isHiddenOnDismiss","overlayProps","customWidth","onLightDismissClick","onRenderBody","onRenderFooter","isLeft","smallFixedNear","customNear","isOnRightSide","customWidthStyles","custom","isAnimating","focusTrapZoneClassName","hasCustomNavigation","hiddenPanel","enableAriaHiddenSiblings","FocusTrapZone","isClickableOutsideFocusTrap","contentInner","scrollableContent","commands","innerHeight_1","scrollHeight","onOuterClick","smallFixedFar","smallFluid","largeFixed","extraLarge","panelWidth","panelMargin","smallPanelSelectors","mediumPanelSelectors","ScreenWidthMinLarge","ScreenWidthMinXLarge","largePanelSelectors","ScreenWidthMinUhfMobile","ScreenWidthMinXXLarge","largeFixedPanelSelectors","extraLargePanelSelectors","getPanelBreakpoints","sharedPaddingStyles","isCustomPanel","fadeIn100","fadeOut100","elevation64","WebkitOverflowScrolling","slideRightIn40","slideLeftIn40","slideLeftOut40","slideRightOut40","xLarge","overflowWrap","wordWrap","wordBreak","hyphens","AnimationVariables","durationValue3","easeFunction2","borderTopColor","getAllSelectedOptions","selectedIndices","selectedOptions","selectedIndices_1","CheckboxBase","inputProps","ariaPositionInSet","ariaSetSize","checkmarkIconProps","boxSide","inputRef","defaultChecked","setIsChecked","defaultIndeterminate","isIndeterminate","setIsIndeterminate","reversed","isUsingCustomLabelRender","defaultLabelRenderer","checkboxProps","setNativeIndeterminate","setIndeterminate","checkBoxRef","mergedInputProps","MS_CHECKBOX_LABEL_SIZE","MS_CHECKBOX_TRANSITION_DURATION","MS_CHECKBOX_TRANSITION_TIMING","checkmarkFontColor","inputForegroundChecked","checkmarkFontColorHovered","checkboxBorderColor","checkboxBorderIndeterminateColor","checkboxBorderColorChecked","checkboxBorderColorDisabled","checkboxBorderHoveredColor","checkboxBorderIndeterminateHoveredColor","inputBackgroundCheckedHovered","checkboxBackgroundCheckedHovered","checkboxBorderColorCheckedHovered","checkboxHoveredTextColor","inputTextHovered","checkboxBackgroundDisabledChecked","checkboxTextColor","checkboxTextColorDisabled","indeterminateDotStyles","outlineOffset","_q","_r","_s","_t","DropdownBase","mergedRootRef","selectedKeyPropToUse","defaultSelectedKeys","selectedKeys","multiSelect","oldOptions","setSelectedIndices","didOptionsChange","oldSelectedKeyProp","getAllSelectedIndices","getSelectedIndex","searchKey","selectedIndex","selectedKeyPropToUse_1","getSelectedIndexes","useSelectedItemsState","DropdownInternal","hoisted","_host","_focusZone","_dropDown","_scrollIdleDelay","_sizePosCache","_requestAnimationFrame","activeTimeouts","extendComponent","timeoutId","safeRequestAnimationFrame","_onChange","onChanged","changedOpt","_getPlaceholder","placeHolder","_getTitle","_unused","multiSelectDelimiter","_onRenderTitle","_onRenderPlaceholder","_onRenderContainer","panelProps","dropdownWidth","isSmall","firstFocusableTarget","_listId","panelStyles","clientWidth","_onDismiss","_renderFocusableList","_onScroll","_onPositioned","_onRenderCaretDown","_onRenderList","onRenderItem","_onRenderItem","queue","renderedList","emptyQueue","newGroup","placeRenderedOptionIntoQueue","_renderSeparator","_renderHeader","_renderOption","onRenderOption","_onRenderOption","isItemSelected","dropdownItemHidden","dropdownItemSelectedAndDisabled","multiSelectItemStyles","_onMouseItemLeave","_onRenderItemLabel","optionSetSize","dropdownOptionText","_onRenderMultiselectOption","_hasBeenPositioned","calloutRenderEdge","setSelectedIndex","_isScrollIdle","_scrollIdleTimeoutId","_shouldIgnoreMouseEvent","_onDropdownBlur","_isDisabled","_onDropdownKeyDown","_lastKeyDownWasAltOrMeta","_isAltOrMeta","newIndex","containsExpandCollapseModifier","_moveIndex","_onDropdownKeyUp","_shouldHandleKeyUp","_onZoneKeyDown","document_1","_onZoneKeyUp","_onDropdownClick","_shouldOpenOnFocus","_isFocusedByClick","_onDropdownMouseDown","_onRenderLabel","labelStyles","_optionId","_gotMouseMove","propStyles","onRenderContainer","onRenderCaretDown","onRenderPlaceholder","onRenderPlaceHolder","cachedOptions","errorMessageId","hasLabel","isRenderingPlaceholder","panelClassName","calloutClassName","shouldOpenOnFocus","notifyOnReselect","newIndexes","min","_copyArray","array","newArray","array_1","stepValue","stepCounter","onRenderList","dropdownItems","separatorClassName","dropdownDividerHidden","dropdownItemHeaderHidden","openOnKeyboardFocus","titleIsPlaceHolder","titleHasError","highContrastAdjustMixin","HighContrastSelectorWhite","highContrastItemAndTitleStateMixin","highContrastBorderState","MinimumScreenSelector","globalClassnames","rootHoverFocusActiveSelectorNeutralDarkMixin","rootHoverFocusActiveSelectorNeutralPrimaryMixin","menuItemText","borderColorError","dropdownItemStyle","dropdownHeaderStyle","selectedItemBackgroundColor","itemSelectors","titleOpenBorderRadius","calloutOpenBorderRadius","DROPDOWN_HEIGHT","useEventCallback","fn","disableFirstFocus","firstBumper","lastBumper","isFirstRender","internalState","focusStackId","focusPreviouslyFocusedInnerElement","disableRestoreFocus","bumperProps","focusElementAsync","focusFTZ","previouslyFocusedElementInTrapZone","firstFocusableChild","focusSelector","focusBumper","isFirstBumper","nextFocusable","getLastTabbable","getFirstTabbable","returnFocusToInitiator","focusStack","forceFocusOrClickInTrap","disposables","modalize","unmountRef","useUnmount","previouslyFocusedElement","onBlurCapture","getIconContent","getIcon","code","mergeImageProps","iconContent","accessibleName","finalChildren","IconType","cacheSize","IconBase","_onImageLoadingStateChange","onLoadingStateChange","ImageLoadState","imageLoadError","imageErrorAs","isPlaceholder","isImage","iconType","iconContentChildren","RootType","ImageType","finalIconContentChildren","imageContainer","SVG_REGEX","ImageBase","frameElement","imageElement","onLoad","onError","notLoaded","loadState","setLoadState","naturalWidth","naturalHeight","complete","loaded","onImageLoaded","onImageError","useLoadState","imgProperties","shouldFadeIn","shouldStartVisible","imageFit","maximizeFrame","loading","coverStyle","previousLoadState","ImageFit","cover","contain","centerContain","centerCover","desiredRatio","ImageCoverStyle","landscape","portrait","computeCoverStyle","useCoverStyle","isLoaded","isLandscape","isCenter","center","isCenterContain","isCenterCover","isContain","isCover","isError","isNotImageFit","rootMaximizeFrame","imageCenter","imageContain","imageCover","imageCenterContain","imageCenterCover","imageNone","imageLandscape","imagePortrait","ImageFitStyles","supportsObjectFit","msMaxTouchPoints","fallbackObjectFitStyles","fadeIn400","objectFit","LabelBase","labelFontWeight","labelColor","labelDisabledColor","labelRequiredStarColor","PortalCompatContext","portalCompatContextDefaultValue","Provider","FocusRectsProvider","providerRef","layerRoot","parentContext","inheritParentContext","registerProvider","unregisterProvider","mergeSettings","oldSettings","newSettings","mergeSettingsWith","_isSettingsFunction","_settingsMergeWith","mergeScopedSettings","scopedSettingsFromProps","oldScopedSettings","newScopedSettings","scopeName","_scopedSettingsMergeWith","Customizer","_onCustomizationChange","observe","unobserve","contextTransform","newContext","scopedSettings","inCustomizerContext","mergeCustomizations","getFabricTheme","FabricBase","applyTheme","applyThemeToBody","bodyThemed","currentDoc_1","useApplyThemeToBody","dir","contextDir","pageDir","componentDir","rootDir","needsTheme","getDir","renderedContent","useRenderedContent","inheritFont","Fabric","preventBlanketFontInheritance","_layersByHostId","_layerHostsById","defaultHostId","_defaultHostSelector","filteredEventProps","LayerBase","registerPortalEl","_React_useContext","usePortalCompat","mergedRef","layerRef","fabricElementRef","needRaiseLayerMount","setNeedRaiseLayerMount","focusRectsRef","el","isFocusVisible","eventBubblingEnabled","fabricProps","hostId","insertFirst","onLayerDidMount","onLayerWillUnmount","fabricRef","isNotHost","getHost","layerHost","layerHosts","getLayerHost","defaultHostSelector","host","cssText","createDefaultLayerHost","removeLayerElement","elem","createLayerElement","virtualChild","virtualParent","oldParent","setVirtualParent","layerHosts_1","notifyLayersChanged","registerLayer","unregisterPortalEl","layers","idx","layerHosts_2","unregisterLayer","ReactDOM","onFilterEvent","getFilteredEvents","eventPhase","BUBBLING_PHASE","rootNoHost","adjustPropsForRootType","restProps","underline","LinkBase","isButton","isUnderlined","rootType","useLink","linkColor","linkInteractedColor","linkDisabledColor","MsHighContrastAdjust","ICON_MAP","getAnnouncementPriority","getRole","MessageBarBase","initialState","setTrue","setFalse","useBoolean","toggleExpandSingleLine","overflowButtonAriaLabel","dismissIconProps","isMultiline","truncated","dismissButtonAriaLabel","messageBarIconProps","delayedRender","expandButtonProps","expandIconProps","regionProps","actionsDiv","dismissButton","iconContainer","innerText","singleline","dismissalSingleLine","expandingSingleLine","actionsSingleline","highContrastBorderColor","highContrastWhiteBorderColor","SmallScreenSelector","dismissalAndExpandIconStyle","xSmall","messageText","dismissalAndExpandStyle","messageLink","messageLinkHovered","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridArea","registerPersistedKeytips","keytipsToRegister","registeredPersistedKeytips","keytipsToRegister_1","keytip","unregisterPersistedKeytips","uniqueID","OverflowButton","overflowItems","keytipSequences","itemSubMenuProvider","onRenderOverflowButton","persistedKeytips","getSubMenuForItem","newKeytipsToRegister","newOverflowItems","overflowItem","persistedKeytip","hasDynamicChildren","onExecute","menuExecute","hasOverflowSubMenu","newOverflowItem","modifiedOverflowItems","prevPersistedKeytips","useKeytipRegistrations","OverflowSetBase","divContainer","_forceIntoFirstElement","focusSucceeded","childElement","overflowSide","showOverflow","overflowItemStyle","OverflowSet","useRefEffect","initial","refCallback","cleanup","createRefCallback","useOverflow","onOverflowItemsChanged","pinnedIndex","updateOverflowRef","containerWidthRef","containerRef","cleanupObserver","onResize","ResizeObserver","observer_1","t","disconnect","onResizeWrapper_1","win_1","animationFrameId_1","observeResize","entries","contentRect","menuButtonRef","menuButton","minContainerWidth","extraWidth","containerWidth","itemOffsetEnd","offsetLeft","setOverflowIndex","prevOverflowIndex","overflowIndex","ele","isOverflowing","getLinkItems","pivotId","links","keyToIndexMapping","keyToTabIdMapping","isPivotItem","linkText","pivotItemProps","getTabId","warn","PivotItem","PivotBase","focusZoneRef","overflowMenuButtonComponentRef","setSelectedKey","overflowBehavior","overflowAriaLabel","overflowButtonAs","nameProps","linkCollection","renderLinkContent","itemCount","itemIcon","renderPivotLink","renderLinkCollection","renderPivotLinkSelectedKey","headerButtonProps","onRenderItemLink","tabId","contentString","itemSemantics","onLinkClick","updateSelectedItem","renderedSelectedKey","getSelectedKey","renderedSelectedIndex","l","overflowMenuProps","overflowMenuButtonRef","elements","linkInMenu","overflowMenuButton","alwaysRender","headersOnly","selectedTabId","itemContainer","renderPivotItem","globalClassNames","getLinkStyles","isLinkInOverflowMenu","actionLink","durationValue2","bold","flex","defaultFocusRestorer","shouldHideSiblings","useHideSiblingNodes","originalFocusedElement","doesElementContainFocus","useRestoreFocus","needsVerticalScrollBar","needsVerticalScrollBarState","setNeedsVerticalScrollBar","rootHeight","firstChildHeight","useScrollbarAsync","SeparatorBase","alignContent","Separator","alignStart","alignCenter","alignEnd","precisionRound","precision","base","exp","round","KeyboardSpinDirection","getDisabledStyles","SpinButtonTextColorDisabled","SpinButtonBackgroundColorDisabled","getArrowButtonStyles","isUpArrow","customSpecificArrowStyles","ArrowButtonTextColor","ArrowButtonTextColorHovered","ArrowButtonTextColorPressed","ArrowButtonBackgroundHovered","ArrowButtonBackgroundPressed","defaultArrowButtonStyles","step","labelPosition","Position","start","incrementButtonIcon","decrementButtonIcon","noOp","clampValue","SpinButtonBase","defaultValue","valueFromProps","precisionFromProps","incrementButtonAriaLabel","decrementButtonAriaLabel","customUpArrowButtonStyles","upArrowButtonStyles","customDownArrowButtonStyles","downArrowButtonStyles","ariaValueNow","ariaValueText","onDecrement","onIncrement","iconButtonProps","onValidate","inputId","isFocused","setIsFocused","notSpinning","keyboardSpinDirection","setKeyboardSpinDirection","groups","calculatePrecision","intermediateValue","setIntermediateValue","stepTimeoutHandle","latestValue","latestIntermediateValue","previousValueFromProps","validate","enteredValue","isNaN","Number","stop","spinningByMouse","updateValue","stepFunction","wasSpinning","handleIncrement","numericValue","handleDecrement","handleKeyUp","handleIncrementMouseDown","handleDecrementMouseDown","useDebugWarnings","valueIsNumber","labelContent","spinButtonWrapper","onInput","autoComplete","spinDirection","arrowButtonsContainer","process","SpinButtonRootBorderColor","SpinButtonRootBackgroundColor","SpinButtonRootBorderColorHovered","SpinButtonRootBorderColorFocused","inputFocusBorderAlt","SpinButtonInputTextColor","SpinButtonInputTextColorSelected","SpinButtonInputBackgroundColorSelected","SpinButtonIconDisabledColor","float","getInputFocusStyle","DEFAULT_MIN_WIDTH","SpinnerBase","ariaLive","statusMessage","styleSize","SpinnerType","SpinnerSize","spinAnimation","Spinner","animationDuration","animationIterationCount","animationTimingFunction","alignMap","_getThemedSpacing","spacing","_getValueUnitGap","numericalPart","numericalValue","numericalString","parsePadding","paddingValues","padding1","padding2","nameMap","StackItem","Slots","grow","shrink","disableShrink","align","verticalFill","order","basis","_processStackChildren","enableScopedSelectors","doNotRenderFalsyValues","childrenArray","childAsReactElement","defaultItemProps","childClassName","StackGlobalClassNames","StackStatics","Item","Stack","wrap","stackChildren","horizontalAlign","childrenGap","rowGap","columnGap","splitGap","calculatedGap","parseGap","horizontalMargin","verticalMargin","childStyles","childSelector","disableShrinkStyles","StackItemGlobalClassNames","DEFAULT_MASK_FORMAT_CHARS","a","parseMask","mask","formatChars","maskCharData","escapedChars","maskChar","maskFormat","displayIndex","getMaskDisplay","maskDisplay","lastDisplayIndex","maskCharData_1","charData","nextChar","getRightFormatIndex","clearRange","selectionCount","insertString","newString","stringIndex","nextIndex","isStringInserted","MaskedTextField","textField","onPaste","moveCursorOnMouseUp","changeSelectionData","maskCursorPosition","setMaskCursorPosition","displayValue","setDisplayValue","valueIndex","charDataIndex","testVal","handleFocus","handleBlur","handleMouseDown","handleMouseUp","handleInputChange","changeType","cursorPos","charsSelected","charCount","startPos","pastedString","substr","isDel","clearNext","clearPrev","getLeftFormatIndex","enteredString","selectCount","handleKeyDown","keyCode","del","handlePaste","setSelectionRange","blur","setSelectionStart","setSelectionEnd","__browserNeedsRevealButton","TextFieldBase","_textElement","validateOnFocusIn","_validate","validateOnFocusOut","_onRevealButtonClick","isRevealingPassword","_onInputChange","previousValue","_getValue","_lastChangeValue","_isControlled","uncontrolledValue","_fallbackId","_prefixId","_suffixId","_warnControlledUsage","_delayedValidate","deferredValidationTime","_lastValidation","_adjustInputHeight","validateOnLoad","getSnapshotBeforeUpdate","selection","snapshot","_shouldValidateAllChanges","borderless","invalid","inputClassName","underlined","resizable","autoAdjustHeight","canRevealPassword","revealPasswordAriaLabel","onRenderPrefix","_onRenderPrefix","onRenderSuffix","_onRenderSuffix","_errorMessage","isInvalid","hasRevealButton","isEdge","isIE11","_browserNeedsRevealButton","_renderTextArea","_renderInput","revealButton","revealSpan","revealIcon","_isDescriptionAvailable","_renderErrorMessage","_hasWarnedNullValue","valueProp","textAreaProps","textAreaProperties","labelIds","updatedInputProps","onRenderInput","_latestValidateValue","onGetErrorMessage","currentValidation_1","_notifyAfterValidate","onNotifyValidationResult","unresizable","active","getLabelStyles","fieldPrefixSuffix","placeholderStyles","disabledPlaceholderStyles","getPlaceholderStyles","resize","Text","block","variant","nowrap","variantObject","mozOsxFontSmoothing","webkitFontSmoothing","TooltipOverflowMode","TooltipDelay","TooltipBase","tooltipGapSpace","devicePixelRatio","TooltipHostBase","_tooltipHost","_defaultTooltipId","show","_toggleTooltip","_hideTooltip","_getTargetElement","overflowMode","Parent","Self","_onTooltipFocus","_ignoreNextFocusEvent","_onTooltipMouseEnter","_onTooltipContentFocus","_currentVisibleTooltip","_clearDismissTimer","_clearOpenTimer","_onTooltipBlur","_dismissTimerId","delay","overflowElement","scrollWidth","hasHorizontalOverflow","hasVerticalOverflow","zero","delayTime","_getDelayTime","_openTimerId","_onTooltipMouseLeave","closeDelay","_onTooltipKeyDown","isTooltipVisible","onTooltipToggle","long","isAriaPlaceholderRendered","hostClassName","setAriaDescribedBy","tooltipProps","tooltipId","tooltipRenderProps","tooltipContent","showTooltip","ariaPlaceholder","TooltipHost","ThemeContext","useTheme","useContext","legacyTheme","useCustomizationSettings","_defaultMode","_lastMode","RESPONSIVE_MAX_CONSTRAINT","getInitialResponsiveMode","getWidthOfCurrentWindow","currentWindow","getResponsiveMode","overrideResponsiveMode","lastResponsiveMode","setLastResponsiveMode","newResponsiveMode","KeytipEvents","KEYTIP_ADDED","KEYTIP_REMOVED","KEYTIP_UPDATED","PERSISTED_KEYTIP_ADDED","PERSISTED_KEYTIP_REMOVED","PERSISTED_KEYTIP_EXECUTE","ENTER_KEYTIP_MODE","EXIT_KEYTIP_MODE","keytips","sequenceMapping","inKeytipMode","shouldEnterKeytipMode","delayUpdatingKeytipChange","_instance","init","persisted","uniqueKeytip","_getUniqueKtp","event_1","raise","oldKeyTip","visible","keytipToRemove","enterKeytipMode","exitKeytipMode","getKeytips","fullSequence","parentKeytip","overflowButtonSequences","packagesCache","_win","packageName","packageVersion","packages","__packages__","timeline","rulesArray","EASING_FUNCTION_1","EASING_FUNCTION_2","DURATION_1","DURATION_2","DURATION_3","DURATION_4","FADE_IN","from","to","FADE_OUT","SLIDE_RIGHT_IN10","_createSlideInX","SLIDE_RIGHT_IN20","SLIDE_RIGHT_IN40","SLIDE_RIGHT_IN400","SLIDE_LEFT_IN10","SLIDE_LEFT_IN20","SLIDE_LEFT_IN40","SLIDE_LEFT_IN400","SLIDE_UP_IN10","_createSlideInY","SLIDE_UP_IN20","SLIDE_DOWN_IN10","SLIDE_DOWN_IN20","SLIDE_RIGHT_OUT10","_createSlideOutX","SLIDE_RIGHT_OUT20","SLIDE_RIGHT_OUT40","SLIDE_RIGHT_OUT400","SLIDE_LEFT_OUT10","SLIDE_LEFT_OUT20","SLIDE_LEFT_OUT40","SLIDE_LEFT_OUT400","SLIDE_UP_OUT10","_createSlideOutY","SLIDE_UP_OUT20","SLIDE_DOWN_OUT10","SLIDE_DOWN_OUT20","SCALE_UP100","SCALE_DOWN98","SCALE_DOWN100","SCALE_UP103","ROTATE90","ROTATE_N90","easeFunction1","durationValue1","durationValue4","_createAnimation","slideRightIn400","slideLeftIn400","slideRightOut10","slideRightOut20","slideRightOut400","slideLeftOut10","slideLeftOut20","slideLeftOut400","slideUpOut10","slideDownOut10","scaleUpIn100","scaleDownIn100","scaleUpOut103","scaleDownOut98","fadeIn500","fadeOut200","fadeOut400","fadeOut500","rotate90deg","rotateN90deg","animationFillMode","fromX","fromY","toX","toY","styleName","className_1","get","enumerable","configurable","buildClassMap","minSelector","maxSelector","insetOrOptions","isFocusedOnly","_getFocusStyleInternal","FocusStyle","ScrollablePane","Coachmark","KeytipLayer","borderType","borderPosition","isBorderBottom","_getGlobalClassNames","disableGlobalClassNames","styleSheet","acc","_theme","_onThemeChangeCallbacks","ThemeSettingName","initializeThemeInCustomizations","depComments","legacyLoadTheme","lines","fontName","toUpperCase","_loadFonts","applySettings","loadTheme","_iconSettings","GlobalSettings","getValue","__options","disableWarnings","warnOnMissingIcons","__remapped","normalizeIconName","iconSubset","isRegistered","normalizedIconName","_warnDuplicateIcon","mappedToName","_missingIcons","_missingIconsTimer","DefaultPalette","themeSecondary","themeTertiary","themeLighter","themeLighterAlt","neutralPrimaryAlt","neutralQuaternary","yellowDark","yellow","yellowLight","orange","orangeLight","orangeLighter","redDark","red","magentaDark","magenta","magentaLight","purpleDark","purple","purpleLight","blueDark","blueMid","blue","blueLight","tealDark","teal","tealLight","greenDark","green","greenLight","DefaultEffects","elevation4","roundedCorner4","roundedCorner6","FontFamilyFallbacks","defaultFontFamily","LocalizedFontNames","WestEuropean","LanguageToFontMap","ar","LocalizedFontFamilies","Arabic","bg","Cyrillic","cs","EastEuropean","Greek","et","he","Hebrew","hi","Hindi","hr","hu","ja","Japanese","kk","ko","Korean","lt","lv","pl","ru","sk","th","Thai","tr","uk","vi","Vietnamese","ChineseSimplified","ChineseTraditional","hy","Armenian","ka","Georgian","_createFont","weight","_language","STORAGE_KEY","DefaultFontStyles","localeCode","localizedFont","language","lang","_getLocalizedFontFamily","fontFamilyWithFallback","tiny","mini","smallPlus","xLargePlus","xxLarge","xxLargePlus","superLarge","mega","createFontStyles","persistenceType","savedLanguage","localStorage","getItem","sessionStorage","getLanguage","_registerFontFace","url","localFontName","localFontSrc","fontDisplay","_registerFontFaceSet","cdnFolder","cdnFontName","urlBase","semilight","merge","_merge","source","circularReferences","isCircularReference","fontUrl","Selawik","registerDefaultFontFaces","_getFontBaseUrl","makeSemanticColors","dep","listTextColor","menuItemBackgroundChecked","warningHighlight","warningText","successText","_fixDeprecatedSlots","getSemanticColors","infoIcon","errorIcon","blockingIcon","warningIcon","severeWarningIcon","successIcon","infoBackground","blockingBackground","warningBackground","severeWarningBackground","successBackground","bodyFrameBackground","accentButtonText","cardStandoutBackground","inputIcon","accentButtonBackground","inputIconHovered","inputPlaceholderBackgroundChecked","bodyBackgroundChecked","bodyFrameDivider","bodyBackgroundHovered","buttonBorderDisabled","listHeaderBackgroundHovered","disabledSubtext","variantBorderHovered","inputIconDisabled","bodyStandoutBackground","defaultStateBackground","actionLinkHovered","smallInputBorder","disabledBorder","menuDivider","cardShadow","cardShadowHovered","DefaultSpacing","s2","s1","m","l1","l2","partialTheme","mergedTheme","defaultFontStyle","mergeThemes","_timeoutIds","_immediateIds","_intervalIds","_animationFrameIds","_isDisposed","_parent","_onErrorHandler","_noop","clearImmediate","clearInterval","duration","_logError","setImmediate","immediateId","setInterval","intervalId","throttle","func","wait","lastResult","lastArgs","waitMS","trailing","lastExecuteTime","userCall","now","delta","waitLength","noOpFunction","cancel","flush","pending","maxWait","lastCallTime","markExecuted","time","invokeFunction","executeImmediately","maxWaitDelta","maxWaitExpired","resultFunction","animationFrameId","animationFrameCallback","BaseComponent","obj","methodNames","len","_makeSafe","_makeAllSafe","_updateComponentRef","_setComponentRef","__disposables","_disposables","disposable","__className","results","constructor","__async","__events","_resolveRef","refName","__resolves","_warnDeprecations","deprecationMap","_warnMutuallyExclusive","mutuallyExclusiveMap","_warnConditionallyRequiredProps","requiredProps","conditionalPropName","condition","_skipComponentRefResolution","methodName","classMethod","prototypeMethod","retVal","isRendered","_timeoutId","only","_uniqueId","_eventRecords","eventArgs","bubbleEvent","_isElement","initEvent","createEventObject","evObj","fireEvent","events","__events__","eventRecords","eventRecordList","listIndex","record","objectCallback","isObserved","isDeclared","declaredEvents","__declaredEvents","cancelBubble","onAll","parent_1","eventRecord","processElementEvent","elementCallback","attachEvent","targetArrayLookup","targetArray","detachEvent","declare","GLOBAL_SETTINGS_PROP_NAME","CALLBACK_STATE_PROP_NAME","globalSettings","_getGlobalSettings","callbacks","oldValue","changeDescription","addChangeListener","__id__","_getCallbacks","removeChangeListener","globalObj","shift","ctrl","pauseBreak","capslock","insert","one","two","three","four","five","six","seven","eight","nine","colon","b","c","f","g","h","k","n","o","q","r","u","w","z","leftWindow","rightWindow","zero_numpad","one_numpad","two_numpad","three_numpad","four_numpad","five_numpad","six_numpad","seven_numpad","eight_numpad","nine_numpad","multiply","subtract","decimalPoint","divide","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12","numlock","scrollLock","semicolon","equalSign","comma","dash","period","forwardSlash","graveAccent","openBracket","backSlash","closeBracket","singleQuote","ariaAttributes","mergedAttribute","fromIndex","itemToAdd","copy","arraysEqual","array1","array2","MAX_CACHE_COUNT","DEFAULT_SPECIFICITY_MULTIPLIER","_memoizedClassNames","Map","styleCalcCount","getClassNamesCount","currentMemoizedClassNames","useStaticStyles","__noStyleOverride__","_traverseMap","enableClassNameCacheFullWarning","console","trace","clear","_traverseEdge","_normalizeValue","set","inputs","__cachedInputs__","local","newRefs","resolver","createResolver","NO_CUSTOMIZATIONS","_allSettings","_raiseChange","applyScopedSettings","properties","localSettings","localScopedSettings","globalScopedSettings","properties_1","property","applyBatchedUpdates","suppressUpdate","_suppressUpdates","concatStyles","ComposedComponent","resultClass","ComponentWithInjectedProps","_styleCache","_onSettingChanged","mergedStyles","merged","dest","hoistStatics","useForceUpdate","canUseDOM","_window","defaultView","appendFunction","functions","methods","IS_VISIBLE_ATTRIBUTE","FOCUSZONE_SUB_ATTRIBUTE","includeElementsInFocusZones","checkNode","suppressParentTraversal","traverseChildren","tabbable","isCurrentElementVisible","isElementVisible","childMatch","childMatchSiblingMatch","previousElementSibling","childMatchParent","childMatchParentMatch","siblingMatch","suppressChildTraversal","visibilityAttribute","offsetHeight","offsetParent","isVisible","getComputedStyle","checkTabIndex","tabIndexAttributeValue","isFocusableAttribute","isTabIndexSet","currentActiveElement","attribute","elementContainsAttribute","animationId","path_1","nextChild","fromElement","toElement","unshift","CURRENT_ID_PROPERTY","DEFAULT_ID_STRING","_initializedStylesheetResets","resetIds","_onMount","_onUpdate","_onUnmount","_resetCounter","_emptyObject","empty","_dictionary","_weakMap","WeakMap","resetMemoizations","maxCacheSize","ignoreNullOrUndefinedResult","rootNode","localResetCounter","currentNode","_createNode","_normalizeArg","cache","tagsToIgnore","targetDocument","affectedNodes","sibling","node","originalValue","unmodalize","filteredAssign","isAllowed","sourceObject","isMacResult","toObjectMap","keys_1","baseElementEvents","baseElementProperties","audioProperties","allowedPropNames","excludedPropNames","keys_2","memoizer","_isRTL","RTL_LOCAL_STORAGE_KEY","savedRTL","persistSetting","setItem","mergeStylesSetRTL","_scrollbarWidth","_bodyScrollDisabledCount","DisabledScrollClassName","DATA_IS_SCROLLABLE_ATTRIBUTE","_previousClientY","_element","targetTouches","passive","scrollTop","ceil","_disableIosBodyScroll","capture","scrollDiv","setProperty","startingElement","computedStyles","getPropertyValue","IsFocusHiddenClassName","updateClassList","enabled","Component","baseStyles","getProps","pure","Wrapped","customizedStyles","additionalProps","concatenatedStyles","pureComponent","DirectionalKeyCodes","isDirectionalKeyCode","mountCounters","callbackMap","setMountCounters","currValue","setCallbackMap","disableFocusRects","componentName"],"sourceRoot":""}