@ckeditor/ckeditor5-uploadcare 45.2.1 → 46.0.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 (196) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index-editor.css +2 -2
  3. package/dist/index.css +2 -2
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +11 -11
  152. package/src/augmentation.d.ts +4 -4
  153. package/src/index.d.ts +10 -8
  154. package/src/index.js +1 -1
  155. package/src/ui/uploadcarecontroller.d.ts +2 -2
  156. package/src/ui/uploadcarecontroller.js +2 -2
  157. package/src/ui/uploadcareformview.d.ts +3 -3
  158. package/src/ui/uploadcareformview.js +1 -1
  159. package/src/uploadcare.d.ts +3 -3
  160. package/src/uploadcare.js +1 -1
  161. package/src/uploadcarecommand.d.ts +2 -2
  162. package/src/uploadcarecommand.js +1 -1
  163. package/src/uploadcareconfig.d.ts +2 -3
  164. package/src/uploadcareconfig.js +1 -1
  165. package/src/uploadcareediting.d.ts +13 -3
  166. package/src/uploadcareediting.js +1 -1
  167. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +2 -2
  168. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  169. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
  170. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  171. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  172. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  173. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
  174. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  175. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +3 -3
  176. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  177. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  178. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  179. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  180. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  181. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +3 -4
  182. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  183. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  184. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  185. package/src/uploadcareimageedit.d.ts +3 -3
  186. package/src/uploadcareimageedit.js +1 -1
  187. package/src/uploadcareui.d.ts +1 -1
  188. package/src/uploadcareui.js +1 -1
  189. package/src/uploadcareuploadadapter.d.ts +2 -2
  190. package/src/uploadcareuploadadapter.js +1 -1
  191. package/src/utils/common-translations.js +1 -1
  192. package/src/utils/dialogfocusmanagerview.d.ts +1 -1
  193. package/src/utils/dialogfocusmanagerview.js +1 -1
  194. package/src/utils/editingutils.js +1 -1
  195. package/src/utils/isancestor.js +1 -1
  196. package/src/utils/uploadutils.js +1 -1
