@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250605.0 → 0.0.0-nightly-20250606.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 (193) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/augmentation.d.ts +4 -4
  151. package/src/index.d.ts +7 -7
  152. package/src/index.js +1 -1
  153. package/src/ui/uploadcarecontroller.d.ts +2 -2
  154. package/src/ui/uploadcarecontroller.js +2 -2
  155. package/src/ui/uploadcareformview.d.ts +2 -2
  156. package/src/ui/uploadcareformview.js +1 -1
  157. package/src/uploadcare.d.ts +3 -3
  158. package/src/uploadcare.js +1 -1
  159. package/src/uploadcarecommand.d.ts +2 -2
  160. package/src/uploadcarecommand.js +1 -1
  161. package/src/uploadcareconfig.js +1 -1
  162. package/src/uploadcareediting.d.ts +2 -2
  163. package/src/uploadcareediting.js +1 -1
  164. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +6 -2
  165. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  166. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
  167. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  168. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  169. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  170. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
  171. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  172. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +3 -3
  173. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  174. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  175. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  176. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  177. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  178. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  179. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  180. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  181. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  182. package/src/uploadcareimageedit.d.ts +3 -3
  183. package/src/uploadcareimageedit.js +1 -1
  184. package/src/uploadcareui.d.ts +1 -1
  185. package/src/uploadcareui.js +1 -1
  186. package/src/uploadcareuploadadapter.d.ts +2 -2
  187. package/src/uploadcareuploadadapter.js +1 -1
  188. package/src/utils/common-translations.js +1 -1
  189. package/src/utils/dialogfocusmanagerview.d.ts +1 -1
  190. package/src/utils/dialogfocusmanagerview.js +1 -1
  191. package/src/utils/editingutils.js +1 -1
  192. package/src/utils/isancestor.js +1 -1
  193. package/src/utils/uploadutils.js +1 -1
