@ckeditor/ckeditor5-find-and-replace 47.3.0 → 47.4.0-alpha.0

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 (333) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/find-and-replace.js +1 -1
  3. package/dist/index-content.css +1 -1
  4. package/dist/index-editor.css +1 -1
  5. package/dist/index.css +5 -5
  6. package/dist/index.css.map +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/translations/af.d.ts +1 -1
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.d.ts +1 -1
  13. package/dist/translations/ar.js +1 -1
  14. package/dist/translations/ar.umd.js +1 -1
  15. package/dist/translations/ast.d.ts +1 -1
  16. package/dist/translations/ast.js +1 -1
  17. package/dist/translations/ast.umd.js +1 -1
  18. package/dist/translations/az.d.ts +1 -1
  19. package/dist/translations/az.js +1 -1
  20. package/dist/translations/az.umd.js +1 -1
  21. package/dist/translations/be.d.ts +1 -1
  22. package/dist/translations/be.js +1 -1
  23. package/dist/translations/be.umd.js +1 -1
  24. package/dist/translations/bg.d.ts +1 -1
  25. package/dist/translations/bg.js +1 -1
  26. package/dist/translations/bg.umd.js +1 -1
  27. package/dist/translations/bn.d.ts +1 -1
  28. package/dist/translations/bn.js +1 -1
  29. package/dist/translations/bn.umd.js +1 -1
  30. package/dist/translations/bs.d.ts +1 -1
  31. package/dist/translations/bs.js +1 -1
  32. package/dist/translations/bs.umd.js +1 -1
  33. package/dist/translations/ca.d.ts +1 -1
  34. package/dist/translations/ca.js +1 -1
  35. package/dist/translations/ca.umd.js +1 -1
  36. package/dist/translations/cs.d.ts +1 -1
  37. package/dist/translations/cs.js +1 -1
  38. package/dist/translations/cs.umd.js +1 -1
  39. package/dist/translations/da.d.ts +1 -1
  40. package/dist/translations/da.js +1 -1
  41. package/dist/translations/da.umd.js +1 -1
  42. package/dist/translations/de-ch.d.ts +1 -1
  43. package/dist/translations/de-ch.js +1 -1
  44. package/dist/translations/de-ch.umd.js +1 -1
  45. package/dist/translations/de.d.ts +1 -1
  46. package/dist/translations/de.js +1 -1
  47. package/dist/translations/de.umd.js +1 -1
  48. package/dist/translations/el.d.ts +1 -1
  49. package/dist/translations/el.js +1 -1
  50. package/dist/translations/el.umd.js +1 -1
  51. package/dist/translations/en-au.d.ts +1 -1
  52. package/dist/translations/en-au.js +1 -1
  53. package/dist/translations/en-au.umd.js +1 -1
  54. package/dist/translations/en-gb.d.ts +1 -1
  55. package/dist/translations/en-gb.js +1 -1
  56. package/dist/translations/en-gb.umd.js +1 -1
  57. package/dist/translations/en.d.ts +1 -1
  58. package/dist/translations/en.js +1 -1
  59. package/dist/translations/en.umd.js +1 -1
  60. package/dist/translations/eo.d.ts +1 -1
  61. package/dist/translations/eo.js +1 -1
  62. package/dist/translations/eo.umd.js +1 -1
  63. package/dist/translations/es-co.d.ts +1 -1
  64. package/dist/translations/es-co.js +1 -1
  65. package/dist/translations/es-co.umd.js +1 -1
  66. package/dist/translations/es.d.ts +1 -1
  67. package/dist/translations/es.js +1 -1
  68. package/dist/translations/es.umd.js +1 -1
  69. package/dist/translations/et.d.ts +1 -1
  70. package/dist/translations/et.js +1 -1
  71. package/dist/translations/et.umd.js +1 -1
  72. package/dist/translations/eu.d.ts +1 -1
  73. package/dist/translations/eu.js +1 -1
  74. package/dist/translations/eu.umd.js +1 -1
  75. package/dist/translations/fa.d.ts +1 -1
  76. package/dist/translations/fa.js +1 -1
  77. package/dist/translations/fa.umd.js +1 -1
  78. package/dist/translations/fi.d.ts +1 -1
  79. package/dist/translations/fi.js +1 -1
  80. package/dist/translations/fi.umd.js +1 -1
  81. package/dist/translations/fr.d.ts +1 -1
  82. package/dist/translations/fr.js +1 -1
  83. package/dist/translations/fr.umd.js +1 -1
  84. package/dist/translations/gl.d.ts +1 -1
  85. package/dist/translations/gl.js +1 -1
  86. package/dist/translations/gl.umd.js +1 -1
  87. package/dist/translations/gu.d.ts +1 -1
  88. package/dist/translations/gu.js +1 -1
  89. package/dist/translations/gu.umd.js +1 -1
  90. package/dist/translations/he.d.ts +1 -1
  91. package/dist/translations/he.js +1 -1
  92. package/dist/translations/he.umd.js +1 -1
  93. package/dist/translations/hi.d.ts +1 -1
  94. package/dist/translations/hi.js +1 -1
  95. package/dist/translations/hi.umd.js +1 -1
  96. package/dist/translations/hr.d.ts +1 -1
  97. package/dist/translations/hr.js +1 -1
  98. package/dist/translations/hr.umd.js +1 -1
  99. package/dist/translations/hu.d.ts +1 -1
  100. package/dist/translations/hu.js +1 -1
  101. package/dist/translations/hu.umd.js +1 -1
  102. package/dist/translations/hy.d.ts +1 -1
  103. package/dist/translations/hy.js +1 -1
  104. package/dist/translations/hy.umd.js +1 -1
  105. package/dist/translations/id.d.ts +1 -1
  106. package/dist/translations/id.js +1 -1
  107. package/dist/translations/id.umd.js +1 -1
  108. package/dist/translations/it.d.ts +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.d.ts +1 -1
  112. package/dist/translations/ja.js +1 -1
  113. package/dist/translations/ja.umd.js +1 -1
  114. package/dist/translations/jv.d.ts +1 -1
  115. package/dist/translations/jv.js +1 -1
  116. package/dist/translations/jv.umd.js +1 -1
  117. package/dist/translations/kk.d.ts +1 -1
  118. package/dist/translations/kk.js +1 -1
  119. package/dist/translations/kk.umd.js +1 -1
  120. package/dist/translations/km.d.ts +1 -1
  121. package/dist/translations/km.js +1 -1
  122. package/dist/translations/km.umd.js +1 -1
  123. package/dist/translations/kn.d.ts +1 -1
  124. package/dist/translations/kn.js +1 -1
  125. package/dist/translations/kn.umd.js +1 -1
  126. package/dist/translations/ko.d.ts +1 -1
  127. package/dist/translations/ko.js +1 -1
  128. package/dist/translations/ko.umd.js +1 -1
  129. package/dist/translations/ku.d.ts +1 -1
  130. package/dist/translations/ku.js +1 -1
  131. package/dist/translations/ku.umd.js +1 -1
  132. package/dist/translations/lt.d.ts +1 -1
  133. package/dist/translations/lt.js +1 -1
  134. package/dist/translations/lt.umd.js +1 -1
  135. package/dist/translations/lv.d.ts +1 -1
  136. package/dist/translations/lv.js +1 -1
  137. package/dist/translations/lv.umd.js +1 -1
  138. package/dist/translations/ms.d.ts +1 -1
  139. package/dist/translations/ms.js +1 -1
  140. package/dist/translations/ms.umd.js +1 -1
  141. package/dist/translations/nb.d.ts +1 -1
  142. package/dist/translations/nb.js +1 -1
  143. package/dist/translations/nb.umd.js +1 -1
  144. package/dist/translations/ne.d.ts +1 -1
  145. package/dist/translations/ne.js +1 -1
  146. package/dist/translations/ne.umd.js +1 -1
  147. package/dist/translations/nl.d.ts +1 -1
  148. package/dist/translations/nl.js +1 -1
  149. package/dist/translations/nl.umd.js +1 -1
  150. package/dist/translations/no.d.ts +1 -1
  151. package/dist/translations/no.js +1 -1
  152. package/dist/translations/no.umd.js +1 -1
  153. package/dist/translations/oc.d.ts +1 -1
  154. package/dist/translations/oc.js +1 -1
  155. package/dist/translations/oc.umd.js +1 -1
  156. package/dist/translations/pl.d.ts +1 -1
  157. package/dist/translations/pl.js +1 -1
  158. package/dist/translations/pl.umd.js +1 -1
  159. package/dist/translations/pt-br.d.ts +1 -1
  160. package/dist/translations/pt-br.js +1 -1
  161. package/dist/translations/pt-br.umd.js +1 -1
  162. package/dist/translations/pt.d.ts +1 -1
  163. package/dist/translations/pt.js +1 -1
  164. package/dist/translations/pt.umd.js +1 -1
  165. package/dist/translations/ro.d.ts +1 -1
  166. package/dist/translations/ro.js +1 -1
  167. package/dist/translations/ro.umd.js +1 -1
  168. package/dist/translations/ru.d.ts +1 -1
  169. package/dist/translations/ru.js +1 -1
  170. package/dist/translations/ru.umd.js +1 -1
  171. package/dist/translations/si.d.ts +1 -1
  172. package/dist/translations/si.js +1 -1
  173. package/dist/translations/si.umd.js +1 -1
  174. package/dist/translations/sk.d.ts +1 -1
  175. package/dist/translations/sk.js +1 -1
  176. package/dist/translations/sk.umd.js +1 -1
  177. package/dist/translations/sl.d.ts +1 -1
  178. package/dist/translations/sl.js +1 -1
  179. package/dist/translations/sl.umd.js +1 -1
  180. package/dist/translations/sq.d.ts +1 -1
  181. package/dist/translations/sq.js +1 -1
  182. package/dist/translations/sq.umd.js +1 -1
  183. package/dist/translations/sr-latn.d.ts +1 -1
  184. package/dist/translations/sr-latn.js +1 -1
  185. package/dist/translations/sr-latn.umd.js +1 -1
  186. package/dist/translations/sr.d.ts +1 -1
  187. package/dist/translations/sr.js +1 -1
  188. package/dist/translations/sr.umd.js +1 -1
  189. package/dist/translations/sv.d.ts +1 -1
  190. package/dist/translations/sv.js +1 -1
  191. package/dist/translations/sv.umd.js +1 -1
  192. package/dist/translations/th.d.ts +1 -1
  193. package/dist/translations/th.js +1 -1
  194. package/dist/translations/th.umd.js +1 -1
  195. package/dist/translations/ti.d.ts +1 -1
  196. package/dist/translations/ti.js +1 -1
  197. package/dist/translations/ti.umd.js +1 -1
  198. package/dist/translations/tk.d.ts +1 -1
  199. package/dist/translations/tk.js +1 -1
  200. package/dist/translations/tk.umd.js +1 -1
  201. package/dist/translations/tr.d.ts +1 -1
  202. package/dist/translations/tr.js +1 -1
  203. package/dist/translations/tr.umd.js +1 -1
  204. package/dist/translations/tt.d.ts +1 -1
  205. package/dist/translations/tt.js +1 -1
  206. package/dist/translations/tt.umd.js +1 -1
  207. package/dist/translations/ug.d.ts +1 -1
  208. package/dist/translations/ug.js +1 -1
  209. package/dist/translations/ug.umd.js +1 -1
  210. package/dist/translations/uk.d.ts +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.d.ts +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.d.ts +1 -1
  217. package/dist/translations/uz.js +1 -1
  218. package/dist/translations/uz.umd.js +1 -1
  219. package/dist/translations/vi.d.ts +1 -1
  220. package/dist/translations/vi.js +1 -1
  221. package/dist/translations/vi.umd.js +1 -1
  222. package/dist/translations/zh-cn.d.ts +1 -1
  223. package/dist/translations/zh-cn.js +1 -1
  224. package/dist/translations/zh-cn.umd.js +1 -1
  225. package/dist/translations/zh.d.ts +1 -1
  226. package/dist/translations/zh.js +1 -1
  227. package/dist/translations/zh.umd.js +1 -1
  228. package/lang/translations/af.po +1 -1
  229. package/lang/translations/ar.po +1 -1
  230. package/lang/translations/ast.po +1 -1
  231. package/lang/translations/az.po +1 -1
  232. package/lang/translations/be.po +1 -1
  233. package/lang/translations/bg.po +1 -1
  234. package/lang/translations/bn.po +1 -1
  235. package/lang/translations/bs.po +1 -1
  236. package/lang/translations/ca.po +1 -1
  237. package/lang/translations/cs.po +1 -1
  238. package/lang/translations/da.po +1 -1
  239. package/lang/translations/de-ch.po +1 -1
  240. package/lang/translations/de.po +1 -1
  241. package/lang/translations/el.po +1 -1
  242. package/lang/translations/en-au.po +1 -1
  243. package/lang/translations/en-gb.po +1 -1
  244. package/lang/translations/en.po +1 -1
  245. package/lang/translations/eo.po +1 -1
  246. package/lang/translations/es-co.po +1 -1
  247. package/lang/translations/es.po +1 -1
  248. package/lang/translations/et.po +1 -1
  249. package/lang/translations/eu.po +1 -1
  250. package/lang/translations/fa.po +1 -1
  251. package/lang/translations/fi.po +1 -1
  252. package/lang/translations/fr.po +1 -1
  253. package/lang/translations/gl.po +1 -1
  254. package/lang/translations/gu.po +1 -1
  255. package/lang/translations/he.po +1 -1
  256. package/lang/translations/hi.po +1 -1
  257. package/lang/translations/hr.po +1 -1
  258. package/lang/translations/hu.po +1 -1
  259. package/lang/translations/hy.po +1 -1
  260. package/lang/translations/id.po +1 -1
  261. package/lang/translations/it.po +1 -1
  262. package/lang/translations/ja.po +1 -1
  263. package/lang/translations/jv.po +1 -1
  264. package/lang/translations/kk.po +1 -1
  265. package/lang/translations/km.po +1 -1
  266. package/lang/translations/kn.po +1 -1
  267. package/lang/translations/ko.po +1 -1
  268. package/lang/translations/ku.po +1 -1
  269. package/lang/translations/lt.po +1 -1
  270. package/lang/translations/lv.po +1 -1
  271. package/lang/translations/ms.po +1 -1
  272. package/lang/translations/nb.po +1 -1
  273. package/lang/translations/ne.po +1 -1
  274. package/lang/translations/nl.po +1 -1
  275. package/lang/translations/no.po +1 -1
  276. package/lang/translations/oc.po +1 -1
  277. package/lang/translations/pl.po +1 -1
  278. package/lang/translations/pt-br.po +1 -1
  279. package/lang/translations/pt.po +1 -1
  280. package/lang/translations/ro.po +1 -1
  281. package/lang/translations/ru.po +1 -1
  282. package/lang/translations/si.po +1 -1
  283. package/lang/translations/sk.po +1 -1
  284. package/lang/translations/sl.po +1 -1
  285. package/lang/translations/sq.po +1 -1
  286. package/lang/translations/sr-latn.po +1 -1
  287. package/lang/translations/sr.po +1 -1
  288. package/lang/translations/sv.po +1 -1
  289. package/lang/translations/th.po +1 -1
  290. package/lang/translations/ti.po +1 -1
  291. package/lang/translations/tk.po +1 -1
  292. package/lang/translations/tr.po +1 -1
  293. package/lang/translations/tt.po +1 -1
  294. package/lang/translations/ug.po +1 -1
  295. package/lang/translations/uk.po +1 -1
  296. package/lang/translations/ur.po +1 -1
  297. package/lang/translations/uz.po +1 -1
  298. package/lang/translations/vi.po +1 -1
  299. package/lang/translations/zh-cn.po +1 -1
  300. package/lang/translations/zh.po +1 -1
  301. package/package.json +7 -7
  302. package/src/augmentation.d.ts +1 -1
  303. package/src/augmentation.js +1 -1
  304. package/src/findandreplace.d.ts +1 -1
  305. package/src/findandreplace.js +1 -1
  306. package/src/findandreplaceconfig.d.ts +1 -1
  307. package/src/findandreplaceconfig.js +1 -1
  308. package/src/findandreplaceediting.d.ts +1 -1
  309. package/src/findandreplaceediting.js +1 -1
  310. package/src/findandreplacestate.d.ts +1 -1
  311. package/src/findandreplacestate.js +1 -1
  312. package/src/findandreplaceui.d.ts +1 -1
  313. package/src/findandreplaceui.js +1 -1
  314. package/src/findandreplaceutils.d.ts +1 -1
  315. package/src/findandreplaceutils.js +1 -1
  316. package/src/findcommand.d.ts +1 -1
  317. package/src/findcommand.js +1 -1
  318. package/src/findnextcommand.d.ts +1 -1
  319. package/src/findnextcommand.js +1 -1
  320. package/src/findpreviouscommand.d.ts +1 -1
  321. package/src/findpreviouscommand.js +1 -1
  322. package/src/index.d.ts +1 -1
  323. package/src/index.js +1 -1
  324. package/src/replaceallcommand.d.ts +1 -1
  325. package/src/replaceallcommand.js +1 -1
  326. package/src/replacecommand.d.ts +1 -1
  327. package/src/replacecommand.js +1 -1
  328. package/src/replacecommandbase.d.ts +1 -1
  329. package/src/replacecommandbase.js +1 -1
  330. package/src/ui/findandreplaceformview.d.ts +1 -1
  331. package/src/ui/findandreplaceformview.js +1 -1
  332. package/theme/findandreplace.css +1 -1
  333. package/theme/findandreplaceform.css +1 -1
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 Find and replace feature** (https://github.com/ckeditor/ckeditor5)<br>
5
- Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 2003–2026, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under a dual-license model, this software is available under:
8
8
 
@@ -1,5 +1,5 @@
1
1
  !function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Advanced options":"Advanced options",Find:"Find","Find and replace":"Find and replace","Find in text…":"Find in text…","Find in the document":"Find in the document","Match case":"Match case","Next result":"Next result","Previous result":"Previous result",Replace:"Replace","Replace all":"Replace all","Replace with…":"Replace with…","Text to find must not be empty.":"Text to find must not be empty.","Tip: Find some text first in order to replace it.":"Tip: Find some text first in order to replace it.","Whole words only":"Whole words only"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
2
2
  /*!
3
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
5
  */(()=>{var e={163:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},220:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(792),s=i.n(n),r=i(305),a=i.n(r)()(s());a.push([e.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const o=a},237:e=>{"use strict";e.exports=CKEditor5.dll},305:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,s,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var o=0;o<this.length;o++){var c=this[o][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);n&&a[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),s&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=s):d[4]="".concat(s)),t.push(d))}},t}},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},355:(e,t,i)=>{e.exports=i(237)("./src/icons.js")},424:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},517:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(i){e.setAttribute(i,t[i])})}},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},615:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(792),s=i.n(n),r=i(305),a=i.n(r)()(s());a.push([e.id,".ck-find-result{background:var(--ck-color-highlight-background);color:var(--ck-color-text)}.ck-find-result_selected{background:#ff9633}",""]);const o=a},681:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(792),s=i.n(n),r=i(305),a=i.n(r)()(s());a.push([e.id,".ck.ck-find-and-replace-form{max-width:100%}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{display:flex}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions.ck-find-and-replace-form__inputs .ck-results-counter,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs.ck-find-and-replace-form__inputs .ck-results-counter{position:absolute}.ck.ck-find-and-replace-form{width:400px}.ck.ck-find-and-replace-form:focus{outline:none}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{align-content:stretch;align-items:center;flex:1 1 auto;flex-direction:row;flex-wrap:wrap;margin:0;padding:var(--ck-spacing-large)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button{flex:0 0 auto}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>*+*,[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>*+*{margin-left:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>*+*,[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>*+*{margin-right:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view{flex:1 1 auto}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view .ck-input,.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view .ck-input{min-width:50px;width:100%}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{align-items:flex-start}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button-prev>.ck-icon{transform:rotate(90deg)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-button-next>.ck-icon{transform:rotate(-90deg)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{color:var(--ck-color-base-border);top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{left:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{flex:0 0 100%;padding-top:var(--ck-spacing-standard)}[dir=ltr] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs>.ck-labeled-field-replace{margin-right:0}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions{flex-wrap:wrap;justify-content:flex-end;margin-top:calc(var(--ck-spacing-large)*-1)}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button-find{font-weight:700}.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions>.ck-button-find .ck-button__label{padding-left:var(--ck-spacing-large);padding-right:var(--ck-spacing-large)}.ck.ck-find-and-replace-form .ck-switchbutton{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%}@media screen and (max-width:600px){.ck.ck-find-and-replace-form{max-width:100%;width:300px}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input{flex-wrap:wrap}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input .ck-labeled-field-view{flex:1 0 auto;margin-bottom:var(--ck-spacing-standard);width:100%}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button{text-align:center}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form.ck-find-and-replace-form__input>.ck-button:first-of-type .ck-button__label{text-align:center;width:100%}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view){flex:1 1 auto;flex-wrap:wrap}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button{text-align:center}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form.ck-find-and-replace-form__actions>:not(.ck-labeled-field-view)>.ck-button .ck-button__label{text-align:center;width:100%}}",""]);const o=a},719:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var r={},a=[],o=0;o<e.length;o++){var c=e[o],l=n.base?c[0]+n.base:c[0],d=r[l]||0,h="".concat(l," ").concat(d);r[l]=d+1;var u=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(f);else{var p=s(f,n);n.byIndex=o,t.splice(o,0,{identifier:h,updater:p,references:1})}a.push(h)}return a}function s(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,s){var r=n(e=e||[],s=s||{});return function(e){e=e||[];for(var a=0;a<r.length;a++){var o=i(r[a]);t[o].references--}for(var c=n(e,s),l=0;l<r.length;l++){var d=i(r[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}r=c}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},792:e=>{"use strict";e.exports=function(e){return e[1]}},863:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var a=void 0!==s.layer;a&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,a&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,r);else{var o=document.createTextNode(r),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(o,c[t]):e.appendChild(o)}}var s={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=s.singletonCounter++,i=s.singleton||(s.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var r=t[n]={id:n,exports:{}};return e[n](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{FindAndReplace:()=>N,FindAndReplaceEditing:()=>P,FindAndReplaceFormView:()=>b,FindAndReplaceState:()=>y,FindAndReplaceUI:()=>x,FindAndReplaceUtils:()=>E,FindCommand:()=>v,FindNextCommand:()=>A,FindPreviousCommand:()=>F,FindReplaceCommandBase:()=>R,ReplaceAllCommand:()=>C,ReplaceCommand:()=>T,_sortFindResultsByMarkerPositions:()=>V});var e=i(782),t=i(355),s=i(311),r=i(584),a=i(719),o=i.n(a),c=i(863),l=i.n(c),d=i(424),h=i.n(d),u=i(517),f=i.n(u),p=i(163),m=i.n(p),g=i(220),k={attributes:{"data-cke":!0}};k.setAttributes=f(),k.insert=h().bind(null,"head"),k.domAPI=l(),k.insertStyleElement=m();o()(g.A,k);g.A&&g.A.locals&&g.A.locals;var _=i(681),w={attributes:{"data-cke":!0}};w.setAttributes=f(),w.insert=h().bind(null,"head"),w.domAPI=l(),w.insertStyleElement=m();o()(_.A,w);_.A&&_.A.locals&&_.A.locals;class b extends s.View{children;_findInputView;_replaceInputView;_findButtonView;_findPrevButtonView;_findNextButtonView;_advancedOptionsCollapsibleView;_matchCaseSwitchView;_wholeWordsOnlySwitchView;_replaceButtonView;_replaceAllButtonView;_inputsDivView;_actionButtonsDivView;_focusTracker;_keystrokes;_focusables;focusCycler;constructor(e){super(e);const i=e.t;this.children=this.createCollection(),this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",(e,t)=>e>0&&!t),this._findInputView=this._createInputField(i("Find in text…")),this._findPrevButtonView=this._createButton({label:i("Previous result"),class:"ck-button-prev",icon:t.IconPreviousArrow,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:i("Next result"),class:"ck-button-next",icon:t.IconPreviousArrow,keystroke:"F3",tooltip:!0}),this._replaceInputView=this._createInputField(i("Replace with…"),"ck-labeled-field-replace"),this._inputsDivView=this._createInputsDiv(),this._matchCaseSwitchView=this._createMatchCaseSwitch(),this._wholeWordsOnlySwitchView=this._createWholeWordsOnlySwitch(),this._advancedOptionsCollapsibleView=this._createAdvancedOptionsCollapsible(),this._replaceAllButtonView=this._createButton({label:i("Replace all"),class:"ck-button-replaceall",withText:!0}),this._replaceButtonView=this._createButton({label:i("Replace"),class:"ck-button-replace",withText:!0}),this._findButtonView=this._createButton({label:i("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._actionButtonsDivView=this._createActionButtonsDiv(),this._focusTracker=new r.FocusTracker,this._keystrokes=new r.KeystrokeHandler,this._focusables=new s.ViewCollection,this.focusCycler=new s.FocusCycler({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.addMany([this._inputsDivView,this._advancedOptionsCollapsibleView,this._actionButtonsDivView]),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,s.submitHandler)({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(e){-1===e?this.focusCycler.focusLast():this.focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createInputsDiv(){const e=this.locale,t=e.t,i=new s.View(e);return this._findInputView.fieldView.on("input",()=>{this.isDirty=!0}),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findPrevious:e})=>e),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findNext:e})=>e),this._injectFindResultsCounter(),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:e},t)=>e&&t),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",(e,i)=>e||!i?"":t("Tip: Find some text first in order to replace it.")),i.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__inputs"]},children:[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView]}),i}_onFindButtonExecute(){if(!this._textToFind){const e=this.t;return void(this._findInputView.errorText=e("Text to find must not be empty."))}this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly})}_injectFindResultsCounter(){const e=this.locale,t=e.t,i=this.bindTemplate,n=new s.View(this.locale);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",(e,i)=>t("%0 of %1",[e,i])),n.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",i.if("isDirty","ck-hidden")]},children:[{text:i.to("_resultsCounterText")}]});const a=()=>{const t=this._findInputView.fieldView.element;if(!t||!(0,r.isVisible)(t))return;const i=new r.Rect(n.element).width,s="ltr"===e.uiLanguageDirection?"paddingRight":"paddingLeft";t.style[s]=i?`calc( 2 * var(--ck-spacing-standard) + ${i}px )`:""};this.on("change:_resultsCounterText",a,{priority:"low"}),this.on("change:isDirty",a,{priority:"low"}),this._findInputView.template.children[0].children.push(n)}_createAdvancedOptionsCollapsible(){const e=this.locale.t,t=new s.CollapsibleView(this.locale,[this._matchCaseSwitchView,this._wholeWordsOnlySwitchView]);return t.set({label:e("Advanced options"),isCollapsed:!0}),t}_createActionButtonsDiv(){const e=new s.View(this.locale);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:e},t)=>e&&t),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replaceAll:e},t)=>e&&t),this._replaceButtonView.on("execute",()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})}),this._replaceAllButtonView.on("execute",()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()}),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),e.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__actions"]},children:[this._replaceAllButtonView,this._replaceButtonView,this._findButtonView]}),e}_createMatchCaseSwitch(){const e=this.locale.t,t=new s.SwitchButtonView(this.locale);return t.set({label:e("Match case"),withText:!0}),t.bind("isOn").to(this,"_matchCase"),t.on("execute",()=>{this._matchCase=!this._matchCase,this.isDirty=!0}),t}_createWholeWordsOnlySwitch(){const e=this.locale.t,t=new s.SwitchButtonView(this.locale);return t.set({label:e("Whole words only"),withText:!0}),t.bind("isOn").to(this,"_wholeWordsOnly"),t.on("execute",()=>{this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0}),t}_initFocusCycling(){[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._advancedOptionsCollapsibleView.buttonView,this._matchCaseSwitchView,this._wholeWordsOnlySwitchView,this._replaceAllButtonView,this._replaceButtonView,this._findButtonView].forEach(e=>{this._focusables.add(e),this._focusTracker.add(e.element)})}_initKeystrokeHandling(){const e=e=>e.stopPropagation(),t=e=>{e.stopPropagation(),e.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",e=>{t(e),this._findNextButtonView.fire("execute")}),this._keystrokes.set("shift+f3",e=>{t(e),this._findPrevButtonView.fire("execute")}),this._keystrokes.set("enter",e=>{const i=e.target;i===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e)):i!==this._replaceInputView.fieldView.element||this.isDirty||(this._replaceButtonView.fire("execute"),t(e))}),this._keystrokes.set("shift+enter",e=>{e.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e))}),this._keystrokes.set("arrowright",e),this._keystrokes.set("arrowleft",e),this._keystrokes.set("arrowup",e),this._keystrokes.set("arrowdown",e)}_createButton(e){const t=new s.ButtonView(this.locale);return t.set(e),t}_createInputField(e,t){const i=new s.LabeledFieldView(this.locale,s.createLabeledInputText);return i.label=e,i.class=t,i}}class x extends e.Plugin{static get requires(){return[s.Dialog]}static get pluginName(){return"FindAndReplaceUI"}static get isOfficialPlugin(){return!0}formView;constructor(e){super(e),e.config.define("findAndReplace.uiType","dialog"),this.formView=null}init(){const e=this.editor,t="dropdown"===e.config.get("findAndReplace.uiType"),i=e.commands.get("find"),n=this.editor.t;e.ui.componentFactory.add("findAndReplace",()=>{let n;return t?(n=this._createDropdown(),n.bind("isEnabled").to(i)):n=this._createDialogButtonForToolbar(),e.keystrokes.set("Ctrl+F",(t,r)=>{if(i.isEnabled){if(n instanceof s.DropdownView){const e=n.buttonView;e.isOn||e.fire("execute")}else n.isOn?e.plugins.get("Dialog").view.focus():n.fire("execute");r()}}),n}),t||e.ui.componentFactory.add("menuBar:findAndReplace",()=>this._createDialogButtonForMenuBar()),e.accessibility.addKeystrokeInfos({keystrokes:[{label:n("Find in the document"),keystroke:"CTRL+F"}]})}_createDropdown(){const e=this.editor,i=e.locale.t,n=(0,s.createDropdown)(e.locale);return n.once("change:isOpen",()=>{this.formView=this._createFormView(),this.formView.children.add(new s.FormHeaderView(e.locale,{label:i("Find and replace")}),0),n.panelView.children.add(this.formView)}),n.on("change:isOpen",(e,t,i)=>{i?this._setupFormView():this.fire("searchReseted")},{priority:"low"}),n.buttonView.set({icon:t.IconFindReplace,label:i("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),n}_createDialogButtonForToolbar(){const e=this.editor,t=this._createButton(s.ButtonView),i=e.plugins.get("Dialog");return t.set({tooltip:!0}),t.bind("isOn").to(i,"id",e=>"findAndReplace"===e),t.on("execute",()=>{t.isOn?i.hide():this._showDialog()}),t}_createDialogButtonForMenuBar(){const e=this._createButton(s.MenuBarMenuListItemButtonView),t=this.editor.plugins.get("Dialog"),i=this.editor.plugins.get("Dialog");return e.set({role:"menuitemcheckbox",isToggleable:!0}),e.bind("isOn").to(i,"id",e=>"findAndReplace"===e),e.on("execute",()=>{"findAndReplace"!==t.id?this._showDialog():t.hide()}),e}_createButton(e){const i=this.editor,n=i.commands.get("find"),s=new e(i.locale),r=i.locale.t;return s.bind("isEnabled").to(n),s.set({icon:t.IconFindReplace,label:r("Find and replace"),keystroke:"CTRL+F"}),s}_showDialog(){const e=this.editor,t=e.plugins.get("Dialog"),i=e.locale.t;this.formView||(this.formView=this._createFormView()),t.show({id:"findAndReplace",title:i("Find and replace"),content:this.formView,position:s.DialogViewPosition.EDITOR_TOP_SIDE,onShow:()=>{this._setupFormView()},onHide:()=>{this.fire("searchReseted")}})}_createFormView(){const e=this.editor,t=new((0,s.CssTransitionDisablerMixin)(b))(e.locale),i=e.commands,n=this.editor.plugins.get("FindAndReplaceEditing").state;t.bind("highlightOffset").to(n,"highlightedOffset"),t.listenTo(n.results,"change",()=>{t.matchCount=n.results.length});const r=i.get("findNext"),a=i.get("findPrevious"),o=i.get("replace"),c=i.get("replaceAll");return t.bind("_areCommandsEnabled").to(r,"isEnabled",a,"isEnabled",o,"isEnabled",c,"isEnabled",(e,t,i,n)=>({findNext:e,findPrevious:t,replace:i,replaceAll:n})),t.delegate("findNext","findPrevious","replace","replaceAll").to(this),t.on("change:isDirty",(e,t,i)=>{i&&this.fire("searchReseted")}),t}_setupFormView(){this.formView.disableCssTransitions(),this.formView.reset(),this.formView._findInputView.fieldView.select(),this.formView.enableCssTransitions()}}class v extends e.Command{_state;constructor(e,t){super(e),this.isEnabled=!0,this.affectsData=!1,this._state=t}execute(e,{matchCase:t,wholeWords:i}={}){const{editor:n}=this,{model:s}=n,r=n.plugins.get("FindAndReplaceUtils");let a,o="";a="string"==typeof e?(...n)=>({results:r.findByTextCallback(e,{matchCase:t,wholeWords:i})(...n),searchText:e}):e;const c=a;a=(...e)=>{const t=c(...e);return t&&"searchText"in t&&(o=t.searchText),t};const l=s.document.getRootNames().reduce((e,t)=>r.updateFindResultFromRange(s.createRangeIn(s.document.getRoot(t)),s,a,e),null);return this._state.clear(s),this._state.results.addMany(l),this._state.highlightedResult=l.get(0),this._state.searchText=o,a&&(this._state.lastSearchCallback=a),this._state.matchCase=!!t,this._state.matchWholeWords=!!i,{results:l,findCallback:a}}}class y extends((0,r.ObservableMixin)()){constructor(e){super(),this.set("results",new r.Collection),this.set("highlightedResult",null),this.set("highlightedOffset",0),this.set("searchText",""),this.set("replaceText",""),this.set("lastSearchCallback",null),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",(t,{removed:i,index:n})=>{if(Array.from(i).length){let t=!1;if(e.change(n=>{for(const s of i)this.highlightedResult===s&&(t=!0),e.markers.has(s.marker.name)&&n.removeMarker(s.marker)}),t){const e=n>=this.results.length?0:n;this.highlightedResult=this.results.get(e)}}}),this.on("change:highlightedResult",()=>{this.refreshHighlightOffset(e)})}clear(e){this.searchText="",e.change(t=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],n=e.markers.get(`findResultHighlighted:${i}`);n&&t.removeMarker(n)}[...this.results].forEach(({marker:e})=>{t.removeMarker(e)})}),this.results.clear()}refreshHighlightOffset(e){const{highlightedResult:t,results:i}=this;this.highlightedOffset=t?V(e,[...i]).indexOf(t)+1:0}}function V(e,t){const i={before:-1,same:0,after:1,different:1};return e.document.getRootNames().flatMap(e=>t.filter(t=>t.marker.getStart().root.rootName===e).sort((e,t)=>i[e.marker.getStart().compareWith(t.marker.getStart())]))}class R extends e.Command{_state;constructor(e,t){super(e),this.isEnabled=!0,this._state=t,this._isEnabledBasedOnSelection=!1}_replace(e,t){const{model:i}=this.editor,n=t.marker.getRange();i.canEditAt(n)&&i.change(s=>{if("$graveyard"===n.root.rootName)return void this._state.results.remove(t);let r={};for(const e of n.getItems())if(e.is("$text")||e.is("$textProxy")){r=e.getAttributes();break}i.insertContent(s.createText(e,r),n),this._state.results.has(t)&&this._state.results.remove(t)})}}class T extends R{execute(e,t){const i=Math.max(this._state.highlightedOffset-1,0);if(this._replace(e,t),this._state.results.length){const e=V(this.editor.model,[...this._state.results]);this._state.highlightedResult=e[i%e.length]}}}class C extends R{execute(e,t){const{editor:i}=this,{model:n}=i,s=i.plugins.get("FindAndReplaceUtils"),a=t instanceof r.Collection?t:n.document.getRootNames().reduce((e,i)=>s.updateFindResultFromRange(n.createRangeIn(n.document.getRoot(i)),n,s.findByTextCallback(t,this._state),e),null);a.length&&n.change(()=>{[...a].forEach(t=>{this._replace(e,t)})})}}class A extends e.Command{_state;constructor(e,t){super(e),this.affectsData=!1,this._state=t,this.isEnabled=!1,this.listenTo(this._state.results,"change",()=>{this.isEnabled=this._state.results.length>1})}refresh(){this.isEnabled=this._state.results.length>1}execute(){const e=this._state.results,t=e.getIndex(this._state.highlightedResult),i=t+1>=e.length?0:t+1;this._state.highlightedResult=this._state.results.get(i)}}class F extends A{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),t=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(t)}}function B(e){if(null==e)return"";if("string"==typeof e)return e;if(Array.isArray(e))return e.map(B).join(",");const t=String(e);return"0"===t&&Object.is(Number(e),-0)?"-0":t}class E extends e.Plugin{static get pluginName(){return"FindAndReplaceUtils"}static get isOfficialPlugin(){return!0}updateFindResultFromRange(e,t,i,n){const s=n||new r.Collection;return t.change(n=>{[...e].forEach(({type:e,item:a})=>{if("elementStart"===e&&t.schema.checkChild(a,"$text")){let e=i({item:a,text:this.rangeToText(t.createRangeIn(a))});if(!e)return;"results"in e&&(e=e.results),e.forEach(e=>{const t=`findResult:${(0,r.uid)()}`,i=n.addMarker(t,{usingOperation:!1,affectsData:!1,range:n.createRange(n.createPositionAt(a,e.start),n.createPositionAt(a,e.end))}),o=function(e,t){const i=e.find(({marker:e})=>t.getStart().isBefore(e.getStart()));return i?e.getIndex(i):e.length}(s,i);(e=>s.find(t=>{const{marker:i}=t,n=i.getRange(),s=e.getRange();return n.isEqual(s)}))(i)||s.add({id:t,label:e.label,marker:i},o)})}})}),s}rangeToText(e){return Array.from(e.getItems({shallow:!0})).reduce((e,t)=>t.is("$text")||t.is("$textProxy")?e+t.data:`${e}\n`,"")}findByTextCallback(e,t){let i="gu";t.matchCase||(i+="i");let n=`(${s=e,function(e){return e.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}(B(s))})`;var s;if(t.wholeWords){const t="[^a-zA-ZÀ-ɏḀ-ỿ]";new RegExp("^"+t).test(e)||(n=`(^|${t}|_)${n}`),new RegExp(t+"$").test(e)||(n=`${n}(?=_|${t}|$)`)}const r=new RegExp(n,i);return function({text:e}){return[...e.matchAll(r)].map(I)}}}function I(e){const t=e.length-1;let i=e.index;return 3===e.length&&(i+=e[1].length),{label:e[t],start:i,end:i+e[t].length}}function O(e,t,{signal:i,edges:n}={}){let s,r=null;const a=null!=n&&n.includes("leading"),o=null==n||n.includes("trailing"),c=()=>{null!==r&&(e.apply(s,r),s=void 0,r=null)};let l=null;const d=()=>{null!=l&&clearTimeout(l),l=setTimeout(()=>{l=null,o&&c(),u()},t)},h=()=>{null!==l&&(clearTimeout(l),l=null)},u=()=>{h(),s=void 0,r=null},f=function(...e){if(i?.aborted)return;s=this,r=e;const t=null==l;d(),a&&t&&c()};return f.schedule=d,f.cancel=u,f.flush=()=>{h(),c()},i?.addEventListener("abort",u,{once:!0}),f}var D=i(615),S={attributes:{"data-cke":!0}};S.setAttributes=f(),S.insert=h().bind(null,"head"),S.domAPI=l(),S.insertStyleElement=m();o()(D.A,S);D.A&&D.A.locals&&D.A.locals;class P extends e.Plugin{static get requires(){return[E]}static get pluginName(){return"FindAndReplaceEditing"}static get licenseFeatureCode(){return"FAR"}static get isPremiumPlugin(){return!0}static get isOfficialPlugin(){return!0}state;init(){this.state=new y(this.editor.model),this.set("_isSearchActive",!1),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",(e,t,i,n)=>{const{model:s}=this.editor;s.change(e=>{if(n){const t=n.marker.name.split(":")[1],i=s.markers.get(`findResultHighlighted:${t}`);i&&e.removeMarker(i)}if(i){const t=i.marker.name.split(":")[1];e.addMarker(`findResultHighlighted:${t}`,{usingOperation:!1,affectsData:!1,range:i.marker.getRange()})}})});const e=function(e,t=0,i={}){"object"!=typeof i&&(i={});const{leading:n=!1,trailing:s=!0,maxWait:r}=i,a=Array(2);let o;n&&(a[0]="leading"),s&&(a[1]="trailing");let c=null;const l=O(function(...t){o=e.apply(this,t),c=null},t,{edges:a}),d=function(...t){return null!=r&&(null===c&&(c=Date.now()),Date.now()-c>=r)?(o=e.apply(this,t),c=Date.now(),l.cancel(),l.schedule(),o):(l.apply(this,t),o)};return d.cancel=l.cancel,d.flush=()=>(l.flush(),o),d}(((e,t,i)=>{if(i){const e=this.editor.editing.view.domConverter,t=this.editor.editing.mapper.toViewRange(i.marker.getRange());(0,r.scrollViewportToShowTarget)({target:e.viewRangeToDom(t),viewportOffset:40})}}).bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel),this.on("change:_isSearchActive",(e,t,i)=>{i?this.listenTo(this.editor.model.document,"change:data",this._onDocumentChange):this.stopListening(this.editor.model.document,"change:data",this._onDocumentChange)})}find(e,t){return this._isSearchActive=!0,this.editor.execute("find",e,t),this.state.results}stop(){this.state.clear(this.editor.model),this._isSearchActive=!1}_defineCommands(){this.editor.commands.add("find",new v(this.editor,this.state)),this.editor.commands.add("findNext",new A(this.editor,this.state)),this.editor.commands.add("findPrevious",new F(this.editor,this.state)),this.editor.commands.add("replace",new T(this.editor,this.state)),this.editor.commands.add("replaceAll",new C(this.editor,this.state))}_defineConverters(){const{editor:e}=this;e.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":t}}}}),e.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result_selected"],attributes:{"data-find-result":t}}}})}_onDocumentChange=()=>{const e=new Set,t=new Set,i=this.editor.model,{results:n}=this.state,s=i.document.differ.getChanges(),r=i.document.differ.getChangedMarkers();s.forEach(n=>{n.position&&("$text"===n.name||n.position.nodeAfter&&i.schema.isInline(n.position.nodeAfter)?(e.add(n.position.parent),[...i.markers.getMarkersAtPosition(n.position)].forEach(e=>{t.add(e.name)})):"insert"===n.type&&n.position.nodeAfter&&e.add(n.position.nodeAfter))}),r.forEach(({name:e,data:{newRange:i}})=>{i&&"$graveyard"===i.start.root.rootName&&t.add(e)}),e.forEach(e=>{[...i.markers.getMarkersIntersectingRange(i.createRangeIn(e))].forEach(e=>t.add(e.name))}),t.forEach(e=>{n.has(e)&&(n.get(e)===this.state.highlightedResult&&(this.state.highlightedResult=null),n.remove(e))});const a=[],o=this.editor.plugins.get("FindAndReplaceUtils");e.forEach(e=>{const t=o.updateFindResultFromRange(i.createRangeOn(e),i,this.state.lastSearchCallback,n);a.push(...t)}),r.forEach(e=>{if(e.data.newRange){const t=o.updateFindResultFromRange(e.data.newRange,i,this.state.lastSearchCallback,n);a.push(...t)}}),!this.state.highlightedResult&&a.length?this.state.highlightedResult=a[0]:this.state.refreshHighlightOffset(i)}}class N extends e.Plugin{static get requires(){return[P,x]}static get pluginName(){return"FindAndReplace"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get("FindAndReplaceUI"),t=this.editor.plugins.get("FindAndReplaceEditing"),i=t.state;e.on("findNext",(e,n)=>{n?(i.searchText=n.searchText,t.find(n.searchText,n)):this.editor.execute("findNext")}),e.on("findPrevious",(e,n)=>{n&&i.searchText!==n.searchText?t.find(n.searchText):this.editor.execute("findPrevious")}),e.on("replace",(e,n)=>{i.searchText!==n.searchText&&t.find(n.searchText);const s=i.highlightedResult;s&&this.editor.execute("replace",n.replaceText,s)}),e.on("replaceAll",(e,n)=>{i.searchText!==n.searchText&&t.find(n.searchText),this.editor.execute("replaceAll",n.replaceText,i.results)}),e.on("searchReseted",()=>{i.clear(this.editor.model),t.stop()})}}})(),(window.CKEditor5=window.CKEditor5||{}).findAndReplace=n})();
