@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251215.0 → 0.0.0-nightly-next-20251216.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x778a=_0x5e25;(function(_0x1a095e,_0xfb0bfc){const _0x2a9a07=_0x5e25,_0x38cf5f=_0x1a095e();while(!![]){try{const _0x243f0b=parseInt(_0x2a9a07(0x229))/0x1+parseInt(_0x2a9a07(0x20b))/0x2+-parseInt(_0x2a9a07(0x22f))/0x3+parseInt(_0x2a9a07(0x1ff))/0x4+parseInt(_0x2a9a07(0x1e6))/0x5+-parseInt(_0x2a9a07(0x21d))/0x6*(parseInt(_0x2a9a07(0x205))/0x7)+-parseInt(_0x2a9a07(0x1e8))/0x8*(parseInt(_0x2a9a07(0x226))/0x9);if(_0x243f0b===_0xfb0bfc)break;else _0x38cf5f['push'](_0x38cf5f['shift']());}catch(_0x11e824){_0x38cf5f['push'](_0x38cf5f['shift']());}}}(_0x5bca,0xb1ca9));import{Plugin as _0x5b2f4e}from'ckeditor5/src/core.js';import{Dialog as _0x5e1821}from'ckeditor5/src/ui.js';function _0x5bca(){const _0x24b91d=['pluginName','imageBlock','selection','40380dRpLMu','_initSchema','conversion','join','contentLanguage','downcast','extend','init','get','36zfPgJR','true','removeAttribute','763238wMrJWB','config','_ctxElement','insertImage','ucContextId','closeMax','1525980XLzIQZ','requires','isRegistered','iconHrefResolver','isOfficialPlugin','afterInit','uc-config','document','getAttribute','replaceImageSource','remove','3474075DBEgNI','\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','2077256aQJOpj','#uc-icon-arrow-down','input[uploadcare-file-input]','upcast','uploader-','schema','locale','uploadcare','uploadcareImageReplace','editor','data-uc-image-id','_initConfig','href','elementToAttribute','PictureEditing','commands','_configElement','once','model','fromCharCode','UploadcareEditing','listenTo','appendChild','3091204JVgLjs','uploadcare.pubkey','cleanupImage','querySelector','map','_initImageProcessingIndicator','511KusUoQ','_initConversion','execute','destroy','view','uc-upload-ctx-provider','1071914uTWVqE','uploadcare.uploader','add','ctxElement','for','imageInline','editing','body','uploadcareImageId','attributeToAttribute','_initCtx','render','isPremiumPlugin','getSelectedElement','configElement'];_0x5bca=function(){return _0x24b91d;};return _0x5bca();}import{createElement as _0x15021e,global as _0x36de1b,uid as _0x375469}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x856e51}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1642d9}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3410c8}from'./utils/editingutils.js';function _0x5e25(_0x199936,_0x2382ae){const _0x5bca65=_0x5bca();return _0x5e25=function(_0x5e25e2,_0x5aa8fb){_0x5e25e2=_0x5e25e2-0x1e1;let _0x7f6704=_0x5bca65[_0x5e25e2];return _0x7f6704;},_0x5e25(_0x199936,_0x2382ae);}export class UploadcareEditing extends _0x5b2f4e{[_0x778a(0x1f8)]=null;[_0x778a(0x22b)]=null;static get[_0x778a(0x21a)](){const _0x35ebcc=_0x778a;return _0x35ebcc(0x1fc);}static get[_0x778a(0x230)](){const _0x2b801a=_0x778a;return[_0x2b801a(0x1f6),_0x1642d9,_0x5e1821];}static get[_0x778a(0x233)](){return!0x0;}static get[_0x778a(0x217)](){return!0x0;}[_0x778a(0x22d)];get[_0x778a(0x219)](){const _0x38695b=_0x778a;return this[_0x38695b(0x1f8)];}get[_0x778a(0x20e)](){const _0x150a3b=_0x778a;return this[_0x150a3b(0x22b)];}constructor(_0x3b1b2a){const _0x4ab479=_0x778a;super(_0x3b1b2a),this[_0x4ab479(0x22d)]=_0x375469();}[_0x778a(0x224)](){const _0x9d49b8=_0x778a,_0x4acb32=this[_0x9d49b8(0x1f1)];_0x4acb32[_0x9d49b8(0x1f7)][_0x9d49b8(0x20d)](_0x9d49b8(0x1ef),new _0x856e51(_0x4acb32));}[_0x778a(0x234)](){const _0x9fd15a=_0x778a;this[_0x9fd15a(0x21e)](),this[_0x9fd15a(0x206)](),this[_0x9fd15a(0x1f3)](),this[_0x9fd15a(0x215)](),this[_0x9fd15a(0x204)](),this[_0x9fd15a(0x1fd)](this[_0x9fd15a(0x1f1)],_0x9fd15a(0x208),()=>{const _0x6e0dea=_0x9fd15a;this[_0x6e0dea(0x1f8)]&&(this[_0x6e0dea(0x1f8)][_0x6e0dea(0x1e5)](),this[_0x6e0dea(0x1f8)]=null),this[_0x6e0dea(0x22b)]&&(this[_0x6e0dea(0x22b)][_0x6e0dea(0x1e5)](),this[_0x6e0dea(0x22b)]=null);const _0x395763=_0x36de1b[_0x6e0dea(0x1e2)][_0x6e0dea(0x202)](_0x6e0dea(0x1ea));_0x395763&&_0x395763[_0x6e0dea(0x1e5)]();}),async function(_0x2f129b){const _0x220728=_0x14900b([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x51ed19=0x535f8c3a,_0x30ec2b=0x5358f7c2^_0x51ed19,_0x2177ca=window[_0x14900b([0x44,0x61,0x74,0x65])][_0x14900b([0x6e,0x6f,0x77])](),_0x48c7a3=_0x2f129b[_0x14900b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2909ee=new window[(_0x14900b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x408f66=>{_0x48c7a3[_0x14900b([0x6f,0x6e,0x63,0x65])](_0x14900b([0x72,0x65,0x61,0x64,0x79]),_0x408f66);}),_0x35e4c2={[_0x14900b([0x6b,0x74,0x79])]:_0x14900b([0x45,0x43]),[_0x14900b([0x75,0x73,0x65])]:_0x14900b([0x73,0x69,0x67]),[_0x14900b([0x63,0x72,0x76])]:_0x14900b([0x50,0x2d,0x32,0x35,0x36]),[_0x14900b([0x78])]:_0x14900b([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]),[_0x14900b([0x79])]:_0x14900b([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]),[_0x14900b([0x61,0x6c,0x67])]:_0x14900b([0x45,0x53,0x32,0x35,0x36])},_0x163570=_0x48c7a3[_0x14900b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x14900b([0x67,0x65,0x74])](_0x14900b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e64a5(){let _0x1f0ce6,_0x54f866=null,_0xc2d2eb=null;try{if(_0x163570==_0x14900b([0x47,0x50,0x4c]))return _0x14900b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f0ce6=_0x4574b4(),!_0x1f0ce6)return _0x14900b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f0ce6[_0x14900b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc2d2eb=_0x56c8af(_0x1f0ce6[_0x14900b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f0ce6[_0x14900b([0x6a,0x74,0x69])])),await _0xabf94e()?_0x34558f()?_0x2242a8()?_0x14900b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5aa969()?(_0x1f0ce6[_0x14900b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14900b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54f866=_0x3ba242(_0x14900b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1f0ce6[_0x14900b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14900b([0x74,0x72,0x69,0x61,0x6c])&&(_0x54f866=_0x3ba242(_0x14900b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e6627()):_0x14900b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x14900b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x14900b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x14900b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2242a8(){const _0x390f78=[_0x14900b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x14900b([0x74,0x72,0x69,0x61,0x6c])][_0x14900b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f0ce6[_0x14900b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2177ca/0x3e8:0xe10*_0x30ec2b;return _0x1f0ce6[_0x14900b([0x65,0x78,0x70])]<_0x390f78;}function _0x34558f(){const _0x1c9b4a=_0x1f0ce6[_0x14900b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c9b4a&&(!!_0x1c9b4a[_0x14900b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14900b([0x2a]))||!!_0x1c9b4a[_0x14900b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14900b([0x55,0x50,0x4c,0x43])));}function _0x5aa969(){const _0x2983af=_0x5e25,_0x22511e=_0x1f0ce6[_0x14900b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22511e||0x0==_0x22511e[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x221de5}=new URL(window[_0x14900b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2983af(0x1f4)]);if(_0x22511e[_0x14900b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221de5))return!0x0;const _0x375ef0=_0x221de5[_0x14900b([0x73,0x70,0x6c,0x69,0x74])](_0x14900b([0x2e]));return _0x22511e[_0x14900b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a3595=>_0x1a3595[_0x14900b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14900b([0x2a])))[_0x14900b([0x6d,0x61,0x70])](_0x5ca35b=>_0x5ca35b[_0x14900b([0x73,0x70,0x6c,0x69,0x74])](_0x14900b([0x2e])))[_0x14900b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ae26b=>_0x1ae26b[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x375ef0[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14900b([0x6d,0x61,0x70])](_0x57cd40=>Array(_0x375ef0[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x57cd40[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14900b([0x66,0x69,0x6c,0x6c])](_0x57cd40[0x0]===_0x14900b([0x2a])?_0x14900b([0x2a]):'')[_0x14900b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x57cd40))[_0x14900b([0x73,0x6f,0x6d,0x65])](_0x522615=>_0x375ef0[_0x14900b([0x65,0x76,0x65,0x72,0x79])]((_0xa1a594,_0x37f3a3)=>_0x522615[_0x37f3a3]===_0xa1a594||_0x522615[_0x37f3a3]===_0x14900b([0x2a])));}function _0x4e6627(){return _0x54f866&&_0xc2d2eb?new window[(_0x14900b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5eaf11,_0x255548)=>{_0x54f866[_0x14900b([0x74,0x68,0x65,0x6e])](_0x5eaf11,_0x255548),_0xc2d2eb[_0x14900b([0x74,0x68,0x65,0x6e])](_0x149335=>{_0x149335!=_0x14900b([0x56,0x61,0x6c,0x69,0x64])&&_0x5eaf11(_0x149335);},_0x255548);}):_0x54f866||_0xc2d2eb||_0x14900b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56c8af(_0x167382,_0x11f195){return new window[(_0x14900b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1593a8=>{if(_0x4d86bc())return _0x1593a8(_0x14900b([0x56,0x61,0x6c,0x69,0x64]));_0x6f5d27(),_0x48c7a3[_0x14900b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x14900b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xeed843=!0x1;const _0x2cd796=_0x375469();function _0x4de9e6(_0xeb3e38){return!!_0xeb3e38&&(typeof _0xeb3e38===_0x14900b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xeb3e38===_0x14900b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xeb3e38[_0x14900b([0x74,0x68,0x65,0x6e])]===_0x14900b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xeb3e38[_0x14900b([0x63,0x61,0x74,0x63,0x68])]===_0x14900b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf4e8a9(_0x1ce4ac){_0x41be5c(_0x1ce4ac)[_0x14900b([0x74,0x68,0x65,0x6e])](_0x4cb296=>{if(!_0x4cb296||_0x4cb296[_0x14900b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x14900b([0x6f,0x6b]))return _0x14900b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2005bc(_0x2656e4(_0x2cd796+_0x11f195))!=_0x4cb296[_0x14900b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x14900b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x14900b([0x56,0x61,0x6c,0x69,0x64]);})[_0x14900b([0x74,0x68,0x65,0x6e])](_0xdab038=>(_0xb57137(),_0xdab038),()=>{const _0x262c15=_0x22b59a();return null==_0x262c15?(_0xb57137(),_0x14900b([0x56,0x61,0x6c,0x69,0x64])):_0x14900b(_0x2177ca-_0x262c15>(0x7753083a^_0x51ed19)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x14900b([0x74,0x68,0x65,0x6e])](_0x1593a8)[_0x14900b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1593a8(_0x14900b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e6255=0x536962ba^_0x51ed19;function _0xb57137(){const _0x4c278a=_0x14900b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2005bc(_0x2656e4(_0x167382)),_0x31143c=_0x2b7e23(_0x2005bc(window[_0x14900b([0x4d,0x61,0x74,0x68])][_0x14900b([0x63,0x65,0x69,0x6c])](_0x2177ca/_0x1e6255)));window[_0x14900b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14900b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c278a,_0x31143c);}function _0x22b59a(){const _0x10bd39=_0x14900b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2005bc(_0x2656e4(_0x167382)),_0x178a18=window[_0x14900b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14900b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10bd39);return _0x178a18?window[_0x14900b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b7e23(_0x178a18),0x10)*_0x1e6255:null;}function _0x41be5c(_0x4d9203){return new window[(_0x14900b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x554b06,_0x15286d)=>{_0x4d9203[_0x14900b([0x74,0x68,0x65,0x6e])](_0x554b06,_0x15286d),window[_0x14900b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15286d,0x535e58fa^_0x51ed19);});}}_0x48c7a3[_0x14900b([0x6f,0x6e])](_0x14900b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x596876,_0xdfdbe8)=>{if(_0xdfdbe8[0x0]!=_0x167382)return _0x1593a8(_0x14900b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdfdbe8[0x1]={..._0xdfdbe8[0x1],[_0x14900b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cd796};},{[_0x14900b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14900b([0x68,0x69,0x67,0x68])}),_0x48c7a3[_0x14900b([0x6f,0x6e])](_0x14900b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3536c0=>{_0x4de9e6(_0x3536c0[_0x14900b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xeed843=!0x0,_0xf4e8a9(_0x3536c0[_0x14900b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x14900b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14900b([0x6c,0x6f,0x77])}),_0x2909ee[_0x14900b([0x74,0x68,0x65,0x6e])](()=>{_0xeed843||_0x1593a8(_0x14900b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d86bc(){return _0x48c7a3[_0x14900b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14900b([0x76,0x69,0x65,0x77])][_0x14900b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x14900b([0x61,0x75,0x74,0x6f]);}function _0x6f5d27(){_0x48c7a3[_0x14900b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14900b([0x76,0x69,0x65,0x77])][_0x14900b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x14900b([0x61,0x75,0x74,0x6f]);}}function _0x3ba242(_0x31f5d6){const _0x3a8bf9=[new window[(_0x14900b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e0b2=>setTimeout(_0x34e0b2,0x5356b2f6^_0x51ed19)),_0x2909ee[_0x14900b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x14900b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54fb0b=>{let _0x5948cb=0x0;_0x48c7a3[_0x14900b([0x6d,0x6f,0x64,0x65,0x6c])][_0x14900b([0x6f,0x6e])](_0x14900b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ac38a,_0x247795)=>{_0x247795[0x0][_0x14900b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5948cb++,_0x5948cb==(0x535f8dc2^_0x51ed19)&&(_0x54fb0b(),_0x1ac38a[_0x14900b([0x6f,0x66,0x66])]());});}))];return window[_0x14900b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x14900b([0x72,0x61,0x63,0x65])](_0x3a8bf9)[_0x14900b([0x74,0x68,0x65,0x6e])](()=>_0x31f5d6);}async function _0x392dd7(){await _0x2909ee,_0x48c7a3[_0x14900b([0x6d,0x6f,0x64,0x65,0x6c])][_0x14900b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10297a,_0x48c7a3[_0x14900b([0x6d,0x6f,0x64,0x65,0x6c])][_0x14900b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10297a,_0x48c7a3[_0x14900b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14900b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22dcfd(_0x165b99){const _0x1034e9=_0x4c386f();_0x48c7a3[_0x1034e9]=_0x14900b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x165b99,_0x165b99!=_0x14900b([0x56,0x61,0x6c,0x69,0x64])&&_0x392dd7();}function _0x4c386f(){const _0x5592f1=window[_0x14900b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x14900b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14900b([0x6e,0x6f,0x77])]())[_0x14900b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14900b([0x2e]),'');let _0x39caa4=_0x14900b([0x68]);for(let _0x48405a=0x0;_0x48405a<_0x5592f1[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48405a+=0x2){let _0x1734d6=window[_0x14900b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5592f1[_0x14900b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48405a,_0x48405a+0x2));_0x1734d6>=_0x220728[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1734d6-=_0x220728[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39caa4+=_0x220728[_0x1734d6];}return _0x39caa4;}function _0x4574b4(){const _0x4528a8=_0x163570[_0x14900b([0x73,0x70,0x6c,0x69,0x74])](_0x14900b([0x2e]));if(0x3!=_0x4528a8[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x12c72b(_0x4528a8[0x1]);function _0x12c72b(_0x2b1302){const _0x3468e0=_0x40c2c5(_0x2b1302);return _0x3468e0&&_0x3c6367()?_0x3468e0:null;function _0x3c6367(){const _0x4e66fa=_0x3468e0[_0x14900b([0x6a,0x74,0x69])],_0x521567=window[_0x14900b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e66fa[_0x14900b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e66fa[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x174fe4={..._0x3468e0,[_0x14900b([0x6a,0x74,0x69])]:_0x4e66fa[_0x14900b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e66fa[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x174fe4[_0x14900b([0x76,0x63])],_0x2656e4(_0x174fe4)==_0x521567;}}}async function _0xabf94e(){let _0x35b67e=!0x0;try{const _0x25a2af=_0x163570[_0x14900b([0x73,0x70,0x6c,0x69,0x74])](_0x14900b([0x2e])),[_0x36ca39,_0xb6e5db,_0x2b0aec]=_0x25a2af;return _0x1151d8(_0x36ca39),await _0x536ea1(_0x36ca39,_0xb6e5db,_0x2b0aec),_0x35b67e;}catch{return!0x1;}function _0x1151d8(_0x2e03c0){const _0x3e2b92=_0x40c2c5(_0x2e03c0);_0x3e2b92&&_0x3e2b92[_0x14900b([0x61,0x6c,0x67])]==_0x14900b([0x45,0x53,0x32,0x35,0x36])||(_0x35b67e=!0x1);}async function _0x536ea1(_0x59ba05,_0x2876e0,_0x1843b0){const _0xb877e1=window[_0x14900b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x14900b([0x66,0x72,0x6f,0x6d])](_0x2d87af(_0x1843b0),_0x33c905=>_0x33c905[_0x14900b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47ff2d=new window[(_0x14900b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x14900b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59ba05+_0x14900b([0x2e])+_0x2876e0),_0x8de97d=window[_0x14900b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x14900b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8de97d)return;const _0xf799b9=await _0x8de97d[_0x14900b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x14900b([0x6a,0x77,0x6b]),_0x35e4c2,{[_0x14900b([0x6e,0x61,0x6d,0x65])]:_0x14900b([0x45,0x43,0x44,0x53,0x41]),[_0x14900b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x14900b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x14900b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8de97d[_0x14900b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x14900b([0x6e,0x61,0x6d,0x65])]:_0x14900b([0x45,0x43,0x44,0x53,0x41]),[_0x14900b([0x68,0x61,0x73,0x68])]:{[_0x14900b([0x6e,0x61,0x6d,0x65])]:_0x14900b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf799b9,_0xb877e1,_0x47ff2d)||(_0x35b67e=!0x1);}}function _0x40c2c5(_0xb59b56){return _0xb59b56[_0x14900b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x14900b([0x65,0x79]))?JSON[_0x14900b([0x70,0x61,0x72,0x73,0x65])](_0x2d87af(_0xb59b56)):null;}function _0x2d87af(_0x258fa8){return window[_0x14900b([0x61,0x74,0x6f,0x62])](_0x258fa8[_0x14900b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x14900b([0x2b]))[_0x14900b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x14900b([0x2f])));}function _0x2656e4(_0x1630a8){let _0x5d9012=0x1505;function _0x175dbc(_0xf208a7){for(let _0x3cd30a=0x0;_0x3cd30a<_0xf208a7[_0x14900b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cd30a++){const _0x5b20e0=_0xf208a7[_0x14900b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cd30a);_0x5d9012=(_0x5d9012<<0x5)+_0x5d9012+_0x5b20e0,_0x5d9012&=_0x5d9012;}}function _0x1c797f(_0x2d9677){Array[_0x14900b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d9677)?_0x2d9677[_0x14900b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c797f):_0x2d9677&&typeof _0x2d9677==_0x14900b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x14900b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d9677)[_0x14900b([0x73,0x6f,0x72,0x74])]()[_0x14900b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x391332,_0x43a3af])=>{_0x175dbc(_0x391332),_0x1c797f(_0x43a3af);}):_0x175dbc(window[_0x14900b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d9677));}return _0x1c797f(_0x1630a8),_0x5d9012>>>0x0;}function _0x2005bc(_0x49b44c){return _0x49b44c[_0x14900b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x14900b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x14900b([0x30]));}function _0x2b7e23(_0x43e416){return _0x43e416[_0x14900b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x14900b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x14900b([0x6a,0x6f,0x69,0x6e])]('');}function _0x10297a(){}function _0x14900b(_0x3267a6){const _0x1daa6a=_0x5e25;return _0x3267a6[_0x1daa6a(0x203)](_0x198ab9=>String[_0x1daa6a(0x1fb)](_0x198ab9))[_0x1daa6a(0x220)]('');}_0x22dcfd(await _0x4e64a5());}(this);}[_0x778a(0x21e)](){const _0x50797d=_0x778a,_0x57271d=this[_0x50797d(0x1f1)][_0x50797d(0x1fa)][_0x50797d(0x1ed)];_0x57271d[_0x50797d(0x231)](_0x50797d(0x21b))&&_0x57271d[_0x50797d(0x223)](_0x50797d(0x21b),{'allowAttributes':[_0x50797d(0x213)]}),_0x57271d[_0x50797d(0x231)](_0x50797d(0x210))&&_0x57271d[_0x50797d(0x223)](_0x50797d(0x210),{'allowAttributes':[_0x50797d(0x213)]});}[_0x778a(0x206)](){const _0x2e7dcb=_0x778a,_0x4bc33a=this[_0x2e7dcb(0x1f1)];_0x4bc33a[_0x2e7dcb(0x21f)][_0x2e7dcb(0x20f)](_0x2e7dcb(0x222))[_0x2e7dcb(0x214)]({'model':_0x2e7dcb(0x213),'view':_0x2e7dcb(0x1f2)}),_0x4bc33a[_0x2e7dcb(0x21f)][_0x2e7dcb(0x20f)](_0x2e7dcb(0x1eb))[_0x2e7dcb(0x1f5)]({'model':{'key':_0x2e7dcb(0x213),'value':_0x42053d=>_0x42053d[_0x2e7dcb(0x1e3)](_0x2e7dcb(0x1f2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xbb875f=_0x4bc33a[_0x2e7dcb(0x1f7)][_0x2e7dcb(0x225)](_0x2e7dcb(0x1e4));_0xbb875f&&this[_0x2e7dcb(0x1fd)](_0xbb875f,_0x2e7dcb(0x201),(_0x4b87c9,[_0x850086,_0x232e69])=>{const _0x53803b=_0x2e7dcb;_0x850086[_0x53803b(0x228)](_0x53803b(0x213),_0x232e69);});}[_0x778a(0x1f3)](){const _0xf8f881=_0x778a,_0x384bcb=this[_0xf8f881(0x1f1)][_0xf8f881(0x22a)][_0xf8f881(0x225)](_0xf8f881(0x20c))||{},_0x3c1220=this[_0xf8f881(0x1f1)][_0xf8f881(0x22a)][_0xf8f881(0x225)](_0xf8f881(0x200))||'';this[_0xf8f881(0x1f8)]=_0x15021e(_0x36de1b[_0xf8f881(0x1e2)],_0xf8f881(0x1e1),{..._0x384bcb,'pubkey':_0x3c1220,'ctx-name':_0xf8f881(0x1ec)+this[_0xf8f881(0x22d)],'sourceList':'','imgOnly':_0xf8f881(0x227),'removeCopyright':_0xf8f881(0x227),'localeName':this[_0xf8f881(0x1f1)][_0xf8f881(0x1ee)][_0xf8f881(0x221)],'externalSourcesEmbedCss':_0xf8f881(0x1e7)}),this[_0xf8f881(0x1f8)][_0xf8f881(0x232)]=_0x5a515e=>{const _0x20b5cc=_0xf8f881;if(_0x20b5cc(0x22e)==_0x5a515e)return _0x20b5cc(0x1e9);},_0x36de1b[_0xf8f881(0x1e2)][_0xf8f881(0x212)][_0xf8f881(0x1fe)](this[_0xf8f881(0x1f8)]);}[_0x778a(0x215)](){const _0x14a651=_0x778a;this[_0x14a651(0x22b)]=_0x15021e(_0x36de1b[_0x14a651(0x1e2)],_0x14a651(0x20a),{'ctx-name':_0x14a651(0x1ec)+this[_0x14a651(0x22d)]}),_0x36de1b[_0x14a651(0x1e2)][_0x14a651(0x212)][_0x14a651(0x1fe)](this[_0x14a651(0x22b)]);}[_0x778a(0x204)](){const _0x55c3b3=_0x778a,_0x2501e3=this[_0x55c3b3(0x1f1)][_0x55c3b3(0x1f7)][_0x55c3b3(0x225)](_0x55c3b3(0x22c));_0x2501e3&&this[_0x55c3b3(0x1fd)](_0x2501e3,_0x55c3b3(0x207),()=>{const _0x56bab8=_0x55c3b3,_0x304454=this[_0x56bab8(0x1f1)][_0x56bab8(0x1fa)][_0x56bab8(0x1e2)][_0x56bab8(0x21c)][_0x56bab8(0x218)]();_0x304454&&_0x304454[_0x56bab8(0x1e3)](_0x56bab8(0x213))&&this[_0x56bab8(0x1f1)][_0x56bab8(0x211)][_0x56bab8(0x209)][_0x56bab8(0x1f9)](_0x56bab8(0x216),()=>{const _0x3e800f=_0x56bab8;_0x3410c8(this[_0x3e800f(0x1f1)],_0x304454);});});const _0x1dd704=this[_0x55c3b3(0x1f1)][_0x55c3b3(0x1f7)][_0x55c3b3(0x225)](_0x55c3b3(0x1f0));_0x1dd704&&this[_0x55c3b3(0x1fd)](_0x1dd704,_0x55c3b3(0x207),()=>{const _0x43aa2c=_0x55c3b3,_0x542efc=this[_0x43aa2c(0x1f1)][_0x43aa2c(0x1fa)][_0x43aa2c(0x1e2)][_0x43aa2c(0x21c)][_0x43aa2c(0x218)]();_0x542efc&&_0x542efc[_0x43aa2c(0x1e3)](_0x43aa2c(0x213))&&this[_0x43aa2c(0x1f1)][_0x43aa2c(0x211)][_0x43aa2c(0x209)][_0x43aa2c(0x1f9)](_0x43aa2c(0x216),()=>{const _0x1d7048=_0x43aa2c;_0x3410c8(this[_0x1d7048(0x1f1)],_0x542efc);});});}}
23
+ const _0x463110=_0x509f;(function(_0x1448a5,_0x23fff6){const _0x5f5340=_0x509f,_0x35c059=_0x1448a5();while(!![]){try{const _0x3dc6b9=parseInt(_0x5f5340(0x1c7))/0x1+-parseInt(_0x5f5340(0x1c9))/0x2+parseInt(_0x5f5340(0x1f7))/0x3*(-parseInt(_0x5f5340(0x1ff))/0x4)+-parseInt(_0x5f5340(0x1d8))/0x5*(parseInt(_0x5f5340(0x202))/0x6)+-parseInt(_0x5f5340(0x1f6))/0x7*(-parseInt(_0x5f5340(0x1ca))/0x8)+-parseInt(_0x5f5340(0x1f0))/0x9*(-parseInt(_0x5f5340(0x1fe))/0xa)+parseInt(_0x5f5340(0x1cb))/0xb;if(_0x3dc6b9===_0x23fff6)break;else _0x35c059['push'](_0x35c059['shift']());}catch(_0x3933e2){_0x35c059['push'](_0x35c059['shift']());}}}(_0x59c0,0xacc63));function _0x59c0(){const _0x486439=['config','querySelector','_initConfig','insertImage','isRegistered','70308frAGOE','upcast','for','listenTo','cleanupImage','_initConversion','8898113ivMsrE','2973lxgFxP','render','commands','destroy','once','add','pluginName','430BYMBVa','1916gDMrcL','getAttribute','getSelectedElement','1886088dmCnzX','view','true','init','execute','uc-upload-ctx-provider','data-uc-image-id','model','downcast','_initCtx','ctxElement','attributeToAttribute','PictureEditing','href','get','imageBlock','input[uploadcare-file-input]','uploadcareImageReplace','isPremiumPlugin','_ctxElement','isOfficialPlugin','appendChild','#uc-icon-arrow-down','imageInline','fromCharCode','\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.pubkey','867929VbCAAI','iconHrefResolver','2664992EizbJO','8qLcvQt','3896332OuTXqU','map','_configElement','uc-config','UploadcareEditing','uploader-','_initSchema','join','contentLanguage','locale','selection','editor','ucContextId','5ZSrjvE','elementToAttribute','schema','requires','uploadcare','afterInit','removeAttribute','uploadcare.uploader','editing','remove','body','closeMax','document','extend','configElement','uploadcareImageId','replaceImageSource','conversion','_initImageProcessingIndicator'];_0x59c0=function(){return _0x486439;};return _0x59c0();}import{Plugin as _0x25e487}from'ckeditor5/src/core.js';import{Dialog as _0x329112}from'ckeditor5/src/ui.js';import{createElement as _0x2afbb3,global as _0x293094,uid as _0x118dfc}from'ckeditor5/src/utils.js';function _0x509f(_0x5d8608,_0x475c09){const _0x59c0db=_0x59c0();return _0x509f=function(_0x509f04,_0x356676){_0x509f04=_0x509f04-0x1b7;let _0x1b0c09=_0x59c0db[_0x509f04];return _0x1b0c09;},_0x509f(_0x5d8608,_0x475c09);}import{UploadcareCommand as _0x2f638c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3cdbcb}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3dc89e}from'./utils/editingutils.js';export class UploadcareEditing extends _0x25e487{[_0x463110(0x1cd)]=null;[_0x463110(0x1bf)]=null;static get[_0x463110(0x1fd)](){const _0x568d83=_0x463110;return _0x568d83(0x1cf);}static get[_0x463110(0x1db)](){const _0x3cae16=_0x463110;return[_0x3cae16(0x1b8),_0x3cdbcb,_0x329112];}static get[_0x463110(0x1c0)](){return!0x0;}static get[_0x463110(0x1be)](){return!0x0;}[_0x463110(0x1d7)];get[_0x463110(0x1e6)](){const _0x5992fc=_0x463110;return this[_0x5992fc(0x1cd)];}get[_0x463110(0x20c)](){const _0x337043=_0x463110;return this[_0x337043(0x1bf)];}constructor(_0x4b6b78){const _0x4af65e=_0x463110;super(_0x4b6b78),this[_0x4af65e(0x1d7)]=_0x118dfc();}[_0x463110(0x205)](){const _0x3a5860=_0x463110,_0x196a6c=this[_0x3a5860(0x1d6)];_0x196a6c[_0x3a5860(0x1f9)][_0x3a5860(0x1fc)](_0x3a5860(0x1dc),new _0x2f638c(_0x196a6c));}[_0x463110(0x1dd)](){const _0x7b96ef=_0x463110;this[_0x7b96ef(0x1d1)](),this[_0x7b96ef(0x1f5)](),this[_0x7b96ef(0x1ed)](),this[_0x7b96ef(0x20b)](),this[_0x7b96ef(0x1ea)](),this[_0x7b96ef(0x1f3)](this[_0x7b96ef(0x1d6)],_0x7b96ef(0x1fa),()=>{const _0x3dfed6=_0x7b96ef;this[_0x3dfed6(0x1cd)]&&(this[_0x3dfed6(0x1cd)][_0x3dfed6(0x1e1)](),this[_0x3dfed6(0x1cd)]=null),this[_0x3dfed6(0x1bf)]&&(this[_0x3dfed6(0x1bf)][_0x3dfed6(0x1e1)](),this[_0x3dfed6(0x1bf)]=null);const _0x261ce7=_0x293094[_0x3dfed6(0x1e4)][_0x3dfed6(0x1ec)](_0x3dfed6(0x1bc));_0x261ce7&&_0x261ce7[_0x3dfed6(0x1e1)]();}),async function(_0x520e52){const _0x787795=_0x484315([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1736d3=0x535f8c3a,_0x4d237d=0x5358f02a^_0x1736d3,_0x5d5ded=window[_0x484315([0x44,0x61,0x74,0x65])][_0x484315([0x6e,0x6f,0x77])](),_0x377246=_0x520e52[_0x484315([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20b597=new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c714d=>{_0x377246[_0x484315([0x6f,0x6e,0x63,0x65])](_0x484315([0x72,0x65,0x61,0x64,0x79]),_0x3c714d);}),_0xefe148={[_0x484315([0x6b,0x74,0x79])]:_0x484315([0x45,0x43]),[_0x484315([0x75,0x73,0x65])]:_0x484315([0x73,0x69,0x67]),[_0x484315([0x63,0x72,0x76])]:_0x484315([0x50,0x2d,0x32,0x35,0x36]),[_0x484315([0x78])]:_0x484315([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]),[_0x484315([0x79])]:_0x484315([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]),[_0x484315([0x61,0x6c,0x67])]:_0x484315([0x45,0x53,0x32,0x35,0x36])},_0x24c57e=_0x377246[_0x484315([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x484315([0x67,0x65,0x74])](_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x162a08(){let _0x4795f6,_0x53892c=null,_0x1f4fdc=null;try{if(_0x24c57e==_0x484315([0x47,0x50,0x4c]))return _0x484315([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4795f6=_0x402d49(),!_0x4795f6)return _0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4795f6[_0x484315([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f4fdc=_0x1e8489(_0x4795f6[_0x484315([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4795f6[_0x484315([0x6a,0x74,0x69])])),await _0x320525()?_0x6422c4()?_0xff57ed()?_0x484315([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x186957()?(_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484315([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53892c=_0x58e1d4(_0x484315([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484315([0x74,0x72,0x69,0x61,0x6c])&&(_0x53892c=_0x58e1d4(_0x484315([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b91b7()):_0x484315([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x484315([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xff57ed(){const _0x378acd=[_0x484315([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x484315([0x74,0x72,0x69,0x61,0x6c])][_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d5ded/0x3e8:0xe10*_0x4d237d;return _0x4795f6[_0x484315([0x65,0x78,0x70])]<_0x378acd;}function _0x6422c4(){const _0x4e5ad8=_0x4795f6[_0x484315([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e5ad8&&(!!_0x4e5ad8[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x2a]))||!!_0x4e5ad8[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x55,0x50,0x4c,0x43])));}function _0x186957(){const _0x160138=_0x509f,_0x53c344=_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53c344||0x0==_0x53c344[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a324f}=new URL(window[_0x484315([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x160138(0x1b9)]);if(_0x53c344[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a324f))return!0x0;const _0x6705c8=_0x2a324f[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e]));return _0x53c344[_0x484315([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19ef22=>_0x19ef22[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x2a])))[_0x484315([0x6d,0x61,0x70])](_0x179978=>_0x179978[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e])))[_0x484315([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d04c9=>_0x1d04c9[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6705c8[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484315([0x6d,0x61,0x70])](_0x34e9fe=>Array(_0x6705c8[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34e9fe[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484315([0x66,0x69,0x6c,0x6c])](_0x34e9fe[0x0]===_0x484315([0x2a])?_0x484315([0x2a]):'')[_0x484315([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34e9fe))[_0x484315([0x73,0x6f,0x6d,0x65])](_0x35f85e=>_0x6705c8[_0x484315([0x65,0x76,0x65,0x72,0x79])]((_0xe93d52,_0x3d44fc)=>_0x35f85e[_0x3d44fc]===_0xe93d52||_0x35f85e[_0x3d44fc]===_0x484315([0x2a])));}function _0x4b91b7(){return _0x53892c&&_0x1f4fdc?new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57cbd7,_0x36785e)=>{_0x53892c[_0x484315([0x74,0x68,0x65,0x6e])](_0x57cbd7,_0x36785e),_0x1f4fdc[_0x484315([0x74,0x68,0x65,0x6e])](_0xe2c71d=>{_0xe2c71d!=_0x484315([0x56,0x61,0x6c,0x69,0x64])&&_0x57cbd7(_0xe2c71d);},_0x36785e);}):_0x53892c||_0x1f4fdc||_0x484315([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e8489(_0x128efb,_0x25dcf5){return new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6bab4=>{if(_0x131ad1())return _0xf6bab4(_0x484315([0x56,0x61,0x6c,0x69,0x64]));_0x872cbd(),_0x377246[_0x484315([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ab70c=!0x1;const _0xfdca7=_0x118dfc();function _0x452042(_0x2ef89b){return!!_0x2ef89b&&(typeof _0x2ef89b===_0x484315([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ef89b===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ef89b[_0x484315([0x74,0x68,0x65,0x6e])]===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ef89b[_0x484315([0x63,0x61,0x74,0x63,0x68])]===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x48b299(_0x1cf12e){_0xd7f5e5(_0x1cf12e)[_0x484315([0x74,0x68,0x65,0x6e])](_0x2ae23f=>{if(!_0x2ae23f||_0x2ae23f[_0x484315([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x484315([0x6f,0x6b]))return _0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d3273(_0x41cf8e(_0xfdca7+_0x25dcf5))!=_0x2ae23f[_0x484315([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x484315([0x56,0x61,0x6c,0x69,0x64]);})[_0x484315([0x74,0x68,0x65,0x6e])](_0x16a37c=>(_0x4de440(),_0x16a37c),()=>{const _0x2df244=_0x5b3d77();return null==_0x2df244?(_0x4de440(),_0x484315([0x56,0x61,0x6c,0x69,0x64])):_0x484315(_0x5d5ded-_0x2df244>(0x7753083a^_0x1736d3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x484315([0x74,0x68,0x65,0x6e])](_0xf6bab4)[_0x484315([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26cda7=0x536962ba^_0x1736d3;function _0x4de440(){const _0x1a4c1c=_0x484315([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3273(_0x41cf8e(_0x128efb)),_0x6dcb56=_0x45ab76(_0x1d3273(window[_0x484315([0x4d,0x61,0x74,0x68])][_0x484315([0x63,0x65,0x69,0x6c])](_0x5d5ded/_0x26cda7)));window[_0x484315([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484315([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a4c1c,_0x6dcb56);}function _0x5b3d77(){const _0x29980a=_0x484315([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3273(_0x41cf8e(_0x128efb)),_0x59442c=window[_0x484315([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484315([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29980a);return _0x59442c?window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45ab76(_0x59442c),0x10)*_0x26cda7:null;}function _0xd7f5e5(_0x362113){return new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467528,_0x592630)=>{_0x362113[_0x484315([0x74,0x68,0x65,0x6e])](_0x467528,_0x592630),window[_0x484315([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x592630,0x535e58fa^_0x1736d3);});}}_0x377246[_0x484315([0x6f,0x6e])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x111ed6,_0x30b0ad)=>{if(_0x30b0ad[0x0]!=_0x128efb)return _0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30b0ad[0x1]={..._0x30b0ad[0x1],[_0x484315([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfdca7};},{[_0x484315([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484315([0x68,0x69,0x67,0x68])}),_0x377246[_0x484315([0x6f,0x6e])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1951d0=>{_0x452042(_0x1951d0[_0x484315([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ab70c=!0x0,_0x48b299(_0x1951d0[_0x484315([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x484315([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484315([0x6c,0x6f,0x77])}),_0x20b597[_0x484315([0x74,0x68,0x65,0x6e])](()=>{_0x1ab70c||_0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x131ad1(){return _0x377246[_0x484315([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484315([0x76,0x69,0x65,0x77])][_0x484315([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x484315([0x61,0x75,0x74,0x6f]);}function _0x872cbd(){_0x377246[_0x484315([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484315([0x76,0x69,0x65,0x77])][_0x484315([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x484315([0x61,0x75,0x74,0x6f]);}}function _0x58e1d4(_0x34937e){const _0x29b4b1=[new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3afe9=>setTimeout(_0xf3afe9,0x5356b2f6^_0x1736d3)),_0x20b597[_0x484315([0x74,0x68,0x65,0x6e])](()=>new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x515d9a=>{let _0x1afac9=0x0;_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x6f,0x6e])](_0x484315([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b39ea,_0x413bb5)=>{_0x413bb5[0x0][_0x484315([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1afac9++,_0x1afac9==(0x535f8dc2^_0x1736d3)&&(_0x515d9a(),_0x5b39ea[_0x484315([0x6f,0x66,0x66])]());});}))];return window[_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x484315([0x72,0x61,0x63,0x65])](_0x29b4b1)[_0x484315([0x74,0x68,0x65,0x6e])](()=>_0x34937e);}async function _0x1b3c9a(){await _0x20b597,_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56e6c3,_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56e6c3,_0x377246[_0x484315([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x484315([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28c286(_0x2e5457){const _0x5c9bdc=_0xdb7c82();_0x377246[_0x5c9bdc]=_0x484315([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e5457,_0x2e5457!=_0x484315([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3c9a();}function _0xdb7c82(){const _0x20bb20=window[_0x484315([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x484315([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x484315([0x6e,0x6f,0x77])]())[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x484315([0x2e]),'');let _0x3bdfbf=_0x484315([0x68]);for(let _0x5e352c=0x0;_0x5e352c<_0x20bb20[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e352c+=0x2){let _0xa09022=window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20bb20[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e352c,_0x5e352c+0x2));_0xa09022>=_0x787795[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa09022-=_0x787795[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3bdfbf+=_0x787795[_0xa09022];}return _0x3bdfbf;}function _0x402d49(){const _0x14ef46=_0x24c57e[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e]));if(0x3!=_0x14ef46[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x30ec0d(_0x14ef46[0x1]);function _0x30ec0d(_0x1c0bb7){const _0x323268=_0x4319be(_0x1c0bb7);return _0x323268&&_0x61eaf0()?_0x323268:null;function _0x61eaf0(){const _0x457982=_0x323268[_0x484315([0x6a,0x74,0x69])],_0x3f6256=window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x457982[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x457982[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51a7d0={..._0x323268,[_0x484315([0x6a,0x74,0x69])]:_0x457982[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x457982[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51a7d0[_0x484315([0x76,0x63])],_0x41cf8e(_0x51a7d0)==_0x3f6256;}}}async function _0x320525(){let _0x15292b=!0x0;try{const _0x55441b=_0x24c57e[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e])),[_0x35bd50,_0x5ba2b6,_0x1b93e7]=_0x55441b;return _0x2c1bd7(_0x35bd50),await _0x395b88(_0x35bd50,_0x5ba2b6,_0x1b93e7),_0x15292b;}catch{return!0x1;}function _0x2c1bd7(_0x3366d6){const _0x26d6de=_0x4319be(_0x3366d6);_0x26d6de&&_0x26d6de[_0x484315([0x61,0x6c,0x67])]==_0x484315([0x45,0x53,0x32,0x35,0x36])||(_0x15292b=!0x1);}async function _0x395b88(_0x3b312a,_0x34efc3,_0x558978){const _0x162455=window[_0x484315([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x484315([0x66,0x72,0x6f,0x6d])](_0x40354e(_0x558978),_0x4c01ae=>_0x4c01ae[_0x484315([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c8a4f=new window[(_0x484315([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x484315([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b312a+_0x484315([0x2e])+_0x34efc3),_0x198517=window[_0x484315([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x484315([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198517)return;const _0x53161a=await _0x198517[_0x484315([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x484315([0x6a,0x77,0x6b]),_0xefe148,{[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x45,0x43,0x44,0x53,0x41]),[_0x484315([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x484315([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x484315([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198517[_0x484315([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x45,0x43,0x44,0x53,0x41]),[_0x484315([0x68,0x61,0x73,0x68])]:{[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53161a,_0x162455,_0x5c8a4f)||(_0x15292b=!0x1);}}function _0x4319be(_0xebca2d){return _0xebca2d[_0x484315([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x484315([0x65,0x79]))?JSON[_0x484315([0x70,0x61,0x72,0x73,0x65])](_0x40354e(_0xebca2d)):null;}function _0x40354e(_0x458b27){return window[_0x484315([0x61,0x74,0x6f,0x62])](_0x458b27[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x484315([0x2b]))[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x484315([0x2f])));}function _0x41cf8e(_0x6de913){let _0x3ef398=0x1505;function _0x3a8dc1(_0x52f8ce){for(let _0x6c2864=0x0;_0x6c2864<_0x52f8ce[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6c2864++){const _0x197fcf=_0x52f8ce[_0x484315([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6c2864);_0x3ef398=(_0x3ef398<<0x5)+_0x3ef398+_0x197fcf,_0x3ef398&=_0x3ef398;}}function _0x292b45(_0x3be88b){Array[_0x484315([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3be88b)?_0x3be88b[_0x484315([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x292b45):_0x3be88b&&typeof _0x3be88b==_0x484315([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x484315([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3be88b)[_0x484315([0x73,0x6f,0x72,0x74])]()[_0x484315([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x375565,_0x4db9f2])=>{_0x3a8dc1(_0x375565),_0x292b45(_0x4db9f2);}):_0x3a8dc1(window[_0x484315([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3be88b));}return _0x292b45(_0x6de913),_0x3ef398>>>0x0;}function _0x1d3273(_0x205011){return _0x205011[_0x484315([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x484315([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x484315([0x30]));}function _0x45ab76(_0x5c2e77){return _0x5c2e77[_0x484315([0x73,0x70,0x6c,0x69,0x74])]('')[_0x484315([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x484315([0x6a,0x6f,0x69,0x6e])]('');}function _0x56e6c3(){}function _0x484315(_0x4128b6){const _0xfa10be=_0x509f;return _0x4128b6[_0xfa10be(0x1cc)](_0x12e93b=>String[_0xfa10be(0x1c4)](_0x12e93b))[_0xfa10be(0x1d2)]('');}_0x28c286(await _0x162a08());}(this);}[_0x463110(0x1d1)](){const _0x1750d9=_0x463110,_0x1223a1=this[_0x1750d9(0x1d6)][_0x1750d9(0x209)][_0x1750d9(0x1da)];_0x1223a1[_0x1750d9(0x1ef)](_0x1750d9(0x1bb))&&_0x1223a1[_0x1750d9(0x1e5)](_0x1750d9(0x1bb),{'allowAttributes':[_0x1750d9(0x1e7)]}),_0x1223a1[_0x1750d9(0x1ef)](_0x1750d9(0x1c3))&&_0x1223a1[_0x1750d9(0x1e5)](_0x1750d9(0x1c3),{'allowAttributes':[_0x1750d9(0x1e7)]});}[_0x463110(0x1f5)](){const _0x2b0e49=_0x463110,_0x9dc9e0=this[_0x2b0e49(0x1d6)];_0x9dc9e0[_0x2b0e49(0x1e9)][_0x2b0e49(0x1f2)](_0x2b0e49(0x20a))[_0x2b0e49(0x1b7)]({'model':_0x2b0e49(0x1e7),'view':_0x2b0e49(0x208)}),_0x9dc9e0[_0x2b0e49(0x1e9)][_0x2b0e49(0x1f2)](_0x2b0e49(0x1f1))[_0x2b0e49(0x1d9)]({'model':{'key':_0x2b0e49(0x1e7),'value':_0x2189ca=>_0x2189ca[_0x2b0e49(0x200)](_0x2b0e49(0x208))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5e965f=_0x9dc9e0[_0x2b0e49(0x1f9)][_0x2b0e49(0x1ba)](_0x2b0e49(0x1e8));_0x5e965f&&this[_0x2b0e49(0x1f3)](_0x5e965f,_0x2b0e49(0x1f4),(_0x2318a1,[_0x5a872c,_0x5d49e1])=>{const _0x35bbd4=_0x2b0e49;_0x5a872c[_0x35bbd4(0x1de)](_0x35bbd4(0x1e7),_0x5d49e1);});}[_0x463110(0x1ed)](){const _0x1a85a0=_0x463110,_0x42456a=this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1eb)][_0x1a85a0(0x1ba)](_0x1a85a0(0x1df))||{},_0x520f6e=this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1eb)][_0x1a85a0(0x1ba)](_0x1a85a0(0x1c6))||'';this[_0x1a85a0(0x1cd)]=_0x2afbb3(_0x293094[_0x1a85a0(0x1e4)],_0x1a85a0(0x1ce),{..._0x42456a,'pubkey':_0x520f6e,'ctx-name':_0x1a85a0(0x1d0)+this[_0x1a85a0(0x1d7)],'sourceList':'','imgOnly':_0x1a85a0(0x204),'removeCopyright':_0x1a85a0(0x204),'localeName':this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1d4)][_0x1a85a0(0x1d3)],'externalSourcesEmbedCss':_0x1a85a0(0x1c5)}),this[_0x1a85a0(0x1cd)][_0x1a85a0(0x1c8)]=_0x5b4c9b=>{const _0x40e9fd=_0x1a85a0;if(_0x40e9fd(0x1e3)==_0x5b4c9b)return _0x40e9fd(0x1c2);},_0x293094[_0x1a85a0(0x1e4)][_0x1a85a0(0x1e2)][_0x1a85a0(0x1c1)](this[_0x1a85a0(0x1cd)]);}[_0x463110(0x20b)](){const _0x15de8c=_0x463110;this[_0x15de8c(0x1bf)]=_0x2afbb3(_0x293094[_0x15de8c(0x1e4)],_0x15de8c(0x207),{'ctx-name':_0x15de8c(0x1d0)+this[_0x15de8c(0x1d7)]}),_0x293094[_0x15de8c(0x1e4)][_0x15de8c(0x1e2)][_0x15de8c(0x1c1)](this[_0x15de8c(0x1bf)]);}[_0x463110(0x1ea)](){const _0x935b0=_0x463110,_0x3a28f1=this[_0x935b0(0x1d6)][_0x935b0(0x1f9)][_0x935b0(0x1ba)](_0x935b0(0x1ee));_0x3a28f1&&this[_0x935b0(0x1f3)](_0x3a28f1,_0x935b0(0x206),()=>{const _0x1384d1=_0x935b0,_0x1d803a=this[_0x1384d1(0x1d6)][_0x1384d1(0x209)][_0x1384d1(0x1e4)][_0x1384d1(0x1d5)][_0x1384d1(0x201)]();_0x1d803a&&_0x1d803a[_0x1384d1(0x200)](_0x1384d1(0x1e7))&&this[_0x1384d1(0x1d6)][_0x1384d1(0x1e0)][_0x1384d1(0x203)][_0x1384d1(0x1fb)](_0x1384d1(0x1f8),()=>{const _0x3dd70e=_0x1384d1;_0x3dc89e(this[_0x3dd70e(0x1d6)],_0x1d803a);});});const _0x50e63d=this[_0x935b0(0x1d6)][_0x935b0(0x1f9)][_0x935b0(0x1ba)](_0x935b0(0x1bd));_0x50e63d&&this[_0x935b0(0x1f3)](_0x50e63d,_0x935b0(0x206),()=>{const _0xe5d102=_0x935b0,_0x333b68=this[_0xe5d102(0x1d6)][_0xe5d102(0x209)][_0xe5d102(0x1e4)][_0xe5d102(0x1d5)][_0xe5d102(0x201)]();_0x333b68&&_0x333b68[_0xe5d102(0x200)](_0xe5d102(0x1e7))&&this[_0xe5d102(0x1d6)][_0xe5d102(0x1e0)][_0xe5d102(0x203)][_0xe5d102(0x1fb)](_0xe5d102(0x1f8),()=>{const _0x1ef85e=_0xe5d102;_0x3dc89e(this[_0x1ef85e(0x1d6)],_0x333b68);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x188774,ObservableMixin as _0x5283f3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x26fa84}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4d8f99}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4e1a07}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x245784}from'../../utils/uploadutils.js';import{getImageUrls as _0x3e3ae2,getImageDimension as _0x5c94d7}from'../../utils/editingutils.js';import{isAncestor as _0x2e954d}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x5283f3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4b330b,_0x44d521,_0x465b8d){super(),this['_editor']=_0x4b330b,this['_dialog']=_0x44d521,this['_imageElement']=_0x465b8d,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 _0x10be0b=this['_imageElement'],_0x29f3e7=_0x10be0b['getAttribute']('uploadcareImageId'),_0x204580=_0x10be0b['getAttribute']('src');if(_0x29f3e7)await this['_loadImageInfo'](_0x29f3e7,_0x204580);else{if(this['_imageCache']['has'](_0x204580)){const _0x46668e=this['_imageCache']['get'](_0x204580);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46668e['url'],this['imageDimension']=_0x46668e['dimension'],this['imageId']=_0x46668e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x380783}=this['_editor'],t=_0x380783['t'],_0x2d7904=new _0x4e1a07(_0x380783,this['imageStatus'],this['_attributes']);_0x2d7904['bind']('status')['to'](this,'imageStatus'),_0x2d7904['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2d7904['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2d7904['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2d7904,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4d8f99,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2d7904,'position':_0x26fa84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2d7904['focus']();},'onHide':()=>{_0x2d7904['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xa0db2f=>!_0x2e954d(_0xa0db2f,_0x2d7904['element'])}});}['_loadImageInfo'](_0x58e701,_0x5e0e66){return _0x245784['getInfo'](_0x58e701,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xcfbb77=>{const {width:_0x2562f1,height:_0x476f21}=_0xcfbb77['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e0e66,this['imageDimension']={'width':_0x2562f1,'height':_0x476f21},this['imageId']=_0x58e701;})['catch'](_0x2c01ef=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c01ef['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x52416e,_0x3356fe){return this['_getImageAsFile'](_0x52416e)['then'](_0x10ea9e=>_0x245784['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':_0x3356fe['signal'],'file':_0x10ea9e,'onProgress':_0x82e6dd=>{_0x82e6dd&&_0x82e6dd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x82e6dd['value']));}}))['then'](_0x44e1df=>{const {width:_0x5042c6,height:_0x1690b1}=_0x44e1df['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x44e1df['cdnUrl'],this['imageDimension']={'width':_0x5042c6,'height':_0x1690b1},this['imageId']=_0x44e1df['uuid'],this['imageUploadProgress']=null;const _0x23c3d7=_0x52416e['getAttribute']('src');this['_imageCache']['set'](_0x23c3d7,{'id':_0x44e1df['uuid'],'url':_0x44e1df['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4c6fba=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c6fba['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5a8e6e,_0x32510d){_0x5a8e6e['on']('apply',(_0x22483d,_0x5ba4f4)=>{this['_replaceImage'](_0x32510d,_0x5ba4f4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5a8e6e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5a8e6e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x39fcb0,_0x4931a6,_0x119705){const _0x61ed68=this['_editor'],{width:_0x22f41b,height:_0x335c05}=_0x5c94d7(_0x4931a6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x30e6ab,imageSources:_0x5c45b8}=_0x3e3ae2(_0x4931a6,_0x22f41b);_0x61ed68['model']['change'](_0x1aa129=>{if('$graveyard'===_0x39fcb0['root']['rootName']){_0x61ed68['execute']('insertImage',{'imageType':_0x39fcb0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x39fcb0['getAttributes']()),'uploadcareImageId':_0x119705,'src':_0x30e6ab,'sources':_0x5c45b8,'width':_0x22f41b,'height':_0x335c05}});const _0x42b55c=_0x39fcb0['getChildren']();_0x39fcb0=_0x61ed68['model']['document']['selection']['getSelectedElement']();for(const _0xafa8d3 of _0x42b55c)_0x1aa129['append'](_0x1aa129['cloneElement'](_0xafa8d3),_0x39fcb0);}else _0x1aa129['setSelection'](_0x39fcb0,'on'),_0x61ed68['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x39fcb0['getAttributes']()),'uploadcareImageId':_0x119705,'src':_0x30e6ab,'sources':_0x5c45b8,'width':_0x22f41b,'height':_0x335c05},_0x39fcb0);_0x1aa129['setSelection'](_0x39fcb0,'on');});}async['_getImageAsFile'](_0x498c6b){const _0x3df7b1=_0x188774['window'],_0x58581c=_0x188774['document']['location']['href'],_0x241bd3=new _0x3df7b1['URL'](_0x498c6b['getAttribute']('src'),_0x58581c);if('data:'===_0x241bd3['protocol']){const _0x4096af=_0x241bd3['href']['split'](','),_0x2aeba6=_0x4096af[0x0]['match'](/:(.*?);/)[0x1],_0x2b2536=_0x2aeba6['split']('/')[0x1],_0x183482=_0x3df7b1['atob'](_0x4096af[_0x4096af['length']-0x1]);let _0x3ae796=_0x183482['length'];const _0x22312b=new _0x3df7b1['Uint8Array'](_0x3ae796);for(;_0x3ae796--;)_0x22312b[_0x3ae796]=_0x183482['charCodeAt'](_0x3ae796);return new _0x3df7b1['File']([_0x22312b],'image.'+_0x2b2536,{'type':_0x2aeba6});}const _0x6da9ae=_0x241bd3['href']['split']('/'),_0x4b5d36=_0x6da9ae[_0x6da9ae['length']-0x1],_0x198098=_0x4b5d36['split']('.')[0x1];return _0x3df7b1['fetch'](_0x241bd3['href'])['then'](_0x541293=>_0x541293['clone']()['blob']())['then'](_0x167821=>new _0x3df7b1['File']([_0x167821],_0x4b5d36,{'type':'image/'+_0x198098}));}}
23
+ import{global as _0x32fb25,ObservableMixin as _0x371be6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x207331}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e0371}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3a92a4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x45c851}from'../../utils/uploadutils.js';import{getImageUrls as _0x3d2e6c,getImageDimension as _0x1e2e90}from'../../utils/editingutils.js';import{isAncestor as _0x2c3155}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x371be6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x14f095,_0x1b4a46,_0x49c67a){super(),this['_editor']=_0x14f095,this['_dialog']=_0x1b4a46,this['_imageElement']=_0x49c67a,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 _0x3cbbb5=this['_imageElement'],_0x3ced77=_0x3cbbb5['getAttribute']('uploadcareImageId'),_0x226f9a=_0x3cbbb5['getAttribute']('src');if(_0x3ced77)await this['_loadImageInfo'](_0x3ced77,_0x226f9a);else{if(this['_imageCache']['has'](_0x226f9a)){const _0x558291=this['_imageCache']['get'](_0x226f9a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x558291['url'],this['imageDimension']=_0x558291['dimension'],this['imageId']=_0x558291['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x7ba791}=this['_editor'],t=_0x7ba791['t'],_0x39fef1=new _0x3a92a4(_0x7ba791,this['imageStatus'],this['_attributes']);_0x39fef1['bind']('status')['to'](this,'imageStatus'),_0x39fef1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x39fef1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x39fef1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x39fef1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1e0371,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x39fef1,'position':_0x207331['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x39fef1['focus']();},'onHide':()=>{_0x39fef1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5e40b9=>!_0x2c3155(_0x5e40b9,_0x39fef1['element'])}});}['_loadImageInfo'](_0x4dc9fb,_0x29ba6b){return _0x45c851['getInfo'](_0x4dc9fb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5da90e=>{const {width:_0x5cce6b,height:_0x333959}=_0x5da90e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29ba6b,this['imageDimension']={'width':_0x5cce6b,'height':_0x333959},this['imageId']=_0x4dc9fb;})['catch'](_0x119bf5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x119bf5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a0cb5,_0x153df0){return this['_getImageAsFile'](_0x4a0cb5)['then'](_0x34bfdc=>_0x45c851['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':_0x153df0['signal'],'file':_0x34bfdc,'onProgress':_0x2050f2=>{_0x2050f2&&_0x2050f2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2050f2['value']));}}))['then'](_0x389535=>{const {width:_0x41c332,height:_0x189c10}=_0x389535['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x389535['cdnUrl'],this['imageDimension']={'width':_0x41c332,'height':_0x189c10},this['imageId']=_0x389535['uuid'],this['imageUploadProgress']=null;const _0x4dd7ea=_0x4a0cb5['getAttribute']('src');this['_imageCache']['set'](_0x4dd7ea,{'id':_0x389535['uuid'],'url':_0x389535['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x86f381=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x86f381['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x573bf1,_0x2db354){_0x573bf1['on']('apply',(_0x324138,_0xb81915)=>{this['_replaceImage'](_0x2db354,_0xb81915['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x573bf1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x573bf1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4ef9f7,_0x5f5b27,_0xe50524){const _0x4a4433=this['_editor'],{width:_0x1ad33d,height:_0x4b0888}=_0x1e2e90(_0x5f5b27,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x14c248,imageSources:_0x5cc4a7}=_0x3d2e6c(_0x5f5b27,_0x1ad33d);_0x4a4433['model']['change'](_0x5bc7b9=>{if('$graveyard'===_0x4ef9f7['root']['rootName']){_0x4a4433['execute']('insertImage',{'imageType':_0x4ef9f7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4ef9f7['getAttributes']()),'uploadcareImageId':_0xe50524,'src':_0x14c248,'sources':_0x5cc4a7,'width':_0x1ad33d,'height':_0x4b0888}});const _0x276ed2=_0x4ef9f7['getChildren']();_0x4ef9f7=_0x4a4433['model']['document']['selection']['getSelectedElement']();for(const _0x37e5e8 of _0x276ed2)_0x5bc7b9['append'](_0x5bc7b9['cloneElement'](_0x37e5e8),_0x4ef9f7);}else _0x5bc7b9['setSelection'](_0x4ef9f7,'on'),_0x4a4433['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4ef9f7['getAttributes']()),'uploadcareImageId':_0xe50524,'src':_0x14c248,'sources':_0x5cc4a7,'width':_0x1ad33d,'height':_0x4b0888},_0x4ef9f7);_0x5bc7b9['setSelection'](_0x4ef9f7,'on');});}async['_getImageAsFile'](_0x1912b3){const _0x5ac4d7=_0x32fb25['window'],_0x198536=_0x32fb25['document']['location']['href'],_0x5c3b91=new _0x5ac4d7['URL'](_0x1912b3['getAttribute']('src'),_0x198536);if('data:'===_0x5c3b91['protocol']){const _0x577df5=_0x5c3b91['href']['split'](','),_0x2fe67a=_0x577df5[0x0]['match'](/:(.*?);/)[0x1],_0xa8bd1c=_0x2fe67a['split']('/')[0x1],_0x192320=_0x5ac4d7['atob'](_0x577df5[_0x577df5['length']-0x1]);let _0x5ad73d=_0x192320['length'];const _0x367011=new _0x5ac4d7['Uint8Array'](_0x5ad73d);for(;_0x5ad73d--;)_0x367011[_0x5ad73d]=_0x192320['charCodeAt'](_0x5ad73d);return new _0x5ac4d7['File']([_0x367011],'image.'+_0xa8bd1c,{'type':_0x2fe67a});}const _0x4f9644=_0x5c3b91['href']['split']('/'),_0x46d442=_0x4f9644[_0x4f9644['length']-0x1],_0x4b3e35=_0x46d442['split']('.')[0x1];return _0x5ac4d7['fetch'](_0x5c3b91['href'])['then'](_0x2dc642=>_0x2dc642['clone']()['blob']())['then'](_0x19681e=>new _0x5ac4d7['File']([_0x19681e],_0x46d442,{'type':'image/'+_0x4b3e35}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4d01eb,_0x2c83e8){const _0x16cd08=_0x7a64,_0x6316c1=_0x4d01eb();while(!![]){try{const _0x5b5dbd=-parseInt(_0x16cd08(0x127))/0x1*(-parseInt(_0x16cd08(0x120))/0x2)+-parseInt(_0x16cd08(0x115))/0x3*(-parseInt(_0x16cd08(0x114))/0x4)+-parseInt(_0x16cd08(0x117))/0x5*(parseInt(_0x16cd08(0x11b))/0x6)+parseInt(_0x16cd08(0x116))/0x7+-parseInt(_0x16cd08(0x125))/0x8*(-parseInt(_0x16cd08(0x122))/0x9)+-parseInt(_0x16cd08(0x11a))/0xa*(-parseInt(_0x16cd08(0x119))/0xb)+-parseInt(_0x16cd08(0x11d))/0xc;if(_0x5b5dbd===_0x2c83e8)break;else _0x6316c1['push'](_0x6316c1['shift']());}catch(_0x19d9b9){_0x6316c1['push'](_0x6316c1['shift']());}}}(_0x4d74,0x3d101));import{View as _0x2f0053}from'ckeditor5/src/ui.js';function _0x4d74(){const _0x577fd3=['uc-light','522XxXAUT','bindTemplate','uc-cloud-image-editor','67928TobwUa','set','185764pkVciV','3176WaRMIA','801FkUsyY','2884749rrSPYO','46030QlNEYL','imageSrc','678040kFmsAM','50FuDhYB','258QcHATH','ck-uploadcare-theme','11574912YKpZeP','image-edit','setTemplate','2DFQPIL'];_0x4d74=function(){return _0x577fd3;};return _0x4d74();}function _0x7a64(_0x464aca,_0xda612f){const _0x4d744e=_0x4d74();return _0x7a64=function(_0x7a6419,_0x5820b2){_0x7a6419=_0x7a6419-0x114;let _0x3f5a20=_0x4d744e[_0x7a6419];return _0x3f5a20;},_0x7a64(_0x464aca,_0xda612f);}export class UploadcareImageEditFormEditingView extends _0x2f0053{constructor(_0x51081f,_0x145c15){const _0x279f8b=_0x7a64;super(_0x51081f);const _0xf5fe53=this[_0x279f8b(0x123)];this[_0x279f8b(0x126)](_0x279f8b(0x118),''),this[_0x279f8b(0x11f)]({'tag':_0x279f8b(0x124),'attributes':{..._0x145c15,'class':[_0x279f8b(0x121),_0x279f8b(0x11c)],'ctx-name':_0x279f8b(0x11e),'cdn-url':_0xf5fe53['to'](_0x279f8b(0x118))}});}}
23
+ function _0x4bed(){const _0x298837=['uc-light','8083350zxOjRl','3323386hzGodH','image-edit','1260262vChyqX','8vDLtCr','ck-uploadcare-theme','imageSrc','1132611QLCEbv','setTemplate','585784PEcNYi','uc-cloud-image-editor','bindTemplate','set','4299148PDEJLE','965100DPkvON'];_0x4bed=function(){return _0x298837;};return _0x4bed();}(function(_0xc376be,_0x56cb6c){const _0x940984=_0x5603,_0x483ca6=_0xc376be();while(!![]){try{const _0x582a07=parseInt(_0x940984(0xf6))/0x1+-parseInt(_0x940984(0xf4))/0x2+-parseInt(_0x940984(0xfa))/0x3*(-parseInt(_0x940984(0xf7))/0x4)+-parseInt(_0x940984(0xf1))/0x5+parseInt(_0x940984(0xf3))/0x6+-parseInt(_0x940984(0xf0))/0x7+parseInt(_0x940984(0xec))/0x8;if(_0x582a07===_0x56cb6c)break;else _0x483ca6['push'](_0x483ca6['shift']());}catch(_0x12c2dd){_0x483ca6['push'](_0x483ca6['shift']());}}}(_0x4bed,0xec0fb));function _0x5603(_0x4748ea,_0x3b4363){const _0x4bed19=_0x4bed();return _0x5603=function(_0x5603aa,_0x829ff6){_0x5603aa=_0x5603aa-0xeb;let _0x446cfd=_0x4bed19[_0x5603aa];return _0x446cfd;},_0x5603(_0x4748ea,_0x3b4363);}import{View as _0x5b6d8c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5b6d8c{constructor(_0x21750a,_0x52eea1){const _0x118090=_0x5603;super(_0x21750a);const _0x4f60a5=this[_0x118090(0xee)];this[_0x118090(0xef)](_0x118090(0xf9),''),this[_0x118090(0xeb)]({'tag':_0x118090(0xed),'attributes':{..._0x52eea1,'class':[_0x118090(0xf2),_0x118090(0xf8)],'ctx-name':_0x118090(0xf5),'cdn-url':_0x4f60a5['to'](_0x118090(0xf9))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x116873}from'ckeditor5/src/icons.js';import{ButtonView as _0x1aa598,IconView as _0x88ed28,View as _0x2ca174}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2ca174{constructor(_0x4bb7d7){super(_0x4bb7d7);const t=_0x4bb7d7['t'];this['set']('errorType',null);const _0x40c00e=new _0x1aa598(_0x4bb7d7);_0x40c00e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x40c00e['withText']=!0x0,_0x40c00e['class']='ck-button-action',_0x40c00e['on']('execute',()=>{this['fire']('retry');}),_0x40c00e['bind']('isVisible')['to'](this,'errorType',_0x37def7=>'NotFound'!==_0x37def7);const _0x12aeda=new _0x88ed28();_0x12aeda['content']=_0x116873,_0x12aeda['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4a72d3=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':[_0x12aeda,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4a72d3['to']('errorType',_0x14275b=>t('NotFound'!==_0x14275b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x40c00e]},{'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 _0x335774}from'ckeditor5/src/icons.js';import{ButtonView as _0x8b7b86,IconView as _0x4ffb50,View as _0x42b7c0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x42b7c0{constructor(_0x2cb157){super(_0x2cb157);const t=_0x2cb157['t'];this['set']('errorType',null);const _0xc7b4a4=new _0x8b7b86(_0x2cb157);_0xc7b4a4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xc7b4a4['withText']=!0x0,_0xc7b4a4['class']='ck-button-action',_0xc7b4a4['on']('execute',()=>{this['fire']('retry');}),_0xc7b4a4['bind']('isVisible')['to'](this,'errorType',_0x3842e1=>'NotFound'!==_0x3842e1);const _0x373fdc=new _0x4ffb50();_0x373fdc['content']=_0x335774,_0x373fdc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x56d34a=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':[_0x373fdc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x56d34a['to']('errorType',_0x5e5994=>t('NotFound'!==_0x5e5994?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xc7b4a4]},{'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 _0x19972a,View as _0x37dc1f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x37dc1f{constructor(_0x3c1c46){super(_0x3c1c46);const t=_0x3c1c46['t'],_0x338184=this['bindTemplate'],_0x6fd7c1=new _0x19972a();_0x6fd7c1['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':[_0x6fd7c1,{'text':_0x338184['to']('imageUploadProgress',_0xf79c57=>t('Loading\x20image...')+'\x20('+(_0xf79c57||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 _0x4be45e,View as _0x3041c9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3041c9{constructor(_0x53aed8){super(_0x53aed8);const t=_0x53aed8['t'],_0x37fd5d=this['bindTemplate'],_0x19ce0a=new _0x4be45e();_0x19ce0a['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':[_0x19ce0a,{'text':_0x37fd5d['to']('imageUploadProgress',_0x2010b5=>t('Loading\x20image...')+'\x20('+(_0x2010b5||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 _0x3a61be=_0x334a;(function(_0x3339a0,_0x71dbcc){const _0xc7469b=_0x334a,_0x124bc0=_0x3339a0();while(!![]){try{const _0x5034eb=-parseInt(_0xc7469b(0xf5))/0x1+parseInt(_0xc7469b(0xdf))/0x2*(parseInt(_0xc7469b(0xf0))/0x3)+parseInt(_0xc7469b(0xec))/0x4+-parseInt(_0xc7469b(0xfa))/0x5*(-parseInt(_0xc7469b(0xef))/0x6)+-parseInt(_0xc7469b(0xee))/0x7*(parseInt(_0xc7469b(0x102))/0x8)+parseInt(_0xc7469b(0x110))/0x9*(parseInt(_0xc7469b(0xf3))/0xa)+parseInt(_0xc7469b(0xfc))/0xb*(-parseInt(_0xc7469b(0xf9))/0xc);if(_0x5034eb===_0x71dbcc)break;else _0x124bc0['push'](_0x124bc0['shift']());}catch(_0x12d293){_0x124bc0['push'](_0x124bc0['shift']());}}}(_0x5b49,0xd0391));import{View as _0x6117c6}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3ed089}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2b3ea0}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5dc8d0}from'./uploadcareimageeditformeditingview.js';function _0x5b49(){const _0x235029=['838448olzRrw','add','retry','clear','8215044qejtNF','2853805vUWDOi','ck-reset_all-excluded','22kYmgNq','_addUploadcareImageEditorListeners','status','_waitForImageEditorComponent','toLowerCase','addMany','1037592AkKCEl','_editingView','change:status','addedNodes','setTemplate','_items','_addErrorViewListeners','_setView','length','querySelector','_focusableView','div','filter','getFocusableElement','1548laHZMC','error','_loadingView','detail','nodeName','fire','ready','set','2340382qlykej','ck-uploadcare-form','uc-cloud-image-editor','cancel','target','render','disconnect','cdnUrl','createCollection','addEventListener','observe','focus','once','6633696QjETOj','uploading','21WoQwAC','6ueXfEQ','3teszhT','apply','element','2920dgRUuU','_errorView'];_0x5b49=function(){return _0x235029;};return _0x5b49();}import{DialogFocusManagerView as _0x5a454a}from'../../utils/dialogfocusmanagerview.js';function _0x334a(_0x26c508,_0x211923){const _0x5b491f=_0x5b49();return _0x334a=function(_0x334a77,_0x1a7edc){_0x334a77=_0x334a77-0xd8;let _0x1d9fe0=_0x5b491f[_0x334a77];return _0x1d9fe0;},_0x334a(_0x26c508,_0x211923);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5a454a{[_0x3a61be(0x107)];[_0x3a61be(0xd9)];[_0x3a61be(0xf4)];[_0x3a61be(0x103)];[_0x3a61be(0x10c)];constructor(_0x1b184d,_0x2e81a6,_0x3d073d){const _0x7ca1cd=_0x3a61be;super(_0x1b184d),this[_0x7ca1cd(0x107)]=this[_0x7ca1cd(0xe7)](),this[_0x7ca1cd(0xd9)]=new _0x3ed089(_0x1b184d),this[_0x7ca1cd(0xf4)]=new _0x2b3ea0(_0x1b184d),this[_0x7ca1cd(0x103)]=new _0x5dc8d0(_0x1b184d,_0x3d073d),this[_0x7ca1cd(0x10c)]=new _0x6117c6(_0x1b184d),this[_0x7ca1cd(0x10c)][_0x7ca1cd(0x106)](this[_0x7ca1cd(0x10f)]()),this[_0x7ca1cd(0xde)](_0x7ca1cd(0xfe),_0x2e81a6),this[_0x7ca1cd(0x106)]({'tag':_0x7ca1cd(0x10d),'attributes':{'class':['ck',_0x7ca1cd(0xfb),_0x7ca1cd(0xe0)],'tabindex':'-1'},'children':this[_0x7ca1cd(0x107)]}),this[_0x7ca1cd(0x109)](),this[_0x7ca1cd(0xeb)](_0x7ca1cd(0xe4),()=>{const _0x497362=_0x7ca1cd;this[_0x497362(0xff)](this[_0x497362(0xf2)],_0x4c657d=>{const _0xb0729b=_0x497362;this[_0xb0729b(0xfd)](_0x4c657d);});}),this['on'](_0x7ca1cd(0x104),()=>{const _0x53956a=_0x7ca1cd;this[_0x53956a(0x109)]();}),this[_0x7ca1cd(0x108)]();}[_0x3a61be(0xea)](){const _0x3849a6=_0x3a61be;this[_0x3849a6(0xf2)][_0x3849a6(0xea)]();}[_0x3a61be(0x109)](){const _0x440104=_0x3a61be;switch(this[_0x440104(0x107)][_0x440104(0xf8)](),this[_0x440104(0xfe)]){case _0x440104(0xed):this[_0x440104(0x107)][_0x440104(0xf6)](this[_0x440104(0xd9)]);break;case _0x440104(0xd8):this[_0x440104(0x107)][_0x440104(0xf6)](this[_0x440104(0xf4)]);break;case _0x440104(0xdd):this[_0x440104(0x107)][_0x440104(0x101)]([this[_0x440104(0x103)],this[_0x440104(0x10c)]]);}}[_0x3a61be(0xff)](_0x4822f3,_0x32fec4){const _0x4ae5c4=_0x3a61be,_0x489342=_0x4ae5c4(0xe1),_0xc8dcf7=_0x4822f3[_0x4ae5c4(0x10b)](_0x489342);if(_0xc8dcf7)return _0x32fec4(_0xc8dcf7);const _0x1865b7=new MutationObserver(_0xac5a53=>{const _0x497963=_0x4ae5c4,_0x578134=_0xac5a53[_0x497963(0x10e)](_0x1ab2d0=>_0x1ab2d0[_0x497963(0xe3)]===_0x4822f3&&_0x1ab2d0[_0x497963(0x105)][_0x497963(0x10a)]>0x0&&_0x1ab2d0[_0x497963(0x105)][0x0][_0x497963(0xdb)][_0x497963(0x100)]()===_0x489342);_0x578134[_0x497963(0x10a)]&&(_0x1865b7[_0x497963(0xe5)](),_0x32fec4(_0x578134[0x0][_0x497963(0x105)][0x0]));});_0x1865b7[_0x4ae5c4(0xe9)](_0x4822f3,{'childList':!0x0,'subtree':!0x0});}[_0x3a61be(0xfd)](_0x1cd043){const _0x5212ea=_0x3a61be;_0x1cd043[_0x5212ea(0xe8)](_0x5212ea(0xf1),_0x1d36ac=>{const _0x188e76=_0x5212ea;this[_0x188e76(0xdc)](_0x188e76(0xf1),{'imageSrc':_0x1d36ac[_0x188e76(0xda)][_0x188e76(0xe6)]});}),_0x1cd043[_0x5212ea(0xe8)](_0x5212ea(0xe2),()=>{const _0x13fbf2=_0x5212ea;this[_0x13fbf2(0xdc)](_0x13fbf2(0xe2));});}[_0x3a61be(0x108)](){const _0x3bac9d=_0x3a61be;this[_0x3bac9d(0xf4)]['on'](_0x3bac9d(0xf7),()=>{const _0x32255c=_0x3bac9d;this[_0x32255c(0xdc)](_0x32255c(0xf7));});}}
23
+ const _0x2f4a0e=_0x43a9;(function(_0x16b0c2,_0x560bab){const _0x31fdd8=_0x43a9,_0x1d40e2=_0x16b0c2();while(!![]){try{const _0x16d46b=parseInt(_0x31fdd8(0x88))/0x1*(parseInt(_0x31fdd8(0x93))/0x2)+-parseInt(_0x31fdd8(0xb0))/0x3+-parseInt(_0x31fdd8(0x87))/0x4*(parseInt(_0x31fdd8(0xae))/0x5)+parseInt(_0x31fdd8(0xbb))/0x6+parseInt(_0x31fdd8(0x96))/0x7*(parseInt(_0x31fdd8(0x8f))/0x8)+-parseInt(_0x31fdd8(0xb4))/0x9+parseInt(_0x31fdd8(0xb2))/0xa;if(_0x16d46b===_0x560bab)break;else _0x1d40e2['push'](_0x1d40e2['shift']());}catch(_0xf22a4a){_0x1d40e2['push'](_0x1d40e2['shift']());}}}(_0x1fee,0xa0ccd));function _0x1fee(){const _0x580a94=['add','addEventListener','status','ready','30aiTHfT','_errorView','3000432tfRaCh','observe','10894860EIyUvt','change:status','7546545TeosRD','_focusableView','filter','render','once','uploading','fire','74304IlhgFE','cdnUrl','_addUploadcareImageEditorListeners','474288YsBJfO','21339ytWaoc','_setView','set','nodeName','element','focus','addedNodes','1823728SPtgLK','_loadingView','uc-cloud-image-editor','getFocusableElement','112vhmolh','toLowerCase','_items','28MdUoLd','length','target','cancel','ck-reset_all-excluded','_waitForImageEditorComponent','retry','apply','div','addMany','querySelector','detail','ck-uploadcare-form','setTemplate','disconnect','clear','createCollection','_editingView','error','_addErrorViewListeners'];_0x1fee=function(){return _0x580a94;};return _0x1fee();}import{View as _0x5f0a78}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5490e7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4180e4}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a1d76}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3d5258}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x43a9(_0x262db8,_0x5f1791){const _0x1feef6=_0x1fee();return _0x43a9=function(_0x43a921,_0x436489){_0x43a921=_0x43a921-0x86;let _0x5a94d8=_0x1feef6[_0x43a921];return _0x5a94d8;},_0x43a9(_0x262db8,_0x5f1791);}export class UploadcareImageEditFormView extends _0x3d5258{[_0x2f4a0e(0x95)];[_0x2f4a0e(0x90)];[_0x2f4a0e(0xaf)];[_0x2f4a0e(0xa7)];[_0x2f4a0e(0xb5)];constructor(_0x11f355,_0x11f326,_0x5ad52f){const _0x410cb5=_0x2f4a0e;super(_0x11f355),this[_0x410cb5(0x95)]=this[_0x410cb5(0xa6)](),this[_0x410cb5(0x90)]=new _0x5490e7(_0x11f355),this[_0x410cb5(0xaf)]=new _0x4180e4(_0x11f355),this[_0x410cb5(0xa7)]=new _0x3a1d76(_0x11f355,_0x5ad52f),this[_0x410cb5(0xb5)]=new _0x5f0a78(_0x11f355),this[_0x410cb5(0xb5)][_0x410cb5(0xa3)](this[_0x410cb5(0x92)]()),this[_0x410cb5(0x8a)](_0x410cb5(0xac),_0x11f326),this[_0x410cb5(0xa3)]({'tag':_0x410cb5(0x9e),'attributes':{'class':['ck',_0x410cb5(0x9a),_0x410cb5(0xa2)],'tabindex':'-1'},'children':this[_0x410cb5(0x95)]}),this[_0x410cb5(0x89)](),this[_0x410cb5(0xb8)](_0x410cb5(0xb7),()=>{const _0x3ae300=_0x410cb5;this[_0x3ae300(0x9b)](this[_0x3ae300(0x8c)],_0x5a10d5=>{const _0x21492d=_0x3ae300;this[_0x21492d(0x86)](_0x5a10d5);});}),this['on'](_0x410cb5(0xb3),()=>{const _0x5bef14=_0x410cb5;this[_0x5bef14(0x89)]();}),this[_0x410cb5(0xa9)]();}[_0x2f4a0e(0x8d)](){const _0x5b5e25=_0x2f4a0e;this[_0x5b5e25(0x8c)][_0x5b5e25(0x8d)]();}[_0x2f4a0e(0x89)](){const _0x40bdee=_0x2f4a0e;switch(this[_0x40bdee(0x95)][_0x40bdee(0xa5)](),this[_0x40bdee(0xac)]){case _0x40bdee(0xb9):this[_0x40bdee(0x95)][_0x40bdee(0xaa)](this[_0x40bdee(0x90)]);break;case _0x40bdee(0xa8):this[_0x40bdee(0x95)][_0x40bdee(0xaa)](this[_0x40bdee(0xaf)]);break;case _0x40bdee(0xad):this[_0x40bdee(0x95)][_0x40bdee(0x9f)]([this[_0x40bdee(0xa7)],this[_0x40bdee(0xb5)]]);}}[_0x2f4a0e(0x9b)](_0x4b5095,_0x357b25){const _0x5d84cf=_0x2f4a0e,_0x53bb81=_0x5d84cf(0x91),_0x224631=_0x4b5095[_0x5d84cf(0xa0)](_0x53bb81);if(_0x224631)return _0x357b25(_0x224631);const _0x5515a7=new MutationObserver(_0x5babe4=>{const _0x125eb2=_0x5d84cf,_0x290c3a=_0x5babe4[_0x125eb2(0xb6)](_0x4ac3f1=>_0x4ac3f1[_0x125eb2(0x98)]===_0x4b5095&&_0x4ac3f1[_0x125eb2(0x8e)][_0x125eb2(0x97)]>0x0&&_0x4ac3f1[_0x125eb2(0x8e)][0x0][_0x125eb2(0x8b)][_0x125eb2(0x94)]()===_0x53bb81);_0x290c3a[_0x125eb2(0x97)]&&(_0x5515a7[_0x125eb2(0xa4)](),_0x357b25(_0x290c3a[0x0][_0x125eb2(0x8e)][0x0]));});_0x5515a7[_0x5d84cf(0xb1)](_0x4b5095,{'childList':!0x0,'subtree':!0x0});}[_0x2f4a0e(0x86)](_0x161800){const _0x21710b=_0x2f4a0e;_0x161800[_0x21710b(0xab)](_0x21710b(0x9d),_0x347922=>{const _0x127274=_0x21710b;this[_0x127274(0xba)](_0x127274(0x9d),{'imageSrc':_0x347922[_0x127274(0xa1)][_0x127274(0xbc)]});}),_0x161800[_0x21710b(0xab)](_0x21710b(0x99),()=>{const _0x22b30c=_0x21710b;this[_0x22b30c(0xba)](_0x22b30c(0x99));});}[_0x2f4a0e(0xa9)](){const _0x1a5ef7=_0x2f4a0e;this[_0x1a5ef7(0xaf)]['on'](_0x1a5ef7(0x9c),()=>{const _0x2a57e5=_0x1a5ef7;this[_0x2a57e5(0xba)](_0x2a57e5(0x9c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e3bd4=_0x11f6;(function(_0x4b821c,_0x3f040e){const _0x51f0d4=_0x11f6,_0x504144=_0x4b821c();while(!![]){try{const _0x1fa500=-parseInt(_0x51f0d4(0xd1))/0x1*(-parseInt(_0x51f0d4(0xca))/0x2)+parseInt(_0x51f0d4(0xcc))/0x3+-parseInt(_0x51f0d4(0xc1))/0x4+-parseInt(_0x51f0d4(0xcf))/0x5*(-parseInt(_0x51f0d4(0xdb))/0x6)+-parseInt(_0x51f0d4(0xda))/0x7*(parseInt(_0x51f0d4(0xde))/0x8)+-parseInt(_0x51f0d4(0xd8))/0x9*(-parseInt(_0x51f0d4(0xc3))/0xa)+-parseInt(_0x51f0d4(0xd7))/0xb*(parseInt(_0x51f0d4(0xdc))/0xc);if(_0x1fa500===_0x3f040e)break;else _0x504144['push'](_0x504144['shift']());}catch(_0x2fed9e){_0x504144['push'](_0x504144['shift']());}}}(_0x4e09,0x8fe87));function _0x4e09(){const _0x1958bb=['848ZSzxah','set','selection','editor','unbind','2218600RvuyjU','requires','60410ywqmQR','execute','document','isEnabled','plugins','refresh','config','48qVxcby','imageInline','1821504cJaKKH','element','bind','2390190WOfVQJ','uploadcare.allowExternalImagesEditing','36093BVOgEU','model','isActive','imageEditController','get','imageBlock','176FYWKZQ','1557GlLHUf','_isEditable','364KKaoqH','12UaDVyq','1743720Tnhwqi','getSelectedElement'];_0x4e09=function(){return _0x1958bb;};return _0x4e09();}import{Command as _0x588fda}from'ckeditor5/src/core.js';function _0x11f6(_0x338f7e,_0x14e2f6){const _0x4e09a7=_0x4e09();return _0x11f6=function(_0x11f661,_0x4caced){_0x11f661=_0x11f661-0xc0;let _0x2d5e=_0x4e09a7[_0x11f661];return _0x2d5e;},_0x11f6(_0x338f7e,_0x14e2f6);}import{Dialog as _0x4adc21}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4ed6a6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x233782}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x588fda{[_0x5e3bd4(0xd4)];static get[_0x5e3bd4(0xc2)](){return[_0x4adc21];}[_0x5e3bd4(0xd9)];constructor(_0xb8d12c){const _0x3d6900=_0x5e3bd4;super(_0xb8d12c),this[_0x3d6900(0xd4)]=void 0x0,this[_0x3d6900(0xd9)]=_0x233782(_0xb8d12c[_0x3d6900(0xc9)][_0x3d6900(0xd5)](_0x3d6900(0xd0))||[]),this[_0x3d6900(0xdf)]({'isActive':!0x1});}[_0x5e3bd4(0xc8)](){const _0x1e4c02=_0x5e3bd4,_0x5cb485=this[_0x1e4c02(0xe1)][_0x1e4c02(0xd2)][_0x1e4c02(0xc5)][_0x1e4c02(0xe0)][_0x1e4c02(0xdd)]();this[_0x1e4c02(0xc6)]=this[_0x1e4c02(0xd9)](_0x5cb485);}[_0x5e3bd4(0xc4)](){const _0x54dc67=_0x5e3bd4;this[_0x54dc67(0xd4)]&&(this[_0x54dc67(0xc0)](_0x54dc67(0xd3)),this[_0x54dc67(0xd4)]=void 0x0);const _0x5c6862=this[_0x54dc67(0xe1)][_0x54dc67(0xd2)][_0x54dc67(0xc5)][_0x54dc67(0xe0)][_0x54dc67(0xdd)]();_0x5c6862&&(_0x5c6862['is'](_0x54dc67(0xcd),_0x54dc67(0xd6))||_0x5c6862['is'](_0x54dc67(0xcd),_0x54dc67(0xcb)))&&(this[_0x54dc67(0xd4)]=new _0x4ed6a6(this[_0x54dc67(0xe1)],this[_0x54dc67(0xe1)][_0x54dc67(0xc7)][_0x54dc67(0xd5)](_0x4adc21),_0x5c6862),this[_0x54dc67(0xce)](_0x54dc67(0xd3))['to'](this[_0x54dc67(0xd4)],_0x54dc67(0xd3)));}}
23
+ const _0xbc3bd3=_0x3d96;(function(_0x3b22d3,_0x2b76b8){const _0x582641=_0x3d96,_0x24b526=_0x3b22d3();while(!![]){try{const _0x112114=parseInt(_0x582641(0x16f))/0x1+parseInt(_0x582641(0x16a))/0x2*(-parseInt(_0x582641(0x174))/0x3)+parseInt(_0x582641(0x171))/0x4*(-parseInt(_0x582641(0x172))/0x5)+-parseInt(_0x582641(0x169))/0x6*(parseInt(_0x582641(0x162))/0x7)+parseInt(_0x582641(0x176))/0x8*(-parseInt(_0x582641(0x160))/0x9)+-parseInt(_0x582641(0x15e))/0xa*(parseInt(_0x582641(0x17e))/0xb)+parseInt(_0x582641(0x170))/0xc;if(_0x112114===_0x2b76b8)break;else _0x24b526['push'](_0x24b526['shift']());}catch(_0x18ce20){_0x24b526['push'](_0x24b526['shift']());}}}(_0x4ac4,0x50c1c));import{Command as _0x2038ff}from'ckeditor5/src/core.js';import{Dialog as _0x473329}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x269562}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x99145e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2038ff{[_0xbc3bd3(0x168)];static get[_0xbc3bd3(0x17d)](){return[_0x473329];}[_0xbc3bd3(0x16c)];constructor(_0x216e49){const _0xbdf00b=_0xbc3bd3;super(_0x216e49),this[_0xbdf00b(0x168)]=void 0x0,this[_0xbdf00b(0x16c)]=_0x99145e(_0x216e49[_0xbdf00b(0x17b)][_0xbdf00b(0x164)](_0xbdf00b(0x166))||[]),this[_0xbdf00b(0x163)]({'isActive':!0x1});}[_0xbc3bd3(0x178)](){const _0x3e932f=_0xbc3bd3,_0x5c7263=this[_0x3e932f(0x17a)][_0x3e932f(0x16d)][_0x3e932f(0x173)][_0x3e932f(0x175)][_0x3e932f(0x167)]();this[_0x3e932f(0x177)]=this[_0x3e932f(0x16c)](_0x5c7263);}[_0xbc3bd3(0x17f)](){const _0x3d142=_0xbc3bd3;this[_0x3d142(0x168)]&&(this[_0x3d142(0x161)](_0x3d142(0x16b)),this[_0x3d142(0x168)]=void 0x0);const _0x51913a=this[_0x3d142(0x17a)][_0x3d142(0x16d)][_0x3d142(0x173)][_0x3d142(0x175)][_0x3d142(0x167)]();_0x51913a&&(_0x51913a['is'](_0x3d142(0x16e),_0x3d142(0x15f))||_0x51913a['is'](_0x3d142(0x16e),_0x3d142(0x165)))&&(this[_0x3d142(0x168)]=new _0x269562(this[_0x3d142(0x17a)],this[_0x3d142(0x17a)][_0x3d142(0x17c)][_0x3d142(0x164)](_0x473329),_0x51913a),this[_0x3d142(0x179)](_0x3d142(0x16b))['to'](this[_0x3d142(0x168)],_0x3d142(0x16b)));}}function _0x3d96(_0x1062b5,_0x48d254){const _0x4ac490=_0x4ac4();return _0x3d96=function(_0x3d96bc,_0x1dd294){_0x3d96bc=_0x3d96bc-0x15e;let _0x3a9b68=_0x4ac490[_0x3d96bc];return _0x3a9b68;},_0x3d96(_0x1062b5,_0x48d254);}function _0x4ac4(){const _0xace8d9=['refresh','bind','editor','config','plugins','requires','957qdlIdI','execute','46580vPADvL','imageBlock','1824318ZkfFtk','unbind','7dwiMiL','set','get','imageInline','uploadcare.allowExternalImagesEditing','getSelectedElement','imageEditController','1744602eNJFcq','407254MdiaNQ','isActive','_isEditable','model','element','423099AyJfRi','19586136BzrHoe','4kerOUj','1074505nUzsFu','document','9dXRSeh','selection','8icEXxg','isEnabled'];_0x4ac4=function(){return _0xace8d9;};return _0x4ac4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x57da(_0x712c33,_0x84ca4f){const _0xda0e9c=_0xda0e();return _0x57da=function(_0x57dabd,_0x5e9937){_0x57dabd=_0x57dabd-0x14f;let _0x42e8a5=_0xda0e9c[_0x57dabd];return _0x42e8a5;},_0x57da(_0x712c33,_0x84ca4f);}const _0x547a20=_0x57da;(function(_0x3cd8c3,_0x1b5307){const _0x358e84=_0x57da,_0x59ad4b=_0x3cd8c3();while(!![]){try{const _0x16928e=-parseInt(_0x358e84(0x155))/0x1+-parseInt(_0x358e84(0x15d))/0x2+-parseInt(_0x358e84(0x161))/0x3*(-parseInt(_0x358e84(0x156))/0x4)+parseInt(_0x358e84(0x14f))/0x5+parseInt(_0x358e84(0x15f))/0x6+-parseInt(_0x358e84(0x162))/0x7*(parseInt(_0x358e84(0x15a))/0x8)+parseInt(_0x358e84(0x150))/0x9*(parseInt(_0x358e84(0x153))/0xa);if(_0x16928e===_0x1b5307)break;else _0x59ad4b['push'](_0x59ad4b['shift']());}catch(_0x597916){_0x59ad4b['push'](_0x59ad4b['shift']());}}}(_0xda0e,0xde77c));import{Plugin as _0x1cab19}from'ckeditor5/src/core.js';import{Notification as _0x12aaa1}from'ckeditor5/src/ui.js';function _0xda0e(){const _0x363cd5=['uploadcareImageEdit','1454290WsUGAM','add','3625440aUiBXk','ImageUtils','9yovPDS','236201kWQcub','uploadcareImageReplace','requires','698010kWTefW','9NSTqWj','init','ImageEditing','29226590Kkyqaj','isOfficialPlugin','970140YODGZh','793892gCbSHL','pluginName','commands','isPremiumPlugin','392POFSBU','UploadcareImageEditEditing'];_0xda0e=function(){return _0x363cd5;};return _0xda0e();}import{UploadcareImageEditCommand as _0x39adf0}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x33f2bb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4cd3be}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1cab19{static get[_0x547a20(0x157)](){const _0x40dc22=_0x547a20;return _0x40dc22(0x15b);}static get[_0x547a20(0x164)](){const _0x2a6b92=_0x547a20;return[_0x4cd3be,_0x12aaa1,_0x2a6b92(0x160),_0x2a6b92(0x152)];}static get[_0x547a20(0x154)](){return!0x0;}static get[_0x547a20(0x159)](){return!0x0;}[_0x547a20(0x151)](){const _0x5bbdc2=_0x547a20,{editor:_0x1ac4e7}=this;_0x1ac4e7[_0x5bbdc2(0x158)][_0x5bbdc2(0x15e)](_0x5bbdc2(0x15c),new _0x39adf0(_0x1ac4e7)),_0x1ac4e7[_0x5bbdc2(0x158)][_0x5bbdc2(0x15e)](_0x5bbdc2(0x163),new _0x33f2bb(_0x1ac4e7));}}
23
+ const _0x2244de=_0x345b;(function(_0x9ebd5c,_0x1a1d4a){const _0x54f223=_0x345b,_0x374d06=_0x9ebd5c();while(!![]){try{const _0x4d8522=parseInt(_0x54f223(0xd6))/0x1*(parseInt(_0x54f223(0xd0))/0x2)+parseInt(_0x54f223(0xcd))/0x3*(parseInt(_0x54f223(0xd2))/0x4)+parseInt(_0x54f223(0xc4))/0x5*(-parseInt(_0x54f223(0xcb))/0x6)+parseInt(_0x54f223(0xd5))/0x7*(-parseInt(_0x54f223(0xce))/0x8)+parseInt(_0x54f223(0xcf))/0x9+-parseInt(_0x54f223(0xc6))/0xa*(-parseInt(_0x54f223(0xc2))/0xb)+-parseInt(_0x54f223(0xc1))/0xc*(parseInt(_0x54f223(0xc7))/0xd);if(_0x4d8522===_0x1a1d4a)break;else _0x374d06['push'](_0x374d06['shift']());}catch(_0x247572){_0x374d06['push'](_0x374d06['shift']());}}}(_0x166c,0x7adb9));import{Plugin as _0x3a955d}from'ckeditor5/src/core.js';import{Notification as _0x3640b3}from'ckeditor5/src/ui.js';function _0x345b(_0x3d05f3,_0xbeb961){const _0x166cf4=_0x166c();return _0x345b=function(_0x345b7e,_0x55c934){_0x345b7e=_0x345b7e-0xc1;let _0x1141aa=_0x166cf4[_0x345b7e];return _0x1141aa;},_0x345b(_0x3d05f3,_0xbeb961);}import{UploadcareImageEditCommand as _0xb11f72}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f209d}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5242cc}from'../uploadcareediting.js';function _0x166c(){const _0x2bb88f=['728895PXDDsb','add','420170ankSsU','91EJOVFt','ImageEditing','pluginName','uploadcareImageReplace','12qiqQrZ','init','354174mIOjFU','368LufFoH','1815786LdvoCq','12202MZsUsJ','ImageUtils','24bsmWoo','UploadcareImageEditEditing','requires','111811VyremA','134DCvBWA','isOfficialPlugin','commands','uploadcareImageEdit','627708Wodbhn','44pYakjW','isPremiumPlugin'];_0x166c=function(){return _0x2bb88f;};return _0x166c();}export class UploadcareImageEditEditing extends _0x3a955d{static get[_0x2244de(0xc9)](){const _0x24f155=_0x2244de;return _0x24f155(0xd3);}static get[_0x2244de(0xd4)](){const _0x384bb3=_0x2244de;return[_0x5242cc,_0x3640b3,_0x384bb3(0xd1),_0x384bb3(0xc8)];}static get[_0x2244de(0xd7)](){return!0x0;}static get[_0x2244de(0xc3)](){return!0x0;}[_0x2244de(0xcc)](){const _0x29572a=_0x2244de,{editor:_0x4f2c13}=this;_0x4f2c13[_0x29572a(0xd8)][_0x29572a(0xc5)](_0x29572a(0xd9),new _0xb11f72(_0x4f2c13)),_0x4f2c13[_0x29572a(0xd8)][_0x29572a(0xc5)](_0x29572a(0xca),new _0x2f209d(_0x4f2c13));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a4a76}from'ckeditor5/src/core.js';import{ButtonView as _0x2a6374}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x38b9a0}from'ckeditor5/src/icons.js';import{createElement as _0x5cb621}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 _0x5a4a76{['_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 _0x3055d0=this['editor'];_0x3055d0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a04fd=>{const _0x2ebaa5=_0x3055d0['commands']['get']('uploadcareImageEdit'),_0x26ef46=new _0x2a6374(_0x3a04fd),t=_0x3a04fd['t'];return _0x26ef46['set']({'icon':_0x38b9a0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26ef46['bind']('isEnabled')['to'](_0x2ebaa5),_0x26ef46['bind']('isOn')['to'](_0x2ebaa5,'isActive'),this['listenTo'](_0x26ef46,'execute',()=>{_0x3055d0['execute']('uploadcareImageEdit'),_0x3055d0['editing']['view']['focus']();}),_0x26ef46;}),this['_initConfig']();}['_initConfig'](){const _0x2a0ac9=_0x5cb621(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2a0ac9),this['listenTo'](this['editor'],'destroy',()=>{_0x2a0ac9['remove']();});}}
23
+ import{Plugin as _0x236928}from'ckeditor5/src/core.js';import{ButtonView as _0xdbe52c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x330b5b}from'ckeditor5/src/icons.js';import{createElement as _0x1ced73}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 _0x236928{['_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 _0x41d4ac=this['editor'];_0x41d4ac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3f15a8=>{const _0x518ba0=_0x41d4ac['commands']['get']('uploadcareImageEdit'),_0x47ad72=new _0xdbe52c(_0x3f15a8),t=_0x3f15a8['t'];return _0x47ad72['set']({'icon':_0x330b5b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x47ad72['bind']('isEnabled')['to'](_0x518ba0),_0x47ad72['bind']('isOn')['to'](_0x518ba0,'isActive'),this['listenTo'](_0x47ad72,'execute',()=>{_0x41d4ac['execute']('uploadcareImageEdit'),_0x41d4ac['editing']['view']['focus']();}),_0x47ad72;}),this['_initConfig']();}['_initConfig'](){const _0x5aa0ca=_0x1ced73(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5aa0ca),this['listenTo'](this['editor'],'destroy',()=>{_0x5aa0ca['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6316(){const _0x1d1add=['545812tkSnuN','removeAttribute','srcset','selection','4795273qWooVJ','451864rxTJmK','execute','474widkpe','setAttributes','sizes','change','model','22375KRJIEL','isEnabled','390886gcfdpl','editor','element','5448864EScWPk','getSelectedElement','document','refresh','imageBlock','imageInline','1905030vZfXZw','3ptWggi'];_0x6316=function(){return _0x1d1add;};return _0x6316();}const _0x17b655=_0x3a3a;(function(_0x16d3f8,_0xd8e464){const _0xd0d242=_0x3a3a,_0x4fd48d=_0x16d3f8();while(!![]){try{const _0x4659db=parseInt(_0xd0d242(0x194))/0x1+parseInt(_0xd0d242(0x19f))/0x2+-parseInt(_0xd0d242(0x19e))/0x3*(parseInt(_0xd0d242(0x1a4))/0x4)+parseInt(_0xd0d242(0x192))/0x5*(-parseInt(_0xd0d242(0x18d))/0x6)+parseInt(_0xd0d242(0x1a3))/0x7+-parseInt(_0xd0d242(0x197))/0x8+parseInt(_0xd0d242(0x19d))/0x9;if(_0x4659db===_0xd8e464)break;else _0x4fd48d['push'](_0x4fd48d['shift']());}catch(_0x2182c9){_0x4fd48d['push'](_0x4fd48d['shift']());}}}(_0x6316,0x64ce6));import{Command as _0x3b8f75}from'ckeditor5/src/core.js';function _0x3a3a(_0x337adb,_0x4d55f8){const _0x631672=_0x6316();return _0x3a3a=function(_0x3a3a80,_0x6bd96c){_0x3a3a80=_0x3a3a80-0x18c;let _0x273641=_0x631672[_0x3a3a80];return _0x273641;},_0x3a3a(_0x337adb,_0x4d55f8);}export class UploadcareImageReplaceCommand extends _0x3b8f75{[_0x17b655(0x19a)](){const _0x5b0553=_0x17b655,_0x22b4ec=this[_0x5b0553(0x195)][_0x5b0553(0x191)][_0x5b0553(0x199)][_0x5b0553(0x1a2)][_0x5b0553(0x198)]();this[_0x5b0553(0x193)]=Boolean(_0x22b4ec&&(_0x22b4ec['is'](_0x5b0553(0x196),_0x5b0553(0x19b))||_0x22b4ec['is'](_0x5b0553(0x196),_0x5b0553(0x19c))));}[_0x17b655(0x18c)](_0x518c03){const _0x1ad827=_0x17b655,_0x333aa7=this[_0x1ad827(0x195)][_0x1ad827(0x191)][_0x1ad827(0x199)][_0x1ad827(0x1a2)][_0x1ad827(0x198)]();this[_0x1ad827(0x195)][_0x1ad827(0x191)][_0x1ad827(0x190)](_0x309545=>{const _0x2b9605=_0x1ad827;_0x309545[_0x2b9605(0x18e)](_0x518c03,_0x333aa7),_0x309545[_0x2b9605(0x1a0)](_0x2b9605(0x1a1),_0x333aa7),_0x309545[_0x2b9605(0x1a0)](_0x2b9605(0x18f),_0x333aa7);});}}
23
+ function _0x4726(_0xf2aaca,_0x2d20b2){const _0x4a7c98=_0x4a7c();return _0x4726=function(_0x4726a2,_0x1f5355){_0x4726a2=_0x4726a2-0x1bb;let _0x3fab31=_0x4a7c98[_0x4726a2];return _0x3fab31;},_0x4726(_0xf2aaca,_0x2d20b2);}const _0x205fd6=_0x4726;(function(_0x50829a,_0x42ae7c){const _0x544a49=_0x4726,_0x2b90eb=_0x50829a();while(!![]){try{const _0x22e09f=-parseInt(_0x544a49(0x1c8))/0x1*(-parseInt(_0x544a49(0x1cc))/0x2)+parseInt(_0x544a49(0x1cb))/0x3*(parseInt(_0x544a49(0x1ce))/0x4)+parseInt(_0x544a49(0x1cf))/0x5*(parseInt(_0x544a49(0x1ca))/0x6)+parseInt(_0x544a49(0x1c5))/0x7*(-parseInt(_0x544a49(0x1c0))/0x8)+parseInt(_0x544a49(0x1d6))/0x9*(parseInt(_0x544a49(0x1c1))/0xa)+parseInt(_0x544a49(0x1d8))/0xb*(-parseInt(_0x544a49(0x1d4))/0xc)+parseInt(_0x544a49(0x1bd))/0xd*(-parseInt(_0x544a49(0x1c3))/0xe);if(_0x22e09f===_0x42ae7c)break;else _0x2b90eb['push'](_0x2b90eb['shift']());}catch(_0x5e092b){_0x2b90eb['push'](_0x2b90eb['shift']());}}}(_0x4a7c,0x52725));import{Command as _0x2ed3f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2ed3f1{[_0x205fd6(0x1bb)](){const _0x131284=_0x205fd6,_0x49fb92=this[_0x131284(0x1c2)][_0x131284(0x1d2)][_0x131284(0x1d5)][_0x131284(0x1d0)][_0x131284(0x1c6)]();this[_0x131284(0x1c7)]=Boolean(_0x49fb92&&(_0x49fb92['is'](_0x131284(0x1c9),_0x131284(0x1d3))||_0x49fb92['is'](_0x131284(0x1c9),_0x131284(0x1be))));}[_0x205fd6(0x1d1)](_0x2a9dd6){const _0x313a16=_0x205fd6,_0x48aadf=this[_0x313a16(0x1c2)][_0x313a16(0x1d2)][_0x313a16(0x1d5)][_0x313a16(0x1d0)][_0x313a16(0x1c6)]();this[_0x313a16(0x1c2)][_0x313a16(0x1d2)][_0x313a16(0x1d7)](_0x30d033=>{const _0x2044e3=_0x313a16;_0x30d033[_0x2044e3(0x1cd)](_0x2a9dd6,_0x48aadf),_0x30d033[_0x2044e3(0x1bc)](_0x2044e3(0x1c4),_0x48aadf),_0x30d033[_0x2044e3(0x1bc)](_0x2044e3(0x1bf),_0x48aadf);});}}function _0x4a7c(){const _0x29a7fa=['8635uzcFpL','refresh','removeAttribute','13JNmizD','imageInline','sizes','326464emEnLc','1454580KivIuq','editor','15687098UmpmRk','srcset','7EKmVph','getSelectedElement','isEnabled','1CZsrgo','element','637110lTOUZB','3pQCPGB','577228gKrZkq','setAttributes','1145020JeFEVa','20pdfNRc','selection','execute','model','imageBlock','1260TxSsHH','document','36zjrmsU','change'];_0x4a7c=function(){return _0x29a7fa;};return _0x4a7c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x25e149=_0x3a36;(function(_0x58dfb6,_0x277ac3){var _0x24602e=_0x3a36,_0x514460=_0x58dfb6();while(!![]){try{var _0x57cc0a=-parseInt(_0x24602e(0x1a7))/0x1+parseInt(_0x24602e(0x1a6))/0x2+-parseInt(_0x24602e(0x1ad))/0x3+parseInt(_0x24602e(0x1ae))/0x4*(-parseInt(_0x24602e(0x1a9))/0x5)+parseInt(_0x24602e(0x1ac))/0x6*(parseInt(_0x24602e(0x1a8))/0x7)+parseInt(_0x24602e(0x1a2))/0x8+parseInt(_0x24602e(0x1aa))/0x9*(parseInt(_0x24602e(0x1a4))/0xa);if(_0x57cc0a===_0x277ac3)break;else _0x514460['push'](_0x514460['shift']());}catch(_0x58ac34){_0x514460['push'](_0x514460['shift']());}}}(_0x557a,0x680d1));function _0x3a36(_0x5dc7f3,_0x138d2b){var _0x557acf=_0x557a();return _0x3a36=function(_0x3a3698,_0x54e962){_0x3a3698=_0x3a3698-0x1a2;var _0x13042e=_0x557acf[_0x3a3698];return _0x13042e;},_0x3a36(_0x5dc7f3,_0x138d2b);}function _0x557a(){var _0x53d34a=['1426975YCuwkV','774JPjkyC','UploadcareImageEdit','573582IEyjIl','434049OxEEez','8crcoXU','requires','isOfficialPlugin','2425000kgwhBN','isPremiumPlugin','40740VvZtwN','pluginName','729902RxcBHh','67968CrAuUp','14VliBib'];_0x557a=function(){return _0x53d34a;};return _0x557a();}import{Plugin as _0x1a4348}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x554c8c}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x32ed97}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1a4348{static get[_0x25e149(0x1a5)](){var _0x21b86f=_0x25e149;return _0x21b86f(0x1ab);}static get[_0x25e149(0x1af)](){return[_0x554c8c,_0x32ed97];}static get[_0x25e149(0x1b0)](){return!0x0;}static get[_0x25e149(0x1a3)](){return!0x0;}}
23
+ var _0x4eec77=_0x49e8;(function(_0x3bd1f5,_0x6b4dd2){var _0x113d19=_0x49e8,_0xbf3844=_0x3bd1f5();while(!![]){try{var _0x368bc7=parseInt(_0x113d19(0x1a2))/0x1+parseInt(_0x113d19(0x194))/0x2*(parseInt(_0x113d19(0x19a))/0x3)+-parseInt(_0x113d19(0x19d))/0x4*(parseInt(_0x113d19(0x19f))/0x5)+parseInt(_0x113d19(0x1a1))/0x6*(parseInt(_0x113d19(0x196))/0x7)+parseInt(_0x113d19(0x198))/0x8+-parseInt(_0x113d19(0x19b))/0x9+parseInt(_0x113d19(0x19e))/0xa*(-parseInt(_0x113d19(0x199))/0xb);if(_0x368bc7===_0x6b4dd2)break;else _0xbf3844['push'](_0xbf3844['shift']());}catch(_0x211bdc){_0xbf3844['push'](_0xbf3844['shift']());}}}(_0x58b6,0x228c6));import{Plugin as _0x51626a}from'ckeditor5/src/core.js';function _0x58b6(){var _0x1ba252=['201146urFWbM','296157tRGEju','1321119RXqniP','isPremiumPlugin','5228XfOqaS','210xXiAiR','485WkBTxu','UploadcareImageEdit','148494zblQSt','252493UXQNgS','requires','4sMEjdM','pluginName','21VZjLdn','isOfficialPlugin','2199264jJhGFm'];_0x58b6=function(){return _0x1ba252;};return _0x58b6();}function _0x49e8(_0x163128,_0x4f0308){var _0x58b68a=_0x58b6();return _0x49e8=function(_0x49e89b,_0x38d0c0){_0x49e89b=_0x49e89b-0x194;var _0x201e20=_0x58b68a[_0x49e89b];return _0x201e20;},_0x49e8(_0x163128,_0x4f0308);}import{UploadcareImageEditEditing as _0x606817}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5c8564}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x51626a{static get[_0x4eec77(0x195)](){var _0x509a5b=_0x4eec77;return _0x509a5b(0x1a0);}static get[_0x4eec77(0x1a3)](){return[_0x606817,_0x5c8564];}static get[_0x4eec77(0x197)](){return!0x0;}static get[_0x4eec77(0x19c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x51c3(){const _0x3d2a47=['_createToolbarButton','_createMenuBarButtons','isEnabled','7vxrPdp','url','45170iJRbRw','_createDropdownButtons','registerIntegration','label','14590576IIOdto','GDrive','4885VihmED','config','uploadcareLicenseKeyUsageLimit','uploadcare','pluginName','forEach','520215HEnnzZ','domainLimit','trialLimit','expired','withText','uploadcareLicenseKeyDomainLimit','upload','uploadcareLicenseKeyEvaluationLimit','commands','usageLimit','_licenseKeyCheckInterval','reduce','2274vIEAPc','1819168CLDeun','uploadcareLicenseKeyNotAllowed','3nWVpkY','_normalizeConfigSourceList','invalid','URL','init','entries','OneDrive','destroy','Local','locale','Uploadcare','execute','licenseKey','afterInit','featureNotAllowed','tooltip','editor','assetManager','ImageInsertUI','uploadcareLicenseKeyValid','50020FgNgbn','isImageSelected','get','Dropbox','has','push','_showLicenseError','isPremiumPlugin','type','uploadcareLicenseKeyInvalid','_createButton','Facebook','387oaGOmB','uploadcareLicenseKeyTrialLimit','_getIntegrationKey','evaluationLimit','GPhotos','map','uploadcareLicenseKeyExpired','UploadcareUI','shortText','bind','Replace','uploadcare.uploader.sourceList','icon','plugins','3892712mMUtBp','Insert','isOfficialPlugin','text'];_0x51c3=function(){return _0x3d2a47;};return _0x51c3();}const _0x1ed353=_0x1e73;(function(_0x43ac5b,_0xf462c6){const _0x2095d0=_0x1e73,_0x4123b7=_0x43ac5b();while(!![]){try{const _0x2270ea=parseInt(_0x2095d0(0x1cd))/0x1+-parseInt(_0x2095d0(0x19e))/0x2*(-parseInt(_0x2095d0(0x1dc))/0x3)+parseInt(_0x2095d0(0x1da))/0x4+parseInt(_0x2095d0(0x1c7))/0x5*(parseInt(_0x2095d0(0x1d9))/0x6)+-parseInt(_0x2095d0(0x1bf))/0x7*(-parseInt(_0x2095d0(0x1b8))/0x8)+-parseInt(_0x2095d0(0x1aa))/0x9*(parseInt(_0x2095d0(0x1c1))/0xa)+-parseInt(_0x2095d0(0x1c5))/0xb;if(_0x2270ea===_0xf462c6)break;else _0x4123b7['push'](_0x4123b7['shift']());}catch(_0x5d1270){_0x4123b7['push'](_0x4123b7['shift']());}}}(_0x51c3,0x52172));import{Plugin as _0x3dc583}from'ckeditor5/src/core.js';import{IconDropbox as _0x36a673,IconFacebook as _0x5555b6,IconGoogleDrive as _0x5273a1,IconGooglePhotos as _0x1e398f,IconUploadcareImageUpload as _0xbf0618,IconUploadcareLink as _0x569a18,IconOneDrive as _0x2849c1}from'ckeditor5/src/icons.js';function _0x1e73(_0xba50b6,_0x433fb6){const _0x51c30b=_0x51c3();return _0x1e73=function(_0x1e7378,_0x357902){_0x1e7378=_0x1e7378-0x18c;let _0x4afe52=_0x51c30b[_0x1e7378];return _0x4afe52;},_0x1e73(_0xba50b6,_0x433fb6);}import{ButtonView as _0x131d37,MenuBarMenuListItemButtonView as _0x134c64}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1eb22c}from'./uploadcareconfig.js';import{getTranslation as _0x3e6c3d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3dc583{[_0x1ed353(0x196)];[_0x1ed353(0x1d7)];static get[_0x1ed353(0x1cb)](){const _0x34997a=_0x1ed353;return _0x34997a(0x1b1);}static get[_0x1ed353(0x1ba)](){return!0x0;}static get[_0x1ed353(0x1a5)](){return!0x0;}[_0x1ed353(0x18e)](){const _0x3bab56=_0x1ed353;this[_0x3bab56(0x196)]=this[_0x3bab56(0x19a)][_0x3bab56(0x1c8)][_0x3bab56(0x1a0)](_0x3bab56(0x196));const _0x19c3ea=this[_0x3bab56(0x19a)];this[_0x3bab56(0x1d7)]=setInterval(()=>{const _0x5651b8=_0x3bab56;let _0x5a706a;for(const _0x239aa9 in _0x19c3ea){const _0x856693=_0x239aa9,_0x72ce6a=_0x19c3ea[_0x856693];if(_0x5651b8(0x19d)==_0x72ce6a||_0x5651b8(0x1a7)==_0x72ce6a||_0x5651b8(0x1b0)==_0x72ce6a||_0x5651b8(0x1d2)==_0x72ce6a||_0x5651b8(0x1db)==_0x72ce6a||_0x5651b8(0x1d4)==_0x72ce6a||_0x5651b8(0x1ab)==_0x72ce6a||_0x5651b8(0x1c9)==_0x72ce6a){delete _0x19c3ea[_0x856693],_0x5a706a=_0x72ce6a,clearInterval(this[_0x5651b8(0x1d7)]),this[_0x5651b8(0x1d7)]=void 0x0;break;}}_0x5651b8(0x1a7)==_0x5a706a&&_0x19c3ea[_0x5651b8(0x1a4)](_0x5651b8(0x18c)),_0x5651b8(0x1b0)==_0x5a706a&&_0x19c3ea[_0x5651b8(0x1a4)](_0x5651b8(0x1d0)),_0x5651b8(0x1d2)==_0x5a706a&&_0x19c3ea[_0x5651b8(0x1a4)](_0x5651b8(0x1ce)),_0x5651b8(0x1db)==_0x5a706a&&_0x19c3ea[_0x5651b8(0x1a4)](_0x5651b8(0x198),_0x5651b8(0x194)),_0x5651b8(0x1d4)==_0x5a706a&&_0x19c3ea[_0x5651b8(0x1a4)](_0x5651b8(0x1ad)),_0x5651b8(0x1ab)==_0x5a706a&&_0x19c3ea[_0x5651b8(0x1a4)](_0x5651b8(0x1cf)),_0x5651b8(0x1c9)==_0x5a706a&&_0x19c3ea[_0x5651b8(0x1a4)](_0x5651b8(0x1d6));},0x3e8);}[_0x1ed353(0x197)](){const _0x46d280=_0x1ed353,{editor:_0x71c306}=this,_0x199e35=_0x71c306[_0x46d280(0x1d5)][_0x46d280(0x1a0)](_0x46d280(0x1ca));if(!_0x199e35)return;const _0x3ae745=this[_0x46d280(0x1dd)](_0x71c306[_0x46d280(0x1c8)][_0x46d280(0x1a0)](_0x46d280(0x1b5)))[_0x46d280(0x1d8)]((_0x1a2f3b,_0x73b4f0)=>{const _0x49cd0b=_0x46d280,_0x18f82a=this[_0x49cd0b(0x1ac)](_0x73b4f0[_0x49cd0b(0x1a6)]);return _0x1a2f3b[_0x18f82a]||(_0x1a2f3b[_0x18f82a]=[]),_0x1a2f3b[_0x18f82a][_0x49cd0b(0x1a3)](_0x73b4f0),_0x1a2f3b;},{});_0x71c306[_0x46d280(0x1b7)][_0x46d280(0x1a2)](_0x46d280(0x19c))&&_0x71c306[_0x46d280(0x1d5)][_0x46d280(0x1a0)](_0x46d280(0x1ca))&&Object[_0x46d280(0x18f)](_0x3ae745)[_0x46d280(0x1cc)](([_0x408267,_0x2441cf])=>{const _0x49d960=_0x46d280;_0x71c306[_0x49d960(0x1b7)][_0x49d960(0x1a0)](_0x49d960(0x19c))[_0x49d960(0x1c3)]({'name':_0x408267,'observable':()=>_0x199e35,'buttonViewCreator':()=>this[_0x49d960(0x1bc)](_0x2441cf),'formViewCreator':()=>this[_0x49d960(0x1c2)](_0x2441cf),'menuBarButtonViewCreator':()=>this[_0x49d960(0x1bd)](_0x2441cf),'override':_0x49d960(0x19b)!==_0x408267});});}[_0x1ed353(0x191)](){const _0x34183d=_0x1ed353;super[_0x34183d(0x191)](),this[_0x34183d(0x1d7)]&&clearInterval(this[_0x34183d(0x1d7)]);}[_0x1ed353(0x1dd)](_0x14fca4){const _0x234b0d=_0x1ed353,{locale:_0x4d4355}=this[_0x234b0d(0x19a)];return _0x14fca4[_0x234b0d(0x1af)](_0x5d71df=>{const _0x1fd03=_0x234b0d,_0x35c0f1=_0x3e6c3d(_0x4d4355,_0x5d71df,_0x1fd03(0x1b9));switch(_0x5d71df){case _0x1eb22c[_0x1fd03(0x192)]:return{'icon':_0xbf0618,'type':_0x1eb22c[_0x1fd03(0x192)],..._0x35c0f1};case _0x1eb22c[_0x1fd03(0x18d)]:return{'icon':_0x569a18,'type':_0x1eb22c[_0x1fd03(0x18d)],..._0x35c0f1};case _0x1eb22c[_0x1fd03(0x1a1)]:return{'icon':_0x36a673,'type':_0x1eb22c[_0x1fd03(0x1a1)],..._0x35c0f1};case _0x1eb22c[_0x1fd03(0x1a9)]:return{'icon':_0x5555b6,'type':_0x1eb22c[_0x1fd03(0x1a9)],..._0x35c0f1};case _0x1eb22c[_0x1fd03(0x1c6)]:return{'icon':_0x5273a1,'type':_0x1eb22c[_0x1fd03(0x1c6)],..._0x35c0f1};case _0x1eb22c[_0x1fd03(0x1ae)]:return{'icon':_0x1e398f,'type':_0x1eb22c[_0x1fd03(0x1ae)],..._0x35c0f1};case _0x1eb22c[_0x1fd03(0x190)]:return{'icon':_0x2849c1,'type':_0x1eb22c[_0x1fd03(0x190)],..._0x35c0f1};}});}[_0x1ed353(0x1ac)](_0x1c7108){const _0x4c1f57=_0x1ed353;switch(_0x1c7108){case _0x1eb22c[_0x4c1f57(0x192)]:return _0x4c1f57(0x1d3);case _0x1eb22c[_0x4c1f57(0x18d)]:return _0x4c1f57(0x1c0);default:return _0x4c1f57(0x19b);}}[_0x1ed353(0x1a8)](_0x557bd2,_0x49efd8){const _0xff3f04=_0x1ed353,_0xd1ac4b=this[_0xff3f04(0x19a)],_0x459cea=new _0x557bd2(_0xd1ac4b[_0xff3f04(0x193)]),_0x33f48d=_0xd1ac4b[_0xff3f04(0x1d5)][_0xff3f04(0x1a0)](_0xff3f04(0x1ca));return _0x459cea[_0xff3f04(0x1b3)](_0xff3f04(0x1be))['to'](_0x33f48d),_0x459cea['on'](_0xff3f04(0x195),()=>{const _0x5ecfc0=_0xff3f04;_0x33f48d[_0x5ecfc0(0x195)](_0x49efd8);}),_0x459cea;}[_0x1ed353(0x1bc)](_0x577f55){const _0x5d67f1=_0x1ed353,{locale:_0x461234}=this[_0x5d67f1(0x19a)],_0x5e59aa=this[_0x5d67f1(0x19a)][_0x5d67f1(0x1b7)][_0x5d67f1(0x1a0)](_0x5d67f1(0x19c)),_0x87acb=_0x577f55[0x0],_0x258437=this[_0x5d67f1(0x1a8)](_0x131d37,_0x87acb[_0x5d67f1(0x1a6)]);return _0x258437[_0x5d67f1(0x1b6)]=_0x87acb[_0x5d67f1(0x1b6)],_0x258437[_0x5d67f1(0x1b3)](_0x5d67f1(0x1c4))['to'](_0x5e59aa,_0x5d67f1(0x19f),_0x3b5e9f=>_0x3e6c3d(_0x461234,_0x87acb[_0x5d67f1(0x1a6)],_0x3b5e9f?_0x5d67f1(0x1b4):_0x5d67f1(0x1b9))[_0x5d67f1(0x1bb)]),_0x258437[_0x5d67f1(0x199)]=!0x0,_0x258437;}[_0x1ed353(0x1c2)](_0x208ef0){const _0x43643a=_0x1ed353,{locale:_0x498527}=this[_0x43643a(0x19a)],_0x1f923f=this[_0x43643a(0x19a)][_0x43643a(0x1b7)][_0x43643a(0x1a0)](_0x43643a(0x19c));return _0x208ef0[_0x43643a(0x1af)](_0x27ad50=>{const _0x27deef=_0x43643a,_0x53e420=this[_0x27deef(0x1a8)](_0x131d37,_0x27ad50[_0x27deef(0x1a6)]);return _0x53e420[_0x27deef(0x1d1)]=!0x0,_0x53e420[_0x27deef(0x1b6)]=_0x27ad50[_0x27deef(0x1b6)],_0x53e420[_0x27deef(0x1b3)](_0x27deef(0x1c4))['to'](_0x1f923f,_0x27deef(0x19f),_0xa42a79=>_0x3e6c3d(_0x498527,_0x27ad50[_0x27deef(0x1a6)],_0xa42a79?_0x27deef(0x1b4):_0x27deef(0x1b9))[_0x27deef(0x1bb)]),_0x53e420;});}[_0x1ed353(0x1bd)](_0x4392a6){const _0x396263=_0x1ed353;return _0x4392a6[_0x396263(0x1af)](_0x1cfab6=>{const _0x1eda12=_0x396263,_0x542570=this[_0x1eda12(0x1a8)](_0x134c64,_0x1cfab6[_0x1eda12(0x1a6)]);return _0x542570[_0x1eda12(0x1b6)]=_0x1cfab6[_0x1eda12(0x1b6)],_0x542570[_0x1eda12(0x1c4)]=_0x1cfab6[_0x1eda12(0x1b2)],_0x542570;});}}
23
+ const _0x4a7004=_0x41a5;(function(_0x4d7fa7,_0x117e8b){const _0x1b60ab=_0x41a5,_0x1966d1=_0x4d7fa7();while(!![]){try{const _0x5b1ee0=-parseInt(_0x1b60ab(0xb5))/0x1*(-parseInt(_0x1b60ab(0xd7))/0x2)+-parseInt(_0x1b60ab(0xb0))/0x3+parseInt(_0x1b60ab(0xd0))/0x4*(parseInt(_0x1b60ab(0xca))/0x5)+parseInt(_0x1b60ab(0x8f))/0x6*(parseInt(_0x1b60ab(0xc6))/0x7)+-parseInt(_0x1b60ab(0x99))/0x8+parseInt(_0x1b60ab(0xbf))/0x9*(-parseInt(_0x1b60ab(0xc7))/0xa)+-parseInt(_0x1b60ab(0x9a))/0xb*(-parseInt(_0x1b60ab(0xa4))/0xc);if(_0x5b1ee0===_0x117e8b)break;else _0x1966d1['push'](_0x1966d1['shift']());}catch(_0x33b287){_0x1966d1['push'](_0x1966d1['shift']());}}}(_0x2dbd,0x24aaa));function _0x41a5(_0x20ab07,_0x151ba6){const _0x2dbd43=_0x2dbd();return _0x41a5=function(_0x41a5ff,_0x562bf4){_0x41a5ff=_0x41a5ff-0x89;let _0x16ba4b=_0x2dbd43[_0x41a5ff];return _0x16ba4b;},_0x41a5(_0x20ab07,_0x151ba6);}function _0x2dbd(){const _0x208b0b=['registerIntegration','forEach','uploadcareLicenseKeyDomainLimit','31EPBraj','type','uploadcareLicenseKeyNotAllowed','GPhotos','url','isOfficialPlugin','execute','_getIntegrationKey','upload','isPremiumPlugin','207CXBfwS','Uploadcare','push','uploadcareLicenseKeyExpired','uploadcareLicenseKeyEvaluationLimit','_normalizeConfigSourceList','uploadcareLicenseKeyInvalid','91ppuyTC','13330ZkJlBa','_createToolbarButton','isEnabled','705COjMdo','licenseKey','withText','config','assetManager','plugins','2172UjdvHP','featureNotAllowed','locale','UploadcareUI','entries','URL','GDrive','16716fvNKHy','Local','Dropbox','get','destroy','afterInit','_createButton','bind','domainLimit','map','ImageInsertUI','89118Vordch','label','init','has','Insert','OneDrive','usageLimit','_licenseKeyCheckInterval','uploadcareLicenseKeyTrialLimit','text','1843544zJKtav','7711YaYTjy','Facebook','editor','uploadcare.uploader.sourceList','Replace','trialLimit','commands','shortText','_showLicenseError','uploadcareLicenseKeyValid','1128XOsQBU','isImageSelected','reduce','tooltip','_createDropdownButtons','evaluationLimit','uploadcare','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','invalid','expired','pluginName','550068fEoPnE','icon'];_0x2dbd=function(){return _0x208b0b;};return _0x2dbd();}import{Plugin as _0x2e3f4f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ea2bd,IconFacebook as _0x1c4116,IconGoogleDrive as _0x3cec15,IconGooglePhotos as _0x33d10c,IconUploadcareImageUpload as _0x30e098,IconUploadcareLink as _0x409484,IconOneDrive as _0x162a87}from'ckeditor5/src/icons.js';import{ButtonView as _0x1e3b37,MenuBarMenuListItemButtonView as _0x10719e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xf3e4b5}from'./uploadcareconfig.js';import{getTranslation as _0x5908b1}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2e3f4f{[_0x4a7004(0xcb)];[_0x4a7004(0x96)];static get[_0x4a7004(0xaf)](){const _0x5b3c2c=_0x4a7004;return _0x5b3c2c(0xd3);}static get[_0x4a7004(0xba)](){return!0x0;}static get[_0x4a7004(0xbe)](){return!0x0;}[_0x4a7004(0x91)](){const _0x54bed0=_0x4a7004;this[_0x54bed0(0xcb)]=this[_0x54bed0(0x9c)][_0x54bed0(0xcd)][_0x54bed0(0xda)](_0x54bed0(0xcb));const _0x2164d8=this[_0x54bed0(0x9c)];this[_0x54bed0(0x96)]=setInterval(()=>{const _0x267e6e=_0x54bed0;let _0x1e64e4;for(const _0x4eea60 in _0x2164d8){const _0x339a3d=_0x4eea60,_0x54dd43=_0x2164d8[_0x339a3d];if(_0x267e6e(0xa3)==_0x54dd43||_0x267e6e(0xc5)==_0x54dd43||_0x267e6e(0xc2)==_0x54dd43||_0x267e6e(0xb4)==_0x54dd43||_0x267e6e(0xb7)==_0x54dd43||_0x267e6e(0xc3)==_0x54dd43||_0x267e6e(0x97)==_0x54dd43||_0x267e6e(0xac)==_0x54dd43){delete _0x2164d8[_0x339a3d],_0x1e64e4=_0x54dd43,clearInterval(this[_0x267e6e(0x96)]),this[_0x267e6e(0x96)]=void 0x0;break;}}_0x267e6e(0xc5)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xad)),_0x267e6e(0xc2)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xae)),_0x267e6e(0xb4)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x8c)),_0x267e6e(0xb7)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xd1),_0x267e6e(0xc0)),_0x267e6e(0xc3)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xa9)),_0x267e6e(0x97)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x9f)),_0x267e6e(0xac)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x95));},0x3e8);}[_0x4a7004(0x89)](){const _0x268bd0=_0x4a7004,{editor:_0x123b2f}=this,_0x3694a3=_0x123b2f[_0x268bd0(0xa0)][_0x268bd0(0xda)](_0x268bd0(0xaa));if(!_0x3694a3)return;const _0x725a05=this[_0x268bd0(0xc4)](_0x123b2f[_0x268bd0(0xcd)][_0x268bd0(0xda)](_0x268bd0(0x9d)))[_0x268bd0(0xa6)]((_0xbc86eb,_0x1413e3)=>{const _0x4defb5=_0x268bd0,_0x13e2cf=this[_0x4defb5(0xbc)](_0x1413e3[_0x4defb5(0xb6)]);return _0xbc86eb[_0x13e2cf]||(_0xbc86eb[_0x13e2cf]=[]),_0xbc86eb[_0x13e2cf][_0x4defb5(0xc1)](_0x1413e3),_0xbc86eb;},{});_0x123b2f[_0x268bd0(0xcf)][_0x268bd0(0x92)](_0x268bd0(0x8e))&&_0x123b2f[_0x268bd0(0xa0)][_0x268bd0(0xda)](_0x268bd0(0xaa))&&Object[_0x268bd0(0xd4)](_0x725a05)[_0x268bd0(0xb3)](([_0x3109f4,_0x47d961])=>{const _0x3bd2c2=_0x268bd0;_0x123b2f[_0x3bd2c2(0xcf)][_0x3bd2c2(0xda)](_0x3bd2c2(0x8e))[_0x3bd2c2(0xb2)]({'name':_0x3109f4,'observable':()=>_0x3694a3,'buttonViewCreator':()=>this[_0x3bd2c2(0xc8)](_0x47d961),'formViewCreator':()=>this[_0x3bd2c2(0xa8)](_0x47d961),'menuBarButtonViewCreator':()=>this[_0x3bd2c2(0xab)](_0x47d961),'override':_0x3bd2c2(0xce)!==_0x3109f4});});}[_0x4a7004(0xdb)](){const _0x4c0fb5=_0x4a7004;super[_0x4c0fb5(0xdb)](),this[_0x4c0fb5(0x96)]&&clearInterval(this[_0x4c0fb5(0x96)]);}[_0x4a7004(0xc4)](_0x1ef3a9){const _0x277661=_0x4a7004,{locale:_0x1a5595}=this[_0x277661(0x9c)];return _0x1ef3a9[_0x277661(0x8d)](_0xf5ef16=>{const _0x23cdc1=_0x277661,_0x41e378=_0x5908b1(_0x1a5595,_0xf5ef16,_0x23cdc1(0x93));switch(_0xf5ef16){case _0xf3e4b5[_0x23cdc1(0xd8)]:return{'icon':_0x30e098,'type':_0xf3e4b5[_0x23cdc1(0xd8)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd5)]:return{'icon':_0x409484,'type':_0xf3e4b5[_0x23cdc1(0xd5)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd9)]:return{'icon':_0x2ea2bd,'type':_0xf3e4b5[_0x23cdc1(0xd9)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0x9b)]:return{'icon':_0x1c4116,'type':_0xf3e4b5[_0x23cdc1(0x9b)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd6)]:return{'icon':_0x3cec15,'type':_0xf3e4b5[_0x23cdc1(0xd6)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xb8)]:return{'icon':_0x33d10c,'type':_0xf3e4b5[_0x23cdc1(0xb8)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0x94)]:return{'icon':_0x162a87,'type':_0xf3e4b5[_0x23cdc1(0x94)],..._0x41e378};}});}[_0x4a7004(0xbc)](_0x1f8779){const _0x2d7a4e=_0x4a7004;switch(_0x1f8779){case _0xf3e4b5[_0x2d7a4e(0xd8)]:return _0x2d7a4e(0xbd);case _0xf3e4b5[_0x2d7a4e(0xd5)]:return _0x2d7a4e(0xb9);default:return _0x2d7a4e(0xce);}}[_0x4a7004(0x8a)](_0x2e15fe,_0x162420){const _0x4104fc=_0x4a7004,_0x58aae3=this[_0x4104fc(0x9c)],_0x3f65dc=new _0x2e15fe(_0x58aae3[_0x4104fc(0xd2)]),_0x326b48=_0x58aae3[_0x4104fc(0xa0)][_0x4104fc(0xda)](_0x4104fc(0xaa));return _0x3f65dc[_0x4104fc(0x8b)](_0x4104fc(0xc9))['to'](_0x326b48),_0x3f65dc['on'](_0x4104fc(0xbb),()=>{const _0x166bbe=_0x4104fc;_0x326b48[_0x166bbe(0xbb)](_0x162420);}),_0x3f65dc;}[_0x4a7004(0xc8)](_0x30a9f5){const _0x44f0c6=_0x4a7004,{locale:_0x2b1f5b}=this[_0x44f0c6(0x9c)],_0x3f09f5=this[_0x44f0c6(0x9c)][_0x44f0c6(0xcf)][_0x44f0c6(0xda)](_0x44f0c6(0x8e)),_0x4eb8ce=_0x30a9f5[0x0],_0x4cafb5=this[_0x44f0c6(0x8a)](_0x1e3b37,_0x4eb8ce[_0x44f0c6(0xb6)]);return _0x4cafb5[_0x44f0c6(0xb1)]=_0x4eb8ce[_0x44f0c6(0xb1)],_0x4cafb5[_0x44f0c6(0x8b)](_0x44f0c6(0x90))['to'](_0x3f09f5,_0x44f0c6(0xa5),_0x197239=>_0x5908b1(_0x2b1f5b,_0x4eb8ce[_0x44f0c6(0xb6)],_0x197239?_0x44f0c6(0x9e):_0x44f0c6(0x93))[_0x44f0c6(0x98)]),_0x4cafb5[_0x44f0c6(0xa7)]=!0x0,_0x4cafb5;}[_0x4a7004(0xa8)](_0x49982b){const _0x3e8157=_0x4a7004,{locale:_0x5c0bd2}=this[_0x3e8157(0x9c)],_0x372664=this[_0x3e8157(0x9c)][_0x3e8157(0xcf)][_0x3e8157(0xda)](_0x3e8157(0x8e));return _0x49982b[_0x3e8157(0x8d)](_0x65ba50=>{const _0x333f57=_0x3e8157,_0x48802c=this[_0x333f57(0x8a)](_0x1e3b37,_0x65ba50[_0x333f57(0xb6)]);return _0x48802c[_0x333f57(0xcc)]=!0x0,_0x48802c[_0x333f57(0xb1)]=_0x65ba50[_0x333f57(0xb1)],_0x48802c[_0x333f57(0x8b)](_0x333f57(0x90))['to'](_0x372664,_0x333f57(0xa5),_0x4cee0d=>_0x5908b1(_0x5c0bd2,_0x65ba50[_0x333f57(0xb6)],_0x4cee0d?_0x333f57(0x9e):_0x333f57(0x93))[_0x333f57(0x98)]),_0x48802c;});}[_0x4a7004(0xab)](_0x165cb3){const _0x10c401=_0x4a7004;return _0x165cb3[_0x10c401(0x8d)](_0x564759=>{const _0x3183f2=_0x10c401,_0x23b012=this[_0x3183f2(0x8a)](_0x10719e,_0x564759[_0x3183f2(0xb6)]);return _0x23b012[_0x3183f2(0xb1)]=_0x564759[_0x3183f2(0xb1)],_0x23b012[_0x3183f2(0x90)]=_0x564759[_0x3183f2(0xa1)],_0x23b012;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2f2121}from'ckeditor5/src/core.js';import{FileRepository as _0x3e867a}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xae31f5}from'./uploadcareediting.js';import{UploadUtils as _0x2705bf}from'./utils/uploadutils.js';import{getImageUrls as _0x3cbea9}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2f2121{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e867a,_0xae31f5];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x389e04=this['editor'];if(!!!_0x389e04['config']['get']('uploadcare'))return;_0x389e04['plugins']['get'](_0x3e867a)['createUploadAdapter']=_0x91c23f=>new k(_0x91c23f,_0x389e04),_0x389e04['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x218bf7,{imageElement:_0x4035e7,data:_0xf09d05})=>{_0x389e04['model']['change'](_0xe1dfb1=>{_0xe1dfb1['setAttribute']('uploadcareImageId',_0xf09d05['uploadcareImageId'],_0x4035e7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x54342c,_0x9f4742){this['loader']=_0x54342c,this['editor']=_0x9f4742,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x514e20=await this['loader']['file'];return _0x2705bf['upload']({'file':_0x514e20,'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':_0xa836ef=>{_0xa836ef&&_0xa836ef['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xa836ef['value']);}})['then'](async _0x22860b=>{const {imageFallbackUrl:_0x3cd4dd,imageSources:_0x595128}=_0x3cbea9(_0x22860b['cdnUrl'],_0x22860b['imageInfo']['width']);return{'uploadcareImageId':_0x22860b['uuid'],'default':_0x3cd4dd,'sources':_0x595128};})['catch'](()=>{const _0x197c7=t('Cannot\x20upload\x20file:')+('\x20'+_0x514e20['name']+'.');return Promise['reject'](_0x197c7);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x276509}from'ckeditor5/src/core.js';import{FileRepository as _0x323524}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1e232c}from'./uploadcareediting.js';import{UploadUtils as _0x33c479}from'./utils/uploadutils.js';import{getImageUrls as _0xea1893}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x276509{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x323524,_0x1e232c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4628c7=this['editor'];if(!!!_0x4628c7['config']['get']('uploadcare'))return;_0x4628c7['plugins']['get'](_0x323524)['createUploadAdapter']=_0x98bb46=>new k(_0x98bb46,_0x4628c7),_0x4628c7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x39b992,{imageElement:_0x5a48a8,data:_0xc7d821})=>{_0x4628c7['model']['change'](_0x545a9c=>{_0x545a9c['setAttribute']('uploadcareImageId',_0xc7d821['uploadcareImageId'],_0x5a48a8);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x135a2f,_0x7976db){this['loader']=_0x135a2f,this['editor']=_0x7976db,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x44b4de=await this['loader']['file'];return _0x33c479['upload']({'file':_0x44b4de,'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':_0x23b856=>{_0x23b856&&_0x23b856['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x23b856['value']);}})['then'](async _0x2c6ec0=>{const {imageFallbackUrl:_0x129539,imageSources:_0x2ba458}=_0xea1893(_0x2c6ec0['cdnUrl'],_0x2c6ec0['imageInfo']['width']);return{'uploadcareImageId':_0x2c6ec0['uuid'],'default':_0x129539,'sources':_0x2ba458};})['catch'](()=>{const _0x1eaae1=t('Cannot\x20upload\x20file:')+('\x20'+_0x44b4de['name']+'.');return Promise['reject'](_0x1eaae1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xb98a33}from'../uploadcareconfig.js';export function getTranslation(_0x9ff135,_0x510223,_0x10a581){const t=_0x9ff135['t'],_0x51ab30=_0x9ff135['t'];switch(_0x510223){case _0xb98a33['Local']:return{'text':_0x51ab30('Insert'===_0x10a581?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x51ab30('From\x20computer')};case _0xb98a33['URL']:return{'text':'Insert'===_0x10a581?_0x51ab30('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x51ab30('Via\x20URL')};case _0xb98a33['Dropbox']:return{'text':t('Insert'===_0x10a581?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xb98a33['Facebook']:return{'text':t('Insert'===_0x10a581?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xb98a33['GDrive']:return{'text':t('Insert'===_0x10a581?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xb98a33['GPhotos']:return{'text':t('Insert'===_0x10a581?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xb98a33['OneDrive']:return{'text':t('Insert'===_0x10a581?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x510223;}}
23
+ import{UploadcareSource as _0x56f3f6}from'../uploadcareconfig.js';export function getTranslation(_0x5a2120,_0x5d354d,_0x2b9d22){const t=_0x5a2120['t'],_0x1d0120=_0x5a2120['t'];switch(_0x5d354d){case _0x56f3f6['Local']:return{'text':_0x1d0120('Insert'===_0x2b9d22?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1d0120('From\x20computer')};case _0x56f3f6['URL']:return{'text':'Insert'===_0x2b9d22?_0x1d0120('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1d0120('Via\x20URL')};case _0x56f3f6['Dropbox']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x56f3f6['Facebook']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x56f3f6['GDrive']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x56f3f6['GPhotos']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x56f3f6['OneDrive']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5d354d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc444e6=_0x1bcd;(function(_0x579dc3,_0x4431ed){var _0x296f5a=_0x1bcd,_0x3e1164=_0x579dc3();while(!![]){try{var _0x3cabcf=-parseInt(_0x296f5a(0x182))/0x1*(parseInt(_0x296f5a(0x18a))/0x2)+-parseInt(_0x296f5a(0x187))/0x3+-parseInt(_0x296f5a(0x178))/0x4*(parseInt(_0x296f5a(0x179))/0x5)+parseInt(_0x296f5a(0x17f))/0x6+parseInt(_0x296f5a(0x183))/0x7+-parseInt(_0x296f5a(0x17a))/0x8+parseInt(_0x296f5a(0x181))/0x9*(parseInt(_0x296f5a(0x180))/0xa);if(_0x3cabcf===_0x4431ed)break;else _0x3e1164['push'](_0x3e1164['shift']());}catch(_0x7bd5f9){_0x3e1164['push'](_0x3e1164['shift']());}}}(_0x2a5b,0x66c37));import{FocusTracker as _0x5bb1ef}from'ckeditor5/src/utils.js';function _0x2a5b(){var _0x3fe790=['2742576tKKQlQ','getFocusableElement','forwardCycle','createCollection','bindTemplate','4607310AXvepd','427130vaFXpD','216rRBqHa','6rJuaKV','14007kyEASr','true','focusCycler','fire','482787grPndU','focusTracker','div','174364WAshGC','7388eOdKVj','940UBEEQO'];_0x2a5b=function(){return _0x3fe790;};return _0x2a5b();}import{View as _0x88fa4,FocusCycler as _0x3d3852}from'ckeditor5/src/ui.js';function _0x1bcd(_0x36515a,_0x17fc7a){var _0x2a5b36=_0x2a5b();return _0x1bcd=function(_0x1bcda1,_0x363f46){_0x1bcda1=_0x1bcda1-0x178;var _0x387856=_0x2a5b36[_0x1bcda1];return _0x387856;},_0x1bcd(_0x36515a,_0x17fc7a);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x88fa4{[_0xc444e6(0x188)];[_0xc444e6(0x185)];constructor(_0x1372ca){var _0x3d175f=_0xc444e6;super(_0x1372ca),this[_0x3d175f(0x188)]=new _0x5bb1ef(),this[_0x3d175f(0x185)]=new _0x3d3852({'focusables':this[_0x3d175f(0x17d)](),'focusTracker':this[_0x3d175f(0x188)]});}[_0xc444e6(0x17b)](){var _0x39011b=_0xc444e6;return{'tag':_0x39011b(0x189),'attributes':{'aria-hidden':_0x39011b(0x184),'tabindex':'0'},'on':{'focus':this[_0x39011b(0x17e)]['to'](()=>{var _0x357d4d=_0x39011b;this[_0x357d4d(0x185)][_0x357d4d(0x186)](_0x357d4d(0x17c));})}};}}
23
+ var _0x79aa81=_0x3414;(function(_0x32341e,_0x2a7073){var _0x50c8e0=_0x3414,_0x462f13=_0x32341e();while(!![]){try{var _0x3a602d=parseInt(_0x50c8e0(0x74))/0x1+-parseInt(_0x50c8e0(0x7c))/0x2*(-parseInt(_0x50c8e0(0x7b))/0x3)+-parseInt(_0x50c8e0(0x73))/0x4+-parseInt(_0x50c8e0(0x6e))/0x5+-parseInt(_0x50c8e0(0x77))/0x6+-parseInt(_0x50c8e0(0x72))/0x7*(-parseInt(_0x50c8e0(0x7f))/0x8)+-parseInt(_0x50c8e0(0x7a))/0x9*(-parseInt(_0x50c8e0(0x6d))/0xa);if(_0x3a602d===_0x2a7073)break;else _0x462f13['push'](_0x462f13['shift']());}catch(_0x1e2870){_0x462f13['push'](_0x462f13['shift']());}}}(_0x4bf7,0x3198e));function _0x4bf7(){var _0x382020=['focusCycler','456aBgPAM','4990NEVVlW','814575DbXIiF','focusTracker','fire','true','44786fKDhqJ','1244064kgQFxV','70370jevMqN','createCollection','forwardCycle','1456458WzNseW','bindTemplate','div','8262mIFWWj','33BsFsxL','4852RSyyGf','getFocusableElement'];_0x4bf7=function(){return _0x382020;};return _0x4bf7();}import{FocusTracker as _0x50c4bf}from'ckeditor5/src/utils.js';import{View as _0xbab881,FocusCycler as _0x3f2408}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x3414(_0x3f355f,_0x11f7fc){var _0x4bf715=_0x4bf7();return _0x3414=function(_0x3414c9,_0x1f186d){_0x3414c9=_0x3414c9-0x6d;var _0x2cc445=_0x4bf715[_0x3414c9];return _0x2cc445;},_0x3414(_0x3f355f,_0x11f7fc);}export class DialogFocusManagerView extends _0xbab881{[_0x79aa81(0x6f)];[_0x79aa81(0x7e)];constructor(_0x1e5c1d){var _0x92e83b=_0x79aa81;super(_0x1e5c1d),this[_0x92e83b(0x6f)]=new _0x50c4bf(),this[_0x92e83b(0x7e)]=new _0x3f2408({'focusables':this[_0x92e83b(0x75)](),'focusTracker':this[_0x92e83b(0x6f)]});}[_0x79aa81(0x7d)](){var _0x497090=_0x79aa81;return{'tag':_0x497090(0x79),'attributes':{'aria-hidden':_0x497090(0x71),'tabindex':'0'},'on':{'focus':this[_0x497090(0x78)]['to'](()=>{var _0x304922=_0x497090;this[_0x304922(0x7e)][_0x304922(0x70)](_0x304922(0x76));})}};}}