@ncino/web-components 3.4.0 → 4.0.0-preview.10

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.
Files changed (444) hide show
  1. package/dist/_virtual/___vite-browser-external.js +1 -0
  2. package/dist/_virtual/__vite-browser-external.js +1 -0
  3. package/dist/_virtual/_commonjsHelpers.js +1 -1
  4. package/dist/_virtual/api-request.js +1 -0
  5. package/dist/_virtual/constants.js +1 -0
  6. package/dist/_virtual/events.js +1 -0
  7. package/dist/_virtual/external.js +1 -0
  8. package/dist/_virtual/external2.js +1 -0
  9. package/dist/_virtual/external_types.js +1 -0
  10. package/dist/_virtual/fetch.js +1 -0
  11. package/dist/_virtual/figma_client.js +1 -0
  12. package/dist/_virtual/figma_rest_api.js +1 -0
  13. package/dist/_virtual/helpers.js +1 -0
  14. package/dist/_virtual/index10.js +1 -0
  15. package/dist/_virtual/index11.js +1 -0
  16. package/dist/_virtual/index3.js +1 -0
  17. package/dist/_virtual/index4.js +1 -0
  18. package/dist/_virtual/index5.js +1 -0
  19. package/dist/_virtual/index6.js +1 -0
  20. package/dist/_virtual/index7.js +1 -0
  21. package/dist/_virtual/index8.js +1 -0
  22. package/dist/_virtual/index9.js +1 -0
  23. package/dist/_virtual/index_common.js +1 -0
  24. package/dist/_virtual/index_html.js +1 -0
  25. package/dist/_virtual/index_html2.js +1 -0
  26. package/dist/_virtual/inherits_browser.js +1 -0
  27. package/dist/_virtual/logging.js +1 -0
  28. package/dist/_virtual/main.js +1 -0
  29. package/dist/_virtual/main2.js +1 -0
  30. package/dist/_virtual/mock-interceptor.js +1 -0
  31. package/dist/_virtual/string_decoder.js +1 -0
  32. package/dist/_virtual/template_literal.js +1 -0
  33. package/dist/_virtual/types.js +1 -0
  34. package/dist/_virtual/updates.js +1 -0
  35. package/dist/_virtual/util.js +1 -0
  36. package/dist/_virtual/utils.js +1 -0
  37. package/dist/assets/OpenSans-VariableFont.woff2 +0 -0
  38. package/dist/assets/node_modules/.pnpm/{ckeditor5@45.0.0 → ckeditor5@45.1.0}/node_modules/ckeditor5/dist/ckeditor5.css +1 -1
  39. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  40. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  41. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  42. package/dist/components/banner/gator/banner.gator.js +1 -1
  43. package/dist/components/button/gator/button.gator.figma.js +4 -0
  44. package/dist/components/button/gator/button.gator.js +1 -1
  45. package/dist/components/button-card/button-card.js +1 -1
  46. package/dist/components/button-card/gator/button-card.gator.js +5 -3
  47. package/dist/components/checkbox/checkbox.gator.js +1 -1
  48. package/dist/components/chip/chip.js +1 -1
  49. package/dist/components/chip/gator/chip.gator.js +12 -4
  50. package/dist/components/display-card/gator/display-card.gator.js +1 -1
  51. package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
  52. package/dist/components/icon/gator/icon.gator.figma.js +2 -0
  53. package/dist/components/icon/gator/icon.gator.js +6 -1
  54. package/dist/components/icon/gator/index.js +1 -1
  55. package/dist/components/icon/gator/templates/circle-dashed.js +8 -0
  56. package/dist/components/icon/gator/templates/index.js +1 -1
  57. package/dist/components/icon/gator/templates/waffle.js +40 -0
  58. package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
  59. package/dist/components/input/base/input-base.gator.js +1 -1
  60. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +4 -4
  61. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  62. package/dist/components/input/gator/input-currency/input-currency.gator.js +2 -2
  63. package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
  64. package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +1 -1
  65. package/dist/components/input/gator/input-file/input-file.gator.js +1 -1
  66. package/dist/components/input/gator/input-phone/input-phone.gator.js +1 -1
  67. package/dist/components/input/gator/input-text/input-text.gator.js +2 -2
  68. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
  69. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  70. package/dist/components/input-rich-text/ckeditor-config.js +1 -1
  71. package/dist/components/input-rich-text/input-rich-text.slds.js +2 -2
  72. package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
  73. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  74. package/dist/components/modal/gator/modal.gator.js +12 -3
  75. package/dist/components/modal/modal.js +1 -1
  76. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  77. package/dist/components/radio/radio.gator.js +2 -2
  78. package/dist/components/radio-group/radio-group.gator.js +1 -1
  79. package/dist/components/selection-box/selection-box.gator.js +1 -1
  80. package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
  81. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  82. package/dist/components/tooltip/slds/tooltip.slds.js +1 -1
  83. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-alignment@45.0.0 → @ckeditor_ckeditor5-alignment@45.1.0}/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js +1 -1
  84. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-autoformat@45.0.0 → @ckeditor_ckeditor5-autoformat@45.1.0}/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +1 -1
  85. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-autosave@45.0.0 → @ckeditor_ckeditor5-autosave@45.1.0}/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +1 -1
  86. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-basic-styles@45.0.0 → @ckeditor_ckeditor5-basic-styles@45.1.0}/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +1 -1
  87. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-block-quote@45.0.0 → @ckeditor_ckeditor5-block-quote@45.1.0}/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js +1 -1
  88. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-clipboard@45.0.0 → @ckeditor_ckeditor5-clipboard@45.1.0}/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +2 -2
  89. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-cloud-services@45.0.0 → @ckeditor_ckeditor5-cloud-services@45.1.0}/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +1 -1
  90. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.1.0/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +7 -0
  91. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js +4 -0
  92. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@45.1.0/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +4 -0
  93. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-engine@45.0.0 → @ckeditor_ckeditor5-engine@45.1.0}/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +11 -11
  94. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-enter@45.0.0 → @ckeditor_ckeditor5-enter@45.1.0}/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +1 -1
  95. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-essentials@45.0.0 → @ckeditor_ckeditor5-essentials@45.1.0}/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +1 -1
  96. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-find-and-replace@45.0.0 → @ckeditor_ckeditor5-find-and-replace@45.1.0}/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js +1 -1
  97. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-font@45.0.0 → @ckeditor_ckeditor5-font@45.1.0}/node_modules/@ckeditor/ckeditor5-font/dist/index.js +1 -1
  98. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-heading@45.0.0 → @ckeditor_ckeditor5-heading@45.1.0}/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +1 -1
  99. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-highlight@45.0.0 → @ckeditor_ckeditor5-highlight@45.1.0}/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +1 -1
  100. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-horizontal-line@45.0.0 → @ckeditor_ckeditor5-horizontal-line@45.1.0}/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js +1 -1
  101. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-html-embed@45.0.0 → @ckeditor_ckeditor5-html-embed@45.1.0}/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +1 -1
  102. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-html-support@45.0.0 → @ckeditor_ckeditor5-html-support@45.1.0}/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +4 -4
  103. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@45.1.0/node_modules/@ckeditor/ckeditor5-image/dist/index.js +10 -0
  104. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-indent@45.0.0 → @ckeditor_ckeditor5-indent@45.1.0}/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +1 -1
  105. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-language@45.0.0 → @ckeditor_ckeditor5-language@45.1.0}/node_modules/@ckeditor/ckeditor5-language/dist/index.js +1 -1
  106. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-link@45.0.0 → @ckeditor_ckeditor5-link@45.1.0}/node_modules/@ckeditor/ckeditor5-link/dist/index.js +2 -2
  107. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-list@45.0.0 → @ckeditor_ckeditor5-list@45.1.0}/node_modules/@ckeditor/ckeditor5-list/dist/index.js +1 -1
  108. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-markdown-gfm@45.0.0 → @ckeditor_ckeditor5-markdown-gfm@45.1.0}/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +1 -1
  109. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-media-embed@45.0.0 → @ckeditor_ckeditor5-media-embed@45.1.0}/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +1 -1
  110. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-mention@45.0.0 → @ckeditor_ckeditor5-mention@45.1.0}/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -1
  111. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-page-break@45.0.0 → @ckeditor_ckeditor5-page-break@45.1.0}/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +1 -1
  112. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-paragraph@45.0.0 → @ckeditor_ckeditor5-paragraph@45.1.0}/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -1
  113. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-paste-from-office@45.0.0 → @ckeditor_ckeditor5-paste-from-office@45.1.0}/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +5 -5
  114. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-remove-format@45.0.0 → @ckeditor_ckeditor5-remove-format@45.1.0}/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +1 -1
  115. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-select-all@45.0.0 → @ckeditor_ckeditor5-select-all@45.1.0}/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +1 -1
  116. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-show-blocks@45.0.0 → @ckeditor_ckeditor5-show-blocks@45.1.0}/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js +1 -1
  117. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-source-editing@45.0.0 → @ckeditor_ckeditor5-source-editing@45.1.0}/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +1 -1
  118. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-special-characters@45.0.0 → @ckeditor_ckeditor5-special-characters@45.1.0}/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +1 -1
  119. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-style@45.0.0 → @ckeditor_ckeditor5-style@45.1.0}/node_modules/@ckeditor/ckeditor5-style/dist/index.js +1 -1
  120. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@45.1.0/node_modules/@ckeditor/ckeditor5-table/dist/index.js +16 -0
  121. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.1.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +13 -0
  122. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +28 -0
  123. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-undo@45.0.0 → @ckeditor_ckeditor5-undo@45.1.0}/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +1 -1
  124. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-upload@45.0.0 → @ckeditor_ckeditor5-upload@45.1.0}/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +1 -1
  125. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-utils@45.0.0 → @ckeditor_ckeditor5-utils@45.1.0}/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +15 -15
  126. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.1.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +4 -0
  127. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js +3 -0
  128. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js +3 -0
  129. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js +1 -0
  130. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/deps/streamsearch/sbmh.js +1 -0
  131. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/main.js +1 -0
  132. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/types/multipart.js +1 -0
  133. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/types/urlencoded.js +1 -0
  134. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/Decoder.js +1 -0
  135. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/basename.js +1 -0
  136. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/decodeText.js +1 -0
  137. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/getLimit.js +1 -0
  138. package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/parseParams.js +3 -0
  139. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/client/external.js +1 -0
  140. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/client/figma_client.js +1 -0
  141. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/common/fetch.js +1 -0
  142. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/common/logging.js +1 -0
  143. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/common/updates.js +4 -0
  144. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/connect/external_types.js +1 -0
  145. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/connect/figma_rest_api.js +1 -0
  146. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/connect/helpers.js +1 -0
  147. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/connect/index_common.js +1 -0
  148. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/html/external.js +1 -0
  149. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/html/index_html.js +1 -0
  150. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/dist/html/template_literal.js +1 -0
  151. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.2/node_modules/@figma/code-connect/package.json.js +1 -0
  152. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -0
  153. package/dist/node_modules/.pnpm/{@floating-ui_dom@1.6.13 → @floating-ui_dom@1.7.0}/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -1
  154. package/dist/node_modules/.pnpm/{@storybook_instrumenter@8.6.12_storybook@8.6.12_prettier@3.5.3_ → @storybook_instrumenter@8.6.14_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/instrumenter/dist/index.js +1 -1
  155. package/dist/node_modules/.pnpm/{@storybook_test@8.6.12_storybook@8.6.12_prettier@3.5.3_ → @storybook_test@8.6.14_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/test/dist/index.js +2 -2
  156. package/dist/node_modules/.pnpm/{@vitest_expect@3.1.2 → @vitest_expect@3.1.3}/node_modules/@vitest/expect/dist/index.js +1 -1
  157. package/dist/node_modules/.pnpm/@vitest_runner@3.1.3/node_modules/@vitest/runner/dist/index.js +4 -0
  158. package/dist/node_modules/.pnpm/{@vitest_snapshot@3.1.2 → @vitest_snapshot@3.1.3}/node_modules/@vitest/snapshot/dist/index.js +1 -1
  159. package/dist/node_modules/.pnpm/{@vitest_utils@3.1.2 → @vitest_utils@3.1.3}/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +1 -1
  160. package/dist/node_modules/.pnpm/{@vitest_utils@3.1.2 → @vitest_utils@3.1.3}/node_modules/@vitest/utils/dist/diff.js +1 -1
  161. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -0
  162. package/dist/node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js +1 -0
  163. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js +1 -0
  164. package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +6 -0
  165. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js +1 -0
  166. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js +1 -0
  167. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js +1 -0
  168. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js +1 -0
  169. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js +1 -0
  170. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js +1 -0
  171. package/dist/node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js +1 -0
  172. package/dist/node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js +1 -0
  173. package/dist/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js +2 -0
  174. package/dist/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js +2 -0
  175. package/dist/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js +4 -0
  176. package/dist/node_modules/.pnpm/compare-versions@6.1.1/node_modules/compare-versions/lib/esm/compare.js +1 -0
  177. package/dist/node_modules/.pnpm/compare-versions@6.1.1/node_modules/compare-versions/lib/esm/compareVersions.js +1 -0
  178. package/dist/node_modules/.pnpm/compare-versions@6.1.1/node_modules/compare-versions/lib/esm/index.js +1 -0
  179. package/dist/node_modules/.pnpm/compare-versions@6.1.1/node_modules/compare-versions/lib/esm/satisfies.js +1 -0
  180. package/dist/node_modules/.pnpm/compare-versions@6.1.1/node_modules/compare-versions/lib/esm/utils.js +1 -0
  181. package/dist/node_modules/.pnpm/compare-versions@6.1.1/node_modules/compare-versions/lib/esm/validate.js +1 -0
  182. package/dist/node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js +1 -0
  183. package/dist/node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/lib/main.js +3 -0
  184. package/dist/node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/package.json.js +1 -0
  185. package/dist/node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js +1 -0
  186. package/dist/node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js +1 -0
  187. package/dist/node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js +1 -0
  188. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js +1 -0
  189. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js +1 -0
  190. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js +1 -0
  191. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js +1 -0
  192. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js +1 -0
  193. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js +1 -0
  194. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js +1 -0
  195. package/dist/node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js +1 -0
  196. package/dist/node_modules/.pnpm/events@3.3.0/node_modules/events/events.js +1 -0
  197. package/dist/node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js +1 -0
  198. package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js +1 -0
  199. package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js +1 -0
  200. package/dist/node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js +1 -0
  201. package/dist/node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js +1 -0
  202. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js +1 -0
  203. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js +1 -0
  204. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js +1 -0
  205. package/dist/node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js +1 -0
  206. package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js +1 -0
  207. package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js +1 -0
  208. package/dist/node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js +1 -0
  209. package/dist/node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.js +1 -0
  210. package/dist/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js +1 -0
  211. package/dist/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js +1 -0
  212. package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js +1 -0
  213. package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js +1 -0
  214. package/dist/node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js +1 -0
  215. package/dist/node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js +1 -0
  216. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +1 -0
  217. package/dist/node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js +1 -0
  218. package/dist/node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js +1 -0
  219. package/dist/node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js +1 -0
  220. package/dist/node_modules/.pnpm/is-generator-function@1.1.0/node_modules/is-generator-function/index.js +1 -0
  221. package/dist/node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js +1 -0
  222. package/dist/node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js +1 -0
  223. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.8/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
  224. package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js +5 -0
  225. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js +1 -0
  226. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js +1 -0
  227. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js +1 -0
  228. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js +1 -0
  229. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js +1 -0
  230. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js +1 -0
  231. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js +1 -0
  232. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js +1 -0
  233. package/dist/node_modules/.pnpm/possible-typed-array-names@1.0.0/node_modules/possible-typed-array-names/index.js +1 -0
  234. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +1 -0
  235. package/dist/node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js +1 -0
  236. package/dist/node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js +1 -0
  237. package/dist/node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js +1 -0
  238. package/dist/node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/browser.js +1 -0
  239. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/index.js +1 -0
  240. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/agent.js +1 -0
  241. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/abort-signal.js +1 -0
  242. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-connect.js +1 -0
  243. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-pipeline.js +1 -0
  244. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-request.js +1 -0
  245. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-stream.js +1 -0
  246. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-upgrade.js +1 -0
  247. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/index.js +1 -0
  248. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/readable.js +1 -0
  249. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/util.js +1 -0
  250. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/balanced-pool.js +1 -0
  251. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cache/cache.js +1 -0
  252. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cache/cachestorage.js +1 -0
  253. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cache/symbols.js +1 -0
  254. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cache/util.js +1 -0
  255. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/client.js +26 -0
  256. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/compat/dispatcher-weakref.js +1 -0
  257. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/constants.js +1 -0
  258. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/index.js +1 -0
  259. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/parse.js +1 -0
  260. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/util.js +1 -0
  261. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/connect.js +1 -0
  262. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/constants.js +1 -0
  263. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/errors.js +1 -0
  264. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/request.js +5 -0
  265. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/symbols.js +1 -0
  266. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/util.js +1 -0
  267. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/dispatcher-base.js +1 -0
  268. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/dispatcher.js +1 -0
  269. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/body.js +9 -0
  270. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/constants.js +1 -0
  271. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/dataURL.js +3 -0
  272. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/file.js +3 -0
  273. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/formdata.js +1 -0
  274. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/global.js +1 -0
  275. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/headers.js +1 -0
  276. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/index.js +1 -0
  277. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/request.js +1 -0
  278. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/response.js +1 -0
  279. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/symbols.js +1 -0
  280. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/util.js +2 -0
  281. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/webidl.js +1 -0
  282. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fileapi/encoding.js +1 -0
  283. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fileapi/filereader.js +1 -0
  284. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fileapi/progressevent.js +1 -0
  285. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fileapi/symbols.js +1 -0
  286. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fileapi/util.js +1 -0
  287. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/global.js +1 -0
  288. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/handler/DecoratorHandler.js +1 -0
  289. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/handler/RedirectHandler.js +1 -0
  290. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/handler/RetryHandler.js +1 -0
  291. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/interceptor/redirectInterceptor.js +1 -0
  292. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/constants.js +1 -0
  293. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/llhttp-wasm.js +1 -0
  294. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +1 -0
  295. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/utils.js +1 -0
  296. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/mock-agent.js +5 -0
  297. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/mock-client.js +1 -0
  298. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/mock-errors.js +1 -0
  299. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/mock-interceptor.js +1 -0
  300. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/mock-pool.js +1 -0
  301. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/mock-symbols.js +1 -0
  302. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/mock-utils.js +1 -0
  303. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/pending-interceptors-formatter.js +1 -0
  304. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/mock/pluralizer.js +1 -0
  305. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/node/fixed-queue.js +1 -0
  306. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/pool-base.js +1 -0
  307. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/pool-stats.js +1 -0
  308. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/pool.js +1 -0
  309. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/proxy-agent.js +1 -0
  310. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/timers.js +1 -0
  311. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/connection.js +1 -0
  312. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/constants.js +1 -0
  313. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/events.js +1 -0
  314. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/frame.js +1 -0
  315. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/receiver.js +1 -0
  316. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/symbols.js +1 -0
  317. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/util.js +1 -0
  318. package/dist/node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/websocket.js +1 -0
  319. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js +1 -0
  320. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js +1 -0
  321. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/util.js +10 -0
  322. package/dist/node_modules/.pnpm/{vitest@3.1.2_@types_debug@4.1.12_@types_node@22.15.3_@vitest_browser@3.1.2_@vitest_ui@3_7bb50e293f6aaa75c6ba46005f3908a0 → vitest@3.1.3_@types_debug@4.1.12_@types_node@22.15.18_@vitest_browser@3.1.3_@vitest_ui@_51b99c531dfdde59fcc5e7e2663a4785}/node_modules/vitest/dist/chunks/utils.CgTj3MsC.js +1 -1
  323. package/dist/node_modules/.pnpm/{vitest@3.1.2_@types_debug@4.1.12_@types_node@22.15.3_@vitest_browser@3.1.2_@vitest_ui@3_7bb50e293f6aaa75c6ba46005f3908a0 → vitest@3.1.3_@types_debug@4.1.12_@types_node@22.15.18_@vitest_browser@3.1.3_@vitest_ui@_51b99c531dfdde59fcc5e7e2663a4785}/node_modules/vitest/dist/chunks/vi.ClIskdbk.js +1 -1
  324. package/dist/node_modules/.pnpm/which-typed-array@1.1.19/node_modules/which-typed-array/index.js +1 -0
  325. package/dist/packages/web-components/src/components/accordion/gator/base/accordion.gator.scss.js +1 -1
  326. package/dist/packages/web-components/src/components/alert/gator/base/alert.gator.scss.js +1 -1
  327. package/dist/packages/web-components/src/components/alert/gator/subtitle/alert-subtitle.gator.scss.js +1 -1
  328. package/dist/packages/web-components/src/components/alert/gator/title/alert-title.gator.scss.js +1 -1
  329. package/dist/packages/web-components/src/components/avatar/gator/avatar.gator.scss.js +1 -1
  330. package/dist/packages/web-components/src/components/badge/gator/badge.gator.scss.js +1 -1
  331. package/dist/packages/web-components/src/components/banner/gator/banner.gator.scss.js +1 -1
  332. package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
  333. package/dist/packages/web-components/src/components/button-card/button-card.tokens.scss.js +1 -1
  334. package/dist/packages/web-components/src/components/button-card/gator/button-card.gator.scss.js +1 -1
  335. package/dist/packages/web-components/src/components/card/gator/base/card.gator.scss.js +1 -1
  336. package/dist/packages/web-components/src/components/checkbox/checkbox.gator.scss.js +1 -1
  337. package/dist/packages/web-components/src/components/chip/gator/chip.gator.scss.js +1 -1
  338. package/dist/packages/web-components/src/components/display-card/gator/display-card.gator.scss.js +1 -1
  339. package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.scss.js +1 -1
  340. package/dist/packages/web-components/src/components/icon/gator/icon.gator.scss.js +1 -1
  341. package/dist/packages/web-components/src/components/input/gator/help-text/help-text.gator.tokens.scss.js +1 -1
  342. package/dist/packages/web-components/src/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.scss.js +1 -1
  343. package/dist/packages/web-components/src/components/input/gator/input-file/input-file.gator.scss.js +1 -1
  344. package/dist/packages/web-components/src/components/input/gator/input-label/input-label.gator.tokens.scss.js +1 -1
  345. package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
  346. package/dist/packages/web-components/src/components/list/gator/list-item/list-item.gator.scss.js +1 -1
  347. package/dist/packages/web-components/src/components/modal/gator/modal.gator.scss.js +1 -1
  348. package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
  349. package/dist/packages/web-components/src/components/radio/radio.gator.scss.js +1 -1
  350. package/dist/packages/web-components/src/components/selection-box/selection-box.gator.scss.js +1 -1
  351. package/dist/packages/web-components/src/components/switch/gator/switch.gator.scss.js +1 -1
  352. package/dist/packages/web-components/src/components/table/gator/table.gator.scss.js +1 -1
  353. package/dist/packages/web-components/src/components/tabs/gator/tabs.gator.scss.js +1 -1
  354. package/dist/packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js +1 -1
  355. package/dist/packages/web-components/src/components/text-link/gator/text-link.gator.scss.js +1 -1
  356. package/dist/packages/web-components/src/components/toast/gator/base/toast.gator.scss.js +1 -1
  357. package/dist/packages/web-components/src/components/toast/gator/subtitle/toast-subtitle.gator.scss.js +1 -1
  358. package/dist/packages/web-components/src/components/toast/gator/title/toast-title.gator.scss.js +1 -1
  359. package/dist/packages/web-components/src/tokens/primitive.tokens.scss.js +1 -1
  360. package/dist/packages/web-components/src/tokens/semantic.tokens.scss.js +1 -1
  361. package/dist/types/components/button/gator/button.gator.figma.d.ts +1 -0
  362. package/dist/types/components/button-card/button-card.d.ts +5 -0
  363. package/dist/types/components/button-card/gator/button-card.gator.d.ts +1 -0
  364. package/dist/types/components/chip/chip.d.ts +5 -0
  365. package/dist/types/components/chip/gator/chip.gator.d.ts +7 -3
  366. package/dist/types/components/icon/gator/icon.gator.d.ts +5 -0
  367. package/dist/types/components/icon/gator/icon.gator.figma.d.ts +1 -0
  368. package/dist/types/components/icon/gator/templates/circle-dashed.d.ts +1 -0
  369. package/dist/types/components/icon/gator/templates/index.d.ts +2 -0
  370. package/dist/types/components/icon/gator/templates/waffle.d.ts +1 -0
  371. package/dist/types/components/modal/modal.d.ts +4 -0
  372. package/dist/types/components/radio/radio.gator.d.ts +1 -0
  373. package/dist/utils/components/slot-placeholder/slot-placeholder.js +1 -1
  374. package/dist/utils/vitest-a11y-utils.js +1 -1
  375. package/package.json +19 -18
  376. package/web-types.json +52 -34
  377. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.0.0/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +0 -7
  378. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js +0 -4
  379. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@45.0.0/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +0 -4
  380. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@45.0.0/node_modules/@ckeditor/ckeditor5-image/dist/index.js +0 -10
  381. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@45.0.0/node_modules/@ckeditor/ckeditor5-table/dist/index.js +0 -16
  382. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.0.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +0 -13
  383. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.0.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +0 -28
  384. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.0.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +0 -4
  385. package/dist/node_modules/.pnpm/@floating-ui_core@1.6.8/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -1
  386. package/dist/node_modules/.pnpm/@vitest_runner@3.1.2/node_modules/@vitest/runner/dist/index.js +0 -4
  387. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.7/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
  388. package/dist/packages/web-components/src/components/chip/chip.tokens.scss.js +0 -1
  389. /package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-icons@45.0.0 → @ckeditor_ckeditor5-icons@45.1.0}/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +0 -0
  390. /package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-watchdog@45.0.0 → @ckeditor_ckeditor5-watchdog@45.1.0}/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +0 -0
  391. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.12_prettier@3.5.3_storybook@8.6.12_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/channels/index.js +0 -0
  392. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.12_prettier@3.5.3_storybook@8.6.12_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/client-logger/index.js +0 -0
  393. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.12_prettier@3.5.3_storybook@8.6.12_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/core-events/index.js +0 -0
  394. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.12_prettier@3.5.3_storybook@8.6.12_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/csf/index.js +0 -0
  395. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.12_prettier@3.5.3_storybook@8.6.12_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/preview-api/index.js +0 -0
  396. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.12_prettier@3.5.3_storybook@8.6.12_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/preview-errors.js +0 -0
  397. /package/dist/node_modules/.pnpm/{@vitest_browser@3.1.2_msw@2.7.3_@types_node@22.15.3_typescript@5.8.3__playwright@1.52.0_6047d87698e2ef918623a78ce4dcf499 → @vitest_browser@3.1.3_msw@2.7.3_@types_node@22.15.18_typescript@5.8.3__playwright@1.52._b9c2784bcb118747559025d8ff12c3e0}/node_modules/@vitest/browser/context.js +0 -0
  398. /package/dist/node_modules/.pnpm/{@vitest_pretty-format@3.1.2 → @vitest_pretty-format@3.1.3}/node_modules/@vitest/pretty-format/dist/index.js +0 -0
  399. /package/dist/node_modules/.pnpm/{@vitest_runner@3.1.2 → @vitest_runner@3.1.3}/node_modules/@vitest/runner/dist/chunk-tasks.js +0 -0
  400. /package/dist/node_modules/.pnpm/{@vitest_spy@3.1.2 → @vitest_spy@3.1.3}/node_modules/@vitest/spy/dist/index.js +0 -0
  401. /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.2 → @vitest_utils@3.1.3}/node_modules/@vitest/utils/dist/error.js +0 -0
  402. /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.2 → @vitest_utils@3.1.3}/node_modules/@vitest/utils/dist/helpers.js +0 -0
  403. /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.2 → @vitest_utils@3.1.3}/node_modules/@vitest/utils/dist/index.js +0 -0
  404. /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.2 → @vitest_utils@3.1.3}/node_modules/@vitest/utils/dist/source-map.js +0 -0
  405. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/ParseError.js +0 -0
  406. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -0
  407. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/constants.js +0 -0
  408. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/format.js +0 -0
  409. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -0
  410. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -0
  411. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -0
  412. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -0
  413. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -0
  414. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -0
  415. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -0
  416. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -0
  417. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -0
  418. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -0
  419. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -0
  420. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -0
  421. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -0
  422. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -0
  423. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -0
  424. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -0
  425. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -0
  426. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -0
  427. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -0
  428. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -0
  429. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -0
  430. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -0
  431. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
  432. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
  433. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/metadata.js +0 -0
  434. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -0
  435. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/parse.js +0 -0
  436. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -0
  437. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
  438. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -0
  439. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -0
  440. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -0
  441. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -0
  442. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.7 → libphonenumber-js@1.12.8}/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -0
  443. /package/dist/node_modules/.pnpm/{vitest@3.1.2_@types_debug@4.1.12_@types_node@22.15.3_@vitest_browser@3.1.2_@vitest_ui@3_7bb50e293f6aaa75c6ba46005f3908a0 → vitest@3.1.3_@types_debug@4.1.12_@types_node@22.15.18_@vitest_browser@3.1.3_@vitest_ui@_51b99c531dfdde59fcc5e7e2663a4785}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  444. /package/dist/node_modules/.pnpm/{vitest@3.1.2_@types_debug@4.1.12_@types_node@22.15.3_@vitest_browser@3.1.2_@vitest_ui@3_7bb50e293f6aaa75c6ba46005f3908a0 → vitest@3.1.3_@types_debug@4.1.12_@types_node@22.15.18_@vitest_browser@3.1.3_@vitest_ui@_51b99c531dfdde59fcc5e7e2663a4785}/node_modules/vitest/dist/chunks/date.CDOsz-HY.js +0 -0
