@ncino/web-components 7.0.0 → 8.0.0-preview.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1385) hide show
  1. package/dist/_slds/icons/doctype-sprite/svg/symbols-rtl.svg +1 -1
  2. package/dist/_slds/icons/doctype-sprite/svg/symbols.svg +1 -1
  3. package/dist/_slds/icons/standard-sprite/svg/symbols-rtl.svg +1 -1
  4. package/dist/_slds/icons/standard-sprite/svg/symbols.svg +1 -1
  5. package/dist/_slds/icons/svg/symbols-rtl.svg +1 -1
  6. package/dist/_slds/icons/svg/symbols.svg +1 -1
  7. package/dist/_slds/icons/symbols-rtl.svg +1 -1
  8. package/dist/_slds/icons/symbols.svg +1 -1
  9. package/dist/_slds/icons/utility-sprite/svg/symbols-rtl.svg +1 -1
  10. package/dist/_slds/icons/utility-sprite/svg/symbols.svg +1 -1
  11. package/dist/_virtual/index.js +1 -1
  12. package/dist/_virtual/index10.js +1 -1
  13. package/dist/_virtual/index11.js +1 -1
  14. package/dist/_virtual/index12.js +1 -1
  15. package/dist/_virtual/index2.js +1 -1
  16. package/dist/_virtual/index3.js +1 -1
  17. package/dist/_virtual/index4.js +1 -1
  18. package/dist/_virtual/index5.js +1 -1
  19. package/dist/_virtual/index7.js +1 -1
  20. package/dist/_virtual/index8.js +1 -1
  21. package/dist/_virtual/index9.js +1 -1
  22. package/dist/_virtual/index_html.js +1 -1
  23. package/dist/_virtual/index_react.js +1 -1
  24. package/dist/assets/node_modules/.pnpm/ckeditor5@46.1.0/node_modules/ckeditor5/dist/ckeditor5.css +4 -0
  25. package/dist/components/accordion/accordion.js +1 -1
  26. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  27. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  28. package/dist/components/alert/alert.js +1 -1
  29. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  30. package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +2 -2
  31. package/dist/components/alert/gator/title/alert-title.gator.js +2 -2
  32. package/dist/components/avatar/avatar.js +1 -1
  33. package/dist/components/avatar/gator/avatar.gator.js +1 -1
  34. package/dist/components/badge/badge.js +1 -1
  35. package/dist/components/badge/gator/badge.gator.js +1 -1
  36. package/dist/components/badge/slds/badge.slds.js +1 -1
  37. package/dist/components/banner/banner.js +1 -1
  38. package/dist/components/banner/gator/banner.gator.js +2 -2
  39. package/dist/components/boolean/boolean.gator.js +1 -1
  40. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +2 -2
  41. package/dist/components/breadcrumbs/gator/container/breadcrumbs.gator.js +1 -1
  42. package/dist/components/button/button.js +1 -1
  43. package/dist/components/button/gator/button.gator.js +3 -3
  44. package/dist/components/button/slds/button.slds.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 +1 -1
  47. package/dist/components/button-group/gator/button-group.gator.js +1 -1
  48. package/dist/components/card/card.js +1 -1
  49. package/dist/components/card/gator/base/card.gator.js +1 -1
  50. package/dist/components/card/gator/content/card-content.gator.js +1 -1
  51. package/dist/components/card/gator/footer/card-footer.gator.js +2 -2
  52. package/dist/components/card/gator/header/card-header.gator.js +2 -2
  53. package/dist/components/checkbox/checkbox.gator.js +1 -1
  54. package/dist/components/checkbox-group/checkbox-group.gator.js +1 -1
  55. package/dist/components/chip/chip.js +1 -1
  56. package/dist/components/chip/gator/chip.gator.js +1 -1
  57. package/dist/components/combobox/base/combobox.js +1 -1
  58. package/dist/components/combobox/base/combobox.slds.js +1 -1
  59. package/dist/components/combobox/combobox-item/combobox-item.js +1 -1
  60. package/dist/components/combobox/combobox-item/combobox-item.slds.js +1 -1
  61. package/dist/components/date-picker/base/datepicker.js +1 -1
  62. package/dist/components/date-picker/base/gator/datepicker.gator.js +1 -1
  63. package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +1 -1
  64. package/dist/components/display-card/display-card.js +1 -1
  65. package/dist/components/display-card/gator/display-card.gator.js +1 -1
  66. package/dist/components/divider/gator/divider.gator.js +1 -1
  67. package/dist/components/fab/fab.js +1 -1
  68. package/dist/components/fab/gator/fab.gator.js +1 -1
  69. package/dist/components/guided-nav/gator/guided-nav/guided-nav.gator.js +1 -1
  70. package/dist/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.js +4 -4
  71. package/dist/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.js +1 -1
  72. package/dist/components/guided-nav/guided-nav.js +1 -1
  73. package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
  74. package/dist/components/headline-card/headline-card.js +1 -1
  75. package/dist/components/icon/gator/icon.gator.js +1 -1
  76. package/dist/components/icon/gator/index.js +1 -1
  77. package/dist/components/icon/gator/templates/add-link.js +1 -1
  78. package/dist/components/icon/gator/templates/airplane.js +1 -1
  79. package/dist/components/icon/gator/templates/alarm.js +1 -1
  80. package/dist/components/icon/gator/templates/apartment.js +1 -1
  81. package/dist/components/icon/gator/templates/arrow-around.js +1 -1
  82. package/dist/components/icon/gator/templates/arrow-down.js +1 -1
  83. package/dist/components/icon/gator/templates/arrow-left.js +1 -1
  84. package/dist/components/icon/gator/templates/arrow-line-left.js +1 -1
  85. package/dist/components/icon/gator/templates/arrow-line-right.js +1 -1
  86. package/dist/components/icon/gator/templates/arrow-right.js +1 -1
  87. package/dist/components/icon/gator/templates/arrow-up.js +1 -1
  88. package/dist/components/icon/gator/templates/bank.js +1 -1
  89. package/dist/components/icon/gator/templates/bell-disabled.js +1 -1
  90. package/dist/components/icon/gator/templates/bell.js +1 -1
  91. package/dist/components/icon/gator/templates/binoculars.js +1 -1
  92. package/dist/components/icon/gator/templates/book.js +1 -1
  93. package/dist/components/icon/gator/templates/box.js +1 -1
  94. package/dist/components/icon/gator/templates/cake.js +1 -1
  95. package/dist/components/icon/gator/templates/calculator.js +1 -1
  96. package/dist/components/icon/gator/templates/calendar.js +1 -1
  97. package/dist/components/icon/gator/templates/camera.js +1 -1
  98. package/dist/components/icon/gator/templates/caret-up-down.js +1 -1
  99. package/dist/components/icon/gator/templates/case.js +1 -1
  100. package/dist/components/icon/gator/templates/chart-bar-horizontal.js +1 -1
  101. package/dist/components/icon/gator/templates/chart-bar.js +1 -1
  102. package/dist/components/icon/gator/templates/chart-donut.js +1 -1
  103. package/dist/components/icon/gator/templates/chart-line.js +1 -1
  104. package/dist/components/icon/gator/templates/chart-pie.js +1 -1
  105. package/dist/components/icon/gator/templates/chart-rise.js +1 -1
  106. package/dist/components/icon/gator/templates/chart-scatter.js +1 -1
  107. package/dist/components/icon/gator/templates/chat-circle-ai.js +6 -0
  108. package/dist/components/icon/gator/templates/chat-circle-dots.js +5 -0
  109. package/dist/components/icon/gator/templates/chat-circle-slash.js +5 -0
  110. package/dist/components/icon/gator/templates/chat-circle-text.js +5 -0
  111. package/dist/components/icon/gator/templates/chat-circle.js +5 -0
  112. package/dist/components/icon/gator/templates/chat.js +1 -1
  113. package/dist/components/icon/gator/templates/check-circle-filled.js +5 -0
  114. package/dist/components/icon/gator/templates/check-circle.js +1 -1
  115. package/dist/components/icon/gator/templates/check.js +1 -1
  116. package/dist/components/icon/gator/templates/checkbox-indeterminate.js +1 -1
  117. package/dist/components/icon/gator/templates/checkbox-selected.js +1 -1
  118. package/dist/components/icon/gator/templates/checkbox.js +1 -1
  119. package/dist/components/icon/gator/templates/checkerboard.js +1 -1
  120. package/dist/components/icon/gator/templates/chevron-down.js +1 -1
  121. package/dist/components/icon/gator/templates/chevron-left.js +1 -1
  122. package/dist/components/icon/gator/templates/chevron-right.js +1 -1
  123. package/dist/components/icon/gator/templates/chevron-up.js +1 -1
  124. package/dist/components/icon/gator/templates/circle-arrow-down.js +1 -1
  125. package/dist/components/icon/gator/templates/circle-arrow-left.js +1 -1
  126. package/dist/components/icon/gator/templates/circle-arrow-right.js +1 -1
  127. package/dist/components/icon/gator/templates/circle-arrow-up.js +1 -1
  128. package/dist/components/icon/gator/templates/circle-dashed.js +1 -1
  129. package/dist/components/icon/gator/templates/circle-filled.js +1 -1
  130. package/dist/components/icon/gator/templates/circle.js +1 -1
  131. package/dist/components/icon/gator/templates/city.js +1 -1
  132. package/dist/components/icon/gator/templates/clipboard.js +1 -1
  133. package/dist/components/icon/gator/templates/clock-clockwise.js +1 -1
  134. package/dist/components/icon/gator/templates/clock-counter-clockwise.js +1 -1
  135. package/dist/components/icon/gator/templates/clock.js +1 -1
  136. package/dist/components/icon/gator/templates/collapse.js +1 -1
  137. package/dist/components/icon/gator/templates/cone.js +1 -1
  138. package/dist/components/icon/gator/templates/contact-info.js +1 -1
  139. package/dist/components/icon/gator/templates/copy.js +1 -1
  140. package/dist/components/icon/gator/templates/credit-card.js +1 -1
  141. package/dist/components/icon/gator/templates/crop.js +1 -1
  142. package/dist/components/icon/gator/templates/crosshairs.js +1 -1
  143. package/dist/components/icon/gator/templates/currency-dollar-simple.js +1 -1
  144. package/dist/components/icon/gator/templates/currency-eur.js +1 -1
  145. package/dist/components/icon/gator/templates/currency-gbp.js +1 -1
  146. package/dist/components/icon/gator/templates/currency-inr.js +1 -1
  147. package/dist/components/icon/gator/templates/currency-jpy.js +1 -1
  148. package/dist/components/icon/gator/templates/currency-krw.js +1 -1
  149. package/dist/components/icon/gator/templates/currency-kzt.js +1 -1
  150. package/dist/components/icon/gator/templates/currency-ngn.js +1 -1
  151. package/dist/components/icon/gator/templates/currency-rub.js +1 -1
  152. package/dist/components/icon/gator/templates/cursor-arrow.js +1 -1
  153. package/dist/components/icon/gator/templates/cursor-hand.js +1 -1
  154. package/dist/components/icon/gator/templates/cursor.js +1 -1
  155. package/dist/components/icon/gator/templates/dashboard.js +1 -1
  156. package/dist/components/icon/gator/templates/delete.js +1 -1
  157. package/dist/components/icon/gator/templates/dna.js +1 -1
  158. package/dist/components/icon/gator/templates/document-add.js +1 -1
  159. package/dist/components/icon/gator/templates/document-check.js +1 -1
  160. package/dist/components/icon/gator/templates/document-e-sign.js +1 -1
  161. package/dist/components/icon/gator/templates/document-image.js +1 -1
  162. package/dist/components/icon/gator/templates/document-pdf.js +1 -1
  163. package/dist/components/icon/gator/templates/document-sign.js +1 -1
  164. package/dist/components/icon/gator/templates/document-zip.js +1 -1
  165. package/dist/components/icon/gator/templates/document.js +1 -1
  166. package/dist/components/icon/gator/templates/dollar-bills.js +1 -1
  167. package/dist/components/icon/gator/templates/dollar-house.js +1 -1
  168. package/dist/components/icon/gator/templates/down-payment.js +1 -1
  169. package/dist/components/icon/gator/templates/download.js +1 -1
  170. package/dist/components/icon/gator/templates/drag-drop.js +1 -1
  171. package/dist/components/icon/gator/templates/earth.js +1 -1
  172. package/dist/components/icon/gator/templates/exclude-square.js +1 -1
  173. package/dist/components/icon/gator/templates/exit-circle.js +1 -1
  174. package/dist/components/icon/gator/templates/exit-left.js +1 -1
  175. package/dist/components/icon/gator/templates/exit.js +1 -1
  176. package/dist/components/icon/gator/templates/expand-arrows.js +1 -1
  177. package/dist/components/icon/gator/templates/expand.js +1 -1
  178. package/dist/components/icon/gator/templates/export.js +1 -1
  179. package/dist/components/icon/gator/templates/eye-closed.js +1 -1
  180. package/dist/components/icon/gator/templates/eye-crossed.js +1 -1
  181. package/dist/components/icon/gator/templates/eye.js +1 -1
  182. package/dist/components/icon/gator/templates/facebook-logo.js +1 -1
  183. package/dist/components/icon/gator/templates/file-code.js +1 -1
  184. package/dist/components/icon/gator/templates/files.js +1 -1
  185. package/dist/components/icon/gator/templates/filter-funnel.js +1 -1
  186. package/dist/components/icon/gator/templates/filters-2.js +1 -1
  187. package/dist/components/icon/gator/templates/filters.js +1 -1
  188. package/dist/components/icon/gator/templates/flags/flag-ad-andorra.js +1 -1
  189. package/dist/components/icon/gator/templates/flags/flag-ae-united-arab-emirates.js +1 -1
  190. package/dist/components/icon/gator/templates/flags/flag-af-afghanistan.js +1 -1
  191. package/dist/components/icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js +1 -1
  192. package/dist/components/icon/gator/templates/flags/flag-ai-anguilla.js +1 -1
  193. package/dist/components/icon/gator/templates/flags/flag-al-albania.js +1 -1
  194. package/dist/components/icon/gator/templates/flags/flag-am-armenia.js +1 -1
  195. package/dist/components/icon/gator/templates/flags/flag-ao-angola.js +1 -1
  196. package/dist/components/icon/gator/templates/flags/flag-aq-antarctica.js +1 -1
  197. package/dist/components/icon/gator/templates/flags/flag-ar-argentina.js +1 -1
  198. package/dist/components/icon/gator/templates/flags/flag-as-american-smoa.js +1 -1
  199. package/dist/components/icon/gator/templates/flags/flag-at-austria.js +1 -1
  200. package/dist/components/icon/gator/templates/flags/flag-au-australia.js +1 -1
  201. package/dist/components/icon/gator/templates/flags/flag-aw-aruba.js +1 -1
  202. package/dist/components/icon/gator/templates/flags/flag-ax-aland-islands.js +1 -1
  203. package/dist/components/icon/gator/templates/flags/flag-az-azerbaijan.js +1 -1
  204. package/dist/components/icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js +1 -1
  205. package/dist/components/icon/gator/templates/flags/flag-bb-barbados.js +1 -1
  206. package/dist/components/icon/gator/templates/flags/flag-bd-bangladesh.js +1 -1
  207. package/dist/components/icon/gator/templates/flags/flag-be-belgium.js +1 -1
  208. package/dist/components/icon/gator/templates/flags/flag-bf-burkina-faso.js +1 -1
  209. package/dist/components/icon/gator/templates/flags/flag-bg-bulgaria.js +1 -1
  210. package/dist/components/icon/gator/templates/flags/flag-bh-bahrain.js +1 -1
  211. package/dist/components/icon/gator/templates/flags/flag-bi-burundi.js +1 -1
  212. package/dist/components/icon/gator/templates/flags/flag-bj-benin.js +1 -1
  213. package/dist/components/icon/gator/templates/flags/flag-bl-saint-barthelemy.js +1 -1
  214. package/dist/components/icon/gator/templates/flags/flag-bm-bermuda.js +1 -1
  215. package/dist/components/icon/gator/templates/flags/flag-bn-brunei-darussalam.js +1 -1
  216. package/dist/components/icon/gator/templates/flags/flag-bo-bolivia.js +1 -1
  217. package/dist/components/icon/gator/templates/flags/flag-bq-bo-bonaire.js +1 -1
  218. package/dist/components/icon/gator/templates/flags/flag-bq-sa-sba.js +1 -1
  219. package/dist/components/icon/gator/templates/flags/flag-bq-se-snt-eustatius.js +1 -1
  220. package/dist/components/icon/gator/templates/flags/flag-br-brazil.js +1 -1
  221. package/dist/components/icon/gator/templates/flags/flag-bs-bahamas.js +1 -1
  222. package/dist/components/icon/gator/templates/flags/flag-bt-bhutan.js +1 -1
  223. package/dist/components/icon/gator/templates/flags/flag-bv-bouvet-island.js +1 -1
  224. package/dist/components/icon/gator/templates/flags/flag-bw-botswana.js +1 -1
  225. package/dist/components/icon/gator/templates/flags/flag-by-belarus.js +1 -1
  226. package/dist/components/icon/gator/templates/flags/flag-bz-belize.js +1 -1
  227. package/dist/components/icon/gator/templates/flags/flag-ca-canada.js +1 -1
  228. package/dist/components/icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js +1 -1
  229. package/dist/components/icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js +1 -1
  230. package/dist/components/icon/gator/templates/flags/flag-cf-central-african-republic.js +1 -1
  231. package/dist/components/icon/gator/templates/flags/flag-cg-republic-of-the-congo.js +1 -1
  232. package/dist/components/icon/gator/templates/flags/flag-ch-switzerland.js +1 -1
  233. package/dist/components/icon/gator/templates/flags/flag-ci-c/303/264te-divoire-ivory-coast.js +1 -1
  234. package/dist/components/icon/gator/templates/flags/flag-ck-cook-islands.js +1 -1
  235. package/dist/components/icon/gator/templates/flags/flag-cl-chile.js +1 -1
  236. package/dist/components/icon/gator/templates/flags/flag-cm-cameroon.js +1 -1
  237. package/dist/components/icon/gator/templates/flags/flag-cn-china.js +1 -1
  238. package/dist/components/icon/gator/templates/flags/flag-co-colombia.js +1 -1
  239. package/dist/components/icon/gator/templates/flags/flag-cr-costa-rica.js +1 -1
  240. package/dist/components/icon/gator/templates/flags/flag-cu-cuba.js +1 -1
  241. package/dist/components/icon/gator/templates/flags/flag-cv-cabo-verde.js +1 -1
  242. package/dist/components/icon/gator/templates/flags/flag-cw-cura/303/247ao.js +1 -1
  243. package/dist/components/icon/gator/templates/flags/flag-cx-christmas-island.js +1 -1
  244. package/dist/components/icon/gator/templates/flags/flag-cy-cyprus.js +1 -1
  245. package/dist/components/icon/gator/templates/flags/flag-cz-czech-republic.js +1 -1
  246. package/dist/components/icon/gator/templates/flags/flag-de-germany.js +1 -1
  247. package/dist/components/icon/gator/templates/flags/flag-dj-djibouti.js +1 -1
  248. package/dist/components/icon/gator/templates/flags/flag-dk-denmark.js +1 -1
  249. package/dist/components/icon/gator/templates/flags/flag-dm-dominica.js +1 -1
  250. package/dist/components/icon/gator/templates/flags/flag-do-dominican-republic.js +1 -1
  251. package/dist/components/icon/gator/templates/flags/flag-dz-algeria.js +1 -1
  252. package/dist/components/icon/gator/templates/flags/flag-ec-ecuador.js +1 -1
  253. package/dist/components/icon/gator/templates/flags/flag-ee-estonia.js +1 -1
  254. package/dist/components/icon/gator/templates/flags/flag-eg-egypt.js +1 -1
  255. package/dist/components/icon/gator/templates/flags/flag-eh-western-sahara.js +1 -1
  256. package/dist/components/icon/gator/templates/flags/flag-er-eritrea.js +1 -1
  257. package/dist/components/icon/gator/templates/flags/flag-es-sain.js +1 -1
  258. package/dist/components/icon/gator/templates/flags/flag-et-ethiopia.js +1 -1
  259. package/dist/components/icon/gator/templates/flags/flag-fi-finland.js +1 -1
  260. package/dist/components/icon/gator/templates/flags/flag-fj-fiji.js +1 -1
  261. package/dist/components/icon/gator/templates/flags/flag-fk-falkland-islands.js +1 -1
  262. package/dist/components/icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js +1 -1
  263. package/dist/components/icon/gator/templates/flags/flag-fo-faroe-islands.js +1 -1
  264. package/dist/components/icon/gator/templates/flags/flag-fr-france.js +1 -1
  265. package/dist/components/icon/gator/templates/flags/flag-ga-gabon.js +1 -1
  266. package/dist/components/icon/gator/templates/flags/flag-gb-eng-england.js +1 -1
  267. package/dist/components/icon/gator/templates/flags/flag-gb-nir-northern-ireland.js +1 -1
  268. package/dist/components/icon/gator/templates/flags/flag-gb-sct-sotland.js +1 -1
  269. package/dist/components/icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js +1 -1
  270. package/dist/components/icon/gator/templates/flags/flag-gb-wls-wales.js +1 -1
  271. package/dist/components/icon/gator/templates/flags/flag-gd-grenada.js +1 -1
  272. package/dist/components/icon/gator/templates/flags/flag-ge-georgia.js +1 -1
  273. package/dist/components/icon/gator/templates/flags/flag-gf-french-guiana.js +1 -1
  274. package/dist/components/icon/gator/templates/flags/flag-gg-guernsey.js +1 -1
  275. package/dist/components/icon/gator/templates/flags/flag-gh-ghana.js +1 -1
  276. package/dist/components/icon/gator/templates/flags/flag-gi-gibraltar.js +1 -1
  277. package/dist/components/icon/gator/templates/flags/flag-gl-greenland.js +1 -1
  278. package/dist/components/icon/gator/templates/flags/flag-gm-gambia.js +1 -1
  279. package/dist/components/icon/gator/templates/flags/flag-gn-guinea.js +1 -1
  280. package/dist/components/icon/gator/templates/flags/flag-gp-guadeloupe-2.js +1 -1
  281. package/dist/components/icon/gator/templates/flags/flag-gp-guadeloupe.js +1 -1
  282. package/dist/components/icon/gator/templates/flags/flag-gq-equatorial-guinea.js +1 -1
  283. package/dist/components/icon/gator/templates/flags/flag-gr-greece.js +1 -1
  284. package/dist/components/icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js +1 -1
  285. package/dist/components/icon/gator/templates/flags/flag-gt-guatemala.js +1 -1
  286. package/dist/components/icon/gator/templates/flags/flag-gu-guam.js +1 -1
  287. package/dist/components/icon/gator/templates/flags/flag-gw-guinea-bissau.js +1 -1
  288. package/dist/components/icon/gator/templates/flags/flag-gy-guyana.js +1 -1
  289. package/dist/components/icon/gator/templates/flags/flag-hk-hong-kong.js +1 -1
  290. package/dist/components/icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js +1 -1
  291. package/dist/components/icon/gator/templates/flags/flag-hn-honduras.js +1 -1
  292. package/dist/components/icon/gator/templates/flags/flag-hr-croatia-hrvatska.js +1 -1
  293. package/dist/components/icon/gator/templates/flags/flag-ht-haiti.js +1 -1
  294. package/dist/components/icon/gator/templates/flags/flag-hu-hungary.js +1 -1
  295. package/dist/components/icon/gator/templates/flags/flag-id-indonesia.js +1 -1
  296. package/dist/components/icon/gator/templates/flags/flag-ie-ireland.js +1 -1
  297. package/dist/components/icon/gator/templates/flags/flag-il-isreal.js +1 -1
  298. package/dist/components/icon/gator/templates/flags/flag-im-isle-of-man.js +1 -1
  299. package/dist/components/icon/gator/templates/flags/flag-in-india.js +1 -1
  300. package/dist/components/icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js +1 -1
  301. package/dist/components/icon/gator/templates/flags/flag-iq-iraq.js +1 -1
  302. package/dist/components/icon/gator/templates/flags/flag-ir-iran.js +1 -1
  303. package/dist/components/icon/gator/templates/flags/flag-is-iceland.js +1 -1
  304. package/dist/components/icon/gator/templates/flags/flag-it-italy.js +1 -1
  305. package/dist/components/icon/gator/templates/flags/flag-je-jersey.js +1 -1
  306. package/dist/components/icon/gator/templates/flags/flag-jm-jamaica.js +1 -1
  307. package/dist/components/icon/gator/templates/flags/flag-jo-jordan.js +1 -1
  308. package/dist/components/icon/gator/templates/flags/flag-jp-japan.js +1 -1
  309. package/dist/components/icon/gator/templates/flags/flag-ke-kenia.js +1 -1
  310. package/dist/components/icon/gator/templates/flags/flag-kg-kyrgyzstan.js +1 -1
  311. package/dist/components/icon/gator/templates/flags/flag-kh-cambodia.js +1 -1
  312. package/dist/components/icon/gator/templates/flags/flag-ki--kiribati.js +1 -1
  313. package/dist/components/icon/gator/templates/flags/flag-km-comoros.js +1 -1
  314. package/dist/components/icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js +1 -1
  315. package/dist/components/icon/gator/templates/flags/flag-kp-korea-north.js +1 -1
  316. package/dist/components/icon/gator/templates/flags/flag-kr-korea-south.js +1 -1
  317. package/dist/components/icon/gator/templates/flags/flag-kw-kuwait.js +1 -1
  318. package/dist/components/icon/gator/templates/flags/flag-ky-cayman-islands.js +1 -1
  319. package/dist/components/icon/gator/templates/flags/flag-kz-kazakhstan.js +1 -1
  320. package/dist/components/icon/gator/templates/flags/flag-la-laos.js +1 -1
  321. package/dist/components/icon/gator/templates/flags/flag-lb-lebanon.js +1 -1
  322. package/dist/components/icon/gator/templates/flags/flag-lc-saint-lucia.js +1 -1
  323. package/dist/components/icon/gator/templates/flags/flag-li-liechtenstein.js +1 -1
  324. package/dist/components/icon/gator/templates/flags/flag-lk-sri-lanka.js +1 -1
  325. package/dist/components/icon/gator/templates/flags/flag-lr-liberia.js +1 -1
  326. package/dist/components/icon/gator/templates/flags/flag-ls-lesotho.js +1 -1
  327. package/dist/components/icon/gator/templates/flags/flag-lt-lithuania.js +1 -1
  328. package/dist/components/icon/gator/templates/flags/flag-lu-luxembourg.js +1 -1
  329. package/dist/components/icon/gator/templates/flags/flag-lv-latvia.js +1 -1
  330. package/dist/components/icon/gator/templates/flags/flag-ly-libya.js +1 -1
  331. package/dist/components/icon/gator/templates/flags/flag-ma-morocco.js +1 -1
  332. package/dist/components/icon/gator/templates/flags/flag-mc-monaco.js +1 -1
  333. package/dist/components/icon/gator/templates/flags/flag-md-moldova.js +1 -1
  334. package/dist/components/icon/gator/templates/flags/flag-me-montenegro.js +1 -1
  335. package/dist/components/icon/gator/templates/flags/flag-mf-saint-martin.js +1 -1
  336. package/dist/components/icon/gator/templates/flags/flag-mg-madagascar.js +1 -1
  337. package/dist/components/icon/gator/templates/flags/flag-mh-marshall-islands.js +1 -1
  338. package/dist/components/icon/gator/templates/flags/flag-mk-north-macedonia.js +1 -1
  339. package/dist/components/icon/gator/templates/flags/flag-ml-mali.js +1 -1
  340. package/dist/components/icon/gator/templates/flags/flag-mm-myanmar.js +1 -1
  341. package/dist/components/icon/gator/templates/flags/flag-mn-mongolia.js +1 -1
  342. package/dist/components/icon/gator/templates/flags/flag-mo-macao.js +1 -1
  343. package/dist/components/icon/gator/templates/flags/flag-mp-northern-mariana-islands.js +1 -1
  344. package/dist/components/icon/gator/templates/flags/flag-mq-martinique-2.js +1 -1
  345. package/dist/components/icon/gator/templates/flags/flag-mq-martinique.js +1 -1
  346. package/dist/components/icon/gator/templates/flags/flag-mr-mauritania.js +1 -1
  347. package/dist/components/icon/gator/templates/flags/flag-ms-montserrat.js +1 -1
  348. package/dist/components/icon/gator/templates/flags/flag-mt-malta.js +1 -1
  349. package/dist/components/icon/gator/templates/flags/flag-mu-mauritius.js +1 -1
  350. package/dist/components/icon/gator/templates/flags/flag-mv-maldives.js +1 -1
  351. package/dist/components/icon/gator/templates/flags/flag-mw-malawi.js +1 -1
  352. package/dist/components/icon/gator/templates/flags/flag-mx-mexico.js +1 -1
  353. package/dist/components/icon/gator/templates/flags/flag-my-malaysia.js +1 -1
  354. package/dist/components/icon/gator/templates/flags/flag-mz-mozambique.js +1 -1
  355. package/dist/components/icon/gator/templates/flags/flag-na-namibia.js +1 -1
  356. package/dist/components/icon/gator/templates/flags/flag-nc-new-caledonia.js +1 -1
  357. package/dist/components/icon/gator/templates/flags/flag-ne-niger.js +1 -1
  358. package/dist/components/icon/gator/templates/flags/flag-nf-norfolk-island.js +1 -1
  359. package/dist/components/icon/gator/templates/flags/flag-ng-nigeria.js +1 -1
  360. package/dist/components/icon/gator/templates/flags/flag-ni-nicaragua.js +1 -1
  361. package/dist/components/icon/gator/templates/flags/flag-nl-netherlands.js +1 -1
  362. package/dist/components/icon/gator/templates/flags/flag-no-norway.js +1 -1
  363. package/dist/components/icon/gator/templates/flags/flag-np-nepal.js +1 -1
  364. package/dist/components/icon/gator/templates/flags/flag-nr-nauru.js +1 -1
  365. package/dist/components/icon/gator/templates/flags/flag-nu-niue.js +1 -1
  366. package/dist/components/icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js +1 -1
  367. package/dist/components/icon/gator/templates/flags/flag-om-oman.js +1 -1
  368. package/dist/components/icon/gator/templates/flags/flag-pa-panama.js +1 -1
  369. package/dist/components/icon/gator/templates/flags/flag-pe-peru.js +1 -1
  370. package/dist/components/icon/gator/templates/flags/flag-pf-french-polynesia.js +1 -1
  371. package/dist/components/icon/gator/templates/flags/flag-pg-papua-new-guinea.js +1 -1
  372. package/dist/components/icon/gator/templates/flags/flag-ph-philippines.js +1 -1
  373. package/dist/components/icon/gator/templates/flags/flag-pk-pakistan.js +1 -1
  374. package/dist/components/icon/gator/templates/flags/flag-pl-poland.js +1 -1
  375. package/dist/components/icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js +1 -1
  376. package/dist/components/icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js +1 -1
  377. package/dist/components/icon/gator/templates/flags/flag-pn-pitcairn-islands.js +1 -1
  378. package/dist/components/icon/gator/templates/flags/flag-pr-puerto-rico.js +1 -1
  379. package/dist/components/icon/gator/templates/flags/flag-ps-palestinian-territory.js +1 -1
  380. package/dist/components/icon/gator/templates/flags/flag-pt-portugal.js +1 -1
  381. package/dist/components/icon/gator/templates/flags/flag-pw-palau.js +1 -1
  382. package/dist/components/icon/gator/templates/flags/flag-py-paraguay.js +1 -1
  383. package/dist/components/icon/gator/templates/flags/flag-qa-qatar.js +1 -1
  384. package/dist/components/icon/gator/templates/flags/flag-re-reunion.js +1 -1
  385. package/dist/components/icon/gator/templates/flags/flag-ro-romania.js +1 -1
  386. package/dist/components/icon/gator/templates/flags/flag-rs-srbia.js +1 -1
  387. package/dist/components/icon/gator/templates/flags/flag-ru-russian-federation.js +1 -1
  388. package/dist/components/icon/gator/templates/flags/flag-rw-rwanda.js +1 -1
  389. package/dist/components/icon/gator/templates/flags/flag-sa-sudi-arabia.js +1 -1
  390. package/dist/components/icon/gator/templates/flags/flag-sb-slomon-islands.js +1 -1
  391. package/dist/components/icon/gator/templates/flags/flag-sc-sychelles.js +1 -1
  392. package/dist/components/icon/gator/templates/flags/flag-sd-sdan.js +1 -1
  393. package/dist/components/icon/gator/templates/flags/flag-se-seden.js +1 -1
  394. package/dist/components/icon/gator/templates/flags/flag-sg-sngapore.js +1 -1
  395. package/dist/components/icon/gator/templates/flags/flag-sh-sint-helena.js +1 -1
  396. package/dist/components/icon/gator/templates/flags/flag-si-sovenia.js +1 -1
  397. package/dist/components/icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js +1 -1
  398. package/dist/components/icon/gator/templates/flags/flag-sk-sovakia.js +1 -1
  399. package/dist/components/icon/gator/templates/flags/flag-sl-serra-leone.js +1 -1
  400. package/dist/components/icon/gator/templates/flags/flag-sm-sn-marino.js +1 -1
  401. package/dist/components/icon/gator/templates/flags/flag-sn-snegal.js +1 -1
  402. package/dist/components/icon/gator/templates/flags/flag-so-smalia.js +1 -1
  403. package/dist/components/icon/gator/templates/flags/flag-sr-sriname.js +1 -1
  404. package/dist/components/icon/gator/templates/flags/flag-ss-south-sudan.js +1 -1
  405. package/dist/components/icon/gator/templates/flags/flag-st-so-tome-and-principe.js +1 -1
  406. package/dist/components/icon/gator/templates/flags/flag-sv-el-slvador.js +1 -1
  407. package/dist/components/icon/gator/templates/flags/flag-sx-snt-maarten.js +1 -1
  408. package/dist/components/icon/gator/templates/flags/flag-sy-sria.js +1 -1
  409. package/dist/components/icon/gator/templates/flags/flag-sz-saziland.js +1 -1
  410. package/dist/components/icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js +1 -1
  411. package/dist/components/icon/gator/templates/flags/flag-td-chad.js +1 -1
  412. package/dist/components/icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js +1 -1
  413. package/dist/components/icon/gator/templates/flags/flag-tg-togo.js +1 -1
  414. package/dist/components/icon/gator/templates/flags/flag-th-thailand.js +1 -1
  415. package/dist/components/icon/gator/templates/flags/flag-tj-tajikistan.js +1 -1
  416. package/dist/components/icon/gator/templates/flags/flag-tk-tokelau.js +1 -1
  417. package/dist/components/icon/gator/templates/flags/flag-tl-timor-leste.js +1 -1
  418. package/dist/components/icon/gator/templates/flags/flag-tm-turkmenistan.js +1 -1
  419. package/dist/components/icon/gator/templates/flags/flag-tn-tunisia.js +1 -1
  420. package/dist/components/icon/gator/templates/flags/flag-to-tonga.js +1 -1
  421. package/dist/components/icon/gator/templates/flags/flag-tr-turkey.js +1 -1
  422. package/dist/components/icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js +1 -1
  423. package/dist/components/icon/gator/templates/flags/flag-tv-tuvalu.js +1 -1
  424. package/dist/components/icon/gator/templates/flags/flag-tw-taiwan.js +1 -1
  425. package/dist/components/icon/gator/templates/flags/flag-tz-tanzania.js +1 -1
  426. package/dist/components/icon/gator/templates/flags/flag-ua-ukraine.js +1 -1
  427. package/dist/components/icon/gator/templates/flags/flag-ug-uganda.js +1 -1
  428. package/dist/components/icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js +1 -1
  429. package/dist/components/icon/gator/templates/flags/flag-us-united-states.js +1 -1
  430. package/dist/components/icon/gator/templates/flags/flag-uy-uruguay.js +1 -1
  431. package/dist/components/icon/gator/templates/flags/flag-uz-uzbekistan.js +1 -1
  432. package/dist/components/icon/gator/templates/flags/flag-va-vatican-city-state.js +1 -1
  433. package/dist/components/icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js +1 -1
  434. package/dist/components/icon/gator/templates/flags/flag-ve-venezuela.js +1 -1
  435. package/dist/components/icon/gator/templates/flags/flag-vg-virgin-islands-british.js +1 -1
  436. package/dist/components/icon/gator/templates/flags/flag-vi-virgin-islands-us.js +1 -1
  437. package/dist/components/icon/gator/templates/flags/flag-vn-vietnam.js +1 -1
  438. package/dist/components/icon/gator/templates/flags/flag-vu-vanuatu.js +1 -1
  439. package/dist/components/icon/gator/templates/flags/flag-wf-wallis-and-futuna.js +1 -1
  440. package/dist/components/icon/gator/templates/flags/flag-ws-smoa.js +1 -1
  441. package/dist/components/icon/gator/templates/flags/flag-ye-yemen.js +1 -1
  442. package/dist/components/icon/gator/templates/flags/flag-yt-unf-mayotte.js +1 -1
  443. package/dist/components/icon/gator/templates/flags/flag-za-south-africa.js +1 -1
  444. package/dist/components/icon/gator/templates/flags/flag-zm-zambia.js +1 -1
  445. package/dist/components/icon/gator/templates/flags/flag-zw-zimbabwe.js +1 -1
  446. package/dist/components/icon/gator/templates/flame.js +1 -1
  447. package/dist/components/icon/gator/templates/flash-off.js +1 -1
  448. package/dist/components/icon/gator/templates/flash-on.js +1 -1
  449. package/dist/components/icon/gator/templates/folder.js +1 -1
  450. package/dist/components/icon/gator/templates/gauge.js +1 -1
  451. package/dist/components/icon/gator/templates/grid-four.js +1 -1
  452. package/dist/components/icon/gator/templates/grid-nine.js +1 -1
  453. package/dist/components/icon/gator/templates/hammer.js +1 -1
  454. package/dist/components/icon/gator/templates/hand-pointing.js +1 -1
  455. package/dist/components/icon/gator/templates/heart.js +1 -1
  456. package/dist/components/icon/gator/templates/home-door.js +1 -1
  457. package/dist/components/icon/gator/templates/home-finance-arrow.js +1 -1
  458. package/dist/components/icon/gator/templates/home-finance.js +1 -1
  459. package/dist/components/icon/gator/templates/home-search.js +1 -1
  460. package/dist/components/icon/gator/templates/house-simple.js +1 -1
  461. package/dist/components/icon/gator/templates/house.js +1 -1
  462. package/dist/components/icon/gator/templates/inbox.js +1 -1
  463. package/dist/components/icon/gator/templates/index.js +1 -1
  464. package/dist/components/icon/gator/templates/info.js +1 -1
  465. package/dist/components/icon/gator/templates/instagram-logo.js +1 -1
  466. package/dist/components/icon/gator/templates/interest-rate.js +1 -1
  467. package/dist/components/icon/gator/templates/invoice.js +1 -1
  468. package/dist/components/icon/gator/templates/kanban.js +1 -1
  469. package/dist/components/icon/gator/templates/label.js +1 -1
  470. package/dist/components/icon/gator/templates/laptop.js +1 -1
  471. package/dist/components/icon/gator/templates/layout.js +1 -1
  472. package/dist/components/icon/gator/templates/lightbulb-filament.js +1 -1
  473. package/dist/components/icon/gator/templates/lightbulb.js +1 -1
  474. package/dist/components/icon/gator/templates/link.js +1 -1
  475. package/dist/components/icon/gator/templates/linkedin-logo.js +1 -1
  476. package/dist/components/icon/gator/templates/list-star.js +1 -1
  477. package/dist/components/icon/gator/templates/list.js +1 -1
  478. package/dist/components/icon/gator/templates/loading-spinner-gif.js +1 -1
  479. package/dist/components/icon/gator/templates/loading.js +1 -1
  480. package/dist/components/icon/gator/templates/lock.js +1 -1
  481. package/dist/components/icon/gator/templates/magic-wand.js +1 -1
  482. package/dist/components/icon/gator/templates/mail-open.js +1 -1
  483. package/dist/components/icon/gator/templates/mail.js +1 -1
  484. package/dist/components/icon/gator/templates/mailbox.js +1 -1
  485. package/dist/components/icon/gator/templates/map.js +1 -1
  486. package/dist/components/icon/gator/templates/menu-hamburger.js +1 -1
  487. package/dist/components/icon/gator/templates/microsoft-excel-logo.js +1 -1
  488. package/dist/components/icon/gator/templates/microsoft-outlook-logo.js +1 -1
  489. package/dist/components/icon/gator/templates/microsoft-powerpoint-logo.js +1 -1
  490. package/dist/components/icon/gator/templates/microsoft-teams-logo.js +1 -1
  491. package/dist/components/icon/gator/templates/microsoft-word-logo.js +1 -1
  492. package/dist/components/icon/gator/templates/minus-circle.js +1 -1
  493. package/dist/components/icon/gator/templates/minus-square.js +1 -1
  494. package/dist/components/icon/gator/templates/minus.js +1 -1
  495. package/dist/components/icon/gator/templates/mobile-phone-2.js +1 -1
  496. package/dist/components/icon/gator/templates/monitor.js +1 -1
  497. package/dist/components/icon/gator/templates/move-doc.js +1 -1
  498. package/dist/components/icon/gator/templates/move.js +1 -1
  499. package/dist/components/icon/gator/templates/music.js +1 -1
  500. package/dist/components/icon/gator/templates/number-1.js +1 -1
  501. package/dist/components/icon/gator/templates/number-2.js +1 -1
  502. package/dist/components/icon/gator/templates/number-3.js +1 -1
  503. package/dist/components/icon/gator/templates/overflow-menu.js +1 -1
  504. package/dist/components/icon/gator/templates/paper-airplane.js +1 -1
  505. package/dist/components/icon/gator/templates/paperclip.js +1 -1
  506. package/dist/components/icon/gator/templates/pause-circle.js +1 -1
  507. package/dist/components/icon/gator/templates/pause.js +1 -1
  508. package/dist/components/icon/gator/templates/payments/payment-amazon-pay.js +1 -1
  509. package/dist/components/icon/gator/templates/payments/payment-amex.js +1 -1
  510. package/dist/components/icon/gator/templates/payments/payment-apple-pay.js +1 -1
  511. package/dist/components/icon/gator/templates/payments/payment-discover.js +1 -1
  512. package/dist/components/icon/gator/templates/payments/payment-google-pay.js +1 -1
  513. package/dist/components/icon/gator/templates/payments/payment-mastercard.js +1 -1
  514. package/dist/components/icon/gator/templates/payments/payment-visa.js +1 -1
  515. package/dist/components/icon/gator/templates/pen.js +1 -1
  516. package/dist/components/icon/gator/templates/pencil-paper.js +1 -1
  517. package/dist/components/icon/gator/templates/pencil.js +1 -1
  518. package/dist/components/icon/gator/templates/people-multiple.js +1 -1
  519. package/dist/components/icon/gator/templates/people-share.js +1 -1
  520. package/dist/components/icon/gator/templates/percent.js +1 -1
  521. package/dist/components/icon/gator/templates/person-add.js +1 -1
  522. package/dist/components/icon/gator/templates/person-check.js +1 -1
  523. package/dist/components/icon/gator/templates/person-lock.js +1 -1
  524. package/dist/components/icon/gator/templates/person.js +1 -1
  525. package/dist/components/icon/gator/templates/phone-alert.js +1 -1
  526. package/dist/components/icon/gator/templates/phone-mobile.js +1 -1
  527. package/dist/components/icon/gator/templates/phone.js +1 -1
  528. package/dist/components/icon/gator/templates/picture.js +1 -1
  529. package/dist/components/icon/gator/templates/pin.js +1 -1
  530. package/dist/components/icon/gator/templates/pinterest-logo.js +1 -1
  531. package/dist/components/icon/gator/templates/play-circle.js +1 -1
  532. package/dist/components/icon/gator/templates/play.js +1 -1
  533. package/dist/components/icon/gator/templates/plus-circle.js +1 -1
  534. package/dist/components/icon/gator/templates/plus.js +1 -1
  535. package/dist/components/icon/gator/templates/printer.js +1 -1
  536. package/dist/components/icon/gator/templates/question-chat-bubble.js +1 -1
  537. package/dist/components/icon/gator/templates/question-circle.js +1 -1
  538. package/dist/components/icon/gator/templates/question-mark.js +1 -1
  539. package/dist/components/icon/gator/templates/radio-selected.js +1 -1
  540. package/dist/components/icon/gator/templates/radio.js +1 -1
  541. package/dist/components/icon/gator/templates/receipt.js +1 -1
  542. package/dist/components/icon/gator/templates/restricted-filled.js +5 -0
  543. package/dist/components/icon/gator/templates/restricted.js +1 -1
  544. package/dist/components/icon/gator/templates/sandals.js +1 -1
  545. package/dist/components/icon/gator/templates/save.js +1 -1
  546. package/dist/components/icon/gator/templates/screen.js +1 -1
  547. package/dist/components/icon/gator/templates/search.js +1 -1
  548. package/dist/components/icon/gator/templates/selection.js +1 -1
  549. package/dist/components/icon/gator/templates/send-filled.js +5 -0
  550. package/dist/components/icon/gator/templates/send.js +1 -1
  551. package/dist/components/icon/gator/templates/settings.js +1 -1
  552. package/dist/components/icon/gator/templates/share-1.js +1 -1
  553. package/dist/components/icon/gator/templates/share-2.js +1 -1
  554. package/dist/components/icon/gator/templates/shield-lock.js +1 -1
  555. package/dist/components/icon/gator/templates/shield-warning.js +1 -1
  556. package/dist/components/icon/gator/templates/sidebar-simple.js +1 -1
  557. package/dist/components/icon/gator/templates/sidebar.js +1 -1
  558. package/dist/components/icon/gator/templates/smart-home.js +1 -1
  559. package/dist/components/icon/gator/templates/sort-arrow-solid-down.js +1 -1
  560. package/dist/components/icon/gator/templates/sort-arrow-solid-left.js +1 -1
  561. package/dist/components/icon/gator/templates/sort-arrow-solid-right.js +1 -1
  562. package/dist/components/icon/gator/templates/sort-arrow-solid-up-down.js +1 -1
  563. package/dist/components/icon/gator/templates/sort-arrow-solid-up.js +1 -1
  564. package/dist/components/icon/gator/templates/sort-reverse-variant.js +1 -1
  565. package/dist/components/icon/gator/templates/sort-variant.js +1 -1
  566. package/dist/components/icon/gator/templates/sparkle-filled.js +1 -1
  567. package/dist/components/icon/gator/templates/sparkle.js +1 -1
  568. package/dist/components/icon/gator/templates/speech-bubble.js +1 -1
  569. package/dist/components/icon/gator/templates/square-split-horizontal.js +1 -1
  570. package/dist/components/icon/gator/templates/square-split-vertical.js +1 -1
  571. package/dist/components/icon/gator/templates/square.js +1 -1
  572. package/dist/components/icon/gator/templates/stack.js +1 -1
  573. package/dist/components/icon/gator/templates/stamp.js +1 -1
  574. package/dist/components/icon/gator/templates/star-four-filled.js +1 -1
  575. package/dist/components/icon/gator/templates/star-four.js +1 -1
  576. package/dist/components/icon/gator/templates/star.js +1 -1
  577. package/dist/components/icon/gator/templates/stopwatch.js +1 -1
  578. package/dist/components/icon/gator/templates/sun.js +1 -1
  579. package/dist/components/icon/gator/templates/sync.js +1 -1
  580. package/dist/components/icon/gator/templates/tab-arrows.js +1 -1
  581. package/dist/components/icon/gator/templates/table.js +1 -1
  582. package/dist/components/icon/gator/templates/target.js +1 -1
  583. package/dist/components/icon/gator/templates/text-aa.js +1 -1
  584. package/dist/components/icon/gator/templates/thumbs-down.js +1 -1
  585. package/dist/components/icon/gator/templates/thumbs-up.js +1 -1
  586. package/dist/components/icon/gator/templates/tools.js +1 -1
  587. package/dist/components/icon/gator/templates/touch-id.js +1 -1
  588. package/dist/components/icon/gator/templates/trash.js +1 -1
  589. package/dist/components/icon/gator/templates/trend-up.js +1 -1
  590. package/dist/components/icon/gator/templates/twitter-logo.js +1 -1
  591. package/dist/components/icon/gator/templates/unlink.js +1 -1
  592. package/dist/components/icon/gator/templates/unlock.js +1 -1
  593. package/dist/components/icon/gator/templates/upload.js +1 -1
  594. package/dist/components/icon/gator/templates/video.js +1 -1
  595. package/dist/components/icon/gator/templates/waffle.js +1 -1
  596. package/dist/components/icon/gator/templates/warning-circle.js +1 -1
  597. package/dist/components/icon/gator/templates/warning-diamond.js +1 -1
  598. package/dist/components/icon/gator/templates/warning-filled.js +5 -0
  599. package/dist/components/icon/gator/templates/warning-octagon.js +1 -1
  600. package/dist/components/icon/gator/templates/warning.js +1 -1
  601. package/dist/components/icon/gator/templates/wet-sign.js +1 -1
  602. package/dist/components/icon/gator/templates/wifi-off.js +1 -1
  603. package/dist/components/icon/gator/templates/wifi.js +1 -1
  604. package/dist/components/icon/gator/templates/x-logo.js +1 -1
  605. package/dist/components/icon/gator/templates/yelp-logo.js +1 -1
  606. package/dist/components/icon/gator/templates/youtube-logo.js +1 -1
  607. package/dist/components/icon/gator/templates/zillow-logo.js +1 -1
  608. package/dist/components/icon/icon.js +1 -1
  609. package/dist/components/icon/slds/icon.slds.js +1 -1
  610. package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
  611. package/dist/components/icon-button/icon-button.js +1 -1
  612. package/dist/components/illustration/gator/illustration.gator.js +1 -1
  613. package/dist/components/illustration/gator/templates/add-note.js +1 -1
  614. package/dist/components/illustration/gator/templates/address.js +1 -1
  615. package/dist/components/illustration/gator/templates/appointment-confirmed.js +1 -1
  616. package/dist/components/illustration/gator/templates/assets.js +1 -1
  617. package/dist/components/illustration/gator/templates/auto-money.js +1 -1
  618. package/dist/components/illustration/gator/templates/balloons.js +1 -1
  619. package/dist/components/illustration/gator/templates/bank-account.js +1 -1
  620. package/dist/components/illustration/gator/templates/brief-case.js +1 -1
  621. package/dist/components/illustration/gator/templates/calendar-home.js +1 -1
  622. package/dist/components/illustration/gator/templates/change-data.js +1 -1
  623. package/dist/components/illustration/gator/templates/check-with-pencil.js +1 -1
  624. package/dist/components/illustration/gator/templates/co-borrower.js +1 -1
  625. package/dist/components/illustration/gator/templates/co-borrowers-incomplete.js +1 -1
  626. package/dist/components/illustration/gator/templates/co-borrowers.js +1 -1
  627. package/dist/components/illustration/gator/templates/commercial.js +1 -1
  628. package/dist/components/illustration/gator/templates/connectivity.js +1 -1
  629. package/dist/components/illustration/gator/templates/consumer.js +1 -1
  630. package/dist/components/illustration/gator/templates/contact-search.js +1 -1
  631. package/dist/components/illustration/gator/templates/conversation-multiple.js +1 -1
  632. package/dist/components/illustration/gator/templates/credit-card.js +1 -1
  633. package/dist/components/illustration/gator/templates/crop-background.js +1 -1
  634. package/dist/components/illustration/gator/templates/crop-page.js +1 -1
  635. package/dist/components/illustration/gator/templates/declarations-legal.js +1 -1
  636. package/dist/components/illustration/gator/templates/deliver.js +1 -1
  637. package/dist/components/illustration/gator/templates/demographic-info.js +1 -1
  638. package/dist/components/illustration/gator/templates/document-add.js +1 -1
  639. package/dist/components/illustration/gator/templates/document-signature.js +1 -1
  640. package/dist/components/illustration/gator/templates/download-app.js +1 -1
  641. package/dist/components/illustration/gator/templates/empty-box.js +1 -1
  642. package/dist/components/illustration/gator/templates/home-search.js +1 -1
  643. package/dist/components/illustration/gator/templates/house-5.js +1 -1
  644. package/dist/components/illustration/gator/templates/house-6.js +1 -1
  645. package/dist/components/illustration/gator/templates/house-fireworks.js +1 -1
  646. package/dist/components/illustration/gator/templates/house-under-construction.js +1 -1
  647. package/dist/components/illustration/gator/templates/house-with-shield.js +1 -1
  648. package/dist/components/illustration/gator/templates/inquiry.js +1 -1
  649. package/dist/components/illustration/gator/templates/locked.js +1 -1
  650. package/dist/components/illustration/gator/templates/make-an-offer.js +1 -1
  651. package/dist/components/illustration/gator/templates/mortgage.js +1 -1
  652. package/dist/components/illustration/gator/templates/network-error.js +1 -1
  653. package/dist/components/illustration/gator/templates/page-1.js +1 -1
  654. package/dist/components/illustration/gator/templates/page-2.js +1 -1
  655. package/dist/components/illustration/gator/templates/page-3.js +1 -1
  656. package/dist/components/illustration/gator/templates/paper-3.js +1 -1
  657. package/dist/components/illustration/gator/templates/paper-7.js +1 -1
  658. package/dist/components/illustration/gator/templates/person-2.js +1 -1
  659. package/dist/components/illustration/gator/templates/personal-info.js +1 -1
  660. package/dist/components/illustration/gator/templates/portfolio-analytics.js +1 -1
  661. package/dist/components/illustration/gator/templates/price-search.js +1 -1
  662. package/dist/components/illustration/gator/templates/quick-links.js +1 -1
  663. package/dist/components/illustration/gator/templates/register.js +1 -1
  664. package/dist/components/illustration/gator/templates/schedule-home-tour.js +1 -1
  665. package/dist/components/illustration/gator/templates/small-business.js +1 -1
  666. package/dist/components/illustration/gator/templates/social-security.js +1 -1
  667. package/dist/components/illustration/gator/templates/start-conversation.js +1 -1
  668. package/dist/components/illustration/gator/templates/status-no-x.js +1 -1
  669. package/dist/components/illustration/gator/templates/status.js +1 -1
  670. package/dist/components/illustration/gator/templates/success.js +1 -1
  671. package/dist/components/illustration/gator/templates/talkluments.js +1 -1
  672. package/dist/components/illustration/gator/templates/thumbs-down-man.js +1 -1
  673. package/dist/components/illustration/gator/templates/transfer.js +1 -1
  674. package/dist/components/illustration/gator/templates/treasury.js +1 -1
  675. package/dist/components/illustration/gator/templates/unsecured-line-of-credit.js +1 -1
  676. package/dist/components/illustration/gator/templates/upload-cloud.js +1 -1
  677. package/dist/components/illustration/gator/templates/your-bank-placeholder.js +1 -1
  678. package/dist/components/illustration/gator/templates/your-bank.js +1 -1
  679. package/dist/components/input/base/input-base.gator.js +1 -1
  680. package/dist/components/input/base/input-base.js +1 -1
  681. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +5 -5
  682. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  683. package/dist/components/input/gator/input-currency/input-currency.gator.js +1 -1
  684. package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
  685. package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +19 -3
  686. package/dist/components/input/gator/input-file/input-file.gator.js +3 -2
  687. package/dist/components/input/gator/input-label/input-label.gator.js +1 -1
  688. package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
  689. package/dist/components/input/gator/input-percent/input-percent.gator.js +1 -1
  690. package/dist/components/input/gator/input-phone/input-phone.gator.js +1 -1
  691. package/dist/components/input/gator/input-search/input-search.gator.js +1 -1
  692. package/dist/components/input/gator/input-text/input-text.gator.js +1 -1
  693. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
  694. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  695. package/dist/components/input/slds/input-error/input-error.slds.js +1 -1
  696. package/dist/components/input/slds/input-label/input-label.slds.js +1 -1
  697. package/dist/components/input/slds/input-text/input-text.slds.js +1 -1
  698. package/dist/components/input-rich-text/ckeditor-config.js +1 -1
  699. package/dist/components/input-rich-text/input-rich-text.js +1 -1
  700. package/dist/components/input-rich-text/input-rich-text.slds.js +2 -2
  701. package/dist/components/list/gator/list/list.gator.js +3 -3
  702. package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
  703. package/dist/components/loading-spinner/gator/loading-spinner.gator.js +1 -1
  704. package/dist/components/loading-spinner/loading-spinner.js +1 -1
  705. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  706. package/dist/components/menu/base/menu.js +1 -1
  707. package/dist/components/menu/base/slds/menu.slds.js +1 -1
  708. package/dist/components/menu/menu-divider/menu-divider.js +1 -1
  709. package/dist/components/menu/menu-divider/menu-divider.slds.js +1 -1
  710. package/dist/components/menu/menu-item/gator/menu-item.gator.js +1 -1
  711. package/dist/components/menu/menu-item/menu-item.js +1 -1
  712. package/dist/components/menu/menu-item/slds/menu-item.slds.js +1 -1
  713. package/dist/components/menu/menu-submenu/menu-submenu.js +1 -1
  714. package/dist/components/menu/menu-submenu/menu-submenu.slds.js +1 -1
  715. package/dist/components/modal/gator/modal.gator.js +1 -1
  716. package/dist/components/modal/modal.js +1 -1
  717. package/dist/components/page-header/gator/page-header.gator.js +1 -1
  718. package/dist/components/panel/gator/panel.gator.js +1 -1
  719. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  720. package/dist/components/pill/pill.js +1 -1
  721. package/dist/components/pill/pill.slds.js +1 -1
  722. package/dist/components/popover/gator/popover.gator.js +2 -2
  723. package/dist/components/popover/popover.js +1 -1
  724. package/dist/components/progress-bar/gator/progress-bar.gator.js +1 -1
  725. package/dist/components/progress-ring/gator/progress-ring.gator.js +1 -1
  726. package/dist/components/radio/radio.gator.js +1 -1
  727. package/dist/components/radio-group/radio-group.gator.js +1 -1
  728. package/dist/components/scoped-notification/scoped-notification.js +1 -1
  729. package/dist/components/scoped-notification/scoped-notification.slds.js +1 -1
  730. package/dist/components/selection-box/selection-box.gator.js +1 -1
  731. package/dist/components/selection-box-group/selection-box-group.gator.js +1 -1
  732. package/dist/components/selector/gator/selector.gator.js +1 -1
  733. package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
  734. package/dist/components/skip-link/gator/base/skip-link.gator.js +1 -1
  735. package/dist/components/skip-link/gator/list-item/skip-link-list-item.gator.js +1 -1
  736. package/dist/components/switch/gator/switch.gator.js +1 -1
  737. package/dist/components/switch/switch.js +1 -1
  738. package/dist/components/table/gator/table-bulk-controls/table-bulk-controls.gator.js +1 -1
  739. package/dist/components/table/gator/table-controls/table-controls.gator.js +1 -1
  740. package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
  741. package/dist/components/table/gator/table.gator.js +1 -1
  742. package/dist/components/table/table.js +1 -1
  743. package/dist/components/tabs/gator/tab/tab.gator.js +1 -1
  744. package/dist/components/tabs/gator/tabset/tabset.gator.js +1 -1
  745. package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
  746. package/dist/components/text-detail/text-detail.js +1 -1
  747. package/dist/components/text-link/gator/text-link.gator.js +1 -1
  748. package/dist/components/text-link/text-link.js +1 -1
  749. package/dist/components/time-picker/gator/time-picker.gator.js +1 -1
  750. package/dist/components/toast/gator/base/toast.gator.js +1 -1
  751. package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +2 -2
  752. package/dist/components/toast/gator/title/toast-title.gator.js +2 -2
  753. package/dist/components/toast/toast.js +1 -1
  754. package/dist/components/toast-container/gator/toast-container.gator.js +3 -3
  755. package/dist/components/toaster/gator/toaster.gator.js +2 -2
  756. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  757. package/dist/components/tooltip/slds/tooltip.slds.js +1 -1
  758. package/dist/components/tooltip/tooltip.js +1 -1
  759. package/dist/index.js +1 -1
  760. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-alignment@45.2.2 → @ckeditor_ckeditor5-alignment@46.1.0}/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js +2 -2
  761. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@46.1.0/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +7 -0
  762. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-autosave@45.2.2 → @ckeditor_ckeditor5-autosave@46.1.0}/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +1 -1
  763. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-basic-styles@45.2.2 → @ckeditor_ckeditor5-basic-styles@46.1.0}/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +2 -2
  764. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-block-quote@45.2.2 → @ckeditor_ckeditor5-block-quote@46.1.0}/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js +2 -2
  765. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-clipboard@45.2.2 → @ckeditor_ckeditor5-clipboard@46.1.0}/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +10 -10
  766. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@46.1.0/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +4 -0
  767. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@46.1.0/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +7 -0
  768. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js +4 -0
  769. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-editor-classic@45.2.2 → @ckeditor_ckeditor5-editor-classic@46.1.0}/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +2 -2
  770. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@46.1.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +30 -0
  771. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-enter@45.2.2 → @ckeditor_ckeditor5-enter@46.1.0}/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +2 -2
  772. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-essentials@45.2.2 → @ckeditor_ckeditor5-essentials@46.1.0}/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +1 -1
  773. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-find-and-replace@45.2.2 → @ckeditor_ckeditor5-find-and-replace@46.1.0}/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js +3 -3
  774. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@46.1.0/node_modules/@ckeditor/ckeditor5-font/dist/index.js +7 -0
  775. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-heading@45.2.2 → @ckeditor_ckeditor5-heading@46.1.0}/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +3 -3
  776. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-highlight@46.1.0/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +4 -0
  777. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-horizontal-line@45.2.2 → @ckeditor_ckeditor5-horizontal-line@46.1.0}/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js +2 -2
  778. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-html-embed@45.2.2 → @ckeditor_ckeditor5-html-embed@46.1.0}/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +2 -2
  779. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@46.1.0/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +12 -0
  780. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-icons@46.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +6 -0
  781. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@46.1.0/node_modules/@ckeditor/ckeditor5-image/dist/index.js +10 -0
  782. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-indent@45.2.2 → @ckeditor_ckeditor5-indent@46.1.0}/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +2 -2
  783. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-language@45.2.2 → @ckeditor_ckeditor5-language@46.1.0}/node_modules/@ckeditor/ckeditor5-language/dist/index.js +2 -2
  784. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-link@45.2.2 → @ckeditor_ckeditor5-link@46.1.0}/node_modules/@ckeditor/ckeditor5-link/dist/index.js +2 -2
  785. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@46.1.0/node_modules/@ckeditor/ckeditor5-list/dist/index.js +13 -0
  786. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@46.1.0/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +7 -0
  787. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-media-embed@45.2.2 → @ckeditor_ckeditor5-media-embed@46.1.0}/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +2 -2
  788. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-mention@46.1.0/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +4 -0
  789. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-page-break@46.1.0/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +4 -0
  790. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-paragraph@45.2.2 → @ckeditor_ckeditor5-paragraph@46.1.0}/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +2 -2
  791. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@46.1.0/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +31 -0
  792. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@46.1.0/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +4 -0
  793. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-select-all@45.2.2 → @ckeditor_ckeditor5-select-all@46.1.0}/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +2 -2
  794. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-show-blocks@45.2.2 → @ckeditor_ckeditor5-show-blocks@46.1.0}/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js +1 -1
  795. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-source-editing@45.2.2 → @ckeditor_ckeditor5-source-editing@46.1.0}/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +1 -1
  796. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-special-characters@45.2.2 → @ckeditor_ckeditor5-special-characters@46.1.0}/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +2 -2
  797. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-style@45.2.2 → @ckeditor_ckeditor5-style@46.1.0}/node_modules/@ckeditor/ckeditor5-style/dist/index.js +2 -2
  798. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@46.1.0/node_modules/@ckeditor/ckeditor5-table/dist/index.js +16 -0
  799. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-typing@45.2.2 → @ckeditor_ckeditor5-typing@46.1.0}/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +2 -2
  800. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +25 -0
  801. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-undo@45.2.2 → @ckeditor_ckeditor5-undo@46.1.0}/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +2 -2
  802. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-upload@45.2.2 → @ckeditor_ckeditor5-upload@46.1.0}/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +2 -2
  803. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +113 -0
  804. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-watchdog@45.2.2 → @ckeditor_ckeditor5-watchdog@46.1.0}/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +2 -2
  805. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@46.1.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +4 -0
  806. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/client/external.js +1 -0
  807. package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/client/figma_client.js +1 -1
  808. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/common/logging.js +1 -0
  809. package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/common/updates.js +1 -1
  810. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/connect/helpers.js +1 -0
  811. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/html/external.js +1 -0
  812. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/html/index_html.js +1 -0
  813. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/react/external.js +1 -0
  814. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/react/index_react.js +1 -0
  815. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/package.json.js +1 -0
  816. package/dist/node_modules/.pnpm/{@floating-ui_core@1.7.2 → @floating-ui_core@1.7.3}/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
  817. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -0
  818. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/default-msg.js +1 -1
  819. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +5 -0
  820. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js +5 -0
  821. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +5 -0
  822. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/deserialize.js +1 -0
  823. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/index.js +1 -0
  824. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/serialize.js +1 -0
  825. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/types.js +1 -0
  826. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +2 -2
  827. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
  828. package/dist/node_modules/.pnpm/axe-core@4.10.3/node_modules/axe-core/axe.js +8 -8
  829. package/dist/node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.js +1 -0
  830. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js +1 -1
  831. package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +2 -2
  832. package/dist/node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js +1 -1
  833. package/dist/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js +1 -0
  834. package/dist/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.js +1 -0
  835. package/dist/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js +1 -0
  836. package/dist/node_modules/.pnpm/color-name@2.0.2/node_modules/color-name/index.js +1 -0
  837. package/dist/node_modules/.pnpm/color-parse@2.0.2/node_modules/color-parse/index.js +1 -0
  838. package/dist/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js +1 -0
  839. package/dist/node_modules/.pnpm/decode-named-character-reference@1.2.0/node_modules/decode-named-character-reference/index.dom.js +1 -0
  840. package/dist/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.js +1 -0
  841. package/dist/node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js +3 -0
  842. package/dist/node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json.js +1 -0
  843. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +1 -0
  844. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/_internal/assignValue.js +1 -0
  845. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/_internal/isKey.js +1 -0
  846. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/_internal/toKey.js +1 -0
  847. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/function/debounce.js +1 -0
  848. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/function/throttle.js +1 -0
  849. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/assignIn.js +1 -0
  850. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/clone.js +1 -0
  851. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/get.js +1 -0
  852. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/has.js +1 -0
  853. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/mapValues.js +1 -0
  854. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/mergeWith.js +1 -0
  855. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/set.js +1 -0
  856. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/updateWith.js +1 -0
  857. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isArray.js +1 -0
  858. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js +1 -0
  859. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +1 -0
  860. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +1 -0
  861. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/matches.js +1 -0
  862. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +1 -0
  863. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/util/iteratee.js +1 -0
  864. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/util/toString.js +1 -0
  865. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/function/identity.js +1 -0
  866. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -0
  867. package/dist/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js +1 -0
  868. package/dist/node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js +1 -0
  869. package/dist/node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js +1 -1
  870. package/dist/node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js +1 -1
  871. package/dist/node_modules/.pnpm/hast-util-embedded@3.0.0/node_modules/hast-util-embedded/lib/index.js +1 -0
  872. package/dist/node_modules/.pnpm/hast-util-from-dom@5.0.1/node_modules/hast-util-from-dom/lib/index.js +1 -0
  873. package/dist/node_modules/.pnpm/hast-util-has-property@3.0.0/node_modules/hast-util-has-property/lib/index.js +1 -0
  874. package/dist/node_modules/.pnpm/hast-util-is-body-ok-link@3.0.1/node_modules/hast-util-is-body-ok-link/lib/index.js +1 -0
  875. package/dist/node_modules/.pnpm/hast-util-is-element@3.0.0/node_modules/hast-util-is-element/lib/index.js +1 -0
  876. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/block.js +1 -0
  877. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/content.js +1 -0
  878. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/index.js +2 -0
  879. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/skippable.js +1 -0
  880. package/dist/node_modules/.pnpm/hast-util-parse-selector@4.0.0/node_modules/hast-util-parse-selector/lib/index.js +1 -0
  881. package/dist/node_modules/.pnpm/hast-util-phrasing@3.0.1/node_modules/hast-util-phrasing/lib/index.js +1 -0
  882. package/dist/node_modules/.pnpm/hast-util-to-dom@4.0.1/node_modules/hast-util-to-dom/lib/index.js +1 -0
  883. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.js +1 -0
  884. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.js +1 -0
  885. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.js +9 -0
  886. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.js +1 -0
  887. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.js +1 -0
  888. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.js +1 -0
  889. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.js +1 -0
  890. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.js +1 -0
  891. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.js +1 -0
  892. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.js +1 -0
  893. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.js +1 -0
  894. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.js +1 -0
  895. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/a.js +1 -0
  896. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/base.js +1 -0
  897. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/blockquote.js +1 -0
  898. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/br.js +1 -0
  899. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/code.js +1 -0
  900. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/comment.js +1 -0
  901. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/del.js +1 -0
  902. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/dl.js +1 -0
  903. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/em.js +1 -0
  904. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/heading.js +1 -0
  905. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/hr.js +1 -0
  906. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/iframe.js +1 -0
  907. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/img.js +1 -0
  908. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/index.js +1 -0
  909. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/inline-code.js +1 -0
  910. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/input.js +1 -0
  911. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/li.js +1 -0
  912. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/list.js +1 -0
  913. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/media.js +1 -0
  914. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/p.js +1 -0
  915. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/q.js +1 -0
  916. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/root.js +1 -0
  917. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/select.js +1 -0
  918. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/strong.js +1 -0
  919. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/table-cell.js +1 -0
  920. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/table-row.js +1 -0
  921. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/table.js +1 -0
  922. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/text.js +1 -0
  923. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/textarea.js +1 -0
  924. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/wbr.js +1 -0
  925. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/index.js +1 -0
  926. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/state.js +1 -0
  927. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/drop-surrounding-breaks.js +1 -0
  928. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/find-selected-options.js +1 -0
  929. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/list-items-spread.js +1 -0
  930. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/wrap.js +1 -0
  931. package/dist/node_modules/.pnpm/hast-util-to-text@4.0.2/node_modules/hast-util-to-text/lib/index.js +3 -0
  932. package/dist/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js +1 -0
  933. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/create-h.js +1 -0
  934. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/index.js +1 -0
  935. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +1 -0
  936. package/dist/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.js +1 -0
  937. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +1 -1
  938. package/dist/node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js +1 -1
  939. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js +1 -0
  940. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/ParseError.js +1 -0
  941. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/PhoneNumber.js +1 -0
  942. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/format.js +2 -0
  943. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +2 -0
  944. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +2 -0
  945. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/metadata.js +1 -0
  946. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/normalizeArguments.js +2 -0
  947. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +2 -0
  948. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +1 -0
  949. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
  950. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
  951. package/dist/node_modules/.pnpm/{lit-element@4.2.0 → lit-element@4.2.1}/node_modules/lit-element/lit-element.js +2 -2
  952. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +5 -0
  953. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +5 -0
  954. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +5 -0
  955. package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/lit-html.js +1 -1
  956. package/dist/node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.js +1 -0
  957. package/dist/node_modules/.pnpm/{magic-string@0.30.18 → magic-string@0.30.19}/node_modules/magic-string/dist/magic-string.es.js +2 -2
  958. package/dist/node_modules/.pnpm/markdown-table@3.0.4/node_modules/markdown-table/index.js +2 -0
  959. package/dist/node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js +1 -0
  960. package/dist/node_modules/.pnpm/mdast-util-from-markdown@2.0.2/node_modules/mdast-util-from-markdown/lib/index.js +1 -0
  961. package/dist/node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +1 -0
  962. package/dist/node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js +2 -0
  963. package/dist/node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js +1 -0
  964. package/dist/node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js +3 -0
  965. package/dist/node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js +1 -0
  966. package/dist/node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js +1 -0
  967. package/dist/node_modules/.pnpm/mdast-util-newline-to-break@2.0.0/node_modules/mdast-util-newline-to-break/lib/index.js +1 -0
  968. package/dist/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js +1 -0
  969. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/footer.js +3 -0
  970. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +1 -0
  971. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  972. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  973. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/delete.js +1 -0
  974. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +1 -0
  975. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +1 -0
  976. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/heading.js +1 -0
  977. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/html.js +1 -0
  978. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +1 -0
  979. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/image.js +1 -0
  980. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/index.js +1 -0
  981. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +1 -0
  982. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +1 -0
  983. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/link.js +1 -0
  984. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +3 -0
  985. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/list.js +1 -0
  986. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +1 -0
  987. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/root.js +1 -0
  988. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/strong.js +1 -0
  989. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +1 -0
  990. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +1 -0
  991. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table.js +1 -0
  992. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/text.js +1 -0
  993. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +1 -0
  994. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  995. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/revert.js +1 -0
  996. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/state.js +4 -0
  997. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.js +1 -0
  998. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +1 -0
  999. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.js +3 -0
  1000. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.js +4 -0
  1001. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.js +2 -0
  1002. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +1 -0
  1003. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.js +6 -0
  1004. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.js +1 -0
  1005. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +1 -0
  1006. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.js +1 -0
  1007. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.js +1 -0
  1008. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +1 -0
  1009. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +1 -0
  1010. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.js +1 -0
  1011. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +1 -0
  1012. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.js +1 -0
  1013. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +1 -0
  1014. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.js +1 -0
  1015. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.js +1 -0
  1016. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.js +1 -0
  1017. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +1 -0
  1018. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.js +4 -0
  1019. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/join.js +1 -0
  1020. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/unsafe.js +7 -0
  1021. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/association.js +1 -0
  1022. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +1 -0
  1023. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +1 -0
  1024. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +1 -0
  1025. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +1 -0
  1026. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +1 -0
  1027. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +1 -0
  1028. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +1 -0
  1029. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +1 -0
  1030. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +1 -0
  1031. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +1 -0
  1032. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +1 -0
  1033. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +10 -0
  1034. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +2 -0
  1035. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +1 -0
  1036. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +1 -0
  1037. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +1 -0
  1038. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +1 -0
  1039. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +1 -0
  1040. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +1 -0
  1041. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +1 -0
  1042. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/safe.js +1 -0
  1043. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/track.js +1 -0
  1044. package/dist/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js +1 -0
  1045. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.js +1 -0
  1046. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.js +1 -0
  1047. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js +1 -0
  1048. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js +1 -0
  1049. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.js +1 -0
  1050. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js +1 -0
  1051. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.js +1 -0
  1052. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.js +1 -0
  1053. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js +1 -0
  1054. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.js +1 -0
  1055. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js +1 -0
  1056. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +1 -0
  1057. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js +1 -0
  1058. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.js +1 -0
  1059. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.js +1 -0
  1060. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.js +1 -0
  1061. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.js +1 -0
  1062. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.js +1 -0
  1063. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js +1 -0
  1064. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js +1 -0
  1065. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js +1 -0
  1066. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js +1 -0
  1067. package/dist/node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +1 -0
  1068. package/dist/node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +1 -0
  1069. package/dist/node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +1 -0
  1070. package/dist/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.js +1 -0
  1071. package/dist/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.js +1 -0
  1072. package/dist/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js +1 -0
  1073. package/dist/node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +1 -0
  1074. package/dist/node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js +1 -0
  1075. package/dist/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js +1 -0
  1076. package/dist/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js +1 -0
  1077. package/dist/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js +1 -0
  1078. package/dist/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js +1 -0
  1079. package/dist/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js +1 -0
  1080. package/dist/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js +1 -0
  1081. package/dist/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js +1 -0
  1082. package/dist/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js +1 -0
  1083. package/dist/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js +1 -0
  1084. package/dist/node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js +1 -0
  1085. package/dist/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js +1 -0
  1086. package/dist/node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js +1 -0
  1087. package/dist/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js +1 -0
  1088. package/dist/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js +1 -0
  1089. package/dist/node_modules/.pnpm/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri/index.js +1 -0
  1090. package/dist/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js +1 -0
  1091. package/dist/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +1 -0
  1092. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js +1 -0
  1093. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js +3 -0
  1094. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js +1 -0
  1095. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js +1 -0
  1096. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js +1 -0
  1097. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js +1 -0
  1098. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js +1 -0
  1099. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js +1 -0
  1100. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js +1 -0
  1101. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.js +1 -0
  1102. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.js +1 -0
  1103. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.js +1 -0
  1104. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.js +1 -0
  1105. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.js +1 -0
  1106. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.js +1 -0
  1107. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.js +1 -0
  1108. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js +1 -0
  1109. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.js +1 -0
  1110. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.js +1 -0
  1111. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.js +1 -0
  1112. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.js +1 -0
  1113. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.js +1 -0
  1114. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.js +1 -0
  1115. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.js +1 -0
  1116. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.js +1 -0
  1117. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.js +1 -0
  1118. package/dist/node_modules/.pnpm/{react@19.1.0 → react@19.1.1}/node_modules/react/cjs/react.production.js +1 -1
  1119. package/dist/node_modules/.pnpm/{react@19.1.0 → react@19.1.1}/node_modules/react/index.js +1 -1
  1120. package/dist/node_modules/.pnpm/rehype-dom-parse@5.0.2/node_modules/rehype-dom-parse/lib/index.js +1 -0
  1121. package/dist/node_modules/.pnpm/rehype-dom-stringify@4.0.2/node_modules/rehype-dom-stringify/lib/index.js +1 -0
  1122. package/dist/node_modules/.pnpm/rehype-minify-whitespace@6.0.2/node_modules/rehype-minify-whitespace/lib/index.js +1 -0
  1123. package/dist/node_modules/.pnpm/rehype-remark@10.0.1/node_modules/rehype-remark/lib/index.js +1 -0
  1124. package/dist/node_modules/.pnpm/remark-breaks@4.0.0/node_modules/remark-breaks/lib/index.js +1 -0
  1125. package/dist/node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js +1 -0
  1126. package/dist/node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js +1 -0
  1127. package/dist/node_modules/.pnpm/remark-rehype@11.1.2/node_modules/remark-rehype/lib/index.js +1 -0
  1128. package/dist/node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.js +1 -0
  1129. package/dist/node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js +1 -1
  1130. package/dist/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +1 -0
  1131. package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/instrumenter/index.js +1 -1
  1132. package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/test/index.js +12 -12
  1133. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.js +1 -0
  1134. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.js +1 -0
  1135. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js +1 -0
  1136. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.js +1 -0
  1137. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.js +1 -0
  1138. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.js +1 -0
  1139. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.js +1 -0
  1140. package/dist/node_modules/.pnpm/strip-literal@3.0.0/node_modules/strip-literal/dist/index.js +1 -1
  1141. package/dist/node_modules/.pnpm/trim-lines@3.0.1/node_modules/trim-lines/index.js +1 -0
  1142. package/dist/node_modules/.pnpm/trim-trailing-lines@2.1.0/node_modules/trim-trailing-lines/index.js +1 -0
  1143. package/dist/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js +1 -0
  1144. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/index.js +1 -1
  1145. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/index.js +1 -1
  1146. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/llhttp/constants.js +1 -1
  1147. package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.js +1 -0
  1148. package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +1 -0
  1149. package/dist/node_modules/.pnpm/unist-util-find-after@5.0.0/node_modules/unist-util-find-after/lib/index.js +1 -0
  1150. package/dist/node_modules/.pnpm/unist-util-is@6.0.0/node_modules/unist-util-is/lib/index.js +1 -0
  1151. package/dist/node_modules/.pnpm/unist-util-position@5.0.0/node_modules/unist-util-position/lib/index.js +1 -0
  1152. package/dist/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js +1 -0
  1153. package/dist/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/color.js +1 -0
  1154. package/dist/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js +1 -0
  1155. package/dist/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js +1 -0
  1156. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js +1 -1
  1157. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/util.js +2 -2
  1158. package/dist/node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js +1 -0
  1159. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js +1 -0
  1160. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.js +1 -0
  1161. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.browser.js +1 -0
  1162. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.browser.js +1 -0
  1163. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.js +1 -0
  1164. package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +2 -2
  1165. package/dist/node_modules/.pnpm/web-namespaces@2.0.1/node_modules/web-namespaces/index.js +1 -0
  1166. package/dist/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js +1 -0
  1167. package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
  1168. package/dist/packages/web-components/src/tokens/primitive-new.tokens.scss.js +1 -0
  1169. package/dist/packages/web-components/src/tokens/semantic-new.tokens.scss.js +1 -0
  1170. package/dist/styles/gator/_gator-typography.css +2 -2
  1171. package/dist/styles/gator/fonts/OpenSans-VariableFont.woff2 +0 -0
  1172. package/dist/styles/gator/fonts/nCino+Avenir.woff2 +0 -0
  1173. package/dist/styles/gator/fonts/nCino+AvenirBd.woff2 +0 -0
  1174. package/dist/styles/gator/fonts.css +20 -0
  1175. package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +2 -0
  1176. package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +2 -0
  1177. package/dist/types/components/button/gator/button.gator.d.ts +7 -5
  1178. package/dist/types/components/button/slds/button.slds.d.ts +2 -0
  1179. package/dist/types/components/button-card/gator/button-card.gator.d.ts +2 -0
  1180. package/dist/types/components/chip/gator/chip.gator.d.ts +2 -0
  1181. package/dist/types/components/combobox/base/combobox.slds.d.ts +2 -0
  1182. package/dist/types/components/date-picker/base/gator/datepicker.gator.d.ts +2 -0
  1183. package/dist/types/components/date-picker/year-month-selector/year-month-selector.gator.d.ts +2 -0
  1184. package/dist/types/components/fab/gator/fab.gator.d.ts +2 -0
  1185. package/dist/types/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.d.ts +2 -0
  1186. package/dist/types/components/icon/gator/templates/chat-circle-ai.d.ts +1 -0
  1187. package/dist/types/components/icon/gator/templates/chat-circle-dots.d.ts +1 -0
  1188. package/dist/types/components/icon/gator/templates/chat-circle-slash.d.ts +1 -0
  1189. package/dist/types/components/icon/gator/templates/chat-circle-text.d.ts +1 -0
  1190. package/dist/types/components/icon/gator/templates/chat-circle.d.ts +1 -0
  1191. package/dist/types/components/icon/gator/templates/check-circle-filled.d.ts +1 -0
  1192. package/dist/types/components/icon/gator/templates/index.d.ts +11 -2
  1193. package/dist/types/components/icon/gator/templates/restricted-filled.d.ts +1 -0
  1194. package/dist/types/components/icon/gator/templates/send-filled.d.ts +1 -0
  1195. package/dist/types/components/icon/gator/templates/warning-filled.d.ts +1 -0
  1196. package/dist/types/components/icon-button/gator/icon-button.gator.d.ts +2 -0
  1197. package/dist/types/components/input/base/input-base.d.ts +1 -1
  1198. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +3 -0
  1199. package/dist/types/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.d.ts +1 -0
  1200. package/dist/types/components/input/gator/input-file/input-file.gator.d.ts +1 -0
  1201. package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +2 -0
  1202. package/dist/types/components/input/gator/input-search/input-search.gator.d.ts +2 -0
  1203. package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +2 -0
  1204. package/dist/types/components/input/gator/input-textarea/input-textarea.gator.d.ts +2 -0
  1205. package/dist/types/components/input/gator/input-time/input-time.gator.d.ts +2 -0
  1206. package/dist/types/components/list/gator/list/list.gator.d.ts +4 -2
  1207. package/dist/types/components/list/gator/list-item/list-item.gator.d.ts +2 -0
  1208. package/dist/types/components/popover/gator/popover.gator.d.ts +2 -0
  1209. package/dist/types/components/selection-box/selection-box.gator.d.ts +2 -0
  1210. package/dist/types/components/skip-link/gator/base/skip-link.gator.d.ts +2 -0
  1211. package/dist/types/components/switch/gator/switch.gator.d.ts +2 -0
  1212. package/dist/types/components/table/gator/table-bulk-controls/table-bulk-controls.gator.d.ts +2 -0
  1213. package/dist/types/components/text-link/gator/text-link.gator.d.ts +2 -0
  1214. package/dist/types/components/time-picker/gator/time-picker.gator.d.ts +2 -0
  1215. package/dist/types/components/tooltip/gator/tooltip.gator.d.ts +2 -0
  1216. package/dist/types/index.d.ts +1 -0
  1217. package/dist/types/utils/components/design-tokens/token-parser.d.ts +1 -0
  1218. package/dist/utils/components/design-tokens/token-parser.js +1 -0
  1219. package/dist/utils/components/illustration-list/illustration-list.gator.js +1 -1
  1220. package/dist/utils/components/ngc-component.js +1 -1
  1221. package/dist/utils/components/slot-placeholder/slot-placeholder.js +1 -1
  1222. package/dist/utils/components/testable-lit-element/testable-lit-element.js +1 -1
  1223. package/dist/utils/vitest-a11y-utils.js +1 -1
  1224. package/package.json +134 -129
  1225. package/web-types.json +71 -64
  1226. package/dist/_virtual/index13.js +0 -1
  1227. package/dist/assets/node_modules/.pnpm/ckeditor5@45.2.2/node_modules/ckeditor5/dist/ckeditor5.css +0 -4
  1228. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@45.2.2/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +0 -7
  1229. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@45.2.2/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +0 -4
  1230. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.2.2/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +0 -7
  1231. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js +0 -4
  1232. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +0 -30
  1233. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@45.2.2/node_modules/@ckeditor/ckeditor5-font/dist/index.js +0 -7
  1234. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-highlight@45.2.2/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +0 -4
  1235. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@45.2.2/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +0 -12
  1236. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +0 -6
  1237. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@45.2.2/node_modules/@ckeditor/ckeditor5-image/dist/index.js +0 -10
  1238. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.2/node_modules/@ckeditor/ckeditor5-list/dist/index.js +0 -13
  1239. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@45.2.2/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +0 -6
  1240. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.2/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +0 -4
  1241. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-page-break@45.2.2/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +0 -4
  1242. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@45.2.2/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +0 -28
  1243. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@45.2.2/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +0 -4
  1244. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@45.2.2/node_modules/@ckeditor/ckeditor5-table/dist/index.js +0 -16
  1245. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +0 -28
  1246. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +0 -112
  1247. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.2/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +0 -4
  1248. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/client/external.js +0 -1
  1249. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/common/logging.js +0 -1
  1250. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/connect/helpers.js +0 -1
  1251. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/html/external.js +0 -1
  1252. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/html/index_html.js +0 -1
  1253. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/react/external.js +0 -1
  1254. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/react/index_react.js +0 -1
  1255. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/package.json.js +0 -1
  1256. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -1
  1257. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js +0 -5
  1258. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -5
  1259. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js +0 -5
  1260. package/dist/node_modules/.pnpm/color-parse@1.4.2/node_modules/color-parse/index.js +0 -1
  1261. package/dist/node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/lib/main.js +0 -3
  1262. package/dist/node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/package.json.js +0 -1
  1263. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/toKey.js +0 -1
  1264. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/debounce.js +0 -1
  1265. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/throttle.js +0 -1
  1266. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/assignIn.js +0 -1
  1267. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/get.js +0 -1
  1268. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mapValues.js +0 -1
  1269. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mergeWith.js +0 -1
  1270. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/set.js +0 -1
  1271. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/unset.js +0 -1
  1272. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js +0 -1
  1273. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toString.js +0 -1
  1274. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/ParseError.js +0 -1
  1275. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -1
  1276. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/format.js +0 -2
  1277. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -2
  1278. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -2
  1279. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/metadata.js +0 -1
  1280. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -2
  1281. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -2
  1282. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -1
  1283. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -1
  1284. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
  1285. package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directive-helpers.js +0 -5
  1286. package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js +0 -5
  1287. package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/repeat.js +0 -5
  1288. package/dist/node_modules/.pnpm/marked@4.0.12/node_modules/marked/lib/marked.esm.js +0 -48
  1289. package/dist/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.js +0 -16
  1290. package/dist/node_modules/.pnpm/turndown@7.2.0/node_modules/turndown/lib/turndown.browser.es.js +0 -61
  1291. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/common/fetch.js +0 -0
  1292. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/connect/external_types.js +0 -0
  1293. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/connect/figma_rest_api.js +0 -0
  1294. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/connect/index_common.js +0 -0
  1295. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/html/template_literal.js +0 -0
  1296. /package/dist/node_modules/.pnpm/{@lit_reactive-element@2.1.0 → @lit_reactive-element@2.1.1}/node_modules/@lit/reactive-element/decorators/property.js +0 -0
  1297. /package/dist/node_modules/.pnpm/{@lit_reactive-element@2.1.0 → @lit_reactive-element@2.1.1}/node_modules/@lit/reactive-element/decorators/state.js +0 -0
  1298. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__52d7c6cd144c32d9cfaaa0e5cd39c583 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.1_typescript@5.9.2__playwright@1.55.0__87f0b62113e4cf466e19137faba4c80e}/node_modules/@vitest/browser/context.js +0 -0
  1299. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +0 -0
  1300. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/getTag.js +0 -0
  1301. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +0 -0
  1302. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +0 -0
  1303. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +0 -0
  1304. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.js +0 -0
  1305. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/tags.js +0 -0
  1306. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0/node_modules/es-toolkit/dist → es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat}/function/identity.js +0 -0
  1307. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +0 -0
  1308. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +0 -0
  1309. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/keysIn.js +0 -0
  1310. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/merge.js +0 -0
  1311. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/property.js +0 -0
  1312. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +0 -0
  1313. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +0 -0
  1314. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isElement.js +0 -0
  1315. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0/node_modules/es-toolkit/dist → es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat}/predicate/isFunction.js +0 -0
  1316. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isObject.js +0 -0
  1317. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +0 -0
  1318. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +0 -0
  1319. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isString.js +0 -0
  1320. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +0 -0
  1321. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +0 -0
  1322. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/string/escapeRegExp.js +0 -0
  1323. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/string/startCase.js +0 -0
  1324. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/string/upperFirst.js +0 -0
  1325. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/eq.js +0 -0
  1326. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/times.js +0 -0
  1327. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toFinite.js +0 -0
  1328. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toInteger.js +0 -0
  1329. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toNumber.js +0 -0
  1330. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toPath.js +0 -0
  1331. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/function/after.js +0 -0
  1332. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/function/debounce.js +0 -0
  1333. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/function/noop.js +0 -0
  1334. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/object/clone.js +0 -0
  1335. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/object/cloneDeepWith.js +0 -0
  1336. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/object/mapValues.js +0 -0
  1337. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isBuffer.js +0 -0
  1338. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isEqual.js +0 -0
  1339. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isEqualWith.js +0 -0
  1340. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isLength.js +0 -0
  1341. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isPlainObject.js +0 -0
  1342. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isPrimitive.js +0 -0
  1343. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isTypedArray.js +0 -0
  1344. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/string/escapeRegExp.js +0 -0
  1345. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/string/upperFirst.js +0 -0
  1346. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/string/words.js +0 -0
  1347. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/constants.js +0 -0
  1348. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -0
  1349. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -0
  1350. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -0
  1351. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -0
  1352. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -0
  1353. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -0
  1354. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -0
  1355. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -0
  1356. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -0
  1357. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -0
  1358. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -0
  1359. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -0
  1360. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -0
  1361. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -0
  1362. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -0
  1363. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -0
  1364. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -0
  1365. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -0
  1366. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -0
  1367. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -0
  1368. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
  1369. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
  1370. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/parse.js +0 -0
  1371. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
  1372. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -0
  1373. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -0
  1374. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -0
  1375. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/async-directive.js +0 -0
  1376. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directive.js +0 -0
  1377. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/if-defined.js +0 -0
  1378. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/live.js +0 -0
  1379. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/ref.js +0 -0
  1380. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/unsafe-html.js +0 -0
  1381. /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/client-logger/index.js +0 -0
  1382. /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/core-events/index.js +0 -0
  1383. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  1384. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
  1385. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