@@ -15,7 +15,7 @@ import '../../theme/uploadcare-theme.css';
15
15
  * It registers the `'uploadcareImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
16
16
  * that allows you to open the Uploadcare dialog and edit the image.
17
17
  */
18
- export default class UploadcareImageEditUI extends Plugin {
18
+ export declare class UploadcareImageEditUI extends Plugin {
19
19
  /**
20
20
  * @inheritDoc
21
21
  */
@@ -31,13 +31,13 @@ export default class UploadcareImageEditUI extends Plugin {
31
31
  /**
32
32
  * The cache of image URLs that had been uploaded to Uploadcare.
33
33
  */
34
- get imageCache(): ImageCache;
34
+ get imageCache(): UploadcareImageCache;
35
35
  /**
36
36
  * @inheritDoc
37
37
  */
38
38
  init(): void;
39
39
  }
40
- type ImageCache = Map<string, {
40
+ export type UploadcareImageCache = Map<string, {
41
41
  id: string;
42
42
  url: string;
43
43
  dimension: {
@@ -45,4 +45,3 @@ type ImageCache = Map<string, {
45
45
  height: number;
46
46
  };
47
47
  }>;
48
- export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x239025}from'ckeditor5/src/core.js';import{ButtonView as _0x49dc07}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x23d35f}from'ckeditor5/src/icons.js';import{createElement as _0x112b95}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x239025{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x1b233d=this['editor'];_0x1b233d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4dfc2c=>{const _0x3d619b=_0x1b233d['commands']['get']('uploadcareImageEdit'),_0x1204d8=new _0x49dc07(_0x4dfc2c),t=_0x4dfc2c['t'];return _0x1204d8['set']({'icon':_0x23d35f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1204d8['bind']('isEnabled')['to'](_0x3d619b),_0x1204d8['bind']('isOn')['to'](_0x3d619b,'isActive'),this['listenTo'](_0x1204d8,'execute',()=>{_0x1b233d['execute']('uploadcareImageEdit'),_0x1b233d['editing']['view']['focus']();}),_0x1204d8;}),this['_initConfig']();}['_initConfig'](){const _0x5d3440=_0x112b95(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d3440),this['listenTo'](this['editor'],'destroy',()=>{_0x5d3440['remove']();});}}
23
+ import{Plugin as _0x57baf0}from'ckeditor5/src/core.js';import{ButtonView as _0x1ed3c4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x34b0af}from'ckeditor5/src/icons.js';import{createElement as _0xe79a77}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x57baf0{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x4c1b2c=this['editor'];_0x4c1b2c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1eec14=>{const _0x3e37bb=_0x4c1b2c['commands']['get']('uploadcareImageEdit'),_0x3b4576=new _0x1ed3c4(_0x1eec14),t=_0x1eec14['t'];return _0x3b4576['set']({'icon':_0x34b0af,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3b4576['bind']('isEnabled')['to'](_0x3e37bb),_0x3b4576['bind']('isOn')['to'](_0x3e37bb,'isActive'),this['listenTo'](_0x3b4576,'execute',()=>{_0x4c1b2c['execute']('uploadcareImageEdit'),_0x4c1b2c['editing']['view']['focus']();}),_0x3b4576;}),this['_initConfig']();}['_initConfig'](){const _0x5944cc=_0xe79a77(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5944cc),this['listenTo'](this['editor'],'destroy',()=>{_0x5944cc['remove']();});}}
@@ -11,7 +11,7 @@ import { Command } from 'ckeditor5/src/core.js';
11
11
  *
12
12
  * It replaces given image element attributes.
13
13
  */
14
- export default class UploadcareImageReplaceCommand extends Command {
14
+ export declare class UploadcareImageReplaceCommand extends Command {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf769c4=_0x4d46;function _0x4d46(_0x1035a9,_0x4c154b){const _0x119188=_0x1191();return _0x4d46=function(_0x4d46c9,_0x3c1d80){_0x4d46c9=_0x4d46c9-0x152;let _0x163f97=_0x119188[_0x4d46c9];return _0x163f97;},_0x4d46(_0x1035a9,_0x4c154b);}function _0x1191(){const _0x376688=['9EKXBKP','3677656tutuaZ','editor','execute','isEnabled','220EWpMKX','element','133jvFgWd','84PgcRRS','removeAttribute','imageInline','refresh','model','7732350HPNnVF','216744punyHG','imageBlock','srcset','190WcmBqQ','sizes','179028ioYohZ','setAttributes','document','3426WvnonU','change','10533mnuKKI','getSelectedElement','1019190zGGcJU','selection'];_0x1191=function(){return _0x376688;};return _0x1191();}(function(_0x35b423,_0x59f868){const _0x496096=_0x4d46,_0x21ce07=_0x35b423();while(!![]){try{const _0x4fba72=parseInt(_0x496096(0x16b))/0x1*(-parseInt(_0x496096(0x166))/0x2)+parseInt(_0x496096(0x16d))/0x3*(parseInt(_0x496096(0x15a))/0x4)+-parseInt(_0x496096(0x153))/0x5+-parseInt(_0x496096(0x168))/0x6*(-parseInt(_0x496096(0x15c))/0x7)+parseInt(_0x496096(0x156))/0x8*(-parseInt(_0x496096(0x155))/0x9)+parseInt(_0x496096(0x162))/0xa+parseInt(_0x496096(0x163))/0xb*(-parseInt(_0x496096(0x15d))/0xc);if(_0x4fba72===_0x59f868)break;else _0x21ce07['push'](_0x21ce07['shift']());}catch(_0xb1203c){_0x21ce07['push'](_0x21ce07['shift']());}}}(_0x1191,0x6332f));import{Command as _0x4aa7da}from'ckeditor5/src/core.js';export default class O extends _0x4aa7da{[_0xf769c4(0x160)](){const _0x2275b2=_0xf769c4,_0x1ec970=this[_0x2275b2(0x157)][_0x2275b2(0x161)][_0x2275b2(0x16a)][_0x2275b2(0x154)][_0x2275b2(0x152)]();this[_0x2275b2(0x159)]=Boolean(_0x1ec970&&(_0x1ec970['is'](_0x2275b2(0x15b),_0x2275b2(0x164))||_0x1ec970['is'](_0x2275b2(0x15b),_0x2275b2(0x15f))));}[_0xf769c4(0x158)](_0x55c1e1){const _0x1f0a14=_0xf769c4,_0x525fd3=this[_0x1f0a14(0x157)][_0x1f0a14(0x161)][_0x1f0a14(0x16a)][_0x1f0a14(0x154)][_0x1f0a14(0x152)]();this[_0x1f0a14(0x157)][_0x1f0a14(0x161)][_0x1f0a14(0x16c)](_0x225993=>{const _0x577d1a=_0x1f0a14;_0x225993[_0x577d1a(0x169)](_0x55c1e1,_0x525fd3),_0x225993[_0x577d1a(0x15e)](_0x577d1a(0x165),_0x525fd3),_0x225993[_0x577d1a(0x15e)](_0x577d1a(0x167),_0x525fd3);});}}
23
+ function _0x6e08(_0x425855,_0x43ff14){const _0xb95c53=_0xb95c();return _0x6e08=function(_0x6e08d8,_0x320baa){_0x6e08d8=_0x6e08d8-0x1e4;let _0x43729d=_0xb95c53[_0x6e08d8];return _0x43729d;},_0x6e08(_0x425855,_0x43ff14);}const _0x2b407a=_0x6e08;function _0xb95c(){const _0x26fadd=['1940541ZqryqN','document','getSelectedElement','execute','64274irWFHk','isEnabled','sizes','setAttributes','removeAttribute','7342408kvSPya','60950LPYYxx','editor','element','4986216ACqPmc','509536sUoaqE','5CPorEO','change','model','908352uzXWvw','srcset','imageInline','refresh','imageBlock','selection'];_0xb95c=function(){return _0x26fadd;};return _0xb95c();}(function(_0x204ba6,_0x82e3f){const _0x2762e4=_0x6e08,_0x1f688a=_0x204ba6();while(!![]){try{const _0x1426c7=parseInt(_0x2762e4(0x1f9))/0x1+-parseInt(_0x2762e4(0x1e5))/0x2+-parseInt(_0x2762e4(0x1ef))/0x3+-parseInt(_0x2762e4(0x1e9))/0x4*(parseInt(_0x2762e4(0x1e6))/0x5)+parseInt(_0x2762e4(0x1e4))/0x6+-parseInt(_0x2762e4(0x1f3))/0x7+parseInt(_0x2762e4(0x1f8))/0x8;if(_0x1426c7===_0x82e3f)break;else _0x1f688a['push'](_0x1f688a['shift']());}catch(_0x357ef0){_0x1f688a['push'](_0x1f688a['shift']());}}}(_0xb95c,0xa409e));import{Command as _0xe65e1c}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xe65e1c{[_0x2b407a(0x1ec)](){const _0x557f80=_0x2b407a,_0x59b76a=this[_0x557f80(0x1fa)][_0x557f80(0x1e8)][_0x557f80(0x1f0)][_0x557f80(0x1ee)][_0x557f80(0x1f1)]();this[_0x557f80(0x1f4)]=Boolean(_0x59b76a&&(_0x59b76a['is'](_0x557f80(0x1fb),_0x557f80(0x1ed))||_0x59b76a['is'](_0x557f80(0x1fb),_0x557f80(0x1eb))));}[_0x2b407a(0x1f2)](_0x3ce4aa){const _0xd370f2=_0x2b407a,_0x25e2af=this[_0xd370f2(0x1fa)][_0xd370f2(0x1e8)][_0xd370f2(0x1f0)][_0xd370f2(0x1ee)][_0xd370f2(0x1f1)]();this[_0xd370f2(0x1fa)][_0xd370f2(0x1e8)][_0xd370f2(0x1e7)](_0x43d915=>{const _0x189f7a=_0xd370f2;_0x43d915[_0x189f7a(0x1f6)](_0x3ce4aa,_0x25e2af),_0x43d915[_0x189f7a(0x1f7)](_0x189f7a(0x1ea),_0x25e2af),_0x43d915[_0x189f7a(0x1f7)](_0x189f7a(0x1f5),_0x25e2af);});}}
@@ -7,12 +7,12 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
- import UploadcareImageEditEditing from './uploadcareimageedit/uploadcareimageeditediting.js';
11
- import UploadcareImageEditUI from './uploadcareimageedit/uploadcareimageeditui.js';
10
+ import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
11
+ import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
12
12
  /**
13
13
  * The Uploadcare image edit feature.
14
14
  */
15
- export default class UploadcareImageEdit extends Plugin {
15
+ export declare class UploadcareImageEdit extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1203e7=_0x3ba3;(function(_0x1e9e33,_0x24b0f2){var _0x21ad13=_0x3ba3,_0x19695f=_0x1e9e33();while(!![]){try{var _0x4fa57f=parseInt(_0x21ad13(0xf7))/0x1+parseInt(_0x21ad13(0xee))/0x2*(parseInt(_0x21ad13(0xf3))/0x3)+-parseInt(_0x21ad13(0xf5))/0x4+parseInt(_0x21ad13(0xf1))/0x5*(parseInt(_0x21ad13(0xf9))/0x6)+parseInt(_0x21ad13(0xef))/0x7*(-parseInt(_0x21ad13(0xf2))/0x8)+-parseInt(_0x21ad13(0xf4))/0x9+parseInt(_0x21ad13(0xf8))/0xa;if(_0x4fa57f===_0x24b0f2)break;else _0x19695f['push'](_0x19695f['shift']());}catch(_0x5a7ca9){_0x19695f['push'](_0x19695f['shift']());}}}(_0x5307,0xdb63a));import{Plugin as _0x9f3ec}from'ckeditor5/src/core.js';function _0x5307(){var _0x1cd88f=['5021668rDyoce','requires','546764RYIkUA','16783660drfSLA','666060CQYNzW','pluginName','isPremiumPlugin','UploadcareImageEdit','2TVnMxa','287tGbAYW','isOfficialPlugin','15pTotrz','221032sHkPcq','4598928JYWcjU','7238808PbZeZz'];_0x5307=function(){return _0x1cd88f;};return _0x5307();}function _0x3ba3(_0x3cefb6,_0x50eb04){var _0x53079a=_0x5307();return _0x3ba3=function(_0x3ba384,_0x3cec5f){_0x3ba384=_0x3ba384-0xee;var _0xd75973=_0x53079a[_0x3ba384];return _0xd75973;},_0x3ba3(_0x3cefb6,_0x50eb04);}import _0x4f5427 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xbfd27a from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x9f3ec{static get[_0x1203e7(0xfa)](){var _0x3848c0=_0x1203e7;return _0x3848c0(0xfc);}static get[_0x1203e7(0xf6)](){return[_0x4f5427,_0xbfd27a];}static get[_0x1203e7(0xf0)](){return!0x0;}static get[_0x1203e7(0xfb)](){return!0x0;}}
23
+ function _0x5c35(_0x32d0f5,_0x4e9939){var _0x4950b4=_0x4950();return _0x5c35=function(_0x5c3584,_0x390475){_0x5c3584=_0x5c3584-0x97;var _0x2b764b=_0x4950b4[_0x5c3584];return _0x2b764b;},_0x5c35(_0x32d0f5,_0x4e9939);}var _0x20209c=_0x5c35;(function(_0x2dde03,_0x54a910){var _0x15e5d2=_0x5c35,_0x512324=_0x2dde03();while(!![]){try{var _0x56e224=-parseInt(_0x15e5d2(0x9a))/0x1+-parseInt(_0x15e5d2(0xa1))/0x2+-parseInt(_0x15e5d2(0xa3))/0x3*(parseInt(_0x15e5d2(0xa4))/0x4)+parseInt(_0x15e5d2(0xa2))/0x5*(parseInt(_0x15e5d2(0x98))/0x6)+-parseInt(_0x15e5d2(0x9f))/0x7+parseInt(_0x15e5d2(0x9e))/0x8+-parseInt(_0x15e5d2(0x9c))/0x9;if(_0x56e224===_0x54a910)break;else _0x512324['push'](_0x512324['shift']());}catch(_0x166042){_0x512324['push'](_0x512324['shift']());}}}(_0x4950,0x25deb));function _0x4950(){var _0x2a1184=['105819PeMxCO','isPremiumPlugin','78624CVsHVD','5jfyBjp','3lIoEkE','75316HZlVEg','UploadcareImageEdit','1558818KqCfXv','isOfficialPlugin','40141IEnlbW','pluginName','605826HxJLwE','requires','608200XSKhkf'];_0x4950=function(){return _0x2a1184;};return _0x4950();}import{Plugin as _0x3e7e4}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x6545}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x442c49}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3e7e4{static get[_0x20209c(0x9b)](){var _0x52e2df=_0x20209c;return _0x52e2df(0x97);}static get[_0x20209c(0x9d)](){return[_0x6545,_0x442c49];}static get[_0x20209c(0x99)](){return!0x0;}static get[_0x20209c(0xa0)](){return!0x0;}}
@@ -13,7 +13,7 @@ import '../theme/uploadcareimageedit.css';
13
13
  /**
14
14
  * The UI plugin of the AI assistant.
15
15
  */
16
- export default class UploadcareUI extends Plugin {
16
+ export declare class UploadcareUI extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b288d=_0x1158;(function(_0x3189b3,_0xf1f9fa){const _0x222276=_0x1158,_0x6acc9d=_0x3189b3();while(!![]){try{const _0x5d4622=parseInt(_0x222276(0xae))/0x1*(parseInt(_0x222276(0x94))/0x2)+parseInt(_0x222276(0x80))/0x3+-parseInt(_0x222276(0x9b))/0x4+parseInt(_0x222276(0x9d))/0x5+parseInt(_0x222276(0x91))/0x6*(parseInt(_0x222276(0x86))/0x7)+-parseInt(_0x222276(0x8f))/0x8+parseInt(_0x222276(0xb3))/0x9*(-parseInt(_0x222276(0x89))/0xa);if(_0x5d4622===_0xf1f9fa)break;else _0x6acc9d['push'](_0x6acc9d['shift']());}catch(_0x5b6673){_0x6acc9d['push'](_0x6acc9d['shift']());}}}(_0x4440,0x6a208));import{Plugin as _0x335036}from'ckeditor5/src/core.js';import{IconDropbox as _0x2b3600,IconFacebook as _0x26be96,IconGoogleDrive as _0x18066f,IconGooglePhotos as _0x23b112,IconUploadcareImageUpload as _0x323611,IconUploadcareLink as _0x4b5abc,IconOneDrive as _0x49436d}from'ckeditor5/src/icons.js';import{ButtonView as _0x213871,MenuBarMenuListItemButtonView as _0x1b3ee3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x466890}from'./uploadcareconfig.js';function _0x4440(){const _0x24ab50=['UploadcareUI','upload','_createMenuBarButtons','forEach','_licenseKeyCheckInterval','_showLicenseError','invalid','uploadcareLicenseKeyUsageLimit','featureNotAllowed','_normalizeConfigSourceList','bind','destroy','Replace','text','isOfficialPlugin','Facebook','entries','pluginName','_createToolbarButton','domainLimit','licenseKey','2181096wBfDOn','plugins','config','assetManager','uploadcareLicenseKeyExpired','get','21eEyENs','_getIntegrationKey','afterInit','10lVoSiU','label','editor','uploadcareLicenseKeyDomainLimit','locale','init','538992ABQVRb','Uploadcare','654294Xmxthv','_createButton','GPhotos','2YoYBmH','has','isEnabled','URL','uploadcare.uploader.sourceList','usageLimit','Insert','2624324aLdJoS','Local','15480bFzieu','map','icon','expired','shortText','isPremiumPlugin','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyValid','OneDrive','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','commands','trialLimit','ImageInsertUI','execute','_createDropdownButtons','uploadcareLicenseKeyTrialLimit','526253KnISVu','push','evaluationLimit','reduce','tooltip','3828393EAfyTy','uploadcare','registerIntegration','url','type','GDrive','Dropbox','withText','isImageSelected'];_0x4440=function(){return _0x24ab50;};return _0x4440();}import{getTranslation as _0x403fe9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x1158(_0xe13b60,_0x429879){const _0x4440c2=_0x4440();return _0x1158=function(_0x1158ed,_0x235508){_0x1158ed=_0x1158ed-0x74;let _0xe78e42=_0x4440c2[_0x1158ed];return _0xe78e42;},_0x1158(_0xe13b60,_0x429879);}export default class e extends _0x335036{[_0x1b288d(0x7f)];[_0x1b288d(0xc0)];static get[_0x1b288d(0x7c)](){const _0x3b23ac=_0x1b288d;return _0x3b23ac(0xbc);}static get[_0x1b288d(0x79)](){return!0x0;}static get[_0x1b288d(0xa2)](){return!0x0;}[_0x1b288d(0x8e)](){const _0xba2922=_0x1b288d;this[_0xba2922(0x7f)]=this[_0xba2922(0x8b)][_0xba2922(0x82)][_0xba2922(0x85)](_0xba2922(0x7f));const _0x537943=this[_0xba2922(0x8b)];this[_0xba2922(0xc0)]=setInterval(()=>{const _0x16cf74=_0xba2922;let _0x2f17c0;for(const _0x47200e in _0x537943){const _0x3e77dc=_0x47200e,_0x4b2417=_0x537943[_0x3e77dc];if(_0x16cf74(0xa4)==_0x4b2417||_0x16cf74(0xa6)==_0x4b2417||_0x16cf74(0x84)==_0x4b2417||_0x16cf74(0x8c)==_0x4b2417||_0x16cf74(0xa3)==_0x4b2417||_0x16cf74(0xa7)==_0x4b2417||_0x16cf74(0xad)==_0x4b2417||_0x16cf74(0xc3)==_0x4b2417){delete _0x537943[_0x3e77dc],_0x2f17c0=_0x4b2417,clearInterval(this[_0x16cf74(0xc0)]),this[_0x16cf74(0xc0)]=void 0x0;break;}}_0x16cf74(0xa6)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xc2)),_0x16cf74(0x84)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xa0)),_0x16cf74(0x8c)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0x7e)),_0x16cf74(0xa3)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xc4),_0x16cf74(0x90)),_0x16cf74(0xa7)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xb0)),_0x16cf74(0xad)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xa9)),_0x16cf74(0xc3)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0x99));},0x3e8);}[_0x1b288d(0x88)](){const _0x139340=_0x1b288d,{editor:_0x14314e}=this,_0x1adbb1=_0x14314e[_0x139340(0xa8)][_0x139340(0x85)](_0x139340(0xb4));if(!_0x1adbb1)return;const _0x2542cb=this[_0x139340(0x74)](_0x14314e[_0x139340(0x82)][_0x139340(0x85)](_0x139340(0x98)))[_0x139340(0xb1)]((_0x1a17f6,_0xaf327e)=>{const _0x25e6ee=_0x139340,_0x3fba52=this[_0x25e6ee(0x87)](_0xaf327e[_0x25e6ee(0xb7)]);return _0x1a17f6[_0x3fba52]||(_0x1a17f6[_0x3fba52]=[]),_0x1a17f6[_0x3fba52][_0x25e6ee(0xaf)](_0xaf327e),_0x1a17f6;},{});_0x14314e[_0x139340(0x81)][_0x139340(0x95)](_0x139340(0xaa))&&_0x14314e[_0x139340(0xa8)][_0x139340(0x85)](_0x139340(0xb4))&&Object[_0x139340(0x7b)](_0x2542cb)[_0x139340(0xbf)](([_0xf52922,_0x641f0e])=>{const _0x1c4bf5=_0x139340;_0x14314e[_0x1c4bf5(0x81)][_0x1c4bf5(0x85)](_0x1c4bf5(0xaa))[_0x1c4bf5(0xb5)]({'name':_0xf52922,'observable':()=>_0x1adbb1,'buttonViewCreator':()=>this[_0x1c4bf5(0x7d)](_0x641f0e),'formViewCreator':()=>this[_0x1c4bf5(0xac)](_0x641f0e),'menuBarButtonViewCreator':()=>this[_0x1c4bf5(0xbe)](_0x641f0e),'override':_0x1c4bf5(0x83)!==_0xf52922});});}[_0x1b288d(0x76)](){const _0x2d2630=_0x1b288d;super[_0x2d2630(0x76)](),this[_0x2d2630(0xc0)]&&clearInterval(this[_0x2d2630(0xc0)]);}[_0x1b288d(0x74)](_0x5408db){const _0x4f5624=_0x1b288d,{locale:_0x50d5a6}=this[_0x4f5624(0x8b)];return _0x5408db[_0x4f5624(0x9e)](_0x3c0263=>{const _0x10b602=_0x4f5624,_0x5158a8=_0x403fe9(_0x50d5a6,_0x3c0263,_0x10b602(0x9a));switch(_0x3c0263){case _0x466890[_0x10b602(0x9c)]:return{'icon':_0x323611,'type':_0x466890[_0x10b602(0x9c)],..._0x5158a8};case _0x466890[_0x10b602(0x97)]:return{'icon':_0x4b5abc,'type':_0x466890[_0x10b602(0x97)],..._0x5158a8};case _0x466890[_0x10b602(0xb9)]:return{'icon':_0x2b3600,'type':_0x466890[_0x10b602(0xb9)],..._0x5158a8};case _0x466890[_0x10b602(0x7a)]:return{'icon':_0x26be96,'type':_0x466890[_0x10b602(0x7a)],..._0x5158a8};case _0x466890[_0x10b602(0xb8)]:return{'icon':_0x18066f,'type':_0x466890[_0x10b602(0xb8)],..._0x5158a8};case _0x466890[_0x10b602(0x93)]:return{'icon':_0x23b112,'type':_0x466890[_0x10b602(0x93)],..._0x5158a8};case _0x466890[_0x10b602(0xa5)]:return{'icon':_0x49436d,'type':_0x466890[_0x10b602(0xa5)],..._0x5158a8};}});}[_0x1b288d(0x87)](_0xa0ae9c){const _0xe21303=_0x1b288d;switch(_0xa0ae9c){case _0x466890[_0xe21303(0x9c)]:return _0xe21303(0xbd);case _0x466890[_0xe21303(0x97)]:return _0xe21303(0xb6);default:return _0xe21303(0x83);}}[_0x1b288d(0x92)](_0x6691ed,_0x28dff4){const _0x294963=_0x1b288d,_0x15dfab=this[_0x294963(0x8b)],_0xd01e90=new _0x6691ed(_0x15dfab[_0x294963(0x8d)]),_0x13e131=_0x15dfab[_0x294963(0xa8)][_0x294963(0x85)](_0x294963(0xb4));return _0xd01e90[_0x294963(0x75)](_0x294963(0x96))['to'](_0x13e131),_0xd01e90['on'](_0x294963(0xab),()=>{const _0x4da665=_0x294963;_0x13e131[_0x4da665(0xab)](_0x28dff4);}),_0xd01e90;}[_0x1b288d(0x7d)](_0x506df9){const _0x39c87c=_0x1b288d,{locale:_0x8cf9bc}=this[_0x39c87c(0x8b)],_0x20b6fa=this[_0x39c87c(0x8b)][_0x39c87c(0x81)][_0x39c87c(0x85)](_0x39c87c(0xaa)),_0x54479f=_0x506df9[0x0],_0x15f7d1=this[_0x39c87c(0x92)](_0x213871,_0x54479f[_0x39c87c(0xb7)]);return _0x15f7d1[_0x39c87c(0x9f)]=_0x54479f[_0x39c87c(0x9f)],_0x15f7d1[_0x39c87c(0x75)](_0x39c87c(0x8a))['to'](_0x20b6fa,_0x39c87c(0xbb),_0x3a4741=>_0x403fe9(_0x8cf9bc,_0x54479f[_0x39c87c(0xb7)],_0x3a4741?_0x39c87c(0x77):_0x39c87c(0x9a))[_0x39c87c(0x78)]),_0x15f7d1[_0x39c87c(0xb2)]=!0x0,_0x15f7d1;}[_0x1b288d(0xac)](_0x2672c1){const _0x542c5c=_0x1b288d,{locale:_0xf32d3c}=this[_0x542c5c(0x8b)],_0x58571d=this[_0x542c5c(0x8b)][_0x542c5c(0x81)][_0x542c5c(0x85)](_0x542c5c(0xaa));return _0x2672c1[_0x542c5c(0x9e)](_0x525fa9=>{const _0x17c8e6=_0x542c5c,_0x49f7f6=this[_0x17c8e6(0x92)](_0x213871,_0x525fa9[_0x17c8e6(0xb7)]);return _0x49f7f6[_0x17c8e6(0xba)]=!0x0,_0x49f7f6[_0x17c8e6(0x9f)]=_0x525fa9[_0x17c8e6(0x9f)],_0x49f7f6[_0x17c8e6(0x75)](_0x17c8e6(0x8a))['to'](_0x58571d,_0x17c8e6(0xbb),_0x32cccd=>_0x403fe9(_0xf32d3c,_0x525fa9[_0x17c8e6(0xb7)],_0x32cccd?_0x17c8e6(0x77):_0x17c8e6(0x9a))[_0x17c8e6(0x78)]),_0x49f7f6;});}[_0x1b288d(0xbe)](_0xe00bc6){const _0x306a4f=_0x1b288d;return _0xe00bc6[_0x306a4f(0x9e)](_0x866adb=>{const _0x121303=_0x306a4f,_0x5dafea=this[_0x121303(0x92)](_0x1b3ee3,_0x866adb[_0x121303(0xb7)]);return _0x5dafea[_0x121303(0x9f)]=_0x866adb[_0x121303(0x9f)],_0x5dafea[_0x121303(0x8a)]=_0x866adb[_0x121303(0xa1)],_0x5dafea;});}}
23
+ function _0x349d(_0x2bc5bf,_0x6a4922){const _0x19c3a2=_0x19c3();return _0x349d=function(_0x349d87,_0x1845f2){_0x349d87=_0x349d87-0x1f4;let _0x39a567=_0x19c3a2[_0x349d87];return _0x39a567;},_0x349d(_0x2bc5bf,_0x6a4922);}const _0x59cc01=_0x349d;(function(_0x2dee15,_0x4ecdf6){const _0xdc97f9=_0x349d,_0x183d9b=_0x2dee15();while(!![]){try{const _0x459b69=parseInt(_0xdc97f9(0x221))/0x1+-parseInt(_0xdc97f9(0x22e))/0x2+-parseInt(_0xdc97f9(0x23c))/0x3+-parseInt(_0xdc97f9(0x23f))/0x4*(-parseInt(_0xdc97f9(0x207))/0x5)+parseInt(_0xdc97f9(0x231))/0x6+-parseInt(_0xdc97f9(0x233))/0x7*(parseInt(_0xdc97f9(0x22c))/0x8)+parseInt(_0xdc97f9(0x20b))/0x9*(parseInt(_0xdc97f9(0x1f7))/0xa);if(_0x459b69===_0x4ecdf6)break;else _0x183d9b['push'](_0x183d9b['shift']());}catch(_0x5a8976){_0x183d9b['push'](_0x183d9b['shift']());}}}(_0x19c3,0x3d601));function _0x19c3(){const _0x269c63=['bind','forEach','entries','GDrive','OneDrive','featureNotAllowed','init','config','_getIntegrationKey','map','registerIntegration','ImageInsertUI','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','icon','shortText','uploadcareLicenseKeyInvalid','expired','editor','61376TxbLLB','commands','pluginName','isImageSelected','Uploadcare','URL','Replace','has','uploadcareLicenseKeyNotAllowed','afterInit','evaluationLimit','200mTUBhg','_createButton','811334cvqela','_createDropdownButtons','isOfficialPlugin','1352394UKpogp','usageLimit','117803EjHTQK','_normalizeConfigSourceList','uploadcare','UploadcareUI','execute','Facebook','Local','isPremiumPlugin','tooltip','695139dFscpc','reduce','uploadcareLicenseKeyTrialLimit','304uIMibC','_createMenuBarButtons','trialLimit','label','GPhotos','locale','get','url','licenseKey','1290JiOvdZ','Dropbox','text','plugins','uploadcareLicenseKeyExpired','push','upload','_licenseKeyCheckInterval','assetManager','domainLimit','withText','type','invalid','Insert','destroy','uploadcareLicenseKeyUsageLimit','20785WjBmyk','uploadcare.uploader.sourceList','isEnabled','_createToolbarButton','49311YvhHLI','uploadcareLicenseKeyValid'];_0x19c3=function(){return _0x269c63;};return _0x19c3();}import{Plugin as _0x40c32f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ada58,IconFacebook as _0x239685,IconGoogleDrive as _0x1e2032,IconGooglePhotos as _0x3b556e,IconUploadcareImageUpload as _0x4c3812,IconUploadcareLink as _0x4aadb3,IconOneDrive as _0x162e2a}from'ckeditor5/src/icons.js';import{ButtonView as _0x3c5979,MenuBarMenuListItemButtonView as _0x4a235b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5dd43f}from'./uploadcareconfig.js';import{getTranslation as _0x2f9e9c}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x40c32f{[_0x59cc01(0x1f6)];[_0x59cc01(0x1fe)];static get[_0x59cc01(0x223)](){const _0x16757c=_0x59cc01;return _0x16757c(0x236);}static get[_0x59cc01(0x230)](){return!0x0;}static get[_0x59cc01(0x23a)](){return!0x0;}[_0x59cc01(0x213)](){const _0x56efc4=_0x59cc01;this[_0x56efc4(0x1f6)]=this[_0x56efc4(0x220)][_0x56efc4(0x214)][_0x56efc4(0x1f4)](_0x56efc4(0x1f6));const _0x117586=this[_0x56efc4(0x220)];this[_0x56efc4(0x1fe)]=setInterval(()=>{const _0x27cb02=_0x56efc4;let _0x2c1cf9;for(const _0x430b9a in _0x117586){const _0xcacc96=_0x430b9a,_0x54073e=_0x117586[_0xcacc96];if(_0x27cb02(0x20c)==_0x54073e||_0x27cb02(0x21e)==_0x54073e||_0x27cb02(0x1fb)==_0x54073e||_0x27cb02(0x219)==_0x54073e||_0x27cb02(0x229)==_0x54073e||_0x27cb02(0x21a)==_0x54073e||_0x27cb02(0x23e)==_0x54073e||_0x27cb02(0x206)==_0x54073e){delete _0x117586[_0xcacc96],_0x2c1cf9=_0x54073e,clearInterval(this[_0x27cb02(0x1fe)]),this[_0x27cb02(0x1fe)]=void 0x0;break;}}_0x27cb02(0x21e)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x203)),_0x27cb02(0x1fb)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x21f)),_0x27cb02(0x219)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x200)),_0x27cb02(0x229)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x212),_0x27cb02(0x225)),_0x27cb02(0x21a)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x22b)),_0x27cb02(0x23e)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x241)),_0x27cb02(0x206)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x232));},0x3e8);}[_0x59cc01(0x22a)](){const _0x3941b3=_0x59cc01,{editor:_0x26afdf}=this,_0x44d6a8=_0x26afdf[_0x3941b3(0x222)][_0x3941b3(0x1f4)](_0x3941b3(0x235));if(!_0x44d6a8)return;const _0x407645=this[_0x3941b3(0x234)](_0x26afdf[_0x3941b3(0x214)][_0x3941b3(0x1f4)](_0x3941b3(0x208)))[_0x3941b3(0x23d)]((_0x6e7172,_0x98ef20)=>{const _0x34c84c=_0x3941b3,_0x5591d2=this[_0x34c84c(0x215)](_0x98ef20[_0x34c84c(0x202)]);return _0x6e7172[_0x5591d2]||(_0x6e7172[_0x5591d2]=[]),_0x6e7172[_0x5591d2][_0x34c84c(0x1fc)](_0x98ef20),_0x6e7172;},{});_0x26afdf[_0x3941b3(0x1fa)][_0x3941b3(0x228)](_0x3941b3(0x218))&&_0x26afdf[_0x3941b3(0x222)][_0x3941b3(0x1f4)](_0x3941b3(0x235))&&Object[_0x3941b3(0x20f)](_0x407645)[_0x3941b3(0x20e)](([_0x344abe,_0x15618d])=>{const _0x418004=_0x3941b3;_0x26afdf[_0x418004(0x1fa)][_0x418004(0x1f4)](_0x418004(0x218))[_0x418004(0x217)]({'name':_0x344abe,'observable':()=>_0x44d6a8,'buttonViewCreator':()=>this[_0x418004(0x20a)](_0x15618d),'formViewCreator':()=>this[_0x418004(0x22f)](_0x15618d),'menuBarButtonViewCreator':()=>this[_0x418004(0x240)](_0x15618d),'override':_0x418004(0x1ff)!==_0x344abe});});}[_0x59cc01(0x205)](){const _0x591a8c=_0x59cc01;super[_0x591a8c(0x205)](),this[_0x591a8c(0x1fe)]&&clearInterval(this[_0x591a8c(0x1fe)]);}[_0x59cc01(0x234)](_0x4c6767){const _0x4f66fd=_0x59cc01,{locale:_0xb57ad7}=this[_0x4f66fd(0x220)];return _0x4c6767[_0x4f66fd(0x216)](_0xbcd950=>{const _0x111f2c=_0x4f66fd,_0xadfa7d=_0x2f9e9c(_0xb57ad7,_0xbcd950,_0x111f2c(0x204));switch(_0xbcd950){case _0x5dd43f[_0x111f2c(0x239)]:return{'icon':_0x4c3812,'type':_0x5dd43f[_0x111f2c(0x239)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x226)]:return{'icon':_0x4aadb3,'type':_0x5dd43f[_0x111f2c(0x226)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x1f8)]:return{'icon':_0x2ada58,'type':_0x5dd43f[_0x111f2c(0x1f8)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x238)]:return{'icon':_0x239685,'type':_0x5dd43f[_0x111f2c(0x238)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x210)]:return{'icon':_0x1e2032,'type':_0x5dd43f[_0x111f2c(0x210)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x243)]:return{'icon':_0x3b556e,'type':_0x5dd43f[_0x111f2c(0x243)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x211)]:return{'icon':_0x162e2a,'type':_0x5dd43f[_0x111f2c(0x211)],..._0xadfa7d};}});}[_0x59cc01(0x215)](_0x3afb14){const _0x1953eb=_0x59cc01;switch(_0x3afb14){case _0x5dd43f[_0x1953eb(0x239)]:return _0x1953eb(0x1fd);case _0x5dd43f[_0x1953eb(0x226)]:return _0x1953eb(0x1f5);default:return _0x1953eb(0x1ff);}}[_0x59cc01(0x22d)](_0xc96607,_0x33e803){const _0x5547a5=_0x59cc01,_0x1bfa27=this[_0x5547a5(0x220)],_0x31a1cc=new _0xc96607(_0x1bfa27[_0x5547a5(0x244)]),_0x513aaa=_0x1bfa27[_0x5547a5(0x222)][_0x5547a5(0x1f4)](_0x5547a5(0x235));return _0x31a1cc[_0x5547a5(0x20d)](_0x5547a5(0x209))['to'](_0x513aaa),_0x31a1cc['on'](_0x5547a5(0x237),()=>{const _0x48faa1=_0x5547a5;_0x513aaa[_0x48faa1(0x237)](_0x33e803);}),_0x31a1cc;}[_0x59cc01(0x20a)](_0x1aa7fd){const _0x47b73e=_0x59cc01,{locale:_0x29341e}=this[_0x47b73e(0x220)],_0xf5aa2a=this[_0x47b73e(0x220)][_0x47b73e(0x1fa)][_0x47b73e(0x1f4)](_0x47b73e(0x218)),_0x141ef3=_0x1aa7fd[0x0],_0x4468a7=this[_0x47b73e(0x22d)](_0x3c5979,_0x141ef3[_0x47b73e(0x202)]);return _0x4468a7[_0x47b73e(0x21c)]=_0x141ef3[_0x47b73e(0x21c)],_0x4468a7[_0x47b73e(0x20d)](_0x47b73e(0x242))['to'](_0xf5aa2a,_0x47b73e(0x224),_0x27f544=>_0x2f9e9c(_0x29341e,_0x141ef3[_0x47b73e(0x202)],_0x27f544?_0x47b73e(0x227):_0x47b73e(0x204))[_0x47b73e(0x1f9)]),_0x4468a7[_0x47b73e(0x23b)]=!0x0,_0x4468a7;}[_0x59cc01(0x22f)](_0xd4992){const _0x289be0=_0x59cc01,{locale:_0x996e11}=this[_0x289be0(0x220)],_0x3b225a=this[_0x289be0(0x220)][_0x289be0(0x1fa)][_0x289be0(0x1f4)](_0x289be0(0x218));return _0xd4992[_0x289be0(0x216)](_0x51d108=>{const _0x515593=_0x289be0,_0x5eeb3a=this[_0x515593(0x22d)](_0x3c5979,_0x51d108[_0x515593(0x202)]);return _0x5eeb3a[_0x515593(0x201)]=!0x0,_0x5eeb3a[_0x515593(0x21c)]=_0x51d108[_0x515593(0x21c)],_0x5eeb3a[_0x515593(0x20d)](_0x515593(0x242))['to'](_0x3b225a,_0x515593(0x224),_0xb815bc=>_0x2f9e9c(_0x996e11,_0x51d108[_0x515593(0x202)],_0xb815bc?_0x515593(0x227):_0x515593(0x204))[_0x515593(0x1f9)]),_0x5eeb3a;});}[_0x59cc01(0x240)](_0xb08323){const _0x58bf62=_0x59cc01;return _0xb08323[_0x58bf62(0x216)](_0x15a1d4=>{const _0x35ecc2=_0x58bf62,_0x345570=this[_0x35ecc2(0x22d)](_0x4a235b,_0x15a1d4[_0x35ecc2(0x202)]);return _0x345570[_0x35ecc2(0x21c)]=_0x15a1d4[_0x35ecc2(0x21c)],_0x345570[_0x35ecc2(0x242)]=_0x15a1d4[_0x35ecc2(0x21d)],_0x345570;});}}
@@ -8,14 +8,14 @@
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { FileRepository } from 'ckeditor5/src/upload.js';
11
- import UploadcareEditing from './uploadcareediting.js';
11
+ import { UploadcareEditing } from './uploadcareediting.js';
12
12
  /**
13
13
  * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
14
14
  *
15
15
  * Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
16
16
  * other ways to upload images into CKEditor 5.
17
17
  */
18
- export default class UploadcareUploadAdapter extends Plugin {
18
+ export declare class UploadcareUploadAdapter extends Plugin {
19
19
  /**
20
20
  * @inheritDoc
21
21
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x6b1237}from'ckeditor5/src/core.js';import{FileRepository as _0x43a7ae}from'ckeditor5/src/upload.js';import _0xc5b8fc from'./uploadcareediting.js';import _0x24034c from'./utils/uploadutils.js';import{getImageUrls as _0x17c53a}from'./utils/editingutils.js';export default class p extends _0x6b1237{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x43a7ae,_0xc5b8fc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x82a341=this['editor'];if(!!!_0x82a341['config']['get']('uploadcare'))return;_0x82a341['plugins']['get'](_0x43a7ae)['createUploadAdapter']=_0xa89098=>new x(_0xa89098,_0x82a341),_0x82a341['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1958e9,{imageElement:_0x3e50b1,data:_0x3505})=>{_0x82a341['model']['change'](_0x1f536c=>{_0x1f536c['setAttribute']('uploadcareImageId',_0x3505['uploadcareImageId'],_0x3e50b1);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x34f367,_0x521b38){this['loader']=_0x34f367,this['editor']=_0x521b38,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x110073=this['editor']['config']['get']('uploadcare.pubkey'),_0x2eab6e=await this['loader']['file'];return _0x24034c['upload']({'file':_0x2eab6e,'publicKey':_0x110073,'signal':this['controller']['signal'],'onProgress':_0x21f1db=>{_0x21f1db&&_0x21f1db['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x21f1db['value']);}})['then'](async _0x40d9aa=>{const {imageFallbackUrl:_0x5d34c7,imageSources:_0x1a410c}=_0x17c53a(_0x40d9aa['cdnUrl'],_0x40d9aa['imageInfo']['width']);return{'uploadcareImageId':_0x40d9aa['uuid'],'default':_0x5d34c7,'sources':_0x1a410c};})['catch'](()=>{const _0x3cb85f=t('Cannot\x20upload\x20file:')+('\x20'+_0x2eab6e['name']+'.');return Promise['reject'](_0x3cb85f);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3af14c}from'ckeditor5/src/core.js';import{FileRepository as _0xbf8570}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x31cb68}from'./uploadcareediting.js';import{UploadUtils as _0x339bcb}from'./utils/uploadutils.js';import{getImageUrls as _0x2dc0b7}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3af14c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xbf8570,_0x31cb68];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x31e844=this['editor'];if(!!!_0x31e844['config']['get']('uploadcare'))return;_0x31e844['plugins']['get'](_0xbf8570)['createUploadAdapter']=_0x376196=>new A(_0x376196,_0x31e844),_0x31e844['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x29ef7f,{imageElement:_0x160550,data:_0x1ccf4b})=>{_0x31e844['model']['change'](_0x318c9a=>{_0x318c9a['setAttribute']('uploadcareImageId',_0x1ccf4b['uploadcareImageId'],_0x160550);});});}}class A{['loader'];['editor'];['controller'];constructor(_0xf600b,_0x95d9cb){this['loader']=_0xf600b,this['editor']=_0x95d9cb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x27460f=this['editor']['config']['get']('uploadcare.pubkey'),_0x25bfb5=await this['loader']['file'];return _0x339bcb['upload']({'file':_0x25bfb5,'publicKey':_0x27460f,'signal':this['controller']['signal'],'onProgress':_0x1fb6b5=>{_0x1fb6b5&&_0x1fb6b5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1fb6b5['value']);}})['then'](async _0x146e63=>{const {imageFallbackUrl:_0x59eacc,imageSources:_0x12854c}=_0x2dc0b7(_0x146e63['cdnUrl'],_0x146e63['imageInfo']['width']);return{'uploadcareImageId':_0x146e63['uuid'],'default':_0x59eacc,'sources':_0x12854c};})['catch'](()=>{const _0x1d73b4=t('Cannot\x20upload\x20file:')+('\x20'+_0x25bfb5['name']+'.');return Promise['reject'](_0x1d73b4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x9c8c52}from'../uploadcareconfig.js';export function getTranslation(_0x4bf178,_0x4767f5,_0x50284b){const t=_0x4bf178['t'],_0x3f08e6=_0x4bf178['t'];switch(_0x4767f5){case _0x9c8c52['Local']:return{'text':_0x3f08e6('Insert'===_0x50284b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f08e6('From\x20computer')};case _0x9c8c52['URL']:return{'text':'Insert'===_0x50284b?_0x3f08e6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f08e6('Via\x20URL')};case _0x9c8c52['Dropbox']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x9c8c52['Facebook']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x9c8c52['GDrive']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x9c8c52['GPhotos']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x9c8c52['OneDrive']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4767f5;}}
23
+ import{UploadcareSource as _0x292efe}from'../uploadcareconfig.js';export function getTranslation(_0x4184f2,_0x4bc987,_0x54703e){const t=_0x4184f2['t'],_0x3921dd=_0x4184f2['t'];switch(_0x4bc987){case _0x292efe['Local']:return{'text':_0x3921dd('Insert'===_0x54703e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3921dd('From\x20computer')};case _0x292efe['URL']:return{'text':'Insert'===_0x54703e?_0x3921dd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3921dd('Via\x20URL')};case _0x292efe['Dropbox']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x292efe['Facebook']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x292efe['GDrive']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x292efe['GPhotos']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x292efe['OneDrive']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4bc987;}}
@@ -16,7 +16,7 @@ import '../../theme/uploadcare-form.css';
16
16
  * especially during keyboard navigation, which can result in users losing the ability to cycle through
17
17
  * dialog elements.
18
18
  */
19
- export default abstract class DialogFocusManagerView extends View {
19
+ export declare abstract class DialogFocusManagerView extends View {
20
20
  /**
21
21
  * @inheritDoc
22
22
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa37c94=_0x1007;(function(_0x91b593,_0x2681d0){var _0x3f7435=_0x1007,_0x4f689a=_0x91b593();while(!![]){try{var _0x265df5=-parseInt(_0x3f7435(0x164))/0x1*(parseInt(_0x3f7435(0x15d))/0x2)+parseInt(_0x3f7435(0x157))/0x3+parseInt(_0x3f7435(0x167))/0x4*(-parseInt(_0x3f7435(0x158))/0x5)+parseInt(_0x3f7435(0x162))/0x6*(-parseInt(_0x3f7435(0x163))/0x7)+-parseInt(_0x3f7435(0x159))/0x8+-parseInt(_0x3f7435(0x15e))/0x9+parseInt(_0x3f7435(0x15b))/0xa;if(_0x265df5===_0x2681d0)break;else _0x4f689a['push'](_0x4f689a['shift']());}catch(_0x19b58d){_0x4f689a['push'](_0x4f689a['shift']());}}}(_0x2d0d,0x94d21));function _0x2d0d(){var _0x547218=['bindTemplate','12QfCAYR','767669jRrVUn','1jriAjX','createCollection','focusTracker','4377572RUrUll','fire','focusCycler','1531317JMyFyM','5Dczqjy','4264304WtgLwo','true','34587820JftXjl','getFocusableElement','1722590bYejGM','5864328gVIRgY','forwardCycle','div'];_0x2d0d=function(){return _0x547218;};return _0x2d0d();}import{FocusTracker as _0x1b03f8}from'ckeditor5/src/utils.js';import{View as _0x57b703,FocusCycler as _0x1077a7}from'ckeditor5/src/ui.js';function _0x1007(_0x1e2094,_0x4c4fb3){var _0x2d0d3f=_0x2d0d();return _0x1007=function(_0x10070f,_0x29cb6d){_0x10070f=_0x10070f-0x157;var _0x25e5ba=_0x2d0d3f[_0x10070f];return _0x25e5ba;},_0x1007(_0x1e2094,_0x4c4fb3);}import'../../theme/uploadcare-form.css';export default class q extends _0x57b703{[_0xa37c94(0x166)];[_0xa37c94(0x169)];constructor(_0x4c8592){var _0x126310=_0xa37c94;super(_0x4c8592),this[_0x126310(0x166)]=new _0x1b03f8(),this[_0x126310(0x169)]=new _0x1077a7({'focusables':this[_0x126310(0x165)](),'focusTracker':this[_0x126310(0x166)]});}[_0xa37c94(0x15c)](){var _0x231254=_0xa37c94;return{'tag':_0x231254(0x160),'attributes':{'aria-hidden':_0x231254(0x15a),'tabindex':'0'},'on':{'focus':this[_0x231254(0x161)]['to'](()=>{var _0x19c341=_0x231254;this[_0x19c341(0x169)][_0x19c341(0x168)](_0x19c341(0x15f));})}};}}
23
+ var _0x2c2533=_0x2e5b;(function(_0x433951,_0x1e86b1){var _0x3f07de=_0x2e5b,_0x1e3eb6=_0x433951();while(!![]){try{var _0x547394=-parseInt(_0x3f07de(0x194))/0x1+-parseInt(_0x3f07de(0x198))/0x2*(parseInt(_0x3f07de(0x19a))/0x3)+-parseInt(_0x3f07de(0x192))/0x4+-parseInt(_0x3f07de(0x193))/0x5+-parseInt(_0x3f07de(0x19b))/0x6+-parseInt(_0x3f07de(0x191))/0x7+parseInt(_0x3f07de(0x19e))/0x8;if(_0x547394===_0x1e86b1)break;else _0x1e3eb6['push'](_0x1e3eb6['shift']());}catch(_0x130e49){_0x1e3eb6['push'](_0x1e3eb6['shift']());}}}(_0x1baa,0x33138));import{FocusTracker as _0x45d2ab}from'ckeditor5/src/utils.js';import{View as _0x44ff10,FocusCycler as _0xb1c2b2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x2e5b(_0x4bb8c1,_0x1b9ce8){var _0x1baa96=_0x1baa();return _0x2e5b=function(_0x2e5b8b,_0x19679e){_0x2e5b8b=_0x2e5b8b-0x18e;var _0x5f35e0=_0x1baa96[_0x2e5b8b];return _0x5f35e0;},_0x2e5b(_0x4bb8c1,_0x1b9ce8);}export class DialogFocusManagerView extends _0x44ff10{[_0x2c2533(0x19d)];[_0x2c2533(0x19c)];constructor(_0x2224c6){var _0x58e266=_0x2c2533;super(_0x2224c6),this[_0x58e266(0x19d)]=new _0x45d2ab(),this[_0x58e266(0x19c)]=new _0xb1c2b2({'focusables':this[_0x58e266(0x195)](),'focusTracker':this[_0x58e266(0x19d)]});}[_0x2c2533(0x190)](){var _0x3ebc8f=_0x2c2533;return{'tag':_0x3ebc8f(0x18f),'attributes':{'aria-hidden':_0x3ebc8f(0x18e),'tabindex':'0'},'on':{'focus':this[_0x3ebc8f(0x197)]['to'](()=>{var _0x5e63b7=_0x3ebc8f;this[_0x5e63b7(0x19c)][_0x5e63b7(0x199)](_0x5e63b7(0x196));})}};}}function _0x1baa(){var _0x5a529a=['createCollection','forwardCycle','bindTemplate','3636Sadfpt','fire','123CCNBgj','1085178xBmLhF','focusCycler','focusTracker','10712840azdGvV','true','div','getFocusableElement','2117892iINtTT','706636OaBQdW','649150NVJowu','265451NITbUg'];_0x1baa=function(){return _0x5a529a;};return _0x1baa();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1529(){const _0x2fdb97=['removeStyle','plugins','toViewElement','5rmhIVG','stopListening','load','image-processing','get','isArray','px)\x20100vw,\x20','view','(max-width:\x20','viewToDom','removeClass','origin','element','function','imageBlock','match','document','replace','45051UXQFNr','height','filter','4059032OmBADd','ImageUtils','domConverter','/-/resize/','window','18BofnPw','addClass','setStyle','src','join','58mjdtYQ','aspect-ratio','mapper','baseURI','some','image/webp','location','9505010akzCiP','getAttribute','668838DNHoRn','width','x/\x20','findViewImgElement','create','535304WxwkiI','imageInline','listenTo','change','hasAttribute','uploadcareImageId','3577152eNwWCi','map','7073340COQzuq','editing'];_0x1529=function(){return _0x2fdb97;};return _0x1529();}(function(_0x1aba87,_0x14c986){const _0x94d424=_0x2522,_0x7073ca=_0x1aba87();while(!![]){try{const _0x2d7168=parseInt(_0x94d424(0x1ff))/0x1+-parseInt(_0x94d424(0x1f6))/0x2*(parseInt(_0x94d424(0x223))/0x3)+-parseInt(_0x94d424(0x20a))/0x4+-parseInt(_0x94d424(0x211))/0x5*(parseInt(_0x94d424(0x20c))/0x6)+parseInt(_0x94d424(0x204))/0x7+parseInt(_0x94d424(0x226))/0x8+parseInt(_0x94d424(0x1f1))/0x9*(parseInt(_0x94d424(0x1fd))/0xa);if(_0x2d7168===_0x14c986)break;else _0x7073ca['push'](_0x7073ca['shift']());}catch(_0x3e1ec6){_0x7073ca['push'](_0x7073ca['shift']());}}}(_0x1529,0x9d79c));import{global as _0x3d5024,DomEmitterMixin as _0x59292f}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x21467e){const _0x37fcb3=_0x2522,_0x4dd516=V(_0x21467e);return _0x5a5ab8=>!(!_0x5a5ab8||!_0x5a5ab8['is'](_0x37fcb3(0x21d),_0x37fcb3(0x21f))&&!_0x5a5ab8['is'](_0x37fcb3(0x21d),_0x37fcb3(0x205)))&&(!!_0x5a5ab8[_0x37fcb3(0x208)](_0x37fcb3(0x209))||!!_0x5a5ab8[_0x37fcb3(0x208)](_0x37fcb3(0x1f4))&&_0x4dd516(_0x5a5ab8[_0x37fcb3(0x1fe)](_0x37fcb3(0x1f4))));}export function getImageUrls(_0x9065cc,_0x468ad9){const _0x2f0e88=_0x2522,_0x845c62=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x2f0e88(0x225)](_0x29e2cc=>_0x29e2cc<=_0x468ad9)[_0x2f0e88(0x20b)](_0x274da5=>_0x9065cc[_0x2f0e88(0x222)](/\/$/,'')+_0x2f0e88(0x229)+_0x274da5+_0x2f0e88(0x201)+_0x274da5+'w');return{'imageFallbackUrl':_0x9065cc,'imageSources':[{'srcset':_0x845c62[_0x2f0e88(0x1f5)](',\x20'),'sizes':_0x2f0e88(0x219)+_0x468ad9+_0x2f0e88(0x217)+_0x468ad9+'px','type':_0x2f0e88(0x1fb)}]};}export function getImageDimension(_0x2ef911,_0x199f15,_0x526fab){const _0x1c0b55=_0x2522,_0x322f39=_0x2ef911[_0x1c0b55(0x220)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x322f39?parseInt(_0x322f39[0x1],0xa):_0x199f15,'height':_0x322f39?parseInt(_0x322f39[0x2],0xa):_0x526fab};}export function showImageProcessingIndicator(_0x528897,_0x6b0f9b){const _0x27f2c8=_0x2522,_0xed6bcf=Object[_0x27f2c8(0x203)](_0x59292f),_0x2eeca7=_0x528897[_0x27f2c8(0x20f)][_0x27f2c8(0x215)](_0x27f2c8(0x227)),_0x53fe93=_0x528897[_0x27f2c8(0x20d)][_0x27f2c8(0x1f8)][_0x27f2c8(0x210)](_0x6b0f9b),_0x1ecdea=_0x2eeca7[_0x27f2c8(0x202)](_0x53fe93),_0x3c804a=_0x528897[_0x27f2c8(0x20d)][_0x27f2c8(0x218)][_0x27f2c8(0x228)][_0x27f2c8(0x21a)](_0x1ecdea),_0x24e28a=_0x6b0f9b[_0x27f2c8(0x1fe)](_0x27f2c8(0x200)),_0x43b674=_0x6b0f9b[_0x27f2c8(0x1fe)](_0x27f2c8(0x224)),_0x3275a5=_0x27f2c8(0x214);_0x528897[_0x27f2c8(0x20d)][_0x27f2c8(0x218)][_0x27f2c8(0x207)](_0xbffb87=>{const _0x7d2ad6=_0x27f2c8;_0xbffb87[_0x7d2ad6(0x1f2)](_0x3275a5,_0x53fe93),_0xbffb87[_0x7d2ad6(0x1f3)](_0x7d2ad6(0x1f7),_0x24e28a+'/'+_0x43b674,_0x1ecdea);}),_0xed6bcf[_0x27f2c8(0x206)](_0x3c804a,_0x27f2c8(0x213),()=>{const _0x3ab6e3=_0x27f2c8;_0xed6bcf[_0x3ab6e3(0x212)](_0x3c804a,_0x3ab6e3(0x213)),_0x528897[_0x3ab6e3(0x20d)][_0x3ab6e3(0x218)][_0x3ab6e3(0x207)](_0x104bb7=>{const _0x16a9ea=_0x3ab6e3;_0x104bb7[_0x16a9ea(0x21b)](_0x3275a5,_0x53fe93),_0x104bb7[_0x16a9ea(0x20e)](_0x16a9ea(0x1f7),_0x1ecdea);});});}function _0x2522(_0x13f0df,_0x588aa8){const _0x152936=_0x1529();return _0x2522=function(_0x252279,_0x3857a7){_0x252279=_0x252279-0x1f0;let _0x7869bd=_0x152936[_0x252279];return _0x7869bd;},_0x2522(_0x13f0df,_0x588aa8);}function V(_0x49f6bb){const _0x321e9d=_0x2522;if(Array[_0x321e9d(0x216)](_0x49f6bb)){const _0x5c4da4=_0x49f6bb[_0x321e9d(0x20b)](V);return _0x4be641=>_0x5c4da4[_0x321e9d(0x1fa)](_0xd58afe=>_0xd58afe(_0x4be641));}if(_0x321e9d(0x21c)==_0x49f6bb){const _0x2e4f16=_0x3d5024[_0x321e9d(0x1f0)][_0x321e9d(0x1fc)][_0x321e9d(0x21c)];return _0x53bfc0=>new URL(_0x53bfc0,_0x3d5024[_0x321e9d(0x221)][_0x321e9d(0x1f9)])[_0x321e9d(0x21c)]==_0x2e4f16;}return _0x321e9d(0x21e)==typeof _0x49f6bb?_0x49f6bb:_0x49f6bb instanceof RegExp?_0x5d7819=>!(!_0x5d7819[_0x321e9d(0x220)](_0x49f6bb)&&!_0x5d7819[_0x321e9d(0x222)](/^https?:\/\//,'')[_0x321e9d(0x220)](_0x49f6bb)):()=>!0x1;}
23
+ function _0x1cea(_0x2fc823,_0x32111a){const _0x31cad1=_0x31ca();return _0x1cea=function(_0x1cea60,_0x30ff36){_0x1cea60=_0x1cea60-0x1a2;let _0x584ee3=_0x31cad1[_0x1cea60];return _0x584ee3;},_0x1cea(_0x2fc823,_0x32111a);}(function(_0x254381,_0x5b7dba){const _0x594fe0=_0x1cea,_0x745f07=_0x254381();while(!![]){try{const _0x406db9=parseInt(_0x594fe0(0x1b7))/0x1+parseInt(_0x594fe0(0x1cb))/0x2*(parseInt(_0x594fe0(0x1ae))/0x3)+-parseInt(_0x594fe0(0x1ba))/0x4*(-parseInt(_0x594fe0(0x1c5))/0x5)+-parseInt(_0x594fe0(0x1b5))/0x6*(parseInt(_0x594fe0(0x1b4))/0x7)+parseInt(_0x594fe0(0x1cd))/0x8*(-parseInt(_0x594fe0(0x1d4))/0x9)+-parseInt(_0x594fe0(0x1c2))/0xa+parseInt(_0x594fe0(0x1d2))/0xb;if(_0x406db9===_0x5b7dba)break;else _0x745f07['push'](_0x745f07['shift']());}catch(_0x90d93e){_0x745f07['push'](_0x745f07['shift']());}}}(_0x31ca,0x41d61));function _0x31ca(){const _0x2679d9=['listenTo','view','isArray','plugins','toViewElement','filter','width','mapper','origin','addClass','removeStyle','hasAttribute','window','get','406647hCYNYP','editing','domConverter','map','setStyle','aspect-ratio','150962uRQuIE','12tUexjV','image/webp','276830XmBdTS','match','/-/resize/','80toGTjl','load','change','src','baseURI','imageInline','image-processing','findViewImgElement','3794950wBUFch','imageBlock','ImageUtils','87545NFcuyS','height','join','x/\x20','some','viewToDom','2QjuvgU','(max-width:\x20','464tSFdEG','location','replace','element','function','4777663FDMRfc','stopListening','78300FkVGiq','document','removeClass','px)\x20100vw,\x20','uploadcareImageId','getAttribute'];_0x31ca=function(){return _0x2679d9;};return _0x31ca();}import{global as _0x4c03f0,DomEmitterMixin as _0xc3ad2a}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5577cd){const _0xd809c6=_0x1cea,_0x4830d8=G(_0x5577cd);return _0x17cd8f=>!(!_0x17cd8f||!_0x17cd8f['is'](_0xd809c6(0x1d0),_0xd809c6(0x1c3))&&!_0x17cd8f['is'](_0xd809c6(0x1d0),_0xd809c6(0x1bf)))&&(!!_0x17cd8f[_0xd809c6(0x1ab)](_0xd809c6(0x1d8))||!!_0x17cd8f[_0xd809c6(0x1ab)](_0xd809c6(0x1bd))&&_0x4830d8(_0x17cd8f[_0xd809c6(0x1d9)](_0xd809c6(0x1bd))));}export function getImageUrls(_0xe7c13e,_0x3bdc12){const _0x355b23=_0x1cea,_0x213b24=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x355b23(0x1a5)](_0x1d60ce=>_0x1d60ce<=_0x3bdc12)[_0x355b23(0x1b1)](_0x835026=>_0xe7c13e[_0x355b23(0x1cf)](/\/$/,'')+_0x355b23(0x1b9)+_0x835026+_0x355b23(0x1c8)+_0x835026+'w');return{'imageFallbackUrl':_0xe7c13e,'imageSources':[{'srcset':_0x213b24[_0x355b23(0x1c7)](',\x20'),'sizes':_0x355b23(0x1cc)+_0x3bdc12+_0x355b23(0x1d7)+_0x3bdc12+'px','type':_0x355b23(0x1b6)}]};}export function getImageDimension(_0xccedec,_0x3af59d,_0xf91315){const _0x298ed3=_0x1cea,_0x48a998=_0xccedec[_0x298ed3(0x1b8)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x48a998?parseInt(_0x48a998[0x1],0xa):_0x3af59d,'height':_0x48a998?parseInt(_0x48a998[0x2],0xa):_0xf91315};}export function showImageProcessingIndicator(_0x280b4b,_0x4b99c3){const _0x372cc7=_0x1cea,_0x4613c0=new(_0xc3ad2a())(),_0x4d5b59=_0x280b4b[_0x372cc7(0x1a3)][_0x372cc7(0x1ad)](_0x372cc7(0x1c4)),_0xcca20d=_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1a7)][_0x372cc7(0x1a4)](_0x4b99c3),_0x812091=_0x4d5b59[_0x372cc7(0x1c1)](_0xcca20d),_0x536fd1=_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1db)][_0x372cc7(0x1b0)][_0x372cc7(0x1ca)](_0x812091),_0x3d47ef=_0x4b99c3[_0x372cc7(0x1d9)](_0x372cc7(0x1a6)),_0x17a3da=_0x4b99c3[_0x372cc7(0x1d9)](_0x372cc7(0x1c6)),_0x2c7269=_0x372cc7(0x1c0);_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1db)][_0x372cc7(0x1bc)](_0x520142=>{const _0x3eaec4=_0x372cc7;_0x520142[_0x3eaec4(0x1a9)](_0x2c7269,_0xcca20d),_0x520142[_0x3eaec4(0x1b2)](_0x3eaec4(0x1b3),_0x3d47ef+'/'+_0x17a3da,_0x812091);}),_0x4613c0[_0x372cc7(0x1da)](_0x536fd1,_0x372cc7(0x1bb),()=>{const _0x5dab97=_0x372cc7;_0x4613c0[_0x5dab97(0x1d3)](_0x536fd1,_0x5dab97(0x1bb)),_0x280b4b[_0x5dab97(0x1af)][_0x5dab97(0x1db)][_0x5dab97(0x1bc)](_0xbc3765=>{const _0x38d077=_0x5dab97;_0xbc3765[_0x38d077(0x1d6)](_0x2c7269,_0xcca20d),_0xbc3765[_0x38d077(0x1aa)](_0x38d077(0x1b3),_0x812091);});});}function G(_0x56bc47){const _0x413aa6=_0x1cea;if(Array[_0x413aa6(0x1a2)](_0x56bc47)){const _0x3a9381=_0x56bc47[_0x413aa6(0x1b1)](G);return _0x281a5f=>_0x3a9381[_0x413aa6(0x1c9)](_0x4fcaa3=>_0x4fcaa3(_0x281a5f));}if(_0x413aa6(0x1a8)==_0x56bc47){const _0x5b912e=_0x4c03f0[_0x413aa6(0x1ac)][_0x413aa6(0x1ce)][_0x413aa6(0x1a8)];return _0x3e5271=>new URL(_0x3e5271,_0x4c03f0[_0x413aa6(0x1d5)][_0x413aa6(0x1be)])[_0x413aa6(0x1a8)]==_0x5b912e;}return _0x413aa6(0x1d1)==typeof _0x56bc47?_0x56bc47:_0x56bc47 instanceof RegExp?_0x3980a8=>!(!_0x3980a8[_0x413aa6(0x1b8)](_0x56bc47)&&!_0x3980a8[_0x413aa6(0x1cf)](/^https?:\/\//,'')[_0x413aa6(0x1b8)](_0x56bc47)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e67(_0x2bccac,_0x7fcb09){var _0x2c0e26=_0x2c0e();return _0x4e67=function(_0x4e678e,_0x38f73d){_0x4e678e=_0x4e678e-0x1df;var _0x5f1db0=_0x2c0e26[_0x4e678e];return _0x5f1db0;},_0x4e67(_0x2bccac,_0x7fcb09);}(function(_0x34923e,_0x6c37b0){var _0x3f46e2=_0x4e67,_0x2dc20d=_0x34923e();while(!![]){try{var _0x1273b2=parseInt(_0x3f46e2(0x1e2))/0x1*(parseInt(_0x3f46e2(0x1e9))/0x2)+-parseInt(_0x3f46e2(0x1df))/0x3*(-parseInt(_0x3f46e2(0x1ea))/0x4)+-parseInt(_0x3f46e2(0x1e7))/0x5*(-parseInt(_0x3f46e2(0x1e1))/0x6)+-parseInt(_0x3f46e2(0x1e0))/0x7*(-parseInt(_0x3f46e2(0x1eb))/0x8)+-parseInt(_0x3f46e2(0x1ec))/0x9+parseInt(_0x3f46e2(0x1e5))/0xa*(-parseInt(_0x3f46e2(0x1e3))/0xb)+parseInt(_0x3f46e2(0x1e6))/0xc*(-parseInt(_0x3f46e2(0x1ed))/0xd);if(_0x1273b2===_0x6c37b0)break;else _0x2dc20d['push'](_0x2dc20d['shift']());}catch(_0x1a11bd){_0x2dc20d['push'](_0x2dc20d['shift']());}}}(_0x2c0e,0x908ea));import{getAncestors as _0x26e708}from'ckeditor5/src/utils.js';export function isAncestor(_0x362918,_0x247a10){var _0x3a13df=_0x4e67;return _0x26e708(_0x362918[_0x3a13df(0x1e8)])[_0x3a13df(0x1e4)](_0x247a10);}function _0x2c0e(){var _0x4393f4=['target','1080380IzudKj','311332QeKCPH','1272rerSEO','5535684WVcqtz','10375989mziiyy','24GzKRCE','46543lrBbki','18fhoYuh','1tsvuSQ','127094geFHDd','includes','240Llcjtp','24DpgSgF','1434565zBsANR'];_0x2c0e=function(){return _0x4393f4;};return _0x2c0e();}
23
+ function _0x5276(){var _0x4c48b0=['11HxHIzn','7xEQbSs','23972mUTHPW','2721805sYRpLk','1113198ODvzoF','target','8PlmLeH','1860273HbDbXa','includes','322182JdIztq','1629410ZDYASq','135576OGBJBu','177bOpeho'];_0x5276=function(){return _0x4c48b0;};return _0x5276();}(function(_0x2ee07e,_0x460d84){var _0x2ad749=_0x386d,_0x2f59da=_0x2ee07e();while(!![]){try{var _0x1615bb=-parseInt(_0x2ad749(0x117))/0x1+-parseInt(_0x2ad749(0x119))/0x2+parseInt(_0x2ad749(0x11a))/0x3*(-parseInt(_0x2ad749(0x11d))/0x4)+parseInt(_0x2ad749(0x111))/0x5+parseInt(_0x2ad749(0x112))/0x6*(parseInt(_0x2ad749(0x11c))/0x7)+-parseInt(_0x2ad749(0x114))/0x8*(-parseInt(_0x2ad749(0x115))/0x9)+-parseInt(_0x2ad749(0x118))/0xa*(-parseInt(_0x2ad749(0x11b))/0xb);if(_0x1615bb===_0x460d84)break;else _0x2f59da['push'](_0x2f59da['shift']());}catch(_0x338d7f){_0x2f59da['push'](_0x2f59da['shift']());}}}(_0x5276,0x56e87));import{getAncestors as _0x252f6f}from'ckeditor5/src/utils.js';function _0x386d(_0x39dae6,_0x359ddc){var _0x527680=_0x5276();return _0x386d=function(_0x386da2,_0x3a694f){_0x386da2=_0x386da2-0x111;var _0x39dff0=_0x527680[_0x386da2];return _0x39dff0;},_0x386d(_0x39dae6,_0x359ddc);}export function isAncestor(_0xeafb15,_0x32b526){var _0x2dfce4=_0x386d;return _0x252f6f(_0xeafb15[_0x2dfce4(0x113)])[_0x2dfce4(0x116)](_0x32b526);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x54cd83=_0x80e0;(function(_0x36fe95,_0x2eecac){var _0x1cfbd0=_0x80e0,_0x10a0c3=_0x36fe95();while(!![]){try{var _0x306d8d=-parseInt(_0x1cfbd0(0x153))/0x1+-parseInt(_0x1cfbd0(0x154))/0x2*(parseInt(_0x1cfbd0(0x150))/0x3)+-parseInt(_0x1cfbd0(0x14e))/0x4+parseInt(_0x1cfbd0(0x159))/0x5*(parseInt(_0x1cfbd0(0x151))/0x6)+-parseInt(_0x1cfbd0(0x155))/0x7*(parseInt(_0x1cfbd0(0x157))/0x8)+-parseInt(_0x1cfbd0(0x15a))/0x9+parseInt(_0x1cfbd0(0x152))/0xa;if(_0x306d8d===_0x2eecac)break;else _0x10a0c3['push'](_0x10a0c3['shift']());}catch(_0x133143){_0x10a0c3['push'](_0x10a0c3['shift']());}}}(_0x1af1,0x7499b));import{uploadFile as _0x343262,info as _0x4d8abf}from'@uploadcare/upload-client';function _0x80e0(_0x3b9470,_0x4069cf){var _0x1af1ae=_0x1af1();return _0x80e0=function(_0x80e08,_0x178f2c){_0x80e08=_0x80e08-0x14e;var _0xe254c0=_0x1af1ae[_0x80e08];return _0xe254c0;},_0x80e0(_0x3b9470,_0x4069cf);}export default class C{static[_0x54cd83(0x156)]({file:_0x44c189,publicKey:_0x41a841,signal:_0x154bca,onProgress:_0x5768ee}){var _0x11ae4d=_0x54cd83;return _0x343262(_0x44c189,{'publicKey':_0x41a841,'store':_0x11ae4d(0x158),'signal':_0x154bca,'onProgress':_0x5768ee});}static[_0x54cd83(0x14f)](_0x498569,_0x445822){return _0x4d8abf(_0x498569,_0x445822);}}function _0x1af1(){var _0x1dc5f0=['getInfo','6798yJNrYB','12AxvDDc','21416060MZyZfw','759170SAABEX','86YMCFFd','92197MVNrqQ','upload','424LuiSBp','auto','452460ZGvBRK','1115172DmUZes','665664TBznkH'];_0x1af1=function(){return _0x1dc5f0;};return _0x1af1();}
23
+ var _0x124987=_0x23b6;function _0x2740(){var _0x33d5ed=['3837792AVGwYh','5MfFPnB','upload','getInfo','71931XiaBXO','16BySRqz','6500515DALGtn','1772690LUfFYD','8642416wSwNzr','42224963mmcxSD','27565TlnMiB','auto','9OLjnHK','96tHUZiJ'];_0x2740=function(){return _0x33d5ed;};return _0x2740();}(function(_0x2d4812,_0x2b30cd){var _0x1b129a=_0x23b6,_0x5484d6=_0x2d4812();while(!![]){try{var _0x12e0cb=-parseInt(_0x1b129a(0xc2))/0x1*(-parseInt(_0x1b129a(0xcb))/0x2)+-parseInt(_0x1b129a(0xca))/0x3*(parseInt(_0x1b129a(0xc5))/0x4)+-parseInt(_0x1b129a(0xc7))/0x5*(parseInt(_0x1b129a(0xc6))/0x6)+-parseInt(_0x1b129a(0xcc))/0x7+-parseInt(_0x1b129a(0xce))/0x8+parseInt(_0x1b129a(0xc4))/0x9*(-parseInt(_0x1b129a(0xcd))/0xa)+parseInt(_0x1b129a(0xc1))/0xb;if(_0x12e0cb===_0x2b30cd)break;else _0x5484d6['push'](_0x5484d6['shift']());}catch(_0x369b9c){_0x5484d6['push'](_0x5484d6['shift']());}}}(_0x2740,0xa09c1));function _0x23b6(_0xe8d27,_0x57344a){var _0x2740a7=_0x2740();return _0x23b6=function(_0x23b68b,_0x3f5f6d){_0x23b68b=_0x23b68b-0xc1;var _0x6a2071=_0x2740a7[_0x23b68b];return _0x6a2071;},_0x23b6(_0xe8d27,_0x57344a);}import{uploadFile as _0xa127da,info as _0x26cfb3}from'@uploadcare/upload-client';export class UploadUtils{static[_0x124987(0xc8)]({file:_0xbd269,publicKey:_0x3ba219,signal:_0x5e4598,onProgress:_0x4618ce}){var _0x4f5bec=_0x124987;return _0xa127da(_0xbd269,{'publicKey':_0x3ba219,'store':_0x4f5bec(0xc3),'signal':_0x5e4598,'onProgress':_0x4618ce});}static[_0x124987(0xc9)](_0x35fea8,_0xb27c2d){return _0x26cfb3(_0x35fea8,_0xb27c2d);}}