@instructure/canvas-rce 5.11.1 → 5.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/babel-register.js +0 -7
- package/babel.config.cjs.js +0 -7
- package/babel.config.js +0 -9
- package/es/canvasFileBrowser/FileBrowser.js +6 -1
- package/es/common/fileUrl.js +3 -4
- package/es/defaultTinymceConfig.js +1 -1
- package/{lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/Lti13ContentItemJson.js → es/elementDenylist.js} +2 -6
- package/es/enhance-user-content/doc_previews.js +4 -0
- package/es/enhance-user-content/enhance_user_content.js +4 -59
- package/es/enhance-user-content/external_links.js +75 -0
- package/es/enhance-user-content/mathml.js +9 -7
- package/es/getThemeVars.js +4 -3
- package/es/getTranslations.js +77 -1
- package/es/index.js +1 -1
- package/es/rce/RCEWrapper.js +5 -2328
- package/es/rce/StatusBar.js +8 -2
- package/es/rce/contentInsertion.js +5 -2
- package/es/rce/plugins/instructure_documents/components/DocumentsPanel.js +3 -9
- package/es/rce/plugins/instructure_equation/EquationEditorModal/index.js +1 -1
- package/es/rce/plugins/instructure_equation/EquationEditorModal/styles.js +3 -11
- package/es/rce/plugins/instructure_equation/mathlive/index.js +5 -13
- package/es/rce/plugins/instructure_html_view/plugin.js +2 -2
- package/es/rce/plugins/instructure_icon_maker/components/SavedIconMakerList.js +3 -2
- package/es/rce/plugins/instructure_image/ImageList/Image.js +2 -2
- package/es/rce/plugins/instructure_image/Images/index.js +3 -10
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialog.js +3 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/ResourceLinkContentItem.js +3 -1
- package/es/rce/plugins/instructure_record/AudioOptionsTray/TrayController.js +26 -1
- package/es/rce/plugins/instructure_record/AudioOptionsTray/index.js +9 -3
- package/es/rce/plugins/instructure_record/MediaPanel/index.js +3 -9
- package/es/rce/plugins/instructure_record/VideoOptionsTray/TrayController.js +27 -2
- package/es/rce/plugins/instructure_record/VideoOptionsTray/index.js +35 -6
- package/es/rce/plugins/shared/fileShape.js +81 -9
- package/es/rce/plugins/shared/fileTypeUtils.js +6 -0
- package/es/rce/tinymce.oxide.content.min.css.js +732 -0
- package/es/rce/tinymce.oxide.skin.min.css.js +7 -0
- package/es/rcs/api.js +6 -4
- package/es/sidebar/store/configureStore.js +2 -2
- package/{lib/translations/locales/tg.js → es/translations/locales/ab.js} +1 -1
- package/es/translations/locales/cs.js +27 -0
- package/es/translations/locales/cs_CZ.js +27 -0
- package/{lib/translations/locales/sv_SE.js → es/translations/locales/da_DK.js} +2 -2
- package/{lib/translations/locales/se.js → es/translations/locales/en_NZ.js} +2 -2
- package/es/translations/locales/en_SE.js +26 -0
- package/es/translations/locales/en_US.js +26 -0
- package/es/translations/locales/hu_HU.js +27 -0
- package/{lib/translations/locales/ms.js → es/translations/locales/id.js} +632 -632
- package/{lib/translations/locales/th.js → es/translations/locales/id_ID.js} +1 -2
- package/{lib/translations/locales/vi_VN.js → es/translations/locales/ko_KR.js} +2 -2
- package/es/translations/locales/lt.js +26 -0
- package/es/translations/locales/lt_LT.js +26 -0
- package/es/translations/locales/mn_MN.js +26 -0
- package/es/translations/locales/nl_NL.js +27 -0
- package/{lib/translations/locales/es_GT.js → es/translations/locales/ro.js} +3 -3
- package/es/translations/locales/ru.js +2375 -32
- package/es/translations/locales/sv.js +2379 -30
- package/es/translations/locales/th.js +2401 -1
- package/es/translations/locales/tl_PH.js +26 -0
- package/es/translations/locales/tr.js +3 -0
- package/es/translations/locales/vi.js +2396 -8
- package/es/translations/locales/zh_TW.Big5.js +27 -0
- package/{lib/translations/locales/th_TH.js → es/translations/locales/zh_TW.js} +2 -2
- package/jest.config.js +0 -7
- package/package.json +9 -11
- package/scripts/build.js +1 -7
- package/scripts/publish_to_npm.sh +26 -0
- package/canvas/README.md +0 -84
- package/canvas/locales/en.json +0 -934
- package/canvas/package.json +0 -189
- package/es/common/scroll.js +0 -45
- package/es/types/inst-ui.d.js +0 -18
- package/es/types/ts-migration.js +0 -1
- package/lib/bridge/Bridge.js +0 -287
- package/lib/bridge/index.js +0 -21
- package/lib/canvasFileBrowser/FileBrowser.js +0 -452
- package/lib/canvasFileBrowser/en-US.js +0 -234
- package/lib/common/FlashAlert.js +0 -263
- package/lib/common/browser.js +0 -40
- package/lib/common/components/FileTree/File.js +0 -64
- package/lib/common/components/FileTree/Folder.js +0 -110
- package/lib/common/components/FileTree/index.js +0 -84
- package/lib/common/components/FileTree/styles.js +0 -72
- package/lib/common/components/Loading.js +0 -83
- package/lib/common/fileUrl.js +0 -153
- package/lib/common/getCookie.js +0 -32
- package/lib/common/incremental-loading/LoadMoreButton.js +0 -40
- package/lib/common/incremental-loading/LoadingIndicator.js +0 -36
- package/lib/common/incremental-loading/LoadingStatus.js +0 -47
- package/lib/common/incremental-loading/index.js +0 -21
- package/lib/common/incremental-loading/useIncrementalLoading.js +0 -58
- package/lib/common/indicate.js +0 -75
- package/lib/common/mimeClass.js +0 -120
- package/lib/common/natcompare.js +0 -47
- package/lib/common/scroll.js +0 -45
- package/lib/defaultTinymceConfig.js +0 -160
- package/lib/enhance-user-content/doc_previews.js +0 -233
- package/lib/enhance-user-content/enhance_user_content.js +0 -396
- package/lib/enhance-user-content/index.js +0 -21
- package/lib/enhance-user-content/instructure_helper.js +0 -207
- package/lib/enhance-user-content/jqueryish_funcs.js +0 -88
- package/lib/enhance-user-content/mathml.js +0 -397
- package/lib/enhance-user-content/media_comment_thumbnail.js +0 -130
- package/lib/format-message.js +0 -30
- package/lib/getThemeVars.js +0 -45
- package/lib/getTranslations.js +0 -264
- package/lib/index.js +0 -51
- package/lib/rce/AlertMessageArea.js +0 -47
- package/lib/rce/DraggingBlocker.js +0 -43
- package/lib/rce/KeyboardShortcutModal.js +0 -88
- package/lib/rce/RCE.js +0 -150
- package/lib/rce/RCEGlobals.js +0 -62
- package/lib/rce/RCEWrapper.js +0 -4278
- package/lib/rce/RCEWrapperProps.js +0 -130
- package/lib/rce/RceHtmlEditor.js +0 -142
- package/lib/rce/ResizeHandle.js +0 -102
- package/lib/rce/RestoreAutoSaveModal.js +0 -82
- package/lib/rce/ShowOnFocusButton/index.js +0 -93
- package/lib/rce/StatusBar.js +0 -380
- package/lib/rce/__mocks__/_mockCryptoEs.js +0 -124
- package/lib/rce/__mocks__/styleMock.js +0 -18
- package/lib/rce/__mocks__/tinymceReact.js +0 -55
- package/lib/rce/alertHandler.js +0 -46
- package/lib/rce/contentInsertion.js +0 -322
- package/lib/rce/contentInsertionUtils.js +0 -85
- package/lib/rce/contentRendering.js +0 -145
- package/lib/rce/customEvents.js +0 -18
- package/lib/rce/editorLanguage.js +0 -101
- package/lib/rce/indicatorRegion.js +0 -49
- package/lib/rce/normalizeLocale.js +0 -50
- package/lib/rce/normalizeProps.js +0 -29
- package/lib/rce/plugins/instructure-ui-icons/plugin.js +0 -122
- package/lib/rce/plugins/instructure_condensed_buttons/core/ListUtils.js +0 -24
- package/lib/rce/plugins/instructure_condensed_buttons/plugin.js +0 -27
- package/lib/rce/plugins/instructure_condensed_buttons/ui/alignment-button.js +0 -63
- package/lib/rce/plugins/instructure_condensed_buttons/ui/directionality-button.js +0 -48
- package/lib/rce/plugins/instructure_condensed_buttons/ui/indent-outdent-button.js +0 -41
- package/lib/rce/plugins/instructure_condensed_buttons/ui/list-button.js +0 -145
- package/lib/rce/plugins/instructure_condensed_buttons/ui/subscript-superscript-button.js +0 -56
- package/lib/rce/plugins/instructure_documents/clickCallback.js +0 -23
- package/lib/rce/plugins/instructure_documents/components/DocumentsPanel.js +0 -126
- package/lib/rce/plugins/instructure_documents/components/Link.js +0 -219
- package/lib/rce/plugins/instructure_documents/plugin.js +0 -123
- package/lib/rce/plugins/instructure_equation/EquationEditorModal/advancedOnlySyntax.js +0 -25
- package/lib/rce/plugins/instructure_equation/EquationEditorModal/advancedPreference.js +0 -51
- package/lib/rce/plugins/instructure_equation/EquationEditorModal/index.js +0 -321
- package/lib/rce/plugins/instructure_equation/EquationEditorModal/latexTextareaUtil.js +0 -116
- package/lib/rce/plugins/instructure_equation/EquationEditorModal/parseLatex.js +0 -91
- package/lib/rce/plugins/instructure_equation/EquationEditorModal/styles.js +0 -46
- package/lib/rce/plugins/instructure_equation/EquationEditorToolbar/buttons.js +0 -728
- package/lib/rce/plugins/instructure_equation/EquationEditorToolbar/index.js +0 -84
- package/lib/rce/plugins/instructure_equation/MathIcon/index.js +0 -41
- package/lib/rce/plugins/instructure_equation/MathIcon/svgs.js +0 -236
- package/lib/rce/plugins/instructure_equation/clickCallback.js +0 -53
- package/lib/rce/plugins/instructure_equation/mathlive/index.js +0 -36
- package/lib/rce/plugins/instructure_equation/plugin.js +0 -69
- package/lib/rce/plugins/instructure_fullscreen/plugin.js +0 -50
- package/lib/rce/plugins/instructure_html_view/clickCallback.js +0 -21
- package/lib/rce/plugins/instructure_html_view/plugin.js +0 -37
- package/lib/rce/plugins/instructure_icon_maker/clickCallback.js +0 -57
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ColorSection.js +0 -82
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/CreateIconMakerForm.js +0 -56
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Footer.js +0 -78
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Group.js +0 -36
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Header.js +0 -110
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Course.js +0 -169
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageOptions.js +0 -186
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageSection.js +0 -243
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ModeSelect.js +0 -64
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/MultiColor/index.js +0 -73
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/MultiColor/svg.js +0 -298
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGList.js +0 -86
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGThumbnail.js +0 -55
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/index.js +0 -70
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/svg.js +0 -317
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Upload.js +0 -149
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/index.js +0 -18
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/propTypes.js +0 -32
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/utils.js +0 -25
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Preview.js +0 -60
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ShapeSection.js +0 -87
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/TextSection.js +0 -139
- package/lib/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/index.js +0 -18
- package/lib/rce/plugins/instructure_icon_maker/components/IconMakerTray.js +0 -323
- package/lib/rce/plugins/instructure_icon_maker/components/SavedIconMakerList.js +0 -90
- package/lib/rce/plugins/instructure_icon_maker/plugin.js +0 -110
- package/lib/rce/plugins/instructure_icon_maker/reducers/imageSection.js +0 -194
- package/lib/rce/plugins/instructure_icon_maker/reducers/svgSettings.js +0 -98
- package/lib/rce/plugins/instructure_icon_maker/registerEditToolbar.js +0 -56
- package/lib/rce/plugins/instructure_icon_maker/svg/clipPath.js +0 -25
- package/lib/rce/plugins/instructure_icon_maker/svg/constants.js +0 -100
- package/lib/rce/plugins/instructure_icon_maker/svg/font.js +0 -25
- package/lib/rce/plugins/instructure_icon_maker/svg/image.js +0 -354
- package/lib/rce/plugins/instructure_icon_maker/svg/index.js +0 -122
- package/lib/rce/plugins/instructure_icon_maker/svg/metadata.js +0 -48
- package/lib/rce/plugins/instructure_icon_maker/svg/settings.js +0 -179
- package/lib/rce/plugins/instructure_icon_maker/svg/shape.js +0 -316
- package/lib/rce/plugins/instructure_icon_maker/svg/text.js +0 -468
- package/lib/rce/plugins/instructure_icon_maker/svg/utils.js +0 -70
- package/lib/rce/plugins/instructure_icon_maker/utils/IconMakerClose.js +0 -45
- package/lib/rce/plugins/instructure_icon_maker/utils/IconMakerFormHasChanges.js +0 -83
- package/lib/rce/plugins/instructure_icon_maker/utils/addIconMakerAttributes.js +0 -28
- package/lib/rce/plugins/instructure_icon_maker/utils/iconValidation.js +0 -35
- package/lib/rce/plugins/instructure_icon_maker/utils/iconsLabels.js +0 -375
- package/lib/rce/plugins/instructure_icon_maker/utils/useDebouncedValue.js +0 -59
- package/lib/rce/plugins/instructure_image/ImageEmbedOptions.js +0 -202
- package/lib/rce/plugins/instructure_image/ImageList/Image.js +0 -106
- package/lib/rce/plugins/instructure_image/ImageList/index.js +0 -69
- package/lib/rce/plugins/instructure_image/ImageOptionsTray/TrayController.js +0 -166
- package/lib/rce/plugins/instructure_image/ImageOptionsTray/index.js +0 -246
- package/lib/rce/plugins/instructure_image/Images/index.js +0 -129
- package/lib/rce/plugins/instructure_image/clickCallback.js +0 -24
- package/lib/rce/plugins/instructure_image/plugin.js +0 -157
- package/lib/rce/plugins/instructure_links/clickCallback.js +0 -22
- package/lib/rce/plugins/instructure_links/components/AccordionSection.js +0 -60
- package/lib/rce/plugins/instructure_links/components/CollectionPanel.js +0 -84
- package/lib/rce/plugins/instructure_links/components/Link.js +0 -213
- package/lib/rce/plugins/instructure_links/components/LinkOptionsDialog/LinkOptionsDialogController.js +0 -127
- package/lib/rce/plugins/instructure_links/components/LinkOptionsDialog/index.js +0 -141
- package/lib/rce/plugins/instructure_links/components/LinkOptionsTray/LinkOptionsTrayController.js +0 -125
- package/lib/rce/plugins/instructure_links/components/LinkOptionsTray/index.js +0 -245
- package/lib/rce/plugins/instructure_links/components/LinkSet.js +0 -195
- package/lib/rce/plugins/instructure_links/components/LinksPanel.js +0 -100
- package/lib/rce/plugins/instructure_links/components/NavigationPanel.js +0 -141
- package/lib/rce/plugins/instructure_links/components/NoResults.js +0 -87
- package/lib/rce/plugins/instructure_links/components/propTypes.js +0 -41
- package/lib/rce/plugins/instructure_links/plugin.js +0 -294
- package/lib/rce/plugins/instructure_links/validateURL.js +0 -70
- package/lib/rce/plugins/instructure_media_embed/clickCallback.js +0 -48
- package/lib/rce/plugins/instructure_media_embed/components/Embed.js +0 -68
- package/lib/rce/plugins/instructure_media_embed/plugin.js +0 -36
- package/lib/rce/plugins/instructure_paste/pasteMenuCommand.js +0 -117
- package/lib/rce/plugins/instructure_paste/plugin.js +0 -174
- package/lib/rce/plugins/instructure_rce_external_tools/ExternalToolsEnv.js +0 -169
- package/lib/rce/plugins/instructure_rce_external_tools/RceToolWrapper.js +0 -225
- package/lib/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialog.js +0 -294
- package/lib/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialogModal.js +0 -46
- package/lib/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialogTray.js +0 -79
- package/lib/rce/plugins/instructure_rce_external_tools/components/ExternalToolSelectionDialog/ExternalToolSelectionDialog.js +0 -153
- package/lib/rce/plugins/instructure_rce_external_tools/components/ExternalToolSelectionDialog/ExternalToolSelectionItem.js +0 -94
- package/lib/rce/plugins/instructure_rce_external_tools/components/util/ExpandoText.js +0 -90
- package/lib/rce/plugins/instructure_rce_external_tools/components/util/ToolLaunchIframe.js +0 -35
- package/lib/rce/plugins/instructure_rce_external_tools/dialog-helper.js +0 -29
- package/lib/rce/plugins/instructure_rce_external_tools/helpers/tags.js +0 -55
- package/lib/rce/plugins/instructure_rce_external_tools/jquery/jquery.dropdownList.js +0 -172
- package/lib/rce/plugins/instructure_rce_external_tools/lti11-content-items/RceLti11ContentItem.js +0 -203
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/RceLti13ContentItem.js +0 -111
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/BaseLinkContentItem.js +0 -79
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/HtmlFragmentContentItem.js +0 -47
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/ImageContentItem.js +0 -57
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/LinkContentItem.js +0 -26
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/ResourceLinkContentItem.js +0 -45
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/processEditorContentItems.js +0 -67
- package/lib/rce/plugins/instructure_rce_external_tools/lti13-content-items/rceLti13ContentItemFromJson.js +0 -48
- package/lib/rce/plugins/instructure_rce_external_tools/plugin.js +0 -112
- package/lib/rce/plugins/instructure_rce_external_tools/util/addParentFrameContextToUrl.js +0 -27
- package/lib/rce/plugins/instructure_record/AudioOptionsTray/TrayController.js +0 -127
- package/lib/rce/plugins/instructure_record/AudioOptionsTray/index.js +0 -148
- package/lib/rce/plugins/instructure_record/MediaPanel/index.js +0 -129
- package/lib/rce/plugins/instructure_record/VideoOptionsTray/TrayController.js +0 -215
- package/lib/rce/plugins/instructure_record/VideoOptionsTray/index.js +0 -321
- package/lib/rce/plugins/instructure_record/clickCallback.js +0 -105
- package/lib/rce/plugins/instructure_record/mediaTranslations.js +0 -94
- package/lib/rce/plugins/instructure_record/plugin.js +0 -173
- package/lib/rce/plugins/instructure_studio_media_options/plugin.js +0 -42
- package/lib/rce/plugins/instructure_wordcount/clickCallback.js +0 -49
- package/lib/rce/plugins/instructure_wordcount/components/WordCountModal.js +0 -88
- package/lib/rce/plugins/instructure_wordcount/plugin.js +0 -30
- package/lib/rce/plugins/instructure_wordcount/utils/countContent.js +0 -78
- package/lib/rce/plugins/instructure_wordcount/utils/tableContent.js +0 -40
- package/lib/rce/plugins/shared/CanvasContentTray.js +0 -580
- package/lib/rce/plugins/shared/CheckerboardStyling.js +0 -25
- package/lib/rce/plugins/shared/ColorInput.js +0 -233
- package/lib/rce/plugins/shared/ConditionalTooltip.js +0 -32
- package/lib/rce/plugins/shared/ContentSelection.js +0 -269
- package/lib/rce/plugins/shared/DimensionUtils.js +0 -66
- package/lib/rce/plugins/shared/DimensionsInput/DimensionInput.js +0 -62
- package/lib/rce/plugins/shared/DimensionsInput/index.js +0 -161
- package/lib/rce/plugins/shared/DimensionsInput/useDimensionsState.js +0 -220
- package/lib/rce/plugins/shared/ErrorBoundary.js +0 -54
- package/lib/rce/plugins/shared/EventUtils.js +0 -39
- package/lib/rce/plugins/shared/Filter.js +0 -353
- package/lib/rce/plugins/shared/FixedContentTray.js +0 -115
- package/lib/rce/plugins/shared/ImageCropper/DirectionRegion.js +0 -67
- package/lib/rce/plugins/shared/ImageCropper/Modal.js +0 -153
- package/lib/rce/plugins/shared/ImageCropper/Preview.js +0 -148
- package/lib/rce/plugins/shared/ImageCropper/constants.js +0 -39
- package/lib/rce/plugins/shared/ImageCropper/controls/CustomNumberInput.js +0 -83
- package/lib/rce/plugins/shared/ImageCropper/controls/ResetControls.js +0 -38
- package/lib/rce/plugins/shared/ImageCropper/controls/RotationControls.js +0 -89
- package/lib/rce/plugins/shared/ImageCropper/controls/ShapeControls.js +0 -82
- package/lib/rce/plugins/shared/ImageCropper/controls/ZoomControls.js +0 -111
- package/lib/rce/plugins/shared/ImageCropper/controls/index.js +0 -61
- package/lib/rce/plugins/shared/ImageCropper/controls/useDebouncedNumericValue.js +0 -94
- package/lib/rce/plugins/shared/ImageCropper/controls/utils.js +0 -41
- package/lib/rce/plugins/shared/ImageCropper/imageCropUtils.js +0 -149
- package/lib/rce/plugins/shared/ImageCropper/index.js +0 -18
- package/lib/rce/plugins/shared/ImageCropper/propTypes.js +0 -26
- package/lib/rce/plugins/shared/ImageCropper/reducers/imageCropper.js +0 -72
- package/lib/rce/plugins/shared/ImageCropper/shape.js +0 -27
- package/lib/rce/plugins/shared/ImageCropper/svg/index.js +0 -89
- package/lib/rce/plugins/shared/ImageCropper/svg/shape.js +0 -125
- package/lib/rce/plugins/shared/ImageCropper/svg/utils.js +0 -26
- package/lib/rce/plugins/shared/ImageCropper/useKeyMouseEvents.js +0 -233
- package/lib/rce/plugins/shared/ImageCropper/useMouseWheel.js +0 -66
- package/lib/rce/plugins/shared/ImageOptionsForm.js +0 -140
- package/lib/rce/plugins/shared/LinkDisplay.js +0 -96
- package/lib/rce/plugins/shared/PreviewIcon.js +0 -112
- package/lib/rce/plugins/shared/Previewable.js +0 -22
- package/lib/rce/plugins/shared/RceFileBrowser.js +0 -106
- package/lib/rce/plugins/shared/StoreContext.js +0 -57
- package/lib/rce/plugins/shared/StudioLtiSupportUtils.js +0 -71
- package/lib/rce/plugins/shared/UnknownFileTypePanel.js +0 -29
- package/lib/rce/plugins/shared/Upload/CategoryProcessor.js +0 -27
- package/lib/rce/plugins/shared/Upload/ComputerPanel.js +0 -334
- package/lib/rce/plugins/shared/Upload/SvgCategoryProcessor.js +0 -35
- package/lib/rce/plugins/shared/Upload/UploadFile.js +0 -171
- package/lib/rce/plugins/shared/Upload/UploadFileModal.js +0 -273
- package/lib/rce/plugins/shared/Upload/UrlPanel.js +0 -38
- package/lib/rce/plugins/shared/Upload/UsageRightsSelectBox.js +0 -172
- package/lib/rce/plugins/shared/Upload/doFileUpload.js +0 -77
- package/lib/rce/plugins/shared/__mocks__/screenfull.js +0 -24
- package/lib/rce/plugins/shared/buildDownloadUrl.js +0 -31
- package/lib/rce/plugins/shared/compressionUtils.js +0 -98
- package/lib/rce/plugins/shared/dateUtils.js +0 -28
- package/lib/rce/plugins/shared/fileShape.js +0 -57
- package/lib/rce/plugins/shared/fileTypeUtils.js +0 -133
- package/lib/rce/plugins/shared/fileUtils.js +0 -25
- package/lib/rce/plugins/shared/linkUtils.js +0 -89
- package/lib/rce/plugins/shared/round.js +0 -25
- package/lib/rce/plugins/shared/trayUtils.js +0 -34
- package/lib/rce/plugins/shared/useDataUrl.js +0 -76
- package/lib/rce/plugins/tinymce-a11y-checker/components/ColorField.js +0 -86
- package/lib/rce/plugins/tinymce-a11y-checker/components/checker.js +0 -558
- package/lib/rce/plugins/tinymce-a11y-checker/components/color-picker.js +0 -59
- package/lib/rce/plugins/tinymce-a11y-checker/components/placeholder-svg.js +0 -90
- package/lib/rce/plugins/tinymce-a11y-checker/components/pointer.js +0 -32
- package/lib/rce/plugins/tinymce-a11y-checker/node-checker.js +0 -54
- package/lib/rce/plugins/tinymce-a11y-checker/plugin.js +0 -90
- package/lib/rce/plugins/tinymce-a11y-checker/rules/__mocks__/index.js +0 -53
- package/lib/rce/plugins/tinymce-a11y-checker/rules/adjacent-links.js +0 -129
- package/lib/rce/plugins/tinymce-a11y-checker/rules/headings-sequence.js +0 -200
- package/lib/rce/plugins/tinymce-a11y-checker/rules/headings-start-at-h2.js +0 -67
- package/lib/rce/plugins/tinymce-a11y-checker/rules/img-alt-filename.js +0 -63
- package/lib/rce/plugins/tinymce-a11y-checker/rules/img-alt-length.js +0 -49
- package/lib/rce/plugins/tinymce-a11y-checker/rules/img-alt.js +0 -61
- package/lib/rce/plugins/tinymce-a11y-checker/rules/index.js +0 -31
- package/lib/rce/plugins/tinymce-a11y-checker/rules/large-text-contrast.js +0 -51
- package/lib/rce/plugins/tinymce-a11y-checker/rules/list-structure.js +0 -144
- package/lib/rce/plugins/tinymce-a11y-checker/rules/paragraphs-for-headings.js +0 -61
- package/lib/rce/plugins/tinymce-a11y-checker/rules/small-text-contrast.js +0 -75
- package/lib/rce/plugins/tinymce-a11y-checker/rules/table-caption.js +0 -54
- package/lib/rce/plugins/tinymce-a11y-checker/rules/table-header-scope.js +0 -52
- package/lib/rce/plugins/tinymce-a11y-checker/rules/table-header.js +0 -81
- package/lib/rce/plugins/tinymce-a11y-checker/utils/colors.js +0 -43
- package/lib/rce/plugins/tinymce-a11y-checker/utils/describe.js +0 -66
- package/lib/rce/plugins/tinymce-a11y-checker/utils/dom.js +0 -160
- package/lib/rce/plugins/tinymce-a11y-checker/utils/indicate.js +0 -83
- package/lib/rce/plugins/tinymce-a11y-checker/utils/rgb-hex.js +0 -57
- package/lib/rce/plugins/tinymce-a11y-checker/utils/strings.js +0 -40
- package/lib/rce/root.js +0 -58
- package/lib/rce/sanitizePlugins.js +0 -32
- package/lib/rce/style.js +0 -843
- package/lib/rce/tinyRCE.js +0 -66
- package/lib/rce/transformContent.js +0 -73
- package/lib/rce/userOS.js +0 -31
- package/lib/rce/wrapInitCb.js +0 -78
- package/lib/rcs/api.js +0 -670
- package/lib/rcs/buildError.js +0 -98
- package/lib/rcs/fake.js +0 -621
- package/lib/sidebar/actions/all_files.js +0 -29
- package/lib/sidebar/actions/data.js +0 -105
- package/lib/sidebar/actions/documents.js +0 -107
- package/lib/sidebar/actions/files.js +0 -167
- package/lib/sidebar/actions/filter.js +0 -63
- package/lib/sidebar/actions/flickr.js +0 -60
- package/lib/sidebar/actions/images.js +0 -153
- package/lib/sidebar/actions/links.js +0 -23
- package/lib/sidebar/actions/media.js +0 -142
- package/lib/sidebar/actions/session.js +0 -34
- package/lib/sidebar/actions/ui.js +0 -49
- package/lib/sidebar/actions/upload.js +0 -550
- package/lib/sidebar/containers/Sidebar.js +0 -67
- package/lib/sidebar/containers/sidebarHandlers.js +0 -73
- package/lib/sidebar/dragHtml.js +0 -49
- package/lib/sidebar/reducers/all_files.js +0 -35
- package/lib/sidebar/reducers/collection.js +0 -72
- package/lib/sidebar/reducers/collections.js +0 -52
- package/lib/sidebar/reducers/documents.js +0 -89
- package/lib/sidebar/reducers/files.js +0 -38
- package/lib/sidebar/reducers/filter.js +0 -61
- package/lib/sidebar/reducers/flickr.js +0 -51
- package/lib/sidebar/reducers/folder.js +0 -92
- package/lib/sidebar/reducers/folders.js +0 -39
- package/lib/sidebar/reducers/images.js +0 -115
- package/lib/sidebar/reducers/index.js +0 -57
- package/lib/sidebar/reducers/media.js +0 -84
- package/lib/sidebar/reducers/newPageLinkExpanded.js +0 -30
- package/lib/sidebar/reducers/noop.js +0 -21
- package/lib/sidebar/reducers/rootFolderId.js +0 -30
- package/lib/sidebar/reducers/session.js +0 -33
- package/lib/sidebar/reducers/ui.js +0 -87
- package/lib/sidebar/reducers/upload.js +0 -206
- package/lib/sidebar/store/configureStore.js +0 -26
- package/lib/sidebar/store/initialState.js +0 -173
- package/lib/translations/locales/ar.js +0 -2427
- package/lib/translations/locales/ca.js +0 -2427
- package/lib/translations/locales/cy.js +0 -2427
- package/lib/translations/locales/da-x-k12.js +0 -2427
- package/lib/translations/locales/da.js +0 -2427
- package/lib/translations/locales/de.js +0 -2427
- package/lib/translations/locales/el.js +0 -459
- package/lib/translations/locales/en-AU-x-unimelb.js +0 -2427
- package/lib/translations/locales/en-GB-x-ukhe.js +0 -2427
- package/lib/translations/locales/en.js +0 -2427
- package/lib/translations/locales/en_AU.js +0 -2427
- package/lib/translations/locales/en_CA.js +0 -2426
- package/lib/translations/locales/en_CY.js +0 -2426
- package/lib/translations/locales/en_GB.js +0 -2427
- package/lib/translations/locales/es.js +0 -2427
- package/lib/translations/locales/es_ES.js +0 -2427
- package/lib/translations/locales/fa_IR.js +0 -615
- package/lib/translations/locales/fi.js +0 -2427
- package/lib/translations/locales/fr.js +0 -2427
- package/lib/translations/locales/fr_CA.js +0 -2427
- package/lib/translations/locales/he.js +0 -486
- package/lib/translations/locales/ht.js +0 -2426
- package/lib/translations/locales/hu.js +0 -2007
- package/lib/translations/locales/hy.js +0 -444
- package/lib/translations/locales/is.js +0 -2426
- package/lib/translations/locales/it.js +0 -2427
- package/lib/translations/locales/ja.js +0 -2427
- package/lib/translations/locales/ko.js +0 -342
- package/lib/translations/locales/mi.js +0 -2426
- package/lib/translations/locales/nb-x-k12.js +0 -2427
- package/lib/translations/locales/nb.js +0 -2427
- package/lib/translations/locales/nl.js +0 -2427
- package/lib/translations/locales/nn.js +0 -2247
- package/lib/translations/locales/pl.js +0 -2427
- package/lib/translations/locales/pt.js +0 -2427
- package/lib/translations/locales/pt_BR.js +0 -2427
- package/lib/translations/locales/ru.js +0 -84
- package/lib/translations/locales/sl.js +0 -2427
- package/lib/translations/locales/sv-x-k12.js +0 -2427
- package/lib/translations/locales/sv.js +0 -78
- package/lib/translations/locales/tr.js +0 -684
- package/lib/translations/locales/uk_UA.js +0 -519
- package/lib/translations/locales/vi.js +0 -39
- package/lib/translations/locales/zh-Hans.js +0 -2427
- package/lib/translations/locales/zh-Hant.js +0 -2427
- package/lib/translations/locales/zh.js +0 -2427
- package/lib/translations/locales/zh_HK.js +0 -2427
- package/lib/translations/tinymce/ar_SA.js +0 -211
- package/lib/translations/tinymce/bg_BG.js +0 -419
- package/lib/translations/tinymce/ca.js +0 -419
- package/lib/translations/tinymce/cs.js +0 -419
- package/lib/translations/tinymce/cy.js +0 -418
- package/lib/translations/tinymce/da.js +0 -419
- package/lib/translations/tinymce/de.js +0 -419
- package/lib/translations/tinymce/el.js +0 -261
- package/lib/translations/tinymce/en_GB.js +0 -230
- package/lib/translations/tinymce/es.js +0 -419
- package/lib/translations/tinymce/fa_IR.js +0 -390
- package/lib/translations/tinymce/fi.js +0 -19
- package/lib/translations/tinymce/fr_FR.js +0 -419
- package/lib/translations/tinymce/he_IL.js +0 -420
- package/lib/translations/tinymce/hu_HU.js +0 -419
- package/lib/translations/tinymce/hy.js +0 -419
- package/lib/translations/tinymce/it.js +0 -419
- package/lib/translations/tinymce/ja.js +0 -419
- package/lib/translations/tinymce/ko_KR.js +0 -419
- package/lib/translations/tinymce/nb_NO.js +0 -419
- package/lib/translations/tinymce/nl.js +0 -419
- package/lib/translations/tinymce/pl.js +0 -419
- package/lib/translations/tinymce/pt_BR.js +0 -419
- package/lib/translations/tinymce/pt_PT.js +0 -419
- package/lib/translations/tinymce/ro.js +0 -418
- package/lib/translations/tinymce/ru.js +0 -436
- package/lib/translations/tinymce/ru_RU.js +0 -71
- package/lib/translations/tinymce/sl.js +0 -462
- package/lib/translations/tinymce/sr.js +0 -278
- package/lib/translations/tinymce/sv_SE.js +0 -419
- package/lib/translations/tinymce/th.js +0 -479
- package/lib/translations/tinymce/tr_TR.js +0 -389
- package/lib/translations/tinymce/uk_UA.js +0 -278
- package/lib/translations/tinymce/vi_VN.js +0 -277
- package/lib/translations/tinymce/zh_CN.js +0 -419
- package/lib/translations/tinymce/zh_TW.js +0 -419
- package/lib/types/inst-ui.d.js +0 -18
- package/lib/types/ts-migration.js +0 -1
- package/lib/util/DeepPartialNullable.js +0 -1
- package/lib/util/ExtractRequired.js +0 -1
- package/lib/util/TypedDict.js +0 -131
- package/lib/util/assertNever.js +0 -44
- package/lib/util/elem-util.js +0 -26
- package/lib/util/encrypted-storage.js +0 -84
- package/lib/util/file-url-util.js +0 -44
- package/lib/util/fullscreenHelpers.js +0 -27
- package/lib/util/instui-icon-helper.js +0 -31
- package/lib/util/loadingPlaceholder.js +0 -436
- package/lib/util/simpleCache.js +0 -41
- package/lib/util/string-util.js +0 -48
- package/lib/util/textarea-editing-util.js +0 -87
- package/lib/util/tinymce-plugin-util.js +0 -52
- package/lib/util/url-util.js +0 -138
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2022 - present Instructure, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This file is part of Canvas.
|
|
5
|
-
*
|
|
6
|
-
* Canvas is free software: you can redistribute it and/or modify it under
|
|
7
|
-
* the terms of the GNU Affero General Public License as published by the Free
|
|
8
|
-
* Software Foundation, version 3 of the License.
|
|
9
|
-
*
|
|
10
|
-
* Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
11
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
12
|
-
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
13
|
-
* details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License along
|
|
16
|
-
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React, { useEffect } from 'react';
|
|
19
|
-
import PropTypes from 'prop-types';
|
|
20
|
-
import { Link } from '@instructure/ui-link';
|
|
21
|
-
import { Flex } from '@instructure/ui-flex';
|
|
22
|
-
import { View } from '@instructure/ui-view';
|
|
23
|
-
import SVGThumbnail from './SVGThumbnail';
|
|
24
|
-
import MultiColorSVG from './MultiColor/svg';
|
|
25
|
-
import SingleColorSVG from './SingleColor/svg';
|
|
26
|
-
export const TYPE = {
|
|
27
|
-
Singlecolor: 'singlecolor',
|
|
28
|
-
Multicolor: 'multicolor'
|
|
29
|
-
};
|
|
30
|
-
export function svgSourceFor(type) {
|
|
31
|
-
return type === TYPE.Multicolor ? MultiColorSVG : SingleColorSVG;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const SVGList = _ref => {
|
|
35
|
-
let {
|
|
36
|
-
type,
|
|
37
|
-
onSelect,
|
|
38
|
-
fillColor,
|
|
39
|
-
onMount
|
|
40
|
-
} = _ref;
|
|
41
|
-
const svgSourceList = svgSourceFor(type); // Only execute this once
|
|
42
|
-
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
if (onMount) onMount(); // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
45
|
-
}, []);
|
|
46
|
-
return /*#__PURE__*/React.createElement(Flex, {
|
|
47
|
-
justifyItems: "start",
|
|
48
|
-
height: "100%",
|
|
49
|
-
margin: "xx-small",
|
|
50
|
-
padding: "small",
|
|
51
|
-
wrap: "wrap",
|
|
52
|
-
"data-testid": `${type}-svg-list`
|
|
53
|
-
}, Object.keys(svgSourceList).map(iconName => /*#__PURE__*/React.createElement(Flex.Item, {
|
|
54
|
-
key: iconName,
|
|
55
|
-
as: "div",
|
|
56
|
-
margin: "xx-small xx-small small xx-small",
|
|
57
|
-
size: "4rem"
|
|
58
|
-
}, /*#__PURE__*/React.createElement(Link, {
|
|
59
|
-
"data-testid": `icon-maker-${iconName}`,
|
|
60
|
-
draggable: false,
|
|
61
|
-
onClick: () => onSelect(iconName, svgSourceList[iconName]),
|
|
62
|
-
title: svgSourceList[iconName].label
|
|
63
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
64
|
-
as: "div",
|
|
65
|
-
borderRadius: "medium",
|
|
66
|
-
margin: "none none small none",
|
|
67
|
-
overflowX: "hidden",
|
|
68
|
-
overflowY: "hidden"
|
|
69
|
-
}, /*#__PURE__*/React.createElement(SVGThumbnail, {
|
|
70
|
-
name: iconName,
|
|
71
|
-
source: svgSourceList,
|
|
72
|
-
fillColor: fillColor
|
|
73
|
-
}))))));
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
SVGList.propTypes = {
|
|
77
|
-
fillColor: PropTypes.string,
|
|
78
|
-
type: PropTypes.oneOf(Object.values(TYPE)).isRequired,
|
|
79
|
-
onSelect: PropTypes.func.isRequired,
|
|
80
|
-
onMount: PropTypes.func
|
|
81
|
-
};
|
|
82
|
-
SVGList.defaultProps = {
|
|
83
|
-
fillColor: '#000000',
|
|
84
|
-
onMount: () => {}
|
|
85
|
-
};
|
|
86
|
-
export default SVGList;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2022 - present Instructure, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This file is part of Canvas.
|
|
5
|
-
*
|
|
6
|
-
* Canvas is free software: you can redistribute it and/or modify it under
|
|
7
|
-
* the terms of the GNU Affero General Public License as published by the Free
|
|
8
|
-
* Software Foundation, version 3 of the License.
|
|
9
|
-
*
|
|
10
|
-
* Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
11
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
12
|
-
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
13
|
-
* details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License along
|
|
16
|
-
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React from 'react';
|
|
19
|
-
import PropTypes from 'prop-types';
|
|
20
|
-
import { SVGIcon } from '@instructure/ui-svg-images';
|
|
21
|
-
|
|
22
|
-
const SVGThumbnail = _ref => {
|
|
23
|
-
var _source$name, _source$name2;
|
|
24
|
-
|
|
25
|
-
let {
|
|
26
|
-
name,
|
|
27
|
-
source,
|
|
28
|
-
size,
|
|
29
|
-
fillColor
|
|
30
|
-
} = _ref;
|
|
31
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
style: {
|
|
33
|
-
fontSize: size
|
|
34
|
-
}
|
|
35
|
-
}, /*#__PURE__*/React.createElement(SVGIcon, {
|
|
36
|
-
src: (_source$name = source[name]) === null || _source$name === void 0 ? void 0 : _source$name.source(fillColor),
|
|
37
|
-
title: (_source$name2 = source[name]) === null || _source$name2 === void 0 ? void 0 : _source$name2.label,
|
|
38
|
-
"data-testid": `icon-${name}`
|
|
39
|
-
}));
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
SVGThumbnail.propTypes = {
|
|
43
|
-
size: PropTypes.string,
|
|
44
|
-
fillColor: PropTypes.string,
|
|
45
|
-
name: PropTypes.string.isRequired,
|
|
46
|
-
source: PropTypes.objectOf(PropTypes.shape({
|
|
47
|
-
source: PropTypes.func.isRequired,
|
|
48
|
-
label: PropTypes.string.isRequired
|
|
49
|
-
}).isRequired).isRequired
|
|
50
|
-
};
|
|
51
|
-
SVGThumbnail.defaultProps = {
|
|
52
|
-
size: '4rem',
|
|
53
|
-
fillColor: '#000000'
|
|
54
|
-
};
|
|
55
|
-
export default SVGThumbnail;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2022 - present Instructure, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This file is part of Canvas.
|
|
5
|
-
*
|
|
6
|
-
* Canvas is free software: you can redistribute it and/or modify it under
|
|
7
|
-
* the terms of the GNU Affero General Public License as published by the Free
|
|
8
|
-
* Software Foundation, version 3 of the License.
|
|
9
|
-
*
|
|
10
|
-
* Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
11
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
12
|
-
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
13
|
-
* details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License along
|
|
16
|
-
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React from 'react';
|
|
19
|
-
import PropTypes from 'prop-types';
|
|
20
|
-
import SVGList, { TYPE } from '../SVGList';
|
|
21
|
-
import { actions } from '../../../../reducers/imageSection';
|
|
22
|
-
|
|
23
|
-
const SingleColor = _ref => {
|
|
24
|
-
let {
|
|
25
|
-
data,
|
|
26
|
-
dispatch,
|
|
27
|
-
onLoaded
|
|
28
|
-
} = _ref;
|
|
29
|
-
const {
|
|
30
|
-
iconFillColor
|
|
31
|
-
} = data;
|
|
32
|
-
|
|
33
|
-
const onSelect = (id, svg) => {
|
|
34
|
-
dispatch({ ...actions.SET_IMAGE_NAME,
|
|
35
|
-
payload: svg.label
|
|
36
|
-
});
|
|
37
|
-
dispatch({ ...actions.SET_ICON,
|
|
38
|
-
payload: id
|
|
39
|
-
});
|
|
40
|
-
dispatch({ ...actions.SET_IMAGE_COLLECTION_OPEN,
|
|
41
|
-
payload: false
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
return /*#__PURE__*/React.createElement(SVGList, {
|
|
46
|
-
type: TYPE.Singlecolor,
|
|
47
|
-
onSelect: onSelect,
|
|
48
|
-
fillColor: iconFillColor,
|
|
49
|
-
onMount: onLoaded
|
|
50
|
-
});
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
SingleColor.propTypes = {
|
|
54
|
-
dispatch: PropTypes.func,
|
|
55
|
-
data: PropTypes.shape({
|
|
56
|
-
icon: PropTypes.string,
|
|
57
|
-
iconFillColor: PropTypes.string
|
|
58
|
-
}),
|
|
59
|
-
onLoaded: PropTypes.func
|
|
60
|
-
};
|
|
61
|
-
SingleColor.defaultProps = {
|
|
62
|
-
dispatch: () => {},
|
|
63
|
-
data: {
|
|
64
|
-
icon: null,
|
|
65
|
-
// Black color in color selector component
|
|
66
|
-
iconFillColor: '#000000'
|
|
67
|
-
},
|
|
68
|
-
onLoaded: () => {}
|
|
69
|
-
};
|
|
70
|
-
export default SingleColor;
|
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2022 - present Instructure, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This file is part of Canvas.
|
|
5
|
-
*
|
|
6
|
-
* Canvas is free software: you can redistribute it and/or modify it under
|
|
7
|
-
* the terms of the GNU Affero General Public License as published by the Free
|
|
8
|
-
* Software Foundation, version 3 of the License.
|
|
9
|
-
*
|
|
10
|
-
* Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
11
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
12
|
-
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
13
|
-
* details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License along
|
|
16
|
-
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import formatMessage from '../../../../../../../format-message';
|
|
19
|
-
const DEFAULT_COLOR = '#ff00ff';
|
|
20
|
-
export default {
|
|
21
|
-
art: {
|
|
22
|
-
source: function () {
|
|
23
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
24
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
25
|
-
<path d="M240 90C157.219 90 90 157.219 90 240C90 322.844 157.159 390 240 390C244.029 390 248.019 389.843 251.97 389.53C270.341 388.079 284.474 372.672 284.474 354.245V314.887C284.474 306.821 287.678 299.085 293.382 293.382C299.085 287.678 306.821 284.474 314.887 284.474H354.57C363.369 284.478 371.847 281.171 378.32 275.21C384.792 269.249 388.785 261.071 389.503 252.301C389.834 248.246 390 244.146 390 240C390 157.159 322.844 90 240 90ZM147.884 283.142C142.957 284.059 137.868 283.493 133.262 281.518C128.656 279.542 124.739 276.246 122.006 272.044C119.273 267.843 117.847 262.925 117.909 257.914C117.97 252.902 119.516 248.022 122.351 243.889C125.187 239.755 129.183 236.556 133.837 234.694C138.49 232.832 143.591 232.392 148.494 233.429C153.398 234.466 157.884 236.933 161.385 240.519C164.887 244.106 167.246 248.649 168.166 253.576C168.776 256.849 168.735 260.211 168.046 263.468C167.357 266.725 166.033 269.815 164.15 272.561C162.266 275.306 159.861 277.654 157.07 279.47C154.279 281.285 151.157 282.533 147.884 283.142V283.142ZM158.242 170.017C157.324 165.089 157.889 159.999 159.864 155.392C161.839 150.785 165.136 146.867 169.338 144.133C173.54 141.4 178.458 139.974 183.47 140.036C188.483 140.097 193.364 141.644 197.497 144.48C201.631 147.316 204.83 151.314 206.691 155.969C208.552 160.623 208.991 165.725 207.952 170.629C206.914 175.533 204.444 180.019 200.856 183.519C197.268 187.02 192.723 189.378 187.795 190.295C184.523 190.904 181.163 190.863 177.907 190.173C174.651 189.484 171.562 188.16 168.818 186.277C166.074 184.394 163.727 181.989 161.912 179.199C160.098 176.409 158.85 173.289 158.242 170.017ZM224.858 360.53C218.309 360.53 211.907 358.588 206.461 354.949C201.016 351.311 196.772 346.139 194.266 340.089C191.759 334.038 191.104 327.38 192.381 320.957C193.659 314.534 196.813 308.634 201.443 304.003C206.074 299.372 211.974 296.219 218.398 294.941C224.821 293.663 231.479 294.319 237.529 296.825C243.58 299.331 248.751 303.576 252.39 309.021C256.028 314.466 257.97 320.868 257.97 327.417C257.97 336.199 254.482 344.622 248.272 350.831C242.062 357.041 233.64 360.53 224.858 360.53V360.53ZM285.728 180.152C280.801 181.069 275.711 180.504 271.105 178.528C266.498 176.553 262.581 173.255 259.848 169.054C257.115 164.852 255.689 159.934 255.751 154.922C255.813 149.91 257.36 145.028 260.196 140.895C263.032 136.763 267.03 133.563 271.684 131.702C276.339 129.841 281.44 129.402 286.344 130.441C291.248 131.479 295.733 133.948 299.234 137.536C302.734 141.123 305.092 145.668 306.01 150.596C307.24 157.205 305.794 164.032 301.99 169.574C298.187 175.117 292.337 178.922 285.728 180.152ZM343.725 257.848C338.797 258.765 333.708 258.201 329.1 256.225C324.493 254.25 320.575 250.953 317.842 246.751C315.108 242.55 313.682 237.631 313.744 232.619C313.806 227.607 315.353 222.725 318.189 218.592C321.025 214.459 325.023 211.259 329.677 209.398C334.332 207.537 339.434 207.098 344.338 208.137C349.242 209.176 353.727 211.645 357.228 215.233C360.728 218.821 363.086 223.367 364.003 228.295C364.613 231.567 364.571 234.927 363.882 238.183C363.193 241.439 361.869 244.527 359.986 247.271C358.103 250.016 355.697 252.362 352.907 254.177C350.117 255.992 346.997 257.239 343.725 257.848V257.848Z" fill="${color}"/>
|
|
26
|
-
</svg>
|
|
27
|
-
`;
|
|
28
|
-
},
|
|
29
|
-
label: formatMessage('Art Icon')
|
|
30
|
-
},
|
|
31
|
-
engineering: {
|
|
32
|
-
source: function () {
|
|
33
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
34
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
35
|
-
<g clip-path="url(#clip0_507_379)">
|
|
36
|
-
<path d="M283.655 258.454C278.253 244.889 278.039 229.809 283.052 216.095C287.981 202.523 297.577 191.148 310.125 184.004C310.103 168.447 307.033 153.046 301.089 138.67C286.948 136.263 274.076 129.036 264.66 118.215C255.498 107.758 250.263 94.4377 249.852 80.5414C235.904 72.465 220.514 67.1861 204.545 65C195.257 75.4435 182.717 82.4478 168.954 84.8797C155.15 87.4021 140.899 85.2345 128.469 78.7219C114.36 86.3207 101.889 96.6271 91.7688 109.051C96.4395 122.113 96.3889 136.397 91.6259 149.425C86.7594 162.822 77.3433 174.086 65.0204 181.249C64.7028 196.799 67.434 212.261 73.0596 226.761C87.4056 229.074 100.486 236.344 110.026 247.305C119.67 258.308 124.947 272.464 124.857 287.095C138.276 294.93 153.049 300.172 168.406 302.548C177.811 290.995 191.06 283.213 205.731 280.625C220.448 277.936 235.64 280.582 248.581 288.088C262.045 280.523 273.947 270.466 283.655 258.454ZM198.666 243.002C165.126 249.051 132.969 227.522 126.842 194.913C120.715 162.305 142.94 130.967 176.48 124.917C210.019 118.868 242.164 140.377 248.291 172.986C254.418 205.595 232.198 236.933 198.666 242.982V243.002Z" fill="${color}"/>
|
|
37
|
-
<path d="M398.174 314.187C395.434 305.214 395.92 295.565 399.549 286.913C393.161 278.166 385.107 270.769 375.849 265.148C367.221 269.116 357.516 270.087 348.273 267.907C339.062 265.786 330.839 260.612 324.94 253.227C314.067 254.151 303.478 257.184 293.764 262.158C292.985 271.54 288.967 280.359 282.399 287.102C275.649 294.085 266.694 298.522 257.049 299.662C252.519 309.166 249.894 319.466 249.323 329.979C257.544 335.242 263.619 343.263 266.46 352.602C269.349 362.045 268.661 372.221 264.528 381.189C270.652 389.646 278.333 396.857 287.158 402.436C296.165 397.812 306.526 396.55 316.379 398.878C326.187 401.146 334.848 406.875 340.771 415.015C351.238 413.935 361.409 410.902 370.757 406.072C371.228 396.176 375.303 386.795 382.215 379.698C389.055 372.629 398.153 368.177 407.932 367.112C412.259 357.508 414.66 347.148 415.002 336.62C406.931 331.351 400.974 323.409 398.174 314.187V314.187ZM372.746 343.701C367.431 365.52 344.932 378.956 322.483 373.706C300.034 368.456 286.169 346.514 291.47 324.691C296.77 302.868 319.284 289.436 341.733 294.686C364.182 299.936 378.062 321.878 372.746 343.701Z" fill="${color}"/>
|
|
38
|
-
</g>
|
|
39
|
-
<defs>
|
|
40
|
-
<clipPath id="clip0_507_379">
|
|
41
|
-
<rect width="350" height="350" fill="white" transform="translate(65 65)"/>
|
|
42
|
-
</clipPath>
|
|
43
|
-
</defs>
|
|
44
|
-
</svg>
|
|
45
|
-
`;
|
|
46
|
-
},
|
|
47
|
-
label: formatMessage('Engineering Icon')
|
|
48
|
-
},
|
|
49
|
-
english: {
|
|
50
|
-
source: function () {
|
|
51
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
52
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
53
|
-
<g clip-path="url(#clip0_507_323)">
|
|
54
|
-
<path d="M340.099 90H139.901C126.666 90 113.974 95.2848 104.616 104.692C95.2574 114.099 90 126.857 90 140.161V264.884C90 271.471 91.2907 277.994 93.7985 284.08C96.3062 290.166 99.9819 295.695 104.616 300.353C113.974 309.76 126.666 315.045 139.901 315.045H162.705C170.697 315.045 178.361 318.236 184.012 323.916C189.663 329.597 192.838 337.301 192.838 345.334V379.708C192.838 379.901 192.838 380.091 192.838 380.281C193.235 389.204 204.195 393.262 210.477 386.938L270.642 326.482C274.251 322.854 278.536 319.977 283.252 318.014C287.968 316.052 293.022 315.043 298.126 315.045H340.099C346.652 315.045 353.141 313.747 359.195 311.227C365.25 308.706 370.751 305.011 375.384 300.353C380.018 295.695 383.694 290.166 386.202 284.08C388.709 277.994 390 271.471 390 264.884V140.161C390 126.857 384.743 114.099 375.384 104.692C366.026 95.2848 353.334 90 340.099 90V90ZM210.861 162.715H152.55V199.329H198.51V218.228H152.55V255.564H210.861V275.202H128.026V143.177H210.861V162.715ZM352.275 275.196H339.742C337.804 275.196 336.184 274.876 334.884 274.237C333.584 273.598 332.327 272.517 331.113 270.995L262.54 182.982C262.904 186.999 263.086 190.711 263.086 194.12V275.196H241.563V143.177H254.371C255.266 143.17 256.16 143.216 257.05 143.313C257.737 143.386 258.408 143.572 259.036 143.862C259.655 144.166 260.223 144.566 260.719 145.047C261.371 145.688 261.977 146.374 262.533 147.101L331.391 235.48C331.21 233.35 331.058 231.249 330.937 229.179C330.816 227.109 330.755 225.191 330.755 223.427V143.177H352.278L352.275 275.196Z" fill="${color}"/>
|
|
55
|
-
</g>
|
|
56
|
-
<defs>
|
|
57
|
-
<clipPath id="clip0_507_323">
|
|
58
|
-
<rect width="300" height="300" fill="white" transform="translate(90 90)"/>
|
|
59
|
-
</clipPath>
|
|
60
|
-
</defs>
|
|
61
|
-
</svg>
|
|
62
|
-
`;
|
|
63
|
-
},
|
|
64
|
-
label: formatMessage('English Icon')
|
|
65
|
-
},
|
|
66
|
-
extracurricular: {
|
|
67
|
-
source: function () {
|
|
68
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
69
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
70
|
-
<g clip-path="url(#clip0_507_414)">
|
|
71
|
-
<path d="M412.045 311.901L327.861 255.799C323.967 253.204 319.233 252.303 314.695 253.293C310.157 254.283 306.184 257.084 303.647 261.084L273.167 309.22C264.619 322.725 258.663 332.139 265.689 354.897L284.664 400.665C289.715 410.636 289.715 410.636 300.647 411.317L349.115 410.492C370.454 410.632 378.189 398.409 386.737 384.916L417.18 336.775C418.437 334.797 419.3 332.583 419.722 330.26C420.144 327.936 420.116 325.55 419.638 323.238C419.161 320.926 418.244 318.734 416.941 316.788C415.638 314.843 413.974 313.182 412.045 311.901V311.901ZM314.687 314.677C314.725 313.317 315.016 311.977 315.544 310.729C315.6 310.602 315.656 310.474 315.716 310.346C315.912 309.929 316.133 309.526 316.377 309.137C316.62 308.747 316.888 308.374 317.178 308.019C317.286 307.887 317.398 307.763 317.511 307.64C318.473 306.585 319.632 305.74 320.917 305.155C322.202 304.569 323.588 304.254 324.993 304.228C325.501 304.22 326.008 304.249 326.511 304.315C328.074 304.518 329.572 305.082 330.894 305.965C330.958 306.006 331.014 306.052 331.074 306.093C331.25 306.212 331.418 306.336 331.583 306.468C332.337 307.06 333.01 307.754 333.585 308.531C333.892 308.95 334.168 309.393 334.411 309.855C334.571 310.16 334.719 310.474 334.851 310.791C335.063 311.306 335.236 311.837 335.368 312.379C335.44 312.676 335.5 312.974 335.548 313.271C335.58 313.456 335.604 313.646 335.624 313.832C335.656 314.153 335.676 314.475 335.684 314.797V314.817C335.708 316.433 335.378 318.034 334.72 319.502C334.063 320.969 333.093 322.265 331.883 323.295C331.751 323.41 331.615 323.517 331.482 323.625C330.118 324.672 328.528 325.364 326.848 325.643C325.168 325.922 323.447 325.778 321.833 325.225C321.504 325.11 321.18 324.972 320.859 324.813C319.047 323.975 317.502 322.624 316.407 320.917C315.311 319.21 314.709 317.218 314.67 315.172C314.662 315.044 314.662 314.85 314.67 314.677H314.687ZM314.999 370.688C312.88 369.28 311.051 367.455 309.619 365.317C308.187 363.179 307.178 360.771 306.652 358.231C306.126 355.691 306.092 353.069 306.552 350.516C307.013 347.962 307.958 345.527 309.335 343.351L341.637 364.88C338.845 369.283 334.471 372.367 329.475 373.456C324.479 374.545 319.268 373.549 314.983 370.688H314.999ZM369.232 344.362C368.094 346.167 366.456 347.58 364.529 348.417C364.377 348.483 364.217 348.544 364.061 348.606C363.271 348.904 362.449 349.105 361.613 349.205L361.113 349.25C360.776 349.271 360.436 349.279 360.099 349.25C359.246 349.221 358.399 349.083 357.58 348.837C355.564 348.26 353.762 347.076 352.406 345.436C351.05 343.796 350.201 341.775 349.969 339.634C349.933 339.312 349.913 338.991 349.905 338.669V338.644C349.866 336.496 350.457 334.386 351.599 332.589C351.844 332.199 352.111 331.826 352.4 331.471C352.508 331.339 352.62 331.211 352.733 331.087C353.03 330.759 353.347 330.45 353.682 330.163C353.818 330.052 353.95 329.94 354.083 329.837C354.215 329.734 354.463 329.561 354.655 329.425C354.936 329.236 355.227 329.063 355.525 328.905C355.922 328.69 356.333 328.503 356.754 328.344C356.951 328.269 357.155 328.203 357.343 328.142C357.628 328.055 357.916 327.977 358.208 327.911C358.501 327.845 358.869 327.783 359.202 327.746C359.534 327.708 359.875 327.684 360.211 327.675C360.719 327.667 361.226 327.696 361.729 327.762C363.343 327.974 364.888 328.569 366.241 329.5C367.594 330.43 368.719 331.671 369.529 333.125C370.228 334.385 370.671 335.779 370.83 337.221C371.127 339.723 370.556 342.252 369.216 344.362H369.232Z" fill="${color}"/>
|
|
72
|
-
<path d="M231.752 119.794L70.1906 198.068C70.073 198.125 69.9675 198.206 69.8801 198.305C69.7926 198.404 69.725 198.52 69.6811 198.646C69.6372 198.772 69.6179 198.906 69.6242 199.039C69.6305 199.173 69.6624 199.304 69.718 199.425C70.2747 200.643 71.059 201.737 72.026 202.643C72.9931 203.549 74.1239 204.249 75.3541 204.705C76.5842 205.161 77.8894 205.363 79.1953 205.299C80.5011 205.236 81.782 204.908 82.9648 204.334L228.3 133.922C230.688 132.764 232.533 130.677 233.428 128.119C234.322 125.56 234.194 122.741 233.07 120.281C233.015 120.159 232.937 120.051 232.841 119.961C232.744 119.871 232.632 119.801 232.509 119.756C232.387 119.711 232.257 119.691 232.127 119.697C231.997 119.704 231.87 119.737 231.752 119.794V119.794Z" fill="${color}"/>
|
|
73
|
-
<path d="M188.691 102.918C193.682 90.744 200.862 79.6508 209.853 70.2221C208.277 67.9387 206.264 66.0118 203.938 64.5602C201.611 63.1087 199.021 62.1632 196.326 61.782C194.507 61.532 192.656 61.8064 190.979 62.5747C189.302 63.343 187.866 64.5751 186.828 66.1341C181.809 73.5896 174.937 79.5193 166.93 83.3031C158.924 87.0868 150.077 88.5855 141.315 87.6425C139.856 87.4848 138.38 87.6619 136.995 88.1612C135.61 88.6605 134.35 89.4695 133.304 90.5301L126.37 97.5758L138.636 105.121C139.21 105.471 139.712 105.935 140.112 106.485C140.513 107.036 140.803 107.663 140.967 108.329C141.132 108.996 141.166 109.689 141.069 110.37C140.972 111.05 140.745 111.704 140.402 112.294C139.714 113.429 138.623 114.241 137.361 114.558C136.099 114.875 134.766 114.671 133.649 113.99L119.068 105.022L111.217 112.958L123.959 120.796C125.079 121.484 125.893 122.597 126.224 123.897C126.555 125.196 126.377 126.577 125.729 127.743C125.388 128.334 124.936 128.849 124.4 129.259C123.864 129.67 123.255 129.967 122.607 130.134C121.96 130.301 121.286 130.335 120.626 130.233C119.966 130.132 119.331 129.896 118.759 129.541L103.894 120.4L94.1123 130.338L107.159 138.361C108.277 139.049 109.089 140.162 109.42 141.46C109.752 142.758 109.575 144.138 108.929 145.304C108.587 145.894 108.135 146.41 107.599 146.82C107.063 147.231 106.453 147.528 105.805 147.695C105.157 147.862 104.484 147.896 103.823 147.794C103.162 147.692 102.528 147.457 101.955 147.102L86.7899 137.775L65.8841 159.02C62.9644 162 61.0119 165.838 60.2947 170.006C59.5774 174.175 60.1307 178.47 61.8784 182.302L62.9239 184.587C63.2025 185.197 63.5951 185.745 64.0794 186.199C64.5637 186.652 65.1302 187.003 65.7463 187.231C66.3625 187.459 67.0162 187.56 67.6702 187.527C68.3241 187.495 68.9654 187.33 69.5574 187.042L181.196 132.957C182.227 122.615 184.753 112.49 188.691 102.918V102.918Z" fill="${color}"/>
|
|
74
|
-
<path d="M191.932 127.764L223.905 112.274C224.498 111.988 225.03 111.585 225.472 111.088C225.914 110.591 226.256 110.008 226.479 109.375C226.702 108.741 226.802 108.069 226.773 107.395C226.744 106.722 226.586 106.061 226.309 105.451L214.652 79.9409C202.797 93.3188 194.913 109.915 191.932 127.764V127.764Z" fill="${color}"/>
|
|
75
|
-
<path d="M197.764 258.2L158.147 242.714C155.23 241.574 152.087 241.18 148.989 241.567C145.891 241.954 142.931 243.111 140.363 244.937C137.795 246.763 135.697 249.204 134.248 252.051C132.799 254.897 132.044 258.064 132.046 261.277V357.393C128.435 356.397 124.713 355.889 120.974 355.883C100.618 355.883 84.1221 370.234 84.1221 387.939C84.1221 405.645 100.622 419.996 120.974 419.996C140.166 419.996 155.928 407.233 157.667 390.934H157.827V298.651L184.088 308.919C187.006 310.059 190.149 310.453 193.247 310.066C196.345 309.679 199.305 308.522 201.873 306.696C204.441 304.87 206.539 302.428 207.988 299.582C209.437 296.735 210.192 293.569 210.189 290.355V276.743C210.188 272.719 208.999 268.791 206.78 265.479C204.561 262.167 201.416 259.629 197.764 258.2V258.2Z" fill="${color}"/>
|
|
76
|
-
<path d="M339.349 218.104C341.411 218.104 343.452 218.02 345.474 217.852C350.008 217.475 354.238 215.351 357.32 211.906C360.403 208.46 362.111 203.945 362.105 199.26V178.503C362.105 174.251 363.745 170.174 366.665 167.167C369.584 164.161 373.543 162.472 377.672 162.472H397.98C402.483 162.475 406.822 160.733 410.134 157.591C413.445 154.45 415.488 150.14 415.854 145.518C416.027 143.381 416.113 141.22 416.11 139.033C416.11 95.3771 381.741 59.9835 339.349 59.9835C296.957 59.9835 262.588 95.4307 262.588 139.054C262.588 182.677 296.953 218.104 339.349 218.104ZM387.682 122.199C390.204 121.714 392.809 122.011 395.167 123.052C397.525 124.092 399.531 125.83 400.93 128.044C402.33 130.259 403.06 132.851 403.028 135.493C402.997 138.135 402.206 140.708 400.754 142.886C399.303 145.065 397.256 146.751 394.874 147.732C392.492 148.713 389.881 148.944 387.371 148.397C384.861 147.849 382.565 146.547 380.774 144.656C378.982 142.765 377.776 140.369 377.307 137.771C376.995 136.047 377.016 134.277 377.369 132.561C377.722 130.845 378.399 129.218 379.362 127.772C380.326 126.326 381.556 125.089 382.984 124.133C384.411 123.177 386.008 122.52 387.682 122.199V122.199ZM358.004 81.2485C360.526 80.7644 363.13 81.0614 365.488 82.1019C367.846 83.1424 369.852 84.8796 371.251 87.0939C372.65 89.3082 373.381 91.9 373.35 94.5417C373.318 97.1834 372.527 99.7562 371.076 101.935C369.625 104.114 367.579 105.8 365.197 106.781C362.815 107.762 360.205 107.994 357.695 107.447C355.185 106.9 352.889 105.599 351.097 103.708C349.306 101.818 348.099 99.4222 347.629 96.825C346.999 93.3426 347.738 89.7453 349.684 86.8242C351.63 83.9031 354.622 81.8975 358.004 81.2485V81.2485ZM348.55 185.103C348.551 188.556 347.557 191.931 345.695 194.803C343.833 197.674 341.186 199.912 338.088 201.234C334.991 202.556 331.582 202.903 328.293 202.229C325.005 201.556 321.984 199.894 319.612 197.453C317.241 195.011 315.626 191.901 314.972 188.514C314.318 185.128 314.653 181.617 315.936 178.427C317.219 175.237 319.392 172.51 322.18 170.592C324.967 168.673 328.245 167.649 331.598 167.649C336.093 167.649 340.405 169.488 343.584 172.761C346.763 176.034 348.549 180.473 348.55 185.103V185.103ZM307.896 86.5947C310.418 86.1138 313.021 86.4133 315.377 87.4554C317.733 88.4975 319.736 90.2354 321.134 92.4495C322.531 94.6635 323.26 97.2545 323.228 99.8949C323.196 102.535 322.405 105.107 320.954 107.284C319.504 109.462 317.459 111.148 315.078 112.129C312.698 113.11 310.088 113.343 307.579 112.798C305.07 112.252 302.775 110.953 300.982 109.065C299.19 107.176 297.982 104.783 297.51 102.188C297.196 100.461 297.215 98.6881 297.568 96.9696C297.92 95.2511 298.598 93.621 299.562 92.1726C300.527 90.7243 301.76 89.4861 303.19 88.529C304.62 87.5718 306.219 86.9145 307.896 86.5947V86.5947ZM277.085 151.099C276.615 148.502 276.904 145.82 277.915 143.392C278.926 140.964 280.614 138.899 282.764 137.459C284.914 136.019 287.431 135.267 289.996 135.3C292.561 135.332 295.059 136.148 297.175 137.642C299.29 139.137 300.927 141.244 301.879 143.697C302.832 146.15 303.057 148.838 302.525 151.423C301.994 154.007 300.73 156.371 298.894 158.216C297.058 160.061 294.732 161.304 292.21 161.788C290.535 162.109 288.815 162.088 287.149 161.725C285.482 161.361 283.901 160.664 282.497 159.671C281.092 158.678 279.891 157.411 278.962 155.94C278.034 154.469 277.396 152.824 277.085 151.099Z" fill="${color}"/>
|
|
77
|
-
</g>
|
|
78
|
-
<defs>
|
|
79
|
-
<clipPath id="clip0_507_414">
|
|
80
|
-
<rect width="360" height="360" fill="white" transform="translate(60 60)"/>
|
|
81
|
-
</clipPath>
|
|
82
|
-
</defs>
|
|
83
|
-
</svg>
|
|
84
|
-
`;
|
|
85
|
-
},
|
|
86
|
-
label: formatMessage('Extracurricular Icon')
|
|
87
|
-
},
|
|
88
|
-
health: {
|
|
89
|
-
source: function () {
|
|
90
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
91
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
92
|
-
<g clip-path="url(#clip0_507_330)">
|
|
93
|
-
<path d="M245.224 115.264C244.572 115.95 243.787 116.496 242.917 116.87C242.048 117.243 241.111 117.436 240.164 117.436C239.218 117.436 238.281 117.243 237.411 116.87C236.542 116.496 235.757 115.95 235.105 115.264C153.208 29.5771 56.0319 115.264 85.3476 210.243C85.9559 210.047 86.591 209.947 87.2302 209.946H128.353L142.538 139.242C142.827 137.793 143.626 136.496 144.79 135.586C145.954 134.675 147.406 134.213 148.882 134.282C150.358 134.352 151.76 134.948 152.834 135.963C153.908 136.978 154.582 138.345 154.734 139.815L165.704 244.906L179.995 173.8C180.281 172.414 181.033 171.168 182.125 170.268C183.217 169.369 184.584 168.87 185.999 168.855H186.056C187.462 168.861 188.824 169.344 189.92 170.224C191.016 171.105 191.781 172.332 192.088 173.704L202.165 219.645L210.194 192.989C210.558 191.777 211.286 190.706 212.28 189.922C213.273 189.138 214.483 188.678 215.747 188.604C217.01 188.53 218.266 188.847 219.343 189.51C220.421 190.174 221.269 191.153 221.771 192.314L229.404 209.946H269.129C270.497 207.49 272.643 205.558 275.228 204.452C277.813 203.347 280.692 203.131 283.413 203.838C286.135 204.545 288.544 206.135 290.264 208.359C291.985 210.583 292.918 213.315 292.918 216.127C292.918 218.939 291.985 221.671 290.264 223.895C288.544 226.119 286.135 227.71 283.413 228.417C280.692 229.124 277.813 228.908 275.228 227.802C272.643 226.697 270.497 224.764 269.129 222.308H225.36C224.159 222.306 222.984 221.954 221.98 221.294C220.976 220.634 220.187 219.695 219.709 218.593L217.166 212.726L207.152 245.959C206.759 247.269 205.942 248.411 204.828 249.207C203.715 250.002 202.369 250.405 201.002 250.353C199.635 250.3 198.324 249.795 197.275 248.916C196.226 248.038 195.499 246.836 195.207 245.499L186.314 205.047L169.826 287.085C169.549 288.483 168.794 289.741 167.691 290.643C166.587 291.546 165.205 292.036 163.779 292.03H163.479C162.002 291.968 160.596 291.374 159.521 290.359C158.446 289.343 157.773 287.974 157.627 286.502L146.677 181.464L139.469 217.339C139.183 218.734 138.424 219.987 137.321 220.888C136.218 221.789 134.839 222.282 133.415 222.283H89.7308C95.5092 236.016 104.018 249.78 115.673 263.121L232.23 396.387C233.213 397.521 234.429 398.431 235.795 399.054C237.161 399.678 238.645 400 240.147 400C241.648 400 243.132 399.678 244.498 399.054C245.864 398.431 247.08 397.521 248.064 396.387L364.62 263.121C460.366 153.667 341.793 14.3364 245.224 115.264Z" fill="${color}"/>
|
|
94
|
-
</g>
|
|
95
|
-
<defs>
|
|
96
|
-
<clipPath id="clip0_507_330">
|
|
97
|
-
<rect width="320" height="320" fill="white" transform="translate(80 80)"/>
|
|
98
|
-
</clipPath>
|
|
99
|
-
</defs>
|
|
100
|
-
</svg>
|
|
101
|
-
`;
|
|
102
|
-
},
|
|
103
|
-
label: formatMessage('Health Icon')
|
|
104
|
-
},
|
|
105
|
-
languageArts: {
|
|
106
|
-
source: function () {
|
|
107
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
108
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
109
|
-
<g clip-path="url(#clip0_507_316)">
|
|
110
|
-
<path d="M161.685 90H105.744C101.568 90 97.5639 91.655 94.6113 94.6008C91.6587 97.5466 90 101.542 90 105.708V373.95C90 378.116 91.6587 382.111 94.6113 385.057C97.5639 388.003 101.568 389.658 105.744 389.658H161.685C165.86 389.658 169.865 388.003 172.817 385.057C175.77 382.111 177.429 378.116 177.429 373.95V105.708C177.429 101.542 175.77 97.5466 172.817 94.6008C169.865 91.655 165.86 90 161.685 90V90ZM153.429 364.697H114C111.727 364.697 109.547 363.796 107.939 362.192C106.332 360.588 105.429 358.413 105.429 356.145C105.429 353.877 106.332 351.701 107.939 350.098C109.547 348.494 111.727 347.593 114 347.593H153.429C155.702 347.593 157.882 348.494 159.489 350.098C161.097 351.701 162 353.877 162 356.145C162 358.413 161.097 360.588 159.489 362.192C157.882 363.796 155.702 364.697 153.429 364.697ZM153.429 326.726H114C111.727 326.726 109.547 325.825 107.939 324.222C106.332 322.618 105.429 320.443 105.429 318.174C105.429 315.906 106.332 313.731 107.939 312.127C109.547 310.524 111.727 309.623 114 309.623H153.429C155.702 309.623 157.882 310.524 159.489 312.127C161.097 313.731 162 315.906 162 318.174C162 320.443 161.097 322.618 159.489 324.222C157.882 325.825 155.702 326.726 153.429 326.726ZM153.429 133.775H114C111.727 133.775 109.547 132.874 107.939 131.271C106.332 129.667 105.429 127.492 105.429 125.223C105.429 122.955 106.332 120.78 107.939 119.176C109.547 117.573 111.727 116.672 114 116.672H153.429C155.702 116.672 157.882 117.573 159.489 119.176C161.097 120.78 162 122.955 162 125.223C162 127.492 161.097 129.667 159.489 131.271C157.882 132.874 155.702 133.775 153.429 133.775V133.775Z" fill="${color}"/>
|
|
111
|
-
<path d="M267.627 134.812H211.687C207.511 134.812 203.507 136.467 200.554 139.413C197.602 142.358 195.943 146.354 195.943 150.52V373.95C195.943 378.116 197.602 382.111 200.554 385.057C203.507 388.003 207.511 389.658 211.687 389.658H267.627C271.803 389.658 275.808 388.003 278.76 385.057C281.713 382.111 283.371 378.116 283.371 373.95V150.52C283.371 146.354 281.713 142.358 278.76 139.413C275.808 136.467 271.803 134.812 267.627 134.812ZM259.371 364.697H219.943C217.67 364.697 215.489 363.796 213.882 362.192C212.275 360.588 211.371 358.413 211.371 356.145C211.371 353.877 212.275 351.702 213.882 350.098C215.489 348.494 217.67 347.593 219.943 347.593H259.371C261.645 347.593 263.825 348.494 265.432 350.098C267.04 351.702 267.943 353.877 267.943 356.145C267.943 358.413 267.04 360.588 265.432 362.192C263.825 363.796 261.645 364.697 259.371 364.697ZM259.371 326.726H219.943C217.67 326.726 215.489 325.825 213.882 324.222C212.275 322.618 211.371 320.443 211.371 318.174C211.371 315.906 212.275 313.731 213.882 312.127C215.489 310.524 217.67 309.623 219.943 309.623H259.371C261.645 309.623 263.825 310.524 265.432 312.127C267.04 313.731 267.943 315.906 267.943 318.174C267.943 320.443 267.04 322.618 265.432 324.222C263.825 325.825 261.645 326.726 259.371 326.726ZM259.371 178.587H219.943C217.67 178.587 215.489 177.686 213.882 176.082C212.275 174.479 211.371 172.303 211.371 170.035C211.371 167.767 212.275 165.592 213.882 163.988C215.489 162.384 217.67 161.483 219.943 161.483H259.371C261.645 161.483 263.825 162.384 265.432 163.988C267.04 165.592 267.943 167.767 267.943 170.035C267.943 172.303 267.04 174.479 265.432 176.082C263.825 177.686 261.645 178.587 259.371 178.587Z" fill="${color}"/>
|
|
112
|
-
<path d="M374.256 90.3428H318.315C314.14 90.3428 310.135 91.9978 307.183 94.9436C304.23 97.8895 302.571 101.885 302.571 106.051V374.293C302.571 378.459 304.23 382.454 307.183 385.4C310.135 388.346 314.14 390.001 318.315 390.001H374.256C378.432 390.001 382.436 388.346 385.389 385.4C388.341 382.454 390 378.459 390 374.293V106.051C390 101.885 388.341 97.8895 385.389 94.9436C382.436 91.9978 378.432 90.3428 374.256 90.3428V90.3428ZM366 365.04H326.571C324.298 365.04 322.118 364.139 320.51 362.535C318.903 360.931 318 358.756 318 356.488C318 354.22 318.903 352.044 320.51 350.441C322.118 348.837 324.298 347.936 326.571 347.936H366C368.273 347.936 370.453 348.837 372.061 350.441C373.668 352.044 374.571 354.22 374.571 356.488C374.571 358.756 373.668 360.931 372.061 362.535C370.453 364.139 368.273 365.04 366 365.04V365.04ZM366 327.069H326.571C324.298 327.069 322.118 326.168 320.51 324.564C318.903 322.961 318 320.785 318 318.517C318 316.249 318.903 314.074 320.51 312.47C322.118 310.866 324.298 309.965 326.571 309.965H366C368.273 309.965 370.453 310.866 372.061 312.47C373.668 314.074 374.571 316.249 374.571 318.517C374.571 320.785 373.668 322.961 372.061 324.564C370.453 326.168 368.273 327.069 366 327.069V327.069ZM366 134.118H326.571C324.298 134.118 322.118 133.217 320.51 131.613C318.903 130.01 318 127.834 318 125.566C318 123.298 318.903 121.123 320.51 119.519C322.118 117.915 324.298 117.014 326.571 117.014H366C368.273 117.014 370.453 117.915 372.061 119.519C373.668 121.123 374.571 123.298 374.571 125.566C374.571 127.834 373.668 130.01 372.061 131.613C370.453 133.217 368.273 134.118 366 134.118V134.118Z" fill="${color}"/>
|
|
113
|
-
</g>
|
|
114
|
-
<defs>
|
|
115
|
-
<clipPath id="clip0_507_316">
|
|
116
|
-
<rect width="300" height="300" fill="white" transform="translate(90 90)"/>
|
|
117
|
-
</clipPath>
|
|
118
|
-
</defs>
|
|
119
|
-
</svg>
|
|
120
|
-
`;
|
|
121
|
-
},
|
|
122
|
-
label: formatMessage('Language Arts Icon')
|
|
123
|
-
},
|
|
124
|
-
languages: {
|
|
125
|
-
source: function () {
|
|
126
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
127
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
128
|
-
<g clip-path="url(#clip0_507_371)">
|
|
129
|
-
<path d="M188.701 146.653C188.011 144.96 187.297 142.95 186.557 140.624C185.818 138.297 185.075 135.785 184.329 133.086C183.639 135.782 182.924 138.308 182.185 140.663C181.445 143.017 180.73 145.067 180.037 146.812L166.132 184.837H175.831C178.551 175.537 183.576 167.074 190.439 160.233C191.22 159.453 192.025 158.7 192.844 157.969L188.701 146.653Z" fill="${color}"/>
|
|
130
|
-
<path d="M173.524 200.989C173.524 200.636 173.524 200.258 173.524 199.894H160.565L151.982 223.301C151.482 224.619 150.626 225.773 149.51 226.635C148.227 227.661 146.62 228.195 144.978 228.143H128.3L173.51 113.406H195.288L208.837 147.843C215.936 144.85 223.565 143.314 231.269 143.325H288.742V119.954C288.738 114.702 287.699 109.503 285.685 104.653C283.671 99.8027 280.722 95.3968 277.005 91.6866C273.288 87.9764 268.877 85.0347 264.024 83.0295C259.17 81.0243 253.969 79.9949 248.717 80H120.021C114.77 79.9953 109.569 81.0251 104.716 83.0305C99.8624 85.0359 95.4517 87.9777 91.7353 91.6878C88.019 95.398 85.0698 99.8038 83.0562 104.654C81.0427 109.504 80.0042 114.703 80 119.954V219.302C80.0042 224.554 81.0427 229.753 83.0562 234.603C85.0697 239.453 88.0188 243.859 91.7351 247.57C95.4514 251.28 99.8622 254.222 104.715 256.228C109.569 258.234 114.77 259.264 120.021 259.26H127.689C130.862 259.257 134.004 259.879 136.935 261.091C139.867 262.303 142.532 264.08 144.777 266.321C147.022 268.563 148.804 271.224 150.02 274.154C151.236 277.084 151.863 280.225 151.866 283.398V310.767C151.866 310.92 151.866 311.072 151.866 311.223C152.187 318.329 160.975 321.554 166.015 316.521L174.096 308.457C173.716 305.766 173.524 303.052 173.524 300.334V200.989Z" fill="${color}"/>
|
|
131
|
-
<path d="M359.979 161.032H231.279C226.028 161.027 220.827 162.058 215.974 164.063C211.12 166.069 206.71 169.011 202.993 172.722C199.277 176.432 196.328 180.838 194.314 185.688C192.301 190.538 191.262 195.738 191.258 200.989V300.334C191.262 305.586 192.3 310.785 194.313 315.636C196.327 320.486 199.276 324.893 202.992 328.604C206.709 332.315 211.119 335.257 215.973 337.263C220.827 339.269 226.028 340.299 231.279 340.295H243.712C251.977 340.289 259.906 343.566 265.755 349.404L313.974 397.556C319.015 402.589 327.802 399.364 328.124 392.258C328.124 392.107 328.124 391.955 328.124 391.802V364.429C328.126 361.257 328.753 358.116 329.969 355.187C331.186 352.257 332.967 349.595 335.212 347.354C337.458 345.113 340.122 343.336 343.054 342.125C345.986 340.914 349.128 340.292 352.3 340.295H359.968C365.221 340.301 370.423 339.271 375.278 337.266C380.133 335.261 384.545 332.318 388.262 328.607C391.98 324.897 394.93 320.49 396.944 315.638C398.958 310.787 399.996 305.587 400 300.334V200.989C399.996 195.738 398.957 190.538 396.944 185.688C394.93 180.838 391.981 176.432 388.265 172.722C384.549 169.011 380.138 166.069 375.284 164.063C370.431 162.058 365.23 161.027 359.979 161.032V161.032ZM348.101 223.87H348.072V223.841H324.076C321.752 238.594 310.746 254.704 299.91 267.504C307.995 276.168 318.983 286.958 334.004 300.549L324.899 309.637C310.887 296.611 300.055 285.683 291.659 276.592C283.292 285.457 257.558 307.61 257.558 307.61L248.848 298.141C248.848 298.141 276.966 273.565 283.292 267.108C263.834 244.341 263.241 236.355 263.241 236.355H277.648C277.648 236.355 277.704 241.681 291.574 258.073C299.401 248.703 307.426 236.641 311.057 223.87H243.151V212.797H277.27V194.904H294.63V212.797H348.101V223.87Z" fill="${color}"/>
|
|
132
|
-
</g>
|
|
133
|
-
<defs>
|
|
134
|
-
<clipPath id="clip0_507_371">
|
|
135
|
-
<rect width="320" height="320" fill="white" transform="translate(80 80)"/>
|
|
136
|
-
</clipPath>
|
|
137
|
-
</defs>
|
|
138
|
-
</svg>
|
|
139
|
-
`;
|
|
140
|
-
},
|
|
141
|
-
label: formatMessage('Languages Icon')
|
|
142
|
-
},
|
|
143
|
-
library: {
|
|
144
|
-
source: function () {
|
|
145
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
146
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
147
|
-
<g clip-path="url(#clip0_507_405)">
|
|
148
|
-
<path d="M170.42 181.074H120.707C118.871 181.07 117.052 181.445 115.355 182.177C113.658 182.908 112.115 183.983 110.815 185.339C109.515 186.695 108.483 188.306 107.778 190.08C107.073 191.854 106.709 193.756 106.707 195.677V375.084C106.709 377.004 107.073 378.906 107.779 380.679C108.484 382.453 109.516 384.063 110.816 385.419C112.116 386.775 113.659 387.849 115.356 388.581C117.053 389.312 118.871 389.687 120.707 389.683H170.42C172.255 389.687 174.073 389.312 175.771 388.581C177.468 387.849 179.01 386.775 180.31 385.419C181.611 384.063 182.643 382.453 183.348 380.679C184.053 378.906 184.417 377.004 184.42 375.084V195.677C184.418 193.756 184.054 191.854 183.349 190.08C182.644 188.306 181.612 186.695 180.312 185.339C179.011 183.983 177.469 182.908 175.771 182.177C174.074 181.445 172.256 181.07 170.42 181.074V181.074ZM163.087 366.478H128.043C126.028 366.478 124.096 365.64 122.672 364.149C121.247 362.658 120.447 360.636 120.447 358.528C120.447 356.419 121.247 354.397 122.672 352.906C124.096 351.415 126.028 350.578 128.043 350.578H163.08C165.095 350.578 167.027 351.415 168.452 352.906C169.876 354.397 170.677 356.419 170.677 358.528C170.677 360.636 169.876 362.658 168.452 364.149C167.027 365.64 165.095 366.478 163.08 366.478H163.087ZM163.087 331.179H128.043C126.028 331.179 124.096 330.341 122.672 328.851C121.247 327.36 120.447 325.338 120.447 323.229C120.447 321.121 121.247 319.098 122.672 317.608C124.096 316.117 126.028 315.279 128.043 315.279H163.08C165.095 315.279 167.027 316.117 168.452 317.608C169.876 319.098 170.677 321.121 170.677 323.229C170.677 325.338 169.876 327.36 168.452 328.851C167.027 330.341 165.095 331.179 163.08 331.179H163.087ZM163.087 221.77H128.043C126.028 221.77 124.096 220.932 122.672 219.441C121.247 217.95 120.447 215.928 120.447 213.82C120.447 211.711 121.247 209.689 122.672 208.198C124.096 206.707 126.028 205.87 128.043 205.87H163.08C165.095 205.87 167.027 206.707 168.452 208.198C169.876 209.689 170.677 211.711 170.677 213.82C170.677 215.928 169.876 217.95 168.452 219.441C167.027 220.932 165.095 221.77 163.08 221.77H163.087Z" fill="${color}"/>
|
|
149
|
-
<path d="M264.56 181.074H214.85C213.014 181.07 211.196 181.445 209.499 182.177C207.801 182.908 206.259 183.983 204.958 185.339C203.658 186.695 202.626 188.306 201.921 190.08C201.216 191.854 200.852 193.756 200.85 195.677V375.084C200.853 377.004 201.217 378.906 201.922 380.679C202.627 382.453 203.659 384.063 204.959 385.419C206.26 386.775 207.802 387.849 209.499 388.581C211.196 389.312 213.015 389.687 214.85 389.683H264.56C266.396 389.687 268.214 389.312 269.911 388.581C271.608 387.849 273.151 386.775 274.451 385.419C275.751 384.063 276.783 382.453 277.488 380.679C278.193 378.906 278.557 377.004 278.56 375.084V195.677C278.558 193.756 278.194 191.854 277.489 190.08C276.784 188.306 275.752 186.695 274.452 185.339C273.152 183.983 271.609 182.908 269.912 182.177C268.214 181.445 266.396 181.07 264.56 181.074ZM257.227 366.478H222.187C220.172 366.478 218.24 365.64 216.815 364.149C215.39 362.658 214.59 360.636 214.59 358.528C214.59 356.419 215.39 354.397 216.815 352.906C218.24 351.415 220.172 350.578 222.187 350.578H257.223C259.238 350.578 261.17 351.415 262.595 352.906C264.02 354.397 264.82 356.419 264.82 358.528C264.82 360.636 264.02 362.658 262.595 364.149C261.17 365.64 259.238 366.478 257.223 366.478H257.227ZM257.227 331.179H222.187C220.172 331.179 218.24 330.341 216.815 328.851C215.39 327.36 214.59 325.338 214.59 323.229C214.59 321.121 215.39 319.098 216.815 317.608C218.24 316.117 220.172 315.279 222.187 315.279H257.223C259.238 315.279 261.17 316.117 262.595 317.608C264.02 319.098 264.82 321.121 264.82 323.229C264.82 325.338 264.02 327.36 262.595 328.851C261.17 330.341 259.238 331.179 257.223 331.179H257.227ZM257.227 221.77H222.187C220.172 221.77 218.24 220.932 216.815 219.441C215.39 217.95 214.59 215.928 214.59 213.82C214.59 211.711 215.39 209.689 216.815 208.198C218.24 206.707 220.172 205.87 222.187 205.87H257.223C259.238 205.87 261.17 206.707 262.595 208.198C264.02 209.689 264.82 211.711 264.82 213.82C264.82 215.928 264.02 217.95 262.595 219.441C261.17 220.932 259.238 221.77 257.223 221.77H257.227Z" fill="${color}"/>
|
|
150
|
-
<path d="M359.313 181.392H309.6C307.764 181.388 305.946 181.762 304.249 182.494C302.551 183.226 301.009 184.3 299.708 185.657C298.408 187.013 297.376 188.624 296.671 190.398C295.966 192.171 295.602 194.073 295.6 195.994V375.398C295.603 377.318 295.967 379.22 296.672 380.993C297.377 382.767 298.409 384.377 299.709 385.733C301.01 387.089 302.552 388.163 304.249 388.895C305.946 389.626 307.765 390.001 309.6 389.997H359.313C361.149 390.001 362.967 389.626 364.664 388.895C366.361 388.163 367.904 387.089 369.204 385.733C370.504 384.377 371.536 382.767 372.241 380.993C372.947 379.22 373.311 377.318 373.313 375.398V195.994C373.311 194.073 372.947 192.171 372.242 190.398C371.537 188.624 370.505 187.013 369.205 185.657C367.905 184.3 366.362 183.226 364.665 182.494C362.968 181.762 361.149 181.388 359.313 181.392V181.392ZM351.98 366.795H316.94C314.925 366.795 312.993 365.958 311.568 364.467C310.144 362.976 309.343 360.954 309.343 358.845C309.343 356.737 310.144 354.715 311.568 353.224C312.993 351.733 314.925 350.895 316.94 350.895H351.977C353.992 350.895 355.924 351.733 357.348 353.224C358.773 354.715 359.573 356.737 359.573 358.845C359.573 360.954 358.773 362.976 357.348 364.467C355.924 365.958 353.992 366.795 351.977 366.795H351.98ZM351.98 331.5H316.94C315.942 331.5 314.955 331.294 314.033 330.895C313.111 330.495 312.274 329.91 311.568 329.172C310.863 328.433 310.303 327.557 309.922 326.592C309.54 325.628 309.343 324.594 309.343 323.55C309.343 322.506 309.54 321.472 309.922 320.508C310.303 319.543 310.863 318.667 311.568 317.929C312.274 317.19 313.111 316.605 314.033 316.205C314.955 315.806 315.942 315.6 316.94 315.6H351.977C352.974 315.6 353.962 315.806 354.884 316.205C355.806 316.605 356.643 317.19 357.348 317.929C358.054 318.667 358.613 319.543 358.995 320.508C359.377 321.472 359.573 322.506 359.573 323.55C359.573 324.594 359.377 325.628 358.995 326.592C358.613 327.557 358.054 328.433 357.348 329.172C356.643 329.91 355.806 330.495 354.884 330.895C353.962 331.294 352.974 331.5 351.977 331.5H351.98ZM351.98 222.087H316.94C314.925 222.087 312.993 221.25 311.568 219.759C310.144 218.268 309.343 216.246 309.343 214.137C309.343 212.029 310.144 210.007 311.568 208.516C312.993 207.025 314.925 206.187 316.94 206.187H351.977C353.992 206.187 355.924 207.025 357.348 208.516C358.773 210.007 359.573 212.029 359.573 214.137C359.573 216.246 358.773 218.268 357.348 219.759C355.924 221.25 353.992 222.087 351.977 222.087H351.98Z" fill="${color}"/>
|
|
151
|
-
<path d="M102.274 128.724L235.344 90.6174C238.202 89.8012 241.218 89.8012 244.077 90.6174L377.707 128.721C396.453 134.065 392.773 163.064 373.35 163.064H106.65C87.2369 163.064 83.5435 134.09 102.274 128.724Z" fill="${color}"/>
|
|
152
|
-
</g>
|
|
153
|
-
<defs>
|
|
154
|
-
<clipPath id="clip0_507_405">
|
|
155
|
-
<rect width="300" height="300" fill="white" transform="translate(90 90)"/>
|
|
156
|
-
</clipPath>
|
|
157
|
-
</defs>
|
|
158
|
-
</svg>
|
|
159
|
-
`;
|
|
160
|
-
},
|
|
161
|
-
label: formatMessage('Library Icon')
|
|
162
|
-
},
|
|
163
|
-
math: {
|
|
164
|
-
source: function () {
|
|
165
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
166
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
167
|
-
<g clip-path="url(#clip0_507_341)">
|
|
168
|
-
<path d="M372.857 90H270C265.453 90 261.093 91.8063 257.878 95.0216C254.663 98.2368 252.857 102.598 252.857 107.145V210.014C252.857 214.561 254.663 218.922 257.878 222.137C261.093 225.352 265.453 227.159 270 227.159H372.857C377.404 227.159 381.764 225.352 384.979 222.137C388.194 218.922 390 214.561 390 210.014V107.145C390 104.893 389.557 102.664 388.695 100.584C387.834 98.5036 386.571 96.6136 384.979 95.0216C383.387 93.4295 381.497 92.1666 379.417 91.305C377.338 90.4434 375.108 90 372.857 90V90ZM355.028 167.289H287.143C284.869 167.289 282.689 166.386 281.082 164.778C279.474 163.17 278.571 160.99 278.571 158.716C278.571 156.443 279.474 154.262 281.082 152.655C282.689 151.047 284.869 150.144 287.143 150.144H355.028C357.302 150.144 359.482 151.047 361.089 152.655C362.697 154.262 363.6 156.443 363.6 158.716C363.6 160.99 362.697 163.17 361.089 164.778C359.482 166.386 357.302 167.289 355.028 167.289Z" fill="${color}"/>
|
|
169
|
-
<path d="M372.857 252.841H270C265.453 252.841 261.093 254.647 257.878 257.863C254.663 261.078 252.857 265.439 252.857 269.986V372.855C252.857 377.402 254.663 381.763 257.878 384.978C261.093 388.193 265.453 390 270 390H372.857C377.404 390 381.764 388.193 384.979 384.978C388.194 381.763 390 377.402 390 372.855V269.986C390 265.439 388.194 261.078 384.979 257.863C381.764 254.647 377.404 252.841 372.857 252.841V252.841ZM286.971 295.532H354.857C357.13 295.532 359.311 296.435 360.918 298.042C362.525 299.65 363.429 301.83 363.429 304.104C363.429 306.378 362.525 308.558 360.918 310.166C359.311 311.773 357.13 312.676 354.857 312.676H286.971C284.698 312.676 282.518 311.773 280.91 310.166C279.303 308.558 278.4 306.378 278.4 304.104C278.4 301.83 279.303 299.65 280.91 298.042C282.518 296.435 284.698 295.532 286.971 295.532ZM355.028 346.966H287.143C284.869 346.966 282.689 346.063 281.082 344.455C279.474 342.848 278.571 340.667 278.571 338.394C278.571 336.12 279.474 333.94 281.082 332.332C282.689 330.724 284.869 329.821 287.143 329.821H355.028C357.302 329.821 359.482 330.724 361.089 332.332C362.697 333.94 363.6 336.12 363.6 338.394C363.6 340.667 362.697 342.848 361.089 344.455C359.482 346.063 357.302 346.966 355.028 346.966Z" fill="${color}"/>
|
|
170
|
-
<path d="M210.171 90.1368H107.314C102.768 90.1368 98.4073 91.9431 95.1924 95.1584C91.9775 98.3736 90.1714 102.734 90.1714 107.282V210.15C90.1714 214.698 91.9775 219.058 95.1924 222.274C98.4073 225.489 102.768 227.295 107.314 227.295H210.171C214.718 227.295 219.078 225.489 222.293 222.274C225.508 219.058 227.314 214.698 227.314 210.15V107.282C227.314 102.734 225.508 98.3736 222.293 95.1584C219.078 91.9431 214.718 90.1368 210.171 90.1368ZM192.96 167.357H167.383V192.937C167.383 195.229 166.473 197.427 164.852 199.047C163.232 200.668 161.034 201.578 158.743 201.578C156.451 201.578 154.254 200.668 152.633 199.047C151.013 197.427 150.103 195.229 150.103 192.937V167.357H124.526C122.234 167.357 120.037 166.447 118.416 164.826C116.796 163.206 115.886 161.008 115.886 158.716C115.886 156.424 116.796 154.226 118.416 152.606C120.037 150.985 122.234 150.075 124.526 150.075H150.103V124.495C150.103 122.203 151.013 120.005 152.633 118.385C154.254 116.764 156.451 115.854 158.743 115.854C161.034 115.854 163.232 116.764 164.852 118.385C166.473 120.005 167.383 122.203 167.383 124.495V150.075H192.96C195.251 150.075 197.449 150.985 199.069 152.606C200.69 154.226 201.6 156.424 201.6 158.716C201.6 161.008 200.69 163.206 199.069 164.826C197.449 166.447 195.251 167.357 192.96 167.357V167.357Z" fill="${color}"/>
|
|
171
|
-
<path d="M210 252.841H107.143C102.596 252.841 98.2359 254.647 95.021 257.863C91.8061 261.078 90 265.439 90 269.986V372.855C90 377.402 91.8061 381.763 95.021 384.978C98.2359 388.193 102.596 390 107.143 390H210C214.547 390 218.907 388.193 222.122 384.978C225.337 381.763 227.143 377.402 227.143 372.855V269.986C227.143 265.439 225.337 261.078 222.122 257.863C218.907 254.647 214.547 252.841 210 252.841ZM189.12 339.721C189.924 340.525 190.562 341.48 190.998 342.531C191.433 343.582 191.657 344.709 191.657 345.846C191.657 346.984 191.433 348.111 190.998 349.162C190.562 350.213 189.924 351.168 189.12 351.972C188.316 352.777 187.361 353.415 186.31 353.85C185.259 354.286 184.132 354.51 182.995 354.51C181.857 354.51 180.731 354.286 179.68 353.85C178.629 353.415 177.674 352.777 176.87 351.972L158.743 333.843L140.616 351.972C138.992 353.597 136.788 354.51 134.491 354.51C132.193 354.51 129.99 353.597 128.366 351.972C126.741 350.348 125.829 348.144 125.829 345.846C125.829 343.549 126.741 341.345 128.366 339.721L146.493 321.592L128.366 303.463C127.561 302.658 126.923 301.703 126.488 300.652C126.053 299.601 125.829 298.475 125.829 297.337C125.829 296.199 126.053 295.073 126.488 294.022C126.923 292.971 127.561 292.016 128.366 291.211C129.17 290.407 130.125 289.768 131.176 289.333C132.227 288.898 133.353 288.674 134.491 288.674C135.628 288.674 136.755 288.898 137.806 289.333C138.857 289.768 139.812 290.407 140.616 291.211L158.743 309.34L176.87 291.211C177.674 290.407 178.629 289.768 179.68 289.333C180.731 288.898 181.857 288.674 182.995 288.674C184.132 288.674 185.259 288.898 186.31 289.333C187.361 289.768 188.316 290.407 189.12 291.211C189.924 292.016 190.562 292.971 190.998 294.022C191.433 295.073 191.657 296.199 191.657 297.337C191.657 298.475 191.433 299.601 190.998 300.652C190.562 301.703 189.924 302.658 189.12 303.463L170.993 321.592L189.12 339.721Z" fill="${color}"/>
|
|
172
|
-
</g>
|
|
173
|
-
<defs>
|
|
174
|
-
<clipPath id="clip0_507_341">
|
|
175
|
-
<rect width="300" height="300" fill="white" transform="translate(90 90)"/>
|
|
176
|
-
</clipPath>
|
|
177
|
-
</defs>
|
|
178
|
-
</svg>
|
|
179
|
-
`;
|
|
180
|
-
},
|
|
181
|
-
label: formatMessage('Math Icon')
|
|
182
|
-
},
|
|
183
|
-
music: {
|
|
184
|
-
source: function () {
|
|
185
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
186
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
187
|
-
<g clip-path="url(#clip0_507_358)">
|
|
188
|
-
<path d="M404.857 199.329L341.64 183.887C338.733 183.238 335.718 183.249 332.817 183.919C329.915 184.589 327.202 185.901 324.877 187.758C322.552 189.615 320.676 191.97 319.386 194.647C318.097 197.325 317.427 200.258 317.427 203.229V261.891H317.511V326.497C311.337 323.986 304.729 322.707 298.062 322.731C273.766 322.731 254.071 339.131 254.071 359.364C254.071 379.596 273.794 396 298.089 396C322.385 396 342.08 379.596 342.08 359.364C342.08 359.221 342.08 359.075 342.08 358.928V267.779L395.502 280.552C398.422 281.25 401.463 281.278 404.396 280.635C407.329 279.992 410.077 278.694 412.435 276.839C414.793 274.984 416.698 272.62 418.009 269.925C419.319 267.23 420 264.273 420 261.278V218.58C420.004 214.142 418.513 209.832 415.767 206.341C413.021 202.85 409.179 200.381 404.857 199.329V199.329Z" fill="${color}"/>
|
|
189
|
-
<path d="M285.546 261.234H285.637V103.824C285.637 100.853 284.967 97.9204 283.678 95.2425C282.388 92.5645 280.512 90.2099 278.187 88.3529C275.863 86.4959 273.149 85.1839 270.248 84.5139C267.346 83.844 264.331 83.8332 261.425 84.4825L138.978 111.715C134.567 112.696 130.623 115.147 127.797 118.664C124.971 122.18 123.43 126.553 123.43 131.061V258.336C117.256 255.827 110.648 254.547 103.981 254.571C79.6853 254.571 59.99 270.974 59.99 291.207C59.99 311.439 79.6853 327.843 103.981 327.843C128.277 327.843 147.968 311.439 147.968 291.207C147.968 291.06 147.968 290.918 147.968 290.771V193.097L261.091 167.943V226.043C254.916 223.534 248.309 222.255 241.642 222.278C217.346 222.278 197.651 238.681 197.651 258.914C197.651 279.147 217.346 295.55 241.642 295.55C265.009 295.55 284.109 280.386 285.546 261.234Z" fill="${color}"/>
|
|
190
|
-
</g>
|
|
191
|
-
<defs>
|
|
192
|
-
<clipPath id="clip0_507_358">
|
|
193
|
-
<rect width="360" height="312" fill="white" transform="translate(60 84)"/>
|
|
194
|
-
</clipPath>
|
|
195
|
-
</defs>
|
|
196
|
-
</svg>
|
|
197
|
-
`;
|
|
198
|
-
},
|
|
199
|
-
label: formatMessage('Music Icon')
|
|
200
|
-
},
|
|
201
|
-
performingArts: {
|
|
202
|
-
source: function () {
|
|
203
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
204
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
205
|
-
<g clip-path="url(#clip0_507_396)">
|
|
206
|
-
<path d="M188.456 264.136L213.02 226.44L189.384 241.74C185.92 236.351 184.409 229.936 185.103 223.567C185.797 217.199 188.654 211.26 193.198 206.743C197.741 202.227 203.696 199.404 210.069 198.748C216.442 198.091 222.847 199.64 228.216 203.136L233.016 195.752C239.004 186.597 248.08 179.897 258.593 176.872C269.105 173.847 280.355 174.699 290.292 179.272C289.86 164.336 282.076 152.392 273.764 139.636L229.428 71.568C225.732 65.9143 219.948 61.9545 213.34 60.555C206.732 59.1554 199.839 60.4301 194.168 64.1L71.6122 143.412C68.8069 145.221 66.3867 147.567 64.4905 150.314C62.5944 153.061 61.2597 156.156 60.5632 159.42C59.8667 162.685 59.822 166.055 60.4317 169.337C61.0414 172.618 62.2936 175.747 64.1162 178.544L108.468 246.596C120.912 265.692 129.58 278.996 163.236 282.772L177.236 283.008C180.456 276.424 184.388 270.38 188.456 264.136ZM189.736 135.024C193.139 132.822 197.274 132.058 201.239 132.897C205.204 133.737 208.674 136.112 210.892 139.504L185.24 156.104C184.146 154.426 183.394 152.549 183.028 150.58C182.661 148.61 182.688 146.588 183.106 144.629C183.523 142.67 184.324 140.813 185.462 139.165C186.6 137.516 188.053 136.109 189.736 135.024V135.024ZM133.932 189.304C132.842 187.62 132.095 185.737 131.732 183.764C131.37 181.791 131.4 179.765 131.82 177.804C132.24 175.842 133.043 173.982 134.182 172.331C135.321 170.679 136.774 169.268 138.458 168.178C140.143 167.088 142.025 166.34 143.998 165.978C145.972 165.616 147.997 165.645 149.959 166.066C153.92 166.914 157.383 169.302 159.584 172.704L133.932 189.304Z" fill="${color}"/>
|
|
207
|
-
<path d="M408.332 278.736L285.164 199.044C279.465 195.355 272.538 194.073 265.896 195.479C259.255 196.886 253.442 200.866 249.728 206.548L205.156 274.948C192.648 294.148 183.936 307.504 194.212 339.84L221.96 404.868C229.352 419.036 229.352 419.036 245.348 420.004L316.248 418.804C347.468 419.004 358.788 401.64 371.292 382.448L415.864 314.048C417.696 311.237 418.955 308.092 419.568 304.794C420.181 301.495 420.137 298.108 419.437 294.827C418.737 291.545 417.396 288.435 415.49 285.673C413.584 282.912 411.152 280.554 408.332 278.736V278.736ZM268.356 274.812C270.005 272.26 272.375 270.256 275.165 269.051C277.955 267.847 281.039 267.498 284.027 268.048C287.015 268.598 289.773 270.023 291.952 272.141C294.13 274.259 295.63 276.976 296.263 279.948C296.897 282.92 296.633 286.013 295.508 288.835C294.382 291.657 292.444 294.082 289.939 295.802C287.434 297.522 284.476 298.46 281.437 298.497C278.399 298.535 275.418 297.67 272.872 296.012C269.481 293.786 267.105 290.313 266.26 286.346C265.414 282.379 266.168 278.239 268.356 274.824V274.812ZM266.356 362.264C263.253 360.265 260.576 357.672 258.479 354.635C256.382 351.598 254.906 348.176 254.137 344.567C253.367 340.957 253.318 337.231 253.993 333.603C254.669 329.974 256.055 326.515 258.072 323.424L305.336 354.008C301.252 360.267 294.854 364.653 287.543 366.203C280.231 367.752 272.604 366.34 266.332 362.276L266.356 362.264ZM345.712 324.86C344.063 327.412 341.693 329.417 338.904 330.621C336.114 331.826 333.03 332.176 330.042 331.626C327.054 331.077 324.295 329.653 322.117 327.535C319.938 325.417 318.437 322.7 317.804 319.728C317.17 316.757 317.432 313.664 318.558 310.842C319.683 308.019 321.62 305.594 324.125 303.874C326.629 302.153 329.588 301.214 332.626 301.176C335.664 301.138 338.645 302.003 341.192 303.66C344.587 305.888 346.965 309.367 347.809 313.339C348.652 317.312 347.893 321.457 345.696 324.872L345.712 324.86Z" fill="${color}"/>
|
|
208
|
-
</g>
|
|
209
|
-
<defs>
|
|
210
|
-
<clipPath id="clip0_507_396">
|
|
211
|
-
<rect width="360" height="360" fill="white" transform="translate(60 60)"/>
|
|
212
|
-
</clipPath>
|
|
213
|
-
</defs>
|
|
214
|
-
</svg>
|
|
215
|
-
`;
|
|
216
|
-
},
|
|
217
|
-
label: formatMessage('Performing Arts Icon')
|
|
218
|
-
},
|
|
219
|
-
physicalEducation: {
|
|
220
|
-
source: function () {
|
|
221
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
222
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
223
|
-
<g clip-path="url(#clip0_507_335)">
|
|
224
|
-
<path d="M418.43 237.51L72.5862 348.206L73.1951 350.098C74.8167 355.149 78.3809 359.35 83.1037 361.777C87.8266 364.204 93.3213 364.658 98.3794 363.04L406.076 264.557C408.581 263.755 410.904 262.469 412.911 260.771C414.918 259.073 416.571 256.997 417.775 254.661C418.978 252.325 419.71 249.775 419.926 247.157C420.143 244.539 419.842 241.904 419.039 239.402L418.43 237.51Z" fill="${color}"/>
|
|
225
|
-
<path d="M66.4734 329.172L412.317 218.48L388.126 143.083C386.094 136.73 382.502 130.986 377.678 126.374C372.853 121.763 366.95 118.43 360.506 116.68C356.94 115.725 353.178 115.775 349.638 116.827C346.099 117.879 342.921 119.89 340.457 122.637C328.563 135.755 313.358 145.441 296.432 150.681C279.506 155.922 261.481 156.525 244.242 152.428C241.369 151.745 238.38 151.707 235.49 152.316C232.6 152.926 229.881 154.168 227.53 155.953L211.907 167.782L234.648 185.7C236.734 187.344 238.08 189.749 238.39 192.384C238.7 195.02 237.949 197.671 236.303 199.753C234.656 201.836 232.248 203.18 229.609 203.49C226.97 203.8 224.316 203.05 222.23 201.406L195.392 180.271L177.806 193.593L201.296 212.071C203.382 213.715 204.728 216.12 205.038 218.755C205.348 221.391 204.597 224.042 202.951 226.124C201.304 228.207 198.896 229.551 196.257 229.861C193.618 230.171 190.964 229.421 188.878 227.777L161.354 206.09L139.323 222.776L163.321 241.682C165.407 243.327 166.753 245.731 167.063 248.367C167.373 251.002 166.622 253.653 164.976 255.736C163.329 257.818 160.921 259.163 158.282 259.472C155.643 259.782 152.989 259.032 150.903 257.388L122.819 235.261L75.7468 270.933C69.1718 275.943 64.3105 282.862 61.8303 290.741C59.3502 298.62 59.3727 307.073 61.8948 314.938L66.4734 329.172Z" fill="${color}"/>
|
|
226
|
-
</g>
|
|
227
|
-
<defs>
|
|
228
|
-
<clipPath id="clip0_507_335">
|
|
229
|
-
<rect width="360" height="248" fill="white" transform="translate(60 116)"/>
|
|
230
|
-
</clipPath>
|
|
231
|
-
</defs>
|
|
232
|
-
</svg>
|
|
233
|
-
`;
|
|
234
|
-
},
|
|
235
|
-
label: formatMessage('Physical Education Icon')
|
|
236
|
-
},
|
|
237
|
-
religion: {
|
|
238
|
-
source: function () {
|
|
239
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
240
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
241
|
-
<g clip-path="url(#clip0_507_387)">
|
|
242
|
-
<path d="M212.523 336.26H145.678C143.354 336.26 141.053 336.719 138.906 337.61C136.759 338.5 134.809 339.805 133.166 341.449C131.523 343.093 130.221 345.045 129.333 347.193C128.444 349.34 127.988 351.642 127.989 353.966V382.293C127.988 384.617 128.444 386.919 129.333 389.067C130.221 391.215 131.523 393.166 133.166 394.811C134.809 396.455 136.759 397.76 138.906 398.65C141.053 399.54 143.354 399.999 145.678 400H212.523C214.847 399.999 217.148 399.54 219.295 398.65C221.442 397.76 223.392 396.455 225.035 394.811C226.677 393.166 227.98 391.215 228.868 389.067C229.756 386.919 230.213 384.617 230.211 382.293V353.966C230.213 351.642 229.756 349.34 228.868 347.193C227.98 345.045 226.677 343.093 225.035 341.449C223.392 339.805 221.442 338.5 219.295 337.61C217.148 336.719 214.847 336.26 212.523 336.26V336.26Z" fill="${color}"/>
|
|
243
|
-
<path d="M144.285 296.8V302.628C144.29 307.318 146.158 311.815 149.478 315.129C152.797 318.443 157.297 320.304 161.988 320.302H194.777C199.463 320.301 203.956 318.442 207.273 315.132C210.589 311.821 212.456 307.331 212.466 302.645L212.587 256.594C212.586 254.569 212.239 252.56 211.559 250.652L184.338 174.169C182.761 169.75 179.494 166.138 175.254 164.128C171.014 162.117 166.149 161.874 161.73 163.451C157.311 165.027 153.699 168.295 151.689 172.535C149.678 176.775 149.435 181.639 151.012 186.059L159.406 219.698C160.914 227.655 151.563 233.063 145.429 227.78L118.912 205.429L115.374 97.9947C115.374 88.2845 107.687 80.1636 97.9877 80C95.6386 79.9613 93.3054 80.3907 91.124 81.263C88.9426 82.1354 86.9567 83.4333 85.282 85.0811C83.6074 86.7289 82.2776 88.6936 81.3702 90.8607C80.4627 93.0277 79.9958 95.3537 79.9966 97.7031V219.9C79.998 222.24 80.4632 224.557 81.3652 226.716C82.2672 228.875 83.5881 230.834 85.2517 232.48L140.085 286.766C141.412 288.08 142.465 289.642 143.186 291.364C143.907 293.086 144.28 294.933 144.285 296.8V296.8Z" fill="${color}"/>
|
|
244
|
-
<path d="M334.318 336.26H267.495C265.171 336.26 262.87 336.719 260.723 337.61C258.576 338.5 256.626 339.805 254.983 341.449C253.34 343.093 252.038 345.045 251.149 347.193C250.261 349.34 249.805 351.642 249.806 353.966V382.293C249.805 384.617 250.261 386.919 251.149 389.067C252.038 391.215 253.34 393.166 254.983 394.811C256.626 396.455 258.576 397.76 260.723 398.65C262.87 399.54 265.171 399.999 267.495 400H334.318C336.642 399.999 338.944 399.54 341.09 398.65C343.237 397.76 345.188 396.455 346.83 394.811C348.473 393.166 349.776 391.215 350.664 389.067C351.552 386.919 352.008 384.617 352.007 382.293V353.966C352.008 351.642 351.552 349.34 350.664 347.193C349.776 345.045 348.473 343.093 346.83 341.449C345.188 339.805 343.237 338.5 341.09 337.61C338.944 336.719 336.642 336.26 334.318 336.26V336.26Z" fill="${color}"/>
|
|
245
|
-
<path d="M382.009 80C372.313 80.1636 364.622 88.2845 364.622 97.9947L361.084 205.429L334.567 227.78C328.434 233.063 319.082 227.655 320.59 219.698L328.985 186.059C329.765 183.871 330.107 181.55 329.991 179.23C329.875 176.91 329.303 174.635 328.308 172.536C327.313 170.437 325.914 168.554 324.192 166.996C322.469 165.437 320.456 164.233 318.268 163.452C316.08 162.672 313.76 162.33 311.44 162.446C309.119 162.562 306.845 163.134 304.746 164.129C302.646 165.124 300.764 166.523 299.205 168.245C297.647 169.968 296.443 171.981 295.662 174.169L268.441 250.613C267.761 252.521 267.414 254.53 267.413 256.555L267.534 302.606C267.533 304.93 267.991 307.23 268.879 309.377C269.768 311.524 271.071 313.475 272.713 315.118C274.356 316.761 276.306 318.065 278.453 318.954C280.599 319.844 282.899 320.302 285.223 320.302H318.012C322.697 320.3 327.191 318.44 330.507 315.131C333.823 311.821 335.691 307.331 335.701 302.645V296.818C335.706 294.951 336.079 293.104 336.8 291.382C337.52 289.66 338.574 288.098 339.9 286.784L394.748 232.48C396.412 230.833 397.733 228.872 398.635 226.711C399.536 224.55 400 222.231 400 219.89V97.7031C400.001 95.3537 399.534 93.0277 398.626 90.8607C397.719 88.6936 396.389 86.7289 394.714 85.0811C393.04 83.4333 391.054 82.1354 388.872 81.263C386.691 80.3907 384.358 79.9613 382.009 80V80Z" fill="${color}"/>
|
|
246
|
-
</g>
|
|
247
|
-
<defs>
|
|
248
|
-
<clipPath id="clip0_507_387">
|
|
249
|
-
<rect width="320" height="320" fill="white" transform="translate(80 80)"/>
|
|
250
|
-
</clipPath>
|
|
251
|
-
</defs>
|
|
252
|
-
</svg>
|
|
253
|
-
`;
|
|
254
|
-
},
|
|
255
|
-
label: formatMessage('Religion Icon')
|
|
256
|
-
},
|
|
257
|
-
science: {
|
|
258
|
-
source: function () {
|
|
259
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
260
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
261
|
-
<g clip-path="url(#clip0_507_350)">
|
|
262
|
-
<path d="M384.448 338.734L297.87 225.093V111.477C300.72 111.477 303.454 110.347 305.469 108.334C307.485 106.321 308.617 103.59 308.617 100.743C308.617 97.8966 307.485 95.1664 305.469 93.1534C303.454 91.1404 300.72 90.0095 297.87 90.0095H182.133C179.283 90.0095 176.549 91.1404 174.534 93.1534C172.518 95.1664 171.386 97.8966 171.386 100.743C171.386 103.59 172.518 106.321 174.534 108.334C176.549 110.347 179.283 111.477 182.133 111.477V224.861H181.981L95.5554 338.734C80.9957 360.691 96.759 390 123.124 390H356.879C383.244 390 399.008 360.691 384.448 338.734ZM203.627 112.237H276.376V224.861H203.627V112.237ZM186.432 352.622C168.169 352.622 153.364 337.565 153.364 318.99C153.364 300.415 168.169 285.358 186.432 285.358C204.695 285.358 219.5 300.415 219.5 318.99C219.5 337.565 204.695 352.622 186.432 352.622ZM269.101 292.568C264.523 292.568 260.048 291.212 256.241 288.672C252.435 286.131 249.468 282.521 247.716 278.296C245.964 274.072 245.505 269.423 246.399 264.938C247.292 260.454 249.496 256.334 252.734 253.101C255.971 249.867 260.095 247.666 264.585 246.774C269.076 245.881 273.73 246.339 277.959 248.089C282.189 249.839 285.804 252.802 288.348 256.604C290.891 260.406 292.249 264.876 292.249 269.449C292.249 275.58 289.81 281.461 285.469 285.796C281.128 290.132 275.24 292.568 269.101 292.568V292.568Z" fill="${color}"/>
|
|
263
|
-
</g>
|
|
264
|
-
<defs>
|
|
265
|
-
<clipPath id="clip0_507_350">
|
|
266
|
-
<rect width="300" height="300" fill="white" transform="translate(90 90)"/>
|
|
267
|
-
</clipPath>
|
|
268
|
-
</defs>
|
|
269
|
-
</svg>
|
|
270
|
-
`;
|
|
271
|
-
},
|
|
272
|
-
label: 'Science Icon'
|
|
273
|
-
},
|
|
274
|
-
socialStudies: {
|
|
275
|
-
source: function () {
|
|
276
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
277
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
278
|
-
<g clip-path="url(#clip0_507_244)">
|
|
279
|
-
<path d="M246.628 92.6033V156.621C262.669 156.191 278.601 153.804 294.078 149.512C292.973 147.358 291.829 145.228 290.645 143.121C279.029 122.515 264.033 105.375 246.628 92.6033Z" fill="${color}"/>
|
|
280
|
-
<path d="M233.375 247.196H166.778C167.686 273.881 173.653 299.69 184.246 322.929C200.277 318.494 216.765 315.974 233.375 315.421V247.196Z" fill="${color}"/>
|
|
281
|
-
<path d="M266.982 90.4428C281.003 102.98 293.233 118.288 303.159 135.881C304.856 138.887 306.472 141.942 308.01 145.047C319.886 140.745 331.285 135.194 342.017 128.484C321.1 108.817 295.064 95.6182 266.982 90.4428V90.4428Z" fill="${color}"/>
|
|
282
|
-
<path d="M233.375 385.907V330.011C219.059 330.532 204.84 332.614 190.965 336.221C202.191 356.294 216.623 373.152 233.375 385.907Z" fill="${color}"/>
|
|
283
|
-
<path d="M300.277 162.898C282.815 167.968 264.787 170.764 246.628 171.218V233.777H315.243C314.51 208.947 309.408 184.876 300.277 162.898Z" fill="${color}"/>
|
|
284
|
-
<path d="M315.213 247.196H246.628V315.357C263.904 315.778 281.065 318.322 297.735 322.933C308.328 299.693 314.298 273.868 315.213 247.196Z" fill="${color}"/>
|
|
285
|
-
<path d="M233.375 171.161C215.887 170.555 198.538 167.778 181.718 162.891C172.583 184.859 167.471 208.907 166.755 233.78H233.375V171.161Z" fill="${color}"/>
|
|
286
|
-
<path d="M246.628 387.4C264.242 374.467 279.377 357.055 291.026 336.221C276.506 332.45 261.613 330.347 246.628 329.954V387.4Z" fill="${color}"/>
|
|
287
|
-
<path d="M170.396 327.318C159.42 302.626 153.26 275.34 152.366 247.196H90.043C91.7243 284.177 106.723 319.253 132.204 345.8C144.234 338.252 157.04 332.055 170.396 327.318V327.318Z" fill="${color}"/>
|
|
288
|
-
<path d="M233.375 94.113C229.434 97.1223 225.645 100.331 222.024 103.728C210.802 114.242 200.961 126.665 192.771 140.655C191.072 143.563 189.456 146.513 187.92 149.505C202.753 153.62 218.006 155.985 233.375 156.551V94.113Z" fill="${color}"/>
|
|
289
|
-
<path d="M305.147 340.502C304.866 341.025 304.587 341.552 304.302 342.072C294.2 360.494 281.557 376.523 266.962 389.564C293.105 384.752 317.51 372.975 337.667 355.445C327.338 349.394 316.446 344.389 305.147 340.502V340.502Z" fill="${color}"/>
|
|
290
|
-
<path d="M329.632 247.196C328.734 275.324 322.578 302.626 311.605 327.317C324.495 331.892 336.875 337.826 348.541 345.021C373.579 318.56 388.294 283.804 389.957 247.196H329.632Z" fill="${color}"/>
|
|
291
|
-
<path d="M178.305 343.179C177.81 342.285 177.323 341.39 176.844 340.495C165.113 344.535 153.821 349.779 143.145 356.146C163.794 373.853 188.803 385.553 215.503 390C201.014 377.151 188.427 361.356 178.305 343.179Z" fill="${color}"/>
|
|
292
|
-
<path d="M173.988 145.03C175.976 141.004 178.104 137.063 180.373 133.208C189.276 118.01 199.994 104.486 212.233 93.0128C213.327 92.0063 214.433 90.9998 215.546 89.9934C186.888 94.764 160.22 107.876 138.795 127.729C149.872 134.771 161.672 140.572 173.988 145.03V145.03Z" fill="${color}"/>
|
|
293
|
-
<path d="M152.339 233.777C153.065 207.37 158.389 181.776 167.974 158.342C154.076 153.217 140.803 146.497 128.414 138.314C104.978 164.607 91.385 198.386 90 233.777H152.339Z" fill="${color}"/>
|
|
294
|
-
<path d="M314.017 158.356C323.599 181.813 328.927 207.414 329.659 233.777H390.003C388.634 198.768 375.317 165.323 352.322 139.142C340.291 146.956 327.445 153.399 314.017 158.356V158.356Z" fill="${color}"/>
|
|
295
|
-
</g>
|
|
296
|
-
<defs>
|
|
297
|
-
<clipPath id="clip0_507_244">
|
|
298
|
-
<rect width="300" height="300" fill="white" transform="translate(90 90)"/>
|
|
299
|
-
</clipPath>
|
|
300
|
-
</defs>
|
|
301
|
-
</svg>
|
|
302
|
-
`;
|
|
303
|
-
},
|
|
304
|
-
label: 'Social Studies Icon'
|
|
305
|
-
},
|
|
306
|
-
technology: {
|
|
307
|
-
source: function () {
|
|
308
|
-
let color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_COLOR;
|
|
309
|
-
return `<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
310
|
-
<path d="M389.729 370.513L373.271 280.921C373.093 279.954 373.003 278.973 373.004 277.99V106.556C373.004 102.165 371.221 97.9541 368.048 94.8492C364.874 91.7443 360.57 90 356.083 90H123.921C119.433 90 115.129 91.7443 111.955 94.8492C108.782 97.9541 106.999 102.165 106.999 106.556V277.99C107 278.973 106.91 279.954 106.732 280.921L90.274 370.513C89.8358 372.897 89.9376 375.346 90.5723 377.688C91.2069 380.029 92.359 382.206 93.9471 384.064C95.5353 385.922 97.5209 387.417 99.7638 388.443C102.007 389.468 104.452 390 106.928 390H373.075C375.551 390 377.996 389.468 380.239 388.443C382.482 387.417 384.468 385.922 386.056 384.064C387.644 382.206 388.796 380.029 389.431 377.688C390.066 375.346 390.167 372.897 389.729 370.513V370.513ZM293.609 368.808H186.394C182.804 368.808 179.361 367.413 176.822 364.929C174.284 362.445 172.857 359.076 172.857 355.563C172.857 352.05 174.284 348.681 176.822 346.197C179.361 343.713 182.804 342.318 186.394 342.318H293.609C297.199 342.318 300.642 343.713 303.181 346.197C305.72 348.681 307.146 352.05 307.146 355.563C307.146 359.076 305.72 362.445 303.181 364.929C300.642 367.413 297.199 368.808 293.609 368.808V368.808ZM350.16 263.576C350.16 263.851 349.933 268.709 349.652 268.709H129.674C129.393 268.709 129.166 263.851 129.166 263.576V114.503C129.166 112.747 129.879 111.062 131.149 109.82C132.418 108.579 134.14 107.881 135.935 107.881H343.392C345.187 107.881 346.908 108.579 348.178 109.82C349.447 111.062 350.16 112.747 350.16 114.503V263.576Z" fill="${color}"/>
|
|
311
|
-
<path d="M237.663 178.411C237.37 178.087 237.151 177.705 237.02 177.292C236.89 176.879 236.85 176.443 236.905 176.013L241.643 138.732L192.036 197.156H240.002C240.445 197.156 240.883 197.249 241.287 197.427C241.69 197.606 242.051 197.867 242.344 198.192C242.636 198.518 242.855 198.9 242.985 199.315C243.115 199.729 243.154 200.166 243.098 200.596L238.36 237.878L287.967 179.444H240.002C239.559 179.445 239.122 179.353 238.718 179.175C238.315 178.996 237.955 178.736 237.663 178.411V178.411Z" fill="${color}"/>
|
|
312
|
-
</svg>
|
|
313
|
-
`;
|
|
314
|
-
},
|
|
315
|
-
label: 'Technology Icon'
|
|
316
|
-
}
|
|
317
|
-
};
|