@@ -1,4 +1,4 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  .ck-find-result{
package/dist/index.css CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /*
6
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -17,12 +17,12 @@
17
17
  }
18
18
 
19
19
  /*
20
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
20
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
21
21
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
22
22
  */
23
23
 
24
24
  /*
25
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
25
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
26
26
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
27
27
  */
28
28
 
@@ -57,7 +57,7 @@
57
57
  }
58
58
 
59
59
  /*
60
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
60
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
61
61
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
62
62
  */
63
63
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/findandreplace.css","index.css","../../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","../../../../../node_modules/@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css","../theme/findandreplaceform.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,EAAA,CAAA,IAAA,CAAA,MAAA,CAAA;ACCA,CDAC,UAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,SAAA,CAAA,UAAA,CAAgD;ACCjD,CDAC,KAAA,CAAA,CAAA,GA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,GAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,YAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,aAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,YAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,OAAA,CAAA;AH0DF,CAAC,CAAC,CGzDC,QAAA,CAAA,CAAA,QAAkB;AH0DrB,CAAC,CGzDC;;AH2DF,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck-find-result {\n\tbackground: var(--ck-color-highlight-background);\n\tcolor: var(--ck-color-text);\n}\n\n.ck-find-result_selected {\n\tbackground: hsl(29, 100%, 60%);\n}\n","/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck-find-result {\n\tbackground: var(--ck-color-highlight-background);\n\tcolor: var(--ck-color-text);\n}\n\n.ck-find-result_selected {\n\tbackground: hsl(29, 100%, 60%);\n}\n\n/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck-vertical-form .ck-button::after {\n\t\tcontent: \"\";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n.ck-vertical-form .ck-button:focus::after {\n\t\tdisplay: none;\n\t}\n\n@media screen and (max-width: 600px) {\n\t\t\t.ck.ck-responsive-form .ck-button::after {\n\t\t\t\tcontent: \"\";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t.ck.ck-responsive-form .ck-button:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t}\n\n/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck.ck-find-and-replace-form {\n\tmax-width: 100%;\n}\n\n.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions {\n\t\tdisplay: flex;\n\n\t\t/* The inputs area styles */\n\t}\n\n.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs.ck-find-and-replace-form__inputs .ck-results-counter, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions.ck-find-and-replace-form__inputs .ck-results-counter {\n\t\t\tposition: absolute;\n\t\t}\n\n/*# sourceMappingURL=index.css.map */","/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css\";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: \"\";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: \"\";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck.ck-find-and-replace-form {\n\tmax-width: 100%;\n\n\t& .ck-find-and-replace-form__inputs, .ck-find-and-replace-form__actions {\n\t\tdisplay: flex;\n\n\t\t/* The inputs area styles */\n\t\t&.ck-find-and-replace-form__inputs .ck-results-counter {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"sources":["../theme/findandreplace.css","index.css","../../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","../../../../../node_modules/@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css","../theme/findandreplaceform.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,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CAAA,IAAA,CAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,YAAA,CAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,aAAA,CAAA;AHwDD,CAAC,CGvDC,OAAA,CAAA,CAAA,IAAa;;AHyDf,CAAC,CGvDC,CAAA,CAAA,CAAA,GAAA,CAAA,MAAA,CAAA,IAAA,CAAA,MAAA,CAAA,CAA2B;AHwD7B,CGpDC;;AAHC,CAAA,EAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,YAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,aAAA,CAAA,EAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,YAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,OAAA,CAAA;AH0DF,CAAC,CAAC,CGzDC,QAAA,CAAA,CAAA,QAAkB;AH0DrB,CAAC,CGzDC;;AH2DF,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck-find-result {\n\tbackground: var(--ck-color-highlight-background);\n\tcolor: var(--ck-color-text);\n}\n\n.ck-find-result_selected {\n\tbackground: hsl(29, 100%, 60%);\n}\n","/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck-find-result {\n\tbackground: var(--ck-color-highlight-background);\n\tcolor: var(--ck-color-text);\n}\n\n.ck-find-result_selected {\n\tbackground: hsl(29, 100%, 60%);\n}\n\n/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck-vertical-form .ck-button::after {\n\t\tcontent: \"\";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n.ck-vertical-form .ck-button:focus::after {\n\t\tdisplay: none;\n\t}\n\n@media screen and (max-width: 600px) {\n\t\t\t.ck.ck-responsive-form .ck-button::after {\n\t\t\t\tcontent: \"\";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t.ck.ck-responsive-form .ck-button:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t}\n\n/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck.ck-find-and-replace-form {\n\tmax-width: 100%;\n}\n\n.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions {\n\t\tdisplay: flex;\n\n\t\t/* The inputs area styles */\n\t}\n\n.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs.ck-find-and-replace-form__inputs .ck-results-counter, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions.ck-find-and-replace-form__inputs .ck-results-counter {\n\t\t\tposition: absolute;\n\t\t}\n\n/*# sourceMappingURL=index.css.map */","/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css\";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: \"\";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: \"\";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck.ck-find-and-replace-form {\n\tmax-width: 100%;\n\n\t& .ck-find-and-replace-form__inputs, .ck-find-and-replace-form__actions {\n\t\tdisplay: flex;\n\n\t\t/* The inputs area styles */\n\t\t&.ck-find-and-replace-form__inputs .ck-results-counter {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n"]}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { Plugin, Command } from '@ckeditor/ckeditor5-core/dist/index.js';