@@ -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 _0x329aa9=_0x1199;(function(_0x569163,_0x5db539){var _0x5d424c=_0x1199,_0x3e6d52=_0x569163();while(!![]){try{var _0x1deddf=parseInt(_0x5d424c(0x1d1))/0x1*(parseInt(_0x5d424c(0x1d2))/0x2)+-parseInt(_0x5d424c(0x1d4))/0x3+-parseInt(_0x5d424c(0x1d6))/0x4*(parseInt(_0x5d424c(0x1d9))/0x5)+-parseInt(_0x5d424c(0x1d3))/0x6*(-parseInt(_0x5d424c(0x1db))/0x7)+parseInt(_0x5d424c(0x1dc))/0x8+parseInt(_0x5d424c(0x1d8))/0x9+-parseInt(_0x5d424c(0x1d7))/0xa;if(_0x1deddf===_0x5db539)break;else _0x3e6d52['push'](_0x3e6d52['shift']());}catch(_0x2d30a7){_0x3e6d52['push'](_0x3e6d52['shift']());}}}(_0x2708,0x27d2d));function _0x2708(){var _0x2fc541=['1932jOLPye','870006kQpWhI','UploadcareImageEdit','394916HYlyNd','2273100QjTRfx','915354ICLPJM','5ZOkPEU','requires','3969qKivmj','1501888iNazlV','isOfficialPlugin','isPremiumPlugin','pluginName','307142PWEKrG','2rJjSbf'];_0x2708=function(){return _0x2fc541;};return _0x2708();}import{Plugin as _0x59847a}from'ckeditor5/src/core.js';import _0x15c21c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x18c746 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1199(_0x5e1040,_0x443ce8){var _0x270877=_0x2708();return _0x1199=function(_0x119959,_0x16327b){_0x119959=_0x119959-0x1d0;var _0x56a99b=_0x270877[_0x119959];return _0x56a99b;},_0x1199(_0x5e1040,_0x443ce8);}export default class P extends _0x59847a{static get[_0x329aa9(0x1d0)](){var _0x4f712c=_0x329aa9;return _0x4f712c(0x1d5);}static get[_0x329aa9(0x1da)](){return[_0x15c21c,_0x18c746];}static get[_0x329aa9(0x1dd)](){return!0x0;}static get[_0x329aa9(0x1de)](){return!0x0;}}
23
+ var _0xe32694=_0x466a;(function(_0x31c9ad,_0x45c07e){var _0x1fd984=_0x466a,_0x41fdf7=_0x31c9ad();while(!![]){try{var _0x41a7af=parseInt(_0x1fd984(0x102))/0x1*(parseInt(_0x1fd984(0xff))/0x2)+parseInt(_0x1fd984(0x103))/0x3*(-parseInt(_0x1fd984(0xfc))/0x4)+-parseInt(_0x1fd984(0x109))/0x5*(-parseInt(_0x1fd984(0x10a))/0x6)+-parseInt(_0x1fd984(0x107))/0x7*(parseInt(_0x1fd984(0xfb))/0x8)+parseInt(_0x1fd984(0xfe))/0x9*(-parseInt(_0x1fd984(0xfa))/0xa)+-parseInt(_0x1fd984(0x104))/0xb*(-parseInt(_0x1fd984(0x101))/0xc)+parseInt(_0x1fd984(0xfd))/0xd;if(_0x41a7af===_0x45c07e)break;else _0x41fdf7['push'](_0x41fdf7['shift']());}catch(_0x44e41e){_0x41fdf7['push'](_0x41fdf7['shift']());}}}(_0x1255,0x7d465));import{Plugin as _0x67c282}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x40c581}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4a7e70}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x466a(_0x597e1d,_0x3b41c3){var _0x12557c=_0x1255();return _0x466a=function(_0x466a86,_0x529528){_0x466a86=_0x466a86-0xfa;var _0x58c1d4=_0x12557c[_0x466a86];return _0x58c1d4;},_0x466a(_0x597e1d,_0x3b41c3);}export class UploadcareImageEdit extends _0x67c282{static get[_0xe32694(0x108)](){var _0x166b68=_0xe32694;return _0x166b68(0x105);}static get[_0xe32694(0x106)](){return[_0x40c581,_0x4a7e70];}static get[_0xe32694(0x100)](){return!0x0;}static get[_0xe32694(0x10b)](){return!0x0;}}function _0x1255(){var _0x5e0c50=['4829xaHqpf','UploadcareImageEdit','requires','56574bRLLnY','pluginName','582095IzFhNx','24jQmCmZ','isPremiumPlugin','10bJTFwg','328TgizDV','1356GwlAYs','1110291CfdbEr','4998087HbQcMg','2BzvHNe','isOfficialPlugin','7620rABRNh','999834afjnCo','3804XZXNBG'];_0x1255=function(){return _0x5e0c50;};return _0x1255();}
@@ -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 _0x219840=_0x418e;(function(_0x572389,_0x1bb8fc){const _0x330466=_0x418e,_0x5b743d=_0x572389();while(!![]){try{const _0x42ee11=parseInt(_0x330466(0x1ad))/0x1+parseInt(_0x330466(0x1a0))/0x2*(-parseInt(_0x330466(0x19c))/0x3)+-parseInt(_0x330466(0x1be))/0x4+parseInt(_0x330466(0x182))/0x5*(parseInt(_0x330466(0x188))/0x6)+-parseInt(_0x330466(0x171))/0x7+-parseInt(_0x330466(0x1bd))/0x8*(-parseInt(_0x330466(0x1b2))/0x9)+-parseInt(_0x330466(0x199))/0xa*(-parseInt(_0x330466(0x183))/0xb);if(_0x42ee11===_0x1bb8fc)break;else _0x5b743d['push'](_0x5b743d['shift']());}catch(_0x3cb1a9){_0x5b743d['push'](_0x5b743d['shift']());}}}(_0x4546,0x7d007));import{Plugin as _0xd74971}from'ckeditor5/src/core.js';import{IconDropbox as _0x4edc3c,IconFacebook as _0x3765c0,IconGoogleDrive as _0x12a54d,IconGooglePhotos as _0x41a13a,IconUploadcareImageUpload as _0x385bab,IconUploadcareLink as _0x184273,IconOneDrive as _0x2a0afc}from'ckeditor5/src/icons.js';function _0x4546(){const _0x2e972b=['isOfficialPlugin','Dropbox','entries','label','UploadcareUI','_getIntegrationKey','uploadcareLicenseKeyExpired','text','expired','710884OAQCWY','Local','featureNotAllowed','destroy','licenseKey','297GpNMlH','withText','isImageSelected','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyValid','uploadcare.uploader.sourceList','afterInit','uploadcareLicenseKeyNotAllowed','GDrive','URL','Uploadcare','100184eGwDtj','1219156WgtszB','invalid','evaluationLimit','Insert','OneDrive','2251011FdgtBc','url','locale','tooltip','trialLimit','Replace','editor','registerIntegration','commands','usageLimit','shortText','pluginName','type','plugins','uploadcareLicenseKeyUsageLimit','map','get','14360TAooQN','132ZpmEGp','_showLicenseError','isEnabled','upload','execute','1392IGWLVK','has','_createButton','_createToolbarButton','icon','ImageInsertUI','uploadcareLicenseKeyEvaluationLimit','bind','uploadcareLicenseKeyInvalid','reduce','Facebook','_createDropdownButtons','config','isPremiumPlugin','uploadcare','assetManager','_createMenuBarButtons','223960KnNTBn','forEach','init','30uYNHnc','domainLimit','_licenseKeyCheckInterval','GPhotos','184166LLslvI','_normalizeConfigSourceList','uploadcareLicenseKeyDomainLimit','push'];_0x4546=function(){return _0x2e972b;};return _0x4546();}import{ButtonView as _0x1c50ea,MenuBarMenuListItemButtonView as _0x3670be}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x59e000}from'./uploadcareconfig.js';import{getTranslation as _0x58209b}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 _0x418e(_0x27c44d,_0x242368){const _0x4546c9=_0x4546();return _0x418e=function(_0x418e46,_0x41cbb0){_0x418e46=_0x418e46-0x16f;let _0x4f9244=_0x4546c9[_0x418e46];return _0x4f9244;},_0x418e(_0x27c44d,_0x242368);}export default class e extends _0xd74971{[_0x219840(0x1b1)];[_0x219840(0x19e)];static get[_0x219840(0x17c)](){const _0x45a8cb=_0x219840;return _0x45a8cb(0x1a8);}static get[_0x219840(0x1a4)](){return!0x0;}static get[_0x219840(0x195)](){return!0x0;}[_0x219840(0x19b)](){const _0x4181d8=_0x219840;this[_0x4181d8(0x1b1)]=this[_0x4181d8(0x177)][_0x4181d8(0x194)][_0x4181d8(0x181)](_0x4181d8(0x1b1));const _0x2abebf=this[_0x4181d8(0x177)];this[_0x4181d8(0x19e)]=setInterval(()=>{const _0x2dc319=_0x4181d8;let _0x54d049;for(const _0x38965e in _0x2abebf){const _0x4f6a14=_0x38965e,_0x4e991b=_0x2abebf[_0x4f6a14];if(_0x2dc319(0x1b6)==_0x4e991b||_0x2dc319(0x190)==_0x4e991b||_0x2dc319(0x1aa)==_0x4e991b||_0x2dc319(0x1a2)==_0x4e991b||_0x2dc319(0x1b9)==_0x4e991b||_0x2dc319(0x18e)==_0x4e991b||_0x2dc319(0x1b5)==_0x4e991b||_0x2dc319(0x17f)==_0x4e991b){delete _0x2abebf[_0x4f6a14],_0x54d049=_0x4e991b,clearInterval(this[_0x2dc319(0x19e)]),this[_0x2dc319(0x19e)]=void 0x0;break;}}_0x2dc319(0x190)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1bf)),_0x2dc319(0x1aa)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1ac)),_0x2dc319(0x1a2)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x19d)),_0x2dc319(0x1b9)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1af),_0x2dc319(0x1bc)),_0x2dc319(0x18e)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1c0)),_0x2dc319(0x1b5)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x175)),_0x2dc319(0x17f)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x17a));},0x3e8);}[_0x219840(0x1b8)](){const _0x10a898=_0x219840,{editor:_0x171f1d}=this,_0x2c9b6c=_0x171f1d[_0x10a898(0x179)][_0x10a898(0x181)](_0x10a898(0x196));if(!_0x2c9b6c)return;const _0x420f54=this[_0x10a898(0x1a1)](_0x171f1d[_0x10a898(0x194)][_0x10a898(0x181)](_0x10a898(0x1b7)))[_0x10a898(0x191)]((_0x5e42cf,_0x3d5e38)=>{const _0xdeb2ed=_0x10a898,_0x2ae313=this[_0xdeb2ed(0x1a9)](_0x3d5e38[_0xdeb2ed(0x17d)]);return _0x5e42cf[_0x2ae313]||(_0x5e42cf[_0x2ae313]=[]),_0x5e42cf[_0x2ae313][_0xdeb2ed(0x1a3)](_0x3d5e38),_0x5e42cf;},{});_0x171f1d[_0x10a898(0x17e)][_0x10a898(0x189)](_0x10a898(0x18d))&&_0x171f1d[_0x10a898(0x179)][_0x10a898(0x181)](_0x10a898(0x196))&&Object[_0x10a898(0x1a6)](_0x420f54)[_0x10a898(0x19a)](([_0x30e6d0,_0x1f76e8])=>{const _0x534a23=_0x10a898;_0x171f1d[_0x534a23(0x17e)][_0x534a23(0x181)](_0x534a23(0x18d))[_0x534a23(0x178)]({'name':_0x30e6d0,'observable':()=>_0x2c9b6c,'buttonViewCreator':()=>this[_0x534a23(0x18b)](_0x1f76e8),'formViewCreator':()=>this[_0x534a23(0x193)](_0x1f76e8),'menuBarButtonViewCreator':()=>this[_0x534a23(0x198)](_0x1f76e8),'override':_0x534a23(0x197)!==_0x30e6d0});});}[_0x219840(0x1b0)](){const _0x4137d3=_0x219840;super[_0x4137d3(0x1b0)](),this[_0x4137d3(0x19e)]&&clearInterval(this[_0x4137d3(0x19e)]);}[_0x219840(0x1a1)](_0x3557ac){const _0x510609=_0x219840,{locale:_0x361808}=this[_0x510609(0x177)];return _0x3557ac[_0x510609(0x180)](_0x333419=>{const _0x24e285=_0x510609,_0x5759fa=_0x58209b(_0x361808,_0x333419,_0x24e285(0x16f));switch(_0x333419){case _0x59e000[_0x24e285(0x1ae)]:return{'icon':_0x385bab,'type':_0x59e000[_0x24e285(0x1ae)],..._0x5759fa};case _0x59e000[_0x24e285(0x1bb)]:return{'icon':_0x184273,'type':_0x59e000[_0x24e285(0x1bb)],..._0x5759fa};case _0x59e000[_0x24e285(0x1a5)]:return{'icon':_0x4edc3c,'type':_0x59e000[_0x24e285(0x1a5)],..._0x5759fa};case _0x59e000[_0x24e285(0x192)]:return{'icon':_0x3765c0,'type':_0x59e000[_0x24e285(0x192)],..._0x5759fa};case _0x59e000[_0x24e285(0x1ba)]:return{'icon':_0x12a54d,'type':_0x59e000[_0x24e285(0x1ba)],..._0x5759fa};case _0x59e000[_0x24e285(0x19f)]:return{'icon':_0x41a13a,'type':_0x59e000[_0x24e285(0x19f)],..._0x5759fa};case _0x59e000[_0x24e285(0x170)]:return{'icon':_0x2a0afc,'type':_0x59e000[_0x24e285(0x170)],..._0x5759fa};}});}[_0x219840(0x1a9)](_0x2e8e02){const _0x3e2316=_0x219840;switch(_0x2e8e02){case _0x59e000[_0x3e2316(0x1ae)]:return _0x3e2316(0x186);case _0x59e000[_0x3e2316(0x1bb)]:return _0x3e2316(0x172);default:return _0x3e2316(0x197);}}[_0x219840(0x18a)](_0x562859,_0x554e61){const _0x1b8a17=_0x219840,_0xd87b65=this[_0x1b8a17(0x177)],_0x3c441c=new _0x562859(_0xd87b65[_0x1b8a17(0x173)]),_0x4a5b1b=_0xd87b65[_0x1b8a17(0x179)][_0x1b8a17(0x181)](_0x1b8a17(0x196));return _0x3c441c[_0x1b8a17(0x18f)](_0x1b8a17(0x185))['to'](_0x4a5b1b),_0x3c441c['on'](_0x1b8a17(0x187),()=>{const _0x4c2f6c=_0x1b8a17;_0x4a5b1b[_0x4c2f6c(0x187)](_0x554e61);}),_0x3c441c;}[_0x219840(0x18b)](_0x5667ec){const _0x2817b0=_0x219840,{locale:_0x2d47d7}=this[_0x2817b0(0x177)],_0x5af801=this[_0x2817b0(0x177)][_0x2817b0(0x17e)][_0x2817b0(0x181)](_0x2817b0(0x18d)),_0x23f8b6=_0x5667ec[0x0],_0x1d8ac0=this[_0x2817b0(0x18a)](_0x1c50ea,_0x23f8b6[_0x2817b0(0x17d)]);return _0x1d8ac0[_0x2817b0(0x18c)]=_0x23f8b6[_0x2817b0(0x18c)],_0x1d8ac0[_0x2817b0(0x18f)](_0x2817b0(0x1a7))['to'](_0x5af801,_0x2817b0(0x1b4),_0x46c84e=>_0x58209b(_0x2d47d7,_0x23f8b6[_0x2817b0(0x17d)],_0x46c84e?_0x2817b0(0x176):_0x2817b0(0x16f))[_0x2817b0(0x1ab)]),_0x1d8ac0[_0x2817b0(0x174)]=!0x0,_0x1d8ac0;}[_0x219840(0x193)](_0x1c6f50){const _0x4e6310=_0x219840,{locale:_0x4d3b58}=this[_0x4e6310(0x177)],_0x1e60b9=this[_0x4e6310(0x177)][_0x4e6310(0x17e)][_0x4e6310(0x181)](_0x4e6310(0x18d));return _0x1c6f50[_0x4e6310(0x180)](_0x43dddc=>{const _0x3f606c=_0x4e6310,_0x2535ad=this[_0x3f606c(0x18a)](_0x1c50ea,_0x43dddc[_0x3f606c(0x17d)]);return _0x2535ad[_0x3f606c(0x1b3)]=!0x0,_0x2535ad[_0x3f606c(0x18c)]=_0x43dddc[_0x3f606c(0x18c)],_0x2535ad[_0x3f606c(0x18f)](_0x3f606c(0x1a7))['to'](_0x1e60b9,_0x3f606c(0x1b4),_0xc62d78=>_0x58209b(_0x4d3b58,_0x43dddc[_0x3f606c(0x17d)],_0xc62d78?_0x3f606c(0x176):_0x3f606c(0x16f))[_0x3f606c(0x1ab)]),_0x2535ad;});}[_0x219840(0x198)](_0x30230a){const _0x56d62d=_0x219840;return _0x30230a[_0x56d62d(0x180)](_0x7d11b0=>{const _0x191b9e=_0x56d62d,_0x1d9308=this[_0x191b9e(0x18a)](_0x3670be,_0x7d11b0[_0x191b9e(0x17d)]);return _0x1d9308[_0x191b9e(0x18c)]=_0x7d11b0[_0x191b9e(0x18c)],_0x1d9308[_0x191b9e(0x1a7)]=_0x7d11b0[_0x191b9e(0x17b)],_0x1d9308;});}}
23
+ const _0x379344=_0x39fa;(function(_0x34a5df,_0x469bb8){const _0x8f26c3=_0x39fa,_0x1ee77a=_0x34a5df();while(!![]){try{const _0x407859=parseInt(_0x8f26c3(0xe2))/0x1+parseInt(_0x8f26c3(0xd9))/0x2*(-parseInt(_0x8f26c3(0x11d))/0x3)+parseInt(_0x8f26c3(0xdd))/0x4*(-parseInt(_0x8f26c3(0x11f))/0x5)+parseInt(_0x8f26c3(0x10b))/0x6*(-parseInt(_0x8f26c3(0xf7))/0x7)+-parseInt(_0x8f26c3(0x11c))/0x8+-parseInt(_0x8f26c3(0x116))/0x9*(-parseInt(_0x8f26c3(0xe9))/0xa)+parseInt(_0x8f26c3(0x112))/0xb;if(_0x407859===_0x469bb8)break;else _0x1ee77a['push'](_0x1ee77a['shift']());}catch(_0x35f89f){_0x1ee77a['push'](_0x1ee77a['shift']());}}}(_0xcf5c,0xae2f2));import{Plugin as _0x39dfa3}from'ckeditor5/src/core.js';function _0x39fa(_0x3fdaec,_0x252b5f){const _0xcf5cc=_0xcf5c();return _0x39fa=function(_0x39faf4,_0x34a99c){_0x39faf4=_0x39faf4-0xd2;let _0x1ba0fe=_0xcf5cc[_0x39faf4];return _0x1ba0fe;},_0x39fa(_0x3fdaec,_0x252b5f);}import{IconDropbox as _0x8d6795,IconFacebook as _0x3cd494,IconGoogleDrive as _0x281cef,IconGooglePhotos as _0x427cc3,IconUploadcareImageUpload as _0x1ec74d,IconUploadcareLink as _0x286618,IconOneDrive as _0x1aec39}from'ckeditor5/src/icons.js';import{ButtonView as _0x2868c1,MenuBarMenuListItemButtonView as _0x5b162c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3dd5bf}from'./uploadcareconfig.js';function _0xcf5c(){const _0x879718=['_getIntegrationKey','_createButton','type','Uploadcare','init','_licenseKeyCheckInterval','editor','12zsntfL','forEach','commands','assetManager','_createToolbarButton','evaluationLimit','ImageInsertUI','4427500VWSrel','pluginName','Local','isImageSelected','7263576qJjPnd','GPhotos','icon','uploadcareLicenseKeyEvaluationLimit','reduce','Dropbox','3180080rFrjwx','57hBjhER','GDrive','277280mIvQkf','URL','featureNotAllowed','registerIntegration','destroy','licenseKey','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyDomainLimit','uploadcare','UploadcareUI','uploadcareLicenseKeyInvalid','_showLicenseError','7204cDwfds','shortText','afterInit','expired','56QBZMeQ','tooltip','config','plugins','isOfficialPlugin','1133670YYoOlD','isPremiumPlugin','get','invalid','_createDropdownButtons','text','usageLimit','10PjgwiE','url','uploadcare.uploader.sourceList','push','domainLimit','Facebook','execute','has','trialLimit','OneDrive','bind','Replace','uploadcareLicenseKeyNotAllowed','Insert','1356054SloUuq','map','_normalizeConfigSourceList','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','isEnabled','label','upload','entries','locale','uploadcareLicenseKeyExpired','withText','uploadcareLicenseKeyValid'];_0xcf5c=function(){return _0x879718;};return _0xcf5c();}import{getTranslation as _0x5d0934}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 _0x39dfa3{[_0x379344(0xd2)];[_0x379344(0x109)];static get[_0x379344(0x113)](){const _0x2fddaf=_0x379344;return _0x2fddaf(0xd6);}static get[_0x379344(0xe1)](){return!0x0;}static get[_0x379344(0xe3)](){return!0x0;}[_0x379344(0x108)](){const _0x5c1f80=_0x379344;this[_0x5c1f80(0xd2)]=this[_0x5c1f80(0x10a)][_0x5c1f80(0xdf)][_0x5c1f80(0xe4)](_0x5c1f80(0xd2));const _0x580e6e=this[_0x5c1f80(0x10a)];this[_0x5c1f80(0x109)]=setInterval(()=>{const _0x1d66f1=_0x5c1f80;let _0xbae46c;for(const _0x4e527a in _0x580e6e){const _0x2bfa9a=_0x4e527a,_0x1f6610=_0x580e6e[_0x2bfa9a];if(_0x1d66f1(0x103)==_0x1f6610||_0x1d66f1(0xd7)==_0x1f6610||_0x1d66f1(0x101)==_0x1f6610||_0x1d66f1(0xd4)==_0x1f6610||_0x1d66f1(0xf5)==_0x1f6610||_0x1d66f1(0x119)==_0x1f6610||_0x1d66f1(0xd3)==_0x1f6610||_0x1d66f1(0xfb)==_0x1f6610){delete _0x580e6e[_0x2bfa9a],_0xbae46c=_0x1f6610,clearInterval(this[_0x1d66f1(0x109)]),this[_0x1d66f1(0x109)]=void 0x0;break;}}_0x1d66f1(0xd7)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xe5)),_0x1d66f1(0x101)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xdc)),_0x1d66f1(0xd4)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xed)),_0x1d66f1(0xf5)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0x121),_0x1d66f1(0x107)),_0x1d66f1(0x119)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0x110)),_0x1d66f1(0xd3)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xf1)),_0x1d66f1(0xfb)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xe8));},0x3e8);}[_0x379344(0xdb)](){const _0xd431e5=_0x379344,{editor:_0x12b684}=this,_0x131f13=_0x12b684[_0xd431e5(0x10d)][_0xd431e5(0xe4)](_0xd431e5(0xd5));if(!_0x131f13)return;const _0x159460=this[_0xd431e5(0xf9)](_0x12b684[_0xd431e5(0xdf)][_0xd431e5(0xe4)](_0xd431e5(0xeb)))[_0xd431e5(0x11a)]((_0x964286,_0x27a5b1)=>{const _0x50afca=_0xd431e5,_0x19bfe1=this[_0x50afca(0x104)](_0x27a5b1[_0x50afca(0x106)]);return _0x964286[_0x19bfe1]||(_0x964286[_0x19bfe1]=[]),_0x964286[_0x19bfe1][_0x50afca(0xec)](_0x27a5b1),_0x964286;},{});_0x12b684[_0xd431e5(0xe0)][_0xd431e5(0xf0)](_0xd431e5(0x111))&&_0x12b684[_0xd431e5(0x10d)][_0xd431e5(0xe4)](_0xd431e5(0xd5))&&Object[_0xd431e5(0xff)](_0x159460)[_0xd431e5(0x10c)](([_0x286856,_0x4e397f])=>{const _0x31e98e=_0xd431e5;_0x12b684[_0x31e98e(0xe0)][_0x31e98e(0xe4)](_0x31e98e(0x111))[_0x31e98e(0x122)]({'name':_0x286856,'observable':()=>_0x131f13,'buttonViewCreator':()=>this[_0x31e98e(0x10f)](_0x4e397f),'formViewCreator':()=>this[_0x31e98e(0xe6)](_0x4e397f),'menuBarButtonViewCreator':()=>this[_0x31e98e(0xfa)](_0x4e397f),'override':_0x31e98e(0x10e)!==_0x286856});});}[_0x379344(0x123)](){const _0x452134=_0x379344;super[_0x452134(0x123)](),this[_0x452134(0x109)]&&clearInterval(this[_0x452134(0x109)]);}[_0x379344(0xf9)](_0x5db1e9){const _0x45c3ea=_0x379344,{locale:_0x27c3b7}=this[_0x45c3ea(0x10a)];return _0x5db1e9[_0x45c3ea(0xf8)](_0xf3a56f=>{const _0x24b8ff=_0x45c3ea,_0x5bfdc9=_0x5d0934(_0x27c3b7,_0xf3a56f,_0x24b8ff(0xf6));switch(_0xf3a56f){case _0x3dd5bf[_0x24b8ff(0x114)]:return{'icon':_0x1ec74d,'type':_0x3dd5bf[_0x24b8ff(0x114)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x120)]:return{'icon':_0x286618,'type':_0x3dd5bf[_0x24b8ff(0x120)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x11b)]:return{'icon':_0x8d6795,'type':_0x3dd5bf[_0x24b8ff(0x11b)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0xee)]:return{'icon':_0x3cd494,'type':_0x3dd5bf[_0x24b8ff(0xee)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x11e)]:return{'icon':_0x281cef,'type':_0x3dd5bf[_0x24b8ff(0x11e)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x117)]:return{'icon':_0x427cc3,'type':_0x3dd5bf[_0x24b8ff(0x117)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0xf2)]:return{'icon':_0x1aec39,'type':_0x3dd5bf[_0x24b8ff(0xf2)],..._0x5bfdc9};}});}[_0x379344(0x104)](_0x3e02d2){const _0x319ee8=_0x379344;switch(_0x3e02d2){case _0x3dd5bf[_0x319ee8(0x114)]:return _0x319ee8(0xfe);case _0x3dd5bf[_0x319ee8(0x120)]:return _0x319ee8(0xea);default:return _0x319ee8(0x10e);}}[_0x379344(0x105)](_0x1702b2,_0x2a3b2c){const _0x4cab90=_0x379344,_0x4ba9f9=this[_0x4cab90(0x10a)],_0x4b4788=new _0x1702b2(_0x4ba9f9[_0x4cab90(0x100)]),_0x30216c=_0x4ba9f9[_0x4cab90(0x10d)][_0x4cab90(0xe4)](_0x4cab90(0xd5));return _0x4b4788[_0x4cab90(0xf3)](_0x4cab90(0xfc))['to'](_0x30216c),_0x4b4788['on'](_0x4cab90(0xef),()=>{const _0x304001=_0x4cab90;_0x30216c[_0x304001(0xef)](_0x2a3b2c);}),_0x4b4788;}[_0x379344(0x10f)](_0x35065d){const _0x3a07ef=_0x379344,{locale:_0x542be0}=this[_0x3a07ef(0x10a)],_0xeb1c78=this[_0x3a07ef(0x10a)][_0x3a07ef(0xe0)][_0x3a07ef(0xe4)](_0x3a07ef(0x111)),_0x2ed400=_0x35065d[0x0],_0x53443e=this[_0x3a07ef(0x105)](_0x2868c1,_0x2ed400[_0x3a07ef(0x106)]);return _0x53443e[_0x3a07ef(0x118)]=_0x2ed400[_0x3a07ef(0x118)],_0x53443e[_0x3a07ef(0xf3)](_0x3a07ef(0xfd))['to'](_0xeb1c78,_0x3a07ef(0x115),_0x390f2f=>_0x5d0934(_0x542be0,_0x2ed400[_0x3a07ef(0x106)],_0x390f2f?_0x3a07ef(0xf4):_0x3a07ef(0xf6))[_0x3a07ef(0xe7)]),_0x53443e[_0x3a07ef(0xde)]=!0x0,_0x53443e;}[_0x379344(0xe6)](_0x3351f5){const _0x1ee0ce=_0x379344,{locale:_0x17e83e}=this[_0x1ee0ce(0x10a)],_0x16bf53=this[_0x1ee0ce(0x10a)][_0x1ee0ce(0xe0)][_0x1ee0ce(0xe4)](_0x1ee0ce(0x111));return _0x3351f5[_0x1ee0ce(0xf8)](_0x5527d8=>{const _0x5aff29=_0x1ee0ce,_0x167aed=this[_0x5aff29(0x105)](_0x2868c1,_0x5527d8[_0x5aff29(0x106)]);return _0x167aed[_0x5aff29(0x102)]=!0x0,_0x167aed[_0x5aff29(0x118)]=_0x5527d8[_0x5aff29(0x118)],_0x167aed[_0x5aff29(0xf3)](_0x5aff29(0xfd))['to'](_0x16bf53,_0x5aff29(0x115),_0x381c09=>_0x5d0934(_0x17e83e,_0x5527d8[_0x5aff29(0x106)],_0x381c09?_0x5aff29(0xf4):_0x5aff29(0xf6))[_0x5aff29(0xe7)]),_0x167aed;});}[_0x379344(0xfa)](_0x31bc92){const _0x131950=_0x379344;return _0x31bc92[_0x131950(0xf8)](_0x47acb2=>{const _0xa4e156=_0x131950,_0x5e3e03=this[_0xa4e156(0x105)](_0x5b162c,_0x47acb2[_0xa4e156(0x106)]);return _0x5e3e03[_0xa4e156(0x118)]=_0x47acb2[_0xa4e156(0x118)],_0x5e3e03[_0xa4e156(0xfd)]=_0x47acb2[_0xa4e156(0xda)],_0x5e3e03;});}}
@@ -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 _0x567058}from'ckeditor5/src/core.js';import{FileRepository as _0x949fa}from'ckeditor5/src/upload.js';import _0x145bc8 from'./uploadcareediting.js';import _0x1e8dec from'./utils/uploadutils.js';import{getImageUrls as _0x1dc6b0}from'./utils/editingutils.js';export default class p extends _0x567058{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x949fa,_0x145bc8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1f154f=this['editor'];if(!!!_0x1f154f['config']['get']('uploadcare'))return;_0x1f154f['plugins']['get'](_0x949fa)['createUploadAdapter']=_0x26ce40=>new x(_0x26ce40,_0x1f154f),_0x1f154f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x517044,{imageElement:_0x202207,data:_0x4d6483})=>{_0x1f154f['model']['change'](_0x5b8ce1=>{_0x5b8ce1['setAttribute']('uploadcareImageId',_0x4d6483['uploadcareImageId'],_0x202207);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x43921f,_0x443cff){this['loader']=_0x43921f,this['editor']=_0x443cff,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x7caf7f=this['editor']['config']['get']('uploadcare.pubkey'),_0x44d371=await this['loader']['file'];return _0x1e8dec['upload']({'file':_0x44d371,'publicKey':_0x7caf7f,'signal':this['controller']['signal'],'onProgress':_0x5d09a9=>{_0x5d09a9&&_0x5d09a9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d09a9['value']);}})['then'](async _0x4e428c=>{const {imageFallbackUrl:_0x422e28,imageSources:_0x5d04c1}=_0x1dc6b0(_0x4e428c['cdnUrl'],_0x4e428c['imageInfo']['width']);return{'uploadcareImageId':_0x4e428c['uuid'],'default':_0x422e28,'sources':_0x5d04c1};})['catch'](()=>{const _0x1c7a7d=t('Cannot\x20upload\x20file:')+('\x20'+_0x44d371['name']+'.');return Promise['reject'](_0x1c7a7d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4e6283}from'ckeditor5/src/core.js';import{FileRepository as _0x53f148}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x7e998e}from'./uploadcareediting.js';import{UploadUtils as _0x58092d}from'./utils/uploadutils.js';import{getImageUrls as _0x3d3d4c}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4e6283{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x53f148,_0x7e998e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f0479=this['editor'];if(!!!_0x3f0479['config']['get']('uploadcare'))return;_0x3f0479['plugins']['get'](_0x53f148)['createUploadAdapter']=_0xb592e8=>new A(_0xb592e8,_0x3f0479),_0x3f0479['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5cfe77,{imageElement:_0x50ca85,data:_0x18642e})=>{_0x3f0479['model']['change'](_0x15885e=>{_0x15885e['setAttribute']('uploadcareImageId',_0x18642e['uploadcareImageId'],_0x50ca85);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1e6454,_0x1e22ea){this['loader']=_0x1e6454,this['editor']=_0x1e22ea,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c243e=this['editor']['config']['get']('uploadcare.pubkey'),_0x282b79=await this['loader']['file'];return _0x58092d['upload']({'file':_0x282b79,'publicKey':_0x1c243e,'signal':this['controller']['signal'],'onProgress':_0x5b3756=>{_0x5b3756&&_0x5b3756['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5b3756['value']);}})['then'](async _0x1d6003=>{const {imageFallbackUrl:_0x19ef92,imageSources:_0x377e40}=_0x3d3d4c(_0x1d6003['cdnUrl'],_0x1d6003['imageInfo']['width']);return{'uploadcareImageId':_0x1d6003['uuid'],'default':_0x19ef92,'sources':_0x377e40};})['catch'](()=>{const _0x6b01dc=t('Cannot\x20upload\x20file:')+('\x20'+_0x282b79['name']+'.');return Promise['reject'](_0x6b01dc);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x561e37}from'../uploadcareconfig.js';export function getTranslation(_0x69dcdc,_0x22315b,_0x246434){const t=_0x69dcdc['t'],_0x122e5b=_0x69dcdc['t'];switch(_0x22315b){case _0x561e37['Local']:return{'text':_0x122e5b('Insert'===_0x246434?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x122e5b('From\x20computer')};case _0x561e37['URL']:return{'text':'Insert'===_0x246434?_0x122e5b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x122e5b('Via\x20URL')};case _0x561e37['Dropbox']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x561e37['Facebook']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x561e37['GDrive']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x561e37['GPhotos']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x561e37['OneDrive']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x22315b;}}
23
+ import{UploadcareSource as _0x33a86a}from'../uploadcareconfig.js';export function getTranslation(_0x38f02f,_0x4a8a41,_0x1d68e6){const t=_0x38f02f['t'],_0x18babe=_0x38f02f['t'];switch(_0x4a8a41){case _0x33a86a['Local']:return{'text':_0x18babe('Insert'===_0x1d68e6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x18babe('From\x20computer')};case _0x33a86a['URL']:return{'text':'Insert'===_0x1d68e6?_0x18babe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x18babe('Via\x20URL')};case _0x33a86a['Dropbox']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x33a86a['Facebook']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x33a86a['GDrive']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x33a86a['GPhotos']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x33a86a['OneDrive']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4a8a41;}}
@@ -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 _0x2da5a8=_0x3f67;(function(_0x55a81c,_0x4281f2){var _0xfbbdb5=_0x3f67,_0x3f461f=_0x55a81c();while(!![]){try{var _0x37f394=-parseInt(_0xfbbdb5(0x9f))/0x1*(-parseInt(_0xfbbdb5(0x97))/0x2)+parseInt(_0xfbbdb5(0xa0))/0x3*(-parseInt(_0xfbbdb5(0x95))/0x4)+-parseInt(_0xfbbdb5(0x91))/0x5+parseInt(_0xfbbdb5(0x9a))/0x6*(-parseInt(_0xfbbdb5(0x98))/0x7)+parseInt(_0xfbbdb5(0x93))/0x8+-parseInt(_0xfbbdb5(0x8f))/0x9+parseInt(_0xfbbdb5(0x8e))/0xa*(parseInt(_0xfbbdb5(0x9b))/0xb);if(_0x37f394===_0x4281f2)break;else _0x3f461f['push'](_0x3f461f['shift']());}catch(_0x25c663){_0x3f461f['push'](_0x3f461f['shift']());}}}(_0x111e,0x2cf7c));import{FocusTracker as _0x1ab22d}from'ckeditor5/src/utils.js';function _0x111e(){var _0xd40128=['focusCycler','1332025UqdNgu','fire','242992aQjXiI','div','4oHwqcR','getFocusableElement','1994UaoclB','646058DOhOVm','focusTracker','6ZjpZWX','48730PUgYFC','true','createCollection','bindTemplate','1XRFZYu','778314MJJngD','forwardCycle','2320PUxeGw','2311254MUTcjr'];_0x111e=function(){return _0xd40128;};return _0x111e();}function _0x3f67(_0x3223d1,_0x4a7204){var _0x111e18=_0x111e();return _0x3f67=function(_0x3f6776,_0x54a202){_0x3f6776=_0x3f6776-0x8e;var _0x4fe716=_0x111e18[_0x3f6776];return _0x4fe716;},_0x3f67(_0x3223d1,_0x4a7204);}import{View as _0x3d0a85,FocusCycler as _0x566492}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x3d0a85{[_0x2da5a8(0x99)];[_0x2da5a8(0x90)];constructor(_0x272df0){var _0x5cc758=_0x2da5a8;super(_0x272df0),this[_0x5cc758(0x99)]=new _0x1ab22d(),this[_0x5cc758(0x90)]=new _0x566492({'focusables':this[_0x5cc758(0x9d)](),'focusTracker':this[_0x5cc758(0x99)]});}[_0x2da5a8(0x96)](){var _0x4a4c5a=_0x2da5a8;return{'tag':_0x4a4c5a(0x94),'attributes':{'aria-hidden':_0x4a4c5a(0x9c),'tabindex':'0'},'on':{'focus':this[_0x4a4c5a(0x9e)]['to'](()=>{var _0x314b66=_0x4a4c5a;this[_0x314b66(0x90)][_0x314b66(0x92)](_0x314b66(0xa1));})}};}}
23
+ var _0x2d5675=_0x2155;function _0x34b9(){var _0x599a6a=['1865740QSASeF','forwardCycle','div','10AlswHz','1611ZuWKrS','getFocusableElement','58629494scWIux','true','8760900CyFhbM','18CJOVWO','1214666EBNQCu','1495576Gybaci','2446wqQRAS','focusTracker','bindTemplate','fire','createCollection','focusCycler','1687HfQaGu','60856TsxSBc'];_0x34b9=function(){return _0x599a6a;};return _0x34b9();}(function(_0x25e113,_0x4334f9){var _0x3a8d48=_0x2155,_0x73294d=_0x25e113();while(!![]){try{var _0x55a155=parseInt(_0x3a8d48(0x204))/0x1+parseInt(_0x3a8d48(0x206))/0x2*(parseInt(_0x3a8d48(0x1fe))/0x3)+parseInt(_0x3a8d48(0x205))/0x4*(parseInt(_0x3a8d48(0x1fd))/0x5)+parseInt(_0x3a8d48(0x202))/0x6+-parseInt(_0x3a8d48(0x1f8))/0x7*(-parseInt(_0x3a8d48(0x1f9))/0x8)+parseInt(_0x3a8d48(0x203))/0x9*(parseInt(_0x3a8d48(0x1fa))/0xa)+-parseInt(_0x3a8d48(0x200))/0xb;if(_0x55a155===_0x4334f9)break;else _0x73294d['push'](_0x73294d['shift']());}catch(_0x164334){_0x73294d['push'](_0x73294d['shift']());}}}(_0x34b9,0xe95bc));function _0x2155(_0x3558be,_0x506cab){var _0x34b91e=_0x34b9();return _0x2155=function(_0x2155bb,_0x25c864){_0x2155bb=_0x2155bb-0x1f3;var _0x3aa860=_0x34b91e[_0x2155bb];return _0x3aa860;},_0x2155(_0x3558be,_0x506cab);}import{FocusTracker as _0x590ce3}from'ckeditor5/src/utils.js';import{View as _0xf7aff7,FocusCycler as _0x2417ac}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xf7aff7{[_0x2d5675(0x1f3)];[_0x2d5675(0x1f7)];constructor(_0x27f3f7){var _0x53b4fb=_0x2d5675;super(_0x27f3f7),this[_0x53b4fb(0x1f3)]=new _0x590ce3(),this[_0x53b4fb(0x1f7)]=new _0x2417ac({'focusables':this[_0x53b4fb(0x1f6)](),'focusTracker':this[_0x53b4fb(0x1f3)]});}[_0x2d5675(0x1ff)](){var _0x59bd00=_0x2d5675;return{'tag':_0x59bd00(0x1fc),'attributes':{'aria-hidden':_0x59bd00(0x201),'tabindex':'0'},'on':{'focus':this[_0x59bd00(0x1f4)]['to'](()=>{var _0x23d838=_0x59bd00;this[_0x23d838(0x1f7)][_0x23d838(0x1f5)](_0x23d838(0x1fb));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x24fe8f,_0xf1acb8){const _0x36fdb1=_0x2d0a,_0x52562a=_0x24fe8f();while(!![]){try{const _0xfca079=-parseInt(_0x36fdb1(0xdd))/0x1*(-parseInt(_0x36fdb1(0xd6))/0x2)+parseInt(_0x36fdb1(0xe6))/0x3*(parseInt(_0x36fdb1(0xee))/0x4)+-parseInt(_0x36fdb1(0xeb))/0x5*(-parseInt(_0x36fdb1(0xce))/0x6)+-parseInt(_0x36fdb1(0xdf))/0x7*(parseInt(_0x36fdb1(0xea))/0x8)+-parseInt(_0x36fdb1(0xe2))/0x9+-parseInt(_0x36fdb1(0xd3))/0xa*(parseInt(_0x36fdb1(0xf0))/0xb)+-parseInt(_0x36fdb1(0xda))/0xc*(-parseInt(_0x36fdb1(0xf6))/0xd);if(_0xfca079===_0xf1acb8)break;else _0x52562a['push'](_0x52562a['shift']());}catch(_0x35b464){_0x52562a['push'](_0x52562a['shift']());}}}(_0xee92,0x8ffe9));import{global as _0x29988e,DomEmitterMixin as _0x24be2a}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x6cf260){const _0x30afad=_0x2d0a,_0x35757b=V(_0x6cf260);return _0x3c8383=>!(!_0x3c8383||!_0x3c8383['is'](_0x30afad(0xcf),_0x30afad(0xe4))&&!_0x3c8383['is'](_0x30afad(0xcf),_0x30afad(0xd8)))&&(!!_0x3c8383[_0x30afad(0xf7)](_0x30afad(0xcc))||!!_0x3c8383[_0x30afad(0xf7)](_0x30afad(0xe7))&&_0x35757b(_0x3c8383[_0x30afad(0xe8)](_0x30afad(0xe7))));}export function getImageUrls(_0x4fdd09,_0xdea0e3){const _0x3b1e7b=_0x2d0a,_0x4e9662=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3b1e7b(0xc6)](_0x3fd35c=>_0x3fd35c<=_0xdea0e3)[_0x3b1e7b(0xf1)](_0xbaf97d=>_0x4fdd09[_0x3b1e7b(0xd0)](/\/$/,'')+_0x3b1e7b(0xe5)+_0xbaf97d+_0x3b1e7b(0xef)+_0xbaf97d+'w');return{'imageFallbackUrl':_0x4fdd09,'imageSources':[{'srcset':_0x4e9662[_0x3b1e7b(0xe3)](',\x20'),'sizes':_0x3b1e7b(0xe9)+_0xdea0e3+_0x3b1e7b(0xdc)+_0xdea0e3+'px','type':_0x3b1e7b(0xd7)}]};}export function getImageDimension(_0xbdeeec,_0x496c0c,_0x36a32b){const _0xf44f4e=_0x2d0a,_0x12bf98=_0xbdeeec[_0xf44f4e(0xdb)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x12bf98?parseInt(_0x12bf98[0x1],0xa):_0x496c0c,'height':_0x12bf98?parseInt(_0x12bf98[0x2],0xa):_0x36a32b};}export function showImageProcessingIndicator(_0x44c1cc,_0x41c75d){const _0x5d3d3a=_0x2d0a,_0x575d97=new(_0x24be2a())(),_0x209971=_0x44c1cc[_0x5d3d3a(0xcb)][_0x5d3d3a(0xec)](_0x5d3d3a(0xc9)),_0x5e6e40=_0x44c1cc[_0x5d3d3a(0xf5)][_0x5d3d3a(0xfd)][_0x5d3d3a(0xfa)](_0x41c75d),_0xa4612f=_0x209971[_0x5d3d3a(0x100)](_0x5e6e40),_0x541a90=_0x44c1cc[_0x5d3d3a(0xf5)][_0x5d3d3a(0xe1)][_0x5d3d3a(0xed)][_0x5d3d3a(0xd5)](_0xa4612f),_0x376ea4=_0x41c75d[_0x5d3d3a(0xe8)](_0x5d3d3a(0xe0)),_0x4ccf21=_0x41c75d[_0x5d3d3a(0xe8)](_0x5d3d3a(0xd2)),_0x5bece5=_0x5d3d3a(0xfe);_0x44c1cc[_0x5d3d3a(0xf5)][_0x5d3d3a(0xe1)][_0x5d3d3a(0xd1)](_0x264bd2=>{const _0x5e8297=_0x5d3d3a;_0x264bd2[_0x5e8297(0xff)](_0x5bece5,_0x5e6e40),_0x264bd2[_0x5e8297(0xc8)](_0x5e8297(0xf4),_0x376ea4+'/'+_0x4ccf21,_0xa4612f);}),_0x575d97[_0x5d3d3a(0xd4)](_0x541a90,_0x5d3d3a(0xf8),()=>{const _0x337bfb=_0x5d3d3a;_0x575d97[_0x337bfb(0xfb)](_0x541a90,_0x337bfb(0xf8)),_0x44c1cc[_0x337bfb(0xf5)][_0x337bfb(0xe1)][_0x337bfb(0xd1)](_0x40244b=>{const _0x2bc076=_0x337bfb;_0x40244b[_0x2bc076(0xde)](_0x5bece5,_0x5e6e40),_0x40244b[_0x2bc076(0xc7)](_0x2bc076(0xf4),_0xa4612f);});});}function _0x2d0a(_0x5e726e,_0x35ffa8){const _0xee92ec=_0xee92();return _0x2d0a=function(_0x2d0a9e,_0x49e2e0){_0x2d0a9e=_0x2d0a9e-0xc5;let _0x1b9377=_0xee92ec[_0x2d0a9e];return _0x1b9377;},_0x2d0a(_0x5e726e,_0x35ffa8);}function _0xee92(){const _0x451e9c=['169AEuAHF','hasAttribute','load','document','toViewElement','stopListening','window','mapper','image-processing','addClass','findViewImgElement','some','filter','removeStyle','setStyle','ImageUtils','origin','plugins','uploadcareImageId','isArray','308982tyNdQR','element','replace','change','height','32820dNEVwX','listenTo','viewToDom','720972sRruoV','image/webp','imageInline','baseURI','608892FxQRQA','match','px)\x20100vw,\x20','1KBnWRA','removeClass','14CxWAxc','width','view','1560519qAOimC','join','imageBlock','/-/resize/','131211RJICAm','src','getAttribute','(max-width:\x20','679656Kecbgw','35KfGcLL','get','domConverter','8DoZerD','x/\x20','1793TsApnB','map','location','function','aspect-ratio','editing'];_0xee92=function(){return _0x451e9c;};return _0xee92();}function V(_0x31d3ed){const _0x558b57=_0x2d0a;if(Array[_0x558b57(0xcd)](_0x31d3ed)){const _0x76d50d=_0x31d3ed[_0x558b57(0xf1)](V);return _0x227680=>_0x76d50d[_0x558b57(0xc5)](_0x1f4729=>_0x1f4729(_0x227680));}if(_0x558b57(0xca)==_0x31d3ed){const _0x221e13=_0x29988e[_0x558b57(0xfc)][_0x558b57(0xf2)][_0x558b57(0xca)];return _0x23ab71=>new URL(_0x23ab71,_0x29988e[_0x558b57(0xf9)][_0x558b57(0xd9)])[_0x558b57(0xca)]==_0x221e13;}return _0x558b57(0xf3)==typeof _0x31d3ed?_0x31d3ed:_0x31d3ed instanceof RegExp?_0xd74755=>!(!_0xd74755[_0x558b57(0xdb)](_0x31d3ed)&&!_0xd74755[_0x558b57(0xd0)](/^https?:\/\//,'')[_0x558b57(0xdb)](_0x31d3ed)):()=>!0x1;}
23
+ function _0x5aaa(){const _0x3183de=['3323004sucMqE','3OTBkIO','(max-width:\x20','8361uwjCOU','25588550qosMhY','/-/resize/','image-processing','image/webp','3175130sdnjBm','getAttribute','mapper','baseURI','listenTo','width','toViewElement','src','x/\x20','load','origin','px)\x20100vw,\x20','findViewImgElement','ImageUtils','uploadcareImageId','function','domConverter','height','25822KPjQsz','document','removeStyle','map','isArray','plugins','location','some','5105569WNThKf','match','imageInline','editing','replace','stopListening','viewToDom','setStyle','hasAttribute','filter','window','imageBlock','127589TkzTQh','get','view','element','6yCAKir','aspect-ratio','addClass','change','removeClass','join','5624IYVVYZ'];_0x5aaa=function(){return _0x3183de;};return _0x5aaa();}function _0x39fe(_0x5566a8,_0x17dbcc){const _0x5aaa2e=_0x5aaa();return _0x39fe=function(_0x39feba,_0x57da1b){_0x39feba=_0x39feba-0x83;let _0x3f1a2e=_0x5aaa2e[_0x39feba];return _0x3f1a2e;},_0x39fe(_0x5566a8,_0x17dbcc);}(function(_0x586a92,_0x5e1c6e){const _0x583249=_0x39fe,_0xdbf37=_0x586a92();while(!![]){try{const _0x20d17f=parseInt(_0x583249(0xb9))/0x1+-parseInt(_0x583249(0xa5))/0x2*(-parseInt(_0x583249(0x8c))/0x3)+parseInt(_0x583249(0x8b))/0x4+parseInt(_0x583249(0x93))/0x5+parseInt(_0x583249(0x84))/0x6*(parseInt(_0x583249(0xad))/0x7)+-parseInt(_0x583249(0x8a))/0x8*(-parseInt(_0x583249(0x8e))/0x9)+-parseInt(_0x583249(0x8f))/0xa;if(_0x20d17f===_0x5e1c6e)break;else _0xdbf37['push'](_0xdbf37['shift']());}catch(_0x370b3e){_0xdbf37['push'](_0xdbf37['shift']());}}}(_0x5aaa,0x68f34));import{global as _0x3830bc,DomEmitterMixin as _0x2830ba}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3cf649){const _0x4f7f09=_0x39fe,_0x5a5a4e=z(_0x3cf649);return _0x22157b=>!(!_0x22157b||!_0x22157b['is'](_0x4f7f09(0x83),_0x4f7f09(0xb8))&&!_0x22157b['is'](_0x4f7f09(0x83),_0x4f7f09(0xaf)))&&(!!_0x22157b[_0x4f7f09(0xb5)](_0x4f7f09(0xa1))||!!_0x22157b[_0x4f7f09(0xb5)](_0x4f7f09(0x9a))&&_0x5a5a4e(_0x22157b[_0x4f7f09(0x94)](_0x4f7f09(0x9a))));}export function getImageUrls(_0x1306fb,_0x5e83ce){const _0x30fbbd=_0x39fe,_0x1a95ad=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x30fbbd(0xb6)](_0x2c627f=>_0x2c627f<=_0x5e83ce)[_0x30fbbd(0xa8)](_0x282d43=>_0x1306fb[_0x30fbbd(0xb1)](/\/$/,'')+_0x30fbbd(0x90)+_0x282d43+_0x30fbbd(0x9b)+_0x282d43+'w');return{'imageFallbackUrl':_0x1306fb,'imageSources':[{'srcset':_0x1a95ad[_0x30fbbd(0x89)](',\x20'),'sizes':_0x30fbbd(0x8d)+_0x5e83ce+_0x30fbbd(0x9e)+_0x5e83ce+'px','type':_0x30fbbd(0x92)}]};}export function getImageDimension(_0xabb2b3,_0x53a32d,_0x42d41f){const _0x52e2ed=_0x39fe,_0x2e3cac=_0xabb2b3[_0x52e2ed(0xae)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2e3cac?parseInt(_0x2e3cac[0x1],0xa):_0x53a32d,'height':_0x2e3cac?parseInt(_0x2e3cac[0x2],0xa):_0x42d41f};}export function showImageProcessingIndicator(_0x5893f6,_0x3179a9){const _0x57bed5=_0x39fe,_0xc8d4a2=new(_0x2830ba())(),_0x3bdd41=_0x5893f6[_0x57bed5(0xaa)][_0x57bed5(0xba)](_0x57bed5(0xa0)),_0x4a6679=_0x5893f6[_0x57bed5(0xb0)][_0x57bed5(0x95)][_0x57bed5(0x99)](_0x3179a9),_0x1b5629=_0x3bdd41[_0x57bed5(0x9f)](_0x4a6679),_0x8ee9a4=_0x5893f6[_0x57bed5(0xb0)][_0x57bed5(0xbb)][_0x57bed5(0xa3)][_0x57bed5(0xb3)](_0x1b5629),_0x5da91c=_0x3179a9[_0x57bed5(0x94)](_0x57bed5(0x98)),_0x5d8318=_0x3179a9[_0x57bed5(0x94)](_0x57bed5(0xa4)),_0x239ac0=_0x57bed5(0x91);_0x5893f6[_0x57bed5(0xb0)][_0x57bed5(0xbb)][_0x57bed5(0x87)](_0x507fdb=>{const _0x44e2d7=_0x57bed5;_0x507fdb[_0x44e2d7(0x86)](_0x239ac0,_0x4a6679),_0x507fdb[_0x44e2d7(0xb4)](_0x44e2d7(0x85),_0x5da91c+'/'+_0x5d8318,_0x1b5629);}),_0xc8d4a2[_0x57bed5(0x97)](_0x8ee9a4,_0x57bed5(0x9c),()=>{const _0x5df6d6=_0x57bed5;_0xc8d4a2[_0x5df6d6(0xb2)](_0x8ee9a4,_0x5df6d6(0x9c)),_0x5893f6[_0x5df6d6(0xb0)][_0x5df6d6(0xbb)][_0x5df6d6(0x87)](_0x3580ed=>{const _0x377a0a=_0x5df6d6;_0x3580ed[_0x377a0a(0x88)](_0x239ac0,_0x4a6679),_0x3580ed[_0x377a0a(0xa7)](_0x377a0a(0x85),_0x1b5629);});});}function z(_0x31a280){const _0x32c5d3=_0x39fe;if(Array[_0x32c5d3(0xa9)](_0x31a280)){const _0x2a27b4=_0x31a280[_0x32c5d3(0xa8)](z);return _0x302ea0=>_0x2a27b4[_0x32c5d3(0xac)](_0x1f36a9=>_0x1f36a9(_0x302ea0));}if(_0x32c5d3(0x9d)==_0x31a280){const _0x38434d=_0x3830bc[_0x32c5d3(0xb7)][_0x32c5d3(0xab)][_0x32c5d3(0x9d)];return _0x4241c5=>new URL(_0x4241c5,_0x3830bc[_0x32c5d3(0xa6)][_0x32c5d3(0x96)])[_0x32c5d3(0x9d)]==_0x38434d;}return _0x32c5d3(0xa2)==typeof _0x31a280?_0x31a280:_0x31a280 instanceof RegExp?_0x374274=>!(!_0x374274[_0x32c5d3(0xae)](_0x31a280)&&!_0x374274[_0x32c5d3(0xb1)](/^https?:\/\//,'')[_0x32c5d3(0xae)](_0x31a280)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2165(_0x273d0f,_0x5236f6){var _0x4d4ed8=_0x4d4e();return _0x2165=function(_0x21656e,_0x68f553){_0x21656e=_0x21656e-0x91;var _0x202ed0=_0x4d4ed8[_0x21656e];return _0x202ed0;},_0x2165(_0x273d0f,_0x5236f6);}function _0x4d4e(){var _0x8f92df=['6496576WNSMHw','2693074GhkVgT','8098055BPcAUO','1YWGUNA','18XfoyET','10282587YagnbH','20ZHRMFZ','198519HSkjGE','6repVqg','target','4299790fhSJlC','6738916rGQLjS','includes'];_0x4d4e=function(){return _0x8f92df;};return _0x4d4e();}(function(_0x3ca03b,_0x158c3c){var _0x3a0f27=_0x2165,_0x2aa79c=_0x3ca03b();while(!![]){try{var _0x53dc99=parseInt(_0x3a0f27(0x99))/0x1*(parseInt(_0x3a0f27(0x97))/0x2)+parseInt(_0x3a0f27(0x9d))/0x3+parseInt(_0x3a0f27(0x94))/0x4+parseInt(_0x3a0f27(0x98))/0x5*(-parseInt(_0x3a0f27(0x91))/0x6)+-parseInt(_0x3a0f27(0x9b))/0x7+-parseInt(_0x3a0f27(0x96))/0x8*(-parseInt(_0x3a0f27(0x9a))/0x9)+-parseInt(_0x3a0f27(0x9c))/0xa*(parseInt(_0x3a0f27(0x93))/0xb);if(_0x53dc99===_0x158c3c)break;else _0x2aa79c['push'](_0x2aa79c['shift']());}catch(_0x163fda){_0x2aa79c['push'](_0x2aa79c['shift']());}}}(_0x4d4e,0xcfd33));import{getAncestors as _0x1b67ea}from'ckeditor5/src/utils.js';export function isAncestor(_0x1905f4,_0x588ad0){var _0x6aff4a=_0x2165;return _0x1b67ea(_0x1905f4[_0x6aff4a(0x92)])[_0x6aff4a(0x95)](_0x588ad0);}
23
+ function _0x543d(_0x5ac9e9,_0x159cde){var _0x149af9=_0x149a();return _0x543d=function(_0x543d51,_0x5bdd67){_0x543d51=_0x543d51-0xdb;var _0x2b5b4a=_0x149af9[_0x543d51];return _0x2b5b4a;},_0x543d(_0x5ac9e9,_0x159cde);}(function(_0x5e79a6,_0x49fcb4){var _0x2a5720=_0x543d,_0x364434=_0x5e79a6();while(!![]){try{var _0x4dd680=-parseInt(_0x2a5720(0xdb))/0x1+parseInt(_0x2a5720(0xe1))/0x2+-parseInt(_0x2a5720(0xdc))/0x3*(parseInt(_0x2a5720(0xe0))/0x4)+parseInt(_0x2a5720(0xdd))/0x5*(parseInt(_0x2a5720(0xe3))/0x6)+parseInt(_0x2a5720(0xe6))/0x7+parseInt(_0x2a5720(0xe5))/0x8*(-parseInt(_0x2a5720(0xe4))/0x9)+parseInt(_0x2a5720(0xdf))/0xa;if(_0x4dd680===_0x49fcb4)break;else _0x364434['push'](_0x364434['shift']());}catch(_0x4b7160){_0x364434['push'](_0x364434['shift']());}}}(_0x149a,0x5c403));import{getAncestors as _0x314b16}from'ckeditor5/src/utils.js';export function isAncestor(_0x3a048f,_0x5b169d){var _0x333718=_0x543d;return _0x314b16(_0x3a048f[_0x333718(0xe2)])[_0x333718(0xde)](_0x5b169d);}function _0x149a(){var _0x4631db=['1391135DIFyTa','includes','12424600bsWaKL','738844Cyosmh','782894lDYKNY','target','12FCwyyQ','505647iciCxx','56kVlQol','16310wQoddA','682707IHLnyv','12FcSLCq'];_0x149a=function(){return _0x4631db;};return _0x149a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1445(_0x4af4f4,_0x325677){var _0x545e3f=_0x545e();return _0x1445=function(_0x1445d5,_0x32ada5){_0x1445d5=_0x1445d5-0x157;var _0x3e365f=_0x545e3f[_0x1445d5];return _0x3e365f;},_0x1445(_0x4af4f4,_0x325677);}var _0x26dbf8=_0x1445;(function(_0x1860ef,_0x3f2b3b){var _0x185f0c=_0x1445,_0x415ae5=_0x1860ef();while(!![]){try{var _0x21f154=-parseInt(_0x185f0c(0x164))/0x1*(-parseInt(_0x185f0c(0x158))/0x2)+-parseInt(_0x185f0c(0x15f))/0x3*(parseInt(_0x185f0c(0x162))/0x4)+-parseInt(_0x185f0c(0x15c))/0x5*(-parseInt(_0x185f0c(0x163))/0x6)+-parseInt(_0x185f0c(0x15d))/0x7+parseInt(_0x185f0c(0x159))/0x8*(parseInt(_0x185f0c(0x160))/0x9)+parseInt(_0x185f0c(0x161))/0xa+-parseInt(_0x185f0c(0x15b))/0xb;if(_0x21f154===_0x3f2b3b)break;else _0x415ae5['push'](_0x415ae5['shift']());}catch(_0x3e4ef8){_0x415ae5['push'](_0x415ae5['shift']());}}}(_0x545e,0x316e9));function _0x545e(){var _0x43d5c7=['auto','732VdMexO','72beLCwC','2001920yFXEoq','4012TRRqZD','250644obgsEy','1DpZbFo','upload','131710ZcDKLI','363040recpDu','getInfo','2149433BMMkWR','5oSdgvM','197771jIwnZT'];_0x545e=function(){return _0x43d5c7;};return _0x545e();}import{uploadFile as _0xf3b033,info as _0x1518e9}from'@uploadcare/upload-client';export default class C{static[_0x26dbf8(0x157)]({file:_0x474a46,publicKey:_0x2ddb3c,signal:_0x504e0c,onProgress:_0x17998f}){var _0x8f7510=_0x26dbf8;return _0xf3b033(_0x474a46,{'publicKey':_0x2ddb3c,'store':_0x8f7510(0x15e),'signal':_0x504e0c,'onProgress':_0x17998f});}static[_0x26dbf8(0x15a)](_0x334786,_0xbe7f3c){return _0x1518e9(_0x334786,_0xbe7f3c);}}
23
+ var _0x4dfdf1=_0x2600;(function(_0x155459,_0x157a5b){var _0x32f292=_0x2600,_0x57c2e5=_0x155459();while(!![]){try{var _0x34ea85=parseInt(_0x32f292(0x19f))/0x1+parseInt(_0x32f292(0x1aa))/0x2*(parseInt(_0x32f292(0x1a5))/0x3)+parseInt(_0x32f292(0x1a1))/0x4+parseInt(_0x32f292(0x1a0))/0x5*(-parseInt(_0x32f292(0x1ad))/0x6)+parseInt(_0x32f292(0x1a4))/0x7*(parseInt(_0x32f292(0x1a9))/0x8)+-parseInt(_0x32f292(0x1a6))/0x9*(parseInt(_0x32f292(0x1ac))/0xa)+-parseInt(_0x32f292(0x1a7))/0xb*(parseInt(_0x32f292(0x1a3))/0xc);if(_0x34ea85===_0x157a5b)break;else _0x57c2e5['push'](_0x57c2e5['shift']());}catch(_0x38f591){_0x57c2e5['push'](_0x57c2e5['shift']());}}}(_0x33f2,0x722d8));import{uploadFile as _0x517749,info as _0x59ee1d}from'@uploadcare/upload-client';function _0x33f2(){var _0xaf6f07=['22XTRNlt','upload','136gMmzve','22514pQpAwP','getInfo','24500WDtMVG','18WowAqh','695933aYVRPJ','61670XazCDM','890716GikTyp','auto','29496WIHXMA','14203BApweq','15gLmTHX','1836FhWAlY'];_0x33f2=function(){return _0xaf6f07;};return _0x33f2();}function _0x2600(_0x451f07,_0x34e103){var _0x33f233=_0x33f2();return _0x2600=function(_0x260047,_0x185390){_0x260047=_0x260047-0x19f;var _0x33af1f=_0x33f233[_0x260047];return _0x33af1f;},_0x2600(_0x451f07,_0x34e103);}export class UploadUtils{static[_0x4dfdf1(0x1a8)]({file:_0x3b07e4,publicKey:_0x376a23,signal:_0x132453,onProgress:_0xb33448}){var _0x117907=_0x4dfdf1;return _0x517749(_0x3b07e4,{'publicKey':_0x376a23,'store':_0x117907(0x1a2),'signal':_0x132453,'onProgress':_0xb33448});}static[_0x4dfdf1(0x1ab)](_0x595a8e,_0x5a2937){return _0x59ee1d(_0x595a8e,_0x5a2937);}}