@blockbite/ui 2.0.1 → 2.0.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/dist/LinkPicker.js +18 -20
- package/dist/MediaPicker.js +13 -18
- package/dist/PasswordInput.js +1 -1
- package/dist/SingleBlockTypeAppender.js +6 -7
- package/dist/_virtual/_commonjsHelpers.js +4 -24
- package/dist/node_modules/@blockbite/icons/dist/ChevronDown.js +12 -12
- package/dist/node_modules/@blockbite/icons/dist/ColumnSpacing.js +33 -33
- package/dist/node_modules/@blockbite/icons/dist/Cross2.js +14 -14
- package/dist/node_modules/@blockbite/icons/dist/Desktop.js +35 -35
- package/dist/node_modules/@blockbite/icons/dist/Grid.js +34 -34
- package/dist/node_modules/@blockbite/icons/dist/Pencil1.js +2 -2
- package/dist/node_modules/@blockbite/icons/dist/Percentage.js +5 -5
- package/dist/node_modules/@blockbite/icons/dist/Plus.js +18 -18
- package/dist/node_modules/@blockbite/icons/dist/Slider.js +2 -2
- package/dist/node_modules/@blockbite/icons/dist/Tailwind.js +15 -15
- package/dist/node_modules/@blockbite/icons/dist/Trash.js +33 -33
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +32 -32
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +7 -7
- package/package.json +1 -1
- package/dist/_virtual/TextareaAutosize.js +0 -4
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/async.js +0 -4
- package/dist/_virtual/autosize.js +0 -4
- package/dist/_virtual/base.js +0 -4
- package/dist/_virtual/builtin.js +0 -4
- package/dist/_virtual/character.js +0 -4
- package/dist/_virtual/clipboard.js +0 -4
- package/dist/_virtual/create.js +0 -4
- package/dist/_virtual/dispatcher.js +0 -4
- package/dist/_virtual/helpers.js +0 -4
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -4
- package/dist/_virtual/index5.js +0 -4
- package/dist/_virtual/index6.js +0 -4
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/index8.js +0 -4
- package/dist/_virtual/is.js +0 -4
- package/dist/_virtual/keys.js +0 -4
- package/dist/_virtual/picocolors.browser.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.development2.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-is.production.min2.js +0 -4
- package/dist/_virtual/showdown.js +0 -4
- package/dist/_virtual/sprintf.js +0 -4
- package/dist/_virtual/symbols.js +0 -4
- package/dist/_virtual/wrap.js +0 -4
- package/dist/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +0 -197
- package/dist/node_modules/@react-spring/core/dist/react-spring_core.modern.js +0 -960
- package/dist/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +0 -103
- package/dist/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +0 -568
- package/dist/node_modules/@react-spring/web/dist/react-spring_web.modern.js +0 -309
- package/dist/node_modules/@tannin/compile/index.js +0 -11
- package/dist/node_modules/@tannin/evaluate/index.js +0 -68
- package/dist/node_modules/@tannin/plural-forms/index.js +0 -10
- package/dist/node_modules/@tannin/postfix/index.js +0 -47
- package/dist/node_modules/@wordpress/a11y/build-module/index.js +0 -11
- package/dist/node_modules/@wordpress/a11y/build-module/script/add-container.js +0 -11
- package/dist/node_modules/@wordpress/a11y/build-module/script/add-intro-text.js +0 -14
- package/dist/node_modules/@wordpress/a11y/build-module/shared/clear.js +0 -9
- package/dist/node_modules/@wordpress/a11y/build-module/shared/filter-message.js +0 -7
- package/dist/node_modules/@wordpress/a11y/build-module/shared/index.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/build-module/index.js +0 -78
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js +0 -60
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js +0 -17
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js +0 -37
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js +0 -21
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js +0 -40
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js +0 -11
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/theme-preview.js +0 -21
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/build-module/utils/response.js +0 -29
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createAddHook.js +0 -39
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDidHook.js +0 -11
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDoingHook.js +0 -9
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHasHook.js +0 -9
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHooks.js +0 -19
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +0 -28
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRunHook.js +0 -25
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/index.js +0 -43
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateHookName.js +0 -6
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateNamespace.js +0 -6
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/create-i18n.js +0 -95
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/default-i18n.js +0 -17
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/sprintf.js +0 -3
- package/dist/node_modules/@wordpress/autop/build-module/index.js +0 -76
- package/dist/node_modules/@wordpress/blob/build-module/index.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/ui.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/components/background-image-control/index.js +0 -416
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/constants.js +0 -39
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/ui.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/use-available-alignments.js +0 -31
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-card/index.js +0 -85
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js +0 -43
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-context/index.js +0 -20
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/fill.js +0 -35
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/groups.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/hook.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/slot.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js +0 -20
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js +0 -135
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js +0 -63
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/multiple-usage-warning.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-editing-mode/index.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js +0 -33
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js +0 -19
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js +0 -12
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js +0 -43
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js +0 -99
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block.js +0 -474
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/index.js +0 -188
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js +0 -13
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/private-block-context.js +0 -5
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/index.js +0 -117
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js +0 -33
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +0 -37
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-first-element.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-handler.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-intersection-observer.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-is-hovered.js +0 -22
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-scroll-into-view.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +0 -94
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-in-between-inserter.js +0 -78
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/zoom-out-separator.js +0 -99
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js +0 -50
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-list/index.js +0 -159
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-paging/index.js +0 -94
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/cover.js +0 -57
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/index.js +0 -82
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/use-popover-scroll.js +0 -25
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/async.js +0 -22
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/auto.js +0 -93
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js +0 -51
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-tools/insertion-point.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/ui.js +0 -60
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/all-input-control.js +0 -41
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js +0 -83
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/input-controls.js +0 -62
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/linked-button.js +0 -24
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/utils.js +0 -34
- package/dist/node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js +0 -65
- package/dist/node_modules/@wordpress/block-editor/build-module/components/child-layout-control/index.js +0 -249
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors/utils.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js +0 -124
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +0 -45
- package/dist/node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js +0 -73
- package/dist/node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js +0 -74
- package/dist/node_modules/@wordpress/block-editor/build-module/components/dimensions-tool/aspect-ratio-tool.js +0 -56
- package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone/utils.js +0 -58
- package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone-control/index.js +0 -69
- package/dist/node_modules/@wordpress/block-editor/build-module/components/editor-styles/index.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-appearance-control/index.js +0 -100
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-family/index.js +0 -64
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/fluid-utils.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js +0 -24
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/background-panel.js +0 -82
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/border-panel.js +0 -203
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/color-panel.js +0 -448
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/context.js +0 -12
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/dimensions-panel.js +0 -400
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/filters-panel.js +0 -168
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/get-block-css-selector.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/hooks.js +0 -116
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/shadow-panel-components.js +0 -189
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-panel.js +0 -308
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-utils.js +0 -81
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/use-global-styles-output.js +0 -418
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/utils.js +0 -190
- package/dist/node_modules/@wordpress/block-editor/build-module/components/gradients/use-gradient.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-movers.js +0 -113
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-resizer.js +0 -114
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-visualizer.js +0 -264
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-get-number-of-blocks-before-cell.js +0 -24
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-grid-layout-sync.js +0 -161
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/utils.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/height-control/index.js +0 -178
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/get-compatibility-styles.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/index.js +0 -206
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/use-scale-canvas.js +0 -139
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js +0 -179
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-block-context.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-inner-block-template-sync.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-nested-settings-update.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/index.js +0 -49
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +0 -65
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-list.js +0 -92
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/index.js +0 -57
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +0 -81
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/patterns-filter.js +0 -100
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js +0 -31
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/utils.js +0 -32
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-types-tab.js +0 -123
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/category-tabs/index.js +0 -64
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js +0 -58
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js +0 -92
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-paging.js +0 -23
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-state.js +0 -66
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/index.js +0 -281
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/hooks.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-list.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-panel.js +0 -45
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-preview.js +0 -207
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-tab.js +0 -72
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/utils.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js +0 -203
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/mobile-tab-navigation.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/no-results.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/panel.js +0 -25
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/preview-panel.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/quick-inserter.js +0 -92
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js +0 -66
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-results.js +0 -127
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/tips.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-draggable-blocks/index.js +0 -70
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js +0 -84
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/group.js +0 -28
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/index.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/item.js +0 -34
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/row.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-slot-container.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-tools-panel.js +0 -56
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/fill.js +0 -64
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/groups.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/slot.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/ui.js +0 -71
- package/dist/node_modules/@wordpress/block-editor/build-module/components/keyboard-shortcuts/index.js +0 -160
- package/dist/node_modules/@wordpress/block-editor/build-module/components/letter-spacing-control/index.js +0 -40
- package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js +0 -74
- package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/constants.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/index.js +0 -204
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/is-url-like.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/link-preview.js +0 -130
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-create-button.js +0 -35
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js +0 -96
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js +0 -82
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-results.js +0 -63
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js +0 -57
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings.js +0 -37
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-create-page.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-internal-value.js +0 -25
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-rich-url-data.js +0 -66
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-search-handler.js +0 -58
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/viewer-slot.js +0 -10
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js +0 -181
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js +0 -17
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js +0 -5
- package/dist/node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js +0 -95
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/block-refs-provider.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/index.js +0 -74
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-block-sync.js +0 -85
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-media-upload-settings.js +0 -12
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/with-registry-provider.js +0 -33
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/index.js +0 -79
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/axial.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/separated.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/single.js +0 -37
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +0 -286
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/linked-button.js +0 -23
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/utils.js +0 -121
- package/dist/node_modules/@wordpress/block-editor/build-module/components/tabbed-sidebar/index.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-alignment-control/index.js +0 -55
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js +0 -52
- package/dist/node_modules/@wordpress/block-editor/build-module/components/url-input/index.js +0 -322
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js +0 -50
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-drop-zone/index.js +0 -199
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-flash-editable-blocks/index.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js +0 -91
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-on-block-drop/index.js +0 -132
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-settings/index.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/warning/index.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js +0 -45
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-arrow-nav.js +0 -114
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-click-selection.js +0 -28
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-clipboard-handler.js +0 -128
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-drag-selection.js +0 -59
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-input.js +0 -75
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-multi-selection.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-select-all.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-selection-observer.js +0 -125
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-tab-nav.js +0 -104
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/utils.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-mode-control/index.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/align.js +0 -83
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/anchor.js +0 -75
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/aria-label.js +0 -27
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/background.js +0 -126
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-bindings.js +0 -231
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-hooks.js +0 -142
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-renaming.js +0 -23
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-style-variation.js +0 -138
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/border.js +0 -237
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/color.js +0 -221
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/compat.js +0 -10
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/content-lock-ui.js +0 -51
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/contrast-checker.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/custom-class-name.js +0 -75
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/dimensions.js +0 -112
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/duotone.js +0 -186
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-family.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-size.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/gap.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/generated-class-name.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/grid-visualizer.js +0 -43
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/index.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout-child.js +0 -163
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout.js +0 -245
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/line-height.js +0 -7
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/lock.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/metadata.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/position.js +0 -168
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/settings.js +0 -13
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/spacing-visualizer.js +0 -91
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/style.js +0 -174
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/text-align.js +0 -99
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/typography.js +0 -103
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-typography-props.js +0 -6
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-zoom-out.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/utils.js +0 -300
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/constrained.js +0 -237
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/definitions.js +0 -147
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flex.js +0 -255
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flow.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/grid.js +0 -291
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/index.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/utils.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/lock-unlock.js +0 -7
- package/dist/node_modules/@wordpress/block-editor/build-module/store/actions.js +0 -909
- package/dist/node_modules/@wordpress/block-editor/build-module/store/array.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/block-editor/build-module/store/defaults.js +0 -219
- package/dist/node_modules/@wordpress/block-editor/build-module/store/get-block-settings.js +0 -80
- package/dist/node_modules/@wordpress/block-editor/build-module/store/index.js +0 -27
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-actions.js +0 -232
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-keys.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-selectors.js +0 -244
- package/dist/node_modules/@wordpress/block-editor/build-module/store/reducer.js +0 -1437
- package/dist/node_modules/@wordpress/block-editor/build-module/store/selectors.js +0 -979
- package/dist/node_modules/@wordpress/block-editor/build-module/store/utils.js +0 -56
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/block-bindings.js +0 -95
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/dom.js +0 -70
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-style.js +0 -31
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-weight.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/get-font-styles-and-weights.js +0 -98
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/math.js +0 -27
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/object.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/order-inserter-block-items.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/pasting.js +0 -48
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/selection.js +0 -22
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/sorting.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/transform-styles/index.js +0 -80
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/use-notify-copy.js +0 -49
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/filter-url-for-display.js +0 -18
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-filename.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-path.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-protocol.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-email.js +0 -7
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-url.js +0 -10
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-fragment.js +0 -6
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-protocol.js +0 -6
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/prepend-http.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/safe-decode-uri.js +0 -10
- package/dist/node_modules/@wordpress/block-serialization-default-parser/build-module/index.js +0 -98
- package/dist/node_modules/@wordpress/blocks/build-module/api/children.js +0 -33
- package/dist/node_modules/@wordpress/blocks/build-module/api/constants.js +0 -282
- package/dist/node_modules/@wordpress/blocks/build-module/api/factory.js +0 -139
- package/dist/node_modules/@wordpress/blocks/build-module/api/index.js +0 -16
- package/dist/node_modules/@wordpress/blocks/build-module/api/matchers.js +0 -29
- package/dist/node_modules/@wordpress/blocks/build-module/api/node.js +0 -52
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-block-deprecated-versions.js +0 -51
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-built-in-validation-fixes.js +0 -16
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/convert-legacy-block.js +0 -60
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-aria-label.js +0 -23
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-custom-classname.js +0 -28
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/get-block-attributes.js +0 -111
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/index.js +0 -100
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/serialize-raw-block.js +0 -22
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/blockquote-normaliser.js +0 -9
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/br-remover.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/comment-remover.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/div-normaliser.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/empty-paragraph-remover.js +0 -6
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/figure-content-reducer.js +0 -26
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/get-raw-transforms.js +0 -12
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/google-docs-uid-remover.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/head-remover.js +0 -6
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-formatting-remover.js +0 -26
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-to-blocks.js +0 -31
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/iframe-remover.js +0 -9
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js +0 -30
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/index.js +0 -42
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/is-inline-content.js +0 -24
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/list-reducer.js +0 -31
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js +0 -23
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-converter.js +0 -28
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-ignore.js +0 -14
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/normalise-blocks.js +0 -13
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js +0 -78
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content-reducer.js +0 -17
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js +0 -41
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/slack-paragraph-corrector.js +0 -11
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/special-comment-converter.js +0 -36
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/utils.js +0 -87
- package/dist/node_modules/@wordpress/blocks/build-module/api/registration.js +0 -58
- package/dist/node_modules/@wordpress/blocks/build-module/api/serializer.js +0 -138
- package/dist/node_modules/@wordpress/blocks/build-module/api/templates.js +0 -36
- package/dist/node_modules/@wordpress/blocks/build-module/api/utils.js +0 -101
- package/dist/node_modules/@wordpress/blocks/build-module/api/validation/index.js +0 -173
- package/dist/node_modules/@wordpress/blocks/build-module/api/validation/logger.js +0 -39
- package/dist/node_modules/@wordpress/blocks/build-module/lock-unlock.js +0 -9
- package/dist/node_modules/@wordpress/blocks/build-module/store/actions.js +0 -130
- package/dist/node_modules/@wordpress/blocks/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/blocks/build-module/store/index.js +0 -20
- package/dist/node_modules/@wordpress/blocks/build-module/store/private-actions.js +0 -45
- package/dist/node_modules/@wordpress/blocks/build-module/store/private-selectors.js +0 -58
- package/dist/node_modules/@wordpress/blocks/build-module/store/process-block-type.js +0 -99
- package/dist/node_modules/@wordpress/blocks/build-module/store/reducer.js +0 -251
- package/dist/node_modules/@wordpress/blocks/build-module/store/selectors.js +0 -109
- package/dist/node_modules/@wordpress/blocks/build-module/store/utils.js +0 -18
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.development.js +0 -103
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.production.min.js +0 -81
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/index.js +0 -8
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/compose.js +0 -5
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/pipe.js +0 -8
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/pure/index.js +0 -23
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js +0 -13
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js +0 -33
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js +0 -34
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js +0 -29
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounced-input/index.js +0 -11
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js +0 -32
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js +0 -67
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-event/index.js +0 -12
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js +0 -17
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js +0 -5
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js +0 -30
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js +0 -23
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js +0 -5
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js +0 -7
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/legacy/index.js +0 -61
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/use-resize-observer.js +0 -18
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js +0 -28
- package/dist/node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js +0 -14
- package/dist/node_modules/@wordpress/compose/build-module/utils/debounce/index.js +0 -63
- package/dist/node_modules/@wordpress/compose/build-module/utils/observable-map/index.js +0 -29
- package/dist/node_modules/@wordpress/compose/build-module/utils/throttle/index.js +0 -9
- package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js +0 -9
- package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js +0 -8
- package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/context.js +0 -10
- package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js +0 -8
- package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js +0 -15
- package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js +0 -10
- package/dist/node_modules/@wordpress/data/build-module/components/use-select/index.js +0 -112
- package/dist/node_modules/@wordpress/data/build-module/components/with-dispatch/index.js +0 -13
- package/dist/node_modules/@wordpress/data/build-module/components/with-select/index.js +0 -14
- package/dist/node_modules/@wordpress/data/build-module/controls.js +0 -24
- package/dist/node_modules/@wordpress/data/build-module/default-registry.js +0 -5
- package/dist/node_modules/@wordpress/data/build-module/factory.js +0 -14
- package/dist/node_modules/@wordpress/data/build-module/index.js +0 -15
- package/dist/node_modules/@wordpress/data/build-module/lock-unlock.js +0 -9
- package/dist/node_modules/@wordpress/data/build-module/promise-middleware.js +0 -8
- package/dist/node_modules/@wordpress/data/build-module/redux-store/combine-reducers.js +0 -15
- package/dist/node_modules/@wordpress/data/build-module/redux-store/index.js +0 -250
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js +0 -73
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js +0 -83
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js +0 -78
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js +0 -23
- package/dist/node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js +0 -6
- package/dist/node_modules/@wordpress/data/build-module/registry.js +0 -159
- package/dist/node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js +0 -12
- package/dist/node_modules/@wordpress/data/build-module/select.js +0 -7
- package/dist/node_modules/@wordpress/data/build-module/store/index.js +0 -21
- package/dist/node_modules/@wordpress/data/build-module/utils/emitter.js +0 -33
- package/dist/node_modules/@wordpress/deprecated/build-module/index.js +0 -17
- package/dist/node_modules/@wordpress/dom/build-module/data-transfer.js +0 -14
- package/dist/node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js +0 -14
- package/dist/node_modules/@wordpress/dom/build-module/dom/clean-node-list.js +0 -51
- package/dist/node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js +0 -11
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-selection.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js +0 -11
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js +0 -8
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-computed-style.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-range-height.js +0 -14
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js +0 -58
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js +0 -27
- package/dist/node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js +0 -13
- package/dist/node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js +0 -27
- package/dist/node_modules/@wordpress/dom/build-module/dom/insert-after.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-edge.js +0 -42
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-element.js +0 -6
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-empty.js +0 -16
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js +0 -46
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-form-element.js +0 -12
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js +0 -6
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js +0 -6
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-rtl.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js +0 -15
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-text-field.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js +0 -39
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js +0 -8
- package/dist/node_modules/@wordpress/dom/build-module/dom/remove.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/replace-tag.js +0 -10
- package/dist/node_modules/@wordpress/dom/build-module/dom/replace.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/safe-html.js +0 -27
- package/dist/node_modules/@wordpress/dom/build-module/dom/scroll-if-no-range.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/strip-html.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/unwrap.js +0 -10
- package/dist/node_modules/@wordpress/dom/build-module/dom/wrap.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/focusable.js +0 -32
- package/dist/node_modules/@wordpress/dom/build-module/index.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/phrasing-content.js +0 -125
- package/dist/node_modules/@wordpress/dom/build-module/tabbable.js +0 -66
- package/dist/node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js +0 -7
- package/dist/node_modules/@wordpress/dom-ready/build-module/index.js +0 -11
- package/dist/node_modules/@wordpress/escape-html/build-module/escape-greater.js +0 -6
- package/dist/node_modules/@wordpress/escape-html/build-module/index.js +0 -28
- package/dist/node_modules/@wordpress/hooks/build-module/createAddHook.js +0 -39
- package/dist/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +0 -10
- package/dist/node_modules/@wordpress/hooks/build-module/createDidHook.js +0 -11
- package/dist/node_modules/@wordpress/hooks/build-module/createDoingHook.js +0 -9
- package/dist/node_modules/@wordpress/hooks/build-module/createHasHook.js +0 -9
- package/dist/node_modules/@wordpress/hooks/build-module/createHooks.js +0 -19
- package/dist/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +0 -28
- package/dist/node_modules/@wordpress/hooks/build-module/createRunHook.js +0 -42
- package/dist/node_modules/@wordpress/hooks/build-module/index.js +0 -47
- package/dist/node_modules/@wordpress/hooks/build-module/validateHookName.js +0 -6
- package/dist/node_modules/@wordpress/hooks/build-module/validateNamespace.js +0 -6
- package/dist/node_modules/@wordpress/html-entities/build-module/index.js +0 -12
- package/dist/node_modules/@wordpress/i18n/build-module/create-i18n.js +0 -95
- package/dist/node_modules/@wordpress/i18n/build-module/default-i18n.js +0 -18
- package/dist/node_modules/@wordpress/i18n/build-module/sprintf.js +0 -15
- package/dist/node_modules/@wordpress/icons/build-module/icon/index.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/align-center.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-justify.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-none.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/arrow-down.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/arrow-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/block-default.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/category.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/check.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-down.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left-small.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right-small.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-up.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/close-small.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/copy-small.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/drag-handle.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/edit.js +0 -4
- package/dist/node_modules/@wordpress/icons/build-module/library/external.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/file.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/filter.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-capitalize.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-lowercase.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-strikethrough.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-underline.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-uppercase.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/globe.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/home.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/info.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-bottom.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-center.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-top.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/keyboard-return.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/link-off.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/link.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/media.js +0 -16
- package/dist/node_modules/@wordpress/icons/build-module/library/more-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/page.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/pencil.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/plus.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/position-center.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/position-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/position-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/post-featured-image.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/post-list.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/reset.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/settings.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/shadow.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-all.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-bottom.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-horizontal.js +0 -19
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-left.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-right.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-top.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-vertical.js +0 -19
- package/dist/node_modules/@wordpress/icons/build-module/library/stretch-full-width.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/stretch-wide.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/symbol.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/tag.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/text-horizontal.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/text-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/upload.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/verse.js +0 -12
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/arrays.js +0 -13
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/index.js +0 -16
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/objects.js +0 -25
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/components/shortcut-provider.js +0 -6
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/context.js +0 -15
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.js +0 -18
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js +0 -26
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js +0 -14
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js +0 -24
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js +0 -33
- package/dist/node_modules/@wordpress/keycodes/build-module/index.js +0 -123
- package/dist/node_modules/@wordpress/keycodes/build-module/platform.js +0 -14
- package/dist/node_modules/@wordpress/notices/build-module/store/actions.js +0 -76
- package/dist/node_modules/@wordpress/notices/build-module/store/constants.js +0 -5
- package/dist/node_modules/@wordpress/notices/build-module/store/index.js +0 -14
- package/dist/node_modules/@wordpress/notices/build-module/store/reducer.js +0 -25
- package/dist/node_modules/@wordpress/notices/build-module/store/selectors.js +0 -8
- package/dist/node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js +0 -14
- package/dist/node_modules/@wordpress/preferences/build-module/store/actions.js +0 -38
- package/dist/node_modules/@wordpress/preferences/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/preferences/build-module/store/index.js +0 -15
- package/dist/node_modules/@wordpress/preferences/build-module/store/reducer.js +0 -56
- package/dist/node_modules/@wordpress/preferences/build-module/store/selectors.js +0 -11
- package/dist/node_modules/@wordpress/primitives/build-module/svg/index.js +0 -35
- package/dist/node_modules/@wordpress/priority-queue/build-module/index.js +0 -31
- package/dist/node_modules/@wordpress/priority-queue/build-module/request-idle-callback.js +0 -11
- package/dist/node_modules/@wordpress/private-apis/build-module/implementation.js +0 -28
- package/dist/node_modules/@wordpress/redux-routine/build-module/index.js +0 -11
- package/dist/node_modules/@wordpress/redux-routine/build-module/is-action.js +0 -11
- package/dist/node_modules/@wordpress/redux-routine/build-module/is-generator.js +0 -6
- package/dist/node_modules/@wordpress/redux-routine/build-module/runtime.js +0 -20
- package/dist/node_modules/@wordpress/rich-text/build-module/concat.js +0 -6
- package/dist/node_modules/@wordpress/rich-text/build-module/create-element.js +0 -8
- package/dist/node_modules/@wordpress/rich-text/build-module/create.js +0 -330
- package/dist/node_modules/@wordpress/rich-text/build-module/get-active-formats.js +0 -37
- package/dist/node_modules/@wordpress/rich-text/build-module/get-format-type.js +0 -8
- package/dist/node_modules/@wordpress/rich-text/build-module/get-text-content.js +0 -9
- package/dist/node_modules/@wordpress/rich-text/build-module/insert.js +0 -23
- package/dist/node_modules/@wordpress/rich-text/build-module/is-format-equal.js +0 -24
- package/dist/node_modules/@wordpress/rich-text/build-module/normalise-formats.js +0 -20
- package/dist/node_modules/@wordpress/rich-text/build-module/remove.js +0 -8
- package/dist/node_modules/@wordpress/rich-text/build-module/special-characters.js +0 -5
- package/dist/node_modules/@wordpress/rich-text/build-module/store/actions.js +0 -16
- package/dist/node_modules/@wordpress/rich-text/build-module/store/index.js +0 -14
- package/dist/node_modules/@wordpress/rich-text/build-module/store/reducer.js +0 -24
- package/dist/node_modules/@wordpress/rich-text/build-module/store/selectors.js +0 -26
- package/dist/node_modules/@wordpress/rich-text/build-module/to-html-string.js +0 -74
- package/dist/node_modules/@wordpress/rich-text/build-module/to-tree.js +0 -162
- package/dist/node_modules/@wordpress/shortcode/build-module/index.js +0 -129
- package/dist/node_modules/@wordpress/style-engine/build-module/index.js +0 -29
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/background/index.js +0 -28
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/border/index.js +0 -38
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/background.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/gradient.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/index.js +0 -7
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/text.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/constants.js +0 -6
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/dimensions/index.js +0 -11
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/index.js +0 -12
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/outline/index.js +0 -17
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/shadow/index.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/index.js +0 -6
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/margin.js +0 -11
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/padding.js +0 -11
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/typography/index.js +0 -35
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/utils.js +0 -78
- package/dist/node_modules/@wordpress/token-list/build-module/index.js +0 -166
- package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/index.js +0 -22
- package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/with-registry-provider.js +0 -33
- package/dist/node_modules/@wordpress/upload-media/build-module/get-mime-types-array.js +0 -9
- package/dist/node_modules/@wordpress/upload-media/build-module/lock-unlock.js +0 -7
- package/dist/node_modules/@wordpress/upload-media/build-module/store/actions.js +0 -69
- package/dist/node_modules/@wordpress/upload-media/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/upload-media/build-module/store/index.js +0 -25
- package/dist/node_modules/@wordpress/upload-media/build-module/store/private-actions.js +0 -196
- package/dist/node_modules/@wordpress/upload-media/build-module/store/private-selectors.js +0 -31
- package/dist/node_modules/@wordpress/upload-media/build-module/store/reducer.js +0 -114
- package/dist/node_modules/@wordpress/upload-media/build-module/store/selectors.js +0 -22
- package/dist/node_modules/@wordpress/upload-media/build-module/store/types.js +0 -12
- package/dist/node_modules/@wordpress/upload-media/build-module/stub-file.js +0 -8
- package/dist/node_modules/@wordpress/upload-media/build-module/upload-error.js +0 -15
- package/dist/node_modules/@wordpress/upload-media/build-module/utils.js +0 -25
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-file-size.js +0 -29
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type-for-user.js +0 -24
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type.js +0 -22
- package/dist/node_modules/@wordpress/url/build-module/add-query-args.js +0 -12
- package/dist/node_modules/@wordpress/url/build-module/build-query-string.js +0 -17
- package/dist/node_modules/@wordpress/url/build-module/get-query-arg.js +0 -7
- package/dist/node_modules/@wordpress/url/build-module/get-query-args.js +0 -33
- package/dist/node_modules/@wordpress/url/build-module/get-query-string.js +0 -12
- package/dist/node_modules/@wordpress/url/build-module/has-query-arg.js +0 -7
- package/dist/node_modules/@wordpress/url/build-module/normalize-path.js +0 -7
- package/dist/node_modules/@wordpress/url/build-module/remove-query-args.js +0 -14
- package/dist/node_modules/@wordpress/url/build-module/safe-decode-uri-component.js +0 -10
- package/dist/node_modules/@wordpress/warning/build-module/index.js +0 -17
- package/dist/node_modules/@wordpress/warning/build-module/utils.js +0 -4
- package/dist/node_modules/autosize/dist/autosize.js +0 -129
- package/dist/node_modules/camel-case/dist.es2015/index.js +0 -12
- package/dist/node_modules/clipboard/dist/clipboard.js +0 -496
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/colord/index.js +0 -139
- package/dist/node_modules/colord/plugins/a11y.js +0 -22
- package/dist/node_modules/colord/plugins/names.js +0 -25
- package/dist/node_modules/computed-style/dist/computedStyle.commonjs.js +0 -22
- package/dist/node_modules/diff/lib/diff/base.js +0 -142
- package/dist/node_modules/diff/lib/diff/character.js +0 -22
- package/dist/node_modules/dot-case/dist.es2015/index.js +0 -8
- package/dist/node_modules/equivalent-key-map/equivalent-key-map.js +0 -149
- package/dist/node_modules/fast-deep-equal/es6/index.js +0 -50
- package/dist/node_modules/fast-deep-equal/index.js +0 -30
- package/dist/node_modules/hpq/es/get-path.js +0 -11
- package/dist/node_modules/hpq/es/index.js +0 -56
- package/dist/node_modules/is-plain-object/dist/is-plain-object.js +0 -16
- package/dist/node_modules/is-promise/index.js +0 -6
- package/dist/node_modules/line-height/lib/line-height.js +0 -24
- package/dist/node_modules/lower-case/dist.es2015/index.js +0 -6
- package/dist/node_modules/memize/dist/index.js +0 -34
- package/dist/node_modules/nanoid/non-secure/index.js +0 -10
- package/dist/node_modules/no-case/dist.es2015/index.js +0 -18
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/param-case/dist.es2015/index.js +0 -8
- package/dist/node_modules/parsel-js/dist/parsel.js +0 -128
- package/dist/node_modules/pascal-case/dist.es2015/index.js +0 -13
- package/dist/node_modules/picocolors/picocolors.browser.js +0 -10
- package/dist/node_modules/postcss/lib/at-rule.js +0 -19
- package/dist/node_modules/postcss/lib/comment.js +0 -12
- package/dist/node_modules/postcss/lib/container.js +0 -225
- package/dist/node_modules/postcss/lib/css-syntax-error.js +0 -55
- package/dist/node_modules/postcss/lib/declaration.js +0 -15
- package/dist/node_modules/postcss/lib/document.js +0 -21
- package/dist/node_modules/postcss/lib/input.js +0 -133
- package/dist/node_modules/postcss/lib/lazy-result.js +0 -346
- package/dist/node_modules/postcss/lib/list.js +0 -21
- package/dist/node_modules/postcss/lib/map-generator.js +0 -166
- package/dist/node_modules/postcss/lib/no-work-result.js +0 -90
- package/dist/node_modules/postcss/lib/node.js +0 -240
- package/dist/node_modules/postcss/lib/parse.js +0 -22
- package/dist/node_modules/postcss/lib/parser.js +0 -317
- package/dist/node_modules/postcss/lib/previous-map.js +0 -88
- package/dist/node_modules/postcss/lib/processor.js +0 -43
- package/dist/node_modules/postcss/lib/result.js +0 -26
- package/dist/node_modules/postcss/lib/root.js +0 -37
- package/dist/node_modules/postcss/lib/rule.js +0 -21
- package/dist/node_modules/postcss/lib/stringifier.js +0 -192
- package/dist/node_modules/postcss/lib/stringify.js +0 -10
- package/dist/node_modules/postcss/lib/symbols.js +0 -6
- package/dist/node_modules/postcss/lib/tokenize.js +0 -109
- package/dist/node_modules/postcss/lib/warn-once.js +0 -7
- package/dist/node_modules/postcss/lib/warning.js +0 -21
- package/dist/node_modules/postcss-prefix-selector/index.js +0 -32
- package/dist/node_modules/postcss-urlrebase/index.js +0 -28
- package/dist/node_modules/postcss-value-parser/lib/index.js +0 -21
- package/dist/node_modules/postcss-value-parser/lib/parse.js +0 -114
- package/dist/node_modules/postcss-value-parser/lib/stringify.js +0 -17
- package/dist/node_modules/postcss-value-parser/lib/unit.js +0 -36
- package/dist/node_modules/postcss-value-parser/lib/walk.js +0 -8
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -13
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/react-autosize-textarea/lib/TextareaAutosize.js +0 -90
- package/dist/node_modules/react-autosize-textarea/lib/index.js +0 -13
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/redux/dist/redux.js +0 -185
- package/dist/node_modules/rememo/rememo.js +0 -63
- package/dist/node_modules/remove-accents/index.js +0 -479
- package/dist/node_modules/requestidlecallback/index.js +0 -87
- package/dist/node_modules/rungen/dist/controls/async.js +0 -73
- package/dist/node_modules/rungen/dist/controls/builtin.js +0 -47
- package/dist/node_modules/rungen/dist/controls/wrap.js +0 -34
- package/dist/node_modules/rungen/dist/create.js +0 -60
- package/dist/node_modules/rungen/dist/index.js +0 -28
- package/dist/node_modules/rungen/dist/utils/dispatcher.js +0 -22
- package/dist/node_modules/rungen/dist/utils/helpers.js +0 -111
- package/dist/node_modules/rungen/dist/utils/is.js +0 -57
- package/dist/node_modules/rungen/dist/utils/keys.js +0 -15
- package/dist/node_modules/showdown/dist/showdown.js +0 -2673
- package/dist/node_modules/simple-html-tokenizer/dist/es6/index.js +0 -600
- package/dist/node_modules/sprintf-js/src/sprintf.js +0 -145
- package/dist/node_modules/tannin/index.js +0 -36
- package/dist/node_modules/tslib/tslib.es6.js +0 -12
- package/dist/node_modules/use-memo-one/dist/use-memo-one.esm.js +0 -26
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -13
|
@@ -1,2673 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as J, commonjsGlobal as Y } from "../../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as G } from "../../../_virtual/showdown.js";
|
|
3
|
-
(function(I) {
|
|
4
|
-
(function() {
|
|
5
|
-
function E(e) {
|
|
6
|
-
var u = {
|
|
7
|
-
omitExtraWLInCodeBlocks: {
|
|
8
|
-
defaultValue: !1,
|
|
9
|
-
describe: "Omit the default extra whiteline added to code blocks",
|
|
10
|
-
type: "boolean"
|
|
11
|
-
},
|
|
12
|
-
noHeaderId: {
|
|
13
|
-
defaultValue: !1,
|
|
14
|
-
describe: "Turn on/off generated header id",
|
|
15
|
-
type: "boolean"
|
|
16
|
-
},
|
|
17
|
-
prefixHeaderId: {
|
|
18
|
-
defaultValue: !1,
|
|
19
|
-
describe: "Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",
|
|
20
|
-
type: "string"
|
|
21
|
-
},
|
|
22
|
-
rawPrefixHeaderId: {
|
|
23
|
-
defaultValue: !1,
|
|
24
|
-
describe: 'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',
|
|
25
|
-
type: "boolean"
|
|
26
|
-
},
|
|
27
|
-
ghCompatibleHeaderId: {
|
|
28
|
-
defaultValue: !1,
|
|
29
|
-
describe: "Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",
|
|
30
|
-
type: "boolean"
|
|
31
|
-
},
|
|
32
|
-
rawHeaderId: {
|
|
33
|
-
defaultValue: !1,
|
|
34
|
-
describe: `Remove only spaces, ' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids`,
|
|
35
|
-
type: "boolean"
|
|
36
|
-
},
|
|
37
|
-
headerLevelStart: {
|
|
38
|
-
defaultValue: !1,
|
|
39
|
-
describe: "The header blocks level start",
|
|
40
|
-
type: "integer"
|
|
41
|
-
},
|
|
42
|
-
parseImgDimensions: {
|
|
43
|
-
defaultValue: !1,
|
|
44
|
-
describe: "Turn on/off image dimension parsing",
|
|
45
|
-
type: "boolean"
|
|
46
|
-
},
|
|
47
|
-
simplifiedAutoLink: {
|
|
48
|
-
defaultValue: !1,
|
|
49
|
-
describe: "Turn on/off GFM autolink style",
|
|
50
|
-
type: "boolean"
|
|
51
|
-
},
|
|
52
|
-
excludeTrailingPunctuationFromURLs: {
|
|
53
|
-
defaultValue: !1,
|
|
54
|
-
describe: "Excludes trailing punctuation from links generated with autoLinking",
|
|
55
|
-
type: "boolean"
|
|
56
|
-
},
|
|
57
|
-
literalMidWordUnderscores: {
|
|
58
|
-
defaultValue: !1,
|
|
59
|
-
describe: "Parse midword underscores as literal underscores",
|
|
60
|
-
type: "boolean"
|
|
61
|
-
},
|
|
62
|
-
literalMidWordAsterisks: {
|
|
63
|
-
defaultValue: !1,
|
|
64
|
-
describe: "Parse midword asterisks as literal asterisks",
|
|
65
|
-
type: "boolean"
|
|
66
|
-
},
|
|
67
|
-
strikethrough: {
|
|
68
|
-
defaultValue: !1,
|
|
69
|
-
describe: "Turn on/off strikethrough support",
|
|
70
|
-
type: "boolean"
|
|
71
|
-
},
|
|
72
|
-
tables: {
|
|
73
|
-
defaultValue: !1,
|
|
74
|
-
describe: "Turn on/off tables support",
|
|
75
|
-
type: "boolean"
|
|
76
|
-
},
|
|
77
|
-
tablesHeaderId: {
|
|
78
|
-
defaultValue: !1,
|
|
79
|
-
describe: "Add an id to table headers",
|
|
80
|
-
type: "boolean"
|
|
81
|
-
},
|
|
82
|
-
ghCodeBlocks: {
|
|
83
|
-
defaultValue: !0,
|
|
84
|
-
describe: "Turn on/off GFM fenced code blocks support",
|
|
85
|
-
type: "boolean"
|
|
86
|
-
},
|
|
87
|
-
tasklists: {
|
|
88
|
-
defaultValue: !1,
|
|
89
|
-
describe: "Turn on/off GFM tasklist support",
|
|
90
|
-
type: "boolean"
|
|
91
|
-
},
|
|
92
|
-
smoothLivePreview: {
|
|
93
|
-
defaultValue: !1,
|
|
94
|
-
describe: "Prevents weird effects in live previews due to incomplete input",
|
|
95
|
-
type: "boolean"
|
|
96
|
-
},
|
|
97
|
-
smartIndentationFix: {
|
|
98
|
-
defaultValue: !1,
|
|
99
|
-
description: "Tries to smartly fix indentation in es6 strings",
|
|
100
|
-
type: "boolean"
|
|
101
|
-
},
|
|
102
|
-
disableForced4SpacesIndentedSublists: {
|
|
103
|
-
defaultValue: !1,
|
|
104
|
-
description: "Disables the requirement of indenting nested sublists by 4 spaces",
|
|
105
|
-
type: "boolean"
|
|
106
|
-
},
|
|
107
|
-
simpleLineBreaks: {
|
|
108
|
-
defaultValue: !1,
|
|
109
|
-
description: "Parses simple line breaks as <br> (GFM Style)",
|
|
110
|
-
type: "boolean"
|
|
111
|
-
},
|
|
112
|
-
requireSpaceBeforeHeadingText: {
|
|
113
|
-
defaultValue: !1,
|
|
114
|
-
description: "Makes adding a space between `#` and the header text mandatory (GFM Style)",
|
|
115
|
-
type: "boolean"
|
|
116
|
-
},
|
|
117
|
-
ghMentions: {
|
|
118
|
-
defaultValue: !1,
|
|
119
|
-
description: "Enables github @mentions",
|
|
120
|
-
type: "boolean"
|
|
121
|
-
},
|
|
122
|
-
ghMentionsLink: {
|
|
123
|
-
defaultValue: "https://github.com/{u}",
|
|
124
|
-
description: "Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",
|
|
125
|
-
type: "string"
|
|
126
|
-
},
|
|
127
|
-
encodeEmails: {
|
|
128
|
-
defaultValue: !0,
|
|
129
|
-
description: "Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",
|
|
130
|
-
type: "boolean"
|
|
131
|
-
},
|
|
132
|
-
openLinksInNewWindow: {
|
|
133
|
-
defaultValue: !1,
|
|
134
|
-
description: "Open all links in new windows",
|
|
135
|
-
type: "boolean"
|
|
136
|
-
},
|
|
137
|
-
backslashEscapesHTMLTags: {
|
|
138
|
-
defaultValue: !1,
|
|
139
|
-
description: "Support for HTML Tag escaping. ex: <div>foo</div>",
|
|
140
|
-
type: "boolean"
|
|
141
|
-
},
|
|
142
|
-
emoji: {
|
|
143
|
-
defaultValue: !1,
|
|
144
|
-
description: "Enable emoji support. Ex: `this is a :smile: emoji`",
|
|
145
|
-
type: "boolean"
|
|
146
|
-
},
|
|
147
|
-
underline: {
|
|
148
|
-
defaultValue: !1,
|
|
149
|
-
description: "Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",
|
|
150
|
-
type: "boolean"
|
|
151
|
-
},
|
|
152
|
-
completeHTMLDocument: {
|
|
153
|
-
defaultValue: !1,
|
|
154
|
-
description: "Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",
|
|
155
|
-
type: "boolean"
|
|
156
|
-
},
|
|
157
|
-
metadata: {
|
|
158
|
-
defaultValue: !1,
|
|
159
|
-
description: "Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",
|
|
160
|
-
type: "boolean"
|
|
161
|
-
},
|
|
162
|
-
splitAdjacentBlockquotes: {
|
|
163
|
-
defaultValue: !1,
|
|
164
|
-
description: "Split adjacent blockquote blocks",
|
|
165
|
-
type: "boolean"
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
if (e === !1)
|
|
169
|
-
return JSON.parse(JSON.stringify(u));
|
|
170
|
-
var d = {};
|
|
171
|
-
for (var a in u)
|
|
172
|
-
u.hasOwnProperty(a) && (d[a] = u[a].defaultValue);
|
|
173
|
-
return d;
|
|
174
|
-
}
|
|
175
|
-
function q() {
|
|
176
|
-
var e = E(!0), u = {};
|
|
177
|
-
for (var d in e)
|
|
178
|
-
e.hasOwnProperty(d) && (u[d] = !0);
|
|
179
|
-
return u;
|
|
180
|
-
}
|
|
181
|
-
var r = {}, L = {}, C = {}, M = E(!0), H = "vanilla", S = {
|
|
182
|
-
github: {
|
|
183
|
-
omitExtraWLInCodeBlocks: !0,
|
|
184
|
-
simplifiedAutoLink: !0,
|
|
185
|
-
excludeTrailingPunctuationFromURLs: !0,
|
|
186
|
-
literalMidWordUnderscores: !0,
|
|
187
|
-
strikethrough: !0,
|
|
188
|
-
tables: !0,
|
|
189
|
-
tablesHeaderId: !0,
|
|
190
|
-
ghCodeBlocks: !0,
|
|
191
|
-
tasklists: !0,
|
|
192
|
-
disableForced4SpacesIndentedSublists: !0,
|
|
193
|
-
simpleLineBreaks: !0,
|
|
194
|
-
requireSpaceBeforeHeadingText: !0,
|
|
195
|
-
ghCompatibleHeaderId: !0,
|
|
196
|
-
ghMentions: !0,
|
|
197
|
-
backslashEscapesHTMLTags: !0,
|
|
198
|
-
emoji: !0,
|
|
199
|
-
splitAdjacentBlockquotes: !0
|
|
200
|
-
},
|
|
201
|
-
original: {
|
|
202
|
-
noHeaderId: !0,
|
|
203
|
-
ghCodeBlocks: !1
|
|
204
|
-
},
|
|
205
|
-
ghost: {
|
|
206
|
-
omitExtraWLInCodeBlocks: !0,
|
|
207
|
-
parseImgDimensions: !0,
|
|
208
|
-
simplifiedAutoLink: !0,
|
|
209
|
-
excludeTrailingPunctuationFromURLs: !0,
|
|
210
|
-
literalMidWordUnderscores: !0,
|
|
211
|
-
strikethrough: !0,
|
|
212
|
-
tables: !0,
|
|
213
|
-
tablesHeaderId: !0,
|
|
214
|
-
ghCodeBlocks: !0,
|
|
215
|
-
tasklists: !0,
|
|
216
|
-
smoothLivePreview: !0,
|
|
217
|
-
simpleLineBreaks: !0,
|
|
218
|
-
requireSpaceBeforeHeadingText: !0,
|
|
219
|
-
ghMentions: !1,
|
|
220
|
-
encodeEmails: !0
|
|
221
|
-
},
|
|
222
|
-
vanilla: E(!0),
|
|
223
|
-
allOn: q()
|
|
224
|
-
};
|
|
225
|
-
r.helper = {}, r.extensions = {}, r.setOption = function(e, u) {
|
|
226
|
-
return M[e] = u, this;
|
|
227
|
-
}, r.getOption = function(e) {
|
|
228
|
-
return M[e];
|
|
229
|
-
}, r.getOptions = function() {
|
|
230
|
-
return M;
|
|
231
|
-
}, r.resetOptions = function() {
|
|
232
|
-
M = E(!0);
|
|
233
|
-
}, r.setFlavor = function(e) {
|
|
234
|
-
if (!S.hasOwnProperty(e))
|
|
235
|
-
throw Error(e + " flavor was not found");
|
|
236
|
-
r.resetOptions();
|
|
237
|
-
var u = S[e];
|
|
238
|
-
H = e;
|
|
239
|
-
for (var d in u)
|
|
240
|
-
u.hasOwnProperty(d) && (M[d] = u[d]);
|
|
241
|
-
}, r.getFlavor = function() {
|
|
242
|
-
return H;
|
|
243
|
-
}, r.getFlavorOptions = function(e) {
|
|
244
|
-
if (S.hasOwnProperty(e))
|
|
245
|
-
return S[e];
|
|
246
|
-
}, r.getDefaultOptions = function(e) {
|
|
247
|
-
return E(e);
|
|
248
|
-
}, r.subParser = function(e, u) {
|
|
249
|
-
if (r.helper.isString(e))
|
|
250
|
-
if (typeof u < "u")
|
|
251
|
-
L[e] = u;
|
|
252
|
-
else {
|
|
253
|
-
if (L.hasOwnProperty(e))
|
|
254
|
-
return L[e];
|
|
255
|
-
throw Error("SubParser named " + e + " not registered!");
|
|
256
|
-
}
|
|
257
|
-
}, r.extension = function(e, u) {
|
|
258
|
-
if (!r.helper.isString(e))
|
|
259
|
-
throw Error("Extension 'name' must be a string");
|
|
260
|
-
if (e = r.helper.stdExtName(e), r.helper.isUndefined(u)) {
|
|
261
|
-
if (!C.hasOwnProperty(e))
|
|
262
|
-
throw Error("Extension named " + e + " is not registered!");
|
|
263
|
-
return C[e];
|
|
264
|
-
} else {
|
|
265
|
-
typeof u == "function" && (u = u()), r.helper.isArray(u) || (u = [u]);
|
|
266
|
-
var d = A(u, e);
|
|
267
|
-
if (d.valid)
|
|
268
|
-
C[e] = u;
|
|
269
|
-
else
|
|
270
|
-
throw Error(d.error);
|
|
271
|
-
}
|
|
272
|
-
}, r.getAllExtensions = function() {
|
|
273
|
-
return C;
|
|
274
|
-
}, r.removeExtension = function(e) {
|
|
275
|
-
delete C[e];
|
|
276
|
-
}, r.resetExtensions = function() {
|
|
277
|
-
C = {};
|
|
278
|
-
};
|
|
279
|
-
function A(e, u) {
|
|
280
|
-
var d = u ? "Error in " + u + " extension->" : "Error in unnamed extension", a = {
|
|
281
|
-
valid: !0,
|
|
282
|
-
error: ""
|
|
283
|
-
};
|
|
284
|
-
r.helper.isArray(e) || (e = [e]);
|
|
285
|
-
for (var s = 0; s < e.length; ++s) {
|
|
286
|
-
var i = d + " sub-extension " + s + ": ", c = e[s];
|
|
287
|
-
if (typeof c != "object")
|
|
288
|
-
return a.valid = !1, a.error = i + "must be an object, but " + typeof c + " given", a;
|
|
289
|
-
if (!r.helper.isString(c.type))
|
|
290
|
-
return a.valid = !1, a.error = i + 'property "type" must be a string, but ' + typeof c.type + " given", a;
|
|
291
|
-
var f = c.type = c.type.toLowerCase();
|
|
292
|
-
if (f === "language" && (f = c.type = "lang"), f === "html" && (f = c.type = "output"), f !== "lang" && f !== "output" && f !== "listener")
|
|
293
|
-
return a.valid = !1, a.error = i + "type " + f + ' is not recognized. Valid values: "lang/language", "output/html" or "listener"', a;
|
|
294
|
-
if (f === "listener") {
|
|
295
|
-
if (r.helper.isUndefined(c.listeners))
|
|
296
|
-
return a.valid = !1, a.error = i + '. Extensions of type "listener" must have a property called "listeners"', a;
|
|
297
|
-
} else if (r.helper.isUndefined(c.filter) && r.helper.isUndefined(c.regex))
|
|
298
|
-
return a.valid = !1, a.error = i + f + ' extensions must define either a "regex" property or a "filter" method', a;
|
|
299
|
-
if (c.listeners) {
|
|
300
|
-
if (typeof c.listeners != "object")
|
|
301
|
-
return a.valid = !1, a.error = i + '"listeners" property must be an object but ' + typeof c.listeners + " given", a;
|
|
302
|
-
for (var p in c.listeners)
|
|
303
|
-
if (c.listeners.hasOwnProperty(p) && typeof c.listeners[p] != "function")
|
|
304
|
-
return a.valid = !1, a.error = i + '"listeners" property must be an hash of [event name]: [callback]. listeners.' + p + " must be a function but " + typeof c.listeners[p] + " given", a;
|
|
305
|
-
}
|
|
306
|
-
if (c.filter) {
|
|
307
|
-
if (typeof c.filter != "function")
|
|
308
|
-
return a.valid = !1, a.error = i + '"filter" must be a function, but ' + typeof c.filter + " given", a;
|
|
309
|
-
} else if (c.regex) {
|
|
310
|
-
if (r.helper.isString(c.regex) && (c.regex = new RegExp(c.regex, "g")), !(c.regex instanceof RegExp))
|
|
311
|
-
return a.valid = !1, a.error = i + '"regex" property must either be a string or a RegExp object, but ' + typeof c.regex + " given", a;
|
|
312
|
-
if (r.helper.isUndefined(c.replace))
|
|
313
|
-
return a.valid = !1, a.error = i + '"regex" extensions must implement a replace string or function', a;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
return a;
|
|
317
|
-
}
|
|
318
|
-
r.validateExtension = function(e) {
|
|
319
|
-
var u = A(e, null);
|
|
320
|
-
return u.valid ? !0 : (console.warn(u.error), !1);
|
|
321
|
-
}, r.hasOwnProperty("helper") || (r.helper = {}), r.helper.isString = function(e) {
|
|
322
|
-
return typeof e == "string" || e instanceof String;
|
|
323
|
-
}, r.helper.isFunction = function(e) {
|
|
324
|
-
var u = {};
|
|
325
|
-
return e && u.toString.call(e) === "[object Function]";
|
|
326
|
-
}, r.helper.isArray = function(e) {
|
|
327
|
-
return Array.isArray(e);
|
|
328
|
-
}, r.helper.isUndefined = function(e) {
|
|
329
|
-
return typeof e > "u";
|
|
330
|
-
}, r.helper.forEach = function(e, u) {
|
|
331
|
-
if (r.helper.isUndefined(e))
|
|
332
|
-
throw new Error("obj param is required");
|
|
333
|
-
if (r.helper.isUndefined(u))
|
|
334
|
-
throw new Error("callback param is required");
|
|
335
|
-
if (!r.helper.isFunction(u))
|
|
336
|
-
throw new Error("callback param must be a function/closure");
|
|
337
|
-
if (typeof e.forEach == "function")
|
|
338
|
-
e.forEach(u);
|
|
339
|
-
else if (r.helper.isArray(e))
|
|
340
|
-
for (var d = 0; d < e.length; d++)
|
|
341
|
-
u(e[d], d, e);
|
|
342
|
-
else if (typeof e == "object")
|
|
343
|
-
for (var a in e)
|
|
344
|
-
e.hasOwnProperty(a) && u(e[a], a, e);
|
|
345
|
-
else
|
|
346
|
-
throw new Error("obj does not seem to be an array or an iterable object");
|
|
347
|
-
}, r.helper.stdExtName = function(e) {
|
|
348
|
-
return e.replace(/[_?*+\/\\.^-]/g, "").replace(/\s/g, "").toLowerCase();
|
|
349
|
-
};
|
|
350
|
-
function N(e, u) {
|
|
351
|
-
var d = u.charCodeAt(0);
|
|
352
|
-
return "¨E" + d + "E";
|
|
353
|
-
}
|
|
354
|
-
r.helper.escapeCharactersCallback = N, r.helper.escapeCharacters = function(e, u, d) {
|
|
355
|
-
var a = "([" + u.replace(/([\[\]\\])/g, "\\$1") + "])";
|
|
356
|
-
d && (a = "\\\\" + a);
|
|
357
|
-
var s = new RegExp(a, "g");
|
|
358
|
-
return e = e.replace(s, N), e;
|
|
359
|
-
}, r.helper.unescapeHTMLEntities = function(e) {
|
|
360
|
-
return e.replace(/"/g, '"').replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
361
|
-
};
|
|
362
|
-
var D = function(e, u, d, a) {
|
|
363
|
-
var s = a || "", i = s.indexOf("g") > -1, c = new RegExp(u + "|" + d, "g" + s.replace(/g/g, "")), f = new RegExp(u, s.replace(/g/g, "")), p = [], l, t, h, n, o;
|
|
364
|
-
do
|
|
365
|
-
for (l = 0; h = c.exec(e); )
|
|
366
|
-
if (f.test(h[0]))
|
|
367
|
-
l++ || (t = c.lastIndex, n = t - h[0].length);
|
|
368
|
-
else if (l && !--l) {
|
|
369
|
-
o = h.index + h[0].length;
|
|
370
|
-
var _ = {
|
|
371
|
-
left: { start: n, end: t },
|
|
372
|
-
match: { start: t, end: h.index },
|
|
373
|
-
right: { start: h.index, end: o },
|
|
374
|
-
wholeMatch: { start: n, end: o }
|
|
375
|
-
};
|
|
376
|
-
if (p.push(_), !i)
|
|
377
|
-
return p;
|
|
378
|
-
}
|
|
379
|
-
while (l && (c.lastIndex = t));
|
|
380
|
-
return p;
|
|
381
|
-
};
|
|
382
|
-
r.helper.matchRecursiveRegExp = function(e, u, d, a) {
|
|
383
|
-
for (var s = D(e, u, d, a), i = [], c = 0; c < s.length; ++c)
|
|
384
|
-
i.push([
|
|
385
|
-
e.slice(s[c].wholeMatch.start, s[c].wholeMatch.end),
|
|
386
|
-
e.slice(s[c].match.start, s[c].match.end),
|
|
387
|
-
e.slice(s[c].left.start, s[c].left.end),
|
|
388
|
-
e.slice(s[c].right.start, s[c].right.end)
|
|
389
|
-
]);
|
|
390
|
-
return i;
|
|
391
|
-
}, r.helper.replaceRecursiveRegExp = function(e, u, d, a, s) {
|
|
392
|
-
if (!r.helper.isFunction(u)) {
|
|
393
|
-
var i = u;
|
|
394
|
-
u = function() {
|
|
395
|
-
return i;
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
var c = D(e, d, a, s), f = e, p = c.length;
|
|
399
|
-
if (p > 0) {
|
|
400
|
-
var l = [];
|
|
401
|
-
c[0].wholeMatch.start !== 0 && l.push(e.slice(0, c[0].wholeMatch.start));
|
|
402
|
-
for (var t = 0; t < p; ++t)
|
|
403
|
-
l.push(
|
|
404
|
-
u(
|
|
405
|
-
e.slice(c[t].wholeMatch.start, c[t].wholeMatch.end),
|
|
406
|
-
e.slice(c[t].match.start, c[t].match.end),
|
|
407
|
-
e.slice(c[t].left.start, c[t].left.end),
|
|
408
|
-
e.slice(c[t].right.start, c[t].right.end)
|
|
409
|
-
)
|
|
410
|
-
), t < p - 1 && l.push(e.slice(c[t].wholeMatch.end, c[t + 1].wholeMatch.start));
|
|
411
|
-
c[p - 1].wholeMatch.end < e.length && l.push(e.slice(c[p - 1].wholeMatch.end)), f = l.join("");
|
|
412
|
-
}
|
|
413
|
-
return f;
|
|
414
|
-
}, r.helper.regexIndexOf = function(e, u, d) {
|
|
415
|
-
if (!r.helper.isString(e))
|
|
416
|
-
throw "InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";
|
|
417
|
-
if (!(u instanceof RegExp))
|
|
418
|
-
throw "InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";
|
|
419
|
-
var a = e.substring(d || 0).search(u);
|
|
420
|
-
return a >= 0 ? a + (d || 0) : a;
|
|
421
|
-
}, r.helper.splitAtIndex = function(e, u) {
|
|
422
|
-
if (!r.helper.isString(e))
|
|
423
|
-
throw "InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";
|
|
424
|
-
return [e.substring(0, u), e.substring(u)];
|
|
425
|
-
}, r.helper.encodeEmailAddress = function(e) {
|
|
426
|
-
var u = [
|
|
427
|
-
function(d) {
|
|
428
|
-
return "&#" + d.charCodeAt(0) + ";";
|
|
429
|
-
},
|
|
430
|
-
function(d) {
|
|
431
|
-
return "&#x" + d.charCodeAt(0).toString(16) + ";";
|
|
432
|
-
},
|
|
433
|
-
function(d) {
|
|
434
|
-
return d;
|
|
435
|
-
}
|
|
436
|
-
];
|
|
437
|
-
return e = e.replace(/./g, function(d) {
|
|
438
|
-
if (d === "@")
|
|
439
|
-
d = u[Math.floor(Math.random() * 2)](d);
|
|
440
|
-
else {
|
|
441
|
-
var a = Math.random();
|
|
442
|
-
d = a > 0.9 ? u[2](d) : a > 0.45 ? u[1](d) : u[0](d);
|
|
443
|
-
}
|
|
444
|
-
return d;
|
|
445
|
-
}), e;
|
|
446
|
-
}, r.helper.padEnd = function(u, d, a) {
|
|
447
|
-
return d = d >> 0, a = String(a || " "), u.length > d ? String(u) : (d = d - u.length, d > a.length && (a += a.repeat(d / a.length)), String(u) + a.slice(0, d));
|
|
448
|
-
}, typeof console > "u" && (console = {
|
|
449
|
-
warn: function(e) {
|
|
450
|
-
alert(e);
|
|
451
|
-
},
|
|
452
|
-
log: function(e) {
|
|
453
|
-
alert(e);
|
|
454
|
-
},
|
|
455
|
-
error: function(e) {
|
|
456
|
-
throw e;
|
|
457
|
-
}
|
|
458
|
-
}), r.helper.regexes = {
|
|
459
|
-
asteriskDashAndColon: /([*_:~])/g
|
|
460
|
-
}, r.helper.emojis = {
|
|
461
|
-
"+1": "👍",
|
|
462
|
-
"-1": "👎",
|
|
463
|
-
100: "💯",
|
|
464
|
-
1234: "🔢",
|
|
465
|
-
"1st_place_medal": "🥇",
|
|
466
|
-
"2nd_place_medal": "🥈",
|
|
467
|
-
"3rd_place_medal": "🥉",
|
|
468
|
-
"8ball": "🎱",
|
|
469
|
-
a: "🅰️",
|
|
470
|
-
ab: "🆎",
|
|
471
|
-
abc: "🔤",
|
|
472
|
-
abcd: "🔡",
|
|
473
|
-
accept: "🉑",
|
|
474
|
-
aerial_tramway: "🚡",
|
|
475
|
-
airplane: "✈️",
|
|
476
|
-
alarm_clock: "⏰",
|
|
477
|
-
alembic: "⚗️",
|
|
478
|
-
alien: "👽",
|
|
479
|
-
ambulance: "🚑",
|
|
480
|
-
amphora: "🏺",
|
|
481
|
-
anchor: "⚓️",
|
|
482
|
-
angel: "👼",
|
|
483
|
-
anger: "💢",
|
|
484
|
-
angry: "😠",
|
|
485
|
-
anguished: "😧",
|
|
486
|
-
ant: "🐜",
|
|
487
|
-
apple: "🍎",
|
|
488
|
-
aquarius: "♒️",
|
|
489
|
-
aries: "♈️",
|
|
490
|
-
arrow_backward: "◀️",
|
|
491
|
-
arrow_double_down: "⏬",
|
|
492
|
-
arrow_double_up: "⏫",
|
|
493
|
-
arrow_down: "⬇️",
|
|
494
|
-
arrow_down_small: "🔽",
|
|
495
|
-
arrow_forward: "▶️",
|
|
496
|
-
arrow_heading_down: "⤵️",
|
|
497
|
-
arrow_heading_up: "⤴️",
|
|
498
|
-
arrow_left: "⬅️",
|
|
499
|
-
arrow_lower_left: "↙️",
|
|
500
|
-
arrow_lower_right: "↘️",
|
|
501
|
-
arrow_right: "➡️",
|
|
502
|
-
arrow_right_hook: "↪️",
|
|
503
|
-
arrow_up: "⬆️",
|
|
504
|
-
arrow_up_down: "↕️",
|
|
505
|
-
arrow_up_small: "🔼",
|
|
506
|
-
arrow_upper_left: "↖️",
|
|
507
|
-
arrow_upper_right: "↗️",
|
|
508
|
-
arrows_clockwise: "🔃",
|
|
509
|
-
arrows_counterclockwise: "🔄",
|
|
510
|
-
art: "🎨",
|
|
511
|
-
articulated_lorry: "🚛",
|
|
512
|
-
artificial_satellite: "🛰",
|
|
513
|
-
astonished: "😲",
|
|
514
|
-
athletic_shoe: "👟",
|
|
515
|
-
atm: "🏧",
|
|
516
|
-
atom_symbol: "⚛️",
|
|
517
|
-
avocado: "🥑",
|
|
518
|
-
b: "🅱️",
|
|
519
|
-
baby: "👶",
|
|
520
|
-
baby_bottle: "🍼",
|
|
521
|
-
baby_chick: "🐤",
|
|
522
|
-
baby_symbol: "🚼",
|
|
523
|
-
back: "🔙",
|
|
524
|
-
bacon: "🥓",
|
|
525
|
-
badminton: "🏸",
|
|
526
|
-
baggage_claim: "🛄",
|
|
527
|
-
baguette_bread: "🥖",
|
|
528
|
-
balance_scale: "⚖️",
|
|
529
|
-
balloon: "🎈",
|
|
530
|
-
ballot_box: "🗳",
|
|
531
|
-
ballot_box_with_check: "☑️",
|
|
532
|
-
bamboo: "🎍",
|
|
533
|
-
banana: "🍌",
|
|
534
|
-
bangbang: "‼️",
|
|
535
|
-
bank: "🏦",
|
|
536
|
-
bar_chart: "📊",
|
|
537
|
-
barber: "💈",
|
|
538
|
-
baseball: "⚾️",
|
|
539
|
-
basketball: "🏀",
|
|
540
|
-
basketball_man: "⛹️",
|
|
541
|
-
basketball_woman: "⛹️‍♀️",
|
|
542
|
-
bat: "🦇",
|
|
543
|
-
bath: "🛀",
|
|
544
|
-
bathtub: "🛁",
|
|
545
|
-
battery: "🔋",
|
|
546
|
-
beach_umbrella: "🏖",
|
|
547
|
-
bear: "🐻",
|
|
548
|
-
bed: "🛏",
|
|
549
|
-
bee: "🐝",
|
|
550
|
-
beer: "🍺",
|
|
551
|
-
beers: "🍻",
|
|
552
|
-
beetle: "🐞",
|
|
553
|
-
beginner: "🔰",
|
|
554
|
-
bell: "🔔",
|
|
555
|
-
bellhop_bell: "🛎",
|
|
556
|
-
bento: "🍱",
|
|
557
|
-
biking_man: "🚴",
|
|
558
|
-
bike: "🚲",
|
|
559
|
-
biking_woman: "🚴‍♀️",
|
|
560
|
-
bikini: "👙",
|
|
561
|
-
biohazard: "☣️",
|
|
562
|
-
bird: "🐦",
|
|
563
|
-
birthday: "🎂",
|
|
564
|
-
black_circle: "⚫️",
|
|
565
|
-
black_flag: "🏴",
|
|
566
|
-
black_heart: "🖤",
|
|
567
|
-
black_joker: "🃏",
|
|
568
|
-
black_large_square: "⬛️",
|
|
569
|
-
black_medium_small_square: "◾️",
|
|
570
|
-
black_medium_square: "◼️",
|
|
571
|
-
black_nib: "✒️",
|
|
572
|
-
black_small_square: "▪️",
|
|
573
|
-
black_square_button: "🔲",
|
|
574
|
-
blonde_man: "👱",
|
|
575
|
-
blonde_woman: "👱‍♀️",
|
|
576
|
-
blossom: "🌼",
|
|
577
|
-
blowfish: "🐡",
|
|
578
|
-
blue_book: "📘",
|
|
579
|
-
blue_car: "🚙",
|
|
580
|
-
blue_heart: "💙",
|
|
581
|
-
blush: "😊",
|
|
582
|
-
boar: "🐗",
|
|
583
|
-
boat: "⛵️",
|
|
584
|
-
bomb: "💣",
|
|
585
|
-
book: "📖",
|
|
586
|
-
bookmark: "🔖",
|
|
587
|
-
bookmark_tabs: "📑",
|
|
588
|
-
books: "📚",
|
|
589
|
-
boom: "💥",
|
|
590
|
-
boot: "👢",
|
|
591
|
-
bouquet: "💐",
|
|
592
|
-
bowing_man: "🙇",
|
|
593
|
-
bow_and_arrow: "🏹",
|
|
594
|
-
bowing_woman: "🙇‍♀️",
|
|
595
|
-
bowling: "🎳",
|
|
596
|
-
boxing_glove: "🥊",
|
|
597
|
-
boy: "👦",
|
|
598
|
-
bread: "🍞",
|
|
599
|
-
bride_with_veil: "👰",
|
|
600
|
-
bridge_at_night: "🌉",
|
|
601
|
-
briefcase: "💼",
|
|
602
|
-
broken_heart: "💔",
|
|
603
|
-
bug: "🐛",
|
|
604
|
-
building_construction: "🏗",
|
|
605
|
-
bulb: "💡",
|
|
606
|
-
bullettrain_front: "🚅",
|
|
607
|
-
bullettrain_side: "🚄",
|
|
608
|
-
burrito: "🌯",
|
|
609
|
-
bus: "🚌",
|
|
610
|
-
business_suit_levitating: "🕴",
|
|
611
|
-
busstop: "🚏",
|
|
612
|
-
bust_in_silhouette: "👤",
|
|
613
|
-
busts_in_silhouette: "👥",
|
|
614
|
-
butterfly: "🦋",
|
|
615
|
-
cactus: "🌵",
|
|
616
|
-
cake: "🍰",
|
|
617
|
-
calendar: "📆",
|
|
618
|
-
call_me_hand: "🤙",
|
|
619
|
-
calling: "📲",
|
|
620
|
-
camel: "🐫",
|
|
621
|
-
camera: "📷",
|
|
622
|
-
camera_flash: "📸",
|
|
623
|
-
camping: "🏕",
|
|
624
|
-
cancer: "♋️",
|
|
625
|
-
candle: "🕯",
|
|
626
|
-
candy: "🍬",
|
|
627
|
-
canoe: "🛶",
|
|
628
|
-
capital_abcd: "🔠",
|
|
629
|
-
capricorn: "♑️",
|
|
630
|
-
car: "🚗",
|
|
631
|
-
card_file_box: "🗃",
|
|
632
|
-
card_index: "📇",
|
|
633
|
-
card_index_dividers: "🗂",
|
|
634
|
-
carousel_horse: "🎠",
|
|
635
|
-
carrot: "🥕",
|
|
636
|
-
cat: "🐱",
|
|
637
|
-
cat2: "🐈",
|
|
638
|
-
cd: "💿",
|
|
639
|
-
chains: "⛓",
|
|
640
|
-
champagne: "🍾",
|
|
641
|
-
chart: "💹",
|
|
642
|
-
chart_with_downwards_trend: "📉",
|
|
643
|
-
chart_with_upwards_trend: "📈",
|
|
644
|
-
checkered_flag: "🏁",
|
|
645
|
-
cheese: "🧀",
|
|
646
|
-
cherries: "🍒",
|
|
647
|
-
cherry_blossom: "🌸",
|
|
648
|
-
chestnut: "🌰",
|
|
649
|
-
chicken: "🐔",
|
|
650
|
-
children_crossing: "🚸",
|
|
651
|
-
chipmunk: "🐿",
|
|
652
|
-
chocolate_bar: "🍫",
|
|
653
|
-
christmas_tree: "🎄",
|
|
654
|
-
church: "⛪️",
|
|
655
|
-
cinema: "🎦",
|
|
656
|
-
circus_tent: "🎪",
|
|
657
|
-
city_sunrise: "🌇",
|
|
658
|
-
city_sunset: "🌆",
|
|
659
|
-
cityscape: "🏙",
|
|
660
|
-
cl: "🆑",
|
|
661
|
-
clamp: "🗜",
|
|
662
|
-
clap: "👏",
|
|
663
|
-
clapper: "🎬",
|
|
664
|
-
classical_building: "🏛",
|
|
665
|
-
clinking_glasses: "🥂",
|
|
666
|
-
clipboard: "📋",
|
|
667
|
-
clock1: "🕐",
|
|
668
|
-
clock10: "🕙",
|
|
669
|
-
clock1030: "🕥",
|
|
670
|
-
clock11: "🕚",
|
|
671
|
-
clock1130: "🕦",
|
|
672
|
-
clock12: "🕛",
|
|
673
|
-
clock1230: "🕧",
|
|
674
|
-
clock130: "🕜",
|
|
675
|
-
clock2: "🕑",
|
|
676
|
-
clock230: "🕝",
|
|
677
|
-
clock3: "🕒",
|
|
678
|
-
clock330: "🕞",
|
|
679
|
-
clock4: "🕓",
|
|
680
|
-
clock430: "🕟",
|
|
681
|
-
clock5: "🕔",
|
|
682
|
-
clock530: "🕠",
|
|
683
|
-
clock6: "🕕",
|
|
684
|
-
clock630: "🕡",
|
|
685
|
-
clock7: "🕖",
|
|
686
|
-
clock730: "🕢",
|
|
687
|
-
clock8: "🕗",
|
|
688
|
-
clock830: "🕣",
|
|
689
|
-
clock9: "🕘",
|
|
690
|
-
clock930: "🕤",
|
|
691
|
-
closed_book: "📕",
|
|
692
|
-
closed_lock_with_key: "🔐",
|
|
693
|
-
closed_umbrella: "🌂",
|
|
694
|
-
cloud: "☁️",
|
|
695
|
-
cloud_with_lightning: "🌩",
|
|
696
|
-
cloud_with_lightning_and_rain: "⛈",
|
|
697
|
-
cloud_with_rain: "🌧",
|
|
698
|
-
cloud_with_snow: "🌨",
|
|
699
|
-
clown_face: "🤡",
|
|
700
|
-
clubs: "♣️",
|
|
701
|
-
cocktail: "🍸",
|
|
702
|
-
coffee: "☕️",
|
|
703
|
-
coffin: "⚰️",
|
|
704
|
-
cold_sweat: "😰",
|
|
705
|
-
comet: "☄️",
|
|
706
|
-
computer: "💻",
|
|
707
|
-
computer_mouse: "🖱",
|
|
708
|
-
confetti_ball: "🎊",
|
|
709
|
-
confounded: "😖",
|
|
710
|
-
confused: "😕",
|
|
711
|
-
congratulations: "㊗️",
|
|
712
|
-
construction: "🚧",
|
|
713
|
-
construction_worker_man: "👷",
|
|
714
|
-
construction_worker_woman: "👷‍♀️",
|
|
715
|
-
control_knobs: "🎛",
|
|
716
|
-
convenience_store: "🏪",
|
|
717
|
-
cookie: "🍪",
|
|
718
|
-
cool: "🆒",
|
|
719
|
-
policeman: "👮",
|
|
720
|
-
copyright: "©️",
|
|
721
|
-
corn: "🌽",
|
|
722
|
-
couch_and_lamp: "🛋",
|
|
723
|
-
couple: "👫",
|
|
724
|
-
couple_with_heart_woman_man: "💑",
|
|
725
|
-
couple_with_heart_man_man: "👨‍❤️‍👨",
|
|
726
|
-
couple_with_heart_woman_woman: "👩‍❤️‍👩",
|
|
727
|
-
couplekiss_man_man: "👨‍❤️‍💋‍👨",
|
|
728
|
-
couplekiss_man_woman: "💏",
|
|
729
|
-
couplekiss_woman_woman: "👩‍❤️‍💋‍👩",
|
|
730
|
-
cow: "🐮",
|
|
731
|
-
cow2: "🐄",
|
|
732
|
-
cowboy_hat_face: "🤠",
|
|
733
|
-
crab: "🦀",
|
|
734
|
-
crayon: "🖍",
|
|
735
|
-
credit_card: "💳",
|
|
736
|
-
crescent_moon: "🌙",
|
|
737
|
-
cricket: "🏏",
|
|
738
|
-
crocodile: "🐊",
|
|
739
|
-
croissant: "🥐",
|
|
740
|
-
crossed_fingers: "🤞",
|
|
741
|
-
crossed_flags: "🎌",
|
|
742
|
-
crossed_swords: "⚔️",
|
|
743
|
-
crown: "👑",
|
|
744
|
-
cry: "😢",
|
|
745
|
-
crying_cat_face: "😿",
|
|
746
|
-
crystal_ball: "🔮",
|
|
747
|
-
cucumber: "🥒",
|
|
748
|
-
cupid: "💘",
|
|
749
|
-
curly_loop: "➰",
|
|
750
|
-
currency_exchange: "💱",
|
|
751
|
-
curry: "🍛",
|
|
752
|
-
custard: "🍮",
|
|
753
|
-
customs: "🛃",
|
|
754
|
-
cyclone: "🌀",
|
|
755
|
-
dagger: "🗡",
|
|
756
|
-
dancer: "💃",
|
|
757
|
-
dancing_women: "👯",
|
|
758
|
-
dancing_men: "👯‍♂️",
|
|
759
|
-
dango: "🍡",
|
|
760
|
-
dark_sunglasses: "🕶",
|
|
761
|
-
dart: "🎯",
|
|
762
|
-
dash: "💨",
|
|
763
|
-
date: "📅",
|
|
764
|
-
deciduous_tree: "🌳",
|
|
765
|
-
deer: "🦌",
|
|
766
|
-
department_store: "🏬",
|
|
767
|
-
derelict_house: "🏚",
|
|
768
|
-
desert: "🏜",
|
|
769
|
-
desert_island: "🏝",
|
|
770
|
-
desktop_computer: "🖥",
|
|
771
|
-
male_detective: "🕵️",
|
|
772
|
-
diamond_shape_with_a_dot_inside: "💠",
|
|
773
|
-
diamonds: "♦️",
|
|
774
|
-
disappointed: "😞",
|
|
775
|
-
disappointed_relieved: "😥",
|
|
776
|
-
dizzy: "💫",
|
|
777
|
-
dizzy_face: "😵",
|
|
778
|
-
do_not_litter: "🚯",
|
|
779
|
-
dog: "🐶",
|
|
780
|
-
dog2: "🐕",
|
|
781
|
-
dollar: "💵",
|
|
782
|
-
dolls: "🎎",
|
|
783
|
-
dolphin: "🐬",
|
|
784
|
-
door: "🚪",
|
|
785
|
-
doughnut: "🍩",
|
|
786
|
-
dove: "🕊",
|
|
787
|
-
dragon: "🐉",
|
|
788
|
-
dragon_face: "🐲",
|
|
789
|
-
dress: "👗",
|
|
790
|
-
dromedary_camel: "🐪",
|
|
791
|
-
drooling_face: "🤤",
|
|
792
|
-
droplet: "💧",
|
|
793
|
-
drum: "🥁",
|
|
794
|
-
duck: "🦆",
|
|
795
|
-
dvd: "📀",
|
|
796
|
-
"e-mail": "📧",
|
|
797
|
-
eagle: "🦅",
|
|
798
|
-
ear: "👂",
|
|
799
|
-
ear_of_rice: "🌾",
|
|
800
|
-
earth_africa: "🌍",
|
|
801
|
-
earth_americas: "🌎",
|
|
802
|
-
earth_asia: "🌏",
|
|
803
|
-
egg: "🥚",
|
|
804
|
-
eggplant: "🍆",
|
|
805
|
-
eight_pointed_black_star: "✴️",
|
|
806
|
-
eight_spoked_asterisk: "✳️",
|
|
807
|
-
electric_plug: "🔌",
|
|
808
|
-
elephant: "🐘",
|
|
809
|
-
email: "✉️",
|
|
810
|
-
end: "🔚",
|
|
811
|
-
envelope_with_arrow: "📩",
|
|
812
|
-
euro: "💶",
|
|
813
|
-
european_castle: "🏰",
|
|
814
|
-
european_post_office: "🏤",
|
|
815
|
-
evergreen_tree: "🌲",
|
|
816
|
-
exclamation: "❗️",
|
|
817
|
-
expressionless: "😑",
|
|
818
|
-
eye: "👁",
|
|
819
|
-
eye_speech_bubble: "👁‍🗨",
|
|
820
|
-
eyeglasses: "👓",
|
|
821
|
-
eyes: "👀",
|
|
822
|
-
face_with_head_bandage: "🤕",
|
|
823
|
-
face_with_thermometer: "🤒",
|
|
824
|
-
fist_oncoming: "👊",
|
|
825
|
-
factory: "🏭",
|
|
826
|
-
fallen_leaf: "🍂",
|
|
827
|
-
family_man_woman_boy: "👪",
|
|
828
|
-
family_man_boy: "👨‍👦",
|
|
829
|
-
family_man_boy_boy: "👨‍👦‍👦",
|
|
830
|
-
family_man_girl: "👨‍👧",
|
|
831
|
-
family_man_girl_boy: "👨‍👧‍👦",
|
|
832
|
-
family_man_girl_girl: "👨‍👧‍👧",
|
|
833
|
-
family_man_man_boy: "👨‍👨‍👦",
|
|
834
|
-
family_man_man_boy_boy: "👨‍👨‍👦‍👦",
|
|
835
|
-
family_man_man_girl: "👨‍👨‍👧",
|
|
836
|
-
family_man_man_girl_boy: "👨‍👨‍👧‍👦",
|
|
837
|
-
family_man_man_girl_girl: "👨‍👨‍👧‍👧",
|
|
838
|
-
family_man_woman_boy_boy: "👨‍👩‍👦‍👦",
|
|
839
|
-
family_man_woman_girl: "👨‍👩‍👧",
|
|
840
|
-
family_man_woman_girl_boy: "👨‍👩‍👧‍👦",
|
|
841
|
-
family_man_woman_girl_girl: "👨‍👩‍👧‍👧",
|
|
842
|
-
family_woman_boy: "👩‍👦",
|
|
843
|
-
family_woman_boy_boy: "👩‍👦‍👦",
|
|
844
|
-
family_woman_girl: "👩‍👧",
|
|
845
|
-
family_woman_girl_boy: "👩‍👧‍👦",
|
|
846
|
-
family_woman_girl_girl: "👩‍👧‍👧",
|
|
847
|
-
family_woman_woman_boy: "👩‍👩‍👦",
|
|
848
|
-
family_woman_woman_boy_boy: "👩‍👩‍👦‍👦",
|
|
849
|
-
family_woman_woman_girl: "👩‍👩‍👧",
|
|
850
|
-
family_woman_woman_girl_boy: "👩‍👩‍👧‍👦",
|
|
851
|
-
family_woman_woman_girl_girl: "👩‍👩‍👧‍👧",
|
|
852
|
-
fast_forward: "⏩",
|
|
853
|
-
fax: "📠",
|
|
854
|
-
fearful: "😨",
|
|
855
|
-
feet: "🐾",
|
|
856
|
-
female_detective: "🕵️‍♀️",
|
|
857
|
-
ferris_wheel: "🎡",
|
|
858
|
-
ferry: "⛴",
|
|
859
|
-
field_hockey: "🏑",
|
|
860
|
-
file_cabinet: "🗄",
|
|
861
|
-
file_folder: "📁",
|
|
862
|
-
film_projector: "📽",
|
|
863
|
-
film_strip: "🎞",
|
|
864
|
-
fire: "🔥",
|
|
865
|
-
fire_engine: "🚒",
|
|
866
|
-
fireworks: "🎆",
|
|
867
|
-
first_quarter_moon: "🌓",
|
|
868
|
-
first_quarter_moon_with_face: "🌛",
|
|
869
|
-
fish: "🐟",
|
|
870
|
-
fish_cake: "🍥",
|
|
871
|
-
fishing_pole_and_fish: "🎣",
|
|
872
|
-
fist_raised: "✊",
|
|
873
|
-
fist_left: "🤛",
|
|
874
|
-
fist_right: "🤜",
|
|
875
|
-
flags: "🎏",
|
|
876
|
-
flashlight: "🔦",
|
|
877
|
-
fleur_de_lis: "⚜️",
|
|
878
|
-
flight_arrival: "🛬",
|
|
879
|
-
flight_departure: "🛫",
|
|
880
|
-
floppy_disk: "💾",
|
|
881
|
-
flower_playing_cards: "🎴",
|
|
882
|
-
flushed: "😳",
|
|
883
|
-
fog: "🌫",
|
|
884
|
-
foggy: "🌁",
|
|
885
|
-
football: "🏈",
|
|
886
|
-
footprints: "👣",
|
|
887
|
-
fork_and_knife: "🍴",
|
|
888
|
-
fountain: "⛲️",
|
|
889
|
-
fountain_pen: "🖋",
|
|
890
|
-
four_leaf_clover: "🍀",
|
|
891
|
-
fox_face: "🦊",
|
|
892
|
-
framed_picture: "🖼",
|
|
893
|
-
free: "🆓",
|
|
894
|
-
fried_egg: "🍳",
|
|
895
|
-
fried_shrimp: "🍤",
|
|
896
|
-
fries: "🍟",
|
|
897
|
-
frog: "🐸",
|
|
898
|
-
frowning: "😦",
|
|
899
|
-
frowning_face: "☹️",
|
|
900
|
-
frowning_man: "🙍‍♂️",
|
|
901
|
-
frowning_woman: "🙍",
|
|
902
|
-
middle_finger: "🖕",
|
|
903
|
-
fuelpump: "⛽️",
|
|
904
|
-
full_moon: "🌕",
|
|
905
|
-
full_moon_with_face: "🌝",
|
|
906
|
-
funeral_urn: "⚱️",
|
|
907
|
-
game_die: "🎲",
|
|
908
|
-
gear: "⚙️",
|
|
909
|
-
gem: "💎",
|
|
910
|
-
gemini: "♊️",
|
|
911
|
-
ghost: "👻",
|
|
912
|
-
gift: "🎁",
|
|
913
|
-
gift_heart: "💝",
|
|
914
|
-
girl: "👧",
|
|
915
|
-
globe_with_meridians: "🌐",
|
|
916
|
-
goal_net: "🥅",
|
|
917
|
-
goat: "🐐",
|
|
918
|
-
golf: "⛳️",
|
|
919
|
-
golfing_man: "🏌️",
|
|
920
|
-
golfing_woman: "🏌️‍♀️",
|
|
921
|
-
gorilla: "🦍",
|
|
922
|
-
grapes: "🍇",
|
|
923
|
-
green_apple: "🍏",
|
|
924
|
-
green_book: "📗",
|
|
925
|
-
green_heart: "💚",
|
|
926
|
-
green_salad: "🥗",
|
|
927
|
-
grey_exclamation: "❕",
|
|
928
|
-
grey_question: "❔",
|
|
929
|
-
grimacing: "😬",
|
|
930
|
-
grin: "😁",
|
|
931
|
-
grinning: "😀",
|
|
932
|
-
guardsman: "💂",
|
|
933
|
-
guardswoman: "💂‍♀️",
|
|
934
|
-
guitar: "🎸",
|
|
935
|
-
gun: "🔫",
|
|
936
|
-
haircut_woman: "💇",
|
|
937
|
-
haircut_man: "💇‍♂️",
|
|
938
|
-
hamburger: "🍔",
|
|
939
|
-
hammer: "🔨",
|
|
940
|
-
hammer_and_pick: "⚒",
|
|
941
|
-
hammer_and_wrench: "🛠",
|
|
942
|
-
hamster: "🐹",
|
|
943
|
-
hand: "✋",
|
|
944
|
-
handbag: "👜",
|
|
945
|
-
handshake: "🤝",
|
|
946
|
-
hankey: "💩",
|
|
947
|
-
hatched_chick: "🐥",
|
|
948
|
-
hatching_chick: "🐣",
|
|
949
|
-
headphones: "🎧",
|
|
950
|
-
hear_no_evil: "🙉",
|
|
951
|
-
heart: "❤️",
|
|
952
|
-
heart_decoration: "💟",
|
|
953
|
-
heart_eyes: "😍",
|
|
954
|
-
heart_eyes_cat: "😻",
|
|
955
|
-
heartbeat: "💓",
|
|
956
|
-
heartpulse: "💗",
|
|
957
|
-
hearts: "♥️",
|
|
958
|
-
heavy_check_mark: "✔️",
|
|
959
|
-
heavy_division_sign: "➗",
|
|
960
|
-
heavy_dollar_sign: "💲",
|
|
961
|
-
heavy_heart_exclamation: "❣️",
|
|
962
|
-
heavy_minus_sign: "➖",
|
|
963
|
-
heavy_multiplication_x: "✖️",
|
|
964
|
-
heavy_plus_sign: "➕",
|
|
965
|
-
helicopter: "🚁",
|
|
966
|
-
herb: "🌿",
|
|
967
|
-
hibiscus: "🌺",
|
|
968
|
-
high_brightness: "🔆",
|
|
969
|
-
high_heel: "👠",
|
|
970
|
-
hocho: "🔪",
|
|
971
|
-
hole: "🕳",
|
|
972
|
-
honey_pot: "🍯",
|
|
973
|
-
horse: "🐴",
|
|
974
|
-
horse_racing: "🏇",
|
|
975
|
-
hospital: "🏥",
|
|
976
|
-
hot_pepper: "🌶",
|
|
977
|
-
hotdog: "🌭",
|
|
978
|
-
hotel: "🏨",
|
|
979
|
-
hotsprings: "♨️",
|
|
980
|
-
hourglass: "⌛️",
|
|
981
|
-
hourglass_flowing_sand: "⏳",
|
|
982
|
-
house: "🏠",
|
|
983
|
-
house_with_garden: "🏡",
|
|
984
|
-
houses: "🏘",
|
|
985
|
-
hugs: "🤗",
|
|
986
|
-
hushed: "😯",
|
|
987
|
-
ice_cream: "🍨",
|
|
988
|
-
ice_hockey: "🏒",
|
|
989
|
-
ice_skate: "⛸",
|
|
990
|
-
icecream: "🍦",
|
|
991
|
-
id: "🆔",
|
|
992
|
-
ideograph_advantage: "🉐",
|
|
993
|
-
imp: "👿",
|
|
994
|
-
inbox_tray: "📥",
|
|
995
|
-
incoming_envelope: "📨",
|
|
996
|
-
tipping_hand_woman: "💁",
|
|
997
|
-
information_source: "ℹ️",
|
|
998
|
-
innocent: "😇",
|
|
999
|
-
interrobang: "⁉️",
|
|
1000
|
-
iphone: "📱",
|
|
1001
|
-
izakaya_lantern: "🏮",
|
|
1002
|
-
jack_o_lantern: "🎃",
|
|
1003
|
-
japan: "🗾",
|
|
1004
|
-
japanese_castle: "🏯",
|
|
1005
|
-
japanese_goblin: "👺",
|
|
1006
|
-
japanese_ogre: "👹",
|
|
1007
|
-
jeans: "👖",
|
|
1008
|
-
joy: "😂",
|
|
1009
|
-
joy_cat: "😹",
|
|
1010
|
-
joystick: "🕹",
|
|
1011
|
-
kaaba: "🕋",
|
|
1012
|
-
key: "🔑",
|
|
1013
|
-
keyboard: "⌨️",
|
|
1014
|
-
keycap_ten: "🔟",
|
|
1015
|
-
kick_scooter: "🛴",
|
|
1016
|
-
kimono: "👘",
|
|
1017
|
-
kiss: "💋",
|
|
1018
|
-
kissing: "😗",
|
|
1019
|
-
kissing_cat: "😽",
|
|
1020
|
-
kissing_closed_eyes: "😚",
|
|
1021
|
-
kissing_heart: "😘",
|
|
1022
|
-
kissing_smiling_eyes: "😙",
|
|
1023
|
-
kiwi_fruit: "🥝",
|
|
1024
|
-
koala: "🐨",
|
|
1025
|
-
koko: "🈁",
|
|
1026
|
-
label: "🏷",
|
|
1027
|
-
large_blue_circle: "🔵",
|
|
1028
|
-
large_blue_diamond: "🔷",
|
|
1029
|
-
large_orange_diamond: "🔶",
|
|
1030
|
-
last_quarter_moon: "🌗",
|
|
1031
|
-
last_quarter_moon_with_face: "🌜",
|
|
1032
|
-
latin_cross: "✝️",
|
|
1033
|
-
laughing: "😆",
|
|
1034
|
-
leaves: "🍃",
|
|
1035
|
-
ledger: "📒",
|
|
1036
|
-
left_luggage: "🛅",
|
|
1037
|
-
left_right_arrow: "↔️",
|
|
1038
|
-
leftwards_arrow_with_hook: "↩️",
|
|
1039
|
-
lemon: "🍋",
|
|
1040
|
-
leo: "♌️",
|
|
1041
|
-
leopard: "🐆",
|
|
1042
|
-
level_slider: "🎚",
|
|
1043
|
-
libra: "♎️",
|
|
1044
|
-
light_rail: "🚈",
|
|
1045
|
-
link: "🔗",
|
|
1046
|
-
lion: "🦁",
|
|
1047
|
-
lips: "👄",
|
|
1048
|
-
lipstick: "💄",
|
|
1049
|
-
lizard: "🦎",
|
|
1050
|
-
lock: "🔒",
|
|
1051
|
-
lock_with_ink_pen: "🔏",
|
|
1052
|
-
lollipop: "🍭",
|
|
1053
|
-
loop: "➿",
|
|
1054
|
-
loud_sound: "🔊",
|
|
1055
|
-
loudspeaker: "📢",
|
|
1056
|
-
love_hotel: "🏩",
|
|
1057
|
-
love_letter: "💌",
|
|
1058
|
-
low_brightness: "🔅",
|
|
1059
|
-
lying_face: "🤥",
|
|
1060
|
-
m: "Ⓜ️",
|
|
1061
|
-
mag: "🔍",
|
|
1062
|
-
mag_right: "🔎",
|
|
1063
|
-
mahjong: "🀄️",
|
|
1064
|
-
mailbox: "📫",
|
|
1065
|
-
mailbox_closed: "📪",
|
|
1066
|
-
mailbox_with_mail: "📬",
|
|
1067
|
-
mailbox_with_no_mail: "📭",
|
|
1068
|
-
man: "👨",
|
|
1069
|
-
man_artist: "👨‍🎨",
|
|
1070
|
-
man_astronaut: "👨‍🚀",
|
|
1071
|
-
man_cartwheeling: "🤸‍♂️",
|
|
1072
|
-
man_cook: "👨‍🍳",
|
|
1073
|
-
man_dancing: "🕺",
|
|
1074
|
-
man_facepalming: "🤦‍♂️",
|
|
1075
|
-
man_factory_worker: "👨‍🏭",
|
|
1076
|
-
man_farmer: "👨‍🌾",
|
|
1077
|
-
man_firefighter: "👨‍🚒",
|
|
1078
|
-
man_health_worker: "👨‍⚕️",
|
|
1079
|
-
man_in_tuxedo: "🤵",
|
|
1080
|
-
man_judge: "👨‍⚖️",
|
|
1081
|
-
man_juggling: "🤹‍♂️",
|
|
1082
|
-
man_mechanic: "👨‍🔧",
|
|
1083
|
-
man_office_worker: "👨‍💼",
|
|
1084
|
-
man_pilot: "👨‍✈️",
|
|
1085
|
-
man_playing_handball: "🤾‍♂️",
|
|
1086
|
-
man_playing_water_polo: "🤽‍♂️",
|
|
1087
|
-
man_scientist: "👨‍🔬",
|
|
1088
|
-
man_shrugging: "🤷‍♂️",
|
|
1089
|
-
man_singer: "👨‍🎤",
|
|
1090
|
-
man_student: "👨‍🎓",
|
|
1091
|
-
man_teacher: "👨‍🏫",
|
|
1092
|
-
man_technologist: "👨‍💻",
|
|
1093
|
-
man_with_gua_pi_mao: "👲",
|
|
1094
|
-
man_with_turban: "👳",
|
|
1095
|
-
tangerine: "🍊",
|
|
1096
|
-
mans_shoe: "👞",
|
|
1097
|
-
mantelpiece_clock: "🕰",
|
|
1098
|
-
maple_leaf: "🍁",
|
|
1099
|
-
martial_arts_uniform: "🥋",
|
|
1100
|
-
mask: "😷",
|
|
1101
|
-
massage_woman: "💆",
|
|
1102
|
-
massage_man: "💆‍♂️",
|
|
1103
|
-
meat_on_bone: "🍖",
|
|
1104
|
-
medal_military: "🎖",
|
|
1105
|
-
medal_sports: "🏅",
|
|
1106
|
-
mega: "📣",
|
|
1107
|
-
melon: "🍈",
|
|
1108
|
-
memo: "📝",
|
|
1109
|
-
men_wrestling: "🤼‍♂️",
|
|
1110
|
-
menorah: "🕎",
|
|
1111
|
-
mens: "🚹",
|
|
1112
|
-
metal: "🤘",
|
|
1113
|
-
metro: "🚇",
|
|
1114
|
-
microphone: "🎤",
|
|
1115
|
-
microscope: "🔬",
|
|
1116
|
-
milk_glass: "🥛",
|
|
1117
|
-
milky_way: "🌌",
|
|
1118
|
-
minibus: "🚐",
|
|
1119
|
-
minidisc: "💽",
|
|
1120
|
-
mobile_phone_off: "📴",
|
|
1121
|
-
money_mouth_face: "🤑",
|
|
1122
|
-
money_with_wings: "💸",
|
|
1123
|
-
moneybag: "💰",
|
|
1124
|
-
monkey: "🐒",
|
|
1125
|
-
monkey_face: "🐵",
|
|
1126
|
-
monorail: "🚝",
|
|
1127
|
-
moon: "🌔",
|
|
1128
|
-
mortar_board: "🎓",
|
|
1129
|
-
mosque: "🕌",
|
|
1130
|
-
motor_boat: "🛥",
|
|
1131
|
-
motor_scooter: "🛵",
|
|
1132
|
-
motorcycle: "🏍",
|
|
1133
|
-
motorway: "🛣",
|
|
1134
|
-
mount_fuji: "🗻",
|
|
1135
|
-
mountain: "⛰",
|
|
1136
|
-
mountain_biking_man: "🚵",
|
|
1137
|
-
mountain_biking_woman: "🚵‍♀️",
|
|
1138
|
-
mountain_cableway: "🚠",
|
|
1139
|
-
mountain_railway: "🚞",
|
|
1140
|
-
mountain_snow: "🏔",
|
|
1141
|
-
mouse: "🐭",
|
|
1142
|
-
mouse2: "🐁",
|
|
1143
|
-
movie_camera: "🎥",
|
|
1144
|
-
moyai: "🗿",
|
|
1145
|
-
mrs_claus: "🤶",
|
|
1146
|
-
muscle: "💪",
|
|
1147
|
-
mushroom: "🍄",
|
|
1148
|
-
musical_keyboard: "🎹",
|
|
1149
|
-
musical_note: "🎵",
|
|
1150
|
-
musical_score: "🎼",
|
|
1151
|
-
mute: "🔇",
|
|
1152
|
-
nail_care: "💅",
|
|
1153
|
-
name_badge: "📛",
|
|
1154
|
-
national_park: "🏞",
|
|
1155
|
-
nauseated_face: "🤢",
|
|
1156
|
-
necktie: "👔",
|
|
1157
|
-
negative_squared_cross_mark: "❎",
|
|
1158
|
-
nerd_face: "🤓",
|
|
1159
|
-
neutral_face: "😐",
|
|
1160
|
-
new: "🆕",
|
|
1161
|
-
new_moon: "🌑",
|
|
1162
|
-
new_moon_with_face: "🌚",
|
|
1163
|
-
newspaper: "📰",
|
|
1164
|
-
newspaper_roll: "🗞",
|
|
1165
|
-
next_track_button: "⏭",
|
|
1166
|
-
ng: "🆖",
|
|
1167
|
-
no_good_man: "🙅‍♂️",
|
|
1168
|
-
no_good_woman: "🙅",
|
|
1169
|
-
night_with_stars: "🌃",
|
|
1170
|
-
no_bell: "🔕",
|
|
1171
|
-
no_bicycles: "🚳",
|
|
1172
|
-
no_entry: "⛔️",
|
|
1173
|
-
no_entry_sign: "🚫",
|
|
1174
|
-
no_mobile_phones: "📵",
|
|
1175
|
-
no_mouth: "😶",
|
|
1176
|
-
no_pedestrians: "🚷",
|
|
1177
|
-
no_smoking: "🚭",
|
|
1178
|
-
"non-potable_water": "🚱",
|
|
1179
|
-
nose: "👃",
|
|
1180
|
-
notebook: "📓",
|
|
1181
|
-
notebook_with_decorative_cover: "📔",
|
|
1182
|
-
notes: "🎶",
|
|
1183
|
-
nut_and_bolt: "🔩",
|
|
1184
|
-
o: "⭕️",
|
|
1185
|
-
o2: "🅾️",
|
|
1186
|
-
ocean: "🌊",
|
|
1187
|
-
octopus: "🐙",
|
|
1188
|
-
oden: "🍢",
|
|
1189
|
-
office: "🏢",
|
|
1190
|
-
oil_drum: "🛢",
|
|
1191
|
-
ok: "🆗",
|
|
1192
|
-
ok_hand: "👌",
|
|
1193
|
-
ok_man: "🙆‍♂️",
|
|
1194
|
-
ok_woman: "🙆",
|
|
1195
|
-
old_key: "🗝",
|
|
1196
|
-
older_man: "👴",
|
|
1197
|
-
older_woman: "👵",
|
|
1198
|
-
om: "🕉",
|
|
1199
|
-
on: "🔛",
|
|
1200
|
-
oncoming_automobile: "🚘",
|
|
1201
|
-
oncoming_bus: "🚍",
|
|
1202
|
-
oncoming_police_car: "🚔",
|
|
1203
|
-
oncoming_taxi: "🚖",
|
|
1204
|
-
open_file_folder: "📂",
|
|
1205
|
-
open_hands: "👐",
|
|
1206
|
-
open_mouth: "😮",
|
|
1207
|
-
open_umbrella: "☂️",
|
|
1208
|
-
ophiuchus: "⛎",
|
|
1209
|
-
orange_book: "📙",
|
|
1210
|
-
orthodox_cross: "☦️",
|
|
1211
|
-
outbox_tray: "📤",
|
|
1212
|
-
owl: "🦉",
|
|
1213
|
-
ox: "🐂",
|
|
1214
|
-
package: "📦",
|
|
1215
|
-
page_facing_up: "📄",
|
|
1216
|
-
page_with_curl: "📃",
|
|
1217
|
-
pager: "📟",
|
|
1218
|
-
paintbrush: "🖌",
|
|
1219
|
-
palm_tree: "🌴",
|
|
1220
|
-
pancakes: "🥞",
|
|
1221
|
-
panda_face: "🐼",
|
|
1222
|
-
paperclip: "📎",
|
|
1223
|
-
paperclips: "🖇",
|
|
1224
|
-
parasol_on_ground: "⛱",
|
|
1225
|
-
parking: "🅿️",
|
|
1226
|
-
part_alternation_mark: "〽️",
|
|
1227
|
-
partly_sunny: "⛅️",
|
|
1228
|
-
passenger_ship: "🛳",
|
|
1229
|
-
passport_control: "🛂",
|
|
1230
|
-
pause_button: "⏸",
|
|
1231
|
-
peace_symbol: "☮️",
|
|
1232
|
-
peach: "🍑",
|
|
1233
|
-
peanuts: "🥜",
|
|
1234
|
-
pear: "🍐",
|
|
1235
|
-
pen: "🖊",
|
|
1236
|
-
pencil2: "✏️",
|
|
1237
|
-
penguin: "🐧",
|
|
1238
|
-
pensive: "😔",
|
|
1239
|
-
performing_arts: "🎭",
|
|
1240
|
-
persevere: "😣",
|
|
1241
|
-
person_fencing: "🤺",
|
|
1242
|
-
pouting_woman: "🙎",
|
|
1243
|
-
phone: "☎️",
|
|
1244
|
-
pick: "⛏",
|
|
1245
|
-
pig: "🐷",
|
|
1246
|
-
pig2: "🐖",
|
|
1247
|
-
pig_nose: "🐽",
|
|
1248
|
-
pill: "💊",
|
|
1249
|
-
pineapple: "🍍",
|
|
1250
|
-
ping_pong: "🏓",
|
|
1251
|
-
pisces: "♓️",
|
|
1252
|
-
pizza: "🍕",
|
|
1253
|
-
place_of_worship: "🛐",
|
|
1254
|
-
plate_with_cutlery: "🍽",
|
|
1255
|
-
play_or_pause_button: "⏯",
|
|
1256
|
-
point_down: "👇",
|
|
1257
|
-
point_left: "👈",
|
|
1258
|
-
point_right: "👉",
|
|
1259
|
-
point_up: "☝️",
|
|
1260
|
-
point_up_2: "👆",
|
|
1261
|
-
police_car: "🚓",
|
|
1262
|
-
policewoman: "👮‍♀️",
|
|
1263
|
-
poodle: "🐩",
|
|
1264
|
-
popcorn: "🍿",
|
|
1265
|
-
post_office: "🏣",
|
|
1266
|
-
postal_horn: "📯",
|
|
1267
|
-
postbox: "📮",
|
|
1268
|
-
potable_water: "🚰",
|
|
1269
|
-
potato: "🥔",
|
|
1270
|
-
pouch: "👝",
|
|
1271
|
-
poultry_leg: "🍗",
|
|
1272
|
-
pound: "💷",
|
|
1273
|
-
rage: "😡",
|
|
1274
|
-
pouting_cat: "😾",
|
|
1275
|
-
pouting_man: "🙎‍♂️",
|
|
1276
|
-
pray: "🙏",
|
|
1277
|
-
prayer_beads: "📿",
|
|
1278
|
-
pregnant_woman: "🤰",
|
|
1279
|
-
previous_track_button: "⏮",
|
|
1280
|
-
prince: "🤴",
|
|
1281
|
-
princess: "👸",
|
|
1282
|
-
printer: "🖨",
|
|
1283
|
-
purple_heart: "💜",
|
|
1284
|
-
purse: "👛",
|
|
1285
|
-
pushpin: "📌",
|
|
1286
|
-
put_litter_in_its_place: "🚮",
|
|
1287
|
-
question: "❓",
|
|
1288
|
-
rabbit: "🐰",
|
|
1289
|
-
rabbit2: "🐇",
|
|
1290
|
-
racehorse: "🐎",
|
|
1291
|
-
racing_car: "🏎",
|
|
1292
|
-
radio: "📻",
|
|
1293
|
-
radio_button: "🔘",
|
|
1294
|
-
radioactive: "☢️",
|
|
1295
|
-
railway_car: "🚃",
|
|
1296
|
-
railway_track: "🛤",
|
|
1297
|
-
rainbow: "🌈",
|
|
1298
|
-
rainbow_flag: "🏳️‍🌈",
|
|
1299
|
-
raised_back_of_hand: "🤚",
|
|
1300
|
-
raised_hand_with_fingers_splayed: "🖐",
|
|
1301
|
-
raised_hands: "🙌",
|
|
1302
|
-
raising_hand_woman: "🙋",
|
|
1303
|
-
raising_hand_man: "🙋‍♂️",
|
|
1304
|
-
ram: "🐏",
|
|
1305
|
-
ramen: "🍜",
|
|
1306
|
-
rat: "🐀",
|
|
1307
|
-
record_button: "⏺",
|
|
1308
|
-
recycle: "♻️",
|
|
1309
|
-
red_circle: "🔴",
|
|
1310
|
-
registered: "®️",
|
|
1311
|
-
relaxed: "☺️",
|
|
1312
|
-
relieved: "😌",
|
|
1313
|
-
reminder_ribbon: "🎗",
|
|
1314
|
-
repeat: "🔁",
|
|
1315
|
-
repeat_one: "🔂",
|
|
1316
|
-
rescue_worker_helmet: "⛑",
|
|
1317
|
-
restroom: "🚻",
|
|
1318
|
-
revolving_hearts: "💞",
|
|
1319
|
-
rewind: "⏪",
|
|
1320
|
-
rhinoceros: "🦏",
|
|
1321
|
-
ribbon: "🎀",
|
|
1322
|
-
rice: "🍚",
|
|
1323
|
-
rice_ball: "🍙",
|
|
1324
|
-
rice_cracker: "🍘",
|
|
1325
|
-
rice_scene: "🎑",
|
|
1326
|
-
right_anger_bubble: "🗯",
|
|
1327
|
-
ring: "💍",
|
|
1328
|
-
robot: "🤖",
|
|
1329
|
-
rocket: "🚀",
|
|
1330
|
-
rofl: "🤣",
|
|
1331
|
-
roll_eyes: "🙄",
|
|
1332
|
-
roller_coaster: "🎢",
|
|
1333
|
-
rooster: "🐓",
|
|
1334
|
-
rose: "🌹",
|
|
1335
|
-
rosette: "🏵",
|
|
1336
|
-
rotating_light: "🚨",
|
|
1337
|
-
round_pushpin: "📍",
|
|
1338
|
-
rowing_man: "🚣",
|
|
1339
|
-
rowing_woman: "🚣‍♀️",
|
|
1340
|
-
rugby_football: "🏉",
|
|
1341
|
-
running_man: "🏃",
|
|
1342
|
-
running_shirt_with_sash: "🎽",
|
|
1343
|
-
running_woman: "🏃‍♀️",
|
|
1344
|
-
sa: "🈂️",
|
|
1345
|
-
sagittarius: "♐️",
|
|
1346
|
-
sake: "🍶",
|
|
1347
|
-
sandal: "👡",
|
|
1348
|
-
santa: "🎅",
|
|
1349
|
-
satellite: "📡",
|
|
1350
|
-
saxophone: "🎷",
|
|
1351
|
-
school: "🏫",
|
|
1352
|
-
school_satchel: "🎒",
|
|
1353
|
-
scissors: "✂️",
|
|
1354
|
-
scorpion: "🦂",
|
|
1355
|
-
scorpius: "♏️",
|
|
1356
|
-
scream: "😱",
|
|
1357
|
-
scream_cat: "🙀",
|
|
1358
|
-
scroll: "📜",
|
|
1359
|
-
seat: "💺",
|
|
1360
|
-
secret: "㊙️",
|
|
1361
|
-
see_no_evil: "🙈",
|
|
1362
|
-
seedling: "🌱",
|
|
1363
|
-
selfie: "🤳",
|
|
1364
|
-
shallow_pan_of_food: "🥘",
|
|
1365
|
-
shamrock: "☘️",
|
|
1366
|
-
shark: "🦈",
|
|
1367
|
-
shaved_ice: "🍧",
|
|
1368
|
-
sheep: "🐑",
|
|
1369
|
-
shell: "🐚",
|
|
1370
|
-
shield: "🛡",
|
|
1371
|
-
shinto_shrine: "⛩",
|
|
1372
|
-
ship: "🚢",
|
|
1373
|
-
shirt: "👕",
|
|
1374
|
-
shopping: "🛍",
|
|
1375
|
-
shopping_cart: "🛒",
|
|
1376
|
-
shower: "🚿",
|
|
1377
|
-
shrimp: "🦐",
|
|
1378
|
-
signal_strength: "📶",
|
|
1379
|
-
six_pointed_star: "🔯",
|
|
1380
|
-
ski: "🎿",
|
|
1381
|
-
skier: "⛷",
|
|
1382
|
-
skull: "💀",
|
|
1383
|
-
skull_and_crossbones: "☠️",
|
|
1384
|
-
sleeping: "😴",
|
|
1385
|
-
sleeping_bed: "🛌",
|
|
1386
|
-
sleepy: "😪",
|
|
1387
|
-
slightly_frowning_face: "🙁",
|
|
1388
|
-
slightly_smiling_face: "🙂",
|
|
1389
|
-
slot_machine: "🎰",
|
|
1390
|
-
small_airplane: "🛩",
|
|
1391
|
-
small_blue_diamond: "🔹",
|
|
1392
|
-
small_orange_diamond: "🔸",
|
|
1393
|
-
small_red_triangle: "🔺",
|
|
1394
|
-
small_red_triangle_down: "🔻",
|
|
1395
|
-
smile: "😄",
|
|
1396
|
-
smile_cat: "😸",
|
|
1397
|
-
smiley: "😃",
|
|
1398
|
-
smiley_cat: "😺",
|
|
1399
|
-
smiling_imp: "😈",
|
|
1400
|
-
smirk: "😏",
|
|
1401
|
-
smirk_cat: "😼",
|
|
1402
|
-
smoking: "🚬",
|
|
1403
|
-
snail: "🐌",
|
|
1404
|
-
snake: "🐍",
|
|
1405
|
-
sneezing_face: "🤧",
|
|
1406
|
-
snowboarder: "🏂",
|
|
1407
|
-
snowflake: "❄️",
|
|
1408
|
-
snowman: "⛄️",
|
|
1409
|
-
snowman_with_snow: "☃️",
|
|
1410
|
-
sob: "😭",
|
|
1411
|
-
soccer: "⚽️",
|
|
1412
|
-
soon: "🔜",
|
|
1413
|
-
sos: "🆘",
|
|
1414
|
-
sound: "🔉",
|
|
1415
|
-
space_invader: "👾",
|
|
1416
|
-
spades: "♠️",
|
|
1417
|
-
spaghetti: "🍝",
|
|
1418
|
-
sparkle: "❇️",
|
|
1419
|
-
sparkler: "🎇",
|
|
1420
|
-
sparkles: "✨",
|
|
1421
|
-
sparkling_heart: "💖",
|
|
1422
|
-
speak_no_evil: "🙊",
|
|
1423
|
-
speaker: "🔈",
|
|
1424
|
-
speaking_head: "🗣",
|
|
1425
|
-
speech_balloon: "💬",
|
|
1426
|
-
speedboat: "🚤",
|
|
1427
|
-
spider: "🕷",
|
|
1428
|
-
spider_web: "🕸",
|
|
1429
|
-
spiral_calendar: "🗓",
|
|
1430
|
-
spiral_notepad: "🗒",
|
|
1431
|
-
spoon: "🥄",
|
|
1432
|
-
squid: "🦑",
|
|
1433
|
-
stadium: "🏟",
|
|
1434
|
-
star: "⭐️",
|
|
1435
|
-
star2: "🌟",
|
|
1436
|
-
star_and_crescent: "☪️",
|
|
1437
|
-
star_of_david: "✡️",
|
|
1438
|
-
stars: "🌠",
|
|
1439
|
-
station: "🚉",
|
|
1440
|
-
statue_of_liberty: "🗽",
|
|
1441
|
-
steam_locomotive: "🚂",
|
|
1442
|
-
stew: "🍲",
|
|
1443
|
-
stop_button: "⏹",
|
|
1444
|
-
stop_sign: "🛑",
|
|
1445
|
-
stopwatch: "⏱",
|
|
1446
|
-
straight_ruler: "📏",
|
|
1447
|
-
strawberry: "🍓",
|
|
1448
|
-
stuck_out_tongue: "😛",
|
|
1449
|
-
stuck_out_tongue_closed_eyes: "😝",
|
|
1450
|
-
stuck_out_tongue_winking_eye: "😜",
|
|
1451
|
-
studio_microphone: "🎙",
|
|
1452
|
-
stuffed_flatbread: "🥙",
|
|
1453
|
-
sun_behind_large_cloud: "🌥",
|
|
1454
|
-
sun_behind_rain_cloud: "🌦",
|
|
1455
|
-
sun_behind_small_cloud: "🌤",
|
|
1456
|
-
sun_with_face: "🌞",
|
|
1457
|
-
sunflower: "🌻",
|
|
1458
|
-
sunglasses: "😎",
|
|
1459
|
-
sunny: "☀️",
|
|
1460
|
-
sunrise: "🌅",
|
|
1461
|
-
sunrise_over_mountains: "🌄",
|
|
1462
|
-
surfing_man: "🏄",
|
|
1463
|
-
surfing_woman: "🏄‍♀️",
|
|
1464
|
-
sushi: "🍣",
|
|
1465
|
-
suspension_railway: "🚟",
|
|
1466
|
-
sweat: "😓",
|
|
1467
|
-
sweat_drops: "💦",
|
|
1468
|
-
sweat_smile: "😅",
|
|
1469
|
-
sweet_potato: "🍠",
|
|
1470
|
-
swimming_man: "🏊",
|
|
1471
|
-
swimming_woman: "🏊‍♀️",
|
|
1472
|
-
symbols: "🔣",
|
|
1473
|
-
synagogue: "🕍",
|
|
1474
|
-
syringe: "💉",
|
|
1475
|
-
taco: "🌮",
|
|
1476
|
-
tada: "🎉",
|
|
1477
|
-
tanabata_tree: "🎋",
|
|
1478
|
-
taurus: "♉️",
|
|
1479
|
-
taxi: "🚕",
|
|
1480
|
-
tea: "🍵",
|
|
1481
|
-
telephone_receiver: "📞",
|
|
1482
|
-
telescope: "🔭",
|
|
1483
|
-
tennis: "🎾",
|
|
1484
|
-
tent: "⛺️",
|
|
1485
|
-
thermometer: "🌡",
|
|
1486
|
-
thinking: "🤔",
|
|
1487
|
-
thought_balloon: "💭",
|
|
1488
|
-
ticket: "🎫",
|
|
1489
|
-
tickets: "🎟",
|
|
1490
|
-
tiger: "🐯",
|
|
1491
|
-
tiger2: "🐅",
|
|
1492
|
-
timer_clock: "⏲",
|
|
1493
|
-
tipping_hand_man: "💁‍♂️",
|
|
1494
|
-
tired_face: "😫",
|
|
1495
|
-
tm: "™️",
|
|
1496
|
-
toilet: "🚽",
|
|
1497
|
-
tokyo_tower: "🗼",
|
|
1498
|
-
tomato: "🍅",
|
|
1499
|
-
tongue: "👅",
|
|
1500
|
-
top: "🔝",
|
|
1501
|
-
tophat: "🎩",
|
|
1502
|
-
tornado: "🌪",
|
|
1503
|
-
trackball: "🖲",
|
|
1504
|
-
tractor: "🚜",
|
|
1505
|
-
traffic_light: "🚥",
|
|
1506
|
-
train: "🚋",
|
|
1507
|
-
train2: "🚆",
|
|
1508
|
-
tram: "🚊",
|
|
1509
|
-
triangular_flag_on_post: "🚩",
|
|
1510
|
-
triangular_ruler: "📐",
|
|
1511
|
-
trident: "🔱",
|
|
1512
|
-
triumph: "😤",
|
|
1513
|
-
trolleybus: "🚎",
|
|
1514
|
-
trophy: "🏆",
|
|
1515
|
-
tropical_drink: "🍹",
|
|
1516
|
-
tropical_fish: "🐠",
|
|
1517
|
-
truck: "🚚",
|
|
1518
|
-
trumpet: "🎺",
|
|
1519
|
-
tulip: "🌷",
|
|
1520
|
-
tumbler_glass: "🥃",
|
|
1521
|
-
turkey: "🦃",
|
|
1522
|
-
turtle: "🐢",
|
|
1523
|
-
tv: "📺",
|
|
1524
|
-
twisted_rightwards_arrows: "🔀",
|
|
1525
|
-
two_hearts: "💕",
|
|
1526
|
-
two_men_holding_hands: "👬",
|
|
1527
|
-
two_women_holding_hands: "👭",
|
|
1528
|
-
u5272: "🈹",
|
|
1529
|
-
u5408: "🈴",
|
|
1530
|
-
u55b6: "🈺",
|
|
1531
|
-
u6307: "🈯️",
|
|
1532
|
-
u6708: "🈷️",
|
|
1533
|
-
u6709: "🈶",
|
|
1534
|
-
u6e80: "🈵",
|
|
1535
|
-
u7121: "🈚️",
|
|
1536
|
-
u7533: "🈸",
|
|
1537
|
-
u7981: "🈲",
|
|
1538
|
-
u7a7a: "🈳",
|
|
1539
|
-
umbrella: "☔️",
|
|
1540
|
-
unamused: "😒",
|
|
1541
|
-
underage: "🔞",
|
|
1542
|
-
unicorn: "🦄",
|
|
1543
|
-
unlock: "🔓",
|
|
1544
|
-
up: "🆙",
|
|
1545
|
-
upside_down_face: "🙃",
|
|
1546
|
-
v: "✌️",
|
|
1547
|
-
vertical_traffic_light: "🚦",
|
|
1548
|
-
vhs: "📼",
|
|
1549
|
-
vibration_mode: "📳",
|
|
1550
|
-
video_camera: "📹",
|
|
1551
|
-
video_game: "🎮",
|
|
1552
|
-
violin: "🎻",
|
|
1553
|
-
virgo: "♍️",
|
|
1554
|
-
volcano: "🌋",
|
|
1555
|
-
volleyball: "🏐",
|
|
1556
|
-
vs: "🆚",
|
|
1557
|
-
vulcan_salute: "🖖",
|
|
1558
|
-
walking_man: "🚶",
|
|
1559
|
-
walking_woman: "🚶‍♀️",
|
|
1560
|
-
waning_crescent_moon: "🌘",
|
|
1561
|
-
waning_gibbous_moon: "🌖",
|
|
1562
|
-
warning: "⚠️",
|
|
1563
|
-
wastebasket: "🗑",
|
|
1564
|
-
watch: "⌚️",
|
|
1565
|
-
water_buffalo: "🐃",
|
|
1566
|
-
watermelon: "🍉",
|
|
1567
|
-
wave: "👋",
|
|
1568
|
-
wavy_dash: "〰️",
|
|
1569
|
-
waxing_crescent_moon: "🌒",
|
|
1570
|
-
wc: "🚾",
|
|
1571
|
-
weary: "😩",
|
|
1572
|
-
wedding: "💒",
|
|
1573
|
-
weight_lifting_man: "🏋️",
|
|
1574
|
-
weight_lifting_woman: "🏋️‍♀️",
|
|
1575
|
-
whale: "🐳",
|
|
1576
|
-
whale2: "🐋",
|
|
1577
|
-
wheel_of_dharma: "☸️",
|
|
1578
|
-
wheelchair: "♿️",
|
|
1579
|
-
white_check_mark: "✅",
|
|
1580
|
-
white_circle: "⚪️",
|
|
1581
|
-
white_flag: "🏳️",
|
|
1582
|
-
white_flower: "💮",
|
|
1583
|
-
white_large_square: "⬜️",
|
|
1584
|
-
white_medium_small_square: "◽️",
|
|
1585
|
-
white_medium_square: "◻️",
|
|
1586
|
-
white_small_square: "▫️",
|
|
1587
|
-
white_square_button: "🔳",
|
|
1588
|
-
wilted_flower: "🥀",
|
|
1589
|
-
wind_chime: "🎐",
|
|
1590
|
-
wind_face: "🌬",
|
|
1591
|
-
wine_glass: "🍷",
|
|
1592
|
-
wink: "😉",
|
|
1593
|
-
wolf: "🐺",
|
|
1594
|
-
woman: "👩",
|
|
1595
|
-
woman_artist: "👩‍🎨",
|
|
1596
|
-
woman_astronaut: "👩‍🚀",
|
|
1597
|
-
woman_cartwheeling: "🤸‍♀️",
|
|
1598
|
-
woman_cook: "👩‍🍳",
|
|
1599
|
-
woman_facepalming: "🤦‍♀️",
|
|
1600
|
-
woman_factory_worker: "👩‍🏭",
|
|
1601
|
-
woman_farmer: "👩‍🌾",
|
|
1602
|
-
woman_firefighter: "👩‍🚒",
|
|
1603
|
-
woman_health_worker: "👩‍⚕️",
|
|
1604
|
-
woman_judge: "👩‍⚖️",
|
|
1605
|
-
woman_juggling: "🤹‍♀️",
|
|
1606
|
-
woman_mechanic: "👩‍🔧",
|
|
1607
|
-
woman_office_worker: "👩‍💼",
|
|
1608
|
-
woman_pilot: "👩‍✈️",
|
|
1609
|
-
woman_playing_handball: "🤾‍♀️",
|
|
1610
|
-
woman_playing_water_polo: "🤽‍♀️",
|
|
1611
|
-
woman_scientist: "👩‍🔬",
|
|
1612
|
-
woman_shrugging: "🤷‍♀️",
|
|
1613
|
-
woman_singer: "👩‍🎤",
|
|
1614
|
-
woman_student: "👩‍🎓",
|
|
1615
|
-
woman_teacher: "👩‍🏫",
|
|
1616
|
-
woman_technologist: "👩‍💻",
|
|
1617
|
-
woman_with_turban: "👳‍♀️",
|
|
1618
|
-
womans_clothes: "👚",
|
|
1619
|
-
womans_hat: "👒",
|
|
1620
|
-
women_wrestling: "🤼‍♀️",
|
|
1621
|
-
womens: "🚺",
|
|
1622
|
-
world_map: "🗺",
|
|
1623
|
-
worried: "😟",
|
|
1624
|
-
wrench: "🔧",
|
|
1625
|
-
writing_hand: "✍️",
|
|
1626
|
-
x: "❌",
|
|
1627
|
-
yellow_heart: "💛",
|
|
1628
|
-
yen: "💴",
|
|
1629
|
-
yin_yang: "☯️",
|
|
1630
|
-
yum: "😋",
|
|
1631
|
-
zap: "⚡️",
|
|
1632
|
-
zipper_mouth_face: "🤐",
|
|
1633
|
-
zzz: "💤",
|
|
1634
|
-
/* special emojis :P */
|
|
1635
|
-
octocat: '<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',
|
|
1636
|
-
showdown: `<span style="font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span>`
|
|
1637
|
-
}, r.Converter = function(e) {
|
|
1638
|
-
var u = {}, d = [], a = [], s = {}, i = H, c = {
|
|
1639
|
-
parsed: {},
|
|
1640
|
-
raw: "",
|
|
1641
|
-
format: ""
|
|
1642
|
-
};
|
|
1643
|
-
f();
|
|
1644
|
-
function f() {
|
|
1645
|
-
e = e || {};
|
|
1646
|
-
for (var n in M)
|
|
1647
|
-
M.hasOwnProperty(n) && (u[n] = M[n]);
|
|
1648
|
-
if (typeof e == "object")
|
|
1649
|
-
for (var o in e)
|
|
1650
|
-
e.hasOwnProperty(o) && (u[o] = e[o]);
|
|
1651
|
-
else
|
|
1652
|
-
throw Error("Converter expects the passed parameter to be an object, but " + typeof e + " was passed instead.");
|
|
1653
|
-
u.extensions && r.helper.forEach(u.extensions, p);
|
|
1654
|
-
}
|
|
1655
|
-
function p(n, o) {
|
|
1656
|
-
if (o = o || null, r.helper.isString(n))
|
|
1657
|
-
if (n = r.helper.stdExtName(n), o = n, r.extensions[n]) {
|
|
1658
|
-
console.warn("DEPRECATION WARNING: " + n + " is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"), l(r.extensions[n], n);
|
|
1659
|
-
return;
|
|
1660
|
-
} else if (!r.helper.isUndefined(C[n]))
|
|
1661
|
-
n = C[n];
|
|
1662
|
-
else
|
|
1663
|
-
throw Error('Extension "' + n + '" could not be loaded. It was either not found or is not a valid extension.');
|
|
1664
|
-
typeof n == "function" && (n = n()), r.helper.isArray(n) || (n = [n]);
|
|
1665
|
-
var _ = A(n, o);
|
|
1666
|
-
if (!_.valid)
|
|
1667
|
-
throw Error(_.error);
|
|
1668
|
-
for (var m = 0; m < n.length; ++m) {
|
|
1669
|
-
switch (n[m].type) {
|
|
1670
|
-
case "lang":
|
|
1671
|
-
d.push(n[m]);
|
|
1672
|
-
break;
|
|
1673
|
-
case "output":
|
|
1674
|
-
a.push(n[m]);
|
|
1675
|
-
break;
|
|
1676
|
-
}
|
|
1677
|
-
if (n[m].hasOwnProperty("listeners"))
|
|
1678
|
-
for (var w in n[m].listeners)
|
|
1679
|
-
n[m].listeners.hasOwnProperty(w) && t(w, n[m].listeners[w]);
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1682
|
-
function l(n, o) {
|
|
1683
|
-
typeof n == "function" && (n = n(new r.Converter())), r.helper.isArray(n) || (n = [n]);
|
|
1684
|
-
var _ = A(n, o);
|
|
1685
|
-
if (!_.valid)
|
|
1686
|
-
throw Error(_.error);
|
|
1687
|
-
for (var m = 0; m < n.length; ++m)
|
|
1688
|
-
switch (n[m].type) {
|
|
1689
|
-
case "lang":
|
|
1690
|
-
d.push(n[m]);
|
|
1691
|
-
break;
|
|
1692
|
-
case "output":
|
|
1693
|
-
a.push(n[m]);
|
|
1694
|
-
break;
|
|
1695
|
-
default:
|
|
1696
|
-
throw Error("Extension loader error: Type unrecognized!!!");
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
function t(n, o) {
|
|
1700
|
-
if (!r.helper.isString(n))
|
|
1701
|
-
throw Error("Invalid argument in converter.listen() method: name must be a string, but " + typeof n + " given");
|
|
1702
|
-
if (typeof o != "function")
|
|
1703
|
-
throw Error("Invalid argument in converter.listen() method: callback must be a function, but " + typeof o + " given");
|
|
1704
|
-
s.hasOwnProperty(n) || (s[n] = []), s[n].push(o);
|
|
1705
|
-
}
|
|
1706
|
-
function h(n) {
|
|
1707
|
-
var o = n.match(/^\s*/)[0].length, _ = new RegExp("^\\s{0," + o + "}", "gm");
|
|
1708
|
-
return n.replace(_, "");
|
|
1709
|
-
}
|
|
1710
|
-
this._dispatch = function(o, _, m, w) {
|
|
1711
|
-
if (s.hasOwnProperty(o))
|
|
1712
|
-
for (var g = 0; g < s[o].length; ++g) {
|
|
1713
|
-
var k = s[o][g](o, _, this, m, w);
|
|
1714
|
-
k && typeof k < "u" && (_ = k);
|
|
1715
|
-
}
|
|
1716
|
-
return _;
|
|
1717
|
-
}, this.listen = function(n, o) {
|
|
1718
|
-
return t(n, o), this;
|
|
1719
|
-
}, this.makeHtml = function(n) {
|
|
1720
|
-
if (!n)
|
|
1721
|
-
return n;
|
|
1722
|
-
var o = {
|
|
1723
|
-
gHtmlBlocks: [],
|
|
1724
|
-
gHtmlMdBlocks: [],
|
|
1725
|
-
gHtmlSpans: [],
|
|
1726
|
-
gUrls: {},
|
|
1727
|
-
gTitles: {},
|
|
1728
|
-
gDimensions: {},
|
|
1729
|
-
gListLevel: 0,
|
|
1730
|
-
hashLinkCounts: {},
|
|
1731
|
-
langExtensions: d,
|
|
1732
|
-
outputModifiers: a,
|
|
1733
|
-
converter: this,
|
|
1734
|
-
ghCodeBlocks: [],
|
|
1735
|
-
metadata: {
|
|
1736
|
-
parsed: {},
|
|
1737
|
-
raw: "",
|
|
1738
|
-
format: ""
|
|
1739
|
-
}
|
|
1740
|
-
};
|
|
1741
|
-
return n = n.replace(/¨/g, "¨T"), n = n.replace(/\$/g, "¨D"), n = n.replace(/\r\n/g, `
|
|
1742
|
-
`), n = n.replace(/\r/g, `
|
|
1743
|
-
`), n = n.replace(/\u00A0/g, " "), u.smartIndentationFix && (n = h(n)), n = `
|
|
1744
|
-
|
|
1745
|
-
` + n + `
|
|
1746
|
-
|
|
1747
|
-
`, n = r.subParser("detab")(n, u, o), n = n.replace(/^[ \t]+$/mg, ""), r.helper.forEach(d, function(_) {
|
|
1748
|
-
n = r.subParser("runExtension")(_, n, u, o);
|
|
1749
|
-
}), n = r.subParser("metadata")(n, u, o), n = r.subParser("hashPreCodeTags")(n, u, o), n = r.subParser("githubCodeBlocks")(n, u, o), n = r.subParser("hashHTMLBlocks")(n, u, o), n = r.subParser("hashCodeTags")(n, u, o), n = r.subParser("stripLinkDefinitions")(n, u, o), n = r.subParser("blockGamut")(n, u, o), n = r.subParser("unhashHTMLSpans")(n, u, o), n = r.subParser("unescapeSpecialChars")(n, u, o), n = n.replace(/¨D/g, "$$"), n = n.replace(/¨T/g, "¨"), n = r.subParser("completeHTMLDocument")(n, u, o), r.helper.forEach(a, function(_) {
|
|
1750
|
-
n = r.subParser("runExtension")(_, n, u, o);
|
|
1751
|
-
}), c = o.metadata, n;
|
|
1752
|
-
}, this.makeMarkdown = this.makeMd = function(n, o) {
|
|
1753
|
-
if (n = n.replace(/\r\n/g, `
|
|
1754
|
-
`), n = n.replace(/\r/g, `
|
|
1755
|
-
`), n = n.replace(/>[ \t]+</, ">¨NBSP;<"), !o)
|
|
1756
|
-
if (window && window.document)
|
|
1757
|
-
o = window.document;
|
|
1758
|
-
else
|
|
1759
|
-
throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");
|
|
1760
|
-
var _ = o.createElement("div");
|
|
1761
|
-
_.innerHTML = n;
|
|
1762
|
-
var m = {
|
|
1763
|
-
preList: j(_)
|
|
1764
|
-
};
|
|
1765
|
-
y(_);
|
|
1766
|
-
for (var w = _.childNodes, g = "", k = 0; k < w.length; k++)
|
|
1767
|
-
g += r.subParser("makeMarkdown.node")(w[k], m);
|
|
1768
|
-
function y(b) {
|
|
1769
|
-
for (var v = 0; v < b.childNodes.length; ++v) {
|
|
1770
|
-
var P = b.childNodes[v];
|
|
1771
|
-
P.nodeType === 3 ? /\S/.test(P.nodeValue) ? (P.nodeValue = P.nodeValue.split(`
|
|
1772
|
-
`).join(" "), P.nodeValue = P.nodeValue.replace(/(\s)+/g, "$1")) : (b.removeChild(P), --v) : P.nodeType === 1 && y(P);
|
|
1773
|
-
}
|
|
1774
|
-
}
|
|
1775
|
-
function j(b) {
|
|
1776
|
-
for (var v = b.querySelectorAll("pre"), P = [], z = 0; z < v.length; ++z)
|
|
1777
|
-
if (v[z].childElementCount === 1 && v[z].firstChild.tagName.toLowerCase() === "code") {
|
|
1778
|
-
var T = v[z].firstChild.innerHTML.trim(), $ = v[z].firstChild.getAttribute("data-language") || "";
|
|
1779
|
-
if ($ === "")
|
|
1780
|
-
for (var F = v[z].firstChild.className.split(" "), R = 0; R < F.length; ++R) {
|
|
1781
|
-
var U = F[R].match(/^language-(.+)$/);
|
|
1782
|
-
if (U !== null) {
|
|
1783
|
-
$ = U[1];
|
|
1784
|
-
break;
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
T = r.helper.unescapeHTMLEntities(T), P.push(T), v[z].outerHTML = '<precode language="' + $ + '" precodenum="' + z.toString() + '"></precode>';
|
|
1788
|
-
} else
|
|
1789
|
-
P.push(v[z].innerHTML), v[z].innerHTML = "", v[z].setAttribute("prenum", z.toString());
|
|
1790
|
-
return P;
|
|
1791
|
-
}
|
|
1792
|
-
return g;
|
|
1793
|
-
}, this.setOption = function(n, o) {
|
|
1794
|
-
u[n] = o;
|
|
1795
|
-
}, this.getOption = function(n) {
|
|
1796
|
-
return u[n];
|
|
1797
|
-
}, this.getOptions = function() {
|
|
1798
|
-
return u;
|
|
1799
|
-
}, this.addExtension = function(n, o) {
|
|
1800
|
-
o = o || null, p(n, o);
|
|
1801
|
-
}, this.useExtension = function(n) {
|
|
1802
|
-
p(n);
|
|
1803
|
-
}, this.setFlavor = function(n) {
|
|
1804
|
-
if (!S.hasOwnProperty(n))
|
|
1805
|
-
throw Error(n + " flavor was not found");
|
|
1806
|
-
var o = S[n];
|
|
1807
|
-
i = n;
|
|
1808
|
-
for (var _ in o)
|
|
1809
|
-
o.hasOwnProperty(_) && (u[_] = o[_]);
|
|
1810
|
-
}, this.getFlavor = function() {
|
|
1811
|
-
return i;
|
|
1812
|
-
}, this.removeExtension = function(n) {
|
|
1813
|
-
r.helper.isArray(n) || (n = [n]);
|
|
1814
|
-
for (var o = 0; o < n.length; ++o) {
|
|
1815
|
-
for (var _ = n[o], m = 0; m < d.length; ++m)
|
|
1816
|
-
d[m] === _ && d[m].splice(m, 1);
|
|
1817
|
-
for (var w = 0; w < a.length; ++m)
|
|
1818
|
-
a[w] === _ && a[w].splice(m, 1);
|
|
1819
|
-
}
|
|
1820
|
-
}, this.getAllExtensions = function() {
|
|
1821
|
-
return {
|
|
1822
|
-
language: d,
|
|
1823
|
-
output: a
|
|
1824
|
-
};
|
|
1825
|
-
}, this.getMetadata = function(n) {
|
|
1826
|
-
return n ? c.raw : c.parsed;
|
|
1827
|
-
}, this.getMetadataFormat = function() {
|
|
1828
|
-
return c.format;
|
|
1829
|
-
}, this._setMetadataPair = function(n, o) {
|
|
1830
|
-
c.parsed[n] = o;
|
|
1831
|
-
}, this._setMetadataFormat = function(n) {
|
|
1832
|
-
c.format = n;
|
|
1833
|
-
}, this._setMetadataRaw = function(n) {
|
|
1834
|
-
c.raw = n;
|
|
1835
|
-
};
|
|
1836
|
-
}, r.subParser("anchors", function(e, u, d) {
|
|
1837
|
-
e = d.converter._dispatch("anchors.before", e, u, d);
|
|
1838
|
-
var a = function(s, i, c, f, p, l, t) {
|
|
1839
|
-
if (r.helper.isUndefined(t) && (t = ""), c = c.toLowerCase(), s.search(/\(<?\s*>? ?(['"].*['"])?\)$/m) > -1)
|
|
1840
|
-
f = "";
|
|
1841
|
-
else if (!f)
|
|
1842
|
-
if (c || (c = i.toLowerCase().replace(/ ?\n/g, " ")), f = "#" + c, !r.helper.isUndefined(d.gUrls[c]))
|
|
1843
|
-
f = d.gUrls[c], r.helper.isUndefined(d.gTitles[c]) || (t = d.gTitles[c]);
|
|
1844
|
-
else
|
|
1845
|
-
return s;
|
|
1846
|
-
f = f.replace(r.helper.regexes.asteriskDashAndColon, r.helper.escapeCharactersCallback);
|
|
1847
|
-
var h = '<a href="' + f + '"';
|
|
1848
|
-
return t !== "" && t !== null && (t = t.replace(/"/g, """), t = t.replace(r.helper.regexes.asteriskDashAndColon, r.helper.escapeCharactersCallback), h += ' title="' + t + '"'), u.openLinksInNewWindow && !/^#/.test(f) && (h += ' rel="noopener noreferrer" target="¨E95Eblank"'), h += ">" + i + "</a>", h;
|
|
1849
|
-
};
|
|
1850
|
-
return e = e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g, a), e = e.replace(
|
|
1851
|
-
/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,
|
|
1852
|
-
a
|
|
1853
|
-
), e = e.replace(
|
|
1854
|
-
/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,
|
|
1855
|
-
a
|
|
1856
|
-
), e = e.replace(/\[([^\[\]]+)]()()()()()/g, a), u.ghMentions && (e = e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi, function(s, i, c, f, p) {
|
|
1857
|
-
if (c === "\\")
|
|
1858
|
-
return i + f;
|
|
1859
|
-
if (!r.helper.isString(u.ghMentionsLink))
|
|
1860
|
-
throw new Error("ghMentionsLink option must be a string");
|
|
1861
|
-
var l = u.ghMentionsLink.replace(/\{u}/g, p), t = "";
|
|
1862
|
-
return u.openLinksInNewWindow && (t = ' rel="noopener noreferrer" target="¨E95Eblank"'), i + '<a href="' + l + '"' + t + ">" + f + "</a>";
|
|
1863
|
-
})), e = d.converter._dispatch("anchors.after", e, u, d), e;
|
|
1864
|
-
});
|
|
1865
|
-
var O = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi, W = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi, K = /()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi, Z = /(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi, Q = /<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi, B = function(e) {
|
|
1866
|
-
return function(u, d, a, s, i, c, f) {
|
|
1867
|
-
a = a.replace(r.helper.regexes.asteriskDashAndColon, r.helper.escapeCharactersCallback);
|
|
1868
|
-
var p = a, l = "", t = "", h = d || "", n = f || "";
|
|
1869
|
-
return /^www\./i.test(a) && (a = a.replace(/^www\./i, "http://www.")), e.excludeTrailingPunctuationFromURLs && c && (l = c), e.openLinksInNewWindow && (t = ' rel="noopener noreferrer" target="¨E95Eblank"'), h + '<a href="' + a + '"' + t + ">" + p + "</a>" + l + n;
|
|
1870
|
-
};
|
|
1871
|
-
}, V = function(e, u) {
|
|
1872
|
-
return function(d, a, s) {
|
|
1873
|
-
var i = "mailto:";
|
|
1874
|
-
return a = a || "", s = r.subParser("unescapeSpecialChars")(s, e, u), e.encodeEmails ? (i = r.helper.encodeEmailAddress(i + s), s = r.helper.encodeEmailAddress(s)) : i = i + s, a + '<a href="' + i + '">' + s + "</a>";
|
|
1875
|
-
};
|
|
1876
|
-
};
|
|
1877
|
-
r.subParser("autoLinks", function(e, u, d) {
|
|
1878
|
-
return e = d.converter._dispatch("autoLinks.before", e, u, d), e = e.replace(K, B(u)), e = e.replace(Q, V(u, d)), e = d.converter._dispatch("autoLinks.after", e, u, d), e;
|
|
1879
|
-
}), r.subParser("simplifiedAutoLinks", function(e, u, d) {
|
|
1880
|
-
return u.simplifiedAutoLink && (e = d.converter._dispatch("simplifiedAutoLinks.before", e, u, d), u.excludeTrailingPunctuationFromURLs ? e = e.replace(W, B(u)) : e = e.replace(O, B(u)), e = e.replace(Z, V(u, d)), e = d.converter._dispatch("simplifiedAutoLinks.after", e, u, d)), e;
|
|
1881
|
-
}), r.subParser("blockGamut", function(e, u, d) {
|
|
1882
|
-
return e = d.converter._dispatch("blockGamut.before", e, u, d), e = r.subParser("blockQuotes")(e, u, d), e = r.subParser("headers")(e, u, d), e = r.subParser("horizontalRule")(e, u, d), e = r.subParser("lists")(e, u, d), e = r.subParser("codeBlocks")(e, u, d), e = r.subParser("tables")(e, u, d), e = r.subParser("hashHTMLBlocks")(e, u, d), e = r.subParser("paragraphs")(e, u, d), e = d.converter._dispatch("blockGamut.after", e, u, d), e;
|
|
1883
|
-
}), r.subParser("blockQuotes", function(e, u, d) {
|
|
1884
|
-
e = d.converter._dispatch("blockQuotes.before", e, u, d), e = e + `
|
|
1885
|
-
|
|
1886
|
-
`;
|
|
1887
|
-
var a = /(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;
|
|
1888
|
-
return u.splitAdjacentBlockquotes && (a = /^ {0,3}>[\s\S]*?(?:\n\n)/gm), e = e.replace(a, function(s) {
|
|
1889
|
-
return s = s.replace(/^[ \t]*>[ \t]?/gm, ""), s = s.replace(/¨0/g, ""), s = s.replace(/^[ \t]+$/gm, ""), s = r.subParser("githubCodeBlocks")(s, u, d), s = r.subParser("blockGamut")(s, u, d), s = s.replace(/(^|\n)/g, "$1 "), s = s.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm, function(i, c) {
|
|
1890
|
-
var f = c;
|
|
1891
|
-
return f = f.replace(/^ /mg, "¨0"), f = f.replace(/¨0/g, ""), f;
|
|
1892
|
-
}), r.subParser("hashBlock")(`<blockquote>
|
|
1893
|
-
` + s + `
|
|
1894
|
-
</blockquote>`, u, d);
|
|
1895
|
-
}), e = d.converter._dispatch("blockQuotes.after", e, u, d), e;
|
|
1896
|
-
}), r.subParser("codeBlocks", function(e, u, d) {
|
|
1897
|
-
e = d.converter._dispatch("codeBlocks.before", e, u, d), e += "¨0";
|
|
1898
|
-
var a = /(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;
|
|
1899
|
-
return e = e.replace(a, function(s, i, c) {
|
|
1900
|
-
var f = i, p = c, l = `
|
|
1901
|
-
`;
|
|
1902
|
-
return f = r.subParser("outdent")(f, u, d), f = r.subParser("encodeCode")(f, u, d), f = r.subParser("detab")(f, u, d), f = f.replace(/^\n+/g, ""), f = f.replace(/\n+$/g, ""), u.omitExtraWLInCodeBlocks && (l = ""), f = "<pre><code>" + f + l + "</code></pre>", r.subParser("hashBlock")(f, u, d) + p;
|
|
1903
|
-
}), e = e.replace(/¨0/, ""), e = d.converter._dispatch("codeBlocks.after", e, u, d), e;
|
|
1904
|
-
}), r.subParser("codeSpans", function(e, u, d) {
|
|
1905
|
-
return e = d.converter._dispatch("codeSpans.before", e, u, d), typeof e > "u" && (e = ""), e = e.replace(
|
|
1906
|
-
/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,
|
|
1907
|
-
function(a, s, i, c) {
|
|
1908
|
-
var f = c;
|
|
1909
|
-
return f = f.replace(/^([ \t]*)/g, ""), f = f.replace(/[ \t]*$/g, ""), f = r.subParser("encodeCode")(f, u, d), f = s + "<code>" + f + "</code>", f = r.subParser("hashHTMLSpans")(f, u, d), f;
|
|
1910
|
-
}
|
|
1911
|
-
), e = d.converter._dispatch("codeSpans.after", e, u, d), e;
|
|
1912
|
-
}), r.subParser("completeHTMLDocument", function(e, u, d) {
|
|
1913
|
-
if (!u.completeHTMLDocument)
|
|
1914
|
-
return e;
|
|
1915
|
-
e = d.converter._dispatch("completeHTMLDocument.before", e, u, d);
|
|
1916
|
-
var a = "html", s = `<!DOCTYPE HTML>
|
|
1917
|
-
`, i = "", c = `<meta charset="utf-8">
|
|
1918
|
-
`, f = "", p = "";
|
|
1919
|
-
typeof d.metadata.parsed.doctype < "u" && (s = "<!DOCTYPE " + d.metadata.parsed.doctype + `>
|
|
1920
|
-
`, a = d.metadata.parsed.doctype.toString().toLowerCase(), (a === "html" || a === "html5") && (c = '<meta charset="utf-8">'));
|
|
1921
|
-
for (var l in d.metadata.parsed)
|
|
1922
|
-
if (d.metadata.parsed.hasOwnProperty(l))
|
|
1923
|
-
switch (l.toLowerCase()) {
|
|
1924
|
-
case "doctype":
|
|
1925
|
-
break;
|
|
1926
|
-
case "title":
|
|
1927
|
-
i = "<title>" + d.metadata.parsed.title + `</title>
|
|
1928
|
-
`;
|
|
1929
|
-
break;
|
|
1930
|
-
case "charset":
|
|
1931
|
-
a === "html" || a === "html5" ? c = '<meta charset="' + d.metadata.parsed.charset + `">
|
|
1932
|
-
` : c = '<meta name="charset" content="' + d.metadata.parsed.charset + `">
|
|
1933
|
-
`;
|
|
1934
|
-
break;
|
|
1935
|
-
case "language":
|
|
1936
|
-
case "lang":
|
|
1937
|
-
f = ' lang="' + d.metadata.parsed[l] + '"', p += '<meta name="' + l + '" content="' + d.metadata.parsed[l] + `">
|
|
1938
|
-
`;
|
|
1939
|
-
break;
|
|
1940
|
-
default:
|
|
1941
|
-
p += '<meta name="' + l + '" content="' + d.metadata.parsed[l] + `">
|
|
1942
|
-
`;
|
|
1943
|
-
}
|
|
1944
|
-
return e = s + "<html" + f + `>
|
|
1945
|
-
<head>
|
|
1946
|
-
` + i + c + p + `</head>
|
|
1947
|
-
<body>
|
|
1948
|
-
` + e.trim() + `
|
|
1949
|
-
</body>
|
|
1950
|
-
</html>`, e = d.converter._dispatch("completeHTMLDocument.after", e, u, d), e;
|
|
1951
|
-
}), r.subParser("detab", function(e, u, d) {
|
|
1952
|
-
return e = d.converter._dispatch("detab.before", e, u, d), e = e.replace(/\t(?=\t)/g, " "), e = e.replace(/\t/g, "¨A¨B"), e = e.replace(/¨B(.+?)¨A/g, function(a, s) {
|
|
1953
|
-
for (var i = s, c = 4 - i.length % 4, f = 0; f < c; f++)
|
|
1954
|
-
i += " ";
|
|
1955
|
-
return i;
|
|
1956
|
-
}), e = e.replace(/¨A/g, " "), e = e.replace(/¨B/g, ""), e = d.converter._dispatch("detab.after", e, u, d), e;
|
|
1957
|
-
}), r.subParser("ellipsis", function(e, u, d) {
|
|
1958
|
-
return e = d.converter._dispatch("ellipsis.before", e, u, d), e = e.replace(/\.\.\./g, "…"), e = d.converter._dispatch("ellipsis.after", e, u, d), e;
|
|
1959
|
-
}), r.subParser("emoji", function(e, u, d) {
|
|
1960
|
-
if (!u.emoji)
|
|
1961
|
-
return e;
|
|
1962
|
-
e = d.converter._dispatch("emoji.before", e, u, d);
|
|
1963
|
-
var a = /:([\S]+?):/g;
|
|
1964
|
-
return e = e.replace(a, function(s, i) {
|
|
1965
|
-
return r.helper.emojis.hasOwnProperty(i) ? r.helper.emojis[i] : s;
|
|
1966
|
-
}), e = d.converter._dispatch("emoji.after", e, u, d), e;
|
|
1967
|
-
}), r.subParser("encodeAmpsAndAngles", function(e, u, d) {
|
|
1968
|
-
return e = d.converter._dispatch("encodeAmpsAndAngles.before", e, u, d), e = e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g, "&"), e = e.replace(/<(?![a-z\/?$!])/gi, "<"), e = e.replace(/</g, "<"), e = e.replace(/>/g, ">"), e = d.converter._dispatch("encodeAmpsAndAngles.after", e, u, d), e;
|
|
1969
|
-
}), r.subParser("encodeBackslashEscapes", function(e, u, d) {
|
|
1970
|
-
return e = d.converter._dispatch("encodeBackslashEscapes.before", e, u, d), e = e.replace(/\\(\\)/g, r.helper.escapeCharactersCallback), e = e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g, r.helper.escapeCharactersCallback), e = d.converter._dispatch("encodeBackslashEscapes.after", e, u, d), e;
|
|
1971
|
-
}), r.subParser("encodeCode", function(e, u, d) {
|
|
1972
|
-
return e = d.converter._dispatch("encodeCode.before", e, u, d), e = e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/([*_{}\[\]\\=~-])/g, r.helper.escapeCharactersCallback), e = d.converter._dispatch("encodeCode.after", e, u, d), e;
|
|
1973
|
-
}), r.subParser("escapeSpecialCharsWithinTagAttributes", function(e, u, d) {
|
|
1974
|
-
e = d.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before", e, u, d);
|
|
1975
|
-
var a = /<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi, s = /<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;
|
|
1976
|
-
return e = e.replace(a, function(i) {
|
|
1977
|
-
return i.replace(/(.)<\/?code>(?=.)/g, "$1`").replace(/([\\`*_~=|])/g, r.helper.escapeCharactersCallback);
|
|
1978
|
-
}), e = e.replace(s, function(i) {
|
|
1979
|
-
return i.replace(/([\\`*_~=|])/g, r.helper.escapeCharactersCallback);
|
|
1980
|
-
}), e = d.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after", e, u, d), e;
|
|
1981
|
-
}), r.subParser("githubCodeBlocks", function(e, u, d) {
|
|
1982
|
-
return u.ghCodeBlocks ? (e = d.converter._dispatch("githubCodeBlocks.before", e, u, d), e += "¨0", e = e.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g, function(a, s, i, c) {
|
|
1983
|
-
var f = u.omitExtraWLInCodeBlocks ? "" : `
|
|
1984
|
-
`;
|
|
1985
|
-
return c = r.subParser("encodeCode")(c, u, d), c = r.subParser("detab")(c, u, d), c = c.replace(/^\n+/g, ""), c = c.replace(/\n+$/g, ""), c = "<pre><code" + (i ? ' class="' + i + " language-" + i + '"' : "") + ">" + c + f + "</code></pre>", c = r.subParser("hashBlock")(c, u, d), `
|
|
1986
|
-
|
|
1987
|
-
¨G` + (d.ghCodeBlocks.push({ text: a, codeblock: c }) - 1) + `G
|
|
1988
|
-
|
|
1989
|
-
`;
|
|
1990
|
-
}), e = e.replace(/¨0/, ""), d.converter._dispatch("githubCodeBlocks.after", e, u, d)) : e;
|
|
1991
|
-
}), r.subParser("hashBlock", function(e, u, d) {
|
|
1992
|
-
return e = d.converter._dispatch("hashBlock.before", e, u, d), e = e.replace(/(^\n+|\n+$)/g, ""), e = `
|
|
1993
|
-
|
|
1994
|
-
¨K` + (d.gHtmlBlocks.push(e) - 1) + `K
|
|
1995
|
-
|
|
1996
|
-
`, e = d.converter._dispatch("hashBlock.after", e, u, d), e;
|
|
1997
|
-
}), r.subParser("hashCodeTags", function(e, u, d) {
|
|
1998
|
-
e = d.converter._dispatch("hashCodeTags.before", e, u, d);
|
|
1999
|
-
var a = function(s, i, c, f) {
|
|
2000
|
-
var p = c + r.subParser("encodeCode")(i, u, d) + f;
|
|
2001
|
-
return "¨C" + (d.gHtmlSpans.push(p) - 1) + "C";
|
|
2002
|
-
};
|
|
2003
|
-
return e = r.helper.replaceRecursiveRegExp(e, a, "<code\\b[^>]*>", "</code>", "gim"), e = d.converter._dispatch("hashCodeTags.after", e, u, d), e;
|
|
2004
|
-
}), r.subParser("hashElement", function(e, u, d) {
|
|
2005
|
-
return function(a, s) {
|
|
2006
|
-
var i = s;
|
|
2007
|
-
return i = i.replace(/\n\n/g, `
|
|
2008
|
-
`), i = i.replace(/^\n/, ""), i = i.replace(/\n+$/g, ""), i = `
|
|
2009
|
-
|
|
2010
|
-
¨K` + (d.gHtmlBlocks.push(i) - 1) + `K
|
|
2011
|
-
|
|
2012
|
-
`, i;
|
|
2013
|
-
};
|
|
2014
|
-
}), r.subParser("hashHTMLBlocks", function(e, u, d) {
|
|
2015
|
-
e = d.converter._dispatch("hashHTMLBlocks.before", e, u, d);
|
|
2016
|
-
var a = [
|
|
2017
|
-
"pre",
|
|
2018
|
-
"div",
|
|
2019
|
-
"h1",
|
|
2020
|
-
"h2",
|
|
2021
|
-
"h3",
|
|
2022
|
-
"h4",
|
|
2023
|
-
"h5",
|
|
2024
|
-
"h6",
|
|
2025
|
-
"blockquote",
|
|
2026
|
-
"table",
|
|
2027
|
-
"dl",
|
|
2028
|
-
"ol",
|
|
2029
|
-
"ul",
|
|
2030
|
-
"script",
|
|
2031
|
-
"noscript",
|
|
2032
|
-
"form",
|
|
2033
|
-
"fieldset",
|
|
2034
|
-
"iframe",
|
|
2035
|
-
"math",
|
|
2036
|
-
"style",
|
|
2037
|
-
"section",
|
|
2038
|
-
"header",
|
|
2039
|
-
"footer",
|
|
2040
|
-
"nav",
|
|
2041
|
-
"article",
|
|
2042
|
-
"aside",
|
|
2043
|
-
"address",
|
|
2044
|
-
"audio",
|
|
2045
|
-
"canvas",
|
|
2046
|
-
"figure",
|
|
2047
|
-
"hgroup",
|
|
2048
|
-
"output",
|
|
2049
|
-
"video",
|
|
2050
|
-
"p"
|
|
2051
|
-
], s = function(n, o, _, m) {
|
|
2052
|
-
var w = n;
|
|
2053
|
-
return _.search(/\bmarkdown\b/) !== -1 && (w = _ + d.converter.makeHtml(o) + m), `
|
|
2054
|
-
|
|
2055
|
-
¨K` + (d.gHtmlBlocks.push(w) - 1) + `K
|
|
2056
|
-
|
|
2057
|
-
`;
|
|
2058
|
-
};
|
|
2059
|
-
u.backslashEscapesHTMLTags && (e = e.replace(/\\<(\/?[^>]+?)>/g, function(n, o) {
|
|
2060
|
-
return "<" + o + ">";
|
|
2061
|
-
}));
|
|
2062
|
-
for (var i = 0; i < a.length; ++i)
|
|
2063
|
-
for (var c, f = new RegExp("^ {0,3}(<" + a[i] + "\\b[^>]*>)", "im"), p = "<" + a[i] + "\\b[^>]*>", l = "</" + a[i] + ">"; (c = r.helper.regexIndexOf(e, f)) !== -1; ) {
|
|
2064
|
-
var t = r.helper.splitAtIndex(e, c), h = r.helper.replaceRecursiveRegExp(t[1], s, p, l, "im");
|
|
2065
|
-
if (h === t[1])
|
|
2066
|
-
break;
|
|
2067
|
-
e = t[0].concat(h);
|
|
2068
|
-
}
|
|
2069
|
-
return e = e.replace(
|
|
2070
|
-
/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,
|
|
2071
|
-
r.subParser("hashElement")(e, u, d)
|
|
2072
|
-
), e = r.helper.replaceRecursiveRegExp(e, function(n) {
|
|
2073
|
-
return `
|
|
2074
|
-
|
|
2075
|
-
¨K` + (d.gHtmlBlocks.push(n) - 1) + `K
|
|
2076
|
-
|
|
2077
|
-
`;
|
|
2078
|
-
}, "^ {0,3}<!--", "-->", "gm"), e = e.replace(
|
|
2079
|
-
/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,
|
|
2080
|
-
r.subParser("hashElement")(e, u, d)
|
|
2081
|
-
), e = d.converter._dispatch("hashHTMLBlocks.after", e, u, d), e;
|
|
2082
|
-
}), r.subParser("hashHTMLSpans", function(e, u, d) {
|
|
2083
|
-
e = d.converter._dispatch("hashHTMLSpans.before", e, u, d);
|
|
2084
|
-
function a(s) {
|
|
2085
|
-
return "¨C" + (d.gHtmlSpans.push(s) - 1) + "C";
|
|
2086
|
-
}
|
|
2087
|
-
return e = e.replace(/<[^>]+?\/>/gi, function(s) {
|
|
2088
|
-
return a(s);
|
|
2089
|
-
}), e = e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g, function(s) {
|
|
2090
|
-
return a(s);
|
|
2091
|
-
}), e = e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g, function(s) {
|
|
2092
|
-
return a(s);
|
|
2093
|
-
}), e = e.replace(/<[^>]+?>/gi, function(s) {
|
|
2094
|
-
return a(s);
|
|
2095
|
-
}), e = d.converter._dispatch("hashHTMLSpans.after", e, u, d), e;
|
|
2096
|
-
}), r.subParser("unhashHTMLSpans", function(e, u, d) {
|
|
2097
|
-
e = d.converter._dispatch("unhashHTMLSpans.before", e, u, d);
|
|
2098
|
-
for (var a = 0; a < d.gHtmlSpans.length; ++a) {
|
|
2099
|
-
for (var s = d.gHtmlSpans[a], i = 0; /¨C(\d+)C/.test(s); ) {
|
|
2100
|
-
var c = RegExp.$1;
|
|
2101
|
-
if (s = s.replace("¨C" + c + "C", d.gHtmlSpans[c]), i === 10) {
|
|
2102
|
-
console.error("maximum nesting of 10 spans reached!!!");
|
|
2103
|
-
break;
|
|
2104
|
-
}
|
|
2105
|
-
++i;
|
|
2106
|
-
}
|
|
2107
|
-
e = e.replace("¨C" + a + "C", s);
|
|
2108
|
-
}
|
|
2109
|
-
return e = d.converter._dispatch("unhashHTMLSpans.after", e, u, d), e;
|
|
2110
|
-
}), r.subParser("hashPreCodeTags", function(e, u, d) {
|
|
2111
|
-
e = d.converter._dispatch("hashPreCodeTags.before", e, u, d);
|
|
2112
|
-
var a = function(s, i, c, f) {
|
|
2113
|
-
var p = c + r.subParser("encodeCode")(i, u, d) + f;
|
|
2114
|
-
return `
|
|
2115
|
-
|
|
2116
|
-
¨G` + (d.ghCodeBlocks.push({ text: s, codeblock: p }) - 1) + `G
|
|
2117
|
-
|
|
2118
|
-
`;
|
|
2119
|
-
};
|
|
2120
|
-
return e = r.helper.replaceRecursiveRegExp(e, a, "^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>", "^ {0,3}</code>\\s*</pre>", "gim"), e = d.converter._dispatch("hashPreCodeTags.after", e, u, d), e;
|
|
2121
|
-
}), r.subParser("headers", function(e, u, d) {
|
|
2122
|
-
e = d.converter._dispatch("headers.before", e, u, d);
|
|
2123
|
-
var a = isNaN(parseInt(u.headerLevelStart)) ? 1 : parseInt(u.headerLevelStart), s = u.smoothLivePreview ? /^(.+)[ \t]*\n={2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n=+[ \t]*\n+/gm, i = u.smoothLivePreview ? /^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n-+[ \t]*\n+/gm;
|
|
2124
|
-
e = e.replace(s, function(p, l) {
|
|
2125
|
-
var t = r.subParser("spanGamut")(l, u, d), h = u.noHeaderId ? "" : ' id="' + f(l) + '"', n = a, o = "<h" + n + h + ">" + t + "</h" + n + ">";
|
|
2126
|
-
return r.subParser("hashBlock")(o, u, d);
|
|
2127
|
-
}), e = e.replace(i, function(p, l) {
|
|
2128
|
-
var t = r.subParser("spanGamut")(l, u, d), h = u.noHeaderId ? "" : ' id="' + f(l) + '"', n = a + 1, o = "<h" + n + h + ">" + t + "</h" + n + ">";
|
|
2129
|
-
return r.subParser("hashBlock")(o, u, d);
|
|
2130
|
-
});
|
|
2131
|
-
var c = u.requireSpaceBeforeHeadingText ? /^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm : /^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;
|
|
2132
|
-
e = e.replace(c, function(p, l, t) {
|
|
2133
|
-
var h = t;
|
|
2134
|
-
u.customizedHeaderId && (h = t.replace(/\s?\{([^{]+?)}\s*$/, ""));
|
|
2135
|
-
var n = r.subParser("spanGamut")(h, u, d), o = u.noHeaderId ? "" : ' id="' + f(t) + '"', _ = a - 1 + l.length, m = "<h" + _ + o + ">" + n + "</h" + _ + ">";
|
|
2136
|
-
return r.subParser("hashBlock")(m, u, d);
|
|
2137
|
-
});
|
|
2138
|
-
function f(p) {
|
|
2139
|
-
var l, t;
|
|
2140
|
-
if (u.customizedHeaderId) {
|
|
2141
|
-
var h = p.match(/\{([^{]+?)}\s*$/);
|
|
2142
|
-
h && h[1] && (p = h[1]);
|
|
2143
|
-
}
|
|
2144
|
-
return l = p, r.helper.isString(u.prefixHeaderId) ? t = u.prefixHeaderId : u.prefixHeaderId === !0 ? t = "section-" : t = "", u.rawPrefixHeaderId || (l = t + l), u.ghCompatibleHeaderId ? l = l.replace(/ /g, "-").replace(/&/g, "").replace(/¨T/g, "").replace(/¨D/g, "").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g, "").toLowerCase() : u.rawHeaderId ? l = l.replace(/ /g, "-").replace(/&/g, "&").replace(/¨T/g, "¨").replace(/¨D/g, "$").replace(/["']/g, "-").toLowerCase() : l = l.replace(/[^\w]/g, "").toLowerCase(), u.rawPrefixHeaderId && (l = t + l), d.hashLinkCounts[l] ? l = l + "-" + d.hashLinkCounts[l]++ : d.hashLinkCounts[l] = 1, l;
|
|
2145
|
-
}
|
|
2146
|
-
return e = d.converter._dispatch("headers.after", e, u, d), e;
|
|
2147
|
-
}), r.subParser("horizontalRule", function(e, u, d) {
|
|
2148
|
-
e = d.converter._dispatch("horizontalRule.before", e, u, d);
|
|
2149
|
-
var a = r.subParser("hashBlock")("<hr />", u, d);
|
|
2150
|
-
return e = e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm, a), e = e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm, a), e = e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm, a), e = d.converter._dispatch("horizontalRule.after", e, u, d), e;
|
|
2151
|
-
}), r.subParser("images", function(e, u, d) {
|
|
2152
|
-
e = d.converter._dispatch("images.before", e, u, d);
|
|
2153
|
-
var a = /!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g, s = /!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g, i = /!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g, c = /!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g, f = /!\[([^\[\]]+)]()()()()()/g;
|
|
2154
|
-
function p(t, h, n, o, _, m, w, g) {
|
|
2155
|
-
return o = o.replace(/\s/g, ""), l(t, h, n, o, _, m, w, g);
|
|
2156
|
-
}
|
|
2157
|
-
function l(t, h, n, o, _, m, w, g) {
|
|
2158
|
-
var k = d.gUrls, y = d.gTitles, j = d.gDimensions;
|
|
2159
|
-
if (n = n.toLowerCase(), g || (g = ""), t.search(/\(<?\s*>? ?(['"].*['"])?\)$/m) > -1)
|
|
2160
|
-
o = "";
|
|
2161
|
-
else if (o === "" || o === null)
|
|
2162
|
-
if ((n === "" || n === null) && (n = h.toLowerCase().replace(/ ?\n/g, " ")), o = "#" + n, !r.helper.isUndefined(k[n]))
|
|
2163
|
-
o = k[n], r.helper.isUndefined(y[n]) || (g = y[n]), r.helper.isUndefined(j[n]) || (_ = j[n].width, m = j[n].height);
|
|
2164
|
-
else
|
|
2165
|
-
return t;
|
|
2166
|
-
h = h.replace(/"/g, """).replace(r.helper.regexes.asteriskDashAndColon, r.helper.escapeCharactersCallback), o = o.replace(r.helper.regexes.asteriskDashAndColon, r.helper.escapeCharactersCallback);
|
|
2167
|
-
var b = '<img src="' + o + '" alt="' + h + '"';
|
|
2168
|
-
return g && r.helper.isString(g) && (g = g.replace(/"/g, """).replace(r.helper.regexes.asteriskDashAndColon, r.helper.escapeCharactersCallback), b += ' title="' + g + '"'), _ && m && (_ = _ === "*" ? "auto" : _, m = m === "*" ? "auto" : m, b += ' width="' + _ + '"', b += ' height="' + m + '"'), b += " />", b;
|
|
2169
|
-
}
|
|
2170
|
-
return e = e.replace(c, l), e = e.replace(i, p), e = e.replace(s, l), e = e.replace(a, l), e = e.replace(f, l), e = d.converter._dispatch("images.after", e, u, d), e;
|
|
2171
|
-
}), r.subParser("italicsAndBold", function(e, u, d) {
|
|
2172
|
-
e = d.converter._dispatch("italicsAndBold.before", e, u, d);
|
|
2173
|
-
function a(s, i, c) {
|
|
2174
|
-
return i + s + c;
|
|
2175
|
-
}
|
|
2176
|
-
return u.literalMidWordUnderscores ? (e = e.replace(/\b___(\S[\s\S]*?)___\b/g, function(s, i) {
|
|
2177
|
-
return a(i, "<strong><em>", "</em></strong>");
|
|
2178
|
-
}), e = e.replace(/\b__(\S[\s\S]*?)__\b/g, function(s, i) {
|
|
2179
|
-
return a(i, "<strong>", "</strong>");
|
|
2180
|
-
}), e = e.replace(/\b_(\S[\s\S]*?)_\b/g, function(s, i) {
|
|
2181
|
-
return a(i, "<em>", "</em>");
|
|
2182
|
-
})) : (e = e.replace(/___(\S[\s\S]*?)___/g, function(s, i) {
|
|
2183
|
-
return /\S$/.test(i) ? a(i, "<strong><em>", "</em></strong>") : s;
|
|
2184
|
-
}), e = e.replace(/__(\S[\s\S]*?)__/g, function(s, i) {
|
|
2185
|
-
return /\S$/.test(i) ? a(i, "<strong>", "</strong>") : s;
|
|
2186
|
-
}), e = e.replace(/_([^\s_][\s\S]*?)_/g, function(s, i) {
|
|
2187
|
-
return /\S$/.test(i) ? a(i, "<em>", "</em>") : s;
|
|
2188
|
-
})), u.literalMidWordAsterisks ? (e = e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g, function(s, i, c) {
|
|
2189
|
-
return a(c, i + "<strong><em>", "</em></strong>");
|
|
2190
|
-
}), e = e.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g, function(s, i, c) {
|
|
2191
|
-
return a(c, i + "<strong>", "</strong>");
|
|
2192
|
-
}), e = e.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g, function(s, i, c) {
|
|
2193
|
-
return a(c, i + "<em>", "</em>");
|
|
2194
|
-
})) : (e = e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g, function(s, i) {
|
|
2195
|
-
return /\S$/.test(i) ? a(i, "<strong><em>", "</em></strong>") : s;
|
|
2196
|
-
}), e = e.replace(/\*\*(\S[\s\S]*?)\*\*/g, function(s, i) {
|
|
2197
|
-
return /\S$/.test(i) ? a(i, "<strong>", "</strong>") : s;
|
|
2198
|
-
}), e = e.replace(/\*([^\s*][\s\S]*?)\*/g, function(s, i) {
|
|
2199
|
-
return /\S$/.test(i) ? a(i, "<em>", "</em>") : s;
|
|
2200
|
-
})), e = d.converter._dispatch("italicsAndBold.after", e, u, d), e;
|
|
2201
|
-
}), r.subParser("lists", function(e, u, d) {
|
|
2202
|
-
function a(c, f) {
|
|
2203
|
-
d.gListLevel++, c = c.replace(/\n{2,}$/, `
|
|
2204
|
-
`), c += "¨0";
|
|
2205
|
-
var p = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm, l = /\n[ \t]*\n(?!¨0)/.test(c);
|
|
2206
|
-
return u.disableForced4SpacesIndentedSublists && (p = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm), c = c.replace(p, function(t, h, n, o, _, m, w) {
|
|
2207
|
-
w = w && w.trim() !== "";
|
|
2208
|
-
var g = r.subParser("outdent")(_, u, d), k = "";
|
|
2209
|
-
return m && u.tasklists && (k = ' class="task-list-item" style="list-style-type: none;"', g = g.replace(/^[ \t]*\[(x|X| )?]/m, function() {
|
|
2210
|
-
var y = '<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';
|
|
2211
|
-
return w && (y += " checked"), y += ">", y;
|
|
2212
|
-
})), g = g.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g, function(y) {
|
|
2213
|
-
return "¨A" + y;
|
|
2214
|
-
}), h || g.search(/\n{2,}/) > -1 ? (g = r.subParser("githubCodeBlocks")(g, u, d), g = r.subParser("blockGamut")(g, u, d)) : (g = r.subParser("lists")(g, u, d), g = g.replace(/\n$/, ""), g = r.subParser("hashHTMLBlocks")(g, u, d), g = g.replace(/\n\n+/g, `
|
|
2215
|
-
|
|
2216
|
-
`), l ? g = r.subParser("paragraphs")(g, u, d) : g = r.subParser("spanGamut")(g, u, d)), g = g.replace("¨A", ""), g = "<li" + k + ">" + g + `</li>
|
|
2217
|
-
`, g;
|
|
2218
|
-
}), c = c.replace(/¨0/g, ""), d.gListLevel--, f && (c = c.replace(/\s+$/, "")), c;
|
|
2219
|
-
}
|
|
2220
|
-
function s(c, f) {
|
|
2221
|
-
if (f === "ol") {
|
|
2222
|
-
var p = c.match(/^ *(\d+)\./);
|
|
2223
|
-
if (p && p[1] !== "1")
|
|
2224
|
-
return ' start="' + p[1] + '"';
|
|
2225
|
-
}
|
|
2226
|
-
return "";
|
|
2227
|
-
}
|
|
2228
|
-
function i(c, f, p) {
|
|
2229
|
-
var l = u.disableForced4SpacesIndentedSublists ? /^ ?\d+\.[ \t]/gm : /^ {0,3}\d+\.[ \t]/gm, t = u.disableForced4SpacesIndentedSublists ? /^ ?[*+-][ \t]/gm : /^ {0,3}[*+-][ \t]/gm, h = f === "ul" ? l : t, n = "";
|
|
2230
|
-
if (c.search(h) !== -1)
|
|
2231
|
-
(function _(m) {
|
|
2232
|
-
var w = m.search(h), g = s(c, f);
|
|
2233
|
-
w !== -1 ? (n += `
|
|
2234
|
-
|
|
2235
|
-
<` + f + g + `>
|
|
2236
|
-
` + a(m.slice(0, w), !!p) + "</" + f + `>
|
|
2237
|
-
`, f = f === "ul" ? "ol" : "ul", h = f === "ul" ? l : t, _(m.slice(w))) : n += `
|
|
2238
|
-
|
|
2239
|
-
<` + f + g + `>
|
|
2240
|
-
` + a(m, !!p) + "</" + f + `>
|
|
2241
|
-
`;
|
|
2242
|
-
})(c);
|
|
2243
|
-
else {
|
|
2244
|
-
var o = s(c, f);
|
|
2245
|
-
n = `
|
|
2246
|
-
|
|
2247
|
-
<` + f + o + `>
|
|
2248
|
-
` + a(c, !!p) + "</" + f + `>
|
|
2249
|
-
`;
|
|
2250
|
-
}
|
|
2251
|
-
return n;
|
|
2252
|
-
}
|
|
2253
|
-
return e = d.converter._dispatch("lists.before", e, u, d), e += "¨0", d.gListLevel ? e = e.replace(
|
|
2254
|
-
/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,
|
|
2255
|
-
function(c, f, p) {
|
|
2256
|
-
var l = p.search(/[*+-]/g) > -1 ? "ul" : "ol";
|
|
2257
|
-
return i(f, l, !0);
|
|
2258
|
-
}
|
|
2259
|
-
) : e = e.replace(
|
|
2260
|
-
/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,
|
|
2261
|
-
function(c, f, p, l) {
|
|
2262
|
-
var t = l.search(/[*+-]/g) > -1 ? "ul" : "ol";
|
|
2263
|
-
return i(p, t, !1);
|
|
2264
|
-
}
|
|
2265
|
-
), e = e.replace(/¨0/, ""), e = d.converter._dispatch("lists.after", e, u, d), e;
|
|
2266
|
-
}), r.subParser("metadata", function(e, u, d) {
|
|
2267
|
-
if (!u.metadata)
|
|
2268
|
-
return e;
|
|
2269
|
-
e = d.converter._dispatch("metadata.before", e, u, d);
|
|
2270
|
-
function a(s) {
|
|
2271
|
-
d.metadata.raw = s, s = s.replace(/&/g, "&").replace(/"/g, """), s = s.replace(/\n {4}/g, " "), s.replace(/^([\S ]+): +([\s\S]+?)$/gm, function(i, c, f) {
|
|
2272
|
-
return d.metadata.parsed[c] = f, "";
|
|
2273
|
-
});
|
|
2274
|
-
}
|
|
2275
|
-
return e = e.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/, function(s, i, c) {
|
|
2276
|
-
return a(c), "¨M";
|
|
2277
|
-
}), e = e.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/, function(s, i, c) {
|
|
2278
|
-
return i && (d.metadata.format = i), a(c), "¨M";
|
|
2279
|
-
}), e = e.replace(/¨M/g, ""), e = d.converter._dispatch("metadata.after", e, u, d), e;
|
|
2280
|
-
}), r.subParser("outdent", function(e, u, d) {
|
|
2281
|
-
return e = d.converter._dispatch("outdent.before", e, u, d), e = e.replace(/^(\t|[ ]{1,4})/gm, "¨0"), e = e.replace(/¨0/g, ""), e = d.converter._dispatch("outdent.after", e, u, d), e;
|
|
2282
|
-
}), r.subParser("paragraphs", function(e, u, d) {
|
|
2283
|
-
e = d.converter._dispatch("paragraphs.before", e, u, d), e = e.replace(/^\n+/g, ""), e = e.replace(/\n+$/g, "");
|
|
2284
|
-
for (var a = e.split(/\n{2,}/g), s = [], i = a.length, c = 0; c < i; c++) {
|
|
2285
|
-
var f = a[c];
|
|
2286
|
-
f.search(/¨(K|G)(\d+)\1/g) >= 0 ? s.push(f) : f.search(/\S/) >= 0 && (f = r.subParser("spanGamut")(f, u, d), f = f.replace(/^([ \t]*)/g, "<p>"), f += "</p>", s.push(f));
|
|
2287
|
-
}
|
|
2288
|
-
for (i = s.length, c = 0; c < i; c++) {
|
|
2289
|
-
for (var p = "", l = s[c], t = !1; /¨(K|G)(\d+)\1/.test(l); ) {
|
|
2290
|
-
var h = RegExp.$1, n = RegExp.$2;
|
|
2291
|
-
h === "K" ? p = d.gHtmlBlocks[n] : t ? p = r.subParser("encodeCode")(d.ghCodeBlocks[n].text, u, d) : p = d.ghCodeBlocks[n].codeblock, p = p.replace(/\$/g, "$$$$"), l = l.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/, p), /^<pre\b[^>]*>\s*<code\b[^>]*>/.test(l) && (t = !0);
|
|
2292
|
-
}
|
|
2293
|
-
s[c] = l;
|
|
2294
|
-
}
|
|
2295
|
-
return e = s.join(`
|
|
2296
|
-
`), e = e.replace(/^\n+/g, ""), e = e.replace(/\n+$/g, ""), d.converter._dispatch("paragraphs.after", e, u, d);
|
|
2297
|
-
}), r.subParser("runExtension", function(e, u, d, a) {
|
|
2298
|
-
if (e.filter)
|
|
2299
|
-
u = e.filter(u, a.converter, d);
|
|
2300
|
-
else if (e.regex) {
|
|
2301
|
-
var s = e.regex;
|
|
2302
|
-
s instanceof RegExp || (s = new RegExp(s, "g")), u = u.replace(s, e.replace);
|
|
2303
|
-
}
|
|
2304
|
-
return u;
|
|
2305
|
-
}), r.subParser("spanGamut", function(e, u, d) {
|
|
2306
|
-
return e = d.converter._dispatch("spanGamut.before", e, u, d), e = r.subParser("codeSpans")(e, u, d), e = r.subParser("escapeSpecialCharsWithinTagAttributes")(e, u, d), e = r.subParser("encodeBackslashEscapes")(e, u, d), e = r.subParser("images")(e, u, d), e = r.subParser("anchors")(e, u, d), e = r.subParser("autoLinks")(e, u, d), e = r.subParser("simplifiedAutoLinks")(e, u, d), e = r.subParser("emoji")(e, u, d), e = r.subParser("underline")(e, u, d), e = r.subParser("italicsAndBold")(e, u, d), e = r.subParser("strikethrough")(e, u, d), e = r.subParser("ellipsis")(e, u, d), e = r.subParser("hashHTMLSpans")(e, u, d), e = r.subParser("encodeAmpsAndAngles")(e, u, d), u.simpleLineBreaks ? /\n\n¨K/.test(e) || (e = e.replace(/\n+/g, `<br />
|
|
2307
|
-
`)) : e = e.replace(/ +\n/g, `<br />
|
|
2308
|
-
`), e = d.converter._dispatch("spanGamut.after", e, u, d), e;
|
|
2309
|
-
}), r.subParser("strikethrough", function(e, u, d) {
|
|
2310
|
-
function a(s) {
|
|
2311
|
-
return u.simplifiedAutoLink && (s = r.subParser("simplifiedAutoLinks")(s, u, d)), "<del>" + s + "</del>";
|
|
2312
|
-
}
|
|
2313
|
-
return u.strikethrough && (e = d.converter._dispatch("strikethrough.before", e, u, d), e = e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g, function(s, i) {
|
|
2314
|
-
return a(i);
|
|
2315
|
-
}), e = d.converter._dispatch("strikethrough.after", e, u, d)), e;
|
|
2316
|
-
}), r.subParser("stripLinkDefinitions", function(e, u, d) {
|
|
2317
|
-
var a = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm, s = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;
|
|
2318
|
-
e += "¨0";
|
|
2319
|
-
var i = function(c, f, p, l, t, h, n) {
|
|
2320
|
-
return f = f.toLowerCase(), p.match(/^data:.+?\/.+?;base64,/) ? d.gUrls[f] = p.replace(/\s/g, "") : d.gUrls[f] = r.subParser("encodeAmpsAndAngles")(p, u, d), h ? h + n : (n && (d.gTitles[f] = n.replace(/"|'/g, """)), u.parseImgDimensions && l && t && (d.gDimensions[f] = {
|
|
2321
|
-
width: l,
|
|
2322
|
-
height: t
|
|
2323
|
-
}), "");
|
|
2324
|
-
};
|
|
2325
|
-
return e = e.replace(s, i), e = e.replace(a, i), e = e.replace(/¨0/, ""), e;
|
|
2326
|
-
}), r.subParser("tables", function(e, u, d) {
|
|
2327
|
-
if (!u.tables)
|
|
2328
|
-
return e;
|
|
2329
|
-
var a = /^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm, s = /^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;
|
|
2330
|
-
function i(t) {
|
|
2331
|
-
return /^:[ \t]*--*$/.test(t) ? ' style="text-align:left;"' : /^--*[ \t]*:[ \t]*$/.test(t) ? ' style="text-align:right;"' : /^:[ \t]*--*[ \t]*:$/.test(t) ? ' style="text-align:center;"' : "";
|
|
2332
|
-
}
|
|
2333
|
-
function c(t, h) {
|
|
2334
|
-
var n = "";
|
|
2335
|
-
return t = t.trim(), (u.tablesHeaderId || u.tableHeaderId) && (n = ' id="' + t.replace(/ /g, "_").toLowerCase() + '"'), t = r.subParser("spanGamut")(t, u, d), "<th" + n + h + ">" + t + `</th>
|
|
2336
|
-
`;
|
|
2337
|
-
}
|
|
2338
|
-
function f(t, h) {
|
|
2339
|
-
var n = r.subParser("spanGamut")(t, u, d);
|
|
2340
|
-
return "<td" + h + ">" + n + `</td>
|
|
2341
|
-
`;
|
|
2342
|
-
}
|
|
2343
|
-
function p(t, h) {
|
|
2344
|
-
for (var n = `<table>
|
|
2345
|
-
<thead>
|
|
2346
|
-
<tr>
|
|
2347
|
-
`, o = t.length, _ = 0; _ < o; ++_)
|
|
2348
|
-
n += t[_];
|
|
2349
|
-
for (n += `</tr>
|
|
2350
|
-
</thead>
|
|
2351
|
-
<tbody>
|
|
2352
|
-
`, _ = 0; _ < h.length; ++_) {
|
|
2353
|
-
n += `<tr>
|
|
2354
|
-
`;
|
|
2355
|
-
for (var m = 0; m < o; ++m)
|
|
2356
|
-
n += h[_][m];
|
|
2357
|
-
n += `</tr>
|
|
2358
|
-
`;
|
|
2359
|
-
}
|
|
2360
|
-
return n += `</tbody>
|
|
2361
|
-
</table>
|
|
2362
|
-
`, n;
|
|
2363
|
-
}
|
|
2364
|
-
function l(t) {
|
|
2365
|
-
var h, n = t.split(`
|
|
2366
|
-
`);
|
|
2367
|
-
for (h = 0; h < n.length; ++h)
|
|
2368
|
-
/^ {0,3}\|/.test(n[h]) && (n[h] = n[h].replace(/^ {0,3}\|/, "")), /\|[ \t]*$/.test(n[h]) && (n[h] = n[h].replace(/\|[ \t]*$/, "")), n[h] = r.subParser("codeSpans")(n[h], u, d);
|
|
2369
|
-
var o = n[0].split("|").map(function(b) {
|
|
2370
|
-
return b.trim();
|
|
2371
|
-
}), _ = n[1].split("|").map(function(b) {
|
|
2372
|
-
return b.trim();
|
|
2373
|
-
}), m = [], w = [], g = [], k = [];
|
|
2374
|
-
for (n.shift(), n.shift(), h = 0; h < n.length; ++h)
|
|
2375
|
-
n[h].trim() !== "" && m.push(
|
|
2376
|
-
n[h].split("|").map(function(b) {
|
|
2377
|
-
return b.trim();
|
|
2378
|
-
})
|
|
2379
|
-
);
|
|
2380
|
-
if (o.length < _.length)
|
|
2381
|
-
return t;
|
|
2382
|
-
for (h = 0; h < _.length; ++h)
|
|
2383
|
-
g.push(i(_[h]));
|
|
2384
|
-
for (h = 0; h < o.length; ++h)
|
|
2385
|
-
r.helper.isUndefined(g[h]) && (g[h] = ""), w.push(c(o[h], g[h]));
|
|
2386
|
-
for (h = 0; h < m.length; ++h) {
|
|
2387
|
-
for (var y = [], j = 0; j < w.length; ++j)
|
|
2388
|
-
r.helper.isUndefined(m[h][j]), y.push(f(m[h][j], g[j]));
|
|
2389
|
-
k.push(y);
|
|
2390
|
-
}
|
|
2391
|
-
return p(w, k);
|
|
2392
|
-
}
|
|
2393
|
-
return e = d.converter._dispatch("tables.before", e, u, d), e = e.replace(/\\(\|)/g, r.helper.escapeCharactersCallback), e = e.replace(a, l), e = e.replace(s, l), e = d.converter._dispatch("tables.after", e, u, d), e;
|
|
2394
|
-
}), r.subParser("underline", function(e, u, d) {
|
|
2395
|
-
return u.underline && (e = d.converter._dispatch("underline.before", e, u, d), u.literalMidWordUnderscores ? (e = e.replace(/\b___(\S[\s\S]*?)___\b/g, function(a, s) {
|
|
2396
|
-
return "<u>" + s + "</u>";
|
|
2397
|
-
}), e = e.replace(/\b__(\S[\s\S]*?)__\b/g, function(a, s) {
|
|
2398
|
-
return "<u>" + s + "</u>";
|
|
2399
|
-
})) : (e = e.replace(/___(\S[\s\S]*?)___/g, function(a, s) {
|
|
2400
|
-
return /\S$/.test(s) ? "<u>" + s + "</u>" : a;
|
|
2401
|
-
}), e = e.replace(/__(\S[\s\S]*?)__/g, function(a, s) {
|
|
2402
|
-
return /\S$/.test(s) ? "<u>" + s + "</u>" : a;
|
|
2403
|
-
})), e = e.replace(/(_)/g, r.helper.escapeCharactersCallback), e = d.converter._dispatch("underline.after", e, u, d)), e;
|
|
2404
|
-
}), r.subParser("unescapeSpecialChars", function(e, u, d) {
|
|
2405
|
-
return e = d.converter._dispatch("unescapeSpecialChars.before", e, u, d), e = e.replace(/¨E(\d+)E/g, function(a, s) {
|
|
2406
|
-
var i = parseInt(s);
|
|
2407
|
-
return String.fromCharCode(i);
|
|
2408
|
-
}), e = d.converter._dispatch("unescapeSpecialChars.after", e, u, d), e;
|
|
2409
|
-
}), r.subParser("makeMarkdown.blockquote", function(e, u) {
|
|
2410
|
-
var d = "";
|
|
2411
|
-
if (e.hasChildNodes())
|
|
2412
|
-
for (var a = e.childNodes, s = a.length, i = 0; i < s; ++i) {
|
|
2413
|
-
var c = r.subParser("makeMarkdown.node")(a[i], u);
|
|
2414
|
-
c !== "" && (d += c);
|
|
2415
|
-
}
|
|
2416
|
-
return d = d.trim(), d = "> " + d.split(`
|
|
2417
|
-
`).join(`
|
|
2418
|
-
> `), d;
|
|
2419
|
-
}), r.subParser("makeMarkdown.codeBlock", function(e, u) {
|
|
2420
|
-
var d = e.getAttribute("language"), a = e.getAttribute("precodenum");
|
|
2421
|
-
return "```" + d + `
|
|
2422
|
-
` + u.preList[a] + "\n```";
|
|
2423
|
-
}), r.subParser("makeMarkdown.codeSpan", function(e) {
|
|
2424
|
-
return "`" + e.innerHTML + "`";
|
|
2425
|
-
}), r.subParser("makeMarkdown.emphasis", function(e, u) {
|
|
2426
|
-
var d = "";
|
|
2427
|
-
if (e.hasChildNodes()) {
|
|
2428
|
-
d += "*";
|
|
2429
|
-
for (var a = e.childNodes, s = a.length, i = 0; i < s; ++i)
|
|
2430
|
-
d += r.subParser("makeMarkdown.node")(a[i], u);
|
|
2431
|
-
d += "*";
|
|
2432
|
-
}
|
|
2433
|
-
return d;
|
|
2434
|
-
}), r.subParser("makeMarkdown.header", function(e, u, d) {
|
|
2435
|
-
var a = new Array(d + 1).join("#"), s = "";
|
|
2436
|
-
if (e.hasChildNodes()) {
|
|
2437
|
-
s = a + " ";
|
|
2438
|
-
for (var i = e.childNodes, c = i.length, f = 0; f < c; ++f)
|
|
2439
|
-
s += r.subParser("makeMarkdown.node")(i[f], u);
|
|
2440
|
-
}
|
|
2441
|
-
return s;
|
|
2442
|
-
}), r.subParser("makeMarkdown.hr", function() {
|
|
2443
|
-
return "---";
|
|
2444
|
-
}), r.subParser("makeMarkdown.image", function(e) {
|
|
2445
|
-
var u = "";
|
|
2446
|
-
return e.hasAttribute("src") && (u += " + ">", e.hasAttribute("width") && e.hasAttribute("height") && (u += " =" + e.getAttribute("width") + "x" + e.getAttribute("height")), e.hasAttribute("title") && (u += ' "' + e.getAttribute("title") + '"'), u += ")"), u;
|
|
2447
|
-
}), r.subParser("makeMarkdown.links", function(e, u) {
|
|
2448
|
-
var d = "";
|
|
2449
|
-
if (e.hasChildNodes() && e.hasAttribute("href")) {
|
|
2450
|
-
var a = e.childNodes, s = a.length;
|
|
2451
|
-
d = "[";
|
|
2452
|
-
for (var i = 0; i < s; ++i)
|
|
2453
|
-
d += r.subParser("makeMarkdown.node")(a[i], u);
|
|
2454
|
-
d += "](", d += "<" + e.getAttribute("href") + ">", e.hasAttribute("title") && (d += ' "' + e.getAttribute("title") + '"'), d += ")";
|
|
2455
|
-
}
|
|
2456
|
-
return d;
|
|
2457
|
-
}), r.subParser("makeMarkdown.list", function(e, u, d) {
|
|
2458
|
-
var a = "";
|
|
2459
|
-
if (!e.hasChildNodes())
|
|
2460
|
-
return "";
|
|
2461
|
-
for (var s = e.childNodes, i = s.length, c = e.getAttribute("start") || 1, f = 0; f < i; ++f)
|
|
2462
|
-
if (!(typeof s[f].tagName > "u" || s[f].tagName.toLowerCase() !== "li")) {
|
|
2463
|
-
var p = "";
|
|
2464
|
-
d === "ol" ? p = c.toString() + ". " : p = "- ", a += p + r.subParser("makeMarkdown.listItem")(s[f], u), ++c;
|
|
2465
|
-
}
|
|
2466
|
-
return a += `
|
|
2467
|
-
<!-- -->
|
|
2468
|
-
`, a.trim();
|
|
2469
|
-
}), r.subParser("makeMarkdown.listItem", function(e, u) {
|
|
2470
|
-
for (var d = "", a = e.childNodes, s = a.length, i = 0; i < s; ++i)
|
|
2471
|
-
d += r.subParser("makeMarkdown.node")(a[i], u);
|
|
2472
|
-
return /\n$/.test(d) ? d = d.split(`
|
|
2473
|
-
`).join(`
|
|
2474
|
-
`).replace(/^ {4}$/gm, "").replace(/\n\n+/g, `
|
|
2475
|
-
|
|
2476
|
-
`) : d += `
|
|
2477
|
-
`, d;
|
|
2478
|
-
}), r.subParser("makeMarkdown.node", function(e, u, d) {
|
|
2479
|
-
d = d || !1;
|
|
2480
|
-
var a = "";
|
|
2481
|
-
if (e.nodeType === 3)
|
|
2482
|
-
return r.subParser("makeMarkdown.txt")(e, u);
|
|
2483
|
-
if (e.nodeType === 8)
|
|
2484
|
-
return "<!--" + e.data + `-->
|
|
2485
|
-
|
|
2486
|
-
`;
|
|
2487
|
-
if (e.nodeType !== 1)
|
|
2488
|
-
return "";
|
|
2489
|
-
var s = e.tagName.toLowerCase();
|
|
2490
|
-
switch (s) {
|
|
2491
|
-
case "h1":
|
|
2492
|
-
d || (a = r.subParser("makeMarkdown.header")(e, u, 1) + `
|
|
2493
|
-
|
|
2494
|
-
`);
|
|
2495
|
-
break;
|
|
2496
|
-
case "h2":
|
|
2497
|
-
d || (a = r.subParser("makeMarkdown.header")(e, u, 2) + `
|
|
2498
|
-
|
|
2499
|
-
`);
|
|
2500
|
-
break;
|
|
2501
|
-
case "h3":
|
|
2502
|
-
d || (a = r.subParser("makeMarkdown.header")(e, u, 3) + `
|
|
2503
|
-
|
|
2504
|
-
`);
|
|
2505
|
-
break;
|
|
2506
|
-
case "h4":
|
|
2507
|
-
d || (a = r.subParser("makeMarkdown.header")(e, u, 4) + `
|
|
2508
|
-
|
|
2509
|
-
`);
|
|
2510
|
-
break;
|
|
2511
|
-
case "h5":
|
|
2512
|
-
d || (a = r.subParser("makeMarkdown.header")(e, u, 5) + `
|
|
2513
|
-
|
|
2514
|
-
`);
|
|
2515
|
-
break;
|
|
2516
|
-
case "h6":
|
|
2517
|
-
d || (a = r.subParser("makeMarkdown.header")(e, u, 6) + `
|
|
2518
|
-
|
|
2519
|
-
`);
|
|
2520
|
-
break;
|
|
2521
|
-
case "p":
|
|
2522
|
-
d || (a = r.subParser("makeMarkdown.paragraph")(e, u) + `
|
|
2523
|
-
|
|
2524
|
-
`);
|
|
2525
|
-
break;
|
|
2526
|
-
case "blockquote":
|
|
2527
|
-
d || (a = r.subParser("makeMarkdown.blockquote")(e, u) + `
|
|
2528
|
-
|
|
2529
|
-
`);
|
|
2530
|
-
break;
|
|
2531
|
-
case "hr":
|
|
2532
|
-
d || (a = r.subParser("makeMarkdown.hr")(e, u) + `
|
|
2533
|
-
|
|
2534
|
-
`);
|
|
2535
|
-
break;
|
|
2536
|
-
case "ol":
|
|
2537
|
-
d || (a = r.subParser("makeMarkdown.list")(e, u, "ol") + `
|
|
2538
|
-
|
|
2539
|
-
`);
|
|
2540
|
-
break;
|
|
2541
|
-
case "ul":
|
|
2542
|
-
d || (a = r.subParser("makeMarkdown.list")(e, u, "ul") + `
|
|
2543
|
-
|
|
2544
|
-
`);
|
|
2545
|
-
break;
|
|
2546
|
-
case "precode":
|
|
2547
|
-
d || (a = r.subParser("makeMarkdown.codeBlock")(e, u) + `
|
|
2548
|
-
|
|
2549
|
-
`);
|
|
2550
|
-
break;
|
|
2551
|
-
case "pre":
|
|
2552
|
-
d || (a = r.subParser("makeMarkdown.pre")(e, u) + `
|
|
2553
|
-
|
|
2554
|
-
`);
|
|
2555
|
-
break;
|
|
2556
|
-
case "table":
|
|
2557
|
-
d || (a = r.subParser("makeMarkdown.table")(e, u) + `
|
|
2558
|
-
|
|
2559
|
-
`);
|
|
2560
|
-
break;
|
|
2561
|
-
case "code":
|
|
2562
|
-
a = r.subParser("makeMarkdown.codeSpan")(e, u);
|
|
2563
|
-
break;
|
|
2564
|
-
case "em":
|
|
2565
|
-
case "i":
|
|
2566
|
-
a = r.subParser("makeMarkdown.emphasis")(e, u);
|
|
2567
|
-
break;
|
|
2568
|
-
case "strong":
|
|
2569
|
-
case "b":
|
|
2570
|
-
a = r.subParser("makeMarkdown.strong")(e, u);
|
|
2571
|
-
break;
|
|
2572
|
-
case "del":
|
|
2573
|
-
a = r.subParser("makeMarkdown.strikethrough")(e, u);
|
|
2574
|
-
break;
|
|
2575
|
-
case "a":
|
|
2576
|
-
a = r.subParser("makeMarkdown.links")(e, u);
|
|
2577
|
-
break;
|
|
2578
|
-
case "img":
|
|
2579
|
-
a = r.subParser("makeMarkdown.image")(e, u);
|
|
2580
|
-
break;
|
|
2581
|
-
default:
|
|
2582
|
-
a = e.outerHTML + `
|
|
2583
|
-
|
|
2584
|
-
`;
|
|
2585
|
-
}
|
|
2586
|
-
return a;
|
|
2587
|
-
}), r.subParser("makeMarkdown.paragraph", function(e, u) {
|
|
2588
|
-
var d = "";
|
|
2589
|
-
if (e.hasChildNodes())
|
|
2590
|
-
for (var a = e.childNodes, s = a.length, i = 0; i < s; ++i)
|
|
2591
|
-
d += r.subParser("makeMarkdown.node")(a[i], u);
|
|
2592
|
-
return d = d.trim(), d;
|
|
2593
|
-
}), r.subParser("makeMarkdown.pre", function(e, u) {
|
|
2594
|
-
var d = e.getAttribute("prenum");
|
|
2595
|
-
return "<pre>" + u.preList[d] + "</pre>";
|
|
2596
|
-
}), r.subParser("makeMarkdown.strikethrough", function(e, u) {
|
|
2597
|
-
var d = "";
|
|
2598
|
-
if (e.hasChildNodes()) {
|
|
2599
|
-
d += "~~";
|
|
2600
|
-
for (var a = e.childNodes, s = a.length, i = 0; i < s; ++i)
|
|
2601
|
-
d += r.subParser("makeMarkdown.node")(a[i], u);
|
|
2602
|
-
d += "~~";
|
|
2603
|
-
}
|
|
2604
|
-
return d;
|
|
2605
|
-
}), r.subParser("makeMarkdown.strong", function(e, u) {
|
|
2606
|
-
var d = "";
|
|
2607
|
-
if (e.hasChildNodes()) {
|
|
2608
|
-
d += "**";
|
|
2609
|
-
for (var a = e.childNodes, s = a.length, i = 0; i < s; ++i)
|
|
2610
|
-
d += r.subParser("makeMarkdown.node")(a[i], u);
|
|
2611
|
-
d += "**";
|
|
2612
|
-
}
|
|
2613
|
-
return d;
|
|
2614
|
-
}), r.subParser("makeMarkdown.table", function(e, u) {
|
|
2615
|
-
var d = "", a = [[], []], s = e.querySelectorAll("thead>tr>th"), i = e.querySelectorAll("tbody>tr"), c, f;
|
|
2616
|
-
for (c = 0; c < s.length; ++c) {
|
|
2617
|
-
var p = r.subParser("makeMarkdown.tableCell")(s[c], u), l = "---";
|
|
2618
|
-
if (s[c].hasAttribute("style")) {
|
|
2619
|
-
var t = s[c].getAttribute("style").toLowerCase().replace(/\s/g, "");
|
|
2620
|
-
switch (t) {
|
|
2621
|
-
case "text-align:left;":
|
|
2622
|
-
l = ":---";
|
|
2623
|
-
break;
|
|
2624
|
-
case "text-align:right;":
|
|
2625
|
-
l = "---:";
|
|
2626
|
-
break;
|
|
2627
|
-
case "text-align:center;":
|
|
2628
|
-
l = ":---:";
|
|
2629
|
-
break;
|
|
2630
|
-
}
|
|
2631
|
-
}
|
|
2632
|
-
a[0][c] = p.trim(), a[1][c] = l;
|
|
2633
|
-
}
|
|
2634
|
-
for (c = 0; c < i.length; ++c) {
|
|
2635
|
-
var h = a.push([]) - 1, n = i[c].getElementsByTagName("td");
|
|
2636
|
-
for (f = 0; f < s.length; ++f) {
|
|
2637
|
-
var o = " ";
|
|
2638
|
-
typeof n[f] < "u" && (o = r.subParser("makeMarkdown.tableCell")(n[f], u)), a[h].push(o);
|
|
2639
|
-
}
|
|
2640
|
-
}
|
|
2641
|
-
var _ = 3;
|
|
2642
|
-
for (c = 0; c < a.length; ++c)
|
|
2643
|
-
for (f = 0; f < a[c].length; ++f) {
|
|
2644
|
-
var m = a[c][f].length;
|
|
2645
|
-
m > _ && (_ = m);
|
|
2646
|
-
}
|
|
2647
|
-
for (c = 0; c < a.length; ++c) {
|
|
2648
|
-
for (f = 0; f < a[c].length; ++f)
|
|
2649
|
-
c === 1 ? a[c][f].slice(-1) === ":" ? a[c][f] = r.helper.padEnd(a[c][f].slice(-1), _ - 1, "-") + ":" : a[c][f] = r.helper.padEnd(a[c][f], _, "-") : a[c][f] = r.helper.padEnd(a[c][f], _);
|
|
2650
|
-
d += "| " + a[c].join(" | ") + ` |
|
|
2651
|
-
`;
|
|
2652
|
-
}
|
|
2653
|
-
return d.trim();
|
|
2654
|
-
}), r.subParser("makeMarkdown.tableCell", function(e, u) {
|
|
2655
|
-
var d = "";
|
|
2656
|
-
if (!e.hasChildNodes())
|
|
2657
|
-
return "";
|
|
2658
|
-
for (var a = e.childNodes, s = a.length, i = 0; i < s; ++i)
|
|
2659
|
-
d += r.subParser("makeMarkdown.node")(a[i], u, !0);
|
|
2660
|
-
return d.trim();
|
|
2661
|
-
}), r.subParser("makeMarkdown.txt", function(e) {
|
|
2662
|
-
var u = e.nodeValue;
|
|
2663
|
-
return u = u.replace(/ +/g, " "), u = u.replace(/¨NBSP;/g, " "), u = r.helper.unescapeHTMLEntities(u), u = u.replace(/([*_~|`])/g, "\\$1"), u = u.replace(/^(\s*)>/g, "\\$1>"), u = u.replace(/^#/gm, "\\#"), u = u.replace(/^(\s*)([-=]{3,})(\s*)$/, "$1\\$2$3"), u = u.replace(/^( {0,3}\d+)\./gm, "$1\\."), u = u.replace(/^( {0,3})([+-])/gm, "$1\\$2"), u = u.replace(/]([\s]*)\(/g, "\\]$1\\("), u = u.replace(/^ {0,3}\[([\S \t]*?)]:/gm, "\\[$1]:"), u;
|
|
2664
|
-
});
|
|
2665
|
-
var X = this;
|
|
2666
|
-
I.exports ? I.exports = r : X.showdown = r;
|
|
2667
|
-
}).call(Y);
|
|
2668
|
-
})(G);
|
|
2669
|
-
var x = G.exports;
|
|
2670
|
-
const ue = /* @__PURE__ */ J(x);
|
|
2671
|
-
export {
|
|
2672
|
-
ue as default
|
|
2673
|
-
};
|