@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250919.0 → 0.0.0-nightly-20250920.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
- function _0xfb23(_0x339242,_0x9bbed2){const _0x3b219d=_0x3b21();return _0xfb23=function(_0xfb23bd,_0x382c32){_0xfb23bd=_0xfb23bd-0x1d8;let _0x236d72=_0x3b219d[_0xfb23bd];return _0x236d72;},_0xfb23(_0x339242,_0x9bbed2);}const _0x2d147e=_0xfb23;(function(_0x21eded,_0x58f204){const _0x529bf9=_0xfb23,_0x541e6f=_0x21eded();while(!![]){try{const _0x45a284=-parseInt(_0x529bf9(0x214))/0x1+parseInt(_0x529bf9(0x22a))/0x2*(parseInt(_0x529bf9(0x201))/0x3)+parseInt(_0x529bf9(0x216))/0x4*(-parseInt(_0x529bf9(0x1eb))/0x5)+-parseInt(_0x529bf9(0x1fc))/0x6*(-parseInt(_0x529bf9(0x22c))/0x7)+parseInt(_0x529bf9(0x1e1))/0x8*(-parseInt(_0x529bf9(0x205))/0x9)+parseInt(_0x529bf9(0x20a))/0xa+-parseInt(_0x529bf9(0x1ed))/0xb*(-parseInt(_0x529bf9(0x1de))/0xc);if(_0x45a284===_0x58f204)break;else _0x541e6f['push'](_0x541e6f['shift']());}catch(_0x1f7778){_0x541e6f['push'](_0x541e6f['shift']());}}}(_0x3b21,0x3c1f4));function _0x3b21(){const _0x1aeeec=['391110bOZTUW','render','7goTVrQ','#uc-icon-arrow-down','_initImageProcessingIndicator','ucContextId','_initSchema','editing','uploadcare.uploader','uploadcare','\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','36aLimRq','init','attributeToAttribute','8XwIiVZ','querySelector','insertImage','removeAttribute','for','once','remove','_initConversion','uc-config','conversion','845WtCeVB','schema','405581FlgYWW','extend','getAttribute','afterInit','cleanupImage','isPremiumPlugin','join','document','body','ctxElement','fromCharCode','_ctxElement','view','href','replaceImageSource','946266ogqNcr','listenTo','uploadcareImageReplace','uploadcare.pubkey','true','3BxjgVA','model','uc-upload-ctx-provider','pluginName','2737791GhhIJO','execute','add','selection','_initCtx','2914160QNAQFG','_configElement','locale','PictureEditing','appendChild','downcast','getSelectedElement','requires','UploadcareEditing','contentLanguage','5247RLHlYw','input[uploadcare-file-input]','4724VnRzQF','get','map','uploadcareImageId','editor','isRegistered','imageBlock','commands','destroy','elementToAttribute','_initConfig','uploader-','upcast','data-uc-image-id','imageInline','closeMax','configElement','config','iconHrefResolver','isOfficialPlugin'];_0x3b21=function(){return _0x1aeeec;};return _0x3b21();}import{Plugin as _0x235eb3}from'ckeditor5/src/core.js';import{Dialog as _0x51ef77}from'ckeditor5/src/ui.js';import{createElement as _0x3ac8b0,global as _0x170846,uid as _0x51e622}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x24459e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x260093}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x58f3f6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x235eb3{[_0x2d147e(0x20b)]=null;[_0x2d147e(0x1f8)]=null;static get[_0x2d147e(0x204)](){const _0x22adbe=_0x2d147e;return _0x22adbe(0x212);}static get[_0x2d147e(0x211)](){const _0x4afa4c=_0x2d147e;return[_0x4afa4c(0x20d),_0x260093,_0x51ef77];}static get[_0x2d147e(0x229)](){return!0x0;}static get[_0x2d147e(0x1f2)](){return!0x0;}[_0x2d147e(0x1d8)];get[_0x2d147e(0x226)](){const _0x588c0e=_0x2d147e;return this[_0x588c0e(0x20b)];}get[_0x2d147e(0x1f6)](){const _0x4f1203=_0x2d147e;return this[_0x4f1203(0x1f8)];}constructor(_0x4470bb){const _0x39808f=_0x2d147e;super(_0x4470bb),this[_0x39808f(0x1d8)]=_0x51e622();}[_0x2d147e(0x1df)](){const _0xeaac03=_0x2d147e,_0x38d796=this[_0xeaac03(0x21a)];_0x38d796[_0xeaac03(0x21d)][_0xeaac03(0x207)](_0xeaac03(0x1dc),new _0x24459e(_0x38d796));}[_0x2d147e(0x1f0)](){const _0xefd21a=_0x2d147e;this[_0xefd21a(0x1d9)](),this[_0xefd21a(0x1e8)](),this[_0xefd21a(0x220)](),this[_0xefd21a(0x209)](),this[_0xefd21a(0x22e)](),this[_0xefd21a(0x1fd)](this[_0xefd21a(0x21a)],_0xefd21a(0x21e),()=>{const _0x521c88=_0xefd21a;this[_0x521c88(0x20b)]&&(this[_0x521c88(0x20b)][_0x521c88(0x1e7)](),this[_0x521c88(0x20b)]=null),this[_0x521c88(0x1f8)]&&(this[_0x521c88(0x1f8)][_0x521c88(0x1e7)](),this[_0x521c88(0x1f8)]=null);const _0x84f98b=_0x170846[_0x521c88(0x1f4)][_0x521c88(0x1e2)](_0x521c88(0x215));_0x84f98b&&_0x84f98b[_0x521c88(0x1e7)]();}),async function(_0x2200c4){const _0x5f28c4=_0x17fa89([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x17bd26=0x3d8d0df,_0x2aa081=0x3dfa30f^_0x17bd26,_0x34fc7f=window[_0x17fa89([0x44,0x61,0x74,0x65])][_0x17fa89([0x6e,0x6f,0x77])](),_0x1bcce2=_0x2200c4[_0x17fa89([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5081f3=new window[(_0x17fa89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bc14d=>{_0x1bcce2[_0x17fa89([0x6f,0x6e,0x63,0x65])](_0x17fa89([0x72,0x65,0x61,0x64,0x79]),_0x4bc14d);}),_0x29480f={[_0x17fa89([0x6b,0x74,0x79])]:_0x17fa89([0x45,0x43]),[_0x17fa89([0x75,0x73,0x65])]:_0x17fa89([0x73,0x69,0x67]),[_0x17fa89([0x63,0x72,0x76])]:_0x17fa89([0x50,0x2d,0x32,0x35,0x36]),[_0x17fa89([0x78])]:_0x17fa89([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]),[_0x17fa89([0x79])]:_0x17fa89([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]),[_0x17fa89([0x61,0x6c,0x67])]:_0x17fa89([0x45,0x53,0x32,0x35,0x36])},_0x406aaa=_0x1bcce2[_0x17fa89([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17fa89([0x67,0x65,0x74])](_0x17fa89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe15869(){let _0x57f639,_0x1dedfa=null,_0xa247bf=null;try{if(_0x406aaa==_0x17fa89([0x47,0x50,0x4c]))return _0x17fa89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57f639=_0x179a31(),!_0x57f639)return _0x17fa89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57f639[_0x17fa89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa247bf=_0x52a7af(_0x57f639[_0x17fa89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57f639[_0x17fa89([0x6a,0x74,0x69])])),await _0x3c8bb0()?_0x3e5207()?_0x1dfbf5()?_0x17fa89([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5baab7()?(_0x57f639[_0x17fa89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17fa89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1dedfa=_0x3618ec(_0x17fa89([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57f639[_0x17fa89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17fa89([0x74,0x72,0x69,0x61,0x6c])&&(_0x1dedfa=_0x3618ec(_0x17fa89([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11f4e9()):_0x17fa89([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17fa89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17fa89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17fa89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1dfbf5(){const _0xaa18d1=[_0x17fa89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17fa89([0x74,0x72,0x69,0x61,0x6c])][_0x17fa89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f639[_0x17fa89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34fc7f/0x3e8:0xe10*_0x2aa081;return _0x57f639[_0x17fa89([0x65,0x78,0x70])]<_0xaa18d1;}function _0x3e5207(){const _0x1919c0=_0x57f639[_0x17fa89([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1919c0&&(!!_0x1919c0[_0x17fa89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17fa89([0x2a]))||!!_0x1919c0[_0x17fa89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17fa89([0x55,0x50,0x4c,0x43])));}function _0x5baab7(){const _0x29c8af=_0xfb23,_0x48421a=_0x57f639[_0x17fa89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48421a||0x0==_0x48421a[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cdf00}=new URL(window[_0x17fa89([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29c8af(0x1fa)]);if(_0x48421a[_0x17fa89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cdf00))return!0x0;const _0x5b3791=_0x4cdf00[_0x17fa89([0x73,0x70,0x6c,0x69,0x74])](_0x17fa89([0x2e]));return _0x48421a[_0x17fa89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cddb1=>_0x1cddb1[_0x17fa89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17fa89([0x2a])))[_0x17fa89([0x6d,0x61,0x70])](_0x59c91c=>_0x59c91c[_0x17fa89([0x73,0x70,0x6c,0x69,0x74])](_0x17fa89([0x2e])))[_0x17fa89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38714c=>_0x38714c[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b3791[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17fa89([0x6d,0x61,0x70])](_0x455a80=>Array(_0x5b3791[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x455a80[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17fa89([0x66,0x69,0x6c,0x6c])](_0x455a80[0x0]===_0x17fa89([0x2a])?_0x17fa89([0x2a]):'')[_0x17fa89([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x455a80))[_0x17fa89([0x73,0x6f,0x6d,0x65])](_0x5c15ab=>_0x5b3791[_0x17fa89([0x65,0x76,0x65,0x72,0x79])]((_0x1af7d2,_0x5389c3)=>_0x5c15ab[_0x5389c3]===_0x1af7d2||_0x5c15ab[_0x5389c3]===_0x17fa89([0x2a])));}function _0x11f4e9(){return _0x1dedfa&&_0xa247bf?new window[(_0x17fa89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28d867,_0x2f7d45)=>{_0x1dedfa[_0x17fa89([0x74,0x68,0x65,0x6e])](_0x28d867,_0x2f7d45),_0xa247bf[_0x17fa89([0x74,0x68,0x65,0x6e])](_0x5090d5=>{_0x5090d5!=_0x17fa89([0x56,0x61,0x6c,0x69,0x64])&&_0x28d867(_0x5090d5);},_0x2f7d45);}):_0x1dedfa||_0xa247bf||_0x17fa89([0x56,0x61,0x6c,0x69,0x64]);}}function _0x52a7af(_0x9ff51d,_0x59ee82){return new window[(_0x17fa89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2081e6=>{if(_0x360769())return _0x2081e6(_0x17fa89([0x56,0x61,0x6c,0x69,0x64]));_0x487123(),_0x1bcce2[_0x17fa89([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17fa89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20a8fc=!0x1;const _0x3d021d=_0x51e622();function _0x560ab9(_0x33cb51){return!!_0x33cb51&&(typeof _0x33cb51===_0x17fa89([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33cb51===_0x17fa89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33cb51[_0x17fa89([0x74,0x68,0x65,0x6e])]===_0x17fa89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33cb51[_0x17fa89([0x63,0x61,0x74,0x63,0x68])]===_0x17fa89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x69f110(_0x47cbe8){_0x5dce00(_0x47cbe8)[_0x17fa89([0x74,0x68,0x65,0x6e])](_0xb626c4=>{if(!_0xb626c4||_0xb626c4[_0x17fa89([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17fa89([0x6f,0x6b]))return _0x17fa89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1592c5(_0x3b3a6b(_0x3d021d+_0x59ee82))!=_0xb626c4[_0x17fa89([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17fa89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17fa89([0x56,0x61,0x6c,0x69,0x64]);})[_0x17fa89([0x74,0x68,0x65,0x6e])](_0x52dd81=>(_0x13b4f1(),_0x52dd81),()=>{const _0x5e5963=_0x400e09();return null==_0x5e5963?(_0x13b4f1(),_0x17fa89([0x56,0x61,0x6c,0x69,0x64])):_0x17fa89(_0x34fc7f-_0x5e5963>(0x27d454df^_0x17bd26)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17fa89([0x74,0x68,0x65,0x6e])](_0x2081e6)[_0x17fa89([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2081e6(_0x17fa89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe5fd2a=0x3ee3e5f^_0x17bd26;function _0x13b4f1(){const _0x4d7462=_0x17fa89([0x6c,0x6c,0x63,0x74,0x2d])+_0x1592c5(_0x3b3a6b(_0x9ff51d)),_0x1406ee=_0x3c441c(_0x1592c5(window[_0x17fa89([0x4d,0x61,0x74,0x68])][_0x17fa89([0x63,0x65,0x69,0x6c])](_0x34fc7f/_0xe5fd2a)));window[_0x17fa89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17fa89([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d7462,_0x1406ee);}function _0x400e09(){const _0x151e06=_0x17fa89([0x6c,0x6c,0x63,0x74,0x2d])+_0x1592c5(_0x3b3a6b(_0x9ff51d)),_0x29f44f=window[_0x17fa89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17fa89([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x151e06);return _0x29f44f?window[_0x17fa89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c441c(_0x29f44f),0x10)*_0xe5fd2a:null;}function _0x5dce00(_0x20a145){return new window[(_0x17fa89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x392cdf,_0x519c39)=>{_0x20a145[_0x17fa89([0x74,0x68,0x65,0x6e])](_0x392cdf,_0x519c39),window[_0x17fa89([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x519c39,0x3d9041f^_0x17bd26);});}}_0x1bcce2[_0x17fa89([0x6f,0x6e])](_0x17fa89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e4ff0,_0x399f39)=>{if(_0x399f39[0x0]!=_0x9ff51d)return _0x2081e6(_0x17fa89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x399f39[0x1]={..._0x399f39[0x1],[_0x17fa89([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d021d};},{[_0x17fa89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17fa89([0x68,0x69,0x67,0x68])}),_0x1bcce2[_0x17fa89([0x6f,0x6e])](_0x17fa89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x193538=>{_0x560ab9(_0x193538[_0x17fa89([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20a8fc=!0x0,_0x69f110(_0x193538[_0x17fa89([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17fa89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17fa89([0x6c,0x6f,0x77])}),_0x5081f3[_0x17fa89([0x74,0x68,0x65,0x6e])](()=>{_0x20a8fc||_0x2081e6(_0x17fa89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x360769(){return _0x1bcce2[_0x17fa89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17fa89([0x76,0x69,0x65,0x77])][_0x17fa89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17fa89([0x61,0x75,0x74,0x6f]);}function _0x487123(){_0x1bcce2[_0x17fa89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17fa89([0x76,0x69,0x65,0x77])][_0x17fa89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17fa89([0x61,0x75,0x74,0x6f]);}}function _0x3618ec(_0x48f9f6){const _0x3137d0=[new window[(_0x17fa89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b6cbd=>setTimeout(_0x4b6cbd,0x3d1ee13^_0x17bd26)),_0x5081f3[_0x17fa89([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17fa89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x241b3e=>{let _0x3baeaa=0x0;_0x1bcce2[_0x17fa89([0x6d,0x6f,0x64,0x65,0x6c])][_0x17fa89([0x6f,0x6e])](_0x17fa89([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b1404,_0x1e406e)=>{_0x1e406e[0x0][_0x17fa89([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3baeaa++,_0x3baeaa==(0x3d8d127^_0x17bd26)&&(_0x241b3e(),_0x1b1404[_0x17fa89([0x6f,0x66,0x66])]());});}))];return window[_0x17fa89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17fa89([0x72,0x61,0x63,0x65])](_0x3137d0)[_0x17fa89([0x74,0x68,0x65,0x6e])](()=>_0x48f9f6);}async function _0x1a92ac(){await _0x5081f3,_0x1bcce2[_0x17fa89([0x6d,0x6f,0x64,0x65,0x6c])][_0x17fa89([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x209c9b,_0x1bcce2[_0x17fa89([0x6d,0x6f,0x64,0x65,0x6c])][_0x17fa89([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x209c9b,_0x1bcce2[_0x17fa89([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17fa89([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a761f(_0x166b16){const _0x1ee781=_0x45f954();_0x1bcce2[_0x1ee781]=_0x17fa89([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x166b16,_0x166b16!=_0x17fa89([0x56,0x61,0x6c,0x69,0x64])&&_0x1a92ac();}function _0x45f954(){const _0x1ca0ac=window[_0x17fa89([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17fa89([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17fa89([0x6e,0x6f,0x77])]())[_0x17fa89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17fa89([0x2e]),'');let _0x38697f=_0x17fa89([0x52]);for(let _0x436e02=0x0;_0x436e02<_0x1ca0ac[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x436e02+=0x2){let _0x397ab2=window[_0x17fa89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ca0ac[_0x17fa89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x436e02,_0x436e02+0x2));_0x397ab2>=_0x5f28c4[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x397ab2-=_0x5f28c4[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38697f+=_0x5f28c4[_0x397ab2];}return _0x38697f;}function _0x179a31(){const _0x33f31a=_0x406aaa[_0x17fa89([0x73,0x70,0x6c,0x69,0x74])](_0x17fa89([0x2e]));if(0x3!=_0x33f31a[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa2836a(_0x33f31a[0x1]);function _0xa2836a(_0x2b7e0b){const _0x56670b=_0x11702d(_0x2b7e0b);return _0x56670b&&_0x148e17()?_0x56670b:null;function _0x148e17(){const _0x469f16=_0x56670b[_0x17fa89([0x6a,0x74,0x69])],_0xf2a3c8=window[_0x17fa89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x469f16[_0x17fa89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x469f16[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x241ff7={..._0x56670b,[_0x17fa89([0x6a,0x74,0x69])]:_0x469f16[_0x17fa89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x469f16[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x241ff7[_0x17fa89([0x76,0x63])],_0x3b3a6b(_0x241ff7)==_0xf2a3c8;}}}async function _0x3c8bb0(){let _0x253fde=!0x0;try{const _0x27fc86=_0x406aaa[_0x17fa89([0x73,0x70,0x6c,0x69,0x74])](_0x17fa89([0x2e])),[_0x2d2b71,_0x52e2c9,_0x194a5c]=_0x27fc86;return _0x407035(_0x2d2b71),await _0xd09349(_0x2d2b71,_0x52e2c9,_0x194a5c),_0x253fde;}catch{return!0x1;}function _0x407035(_0x4300e4){const _0x4379ce=_0x11702d(_0x4300e4);_0x4379ce&&_0x4379ce[_0x17fa89([0x61,0x6c,0x67])]==_0x17fa89([0x45,0x53,0x32,0x35,0x36])||(_0x253fde=!0x1);}async function _0xd09349(_0x4cb75e,_0xee3101,_0x45a006){const _0xa90c04=window[_0x17fa89([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17fa89([0x66,0x72,0x6f,0x6d])](_0x449c2a(_0x45a006),_0x5bc4c7=>_0x5bc4c7[_0x17fa89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c3364=new window[(_0x17fa89([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17fa89([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cb75e+_0x17fa89([0x2e])+_0xee3101),_0x403854=window[_0x17fa89([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17fa89([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x403854)return;const _0x4ab562=await _0x403854[_0x17fa89([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17fa89([0x6a,0x77,0x6b]),_0x29480f,{[_0x17fa89([0x6e,0x61,0x6d,0x65])]:_0x17fa89([0x45,0x43,0x44,0x53,0x41]),[_0x17fa89([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17fa89([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17fa89([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x403854[_0x17fa89([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17fa89([0x6e,0x61,0x6d,0x65])]:_0x17fa89([0x45,0x43,0x44,0x53,0x41]),[_0x17fa89([0x68,0x61,0x73,0x68])]:{[_0x17fa89([0x6e,0x61,0x6d,0x65])]:_0x17fa89([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ab562,_0xa90c04,_0x5c3364)||(_0x253fde=!0x1);}}function _0x11702d(_0x2ffd6d){return _0x2ffd6d[_0x17fa89([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17fa89([0x65,0x79]))?JSON[_0x17fa89([0x70,0x61,0x72,0x73,0x65])](_0x449c2a(_0x2ffd6d)):null;}function _0x449c2a(_0x264a76){return window[_0x17fa89([0x61,0x74,0x6f,0x62])](_0x264a76[_0x17fa89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17fa89([0x2b]))[_0x17fa89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17fa89([0x2f])));}function _0x3b3a6b(_0x14fded){let _0x438e24=0x1505;function _0x20abb3(_0x2fe9d2){for(let _0x391bd5=0x0;_0x391bd5<_0x2fe9d2[_0x17fa89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x391bd5++){const _0x55e77b=_0x2fe9d2[_0x17fa89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x391bd5);_0x438e24=(_0x438e24<<0x5)+_0x438e24+_0x55e77b,_0x438e24&=_0x438e24;}}function _0x12d761(_0x1acc01){Array[_0x17fa89([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1acc01)?_0x1acc01[_0x17fa89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12d761):_0x1acc01&&typeof _0x1acc01==_0x17fa89([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17fa89([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1acc01)[_0x17fa89([0x73,0x6f,0x72,0x74])]()[_0x17fa89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b24c5,_0x1c6b8e])=>{_0x20abb3(_0x1b24c5),_0x12d761(_0x1c6b8e);}):_0x20abb3(window[_0x17fa89([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1acc01));}return _0x12d761(_0x14fded),_0x438e24>>>0x0;}function _0x1592c5(_0x517122){return _0x517122[_0x17fa89([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17fa89([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17fa89([0x30]));}function _0x3c441c(_0x154f9c){return _0x154f9c[_0x17fa89([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17fa89([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17fa89([0x6a,0x6f,0x69,0x6e])]('');}function _0x209c9b(){}function _0x17fa89(_0x95d0ed){const _0x599a15=_0xfb23;return _0x95d0ed[_0x599a15(0x218)](_0x319402=>String[_0x599a15(0x1f7)](_0x319402))[_0x599a15(0x1f3)]('');}_0x1a761f(await _0xe15869());}(this);}[_0x2d147e(0x1d9)](){const _0x4ee92f=_0x2d147e,_0x41b9f1=this[_0x4ee92f(0x21a)][_0x4ee92f(0x202)][_0x4ee92f(0x1ec)];_0x41b9f1[_0x4ee92f(0x21b)](_0x4ee92f(0x21c))&&_0x41b9f1[_0x4ee92f(0x1ee)](_0x4ee92f(0x21c),{'allowAttributes':[_0x4ee92f(0x219)]}),_0x41b9f1[_0x4ee92f(0x21b)](_0x4ee92f(0x224))&&_0x41b9f1[_0x4ee92f(0x1ee)](_0x4ee92f(0x224),{'allowAttributes':[_0x4ee92f(0x219)]});}[_0x2d147e(0x1e8)](){const _0x4f49ff=_0x2d147e,_0x34d89d=this[_0x4f49ff(0x21a)];_0x34d89d[_0x4f49ff(0x1ea)][_0x4f49ff(0x1e5)](_0x4f49ff(0x20f))[_0x4f49ff(0x1e0)]({'model':_0x4f49ff(0x219),'view':_0x4f49ff(0x223)}),_0x34d89d[_0x4f49ff(0x1ea)][_0x4f49ff(0x1e5)](_0x4f49ff(0x222))[_0x4f49ff(0x21f)]({'model':{'key':_0x4f49ff(0x219),'value':_0x33f90d=>_0x33f90d[_0x4f49ff(0x1ef)](_0x4f49ff(0x223))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x57f65d=_0x34d89d[_0x4f49ff(0x21d)][_0x4f49ff(0x217)](_0x4f49ff(0x1fb));_0x57f65d&&this[_0x4f49ff(0x1fd)](_0x57f65d,_0x4f49ff(0x1f1),(_0x286e57,[_0x45cfb5,_0x59f018])=>{const _0x5d9b97=_0x4f49ff;_0x45cfb5[_0x5d9b97(0x1e4)](_0x5d9b97(0x219),_0x59f018);});}[_0x2d147e(0x220)](){const _0x8c2673=_0x2d147e,_0x2a5e04=this[_0x8c2673(0x21a)][_0x8c2673(0x227)][_0x8c2673(0x217)](_0x8c2673(0x1db))||{},_0x5aa839=this[_0x8c2673(0x21a)][_0x8c2673(0x227)][_0x8c2673(0x217)](_0x8c2673(0x1ff))||'';this[_0x8c2673(0x20b)]=_0x3ac8b0(_0x170846[_0x8c2673(0x1f4)],_0x8c2673(0x1e9),{..._0x2a5e04,'pubkey':_0x5aa839,'ctx-name':_0x8c2673(0x221)+this[_0x8c2673(0x1d8)],'sourceList':'','imgOnly':_0x8c2673(0x200),'removeCopyright':_0x8c2673(0x200),'localeName':this[_0x8c2673(0x21a)][_0x8c2673(0x20c)][_0x8c2673(0x213)],'externalSourcesEmbedCss':_0x8c2673(0x1dd)}),this[_0x8c2673(0x20b)][_0x8c2673(0x228)]=_0x275908=>{const _0x922256=_0x8c2673;if(_0x922256(0x225)==_0x275908)return _0x922256(0x22d);},_0x170846[_0x8c2673(0x1f4)][_0x8c2673(0x1f5)][_0x8c2673(0x20e)](this[_0x8c2673(0x20b)]);}[_0x2d147e(0x209)](){const _0x3557cd=_0x2d147e;this[_0x3557cd(0x1f8)]=_0x3ac8b0(_0x170846[_0x3557cd(0x1f4)],_0x3557cd(0x203),{'ctx-name':_0x3557cd(0x221)+this[_0x3557cd(0x1d8)]}),_0x170846[_0x3557cd(0x1f4)][_0x3557cd(0x1f5)][_0x3557cd(0x20e)](this[_0x3557cd(0x1f8)]);}[_0x2d147e(0x22e)](){const _0x5976f3=_0x2d147e,_0x40efaa=this[_0x5976f3(0x21a)][_0x5976f3(0x21d)][_0x5976f3(0x217)](_0x5976f3(0x1e3));_0x40efaa&&this[_0x5976f3(0x1fd)](_0x40efaa,_0x5976f3(0x206),()=>{const _0x3a953e=_0x5976f3,_0x270c9a=this[_0x3a953e(0x21a)][_0x3a953e(0x202)][_0x3a953e(0x1f4)][_0x3a953e(0x208)][_0x3a953e(0x210)]();_0x270c9a&&_0x270c9a[_0x3a953e(0x1ef)](_0x3a953e(0x219))&&this[_0x3a953e(0x21a)][_0x3a953e(0x1da)][_0x3a953e(0x1f9)][_0x3a953e(0x1e6)](_0x3a953e(0x22b),()=>{const _0x1eb9db=_0x3a953e;_0x58f3f6(this[_0x1eb9db(0x21a)],_0x270c9a);});});const _0x22a436=this[_0x5976f3(0x21a)][_0x5976f3(0x21d)][_0x5976f3(0x217)](_0x5976f3(0x1fe));_0x22a436&&this[_0x5976f3(0x1fd)](_0x22a436,_0x5976f3(0x206),()=>{const _0xfab4f1=_0x5976f3,_0x35f9ad=this[_0xfab4f1(0x21a)][_0xfab4f1(0x202)][_0xfab4f1(0x1f4)][_0xfab4f1(0x208)][_0xfab4f1(0x210)]();_0x35f9ad&&_0x35f9ad[_0xfab4f1(0x1ef)](_0xfab4f1(0x219))&&this[_0xfab4f1(0x21a)][_0xfab4f1(0x1da)][_0xfab4f1(0x1f9)][_0xfab4f1(0x1e6)](_0xfab4f1(0x22b),()=>{const _0x2f519c=_0xfab4f1;_0x58f3f6(this[_0x2f519c(0x21a)],_0x35f9ad);});});}}
23
+ const _0x3639e5=_0x4d99;(function(_0x286731,_0x17684b){const _0x4427b5=_0x4d99,_0x2093f6=_0x286731();while(!![]){try{const _0x4ee11e=parseInt(_0x4427b5(0x20d))/0x1+-parseInt(_0x4427b5(0x21b))/0x2+-parseInt(_0x4427b5(0x201))/0x3*(-parseInt(_0x4427b5(0x204))/0x4)+parseInt(_0x4427b5(0x21c))/0x5*(parseInt(_0x4427b5(0x212))/0x6)+parseInt(_0x4427b5(0x216))/0x7*(-parseInt(_0x4427b5(0x1f6))/0x8)+parseInt(_0x4427b5(0x1e5))/0x9*(parseInt(_0x4427b5(0x1ff))/0xa)+parseInt(_0x4427b5(0x233))/0xb;if(_0x4ee11e===_0x17684b)break;else _0x2093f6['push'](_0x2093f6['shift']());}catch(_0x1d846a){_0x2093f6['push'](_0x2093f6['shift']());}}}(_0x5999,0x83d13));import{Plugin as _0x18fb37}from'ckeditor5/src/core.js';import{Dialog as _0x155aa7}from'ckeditor5/src/ui.js';function _0x5999(){const _0x31be5e=['_initCtx','listenTo','data-uc-image-id','getSelectedElement','_initImageProcessingIndicator','input[uploadcare-file-input]','model','contentLanguage','_initConfig','for','367389KLWIcX','replaceImageSource','uploadcare','uploadcareImageReplace','upcast','uploadcare.pubkey','UploadcareEditing','attributeToAttribute','6156ECeCCZ','appendChild','insertImage','schema','config','requires','once','cleanupImage','_ctxElement','commands','configElement','getAttribute','isRegistered','editor','imageInline','extend','uploadcareImageId','5781808Nlvwxc','uc-config','pluginName','join','_initConversion','ctxElement','fromCharCode','closeMax','get','8850eMXHTv','ucContextId','3459mVAAvE','uploader-','_configElement','748lsvHMO','selection','isOfficialPlugin','locale','href','\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','init','conversion','iconHrefResolver','665896rvpEsQ','editing','downcast','elementToAttribute','removeAttribute','817428ENZaqs','uc-upload-ctx-provider','body','destroy','7dBNskj','afterInit','remove','view','true','787670ybDlPg','5PxvHvf','document','_initSchema','render','execute','isPremiumPlugin','#uc-icon-arrow-down','imageBlock','querySelector','uploadcare.uploader','PictureEditing','map','add'];_0x5999=function(){return _0x31be5e;};return _0x5999();}import{createElement as _0x827abf,global as _0x26e4c6,uid as _0x5599b2}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xdfefa2}from'./uploadcarecommand.js';function _0x4d99(_0x3ca680,_0x3035bd){const _0x59999d=_0x5999();return _0x4d99=function(_0x4d993e,_0x24ac06){_0x4d993e=_0x4d993e-0x1e3;let _0x528f65=_0x59999d[_0x4d993e];return _0x528f65;},_0x4d99(_0x3ca680,_0x3035bd);}import{UploadcareUploadAdapter as _0x5b6970}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3609ac}from'./utils/editingutils.js';export class UploadcareEditing extends _0x18fb37{[_0x3639e5(0x203)]=null;[_0x3639e5(0x1ed)]=null;static get[_0x3639e5(0x1f8)](){const _0x4e926a=_0x3639e5;return _0x4e926a(0x1e3);}static get[_0x3639e5(0x1ea)](){const _0x29104b=_0x3639e5;return[_0x29104b(0x226),_0x5b6970,_0x155aa7];}static get[_0x3639e5(0x206)](){return!0x0;}static get[_0x3639e5(0x221)](){return!0x0;}[_0x3639e5(0x200)];get[_0x3639e5(0x1ef)](){const _0x408da3=_0x3639e5;return this[_0x408da3(0x203)];}get[_0x3639e5(0x1fb)](){const _0x4c211c=_0x3639e5;return this[_0x4c211c(0x1ed)];}constructor(_0xf48835){const _0x4d3503=_0x3639e5;super(_0xf48835),this[_0x4d3503(0x200)]=_0x5599b2();}[_0x3639e5(0x20a)](){const _0x1f66bf=_0x3639e5,_0x13d2c4=this[_0x1f66bf(0x1f2)];_0x13d2c4[_0x1f66bf(0x1ee)][_0x1f66bf(0x228)](_0x1f66bf(0x235),new _0xdfefa2(_0x13d2c4));}[_0x3639e5(0x217)](){const _0x27a868=_0x3639e5;this[_0x27a868(0x21e)](),this[_0x27a868(0x1fa)](),this[_0x27a868(0x231)](),this[_0x27a868(0x229)](),this[_0x27a868(0x22d)](),this[_0x27a868(0x22a)](this[_0x27a868(0x1f2)],_0x27a868(0x215),()=>{const _0x430580=_0x27a868;this[_0x430580(0x203)]&&(this[_0x430580(0x203)][_0x430580(0x218)](),this[_0x430580(0x203)]=null),this[_0x430580(0x1ed)]&&(this[_0x430580(0x1ed)][_0x430580(0x218)](),this[_0x430580(0x1ed)]=null);const _0x373a18=_0x26e4c6[_0x430580(0x21d)][_0x430580(0x224)](_0x430580(0x22e));_0x373a18&&_0x373a18[_0x430580(0x218)]();}),async function(_0x220ed8){const _0x3d957e=_0x55ad62([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2daa1f=0x3d8d0df,_0x32cbd3=0x3dfa337^_0x2daa1f,_0x2eeb0d=window[_0x55ad62([0x44,0x61,0x74,0x65])][_0x55ad62([0x6e,0x6f,0x77])](),_0x2c1670=_0x220ed8[_0x55ad62([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x230395=new window[(_0x55ad62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b696a=>{_0x2c1670[_0x55ad62([0x6f,0x6e,0x63,0x65])](_0x55ad62([0x72,0x65,0x61,0x64,0x79]),_0x5b696a);}),_0x1365ed={[_0x55ad62([0x6b,0x74,0x79])]:_0x55ad62([0x45,0x43]),[_0x55ad62([0x75,0x73,0x65])]:_0x55ad62([0x73,0x69,0x67]),[_0x55ad62([0x63,0x72,0x76])]:_0x55ad62([0x50,0x2d,0x32,0x35,0x36]),[_0x55ad62([0x78])]:_0x55ad62([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]),[_0x55ad62([0x79])]:_0x55ad62([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]),[_0x55ad62([0x61,0x6c,0x67])]:_0x55ad62([0x45,0x53,0x32,0x35,0x36])},_0x4e8381=_0x2c1670[_0x55ad62([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55ad62([0x67,0x65,0x74])](_0x55ad62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x280954(){let _0x50f955,_0x353fef=null,_0x5e689f=null;try{if(_0x4e8381==_0x55ad62([0x47,0x50,0x4c]))return _0x55ad62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50f955=_0x52b0b5(),!_0x50f955)return _0x55ad62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50f955[_0x55ad62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e689f=_0x520a04(_0x50f955[_0x55ad62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50f955[_0x55ad62([0x6a,0x74,0x69])])),await _0x50b01d()?_0x3a321d()?_0xfad95f()?_0x55ad62([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f6d6b()?(_0x50f955[_0x55ad62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55ad62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x353fef=_0x2819d0(_0x55ad62([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50f955[_0x55ad62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55ad62([0x74,0x72,0x69,0x61,0x6c])&&(_0x353fef=_0x2819d0(_0x55ad62([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cd3ff()):_0x55ad62([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55ad62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55ad62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55ad62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xfad95f(){const _0x2be44a=[_0x55ad62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55ad62([0x74,0x72,0x69,0x61,0x6c])][_0x55ad62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50f955[_0x55ad62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2eeb0d/0x3e8:0xe10*_0x32cbd3;return _0x50f955[_0x55ad62([0x65,0x78,0x70])]<_0x2be44a;}function _0x3a321d(){const _0x15790e=_0x50f955[_0x55ad62([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15790e&&(!!_0x15790e[_0x55ad62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55ad62([0x2a]))||!!_0x15790e[_0x55ad62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55ad62([0x55,0x50,0x4c,0x43])));}function _0x3f6d6b(){const _0x1de3fe=_0x4d99,_0x16cfc7=_0x50f955[_0x55ad62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16cfc7||0x0==_0x16cfc7[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6e177b}=new URL(window[_0x55ad62([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1de3fe(0x208)]);if(_0x16cfc7[_0x55ad62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e177b))return!0x0;const _0x289faa=_0x6e177b[_0x55ad62([0x73,0x70,0x6c,0x69,0x74])](_0x55ad62([0x2e]));return _0x16cfc7[_0x55ad62([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45376d=>_0x45376d[_0x55ad62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55ad62([0x2a])))[_0x55ad62([0x6d,0x61,0x70])](_0x3cafae=>_0x3cafae[_0x55ad62([0x73,0x70,0x6c,0x69,0x74])](_0x55ad62([0x2e])))[_0x55ad62([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bcdf3=>_0x1bcdf3[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x289faa[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55ad62([0x6d,0x61,0x70])](_0x37887c=>Array(_0x289faa[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37887c[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55ad62([0x66,0x69,0x6c,0x6c])](_0x37887c[0x0]===_0x55ad62([0x2a])?_0x55ad62([0x2a]):'')[_0x55ad62([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37887c))[_0x55ad62([0x73,0x6f,0x6d,0x65])](_0x4850b7=>_0x289faa[_0x55ad62([0x65,0x76,0x65,0x72,0x79])]((_0x59e190,_0x358751)=>_0x4850b7[_0x358751]===_0x59e190||_0x4850b7[_0x358751]===_0x55ad62([0x2a])));}function _0x2cd3ff(){return _0x353fef&&_0x5e689f?new window[(_0x55ad62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c57b8,_0x1d4354)=>{_0x353fef[_0x55ad62([0x74,0x68,0x65,0x6e])](_0x3c57b8,_0x1d4354),_0x5e689f[_0x55ad62([0x74,0x68,0x65,0x6e])](_0x2d9452=>{_0x2d9452!=_0x55ad62([0x56,0x61,0x6c,0x69,0x64])&&_0x3c57b8(_0x2d9452);},_0x1d4354);}):_0x353fef||_0x5e689f||_0x55ad62([0x56,0x61,0x6c,0x69,0x64]);}}function _0x520a04(_0x8fc042,_0x160239){return new window[(_0x55ad62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x460ab3=>{if(_0x5dfc3b())return _0x460ab3(_0x55ad62([0x56,0x61,0x6c,0x69,0x64]));_0x27deca(),_0x2c1670[_0x55ad62([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55ad62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2abf80=!0x1;const _0x1727eb=_0x5599b2();function _0x1bdd42(_0x459798){return!!_0x459798&&(typeof _0x459798===_0x55ad62([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x459798===_0x55ad62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x459798[_0x55ad62([0x74,0x68,0x65,0x6e])]===_0x55ad62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x459798[_0x55ad62([0x63,0x61,0x74,0x63,0x68])]===_0x55ad62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5855e(_0x13ddb4){_0x432877(_0x13ddb4)[_0x55ad62([0x74,0x68,0x65,0x6e])](_0x50c95f=>{if(!_0x50c95f||_0x50c95f[_0x55ad62([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55ad62([0x6f,0x6b]))return _0x55ad62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x302777(_0x3108b6(_0x1727eb+_0x160239))!=_0x50c95f[_0x55ad62([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55ad62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55ad62([0x56,0x61,0x6c,0x69,0x64]);})[_0x55ad62([0x74,0x68,0x65,0x6e])](_0x5f54ff=>(_0x1d4cf2(),_0x5f54ff),()=>{const _0xc8a4db=_0x690075();return null==_0xc8a4db?(_0x1d4cf2(),_0x55ad62([0x56,0x61,0x6c,0x69,0x64])):_0x55ad62(_0x2eeb0d-_0xc8a4db>(0x27d454df^_0x2daa1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55ad62([0x74,0x68,0x65,0x6e])](_0x460ab3)[_0x55ad62([0x63,0x61,0x74,0x63,0x68])](()=>{_0x460ab3(_0x55ad62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a5198=0x3ee3e5f^_0x2daa1f;function _0x1d4cf2(){const _0x2f2def=_0x55ad62([0x6c,0x6c,0x63,0x74,0x2d])+_0x302777(_0x3108b6(_0x8fc042)),_0xc34852=_0x2ed6aa(_0x302777(window[_0x55ad62([0x4d,0x61,0x74,0x68])][_0x55ad62([0x63,0x65,0x69,0x6c])](_0x2eeb0d/_0x5a5198)));window[_0x55ad62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55ad62([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f2def,_0xc34852);}function _0x690075(){const _0x35002a=_0x55ad62([0x6c,0x6c,0x63,0x74,0x2d])+_0x302777(_0x3108b6(_0x8fc042)),_0x6a2ab3=window[_0x55ad62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55ad62([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35002a);return _0x6a2ab3?window[_0x55ad62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ed6aa(_0x6a2ab3),0x10)*_0x5a5198:null;}function _0x432877(_0x5adab7){return new window[(_0x55ad62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34f30b,_0x15e437)=>{_0x5adab7[_0x55ad62([0x74,0x68,0x65,0x6e])](_0x34f30b,_0x15e437),window[_0x55ad62([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15e437,0x3d9041f^_0x2daa1f);});}}_0x2c1670[_0x55ad62([0x6f,0x6e])](_0x55ad62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c7e8d,_0x24e7ad)=>{if(_0x24e7ad[0x0]!=_0x8fc042)return _0x460ab3(_0x55ad62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24e7ad[0x1]={..._0x24e7ad[0x1],[_0x55ad62([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1727eb};},{[_0x55ad62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55ad62([0x68,0x69,0x67,0x68])}),_0x2c1670[_0x55ad62([0x6f,0x6e])](_0x55ad62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x104297=>{_0x1bdd42(_0x104297[_0x55ad62([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2abf80=!0x0,_0x5855e(_0x104297[_0x55ad62([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55ad62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55ad62([0x6c,0x6f,0x77])}),_0x230395[_0x55ad62([0x74,0x68,0x65,0x6e])](()=>{_0x2abf80||_0x460ab3(_0x55ad62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5dfc3b(){return _0x2c1670[_0x55ad62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55ad62([0x76,0x69,0x65,0x77])][_0x55ad62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55ad62([0x61,0x75,0x74,0x6f]);}function _0x27deca(){_0x2c1670[_0x55ad62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55ad62([0x76,0x69,0x65,0x77])][_0x55ad62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55ad62([0x61,0x75,0x74,0x6f]);}}function _0x2819d0(_0x1ebd91){const _0x1801c4=[new window[(_0x55ad62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x322c43=>setTimeout(_0x322c43,0x3d1ee13^_0x2daa1f)),_0x230395[_0x55ad62([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55ad62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb8d090=>{let _0x182158=0x0;_0x2c1670[_0x55ad62([0x6d,0x6f,0x64,0x65,0x6c])][_0x55ad62([0x6f,0x6e])](_0x55ad62([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bc2b6,_0x3949db)=>{_0x3949db[0x0][_0x55ad62([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x182158++,_0x182158==(0x3d8d127^_0x2daa1f)&&(_0xb8d090(),_0x1bc2b6[_0x55ad62([0x6f,0x66,0x66])]());});}))];return window[_0x55ad62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55ad62([0x72,0x61,0x63,0x65])](_0x1801c4)[_0x55ad62([0x74,0x68,0x65,0x6e])](()=>_0x1ebd91);}async function _0x4ddbb0(){await _0x230395,_0x2c1670[_0x55ad62([0x6d,0x6f,0x64,0x65,0x6c])][_0x55ad62([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x342a93,_0x2c1670[_0x55ad62([0x6d,0x6f,0x64,0x65,0x6c])][_0x55ad62([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x342a93,_0x2c1670[_0x55ad62([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55ad62([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35e466(_0x2162dc){const _0x4ff993=_0x38cd71();_0x2c1670[_0x4ff993]=_0x55ad62([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2162dc,_0x2162dc!=_0x55ad62([0x56,0x61,0x6c,0x69,0x64])&&_0x4ddbb0();}function _0x38cd71(){const _0x1cebf1=window[_0x55ad62([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55ad62([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55ad62([0x6e,0x6f,0x77])]())[_0x55ad62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55ad62([0x2e]),'');let _0x83cee1=_0x55ad62([0x52]);for(let _0xc6c339=0x0;_0xc6c339<_0x1cebf1[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc6c339+=0x2){let _0x4a4fce=window[_0x55ad62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cebf1[_0x55ad62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc6c339,_0xc6c339+0x2));_0x4a4fce>=_0x3d957e[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a4fce-=_0x3d957e[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x83cee1+=_0x3d957e[_0x4a4fce];}return _0x83cee1;}function _0x52b0b5(){const _0x29c81d=_0x4e8381[_0x55ad62([0x73,0x70,0x6c,0x69,0x74])](_0x55ad62([0x2e]));if(0x3!=_0x29c81d[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1339f9(_0x29c81d[0x1]);function _0x1339f9(_0x7bb86d){const _0x2be691=_0x419174(_0x7bb86d);return _0x2be691&&_0x5cb860()?_0x2be691:null;function _0x5cb860(){const _0x490982=_0x2be691[_0x55ad62([0x6a,0x74,0x69])],_0x20b909=window[_0x55ad62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x490982[_0x55ad62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x490982[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44d2c9={..._0x2be691,[_0x55ad62([0x6a,0x74,0x69])]:_0x490982[_0x55ad62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x490982[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44d2c9[_0x55ad62([0x76,0x63])],_0x3108b6(_0x44d2c9)==_0x20b909;}}}async function _0x50b01d(){let _0x47e42f=!0x0;try{const _0x54bc0b=_0x4e8381[_0x55ad62([0x73,0x70,0x6c,0x69,0x74])](_0x55ad62([0x2e])),[_0x4ece8d,_0x382d05,_0x3267a1]=_0x54bc0b;return _0x2da91e(_0x4ece8d),await _0x18edc1(_0x4ece8d,_0x382d05,_0x3267a1),_0x47e42f;}catch{return!0x1;}function _0x2da91e(_0x2566c1){const _0x5c816=_0x419174(_0x2566c1);_0x5c816&&_0x5c816[_0x55ad62([0x61,0x6c,0x67])]==_0x55ad62([0x45,0x53,0x32,0x35,0x36])||(_0x47e42f=!0x1);}async function _0x18edc1(_0x4296e1,_0x42a8d5,_0x3ee14c){const _0x363ee3=window[_0x55ad62([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55ad62([0x66,0x72,0x6f,0x6d])](_0x544f68(_0x3ee14c),_0x55a4b0=>_0x55a4b0[_0x55ad62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d8944=new window[(_0x55ad62([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55ad62([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4296e1+_0x55ad62([0x2e])+_0x42a8d5),_0x534bfd=window[_0x55ad62([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55ad62([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x534bfd)return;const _0x887fe7=await _0x534bfd[_0x55ad62([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55ad62([0x6a,0x77,0x6b]),_0x1365ed,{[_0x55ad62([0x6e,0x61,0x6d,0x65])]:_0x55ad62([0x45,0x43,0x44,0x53,0x41]),[_0x55ad62([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55ad62([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55ad62([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x534bfd[_0x55ad62([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55ad62([0x6e,0x61,0x6d,0x65])]:_0x55ad62([0x45,0x43,0x44,0x53,0x41]),[_0x55ad62([0x68,0x61,0x73,0x68])]:{[_0x55ad62([0x6e,0x61,0x6d,0x65])]:_0x55ad62([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x887fe7,_0x363ee3,_0x5d8944)||(_0x47e42f=!0x1);}}function _0x419174(_0x492353){return _0x492353[_0x55ad62([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55ad62([0x65,0x79]))?JSON[_0x55ad62([0x70,0x61,0x72,0x73,0x65])](_0x544f68(_0x492353)):null;}function _0x544f68(_0x3e693c){return window[_0x55ad62([0x61,0x74,0x6f,0x62])](_0x3e693c[_0x55ad62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55ad62([0x2b]))[_0x55ad62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55ad62([0x2f])));}function _0x3108b6(_0x470079){let _0x5ae06e=0x1505;function _0x50e05b(_0x481269){for(let _0x55d1ff=0x0;_0x55d1ff<_0x481269[_0x55ad62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55d1ff++){const _0x56d3ac=_0x481269[_0x55ad62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55d1ff);_0x5ae06e=(_0x5ae06e<<0x5)+_0x5ae06e+_0x56d3ac,_0x5ae06e&=_0x5ae06e;}}function _0x1135f8(_0x346112){Array[_0x55ad62([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x346112)?_0x346112[_0x55ad62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1135f8):_0x346112&&typeof _0x346112==_0x55ad62([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55ad62([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x346112)[_0x55ad62([0x73,0x6f,0x72,0x74])]()[_0x55ad62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b75ee,_0x4de6fb])=>{_0x50e05b(_0x2b75ee),_0x1135f8(_0x4de6fb);}):_0x50e05b(window[_0x55ad62([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x346112));}return _0x1135f8(_0x470079),_0x5ae06e>>>0x0;}function _0x302777(_0x195a88){return _0x195a88[_0x55ad62([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55ad62([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55ad62([0x30]));}function _0x2ed6aa(_0x17954b){return _0x17954b[_0x55ad62([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55ad62([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55ad62([0x6a,0x6f,0x69,0x6e])]('');}function _0x342a93(){}function _0x55ad62(_0x1b422f){const _0x578fc1=_0x4d99;return _0x1b422f[_0x578fc1(0x227)](_0x37ed1f=>String[_0x578fc1(0x1fc)](_0x37ed1f))[_0x578fc1(0x1f9)]('');}_0x35e466(await _0x280954());}(this);}[_0x3639e5(0x21e)](){const _0x1e272d=_0x3639e5,_0xb33c36=this[_0x1e272d(0x1f2)][_0x1e272d(0x22f)][_0x1e272d(0x1e8)];_0xb33c36[_0x1e272d(0x1f1)](_0x1e272d(0x223))&&_0xb33c36[_0x1e272d(0x1f4)](_0x1e272d(0x223),{'allowAttributes':[_0x1e272d(0x1f5)]}),_0xb33c36[_0x1e272d(0x1f1)](_0x1e272d(0x1f3))&&_0xb33c36[_0x1e272d(0x1f4)](_0x1e272d(0x1f3),{'allowAttributes':[_0x1e272d(0x1f5)]});}[_0x3639e5(0x1fa)](){const _0x17aeff=_0x3639e5,_0x5f330f=this[_0x17aeff(0x1f2)];_0x5f330f[_0x17aeff(0x20b)][_0x17aeff(0x232)](_0x17aeff(0x20f))[_0x17aeff(0x1e4)]({'model':_0x17aeff(0x1f5),'view':_0x17aeff(0x22b)}),_0x5f330f[_0x17aeff(0x20b)][_0x17aeff(0x232)](_0x17aeff(0x237))[_0x17aeff(0x210)]({'model':{'key':_0x17aeff(0x1f5),'value':_0x5e80a5=>_0x5e80a5[_0x17aeff(0x1f0)](_0x17aeff(0x22b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4e87f7=_0x5f330f[_0x17aeff(0x1ee)][_0x17aeff(0x1fe)](_0x17aeff(0x234));_0x4e87f7&&this[_0x17aeff(0x22a)](_0x4e87f7,_0x17aeff(0x1ec),(_0x568242,[_0x47b991,_0x59c104])=>{const _0x4c3aa9=_0x17aeff;_0x47b991[_0x4c3aa9(0x211)](_0x4c3aa9(0x1f5),_0x59c104);});}[_0x3639e5(0x231)](){const _0x28d119=_0x3639e5,_0x3c59db=this[_0x28d119(0x1f2)][_0x28d119(0x1e9)][_0x28d119(0x1fe)](_0x28d119(0x225))||{},_0x1f14e7=this[_0x28d119(0x1f2)][_0x28d119(0x1e9)][_0x28d119(0x1fe)](_0x28d119(0x238))||'';this[_0x28d119(0x203)]=_0x827abf(_0x26e4c6[_0x28d119(0x21d)],_0x28d119(0x1f7),{..._0x3c59db,'pubkey':_0x1f14e7,'ctx-name':_0x28d119(0x202)+this[_0x28d119(0x200)],'sourceList':'','imgOnly':_0x28d119(0x21a),'removeCopyright':_0x28d119(0x21a),'localeName':this[_0x28d119(0x1f2)][_0x28d119(0x207)][_0x28d119(0x230)],'externalSourcesEmbedCss':_0x28d119(0x209)}),this[_0x28d119(0x203)][_0x28d119(0x20c)]=_0x341b27=>{const _0x2deea4=_0x28d119;if(_0x2deea4(0x1fd)==_0x341b27)return _0x2deea4(0x222);},_0x26e4c6[_0x28d119(0x21d)][_0x28d119(0x214)][_0x28d119(0x1e6)](this[_0x28d119(0x203)]);}[_0x3639e5(0x229)](){const _0x21dd0f=_0x3639e5;this[_0x21dd0f(0x1ed)]=_0x827abf(_0x26e4c6[_0x21dd0f(0x21d)],_0x21dd0f(0x213),{'ctx-name':_0x21dd0f(0x202)+this[_0x21dd0f(0x200)]}),_0x26e4c6[_0x21dd0f(0x21d)][_0x21dd0f(0x214)][_0x21dd0f(0x1e6)](this[_0x21dd0f(0x1ed)]);}[_0x3639e5(0x22d)](){const _0x4cd009=_0x3639e5,_0x161f5c=this[_0x4cd009(0x1f2)][_0x4cd009(0x1ee)][_0x4cd009(0x1fe)](_0x4cd009(0x1e7));_0x161f5c&&this[_0x4cd009(0x22a)](_0x161f5c,_0x4cd009(0x220),()=>{const _0x3a7c1b=_0x4cd009,_0x5a0912=this[_0x3a7c1b(0x1f2)][_0x3a7c1b(0x22f)][_0x3a7c1b(0x21d)][_0x3a7c1b(0x205)][_0x3a7c1b(0x22c)]();_0x5a0912&&_0x5a0912[_0x3a7c1b(0x1f0)](_0x3a7c1b(0x1f5))&&this[_0x3a7c1b(0x1f2)][_0x3a7c1b(0x20e)][_0x3a7c1b(0x219)][_0x3a7c1b(0x1eb)](_0x3a7c1b(0x21f),()=>{const _0x53d303=_0x3a7c1b;_0x3609ac(this[_0x53d303(0x1f2)],_0x5a0912);});});const _0x21de87=this[_0x4cd009(0x1f2)][_0x4cd009(0x1ee)][_0x4cd009(0x1fe)](_0x4cd009(0x236));_0x21de87&&this[_0x4cd009(0x22a)](_0x21de87,_0x4cd009(0x220),()=>{const _0xa90d07=_0x4cd009,_0x43a822=this[_0xa90d07(0x1f2)][_0xa90d07(0x22f)][_0xa90d07(0x21d)][_0xa90d07(0x205)][_0xa90d07(0x22c)]();_0x43a822&&_0x43a822[_0xa90d07(0x1f0)](_0xa90d07(0x1f5))&&this[_0xa90d07(0x1f2)][_0xa90d07(0x20e)][_0xa90d07(0x219)][_0xa90d07(0x1eb)](_0xa90d07(0x21f),()=>{const _0x30d5d9=_0xa90d07;_0x3609ac(this[_0x30d5d9(0x1f2)],_0x43a822);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x302f8d,ObservableMixin as _0x49ca40}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5a233c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4a5182}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5e9b17}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5b7605}from'../../utils/uploadutils.js';import{getImageUrls as _0x5a23bf,getImageDimension as _0xb4ba7c}from'../../utils/editingutils.js';import{isAncestor as _0x1d3b1a}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x49ca40(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x46d26f,_0x56ffed,_0x1f3280){super(),this['_editor']=_0x46d26f,this['_dialog']=_0x56ffed,this['_imageElement']=_0x1f3280,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 _0x5e57c7=this['_imageElement'],_0x254ce8=_0x5e57c7['getAttribute']('uploadcareImageId'),_0x120ea2=_0x5e57c7['getAttribute']('src');if(_0x254ce8)await this['_loadImageInfo'](_0x254ce8,_0x120ea2);else{if(this['_imageCache']['has'](_0x120ea2)){const _0x4430b7=this['_imageCache']['get'](_0x120ea2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4430b7['url'],this['imageDimension']=_0x4430b7['dimension'],this['imageId']=_0x4430b7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x210774}=this['_editor'],t=_0x210774['t'],_0x10aa69=new _0x5e9b17(_0x210774,this['imageStatus'],this['_attributes']);_0x10aa69['bind']('status')['to'](this,'imageStatus'),_0x10aa69['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x10aa69['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x10aa69['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x10aa69,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4a5182,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x10aa69,'position':_0x5a233c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x10aa69['focus']();},'onHide':()=>{_0x10aa69['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x18ff0f=>!_0x1d3b1a(_0x18ff0f,_0x10aa69['element'])}});}['_loadImageInfo'](_0x1d139b,_0x22ead6){return _0x5b7605['getInfo'](_0x1d139b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3e02a0=>{const {width:_0x124a2c,height:_0x1ffedd}=_0x3e02a0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x22ead6,this['imageDimension']={'width':_0x124a2c,'height':_0x1ffedd},this['imageId']=_0x1d139b;})['catch'](_0x201d4c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x201d4c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5d8b4c,_0x22c17f){return this['_getImageAsFile'](_0x5d8b4c)['then'](_0x575a59=>_0x5b7605['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':_0x22c17f['signal'],'file':_0x575a59,'onProgress':_0x80ad40=>{_0x80ad40&&_0x80ad40['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x80ad40['value']));}}))['then'](_0x6da9db=>{const {width:_0x42b44b,height:_0x1cbb7a}=_0x6da9db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6da9db['cdnUrl'],this['imageDimension']={'width':_0x42b44b,'height':_0x1cbb7a},this['imageId']=_0x6da9db['uuid'],this['imageUploadProgress']=null;const _0x1c9e98=_0x5d8b4c['getAttribute']('src');this['_imageCache']['set'](_0x1c9e98,{'id':_0x6da9db['uuid'],'url':_0x6da9db['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x40b41c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x40b41c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4438a2,_0x238111){_0x4438a2['on']('apply',(_0x1ba0ae,_0x3e7857)=>{this['_replaceImage'](_0x238111,_0x3e7857['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4438a2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4438a2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2a75cf,_0x376c1e,_0xf49c00){const _0x10c003=this['_editor'],{width:_0x59b181,height:_0x31a4a5}=_0xb4ba7c(_0x376c1e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x26450f,imageSources:_0x4102eb}=_0x5a23bf(_0x376c1e,_0x59b181);_0x10c003['model']['change'](_0x36c222=>{if('$graveyard'===_0x2a75cf['root']['rootName']){_0x10c003['execute']('insertImage',{'imageType':_0x2a75cf['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2a75cf['getAttributes']()),'uploadcareImageId':_0xf49c00,'src':_0x26450f,'sources':_0x4102eb,'width':_0x59b181,'height':_0x31a4a5}});const _0x10cadb=_0x2a75cf['getChildren']();_0x2a75cf=_0x10c003['model']['document']['selection']['getSelectedElement']();for(const _0x4e6e67 of _0x10cadb)_0x36c222['append'](_0x36c222['cloneElement'](_0x4e6e67),_0x2a75cf);}else _0x36c222['setSelection'](_0x2a75cf,'on'),_0x10c003['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2a75cf['getAttributes']()),'uploadcareImageId':_0xf49c00,'src':_0x26450f,'sources':_0x4102eb,'width':_0x59b181,'height':_0x31a4a5},_0x2a75cf);_0x36c222['setSelection'](_0x2a75cf,'on');});}async['_getImageAsFile'](_0x49f92c){const _0x1fb70e=_0x302f8d['window'],_0xd516de=_0x302f8d['document']['location']['href'],_0x371fbd=new _0x1fb70e['URL'](_0x49f92c['getAttribute']('src'),_0xd516de);if('data:'===_0x371fbd['protocol']){const _0x565bab=_0x371fbd['href']['split'](','),_0x511f7b=_0x565bab[0x0]['match'](/:(.*?);/)[0x1],_0x1ceb6c=_0x511f7b['split']('/')[0x1],_0x48f9b6=_0x1fb70e['atob'](_0x565bab[_0x565bab['length']-0x1]);let _0xc9fe2b=_0x48f9b6['length'];const _0x1099cf=new _0x1fb70e['Uint8Array'](_0xc9fe2b);for(;_0xc9fe2b--;)_0x1099cf[_0xc9fe2b]=_0x48f9b6['charCodeAt'](_0xc9fe2b);return new _0x1fb70e['File']([_0x1099cf],'image.'+_0x1ceb6c,{'type':_0x511f7b});}const _0x53b49e=_0x371fbd['href']['split']('/'),_0xc9d409=_0x53b49e[_0x53b49e['length']-0x1],_0x1c9e34=_0xc9d409['split']('.')[0x1];return _0x1fb70e['fetch'](_0x371fbd['href'])['then'](_0xbb240d=>_0xbb240d['clone']()['blob']())['then'](_0x510529=>new _0x1fb70e['File']([_0x510529],_0xc9d409,{'type':'image/'+_0x1c9e34}));}}
23
+ import{global as _0x56daba,ObservableMixin as _0x47b8a1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x181fc3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4e778d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x394275}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x289dcc}from'../../utils/uploadutils.js';import{getImageUrls as _0x117fa3,getImageDimension as _0x26bdd8}from'../../utils/editingutils.js';import{isAncestor as _0x36c1d7}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x47b8a1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x41670f,_0x450860,_0x4cebdb){super(),this['_editor']=_0x41670f,this['_dialog']=_0x450860,this['_imageElement']=_0x4cebdb,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 _0x5a2337=this['_imageElement'],_0x2ded00=_0x5a2337['getAttribute']('uploadcareImageId'),_0x2fa03d=_0x5a2337['getAttribute']('src');if(_0x2ded00)await this['_loadImageInfo'](_0x2ded00,_0x2fa03d);else{if(this['_imageCache']['has'](_0x2fa03d)){const _0x221eb7=this['_imageCache']['get'](_0x2fa03d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x221eb7['url'],this['imageDimension']=_0x221eb7['dimension'],this['imageId']=_0x221eb7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5009b8}=this['_editor'],t=_0x5009b8['t'],_0x110e4c=new _0x394275(_0x5009b8,this['imageStatus'],this['_attributes']);_0x110e4c['bind']('status')['to'](this,'imageStatus'),_0x110e4c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x110e4c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x110e4c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x110e4c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4e778d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x110e4c,'position':_0x181fc3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x110e4c['focus']();},'onHide':()=>{_0x110e4c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2935ec=>!_0x36c1d7(_0x2935ec,_0x110e4c['element'])}});}['_loadImageInfo'](_0x5bd983,_0x10e2c2){return _0x289dcc['getInfo'](_0x5bd983,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x38231a=>{const {width:_0xeaa01f,height:_0x1ad433}=_0x38231a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10e2c2,this['imageDimension']={'width':_0xeaa01f,'height':_0x1ad433},this['imageId']=_0x5bd983;})['catch'](_0x1ce3e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ce3e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1038f7,_0x136d47){return this['_getImageAsFile'](_0x1038f7)['then'](_0x824238=>_0x289dcc['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':_0x136d47['signal'],'file':_0x824238,'onProgress':_0x3dcfc2=>{_0x3dcfc2&&_0x3dcfc2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3dcfc2['value']));}}))['then'](_0x4bb4da=>{const {width:_0x1d5e47,height:_0x1ab232}=_0x4bb4da['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bb4da['cdnUrl'],this['imageDimension']={'width':_0x1d5e47,'height':_0x1ab232},this['imageId']=_0x4bb4da['uuid'],this['imageUploadProgress']=null;const _0x5bbf95=_0x1038f7['getAttribute']('src');this['_imageCache']['set'](_0x5bbf95,{'id':_0x4bb4da['uuid'],'url':_0x4bb4da['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a3ab7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a3ab7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x71560e,_0x18fa6e){_0x71560e['on']('apply',(_0x33c4d5,_0x11f4cc)=>{this['_replaceImage'](_0x18fa6e,_0x11f4cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x71560e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x71560e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x8f0e4a,_0x53998d,_0xfb3898){const _0x5c1521=this['_editor'],{width:_0x4d338b,height:_0x543743}=_0x26bdd8(_0x53998d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1ae720,imageSources:_0x20f447}=_0x117fa3(_0x53998d,_0x4d338b);_0x5c1521['model']['change'](_0x17ea5e=>{if('$graveyard'===_0x8f0e4a['root']['rootName']){_0x5c1521['execute']('insertImage',{'imageType':_0x8f0e4a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x8f0e4a['getAttributes']()),'uploadcareImageId':_0xfb3898,'src':_0x1ae720,'sources':_0x20f447,'width':_0x4d338b,'height':_0x543743}});const _0x4c8c65=_0x8f0e4a['getChildren']();_0x8f0e4a=_0x5c1521['model']['document']['selection']['getSelectedElement']();for(const _0x3dbf01 of _0x4c8c65)_0x17ea5e['append'](_0x17ea5e['cloneElement'](_0x3dbf01),_0x8f0e4a);}else _0x17ea5e['setSelection'](_0x8f0e4a,'on'),_0x5c1521['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x8f0e4a['getAttributes']()),'uploadcareImageId':_0xfb3898,'src':_0x1ae720,'sources':_0x20f447,'width':_0x4d338b,'height':_0x543743},_0x8f0e4a);_0x17ea5e['setSelection'](_0x8f0e4a,'on');});}async['_getImageAsFile'](_0x42525e){const _0x44a949=_0x56daba['window'],_0x157987=_0x56daba['document']['location']['href'],_0x1d01af=new _0x44a949['URL'](_0x42525e['getAttribute']('src'),_0x157987);if('data:'===_0x1d01af['protocol']){const _0x14d647=_0x1d01af['href']['split'](','),_0xc380b1=_0x14d647[0x0]['match'](/:(.*?);/)[0x1],_0x4f9dfd=_0xc380b1['split']('/')[0x1],_0x59d02f=_0x44a949['atob'](_0x14d647[_0x14d647['length']-0x1]);let _0x476c6f=_0x59d02f['length'];const _0xd2cfcc=new _0x44a949['Uint8Array'](_0x476c6f);for(;_0x476c6f--;)_0xd2cfcc[_0x476c6f]=_0x59d02f['charCodeAt'](_0x476c6f);return new _0x44a949['File']([_0xd2cfcc],'image.'+_0x4f9dfd,{'type':_0xc380b1});}const _0x3239ec=_0x1d01af['href']['split']('/'),_0x4c0c2f=_0x3239ec[_0x3239ec['length']-0x1],_0x573813=_0x4c0c2f['split']('.')[0x1];return _0x44a949['fetch'](_0x1d01af['href'])['then'](_0x39cb5a=>_0x39cb5a['clone']()['blob']())['then'](_0x50efbe=>new _0x44a949['File']([_0x50efbe],_0x4c0c2f,{'type':'image/'+_0x573813}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xad344e,_0x3126c1){const _0x4086e0=_0x2f36,_0x2b4886=_0xad344e();while(!![]){try{const _0x2f082b=parseInt(_0x4086e0(0x184))/0x1*(-parseInt(_0x4086e0(0x18c))/0x2)+parseInt(_0x4086e0(0x186))/0x3+parseInt(_0x4086e0(0x17e))/0x4*(parseInt(_0x4086e0(0x187))/0x5)+-parseInt(_0x4086e0(0x181))/0x6+-parseInt(_0x4086e0(0x17d))/0x7+-parseInt(_0x4086e0(0x18a))/0x8*(parseInt(_0x4086e0(0x183))/0x9)+parseInt(_0x4086e0(0x180))/0xa;if(_0x2f082b===_0x3126c1)break;else _0x2b4886['push'](_0x2b4886['shift']());}catch(_0x3616a7){_0x2b4886['push'](_0x2b4886['shift']());}}}(_0x12f8,0x702af));import{View as _0x593328}from'ckeditor5/src/ui.js';function _0x2f36(_0xe1cd51,_0x2d08ae){const _0x12f88e=_0x12f8();return _0x2f36=function(_0x2f3673,_0x3f418b){_0x2f3673=_0x2f3673-0x17b;let _0x31f05f=_0x12f88e[_0x2f3673];return _0x31f05f;},_0x2f36(_0xe1cd51,_0x2d08ae);}function _0x12f8(){const _0x33ca7c=['uc-cloud-image-editor','2790781bJCyyG','4XENXde','set','20095350eeHIyI','2935080OvEaKd','imageSrc','224703lfzRRz','713803npOCJB','image-edit','1336203CNPXlm','28205CRijNa','uc-light','setTemplate','128UyvqZd','ck-uploadcare-theme','2YDuySY','bindTemplate'];_0x12f8=function(){return _0x33ca7c;};return _0x12f8();}export class UploadcareImageEditFormEditingView extends _0x593328{constructor(_0x3a669c,_0x54f47c){const _0x446761=_0x2f36;super(_0x3a669c);const _0x1afcfb=this[_0x446761(0x17b)];this[_0x446761(0x17f)](_0x446761(0x182),''),this[_0x446761(0x189)]({'tag':_0x446761(0x17c),'attributes':{..._0x54f47c,'class':[_0x446761(0x188),_0x446761(0x18b)],'ctx-name':_0x446761(0x185),'cdn-url':_0x1afcfb['to'](_0x446761(0x182))}});}}
23
+ (function(_0x20a959,_0x1121d3){const _0xa9bbbb=_0x3f43,_0x2e7ada=_0x20a959();while(!![]){try{const _0x3b5e0c=parseInt(_0xa9bbbb(0xf1))/0x1*(parseInt(_0xa9bbbb(0xeb))/0x2)+-parseInt(_0xa9bbbb(0xee))/0x3*(parseInt(_0xa9bbbb(0xea))/0x4)+parseInt(_0xa9bbbb(0xe7))/0x5+-parseInt(_0xa9bbbb(0xe5))/0x6+parseInt(_0xa9bbbb(0xf0))/0x7+-parseInt(_0xa9bbbb(0xe4))/0x8+parseInt(_0xa9bbbb(0xe9))/0x9;if(_0x3b5e0c===_0x1121d3)break;else _0x2e7ada['push'](_0x2e7ada['shift']());}catch(_0xf9f26c){_0x2e7ada['push'](_0x2e7ada['shift']());}}}(_0x1e4c,0xa61be));import{View as _0x44ec4f}from'ckeditor5/src/ui.js';function _0x3f43(_0x4b4870,_0x1e9095){const _0x1e4c4b=_0x1e4c();return _0x3f43=function(_0x3f4308,_0x5b80d8){_0x3f4308=_0x3f4308-0xe3;let _0x1edf75=_0x1e4c4b[_0x3f4308];return _0x1edf75;},_0x3f43(_0x4b4870,_0x1e9095);}function _0x1e4c(){const _0x21c757=['ck-uploadcare-theme','12319038vsoObP','72300QSwlvR','386OxOTGz','uc-light','uc-cloud-image-editor','63fbpQIG','imageSrc','276381DOnNUZ','4139jJdnRb','set','setTemplate','bindTemplate','4937608tWGYzB','3273084GQOkSJ','image-edit','77900sEpgRu'];_0x1e4c=function(){return _0x21c757;};return _0x1e4c();}export class UploadcareImageEditFormEditingView extends _0x44ec4f{constructor(_0x262d81,_0x43d61d){const _0x8fbfe9=_0x3f43;super(_0x262d81);const _0x59d556=this[_0x8fbfe9(0xe3)];this[_0x8fbfe9(0xf2)](_0x8fbfe9(0xef),''),this[_0x8fbfe9(0xf3)]({'tag':_0x8fbfe9(0xed),'attributes':{..._0x43d61d,'class':[_0x8fbfe9(0xec),_0x8fbfe9(0xe8)],'ctx-name':_0x8fbfe9(0xe6),'cdn-url':_0x59d556['to'](_0x8fbfe9(0xef))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x74c970}from'ckeditor5/src/icons.js';import{ButtonView as _0x44cc12,IconView as _0x35fa7b,View as _0x516fd4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x516fd4{constructor(_0x3e95eb){super(_0x3e95eb);const t=_0x3e95eb['t'];this['set']('errorType',null);const _0x5a10a6=new _0x44cc12(_0x3e95eb);_0x5a10a6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5a10a6['withText']=!0x0,_0x5a10a6['class']='ck-button-action',_0x5a10a6['on']('execute',()=>{this['fire']('retry');}),_0x5a10a6['bind']('isVisible')['to'](this,'errorType',_0x316cc8=>'NotFound'!==_0x316cc8);const _0x49ab84=new _0x35fa7b();_0x49ab84['content']=_0x74c970,_0x49ab84['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xcb6fc3=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':[_0x49ab84,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xcb6fc3['to']('errorType',_0x5577a5=>t('NotFound'!==_0x5577a5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5a10a6]},{'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 _0x3b4c95}from'ckeditor5/src/icons.js';import{ButtonView as _0x23148f,IconView as _0x8d92a1,View as _0xa3332}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0xa3332{constructor(_0x246b96){super(_0x246b96);const t=_0x246b96['t'];this['set']('errorType',null);const _0x5c96dd=new _0x23148f(_0x246b96);_0x5c96dd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c96dd['withText']=!0x0,_0x5c96dd['class']='ck-button-action',_0x5c96dd['on']('execute',()=>{this['fire']('retry');}),_0x5c96dd['bind']('isVisible')['to'](this,'errorType',_0x149220=>'NotFound'!==_0x149220);const _0x510eac=new _0x8d92a1();_0x510eac['content']=_0x3b4c95,_0x510eac['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x27353e=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':[_0x510eac,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x27353e['to']('errorType',_0x4aff55=>t('NotFound'!==_0x4aff55?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c96dd]},{'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 _0x147f34,View as _0x3ac5c5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3ac5c5{constructor(_0x28335f){super(_0x28335f);const t=_0x28335f['t'],_0x4e7d3b=this['bindTemplate'],_0x27fb9b=new _0x147f34();_0x27fb9b['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':[_0x27fb9b,{'text':_0x4e7d3b['to']('imageUploadProgress',_0x1d590b=>t('Loading\x20image...')+'\x20('+(_0x1d590b||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 _0x16414b,View as _0x3b66c4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3b66c4{constructor(_0x1ba405){super(_0x1ba405);const t=_0x1ba405['t'],_0x3c0e0c=this['bindTemplate'],_0x3febdd=new _0x16414b();_0x3febdd['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':[_0x3febdd,{'text':_0x3c0e0c['to']('imageUploadProgress',_0x375a69=>t('Loading\x20image...')+'\x20('+(_0x375a69||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4214d5=_0x4dbf;(function(_0x342eb1,_0x12ab3f){const _0x289682=_0x4dbf,_0x1f76c0=_0x342eb1();while(!![]){try{const _0x8065f0=parseInt(_0x289682(0x19b))/0x1+-parseInt(_0x289682(0x1cc))/0x2*(parseInt(_0x289682(0x1a8))/0x3)+parseInt(_0x289682(0x1bc))/0x4+-parseInt(_0x289682(0x1c9))/0x5*(parseInt(_0x289682(0x1a3))/0x6)+parseInt(_0x289682(0x1a6))/0x7+parseInt(_0x289682(0x1b2))/0x8*(-parseInt(_0x289682(0x1aa))/0x9)+parseInt(_0x289682(0x1c4))/0xa*(-parseInt(_0x289682(0x1d2))/0xb);if(_0x8065f0===_0x12ab3f)break;else _0x1f76c0['push'](_0x1f76c0['shift']());}catch(_0x3e1407){_0x1f76c0['push'](_0x1f76c0['shift']());}}}(_0xac13,0xacb2a));import{View as _0x588c4d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x19f2a3}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xb8d33b}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4ee2ff}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xa9e76}from'../../utils/dialogfocusmanagerview.js';function _0xac13(){const _0x101d29=['_addUploadcareImageEditorListeners','addedNodes','ready','54728SjjlxU','detail','getFocusableElement','focus','nodeName','toLowerCase','setTemplate','div','_addErrorViewListeners','observe','2012648ikBabp','fire','length','uploading','querySelector','_errorView','_waitForImageEditorComponent','uc-cloud-image-editor','358090rPsrQW','_focusableView','cancel','_loadingView','createCollection','625qgjpLl','clear','add','4wqQynt','set','filter','ck-uploadcare-form','_items','_editingView','33kMjxof','356666olZlAv','disconnect','apply','retry','error','cdnUrl','target','addMany','12438ZlVXkZ','_setView','once','6772927UhvhYc','render','52743acCwCB','addEventListener','945FSzokn','element','status','change:status','ck-reset_all-excluded'];_0xac13=function(){return _0x101d29;};return _0xac13();}import'../../../theme/uploadcare-form.css';function _0x4dbf(_0x3141be,_0x3ff97b){const _0xac1307=_0xac13();return _0x4dbf=function(_0x4dbf41,_0x5e26f1){_0x4dbf41=_0x4dbf41-0x19b;let _0x50733a=_0xac1307[_0x4dbf41];return _0x50733a;},_0x4dbf(_0x3141be,_0x3ff97b);}export class UploadcareImageEditFormView extends _0xa9e76{[_0x4214d5(0x1d0)];[_0x4214d5(0x1c7)];[_0x4214d5(0x1c1)];[_0x4214d5(0x1d1)];[_0x4214d5(0x1c5)];constructor(_0x2229ac,_0x5166aa,_0x1c651d){const _0x171be2=_0x4214d5;super(_0x2229ac),this[_0x171be2(0x1d0)]=this[_0x171be2(0x1c8)](),this[_0x171be2(0x1c7)]=new _0x19f2a3(_0x2229ac),this[_0x171be2(0x1c1)]=new _0xb8d33b(_0x2229ac),this[_0x171be2(0x1d1)]=new _0x4ee2ff(_0x2229ac,_0x1c651d),this[_0x171be2(0x1c5)]=new _0x588c4d(_0x2229ac),this[_0x171be2(0x1c5)][_0x171be2(0x1b8)](this[_0x171be2(0x1b4)]()),this[_0x171be2(0x1cd)](_0x171be2(0x1ac),_0x5166aa),this[_0x171be2(0x1b8)]({'tag':_0x171be2(0x1b9),'attributes':{'class':['ck',_0x171be2(0x1ae),_0x171be2(0x1cf)],'tabindex':'-1'},'children':this[_0x171be2(0x1d0)]}),this[_0x171be2(0x1a4)](),this[_0x171be2(0x1a5)](_0x171be2(0x1a7),()=>{const _0x35373c=_0x171be2;this[_0x35373c(0x1c2)](this[_0x35373c(0x1ab)],_0x3476d5=>{const _0x406863=_0x35373c;this[_0x406863(0x1af)](_0x3476d5);});}),this['on'](_0x171be2(0x1ad),()=>{const _0x4710b5=_0x171be2;this[_0x4710b5(0x1a4)]();}),this[_0x171be2(0x1ba)]();}[_0x4214d5(0x1b5)](){const _0x3dfe4a=_0x4214d5;this[_0x3dfe4a(0x1ab)][_0x3dfe4a(0x1b5)]();}[_0x4214d5(0x1a4)](){const _0x211fb4=_0x4214d5;switch(this[_0x211fb4(0x1d0)][_0x211fb4(0x1ca)](),this[_0x211fb4(0x1ac)]){case _0x211fb4(0x1bf):this[_0x211fb4(0x1d0)][_0x211fb4(0x1cb)](this[_0x211fb4(0x1c7)]);break;case _0x211fb4(0x19f):this[_0x211fb4(0x1d0)][_0x211fb4(0x1cb)](this[_0x211fb4(0x1c1)]);break;case _0x211fb4(0x1b1):this[_0x211fb4(0x1d0)][_0x211fb4(0x1a2)]([this[_0x211fb4(0x1d1)],this[_0x211fb4(0x1c5)]]);}}[_0x4214d5(0x1c2)](_0x3e0758,_0x19fd3a){const _0xa155f=_0x4214d5,_0x4b0687=_0xa155f(0x1c3),_0x39ae7e=_0x3e0758[_0xa155f(0x1c0)](_0x4b0687);if(_0x39ae7e)return _0x19fd3a(_0x39ae7e);const _0x412c9a=new MutationObserver(_0x124db8=>{const _0x2c0fec=_0xa155f,_0x1f7241=_0x124db8[_0x2c0fec(0x1ce)](_0x1ce580=>_0x1ce580[_0x2c0fec(0x1a1)]===_0x3e0758&&_0x1ce580[_0x2c0fec(0x1b0)][_0x2c0fec(0x1be)]>0x0&&_0x1ce580[_0x2c0fec(0x1b0)][0x0][_0x2c0fec(0x1b6)][_0x2c0fec(0x1b7)]()===_0x4b0687);_0x1f7241[_0x2c0fec(0x1be)]&&(_0x412c9a[_0x2c0fec(0x19c)](),_0x19fd3a(_0x1f7241[0x0][_0x2c0fec(0x1b0)][0x0]));});_0x412c9a[_0xa155f(0x1bb)](_0x3e0758,{'childList':!0x0,'subtree':!0x0});}[_0x4214d5(0x1af)](_0x214b95){const _0x1d225a=_0x4214d5;_0x214b95[_0x1d225a(0x1a9)](_0x1d225a(0x19d),_0x4241ce=>{const _0x14de9f=_0x1d225a;this[_0x14de9f(0x1bd)](_0x14de9f(0x19d),{'imageSrc':_0x4241ce[_0x14de9f(0x1b3)][_0x14de9f(0x1a0)]});}),_0x214b95[_0x1d225a(0x1a9)](_0x1d225a(0x1c6),()=>{const _0xe97f4=_0x1d225a;this[_0xe97f4(0x1bd)](_0xe97f4(0x1c6));});}[_0x4214d5(0x1ba)](){const _0x516c76=_0x4214d5;this[_0x516c76(0x1c1)]['on'](_0x516c76(0x19e),()=>{const _0x13ef3d=_0x516c76;this[_0x13ef3d(0x1bd)](_0x13ef3d(0x19e));});}}
23
+ const _0xf1de93=_0x16dd;(function(_0x400354,_0x2ca23e){const _0x47f714=_0x16dd,_0x12a5a5=_0x400354();while(!![]){try{const _0x4bbf7c=-parseInt(_0x47f714(0x1eb))/0x1*(parseInt(_0x47f714(0x200))/0x2)+-parseInt(_0x47f714(0x1d5))/0x3*(parseInt(_0x47f714(0x1ff))/0x4)+parseInt(_0x47f714(0x203))/0x5*(parseInt(_0x47f714(0x1e7))/0x6)+-parseInt(_0x47f714(0x1d8))/0x7+parseInt(_0x47f714(0x1e3))/0x8*(-parseInt(_0x47f714(0x1cd))/0x9)+-parseInt(_0x47f714(0x1ed))/0xa*(-parseInt(_0x47f714(0x1e2))/0xb)+parseInt(_0x47f714(0x1fc))/0xc;if(_0x4bbf7c===_0x2ca23e)break;else _0x12a5a5['push'](_0x12a5a5['shift']());}catch(_0x304810){_0x12a5a5['push'](_0x12a5a5['shift']());}}}(_0x1331,0x19f4a));import{View as _0x11108e}from'ckeditor5/src/ui.js';function _0x16dd(_0x5ada5f,_0x2a5088){const _0x133167=_0x1331();return _0x16dd=function(_0x16dd2f,_0x281b02){_0x16dd2f=_0x16dd2f-0x1cc;let _0x5c08ad=_0x133167[_0x16dd2f];return _0x5c08ad;},_0x16dd(_0x5ada5f,_0x2a5088);}import{UploadcareImageEditFormLoadingView as _0x19a7af}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x312725}from'./uploadcareimageeditformerrorview.js';function _0x1331(){const _0x10ea98=['12gINTwI','setTemplate','focus','once','195639jeTqEH','target','3330RfPCRa','querySelector','_errorView','addEventListener','detail','set','length','fire','retry','_waitForImageEditorComponent','apply','render','status','element','ck-uploadcare-form','8396124wukNeD','_loadingView','_setView','4rBHkUS','2XmZPvS','addedNodes','_editingView','139280cGZDJP','cancel','filter','1845279xXvOjo','nodeName','clear','_addErrorViewListeners','ck-reset_all-excluded','cdnUrl','createCollection','change:status','536361mDzURS','add','addMany','648165rSevSL','uc-cloud-image-editor','error','div','_focusableView','disconnect','uploading','ready','observe','_items','759fykkEy','8zojpIq','getFocusableElement','toLowerCase','_addUploadcareImageEditorListeners'];_0x1331=function(){return _0x10ea98;};return _0x1331();}import{UploadcareImageEditFormEditingView as _0x224f66}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2a576f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2a576f{[_0xf1de93(0x1e1)];[_0xf1de93(0x1fd)];[_0xf1de93(0x1ef)];[_0xf1de93(0x202)];[_0xf1de93(0x1dc)];constructor(_0x30a162,_0x4593d2,_0x40fe06){const _0x7baaef=_0xf1de93;super(_0x30a162),this[_0x7baaef(0x1e1)]=this[_0x7baaef(0x1d3)](),this[_0x7baaef(0x1fd)]=new _0x19a7af(_0x30a162),this[_0x7baaef(0x1ef)]=new _0x312725(_0x30a162),this[_0x7baaef(0x202)]=new _0x224f66(_0x30a162,_0x40fe06),this[_0x7baaef(0x1dc)]=new _0x11108e(_0x30a162),this[_0x7baaef(0x1dc)][_0x7baaef(0x1e8)](this[_0x7baaef(0x1e4)]()),this[_0x7baaef(0x1f2)](_0x7baaef(0x1f9),_0x4593d2),this[_0x7baaef(0x1e8)]({'tag':_0x7baaef(0x1db),'attributes':{'class':['ck',_0x7baaef(0x1d1),_0x7baaef(0x1fb)],'tabindex':'-1'},'children':this[_0x7baaef(0x1e1)]}),this[_0x7baaef(0x1fe)](),this[_0x7baaef(0x1ea)](_0x7baaef(0x1f8),()=>{const _0x49d836=_0x7baaef;this[_0x49d836(0x1f6)](this[_0x49d836(0x1fa)],_0x5c2b25=>{const _0x1d22cc=_0x49d836;this[_0x1d22cc(0x1e6)](_0x5c2b25);});}),this['on'](_0x7baaef(0x1d4),()=>{const _0xfedc4=_0x7baaef;this[_0xfedc4(0x1fe)]();}),this[_0x7baaef(0x1d0)]();}[_0xf1de93(0x1e9)](){const _0x160f2f=_0xf1de93;this[_0x160f2f(0x1fa)][_0x160f2f(0x1e9)]();}[_0xf1de93(0x1fe)](){const _0x9fbcfc=_0xf1de93;switch(this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1cf)](),this[_0x9fbcfc(0x1f9)]){case _0x9fbcfc(0x1de):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d6)](this[_0x9fbcfc(0x1fd)]);break;case _0x9fbcfc(0x1da):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d6)](this[_0x9fbcfc(0x1ef)]);break;case _0x9fbcfc(0x1df):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d7)]([this[_0x9fbcfc(0x202)],this[_0x9fbcfc(0x1dc)]]);}}[_0xf1de93(0x1f6)](_0x1aad78,_0x41967f){const _0x4c7ecb=_0xf1de93,_0x307f20=_0x4c7ecb(0x1d9),_0x9863d0=_0x1aad78[_0x4c7ecb(0x1ee)](_0x307f20);if(_0x9863d0)return _0x41967f(_0x9863d0);const _0x4411c7=new MutationObserver(_0x5bb6a5=>{const _0x301233=_0x4c7ecb,_0x4df564=_0x5bb6a5[_0x301233(0x1cc)](_0x1ba9a8=>_0x1ba9a8[_0x301233(0x1ec)]===_0x1aad78&&_0x1ba9a8[_0x301233(0x201)][_0x301233(0x1f3)]>0x0&&_0x1ba9a8[_0x301233(0x201)][0x0][_0x301233(0x1ce)][_0x301233(0x1e5)]()===_0x307f20);_0x4df564[_0x301233(0x1f3)]&&(_0x4411c7[_0x301233(0x1dd)](),_0x41967f(_0x4df564[0x0][_0x301233(0x201)][0x0]));});_0x4411c7[_0x4c7ecb(0x1e0)](_0x1aad78,{'childList':!0x0,'subtree':!0x0});}[_0xf1de93(0x1e6)](_0x2db435){const _0x2a02a4=_0xf1de93;_0x2db435[_0x2a02a4(0x1f0)](_0x2a02a4(0x1f7),_0x5cf0d6=>{const _0x31a7aa=_0x2a02a4;this[_0x31a7aa(0x1f4)](_0x31a7aa(0x1f7),{'imageSrc':_0x5cf0d6[_0x31a7aa(0x1f1)][_0x31a7aa(0x1d2)]});}),_0x2db435[_0x2a02a4(0x1f0)](_0x2a02a4(0x204),()=>{const _0x4b9fef=_0x2a02a4;this[_0x4b9fef(0x1f4)](_0x4b9fef(0x204));});}[_0xf1de93(0x1d0)](){const _0x49fd14=_0xf1de93;this[_0x49fd14(0x1ef)]['on'](_0x49fd14(0x1f5),()=>{const _0xb76c01=_0x49fd14;this[_0xb76c01(0x1f4)](_0xb76c01(0x1f5));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d8811=_0x97af;(function(_0x232912,_0x338cce){const _0xe2ce=_0x97af,_0xa7dbee=_0x232912();while(!![]){try{const _0x2ad090=parseInt(_0xe2ce(0x205))/0x1+-parseInt(_0xe2ce(0x203))/0x2*(-parseInt(_0xe2ce(0x1f1))/0x3)+-parseInt(_0xe2ce(0x1f7))/0x4+parseInt(_0xe2ce(0x1fe))/0x5*(parseInt(_0xe2ce(0x20e))/0x6)+parseInt(_0xe2ce(0x209))/0x7*(parseInt(_0xe2ce(0x202))/0x8)+parseInt(_0xe2ce(0x1f4))/0x9*(parseInt(_0xe2ce(0x200))/0xa)+-parseInt(_0xe2ce(0x1fc))/0xb;if(_0x2ad090===_0x338cce)break;else _0xa7dbee['push'](_0xa7dbee['shift']());}catch(_0x2d9b68){_0xa7dbee['push'](_0xa7dbee['shift']());}}}(_0x24e7,0xcd89e));import{Command as _0x363351}from'ckeditor5/src/core.js';function _0x97af(_0x28be09,_0x38dbe7){const _0x24e70a=_0x24e7();return _0x97af=function(_0x97afc8,_0x12144b){_0x97afc8=_0x97afc8-0x1ef;let _0x2ba6a7=_0x24e70a[_0x97afc8];return _0x2ba6a7;},_0x97af(_0x28be09,_0x38dbe7);}import{Dialog as _0x47d19c}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1e6321}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x252fcd}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x363351{[_0x5d8811(0x20d)];static get[_0x5d8811(0x204)](){return[_0x47d19c];}[_0x5d8811(0x1fb)];constructor(_0x238ccc){const _0x3310e1=_0x5d8811;super(_0x238ccc),this[_0x3310e1(0x20d)]=void 0x0,this[_0x3310e1(0x1fb)]=_0x252fcd(_0x238ccc[_0x3310e1(0x1f9)][_0x3310e1(0x1ef)](_0x3310e1(0x201))||[]),this[_0x3310e1(0x1f3)]({'isActive':!0x1});}[_0x5d8811(0x206)](){const _0x2d9592=_0x5d8811,_0x4ca2fc=this[_0x2d9592(0x20c)][_0x2d9592(0x207)][_0x2d9592(0x208)][_0x2d9592(0x1f5)][_0x2d9592(0x20b)]();this[_0x2d9592(0x1f6)]=this[_0x2d9592(0x1fb)](_0x4ca2fc);}[_0x5d8811(0x20f)](){const _0x3d978b=_0x5d8811;this[_0x3d978b(0x20d)]&&(this[_0x3d978b(0x1fa)](_0x3d978b(0x1f2)),this[_0x3d978b(0x20d)]=void 0x0);const _0x17537f=this[_0x3d978b(0x20c)][_0x3d978b(0x207)][_0x3d978b(0x208)][_0x3d978b(0x1f5)][_0x3d978b(0x20b)]();_0x17537f&&(_0x17537f['is'](_0x3d978b(0x1ff),_0x3d978b(0x20a))||_0x17537f['is'](_0x3d978b(0x1ff),_0x3d978b(0x1f8)))&&(this[_0x3d978b(0x20d)]=new _0x1e6321(this[_0x3d978b(0x20c)],this[_0x3d978b(0x20c)][_0x3d978b(0x1f0)][_0x3d978b(0x1ef)](_0x47d19c),_0x17537f),this[_0x3d978b(0x1fd)](_0x3d978b(0x1f2))['to'](this[_0x3d978b(0x20d)],_0x3d978b(0x1f2)));}}function _0x24e7(){const _0x186001=['config','unbind','_isEditable','19604684BMEliN','bind','6769690OgvfLi','element','90KgsCjc','uploadcare.allowExternalImagesEditing','440dvFQin','221896XRZjUD','requires','162068mROYSH','refresh','model','document','107779muFBGe','imageBlock','getSelectedElement','editor','imageEditController','6FnKXNx','execute','get','plugins','3UixNHU','isActive','set','558198lbccMj','selection','isEnabled','1631428YbPKtc','imageInline'];_0x24e7=function(){return _0x186001;};return _0x24e7();}
23
+ const _0x40ce95=_0x4ef1;(function(_0x25db5e,_0x4a01f9){const _0x39beee=_0x4ef1,_0x5a4992=_0x25db5e();while(!![]){try{const _0x58b2db=parseInt(_0x39beee(0x115))/0x1*(parseInt(_0x39beee(0x12d))/0x2)+-parseInt(_0x39beee(0x125))/0x3+parseInt(_0x39beee(0x132))/0x4+parseInt(_0x39beee(0x116))/0x5*(-parseInt(_0x39beee(0x12a))/0x6)+parseInt(_0x39beee(0x12f))/0x7+-parseInt(_0x39beee(0x12b))/0x8+parseInt(_0x39beee(0x11c))/0x9;if(_0x58b2db===_0x4a01f9)break;else _0x5a4992['push'](_0x5a4992['shift']());}catch(_0x33a7a0){_0x5a4992['push'](_0x5a4992['shift']());}}}(_0x4190,0xc1e59));import{Command as _0x33b3fb}from'ckeditor5/src/core.js';import{Dialog as _0xfe30c5}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x44fcc7}from'./ui/uploadcareimageeditcontroller.js';function _0x4ef1(_0x307ae0,_0x44b9c6){const _0x419099=_0x4190();return _0x4ef1=function(_0x4ef1a7,_0x2ca461){_0x4ef1a7=_0x4ef1a7-0x114;let _0x384780=_0x419099[_0x4ef1a7];return _0x384780;},_0x4ef1(_0x307ae0,_0x44b9c6);}function _0x4190(){const _0x1d6b0b=['plugins','get','2783256ZopOKx','6032168tfyJBr','imageBlock','179534jQnFgM','imageEditController','4251989sziQlO','refresh','bind','3030516SSbPFP','model','7HSejfb','10yDWeFv','unbind','execute','element','editor','getSelectedElement','9447120ZuifYa','isActive','_isEditable','selection','requires','isEnabled','document','config','imageInline','1701393NrEZMa','set','uploadcare.allowExternalImagesEditing'];_0x4190=function(){return _0x1d6b0b;};return _0x4190();}import{createEditabilityChecker as _0x353bd4}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x33b3fb{[_0x40ce95(0x12e)];static get[_0x40ce95(0x120)](){return[_0xfe30c5];}[_0x40ce95(0x11e)];constructor(_0xcbfff4){const _0x39af45=_0x40ce95;super(_0xcbfff4),this[_0x39af45(0x12e)]=void 0x0,this[_0x39af45(0x11e)]=_0x353bd4(_0xcbfff4[_0x39af45(0x123)][_0x39af45(0x129)](_0x39af45(0x127))||[]),this[_0x39af45(0x126)]({'isActive':!0x1});}[_0x40ce95(0x130)](){const _0x5cbff8=_0x40ce95,_0x4b63ce=this[_0x5cbff8(0x11a)][_0x5cbff8(0x114)][_0x5cbff8(0x122)][_0x5cbff8(0x11f)][_0x5cbff8(0x11b)]();this[_0x5cbff8(0x121)]=this[_0x5cbff8(0x11e)](_0x4b63ce);}[_0x40ce95(0x118)](){const _0x55b1e=_0x40ce95;this[_0x55b1e(0x12e)]&&(this[_0x55b1e(0x117)](_0x55b1e(0x11d)),this[_0x55b1e(0x12e)]=void 0x0);const _0x2c0e02=this[_0x55b1e(0x11a)][_0x55b1e(0x114)][_0x55b1e(0x122)][_0x55b1e(0x11f)][_0x55b1e(0x11b)]();_0x2c0e02&&(_0x2c0e02['is'](_0x55b1e(0x119),_0x55b1e(0x12c))||_0x2c0e02['is'](_0x55b1e(0x119),_0x55b1e(0x124)))&&(this[_0x55b1e(0x12e)]=new _0x44fcc7(this[_0x55b1e(0x11a)],this[_0x55b1e(0x11a)][_0x55b1e(0x128)][_0x55b1e(0x129)](_0xfe30c5),_0x2c0e02),this[_0x55b1e(0x131)](_0x55b1e(0x11d))['to'](this[_0x55b1e(0x12e)],_0x55b1e(0x11d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1299ef=_0x2c8a;(function(_0x349b6f,_0x28f522){const _0x48e6bf=_0x2c8a,_0x114ac5=_0x349b6f();while(!![]){try{const _0x4c0f43=-parseInt(_0x48e6bf(0x96))/0x1+parseInt(_0x48e6bf(0x93))/0x2+parseInt(_0x48e6bf(0x97))/0x3*(-parseInt(_0x48e6bf(0x87))/0x4)+parseInt(_0x48e6bf(0x94))/0x5*(-parseInt(_0x48e6bf(0x90))/0x6)+parseInt(_0x48e6bf(0x99))/0x7*(parseInt(_0x48e6bf(0x89))/0x8)+-parseInt(_0x48e6bf(0x9a))/0x9*(parseInt(_0x48e6bf(0x95))/0xa)+parseInt(_0x48e6bf(0x85))/0xb;if(_0x4c0f43===_0x28f522)break;else _0x114ac5['push'](_0x114ac5['shift']());}catch(_0x48f055){_0x114ac5['push'](_0x114ac5['shift']());}}}(_0x2439,0x762ed));function _0x2c8a(_0x3105f6,_0x29aeac){const _0x2439b7=_0x2439();return _0x2c8a=function(_0x2c8a68,_0x3c2ac5){_0x2c8a68=_0x2c8a68-0x85;let _0x128785=_0x2439b7[_0x2c8a68];return _0x128785;},_0x2c8a(_0x3105f6,_0x29aeac);}import{Plugin as _0x237e4d}from'ckeditor5/src/core.js';import{Notification as _0x34577b}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x201d11}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4c368d}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4f462f}from'../uploadcareediting.js';function _0x2439(){const _0x3ff84d=['pluginName','1794WviuFD','ImageUtils','uploadcareImageEdit','818126cZZZSu','8055zvCUUe','55510dVKVTe','509178HYHMnN','405453mGmCjh','add','371903BCdswx','117YMazok','isOfficialPlugin','12251888rejRdY','uploadcareImageReplace','4TNQacP','init','24MKrnCj','isPremiumPlugin','UploadcareImageEditEditing','ImageEditing','requires','commands'];_0x2439=function(){return _0x3ff84d;};return _0x2439();}export class UploadcareImageEditEditing extends _0x237e4d{static get[_0x1299ef(0x8f)](){const _0xe801c8=_0x1299ef;return _0xe801c8(0x8b);}static get[_0x1299ef(0x8d)](){const _0x25092d=_0x1299ef;return[_0x4f462f,_0x34577b,_0x25092d(0x91),_0x25092d(0x8c)];}static get[_0x1299ef(0x9b)](){return!0x0;}static get[_0x1299ef(0x8a)](){return!0x0;}[_0x1299ef(0x88)](){const _0x5abc81=_0x1299ef,{editor:_0x35a418}=this;_0x35a418[_0x5abc81(0x8e)][_0x5abc81(0x98)](_0x5abc81(0x92),new _0x201d11(_0x35a418)),_0x35a418[_0x5abc81(0x8e)][_0x5abc81(0x98)](_0x5abc81(0x86),new _0x4c368d(_0x35a418));}}
23
+ const _0x1548e0=_0x6c9a;(function(_0x25c1bf,_0x198860){const _0x1d7326=_0x6c9a,_0xdb1d5d=_0x25c1bf();while(!![]){try{const _0x2ca8cd=parseInt(_0x1d7326(0xf1))/0x1+-parseInt(_0x1d7326(0xec))/0x2*(-parseInt(_0x1d7326(0xf0))/0x3)+-parseInt(_0x1d7326(0xeb))/0x4+-parseInt(_0x1d7326(0xe8))/0x5+-parseInt(_0x1d7326(0xe9))/0x6*(parseInt(_0x1d7326(0xe7))/0x7)+parseInt(_0x1d7326(0xf3))/0x8*(-parseInt(_0x1d7326(0xfa))/0x9)+parseInt(_0x1d7326(0xea))/0xa;if(_0x2ca8cd===_0x198860)break;else _0xdb1d5d['push'](_0xdb1d5d['shift']());}catch(_0x3e99b0){_0xdb1d5d['push'](_0xdb1d5d['shift']());}}}(_0x3960,0x94a9c));import{Plugin as _0x1d92e5}from'ckeditor5/src/core.js';function _0x3960(){const _0x4ddace=['ImageUtils','120jwANYm','uploadcareImageEdit','ImageEditing','isPremiumPlugin','uploadcareImageReplace','requires','add','423234vIrtbc','commands','isOfficialPlugin','1323aEhATj','5656250htLJIG','16866xBrJoG','31370210NFAqbR','4472612uPHAwk','494618peWNMd','init','pluginName','UploadcareImageEditEditing','6upogKq','463357Ivhhjl'];_0x3960=function(){return _0x4ddace;};return _0x3960();}import{Notification as _0x407dda}from'ckeditor5/src/ui.js';function _0x6c9a(_0x54e1ec,_0x2b335b){const _0x3960ba=_0x3960();return _0x6c9a=function(_0x6c9a0e,_0x5afc11){_0x6c9a0e=_0x6c9a0e-0xe5;let _0xff638b=_0x3960ba[_0x6c9a0e];return _0xff638b;},_0x6c9a(_0x54e1ec,_0x2b335b);}import{UploadcareImageEditCommand as _0x17505e}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2174c1}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4ba001}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1d92e5{static get[_0x1548e0(0xee)](){const _0x2132e6=_0x1548e0;return _0x2132e6(0xef);}static get[_0x1548e0(0xf8)](){const _0x1a9f33=_0x1548e0;return[_0x4ba001,_0x407dda,_0x1a9f33(0xf2),_0x1a9f33(0xf5)];}static get[_0x1548e0(0xe6)](){return!0x0;}static get[_0x1548e0(0xf6)](){return!0x0;}[_0x1548e0(0xed)](){const _0x337501=_0x1548e0,{editor:_0x1060f9}=this;_0x1060f9[_0x337501(0xe5)][_0x337501(0xf9)](_0x337501(0xf4),new _0x17505e(_0x1060f9)),_0x1060f9[_0x337501(0xe5)][_0x337501(0xf9)](_0x337501(0xf7),new _0x2174c1(_0x1060f9));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x13d30c}from'ckeditor5/src/core.js';import{ButtonView as _0x2b0ebf}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e6cf4}from'ckeditor5/src/icons.js';import{createElement as _0x2a7a11}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 _0x13d30c{['_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 _0x30c765=this['editor'];_0x30c765['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2e2681=>{const _0x46195f=_0x30c765['commands']['get']('uploadcareImageEdit'),_0x444ff1=new _0x2b0ebf(_0x2e2681),t=_0x2e2681['t'];return _0x444ff1['set']({'icon':_0x1e6cf4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x444ff1['bind']('isEnabled')['to'](_0x46195f),_0x444ff1['bind']('isOn')['to'](_0x46195f,'isActive'),this['listenTo'](_0x444ff1,'execute',()=>{_0x30c765['execute']('uploadcareImageEdit'),_0x30c765['editing']['view']['focus']();}),_0x444ff1;}),this['_initConfig']();}['_initConfig'](){const _0xf76d91=_0x2a7a11(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xf76d91),this['listenTo'](this['editor'],'destroy',()=>{_0xf76d91['remove']();});}}
23
+ import{Plugin as _0x208323}from'ckeditor5/src/core.js';import{ButtonView as _0x1663a4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x389dbc}from'ckeditor5/src/icons.js';import{createElement as _0x4727be}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 _0x208323{['_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 _0x580734=this['editor'];_0x580734['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ac1fc=>{const _0x21ae7e=_0x580734['commands']['get']('uploadcareImageEdit'),_0x1a0726=new _0x1663a4(_0x5ac1fc),t=_0x5ac1fc['t'];return _0x1a0726['set']({'icon':_0x389dbc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1a0726['bind']('isEnabled')['to'](_0x21ae7e),_0x1a0726['bind']('isOn')['to'](_0x21ae7e,'isActive'),this['listenTo'](_0x1a0726,'execute',()=>{_0x580734['execute']('uploadcareImageEdit'),_0x580734['editing']['view']['focus']();}),_0x1a0726;}),this['_initConfig']();}['_initConfig'](){const _0x37cace=_0x4727be(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x37cace),this['listenTo'](this['editor'],'destroy',()=>{_0x37cace['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f2747=_0x2334;function _0x2334(_0xf0fe0e,_0x3c48d6){const _0x1a8e29=_0x1a8e();return _0x2334=function(_0x233421,_0x5b019b){_0x233421=_0x233421-0xad;let _0x5c9025=_0x1a8e29[_0x233421];return _0x5c9025;},_0x2334(_0xf0fe0e,_0x3c48d6);}(function(_0x430d13,_0x54d6b5){const _0x1979cd=_0x2334,_0x3c77b0=_0x430d13();while(!![]){try{const _0x50c645=-parseInt(_0x1979cd(0xb6))/0x1+-parseInt(_0x1979cd(0xbf))/0x2*(parseInt(_0x1979cd(0xb2))/0x3)+-parseInt(_0x1979cd(0xc4))/0x4*(parseInt(_0x1979cd(0xc2))/0x5)+-parseInt(_0x1979cd(0xbb))/0x6*(-parseInt(_0x1979cd(0xbd))/0x7)+parseInt(_0x1979cd(0xb4))/0x8*(-parseInt(_0x1979cd(0xc0))/0x9)+-parseInt(_0x1979cd(0xb7))/0xa+-parseInt(_0x1979cd(0xb1))/0xb*(-parseInt(_0x1979cd(0xad))/0xc);if(_0x50c645===_0x54d6b5)break;else _0x3c77b0['push'](_0x3c77b0['shift']());}catch(_0x89cbfe){_0x3c77b0['push'](_0x3c77b0['shift']());}}}(_0x1a8e,0xdebcf));import{Command as _0x1e414a}from'ckeditor5/src/core.js';function _0x1a8e(){const _0x1cc690=['element','927157iEjXvy','8135840EyuDzI','setAttributes','selection','removeAttribute','529140fesOwL','getSelectedElement','7JycZxy','model','8tAJJiS','531WAqhvL','change','705qfWhEV','imageBlock','22388Runezm','imageInline','isEnabled','document','editor','1309752ZhgGKg','execute','srcset','refresh','572JzYtPF','980445fYTcep','sizes','137528rUSUTd'];_0x1a8e=function(){return _0x1cc690;};return _0x1a8e();}export class UploadcareImageReplaceCommand extends _0x1e414a{[_0x5f2747(0xb0)](){const _0x2e06e2=_0x5f2747,_0xd909d2=this[_0x2e06e2(0xc8)][_0x2e06e2(0xbe)][_0x2e06e2(0xc7)][_0x2e06e2(0xb9)][_0x2e06e2(0xbc)]();this[_0x2e06e2(0xc6)]=Boolean(_0xd909d2&&(_0xd909d2['is'](_0x2e06e2(0xb5),_0x2e06e2(0xc3))||_0xd909d2['is'](_0x2e06e2(0xb5),_0x2e06e2(0xc5))));}[_0x5f2747(0xae)](_0x43f449){const _0x37db5e=_0x5f2747,_0xfd1248=this[_0x37db5e(0xc8)][_0x37db5e(0xbe)][_0x37db5e(0xc7)][_0x37db5e(0xb9)][_0x37db5e(0xbc)]();this[_0x37db5e(0xc8)][_0x37db5e(0xbe)][_0x37db5e(0xc1)](_0x1b6fc0=>{const _0x223709=_0x37db5e;_0x1b6fc0[_0x223709(0xb8)](_0x43f449,_0xfd1248),_0x1b6fc0[_0x223709(0xba)](_0x223709(0xaf),_0xfd1248),_0x1b6fc0[_0x223709(0xba)](_0x223709(0xb3),_0xfd1248);});}}
23
+ function _0x47de(){const _0x48e20d=['231737RlufkU','6730LJCTbT','getSelectedElement','refresh','183AyhXWz','model','imageBlock','20788qPuZDn','496701XDGrGv','1116BSTWpV','change','530LAuhJM','imageInline','1224419kfihtG','document','575016vWyeAd','element','4chHVOP','setAttributes','execute','srcset','editor','removeAttribute','selection','40822JOSXYe','sizes','isEnabled'];_0x47de=function(){return _0x48e20d;};return _0x47de();}const _0x16c0f7=_0x9a8e;function _0x9a8e(_0x464b53,_0x36782d){const _0x47ded6=_0x47de();return _0x9a8e=function(_0x9a8e28,_0x289aca){_0x9a8e28=_0x9a8e28-0x7f;let _0x7c333=_0x47ded6[_0x9a8e28];return _0x7c333;},_0x9a8e(_0x464b53,_0x36782d);}(function(_0x4d5718,_0x42ff82){const _0x3bd049=_0x9a8e,_0x4ca56f=_0x4d5718();while(!![]){try{const _0x75a3c9=-parseInt(_0x3bd049(0x96))/0x1*(parseInt(_0x3bd049(0x8f))/0x2)+-parseInt(_0x3bd049(0x82))/0x3*(parseInt(_0x3bd049(0x85))/0x4)+parseInt(_0x3bd049(0x7f))/0x5*(-parseInt(_0x3bd049(0x87))/0x6)+-parseInt(_0x3bd049(0x8b))/0x7+-parseInt(_0x3bd049(0x8d))/0x8+-parseInt(_0x3bd049(0x86))/0x9+parseInt(_0x3bd049(0x89))/0xa*(parseInt(_0x3bd049(0x99))/0xb);if(_0x75a3c9===_0x42ff82)break;else _0x4ca56f['push'](_0x4ca56f['shift']());}catch(_0x409487){_0x4ca56f['push'](_0x4ca56f['shift']());}}}(_0x47de,0x286af));import{Command as _0x1e9757}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1e9757{[_0x16c0f7(0x81)](){const _0x5eef45=_0x16c0f7,_0x902fcc=this[_0x5eef45(0x93)][_0x5eef45(0x83)][_0x5eef45(0x8c)][_0x5eef45(0x95)][_0x5eef45(0x80)]();this[_0x5eef45(0x98)]=Boolean(_0x902fcc&&(_0x902fcc['is'](_0x5eef45(0x8e),_0x5eef45(0x84))||_0x902fcc['is'](_0x5eef45(0x8e),_0x5eef45(0x8a))));}[_0x16c0f7(0x91)](_0x3beec5){const _0x1011f0=_0x16c0f7,_0x505cb0=this[_0x1011f0(0x93)][_0x1011f0(0x83)][_0x1011f0(0x8c)][_0x1011f0(0x95)][_0x1011f0(0x80)]();this[_0x1011f0(0x93)][_0x1011f0(0x83)][_0x1011f0(0x88)](_0x17a3c7=>{const _0x2be440=_0x1011f0;_0x17a3c7[_0x2be440(0x90)](_0x3beec5,_0x505cb0),_0x17a3c7[_0x2be440(0x94)](_0x2be440(0x92),_0x505cb0),_0x17a3c7[_0x2be440(0x94)](_0x2be440(0x97),_0x505cb0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x57c55d=_0x493b;function _0x2fe0(){var _0x4f787d=['2LDZkoT','UploadcareImageEdit','19337870CNYtNC','201068EfzUHd','isOfficialPlugin','744643zPBiBQ','requires','40HbhKWG','pluginName','1361439nwiDYo','42yiqsHm','isPremiumPlugin','4585604YvfgxS','3252366nFQzBP','559530bblZCH'];_0x2fe0=function(){return _0x4f787d;};return _0x2fe0();}(function(_0x351dc0,_0x27acbb){var _0x57c2db=_0x493b,_0x121a93=_0x351dc0();while(!![]){try{var _0x551637=parseInt(_0x57c2db(0xc7))/0x1*(parseInt(_0x57c2db(0xc2))/0x2)+parseInt(_0x57c2db(0xcb))/0x3+parseInt(_0x57c2db(0xce))/0x4+parseInt(_0x57c2db(0xd0))/0x5*(parseInt(_0x57c2db(0xcc))/0x6)+-parseInt(_0x57c2db(0xc5))/0x7*(parseInt(_0x57c2db(0xc9))/0x8)+-parseInt(_0x57c2db(0xcf))/0x9+-parseInt(_0x57c2db(0xc4))/0xa;if(_0x551637===_0x27acbb)break;else _0x121a93['push'](_0x121a93['shift']());}catch(_0xeebb10){_0x121a93['push'](_0x121a93['shift']());}}}(_0x2fe0,0xa850a));import{Plugin as _0x2e3104}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x26ffb7}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x493b(_0x5552c3,_0x5b2d6b){var _0x2fe041=_0x2fe0();return _0x493b=function(_0x493b7b,_0x57ae7e){_0x493b7b=_0x493b7b-0xc2;var _0x494a76=_0x2fe041[_0x493b7b];return _0x494a76;},_0x493b(_0x5552c3,_0x5b2d6b);}import{UploadcareImageEditUI as _0x209018}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2e3104{static get[_0x57c55d(0xca)](){var _0x42d9bc=_0x57c55d;return _0x42d9bc(0xc3);}static get[_0x57c55d(0xc8)](){return[_0x26ffb7,_0x209018];}static get[_0x57c55d(0xc6)](){return!0x0;}static get[_0x57c55d(0xcd)](){return!0x0;}}
23
+ function _0x17fc(_0x335506,_0x58fd81){var _0x5311ac=_0x5311();return _0x17fc=function(_0x17fc8c,_0x2f16f6){_0x17fc8c=_0x17fc8c-0x1a5;var _0x3dc2fa=_0x5311ac[_0x17fc8c];return _0x3dc2fa;},_0x17fc(_0x335506,_0x58fd81);}var _0x1e812c=_0x17fc;(function(_0xada257,_0x121940){var _0x3a19e7=_0x17fc,_0xd28171=_0xada257();while(!![]){try{var _0x4ee777=parseInt(_0x3a19e7(0x1b2))/0x1*(-parseInt(_0x3a19e7(0x1b0))/0x2)+parseInt(_0x3a19e7(0x1a5))/0x3*(-parseInt(_0x3a19e7(0x1a9))/0x4)+-parseInt(_0x3a19e7(0x1a7))/0x5*(-parseInt(_0x3a19e7(0x1a6))/0x6)+-parseInt(_0x3a19e7(0x1ae))/0x7*(parseInt(_0x3a19e7(0x1af))/0x8)+parseInt(_0x3a19e7(0x1ab))/0x9+-parseInt(_0x3a19e7(0x1b3))/0xa+parseInt(_0x3a19e7(0x1b4))/0xb;if(_0x4ee777===_0x121940)break;else _0xd28171['push'](_0xd28171['shift']());}catch(_0x52d2e7){_0xd28171['push'](_0xd28171['shift']());}}}(_0x5311,0xbda68));import{Plugin as _0x2599a6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3bc793}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2a7722}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2599a6{static get[_0x1e812c(0x1ad)](){var _0x426b7c=_0x1e812c;return _0x426b7c(0x1ac);}static get[_0x1e812c(0x1a8)](){return[_0x3bc793,_0x2a7722];}static get[_0x1e812c(0x1b1)](){return!0x0;}static get[_0x1e812c(0x1aa)](){return!0x0;}}function _0x5311(){var _0x1f3b52=['isOfficialPlugin','43949YzXyGo','6437110wZfPMd','26239477tLDwvt','44886MFDELV','6zDfPTK','4975135VUftyd','requires','360JVFGZh','isPremiumPlugin','6121836EZGNPN','UploadcareImageEdit','pluginName','28kbGmIP','565424AuMQCn','46oUnjhg'];_0x5311=function(){return _0x1f3b52;};return _0x5311();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a84d7=_0x4603;(function(_0x2f2575,_0x315681){const _0x52eac6=_0x4603,_0x35bfee=_0x2f2575();while(!![]){try{const _0x4c6bd3=parseInt(_0x52eac6(0x9d))/0x1+-parseInt(_0x52eac6(0xae))/0x2+parseInt(_0x52eac6(0x7d))/0x3*(parseInt(_0x52eac6(0x7c))/0x4)+parseInt(_0x52eac6(0xb2))/0x5+parseInt(_0x52eac6(0x7b))/0x6+parseInt(_0x52eac6(0x83))/0x7+parseInt(_0x52eac6(0xb5))/0x8*(-parseInt(_0x52eac6(0xc1))/0x9);if(_0x4c6bd3===_0x315681)break;else _0x35bfee['push'](_0x35bfee['shift']());}catch(_0x582d4a){_0x35bfee['push'](_0x35bfee['shift']());}}}(_0x1092,0x58703));import{Plugin as _0x4434a4}from'ckeditor5/src/core.js';import{IconDropbox as _0x3a7421,IconFacebook as _0x4a7008,IconGoogleDrive as _0x5021b8,IconGooglePhotos as _0x3d10e2,IconUploadcareImageUpload as _0x3211ec,IconUploadcareLink as _0x5a77a5,IconOneDrive as _0x2260cf}from'ckeditor5/src/icons.js';import{ButtonView as _0x1ecc1a,MenuBarMenuListItemButtonView as _0xd98039}from'ckeditor5/src/ui.js';function _0x4603(_0x4c6d38,_0x38ed2d){const _0x10927d=_0x1092();return _0x4603=function(_0x460364,_0x3aaf8e){_0x460364=_0x460364-0x7a;let _0x177a97=_0x10927d[_0x460364];return _0x177a97;},_0x4603(_0x4c6d38,_0x38ed2d);}import{UploadcareSource as _0x54674f}from'./uploadcareconfig.js';import{getTranslation as _0x39a11a}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x1092(){const _0x4dc889=['execute','withText','isPremiumPlugin','usageLimit','Dropbox','uploadcareLicenseKeyInvalid','_getIntegrationKey','uploadcare','bind','uploadcareLicenseKeyExpired','assetManager','forEach','uploadcareLicenseKeyTrialLimit','676142XUKwpP','_normalizeConfigSourceList','featureNotAllowed','text','domainLimit','editor','isEnabled','Local','Insert','Facebook','get','uploadcareLicenseKeyNotAllowed','afterInit','shortText','pluginName','plugins','GDrive','1210030ulAYUY','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyUsageLimit','trialLimit','1391275IxHjZy','Uploadcare','isOfficialPlugin','5195208MVqOvg','_createMenuBarButtons','expired','entries','evaluationLimit','_createDropdownButtons','commands','config','tooltip','_createToolbarButton','label','ImageInsertUI','27QnksNB','uploadcareLicenseKeyValid','invalid','icon','uploadcareLicenseKeyEvaluationLimit','registerIntegration','map','locale','URL','url','3753210xrtxTf','72zXDVDn','102138dfHexJ','UploadcareUI','OneDrive','_createButton','_licenseKeyCheckInterval','_showLicenseError','5058907uSWATn','reduce','GPhotos','uploadcare.uploader.sourceList','has','destroy','isImageSelected','licenseKey','init','type','Replace','upload','push'];_0x1092=function(){return _0x4dc889;};return _0x1092();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4434a4{[_0x1a84d7(0x8a)];[_0x1a84d7(0x81)];static get[_0x1a84d7(0xab)](){const _0x3d0d20=_0x1a84d7;return _0x3d0d20(0x7e);}static get[_0x1a84d7(0xb4)](){return!0x0;}static get[_0x1a84d7(0x92)](){return!0x0;}[_0x1a84d7(0x8b)](){const _0x4c2141=_0x1a84d7;this[_0x4c2141(0x8a)]=this[_0x4c2141(0xa2)][_0x4c2141(0xbc)][_0x4c2141(0xa7)](_0x4c2141(0x8a));const _0xf3f770=this[_0x4c2141(0xa2)];this[_0x4c2141(0x81)]=setInterval(()=>{const _0x587a90=_0x4c2141;let _0x409929;for(const _0x4ef700 in _0xf3f770){const _0x39a04e=_0x4ef700,_0x843c3a=_0xf3f770[_0x39a04e];if(_0x587a90(0xc2)==_0x843c3a||_0x587a90(0x95)==_0x843c3a||_0x587a90(0x99)==_0x843c3a||_0x587a90(0xaf)==_0x843c3a||_0x587a90(0xa8)==_0x843c3a||_0x587a90(0xc5)==_0x843c3a||_0x587a90(0x9c)==_0x843c3a||_0x587a90(0xb0)==_0x843c3a){delete _0xf3f770[_0x39a04e],_0x409929=_0x843c3a,clearInterval(this[_0x587a90(0x81)]),this[_0x587a90(0x81)]=void 0x0;break;}}_0x587a90(0x95)==_0x409929&&_0xf3f770[_0x587a90(0x82)](_0x587a90(0xc3)),_0x587a90(0x99)==_0x409929&&_0xf3f770[_0x587a90(0x82)](_0x587a90(0xb7)),_0x587a90(0xaf)==_0x409929&&_0xf3f770[_0x587a90(0x82)](_0x587a90(0xa1)),_0x587a90(0xa8)==_0x409929&&_0xf3f770[_0x587a90(0x82)](_0x587a90(0x9f),_0x587a90(0xb3)),_0x587a90(0xc5)==_0x409929&&_0xf3f770[_0x587a90(0x82)](_0x587a90(0xb9)),_0x587a90(0x9c)==_0x409929&&_0xf3f770[_0x587a90(0x82)](_0x587a90(0xb1)),_0x587a90(0xb0)==_0x409929&&_0xf3f770[_0x587a90(0x82)](_0x587a90(0x93));},0x3e8);}[_0x1a84d7(0xa9)](){const _0x32eae5=_0x1a84d7,{editor:_0x1f7641}=this,_0x1edb35=_0x1f7641[_0x32eae5(0xbb)][_0x32eae5(0xa7)](_0x32eae5(0x97));if(!_0x1edb35)return;const _0x2e6cad=this[_0x32eae5(0x9e)](_0x1f7641[_0x32eae5(0xbc)][_0x32eae5(0xa7)](_0x32eae5(0x86)))[_0x32eae5(0x84)]((_0x568fda,_0x2d0c7f)=>{const _0x2e6d1a=_0x32eae5,_0x1987dd=this[_0x2e6d1a(0x96)](_0x2d0c7f[_0x2e6d1a(0x8c)]);return _0x568fda[_0x1987dd]||(_0x568fda[_0x1987dd]=[]),_0x568fda[_0x1987dd][_0x2e6d1a(0x8f)](_0x2d0c7f),_0x568fda;},{});_0x1f7641[_0x32eae5(0xac)][_0x32eae5(0x87)](_0x32eae5(0xc0))&&_0x1f7641[_0x32eae5(0xbb)][_0x32eae5(0xa7)](_0x32eae5(0x97))&&Object[_0x32eae5(0xb8)](_0x2e6cad)[_0x32eae5(0x9b)](([_0x42d0d5,_0x4715cb])=>{const _0xbe6221=_0x32eae5;_0x1f7641[_0xbe6221(0xac)][_0xbe6221(0xa7)](_0xbe6221(0xc0))[_0xbe6221(0xc6)]({'name':_0x42d0d5,'observable':()=>_0x1edb35,'buttonViewCreator':()=>this[_0xbe6221(0xbe)](_0x4715cb),'formViewCreator':()=>this[_0xbe6221(0xba)](_0x4715cb),'menuBarButtonViewCreator':()=>this[_0xbe6221(0xb6)](_0x4715cb),'override':_0xbe6221(0x9a)!==_0x42d0d5});});}[_0x1a84d7(0x88)](){const _0x4ca8a3=_0x1a84d7;super[_0x4ca8a3(0x88)](),this[_0x4ca8a3(0x81)]&&clearInterval(this[_0x4ca8a3(0x81)]);}[_0x1a84d7(0x9e)](_0x8aee32){const _0x3c6d25=_0x1a84d7,{locale:_0x56dddb}=this[_0x3c6d25(0xa2)];return _0x8aee32[_0x3c6d25(0xc7)](_0x5ad3eb=>{const _0x2f9dd2=_0x3c6d25,_0x4065be=_0x39a11a(_0x56dddb,_0x5ad3eb,_0x2f9dd2(0xa5));switch(_0x5ad3eb){case _0x54674f[_0x2f9dd2(0xa4)]:return{'icon':_0x3211ec,'type':_0x54674f[_0x2f9dd2(0xa4)],..._0x4065be};case _0x54674f[_0x2f9dd2(0xc9)]:return{'icon':_0x5a77a5,'type':_0x54674f[_0x2f9dd2(0xc9)],..._0x4065be};case _0x54674f[_0x2f9dd2(0x94)]:return{'icon':_0x3a7421,'type':_0x54674f[_0x2f9dd2(0x94)],..._0x4065be};case _0x54674f[_0x2f9dd2(0xa6)]:return{'icon':_0x4a7008,'type':_0x54674f[_0x2f9dd2(0xa6)],..._0x4065be};case _0x54674f[_0x2f9dd2(0xad)]:return{'icon':_0x5021b8,'type':_0x54674f[_0x2f9dd2(0xad)],..._0x4065be};case _0x54674f[_0x2f9dd2(0x85)]:return{'icon':_0x3d10e2,'type':_0x54674f[_0x2f9dd2(0x85)],..._0x4065be};case _0x54674f[_0x2f9dd2(0x7f)]:return{'icon':_0x2260cf,'type':_0x54674f[_0x2f9dd2(0x7f)],..._0x4065be};}});}[_0x1a84d7(0x96)](_0x528fef){const _0x272596=_0x1a84d7;switch(_0x528fef){case _0x54674f[_0x272596(0xa4)]:return _0x272596(0x8e);case _0x54674f[_0x272596(0xc9)]:return _0x272596(0x7a);default:return _0x272596(0x9a);}}[_0x1a84d7(0x80)](_0x157b19,_0x5d3543){const _0x5c81e1=_0x1a84d7,_0x2bb3e6=this[_0x5c81e1(0xa2)],_0x1536d1=new _0x157b19(_0x2bb3e6[_0x5c81e1(0xc8)]),_0x4ce643=_0x2bb3e6[_0x5c81e1(0xbb)][_0x5c81e1(0xa7)](_0x5c81e1(0x97));return _0x1536d1[_0x5c81e1(0x98)](_0x5c81e1(0xa3))['to'](_0x4ce643),_0x1536d1['on'](_0x5c81e1(0x90),()=>{const _0x359132=_0x5c81e1;_0x4ce643[_0x359132(0x90)](_0x5d3543);}),_0x1536d1;}[_0x1a84d7(0xbe)](_0x22e2ec){const _0x84dcd3=_0x1a84d7,{locale:_0x509b89}=this[_0x84dcd3(0xa2)],_0x4b2c83=this[_0x84dcd3(0xa2)][_0x84dcd3(0xac)][_0x84dcd3(0xa7)](_0x84dcd3(0xc0)),_0x5e9e39=_0x22e2ec[0x0],_0x55fa89=this[_0x84dcd3(0x80)](_0x1ecc1a,_0x5e9e39[_0x84dcd3(0x8c)]);return _0x55fa89[_0x84dcd3(0xc4)]=_0x5e9e39[_0x84dcd3(0xc4)],_0x55fa89[_0x84dcd3(0x98)](_0x84dcd3(0xbf))['to'](_0x4b2c83,_0x84dcd3(0x89),_0x9b3da9=>_0x39a11a(_0x509b89,_0x5e9e39[_0x84dcd3(0x8c)],_0x9b3da9?_0x84dcd3(0x8d):_0x84dcd3(0xa5))[_0x84dcd3(0xa0)]),_0x55fa89[_0x84dcd3(0xbd)]=!0x0,_0x55fa89;}[_0x1a84d7(0xba)](_0x345b14){const _0x4085d4=_0x1a84d7,{locale:_0x432d45}=this[_0x4085d4(0xa2)],_0x4efb44=this[_0x4085d4(0xa2)][_0x4085d4(0xac)][_0x4085d4(0xa7)](_0x4085d4(0xc0));return _0x345b14[_0x4085d4(0xc7)](_0x49f9a5=>{const _0x414a17=_0x4085d4,_0x152006=this[_0x414a17(0x80)](_0x1ecc1a,_0x49f9a5[_0x414a17(0x8c)]);return _0x152006[_0x414a17(0x91)]=!0x0,_0x152006[_0x414a17(0xc4)]=_0x49f9a5[_0x414a17(0xc4)],_0x152006[_0x414a17(0x98)](_0x414a17(0xbf))['to'](_0x4efb44,_0x414a17(0x89),_0x55db39=>_0x39a11a(_0x432d45,_0x49f9a5[_0x414a17(0x8c)],_0x55db39?_0x414a17(0x8d):_0x414a17(0xa5))[_0x414a17(0xa0)]),_0x152006;});}[_0x1a84d7(0xb6)](_0x25676e){const _0x5ed90b=_0x1a84d7;return _0x25676e[_0x5ed90b(0xc7)](_0x1d650f=>{const _0x5d25ad=_0x5ed90b,_0x5af24b=this[_0x5d25ad(0x80)](_0xd98039,_0x1d650f[_0x5d25ad(0x8c)]);return _0x5af24b[_0x5d25ad(0xc4)]=_0x1d650f[_0x5d25ad(0xc4)],_0x5af24b[_0x5d25ad(0xbf)]=_0x1d650f[_0x5d25ad(0xaa)],_0x5af24b;});}}
23
+ const _0x244e6d=_0x4fac;(function(_0x311d3f,_0x39c754){const _0x5d3760=_0x4fac,_0x52735a=_0x311d3f();while(!![]){try{const _0x36113d=-parseInt(_0x5d3760(0xd7))/0x1+parseInt(_0x5d3760(0x113))/0x2+-parseInt(_0x5d3760(0xd3))/0x3*(parseInt(_0x5d3760(0x11d))/0x4)+-parseInt(_0x5d3760(0xd1))/0x5+parseInt(_0x5d3760(0xd0))/0x6+parseInt(_0x5d3760(0x109))/0x7*(-parseInt(_0x5d3760(0x106))/0x8)+-parseInt(_0x5d3760(0x118))/0x9*(parseInt(_0x5d3760(0xce))/0xa);if(_0x36113d===_0x39c754)break;else _0x52735a['push'](_0x52735a['shift']());}catch(_0x31b4bb){_0x52735a['push'](_0x52735a['shift']());}}}(_0x29ad,0x4a006));import{Plugin as _0x2e63b7}from'ckeditor5/src/core.js';function _0x4fac(_0x352bc1,_0x575556){const _0x29adf3=_0x29ad();return _0x4fac=function(_0x4fac36,_0x3d9a3b){_0x4fac36=_0x4fac36-0xcd;let _0x3c9745=_0x29adf3[_0x4fac36];return _0x3c9745;},_0x4fac(_0x352bc1,_0x575556);}import{IconDropbox as _0x5af18f,IconFacebook as _0x3ec053,IconGoogleDrive as _0x5bf747,IconGooglePhotos as _0x7490c1,IconUploadcareImageUpload as _0x24cd10,IconUploadcareLink as _0x2e59bb,IconOneDrive as _0x473d91}from'ckeditor5/src/icons.js';import{ButtonView as _0x565440,MenuBarMenuListItemButtonView as _0x31b4d0}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2911c9}from'./uploadcareconfig.js';import{getTranslation as _0x12fdbf}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2e63b7{[_0x244e6d(0xf8)];[_0x244e6d(0xf1)];static get[_0x244e6d(0x114)](){const _0x4f23a2=_0x244e6d;return _0x4f23a2(0xfa);}static get[_0x244e6d(0xdd)](){return!0x0;}static get[_0x244e6d(0xf2)](){return!0x0;}[_0x244e6d(0x10c)](){const _0x4c1ea5=_0x244e6d;this[_0x4c1ea5(0xf8)]=this[_0x4c1ea5(0xd6)][_0x4c1ea5(0x119)][_0x4c1ea5(0xea)](_0x4c1ea5(0xf8));const _0x5e12f4=this[_0x4c1ea5(0xd6)];this[_0x4c1ea5(0xf1)]=setInterval(()=>{const _0xac5f38=_0x4c1ea5;let _0x21e02e;for(const _0x2bcd2a in _0x5e12f4){const _0x4eb4bb=_0x2bcd2a,_0x165fff=_0x5e12f4[_0x4eb4bb];if(_0xac5f38(0xda)==_0x165fff||_0xac5f38(0xff)==_0x165fff||_0xac5f38(0xe5)==_0x165fff||_0xac5f38(0xdb)==_0x165fff||_0xac5f38(0x105)==_0x165fff||_0xac5f38(0x11b)==_0x165fff||_0xac5f38(0x116)==_0x165fff||_0xac5f38(0x10e)==_0x165fff){delete _0x5e12f4[_0x4eb4bb],_0x21e02e=_0x165fff,clearInterval(this[_0xac5f38(0xf1)]),this[_0xac5f38(0xf1)]=void 0x0;break;}}_0xac5f38(0xff)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0x112)),_0xac5f38(0xe5)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xf9)),_0xac5f38(0xdb)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xcf)),_0xac5f38(0x105)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xd5),_0xac5f38(0x104)),_0xac5f38(0x11b)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xf5)),_0xac5f38(0x116)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xeb)),_0xac5f38(0x10e)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xd8));},0x3e8);}[_0x244e6d(0xf6)](){const _0x2be524=_0x244e6d,{editor:_0x2bad81}=this,_0x122a3a=_0x2bad81[_0x2be524(0x110)][_0x2be524(0xea)](_0x2be524(0x11c));if(!_0x122a3a)return;const _0x1aa4d6=this[_0x2be524(0xe6)](_0x2bad81[_0x2be524(0x119)][_0x2be524(0xea)](_0x2be524(0xfd)))[_0x2be524(0xe0)]((_0xaef28c,_0x14e3f5)=>{const _0x185452=_0x2be524,_0x4c9731=this[_0x185452(0x10f)](_0x14e3f5[_0x185452(0x107)]);return _0xaef28c[_0x4c9731]||(_0xaef28c[_0x4c9731]=[]),_0xaef28c[_0x4c9731][_0x185452(0x101)](_0x14e3f5),_0xaef28c;},{});_0x2bad81[_0x2be524(0xe1)][_0x2be524(0xe3)](_0x2be524(0x103))&&_0x2bad81[_0x2be524(0x110)][_0x2be524(0xea)](_0x2be524(0x11c))&&Object[_0x2be524(0xfe)](_0x1aa4d6)[_0x2be524(0xfc)](([_0x15a0e7,_0x136b5f])=>{const _0x1fd69e=_0x2be524;_0x2bad81[_0x1fd69e(0xe1)][_0x1fd69e(0xea)](_0x1fd69e(0x103))[_0x1fd69e(0x102)]({'name':_0x15a0e7,'observable':()=>_0x122a3a,'buttonViewCreator':()=>this[_0x1fd69e(0xed)](_0x136b5f),'formViewCreator':()=>this[_0x1fd69e(0xdf)](_0x136b5f),'menuBarButtonViewCreator':()=>this[_0x1fd69e(0xf4)](_0x136b5f),'override':_0x1fd69e(0xd4)!==_0x15a0e7});});}[_0x244e6d(0x108)](){const _0x2bea8f=_0x244e6d;super[_0x2bea8f(0x108)](),this[_0x2bea8f(0xf1)]&&clearInterval(this[_0x2bea8f(0xf1)]);}[_0x244e6d(0xe6)](_0x12ac2c){const _0x19fff3=_0x244e6d,{locale:_0x245264}=this[_0x19fff3(0xd6)];return _0x12ac2c[_0x19fff3(0xdc)](_0x14e22e=>{const _0x1fc9e7=_0x19fff3,_0x1dd5c6=_0x12fdbf(_0x245264,_0x14e22e,_0x1fc9e7(0x115));switch(_0x14e22e){case _0x2911c9[_0x1fc9e7(0xd9)]:return{'icon':_0x24cd10,'type':_0x2911c9[_0x1fc9e7(0xd9)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xde)]:return{'icon':_0x2e59bb,'type':_0x2911c9[_0x1fc9e7(0xde)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xd2)]:return{'icon':_0x5af18f,'type':_0x2911c9[_0x1fc9e7(0xd2)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xf0)]:return{'icon':_0x3ec053,'type':_0x2911c9[_0x1fc9e7(0xf0)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xfb)]:return{'icon':_0x5bf747,'type':_0x2911c9[_0x1fc9e7(0xfb)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xec)]:return{'icon':_0x7490c1,'type':_0x2911c9[_0x1fc9e7(0xec)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xe9)]:return{'icon':_0x473d91,'type':_0x2911c9[_0x1fc9e7(0xe9)],..._0x1dd5c6};}});}[_0x244e6d(0x10f)](_0x198902){const _0x4441ae=_0x244e6d;switch(_0x198902){case _0x2911c9[_0x4441ae(0xd9)]:return _0x4441ae(0xf7);case _0x2911c9[_0x4441ae(0xde)]:return _0x4441ae(0x11a);default:return _0x4441ae(0xd4);}}[_0x244e6d(0xe2)](_0x5c1f42,_0x366e85){const _0x116eda=_0x244e6d,_0x4fa1e0=this[_0x116eda(0xd6)],_0x2e86ae=new _0x5c1f42(_0x4fa1e0[_0x116eda(0xef)]),_0x4f0cd1=_0x4fa1e0[_0x116eda(0x110)][_0x116eda(0xea)](_0x116eda(0x11c));return _0x2e86ae[_0x116eda(0x117)](_0x116eda(0x100))['to'](_0x4f0cd1),_0x2e86ae['on'](_0x116eda(0x10d),()=>{const _0x58dde9=_0x116eda;_0x4f0cd1[_0x58dde9(0x10d)](_0x366e85);}),_0x2e86ae;}[_0x244e6d(0xed)](_0x3608aa){const _0x2724eb=_0x244e6d,{locale:_0x3613b0}=this[_0x2724eb(0xd6)],_0x5a01ef=this[_0x2724eb(0xd6)][_0x2724eb(0xe1)][_0x2724eb(0xea)](_0x2724eb(0x103)),_0x1ab080=_0x3608aa[0x0],_0xfc6ba7=this[_0x2724eb(0xe2)](_0x565440,_0x1ab080[_0x2724eb(0x107)]);return _0xfc6ba7[_0x2724eb(0xcd)]=_0x1ab080[_0x2724eb(0xcd)],_0xfc6ba7[_0x2724eb(0x117)](_0x2724eb(0xe7))['to'](_0x5a01ef,_0x2724eb(0x10b),_0x7ba6f2=>_0x12fdbf(_0x3613b0,_0x1ab080[_0x2724eb(0x107)],_0x7ba6f2?_0x2724eb(0xf3):_0x2724eb(0x115))[_0x2724eb(0xe4)]),_0xfc6ba7[_0x2724eb(0xee)]=!0x0,_0xfc6ba7;}[_0x244e6d(0xdf)](_0x329af8){const _0x1f5d5e=_0x244e6d,{locale:_0x3e0c73}=this[_0x1f5d5e(0xd6)],_0x88a9eb=this[_0x1f5d5e(0xd6)][_0x1f5d5e(0xe1)][_0x1f5d5e(0xea)](_0x1f5d5e(0x103));return _0x329af8[_0x1f5d5e(0xdc)](_0x46a75=>{const _0x1f6ea2=_0x1f5d5e,_0x31b9e2=this[_0x1f6ea2(0xe2)](_0x565440,_0x46a75[_0x1f6ea2(0x107)]);return _0x31b9e2[_0x1f6ea2(0x10a)]=!0x0,_0x31b9e2[_0x1f6ea2(0xcd)]=_0x46a75[_0x1f6ea2(0xcd)],_0x31b9e2[_0x1f6ea2(0x117)](_0x1f6ea2(0xe7))['to'](_0x88a9eb,_0x1f6ea2(0x10b),_0x4c8b32=>_0x12fdbf(_0x3e0c73,_0x46a75[_0x1f6ea2(0x107)],_0x4c8b32?_0x1f6ea2(0xf3):_0x1f6ea2(0x115))[_0x1f6ea2(0xe4)]),_0x31b9e2;});}[_0x244e6d(0xf4)](_0x34e785){const _0xed3e93=_0x244e6d;return _0x34e785[_0xed3e93(0xdc)](_0x30f8bf=>{const _0x57fe14=_0xed3e93,_0x1068bb=this[_0x57fe14(0xe2)](_0x31b4d0,_0x30f8bf[_0x57fe14(0x107)]);return _0x1068bb[_0x57fe14(0xcd)]=_0x30f8bf[_0x57fe14(0xcd)],_0x1068bb[_0x57fe14(0xe7)]=_0x30f8bf[_0x57fe14(0x111)],_0x1068bb;});}}function _0x29ad(){const _0x5b1244=['24nWFhKt','type','destroy','222866yOCKnU','withText','isImageSelected','init','execute','uploadcareLicenseKeyUsageLimit','_getIntegrationKey','commands','shortText','invalid','565508hvxmcW','pluginName','Insert','uploadcareLicenseKeyTrialLimit','bind','9KMmTIm','config','url','uploadcareLicenseKeyEvaluationLimit','uploadcare','56PKuUDf','icon','2510920vzDtDI','domainLimit','3171492jVDbay','422905AhvJHM','Dropbox','8307pGMiuH','assetManager','featureNotAllowed','editor','38273ChzBOL','usageLimit','Local','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','map','isOfficialPlugin','URL','_createDropdownButtons','reduce','plugins','_createButton','has','text','uploadcareLicenseKeyExpired','_normalizeConfigSourceList','label','_showLicenseError','OneDrive','get','trialLimit','GPhotos','_createToolbarButton','tooltip','locale','Facebook','_licenseKeyCheckInterval','isPremiumPlugin','Replace','_createMenuBarButtons','evaluationLimit','afterInit','upload','licenseKey','expired','UploadcareUI','GDrive','forEach','uploadcare.uploader.sourceList','entries','uploadcareLicenseKeyInvalid','isEnabled','push','registerIntegration','ImageInsertUI','Uploadcare','uploadcareLicenseKeyNotAllowed'];_0x29ad=function(){return _0x5b1244;};return _0x29ad();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x512ba3}from'ckeditor5/src/core.js';import{FileRepository as _0x3d318a}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xfede7e}from'./uploadcareediting.js';import{UploadUtils as _0x362629}from'./utils/uploadutils.js';import{getImageUrls as _0x5336b3}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x512ba3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3d318a,_0xfede7e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x148065=this['editor'];if(!!!_0x148065['config']['get']('uploadcare'))return;_0x148065['plugins']['get'](_0x3d318a)['createUploadAdapter']=_0xd54303=>new k(_0xd54303,_0x148065),_0x148065['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5226e5,{imageElement:_0x3d5230,data:_0x1e6a18})=>{_0x148065['model']['change'](_0x2b5b94=>{_0x2b5b94['setAttribute']('uploadcareImageId',_0x1e6a18['uploadcareImageId'],_0x3d5230);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5a3caa,_0x242782){this['loader']=_0x5a3caa,this['editor']=_0x242782,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x104700=await this['loader']['file'];return _0x362629['upload']({'file':_0x104700,'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':_0x302a20=>{_0x302a20&&_0x302a20['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x302a20['value']);}})['then'](async _0x39025b=>{const {imageFallbackUrl:_0x5d5d00,imageSources:_0x2f67ec}=_0x5336b3(_0x39025b['cdnUrl'],_0x39025b['imageInfo']['width']);return{'uploadcareImageId':_0x39025b['uuid'],'default':_0x5d5d00,'sources':_0x2f67ec};})['catch'](()=>{const _0x1f314d=t('Cannot\x20upload\x20file:')+('\x20'+_0x104700['name']+'.');return Promise['reject'](_0x1f314d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x56b100}from'ckeditor5/src/core.js';import{FileRepository as _0x46a3e7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x404664}from'./uploadcareediting.js';import{UploadUtils as _0x572f0b}from'./utils/uploadutils.js';import{getImageUrls as _0x4a50ef}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x56b100{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x46a3e7,_0x404664];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5ba2ee=this['editor'];if(!!!_0x5ba2ee['config']['get']('uploadcare'))return;_0x5ba2ee['plugins']['get'](_0x46a3e7)['createUploadAdapter']=_0x2f804e=>new k(_0x2f804e,_0x5ba2ee),_0x5ba2ee['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x40122d,{imageElement:_0x22cc71,data:_0x22998f})=>{_0x5ba2ee['model']['change'](_0x518b9e=>{_0x518b9e['setAttribute']('uploadcareImageId',_0x22998f['uploadcareImageId'],_0x22cc71);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1a7896,_0x13698d){this['loader']=_0x1a7896,this['editor']=_0x13698d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30070b=await this['loader']['file'];return _0x572f0b['upload']({'file':_0x30070b,'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':_0x392058=>{_0x392058&&_0x392058['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x392058['value']);}})['then'](async _0x2aad58=>{const {imageFallbackUrl:_0x95c88f,imageSources:_0x344109}=_0x4a50ef(_0x2aad58['cdnUrl'],_0x2aad58['imageInfo']['width']);return{'uploadcareImageId':_0x2aad58['uuid'],'default':_0x95c88f,'sources':_0x344109};})['catch'](()=>{const _0x5a4582=t('Cannot\x20upload\x20file:')+('\x20'+_0x30070b['name']+'.');return Promise['reject'](_0x5a4582);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x273863}from'../uploadcareconfig.js';export function getTranslation(_0x47b79c,_0xfc319a,_0x31d8ac){const t=_0x47b79c['t'],_0x37afac=_0x47b79c['t'];switch(_0xfc319a){case _0x273863['Local']:return{'text':_0x37afac('Insert'===_0x31d8ac?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37afac('From\x20computer')};case _0x273863['URL']:return{'text':'Insert'===_0x31d8ac?_0x37afac('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37afac('Via\x20URL')};case _0x273863['Dropbox']:return{'text':t('Insert'===_0x31d8ac?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x273863['Facebook']:return{'text':t('Insert'===_0x31d8ac?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x273863['GDrive']:return{'text':t('Insert'===_0x31d8ac?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x273863['GPhotos']:return{'text':t('Insert'===_0x31d8ac?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x273863['OneDrive']:return{'text':t('Insert'===_0x31d8ac?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xfc319a;}}
23
+ import{UploadcareSource as _0xc5a2aa}from'../uploadcareconfig.js';export function getTranslation(_0x1477ca,_0x5bb68c,_0x45f662){const t=_0x1477ca['t'],_0x4f6b4a=_0x1477ca['t'];switch(_0x5bb68c){case _0xc5a2aa['Local']:return{'text':_0x4f6b4a('Insert'===_0x45f662?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f6b4a('From\x20computer')};case _0xc5a2aa['URL']:return{'text':'Insert'===_0x45f662?_0x4f6b4a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f6b4a('Via\x20URL')};case _0xc5a2aa['Dropbox']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xc5a2aa['Facebook']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xc5a2aa['GDrive']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xc5a2aa['GPhotos']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xc5a2aa['OneDrive']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5bb68c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1ecc07=_0x540a;(function(_0x33dcb2,_0x4340ca){var _0x5b4055=_0x540a,_0x57b5f5=_0x33dcb2();while(!![]){try{var _0x564b14=-parseInt(_0x5b4055(0x166))/0x1*(-parseInt(_0x5b4055(0x169))/0x2)+parseInt(_0x5b4055(0x173))/0x3+-parseInt(_0x5b4055(0x16c))/0x4*(-parseInt(_0x5b4055(0x174))/0x5)+-parseInt(_0x5b4055(0x175))/0x6*(parseInt(_0x5b4055(0x176))/0x7)+-parseInt(_0x5b4055(0x16a))/0x8+parseInt(_0x5b4055(0x165))/0x9+parseInt(_0x5b4055(0x177))/0xa*(parseInt(_0x5b4055(0x167))/0xb);if(_0x564b14===_0x4340ca)break;else _0x57b5f5['push'](_0x57b5f5['shift']());}catch(_0x4e9d95){_0x57b5f5['push'](_0x57b5f5['shift']());}}}(_0x1754,0x56991));import{FocusTracker as _0x1f58ac}from'ckeditor5/src/utils.js';function _0x1754(){var _0xb9b7ac=['5637190TgMdQL','getFocusableElement','1076454gQQTIu','32473OqWGnL','11opjROS','div','14llxLsb','3744368msJxCQ','createCollection','310000ZOQWpz','fire','bindTemplate','focusTracker','true','focusCycler','forwardCycle','518088BxYCEJ','25nVyuTb','5334laCnIU','5103GUwLsD'];_0x1754=function(){return _0xb9b7ac;};return _0x1754();}import{View as _0x2d5585,FocusCycler as _0x5682c1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x540a(_0x1f8722,_0x201baa){var _0x1754e0=_0x1754();return _0x540a=function(_0x540a2f,_0x5a2c65){_0x540a2f=_0x540a2f-0x164;var _0x2d6726=_0x1754e0[_0x540a2f];return _0x2d6726;},_0x540a(_0x1f8722,_0x201baa);}export class DialogFocusManagerView extends _0x2d5585{[_0x1ecc07(0x16f)];[_0x1ecc07(0x171)];constructor(_0x3dee8f){var _0x5bb32a=_0x1ecc07;super(_0x3dee8f),this[_0x5bb32a(0x16f)]=new _0x1f58ac(),this[_0x5bb32a(0x171)]=new _0x5682c1({'focusables':this[_0x5bb32a(0x16b)](),'focusTracker':this[_0x5bb32a(0x16f)]});}[_0x1ecc07(0x164)](){var _0x35ef64=_0x1ecc07;return{'tag':_0x35ef64(0x168),'attributes':{'aria-hidden':_0x35ef64(0x170),'tabindex':'0'},'on':{'focus':this[_0x35ef64(0x16e)]['to'](()=>{var _0xe1f499=_0x35ef64;this[_0xe1f499(0x171)][_0xe1f499(0x16d)](_0xe1f499(0x172));})}};}}
23
+ var _0x4d7fc0=_0x5edd;(function(_0xfa1634,_0x15aedb){var _0x592542=_0x5edd,_0x3362d4=_0xfa1634();while(!![]){try{var _0x889b70=-parseInt(_0x592542(0x197))/0x1*(parseInt(_0x592542(0x19e))/0x2)+-parseInt(_0x592542(0x1a0))/0x3*(-parseInt(_0x592542(0x196))/0x4)+-parseInt(_0x592542(0x194))/0x5+-parseInt(_0x592542(0x190))/0x6+parseInt(_0x592542(0x1a1))/0x7+parseInt(_0x592542(0x19d))/0x8+parseInt(_0x592542(0x199))/0x9;if(_0x889b70===_0x15aedb)break;else _0x3362d4['push'](_0x3362d4['shift']());}catch(_0x51c2c1){_0x3362d4['push'](_0x3362d4['shift']());}}}(_0x45a5,0xb9f9f));import{FocusTracker as _0x1e00f5}from'ckeditor5/src/utils.js';import{View as _0x15706b,FocusCycler as _0x2b5966}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x15706b{[_0x4d7fc0(0x198)];[_0x4d7fc0(0x193)];constructor(_0x16ce91){var _0x10d393=_0x4d7fc0;super(_0x16ce91),this[_0x10d393(0x198)]=new _0x1e00f5(),this[_0x10d393(0x193)]=new _0x2b5966({'focusables':this[_0x10d393(0x192)](),'focusTracker':this[_0x10d393(0x198)]});}[_0x4d7fc0(0x19f)](){var _0x1549ca=_0x4d7fc0;return{'tag':_0x1549ca(0x19a),'attributes':{'aria-hidden':_0x1549ca(0x19b),'tabindex':'0'},'on':{'focus':this[_0x1549ca(0x191)]['to'](()=>{var _0x53ea72=_0x1549ca;this[_0x53ea72(0x193)][_0x53ea72(0x195)](_0x53ea72(0x19c));})}};}}function _0x5edd(_0x5db993,_0x4a67b1){var _0x45a5a0=_0x45a5();return _0x5edd=function(_0x5edd51,_0xe55448){_0x5edd51=_0x5edd51-0x190;var _0x5e2333=_0x45a5a0[_0x5edd51];return _0x5e2333;},_0x5edd(_0x5db993,_0x4a67b1);}function _0x45a5(){var _0x565d1b=['getFocusableElement','15DKEUCn','6290585VeklnS','6221526FpwAaX','bindTemplate','createCollection','focusCycler','5838400xtkTHM','fire','236660fJcaWv','41722GVuQeI','focusTracker','27330363fdkjXE','div','true','forwardCycle','562216qVyBEa','64DRXUBR'];_0x45a5=function(){return _0x565d1b;};return _0x45a5();}