@ckeditor/ckeditor5-uploadcare 47.7.2-alpha.0 → 47.7.3-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x16bce6=_0x8186;(function(_0x216d8b,_0x402743){const _0x17e02a=_0x8186,_0x5c8255=_0x216d8b();while(!![]){try{const _0x10a31e=-parseInt(_0x17e02a(0x15d))/0x1+parseInt(_0x17e02a(0x139))/0x2*(parseInt(_0x17e02a(0x13d))/0x3)+parseInt(_0x17e02a(0x141))/0x4+parseInt(_0x17e02a(0x173))/0x5+parseInt(_0x17e02a(0x15a))/0x6*(-parseInt(_0x17e02a(0x14e))/0x7)+-parseInt(_0x17e02a(0x160))/0x8+parseInt(_0x17e02a(0x14f))/0x9*(parseInt(_0x17e02a(0x149))/0xa);if(_0x10a31e===_0x402743)break;else _0x5c8255['push'](_0x5c8255['shift']());}catch(_0x1e99f3){_0x5c8255['push'](_0x5c8255['shift']());}}}(_0x3045,0x4f258));import{Plugin as _0x4a59ee}from'ckeditor5/src/core.js';import{Dialog as _0x53933e}from'ckeditor5/src/ui.js';import{createElement as _0x43dbc4,global as _0x1d47ae,uid as _0x329b5f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x14def0}from'./uploadcarecommand.js';function _0x8186(_0x54cea7,_0x50688c){const _0x3045db=_0x3045();return _0x8186=function(_0x8186d3,_0x5623f1){_0x8186d3=_0x8186d3-0x120;let _0x2b14b8=_0x3045db[_0x8186d3];return _0x2b14b8;},_0x8186(_0x54cea7,_0x50688c);}import{UploadcareUploadAdapter as _0x2a856e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x423cea}from'./utils/editingutils.js';function _0x3045(){const _0x1fd735=['183114maKcns','add','imageBlock','\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','once','isPremiumPlugin','attributeToAttribute','for','body','uploadcareImageReplace','uploadcareImageId','24jaKubU','selection','uploadcare','318799qWZsvr','elementToAttribute','input[uploadcare-file-input]','3157120cbzIUY','document','true','editor','isOfficialPlugin','execute','_initSchema','config','removeAttribute','PictureEditing','map','uploadcare.pubkey','conversion','_configElement','commands','uc-config','destroy','insertImage','view','1247785stjrZL','href','downcast','UploadcareEditing','replaceImageSource','querySelector','_initConversion','schema','ctxElement','init','remove','getAttribute','uc-upload-ctx-provider','_initConfig','extend','cleanupImage','uploader-','listenTo','get','editing','_initCtx','closeMax','contentLanguage','getSelectedElement','appendChild','uploadcare.uploader','iconHrefResolver','4412iNnUGF','requires','render','fromCharCode','699YscPvF','join','pluginName','_initImageProcessingIndicator','1909328nIMWog','#uc-icon-arrow-down','ucContextId','_ctxElement','data-uc-image-id','imageInline','isRegistered','locale','100ezDGSW','upcast','configElement','afterInit','model','711767rwneJl'];_0x3045=function(){return _0x1fd735;};return _0x3045();}export class UploadcareEditing extends _0x4a59ee{[_0x16bce6(0x16d)]=null;[_0x16bce6(0x144)]=null;static get[_0x16bce6(0x13f)](){const _0x122e41=_0x16bce6;return _0x122e41(0x121);}static get[_0x16bce6(0x13a)](){const _0x5086cc=_0x16bce6;return[_0x5086cc(0x169),_0x2a856e,_0x53933e];}static get[_0x16bce6(0x164)](){return!0x0;}static get[_0x16bce6(0x154)](){return!0x0;}[_0x16bce6(0x143)];get[_0x16bce6(0x14b)](){const _0x2d5d0e=_0x16bce6;return this[_0x2d5d0e(0x16d)];}get[_0x16bce6(0x126)](){const _0x380e59=_0x16bce6;return this[_0x380e59(0x144)];}constructor(_0x460874){const _0x31d58f=_0x16bce6;super(_0x460874),this[_0x31d58f(0x143)]=_0x329b5f();}[_0x16bce6(0x127)](){const _0x195689=_0x16bce6,_0x1e1fdd=this[_0x195689(0x163)];_0x1e1fdd[_0x195689(0x16e)][_0x195689(0x150)](_0x195689(0x15c),new _0x14def0(_0x1e1fdd));}[_0x16bce6(0x14c)](){const _0x1c8df5=_0x16bce6;this[_0x1c8df5(0x166)](),this[_0x1c8df5(0x124)](),this[_0x1c8df5(0x12b)](),this[_0x1c8df5(0x132)](),this[_0x1c8df5(0x140)](),this[_0x1c8df5(0x12f)](this[_0x1c8df5(0x163)],_0x1c8df5(0x170),()=>{const _0x41b1f5=_0x1c8df5;this[_0x41b1f5(0x16d)]&&(this[_0x41b1f5(0x16d)][_0x41b1f5(0x128)](),this[_0x41b1f5(0x16d)]=null),this[_0x41b1f5(0x144)]&&(this[_0x41b1f5(0x144)][_0x41b1f5(0x128)](),this[_0x41b1f5(0x144)]=null);const _0x1944f7=_0x1d47ae[_0x41b1f5(0x161)][_0x41b1f5(0x123)](_0x41b1f5(0x15f));_0x1944f7&&_0x1944f7[_0x41b1f5(0x128)]();}),async function(_0x33edcf){const _0x309de3=_0x4f73bb([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]),_0x45a717=0x535f8c3a,_0x233ff9=0x5358061a^_0x45a717,_0x43b7fc=window[_0x4f73bb([0x44,0x61,0x74,0x65])][_0x4f73bb([0x6e,0x6f,0x77])](),_0x10f2c1=_0x33edcf[_0x4f73bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ef44f=new window[(_0x4f73bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44be38=>{_0x10f2c1[_0x4f73bb([0x6f,0x6e,0x63,0x65])](_0x4f73bb([0x72,0x65,0x61,0x64,0x79]),_0x44be38);}),_0x391d2d={[_0x4f73bb([0x6b,0x74,0x79])]:_0x4f73bb([0x45,0x43]),[_0x4f73bb([0x75,0x73,0x65])]:_0x4f73bb([0x73,0x69,0x67]),[_0x4f73bb([0x63,0x72,0x76])]:_0x4f73bb([0x50,0x2d,0x32,0x35,0x36]),[_0x4f73bb([0x78])]:_0x4f73bb([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]),[_0x4f73bb([0x79])]:_0x4f73bb([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]),[_0x4f73bb([0x61,0x6c,0x67])]:_0x4f73bb([0x45,0x53,0x32,0x35,0x36])},_0x3ac09a=_0x10f2c1[_0x4f73bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f73bb([0x67,0x65,0x74])](_0x4f73bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18a4b7(){let _0x325c54,_0x53e10f=null,_0x252770=null;try{if(_0x3ac09a==_0x4f73bb([0x47,0x50,0x4c]))return _0x4f73bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x325c54=_0x55d589(),!_0x325c54)return _0x4f73bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x325c54[_0x4f73bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x252770=_0x16d134(_0x325c54[_0x4f73bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x325c54[_0x4f73bb([0x6a,0x74,0x69])])),await _0x40e04d()?_0x4d3a6c()?_0x514528()?_0x4f73bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2cd381()?(_0x325c54[_0x4f73bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f73bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53e10f=_0x1cf149(_0x4f73bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xeb1761()):_0x4f73bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f73bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f73bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f73bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x514528(){const _0x4c1323=[_0x4f73bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f73bb([0x74,0x72,0x69,0x61,0x6c])][_0x4f73bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x325c54[_0x4f73bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43b7fc/0x3e8:0xe10*_0x233ff9;return _0x325c54[_0x4f73bb([0x65,0x78,0x70])]<_0x4c1323;}function _0x4d3a6c(){const _0x4c1cba=_0x325c54[_0x4f73bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c1cba&&(!!_0x4c1cba[_0x4f73bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f73bb([0x2a]))||!!_0x4c1cba[_0x4f73bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f73bb([0x55,0x50,0x4c,0x43])));}function _0x2cd381(){const _0x82a5b3=_0x8186,_0xe67ea3=_0x325c54[_0x4f73bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe67ea3||0x0==_0xe67ea3[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ba2c2}=new URL(window[_0x4f73bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x82a5b3(0x174)]);if(_0xe67ea3[_0x4f73bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba2c2))return!0x0;const _0x1216b6=_0x2ba2c2[_0x4f73bb([0x73,0x70,0x6c,0x69,0x74])](_0x4f73bb([0x2e]));return _0xe67ea3[_0x4f73bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cd1e6=>_0x2cd1e6[_0x4f73bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f73bb([0x2a])))[_0x4f73bb([0x6d,0x61,0x70])](_0xb476f2=>_0xb476f2[_0x4f73bb([0x73,0x70,0x6c,0x69,0x74])](_0x4f73bb([0x2e])))[_0x4f73bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24b27a=>_0x24b27a[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1216b6[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f73bb([0x6d,0x61,0x70])](_0x1cf0dc=>Array(_0x1216b6[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1cf0dc[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f73bb([0x66,0x69,0x6c,0x6c])](_0x1cf0dc[0x0]===_0x4f73bb([0x2a])?_0x4f73bb([0x2a]):'')[_0x4f73bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1cf0dc))[_0x4f73bb([0x73,0x6f,0x6d,0x65])](_0x9cff90=>_0x1216b6[_0x4f73bb([0x65,0x76,0x65,0x72,0x79])]((_0x2391f1,_0x49485b)=>_0x9cff90[_0x49485b]===_0x2391f1||_0x9cff90[_0x49485b]===_0x4f73bb([0x2a])));}function _0xeb1761(){return _0x53e10f&&_0x252770?new window[(_0x4f73bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x379eba,_0x4a0e64)=>{_0x53e10f[_0x4f73bb([0x74,0x68,0x65,0x6e])](_0x379eba,_0x4a0e64),_0x252770[_0x4f73bb([0x74,0x68,0x65,0x6e])](_0x2c6a14=>{_0x2c6a14!=_0x4f73bb([0x56,0x61,0x6c,0x69,0x64])&&_0x379eba(_0x2c6a14);},_0x4a0e64);}):_0x53e10f||_0x252770||_0x4f73bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16d134(_0x2c8e24,_0x5dda09){return new window[(_0x4f73bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d7070=>{if(_0x10f860())return _0x1d7070(_0x4f73bb([0x56,0x61,0x6c,0x69,0x64]));_0x45f0b4(),_0x10f2c1[_0x4f73bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f73bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f2c08=!0x1;const _0x5cca27=_0x329b5f();function _0x54a181(_0x544456){return!!_0x544456&&(typeof _0x544456===_0x4f73bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x544456===_0x4f73bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x544456[_0x4f73bb([0x74,0x68,0x65,0x6e])]===_0x4f73bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x544456[_0x4f73bb([0x63,0x61,0x74,0x63,0x68])]===_0x4f73bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3890b0(_0x292f00){_0x30fee4(_0x292f00)[_0x4f73bb([0x74,0x68,0x65,0x6e])](_0x15b790=>{if(!_0x15b790||_0x15b790[_0x4f73bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f73bb([0x6f,0x6b]))return _0x4f73bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30260d(_0x29ad4c(_0x5cca27+_0x5dda09))!=_0x15b790[_0x4f73bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f73bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f73bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f73bb([0x74,0x68,0x65,0x6e])](_0xe63d52=>(_0x4f19cf(),_0xe63d52),()=>{const _0x2c4820=_0x26a1aa();return null==_0x2c4820?(_0x4f19cf(),_0x4f73bb([0x56,0x61,0x6c,0x69,0x64])):_0x4f73bb(_0x43b7fc-_0x2c4820>(0x7753083a^_0x45a717)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f73bb([0x74,0x68,0x65,0x6e])](_0x1d7070)[_0x4f73bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d7070(_0x4f73bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50ec87=0x536962ba^_0x45a717;function _0x4f19cf(){const _0xc6bd00=_0x4f73bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x30260d(_0x29ad4c(_0x2c8e24)),_0x41f352=_0x598ba6(_0x30260d(window[_0x4f73bb([0x4d,0x61,0x74,0x68])][_0x4f73bb([0x63,0x65,0x69,0x6c])](_0x43b7fc/_0x50ec87)));window[_0x4f73bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f73bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc6bd00,_0x41f352);}function _0x26a1aa(){const _0xc584a9=_0x4f73bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x30260d(_0x29ad4c(_0x2c8e24)),_0x1d7d51=window[_0x4f73bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f73bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc584a9);return _0x1d7d51?window[_0x4f73bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x598ba6(_0x1d7d51),0x10)*_0x50ec87:null;}function _0x30fee4(_0x15bdbb){return new window[(_0x4f73bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a42c9,_0x3ae625)=>{_0x15bdbb[_0x4f73bb([0x74,0x68,0x65,0x6e])](_0x1a42c9,_0x3ae625),window[_0x4f73bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ae625,0x535e58fa^_0x45a717);});}}_0x10f2c1[_0x4f73bb([0x6f,0x6e])](_0x4f73bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d5414,_0x567c33)=>{if(_0x567c33[0x0]!=_0x2c8e24)return _0x1d7070(_0x4f73bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x567c33[0x1]={..._0x567c33[0x1],[_0x4f73bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cca27};},{[_0x4f73bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f73bb([0x68,0x69,0x67,0x68])}),_0x10f2c1[_0x4f73bb([0x6f,0x6e])](_0x4f73bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f3bd4=>{_0x54a181(_0x5f3bd4[_0x4f73bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f2c08=!0x0,_0x3890b0(_0x5f3bd4[_0x4f73bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f73bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f73bb([0x6c,0x6f,0x77])}),_0x3ef44f[_0x4f73bb([0x74,0x68,0x65,0x6e])](()=>{_0x2f2c08||_0x1d7070(_0x4f73bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10f860(){return _0x10f2c1[_0x4f73bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f73bb([0x76,0x69,0x65,0x77])][_0x4f73bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f73bb([0x61,0x75,0x74,0x6f]);}function _0x45f0b4(){_0x10f2c1[_0x4f73bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f73bb([0x76,0x69,0x65,0x77])][_0x4f73bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f73bb([0x61,0x75,0x74,0x6f]);}}function _0x1cf149(_0x1537e8){const _0x492749=[new window[(_0x4f73bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2409da=>setTimeout(_0x2409da,0x5356b2f6^_0x45a717)),_0x3ef44f[_0x4f73bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f73bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34ae69=>{let _0x4afd6d=0x0;_0x10f2c1[_0x4f73bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f73bb([0x6f,0x6e])](_0x4f73bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10252d,_0x272909)=>{_0x272909[0x0][_0x4f73bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4afd6d++,_0x4afd6d==(0x535f89d2^_0x45a717)&&(_0x34ae69(),_0x10252d[_0x4f73bb([0x6f,0x66,0x66])]());});}))];return window[_0x4f73bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f73bb([0x72,0x61,0x63,0x65])](_0x492749)[_0x4f73bb([0x74,0x68,0x65,0x6e])](()=>_0x1537e8);}async function _0x1d69b1(){await _0x3ef44f,_0x10f2c1[_0x4f73bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f73bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xaf60f1,_0x10f2c1[_0x4f73bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f73bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xaf60f1,_0x10f2c1[_0x4f73bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f73bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x528278(_0x329845){const _0x5a78d8=_0x74a771();_0x10f2c1[_0x5a78d8]=_0x4f73bb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x329845,_0x329845!=_0x4f73bb([0x56,0x61,0x6c,0x69,0x64])&&_0x1d69b1();}function _0x74a771(){const _0x468f2a=window[_0x4f73bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f73bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f73bb([0x6e,0x6f,0x77])]())[_0x4f73bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f73bb([0x2e]),'');let _0xa48a30=_0x4f73bb([0x68]);for(let _0x27b889=0x0;_0x27b889<_0x468f2a[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27b889+=0x2){let _0x5cd3ef=window[_0x4f73bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x468f2a[_0x4f73bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27b889,_0x27b889+0x2));_0x5cd3ef>=_0x309de3[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cd3ef-=_0x309de3[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa48a30+=_0x309de3[_0x5cd3ef];}return _0xa48a30;}function _0x55d589(){const _0xaa9a52=_0x3ac09a[_0x4f73bb([0x73,0x70,0x6c,0x69,0x74])](_0x4f73bb([0x2e]));if(0x3!=_0xaa9a52[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42e300(_0xaa9a52[0x1]);function _0x42e300(_0xdad211){const _0x18f27b=_0x13bb5b(_0xdad211);return _0x18f27b&&_0x572f01()?_0x18f27b:null;function _0x572f01(){const _0x1b5857=_0x18f27b[_0x4f73bb([0x6a,0x74,0x69])],_0x125117=window[_0x4f73bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b5857[_0x4f73bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b5857[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a1541={..._0x18f27b,[_0x4f73bb([0x6a,0x74,0x69])]:_0x1b5857[_0x4f73bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b5857[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a1541[_0x4f73bb([0x76,0x63])],_0x29ad4c(_0x2a1541)==_0x125117;}}}async function _0x40e04d(){let _0x42f1bf=!0x0;try{const _0x4d25b3=_0x3ac09a[_0x4f73bb([0x73,0x70,0x6c,0x69,0x74])](_0x4f73bb([0x2e])),[_0x5bee8b,_0x3746c1,_0x3404cf]=_0x4d25b3;return _0x147255(_0x5bee8b),await _0x8349b4(_0x5bee8b,_0x3746c1,_0x3404cf),_0x42f1bf;}catch{return!0x1;}function _0x147255(_0x2c5827){const _0xaf5df3=_0x13bb5b(_0x2c5827);_0xaf5df3&&_0xaf5df3[_0x4f73bb([0x61,0x6c,0x67])]==_0x4f73bb([0x45,0x53,0x32,0x35,0x36])||(_0x42f1bf=!0x1);}async function _0x8349b4(_0x44015a,_0x8fd2d4,_0xbfd0cb){const _0x5e076b=window[_0x4f73bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f73bb([0x66,0x72,0x6f,0x6d])](_0x45568d(_0xbfd0cb),_0x5a7e75=>_0x5a7e75[_0x4f73bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x567c54=new window[(_0x4f73bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f73bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44015a+_0x4f73bb([0x2e])+_0x8fd2d4),_0x2f967e=window[_0x4f73bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f73bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f967e)return;const _0x2fda1a=await _0x2f967e[_0x4f73bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f73bb([0x6a,0x77,0x6b]),_0x391d2d,{[_0x4f73bb([0x6e,0x61,0x6d,0x65])]:_0x4f73bb([0x45,0x43,0x44,0x53,0x41]),[_0x4f73bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f73bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f73bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f967e[_0x4f73bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f73bb([0x6e,0x61,0x6d,0x65])]:_0x4f73bb([0x45,0x43,0x44,0x53,0x41]),[_0x4f73bb([0x68,0x61,0x73,0x68])]:{[_0x4f73bb([0x6e,0x61,0x6d,0x65])]:_0x4f73bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fda1a,_0x5e076b,_0x567c54)||(_0x42f1bf=!0x1);}}function _0x13bb5b(_0x23e977){return _0x23e977[_0x4f73bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f73bb([0x65,0x79]))?JSON[_0x4f73bb([0x70,0x61,0x72,0x73,0x65])](_0x45568d(_0x23e977)):null;}function _0x45568d(_0xcc583b){return window[_0x4f73bb([0x61,0x74,0x6f,0x62])](_0xcc583b[_0x4f73bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f73bb([0x2b]))[_0x4f73bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f73bb([0x2f])));}function _0x29ad4c(_0x287101){let _0x1948f5=0x1505;function _0x12ca66(_0xef0b0e){for(let _0x17b23c=0x0;_0x17b23c<_0xef0b0e[_0x4f73bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17b23c++){const _0x30dfcb=_0xef0b0e[_0x4f73bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17b23c);_0x1948f5=(_0x1948f5<<0x5)+_0x1948f5+_0x30dfcb,_0x1948f5&=_0x1948f5;}}function _0x2ff3ca(_0x3ffff7){Array[_0x4f73bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ffff7)?_0x3ffff7[_0x4f73bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ff3ca):_0x3ffff7&&typeof _0x3ffff7==_0x4f73bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f73bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ffff7)[_0x4f73bb([0x73,0x6f,0x72,0x74])]()[_0x4f73bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d9bb2,_0x391670])=>{_0x12ca66(_0x4d9bb2),_0x2ff3ca(_0x391670);}):_0x12ca66(window[_0x4f73bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ffff7));}return _0x2ff3ca(_0x287101),_0x1948f5>>>0x0;}function _0x30260d(_0x475195){return _0x475195[_0x4f73bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f73bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f73bb([0x30]));}function _0x598ba6(_0x402af3){return _0x402af3[_0x4f73bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f73bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f73bb([0x6a,0x6f,0x69,0x6e])]('');}function _0xaf60f1(){}function _0x4f73bb(_0x24ceb5){const _0x1d88d3=_0x8186;return _0x24ceb5[_0x1d88d3(0x16a)](_0x32a562=>String[_0x1d88d3(0x13c)](_0x32a562))[_0x1d88d3(0x13e)]('');}_0x528278(await _0x18a4b7());}(this);}[_0x16bce6(0x166)](){const _0x347d4a=_0x16bce6,_0x5cef7e=this[_0x347d4a(0x163)][_0x347d4a(0x14d)][_0x347d4a(0x125)];_0x5cef7e[_0x347d4a(0x147)](_0x347d4a(0x151))&&_0x5cef7e[_0x347d4a(0x12c)](_0x347d4a(0x151),{'allowAttributes':[_0x347d4a(0x159)]}),_0x5cef7e[_0x347d4a(0x147)](_0x347d4a(0x146))&&_0x5cef7e[_0x347d4a(0x12c)](_0x347d4a(0x146),{'allowAttributes':[_0x347d4a(0x159)]});}[_0x16bce6(0x124)](){const _0x483db1=_0x16bce6,_0x293b34=this[_0x483db1(0x163)];_0x293b34[_0x483db1(0x16c)][_0x483db1(0x156)](_0x483db1(0x120))[_0x483db1(0x155)]({'model':_0x483db1(0x159),'view':_0x483db1(0x145)}),_0x293b34[_0x483db1(0x16c)][_0x483db1(0x156)](_0x483db1(0x14a))[_0x483db1(0x15e)]({'model':{'key':_0x483db1(0x159),'value':_0x3a2bc4=>_0x3a2bc4[_0x483db1(0x129)](_0x483db1(0x145))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x8302ef=_0x293b34[_0x483db1(0x16e)][_0x483db1(0x130)](_0x483db1(0x122));_0x8302ef&&this[_0x483db1(0x12f)](_0x8302ef,_0x483db1(0x12d),(_0x4ed3dc,[_0x40090f,_0x3c7430])=>{const _0x37d2fc=_0x483db1;_0x40090f[_0x37d2fc(0x168)](_0x37d2fc(0x159),_0x3c7430);});}[_0x16bce6(0x12b)](){const _0xac03d6=_0x16bce6,_0x38e5e1=this[_0xac03d6(0x163)][_0xac03d6(0x167)][_0xac03d6(0x130)](_0xac03d6(0x137))||{},_0x5d49a6=this[_0xac03d6(0x163)][_0xac03d6(0x167)][_0xac03d6(0x130)](_0xac03d6(0x16b))||'';this[_0xac03d6(0x16d)]=_0x43dbc4(_0x1d47ae[_0xac03d6(0x161)],_0xac03d6(0x16f),{..._0x38e5e1,'pubkey':_0x5d49a6,'ctx-name':_0xac03d6(0x12e)+this[_0xac03d6(0x143)],'sourceList':'','imgOnly':_0xac03d6(0x162),'removeCopyright':_0xac03d6(0x162),'localeName':this[_0xac03d6(0x163)][_0xac03d6(0x148)][_0xac03d6(0x134)],'externalSourcesEmbedCss':_0xac03d6(0x152)}),this[_0xac03d6(0x16d)][_0xac03d6(0x138)]=_0x369ee2=>{const _0x4675cc=_0xac03d6;if(_0x4675cc(0x133)==_0x369ee2)return _0x4675cc(0x142);},_0x1d47ae[_0xac03d6(0x161)][_0xac03d6(0x157)][_0xac03d6(0x136)](this[_0xac03d6(0x16d)]);}[_0x16bce6(0x132)](){const _0x45b63f=_0x16bce6;this[_0x45b63f(0x144)]=_0x43dbc4(_0x1d47ae[_0x45b63f(0x161)],_0x45b63f(0x12a),{'ctx-name':_0x45b63f(0x12e)+this[_0x45b63f(0x143)]}),_0x1d47ae[_0x45b63f(0x161)][_0x45b63f(0x157)][_0x45b63f(0x136)](this[_0x45b63f(0x144)]);}[_0x16bce6(0x140)](){const _0x79e5=_0x16bce6,_0x2cd4b8=this[_0x79e5(0x163)][_0x79e5(0x16e)][_0x79e5(0x130)](_0x79e5(0x171));_0x2cd4b8&&this[_0x79e5(0x12f)](_0x2cd4b8,_0x79e5(0x165),()=>{const _0x11f51a=_0x79e5,_0x3d53f7=this[_0x11f51a(0x163)][_0x11f51a(0x14d)][_0x11f51a(0x161)][_0x11f51a(0x15b)][_0x11f51a(0x135)]();_0x3d53f7&&_0x3d53f7[_0x11f51a(0x129)](_0x11f51a(0x159))&&this[_0x11f51a(0x163)][_0x11f51a(0x131)][_0x11f51a(0x172)][_0x11f51a(0x153)](_0x11f51a(0x13b),()=>{const _0x291226=_0x11f51a;_0x423cea(this[_0x291226(0x163)],_0x3d53f7);});});const _0x12fe42=this[_0x79e5(0x163)][_0x79e5(0x16e)][_0x79e5(0x130)](_0x79e5(0x158));_0x12fe42&&this[_0x79e5(0x12f)](_0x12fe42,_0x79e5(0x165),()=>{const _0x144abe=_0x79e5,_0x18ebf8=this[_0x144abe(0x163)][_0x144abe(0x14d)][_0x144abe(0x161)][_0x144abe(0x15b)][_0x144abe(0x135)]();_0x18ebf8&&_0x18ebf8[_0x144abe(0x129)](_0x144abe(0x159))&&this[_0x144abe(0x163)][_0x144abe(0x131)][_0x144abe(0x172)][_0x144abe(0x153)](_0x144abe(0x13b),()=>{const _0x551089=_0x144abe;_0x423cea(this[_0x551089(0x163)],_0x18ebf8);});});}}
23
+ function _0x2277(_0x2a15fc,_0x3cf9cd){const _0x2e14b9=_0x2e14();return _0x2277=function(_0x22771a,_0x3effee){_0x22771a=_0x22771a-0x1d3;let _0x2418c3=_0x2e14b9[_0x22771a];return _0x2418c3;},_0x2277(_0x2a15fc,_0x3cf9cd);}const _0x57a505=_0x2277;function _0x2e14(){const _0x40e043=['pluginName','body','downcast','closeMax','_initConfig','view','28FoPqEZ','UploadcareEditing','482093axETwb','remove','_initSchema','_initCtx','4118103OuWpcI','document','2537478PzKeNn','#uc-icon-arrow-down','href','20cwCJUO','once','fromCharCode','commands','removeAttribute','true','appendChild','input[uploadcare-file-input]','selection','ucContextId','getAttribute','extend','render','1841052VgVMlc','destroy','replaceImageSource','PictureEditing','contentLanguage','execute','conversion','isRegistered','uc-upload-ctx-provider','uploadcare','elementToAttribute','isOfficialPlugin','uploadcare.pubkey','4SpvWgA','requires','isPremiumPlugin','_ctxElement','379256lbryKg','_initImageProcessingIndicator','join','data-uc-image-id','get','editor','ctxElement','\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','_configElement','2962215zaBhuH','attributeToAttribute','uploader-','upcast','locale','71778plKZiW','uploadcare.uploader','imageInline','config','getSelectedElement','model','editing','iconHrefResolver','cleanupImage','insertImage','for','uc-config','configElement','imageBlock','4yXjlXy','init','add','map','uploadcareImageReplace','schema','afterInit','uploadcareImageId','querySelector','_initConversion','listenTo'];_0x2e14=function(){return _0x40e043;};return _0x2e14();}(function(_0x3cc20c,_0x3c51ee){const _0x404201=_0x2277,_0x28a38b=_0x3cc20c();while(!![]){try{const _0x3b3486=-parseInt(_0x404201(0x210))/0x1*(-parseInt(_0x404201(0x1fd))/0x2)+parseInt(_0x404201(0x226))/0x3*(parseInt(_0x404201(0x1dd))/0x4)+-parseInt(_0x404201(0x1ea))/0x5+parseInt(_0x404201(0x1ef))/0x6+-parseInt(_0x404201(0x20e))/0x7*(-parseInt(_0x404201(0x1e1))/0x8)+parseInt(_0x404201(0x216))/0x9+-parseInt(_0x404201(0x219))/0xa*(parseInt(_0x404201(0x214))/0xb);if(_0x3b3486===_0x3c51ee)break;else _0x28a38b['push'](_0x28a38b['shift']());}catch(_0x27793a){_0x28a38b['push'](_0x28a38b['shift']());}}}(_0x2e14,0xafd56));import{Plugin as _0x1010bf}from'ckeditor5/src/core.js';import{Dialog as _0x5df24d}from'ckeditor5/src/ui.js';import{createElement as _0x50509a,global as _0x42ff5e,uid as _0x1d2266}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x854ea4}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2debdc}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4dee5d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1010bf{[_0x57a505(0x1e9)]=null;[_0x57a505(0x1e0)]=null;static get[_0x57a505(0x208)](){const _0x4fb889=_0x57a505;return _0x4fb889(0x20f);}static get[_0x57a505(0x1de)](){const _0x406810=_0x57a505;return[_0x406810(0x1d3),_0x2debdc,_0x5df24d];}static get[_0x57a505(0x1db)](){return!0x0;}static get[_0x57a505(0x1df)](){return!0x0;}[_0x57a505(0x222)];get[_0x57a505(0x1fb)](){const _0x55a68b=_0x57a505;return this[_0x55a68b(0x1e9)];}get[_0x57a505(0x1e7)](){const _0x5ebdbb=_0x57a505;return this[_0x5ebdbb(0x1e0)];}constructor(_0x2d57b8){const _0x1267ed=_0x57a505;super(_0x2d57b8),this[_0x1267ed(0x222)]=_0x1d2266();}[_0x57a505(0x1fe)](){const _0x4174b6=_0x57a505,_0x46c3e8=this[_0x4174b6(0x1e6)];_0x46c3e8[_0x4174b6(0x21c)][_0x4174b6(0x1ff)](_0x4174b6(0x1d9),new _0x854ea4(_0x46c3e8));}[_0x57a505(0x203)](){const _0x5dbba1=_0x57a505;this[_0x5dbba1(0x212)](),this[_0x5dbba1(0x206)](),this[_0x5dbba1(0x20c)](),this[_0x5dbba1(0x213)](),this[_0x5dbba1(0x1e2)](),this[_0x5dbba1(0x207)](this[_0x5dbba1(0x1e6)],_0x5dbba1(0x227),()=>{const _0x49f27e=_0x5dbba1;this[_0x49f27e(0x1e9)]&&(this[_0x49f27e(0x1e9)][_0x49f27e(0x211)](),this[_0x49f27e(0x1e9)]=null),this[_0x49f27e(0x1e0)]&&(this[_0x49f27e(0x1e0)][_0x49f27e(0x211)](),this[_0x49f27e(0x1e0)]=null);const _0x95efa5=_0x42ff5e[_0x49f27e(0x215)][_0x49f27e(0x205)](_0x49f27e(0x220));_0x95efa5&&_0x95efa5[_0x49f27e(0x211)]();}),async function(_0x1fb42){const _0x22f3c1=_0x2a4760([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]),_0x452d7b=0x535f8c3a,_0xfa0d5c=0x535803fa^_0x452d7b,_0x174240=window[_0x2a4760([0x44,0x61,0x74,0x65])][_0x2a4760([0x6e,0x6f,0x77])](),_0x2d02cc=_0x1fb42[_0x2a4760([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24d512=new window[(_0x2a4760([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a7e0e=>{_0x2d02cc[_0x2a4760([0x6f,0x6e,0x63,0x65])](_0x2a4760([0x72,0x65,0x61,0x64,0x79]),_0x1a7e0e);}),_0x5dc3ad={[_0x2a4760([0x6b,0x74,0x79])]:_0x2a4760([0x45,0x43]),[_0x2a4760([0x75,0x73,0x65])]:_0x2a4760([0x73,0x69,0x67]),[_0x2a4760([0x63,0x72,0x76])]:_0x2a4760([0x50,0x2d,0x32,0x35,0x36]),[_0x2a4760([0x78])]:_0x2a4760([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]),[_0x2a4760([0x79])]:_0x2a4760([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]),[_0x2a4760([0x61,0x6c,0x67])]:_0x2a4760([0x45,0x53,0x32,0x35,0x36])},_0x1fe6d7=_0x2d02cc[_0x2a4760([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a4760([0x67,0x65,0x74])](_0x2a4760([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xdaeac9(){let _0xbb1a9c,_0x448660=null,_0x4333c=null;try{if(_0x1fe6d7==_0x2a4760([0x47,0x50,0x4c]))return _0x2a4760([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbb1a9c=_0x349ecb(),!_0xbb1a9c)return _0x2a4760([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbb1a9c[_0x2a4760([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4333c=_0x583959(_0xbb1a9c[_0x2a4760([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbb1a9c[_0x2a4760([0x6a,0x74,0x69])])),await _0x4541e7()?_0x4e5ca6()?_0x1fb5cc()?_0x2a4760([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc123a5()?(_0xbb1a9c[_0x2a4760([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4760([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x448660=_0x384e31(_0x2a4760([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53352b()):_0x2a4760([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4760([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a4760([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a4760([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1fb5cc(){const _0x314b19=[_0x2a4760([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a4760([0x74,0x72,0x69,0x61,0x6c])][_0x2a4760([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb1a9c[_0x2a4760([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x174240/0x3e8:0xe10*_0xfa0d5c;return _0xbb1a9c[_0x2a4760([0x65,0x78,0x70])]<_0x314b19;}function _0x4e5ca6(){const _0x1a64d4=_0xbb1a9c[_0x2a4760([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a64d4&&(!!_0x1a64d4[_0x2a4760([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4760([0x2a]))||!!_0x1a64d4[_0x2a4760([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4760([0x55,0x50,0x4c,0x43])));}function _0xc123a5(){const _0x2b5208=_0x2277,_0x492ee0=_0xbb1a9c[_0x2a4760([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x492ee0||0x0==_0x492ee0[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40cacd}=new URL(window[_0x2a4760([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b5208(0x218)]);if(_0x492ee0[_0x2a4760([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40cacd))return!0x0;const _0x4bc46d=_0x40cacd[_0x2a4760([0x73,0x70,0x6c,0x69,0x74])](_0x2a4760([0x2e]));return _0x492ee0[_0x2a4760([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe3e555=>_0xe3e555[_0x2a4760([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4760([0x2a])))[_0x2a4760([0x6d,0x61,0x70])](_0x43b67f=>_0x43b67f[_0x2a4760([0x73,0x70,0x6c,0x69,0x74])](_0x2a4760([0x2e])))[_0x2a4760([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3663bc=>_0x3663bc[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4bc46d[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a4760([0x6d,0x61,0x70])](_0x11bb20=>Array(_0x4bc46d[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11bb20[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a4760([0x66,0x69,0x6c,0x6c])](_0x11bb20[0x0]===_0x2a4760([0x2a])?_0x2a4760([0x2a]):'')[_0x2a4760([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11bb20))[_0x2a4760([0x73,0x6f,0x6d,0x65])](_0x317cbf=>_0x4bc46d[_0x2a4760([0x65,0x76,0x65,0x72,0x79])]((_0x5467d8,_0x17555f)=>_0x317cbf[_0x17555f]===_0x5467d8||_0x317cbf[_0x17555f]===_0x2a4760([0x2a])));}function _0x53352b(){return _0x448660&&_0x4333c?new window[(_0x2a4760([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40393d,_0x105fed)=>{_0x448660[_0x2a4760([0x74,0x68,0x65,0x6e])](_0x40393d,_0x105fed),_0x4333c[_0x2a4760([0x74,0x68,0x65,0x6e])](_0x19dff2=>{_0x19dff2!=_0x2a4760([0x56,0x61,0x6c,0x69,0x64])&&_0x40393d(_0x19dff2);},_0x105fed);}):_0x448660||_0x4333c||_0x2a4760([0x56,0x61,0x6c,0x69,0x64]);}}function _0x583959(_0x3da491,_0x1e3ba9){return new window[(_0x2a4760([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x993cda=>{if(_0x45eff6())return _0x993cda(_0x2a4760([0x56,0x61,0x6c,0x69,0x64]));_0x12cfb5(),_0x2d02cc[_0x2a4760([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a4760([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x363024=!0x1;const _0x4540d3=_0x1d2266();function _0x590f0b(_0x50ac21){return!!_0x50ac21&&(typeof _0x50ac21===_0x2a4760([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50ac21===_0x2a4760([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50ac21[_0x2a4760([0x74,0x68,0x65,0x6e])]===_0x2a4760([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50ac21[_0x2a4760([0x63,0x61,0x74,0x63,0x68])]===_0x2a4760([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a477c(_0x55252a){_0x174939(_0x55252a)[_0x2a4760([0x74,0x68,0x65,0x6e])](_0x49786e=>{if(!_0x49786e||_0x49786e[_0x2a4760([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a4760([0x6f,0x6b]))return _0x2a4760([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x367251(_0x120402(_0x4540d3+_0x1e3ba9))!=_0x49786e[_0x2a4760([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a4760([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4760([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4760([0x74,0x68,0x65,0x6e])](_0x13a37e=>(_0x3bbe13(),_0x13a37e),()=>{const _0x18fdf1=_0x25065c();return null==_0x18fdf1?(_0x3bbe13(),_0x2a4760([0x56,0x61,0x6c,0x69,0x64])):_0x2a4760(_0x174240-_0x18fdf1>(0x7753083a^_0x452d7b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4760([0x74,0x68,0x65,0x6e])](_0x993cda)[_0x2a4760([0x63,0x61,0x74,0x63,0x68])](()=>{_0x993cda(_0x2a4760([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf3675f=0x536962ba^_0x452d7b;function _0x3bbe13(){const _0x4e3d0a=_0x2a4760([0x6c,0x6c,0x63,0x74,0x2d])+_0x367251(_0x120402(_0x3da491)),_0x51cee5=_0x386103(_0x367251(window[_0x2a4760([0x4d,0x61,0x74,0x68])][_0x2a4760([0x63,0x65,0x69,0x6c])](_0x174240/_0xf3675f)));window[_0x2a4760([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4760([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e3d0a,_0x51cee5);}function _0x25065c(){const _0x22d39a=_0x2a4760([0x6c,0x6c,0x63,0x74,0x2d])+_0x367251(_0x120402(_0x3da491)),_0x2c83d9=window[_0x2a4760([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4760([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22d39a);return _0x2c83d9?window[_0x2a4760([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x386103(_0x2c83d9),0x10)*_0xf3675f:null;}function _0x174939(_0x396f18){return new window[(_0x2a4760([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ed98c,_0x207c6f)=>{_0x396f18[_0x2a4760([0x74,0x68,0x65,0x6e])](_0x5ed98c,_0x207c6f),window[_0x2a4760([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x207c6f,0x535e58fa^_0x452d7b);});}}_0x2d02cc[_0x2a4760([0x6f,0x6e])](_0x2a4760([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe4a930,_0x537940)=>{if(_0x537940[0x0]!=_0x3da491)return _0x993cda(_0x2a4760([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x537940[0x1]={..._0x537940[0x1],[_0x2a4760([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4540d3};},{[_0x2a4760([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4760([0x68,0x69,0x67,0x68])}),_0x2d02cc[_0x2a4760([0x6f,0x6e])](_0x2a4760([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x546598=>{_0x590f0b(_0x546598[_0x2a4760([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x363024=!0x0,_0x2a477c(_0x546598[_0x2a4760([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a4760([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4760([0x6c,0x6f,0x77])}),_0x24d512[_0x2a4760([0x74,0x68,0x65,0x6e])](()=>{_0x363024||_0x993cda(_0x2a4760([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x45eff6(){return _0x2d02cc[_0x2a4760([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4760([0x76,0x69,0x65,0x77])][_0x2a4760([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a4760([0x61,0x75,0x74,0x6f]);}function _0x12cfb5(){_0x2d02cc[_0x2a4760([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4760([0x76,0x69,0x65,0x77])][_0x2a4760([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a4760([0x61,0x75,0x74,0x6f]);}}function _0x384e31(_0x7201e9){const _0x55df40=[new window[(_0x2a4760([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1426b5=>setTimeout(_0x1426b5,0x5356b2f6^_0x452d7b)),_0x24d512[_0x2a4760([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a4760([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f8e6c=>{let _0x3e9038=0x0;_0x2d02cc[_0x2a4760([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4760([0x6f,0x6e])](_0x2a4760([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c2769,_0x1658ab)=>{_0x1658ab[0x0][_0x2a4760([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e9038++,_0x3e9038==(0x535f89d2^_0x452d7b)&&(_0x1f8e6c(),_0x1c2769[_0x2a4760([0x6f,0x66,0x66])]());});}))];return window[_0x2a4760([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a4760([0x72,0x61,0x63,0x65])](_0x55df40)[_0x2a4760([0x74,0x68,0x65,0x6e])](()=>_0x7201e9);}async function _0x383032(){await _0x24d512,_0x2d02cc[_0x2a4760([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4760([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ecc9a,_0x2d02cc[_0x2a4760([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4760([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ecc9a,_0x2d02cc[_0x2a4760([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a4760([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x240c12(_0x6185bf){const _0x4aa808=_0x147fca();_0x2d02cc[_0x4aa808]=_0x2a4760([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6185bf,_0x6185bf!=_0x2a4760([0x56,0x61,0x6c,0x69,0x64])&&_0x383032();}function _0x147fca(){const _0x18b73b=window[_0x2a4760([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a4760([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a4760([0x6e,0x6f,0x77])]())[_0x2a4760([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a4760([0x2e]),'');let _0x13f380=_0x2a4760([0x68]);for(let _0x29831b=0x0;_0x29831b<_0x18b73b[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29831b+=0x2){let _0x2d091e=window[_0x2a4760([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18b73b[_0x2a4760([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29831b,_0x29831b+0x2));_0x2d091e>=_0x22f3c1[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d091e-=_0x22f3c1[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13f380+=_0x22f3c1[_0x2d091e];}return _0x13f380;}function _0x349ecb(){const _0x16fb41=_0x1fe6d7[_0x2a4760([0x73,0x70,0x6c,0x69,0x74])](_0x2a4760([0x2e]));if(0x3!=_0x16fb41[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24ea74(_0x16fb41[0x1]);function _0x24ea74(_0x4d3372){const _0x465cec=_0x29c67d(_0x4d3372);return _0x465cec&&_0x915791()?_0x465cec:null;function _0x915791(){const _0x3fbe22=_0x465cec[_0x2a4760([0x6a,0x74,0x69])],_0xd3e458=window[_0x2a4760([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fbe22[_0x2a4760([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fbe22[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x213091={..._0x465cec,[_0x2a4760([0x6a,0x74,0x69])]:_0x3fbe22[_0x2a4760([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3fbe22[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x213091[_0x2a4760([0x76,0x63])],_0x120402(_0x213091)==_0xd3e458;}}}async function _0x4541e7(){let _0xeccfe3=!0x0;try{const _0x2f823a=_0x1fe6d7[_0x2a4760([0x73,0x70,0x6c,0x69,0x74])](_0x2a4760([0x2e])),[_0x461877,_0x281046,_0x5e9a60]=_0x2f823a;return _0x49b813(_0x461877),await _0x285a64(_0x461877,_0x281046,_0x5e9a60),_0xeccfe3;}catch{return!0x1;}function _0x49b813(_0x28080d){const _0x14f0db=_0x29c67d(_0x28080d);_0x14f0db&&_0x14f0db[_0x2a4760([0x61,0x6c,0x67])]==_0x2a4760([0x45,0x53,0x32,0x35,0x36])||(_0xeccfe3=!0x1);}async function _0x285a64(_0x45da24,_0x2220a4,_0x123ffa){const _0x428891=window[_0x2a4760([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a4760([0x66,0x72,0x6f,0x6d])](_0x3d4810(_0x123ffa),_0x465936=>_0x465936[_0x2a4760([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x575eb4=new window[(_0x2a4760([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a4760([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45da24+_0x2a4760([0x2e])+_0x2220a4),_0x15e645=window[_0x2a4760([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a4760([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15e645)return;const _0x508d5e=await _0x15e645[_0x2a4760([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a4760([0x6a,0x77,0x6b]),_0x5dc3ad,{[_0x2a4760([0x6e,0x61,0x6d,0x65])]:_0x2a4760([0x45,0x43,0x44,0x53,0x41]),[_0x2a4760([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a4760([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a4760([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15e645[_0x2a4760([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a4760([0x6e,0x61,0x6d,0x65])]:_0x2a4760([0x45,0x43,0x44,0x53,0x41]),[_0x2a4760([0x68,0x61,0x73,0x68])]:{[_0x2a4760([0x6e,0x61,0x6d,0x65])]:_0x2a4760([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x508d5e,_0x428891,_0x575eb4)||(_0xeccfe3=!0x1);}}function _0x29c67d(_0x189ff4){return _0x189ff4[_0x2a4760([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a4760([0x65,0x79]))?JSON[_0x2a4760([0x70,0x61,0x72,0x73,0x65])](_0x3d4810(_0x189ff4)):null;}function _0x3d4810(_0x53c69c){return window[_0x2a4760([0x61,0x74,0x6f,0x62])](_0x53c69c[_0x2a4760([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a4760([0x2b]))[_0x2a4760([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a4760([0x2f])));}function _0x120402(_0x1e7496){let _0x373e78=0x1505;function _0x327a65(_0x551ddc){for(let _0x24afd8=0x0;_0x24afd8<_0x551ddc[_0x2a4760([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24afd8++){const _0x1a7c5d=_0x551ddc[_0x2a4760([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24afd8);_0x373e78=(_0x373e78<<0x5)+_0x373e78+_0x1a7c5d,_0x373e78&=_0x373e78;}}function _0x547769(_0x24ff2e){Array[_0x2a4760([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24ff2e)?_0x24ff2e[_0x2a4760([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x547769):_0x24ff2e&&typeof _0x24ff2e==_0x2a4760([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a4760([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24ff2e)[_0x2a4760([0x73,0x6f,0x72,0x74])]()[_0x2a4760([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a51d7,_0x274927])=>{_0x327a65(_0x2a51d7),_0x547769(_0x274927);}):_0x327a65(window[_0x2a4760([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24ff2e));}return _0x547769(_0x1e7496),_0x373e78>>>0x0;}function _0x367251(_0xaa958c){return _0xaa958c[_0x2a4760([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a4760([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a4760([0x30]));}function _0x386103(_0x3f0ee8){return _0x3f0ee8[_0x2a4760([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a4760([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a4760([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ecc9a(){}function _0x2a4760(_0x56dfa8){const _0x162d89=_0x2277;return _0x56dfa8[_0x162d89(0x200)](_0x130a60=>String[_0x162d89(0x21b)](_0x130a60))[_0x162d89(0x1e3)]('');}_0x240c12(await _0xdaeac9());}(this);}[_0x57a505(0x212)](){const _0x12b161=_0x57a505,_0x1d5249=this[_0x12b161(0x1e6)][_0x12b161(0x1f4)][_0x12b161(0x202)];_0x1d5249[_0x12b161(0x1d7)](_0x12b161(0x1fc))&&_0x1d5249[_0x12b161(0x224)](_0x12b161(0x1fc),{'allowAttributes':[_0x12b161(0x204)]}),_0x1d5249[_0x12b161(0x1d7)](_0x12b161(0x1f1))&&_0x1d5249[_0x12b161(0x224)](_0x12b161(0x1f1),{'allowAttributes':[_0x12b161(0x204)]});}[_0x57a505(0x206)](){const _0x1144fa=_0x57a505,_0x4fa560=this[_0x1144fa(0x1e6)];_0x4fa560[_0x1144fa(0x1d6)][_0x1144fa(0x1f9)](_0x1144fa(0x20a))[_0x1144fa(0x1eb)]({'model':_0x1144fa(0x204),'view':_0x1144fa(0x1e4)}),_0x4fa560[_0x1144fa(0x1d6)][_0x1144fa(0x1f9)](_0x1144fa(0x1ed))[_0x1144fa(0x1da)]({'model':{'key':_0x1144fa(0x204),'value':_0x2da91b=>_0x2da91b[_0x1144fa(0x223)](_0x1144fa(0x1e4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1cfd6d=_0x4fa560[_0x1144fa(0x21c)][_0x1144fa(0x1e5)](_0x1144fa(0x228));_0x1cfd6d&&this[_0x1144fa(0x207)](_0x1cfd6d,_0x1144fa(0x1f7),(_0x3ed640,[_0xf2405e,_0x278b75])=>{const _0x440b9a=_0x1144fa;_0xf2405e[_0x440b9a(0x21d)](_0x440b9a(0x204),_0x278b75);});}[_0x57a505(0x20c)](){const _0x381d97=_0x57a505,_0x2ba325=this[_0x381d97(0x1e6)][_0x381d97(0x1f2)][_0x381d97(0x1e5)](_0x381d97(0x1f0))||{},_0x30845e=this[_0x381d97(0x1e6)][_0x381d97(0x1f2)][_0x381d97(0x1e5)](_0x381d97(0x1dc))||'';this[_0x381d97(0x1e9)]=_0x50509a(_0x42ff5e[_0x381d97(0x215)],_0x381d97(0x1fa),{..._0x2ba325,'pubkey':_0x30845e,'ctx-name':_0x381d97(0x1ec)+this[_0x381d97(0x222)],'sourceList':'','imgOnly':_0x381d97(0x21e),'removeCopyright':_0x381d97(0x21e),'localeName':this[_0x381d97(0x1e6)][_0x381d97(0x1ee)][_0x381d97(0x1d4)],'externalSourcesEmbedCss':_0x381d97(0x1e8)}),this[_0x381d97(0x1e9)][_0x381d97(0x1f6)]=_0x2f3288=>{const _0x56c487=_0x381d97;if(_0x56c487(0x20b)==_0x2f3288)return _0x56c487(0x217);},_0x42ff5e[_0x381d97(0x215)][_0x381d97(0x209)][_0x381d97(0x21f)](this[_0x381d97(0x1e9)]);}[_0x57a505(0x213)](){const _0x20cdd4=_0x57a505;this[_0x20cdd4(0x1e0)]=_0x50509a(_0x42ff5e[_0x20cdd4(0x215)],_0x20cdd4(0x1d8),{'ctx-name':_0x20cdd4(0x1ec)+this[_0x20cdd4(0x222)]}),_0x42ff5e[_0x20cdd4(0x215)][_0x20cdd4(0x209)][_0x20cdd4(0x21f)](this[_0x20cdd4(0x1e0)]);}[_0x57a505(0x1e2)](){const _0x4c1a98=_0x57a505,_0x1fe7cb=this[_0x4c1a98(0x1e6)][_0x4c1a98(0x21c)][_0x4c1a98(0x1e5)](_0x4c1a98(0x1f8));_0x1fe7cb&&this[_0x4c1a98(0x207)](_0x1fe7cb,_0x4c1a98(0x1d5),()=>{const _0x1c523e=_0x4c1a98,_0x102348=this[_0x1c523e(0x1e6)][_0x1c523e(0x1f4)][_0x1c523e(0x215)][_0x1c523e(0x221)][_0x1c523e(0x1f3)]();_0x102348&&_0x102348[_0x1c523e(0x223)](_0x1c523e(0x204))&&this[_0x1c523e(0x1e6)][_0x1c523e(0x1f5)][_0x1c523e(0x20d)][_0x1c523e(0x21a)](_0x1c523e(0x225),()=>{const _0x5409af=_0x1c523e;_0x4dee5d(this[_0x5409af(0x1e6)],_0x102348);});});const _0x2ac4df=this[_0x4c1a98(0x1e6)][_0x4c1a98(0x21c)][_0x4c1a98(0x1e5)](_0x4c1a98(0x201));_0x2ac4df&&this[_0x4c1a98(0x207)](_0x2ac4df,_0x4c1a98(0x1d5),()=>{const _0x1d31d7=_0x4c1a98,_0x3bfd37=this[_0x1d31d7(0x1e6)][_0x1d31d7(0x1f4)][_0x1d31d7(0x215)][_0x1d31d7(0x221)][_0x1d31d7(0x1f3)]();_0x3bfd37&&_0x3bfd37[_0x1d31d7(0x223)](_0x1d31d7(0x204))&&this[_0x1d31d7(0x1e6)][_0x1d31d7(0x1f5)][_0x1d31d7(0x20d)][_0x1d31d7(0x21a)](_0x1d31d7(0x225),()=>{const _0x3e28bd=_0x1d31d7;_0x4dee5d(this[_0x3e28bd(0x1e6)],_0x3bfd37);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1133d2,ObservableMixin as _0x338ca3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x39518a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x57b1fa}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x101ff6}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x344dd3}from'../../utils/uploadutils.js';import{getImageUrls as _0x564cae,getImageDimension as _0x2ec61d}from'../../utils/editingutils.js';import{isAncestor as _0x99d82f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x338ca3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f3920,_0x29f9a7,_0x18c5ad){super(),this['_editor']=_0x1f3920,this['_dialog']=_0x29f9a7,this['_imageElement']=_0x18c5ad,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 _0x11d040=this['_imageElement'],_0x56b995=_0x11d040['getAttribute']('uploadcareImageId'),_0x14f2c5=_0x11d040['getAttribute']('src');if(_0x56b995)await this['_loadImageInfo'](_0x56b995,_0x14f2c5);else{if(this['_imageCache']['has'](_0x14f2c5)){const _0x4bda44=this['_imageCache']['get'](_0x14f2c5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bda44['url'],this['imageDimension']=_0x4bda44['dimension'],this['imageId']=_0x4bda44['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52c8a2}=this['_editor'],t=_0x52c8a2['t'],_0x41cb5b=new _0x101ff6(_0x52c8a2,this['imageStatus'],this['_attributes']);_0x41cb5b['bind']('status')['to'](this,'imageStatus'),_0x41cb5b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41cb5b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41cb5b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41cb5b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x57b1fa,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41cb5b,'position':_0x39518a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41cb5b['focus']();},'onHide':()=>{_0x41cb5b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4380b9=>!_0x99d82f(_0x4380b9,_0x41cb5b['element'])}});}['_loadImageInfo'](_0x4aab14,_0x12bc51){return _0x344dd3['getInfo'](_0x4aab14,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2e9001=>{const {width:_0xf0818,height:_0x4738aa}=_0x2e9001['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12bc51,this['imageDimension']={'width':_0xf0818,'height':_0x4738aa},this['imageId']=_0x4aab14;})['catch'](_0xb2a919=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb2a919['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x47e0fd,_0x5375cb){return this['_getImageAsFile'](_0x47e0fd)['then'](_0x150638=>_0x344dd3['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':_0x5375cb['signal'],'file':_0x150638,'onProgress':_0x3ba516=>{_0x3ba516&&_0x3ba516['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3ba516['value']));}}))['then'](_0x258966=>{const {width:_0x44ed47,height:_0x558aa5}=_0x258966['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x258966['cdnUrl'],this['imageDimension']={'width':_0x44ed47,'height':_0x558aa5},this['imageId']=_0x258966['uuid'],this['imageUploadProgress']=null;const _0xf6be2f=_0x47e0fd['getAttribute']('src');this['_imageCache']['set'](_0xf6be2f,{'id':_0x258966['uuid'],'url':_0x258966['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x7615fd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7615fd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x11becd,_0x2a3caa){_0x11becd['on']('apply',(_0x221171,_0x5ea2fe)=>{this['_replaceImage'](_0x2a3caa,_0x5ea2fe['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x11becd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x11becd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x489a99,_0x4a1122,_0x1b7514){const _0x354d34=this['_editor'],{width:_0x27f34f,height:_0x30be36}=_0x2ec61d(_0x4a1122,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x308acf,imageSources:_0x455fb1}=_0x564cae(_0x4a1122,_0x27f34f);_0x354d34['model']['change'](_0x1733b9=>{if('$graveyard'===_0x489a99['root']['rootName']){_0x354d34['execute']('insertImage',{'imageType':_0x489a99['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x489a99['getAttributes']()),'uploadcareImageId':_0x1b7514,'src':_0x308acf,'sources':_0x455fb1,'width':_0x27f34f,'height':_0x30be36}});const _0x30d915=_0x489a99['getChildren']();_0x489a99=_0x354d34['model']['document']['selection']['getSelectedElement']();for(const _0x4f5a25 of _0x30d915)_0x1733b9['append'](_0x1733b9['cloneElement'](_0x4f5a25),_0x489a99);}else _0x1733b9['setSelection'](_0x489a99,'on'),_0x354d34['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x489a99['getAttributes']()),'uploadcareImageId':_0x1b7514,'src':_0x308acf,'sources':_0x455fb1,'width':_0x27f34f,'height':_0x30be36},_0x489a99);_0x1733b9['setSelection'](_0x489a99,'on');});}async['_getImageAsFile'](_0x24e21b){const _0x38e4b3=_0x1133d2['window'],_0x4cc2c5=_0x1133d2['document']['location']['href'],_0x221b85=new _0x38e4b3['URL'](_0x24e21b['getAttribute']('src'),_0x4cc2c5);if('data:'===_0x221b85['protocol']){const _0x2c30a7=_0x221b85['href']['split'](','),_0x4733d7=_0x2c30a7[0x0]['match'](/:(.*?);/)[0x1],_0x44667a=_0x4733d7['split']('/')[0x1],_0x1a8b32=_0x38e4b3['atob'](_0x2c30a7[_0x2c30a7['length']-0x1]);let _0x53953d=_0x1a8b32['length'];const _0x2ce1b5=new _0x38e4b3['Uint8Array'](_0x53953d);for(;_0x53953d--;)_0x2ce1b5[_0x53953d]=_0x1a8b32['charCodeAt'](_0x53953d);return new _0x38e4b3['File']([_0x2ce1b5],'image.'+_0x44667a,{'type':_0x4733d7});}const _0x50f817=_0x221b85['href']['split']('/'),_0x519215=_0x50f817[_0x50f817['length']-0x1],_0x608538=_0x519215['split']('.')[0x1];return _0x38e4b3['fetch'](_0x221b85['href'])['then'](_0x255ab7=>_0x255ab7['clone']()['blob']())['then'](_0x413c6c=>new _0x38e4b3['File']([_0x413c6c],_0x519215,{'type':'image/'+_0x608538}));}}
23
+ import{global as _0x4214b3,ObservableMixin as _0x4f06ab}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4a3786}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3ed628}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2eac7b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x59548e}from'../../utils/uploadutils.js';import{getImageUrls as _0x2dfd22,getImageDimension as _0x804d66}from'../../utils/editingutils.js';import{isAncestor as _0xbae634}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x4f06ab(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x28c613,_0x3b7da8,_0x38e6dc){super(),this['_editor']=_0x28c613,this['_dialog']=_0x3b7da8,this['_imageElement']=_0x38e6dc,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 _0x370de7=this['_imageElement'],_0x22cf82=_0x370de7['getAttribute']('uploadcareImageId'),_0xb9a669=_0x370de7['getAttribute']('src');if(_0x22cf82)await this['_loadImageInfo'](_0x22cf82,_0xb9a669);else{if(this['_imageCache']['has'](_0xb9a669)){const _0x3160a0=this['_imageCache']['get'](_0xb9a669);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3160a0['url'],this['imageDimension']=_0x3160a0['dimension'],this['imageId']=_0x3160a0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f3c7d}=this['_editor'],t=_0x2f3c7d['t'],_0x364b9e=new _0x2eac7b(_0x2f3c7d,this['imageStatus'],this['_attributes']);_0x364b9e['bind']('status')['to'](this,'imageStatus'),_0x364b9e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x364b9e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x364b9e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x364b9e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3ed628,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x364b9e,'position':_0x4a3786['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x364b9e['focus']();},'onHide':()=>{_0x364b9e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x35df6d=>!_0xbae634(_0x35df6d,_0x364b9e['element'])}});}['_loadImageInfo'](_0x33719a,_0xccd708){return _0x59548e['getInfo'](_0x33719a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3b8407=>{const {width:_0x52c8a6,height:_0x2c7027}=_0x3b8407['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xccd708,this['imageDimension']={'width':_0x52c8a6,'height':_0x2c7027},this['imageId']=_0x33719a;})['catch'](_0x1611b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1611b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x853748,_0x17e769){return this['_getImageAsFile'](_0x853748)['then'](_0x44e6d3=>_0x59548e['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':_0x17e769['signal'],'file':_0x44e6d3,'onProgress':_0x1c2b4c=>{_0x1c2b4c&&_0x1c2b4c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c2b4c['value']));}}))['then'](_0x5db418=>{const {width:_0x5687a7,height:_0x274c1a}=_0x5db418['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5db418['cdnUrl'],this['imageDimension']={'width':_0x5687a7,'height':_0x274c1a},this['imageId']=_0x5db418['uuid'],this['imageUploadProgress']=null;const _0x8fb8f0=_0x853748['getAttribute']('src');this['_imageCache']['set'](_0x8fb8f0,{'id':_0x5db418['uuid'],'url':_0x5db418['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x358fa1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x358fa1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5dd522,_0x5d6e4e){_0x5dd522['on']('apply',(_0xa7ed42,_0x30c2a7)=>{this['_replaceImage'](_0x5d6e4e,_0x30c2a7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5dd522['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5dd522['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x177085,_0x18319a,_0x36429d){const _0x1221e6=this['_editor'],{width:_0x1475b9,height:_0x43061d}=_0x804d66(_0x18319a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x6bb4e8,imageSources:_0xb8f0e}=_0x2dfd22(_0x18319a,_0x1475b9);_0x1221e6['model']['change'](_0x3c6173=>{if('$graveyard'===_0x177085['root']['rootName']){_0x1221e6['execute']('insertImage',{'imageType':_0x177085['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x177085['getAttributes']()),'uploadcareImageId':_0x36429d,'src':_0x6bb4e8,'sources':_0xb8f0e,'width':_0x1475b9,'height':_0x43061d}});const _0x184c41=_0x177085['getChildren']();_0x177085=_0x1221e6['model']['document']['selection']['getSelectedElement']();for(const _0x874d80 of _0x184c41)_0x3c6173['append'](_0x3c6173['cloneElement'](_0x874d80),_0x177085);}else _0x3c6173['setSelection'](_0x177085,'on'),_0x1221e6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x177085['getAttributes']()),'uploadcareImageId':_0x36429d,'src':_0x6bb4e8,'sources':_0xb8f0e,'width':_0x1475b9,'height':_0x43061d},_0x177085);_0x3c6173['setSelection'](_0x177085,'on');});}async['_getImageAsFile'](_0x524e01){const _0x30fb3b=_0x4214b3['window'],_0x547a88=_0x4214b3['document']['location']['href'],_0x4f2636=new _0x30fb3b['URL'](_0x524e01['getAttribute']('src'),_0x547a88);if('data:'===_0x4f2636['protocol']){const _0x37470b=_0x4f2636['href']['split'](','),_0x3942e4=_0x37470b[0x0]['match'](/:(.*?);/)[0x1],_0x471cfb=_0x3942e4['split']('/')[0x1],_0x2b8071=_0x30fb3b['atob'](_0x37470b[_0x37470b['length']-0x1]);let _0x446aa9=_0x2b8071['length'];const _0x1ea029=new _0x30fb3b['Uint8Array'](_0x446aa9);for(;_0x446aa9--;)_0x1ea029[_0x446aa9]=_0x2b8071['charCodeAt'](_0x446aa9);return new _0x30fb3b['File']([_0x1ea029],'image.'+_0x471cfb,{'type':_0x3942e4});}const _0x4de099=_0x4f2636['href']['split']('/'),_0x3b6fdf=_0x4de099[_0x4de099['length']-0x1],_0x26b0ec=_0x3b6fdf['split']('.')[0x1];return _0x30fb3b['fetch'](_0x4f2636['href'])['then'](_0x2ffa6c=>_0x2ffa6c['clone']()['blob']())['then'](_0xe8483f=>new _0x30fb3b['File']([_0xe8483f],_0x3b6fdf,{'type':'image/'+_0x26b0ec}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1b04(){const _0x45e96d=['imageSrc','ck-uploadcare-theme','6dsHJPB','68063GCRzKZ','bindTemplate','uc-cloud-image-editor','6424oqLCrB','688275QsrFqc','9822930IbEuOk','1807928RFmghV','uc-light','image-edit','setTemplate','set','24NSFOTs','393TbiHqP','183615zeVjXO','1097068RACRxQ'];_0x1b04=function(){return _0x45e96d;};return _0x1b04();}function _0x41c8(_0x11d597,_0x41065b){const _0x1b0427=_0x1b04();return _0x41c8=function(_0x41c80e,_0x5211ca){_0x41c80e=_0x41c80e-0x17f;let _0x468daf=_0x1b0427[_0x41c80e];return _0x468daf;},_0x41c8(_0x11d597,_0x41065b);}(function(_0x44f85f,_0x1a7515){const _0x1f10b4=_0x41c8,_0x1be61f=_0x44f85f();while(!![]){try{const _0x20260e=parseInt(_0x1f10b4(0x180))/0x1*(-parseInt(_0x1f10b4(0x17f))/0x2)+parseInt(_0x1f10b4(0x18c))/0x3*(-parseInt(_0x1f10b4(0x183))/0x4)+parseInt(_0x1f10b4(0x18d))/0x5*(-parseInt(_0x1f10b4(0x18b))/0x6)+-parseInt(_0x1f10b4(0x18e))/0x7+-parseInt(_0x1f10b4(0x186))/0x8+parseInt(_0x1f10b4(0x184))/0x9+parseInt(_0x1f10b4(0x185))/0xa;if(_0x20260e===_0x1a7515)break;else _0x1be61f['push'](_0x1be61f['shift']());}catch(_0x1d2c39){_0x1be61f['push'](_0x1be61f['shift']());}}}(_0x1b04,0x1bf9a));import{View as _0x259a3d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x259a3d{constructor(_0x583078,_0x5b82ee){const _0x24249a=_0x41c8;super(_0x583078);const _0x5457d9=this[_0x24249a(0x181)];this[_0x24249a(0x18a)](_0x24249a(0x18f),''),this[_0x24249a(0x189)]({'tag':_0x24249a(0x182),'attributes':{..._0x5b82ee,'class':[_0x24249a(0x187),_0x24249a(0x190)],'ctx-name':_0x24249a(0x188),'cdn-url':_0x5457d9['to'](_0x24249a(0x18f))}});}}
23
+ (function(_0x196e54,_0xdd5da2){const _0x29b818=_0x1feb,_0x445258=_0x196e54();while(!![]){try{const _0x40c4fc=parseInt(_0x29b818(0x197))/0x1+-parseInt(_0x29b818(0x1a5))/0x2*(parseInt(_0x29b818(0x1a1))/0x3)+parseInt(_0x29b818(0x19a))/0x4*(-parseInt(_0x29b818(0x19d))/0x5)+parseInt(_0x29b818(0x199))/0x6*(-parseInt(_0x29b818(0x1a8))/0x7)+parseInt(_0x29b818(0x198))/0x8+parseInt(_0x29b818(0x1a7))/0x9+-parseInt(_0x29b818(0x1a9))/0xa*(-parseInt(_0x29b818(0x1a2))/0xb);if(_0x40c4fc===_0xdd5da2)break;else _0x445258['push'](_0x445258['shift']());}catch(_0x293f18){_0x445258['push'](_0x445258['shift']());}}}(_0x4d61,0xc3fb5));function _0x1feb(_0x11ea8a,_0x52d066){const _0x4d61fb=_0x4d61();return _0x1feb=function(_0x1feb2e,_0x4b8f48){_0x1feb2e=_0x1feb2e-0x197;let _0x25a973=_0x4d61fb[_0x1feb2e];return _0x25a973;},_0x1feb(_0x11ea8a,_0x52d066);}import{View as _0x5c7515}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5c7515{constructor(_0x5c482e,_0x451ab9){const _0x4b24a9=_0x1feb;super(_0x5c482e);const _0xcccfc2=this[_0x4b24a9(0x19f)];this[_0x4b24a9(0x1a0)](_0x4b24a9(0x1a6),''),this[_0x4b24a9(0x1a3)]({'tag':_0x4b24a9(0x19b),'attributes':{..._0x451ab9,'class':[_0x4b24a9(0x19c),_0x4b24a9(0x19e)],'ctx-name':_0x4b24a9(0x1a4),'cdn-url':_0xcccfc2['to'](_0x4b24a9(0x1a6))}});}}function _0x4d61(){const _0x2c691c=['uc-cloud-image-editor','uc-light','3845kPQmyK','ck-uploadcare-theme','bindTemplate','set','3GGQXod','39567tQHbjr','setTemplate','image-edit','3197582OOibEQ','imageSrc','2967057muFZFM','203unhjfd','7060VnRsTG','248832ZmVnSU','8763664tldCfK','72582kWQePM','7600btHDoZ'];_0x4d61=function(){return _0x2c691c;};return _0x4d61();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x4c2183}from'ckeditor5/src/icons.js';import{ButtonView as _0x459722,IconView as _0x814fb4,View as _0x9874a2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x9874a2{constructor(_0x45423c){super(_0x45423c);const t=_0x45423c['t'];this['set']('errorType',null);const _0x5d5a7d=new _0x459722(_0x45423c);_0x5d5a7d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5d5a7d['withText']=!0x0,_0x5d5a7d['class']='ck-button-action',_0x5d5a7d['on']('execute',()=>{this['fire']('retry');}),_0x5d5a7d['bind']('isVisible')['to'](this,'errorType',_0x139e2c=>'NotFound'!==_0x139e2c);const _0x3fb4f2=new _0x814fb4();_0x3fb4f2['content']=_0x4c2183,_0x3fb4f2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1de747=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':[_0x3fb4f2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1de747['to']('errorType',_0x1ef529=>t('NotFound'!==_0x1ef529?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5d5a7d]},{'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 _0x1b22c0}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a1bf6,IconView as _0x1c958e,View as _0x2bcca6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2bcca6{constructor(_0x392117){super(_0x392117);const t=_0x392117['t'];this['set']('errorType',null);const _0x438539=new _0x3a1bf6(_0x392117);_0x438539['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x438539['withText']=!0x0,_0x438539['class']='ck-button-action',_0x438539['on']('execute',()=>{this['fire']('retry');}),_0x438539['bind']('isVisible')['to'](this,'errorType',_0x403da3=>'NotFound'!==_0x403da3);const _0x2ab042=new _0x1c958e();_0x2ab042['content']=_0x1b22c0,_0x2ab042['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2811d9=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':[_0x2ab042,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2811d9['to']('errorType',_0x7bddef=>t('NotFound'!==_0x7bddef?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x438539]},{'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 _0x288133,View as _0x51b67d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x51b67d{constructor(_0x2bd644){super(_0x2bd644);const t=_0x2bd644['t'],_0x90d8c1=this['bindTemplate'],_0x1e247f=new _0x288133();_0x1e247f['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':[_0x1e247f,{'text':_0x90d8c1['to']('imageUploadProgress',_0x289a50=>t('Loading\x20image...')+'\x20('+(_0x289a50||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 _0x26830e,View as _0x262952}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x262952{constructor(_0x89142f){super(_0x89142f);const t=_0x89142f['t'],_0x13c830=this['bindTemplate'],_0x9f32b9=new _0x26830e();_0x9f32b9['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':[_0x9f32b9,{'text':_0x13c830['to']('imageUploadProgress',_0x33ccdf=>t('Loading\x20image...')+'\x20('+(_0x33ccdf||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
- function _0x87c6(){const _0x1e577f=['270RRjQQL','target','uc-cloud-image-editor','toLowerCase','_waitForImageEditorComponent','11515672UNlLvj','78cphmtG','_addErrorViewListeners','getFocusableElement','addEventListener','329870wbBrFu','_focusableView','2495969fCMZGM','4eCVIrd','apply','2456XrKFWF','length','_setView','setTemplate','ready','ck-uploadcare-form','once','change:status','focus','12mmkFAJ','fire','set','disconnect','uploading','clear','_editingView','addedNodes','element','cdnUrl','retry','observe','11574299CIiHTl','cancel','1752651lockBm','_errorView','error','addMany','add','render','535650RYQajg','908mQgCYL','_loadingView','createCollection','ck-reset_all-excluded','status','filter','div','querySelector','_addUploadcareImageEditorListeners','_items','detail','nodeName'];_0x87c6=function(){return _0x1e577f;};return _0x87c6();}const _0x101719=_0x45c0;(function(_0x227fbc,_0x41e209){const _0x2e4dfb=_0x45c0,_0x140409=_0x227fbc();while(!![]){try{const _0x9ea222=-parseInt(_0x2e4dfb(0x105))/0x1*(-parseInt(_0x2e4dfb(0xea))/0x2)+parseInt(_0x2e4dfb(0x11c))/0x3*(-parseInt(_0x2e4dfb(0x103))/0x4)+-parseInt(_0x2e4dfb(0xe9))/0x5*(parseInt(_0x2e4dfb(0xfc))/0x6)+parseInt(_0x2e4dfb(0x102))/0x7+parseInt(_0x2e4dfb(0xfb))/0x8+parseInt(_0x2e4dfb(0xf6))/0x9*(-parseInt(_0x2e4dfb(0x100))/0xa)+-parseInt(_0x2e4dfb(0x11a))/0xb*(-parseInt(_0x2e4dfb(0x10e))/0xc);if(_0x9ea222===_0x41e209)break;else _0x140409['push'](_0x140409['shift']());}catch(_0xca300e){_0x140409['push'](_0x140409['shift']());}}}(_0x87c6,0xf3586));import{View as _0x23ad2d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x34a2f7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ae549}from'./uploadcareimageeditformerrorview.js';function _0x45c0(_0x51541f,_0x80dcb4){const _0x87c6d4=_0x87c6();return _0x45c0=function(_0x45c002,_0x3a9cbf){_0x45c002=_0x45c002-0xe6;let _0x205924=_0x87c6d4[_0x45c002];return _0x205924;},_0x45c0(_0x51541f,_0x80dcb4);}import{UploadcareImageEditFormEditingView as _0x4b3eeb}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1e07fd}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1e07fd{[_0x101719(0xf3)];[_0x101719(0xeb)];[_0x101719(0x11d)];[_0x101719(0x114)];[_0x101719(0x101)];constructor(_0x5b3250,_0xceaa0,_0x2aab76){const _0x2d888d=_0x101719;super(_0x5b3250),this[_0x2d888d(0xf3)]=this[_0x2d888d(0xec)](),this[_0x2d888d(0xeb)]=new _0x34a2f7(_0x5b3250),this[_0x2d888d(0x11d)]=new _0x2ae549(_0x5b3250),this[_0x2d888d(0x114)]=new _0x4b3eeb(_0x5b3250,_0x2aab76),this[_0x2d888d(0x101)]=new _0x23ad2d(_0x5b3250),this[_0x2d888d(0x101)][_0x2d888d(0x108)](this[_0x2d888d(0xfe)]()),this[_0x2d888d(0x110)](_0x2d888d(0xee),_0xceaa0),this[_0x2d888d(0x108)]({'tag':_0x2d888d(0xf0),'attributes':{'class':['ck',_0x2d888d(0xed),_0x2d888d(0x10a)],'tabindex':'-1'},'children':this[_0x2d888d(0xf3)]}),this[_0x2d888d(0x107)](),this[_0x2d888d(0x10b)](_0x2d888d(0xe8),()=>{const _0x59a0b7=_0x2d888d;this[_0x59a0b7(0xfa)](this[_0x59a0b7(0x116)],_0x25f798=>{const _0xd5a659=_0x59a0b7;this[_0xd5a659(0xf2)](_0x25f798);});}),this['on'](_0x2d888d(0x10c),()=>{const _0x29eed8=_0x2d888d;this[_0x29eed8(0x107)]();}),this[_0x2d888d(0xfd)]();}[_0x101719(0x10d)](){const _0x567afe=_0x101719;this[_0x567afe(0x116)][_0x567afe(0x10d)]();}[_0x101719(0x107)](){const _0x5c18dd=_0x101719;switch(this[_0x5c18dd(0xf3)][_0x5c18dd(0x113)](),this[_0x5c18dd(0xee)]){case _0x5c18dd(0x112):this[_0x5c18dd(0xf3)][_0x5c18dd(0xe7)](this[_0x5c18dd(0xeb)]);break;case _0x5c18dd(0x11e):this[_0x5c18dd(0xf3)][_0x5c18dd(0xe7)](this[_0x5c18dd(0x11d)]);break;case _0x5c18dd(0x109):this[_0x5c18dd(0xf3)][_0x5c18dd(0xe6)]([this[_0x5c18dd(0x114)],this[_0x5c18dd(0x101)]]);}}[_0x101719(0xfa)](_0x996ed6,_0x409e97){const _0x2020e1=_0x101719,_0x129ab3=_0x2020e1(0xf8),_0x2610df=_0x996ed6[_0x2020e1(0xf1)](_0x129ab3);if(_0x2610df)return _0x409e97(_0x2610df);const _0x241945=new MutationObserver(_0x2fca91=>{const _0x674568=_0x2020e1,_0x487edc=_0x2fca91[_0x674568(0xef)](_0x391166=>_0x391166[_0x674568(0xf7)]===_0x996ed6&&_0x391166[_0x674568(0x115)][_0x674568(0x106)]>0x0&&_0x391166[_0x674568(0x115)][0x0][_0x674568(0xf5)][_0x674568(0xf9)]()===_0x129ab3);_0x487edc[_0x674568(0x106)]&&(_0x241945[_0x674568(0x111)](),_0x409e97(_0x487edc[0x0][_0x674568(0x115)][0x0]));});_0x241945[_0x2020e1(0x119)](_0x996ed6,{'childList':!0x0,'subtree':!0x0});}[_0x101719(0xf2)](_0x5de30c){const _0x39ab3e=_0x101719;_0x5de30c[_0x39ab3e(0xff)](_0x39ab3e(0x104),_0x1100ed=>{const _0x4b7f17=_0x39ab3e;this[_0x4b7f17(0x10f)](_0x4b7f17(0x104),{'imageSrc':_0x1100ed[_0x4b7f17(0xf4)][_0x4b7f17(0x117)]});}),_0x5de30c[_0x39ab3e(0xff)](_0x39ab3e(0x11b),()=>{const _0x41f16a=_0x39ab3e;this[_0x41f16a(0x10f)](_0x41f16a(0x11b));});}[_0x101719(0xfd)](){const _0x545fae=_0x101719;this[_0x545fae(0x11d)]['on'](_0x545fae(0x118),()=>{const _0xcbd38d=_0x545fae;this[_0xcbd38d(0x10f)](_0xcbd38d(0x118));});}}
23
+ const _0x482258=_0x17f9;(function(_0x2ed6ab,_0x27683e){const _0x51730d=_0x17f9,_0x3c696d=_0x2ed6ab();while(!![]){try{const _0x3316ca=-parseInt(_0x51730d(0x1ea))/0x1*(-parseInt(_0x51730d(0x1db))/0x2)+-parseInt(_0x51730d(0x1ee))/0x3*(-parseInt(_0x51730d(0x1cd))/0x4)+parseInt(_0x51730d(0x1e6))/0x5*(-parseInt(_0x51730d(0x1d6))/0x6)+-parseInt(_0x51730d(0x1f1))/0x7*(parseInt(_0x51730d(0x1fb))/0x8)+parseInt(_0x51730d(0x1d9))/0x9*(parseInt(_0x51730d(0x1eb))/0xa)+parseInt(_0x51730d(0x1fd))/0xb*(parseInt(_0x51730d(0x1f8))/0xc)+-parseInt(_0x51730d(0x1e8))/0xd;if(_0x3316ca===_0x27683e)break;else _0x3c696d['push'](_0x3c696d['shift']());}catch(_0x32fc1d){_0x3c696d['push'](_0x3c696d['shift']());}}}(_0x4fe5,0xc1675));import{View as _0x3b08ab}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4d2d76}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3e00f5}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x33d27a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xbd75ac}from'../../utils/dialogfocusmanagerview.js';function _0x4fe5(){const _0x3222b6=['cancel','fire','once','24GycOBu','status','filter','89046WXgyVx','ck-uploadcare-form','9524zlTLxe','_errorView','div','createCollection','_addErrorViewListeners','element','observe','addEventListener','ck-reset_all-excluded','disconnect','_editingView','1228745UTmFcB','cdnUrl','7614750NFqTes','_setView','182ncsDfi','1070ZWdbqT','getFocusableElement','length','3jAxgMb','addMany','error','321118yFTWYQ','_items','focus','toLowerCase','clear','add','uploading','192VOklhH','ready','uc-cloud-image-editor','152KoqmJA','_loadingView','44407ichEjE','change:status','_focusableView','detail','set','_addUploadcareImageEditorListeners','render','nodeName','addedNodes','setTemplate','4970396LqJfRM','retry','target','apply','_waitForImageEditorComponent','querySelector'];_0x4fe5=function(){return _0x3222b6;};return _0x4fe5();}function _0x17f9(_0x631f07,_0x475d94){const _0x4fe571=_0x4fe5();return _0x17f9=function(_0x17f926,_0x54a22d){_0x17f926=_0x17f926-0x1c9;let _0x2779ad=_0x4fe571[_0x17f926];return _0x2779ad;},_0x17f9(_0x631f07,_0x475d94);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xbd75ac{[_0x482258(0x1f2)];[_0x482258(0x1fc)];[_0x482258(0x1dc)];[_0x482258(0x1e5)];[_0x482258(0x1ff)];constructor(_0x33d26d,_0x136fcd,_0x2b3b30){const _0x132382=_0x482258;super(_0x33d26d),this[_0x132382(0x1f2)]=this[_0x132382(0x1de)](),this[_0x132382(0x1fc)]=new _0x4d2d76(_0x33d26d),this[_0x132382(0x1dc)]=new _0x3e00f5(_0x33d26d),this[_0x132382(0x1e5)]=new _0x33d27a(_0x33d26d,_0x2b3b30),this[_0x132382(0x1ff)]=new _0x3b08ab(_0x33d26d),this[_0x132382(0x1ff)][_0x132382(0x1cc)](this[_0x132382(0x1ec)]()),this[_0x132382(0x201)](_0x132382(0x1d7),_0x136fcd),this[_0x132382(0x1cc)]({'tag':_0x132382(0x1dd),'attributes':{'class':['ck',_0x132382(0x1e3),_0x132382(0x1da)],'tabindex':'-1'},'children':this[_0x132382(0x1f2)]}),this[_0x132382(0x1e9)](),this[_0x132382(0x1d5)](_0x132382(0x1c9),()=>{const _0x15aa4c=_0x132382;this[_0x15aa4c(0x1d1)](this[_0x15aa4c(0x1e0)],_0x1cc2b3=>{const _0x2ab07c=_0x15aa4c;this[_0x2ab07c(0x202)](_0x1cc2b3);});}),this['on'](_0x132382(0x1fe),()=>{const _0x31354d=_0x132382;this[_0x31354d(0x1e9)]();}),this[_0x132382(0x1df)]();}[_0x482258(0x1f3)](){const _0x21e94c=_0x482258;this[_0x21e94c(0x1e0)][_0x21e94c(0x1f3)]();}[_0x482258(0x1e9)](){const _0x560e9d=_0x482258;switch(this[_0x560e9d(0x1f2)][_0x560e9d(0x1f5)](),this[_0x560e9d(0x1d7)]){case _0x560e9d(0x1f7):this[_0x560e9d(0x1f2)][_0x560e9d(0x1f6)](this[_0x560e9d(0x1fc)]);break;case _0x560e9d(0x1f0):this[_0x560e9d(0x1f2)][_0x560e9d(0x1f6)](this[_0x560e9d(0x1dc)]);break;case _0x560e9d(0x1f9):this[_0x560e9d(0x1f2)][_0x560e9d(0x1ef)]([this[_0x560e9d(0x1e5)],this[_0x560e9d(0x1ff)]]);}}[_0x482258(0x1d1)](_0xeb0643,_0x2ccc31){const _0x3f972a=_0x482258,_0x30db65=_0x3f972a(0x1fa),_0x47597c=_0xeb0643[_0x3f972a(0x1d2)](_0x30db65);if(_0x47597c)return _0x2ccc31(_0x47597c);const _0x3aed93=new MutationObserver(_0x20b40b=>{const _0x157581=_0x3f972a,_0x4a9764=_0x20b40b[_0x157581(0x1d8)](_0x3a34a7=>_0x3a34a7[_0x157581(0x1cf)]===_0xeb0643&&_0x3a34a7[_0x157581(0x1cb)][_0x157581(0x1ed)]>0x0&&_0x3a34a7[_0x157581(0x1cb)][0x0][_0x157581(0x1ca)][_0x157581(0x1f4)]()===_0x30db65);_0x4a9764[_0x157581(0x1ed)]&&(_0x3aed93[_0x157581(0x1e4)](),_0x2ccc31(_0x4a9764[0x0][_0x157581(0x1cb)][0x0]));});_0x3aed93[_0x3f972a(0x1e1)](_0xeb0643,{'childList':!0x0,'subtree':!0x0});}[_0x482258(0x202)](_0x5de16f){const _0x2cc70e=_0x482258;_0x5de16f[_0x2cc70e(0x1e2)](_0x2cc70e(0x1d0),_0x5ea825=>{const _0x4ecdd5=_0x2cc70e;this[_0x4ecdd5(0x1d4)](_0x4ecdd5(0x1d0),{'imageSrc':_0x5ea825[_0x4ecdd5(0x200)][_0x4ecdd5(0x1e7)]});}),_0x5de16f[_0x2cc70e(0x1e2)](_0x2cc70e(0x1d3),()=>{const _0x478e7b=_0x2cc70e;this[_0x478e7b(0x1d4)](_0x478e7b(0x1d3));});}[_0x482258(0x1df)](){const _0x1c3980=_0x482258;this[_0x1c3980(0x1dc)]['on'](_0x1c3980(0x1ce),()=>{const _0x2b0506=_0x1c3980;this[_0x2b0506(0x1d4)](_0x2b0506(0x1ce));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dcd85=_0x32c7;(function(_0x2f88c4,_0x773b47){const _0xf216f3=_0x32c7,_0x2c12e7=_0x2f88c4();while(!![]){try{const _0x32575d=parseInt(_0xf216f3(0x198))/0x1*(parseInt(_0xf216f3(0x179))/0x2)+parseInt(_0xf216f3(0x188))/0x3*(parseInt(_0xf216f3(0x19a))/0x4)+parseInt(_0xf216f3(0x184))/0x5+parseInt(_0xf216f3(0x194))/0x6*(parseInt(_0xf216f3(0x181))/0x7)+-parseInt(_0xf216f3(0x189))/0x8+-parseInt(_0xf216f3(0x193))/0x9*(parseInt(_0xf216f3(0x197))/0xa)+-parseInt(_0xf216f3(0x191))/0xb*(parseInt(_0xf216f3(0x187))/0xc);if(_0x32575d===_0x773b47)break;else _0x2c12e7['push'](_0x2c12e7['shift']());}catch(_0x3a3785){_0x2c12e7['push'](_0x2c12e7['shift']());}}}(_0x2abe,0xbbf28));import{Command as _0x56ee0f}from'ckeditor5/src/core.js';import{Dialog as _0x529505}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x49eef4}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x369a86}from'../utils/editingutils.js';function _0x2abe(){const _0x5a3d96=['1771872BejICW','model','uploadcare.allowExternalImagesEditing','get','bind','set','execute','imageBlock','253UFFmqS','refresh','873UphHRc','11082fNePXj','_isEditable','requires','35170DIkTPD','136461XXGRem','isActive','776pxsgGY','8xOyJzM','editor','imageInline','imageEditController','isEnabled','plugins','document','unbind','2247wNFKHo','element','selection','2780380CfTZLa','config','getSelectedElement','291480epDyZR','3036RuDNpL'];_0x2abe=function(){return _0x5a3d96;};return _0x2abe();}function _0x32c7(_0xc40017,_0x497c4b){const _0x2abe8a=_0x2abe();return _0x32c7=function(_0x32c72b,_0x26d26b){_0x32c72b=_0x32c72b-0x179;let _0x538eb2=_0x2abe8a[_0x32c72b];return _0x538eb2;},_0x32c7(_0xc40017,_0x497c4b);}export class UploadcareImageEditCommand extends _0x56ee0f{[_0x5dcd85(0x17c)];static get[_0x5dcd85(0x196)](){return[_0x529505];}[_0x5dcd85(0x195)];constructor(_0x7b5fdc){const _0x44ca70=_0x5dcd85;super(_0x7b5fdc),this[_0x44ca70(0x17c)]=void 0x0,this[_0x44ca70(0x195)]=_0x369a86(_0x7b5fdc[_0x44ca70(0x185)][_0x44ca70(0x18c)](_0x44ca70(0x18b))||[]),this[_0x44ca70(0x18e)]({'isActive':!0x1});}[_0x5dcd85(0x192)](){const _0x4ea69c=_0x5dcd85,_0x3c9a64=this[_0x4ea69c(0x17a)][_0x4ea69c(0x18a)][_0x4ea69c(0x17f)][_0x4ea69c(0x183)][_0x4ea69c(0x186)]();this[_0x4ea69c(0x17d)]=this[_0x4ea69c(0x195)](_0x3c9a64);}[_0x5dcd85(0x18f)](){const _0x1363d1=_0x5dcd85;this[_0x1363d1(0x17c)]&&(this[_0x1363d1(0x180)](_0x1363d1(0x199)),this[_0x1363d1(0x17c)]=void 0x0);const _0x1716e4=this[_0x1363d1(0x17a)][_0x1363d1(0x18a)][_0x1363d1(0x17f)][_0x1363d1(0x183)][_0x1363d1(0x186)]();_0x1716e4&&(_0x1716e4['is'](_0x1363d1(0x182),_0x1363d1(0x190))||_0x1716e4['is'](_0x1363d1(0x182),_0x1363d1(0x17b)))&&(this[_0x1363d1(0x17c)]=new _0x49eef4(this[_0x1363d1(0x17a)],this[_0x1363d1(0x17a)][_0x1363d1(0x17e)][_0x1363d1(0x18c)](_0x529505),_0x1716e4),this[_0x1363d1(0x18d)](_0x1363d1(0x199))['to'](this[_0x1363d1(0x17c)],_0x1363d1(0x199)));}}
23
+ const _0x125431=_0x4d03;(function(_0x182585,_0x48940b){const _0x35db73=_0x4d03,_0x2aebb2=_0x182585();while(!![]){try{const _0x4767e0=-parseInt(_0x35db73(0x10a))/0x1*(parseInt(_0x35db73(0xfb))/0x2)+parseInt(_0x35db73(0x106))/0x3*(parseInt(_0x35db73(0xff))/0x4)+-parseInt(_0x35db73(0xfc))/0x5+parseInt(_0x35db73(0xf3))/0x6*(parseInt(_0x35db73(0x10d))/0x7)+parseInt(_0x35db73(0xf0))/0x8*(-parseInt(_0x35db73(0x10e))/0x9)+-parseInt(_0x35db73(0x10b))/0xa*(-parseInt(_0x35db73(0xf1))/0xb)+-parseInt(_0x35db73(0x10c))/0xc*(-parseInt(_0x35db73(0x100))/0xd);if(_0x4767e0===_0x48940b)break;else _0x2aebb2['push'](_0x2aebb2['shift']());}catch(_0x95f91){_0x2aebb2['push'](_0x2aebb2['shift']());}}}(_0x4d2b,0xf0583));import{Command as _0x59304f}from'ckeditor5/src/core.js';function _0x4d2b(){const _0xcb0d6e=['unbind','isEnabled','125208xriEHF','document','isActive','getSelectedElement','7271cAgwqB','10Fehikc','264qwyGcq','7253239IJiAjS','7300467kGvDKf','execute','config','selection','editor','8hxxFiO','2323079sjafri','imageBlock','6dZggDn','imageEditController','imageInline','uploadcare.allowExternalImagesEditing','element','get','_isEditable','set','142AjYvft','6065995uthsCy','requires','bind','56nRAfHH','1000636uIwpKF','plugins','model','refresh'];_0x4d2b=function(){return _0xcb0d6e;};return _0x4d2b();}import{Dialog as _0xaf22fa}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x42a7de}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2d69dd}from'../utils/editingutils.js';function _0x4d03(_0x173272,_0x404a3b){const _0x4d2bec=_0x4d2b();return _0x4d03=function(_0x4d03fd,_0x28a63d){_0x4d03fd=_0x4d03fd-0xed;let _0xae606f=_0x4d2bec[_0x4d03fd];return _0xae606f;},_0x4d03(_0x173272,_0x404a3b);}export class UploadcareImageEditCommand extends _0x59304f{[_0x125431(0xf4)];static get[_0x125431(0xfd)](){return[_0xaf22fa];}[_0x125431(0xf9)];constructor(_0x352835){const _0x49735b=_0x125431;super(_0x352835),this[_0x49735b(0xf4)]=void 0x0,this[_0x49735b(0xf9)]=_0x2d69dd(_0x352835[_0x49735b(0xed)][_0x49735b(0xf8)](_0x49735b(0xf6))||[]),this[_0x49735b(0xfa)]({'isActive':!0x1});}[_0x125431(0x103)](){const _0x396fd1=_0x125431,_0x4b481d=this[_0x396fd1(0xef)][_0x396fd1(0x102)][_0x396fd1(0x107)][_0x396fd1(0xee)][_0x396fd1(0x109)]();this[_0x396fd1(0x105)]=this[_0x396fd1(0xf9)](_0x4b481d);}[_0x125431(0x10f)](){const _0x1a600f=_0x125431;this[_0x1a600f(0xf4)]&&(this[_0x1a600f(0x104)](_0x1a600f(0x108)),this[_0x1a600f(0xf4)]=void 0x0);const _0x3fda7f=this[_0x1a600f(0xef)][_0x1a600f(0x102)][_0x1a600f(0x107)][_0x1a600f(0xee)][_0x1a600f(0x109)]();_0x3fda7f&&(_0x3fda7f['is'](_0x1a600f(0xf7),_0x1a600f(0xf2))||_0x3fda7f['is'](_0x1a600f(0xf7),_0x1a600f(0xf5)))&&(this[_0x1a600f(0xf4)]=new _0x42a7de(this[_0x1a600f(0xef)],this[_0x1a600f(0xef)][_0x1a600f(0x101)][_0x1a600f(0xf8)](_0xaf22fa),_0x3fda7f),this[_0x1a600f(0xfe)](_0x1a600f(0x108))['to'](this[_0x1a600f(0xf4)],_0x1a600f(0x108)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f9ac5=_0x345c;(function(_0x1e3a1b,_0xf6c8e8){const _0x250517=_0x345c,_0x4d88fb=_0x1e3a1b();while(!![]){try{const _0x2747bd=parseInt(_0x250517(0x10e))/0x1+parseInt(_0x250517(0xff))/0x2*(-parseInt(_0x250517(0x10d))/0x3)+parseInt(_0x250517(0xfe))/0x4+-parseInt(_0x250517(0xfd))/0x5+parseInt(_0x250517(0x101))/0x6+-parseInt(_0x250517(0x102))/0x7+-parseInt(_0x250517(0x109))/0x8*(-parseInt(_0x250517(0x104))/0x9);if(_0x2747bd===_0xf6c8e8)break;else _0x4d88fb['push'](_0x4d88fb['shift']());}catch(_0x58c841){_0x4d88fb['push'](_0x4d88fb['shift']());}}}(_0x5eda,0xdd156));import{Plugin as _0x46fad5}from'ckeditor5/src/core.js';import{Notification as _0x1076b3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1fcae6}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f58ae}from'./uploadcareimagereplacecommand.js';function _0x345c(_0x354655,_0x492119){const _0x5eda03=_0x5eda();return _0x345c=function(_0x345cfd,_0x24ccbf){_0x345cfd=_0x345cfd-0xfb;let _0x2d290c=_0x5eda03[_0x345cfd];return _0x2d290c;},_0x345c(_0x354655,_0x492119);}import{UploadcareEditing as _0x239dd5}from'../uploadcareediting.js';function _0x5eda(){const _0x4f894e=['requires','3681uvHBqy','commands','isPremiumPlugin','isOfficialPlugin','UploadcareImageEditEditing','11312MxdoMu','pluginName','add','uploadcareImageReplace','1724682pJeiOb','26912eUolWk','ImageEditing','uploadcareImageEdit','ImageUtils','6596140QHYhEZ','3641248cbcouU','2gnGhdg','init','8029236ZLcYWi','378532InBRDI'];_0x5eda=function(){return _0x4f894e;};return _0x5eda();}export class UploadcareImageEditEditing extends _0x46fad5{static get[_0x4f9ac5(0x10a)](){const _0x613892=_0x4f9ac5;return _0x613892(0x108);}static get[_0x4f9ac5(0x103)](){const _0x5a0d5e=_0x4f9ac5;return[_0x239dd5,_0x1076b3,_0x5a0d5e(0xfc),_0x5a0d5e(0x10f)];}static get[_0x4f9ac5(0x107)](){return!0x0;}static get[_0x4f9ac5(0x106)](){return!0x0;}[_0x4f9ac5(0x100)](){const _0x1b7484=_0x4f9ac5,{editor:_0x179096}=this;_0x179096[_0x1b7484(0x105)][_0x1b7484(0x10b)](_0x1b7484(0xfb),new _0x1fcae6(_0x179096)),_0x179096[_0x1b7484(0x105)][_0x1b7484(0x10b)](_0x1b7484(0x10c),new _0x2f58ae(_0x179096));}}
23
+ const _0x3c5b07=_0xf203;(function(_0x27d6f7,_0x5e45ff){const _0x4f01cc=_0xf203,_0x3a3999=_0x27d6f7();while(!![]){try{const _0x28e89a=parseInt(_0x4f01cc(0x7c))/0x1+parseInt(_0x4f01cc(0x82))/0x2+-parseInt(_0x4f01cc(0x7f))/0x3*(-parseInt(_0x4f01cc(0x78))/0x4)+-parseInt(_0x4f01cc(0x7e))/0x5*(parseInt(_0x4f01cc(0x8a))/0x6)+-parseInt(_0x4f01cc(0x79))/0x7*(parseInt(_0x4f01cc(0x8b))/0x8)+parseInt(_0x4f01cc(0x76))/0x9*(parseInt(_0x4f01cc(0x77))/0xa)+parseInt(_0x4f01cc(0x80))/0xb*(-parseInt(_0x4f01cc(0x86))/0xc);if(_0x28e89a===_0x5e45ff)break;else _0x3a3999['push'](_0x3a3999['shift']());}catch(_0x2954bd){_0x3a3999['push'](_0x3a3999['shift']());}}}(_0x5d1f,0x8dda8));function _0xf203(_0x27c08c,_0x57bf9e){const _0x5d1f0e=_0x5d1f();return _0xf203=function(_0xf203ad,_0x197eed){_0xf203ad=_0xf203ad-0x74;let _0x26c6aa=_0x5d1f0e[_0xf203ad];return _0x26c6aa;},_0xf203(_0x27c08c,_0x57bf9e);}function _0x5d1f(){const _0xabb16e=['ImageUtils','453766AcwHMQ','ImageEditing','uploadcareImageEdit','init','245352ymmVsb','requires','commands','isPremiumPlugin','4182150BaIVtG','7984XFOVDf','uploadcareImageReplace','pluginName','3665214GvWruE','20tOeTRE','116zAcCUv','5957VAMHPq','add','UploadcareImageEditEditing','635983hfUxXK','isOfficialPlugin','5kIYxgB','99429PNwYkA','275yfSuQp'];_0x5d1f=function(){return _0xabb16e;};return _0x5d1f();}import{Plugin as _0x4808e3}from'ckeditor5/src/core.js';import{Notification as _0x3579be}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2807c0}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x444126}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3f2d62}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4808e3{static get[_0x3c5b07(0x75)](){const _0x26767c=_0x3c5b07;return _0x26767c(0x7b);}static get[_0x3c5b07(0x87)](){const _0x1808cd=_0x3c5b07;return[_0x3f2d62,_0x3579be,_0x1808cd(0x81),_0x1808cd(0x83)];}static get[_0x3c5b07(0x7d)](){return!0x0;}static get[_0x3c5b07(0x89)](){return!0x0;}[_0x3c5b07(0x85)](){const _0x982d7f=_0x3c5b07,{editor:_0x4ef6f9}=this;_0x4ef6f9[_0x982d7f(0x88)][_0x982d7f(0x7a)](_0x982d7f(0x84),new _0x2807c0(_0x4ef6f9)),_0x4ef6f9[_0x982d7f(0x88)][_0x982d7f(0x7a)](_0x982d7f(0x74),new _0x444126(_0x4ef6f9));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x382869}from'ckeditor5/src/core.js';import{ButtonView as _0x93551a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x591216}from'ckeditor5/src/icons.js';import{createElement as _0x3fd114}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 _0x382869{['_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 _0x4379de=this['editor'];_0x4379de['ui']['componentFactory']['add']('uploadcareImageEdit',_0x27b1c8=>{const _0x1794c8=_0x4379de['commands']['get']('uploadcareImageEdit'),_0x1bbbbb=new _0x93551a(_0x27b1c8),t=_0x27b1c8['t'];return _0x1bbbbb['set']({'icon':_0x591216,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1bbbbb['bind']('isEnabled')['to'](_0x1794c8),_0x1bbbbb['bind']('isOn')['to'](_0x1794c8,'isActive'),this['listenTo'](_0x1bbbbb,'execute',()=>{_0x4379de['execute']('uploadcareImageEdit'),_0x4379de['editing']['view']['focus']();}),_0x1bbbbb;}),this['_initConfig']();}['_initConfig'](){const _0x1eae22=_0x3fd114(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1eae22),this['listenTo'](this['editor'],'destroy',()=>{_0x1eae22['remove']();});}}
23
+ import{Plugin as _0x5267c3}from'ckeditor5/src/core.js';import{ButtonView as _0x1a6e99}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x241518}from'ckeditor5/src/icons.js';import{createElement as _0x3d4fef}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 _0x5267c3{['_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 _0x407c11=this['editor'];_0x407c11['ui']['componentFactory']['add']('uploadcareImageEdit',_0x194edd=>{const _0x2496c1=_0x407c11['commands']['get']('uploadcareImageEdit'),_0x43cead=new _0x1a6e99(_0x194edd),t=_0x194edd['t'];return _0x43cead['set']({'icon':_0x241518,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x43cead['bind']('isEnabled')['to'](_0x2496c1),_0x43cead['bind']('isOn')['to'](_0x2496c1,'isActive'),this['listenTo'](_0x43cead,'execute',()=>{_0x407c11['execute']('uploadcareImageEdit'),_0x407c11['editing']['view']['focus']();}),_0x43cead;}),this['_initConfig']();}['_initConfig'](){const _0x22b8c5=_0x3d4fef(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x22b8c5),this['listenTo'](this['editor'],'destroy',()=>{_0x22b8c5['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x343c55=_0x1c89;(function(_0x1f956e,_0x17b88a){const _0x344b09=_0x1c89,_0xe7f6a8=_0x1f956e();while(!![]){try{const _0x180fbb=parseInt(_0x344b09(0x1d5))/0x1+parseInt(_0x344b09(0x1de))/0x2+-parseInt(_0x344b09(0x1d8))/0x3+-parseInt(_0x344b09(0x1db))/0x4*(-parseInt(_0x344b09(0x1e7))/0x5)+-parseInt(_0x344b09(0x1e8))/0x6*(-parseInt(_0x344b09(0x1e9))/0x7)+parseInt(_0x344b09(0x1dd))/0x8+-parseInt(_0x344b09(0x1d7))/0x9*(parseInt(_0x344b09(0x1e1))/0xa);if(_0x180fbb===_0x17b88a)break;else _0xe7f6a8['push'](_0xe7f6a8['shift']());}catch(_0x1a8773){_0xe7f6a8['push'](_0xe7f6a8['shift']());}}}(_0x5b55,0xdc8da));import{Command as _0x24d267}from'ckeditor5/src/core.js';function _0x1c89(_0x2c9271,_0x27f13c){const _0x5b555f=_0x5b55();return _0x1c89=function(_0x1c8943,_0x39d73e){_0x1c8943=_0x1c8943-0x1d1;let _0x244b63=_0x5b555f[_0x1c8943];return _0x244b63;},_0x1c89(_0x2c9271,_0x27f13c);}function _0x5b55(){const _0x357f50=['20489XIVGDO','imageBlock','change','document','setAttributes','refresh','1769344QyLqRV','getSelectedElement','9DssRVY','2629158GnTgsz','execute','selection','4276lRzgLc','element','9817728qnlTbK','255812mTuGxB','model','removeAttribute','25959810Jsrfbx','isEnabled','editor','imageInline','srcset','sizes','4155CpKIRO','744nYnykC'];_0x5b55=function(){return _0x357f50;};return _0x5b55();}export class UploadcareImageReplaceCommand extends _0x24d267{[_0x343c55(0x1d4)](){const _0x2be92c=_0x343c55,_0x546453=this[_0x2be92c(0x1e3)][_0x2be92c(0x1df)][_0x2be92c(0x1d2)][_0x2be92c(0x1da)][_0x2be92c(0x1d6)]();this[_0x2be92c(0x1e2)]=Boolean(_0x546453&&(_0x546453['is'](_0x2be92c(0x1dc),_0x2be92c(0x1ea))||_0x546453['is'](_0x2be92c(0x1dc),_0x2be92c(0x1e4))));}[_0x343c55(0x1d9)](_0x40d5d2){const _0x13ed38=_0x343c55,_0xb8ed5f=this[_0x13ed38(0x1e3)][_0x13ed38(0x1df)][_0x13ed38(0x1d2)][_0x13ed38(0x1da)][_0x13ed38(0x1d6)]();this[_0x13ed38(0x1e3)][_0x13ed38(0x1df)][_0x13ed38(0x1d1)](_0x1b6fff=>{const _0x13303f=_0x13ed38;_0x1b6fff[_0x13303f(0x1d3)](_0x40d5d2,_0xb8ed5f),_0x1b6fff[_0x13303f(0x1e0)](_0x13303f(0x1e5),_0xb8ed5f),_0x1b6fff[_0x13303f(0x1e0)](_0x13303f(0x1e6),_0xb8ed5f);});}}
23
+ function _0x57fe(_0x7e964b,_0x499705){const _0x55cb47=_0x55cb();return _0x57fe=function(_0x57fe7c,_0x11e1c7){_0x57fe7c=_0x57fe7c-0xf9;let _0x35e869=_0x55cb47[_0x57fe7c];return _0x35e869;},_0x57fe(_0x7e964b,_0x499705);}const _0x225c68=_0x57fe;(function(_0x1149a0,_0x43c992){const _0x3571bd=_0x57fe,_0x4e5374=_0x1149a0();while(!![]){try{const _0x4ad0ba=-parseInt(_0x3571bd(0x10b))/0x1*(parseInt(_0x3571bd(0x108))/0x2)+-parseInt(_0x3571bd(0x106))/0x3+parseInt(_0x3571bd(0xf9))/0x4*(-parseInt(_0x3571bd(0x10f))/0x5)+-parseInt(_0x3571bd(0x101))/0x6+-parseInt(_0x3571bd(0x10d))/0x7+parseInt(_0x3571bd(0x100))/0x8*(-parseInt(_0x3571bd(0x111))/0x9)+parseInt(_0x3571bd(0x107))/0xa;if(_0x4ad0ba===_0x43c992)break;else _0x4e5374['push'](_0x4e5374['shift']());}catch(_0x586516){_0x4e5374['push'](_0x4e5374['shift']());}}}(_0x55cb,0xaa5d3));import{Command as _0x7737d9}from'ckeditor5/src/core.js';function _0x55cb(){const _0x2c0aac=['getSelectedElement','220lRMtDL','sizes','imageBlock','setAttributes','isEnabled','removeAttribute','selection','2262976Xvprjb','5486274CVcpRh','change','execute','srcset','imageInline','2748252uIYbRS','51783740HVnmeu','2270354jsFubu','element','model','1XTDUvv','editor','383432VbTOqt','document','107025WtMtzN','refresh','9svfdsK'];_0x55cb=function(){return _0x2c0aac;};return _0x55cb();}export class UploadcareImageReplaceCommand extends _0x7737d9{[_0x225c68(0x110)](){const _0xa6312a=_0x225c68,_0x21b669=this[_0xa6312a(0x10c)][_0xa6312a(0x10a)][_0xa6312a(0x10e)][_0xa6312a(0xff)][_0xa6312a(0x112)]();this[_0xa6312a(0xfd)]=Boolean(_0x21b669&&(_0x21b669['is'](_0xa6312a(0x109),_0xa6312a(0xfb))||_0x21b669['is'](_0xa6312a(0x109),_0xa6312a(0x105))));}[_0x225c68(0x103)](_0x28409d){const _0x92d48b=_0x225c68,_0x22db68=this[_0x92d48b(0x10c)][_0x92d48b(0x10a)][_0x92d48b(0x10e)][_0x92d48b(0xff)][_0x92d48b(0x112)]();this[_0x92d48b(0x10c)][_0x92d48b(0x10a)][_0x92d48b(0x102)](_0x402ac3=>{const _0x3a87a4=_0x92d48b;_0x402ac3[_0x3a87a4(0xfc)](_0x28409d,_0x22db68),_0x402ac3[_0x3a87a4(0xfe)](_0x3a87a4(0x104),_0x22db68),_0x402ac3[_0x3a87a4(0xfe)](_0x3a87a4(0xfa),_0x22db68);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56eb(){var _0x147f94=['8256523AyUBes','3Kenkul','6UvNoOO','248LESjmw','2917000ozvSGT','isOfficialPlugin','101853oXzPpg','UploadcareImageEdit','3003485kQUDOZ','1056616PHfHHb','5201868bIQDPv','pluginName','requires','isPremiumPlugin','98zjKroa','8573qCVqAU'];_0x56eb=function(){return _0x147f94;};return _0x56eb();}var _0x5ac200=_0x2758;function _0x2758(_0x3a5c83,_0x1d53b5){var _0x56eba6=_0x56eb();return _0x2758=function(_0x2758ca,_0xd6f2cb){_0x2758ca=_0x2758ca-0x1de;var _0x465b14=_0x56eba6[_0x2758ca];return _0x465b14;},_0x2758(_0x3a5c83,_0x1d53b5);}(function(_0x2f1db7,_0x9d432b){var _0x49f15b=_0x2758,_0x16438f=_0x2f1db7();while(!![]){try{var _0x151a83=parseInt(_0x49f15b(0x1de))/0x1*(-parseInt(_0x49f15b(0x1ed))/0x2)+-parseInt(_0x49f15b(0x1e0))/0x3*(-parseInt(_0x49f15b(0x1e8))/0x4)+-parseInt(_0x49f15b(0x1e7))/0x5*(-parseInt(_0x49f15b(0x1e1))/0x6)+-parseInt(_0x49f15b(0x1e9))/0x7+parseInt(_0x49f15b(0x1e2))/0x8*(-parseInt(_0x49f15b(0x1e5))/0x9)+parseInt(_0x49f15b(0x1e3))/0xa+parseInt(_0x49f15b(0x1df))/0xb;if(_0x151a83===_0x9d432b)break;else _0x16438f['push'](_0x16438f['shift']());}catch(_0x22f408){_0x16438f['push'](_0x16438f['shift']());}}}(_0x56eb,0x5ff9c));import{Plugin as _0x4d05f5}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x34ed76}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x19332c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x4d05f5{static get[_0x5ac200(0x1ea)](){var _0x5610c5=_0x5ac200;return _0x5610c5(0x1e6);}static get[_0x5ac200(0x1eb)](){return[_0x34ed76,_0x19332c];}static get[_0x5ac200(0x1e4)](){return!0x0;}static get[_0x5ac200(0x1ec)](){return!0x0;}}
23
+ var _0x1e797a=_0x1473;(function(_0x4cfda2,_0x3b3cf9){var _0x2f8185=_0x1473,_0x321799=_0x4cfda2();while(!![]){try{var _0x136430=-parseInt(_0x2f8185(0x17f))/0x1+-parseInt(_0x2f8185(0x17e))/0x2*(-parseInt(_0x2f8185(0x182))/0x3)+parseInt(_0x2f8185(0x184))/0x4*(parseInt(_0x2f8185(0x185))/0x5)+-parseInt(_0x2f8185(0x18b))/0x6+-parseInt(_0x2f8185(0x188))/0x7+parseInt(_0x2f8185(0x18a))/0x8+parseInt(_0x2f8185(0x17d))/0x9*(parseInt(_0x2f8185(0x187))/0xa);if(_0x136430===_0x3b3cf9)break;else _0x321799['push'](_0x321799['shift']());}catch(_0x4ec8a3){_0x321799['push'](_0x321799['shift']());}}}(_0x21ea,0xdcf14));import{Plugin as _0x8a13f9}from'ckeditor5/src/core.js';function _0x1473(_0x2f5c4b,_0x2b3f80){var _0x21ea24=_0x21ea();return _0x1473=function(_0x147381,_0x20bf39){_0x147381=_0x147381-0x17d;var _0x5475a3=_0x21ea24[_0x147381];return _0x5475a3;},_0x1473(_0x2f5c4b,_0x2b3f80);}import{UploadcareImageEditEditing as _0x3a166f}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x21ea(){var _0x5a0422=['isOfficialPlugin','48BJAMwz','506175Fwevmv','isPremiumPlugin','1370120YnsCSE','2772707NlRjOR','requires','4045944nINFqa','3283284ntqgIA','27MQciln','1395364oZrYzo','1678668eGenwM','pluginName','UploadcareImageEdit','6EHXxAj'];_0x21ea=function(){return _0x5a0422;};return _0x21ea();}import{UploadcareImageEditUI as _0x224b8b}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x8a13f9{static get[_0x1e797a(0x180)](){var _0x3df8c2=_0x1e797a;return _0x3df8c2(0x181);}static get[_0x1e797a(0x189)](){return[_0x3a166f,_0x224b8b];}static get[_0x1e797a(0x183)](){return!0x0;}static get[_0x1e797a(0x186)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38ef28=_0x5953;(function(_0x1a9e80,_0x4d993f){const _0x23256b=_0x5953,_0x2cd168=_0x1a9e80();while(!![]){try{const _0x3cebde=-parseInt(_0x23256b(0x11f))/0x1+parseInt(_0x23256b(0x107))/0x2+parseInt(_0x23256b(0xfe))/0x3*(-parseInt(_0x23256b(0xef))/0x4)+-parseInt(_0x23256b(0x113))/0x5+parseInt(_0x23256b(0xf3))/0x6*(parseInt(_0x23256b(0x131))/0x7)+parseInt(_0x23256b(0xf6))/0x8*(-parseInt(_0x23256b(0x12e))/0x9)+parseInt(_0x23256b(0x126))/0xa*(parseInt(_0x23256b(0xf1))/0xb);if(_0x3cebde===_0x4d993f)break;else _0x2cd168['push'](_0x2cd168['shift']());}catch(_0x54ab38){_0x2cd168['push'](_0x2cd168['shift']());}}}(_0x58b9,0x8e4a9));import{Plugin as _0x2c6718}from'ckeditor5/src/core.js';import{IconDropbox as _0x416241,IconFacebook as _0x5486f1,IconGoogleDrive as _0x12bae1,IconGooglePhotos as _0x1dbf6e,IconUploadcareImageUpload as _0x410856,IconUploadcareLink as _0x2b99b5,IconOneDrive as _0x6fc017}from'ckeditor5/src/icons.js';import{ButtonView as _0x41ea2e,MenuBarMenuListItemButtonView as _0x40ed5e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x9019fd}from'./uploadcareconfig.js';import{getTranslation as _0x3b6490}from'./utils/common-translations.js';function _0x58b9(){const _0x5ccef2=['init','plugins','destroy','uploadcare','uploadcareLicenseKeyNotAllowed','isEnabled','_showLicenseError','uploadcareLicenseKeyExpired','uploadcareLicenseKeyValid','_createDropdownButtons','Replace','1646180qJPkIB','uploadcare.uploader.sourceList','execute','_createMenuBarButtons','get','URL','evaluationLimit','GPhotos','isPremiumPlugin','ImageInsertUI','isImageSelected','_getIntegrationKey','243549HAOMez','reduce','locale','push','uploadcareLicenseKeyInvalid','registerIntegration','Dropbox','60qHkxmf','config','uploadcareLicenseKeyDomainLimit','invalid','afterInit','UploadcareUI','isOfficialPlugin','uploadcareLicenseKeyUsageLimit','1557fLdTYp','entries','OneDrive','25361ZkCpIU','label','featureNotAllowed','_createToolbarButton','Facebook','_normalizeConfigSourceList','_createButton','usageLimit','editor','uploadcareLicenseKeyEvaluationLimit','has','Uploadcare','licenseKey','commands','1192JNcblH','url','3883759sykiyq','type','498bgxsSk','upload','withText','29000GTRRTT','shortText','pluginName','_licenseKeyCheckInterval','text','Local','assetManager','expired','7899gvHrJB','forEach','domainLimit','icon','tooltip','Insert','GDrive','bind','map','296492iuuJJM'];_0x58b9=function(){return _0x5ccef2;};return _0x58b9();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x5953(_0x2f27f9,_0x10017c){const _0x58b992=_0x58b9();return _0x5953=function(_0x595368,_0xc5d8e8){_0x595368=_0x595368-0xe4;let _0x19d5c=_0x58b992[_0x595368];return _0x19d5c;},_0x5953(_0x2f27f9,_0x10017c);}export class UploadcareUI extends _0x2c6718{[_0x38ef28(0xed)];[_0x38ef28(0xf9)];static get[_0x38ef28(0xf8)](){const _0x11a65c=_0x38ef28;return _0x11a65c(0x12b);}static get[_0x38ef28(0x12c)](){return!0x0;}static get[_0x38ef28(0x11b)](){return!0x0;}[_0x38ef28(0x108)](){const _0x79bd2b=_0x38ef28;this[_0x79bd2b(0xed)]=this[_0x79bd2b(0xe9)][_0x79bd2b(0x127)][_0x79bd2b(0x117)](_0x79bd2b(0xed));const _0x62a831=this[_0x79bd2b(0xe9)];this[_0x79bd2b(0xf9)]=setInterval(()=>{const _0x2f10ff=_0x79bd2b;let _0x336395;for(const _0x17a28d in _0x62a831){const _0x9d1adf=_0x17a28d,_0x392d0d=_0x62a831[_0x9d1adf];if(_0x2f10ff(0x110)==_0x392d0d||_0x2f10ff(0x123)==_0x392d0d||_0x2f10ff(0x10f)==_0x392d0d||_0x2f10ff(0x128)==_0x392d0d||_0x2f10ff(0x10c)==_0x392d0d||_0x2f10ff(0xea)==_0x392d0d||_0x2f10ff(0x12d)==_0x392d0d){delete _0x62a831[_0x9d1adf],_0x336395=_0x392d0d,clearInterval(this[_0x2f10ff(0xf9)]),this[_0x2f10ff(0xf9)]=void 0x0;break;}}_0x2f10ff(0x123)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x129)),_0x2f10ff(0x10f)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0xfd)),_0x2f10ff(0x128)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x100)),_0x2f10ff(0x10c)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x133),_0x2f10ff(0xec)),_0x2f10ff(0xea)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x119)),_0x2f10ff(0x12d)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0xe8));},0x3e8);}[_0x38ef28(0x12a)](){const _0x23b8b0=_0x38ef28,{editor:_0x6aff9a}=this,_0x31f177=_0x6aff9a[_0x23b8b0(0xee)][_0x23b8b0(0x117)](_0x23b8b0(0x10b));if(!_0x31f177)return;const _0x3af012=this[_0x23b8b0(0xe6)](_0x6aff9a[_0x23b8b0(0x127)][_0x23b8b0(0x117)](_0x23b8b0(0x114)))[_0x23b8b0(0x120)]((_0x3f6f12,_0x377249)=>{const _0xa981b4=_0x23b8b0,_0x5b5041=this[_0xa981b4(0x11e)](_0x377249[_0xa981b4(0xf2)]);return _0x3f6f12[_0x5b5041]||(_0x3f6f12[_0x5b5041]=[]),_0x3f6f12[_0x5b5041][_0xa981b4(0x122)](_0x377249),_0x3f6f12;},{});_0x6aff9a[_0x23b8b0(0x109)][_0x23b8b0(0xeb)](_0x23b8b0(0x11c))&&_0x6aff9a[_0x23b8b0(0xee)][_0x23b8b0(0x117)](_0x23b8b0(0x10b))&&Object[_0x23b8b0(0x12f)](_0x3af012)[_0x23b8b0(0xff)](([_0x838835,_0x740a93])=>{const _0x3ad78c=_0x23b8b0;_0x6aff9a[_0x3ad78c(0x109)][_0x3ad78c(0x117)](_0x3ad78c(0x11c))[_0x3ad78c(0x124)]({'name':_0x838835,'observable':()=>_0x31f177,'buttonViewCreator':()=>this[_0x3ad78c(0xe4)](_0x740a93),'formViewCreator':()=>this[_0x3ad78c(0x111)](_0x740a93),'menuBarButtonViewCreator':()=>this[_0x3ad78c(0x116)](_0x740a93),'override':_0x3ad78c(0xfc)!==_0x838835});});}[_0x38ef28(0x10a)](){const _0x2c19e1=_0x38ef28;super[_0x2c19e1(0x10a)](),this[_0x2c19e1(0xf9)]&&clearInterval(this[_0x2c19e1(0xf9)]);}[_0x38ef28(0xe6)](_0x4eb505){const _0x1b6288=_0x38ef28,{locale:_0x51f00f}=this[_0x1b6288(0xe9)];return _0x4eb505[_0x1b6288(0x106)](_0x45704e=>{const _0x33effb=_0x1b6288,_0x4ce478=_0x3b6490(_0x51f00f,_0x45704e,_0x33effb(0x103));switch(_0x45704e){case _0x9019fd[_0x33effb(0xfb)]:return{'icon':_0x410856,'type':_0x9019fd[_0x33effb(0xfb)],..._0x4ce478};case _0x9019fd[_0x33effb(0x118)]:return{'icon':_0x2b99b5,'type':_0x9019fd[_0x33effb(0x118)],..._0x4ce478};case _0x9019fd[_0x33effb(0x125)]:return{'icon':_0x416241,'type':_0x9019fd[_0x33effb(0x125)],..._0x4ce478};case _0x9019fd[_0x33effb(0xe5)]:return{'icon':_0x5486f1,'type':_0x9019fd[_0x33effb(0xe5)],..._0x4ce478};case _0x9019fd[_0x33effb(0x104)]:return{'icon':_0x12bae1,'type':_0x9019fd[_0x33effb(0x104)],..._0x4ce478};case _0x9019fd[_0x33effb(0x11a)]:return{'icon':_0x1dbf6e,'type':_0x9019fd[_0x33effb(0x11a)],..._0x4ce478};case _0x9019fd[_0x33effb(0x130)]:return{'icon':_0x6fc017,'type':_0x9019fd[_0x33effb(0x130)],..._0x4ce478};}});}[_0x38ef28(0x11e)](_0x47d290){const _0x14693c=_0x38ef28;switch(_0x47d290){case _0x9019fd[_0x14693c(0xfb)]:return _0x14693c(0xf4);case _0x9019fd[_0x14693c(0x118)]:return _0x14693c(0xf0);default:return _0x14693c(0xfc);}}[_0x38ef28(0xe7)](_0x454234,_0x49f354){const _0x14e198=_0x38ef28,_0x474a60=this[_0x14e198(0xe9)],_0x209b02=new _0x454234(_0x474a60[_0x14e198(0x121)]),_0x3543f1=_0x474a60[_0x14e198(0xee)][_0x14e198(0x117)](_0x14e198(0x10b));return _0x209b02[_0x14e198(0x105)](_0x14e198(0x10d))['to'](_0x3543f1),_0x209b02['on'](_0x14e198(0x115),()=>{const _0x259b2a=_0x14e198;_0x3543f1[_0x259b2a(0x115)](_0x49f354);}),_0x209b02;}[_0x38ef28(0xe4)](_0x460673){const _0x1f190c=_0x38ef28,{locale:_0x2954c8}=this[_0x1f190c(0xe9)],_0x3f2492=this[_0x1f190c(0xe9)][_0x1f190c(0x109)][_0x1f190c(0x117)](_0x1f190c(0x11c)),_0x4d6917=_0x460673[0x0],_0x4c6f45=this[_0x1f190c(0xe7)](_0x41ea2e,_0x4d6917[_0x1f190c(0xf2)]);return _0x4c6f45[_0x1f190c(0x101)]=_0x4d6917[_0x1f190c(0x101)],_0x4c6f45[_0x1f190c(0x105)](_0x1f190c(0x132))['to'](_0x3f2492,_0x1f190c(0x11d),_0x51c2eb=>_0x3b6490(_0x2954c8,_0x4d6917[_0x1f190c(0xf2)],_0x51c2eb?_0x1f190c(0x112):_0x1f190c(0x103))[_0x1f190c(0xfa)]),_0x4c6f45[_0x1f190c(0x102)]=!0x0,_0x4c6f45;}[_0x38ef28(0x111)](_0x30e057){const _0xee4b9d=_0x38ef28,{locale:_0x279400}=this[_0xee4b9d(0xe9)],_0x4e39c9=this[_0xee4b9d(0xe9)][_0xee4b9d(0x109)][_0xee4b9d(0x117)](_0xee4b9d(0x11c));return _0x30e057[_0xee4b9d(0x106)](_0x10109d=>{const _0x321fad=_0xee4b9d,_0xe07654=this[_0x321fad(0xe7)](_0x41ea2e,_0x10109d[_0x321fad(0xf2)]);return _0xe07654[_0x321fad(0xf5)]=!0x0,_0xe07654[_0x321fad(0x101)]=_0x10109d[_0x321fad(0x101)],_0xe07654[_0x321fad(0x105)](_0x321fad(0x132))['to'](_0x4e39c9,_0x321fad(0x11d),_0x13e526=>_0x3b6490(_0x279400,_0x10109d[_0x321fad(0xf2)],_0x13e526?_0x321fad(0x112):_0x321fad(0x103))[_0x321fad(0xfa)]),_0xe07654;});}[_0x38ef28(0x116)](_0x55c9e8){const _0x3b148e=_0x38ef28;return _0x55c9e8[_0x3b148e(0x106)](_0x4a59fe=>{const _0x15c5bb=_0x3b148e,_0x516ba3=this[_0x15c5bb(0xe7)](_0x40ed5e,_0x4a59fe[_0x15c5bb(0xf2)]);return _0x516ba3[_0x15c5bb(0x101)]=_0x4a59fe[_0x15c5bb(0x101)],_0x516ba3[_0x15c5bb(0x132)]=_0x4a59fe[_0x15c5bb(0xf7)],_0x516ba3;});}}
23
+ const _0x387baa=_0x2aab;(function(_0x4b3f45,_0x4c45c7){const _0x406af4=_0x2aab,_0x11f19d=_0x4b3f45();while(!![]){try{const _0x14844d=parseInt(_0x406af4(0x223))/0x1+-parseInt(_0x406af4(0x225))/0x2*(parseInt(_0x406af4(0x218))/0x3)+parseInt(_0x406af4(0x1fa))/0x4+-parseInt(_0x406af4(0x1e6))/0x5+parseInt(_0x406af4(0x20e))/0x6*(-parseInt(_0x406af4(0x210))/0x7)+parseInt(_0x406af4(0x1f5))/0x8+parseInt(_0x406af4(0x1ee))/0x9*(-parseInt(_0x406af4(0x212))/0xa);if(_0x14844d===_0x4c45c7)break;else _0x11f19d['push'](_0x11f19d['shift']());}catch(_0x570bf5){_0x11f19d['push'](_0x11f19d['shift']());}}}(_0x4277,0xcb5ee));function _0x2aab(_0x5c7c94,_0x5771a8){const _0x42776e=_0x4277();return _0x2aab=function(_0x2aabb1,_0x114f36){_0x2aabb1=_0x2aabb1-0x1dd;let _0x5a3435=_0x42776e[_0x2aabb1];return _0x5a3435;},_0x2aab(_0x5c7c94,_0x5771a8);}import{Plugin as _0x2fec9a}from'ckeditor5/src/core.js';import{IconDropbox as _0x26bd05,IconFacebook as _0x8725ca,IconGoogleDrive as _0x22266e,IconGooglePhotos as _0x21a8e4,IconUploadcareImageUpload as _0x1fbdd3,IconUploadcareLink as _0x983527,IconOneDrive as _0x16c688}from'ckeditor5/src/icons.js';import{ButtonView as _0x551295,MenuBarMenuListItemButtonView as _0x2328c3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x45c4a4}from'./uploadcareconfig.js';import{getTranslation as _0x265fc8}from'./utils/common-translations.js';function _0x4277(){const _0x29c371=['GDrive','Local','UploadcareUI','destroy','assetManager','evaluationLimit','locale','Insert','init','editor','uploadcareLicenseKeyInvalid','_licenseKeyCheckInterval','label','invalid','5505775MVmBEq','bind','uploadcare.uploader.sourceList','pluginName','registerIntegration','uploadcareLicenseKeyDomainLimit','commands','Facebook','9LEkmus','domainLimit','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','execute','featureNotAllowed','10328192hKWaYr','uploadcare','reduce','type','expired','5858308pJZVKR','Uploadcare','push','_createButton','config','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','map','licenseKey','has','isEnabled','uploadcareLicenseKeyUsageLimit','text','Replace','GPhotos','isOfficialPlugin','URL','entries','isImageSelected','shortText','3833238qBWFnl','icon','7MOzkmg','tooltip','4957130Iumzlg','isPremiumPlugin','OneDrive','_createDropdownButtons','_createToolbarButton','_createMenuBarButtons','2739urbHAu','_showLicenseError','usageLimit','ImageInsertUI','get','withText','url','afterInit','forEach','_getIntegrationKey','Dropbox','809818yYEsRG','upload','1088qwiHay','plugins'];_0x4277=function(){return _0x29c371;};return _0x4277();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2fec9a{[_0x387baa(0x202)];[_0x387baa(0x1e3)];static get[_0x387baa(0x1e9)](){const _0x3bf77e=_0x387baa;return _0x3bf77e(0x229);}static get[_0x387baa(0x209)](){return!0x0;}static get[_0x387baa(0x213)](){return!0x0;}[_0x387baa(0x1e0)](){const _0x4cbbed=_0x387baa;this[_0x4cbbed(0x202)]=this[_0x4cbbed(0x1e1)][_0x4cbbed(0x1fe)][_0x4cbbed(0x21c)](_0x4cbbed(0x202));const _0x113f31=this[_0x4cbbed(0x1e1)];this[_0x4cbbed(0x1e3)]=setInterval(()=>{const _0x5a747f=_0x4cbbed;let _0x48f77a;for(const _0x2bab2 in _0x113f31){const _0x40524a=_0x2bab2,_0x54cb74=_0x113f31[_0x40524a];if(_0x5a747f(0x1f1)==_0x54cb74||_0x5a747f(0x1e2)==_0x54cb74||_0x5a747f(0x200)==_0x54cb74||_0x5a747f(0x1eb)==_0x54cb74||_0x5a747f(0x1f0)==_0x54cb74||_0x5a747f(0x1f2)==_0x54cb74||_0x5a747f(0x205)==_0x54cb74){delete _0x113f31[_0x40524a],_0x48f77a=_0x54cb74,clearInterval(this[_0x5a747f(0x1e3)]),this[_0x5a747f(0x1e3)]=void 0x0;break;}}_0x5a747f(0x1e2)==_0x48f77a&&_0x113f31[_0x5a747f(0x219)](_0x5a747f(0x1e5)),_0x5a747f(0x200)==_0x48f77a&&_0x113f31[_0x5a747f(0x219)](_0x5a747f(0x1f9)),_0x5a747f(0x1eb)==_0x48f77a&&_0x113f31[_0x5a747f(0x219)](_0x5a747f(0x1ef)),_0x5a747f(0x1f0)==_0x48f77a&&_0x113f31[_0x5a747f(0x219)](_0x5a747f(0x1f4),_0x5a747f(0x1fb)),_0x5a747f(0x1f2)==_0x48f77a&&_0x113f31[_0x5a747f(0x219)](_0x5a747f(0x1dd)),_0x5a747f(0x205)==_0x48f77a&&_0x113f31[_0x5a747f(0x219)](_0x5a747f(0x21a));},0x3e8);}[_0x387baa(0x21f)](){const _0x1b644f=_0x387baa,{editor:_0x39c924}=this,_0x4f75f=_0x39c924[_0x1b644f(0x1ec)][_0x1b644f(0x21c)](_0x1b644f(0x1f6));if(!_0x4f75f)return;const _0xae91aa=this[_0x1b644f(0x1ff)](_0x39c924[_0x1b644f(0x1fe)][_0x1b644f(0x21c)](_0x1b644f(0x1e8)))[_0x1b644f(0x1f7)]((_0x5b60a3,_0x52b7ec)=>{const _0x1e319f=_0x1b644f,_0x5c0ca3=this[_0x1e319f(0x221)](_0x52b7ec[_0x1e319f(0x1f8)]);return _0x5b60a3[_0x5c0ca3]||(_0x5b60a3[_0x5c0ca3]=[]),_0x5b60a3[_0x5c0ca3][_0x1e319f(0x1fc)](_0x52b7ec),_0x5b60a3;},{});_0x39c924[_0x1b644f(0x226)][_0x1b644f(0x203)](_0x1b644f(0x21b))&&_0x39c924[_0x1b644f(0x1ec)][_0x1b644f(0x21c)](_0x1b644f(0x1f6))&&Object[_0x1b644f(0x20b)](_0xae91aa)[_0x1b644f(0x220)](([_0x3ceab3,_0x316147])=>{const _0x519177=_0x1b644f;_0x39c924[_0x519177(0x226)][_0x519177(0x21c)](_0x519177(0x21b))[_0x519177(0x1ea)]({'name':_0x3ceab3,'observable':()=>_0x4f75f,'buttonViewCreator':()=>this[_0x519177(0x216)](_0x316147),'formViewCreator':()=>this[_0x519177(0x215)](_0x316147),'menuBarButtonViewCreator':()=>this[_0x519177(0x217)](_0x316147),'override':_0x519177(0x22b)!==_0x3ceab3});});}[_0x387baa(0x22a)](){const _0x2e38dd=_0x387baa;super[_0x2e38dd(0x22a)](),this[_0x2e38dd(0x1e3)]&&clearInterval(this[_0x2e38dd(0x1e3)]);}[_0x387baa(0x1ff)](_0x323061){const _0x55d0b7=_0x387baa,{locale:_0x4f9cb2}=this[_0x55d0b7(0x1e1)];return _0x323061[_0x55d0b7(0x201)](_0x3b38a9=>{const _0x2343a2=_0x55d0b7,_0x528325=_0x265fc8(_0x4f9cb2,_0x3b38a9,_0x2343a2(0x1df));switch(_0x3b38a9){case _0x45c4a4[_0x2343a2(0x228)]:return{'icon':_0x1fbdd3,'type':_0x45c4a4[_0x2343a2(0x228)],..._0x528325};case _0x45c4a4[_0x2343a2(0x20a)]:return{'icon':_0x983527,'type':_0x45c4a4[_0x2343a2(0x20a)],..._0x528325};case _0x45c4a4[_0x2343a2(0x222)]:return{'icon':_0x26bd05,'type':_0x45c4a4[_0x2343a2(0x222)],..._0x528325};case _0x45c4a4[_0x2343a2(0x1ed)]:return{'icon':_0x8725ca,'type':_0x45c4a4[_0x2343a2(0x1ed)],..._0x528325};case _0x45c4a4[_0x2343a2(0x227)]:return{'icon':_0x22266e,'type':_0x45c4a4[_0x2343a2(0x227)],..._0x528325};case _0x45c4a4[_0x2343a2(0x208)]:return{'icon':_0x21a8e4,'type':_0x45c4a4[_0x2343a2(0x208)],..._0x528325};case _0x45c4a4[_0x2343a2(0x214)]:return{'icon':_0x16c688,'type':_0x45c4a4[_0x2343a2(0x214)],..._0x528325};}});}[_0x387baa(0x221)](_0x2a0815){const _0x129f1a=_0x387baa;switch(_0x2a0815){case _0x45c4a4[_0x129f1a(0x228)]:return _0x129f1a(0x224);case _0x45c4a4[_0x129f1a(0x20a)]:return _0x129f1a(0x21e);default:return _0x129f1a(0x22b);}}[_0x387baa(0x1fd)](_0x44c487,_0x5be9fa){const _0x41c46d=_0x387baa,_0x53ef88=this[_0x41c46d(0x1e1)],_0x422776=new _0x44c487(_0x53ef88[_0x41c46d(0x1de)]),_0x259290=_0x53ef88[_0x41c46d(0x1ec)][_0x41c46d(0x21c)](_0x41c46d(0x1f6));return _0x422776[_0x41c46d(0x1e7)](_0x41c46d(0x204))['to'](_0x259290),_0x422776['on'](_0x41c46d(0x1f3),()=>{const _0x3136db=_0x41c46d;_0x259290[_0x3136db(0x1f3)](_0x5be9fa);}),_0x422776;}[_0x387baa(0x216)](_0x21e4b6){const _0x461707=_0x387baa,{locale:_0x36e5fc}=this[_0x461707(0x1e1)],_0x4d67da=this[_0x461707(0x1e1)][_0x461707(0x226)][_0x461707(0x21c)](_0x461707(0x21b)),_0x236036=_0x21e4b6[0x0],_0xeeffb5=this[_0x461707(0x1fd)](_0x551295,_0x236036[_0x461707(0x1f8)]);return _0xeeffb5[_0x461707(0x20f)]=_0x236036[_0x461707(0x20f)],_0xeeffb5[_0x461707(0x1e7)](_0x461707(0x1e4))['to'](_0x4d67da,_0x461707(0x20c),_0x3d1654=>_0x265fc8(_0x36e5fc,_0x236036[_0x461707(0x1f8)],_0x3d1654?_0x461707(0x207):_0x461707(0x1df))[_0x461707(0x206)]),_0xeeffb5[_0x461707(0x211)]=!0x0,_0xeeffb5;}[_0x387baa(0x215)](_0x32df9e){const _0x4dc270=_0x387baa,{locale:_0xc62e85}=this[_0x4dc270(0x1e1)],_0x50899d=this[_0x4dc270(0x1e1)][_0x4dc270(0x226)][_0x4dc270(0x21c)](_0x4dc270(0x21b));return _0x32df9e[_0x4dc270(0x201)](_0x200495=>{const _0x1cff4e=_0x4dc270,_0x5d6b89=this[_0x1cff4e(0x1fd)](_0x551295,_0x200495[_0x1cff4e(0x1f8)]);return _0x5d6b89[_0x1cff4e(0x21d)]=!0x0,_0x5d6b89[_0x1cff4e(0x20f)]=_0x200495[_0x1cff4e(0x20f)],_0x5d6b89[_0x1cff4e(0x1e7)](_0x1cff4e(0x1e4))['to'](_0x50899d,_0x1cff4e(0x20c),_0x4f2268=>_0x265fc8(_0xc62e85,_0x200495[_0x1cff4e(0x1f8)],_0x4f2268?_0x1cff4e(0x207):_0x1cff4e(0x1df))[_0x1cff4e(0x206)]),_0x5d6b89;});}[_0x387baa(0x217)](_0x358ad8){const _0x27107e=_0x387baa;return _0x358ad8[_0x27107e(0x201)](_0x89b09b=>{const _0x462ae7=_0x27107e,_0x10f312=this[_0x462ae7(0x1fd)](_0x2328c3,_0x89b09b[_0x462ae7(0x1f8)]);return _0x10f312[_0x462ae7(0x20f)]=_0x89b09b[_0x462ae7(0x20f)],_0x10f312[_0x462ae7(0x1e4)]=_0x89b09b[_0x462ae7(0x20d)],_0x10f312;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1a4059}from'ckeditor5/src/core.js';import{FileRepository as _0x368648}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x7c543b}from'./uploadcareediting.js';import{UploadUtils as _0x275ab7}from'./utils/uploadutils.js';import{getImageUrls as _0x480686}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1a4059{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x368648,_0x7c543b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2c1592=this['editor'];if(!!!_0x2c1592['config']['get']('uploadcare'))return;_0x2c1592['plugins']['get'](_0x368648)['createUploadAdapter']=_0x132865=>new Adapter(_0x132865,_0x2c1592),_0x2c1592['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x22ab1f,{imageElement:_0x57b79c,data:_0x49abbd})=>{_0x2c1592['model']['change'](_0x4f6e4a=>{_0x4f6e4a['setAttribute']('uploadcareImageId',_0x49abbd['uploadcareImageId'],_0x57b79c);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0xd0cd0d,_0x545d07){this['loader']=_0xd0cd0d,this['editor']=_0x545d07,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x192c59=await this['loader']['file'];return _0x275ab7['upload']({'file':_0x192c59,'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':_0x5a323b=>{_0x5a323b&&_0x5a323b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5a323b['value']);}})['then'](async _0x41dbc2=>{const {imageFallbackUrl:_0x10fc4d,imageSources:_0x370df3}=_0x480686(_0x41dbc2['cdnUrl'],_0x41dbc2['imageInfo']['width']);return{'uploadcareImageId':_0x41dbc2['uuid'],'default':_0x10fc4d,'sources':_0x370df3};})['catch'](()=>{const _0x406f25=t('Cannot\x20upload\x20file:')+('\x20'+_0x192c59['name']+'.');return Promise['reject'](_0x406f25);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x19e750}from'ckeditor5/src/core.js';import{FileRepository as _0x1096cd}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1ef816}from'./uploadcareediting.js';import{UploadUtils as _0x288285}from'./utils/uploadutils.js';import{getImageUrls as _0x200547}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x19e750{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1096cd,_0x1ef816];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x9d643c=this['editor'];if(!!!_0x9d643c['config']['get']('uploadcare'))return;_0x9d643c['plugins']['get'](_0x1096cd)['createUploadAdapter']=_0x17a38c=>new Adapter(_0x17a38c,_0x9d643c),_0x9d643c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1db303,{imageElement:_0x1b3e8d,data:_0x261ed5})=>{_0x9d643c['model']['change'](_0x331725=>{_0x331725['setAttribute']('uploadcareImageId',_0x261ed5['uploadcareImageId'],_0x1b3e8d);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x48bcac,_0x522b98){this['loader']=_0x48bcac,this['editor']=_0x522b98,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x320fe6=await this['loader']['file'];return _0x288285['upload']({'file':_0x320fe6,'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':_0x174ad5=>{_0x174ad5&&_0x174ad5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x174ad5['value']);}})['then'](async _0x2fdc60=>{const {imageFallbackUrl:_0x2f70a0,imageSources:_0x566e0b}=_0x200547(_0x2fdc60['cdnUrl'],_0x2fdc60['imageInfo']['width']);return{'uploadcareImageId':_0x2fdc60['uuid'],'default':_0x2f70a0,'sources':_0x566e0b};})['catch'](()=>{const _0x242f97=t('Cannot\x20upload\x20file:')+('\x20'+_0x320fe6['name']+'.');return Promise['reject'](_0x242f97);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5c4b6e}from'../uploadcareconfig.js';export function getTranslation(_0x3ba58f,_0x4373d6,_0x24429a){const t=_0x3ba58f['t'],_0x5bcc3c=_0x3ba58f['t'];switch(_0x4373d6){case _0x5c4b6e['Local']:return{'text':_0x5bcc3c('Insert'===_0x24429a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5bcc3c('From\x20computer')};case _0x5c4b6e['URL']:return{'text':'Insert'===_0x24429a?_0x5bcc3c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5bcc3c('Via\x20URL')};case _0x5c4b6e['Dropbox']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5c4b6e['Facebook']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5c4b6e['GDrive']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5c4b6e['GPhotos']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5c4b6e['OneDrive']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4373d6;}}
23
+ import{UploadcareSource as _0x53313f}from'../uploadcareconfig.js';export function getTranslation(_0x15a5f8,_0x78fac9,_0x3ac7a4){const t=_0x15a5f8['t'],_0x4d72c1=_0x15a5f8['t'];switch(_0x78fac9){case _0x53313f['Local']:return{'text':_0x4d72c1('Insert'===_0x3ac7a4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4d72c1('From\x20computer')};case _0x53313f['URL']:return{'text':'Insert'===_0x3ac7a4?_0x4d72c1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4d72c1('Via\x20URL')};case _0x53313f['Dropbox']:return{'text':t('Insert'===_0x3ac7a4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x53313f['Facebook']:return{'text':t('Insert'===_0x3ac7a4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x53313f['GDrive']:return{'text':t('Insert'===_0x3ac7a4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x53313f['GPhotos']:return{'text':t('Insert'===_0x3ac7a4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x53313f['OneDrive']:return{'text':t('Insert'===_0x3ac7a4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x78fac9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1054c8=_0x3d83;(function(_0x577d3b,_0xc74895){var _0x5ec5fa=_0x3d83,_0x3a7a49=_0x577d3b();while(!![]){try{var _0x25f734=-parseInt(_0x5ec5fa(0x137))/0x1+-parseInt(_0x5ec5fa(0x141))/0x2*(parseInt(_0x5ec5fa(0x142))/0x3)+-parseInt(_0x5ec5fa(0x13c))/0x4+parseInt(_0x5ec5fa(0x145))/0x5*(-parseInt(_0x5ec5fa(0x13d))/0x6)+-parseInt(_0x5ec5fa(0x143))/0x7+-parseInt(_0x5ec5fa(0x13b))/0x8+parseInt(_0x5ec5fa(0x13e))/0x9;if(_0x25f734===_0xc74895)break;else _0x3a7a49['push'](_0x3a7a49['shift']());}catch(_0x19c080){_0x3a7a49['push'](_0x3a7a49['shift']());}}}(_0x4159,0x4e61a));import{FocusTracker as _0x208e57}from'ckeditor5/src/utils.js';function _0x4159(){var _0x10cfe5=['getFocusableElement','498245POxXkX','focusTracker','createCollection','fire','1753328uXdeua','2289952srMlqQ','2518890UDPtKe','20712006HasIzH','forwardCycle','bindTemplate','24XUZgMB','18438zscTew','1377726sjAjZc','focusCycler','5iLMBjn','true','div'];_0x4159=function(){return _0x10cfe5;};return _0x4159();}import{View as _0x391b5b,FocusCycler as _0x206fae}from'ckeditor5/src/ui.js';function _0x3d83(_0xb4c4eb,_0x44274e){var _0x4159bf=_0x4159();return _0x3d83=function(_0x3d833e,_0x59873f){_0x3d833e=_0x3d833e-0x135;var _0x267d07=_0x4159bf[_0x3d833e];return _0x267d07;},_0x3d83(_0xb4c4eb,_0x44274e);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x391b5b{[_0x1054c8(0x138)];[_0x1054c8(0x144)];constructor(_0x375cfd){var _0x54d6b0=_0x1054c8;super(_0x375cfd),this[_0x54d6b0(0x138)]=new _0x208e57(),this[_0x54d6b0(0x144)]=new _0x206fae({'focusables':this[_0x54d6b0(0x139)](),'focusTracker':this[_0x54d6b0(0x138)]});}[_0x1054c8(0x136)](){var _0x3b6125=_0x1054c8;return{'tag':_0x3b6125(0x135),'attributes':{'aria-hidden':_0x3b6125(0x146),'tabindex':'0'},'on':{'focus':this[_0x3b6125(0x140)]['to'](()=>{var _0x34d238=_0x3b6125;this[_0x34d238(0x144)][_0x34d238(0x13a)](_0x34d238(0x13f));})}};}}
23
+ var _0x484741=_0x22f2;(function(_0x2286d2,_0x14b089){var _0x1f093b=_0x22f2,_0x16193c=_0x2286d2();while(!![]){try{var _0x1918e=-parseInt(_0x1f093b(0x148))/0x1+parseInt(_0x1f093b(0x13d))/0x2*(-parseInt(_0x1f093b(0x13a))/0x3)+parseInt(_0x1f093b(0x13b))/0x4+parseInt(_0x1f093b(0x145))/0x5+parseInt(_0x1f093b(0x143))/0x6+parseInt(_0x1f093b(0x137))/0x7*(parseInt(_0x1f093b(0x144))/0x8)+-parseInt(_0x1f093b(0x146))/0x9*(-parseInt(_0x1f093b(0x141))/0xa);if(_0x1918e===_0x14b089)break;else _0x16193c['push'](_0x16193c['shift']());}catch(_0x3d0842){_0x16193c['push'](_0x16193c['shift']());}}}(_0x2511,0x82fa8));import{FocusTracker as _0x3956cc}from'ckeditor5/src/utils.js';import{View as _0x41fb3a,FocusCycler as _0x302dc2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x22f2(_0x4c393e,_0x12981c){var _0x2511ae=_0x2511();return _0x22f2=function(_0x22f25e,_0x46fe00){_0x22f25e=_0x22f25e-0x137;var _0x1d9ee3=_0x2511ae[_0x22f25e];return _0x1d9ee3;},_0x22f2(_0x4c393e,_0x12981c);}function _0x2511(){var _0x438ab8=['focusTracker','27mYzVLr','1331088jJBRCZ','fire','215478gZeNPr','true','forwardCycle','focusCycler','10QdINqG','bindTemplate','713796hSXMeB','8xaiiNI','1247660cEFJcR','6846984hlpbhv','createCollection','806628XLDSgm','getFocusableElement','5955047MQJjLD','div'];_0x2511=function(){return _0x438ab8;};return _0x2511();}export class DialogFocusManagerView extends _0x41fb3a{[_0x484741(0x139)];[_0x484741(0x140)];constructor(_0x38bd0d){var _0x51efbf=_0x484741;super(_0x38bd0d),this[_0x51efbf(0x139)]=new _0x3956cc(),this[_0x51efbf(0x140)]=new _0x302dc2({'focusables':this[_0x51efbf(0x147)](),'focusTracker':this[_0x51efbf(0x139)]});}[_0x484741(0x149)](){var _0x492f5f=_0x484741;return{'tag':_0x492f5f(0x138),'attributes':{'aria-hidden':_0x492f5f(0x13e),'tabindex':'0'},'on':{'focus':this[_0x492f5f(0x142)]['to'](()=>{var _0x583936=_0x492f5f;this[_0x583936(0x140)][_0x583936(0x13c)](_0x583936(0x13f));})}};}}