@ckeditor/ckeditor5-uploadcare 47.7.0-alpha.1 → 47.7.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbc569c=_0x1c3b;(function(_0x2abf0f,_0x569f0d){const _0x55a587=_0x1c3b,_0x33f82d=_0x2abf0f();while(!![]){try{const _0x5b55fb=-parseInt(_0x55a587(0x1b2))/0x1*(parseInt(_0x55a587(0x1b1))/0x2)+parseInt(_0x55a587(0x1cf))/0x3+-parseInt(_0x55a587(0x1d5))/0x4+parseInt(_0x55a587(0x1b6))/0x5*(-parseInt(_0x55a587(0x1ee))/0x6)+-parseInt(_0x55a587(0x1d1))/0x7+parseInt(_0x55a587(0x1eb))/0x8*(parseInt(_0x55a587(0x1b5))/0x9)+parseInt(_0x55a587(0x1a8))/0xa*(parseInt(_0x55a587(0x1f5))/0xb);if(_0x5b55fb===_0x569f0d)break;else _0x33f82d['push'](_0x33f82d['shift']());}catch(_0x111cc9){_0x33f82d['push'](_0x33f82d['shift']());}}}(_0x3576,0x821a7));import{Plugin as _0xf5e65e}from'ckeditor5/src/core.js';import{Dialog as _0x4b8202}from'ckeditor5/src/ui.js';import{createElement as _0x2e920d,global as _0x23ba17,uid as _0x26013d}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x172c15}from'./uploadcarecommand.js';function _0x1c3b(_0x379ca7,_0xdb9aef){const _0x35765c=_0x3576();return _0x1c3b=function(_0x1c3b87,_0xda441a){_0x1c3b87=_0x1c3b87-0x1a1;let _0x5e3ec5=_0x35765c[_0x1c3b87];return _0x5e3ec5;},_0x1c3b(_0x379ca7,_0xdb9aef);}import{UploadcareUploadAdapter as _0x4500ab}from'./uploadcareuploadadapter.js';function _0x3576(){const _0xd67287=['add','listenTo','editing','contentLanguage','commands','downcast','uploader-','10OOgIET','_initConfig','_configElement','requires','get','afterInit','ctxElement','map','iconHrefResolver','19772tqVUpA','107llKEEr','init','once','9DMvHtm','4913515gyPjOK','_initCtx','uploadcareImageReplace','#uc-icon-arrow-down','cleanupImage','conversion','for','isPremiumPlugin','_initImageProcessingIndicator','extend','input[uploadcare-file-input]','_ctxElement','view','\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','replaceImageSource','destroy','document','uc-upload-ctx-provider','render','uploadcareImageId','querySelector','upcast','body','uploadcare.pubkey','data-uc-image-id','1163415FoDXVF','isRegistered','1418998iSGVzZ','locale','imageBlock','getAttribute','1166192JYgtDn','pluginName','join','execute','elementToAttribute','uc-config','appendChild','insertImage','PictureEditing','removeAttribute','model','href','UploadcareEditing','ucContextId','uploadcare.uploader','uploadcare','attributeToAttribute','true','getSelectedElement','_initSchema','config','schema','3542568wbDEmF','fromCharCode','isOfficialPlugin','6wXHPwH','editor','selection','imageInline','closeMax','remove','_initConversion','24607484ZNxCcX','configElement'];_0x3576=function(){return _0xd67287;};return _0x3576();}import{showImageProcessingIndicator as _0x2b7a80}from'./utils/editingutils.js';export class UploadcareEditing extends _0xf5e65e{[_0xbc569c(0x1aa)]=null;[_0xbc569c(0x1c1)]=null;static get[_0xbc569c(0x1d6)](){const _0x7d4ff=_0xbc569c;return _0x7d4ff(0x1e1);}static get[_0xbc569c(0x1ab)](){const _0x1ca528=_0xbc569c;return[_0x1ca528(0x1dd),_0x4500ab,_0x4b8202];}static get[_0xbc569c(0x1ed)](){return!0x0;}static get[_0xbc569c(0x1bd)](){return!0x0;}[_0xbc569c(0x1e2)];get[_0xbc569c(0x1f6)](){const _0x1edd9c=_0xbc569c;return this[_0x1edd9c(0x1aa)];}get[_0xbc569c(0x1ae)](){const _0x492603=_0xbc569c;return this[_0x492603(0x1c1)];}constructor(_0x302ef0){const _0x542cb4=_0xbc569c;super(_0x302ef0),this[_0x542cb4(0x1e2)]=_0x26013d();}[_0xbc569c(0x1b3)](){const _0x423af6=_0xbc569c,_0x46c9bd=this[_0x423af6(0x1ef)];_0x46c9bd[_0x423af6(0x1a5)][_0x423af6(0x1a1)](_0x423af6(0x1e4),new _0x172c15(_0x46c9bd));}[_0xbc569c(0x1ad)](){const _0x1dc0ff=_0xbc569c;this[_0x1dc0ff(0x1e8)](),this[_0x1dc0ff(0x1f4)](),this[_0x1dc0ff(0x1a9)](),this[_0x1dc0ff(0x1b7)](),this[_0x1dc0ff(0x1be)](),this[_0x1dc0ff(0x1a2)](this[_0x1dc0ff(0x1ef)],_0x1dc0ff(0x1c5),()=>{const _0x2767e2=_0x1dc0ff;this[_0x2767e2(0x1aa)]&&(this[_0x2767e2(0x1aa)][_0x2767e2(0x1f3)](),this[_0x2767e2(0x1aa)]=null),this[_0x2767e2(0x1c1)]&&(this[_0x2767e2(0x1c1)][_0x2767e2(0x1f3)](),this[_0x2767e2(0x1c1)]=null);const _0x5e3858=_0x23ba17[_0x2767e2(0x1c6)][_0x2767e2(0x1ca)](_0x2767e2(0x1c0));_0x5e3858&&_0x5e3858[_0x2767e2(0x1f3)]();}),async function(_0x47c6d7){const _0x4e2aa5=_0x205a24([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x48defc=0x535f8c3a,_0x192984=0x53580b1a^_0x48defc,_0x36a4dc=window[_0x205a24([0x44,0x61,0x74,0x65])][_0x205a24([0x6e,0x6f,0x77])](),_0x5e41c4=_0x47c6d7[_0x205a24([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4226c6=new window[(_0x205a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7f8a=>{_0x5e41c4[_0x205a24([0x6f,0x6e,0x63,0x65])](_0x205a24([0x72,0x65,0x61,0x64,0x79]),_0x4e7f8a);}),_0xc1711f={[_0x205a24([0x6b,0x74,0x79])]:_0x205a24([0x45,0x43]),[_0x205a24([0x75,0x73,0x65])]:_0x205a24([0x73,0x69,0x67]),[_0x205a24([0x63,0x72,0x76])]:_0x205a24([0x50,0x2d,0x32,0x35,0x36]),[_0x205a24([0x78])]:_0x205a24([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]),[_0x205a24([0x79])]:_0x205a24([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]),[_0x205a24([0x61,0x6c,0x67])]:_0x205a24([0x45,0x53,0x32,0x35,0x36])},_0x56a986=_0x5e41c4[_0x205a24([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x205a24([0x67,0x65,0x74])](_0x205a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a9d12(){let _0xd90a02,_0x13e6bd=null,_0x3cd214=null;try{if(_0x56a986==_0x205a24([0x47,0x50,0x4c]))return _0x205a24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd90a02=_0x3f86da(),!_0xd90a02)return _0x205a24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd90a02[_0x205a24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3cd214=_0x4528f6(_0xd90a02[_0x205a24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd90a02[_0x205a24([0x6a,0x74,0x69])])),await _0x5e91e2()?_0x1ef136()?_0x23f98f()?_0x205a24([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f54a4()?(_0xd90a02[_0x205a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x205a24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13e6bd=_0xf24fcf(_0x205a24([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x566400()):_0x205a24([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x205a24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x205a24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x205a24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23f98f(){const _0x287ac5=[_0x205a24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x205a24([0x74,0x72,0x69,0x61,0x6c])][_0x205a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd90a02[_0x205a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36a4dc/0x3e8:0xe10*_0x192984;return _0xd90a02[_0x205a24([0x65,0x78,0x70])]<_0x287ac5;}function _0x1ef136(){const _0x60e417=_0xd90a02[_0x205a24([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x60e417&&(!!_0x60e417[_0x205a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205a24([0x2a]))||!!_0x60e417[_0x205a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205a24([0x55,0x50,0x4c,0x43])));}function _0x5f54a4(){const _0x3d5148=_0x1c3b,_0x58ad26=_0xd90a02[_0x205a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58ad26||0x0==_0x58ad26[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45adc7}=new URL(window[_0x205a24([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d5148(0x1e0)]);if(_0x58ad26[_0x205a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45adc7))return!0x0;const _0x3a1e1f=_0x45adc7[_0x205a24([0x73,0x70,0x6c,0x69,0x74])](_0x205a24([0x2e]));return _0x58ad26[_0x205a24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49dbdd=>_0x49dbdd[_0x205a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205a24([0x2a])))[_0x205a24([0x6d,0x61,0x70])](_0x278b21=>_0x278b21[_0x205a24([0x73,0x70,0x6c,0x69,0x74])](_0x205a24([0x2e])))[_0x205a24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ba6ee=>_0x1ba6ee[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3a1e1f[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205a24([0x6d,0x61,0x70])](_0x25c964=>Array(_0x3a1e1f[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25c964[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205a24([0x66,0x69,0x6c,0x6c])](_0x25c964[0x0]===_0x205a24([0x2a])?_0x205a24([0x2a]):'')[_0x205a24([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25c964))[_0x205a24([0x73,0x6f,0x6d,0x65])](_0x103eb5=>_0x3a1e1f[_0x205a24([0x65,0x76,0x65,0x72,0x79])]((_0x19b06a,_0x212fec)=>_0x103eb5[_0x212fec]===_0x19b06a||_0x103eb5[_0x212fec]===_0x205a24([0x2a])));}function _0x566400(){return _0x13e6bd&&_0x3cd214?new window[(_0x205a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x384a67,_0x44a8d3)=>{_0x13e6bd[_0x205a24([0x74,0x68,0x65,0x6e])](_0x384a67,_0x44a8d3),_0x3cd214[_0x205a24([0x74,0x68,0x65,0x6e])](_0xf4ff2d=>{_0xf4ff2d!=_0x205a24([0x56,0x61,0x6c,0x69,0x64])&&_0x384a67(_0xf4ff2d);},_0x44a8d3);}):_0x13e6bd||_0x3cd214||_0x205a24([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4528f6(_0xe4a580,_0x76e9f0){return new window[(_0x205a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2581f1=>{if(_0x3ef601())return _0x2581f1(_0x205a24([0x56,0x61,0x6c,0x69,0x64]));_0x1470ee(),_0x5e41c4[_0x205a24([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x205a24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x533c58=!0x1;const _0xaf199d=_0x26013d();function _0x538bc5(_0x170cd8){return!!_0x170cd8&&(typeof _0x170cd8===_0x205a24([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x170cd8===_0x205a24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x170cd8[_0x205a24([0x74,0x68,0x65,0x6e])]===_0x205a24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x170cd8[_0x205a24([0x63,0x61,0x74,0x63,0x68])]===_0x205a24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2812ce(_0x1d3065){_0x3dd624(_0x1d3065)[_0x205a24([0x74,0x68,0x65,0x6e])](_0x5a76ad=>{if(!_0x5a76ad||_0x5a76ad[_0x205a24([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x205a24([0x6f,0x6b]))return _0x205a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ca3e0(_0x46980f(_0xaf199d+_0x76e9f0))!=_0x5a76ad[_0x205a24([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x205a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x205a24([0x56,0x61,0x6c,0x69,0x64]);})[_0x205a24([0x74,0x68,0x65,0x6e])](_0x1482b8=>(_0x8eada(),_0x1482b8),()=>{const _0x228b32=_0x3ad0fe();return null==_0x228b32?(_0x8eada(),_0x205a24([0x56,0x61,0x6c,0x69,0x64])):_0x205a24(_0x36a4dc-_0x228b32>(0x7753083a^_0x48defc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x205a24([0x74,0x68,0x65,0x6e])](_0x2581f1)[_0x205a24([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2581f1(_0x205a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33cf7a=0x536962ba^_0x48defc;function _0x8eada(){const _0x299836=_0x205a24([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ca3e0(_0x46980f(_0xe4a580)),_0x5183e6=_0x2bbf1f(_0x4ca3e0(window[_0x205a24([0x4d,0x61,0x74,0x68])][_0x205a24([0x63,0x65,0x69,0x6c])](_0x36a4dc/_0x33cf7a)));window[_0x205a24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205a24([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x299836,_0x5183e6);}function _0x3ad0fe(){const _0x5e6f08=_0x205a24([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ca3e0(_0x46980f(_0xe4a580)),_0x521240=window[_0x205a24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205a24([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e6f08);return _0x521240?window[_0x205a24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bbf1f(_0x521240),0x10)*_0x33cf7a:null;}function _0x3dd624(_0x282403){return new window[(_0x205a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b33d8,_0x223fd7)=>{_0x282403[_0x205a24([0x74,0x68,0x65,0x6e])](_0x2b33d8,_0x223fd7),window[_0x205a24([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x223fd7,0x535e58fa^_0x48defc);});}}_0x5e41c4[_0x205a24([0x6f,0x6e])](_0x205a24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x568568,_0x27ebc0)=>{if(_0x27ebc0[0x0]!=_0xe4a580)return _0x2581f1(_0x205a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27ebc0[0x1]={..._0x27ebc0[0x1],[_0x205a24([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xaf199d};},{[_0x205a24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205a24([0x68,0x69,0x67,0x68])}),_0x5e41c4[_0x205a24([0x6f,0x6e])](_0x205a24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d8797=>{_0x538bc5(_0x3d8797[_0x205a24([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x533c58=!0x0,_0x2812ce(_0x3d8797[_0x205a24([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x205a24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205a24([0x6c,0x6f,0x77])}),_0x4226c6[_0x205a24([0x74,0x68,0x65,0x6e])](()=>{_0x533c58||_0x2581f1(_0x205a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ef601(){return _0x5e41c4[_0x205a24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205a24([0x76,0x69,0x65,0x77])][_0x205a24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x205a24([0x61,0x75,0x74,0x6f]);}function _0x1470ee(){_0x5e41c4[_0x205a24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205a24([0x76,0x69,0x65,0x77])][_0x205a24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x205a24([0x61,0x75,0x74,0x6f]);}}function _0xf24fcf(_0x4263bb){const _0x9cda13=[new window[(_0x205a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x161d6f=>setTimeout(_0x161d6f,0x5356b2f6^_0x48defc)),_0x4226c6[_0x205a24([0x74,0x68,0x65,0x6e])](()=>new window[(_0x205a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2367f9=>{let _0x5e9041=0x0;_0x5e41c4[_0x205a24([0x6d,0x6f,0x64,0x65,0x6c])][_0x205a24([0x6f,0x6e])](_0x205a24([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f2287,_0x30c5af)=>{_0x30c5af[0x0][_0x205a24([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5e9041++,_0x5e9041==(0x535f89d2^_0x48defc)&&(_0x2367f9(),_0x5f2287[_0x205a24([0x6f,0x66,0x66])]());});}))];return window[_0x205a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x205a24([0x72,0x61,0x63,0x65])](_0x9cda13)[_0x205a24([0x74,0x68,0x65,0x6e])](()=>_0x4263bb);}async function _0x476dfa(){await _0x4226c6,_0x5e41c4[_0x205a24([0x6d,0x6f,0x64,0x65,0x6c])][_0x205a24([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c43c5,_0x5e41c4[_0x205a24([0x6d,0x6f,0x64,0x65,0x6c])][_0x205a24([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c43c5,_0x5e41c4[_0x205a24([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x205a24([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4137a7(_0xb2ad30){const _0xd4defe=_0xd6afaf();_0x5e41c4[_0xd4defe]=_0x205a24([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb2ad30,_0xb2ad30!=_0x205a24([0x56,0x61,0x6c,0x69,0x64])&&_0x476dfa();}function _0xd6afaf(){const _0x557a58=window[_0x205a24([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x205a24([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x205a24([0x6e,0x6f,0x77])]())[_0x205a24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x205a24([0x2e]),'');let _0x594931=_0x205a24([0x68]);for(let _0x227453=0x0;_0x227453<_0x557a58[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x227453+=0x2){let _0x1843cd=window[_0x205a24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x557a58[_0x205a24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x227453,_0x227453+0x2));_0x1843cd>=_0x4e2aa5[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1843cd-=_0x4e2aa5[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x594931+=_0x4e2aa5[_0x1843cd];}return _0x594931;}function _0x3f86da(){const _0x1cb7f5=_0x56a986[_0x205a24([0x73,0x70,0x6c,0x69,0x74])](_0x205a24([0x2e]));if(0x3!=_0x1cb7f5[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53efaa(_0x1cb7f5[0x1]);function _0x53efaa(_0x4f5303){const _0x4f93bb=_0x345a3f(_0x4f5303);return _0x4f93bb&&_0x5d66e1()?_0x4f93bb:null;function _0x5d66e1(){const _0x1c99cf=_0x4f93bb[_0x205a24([0x6a,0x74,0x69])],_0x3a32b1=window[_0x205a24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c99cf[_0x205a24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c99cf[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3add54={..._0x4f93bb,[_0x205a24([0x6a,0x74,0x69])]:_0x1c99cf[_0x205a24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c99cf[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3add54[_0x205a24([0x76,0x63])],_0x46980f(_0x3add54)==_0x3a32b1;}}}async function _0x5e91e2(){let _0x51c68a=!0x0;try{const _0x423178=_0x56a986[_0x205a24([0x73,0x70,0x6c,0x69,0x74])](_0x205a24([0x2e])),[_0x3ce199,_0x43ca61,_0x82a668]=_0x423178;return _0x176577(_0x3ce199),await _0x5c9021(_0x3ce199,_0x43ca61,_0x82a668),_0x51c68a;}catch{return!0x1;}function _0x176577(_0x1e2910){const _0xf15d70=_0x345a3f(_0x1e2910);_0xf15d70&&_0xf15d70[_0x205a24([0x61,0x6c,0x67])]==_0x205a24([0x45,0x53,0x32,0x35,0x36])||(_0x51c68a=!0x1);}async function _0x5c9021(_0x17b5a0,_0x2e3381,_0x15b4bd){const _0x3fad0d=window[_0x205a24([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x205a24([0x66,0x72,0x6f,0x6d])](_0x15638f(_0x15b4bd),_0xedde66=>_0xedde66[_0x205a24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x559565=new window[(_0x205a24([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x205a24([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17b5a0+_0x205a24([0x2e])+_0x2e3381),_0x33f8de=window[_0x205a24([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x205a24([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33f8de)return;const _0x5e9d0f=await _0x33f8de[_0x205a24([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x205a24([0x6a,0x77,0x6b]),_0xc1711f,{[_0x205a24([0x6e,0x61,0x6d,0x65])]:_0x205a24([0x45,0x43,0x44,0x53,0x41]),[_0x205a24([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x205a24([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x205a24([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33f8de[_0x205a24([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x205a24([0x6e,0x61,0x6d,0x65])]:_0x205a24([0x45,0x43,0x44,0x53,0x41]),[_0x205a24([0x68,0x61,0x73,0x68])]:{[_0x205a24([0x6e,0x61,0x6d,0x65])]:_0x205a24([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e9d0f,_0x3fad0d,_0x559565)||(_0x51c68a=!0x1);}}function _0x345a3f(_0xe97b88){return _0xe97b88[_0x205a24([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x205a24([0x65,0x79]))?JSON[_0x205a24([0x70,0x61,0x72,0x73,0x65])](_0x15638f(_0xe97b88)):null;}function _0x15638f(_0x2cb8fd){return window[_0x205a24([0x61,0x74,0x6f,0x62])](_0x2cb8fd[_0x205a24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x205a24([0x2b]))[_0x205a24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x205a24([0x2f])));}function _0x46980f(_0x23dc35){let _0x12b852=0x1505;function _0x7f1695(_0x44c57b){for(let _0x2bd818=0x0;_0x2bd818<_0x44c57b[_0x205a24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bd818++){const _0x3a89bc=_0x44c57b[_0x205a24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bd818);_0x12b852=(_0x12b852<<0x5)+_0x12b852+_0x3a89bc,_0x12b852&=_0x12b852;}}function _0x2b3270(_0xf9b1e5){Array[_0x205a24([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf9b1e5)?_0xf9b1e5[_0x205a24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b3270):_0xf9b1e5&&typeof _0xf9b1e5==_0x205a24([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x205a24([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf9b1e5)[_0x205a24([0x73,0x6f,0x72,0x74])]()[_0x205a24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x549e1a,_0x4a04a1])=>{_0x7f1695(_0x549e1a),_0x2b3270(_0x4a04a1);}):_0x7f1695(window[_0x205a24([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf9b1e5));}return _0x2b3270(_0x23dc35),_0x12b852>>>0x0;}function _0x4ca3e0(_0xcf68eb){return _0xcf68eb[_0x205a24([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x205a24([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x205a24([0x30]));}function _0x2bbf1f(_0x57eac4){return _0x57eac4[_0x205a24([0x73,0x70,0x6c,0x69,0x74])]('')[_0x205a24([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x205a24([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c43c5(){}function _0x205a24(_0x33520b){const _0xa538f5=_0x1c3b;return _0x33520b[_0xa538f5(0x1af)](_0x1150c5=>String[_0xa538f5(0x1ec)](_0x1150c5))[_0xa538f5(0x1d7)]('');}_0x4137a7(await _0x5a9d12());}(this);}[_0xbc569c(0x1e8)](){const _0x3f0b73=_0xbc569c,_0x4d0c3c=this[_0x3f0b73(0x1ef)][_0x3f0b73(0x1df)][_0x3f0b73(0x1ea)];_0x4d0c3c[_0x3f0b73(0x1d0)](_0x3f0b73(0x1d3))&&_0x4d0c3c[_0x3f0b73(0x1bf)](_0x3f0b73(0x1d3),{'allowAttributes':[_0x3f0b73(0x1c9)]}),_0x4d0c3c[_0x3f0b73(0x1d0)](_0x3f0b73(0x1f1))&&_0x4d0c3c[_0x3f0b73(0x1bf)](_0x3f0b73(0x1f1),{'allowAttributes':[_0x3f0b73(0x1c9)]});}[_0xbc569c(0x1f4)](){const _0x55871d=_0xbc569c,_0x53a0c0=this[_0x55871d(0x1ef)];_0x53a0c0[_0x55871d(0x1bb)][_0x55871d(0x1bc)](_0x55871d(0x1a6))[_0x55871d(0x1e5)]({'model':_0x55871d(0x1c9),'view':_0x55871d(0x1ce)}),_0x53a0c0[_0x55871d(0x1bb)][_0x55871d(0x1bc)](_0x55871d(0x1cb))[_0x55871d(0x1d9)]({'model':{'key':_0x55871d(0x1c9),'value':_0x418f72=>_0x418f72[_0x55871d(0x1d4)](_0x55871d(0x1ce))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x269e85=_0x53a0c0[_0x55871d(0x1a5)][_0x55871d(0x1ac)](_0x55871d(0x1c4));_0x269e85&&this[_0x55871d(0x1a2)](_0x269e85,_0x55871d(0x1ba),(_0x3af787,[_0x388aa2,_0x2a9395])=>{const _0x476be0=_0x55871d;_0x388aa2[_0x476be0(0x1de)](_0x476be0(0x1c9),_0x2a9395);});}[_0xbc569c(0x1a9)](){const _0x2c86c6=_0xbc569c,_0x100f26=this[_0x2c86c6(0x1ef)][_0x2c86c6(0x1e9)][_0x2c86c6(0x1ac)](_0x2c86c6(0x1e3))||{},_0x263857=this[_0x2c86c6(0x1ef)][_0x2c86c6(0x1e9)][_0x2c86c6(0x1ac)](_0x2c86c6(0x1cd))||'';this[_0x2c86c6(0x1aa)]=_0x2e920d(_0x23ba17[_0x2c86c6(0x1c6)],_0x2c86c6(0x1da),{..._0x100f26,'pubkey':_0x263857,'ctx-name':_0x2c86c6(0x1a7)+this[_0x2c86c6(0x1e2)],'sourceList':'','imgOnly':_0x2c86c6(0x1e6),'removeCopyright':_0x2c86c6(0x1e6),'localeName':this[_0x2c86c6(0x1ef)][_0x2c86c6(0x1d2)][_0x2c86c6(0x1a4)],'externalSourcesEmbedCss':_0x2c86c6(0x1c3)}),this[_0x2c86c6(0x1aa)][_0x2c86c6(0x1b0)]=_0x1674ff=>{const _0x369089=_0x2c86c6;if(_0x369089(0x1f2)==_0x1674ff)return _0x369089(0x1b9);},_0x23ba17[_0x2c86c6(0x1c6)][_0x2c86c6(0x1cc)][_0x2c86c6(0x1db)](this[_0x2c86c6(0x1aa)]);}[_0xbc569c(0x1b7)](){const _0x33a6dd=_0xbc569c;this[_0x33a6dd(0x1c1)]=_0x2e920d(_0x23ba17[_0x33a6dd(0x1c6)],_0x33a6dd(0x1c7),{'ctx-name':_0x33a6dd(0x1a7)+this[_0x33a6dd(0x1e2)]}),_0x23ba17[_0x33a6dd(0x1c6)][_0x33a6dd(0x1cc)][_0x33a6dd(0x1db)](this[_0x33a6dd(0x1c1)]);}[_0xbc569c(0x1be)](){const _0x43a5f3=_0xbc569c,_0xfb1014=this[_0x43a5f3(0x1ef)][_0x43a5f3(0x1a5)][_0x43a5f3(0x1ac)](_0x43a5f3(0x1dc));_0xfb1014&&this[_0x43a5f3(0x1a2)](_0xfb1014,_0x43a5f3(0x1d8),()=>{const _0x26b9e6=_0x43a5f3,_0x36c37e=this[_0x26b9e6(0x1ef)][_0x26b9e6(0x1df)][_0x26b9e6(0x1c6)][_0x26b9e6(0x1f0)][_0x26b9e6(0x1e7)]();_0x36c37e&&_0x36c37e[_0x26b9e6(0x1d4)](_0x26b9e6(0x1c9))&&this[_0x26b9e6(0x1ef)][_0x26b9e6(0x1a3)][_0x26b9e6(0x1c2)][_0x26b9e6(0x1b4)](_0x26b9e6(0x1c8),()=>{const _0x35bde5=_0x26b9e6;_0x2b7a80(this[_0x35bde5(0x1ef)],_0x36c37e);});});const _0x119576=this[_0x43a5f3(0x1ef)][_0x43a5f3(0x1a5)][_0x43a5f3(0x1ac)](_0x43a5f3(0x1b8));_0x119576&&this[_0x43a5f3(0x1a2)](_0x119576,_0x43a5f3(0x1d8),()=>{const _0x2dc2f2=_0x43a5f3,_0x4ac7d4=this[_0x2dc2f2(0x1ef)][_0x2dc2f2(0x1df)][_0x2dc2f2(0x1c6)][_0x2dc2f2(0x1f0)][_0x2dc2f2(0x1e7)]();_0x4ac7d4&&_0x4ac7d4[_0x2dc2f2(0x1d4)](_0x2dc2f2(0x1c9))&&this[_0x2dc2f2(0x1ef)][_0x2dc2f2(0x1a3)][_0x2dc2f2(0x1c2)][_0x2dc2f2(0x1b4)](_0x2dc2f2(0x1c8),()=>{const _0x52cae0=_0x2dc2f2;_0x2b7a80(this[_0x52cae0(0x1ef)],_0x4ac7d4);});});}}
23
+ function _0x100d(_0x176dd4,_0x16bfdc){const _0x19297b=_0x1929();return _0x100d=function(_0x100d3a,_0x2fb820){_0x100d3a=_0x100d3a-0xa0;let _0x423715=_0x19297b[_0x100d3a];return _0x423715;},_0x100d(_0x176dd4,_0x16bfdc);}const _0x4cb9f9=_0x100d;(function(_0xdc95e9,_0x34999e){const _0x4b63cb=_0x100d,_0x42bf96=_0xdc95e9();while(!![]){try{const _0x17f45f=parseInt(_0x4b63cb(0xaa))/0x1+-parseInt(_0x4b63cb(0xcc))/0x2+-parseInt(_0x4b63cb(0xd6))/0x3*(-parseInt(_0x4b63cb(0xe6))/0x4)+parseInt(_0x4b63cb(0xc1))/0x5+-parseInt(_0x4b63cb(0xa9))/0x6+-parseInt(_0x4b63cb(0xd4))/0x7+parseInt(_0x4b63cb(0xdf))/0x8;if(_0x17f45f===_0x34999e)break;else _0x42bf96['push'](_0x42bf96['shift']());}catch(_0x275709){_0x42bf96['push'](_0x42bf96['shift']());}}}(_0x1929,0x4eecc));import{Plugin as _0x3e76c2}from'ckeditor5/src/core.js';import{Dialog as _0x4f7b3d}from'ckeditor5/src/ui.js';import{createElement as _0x4e267,global as _0x327861,uid as _0xbd794f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x515e89}from'./uploadcarecommand.js';function _0x1929(){const _0x3e12c2=['downcast','pluginName','_configElement','conversion','afterInit','true','input[uploadcare-file-input]','#uc-icon-arrow-down','72190tlnOKx','uc-config','uploadcare.pubkey','init','attributeToAttribute','removeAttribute','elementToAttribute','schema','render','once','ucContextId','304582vwGyTi','_initImageProcessingIndicator','get','model','requires','_initSchema','for','body','2310392QFpHIr','uc-upload-ctx-provider','805974RVhvRC','PictureEditing','querySelector','insertImage','_initConversion','getSelectedElement','destroy','uploadcare.uploader','uploadcareImageId','4283824POTgZQ','editing','uploader-','appendChild','imageInline','_initCtx','editor','8dsnyUH','UploadcareEditing','locale','data-uc-image-id','getAttribute','href','execute','commands','remove','isOfficialPlugin','join','selection','uploadcare','upcast','map','contentLanguage','uploadcareImageReplace','iconHrefResolver','imageBlock','_ctxElement','configElement','isPremiumPlugin','3194250mhpSSz','250766ikLeZU','config','view','fromCharCode','ctxElement','cleanupImage','add','listenTo','replaceImageSource','closeMax','isRegistered','extend','_initConfig','document','\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'];_0x1929=function(){return _0x3e12c2;};return _0x1929();}import{UploadcareUploadAdapter as _0x57ae18}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5ead11}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3e76c2{[_0x4cb9f9(0xbb)]=null;[_0x4cb9f9(0xa6)]=null;static get[_0x4cb9f9(0xba)](){const _0x4f3604=_0x4cb9f9;return _0x4f3604(0xe7);}static get[_0x4cb9f9(0xd0)](){const _0xe64054=_0x4cb9f9;return[_0xe64054(0xd7),_0x57ae18,_0x4f7b3d];}static get[_0x4cb9f9(0xef)](){return!0x0;}static get[_0x4cb9f9(0xa8)](){return!0x0;}[_0x4cb9f9(0xcb)];get[_0x4cb9f9(0xa7)](){const _0x48d654=_0x4cb9f9;return this[_0x48d654(0xbb)];}get[_0x4cb9f9(0xae)](){const _0x98d92e=_0x4cb9f9;return this[_0x98d92e(0xa6)];}constructor(_0x2e669c){const _0x53c420=_0x4cb9f9;super(_0x2e669c),this[_0x53c420(0xcb)]=_0xbd794f();}[_0x4cb9f9(0xc4)](){const _0x57f8b3=_0x4cb9f9,_0x43019f=this[_0x57f8b3(0xe5)];_0x43019f[_0x57f8b3(0xed)][_0x57f8b3(0xb0)](_0x57f8b3(0xf2),new _0x515e89(_0x43019f));}[_0x4cb9f9(0xbd)](){const _0x1fa816=_0x4cb9f9;this[_0x1fa816(0xd1)](),this[_0x1fa816(0xda)](),this[_0x1fa816(0xb6)](),this[_0x1fa816(0xe4)](),this[_0x1fa816(0xcd)](),this[_0x1fa816(0xb1)](this[_0x1fa816(0xe5)],_0x1fa816(0xdc),()=>{const _0x3cc28e=_0x1fa816;this[_0x3cc28e(0xbb)]&&(this[_0x3cc28e(0xbb)][_0x3cc28e(0xee)](),this[_0x3cc28e(0xbb)]=null),this[_0x3cc28e(0xa6)]&&(this[_0x3cc28e(0xa6)][_0x3cc28e(0xee)](),this[_0x3cc28e(0xa6)]=null);const _0x1a1299=_0x327861[_0x3cc28e(0xb7)][_0x3cc28e(0xd8)](_0x3cc28e(0xbf));_0x1a1299&&_0x1a1299[_0x3cc28e(0xee)]();}),async function(_0x563343){const _0x5929d1=_0x44c56f([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x182d90=0x535f8c3a,_0x162a15=0x53580b02^_0x182d90,_0x454a18=window[_0x44c56f([0x44,0x61,0x74,0x65])][_0x44c56f([0x6e,0x6f,0x77])](),_0x7d0a64=_0x563343[_0x44c56f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31efe9=new window[(_0x44c56f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28af32=>{_0x7d0a64[_0x44c56f([0x6f,0x6e,0x63,0x65])](_0x44c56f([0x72,0x65,0x61,0x64,0x79]),_0x28af32);}),_0x3971d7={[_0x44c56f([0x6b,0x74,0x79])]:_0x44c56f([0x45,0x43]),[_0x44c56f([0x75,0x73,0x65])]:_0x44c56f([0x73,0x69,0x67]),[_0x44c56f([0x63,0x72,0x76])]:_0x44c56f([0x50,0x2d,0x32,0x35,0x36]),[_0x44c56f([0x78])]:_0x44c56f([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]),[_0x44c56f([0x79])]:_0x44c56f([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]),[_0x44c56f([0x61,0x6c,0x67])]:_0x44c56f([0x45,0x53,0x32,0x35,0x36])},_0x3f2624=_0x7d0a64[_0x44c56f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x44c56f([0x67,0x65,0x74])](_0x44c56f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e040c(){let _0xf3a419,_0x46ba06=null,_0x2c4039=null;try{if(_0x3f2624==_0x44c56f([0x47,0x50,0x4c]))return _0x44c56f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf3a419=_0x306c50(),!_0xf3a419)return _0x44c56f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf3a419[_0x44c56f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c4039=_0xef46d1(_0xf3a419[_0x44c56f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf3a419[_0x44c56f([0x6a,0x74,0x69])])),await _0xcc290d()?_0xa800fb()?_0x1dfab3()?_0x44c56f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x49a6cd()?(_0xf3a419[_0x44c56f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44c56f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46ba06=_0x4aa71d(_0x44c56f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37a189()):_0x44c56f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x44c56f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x44c56f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x44c56f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1dfab3(){const _0x5a9c33=[_0x44c56f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x44c56f([0x74,0x72,0x69,0x61,0x6c])][_0x44c56f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf3a419[_0x44c56f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x454a18/0x3e8:0xe10*_0x162a15;return _0xf3a419[_0x44c56f([0x65,0x78,0x70])]<_0x5a9c33;}function _0xa800fb(){const _0x3af35d=_0xf3a419[_0x44c56f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3af35d&&(!!_0x3af35d[_0x44c56f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44c56f([0x2a]))||!!_0x3af35d[_0x44c56f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44c56f([0x55,0x50,0x4c,0x43])));}function _0x49a6cd(){const _0x46da6e=_0x100d,_0xa4a109=_0xf3a419[_0x44c56f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa4a109||0x0==_0xa4a109[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xef32a8}=new URL(window[_0x44c56f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x46da6e(0xeb)]);if(_0xa4a109[_0x44c56f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xef32a8))return!0x0;const _0x427dd2=_0xef32a8[_0x44c56f([0x73,0x70,0x6c,0x69,0x74])](_0x44c56f([0x2e]));return _0xa4a109[_0x44c56f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a252f=>_0x5a252f[_0x44c56f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44c56f([0x2a])))[_0x44c56f([0x6d,0x61,0x70])](_0x2609de=>_0x2609de[_0x44c56f([0x73,0x70,0x6c,0x69,0x74])](_0x44c56f([0x2e])))[_0x44c56f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe032ab=>_0xe032ab[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x427dd2[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44c56f([0x6d,0x61,0x70])](_0x1ce104=>Array(_0x427dd2[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ce104[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44c56f([0x66,0x69,0x6c,0x6c])](_0x1ce104[0x0]===_0x44c56f([0x2a])?_0x44c56f([0x2a]):'')[_0x44c56f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ce104))[_0x44c56f([0x73,0x6f,0x6d,0x65])](_0x4c595e=>_0x427dd2[_0x44c56f([0x65,0x76,0x65,0x72,0x79])]((_0x2619dc,_0x481930)=>_0x4c595e[_0x481930]===_0x2619dc||_0x4c595e[_0x481930]===_0x44c56f([0x2a])));}function _0x37a189(){return _0x46ba06&&_0x2c4039?new window[(_0x44c56f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x328a44,_0x59f555)=>{_0x46ba06[_0x44c56f([0x74,0x68,0x65,0x6e])](_0x328a44,_0x59f555),_0x2c4039[_0x44c56f([0x74,0x68,0x65,0x6e])](_0x12502f=>{_0x12502f!=_0x44c56f([0x56,0x61,0x6c,0x69,0x64])&&_0x328a44(_0x12502f);},_0x59f555);}):_0x46ba06||_0x2c4039||_0x44c56f([0x56,0x61,0x6c,0x69,0x64]);}}function _0xef46d1(_0x5932e7,_0x486c6d){return new window[(_0x44c56f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x210a73=>{if(_0x492ce6())return _0x210a73(_0x44c56f([0x56,0x61,0x6c,0x69,0x64]));_0x2a06a3(),_0x7d0a64[_0x44c56f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x44c56f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33325f=!0x1;const _0x3d4624=_0xbd794f();function _0x568ac7(_0x57942e){return!!_0x57942e&&(typeof _0x57942e===_0x44c56f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57942e===_0x44c56f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57942e[_0x44c56f([0x74,0x68,0x65,0x6e])]===_0x44c56f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57942e[_0x44c56f([0x63,0x61,0x74,0x63,0x68])]===_0x44c56f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fa2d6(_0x4eb82e){_0x334737(_0x4eb82e)[_0x44c56f([0x74,0x68,0x65,0x6e])](_0x32f75b=>{if(!_0x32f75b||_0x32f75b[_0x44c56f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x44c56f([0x6f,0x6b]))return _0x44c56f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6f1fcf(_0x520e61(_0x3d4624+_0x486c6d))!=_0x32f75b[_0x44c56f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x44c56f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x44c56f([0x56,0x61,0x6c,0x69,0x64]);})[_0x44c56f([0x74,0x68,0x65,0x6e])](_0x130f47=>(_0x384ac2(),_0x130f47),()=>{const _0x5a8ea5=_0x4c8be4();return null==_0x5a8ea5?(_0x384ac2(),_0x44c56f([0x56,0x61,0x6c,0x69,0x64])):_0x44c56f(_0x454a18-_0x5a8ea5>(0x7753083a^_0x182d90)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x44c56f([0x74,0x68,0x65,0x6e])](_0x210a73)[_0x44c56f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x210a73(_0x44c56f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5addca=0x536962ba^_0x182d90;function _0x384ac2(){const _0x2ac009=_0x44c56f([0x6c,0x6c,0x63,0x74,0x2d])+_0x6f1fcf(_0x520e61(_0x5932e7)),_0x2664ff=_0x4d2495(_0x6f1fcf(window[_0x44c56f([0x4d,0x61,0x74,0x68])][_0x44c56f([0x63,0x65,0x69,0x6c])](_0x454a18/_0x5addca)));window[_0x44c56f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44c56f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ac009,_0x2664ff);}function _0x4c8be4(){const _0x5bbfd6=_0x44c56f([0x6c,0x6c,0x63,0x74,0x2d])+_0x6f1fcf(_0x520e61(_0x5932e7)),_0x4e15cd=window[_0x44c56f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44c56f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bbfd6);return _0x4e15cd?window[_0x44c56f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d2495(_0x4e15cd),0x10)*_0x5addca:null;}function _0x334737(_0x7a480a){return new window[(_0x44c56f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a85df,_0x943bc1)=>{_0x7a480a[_0x44c56f([0x74,0x68,0x65,0x6e])](_0x2a85df,_0x943bc1),window[_0x44c56f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x943bc1,0x535e58fa^_0x182d90);});}}_0x7d0a64[_0x44c56f([0x6f,0x6e])](_0x44c56f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x253568,_0x203f10)=>{if(_0x203f10[0x0]!=_0x5932e7)return _0x210a73(_0x44c56f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x203f10[0x1]={..._0x203f10[0x1],[_0x44c56f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d4624};},{[_0x44c56f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44c56f([0x68,0x69,0x67,0x68])}),_0x7d0a64[_0x44c56f([0x6f,0x6e])](_0x44c56f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f9674=>{_0x568ac7(_0x4f9674[_0x44c56f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33325f=!0x0,_0x3fa2d6(_0x4f9674[_0x44c56f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x44c56f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44c56f([0x6c,0x6f,0x77])}),_0x31efe9[_0x44c56f([0x74,0x68,0x65,0x6e])](()=>{_0x33325f||_0x210a73(_0x44c56f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x492ce6(){return _0x7d0a64[_0x44c56f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44c56f([0x76,0x69,0x65,0x77])][_0x44c56f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x44c56f([0x61,0x75,0x74,0x6f]);}function _0x2a06a3(){_0x7d0a64[_0x44c56f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44c56f([0x76,0x69,0x65,0x77])][_0x44c56f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x44c56f([0x61,0x75,0x74,0x6f]);}}function _0x4aa71d(_0x4fba8f){const _0xa48494=[new window[(_0x44c56f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dd635=>setTimeout(_0x4dd635,0x5356b2f6^_0x182d90)),_0x31efe9[_0x44c56f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x44c56f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x143aea=>{let _0x345e79=0x0;_0x7d0a64[_0x44c56f([0x6d,0x6f,0x64,0x65,0x6c])][_0x44c56f([0x6f,0x6e])](_0x44c56f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b83a6,_0x9b1601)=>{_0x9b1601[0x0][_0x44c56f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x345e79++,_0x345e79==(0x535f89d2^_0x182d90)&&(_0x143aea(),_0x4b83a6[_0x44c56f([0x6f,0x66,0x66])]());});}))];return window[_0x44c56f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x44c56f([0x72,0x61,0x63,0x65])](_0xa48494)[_0x44c56f([0x74,0x68,0x65,0x6e])](()=>_0x4fba8f);}async function _0x8bb00d(){await _0x31efe9,_0x7d0a64[_0x44c56f([0x6d,0x6f,0x64,0x65,0x6c])][_0x44c56f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d0aa1,_0x7d0a64[_0x44c56f([0x6d,0x6f,0x64,0x65,0x6c])][_0x44c56f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d0aa1,_0x7d0a64[_0x44c56f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x44c56f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b7c5f(_0x52f649){const _0xa95823=_0x1cf9aa();_0x7d0a64[_0xa95823]=_0x44c56f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52f649,_0x52f649!=_0x44c56f([0x56,0x61,0x6c,0x69,0x64])&&_0x8bb00d();}function _0x1cf9aa(){const _0xae4416=window[_0x44c56f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x44c56f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x44c56f([0x6e,0x6f,0x77])]())[_0x44c56f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x44c56f([0x2e]),'');let _0x2fded7=_0x44c56f([0x68]);for(let _0x576b25=0x0;_0x576b25<_0xae4416[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x576b25+=0x2){let _0xcfaf8f=window[_0x44c56f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xae4416[_0x44c56f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x576b25,_0x576b25+0x2));_0xcfaf8f>=_0x5929d1[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcfaf8f-=_0x5929d1[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fded7+=_0x5929d1[_0xcfaf8f];}return _0x2fded7;}function _0x306c50(){const _0x446031=_0x3f2624[_0x44c56f([0x73,0x70,0x6c,0x69,0x74])](_0x44c56f([0x2e]));if(0x3!=_0x446031[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b30e8(_0x446031[0x1]);function _0x4b30e8(_0xcbeadf){const _0x4d9ad8=_0x441b91(_0xcbeadf);return _0x4d9ad8&&_0x3342af()?_0x4d9ad8:null;function _0x3342af(){const _0x43e6ee=_0x4d9ad8[_0x44c56f([0x6a,0x74,0x69])],_0x535483=window[_0x44c56f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43e6ee[_0x44c56f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43e6ee[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11c18c={..._0x4d9ad8,[_0x44c56f([0x6a,0x74,0x69])]:_0x43e6ee[_0x44c56f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43e6ee[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11c18c[_0x44c56f([0x76,0x63])],_0x520e61(_0x11c18c)==_0x535483;}}}async function _0xcc290d(){let _0x306ebd=!0x0;try{const _0x2a8c69=_0x3f2624[_0x44c56f([0x73,0x70,0x6c,0x69,0x74])](_0x44c56f([0x2e])),[_0x2c737d,_0x613ef,_0x1f48d5]=_0x2a8c69;return _0x467454(_0x2c737d),await _0x3f56ed(_0x2c737d,_0x613ef,_0x1f48d5),_0x306ebd;}catch{return!0x1;}function _0x467454(_0x36a5a9){const _0x2a0078=_0x441b91(_0x36a5a9);_0x2a0078&&_0x2a0078[_0x44c56f([0x61,0x6c,0x67])]==_0x44c56f([0x45,0x53,0x32,0x35,0x36])||(_0x306ebd=!0x1);}async function _0x3f56ed(_0x3967fa,_0xe3170e,_0x2b9840){const _0x330ba1=window[_0x44c56f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x44c56f([0x66,0x72,0x6f,0x6d])](_0x4193c1(_0x2b9840),_0x39ad67=>_0x39ad67[_0x44c56f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x466447=new window[(_0x44c56f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x44c56f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3967fa+_0x44c56f([0x2e])+_0xe3170e),_0x3a038d=window[_0x44c56f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x44c56f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a038d)return;const _0x5d4bbe=await _0x3a038d[_0x44c56f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x44c56f([0x6a,0x77,0x6b]),_0x3971d7,{[_0x44c56f([0x6e,0x61,0x6d,0x65])]:_0x44c56f([0x45,0x43,0x44,0x53,0x41]),[_0x44c56f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x44c56f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x44c56f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a038d[_0x44c56f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x44c56f([0x6e,0x61,0x6d,0x65])]:_0x44c56f([0x45,0x43,0x44,0x53,0x41]),[_0x44c56f([0x68,0x61,0x73,0x68])]:{[_0x44c56f([0x6e,0x61,0x6d,0x65])]:_0x44c56f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d4bbe,_0x330ba1,_0x466447)||(_0x306ebd=!0x1);}}function _0x441b91(_0x173264){return _0x173264[_0x44c56f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x44c56f([0x65,0x79]))?JSON[_0x44c56f([0x70,0x61,0x72,0x73,0x65])](_0x4193c1(_0x173264)):null;}function _0x4193c1(_0x13ad18){return window[_0x44c56f([0x61,0x74,0x6f,0x62])](_0x13ad18[_0x44c56f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x44c56f([0x2b]))[_0x44c56f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x44c56f([0x2f])));}function _0x520e61(_0x2e660e){let _0x319760=0x1505;function _0x43396a(_0x1388ec){for(let _0xea6ba3=0x0;_0xea6ba3<_0x1388ec[_0x44c56f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xea6ba3++){const _0x54936e=_0x1388ec[_0x44c56f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xea6ba3);_0x319760=(_0x319760<<0x5)+_0x319760+_0x54936e,_0x319760&=_0x319760;}}function _0x42faf2(_0x4ebedd){Array[_0x44c56f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ebedd)?_0x4ebedd[_0x44c56f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42faf2):_0x4ebedd&&typeof _0x4ebedd==_0x44c56f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x44c56f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ebedd)[_0x44c56f([0x73,0x6f,0x72,0x74])]()[_0x44c56f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cbbc7,_0x5472d0])=>{_0x43396a(_0x1cbbc7),_0x42faf2(_0x5472d0);}):_0x43396a(window[_0x44c56f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ebedd));}return _0x42faf2(_0x2e660e),_0x319760>>>0x0;}function _0x6f1fcf(_0x200b36){return _0x200b36[_0x44c56f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x44c56f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x44c56f([0x30]));}function _0x4d2495(_0x8eaf22){return _0x8eaf22[_0x44c56f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x44c56f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x44c56f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d0aa1(){}function _0x44c56f(_0x68f450){const _0x3a40a6=_0x100d;return _0x68f450[_0x3a40a6(0xa1)](_0x391b65=>String[_0x3a40a6(0xad)](_0x391b65))[_0x3a40a6(0xf0)]('');}_0x3b7c5f(await _0x3e040c());}(this);}[_0x4cb9f9(0xd1)](){const _0x7db988=_0x4cb9f9,_0x57891b=this[_0x7db988(0xe5)][_0x7db988(0xcf)][_0x7db988(0xc8)];_0x57891b[_0x7db988(0xb4)](_0x7db988(0xa5))&&_0x57891b[_0x7db988(0xb5)](_0x7db988(0xa5),{'allowAttributes':[_0x7db988(0xde)]}),_0x57891b[_0x7db988(0xb4)](_0x7db988(0xe3))&&_0x57891b[_0x7db988(0xb5)](_0x7db988(0xe3),{'allowAttributes':[_0x7db988(0xde)]});}[_0x4cb9f9(0xda)](){const _0x266b85=_0x4cb9f9,_0x55abdb=this[_0x266b85(0xe5)];_0x55abdb[_0x266b85(0xbc)][_0x266b85(0xd2)](_0x266b85(0xb9))[_0x266b85(0xc5)]({'model':_0x266b85(0xde),'view':_0x266b85(0xe9)}),_0x55abdb[_0x266b85(0xbc)][_0x266b85(0xd2)](_0x266b85(0xa0))[_0x266b85(0xc7)]({'model':{'key':_0x266b85(0xde),'value':_0x36a2af=>_0x36a2af[_0x266b85(0xea)](_0x266b85(0xe9))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x508924=_0x55abdb[_0x266b85(0xed)][_0x266b85(0xce)](_0x266b85(0xb2));_0x508924&&this[_0x266b85(0xb1)](_0x508924,_0x266b85(0xaf),(_0x27181d,[_0x19affb,_0x17e0a5])=>{const _0x1b8f1f=_0x266b85;_0x19affb[_0x1b8f1f(0xc6)](_0x1b8f1f(0xde),_0x17e0a5);});}[_0x4cb9f9(0xb6)](){const _0x2e0a24=_0x4cb9f9,_0x35e9a3=this[_0x2e0a24(0xe5)][_0x2e0a24(0xab)][_0x2e0a24(0xce)](_0x2e0a24(0xdd))||{},_0x3b4cf5=this[_0x2e0a24(0xe5)][_0x2e0a24(0xab)][_0x2e0a24(0xce)](_0x2e0a24(0xc3))||'';this[_0x2e0a24(0xbb)]=_0x4e267(_0x327861[_0x2e0a24(0xb7)],_0x2e0a24(0xc2),{..._0x35e9a3,'pubkey':_0x3b4cf5,'ctx-name':_0x2e0a24(0xe1)+this[_0x2e0a24(0xcb)],'sourceList':'','imgOnly':_0x2e0a24(0xbe),'removeCopyright':_0x2e0a24(0xbe),'localeName':this[_0x2e0a24(0xe5)][_0x2e0a24(0xe8)][_0x2e0a24(0xa2)],'externalSourcesEmbedCss':_0x2e0a24(0xb8)}),this[_0x2e0a24(0xbb)][_0x2e0a24(0xa4)]=_0x2935e6=>{const _0x29d413=_0x2e0a24;if(_0x29d413(0xb3)==_0x2935e6)return _0x29d413(0xc0);},_0x327861[_0x2e0a24(0xb7)][_0x2e0a24(0xd3)][_0x2e0a24(0xe2)](this[_0x2e0a24(0xbb)]);}[_0x4cb9f9(0xe4)](){const _0x444025=_0x4cb9f9;this[_0x444025(0xa6)]=_0x4e267(_0x327861[_0x444025(0xb7)],_0x444025(0xd5),{'ctx-name':_0x444025(0xe1)+this[_0x444025(0xcb)]}),_0x327861[_0x444025(0xb7)][_0x444025(0xd3)][_0x444025(0xe2)](this[_0x444025(0xa6)]);}[_0x4cb9f9(0xcd)](){const _0x3129b4=_0x4cb9f9,_0x32ed9c=this[_0x3129b4(0xe5)][_0x3129b4(0xed)][_0x3129b4(0xce)](_0x3129b4(0xd9));_0x32ed9c&&this[_0x3129b4(0xb1)](_0x32ed9c,_0x3129b4(0xec),()=>{const _0x53430b=_0x3129b4,_0x37b828=this[_0x53430b(0xe5)][_0x53430b(0xcf)][_0x53430b(0xb7)][_0x53430b(0xf1)][_0x53430b(0xdb)]();_0x37b828&&_0x37b828[_0x53430b(0xea)](_0x53430b(0xde))&&this[_0x53430b(0xe5)][_0x53430b(0xe0)][_0x53430b(0xac)][_0x53430b(0xca)](_0x53430b(0xc9),()=>{const _0x769c26=_0x53430b;_0x5ead11(this[_0x769c26(0xe5)],_0x37b828);});});const _0x1930cd=this[_0x3129b4(0xe5)][_0x3129b4(0xed)][_0x3129b4(0xce)](_0x3129b4(0xa3));_0x1930cd&&this[_0x3129b4(0xb1)](_0x1930cd,_0x3129b4(0xec),()=>{const _0x1b7075=_0x3129b4,_0x5e31df=this[_0x1b7075(0xe5)][_0x1b7075(0xcf)][_0x1b7075(0xb7)][_0x1b7075(0xf1)][_0x1b7075(0xdb)]();_0x5e31df&&_0x5e31df[_0x1b7075(0xea)](_0x1b7075(0xde))&&this[_0x1b7075(0xe5)][_0x1b7075(0xe0)][_0x1b7075(0xac)][_0x1b7075(0xca)](_0x1b7075(0xc9),()=>{const _0x4256e8=_0x1b7075;_0x5ead11(this[_0x4256e8(0xe5)],_0x5e31df);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4cfe92,ObservableMixin as _0x2742f1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x554c3a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x341f9b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3b470d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x7e97e0}from'../../utils/uploadutils.js';import{getImageUrls as _0x11778f,getImageDimension as _0x122584}from'../../utils/editingutils.js';import{isAncestor as _0x300faa}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2742f1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1a58b0,_0x57c6ab,_0x541dce){super(),this['_editor']=_0x1a58b0,this['_dialog']=_0x57c6ab,this['_imageElement']=_0x541dce,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 _0x2cc436=this['_imageElement'],_0x45d381=_0x2cc436['getAttribute']('uploadcareImageId'),_0x254cc8=_0x2cc436['getAttribute']('src');if(_0x45d381)await this['_loadImageInfo'](_0x45d381,_0x254cc8);else{if(this['_imageCache']['has'](_0x254cc8)){const _0x3513e4=this['_imageCache']['get'](_0x254cc8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3513e4['url'],this['imageDimension']=_0x3513e4['dimension'],this['imageId']=_0x3513e4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x32cff4}=this['_editor'],t=_0x32cff4['t'],_0x3b91da=new _0x3b470d(_0x32cff4,this['imageStatus'],this['_attributes']);_0x3b91da['bind']('status')['to'](this,'imageStatus'),_0x3b91da['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3b91da['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3b91da['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3b91da,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x341f9b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3b91da,'position':_0x554c3a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3b91da['focus']();},'onHide':()=>{_0x3b91da['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x469561=>!_0x300faa(_0x469561,_0x3b91da['element'])}});}['_loadImageInfo'](_0x4da98b,_0x462385){return _0x7e97e0['getInfo'](_0x4da98b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x282622=>{const {width:_0x83d141,height:_0x52362e}=_0x282622['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x462385,this['imageDimension']={'width':_0x83d141,'height':_0x52362e},this['imageId']=_0x4da98b;})['catch'](_0x14d825=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14d825['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7ec51e,_0x58c541){return this['_getImageAsFile'](_0x7ec51e)['then'](_0x237a0c=>_0x7e97e0['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':_0x58c541['signal'],'file':_0x237a0c,'onProgress':_0x1efdd1=>{_0x1efdd1&&_0x1efdd1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1efdd1['value']));}}))['then'](_0x46aa08=>{const {width:_0x59c4be,height:_0x23a7cd}=_0x46aa08['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46aa08['cdnUrl'],this['imageDimension']={'width':_0x59c4be,'height':_0x23a7cd},this['imageId']=_0x46aa08['uuid'],this['imageUploadProgress']=null;const _0x3c840e=_0x7ec51e['getAttribute']('src');this['_imageCache']['set'](_0x3c840e,{'id':_0x46aa08['uuid'],'url':_0x46aa08['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a742e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a742e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3cfb0c,_0xb1f146){_0x3cfb0c['on']('apply',(_0x4d9073,_0x8c7203)=>{this['_replaceImage'](_0xb1f146,_0x8c7203['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3cfb0c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3cfb0c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x35b7f4,_0x22cbe5,_0x24c994){const _0x25c816=this['_editor'],{width:_0x50b17b,height:_0x3f270c}=_0x122584(_0x22cbe5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d8970,imageSources:_0x160752}=_0x11778f(_0x22cbe5,_0x50b17b);_0x25c816['model']['change'](_0x12a59a=>{if('$graveyard'===_0x35b7f4['root']['rootName']){_0x25c816['execute']('insertImage',{'imageType':_0x35b7f4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x35b7f4['getAttributes']()),'uploadcareImageId':_0x24c994,'src':_0x4d8970,'sources':_0x160752,'width':_0x50b17b,'height':_0x3f270c}});const _0x95e4e0=_0x35b7f4['getChildren']();_0x35b7f4=_0x25c816['model']['document']['selection']['getSelectedElement']();for(const _0x24bda4 of _0x95e4e0)_0x12a59a['append'](_0x12a59a['cloneElement'](_0x24bda4),_0x35b7f4);}else _0x12a59a['setSelection'](_0x35b7f4,'on'),_0x25c816['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x35b7f4['getAttributes']()),'uploadcareImageId':_0x24c994,'src':_0x4d8970,'sources':_0x160752,'width':_0x50b17b,'height':_0x3f270c},_0x35b7f4);_0x12a59a['setSelection'](_0x35b7f4,'on');});}async['_getImageAsFile'](_0x5edc8b){const _0x10c677=_0x4cfe92['window'],_0x418c02=_0x4cfe92['document']['location']['href'],_0x54a1f9=new _0x10c677['URL'](_0x5edc8b['getAttribute']('src'),_0x418c02);if('data:'===_0x54a1f9['protocol']){const _0x1dc773=_0x54a1f9['href']['split'](','),_0x5a1c7d=_0x1dc773[0x0]['match'](/:(.*?);/)[0x1],_0x4785c3=_0x5a1c7d['split']('/')[0x1],_0x488c12=_0x10c677['atob'](_0x1dc773[_0x1dc773['length']-0x1]);let _0x43781a=_0x488c12['length'];const _0x1616ba=new _0x10c677['Uint8Array'](_0x43781a);for(;_0x43781a--;)_0x1616ba[_0x43781a]=_0x488c12['charCodeAt'](_0x43781a);return new _0x10c677['File']([_0x1616ba],'image.'+_0x4785c3,{'type':_0x5a1c7d});}const _0x29231b=_0x54a1f9['href']['split']('/'),_0x51cdae=_0x29231b[_0x29231b['length']-0x1],_0x1105f4=_0x51cdae['split']('.')[0x1];return _0x10c677['fetch'](_0x54a1f9['href'])['then'](_0x2e55e3=>_0x2e55e3['clone']()['blob']())['then'](_0x5b62ec=>new _0x10c677['File']([_0x5b62ec],_0x51cdae,{'type':'image/'+_0x1105f4}));}}
23
+ import{global as _0x49fa59,ObservableMixin as _0x45b382}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x7b6c30}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x7751fd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5411d2}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x61d356}from'../../utils/uploadutils.js';import{getImageUrls as _0x1ec235,getImageDimension as _0x5b4663}from'../../utils/editingutils.js';import{isAncestor as _0x115ae4}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x45b382(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5c893b,_0x5dfd91,_0x422b1b){super(),this['_editor']=_0x5c893b,this['_dialog']=_0x5dfd91,this['_imageElement']=_0x422b1b,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 _0x215fb4=this['_imageElement'],_0xb9c3f8=_0x215fb4['getAttribute']('uploadcareImageId'),_0x2a4077=_0x215fb4['getAttribute']('src');if(_0xb9c3f8)await this['_loadImageInfo'](_0xb9c3f8,_0x2a4077);else{if(this['_imageCache']['has'](_0x2a4077)){const _0x51af2b=this['_imageCache']['get'](_0x2a4077);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51af2b['url'],this['imageDimension']=_0x51af2b['dimension'],this['imageId']=_0x51af2b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x511a69}=this['_editor'],t=_0x511a69['t'],_0x4a857a=new _0x5411d2(_0x511a69,this['imageStatus'],this['_attributes']);_0x4a857a['bind']('status')['to'](this,'imageStatus'),_0x4a857a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4a857a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4a857a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4a857a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x7751fd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4a857a,'position':_0x7b6c30['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4a857a['focus']();},'onHide':()=>{_0x4a857a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x78150a=>!_0x115ae4(_0x78150a,_0x4a857a['element'])}});}['_loadImageInfo'](_0x2c204c,_0x2232bd){return _0x61d356['getInfo'](_0x2c204c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4a2e8a=>{const {width:_0x2ee93a,height:_0x39afbf}=_0x4a2e8a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2232bd,this['imageDimension']={'width':_0x2ee93a,'height':_0x39afbf},this['imageId']=_0x2c204c;})['catch'](_0x2bb2be=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2bb2be['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xc16f66,_0x2e8039){return this['_getImageAsFile'](_0xc16f66)['then'](_0x4ce8b3=>_0x61d356['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':_0x2e8039['signal'],'file':_0x4ce8b3,'onProgress':_0x360fa6=>{_0x360fa6&&_0x360fa6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x360fa6['value']));}}))['then'](_0x479655=>{const {width:_0x37c8f0,height:_0x3b2b64}=_0x479655['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x479655['cdnUrl'],this['imageDimension']={'width':_0x37c8f0,'height':_0x3b2b64},this['imageId']=_0x479655['uuid'],this['imageUploadProgress']=null;const _0x25356c=_0xc16f66['getAttribute']('src');this['_imageCache']['set'](_0x25356c,{'id':_0x479655['uuid'],'url':_0x479655['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5963b1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5963b1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x403950,_0xc28f2f){_0x403950['on']('apply',(_0x181aff,_0x1e10ef)=>{this['_replaceImage'](_0xc28f2f,_0x1e10ef['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x403950['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x403950['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3fba80,_0x41be07,_0x31c0e3){const _0x450762=this['_editor'],{width:_0x19d29f,height:_0x2a0f08}=_0x5b4663(_0x41be07,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x793d7b,imageSources:_0x24627c}=_0x1ec235(_0x41be07,_0x19d29f);_0x450762['model']['change'](_0x3c220f=>{if('$graveyard'===_0x3fba80['root']['rootName']){_0x450762['execute']('insertImage',{'imageType':_0x3fba80['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3fba80['getAttributes']()),'uploadcareImageId':_0x31c0e3,'src':_0x793d7b,'sources':_0x24627c,'width':_0x19d29f,'height':_0x2a0f08}});const _0x2392b7=_0x3fba80['getChildren']();_0x3fba80=_0x450762['model']['document']['selection']['getSelectedElement']();for(const _0x17de65 of _0x2392b7)_0x3c220f['append'](_0x3c220f['cloneElement'](_0x17de65),_0x3fba80);}else _0x3c220f['setSelection'](_0x3fba80,'on'),_0x450762['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3fba80['getAttributes']()),'uploadcareImageId':_0x31c0e3,'src':_0x793d7b,'sources':_0x24627c,'width':_0x19d29f,'height':_0x2a0f08},_0x3fba80);_0x3c220f['setSelection'](_0x3fba80,'on');});}async['_getImageAsFile'](_0x238fd7){const _0x5a6988=_0x49fa59['window'],_0x599b6f=_0x49fa59['document']['location']['href'],_0x3a5806=new _0x5a6988['URL'](_0x238fd7['getAttribute']('src'),_0x599b6f);if('data:'===_0x3a5806['protocol']){const _0x50f940=_0x3a5806['href']['split'](','),_0x2bdcba=_0x50f940[0x0]['match'](/:(.*?);/)[0x1],_0x708bf1=_0x2bdcba['split']('/')[0x1],_0x3601d2=_0x5a6988['atob'](_0x50f940[_0x50f940['length']-0x1]);let _0x491261=_0x3601d2['length'];const _0x2bc3e1=new _0x5a6988['Uint8Array'](_0x491261);for(;_0x491261--;)_0x2bc3e1[_0x491261]=_0x3601d2['charCodeAt'](_0x491261);return new _0x5a6988['File']([_0x2bc3e1],'image.'+_0x708bf1,{'type':_0x2bdcba});}const _0x4f8ddc=_0x3a5806['href']['split']('/'),_0x35160c=_0x4f8ddc[_0x4f8ddc['length']-0x1],_0x1f5d90=_0x35160c['split']('.')[0x1];return _0x5a6988['fetch'](_0x3a5806['href'])['then'](_0x435141=>_0x435141['clone']()['blob']())['then'](_0x47e76f=>new _0x5a6988['File']([_0x47e76f],_0x35160c,{'type':'image/'+_0x1f5d90}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x50b5d5,_0x579819){const _0x392682=_0x5d22,_0x1c7152=_0x50b5d5();while(!![]){try{const _0x2f825a=parseInt(_0x392682(0x91))/0x1+parseInt(_0x392682(0x94))/0x2+parseInt(_0x392682(0x8b))/0x3+-parseInt(_0x392682(0x86))/0x4+parseInt(_0x392682(0x87))/0x5*(-parseInt(_0x392682(0x8a))/0x6)+parseInt(_0x392682(0x93))/0x7+-parseInt(_0x392682(0x89))/0x8*(parseInt(_0x392682(0x85))/0x9);if(_0x2f825a===_0x579819)break;else _0x1c7152['push'](_0x1c7152['shift']());}catch(_0x1b6274){_0x1c7152['push'](_0x1c7152['shift']());}}}(_0x1ed6,0x82f0d));function _0x5d22(_0x1bbb72,_0x25ebf3){const _0x1ed645=_0x1ed6();return _0x5d22=function(_0x5d227c,_0x2aa0a9){_0x5d227c=_0x5d227c-0x85;let _0x2a3d89=_0x1ed645[_0x5d227c];return _0x2a3d89;},_0x5d22(_0x1bbb72,_0x25ebf3);}import{View as _0x5d691a}from'ckeditor5/src/ui.js';function _0x1ed6(){const _0x3bf126=['uc-cloud-image-editor','63auoiiM','1285700OyVJSc','1045iXaSdm','uc-light','433304bCYPwl','29322RGdIsE','3175968YZuTgJ','bindTemplate','setTemplate','set','ck-uploadcare-theme','image-edit','136043NnZRNh','imageSrc','456834AHZhQX','1996642MvhakQ'];_0x1ed6=function(){return _0x3bf126;};return _0x1ed6();}export class UploadcareImageEditFormEditingView extends _0x5d691a{constructor(_0x191e50,_0x18828a){const _0x51dbef=_0x5d22;super(_0x191e50);const _0x48dbad=this[_0x51dbef(0x8c)];this[_0x51dbef(0x8e)](_0x51dbef(0x92),''),this[_0x51dbef(0x8d)]({'tag':_0x51dbef(0x95),'attributes':{..._0x18828a,'class':[_0x51dbef(0x88),_0x51dbef(0x8f)],'ctx-name':_0x51dbef(0x90),'cdn-url':_0x48dbad['to'](_0x51dbef(0x92))}});}}
23
+ function _0x5c2c(){const _0x13dce8=['183dnvPrd','2375549jvZLUK','imageSrc','725412SwiONf','843449DLpewC','2035IRTygj','ck-uploadcare-theme','set','uc-light','21278wuJSiN','369SrPMFd','bindTemplate','6263928QZGnum','45680GZYikZ','7036GGdYti','uc-cloud-image-editor','63CmliCz','image-edit','setTemplate'];_0x5c2c=function(){return _0x13dce8;};return _0x5c2c();}(function(_0x1ef4fd,_0x2a9afa){const _0x4d2094=_0xe9b3,_0x294df4=_0x1ef4fd();while(!![]){try{const _0x5bdf95=-parseInt(_0x4d2094(0x1e4))/0x1+-parseInt(_0x4d2094(0x1d6))/0x2*(-parseInt(_0x4d2094(0x1e0))/0x3)+-parseInt(_0x4d2094(0x1db))/0x4*(-parseInt(_0x4d2094(0x1e5))/0x5)+parseInt(_0x4d2094(0x1e3))/0x6*(-parseInt(_0x4d2094(0x1dd))/0x7)+parseInt(_0x4d2094(0x1d9))/0x8+parseInt(_0x4d2094(0x1d7))/0x9*(parseInt(_0x4d2094(0x1da))/0xa)+parseInt(_0x4d2094(0x1e1))/0xb;if(_0x5bdf95===_0x2a9afa)break;else _0x294df4['push'](_0x294df4['shift']());}catch(_0x9f1643){_0x294df4['push'](_0x294df4['shift']());}}}(_0x5c2c,0x9742b));import{View as _0x358629}from'ckeditor5/src/ui.js';function _0xe9b3(_0x278bec,_0x11a709){const _0x5c2c37=_0x5c2c();return _0xe9b3=function(_0xe9b3dc,_0x20911a){_0xe9b3dc=_0xe9b3dc-0x1d6;let _0x1a03c0=_0x5c2c37[_0xe9b3dc];return _0x1a03c0;},_0xe9b3(_0x278bec,_0x11a709);}export class UploadcareImageEditFormEditingView extends _0x358629{constructor(_0x2619fa,_0xbd7bfc){const _0x59cf55=_0xe9b3;super(_0x2619fa);const _0x5d0560=this[_0x59cf55(0x1d8)];this[_0x59cf55(0x1e7)](_0x59cf55(0x1e2),''),this[_0x59cf55(0x1df)]({'tag':_0x59cf55(0x1dc),'attributes':{..._0xbd7bfc,'class':[_0x59cf55(0x1e8),_0x59cf55(0x1e6)],'ctx-name':_0x59cf55(0x1de),'cdn-url':_0x5d0560['to'](_0x59cf55(0x1e2))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x295e58}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b22d8,IconView as _0x475056,View as _0x213109}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x213109{constructor(_0x53e404){super(_0x53e404);const t=_0x53e404['t'];this['set']('errorType',null);const _0x54fc17=new _0x4b22d8(_0x53e404);_0x54fc17['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x54fc17['withText']=!0x0,_0x54fc17['class']='ck-button-action',_0x54fc17['on']('execute',()=>{this['fire']('retry');}),_0x54fc17['bind']('isVisible')['to'](this,'errorType',_0x3f9b33=>'NotFound'!==_0x3f9b33);const _0x5e9316=new _0x475056();_0x5e9316['content']=_0x295e58,_0x5e9316['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xce7fd9=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':[_0x5e9316,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xce7fd9['to']('errorType',_0x546b6f=>t('NotFound'!==_0x546b6f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x54fc17]},{'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 _0x562a44}from'ckeditor5/src/icons.js';import{ButtonView as _0x572088,IconView as _0x5eb46f,View as _0x3afbbc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3afbbc{constructor(_0x5c0131){super(_0x5c0131);const t=_0x5c0131['t'];this['set']('errorType',null);const _0x1e254c=new _0x572088(_0x5c0131);_0x1e254c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1e254c['withText']=!0x0,_0x1e254c['class']='ck-button-action',_0x1e254c['on']('execute',()=>{this['fire']('retry');}),_0x1e254c['bind']('isVisible')['to'](this,'errorType',_0x5b596a=>'NotFound'!==_0x5b596a);const _0xaac87d=new _0x5eb46f();_0xaac87d['content']=_0x562a44,_0xaac87d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4604eb=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':[_0xaac87d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4604eb['to']('errorType',_0x24df3e=>t('NotFound'!==_0x24df3e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1e254c]},{'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 _0x212da3,View as _0x329adc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x329adc{constructor(_0x398bff){super(_0x398bff);const t=_0x398bff['t'],_0x279d07=this['bindTemplate'],_0x3eb1e1=new _0x212da3();_0x3eb1e1['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':[_0x3eb1e1,{'text':_0x279d07['to']('imageUploadProgress',_0x218a6b=>t('Loading\x20image...')+'\x20('+(_0x218a6b||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 _0x4356af,View as _0x21766f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x21766f{constructor(_0x167c2d){super(_0x167c2d);const t=_0x167c2d['t'],_0x1f993d=this['bindTemplate'],_0x50dca2=new _0x4356af();_0x50dca2['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':[_0x50dca2,{'text':_0x1f993d['to']('imageUploadProgress',_0x234ea4=>t('Loading\x20image...')+'\x20('+(_0x234ea4||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 _0x5ccca0=_0x4ac1;(function(_0x3d6c79,_0xc82c97){const _0xfb86e6=_0x4ac1,_0x3bb773=_0x3d6c79();while(!![]){try{const _0x5beebc=-parseInt(_0xfb86e6(0x123))/0x1+-parseInt(_0xfb86e6(0x151))/0x2*(-parseInt(_0xfb86e6(0x154))/0x3)+parseInt(_0xfb86e6(0x127))/0x4+parseInt(_0xfb86e6(0x153))/0x5+-parseInt(_0xfb86e6(0x143))/0x6*(-parseInt(_0xfb86e6(0x12c))/0x7)+parseInt(_0xfb86e6(0x14c))/0x8+-parseInt(_0xfb86e6(0x135))/0x9;if(_0x5beebc===_0xc82c97)break;else _0x3bb773['push'](_0x3bb773['shift']());}catch(_0x53939d){_0x3bb773['push'](_0x3bb773['shift']());}}}(_0xace6,0x24eef));import{View as _0xc9d36}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x11da43}from'./uploadcareimageeditformloadingview.js';function _0x4ac1(_0xe68a04,_0x183852){const _0xace6a4=_0xace6();return _0x4ac1=function(_0x4ac1b2,_0x2f61cf){_0x4ac1b2=_0x4ac1b2-0x123;let _0x168dd6=_0xace6a4[_0x4ac1b2];return _0x168dd6;},_0x4ac1(_0xe68a04,_0x183852);}import{UploadcareImageEditFormErrorView as _0x5e788d}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4f62d8}from'./uploadcareimageeditformeditingview.js';function _0xace6(){const _0x965653=['length','_focusableView','_loadingView','_errorView','error','once','_addErrorViewListeners','element','5109309qQGlSd','querySelector','toLowerCase','createCollection','addEventListener','uc-cloud-image-editor','status','ready','cdnUrl','focus','retry','uploading','change:status','_waitForImageEditorComponent','18XcPgZW','nodeName','getFocusableElement','ck-uploadcare-form','set','_editingView','_items','detail','cancel','2264528FjTRSR','ck-reset_all-excluded','addedNodes','setTemplate','div','297442cecdDj','_setView','1113715cJfpMV','3YazuPB','clear','render','add','observe','149236BprAuh','_addUploadcareImageEditorListeners','apply','disconnect','712436TvMZPS','target','filter','addMany','fire','83013xgBLUk'];_0xace6=function(){return _0x965653;};return _0xace6();}import{DialogFocusManagerView as _0x3efe41}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3efe41{[_0x5ccca0(0x149)];[_0x5ccca0(0x12f)];[_0x5ccca0(0x130)];[_0x5ccca0(0x148)];[_0x5ccca0(0x12e)];constructor(_0x3c8b75,_0x112ab0,_0x256c67){const _0x47064a=_0x5ccca0;super(_0x3c8b75),this[_0x47064a(0x149)]=this[_0x47064a(0x138)](),this[_0x47064a(0x12f)]=new _0x11da43(_0x3c8b75),this[_0x47064a(0x130)]=new _0x5e788d(_0x3c8b75),this[_0x47064a(0x148)]=new _0x4f62d8(_0x3c8b75,_0x256c67),this[_0x47064a(0x12e)]=new _0xc9d36(_0x3c8b75),this[_0x47064a(0x12e)][_0x47064a(0x14f)](this[_0x47064a(0x145)]()),this[_0x47064a(0x147)](_0x47064a(0x13b),_0x112ab0),this[_0x47064a(0x14f)]({'tag':_0x47064a(0x150),'attributes':{'class':['ck',_0x47064a(0x14d),_0x47064a(0x146)],'tabindex':'-1'},'children':this[_0x47064a(0x149)]}),this[_0x47064a(0x152)](),this[_0x47064a(0x132)](_0x47064a(0x156),()=>{const _0x50ee2c=_0x47064a;this[_0x50ee2c(0x142)](this[_0x50ee2c(0x134)],_0x13cb5a=>{const _0x51ef96=_0x50ee2c;this[_0x51ef96(0x124)](_0x13cb5a);});}),this['on'](_0x47064a(0x141),()=>{const _0x177683=_0x47064a;this[_0x177683(0x152)]();}),this[_0x47064a(0x133)]();}[_0x5ccca0(0x13e)](){const _0x228830=_0x5ccca0;this[_0x228830(0x134)][_0x228830(0x13e)]();}[_0x5ccca0(0x152)](){const _0x1867d3=_0x5ccca0;switch(this[_0x1867d3(0x149)][_0x1867d3(0x155)](),this[_0x1867d3(0x13b)]){case _0x1867d3(0x140):this[_0x1867d3(0x149)][_0x1867d3(0x157)](this[_0x1867d3(0x12f)]);break;case _0x1867d3(0x131):this[_0x1867d3(0x149)][_0x1867d3(0x157)](this[_0x1867d3(0x130)]);break;case _0x1867d3(0x13c):this[_0x1867d3(0x149)][_0x1867d3(0x12a)]([this[_0x1867d3(0x148)],this[_0x1867d3(0x12e)]]);}}[_0x5ccca0(0x142)](_0x50392a,_0xb878c2){const _0x4a4e6e=_0x5ccca0,_0xe64cc5=_0x4a4e6e(0x13a),_0xadf4d4=_0x50392a[_0x4a4e6e(0x136)](_0xe64cc5);if(_0xadf4d4)return _0xb878c2(_0xadf4d4);const _0x3c701f=new MutationObserver(_0x59027c=>{const _0x15a037=_0x4a4e6e,_0x1d43ba=_0x59027c[_0x15a037(0x129)](_0x162451=>_0x162451[_0x15a037(0x128)]===_0x50392a&&_0x162451[_0x15a037(0x14e)][_0x15a037(0x12d)]>0x0&&_0x162451[_0x15a037(0x14e)][0x0][_0x15a037(0x144)][_0x15a037(0x137)]()===_0xe64cc5);_0x1d43ba[_0x15a037(0x12d)]&&(_0x3c701f[_0x15a037(0x126)](),_0xb878c2(_0x1d43ba[0x0][_0x15a037(0x14e)][0x0]));});_0x3c701f[_0x4a4e6e(0x158)](_0x50392a,{'childList':!0x0,'subtree':!0x0});}[_0x5ccca0(0x124)](_0x338d1e){const _0x4c559c=_0x5ccca0;_0x338d1e[_0x4c559c(0x139)](_0x4c559c(0x125),_0x4fd464=>{const _0x61c229=_0x4c559c;this[_0x61c229(0x12b)](_0x61c229(0x125),{'imageSrc':_0x4fd464[_0x61c229(0x14a)][_0x61c229(0x13d)]});}),_0x338d1e[_0x4c559c(0x139)](_0x4c559c(0x14b),()=>{const _0x3ab7a7=_0x4c559c;this[_0x3ab7a7(0x12b)](_0x3ab7a7(0x14b));});}[_0x5ccca0(0x133)](){const _0x4ca6f7=_0x5ccca0;this[_0x4ca6f7(0x130)]['on'](_0x4ca6f7(0x13f),()=>{const _0x3f42a7=_0x4ca6f7;this[_0x3f42a7(0x12b)](_0x3f42a7(0x13f));});}}
23
+ const _0x398b82=_0x11b1;(function(_0x19b860,_0x178d9b){const _0x500fb5=_0x11b1,_0x2c4087=_0x19b860();while(!![]){try{const _0x11e4ba=parseInt(_0x500fb5(0x1d3))/0x1*(-parseInt(_0x500fb5(0x1ca))/0x2)+parseInt(_0x500fb5(0x1ce))/0x3+-parseInt(_0x500fb5(0x1e5))/0x4*(parseInt(_0x500fb5(0x1e9))/0x5)+-parseInt(_0x500fb5(0x1c3))/0x6+parseInt(_0x500fb5(0x1e7))/0x7+-parseInt(_0x500fb5(0x1d5))/0x8*(parseInt(_0x500fb5(0x1d1))/0x9)+parseInt(_0x500fb5(0x1c2))/0xa*(-parseInt(_0x500fb5(0x1ec))/0xb);if(_0x11e4ba===_0x178d9b)break;else _0x2c4087['push'](_0x2c4087['shift']());}catch(_0x39194c){_0x2c4087['push'](_0x2c4087['shift']());}}}(_0x5ca0,0xefd87));function _0x11b1(_0x560d25,_0x4ab21f){const _0x5ca0e2=_0x5ca0();return _0x11b1=function(_0x11b15f,_0x38dd6a){_0x11b15f=_0x11b15f-0x1be;let _0x4b3850=_0x5ca0e2[_0x11b15f];return _0x4b3850;},_0x11b1(_0x560d25,_0x4ab21f);}import{View as _0xa22452}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x40b7a0}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x25f9bb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x47a37b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5ec8e7}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x5ca0(){const _0x1e6bea=['cancel','_editingView','uploading','length','nodeName','setTemplate','change:status','_waitForImageEditorComponent','_setView','310hBIJdW','4871214oZDlZo','querySelector','_focusableView','target','focus','status','uc-cloud-image-editor','2PLBrlo','disconnect','_addUploadcareImageEditorListeners','cdnUrl','715383MMBkYS','getFocusableElement','add','621PoyGmS','toLowerCase','85307dhlCZV','detail','12168aUnfAW','ck-reset_all-excluded','addedNodes','retry','observe','set','ck-uploadcare-form','element','error','createCollection','apply','_loadingView','_errorView','clear','ready','addMany','4qeZnyF','_items','13295877lStTTu','div','473905bVQUnc','_addErrorViewListeners','addEventListener','20779Zvoldf','render','once','fire','filter'];_0x5ca0=function(){return _0x1e6bea;};return _0x5ca0();}export class UploadcareImageEditFormView extends _0x5ec8e7{[_0x398b82(0x1e6)];[_0x398b82(0x1e0)];[_0x398b82(0x1e1)];[_0x398b82(0x1f2)];[_0x398b82(0x1c5)];constructor(_0x29a47,_0x1057dc,_0x206189){const _0x772d1b=_0x398b82;super(_0x29a47),this[_0x772d1b(0x1e6)]=this[_0x772d1b(0x1de)](),this[_0x772d1b(0x1e0)]=new _0x40b7a0(_0x29a47),this[_0x772d1b(0x1e1)]=new _0x25f9bb(_0x29a47),this[_0x772d1b(0x1f2)]=new _0x47a37b(_0x29a47,_0x206189),this[_0x772d1b(0x1c5)]=new _0xa22452(_0x29a47),this[_0x772d1b(0x1c5)][_0x772d1b(0x1be)](this[_0x772d1b(0x1cf)]()),this[_0x772d1b(0x1da)](_0x772d1b(0x1c8),_0x1057dc),this[_0x772d1b(0x1be)]({'tag':_0x772d1b(0x1e8),'attributes':{'class':['ck',_0x772d1b(0x1d6),_0x772d1b(0x1db)],'tabindex':'-1'},'children':this[_0x772d1b(0x1e6)]}),this[_0x772d1b(0x1c1)](),this[_0x772d1b(0x1ee)](_0x772d1b(0x1ed),()=>{const _0x26c805=_0x772d1b;this[_0x26c805(0x1c0)](this[_0x26c805(0x1dc)],_0x2a345e=>{const _0x302c75=_0x26c805;this[_0x302c75(0x1cc)](_0x2a345e);});}),this['on'](_0x772d1b(0x1bf),()=>{const _0xbd2cb0=_0x772d1b;this[_0xbd2cb0(0x1c1)]();}),this[_0x772d1b(0x1ea)]();}[_0x398b82(0x1c7)](){const _0x51f08e=_0x398b82;this[_0x51f08e(0x1dc)][_0x51f08e(0x1c7)]();}[_0x398b82(0x1c1)](){const _0x5b1bd5=_0x398b82;switch(this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1e2)](),this[_0x5b1bd5(0x1c8)]){case _0x5b1bd5(0x1f3):this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1d0)](this[_0x5b1bd5(0x1e0)]);break;case _0x5b1bd5(0x1dd):this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1d0)](this[_0x5b1bd5(0x1e1)]);break;case _0x5b1bd5(0x1e3):this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1e4)]([this[_0x5b1bd5(0x1f2)],this[_0x5b1bd5(0x1c5)]]);}}[_0x398b82(0x1c0)](_0x51a0fc,_0x836b5b){const _0x1c566f=_0x398b82,_0x1954de=_0x1c566f(0x1c9),_0x1acfdb=_0x51a0fc[_0x1c566f(0x1c4)](_0x1954de);if(_0x1acfdb)return _0x836b5b(_0x1acfdb);const _0x516ef7=new MutationObserver(_0x5e8ce9=>{const _0x14b57a=_0x1c566f,_0x303d0f=_0x5e8ce9[_0x14b57a(0x1f0)](_0x5afadd=>_0x5afadd[_0x14b57a(0x1c6)]===_0x51a0fc&&_0x5afadd[_0x14b57a(0x1d7)][_0x14b57a(0x1f4)]>0x0&&_0x5afadd[_0x14b57a(0x1d7)][0x0][_0x14b57a(0x1f5)][_0x14b57a(0x1d2)]()===_0x1954de);_0x303d0f[_0x14b57a(0x1f4)]&&(_0x516ef7[_0x14b57a(0x1cb)](),_0x836b5b(_0x303d0f[0x0][_0x14b57a(0x1d7)][0x0]));});_0x516ef7[_0x1c566f(0x1d9)](_0x51a0fc,{'childList':!0x0,'subtree':!0x0});}[_0x398b82(0x1cc)](_0x306e67){const _0x1e1b72=_0x398b82;_0x306e67[_0x1e1b72(0x1eb)](_0x1e1b72(0x1df),_0x3e76c9=>{const _0x24df7e=_0x1e1b72;this[_0x24df7e(0x1ef)](_0x24df7e(0x1df),{'imageSrc':_0x3e76c9[_0x24df7e(0x1d4)][_0x24df7e(0x1cd)]});}),_0x306e67[_0x1e1b72(0x1eb)](_0x1e1b72(0x1f1),()=>{const _0x299075=_0x1e1b72;this[_0x299075(0x1ef)](_0x299075(0x1f1));});}[_0x398b82(0x1ea)](){const _0x4f5025=_0x398b82;this[_0x4f5025(0x1e1)]['on'](_0x4f5025(0x1d8),()=>{const _0x1027b1=_0x4f5025;this[_0x1027b1(0x1ef)](_0x1027b1(0x1d8));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3fe0(){const _0x125b1a=['config','execute','requires','selection','document','editor','plugins','isEnabled','getSelectedElement','63wpuGUn','set','get','137577kZHdQf','44EcJkcc','54LrbueK','element','bind','model','imageBlock','imageEditController','3695083oyOVKH','3127892eRpOxd','814064eTNsMZ','10TqqdaX','_isEditable','isActive','52080YvZIzK','refresh','4121UDRmHu','4147460yptRNT','18dClBok','unbind','uploadcare.allowExternalImagesEditing','1263540oLBzbC','imageInline'];_0x3fe0=function(){return _0x125b1a;};return _0x3fe0();}const _0x2ae16d=_0x4ad1;(function(_0x432390,_0x28e4e4){const _0x127a76=_0x4ad1,_0x507030=_0x432390();while(!![]){try{const _0x224166=-parseInt(_0x127a76(0x1b0))/0x1+parseInt(_0x127a76(0x1c0))/0x2*(parseInt(_0x127a76(0x1be))/0x3)+-parseInt(_0x127a76(0x1c7))/0x4*(parseInt(_0x127a76(0x1c9))/0x5)+parseInt(_0x127a76(0x1ad))/0x6*(parseInt(_0x127a76(0x1c6))/0x7)+-parseInt(_0x127a76(0x1c8))/0x8*(-parseInt(_0x127a76(0x1bb))/0x9)+parseInt(_0x127a76(0x1ac))/0xa*(parseInt(_0x127a76(0x1bf))/0xb)+-parseInt(_0x127a76(0x1a9))/0xc*(parseInt(_0x127a76(0x1ab))/0xd);if(_0x224166===_0x28e4e4)break;else _0x507030['push'](_0x507030['shift']());}catch(_0xb8d65d){_0x507030['push'](_0x507030['shift']());}}}(_0x3fe0,0xf1a80));function _0x4ad1(_0x4749fb,_0x55922d){const _0x3fe06f=_0x3fe0();return _0x4ad1=function(_0x4ad155,_0x4be1d8){_0x4ad155=_0x4ad155-0x1a9;let _0x683592=_0x3fe06f[_0x4ad155];return _0x683592;},_0x4ad1(_0x4749fb,_0x55922d);}import{Command as _0x495cb3}from'ckeditor5/src/core.js';import{Dialog as _0x1d2cf8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x47d0cd}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2fec37}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x495cb3{[_0x2ae16d(0x1c5)];static get[_0x2ae16d(0x1b4)](){return[_0x1d2cf8];}[_0x2ae16d(0x1ca)];constructor(_0x1ada92){const _0x4e327b=_0x2ae16d;super(_0x1ada92),this[_0x4e327b(0x1c5)]=void 0x0,this[_0x4e327b(0x1ca)]=_0x2fec37(_0x1ada92[_0x4e327b(0x1b2)][_0x4e327b(0x1bd)](_0x4e327b(0x1af))||[]),this[_0x4e327b(0x1bc)]({'isActive':!0x1});}[_0x2ae16d(0x1aa)](){const _0x59a0a1=_0x2ae16d,_0x1b309a=this[_0x59a0a1(0x1b7)][_0x59a0a1(0x1c3)][_0x59a0a1(0x1b6)][_0x59a0a1(0x1b5)][_0x59a0a1(0x1ba)]();this[_0x59a0a1(0x1b9)]=this[_0x59a0a1(0x1ca)](_0x1b309a);}[_0x2ae16d(0x1b3)](){const _0x2a94e8=_0x2ae16d;this[_0x2a94e8(0x1c5)]&&(this[_0x2a94e8(0x1ae)](_0x2a94e8(0x1cb)),this[_0x2a94e8(0x1c5)]=void 0x0);const _0x28bc21=this[_0x2a94e8(0x1b7)][_0x2a94e8(0x1c3)][_0x2a94e8(0x1b6)][_0x2a94e8(0x1b5)][_0x2a94e8(0x1ba)]();_0x28bc21&&(_0x28bc21['is'](_0x2a94e8(0x1c1),_0x2a94e8(0x1c4))||_0x28bc21['is'](_0x2a94e8(0x1c1),_0x2a94e8(0x1b1)))&&(this[_0x2a94e8(0x1c5)]=new _0x47d0cd(this[_0x2a94e8(0x1b7)],this[_0x2a94e8(0x1b7)][_0x2a94e8(0x1b8)][_0x2a94e8(0x1bd)](_0x1d2cf8),_0x28bc21),this[_0x2a94e8(0x1c2)](_0x2a94e8(0x1cb))['to'](this[_0x2a94e8(0x1c5)],_0x2a94e8(0x1cb)));}}
23
+ function _0x22dd(_0x57952f,_0x4f4fc7){const _0x59d4e8=_0x59d4();return _0x22dd=function(_0x22dd8c,_0x504bdc){_0x22dd8c=_0x22dd8c-0x192;let _0xacc21b=_0x59d4e8[_0x22dd8c];return _0xacc21b;},_0x22dd(_0x57952f,_0x4f4fc7);}const _0x162d94=_0x22dd;(function(_0x4cae7e,_0xfcab61){const _0x4f4834=_0x22dd,_0xb5a33c=_0x4cae7e();while(!![]){try{const _0x106cb9=-parseInt(_0x4f4834(0x1a3))/0x1+-parseInt(_0x4f4834(0x1a7))/0x2+parseInt(_0x4f4834(0x192))/0x3+parseInt(_0x4f4834(0x1a0))/0x4+parseInt(_0x4f4834(0x1a2))/0x5+-parseInt(_0x4f4834(0x193))/0x6+parseInt(_0x4f4834(0x1ab))/0x7;if(_0x106cb9===_0xfcab61)break;else _0xb5a33c['push'](_0xb5a33c['shift']());}catch(_0x52cc96){_0xb5a33c['push'](_0xb5a33c['shift']());}}}(_0x59d4,0xaa28c));import{Command as _0x3f7a5a}from'ckeditor5/src/core.js';import{Dialog as _0x13e64a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4439aa}from'./ui/uploadcareimageeditcontroller.js';function _0x59d4(){const _0x200f16=['editor','imageInline','_isEditable','4969656dCSdrv','model','494675McfNWn','809381OGCaSK','refresh','execute','bind','1805908uyfZcJ','get','unbind','set','4587737YNGbNo','uploadcare.allowExternalImagesEditing','isEnabled','imageEditController','3548544NDiETg','4621686AuyewA','element','requires','selection','config','imageBlock','plugins','document','getSelectedElement','isActive'];_0x59d4=function(){return _0x200f16;};return _0x59d4();}import{createEditabilityChecker as _0x2de712}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3f7a5a{[_0x162d94(0x1ae)];static get[_0x162d94(0x195)](){return[_0x13e64a];}[_0x162d94(0x19f)];constructor(_0x516624){const _0x487d03=_0x162d94;super(_0x516624),this[_0x487d03(0x1ae)]=void 0x0,this[_0x487d03(0x19f)]=_0x2de712(_0x516624[_0x487d03(0x197)][_0x487d03(0x1a8)](_0x487d03(0x1ac))||[]),this[_0x487d03(0x1aa)]({'isActive':!0x1});}[_0x162d94(0x1a4)](){const _0x513715=_0x162d94,_0x7d0d2b=this[_0x513715(0x19d)][_0x513715(0x1a1)][_0x513715(0x19a)][_0x513715(0x196)][_0x513715(0x19b)]();this[_0x513715(0x1ad)]=this[_0x513715(0x19f)](_0x7d0d2b);}[_0x162d94(0x1a5)](){const _0x98d63a=_0x162d94;this[_0x98d63a(0x1ae)]&&(this[_0x98d63a(0x1a9)](_0x98d63a(0x19c)),this[_0x98d63a(0x1ae)]=void 0x0);const _0x3565f1=this[_0x98d63a(0x19d)][_0x98d63a(0x1a1)][_0x98d63a(0x19a)][_0x98d63a(0x196)][_0x98d63a(0x19b)]();_0x3565f1&&(_0x3565f1['is'](_0x98d63a(0x194),_0x98d63a(0x198))||_0x3565f1['is'](_0x98d63a(0x194),_0x98d63a(0x19e)))&&(this[_0x98d63a(0x1ae)]=new _0x4439aa(this[_0x98d63a(0x19d)],this[_0x98d63a(0x19d)][_0x98d63a(0x199)][_0x98d63a(0x1a8)](_0x13e64a),_0x3565f1),this[_0x98d63a(0x1a6)](_0x98d63a(0x19c))['to'](this[_0x98d63a(0x1ae)],_0x98d63a(0x19c)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a889e=_0x42be;(function(_0x3f9c2a,_0x50fe35){const _0xc21d04=_0x42be,_0x3ee430=_0x3f9c2a();while(!![]){try{const _0x1d3410=parseInt(_0xc21d04(0x1b4))/0x1+-parseInt(_0xc21d04(0x1b9))/0x2*(parseInt(_0xc21d04(0x1ba))/0x3)+-parseInt(_0xc21d04(0x1b2))/0x4+parseInt(_0xc21d04(0x1ac))/0x5*(parseInt(_0xc21d04(0x1a6))/0x6)+-parseInt(_0xc21d04(0x1ad))/0x7*(parseInt(_0xc21d04(0x1b1))/0x8)+parseInt(_0xc21d04(0x1b8))/0x9*(parseInt(_0xc21d04(0x1bc))/0xa)+parseInt(_0xc21d04(0x1a9))/0xb;if(_0x1d3410===_0x50fe35)break;else _0x3ee430['push'](_0x3ee430['shift']());}catch(_0x503e6c){_0x3ee430['push'](_0x3ee430['shift']());}}}(_0xf228,0xa14e5));function _0xf228(){const _0x345e79=['6470DDbOSK','915AwqXyv','uploadcareImageEdit','1390DmkNBn','132XzkAWz','ImageUtils','commands','30907052RffLxQ','pluginName','uploadcareImageReplace','122645QdXxdl','3529729GJIdat','isPremiumPlugin','init','requires','8uoFzka','5237720fJBMmz','UploadcareImageEditEditing','7719KDNcTF','add','ImageEditing','isOfficialPlugin','6732icNTpt'];_0xf228=function(){return _0x345e79;};return _0xf228();}import{Plugin as _0x3dba7b}from'ckeditor5/src/core.js';function _0x42be(_0x47d8de,_0x2b0031){const _0xf22840=_0xf228();return _0x42be=function(_0x42be4c,_0x28085c){_0x42be4c=_0x42be4c-0x1a6;let _0x36d28f=_0xf22840[_0x42be4c];return _0x36d28f;},_0x42be(_0x47d8de,_0x2b0031);}import{Notification as _0x53cb71}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x29071c}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x551444}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x59a7e7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3dba7b{static get[_0x3a889e(0x1aa)](){const _0x172c15=_0x3a889e;return _0x172c15(0x1b3);}static get[_0x3a889e(0x1b0)](){const _0xf7bab9=_0x3a889e;return[_0x59a7e7,_0x53cb71,_0xf7bab9(0x1a7),_0xf7bab9(0x1b6)];}static get[_0x3a889e(0x1b7)](){return!0x0;}static get[_0x3a889e(0x1ae)](){return!0x0;}[_0x3a889e(0x1af)](){const _0x34008d=_0x3a889e,{editor:_0x48da53}=this;_0x48da53[_0x34008d(0x1a8)][_0x34008d(0x1b5)](_0x34008d(0x1bb),new _0x29071c(_0x48da53)),_0x48da53[_0x34008d(0x1a8)][_0x34008d(0x1b5)](_0x34008d(0x1ab),new _0x551444(_0x48da53));}}
23
+ const _0x4d24a2=_0x2236;(function(_0x20ed3a,_0x16aea8){const _0x1a4940=_0x2236,_0x5140c2=_0x20ed3a();while(!![]){try{const _0x4b9acc=parseInt(_0x1a4940(0x1ee))/0x1*(-parseInt(_0x1a4940(0x1e4))/0x2)+parseInt(_0x1a4940(0x1fa))/0x3*(-parseInt(_0x1a4940(0x1f8))/0x4)+-parseInt(_0x1a4940(0x1e8))/0x5+parseInt(_0x1a4940(0x1f9))/0x6+-parseInt(_0x1a4940(0x1f6))/0x7*(parseInt(_0x1a4940(0x1ed))/0x8)+-parseInt(_0x1a4940(0x1e5))/0x9*(-parseInt(_0x1a4940(0x1ec))/0xa)+-parseInt(_0x1a4940(0x1e9))/0xb*(-parseInt(_0x1a4940(0x1f3))/0xc);if(_0x4b9acc===_0x16aea8)break;else _0x5140c2['push'](_0x5140c2['shift']());}catch(_0x42400e){_0x5140c2['push'](_0x5140c2['shift']());}}}(_0x3ce4,0x47cdc));import{Plugin as _0x574bf0}from'ckeditor5/src/core.js';function _0x2236(_0x37e806,_0x2e070b){const _0x3ce464=_0x3ce4();return _0x2236=function(_0x223652,_0x276dfa){_0x223652=_0x223652-0x1e3;let _0x229feb=_0x3ce464[_0x223652];return _0x229feb;},_0x2236(_0x37e806,_0x2e070b);}import{Notification as _0xd1d026}from'ckeditor5/src/ui.js';function _0x3ce4(){const _0x4b9d14=['1808848IgqZdb','4HKJbyr','uploadcareImageReplace','isOfficialPlugin','commands','pluginName','91548rfNWHt','add','isPremiumPlugin','14OYmkpI','init','562276hyinqT','2937870fDAAoc','6lTXNXI','UploadcareImageEditEditing','217632XTSzXh','2474631UBPjAu','requires','ImageUtils','285765TilDhy','1089izuFXn','ImageEditing','uploadcareImageEdit','10EbnfPG'];_0x3ce4=function(){return _0x4b9d14;};return _0x3ce4();}import{UploadcareImageEditCommand as _0xc63c88}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4217a7}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3365e8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x574bf0{static get[_0x4d24a2(0x1f2)](){const _0x2ea8b4=_0x4d24a2;return _0x2ea8b4(0x1e3);}static get[_0x4d24a2(0x1e6)](){const _0xf2f4df=_0x4d24a2;return[_0x3365e8,_0xd1d026,_0xf2f4df(0x1e7),_0xf2f4df(0x1ea)];}static get[_0x4d24a2(0x1f0)](){return!0x0;}static get[_0x4d24a2(0x1f5)](){return!0x0;}[_0x4d24a2(0x1f7)](){const _0x55367c=_0x4d24a2,{editor:_0x54a015}=this;_0x54a015[_0x55367c(0x1f1)][_0x55367c(0x1f4)](_0x55367c(0x1eb),new _0xc63c88(_0x54a015)),_0x54a015[_0x55367c(0x1f1)][_0x55367c(0x1f4)](_0x55367c(0x1ef),new _0x4217a7(_0x54a015));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x526e3a}from'ckeditor5/src/core.js';import{ButtonView as _0x3d44f8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x489b02}from'ckeditor5/src/icons.js';import{createElement as _0x1a1476}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 _0x526e3a{['_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 _0x58f1b6=this['editor'];_0x58f1b6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x58446c=>{const _0x2af7d0=_0x58f1b6['commands']['get']('uploadcareImageEdit'),_0x3e94b6=new _0x3d44f8(_0x58446c),t=_0x58446c['t'];return _0x3e94b6['set']({'icon':_0x489b02,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3e94b6['bind']('isEnabled')['to'](_0x2af7d0),_0x3e94b6['bind']('isOn')['to'](_0x2af7d0,'isActive'),this['listenTo'](_0x3e94b6,'execute',()=>{_0x58f1b6['execute']('uploadcareImageEdit'),_0x58f1b6['editing']['view']['focus']();}),_0x3e94b6;}),this['_initConfig']();}['_initConfig'](){const _0x59b959=_0x1a1476(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x59b959),this['listenTo'](this['editor'],'destroy',()=>{_0x59b959['remove']();});}}
23
+ import{Plugin as _0x5225d6}from'ckeditor5/src/core.js';import{ButtonView as _0x212d48}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x596042}from'ckeditor5/src/icons.js';import{createElement as _0x59c5d2}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 _0x5225d6{['_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 _0x14d69b=this['editor'];_0x14d69b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29b55e=>{const _0x219090=_0x14d69b['commands']['get']('uploadcareImageEdit'),_0x20ff3a=new _0x212d48(_0x29b55e),t=_0x29b55e['t'];return _0x20ff3a['set']({'icon':_0x596042,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x20ff3a['bind']('isEnabled')['to'](_0x219090),_0x20ff3a['bind']('isOn')['to'](_0x219090,'isActive'),this['listenTo'](_0x20ff3a,'execute',()=>{_0x14d69b['execute']('uploadcareImageEdit'),_0x14d69b['editing']['view']['focus']();}),_0x20ff3a;}),this['_initConfig']();}['_initConfig'](){const _0x4697ef=_0x59c5d2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4697ef),this['listenTo'](this['editor'],'destroy',()=>{_0x4697ef['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5550(){const _0x308922=['isEnabled','refresh','selection','1791880DuCkSv','model','396474gsLrCc','imageInline','element','824405iyljbZ','getSelectedElement','18010TVNFZz','42woLMAw','84215zZLFlV','removeAttribute','sizes','4TPanUc','srcset','execute','document','179358akCznY','change','imageBlock','39180sxWJDT','setAttributes','81SmXKIE','editor'];_0x5550=function(){return _0x308922;};return _0x5550();}function _0x2e97(_0x5450b6,_0x40f43c){const _0x555048=_0x5550();return _0x2e97=function(_0x2e9738,_0x9a3f56){_0x2e9738=_0x2e9738-0x122;let _0x5a6274=_0x555048[_0x2e9738];return _0x5a6274;},_0x2e97(_0x5450b6,_0x40f43c);}const _0x377695=_0x2e97;(function(_0x56591b,_0x20c553){const _0x4e092b=_0x2e97,_0x188a1e=_0x56591b();while(!![]){try{const _0xbbe63d=parseInt(_0x4e092b(0x134))/0x1+parseInt(_0x4e092b(0x12d))/0x2+-parseInt(_0x4e092b(0x124))/0x3+parseInt(_0x4e092b(0x137))/0x4*(-parseInt(_0x4e092b(0x130))/0x5)+parseInt(_0x4e092b(0x13b))/0x6*(-parseInt(_0x4e092b(0x133))/0x7)+parseInt(_0x4e092b(0x12b))/0x8+parseInt(_0x4e092b(0x126))/0x9*(-parseInt(_0x4e092b(0x132))/0xa);if(_0xbbe63d===_0x20c553)break;else _0x188a1e['push'](_0x188a1e['shift']());}catch(_0x55f291){_0x188a1e['push'](_0x188a1e['shift']());}}}(_0x5550,0x20741));import{Command as _0x41dfc8}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x41dfc8{[_0x377695(0x129)](){const _0x446492=_0x377695,_0x3137b8=this[_0x446492(0x127)][_0x446492(0x12c)][_0x446492(0x13a)][_0x446492(0x12a)][_0x446492(0x131)]();this[_0x446492(0x128)]=Boolean(_0x3137b8&&(_0x3137b8['is'](_0x446492(0x12f),_0x446492(0x123))||_0x3137b8['is'](_0x446492(0x12f),_0x446492(0x12e))));}[_0x377695(0x139)](_0x4bbf06){const _0x19f177=_0x377695,_0x23c4e7=this[_0x19f177(0x127)][_0x19f177(0x12c)][_0x19f177(0x13a)][_0x19f177(0x12a)][_0x19f177(0x131)]();this[_0x19f177(0x127)][_0x19f177(0x12c)][_0x19f177(0x122)](_0x178d89=>{const _0x2ed4c2=_0x19f177;_0x178d89[_0x2ed4c2(0x125)](_0x4bbf06,_0x23c4e7),_0x178d89[_0x2ed4c2(0x135)](_0x2ed4c2(0x138),_0x23c4e7),_0x178d89[_0x2ed4c2(0x135)](_0x2ed4c2(0x136),_0x23c4e7);});}}
23
+ function _0x5e07(){const _0x164e18=['removeAttribute','222aSdfBy','element','2611812LmVjqT','292452sZjeTx','381aPkVnX','940048BwyRWZ','27UnljRK','editor','model','277230gVxAVE','selection','getSelectedElement','sizes','refresh','execute','srcset','3588TuzrFM','document','setAttributes','change','295628wOXyhK','isEnabled','imageBlock','16090YCbIAR','imageInline'];_0x5e07=function(){return _0x164e18;};return _0x5e07();}const _0x5b026c=_0x2699;function _0x2699(_0x58ff30,_0x172071){const _0x5e079e=_0x5e07();return _0x2699=function(_0x2699dd,_0x277ee9){_0x2699dd=_0x2699dd-0xcb;let _0x242c6d=_0x5e079e[_0x2699dd];return _0x242c6d;},_0x2699(_0x58ff30,_0x172071);}(function(_0x314ca7,_0x42b9f9){const _0x9a987e=_0x2699,_0x490bef=_0x314ca7();while(!![]){try{const _0x1c3c38=-parseInt(_0x9a987e(0xce))/0x1+-parseInt(_0x9a987e(0xe4))/0x2*(parseInt(_0x9a987e(0xd8))/0x3)+parseInt(_0x9a987e(0xd7))/0x4+parseInt(_0x9a987e(0xd1))/0x5*(parseInt(_0x9a987e(0xd4))/0x6)+parseInt(_0x9a987e(0xd6))/0x7+parseInt(_0x9a987e(0xd9))/0x8+-parseInt(_0x9a987e(0xda))/0x9*(-parseInt(_0x9a987e(0xdd))/0xa);if(_0x1c3c38===_0x42b9f9)break;else _0x490bef['push'](_0x490bef['shift']());}catch(_0x3198ba){_0x490bef['push'](_0x490bef['shift']());}}}(_0x5e07,0x3b348));import{Command as _0x2730b0}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2730b0{[_0x5b026c(0xe1)](){const _0x20e301=_0x5b026c,_0x42e576=this[_0x20e301(0xdb)][_0x20e301(0xdc)][_0x20e301(0xcb)][_0x20e301(0xde)][_0x20e301(0xdf)]();this[_0x20e301(0xcf)]=Boolean(_0x42e576&&(_0x42e576['is'](_0x20e301(0xd5),_0x20e301(0xd0))||_0x42e576['is'](_0x20e301(0xd5),_0x20e301(0xd2))));}[_0x5b026c(0xe2)](_0x3588e0){const _0x326861=_0x5b026c,_0x34d12a=this[_0x326861(0xdb)][_0x326861(0xdc)][_0x326861(0xcb)][_0x326861(0xde)][_0x326861(0xdf)]();this[_0x326861(0xdb)][_0x326861(0xdc)][_0x326861(0xcd)](_0x2e0848=>{const _0x1ae907=_0x326861;_0x2e0848[_0x1ae907(0xcc)](_0x3588e0,_0x34d12a),_0x2e0848[_0x1ae907(0xd3)](_0x1ae907(0xe3),_0x34d12a),_0x2e0848[_0x1ae907(0xd3)](_0x1ae907(0xe0),_0x34d12a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56e2(){var _0x420cd8=['isOfficialPlugin','2088351cwIJKu','2290gKXBTf','2178ngtqvR','requires','pluginName','UploadcareImageEdit','3101622kJUIzx','isPremiumPlugin','20348970KaDgFA','7rDsXaB','1745240VIolAI','292staYTU','2710125kxQywV','1892tkzxWS'];_0x56e2=function(){return _0x420cd8;};return _0x56e2();}var _0x39050c=_0x480f;function _0x480f(_0x2a609d,_0x336742){var _0x56e274=_0x56e2();return _0x480f=function(_0x480fe7,_0x17c8a2){_0x480fe7=_0x480fe7-0x178;var _0x5c6e7c=_0x56e274[_0x480fe7];return _0x5c6e7c;},_0x480f(_0x2a609d,_0x336742);}(function(_0x5f0220,_0x593bf0){var _0x342b38=_0x480f,_0x44a950=_0x5f0220();while(!![]){try{var _0x2a0ff4=parseInt(_0x342b38(0x181))/0x1*(-parseInt(_0x342b38(0x178))/0x2)+-parseInt(_0x342b38(0x182))/0x3+parseInt(_0x342b38(0x183))/0x4*(parseInt(_0x342b38(0x186))/0x5)+parseInt(_0x342b38(0x17c))/0x6*(-parseInt(_0x342b38(0x17f))/0x7)+parseInt(_0x342b38(0x180))/0x8+parseInt(_0x342b38(0x185))/0x9+parseInt(_0x342b38(0x17e))/0xa;if(_0x2a0ff4===_0x593bf0)break;else _0x44a950['push'](_0x44a950['shift']());}catch(_0x4bcda4){_0x44a950['push'](_0x44a950['shift']());}}}(_0x56e2,0xeb361));import{Plugin as _0x3b9172}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4b826e}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3977c3}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3b9172{static get[_0x39050c(0x17a)](){var _0x29f3c1=_0x39050c;return _0x29f3c1(0x17b);}static get[_0x39050c(0x179)](){return[_0x4b826e,_0x3977c3];}static get[_0x39050c(0x184)](){return!0x0;}static get[_0x39050c(0x17d)](){return!0x0;}}
23
+ var _0x1a148c=_0x207b;function _0x2ccf(){var _0x57e72c=['8bSQnBX','11UpkDyx','pluginName','82920fKECKe','614373MXlJIr','15220YQxOhn','1834216SyLPci','354FgQGcD','2417936wqDbvL','requires','851272lORypB','UploadcareImageEdit','21gifGun','isPremiumPlugin','5067XnxqwA','24446064UQFflW','isOfficialPlugin'];_0x2ccf=function(){return _0x57e72c;};return _0x2ccf();}(function(_0x34f305,_0x2ce633){var _0x4d8519=_0x207b,_0x5d30d9=_0x34f305();while(!![]){try{var _0x5d303f=parseInt(_0x4d8519(0xa2))/0x1+-parseInt(_0x4d8519(0x9e))/0x2+-parseInt(_0x4d8519(0x9c))/0x3*(parseInt(_0x4d8519(0x98))/0x4)+-parseInt(_0x4d8519(0x9b))/0x5*(parseInt(_0x4d8519(0x9f))/0x6)+parseInt(_0x4d8519(0xa4))/0x7*(-parseInt(_0x4d8519(0xa0))/0x8)+-parseInt(_0x4d8519(0xa6))/0x9*(-parseInt(_0x4d8519(0x9d))/0xa)+parseInt(_0x4d8519(0x99))/0xb*(parseInt(_0x4d8519(0xa7))/0xc);if(_0x5d303f===_0x2ce633)break;else _0x5d30d9['push'](_0x5d30d9['shift']());}catch(_0x58eca0){_0x5d30d9['push'](_0x5d30d9['shift']());}}}(_0x2ccf,0x823d2));import{Plugin as _0x1d116a}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x2fc311}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x194ee6}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x207b(_0x168404,_0x2c99a8){var _0x2ccf92=_0x2ccf();return _0x207b=function(_0x207b39,_0x6a1ef5){_0x207b39=_0x207b39-0x97;var _0x7d405e=_0x2ccf92[_0x207b39];return _0x7d405e;},_0x207b(_0x168404,_0x2c99a8);}export class UploadcareImageEdit extends _0x1d116a{static get[_0x1a148c(0x9a)](){var _0x311c51=_0x1a148c;return _0x311c51(0xa3);}static get[_0x1a148c(0xa1)](){return[_0x2fc311,_0x194ee6];}static get[_0x1a148c(0x97)](){return!0x0;}static get[_0x1a148c(0xa5)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d4071=_0x5265;(function(_0x3463ae,_0x3e3095){const _0x2dc8e0=_0x5265,_0xe0d5bd=_0x3463ae();while(!![]){try{const _0x37d4d1=parseInt(_0x2dc8e0(0x1c6))/0x1*(-parseInt(_0x2dc8e0(0x1d7))/0x2)+parseInt(_0x2dc8e0(0x1d1))/0x3+parseInt(_0x2dc8e0(0x1aa))/0x4*(parseInt(_0x2dc8e0(0x1b0))/0x5)+-parseInt(_0x2dc8e0(0x1bd))/0x6*(-parseInt(_0x2dc8e0(0x1a8))/0x7)+-parseInt(_0x2dc8e0(0x1c9))/0x8*(parseInt(_0x2dc8e0(0x1d2))/0x9)+-parseInt(_0x2dc8e0(0x1eb))/0xa+-parseInt(_0x2dc8e0(0x1de))/0xb*(-parseInt(_0x2dc8e0(0x1c1))/0xc);if(_0x37d4d1===_0x3e3095)break;else _0xe0d5bd['push'](_0xe0d5bd['shift']());}catch(_0x5c3d04){_0xe0d5bd['push'](_0xe0d5bd['shift']());}}}(_0x545a,0xd6821));import{Plugin as _0xdff11e}from'ckeditor5/src/core.js';import{IconDropbox as _0x58290f,IconFacebook as _0x594bc4,IconGoogleDrive as _0x57637a,IconGooglePhotos as _0x5129c2,IconUploadcareImageUpload as _0xfb1072,IconUploadcareLink as _0x4c005c,IconOneDrive as _0x44304e}from'ckeditor5/src/icons.js';function _0x545a(){const _0x134b96=['init','map','licenseKey','1285785Hblkgl','Facebook','_createMenuBarButtons','uploadcareLicenseKeyInvalid','isEnabled','entries','uploadcareLicenseKeyUsageLimit','registerIntegration','withText','_normalizeConfigSourceList','assetManager','_showLicenseError','evaluationLimit','217716mxGHWS','label','pluginName','editor','24aUNHMX','domainLimit','featureNotAllowed','uploadcare','isOfficialPlugin','1lKmNFz','isPremiumPlugin','icon','2517584vcAeiN','GPhotos','UploadcareUI','uploadcare.uploader.sourceList','type','uploadcareLicenseKeyEvaluationLimit','shortText','_createButton','3344475NpfrLv','9IjSFuw','usageLimit','Replace','afterInit','text','556486DcYHWh','push','URL','upload','OneDrive','GDrive','_licenseKeyCheckInterval','1966525lxUcjS','_createToolbarButton','locale','_getIntegrationKey','url','has','uploadcareLicenseKeyExpired','plugins','isImageSelected','destroy','invalid','forEach','uploadcareLicenseKeyValid','7659700FgTxaG','ImageInsertUI','Uploadcare','uploadcareLicenseKeyNotAllowed','Dropbox','_createDropdownButtons','expired','commands','uploadcareLicenseKeyDomainLimit','Local','bind','reduce','get','tooltip','98gCnirv','config','4sbOIBX','Insert','execute'];_0x545a=function(){return _0x134b96;};return _0x545a();}import{ButtonView as _0x3ab055,MenuBarMenuListItemButtonView as _0x117e7a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x328805}from'./uploadcareconfig.js';import{getTranslation as _0x2c1e69}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';function _0x5265(_0x1c35b6,_0x5ae864){const _0x545a0d=_0x545a();return _0x5265=function(_0x526542,_0xa44d71){_0x526542=_0x526542-0x1a3;let _0x1dad2f=_0x545a0d[_0x526542];return _0x1dad2f;},_0x5265(_0x1c35b6,_0x5ae864);}export class UploadcareUI extends _0xdff11e{[_0x2d4071(0x1af)];[_0x2d4071(0x1dd)];static get[_0x2d4071(0x1bf)](){const _0x5bef9f=_0x2d4071;return _0x5bef9f(0x1cb);}static get[_0x2d4071(0x1c5)](){return!0x0;}static get[_0x2d4071(0x1c7)](){return!0x0;}[_0x2d4071(0x1ad)](){const _0x8e4b2=_0x2d4071;this[_0x8e4b2(0x1af)]=this[_0x8e4b2(0x1c0)][_0x8e4b2(0x1a9)][_0x8e4b2(0x1a6)](_0x8e4b2(0x1af));const _0x370c22=this[_0x8e4b2(0x1c0)];this[_0x8e4b2(0x1dd)]=setInterval(()=>{const _0x3cc610=_0x8e4b2;let _0x33ad06;for(const _0x219046 in _0x370c22){const _0x13c2e7=_0x219046,_0x1d63db=_0x370c22[_0x13c2e7];if(_0x3cc610(0x1ea)==_0x1d63db||_0x3cc610(0x1b3)==_0x1d63db||_0x3cc610(0x1e4)==_0x1d63db||_0x3cc610(0x1f3)==_0x1d63db||_0x3cc610(0x1ee)==_0x1d63db||_0x3cc610(0x1ce)==_0x1d63db||_0x3cc610(0x1b6)==_0x1d63db){delete _0x370c22[_0x13c2e7],_0x33ad06=_0x1d63db,clearInterval(this[_0x3cc610(0x1dd)]),this[_0x3cc610(0x1dd)]=void 0x0;break;}}_0x3cc610(0x1b3)==_0x33ad06&&_0x370c22[_0x3cc610(0x1bb)](_0x3cc610(0x1e8)),_0x3cc610(0x1e4)==_0x33ad06&&_0x370c22[_0x3cc610(0x1bb)](_0x3cc610(0x1f1)),_0x3cc610(0x1f3)==_0x33ad06&&_0x370c22[_0x3cc610(0x1bb)](_0x3cc610(0x1c2)),_0x3cc610(0x1ee)==_0x33ad06&&_0x370c22[_0x3cc610(0x1bb)](_0x3cc610(0x1c3),_0x3cc610(0x1ed)),_0x3cc610(0x1ce)==_0x33ad06&&_0x370c22[_0x3cc610(0x1bb)](_0x3cc610(0x1bc)),_0x3cc610(0x1b6)==_0x33ad06&&_0x370c22[_0x3cc610(0x1bb)](_0x3cc610(0x1d3));},0x3e8);}[_0x2d4071(0x1d5)](){const _0x5c4acf=_0x2d4071,{editor:_0x104b2f}=this,_0x44ea23=_0x104b2f[_0x5c4acf(0x1f2)][_0x5c4acf(0x1a6)](_0x5c4acf(0x1c4));if(!_0x44ea23)return;const _0xa736a=this[_0x5c4acf(0x1b9)](_0x104b2f[_0x5c4acf(0x1a9)][_0x5c4acf(0x1a6)](_0x5c4acf(0x1cc)))[_0x5c4acf(0x1a5)]((_0x5b8d4e,_0xddb513)=>{const _0xc77815=_0x5c4acf,_0xde2d1c=this[_0xc77815(0x1e1)](_0xddb513[_0xc77815(0x1cd)]);return _0x5b8d4e[_0xde2d1c]||(_0x5b8d4e[_0xde2d1c]=[]),_0x5b8d4e[_0xde2d1c][_0xc77815(0x1d8)](_0xddb513),_0x5b8d4e;},{});_0x104b2f[_0x5c4acf(0x1e5)][_0x5c4acf(0x1e3)](_0x5c4acf(0x1ec))&&_0x104b2f[_0x5c4acf(0x1f2)][_0x5c4acf(0x1a6)](_0x5c4acf(0x1c4))&&Object[_0x5c4acf(0x1b5)](_0xa736a)[_0x5c4acf(0x1e9)](([_0x30fa0c,_0x10c7f0])=>{const _0xbed4e6=_0x5c4acf;_0x104b2f[_0xbed4e6(0x1e5)][_0xbed4e6(0x1a6)](_0xbed4e6(0x1ec))[_0xbed4e6(0x1b7)]({'name':_0x30fa0c,'observable':()=>_0x44ea23,'buttonViewCreator':()=>this[_0xbed4e6(0x1df)](_0x10c7f0),'formViewCreator':()=>this[_0xbed4e6(0x1f0)](_0x10c7f0),'menuBarButtonViewCreator':()=>this[_0xbed4e6(0x1b2)](_0x10c7f0),'override':_0xbed4e6(0x1ba)!==_0x30fa0c});});}[_0x2d4071(0x1e7)](){const _0x264ebf=_0x2d4071;super[_0x264ebf(0x1e7)](),this[_0x264ebf(0x1dd)]&&clearInterval(this[_0x264ebf(0x1dd)]);}[_0x2d4071(0x1b9)](_0x50592f){const _0x5cc521=_0x2d4071,{locale:_0x267fce}=this[_0x5cc521(0x1c0)];return _0x50592f[_0x5cc521(0x1ae)](_0x5e14ad=>{const _0x2bf0aa=_0x5cc521,_0x57f3bc=_0x2c1e69(_0x267fce,_0x5e14ad,_0x2bf0aa(0x1ab));switch(_0x5e14ad){case _0x328805[_0x2bf0aa(0x1a3)]:return{'icon':_0xfb1072,'type':_0x328805[_0x2bf0aa(0x1a3)],..._0x57f3bc};case _0x328805[_0x2bf0aa(0x1d9)]:return{'icon':_0x4c005c,'type':_0x328805[_0x2bf0aa(0x1d9)],..._0x57f3bc};case _0x328805[_0x2bf0aa(0x1ef)]:return{'icon':_0x58290f,'type':_0x328805[_0x2bf0aa(0x1ef)],..._0x57f3bc};case _0x328805[_0x2bf0aa(0x1b1)]:return{'icon':_0x594bc4,'type':_0x328805[_0x2bf0aa(0x1b1)],..._0x57f3bc};case _0x328805[_0x2bf0aa(0x1dc)]:return{'icon':_0x57637a,'type':_0x328805[_0x2bf0aa(0x1dc)],..._0x57f3bc};case _0x328805[_0x2bf0aa(0x1ca)]:return{'icon':_0x5129c2,'type':_0x328805[_0x2bf0aa(0x1ca)],..._0x57f3bc};case _0x328805[_0x2bf0aa(0x1db)]:return{'icon':_0x44304e,'type':_0x328805[_0x2bf0aa(0x1db)],..._0x57f3bc};}});}[_0x2d4071(0x1e1)](_0x11e66d){const _0x26fa0f=_0x2d4071;switch(_0x11e66d){case _0x328805[_0x26fa0f(0x1a3)]:return _0x26fa0f(0x1da);case _0x328805[_0x26fa0f(0x1d9)]:return _0x26fa0f(0x1e2);default:return _0x26fa0f(0x1ba);}}[_0x2d4071(0x1d0)](_0x4d1884,_0x1aef5a){const _0x5878bf=_0x2d4071,_0x498991=this[_0x5878bf(0x1c0)],_0x58eca5=new _0x4d1884(_0x498991[_0x5878bf(0x1e0)]),_0x4e7958=_0x498991[_0x5878bf(0x1f2)][_0x5878bf(0x1a6)](_0x5878bf(0x1c4));return _0x58eca5[_0x5878bf(0x1a4)](_0x5878bf(0x1b4))['to'](_0x4e7958),_0x58eca5['on'](_0x5878bf(0x1ac),()=>{const _0x41af91=_0x5878bf;_0x4e7958[_0x41af91(0x1ac)](_0x1aef5a);}),_0x58eca5;}[_0x2d4071(0x1df)](_0x40fdc0){const _0xe3dd50=_0x2d4071,{locale:_0x7d0a8b}=this[_0xe3dd50(0x1c0)],_0x339807=this[_0xe3dd50(0x1c0)][_0xe3dd50(0x1e5)][_0xe3dd50(0x1a6)](_0xe3dd50(0x1ec)),_0x416851=_0x40fdc0[0x0],_0x51a129=this[_0xe3dd50(0x1d0)](_0x3ab055,_0x416851[_0xe3dd50(0x1cd)]);return _0x51a129[_0xe3dd50(0x1c8)]=_0x416851[_0xe3dd50(0x1c8)],_0x51a129[_0xe3dd50(0x1a4)](_0xe3dd50(0x1be))['to'](_0x339807,_0xe3dd50(0x1e6),_0x1324d3=>_0x2c1e69(_0x7d0a8b,_0x416851[_0xe3dd50(0x1cd)],_0x1324d3?_0xe3dd50(0x1d4):_0xe3dd50(0x1ab))[_0xe3dd50(0x1d6)]),_0x51a129[_0xe3dd50(0x1a7)]=!0x0,_0x51a129;}[_0x2d4071(0x1f0)](_0x28d034){const _0x45b0c9=_0x2d4071,{locale:_0x5ed579}=this[_0x45b0c9(0x1c0)],_0x722c80=this[_0x45b0c9(0x1c0)][_0x45b0c9(0x1e5)][_0x45b0c9(0x1a6)](_0x45b0c9(0x1ec));return _0x28d034[_0x45b0c9(0x1ae)](_0x4a7ee6=>{const _0x10035d=_0x45b0c9,_0x5bc08e=this[_0x10035d(0x1d0)](_0x3ab055,_0x4a7ee6[_0x10035d(0x1cd)]);return _0x5bc08e[_0x10035d(0x1b8)]=!0x0,_0x5bc08e[_0x10035d(0x1c8)]=_0x4a7ee6[_0x10035d(0x1c8)],_0x5bc08e[_0x10035d(0x1a4)](_0x10035d(0x1be))['to'](_0x722c80,_0x10035d(0x1e6),_0x3d4807=>_0x2c1e69(_0x5ed579,_0x4a7ee6[_0x10035d(0x1cd)],_0x3d4807?_0x10035d(0x1d4):_0x10035d(0x1ab))[_0x10035d(0x1d6)]),_0x5bc08e;});}[_0x2d4071(0x1b2)](_0x3efa41){const _0x13aa45=_0x2d4071;return _0x3efa41[_0x13aa45(0x1ae)](_0x441fc4=>{const _0x1b05fe=_0x13aa45,_0x49dfb4=this[_0x1b05fe(0x1d0)](_0x117e7a,_0x441fc4[_0x1b05fe(0x1cd)]);return _0x49dfb4[_0x1b05fe(0x1c8)]=_0x441fc4[_0x1b05fe(0x1c8)],_0x49dfb4[_0x1b05fe(0x1be)]=_0x441fc4[_0x1b05fe(0x1cf)],_0x49dfb4;});}}
23
+ function _0x36d1(_0x85d1d2,_0x393ddd){const _0x1936dc=_0x1936();return _0x36d1=function(_0x36d16a,_0x17d25a){_0x36d16a=_0x36d16a-0x111;let _0x373b45=_0x1936dc[_0x36d16a];return _0x373b45;},_0x36d1(_0x85d1d2,_0x393ddd);}const _0x5c15d3=_0x36d1;(function(_0x1451d1,_0x24be4f){const _0x43261d=_0x36d1,_0x151641=_0x1451d1();while(!![]){try{const _0x3fd3bb=parseInt(_0x43261d(0x12c))/0x1+-parseInt(_0x43261d(0x155))/0x2*(-parseInt(_0x43261d(0x118))/0x3)+parseInt(_0x43261d(0x115))/0x4*(parseInt(_0x43261d(0x131))/0x5)+parseInt(_0x43261d(0x13c))/0x6*(-parseInt(_0x43261d(0x12b))/0x7)+-parseInt(_0x43261d(0x11f))/0x8*(parseInt(_0x43261d(0x161))/0x9)+parseInt(_0x43261d(0x14a))/0xa+-parseInt(_0x43261d(0x14f))/0xb*(parseInt(_0x43261d(0x137))/0xc);if(_0x3fd3bb===_0x24be4f)break;else _0x151641['push'](_0x151641['shift']());}catch(_0x13b49e){_0x151641['push'](_0x151641['shift']());}}}(_0x1936,0x28b78));import{Plugin as _0x1791e6}from'ckeditor5/src/core.js';import{IconDropbox as _0x13d8e3,IconFacebook as _0x9b4b42,IconGoogleDrive as _0x4fc624,IconGooglePhotos as _0x488380,IconUploadcareImageUpload as _0x219898,IconUploadcareLink as _0x26d679,IconOneDrive as _0x4923d7}from'ckeditor5/src/icons.js';import{ButtonView as _0x5294a4,MenuBarMenuListItemButtonView as _0xd32599}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2c0365}from'./uploadcareconfig.js';import{getTranslation as _0xe960a0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x1936(){const _0x4b6482=['get','featureNotAllowed','withText','evaluationLimit','destroy','8DuqLoX','_normalizeConfigSourceList','label','Insert','locale','uploadcareLicenseKeyUsageLimit','has','text','_createDropdownButtons','ImageInsertUI','uploadcareLicenseKeyDomainLimit','url','18NCwDCN','init','forEach','assetManager','uploadcareLicenseKeyNotAllowed','81996sWPvgR','Local','plugins','71466JySGlZ','config','afterInit','GDrive','isOfficialPlugin','isPremiumPlugin','map','1272424FPuFhV','isImageSelected','pluginName','_getIntegrationKey','entries','push','usageLimit','GPhotos','registerIntegration','_createMenuBarButtons','licenseKey','icon','7qLqDQB','43376ubiber','OneDrive','uploadcareLicenseKeyValid','commands','upload','75cUSwHZ','_showLicenseError','tooltip','Uploadcare','uploadcareLicenseKeyExpired','uploadcareLicenseKeyEvaluationLimit','685380Ajtzqu','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','reduce','bind','394734AyHnSm','editor','uploadcare','Facebook','URL','expired','UploadcareUI','type','invalid','domainLimit','isEnabled','_createToolbarButton','Dropbox','_licenseKeyCheckInterval','1616370wlzWno','shortText','Replace','execute','_createButton','11KMnxEn'];_0x1936=function(){return _0x4b6482;};return _0x1936();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1791e6{[_0x5c15d3(0x129)];[_0x5c15d3(0x149)];static get[_0x5c15d3(0x121)](){const _0x398077=_0x5c15d3;return _0x398077(0x142);}static get[_0x5c15d3(0x11c)](){return!0x0;}static get[_0x5c15d3(0x11d)](){return!0x0;}[_0x5c15d3(0x111)](){const _0x101e75=_0x5c15d3;this[_0x101e75(0x129)]=this[_0x101e75(0x13d)][_0x101e75(0x119)][_0x101e75(0x150)](_0x101e75(0x129));const _0x19e6d1=this[_0x101e75(0x13d)];this[_0x101e75(0x149)]=setInterval(()=>{const _0x24129e=_0x101e75;let _0xec32bc;for(const _0x52393e in _0x19e6d1){const _0x5583e8=_0x52393e,_0x5c38be=_0x19e6d1[_0x5583e8];if(_0x24129e(0x12e)==_0x5c38be||_0x24129e(0x138)==_0x5c38be||_0x24129e(0x135)==_0x5c38be||_0x24129e(0x15f)==_0x5c38be||_0x24129e(0x114)==_0x5c38be||_0x24129e(0x136)==_0x5c38be||_0x24129e(0x15a)==_0x5c38be){delete _0x19e6d1[_0x5583e8],_0xec32bc=_0x5c38be,clearInterval(this[_0x24129e(0x149)]),this[_0x24129e(0x149)]=void 0x0;break;}}_0x24129e(0x138)==_0xec32bc&&_0x19e6d1[_0x24129e(0x132)](_0x24129e(0x144)),_0x24129e(0x135)==_0xec32bc&&_0x19e6d1[_0x24129e(0x132)](_0x24129e(0x141)),_0x24129e(0x15f)==_0xec32bc&&_0x19e6d1[_0x24129e(0x132)](_0x24129e(0x145)),_0x24129e(0x114)==_0xec32bc&&_0x19e6d1[_0x24129e(0x132)](_0x24129e(0x151),_0x24129e(0x134)),_0x24129e(0x136)==_0xec32bc&&_0x19e6d1[_0x24129e(0x132)](_0x24129e(0x153)),_0x24129e(0x15a)==_0xec32bc&&_0x19e6d1[_0x24129e(0x132)](_0x24129e(0x125));},0x3e8);}[_0x5c15d3(0x11a)](){const _0x5334f6=_0x5c15d3,{editor:_0x34f00e}=this,_0x5a3027=_0x34f00e[_0x5334f6(0x12f)][_0x5334f6(0x150)](_0x5334f6(0x13e));if(!_0x5a3027)return;const _0x1c076a=this[_0x5334f6(0x156)](_0x34f00e[_0x5334f6(0x119)][_0x5334f6(0x150)](_0x5334f6(0x139)))[_0x5334f6(0x13a)]((_0x471cd8,_0x209da7)=>{const _0x176223=_0x5334f6,_0x13bddf=this[_0x176223(0x122)](_0x209da7[_0x176223(0x143)]);return _0x471cd8[_0x13bddf]||(_0x471cd8[_0x13bddf]=[]),_0x471cd8[_0x13bddf][_0x176223(0x124)](_0x209da7),_0x471cd8;},{});_0x34f00e[_0x5334f6(0x117)][_0x5334f6(0x15b)](_0x5334f6(0x15e))&&_0x34f00e[_0x5334f6(0x12f)][_0x5334f6(0x150)](_0x5334f6(0x13e))&&Object[_0x5334f6(0x123)](_0x1c076a)[_0x5334f6(0x112)](([_0x38d295,_0x550761])=>{const _0x74b6b5=_0x5334f6;_0x34f00e[_0x74b6b5(0x117)][_0x74b6b5(0x150)](_0x74b6b5(0x15e))[_0x74b6b5(0x127)]({'name':_0x38d295,'observable':()=>_0x5a3027,'buttonViewCreator':()=>this[_0x74b6b5(0x147)](_0x550761),'formViewCreator':()=>this[_0x74b6b5(0x15d)](_0x550761),'menuBarButtonViewCreator':()=>this[_0x74b6b5(0x128)](_0x550761),'override':_0x74b6b5(0x113)!==_0x38d295});});}[_0x5c15d3(0x154)](){const _0xec0a5d=_0x5c15d3;super[_0xec0a5d(0x154)](),this[_0xec0a5d(0x149)]&&clearInterval(this[_0xec0a5d(0x149)]);}[_0x5c15d3(0x156)](_0x4dae78){const _0x1f24d7=_0x5c15d3,{locale:_0x558ea9}=this[_0x1f24d7(0x13d)];return _0x4dae78[_0x1f24d7(0x11e)](_0x534fa7=>{const _0x1f6d87=_0x1f24d7,_0x17b255=_0xe960a0(_0x558ea9,_0x534fa7,_0x1f6d87(0x158));switch(_0x534fa7){case _0x2c0365[_0x1f6d87(0x116)]:return{'icon':_0x219898,'type':_0x2c0365[_0x1f6d87(0x116)],..._0x17b255};case _0x2c0365[_0x1f6d87(0x140)]:return{'icon':_0x26d679,'type':_0x2c0365[_0x1f6d87(0x140)],..._0x17b255};case _0x2c0365[_0x1f6d87(0x148)]:return{'icon':_0x13d8e3,'type':_0x2c0365[_0x1f6d87(0x148)],..._0x17b255};case _0x2c0365[_0x1f6d87(0x13f)]:return{'icon':_0x9b4b42,'type':_0x2c0365[_0x1f6d87(0x13f)],..._0x17b255};case _0x2c0365[_0x1f6d87(0x11b)]:return{'icon':_0x4fc624,'type':_0x2c0365[_0x1f6d87(0x11b)],..._0x17b255};case _0x2c0365[_0x1f6d87(0x126)]:return{'icon':_0x488380,'type':_0x2c0365[_0x1f6d87(0x126)],..._0x17b255};case _0x2c0365[_0x1f6d87(0x12d)]:return{'icon':_0x4923d7,'type':_0x2c0365[_0x1f6d87(0x12d)],..._0x17b255};}});}[_0x5c15d3(0x122)](_0x375fe2){const _0x152ce3=_0x5c15d3;switch(_0x375fe2){case _0x2c0365[_0x152ce3(0x116)]:return _0x152ce3(0x130);case _0x2c0365[_0x152ce3(0x140)]:return _0x152ce3(0x160);default:return _0x152ce3(0x113);}}[_0x5c15d3(0x14e)](_0x1c771b,_0x3373d0){const _0xeacbc3=_0x5c15d3,_0x28b4fe=this[_0xeacbc3(0x13d)],_0x215d33=new _0x1c771b(_0x28b4fe[_0xeacbc3(0x159)]),_0x54f966=_0x28b4fe[_0xeacbc3(0x12f)][_0xeacbc3(0x150)](_0xeacbc3(0x13e));return _0x215d33[_0xeacbc3(0x13b)](_0xeacbc3(0x146))['to'](_0x54f966),_0x215d33['on'](_0xeacbc3(0x14d),()=>{const _0x59a87d=_0xeacbc3;_0x54f966[_0x59a87d(0x14d)](_0x3373d0);}),_0x215d33;}[_0x5c15d3(0x147)](_0x1713dc){const _0x3405b0=_0x5c15d3,{locale:_0xacbf2f}=this[_0x3405b0(0x13d)],_0x366fcc=this[_0x3405b0(0x13d)][_0x3405b0(0x117)][_0x3405b0(0x150)](_0x3405b0(0x15e)),_0x15ece4=_0x1713dc[0x0],_0x5bd7cd=this[_0x3405b0(0x14e)](_0x5294a4,_0x15ece4[_0x3405b0(0x143)]);return _0x5bd7cd[_0x3405b0(0x12a)]=_0x15ece4[_0x3405b0(0x12a)],_0x5bd7cd[_0x3405b0(0x13b)](_0x3405b0(0x157))['to'](_0x366fcc,_0x3405b0(0x120),_0xcb82b6=>_0xe960a0(_0xacbf2f,_0x15ece4[_0x3405b0(0x143)],_0xcb82b6?_0x3405b0(0x14c):_0x3405b0(0x158))[_0x3405b0(0x15c)]),_0x5bd7cd[_0x3405b0(0x133)]=!0x0,_0x5bd7cd;}[_0x5c15d3(0x15d)](_0x79457e){const _0xac0ebc=_0x5c15d3,{locale:_0x3d96a0}=this[_0xac0ebc(0x13d)],_0x5039bd=this[_0xac0ebc(0x13d)][_0xac0ebc(0x117)][_0xac0ebc(0x150)](_0xac0ebc(0x15e));return _0x79457e[_0xac0ebc(0x11e)](_0x33fee2=>{const _0x530a20=_0xac0ebc,_0xae7f0c=this[_0x530a20(0x14e)](_0x5294a4,_0x33fee2[_0x530a20(0x143)]);return _0xae7f0c[_0x530a20(0x152)]=!0x0,_0xae7f0c[_0x530a20(0x12a)]=_0x33fee2[_0x530a20(0x12a)],_0xae7f0c[_0x530a20(0x13b)](_0x530a20(0x157))['to'](_0x5039bd,_0x530a20(0x120),_0x2a12f6=>_0xe960a0(_0x3d96a0,_0x33fee2[_0x530a20(0x143)],_0x2a12f6?_0x530a20(0x14c):_0x530a20(0x158))[_0x530a20(0x15c)]),_0xae7f0c;});}[_0x5c15d3(0x128)](_0x22440f){const _0x38c49e=_0x5c15d3;return _0x22440f[_0x38c49e(0x11e)](_0x45ecab=>{const _0x39e5eb=_0x38c49e,_0x4feca0=this[_0x39e5eb(0x14e)](_0xd32599,_0x45ecab[_0x39e5eb(0x143)]);return _0x4feca0[_0x39e5eb(0x12a)]=_0x45ecab[_0x39e5eb(0x12a)],_0x4feca0[_0x39e5eb(0x157)]=_0x45ecab[_0x39e5eb(0x14b)],_0x4feca0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4101d9}from'ckeditor5/src/core.js';import{FileRepository as _0x40573c}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xc92991}from'./uploadcareediting.js';import{UploadUtils as _0x4fc9cd}from'./utils/uploadutils.js';import{getImageUrls as _0x1dc3c9}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4101d9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x40573c,_0xc92991];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4f7696=this['editor'];if(!!!_0x4f7696['config']['get']('uploadcare'))return;_0x4f7696['plugins']['get'](_0x40573c)['createUploadAdapter']=_0xad0e7b=>new k(_0xad0e7b,_0x4f7696),_0x4f7696['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xee6c38,{imageElement:_0x4f0969,data:_0x3ddd21})=>{_0x4f7696['model']['change'](_0x2a6bbd=>{_0x2a6bbd['setAttribute']('uploadcareImageId',_0x3ddd21['uploadcareImageId'],_0x4f0969);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1b0c6b,_0x48b61f){this['loader']=_0x1b0c6b,this['editor']=_0x48b61f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4cb7fa=await this['loader']['file'];return _0x4fc9cd['upload']({'file':_0x4cb7fa,'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':_0x10ebba=>{_0x10ebba&&_0x10ebba['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x10ebba['value']);}})['then'](async _0x472871=>{const {imageFallbackUrl:_0x3cc033,imageSources:_0x1b52fd}=_0x1dc3c9(_0x472871['cdnUrl'],_0x472871['imageInfo']['width']);return{'uploadcareImageId':_0x472871['uuid'],'default':_0x3cc033,'sources':_0x1b52fd};})['catch'](()=>{const _0x1cdb6f=t('Cannot\x20upload\x20file:')+('\x20'+_0x4cb7fa['name']+'.');return Promise['reject'](_0x1cdb6f);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x112a79}from'ckeditor5/src/core.js';import{FileRepository as _0x2a1c61}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x48fe09}from'./uploadcareediting.js';import{UploadUtils as _0x260e0a}from'./utils/uploadutils.js';import{getImageUrls as _0x570a13}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x112a79{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2a1c61,_0x48fe09];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5da2c8=this['editor'];if(!!!_0x5da2c8['config']['get']('uploadcare'))return;_0x5da2c8['plugins']['get'](_0x2a1c61)['createUploadAdapter']=_0x449e0c=>new k(_0x449e0c,_0x5da2c8),_0x5da2c8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2ee3de,{imageElement:_0x14deb0,data:_0x109d8f})=>{_0x5da2c8['model']['change'](_0xd565fe=>{_0xd565fe['setAttribute']('uploadcareImageId',_0x109d8f['uploadcareImageId'],_0x14deb0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xcb0e53,_0x5eae4a){this['loader']=_0xcb0e53,this['editor']=_0x5eae4a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3f116b=await this['loader']['file'];return _0x260e0a['upload']({'file':_0x3f116b,'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':_0x57bb32=>{_0x57bb32&&_0x57bb32['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x57bb32['value']);}})['then'](async _0x2fad51=>{const {imageFallbackUrl:_0x122c78,imageSources:_0x5e9930}=_0x570a13(_0x2fad51['cdnUrl'],_0x2fad51['imageInfo']['width']);return{'uploadcareImageId':_0x2fad51['uuid'],'default':_0x122c78,'sources':_0x5e9930};})['catch'](()=>{const _0x3560ee=t('Cannot\x20upload\x20file:')+('\x20'+_0x3f116b['name']+'.');return Promise['reject'](_0x3560ee);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x46b654}from'../uploadcareconfig.js';export function getTranslation(_0x2650d0,_0x5274b9,_0x2397dd){const t=_0x2650d0['t'],_0x3a906b=_0x2650d0['t'];switch(_0x5274b9){case _0x46b654['Local']:return{'text':_0x3a906b('Insert'===_0x2397dd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3a906b('From\x20computer')};case _0x46b654['URL']:return{'text':'Insert'===_0x2397dd?_0x3a906b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3a906b('Via\x20URL')};case _0x46b654['Dropbox']:return{'text':t('Insert'===_0x2397dd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x46b654['Facebook']:return{'text':t('Insert'===_0x2397dd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x46b654['GDrive']:return{'text':t('Insert'===_0x2397dd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x46b654['GPhotos']:return{'text':t('Insert'===_0x2397dd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x46b654['OneDrive']:return{'text':t('Insert'===_0x2397dd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5274b9;}}
23
+ import{UploadcareSource as _0x590956}from'../uploadcareconfig.js';export function getTranslation(_0x2a3100,_0x9625a1,_0x3ba228){const t=_0x2a3100['t'],_0x2b4bc7=_0x2a3100['t'];switch(_0x9625a1){case _0x590956['Local']:return{'text':_0x2b4bc7('Insert'===_0x3ba228?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2b4bc7('From\x20computer')};case _0x590956['URL']:return{'text':'Insert'===_0x3ba228?_0x2b4bc7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2b4bc7('Via\x20URL')};case _0x590956['Dropbox']:return{'text':t('Insert'===_0x3ba228?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x590956['Facebook']:return{'text':t('Insert'===_0x3ba228?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x590956['GDrive']:return{'text':t('Insert'===_0x3ba228?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x590956['GPhotos']:return{'text':t('Insert'===_0x3ba228?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x590956['OneDrive']:return{'text':t('Insert'===_0x3ba228?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x9625a1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20f2(_0x5868f9,_0x1e61ae){var _0x28e405=_0x28e4();return _0x20f2=function(_0x20f23e,_0x2940c7){_0x20f23e=_0x20f23e-0x66;var _0x2eaea2=_0x28e405[_0x20f23e];return _0x2eaea2;},_0x20f2(_0x5868f9,_0x1e61ae);}var _0x2f57e3=_0x20f2;function _0x28e4(){var _0xb3e7d9=['forwardCycle','getFocusableElement','bindTemplate','true','670500KIDSqE','11587989tYxQca','9361602EmIXUC','div','focusCycler','9016515PbiSic','2855344JCjNNI','focusTracker','1028694RcafgF','6eUddzw','fire','createCollection','29870240wvpcth'];_0x28e4=function(){return _0xb3e7d9;};return _0x28e4();}(function(_0x51637b,_0x17e2bf){var _0x132c10=_0x20f2,_0x54386b=_0x51637b();while(!![]){try{var _0x36c909=parseInt(_0x132c10(0x67))/0x1+parseInt(_0x132c10(0x6f))/0x2*(-parseInt(_0x132c10(0x70))/0x3)+-parseInt(_0x132c10(0x6d))/0x4+-parseInt(_0x132c10(0x6c))/0x5+-parseInt(_0x132c10(0x69))/0x6+parseInt(_0x132c10(0x68))/0x7+parseInt(_0x132c10(0x73))/0x8;if(_0x36c909===_0x17e2bf)break;else _0x54386b['push'](_0x54386b['shift']());}catch(_0xef9f3d){_0x54386b['push'](_0x54386b['shift']());}}}(_0x28e4,0xe8d07));import{FocusTracker as _0x1ed9d9}from'ckeditor5/src/utils.js';import{View as _0x4a6a09,FocusCycler as _0x2d7d6d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4a6a09{[_0x2f57e3(0x6e)];[_0x2f57e3(0x6b)];constructor(_0x2c3e80){var _0x1c743d=_0x2f57e3;super(_0x2c3e80),this[_0x1c743d(0x6e)]=new _0x1ed9d9(),this[_0x1c743d(0x6b)]=new _0x2d7d6d({'focusables':this[_0x1c743d(0x72)](),'focusTracker':this[_0x1c743d(0x6e)]});}[_0x2f57e3(0x75)](){var _0x46a737=_0x2f57e3;return{'tag':_0x46a737(0x6a),'attributes':{'aria-hidden':_0x46a737(0x66),'tabindex':'0'},'on':{'focus':this[_0x46a737(0x76)]['to'](()=>{var _0xa38d6e=_0x46a737;this[_0xa38d6e(0x6b)][_0xa38d6e(0x71)](_0xa38d6e(0x74));})}};}}
23
+ var _0x2f8398=_0xfc2f;(function(_0x21710a,_0x5a295e){var _0x34343e=_0xfc2f,_0x22f384=_0x21710a();while(!![]){try{var _0x81c1ed=-parseInt(_0x34343e(0xbe))/0x1+-parseInt(_0x34343e(0xc7))/0x2*(-parseInt(_0x34343e(0xbd))/0x3)+-parseInt(_0x34343e(0xc8))/0x4*(parseInt(_0x34343e(0xc9))/0x5)+-parseInt(_0x34343e(0xc2))/0x6*(-parseInt(_0x34343e(0xcc))/0x7)+-parseInt(_0x34343e(0xbf))/0x8*(-parseInt(_0x34343e(0xbc))/0x9)+parseInt(_0x34343e(0xc4))/0xa+-parseInt(_0x34343e(0xc0))/0xb;if(_0x81c1ed===_0x5a295e)break;else _0x22f384['push'](_0x22f384['shift']());}catch(_0x4349fe){_0x22f384['push'](_0x22f384['shift']());}}}(_0x5de4,0x9bec4));import{FocusTracker as _0xe0cf5a}from'ckeditor5/src/utils.js';function _0x5de4(){var _0x47ca26=['focusCycler','true','14gWUcHX','getFocusableElement','bindTemplate','div','66420jENzBB','1202697YunhPt','901798ZubQAH','544uHlQlU','8543062EvZOAQ','createCollection','197058fYMdqo','focusTracker','10673430cXmOJZ','fire','forwardCycle','6cWnatR','1732zWRWwg','6010GpfnTh'];_0x5de4=function(){return _0x47ca26;};return _0x5de4();}import{View as _0x2b562e,FocusCycler as _0xfebfa5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0xfc2f(_0x51326a,_0x97366e){var _0x5de496=_0x5de4();return _0xfc2f=function(_0xfc2f43,_0x14dbcc){_0xfc2f43=_0xfc2f43-0xba;var _0x2da286=_0x5de496[_0xfc2f43];return _0x2da286;},_0xfc2f(_0x51326a,_0x97366e);}export class DialogFocusManagerView extends _0x2b562e{[_0x2f8398(0xc3)];[_0x2f8398(0xca)];constructor(_0x37c35e){var _0x16df2a=_0x2f8398;super(_0x37c35e),this[_0x16df2a(0xc3)]=new _0xe0cf5a(),this[_0x16df2a(0xca)]=new _0xfebfa5({'focusables':this[_0x16df2a(0xc1)](),'focusTracker':this[_0x16df2a(0xc3)]});}[_0x2f8398(0xcd)](){var _0x9270ce=_0x2f8398;return{'tag':_0x9270ce(0xbb),'attributes':{'aria-hidden':_0x9270ce(0xcb),'tabindex':'0'},'on':{'focus':this[_0x9270ce(0xba)]['to'](()=>{var _0x2ed80b=_0x9270ce;this[_0x2ed80b(0xca)][_0x2ed80b(0xc5)](_0x2ed80b(0xc6));})}};}}