@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250604.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 (195) 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 +7 -7
  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 +2 -2
  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.js +1 -1
  164. package/src/uploadcareediting.d.ts +2 -2
  165. package/src/uploadcareediting.js +1 -1
  166. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +6 -2
  167. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  168. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
  169. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  170. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  171. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  172. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
  173. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  174. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +3 -3
  175. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  176. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  177. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  178. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  179. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  180. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  181. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  182. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  183. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  184. package/src/uploadcareimageedit.d.ts +3 -3
  185. package/src/uploadcareimageedit.js +1 -1
  186. package/src/uploadcareui.d.ts +1 -1
  187. package/src/uploadcareui.js +1 -1
  188. package/src/uploadcareuploadadapter.d.ts +2 -2
  189. package/src/uploadcareuploadadapter.js +1 -1
  190. package/src/utils/common-translations.js +1 -1
  191. package/src/utils/dialogfocusmanagerview.d.ts +1 -1
  192. package/src/utils/dialogfocusmanagerview.js +1 -1
  193. package/src/utils/editingutils.js +1 -1
  194. package/src/utils/isancestor.js +1 -1
  195. 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 _0x10e4ec=_0x2f4b;function _0x2f4b(_0x118075,_0x5a54e8){var _0x4e603c=_0x4e60();return _0x2f4b=function(_0x2f4b17,_0x2e5efa){_0x2f4b17=_0x2f4b17-0x69;var _0x13c208=_0x4e603c[_0x2f4b17];return _0x13c208;},_0x2f4b(_0x118075,_0x5a54e8);}(function(_0x441a12,_0xbea7ce){var _0x53882e=_0x2f4b,_0x309e7a=_0x441a12();while(!![]){try{var _0x80ddd=-parseInt(_0x53882e(0x71))/0x1*(parseInt(_0x53882e(0x75))/0x2)+-parseInt(_0x53882e(0x6a))/0x3*(parseInt(_0x53882e(0x79))/0x4)+parseInt(_0x53882e(0x74))/0x5+-parseInt(_0x53882e(0x77))/0x6*(parseInt(_0x53882e(0x76))/0x7)+parseInt(_0x53882e(0x72))/0x8*(parseInt(_0x53882e(0x70))/0x9)+parseInt(_0x53882e(0x6c))/0xa+parseInt(_0x53882e(0x78))/0xb*(parseInt(_0x53882e(0x73))/0xc);if(_0x80ddd===_0xbea7ce)break;else _0x309e7a['push'](_0x309e7a['shift']());}catch(_0x43b217){_0x309e7a['push'](_0x309e7a['shift']());}}}(_0x4e60,0x5bb46));import{Plugin as _0x1f2fe8}from'ckeditor5/src/core.js';import _0xb16b83 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x38e8bf from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1f2fe8{static get[_0x10e4ec(0x69)](){var _0x11981f=_0x10e4ec;return _0x11981f(0x6e);}static get[_0x10e4ec(0x6b)](){return[_0xb16b83,_0x38e8bf];}static get[_0x10e4ec(0x6d)](){return!0x0;}static get[_0x10e4ec(0x6f)](){return!0x0;}}function _0x4e60(){var _0x5ef4b7=['1451856BUFpIY','3117250VWRvSG','74tImuBE','1598891RrZhsq','12CXNPlS','44LQLHWb','296YueTka','pluginName','24711qqOfLC','requires','7254940OAdSnv','isOfficialPlugin','UploadcareImageEdit','isPremiumPlugin','114507dagqOG','10909hNqNSQ','8hwosCK'];_0x4e60=function(){return _0x5ef4b7;};return _0x4e60();}
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 _0x5e5f11=_0x176f;function _0x1430(){const _0x26e08e=['forEach','_createToolbarButton','registerIntegration','domainLimit','uploadcareLicenseKeyTrialLimit','editor','Local','65iOVfiA','tooltip','push','upload','uploadcareLicenseKeyExpired','config','1817013OkBisk','_createMenuBarButtons','url','uploadcareLicenseKeyDomainLimit','Insert','uploadcareLicenseKeyInvalid','_licenseKeyCheckInterval','pluginName','9vbpZSY','shortText','_createButton','trialLimit','type','commands','ImageInsertUI','6BbrCPn','Uploadcare','Dropbox','isOfficialPlugin','expired','72FRhjuh','497412nzdfwa','_getIntegrationKey','icon','destroy','Replace','locale','licenseKey','afterInit','text','invalid','isEnabled','label','get','_normalizeConfigSourceList','GDrive','has','assetManager','107228OPMcAc','featureNotAllowed','OneDrive','uploadcare','1514905RgCEpc','URL','map','1458048gxZrlY','GPhotos','Facebook','isPremiumPlugin','init','_showLicenseError','41755CKDdah','isImageSelected','uploadcareLicenseKeyEvaluationLimit','usageLimit','uploadcareLicenseKeyUsageLimit','_createDropdownButtons','bind','1724830CVsXOs','reduce','evaluationLimit','uploadcareLicenseKeyNotAllowed','uploadcare.uploader.sourceList','withText','UploadcareUI','uploadcareLicenseKeyValid','execute','2znqxjK','entries','plugins'];_0x1430=function(){return _0x26e08e;};return _0x1430();}(function(_0x54eda7,_0x43118e){const _0x4f0faa=_0x176f,_0x344678=_0x54eda7();while(!![]){try{const _0x1a8c50=-parseInt(_0x4f0faa(0x19d))/0x1+parseInt(_0x4f0faa(0x1ad))/0x2*(parseInt(_0x4f0faa(0x17f))/0x3)+parseInt(_0x4f0faa(0x190))/0x4*(-parseInt(_0x4f0faa(0x1b7))/0x5)+parseInt(_0x4f0faa(0x1cc))/0x6*(-parseInt(_0x4f0faa(0x194))/0x7)+-parseInt(_0x4f0faa(0x197))/0x8+-parseInt(_0x4f0faa(0x1c5))/0x9*(parseInt(_0x4f0faa(0x1a4))/0xa)+parseInt(_0x4f0faa(0x1bd))/0xb*(parseInt(_0x4f0faa(0x17e))/0xc);if(_0x1a8c50===_0x43118e)break;else _0x344678['push'](_0x344678['shift']());}catch(_0x1607c5){_0x344678['push'](_0x344678['shift']());}}}(_0x1430,0x2fbae));import{Plugin as _0x2cce19}from'ckeditor5/src/core.js';import{IconDropbox as _0x5844c0,IconFacebook as _0x3ef7f0,IconGoogleDrive as _0x1f3706,IconGooglePhotos as _0x294e62,IconUploadcareImageUpload as _0xb2a4be,IconUploadcareLink as _0x18bba1,IconOneDrive as _0x2bf201}from'ckeditor5/src/icons.js';import{ButtonView as _0x42daca,MenuBarMenuListItemButtonView as _0x14458e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x17b347}from'./uploadcareconfig.js';function _0x176f(_0x4f779b,_0xe9cc7c){const _0x14307e=_0x1430();return _0x176f=function(_0x176fbf,_0x57707a){_0x176fbf=_0x176fbf-0x17e;let _0x5b4e66=_0x14307e[_0x176fbf];return _0x5b4e66;},_0x176f(_0x4f779b,_0xe9cc7c);}import{getTranslation as _0x4725c2}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 default class e extends _0x2cce19{[_0x5e5f11(0x185)];[_0x5e5f11(0x1c3)];static get[_0x5e5f11(0x1c4)](){const _0x5d127a=_0x5e5f11;return _0x5d127a(0x1aa);}static get[_0x5e5f11(0x1cf)](){return!0x0;}static get[_0x5e5f11(0x19a)](){return!0x0;}[_0x5e5f11(0x19b)](){const _0x10def6=_0x5e5f11;this[_0x10def6(0x185)]=this[_0x10def6(0x1b5)][_0x10def6(0x1bc)][_0x10def6(0x18b)](_0x10def6(0x185));const _0x1c9e65=this[_0x10def6(0x1b5)];this[_0x10def6(0x1c3)]=setInterval(()=>{const _0x5dd30f=_0x10def6;let _0x5ca141;for(const _0x3afbb7 in _0x1c9e65){const _0x1697b0=_0x3afbb7,_0x5c8de8=_0x1c9e65[_0x1697b0];if(_0x5dd30f(0x1ab)==_0x5c8de8||_0x5dd30f(0x1c2)==_0x5c8de8||_0x5dd30f(0x1bb)==_0x5c8de8||_0x5dd30f(0x1c0)==_0x5c8de8||_0x5dd30f(0x1a7)==_0x5c8de8||_0x5dd30f(0x19f)==_0x5c8de8||_0x5dd30f(0x1b4)==_0x5c8de8||_0x5dd30f(0x1a1)==_0x5c8de8){delete _0x1c9e65[_0x1697b0],_0x5ca141=_0x5c8de8,clearInterval(this[_0x5dd30f(0x1c3)]),this[_0x5dd30f(0x1c3)]=void 0x0;break;}}_0x5dd30f(0x1c2)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x188)),_0x5dd30f(0x1bb)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1d0)),_0x5dd30f(0x1c0)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1b3)),_0x5dd30f(0x1a7)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x191),_0x5dd30f(0x1cd)),_0x5dd30f(0x19f)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1a6)),_0x5dd30f(0x1b4)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1c8)),_0x5dd30f(0x1a1)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1a0));},0x3e8);}[_0x5e5f11(0x186)](){const _0x40e54b=_0x5e5f11,{editor:_0x41eb17}=this,_0x1a3c98=_0x41eb17[_0x40e54b(0x1ca)][_0x40e54b(0x18b)](_0x40e54b(0x193));if(!_0x1a3c98)return;const _0x1e9a6a=this[_0x40e54b(0x18c)](_0x41eb17[_0x40e54b(0x1bc)][_0x40e54b(0x18b)](_0x40e54b(0x1a8)))[_0x40e54b(0x1a5)]((_0x3d465e,_0x486802)=>{const _0x4c1545=_0x40e54b,_0x1f3fdb=this[_0x4c1545(0x180)](_0x486802[_0x4c1545(0x1c9)]);return _0x3d465e[_0x1f3fdb]||(_0x3d465e[_0x1f3fdb]=[]),_0x3d465e[_0x1f3fdb][_0x4c1545(0x1b9)](_0x486802),_0x3d465e;},{});_0x41eb17[_0x40e54b(0x1af)][_0x40e54b(0x18e)](_0x40e54b(0x1cb))&&_0x41eb17[_0x40e54b(0x1ca)][_0x40e54b(0x18b)](_0x40e54b(0x193))&&Object[_0x40e54b(0x1ae)](_0x1e9a6a)[_0x40e54b(0x1b0)](([_0x2bb60b,_0x4ce0ae])=>{const _0x1dffcf=_0x40e54b;_0x41eb17[_0x1dffcf(0x1af)][_0x1dffcf(0x18b)](_0x1dffcf(0x1cb))[_0x1dffcf(0x1b2)]({'name':_0x2bb60b,'observable':()=>_0x1a3c98,'buttonViewCreator':()=>this[_0x1dffcf(0x1b1)](_0x4ce0ae),'formViewCreator':()=>this[_0x1dffcf(0x1a2)](_0x4ce0ae),'menuBarButtonViewCreator':()=>this[_0x1dffcf(0x1be)](_0x4ce0ae),'override':_0x1dffcf(0x18f)!==_0x2bb60b});});}[_0x5e5f11(0x182)](){const _0x10e7b1=_0x5e5f11;super[_0x10e7b1(0x182)](),this[_0x10e7b1(0x1c3)]&&clearInterval(this[_0x10e7b1(0x1c3)]);}[_0x5e5f11(0x18c)](_0x5e835a){const _0x1b6a0d=_0x5e5f11,{locale:_0x1a465f}=this[_0x1b6a0d(0x1b5)];return _0x5e835a[_0x1b6a0d(0x196)](_0x57a2ea=>{const _0xc92eaa=_0x1b6a0d,_0x4c3bcc=_0x4725c2(_0x1a465f,_0x57a2ea,_0xc92eaa(0x1c1));switch(_0x57a2ea){case _0x17b347[_0xc92eaa(0x1b6)]:return{'icon':_0xb2a4be,'type':_0x17b347[_0xc92eaa(0x1b6)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x195)]:return{'icon':_0x18bba1,'type':_0x17b347[_0xc92eaa(0x195)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x1ce)]:return{'icon':_0x5844c0,'type':_0x17b347[_0xc92eaa(0x1ce)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x199)]:return{'icon':_0x3ef7f0,'type':_0x17b347[_0xc92eaa(0x199)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x18d)]:return{'icon':_0x1f3706,'type':_0x17b347[_0xc92eaa(0x18d)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x198)]:return{'icon':_0x294e62,'type':_0x17b347[_0xc92eaa(0x198)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x192)]:return{'icon':_0x2bf201,'type':_0x17b347[_0xc92eaa(0x192)],..._0x4c3bcc};}});}[_0x5e5f11(0x180)](_0x478a1f){const _0x25e77b=_0x5e5f11;switch(_0x478a1f){case _0x17b347[_0x25e77b(0x1b6)]:return _0x25e77b(0x1ba);case _0x17b347[_0x25e77b(0x195)]:return _0x25e77b(0x1bf);default:return _0x25e77b(0x18f);}}[_0x5e5f11(0x1c7)](_0xdee7f6,_0x3109ec){const _0x410b7c=_0x5e5f11,_0x273079=this[_0x410b7c(0x1b5)],_0x748eb5=new _0xdee7f6(_0x273079[_0x410b7c(0x184)]),_0x254a19=_0x273079[_0x410b7c(0x1ca)][_0x410b7c(0x18b)](_0x410b7c(0x193));return _0x748eb5[_0x410b7c(0x1a3)](_0x410b7c(0x189))['to'](_0x254a19),_0x748eb5['on'](_0x410b7c(0x1ac),()=>{const _0x2837f3=_0x410b7c;_0x254a19[_0x2837f3(0x1ac)](_0x3109ec);}),_0x748eb5;}[_0x5e5f11(0x1b1)](_0x17ceb0){const _0x3b0654=_0x5e5f11,{locale:_0x4bfd0d}=this[_0x3b0654(0x1b5)],_0x435779=this[_0x3b0654(0x1b5)][_0x3b0654(0x1af)][_0x3b0654(0x18b)](_0x3b0654(0x1cb)),_0x37dd2b=_0x17ceb0[0x0],_0x3b0363=this[_0x3b0654(0x1c7)](_0x42daca,_0x37dd2b[_0x3b0654(0x1c9)]);return _0x3b0363[_0x3b0654(0x181)]=_0x37dd2b[_0x3b0654(0x181)],_0x3b0363[_0x3b0654(0x1a3)](_0x3b0654(0x18a))['to'](_0x435779,_0x3b0654(0x19e),_0x5d9b50=>_0x4725c2(_0x4bfd0d,_0x37dd2b[_0x3b0654(0x1c9)],_0x5d9b50?_0x3b0654(0x183):_0x3b0654(0x1c1))[_0x3b0654(0x187)]),_0x3b0363[_0x3b0654(0x1b8)]=!0x0,_0x3b0363;}[_0x5e5f11(0x1a2)](_0x12d9c6){const _0x9d79ac=_0x5e5f11,{locale:_0x5d5751}=this[_0x9d79ac(0x1b5)],_0x2f9a31=this[_0x9d79ac(0x1b5)][_0x9d79ac(0x1af)][_0x9d79ac(0x18b)](_0x9d79ac(0x1cb));return _0x12d9c6[_0x9d79ac(0x196)](_0x3dbfd0=>{const _0x4a4b16=_0x9d79ac,_0xd74119=this[_0x4a4b16(0x1c7)](_0x42daca,_0x3dbfd0[_0x4a4b16(0x1c9)]);return _0xd74119[_0x4a4b16(0x1a9)]=!0x0,_0xd74119[_0x4a4b16(0x181)]=_0x3dbfd0[_0x4a4b16(0x181)],_0xd74119[_0x4a4b16(0x1a3)](_0x4a4b16(0x18a))['to'](_0x2f9a31,_0x4a4b16(0x19e),_0x1e5585=>_0x4725c2(_0x5d5751,_0x3dbfd0[_0x4a4b16(0x1c9)],_0x1e5585?_0x4a4b16(0x183):_0x4a4b16(0x1c1))[_0x4a4b16(0x187)]),_0xd74119;});}[_0x5e5f11(0x1be)](_0x3f0599){const _0x2a2cc4=_0x5e5f11;return _0x3f0599[_0x2a2cc4(0x196)](_0x384939=>{const _0x596527=_0x2a2cc4,_0x4a72d3=this[_0x596527(0x1c7)](_0x14458e,_0x384939[_0x596527(0x1c9)]);return _0x4a72d3[_0x596527(0x181)]=_0x384939[_0x596527(0x181)],_0x4a72d3[_0x596527(0x18a)]=_0x384939[_0x596527(0x1c6)],_0x4a72d3;});}}
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 _0x2b3548}from'ckeditor5/src/core.js';import{FileRepository as _0x3497da}from'ckeditor5/src/upload.js';import _0x549da9 from'./uploadcareediting.js';import _0x3573a0 from'./utils/uploadutils.js';import{getImageUrls as _0x4fd3ce}from'./utils/editingutils.js';export default class p extends _0x2b3548{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3497da,_0x549da9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x401fa5=this['editor'];if(!!!_0x401fa5['config']['get']('uploadcare'))return;_0x401fa5['plugins']['get'](_0x3497da)['createUploadAdapter']=_0x4152a8=>new x(_0x4152a8,_0x401fa5),_0x401fa5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x17e3c1,{imageElement:_0x5b80ca,data:_0x3e5dec})=>{_0x401fa5['model']['change'](_0x13c2d2=>{_0x13c2d2['setAttribute']('uploadcareImageId',_0x3e5dec['uploadcareImageId'],_0x5b80ca);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x49f8aa,_0x2ef889){this['loader']=_0x49f8aa,this['editor']=_0x2ef889,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x64611c=this['editor']['config']['get']('uploadcare.pubkey'),_0x5607f5=await this['loader']['file'];return _0x3573a0['upload']({'file':_0x5607f5,'publicKey':_0x64611c,'signal':this['controller']['signal'],'onProgress':_0x4cbdaa=>{_0x4cbdaa&&_0x4cbdaa['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4cbdaa['value']);}})['then'](async _0x79ebd8=>{const {imageFallbackUrl:_0x1c6b3c,imageSources:_0x27cae8}=_0x4fd3ce(_0x79ebd8['cdnUrl'],_0x79ebd8['imageInfo']['width']);return{'uploadcareImageId':_0x79ebd8['uuid'],'default':_0x1c6b3c,'sources':_0x27cae8};})['catch'](()=>{const _0x409de8=t('Cannot\x20upload\x20file:')+('\x20'+_0x5607f5['name']+'.');return Promise['reject'](_0x409de8);});}['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 _0x722ad7}from'../uploadcareconfig.js';export function getTranslation(_0x2f45a9,_0x13002d,_0x5a4c61){const t=_0x2f45a9['t'],_0x140df2=_0x2f45a9['t'];switch(_0x13002d){case _0x722ad7['Local']:return{'text':_0x140df2('Insert'===_0x5a4c61?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x140df2('From\x20computer')};case _0x722ad7['URL']:return{'text':'Insert'===_0x5a4c61?_0x140df2('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x140df2('Via\x20URL')};case _0x722ad7['Dropbox']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x722ad7['Facebook']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x722ad7['GDrive']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x722ad7['GPhotos']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x722ad7['OneDrive']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x13002d;}}
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 _0x39ded0=_0x12dd;(function(_0x75654c,_0x5da48b){var _0x286d1f=_0x12dd,_0x27714f=_0x75654c();while(!![]){try{var _0x4aa143=-parseInt(_0x286d1f(0x152))/0x1*(-parseInt(_0x286d1f(0x159))/0x2)+parseInt(_0x286d1f(0x15f))/0x3+parseInt(_0x286d1f(0x14e))/0x4*(parseInt(_0x286d1f(0x155))/0x5)+-parseInt(_0x286d1f(0x15d))/0x6+parseInt(_0x286d1f(0x157))/0x7*(parseInt(_0x286d1f(0x153))/0x8)+-parseInt(_0x286d1f(0x14b))/0x9*(-parseInt(_0x286d1f(0x15b))/0xa)+parseInt(_0x286d1f(0x150))/0xb*(-parseInt(_0x286d1f(0x158))/0xc);if(_0x4aa143===_0x5da48b)break;else _0x27714f['push'](_0x27714f['shift']());}catch(_0x26699e){_0x27714f['push'](_0x27714f['shift']());}}}(_0x1554,0xc2b1c));import{FocusTracker as _0x3b07b7}from'ckeditor5/src/utils.js';import{View as _0x2956e8,FocusCycler as _0xc084e5}from'ckeditor5/src/ui.js';function _0x12dd(_0x5ba5e4,_0x19aace){var _0x155404=_0x1554();return _0x12dd=function(_0x12dd3b,_0x3a3627){_0x12dd3b=_0x12dd3b-0x14b;var _0x45a336=_0x155404[_0x12dd3b];return _0x45a336;},_0x12dd(_0x5ba5e4,_0x19aace);}import'../../theme/uploadcare-form.css';export default class q extends _0x2956e8{[_0x39ded0(0x14d)];[_0x39ded0(0x15c)];constructor(_0x16c77e){var _0x34ae24=_0x39ded0;super(_0x16c77e),this[_0x34ae24(0x14d)]=new _0x3b07b7(),this[_0x34ae24(0x15c)]=new _0xc084e5({'focusables':this[_0x34ae24(0x156)](),'focusTracker':this[_0x34ae24(0x14d)]});}[_0x39ded0(0x154)](){var _0x51bdff=_0x39ded0;return{'tag':_0x51bdff(0x15a),'attributes':{'aria-hidden':_0x51bdff(0x15e),'tabindex':'0'},'on':{'focus':this[_0x51bdff(0x14f)]['to'](()=>{var _0x30a3c8=_0x51bdff;this[_0x30a3c8(0x15c)][_0x30a3c8(0x151)](_0x30a3c8(0x14c));})}};}}function _0x1554(){var _0xa07cc9=['9OZEtNY','forwardCycle','focusTracker','8uBkYmP','bindTemplate','86218bcNRiB','fire','87577XrEqUZ','10114808HwuuYe','getFocusableElement','97425BENxfD','createCollection','7CJeBmj','3768PDEuLY','32gwpJJg','div','4685110fjMcAh','focusCycler','4393128DhOPkS','true','2453172wyfYZk'];_0x1554=function(){return _0xa07cc9;};return _0x1554();}
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(_0x5abfe7,_0x1c9f26){const _0x2ea241=_0x4c25,_0xd66596=_0x5abfe7();while(!![]){try{const _0x18cdc9=-parseInt(_0x2ea241(0x1ee))/0x1+-parseInt(_0x2ea241(0x1f1))/0x2+parseInt(_0x2ea241(0x1da))/0x3+parseInt(_0x2ea241(0x1fd))/0x4*(parseInt(_0x2ea241(0x1f7))/0x5)+-parseInt(_0x2ea241(0x1e6))/0x6+parseInt(_0x2ea241(0x1d8))/0x7*(parseInt(_0x2ea241(0x1ed))/0x8)+parseInt(_0x2ea241(0x1d7))/0x9*(-parseInt(_0x2ea241(0x1ec))/0xa);if(_0x18cdc9===_0x1c9f26)break;else _0xd66596['push'](_0xd66596['shift']());}catch(_0x1f91c7){_0xd66596['push'](_0xd66596['shift']());}}}(_0x40e5,0x71d6c));function _0x40e5(){const _0x50464c=['removeStyle','filter','getAttribute','imageInline','width','editing','map','isArray','/-/resize/','4660152HAkXvA','load','join','hasAttribute','get','aspect-ratio','20MLeDiH','24HwVLjV','368940XocVIh','removeClass','findViewImgElement','939262hNPQCh','stopListening','(max-width:\x20','mapper','origin','replace','9635wBUSME','toViewElement','setStyle','uploadcareImageId','px)\x20100vw,\x20','match','1684qUbTFy','document','viewToDom','height','window','listenTo','image/webp','x/\x20','some','change','location','src','function','baseURI','image-processing','imageBlock','addClass','plugins','element','1534833FFtlom','2096493Fjfgsd','ImageUtils','2138571LrzYnL','view','domConverter'];_0x40e5=function(){return _0x50464c;};return _0x40e5();}import{global as _0x139550,DomEmitterMixin as _0x3cb7b2}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x140472){const _0x173c4e=_0x4c25,_0x530901=V(_0x140472);return _0x4c125d=>!(!_0x4c125d||!_0x4c125d['is'](_0x173c4e(0x1d6),_0x173c4e(0x1d3))&&!_0x4c125d['is'](_0x173c4e(0x1d6),_0x173c4e(0x1e0)))&&(!!_0x4c125d[_0x173c4e(0x1e9)](_0x173c4e(0x1fa))||!!_0x4c125d[_0x173c4e(0x1e9)](_0x173c4e(0x208))&&_0x530901(_0x4c125d[_0x173c4e(0x1df)](_0x173c4e(0x208))));}export function getImageUrls(_0x4d20af,_0x336d8){const _0x4d78a1=_0x4c25,_0x17c575=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x4d78a1(0x1de)](_0xba0a41=>_0xba0a41<=_0x336d8)[_0x4d78a1(0x1e3)](_0x42f8db=>_0x4d20af[_0x4d78a1(0x1f6)](/\/$/,'')+_0x4d78a1(0x1e5)+_0x42f8db+_0x4d78a1(0x204)+_0x42f8db+'w');return{'imageFallbackUrl':_0x4d20af,'imageSources':[{'srcset':_0x17c575[_0x4d78a1(0x1e8)](',\x20'),'sizes':_0x4d78a1(0x1f3)+_0x336d8+_0x4d78a1(0x1fb)+_0x336d8+'px','type':_0x4d78a1(0x203)}]};}export function getImageDimension(_0x6e2633,_0x38f252,_0x1d8b03){const _0x21fcc8=_0x4c25,_0x16109d=_0x6e2633[_0x21fcc8(0x1fc)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x16109d?parseInt(_0x16109d[0x1],0xa):_0x38f252,'height':_0x16109d?parseInt(_0x16109d[0x2],0xa):_0x1d8b03};}export function showImageProcessingIndicator(_0x2c71d2,_0x2df515){const _0x51b234=_0x4c25,_0x39900a=new(_0x3cb7b2())(),_0x5f0573=_0x2c71d2[_0x51b234(0x1d5)][_0x51b234(0x1ea)](_0x51b234(0x1d9)),_0x47f0ba=_0x2c71d2[_0x51b234(0x1e2)][_0x51b234(0x1f4)][_0x51b234(0x1f8)](_0x2df515),_0x190094=_0x5f0573[_0x51b234(0x1f0)](_0x47f0ba),_0x3a3de7=_0x2c71d2[_0x51b234(0x1e2)][_0x51b234(0x1db)][_0x51b234(0x1dc)][_0x51b234(0x1ff)](_0x190094),_0x4857d2=_0x2df515[_0x51b234(0x1df)](_0x51b234(0x1e1)),_0x4658b8=_0x2df515[_0x51b234(0x1df)](_0x51b234(0x200)),_0x4af11a=_0x51b234(0x1d2);_0x2c71d2[_0x51b234(0x1e2)][_0x51b234(0x1db)][_0x51b234(0x206)](_0x4a634e=>{const _0x46d4df=_0x51b234;_0x4a634e[_0x46d4df(0x1d4)](_0x4af11a,_0x47f0ba),_0x4a634e[_0x46d4df(0x1f9)](_0x46d4df(0x1eb),_0x4857d2+'/'+_0x4658b8,_0x190094);}),_0x39900a[_0x51b234(0x202)](_0x3a3de7,_0x51b234(0x1e7),()=>{const _0x3526cc=_0x51b234;_0x39900a[_0x3526cc(0x1f2)](_0x3a3de7,_0x3526cc(0x1e7)),_0x2c71d2[_0x3526cc(0x1e2)][_0x3526cc(0x1db)][_0x3526cc(0x206)](_0x2ff5b5=>{const _0x356672=_0x3526cc;_0x2ff5b5[_0x356672(0x1ef)](_0x4af11a,_0x47f0ba),_0x2ff5b5[_0x356672(0x1dd)](_0x356672(0x1eb),_0x190094);});});}function _0x4c25(_0x4ccb91,_0x32d710){const _0x40e539=_0x40e5();return _0x4c25=function(_0x4c2510,_0x37c32b){_0x4c2510=_0x4c2510-0x1d2;let _0x47cb21=_0x40e539[_0x4c2510];return _0x47cb21;},_0x4c25(_0x4ccb91,_0x32d710);}function V(_0x2777d7){const _0x3e42c2=_0x4c25;if(Array[_0x3e42c2(0x1e4)](_0x2777d7)){const _0x4cdf35=_0x2777d7[_0x3e42c2(0x1e3)](V);return _0x5a6fcf=>_0x4cdf35[_0x3e42c2(0x205)](_0x177ef2=>_0x177ef2(_0x5a6fcf));}if(_0x3e42c2(0x1f5)==_0x2777d7){const _0x485f6e=_0x139550[_0x3e42c2(0x201)][_0x3e42c2(0x207)][_0x3e42c2(0x1f5)];return _0x171d0a=>new URL(_0x171d0a,_0x139550[_0x3e42c2(0x1fe)][_0x3e42c2(0x20a)])[_0x3e42c2(0x1f5)]==_0x485f6e;}return _0x3e42c2(0x209)==typeof _0x2777d7?_0x2777d7:_0x2777d7 instanceof RegExp?_0x1707b5=>!(!_0x1707b5[_0x3e42c2(0x1fc)](_0x2777d7)&&!_0x1707b5[_0x3e42c2(0x1f6)](/^https?:\/\//,'')[_0x3e42c2(0x1fc)](_0x2777d7)):()=>!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(_0xf7a013,_0x5096fd){var _0x31e66d=_0x306a,_0x543d51=_0xf7a013();while(!![]){try{var _0x3bd105=parseInt(_0x31e66d(0xb3))/0x1*(-parseInt(_0x31e66d(0xab))/0x2)+parseInt(_0x31e66d(0xb0))/0x3*(-parseInt(_0x31e66d(0xb4))/0x4)+parseInt(_0x31e66d(0xb2))/0x5+-parseInt(_0x31e66d(0xad))/0x6*(parseInt(_0x31e66d(0xb5))/0x7)+parseInt(_0x31e66d(0xb7))/0x8+-parseInt(_0x31e66d(0xae))/0x9+parseInt(_0x31e66d(0xb6))/0xa*(parseInt(_0x31e66d(0xb1))/0xb);if(_0x3bd105===_0x5096fd)break;else _0x543d51['push'](_0x543d51['shift']());}catch(_0x1a36e2){_0x543d51['push'](_0x543d51['shift']());}}}(_0x36e2,0xf0830));function _0x36e2(){var _0xeacd41=['4230984VAdAGI','2FKgXiF','target','1185342kpREKD','14859774xNBmOW','includes','260547JGfcdr','57952686TGPAna','2950190DmGocn','1595162JGwZro','72oZriIE','21KoKbIR','10tpNOGx'];_0x36e2=function(){return _0xeacd41;};return _0x36e2();}import{getAncestors as _0x427dd1}from'ckeditor5/src/utils.js';function _0x306a(_0x7b78b6,_0x209d6b){var _0x36e29b=_0x36e2();return _0x306a=function(_0x306aee,_0x3c1d2c){_0x306aee=_0x306aee-0xab;var _0x43bde9=_0x36e29b[_0x306aee];return _0x43bde9;},_0x306a(_0x7b78b6,_0x209d6b);}export function isAncestor(_0x5a6056,_0x3d09a5){var _0x34d3f=_0x306a;return _0x427dd1(_0x5a6056[_0x34d3f(0xac)])[_0x34d3f(0xaf)](_0x3d09a5);}
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 _0x5bc3(){var _0x83b797=['282wxjpSB','25RCHRef','auto','1392966FvhZmT','44116810zRuJut','2070540voMgjD','7312921hZFruO','26484rIaUbR','upload','137039uhdIMR','171NoNgux','587120AGnWyj','getInfo'];_0x5bc3=function(){return _0x83b797;};return _0x5bc3();}function _0x3e90(_0x12d1a4,_0xe7a408){var _0x5bc332=_0x5bc3();return _0x3e90=function(_0x3e9095,_0xb24cd0){_0x3e9095=_0x3e9095-0x1bf;var _0x13892b=_0x5bc332[_0x3e9095];return _0x13892b;},_0x3e90(_0x12d1a4,_0xe7a408);}var _0x1bd0a3=_0x3e90;(function(_0x5027dd,_0x37469c){var _0x53b81d=_0x3e90,_0x4deed7=_0x5027dd();while(!![]){try{var _0x48782b=-parseInt(_0x53b81d(0x1c6))/0x1+parseInt(_0x53b81d(0x1c2))/0x2+parseInt(_0x53b81d(0x1ca))/0x3*(parseInt(_0x53b81d(0x1c4))/0x4)+parseInt(_0x53b81d(0x1cb))/0x5*(parseInt(_0x53b81d(0x1c0))/0x6)+parseInt(_0x53b81d(0x1c3))/0x7+-parseInt(_0x53b81d(0x1c8))/0x8*(-parseInt(_0x53b81d(0x1c7))/0x9)+-parseInt(_0x53b81d(0x1c1))/0xa;if(_0x48782b===_0x37469c)break;else _0x4deed7['push'](_0x4deed7['shift']());}catch(_0x4ba261){_0x4deed7['push'](_0x4deed7['shift']());}}}(_0x5bc3,0xad0ea));import{uploadFile as _0x4e47fa,info as _0x267dd5}from'@uploadcare/upload-client';export default class C{static[_0x1bd0a3(0x1c5)]({file:_0x5a146b,publicKey:_0x596666,signal:_0x4e2a0a,onProgress:_0x5cd826}){var _0x254e8c=_0x1bd0a3;return _0x4e47fa(_0x5a146b,{'publicKey':_0x596666,'store':_0x254e8c(0x1bf),'signal':_0x4e2a0a,'onProgress':_0x5cd826});}static[_0x1bd0a3(0x1c9)](_0x2d554c,_0x1a4d5b){return _0x267dd5(_0x2d554c,_0x1a4d5b);}}
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);}}