@ckeditor/ckeditor5-uploadcare 47.0.0-alpha.8 → 47.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeb9ec=_0x6486;(function(_0x1032d8,_0x160f6c){const _0x3bfc99=_0x6486,_0x43cb7b=_0x1032d8();while(!![]){try{const _0x3e4ade=-parseInt(_0x3bfc99(0x1de))/0x1*(parseInt(_0x3bfc99(0x1db))/0x2)+-parseInt(_0x3bfc99(0x1e1))/0x3+parseInt(_0x3bfc99(0x1fd))/0x4+-parseInt(_0x3bfc99(0x1ce))/0x5+parseInt(_0x3bfc99(0x1c3))/0x6*(parseInt(_0x3bfc99(0x1b0))/0x7)+-parseInt(_0x3bfc99(0x1dc))/0x8*(parseInt(_0x3bfc99(0x1d3))/0x9)+parseInt(_0x3bfc99(0x201))/0xa;if(_0x3e4ade===_0x160f6c)break;else _0x43cb7b['push'](_0x43cb7b['shift']());}catch(_0xf25047){_0x43cb7b['push'](_0x43cb7b['shift']());}}}(_0x5a95,0xf2f9f));import{Plugin as _0x443a1c}from'ckeditor5/src/core.js';function _0x5a95(){const _0x19ce99=['selection','closeMax','remove','replaceImageSource','add','_initCtx','contentLanguage','getAttribute','getSelectedElement','configElement','uploadcare.uploader','UploadcareEditing','iconHrefResolver','data-uc-image-id','removeAttribute','document','PictureEditing','\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','330846mjOjIH','attributeToAttribute','_initSchema','view','_ctxElement','uploadcareImageId','#uc-icon-arrow-down','uc-config','imageInline','downcast','uploadcareImageReplace','6843385euLzFS','pluginName','extend','join','uc-upload-ctx-provider','45nZUJZd','querySelector','input[uploadcare-file-input]','_configElement','uploadcare.pubkey','execute','insertImage','isOfficialPlugin','2743978XTEPtZ','846224LPsMYa','true','1tnfqfn','_initImageProcessingIndicator','cleanupImage','357417ayLZdI','isRegistered','fromCharCode','elementToAttribute','for','model','_initConversion','destroy','listenTo','requires','uploadcare','editor','map','config','locale','once','editing','commands','conversion','get','body','ctxElement','imageBlock','isPremiumPlugin','init','schema','afterInit','uploader-','7725708xuEhwP','_initConfig','ucContextId','href','8534100SybYnX','render','appendChild','upcast','203SfymhT'];_0x5a95=function(){return _0x19ce99;};return _0x5a95();}import{Dialog as _0x524a9d}from'ckeditor5/src/ui.js';function _0x6486(_0x41a229,_0x335220){const _0x5a95d0=_0x5a95();return _0x6486=function(_0x648660,_0x22cdc5){_0x648660=_0x648660-0x1af;let _0x3a278a=_0x5a95d0[_0x648660];return _0x3a278a;},_0x6486(_0x41a229,_0x335220);}import{createElement as _0x844baf,global as _0xa8cc7c,uid as _0x307aaf}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xa8b189}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5b935e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xd5c872}from'./utils/editingutils.js';export class UploadcareEditing extends _0x443a1c{[_0xeb9ec(0x1d6)]=null;[_0xeb9ec(0x1c7)]=null;static get[_0xeb9ec(0x1cf)](){const _0x295ed5=_0xeb9ec;return _0x295ed5(0x1bc);}static get[_0xeb9ec(0x1ea)](){const _0x38e0d2=_0xeb9ec;return[_0x38e0d2(0x1c1),_0x5b935e,_0x524a9d];}static get[_0xeb9ec(0x1da)](){return!0x0;}static get[_0xeb9ec(0x1f8)](){return!0x0;}[_0xeb9ec(0x1ff)];get[_0xeb9ec(0x1ba)](){const _0xfe4faa=_0xeb9ec;return this[_0xfe4faa(0x1d6)];}get[_0xeb9ec(0x1f6)](){const _0x5f42ac=_0xeb9ec;return this[_0x5f42ac(0x1c7)];}constructor(_0x25ffb6){const _0x2a2dcb=_0xeb9ec;super(_0x25ffb6),this[_0x2a2dcb(0x1ff)]=_0x307aaf();}[_0xeb9ec(0x1f9)](){const _0x473f84=_0xeb9ec,_0x5c696b=this[_0x473f84(0x1ec)];_0x5c696b[_0x473f84(0x1f2)][_0x473f84(0x1b5)](_0x473f84(0x1eb),new _0xa8b189(_0x5c696b));}[_0xeb9ec(0x1fb)](){const _0x2dd518=_0xeb9ec;this[_0x2dd518(0x1c5)](),this[_0x2dd518(0x1e7)](),this[_0x2dd518(0x1fe)](),this[_0x2dd518(0x1b6)](),this[_0x2dd518(0x1df)](),this[_0x2dd518(0x1e9)](this[_0x2dd518(0x1ec)],_0x2dd518(0x1e8),()=>{const _0x1260b2=_0x2dd518;this[_0x1260b2(0x1d6)]&&(this[_0x1260b2(0x1d6)][_0x1260b2(0x1b3)](),this[_0x1260b2(0x1d6)]=null),this[_0x1260b2(0x1c7)]&&(this[_0x1260b2(0x1c7)][_0x1260b2(0x1b3)](),this[_0x1260b2(0x1c7)]=null);const _0x2ff3e4=_0xa8cc7c[_0x1260b2(0x1c0)][_0x1260b2(0x1d4)](_0x1260b2(0x1d5));_0x2ff3e4&&_0x2ff3e4[_0x1260b2(0x1b3)]();}),async function(_0x3a7e8c){const _0x2c515e=_0x336207([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2ddcfb=0x3d8d0df,_0x50ca6b=0x3dfa42f^_0x2ddcfb,_0x1a3e71=window[_0x336207([0x44,0x61,0x74,0x65])][_0x336207([0x6e,0x6f,0x77])](),_0x4ef2f2=_0x3a7e8c[_0x336207([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3364cd=new window[(_0x336207([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8da6a3=>{_0x4ef2f2[_0x336207([0x6f,0x6e,0x63,0x65])](_0x336207([0x72,0x65,0x61,0x64,0x79]),_0x8da6a3);}),_0x5dfc08={[_0x336207([0x6b,0x74,0x79])]:_0x336207([0x45,0x43]),[_0x336207([0x75,0x73,0x65])]:_0x336207([0x73,0x69,0x67]),[_0x336207([0x63,0x72,0x76])]:_0x336207([0x50,0x2d,0x32,0x35,0x36]),[_0x336207([0x78])]:_0x336207([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]),[_0x336207([0x79])]:_0x336207([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]),[_0x336207([0x61,0x6c,0x67])]:_0x336207([0x45,0x53,0x32,0x35,0x36])},_0x3c1c1a=_0x4ef2f2[_0x336207([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x336207([0x67,0x65,0x74])](_0x336207([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58a614(){let _0x5613f2,_0x5d1132=null,_0x54ea87=null;try{if(_0x3c1c1a==_0x336207([0x47,0x50,0x4c]))return _0x336207([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5613f2=_0x4a4f39(),!_0x5613f2)return _0x336207([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5613f2[_0x336207([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54ea87=_0x4dba7b(_0x5613f2[_0x336207([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5613f2[_0x336207([0x6a,0x74,0x69])])),await _0x135672()?_0x13f265()?_0x427fb6()?_0x336207([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dd3f3()?(_0x5613f2[_0x336207([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x336207([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d1132=_0x3d9975(_0x336207([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5613f2[_0x336207([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x336207([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d1132=_0x3d9975(_0x336207([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x419972()):_0x336207([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x336207([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x336207([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x336207([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x427fb6(){const _0x170a2a=[_0x336207([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x336207([0x74,0x72,0x69,0x61,0x6c])][_0x336207([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5613f2[_0x336207([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a3e71/0x3e8:0xe10*_0x50ca6b;return _0x5613f2[_0x336207([0x65,0x78,0x70])]<_0x170a2a;}function _0x13f265(){const _0x13db0b=_0x5613f2[_0x336207([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13db0b&&(!!_0x13db0b[_0x336207([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x336207([0x2a]))||!!_0x13db0b[_0x336207([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x336207([0x55,0x50,0x4c,0x43])));}function _0x4dd3f3(){const _0x56c43f=_0x6486,_0x32b261=_0x5613f2[_0x336207([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32b261||0x0==_0x32b261[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x140fee}=new URL(window[_0x336207([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x56c43f(0x200)]);if(_0x32b261[_0x336207([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x140fee))return!0x0;const _0x109144=_0x140fee[_0x336207([0x73,0x70,0x6c,0x69,0x74])](_0x336207([0x2e]));return _0x32b261[_0x336207([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b6877=>_0x4b6877[_0x336207([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x336207([0x2a])))[_0x336207([0x6d,0x61,0x70])](_0x61ce77=>_0x61ce77[_0x336207([0x73,0x70,0x6c,0x69,0x74])](_0x336207([0x2e])))[_0x336207([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b57df=>_0x4b57df[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x109144[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x336207([0x6d,0x61,0x70])](_0x79f739=>Array(_0x109144[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x79f739[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x336207([0x66,0x69,0x6c,0x6c])](_0x79f739[0x0]===_0x336207([0x2a])?_0x336207([0x2a]):'')[_0x336207([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x79f739))[_0x336207([0x73,0x6f,0x6d,0x65])](_0xd55b36=>_0x109144[_0x336207([0x65,0x76,0x65,0x72,0x79])]((_0x24edb0,_0x94be1f)=>_0xd55b36[_0x94be1f]===_0x24edb0||_0xd55b36[_0x94be1f]===_0x336207([0x2a])));}function _0x419972(){return _0x5d1132&&_0x54ea87?new window[(_0x336207([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d0996,_0x143a3d)=>{_0x5d1132[_0x336207([0x74,0x68,0x65,0x6e])](_0x5d0996,_0x143a3d),_0x54ea87[_0x336207([0x74,0x68,0x65,0x6e])](_0x6b218=>{_0x6b218!=_0x336207([0x56,0x61,0x6c,0x69,0x64])&&_0x5d0996(_0x6b218);},_0x143a3d);}):_0x5d1132||_0x54ea87||_0x336207([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4dba7b(_0x3b0126,_0x1c819d){return new window[(_0x336207([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434074=>{if(_0x455153())return _0x434074(_0x336207([0x56,0x61,0x6c,0x69,0x64]));_0x16633a(),_0x4ef2f2[_0x336207([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x336207([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d3220=!0x1;const _0x5ae24b=_0x307aaf();function _0x5476f2(_0x304f66){return!!_0x304f66&&(typeof _0x304f66===_0x336207([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x304f66===_0x336207([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x304f66[_0x336207([0x74,0x68,0x65,0x6e])]===_0x336207([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x304f66[_0x336207([0x63,0x61,0x74,0x63,0x68])]===_0x336207([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x87753c(_0x30a749){_0xa739b8(_0x30a749)[_0x336207([0x74,0x68,0x65,0x6e])](_0x49d099=>{if(!_0x49d099||_0x49d099[_0x336207([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x336207([0x6f,0x6b]))return _0x336207([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdc44b7(_0x35d7e2(_0x5ae24b+_0x1c819d))!=_0x49d099[_0x336207([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x336207([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x336207([0x56,0x61,0x6c,0x69,0x64]);})[_0x336207([0x74,0x68,0x65,0x6e])](_0x4eeee3=>(_0x249ce7(),_0x4eeee3),()=>{const _0x18f785=_0x11b37c();return null==_0x18f785?(_0x249ce7(),_0x336207([0x56,0x61,0x6c,0x69,0x64])):_0x336207(_0x1a3e71-_0x18f785>(0x27d454df^_0x2ddcfb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x336207([0x74,0x68,0x65,0x6e])](_0x434074)[_0x336207([0x63,0x61,0x74,0x63,0x68])](()=>{_0x434074(_0x336207([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x70b70=0x3ee3e5f^_0x2ddcfb;function _0x249ce7(){const _0x25ab85=_0x336207([0x6c,0x6c,0x63,0x74,0x2d])+_0xdc44b7(_0x35d7e2(_0x3b0126)),_0x38d144=_0x3c684d(_0xdc44b7(window[_0x336207([0x4d,0x61,0x74,0x68])][_0x336207([0x63,0x65,0x69,0x6c])](_0x1a3e71/_0x70b70)));window[_0x336207([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x336207([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25ab85,_0x38d144);}function _0x11b37c(){const _0x471756=_0x336207([0x6c,0x6c,0x63,0x74,0x2d])+_0xdc44b7(_0x35d7e2(_0x3b0126)),_0x20138d=window[_0x336207([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x336207([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x471756);return _0x20138d?window[_0x336207([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c684d(_0x20138d),0x10)*_0x70b70:null;}function _0xa739b8(_0x506699){return new window[(_0x336207([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x850374,_0x227987)=>{_0x506699[_0x336207([0x74,0x68,0x65,0x6e])](_0x850374,_0x227987),window[_0x336207([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x227987,0x3d9041f^_0x2ddcfb);});}}_0x4ef2f2[_0x336207([0x6f,0x6e])](_0x336207([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x268b62,_0x3c8df3)=>{if(_0x3c8df3[0x0]!=_0x3b0126)return _0x434074(_0x336207([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c8df3[0x1]={..._0x3c8df3[0x1],[_0x336207([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ae24b};},{[_0x336207([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x336207([0x68,0x69,0x67,0x68])}),_0x4ef2f2[_0x336207([0x6f,0x6e])](_0x336207([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44f798=>{_0x5476f2(_0x44f798[_0x336207([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d3220=!0x0,_0x87753c(_0x44f798[_0x336207([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x336207([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x336207([0x6c,0x6f,0x77])}),_0x3364cd[_0x336207([0x74,0x68,0x65,0x6e])](()=>{_0x4d3220||_0x434074(_0x336207([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x455153(){return _0x4ef2f2[_0x336207([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x336207([0x76,0x69,0x65,0x77])][_0x336207([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x336207([0x61,0x75,0x74,0x6f]);}function _0x16633a(){_0x4ef2f2[_0x336207([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x336207([0x76,0x69,0x65,0x77])][_0x336207([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x336207([0x61,0x75,0x74,0x6f]);}}function _0x3d9975(_0x10a00d){const _0x2d8fa2=[new window[(_0x336207([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ab162=>setTimeout(_0x2ab162,0x3d1ee13^_0x2ddcfb)),_0x3364cd[_0x336207([0x74,0x68,0x65,0x6e])](()=>new window[(_0x336207([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388a36=>{let _0x51d4d7=0x0;_0x4ef2f2[_0x336207([0x6d,0x6f,0x64,0x65,0x6c])][_0x336207([0x6f,0x6e])](_0x336207([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x368d2f,_0x39d387)=>{_0x39d387[0x0][_0x336207([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51d4d7++,_0x51d4d7==(0x3d8d127^_0x2ddcfb)&&(_0x388a36(),_0x368d2f[_0x336207([0x6f,0x66,0x66])]());});}))];return window[_0x336207([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x336207([0x72,0x61,0x63,0x65])](_0x2d8fa2)[_0x336207([0x74,0x68,0x65,0x6e])](()=>_0x10a00d);}async function _0x37f1b9(){await _0x3364cd,_0x4ef2f2[_0x336207([0x6d,0x6f,0x64,0x65,0x6c])][_0x336207([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb235c4,_0x4ef2f2[_0x336207([0x6d,0x6f,0x64,0x65,0x6c])][_0x336207([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb235c4,_0x4ef2f2[_0x336207([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x336207([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x91f576(_0x10c942){const _0x55c36d=_0x2dacb1();_0x4ef2f2[_0x55c36d]=_0x336207([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10c942,_0x10c942!=_0x336207([0x56,0x61,0x6c,0x69,0x64])&&_0x37f1b9();}function _0x2dacb1(){const _0x5d799c=window[_0x336207([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x336207([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x336207([0x6e,0x6f,0x77])]())[_0x336207([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x336207([0x2e]),'');let _0x44dde5=_0x336207([0x52]);for(let _0x3071c9=0x0;_0x3071c9<_0x5d799c[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3071c9+=0x2){let _0x58d0da=window[_0x336207([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d799c[_0x336207([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3071c9,_0x3071c9+0x2));_0x58d0da>=_0x2c515e[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58d0da-=_0x2c515e[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44dde5+=_0x2c515e[_0x58d0da];}return _0x44dde5;}function _0x4a4f39(){const _0x337169=_0x3c1c1a[_0x336207([0x73,0x70,0x6c,0x69,0x74])](_0x336207([0x2e]));if(0x3!=_0x337169[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5670bf(_0x337169[0x1]);function _0x5670bf(_0x3b9427){const _0x2fbf54=_0xfd37af(_0x3b9427);return _0x2fbf54&&_0x326bf6()?_0x2fbf54:null;function _0x326bf6(){const _0x563184=_0x2fbf54[_0x336207([0x6a,0x74,0x69])],_0x2fe371=window[_0x336207([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x563184[_0x336207([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x563184[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15a4ec={..._0x2fbf54,[_0x336207([0x6a,0x74,0x69])]:_0x563184[_0x336207([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x563184[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15a4ec[_0x336207([0x76,0x63])],_0x35d7e2(_0x15a4ec)==_0x2fe371;}}}async function _0x135672(){let _0x215679=!0x0;try{const _0x12f424=_0x3c1c1a[_0x336207([0x73,0x70,0x6c,0x69,0x74])](_0x336207([0x2e])),[_0x5cde25,_0x27380c,_0x5beb9e]=_0x12f424;return _0x5c4bef(_0x5cde25),await _0x564845(_0x5cde25,_0x27380c,_0x5beb9e),_0x215679;}catch{return!0x1;}function _0x5c4bef(_0x393120){const _0x4b1fbc=_0xfd37af(_0x393120);_0x4b1fbc&&_0x4b1fbc[_0x336207([0x61,0x6c,0x67])]==_0x336207([0x45,0x53,0x32,0x35,0x36])||(_0x215679=!0x1);}async function _0x564845(_0x2b1627,_0x4a6905,_0x215d9b){const _0x16207d=window[_0x336207([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x336207([0x66,0x72,0x6f,0x6d])](_0x5505fb(_0x215d9b),_0x40658d=>_0x40658d[_0x336207([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40cb1c=new window[(_0x336207([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x336207([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b1627+_0x336207([0x2e])+_0x4a6905),_0x2f69bb=window[_0x336207([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x336207([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f69bb)return;const _0x122c26=await _0x2f69bb[_0x336207([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x336207([0x6a,0x77,0x6b]),_0x5dfc08,{[_0x336207([0x6e,0x61,0x6d,0x65])]:_0x336207([0x45,0x43,0x44,0x53,0x41]),[_0x336207([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x336207([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x336207([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f69bb[_0x336207([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x336207([0x6e,0x61,0x6d,0x65])]:_0x336207([0x45,0x43,0x44,0x53,0x41]),[_0x336207([0x68,0x61,0x73,0x68])]:{[_0x336207([0x6e,0x61,0x6d,0x65])]:_0x336207([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x122c26,_0x16207d,_0x40cb1c)||(_0x215679=!0x1);}}function _0xfd37af(_0x38e67f){return _0x38e67f[_0x336207([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x336207([0x65,0x79]))?JSON[_0x336207([0x70,0x61,0x72,0x73,0x65])](_0x5505fb(_0x38e67f)):null;}function _0x5505fb(_0x2946dd){return window[_0x336207([0x61,0x74,0x6f,0x62])](_0x2946dd[_0x336207([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x336207([0x2b]))[_0x336207([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x336207([0x2f])));}function _0x35d7e2(_0x1ecc42){let _0x7809f8=0x1505;function _0x30c51f(_0x313e0b){for(let _0x1721c3=0x0;_0x1721c3<_0x313e0b[_0x336207([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1721c3++){const _0x2fd7a3=_0x313e0b[_0x336207([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1721c3);_0x7809f8=(_0x7809f8<<0x5)+_0x7809f8+_0x2fd7a3,_0x7809f8&=_0x7809f8;}}function _0x505234(_0x5aa3f8){Array[_0x336207([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5aa3f8)?_0x5aa3f8[_0x336207([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x505234):_0x5aa3f8&&typeof _0x5aa3f8==_0x336207([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x336207([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5aa3f8)[_0x336207([0x73,0x6f,0x72,0x74])]()[_0x336207([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x185dd1,_0x5bf988])=>{_0x30c51f(_0x185dd1),_0x505234(_0x5bf988);}):_0x30c51f(window[_0x336207([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5aa3f8));}return _0x505234(_0x1ecc42),_0x7809f8>>>0x0;}function _0xdc44b7(_0x146d49){return _0x146d49[_0x336207([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x336207([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x336207([0x30]));}function _0x3c684d(_0x4f3958){return _0x4f3958[_0x336207([0x73,0x70,0x6c,0x69,0x74])]('')[_0x336207([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x336207([0x6a,0x6f,0x69,0x6e])]('');}function _0xb235c4(){}function _0x336207(_0x2b0747){const _0x1b7d05=_0x6486;return _0x2b0747[_0x1b7d05(0x1ed)](_0x2c2bf6=>String[_0x1b7d05(0x1e3)](_0x2c2bf6))[_0x1b7d05(0x1d1)]('');}_0x91f576(await _0x58a614());}(this);}[_0xeb9ec(0x1c5)](){const _0x566f5e=_0xeb9ec,_0x807b93=this[_0x566f5e(0x1ec)][_0x566f5e(0x1e6)][_0x566f5e(0x1fa)];_0x807b93[_0x566f5e(0x1e2)](_0x566f5e(0x1f7))&&_0x807b93[_0x566f5e(0x1d0)](_0x566f5e(0x1f7),{'allowAttributes':[_0x566f5e(0x1c8)]}),_0x807b93[_0x566f5e(0x1e2)](_0x566f5e(0x1cb))&&_0x807b93[_0x566f5e(0x1d0)](_0x566f5e(0x1cb),{'allowAttributes':[_0x566f5e(0x1c8)]});}[_0xeb9ec(0x1e7)](){const _0x445460=_0xeb9ec,_0x572aa6=this[_0x445460(0x1ec)];_0x572aa6[_0x445460(0x1f3)][_0x445460(0x1e5)](_0x445460(0x1cc))[_0x445460(0x1c4)]({'model':_0x445460(0x1c8),'view':_0x445460(0x1be)}),_0x572aa6[_0x445460(0x1f3)][_0x445460(0x1e5)](_0x445460(0x1af))[_0x445460(0x1e4)]({'model':{'key':_0x445460(0x1c8),'value':_0x20446b=>_0x20446b[_0x445460(0x1b8)](_0x445460(0x1be))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2a251b=_0x572aa6[_0x445460(0x1f2)][_0x445460(0x1f4)](_0x445460(0x1b4));_0x2a251b&&this[_0x445460(0x1e9)](_0x2a251b,_0x445460(0x1e0),(_0x4e5277,[_0x1cae0a,_0x1926e4])=>{const _0x75cee7=_0x445460;_0x1cae0a[_0x75cee7(0x1bf)](_0x75cee7(0x1c8),_0x1926e4);});}[_0xeb9ec(0x1fe)](){const _0x1744cf=_0xeb9ec,_0x5be6a0=this[_0x1744cf(0x1ec)][_0x1744cf(0x1ee)][_0x1744cf(0x1f4)](_0x1744cf(0x1bb))||{},_0x4e6c82=this[_0x1744cf(0x1ec)][_0x1744cf(0x1ee)][_0x1744cf(0x1f4)](_0x1744cf(0x1d7))||'';this[_0x1744cf(0x1d6)]=_0x844baf(_0xa8cc7c[_0x1744cf(0x1c0)],_0x1744cf(0x1ca),{..._0x5be6a0,'pubkey':_0x4e6c82,'ctx-name':_0x1744cf(0x1fc)+this[_0x1744cf(0x1ff)],'sourceList':'','imgOnly':_0x1744cf(0x1dd),'removeCopyright':_0x1744cf(0x1dd),'localeName':this[_0x1744cf(0x1ec)][_0x1744cf(0x1ef)][_0x1744cf(0x1b7)],'externalSourcesEmbedCss':_0x1744cf(0x1c2)}),this[_0x1744cf(0x1d6)][_0x1744cf(0x1bd)]=_0x554ca3=>{const _0x4d8a1f=_0x1744cf;if(_0x4d8a1f(0x1b2)==_0x554ca3)return _0x4d8a1f(0x1c9);},_0xa8cc7c[_0x1744cf(0x1c0)][_0x1744cf(0x1f5)][_0x1744cf(0x203)](this[_0x1744cf(0x1d6)]);}[_0xeb9ec(0x1b6)](){const _0x455360=_0xeb9ec;this[_0x455360(0x1c7)]=_0x844baf(_0xa8cc7c[_0x455360(0x1c0)],_0x455360(0x1d2),{'ctx-name':_0x455360(0x1fc)+this[_0x455360(0x1ff)]}),_0xa8cc7c[_0x455360(0x1c0)][_0x455360(0x1f5)][_0x455360(0x203)](this[_0x455360(0x1c7)]);}[_0xeb9ec(0x1df)](){const _0x314baf=_0xeb9ec,_0xb1050d=this[_0x314baf(0x1ec)][_0x314baf(0x1f2)][_0x314baf(0x1f4)](_0x314baf(0x1d9));_0xb1050d&&this[_0x314baf(0x1e9)](_0xb1050d,_0x314baf(0x1d8),()=>{const _0x45c395=_0x314baf,_0x33aa65=this[_0x45c395(0x1ec)][_0x45c395(0x1e6)][_0x45c395(0x1c0)][_0x45c395(0x1b1)][_0x45c395(0x1b9)]();_0x33aa65&&_0x33aa65[_0x45c395(0x1b8)](_0x45c395(0x1c8))&&this[_0x45c395(0x1ec)][_0x45c395(0x1f1)][_0x45c395(0x1c6)][_0x45c395(0x1f0)](_0x45c395(0x202),()=>{const _0x2e9e57=_0x45c395;_0xd5c872(this[_0x2e9e57(0x1ec)],_0x33aa65);});});const _0x396ebc=this[_0x314baf(0x1ec)][_0x314baf(0x1f2)][_0x314baf(0x1f4)](_0x314baf(0x1cd));_0x396ebc&&this[_0x314baf(0x1e9)](_0x396ebc,_0x314baf(0x1d8),()=>{const _0x388729=_0x314baf,_0x449bce=this[_0x388729(0x1ec)][_0x388729(0x1e6)][_0x388729(0x1c0)][_0x388729(0x1b1)][_0x388729(0x1b9)]();_0x449bce&&_0x449bce[_0x388729(0x1b8)](_0x388729(0x1c8))&&this[_0x388729(0x1ec)][_0x388729(0x1f1)][_0x388729(0x1c6)][_0x388729(0x1f0)](_0x388729(0x202),()=>{const _0x14a91f=_0x388729;_0xd5c872(this[_0x14a91f(0x1ec)],_0x449bce);});});}}
23
+ const _0x289d00=_0x41f3;(function(_0x4a7160,_0x24141b){const _0x4f66b0=_0x41f3,_0x50ae44=_0x4a7160();while(!![]){try{const _0x453d1a=-parseInt(_0x4f66b0(0x116))/0x1*(-parseInt(_0x4f66b0(0x122))/0x2)+parseInt(_0x4f66b0(0xf9))/0x3*(parseInt(_0x4f66b0(0x11b))/0x4)+-parseInt(_0x4f66b0(0x128))/0x5+-parseInt(_0x4f66b0(0x129))/0x6*(-parseInt(_0x4f66b0(0x110))/0x7)+-parseInt(_0x4f66b0(0x12c))/0x8*(-parseInt(_0x4f66b0(0xf6))/0x9)+-parseInt(_0x4f66b0(0x130))/0xa*(parseInt(_0x4f66b0(0x145))/0xb)+-parseInt(_0x4f66b0(0x121))/0xc;if(_0x453d1a===_0x24141b)break;else _0x50ae44['push'](_0x50ae44['shift']());}catch(_0xee6b78){_0x50ae44['push'](_0x50ae44['shift']());}}}(_0x3656,0x59e0a));import{Plugin as _0x4175f3}from'ckeditor5/src/core.js';import{Dialog as _0x297fa6}from'ckeditor5/src/ui.js';import{createElement as _0x156951,global as _0x341d9a,uid as _0x3d2901}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x204db7}from'./uploadcarecommand.js';function _0x41f3(_0x3e1945,_0x395adc){const _0x3656ba=_0x3656();return _0x41f3=function(_0x41f3d9,_0x524a6e){_0x41f3d9=_0x41f3d9-0xf0;let _0x1e6369=_0x3656ba[_0x41f3d9];return _0x1e6369;},_0x41f3(_0x3e1945,_0x395adc);}import{UploadcareUploadAdapter as _0x4f6467}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2040c0}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4175f3{[_0x289d00(0x136)]=null;[_0x289d00(0x117)]=null;static get[_0x289d00(0x102)](){const _0x525e0e=_0x289d00;return _0x525e0e(0x12e);}static get[_0x289d00(0x11c)](){const _0x2733bf=_0x289d00;return[_0x2733bf(0xf1),_0x4f6467,_0x297fa6];}static get[_0x289d00(0x125)](){return!0x0;}static get[_0x289d00(0x12d)](){return!0x0;}[_0x289d00(0xf2)];get[_0x289d00(0xfb)](){const _0x30f8d5=_0x289d00;return this[_0x30f8d5(0x136)];}get[_0x289d00(0x12a)](){const _0x1b0221=_0x289d00;return this[_0x1b0221(0x117)];}constructor(_0x43e0a4){const _0x1688dd=_0x289d00;super(_0x43e0a4),this[_0x1688dd(0xf2)]=_0x3d2901();}[_0x289d00(0x111)](){const _0xd5b101=_0x289d00,_0x45e17f=this[_0xd5b101(0x10c)];_0x45e17f[_0xd5b101(0x105)][_0xd5b101(0x120)](_0xd5b101(0x138),new _0x204db7(_0x45e17f));}[_0x289d00(0x131)](){const _0xda26ea=_0x289d00;this[_0xda26ea(0x13c)](),this[_0xda26ea(0x104)](),this[_0xda26ea(0xfd)](),this[_0xda26ea(0x140)](),this[_0xda26ea(0xfc)](),this[_0xda26ea(0x13e)](this[_0xda26ea(0x10c)],_0xda26ea(0xfa),()=>{const _0x4ecb49=_0xda26ea;this[_0x4ecb49(0x136)]&&(this[_0x4ecb49(0x136)][_0x4ecb49(0xff)](),this[_0x4ecb49(0x136)]=null),this[_0x4ecb49(0x117)]&&(this[_0x4ecb49(0x117)][_0x4ecb49(0xff)](),this[_0x4ecb49(0x117)]=null);const _0x2efeba=_0x341d9a[_0x4ecb49(0x137)][_0x4ecb49(0x124)](_0x4ecb49(0xf3));_0x2efeba&&_0x2efeba[_0x4ecb49(0xff)]();}),async function(_0x2a5728){const _0x46655d=_0x571271([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0xc84625=0x3d8d0df,_0x4ebd3b=0x3dfa42f^_0xc84625,_0x537cc8=window[_0x571271([0x44,0x61,0x74,0x65])][_0x571271([0x6e,0x6f,0x77])](),_0x1e010e=_0x2a5728[_0x571271([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d79b9=new window[(_0x571271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b59ca=>{_0x1e010e[_0x571271([0x6f,0x6e,0x63,0x65])](_0x571271([0x72,0x65,0x61,0x64,0x79]),_0x4b59ca);}),_0x58583e={[_0x571271([0x6b,0x74,0x79])]:_0x571271([0x45,0x43]),[_0x571271([0x75,0x73,0x65])]:_0x571271([0x73,0x69,0x67]),[_0x571271([0x63,0x72,0x76])]:_0x571271([0x50,0x2d,0x32,0x35,0x36]),[_0x571271([0x78])]:_0x571271([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]),[_0x571271([0x79])]:_0x571271([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]),[_0x571271([0x61,0x6c,0x67])]:_0x571271([0x45,0x53,0x32,0x35,0x36])},_0x7d0328=_0x1e010e[_0x571271([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x571271([0x67,0x65,0x74])](_0x571271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39aed0(){let _0x164015,_0x5704a3=null,_0x532c91=null;try{if(_0x7d0328==_0x571271([0x47,0x50,0x4c]))return _0x571271([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x164015=_0x54f53f(),!_0x164015)return _0x571271([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x164015[_0x571271([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x532c91=_0x34526e(_0x164015[_0x571271([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x164015[_0x571271([0x6a,0x74,0x69])])),await _0x4381ff()?_0x1c53e4()?_0xe181b()?_0x571271([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x570a52()?(_0x164015[_0x571271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x571271([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5704a3=_0x4a02a3(_0x571271([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x164015[_0x571271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x571271([0x74,0x72,0x69,0x61,0x6c])&&(_0x5704a3=_0x4a02a3(_0x571271([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f0286()):_0x571271([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x571271([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x571271([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x571271([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe181b(){const _0x2def29=[_0x571271([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x571271([0x74,0x72,0x69,0x61,0x6c])][_0x571271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164015[_0x571271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x537cc8/0x3e8:0xe10*_0x4ebd3b;return _0x164015[_0x571271([0x65,0x78,0x70])]<_0x2def29;}function _0x1c53e4(){const _0x44c841=_0x164015[_0x571271([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44c841&&(!!_0x44c841[_0x571271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x571271([0x2a]))||!!_0x44c841[_0x571271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x571271([0x55,0x50,0x4c,0x43])));}function _0x570a52(){const _0x372b08=_0x41f3,_0x3e23e3=_0x164015[_0x571271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e23e3||0x0==_0x3e23e3[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20eb29}=new URL(window[_0x571271([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x372b08(0x126)]);if(_0x3e23e3[_0x571271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20eb29))return!0x0;const _0x47dfc9=_0x20eb29[_0x571271([0x73,0x70,0x6c,0x69,0x74])](_0x571271([0x2e]));return _0x3e23e3[_0x571271([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49d374=>_0x49d374[_0x571271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x571271([0x2a])))[_0x571271([0x6d,0x61,0x70])](_0x27acb4=>_0x27acb4[_0x571271([0x73,0x70,0x6c,0x69,0x74])](_0x571271([0x2e])))[_0x571271([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x471251=>_0x471251[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47dfc9[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x571271([0x6d,0x61,0x70])](_0x4c48c9=>Array(_0x47dfc9[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c48c9[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x571271([0x66,0x69,0x6c,0x6c])](_0x4c48c9[0x0]===_0x571271([0x2a])?_0x571271([0x2a]):'')[_0x571271([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c48c9))[_0x571271([0x73,0x6f,0x6d,0x65])](_0x556327=>_0x47dfc9[_0x571271([0x65,0x76,0x65,0x72,0x79])]((_0x1b9a35,_0x4915dd)=>_0x556327[_0x4915dd]===_0x1b9a35||_0x556327[_0x4915dd]===_0x571271([0x2a])));}function _0x5f0286(){return _0x5704a3&&_0x532c91?new window[(_0x571271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e0115,_0x44ecb6)=>{_0x5704a3[_0x571271([0x74,0x68,0x65,0x6e])](_0x1e0115,_0x44ecb6),_0x532c91[_0x571271([0x74,0x68,0x65,0x6e])](_0x3529cc=>{_0x3529cc!=_0x571271([0x56,0x61,0x6c,0x69,0x64])&&_0x1e0115(_0x3529cc);},_0x44ecb6);}):_0x5704a3||_0x532c91||_0x571271([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34526e(_0x3fd9e0,_0x2d00c3){return new window[(_0x571271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45a335=>{if(_0x4c1849())return _0x45a335(_0x571271([0x56,0x61,0x6c,0x69,0x64]));_0x325882(),_0x1e010e[_0x571271([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x571271([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bdcb8=!0x1;const _0x5d936a=_0x3d2901();function _0x345192(_0x4e74a2){return!!_0x4e74a2&&(typeof _0x4e74a2===_0x571271([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e74a2===_0x571271([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e74a2[_0x571271([0x74,0x68,0x65,0x6e])]===_0x571271([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e74a2[_0x571271([0x63,0x61,0x74,0x63,0x68])]===_0x571271([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1038a8(_0x5c2b70){_0x208af1(_0x5c2b70)[_0x571271([0x74,0x68,0x65,0x6e])](_0x2d3578=>{if(!_0x2d3578||_0x2d3578[_0x571271([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x571271([0x6f,0x6b]))return _0x571271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x176864(_0x441d83(_0x5d936a+_0x2d00c3))!=_0x2d3578[_0x571271([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x571271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x571271([0x56,0x61,0x6c,0x69,0x64]);})[_0x571271([0x74,0x68,0x65,0x6e])](_0x2febd3=>(_0x507c89(),_0x2febd3),()=>{const _0x2b47b0=_0x2bc2d2();return null==_0x2b47b0?(_0x507c89(),_0x571271([0x56,0x61,0x6c,0x69,0x64])):_0x571271(_0x537cc8-_0x2b47b0>(0x27d454df^_0xc84625)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x571271([0x74,0x68,0x65,0x6e])](_0x45a335)[_0x571271([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45a335(_0x571271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e176f=0x3ee3e5f^_0xc84625;function _0x507c89(){const _0x3170e3=_0x571271([0x6c,0x6c,0x63,0x74,0x2d])+_0x176864(_0x441d83(_0x3fd9e0)),_0xbde3df=_0x2d20d0(_0x176864(window[_0x571271([0x4d,0x61,0x74,0x68])][_0x571271([0x63,0x65,0x69,0x6c])](_0x537cc8/_0x3e176f)));window[_0x571271([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x571271([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3170e3,_0xbde3df);}function _0x2bc2d2(){const _0xc040b3=_0x571271([0x6c,0x6c,0x63,0x74,0x2d])+_0x176864(_0x441d83(_0x3fd9e0)),_0x3b3b83=window[_0x571271([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x571271([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc040b3);return _0x3b3b83?window[_0x571271([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d20d0(_0x3b3b83),0x10)*_0x3e176f:null;}function _0x208af1(_0x2a8354){return new window[(_0x571271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1310de,_0x48996b)=>{_0x2a8354[_0x571271([0x74,0x68,0x65,0x6e])](_0x1310de,_0x48996b),window[_0x571271([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48996b,0x3d9041f^_0xc84625);});}}_0x1e010e[_0x571271([0x6f,0x6e])](_0x571271([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e7fd9,_0x472f80)=>{if(_0x472f80[0x0]!=_0x3fd9e0)return _0x45a335(_0x571271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x472f80[0x1]={..._0x472f80[0x1],[_0x571271([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d936a};},{[_0x571271([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x571271([0x68,0x69,0x67,0x68])}),_0x1e010e[_0x571271([0x6f,0x6e])](_0x571271([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x248bdc=>{_0x345192(_0x248bdc[_0x571271([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bdcb8=!0x0,_0x1038a8(_0x248bdc[_0x571271([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x571271([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x571271([0x6c,0x6f,0x77])}),_0x4d79b9[_0x571271([0x74,0x68,0x65,0x6e])](()=>{_0x4bdcb8||_0x45a335(_0x571271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c1849(){return _0x1e010e[_0x571271([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x571271([0x76,0x69,0x65,0x77])][_0x571271([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x571271([0x61,0x75,0x74,0x6f]);}function _0x325882(){_0x1e010e[_0x571271([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x571271([0x76,0x69,0x65,0x77])][_0x571271([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x571271([0x61,0x75,0x74,0x6f]);}}function _0x4a02a3(_0x4be557){const _0x11b957=[new window[(_0x571271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x138cbd=>setTimeout(_0x138cbd,0x3d1ee13^_0xc84625)),_0x4d79b9[_0x571271([0x74,0x68,0x65,0x6e])](()=>new window[(_0x571271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x474258=>{let _0xe25b90=0x0;_0x1e010e[_0x571271([0x6d,0x6f,0x64,0x65,0x6c])][_0x571271([0x6f,0x6e])](_0x571271([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x202380,_0x5c36b3)=>{_0x5c36b3[0x0][_0x571271([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe25b90++,_0xe25b90==(0x3d8d127^_0xc84625)&&(_0x474258(),_0x202380[_0x571271([0x6f,0x66,0x66])]());});}))];return window[_0x571271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x571271([0x72,0x61,0x63,0x65])](_0x11b957)[_0x571271([0x74,0x68,0x65,0x6e])](()=>_0x4be557);}async function _0x475b37(){await _0x4d79b9,_0x1e010e[_0x571271([0x6d,0x6f,0x64,0x65,0x6c])][_0x571271([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a7bfd,_0x1e010e[_0x571271([0x6d,0x6f,0x64,0x65,0x6c])][_0x571271([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a7bfd,_0x1e010e[_0x571271([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x571271([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x440c86(_0x1d6710){const _0x3a1105=_0x4d92a9();_0x1e010e[_0x3a1105]=_0x571271([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d6710,_0x1d6710!=_0x571271([0x56,0x61,0x6c,0x69,0x64])&&_0x475b37();}function _0x4d92a9(){const _0x56958f=window[_0x571271([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x571271([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x571271([0x6e,0x6f,0x77])]())[_0x571271([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x571271([0x2e]),'');let _0x9bcb72=_0x571271([0x52]);for(let _0x3f8674=0x0;_0x3f8674<_0x56958f[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f8674+=0x2){let _0x574867=window[_0x571271([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56958f[_0x571271([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f8674,_0x3f8674+0x2));_0x574867>=_0x46655d[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x574867-=_0x46655d[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9bcb72+=_0x46655d[_0x574867];}return _0x9bcb72;}function _0x54f53f(){const _0x16c8de=_0x7d0328[_0x571271([0x73,0x70,0x6c,0x69,0x74])](_0x571271([0x2e]));if(0x3!=_0x16c8de[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bc43f(_0x16c8de[0x1]);function _0x1bc43f(_0x2462bd){const _0x1d3477=_0x82d163(_0x2462bd);return _0x1d3477&&_0x174815()?_0x1d3477:null;function _0x174815(){const _0x49b48c=_0x1d3477[_0x571271([0x6a,0x74,0x69])],_0x25d232=window[_0x571271([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49b48c[_0x571271([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49b48c[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a10b7={..._0x1d3477,[_0x571271([0x6a,0x74,0x69])]:_0x49b48c[_0x571271([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49b48c[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a10b7[_0x571271([0x76,0x63])],_0x441d83(_0x5a10b7)==_0x25d232;}}}async function _0x4381ff(){let _0xdf8ac=!0x0;try{const _0x123322=_0x7d0328[_0x571271([0x73,0x70,0x6c,0x69,0x74])](_0x571271([0x2e])),[_0x5a043a,_0x50b3c6,_0x487488]=_0x123322;return _0x32f85d(_0x5a043a),await _0x220722(_0x5a043a,_0x50b3c6,_0x487488),_0xdf8ac;}catch{return!0x1;}function _0x32f85d(_0x35a182){const _0x386f37=_0x82d163(_0x35a182);_0x386f37&&_0x386f37[_0x571271([0x61,0x6c,0x67])]==_0x571271([0x45,0x53,0x32,0x35,0x36])||(_0xdf8ac=!0x1);}async function _0x220722(_0x3f2063,_0x5e8883,_0x59c70b){const _0x412019=window[_0x571271([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x571271([0x66,0x72,0x6f,0x6d])](_0x3ba05b(_0x59c70b),_0x24d982=>_0x24d982[_0x571271([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f5c29=new window[(_0x571271([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x571271([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f2063+_0x571271([0x2e])+_0x5e8883),_0x14704a=window[_0x571271([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x571271([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14704a)return;const _0x5e6051=await _0x14704a[_0x571271([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x571271([0x6a,0x77,0x6b]),_0x58583e,{[_0x571271([0x6e,0x61,0x6d,0x65])]:_0x571271([0x45,0x43,0x44,0x53,0x41]),[_0x571271([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x571271([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x571271([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14704a[_0x571271([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x571271([0x6e,0x61,0x6d,0x65])]:_0x571271([0x45,0x43,0x44,0x53,0x41]),[_0x571271([0x68,0x61,0x73,0x68])]:{[_0x571271([0x6e,0x61,0x6d,0x65])]:_0x571271([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e6051,_0x412019,_0x2f5c29)||(_0xdf8ac=!0x1);}}function _0x82d163(_0x392f5b){return _0x392f5b[_0x571271([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x571271([0x65,0x79]))?JSON[_0x571271([0x70,0x61,0x72,0x73,0x65])](_0x3ba05b(_0x392f5b)):null;}function _0x3ba05b(_0x488a2f){return window[_0x571271([0x61,0x74,0x6f,0x62])](_0x488a2f[_0x571271([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x571271([0x2b]))[_0x571271([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x571271([0x2f])));}function _0x441d83(_0x3a2d71){let _0x232e85=0x1505;function _0xa11cba(_0x268efa){for(let _0x175c44=0x0;_0x175c44<_0x268efa[_0x571271([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x175c44++){const _0x198054=_0x268efa[_0x571271([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x175c44);_0x232e85=(_0x232e85<<0x5)+_0x232e85+_0x198054,_0x232e85&=_0x232e85;}}function _0x294e2f(_0x198adf){Array[_0x571271([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x198adf)?_0x198adf[_0x571271([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x294e2f):_0x198adf&&typeof _0x198adf==_0x571271([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x571271([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x198adf)[_0x571271([0x73,0x6f,0x72,0x74])]()[_0x571271([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57601c,_0xa29367])=>{_0xa11cba(_0x57601c),_0x294e2f(_0xa29367);}):_0xa11cba(window[_0x571271([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x198adf));}return _0x294e2f(_0x3a2d71),_0x232e85>>>0x0;}function _0x176864(_0x11c14d){return _0x11c14d[_0x571271([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x571271([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x571271([0x30]));}function _0x2d20d0(_0x448c34){return _0x448c34[_0x571271([0x73,0x70,0x6c,0x69,0x74])]('')[_0x571271([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x571271([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a7bfd(){}function _0x571271(_0x47c740){const _0x5ef0f6=_0x41f3;return _0x47c740[_0x5ef0f6(0x119)](_0x3456cd=>String[_0x5ef0f6(0x10b)](_0x3456cd))[_0x5ef0f6(0x11d)]('');}_0x440c86(await _0x39aed0());}(this);}[_0x289d00(0x13c)](){const _0x5b2e12=_0x289d00,_0x3ddb48=this[_0x5b2e12(0x10c)][_0x5b2e12(0x10f)][_0x5b2e12(0x127)];_0x3ddb48[_0x5b2e12(0x101)](_0x5b2e12(0xf0))&&_0x3ddb48[_0x5b2e12(0x108)](_0x5b2e12(0xf0),{'allowAttributes':[_0x5b2e12(0x133)]}),_0x3ddb48[_0x5b2e12(0x101)](_0x5b2e12(0x115))&&_0x3ddb48[_0x5b2e12(0x108)](_0x5b2e12(0x115),{'allowAttributes':[_0x5b2e12(0x133)]});}[_0x289d00(0x104)](){const _0x157b08=_0x289d00,_0xf11c92=this[_0x157b08(0x10c)];_0xf11c92[_0x157b08(0x12b)][_0x157b08(0x146)](_0x157b08(0x142))[_0x157b08(0xf7)]({'model':_0x157b08(0x133),'view':_0x157b08(0x109)}),_0xf11c92[_0x157b08(0x12b)][_0x157b08(0x146)](_0x157b08(0x123))[_0x157b08(0x13f)]({'model':{'key':_0x157b08(0x133),'value':_0x12c1b1=>_0x12c1b1[_0x157b08(0x132)](_0x157b08(0x109))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x238a86=_0xf11c92[_0x157b08(0x105)][_0x157b08(0x13a)](_0x157b08(0xf5));_0x238a86&&this[_0x157b08(0x13e)](_0x238a86,_0x157b08(0x139),(_0x41bab8,[_0x15d10b,_0x5d8e79])=>{const _0x138926=_0x157b08;_0x15d10b[_0x138926(0x100)](_0x138926(0x133),_0x5d8e79);});}[_0x289d00(0xfd)](){const _0x43a008=_0x289d00,_0x2f65cc=this[_0x43a008(0x10c)][_0x43a008(0x13d)][_0x43a008(0x13a)](_0x43a008(0x134))||{},_0x19b999=this[_0x43a008(0x10c)][_0x43a008(0x13d)][_0x43a008(0x13a)](_0x43a008(0x143))||'';this[_0x43a008(0x136)]=_0x156951(_0x341d9a[_0x43a008(0x137)],_0x43a008(0x112),{..._0x2f65cc,'pubkey':_0x19b999,'ctx-name':_0x43a008(0xf4)+this[_0x43a008(0xf2)],'sourceList':'','imgOnly':_0x43a008(0x13b),'removeCopyright':_0x43a008(0x13b),'localeName':this[_0x43a008(0x10c)][_0x43a008(0x141)][_0x43a008(0x118)],'externalSourcesEmbedCss':_0x43a008(0x11a)}),this[_0x43a008(0x136)][_0x43a008(0x107)]=_0x12a094=>{const _0x782481=_0x43a008;if(_0x782481(0x10a)==_0x12a094)return _0x782481(0x10d);},_0x341d9a[_0x43a008(0x137)][_0x43a008(0x144)][_0x43a008(0x12f)](this[_0x43a008(0x136)]);}[_0x289d00(0x140)](){const _0x1165d7=_0x289d00;this[_0x1165d7(0x117)]=_0x156951(_0x341d9a[_0x1165d7(0x137)],_0x1165d7(0x135),{'ctx-name':_0x1165d7(0xf4)+this[_0x1165d7(0xf2)]}),_0x341d9a[_0x1165d7(0x137)][_0x1165d7(0x144)][_0x1165d7(0x12f)](this[_0x1165d7(0x117)]);}[_0x289d00(0xfc)](){const _0x5ee546=_0x289d00,_0x53db64=this[_0x5ee546(0x10c)][_0x5ee546(0x105)][_0x5ee546(0x13a)](_0x5ee546(0x103));_0x53db64&&this[_0x5ee546(0x13e)](_0x53db64,_0x5ee546(0x11e),()=>{const _0x3e4593=_0x5ee546,_0x59094a=this[_0x3e4593(0x10c)][_0x3e4593(0x10f)][_0x3e4593(0x137)][_0x3e4593(0x11f)][_0x3e4593(0xfe)]();_0x59094a&&_0x59094a[_0x3e4593(0x132)](_0x3e4593(0x133))&&this[_0x3e4593(0x10c)][_0x3e4593(0x113)][_0x3e4593(0x114)][_0x3e4593(0x106)](_0x3e4593(0x10e),()=>{const _0x41c3b1=_0x3e4593;_0x2040c0(this[_0x41c3b1(0x10c)],_0x59094a);});});const _0x350fa4=this[_0x5ee546(0x10c)][_0x5ee546(0x105)][_0x5ee546(0x13a)](_0x5ee546(0xf8));_0x350fa4&&this[_0x5ee546(0x13e)](_0x350fa4,_0x5ee546(0x11e),()=>{const _0x1c8b4a=_0x5ee546,_0x65a22b=this[_0x1c8b4a(0x10c)][_0x1c8b4a(0x10f)][_0x1c8b4a(0x137)][_0x1c8b4a(0x11f)][_0x1c8b4a(0xfe)]();_0x65a22b&&_0x65a22b[_0x1c8b4a(0x132)](_0x1c8b4a(0x133))&&this[_0x1c8b4a(0x10c)][_0x1c8b4a(0x113)][_0x1c8b4a(0x114)][_0x1c8b4a(0x106)](_0x1c8b4a(0x10e),()=>{const _0x1549b9=_0x1c8b4a;_0x2040c0(this[_0x1549b9(0x10c)],_0x65a22b);});});}}function _0x3656(){const _0x34b264=['PictureEditing','ucContextId','input[uploadcare-file-input]','uploader-','replaceImageSource','92403crzbdg','attributeToAttribute','uploadcareImageReplace','2186907ndJaPP','destroy','configElement','_initImageProcessingIndicator','_initConfig','getSelectedElement','remove','removeAttribute','isRegistered','pluginName','insertImage','_initConversion','commands','once','iconHrefResolver','extend','data-uc-image-id','closeMax','fromCharCode','editor','#uc-icon-arrow-down','render','model','158095pMjtSC','init','uc-config','editing','view','imageInline','127526nQeMcV','_ctxElement','contentLanguage','map','\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','4FkPHDR','requires','join','execute','selection','add','666984lsJYdQ','2Lyziye','upcast','querySelector','isOfficialPlugin','href','schema','2153675xmsoHH','48uvuEWQ','ctxElement','conversion','8GKJxtE','isPremiumPlugin','UploadcareEditing','appendChild','30XVfrgm','afterInit','getAttribute','uploadcareImageId','uploadcare.uploader','uc-upload-ctx-provider','_configElement','document','uploadcare','cleanupImage','get','true','_initSchema','config','listenTo','elementToAttribute','_initCtx','locale','downcast','uploadcare.pubkey','body','707619koczVe','for','imageBlock'];_0x3656=function(){return _0x34b264;};return _0x3656();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x23497a,ObservableMixin as _0x27e07c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x527232}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x577062}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3fa66a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2ebc1e}from'../../utils/uploadutils.js';import{getImageUrls as _0x9645c0,getImageDimension as _0x31daf9}from'../../utils/editingutils.js';import{isAncestor as _0x43cc1b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x27e07c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x33f6e1,_0x1e3d0d,_0x3c2b84){super(),this['_editor']=_0x33f6e1,this['_dialog']=_0x1e3d0d,this['_imageElement']=_0x3c2b84,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 _0x3e01a7=this['_imageElement'],_0x3c3106=_0x3e01a7['getAttribute']('uploadcareImageId'),_0xee6d73=_0x3e01a7['getAttribute']('src');if(_0x3c3106)await this['_loadImageInfo'](_0x3c3106,_0xee6d73);else{if(this['_imageCache']['has'](_0xee6d73)){const _0x3fce0c=this['_imageCache']['get'](_0xee6d73);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3fce0c['url'],this['imageDimension']=_0x3fce0c['dimension'],this['imageId']=_0x3fce0c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x388cd8}=this['_editor'],t=_0x388cd8['t'],_0x1d2ee9=new _0x3fa66a(_0x388cd8,this['imageStatus'],this['_attributes']);_0x1d2ee9['bind']('status')['to'](this,'imageStatus'),_0x1d2ee9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d2ee9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d2ee9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d2ee9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x577062,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d2ee9,'position':_0x527232['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d2ee9['focus']();},'onHide':()=>{_0x1d2ee9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x107611=>!_0x43cc1b(_0x107611,_0x1d2ee9['element'])}});}['_loadImageInfo'](_0x48aec9,_0x1acf79){return _0x2ebc1e['getInfo'](_0x48aec9,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x228cc0=>{const {width:_0x96f082,height:_0x2ced5d}=_0x228cc0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1acf79,this['imageDimension']={'width':_0x96f082,'height':_0x2ced5d},this['imageId']=_0x48aec9;})['catch'](_0x57c38e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57c38e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1830d0,_0x545aac){return this['_getImageAsFile'](_0x1830d0)['then'](_0x10fb89=>_0x2ebc1e['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':_0x545aac['signal'],'file':_0x10fb89,'onProgress':_0x3266a6=>{_0x3266a6&&_0x3266a6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3266a6['value']));}}))['then'](_0x184668=>{const {width:_0x11ae2b,height:_0x5686b3}=_0x184668['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x184668['cdnUrl'],this['imageDimension']={'width':_0x11ae2b,'height':_0x5686b3},this['imageId']=_0x184668['uuid'],this['imageUploadProgress']=null;const _0x5d3227=_0x1830d0['getAttribute']('src');this['_imageCache']['set'](_0x5d3227,{'id':_0x184668['uuid'],'url':_0x184668['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f4c73=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f4c73['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x20c968,_0x3b69a1){_0x20c968['on']('apply',(_0x5e59c9,_0x310d7e)=>{this['_replaceImage'](_0x3b69a1,_0x310d7e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x20c968['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x20c968['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3d78f5,_0x331321,_0x300591){const _0x66b96e=this['_editor'],{width:_0x5cc1b1,height:_0x59cf61}=_0x31daf9(_0x331321,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4217d4,imageSources:_0x18e039}=_0x9645c0(_0x331321,_0x5cc1b1);_0x66b96e['model']['change'](_0x3ded25=>{if('$graveyard'===_0x3d78f5['root']['rootName']){_0x66b96e['execute']('insertImage',{'imageType':_0x3d78f5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3d78f5['getAttributes']()),'uploadcareImageId':_0x300591,'src':_0x4217d4,'sources':_0x18e039,'width':_0x5cc1b1,'height':_0x59cf61}});const _0x16ac46=_0x3d78f5['getChildren']();_0x3d78f5=_0x66b96e['model']['document']['selection']['getSelectedElement']();for(const _0x358aa5 of _0x16ac46)_0x3ded25['append'](_0x3ded25['cloneElement'](_0x358aa5),_0x3d78f5);}else _0x3ded25['setSelection'](_0x3d78f5,'on'),_0x66b96e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3d78f5['getAttributes']()),'uploadcareImageId':_0x300591,'src':_0x4217d4,'sources':_0x18e039,'width':_0x5cc1b1,'height':_0x59cf61},_0x3d78f5);_0x3ded25['setSelection'](_0x3d78f5,'on');});}async['_getImageAsFile'](_0x7e5f3f){const _0xb0b7d5=_0x23497a['window'],_0x1f545f=_0x23497a['document']['location']['href'],_0x3f1ff8=new _0xb0b7d5['URL'](_0x7e5f3f['getAttribute']('src'),_0x1f545f);if('data:'===_0x3f1ff8['protocol']){const _0x30c585=_0x3f1ff8['href']['split'](','),_0x1c3a2c=_0x30c585[0x0]['match'](/:(.*?);/)[0x1],_0x396023=_0x1c3a2c['split']('/')[0x1],_0x3920e6=_0xb0b7d5['atob'](_0x30c585[_0x30c585['length']-0x1]);let _0x47c144=_0x3920e6['length'];const _0x3d3804=new _0xb0b7d5['Uint8Array'](_0x47c144);for(;_0x47c144--;)_0x3d3804[_0x47c144]=_0x3920e6['charCodeAt'](_0x47c144);return new _0xb0b7d5['File']([_0x3d3804],'image.'+_0x396023,{'type':_0x1c3a2c});}const _0x5c1f59=_0x3f1ff8['href']['split']('/'),_0x3d94da=_0x5c1f59[_0x5c1f59['length']-0x1],_0x153919=_0x3d94da['split']('.')[0x1];return _0xb0b7d5['fetch'](_0x3f1ff8['href'])['then'](_0x11cec8=>_0x11cec8['clone']()['blob']())['then'](_0x46987e=>new _0xb0b7d5['File']([_0x46987e],_0x3d94da,{'type':'image/'+_0x153919}));}}
23
+ import{global as _0x5c6e5b,ObservableMixin as _0x6a34f1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xad179a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1d77dc}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x8073be}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x46b303}from'../../utils/uploadutils.js';import{getImageUrls as _0x55f7c2,getImageDimension as _0x1f20d0}from'../../utils/editingutils.js';import{isAncestor as _0xf2764e}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x6a34f1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x545a30,_0x174e23,_0x55f53d){super(),this['_editor']=_0x545a30,this['_dialog']=_0x174e23,this['_imageElement']=_0x55f53d,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 _0x2a4272=this['_imageElement'],_0x477af9=_0x2a4272['getAttribute']('uploadcareImageId'),_0x47b81b=_0x2a4272['getAttribute']('src');if(_0x477af9)await this['_loadImageInfo'](_0x477af9,_0x47b81b);else{if(this['_imageCache']['has'](_0x47b81b)){const _0x281610=this['_imageCache']['get'](_0x47b81b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x281610['url'],this['imageDimension']=_0x281610['dimension'],this['imageId']=_0x281610['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4a1b4a}=this['_editor'],t=_0x4a1b4a['t'],_0x183433=new _0x8073be(_0x4a1b4a,this['imageStatus'],this['_attributes']);_0x183433['bind']('status')['to'](this,'imageStatus'),_0x183433['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x183433['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x183433['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x183433,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1d77dc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x183433,'position':_0xad179a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x183433['focus']();},'onHide':()=>{_0x183433['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xe90ed0=>!_0xf2764e(_0xe90ed0,_0x183433['element'])}});}['_loadImageInfo'](_0x1bb66b,_0x2a78c1){return _0x46b303['getInfo'](_0x1bb66b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x47d1fc=>{const {width:_0x38167a,height:_0x191919}=_0x47d1fc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a78c1,this['imageDimension']={'width':_0x38167a,'height':_0x191919},this['imageId']=_0x1bb66b;})['catch'](_0x106fc9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x106fc9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3f872c,_0xb2cd84){return this['_getImageAsFile'](_0x3f872c)['then'](_0x3f8554=>_0x46b303['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':_0xb2cd84['signal'],'file':_0x3f8554,'onProgress':_0x5233e4=>{_0x5233e4&&_0x5233e4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5233e4['value']));}}))['then'](_0x24975d=>{const {width:_0x22748e,height:_0x34f2a6}=_0x24975d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24975d['cdnUrl'],this['imageDimension']={'width':_0x22748e,'height':_0x34f2a6},this['imageId']=_0x24975d['uuid'],this['imageUploadProgress']=null;const _0x5de3bc=_0x3f872c['getAttribute']('src');this['_imageCache']['set'](_0x5de3bc,{'id':_0x24975d['uuid'],'url':_0x24975d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ee67a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ee67a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3ad431,_0x13259d){_0x3ad431['on']('apply',(_0x4ee6c5,_0x544429)=>{this['_replaceImage'](_0x13259d,_0x544429['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3ad431['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3ad431['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ec110,_0x3962a9,_0x340d47){const _0x4a60ef=this['_editor'],{width:_0x1ac127,height:_0x2e469f}=_0x1f20d0(_0x3962a9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2540c5,imageSources:_0x5361a8}=_0x55f7c2(_0x3962a9,_0x1ac127);_0x4a60ef['model']['change'](_0x23367a=>{if('$graveyard'===_0x5ec110['root']['rootName']){_0x4a60ef['execute']('insertImage',{'imageType':_0x5ec110['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ec110['getAttributes']()),'uploadcareImageId':_0x340d47,'src':_0x2540c5,'sources':_0x5361a8,'width':_0x1ac127,'height':_0x2e469f}});const _0x2f0c99=_0x5ec110['getChildren']();_0x5ec110=_0x4a60ef['model']['document']['selection']['getSelectedElement']();for(const _0x47f02a of _0x2f0c99)_0x23367a['append'](_0x23367a['cloneElement'](_0x47f02a),_0x5ec110);}else _0x23367a['setSelection'](_0x5ec110,'on'),_0x4a60ef['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ec110['getAttributes']()),'uploadcareImageId':_0x340d47,'src':_0x2540c5,'sources':_0x5361a8,'width':_0x1ac127,'height':_0x2e469f},_0x5ec110);_0x23367a['setSelection'](_0x5ec110,'on');});}async['_getImageAsFile'](_0xec7591){const _0x5cb9b1=_0x5c6e5b['window'],_0x250b59=_0x5c6e5b['document']['location']['href'],_0x3cce45=new _0x5cb9b1['URL'](_0xec7591['getAttribute']('src'),_0x250b59);if('data:'===_0x3cce45['protocol']){const _0x1cdf19=_0x3cce45['href']['split'](','),_0x54968b=_0x1cdf19[0x0]['match'](/:(.*?);/)[0x1],_0x54d433=_0x54968b['split']('/')[0x1],_0x32b473=_0x5cb9b1['atob'](_0x1cdf19[_0x1cdf19['length']-0x1]);let _0x1ec9ba=_0x32b473['length'];const _0x35593d=new _0x5cb9b1['Uint8Array'](_0x1ec9ba);for(;_0x1ec9ba--;)_0x35593d[_0x1ec9ba]=_0x32b473['charCodeAt'](_0x1ec9ba);return new _0x5cb9b1['File']([_0x35593d],'image.'+_0x54d433,{'type':_0x54968b});}const _0x1bac54=_0x3cce45['href']['split']('/'),_0x3a1572=_0x1bac54[_0x1bac54['length']-0x1],_0x5dddce=_0x3a1572['split']('.')[0x1];return _0x5cb9b1['fetch'](_0x3cce45['href'])['then'](_0x5c51e8=>_0x5c51e8['clone']()['blob']())['then'](_0xf6a522=>new _0x5cb9b1['File']([_0xf6a522],_0x3a1572,{'type':'image/'+_0x5dddce}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4a2ebe,_0x344d91){const _0x3e400e=_0x59b3,_0x4b0ccd=_0x4a2ebe();while(!![]){try{const _0x32bb4b=-parseInt(_0x3e400e(0x1d4))/0x1*(parseInt(_0x3e400e(0x1c6))/0x2)+parseInt(_0x3e400e(0x1ce))/0x3+-parseInt(_0x3e400e(0x1ca))/0x4*(parseInt(_0x3e400e(0x1c7))/0x5)+parseInt(_0x3e400e(0x1cf))/0x6+-parseInt(_0x3e400e(0x1d1))/0x7*(parseInt(_0x3e400e(0x1c9))/0x8)+parseInt(_0x3e400e(0x1c5))/0x9*(-parseInt(_0x3e400e(0x1c3))/0xa)+-parseInt(_0x3e400e(0x1d0))/0xb*(-parseInt(_0x3e400e(0x1cc))/0xc);if(_0x32bb4b===_0x344d91)break;else _0x4b0ccd['push'](_0x4b0ccd['shift']());}catch(_0x4ed783){_0x4b0ccd['push'](_0x4b0ccd['shift']());}}}(_0x2a3c,0xb3d35));function _0x59b3(_0x35ad06,_0x33f57f){const _0x2a3c7d=_0x2a3c();return _0x59b3=function(_0x59b322,_0x1a8859){_0x59b322=_0x59b322-0x1c3;let _0x367195=_0x2a3c7d[_0x59b322];return _0x367195;},_0x59b3(_0x35ad06,_0x33f57f);}import{View as _0x365cdd}from'ckeditor5/src/ui.js';function _0x2a3c(){const _0x42f71b=['8KkbsSd','92NQmYCW','uc-light','6432JmAjhZ','setTemplate','3276759TCRedu','1198374vnkuSa','46684pInqMn','4583873VWSzTR','ck-uploadcare-theme','imageSrc','820fxLRqa','set','image-edit','8640790mfDPLs','uc-cloud-image-editor','9oOyRpw','1154ootkaJ','182205nKqDQW','bindTemplate'];_0x2a3c=function(){return _0x42f71b;};return _0x2a3c();}export class UploadcareImageEditFormEditingView extends _0x365cdd{constructor(_0x16de3c,_0x4f44f3){const _0x4da4c7=_0x59b3;super(_0x16de3c);const _0x4feeb1=this[_0x4da4c7(0x1c8)];this[_0x4da4c7(0x1d5)](_0x4da4c7(0x1d3),''),this[_0x4da4c7(0x1cd)]({'tag':_0x4da4c7(0x1c4),'attributes':{..._0x4f44f3,'class':[_0x4da4c7(0x1cb),_0x4da4c7(0x1d2)],'ctx-name':_0x4da4c7(0x1d6),'cdn-url':_0x4feeb1['to'](_0x4da4c7(0x1d3))}});}}
23
+ function _0x4319(_0x11d632,_0x57d469){const _0x164110=_0x1641();return _0x4319=function(_0x43194e,_0x24ac60){_0x43194e=_0x43194e-0x7a;let _0x1f571d=_0x164110[_0x43194e];return _0x1f571d;},_0x4319(_0x11d632,_0x57d469);}function _0x1641(){const _0x26e586=['image-edit','5347vNfskA','imageSrc','ck-uploadcare-theme','675RyjNMC','5958810qVVGfl','2637006snowHj','setTemplate','839272qwFfJj','74UEORCn','bindTemplate','881886kuywXy','uc-light','2797776hYhCSt','uc-cloud-image-editor','9188kiCHYX','set'];_0x1641=function(){return _0x26e586;};return _0x1641();}(function(_0x42e417,_0x51d01e){const _0x2a8baf=_0x4319,_0x343a18=_0x42e417();while(!![]){try{const _0x55d13f=parseInt(_0x2a8baf(0x7a))/0x1*(parseInt(_0x2a8baf(0x82))/0x2)+-parseInt(_0x2a8baf(0x84))/0x3+parseInt(_0x2a8baf(0x88))/0x4*(parseInt(_0x2a8baf(0x7d))/0x5)+parseInt(_0x2a8baf(0x7f))/0x6+-parseInt(_0x2a8baf(0x81))/0x7+parseInt(_0x2a8baf(0x86))/0x8+-parseInt(_0x2a8baf(0x7e))/0x9;if(_0x55d13f===_0x51d01e)break;else _0x343a18['push'](_0x343a18['shift']());}catch(_0x461b8b){_0x343a18['push'](_0x343a18['shift']());}}}(_0x1641,0x36019));import{View as _0x58aaa3}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x58aaa3{constructor(_0x498eac,_0x14dc0f){const _0x2eb910=_0x4319;super(_0x498eac);const _0xe0f51f=this[_0x2eb910(0x83)];this[_0x2eb910(0x89)](_0x2eb910(0x7b),''),this[_0x2eb910(0x80)]({'tag':_0x2eb910(0x87),'attributes':{..._0x14dc0f,'class':[_0x2eb910(0x85),_0x2eb910(0x7c)],'ctx-name':_0x2eb910(0x8a),'cdn-url':_0xe0f51f['to'](_0x2eb910(0x7b))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x53f839}from'ckeditor5/src/icons.js';import{ButtonView as _0x382c9c,IconView as _0x441c3a,View as _0x9c8a68}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x9c8a68{constructor(_0x463815){super(_0x463815);const t=_0x463815['t'];this['set']('errorType',null);const _0xb1f9b6=new _0x382c9c(_0x463815);_0xb1f9b6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xb1f9b6['withText']=!0x0,_0xb1f9b6['class']='ck-button-action',_0xb1f9b6['on']('execute',()=>{this['fire']('retry');}),_0xb1f9b6['bind']('isVisible')['to'](this,'errorType',_0x4e6348=>'NotFound'!==_0x4e6348);const _0x55ff78=new _0x441c3a();_0x55ff78['content']=_0x53f839,_0x55ff78['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x442f9b=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':[_0x55ff78,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x442f9b['to']('errorType',_0x2b2104=>t('NotFound'!==_0x2b2104?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xb1f9b6]},{'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 _0x530dbd}from'ckeditor5/src/icons.js';import{ButtonView as _0x552487,IconView as _0x13655c,View as _0x2a1fed}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2a1fed{constructor(_0x21d074){super(_0x21d074);const t=_0x21d074['t'];this['set']('errorType',null);const _0xe80346=new _0x552487(_0x21d074);_0xe80346['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xe80346['withText']=!0x0,_0xe80346['class']='ck-button-action',_0xe80346['on']('execute',()=>{this['fire']('retry');}),_0xe80346['bind']('isVisible')['to'](this,'errorType',_0x453101=>'NotFound'!==_0x453101);const _0x58c050=new _0x13655c();_0x58c050['content']=_0x530dbd,_0x58c050['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3e2505=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':[_0x58c050,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3e2505['to']('errorType',_0xf6ee71=>t('NotFound'!==_0xf6ee71?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xe80346]},{'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 _0x42f562,View as _0xec3575}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xec3575{constructor(_0x4feb97){super(_0x4feb97);const t=_0x4feb97['t'],_0x529c76=this['bindTemplate'],_0x3cee52=new _0x42f562();_0x3cee52['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':[_0x3cee52,{'text':_0x529c76['to']('imageUploadProgress',_0x4e8e4f=>t('Loading\x20image...')+'\x20('+(_0x4e8e4f||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 _0x36d08a,View as _0x1b8874}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1b8874{constructor(_0x125f8d){super(_0x125f8d);const t=_0x125f8d['t'],_0x183763=this['bindTemplate'],_0x4b4d08=new _0x36d08a();_0x4b4d08['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':[_0x4b4d08,{'text':_0x183763['to']('imageUploadProgress',_0xc52271=>t('Loading\x20image...')+'\x20('+(_0xc52271||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ad4(){const _0x1b839d=['change:status','observe','render','fire','toLowerCase','apply','retry','_loadingView','_setView','addEventListener','nodeName','ck-uploadcare-form','setTemplate','ck-reset_all-excluded','2347848aFBBHX','querySelector','detail','2444910MNjJED','status','createCollection','1040370RgtwMa','ready','error','set','disconnect','cdnUrl','541678mhmTng','target','uploading','3OsysUN','_addUploadcareImageEditorListeners','_addErrorViewListeners','addMany','filter','add','_focusableView','uc-cloud-image-editor','clear','_errorView','div','addedNodes','once','cancel','_items','element','focus','getFocusableElement','_editingView','7VNEIKj','_waitForImageEditorComponent','801364RqNiHa','182422HIiHOi','length','3470868tLNGhN'];_0x4ad4=function(){return _0x1b839d;};return _0x4ad4();}const _0x3bbf4a=_0x4060;(function(_0x2df6a1,_0x10c3f2){const _0x4b702e=_0x4060,_0x43f326=_0x2df6a1();while(!![]){try{const _0x20b697=-parseInt(_0x4b702e(0x10c))/0x1+parseInt(_0x4b702e(0x129))/0x2+-parseInt(_0x4b702e(0x12c))/0x3*(-parseInt(_0x4b702e(0x10b))/0x4)+parseInt(_0x4b702e(0x123))/0x5+parseInt(_0x4b702e(0x120))/0x6+-parseInt(_0x4b702e(0x109))/0x7*(parseInt(_0x4b702e(0x11d))/0x8)+-parseInt(_0x4b702e(0x10e))/0x9;if(_0x20b697===_0x10c3f2)break;else _0x43f326['push'](_0x43f326['shift']());}catch(_0x156f63){_0x43f326['push'](_0x43f326['shift']());}}}(_0x4ad4,0x36fa0));import{View as _0x4d72be}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4ef357}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4688a6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x10cc9d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3fcd77}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4060(_0x3819eb,_0x16cb76){const _0x4ad4b7=_0x4ad4();return _0x4060=function(_0x4060df,_0x57e402){_0x4060df=_0x4060df-0x105;let _0x4d6450=_0x4ad4b7[_0x4060df];return _0x4d6450;},_0x4060(_0x3819eb,_0x16cb76);}export class UploadcareImageEditFormView extends _0x3fcd77{[_0x3bbf4a(0x13a)];[_0x3bbf4a(0x116)];[_0x3bbf4a(0x135)];[_0x3bbf4a(0x108)];[_0x3bbf4a(0x132)];constructor(_0x295e,_0x17db2a,_0xe8c6ca){const _0x423466=_0x3bbf4a;super(_0x295e),this[_0x423466(0x13a)]=this[_0x423466(0x122)](),this[_0x423466(0x116)]=new _0x4ef357(_0x295e),this[_0x423466(0x135)]=new _0x4688a6(_0x295e),this[_0x423466(0x108)]=new _0x10cc9d(_0x295e,_0xe8c6ca),this[_0x423466(0x132)]=new _0x4d72be(_0x295e),this[_0x423466(0x132)][_0x423466(0x11b)](this[_0x423466(0x107)]()),this[_0x423466(0x126)](_0x423466(0x121),_0x17db2a),this[_0x423466(0x11b)]({'tag':_0x423466(0x136),'attributes':{'class':['ck',_0x423466(0x11c),_0x423466(0x11a)],'tabindex':'-1'},'children':this[_0x423466(0x13a)]}),this[_0x423466(0x117)](),this[_0x423466(0x138)](_0x423466(0x111),()=>{const _0x406325=_0x423466;this[_0x406325(0x10a)](this[_0x406325(0x105)],_0x297286=>{const _0x55d591=_0x406325;this[_0x55d591(0x12d)](_0x297286);});}),this['on'](_0x423466(0x10f),()=>{const _0x572fa0=_0x423466;this[_0x572fa0(0x117)]();}),this[_0x423466(0x12e)]();}[_0x3bbf4a(0x106)](){const _0x227fbf=_0x3bbf4a;this[_0x227fbf(0x105)][_0x227fbf(0x106)]();}[_0x3bbf4a(0x117)](){const _0x6942c1=_0x3bbf4a;switch(this[_0x6942c1(0x13a)][_0x6942c1(0x134)](),this[_0x6942c1(0x121)]){case _0x6942c1(0x12b):this[_0x6942c1(0x13a)][_0x6942c1(0x131)](this[_0x6942c1(0x116)]);break;case _0x6942c1(0x125):this[_0x6942c1(0x13a)][_0x6942c1(0x131)](this[_0x6942c1(0x135)]);break;case _0x6942c1(0x124):this[_0x6942c1(0x13a)][_0x6942c1(0x12f)]([this[_0x6942c1(0x108)],this[_0x6942c1(0x132)]]);}}[_0x3bbf4a(0x10a)](_0x5116fa,_0x4b9e45){const _0x449831=_0x3bbf4a,_0x2873fc=_0x449831(0x133),_0x40eca5=_0x5116fa[_0x449831(0x11e)](_0x2873fc);if(_0x40eca5)return _0x4b9e45(_0x40eca5);const _0x5e1ebb=new MutationObserver(_0x42a329=>{const _0x5e7448=_0x449831,_0x527ce1=_0x42a329[_0x5e7448(0x130)](_0xf685be=>_0xf685be[_0x5e7448(0x12a)]===_0x5116fa&&_0xf685be[_0x5e7448(0x137)][_0x5e7448(0x10d)]>0x0&&_0xf685be[_0x5e7448(0x137)][0x0][_0x5e7448(0x119)][_0x5e7448(0x113)]()===_0x2873fc);_0x527ce1[_0x5e7448(0x10d)]&&(_0x5e1ebb[_0x5e7448(0x127)](),_0x4b9e45(_0x527ce1[0x0][_0x5e7448(0x137)][0x0]));});_0x5e1ebb[_0x449831(0x110)](_0x5116fa,{'childList':!0x0,'subtree':!0x0});}[_0x3bbf4a(0x12d)](_0x468c42){const _0x59b877=_0x3bbf4a;_0x468c42[_0x59b877(0x118)](_0x59b877(0x114),_0x30f5ff=>{const _0x72929b=_0x59b877;this[_0x72929b(0x112)](_0x72929b(0x114),{'imageSrc':_0x30f5ff[_0x72929b(0x11f)][_0x72929b(0x128)]});}),_0x468c42[_0x59b877(0x118)](_0x59b877(0x139),()=>{const _0x556e7e=_0x59b877;this[_0x556e7e(0x112)](_0x556e7e(0x139));});}[_0x3bbf4a(0x12e)](){const _0x3315ea=_0x3bbf4a;this[_0x3315ea(0x135)]['on'](_0x3315ea(0x115),()=>{const _0x2ee8aa=_0x3315ea;this[_0x2ee8aa(0x112)](_0x2ee8aa(0x115));});}}
23
+ const _0x54d89a=_0x731c;(function(_0xb840b8,_0x1a5efc){const _0x2c060a=_0x731c,_0x1fa10f=_0xb840b8();while(!![]){try{const _0x5c4b40=parseInt(_0x2c060a(0xba))/0x1+-parseInt(_0x2c060a(0xd1))/0x2+-parseInt(_0x2c060a(0xcd))/0x3*(-parseInt(_0x2c060a(0xdd))/0x4)+-parseInt(_0x2c060a(0xb4))/0x5*(parseInt(_0x2c060a(0xb3))/0x6)+parseInt(_0x2c060a(0xd3))/0x7+parseInt(_0x2c060a(0xdc))/0x8*(parseInt(_0x2c060a(0xb5))/0x9)+parseInt(_0x2c060a(0xde))/0xa*(parseInt(_0x2c060a(0xb1))/0xb);if(_0x5c4b40===_0x1a5efc)break;else _0x1fa10f['push'](_0x1fa10f['shift']());}catch(_0x6f1a74){_0x1fa10f['push'](_0x1fa10f['shift']());}}}(_0x3486,0xbaa47));import{View as _0x511b7a}from'ckeditor5/src/ui.js';function _0x731c(_0x5d0507,_0x3347df){const _0x34869e=_0x3486();return _0x731c=function(_0x731c3c,_0x7df12b){_0x731c3c=_0x731c3c-0xaf;let _0x3ad74c=_0x34869e[_0x731c3c];return _0x3ad74c;},_0x731c(_0x5d0507,_0x3347df);}function _0x3486(){const _0xa6d97e=['add','status','filter','div','60152PtTGgw','1532812ZlwgLw','40nXIqER','_focusableView','observe','addEventListener','error','length','focus','retry','_waitForImageEditorComponent','_editingView','ck-reset_all-excluded','2104058KSkjei','uploading','3845046VEtzkY','10bInvqL','99FgHgUW','_errorView','ck-uploadcare-form','_addErrorViewListeners','ready','157055SrRBno','change:status','createCollection','cdnUrl','clear','getFocusableElement','_setView','addedNodes','uc-cloud-image-editor','setTemplate','_addUploadcareImageEditorListeners','nodeName','once','render','element','_loadingView','set','disconnect','cancel','9etKoAW','apply','querySelector','fire','535462eIRXol','detail','1115905RTKvsh','addMany','toLowerCase','target','_items'];_0x3486=function(){return _0xa6d97e;};return _0x3486();}import{UploadcareImageEditFormLoadingView as _0x28d9b7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1eafb5}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x27575c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x394b82}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x394b82{[_0x54d89a(0xd7)];[_0x54d89a(0xc9)];[_0x54d89a(0xb6)];[_0x54d89a(0xaf)];[_0x54d89a(0xdf)];constructor(_0x1ff2fc,_0x43c5ff,_0x1e402b){const _0x563773=_0x54d89a;super(_0x1ff2fc),this[_0x563773(0xd7)]=this[_0x563773(0xbc)](),this[_0x563773(0xc9)]=new _0x28d9b7(_0x1ff2fc),this[_0x563773(0xb6)]=new _0x1eafb5(_0x1ff2fc),this[_0x563773(0xaf)]=new _0x27575c(_0x1ff2fc,_0x1e402b),this[_0x563773(0xdf)]=new _0x511b7a(_0x1ff2fc),this[_0x563773(0xdf)][_0x563773(0xc3)](this[_0x563773(0xbf)]()),this[_0x563773(0xca)](_0x563773(0xd9),_0x43c5ff),this[_0x563773(0xc3)]({'tag':_0x563773(0xdb),'attributes':{'class':['ck',_0x563773(0xb0),_0x563773(0xb7)],'tabindex':'-1'},'children':this[_0x563773(0xd7)]}),this[_0x563773(0xc0)](),this[_0x563773(0xc6)](_0x563773(0xc7),()=>{const _0x59e2d5=_0x563773;this[_0x59e2d5(0xe6)](this[_0x59e2d5(0xc8)],_0x1a39aa=>{const _0xd2e57b=_0x59e2d5;this[_0xd2e57b(0xc4)](_0x1a39aa);});}),this['on'](_0x563773(0xbb),()=>{const _0x2101cc=_0x563773;this[_0x2101cc(0xc0)]();}),this[_0x563773(0xb8)]();}[_0x54d89a(0xe4)](){const _0x394ca4=_0x54d89a;this[_0x394ca4(0xc8)][_0x394ca4(0xe4)]();}[_0x54d89a(0xc0)](){const _0x2c490e=_0x54d89a;switch(this[_0x2c490e(0xd7)][_0x2c490e(0xbe)](),this[_0x2c490e(0xd9)]){case _0x2c490e(0xb2):this[_0x2c490e(0xd7)][_0x2c490e(0xd8)](this[_0x2c490e(0xc9)]);break;case _0x2c490e(0xe2):this[_0x2c490e(0xd7)][_0x2c490e(0xd8)](this[_0x2c490e(0xb6)]);break;case _0x2c490e(0xb9):this[_0x2c490e(0xd7)][_0x2c490e(0xd4)]([this[_0x2c490e(0xaf)],this[_0x2c490e(0xdf)]]);}}[_0x54d89a(0xe6)](_0x2a9893,_0x5ec3a3){const _0xaafa44=_0x54d89a,_0x3a12e=_0xaafa44(0xc2),_0x49ba54=_0x2a9893[_0xaafa44(0xcf)](_0x3a12e);if(_0x49ba54)return _0x5ec3a3(_0x49ba54);const _0x431c6f=new MutationObserver(_0x4f8064=>{const _0x546820=_0xaafa44,_0x47ac46=_0x4f8064[_0x546820(0xda)](_0x3c4777=>_0x3c4777[_0x546820(0xd6)]===_0x2a9893&&_0x3c4777[_0x546820(0xc1)][_0x546820(0xe3)]>0x0&&_0x3c4777[_0x546820(0xc1)][0x0][_0x546820(0xc5)][_0x546820(0xd5)]()===_0x3a12e);_0x47ac46[_0x546820(0xe3)]&&(_0x431c6f[_0x546820(0xcb)](),_0x5ec3a3(_0x47ac46[0x0][_0x546820(0xc1)][0x0]));});_0x431c6f[_0xaafa44(0xe0)](_0x2a9893,{'childList':!0x0,'subtree':!0x0});}[_0x54d89a(0xc4)](_0x50e66e){const _0x59acca=_0x54d89a;_0x50e66e[_0x59acca(0xe1)](_0x59acca(0xce),_0xbdfa2a=>{const _0x11fde9=_0x59acca;this[_0x11fde9(0xd0)](_0x11fde9(0xce),{'imageSrc':_0xbdfa2a[_0x11fde9(0xd2)][_0x11fde9(0xbd)]});}),_0x50e66e[_0x59acca(0xe1)](_0x59acca(0xcc),()=>{const _0x434b7e=_0x59acca;this[_0x434b7e(0xd0)](_0x434b7e(0xcc));});}[_0x54d89a(0xb8)](){const _0x3804ba=_0x54d89a;this[_0x3804ba(0xb6)]['on'](_0x3804ba(0xe5),()=>{const _0xd3ecd=_0x3804ba;this[_0xd3ecd(0xd0)](_0xd3ecd(0xe5));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x117111=_0x3374;(function(_0x3f7e15,_0x581425){const _0x48a129=_0x3374,_0x471d90=_0x3f7e15();while(!![]){try{const _0x2d9220=parseInt(_0x48a129(0x1d4))/0x1+parseInt(_0x48a129(0x1be))/0x2*(parseInt(_0x48a129(0x1d6))/0x3)+parseInt(_0x48a129(0x1d9))/0x4*(parseInt(_0x48a129(0x1dc))/0x5)+parseInt(_0x48a129(0x1c8))/0x6*(-parseInt(_0x48a129(0x1db))/0x7)+-parseInt(_0x48a129(0x1d8))/0x8+parseInt(_0x48a129(0x1bd))/0x9*(-parseInt(_0x48a129(0x1d1))/0xa)+parseInt(_0x48a129(0x1bc))/0xb;if(_0x2d9220===_0x581425)break;else _0x471d90['push'](_0x471d90['shift']());}catch(_0x54f89c){_0x471d90['push'](_0x471d90['shift']());}}}(_0x4ddc,0x34a50));import{Command as _0x55a20f}from'ckeditor5/src/core.js';function _0x3374(_0x112328,_0x20943a){const _0x4ddc98=_0x4ddc();return _0x3374=function(_0x3374bf,_0x2cbf89){_0x3374bf=_0x3374bf-0x1bc;let _0x2008ca=_0x4ddc98[_0x3374bf];return _0x2008ca;},_0x3374(_0x112328,_0x20943a);}import{Dialog as _0x2dcc0e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x5287df}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5bd2db}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x55a20f{[_0x117111(0x1c0)];static get[_0x117111(0x1da)](){return[_0x2dcc0e];}[_0x117111(0x1c2)];constructor(_0x485616){const _0x272fda=_0x117111;super(_0x485616),this[_0x272fda(0x1c0)]=void 0x0,this[_0x272fda(0x1c2)]=_0x5bd2db(_0x485616[_0x272fda(0x1cc)][_0x272fda(0x1ca)](_0x272fda(0x1bf))||[]),this[_0x272fda(0x1d7)]({'isActive':!0x1});}[_0x117111(0x1c6)](){const _0x4c36ff=_0x117111,_0x5569ea=this[_0x4c36ff(0x1ce)][_0x4c36ff(0x1cf)][_0x4c36ff(0x1d0)][_0x4c36ff(0x1d2)][_0x4c36ff(0x1c5)]();this[_0x4c36ff(0x1cd)]=this[_0x4c36ff(0x1c2)](_0x5569ea);}[_0x117111(0x1c1)](){const _0x156a24=_0x117111;this[_0x156a24(0x1c0)]&&(this[_0x156a24(0x1c7)](_0x156a24(0x1c3)),this[_0x156a24(0x1c0)]=void 0x0);const _0x288c3a=this[_0x156a24(0x1ce)][_0x156a24(0x1cf)][_0x156a24(0x1d0)][_0x156a24(0x1d2)][_0x156a24(0x1c5)]();_0x288c3a&&(_0x288c3a['is'](_0x156a24(0x1c4),_0x156a24(0x1d5))||_0x288c3a['is'](_0x156a24(0x1c4),_0x156a24(0x1cb)))&&(this[_0x156a24(0x1c0)]=new _0x5287df(this[_0x156a24(0x1ce)],this[_0x156a24(0x1ce)][_0x156a24(0x1d3)][_0x156a24(0x1ca)](_0x2dcc0e),_0x288c3a),this[_0x156a24(0x1c9)](_0x156a24(0x1c3))['to'](this[_0x156a24(0x1c0)],_0x156a24(0x1c3)));}}function _0x4ddc(){const _0x224ac4=['44PyKIPt','requires','23737AVtfWs','68645QtEuli','287793dlTIYT','1206GNOJML','25948bHbfZk','uploadcare.allowExternalImagesEditing','imageEditController','execute','_isEditable','isActive','element','getSelectedElement','refresh','unbind','588QemEFg','bind','get','imageInline','config','isEnabled','editor','model','document','8260SUhPmH','selection','plugins','318047baJalL','imageBlock','75UncOlV','set','1287560ojCLel'];_0x4ddc=function(){return _0x224ac4;};return _0x4ddc();}
23
+ function _0x121f(_0x51a6a0,_0x3eacec){const _0x3efb57=_0x3efb();return _0x121f=function(_0x121f30,_0x33fcf7){_0x121f30=_0x121f30-0x1b5;let _0x1ec8c2=_0x3efb57[_0x121f30];return _0x1ec8c2;},_0x121f(_0x51a6a0,_0x3eacec);}const _0x261235=_0x121f;function _0x3efb(){const _0x583f0b=['uploadcare.allowExternalImagesEditing','set','3lDZTEW','model','isActive','get','7259682sUETLa','2782424RRdHho','editor','requires','isEnabled','_isEditable','3141222nbWTKr','document','1chPTbA','5784364FJYrrD','540338owOEtV','execute','imageInline','imageEditController','unbind','config','refresh','selection','24555429cRzWWB','2354525AdzbWr','getSelectedElement','bind','element','plugins','imageBlock'];_0x3efb=function(){return _0x583f0b;};return _0x3efb();}(function(_0x3e865e,_0x2b4a66){const _0x1a2dac=_0x121f,_0x2fbff7=_0x3e865e();while(!![]){try{const _0x3a87b0=parseInt(_0x1a2dac(0x1c2))/0x1*(parseInt(_0x1a2dac(0x1c4))/0x2)+-parseInt(_0x1a2dac(0x1b6))/0x3*(-parseInt(_0x1a2dac(0x1c3))/0x4)+parseInt(_0x1a2dac(0x1cd))/0x5+parseInt(_0x1a2dac(0x1ba))/0x6+parseInt(_0x1a2dac(0x1c0))/0x7+-parseInt(_0x1a2dac(0x1bb))/0x8+-parseInt(_0x1a2dac(0x1cc))/0x9;if(_0x3a87b0===_0x2b4a66)break;else _0x2fbff7['push'](_0x2fbff7['shift']());}catch(_0x39e6b9){_0x2fbff7['push'](_0x2fbff7['shift']());}}}(_0x3efb,0xbbe8a));import{Command as _0x31d3b8}from'ckeditor5/src/core.js';import{Dialog as _0xe2083e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x40f12d}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2416d8}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x31d3b8{[_0x261235(0x1c7)];static get[_0x261235(0x1bd)](){return[_0xe2083e];}[_0x261235(0x1bf)];constructor(_0xb7e0b9){const _0x2058b4=_0x261235;super(_0xb7e0b9),this[_0x2058b4(0x1c7)]=void 0x0,this[_0x2058b4(0x1bf)]=_0x2416d8(_0xb7e0b9[_0x2058b4(0x1c9)][_0x2058b4(0x1b9)](_0x2058b4(0x1d3))||[]),this[_0x2058b4(0x1b5)]({'isActive':!0x1});}[_0x261235(0x1ca)](){const _0x384c78=_0x261235,_0x1252bb=this[_0x384c78(0x1bc)][_0x384c78(0x1b7)][_0x384c78(0x1c1)][_0x384c78(0x1cb)][_0x384c78(0x1ce)]();this[_0x384c78(0x1be)]=this[_0x384c78(0x1bf)](_0x1252bb);}[_0x261235(0x1c5)](){const _0x222ba5=_0x261235;this[_0x222ba5(0x1c7)]&&(this[_0x222ba5(0x1c8)](_0x222ba5(0x1b8)),this[_0x222ba5(0x1c7)]=void 0x0);const _0x2175d8=this[_0x222ba5(0x1bc)][_0x222ba5(0x1b7)][_0x222ba5(0x1c1)][_0x222ba5(0x1cb)][_0x222ba5(0x1ce)]();_0x2175d8&&(_0x2175d8['is'](_0x222ba5(0x1d0),_0x222ba5(0x1d2))||_0x2175d8['is'](_0x222ba5(0x1d0),_0x222ba5(0x1c6)))&&(this[_0x222ba5(0x1c7)]=new _0x40f12d(this[_0x222ba5(0x1bc)],this[_0x222ba5(0x1bc)][_0x222ba5(0x1d1)][_0x222ba5(0x1b9)](_0xe2083e),_0x2175d8),this[_0x222ba5(0x1cf)](_0x222ba5(0x1b8))['to'](this[_0x222ba5(0x1c7)],_0x222ba5(0x1b8)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ad957=_0x2c05;(function(_0x36c522,_0x5c9fe2){const _0x4243be=_0x2c05,_0x3daa6c=_0x36c522();while(!![]){try{const _0x335260=parseInt(_0x4243be(0x18b))/0x1+-parseInt(_0x4243be(0x188))/0x2*(-parseInt(_0x4243be(0x183))/0x3)+parseInt(_0x4243be(0x18d))/0x4*(parseInt(_0x4243be(0x17f))/0x5)+-parseInt(_0x4243be(0x182))/0x6*(-parseInt(_0x4243be(0x184))/0x7)+parseInt(_0x4243be(0x189))/0x8*(parseInt(_0x4243be(0x186))/0x9)+-parseInt(_0x4243be(0x180))/0xa+-parseInt(_0x4243be(0x17d))/0xb*(parseInt(_0x4243be(0x18a))/0xc);if(_0x335260===_0x5c9fe2)break;else _0x3daa6c['push'](_0x3daa6c['shift']());}catch(_0x1995c6){_0x3daa6c['push'](_0x3daa6c['shift']());}}}(_0x5746,0x6c9ec));import{Plugin as _0x31c8e7}from'ckeditor5/src/core.js';import{Notification as _0x5237cc}from'ckeditor5/src/ui.js';function _0x5746(){const _0x4755b5=['uploadcareImageEdit','322SjeJQG','3984fGjJRx','853608JlKCBh','43996PdpDbn','pluginName','28XtFaKU','isPremiumPlugin','isOfficialPlugin','add','ImageUtils','init','UploadcareImageEditEditing','requires','187llFYfn','ImageEditing','583840tzktwO','4439280dZqSJM','uploadcareImageReplace','54FijMfw','5775rSSWOb','579481xhUxmb','commands','3285nUnHXe'];_0x5746=function(){return _0x4755b5;};return _0x5746();}import{UploadcareImageEditCommand as _0x4cb92a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x8f9d0c}from'./uploadcareimagereplacecommand.js';function _0x2c05(_0x533716,_0x2edb4e){const _0x5746dd=_0x5746();return _0x2c05=function(_0x2c05a6,_0x52dccd){_0x2c05a6=_0x2c05a6-0x177;let _0x20b934=_0x5746dd[_0x2c05a6];return _0x20b934;},_0x2c05(_0x533716,_0x2edb4e);}import{UploadcareEditing as _0xfb704f}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x31c8e7{static get[_0x4ad957(0x18c)](){const _0x3a5a28=_0x4ad957;return _0x3a5a28(0x17b);}static get[_0x4ad957(0x17c)](){const _0x4c325f=_0x4ad957;return[_0xfb704f,_0x5237cc,_0x4c325f(0x179),_0x4c325f(0x17e)];}static get[_0x4ad957(0x177)](){return!0x0;}static get[_0x4ad957(0x18e)](){return!0x0;}[_0x4ad957(0x17a)](){const _0x5c3ed6=_0x4ad957,{editor:_0x5cc479}=this;_0x5cc479[_0x5c3ed6(0x185)][_0x5c3ed6(0x178)](_0x5c3ed6(0x187),new _0x4cb92a(_0x5cc479)),_0x5cc479[_0x5c3ed6(0x185)][_0x5c3ed6(0x178)](_0x5c3ed6(0x181),new _0x8f9d0c(_0x5cc479));}}
23
+ const _0x18f271=_0x2503;(function(_0xc8e5e2,_0x474bfa){const _0x52857d=_0x2503,_0x13decf=_0xc8e5e2();while(!![]){try{const _0x450739=parseInt(_0x52857d(0xe8))/0x1+parseInt(_0x52857d(0xf7))/0x2*(-parseInt(_0x52857d(0xf5))/0x3)+parseInt(_0x52857d(0xe9))/0x4+parseInt(_0x52857d(0xf3))/0x5+parseInt(_0x52857d(0xe3))/0x6+-parseInt(_0x52857d(0xe4))/0x7+parseInt(_0x52857d(0xef))/0x8*(-parseInt(_0x52857d(0xe6))/0x9);if(_0x450739===_0x474bfa)break;else _0x13decf['push'](_0x13decf['shift']());}catch(_0x1c7f00){_0x13decf['push'](_0x13decf['shift']());}}}(_0x30d4,0x864ac));import{Plugin as _0x495cf3}from'ckeditor5/src/core.js';import{Notification as _0x4ca72c}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4c110d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x36ebdd}from'./uploadcareimagereplacecommand.js';function _0x2503(_0x475fd8,_0x2b20ad){const _0x30d4eb=_0x30d4();return _0x2503=function(_0x250354,_0x14a021){_0x250354=_0x250354-0xe3;let _0x495a99=_0x30d4eb[_0x250354];return _0x495a99;},_0x2503(_0x475fd8,_0x2b20ad);}import{UploadcareEditing as _0x54a957}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x495cf3{static get[_0x18f271(0xf1)](){const _0x5c7013=_0x18f271;return _0x5c7013(0xf2);}static get[_0x18f271(0xee)](){const _0x289758=_0x18f271;return[_0x54a957,_0x4ca72c,_0x289758(0xec),_0x289758(0xe7)];}static get[_0x18f271(0xf0)](){return!0x0;}static get[_0x18f271(0xf6)](){return!0x0;}[_0x18f271(0xed)](){const _0x3b4a1a=_0x18f271,{editor:_0xc26dc9}=this;_0xc26dc9[_0x3b4a1a(0xeb)][_0x3b4a1a(0xea)](_0x3b4a1a(0xf4),new _0x4c110d(_0xc26dc9)),_0xc26dc9[_0x3b4a1a(0xeb)][_0x3b4a1a(0xea)](_0x3b4a1a(0xe5),new _0x36ebdd(_0xc26dc9));}}function _0x30d4(){const _0x805b08=['uploadcareImageEdit','133761plQNIe','isPremiumPlugin','4jMJqbU','810504RRlCiY','2561699LHBmkW','uploadcareImageReplace','109143LRuzzB','ImageEditing','664521nOdakx','1415376sNXuCl','add','commands','ImageUtils','init','requires','312LAUThW','isOfficialPlugin','pluginName','UploadcareImageEditEditing','1623475tcTRRf'];_0x30d4=function(){return _0x805b08;};return _0x30d4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2efc41}from'ckeditor5/src/core.js';import{ButtonView as _0x566bfe}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x21afcf}from'ckeditor5/src/icons.js';import{createElement as _0x455a43}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 _0x2efc41{['_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 _0xc4b2d=this['editor'];_0xc4b2d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x18f04e=>{const _0x4d2141=_0xc4b2d['commands']['get']('uploadcareImageEdit'),_0x2fc159=new _0x566bfe(_0x18f04e),t=_0x18f04e['t'];return _0x2fc159['set']({'icon':_0x21afcf,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2fc159['bind']('isEnabled')['to'](_0x4d2141),_0x2fc159['bind']('isOn')['to'](_0x4d2141,'isActive'),this['listenTo'](_0x2fc159,'execute',()=>{_0xc4b2d['execute']('uploadcareImageEdit'),_0xc4b2d['editing']['view']['focus']();}),_0x2fc159;}),this['_initConfig']();}['_initConfig'](){const _0x37987a=_0x455a43(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x37987a),this['listenTo'](this['editor'],'destroy',()=>{_0x37987a['remove']();});}}
23
+ import{Plugin as _0x5649e9}from'ckeditor5/src/core.js';import{ButtonView as _0x35432c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x35536c}from'ckeditor5/src/icons.js';import{createElement as _0x4e842b}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 _0x5649e9{['_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 _0x199e25=this['editor'];_0x199e25['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2c5d2e=>{const _0x2c8cbd=_0x199e25['commands']['get']('uploadcareImageEdit'),_0x428d6b=new _0x35432c(_0x2c5d2e),t=_0x2c5d2e['t'];return _0x428d6b['set']({'icon':_0x35536c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x428d6b['bind']('isEnabled')['to'](_0x2c8cbd),_0x428d6b['bind']('isOn')['to'](_0x2c8cbd,'isActive'),this['listenTo'](_0x428d6b,'execute',()=>{_0x199e25['execute']('uploadcareImageEdit'),_0x199e25['editing']['view']['focus']();}),_0x428d6b;}),this['_initConfig']();}['_initConfig'](){const _0x5c03c6=_0x4e842b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5c03c6),this['listenTo'](this['editor'],'destroy',()=>{_0x5c03c6['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b214a=_0x1135;(function(_0x4711a7,_0x1337d9){const _0x288282=_0x1135,_0x457384=_0x4711a7();while(!![]){try{const _0x2fcdb2=-parseInt(_0x288282(0x153))/0x1+-parseInt(_0x288282(0x152))/0x2+parseInt(_0x288282(0x157))/0x3*(parseInt(_0x288282(0x148))/0x4)+-parseInt(_0x288282(0x14c))/0x5*(-parseInt(_0x288282(0x145))/0x6)+-parseInt(_0x288282(0x14b))/0x7+parseInt(_0x288282(0x159))/0x8+-parseInt(_0x288282(0x14f))/0x9*(-parseInt(_0x288282(0x14e))/0xa);if(_0x2fcdb2===_0x1337d9)break;else _0x457384['push'](_0x457384['shift']());}catch(_0x29af51){_0x457384['push'](_0x457384['shift']());}}}(_0x4822,0x9d8a9));import{Command as _0x48a7fc}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x48a7fc{[_0x1b214a(0x143)](){const _0x37e3a8=_0x1b214a,_0x334a60=this[_0x37e3a8(0x150)][_0x37e3a8(0x147)][_0x37e3a8(0x144)][_0x37e3a8(0x14d)][_0x37e3a8(0x15c)]();this[_0x37e3a8(0x146)]=Boolean(_0x334a60&&(_0x334a60['is'](_0x37e3a8(0x158),_0x37e3a8(0x155))||_0x334a60['is'](_0x37e3a8(0x158),_0x37e3a8(0x15b))));}[_0x1b214a(0x14a)](_0x3c5bc1){const _0x53f41e=_0x1b214a,_0x5b03d5=this[_0x53f41e(0x150)][_0x53f41e(0x147)][_0x53f41e(0x144)][_0x53f41e(0x14d)][_0x53f41e(0x15c)]();this[_0x53f41e(0x150)][_0x53f41e(0x147)][_0x53f41e(0x151)](_0x456774=>{const _0x559880=_0x53f41e;_0x456774[_0x559880(0x156)](_0x3c5bc1,_0x5b03d5),_0x456774[_0x559880(0x149)](_0x559880(0x15a),_0x5b03d5),_0x456774[_0x559880(0x149)](_0x559880(0x154),_0x5b03d5);});}}function _0x1135(_0x370a47,_0x58cd43){const _0x48226a=_0x4822();return _0x1135=function(_0x1135c6,_0x2875df){_0x1135c6=_0x1135c6-0x143;let _0x41ff1c=_0x48226a[_0x1135c6];return _0x41ff1c;},_0x1135(_0x370a47,_0x58cd43);}function _0x4822(){const _0x51531f=['getSelectedElement','refresh','document','1639146DGhLPy','isEnabled','model','1159112qbbGsj','removeAttribute','execute','37485sIBLqh','5cnwwGu','selection','320JzsWKb','366408YAHwGg','editor','change','2049342KKPXxh','538867HMeMGV','sizes','imageBlock','setAttributes','3lskMUd','element','2787432LmFyYg','srcset','imageInline'];_0x4822=function(){return _0x51531f;};return _0x4822();}
23
+ function _0x5b9c(_0x1b64e1,_0x432e54){const _0x91021e=_0x9102();return _0x5b9c=function(_0x5b9c52,_0x2eefe3){_0x5b9c52=_0x5b9c52-0x159;let _0x34c317=_0x91021e[_0x5b9c52];return _0x34c317;},_0x5b9c(_0x1b64e1,_0x432e54);}function _0x9102(){const _0x402537=['5439kRFOLF','1uMOnDu','change','208628HTOZcg','removeAttribute','element','refresh','selection','485054zCkgjC','660336nFmAgV','setAttributes','784150zqJxUl','2380XtFubi','execute','46925BhzwNv','document','imageInline','44cOlytl','498wLVGQk','52UHEFDh','599580sLTAzD','model','getSelectedElement','sizes','srcset','8uGVsKG','editor','isEnabled','imageBlock'];_0x9102=function(){return _0x402537;};return _0x9102();}const _0x4739ec=_0x5b9c;(function(_0x64e2bf,_0x1f7418){const _0x52707a=_0x5b9c,_0x2626f5=_0x64e2bf();while(!![]){try{const _0x353d4e=-parseInt(_0x52707a(0x16b))/0x1*(-parseInt(_0x52707a(0x172))/0x2)+parseInt(_0x52707a(0x16a))/0x3*(-parseInt(_0x52707a(0x159))/0x4)+-parseInt(_0x52707a(0x15b))/0x5*(-parseInt(_0x52707a(0x15f))/0x6)+-parseInt(_0x52707a(0x16d))/0x7*(-parseInt(_0x52707a(0x166))/0x8)+parseInt(_0x52707a(0x161))/0x9+parseInt(_0x52707a(0x175))/0xa*(parseInt(_0x52707a(0x15e))/0xb)+-parseInt(_0x52707a(0x173))/0xc*(-parseInt(_0x52707a(0x160))/0xd);if(_0x353d4e===_0x1f7418)break;else _0x2626f5['push'](_0x2626f5['shift']());}catch(_0x336560){_0x2626f5['push'](_0x2626f5['shift']());}}}(_0x9102,0x8be0f));import{Command as _0x7f52e9}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x7f52e9{[_0x4739ec(0x170)](){const _0x1e07db=_0x4739ec,_0x2e53e2=this[_0x1e07db(0x167)][_0x1e07db(0x162)][_0x1e07db(0x15c)][_0x1e07db(0x171)][_0x1e07db(0x163)]();this[_0x1e07db(0x168)]=Boolean(_0x2e53e2&&(_0x2e53e2['is'](_0x1e07db(0x16f),_0x1e07db(0x169))||_0x2e53e2['is'](_0x1e07db(0x16f),_0x1e07db(0x15d))));}[_0x4739ec(0x15a)](_0x3a09f7){const _0x5f50fc=_0x4739ec,_0x4aef16=this[_0x5f50fc(0x167)][_0x5f50fc(0x162)][_0x5f50fc(0x15c)][_0x5f50fc(0x171)][_0x5f50fc(0x163)]();this[_0x5f50fc(0x167)][_0x5f50fc(0x162)][_0x5f50fc(0x16c)](_0x1a3175=>{const _0x2548f3=_0x5f50fc;_0x1a3175[_0x2548f3(0x174)](_0x3a09f7,_0x4aef16),_0x1a3175[_0x2548f3(0x16e)](_0x2548f3(0x165),_0x4aef16),_0x1a3175[_0x2548f3(0x16e)](_0x2548f3(0x164),_0x4aef16);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2738(_0x85b2cc,_0x1451be){var _0x4484a8=_0x4484();return _0x2738=function(_0x27387a,_0x18b86d){_0x27387a=_0x27387a-0xe5;var _0x27a345=_0x4484a8[_0x27387a];return _0x27a345;},_0x2738(_0x85b2cc,_0x1451be);}var _0x178162=_0x2738;function _0x4484(){var _0x24e364=['12rLGeeP','UploadcareImageEdit','isPremiumPlugin','requires','142814YsgjiW','2371450bfHwHf','92380VCEFnO','345434yxJBnL','40eHGlYo','150222ZKmOZW','582490rGeRVl','22OqlqGP','1503639CfzwVz','isOfficialPlugin','6edDMMH','pluginName'];_0x4484=function(){return _0x24e364;};return _0x4484();}(function(_0x40a2b7,_0x5b01aa){var _0x52bf5d=_0x2738,_0x76f040=_0x40a2b7();while(!![]){try{var _0x27816b=-parseInt(_0x52bf5d(0xe5))/0x1+-parseInt(_0x52bf5d(0xe6))/0x2+-parseInt(_0x52bf5d(0xe8))/0x3*(parseInt(_0x52bf5d(0xef))/0x4)+parseInt(_0x52bf5d(0xe9))/0x5*(parseInt(_0x52bf5d(0xed))/0x6)+-parseInt(_0x52bf5d(0xf3))/0x7*(-parseInt(_0x52bf5d(0xe7))/0x8)+-parseInt(_0x52bf5d(0xeb))/0x9+-parseInt(_0x52bf5d(0xf4))/0xa*(-parseInt(_0x52bf5d(0xea))/0xb);if(_0x27816b===_0x5b01aa)break;else _0x76f040['push'](_0x76f040['shift']());}catch(_0x255edc){_0x76f040['push'](_0x76f040['shift']());}}}(_0x4484,0x1af48));import{Plugin as _0x11d279}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5ed971}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x22f2d7}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x11d279{static get[_0x178162(0xee)](){var _0x1fda2d=_0x178162;return _0x1fda2d(0xf0);}static get[_0x178162(0xf2)](){return[_0x5ed971,_0x22f2d7];}static get[_0x178162(0xec)](){return!0x0;}static get[_0x178162(0xf1)](){return!0x0;}}
23
+ var _0x4983d4=_0x3dd8;(function(_0x187649,_0x536de3){var _0x3878d7=_0x3dd8,_0x588d43=_0x187649();while(!![]){try{var _0x56fb4b=-parseInt(_0x3878d7(0xe0))/0x1+-parseInt(_0x3878d7(0xea))/0x2+-parseInt(_0x3878d7(0xe9))/0x3*(parseInt(_0x3878d7(0xe3))/0x4)+parseInt(_0x3878d7(0xec))/0x5+parseInt(_0x3878d7(0xe2))/0x6*(parseInt(_0x3878d7(0xed))/0x7)+-parseInt(_0x3878d7(0xe1))/0x8+-parseInt(_0x3878d7(0xe5))/0x9*(-parseInt(_0x3878d7(0xe7))/0xa);if(_0x56fb4b===_0x536de3)break;else _0x588d43['push'](_0x588d43['shift']());}catch(_0x471b06){_0x588d43['push'](_0x588d43['shift']());}}}(_0x8d92,0x1c006));function _0x3dd8(_0x29d322,_0x3eabfc){var _0x8d92f=_0x8d92();return _0x3dd8=function(_0x3dd81c,_0xb01b52){_0x3dd81c=_0x3dd81c-0xe0;var _0x10ca7b=_0x8d92f[_0x3dd81c];return _0x10ca7b;},_0x3dd8(_0x29d322,_0x3eabfc);}import{Plugin as _0x469ca6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1b320b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5eac7b}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x8d92(){var _0x43a924=['1765737BUfWmB','isOfficialPlugin','10pNkjxK','pluginName','110010WoDPpp','166146DciGSt','UploadcareImageEdit','657995GqssQr','7VThkGp','requires','123394JmsvHw','445536TeRYmH','954426yXVYwW','12uUDcIV','isPremiumPlugin'];_0x8d92=function(){return _0x43a924;};return _0x8d92();}export class UploadcareImageEdit extends _0x469ca6{static get[_0x4983d4(0xe8)](){var _0x1a1d83=_0x4983d4;return _0x1a1d83(0xeb);}static get[_0x4983d4(0xee)](){return[_0x1b320b,_0x5eac7b];}static get[_0x4983d4(0xe6)](){return!0x0;}static get[_0x4983d4(0xe4)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a1d(_0x157911,_0x182d2a){const _0x2d4a74=_0x2d4a();return _0x5a1d=function(_0x5a1d35,_0x25e2e3){_0x5a1d35=_0x5a1d35-0x77;let _0xad84cc=_0x2d4a74[_0x5a1d35];return _0xad84cc;},_0x5a1d(_0x157911,_0x182d2a);}function _0x2d4a(){const _0x5844f5=['domainLimit','_getIntegrationKey','uploadcareLicenseKeyTrialLimit','usageLimit','text','plugins','_createButton','24ngNwwy','locale','GDrive','160500ceZWxQ','Replace','uploadcareLicenseKeyValid','_normalizeConfigSourceList','OneDrive','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyUsageLimit','type','394uNEQKC','label','get','Local','3489624uhYias','withText','3843815HcKufk','reduce','_licenseKeyCheckInterval','uploadcareLicenseKeyDomainLimit','execute','isImageSelected','GPhotos','_showLicenseError','isOfficialPlugin','forEach','isEnabled','uploadcareLicenseKeyInvalid','ImageInsertUI','402905JLRSam','_createToolbarButton','10118073zjpwZw','49855310WSTHLi','icon','afterInit','uploadcareLicenseKeyNotAllowed','url','8VhtITx','Uploadcare','commands','_createDropdownButtons','destroy','registerIntegration','init','uploadcare.uploader.sourceList','invalid','tooltip','upload','bind','evaluationLimit','map','isPremiumPlugin','featureNotAllowed','push','shortText','licenseKey','pluginName','config','expired','Dropbox','UploadcareUI','uploadcare','trialLimit','assetManager','_createMenuBarButtons','editor','uploadcareLicenseKeyExpired','has','Insert','Facebook','entries','18087iZvSKr','URL'];_0x2d4a=function(){return _0x5844f5;};return _0x2d4a();}const _0x2bae71=_0x5a1d;(function(_0x3cef9b,_0x21aa0c){const _0x55e586=_0x5a1d,_0x32a635=_0x3cef9b();while(!![]){try{const _0x5d1a44=parseInt(_0x55e586(0x98))/0x1+parseInt(_0x55e586(0x85))/0x2*(parseInt(_0x55e586(0xc2))/0x3)+-parseInt(_0x55e586(0xa0))/0x4*(-parseInt(_0x55e586(0x8b))/0x5)+parseInt(_0x55e586(0x7d))/0x6+parseInt(_0x55e586(0x9a))/0x7+parseInt(_0x55e586(0x7a))/0x8*(parseInt(_0x55e586(0x89))/0x9)+-parseInt(_0x55e586(0x9b))/0xa;if(_0x5d1a44===_0x21aa0c)break;else _0x32a635['push'](_0x32a635['shift']());}catch(_0x5a9817){_0x32a635['push'](_0x32a635['shift']());}}}(_0x2d4a,0xbdf1a));import{Plugin as _0x100414}from'ckeditor5/src/core.js';import{IconDropbox as _0x4a3804,IconFacebook as _0x18aba9,IconGoogleDrive as _0x179f6f,IconGooglePhotos as _0x5efc3f,IconUploadcareImageUpload as _0x1c12ca,IconUploadcareLink as _0x5f4707,IconOneDrive as _0x5ba097}from'ckeditor5/src/icons.js';import{ButtonView as _0x3e8755,MenuBarMenuListItemButtonView as _0x202144}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x368e94}from'./uploadcareconfig.js';import{getTranslation as _0x20213e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x100414{[_0x2bae71(0xb2)];[_0x2bae71(0x8d)];static get[_0x2bae71(0xb3)](){const _0x1e4c8a=_0x2bae71;return _0x1e4c8a(0xb7);}static get[_0x2bae71(0x93)](){return!0x0;}static get[_0x2bae71(0xae)](){return!0x0;}[_0x2bae71(0xa6)](){const _0x3857ef=_0x2bae71;this[_0x3857ef(0xb2)]=this[_0x3857ef(0xbc)][_0x3857ef(0xb4)][_0x3857ef(0x87)](_0x3857ef(0xb2));const _0x261ba0=this[_0x3857ef(0xbc)];this[_0x3857ef(0x8d)]=setInterval(()=>{const _0x34172a=_0x3857ef;let _0x265aa6;for(const _0x10b6b5 in _0x261ba0){const _0x3eb049=_0x10b6b5,_0x5a77e2=_0x261ba0[_0x3eb049];if(_0x34172a(0x7f)==_0x5a77e2||_0x34172a(0x96)==_0x5a77e2||_0x34172a(0xbd)==_0x5a77e2||_0x34172a(0x8e)==_0x5a77e2||_0x34172a(0x9e)==_0x5a77e2||_0x34172a(0x82)==_0x5a77e2||_0x34172a(0xc6)==_0x5a77e2||_0x34172a(0x83)==_0x5a77e2){delete _0x261ba0[_0x3eb049],_0x265aa6=_0x5a77e2,clearInterval(this[_0x34172a(0x8d)]),this[_0x34172a(0x8d)]=void 0x0;break;}}_0x34172a(0x96)==_0x265aa6&&_0x261ba0[_0x34172a(0x92)](_0x34172a(0xa8)),_0x34172a(0xbd)==_0x265aa6&&_0x261ba0[_0x34172a(0x92)](_0x34172a(0xb5)),_0x34172a(0x8e)==_0x265aa6&&_0x261ba0[_0x34172a(0x92)](_0x34172a(0xc4)),_0x34172a(0x9e)==_0x265aa6&&_0x261ba0[_0x34172a(0x92)](_0x34172a(0xaf),_0x34172a(0xa1)),_0x34172a(0x82)==_0x265aa6&&_0x261ba0[_0x34172a(0x92)](_0x34172a(0xac)),_0x34172a(0xc6)==_0x265aa6&&_0x261ba0[_0x34172a(0x92)](_0x34172a(0xb9)),_0x34172a(0x83)==_0x265aa6&&_0x261ba0[_0x34172a(0x92)](_0x34172a(0xc7));},0x3e8);}[_0x2bae71(0x9d)](){const _0x3b8334=_0x2bae71,{editor:_0xfdbaa1}=this,_0x52115a=_0xfdbaa1[_0x3b8334(0xa2)][_0x3b8334(0x87)](_0x3b8334(0xb8));if(!_0x52115a)return;const _0x332741=this[_0x3b8334(0x80)](_0xfdbaa1[_0x3b8334(0xb4)][_0x3b8334(0x87)](_0x3b8334(0xa7)))[_0x3b8334(0x8c)]((_0x4be4aa,_0x351dff)=>{const _0x1c892b=_0x3b8334,_0x43472c=this[_0x1c892b(0xc5)](_0x351dff[_0x1c892b(0x84)]);return _0x4be4aa[_0x43472c]||(_0x4be4aa[_0x43472c]=[]),_0x4be4aa[_0x43472c][_0x1c892b(0xb0)](_0x351dff),_0x4be4aa;},{});_0xfdbaa1[_0x3b8334(0x78)][_0x3b8334(0xbe)](_0x3b8334(0x97))&&_0xfdbaa1[_0x3b8334(0xa2)][_0x3b8334(0x87)](_0x3b8334(0xb8))&&Object[_0x3b8334(0xc1)](_0x332741)[_0x3b8334(0x94)](([_0x13db21,_0x7087ee])=>{const _0x58673f=_0x3b8334;_0xfdbaa1[_0x58673f(0x78)][_0x58673f(0x87)](_0x58673f(0x97))[_0x58673f(0xa5)]({'name':_0x13db21,'observable':()=>_0x52115a,'buttonViewCreator':()=>this[_0x58673f(0x99)](_0x7087ee),'formViewCreator':()=>this[_0x58673f(0xa3)](_0x7087ee),'menuBarButtonViewCreator':()=>this[_0x58673f(0xbb)](_0x7087ee),'override':_0x58673f(0xba)!==_0x13db21});});}[_0x2bae71(0xa4)](){const _0x1c9942=_0x2bae71;super[_0x1c9942(0xa4)](),this[_0x1c9942(0x8d)]&&clearInterval(this[_0x1c9942(0x8d)]);}[_0x2bae71(0x80)](_0x895276){const _0x164566=_0x2bae71,{locale:_0x2dd8f2}=this[_0x164566(0xbc)];return _0x895276[_0x164566(0xad)](_0x21dfa7=>{const _0x13c9f8=_0x164566,_0x1d3aa8=_0x20213e(_0x2dd8f2,_0x21dfa7,_0x13c9f8(0xbf));switch(_0x21dfa7){case _0x368e94[_0x13c9f8(0x88)]:return{'icon':_0x1c12ca,'type':_0x368e94[_0x13c9f8(0x88)],..._0x1d3aa8};case _0x368e94[_0x13c9f8(0xc3)]:return{'icon':_0x5f4707,'type':_0x368e94[_0x13c9f8(0xc3)],..._0x1d3aa8};case _0x368e94[_0x13c9f8(0xb6)]:return{'icon':_0x4a3804,'type':_0x368e94[_0x13c9f8(0xb6)],..._0x1d3aa8};case _0x368e94[_0x13c9f8(0xc0)]:return{'icon':_0x18aba9,'type':_0x368e94[_0x13c9f8(0xc0)],..._0x1d3aa8};case _0x368e94[_0x13c9f8(0x7c)]:return{'icon':_0x179f6f,'type':_0x368e94[_0x13c9f8(0x7c)],..._0x1d3aa8};case _0x368e94[_0x13c9f8(0x91)]:return{'icon':_0x5efc3f,'type':_0x368e94[_0x13c9f8(0x91)],..._0x1d3aa8};case _0x368e94[_0x13c9f8(0x81)]:return{'icon':_0x5ba097,'type':_0x368e94[_0x13c9f8(0x81)],..._0x1d3aa8};}});}[_0x2bae71(0xc5)](_0x3581b5){const _0x33af35=_0x2bae71;switch(_0x3581b5){case _0x368e94[_0x33af35(0x88)]:return _0x33af35(0xaa);case _0x368e94[_0x33af35(0xc3)]:return _0x33af35(0x9f);default:return _0x33af35(0xba);}}[_0x2bae71(0x79)](_0x1cb76f,_0xc783e8){const _0x2895f6=_0x2bae71,_0x2b84ed=this[_0x2895f6(0xbc)],_0x2fc63c=new _0x1cb76f(_0x2b84ed[_0x2895f6(0x7b)]),_0x19c05b=_0x2b84ed[_0x2895f6(0xa2)][_0x2895f6(0x87)](_0x2895f6(0xb8));return _0x2fc63c[_0x2895f6(0xab)](_0x2895f6(0x95))['to'](_0x19c05b),_0x2fc63c['on'](_0x2895f6(0x8f),()=>{const _0x5d7d6a=_0x2895f6;_0x19c05b[_0x5d7d6a(0x8f)](_0xc783e8);}),_0x2fc63c;}[_0x2bae71(0x99)](_0x145ba2){const _0x3c565f=_0x2bae71,{locale:_0x31484d}=this[_0x3c565f(0xbc)],_0x35057b=this[_0x3c565f(0xbc)][_0x3c565f(0x78)][_0x3c565f(0x87)](_0x3c565f(0x97)),_0x1351a9=_0x145ba2[0x0],_0x1aa6c4=this[_0x3c565f(0x79)](_0x3e8755,_0x1351a9[_0x3c565f(0x84)]);return _0x1aa6c4[_0x3c565f(0x9c)]=_0x1351a9[_0x3c565f(0x9c)],_0x1aa6c4[_0x3c565f(0xab)](_0x3c565f(0x86))['to'](_0x35057b,_0x3c565f(0x90),_0x4c0013=>_0x20213e(_0x31484d,_0x1351a9[_0x3c565f(0x84)],_0x4c0013?_0x3c565f(0x7e):_0x3c565f(0xbf))[_0x3c565f(0x77)]),_0x1aa6c4[_0x3c565f(0xa9)]=!0x0,_0x1aa6c4;}[_0x2bae71(0xa3)](_0x71b9cc){const _0x44b556=_0x2bae71,{locale:_0x1f4109}=this[_0x44b556(0xbc)],_0x4e3a85=this[_0x44b556(0xbc)][_0x44b556(0x78)][_0x44b556(0x87)](_0x44b556(0x97));return _0x71b9cc[_0x44b556(0xad)](_0x20f814=>{const _0x54fc6a=_0x44b556,_0x45f0b7=this[_0x54fc6a(0x79)](_0x3e8755,_0x20f814[_0x54fc6a(0x84)]);return _0x45f0b7[_0x54fc6a(0x8a)]=!0x0,_0x45f0b7[_0x54fc6a(0x9c)]=_0x20f814[_0x54fc6a(0x9c)],_0x45f0b7[_0x54fc6a(0xab)](_0x54fc6a(0x86))['to'](_0x4e3a85,_0x54fc6a(0x90),_0x274eff=>_0x20213e(_0x1f4109,_0x20f814[_0x54fc6a(0x84)],_0x274eff?_0x54fc6a(0x7e):_0x54fc6a(0xbf))[_0x54fc6a(0x77)]),_0x45f0b7;});}[_0x2bae71(0xbb)](_0x5eba80){const _0x1edefb=_0x2bae71;return _0x5eba80[_0x1edefb(0xad)](_0x1c7570=>{const _0x2ce91c=_0x1edefb,_0x191b4b=this[_0x2ce91c(0x79)](_0x202144,_0x1c7570[_0x2ce91c(0x84)]);return _0x191b4b[_0x2ce91c(0x9c)]=_0x1c7570[_0x2ce91c(0x9c)],_0x191b4b[_0x2ce91c(0x86)]=_0x1c7570[_0x2ce91c(0xb1)],_0x191b4b;});}}
23
+ const _0x40c24a=_0x592b;(function(_0x2dd7a2,_0x4c7e18){const _0x3de14c=_0x592b,_0x53ac42=_0x2dd7a2();while(!![]){try{const _0xcec7be=parseInt(_0x3de14c(0x14f))/0x1+parseInt(_0x3de14c(0x110))/0x2*(-parseInt(_0x3de14c(0x122))/0x3)+parseInt(_0x3de14c(0x145))/0x4*(parseInt(_0x3de14c(0x123))/0x5)+-parseInt(_0x3de14c(0x151))/0x6+-parseInt(_0x3de14c(0x137))/0x7*(parseInt(_0x3de14c(0x132))/0x8)+-parseInt(_0x3de14c(0x10e))/0x9+parseInt(_0x3de14c(0x13e))/0xa;if(_0xcec7be===_0x4c7e18)break;else _0x53ac42['push'](_0x53ac42['shift']());}catch(_0x476879){_0x53ac42['push'](_0x53ac42['shift']());}}}(_0x3e35,0x2e84c));import{Plugin as _0x2ad4aa}from'ckeditor5/src/core.js';import{IconDropbox as _0x59d5dc,IconFacebook as _0x572751,IconGoogleDrive as _0x3ef324,IconGooglePhotos as _0x1c9203,IconUploadcareImageUpload as _0x1ed8b1,IconUploadcareLink as _0x3c969b,IconOneDrive as _0x1b4499}from'ckeditor5/src/icons.js';import{ButtonView as _0xa499aa,MenuBarMenuListItemButtonView as _0x54d8a4}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x51a862}from'./uploadcareconfig.js';import{getTranslation as _0x2557b4}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x3e35(){const _0x20b2e2=['5RafAQP','tooltip','isPremiumPlugin','afterInit','licenseKey','_licenseKeyCheckInterval','Replace','pluginName','featureNotAllowed','Dropbox','trialLimit','Facebook','uploadcare.uploader.sourceList','reduce','isOfficialPlugin','38520UjZOIF','invalid','_normalizeConfigSourceList','GDrive','_createButton','189oIRJNu','registerIntegration','uploadcareLicenseKeyExpired','ImageInsertUI','_showLicenseError','icon','push','5202750RYSoKU','_createMenuBarButtons','has','uploadcare','config','locale','map','321676ywulSl','isEnabled','uploadcareLicenseKeyUsageLimit','entries','editor','get','_createDropdownButtons','label','Insert','type','236824uWWlLk','uploadcareLicenseKeyNotAllowed','2208708dqQJaL','isImageSelected','commands','_createToolbarButton','shortText','uploadcareLicenseKeyTrialLimit','withText','upload','forEach','url','usageLimit','init','OneDrive','evaluationLimit','263124dzBplI','assetManager','79746PWwAKU','text','GPhotos','uploadcareLicenseKeyInvalid','_getIntegrationKey','uploadcareLicenseKeyDomainLimit','destroy','domainLimit','uploadcareLicenseKeyEvaluationLimit','Uploadcare','expired','bind','uploadcareLicenseKeyValid','URL','execute','UploadcareUI','Local','plugins','9ZWGHqz'];_0x3e35=function(){return _0x20b2e2;};return _0x3e35();}import'../theme/uploadcareimageedit.css';function _0x592b(_0x3bfcf3,_0x16c02d){const _0x3e35c7=_0x3e35();return _0x592b=function(_0x592bb2,_0x1cae83){_0x592bb2=_0x592bb2-0x104;let _0x3bfb0a=_0x3e35c7[_0x592bb2];return _0x3bfb0a;},_0x592b(_0x3bfcf3,_0x16c02d);}export class UploadcareUI extends _0x2ad4aa{[_0x40c24a(0x127)];[_0x40c24a(0x128)];static get[_0x40c24a(0x12a)](){const _0x14047b=_0x40c24a;return _0x14047b(0x11f);}static get[_0x40c24a(0x131)](){return!0x0;}static get[_0x40c24a(0x125)](){return!0x0;}[_0x40c24a(0x10b)](){const _0x4dc3b3=_0x40c24a;this[_0x4dc3b3(0x127)]=this[_0x4dc3b3(0x149)][_0x4dc3b3(0x142)][_0x4dc3b3(0x14a)](_0x4dc3b3(0x127));const _0x8b24ad=this[_0x4dc3b3(0x149)];this[_0x4dc3b3(0x128)]=setInterval(()=>{const _0xd793fe=_0x4dc3b3;let _0x2381eb;for(const _0x366519 in _0x8b24ad){const _0x5a72d5=_0x366519,_0xa59ef6=_0x8b24ad[_0x5a72d5];if(_0xd793fe(0x11c)==_0xa59ef6||_0xd793fe(0x113)==_0xa59ef6||_0xd793fe(0x139)==_0xa59ef6||_0xd793fe(0x115)==_0xa59ef6||_0xd793fe(0x150)==_0xa59ef6||_0xd793fe(0x118)==_0xa59ef6||_0xd793fe(0x105)==_0xa59ef6||_0xd793fe(0x147)==_0xa59ef6){delete _0x8b24ad[_0x5a72d5],_0x2381eb=_0xa59ef6,clearInterval(this[_0xd793fe(0x128)]),this[_0xd793fe(0x128)]=void 0x0;break;}}_0xd793fe(0x113)==_0x2381eb&&_0x8b24ad[_0xd793fe(0x13b)](_0xd793fe(0x133)),_0xd793fe(0x139)==_0x2381eb&&_0x8b24ad[_0xd793fe(0x13b)](_0xd793fe(0x11a)),_0xd793fe(0x115)==_0x2381eb&&_0x8b24ad[_0xd793fe(0x13b)](_0xd793fe(0x117)),_0xd793fe(0x150)==_0x2381eb&&_0x8b24ad[_0xd793fe(0x13b)](_0xd793fe(0x12b),_0xd793fe(0x119)),_0xd793fe(0x118)==_0x2381eb&&_0x8b24ad[_0xd793fe(0x13b)](_0xd793fe(0x10d)),_0xd793fe(0x105)==_0x2381eb&&_0x8b24ad[_0xd793fe(0x13b)](_0xd793fe(0x12d)),_0xd793fe(0x147)==_0x2381eb&&_0x8b24ad[_0xd793fe(0x13b)](_0xd793fe(0x10a));},0x3e8);}[_0x40c24a(0x126)](){const _0x34b126=_0x40c24a,{editor:_0x3df7ed}=this,_0xdf80c1=_0x3df7ed[_0x34b126(0x153)][_0x34b126(0x14a)](_0x34b126(0x141));if(!_0xdf80c1)return;const _0x3af9bd=this[_0x34b126(0x134)](_0x3df7ed[_0x34b126(0x142)][_0x34b126(0x14a)](_0x34b126(0x12f)))[_0x34b126(0x130)]((_0x227adb,_0x1e2627)=>{const _0xe87f70=_0x34b126,_0x43739f=this[_0xe87f70(0x114)](_0x1e2627[_0xe87f70(0x14e)]);return _0x227adb[_0x43739f]||(_0x227adb[_0x43739f]=[]),_0x227adb[_0x43739f][_0xe87f70(0x13d)](_0x1e2627),_0x227adb;},{});_0x3df7ed[_0x34b126(0x121)][_0x34b126(0x140)](_0x34b126(0x13a))&&_0x3df7ed[_0x34b126(0x153)][_0x34b126(0x14a)](_0x34b126(0x141))&&Object[_0x34b126(0x148)](_0x3af9bd)[_0x34b126(0x108)](([_0x33f289,_0x5b5a52])=>{const _0x80b4f1=_0x34b126;_0x3df7ed[_0x80b4f1(0x121)][_0x80b4f1(0x14a)](_0x80b4f1(0x13a))[_0x80b4f1(0x138)]({'name':_0x33f289,'observable':()=>_0xdf80c1,'buttonViewCreator':()=>this[_0x80b4f1(0x154)](_0x5b5a52),'formViewCreator':()=>this[_0x80b4f1(0x14b)](_0x5b5a52),'menuBarButtonViewCreator':()=>this[_0x80b4f1(0x13f)](_0x5b5a52),'override':_0x80b4f1(0x10f)!==_0x33f289});});}[_0x40c24a(0x116)](){const _0x548f76=_0x40c24a;super[_0x548f76(0x116)](),this[_0x548f76(0x128)]&&clearInterval(this[_0x548f76(0x128)]);}[_0x40c24a(0x134)](_0x3a81ac){const _0x3a3783=_0x40c24a,{locale:_0x3d518f}=this[_0x3a3783(0x149)];return _0x3a81ac[_0x3a3783(0x144)](_0x4013b5=>{const _0x1c4df8=_0x3a3783,_0x18bddf=_0x2557b4(_0x3d518f,_0x4013b5,_0x1c4df8(0x14d));switch(_0x4013b5){case _0x51a862[_0x1c4df8(0x120)]:return{'icon':_0x1ed8b1,'type':_0x51a862[_0x1c4df8(0x120)],..._0x18bddf};case _0x51a862[_0x1c4df8(0x11d)]:return{'icon':_0x3c969b,'type':_0x51a862[_0x1c4df8(0x11d)],..._0x18bddf};case _0x51a862[_0x1c4df8(0x12c)]:return{'icon':_0x59d5dc,'type':_0x51a862[_0x1c4df8(0x12c)],..._0x18bddf};case _0x51a862[_0x1c4df8(0x12e)]:return{'icon':_0x572751,'type':_0x51a862[_0x1c4df8(0x12e)],..._0x18bddf};case _0x51a862[_0x1c4df8(0x135)]:return{'icon':_0x3ef324,'type':_0x51a862[_0x1c4df8(0x135)],..._0x18bddf};case _0x51a862[_0x1c4df8(0x112)]:return{'icon':_0x1c9203,'type':_0x51a862[_0x1c4df8(0x112)],..._0x18bddf};case _0x51a862[_0x1c4df8(0x10c)]:return{'icon':_0x1b4499,'type':_0x51a862[_0x1c4df8(0x10c)],..._0x18bddf};}});}[_0x40c24a(0x114)](_0x353bf8){const _0x571cd4=_0x40c24a;switch(_0x353bf8){case _0x51a862[_0x571cd4(0x120)]:return _0x571cd4(0x107);case _0x51a862[_0x571cd4(0x11d)]:return _0x571cd4(0x109);default:return _0x571cd4(0x10f);}}[_0x40c24a(0x136)](_0x1d6c30,_0x2320b3){const _0x453828=_0x40c24a,_0x15e526=this[_0x453828(0x149)],_0x21a4e5=new _0x1d6c30(_0x15e526[_0x453828(0x143)]),_0x4a9ae2=_0x15e526[_0x453828(0x153)][_0x453828(0x14a)](_0x453828(0x141));return _0x21a4e5[_0x453828(0x11b)](_0x453828(0x146))['to'](_0x4a9ae2),_0x21a4e5['on'](_0x453828(0x11e),()=>{const _0x49b41f=_0x453828;_0x4a9ae2[_0x49b41f(0x11e)](_0x2320b3);}),_0x21a4e5;}[_0x40c24a(0x154)](_0x137a4c){const _0x27e54d=_0x40c24a,{locale:_0x225763}=this[_0x27e54d(0x149)],_0x142db3=this[_0x27e54d(0x149)][_0x27e54d(0x121)][_0x27e54d(0x14a)](_0x27e54d(0x13a)),_0x4f965a=_0x137a4c[0x0],_0x327fe6=this[_0x27e54d(0x136)](_0xa499aa,_0x4f965a[_0x27e54d(0x14e)]);return _0x327fe6[_0x27e54d(0x13c)]=_0x4f965a[_0x27e54d(0x13c)],_0x327fe6[_0x27e54d(0x11b)](_0x27e54d(0x14c))['to'](_0x142db3,_0x27e54d(0x152),_0x5a3464=>_0x2557b4(_0x225763,_0x4f965a[_0x27e54d(0x14e)],_0x5a3464?_0x27e54d(0x129):_0x27e54d(0x14d))[_0x27e54d(0x111)]),_0x327fe6[_0x27e54d(0x124)]=!0x0,_0x327fe6;}[_0x40c24a(0x14b)](_0x18a22a){const _0x51c822=_0x40c24a,{locale:_0x4de079}=this[_0x51c822(0x149)],_0xe98e85=this[_0x51c822(0x149)][_0x51c822(0x121)][_0x51c822(0x14a)](_0x51c822(0x13a));return _0x18a22a[_0x51c822(0x144)](_0x203b01=>{const _0x4ff110=_0x51c822,_0xd24ea0=this[_0x4ff110(0x136)](_0xa499aa,_0x203b01[_0x4ff110(0x14e)]);return _0xd24ea0[_0x4ff110(0x106)]=!0x0,_0xd24ea0[_0x4ff110(0x13c)]=_0x203b01[_0x4ff110(0x13c)],_0xd24ea0[_0x4ff110(0x11b)](_0x4ff110(0x14c))['to'](_0xe98e85,_0x4ff110(0x152),_0x4118b8=>_0x2557b4(_0x4de079,_0x203b01[_0x4ff110(0x14e)],_0x4118b8?_0x4ff110(0x129):_0x4ff110(0x14d))[_0x4ff110(0x111)]),_0xd24ea0;});}[_0x40c24a(0x13f)](_0x3b7553){const _0x3713c1=_0x40c24a;return _0x3b7553[_0x3713c1(0x144)](_0x4bfa33=>{const _0x1bac05=_0x3713c1,_0x45d4c3=this[_0x1bac05(0x136)](_0x54d8a4,_0x4bfa33[_0x1bac05(0x14e)]);return _0x45d4c3[_0x1bac05(0x13c)]=_0x4bfa33[_0x1bac05(0x13c)],_0x45d4c3[_0x1bac05(0x14c)]=_0x4bfa33[_0x1bac05(0x104)],_0x45d4c3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x57c8d9}from'ckeditor5/src/core.js';import{FileRepository as _0x166767}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4a7417}from'./uploadcareediting.js';import{UploadUtils as _0x1f2363}from'./utils/uploadutils.js';import{getImageUrls as _0x5c6184}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x57c8d9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x166767,_0x4a7417];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x47b6b0=this['editor'];if(!!!_0x47b6b0['config']['get']('uploadcare'))return;_0x47b6b0['plugins']['get'](_0x166767)['createUploadAdapter']=_0x8382e3=>new k(_0x8382e3,_0x47b6b0),_0x47b6b0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x134c7c,{imageElement:_0x461efe,data:_0x3d5cb8})=>{_0x47b6b0['model']['change'](_0x434748=>{_0x434748['setAttribute']('uploadcareImageId',_0x3d5cb8['uploadcareImageId'],_0x461efe);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x217668,_0x39c3e5){this['loader']=_0x217668,this['editor']=_0x39c3e5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x45c8e0=await this['loader']['file'];return _0x1f2363['upload']({'file':_0x45c8e0,'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':_0x5e73ad=>{_0x5e73ad&&_0x5e73ad['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e73ad['value']);}})['then'](async _0x44fc9a=>{const {imageFallbackUrl:_0x1f9794,imageSources:_0x1eb68a}=_0x5c6184(_0x44fc9a['cdnUrl'],_0x44fc9a['imageInfo']['width']);return{'uploadcareImageId':_0x44fc9a['uuid'],'default':_0x1f9794,'sources':_0x1eb68a};})['catch'](()=>{const _0x9bd076=t('Cannot\x20upload\x20file:')+('\x20'+_0x45c8e0['name']+'.');return Promise['reject'](_0x9bd076);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x9a6575}from'ckeditor5/src/core.js';import{FileRepository as _0x17a203}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4df17b}from'./uploadcareediting.js';import{UploadUtils as _0x54ca4e}from'./utils/uploadutils.js';import{getImageUrls as _0x370d9e}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x9a6575{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x17a203,_0x4df17b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3de604=this['editor'];if(!!!_0x3de604['config']['get']('uploadcare'))return;_0x3de604['plugins']['get'](_0x17a203)['createUploadAdapter']=_0x36e393=>new k(_0x36e393,_0x3de604),_0x3de604['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xc4ae49,{imageElement:_0x1361e8,data:_0x3a9043})=>{_0x3de604['model']['change'](_0x50c3dd=>{_0x50c3dd['setAttribute']('uploadcareImageId',_0x3a9043['uploadcareImageId'],_0x1361e8);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x910ac5,_0x1e8a2d){this['loader']=_0x910ac5,this['editor']=_0x1e8a2d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x190a0f=await this['loader']['file'];return _0x54ca4e['upload']({'file':_0x190a0f,'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':_0x44c373=>{_0x44c373&&_0x44c373['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x44c373['value']);}})['then'](async _0x38d7da=>{const {imageFallbackUrl:_0x560c8d,imageSources:_0x2eeea1}=_0x370d9e(_0x38d7da['cdnUrl'],_0x38d7da['imageInfo']['width']);return{'uploadcareImageId':_0x38d7da['uuid'],'default':_0x560c8d,'sources':_0x2eeea1};})['catch'](()=>{const _0xbea1f4=t('Cannot\x20upload\x20file:')+('\x20'+_0x190a0f['name']+'.');return Promise['reject'](_0xbea1f4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x341f93}from'../uploadcareconfig.js';export function getTranslation(_0x3934d5,_0x26e8ca,_0x1e71ed){const t=_0x3934d5['t'],_0x11e9bf=_0x3934d5['t'];switch(_0x26e8ca){case _0x341f93['Local']:return{'text':_0x11e9bf('Insert'===_0x1e71ed?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x11e9bf('From\x20computer')};case _0x341f93['URL']:return{'text':'Insert'===_0x1e71ed?_0x11e9bf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x11e9bf('Via\x20URL')};case _0x341f93['Dropbox']:return{'text':t('Insert'===_0x1e71ed?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x341f93['Facebook']:return{'text':t('Insert'===_0x1e71ed?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x341f93['GDrive']:return{'text':t('Insert'===_0x1e71ed?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x341f93['GPhotos']:return{'text':t('Insert'===_0x1e71ed?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x341f93['OneDrive']:return{'text':t('Insert'===_0x1e71ed?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x26e8ca;}}
23
+ import{UploadcareSource as _0x375951}from'../uploadcareconfig.js';export function getTranslation(_0x5bac28,_0x156d53,_0x2f2a34){const t=_0x5bac28['t'],_0x4832e9=_0x5bac28['t'];switch(_0x156d53){case _0x375951['Local']:return{'text':_0x4832e9('Insert'===_0x2f2a34?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4832e9('From\x20computer')};case _0x375951['URL']:return{'text':'Insert'===_0x2f2a34?_0x4832e9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4832e9('Via\x20URL')};case _0x375951['Dropbox']:return{'text':t('Insert'===_0x2f2a34?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x375951['Facebook']:return{'text':t('Insert'===_0x2f2a34?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x375951['GDrive']:return{'text':t('Insert'===_0x2f2a34?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x375951['GPhotos']:return{'text':t('Insert'===_0x2f2a34?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x375951['OneDrive']:return{'text':t('Insert'===_0x2f2a34?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x156d53;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x15b6f2=_0xb359;(function(_0x4e8763,_0x20ebac){var _0x337b7d=_0xb359,_0x1a28f0=_0x4e8763();while(!![]){try{var _0x13d324=-parseInt(_0x337b7d(0x1e6))/0x1+-parseInt(_0x337b7d(0x1e4))/0x2*(-parseInt(_0x337b7d(0x1ec))/0x3)+-parseInt(_0x337b7d(0x1eb))/0x4*(-parseInt(_0x337b7d(0x1f2))/0x5)+-parseInt(_0x337b7d(0x1e7))/0x6*(parseInt(_0x337b7d(0x1f0))/0x7)+parseInt(_0x337b7d(0x1e5))/0x8*(parseInt(_0x337b7d(0x1e2))/0x9)+parseInt(_0x337b7d(0x1f4))/0xa*(-parseInt(_0x337b7d(0x1e8))/0xb)+-parseInt(_0x337b7d(0x1f1))/0xc*(-parseInt(_0x337b7d(0x1ef))/0xd);if(_0x13d324===_0x20ebac)break;else _0x1a28f0['push'](_0x1a28f0['shift']());}catch(_0x49b25c){_0x1a28f0['push'](_0x1a28f0['shift']());}}}(_0x27d6,0x94272));function _0xb359(_0x1f07c1,_0x1db2bc){var _0x27d654=_0x27d6();return _0xb359=function(_0xb359d7,_0xfd0ba5){_0xb359d7=_0xb359d7-0x1e2;var _0x3b37d8=_0x27d654[_0xb359d7];return _0x3b37d8;},_0xb359(_0x1f07c1,_0x1db2bc);}function _0x27d6(){var _0x349478=['1633412VzTAgo','focusTracker','forwardCycle','126520zBhpFH','102cGqDIY','true','createCollection','4084002cziKgf','7lbWrFP','12YFrnws','110TJHNnk','fire','30ygfVQy','bindTemplate','div','getFocusableElement','1143oMdLTN','focusCycler','60142KtPWdY','13128dfKKON','493528pYRlTc','4169982RKVlcP'];_0x27d6=function(){return _0x349478;};return _0x27d6();}import{FocusTracker as _0x82a531}from'ckeditor5/src/utils.js';import{View as _0xd4523d,FocusCycler as _0x46bfb9}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xd4523d{[_0x15b6f2(0x1e9)];[_0x15b6f2(0x1e3)];constructor(_0x332663){var _0xc96aff=_0x15b6f2;super(_0x332663),this[_0xc96aff(0x1e9)]=new _0x82a531(),this[_0xc96aff(0x1e3)]=new _0x46bfb9({'focusables':this[_0xc96aff(0x1ee)](),'focusTracker':this[_0xc96aff(0x1e9)]});}[_0x15b6f2(0x1f7)](){var _0x18f1d0=_0x15b6f2;return{'tag':_0x18f1d0(0x1f6),'attributes':{'aria-hidden':_0x18f1d0(0x1ed),'tabindex':'0'},'on':{'focus':this[_0x18f1d0(0x1f5)]['to'](()=>{var _0x29883b=_0x18f1d0;this[_0x29883b(0x1e3)][_0x29883b(0x1f3)](_0x29883b(0x1ea));})}};}}
23
+ function _0x22e8(){var _0x51259b=['72233uGLOoa','11iJSVyH','bindTemplate','2217724ACMHli','focusCycler','4628096oEDMRR','fire','10089XQBwug','true','504990tKMNnF','focusTracker','635094qsAQOh','createCollection','22756128SgHBeB','getFocusableElement','5XHCULj','792ksYHda','div','20lWkJQp','forwardCycle','62fDYfVx'];_0x22e8=function(){return _0x51259b;};return _0x22e8();}var _0xedab4=_0x18a6;function _0x18a6(_0x3dd356,_0x2fe727){var _0x22e8fd=_0x22e8();return _0x18a6=function(_0x18a60e,_0x1cca01){_0x18a60e=_0x18a60e-0x76;var _0x434e3e=_0x22e8fd[_0x18a60e];return _0x434e3e;},_0x18a6(_0x3dd356,_0x2fe727);}(function(_0x43b4aa,_0xccc86e){var _0x4be2a4=_0x18a6,_0x413a76=_0x43b4aa();while(!![]){try{var _0x48dc2c=-parseInt(_0x4be2a4(0x85))/0x1*(-parseInt(_0x4be2a4(0x7d))/0x2)+-parseInt(_0x4be2a4(0x89))/0x3+parseInt(_0x4be2a4(0x81))/0x4*(parseInt(_0x4be2a4(0x78))/0x5)+parseInt(_0x4be2a4(0x79))/0x6*(-parseInt(_0x4be2a4(0x7e))/0x7)+-parseInt(_0x4be2a4(0x83))/0x8+-parseInt(_0x4be2a4(0x87))/0x9*(-parseInt(_0x4be2a4(0x7b))/0xa)+parseInt(_0x4be2a4(0x7f))/0xb*(parseInt(_0x4be2a4(0x76))/0xc);if(_0x48dc2c===_0xccc86e)break;else _0x413a76['push'](_0x413a76['shift']());}catch(_0x17d809){_0x413a76['push'](_0x413a76['shift']());}}}(_0x22e8,0xb09ec));import{FocusTracker as _0x18b2f6}from'ckeditor5/src/utils.js';import{View as _0x16a726,FocusCycler as _0x2c58d9}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x16a726{[_0xedab4(0x88)];[_0xedab4(0x82)];constructor(_0x3d4581){var _0x4967c0=_0xedab4;super(_0x3d4581),this[_0x4967c0(0x88)]=new _0x18b2f6(),this[_0x4967c0(0x82)]=new _0x2c58d9({'focusables':this[_0x4967c0(0x8a)](),'focusTracker':this[_0x4967c0(0x88)]});}[_0xedab4(0x77)](){var _0x47725e=_0xedab4;return{'tag':_0x47725e(0x7a),'attributes':{'aria-hidden':_0x47725e(0x86),'tabindex':'0'},'on':{'focus':this[_0x47725e(0x80)]['to'](()=>{var _0x80a724=_0x47725e;this[_0x80a724(0x82)][_0x80a724(0x84)](_0x80a724(0x7c));})}};}}