@@ -1,10 +0,0 @@
1
- import{Plugin as f,Command as v}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Clipboard as Qe,ClipboardPipeline as q}from"../../../../../@ckeditor_ckeditor5-clipboard@45.2.2/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";import{LivePosition as P,LiveRange as et,UpcastWriter as $,enablePlaceholder as tt,Element as it,Observer as nt}from"../../../../../@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{Undo as st}from"../../../../../@ckeditor_ckeditor5-undo@45.2.2/node_modules/@ckeditor/ckeditor5-undo/dist/index.js";import{Delete as ot}from"../../../../../@ckeditor_ckeditor5-typing@45.2.2/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{global as V,DomEmitterMixin as at,logWarning as _,CKEditorError as rt,Collection as lt,env as ct,first as H,FocusTracker as G,KeystrokeHandler as z,Rect as mt,toArray as he}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{Widget as fe,WidgetToolbarRepository as ie,toWidget as ut,isWidget as gt,toWidgetEditable as dt,WidgetResize as N,calculateResizeHostAncestorWidth as pe,findOptimalInsertionRange as ht}from"../../../../../@ckeditor_ckeditor5-widget@45.2.2/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{SplitButtonView as Ie,createDropdown as K,MenuBarMenuView as ft,MenuBarMenuListView as pt,MenuBarMenuListItemView as It,ButtonView as b,Dialog as bt,MenuBarMenuListItemButtonView as wt,ContextualBalloon as be,CssTransitionDisablerMixin as we,clickOutsideHandler as _e,ViewModel as ne,addToolbarToDropdown as _t,Notification as se,FileDialogButtonView as oe,MenuBarMenuListItemFileDialogButtonView as vt,View as R,ViewCollection as J,FocusCycler as Z,CollapsibleView as yt,submitHandler as O,LabeledFieldView as X,createLabeledInputText as ve,BalloonPanelView as Ct,DropdownButtonView as Et,addListToDropdown as kt,FormRowView as ye,FormHeaderView as Ce,createLabeledInputNumber as St}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{IconImage as Ut,IconCaption as Bt,IconImageUrl as Vt,IconObjectSizeFull as At,IconObjectSizeCustom as Tt,IconObjectSizeLarge as xt,IconObjectSizeMedium as zt,IconObjectSizeSmall as Rt,IconObjectInline as Ee,IconObjectInlineRight as D,IconObjectInlineLeft as ke,IconObjectCenter as M,IconObjectRight as Se,IconObjectLeft as Ue,IconObjectFullWidth as Ot,IconTextAlternative as Pt,IconImageUpload as Nt,IconPreviousArrow as Be}from"../../../../../@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{FileRepository as y}from"../../../../../@ckeditor_ckeditor5-upload@45.2.2/node_modules/@ckeditor/ckeditor5-upload/dist/index.js";import{isObject as Ve}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isObject.js";import{identity as E}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/identity.js";/**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */function Ft(o){return o.createContainerElement("span",{class:"image-inline"},o.createEmptyElement("img"))}function ae(o){return o.createContainerElement("figure",{class:"image"},[o.createEmptyElement("img"),o.createSlot("children")])}function Ae(o,e){const t=o.plugins.get("ImageUtils"),i=o.plugins.has("ImageInlineEditing")&&o.plugins.has("ImageBlockEditing");return a=>t.isInlineImageView(a)?i&&(a.getStyle("display")=="block"||a.findAncestor(t.isBlockImageView)?"imageBlock":"imageInline")!==e?null:n(a):null;function n(a){const s={name:!0};return a.hasAttribute("src")&&(s.attributes=["src"]),s}}function Y(o,e){const t=H(e.getSelectedBlocks());return!t||o.isObject(t)||t.isEmpty&&t.name!="listItem"?"imageBlock":"imageInline"}function A(o){return o&&o.endsWith("px")?parseInt(o):null}function T(o){const e=A(o.getStyle("width")),t=A(o.getStyle("height"));return!!(e&&t)}const Lt=/^(image|image-inline)$/;class I extends f{_domEmitter=new(at());static get pluginName(){return"ImageUtils"}static get isOfficialPlugin(){return!0}isImage(e){return this.isInlineImage(e)||this.isBlockImage(e)}isInlineImageView(e){return!!e&&e.is("element","img")}isBlockImageView(e){return!!e&&e.is("element","figure")&&e.hasClass("image")}insertImage(e={},t=null,i=null,n={}){const a=this.editor,s=a.model,r=s.document.selection,l=Te(a,t||r,i);e={...Object.fromEntries(r.getAttributes()),...e};for(const c in e)s.schema.checkAttribute(l,c)||delete e[c];return s.change(c=>{const{setImageSizes:m=!0}=n,u=c.createElement(l,e);return s.insertObject(u,t,null,{setSelection:"on",findOptimalPosition:!t&&l!="imageInline"?"auto":void 0}),u.parent?(m&&this.setImageNaturalSizeAttributes(u),u):null})}setImageNaturalSizeAttributes(e){const t=e.getAttribute("src");t&&(e.getAttribute("width")||e.getAttribute("height")||this.editor.model.change(i=>{const n=new V.window.Image;this._domEmitter.listenTo(n,"load",()=>{!e.getAttribute("width")&&!e.getAttribute("height")&&this.editor.model.enqueueChange(i.batch,a=>{a.setAttribute("width",n.naturalWidth,e),a.setAttribute("height",n.naturalHeight,e)}),this._domEmitter.stopListening(n,"load")}),n.src=t}))}getClosestSelectedImageWidget(e){const t=e.getFirstPosition();if(!t)return null;const i=e.getSelectedElement();if(i&&this.isImageWidget(i))return i;let n=t.parent;for(;n;){if(n.is("element")&&this.isImageWidget(n))return n;n=n.parent}return null}getClosestSelectedImageElement(e){const t=e.getSelectedElement();return this.isImage(t)?t:e.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(e){return e.findAncestor({classes:Lt})}isImageAllowed(){const t=this.editor.model.document.selection;return Dt(this.editor,t)&&Mt(t)}toImageWidget(e,t,i){return t.setCustomProperty("image",!0,e),ut(e,t,{label:()=>{const s=this.findViewImgElement(e).getAttribute("alt");return s?`${s} ${i}`:i}})}isImageWidget(e){return!!e.getCustomProperty("image")&&gt(e)}isBlockImage(e){return!!e&&e.is("element","imageBlock")}isInlineImage(e){return!!e&&e.is("element","imageInline")}findViewImgElement(e){if(this.isInlineImageView(e))return e;const t=this.editor.editing.view;for(const{item:i}of t.createRangeIn(e))if(this.isInlineImageView(i))return i}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function Dt(o,e){if(Te(o,e,null)=="imageBlock"){const i=Wt(e,o.model);if(o.model.schema.checkChild(i,"imageBlock"))return!0}else if(o.model.schema.checkChild(e.focus,"imageInline"))return!0;return!1}function Mt(o){return[...o.focus.getAncestors()].every(e=>!e.is("element","imageBlock"))}function Wt(o,e){const i=ht(o,e).start.parent;return i.isEmpty&&!i.is("element","$root")?i.parent:i}function Te(o,e,t){const i=o.model.schema,n=o.config.get("image.insert.type");return o.plugins.has("ImageBlockEditing")?o.plugins.has("ImageInlineEditing")?t||(n==="inline"?"imageInline":n!=="auto"?"imageBlock":e.is("selection")?Y(i,e):i.checkChild(e,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}const jt=new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class sn extends f{static get requires(){return[Qe,I,st,ot]}static get pluginName(){return"AutoImage"}static get isOfficialPlugin(){return!0}_timeoutId;_positionToInsert;constructor(e){super(e),this._timeoutId=null,this._positionToInsert=null}init(){const e=this.editor,t=e.model.document,i=e.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",()=>{const n=t.selection.getFirstRange(),a=P.fromPosition(n.start);a.stickiness="toPrevious";const s=P.fromPosition(n.end);s.stickiness="toNext",t.once("change:data",()=>{this._embedImageBetweenPositions(a,s),a.detach(),s.detach()},{priority:"high"})}),e.commands.get("undo").on("execute",()=>{this._timeoutId&&(V.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_embedImageBetweenPositions(e,t){const i=this.editor,n=new et(e,t),a=n.getWalker({ignoreElementEnd:!0}),s=Object.fromEntries(i.model.document.selection.getAttributes()),r=this.editor.plugins.get("ImageUtils");let l="";for(const c of a)c.item.is("$textProxy")&&(l+=c.item.data);if(l=l.trim(),!l.match(jt)){n.detach();return}this._positionToInsert=P.fromPosition(e),this._timeoutId=setTimeout(()=>{if(!i.commands.get("insertImage").isEnabled){n.detach();return}i.model.change(u=>{this._timeoutId=null,u.remove(n),n.detach();let g;this._positionToInsert.root.rootName!=="$graveyard"&&(g=this._positionToInsert.toPosition()),r.insertImage({...s,src:l},g),this._positionToInsert.detach(),this._positionToInsert=null}),i.plugins.get("Delete").requestUndoOnBackspace()},100)}}class qt extends v{refresh(){const i=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!i,this.isEnabled&&i.hasAttribute("alt")?this.value=i.getAttribute("alt"):this.value=!1}execute(e){const t=this.editor,i=t.plugins.get("ImageUtils"),n=t.model,a=i.getClosestSelectedImageElement(n.document.selection);n.change(s=>{s.setAttribute("alt",e.newValue,a)})}}class $t extends f{static get requires(){return[I]}static get pluginName(){return"ImageTextAlternativeEditing"}static get isOfficialPlugin(){return!0}init(){this.editor.commands.add("imageTextAlternative",new qt(this.editor))}}class Ht extends R{focusTracker;keystrokes;labeledInput;backButtonView;saveButtonView;children;_focusables;_focusCycler;constructor(e){super(e),this.focusTracker=new G,this.keystrokes=new z,this.backButtonView=this._createBackButton(),this.saveButtonView=this._createSaveButton(),this.labeledInput=this._createLabeledInputView(),this.children=this.createCollection([this._createHeaderView()]),this.children.add(new ye(e,{children:[this.labeledInput,this.saveButtonView],class:["ck-form__row_with-submit","ck-form__row_large-top-padding"]})),this._focusables=new J,this.keystrokes.set("Esc",(t,i)=>{this.fire("cancel"),i()}),this._focusCycler=new Z({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),O({view:this}),[this.backButtonView,this.labeledInput,this.saveButtonView].forEach(t=>{this._focusables.add(t),this.focusTracker.add(t.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createBackButton(){const e=this.locale.t,t=new b(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:Be,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createSaveButton(){const e=this.locale.t,t=new b(this.locale);return t.set({label:e("Save"),withText:!0,type:"submit",class:"ck-button-action ck-button-bold"}),t}_createHeaderView(){const e=this.locale.t,t=new Ce(this.locale,{label:e("Text Alternative")});return t.children.add(this.backButtonView,0),t}_createLabeledInputView(){const e=this.locale.t,t=new X(this.locale,ve);return t.label=e("Text alternative"),t.class="ck-labeled-field-view_full-width",t}}function Gt(o){const e=o.plugins.get("ContextualBalloon");if(o.plugins.get("ImageUtils").getClosestSelectedImageWidget(o.editing.view.document.selection)){const i=Q(o);e.updatePosition(i)}}function Q(o){const e=o.editing.view,t=Ct.defaultPositions,i=o.plugins.get("ImageUtils");return{target:e.domConverter.mapViewToDom(i.getClosestSelectedImageWidget(e.document.selection)),positions:[t.northArrowSouth,t.northArrowSouthWest,t.northArrowSouthEast,t.southArrowNorth,t.southArrowNorthWest,t.southArrowNorthEast,t.viewportStickyNorth]}}class Kt extends f{_balloon;_form;static get requires(){return[be]}static get pluginName(){return"ImageTextAlternativeUI"}static get isOfficialPlugin(){return!0}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("imageTextAlternative",i=>{const n=e.commands.get("imageTextAlternative"),a=new b(i);return a.set({label:t("Change image text alternative"),icon:Pt,tooltip:!0}),a.bind("isEnabled").to(n,"isEnabled"),a.bind("isOn").to(n,"value",s=>!!s),this.listenTo(a,"execute",()=>{this._showForm()}),a})}_createForm(){const e=this.editor,i=e.editing.view.document,n=e.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(we(Ht))(e.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{e.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this.listenTo(e.ui,"update",()=>{n.getClosestSelectedImageWidget(i.selection)?this._isVisible&&Gt(e):this._hideForm(!0)}),_e({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const e=this.editor,t=e.commands.get("imageTextAlternative"),i=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:Q(e)}),i.fieldView.value=i.fieldView.element.value=t.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class xe extends f{static get requires(){return[$t,Kt]}static get pluginName(){return"ImageTextAlternative"}static get isOfficialPlugin(){return!0}}function Jt(o){const e=(t,i,n)=>{if(!n.consumable.test(i.viewItem,{name:!0,classes:"image"}))return;const a=o.findViewImgElement(i.viewItem);if(!a||!n.consumable.test(a,{name:!0}))return;n.consumable.consume(i.viewItem,{name:!0,classes:"image"});const s=n.convertItem(a,i.modelCursor),r=H(s.modelRange.getItems());if(!r){n.consumable.revert(i.viewItem,{name:!0,classes:"image"});return}n.convertChildren(i.viewItem,r),n.updateConversionResult(r,i)};return t=>{t.on("element:figure",e)}}function ze(o,e){const t=(i,n,a)=>{if(!a.consumable.consume(n.item,i.name))return;const s=a.writer,r=a.mapper.toViewElement(n.item),l=o.findViewImgElement(r);n.attributeNewValue===null?(s.removeAttribute("srcset",l),s.removeAttribute("sizes",l)):n.attributeNewValue&&(s.setAttribute("srcset",n.attributeNewValue,l),s.setAttribute("sizes","100vw",l))};return i=>{i.on(`attribute:srcset:${e}`,t)}}function x(o,e,t){const i=(n,a,s)=>{if(!s.consumable.consume(a.item,n.name))return;const r=s.writer,l=s.mapper.toViewElement(a.item),c=o.findViewImgElement(l);r.setAttribute(a.attributeKey,a.attributeNewValue||"",c)};return n=>{n.on(`attribute:${t}:${e}`,i)}}class ee extends nt{observe(e){this.listenTo(e,"load",(t,i)=>{const n=i.target;this.checkShouldIgnoreEventFromTarget(n)||n.tagName=="IMG"&&this._fireEvents(i)},{useCapture:!0})}stopObserving(e){this.stopListening(e)}_fireEvents(e){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",e))}}class Zt extends v{constructor(e){super(e);const t=e.config.get("image.insert.type");e.plugins.has("ImageBlockEditing")||t==="block"&&_("image-block-plugin-required"),e.plugins.has("ImageInlineEditing")||t==="inline"&&_("image-inline-plugin-required")}refresh(){const e=this.editor.plugins.get("ImageUtils");this.isEnabled=e.isImageAllowed()}execute(e){const t=he(e.source),i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageUtils"),a=Object.fromEntries(i.getAttributes());t.forEach((s,r)=>{const l=i.getSelectedElement();if(typeof s=="string"&&(s={src:s}),r&&l&&n.isImage(l)){const c=this.editor.model.createPositionAfter(l);n.insertImage({...s,...a},c,e.imageType)}else e.breakBlock?n.insertImage({...s,...a},i.getFirstPosition(),e.imageType):n.insertImage({...s,...a},null,e.imageType)})}}class Xt extends v{constructor(e){super(e),this.decorate("cleanupImage")}refresh(){const t=this.editor.plugins.get("ImageUtils"),i=this.editor.model.document.selection.getSelectedElement();this.isEnabled=t.isImage(i),this.value=this.isEnabled?i.getAttribute("src"):null}execute(e){const t=this.editor.model.document.selection.getSelectedElement(),i=this.editor.plugins.get("ImageUtils");this.editor.model.change(n=>{n.setAttribute("src",e.source,t),this.cleanupImage(n,t),i.setImageNaturalSizeAttributes(t)})}cleanupImage(e,t){e.removeAttribute("srcset",t),e.removeAttribute("sizes",t),e.removeAttribute("sources",t),e.removeAttribute("width",t),e.removeAttribute("height",t),e.removeAttribute("alt",t)}}class Re extends f{static get requires(){return[I]}static get pluginName(){return"ImageEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.conversion;e.editing.view.addObserver(ee),t.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const i=new Zt(e),n=new Xt(e);e.commands.add("insertImage",i),e.commands.add("replaceImageSource",n),e.commands.add("imageInsert",i)}}class Oe extends f{static get requires(){return[I]}static get pluginName(){return"ImageSizeAttributes"}static get isOfficialPlugin(){return!0}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils"),n=e==="imageBlock"?"figure":"img";t.conversion.for("upcast").attributeToAttribute({view:{name:n,styles:{width:/.+/}},model:{key:"width",value:s=>T(s)?A(s.getStyle("width")):null}}).attributeToAttribute({view:{name:n,key:"width"},model:"width"}).attributeToAttribute({view:{name:n,styles:{height:/.+/}},model:{key:"height",value:s=>T(s)?A(s.getStyle("height")):null}}).attributeToAttribute({view:{name:n,key:"height"},model:"height"}),t.conversion.for("editingDowncast").add(s=>{a(s,"width","width",!0,!0),a(s,"height","height",!0,!0)}),t.conversion.for("dataDowncast").add(s=>{a(s,"width","width",!1),a(s,"height","height",!1)}),t.conversion.for("upcast").add(s=>{s.on("element:img",(r,l,c)=>{const m=l.viewItem.getAttribute("width"),u=l.viewItem.getAttribute("height");m&&u&&c.consumable.consume(l.viewItem,{styles:["aspect-ratio"]})})});function a(s,r,l,c,m=!1){s.on(`attribute:${r}:${e}`,(u,g,d)=>{if(!d.consumable.consume(g.item,u.name))return;const h=d.writer,p=d.mapper.toViewElement(g.item),w=i.findViewImgElement(p);g.attributeNewValue!==null?h.setAttribute(l,g.attributeNewValue,w):h.removeAttribute(l,w);const C=g.item.getAttribute("width"),U=g.item.getAttribute("height"),te=C&&U;if(te&&m&&h.setAttribute("loading","lazy",w),g.item.hasAttribute("sources"))return;const Ye=g.item.hasAttribute("resizedWidth");e==="imageInline"&&!Ye&&!c||te&&h.setStyle("aspect-ratio",`${C}/${U}`,w)})}}}class Pe extends v{_modelElementName;constructor(e,t){super(e),this._modelElementName=t}refresh(){const t=this.editor.plugins.get("ImageUtils"),i=t.getClosestSelectedImageElement(this.editor.model.document.selection);this._modelElementName==="imageBlock"?this.isEnabled=t.isInlineImage(i):this.isEnabled=t.isBlockImage(i)}execute(e={}){const t=this.editor,i=this.editor.model,n=t.plugins.get("ImageUtils"),a=n.getClosestSelectedImageElement(i.document.selection),s=Object.fromEntries(a.getAttributes());return!s.src&&!s.uploadId?null:i.change(r=>{const{setImageSizes:l=!0}=e,c=Array.from(i.markers).filter(g=>g.getRange().containsItem(a)),m=n.insertImage(s,i.createSelection(a,"on"),this._modelElementName,{setImageSizes:l});if(!m)return null;const u=r.createRangeOn(m);for(const g of c){const d=g.getRange(),h=d.root.rootName!="$graveyard"?d.getJoined(u,!0):u;r.updateMarker(g,{range:h})}return{oldElement:a,newElement:m}})}}class Ne extends f{static get requires(){return[I]}static get pluginName(){return"ImagePlaceholder"}static get isOfficialPlugin(){return!0}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const e=this.editor.model.schema;e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["placeholder"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const e=this.editor,t=e.conversion,i=e.plugins.get("ImageUtils");t.for("editingDowncast").add(n=>{n.on("attribute:placeholder",(a,s,r)=>{if(!r.consumable.test(s.item,a.name)||!s.item.is("element","imageBlock")&&!s.item.is("element","imageInline"))return;r.consumable.consume(s.item,a.name);const l=r.writer,c=r.mapper.toViewElement(s.item),m=i.findViewImgElement(c);s.attributeNewValue?(l.addClass("image_placeholder",m),l.setStyle("background-image",`url(${s.attributeNewValue})`,m),l.setCustomProperty("editingPipeline:doNotReuseOnce",!0,m)):(l.removeClass("image_placeholder",m),l.removeStyle("background-image",m))})})}_setupLoadListener(){const e=this.editor,t=e.model,i=e.editing,n=i.view,a=e.plugins.get("ImageUtils");n.addObserver(ee),this.listenTo(n.document,"imageLoaded",(s,r)=>{const l=n.domConverter.mapDomToView(r.target);if(!l)return;const c=a.getImageWidgetFromImageView(l);if(!c)return;const m=i.mapper.toModelElement(c);!m||!m.hasAttribute("placeholder")||t.enqueueChange({isUndoable:!1},u=>{u.removeAttribute("placeholder",m)})})}}class Fe extends f{static get requires(){return[Re,Oe,I,Ne,q]}static get pluginName(){return"ImageBlockEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),e.plugins.has("ImageInlineEditing")&&(e.commands.add("imageTypeBlock",new Pe(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,n=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToStructure({model:"imageBlock",view:(a,{writer:s})=>ae(s)}),i.for("editingDowncast").elementToStructure({model:"imageBlock",view:(a,{writer:s})=>n.toImageWidget(ae(s),s,t("image widget"))}),i.for("downcast").add(x(n,"imageBlock","src")).add(x(n,"imageBlock","alt")).add(ze(n,"imageBlock")),i.for("upcast").elementToElement({view:Ae(e,"imageBlock"),model:(a,{writer:s})=>s.createElement("imageBlock",a.hasAttribute("src")?{src:a.getAttribute("src")}:void 0)}).add(Jt(n))}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,n=e.plugins.get("ImageUtils"),a=e.plugins.get("ClipboardPipeline");this.listenTo(a,"inputTransformation",(s,r)=>{const l=Array.from(r.content.getChildren());let c;if(!l.every(n.isInlineImageView))return;r.targetRanges?c=e.editing.mapper.toModelRange(r.targetRanges[0]):c=t.document.selection.getFirstRange();const m=t.createSelection(c);if(Y(t.schema,m)==="imageBlock"){const u=new $(i.document),g=l.map(d=>u.createElement("figure",{class:"image"},d));r.content=u.createDocumentFragment(g)}}),this.listenTo(a,"contentInsertion",(s,r)=>{r.method==="paste"&&t.change(l=>{const c=l.createRangeIn(r.content);for(const m of c.getItems())m.is("element","imageBlock")&&n.setImageNaturalSizeAttributes(m)})})}}class Yt extends R{focusTracker;keystrokes;_focusables;_focusCycler;children;constructor(e,t=[]){super(e),this.focusTracker=new G,this.keystrokes=new z,this._focusables=new J,this.children=this.createCollection(),this._focusCycler=new Z({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const i of t)this.children.add(i),this._focusables.add(i),i instanceof yt&&this._focusables.addMany(i.children);this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),O({view:this});for(const t of this._focusables)this.focusTracker.add(t.element);this.keystrokes.listenTo(this.element);const e=t=>t.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}class S extends f{static get pluginName(){return"ImageInsertUI"}static get isOfficialPlugin(){return!0}static get requires(){return[I]}dropdownView;_integrations=new Map;constructor(e){super(e),e.config.define("image.insert.integrations",["upload","assetManager","url"])}init(){const e=this.editor,t=e.model.document.selection,i=e.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(e.model.document,"change",()=>{this.isImageSelected=i.isImage(t.getSelectedElement())});const n=s=>this._createToolbarComponent(s),a=s=>this._createMenuBarComponent(s);e.ui.componentFactory.add("insertImage",n),e.ui.componentFactory.add("imageInsert",n),e.ui.componentFactory.add("menuBar:insertImage",a)}registerIntegration({name:e,observable:t,buttonViewCreator:i,formViewCreator:n,menuBarButtonViewCreator:a,requiresForm:s=!1,override:r=!1}){this._integrations.has(e)&&!r&&_("image-insert-integration-exists",{name:e}),this._integrations.set(e,{observable:t,buttonViewCreator:i,menuBarButtonViewCreator:a,formViewCreator:n,requiresForm:s})}_createToolbarComponent(e){const t=this.editor,i=e.t,n=this._prepareIntegrations();if(!n.length)return null;let a;const s=n[0];if(n.length==1){if(!s.requiresForm)return s.buttonViewCreator(!0);a=s.buttonViewCreator(!0)}else{const c=s.buttonViewCreator(!1);a=new Ie(e,c),a.tooltip=!0,a.bind("label").to(this,"isImageSelected",m=>i(m?"Replace image":"Insert image"))}const r=this.dropdownView=K(e,a),l=n.map(({observable:c})=>typeof c=="function"?c():c);return r.bind("isEnabled").toMany(l,"isEnabled",(...c)=>c.some(m=>m)),r.once("change:isOpen",()=>{const c=n.flatMap(({formViewCreator:u})=>u(n.length==1)),m=new Yt(t.locale,c);r.panelView.children.add(m)}),r}_createMenuBarComponent(e){const t=e.t,i=this._prepareIntegrations();if(!i.length)return null;const n=i.flatMap(({menuBarButtonViewCreator:r})=>r(i.length==1)),a=new ft(e),s=new pt(e);a.panelView.children.add(s),a.buttonView.set({icon:Ut,label:t("Image")});for(const r of n){const l=new It(e,a);l.children.add(r),s.items.add(l),r.delegate("execute").to(a)}return a}_prepareIntegrations(){const t=this.editor.config.get("image.insert.integrations"),i=[];if(!t.length)return _("image-insert-integrations-not-specified"),i;for(const n of t){if(!this._integrations.has(n)){["upload","assetManager","url"].includes(n)||_("image-insert-unknown-integration",{item:n});continue}i.push(this._integrations.get(n))}return i.length||_("image-insert-integrations-not-registered"),i}}class on extends f{static get requires(){return[Fe,fe,xe,S]}static get pluginName(){return"ImageBlock"}static get isOfficialPlugin(){return!0}}class Qt extends f{static get requires(){return[Re,Oe,I,Ne,q]}static get pluginName(){return"ImageInlineEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"],disallowIn:["caption"]}),this._setupConversion(),e.plugins.has("ImageBlockEditing")&&(e.commands.add("imageTypeInline",new Pe(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,n=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToElement({model:"imageInline",view:(a,{writer:s})=>s.createEmptyElement("img")}),i.for("editingDowncast").elementToStructure({model:"imageInline",view:(a,{writer:s})=>n.toImageWidget(Ft(s),s,t("image widget"))}),i.for("downcast").add(x(n,"imageInline","src")).add(x(n,"imageInline","alt")).add(ze(n,"imageInline")),i.for("upcast").elementToElement({view:Ae(e,"imageInline"),model:(a,{writer:s})=>s.createElement("imageInline",a.hasAttribute("src")?{src:a.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,n=e.plugins.get("ImageUtils"),a=e.plugins.get("ClipboardPipeline");this.listenTo(a,"inputTransformation",(s,r)=>{const l=Array.from(r.content.getChildren());let c;if(!l.every(n.isBlockImageView))return;r.targetRanges?c=e.editing.mapper.toModelRange(r.targetRanges[0]):c=t.document.selection.getFirstRange();const m=t.createSelection(c);if(Y(t.schema,m)==="imageInline"){const u=new $(i.document),g=l.map(d=>d.childCount===1?(Array.from(d.getAttributes()).forEach(h=>u.setAttribute(...h,n.findViewImgElement(d))),d.getChild(0)):d);r.content=u.createDocumentFragment(g)}}),this.listenTo(a,"contentInsertion",(s,r)=>{r.method==="paste"&&t.change(l=>{const c=l.createRangeIn(r.content);for(const m of c.getItems())m.is("element","imageInline")&&n.setImageNaturalSizeAttributes(m)})})}}class an extends f{static get requires(){return[Qt,fe,xe,S]}static get pluginName(){return"ImageInline"}static get isOfficialPlugin(){return!0}}class Le extends f{static get pluginName(){return"ImageCaptionUtils"}static get isOfficialPlugin(){return!0}static get requires(){return[I]}getCaptionFromImageModelElement(e){for(const t of e.getChildren())if(t&&t.is("element","caption"))return t;return null}getCaptionFromModelSelection(e){const t=this.editor.plugins.get("ImageUtils"),i=e.getFirstPosition().findAncestor("caption");return i&&t.isBlockImage(i.parent)?i:null}matchImageCaptionViewElement(e){const t=this.editor.plugins.get("ImageUtils");return e.name=="figcaption"&&t.isBlockImageView(e.parent)?{name:!0}:null}}class ei extends v{refresh(){const e=this.editor,t=e.plugins.get("ImageCaptionUtils"),i=e.plugins.get("ImageUtils");if(!e.plugins.has(Fe)){this.isEnabled=!1,this.value=!1;return}const n=e.model.document.selection,a=n.getSelectedElement();if(!a){const s=t.getCaptionFromModelSelection(n);this.isEnabled=!!s,this.value=!!s;return}this.isEnabled=i.isImage(a),this.isEnabled?this.value=!!t.getCaptionFromImageModelElement(a):this.value=!1}execute(e={}){const{focusCaptionOnShow:t}=e;this.editor.model.change(i=>{this.value?this._hideImageCaption(i):this._showImageCaption(i,t)})}_showImageCaption(e,t){const n=this.editor.model.document.selection,a=this.editor.plugins.get("ImageCaptionEditing"),s=this.editor.plugins.get("ImageUtils");let r=n.getSelectedElement();const l=a._getSavedCaption(r);s.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=n.getSelectedElement());const c=l||e.createElement("caption");e.append(c,r),t&&e.setSelection(c,"in")}_hideImageCaption(e){const t=this.editor,i=t.model.document.selection,n=t.plugins.get("ImageCaptionEditing"),a=t.plugins.get("ImageCaptionUtils");let s=i.getSelectedElement(),r;s?r=a.getCaptionFromImageModelElement(s):(r=a.getCaptionFromModelSelection(i),s=r.parent),n._saveCaption(s,r),e.setSelection(s,"on"),e.remove(r)}}class ti extends f{static get requires(){return[I,Le]}static get pluginName(){return"ImageCaptionEditing"}static get isOfficialPlugin(){return!0}_savedCaptionsMap;constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,t=e.model.schema;t.isRegistered("caption")?t.extend("caption",{allowIn:"imageBlock"}):t.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleImageCaption",new ei(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils"),n=e.plugins.get("ImageCaptionUtils"),a=e.t;e.conversion.for("upcast").elementToElement({view:s=>n.matchImageCaptionViewElement(s),model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(s,{writer:r})=>i.isBlockImage(s.parent)?r.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(s,{writer:r})=>{if(!i.isBlockImage(s.parent))return null;const l=r.createEditableElement("figcaption");r.setCustomProperty("imageCaption",!0,l),l.placeholder=a("Enter image caption"),tt({view:t,element:l,keepOnFocus:!0});const c=s.parent.getAttribute("alt"),m=c?a("Caption for image: %0",[c]):a("Caption for the image");return dt(l,r,{label:m})}})}_setupImageTypeCommandsIntegration(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils"),n=e.commands.get("imageTypeInline"),a=e.commands.get("imageTypeBlock"),s=r=>{if(!r.return)return;const{oldElement:l,newElement:c}=r.return;/* istanbul ignore if: paranoid check -- @preserve */if(!l)return;if(t.isBlockImage(l)){const u=i.getCaptionFromImageModelElement(l);if(u){this._saveCaption(c,u);return}}const m=this._getSavedCaption(l);m&&this._saveCaption(c,m)};n&&this.listenTo(n,"execute",s,{priority:"low"}),a&&this.listenTo(a,"execute",s,{priority:"low"})}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?it.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}_registerCaptionReconversion(){const e=this.editor,t=e.model,i=e.plugins.get("ImageUtils"),n=e.plugins.get("ImageCaptionUtils");t.document.on("change:data",()=>{const a=t.document.differ.getChanges();for(const s of a){if(s.attributeKey!=="alt")continue;const r=s.range.start.nodeAfter;if(i.isBlockImage(r)){const l=n.getCaptionFromImageModelElement(r);if(!l)return;e.editing.reconvertItem(l)}}})}}class ii extends f{static get requires(){return[Le]}static get pluginName(){return"ImageCaptionUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageCaptionUtils"),n=e.t;e.ui.componentFactory.add("toggleImageCaption",a=>{const s=e.commands.get("toggleImageCaption"),r=new b(a);return r.set({icon:Bt,tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(s,"value","isEnabled"),r.bind("label").to(s,"value",l=>n(l?"Toggle caption off":"Toggle caption on")),this.listenTo(r,"execute",()=>{e.execute("toggleImageCaption",{focusCaptionOnShow:!0});const l=i.getCaptionFromModelSelection(e.model.document.selection);if(l){const c=e.editing.mapper.toViewElement(l);t.scrollToTheSelection(),t.change(m=>{m.addClass("image__caption_highlighted",c)})}e.editing.view.focus()}),r})}}class rn extends f{static get requires(){return[ti,ii]}static get pluginName(){return"ImageCaption"}static get isOfficialPlugin(){return!0}}function De(o){const e=o.map(t=>t.replace("+","\\+"));return new RegExp(`^image\\/(${e.join("|")})$`)}function ni(o){return new Promise((e,t)=>{const i=o.getAttribute("src");fetch(i).then(n=>n.blob()).then(n=>{const a=Me(n,i),r=`image.${a.replace("image/","")}`,l=new File([n],r,{type:a});e(l)}).catch(n=>n&&n.name==="TypeError"?oi(i).then(e).catch(t):t(n))})}function si(o,e){return!o.isInlineImageView(e)||!e.getAttribute("src")?!1:!!e.getAttribute("src").match(/^data:image\/\w+;base64,/g)||!!e.getAttribute("src").match(/^blob:/g)}function Me(o,e){return o.type?o.type:e.match(/data:(image\/\w+);base64/)?e.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}function oi(o){return ai(o).then(e=>{const t=Me(e,o),n=`image.${t.replace("image/","")}`;return new File([e],n,{type:t})})}function ai(o){return new Promise((e,t)=>{const i=V.document.createElement("img");i.addEventListener("load",()=>{const n=V.document.createElement("canvas");n.width=i.width,n.height=i.height,n.getContext("2d").drawImage(i,0,0),n.toBlob(s=>s?e(s):t())}),i.addEventListener("error",()=>t()),i.src=o})}class ri extends f{static get pluginName(){return"ImageUploadUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("uploadImage",()=>this._createToolbarButton()),e.ui.componentFactory.add("imageUpload",()=>this._createToolbarButton()),e.ui.componentFactory.add("menuBar:uploadImage",()=>this._createMenuBarButton("standalone")),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"upload",observable:()=>e.commands.get("uploadImage"),buttonViewCreator:()=>this._createToolbarButton(),formViewCreator:()=>this._createDropdownButton(),menuBarButtonViewCreator:t=>this._createMenuBarButton(t?"insertOnly":"insertNested")})}_createButton(e){const t=this.editor,i=t.locale,n=t.commands.get("uploadImage"),a=t.config.get("image.upload.types"),s=De(a),r=new e(t.locale),l=i.t;return r.set({acceptedType:a.map(c=>`image/${c}`).join(","),allowMultipleFiles:!0,label:l("Upload from computer"),icon:Nt}),r.bind("isEnabled").to(n),r.on("done",(c,m)=>{const u=Array.from(m).filter(g=>s.test(g.type));u.length&&(t.execute("uploadImage",{file:u}),t.editing.view.focus())}),r}_createToolbarButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this.editor.commands.get("uploadImage"),n=this._createButton(oe);return n.tooltip=!0,n.bind("label").to(t,"isImageSelected",i,"isAccessAllowed",(a,s)=>e(s?a?"Replace image from computer":"Upload image from computer":"You have no image upload permissions.")),n}_createDropdownButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this._createButton(oe);return i.withText=!0,i.bind("label").to(t,"isImageSelected",n=>e(n?"Replace from computer":"Upload from computer")),i.on("execute",()=>{t.dropdownView.isOpen=!1}),i}_createMenuBarButton(e){const t=this.editor.locale.t,i=this._createButton(vt);switch(i.withText=!0,e){case"standalone":i.label=t("Image from computer");break;case"insertOnly":i.label=t("Image");break;case"insertNested":i.label=t("From computer");break}return i}}class li extends f{static get pluginName(){return"ImageUploadProgress"}static get isOfficialPlugin(){return!0}placeholder;constructor(e){super(e),this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),e.plugins.has("ImageInlineEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}uploadStatusChange=(e,t,i)=>{const n=this.editor,a=t.item,s=a.getAttribute("uploadId");if(!i.consumable.consume(t.item,e.name))return;const r=n.plugins.get("ImageUtils"),l=n.plugins.get(y),c=s?t.attributeNewValue:null,m=this.placeholder,u=n.editing.mapper.toViewElement(a),g=i.writer;if(c=="reading"){re(u,g),le(r,m,u,g);return}if(c=="uploading"){const d=l.loaders.get(s);re(u,g),d?(ce(u,g),mi(u,g,d,n.editing.view),fi(r,u,g,d)):le(r,m,u,g);return}c=="complete"&&l.loaders.get(s)&&gi(u,g,n.editing.view),ui(u,g),ce(u,g),ci(u,g)}}function re(o,e){o.hasClass("ck-appear")||e.addClass("ck-appear",o)}function ci(o,e){e.removeClass("ck-appear",o)}function le(o,e,t,i){t.hasClass("ck-image-upload-placeholder")||i.addClass("ck-image-upload-placeholder",t);const n=o.findViewImgElement(t);n.getAttribute("src")!==e&&i.setAttribute("src",e,n),We(t,"placeholder")||i.insert(i.createPositionAfter(n),hi(i))}function ce(o,e){o.hasClass("ck-image-upload-placeholder")&&e.removeClass("ck-image-upload-placeholder",o),je(o,e,"placeholder")}function mi(o,e,t,i){const n=di(e);e.insert(e.createPositionAt(o,"end"),n),t.on("change:uploadedPercent",(a,s,r)=>{i.change(l=>{l.setStyle("width",r+"%",n)})})}function ui(o,e){je(o,e,"progressBar")}function gi(o,e,t){const i=e.createUIElement("div",{class:"ck-image-upload-complete-icon"});e.insert(e.createPositionAt(o,"end"),i),setTimeout(()=>{t.change(n=>n.remove(n.createRangeOn(i)))},3e3)}function di(o){const e=o.createUIElement("div",{class:"ck-progress-bar"});return o.setCustomProperty("progressBar",!0,e),e}function hi(o){const e=o.createUIElement("div",{class:"ck-upload-placeholder-loader"});return o.setCustomProperty("placeholder",!0,e),e}function We(o,e){for(const t of o.getChildren())if(t.getCustomProperty(e))return t}function je(o,e,t){const i=We(o,t);i&&e.remove(e.createRangeOn(i))}function fi(o,e,t,i){if(i.data){const n=o.findViewImgElement(e);t.setAttribute("src",i.data,n)}}class pi extends v{constructor(e){super(e),this.set("isAccessAllowed",!0)}refresh(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.model.document.selection.getSelectedElement();this.isEnabled=t.isImageAllowed()||t.isImage(i)}execute(e){const t=he(e.file),i=this.editor.model.document.selection,n=this.editor.plugins.get("ImageUtils"),a=Object.fromEntries(i.getAttributes());t.forEach((s,r)=>{const l=i.getSelectedElement();if(r&&l&&n.isImage(l)){const c=this.editor.model.createPositionAfter(l);this._uploadImage(s,a,c)}else this._uploadImage(s,a)})}_uploadImage(e,t,i){const n=this.editor,s=n.plugins.get(y).createLoader(e),r=n.plugins.get("ImageUtils");s&&r.insertImage({...t,uploadId:s.id},i)}}class Ii extends f{static get requires(){return[y,se,q,I]}static get pluginName(){return"ImageUploadEditing"}static get isOfficialPlugin(){return!0}_uploadImageElements;_uploadedImages=new Map;constructor(e){super(e),e.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}init(){const e=this.editor,t=e.model.document,i=e.conversion,n=e.plugins.get(y),a=e.plugins.get("ImageUtils"),s=e.plugins.get("ClipboardPipeline"),r=De(e.config.get("image.upload.types")),l=new pi(e);e.commands.add("uploadImage",l),e.commands.add("imageUpload",l),i.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}).add(c=>c.on("element:img",(m,u,g)=>{if(!g.consumable.test(u.viewItem,{attributes:["data-ck-upload-id"]}))return;const d=u.viewItem.getAttribute("data-ck-upload-id");if(!d)return;const[h]=Array.from(u.modelRange.getItems({shallow:!0})),p=n.loaders.get(d);h&&(g.writer.setAttribute("uploadId",d,h),g.consumable.consume(u.viewItem,{attributes:["data-ck-upload-id"]}),p&&p.data&&g.writer.setAttribute("uploadStatus",p.status,h))},{priority:"low"})),this.listenTo(e.editing.view.document,"clipboardInput",(c,m)=>{if(bi(m.dataTransfer))return;const u=Array.from(m.dataTransfer.files).filter(d=>d?r.test(d.type):!1);if(!u.length)return;if(c.stop(),e.model.change(d=>{m.targetRanges&&d.setSelection(m.targetRanges.map(h=>e.editing.mapper.toModelRange(h))),e.execute("uploadImage",{file:u})}),!e.commands.get("uploadImage").isAccessAllowed){const d=e.plugins.get("Notification"),h=e.locale.t;d.showWarning(h("You have no image upload permissions."),{namespace:"image"})}}),this.listenTo(s,"inputTransformation",(c,m)=>{const u=Array.from(e.editing.view.createRangeIn(m.content)).map(d=>d.item).filter(d=>si(a,d)&&!d.getAttribute("uploadProcessed")).map(d=>({promise:ni(d),imageElement:d}));if(!u.length)return;const g=new $(e.editing.view.document);for(const d of u){g.setAttribute("uploadProcessed",!0,d.imageElement);const h=n.createLoader(d.promise);h&&(g.setAttribute("src","",d.imageElement),g.setAttribute("uploadId",h.id,d.imageElement))}}),e.editing.view.document.on("dragover",(c,m)=>{m.preventDefault()}),t.on("change",()=>{const c=t.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),m=new Set;for(const u of c)if(u.type=="insert"&&u.name!="$text"){const g=u.position.nodeAfter,d=u.position.root.rootName=="$graveyard";for(const h of wi(e,g)){const p=h.getAttribute("uploadId");if(!p)continue;const w=n.loaders.get(p);if(!w){!d&&this._uploadedImages.has(p)&&e.model.enqueueChange({isUndoable:!1},C=>{C.setAttribute("uploadStatus","complete",h),this.fire("uploadComplete",{data:this._uploadedImages.get(p),imageElement:h})});continue}d?m.has(p)||Array.from(this._uploadImageElements.get(p)).every(U=>U.root.rootName=="$graveyard")&&w.abort():(m.add(p),this._uploadImageElements.has(p)?this._uploadImageElements.get(p).add(h):this._uploadImageElements.set(p,new Set([h])),w.status=="idle"&&this._readAndUpload(w))}}}),this.on("uploadComplete",(c,{imageElement:m,data:u})=>{const g=u.urls?u.urls:u;this.editor.model.change(d=>{d.setAttribute("src",g.default,m),this._parseAndSetSrcsetAttributeOnImage(g,m,d),a.setImageNaturalSizeAttributes(m)})},{priority:"low"})}afterInit(){const e=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&(e.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this._registerConverters("imageBlock")),this.editor.plugins.has("ImageInlineEditing")&&(e.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]}),this._registerConverters("imageInline"))}_readAndUpload(e){const t=this.editor,i=t.model,n=t.locale.t,a=t.plugins.get(y),s=t.plugins.get(se),r=t.plugins.get("ImageUtils"),l=this._uploadImageElements;return i.enqueueChange({isUndoable:!1},m=>{const u=l.get(e.id);for(const g of u)m.setAttribute("uploadStatus","reading",g)}),e.read().then(()=>{const m=e.upload();t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Uploading image"));for(const u of l.get(e.id)){/* istanbul ignore next -- @preserve */if(ct.isSafari){const g=t.editing.mapper.toViewElement(u),d=r.findViewImgElement(g);t.editing.view.once("render",()=>{if(!d.parent)return;const h=t.editing.view.domConverter.mapViewToDom(d.parent);if(!h)return;const p=h.style.display;h.style.display="none",h._ckHack=h.offsetHeight,h.style.display=p})}i.enqueueChange({isUndoable:!1},g=>{g.setAttribute("uploadStatus","uploading",u)})}return m}).then(m=>{i.enqueueChange({isUndoable:!1},u=>{for(const g of l.get(e.id))u.setAttribute("uploadStatus","complete",g),this.fire("uploadComplete",{data:m,imageElement:g});t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Image upload complete")),this._uploadedImages.set(e.id,m)}),c()}).catch(m=>{if(t.ui&&t.ui.ariaLiveAnnouncer.announce(n("Error during image upload")),e.status!=="error"&&e.status!=="aborted")throw m;e.status=="error"&&m&&s.showWarning(m,{title:n("Upload failed"),namespace:"upload"}),i.enqueueChange({isUndoable:!1},u=>{for(const g of l.get(e.id))g.root.rootName!=="$graveyard"&&u.remove(g)}),c()});function c(){i.enqueueChange({isUndoable:!1},m=>{for(const u of l.get(e.id))m.removeAttribute("uploadId",u),m.removeAttribute("uploadStatus",u);l.delete(e.id)}),a.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,t,i){let n=0;const a=Object.keys(e).filter(s=>{const r=parseInt(s,10);if(!isNaN(r))return n=Math.max(n,r),!0}).map(s=>`${e[s]} ${s}w`).join(", ");if(a!=""){const s={srcset:a};!t.hasAttribute("width")&&!t.hasAttribute("height")&&(s.width=n),i.setAttributes(s,t)}}_registerConverters(e){const{conversion:t,plugins:i}=this.editor,n=i.get(y),a=i.get(I);t.for("dataDowncast").add(s=>{s.on(`attribute:uploadId:${e}`,(r,l,c)=>{if(!c.consumable.test(l.item,r.name))return;const m=n.loaders.get(l.attributeNewValue);if(!m||!m.data)return null;const u=c.mapper.toViewElement(l.item),g=a.findViewImgElement(u);g&&(c.consumable.consume(l.item,r.name),c.writer.setAttribute("data-ck-upload-id",m.id,g))})})}}function bi(o){return Array.from(o.types).includes("text/html")&&o.getData("text/html")!==""}function wi(o,e){const t=o.plugins.get("ImageUtils");return Array.from(o.model.createRangeOn(e)).filter(i=>t.isImage(i.item)).map(i=>i.item)}class _i extends f{static get pluginName(){return"ImageUpload"}static get isOfficialPlugin(){return!0}static get requires(){return[Ii,ri,li]}}class vi extends R{urlInputView;keystrokes;constructor(e){super(e),this.set("imageURLInputValue",""),this.set("isImageSelected",!1),this.set("isEnabled",!0),this.keystrokes=new z,this.urlInputView=this._createUrlInputView(),this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-url"],tabindex:"-1"},children:[this.urlInputView,{tag:"div",attributes:{class:["ck","ck-image-insert-url__action-row"]}}]})}render(){super.render(),O({view:this}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy()}_createUrlInputView(){const e=this.locale,t=e.t,i=new X(e,ve);return i.bind("label").to(this,"isImageSelected",n=>t(n?"Update image URL":"Insert image via URL")),i.bind("isEnabled").to(this),i.fieldView.inputMode="url",i.fieldView.placeholder="https://example.com/image.png",i.fieldView.bind("value").to(this,"imageURLInputValue",n=>n||""),i.fieldView.on("input",()=>{this.imageURLInputValue=i.fieldView.element.value.trim()}),i}focus(){this.urlInputView.focus()}}class yi extends f{_imageInsertUI;_formView;static get pluginName(){return"ImageInsertViaUrlUI"}static get isOfficialPlugin(){return!0}static get requires(){return[S,bt]}init(){this.editor.ui.componentFactory.add("insertImageViaUrl",()=>this._createToolbarButton()),this.editor.ui.componentFactory.add("menuBar:insertImageViaUrl",()=>this._createMenuBarButton("standalone"))}afterInit(){this._imageInsertUI=this.editor.plugins.get("ImageInsertUI"),this._imageInsertUI.registerIntegration({name:"url",observable:()=>this.editor.commands.get("insertImage"),buttonViewCreator:()=>this._createToolbarButton(),formViewCreator:()=>this._createDropdownButton(),menuBarButtonViewCreator:e=>this._createMenuBarButton(e?"insertOnly":"insertNested")})}_createInsertUrlButton(e){const t=new e(this.editor.locale);return t.icon=Vt,t.on("execute",()=>{this._showModal()}),t}_createToolbarButton(){const e=this.editor.locale.t,t=this._createInsertUrlButton(b);return t.tooltip=!0,t.bind("label").to(this._imageInsertUI,"isImageSelected",i=>e(i?"Update image URL":"Insert image via URL")),t}_createDropdownButton(){const e=this.editor.locale.t,t=this._createInsertUrlButton(b);return t.withText=!0,t.bind("label").to(this._imageInsertUI,"isImageSelected",i=>e(i?"Update image URL":"Insert via URL")),t}_createMenuBarButton(e){const t=this.editor.locale.t,i=this._createInsertUrlButton(wt);switch(i.withText=!0,e){case"standalone":i.label=t("Image via URL");break;case"insertOnly":i.label=t("Image");break;case"insertNested":i.label=t("Via URL");break}return i}_createInsertUrlView(){const e=this.editor,t=e.locale,i=e.commands.get("replaceImageSource"),n=e.commands.get("insertImage"),a=new vi(t);return a.bind("isImageSelected").to(this._imageInsertUI),a.bind("isEnabled").toMany([n,i],"isEnabled",(...s)=>s.some(r=>r)),a}_showModal(){const e=this.editor,i=e.locale.t,n=e.plugins.get("Dialog");this._formView||(this._formView=this._createInsertUrlView(),this._formView.on("submit",()=>this._handleSave()));const a=e.commands.get("replaceImageSource");this._formView.imageURLInputValue=a.value||"",n.show({id:"insertImageViaUrl",title:i("Image via URL"),isModal:!0,content:this._formView,actionButtons:[{label:i("Cancel"),withText:!0,onExecute:()=>n.hide()},{label:this._imageInsertUI.isImageSelected?i("Save"):i("Insert"),class:"ck-button-action",withText:!0,onExecute:()=>this._handleSave()}]})}_handleSave(){this.editor.commands.get("replaceImageSource").isEnabled?this.editor.execute("replaceImageSource",{source:this._formView.imageURLInputValue}):this.editor.execute("insertImage",{source:this._formView.imageURLInputValue}),this.editor.plugins.get("Dialog").hide()}}class Ci extends f{static get pluginName(){return"ImageInsertViaUrl"}static get isOfficialPlugin(){return!0}static get requires(){return[yi,S]}}class ln extends f{static get pluginName(){return"ImageInsert"}static get isOfficialPlugin(){return!0}static get requires(){return[_i,Ci,S]}}class Ei extends v{refresh(){const e=this.editor,i=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);this.isEnabled=!!i,!i||!i.hasAttribute("resizedWidth")?this.value=null:this.value={width:i.getAttribute("resizedWidth"),height:null}}execute(e){const t=this.editor,i=t.model,n=t.plugins.get("ImageUtils"),a=n.getClosestSelectedImageElement(i.document.selection);this.value={width:e.width,height:null},a&&i.change(s=>{s.setAttribute("resizedWidth",e.width,a),s.removeAttribute("resizedHeight",a),n.setImageNaturalSizeAttributes(a)})}}class qe extends f{static get requires(){return[I]}static get pluginName(){return"ImageResizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("image",{resizeUnit:"%",resizeOptions:[{name:"resizeImage:original",value:null,icon:"original"},{name:"resizeImage:custom",value:"custom",icon:"custom"},{name:"resizeImage:25",value:"25",icon:"small"},{name:"resizeImage:50",value:"50",icon:"medium"},{name:"resizeImage:75",value:"75",icon:"large"}]})}init(){const e=this.editor,t=new Ei(e);this._registerConverters("imageBlock"),this._registerConverters("imageInline"),e.commands.add("resizeImage",t),e.commands.add("imageResize",t)}afterInit(){this._registerSchema()}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["resizedWidth","resizedHeight"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["resizedWidth","resizedHeight"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils");t.conversion.for("downcast").add(n=>n.on(`attribute:resizedWidth:${e}`,(a,s,r)=>{if(!r.consumable.consume(s.item,a.name))return;const l=r.writer,c=r.mapper.toViewElement(s.item);s.attributeNewValue!==null?(l.setStyle("width",s.attributeNewValue,c),l.addClass("image_resized",c)):(l.removeStyle("width",c),l.removeClass("image_resized",c))})),t.conversion.for("dataDowncast").attributeToAttribute({model:{name:e,key:"resizedHeight"},view:n=>({key:"style",value:{height:n}})}),t.conversion.for("editingDowncast").add(n=>n.on(`attribute:resizedHeight:${e}`,(a,s,r)=>{if(!r.consumable.consume(s.item,a.name))return;const l=r.writer,c=r.mapper.toViewElement(s.item),m=e==="imageInline"?i.findViewImgElement(c):c;s.attributeNewValue!==null?l.setStyle("height",s.attributeNewValue,m):l.removeStyle("height",m)})),t.conversion.for("upcast").attributeToAttribute({view:{name:e==="imageBlock"?"figure":"img",styles:{width:/.+/}},model:{key:"resizedWidth",value:n=>T(n)?null:n.getStyle("width")}}),t.conversion.for("upcast").attributeToAttribute({view:{name:e==="imageBlock"?"figure":"img",styles:{height:/.+/}},model:{key:"resizedHeight",value:n=>T(n)?null:n.getStyle("height")}}),t.conversion.for("upcast").add(n=>{n.on(`element:${e==="imageBlock"?"figure":"img"}`,(a,s,r)=>{r.consumable.consume(s.viewItem,{classes:["image_resized"]})})})}}const F={small:Rt,medium:zt,large:xt,custom:Tt,original:At};class ki extends f{static get requires(){return[qe]}static get pluginName(){return"ImageResizeButtons"}static get isOfficialPlugin(){return!0}_resizeUnit;constructor(e){super(e),this._resizeUnit=e.config.get("image.resizeUnit")}init(){const e=this.editor,t=e.config.get("image.resizeOptions"),i=e.commands.get("resizeImage");this.bind("isEnabled").to(i);for(const n of t)this._registerImageResizeButton(n);this._registerImageResizeDropdown(t)}_registerImageResizeButton(e){const t=this.editor,{name:i,value:n,icon:a}=e;t.ui.componentFactory.add(i,s=>{const r=new b(s),l=t.commands.get("resizeImage"),c=this._getOptionLabelValue(e,!0);if(!F[a])throw new rt("imageresizebuttons-missing-icon",t,e);if(r.set({label:c,icon:F[a],tooltip:c,isToggleable:!0}),r.bind("isEnabled").to(this),t.plugins.has("ImageCustomResizeUI")&&k(e)){const m=t.plugins.get("ImageCustomResizeUI");this.listenTo(r,"execute",()=>{m._showForm(this._resizeUnit)})}else{const m=n?n+this._resizeUnit:null;r.bind("isOn").to(l,"value",l,"isEnabled",W(m)),this.listenTo(r,"execute",()=>{t.execute("resizeImage",{width:m})})}return r})}_registerImageResizeDropdown(e){const t=this.editor,i=t.t,n=e.find(s=>!s.value),a=s=>{const r=t.commands.get("resizeImage"),l=K(s,Et),c=l.buttonView,m=i("Resize image");return c.set({tooltip:m,commandValue:n.value,icon:F.medium,isToggleable:!0,label:this._getOptionLabelValue(n),withText:!0,class:"ck-resize-image-button",ariaLabel:m,ariaLabelledBy:void 0}),c.bind("label").to(r,"value",u=>u&&u.width?u.width:this._getOptionLabelValue(n)),l.bind("isEnabled").to(this),kt(l,()=>this._getResizeDropdownListItemDefinitions(e,r),{ariaLabel:i("Image resize list"),role:"menu"}),this.listenTo(l,"execute",u=>{"onClick"in u.source?u.source.onClick():(t.execute(u.source.commandName,{width:u.source.commandValue}),t.editing.view.focus())}),l};t.ui.componentFactory.add("resizeImage",a),t.ui.componentFactory.add("imageResize",a)}_getOptionLabelValue(e,t=!1){const i=this.editor.t;return e.label?e.label:t?k(e)?i("Custom image size"):e.value?i("Resize image to %0",e.value+this._resizeUnit):i("Resize image to the original size"):k(e)?i("Custom"):e.value?e.value+this._resizeUnit:i("Original")}_getResizeDropdownListItemDefinitions(e,t){const{editor:i}=this,n=new lt,a=e.map(s=>k(s)?{...s,valueWithUnits:"custom"}:s.value?{...s,valueWithUnits:`${s.value}${this._resizeUnit}`}:{...s,valueWithUnits:null});for(const s of a){let r=null;if(i.plugins.has("ImageCustomResizeUI")&&k(s)){const l=i.plugins.get("ImageCustomResizeUI");r={type:"button",model:new ne({label:this._getOptionLabelValue(s),role:"menuitemradio",withText:!0,icon:null,onClick:()=>{l._showForm(this._resizeUnit)}})};const c=Object.values(a).map(m=>m.valueWithUnits);r.model.bind("isOn").to(t,"value",t,"isEnabled",Si(c))}else r={type:"button",model:new ne({commandName:"resizeImage",commandValue:s.valueWithUnits,label:this._getOptionLabelValue(s),role:"menuitemradio",withText:!0,icon:null})},r.model.bind("isOn").to(t,"value",t,"isEnabled",W(s.valueWithUnits));r.model.bind("isEnabled").to(t,"isEnabled"),n.add(r)}return n}}function k(o){return o.value==="custom"}function W(o){return(e,t)=>{const i=e;return i===void 0||!t?!1:o===null&&i===o?!0:i!==null&&i.width===o}}function Si(o){return(e,t)=>!o.some(i=>W(i)(e,t))}const Ui="figure.image.ck-widget > img,figure.image.ck-widget > picture > img,figure.image.ck-widget > a > img,figure.image.ck-widget > a > picture > img,span.image-inline.ck-widget > img,span.image-inline.ck-widget > picture > img",L="image_resized";class Bi extends f{static get requires(){return[N,I]}static get pluginName(){return"ImageResizeHandles"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.commands.get("resizeImage");this.bind("isEnabled").to(e),this._setupResizerCreator()}_setupResizerCreator(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils");t.addObserver(ee),this.listenTo(t.document,"imageLoaded",(n,a)=>{if(!a.target.matches(Ui))return;const s=e.editing.view.domConverter,r=s.domToView(a.target),l=i.getImageWidgetFromImageView(r);let c=this.editor.plugins.get(N).getResizerByViewElement(l);if(c){c.redraw();return}const m=e.editing.mapper,u=m.toModelElement(l);c=e.plugins.get(N).attachTo({unit:e.config.get("image.resizeUnit"),modelElement:u,viewElement:l,editor:e,getHandleHost(g){return g.querySelector("img")},getResizeHost(){return s.mapViewToDom(m.toViewElement(u))},isCentered(){return u.getAttribute("imageStyle")=="alignCenter"},onCommit(g){t.change(d=>{d.removeClass(L,l)}),e.execute("resizeImage",{width:g})}}),c.on("updateSize",()=>{l.hasClass(L)||t.change(d=>{d.addClass(L,l)});const g=u.name==="imageInline"?r:l;g.getStyle("height")&&t.change(d=>{d.removeStyle("height",g)})}),c.bind("isEnabled").to(this)})}}/**
5
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
- */function $e(o){if(!o)return null;const[,e,t]=o.trim().match(/([.,\d]+)(%|px)$/)||[],i=Number.parseFloat(e);return Number.isNaN(i)?null:{value:i,unit:t}}function He(o,e,t){return t==="px"?{value:e.value,unit:"px"}:{value:e.value/o*100,unit:"%"}}/**
8
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
9
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
10
- */function Ge(o){const{editing:e}=o,i=o.plugins.get("ImageUtils").getClosestSelectedImageElement(o.model.document.selection);if(!i)return null;const n=e.mapper.toViewElement(i),a=e.view.domConverter.mapViewToDom(n);return{model:i,view:n,dom:a}}function Vi(o,e){const t=Ge(o);if(!t)return null;const i=$e(t.model.getAttribute("resizedWidth")||null);if(!i)return null;if(i.unit===e)return i;const n=pe(t.dom),a={value:new mt(t.dom).width};return He(n,a,e)}class Ai extends R{focusTracker;keystrokes;unit;backButtonView;saveButtonView;labeledInput;children;_focusables;_focusCycler;_validators;constructor(e,t,i){super(e),this.focusTracker=new G,this.keystrokes=new z,this.unit=t,this.backButtonView=this._createBackButton(),this.saveButtonView=this._createSaveButton(),this.labeledInput=this._createLabeledInputView(),this.children=this.createCollection([this._createHeaderView()]),this.children.add(new ye(e,{children:[this.labeledInput,this.saveButtonView],class:["ck-form__row_with-submit","ck-form__row_large-top-padding"]})),this._focusables=new J,this._validators=i,this.keystrokes.set("Esc",(n,a)=>{this.fire("cancel"),a()}),this._focusCycler=new Z({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-image-custom-resize-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),O({view:this}),[this.backButtonView,this.labeledInput,this.saveButtonView].forEach(t=>{this._focusables.add(t),this.focusTracker.add(t.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createBackButton(){const e=this.locale.t,t=new b(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:Be,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createSaveButton(){const e=this.locale.t,t=new b(this.locale);return t.set({label:e("Save"),withText:!0,type:"submit",class:"ck-button-action ck-button-bold"}),t}_createHeaderView(){const e=this.locale.t,t=new Ce(this.locale,{label:e("Image Resize")});return t.children.add(this.backButtonView,0),t}_createLabeledInputView(){const e=this.locale.t,t=new X(this.locale,St);return t.label=e("Resize image (in %0)",this.unit),t.class="ck-labeled-field-view_full-width",t.fieldView.set({step:.1}),t}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.labeledInput.errorText=t,!1}return!0}resetFormStatus(){this.labeledInput.errorText=null}get rawSize(){const{element:e}=this.labeledInput.fieldView;return e?e.value:null}get parsedSize(){const{rawSize:e}=this;if(e===null)return null;const t=Number.parseFloat(e);return Number.isNaN(t)?null:t}get sizeWithUnits(){const{parsedSize:e,unit:t}=this;return e===null?null:`${e}${t}`}}function Ti(o,e){const t=Ge(o);if(!t)return null;const i=pe(t.dom),n=$e(window.getComputedStyle(t.dom).minWidth)||{value:1},a=Math.max(.1,He(i,n,e).value);return{unit:e,lower:a,upper:e==="px"?i:100}}class xi extends f{_balloon;_form;static get requires(){return[be]}static get pluginName(){return"ImageCustomResizeUI"}static get isOfficialPlugin(){return!0}destroy(){super.destroy(),this._form&&this._form.destroy()}_createForm(e){const t=this.editor;this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(we(Ai))(t.locale,e,zi(t)),this._form.render(),this.listenTo(this._form,"submit",()=>{this._form.isValid()&&(t.execute("resizeImage",{width:this._form.sizeWithUnits}),this._hideForm(!0))}),this.listenTo(this._form.labeledInput,"change:errorText",()=>{t.ui.update()}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),_e({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(e){if(this._isVisible)return;this._form||this._createForm(e);const t=this.editor,i=this._form.labeledInput;this._form.disableCssTransitions(),this._form.resetFormStatus(),this._isInBalloon||this._balloon.add({view:this._form,position:Q(t)});const n=Vi(t,e),a=n?n.value.toFixed(1):"",s=Ti(t,e);i.fieldView.value=i.fieldView.element.value=a,s&&Object.assign(i.fieldView,{min:s.lower.toFixed(1),max:Math.ceil(s.upper).toFixed(1)}),this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}function zi(o){const e=o.t;return[t=>{if(t.rawSize.trim()==="")return e("The value must not be empty.");if(t.parsedSize===null)return e("The value should be a plain number.")}]}class cn extends f{static get requires(){return[qe,Bi,xi,ki]}static get pluginName(){return"ImageResize"}static get isOfficialPlugin(){return!0}}class Ri extends v{_defaultStyles;_styles;constructor(e,t){super(e),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(t.map(i=>{if(i.isDefault)for(const n of i.modelElements)this._defaultStyles[n]=i.name;return[i.name,i]}))}refresh(){const i=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!i,this.isEnabled?i.hasAttribute("imageStyle")?this.value=i.getAttribute("imageStyle"):this.value=this._defaultStyles[i.name]:this.value=!1}execute(e={}){const t=this.editor,i=t.model,n=t.plugins.get("ImageUtils");i.change(a=>{const s=e.value,{setImageSizes:r=!0}=e;let l=n.getClosestSelectedImageElement(i.document.selection);s&&this.shouldConvertImageType(s,l)&&(this.editor.execute(n.isBlockImage(l)?"imageTypeInline":"imageTypeBlock",{setImageSizes:r}),l=n.getClosestSelectedImageElement(i.document.selection)),!s||this._styles.get(s).isDefault?a.removeAttribute("imageStyle",l):a.setAttribute("imageStyle",s,l),r&&n.setImageNaturalSizeAttributes(l)})}shouldConvertImageType(e,t){return!this._styles.get(e).modelElements.includes(t.name)}}const B={get inline(){return{name:"inline",title:"In line",icon:Ee,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:ke,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:Ue,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:M,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:D,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:Se,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:M,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:D,modelElements:["imageBlock"],className:"image-style-side"}}},Ke={full:Ot,left:Ue,right:Se,center:M,inlineLeft:ke,inlineRight:D,inline:Ee},Je=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function Oi(o){return(o.configuredStyles.options||[]).map(i=>Fi(i)).filter(i=>Li(i,o))}function Pi(o,e){return o&&e?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:o?{options:["block","side"]}:e?{options:["inline","alignLeft","alignRight"]}:{}}function Ni(o){return o.has("ImageBlockEditing")&&o.has("ImageInlineEditing")?[...Je]:[]}function Fi(o){return typeof o=="string"?B[o]?o={...B[o]}:o={name:o}:o=Di(B[o.name],o),typeof o.icon=="string"&&(o.icon=Ke[o.icon]||o.icon),o}function Li(o,{isBlockPluginLoaded:e,isInlinePluginLoaded:t}){const{modelElements:i,name:n}=o;if(!i||!i.length||!n)return Ze({style:o}),!1;{const a=[e?"imageBlock":null,t?"imageInline":null];if(!i.some(s=>a.includes(s)))return _("image-style-missing-dependency",{style:o,missingPlugins:i.map(s=>s==="imageBlock"?"ImageBlockEditing":"ImageInlineEditing")}),!1}return!0}function Di(o,e){const t={...e};for(const i in o)Object.prototype.hasOwnProperty.call(e,i)||(t[i]=o[i]);return t}function Ze(o){_("image-style-configuration-definition-invalid",o)}var j={normalizeStyles:Oi,getDefaultStylesConfiguration:Pi,getDefaultDropdownDefinitions:Ni,warnInvalidStyle:Ze,DEFAULT_OPTIONS:B,DEFAULT_ICONS:Ke,DEFAULT_DROPDOWN_DEFINITIONS:Je};function Mi(o){return(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const n=me(t.attributeNewValue,o),a=me(t.attributeOldValue,o),s=i.mapper.toViewElement(t.item),r=i.writer;a&&r.removeClass(a.className,s),n&&r.addClass(n.className,s)}}function Wi(o){const e={imageInline:o.filter(t=>!t.isDefault&&t.modelElements.includes("imageInline")),imageBlock:o.filter(t=>!t.isDefault&&t.modelElements.includes("imageBlock"))};return(t,i,n)=>{if(!i.modelRange)return;const a=i.viewItem,s=H(i.modelRange.getItems());if(s&&n.schema.checkAttribute(s,"imageStyle"))for(const r of e[s.name])n.consumable.consume(a,{classes:r.className})&&n.writer.setAttribute("imageStyle",r.name,s)}}function me(o,e){for(const t of e)if(t.name===o)return t}class Xe extends f{static get pluginName(){return"ImageStyleEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[I]}normalizedStyles;init(){const{normalizeStyles:e,getDefaultStylesConfiguration:t}=j,i=this.editor,n=i.plugins.has("ImageBlockEditing"),a=i.plugins.has("ImageInlineEditing");i.config.define("image.styles",t(n,a)),this.normalizedStyles=e({configuredStyles:i.config.get("image.styles"),isBlockPluginLoaded:n,isInlinePluginLoaded:a}),this._setupConversion(n,a),this._setupPostFixer(),i.commands.add("imageStyle",new Ri(i,this.normalizedStyles))}_setupConversion(e,t){const i=this.editor,n=i.model.schema,a=Mi(this.normalizedStyles),s=Wi(this.normalizedStyles);i.editing.downcastDispatcher.on("attribute:imageStyle",a),i.data.downcastDispatcher.on("attribute:imageStyle",a),e&&(n.extend("imageBlock",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:figure",s,{priority:"low"})),t&&(n.extend("imageInline",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:img",s,{priority:"low"}))}_setupPostFixer(){const e=this.editor,t=e.model.document,i=e.plugins.get(I),n=new Map(this.normalizedStyles.map(a=>[a.name,a]));t.registerPostFixer(a=>{let s=!1;for(const r of t.differ.getChanges())if(r.type=="insert"||r.type=="attribute"&&r.attributeKey=="imageStyle"){let l=r.type=="insert"?r.position.nodeAfter:r.range.start.nodeAfter;if(l&&l.is("element","paragraph")&&l.childCount>0&&(l=l.getChild(0)),!i.isImage(l))continue;const c=l.getAttribute("imageStyle");if(!c)continue;const m=n.get(c);(!m||!m.modelElements.includes(l.name))&&(a.removeAttribute("imageStyle",l),s=!0)}return s})}}class ji extends f{static get requires(){return[Xe]}static get pluginName(){return"ImageStyleUI"}static get isOfficialPlugin(){return!0}get localizedDefaultStylesTitles(){const e=this.editor.t;return{"Wrap text":e("Wrap text"),"Break text":e("Break text"),"In line":e("In line"),"Full size image":e("Full size image"),"Side image":e("Side image"),"Left aligned image":e("Left aligned image"),"Centered image":e("Centered image"),"Right aligned image":e("Right aligned image")}}init(){const e=this.editor.plugins,t=this.editor.config.get("image.toolbar")||[],i=e.get("ImageStyleEditing"),n=ue(i.normalizedStyles,this.localizedDefaultStylesTitles);for(const s of n)this._createButton(s);const a=ue([...t.filter(Ve),...j.getDefaultDropdownDefinitions(e)],this.localizedDefaultStylesTitles);for(const s of a)this._createDropdown(s,n)}_createDropdown(e,t){const i=this.editor.ui.componentFactory;i.add(e.name,n=>{let a;const{defaultItem:s,items:r,title:l}=e,c=r.filter(d=>t.find(({name:h})=>ge(h)===d)).map(d=>{const h=i.create(d);return d===s&&(a=h),h});r.length!==c.length&&j.warnInvalidStyle({dropdown:e});const m=K(n,Ie),u=m.buttonView,g=u.arrowView;return _t(m,c,{enableActiveItemFocusOnDropdownOpen:!0}),u.set({label:de(l,a.label),class:null,tooltip:!0}),g.unbind("label"),g.set({label:l}),u.bind("icon").toMany(c,"isOn",(...d)=>{const h=d.findIndex(E);return h<0?a.icon:c[h].icon}),u.bind("label").toMany(c,"isOn",(...d)=>{const h=d.findIndex(E);return de(l,h<0?a.label:c[h].label)}),u.bind("isOn").toMany(c,"isOn",(...d)=>d.some(E)),u.bind("class").toMany(c,"isOn",(...d)=>d.some(E)?"ck-splitbutton_flatten":void 0),u.on("execute",()=>{c.some(({isOn:d})=>d)?m.isOpen=!m.isOpen:a.fire("execute")}),m.bind("isEnabled").toMany(c,"isEnabled",(...d)=>d.some(E)),this.listenTo(m,"execute",()=>{this.editor.editing.view.focus()}),m})}_createButton(e){const t=e.name;this.editor.ui.componentFactory.add(ge(t),i=>{const n=this.editor.commands.get("imageStyle"),a=new b(i);return a.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),a.bind("isEnabled").to(n,"isEnabled"),a.bind("isOn").to(n,"value",s=>s===t),a.on("execute",this._executeCommand.bind(this,t)),a})}_executeCommand(e){this.editor.execute("imageStyle",{value:e}),this.editor.editing.view.focus()}}function ue(o,e){for(const t of o)e[t.title]&&(t.title=e[t.title]);return o}function ge(o){return`imageStyle:${o}`}function de(o,e){return(o?o+": ":"")+e}class mn extends f{static get requires(){return[Xe,ji]}static get pluginName(){return"ImageStyle"}static get isOfficialPlugin(){return!0}}class un extends f{static get requires(){return[ie,I]}static get pluginName(){return"ImageToolbar"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(ie),n=e.plugins.get("ImageUtils");i.register("image",{ariaLabel:t("Image toolbar"),items:qi(e.config.get("image.toolbar")||[]),getRelatedElement:a=>n.getClosestSelectedImageWidget(a)})}}function qi(o){return o.map(e=>Ve(e)?e.name:e)}export{sn as AutoImage,on as ImageBlock,Fe as ImageBlockEditing,rn as ImageCaption,ti as ImageCaptionEditing,ii as ImageCaptionUI,Le as ImageCaptionUtils,xi as ImageCustomResizeUI,Re as ImageEditing,an as ImageInline,ln as ImageInsert,S as ImageInsertUI,Ci as ImageInsertViaUrl,cn as ImageResize,ki as ImageResizeButtons,qe as ImageResizeEditing,Bi as ImageResizeHandles,Oe as ImageSizeAttributes,mn as ImageStyle,Xe as ImageStyleEditing,ji as ImageStyleUI,xe as ImageTextAlternative,$t as ImageTextAlternativeEditing,Kt as ImageTextAlternativeUI,un as ImageToolbar,_i as ImageUpload,Ii as ImageUploadEditing,li as ImageUploadProgress,ri as ImageUploadUI,I as ImageUtils,De as createImageTypeRegExp};
@@ -1,13 +0,0 @@
1
- import{Plugin as I,Command as T}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Delete as Ne}from"../../../../../@ckeditor_ckeditor5-typing@45.2.2/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{Enter as Fe}from"../../../../../@ckeditor_ckeditor5-enter@45.2.2/node_modules/@ckeditor/ckeditor5-enter/dist/index.js";import{CKEditorError as Oe,getCode as Re,toArray as k,first as D,parseKeystroke as Me,getLocalizedArrowKeyCodeDirection as De,uid as Ue,FocusTracker as ee,KeystrokeHandler as te,global as $e}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{ClipboardPipeline as Ke}from"../../../../../@ckeditor_ckeditor5-clipboard@45.2.2/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";import{createDropdown as We,SplitButtonView as je,MenuBarMenuView as qe,ButtonView as G,MenuBarMenuListItemButtonView as He,focusChildOnDropdownOpen as Ye,View as ie,ViewCollection as ze,FocusCycler as Ge,addKeyboardHandlingForGrid as Ze,CollapsibleView as Je,LabeledFieldView as Qe,createLabeledInputNumber as Xe,SwitchButtonView as et}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{IconListStyleDisc as tt,IconListStyleCircle as it,IconListStyleSquare as st,IconListStyleDecimal as nt,IconListStyleDecimalLeadingZero as rt,IconListStyleLowerRoman as ot,IconListStyleUpperRoman as lt,IconListStyleLowerLatin as ct,IconListStyleUpperLatin as at,IconBulletedList as Z,IconNumberedList as J,IconTodoList as ut}from"../../../../../@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{DomEventObserver as dt,Matcher as be}from"../../../../../@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */class b{_startElement;_referenceIndent;_isForward;_includeSelf;_sameAttributes;_sameIndent;_lowerIndent;_higherIndent;constructor(e,t){this._startElement=e,this._referenceIndent=e.getAttribute("listIndent"),this._isForward=t.direction=="forward",this._includeSelf=!!t.includeSelf,this._sameAttributes=k(t.sameAttributes||[]),this._sameIndent=!!t.sameIndent,this._lowerIndent=!!t.lowerIndent,this._higherIndent=!!t.higherIndent}static first(e,t){const n=new this(e,t)[Symbol.iterator]();return D(n)}*[Symbol.iterator](){const e=[];for(const{node:t}of new V(this._getStartNode(),this._isForward?"forward":"backward")){const i=t.getAttribute("listIndent");if(i<this._referenceIndent){if(!this._lowerIndent)break;this._referenceIndent=i}else if(i>this._referenceIndent){if(!this._higherIndent)continue;if(!this._isForward){e.push(t);continue}}else{if(!this._sameIndent){if(this._higherIndent){e.length&&(yield*e,e.length=0);break}continue}if(this._sameAttributes.some(n=>t.getAttribute(n)!==this._startElement.getAttribute(n)))break}e.length&&(yield*e,e.length=0),yield t}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}class V{_node;_isForward;_previousNodesByIndent=[];_previous=null;_previousNodeIndent=null;constructor(e,t="forward"){this._node=e,this._isForward=t==="forward"}[Symbol.iterator](){return this}next(){if(!p(this._node))return{done:!0,value:void 0};const e=this._node.getAttribute("listIndent");let t=null;if(this._previous){const n=this._previousNodeIndent;e>n?this._previousNodesByIndent[n]=this._previous:e<n?(t=this._previousNodesByIndent[e]||null,this._previousNodesByIndent.length=e):t=this._previous}const i={node:this._node,previous:this._previous,previousNodeInList:t};return this._previous=this._node,this._previousNodeIndent=e,this._node=this._isForward?this._node.nextSibling:this._node.previousSibling,{value:i,done:!1}}}class ft{_listHead;constructor(e){this._listHead=e}[Symbol.iterator](){return new V(this._listHead)}}class S{static next(){return Ue()}}function p(s){return!!s&&s.is("element")&&s.hasAttribute("listItemId")}function _(s,e={}){return[...L(s,{...e,direction:"backward"}),...L(s,{...e,direction:"forward"})]}function L(s,e={}){const t=e.direction=="forward",i=Array.from(new b(s,{...e,includeSelf:t,sameIndent:!0,sameAttributes:"listItemId"}));return t?i:i.reverse()}function mt(s){return Array.from(new b(s,{direction:"forward",higherIndent:!0}))}function ye(s,e){const t=new b(s,{sameIndent:!0,sameAttributes:"listType",...e}),i=new b(s,{sameIndent:!0,sameAttributes:"listType",includeSelf:!0,direction:"forward",...e});return[...Array.from(t).reverse(),...i]}function A(s){return!b.first(s,{sameIndent:!0,sameAttributes:"listItemId"})}function se(s){return!b.first(s,{direction:"forward",sameIndent:!0,sameAttributes:"listItemId"})}function N(s,e={}){s=k(s);const t=e.withNested!==!1,i=new Set;for(const n of s)for(const r of _(n,{higherIndent:t}))i.add(r);return v(i)}function U(s){s=k(s);const e=new Set;for(const t of s)for(const i of ye(t))e.add(i);return v(e)}function Q(s,e){const t=L(s,{direction:"forward"}),i=S.next();for(const n of t)e.setAttribute("listItemId",i,n);return t}function j(s,e,t){const i={};for(const[r,l]of e.getAttributes())r.startsWith("list")&&(i[r]=l);const n=L(s,{direction:"forward"});for(const r of n)t.setAttributes(i,r);return n}function q(s,e,{expand:t,indentBy:i=1}={}){s=k(s);const n=t?N(s):s;for(const r of n){const l=r.getAttribute("listIndent")+i;l<0?$(r,e):e.setAttribute("listIndent",l,r)}return n}function pt(s,e){s=k(s);const t=N(s),i=new Set,n=Math.min(...t.map(l=>l.getAttribute("listIndent"))),r=new Map;for(const l of t)r.set(l,b.first(l,{lowerIndent:!0}));for(const l of t){if(i.has(l))continue;i.add(l);const o=l.getAttribute("listIndent")-1;if(o<0){$(l,e);continue}if(l.getAttribute("listIndent")==n){const c=gt(l,r.get(l),e);for(const a of c)i.add(a);if(c.length)continue}e.setAttribute("listIndent",o,l)}return v(i)}function $(s,e){s=k(s);for(const t of s)t.is("element","listItem")&&e.rename(t,"paragraph");for(const t of s)for(const i of t.getAttributeKeys())i.startsWith("list")&&e.removeAttribute(i,t);return s}function E(s){if(!s.length)return!1;const e=s[0].getAttribute("listItemId");return e?!s.some(t=>t.getAttribute("listItemId")!=e):!1}function ht(s,e){const t=[];let i=Number.POSITIVE_INFINITY;for(const{node:n}of new V(s.nextSibling)){const r=n.getAttribute("listIndent");if(r==0)break;r<i&&(i=r);const l=r-i;e.setAttribute("listIndent",l,n),t.push(n)}return t}function v(s){return Array.from(s).filter(e=>e.root.rootName!=="$graveyard").sort((e,t)=>e.index-t.index)}function B(s){const e=s.document.selection.getSelectedElement();return e&&s.schema.isObject(e)&&s.schema.isBlock(e)?e:null}function K(s,e){return e.checkChild(s.parent,"listItem")&&e.checkChild(s,"$text")&&!e.isObject(s)}function M(s){return s=="numbered"||s=="customNumbered"}function gt(s,e,t){return L(e,{direction:"forward"}).pop().index>s.index?j(s,e,t):[]}class ne extends T{_direction;constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=re(e.document.selection);e.change(i=>{const n=[];E(t)&&!A(t[0])?(this._direction=="forward"&&n.push(...q(t,i)),n.push(...Q(t[0],i))):this._direction=="forward"?n.push(...q(t,i,{expand:!0})):n.push(...pt(t,i));for(const r of n){if(!r.hasAttribute("listType"))continue;const l=b.first(r,{sameIndent:!0});l&&i.setAttribute("listType",l.getAttribute("listType"),r)}this._fireAfterExecute(n)})}_fireAfterExecute(e){this.fire("afterExecute",v(new Set(e)))}_checkEnabled(){let e=re(this.editor.model.document.selection),t=e[0];if(!t)return!1;if(this._direction=="backward"||E(e)&&!A(e[0]))return!0;e=N(e),t=e[0];const i=b.first(t,{sameIndent:!0});return i?i.getAttribute("listType")==t.getAttribute("listType"):!1}}function re(s){const e=Array.from(s.getSelectedBlocks()),t=e.findIndex(i=>!p(i));return t!=-1&&(e.length=t),e}class x extends T{type;_listWalkerOptions;constructor(e,t,i={}){super(e),this.type=t,this._listWalkerOptions=i.multiLevel?{higherIndent:!0,lowerIndent:!0,sameAttributes:[]}:void 0}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document,n=B(t),r=Array.from(i.selection.getSelectedBlocks()).filter(o=>t.schema.checkAttribute(o,"listType")||K(o,t.schema)),l=e.forceValue!==void 0?!e.forceValue:this.value;t.change(o=>{if(l){const c=r[r.length-1],a=L(c,{direction:"forward"}),u=[];a.length>1&&u.push(...Q(a[1],o)),u.push(...$(r,o)),u.push(...ht(c,o)),this._fireAfterExecute(u)}else if((n||i.selection.isCollapsed)&&p(r[0])){const c=ye(n||r[0],this._listWalkerOptions);for(const a of c)o.setAttributes({...e.additionalAttributes,listType:this.type},a);this._fireAfterExecute(c)}else{const c=[];for(const a of r)if(!a.hasAttribute("listType"))!a.is("element","listItem")&&K(a,t.schema)&&o.rename(a,"listItem"),o.setAttributes({...e.additionalAttributes,listIndent:0,listItemId:S.next(),listType:this.type},a),c.push(a);else for(const u of N(a,{withNested:!1}))u.getAttribute("listType")!=this.type&&(o.setAttributes({...e.additionalAttributes,listType:this.type},u),c.push(u));this._fireAfterExecute(c)}})}_fireAfterExecute(e){this.fire("afterExecute",v(new Set(e)))}_getValue(){const e=this.editor.model.document.selection,t=Array.from(e.getSelectedBlocks());if(!t.length)return!1;for(const i of t)if(i.getAttribute("listType")!=this.type)return!1;return!0}_checkEnabled(){const e=this.editor.model,t=e.schema,i=e.document.selection,n=Array.from(i.getSelectedBlocks());if(!n.length)return!1;if(this.value)return!0;for(const r of n)if(t.checkAttribute(r,"listType")||K(r,t))return!0;return!1}}class oe extends T{_direction;constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute({shouldMergeOnBlocksContentLevel:e=!1}={}){const t=this.editor.model,i=t.document.selection,n=[];t.change(r=>{const{firstElement:l,lastElement:o}=this._getMergeSubjectElements(i,e),c=l.getAttribute("listIndent")||0,a=o.getAttribute("listIndent"),u=o.getAttribute("listItemId");if(c!=a){const d=mt(o);n.push(...q([o,...d],r,{indentBy:c-a,expand:c<a}))}if(e){let d=i;i.isCollapsed&&(d=r.createSelection(r.createRange(r.createPositionAt(l,"end"),r.createPositionAt(o,0)))),t.deleteContent(d,{doNotResetEntireContent:i.isCollapsed});const f=d.getLastPosition().parent,m=f.nextSibling;n.push(f),m&&m!==o&&m.getAttribute("listItemId")==u&&n.push(...j(m,f,r))}else n.push(...j(o,l,r));this._fireAfterExecute(n)})}_fireAfterExecute(e){this.fire("afterExecute",v(new Set(e)))}_checkEnabled(){const e=this.editor.model,t=e.document.selection,i=B(e);if(t.isCollapsed||i){const n=i||t.getFirstPosition().parent;if(!p(n))return!1;const r=this._direction=="backward"?n.previousSibling:n.nextSibling;if(!r||E([n,r]))return!1}else{const n=t.getLastPosition(),r=t.getFirstPosition();if(n.parent===r.parent||!p(n.parent))return!1}return!0}_getMergeSubjectElements(e,t){const i=this.editor.model,n=B(i);let r,l;if(e.isCollapsed||n){const o=n||e.getFirstPosition().parent,c=A(o);this._direction=="backward"?(l=o,c&&!t?r=b.first(o,{sameIndent:!0,lowerIndent:!0}):r=o.previousSibling):(r=o,l=o.nextSibling)}else r=e.getFirstPosition().parent,l=e.getLastPosition().parent;return{firstElement:r,lastElement:l}}}class le extends T{_direction;constructor(e,t){super(e),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){this.editor.model.change(t=>{const i=Q(this._getStartBlock(),t);this._fireAfterExecute(i)})}_fireAfterExecute(e){this.fire("afterExecute",v(new Set(e)))}_checkEnabled(){const e=this.editor.model.document.selection,t=this._getStartBlock();return e.isCollapsed&&p(t)&&!A(t)}_getStartBlock(){const t=this.editor.model.document.selection.getFirstPosition().parent;return this._direction=="before"?t:t.nextSibling}}class bt extends I{static get pluginName(){return"ListUtils"}static get isOfficialPlugin(){return!0}expandListBlocksToCompleteList(e){return U(e)}isFirstBlockOfListItem(e){return A(e)}isListItemBlock(e){return p(e)}expandListBlocksToCompleteItems(e,t={}){return N(e,t)}isNumberedListType(e){return M(e)}}/**
5
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
- */function yt(s){return s.is("element","ol")||s.is("element","ul")}function H(s){return s.is("element","li")}function It(s){let e=0,t=s.parent;for(;t;){if(H(t))e++;else{const i=t.previousSibling;i&&H(i)&&e++}t=t.parent}return e}function wt(s,e,t,i=we(t,e)){return s.createAttributeElement(Ie(t),null,{priority:2*e/100-100,id:i})}function At(s,e,t){return s.createAttributeElement("li",null,{priority:(2*e+1)/100-100,id:t})}function Ie(s){return s=="numbered"||s=="customNumbered"?"ol":"ul"}function we(s,e){return`list-${s}-${e}`}function y(s,e,t){const i=s.nodeBefore;if(p(i)){let n=i;for(const{node:r}of new V(n,"backward"))if(n=r,t.has(n)||(t.add(n),e.has(i)))return;e.add(n)}else{const n=s.nodeAfter;p(n)&&e.add(n)}}function kt(s,e){let t=0,i=-1,n=null,r=!1;for(const{node:l}of s){const o=l.getAttribute("listIndent");if(o>t){let c;n===null?(n=o-t,c=t):(n>o&&(n=o),c=o-n),c>i+1&&(c=i+1),e.setAttribute("listIndent",c,l),r=!0,i=c}else n=null,t=o+1,i=o}return r}function Lt(s,e,t){const i=new Set;let n=!1;for(const{node:r}of s){if(i.has(r))continue;let l=r.getAttribute("listType"),o=r.getAttribute("listItemId");if(e.has(o)&&(o=S.next()),e.add(o),r.is("element","listItem")){r.getAttribute("listItemId")!=o&&(t.setAttribute("listItemId",o,r),n=!0);continue}for(const c of L(r,{direction:"forward"}))i.add(c),c.getAttribute("listType")!=l&&(o=S.next(),l=c.getAttribute("listType")),c.getAttribute("listItemId")!=o&&(t.setAttribute("listItemId",o,c),n=!0)}return n}function Tt(){return(s,e,t)=>{const{writer:i,schema:n}=t;if(!e.modelRange)return;const r=Array.from(e.modelRange.getItems({shallow:!0})).filter(d=>n.checkAttribute(d,"listItemId"));if(!r.length)return;const l=S.next(),o=It(e.viewItem);let c=e.viewItem.parent&&e.viewItem.parent.is("element","ol")?"numbered":"bulleted";const a=r[0].getAttribute("listType");a&&(c=a);const u={listItemId:l,listIndent:o,listType:c};for(const d of r)d.hasAttribute("listItemId")||i.setAttributes(u,d);r.length>1&&r[1].getAttribute("listItemId")!=u.listItemId&&t.keepEmptyElement(r[0])}}function vt(s,e,t,i){return()=>{const o=s.document.differ.getChanges(),c=[],a=new Set,u=new Set,d=new Set;for(const f of o)if(f.type=="insert"&&f.name!="$text")y(f.position,a,d),f.attributes.has("listItemId")?u.add(f.position.nodeAfter):y(f.position.getShiftedBy(f.length),a,d);else if(f.type=="remove"&&f.attributes.has("listItemId"))y(f.position,a,d);else if(f.type=="attribute"){const m=f.range.start.nodeAfter;t.includes(f.attributeKey)?(y(f.range.start,a,d),f.attributeNewValue===null?(y(f.range.start.getShiftedBy(1),a,d),r(m)&&c.push(m)):u.add(m)):p(m)&&r(m)&&c.push(m)}for(const f of a.values())c.push(...n(f,u));for(const f of new Set(c))e.reconvertItem(f)};function n(o,c){const a=[],u=new Set,d=[];for(const{node:f,previous:m}of new V(o)){if(u.has(f))continue;const h=f.getAttribute("listIndent");m&&h<m.getAttribute("listIndent")&&(d.length=h+1),d[h]=Object.fromEntries(Array.from(f.getAttributes()).filter(([g])=>t.includes(g)));const w=L(f,{direction:"forward"});for(const g of w)u.add(g),(r(g,w)||l(g,d,c))&&a.push(g)}return a}function r(o,c){const a=e.mapper.toViewElement(o);if(!a)return!1;if(i.fire("checkElement",{modelElement:o,viewElement:a}))return!0;if(!o.is("element","paragraph")&&!o.is("element","listItem"))return!1;const d=ke(o,t,c);return d&&a.is("element","p")?!0:!!(!d&&a.is("element","span"))}function l(o,c,a){if(a.has(o))return!1;const u=e.mapper.toViewElement(o);let d=c.length-1;for(let f=u.parent;!f.is("editableElement");f=f.parent){const m=H(f),h=yt(f);if(!h&&!m)continue;const w=`checkAttributes:${m?"item":"list"}`;if(i.fire(w,{viewElement:f,modelAttributes:c[d]}))break;if(h&&(d--,d<0))return!1}return!0}}function ce(s,e,t,{dataPipeline:i}={}){const n=Pt(s);return(r,l,o)=>{const{writer:c,mapper:a,consumable:u}=o,d=l.item;if(!s.includes(l.attributeKey)||!n(d,u))return;const f=_t(d,a,t);Ae(f,c,a),Et(f,c);const m=xt(d,f,e,c,{dataPipeline:i});Bt(d,m,e,c)}}function St(s){return(e,t,i)=>{const{writer:n,mapper:r}=i,l=e.name.split(":")[1];if(!s.checkAttribute(l,"listItemId"))return;const o=r.toViewPosition(t.position),c=t.position.getShiftedBy(t.length),a=r.toViewPosition(c,{isPhantom:!0}),d=n.createRange(o,a).getTrimmed().end.nodeBefore;/* istanbul ignore next -- @preserve */d&&Ae(d,n,r)}}function ae(s,{dataPipeline:e}={}){return(t,{writer:i})=>{if(!ke(t,s))return null;if(!e)return i.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const n=i.createContainerElement("p");return i.setCustomProperty("dataPipeline:transparentRendering",!0,n),n}}function _t(s,e,t){const i=t.createRangeOn(s);return e.toViewRange(i).getTrimmed().end.nodeBefore}function Ct(s,e){return(t,i)=>{if(i.modelPosition.offset>0)return;const n=i.modelPosition.parent;if(!p(n)||!s.some(a=>a.scope=="itemMarker"&&a.canInjectMarkerIntoElement&&a.canInjectMarkerIntoElement(n)))return;const r=i.mapper.toViewElement(n),l=e.createRangeIn(r),o=l.getWalker();let c=l.start;for(const{item:a}of o){if(a.is("element")&&i.mapper.toModelElement(a)||a.is("$textProxy"))break;a.is("element")&&a.getCustomProperty("listItemMarker")&&(c=e.createPositionAfter(a),o.skip(({previousPosition:u})=>!u.isEqual(c)))}i.viewPosition=c}}function Ae(s,e,t){for(;s.parent.is("attributeElement")&&s.parent.getCustomProperty("listItemWrapper");)e.unwrap(e.createRangeOn(s),s.parent);const i=[];n(e.createPositionBefore(s).getWalker({direction:"backward"})),n(e.createRangeIn(s).getWalker());for(const r of i)e.remove(r);function n(r){for(const{item:l}of r){if(l.is("element")&&t.toModelElement(l))break;l.is("element")&&l.getCustomProperty("listItemMarker")&&i.push(l)}}}function xt(s,e,t,i,{dataPipeline:n}){let r=i.createRangeOn(e);if(!A(s))return r;for(const l of t){if(l.scope!="itemMarker")continue;const o=l.createElement(i,s,{dataPipeline:n});if(!o||(i.setCustomProperty("listItemMarker",!0,o),l.canInjectMarkerIntoElement&&l.canInjectMarkerIntoElement(s)?i.insert(i.createPositionAt(e,0),o):(i.insert(r.start,o),r=i.createRange(i.createPositionBefore(o),i.createPositionAfter(e))),!l.createWrapperElement||!l.canWrapElement))continue;const c=l.createWrapperElement(i,s,{dataPipeline:n});i.setCustomProperty("listItemWrapper",!0,c),l.canWrapElement(s)?r=i.wrap(r,c):(r=i.wrap(i.createRangeOn(o),c),r=i.createRange(r.start,i.createPositionAfter(e)))}return r}function Et(s,e){let t=s.parent;for(;t.is("attributeElement")&&["ul","ol","li"].includes(t.name);){const i=t.parent;e.unwrap(e.createRangeOn(s),t),t=i}}function Bt(s,e,t,i){if(!s.hasAttribute("listIndent"))return;const n=s.getAttribute("listIndent");let r=s;for(let l=n;l>=0;l--){const o=At(i,l,r.getAttribute("listItemId")),c=wt(i,l,r.getAttribute("listType"));for(const a of t)(a.scope=="list"||a.scope=="item")&&r.hasAttribute(a.attributeName)&&a.setAttributeOnDowncast(i,r.getAttribute(a.attributeName),a.scope=="list"?c:o);if(e=i.wrap(e,o),e=i.wrap(e,c),l==0||(r=b.first(r,{lowerIndent:!0}),!r))break}}function Pt(s){return(e,t)=>{const i=[];for(const n of s)e.hasAttribute(n)&&i.push(`attribute:${n}`);return i.every(n=>t.test(e,n)!==!1)?(i.forEach(n=>t.consume(e,n)),!0):!1}}function ke(s,e,t=_(s)){if(!p(s))return!1;for(const i of s.getAttributeKeys())if(!(i.startsWith("selection:")||i=="htmlEmptyBlock")&&!e.includes(i))return!1;return t.length<2}const R=["listType","listIndent","listItemId"];class P extends I{_downcastStrategies=[];static get pluginName(){return"ListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Fe,Ne,bt,Ke]}constructor(e){super(e),e.config.define("list.multiBlock",!0)}init(){const e=this.editor,t=e.model,i=e.config.get("list.multiBlock");if(e.plugins.has("LegacyListEditing"))throw new Oe("list-feature-conflict",this,{conflictPlugin:"LegacyListEditing"});t.schema.register("$listItem",{allowAttributes:R}),i?(t.schema.extend("$container",{allowAttributesOf:"$listItem"}),t.schema.extend("$block",{allowAttributesOf:"$listItem"}),t.schema.extend("$blockObject",{allowAttributesOf:"$listItem"})):t.schema.register("listItem",{inheritAllFrom:"$block",allowAttributesOf:"$listItem"});for(const n of R)t.schema.setAttributeProperties(n,{copyOnReplace:!0});e.commands.add("numberedList",new x(e,"numbered")),e.commands.add("bulletedList",new x(e,"bulleted")),e.commands.add("customNumberedList",new x(e,"customNumbered",{multiLevel:!0})),e.commands.add("customBulletedList",new x(e,"customBulleted",{multiLevel:!0})),e.commands.add("indentList",new ne(e,"forward")),e.commands.add("outdentList",new ne(e,"backward")),e.commands.add("splitListItemBefore",new le(e,"before")),e.commands.add("splitListItemAfter",new le(e,"after")),i&&(e.commands.add("mergeListItemBackward",new oe(e,"backward")),e.commands.add("mergeListItemForward",new oe(e,"forward"))),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration(),this._setupAccessibilityIntegration()}afterInit(){const t=this.editor.commands,i=t.get("indent"),n=t.get("outdent");i&&i.registerChildCommand(t.get("indentList"),{priority:"high"}),n&&n.registerChildCommand(t.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(e){this._downcastStrategies.push(e)}getListAttributeNames(){return[...R,...this._downcastStrategies.map(e=>e.attributeName)]}_setupDeleteIntegration(){const e=this.editor,t=e.commands.get("mergeListItemBackward"),i=e.commands.get("mergeListItemForward");this.listenTo(e.editing.view.document,"delete",(n,r)=>{const l=e.model.document.selection;B(e.model)||e.model.change(()=>{const o=l.getFirstPosition();if(l.isCollapsed&&r.direction=="backward"){if(!o.isAtStart)return;const c=o.parent;if(!p(c))return;if(!b.first(c,{sameAttributes:"listType",sameIndent:!0})&&c.getAttribute("listIndent")===0)se(c)||e.execute("splitListItemAfter"),e.execute("outdentList");else{if(!t||!t.isEnabled)return;t.execute({shouldMergeOnBlocksContentLevel:ue(e.model,"backward")})}r.preventDefault(),n.stop()}else{if(l.isCollapsed&&!l.getLastPosition().isAtEnd||!i||!i.isEnabled)return;i.execute({shouldMergeOnBlocksContentLevel:ue(e.model,"forward")}),r.preventDefault(),n.stop()}})},{context:"li"})}_setupEnterIntegration(){const e=this.editor,t=e.model,i=e.commands,n=i.get("enter");this.listenTo(e.editing.view.document,"enter",(r,l)=>{const o=t.document,c=o.selection.getFirstPosition().parent;if(o.selection.isCollapsed&&p(c)&&c.isEmpty&&!l.isSoft){const a=A(c),u=se(c);a&&u?(e.execute("outdentList"),l.preventDefault(),r.stop()):a&&!u?(e.execute("splitListItemAfter"),l.preventDefault(),r.stop()):u&&(e.execute("splitListItemBefore"),l.preventDefault(),r.stop())}},{context:"li"}),this.listenTo(n,"afterExecute",()=>{const r=i.get("splitListItemBefore");if(r.refresh(),!r.isEnabled)return;const o=e.model.document.selection.getLastPosition().parent;_(o).length===2&&r.execute()})}_setupTabIntegration(){const e=this.editor;this.listenTo(e.editing.view.document,"tab",(t,i)=>{const n=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(n).isEnabled&&(e.execute(n),i.stopPropagation(),i.preventDefault(),t.stop())},{context:"li"})}_setupConversion(){const e=this.editor,t=e.model,i=this.getListAttributeNames(),n=e.config.get("list.multiBlock"),r=n?"paragraph":"listItem";e.conversion.for("upcast").elementToElement({view:"li",model:(o,{writer:c})=>c.createElement(r,{listType:""})}).elementToElement({view:"p",model:(o,{writer:c})=>o.parent&&o.parent.is("element","li")?c.createElement(r,{listType:""}):null,converterPriority:"high"}).add(o=>{o.on("element:li",Tt())}),n||e.conversion.for("downcast").elementToElement({model:"listItem",view:"p"}),e.conversion.for("editingDowncast").elementToElement({model:r,view:ae(i),converterPriority:"high"}).add(o=>{o.on("attribute",ce(i,this._downcastStrategies,t)),o.on("remove",St(t.schema))}),e.conversion.for("dataDowncast").elementToElement({model:r,view:ae(i,{dataPipeline:!0}),converterPriority:"high"}).add(o=>{o.on("attribute",ce(i,this._downcastStrategies,t,{dataPipeline:!0}))});const l=Ct(this._downcastStrategies,e.editing.view);e.editing.mapper.on("modelToViewPosition",l),e.data.mapper.on("modelToViewPosition",l),this.listenTo(t.document,"change:data",vt(t,e.editing,i,this),{priority:"high"}),this.on("checkAttributes:item",(o,{viewElement:c,modelAttributes:a})=>{c.id!=a.listItemId&&(o.return=!0,o.stop())}),this.on("checkAttributes:list",(o,{viewElement:c,modelAttributes:a})=>{(c.name!=Ie(a.listType)||c.id!=we(a.listType,a.listIndent))&&(o.return=!0,o.stop())})}_setupModelPostFixing(){const e=this.editor.model,t=this.getListAttributeNames();e.document.registerPostFixer(i=>Vt(e,i,t,this)),this.on("postFixer",(i,{listNodes:n,writer:r})=>{i.return=kt(n,r)||i.return},{priority:"high"}),this.on("postFixer",(i,{listNodes:n,writer:r,seenIds:l})=>{i.return=Lt(n,l,r)||i.return},{priority:"high"})}_setupClipboardIntegration(){const e=this.editor.model,t=this.editor.plugins.get("ClipboardPipeline");this.listenTo(e,"insertContent",Nt(e),{priority:"high"}),this.listenTo(t,"outputTransformation",(i,n)=>{e.change(r=>{const l=Array.from(n.content.getChildren()),o=l[l.length-1];if(l.length>1&&o.is("element")&&o.isEmpty&&l.slice(0,-1).every(p)&&r.remove(o),n.method=="copy"||n.method=="cut"){const c=Array.from(n.content.getChildren());E(c)&&$(c,r)}})})}_setupAccessibilityIntegration(){const e=this.editor,t=e.t;e.accessibility.addKeystrokeInfoGroup({id:"list",label:t("Keystrokes that can be used in a list"),keystrokes:[{label:t("Increase list item indent"),keystroke:"Tab"},{label:t("Decrease list item indent"),keystroke:"Shift+Tab"}]})}}function Vt(s,e,t,i){const n=s.document.differ.getChanges(),r=new Set,l=new Set,o=i.editor.config.get("list.multiBlock");let c=!1;for(const u of n){if(u.type=="insert"&&u.name!="$text"){const d=u.position.nodeAfter;if(!s.schema.checkAttribute(d,"listItemId"))for(const f of Array.from(d.getAttributeKeys()))t.includes(f)&&(e.removeAttribute(f,d),c=!0);y(u.position,l,r),u.attributes.has("listItemId")||y(u.position.getShiftedBy(u.length),l,r);for(const{item:f,previousPosition:m}of s.createRangeIn(d))p(f)&&y(m,l,r)}else u.type=="remove"?y(u.position,l,r):u.type=="attribute"&&t.includes(u.attributeKey)&&(y(u.range.start,l,r),u.attributeNewValue===null&&y(u.range.start.getShiftedBy(1),l,r));if(!o&&u.type=="attribute"&&R.includes(u.attributeKey)){const d=u.range.start.nodeAfter;u.attributeNewValue===null&&d&&d.is("element","listItem")?(e.rename(d,"paragraph"),c=!0):u.attributeOldValue===null&&d&&d.is("element")&&d.name!="listItem"&&(e.rename(d,"listItem"),c=!0)}}const a=new Set;for(const u of l.values())c=i.fire("postFixer",{listNodes:new ft(u),listHead:u,writer:e,seenIds:a})||c;return c}function Nt(s){return(e,[t,i])=>{const n=t.is("documentFragment")?Array.from(t.getChildren()):[t];if(!n.length)return;const l=(i?s.createSelection(i):s.document.selection).getFirstPosition();let o;if(p(l.parent))o=l.parent;else if(p(l.nodeBefore)&&p(l.nodeAfter))o=l.nodeBefore;else return;s.change(c=>{const a=o.getAttribute("listType"),u=o.getAttribute("listIndent"),d=n[0].getAttribute("listIndent")||0,f=Math.max(u-d,0);for(const m of n){const h=p(m);o.is("element","listItem")&&m.is("element","paragraph")&&c.rename(m,"listItem"),c.setAttributes({listIndent:(h?m.getAttribute("listIndent"):0)+f,listItemId:h?m.getAttribute("listItemId"):S.next(),listType:a},m)}})}}function ue(s,e){const t=s.document.selection;if(!t.isCollapsed)return!B(s);if(e==="forward")return!0;const n=t.getFirstPosition().parent,r=n.previousSibling;return s.schema.isObject(r)?!1:r.isEmpty?!0:E([n,r])}function Y(s,e,t,i){s.ui.componentFactory.add(e,()=>{const n=de(G,s,e,t,i);return n.set({tooltip:!0,isToggleable:!0}),n}),s.ui.componentFactory.add(`menuBar:${e}`,()=>{const n=de(He,s,e,t,i);return n.set({role:"menuitemcheckbox",isToggleable:!0}),n})}function de(s,e,t,i,n){const r=e.commands.get(t),l=new s(e.locale);return l.set({label:i,icon:n}),l.bind("isOn","isEnabled").to(r,"value","isEnabled"),l.on("execute",()=>{e.execute(t),e.editing.view.focus()}),l}class Ft extends I{static get pluginName(){return"ListUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.t;this.editor.ui.componentFactory.has("numberedList")||Y(this.editor,"numberedList",e("Numbered List"),J),this.editor.ui.componentFactory.has("bulletedList")||Y(this.editor,"bulletedList",e("Bulleted List"),Z)}}class ui extends I{static get requires(){return[P,Ft]}static get pluginName(){return"List"}static get isOfficialPlugin(){return!0}}class Ot extends T{refresh(){const e=this._getValue();this.value=e,this.isEnabled=e!=null}execute({startIndex:e=1}={}){const t=this.editor.model,i=t.document;let n=Array.from(i.selection.getSelectedBlocks()).filter(r=>p(r)&&M(r.getAttribute("listType")));n=U(n),t.change(r=>{for(const l of n)r.setAttribute("listStart",e>=0?e:1,l)})}_getValue(){const t=this.editor.model.document,i=D(t.selection.getSelectedBlocks());return i&&p(i)&&M(i.getAttribute("listType"))?i.getAttribute("listStart"):null}}/**
8
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
9
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
10
- */const Le={},Te={},ve={},Se=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:s,typeAttribute:e,listType:t}of Se)Le[s]=t,Te[s]=e,e&&(ve[e]=s);function _e(){return Se.map(s=>s.listStyle)}function X(s){return Le[s]||null}function Ce(s){return ve[s]||null}function z(s){return Te[s]||null}function Rt(s){switch(s){case"lower-alpha":return"lower-latin";case"upper-alpha":return"upper-latin";default:return s}}class Mt extends T{defaultType;_supportedTypes;constructor(e,t,i){super(e),this.defaultType=t,this._supportedTypes=i}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document;t.change(n=>{this._tryToConvertItemsToList(e);let r=Array.from(i.selection.getSelectedBlocks()).filter(l=>l.hasAttribute("listType"));if(r.length){r=U(r);for(const l of r)n.setAttribute("listStyle",e.type||this.defaultType,l)}})}isStyleTypeSupported(e){return this._supportedTypes?this._supportedTypes.includes(e):!0}_getValue(){const e=D(this.editor.model.document.selection.getSelectedBlocks());return p(e)?e.getAttribute("listStyle"):null}_checkEnabled(){const e=this.editor,t=e.commands.get("numberedList"),i=e.commands.get("bulletedList");return t.isEnabled||i.isEnabled}_tryToConvertItemsToList(e){if(!e.type)return;const t=X(e.type);if(!t)return;const i=this.editor,n=`${t}List`;i.commands.get(n).value||i.execute(n)}}class Dt extends T{refresh(){const e=this._getValue();this.value=e,this.isEnabled=e!=null}execute(e={}){const t=this.editor.model,i=t.document;let n=Array.from(i.selection.getSelectedBlocks()).filter(r=>p(r)&&r.getAttribute("listType")=="numbered");n=U(n),t.change(r=>{for(const l of n)r.setAttribute("listReversed",!!e.reversed,l)})}_getValue(){const t=this.editor.model.document,i=D(t.selection.getSelectedBlocks());return p(i)&&i.getAttribute("listType")=="numbered"?i.getAttribute("listReversed"):null}}/**
11
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
12
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
13
- */function fe(s){return(e,t,i)=>{const{writer:n,schema:r,consumable:l}=i;if(l.test(t.viewItem,s.viewConsumables)===!1)return;t.modelRange||Object.assign(t,i.convertChildren(t.viewItem,t.modelCursor));let o=!1;for(const c of t.modelRange.getItems({shallow:!0}))r.checkAttribute(c,s.attributeName)&&s.appliesToListItem(c)&&(c.hasAttribute(s.attributeName)||(n.setAttribute(s.attributeName,s.getAttributeOnUpcast(t.viewItem),c),o=!0));o&&l.consume(t.viewItem,s.viewConsumables)}}class Ut extends I{static get pluginName(){return"ListPropertiesUtils"}static get isOfficialPlugin(){return!0}getAllSupportedStyleTypes(){return _e()}getListTypeFromListStyleType(e){return X(e)}getListStyleTypeFromTypeAttribute(e){return Ce(e)}getTypeAttributeFromListStyleType(e){return z(e)}}function xe(s){const{startIndex:e,reversed:t,styles:i}=s;return{styles:$t(i),startIndex:e||!1,reversed:t||!1}}function $t(s){const e={listTypes:["bulleted","numbered"],useAttribute:!1};return s===!0||(s?Array.isArray(s)||typeof s=="string"?e.listTypes=k(s):(e.listTypes=s.listTypes?k(s.listTypes):e.listTypes,e.useAttribute=!!s.useAttribute,s.listStyleTypes&&(e.listStyleTypes=s.listStyleTypes)):e.listTypes=[]),e}const C="default";class Kt extends I{static get requires(){return[P,Ut]}static get pluginName(){return"ListPropertiesEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("list.properties",{styles:!0,startIndex:!1,reversed:!1})}init(){const e=this.editor,t=e.model,i=e.plugins.get(P),n=e.config.get("list.properties"),r=Wt(n);for(const l of r)l.addCommand(e),t.schema.extend("$listItem",{allowAttributes:l.attributeName}),i.registerDowncastStrategy({scope:"list",attributeName:l.attributeName,setAttributeOnDowncast(o,c,a){l.setAttributeOnDowncast(o,c,a)}});e.conversion.for("upcast").add(l=>{for(const o of r)l.on("element:ol",fe(o)),l.on("element:ul",fe(o))}),i.on("checkAttributes:list",(l,{viewElement:o,modelAttributes:c})=>{for(const a of r)a.getAttributeOnUpcast(o)!=c[a.attributeName]&&(l.return=!0,l.stop())}),this.listenTo(e.commands.get("indentList"),"afterExecute",(l,o)=>{t.change(c=>{for(const a of o)for(const u of r)u.appliesToListItem(a)&&c.setAttribute(u.attributeName,u.defaultValue,a)})}),i.on("postFixer",(l,{listNodes:o,writer:c})=>{for(const{node:a}of o)for(const u of r)u.hasValidAttribute(a)||(u.appliesToListItem(a)?c.setAttribute(u.attributeName,u.defaultValue,a):c.removeAttribute(u.attributeName,a),l.return=!0)}),i.on("postFixer",(l,{listNodes:o,writer:c})=>{for(const{node:a,previousNodeInList:u}of o)if(u&&u.getAttribute("listType")==a.getAttribute("listType"))for(const d of r){const{attributeName:f}=d;if(!d.appliesToListItem(a))continue;const m=u.getAttribute(f);a.getAttribute(f)!=m&&(c.setAttribute(f,m,a),l.return=!0)}})}}function Wt(s){const e=[],t=xe(s);if(s.styles){const i=t.styles.useAttribute;e.push({attributeName:"listStyle",defaultValue:C,viewConsumables:{styles:"list-style-type"},addCommand(n){let r=_e();i&&(r=r.filter(l=>!!z(l))),n.commands.add("listStyle",new Mt(n,C,r))},appliesToListItem(n){return n.getAttribute("listType")=="numbered"||n.getAttribute("listType")=="bulleted"},hasValidAttribute(n){if(!this.appliesToListItem(n))return!n.hasAttribute("listStyle");if(!n.hasAttribute("listStyle"))return!1;const r=n.getAttribute("listStyle");return r==C?!0:X(r)==n.getAttribute("listType")},setAttributeOnDowncast(n,r,l){if(r&&r!==C)if(i){const o=z(r);if(o){n.setAttribute("type",o,l);return}}else{n.setStyle("list-style-type",r,l);return}n.removeStyle("list-style-type",l),n.removeAttribute("type",l)},getAttributeOnUpcast(n){const r=n.getStyle("list-style-type");if(r)return Rt(r);const l=n.getAttribute("type");return l?Ce(l):C}})}return s.reversed&&e.push({attributeName:"listReversed",defaultValue:!1,viewConsumables:{attributes:"reversed"},addCommand(i){i.commands.add("listReversed",new Dt(i))},appliesToListItem(i){return i.getAttribute("listType")=="numbered"},hasValidAttribute(i){return this.appliesToListItem(i)==i.hasAttribute("listReversed")},setAttributeOnDowncast(i,n,r){n?i.setAttribute("reversed","reversed",r):i.removeAttribute("reversed",r)},getAttributeOnUpcast(i){return i.hasAttribute("reversed")}}),s.startIndex&&e.push({attributeName:"listStart",defaultValue:1,viewConsumables:{attributes:"start"},addCommand(i){i.commands.add("listStart",new Ot(i))},appliesToListItem(i){return M(i.getAttribute("listType"))},hasValidAttribute(i){return this.appliesToListItem(i)==i.hasAttribute("listStart")},setAttributeOnDowncast(i,n,r){n==0||n>1?i.setAttribute("start",n,r):i.removeAttribute("start",r)},getAttributeOnUpcast(i){const n=i.getAttribute("start");return n>=0?n:1}}),e}class Ee extends ie{children;stylesView=null;additionalPropertiesCollapsibleView=null;startIndexFieldView=null;reversedSwitchButtonView=null;focusTracker=new ee;keystrokes=new te;focusables=new ze;focusCycler;constructor(e,{enabledProperties:t,styleButtonViews:i,styleGridAriaLabel:n}){super(e);const r=["ck","ck-list-properties"];this.children=this.createCollection(),this.focusCycler=new Ge({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),i&&i.length?(this.stylesView=this._createStylesView(i,n),this.children.add(this.stylesView)):r.push("ck-list-properties_without-styles"),(t.startIndex||t.reversed)&&(this._addNumberedListPropertyViews(t),r.push("ck-list-properties_with-numbered-properties")),this.setTemplate({tag:"div",attributes:{class:r},children:this.children})}render(){if(super.render(),this.stylesView){this.focusables.add(this.stylesView),this.focusTracker.add(this.stylesView.element),(this.startIndexFieldView||this.reversedSwitchButtonView)&&(this.focusables.add(this.children.last.buttonView),this.focusTracker.add(this.children.last.buttonView.element));for(const e of this.stylesView.children)this.stylesView.focusTracker.add(e.element);Ze({keystrokeHandler:this.stylesView.keystrokes,focusTracker:this.stylesView.focusTracker,gridItems:this.stylesView.children,numberOfColumns:()=>$e.window.getComputedStyle(this.stylesView.element).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}if(this.startIndexFieldView){this.focusables.add(this.startIndexFieldView),this.focusTracker.add(this.startIndexFieldView.element);const e=t=>t.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}this.reversedSwitchButtonView&&(this.focusables.add(this.reversedSwitchButtonView),this.focusTracker.add(this.reversedSwitchButtonView.element)),this.keystrokes.listenTo(this.element)}focus(){this.focusCycler.focusFirst()}focusLast(){this.focusCycler.focusLast()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createStylesView(e,t){const i=new ie(this.locale);return i.children=i.createCollection(),i.children.addMany(e),i.setTemplate({tag:"div",attributes:{"aria-label":t,class:["ck","ck-list-styles-list"]},children:i.children}),i.children.delegate("execute").to(this),i.focus=function(){for(const n of this.children)if(n instanceof G&&n.isOn){n.focus();return}this.children.first.focus()},i.focusTracker=new ee,i.keystrokes=new te,i.render(),i.keystrokes.listenTo(i.element),i}_addNumberedListPropertyViews(e){const t=this.locale.t,i=[];e.startIndex&&(this.startIndexFieldView=this._createStartIndexField(),i.push(this.startIndexFieldView)),e.reversed&&(this.reversedSwitchButtonView=this._createReversedSwitchButton(),i.push(this.reversedSwitchButtonView)),this.stylesView?(this.additionalPropertiesCollapsibleView=new Je(this.locale,i),this.additionalPropertiesCollapsibleView.set({label:t("List properties"),isCollapsed:!0}),this.additionalPropertiesCollapsibleView.buttonView.bind("isEnabled").toMany(i,"isEnabled",(...n)=>n.some(r=>r)),this.additionalPropertiesCollapsibleView.buttonView.on("change:isEnabled",(n,r,l)=>{l||(this.additionalPropertiesCollapsibleView.isCollapsed=!0)}),this.children.add(this.additionalPropertiesCollapsibleView)):this.children.addMany(i)}_createStartIndexField(){const e=this.locale.t,t=new Qe(this.locale,Xe);return t.set({label:e("Start at"),class:"ck-numbered-list-properties__start-index"}),t.fieldView.set({min:0,step:1,value:1,inputMode:"numeric"}),t.fieldView.on("input",()=>{const i=t.fieldView.element,n=i.valueAsNumber;if(Number.isNaN(n)){t.errorText=e("Invalid start index value.");return}i.checkValidity()?this.fire("listStart",{startIndex:n}):t.errorText=e("Start index must be greater than 0.")}),t}_createReversedSwitchButton(){const e=this.locale.t,t=new et(this.locale);return t.set({withText:!0,label:e("Reversed order"),class:"ck-numbered-list-properties__reversed-order"}),t.delegate("execute").to(this,"listReversed"),t}}class jt extends I{static get pluginName(){return"ListPropertiesUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=e.config.get("list.properties"),n=xe(i),r=n.styles.listTypes;if(r.includes("bulleted")){const l=[{label:t("Toggle the disc list style"),tooltip:t("Disc"),type:"disc",icon:tt},{label:t("Toggle the circle list style"),tooltip:t("Circle"),type:"circle",icon:it},{label:t("Toggle the square list style"),tooltip:t("Square"),type:"square",icon:st}],o=t("Bulleted List"),c=t("Bulleted list styles toolbar"),a="bulletedList";e.ui.componentFactory.add(a,me({editor:e,normalizedConfig:n,parentCommandName:a,buttonLabel:o,buttonIcon:Z,styleGridAriaLabel:c,styleDefinitions:l})),e.ui.componentFactory.add(`menuBar:${a}`,pe({editor:e,normalizedConfig:n,parentCommandName:a,buttonLabel:o,styleGridAriaLabel:c,styleDefinitions:l}))}if(r.includes("numbered")||i.startIndex||i.reversed){const l=[{label:t("Toggle the decimal list style"),tooltip:t("Decimal"),type:"decimal",icon:nt},{label:t("Toggle the decimal with leading zero list style"),tooltip:t("Decimal with leading zero"),type:"decimal-leading-zero",icon:rt},{label:t("Toggle the lower–roman list style"),tooltip:t("Lower–roman"),type:"lower-roman",icon:ot},{label:t("Toggle the upper–roman list style"),tooltip:t("Upper-roman"),type:"upper-roman",icon:lt},{label:t("Toggle the lower–latin list style"),tooltip:t("Lower-latin"),type:"lower-latin",icon:ct},{label:t("Toggle the upper–latin list style"),tooltip:t("Upper-latin"),type:"upper-latin",icon:at}],o=t("Numbered List"),c=t("Numbered list styles toolbar"),a="numberedList";e.ui.componentFactory.add(a,me({editor:e,normalizedConfig:n,parentCommandName:a,buttonLabel:o,buttonIcon:J,styleGridAriaLabel:c,styleDefinitions:l})),r.includes("numbered")&&e.ui.componentFactory.add(`menuBar:${a}`,pe({editor:e,normalizedConfig:n,parentCommandName:a,buttonLabel:o,styleGridAriaLabel:c,styleDefinitions:l}))}}}function me({editor:s,normalizedConfig:e,parentCommandName:t,buttonLabel:i,buttonIcon:n,styleGridAriaLabel:r,styleDefinitions:l}){const o=s.commands.get(t);return c=>{const a=We(c,je),u=a.buttonView;return a.bind("isEnabled").to(o),a.class="ck-list-styles-dropdown",u.on("execute",()=>{s.execute(t),s.editing.view.focus()}),u.set({label:i,icon:n,tooltip:!0,isToggleable:!0}),u.bind("isOn").to(o,"value",d=>!!d),a.once("change:isOpen",()=>{const d=qt({editor:s,normalizedConfig:e,dropdownView:a,parentCommandName:t,styleGridAriaLabel:r,styleDefinitions:l});a.panelView.children.add(d)}),a.on("execute",()=>{s.editing.view.focus()}),a}}function Be({editor:s,listStyleCommand:e,parentCommandName:t}){const i=s.locale,n=s.commands.get(t);return({label:r,type:l,icon:o,tooltip:c})=>{const a=new G(i);return a.set({label:r,icon:o,tooltip:c}),a.bind("isOn").to(e,"value",u=>u===l),a.on("execute",()=>{n.value?e.value===l?s.execute(t):e.value!==l&&s.execute("listStyle",{type:l}):s.model.change(()=>{s.execute("listStyle",{type:l})})}),a}}function qt({editor:s,normalizedConfig:e,dropdownView:t,parentCommandName:i,styleDefinitions:n,styleGridAriaLabel:r}){const l=s.locale,o={...e,...i!="numberedList"?{startIndex:!1,reversed:!1}:null},c=i.replace("List","");let a=null;if(e.styles.listTypes.includes(c)){const d=s.commands.get("listStyle"),f=Be({editor:s,parentCommandName:i,listStyleCommand:d}),m=e.styles.listStyleTypes;let h=n;if(m){const g=m[c];g&&(h=n.filter(F=>g.includes(F.type)))}const w=Pe(d);a=h.filter(w).map(f)}const u=new Ee(l,{styleGridAriaLabel:r,enabledProperties:o,styleButtonViews:a});if(e.styles.listTypes.includes(c)&&Ye(t,()=>u.stylesView.children.find(d=>d.isOn)),o.startIndex){const d=s.commands.get("listStart");u.startIndexFieldView.bind("isEnabled").to(d),u.startIndexFieldView.fieldView.bind("value").to(d),u.on("listStart",(f,m)=>s.execute("listStart",m))}if(o.reversed){const d=s.commands.get("listReversed");u.reversedSwitchButtonView.bind("isEnabled").to(d),u.reversedSwitchButtonView.bind("isOn").to(d,"value",f=>!!f),u.on("listReversed",()=>{const f=d.value;s.execute("listReversed",{reversed:!f})})}return u.delegate("execute").to(t),u}function pe({editor:s,normalizedConfig:e,parentCommandName:t,buttonLabel:i,styleGridAriaLabel:n,styleDefinitions:r}){return l=>{const o=new qe(l),c=s.commands.get(t),a=s.commands.get("listStyle"),u=Pe(a),d=Be({editor:s,parentCommandName:t,listStyleCommand:a}),f=e.styles.listStyleTypes;let m=r;if(f){const g=c.type,F=f[g];F&&(m=r.filter(Ve=>F.includes(Ve.type)))}const h=m.filter(u).map(d),w=new Ee(l,{styleGridAriaLabel:n,enabledProperties:{...e,startIndex:!1,reversed:!1},styleButtonViews:h});return w.delegate("execute").to(o),o.buttonView.set({label:i,icon:t==="bulletedList"?Z:J}),o.panelView.children.add(w),o.bind("isEnabled").to(c,"isEnabled"),o.on("execute",()=>{s.editing.view.focus()}),o}}function Pe(s){return typeof s.isStyleTypeSupported=="function"?e=>s.isStyleTypeSupported(e.type):()=>!0}class di extends I{static get requires(){return[Kt,jt]}static get pluginName(){return"ListProperties"}static get isOfficialPlugin(){return!0}}class Ht extends T{constructor(e){super(e),this.on("execute",()=>{this.refresh()},{priority:"highest"})}refresh(){const e=this._getSelectedItems();this.value=this._getValue(e),this.isEnabled=!!e.length}execute(e={}){this.editor.model.change(t=>{const i=this._getSelectedItems(),n=e.forceValue===void 0?!this._getValue(i):e.forceValue;for(const r of i)n?t.setAttribute("todoListChecked",!0,r):t.removeAttribute("todoListChecked",r)})}_getValue(e){return e.every(t=>t.getAttribute("todoListChecked"))}_getSelectedItems(){const e=this.editor.model,t=e.schema,i=e.document.selection.getFirstRange(),n=i.start.parent,r=[];t.checkAttribute(n,"todoListChecked")&&r.push(..._(n));for(const l of i.getItems({shallow:!0}))t.checkAttribute(l,"todoListChecked")&&!r.includes(l)&&r.push(..._(l));return r}}class Yt extends dt{domEventType=["change"];onDomEvent(e){if(e.target){const t=this.view.domConverter.mapDomToView(e.target);t&&t.is("element","input")&&t.getAttribute("type")=="checkbox"&&t.findAncestor({classes:"todo-list__label"})&&this.fire("todoCheckboxChange",e)}}}const zt=Me("Ctrl+Enter");class Gt extends I{static get pluginName(){return"TodoListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[P]}init(){const e=this.editor,t=e.model,i=e.editing,n=e.plugins.get(P),l=e.config.get("list.multiBlock")?"paragraph":"listItem";e.commands.add("todoList",new x(e,"todo")),e.commands.add("checkTodoList",new Ht(e)),i.view.addObserver(Yt),t.schema.extend("$listItem",{allowAttributes:"todoListChecked"}),t.schema.addAttributeCheck(o=>{const c=o.last;if(!c.getAttribute("listItemId")||c.getAttribute("listType")!="todo")return!1},"todoListChecked"),e.conversion.for("upcast").add(o=>{o.on("element:input",Jt()),o.on("element:li",Zt(),{priority:"low"}),o.on("element:label",W({name:"label",classes:"todo-list__label"})),o.on("element:label",W({name:"label",classes:["todo-list__label","todo-list__label_without-description"]})),o.on("element:span",W({name:"span",classes:"todo-list__label__description"})),o.on("element:ul",Qt({name:"ul",classes:"todo-list"}))}),e.conversion.for("downcast").elementToElement({model:l,view:(o,{writer:c})=>{if(O(o,n.getListAttributeNames()))return c.createContainerElement("span",{class:"todo-list__label__description"})},converterPriority:"highest"}),n.registerDowncastStrategy({scope:"list",attributeName:"listType",setAttributeOnDowncast(o,c,a){c=="todo"?o.addClass("todo-list",a):o.removeClass("todo-list",a)}}),n.registerDowncastStrategy({scope:"itemMarker",attributeName:"todoListChecked",createElement(o,c,{dataPipeline:a}){if(c.getAttribute("listType")!="todo")return null;const u=o.createUIElement("input",{type:"checkbox",...c.getAttribute("todoListChecked")?{checked:"checked"}:null,...a?{disabled:"disabled"}:{tabindex:"-1"}});if(a)return u;const d=o.createContainerElement("span",{contenteditable:"false"},u);return d.getFillerOffset=()=>null,d},canWrapElement(o){return O(o,n.getListAttributeNames())},createWrapperElement(o,c,{dataPipeline:a}){const u=["todo-list__label"];return O(c,n.getListAttributeNames())||u.push("todo-list__label_without-description"),o.createAttributeElement(a?"label":"span",{class:u.join(" ")})}}),n.on("checkElement",(o,{modelElement:c,viewElement:a})=>{const u=O(c,n.getListAttributeNames());a.hasClass("todo-list__label__description")!=u&&(o.return=!0,o.stop())}),n.on("checkElement",(o,{modelElement:c,viewElement:a})=>{const u=c.getAttribute("listType")=="todo"&&A(c);let d=!1;const f=e.editing.view.createPositionBefore(a).getWalker({direction:"backward"});for(const{item:m}of f){if(m.is("element")&&e.editing.mapper.toModelElement(m))break;m.is("element","input")&&m.getAttribute("type")=="checkbox"&&(d=!0)}d!=u&&(o.return=!0,o.stop())}),n.on("postFixer",(o,{listNodes:c,writer:a})=>{for(const{node:u,previousNodeInList:d}of c){if(!d||d.getAttribute("listItemId")!=u.getAttribute("listItemId"))continue;const f=d.hasAttribute("todoListChecked"),m=u.hasAttribute("todoListChecked");m&&!f?(a.removeAttribute("todoListChecked",u),o.return=!0):!m&&f&&(a.setAttribute("todoListChecked",!0,u),o.return=!0)}}),t.document.registerPostFixer(o=>{const c=t.document.differ.getChanges();let a=!1;for(const u of c)if(u.type=="attribute"&&u.attributeKey=="listType"){const d=u.range.start.nodeAfter;u.attributeOldValue=="todo"&&d.hasAttribute("todoListChecked")&&(o.removeAttribute("todoListChecked",d),a=!0)}else if(u.type=="insert"&&u.name!="$text")for(const{item:d}of o.createRangeOn(u.position.nodeAfter))d.is("element")&&d.getAttribute("listType")!="todo"&&d.hasAttribute("todoListChecked")&&(o.removeAttribute("todoListChecked",d),a=!0);return a}),this.listenTo(i.view.document,"keydown",(o,c)=>{Re(c)===zt&&(e.execute("checkTodoList"),o.stop())},{priority:"high"}),this.listenTo(i.view.document,"todoCheckboxChange",(o,c)=>{const a=c.target;if(!a||!a.is("element","input"))return;const u=i.view.createPositionAfter(a),f=i.mapper.toModelPosition(u).parent;f&&p(f)&&f.getAttribute("listType")=="todo"&&this._handleCheckmarkChange(f)}),this.listenTo(i.view.document,"arrowKey",ei(t,e.locale),{context:"$text"}),this.listenTo(i.mapper,"viewToModelPosition",(o,c)=>{const a=c.viewPosition.parent,u=a.is("attributeElement","li")&&c.viewPosition.offset==0,d=he(a)&&c.viewPosition.offset<=1,f=a.is("element","span")&&a.getAttribute("contenteditable")=="false"&&he(a.parent);if(!u&&!d&&!f)return;const m=c.modelPosition.nodeAfter;m&&m.getAttribute("listType")=="todo"&&(c.modelPosition=t.createPositionAt(m,0))},{priority:"low"}),this._initAriaAnnouncements()}_handleCheckmarkChange(e){const t=this.editor,i=t.model,n=Array.from(i.document.selection.getRanges());i.change(r=>{r.setSelection(e,"end"),t.execute("checkTodoList"),r.setSelection(n)})}_initAriaAnnouncements(){const{model:e,ui:t,t:i}=this.editor;let n=null;t&&e.document.selection.on("change:range",()=>{const r=e.document.selection.focus.parent,l=ge(n),o=ge(r);l&&!o?t.ariaLiveAnnouncer.announce(i("Leaving a to-do list")):!l&&o&&t.ariaLiveAnnouncer.announce(i("Entering a to-do list")),n=r})}}function Zt(){return(s,e,t)=>{const{writer:i,schema:n}=t;if(!e.modelRange)return;const r=Array.from(e.modelRange.getItems({shallow:!0})).filter(l=>l.getAttribute("listType")==="todo"&&n.checkAttribute(l,"listItemId")).reduce((l,o)=>{const c=o.getAttribute("listItemId");return l.has(c)||l.set(c,_(o)),l},new Map);for(const[,l]of r.entries())if(l.some(o=>o.getAttribute("todoListChecked")))for(const o of l)i.setAttribute("todoListChecked",!0,o)}}function Jt(){return(s,e,t)=>{const i=e.modelCursor,n=i.parent,r=e.viewItem;if(!t.consumable.test(r,{name:!0})||r.getAttribute("type")!="checkbox"||!i.isAtStart||!n.hasAttribute("listType"))return;t.consumable.consume(r,{name:!0});const l=t.writer;l.setAttribute("listType","todo",n),e.viewItem.hasAttribute("checked")&&l.setAttribute("todoListChecked",!0,n),e.modelRange=l.createRange(i)}}function W(s){const e=new be(s);return(t,i,n)=>{const r=e.match(i.viewItem);r&&n.consumable.consume(i.viewItem,r.match)&&Object.assign(i,n.convertChildren(i.viewItem,i.modelCursor))}}function Qt(s){const e=new be(s);return(t,i,n)=>{const r=e.match(i.viewItem);if(!r)return;const l=r.match;l.name=!1,n.consumable.consume(i.viewItem,l)}}function O(s,e){return(s.is("element","paragraph")||s.is("element","listItem"))&&s.getAttribute("listType")=="todo"&&A(s)&&Xt(s,e)}function Xt(s,e){for(const t of s.getAttributeKeys())if(!t.startsWith("selection:")&&!e.includes(t))return!1;return!0}function ei(s,e){return(t,i)=>{const n=De(i.keyCode,e.contentLanguageDirection),r=s.schema,l=s.document.selection;if(!l.isCollapsed)return;const o=l.getFirstPosition(),c=o.parent;if(n=="right"&&o.isAtEnd){const a=r.getNearestSelectionRange(s.createPositionAfter(c),"forward");if(!a)return;const u=a.start.parent;u&&p(u)&&u.getAttribute("listType")=="todo"&&(s.change(d=>d.setSelection(a)),i.preventDefault(),i.stopPropagation(),t.stop())}else if(n=="left"&&o.isAtStart&&p(c)&&c.getAttribute("listType")=="todo"){const a=r.getNearestSelectionRange(s.createPositionBefore(c),"backward");if(!a)return;s.change(u=>u.setSelection(a)),i.preventDefault(),i.stopPropagation(),t.stop()}}}function he(s){return!!s&&s.is("attributeElement")&&s.hasClass("todo-list__label")}function ge(s){return!s||!s.is("element","paragraph")&&!s.is("element","listItem")?!1:s.getAttribute("listType")=="todo"}class ti extends I{static get pluginName(){return"TodoListUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.t;Y(this.editor,"todoList",e("To-do List"),ut)}}class fi extends I{static get requires(){return[Gt,ti]}static get pluginName(){return"TodoList"}static get isOfficialPlugin(){return!0}}export{ui as List,x as ListCommand,P as ListEditing,ne as ListIndentCommand,di as ListProperties,Kt as ListPropertiesEditing,jt as ListPropertiesUI,Ut as ListPropertiesUtils,Ft as ListUI,bt as ListUtils,fi as TodoList,Gt as TodoListEditing,ti as TodoListUI};
@@ -1,6 +0,0 @@
1
- import{Plugin as h}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{HtmlDataProcessor as d}from"../../../../../@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{marked as m}from"../../../../../marked@4.0.12/node_modules/marked/lib/marked.esm.js";import f from"../../../../../turndown@7.2.0/node_modules/turndown/lib/turndown.browser.es.js";import{gfm as g}from"../../../../../turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.js";import{ClipboardPipeline as w}from"../../../../../@ckeditor_ckeditor5-clipboard@45.2.2/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";/**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */class _{_parser;_options={gfm:!0,breaks:!0,tables:!0,xhtml:!0,headerIds:!1};constructor(){m.use({tokenizer:{autolink:()=>null,url:()=>null},renderer:{checkbox(...e){return Object.getPrototypeOf(this).checkbox.call(this,...e).trimRight()},code(...e){return Object.getPrototypeOf(this).code.call(this,...e).replace(`
5
- </code>`,"</code>")}}}),this._parser=m}parse(e){return this._parser.parse(e,this._options)}}const k=new RegExp(/\b(?:(?:https?|ftp):\/\/|www\.)/.source+/(?![-_])(?:[-_a-z0-9\u00a1-\uffff]{1,63}\.)+(?:[a-z\u00a1-\uffff]{2,63})/.source+/(?:[^\s<>]*)/.source,"gi");class T extends f{escape(e){const t=super.escape;function r(a){return a=t(a),a=a.replace(/</g,"\\<"),a}let n="",s=0;for(const a of this._matchAutolink(e)){const o=a.index;o>s&&(n+=r(e.substring(s,o)));const l=a[0];n+=l,s=o+l.length}return s<e.length&&(n+=r(e.substring(s,e.length))),n}*_matchAutolink(e){for(const t of e.matchAll(k)){const r=t[0],n=this._autolinkFindEnd(r);yield Object.assign([r.substring(0,n)],{index:t.index})}}_autolinkFindEnd(e){let t=e.length;for(;t>0;){const r=e[t-1];if(`?!.,:*_~'"`.includes(r))t--;else if(r==")"){let n=0;for(let s=0;s<t;s++)e[s]=="("?n++:e[s]==")"&&n--;if(n<0)t--;else break}else break}return t}}class P{_parser;constructor(){this._parser=this._createParser()}parse(e){return this._parser.turndown(e)}keep(e){this._parser.keep(e)}_createParser(){const e=new T({codeBlockStyle:"fenced",hr:"---",headingStyle:"atx"});return e.use([g,this._todoList]),e}_todoList(e){e.addRule("taskListItems",{filter(t){return t.type==="checkbox"&&(t.parentNode.nodeName==="LI"||t.parentNode.parentNode.nodeName==="LI")},replacement(t,r){return(r.checked?"[x]":"[ ]")+" "}})}}class p{_htmlDP;_markdown2html;_html2markdown;constructor(e){this._htmlDP=new d(e),this._markdown2html=new _,this._html2markdown=new P}keepHtml(e){this._html2markdown.keep([e])}toView(e){const t=this._markdown2html.parse(e);return this._htmlDP.toView(t)}toData(e){const t=this._htmlDP.toData(e);return this._html2markdown.parse(t)}registerRawContentMatcher(e){this._htmlDP.registerRawContentMatcher(e)}useFillerType(){}}class F extends h{constructor(e){super(e),e.data.processor=new p(e.data.viewDocument)}static get pluginName(){return"Markdown"}static get isOfficialPlugin(){return!0}}const b=["SPAN","BR","PRE","CODE"];class M extends h{_gfmDataProcessor;constructor(e){super(e),this._gfmDataProcessor=new p(e.data.viewDocument)}static get pluginName(){return"PasteFromMarkdownExperimental"}static get isOfficialPlugin(){return!0}static get requires(){return[w]}init(){const e=this.editor,r=e.editing.view.document,n=e.plugins.get("ClipboardPipeline");let s=!1;this.listenTo(r,"keydown",(a,o)=>{s=o.shiftKey}),this.listenTo(n,"inputTransformation",(a,o)=>{if(s)return;const l=o.dataTransfer.getData("text/html");if(!l){const u=o.dataTransfer.getData("text/plain");o.content=this._gfmDataProcessor.toView(u);return}const c=this._parseMarkdownFromHtml(l);c&&(o.content=this._gfmDataProcessor.toView(c))})}_parseMarkdownFromHtml(e){const t=this._removeOsSpecificTags(e);if(!this._containsOnlyAllowedFirstLevelTags(t))return null;const r=this._removeFirstLevelWrapperTagsAndBrs(t);return this._containsAnyRemainingHtmlTags(r)?null:this._replaceHtmlReservedEntitiesWithCharacters(r)}_removeOsSpecificTags(e){return e.replace(/^<meta\b[^>]*>/,"").trim().replace(/^<html>/,"").replace(/<\/html>$/,"").trim().replace(/^<body>/,"").replace(/<\/body>$/,"").trim().replace(/^<!--StartFragment-->/,"").replace(/<!--EndFragment-->$/,"").trim()}_containsOnlyAllowedFirstLevelTags(e){const t=new DOMParser,{body:r}=t.parseFromString(e,"text/html");return Array.from(r.children).map(s=>s.tagName).every(s=>b.includes(s))}_removeFirstLevelWrapperTagsAndBrs(e){const t=new DOMParser,{body:r}=t.parseFromString(e,"text/html"),n=r.querySelectorAll("br");for(const a of n)a.replaceWith(`
6
- `);const s=r.querySelectorAll(":scope > *");for(const a of s){const o=a.cloneNode(!0);a.replaceWith(...o.childNodes)}return r.innerHTML}_containsAnyRemainingHtmlTags(e){return e.includes("<")}_replaceHtmlReservedEntitiesWithCharacters(e){return e.replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&nbsp;/g," ")}}export{p as GFMDataProcessor,F as Markdown,_ as MarkdownToHtml,M as PasteFromMarkdownExperimental};
@@ -1,4 +0,0 @@
1
- import"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{keyCodes as r}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import"../../../../../@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */r.arrowup,r.arrowdown,r.esc;r.enter,r.tab;
@@ -1,4 +0,0 @@
1
- import{Plugin as l,Command as d}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Widget as m,toWidget as p,findOptimalInsertionRange as k}from"../../../../../@ckeditor_ckeditor5-widget@45.2.2/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{IconPageBreak as B}from"../../../../../@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as f,MenuBarMenuListItemButtonView as h}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */class P extends d{refresh(){const e=this.editor.model,t=e.schema,a=e.document.selection;this.isEnabled=b(a,t,e)}execute(){const e=this.editor.model;e.change(t=>{const a=t.createElement("pageBreak");e.insertObject(a,null,null,{setSelection:"after"})})}}function b(o,e,t){const a=E(o,t);return e.checkChild(a,"pageBreak")}function E(o,e){const a=k(o,e).start.parent;return a.isEmpty&&!a.is("element","$root")?a.parent:a}class v extends l{static get pluginName(){return"PageBreakEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema,a=e.t,s=e.conversion;t.register("pageBreak",{inheritAllFrom:"$blockObject"}),s.for("dataDowncast").elementToStructure({model:"pageBreak",view:(r,{writer:n})=>n.createContainerElement("div",{class:"page-break",style:"page-break-after: always"},n.createContainerElement("span",{style:"display: none"}))}),s.for("editingDowncast").elementToStructure({model:"pageBreak",view:(r,{writer:n})=>{const c=a("Page break"),i=n.createContainerElement("div"),g=n.createRawElement("span",{class:"page-break__label"},function(u){u.innerText=a("Page break")});return n.addClass("page-break",i),n.insert(n.createPositionAt(i,0),g),y(i,n,c)}}),s.for("upcast").elementToElement({view:r=>{const n=r.getStyle("page-break-before")=="always",c=r.getStyle("page-break-after")=="always";if(!n&&!c)return null;if(r.childCount==1){const i=r.getChild(0);if(!i.is("element","span")||i.getStyle("display")!="none")return null}else if(r.childCount>1)return null;return{name:!0}},model:"pageBreak",converterPriority:"high"}),e.commands.add("pageBreak",new P(e))}}function y(o,e,t){return e.setCustomProperty("pageBreak",!0,o),p(o,e,{label:t})}class w extends l{static get pluginName(){return"PageBreakUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("pageBreak",()=>{const t=this._createButton(f);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:pageBreak",()=>this._createButton(h))}_createButton(e){const t=this.editor,a=t.locale,s=t.commands.get("pageBreak"),r=new e(t.locale),n=a.t;return r.set({label:n("Page break"),icon:B}),r.bind("isEnabled").to(s,"isEnabled"),this.listenTo(r,"execute",()=>{t.execute("pageBreak"),t.editing.view.focus()}),r}}class O extends l{static get requires(){return[v,w,m]}static get pluginName(){return"PageBreak"}static get isOfficialPlugin(){return!0}}export{O as PageBreak,v as PageBreakEditing,w as PageBreakUI};
@@ -1,28 +0,0 @@
1
- import{Plugin as w}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{ClipboardPipeline as M}from"../../../../../@ckeditor_ckeditor5-clipboard@45.2.2/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";import{UpcastWriter as y,ViewDocument as A,DomConverter as L,Matcher as b}from"../../../../../@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- *//**
5
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
- */function T(e,t){const n=[];for(const s of t.createRangeIn(e)){const i=s.item;i.is("element","a")&&!i.hasAttribute("href")&&(i.hasAttribute("id")||i.hasAttribute("name"))&&n.push(i)}for(const s of n){const i=s.parent.getChildIndex(s)+1,r=s.getChildren();t.insertChild(i,r,s.parent)}}/**
8
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
9
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
10
- */function E(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 x(e){return e!==void 0&&e.endsWith("px")}function h(e){return Math.round(e)+"px"}function P(e,t,n){if(!e.childCount)return;const s=new y(e.document),i=W(e,s);if(!i.length)return;const r={},l=[];for(const o of i)if(o.indent!==void 0){k(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=O(m,s,n);if(x(o.marginLeft)&&(c==0||x(l[c-1].marginLeft))){let u=o.marginLeft;c>0&&(u=h(parseFloat(u)-parseFloat(l[c-1].marginLeft))),s.setStyle("padding-left",u,d)}if(l.length==0){const u=o.element.parent,g=u.getChildIndex(o.element)+1;s.insertChild(g,d,u)}else{const u=l[c-1].listItemElements;s.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:s.createElement("li");s.appendChild(f,l[c].listElement),l[c].listItemElements.push(f),c==0&&o.id!==void 0&&r[a]++,o.element!=f&&s.appendChild(o.element,f),j(o.element,s),s.removeStyle("text-indent",o.element),s.removeStyle("margin-left",o.element)}else{const a=l.find(c=>c.marginLeft==o.marginLeft);if(a){const c=a.listItemElements;s.appendChild(o.element,c[c.length-1]),s.removeStyle("margin-left",o.element)}else l.length=0}}function R(e,t){for(const n of t.createRangeIn(e)){const s=n.item;if(s.is("element","li")){const i=s.getChild(0);i&&i.is("element","p")&&t.unwrapElement(i)}}}function W(e,t){const n=t.createRangeIn(e),s=[],i=new Set;for(const r of n.getItems()){if(!r.is("element")||!r.name.match(/^(p|h\d+|li|div)$/))continue;let l=_(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=z(r);s.push({element:r,id:o.id,order:o.order,indent:o.indent,marginLeft:l}),l!==void 0&&i.add(l)}else i.clear()}return s}function k(e){const t=e.element.previousSibling;return v(t||e.element.parent)}function v(e){return e.is("element","ol")||e.is("element","ul")}function $(e,t){const n=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi"),s=/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=n.exec(t);let m="decimal",d="ol",u=null;if(f&&f[1]){const g=s.exec(f[1]);if(g&&g[1]&&(m=g[1].trim(),d=m!=="bullet"&&m!=="image"?"ol":"ul"),m==="bullet"){const p=D(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:B(m),isLegalStyleList:c}}function D(e){if(e.name=="li"&&e.parent.name=="ul"&&e.parent.hasAttribute("type"))return e.parent.getAttribute("type");const t=N(e);if(!t)return null;const n=t._data;return n==="o"?"circle":n==="·"?"disc":n==="§"?"square":null}function N(e){if(e.getChild(0).is("$text"))return null;for(const t of e.getChildren()){if(!t.is("element","span"))continue;const n=t.getChild(0);if(n)return n.is("$text")?n:n.getChild(0)}/* istanbul ignore next -- @preserve */return null}function B(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 O(e,t,n){const s=t.createElement(e.type);return e.style&&t.setStyle("list-style-type",e.style,s),e.startIndex&&e.startIndex>1&&t.setAttribute("start",e.startIndex,s),e.isLegalStyleList&&n&&t.addClass("legal-list",s),s}function z(e){const t=e.getStyle("mso-list");if(t===void 0)return{};const n=t.match(/(^|\s{1,100})l(\d+)/i),s=t.match(/\s{0,100}lfo(\d+)/i),i=t.match(/\s{0,100}level(\d+)/i);return n&&s&&i?{id:n[2],order:s[1],indent:parseInt(i[1])}:{indent:1}}function j(e,t){const n=new b({name:"span",styles:{"mso-list":"Ignore"}}),s=t.createRangeIn(e);for(const i of s)i.type==="elementStart"&&n.match(i.item)&&t.remove(i.item)}function _(e){const t=e.getStyle("margin-left");return t===void 0||t.endsWith("px")?t:E(t)}function F(e,t){if(!e.childCount)return;const n=new y(e.document),s=V(e,n);q(s,e,n),U(s,e,n),G(e,n);const i=X(e,n);i.length&&K(i,J(t),n)}function H(e){return btoa(e.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function V(e,t){const n=t.createRangeIn(e),s=new b({name:/v:(.+)/}),i=[];for(const r of n){if(r.type!="elementStart")continue;const l=r.item,o=l.previousSibling,a=o&&o.is("element")?o.name:null,c=["Chart"],f=s.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 q(e,t,n){const s=n.createRangeIn(t),i=new b({name:"img"}),r=[];for(const l of s)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)n.remove(l)}function G(e,t){const n=t.createRangeIn(e),s=new b({name:/v:(.+)/}),i=[];for(const r of n)r.type=="elementStart"&&s.match(r.item)&&i.push(r.item);for(const r of i)t.remove(r)}function U(e,t,n){const s=n.createRangeIn(t),i=[];for(const o of s)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=n.createElement("img",a);n.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 X(e,t){const n=t.createRangeIn(e),s=new b({name:"img"}),i=[];let r=0;for(const l of n)l.item.is("element")&&s.match(l.item)&&(l.item.getAttribute("src").startsWith("file://")&&i.push({element:l.item,imageIndex:r}),r++);return i}function J(e){if(!e)return[];const t=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+t.source+"))([\\da-fA-F\\s]+)\\}","g"),s=e.match(n),i=[];if(s)for(const r of s){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 K(e,t,n){for(let s=0;s<e.length;s++){const{element:i,imageIndex:r}=e[s],l=t[r];if(l){const o=`data:${l.type};base64,${H(l.hex)}`;n.setAttribute("src",o,i)}}}function Q(e){const t=[],n=new y(e.document);for(const{item:s}of n.createRangeIn(e))if(s.is("element")){for(const i of s.getClassNames())/\bmso/gi.exec(i)&&n.removeClass(i,s);for(const i of s.getStyleNames())/\bmso/gi.exec(i)&&n.removeStyle(i,s);(s.is("element","w:sdt")||s.is("element","w:sdtpr")&&s.isEmpty||s.is("element","o:p")&&s.isEmpty)&&t.push(s)}for(const s of t){const i=s.parent,r=i.getChildIndex(s);n.insertChild(r,s.getChildren(),i),n.remove(s)}}function Y(e,t){for(const n of t.createRangeIn(e).getItems()){if(!n.is("element","table")&&!n.is("element","td")&&!n.is("element","th"))continue;const s=["left","top","right","bottom"];if(s.every(r=>!n.hasStyle(`border-${r}-style`)))t.setStyle("border-style","none",n);else for(const r of s)n.hasStyle(`border-${r}-style`)||t.setStyle(`border-${r}-style`,"none",n);const i=["width","height",...s.map(r=>`border-${r}-width`),...s.map(r=>`padding-${r}`)];for(const r of i)n.hasStyle(r)&&t.setStyle(r,E(n.getStyle(r)),n)}}const Z=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,ee=/xmlns:o="urn:schemas-microsoft-com/i;class te{document;hasMultiLevelListPlugin;constructor(t,n=!1){this.document=t,this.hasMultiLevelListPlugin=n}isActive(t){return Z.test(t)||ee.test(t)}execute(t){const n=new y(this.document),{body:s,stylesString:i}=t._parsedData;T(s,n),P(s,i,this.hasMultiLevelListPlugin),F(s,t.dataTransfer.getData("text/rtf")),Y(s,n),Q(s),t.content=s}}/**
11
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
12
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
13
- */function ne(e,t){for(const n of e.getChildren())if(n.is("element","b")&&n.getStyle("font-weight")==="normal"){const s=e.getChildIndex(n);t.remove(n),t.insertChild(s,n.getChildren(),e)}}function se(e,t){const n=new A(t.document.stylesProcessor),s=new L(n,{renderingMode:"data"}),i=s.blockElements,r=s.inlineObjectElements,l=[];for(const o of t.createRangeIn(e)){const a=o.item;if(a.is("element","br")){const c=S(a,"forward",t,{blockElements:i,inlineObjectElements:r}),f=S(a,"backward",t,{blockElements:i,inlineObjectElements:r}),m=I(c,i);(I(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 S(e,t,n,{blockElements:s,inlineObjectElements:i}){let r=n.createPositionAt(e,t=="forward"?"after":"before");return r=r.getLastMatchingPosition(({item:l})=>l.is("element")&&!s.includes(l.name)&&!i.includes(l.name),{direction:t}),t=="forward"?r.nodeAfter:r.nodeBefore}function I(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const ie=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class oe{document;constructor(t){this.document=t}isActive(t){return ie.test(t)}execute(t){const n=new y(this.document),{body:s}=t._parsedData;ne(s,n),R(s,n),se(s,n),t.content=s}}/**
14
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
15
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
16
- */function re(e,t){for(const n of e.getChildren())n.is("element","table")&&n.hasAttribute("xmlns")&&t.removeAttribute("xmlns",n)}/**
17
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
18
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
19
- */function le(e,t){for(const n of e.getChildren())if(n.is("element","google-sheets-html-origin")){const s=e.getChildIndex(n);t.remove(n),t.insertChild(s,n.getChildren(),e)}}/**
20
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
21
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
22
- */function ce(e,t){for(const n of e.getChildren())n.is("element","table")&&n.getStyle("width")==="0px"&&t.removeStyle("width",n)}/**
23
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
24
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
25
- */function ae(e,t){for(const n of Array.from(e.getChildren()))n.is("element","style")&&t.remove(n)}const me=/<google-sheets-html-origin/i;class fe{document;constructor(t){this.document=t}isActive(t){return me.test(t)}execute(t){const n=new y(this.document),{body:s}=t._parsedData;le(s,n),re(s,n),ce(s,n),ae(s,n),t.content=s}}/**
26
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
27
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
28
- */function ue(e){return C(C(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 de(e){e.querySelectorAll("span[style*=spacerun]").forEach(t=>{const n=t,s=n.innerText.length||0;n.innerText=Array(s+1).join("  ").substr(0,s)})}function C(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(t,n)=>n.length===1?" ":Array(n.length+1).join("  ").substr(0,n.length))}function ge(e,t){const n=new DOMParser;e=e.replace(/<!--\[if gte vml 1]>/g,""),e=e.replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,"");const s=ue(ye(e)),i=n.parseFromString(s,"text/html");de(i);const r=i.body.innerHTML,l=pe(i,t),o=he(i);return{body:l,bodyString:r,styles:o.styles,stylesString:o.stylesString}}function pe(e,t){const n=new A(t),s=new L(n,{renderingMode:"data"}),i=e.createDocumentFragment(),r=e.body.childNodes;for(;r.length>0;)i.appendChild(r[0]);return s.domToView(i,{skipComments:!0})}function he(e){const t=[],n=[],s=Array.from(e.getElementsByTagName("style"));for(const i of s)i.sheet&&i.sheet.cssRules&&i.sheet.cssRules.length&&(t.push(i.sheet),n.push(i.innerHTML));return{styles:t,stylesString:n.join(" ")}}function ye(e){const t="</body>",n="</html>",s=e.indexOf(t);if(s<0)return e;const i=e.indexOf(n,s+t.length);return e.substring(0,s+t.length)+(i>=0?e.substring(i):"")}class Se extends w{static get pluginName(){return"PasteFromOffice"}static get isOfficialPlugin(){return!0}static get requires(){return[M]}init(){const t=this.editor,n=t.plugins.get("ClipboardPipeline"),s=t.editing.view.document,i=[],r=this.editor.plugins.has("MultiLevelList");i.push(new te(s,r)),i.push(new oe(s)),i.push(new fe(s)),n.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=ge(c,s.stylesProcessor)),f.execute(o),o._isTransformedWithPasteFromOffice=!0)},{priority:"high"})}}export{te as MSWordNormalizer,Se as PasteFromOffice,ge as parseHtml};
@@ -1,4 +0,0 @@
1
- import{Plugin as a,Command as u}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconRemoveFormat as g}from"../../../../../@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as l,MenuBarMenuListItemButtonView as d}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{first as c}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
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};