@@ -1,4 +1,4 @@
1
- var p=Object.defineProperty;var u=(s,e,t)=>e in s?p(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var l=(s,e,t)=>u(s,typeof e!="symbol"?e+"":e,t);import{Plugin as g,Command as m}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{first as f}from"../../../../../@ckeditor_ckeditor5-utils@45.0.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
1
+ var p=Object.defineProperty;var u=(s,e,t)=>e in s?p(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var l=(s,e,t)=>u(s,typeof e!="symbol"?e+"":e,t);import{Plugin as g,Command as m}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{first as f}from"../../../../../@ckeditor_ckeditor5-utils@45.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class P extends m{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document,r=f(t.selection.getSelectedBlocks());this.value=!!r&&r.is("element","paragraph"),this.isEnabled=!!r&&d(r,e.schema)}execute(e={}){const t=this.editor.model,r=t.document,n=e.selection||r.selection;t.canEditAt(n)&&t.change(a=>{const o=n.getSelectedBlocks();for(const c of o)!c.is("element","paragraph")&&d(c,t.schema)&&a.rename(c,"paragraph")})}}function d(s,e){return e.checkChild(s.parent,"paragraph")&&!e.isObject(s)}class E extends m{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}execute(e){const t=this.editor.model,r=e.attributes;let n=e.position;return t.canEditAt(n)?t.change(a=>{if(n=this._findPositionToInsertParagraph(n,a),!n)return null;const o=a.createElement("paragraph");return r&&t.schema.setAllowedAttributes(o,r,a),t.insertContent(o,n),a.setSelection(o,"in"),a.createPositionAt(o,0)}):null}_findPositionToInsertParagraph(e,t){const r=this.editor.model;if(r.schema.checkChild(e,"paragraph"))return e;const n=r.schema.findAllowedParent(e,"paragraph");if(!n)return null;const a=e.parent,o=r.schema.checkChild(a,"$text");return a.isEmpty||o&&e.isAtEnd?r.createPositionAfter(a):!a.isEmpty&&o&&e.isAtStart?r.createPositionBefore(a):t.split(e,n).position}}const i=class i extends g{static get pluginName(){return"Paragraph"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model;e.commands.add("paragraph",new P(e)),e.commands.add("insertParagraph",new E(e)),t.schema.register("paragraph",{inheritAllFrom:"$block"}),e.conversion.elementToElement({model:"paragraph",view:"p"}),e.conversion.for("upcast").elementToElement({model:(r,{writer:n})=>!i.paragraphLikeElements.has(r.name)||r.isEmpty?null:n.createElement("paragraph"),view:/.+/,converterPriority:"low"})}};l(i,"paragraphLikeElements",new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]));let h=i;export{h as Paragraph};
@@ -1,16 +1,16 @@
1
- var w=Object.defineProperty;var M=(e,t,s)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var b=(e,t,s)=>M(e,typeof t!="symbol"?t+"":t,s);import{Plugin as T}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{ClipboardPipeline as P}from"../../../../../@ckeditor_ckeditor5-clipboard@45.0.0/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";import{UpcastWriter as y,ViewDocument as L,DomConverter as E,Matcher as x}from"../../../../../@ckeditor_ckeditor5-engine@45.0.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
1
+ var w=Object.defineProperty;var M=(e,t,s)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var b=(e,t,s)=>M(e,typeof t!="symbol"?t+"":t,s);import{Plugin as T}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{ClipboardPipeline as P}from"../../../../../@ckeditor_ckeditor5-clipboard@45.1.0/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";import{UpcastWriter as y,ViewDocument as L,DomConverter as E,Matcher as x}from"../../../../../@ckeditor_ckeditor5-engine@45.1.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  *//**
5
5
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
6
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
- */function R(e,t){const s=[];for(const n of t.createRangeIn(e)){const i=n.item;i.is("element","a")&&!i.hasAttribute("href")&&(i.hasAttribute("id")||i.hasAttribute("name"))&&s.push(i)}for(const n of s){const i=n.parent.getChildIndex(n)+1,r=n.getChildren();t.insertChild(i,r,n.parent)}}/**
7
+ */function R(e,t){const s=[];for(const n of t.createRangeIn(e)){const i=n.item;i.is("element","a")&&!i.hasAttribute("href")&&(i.hasAttribute("id")||i.hasAttribute("name"))&&s.push(i)}for(const n of s){const i=n.parent.getChildIndex(n)+1,l=n.getChildren();t.insertChild(i,l,n.parent)}}/**
8
8
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
9
9
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
10
- */function W(e){const t=parseFloat(e);return e.endsWith("pt")?h(t*96/72):e.endsWith("pc")?h(t*12*96/72):e.endsWith("in")?h(t*96):e.endsWith("cm")?h(t*96/2.54):e.endsWith("mm")?h(t/10*96/2.54):e}function v(e){return e!==void 0&&e.endsWith("px")}function h(e){return e.toFixed(2).replace(/\.?0+$/,"")+"px"}function k(e,t,s){if(!e.childCount)return;const n=new y(e.document),i=N(e,n);if(!i.length)return;const r={},l=[];for(const o of i)if(o.indent!==void 0){B(o)||(l.length=0);const a=`${o.id}:${o.indent}`,c=Math.min(o.indent-1,l.length);if(c<l.length&&l[c].id!==o.id&&(l.length=c),c<l.length-1)l.length=c+1;else{const m=$(o,t);if(c>l.length-1||l[c].listElement.name!=m.type){c==0&&m.type=="ol"&&o.id!==void 0&&r[a]&&(m.startIndex=r[a]);const d=F(m,n,s);if(v(o.marginLeft)&&(c==0||v(l[c-1].marginLeft))){let u=o.marginLeft;c>0&&(u=h(parseFloat(u)-parseFloat(l[c-1].marginLeft))),n.setStyle("padding-left",u,d)}if(l.length==0){const u=o.element.parent,g=u.getChildIndex(o.element)+1;n.insertChild(g,d,u)}else{const u=l[c-1].listItemElements;n.appendChild(d,u[u.length-1])}l[c]={...o,listElement:d,listItemElements:[]},c==0&&o.id!==void 0&&(r[a]=m.startIndex||1)}}const f=o.element.name=="li"?o.element:n.createElement("li");n.appendChild(f,l[c].listElement),l[c].listItemElements.push(f),c==0&&o.id!==void 0&&r[a]++,o.element!=f&&n.appendChild(o.element,f),V(o.element,n),n.removeStyle("text-indent",o.element),n.removeStyle("margin-left",o.element)}else{const a=l.find(c=>c.marginLeft==o.marginLeft);if(a){const c=a.listItemElements;n.appendChild(o.element,c[c.length-1]),n.removeStyle("margin-left",o.element)}else l.length=0}}function D(e,t){for(const s of t.createRangeIn(e)){const n=s.item;if(n.is("element","li")){const i=n.getChild(0);i&&i.is("element","p")&&t.unwrapElement(i)}}}function N(e,t){const s=t.createRangeIn(e),n=[],i=new Set;for(const r of s.getItems()){if(!r.is("element")||!r.name.match(/^(p|h\d+|li|div)$/))continue;let l=q(r);if(l!==void 0&&parseFloat(l)==0&&!Array.from(r.getClassNames()).find(o=>o.startsWith("MsoList"))&&(l=void 0),r.hasStyle("mso-list")||l!==void 0&&i.has(l)){const o=_(r);n.push({element:r,id:o.id,order:o.order,indent:o.indent,marginLeft:l}),l!==void 0&&i.add(l)}else i.clear()}return n}function B(e){const t=e.element.previousSibling;return S(t||e.element.parent)}function S(e){return e.is("element","ol")||e.is("element","ul")}function $(e,t){const s=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi"),n=/mso-level-number-format:([^;]{0,100});/gi,i=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,r=new RegExp(`@list\\s+l${e.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),l=new RegExp(`@list l${e.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),o=r.exec(t),a=l.exec(t),c=o&&!a,f=s.exec(t);let m="decimal",d="ol",u=null;if(f&&f[1]){const g=n.exec(f[1]);if(g&&g[1]&&(m=g[1].trim(),d=m!=="bullet"&&m!=="image"?"ol":"ul"),m==="bullet"){const p=O(e.element);p&&(m=p)}else{const p=i.exec(f[1]);p&&p[1]&&(u=parseInt(p[1]))}c&&(d="ol")}return{type:d,startIndex:u,style:j(m),isLegalStyleList:c}}function O(e){if(e.name=="li"&&e.parent.name=="ul"&&e.parent.hasAttribute("type"))return e.parent.getAttribute("type");const t=z(e);if(!t)return null;const s=t._data;return s==="o"?"circle":s==="·"?"disc":s==="§"?"square":null}function z(e){if(e.getChild(0).is("$text"))return null;for(const t of e.getChildren()){if(!t.is("element","span"))continue;const s=t.getChild(0);if(s)return s.is("$text")?s:s.getChild(0)}/* istanbul ignore next -- @preserve */return null}function j(e){if(e.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(e){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return e;default:return null}}function F(e,t,s){const n=t.createElement(e.type);return e.style&&t.setStyle("list-style-type",e.style,n),e.startIndex&&e.startIndex>1&&t.setAttribute("start",e.startIndex,n),e.isLegalStyleList&&s&&t.addClass("legal-list",n),n}function _(e){const t=e.getStyle("mso-list");if(t===void 0)return{};const s=t.match(/(^|\s{1,100})l(\d+)/i),n=t.match(/\s{0,100}lfo(\d+)/i),i=t.match(/\s{0,100}level(\d+)/i);return s&&n&&i?{id:s[2],order:n[1],indent:parseInt(i[1])}:{indent:1}}function V(e,t){const s=new x({name:"span",styles:{"mso-list":"Ignore"}}),n=t.createRangeIn(e);for(const i of n)i.type==="elementStart"&&s.match(i.item)&&t.remove(i.item)}function q(e){const t=e.getStyle("margin-left");return t===void 0||t.endsWith("px")?t:W(t)}function G(e,t){if(!e.childCount)return;const s=new y(e.document),n=U(e,s);X(n,e,s),K(n,e,s),J(e,s);const i=Q(e,s);i.length&&Z(i,Y(t),s)}function H(e){return btoa(e.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function U(e,t){const s=t.createRangeIn(e),n=new x({name:/v:(.+)/}),i=[];for(const r of s){if(r.type!="elementStart")continue;const l=r.item,o=l.previousSibling,a=o&&o.is("element")?o.name:null,c=["Chart"],f=n.match(l),m=l.getAttribute("o:gfxdata"),d=a==="v:shapetype",u=m&&c.some(g=>l.getAttribute("id").includes(g));f&&m&&!d&&!u&&i.push(r.item.getAttribute("id"))}return i}function X(e,t,s){const n=s.createRangeIn(t),i=new x({name:"img"}),r=[];for(const l of n)if(l.item.is("element")&&i.match(l.item)){const o=l.item,a=o.getAttribute("v:shapes")?o.getAttribute("v:shapes").split(" "):[];a.length&&a.every(c=>e.indexOf(c)>-1)?r.push(o):o.getAttribute("src")||r.push(o)}for(const l of r)s.remove(l)}function J(e,t){const s=t.createRangeIn(e),n=new x({name:/v:(.+)/}),i=[];for(const r of s)r.type=="elementStart"&&n.match(r.item)&&i.push(r.item);for(const r of i)t.remove(r)}function K(e,t,s){const n=s.createRangeIn(t),i=[];for(const o of n)if(o.type=="elementStart"&&o.item.is("element","v:shape")){const a=o.item.getAttribute("id");if(e.includes(a))continue;r(o.item.parent.getChildren(),a)||i.push(o.item)}for(const o of i){const a={src:l(o)};o.hasAttribute("alt")&&(a.alt=o.getAttribute("alt"));const c=s.createElement("img",a);s.insertChild(o.index+1,c,o.parent)}function r(o,a){for(const c of o){/* istanbul ignore else -- @preserve */if(c.is("element")&&(c.name=="img"&&c.getAttribute("v:shapes")==a||r(c.getChildren(),a)))return!0}return!1}function l(o){for(const a of o.getChildren()){/* istanbul ignore else -- @preserve */if(a.is("element")&&a.getAttribute("src"))return a.getAttribute("src")}}}function Q(e,t){const s=t.createRangeIn(e),n=new x({name:"img"}),i=[];for(const r of s)r.item.is("element")&&n.match(r.item)&&r.item.getAttribute("src").startsWith("file://")&&i.push(r.item);return i}function Y(e){if(!e)return[];const t=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,s=new RegExp("(?:("+t.source+"))([\\da-fA-F\\s]+)\\}","g"),n=e.match(s),i=[];if(n)for(const r of n){let l=!1;r.includes("\\pngblip")?l="image/png":r.includes("\\jpegblip")&&(l="image/jpeg"),l&&i.push({hex:r.replace(t,"").replace(/[^\da-fA-F]/g,""),type:l})}return i}function Z(e,t,s){if(e.length===t.length)for(let n=0;n<e.length;n++){const i=`data:${t[n].type};base64,${H(t[n].hex)}`;s.setAttribute("src",i,e[n])}}function ee(e){const t=[],s=new y(e.document);for(const{item:n}of s.createRangeIn(e))if(n.is("element")){for(const i of n.getClassNames())/\bmso/gi.exec(i)&&s.removeClass(i,n);for(const i of n.getStyleNames())/\bmso/gi.exec(i)&&s.removeStyle(i,n);(n.is("element","w:sdt")||n.is("element","w:sdtpr")&&n.isEmpty||n.is("element","o:p")&&n.isEmpty)&&t.push(n)}for(const n of t){const i=n.parent,r=i.getChildIndex(n);s.insertChild(r,n.getChildren(),i),s.remove(n)}}const te=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,ne=/xmlns:o="urn:schemas-microsoft-com/i;class se{constructor(t,s=!1){b(this,"document");b(this,"hasMultiLevelListPlugin");this.document=t,this.hasMultiLevelListPlugin=s}isActive(t){return te.test(t)||ne.test(t)}execute(t){const s=new y(this.document),{body:n,stylesString:i}=t._parsedData;R(n,s),k(n,i,this.hasMultiLevelListPlugin),G(n,t.dataTransfer.getData("text/rtf")),ee(n),t.content=n}}/**
10
+ */function W(e){const t=parseFloat(e);return e.endsWith("pt")?h(t*96/72):e.endsWith("pc")?h(t*12*96/72):e.endsWith("in")?h(t*96):e.endsWith("cm")?h(t*96/2.54):e.endsWith("mm")?h(t/10*96/2.54):e}function v(e){return e!==void 0&&e.endsWith("px")}function h(e){return e.toFixed(2).replace(/\.?0+$/,"")+"px"}function k(e,t,s){if(!e.childCount)return;const n=new y(e.document),i=N(e,n);if(!i.length)return;const l={},r=[];for(const o of i)if(o.indent!==void 0){B(o)||(r.length=0);const a=`${o.id}:${o.indent}`,c=Math.min(o.indent-1,r.length);if(c<r.length&&r[c].id!==o.id&&(r.length=c),c<r.length-1)r.length=c+1;else{const m=$(o,t);if(c>r.length-1||r[c].listElement.name!=m.type){c==0&&m.type=="ol"&&o.id!==void 0&&l[a]&&(m.startIndex=l[a]);const d=F(m,n,s);if(v(o.marginLeft)&&(c==0||v(r[c-1].marginLeft))){let u=o.marginLeft;c>0&&(u=h(parseFloat(u)-parseFloat(r[c-1].marginLeft))),n.setStyle("padding-left",u,d)}if(r.length==0){const u=o.element.parent,g=u.getChildIndex(o.element)+1;n.insertChild(g,d,u)}else{const u=r[c-1].listItemElements;n.appendChild(d,u[u.length-1])}r[c]={...o,listElement:d,listItemElements:[]},c==0&&o.id!==void 0&&(l[a]=m.startIndex||1)}}const f=o.element.name=="li"?o.element:n.createElement("li");n.appendChild(f,r[c].listElement),r[c].listItemElements.push(f),c==0&&o.id!==void 0&&l[a]++,o.element!=f&&n.appendChild(o.element,f),H(o.element,n),n.removeStyle("text-indent",o.element),n.removeStyle("margin-left",o.element)}else{const a=r.find(c=>c.marginLeft==o.marginLeft);if(a){const c=a.listItemElements;n.appendChild(o.element,c[c.length-1]),n.removeStyle("margin-left",o.element)}else r.length=0}}function D(e,t){for(const s of t.createRangeIn(e)){const n=s.item;if(n.is("element","li")){const i=n.getChild(0);i&&i.is("element","p")&&t.unwrapElement(i)}}}function N(e,t){const s=t.createRangeIn(e),n=[],i=new Set;for(const l of s.getItems()){if(!l.is("element")||!l.name.match(/^(p|h\d+|li|div)$/))continue;let r=V(l);if(r!==void 0&&parseFloat(r)==0&&!Array.from(l.getClassNames()).find(o=>o.startsWith("MsoList"))&&(r=void 0),l.hasStyle("mso-list")||r!==void 0&&i.has(r)){const o=_(l);n.push({element:l,id:o.id,order:o.order,indent:o.indent,marginLeft:r}),r!==void 0&&i.add(r)}else i.clear()}return n}function B(e){const t=e.element.previousSibling;return S(t||e.element.parent)}function S(e){return e.is("element","ol")||e.is("element","ul")}function $(e,t){const s=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi"),n=/mso-level-number-format:([^;]{0,100});/gi,i=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,l=new RegExp(`@list\\s+l${e.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),r=new RegExp(`@list l${e.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),o=l.exec(t),a=r.exec(t),c=o&&!a,f=s.exec(t);let m="decimal",d="ol",u=null;if(f&&f[1]){const g=n.exec(f[1]);if(g&&g[1]&&(m=g[1].trim(),d=m!=="bullet"&&m!=="image"?"ol":"ul"),m==="bullet"){const p=O(e.element);p&&(m=p)}else{const p=i.exec(f[1]);p&&p[1]&&(u=parseInt(p[1]))}c&&(d="ol")}return{type:d,startIndex:u,style:j(m),isLegalStyleList:c}}function O(e){if(e.name=="li"&&e.parent.name=="ul"&&e.parent.hasAttribute("type"))return e.parent.getAttribute("type");const t=z(e);if(!t)return null;const s=t._data;return s==="o"?"circle":s==="·"?"disc":s==="§"?"square":null}function z(e){if(e.getChild(0).is("$text"))return null;for(const t of e.getChildren()){if(!t.is("element","span"))continue;const s=t.getChild(0);if(s)return s.is("$text")?s:s.getChild(0)}/* istanbul ignore next -- @preserve */return null}function j(e){if(e.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(e){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return e;default:return null}}function F(e,t,s){const n=t.createElement(e.type);return e.style&&t.setStyle("list-style-type",e.style,n),e.startIndex&&e.startIndex>1&&t.setAttribute("start",e.startIndex,n),e.isLegalStyleList&&s&&t.addClass("legal-list",n),n}function _(e){const t=e.getStyle("mso-list");if(t===void 0)return{};const s=t.match(/(^|\s{1,100})l(\d+)/i),n=t.match(/\s{0,100}lfo(\d+)/i),i=t.match(/\s{0,100}level(\d+)/i);return s&&n&&i?{id:s[2],order:n[1],indent:parseInt(i[1])}:{indent:1}}function H(e,t){const s=new x({name:"span",styles:{"mso-list":"Ignore"}}),n=t.createRangeIn(e);for(const i of n)i.type==="elementStart"&&s.match(i.item)&&t.remove(i.item)}function V(e){const t=e.getStyle("margin-left");return t===void 0||t.endsWith("px")?t:W(t)}function q(e,t){if(!e.childCount)return;const s=new y(e.document),n=U(e,s);X(n,e,s),K(n,e,s),J(e,s);const i=Q(e,s);i.length&&Z(i,Y(t),s)}function G(e){return btoa(e.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function U(e,t){const s=t.createRangeIn(e),n=new x({name:/v:(.+)/}),i=[];for(const l of s){if(l.type!="elementStart")continue;const r=l.item,o=r.previousSibling,a=o&&o.is("element")?o.name:null,c=["Chart"],f=n.match(r),m=r.getAttribute("o:gfxdata"),d=a==="v:shapetype",u=m&&c.some(g=>r.getAttribute("id").includes(g));f&&m&&!d&&!u&&i.push(l.item.getAttribute("id"))}return i}function X(e,t,s){const n=s.createRangeIn(t),i=new x({name:"img"}),l=[];for(const r of n)if(r.item.is("element")&&i.match(r.item)){const o=r.item,a=o.getAttribute("v:shapes")?o.getAttribute("v:shapes").split(" "):[];a.length&&a.every(c=>e.indexOf(c)>-1)?l.push(o):o.getAttribute("src")||l.push(o)}for(const r of l)s.remove(r)}function J(e,t){const s=t.createRangeIn(e),n=new x({name:/v:(.+)/}),i=[];for(const l of s)l.type=="elementStart"&&n.match(l.item)&&i.push(l.item);for(const l of i)t.remove(l)}function K(e,t,s){const n=s.createRangeIn(t),i=[];for(const o of n)if(o.type=="elementStart"&&o.item.is("element","v:shape")){const a=o.item.getAttribute("id");if(e.includes(a))continue;l(o.item.parent.getChildren(),a)||i.push(o.item)}for(const o of i){const a={src:r(o)};o.hasAttribute("alt")&&(a.alt=o.getAttribute("alt"));const c=s.createElement("img",a);s.insertChild(o.index+1,c,o.parent)}function l(o,a){for(const c of o){/* istanbul ignore else -- @preserve */if(c.is("element")&&(c.name=="img"&&c.getAttribute("v:shapes")==a||l(c.getChildren(),a)))return!0}return!1}function r(o){for(const a of o.getChildren()){/* istanbul ignore else -- @preserve */if(a.is("element")&&a.getAttribute("src"))return a.getAttribute("src")}}}function Q(e,t){const s=t.createRangeIn(e),n=new x({name:"img"}),i=[];let l=0;for(const r of s)r.item.is("element")&&n.match(r.item)&&(r.item.getAttribute("src").startsWith("file://")&&i.push({element:r.item,imageIndex:l}),l++);return i}function Y(e){if(!e)return[];const t=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,s=new RegExp("(?:("+t.source+"))([\\da-fA-F\\s]+)\\}","g"),n=e.match(s),i=[];if(n)for(const l of n){let r=!1;l.includes("\\pngblip")?r="image/png":l.includes("\\jpegblip")&&(r="image/jpeg"),r&&i.push({hex:l.replace(t,"").replace(/[^\da-fA-F]/g,""),type:r})}return i}function Z(e,t,s){for(let n=0;n<e.length;n++){const{element:i,imageIndex:l}=e[n],r=t[l];if(r){const o=`data:${r.type};base64,${G(r.hex)}`;s.setAttribute("src",o,i)}}}function ee(e){const t=[],s=new y(e.document);for(const{item:n}of s.createRangeIn(e))if(n.is("element")){for(const i of n.getClassNames())/\bmso/gi.exec(i)&&s.removeClass(i,n);for(const i of n.getStyleNames())/\bmso/gi.exec(i)&&s.removeStyle(i,n);(n.is("element","w:sdt")||n.is("element","w:sdtpr")&&n.isEmpty||n.is("element","o:p")&&n.isEmpty)&&t.push(n)}for(const n of t){const i=n.parent,l=i.getChildIndex(n);s.insertChild(l,n.getChildren(),i),s.remove(n)}}const te=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,ne=/xmlns:o="urn:schemas-microsoft-com/i;class se{constructor(t,s=!1){b(this,"document");b(this,"hasMultiLevelListPlugin");this.document=t,this.hasMultiLevelListPlugin=s}isActive(t){return te.test(t)||ne.test(t)}execute(t){const s=new y(this.document),{body:n,stylesString:i}=t._parsedData;R(n,s),k(n,i,this.hasMultiLevelListPlugin),q(n,t.dataTransfer.getData("text/rtf")),ee(n),t.content=n}}/**
11
11
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
12
12
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
13
- */function ie(e,t){for(const s of e.getChildren())if(s.is("element","b")&&s.getStyle("font-weight")==="normal"){const n=e.getChildIndex(s);t.remove(s),t.insertChild(n,s.getChildren(),e)}}function oe(e,t){const s=new L(t.document.stylesProcessor),n=new E(s,{renderingMode:"data"}),i=n.blockElements,r=n.inlineObjectElements,l=[];for(const o of t.createRangeIn(e)){const a=o.item;if(a.is("element","br")){const c=I(a,"forward",t,{blockElements:i,inlineObjectElements:r}),f=I(a,"backward",t,{blockElements:i,inlineObjectElements:r}),m=C(c,i);(C(f,i)||m)&&l.push(a)}}for(const o of l)o.hasClass("Apple-interchange-newline")?t.remove(o):t.replace(o,t.createElement("p"))}function I(e,t,s,{blockElements:n,inlineObjectElements:i}){let r=s.createPositionAt(e,t=="forward"?"after":"before");return r=r.getLastMatchingPosition(({item:l})=>l.is("element")&&!n.includes(l.name)&&!i.includes(l.name),{direction:t}),t=="forward"?r.nodeAfter:r.nodeBefore}function C(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const re=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class le{constructor(t){b(this,"document");this.document=t}isActive(t){return re.test(t)}execute(t){const s=new y(this.document),{body:n}=t._parsedData;ie(n,s),D(n,s),oe(n,s),t.content=n}}/**
13
+ */function ie(e,t){for(const s of e.getChildren())if(s.is("element","b")&&s.getStyle("font-weight")==="normal"){const n=e.getChildIndex(s);t.remove(s),t.insertChild(n,s.getChildren(),e)}}function oe(e,t){const s=new L(t.document.stylesProcessor),n=new E(s,{renderingMode:"data"}),i=n.blockElements,l=n.inlineObjectElements,r=[];for(const o of t.createRangeIn(e)){const a=o.item;if(a.is("element","br")){const c=I(a,"forward",t,{blockElements:i,inlineObjectElements:l}),f=I(a,"backward",t,{blockElements:i,inlineObjectElements:l}),m=C(c,i);(C(f,i)||m)&&r.push(a)}}for(const o of r)o.hasClass("Apple-interchange-newline")?t.remove(o):t.replace(o,t.createElement("p"))}function I(e,t,s,{blockElements:n,inlineObjectElements:i}){let l=s.createPositionAt(e,t=="forward"?"after":"before");return l=l.getLastMatchingPosition(({item:r})=>r.is("element")&&!n.includes(r.name)&&!i.includes(r.name),{direction:t}),t=="forward"?l.nodeAfter:l.nodeBefore}function C(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const re=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class le{constructor(t){b(this,"document");this.document=t}isActive(t){return re.test(t)}execute(t){const s=new y(this.document),{body:n}=t._parsedData;ie(n,s),D(n,s),oe(n,s),t.content=n}}/**
14
14
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
15
15
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
16
16
  */function ce(e,t){for(const s of e.getChildren())s.is("element","table")&&s.hasAttribute("xmlns")&&t.removeAttribute("xmlns",s)}/**
@@ -25,4 +25,4 @@ var w=Object.defineProperty;var M=(e,t,s)=>t in e?w(e,t,{enumerable:!0,configura
25
25
  */function fe(e,t){for(const s of Array.from(e.getChildren()))s.is("element","style")&&t.remove(s)}const ue=/<google-sheets-html-origin/i;class de{constructor(t){b(this,"document");this.document=t}isActive(t){return ue.test(t)}execute(t){const s=new y(this.document),{body:n}=t._parsedData;ae(n,s),ce(n,s),me(n,s),fe(n,s),t.content=n}}/**
26
26
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
27
27
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
28
- */function ge(e){return A(A(e)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>(&nbsp;|\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}function pe(e){e.querySelectorAll("span[style*=spacerun]").forEach(t=>{const s=t,n=s.innerText.length||0;s.innerText=Array(n+1).join("  ").substr(0,n)})}function A(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(t,s)=>s.length===1?" ":Array(s.length+1).join("  ").substr(0,s.length))}function he(e,t){const s=new DOMParser;e=e.replace(/<!--\[if gte vml 1]>/g,""),e=e.replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,"");const n=ge(xe(e)),i=s.parseFromString(n,"text/html");pe(i);const r=i.body.innerHTML,l=ye(i,t),o=be(i);return{body:l,bodyString:r,styles:o.styles,stylesString:o.stylesString}}function ye(e,t){const s=new L(t),n=new E(s,{renderingMode:"data"}),i=e.createDocumentFragment(),r=e.body.childNodes;for(;r.length>0;)i.appendChild(r[0]);return n.domToView(i,{skipComments:!0})}function be(e){const t=[],s=[],n=Array.from(e.getElementsByTagName("style"));for(const i of n)i.sheet&&i.sheet.cssRules&&i.sheet.cssRules.length&&(t.push(i.sheet),s.push(i.innerHTML));return{styles:t,stylesString:s.join(" ")}}function xe(e){const t="</body>",s="</html>",n=e.indexOf(t);if(n<0)return e;const i=e.indexOf(s,n+t.length);return e.substring(0,n+t.length)+(i>=0?e.substring(i):"")}class Ae extends T{static get pluginName(){return"PasteFromOffice"}static get isOfficialPlugin(){return!0}static get requires(){return[P]}init(){const t=this.editor,s=t.plugins.get("ClipboardPipeline"),n=t.editing.view.document,i=[],r=this.editor.plugins.has("MultiLevelList");i.push(new se(n,r)),i.push(new le(n)),i.push(new de(n)),s.on("inputTransformation",(l,o)=>{if(o._isTransformedWithPasteFromOffice||t.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const c=o.dataTransfer.getData("text/html"),f=i.find(m=>m.isActive(c));f&&(o._parsedData||(o._parsedData=he(c,n.stylesProcessor)),f.execute(o),o._isTransformedWithPasteFromOffice=!0)},{priority:"high"})}}export{se as MSWordNormalizer,Ae as PasteFromOffice,he as parseHtml};
28
+ */function ge(e){return A(A(e)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>(&nbsp;|\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}function pe(e){e.querySelectorAll("span[style*=spacerun]").forEach(t=>{const s=t,n=s.innerText.length||0;s.innerText=Array(n+1).join("  ").substr(0,n)})}function A(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(t,s)=>s.length===1?" ":Array(s.length+1).join("  ").substr(0,s.length))}function he(e,t){const s=new DOMParser;e=e.replace(/<!--\[if gte vml 1]>/g,""),e=e.replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,"");const n=ge(xe(e)),i=s.parseFromString(n,"text/html");pe(i);const l=i.body.innerHTML,r=ye(i,t),o=be(i);return{body:r,bodyString:l,styles:o.styles,stylesString:o.stylesString}}function ye(e,t){const s=new L(t),n=new E(s,{renderingMode:"data"}),i=e.createDocumentFragment(),l=e.body.childNodes;for(;l.length>0;)i.appendChild(l[0]);return n.domToView(i,{skipComments:!0})}function be(e){const t=[],s=[],n=Array.from(e.getElementsByTagName("style"));for(const i of n)i.sheet&&i.sheet.cssRules&&i.sheet.cssRules.length&&(t.push(i.sheet),s.push(i.innerHTML));return{styles:t,stylesString:s.join(" ")}}function xe(e){const t="</body>",s="</html>",n=e.indexOf(t);if(n<0)return e;const i=e.indexOf(s,n+t.length);return e.substring(0,n+t.length)+(i>=0?e.substring(i):"")}class Ae extends T{static get pluginName(){return"PasteFromOffice"}static get isOfficialPlugin(){return!0}static get requires(){return[P]}init(){const t=this.editor,s=t.plugins.get("ClipboardPipeline"),n=t.editing.view.document,i=[],l=this.editor.plugins.has("MultiLevelList");i.push(new se(n,l)),i.push(new le(n)),i.push(new de(n)),s.on("inputTransformation",(r,o)=>{if(o._isTransformedWithPasteFromOffice||t.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const c=o.dataTransfer.getData("text/html"),f=i.find(m=>m.isActive(c));f&&(o._parsedData||(o._parsedData=he(c,n.stylesProcessor)),f.execute(o),o._isTransformedWithPasteFromOffice=!0)},{priority:"high"})}}export{se as MSWordNormalizer,Ae as PasteFromOffice,he as parseHtml};
@@ -1,4 +1,4 @@
1
- import{Plugin as a,Command as u}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconRemoveFormat as g}from"../../../../../@ckeditor_ckeditor5-icons@45.0.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as l,MenuBarMenuListItemButtonView as d}from"../../../../../@ckeditor_ckeditor5-ui@45.0.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{first as c}from"../../../../../@ckeditor_ckeditor5-utils@45.0.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
1
+ import{Plugin as a,Command as u}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconRemoveFormat as g}from"../../../../../@ckeditor_ckeditor5-icons@45.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as l,MenuBarMenuListItemButtonView as d}from"../../../../../@ckeditor_ckeditor5-ui@45.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{first as c}from"../../../../../@ckeditor_ckeditor5-utils@45.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */const n="removeFormat";class f extends a{static get pluginName(){return"RemoveFormatUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.ui.componentFactory.add(n,()=>{const e=this._createButton(l);return e.set({tooltip:!0}),e}),t.ui.componentFactory.add(`menuBar:${n}`,()=>this._createButton(d))}_createButton(t){const e=this.editor,i=e.locale,o=e.commands.get(n),r=new t(e.locale),m=i.t;return r.set({label:m("Remove Format"),icon:g}),r.bind("isEnabled").to(o,"isEnabled"),this.listenTo(r,"execute",()=>{e.execute(n),e.editing.view.focus()}),r}}class F extends u{refresh(){const t=this.editor.model;this.isEnabled=!!c(this._getFormattingItems(t.document.selection,t.schema))}execute(){const t=this.editor.model,e=t.schema;t.change(i=>{for(const o of this._getFormattingItems(t.document.selection,e))if(o.is("selection"))for(const r of this._getFormattingAttributes(o,e))i.removeSelectionAttribute(r);else{const r=i.createRangeOn(o);for(const m of this._getFormattingAttributes(o,e))i.removeAttribute(m,r)}})}*_getFormattingItems(t,e){const i=o=>!!c(this._getFormattingAttributes(o,e));for(const o of t.getRanges())for(const r of o.getItems())!e.isBlock(r)&&i(r)&&(yield r);for(const o of t.getSelectedBlocks())i(o)&&(yield o);i(t)&&(yield t)}*_getFormattingAttributes(t,e){for(const[i]of t.getAttributes()){const o=e.getAttributeProperties(i);o&&o.isFormatting&&(yield i)}}}class b extends a{static get pluginName(){return"RemoveFormatEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.commands.add("removeFormat",new F(t))}}class _ extends a{static get requires(){return[b,f]}static get pluginName(){return"RemoveFormat"}static get isOfficialPlugin(){return!0}}export{_ as RemoveFormat,b as RemoveFormatEditing,f as RemoveFormatUI};
@@ -1,4 +1,4 @@
1
- import{Plugin as o,Command as a}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{getCode as u,parseKeystroke as d}from"../../../../../@ckeditor_ckeditor5-utils@45.0.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{IconSelectAll as m}from"../../../../../@ckeditor_ckeditor5-icons@45.0.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as g,MenuBarMenuListItemButtonView as f}from"../../../../../@ckeditor_ckeditor5-ui@45.0.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
1
+ import{Plugin as o,Command as a}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{getCode as u,parseKeystroke as d}from"../../../../../@ckeditor_ckeditor5-utils@45.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{IconSelectAll as m}from"../../../../../@ckeditor_ckeditor5-icons@45.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as g,MenuBarMenuListItemButtonView as f}from"../../../../../@ckeditor_ckeditor5-ui@45.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class A extends a{constructor(e){super(e),this.affectsData=!1}execute(){const e=this.editor.model,t=e.document.selection;let i=e.schema.getLimitElement(t);if(t.containsEntireContent(i)||!r(e.schema,i))do if(i=i.parent,!i)return;while(!r(e.schema,i));e.change(n=>{n.setSelection(i,"in")})}}function r(l,e){return l.isLimit(e)&&(l.checkChild(e,"$text")||l.checkChild(e,"paragraph"))}const p=d("Ctrl+A");class h extends o{static get pluginName(){return"SelectAllEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,n=e.editing.view.document;e.commands.add("selectAll",new A(e)),this.listenTo(n,"keydown",(c,s)=>{u(s)===p&&(e.execute("selectAll"),s.preventDefault())}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Select all"),keystroke:"CTRL+A"}]})}}class S extends o{static get pluginName(){return"SelectAllUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("selectAll",()=>{const t=this._createButton(g);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:selectAll",()=>this._createButton(f))}_createButton(e){const t=this.editor,i=t.locale,n=t.commands.get("selectAll"),c=new e(t.locale),s=i.t;return c.set({label:s("Select all"),icon:m,keystroke:"Ctrl+A"}),c.bind("isEnabled").to(n,"isEnabled"),this.listenTo(c,"execute",()=>{t.execute("selectAll"),t.editing.view.focus()}),c}}class E extends o{static get requires(){return[h,S]}static get pluginName(){return"SelectAll"}static get isOfficialPlugin(){return!0}}export{E as SelectAll,h as SelectAllEditing,S as SelectAllUI};
@@ -1,4 +1,4 @@
1
- import{Plugin as c,Command as u}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconShowBlocks as d}from"../../../../../@ckeditor_ckeditor5-icons@45.0.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as h,MenuBarMenuListItemButtonView as m}from"../../../../../@ckeditor_ckeditor5-ui@45.0.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
1
+ import{Plugin as c,Command as u}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconShowBlocks as d}from"../../../../../@ckeditor_ckeditor5-icons@45.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as h,MenuBarMenuListItemButtonView as m}from"../../../../../@ckeditor_ckeditor5-ui@45.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class w extends u{constructor(t){super(t),this.affectsData=!1,this.value=!1}execute(){const t="ck-show-blocks",e=this.editor.editing.view;e.change(s=>{for(const o of e.document.roots)o.hasClass(t)?(s.removeClass(t,o),this.value=!1):(s.addClass(t,o),this.value=!0)})}}class g extends c{static get pluginName(){return"ShowBlocksEditing"}static get isOfficialPlugin(){return!0}init(){const{editor:t}=this;t.commands.add("showBlocks",new w(t))}}class B extends c{static get pluginName(){return"ShowBlocksUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.ui.componentFactory.add("showBlocks",()=>{const e=this._createButton(h);return e.set({tooltip:!0,icon:d}),e}),t.ui.componentFactory.add("menuBar:showBlocks",()=>this._createButton(m))}_createButton(t){const e=this.editor,s=e.locale,o=e.commands.get("showBlocks"),i=new t(s),a=s.t;return i.set({label:a("Show blocks"),isToggleable:!0,role:"menuitemcheckbox"}),i.bind("isEnabled").to(o),i.bind("isOn").to(o,"value",o,"isEnabled",(l,r)=>l&&r),this.listenTo(i,"execute",()=>{e.execute("showBlocks"),e.editing.view.focus()}),i}}class S extends c{static get pluginName(){return"ShowBlocks"}static get isOfficialPlugin(){return!0}static get requires(){return[g,B]}}export{S as ShowBlocks,w as ShowBlocksCommand,g as ShowBlocksEditing,B as ShowBlocksUI};
@@ -1,4 +1,4 @@
1
- var E=Object.defineProperty;var b=(s,a,e)=>a in s?E(s,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[a]=e;var l=(s,a,e)=>b(s,typeof a!="symbol"?a+"":a,e);import{Plugin as V,PendingActions as h}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconSource as _}from"../../../../../@ckeditor_ckeditor5-icons@45.0.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as w,MenuBarMenuListItemButtonView as R}from"../../../../../@ckeditor_ckeditor5-ui@45.0.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{ElementReplacer as S,CKEditorError as y,createElement as f}from"../../../../../@ckeditor_ckeditor5-utils@45.0.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
1
+ var E=Object.defineProperty;var b=(s,a,e)=>a in s?E(s,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[a]=e;var l=(s,a,e)=>b(s,typeof a!="symbol"?a+"":a,e);import{Plugin as V,PendingActions as h}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconSource as _}from"../../../../../@ckeditor_ckeditor5-icons@45.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as w,MenuBarMenuListItemButtonView as R}from"../../../../../@ckeditor_ckeditor5-ui@45.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{ElementReplacer as S,CKEditorError as y,createElement as f}from"../../../../../@ckeditor_ckeditor5-utils@45.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  *//**
@@ -1,4 +1,4 @@
1
- var k=Object.defineProperty;var C=(c,i,t)=>i in c?k(c,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):c[i]=t;var s=(c,i,t)=>C(c,typeof i!="symbol"?i+"":i,t);import{Plugin as u}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Typing as _}from"../../../../../@ckeditor_ckeditor5-typing@45.0.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{IconSpecialCharacters as y}from"../../../../../@ckeditor_ckeditor5-icons@45.0.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{Dialog as x,ButtonView as m,MenuBarMenuListItemButtonView as v,DialogViewPosition as T,View as d,LabeledFieldView as V,createLabeledDropdown as S,ViewModel as D,addListToDropdown as P,addKeyboardHandlingForGrid as G,FocusCycler as q}from"../../../../../@ckeditor_ckeditor5-ui@45.0.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{CKEditorError as p,Collection as N,FocusTracker as L,KeystrokeHandler as f,global as I}from"../../../../../@ckeditor_ckeditor5-utils@45.0.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
1
+ var k=Object.defineProperty;var C=(c,i,t)=>i in c?k(c,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):c[i]=t;var s=(c,i,t)=>C(c,typeof i!="symbol"?i+"":i,t);import{Plugin as u}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Typing as _}from"../../../../../@ckeditor_ckeditor5-typing@45.1.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{IconSpecialCharacters as y}from"../../../../../@ckeditor_ckeditor5-icons@45.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{Dialog as x,ButtonView as m,MenuBarMenuListItemButtonView as v,DialogViewPosition as T,View as d,LabeledFieldView as V,createLabeledDropdown as S,ViewModel as D,addListToDropdown as P,addKeyboardHandlingForGrid as G,FocusCycler as q}from"../../../../../@ckeditor_ckeditor5-ui@45.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{CKEditorError as p,Collection as N,FocusTracker as L,KeystrokeHandler as f,global as I}from"../../../../../@ckeditor_ckeditor5-utils@45.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class A extends d{constructor(t){super(t);s(this,"tiles");s(this,"focusTracker");s(this,"keystrokes");this.tiles=this.createCollection(),this.setTemplate({tag:"div",children:[{tag:"div",attributes:{class:["ck","ck-character-grid__tiles"]},children:this.tiles}],attributes:{class:["ck","ck-character-grid"]}}),this.focusTracker=new L,this.keystrokes=new f,G({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.tiles,numberOfColumns:()=>I.window.getComputedStyle(this.element.firstChild).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}createTile(t,e){const a=new m(this.locale);return a.set({label:t,withText:!0,class:"ck-character-grid__tile"}),a.extendTemplate({attributes:{title:e},on:{mouseover:a.bindTemplate.to("mouseover"),focus:a.bindTemplate.to("focus")}}),a.on("mouseover",()=>{this.fire("tileHover",{name:e,character:t})}),a.on("focus",()=>{this.fire("tileFocus",{name:e,character:t})}),a.on("execute",()=>{this.fire("execute",{name:e,character:t})}),a}render(){super.render();for(const t of this.tiles)this.focusTracker.add(t.element);this.tiles.on("change",(t,{added:e,removed:a})=>{if(e.length>0)for(const r of e)this.focusTracker.add(r.element);if(a.length>0)for(const r of a)this.focusTracker.remove(r.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}focus(){this.tiles.first.focus()}}class E extends d{constructor(i){super(i);const t=this.bindTemplate;this.set("character",null),this.set("name",null),this.bind("code").to(this,"character",M),this.setTemplate({tag:"div",children:[{tag:"span",attributes:{class:["ck-character-info__name"]},children:[{text:t.to("name",e=>e||"​")}]},{tag:"span",attributes:{class:["ck-character-info__code"]},children:[{text:t.to("code")}]}],attributes:{class:["ck","ck-character-info"]}})}}function M(c){return c===null?"":"U+"+("0000"+c.codePointAt(0).toString(16)).slice(-4)}class O extends d{constructor(t,e,a,r){super(t);s(this,"items");s(this,"focusTracker");s(this,"keystrokes");s(this,"_focusCycler");s(this,"categoriesView");s(this,"gridView");s(this,"infoView");this.categoriesView=e,this.gridView=a,this.infoView=r,this.items=this.createCollection(),this.focusTracker=new L,this.keystrokes=new f,this._focusCycler=new q({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",children:[this.categoriesView,this.gridView,this.infoView],attributes:{tabindex:"-1"}}),this.items.add(this.categoriesView),this.items.add(this.gridView)}render(){super.render(),this.focusTracker.add(this.categoriesView.element),this.focusTracker.add(this.gridView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}class F extends d{constructor(t,e){super(t);s(this,"_groupNames");s(this,"_dropdownView");this.set("currentGroupName",Array.from(e.entries())[0][0]),this._groupNames=e,this._dropdownView=new V(t,S),this.setTemplate({tag:"div",attributes:{class:["ck","ck-character-categories"]},children:[this._dropdownView]})}render(){super.render(),this._setupDropdown()}focus(){this._dropdownView.focus()}_setupDropdown(){const t=new N;for(const[r,l]of this._groupNames){const o={type:"button",model:new D({name:r,label:l,role:"menuitemradio",withText:!0})};o.model.bind("isOn").to(this,"currentGroupName",n=>n===r),t.add(o)}const e=this.locale.t,a=e("Category");this._dropdownView.set({label:a,isEmpty:!1}),this._dropdownView.fieldView.panelPosition=this.locale.uiLanguageDirection==="rtl"?"se":"sw",this._dropdownView.fieldView.buttonView.set({withText:!0,tooltip:a,ariaLabel:a,ariaLabelledBy:void 0,isOn:!1}),this._dropdownView.fieldView.buttonView.bind("label").to(this,"currentGroupName",r=>this._groupNames.get(r)),this._dropdownView.fieldView.on("execute",({source:r})=>{this.currentGroupName=r.name}),P(this._dropdownView.fieldView,t,{ariaLabel:a,role:"menu"})}}const w="All";class J extends u{constructor(t){super(t);s(this,"_characters");s(this,"_groups");s(this,"_allSpecialCharactersGroupLabel");const e=t.t;this._characters=new Map,this._groups=new Map,this._allSpecialCharactersGroupLabel=e("All")}static get requires(){return[_,x]}static get pluginName(){return"SpecialCharacters"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.ui.componentFactory.add("specialCharacters",()=>{const e=this._createDialogButton(m);return e.set({tooltip:!0}),e}),t.ui.componentFactory.add("menuBar:specialCharacters",()=>this._createDialogButton(v))}addItems(t,e,a={label:t}){if(t===w)throw new p("special-character-invalid-group-name",null);const r=this._getGroup(t,a.label);for(const l of e)r.items.add(l.title),this._characters.set(l.title,l.character)}getGroups(){const t=Array.from(this._groups.keys()),e=this.editor.config.get("specialCharacters.order")||[],a=e.find(r=>!t.includes(r));if(a)throw new p("special-character-invalid-order-group-name",null,{invalidGroup:a});return new Set([...e,...t])}getCharactersForGroup(t){if(t===w)return new Set(this._characters.keys());const e=this._groups.get(t);if(e)return e.items}getCharacter(t){return this._characters.get(t)}_getGroup(t,e){return this._groups.has(t)||this._groups.set(t,{items:new Set,label:e}),this._groups.get(t)}_updateGrid(t,e){e.tiles.clear();const a=this.getCharactersForGroup(t);for(const r of a){const l=this.getCharacter(r);e.tiles.add(e.createTile(l,r))}}_createDropdownPanelContent(t){const e=Array.from(this.getGroups()).map(n=>[n,this._groups.get(n).label]),a=new Map([[w,this._allSpecialCharactersGroupLabel],...e]),r=new F(t,a),l=new A(t),o=new E(t);return l.on("tileHover",(n,h)=>{o.set(h)}),l.on("tileFocus",(n,h)=>{o.set(h)}),r.on("change:currentGroupName",(n,h,g)=>{this._updateGrid(g,l)}),this._updateGrid(r.currentGroupName,l),{categoriesView:r,gridView:l,infoView:o}}_createDialogButton(t){const e=this.editor,a=e.locale,r=new t(e.locale),l=e.commands.get("insertText"),o=a.t,n=this.editor.plugins.get("Dialog");return r.set({label:o("Special characters"),icon:y,isToggleable:!0}),r.bind("isOn").to(n,"id",h=>h==="specialCharacters"),r.bind("isEnabled").to(l,"isEnabled"),r.on("execute",()=>{if(n.id==="specialCharacters"){n.hide();return}this._showDialog()}),r}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),a=t.locale,r=a.t,{categoriesView:l,gridView:o,infoView:n}=this._createDropdownPanelContent(a),h=new O(a,l,o,n);o.on("execute",(g,b)=>{t.execute("insertText",{text:b.character})}),e.show({id:"specialCharacters",title:r("Special characters"),className:"ck-special-characters",content:h,position:T.EDITOR_TOP_SIDE})}}class R extends u{static get pluginName(){return"SpecialCharactersArrows"}static get isOfficialPlugin(){return!0}init(){const i=this.editor,t=i.t;i.plugins.get("SpecialCharacters").addItems("Arrows",[{title:t("leftwards simple arrow"),character:"←"},{title:t("rightwards simple arrow"),character:"→"},{title:t("upwards simple arrow"),character:"↑"},{title:t("downwards simple arrow"),character:"↓"},{title:t("leftwards double arrow"),character:"⇐"},{title:t("rightwards double arrow"),character:"⇒"},{title:t("upwards double arrow"),character:"⇑"},{title:t("downwards double arrow"),character:"⇓"},{title:t("leftwards dashed arrow"),character:"⇠"},{title:t("rightwards dashed arrow"),character:"⇢"},{title:t("upwards dashed arrow"),character:"⇡"},{title:t("downwards dashed arrow"),character:"⇣"},{title:t("leftwards arrow to bar"),character:"⇤"},{title:t("rightwards arrow to bar"),character:"⇥"},{title:t("upwards arrow to bar"),character:"⤒"},{title:t("downwards arrow to bar"),character:"⤓"},{title:t("up down arrow with base"),character:"↨"},{title:t("back with leftwards arrow above"),character:"🔙"},{title:t("end with leftwards arrow above"),character:"🔚"},{title:t("on with exclamation mark with left right arrow above"),character:"🔛"},{title:t("soon with rightwards arrow above"),character:"🔜"},{title:t("top with upwards arrow above"),character:"🔝"}],{label:t("Arrows")})}}class B extends u{static get pluginName(){return"SpecialCharactersText"}static get isOfficialPlugin(){return!0}init(){const i=this.editor,t=i.t;i.plugins.get("SpecialCharacters").addItems("Text",[{character:"‹",title:t("Single left-pointing angle quotation mark")},{character:"›",title:t("Single right-pointing angle quotation mark")},{character:"«",title:t("Left-pointing double angle quotation mark")},{character:"»",title:t("Right-pointing double angle quotation mark")},{character:"‘",title:t("Left single quotation mark")},{character:"’",title:t("Right single quotation mark")},{character:"“",title:t("Left double quotation mark")},{character:"”",title:t("Right double quotation mark")},{character:"‚",title:t("Single low-9 quotation mark")},{character:"„",title:t("Double low-9 quotation mark")},{character:"¡",title:t("Inverted exclamation mark")},{character:"¿",title:t("Inverted question mark")},{character:"‥",title:t("Two dot leader")},{character:"…",title:t("Horizontal ellipsis")},{character:"‡",title:t("Double dagger")},{character:"‰",title:t("Per mille sign")},{character:"‱",title:t("Per ten thousand sign")},{character:"‼",title:t("Double exclamation mark")},{character:"⁈",title:t("Question exclamation mark")},{character:"⁉",title:t("Exclamation question mark")},{character:"⁇",title:t("Double question mark")},{character:"©",title:t("Copyright sign")},{character:"®",title:t("Registered sign")},{character:"™",title:t("Trade mark sign")},{character:"§",title:t("Section sign")},{character:"¶",title:t("Paragraph sign")},{character:"⁋",title:t("Reversed paragraph sign")}],{label:t("Text")})}}class H extends u{static get pluginName(){return"SpecialCharactersMathematical"}static get isOfficialPlugin(){return!0}init(){const i=this.editor,t=i.t;i.plugins.get("SpecialCharacters").addItems("Mathematical",[{character:"<",title:t("Less-than sign")},{character:">",title:t("Greater-than sign")},{character:"≤",title:t("Less-than or equal to")},{character:"≥",title:t("Greater-than or equal to")},{character:"–",title:t("En dash")},{character:"—",title:t("Em dash")},{character:"¯",title:t("Macron")},{character:"‾",title:t("Overline")},{character:"°",title:t("Degree sign")},{character:"−",title:t("Minus sign")},{character:"±",title:t("Plus-minus sign")},{character:"÷",title:t("Division sign")},{character:"⁄",title:t("Fraction slash")},{character:"×",title:t("Multiplication sign")},{character:"ƒ",title:t("Latin small letter f with hook")},{character:"∫",title:t("Integral")},{character:"∑",title:t("N-ary summation")},{character:"∞",title:t("Infinity")},{character:"√",title:t("Square root")},{character:"∼",title:t("Tilde operator")},{character:"≅",title:t("Approximately equal to")},{character:"≈",title:t("Almost equal to")},{character:"≠",title:t("Not equal to")},{character:"≡",title:t("Identical to")},{character:"∈",title:t("Element of")},{character:"∉",title:t("Not an element of")},{character:"∋",title:t("Contains as member")},{character:"∏",title:t("N-ary product")},{character:"∧",title:t("Logical and")},{character:"∨",title:t("Logical or")},{character:"¬",title:t("Not sign")},{character:"∩",title:t("Intersection")},{character:"∪",title:t("Union")},{character:"∂",title:t("Partial differential")},{character:"∀",title:t("For all")},{character:"∃",title:t("There exists")},{character:"∅",title:t("Empty set")},{character:"∇",title:t("Nabla")},{character:"∗",title:t("Asterisk operator")},{character:"∝",title:t("Proportional to")},{character:"∠",title:t("Angle")},{character:"¼",title:t("Vulgar fraction one quarter")},{character:"½",title:t("Vulgar fraction one half")},{character:"¾",title:t("Vulgar fraction three quarters")}],{label:t("Mathematical")})}}class z extends u{static get pluginName(){return"SpecialCharactersLatin"}static get isOfficialPlugin(){return!0}init(){const i=this.editor,t=i.t;i.plugins.get("SpecialCharacters").addItems("Latin",[{character:"Ā",title:t("Latin capital letter a with macron")},{character:"ā",title:t("Latin small letter a with macron")},{character:"Ă",title:t("Latin capital letter a with breve")},{character:"ă",title:t("Latin small letter a with breve")},{character:"Ą",title:t("Latin capital letter a with ogonek")},{character:"ą",title:t("Latin small letter a with ogonek")},{character:"Ć",title:t("Latin capital letter c with acute")},{character:"ć",title:t("Latin small letter c with acute")},{character:"Ĉ",title:t("Latin capital letter c with circumflex")},{character:"ĉ",title:t("Latin small letter c with circumflex")},{character:"Ċ",title:t("Latin capital letter c with dot above")},{character:"ċ",title:t("Latin small letter c with dot above")},{character:"Č",title:t("Latin capital letter c with caron")},{character:"č",title:t("Latin small letter c with caron")},{character:"Ď",title:t("Latin capital letter d with caron")},{character:"ď",title:t("Latin small letter d with caron")},{character:"Đ",title:t("Latin capital letter d with stroke")},{character:"đ",title:t("Latin small letter d with stroke")},{character:"Ē",title:t("Latin capital letter e with macron")},{character:"ē",title:t("Latin small letter e with macron")},{character:"Ĕ",title:t("Latin capital letter e with breve")},{character:"ĕ",title:t("Latin small letter e with breve")},{character:"Ė",title:t("Latin capital letter e with dot above")},{character:"ė",title:t("Latin small letter e with dot above")},{character:"Ę",title:t("Latin capital letter e with ogonek")},{character:"ę",title:t("Latin small letter e with ogonek")},{character:"Ě",title:t("Latin capital letter e with caron")},{character:"ě",title:t("Latin small letter e with caron")},{character:"Ĝ",title:t("Latin capital letter g with circumflex")},{character:"ĝ",title:t("Latin small letter g with circumflex")},{character:"Ğ",title:t("Latin capital letter g with breve")},{character:"ğ",title:t("Latin small letter g with breve")},{character:"Ġ",title:t("Latin capital letter g with dot above")},{character:"ġ",title:t("Latin small letter g with dot above")},{character:"Ģ",title:t("Latin capital letter g with cedilla")},{character:"ģ",title:t("Latin small letter g with cedilla")},{character:"Ĥ",title:t("Latin capital letter h with circumflex")},{character:"ĥ",title:t("Latin small letter h with circumflex")},{character:"Ħ",title:t("Latin capital letter h with stroke")},{character:"ħ",title:t("Latin small letter h with stroke")},{character:"Ĩ",title:t("Latin capital letter i with tilde")},{character:"ĩ",title:t("Latin small letter i with tilde")},{character:"Ī",title:t("Latin capital letter i with macron")},{character:"ī",title:t("Latin small letter i with macron")},{character:"Ĭ",title:t("Latin capital letter i with breve")},{character:"ĭ",title:t("Latin small letter i with breve")},{character:"Į",title:t("Latin capital letter i with ogonek")},{character:"į",title:t("Latin small letter i with ogonek")},{character:"İ",title:t("Latin capital letter i with dot above")},{character:"ı",title:t("Latin small letter dotless i")},{character:"IJ",title:t("Latin capital ligature ij")},{character:"ij",title:t("Latin small ligature ij")},{character:"Ĵ",title:t("Latin capital letter j with circumflex")},{character:"ĵ",title:t("Latin small letter j with circumflex")},{character:"Ķ",title:t("Latin capital letter k with cedilla")},{character:"ķ",title:t("Latin small letter k with cedilla")},{character:"ĸ",title:t("Latin small letter kra")},{character:"Ĺ",title:t("Latin capital letter l with acute")},{character:"ĺ",title:t("Latin small letter l with acute")},{character:"Ļ",title:t("Latin capital letter l with cedilla")},{character:"ļ",title:t("Latin small letter l with cedilla")},{character:"Ľ",title:t("Latin capital letter l with caron")},{character:"ľ",title:t("Latin small letter l with caron")},{character:"Ŀ",title:t("Latin capital letter l with middle dot")},{character:"ŀ",title:t("Latin small letter l with middle dot")},{character:"Ł",title:t("Latin capital letter l with stroke")},{character:"ł",title:t("Latin small letter l with stroke")},{character:"Ń",title:t("Latin capital letter n with acute")},{character:"ń",title:t("Latin small letter n with acute")},{character:"Ņ",title:t("Latin capital letter n with cedilla")},{character:"ņ",title:t("Latin small letter n with cedilla")},{character:"Ň",title:t("Latin capital letter n with caron")},{character:"ň",title:t("Latin small letter n with caron")},{character:"ʼn",title:t("Latin small letter n preceded by apostrophe")},{character:"Ŋ",title:t("Latin capital letter eng")},{character:"ŋ",title:t("Latin small letter eng")},{character:"Ō",title:t("Latin capital letter o with macron")},{character:"ō",title:t("Latin small letter o with macron")},{character:"Ŏ",title:t("Latin capital letter o with breve")},{character:"ŏ",title:t("Latin small letter o with breve")},{character:"Ő",title:t("Latin capital letter o with double acute")},{character:"ő",title:t("Latin small letter o with double acute")},{character:"Œ",title:t("Latin capital ligature oe")},{character:"œ",title:t("Latin small ligature oe")},{character:"Ŕ",title:t("Latin capital letter r with acute")},{character:"ŕ",title:t("Latin small letter r with acute")},{character:"Ŗ",title:t("Latin capital letter r with cedilla")},{character:"ŗ",title:t("Latin small letter r with cedilla")},{character:"Ř",title:t("Latin capital letter r with caron")},{character:"ř",title:t("Latin small letter r with caron")},{character:"Ś",title:t("Latin capital letter s with acute")},{character:"ś",title:t("Latin small letter s with acute")},{character:"Ŝ",title:t("Latin capital letter s with circumflex")},{character:"ŝ",title:t("Latin small letter s with circumflex")},{character:"Ş",title:t("Latin capital letter s with cedilla")},{character:"ş",title:t("Latin small letter s with cedilla")},{character:"Š",title:t("Latin capital letter s with caron")},{character:"š",title:t("Latin small letter s with caron")},{character:"Ţ",title:t("Latin capital letter t with cedilla")},{character:"ţ",title:t("Latin small letter t with cedilla")},{character:"Ť",title:t("Latin capital letter t with caron")},{character:"ť",title:t("Latin small letter t with caron")},{character:"Ŧ",title:t("Latin capital letter t with stroke")},{character:"ŧ",title:t("Latin small letter t with stroke")},{character:"Ũ",title:t("Latin capital letter u with tilde")},{character:"ũ",title:t("Latin small letter u with tilde")},{character:"Ū",title:t("Latin capital letter u with macron")},{character:"ū",title:t("Latin small letter u with macron")},{character:"Ŭ",title:t("Latin capital letter u with breve")},{character:"ŭ",title:t("Latin small letter u with breve")},{character:"Ů",title:t("Latin capital letter u with ring above")},{character:"ů",title:t("Latin small letter u with ring above")},{character:"Ű",title:t("Latin capital letter u with double acute")},{character:"ű",title:t("Latin small letter u with double acute")},{character:"Ų",title:t("Latin capital letter u with ogonek")},{character:"ų",title:t("Latin small letter u with ogonek")},{character:"Ŵ",title:t("Latin capital letter w with circumflex")},{character:"ŵ",title:t("Latin small letter w with circumflex")},{character:"Ŷ",title:t("Latin capital letter y with circumflex")},{character:"ŷ",title:t("Latin small letter y with circumflex")},{character:"Ÿ",title:t("Latin capital letter y with diaeresis")},{character:"Ź",title:t("Latin capital letter z with acute")},{character:"ź",title:t("Latin small letter z with acute")},{character:"Ż",title:t("Latin capital letter z with dot above")},{character:"ż",title:t("Latin small letter z with dot above")},{character:"Ž",title:t("Latin capital letter z with caron")},{character:"ž",title:t("Latin small letter z with caron")},{character:"ſ",title:t("Latin small letter long s")}],{label:t("Latin")})}}class j extends u{static get pluginName(){return"SpecialCharactersCurrency"}static get isOfficialPlugin(){return!0}init(){const i=this.editor,t=i.t;i.plugins.get("SpecialCharacters").addItems("Currency",[{character:"$",title:t("Dollar sign")},{character:"€",title:t("Euro sign")},{character:"¥",title:t("Yen sign")},{character:"£",title:t("Pound sign")},{character:"¢",title:t("Cent sign")},{character:"₠",title:t("Euro-currency sign")},{character:"₡",title:t("Colon sign")},{character:"₢",title:t("Cruzeiro sign")},{character:"₣",title:t("French franc sign")},{character:"₤",title:t("Lira sign")},{character:"¤",title:t("Currency sign")},{character:"₿",title:t("Bitcoin sign")},{character:"₥",title:t("Mill sign")},{character:"₦",title:t("Naira sign")},{character:"₧",title:t("Peseta sign")},{character:"₨",title:t("Rupee sign")},{character:"₩",title:t("Won sign")},{character:"₪",title:t("New sheqel sign")},{character:"₫",title:t("Dong sign")},{character:"₭",title:t("Kip sign")},{character:"₮",title:t("Tugrik sign")},{character:"₯",title:t("Drachma sign")},{character:"₰",title:t("German penny sign")},{character:"₱",title:t("Peso sign")},{character:"₲",title:t("Guarani sign")},{character:"₳",title:t("Austral sign")},{character:"₴",title:t("Hryvnia sign")},{character:"₵",title:t("Cedi sign")},{character:"₶",title:t("Livre tournois sign")},{character:"₷",title:t("Spesmilo sign")},{character:"₸",title:t("Tenge sign")},{character:"₹",title:t("Indian rupee sign")},{character:"₺",title:t("Turkish lira sign")},{character:"₻",title:t("Nordic mark sign")},{character:"₼",title:t("Manat sign")},{character:"₽",title:t("Ruble sign")}],{label:t("Currency")})}}class X extends u{static get pluginName(){return"SpecialCharactersEssentials"}static get isOfficialPlugin(){return!0}static get requires(){return[j,B,H,R,z]}}export{J as SpecialCharacters,R as SpecialCharactersArrows,j as SpecialCharactersCurrency,X as SpecialCharactersEssentials,z as SpecialCharactersLatin,H as SpecialCharactersMathematical,B as SpecialCharactersText};
@@ -1,4 +1,4 @@
1
- var w=Object.defineProperty;var A=(n,r,t)=>r in n?w(n,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[r]=t;var u=(n,r,t)=>A(n,typeof r!="symbol"?r+"":r,t);import{Plugin as g,Command as B}from"../../../../../@ckeditor_ckeditor5-core@45.0.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{createDropdown as F,View as m,ViewCollection as V,FocusCycler as T,LabelView as v,addKeyboardHandlingForGrid as U,ButtonView as E}from"../../../../../@ckeditor_ckeditor5-ui@45.0.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{first as x,logWarning as C,FocusTracker as k,KeystrokeHandler as _}from"../../../../../@ckeditor_ckeditor5-utils@45.0.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{findAttributeRange as D,findAttributeRangeBound as G}from"../../../../../@ckeditor_ckeditor5-typing@45.0.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{isObject as H}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isObject.js";/**
1
+ var w=Object.defineProperty;var A=(n,r,t)=>r in n?w(n,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[r]=t;var u=(n,r,t)=>A(n,typeof r!="symbol"?r+"":r,t);import{Plugin as g,Command as B}from"../../../../../@ckeditor_ckeditor5-core@45.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{createDropdown as F,View as m,ViewCollection as V,FocusCycler as T,LabelView as v,addKeyboardHandlingForGrid as U,ButtonView as E}from"../../../../../@ckeditor_ckeditor5-ui@45.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{first as x,logWarning as C,FocusTracker as k,KeystrokeHandler as _}from"../../../../../@ckeditor_ckeditor5-utils@45.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{findAttributeRange as D,findAttributeRangeBound as G}from"../../../../../@ckeditor_ckeditor5-typing@45.1.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{isObject as H}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isObject.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class N extends E{constructor(t,e){super(t);u(this,"styleDefinition");u(this,"previewView");this.styleDefinition=e,this.previewView=this._createPreview(),this.set({label:e.name,class:"ck-style-grid__button",withText:!0}),this.extendTemplate({attributes:{role:"option"}}),this.children.add(this.previewView,0)}_createPreview(){const t=new m(this.locale);return t.setTemplate({tag:"div",attributes:{class:["ck","ck-reset_all-excluded","ck-style-grid__button__preview","ck-content"],"aria-hidden":"true"},children:[this.styleDefinition.previewTemplate]}),t}}class P extends m{constructor(t,e){super(t);u(this,"focusTracker");u(this,"keystrokes");u(this,"children");this.focusTracker=new k,this.keystrokes=new _,this.set("activeStyles",[]),this.set("enabledStyles",[]),this.children=this.createCollection(),this.children.delegate("execute").to(this);for(const s of e){const i=new N(t,s);this.children.add(i)}this.on("change:activeStyles",()=>{for(const s of this.children)s.isOn=this.activeStyles.includes(s.styleDefinition.name)}),this.on("change:enabledStyles",()=>{for(const s of this.children)s.isEnabled=this.enabledStyles.includes(s.styleDefinition.name)}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-grid"],role:"listbox"},children:this.children})}render(){super.render();for(const t of this.children)this.focusTracker.add(t.element);U({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.children,numberOfColumns:3,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection}),this.keystrokes.listenTo(this.element)}focus(){this.children.first.focus()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}}class p extends m{constructor(t,e,s){super(t);u(this,"gridView");u(this,"labelView");this.labelView=new v(t),this.labelView.text=e,this.gridView=new P(t,s),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel__style-group"],role:"group","aria-labelledby":this.labelView.id},children:[this.labelView,this.gridView]})}}class I extends m{constructor(t,e){super(t);u(this,"focusTracker");u(this,"keystrokes");u(this,"children");u(this,"blockStylesGroupView");u(this,"inlineStylesGroupView");u(this,"_focusables");u(this,"_focusCycler");const s=t.t;this.focusTracker=new k,this.keystrokes=new _,this.children=this.createCollection(),this.blockStylesGroupView=new p(t,s("Block styles"),e.block),this.inlineStylesGroupView=new p(t,s("Text styles"),e.inline),this.set("activeStyles",[]),this.set("enabledStyles",[]),this._focusables=new V,this._focusCycler=new T({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:["shift + tab"],focusNext:["tab"]}}),e.block.length&&this.children.add(this.blockStylesGroupView),e.inline.length&&this.children.add(this.inlineStylesGroupView),this.blockStylesGroupView.gridView.delegate("execute").to(this),this.inlineStylesGroupView.gridView.delegate("execute").to(this),this.blockStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.inlineStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel"]},children:this.children})}render(){super.render(),this._focusables.add(this.blockStylesGroupView.gridView),this._focusables.add(this.inlineStylesGroupView.gridView),this.focusTracker.add(this.blockStylesGroupView.gridView.element),this.focusTracker.add(this.inlineStylesGroupView.gridView.element),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}const L=["caption","colgroup","dd","dt","figcaption","legend","li","optgroup","option","rp","rt","summary","tbody","td","tfoot","th","thead","tr"];class f extends g{constructor(t){super(t);u(this,"_htmlSupport");this.decorate("isStyleEnabledForBlock"),this.decorate("isStyleActiveForBlock"),this.decorate("getAffectedBlocks"),this.decorate("isStyleEnabledForInlineSelection"),this.decorate("isStyleActiveForInlineSelection"),this.decorate("getAffectedInlineSelectable"),this.decorate("getStylePreview"),this.decorate("configureGHSDataFilter")}static get pluginName(){return"StyleUtils"}static get isOfficialPlugin(){return!0}init(){this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport")}normalizeConfig(t,e=[]){const s={block:[],inline:[]};for(const i of e){const l=[],o=[];for(const c of t.getDefinitionsForView(i.element)){const h="appliesToBlock"in c?c.appliesToBlock:!1;if(c.isBlock||h){if(typeof h=="string")l.push(h);else if(c.isBlock){const d=c;l.push(c.model),d.paragraphLikeModel&&l.push(d.paragraphLikeModel)}}else o.push(c.model)}const a=this.getStylePreview(i,[{text:"AaBbCcDdEeFfGgHhIiJj"}]);l.length?s.block.push({...i,previewTemplate:a,modelElements:l,isBlock:!0}):s.inline.push({...i,previewTemplate:a,ghsAttributes:o})}return s}isStyleEnabledForBlock(t,e){const s=this.editor.model,i=this._htmlSupport.getGhsAttributeNameForElement(t.element);return s.schema.checkAttribute(e,i)?t.modelElements.includes(e.name):!1}isStyleActiveForBlock(t,e){const s=this._htmlSupport.getGhsAttributeNameForElement(t.element),i=e.getAttribute(s);return this.hasAllClasses(i,t.classes)}getAffectedBlocks(t,e){return t.modelElements.includes(e.name)?[e]:null}isStyleEnabledForInlineSelection(t,e){const s=this.editor.model;for(const i of t.ghsAttributes)if(s.schema.checkAttributeInSelection(e,i))return!0;return!1}isStyleActiveForInlineSelection(t,e){for(const s of t.ghsAttributes){const i=this._getValueFromFirstAllowedNode(e,s);if(this.hasAllClasses(i,t.classes))return!0}return!1}getAffectedInlineSelectable(t,e){return e}getStylePreview(t,e){const{element:s,classes:i}=t;return{tag:O(s)?s:"div",attributes:{class:i},children:e}}hasAllClasses(t,e){return H(t)&&R(t)&&e.every(s=>t.classes.includes(s))}configureGHSDataFilter({block:t,inline:e}){const s=this.editor.plugins.get("DataFilter");s.loadAllowedConfig(t.map(b)),s.loadAllowedConfig(e.map(b))}_getValueFromFirstAllowedNode(t,e){const i=this.editor.model.schema;if(t.isCollapsed)return t.getAttribute(e);for(const l of t.getRanges())for(const o of l.getItems())if(i.checkAttribute(o,e))return o.getAttribute(e);return null}}function R(n){return!!n.classes&&Array.isArray(n.classes)}function O(n){return!L.includes(n)}function b({element:n,classes:r}){return{name:n,classes:r}}class z extends g{static get pluginName(){return"StyleUI"}static get isOfficialPlugin(){return!0}static get requires(){return[f]}init(){const r=this.editor,t=r.plugins.get("DataSchema"),e=r.plugins.get("StyleUtils"),s=r.config.get("style.definitions"),i=e.normalizeConfig(t,s);r.ui.componentFactory.add("style",l=>{const o=l.t,a=F(l),c=r.commands.get("style");return a.once("change:isOpen",()=>{const h=new I(l,i);a.panelView.children.add(h),h.delegate("execute").to(a),h.bind("activeStyles").to(c,"value"),h.bind("enabledStyles").to(c,"enabledStyles")}),a.bind("isEnabled").to(c),a.buttonView.withText=!0,a.buttonView.bind("label").to(c,"value",h=>h.length>1?o("Multiple styles"):h.length===1?h[0]:o("Styles")),a.bind("class").to(c,"value",h=>{const d=["ck-style-dropdown"];return h.length>1&&d.push("ck-style-dropdown_multiple-active"),d.join(" ")}),a.on("execute",h=>{r.execute("style",{styleName:h.source.styleDefinition.name}),r.editing.view.focus()}),a})}}class M extends B{constructor(t,e){super(t);u(this,"_styleDefinitions");u(this,"_styleUtils");this.set("value",[]),this.set("enabledStyles",[]),this._styleDefinitions=e,this._styleUtils=this.editor.plugins.get(f)}refresh(){const t=this.editor.model,e=t.document.selection,s=new Set,i=new Set;for(const o of this._styleDefinitions.inline)this._styleUtils.isStyleEnabledForInlineSelection(o,e)&&i.add(o.name),this._styleUtils.isStyleActiveForInlineSelection(o,e)&&s.add(o.name);const l=x(e.getSelectedBlocks())||e.getFirstPosition().parent;if(l){const o=l.getAncestors({includeSelf:!0,parentFirst:!0});for(const a of o){if(a.is("rootElement"))break;for(const c of this._styleDefinitions.block)this._styleUtils.isStyleEnabledForBlock(c,a)&&(i.add(c.name),this._styleUtils.isStyleActiveForBlock(c,a)&&s.add(c.name));if(t.schema.isObject(a))break}}this.enabledStyles=Array.from(i).sort(),this.isEnabled=this.enabledStyles.length>0,this.value=this.isEnabled?Array.from(s).sort():[]}execute({styleName:t,forceValue:e}){if(!this.enabledStyles.includes(t)){C("style-command-executed-with-incorrect-style-name");return}const s=this.editor.model,i=s.document.selection,l=this.editor.plugins.get("GeneralHtmlSupport"),o=[...this._styleDefinitions.inline,...this._styleDefinitions.block],a=o.filter(({name:d})=>this.value.includes(d)),c=o.find(({name:d})=>d==t),h=e===void 0?!this.value.includes(c.name):e;s.change(()=>{let d;j(c)?d=this._findAffectedBlocks($(i),c):d=[this._styleUtils.getAffectedInlineSelectable(c,i)];for(const y of d)h?l.addModelHtmlClass(c.element,c.classes,y):l.removeModelHtmlClass(c.element,q(a,c),y)})}_findAffectedBlocks(t,e){const s=new Set;for(const i of t){const l=i.getAncestors({includeSelf:!0,parentFirst:!0});for(const o of l){if(o.is("rootElement"))break;const a=this._styleUtils.getAffectedBlocks(e,o);if(a){for(const c of a)s.add(c);break}}}return s}}function q(n,r){return n.reduce((t,e)=>e.name===r.name?t:t.filter(s=>!e.classes.includes(s)),r.classes)}function j(n){return"isBlock"in n}function $(n){const r=Array.from(n.getSelectedBlocks());return r.length?r:[n.getFirstPosition().parent]}class J extends g{constructor(){super(...arguments);u(this,"_listUtils");u(this,"_styleUtils");u(this,"_htmlSupport")}static get pluginName(){return"ListStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[f,"GeneralHtmlSupport"]}init(){const t=this.editor;t.plugins.has("ListEditing")&&(this._styleUtils=t.plugins.get(f),this._listUtils=this.editor.plugins.get("ListUtils"),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",(e,[s,i])=>{this._isStyleEnabledForBlock(s,i)&&(e.return=!0,e.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForBlock",(e,[s,i])=>{this._isStyleActiveForBlock(s,i)&&(e.return=!0,e.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",(e,[s,i])=>{const l=this._getAffectedBlocks(s,i);l&&(e.return=l,e.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getStylePreview",(e,[s,i])=>{const l=this._getStylePreview(s,i);l&&(e.return=l,e.stop())},{priority:"high"}))}_isStyleEnabledForBlock(t,e){const s=this.editor.model;if(!["ol","ul","li"].includes(t.element)||!this._listUtils.isListItemBlock(e))return!1;const i=this._htmlSupport.getGhsAttributeNameForElement(t.element);if(t.element=="ol"||t.element=="ul"){if(!s.schema.checkAttribute(e,i))return!1;const o=this._listUtils.isNumberedListType(e.getAttribute("listType"))?"ol":"ul";return t.element==o}else return s.schema.checkAttribute(e,i)}_isStyleActiveForBlock(t,e){const s=this._htmlSupport.getGhsAttributeNameForElement(t.element),i=e.getAttribute(s);return this._styleUtils.hasAllClasses(i,t.classes)}_getAffectedBlocks(t,e){return this._isStyleEnabledForBlock(t,e)?t.element=="li"?this._listUtils.expandListBlocksToCompleteItems(e,{withNested:!1}):this._listUtils.expandListBlocksToCompleteList(e):null}_getStylePreview(t,e){const{element:s,classes:i}=t;return s=="ol"||s=="ul"?{tag:s,attributes:{class:i},children:[{tag:"li",children:e}]}:s=="li"?{tag:"ol",children:[{tag:s,attributes:{class:i},children:e}]}:null}}class K extends g{constructor(){super(...arguments);u(this,"_tableUtils");u(this,"_styleUtils")}static get pluginName(){return"TableStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[f]}init(){const t=this.editor;t.plugins.has("TableEditing")&&(this._styleUtils=t.plugins.get(f),this._tableUtils=this.editor.plugins.get("TableUtils"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",(e,[s,i])=>{this._isApplicable(s,i)&&(e.return=this._isStyleEnabledForBlock(s,i),e.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",(e,[s,i])=>{this._isApplicable(s,i)&&(e.return=this._getAffectedBlocks(s,i),e.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"configureGHSDataFilter",(e,[{block:s}])=>{this.editor.plugins.get("DataFilter").loadAllowedConfig(s.filter(l=>l.element=="figcaption").map(l=>({name:"caption",classes:l.classes})))}))}_isApplicable(t,e){return["td","th"].includes(t.element)?e.name=="tableCell":["thead","tbody"].includes(t.element)?e.name=="table":!1}_isStyleEnabledForBlock(t,e){if(["td","th"].includes(t.element)){const s=this._tableUtils.getCellLocation(e),l=e.parent.parent,o=l.getAttribute("headingRows")||0,a=l.getAttribute("headingColumns")||0,c=s.row<o||s.column<a;return t.element=="th"?c:!c}if(["thead","tbody"].includes(t.element)){const s=e.getAttribute("headingRows")||0;return t.element=="thead"?s>0:s<this._tableUtils.getRows(e)}/* istanbul ignore next -- @preserve */return!1}_getAffectedBlocks(t,e){return this._isStyleEnabledForBlock(t,e)?[e]:null}}class W extends g{constructor(){super(...arguments);u(this,"_styleUtils");u(this,"_htmlSupport")}static get pluginName(){return"LinkStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[f,"GeneralHtmlSupport"]}init(){const t=this.editor;t.plugins.has("LinkEditing")&&(this._styleUtils=t.plugins.get(f),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForInlineSelection",(e,[s,i])=>{s.element=="a"&&(e.return=this._isStyleEnabled(s,i),e.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForInlineSelection",(e,[s,i])=>{s.element=="a"&&(e.return=this._isStyleActive(s,i),e.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedInlineSelectable",(e,[s,i])=>{if(s.element!="a")return;const l=this._getAffectedSelectable(s,i);l&&(e.return=l,e.stop())},{priority:"high"}))}_isStyleEnabled(t,e){const s=this.editor.model;if(e.isCollapsed)return e.hasAttribute("linkHref");for(const i of e.getRanges())for(const l of i.getItems())if((l.is("$textProxy")||s.schema.isInline(l))&&l.hasAttribute("linkHref"))return!0;return!1}_isStyleActive(t,e){const s=this.editor.model,i=this._htmlSupport.getGhsAttributeNameForElement(t.element);if(e.isCollapsed){if(e.hasAttribute("linkHref")){const l=e.getAttribute(i);if(this._styleUtils.hasAllClasses(l,t.classes))return!0}return!1}for(const l of e.getRanges())for(const o of l.getItems())if((o.is("$textProxy")||s.schema.isInline(o))&&o.hasAttribute("linkHref")){const a=o.getAttribute(i);return this._styleUtils.hasAllClasses(a,t.classes)}return!1}_getAffectedSelectable(t,e){const s=this.editor.model;if(e.isCollapsed){const l=e.getAttribute("linkHref");return D(e.getFirstPosition(),"linkHref",l,s)}const i=[];for(const l of e.getRanges()){const o=s.createRange(S(l.start,"linkHref",!0,s),S(l.end,"linkHref",!1,s));for(const a of o.getItems())(a.is("$textProxy")||s.schema.isInline(a))&&a.hasAttribute("linkHref")&&i.push(this.editor.model.createRangeOn(a))}return Q(i)}}function S(n,r,t,e){const s=n.textNode||(t?n.nodeAfter:n.nodeBefore);if(!s||!s.hasAttribute(r))return n;const i=s.getAttribute(r);return G(n,r,i,t,e)}function Q(n){for(let r=1;r<n.length;r++){const t=n[r-1].getJoined(n[r]);t&&n.splice(--r,2,t)}return n}class X extends g{static get pluginName(){return"StyleEditing"}static get isOfficialPlugin(){return!0}static get requires(){return["GeneralHtmlSupport",f,J,K,W]}init(){const r=this.editor,t=r.plugins.get("DataSchema"),e=r.plugins.get("StyleUtils"),s=r.config.get("style.definitions"),i=e.normalizeConfig(t,s);r.commands.add("style",new M(r,i)),e.configureGHSDataFilter(i)}}class le extends g{static get pluginName(){return"Style"}static get isOfficialPlugin(){return!0}static get requires(){return[X,z]}}export{le as Style,X as StyleEditing,z as StyleUI,f as StyleUtils};