@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251010.0 → 0.0.0-nightly-20251010.1

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 (173) 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/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e92e9=_0x32de;(function(_0x2d217f,_0xcee104){const _0x30c61c=_0x32de,_0x10bb3e=_0x2d217f();while(!![]){try{const _0x740275=parseInt(_0x30c61c(0x1f1))/0x1+parseInt(_0x30c61c(0x1e7))/0x2+-parseInt(_0x30c61c(0x1dc))/0x3+-parseInt(_0x30c61c(0x1cb))/0x4+-parseInt(_0x30c61c(0x1fe))/0x5*(-parseInt(_0x30c61c(0x1f0))/0x6)+-parseInt(_0x30c61c(0x1fa))/0x7+parseInt(_0x30c61c(0x1bd))/0x8*(-parseInt(_0x30c61c(0x1cd))/0x9);if(_0x740275===_0xcee104)break;else _0x10bb3e['push'](_0x10bb3e['shift']());}catch(_0x325357){_0x10bb3e['push'](_0x10bb3e['shift']());}}}(_0x848a,0xadaec));import{Plugin as _0x1b0892}from'ckeditor5/src/core.js';import{Dialog as _0x10d232}from'ckeditor5/src/ui.js';function _0x848a(){const _0x2f03e6=['getAttribute','_initImageProcessingIndicator','removeAttribute','body','downcast','7716Drwzzd','1356541pNDtCn','config','_initCtx','for','insertImage','_initConversion','remove','uploadcare.uploader','uploadcareImageReplace','5452405MUKZwy','replaceImageSource','imageInline','upcast','1355MYYYbP','editor','elementToAttribute','_initConfig','destroy','execute','render','listenTo','schema','#uc-icon-arrow-down','map','conversion','querySelector','iconHrefResolver','join','extend','afterInit','data-uc-image-id','PictureEditing','7096fPVIBt','isOfficialPlugin','get','href','uploadcareImageId','input[uploadcare-file-input]','appendChild','selection','uc-config','fromCharCode','init','add','pluginName','once','3733848EDujmw','contentLanguage','4185ZQbpzM','uploadcare.pubkey','true','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare','configElement','getSelectedElement','UploadcareEditing','_initSchema','_ctxElement','uc-upload-ctx-provider','ucContextId','uploader-','attributeToAttribute','view','41421ViDDRI','model','isPremiumPlugin','requires','closeMax','isRegistered','editing','commands','document','imageBlock','cleanupImage','2289992JCTUJp','locale','ctxElement','_configElement'];_0x848a=function(){return _0x2f03e6;};return _0x848a();}import{createElement as _0x2e316e,global as _0x262c74,uid as _0xb33d5}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5215a6}from'./uploadcarecommand.js';function _0x32de(_0x1591f8,_0x22da68){const _0x848a28=_0x848a();return _0x32de=function(_0x32de62,_0x239d2a){_0x32de62=_0x32de62-0x1bc;let _0x4bf0a0=_0x848a28[_0x32de62];return _0x4bf0a0;},_0x32de(_0x1591f8,_0x22da68);}import{UploadcareUploadAdapter as _0x22e710}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x18f42a}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1b0892{[_0x5e92e9(0x1ea)]=null;[_0x5e92e9(0x1d6)]=null;static get[_0x5e92e9(0x1c9)](){const _0x4b87f9=_0x5e92e9;return _0x4b87f9(0x1d4);}static get[_0x5e92e9(0x1df)](){const _0x1deb99=_0x5e92e9;return[_0x1deb99(0x1bc),_0x22e710,_0x10d232];}static get[_0x5e92e9(0x1be)](){return!0x0;}static get[_0x5e92e9(0x1de)](){return!0x0;}[_0x5e92e9(0x1d8)];get[_0x5e92e9(0x1d2)](){const _0x5ef87b=_0x5e92e9;return this[_0x5ef87b(0x1ea)];}get[_0x5e92e9(0x1e9)](){const _0x99ee95=_0x5e92e9;return this[_0x99ee95(0x1d6)];}constructor(_0x516d2e){const _0x2c8613=_0x5e92e9;super(_0x516d2e),this[_0x2c8613(0x1d8)]=_0xb33d5();}[_0x5e92e9(0x1c7)](){const _0x6b757b=_0x5e92e9,_0x14cf53=this[_0x6b757b(0x1ff)];_0x14cf53[_0x6b757b(0x1e3)][_0x6b757b(0x1c8)](_0x6b757b(0x1d1),new _0x5215a6(_0x14cf53));}[_0x5e92e9(0x20e)](){const _0x361e94=_0x5e92e9;this[_0x361e94(0x1d5)](),this[_0x361e94(0x1f6)](),this[_0x361e94(0x201)](),this[_0x361e94(0x1f3)](),this[_0x361e94(0x1ec)](),this[_0x361e94(0x205)](this[_0x361e94(0x1ff)],_0x361e94(0x202),()=>{const _0x4f3131=_0x361e94;this[_0x4f3131(0x1ea)]&&(this[_0x4f3131(0x1ea)][_0x4f3131(0x1f7)](),this[_0x4f3131(0x1ea)]=null),this[_0x4f3131(0x1d6)]&&(this[_0x4f3131(0x1d6)][_0x4f3131(0x1f7)](),this[_0x4f3131(0x1d6)]=null);const _0x5ea26f=_0x262c74[_0x4f3131(0x1e4)][_0x4f3131(0x20a)](_0x4f3131(0x1c2));_0x5ea26f&&_0x5ea26f[_0x4f3131(0x1f7)]();}),async function(_0x221bf0){const _0x5db07a=_0x1e73f5([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x214298=0x3d8d0df,_0x3757ad=0x3dfa517^_0x214298,_0x33d53d=window[_0x1e73f5([0x44,0x61,0x74,0x65])][_0x1e73f5([0x6e,0x6f,0x77])](),_0x3b8a1d=_0x221bf0[_0x1e73f5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6bae42=new window[(_0x1e73f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e3319=>{_0x3b8a1d[_0x1e73f5([0x6f,0x6e,0x63,0x65])](_0x1e73f5([0x72,0x65,0x61,0x64,0x79]),_0x5e3319);}),_0x138355={[_0x1e73f5([0x6b,0x74,0x79])]:_0x1e73f5([0x45,0x43]),[_0x1e73f5([0x75,0x73,0x65])]:_0x1e73f5([0x73,0x69,0x67]),[_0x1e73f5([0x63,0x72,0x76])]:_0x1e73f5([0x50,0x2d,0x32,0x35,0x36]),[_0x1e73f5([0x78])]:_0x1e73f5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1e73f5([0x79])]:_0x1e73f5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1e73f5([0x61,0x6c,0x67])]:_0x1e73f5([0x45,0x53,0x32,0x35,0x36])},_0x163584=_0x3b8a1d[_0x1e73f5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e73f5([0x67,0x65,0x74])](_0x1e73f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2adf1d(){let _0x866c1e,_0x18633a=null,_0x325c60=null;try{if(_0x163584==_0x1e73f5([0x47,0x50,0x4c]))return _0x1e73f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x866c1e=_0x405c13(),!_0x866c1e)return _0x1e73f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x866c1e[_0x1e73f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x325c60=_0x4dee87(_0x866c1e[_0x1e73f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x866c1e[_0x1e73f5([0x6a,0x74,0x69])])),await _0xa21ee1()?_0x28d820()?_0x18b6f5()?_0x1e73f5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x482363()?(_0x866c1e[_0x1e73f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e73f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18633a=_0x12f554(_0x1e73f5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x866c1e[_0x1e73f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e73f5([0x74,0x72,0x69,0x61,0x6c])&&(_0x18633a=_0x12f554(_0x1e73f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b8040()):_0x1e73f5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e73f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e73f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e73f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18b6f5(){const _0x50300b=[_0x1e73f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e73f5([0x74,0x72,0x69,0x61,0x6c])][_0x1e73f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x866c1e[_0x1e73f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33d53d/0x3e8:0xe10*_0x3757ad;return _0x866c1e[_0x1e73f5([0x65,0x78,0x70])]<_0x50300b;}function _0x28d820(){const _0x3f547e=_0x866c1e[_0x1e73f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f547e&&(!!_0x3f547e[_0x1e73f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e73f5([0x2a]))||!!_0x3f547e[_0x1e73f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e73f5([0x55,0x50,0x4c,0x43])));}function _0x482363(){const _0xb99e97=_0x32de,_0x45df21=_0x866c1e[_0x1e73f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45df21||0x0==_0x45df21[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44980f}=new URL(window[_0x1e73f5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xb99e97(0x1c0)]);if(_0x45df21[_0x1e73f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44980f))return!0x0;const _0x2f1f47=_0x44980f[_0x1e73f5([0x73,0x70,0x6c,0x69,0x74])](_0x1e73f5([0x2e]));return _0x45df21[_0x1e73f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cfc5e=>_0x2cfc5e[_0x1e73f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e73f5([0x2a])))[_0x1e73f5([0x6d,0x61,0x70])](_0x3720a8=>_0x3720a8[_0x1e73f5([0x73,0x70,0x6c,0x69,0x74])](_0x1e73f5([0x2e])))[_0x1e73f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5420c6=>_0x5420c6[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f1f47[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e73f5([0x6d,0x61,0x70])](_0x24bd4a=>Array(_0x2f1f47[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x24bd4a[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e73f5([0x66,0x69,0x6c,0x6c])](_0x24bd4a[0x0]===_0x1e73f5([0x2a])?_0x1e73f5([0x2a]):'')[_0x1e73f5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x24bd4a))[_0x1e73f5([0x73,0x6f,0x6d,0x65])](_0x236846=>_0x2f1f47[_0x1e73f5([0x65,0x76,0x65,0x72,0x79])]((_0x1d03fd,_0xfdfcac)=>_0x236846[_0xfdfcac]===_0x1d03fd||_0x236846[_0xfdfcac]===_0x1e73f5([0x2a])));}function _0x4b8040(){return _0x18633a&&_0x325c60?new window[(_0x1e73f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3270ec,_0x593df7)=>{_0x18633a[_0x1e73f5([0x74,0x68,0x65,0x6e])](_0x3270ec,_0x593df7),_0x325c60[_0x1e73f5([0x74,0x68,0x65,0x6e])](_0x3c9267=>{_0x3c9267!=_0x1e73f5([0x56,0x61,0x6c,0x69,0x64])&&_0x3270ec(_0x3c9267);},_0x593df7);}):_0x18633a||_0x325c60||_0x1e73f5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4dee87(_0x5d7291,_0x574dee){return new window[(_0x1e73f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bfd41=>{if(_0x249cc2())return _0x2bfd41(_0x1e73f5([0x56,0x61,0x6c,0x69,0x64]));_0x1addc8(),_0x3b8a1d[_0x1e73f5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e73f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bd562=!0x1;const _0x43817a=_0xb33d5();function _0x4932e7(_0x427a7a){return!!_0x427a7a&&(typeof _0x427a7a===_0x1e73f5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x427a7a===_0x1e73f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x427a7a[_0x1e73f5([0x74,0x68,0x65,0x6e])]===_0x1e73f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x427a7a[_0x1e73f5([0x63,0x61,0x74,0x63,0x68])]===_0x1e73f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9f8741(_0x4a3c10){_0xfde4ee(_0x4a3c10)[_0x1e73f5([0x74,0x68,0x65,0x6e])](_0x4eb559=>{if(!_0x4eb559||_0x4eb559[_0x1e73f5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e73f5([0x6f,0x6b]))return _0x1e73f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ccd19(_0x425b1b(_0x43817a+_0x574dee))!=_0x4eb559[_0x1e73f5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e73f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e73f5([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e73f5([0x74,0x68,0x65,0x6e])](_0x419e55=>(_0x44dcd8(),_0x419e55),()=>{const _0x3dd7f2=_0x20cdec();return null==_0x3dd7f2?(_0x44dcd8(),_0x1e73f5([0x56,0x61,0x6c,0x69,0x64])):_0x1e73f5(_0x33d53d-_0x3dd7f2>(0x27d454df^_0x214298)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e73f5([0x74,0x68,0x65,0x6e])](_0x2bfd41)[_0x1e73f5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bfd41(_0x1e73f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18f7a7=0x3ee3e5f^_0x214298;function _0x44dcd8(){const _0x3043bc=_0x1e73f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ccd19(_0x425b1b(_0x5d7291)),_0x1908f5=_0x152828(_0x4ccd19(window[_0x1e73f5([0x4d,0x61,0x74,0x68])][_0x1e73f5([0x63,0x65,0x69,0x6c])](_0x33d53d/_0x18f7a7)));window[_0x1e73f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e73f5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3043bc,_0x1908f5);}function _0x20cdec(){const _0x362d47=_0x1e73f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ccd19(_0x425b1b(_0x5d7291)),_0x46b7b9=window[_0x1e73f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e73f5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x362d47);return _0x46b7b9?window[_0x1e73f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152828(_0x46b7b9),0x10)*_0x18f7a7:null;}function _0xfde4ee(_0x5fb3c3){return new window[(_0x1e73f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1289d7,_0x22492f)=>{_0x5fb3c3[_0x1e73f5([0x74,0x68,0x65,0x6e])](_0x1289d7,_0x22492f),window[_0x1e73f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22492f,0x3d9041f^_0x214298);});}}_0x3b8a1d[_0x1e73f5([0x6f,0x6e])](_0x1e73f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56e871,_0x43a53b)=>{if(_0x43a53b[0x0]!=_0x5d7291)return _0x2bfd41(_0x1e73f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43a53b[0x1]={..._0x43a53b[0x1],[_0x1e73f5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43817a};},{[_0x1e73f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e73f5([0x68,0x69,0x67,0x68])}),_0x3b8a1d[_0x1e73f5([0x6f,0x6e])](_0x1e73f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x385047=>{_0x4932e7(_0x385047[_0x1e73f5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bd562=!0x0,_0x9f8741(_0x385047[_0x1e73f5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e73f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e73f5([0x6c,0x6f,0x77])}),_0x6bae42[_0x1e73f5([0x74,0x68,0x65,0x6e])](()=>{_0x2bd562||_0x2bfd41(_0x1e73f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x249cc2(){return _0x3b8a1d[_0x1e73f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e73f5([0x76,0x69,0x65,0x77])][_0x1e73f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e73f5([0x61,0x75,0x74,0x6f]);}function _0x1addc8(){_0x3b8a1d[_0x1e73f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e73f5([0x76,0x69,0x65,0x77])][_0x1e73f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e73f5([0x61,0x75,0x74,0x6f]);}}function _0x12f554(_0x1ea205){const _0x4fda45=[new window[(_0x1e73f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x236aef=>setTimeout(_0x236aef,0x3d1ee13^_0x214298)),_0x6bae42[_0x1e73f5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e73f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389127=>{let _0x3fb43e=0x0;_0x3b8a1d[_0x1e73f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e73f5([0x6f,0x6e])](_0x1e73f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23ac9e,_0xb32c5e)=>{_0xb32c5e[0x0][_0x1e73f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fb43e++,_0x3fb43e==(0x3d8d127^_0x214298)&&(_0x389127(),_0x23ac9e[_0x1e73f5([0x6f,0x66,0x66])]());});}))];return window[_0x1e73f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e73f5([0x72,0x61,0x63,0x65])](_0x4fda45)[_0x1e73f5([0x74,0x68,0x65,0x6e])](()=>_0x1ea205);}async function _0x5f3f41(){await _0x6bae42,_0x3b8a1d[_0x1e73f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e73f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x361c90,_0x3b8a1d[_0x1e73f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e73f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x361c90,_0x3b8a1d[_0x1e73f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e73f5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x354988(_0x3140d4){const _0x6fae9e=_0xeab383();_0x3b8a1d[_0x6fae9e]=_0x1e73f5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3140d4,_0x3140d4!=_0x1e73f5([0x56,0x61,0x6c,0x69,0x64])&&_0x5f3f41();}function _0xeab383(){const _0x3d81d1=window[_0x1e73f5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e73f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e73f5([0x6e,0x6f,0x77])]())[_0x1e73f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e73f5([0x2e]),'');let _0x5eb47f=_0x1e73f5([0x52]);for(let _0x422c01=0x0;_0x422c01<_0x3d81d1[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x422c01+=0x2){let _0x2b5e14=window[_0x1e73f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d81d1[_0x1e73f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x422c01,_0x422c01+0x2));_0x2b5e14>=_0x5db07a[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b5e14-=_0x5db07a[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5eb47f+=_0x5db07a[_0x2b5e14];}return _0x5eb47f;}function _0x405c13(){const _0x44cfa6=_0x163584[_0x1e73f5([0x73,0x70,0x6c,0x69,0x74])](_0x1e73f5([0x2e]));if(0x3!=_0x44cfa6[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5efef7(_0x44cfa6[0x1]);function _0x5efef7(_0x1a7e78){const _0x400fd7=_0x588773(_0x1a7e78);return _0x400fd7&&_0x1f50f0()?_0x400fd7:null;function _0x1f50f0(){const _0x53f0f8=_0x400fd7[_0x1e73f5([0x6a,0x74,0x69])],_0x1a3de6=window[_0x1e73f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53f0f8[_0x1e73f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53f0f8[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x593e58={..._0x400fd7,[_0x1e73f5([0x6a,0x74,0x69])]:_0x53f0f8[_0x1e73f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53f0f8[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x593e58[_0x1e73f5([0x76,0x63])],_0x425b1b(_0x593e58)==_0x1a3de6;}}}async function _0xa21ee1(){let _0x4c4f5b=!0x0;try{const _0x10cf69=_0x163584[_0x1e73f5([0x73,0x70,0x6c,0x69,0x74])](_0x1e73f5([0x2e])),[_0x36f62b,_0x2d2fc5,_0xb8da81]=_0x10cf69;return _0x199658(_0x36f62b),await _0x4ed160(_0x36f62b,_0x2d2fc5,_0xb8da81),_0x4c4f5b;}catch{return!0x1;}function _0x199658(_0x1f4fb7){const _0x3090c3=_0x588773(_0x1f4fb7);_0x3090c3&&_0x3090c3[_0x1e73f5([0x61,0x6c,0x67])]==_0x1e73f5([0x45,0x53,0x32,0x35,0x36])||(_0x4c4f5b=!0x1);}async function _0x4ed160(_0x2998e0,_0x23a13a,_0x14416b){const _0x7b938b=window[_0x1e73f5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e73f5([0x66,0x72,0x6f,0x6d])](_0x169116(_0x14416b),_0x2d08de=>_0x2d08de[_0x1e73f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53390c=new window[(_0x1e73f5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e73f5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2998e0+_0x1e73f5([0x2e])+_0x23a13a),_0x475a0c=window[_0x1e73f5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e73f5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x475a0c)return;const _0x14b1fb=await _0x475a0c[_0x1e73f5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e73f5([0x6a,0x77,0x6b]),_0x138355,{[_0x1e73f5([0x6e,0x61,0x6d,0x65])]:_0x1e73f5([0x45,0x43,0x44,0x53,0x41]),[_0x1e73f5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e73f5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e73f5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x475a0c[_0x1e73f5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e73f5([0x6e,0x61,0x6d,0x65])]:_0x1e73f5([0x45,0x43,0x44,0x53,0x41]),[_0x1e73f5([0x68,0x61,0x73,0x68])]:{[_0x1e73f5([0x6e,0x61,0x6d,0x65])]:_0x1e73f5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14b1fb,_0x7b938b,_0x53390c)||(_0x4c4f5b=!0x1);}}function _0x588773(_0x31e504){return _0x31e504[_0x1e73f5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e73f5([0x65,0x79]))?JSON[_0x1e73f5([0x70,0x61,0x72,0x73,0x65])](_0x169116(_0x31e504)):null;}function _0x169116(_0x5cc598){return window[_0x1e73f5([0x61,0x74,0x6f,0x62])](_0x5cc598[_0x1e73f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e73f5([0x2b]))[_0x1e73f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e73f5([0x2f])));}function _0x425b1b(_0x1abe25){let _0x45b033=0x1505;function _0x510cfc(_0x3f4429){for(let _0x19f279=0x0;_0x19f279<_0x3f4429[_0x1e73f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19f279++){const _0x46e5e3=_0x3f4429[_0x1e73f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19f279);_0x45b033=(_0x45b033<<0x5)+_0x45b033+_0x46e5e3,_0x45b033&=_0x45b033;}}function _0x1e39a6(_0x1478ce){Array[_0x1e73f5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1478ce)?_0x1478ce[_0x1e73f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e39a6):_0x1478ce&&typeof _0x1478ce==_0x1e73f5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e73f5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1478ce)[_0x1e73f5([0x73,0x6f,0x72,0x74])]()[_0x1e73f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x586e2c,_0x2fd705])=>{_0x510cfc(_0x586e2c),_0x1e39a6(_0x2fd705);}):_0x510cfc(window[_0x1e73f5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1478ce));}return _0x1e39a6(_0x1abe25),_0x45b033>>>0x0;}function _0x4ccd19(_0x32f0a6){return _0x32f0a6[_0x1e73f5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e73f5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e73f5([0x30]));}function _0x152828(_0x3398ed){return _0x3398ed[_0x1e73f5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e73f5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e73f5([0x6a,0x6f,0x69,0x6e])]('');}function _0x361c90(){}function _0x1e73f5(_0x2ed8ab){const _0x2f8303=_0x32de;return _0x2ed8ab[_0x2f8303(0x208)](_0xc9b8b5=>String[_0x2f8303(0x1c6)](_0xc9b8b5))[_0x2f8303(0x20c)]('');}_0x354988(await _0x2adf1d());}(this);}[_0x5e92e9(0x1d5)](){const _0x41b1ba=_0x5e92e9,_0x3e58df=this[_0x41b1ba(0x1ff)][_0x41b1ba(0x1dd)][_0x41b1ba(0x206)];_0x3e58df[_0x41b1ba(0x1e1)](_0x41b1ba(0x1e5))&&_0x3e58df[_0x41b1ba(0x20d)](_0x41b1ba(0x1e5),{'allowAttributes':[_0x41b1ba(0x1c1)]}),_0x3e58df[_0x41b1ba(0x1e1)](_0x41b1ba(0x1fc))&&_0x3e58df[_0x41b1ba(0x20d)](_0x41b1ba(0x1fc),{'allowAttributes':[_0x41b1ba(0x1c1)]});}[_0x5e92e9(0x1f6)](){const _0x13bc6f=_0x5e92e9,_0x4d7015=this[_0x13bc6f(0x1ff)];_0x4d7015[_0x13bc6f(0x209)][_0x13bc6f(0x1f4)](_0x13bc6f(0x1ef))[_0x13bc6f(0x1da)]({'model':_0x13bc6f(0x1c1),'view':_0x13bc6f(0x20f)}),_0x4d7015[_0x13bc6f(0x209)][_0x13bc6f(0x1f4)](_0x13bc6f(0x1fd))[_0x13bc6f(0x200)]({'model':{'key':_0x13bc6f(0x1c1),'value':_0x4137c7=>_0x4137c7[_0x13bc6f(0x1eb)](_0x13bc6f(0x20f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x8d3ba4=_0x4d7015[_0x13bc6f(0x1e3)][_0x13bc6f(0x1bf)](_0x13bc6f(0x1fb));_0x8d3ba4&&this[_0x13bc6f(0x205)](_0x8d3ba4,_0x13bc6f(0x1e6),(_0x47a019,[_0x1d4c90,_0x4d5fbf])=>{const _0x212a08=_0x13bc6f;_0x1d4c90[_0x212a08(0x1ed)](_0x212a08(0x1c1),_0x4d5fbf);});}[_0x5e92e9(0x201)](){const _0x2d1174=_0x5e92e9,_0x285438=this[_0x2d1174(0x1ff)][_0x2d1174(0x1f2)][_0x2d1174(0x1bf)](_0x2d1174(0x1f8))||{},_0x54da4d=this[_0x2d1174(0x1ff)][_0x2d1174(0x1f2)][_0x2d1174(0x1bf)](_0x2d1174(0x1ce))||'';this[_0x2d1174(0x1ea)]=_0x2e316e(_0x262c74[_0x2d1174(0x1e4)],_0x2d1174(0x1c5),{..._0x285438,'pubkey':_0x54da4d,'ctx-name':_0x2d1174(0x1d9)+this[_0x2d1174(0x1d8)],'sourceList':'','imgOnly':_0x2d1174(0x1cf),'removeCopyright':_0x2d1174(0x1cf),'localeName':this[_0x2d1174(0x1ff)][_0x2d1174(0x1e8)][_0x2d1174(0x1cc)],'externalSourcesEmbedCss':_0x2d1174(0x1d0)}),this[_0x2d1174(0x1ea)][_0x2d1174(0x20b)]=_0x41459d=>{const _0x2c82b5=_0x2d1174;if(_0x2c82b5(0x1e0)==_0x41459d)return _0x2c82b5(0x207);},_0x262c74[_0x2d1174(0x1e4)][_0x2d1174(0x1ee)][_0x2d1174(0x1c3)](this[_0x2d1174(0x1ea)]);}[_0x5e92e9(0x1f3)](){const _0x3e027e=_0x5e92e9;this[_0x3e027e(0x1d6)]=_0x2e316e(_0x262c74[_0x3e027e(0x1e4)],_0x3e027e(0x1d7),{'ctx-name':_0x3e027e(0x1d9)+this[_0x3e027e(0x1d8)]}),_0x262c74[_0x3e027e(0x1e4)][_0x3e027e(0x1ee)][_0x3e027e(0x1c3)](this[_0x3e027e(0x1d6)]);}[_0x5e92e9(0x1ec)](){const _0x2da3d9=_0x5e92e9,_0x515bc5=this[_0x2da3d9(0x1ff)][_0x2da3d9(0x1e3)][_0x2da3d9(0x1bf)](_0x2da3d9(0x1f5));_0x515bc5&&this[_0x2da3d9(0x205)](_0x515bc5,_0x2da3d9(0x203),()=>{const _0x4eae75=_0x2da3d9,_0x2e57df=this[_0x4eae75(0x1ff)][_0x4eae75(0x1dd)][_0x4eae75(0x1e4)][_0x4eae75(0x1c4)][_0x4eae75(0x1d3)]();_0x2e57df&&_0x2e57df[_0x4eae75(0x1eb)](_0x4eae75(0x1c1))&&this[_0x4eae75(0x1ff)][_0x4eae75(0x1e2)][_0x4eae75(0x1db)][_0x4eae75(0x1ca)](_0x4eae75(0x204),()=>{const _0x54a6e4=_0x4eae75;_0x18f42a(this[_0x54a6e4(0x1ff)],_0x2e57df);});});const _0x49119a=this[_0x2da3d9(0x1ff)][_0x2da3d9(0x1e3)][_0x2da3d9(0x1bf)](_0x2da3d9(0x1f9));_0x49119a&&this[_0x2da3d9(0x205)](_0x49119a,_0x2da3d9(0x203),()=>{const _0x102eb3=_0x2da3d9,_0x436bf5=this[_0x102eb3(0x1ff)][_0x102eb3(0x1dd)][_0x102eb3(0x1e4)][_0x102eb3(0x1c4)][_0x102eb3(0x1d3)]();_0x436bf5&&_0x436bf5[_0x102eb3(0x1eb)](_0x102eb3(0x1c1))&&this[_0x102eb3(0x1ff)][_0x102eb3(0x1e2)][_0x102eb3(0x1db)][_0x102eb3(0x1ca)](_0x102eb3(0x204),()=>{const _0x1f7499=_0x102eb3;_0x18f42a(this[_0x1f7499(0x1ff)],_0x436bf5);});});}}
23
+ const _0x496e2c=_0x1ffc;(function(_0x377da9,_0x5bf1d3){const _0x426c06=_0x1ffc,_0x5b0d61=_0x377da9();while(!![]){try{const _0x2693a6=-parseInt(_0x426c06(0xd1))/0x1+parseInt(_0x426c06(0xe0))/0x2+-parseInt(_0x426c06(0xae))/0x3+-parseInt(_0x426c06(0xf0))/0x4+parseInt(_0x426c06(0xf1))/0x5*(-parseInt(_0x426c06(0xa3))/0x6)+parseInt(_0x426c06(0xd4))/0x7*(parseInt(_0x426c06(0xa9))/0x8)+parseInt(_0x426c06(0xe4))/0x9*(parseInt(_0x426c06(0xe5))/0xa);if(_0x2693a6===_0x5bf1d3)break;else _0x5b0d61['push'](_0x5b0d61['shift']());}catch(_0x30341f){_0x5b0d61['push'](_0x5b0d61['shift']());}}}(_0x3b26,0x3f9fa));import{Plugin as _0x4d70e3}from'ckeditor5/src/core.js';import{Dialog as _0x3a08d9}from'ckeditor5/src/ui.js';import{createElement as _0x439c5d,global as _0x385c05,uid as _0x5cbaba}from'ckeditor5/src/utils.js';function _0x1ffc(_0xf0ceff,_0x13383e){const _0x3b2665=_0x3b26();return _0x1ffc=function(_0x1ffc31,_0x48ab49){_0x1ffc31=_0x1ffc31-0xa1;let _0x32c258=_0x3b2665[_0x1ffc31];return _0x32c258;},_0x1ffc(_0xf0ceff,_0x13383e);}import{UploadcareCommand as _0x22a778}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5a9ac5}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x6d0740}from'./utils/editingutils.js';function _0x3b26(){const _0x2a0b50=['afterInit','_initImageProcessingIndicator','getAttribute','_initSchema','model','map','_initCtx','destroy','399528ClwrWF','30EjABRe','extend','cleanupImage','downcast','editor','for','PictureEditing','181176OBNBHD','configElement','getSelectedElement','config','imageBlock','editing','3448pnbsCj','fromCharCode','document','commands','data-uc-image-id','690390qxPLOr','schema','replaceImageSource','listenTo','render','add','uploadcare.pubkey','get','isOfficialPlugin','true','_initConversion','isPremiumPlugin','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','pluginName','_ctxElement','href','uploadcareImageReplace','ucContextId','#uc-icon-arrow-down','upcast','selection','requires','execute','querySelector','uploadcare','view','ctxElement','appendChild','uploader-','isRegistered','imageInline','_initConfig','init','remove','UploadcareEditing','31345JDnOgH','closeMax','uc-upload-ctx-provider','798juYmkR','locale','body','once','uploadcare.uploader','conversion','uc-config','insertImage','contentLanguage','iconHrefResolver','join','uploadcareImageId','193106VonkVa','_configElement','input[uploadcare-file-input]','elementToAttribute','3069vPdnwo','19280aWIXWt','attributeToAttribute','removeAttribute'];_0x3b26=function(){return _0x2a0b50;};return _0x3b26();}export class UploadcareEditing extends _0x4d70e3{[_0x496e2c(0xe1)]=null;[_0x496e2c(0xbc)]=null;static get[_0x496e2c(0xbb)](){const _0x43750a=_0x496e2c;return _0x43750a(0xd0);}static get[_0x496e2c(0xc3)](){const _0x33935e=_0x496e2c;return[_0x33935e(0xa2),_0x5a9ac5,_0x3a08d9];}static get[_0x496e2c(0xb6)](){return!0x0;}static get[_0x496e2c(0xb9)](){return!0x0;}[_0x496e2c(0xbf)];get[_0x496e2c(0xa4)](){const _0x463307=_0x496e2c;return this[_0x463307(0xe1)];}get[_0x496e2c(0xc8)](){const _0x466ccd=_0x496e2c;return this[_0x466ccd(0xbc)];}constructor(_0xd88f7d){const _0x152fc9=_0x496e2c;super(_0xd88f7d),this[_0x152fc9(0xbf)]=_0x5cbaba();}[_0x496e2c(0xce)](){const _0x44828a=_0x496e2c,_0x37f0e3=this[_0x44828a(0xf5)];_0x37f0e3[_0x44828a(0xac)][_0x44828a(0xb3)](_0x44828a(0xc6),new _0x22a778(_0x37f0e3));}[_0x496e2c(0xe8)](){const _0x4ab3c7=_0x496e2c;this[_0x4ab3c7(0xeb)](),this[_0x4ab3c7(0xb8)](),this[_0x4ab3c7(0xcd)](),this[_0x4ab3c7(0xee)](),this[_0x4ab3c7(0xe9)](),this[_0x4ab3c7(0xb1)](this[_0x4ab3c7(0xf5)],_0x4ab3c7(0xef),()=>{const _0x197de2=_0x4ab3c7;this[_0x197de2(0xe1)]&&(this[_0x197de2(0xe1)][_0x197de2(0xcf)](),this[_0x197de2(0xe1)]=null),this[_0x197de2(0xbc)]&&(this[_0x197de2(0xbc)][_0x197de2(0xcf)](),this[_0x197de2(0xbc)]=null);const _0x4f450a=_0x385c05[_0x197de2(0xab)][_0x197de2(0xc5)](_0x197de2(0xe2));_0x4f450a&&_0x4f450a[_0x197de2(0xcf)]();}),async function(_0x5762b7){const _0x3ec60f=_0x388dfa([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x3a6c6a=0x3d8d0df,_0x46267b=0x3dfa517^_0x3a6c6a,_0x3800cc=window[_0x388dfa([0x44,0x61,0x74,0x65])][_0x388dfa([0x6e,0x6f,0x77])](),_0x5b7a50=_0x5762b7[_0x388dfa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f1c28=new window[(_0x388dfa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22008c=>{_0x5b7a50[_0x388dfa([0x6f,0x6e,0x63,0x65])](_0x388dfa([0x72,0x65,0x61,0x64,0x79]),_0x22008c);}),_0x10dd21={[_0x388dfa([0x6b,0x74,0x79])]:_0x388dfa([0x45,0x43]),[_0x388dfa([0x75,0x73,0x65])]:_0x388dfa([0x73,0x69,0x67]),[_0x388dfa([0x63,0x72,0x76])]:_0x388dfa([0x50,0x2d,0x32,0x35,0x36]),[_0x388dfa([0x78])]:_0x388dfa([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x388dfa([0x79])]:_0x388dfa([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x388dfa([0x61,0x6c,0x67])]:_0x388dfa([0x45,0x53,0x32,0x35,0x36])},_0x486690=_0x5b7a50[_0x388dfa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x388dfa([0x67,0x65,0x74])](_0x388dfa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4eefd1(){let _0x23357a,_0x2aca12=null,_0x3eacb3=null;try{if(_0x486690==_0x388dfa([0x47,0x50,0x4c]))return _0x388dfa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23357a=_0x499c49(),!_0x23357a)return _0x388dfa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23357a[_0x388dfa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3eacb3=_0x3bf113(_0x23357a[_0x388dfa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23357a[_0x388dfa([0x6a,0x74,0x69])])),await _0x1a3459()?_0x58a72a()?_0xd06f35()?_0x388dfa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22394b()?(_0x23357a[_0x388dfa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x388dfa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2aca12=_0x3ed698(_0x388dfa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23357a[_0x388dfa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x388dfa([0x74,0x72,0x69,0x61,0x6c])&&(_0x2aca12=_0x3ed698(_0x388dfa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x336776()):_0x388dfa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x388dfa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x388dfa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x388dfa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd06f35(){const _0x167cdb=[_0x388dfa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x388dfa([0x74,0x72,0x69,0x61,0x6c])][_0x388dfa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23357a[_0x388dfa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3800cc/0x3e8:0xe10*_0x46267b;return _0x23357a[_0x388dfa([0x65,0x78,0x70])]<_0x167cdb;}function _0x58a72a(){const _0x3a861c=_0x23357a[_0x388dfa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a861c&&(!!_0x3a861c[_0x388dfa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388dfa([0x2a]))||!!_0x3a861c[_0x388dfa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388dfa([0x55,0x50,0x4c,0x43])));}function _0x22394b(){const _0x56c6c9=_0x1ffc,_0x477768=_0x23357a[_0x388dfa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x477768||0x0==_0x477768[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31f3ba}=new URL(window[_0x388dfa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x56c6c9(0xbd)]);if(_0x477768[_0x388dfa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31f3ba))return!0x0;const _0x5f4ecf=_0x31f3ba[_0x388dfa([0x73,0x70,0x6c,0x69,0x74])](_0x388dfa([0x2e]));return _0x477768[_0x388dfa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d2695=>_0x5d2695[_0x388dfa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388dfa([0x2a])))[_0x388dfa([0x6d,0x61,0x70])](_0x1887d2=>_0x1887d2[_0x388dfa([0x73,0x70,0x6c,0x69,0x74])](_0x388dfa([0x2e])))[_0x388dfa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a227a=>_0x3a227a[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f4ecf[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x388dfa([0x6d,0x61,0x70])](_0x24276b=>Array(_0x5f4ecf[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x24276b[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x388dfa([0x66,0x69,0x6c,0x6c])](_0x24276b[0x0]===_0x388dfa([0x2a])?_0x388dfa([0x2a]):'')[_0x388dfa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x24276b))[_0x388dfa([0x73,0x6f,0x6d,0x65])](_0xfe03e8=>_0x5f4ecf[_0x388dfa([0x65,0x76,0x65,0x72,0x79])]((_0x14bfef,_0x32e6fa)=>_0xfe03e8[_0x32e6fa]===_0x14bfef||_0xfe03e8[_0x32e6fa]===_0x388dfa([0x2a])));}function _0x336776(){return _0x2aca12&&_0x3eacb3?new window[(_0x388dfa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x152926,_0x2a2448)=>{_0x2aca12[_0x388dfa([0x74,0x68,0x65,0x6e])](_0x152926,_0x2a2448),_0x3eacb3[_0x388dfa([0x74,0x68,0x65,0x6e])](_0x8de62a=>{_0x8de62a!=_0x388dfa([0x56,0x61,0x6c,0x69,0x64])&&_0x152926(_0x8de62a);},_0x2a2448);}):_0x2aca12||_0x3eacb3||_0x388dfa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3bf113(_0x4e7ae3,_0x5ce044){return new window[(_0x388dfa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a73a8=>{if(_0x5dd858())return _0x3a73a8(_0x388dfa([0x56,0x61,0x6c,0x69,0x64]));_0x5cccc9(),_0x5b7a50[_0x388dfa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x388dfa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x203519=!0x1;const _0x402035=_0x5cbaba();function _0x36ba50(_0x2bfafb){return!!_0x2bfafb&&(typeof _0x2bfafb===_0x388dfa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bfafb===_0x388dfa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bfafb[_0x388dfa([0x74,0x68,0x65,0x6e])]===_0x388dfa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bfafb[_0x388dfa([0x63,0x61,0x74,0x63,0x68])]===_0x388dfa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x98d3cf(_0x21cc09){_0x29cf10(_0x21cc09)[_0x388dfa([0x74,0x68,0x65,0x6e])](_0x343056=>{if(!_0x343056||_0x343056[_0x388dfa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x388dfa([0x6f,0x6b]))return _0x388dfa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2df15c(_0xf89f25(_0x402035+_0x5ce044))!=_0x343056[_0x388dfa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x388dfa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x388dfa([0x56,0x61,0x6c,0x69,0x64]);})[_0x388dfa([0x74,0x68,0x65,0x6e])](_0x320a82=>(_0x2b5261(),_0x320a82),()=>{const _0x2e0556=_0x49ac0a();return null==_0x2e0556?(_0x2b5261(),_0x388dfa([0x56,0x61,0x6c,0x69,0x64])):_0x388dfa(_0x3800cc-_0x2e0556>(0x27d454df^_0x3a6c6a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x388dfa([0x74,0x68,0x65,0x6e])](_0x3a73a8)[_0x388dfa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a73a8(_0x388dfa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x354518=0x3ee3e5f^_0x3a6c6a;function _0x2b5261(){const _0x33d770=_0x388dfa([0x6c,0x6c,0x63,0x74,0x2d])+_0x2df15c(_0xf89f25(_0x4e7ae3)),_0x562a67=_0x5697d1(_0x2df15c(window[_0x388dfa([0x4d,0x61,0x74,0x68])][_0x388dfa([0x63,0x65,0x69,0x6c])](_0x3800cc/_0x354518)));window[_0x388dfa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x388dfa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33d770,_0x562a67);}function _0x49ac0a(){const _0x535f28=_0x388dfa([0x6c,0x6c,0x63,0x74,0x2d])+_0x2df15c(_0xf89f25(_0x4e7ae3)),_0xd9df9=window[_0x388dfa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x388dfa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x535f28);return _0xd9df9?window[_0x388dfa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5697d1(_0xd9df9),0x10)*_0x354518:null;}function _0x29cf10(_0x132a08){return new window[(_0x388dfa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cf40d,_0x26d88f)=>{_0x132a08[_0x388dfa([0x74,0x68,0x65,0x6e])](_0x1cf40d,_0x26d88f),window[_0x388dfa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26d88f,0x3d9041f^_0x3a6c6a);});}}_0x5b7a50[_0x388dfa([0x6f,0x6e])](_0x388dfa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e464d,_0x1d45b0)=>{if(_0x1d45b0[0x0]!=_0x4e7ae3)return _0x3a73a8(_0x388dfa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d45b0[0x1]={..._0x1d45b0[0x1],[_0x388dfa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x402035};},{[_0x388dfa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x388dfa([0x68,0x69,0x67,0x68])}),_0x5b7a50[_0x388dfa([0x6f,0x6e])](_0x388dfa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d5ff9=>{_0x36ba50(_0x1d5ff9[_0x388dfa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x203519=!0x0,_0x98d3cf(_0x1d5ff9[_0x388dfa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x388dfa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x388dfa([0x6c,0x6f,0x77])}),_0x3f1c28[_0x388dfa([0x74,0x68,0x65,0x6e])](()=>{_0x203519||_0x3a73a8(_0x388dfa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5dd858(){return _0x5b7a50[_0x388dfa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x388dfa([0x76,0x69,0x65,0x77])][_0x388dfa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x388dfa([0x61,0x75,0x74,0x6f]);}function _0x5cccc9(){_0x5b7a50[_0x388dfa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x388dfa([0x76,0x69,0x65,0x77])][_0x388dfa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x388dfa([0x61,0x75,0x74,0x6f]);}}function _0x3ed698(_0x54f63d){const _0x1a6272=[new window[(_0x388dfa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107ecf=>setTimeout(_0x107ecf,0x3d1ee13^_0x3a6c6a)),_0x3f1c28[_0x388dfa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x388dfa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54414a=>{let _0x1d97b0=0x0;_0x5b7a50[_0x388dfa([0x6d,0x6f,0x64,0x65,0x6c])][_0x388dfa([0x6f,0x6e])](_0x388dfa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39e962,_0x52815d)=>{_0x52815d[0x0][_0x388dfa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d97b0++,_0x1d97b0==(0x3d8d127^_0x3a6c6a)&&(_0x54414a(),_0x39e962[_0x388dfa([0x6f,0x66,0x66])]());});}))];return window[_0x388dfa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x388dfa([0x72,0x61,0x63,0x65])](_0x1a6272)[_0x388dfa([0x74,0x68,0x65,0x6e])](()=>_0x54f63d);}async function _0x4d9fdc(){await _0x3f1c28,_0x5b7a50[_0x388dfa([0x6d,0x6f,0x64,0x65,0x6c])][_0x388dfa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x256a44,_0x5b7a50[_0x388dfa([0x6d,0x6f,0x64,0x65,0x6c])][_0x388dfa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x256a44,_0x5b7a50[_0x388dfa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x388dfa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39456d(_0x5bc59a){const _0x5765f9=_0x27ef8b();_0x5b7a50[_0x5765f9]=_0x388dfa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5bc59a,_0x5bc59a!=_0x388dfa([0x56,0x61,0x6c,0x69,0x64])&&_0x4d9fdc();}function _0x27ef8b(){const _0x4946db=window[_0x388dfa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x388dfa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x388dfa([0x6e,0x6f,0x77])]())[_0x388dfa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x388dfa([0x2e]),'');let _0x5dd7ef=_0x388dfa([0x52]);for(let _0x5b4226=0x0;_0x5b4226<_0x4946db[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4226+=0x2){let _0x4e4084=window[_0x388dfa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4946db[_0x388dfa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b4226,_0x5b4226+0x2));_0x4e4084>=_0x3ec60f[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e4084-=_0x3ec60f[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5dd7ef+=_0x3ec60f[_0x4e4084];}return _0x5dd7ef;}function _0x499c49(){const _0x3c7047=_0x486690[_0x388dfa([0x73,0x70,0x6c,0x69,0x74])](_0x388dfa([0x2e]));if(0x3!=_0x3c7047[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x345133(_0x3c7047[0x1]);function _0x345133(_0x416b19){const _0x9548e8=_0x24829e(_0x416b19);return _0x9548e8&&_0x19eff4()?_0x9548e8:null;function _0x19eff4(){const _0x4f6f7c=_0x9548e8[_0x388dfa([0x6a,0x74,0x69])],_0x16b839=window[_0x388dfa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f6f7c[_0x388dfa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f6f7c[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x113b20={..._0x9548e8,[_0x388dfa([0x6a,0x74,0x69])]:_0x4f6f7c[_0x388dfa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f6f7c[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x113b20[_0x388dfa([0x76,0x63])],_0xf89f25(_0x113b20)==_0x16b839;}}}async function _0x1a3459(){let _0xb9f945=!0x0;try{const _0x3a931a=_0x486690[_0x388dfa([0x73,0x70,0x6c,0x69,0x74])](_0x388dfa([0x2e])),[_0x4eaf45,_0xe75a24,_0x4daf40]=_0x3a931a;return _0xafc116(_0x4eaf45),await _0xf9a5e1(_0x4eaf45,_0xe75a24,_0x4daf40),_0xb9f945;}catch{return!0x1;}function _0xafc116(_0x4ebf42){const _0x2ae8f7=_0x24829e(_0x4ebf42);_0x2ae8f7&&_0x2ae8f7[_0x388dfa([0x61,0x6c,0x67])]==_0x388dfa([0x45,0x53,0x32,0x35,0x36])||(_0xb9f945=!0x1);}async function _0xf9a5e1(_0x41a239,_0x4b0061,_0x184984){const _0x292508=window[_0x388dfa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x388dfa([0x66,0x72,0x6f,0x6d])](_0x430d33(_0x184984),_0x538b83=>_0x538b83[_0x388dfa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1754aa=new window[(_0x388dfa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x388dfa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41a239+_0x388dfa([0x2e])+_0x4b0061),_0x5e39dd=window[_0x388dfa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x388dfa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e39dd)return;const _0x1b5bd0=await _0x5e39dd[_0x388dfa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x388dfa([0x6a,0x77,0x6b]),_0x10dd21,{[_0x388dfa([0x6e,0x61,0x6d,0x65])]:_0x388dfa([0x45,0x43,0x44,0x53,0x41]),[_0x388dfa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x388dfa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x388dfa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e39dd[_0x388dfa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x388dfa([0x6e,0x61,0x6d,0x65])]:_0x388dfa([0x45,0x43,0x44,0x53,0x41]),[_0x388dfa([0x68,0x61,0x73,0x68])]:{[_0x388dfa([0x6e,0x61,0x6d,0x65])]:_0x388dfa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b5bd0,_0x292508,_0x1754aa)||(_0xb9f945=!0x1);}}function _0x24829e(_0x4ced92){return _0x4ced92[_0x388dfa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x388dfa([0x65,0x79]))?JSON[_0x388dfa([0x70,0x61,0x72,0x73,0x65])](_0x430d33(_0x4ced92)):null;}function _0x430d33(_0x4374ba){return window[_0x388dfa([0x61,0x74,0x6f,0x62])](_0x4374ba[_0x388dfa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x388dfa([0x2b]))[_0x388dfa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x388dfa([0x2f])));}function _0xf89f25(_0x1cb7ba){let _0x2077f2=0x1505;function _0x5794bb(_0x3646f6){for(let _0x1f3458=0x0;_0x1f3458<_0x3646f6[_0x388dfa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f3458++){const _0x531b13=_0x3646f6[_0x388dfa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f3458);_0x2077f2=(_0x2077f2<<0x5)+_0x2077f2+_0x531b13,_0x2077f2&=_0x2077f2;}}function _0xf045f5(_0x43da5f){Array[_0x388dfa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43da5f)?_0x43da5f[_0x388dfa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf045f5):_0x43da5f&&typeof _0x43da5f==_0x388dfa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x388dfa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43da5f)[_0x388dfa([0x73,0x6f,0x72,0x74])]()[_0x388dfa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x99ac88,_0x377a76])=>{_0x5794bb(_0x99ac88),_0xf045f5(_0x377a76);}):_0x5794bb(window[_0x388dfa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43da5f));}return _0xf045f5(_0x1cb7ba),_0x2077f2>>>0x0;}function _0x2df15c(_0x305842){return _0x305842[_0x388dfa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x388dfa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x388dfa([0x30]));}function _0x5697d1(_0x95cb3e){return _0x95cb3e[_0x388dfa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x388dfa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x388dfa([0x6a,0x6f,0x69,0x6e])]('');}function _0x256a44(){}function _0x388dfa(_0x99a609){const _0x34d1d1=_0x1ffc;return _0x99a609[_0x34d1d1(0xed)](_0xc8615f=>String[_0x34d1d1(0xaa)](_0xc8615f))[_0x34d1d1(0xde)]('');}_0x39456d(await _0x4eefd1());}(this);}[_0x496e2c(0xeb)](){const _0x1be3e5=_0x496e2c,_0x4eb934=this[_0x1be3e5(0xf5)][_0x1be3e5(0xec)][_0x1be3e5(0xaf)];_0x4eb934[_0x1be3e5(0xcb)](_0x1be3e5(0xa7))&&_0x4eb934[_0x1be3e5(0xf2)](_0x1be3e5(0xa7),{'allowAttributes':[_0x1be3e5(0xdf)]}),_0x4eb934[_0x1be3e5(0xcb)](_0x1be3e5(0xcc))&&_0x4eb934[_0x1be3e5(0xf2)](_0x1be3e5(0xcc),{'allowAttributes':[_0x1be3e5(0xdf)]});}[_0x496e2c(0xb8)](){const _0xdb25ff=_0x496e2c,_0x2bb055=this[_0xdb25ff(0xf5)];_0x2bb055[_0xdb25ff(0xd9)][_0xdb25ff(0xa1)](_0xdb25ff(0xf4))[_0xdb25ff(0xe6)]({'model':_0xdb25ff(0xdf),'view':_0xdb25ff(0xad)}),_0x2bb055[_0xdb25ff(0xd9)][_0xdb25ff(0xa1)](_0xdb25ff(0xc1))[_0xdb25ff(0xe3)]({'model':{'key':_0xdb25ff(0xdf),'value':_0x18b92d=>_0x18b92d[_0xdb25ff(0xea)](_0xdb25ff(0xad))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a7421=_0x2bb055[_0xdb25ff(0xac)][_0xdb25ff(0xb5)](_0xdb25ff(0xb0));_0x1a7421&&this[_0xdb25ff(0xb1)](_0x1a7421,_0xdb25ff(0xf3),(_0x393591,[_0x3ad459,_0x443eb0])=>{const _0x5d7c96=_0xdb25ff;_0x3ad459[_0x5d7c96(0xe7)](_0x5d7c96(0xdf),_0x443eb0);});}[_0x496e2c(0xcd)](){const _0x1af1a6=_0x496e2c,_0x32a734=this[_0x1af1a6(0xf5)][_0x1af1a6(0xa6)][_0x1af1a6(0xb5)](_0x1af1a6(0xd8))||{},_0xd187d1=this[_0x1af1a6(0xf5)][_0x1af1a6(0xa6)][_0x1af1a6(0xb5)](_0x1af1a6(0xb4))||'';this[_0x1af1a6(0xe1)]=_0x439c5d(_0x385c05[_0x1af1a6(0xab)],_0x1af1a6(0xda),{..._0x32a734,'pubkey':_0xd187d1,'ctx-name':_0x1af1a6(0xca)+this[_0x1af1a6(0xbf)],'sourceList':'','imgOnly':_0x1af1a6(0xb7),'removeCopyright':_0x1af1a6(0xb7),'localeName':this[_0x1af1a6(0xf5)][_0x1af1a6(0xd5)][_0x1af1a6(0xdc)],'externalSourcesEmbedCss':_0x1af1a6(0xba)}),this[_0x1af1a6(0xe1)][_0x1af1a6(0xdd)]=_0x47f72c=>{const _0x3d5b69=_0x1af1a6;if(_0x3d5b69(0xd2)==_0x47f72c)return _0x3d5b69(0xc0);},_0x385c05[_0x1af1a6(0xab)][_0x1af1a6(0xd6)][_0x1af1a6(0xc9)](this[_0x1af1a6(0xe1)]);}[_0x496e2c(0xee)](){const _0x2dc8fe=_0x496e2c;this[_0x2dc8fe(0xbc)]=_0x439c5d(_0x385c05[_0x2dc8fe(0xab)],_0x2dc8fe(0xd3),{'ctx-name':_0x2dc8fe(0xca)+this[_0x2dc8fe(0xbf)]}),_0x385c05[_0x2dc8fe(0xab)][_0x2dc8fe(0xd6)][_0x2dc8fe(0xc9)](this[_0x2dc8fe(0xbc)]);}[_0x496e2c(0xe9)](){const _0x5d44c7=_0x496e2c,_0x34cd33=this[_0x5d44c7(0xf5)][_0x5d44c7(0xac)][_0x5d44c7(0xb5)](_0x5d44c7(0xdb));_0x34cd33&&this[_0x5d44c7(0xb1)](_0x34cd33,_0x5d44c7(0xc4),()=>{const _0xeeffe3=_0x5d44c7,_0x4a061a=this[_0xeeffe3(0xf5)][_0xeeffe3(0xec)][_0xeeffe3(0xab)][_0xeeffe3(0xc2)][_0xeeffe3(0xa5)]();_0x4a061a&&_0x4a061a[_0xeeffe3(0xea)](_0xeeffe3(0xdf))&&this[_0xeeffe3(0xf5)][_0xeeffe3(0xa8)][_0xeeffe3(0xc7)][_0xeeffe3(0xd7)](_0xeeffe3(0xb2),()=>{const _0x555e00=_0xeeffe3;_0x6d0740(this[_0x555e00(0xf5)],_0x4a061a);});});const _0x51e827=this[_0x5d44c7(0xf5)][_0x5d44c7(0xac)][_0x5d44c7(0xb5)](_0x5d44c7(0xbe));_0x51e827&&this[_0x5d44c7(0xb1)](_0x51e827,_0x5d44c7(0xc4),()=>{const _0x16eb5e=_0x5d44c7,_0x180e0e=this[_0x16eb5e(0xf5)][_0x16eb5e(0xec)][_0x16eb5e(0xab)][_0x16eb5e(0xc2)][_0x16eb5e(0xa5)]();_0x180e0e&&_0x180e0e[_0x16eb5e(0xea)](_0x16eb5e(0xdf))&&this[_0x16eb5e(0xf5)][_0x16eb5e(0xa8)][_0x16eb5e(0xc7)][_0x16eb5e(0xd7)](_0x16eb5e(0xb2),()=>{const _0xc6ab9=_0x16eb5e;_0x6d0740(this[_0xc6ab9(0xf5)],_0x180e0e);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1fa909,ObservableMixin as _0x311332}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x32c9a7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xf7e3b7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x173133}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x8bab94}from'../../utils/uploadutils.js';import{getImageUrls as _0x59a6e4,getImageDimension as _0x5738e0}from'../../utils/editingutils.js';import{isAncestor as _0xab88a4}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x311332(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x161a42,_0x1e226d,_0xcaa88e){super(),this['_editor']=_0x161a42,this['_dialog']=_0x1e226d,this['_imageElement']=_0xcaa88e,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x88a751=this['_imageElement'],_0x29698e=_0x88a751['getAttribute']('uploadcareImageId'),_0x314ad0=_0x88a751['getAttribute']('src');if(_0x29698e)await this['_loadImageInfo'](_0x29698e,_0x314ad0);else{if(this['_imageCache']['has'](_0x314ad0)){const _0x4e85e2=this['_imageCache']['get'](_0x314ad0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e85e2['url'],this['imageDimension']=_0x4e85e2['dimension'],this['imageId']=_0x4e85e2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2e569d}=this['_editor'],t=_0x2e569d['t'],_0x54134b=new _0x173133(_0x2e569d,this['imageStatus'],this['_attributes']);_0x54134b['bind']('status')['to'](this,'imageStatus'),_0x54134b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x54134b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x54134b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x54134b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xf7e3b7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x54134b,'position':_0x32c9a7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x54134b['focus']();},'onHide':()=>{_0x54134b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5611eb=>!_0xab88a4(_0x5611eb,_0x54134b['element'])}});}['_loadImageInfo'](_0x3132ee,_0xfbc164){return _0x8bab94['getInfo'](_0x3132ee,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x14692b=>{const {width:_0x3ed0c9,height:_0x5048aa}=_0x14692b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xfbc164,this['imageDimension']={'width':_0x3ed0c9,'height':_0x5048aa},this['imageId']=_0x3132ee;})['catch'](_0x5f8100=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5f8100['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x20884b,_0x14a072){return this['_getImageAsFile'](_0x20884b)['then'](_0x4c7875=>_0x8bab94['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x14a072['signal'],'file':_0x4c7875,'onProgress':_0x1d8e37=>{_0x1d8e37&&_0x1d8e37['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1d8e37['value']));}}))['then'](_0x48be28=>{const {width:_0x2285f7,height:_0x4970c8}=_0x48be28['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x48be28['cdnUrl'],this['imageDimension']={'width':_0x2285f7,'height':_0x4970c8},this['imageId']=_0x48be28['uuid'],this['imageUploadProgress']=null;const _0xa07766=_0x20884b['getAttribute']('src');this['_imageCache']['set'](_0xa07766,{'id':_0x48be28['uuid'],'url':_0x48be28['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3568cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3568cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x51bbf3,_0x51acb4){_0x51bbf3['on']('apply',(_0x51dad7,_0x2c369d)=>{this['_replaceImage'](_0x51acb4,_0x2c369d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x51bbf3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x51bbf3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2c8c71,_0x263954,_0x3e507d){const _0x319a41=this['_editor'],{width:_0x4adbbe,height:_0x50573c}=_0x5738e0(_0x263954,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x404618,imageSources:_0x2fe71c}=_0x59a6e4(_0x263954,_0x4adbbe);_0x319a41['model']['change'](_0x22836d=>{if('$graveyard'===_0x2c8c71['root']['rootName']){_0x319a41['execute']('insertImage',{'imageType':_0x2c8c71['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2c8c71['getAttributes']()),'uploadcareImageId':_0x3e507d,'src':_0x404618,'sources':_0x2fe71c,'width':_0x4adbbe,'height':_0x50573c}});const _0x508a72=_0x2c8c71['getChildren']();_0x2c8c71=_0x319a41['model']['document']['selection']['getSelectedElement']();for(const _0x6cf858 of _0x508a72)_0x22836d['append'](_0x22836d['cloneElement'](_0x6cf858),_0x2c8c71);}else _0x22836d['setSelection'](_0x2c8c71,'on'),_0x319a41['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2c8c71['getAttributes']()),'uploadcareImageId':_0x3e507d,'src':_0x404618,'sources':_0x2fe71c,'width':_0x4adbbe,'height':_0x50573c},_0x2c8c71);_0x22836d['setSelection'](_0x2c8c71,'on');});}async['_getImageAsFile'](_0x595bb3){const _0x503dbb=_0x1fa909['window'],_0x41dae3=_0x1fa909['document']['location']['href'],_0x311649=new _0x503dbb['URL'](_0x595bb3['getAttribute']('src'),_0x41dae3);if('data:'===_0x311649['protocol']){const _0x719ef5=_0x311649['href']['split'](','),_0x2581e3=_0x719ef5[0x0]['match'](/:(.*?);/)[0x1],_0x223b4d=_0x2581e3['split']('/')[0x1],_0x348d69=_0x503dbb['atob'](_0x719ef5[_0x719ef5['length']-0x1]);let _0x39a4c4=_0x348d69['length'];const _0x20b4a9=new _0x503dbb['Uint8Array'](_0x39a4c4);for(;_0x39a4c4--;)_0x20b4a9[_0x39a4c4]=_0x348d69['charCodeAt'](_0x39a4c4);return new _0x503dbb['File']([_0x20b4a9],'image.'+_0x223b4d,{'type':_0x2581e3});}const _0x19de34=_0x311649['href']['split']('/'),_0x2647ad=_0x19de34[_0x19de34['length']-0x1],_0x3afd49=_0x2647ad['split']('.')[0x1];return _0x503dbb['fetch'](_0x311649['href'])['then'](_0xe1c60d=>_0xe1c60d['clone']()['blob']())['then'](_0x296474=>new _0x503dbb['File']([_0x296474],_0x2647ad,{'type':'image/'+_0x3afd49}));}}
23
+ import{global as _0x55bf61,ObservableMixin as _0x529600}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x637ca2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5d94b7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x53bd24}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3c3611}from'../../utils/uploadutils.js';import{getImageUrls as _0x289209,getImageDimension as _0x52bba7}from'../../utils/editingutils.js';import{isAncestor as _0x401748}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x529600(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4ff387,_0x511889,_0x21ce27){super(),this['_editor']=_0x4ff387,this['_dialog']=_0x511889,this['_imageElement']=_0x21ce27,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x177962=this['_imageElement'],_0x307e2e=_0x177962['getAttribute']('uploadcareImageId'),_0x31e3d0=_0x177962['getAttribute']('src');if(_0x307e2e)await this['_loadImageInfo'](_0x307e2e,_0x31e3d0);else{if(this['_imageCache']['has'](_0x31e3d0)){const _0x423913=this['_imageCache']['get'](_0x31e3d0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x423913['url'],this['imageDimension']=_0x423913['dimension'],this['imageId']=_0x423913['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x218130}=this['_editor'],t=_0x218130['t'],_0x3397f2=new _0x53bd24(_0x218130,this['imageStatus'],this['_attributes']);_0x3397f2['bind']('status')['to'](this,'imageStatus'),_0x3397f2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3397f2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3397f2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3397f2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5d94b7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3397f2,'position':_0x637ca2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3397f2['focus']();},'onHide':()=>{_0x3397f2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51b4a7=>!_0x401748(_0x51b4a7,_0x3397f2['element'])}});}['_loadImageInfo'](_0x2ce37f,_0x1d5354){return _0x3c3611['getInfo'](_0x2ce37f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x163883=>{const {width:_0x3de99b,height:_0x318c27}=_0x163883['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d5354,this['imageDimension']={'width':_0x3de99b,'height':_0x318c27},this['imageId']=_0x2ce37f;})['catch'](_0x3b493a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b493a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e988b,_0x259990){return this['_getImageAsFile'](_0x1e988b)['then'](_0x165dcf=>_0x3c3611['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x259990['signal'],'file':_0x165dcf,'onProgress':_0x2114a1=>{_0x2114a1&&_0x2114a1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2114a1['value']));}}))['then'](_0x1f2932=>{const {width:_0x3f3dd0,height:_0x27fa35}=_0x1f2932['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f2932['cdnUrl'],this['imageDimension']={'width':_0x3f3dd0,'height':_0x27fa35},this['imageId']=_0x1f2932['uuid'],this['imageUploadProgress']=null;const _0x4bfc30=_0x1e988b['getAttribute']('src');this['_imageCache']['set'](_0x4bfc30,{'id':_0x1f2932['uuid'],'url':_0x1f2932['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x7141a0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7141a0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x159948,_0x88178c){_0x159948['on']('apply',(_0x3fc8b0,_0x20dff2)=>{this['_replaceImage'](_0x88178c,_0x20dff2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x159948['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x159948['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x58df37,_0x1d98c6,_0x23805b){const _0x2a46ce=this['_editor'],{width:_0x4bdb0b,height:_0x47e69c}=_0x52bba7(_0x1d98c6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1c844f,imageSources:_0x5aa594}=_0x289209(_0x1d98c6,_0x4bdb0b);_0x2a46ce['model']['change'](_0x34619b=>{if('$graveyard'===_0x58df37['root']['rootName']){_0x2a46ce['execute']('insertImage',{'imageType':_0x58df37['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x58df37['getAttributes']()),'uploadcareImageId':_0x23805b,'src':_0x1c844f,'sources':_0x5aa594,'width':_0x4bdb0b,'height':_0x47e69c}});const _0x5e75d5=_0x58df37['getChildren']();_0x58df37=_0x2a46ce['model']['document']['selection']['getSelectedElement']();for(const _0x351a20 of _0x5e75d5)_0x34619b['append'](_0x34619b['cloneElement'](_0x351a20),_0x58df37);}else _0x34619b['setSelection'](_0x58df37,'on'),_0x2a46ce['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x58df37['getAttributes']()),'uploadcareImageId':_0x23805b,'src':_0x1c844f,'sources':_0x5aa594,'width':_0x4bdb0b,'height':_0x47e69c},_0x58df37);_0x34619b['setSelection'](_0x58df37,'on');});}async['_getImageAsFile'](_0x447357){const _0x3c2374=_0x55bf61['window'],_0x4c8ad9=_0x55bf61['document']['location']['href'],_0x344d7f=new _0x3c2374['URL'](_0x447357['getAttribute']('src'),_0x4c8ad9);if('data:'===_0x344d7f['protocol']){const _0x1aae25=_0x344d7f['href']['split'](','),_0x2911f4=_0x1aae25[0x0]['match'](/:(.*?);/)[0x1],_0x53f631=_0x2911f4['split']('/')[0x1],_0x5675e9=_0x3c2374['atob'](_0x1aae25[_0x1aae25['length']-0x1]);let _0x254e3a=_0x5675e9['length'];const _0x3063ae=new _0x3c2374['Uint8Array'](_0x254e3a);for(;_0x254e3a--;)_0x3063ae[_0x254e3a]=_0x5675e9['charCodeAt'](_0x254e3a);return new _0x3c2374['File']([_0x3063ae],'image.'+_0x53f631,{'type':_0x2911f4});}const _0x33c94e=_0x344d7f['href']['split']('/'),_0x46fe1d=_0x33c94e[_0x33c94e['length']-0x1],_0x9979ff=_0x46fe1d['split']('.')[0x1];return _0x3c2374['fetch'](_0x344d7f['href'])['then'](_0xa0b9df=>_0xa0b9df['clone']()['blob']())['then'](_0x175d78=>new _0x3c2374['File']([_0x175d78],_0x46fe1d,{'type':'image/'+_0x9979ff}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x13f509,_0xd8cee4){const _0x423441=_0xda30,_0x4fb158=_0x13f509();while(!![]){try{const _0x2f24fc=parseInt(_0x423441(0x109))/0x1*(-parseInt(_0x423441(0x108))/0x2)+parseInt(_0x423441(0xfc))/0x3*(parseInt(_0x423441(0x102))/0x4)+parseInt(_0x423441(0xfa))/0x5*(-parseInt(_0x423441(0x101))/0x6)+parseInt(_0x423441(0xff))/0x7*(parseInt(_0x423441(0x107))/0x8)+-parseInt(_0x423441(0x103))/0x9*(parseInt(_0x423441(0x10b))/0xa)+parseInt(_0x423441(0xfd))/0xb*(-parseInt(_0x423441(0xfb))/0xc)+-parseInt(_0x423441(0x10e))/0xd*(-parseInt(_0x423441(0x105))/0xe);if(_0x2f24fc===_0xd8cee4)break;else _0x4fb158['push'](_0x4fb158['shift']());}catch(_0x4c75f8){_0x4fb158['push'](_0x4fb158['shift']());}}}(_0x5948,0x29fd2));import{View as _0x16af69}from'ckeditor5/src/ui.js';function _0x5948(){const _0x35c044=['12wtXqKj','50892OlNvCc','1858252weexAz','bindTemplate','7drdsfx','setTemplate','25224doBjSo','28IBiqvT','90036jBgijn','uc-light','112blqXAi','ck-uploadcare-theme','2246280pZoYlC','2610fplZLg','71tvJMrh','uc-cloud-image-editor','50HKVWHB','set','image-edit','635297WwxWzS','imageSrc','365YrdDib'];_0x5948=function(){return _0x35c044;};return _0x5948();}function _0xda30(_0x157dae,_0x76cf85){const _0x594889=_0x5948();return _0xda30=function(_0xda30bd,_0x2050b3){_0xda30bd=_0xda30bd-0xf9;let _0x3cd6a5=_0x594889[_0xda30bd];return _0x3cd6a5;},_0xda30(_0x157dae,_0x76cf85);}export class UploadcareImageEditFormEditingView extends _0x16af69{constructor(_0x594021,_0x374708){const _0x4820c1=_0xda30;super(_0x594021);const _0x27e6b7=this[_0x4820c1(0xfe)];this[_0x4820c1(0x10c)](_0x4820c1(0xf9),''),this[_0x4820c1(0x100)]({'tag':_0x4820c1(0x10a),'attributes':{..._0x374708,'class':[_0x4820c1(0x104),_0x4820c1(0x106)],'ctx-name':_0x4820c1(0x10d),'cdn-url':_0x27e6b7['to'](_0x4820c1(0xf9))}});}}
23
+ (function(_0x5839ef,_0x444518){const _0x5529f4=_0x4687,_0x375dfa=_0x5839ef();while(!![]){try{const _0x552fc4=parseInt(_0x5529f4(0xbc))/0x1+-parseInt(_0x5529f4(0xc3))/0x2+parseInt(_0x5529f4(0xc1))/0x3+-parseInt(_0x5529f4(0xbe))/0x4*(parseInt(_0x5529f4(0xb7))/0x5)+-parseInt(_0x5529f4(0xc4))/0x6+parseInt(_0x5529f4(0xc0))/0x7+parseInt(_0x5529f4(0xc2))/0x8;if(_0x552fc4===_0x444518)break;else _0x375dfa['push'](_0x375dfa['shift']());}catch(_0x1ac7da){_0x375dfa['push'](_0x375dfa['shift']());}}}(_0x28aa,0xe36bb));import{View as _0x1f1e46}from'ckeditor5/src/ui.js';function _0x4687(_0x20d47a,_0x3ef384){const _0x28aa88=_0x28aa();return _0x4687=function(_0x468744,_0x307d3c){_0x468744=_0x468744-0xb6;let _0xcb629c=_0x28aa88[_0x468744];return _0xcb629c;},_0x4687(_0x20d47a,_0x3ef384);}export class UploadcareImageEditFormEditingView extends _0x1f1e46{constructor(_0x2b8f5e,_0x573dd9){const _0x5ad25c=_0x4687;super(_0x2b8f5e);const _0x1fbe5d=this[_0x5ad25c(0xb6)];this[_0x5ad25c(0xc5)](_0x5ad25c(0xbd),''),this[_0x5ad25c(0xb9)]({'tag':_0x5ad25c(0xbf),'attributes':{..._0x573dd9,'class':[_0x5ad25c(0xb8),_0x5ad25c(0xba)],'ctx-name':_0x5ad25c(0xbb),'cdn-url':_0x1fbe5d['to'](_0x5ad25c(0xbd))}});}}function _0x28aa(){const _0x1f698a=['815nTtiyU','uc-light','setTemplate','ck-uploadcare-theme','image-edit','887869eyIVCC','imageSrc','26780HcxBIC','uc-cloud-image-editor','3561915DNEURE','1929867aOjZha','19769000EEBEWM','2611484qFIiuz','7095516esVWqy','set','bindTemplate'];_0x28aa=function(){return _0x1f698a;};return _0x28aa();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1b1a65}from'ckeditor5/src/icons.js';import{ButtonView as _0x1690b2,IconView as _0x4666bc,View as _0x11429a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x11429a{constructor(_0xe28a8d){super(_0xe28a8d);const t=_0xe28a8d['t'];this['set']('errorType',null);const _0x1d5083=new _0x1690b2(_0xe28a8d);_0x1d5083['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1d5083['withText']=!0x0,_0x1d5083['class']='ck-button-action',_0x1d5083['on']('execute',()=>{this['fire']('retry');}),_0x1d5083['bind']('isVisible')['to'](this,'errorType',_0x388fc4=>'NotFound'!==_0x388fc4);const _0xbfad1e=new _0x4666bc();_0xbfad1e['content']=_0x1b1a65,_0xbfad1e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1057d2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0xbfad1e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1057d2['to']('errorType',_0x4969b7=>t('NotFound'!==_0x4969b7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1d5083]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x2d7457}from'ckeditor5/src/icons.js';import{ButtonView as _0x1b1c62,IconView as _0xe635a7,View as _0x2cf1f4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2cf1f4{constructor(_0x42700b){super(_0x42700b);const t=_0x42700b['t'];this['set']('errorType',null);const _0x5d3cf5=new _0x1b1c62(_0x42700b);_0x5d3cf5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5d3cf5['withText']=!0x0,_0x5d3cf5['class']='ck-button-action',_0x5d3cf5['on']('execute',()=>{this['fire']('retry');}),_0x5d3cf5['bind']('isVisible')['to'](this,'errorType',_0x4ccaf7=>'NotFound'!==_0x4ccaf7);const _0x43a9b6=new _0xe635a7();_0x43a9b6['content']=_0x2d7457,_0x43a9b6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x42cf0a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x43a9b6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x42cf0a['to']('errorType',_0x59cead=>t('NotFound'!==_0x59cead?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5d3cf5]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x5452c3,View as _0x26324a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x26324a{constructor(_0xb55342){super(_0xb55342);const t=_0xb55342['t'],_0x46323e=this['bindTemplate'],_0x2ae30b=new _0x5452c3();_0x2ae30b['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x2ae30b,{'text':_0x46323e['to']('imageUploadProgress',_0x411972=>t('Loading\x20image...')+'\x20('+(_0x411972||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x3f6f8f,View as _0xaa3f9e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xaa3f9e{constructor(_0x4558a1){super(_0x4558a1);const t=_0x4558a1['t'],_0x3cb72f=this['bindTemplate'],_0x5b8e31=new _0x3f6f8f();_0x5b8e31['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x5b8e31,{'text':_0x3cb72f['to']('imageUploadProgress',_0x57ac89=>t('Loading\x20image...')+'\x20('+(_0x57ac89||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x393ece=_0x1585;function _0x4f0f(){const _0x20d8ef=['setTemplate','732URwpwy','div','ck-reset_all-excluded','nodeName','disconnect','clear','_addUploadcareImageEditorListeners','apply','354458EKPXxt','error','8712270NNckjf','cdnUrl','cancel','target','detail','length','25832eKmyry','change:status','element','ready','addedNodes','_addErrorViewListeners','toLowerCase','uc-cloud-image-editor','addMany','3916077buDJmW','_editingView','fire','_focusableView','62169ZydoqW','getFocusableElement','focus','_waitForImageEditorComponent','add','10hnBrHE','uploading','observe','_setView','ck-uploadcare-form','_items','render','status','26310933GdNBPQ','set','createCollection','_errorView','addEventListener','4EtMymY','_loadingView','querySelector','182GcsQFq','retry','once','49570UOJlqU','filter'];_0x4f0f=function(){return _0x20d8ef;};return _0x4f0f();}(function(_0x15d0b6,_0x13646e){const _0x1939ea=_0x1585,_0x581bd4=_0x15d0b6();while(!![]){try{const _0x471a7c=parseInt(_0x1939ea(0x195))/0x1+-parseInt(_0x1939ea(0x1b8))/0x2+-parseInt(_0x1939ea(0x1c9))/0x3*(parseInt(_0x1939ea(0x1a7))/0x4)+-parseInt(_0x1939ea(0x1ad))/0x5*(parseInt(_0x1939ea(0x1b0))/0x6)+-parseInt(_0x1939ea(0x1aa))/0x7*(-parseInt(_0x1939ea(0x1c0))/0x8)+parseInt(_0x1939ea(0x1ba))/0x9+parseInt(_0x1939ea(0x19a))/0xa*(parseInt(_0x1939ea(0x1a2))/0xb);if(_0x471a7c===_0x13646e)break;else _0x581bd4['push'](_0x581bd4['shift']());}catch(_0x4d94cf){_0x581bd4['push'](_0x581bd4['shift']());}}}(_0x4f0f,0xc6b88));import{View as _0x197c39}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x24542b}from'./uploadcareimageeditformloadingview.js';function _0x1585(_0x188b6f,_0x448bcb){const _0x4f0f4a=_0x4f0f();return _0x1585=function(_0x15857b,_0x591565){_0x15857b=_0x15857b-0x193;let _0x37b62a=_0x4f0f4a[_0x15857b];return _0x37b62a;},_0x1585(_0x188b6f,_0x448bcb);}import{UploadcareImageEditFormErrorView as _0x2aadee}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x165989}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x271f29}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x271f29{[_0x393ece(0x19f)];[_0x393ece(0x1a8)];[_0x393ece(0x1a5)];[_0x393ece(0x1ca)];[_0x393ece(0x194)];constructor(_0x33fdde,_0x2014c6,_0x441862){const _0x308c2c=_0x393ece;super(_0x33fdde),this[_0x308c2c(0x19f)]=this[_0x308c2c(0x1a4)](),this[_0x308c2c(0x1a8)]=new _0x24542b(_0x33fdde),this[_0x308c2c(0x1a5)]=new _0x2aadee(_0x33fdde),this[_0x308c2c(0x1ca)]=new _0x165989(_0x33fdde,_0x441862),this[_0x308c2c(0x194)]=new _0x197c39(_0x33fdde),this[_0x308c2c(0x194)][_0x308c2c(0x1af)](this[_0x308c2c(0x196)]()),this[_0x308c2c(0x1a3)](_0x308c2c(0x1a1),_0x2014c6),this[_0x308c2c(0x1af)]({'tag':_0x308c2c(0x1b1),'attributes':{'class':['ck',_0x308c2c(0x1b2),_0x308c2c(0x19e)],'tabindex':'-1'},'children':this[_0x308c2c(0x19f)]}),this[_0x308c2c(0x19d)](),this[_0x308c2c(0x1ac)](_0x308c2c(0x1a0),()=>{const _0x1e5a20=_0x308c2c;this[_0x1e5a20(0x198)](this[_0x1e5a20(0x1c2)],_0x3aae5d=>{const _0x43becf=_0x1e5a20;this[_0x43becf(0x1b6)](_0x3aae5d);});}),this['on'](_0x308c2c(0x1c1),()=>{const _0x35d5c3=_0x308c2c;this[_0x35d5c3(0x19d)]();}),this[_0x308c2c(0x1c5)]();}[_0x393ece(0x197)](){const _0x837881=_0x393ece;this[_0x837881(0x1c2)][_0x837881(0x197)]();}[_0x393ece(0x19d)](){const _0x7b1341=_0x393ece;switch(this[_0x7b1341(0x19f)][_0x7b1341(0x1b5)](),this[_0x7b1341(0x1a1)]){case _0x7b1341(0x19b):this[_0x7b1341(0x19f)][_0x7b1341(0x199)](this[_0x7b1341(0x1a8)]);break;case _0x7b1341(0x1b9):this[_0x7b1341(0x19f)][_0x7b1341(0x199)](this[_0x7b1341(0x1a5)]);break;case _0x7b1341(0x1c3):this[_0x7b1341(0x19f)][_0x7b1341(0x1c8)]([this[_0x7b1341(0x1ca)],this[_0x7b1341(0x194)]]);}}[_0x393ece(0x198)](_0xfa0325,_0x3d3517){const _0x47a465=_0x393ece,_0x370dcc=_0x47a465(0x1c7),_0x310578=_0xfa0325[_0x47a465(0x1a9)](_0x370dcc);if(_0x310578)return _0x3d3517(_0x310578);const _0x35003e=new MutationObserver(_0x3ccc9f=>{const _0x2b64a5=_0x47a465,_0x5ea9be=_0x3ccc9f[_0x2b64a5(0x1ae)](_0x1f86d1=>_0x1f86d1[_0x2b64a5(0x1bd)]===_0xfa0325&&_0x1f86d1[_0x2b64a5(0x1c4)][_0x2b64a5(0x1bf)]>0x0&&_0x1f86d1[_0x2b64a5(0x1c4)][0x0][_0x2b64a5(0x1b3)][_0x2b64a5(0x1c6)]()===_0x370dcc);_0x5ea9be[_0x2b64a5(0x1bf)]&&(_0x35003e[_0x2b64a5(0x1b4)](),_0x3d3517(_0x5ea9be[0x0][_0x2b64a5(0x1c4)][0x0]));});_0x35003e[_0x47a465(0x19c)](_0xfa0325,{'childList':!0x0,'subtree':!0x0});}[_0x393ece(0x1b6)](_0x3e3754){const _0x3bba10=_0x393ece;_0x3e3754[_0x3bba10(0x1a6)](_0x3bba10(0x1b7),_0x4ac5ed=>{const _0x3576b8=_0x3bba10;this[_0x3576b8(0x193)](_0x3576b8(0x1b7),{'imageSrc':_0x4ac5ed[_0x3576b8(0x1be)][_0x3576b8(0x1bb)]});}),_0x3e3754[_0x3bba10(0x1a6)](_0x3bba10(0x1bc),()=>{const _0x3dde19=_0x3bba10;this[_0x3dde19(0x193)](_0x3dde19(0x1bc));});}[_0x393ece(0x1c5)](){const _0x44c7a6=_0x393ece;this[_0x44c7a6(0x1a5)]['on'](_0x44c7a6(0x1ab),()=>{const _0x2313d2=_0x44c7a6;this[_0x2313d2(0x193)](_0x2313d2(0x1ab));});}}
23
+ const _0x36304d=_0x2eac;(function(_0x354d52,_0x19eda3){const _0x1050b1=_0x2eac,_0x3da430=_0x354d52();while(!![]){try{const _0x28baf6=parseInt(_0x1050b1(0x85))/0x1+-parseInt(_0x1050b1(0x6f))/0x2+-parseInt(_0x1050b1(0x6d))/0x3*(-parseInt(_0x1050b1(0x9d))/0x4)+parseInt(_0x1050b1(0x79))/0x5*(parseInt(_0x1050b1(0xa1))/0x6)+parseInt(_0x1050b1(0x98))/0x7*(-parseInt(_0x1050b1(0x9b))/0x8)+-parseInt(_0x1050b1(0x97))/0x9*(parseInt(_0x1050b1(0x8e))/0xa)+parseInt(_0x1050b1(0x74))/0xb;if(_0x28baf6===_0x19eda3)break;else _0x3da430['push'](_0x3da430['shift']());}catch(_0x4fc608){_0x3da430['push'](_0x3da430['shift']());}}}(_0x25e2,0x41452));function _0x2eac(_0x307ab7,_0x5d1e58){const _0x25e20e=_0x25e2();return _0x2eac=function(_0x2eac17,_0x3a638d){_0x2eac17=_0x2eac17-0x6d;let _0x3dea8e=_0x25e20e[_0x2eac17];return _0x3dea8e;},_0x2eac(_0x307ab7,_0x5d1e58);}import{View as _0x162bd4}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x288ead}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5bdc7b}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2302d7}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1884aa}from'../../utils/dialogfocusmanagerview.js';function _0x25e2(){const _0x27d282=['2952004wdlcFi','once','addEventListener','_setView','add','171965iLYehf','apply','setTemplate','_editingView','target','toLowerCase','filter','cdnUrl','nodeName','retry','_errorView','cancel','308671LhVLFZ','getFocusableElement','div','observe','querySelector','status','_focusableView','length','detail','10JQfogJ','change:status','ready','_addUploadcareImageEditorListeners','_items','fire','createCollection','ck-uploadcare-form','_addErrorViewListeners','4139793xPNFiW','7xaZPEl','set','uploading','4053688xuTMTY','_waitForImageEditorComponent','548OcMUsv','ck-reset_all-excluded','error','render','90GiuxjS','addedNodes','disconnect','_loadingView','7386AsUcwD','element','392380gCpzfD','focus','clear','addMany','uc-cloud-image-editor'];_0x25e2=function(){return _0x27d282;};return _0x25e2();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1884aa{[_0x36304d(0x92)];[_0x36304d(0xa4)];[_0x36304d(0x83)];[_0x36304d(0x7c)];[_0x36304d(0x8b)];constructor(_0xa8e148,_0x31953e,_0x14979e){const _0x10ee10=_0x36304d;super(_0xa8e148),this[_0x10ee10(0x92)]=this[_0x10ee10(0x94)](),this[_0x10ee10(0xa4)]=new _0x288ead(_0xa8e148),this[_0x10ee10(0x83)]=new _0x5bdc7b(_0xa8e148),this[_0x10ee10(0x7c)]=new _0x2302d7(_0xa8e148,_0x14979e),this[_0x10ee10(0x8b)]=new _0x162bd4(_0xa8e148),this[_0x10ee10(0x8b)][_0x10ee10(0x7b)](this[_0x10ee10(0x86)]()),this[_0x10ee10(0x99)](_0x10ee10(0x8a),_0x31953e),this[_0x10ee10(0x7b)]({'tag':_0x10ee10(0x87),'attributes':{'class':['ck',_0x10ee10(0x9e),_0x10ee10(0x95)],'tabindex':'-1'},'children':this[_0x10ee10(0x92)]}),this[_0x10ee10(0x77)](),this[_0x10ee10(0x75)](_0x10ee10(0xa0),()=>{const _0xf2b322=_0x10ee10;this[_0xf2b322(0x9c)](this[_0xf2b322(0x6e)],_0x4d1c2a=>{const _0x4a2b6c=_0xf2b322;this[_0x4a2b6c(0x91)](_0x4d1c2a);});}),this['on'](_0x10ee10(0x8f),()=>{const _0x36f2df=_0x10ee10;this[_0x36f2df(0x77)]();}),this[_0x10ee10(0x96)]();}[_0x36304d(0x70)](){const _0x6f3358=_0x36304d;this[_0x6f3358(0x6e)][_0x6f3358(0x70)]();}[_0x36304d(0x77)](){const _0x16faa5=_0x36304d;switch(this[_0x16faa5(0x92)][_0x16faa5(0x71)](),this[_0x16faa5(0x8a)]){case _0x16faa5(0x9a):this[_0x16faa5(0x92)][_0x16faa5(0x78)](this[_0x16faa5(0xa4)]);break;case _0x16faa5(0x9f):this[_0x16faa5(0x92)][_0x16faa5(0x78)](this[_0x16faa5(0x83)]);break;case _0x16faa5(0x90):this[_0x16faa5(0x92)][_0x16faa5(0x72)]([this[_0x16faa5(0x7c)],this[_0x16faa5(0x8b)]]);}}[_0x36304d(0x9c)](_0x299935,_0xf4554d){const _0x2af837=_0x36304d,_0x5a3b53=_0x2af837(0x73),_0x40c76f=_0x299935[_0x2af837(0x89)](_0x5a3b53);if(_0x40c76f)return _0xf4554d(_0x40c76f);const _0x1d0d4e=new MutationObserver(_0x55789a=>{const _0x2ea022=_0x2af837,_0x8125f8=_0x55789a[_0x2ea022(0x7f)](_0x1ab70b=>_0x1ab70b[_0x2ea022(0x7d)]===_0x299935&&_0x1ab70b[_0x2ea022(0xa2)][_0x2ea022(0x8c)]>0x0&&_0x1ab70b[_0x2ea022(0xa2)][0x0][_0x2ea022(0x81)][_0x2ea022(0x7e)]()===_0x5a3b53);_0x8125f8[_0x2ea022(0x8c)]&&(_0x1d0d4e[_0x2ea022(0xa3)](),_0xf4554d(_0x8125f8[0x0][_0x2ea022(0xa2)][0x0]));});_0x1d0d4e[_0x2af837(0x88)](_0x299935,{'childList':!0x0,'subtree':!0x0});}[_0x36304d(0x91)](_0x35c2d4){const _0x398f7e=_0x36304d;_0x35c2d4[_0x398f7e(0x76)](_0x398f7e(0x7a),_0x55a571=>{const _0x37db77=_0x398f7e;this[_0x37db77(0x93)](_0x37db77(0x7a),{'imageSrc':_0x55a571[_0x37db77(0x8d)][_0x37db77(0x80)]});}),_0x35c2d4[_0x398f7e(0x76)](_0x398f7e(0x84),()=>{const _0x2892db=_0x398f7e;this[_0x2892db(0x93)](_0x2892db(0x84));});}[_0x36304d(0x96)](){const _0x2b1aa5=_0x36304d;this[_0x2b1aa5(0x83)]['on'](_0x2b1aa5(0x82),()=>{const _0x1e1392=_0x2b1aa5;this[_0x1e1392(0x93)](_0x1e1392(0x82));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47303f=_0x43a5;(function(_0x49f2f4,_0x24561f){const _0x45748d=_0x43a5,_0x5d7db5=_0x49f2f4();while(!![]){try{const _0xcf81f4=parseInt(_0x45748d(0x12e))/0x1*(-parseInt(_0x45748d(0x132))/0x2)+parseInt(_0x45748d(0x12b))/0x3*(parseInt(_0x45748d(0x126))/0x4)+-parseInt(_0x45748d(0x12f))/0x5*(parseInt(_0x45748d(0x140))/0x6)+parseInt(_0x45748d(0x13b))/0x7*(-parseInt(_0x45748d(0x13c))/0x8)+parseInt(_0x45748d(0x12c))/0x9*(-parseInt(_0x45748d(0x127))/0xa)+parseInt(_0x45748d(0x146))/0xb*(parseInt(_0x45748d(0x133))/0xc)+parseInt(_0x45748d(0x135))/0xd;if(_0xcf81f4===_0x24561f)break;else _0x5d7db5['push'](_0x5d7db5['shift']());}catch(_0x493d29){_0x5d7db5['push'](_0x5d7db5['shift']());}}}(_0x5834,0x32042));function _0x5834(){const _0x1c9db7=['_isEditable','13jIasvp','4120VMemHS','bind','requires','44618KOsggb','12BRfXJe','plugins','7031804VahLkH','uploadcare.allowExternalImagesEditing','isEnabled','get','config','element','7fxAZGw','1631240NGPVZo','imageEditController','getSelectedElement','model','42tRKyIg','set','imageInline','imageBlock','isActive','execute','80201ejzZZR','unbind','selection','4WrXjMG','90nKqLRa','editor','refresh','document','718902fSFZKt','83277OYoaPz'];_0x5834=function(){return _0x1c9db7;};return _0x5834();}import{Command as _0xad71e3}from'ckeditor5/src/core.js';import{Dialog as _0xb7a0cd}from'ckeditor5/src/ui.js';function _0x43a5(_0x23d17d,_0x44ecd8){const _0x5834fb=_0x5834();return _0x43a5=function(_0x43a570,_0x178ab6){_0x43a570=_0x43a570-0x126;let _0x449dfc=_0x5834fb[_0x43a570];return _0x449dfc;},_0x43a5(_0x23d17d,_0x44ecd8);}import{UploadcareImageEditController as _0xf7cc1}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4cf9fb}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xad71e3{[_0x47303f(0x13d)];static get[_0x47303f(0x131)](){return[_0xb7a0cd];}[_0x47303f(0x12d)];constructor(_0x3f8393){const _0x4184a6=_0x47303f;super(_0x3f8393),this[_0x4184a6(0x13d)]=void 0x0,this[_0x4184a6(0x12d)]=_0x4cf9fb(_0x3f8393[_0x4184a6(0x139)][_0x4184a6(0x138)](_0x4184a6(0x136))||[]),this[_0x4184a6(0x141)]({'isActive':!0x1});}[_0x47303f(0x129)](){const _0x4f2dbc=_0x47303f,_0x1903a3=this[_0x4f2dbc(0x128)][_0x4f2dbc(0x13f)][_0x4f2dbc(0x12a)][_0x4f2dbc(0x148)][_0x4f2dbc(0x13e)]();this[_0x4f2dbc(0x137)]=this[_0x4f2dbc(0x12d)](_0x1903a3);}[_0x47303f(0x145)](){const _0x311e29=_0x47303f;this[_0x311e29(0x13d)]&&(this[_0x311e29(0x147)](_0x311e29(0x144)),this[_0x311e29(0x13d)]=void 0x0);const _0x1e501b=this[_0x311e29(0x128)][_0x311e29(0x13f)][_0x311e29(0x12a)][_0x311e29(0x148)][_0x311e29(0x13e)]();_0x1e501b&&(_0x1e501b['is'](_0x311e29(0x13a),_0x311e29(0x143))||_0x1e501b['is'](_0x311e29(0x13a),_0x311e29(0x142)))&&(this[_0x311e29(0x13d)]=new _0xf7cc1(this[_0x311e29(0x128)],this[_0x311e29(0x128)][_0x311e29(0x134)][_0x311e29(0x138)](_0xb7a0cd),_0x1e501b),this[_0x311e29(0x130)](_0x311e29(0x144))['to'](this[_0x311e29(0x13d)],_0x311e29(0x144)));}}
23
+ function _0x416d(_0x2bde9a,_0xa6f996){const _0x22d953=_0x22d9();return _0x416d=function(_0x416ddd,_0x573a3b){_0x416ddd=_0x416ddd-0xda;let _0x556475=_0x22d953[_0x416ddd];return _0x556475;},_0x416d(_0x2bde9a,_0xa6f996);}const _0x2638c8=_0x416d;(function(_0x2c8176,_0x27dd2c){const _0x123c93=_0x416d,_0x143165=_0x2c8176();while(!![]){try{const _0x2f7a8f=parseInt(_0x123c93(0xdb))/0x1+parseInt(_0x123c93(0xef))/0x2+parseInt(_0x123c93(0xdd))/0x3+-parseInt(_0x123c93(0xf4))/0x4+parseInt(_0x123c93(0xe2))/0x5+parseInt(_0x123c93(0xda))/0x6*(parseInt(_0x123c93(0xdf))/0x7)+-parseInt(_0x123c93(0xdc))/0x8*(parseInt(_0x123c93(0xee))/0x9);if(_0x2f7a8f===_0x27dd2c)break;else _0x143165['push'](_0x143165['shift']());}catch(_0x461338){_0x143165['push'](_0x143165['shift']());}}}(_0x22d9,0x71250));import{Command as _0x2bb904}from'ckeditor5/src/core.js';import{Dialog as _0x398e02}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x26f99c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xddd8e9}from'../utils/editingutils.js';function _0x22d9(){const _0x4cc264=['imageEditController','uploadcare.allowExternalImagesEditing','selection','plugins','isEnabled','editor','model','imageBlock','1531233BgSxkM','59692MTQjgE','execute','bind','imageInline','getSelectedElement','2139708tLkOYS','element','isActive','refresh','document','233202IgqfoA','581546RXlGFY','16cNxgFJ','134718XSsStn','_isEditable','49rLEqxX','config','unbind','2051370BLDFUn','requires','set','get'];_0x22d9=function(){return _0x4cc264;};return _0x22d9();}export class UploadcareImageEditCommand extends _0x2bb904{[_0x2638c8(0xe6)];static get[_0x2638c8(0xe3)](){return[_0x398e02];}[_0x2638c8(0xde)];constructor(_0x4ff492){const _0x15a7fe=_0x2638c8;super(_0x4ff492),this[_0x15a7fe(0xe6)]=void 0x0,this[_0x15a7fe(0xde)]=_0xddd8e9(_0x4ff492[_0x15a7fe(0xe0)][_0x15a7fe(0xe5)](_0x15a7fe(0xe7))||[]),this[_0x15a7fe(0xe4)]({'isActive':!0x1});}[_0x2638c8(0xf7)](){const _0x2962ab=_0x2638c8,_0x32ae6e=this[_0x2962ab(0xeb)][_0x2962ab(0xec)][_0x2962ab(0xf8)][_0x2962ab(0xe8)][_0x2962ab(0xf3)]();this[_0x2962ab(0xea)]=this[_0x2962ab(0xde)](_0x32ae6e);}[_0x2638c8(0xf0)](){const _0x5cc93e=_0x2638c8;this[_0x5cc93e(0xe6)]&&(this[_0x5cc93e(0xe1)](_0x5cc93e(0xf6)),this[_0x5cc93e(0xe6)]=void 0x0);const _0x3850b0=this[_0x5cc93e(0xeb)][_0x5cc93e(0xec)][_0x5cc93e(0xf8)][_0x5cc93e(0xe8)][_0x5cc93e(0xf3)]();_0x3850b0&&(_0x3850b0['is'](_0x5cc93e(0xf5),_0x5cc93e(0xed))||_0x3850b0['is'](_0x5cc93e(0xf5),_0x5cc93e(0xf2)))&&(this[_0x5cc93e(0xe6)]=new _0x26f99c(this[_0x5cc93e(0xeb)],this[_0x5cc93e(0xeb)][_0x5cc93e(0xe9)][_0x5cc93e(0xe5)](_0x398e02),_0x3850b0),this[_0x5cc93e(0xf1)](_0x5cc93e(0xf6))['to'](this[_0x5cc93e(0xe6)],_0x5cc93e(0xf6)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c8843=_0x1b0b;(function(_0x34c979,_0x121cd1){const _0x18c51d=_0x1b0b,_0x469701=_0x34c979();while(!![]){try{const _0x1f1e82=-parseInt(_0x18c51d(0x1a3))/0x1+-parseInt(_0x18c51d(0x19f))/0x2*(-parseInt(_0x18c51d(0x1ad))/0x3)+parseInt(_0x18c51d(0x1af))/0x4*(parseInt(_0x18c51d(0x1aa))/0x5)+-parseInt(_0x18c51d(0x19d))/0x6+parseInt(_0x18c51d(0x1a0))/0x7*(-parseInt(_0x18c51d(0x19a))/0x8)+parseInt(_0x18c51d(0x19c))/0x9+parseInt(_0x18c51d(0x1a1))/0xa;if(_0x1f1e82===_0x121cd1)break;else _0x469701['push'](_0x469701['shift']());}catch(_0x3db6dc){_0x469701['push'](_0x469701['shift']());}}}(_0x4af1,0xc56f1));function _0x4af1(){const _0x5a3abe=['UploadcareImageEditEditing','772502PkPRvG','uploadcareImageEdit','pluginName','ImageUtils','requires','commands','uploadcareImageReplace','34670IKXITh','isPremiumPlugin','init','6jlrZiF','ImageEditing','132SJAZWp','94000Zjixtn','add','10562157OpWtry','8464416ZbCKUp','isOfficialPlugin','803636WGqzLQ','931cJWzId','23486460CagzAZ'];_0x4af1=function(){return _0x5a3abe;};return _0x4af1();}function _0x1b0b(_0x587c93,_0x532f06){const _0x4af158=_0x4af1();return _0x1b0b=function(_0x1b0b04,_0x42cb4f){_0x1b0b04=_0x1b0b04-0x19a;let _0x4c6f60=_0x4af158[_0x1b0b04];return _0x4c6f60;},_0x1b0b(_0x587c93,_0x532f06);}import{Plugin as _0x28ab68}from'ckeditor5/src/core.js';import{Notification as _0x3f701f}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x56dfab}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x53e7da}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x40140e}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x28ab68{static get[_0x4c8843(0x1a5)](){const _0x2aa82f=_0x4c8843;return _0x2aa82f(0x1a2);}static get[_0x4c8843(0x1a7)](){const _0x57b6e7=_0x4c8843;return[_0x40140e,_0x3f701f,_0x57b6e7(0x1a6),_0x57b6e7(0x1ae)];}static get[_0x4c8843(0x19e)](){return!0x0;}static get[_0x4c8843(0x1ab)](){return!0x0;}[_0x4c8843(0x1ac)](){const _0x157043=_0x4c8843,{editor:_0x573cbf}=this;_0x573cbf[_0x157043(0x1a8)][_0x157043(0x19b)](_0x157043(0x1a4),new _0x56dfab(_0x573cbf)),_0x573cbf[_0x157043(0x1a8)][_0x157043(0x19b)](_0x157043(0x1a9),new _0x53e7da(_0x573cbf));}}
23
+ const _0x51a206=_0x3dfd;(function(_0x53439f,_0x14c1fb){const _0x5c68e8=_0x3dfd,_0x5f0f49=_0x53439f();while(!![]){try{const _0x3e726e=parseInt(_0x5c68e8(0x75))/0x1*(parseInt(_0x5c68e8(0x85))/0x2)+parseInt(_0x5c68e8(0x73))/0x3*(-parseInt(_0x5c68e8(0x7a))/0x4)+-parseInt(_0x5c68e8(0x82))/0x5+-parseInt(_0x5c68e8(0x7c))/0x6+parseInt(_0x5c68e8(0x81))/0x7*(parseInt(_0x5c68e8(0x83))/0x8)+-parseInt(_0x5c68e8(0x79))/0x9*(-parseInt(_0x5c68e8(0x76))/0xa)+-parseInt(_0x5c68e8(0x7d))/0xb;if(_0x3e726e===_0x14c1fb)break;else _0x5f0f49['push'](_0x5f0f49['shift']());}catch(_0xa7a4f){_0x5f0f49['push'](_0x5f0f49['shift']());}}}(_0x5f36,0xaca1e));import{Plugin as _0x73739e}from'ckeditor5/src/core.js';import{Notification as _0x2140bb}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1e0958}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x34d1e3}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4c2af3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x73739e{static get[_0x51a206(0x74)](){const _0x2785a2=_0x51a206;return _0x2785a2(0x87);}static get[_0x51a206(0x7f)](){const _0x1e956b=_0x51a206;return[_0x4c2af3,_0x2140bb,_0x1e956b(0x77),_0x1e956b(0x84)];}static get[_0x51a206(0x86)](){return!0x0;}static get[_0x51a206(0x78)](){return!0x0;}[_0x51a206(0x88)](){const _0x23df99=_0x51a206,{editor:_0x21a1c3}=this;_0x21a1c3[_0x23df99(0x72)][_0x23df99(0x80)](_0x23df99(0x7b),new _0x1e0958(_0x21a1c3)),_0x21a1c3[_0x23df99(0x72)][_0x23df99(0x80)](_0x23df99(0x7e),new _0x34d1e3(_0x21a1c3));}}function _0x3dfd(_0x352cb2,_0x2b6546){const _0x5f36cb=_0x5f36();return _0x3dfd=function(_0x3dfdc9,_0x298877){_0x3dfdc9=_0x3dfdc9-0x72;let _0xb2d014=_0x5f36cb[_0x3dfdc9];return _0xb2d014;},_0x3dfd(_0x352cb2,_0x2b6546);}function _0x5f36(){const _0x274fd9=['4440810TANZqO','8886888ZcFicz','ImageEditing','982xCRDUd','isOfficialPlugin','UploadcareImageEditEditing','init','commands','33129RmOzJA','pluginName','437pMxkqZ','30LYseCd','ImageUtils','isPremiumPlugin','2338011WImumM','132xlSMBL','uploadcareImageEdit','214026fYxlGb','1203521hILOMS','uploadcareImageReplace','requires','add','7XYyKcR'];_0x5f36=function(){return _0x274fd9;};return _0x5f36();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4f12b3}from'ckeditor5/src/core.js';import{ButtonView as _0x9a28c1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x93731}from'ckeditor5/src/icons.js';import{createElement as _0x3bbcee}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x4f12b3{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x4430e5=this['editor'];_0x4430e5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x49c647=>{const _0x238ef3=_0x4430e5['commands']['get']('uploadcareImageEdit'),_0x437d33=new _0x9a28c1(_0x49c647),t=_0x49c647['t'];return _0x437d33['set']({'icon':_0x93731,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x437d33['bind']('isEnabled')['to'](_0x238ef3),_0x437d33['bind']('isOn')['to'](_0x238ef3,'isActive'),this['listenTo'](_0x437d33,'execute',()=>{_0x4430e5['execute']('uploadcareImageEdit'),_0x4430e5['editing']['view']['focus']();}),_0x437d33;}),this['_initConfig']();}['_initConfig'](){const _0x47c8ae=_0x3bbcee(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x47c8ae),this['listenTo'](this['editor'],'destroy',()=>{_0x47c8ae['remove']();});}}
23
+ import{Plugin as _0x1420b2}from'ckeditor5/src/core.js';import{ButtonView as _0x58232b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1b659d}from'ckeditor5/src/icons.js';import{createElement as _0x537490}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x1420b2{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x47d522=this['editor'];_0x47d522['ui']['componentFactory']['add']('uploadcareImageEdit',_0x256489=>{const _0x647a21=_0x47d522['commands']['get']('uploadcareImageEdit'),_0x20f347=new _0x58232b(_0x256489),t=_0x256489['t'];return _0x20f347['set']({'icon':_0x1b659d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x20f347['bind']('isEnabled')['to'](_0x647a21),_0x20f347['bind']('isOn')['to'](_0x647a21,'isActive'),this['listenTo'](_0x20f347,'execute',()=>{_0x47d522['execute']('uploadcareImageEdit'),_0x47d522['editing']['view']['focus']();}),_0x20f347;}),this['_initConfig']();}['_initConfig'](){const _0x18e6c9=_0x537490(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x18e6c9),this['listenTo'](this['editor'],'destroy',()=>{_0x18e6c9['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a3174=_0xeab4;(function(_0x39230f,_0x131e39){const _0x1fe14f=_0xeab4,_0x443298=_0x39230f();while(!![]){try{const _0x891643=-parseInt(_0x1fe14f(0x145))/0x1*(parseInt(_0x1fe14f(0x142))/0x2)+-parseInt(_0x1fe14f(0x14e))/0x3*(parseInt(_0x1fe14f(0x14d))/0x4)+-parseInt(_0x1fe14f(0x152))/0x5*(-parseInt(_0x1fe14f(0x149))/0x6)+-parseInt(_0x1fe14f(0x14b))/0x7*(-parseInt(_0x1fe14f(0x151))/0x8)+parseInt(_0x1fe14f(0x146))/0x9+parseInt(_0x1fe14f(0x14a))/0xa+parseInt(_0x1fe14f(0x13e))/0xb*(parseInt(_0x1fe14f(0x144))/0xc);if(_0x891643===_0x131e39)break;else _0x443298['push'](_0x443298['shift']());}catch(_0xb3b048){_0x443298['push'](_0x443298['shift']());}}}(_0x1938,0x8aaec));import{Command as _0x2b4952}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2b4952{[_0x5a3174(0x141)](){const _0x242805=_0x5a3174,_0x28c0bc=this[_0x242805(0x143)][_0x242805(0x140)][_0x242805(0x13d)][_0x242805(0x155)][_0x242805(0x13b)]();this[_0x242805(0x13f)]=Boolean(_0x28c0bc&&(_0x28c0bc['is'](_0x242805(0x13a),_0x242805(0x14c))||_0x28c0bc['is'](_0x242805(0x13a),_0x242805(0x154))));}[_0x5a3174(0x148)](_0x1b5bc5){const _0x130cdd=_0x5a3174,_0x1e12cb=this[_0x130cdd(0x143)][_0x130cdd(0x140)][_0x130cdd(0x13d)][_0x130cdd(0x155)][_0x130cdd(0x13b)]();this[_0x130cdd(0x143)][_0x130cdd(0x140)][_0x130cdd(0x13c)](_0x256149=>{const _0x1fe5dd=_0x130cdd;_0x256149[_0x1fe5dd(0x150)](_0x1b5bc5,_0x1e12cb),_0x256149[_0x1fe5dd(0x147)](_0x1fe5dd(0x14f),_0x1e12cb),_0x256149[_0x1fe5dd(0x147)](_0x1fe5dd(0x153),_0x1e12cb);});}}function _0xeab4(_0x3a5a19,_0x583e40){const _0x193872=_0x1938();return _0xeab4=function(_0xeab4f5,_0x5bfb07){_0xeab4f5=_0xeab4f5-0x13a;let _0x52b785=_0x193872[_0xeab4f5];return _0x52b785;},_0xeab4(_0x3a5a19,_0x583e40);}function _0x1938(){const _0x2ebbd3=['3291UyeIra','srcset','setAttributes','8OOQzbS','365EUGALD','sizes','imageInline','selection','element','getSelectedElement','change','document','22lWyyaf','isEnabled','model','refresh','489884TdUgOw','editor','1608996FHERcp','3JRpDmF','8108289SZnoJe','removeAttribute','execute','9528kYWTqN','9740120xUXBEo','663411OTBhYg','imageBlock','3832hyIRCl'];_0x1938=function(){return _0x2ebbd3;};return _0x1938();}
23
+ const _0x77b7f9=_0x2790;(function(_0x459953,_0x5f22c5){const _0x1499e9=_0x2790,_0x52167f=_0x459953();while(!![]){try{const _0x472ba0=-parseInt(_0x1499e9(0x125))/0x1+parseInt(_0x1499e9(0x138))/0x2+parseInt(_0x1499e9(0x126))/0x3*(-parseInt(_0x1499e9(0x127))/0x4)+-parseInt(_0x1499e9(0x12e))/0x5*(parseInt(_0x1499e9(0x120))/0x6)+parseInt(_0x1499e9(0x130))/0x7*(parseInt(_0x1499e9(0x131))/0x8)+-parseInt(_0x1499e9(0x133))/0x9*(-parseInt(_0x1499e9(0x128))/0xa)+parseInt(_0x1499e9(0x129))/0xb*(parseInt(_0x1499e9(0x132))/0xc);if(_0x472ba0===_0x5f22c5)break;else _0x52167f['push'](_0x52167f['shift']());}catch(_0x3f0bd0){_0x52167f['push'](_0x52167f['shift']());}}}(_0x1f00,0xc3694));function _0x1f00(){const _0x224e31=['selection','sizes','152342ChpHEr','imageBlock','srcset','removeAttribute','8687178EsejPR','model','change','imageInline','element','567292ocKsYw','36IrLYGP','190480JZUOme','775930SlOFPo','49181JfMkIW','setAttributes','isEnabled','execute','getSelectedElement','5wJXJqW','refresh','98399tNPKGx','824jPeOxO','1668FxVQfa','144DnXjAm','editor','document'];_0x1f00=function(){return _0x224e31;};return _0x1f00();}function _0x2790(_0x383b59,_0x2dcf42){const _0x1f0001=_0x1f00();return _0x2790=function(_0x279002,_0x441754){_0x279002=_0x279002-0x120;let _0x56cbb9=_0x1f0001[_0x279002];return _0x56cbb9;},_0x2790(_0x383b59,_0x2dcf42);}import{Command as _0x56f397}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x56f397{[_0x77b7f9(0x12f)](){const _0x10dd3a=_0x77b7f9,_0x4d7d66=this[_0x10dd3a(0x134)][_0x10dd3a(0x121)][_0x10dd3a(0x135)][_0x10dd3a(0x136)][_0x10dd3a(0x12d)]();this[_0x10dd3a(0x12b)]=Boolean(_0x4d7d66&&(_0x4d7d66['is'](_0x10dd3a(0x124),_0x10dd3a(0x139))||_0x4d7d66['is'](_0x10dd3a(0x124),_0x10dd3a(0x123))));}[_0x77b7f9(0x12c)](_0x2b19bd){const _0x61f6f5=_0x77b7f9,_0x4fc30a=this[_0x61f6f5(0x134)][_0x61f6f5(0x121)][_0x61f6f5(0x135)][_0x61f6f5(0x136)][_0x61f6f5(0x12d)]();this[_0x61f6f5(0x134)][_0x61f6f5(0x121)][_0x61f6f5(0x122)](_0x2d9006=>{const _0x2572d7=_0x61f6f5;_0x2d9006[_0x2572d7(0x12a)](_0x2b19bd,_0x4fc30a),_0x2d9006[_0x2572d7(0x13b)](_0x2572d7(0x13a),_0x4fc30a),_0x2d9006[_0x2572d7(0x13b)](_0x2572d7(0x137),_0x4fc30a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f7fbc=_0x133f;function _0x133f(_0x3d23b3,_0x5832e8){var _0x225db8=_0x225d();return _0x133f=function(_0x133f21,_0x949b2a){_0x133f21=_0x133f21-0x95;var _0xfb9cd7=_0x225db8[_0x133f21];return _0xfb9cd7;},_0x133f(_0x3d23b3,_0x5832e8);}(function(_0x99dcbb,_0x583c1e){var _0x545852=_0x133f,_0x226784=_0x99dcbb();while(!![]){try{var _0x222071=-parseInt(_0x545852(0xa2))/0x1*(-parseInt(_0x545852(0x99))/0x2)+parseInt(_0x545852(0x98))/0x3+parseInt(_0x545852(0x96))/0x4+parseInt(_0x545852(0x97))/0x5+parseInt(_0x545852(0x9a))/0x6*(-parseInt(_0x545852(0x9b))/0x7)+-parseInt(_0x545852(0xa3))/0x8*(parseInt(_0x545852(0x95))/0x9)+-parseInt(_0x545852(0x9e))/0xa*(parseInt(_0x545852(0xa0))/0xb);if(_0x222071===_0x583c1e)break;else _0x226784['push'](_0x226784['shift']());}catch(_0xcf8bd9){_0x226784['push'](_0x226784['shift']());}}}(_0x225d,0x933ff));import{Plugin as _0x4b67e1}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xb07c49}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x140d63}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x225d(){var _0x2bdbe2=['40KDxNIj','UploadcareImageEdit','1886522LooXNq','isOfficialPlugin','1ZzoQXg','848THRslx','pluginName','8793BizkNZ','3327784KOInIL','387725kcAXAt','826227nOHZmD','1428398MdMPUw','378RVzsns','56266eBiLEa','isPremiumPlugin','requires'];_0x225d=function(){return _0x2bdbe2;};return _0x225d();}export class UploadcareImageEdit extends _0x4b67e1{static get[_0x3f7fbc(0xa4)](){var _0x2e33c4=_0x3f7fbc;return _0x2e33c4(0x9f);}static get[_0x3f7fbc(0x9d)](){return[_0xb07c49,_0x140d63];}static get[_0x3f7fbc(0xa1)](){return!0x0;}static get[_0x3f7fbc(0x9c)](){return!0x0;}}
23
+ function _0x5cde(_0x2cf7f8,_0x285c42){var _0x40dfbc=_0x40df();return _0x5cde=function(_0x5cdea2,_0x1abb8b){_0x5cdea2=_0x5cdea2-0xb6;var _0x2cc91f=_0x40dfbc[_0x5cdea2];return _0x2cc91f;},_0x5cde(_0x2cf7f8,_0x285c42);}var _0x283ffe=_0x5cde;(function(_0x2be8d1,_0x3806d3){var _0xfc45ee=_0x5cde,_0x5ce600=_0x2be8d1();while(!![]){try{var _0x3dc561=parseInt(_0xfc45ee(0xb8))/0x1*(-parseInt(_0xfc45ee(0xbe))/0x2)+parseInt(_0xfc45ee(0xc3))/0x3+-parseInt(_0xfc45ee(0xba))/0x4*(parseInt(_0xfc45ee(0xc0))/0x5)+parseInt(_0xfc45ee(0xc5))/0x6*(-parseInt(_0xfc45ee(0xb7))/0x7)+parseInt(_0xfc45ee(0xbc))/0x8+parseInt(_0xfc45ee(0xc2))/0x9*(-parseInt(_0xfc45ee(0xbf))/0xa)+parseInt(_0xfc45ee(0xb9))/0xb;if(_0x3dc561===_0x3806d3)break;else _0x5ce600['push'](_0x5ce600['shift']());}catch(_0xe43a1b){_0x5ce600['push'](_0x5ce600['shift']());}}}(_0x40df,0x9d92c));import{Plugin as _0x504c33}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x31f08a}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x501b58}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x504c33{static get[_0x283ffe(0xc1)](){var _0x3bcd74=_0x283ffe;return _0x3bcd74(0xb6);}static get[_0x283ffe(0xbd)](){return[_0x31f08a,_0x501b58];}static get[_0x283ffe(0xc4)](){return!0x0;}static get[_0x283ffe(0xbb)](){return!0x0;}}function _0x40df(){var _0x297143=['isPremiumPlugin','1393888uwlwwA','requires','10reXamR','30HTmLVX','53615zNrEOg','pluginName','776403vJCSfN','1268781BsLDdo','isOfficialPlugin','10086xAQHPK','UploadcareImageEdit','2499wLxlJM','112449OkHZSv','29020497YHJKDG','436jshfVv'];_0x40df=function(){return _0x297143;};return _0x40df();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bc814=_0x230e;(function(_0x37aad9,_0x2755ca){const _0x59f75c=_0x230e,_0x466bc4=_0x37aad9();while(!![]){try{const _0x46cb56=parseInt(_0x59f75c(0x12d))/0x1+parseInt(_0x59f75c(0x109))/0x2*(parseInt(_0x59f75c(0x12b))/0x3)+-parseInt(_0x59f75c(0x126))/0x4*(parseInt(_0x59f75c(0xfe))/0x5)+parseInt(_0x59f75c(0x128))/0x6+parseInt(_0x59f75c(0x11e))/0x7+-parseInt(_0x59f75c(0xf2))/0x8+-parseInt(_0x59f75c(0x117))/0x9;if(_0x46cb56===_0x2755ca)break;else _0x466bc4['push'](_0x466bc4['shift']());}catch(_0x5b13ad){_0x466bc4['push'](_0x466bc4['shift']());}}}(_0x499a,0x8644b));function _0x499a(){const _0xe464f3=['plugins','OneDrive','ImageInsertUI','_createButton','map','entries','1651285bUeDBj','featureNotAllowed','locale','isPremiumPlugin','isImageSelected','usageLimit','Local','Uploadcare','_showLicenseError','withText','editor','46BwQjXg','config','execute','uploadcareLicenseKeyInvalid','get','pluginName','Dropbox','commands','GPhotos','_getIntegrationKey','tooltip','Replace','invalid','icon','15548346gCYYzU','uploadcareLicenseKeyValid','assetManager','UploadcareUI','url','forEach','Insert','5921832AIsXvn','reduce','GDrive','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyExpired','Facebook','uploadcareLicenseKeyUsageLimit','shortText','4cttPOZ','has','6598524LJXziM','evaluationLimit','destroy','81051jJumPY','isEnabled','621128sqfiud','init','isOfficialPlugin','type','domainLimit','trialLimit','URL','label','registerIntegration','upload','push','afterInit','_createToolbarButton','bind','uploadcare.uploader.sourceList','uploadcareLicenseKeyTrialLimit','text','uploadcare','_createDropdownButtons','expired','_licenseKeyCheckInterval','4643480GiQQHw','_createMenuBarButtons','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyNotAllowed','_normalizeConfigSourceList','licenseKey'];_0x499a=function(){return _0xe464f3;};return _0x499a();}import{Plugin as _0xdc9c8e}from'ckeditor5/src/core.js';import{IconDropbox as _0x4e240a,IconFacebook as _0x1a5a90,IconGoogleDrive as _0x2fe1aa,IconGooglePhotos as _0x2a05cf,IconUploadcareImageUpload as _0x4c0e73,IconUploadcareLink as _0x2d5d4e,IconOneDrive as _0x54d150}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d77cc,MenuBarMenuListItemButtonView as _0x17980c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xba2ba9}from'./uploadcareconfig.js';import{getTranslation as _0x57e931}from'./utils/common-translations.js';function _0x230e(_0x2420ab,_0x5f990c){const _0x499a57=_0x499a();return _0x230e=function(_0x230e30,_0x3ee076){_0x230e30=_0x230e30-0xe8;let _0x1a14f0=_0x499a57[_0x230e30];return _0x1a14f0;},_0x230e(_0x2420ab,_0x5f990c);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xdc9c8e{[_0x1bc814(0xf7)];[_0x1bc814(0xf1)];static get[_0x1bc814(0x10e)](){const _0x38f368=_0x1bc814;return _0x38f368(0x11a);}static get[_0x1bc814(0x12f)](){return!0x0;}static get[_0x1bc814(0x101)](){return!0x0;}[_0x1bc814(0x12e)](){const _0x25a434=_0x1bc814;this[_0x25a434(0xf7)]=this[_0x25a434(0x108)][_0x25a434(0x10a)][_0x25a434(0x10d)](_0x25a434(0xf7));const _0x98b33e=this[_0x25a434(0x108)];this[_0x25a434(0xf1)]=setInterval(()=>{const _0xf05045=_0x25a434;let _0x56eb28;for(const _0x2765c6 in _0x98b33e){const _0x8ff019=_0x2765c6,_0x518c63=_0x98b33e[_0x8ff019];if(_0xf05045(0x118)==_0x518c63||_0xf05045(0x10c)==_0x518c63||_0xf05045(0x122)==_0x518c63||_0xf05045(0xf4)==_0x518c63||_0xf05045(0xf5)==_0x518c63||_0xf05045(0x121)==_0x518c63||_0xf05045(0xec)==_0x518c63||_0xf05045(0x124)==_0x518c63){delete _0x98b33e[_0x8ff019],_0x56eb28=_0x518c63,clearInterval(this[_0xf05045(0xf1)]),this[_0xf05045(0xf1)]=void 0x0;break;}}_0xf05045(0x10c)==_0x56eb28&&_0x98b33e[_0xf05045(0x106)](_0xf05045(0x115)),_0xf05045(0x122)==_0x56eb28&&_0x98b33e[_0xf05045(0x106)](_0xf05045(0xf0)),_0xf05045(0xf4)==_0x56eb28&&_0x98b33e[_0xf05045(0x106)](_0xf05045(0x131)),_0xf05045(0xf5)==_0x56eb28&&_0x98b33e[_0xf05045(0x106)](_0xf05045(0xff),_0xf05045(0x105)),_0xf05045(0x121)==_0x56eb28&&_0x98b33e[_0xf05045(0x106)](_0xf05045(0x129)),_0xf05045(0xec)==_0x56eb28&&_0x98b33e[_0xf05045(0x106)](_0xf05045(0x132)),_0xf05045(0x124)==_0x56eb28&&_0x98b33e[_0xf05045(0x106)](_0xf05045(0x103));},0x3e8);}[_0x1bc814(0xe8)](){const _0x31437d=_0x1bc814,{editor:_0x2dd38d}=this,_0x29288e=_0x2dd38d[_0x31437d(0x110)][_0x31437d(0x10d)](_0x31437d(0xee));if(!_0x29288e)return;const _0x2d9f2d=this[_0x31437d(0xf6)](_0x2dd38d[_0x31437d(0x10a)][_0x31437d(0x10d)](_0x31437d(0xeb)))[_0x31437d(0x11f)]((_0x476fa6,_0x4752ab)=>{const _0x399ff8=_0x31437d,_0x41022e=this[_0x399ff8(0x112)](_0x4752ab[_0x399ff8(0x130)]);return _0x476fa6[_0x41022e]||(_0x476fa6[_0x41022e]=[]),_0x476fa6[_0x41022e][_0x399ff8(0x137)](_0x4752ab),_0x476fa6;},{});_0x2dd38d[_0x31437d(0xf8)][_0x31437d(0x127)](_0x31437d(0xfa))&&_0x2dd38d[_0x31437d(0x110)][_0x31437d(0x10d)](_0x31437d(0xee))&&Object[_0x31437d(0xfd)](_0x2d9f2d)[_0x31437d(0x11c)](([_0x18d694,_0x4bd5fa])=>{const _0x5beb4d=_0x31437d;_0x2dd38d[_0x5beb4d(0xf8)][_0x5beb4d(0x10d)](_0x5beb4d(0xfa))[_0x5beb4d(0x135)]({'name':_0x18d694,'observable':()=>_0x29288e,'buttonViewCreator':()=>this[_0x5beb4d(0xe9)](_0x4bd5fa),'formViewCreator':()=>this[_0x5beb4d(0xef)](_0x4bd5fa),'menuBarButtonViewCreator':()=>this[_0x5beb4d(0xf3)](_0x4bd5fa),'override':_0x5beb4d(0x119)!==_0x18d694});});}[_0x1bc814(0x12a)](){const _0x449031=_0x1bc814;super[_0x449031(0x12a)](),this[_0x449031(0xf1)]&&clearInterval(this[_0x449031(0xf1)]);}[_0x1bc814(0xf6)](_0x5fd51c){const _0x225035=_0x1bc814,{locale:_0x559712}=this[_0x225035(0x108)];return _0x5fd51c[_0x225035(0xfc)](_0x50bf86=>{const _0x5eb782=_0x225035,_0x429c02=_0x57e931(_0x559712,_0x50bf86,_0x5eb782(0x11d));switch(_0x50bf86){case _0xba2ba9[_0x5eb782(0x104)]:return{'icon':_0x4c0e73,'type':_0xba2ba9[_0x5eb782(0x104)],..._0x429c02};case _0xba2ba9[_0x5eb782(0x133)]:return{'icon':_0x2d5d4e,'type':_0xba2ba9[_0x5eb782(0x133)],..._0x429c02};case _0xba2ba9[_0x5eb782(0x10f)]:return{'icon':_0x4e240a,'type':_0xba2ba9[_0x5eb782(0x10f)],..._0x429c02};case _0xba2ba9[_0x5eb782(0x123)]:return{'icon':_0x1a5a90,'type':_0xba2ba9[_0x5eb782(0x123)],..._0x429c02};case _0xba2ba9[_0x5eb782(0x120)]:return{'icon':_0x2fe1aa,'type':_0xba2ba9[_0x5eb782(0x120)],..._0x429c02};case _0xba2ba9[_0x5eb782(0x111)]:return{'icon':_0x2a05cf,'type':_0xba2ba9[_0x5eb782(0x111)],..._0x429c02};case _0xba2ba9[_0x5eb782(0xf9)]:return{'icon':_0x54d150,'type':_0xba2ba9[_0x5eb782(0xf9)],..._0x429c02};}});}[_0x1bc814(0x112)](_0xaa72a7){const _0x54f9ce=_0x1bc814;switch(_0xaa72a7){case _0xba2ba9[_0x54f9ce(0x104)]:return _0x54f9ce(0x136);case _0xba2ba9[_0x54f9ce(0x133)]:return _0x54f9ce(0x11b);default:return _0x54f9ce(0x119);}}[_0x1bc814(0xfb)](_0x5911cf,_0x38e4fc){const _0x344f38=_0x1bc814,_0x40fd96=this[_0x344f38(0x108)],_0xb0a7c6=new _0x5911cf(_0x40fd96[_0x344f38(0x100)]),_0x54e5f8=_0x40fd96[_0x344f38(0x110)][_0x344f38(0x10d)](_0x344f38(0xee));return _0xb0a7c6[_0x344f38(0xea)](_0x344f38(0x12c))['to'](_0x54e5f8),_0xb0a7c6['on'](_0x344f38(0x10b),()=>{const _0x20241e=_0x344f38;_0x54e5f8[_0x20241e(0x10b)](_0x38e4fc);}),_0xb0a7c6;}[_0x1bc814(0xe9)](_0x356902){const _0x22099a=_0x1bc814,{locale:_0x36f40b}=this[_0x22099a(0x108)],_0x5a9e1c=this[_0x22099a(0x108)][_0x22099a(0xf8)][_0x22099a(0x10d)](_0x22099a(0xfa)),_0x3aaf03=_0x356902[0x0],_0x3eb68f=this[_0x22099a(0xfb)](_0x2d77cc,_0x3aaf03[_0x22099a(0x130)]);return _0x3eb68f[_0x22099a(0x116)]=_0x3aaf03[_0x22099a(0x116)],_0x3eb68f[_0x22099a(0xea)](_0x22099a(0x134))['to'](_0x5a9e1c,_0x22099a(0x102),_0x3a0b9c=>_0x57e931(_0x36f40b,_0x3aaf03[_0x22099a(0x130)],_0x3a0b9c?_0x22099a(0x114):_0x22099a(0x11d))[_0x22099a(0xed)]),_0x3eb68f[_0x22099a(0x113)]=!0x0,_0x3eb68f;}[_0x1bc814(0xef)](_0x1865d0){const _0x27776f=_0x1bc814,{locale:_0x6935c2}=this[_0x27776f(0x108)],_0x2ba317=this[_0x27776f(0x108)][_0x27776f(0xf8)][_0x27776f(0x10d)](_0x27776f(0xfa));return _0x1865d0[_0x27776f(0xfc)](_0x520a5f=>{const _0x16b75c=_0x27776f,_0x2bf32e=this[_0x16b75c(0xfb)](_0x2d77cc,_0x520a5f[_0x16b75c(0x130)]);return _0x2bf32e[_0x16b75c(0x107)]=!0x0,_0x2bf32e[_0x16b75c(0x116)]=_0x520a5f[_0x16b75c(0x116)],_0x2bf32e[_0x16b75c(0xea)](_0x16b75c(0x134))['to'](_0x2ba317,_0x16b75c(0x102),_0x3af7ca=>_0x57e931(_0x6935c2,_0x520a5f[_0x16b75c(0x130)],_0x3af7ca?_0x16b75c(0x114):_0x16b75c(0x11d))[_0x16b75c(0xed)]),_0x2bf32e;});}[_0x1bc814(0xf3)](_0x17f2d4){const _0x4fd1ee=_0x1bc814;return _0x17f2d4[_0x4fd1ee(0xfc)](_0x599308=>{const _0x54b4d0=_0x4fd1ee,_0x5454fd=this[_0x54b4d0(0xfb)](_0x17980c,_0x599308[_0x54b4d0(0x130)]);return _0x5454fd[_0x54b4d0(0x116)]=_0x599308[_0x54b4d0(0x116)],_0x5454fd[_0x54b4d0(0x134)]=_0x599308[_0x54b4d0(0x125)],_0x5454fd;});}}
23
+ const _0xbabf00=_0x571d;(function(_0x21b8aa,_0x1ae8d7){const _0x32a957=_0x571d,_0x18e558=_0x21b8aa();while(!![]){try{const _0x3e70cf=parseInt(_0x32a957(0x16f))/0x1+-parseInt(_0x32a957(0x156))/0x2*(parseInt(_0x32a957(0x165))/0x3)+parseInt(_0x32a957(0x12b))/0x4*(parseInt(_0x32a957(0x13a))/0x5)+parseInt(_0x32a957(0x143))/0x6+parseInt(_0x32a957(0x141))/0x7+-parseInt(_0x32a957(0x15f))/0x8+-parseInt(_0x32a957(0x144))/0x9*(parseInt(_0x32a957(0x12d))/0xa);if(_0x3e70cf===_0x1ae8d7)break;else _0x18e558['push'](_0x18e558['shift']());}catch(_0x207b60){_0x18e558['push'](_0x18e558['shift']());}}}(_0x347c,0xcfbaa));import{Plugin as _0x5ac221}from'ckeditor5/src/core.js';import{IconDropbox as _0x53019f,IconFacebook as _0x555344,IconGoogleDrive as _0xad4aa9,IconGooglePhotos as _0x55300e,IconUploadcareImageUpload as _0x3ea584,IconUploadcareLink as _0x469181,IconOneDrive as _0x267d7f}from'ckeditor5/src/icons.js';import{ButtonView as _0x3bdeb7,MenuBarMenuListItemButtonView as _0x138599}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x498a38}from'./uploadcareconfig.js';import{getTranslation as _0x16ade5}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x571d(_0xab3281,_0xf036a1){const _0x347ca0=_0x347c();return _0x571d=function(_0x571d90,_0x331457){_0x571d90=_0x571d90-0x123;let _0x1b88a9=_0x347ca0[_0x571d90];return _0x1b88a9;},_0x571d(_0xab3281,_0xf036a1);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x5ac221{[_0xbabf00(0x158)];[_0xbabf00(0x13e)];static get[_0xbabf00(0x124)](){const _0x5a01b4=_0xbabf00;return _0x5a01b4(0x125);}static get[_0xbabf00(0x133)](){return!0x0;}static get[_0xbabf00(0x170)](){return!0x0;}[_0xbabf00(0x127)](){const _0x177db5=_0xbabf00;this[_0x177db5(0x158)]=this[_0x177db5(0x15a)][_0x177db5(0x153)][_0x177db5(0x163)](_0x177db5(0x158));const _0x49c016=this[_0x177db5(0x15a)];this[_0x177db5(0x13e)]=setInterval(()=>{const _0x5b7bb4=_0x177db5;let _0x13fed8;for(const _0x339742 in _0x49c016){const _0x43d73d=_0x339742,_0x202eed=_0x49c016[_0x43d73d];if(_0x5b7bb4(0x15c)==_0x202eed||_0x5b7bb4(0x173)==_0x202eed||_0x5b7bb4(0x159)==_0x202eed||_0x5b7bb4(0x155)==_0x202eed||_0x5b7bb4(0x145)==_0x202eed||_0x5b7bb4(0x154)==_0x202eed||_0x5b7bb4(0x16a)==_0x202eed||_0x5b7bb4(0x161)==_0x202eed){delete _0x49c016[_0x43d73d],_0x13fed8=_0x202eed,clearInterval(this[_0x5b7bb4(0x13e)]),this[_0x5b7bb4(0x13e)]=void 0x0;break;}}_0x5b7bb4(0x173)==_0x13fed8&&_0x49c016[_0x5b7bb4(0x14f)](_0x5b7bb4(0x150)),_0x5b7bb4(0x159)==_0x13fed8&&_0x49c016[_0x5b7bb4(0x14f)](_0x5b7bb4(0x172)),_0x5b7bb4(0x155)==_0x13fed8&&_0x49c016[_0x5b7bb4(0x14f)](_0x5b7bb4(0x162)),_0x5b7bb4(0x145)==_0x13fed8&&_0x49c016[_0x5b7bb4(0x14f)](_0x5b7bb4(0x137),_0x5b7bb4(0x16c)),_0x5b7bb4(0x154)==_0x13fed8&&_0x49c016[_0x5b7bb4(0x14f)](_0x5b7bb4(0x14d)),_0x5b7bb4(0x16a)==_0x13fed8&&_0x49c016[_0x5b7bb4(0x14f)](_0x5b7bb4(0x169)),_0x5b7bb4(0x161)==_0x13fed8&&_0x49c016[_0x5b7bb4(0x14f)](_0x5b7bb4(0x12a));},0x3e8);}[_0xbabf00(0x166)](){const _0x4ad27a=_0xbabf00,{editor:_0x3e1be6}=this,_0x3dc79b=_0x3e1be6[_0x4ad27a(0x15b)][_0x4ad27a(0x163)](_0x4ad27a(0x14a));if(!_0x3dc79b)return;const _0x5ab248=this[_0x4ad27a(0x134)](_0x3e1be6[_0x4ad27a(0x153)][_0x4ad27a(0x163)](_0x4ad27a(0x13d)))[_0x4ad27a(0x164)]((_0x2f0a5b,_0x1edad2)=>{const _0x421769=_0x4ad27a,_0x4673c7=this[_0x421769(0x14e)](_0x1edad2[_0x421769(0x142)]);return _0x2f0a5b[_0x4673c7]||(_0x2f0a5b[_0x4673c7]=[]),_0x2f0a5b[_0x4673c7][_0x421769(0x132)](_0x1edad2),_0x2f0a5b;},{});_0x3e1be6[_0x4ad27a(0x168)][_0x4ad27a(0x167)](_0x4ad27a(0x171))&&_0x3e1be6[_0x4ad27a(0x15b)][_0x4ad27a(0x163)](_0x4ad27a(0x14a))&&Object[_0x4ad27a(0x147)](_0x5ab248)[_0x4ad27a(0x140)](([_0x599542,_0x4f56e6])=>{const _0x28158a=_0x4ad27a;_0x3e1be6[_0x28158a(0x168)][_0x28158a(0x163)](_0x28158a(0x171))[_0x28158a(0x129)]({'name':_0x599542,'observable':()=>_0x3dc79b,'buttonViewCreator':()=>this[_0x28158a(0x14c)](_0x4f56e6),'formViewCreator':()=>this[_0x28158a(0x135)](_0x4f56e6),'menuBarButtonViewCreator':()=>this[_0x28158a(0x16d)](_0x4f56e6),'override':_0x28158a(0x13f)!==_0x599542});});}[_0xbabf00(0x123)](){const _0x5290c0=_0xbabf00;super[_0x5290c0(0x123)](),this[_0x5290c0(0x13e)]&&clearInterval(this[_0x5290c0(0x13e)]);}[_0xbabf00(0x134)](_0x56d386){const _0x33a5a6=_0xbabf00,{locale:_0x57854e}=this[_0x33a5a6(0x15a)];return _0x56d386[_0x33a5a6(0x16b)](_0x245e6f=>{const _0x427896=_0x33a5a6,_0x567876=_0x16ade5(_0x57854e,_0x245e6f,_0x427896(0x149));switch(_0x245e6f){case _0x498a38[_0x427896(0x15d)]:return{'icon':_0x3ea584,'type':_0x498a38[_0x427896(0x15d)],..._0x567876};case _0x498a38[_0x427896(0x126)]:return{'icon':_0x469181,'type':_0x498a38[_0x427896(0x126)],..._0x567876};case _0x498a38[_0x427896(0x139)]:return{'icon':_0x53019f,'type':_0x498a38[_0x427896(0x139)],..._0x567876};case _0x498a38[_0x427896(0x12e)]:return{'icon':_0x555344,'type':_0x498a38[_0x427896(0x12e)],..._0x567876};case _0x498a38[_0x427896(0x138)]:return{'icon':_0xad4aa9,'type':_0x498a38[_0x427896(0x138)],..._0x567876};case _0x498a38[_0x427896(0x157)]:return{'icon':_0x55300e,'type':_0x498a38[_0x427896(0x157)],..._0x567876};case _0x498a38[_0x427896(0x14b)]:return{'icon':_0x267d7f,'type':_0x498a38[_0x427896(0x14b)],..._0x567876};}});}[_0xbabf00(0x14e)](_0x207927){const _0x48cdaf=_0xbabf00;switch(_0x207927){case _0x498a38[_0x48cdaf(0x15d)]:return _0x48cdaf(0x146);case _0x498a38[_0x48cdaf(0x126)]:return _0x48cdaf(0x136);default:return _0x48cdaf(0x13f);}}[_0xbabf00(0x15e)](_0x4d8f7a,_0x2d07a0){const _0x4aad4b=_0xbabf00,_0x1cf47e=this[_0x4aad4b(0x15a)],_0x1533d0=new _0x4d8f7a(_0x1cf47e[_0x4aad4b(0x16e)]),_0x4b2f65=_0x1cf47e[_0x4aad4b(0x15b)][_0x4aad4b(0x163)](_0x4aad4b(0x14a));return _0x1533d0[_0x4aad4b(0x148)](_0x4aad4b(0x12f))['to'](_0x4b2f65),_0x1533d0['on'](_0x4aad4b(0x128),()=>{const _0x55639f=_0x4aad4b;_0x4b2f65[_0x55639f(0x128)](_0x2d07a0);}),_0x1533d0;}[_0xbabf00(0x14c)](_0x310952){const _0x2caf5e=_0xbabf00,{locale:_0x3e1fb2}=this[_0x2caf5e(0x15a)],_0x4e2e9e=this[_0x2caf5e(0x15a)][_0x2caf5e(0x168)][_0x2caf5e(0x163)](_0x2caf5e(0x171)),_0x5b4ec7=_0x310952[0x0],_0x1b4c31=this[_0x2caf5e(0x15e)](_0x3bdeb7,_0x5b4ec7[_0x2caf5e(0x142)]);return _0x1b4c31[_0x2caf5e(0x151)]=_0x5b4ec7[_0x2caf5e(0x151)],_0x1b4c31[_0x2caf5e(0x148)](_0x2caf5e(0x130))['to'](_0x4e2e9e,_0x2caf5e(0x131),_0x2209c3=>_0x16ade5(_0x3e1fb2,_0x5b4ec7[_0x2caf5e(0x142)],_0x2209c3?_0x2caf5e(0x13b):_0x2caf5e(0x149))[_0x2caf5e(0x160)]),_0x1b4c31[_0x2caf5e(0x12c)]=!0x0,_0x1b4c31;}[_0xbabf00(0x135)](_0x3d7a3b){const _0x141ce1=_0xbabf00,{locale:_0x13ab48}=this[_0x141ce1(0x15a)],_0x18fafd=this[_0x141ce1(0x15a)][_0x141ce1(0x168)][_0x141ce1(0x163)](_0x141ce1(0x171));return _0x3d7a3b[_0x141ce1(0x16b)](_0x4fffe8=>{const _0x57ca17=_0x141ce1,_0x15912d=this[_0x57ca17(0x15e)](_0x3bdeb7,_0x4fffe8[_0x57ca17(0x142)]);return _0x15912d[_0x57ca17(0x152)]=!0x0,_0x15912d[_0x57ca17(0x151)]=_0x4fffe8[_0x57ca17(0x151)],_0x15912d[_0x57ca17(0x148)](_0x57ca17(0x130))['to'](_0x18fafd,_0x57ca17(0x131),_0x4e798f=>_0x16ade5(_0x13ab48,_0x4fffe8[_0x57ca17(0x142)],_0x4e798f?_0x57ca17(0x13b):_0x57ca17(0x149))[_0x57ca17(0x160)]),_0x15912d;});}[_0xbabf00(0x16d)](_0x2ac19d){const _0x337437=_0xbabf00;return _0x2ac19d[_0x337437(0x16b)](_0x5b6a35=>{const _0x280a13=_0x337437,_0x49a0ca=this[_0x280a13(0x15e)](_0x138599,_0x5b6a35[_0x280a13(0x142)]);return _0x49a0ca[_0x280a13(0x151)]=_0x5b6a35[_0x280a13(0x151)],_0x49a0ca[_0x280a13(0x130)]=_0x5b6a35[_0x280a13(0x13c)],_0x49a0ca;});}}function _0x347c(){const _0x19054b=['shortText','uploadcare.uploader.sourceList','_licenseKeyCheckInterval','assetManager','forEach','11520621MTpFgH','type','9276606isKkEp','45cFPGRX','uploadcareLicenseKeyNotAllowed','upload','entries','bind','Insert','uploadcare','OneDrive','_createToolbarButton','evaluationLimit','_getIntegrationKey','_showLicenseError','invalid','icon','withText','config','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyDomainLimit','34902gXsJxs','GPhotos','licenseKey','uploadcareLicenseKeyExpired','editor','commands','uploadcareLicenseKeyValid','Local','_createButton','9478976MMowav','text','uploadcareLicenseKeyUsageLimit','domainLimit','get','reduce','12CvtNAZ','afterInit','has','plugins','trialLimit','uploadcareLicenseKeyTrialLimit','map','Uploadcare','_createMenuBarButtons','locale','469513FQDmHF','isPremiumPlugin','ImageInsertUI','expired','uploadcareLicenseKeyInvalid','destroy','pluginName','UploadcareUI','URL','init','execute','registerIntegration','usageLimit','4wFtKjj','tooltip','3915540KiDVjc','Facebook','isEnabled','label','isImageSelected','push','isOfficialPlugin','_normalizeConfigSourceList','_createDropdownButtons','url','featureNotAllowed','GDrive','Dropbox','2009435eIgyWB','Replace'];_0x347c=function(){return _0x19054b;};return _0x347c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x26704a}from'ckeditor5/src/core.js';import{FileRepository as _0x13b1cc}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x49b604}from'./uploadcareediting.js';import{UploadUtils as _0x929c0}from'./utils/uploadutils.js';import{getImageUrls as _0x158715}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x26704a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x13b1cc,_0x49b604];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x42891=this['editor'];if(!!!_0x42891['config']['get']('uploadcare'))return;_0x42891['plugins']['get'](_0x13b1cc)['createUploadAdapter']=_0x41c3a4=>new k(_0x41c3a4,_0x42891),_0x42891['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e64c5,{imageElement:_0x483071,data:_0x4bce00})=>{_0x42891['model']['change'](_0xb035cb=>{_0xb035cb['setAttribute']('uploadcareImageId',_0x4bce00['uploadcareImageId'],_0x483071);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x50cd1a,_0x19f3f0){this['loader']=_0x50cd1a,this['editor']=_0x19f3f0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x323037=await this['loader']['file'];return _0x929c0['upload']({'file':_0x323037,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5438ba=>{_0x5438ba&&_0x5438ba['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5438ba['value']);}})['then'](async _0x1240cb=>{const {imageFallbackUrl:_0x1600d9,imageSources:_0x1695cf}=_0x158715(_0x1240cb['cdnUrl'],_0x1240cb['imageInfo']['width']);return{'uploadcareImageId':_0x1240cb['uuid'],'default':_0x1600d9,'sources':_0x1695cf};})['catch'](()=>{const _0x406e7e=t('Cannot\x20upload\x20file:')+('\x20'+_0x323037['name']+'.');return Promise['reject'](_0x406e7e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3faf02}from'ckeditor5/src/core.js';import{FileRepository as _0x49656a}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3f927b}from'./uploadcareediting.js';import{UploadUtils as _0x5e7756}from'./utils/uploadutils.js';import{getImageUrls as _0x17d225}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3faf02{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x49656a,_0x3f927b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x28386f=this['editor'];if(!!!_0x28386f['config']['get']('uploadcare'))return;_0x28386f['plugins']['get'](_0x49656a)['createUploadAdapter']=_0x959541=>new k(_0x959541,_0x28386f),_0x28386f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5445e9,{imageElement:_0x4dcb89,data:_0x2ea999})=>{_0x28386f['model']['change'](_0x2a682d=>{_0x2a682d['setAttribute']('uploadcareImageId',_0x2ea999['uploadcareImageId'],_0x4dcb89);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x204a24,_0x1f6c7b){this['loader']=_0x204a24,this['editor']=_0x1f6c7b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x48ad27=await this['loader']['file'];return _0x5e7756['upload']({'file':_0x48ad27,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x446de8=>{_0x446de8&&_0x446de8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x446de8['value']);}})['then'](async _0x275645=>{const {imageFallbackUrl:_0x4f9299,imageSources:_0x4a9bdd}=_0x17d225(_0x275645['cdnUrl'],_0x275645['imageInfo']['width']);return{'uploadcareImageId':_0x275645['uuid'],'default':_0x4f9299,'sources':_0x4a9bdd};})['catch'](()=>{const _0x300aa2=t('Cannot\x20upload\x20file:')+('\x20'+_0x48ad27['name']+'.');return Promise['reject'](_0x300aa2);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3878c8}from'../uploadcareconfig.js';export function getTranslation(_0x1bea66,_0x5867a8,_0x4c23ab){const t=_0x1bea66['t'],_0x5b7d4c=_0x1bea66['t'];switch(_0x5867a8){case _0x3878c8['Local']:return{'text':_0x5b7d4c('Insert'===_0x4c23ab?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5b7d4c('From\x20computer')};case _0x3878c8['URL']:return{'text':'Insert'===_0x4c23ab?_0x5b7d4c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5b7d4c('Via\x20URL')};case _0x3878c8['Dropbox']:return{'text':t('Insert'===_0x4c23ab?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3878c8['Facebook']:return{'text':t('Insert'===_0x4c23ab?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3878c8['GDrive']:return{'text':t('Insert'===_0x4c23ab?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3878c8['GPhotos']:return{'text':t('Insert'===_0x4c23ab?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3878c8['OneDrive']:return{'text':t('Insert'===_0x4c23ab?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5867a8;}}
23
+ import{UploadcareSource as _0x40698c}from'../uploadcareconfig.js';export function getTranslation(_0x2b8c7f,_0x2ca308,_0x3114ad){const t=_0x2b8c7f['t'],_0x5bacf3=_0x2b8c7f['t'];switch(_0x2ca308){case _0x40698c['Local']:return{'text':_0x5bacf3('Insert'===_0x3114ad?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5bacf3('From\x20computer')};case _0x40698c['URL']:return{'text':'Insert'===_0x3114ad?_0x5bacf3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5bacf3('Via\x20URL')};case _0x40698c['Dropbox']:return{'text':t('Insert'===_0x3114ad?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x40698c['Facebook']:return{'text':t('Insert'===_0x3114ad?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x40698c['GDrive']:return{'text':t('Insert'===_0x3114ad?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x40698c['GPhotos']:return{'text':t('Insert'===_0x3114ad?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x40698c['OneDrive']:return{'text':t('Insert'===_0x3114ad?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2ca308;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c7223=_0x1afb;(function(_0x57ec28,_0x367436){var _0x5937bf=_0x1afb,_0x19687f=_0x57ec28();while(!![]){try{var _0x2c459d=parseInt(_0x5937bf(0x1ac))/0x1*(parseInt(_0x5937bf(0x1b4))/0x2)+-parseInt(_0x5937bf(0x1aa))/0x3+-parseInt(_0x5937bf(0x1a7))/0x4*(parseInt(_0x5937bf(0x1b2))/0x5)+-parseInt(_0x5937bf(0x1a6))/0x6+parseInt(_0x5937bf(0x1b5))/0x7+parseInt(_0x5937bf(0x1a5))/0x8+-parseInt(_0x5937bf(0x1b1))/0x9*(parseInt(_0x5937bf(0x1ad))/0xa);if(_0x2c459d===_0x367436)break;else _0x19687f['push'](_0x19687f['shift']());}catch(_0x1e38c0){_0x19687f['push'](_0x19687f['shift']());}}}(_0x2753,0xc5f56));function _0x1afb(_0x55d00e,_0x18e754){var _0x275325=_0x2753();return _0x1afb=function(_0x1afbc4,_0xa5f2be){_0x1afbc4=_0x1afbc4-0x1a4;var _0x408c57=_0x275325[_0x1afbc4];return _0x408c57;},_0x1afb(_0x55d00e,_0x18e754);}function _0x2753(){var _0x15fe5a=['6058308caOVoy','12rLTSvQ','createCollection','fire','1217205izNAZT','getFocusableElement','8691TyNzgA','70MciUHw','forwardCycle','div','bindTemplate','476271jjHyyB','807515WPxTgC','focusCycler','358GKJJsE','3070137kcTZsv','true','focusTracker','8695624FLOUJu'];_0x2753=function(){return _0x15fe5a;};return _0x2753();}import{FocusTracker as _0xc95924}from'ckeditor5/src/utils.js';import{View as _0x2a2933,FocusCycler as _0x39f577}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2a2933{[_0x2c7223(0x1a4)];[_0x2c7223(0x1b3)];constructor(_0x38d320){var _0x1d9a34=_0x2c7223;super(_0x38d320),this[_0x1d9a34(0x1a4)]=new _0xc95924(),this[_0x1d9a34(0x1b3)]=new _0x39f577({'focusables':this[_0x1d9a34(0x1a8)](),'focusTracker':this[_0x1d9a34(0x1a4)]});}[_0x2c7223(0x1ab)](){var _0x3fee48=_0x2c7223;return{'tag':_0x3fee48(0x1af),'attributes':{'aria-hidden':_0x3fee48(0x1b6),'tabindex':'0'},'on':{'focus':this[_0x3fee48(0x1b0)]['to'](()=>{var _0x134378=_0x3fee48;this[_0x134378(0x1b3)][_0x134378(0x1a9)](_0x134378(0x1ae));})}};}}
23
+ function _0x33d0(_0x149f34,_0x1409bd){var _0x45570c=_0x4557();return _0x33d0=function(_0x33d003,_0x161721){_0x33d003=_0x33d003-0x127;var _0x576a2e=_0x45570c[_0x33d003];return _0x576a2e;},_0x33d0(_0x149f34,_0x1409bd);}var _0x480d92=_0x33d0;(function(_0x511f34,_0x53c447){var _0x4b0aec=_0x33d0,_0x182a71=_0x511f34();while(!![]){try{var _0x30980b=-parseInt(_0x4b0aec(0x13b))/0x1*(-parseInt(_0x4b0aec(0x12d))/0x2)+-parseInt(_0x4b0aec(0x138))/0x3*(-parseInt(_0x4b0aec(0x128))/0x4)+-parseInt(_0x4b0aec(0x127))/0x5*(-parseInt(_0x4b0aec(0x135))/0x6)+-parseInt(_0x4b0aec(0x136))/0x7*(parseInt(_0x4b0aec(0x137))/0x8)+-parseInt(_0x4b0aec(0x131))/0x9*(-parseInt(_0x4b0aec(0x12f))/0xa)+-parseInt(_0x4b0aec(0x13a))/0xb*(-parseInt(_0x4b0aec(0x12a))/0xc)+-parseInt(_0x4b0aec(0x134))/0xd;if(_0x30980b===_0x53c447)break;else _0x182a71['push'](_0x182a71['shift']());}catch(_0x40ce37){_0x182a71['push'](_0x182a71['shift']());}}}(_0x4557,0x4602d));import{FocusTracker as _0x2680cd}from'ckeditor5/src/utils.js';function _0x4557(){var _0x399e87=['4BKItqn','fire','5zlsyXd','880rNscZz','getFocusableElement','708lJNSuJ','forwardCycle','true','44708HOFFsV','focusTracker','358760YxsGWE','createCollection','135fnrlpU','focusCycler','bindTemplate','16655561ApXunR','541182KzYxgj','7IDGNhk','1106992HGOfRQ','6918lJmlhx','div','89727SRcAZm'];_0x4557=function(){return _0x399e87;};return _0x4557();}import{View as _0x130550,FocusCycler as _0x13a0d2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x130550{[_0x480d92(0x12e)];[_0x480d92(0x132)];constructor(_0x767344){var _0xa21750=_0x480d92;super(_0x767344),this[_0xa21750(0x12e)]=new _0x2680cd(),this[_0xa21750(0x132)]=new _0x13a0d2({'focusables':this[_0xa21750(0x130)](),'focusTracker':this[_0xa21750(0x12e)]});}[_0x480d92(0x129)](){var _0x1a7ddf=_0x480d92;return{'tag':_0x1a7ddf(0x139),'attributes':{'aria-hidden':_0x1a7ddf(0x12c),'tabindex':'0'},'on':{'focus':this[_0x1a7ddf(0x133)]['to'](()=>{var _0x20df06=_0x1a7ddf;this[_0x20df06(0x132)][_0x20df06(0x13c)](_0x20df06(0x12b));})}};}}