@ckeditor/ckeditor5-uploadcare 45.1.0-alpha.1 → 45.1.0-alpha.2

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 _0x249917=_0x1c85;(function(_0x21b30b,_0x512795){const _0x582c44=_0x1c85,_0x4b451b=_0x21b30b();while(!![]){try{const _0x1c7f61=parseInt(_0x582c44(0x171))/0x1*(-parseInt(_0x582c44(0x142))/0x2)+parseInt(_0x582c44(0x156))/0x3*(parseInt(_0x582c44(0x165))/0x4)+-parseInt(_0x582c44(0x12b))/0x5*(parseInt(_0x582c44(0x166))/0x6)+parseInt(_0x582c44(0x158))/0x7+parseInt(_0x582c44(0x162))/0x8+-parseInt(_0x582c44(0x140))/0x9*(parseInt(_0x582c44(0x14d))/0xa)+parseInt(_0x582c44(0x145))/0xb;if(_0x1c7f61===_0x512795)break;else _0x4b451b['push'](_0x4b451b['shift']());}catch(_0x3ef131){_0x4b451b['push'](_0x4b451b['shift']());}}}(_0x1ea6,0x5990a));function _0x1ea6(){const _0x24f21b=['replaceImageSource','true','uc-upload-ctx-provider','uc-config','uploadcare.uploader','editing','uploadcare','isOfficialPlugin','UploadcareEditing','input[uploadcare-file-input]','_initCtx','data-uc-image-id','for','546330aZSqvM','document','model','attributeToAttribute','pluginName','uploadcare.pubkey','imageBlock','contentLanguage','init','extend','isRegistered','_initConversion','appendChild','\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','join','getAttribute','upcast','render','editor','isPremiumPlugin','conversion','20259OukKry','commands','846926jLlckX','fromCharCode','uploadcareImageId','407550KmDAtX','listenTo','uploader','once','#uc-icon-arrow-down','_initSchema','locale','remove','220cvyXBy','requires','elementToAttribute','add','querySelector','closeMax','_ctxElement','_configElement','_initImageProcessingIndicator','608196fxyJyf','configElement','548233ekUrLZ','getSelectedElement','view','body','schema','iconHrefResolver','downcast','removeAttribute','imageInline','config','5048064tYMOQj','_initConfig','href','4hkKIkB','6EjrXFC','insertImage','ctxElement','uploadcareImageReplace','execute','cleanupImage','get','PictureEditing','afterInit','selection','destroy','1MPJBNp','map'];_0x1ea6=function(){return _0x24f21b;};return _0x1ea6();}import{Plugin as _0x291d14}from'ckeditor5/src/core.js';import{Dialog as _0x4a801f}from'ckeditor5/src/ui.js';import{createElement as _0x2b8bd2,global as _0x57b847,uid as _0x21b8b6}from'ckeditor5/src/utils.js';import _0x34d7c2 from'./uploadcarecommand.js';import _0xcfbb29 from'./uploadcareuploadadapter.js';function _0x1c85(_0x19d32e,_0xa3f533){const _0x1ea64d=_0x1ea6();return _0x1c85=function(_0x1c8551,_0x33c50f){_0x1c8551=_0x1c8551-0x128;let _0x203416=_0x1ea64d[_0x1c8551];return _0x203416;},_0x1c85(_0x19d32e,_0xa3f533);}import{showImageProcessingIndicator as _0x1f6dc7}from'./utils/editingutils.js';export default class i extends _0x291d14{[_0x249917(0x154)]=null;[_0x249917(0x153)]=null;static get[_0x249917(0x12f)](){const _0x263abc=_0x249917;return _0x263abc(0x17b);}static get[_0x249917(0x14e)](){const _0x5f51fd=_0x249917;return[_0x5f51fd(0x16d),_0xcfbb29,_0x4a801f];}static get[_0x249917(0x17a)](){return!0x0;}static get[_0x249917(0x13e)](){return!0x0;}get[_0x249917(0x157)](){const _0x3867df=_0x249917;return this[_0x3867df(0x154)];}get[_0x249917(0x168)](){const _0x43a607=_0x249917;return this[_0x43a607(0x153)];}[_0x249917(0x133)](){const _0x325460=_0x249917,_0x4db061=this[_0x325460(0x13d)];_0x4db061[_0x325460(0x141)][_0x325460(0x150)](_0x325460(0x179),new _0x34d7c2(_0x4db061));}[_0x249917(0x16e)](){const _0x4988c8=_0x249917;this[_0x4988c8(0x14a)](),this[_0x4988c8(0x136)](),this[_0x4988c8(0x163)](),this[_0x4988c8(0x128)](),this[_0x4988c8(0x155)](),this[_0x4988c8(0x146)](this[_0x4988c8(0x13d)],_0x4988c8(0x170),()=>{const _0x1cca7d=_0x4988c8;this[_0x1cca7d(0x154)]&&(this[_0x1cca7d(0x154)][_0x1cca7d(0x14c)](),this[_0x1cca7d(0x154)]=null),this[_0x1cca7d(0x153)]&&(this[_0x1cca7d(0x153)][_0x1cca7d(0x14c)](),this[_0x1cca7d(0x153)]=null);const _0x344707=_0x57b847[_0x1cca7d(0x12c)][_0x1cca7d(0x151)](_0x1cca7d(0x17c));_0x344707&&_0x344707[_0x1cca7d(0x14c)]();}),async function(_0x2c19b6){const _0x334f21=_0x497b8c([0x35,0x57,0x76,0x6b,0x6d,0x6a,0x4a,0x4c,0x65,0x69,0x73,0x54,0x55,0x61,0x7a,0x51,0x37,0x62,0x48,0x64,0x38,0x52,0x53,0x41,0x47,0x66,0x49,0x79,0x4b,0x4d,0x34,0x77,0x43,0x75,0x56,0x58,0x63,0x42,0x33,0x72,0x70,0x4f,0x68,0x50,0x59,0x31,0x32,0x78,0x46,0x71,0x6c,0x74,0x39,0x5a,0x45,0x6e,0x67,0x44,0x6f,0x4e,0x30,0x36]),_0x19a012=0x5032bd09,_0x4f3210=0x5035da49^_0x19a012,_0x2f320c=window[_0x497b8c([0x44,0x61,0x74,0x65])][_0x497b8c([0x6e,0x6f,0x77])](),_0x45d05f=_0x2c19b6[_0x497b8c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2904bb=new window[(_0x497b8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3619d6=>{_0x45d05f[_0x497b8c([0x6f,0x6e,0x63,0x65])](_0x497b8c([0x72,0x65,0x61,0x64,0x79]),_0x3619d6);}),_0x3e8a6c={[_0x497b8c([0x6b,0x74,0x79])]:_0x497b8c([0x45,0x43]),[_0x497b8c([0x75,0x73,0x65])]:_0x497b8c([0x73,0x69,0x67]),[_0x497b8c([0x63,0x72,0x76])]:_0x497b8c([0x50,0x2d,0x32,0x35,0x36]),[_0x497b8c([0x78])]:_0x497b8c([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]),[_0x497b8c([0x79])]:_0x497b8c([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]),[_0x497b8c([0x61,0x6c,0x67])]:_0x497b8c([0x45,0x53,0x32,0x35,0x36])},_0x18045f=_0x45d05f[_0x497b8c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x497b8c([0x67,0x65,0x74])](_0x497b8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x334ee1(){let _0x1b7068,_0x23fd89=null,_0x587b4b=null;try{if(_0x18045f==_0x497b8c([0x47,0x50,0x4c]))return _0x497b8c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b7068=_0x233aa7(),!_0x1b7068)return _0x497b8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b7068[_0x497b8c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x587b4b=_0x243ae7(_0x1b7068[_0x497b8c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b7068[_0x497b8c([0x6a,0x74,0x69])])),await _0x4f2754()?_0x4c3602()?_0x1fe44e()?_0x497b8c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16253d()?(_0x1b7068[_0x497b8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x497b8c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23fd89=_0xb7f6a(_0x497b8c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b7068[_0x497b8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x497b8c([0x74,0x72,0x69,0x61,0x6c])&&(_0x23fd89=_0xb7f6a(_0x497b8c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x562c63()):_0x497b8c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x497b8c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x497b8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x180abe){return _0x497b8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1fe44e(){const _0x52903b=[_0x497b8c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x497b8c([0x74,0x72,0x69,0x61,0x6c])][_0x497b8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b7068[_0x497b8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f320c/0x3e8:0xe10*_0x4f3210;return _0x1b7068[_0x497b8c([0x65,0x78,0x70])]<_0x52903b;}function _0x4c3602(){const _0x465462=_0x1b7068[_0x497b8c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x465462&&(!!_0x465462[_0x497b8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x497b8c([0x2a]))||!!_0x465462[_0x497b8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x497b8c([0x55,0x50,0x4c,0x43])));}function _0x16253d(){const _0x78ff05=_0x1c85,_0x31e58e=_0x1b7068[_0x497b8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31e58e||0x0==_0x31e58e[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57d8b2}=new URL(window[_0x497b8c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x78ff05(0x164)]);if(_0x31e58e[_0x497b8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d8b2))return!0x0;const _0xd201f6=_0x57d8b2[_0x497b8c([0x73,0x70,0x6c,0x69,0x74])](_0x497b8c([0x2e]));return _0x31e58e[_0x497b8c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x500c17=>_0x500c17[_0x497b8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x497b8c([0x2a])))[_0x497b8c([0x6d,0x61,0x70])](_0x24b97f=>_0x24b97f[_0x497b8c([0x73,0x70,0x6c,0x69,0x74])](_0x497b8c([0x2e])))[_0x497b8c([0x73,0x6f,0x6d,0x65])](_0x177552=>_0xd201f6[_0x497b8c([0x65,0x76,0x65,0x72,0x79])]((_0xa342c8,_0x5a6571)=>_0x177552[_0x5a6571]===_0xa342c8||_0x177552[_0x5a6571]===_0x497b8c([0x2a])));}function _0x562c63(){return _0x23fd89&&_0x587b4b?new window[(_0x497b8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39e9ff,_0x4b91c2)=>{_0x23fd89[_0x497b8c([0x74,0x68,0x65,0x6e])](_0x39e9ff,_0x4b91c2),_0x587b4b[_0x497b8c([0x74,0x68,0x65,0x6e])](_0x3a4383=>{_0x3a4383!=_0x497b8c([0x56,0x61,0x6c,0x69,0x64])&&_0x39e9ff(_0x3a4383);},_0x4b91c2);}):_0x23fd89||_0x587b4b||_0x497b8c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x243ae7(_0x1d8948,_0x3e0aad){return new window[(_0x497b8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf52a10=>{if(_0x48d579())return _0xf52a10(_0x497b8c([0x56,0x61,0x6c,0x69,0x64]));_0x29f1b1(),_0x45d05f[_0x497b8c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x497b8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5972ef=!0x1;const _0xc1b672=_0x21b8b6();function _0x311ad5(_0x1d789b){return!!_0x1d789b&&(typeof _0x1d789b===_0x497b8c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d789b===_0x497b8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d789b[_0x497b8c([0x74,0x68,0x65,0x6e])]===_0x497b8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d789b[_0x497b8c([0x63,0x61,0x74,0x63,0x68])]===_0x497b8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x453d0c(_0x2d9e24){_0x349e89(_0x2d9e24)[_0x497b8c([0x74,0x68,0x65,0x6e])](_0x2dfb3f=>{if(!_0x2dfb3f||_0x2dfb3f[_0x497b8c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x497b8c([0x6f,0x6b]))return _0x497b8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf7b6d5(_0x325122(_0xc1b672+_0x3e0aad))!=_0x2dfb3f[_0x497b8c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x497b8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x497b8c([0x56,0x61,0x6c,0x69,0x64]);})[_0x497b8c([0x74,0x68,0x65,0x6e])](_0x1b3fbc=>(_0x1039e3(),_0x1b3fbc),()=>{const _0x433734=_0x318c13();return null==_0x433734?(_0x1039e3(),_0x497b8c([0x56,0x61,0x6c,0x69,0x64])):_0x497b8c(_0x2f320c-_0x433734>(0x743e3909^_0x19a012)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x497b8c([0x74,0x68,0x65,0x6e])](_0xf52a10)[_0x497b8c([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf52a10(_0x497b8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x554c1e=0x50045389^_0x19a012;function _0x1039e3(){const _0x2f66f7=_0x497b8c([0x6c,0x6c,0x63,0x74,0x2d])+_0xf7b6d5(_0x325122(_0x1d8948)),_0x3f45a8=_0x1e7a42(_0xf7b6d5(window[_0x497b8c([0x4d,0x61,0x74,0x68])][_0x497b8c([0x63,0x65,0x69,0x6c])](_0x2f320c/_0x554c1e)));window[_0x497b8c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x497b8c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f66f7,_0x3f45a8);}function _0x318c13(){const _0x3c4bcf=_0x497b8c([0x6c,0x6c,0x63,0x74,0x2d])+_0xf7b6d5(_0x325122(_0x1d8948)),_0x4be832=window[_0x497b8c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x497b8c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c4bcf);return _0x4be832?window[_0x497b8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7a42(_0x4be832),0x10)*_0x554c1e:null;}function _0x349e89(_0x1f53f0){return new window[(_0x497b8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x287c00,_0x3ff6b0)=>{_0x1f53f0[_0x497b8c([0x74,0x68,0x65,0x6e])](_0x287c00,_0x3ff6b0),window[_0x497b8c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ff6b0,0x503369c9^_0x19a012);});}}_0x45d05f[_0x497b8c([0x6f,0x6e])](_0x497b8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16da29,_0x5a64ee)=>{if(_0x5a64ee[0x0]!=_0x1d8948)return _0xf52a10(_0x497b8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a64ee[0x1]={..._0x5a64ee[0x1],[_0x497b8c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc1b672};},{[_0x497b8c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x497b8c([0x68,0x69,0x67,0x68])}),_0x45d05f[_0x497b8c([0x6f,0x6e])](_0x497b8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x251976=>{_0x311ad5(_0x251976[_0x497b8c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5972ef=!0x0,_0x453d0c(_0x251976[_0x497b8c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x497b8c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x497b8c([0x6c,0x6f,0x77])}),_0x2904bb[_0x497b8c([0x74,0x68,0x65,0x6e])](()=>{_0x5972ef||_0xf52a10(_0x497b8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48d579(){return _0x45d05f[_0x497b8c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x497b8c([0x76,0x69,0x65,0x77])][_0x497b8c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x497b8c([0x61,0x75,0x74,0x6f]);}function _0x29f1b1(){_0x45d05f[_0x497b8c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x497b8c([0x76,0x69,0x65,0x77])][_0x497b8c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x497b8c([0x61,0x75,0x74,0x6f]);}}function _0xb7f6a(_0x3696ae){const _0x324956=[new window[(_0x497b8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e6b4=>setTimeout(_0x34e6b4,0x503b83c5^_0x19a012)),_0x2904bb[_0x497b8c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x497b8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c3776=>{let _0x42e6df=0x0;_0x45d05f[_0x497b8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x497b8c([0x6f,0x6e])](_0x497b8c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e7438,_0xa33de6)=>{_0xa33de6[0x0][_0x497b8c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42e6df++,_0x42e6df==(0x5032bcf1^_0x19a012)&&(_0x5c3776(),_0x2e7438[_0x497b8c([0x6f,0x66,0x66])]());});}))];return window[_0x497b8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x497b8c([0x72,0x61,0x63,0x65])](_0x324956)[_0x497b8c([0x74,0x68,0x65,0x6e])](()=>_0x3696ae);}async function _0x118266(){await _0x2904bb,_0x45d05f[_0x497b8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x497b8c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb77625,_0x45d05f[_0x497b8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x497b8c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb77625,_0x45d05f[_0x497b8c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x497b8c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x438c91(_0x15991b){const _0x180005=_0x5b3c24();_0x45d05f[_0x180005]=_0x497b8c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15991b,_0x15991b!=_0x497b8c([0x56,0x61,0x6c,0x69,0x64])&&_0x118266();}function _0x5b3c24(){const _0x2a0d8d=window[_0x497b8c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x497b8c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x497b8c([0x6e,0x6f,0x77])]())[_0x497b8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x497b8c([0x2e]),'');let _0x39691d=_0x497b8c([0x57]);for(let _0x4c3761=0x0;_0x4c3761<_0x2a0d8d[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3761+=0x2){let _0x49dc3c=window[_0x497b8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a0d8d[_0x497b8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3761,_0x4c3761+0x2));_0x49dc3c>=_0x334f21[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49dc3c-=_0x334f21[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39691d+=_0x334f21[_0x49dc3c];}return _0x39691d;}function _0x233aa7(){const _0x502aaf=_0x18045f[_0x497b8c([0x73,0x70,0x6c,0x69,0x74])](_0x497b8c([0x2e]));if(0x3!=_0x502aaf[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x239848(_0x502aaf[0x1]);function _0x239848(_0x575d42){const _0x5bf1d0=_0x5a2eda(_0x575d42);return _0x5bf1d0&&_0x5a63ce()?_0x5bf1d0:null;function _0x5a63ce(){const _0x4c8f39=_0x5bf1d0[_0x497b8c([0x6a,0x74,0x69])],_0x54e801=window[_0x497b8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c8f39[_0x497b8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c8f39[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x181c03={..._0x5bf1d0,[_0x497b8c([0x6a,0x74,0x69])]:_0x4c8f39[_0x497b8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c8f39[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x181c03[_0x497b8c([0x76,0x63])],_0x325122(_0x181c03)==_0x54e801;}}}async function _0x4f2754(){let _0x2abd8b=!0x0;try{const _0x4427eb=_0x18045f[_0x497b8c([0x73,0x70,0x6c,0x69,0x74])](_0x497b8c([0x2e])),[_0x137473,_0x763e2c,_0x462ac6]=_0x4427eb;return _0x8446cf(_0x137473),await _0x3b3fc7(_0x137473,_0x763e2c,_0x462ac6),_0x2abd8b;}catch(_0x219d24){return!0x1;}function _0x8446cf(_0x56953e){const _0x56c5d2=_0x5a2eda(_0x56953e);_0x56c5d2&&_0x56c5d2[_0x497b8c([0x61,0x6c,0x67])]==_0x497b8c([0x45,0x53,0x32,0x35,0x36])||(_0x2abd8b=!0x1);}async function _0x3b3fc7(_0x2555d0,_0x4f3df8,_0x12c844){const _0x57ce15=window[_0x497b8c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x497b8c([0x66,0x72,0x6f,0x6d])](_0x53a9a1(_0x12c844),_0x247080=>_0x247080[_0x497b8c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x516470=new window[(_0x497b8c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x497b8c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2555d0+_0x497b8c([0x2e])+_0x4f3df8),_0x2b6b24=window[_0x497b8c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x497b8c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b6b24)return;const _0x38af38=await _0x2b6b24[_0x497b8c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x497b8c([0x6a,0x77,0x6b]),_0x3e8a6c,{[_0x497b8c([0x6e,0x61,0x6d,0x65])]:_0x497b8c([0x45,0x43,0x44,0x53,0x41]),[_0x497b8c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x497b8c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x497b8c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b6b24[_0x497b8c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x497b8c([0x6e,0x61,0x6d,0x65])]:_0x497b8c([0x45,0x43,0x44,0x53,0x41]),[_0x497b8c([0x68,0x61,0x73,0x68])]:{[_0x497b8c([0x6e,0x61,0x6d,0x65])]:_0x497b8c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38af38,_0x57ce15,_0x516470)||(_0x2abd8b=!0x1);}}function _0x5a2eda(_0x359c70){return _0x359c70[_0x497b8c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x497b8c([0x65,0x79]))?JSON[_0x497b8c([0x70,0x61,0x72,0x73,0x65])](_0x53a9a1(_0x359c70)):null;}function _0x53a9a1(_0x2ccef1){return window[_0x497b8c([0x61,0x74,0x6f,0x62])](_0x2ccef1[_0x497b8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x497b8c([0x2b]))[_0x497b8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x497b8c([0x2f])));}function _0x325122(_0x18c388){let _0x558b4b=0x1505;function _0x25f065(_0x37aacb){for(let _0x4345f0=0x0;_0x4345f0<_0x37aacb[_0x497b8c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4345f0++){const _0x5e0ae7=_0x37aacb[_0x497b8c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4345f0);_0x558b4b=(_0x558b4b<<0x5)+_0x558b4b+_0x5e0ae7,_0x558b4b&=_0x558b4b;}}function _0x2d957c(_0x5d30a3){Array[_0x497b8c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d30a3)?_0x5d30a3[_0x497b8c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d957c):_0x5d30a3&&typeof _0x5d30a3==_0x497b8c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x497b8c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d30a3)[_0x497b8c([0x73,0x6f,0x72,0x74])]()[_0x497b8c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6b6f66,_0x45511c])=>{_0x25f065(_0x6b6f66),_0x2d957c(_0x45511c);}):_0x25f065(window[_0x497b8c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d30a3));}return _0x2d957c(_0x18c388),_0x558b4b>>>0x0;}function _0xf7b6d5(_0x47bd6d){return _0x47bd6d[_0x497b8c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x497b8c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x497b8c([0x30]));}function _0x1e7a42(_0x4d7788){return _0x4d7788[_0x497b8c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x497b8c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x497b8c([0x6a,0x6f,0x69,0x6e])]('');}function _0xb77625(){}function _0x497b8c(_0x1a3c72){const _0xa2436a=_0x1c85;return _0x1a3c72[_0xa2436a(0x172)](_0x2ef88e=>String[_0xa2436a(0x143)](_0x2ef88e))[_0xa2436a(0x139)]('');}_0x438c91(await _0x334ee1());}(this);}[_0x249917(0x14a)](){const _0x5f0515=_0x249917,_0xee1dbf=this[_0x5f0515(0x13d)][_0x5f0515(0x12d)][_0x5f0515(0x15c)];_0xee1dbf[_0x5f0515(0x135)](_0x5f0515(0x131))&&_0xee1dbf[_0x5f0515(0x134)](_0x5f0515(0x131),{'allowAttributes':[_0x5f0515(0x144)]}),_0xee1dbf[_0x5f0515(0x135)](_0x5f0515(0x160))&&_0xee1dbf[_0x5f0515(0x134)](_0x5f0515(0x160),{'allowAttributes':[_0x5f0515(0x144)]});}[_0x249917(0x136)](){const _0x1f5ac6=_0x249917,_0x342300=this[_0x1f5ac6(0x13d)];_0x342300[_0x1f5ac6(0x13f)][_0x1f5ac6(0x12a)](_0x1f5ac6(0x15e))[_0x1f5ac6(0x12e)]({'model':_0x1f5ac6(0x144),'view':_0x1f5ac6(0x129)}),_0x342300[_0x1f5ac6(0x13f)][_0x1f5ac6(0x12a)](_0x1f5ac6(0x13b))[_0x1f5ac6(0x14f)]({'model':{'key':_0x1f5ac6(0x144),'value':_0x29cf3d=>_0x29cf3d[_0x1f5ac6(0x13a)](_0x1f5ac6(0x129))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5678c9=_0x342300[_0x1f5ac6(0x141)][_0x1f5ac6(0x16c)](_0x1f5ac6(0x173));_0x5678c9&&this[_0x1f5ac6(0x146)](_0x5678c9,_0x1f5ac6(0x16b),(_0xdf2b50,[_0x3be91c,_0xcce199])=>{const _0x165169=_0x1f5ac6;_0x3be91c[_0x165169(0x15f)](_0x165169(0x144),_0xcce199);});}[_0x249917(0x163)](){const _0x3c2c59=_0x249917,_0x5ab22c=this[_0x3c2c59(0x13d)][_0x3c2c59(0x161)][_0x3c2c59(0x16c)](_0x3c2c59(0x177))||{},_0x5e8611=this[_0x3c2c59(0x13d)][_0x3c2c59(0x161)][_0x3c2c59(0x16c)](_0x3c2c59(0x130))||'';this[_0x3c2c59(0x154)]=_0x2b8bd2(_0x57b847[_0x3c2c59(0x12c)],_0x3c2c59(0x176),{..._0x5ab22c,'pubkey':_0x5e8611,'ctx-name':_0x3c2c59(0x147),'sourceList':'','imgOnly':_0x3c2c59(0x174),'removeCopyright':_0x3c2c59(0x174),'localeName':this[_0x3c2c59(0x13d)][_0x3c2c59(0x14b)][_0x3c2c59(0x132)],'externalSourcesEmbedCss':_0x3c2c59(0x138)}),this[_0x3c2c59(0x154)][_0x3c2c59(0x15d)]=_0x51bd51=>{const _0x4c6efc=_0x3c2c59;if(_0x4c6efc(0x152)==_0x51bd51)return _0x4c6efc(0x149);},_0x57b847[_0x3c2c59(0x12c)][_0x3c2c59(0x15b)][_0x3c2c59(0x137)](this[_0x3c2c59(0x154)]);}[_0x249917(0x128)](){const _0x2fd35d=_0x249917;this[_0x2fd35d(0x153)]=_0x2b8bd2(_0x57b847[_0x2fd35d(0x12c)],_0x2fd35d(0x175),{'ctx-name':_0x2fd35d(0x147)}),_0x57b847[_0x2fd35d(0x12c)][_0x2fd35d(0x15b)][_0x2fd35d(0x137)](this[_0x2fd35d(0x153)]);}[_0x249917(0x155)](){const _0x2ae55e=_0x249917,_0x9d0176=this[_0x2ae55e(0x13d)][_0x2ae55e(0x141)][_0x2ae55e(0x16c)](_0x2ae55e(0x167));_0x9d0176&&this[_0x2ae55e(0x146)](_0x9d0176,_0x2ae55e(0x16a),()=>{const _0x4d74cf=_0x2ae55e,_0x4b7871=this[_0x4d74cf(0x13d)][_0x4d74cf(0x12d)][_0x4d74cf(0x12c)][_0x4d74cf(0x16f)][_0x4d74cf(0x159)]();_0x4b7871&&_0x4b7871[_0x4d74cf(0x13a)](_0x4d74cf(0x144))&&this[_0x4d74cf(0x13d)][_0x4d74cf(0x178)][_0x4d74cf(0x15a)][_0x4d74cf(0x148)](_0x4d74cf(0x13c),()=>{const _0xa7e2bd=_0x4d74cf;_0x1f6dc7(this[_0xa7e2bd(0x13d)],_0x4b7871);});});const _0x45694e=this[_0x2ae55e(0x13d)][_0x2ae55e(0x141)][_0x2ae55e(0x16c)](_0x2ae55e(0x169));_0x45694e&&this[_0x2ae55e(0x146)](_0x45694e,_0x2ae55e(0x16a),()=>{const _0x192862=_0x2ae55e,_0x293210=this[_0x192862(0x13d)][_0x192862(0x12d)][_0x192862(0x12c)][_0x192862(0x16f)][_0x192862(0x159)]();_0x293210&&_0x293210[_0x192862(0x13a)](_0x192862(0x144))&&this[_0x192862(0x13d)][_0x192862(0x178)][_0x192862(0x15a)][_0x192862(0x148)](_0x192862(0x13c),()=>{const _0x5ff4d5=_0x192862;_0x1f6dc7(this[_0x5ff4d5(0x13d)],_0x293210);});});}}
23
+ const _0x460775=_0x336d;(function(_0x590c79,_0x563c98){const _0x2d73d3=_0x336d,_0x8f6ce0=_0x590c79();while(!![]){try{const _0x4d28f8=parseInt(_0x2d73d3(0x135))/0x1*(-parseInt(_0x2d73d3(0x14f))/0x2)+parseInt(_0x2d73d3(0x164))/0x3+parseInt(_0x2d73d3(0x13b))/0x4+parseInt(_0x2d73d3(0x149))/0x5*(parseInt(_0x2d73d3(0x12e))/0x6)+parseInt(_0x2d73d3(0x16b))/0x7+-parseInt(_0x2d73d3(0x153))/0x8*(parseInt(_0x2d73d3(0x15d))/0x9)+-parseInt(_0x2d73d3(0x170))/0xa;if(_0x4d28f8===_0x563c98)break;else _0x8f6ce0['push'](_0x8f6ce0['shift']());}catch(_0x209c4a){_0x8f6ce0['push'](_0x8f6ce0['shift']());}}}(_0xb23f,0x51fbe));import{Plugin as _0x23c3c0}from'ckeditor5/src/core.js';import{Dialog as _0x34a9cb}from'ckeditor5/src/ui.js';import{createElement as _0x5401b2,global as _0x18dad5,uid as _0x755a20}from'ckeditor5/src/utils.js';import _0x7a587 from'./uploadcarecommand.js';import _0x30da92 from'./uploadcareuploadadapter.js';function _0x336d(_0x7fc49b,_0x4864ed){const _0xb23ffe=_0xb23f();return _0x336d=function(_0x336dd3,_0x3ce741){_0x336dd3=_0x336dd3-0x12c;let _0x46a8e9=_0xb23ffe[_0x336dd3];return _0x46a8e9;},_0x336d(_0x7fc49b,_0x4864ed);}import{showImageProcessingIndicator as _0x10f413}from'./utils/editingutils.js';export default class i extends _0x23c3c0{[_0x460775(0x163)]=null;[_0x460775(0x139)]=null;static get[_0x460775(0x177)](){const _0x28285b=_0x460775;return _0x28285b(0x140);}static get[_0x460775(0x17b)](){const _0x3b9eb6=_0x460775;return[_0x3b9eb6(0x167),_0x30da92,_0x34a9cb];}static get[_0x460775(0x172)](){return!0x0;}static get[_0x460775(0x17f)](){return!0x0;}get[_0x460775(0x165)](){const _0x22a0a9=_0x460775;return this[_0x22a0a9(0x163)];}get[_0x460775(0x142)](){const _0x5098ac=_0x460775;return this[_0x5098ac(0x139)];}[_0x460775(0x146)](){const _0x3a2d4d=_0x460775,_0x1970de=this[_0x3a2d4d(0x148)];_0x1970de[_0x3a2d4d(0x168)][_0x3a2d4d(0x169)](_0x3a2d4d(0x155),new _0x7a587(_0x1970de));}[_0x460775(0x17d)](){const _0x86efc7=_0x460775;this[_0x86efc7(0x147)](),this[_0x86efc7(0x134)](),this[_0x86efc7(0x16d)](),this[_0x86efc7(0x15e)](),this[_0x86efc7(0x150)](),this[_0x86efc7(0x16f)](this[_0x86efc7(0x148)],_0x86efc7(0x145),()=>{const _0x39382a=_0x86efc7;this[_0x39382a(0x163)]&&(this[_0x39382a(0x163)][_0x39382a(0x141)](),this[_0x39382a(0x163)]=null),this[_0x39382a(0x139)]&&(this[_0x39382a(0x139)][_0x39382a(0x141)](),this[_0x39382a(0x139)]=null);const _0x61df99=_0x18dad5[_0x39382a(0x16e)][_0x39382a(0x138)](_0x39382a(0x157));_0x61df99&&_0x61df99[_0x39382a(0x141)]();}),async function(_0x19c0a7){const _0x54ba9c=_0x4116ce([0x4e,0x46,0x77,0x5a,0x67,0x59,0x73,0x4d,0x37,0x75,0x4c,0x70,0x31,0x62,0x49,0x57,0x69,0x44,0x35,0x78,0x55,0x6e,0x41,0x6b,0x38,0x33,0x32,0x53,0x48,0x63,0x52,0x39,0x30,0x6a,0x58,0x54,0x71,0x4f,0x68,0x65,0x64,0x36,0x47,0x61,0x66,0x74,0x34,0x79,0x56,0x76,0x50,0x42,0x43,0x4b,0x4a,0x7a,0x51,0x72,0x6d,0x6f,0x6c,0x45]),_0x3deb93=0x23c72efe,_0x14b238=0x23c049a6^_0x3deb93,_0x40218f=window[_0x4116ce([0x44,0x61,0x74,0x65])][_0x4116ce([0x6e,0x6f,0x77])](),_0x19c232=_0x19c0a7[_0x4116ce([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x389c7f=new window[(_0x4116ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcb89ab=>{_0x19c232[_0x4116ce([0x6f,0x6e,0x63,0x65])](_0x4116ce([0x72,0x65,0x61,0x64,0x79]),_0xcb89ab);}),_0x1f556f={[_0x4116ce([0x6b,0x74,0x79])]:_0x4116ce([0x45,0x43]),[_0x4116ce([0x75,0x73,0x65])]:_0x4116ce([0x73,0x69,0x67]),[_0x4116ce([0x63,0x72,0x76])]:_0x4116ce([0x50,0x2d,0x32,0x35,0x36]),[_0x4116ce([0x78])]:_0x4116ce([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]),[_0x4116ce([0x79])]:_0x4116ce([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]),[_0x4116ce([0x61,0x6c,0x67])]:_0x4116ce([0x45,0x53,0x32,0x35,0x36])},_0x20de7f=_0x19c232[_0x4116ce([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4116ce([0x67,0x65,0x74])](_0x4116ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52d18a(){let _0x48f24f,_0x2c5048=null,_0x31244e=null;try{if(_0x20de7f==_0x4116ce([0x47,0x50,0x4c]))return _0x4116ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48f24f=_0x3dcefe(),!_0x48f24f)return _0x4116ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48f24f[_0x4116ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31244e=_0x2225d9(_0x48f24f[_0x4116ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48f24f[_0x4116ce([0x6a,0x74,0x69])])),await _0x4cf1b6()?_0x11e2dd()?_0x1319df()?_0x4116ce([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d09a8()?(_0x48f24f[_0x4116ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4116ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c5048=_0x45d705(_0x4116ce([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x48f24f[_0x4116ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4116ce([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c5048=_0x45d705(_0x4116ce([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ae34c()):_0x4116ce([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4116ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4116ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x46b69e){return _0x4116ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1319df(){const _0x2db33c=[_0x4116ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4116ce([0x74,0x72,0x69,0x61,0x6c])][_0x4116ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f24f[_0x4116ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40218f/0x3e8:0xe10*_0x14b238;return _0x48f24f[_0x4116ce([0x65,0x78,0x70])]<_0x2db33c;}function _0x11e2dd(){const _0x439c38=_0x48f24f[_0x4116ce([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x439c38&&(!!_0x439c38[_0x4116ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4116ce([0x2a]))||!!_0x439c38[_0x4116ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4116ce([0x55,0x50,0x4c,0x43])));}function _0x4d09a8(){const _0x347c0f=_0x336d,_0x145955=_0x48f24f[_0x4116ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x145955||0x0==_0x145955[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b884a}=new URL(window[_0x4116ce([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x347c0f(0x171)]);if(_0x145955[_0x4116ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b884a))return!0x0;const _0x2cb9ee=_0x2b884a[_0x4116ce([0x73,0x70,0x6c,0x69,0x74])](_0x4116ce([0x2e]));return _0x145955[_0x4116ce([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3212b2=>_0x3212b2[_0x4116ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4116ce([0x2a])))[_0x4116ce([0x6d,0x61,0x70])](_0x1b7745=>_0x1b7745[_0x4116ce([0x73,0x70,0x6c,0x69,0x74])](_0x4116ce([0x2e])))[_0x4116ce([0x73,0x6f,0x6d,0x65])](_0x8f3c7e=>_0x2cb9ee[_0x4116ce([0x65,0x76,0x65,0x72,0x79])]((_0x4de961,_0x128d7b)=>_0x8f3c7e[_0x128d7b]===_0x4de961||_0x8f3c7e[_0x128d7b]===_0x4116ce([0x2a])));}function _0x4ae34c(){return _0x2c5048&&_0x31244e?new window[(_0x4116ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1091f3,_0x209e27)=>{_0x2c5048[_0x4116ce([0x74,0x68,0x65,0x6e])](_0x1091f3,_0x209e27),_0x31244e[_0x4116ce([0x74,0x68,0x65,0x6e])](_0x23f6cd=>{_0x23f6cd!=_0x4116ce([0x56,0x61,0x6c,0x69,0x64])&&_0x1091f3(_0x23f6cd);},_0x209e27);}):_0x2c5048||_0x31244e||_0x4116ce([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2225d9(_0x5cc4ea,_0x1f47d9){return new window[(_0x4116ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x517757=>{if(_0x777da2())return _0x517757(_0x4116ce([0x56,0x61,0x6c,0x69,0x64]));_0x1720b0(),_0x19c232[_0x4116ce([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4116ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58dfaf=!0x1;const _0x50c4cf=_0x755a20();function _0x373bfe(_0x395cd2){return!!_0x395cd2&&(typeof _0x395cd2===_0x4116ce([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x395cd2===_0x4116ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x395cd2[_0x4116ce([0x74,0x68,0x65,0x6e])]===_0x4116ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x395cd2[_0x4116ce([0x63,0x61,0x74,0x63,0x68])]===_0x4116ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20d40b(_0x8dfd2c){_0x4d24b7(_0x8dfd2c)[_0x4116ce([0x74,0x68,0x65,0x6e])](_0xd9ebdc=>{if(!_0xd9ebdc||_0xd9ebdc[_0x4116ce([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4116ce([0x6f,0x6b]))return _0x4116ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c2267(_0x1f1c30(_0x50c4cf+_0x1f47d9))!=_0xd9ebdc[_0x4116ce([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4116ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4116ce([0x56,0x61,0x6c,0x69,0x64]);})[_0x4116ce([0x74,0x68,0x65,0x6e])](_0x41f586=>(_0x2b113c(),_0x41f586),()=>{const _0x1c2a74=_0x1faefc();return null==_0x1c2a74?(_0x2b113c(),_0x4116ce([0x56,0x61,0x6c,0x69,0x64])):_0x4116ce(_0x40218f-_0x1c2a74>(0x7cbaafe^_0x3deb93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4116ce([0x74,0x68,0x65,0x6e])](_0x517757)[_0x4116ce([0x63,0x61,0x74,0x63,0x68])](()=>{_0x517757(_0x4116ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x223174=0x23f1c07e^_0x3deb93;function _0x2b113c(){const _0x388d0d=_0x4116ce([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c2267(_0x1f1c30(_0x5cc4ea)),_0x2b7246=_0x3d3bb0(_0x4c2267(window[_0x4116ce([0x4d,0x61,0x74,0x68])][_0x4116ce([0x63,0x65,0x69,0x6c])](_0x40218f/_0x223174)));window[_0x4116ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4116ce([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x388d0d,_0x2b7246);}function _0x1faefc(){const _0x266f4d=_0x4116ce([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c2267(_0x1f1c30(_0x5cc4ea)),_0x2eef1a=window[_0x4116ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4116ce([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x266f4d);return _0x2eef1a?window[_0x4116ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d3bb0(_0x2eef1a),0x10)*_0x223174:null;}function _0x4d24b7(_0x2fac65){return new window[(_0x4116ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fc07d,_0x6fb2f1)=>{_0x2fac65[_0x4116ce([0x74,0x68,0x65,0x6e])](_0x1fc07d,_0x6fb2f1),window[_0x4116ce([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6fb2f1,0x23c6fa3e^_0x3deb93);});}}_0x19c232[_0x4116ce([0x6f,0x6e])](_0x4116ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b7312,_0x8f9551)=>{if(_0x8f9551[0x0]!=_0x5cc4ea)return _0x517757(_0x4116ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8f9551[0x1]={..._0x8f9551[0x1],[_0x4116ce([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50c4cf};},{[_0x4116ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4116ce([0x68,0x69,0x67,0x68])}),_0x19c232[_0x4116ce([0x6f,0x6e])](_0x4116ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ab5fe=>{_0x373bfe(_0x5ab5fe[_0x4116ce([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58dfaf=!0x0,_0x20d40b(_0x5ab5fe[_0x4116ce([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4116ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4116ce([0x6c,0x6f,0x77])}),_0x389c7f[_0x4116ce([0x74,0x68,0x65,0x6e])](()=>{_0x58dfaf||_0x517757(_0x4116ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x777da2(){return _0x19c232[_0x4116ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4116ce([0x76,0x69,0x65,0x77])][_0x4116ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4116ce([0x61,0x75,0x74,0x6f]);}function _0x1720b0(){_0x19c232[_0x4116ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4116ce([0x76,0x69,0x65,0x77])][_0x4116ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4116ce([0x61,0x75,0x74,0x6f]);}}function _0x45d705(_0x3a402c){const _0x549b56=[new window[(_0x4116ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x815660=>setTimeout(_0x815660,0x23ce1032^_0x3deb93)),_0x389c7f[_0x4116ce([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4116ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43b4d8=>{let _0xefef22=0x0;_0x19c232[_0x4116ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x4116ce([0x6f,0x6e])](_0x4116ce([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f0ba8,_0x5124ed)=>{_0x5124ed[0x0][_0x4116ce([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xefef22++,_0xefef22==(0x23c72f06^_0x3deb93)&&(_0x43b4d8(),_0x4f0ba8[_0x4116ce([0x6f,0x66,0x66])]());});}))];return window[_0x4116ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4116ce([0x72,0x61,0x63,0x65])](_0x549b56)[_0x4116ce([0x74,0x68,0x65,0x6e])](()=>_0x3a402c);}async function _0x2edcae(){await _0x389c7f,_0x19c232[_0x4116ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x4116ce([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b215f,_0x19c232[_0x4116ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x4116ce([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b215f,_0x19c232[_0x4116ce([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4116ce([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d0fb9(_0x5c42c5){const _0x27b2e9=_0x39ebaf();_0x19c232[_0x27b2e9]=_0x4116ce([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c42c5,_0x5c42c5!=_0x4116ce([0x56,0x61,0x6c,0x69,0x64])&&_0x2edcae();}function _0x39ebaf(){const _0x515cea=window[_0x4116ce([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4116ce([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4116ce([0x6e,0x6f,0x77])]())[_0x4116ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4116ce([0x2e]),'');let _0x2dbe3d=_0x4116ce([0x4e]);for(let _0x2164a7=0x0;_0x2164a7<_0x515cea[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2164a7+=0x2){let _0x3f07f1=window[_0x4116ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x515cea[_0x4116ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2164a7,_0x2164a7+0x2));_0x3f07f1>=_0x54ba9c[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f07f1-=_0x54ba9c[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2dbe3d+=_0x54ba9c[_0x3f07f1];}return _0x2dbe3d;}function _0x3dcefe(){const _0x2ff939=_0x20de7f[_0x4116ce([0x73,0x70,0x6c,0x69,0x74])](_0x4116ce([0x2e]));if(0x3!=_0x2ff939[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a09ff(_0x2ff939[0x1]);function _0x3a09ff(_0x35e3e2){const _0xfdd758=_0x4bbef5(_0x35e3e2);return _0xfdd758&&_0x54995d()?_0xfdd758:null;function _0x54995d(){const _0xe3bb9e=_0xfdd758[_0x4116ce([0x6a,0x74,0x69])],_0x861fa9=window[_0x4116ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe3bb9e[_0x4116ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe3bb9e[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc4020c={..._0xfdd758,[_0x4116ce([0x6a,0x74,0x69])]:_0xe3bb9e[_0x4116ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xe3bb9e[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc4020c[_0x4116ce([0x76,0x63])],_0x1f1c30(_0xc4020c)==_0x861fa9;}}}async function _0x4cf1b6(){let _0x4a2ec6=!0x0;try{const _0x48e4ec=_0x20de7f[_0x4116ce([0x73,0x70,0x6c,0x69,0x74])](_0x4116ce([0x2e])),[_0x59ded7,_0x1be577,_0x63862b]=_0x48e4ec;return _0x2a2585(_0x59ded7),await _0x313ff3(_0x59ded7,_0x1be577,_0x63862b),_0x4a2ec6;}catch(_0x46f8a6){return!0x1;}function _0x2a2585(_0x297398){const _0x4b56bf=_0x4bbef5(_0x297398);_0x4b56bf&&_0x4b56bf[_0x4116ce([0x61,0x6c,0x67])]==_0x4116ce([0x45,0x53,0x32,0x35,0x36])||(_0x4a2ec6=!0x1);}async function _0x313ff3(_0x24961b,_0x1979a8,_0x3aff9d){const _0x2d1410=window[_0x4116ce([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4116ce([0x66,0x72,0x6f,0x6d])](_0x382a69(_0x3aff9d),_0x422c76=>_0x422c76[_0x4116ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b9eeb=new window[(_0x4116ce([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4116ce([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24961b+_0x4116ce([0x2e])+_0x1979a8),_0x5803ca=window[_0x4116ce([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4116ce([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5803ca)return;const _0x2cfae9=await _0x5803ca[_0x4116ce([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4116ce([0x6a,0x77,0x6b]),_0x1f556f,{[_0x4116ce([0x6e,0x61,0x6d,0x65])]:_0x4116ce([0x45,0x43,0x44,0x53,0x41]),[_0x4116ce([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4116ce([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4116ce([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5803ca[_0x4116ce([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4116ce([0x6e,0x61,0x6d,0x65])]:_0x4116ce([0x45,0x43,0x44,0x53,0x41]),[_0x4116ce([0x68,0x61,0x73,0x68])]:{[_0x4116ce([0x6e,0x61,0x6d,0x65])]:_0x4116ce([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cfae9,_0x2d1410,_0x1b9eeb)||(_0x4a2ec6=!0x1);}}function _0x4bbef5(_0x1ab0a7){return _0x1ab0a7[_0x4116ce([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4116ce([0x65,0x79]))?JSON[_0x4116ce([0x70,0x61,0x72,0x73,0x65])](_0x382a69(_0x1ab0a7)):null;}function _0x382a69(_0x11f8a9){return window[_0x4116ce([0x61,0x74,0x6f,0x62])](_0x11f8a9[_0x4116ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4116ce([0x2b]))[_0x4116ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4116ce([0x2f])));}function _0x1f1c30(_0xe0c7fc){let _0x2ddd92=0x1505;function _0x4a8a14(_0x5abc26){for(let _0x274f1e=0x0;_0x274f1e<_0x5abc26[_0x4116ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x274f1e++){const _0x121abf=_0x5abc26[_0x4116ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x274f1e);_0x2ddd92=(_0x2ddd92<<0x5)+_0x2ddd92+_0x121abf,_0x2ddd92&=_0x2ddd92;}}function _0x483d4b(_0x47ff87){Array[_0x4116ce([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47ff87)?_0x47ff87[_0x4116ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x483d4b):_0x47ff87&&typeof _0x47ff87==_0x4116ce([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4116ce([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47ff87)[_0x4116ce([0x73,0x6f,0x72,0x74])]()[_0x4116ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29597b,_0x32f6ad])=>{_0x4a8a14(_0x29597b),_0x483d4b(_0x32f6ad);}):_0x4a8a14(window[_0x4116ce([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47ff87));}return _0x483d4b(_0xe0c7fc),_0x2ddd92>>>0x0;}function _0x4c2267(_0x563133){return _0x563133[_0x4116ce([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4116ce([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4116ce([0x30]));}function _0x3d3bb0(_0x4c6e8b){return _0x4c6e8b[_0x4116ce([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4116ce([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4116ce([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b215f(){}function _0x4116ce(_0x10ff0a){const _0x34062c=_0x336d;return _0x10ff0a[_0x34062c(0x179)](_0x53e5fd=>String[_0x34062c(0x162)](_0x53e5fd))[_0x34062c(0x14d)]('');}_0x1d0fb9(await _0x52d18a());}(this);}[_0x460775(0x147)](){const _0x4c6441=_0x460775,_0x4a21ec=this[_0x4c6441(0x148)][_0x4c6441(0x160)][_0x4c6441(0x132)];_0x4a21ec[_0x4c6441(0x15c)](_0x4c6441(0x14a))&&_0x4a21ec[_0x4c6441(0x154)](_0x4c6441(0x14a),{'allowAttributes':[_0x4c6441(0x136)]}),_0x4a21ec[_0x4c6441(0x15c)](_0x4c6441(0x173))&&_0x4a21ec[_0x4c6441(0x154)](_0x4c6441(0x173),{'allowAttributes':[_0x4c6441(0x136)]});}[_0x460775(0x134)](){const _0x13828d=_0x460775,_0xcdfae=this[_0x13828d(0x148)];_0xcdfae[_0x13828d(0x175)][_0x13828d(0x131)](_0x13828d(0x16c))[_0x13828d(0x12c)]({'model':_0x13828d(0x136),'view':_0x13828d(0x15a)}),_0xcdfae[_0x13828d(0x175)][_0x13828d(0x131)](_0x13828d(0x178))[_0x13828d(0x151)]({'model':{'key':_0x13828d(0x136),'value':_0x4cf32c=>_0x4cf32c[_0x13828d(0x13d)](_0x13828d(0x15a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xa61752=_0xcdfae[_0x13828d(0x168)][_0x13828d(0x13c)](_0x13828d(0x166));_0xa61752&&this[_0x13828d(0x16f)](_0xa61752,_0x13828d(0x14c),(_0x5c338b,[_0x2e6a0a,_0x180c8c])=>{const _0x25cb9d=_0x13828d;_0x2e6a0a[_0x25cb9d(0x17e)](_0x25cb9d(0x136),_0x180c8c);});}[_0x460775(0x16d)](){const _0x4a4398=_0x460775,_0x499ec4=this[_0x4a4398(0x148)][_0x4a4398(0x144)][_0x4a4398(0x13c)](_0x4a4398(0x16a))||{},_0x4cb8fe=this[_0x4a4398(0x148)][_0x4a4398(0x144)][_0x4a4398(0x13c)](_0x4a4398(0x17a))||'';this[_0x4a4398(0x163)]=_0x5401b2(_0x18dad5[_0x4a4398(0x16e)],_0x4a4398(0x13e),{..._0x499ec4,'pubkey':_0x4cb8fe,'ctx-name':_0x4a4398(0x137),'sourceList':'','imgOnly':_0x4a4398(0x13a),'removeCopyright':_0x4a4398(0x13a),'localeName':this[_0x4a4398(0x148)][_0x4a4398(0x159)][_0x4a4398(0x12d)],'externalSourcesEmbedCss':_0x4a4398(0x130)}),this[_0x4a4398(0x163)][_0x4a4398(0x15f)]=_0x4a6ded=>{const _0x3f9f4c=_0x4a4398;if(_0x3f9f4c(0x158)==_0x4a6ded)return _0x3f9f4c(0x17c);},_0x18dad5[_0x4a4398(0x16e)][_0x4a4398(0x161)][_0x4a4398(0x152)](this[_0x4a4398(0x163)]);}[_0x460775(0x15e)](){const _0x2a07b9=_0x460775;this[_0x2a07b9(0x139)]=_0x5401b2(_0x18dad5[_0x2a07b9(0x16e)],_0x2a07b9(0x133),{'ctx-name':_0x2a07b9(0x137)}),_0x18dad5[_0x2a07b9(0x16e)][_0x2a07b9(0x161)][_0x2a07b9(0x152)](this[_0x2a07b9(0x139)]);}[_0x460775(0x150)](){const _0x5886ff=_0x460775,_0x1f0e0f=this[_0x5886ff(0x148)][_0x5886ff(0x168)][_0x5886ff(0x13c)](_0x5886ff(0x13f));_0x1f0e0f&&this[_0x5886ff(0x16f)](_0x1f0e0f,_0x5886ff(0x12f),()=>{const _0x5010f3=_0x5886ff,_0x43f4c1=this[_0x5010f3(0x148)][_0x5010f3(0x160)][_0x5010f3(0x16e)][_0x5010f3(0x156)][_0x5010f3(0x15b)]();_0x43f4c1&&_0x43f4c1[_0x5010f3(0x13d)](_0x5010f3(0x136))&&this[_0x5010f3(0x148)][_0x5010f3(0x14b)][_0x5010f3(0x14e)][_0x5010f3(0x174)](_0x5010f3(0x143),()=>{const _0x141e44=_0x5010f3;_0x10f413(this[_0x141e44(0x148)],_0x43f4c1);});});const _0x316de7=this[_0x5886ff(0x148)][_0x5886ff(0x168)][_0x5886ff(0x13c)](_0x5886ff(0x176));_0x316de7&&this[_0x5886ff(0x16f)](_0x316de7,_0x5886ff(0x12f),()=>{const _0x528dd7=_0x5886ff,_0x34732d=this[_0x528dd7(0x148)][_0x528dd7(0x160)][_0x528dd7(0x16e)][_0x528dd7(0x156)][_0x528dd7(0x15b)]();_0x34732d&&_0x34732d[_0x528dd7(0x13d)](_0x528dd7(0x136))&&this[_0x528dd7(0x148)][_0x528dd7(0x14b)][_0x528dd7(0x14e)][_0x528dd7(0x174)](_0x528dd7(0x143),()=>{const _0x688998=_0x528dd7;_0x10f413(this[_0x688998(0x148)],_0x34732d);});});}}function _0xb23f(){const _0x3fc512=['config','destroy','init','_initSchema','editor','45tZeGWF','imageBlock','editing','cleanupImage','join','view','300778LLREUD','_initImageProcessingIndicator','elementToAttribute','appendChild','4816736KTnXTn','extend','uploadcare','selection','input[uploadcare-file-input]','closeMax','locale','data-uc-image-id','getSelectedElement','isRegistered','9usmhXx','_initCtx','iconHrefResolver','model','body','fromCharCode','_configElement','954348OjWupt','configElement','replaceImageSource','PictureEditing','commands','add','uploadcare.uploader','4624340HjFQtr','downcast','_initConfig','document','listenTo','6007480SLpqwk','href','isOfficialPlugin','imageInline','once','conversion','uploadcareImageReplace','pluginName','upcast','map','uploadcare.pubkey','requires','#uc-icon-arrow-down','afterInit','removeAttribute','isPremiumPlugin','attributeToAttribute','contentLanguage','423324axUVUi','execute','\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','for','schema','uc-upload-ctx-provider','_initConversion','2ZTdIZA','uploadcareImageId','uploader','querySelector','_ctxElement','true','902808pIBfrF','get','getAttribute','uc-config','insertImage','UploadcareEditing','remove','ctxElement','render'];_0xb23f=function(){return _0x3fc512;};return _0xb23f();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x597534,ObservableMixin as _0x3aae78}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5fc382}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x521256}from'ckeditor5/src/icons.js';import _0x44a30a from'./uploadcareimageeditformview.js';import _0x4ad2a8 from'../../utils/uploadutils.js';import{getImageUrls as _0x10f86a,getImageDimension as _0x3468cc}from'../../utils/editingutils.js';import{isAncestor as _0x1d3996}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3aae78(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x17bfc8,_0x531a52,_0x227ca0){super(),this['_editor']=_0x17bfc8,this['_dialog']=_0x531a52,this['_imageElement']=_0x227ca0,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 _0x1b73f7=this['_imageElement'],_0x54af4f=_0x1b73f7['getAttribute']('uploadcareImageId'),_0x50f07c=_0x1b73f7['getAttribute']('src');if(_0x54af4f)await this['_loadImageInfo'](_0x54af4f,_0x50f07c);else{if(this['_imageCache']['has'](_0x50f07c)){const _0x5f34dd=this['_imageCache']['get'](_0x50f07c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f34dd['url'],this['imageDimension']=_0x5f34dd['dimension'],this['imageId']=_0x5f34dd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2ff8f6}=this['_editor'],t=_0x2ff8f6['t'],_0x56ce17=new _0x44a30a(_0x2ff8f6,this['imageStatus'],this['_attributes']);_0x56ce17['bind']('status')['to'](this,'imageStatus'),_0x56ce17['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x56ce17['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x56ce17['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x56ce17,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x521256,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x56ce17,'position':_0x5fc382['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x56ce17['focus']();},'onHide':()=>{_0x56ce17['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5377ab=>!_0x1d3996(_0x5377ab,_0x56ce17['element'])}});}['_loadImageInfo'](_0x3beb49,_0x5a2a9b){return _0x4ad2a8['getInfo'](_0x3beb49,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2f9fbb=>{const {width:_0x273fda,height:_0x296e85}=_0x2f9fbb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a2a9b,this['imageDimension']={'width':_0x273fda,'height':_0x296e85},this['imageId']=_0x3beb49;})['catch'](_0x3615b9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3615b9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3d7fd3,_0x33b193){return this['_getImageAsFile'](_0x3d7fd3)['then'](_0xd65a3f=>_0x4ad2a8['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x33b193['signal'],'file':_0xd65a3f,'onProgress':_0x2307b1=>{_0x2307b1&&_0x2307b1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2307b1['value']));}}))['then'](_0x20ed59=>{const {width:_0x1fa462,height:_0x4987e0}=_0x20ed59['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20ed59['cdnUrl'],this['imageDimension']={'width':_0x1fa462,'height':_0x4987e0},this['imageId']=_0x20ed59['uuid'],this['imageUploadProgress']=null;const _0x2079ee=_0x3d7fd3['getAttribute']('src');this['_imageCache']['set'](_0x2079ee,{'id':_0x20ed59['uuid'],'url':_0x20ed59['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3a1fa0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a1fa0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x449c41,_0x58d049){_0x449c41['on']('apply',(_0x584b4d,_0x18f5f4)=>{this['_replaceImage'](_0x58d049,_0x18f5f4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x449c41['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x449c41['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26d193,_0x502186,_0x4778cb){const _0x3de747=this['_editor'],{width:_0x1ff108,height:_0x5b1a7e}=_0x3468cc(_0x502186,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e20a2,imageSources:_0x5db6eb}=_0x10f86a(_0x502186,_0x1ff108);_0x3de747['model']['change'](_0x487dbb=>{if('$graveyard'===_0x26d193['root']['rootName']){_0x3de747['execute']('insertImage',{'imageType':_0x26d193['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26d193['getAttributes']()),'uploadcareImageId':_0x4778cb,'src':_0x5e20a2,'sources':_0x5db6eb,'width':_0x1ff108,'height':_0x5b1a7e}});const _0x44dde0=_0x26d193['getChildren']();_0x26d193=_0x3de747['model']['document']['selection']['getSelectedElement']();for(const _0x4df494 of _0x44dde0)_0x487dbb['append'](_0x487dbb['cloneElement'](_0x4df494),_0x26d193);}else _0x487dbb['setSelection'](_0x26d193,'on'),_0x3de747['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26d193['getAttributes']()),'uploadcareImageId':_0x4778cb,'src':_0x5e20a2,'sources':_0x5db6eb,'width':_0x1ff108,'height':_0x5b1a7e},_0x26d193);_0x487dbb['setSelection'](_0x26d193,'on');});}async['_getImageAsFile'](_0x21953c){const _0x192ef3=_0x597534['window'],_0x377a02=_0x597534['document']['location']['href'],_0x378ee7=new _0x192ef3['URL'](_0x21953c['getAttribute']('src'),_0x377a02);if('data:'===_0x378ee7['protocol']){const _0xed193e=_0x378ee7['href']['split'](','),_0x545237=_0xed193e[0x0]['match'](/:(.*?);/)[0x1],_0x40c965=_0x545237['split']('/')[0x1],_0x2a5daa=_0x192ef3['atob'](_0xed193e[_0xed193e['length']-0x1]);let _0x5e6f87=_0x2a5daa['length'];const _0x5d9d72=new _0x192ef3['Uint8Array'](_0x5e6f87);for(;_0x5e6f87--;)_0x5d9d72[_0x5e6f87]=_0x2a5daa['charCodeAt'](_0x5e6f87);return new _0x192ef3['File']([_0x5d9d72],'image.'+_0x40c965,{'type':_0x545237});}const _0x2c8b39=_0x378ee7['href']['split']('/'),_0xc86122=_0x2c8b39[_0x2c8b39['length']-0x1],_0x2c769f=_0xc86122['split']('.')[0x1];return _0x192ef3['fetch'](_0x378ee7['href'])['then'](_0x3ad45e=>_0x3ad45e['clone']()['blob']())['then'](_0x504f50=>new _0x192ef3['File']([_0x504f50],_0xc86122,{'type':'image/'+_0x2c769f}));}}
23
+ import{global as _0x7bc484,ObservableMixin as _0x38770d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x131690}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2cad65}from'ckeditor5/src/icons.js';import _0x2e8c60 from'./uploadcareimageeditformview.js';import _0x321497 from'../../utils/uploadutils.js';import{getImageUrls as _0x22e703,getImageDimension as _0x6f0497}from'../../utils/editingutils.js';import{isAncestor as _0x26d753}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x38770d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x384003,_0x83f49f,_0x34e01e){super(),this['_editor']=_0x384003,this['_dialog']=_0x83f49f,this['_imageElement']=_0x34e01e,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 _0x38222d=this['_imageElement'],_0x29130a=_0x38222d['getAttribute']('uploadcareImageId'),_0x2e0ba0=_0x38222d['getAttribute']('src');if(_0x29130a)await this['_loadImageInfo'](_0x29130a,_0x2e0ba0);else{if(this['_imageCache']['has'](_0x2e0ba0)){const _0x2e3e88=this['_imageCache']['get'](_0x2e0ba0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e3e88['url'],this['imageDimension']=_0x2e3e88['dimension'],this['imageId']=_0x2e3e88['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56639d}=this['_editor'],t=_0x56639d['t'],_0x54961a=new _0x2e8c60(_0x56639d,this['imageStatus'],this['_attributes']);_0x54961a['bind']('status')['to'](this,'imageStatus'),_0x54961a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x54961a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x54961a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x54961a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2cad65,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x54961a,'position':_0x131690['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x54961a['focus']();},'onHide':()=>{_0x54961a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d8423=>!_0x26d753(_0x1d8423,_0x54961a['element'])}});}['_loadImageInfo'](_0x19d836,_0x3358ef){return _0x321497['getInfo'](_0x19d836,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5afa97=>{const {width:_0xb69f85,height:_0x2c7f77}=_0x5afa97['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3358ef,this['imageDimension']={'width':_0xb69f85,'height':_0x2c7f77},this['imageId']=_0x19d836;})['catch'](_0x15b696=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15b696['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x15530f,_0x575e3f){return this['_getImageAsFile'](_0x15530f)['then'](_0x2ba47e=>_0x321497['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x575e3f['signal'],'file':_0x2ba47e,'onProgress':_0x3601d0=>{_0x3601d0&&_0x3601d0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3601d0['value']));}}))['then'](_0x891059=>{const {width:_0x28e589,height:_0xd94b45}=_0x891059['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x891059['cdnUrl'],this['imageDimension']={'width':_0x28e589,'height':_0xd94b45},this['imageId']=_0x891059['uuid'],this['imageUploadProgress']=null;const _0x321a5b=_0x15530f['getAttribute']('src');this['_imageCache']['set'](_0x321a5b,{'id':_0x891059['uuid'],'url':_0x891059['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xea0e5d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xea0e5d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x533dd9,_0x5e8bc3){_0x533dd9['on']('apply',(_0x1d1670,_0x599081)=>{this['_replaceImage'](_0x5e8bc3,_0x599081['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x533dd9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x533dd9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x30d37e,_0x246a7e,_0x2ad3c9){const _0xacf692=this['_editor'],{width:_0x71187,height:_0x3f449c}=_0x6f0497(_0x246a7e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x22ca58,imageSources:_0x125c75}=_0x22e703(_0x246a7e,_0x71187);_0xacf692['model']['change'](_0x2d07e1=>{if('$graveyard'===_0x30d37e['root']['rootName']){_0xacf692['execute']('insertImage',{'imageType':_0x30d37e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x30d37e['getAttributes']()),'uploadcareImageId':_0x2ad3c9,'src':_0x22ca58,'sources':_0x125c75,'width':_0x71187,'height':_0x3f449c}});const _0x24e37f=_0x30d37e['getChildren']();_0x30d37e=_0xacf692['model']['document']['selection']['getSelectedElement']();for(const _0xd6b60f of _0x24e37f)_0x2d07e1['append'](_0x2d07e1['cloneElement'](_0xd6b60f),_0x30d37e);}else _0x2d07e1['setSelection'](_0x30d37e,'on'),_0xacf692['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x30d37e['getAttributes']()),'uploadcareImageId':_0x2ad3c9,'src':_0x22ca58,'sources':_0x125c75,'width':_0x71187,'height':_0x3f449c},_0x30d37e);_0x2d07e1['setSelection'](_0x30d37e,'on');});}async['_getImageAsFile'](_0x2edd51){const _0x2cae87=_0x7bc484['window'],_0x31508c=_0x7bc484['document']['location']['href'],_0x5b91ae=new _0x2cae87['URL'](_0x2edd51['getAttribute']('src'),_0x31508c);if('data:'===_0x5b91ae['protocol']){const _0x451901=_0x5b91ae['href']['split'](','),_0x3044a1=_0x451901[0x0]['match'](/:(.*?);/)[0x1],_0x50738f=_0x3044a1['split']('/')[0x1],_0x2a49a8=_0x2cae87['atob'](_0x451901[_0x451901['length']-0x1]);let _0x6ba792=_0x2a49a8['length'];const _0x3b3765=new _0x2cae87['Uint8Array'](_0x6ba792);for(;_0x6ba792--;)_0x3b3765[_0x6ba792]=_0x2a49a8['charCodeAt'](_0x6ba792);return new _0x2cae87['File']([_0x3b3765],'image.'+_0x50738f,{'type':_0x3044a1});}const _0x8a1ffa=_0x5b91ae['href']['split']('/'),_0x2a0e75=_0x8a1ffa[_0x8a1ffa['length']-0x1],_0x3bf8b8=_0x2a0e75['split']('.')[0x1];return _0x2cae87['fetch'](_0x5b91ae['href'])['then'](_0x171b70=>_0x171b70['clone']()['blob']())['then'](_0x50bd7f=>new _0x2cae87['File']([_0x50bd7f],_0x2a0e75,{'type':'image/'+_0x3bf8b8}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xde3676,_0x2a73ff){const _0x4d7499=_0x3d15,_0x9dc8a6=_0xde3676();while(!![]){try{const _0x3d4f22=parseInt(_0x4d7499(0x11b))/0x1*(parseInt(_0x4d7499(0x118))/0x2)+-parseInt(_0x4d7499(0x10c))/0x3*(-parseInt(_0x4d7499(0x119))/0x4)+parseInt(_0x4d7499(0x11e))/0x5+parseInt(_0x4d7499(0x10f))/0x6+-parseInt(_0x4d7499(0x113))/0x7+-parseInt(_0x4d7499(0x117))/0x8*(-parseInt(_0x4d7499(0x114))/0x9)+-parseInt(_0x4d7499(0x11a))/0xa*(parseInt(_0x4d7499(0x11d))/0xb);if(_0x3d4f22===_0x2a73ff)break;else _0x9dc8a6['push'](_0x9dc8a6['shift']());}catch(_0x2e4bda){_0x9dc8a6['push'](_0x9dc8a6['shift']());}}}(_0x44ba,0x77ca6));function _0x3d15(_0x8ea98b,_0x918602){const _0x44ba61=_0x44ba();return _0x3d15=function(_0x3d158a,_0x3acc14){_0x3d158a=_0x3d158a-0x10c;let _0x57acac=_0x44ba61[_0x3d158a];return _0x57acac;},_0x3d15(_0x8ea98b,_0x918602);}import{View as _0x490b6}from'ckeditor5/src/ui.js';function _0x44ba(){const _0x283c57=['set','2041529QCgnMS','81przTyP','ck-uploadcare-theme','image-edit','257096vBydoW','2VXCLvg','1696208OudMiz','60yfhGVv','9515vnxkEv','uc-light','3223418oSzoHt','2536615BvEuWs','6JaMyxf','bindTemplate','imageSrc','5318172BntFbX','setTemplate','uc-cloud-image-editor'];_0x44ba=function(){return _0x283c57;};return _0x44ba();}export default class tt extends _0x490b6{constructor(_0x5866e8,_0x3009fb){const _0x1fd51a=_0x3d15;super(_0x5866e8);const _0x1c1806=this[_0x1fd51a(0x10d)];this[_0x1fd51a(0x112)](_0x1fd51a(0x10e),''),this[_0x1fd51a(0x110)]({'tag':_0x1fd51a(0x111),'attributes':{..._0x3009fb,'class':[_0x1fd51a(0x11c),_0x1fd51a(0x115)],'ctx-name':_0x1fd51a(0x116),'cdn-url':_0x1c1806['to'](_0x1fd51a(0x10e))}});}}
23
+ (function(_0x235c76,_0x2a7ccb){const _0x3e4007=_0x2dbc,_0xd2f027=_0x235c76();while(!![]){try{const _0x1051f6=-parseInt(_0x3e4007(0xcc))/0x1+parseInt(_0x3e4007(0xc9))/0x2+-parseInt(_0x3e4007(0xcb))/0x3*(-parseInt(_0x3e4007(0xd2))/0x4)+parseInt(_0x3e4007(0xca))/0x5+-parseInt(_0x3e4007(0xd4))/0x6+-parseInt(_0x3e4007(0xd3))/0x7+parseInt(_0x3e4007(0xc6))/0x8*(parseInt(_0x3e4007(0xd5))/0x9);if(_0x1051f6===_0x2a7ccb)break;else _0xd2f027['push'](_0xd2f027['shift']());}catch(_0x3a6477){_0xd2f027['push'](_0xd2f027['shift']());}}}(_0x5bcd,0x7579d));import{View as _0x446983}from'ckeditor5/src/ui.js';function _0x2dbc(_0x57f87e,_0x3db7aa){const _0x5bcd31=_0x5bcd();return _0x2dbc=function(_0x2dbc4a,_0x4f057e){_0x2dbc4a=_0x2dbc4a-0xc6;let _0x23c490=_0x5bcd31[_0x2dbc4a];return _0x23c490;},_0x2dbc(_0x57f87e,_0x3db7aa);}function _0x5bcd(){const _0x5dfcb6=['image-edit','386128jbTBxa','3550043FJyoJn','4226352aEMnLG','9UlOVFF','uc-cloud-image-editor','1147792DGkYOd','uc-light','ck-uploadcare-theme','341282QTJCFd','3696360CwQTus','24BCeaBX','132921ZWPLfk','bindTemplate','setTemplate','imageSrc','set'];_0x5bcd=function(){return _0x5dfcb6;};return _0x5bcd();}export default class tt extends _0x446983{constructor(_0xc5f80f,_0xb1f7c4){const _0x2e1d9b=_0x2dbc;super(_0xc5f80f);const _0x4bb8ec=this[_0x2e1d9b(0xcd)];this[_0x2e1d9b(0xd0)](_0x2e1d9b(0xcf),''),this[_0x2e1d9b(0xce)]({'tag':_0x2e1d9b(0xd6),'attributes':{..._0xb1f7c4,'class':[_0x2e1d9b(0xc7),_0x2e1d9b(0xc8)],'ctx-name':_0x2e1d9b(0xd1),'cdn-url':_0x4bb8ec['to'](_0x2e1d9b(0xcf))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4afc57,IconView as at,View as _0x5509fd}from'ckeditor5/src/ui.js';export default class rt extends _0x5509fd{constructor(_0xbf4977){super(_0xbf4977);const t=_0xbf4977['t'];this['set']('errorType',null);const _0x22d5b3=new _0x4afc57(_0xbf4977);_0x22d5b3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x22d5b3['withText']=!0x0,_0x22d5b3['class']='ck-button-action',_0x22d5b3['on']('execute',()=>{this['fire']('retry');}),_0x22d5b3['bind']('isVisible')['to'](this,'errorType',_0x1068f1=>'NotFound'!==_0x1068f1);const _0x2a9c78=new at();_0x2a9c78['content']=et,_0x2a9c78['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x349372=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':[_0x2a9c78,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x349372['to']('errorType',_0x300764=>t('NotFound'!==_0x300764?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x22d5b3]},{'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 et}from'ckeditor5/src/icons.js';import{ButtonView as _0x18a6fa,IconView as at,View as _0x1b9215}from'ckeditor5/src/ui.js';export default class rt extends _0x1b9215{constructor(_0x5af99f){super(_0x5af99f);const t=_0x5af99f['t'];this['set']('errorType',null);const _0x5ae7f0=new _0x18a6fa(_0x5af99f);_0x5ae7f0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5ae7f0['withText']=!0x0,_0x5ae7f0['class']='ck-button-action',_0x5ae7f0['on']('execute',()=>{this['fire']('retry');}),_0x5ae7f0['bind']('isVisible')['to'](this,'errorType',_0xe2964e=>'NotFound'!==_0xe2964e);const _0x437e80=new at();_0x437e80['content']=et,_0x437e80['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1311e7=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':[_0x437e80,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1311e7['to']('errorType',_0xe3e554=>t('NotFound'!==_0xe3e554?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5ae7f0]},{'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 _0xb08463,View as _0x41aa43}from'ckeditor5/src/ui.js';export default class ta extends _0x41aa43{constructor(_0x40f930){super(_0x40f930);const t=_0x40f930['t'],_0x1803aa=this['bindTemplate'],_0x43e501=new _0xb08463();_0x43e501['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':[_0x43e501,{'text':_0x1803aa['to']('imageUploadProgress',_0x18d161=>t('Loading\x20image...')+'\x20('+(_0x18d161||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 _0x1fc6aa,View as _0x120e85}from'ckeditor5/src/ui.js';export default class ta extends _0x120e85{constructor(_0x13b319){super(_0x13b319);const t=_0x13b319['t'],_0x1e00bd=this['bindTemplate'],_0x3e0567=new _0x1fc6aa();_0x3e0567['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':[_0x3e0567,{'text':_0x1e00bd['to']('imageUploadProgress',_0x41d401=>t('Loading\x20image...')+'\x20('+(_0x41d401||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 _0x7ba1(_0x5b4153,_0x2bc8b1){const _0x2e8fe2=_0x2e8f();return _0x7ba1=function(_0x7ba184,_0x4a77ae){_0x7ba184=_0x7ba184-0x145;let _0x57526a=_0x2e8fe2[_0x7ba184];return _0x57526a;},_0x7ba1(_0x5b4153,_0x2bc8b1);}const _0x54802d=_0x7ba1;(function(_0x1add78,_0x38eaf3){const _0x3e3753=_0x7ba1,_0x1c7418=_0x1add78();while(!![]){try{const _0x501b7f=parseInt(_0x3e3753(0x153))/0x1*(-parseInt(_0x3e3753(0x145))/0x2)+parseInt(_0x3e3753(0x177))/0x3+parseInt(_0x3e3753(0x14b))/0x4*(-parseInt(_0x3e3753(0x17d))/0x5)+-parseInt(_0x3e3753(0x164))/0x6*(-parseInt(_0x3e3753(0x156))/0x7)+parseInt(_0x3e3753(0x176))/0x8+parseInt(_0x3e3753(0x149))/0x9*(parseInt(_0x3e3753(0x16e))/0xa)+parseInt(_0x3e3753(0x17a))/0xb*(-parseInt(_0x3e3753(0x158))/0xc);if(_0x501b7f===_0x38eaf3)break;else _0x1c7418['push'](_0x1c7418['shift']());}catch(_0x3e84f1){_0x1c7418['push'](_0x1c7418['shift']());}}}(_0x2e8f,0xeeaeb));import{View as _0x5b46b2}from'ckeditor5/src/ui.js';import _0xeae424 from'./uploadcareimageeditformloadingview.js';function _0x2e8f(){const _0x4dbe71=['2675916VniMQd','target','querySelector','121aukaoF','uc-cloud-image-editor','fire','457480aGzXUh','397074xWKsHO','_editingView','detail','ck-reset_all-excluded','12025143yZUIAN','ck-uploadcare-form','16KDvzLX','_focusableView','set','addEventListener','createCollection','focus','apply','retry','8xJKshb','add','nodeName','175HdDKvd','ready','3328116OmQQVD','render','_addUploadcareImageEditorListeners','_addErrorViewListeners','disconnect','filter','getFocusableElement','status','uploading','_loadingView','addMany','div','461622Jpgfhs','observe','_setView','cdnUrl','setTemplate','clear','cancel','addedNodes','element','toLowerCase','10Solzel','length','change:status','_items','_waitForImageEditorComponent','error','_errorView','once','14649376rCUVTg'];_0x2e8f=function(){return _0x4dbe71;};return _0x2e8f();}import _0x1770b4 from'./uploadcareimageeditformerrorview.js';import _0x555304 from'./uploadcareimageeditformeditingview.js';import _0x2daf2a from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x2daf2a{[_0x54802d(0x171)];[_0x54802d(0x161)];[_0x54802d(0x174)];[_0x54802d(0x146)];[_0x54802d(0x14c)];constructor(_0x11b1d5,_0x14a730,_0x127108){const _0x709a1e=_0x54802d;super(_0x11b1d5),this[_0x709a1e(0x171)]=this[_0x709a1e(0x14f)](),this[_0x709a1e(0x161)]=new _0xeae424(_0x11b1d5),this[_0x709a1e(0x174)]=new _0x1770b4(_0x11b1d5),this[_0x709a1e(0x146)]=new _0x555304(_0x11b1d5,_0x127108),this[_0x709a1e(0x14c)]=new _0x5b46b2(_0x11b1d5),this[_0x709a1e(0x14c)][_0x709a1e(0x168)](this[_0x709a1e(0x15e)]()),this[_0x709a1e(0x14d)](_0x709a1e(0x15f),_0x14a730),this[_0x709a1e(0x168)]({'tag':_0x709a1e(0x163),'attributes':{'class':['ck',_0x709a1e(0x148),_0x709a1e(0x14a)],'tabindex':'-1'},'children':this[_0x709a1e(0x171)]}),this[_0x709a1e(0x166)](),this[_0x709a1e(0x175)](_0x709a1e(0x159),()=>{const _0x44aa31=_0x709a1e;this[_0x44aa31(0x172)](this[_0x44aa31(0x16c)],_0x4834a6=>{const _0x55f09d=_0x44aa31;this[_0x55f09d(0x15a)](_0x4834a6);});}),this['on'](_0x709a1e(0x170),()=>{const _0x22cc1c=_0x709a1e;this[_0x22cc1c(0x166)]();}),this[_0x709a1e(0x15b)]();}[_0x54802d(0x150)](){const _0x835304=_0x54802d;this[_0x835304(0x16c)][_0x835304(0x150)]();}[_0x54802d(0x166)](){const _0x5dac72=_0x54802d;switch(this[_0x5dac72(0x171)][_0x5dac72(0x169)](),this[_0x5dac72(0x15f)]){case _0x5dac72(0x160):this[_0x5dac72(0x171)][_0x5dac72(0x154)](this[_0x5dac72(0x161)]);break;case _0x5dac72(0x173):this[_0x5dac72(0x171)][_0x5dac72(0x154)](this[_0x5dac72(0x174)]);break;case _0x5dac72(0x157):this[_0x5dac72(0x171)][_0x5dac72(0x162)]([this[_0x5dac72(0x146)],this[_0x5dac72(0x14c)]]);}}[_0x54802d(0x172)](_0x21ccaf,_0x1c1ee5){const _0x19f101=_0x54802d,_0x283e4b=_0x19f101(0x17b),_0x5ca836=_0x21ccaf[_0x19f101(0x179)](_0x283e4b);if(_0x5ca836)return _0x1c1ee5(_0x5ca836);const _0x5e90f3=new MutationObserver(_0x17b4a6=>{const _0x2e2b18=_0x19f101,_0x1eac03=_0x17b4a6[_0x2e2b18(0x15d)](_0x46e7c0=>_0x46e7c0[_0x2e2b18(0x178)]===_0x21ccaf&&_0x46e7c0[_0x2e2b18(0x16b)][_0x2e2b18(0x16f)]>0x0&&_0x46e7c0[_0x2e2b18(0x16b)][0x0][_0x2e2b18(0x155)][_0x2e2b18(0x16d)]()===_0x283e4b);_0x1eac03[_0x2e2b18(0x16f)]&&(_0x5e90f3[_0x2e2b18(0x15c)](),_0x1c1ee5(_0x1eac03[0x0][_0x2e2b18(0x16b)][0x0]));});_0x5e90f3[_0x19f101(0x165)](_0x21ccaf,{'childList':!0x0,'subtree':!0x0});}[_0x54802d(0x15a)](_0x58a4e2){const _0x30988e=_0x54802d;_0x58a4e2[_0x30988e(0x14e)](_0x30988e(0x151),_0x202620=>{const _0x23c688=_0x30988e;this[_0x23c688(0x17c)](_0x23c688(0x151),{'imageSrc':_0x202620[_0x23c688(0x147)][_0x23c688(0x167)]});}),_0x58a4e2[_0x30988e(0x14e)](_0x30988e(0x16a),()=>{const _0x4cb961=_0x30988e;this[_0x4cb961(0x17c)](_0x4cb961(0x16a));});}[_0x54802d(0x15b)](){const _0x55503b=_0x54802d;this[_0x55503b(0x174)]['on'](_0x55503b(0x152),()=>{const _0x4cd32e=_0x55503b;this[_0x4cd32e(0x17c)](_0x4cd32e(0x152));});}}
23
+ const _0x1ae707=_0x439c;(function(_0x4fc019,_0x1610d9){const _0x44b69d=_0x439c,_0x246ce6=_0x4fc019();while(!![]){try{const _0x99888b=-parseInt(_0x44b69d(0x144))/0x1+parseInt(_0x44b69d(0x132))/0x2*(-parseInt(_0x44b69d(0x134))/0x3)+-parseInt(_0x44b69d(0x125))/0x4+parseInt(_0x44b69d(0x142))/0x5*(-parseInt(_0x44b69d(0x12b))/0x6)+-parseInt(_0x44b69d(0x12d))/0x7*(parseInt(_0x44b69d(0x12c))/0x8)+-parseInt(_0x44b69d(0x122))/0x9*(parseInt(_0x44b69d(0x11e))/0xa)+-parseInt(_0x44b69d(0x112))/0xb*(-parseInt(_0x44b69d(0x119))/0xc);if(_0x99888b===_0x1610d9)break;else _0x246ce6['push'](_0x246ce6['shift']());}catch(_0x31e16a){_0x246ce6['push'](_0x246ce6['shift']());}}}(_0x46bb,0x2f529));function _0x46bb(){const _0x523d50=['observe','addedNodes','2938668grvSHK','uploading','_errorView','detail','retry','249670decQmP','div','change:status','nodeName','117skOVIh','setTemplate','uc-cloud-image-editor','1064884BSNJvj','toLowerCase','_editingView','cdnUrl','_items','_setView','18MlFCEN','8zpYtev','1732591dAcXMS','fire','render','apply','addMany','508078sjwItM','_addUploadcareImageEditorListeners','3CynRWF','once','ck-uploadcare-form','focus','set','addEventListener','_addErrorViewListeners','getFocusableElement','disconnect','clear','length','error','querySelector','element','257930TlczMk','_waitForImageEditorComponent','28399TgFOMD','status','_focusableView','ck-reset_all-excluded','add','filter','ready','66LSWZCg','cancel','target','createCollection','_loadingView'];_0x46bb=function(){return _0x523d50;};return _0x46bb();}import{View as _0x40b07f}from'ckeditor5/src/ui.js';import _0x2cd700 from'./uploadcareimageeditformloadingview.js';import _0x34290b from'./uploadcareimageeditformerrorview.js';import _0x4b7631 from'./uploadcareimageeditformeditingview.js';import _0x198f6d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x439c(_0x1022ee,_0x3a0e9b){const _0x46bbed=_0x46bb();return _0x439c=function(_0x439cec,_0x13b03a){_0x439cec=_0x439cec-0x111;let _0x13d195=_0x46bbed[_0x439cec];return _0x13d195;},_0x439c(_0x1022ee,_0x3a0e9b);}export default class Z extends _0x198f6d{[_0x1ae707(0x129)];[_0x1ae707(0x116)];[_0x1ae707(0x11b)];[_0x1ae707(0x127)];[_0x1ae707(0x146)];constructor(_0x17cfd9,_0x16d5cd,_0x48bfed){const _0x29c68c=_0x1ae707;super(_0x17cfd9),this[_0x29c68c(0x129)]=this[_0x29c68c(0x115)](),this[_0x29c68c(0x116)]=new _0x2cd700(_0x17cfd9),this[_0x29c68c(0x11b)]=new _0x34290b(_0x17cfd9),this[_0x29c68c(0x127)]=new _0x4b7631(_0x17cfd9,_0x48bfed),this[_0x29c68c(0x146)]=new _0x40b07f(_0x17cfd9),this[_0x29c68c(0x146)][_0x29c68c(0x123)](this[_0x29c68c(0x13b)]()),this[_0x29c68c(0x138)](_0x29c68c(0x145),_0x16d5cd),this[_0x29c68c(0x123)]({'tag':_0x29c68c(0x11f),'attributes':{'class':['ck',_0x29c68c(0x147),_0x29c68c(0x136)],'tabindex':'-1'},'children':this[_0x29c68c(0x129)]}),this[_0x29c68c(0x12a)](),this[_0x29c68c(0x135)](_0x29c68c(0x12f),()=>{const _0x467a7c=_0x29c68c;this[_0x467a7c(0x143)](this[_0x467a7c(0x141)],_0x2d4b1d=>{const _0x1dbfaa=_0x467a7c;this[_0x1dbfaa(0x133)](_0x2d4b1d);});}),this['on'](_0x29c68c(0x120),()=>{const _0x2ff447=_0x29c68c;this[_0x2ff447(0x12a)]();}),this[_0x29c68c(0x13a)]();}[_0x1ae707(0x137)](){const _0x29f2c2=_0x1ae707;this[_0x29f2c2(0x141)][_0x29f2c2(0x137)]();}[_0x1ae707(0x12a)](){const _0x528149=_0x1ae707;switch(this[_0x528149(0x129)][_0x528149(0x13d)](),this[_0x528149(0x145)]){case _0x528149(0x11a):this[_0x528149(0x129)][_0x528149(0x148)](this[_0x528149(0x116)]);break;case _0x528149(0x13f):this[_0x528149(0x129)][_0x528149(0x148)](this[_0x528149(0x11b)]);break;case _0x528149(0x111):this[_0x528149(0x129)][_0x528149(0x131)]([this[_0x528149(0x127)],this[_0x528149(0x146)]]);}}[_0x1ae707(0x143)](_0x350264,_0x421cb7){const _0x1209f8=_0x1ae707,_0x529271=_0x1209f8(0x124),_0x4fc04d=_0x350264[_0x1209f8(0x140)](_0x529271);if(_0x4fc04d)return _0x421cb7(_0x4fc04d);const _0x1b91e5=new MutationObserver(_0x2e0a32=>{const _0x2e8034=_0x1209f8,_0x1f5a1a=_0x2e0a32[_0x2e8034(0x149)](_0x2a2a8c=>_0x2a2a8c[_0x2e8034(0x114)]===_0x350264&&_0x2a2a8c[_0x2e8034(0x118)][_0x2e8034(0x13e)]>0x0&&_0x2a2a8c[_0x2e8034(0x118)][0x0][_0x2e8034(0x121)][_0x2e8034(0x126)]()===_0x529271);_0x1f5a1a[_0x2e8034(0x13e)]&&(_0x1b91e5[_0x2e8034(0x13c)](),_0x421cb7(_0x1f5a1a[0x0][_0x2e8034(0x118)][0x0]));});_0x1b91e5[_0x1209f8(0x117)](_0x350264,{'childList':!0x0,'subtree':!0x0});}[_0x1ae707(0x133)](_0x53d226){const _0x2d7497=_0x1ae707;_0x53d226[_0x2d7497(0x139)](_0x2d7497(0x130),_0x465f99=>{const _0x4ef5e5=_0x2d7497;this[_0x4ef5e5(0x12e)](_0x4ef5e5(0x130),{'imageSrc':_0x465f99[_0x4ef5e5(0x11c)][_0x4ef5e5(0x128)]});}),_0x53d226[_0x2d7497(0x139)](_0x2d7497(0x113),()=>{const _0x312636=_0x2d7497;this[_0x312636(0x12e)](_0x312636(0x113));});}[_0x1ae707(0x13a)](){const _0x32cda1=_0x1ae707;this[_0x32cda1(0x11b)]['on'](_0x32cda1(0x11d),()=>{const _0x21e881=_0x32cda1;this[_0x21e881(0x12e)](_0x21e881(0x11d));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf86fc0=_0x458b;(function(_0x5a129c,_0x4c25d7){const _0x2fdf96=_0x458b,_0x5f3b21=_0x5a129c();while(!![]){try{const _0x2a00ed=-parseInt(_0x2fdf96(0x1ed))/0x1*(-parseInt(_0x2fdf96(0x1f1))/0x2)+parseInt(_0x2fdf96(0x1e4))/0x3*(parseInt(_0x2fdf96(0x1ef))/0x4)+parseInt(_0x2fdf96(0x1f7))/0x5*(-parseInt(_0x2fdf96(0x1d7))/0x6)+parseInt(_0x2fdf96(0x1de))/0x7*(parseInt(_0x2fdf96(0x1f0))/0x8)+-parseInt(_0x2fdf96(0x1e9))/0x9*(-parseInt(_0x2fdf96(0x1f4))/0xa)+parseInt(_0x2fdf96(0x1ea))/0xb*(parseInt(_0x2fdf96(0x1ec))/0xc)+-parseInt(_0x2fdf96(0x1d9))/0xd;if(_0x2a00ed===_0x4c25d7)break;else _0x5f3b21['push'](_0x5f3b21['shift']());}catch(_0x3964b5){_0x5f3b21['push'](_0x5f3b21['shift']());}}}(_0x3a88,0xbf808));import{Command as _0x585f8b}from'ckeditor5/src/core.js';function _0x3a88(){const _0x22c233=['152280bUQHLs','requires','isActive','5jJNBha','config','bind','145794nsczsm','getSelectedElement','32895928SVPZJK','imageEditController','_isEditable','execute','imageBlock','49hhEYSF','model','element','isEnabled','set','plugins','291903xOBmSH','document','refresh','editor','unbind','144CkjuEl','602360vKzTBW','get','288dIjLES','470353cdTsGK','uploadcare.allowExternalImagesEditing','8edgDMw','1275776RCunYI','2yOKHVf','imageInline','selection'];_0x3a88=function(){return _0x22c233;};return _0x3a88();}function _0x458b(_0x2008b7,_0x4f6310){const _0x3a883e=_0x3a88();return _0x458b=function(_0x458ba4,_0x2e5eb1){_0x458ba4=_0x458ba4-0x1d5;let _0x4575bc=_0x3a883e[_0x458ba4];return _0x4575bc;},_0x458b(_0x2008b7,_0x4f6310);}import{Dialog as _0x1dab6f}from'ckeditor5/src/ui.js';import _0x94e223 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x42666}from'../utils/editingutils.js';export default class J extends _0x585f8b{[_0xf86fc0(0x1da)];static get[_0xf86fc0(0x1f5)](){return[_0x1dab6f];}[_0xf86fc0(0x1db)];constructor(_0x238e54){const _0x41fac7=_0xf86fc0;super(_0x238e54),this[_0x41fac7(0x1da)]=void 0x0,this[_0x41fac7(0x1db)]=_0x42666(_0x238e54[_0x41fac7(0x1d5)][_0x41fac7(0x1eb)](_0x41fac7(0x1ee))||[]),this[_0x41fac7(0x1e2)]({'isActive':!0x1});}[_0xf86fc0(0x1e6)](){const _0x1ae1eb=_0xf86fc0,_0x13c03c=this[_0x1ae1eb(0x1e7)][_0x1ae1eb(0x1df)][_0x1ae1eb(0x1e5)][_0x1ae1eb(0x1f3)][_0x1ae1eb(0x1d8)]();this[_0x1ae1eb(0x1e1)]=this[_0x1ae1eb(0x1db)](_0x13c03c);}[_0xf86fc0(0x1dc)](){const _0x208424=_0xf86fc0;this[_0x208424(0x1da)]&&(this[_0x208424(0x1e8)](_0x208424(0x1f6)),this[_0x208424(0x1da)]=void 0x0);const _0x4b9d81=this[_0x208424(0x1e7)][_0x208424(0x1df)][_0x208424(0x1e5)][_0x208424(0x1f3)][_0x208424(0x1d8)]();_0x4b9d81&&(_0x4b9d81['is'](_0x208424(0x1e0),_0x208424(0x1dd))||_0x4b9d81['is'](_0x208424(0x1e0),_0x208424(0x1f2)))&&(this[_0x208424(0x1da)]=new _0x94e223(this[_0x208424(0x1e7)],this[_0x208424(0x1e7)][_0x208424(0x1e3)][_0x208424(0x1eb)](_0x1dab6f),_0x4b9d81),this[_0x208424(0x1d6)](_0x208424(0x1f6))['to'](this[_0x208424(0x1da)],_0x208424(0x1f6)));}}
23
+ const _0x16ddb4=_0x32af;(function(_0x5e2f0d,_0x1ec6b8){const _0x2e83de=_0x32af,_0x3db0ce=_0x5e2f0d();while(!![]){try{const _0x1d9bdd=-parseInt(_0x2e83de(0xc8))/0x1*(-parseInt(_0x2e83de(0xd6))/0x2)+-parseInt(_0x2e83de(0xdc))/0x3+parseInt(_0x2e83de(0xd0))/0x4+-parseInt(_0x2e83de(0xd5))/0x5*(parseInt(_0x2e83de(0xce))/0x6)+parseInt(_0x2e83de(0xcc))/0x7*(parseInt(_0x2e83de(0xc3))/0x8)+parseInt(_0x2e83de(0xc0))/0x9+parseInt(_0x2e83de(0xca))/0xa;if(_0x1d9bdd===_0x1ec6b8)break;else _0x3db0ce['push'](_0x3db0ce['shift']());}catch(_0xc46e5e){_0x3db0ce['push'](_0x3db0ce['shift']());}}}(_0x3cf0,0x7deb6));import{Command as _0xf65bc}from'ckeditor5/src/core.js';import{Dialog as _0x10ebbd}from'ckeditor5/src/ui.js';function _0x3cf0(){const _0x2a309a=['requires','get','141055Jnwgkw','386318bJCzAD','isActive','selection','refresh','imageBlock','editor','1574592eaFMuj','set','bind','uploadcare.allowExternalImagesEditing','2522340QXzjtQ','getSelectedElement','imageEditController','266824hFjcJM','execute','_isEditable','plugins','imageInline','3iBYHxK','config','5134730OHLrza','unbind','105svPmKg','document','186cJfAqC','element','166664DdOmmV','isEnabled','model'];_0x3cf0=function(){return _0x2a309a;};return _0x3cf0();}function _0x32af(_0x1a8354,_0x43b0ba){const _0x3cf0de=_0x3cf0();return _0x32af=function(_0x32af0c,_0x29649b){_0x32af0c=_0x32af0c-0xbd;let _0x4441a2=_0x3cf0de[_0x32af0c];return _0x4441a2;},_0x32af(_0x1a8354,_0x43b0ba);}import _0x413ca9 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x341df8}from'../utils/editingutils.js';export default class J extends _0xf65bc{[_0x16ddb4(0xc2)];static get[_0x16ddb4(0xd3)](){return[_0x10ebbd];}[_0x16ddb4(0xc5)];constructor(_0x568606){const _0x33a4fc=_0x16ddb4;super(_0x568606),this[_0x33a4fc(0xc2)]=void 0x0,this[_0x33a4fc(0xc5)]=_0x341df8(_0x568606[_0x33a4fc(0xc9)][_0x33a4fc(0xd4)](_0x33a4fc(0xbf))||[]),this[_0x33a4fc(0xbd)]({'isActive':!0x1});}[_0x16ddb4(0xd9)](){const _0x342d7e=_0x16ddb4,_0x2c7397=this[_0x342d7e(0xdb)][_0x342d7e(0xd2)][_0x342d7e(0xcd)][_0x342d7e(0xd8)][_0x342d7e(0xc1)]();this[_0x342d7e(0xd1)]=this[_0x342d7e(0xc5)](_0x2c7397);}[_0x16ddb4(0xc4)](){const _0x17bb2b=_0x16ddb4;this[_0x17bb2b(0xc2)]&&(this[_0x17bb2b(0xcb)](_0x17bb2b(0xd7)),this[_0x17bb2b(0xc2)]=void 0x0);const _0x2eabf2=this[_0x17bb2b(0xdb)][_0x17bb2b(0xd2)][_0x17bb2b(0xcd)][_0x17bb2b(0xd8)][_0x17bb2b(0xc1)]();_0x2eabf2&&(_0x2eabf2['is'](_0x17bb2b(0xcf),_0x17bb2b(0xda))||_0x2eabf2['is'](_0x17bb2b(0xcf),_0x17bb2b(0xc7)))&&(this[_0x17bb2b(0xc2)]=new _0x413ca9(this[_0x17bb2b(0xdb)],this[_0x17bb2b(0xdb)][_0x17bb2b(0xc6)][_0x17bb2b(0xd4)](_0x10ebbd),_0x2eabf2),this[_0x17bb2b(0xbe)](_0x17bb2b(0xd7))['to'](this[_0x17bb2b(0xc2)],_0x17bb2b(0xd7)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x220bbf=_0x16ef;function _0x16ef(_0x561fe,_0x3c50e){const _0x209412=_0x2094();return _0x16ef=function(_0x16ef9c,_0x4d3e33){_0x16ef9c=_0x16ef9c-0x1e2;let _0xbbe911=_0x209412[_0x16ef9c];return _0xbbe911;},_0x16ef(_0x561fe,_0x3c50e);}(function(_0x1e4f12,_0x4c7bcf){const _0x416a87=_0x16ef,_0x340afe=_0x1e4f12();while(!![]){try{const _0x2110c8=parseInt(_0x416a87(0x1e5))/0x1*(parseInt(_0x416a87(0x1e9))/0x2)+-parseInt(_0x416a87(0x1f0))/0x3+-parseInt(_0x416a87(0x1e4))/0x4*(parseInt(_0x416a87(0x1f8))/0x5)+-parseInt(_0x416a87(0x1ee))/0x6*(parseInt(_0x416a87(0x1f5))/0x7)+-parseInt(_0x416a87(0x1f6))/0x8+parseInt(_0x416a87(0x1e6))/0x9*(-parseInt(_0x416a87(0x1eb))/0xa)+-parseInt(_0x416a87(0x1e7))/0xb*(-parseInt(_0x416a87(0x1e8))/0xc);if(_0x2110c8===_0x4c7bcf)break;else _0x340afe['push'](_0x340afe['shift']());}catch(_0x391123){_0x340afe['push'](_0x340afe['shift']());}}}(_0x2094,0xc10cc));import{Plugin as _0x1b3b7f}from'ckeditor5/src/core.js';import{Notification as _0x4a86c0}from'ckeditor5/src/ui.js';import _0x595416 from'./uploadcareimageeditcommand.js';function _0x2094(){const _0x5d2c3d=['175gmIZKD','init','isPremiumPlugin','uploadcareImageEdit','80232qukddc','1124kBqCmF','8718291VptLiq','11SRuQAM','51627912dRvkYA','1308IAKqIt','requires','10bFUUvH','isOfficialPlugin','uploadcareImageReplace','437556YAGFVv','add','839364fvjiOp','ImageUtils','commands','pluginName','ImageEditing','147WPryhD','6117816DkpmVV','UploadcareImageEditEditing'];_0x2094=function(){return _0x5d2c3d;};return _0x2094();}import _0x28fef8 from'./uploadcareimagereplacecommand.js';import _0x24faec from'../uploadcareediting.js';export default class g extends _0x1b3b7f{static get[_0x220bbf(0x1f3)](){const _0x486cc9=_0x220bbf;return _0x486cc9(0x1f7);}static get[_0x220bbf(0x1ea)](){const _0x5a7f56=_0x220bbf;return[_0x24faec,_0x4a86c0,_0x5a7f56(0x1f1),_0x5a7f56(0x1f4)];}static get[_0x220bbf(0x1ec)](){return!0x0;}static get[_0x220bbf(0x1e2)](){return!0x0;}[_0x220bbf(0x1f9)](){const _0x348eaf=_0x220bbf,{editor:_0x1d097b}=this;_0x1d097b[_0x348eaf(0x1f2)][_0x348eaf(0x1ef)](_0x348eaf(0x1e3),new _0x595416(_0x1d097b)),_0x1d097b[_0x348eaf(0x1f2)][_0x348eaf(0x1ef)](_0x348eaf(0x1ed),new _0x28fef8(_0x1d097b));}}
23
+ const _0x52a5c2=_0x2d32;(function(_0x4c13bb,_0x3c466c){const _0xe2b28e=_0x2d32,_0x119b67=_0x4c13bb();while(!![]){try{const _0x1eb085=-parseInt(_0xe2b28e(0x95))/0x1*(-parseInt(_0xe2b28e(0x99))/0x2)+-parseInt(_0xe2b28e(0x98))/0x3*(-parseInt(_0xe2b28e(0xac))/0x4)+-parseInt(_0xe2b28e(0xa3))/0x5*(-parseInt(_0xe2b28e(0xab))/0x6)+-parseInt(_0xe2b28e(0x9a))/0x7*(-parseInt(_0xe2b28e(0x9c))/0x8)+parseInt(_0xe2b28e(0x97))/0x9+-parseInt(_0xe2b28e(0xa7))/0xa+-parseInt(_0xe2b28e(0xa1))/0xb*(parseInt(_0xe2b28e(0x9f))/0xc);if(_0x1eb085===_0x3c466c)break;else _0x119b67['push'](_0x119b67['shift']());}catch(_0x4d5a77){_0x119b67['push'](_0x119b67['shift']());}}}(_0x5792,0x75dcc));import{Plugin as _0x50fa62}from'ckeditor5/src/core.js';import{Notification as _0x591b98}from'ckeditor5/src/ui.js';import _0x487b6d from'./uploadcareimageeditcommand.js';import _0x59685f from'./uploadcareimagereplacecommand.js';function _0x5792(){const _0x34ba96=['isPremiumPlugin','82184QrRzYh','add','ImageEditing','51132RiulVS','uploadcareImageEdit','7832GqXejC','requires','5305JVVmqc','ImageUtils','pluginName','isOfficialPlugin','4980820IvoPqg','init','UploadcareImageEditEditing','commands','5322vaqnbP','6188BBirHQ','8pzAmNm','uploadcareImageReplace','5600781cHjLqp','1311bQbqJx','220368pBiVqN','609hObNIg'];_0x5792=function(){return _0x34ba96;};return _0x5792();}function _0x2d32(_0x174f3d,_0x5519f6){const _0x579229=_0x5792();return _0x2d32=function(_0x2d3222,_0xfbea25){_0x2d3222=_0x2d3222-0x95;let _0x36a746=_0x579229[_0x2d3222];return _0x36a746;},_0x2d32(_0x174f3d,_0x5519f6);}import _0x58a132 from'../uploadcareediting.js';export default class g extends _0x50fa62{static get[_0x52a5c2(0xa5)](){const _0x3f9e14=_0x52a5c2;return _0x3f9e14(0xa9);}static get[_0x52a5c2(0xa2)](){const _0x385ef3=_0x52a5c2;return[_0x58a132,_0x591b98,_0x385ef3(0xa4),_0x385ef3(0x9e)];}static get[_0x52a5c2(0xa6)](){return!0x0;}static get[_0x52a5c2(0x9b)](){return!0x0;}[_0x52a5c2(0xa8)](){const _0x5031d9=_0x52a5c2,{editor:_0x4d5dd9}=this;_0x4d5dd9[_0x5031d9(0xaa)][_0x5031d9(0x9d)](_0x5031d9(0xa0),new _0x487b6d(_0x4d5dd9)),_0x4d5dd9[_0x5031d9(0xaa)][_0x5031d9(0x9d)](_0x5031d9(0x96),new _0x59685f(_0x4d5dd9));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xaf527f}from'ckeditor5/src/core.js';import{ButtonView as _0x59574e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x522b1f}from'ckeditor5/src/icons.js';import{createElement as _0x1960c1}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0xaf527f{['_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 _0x2335af=this['editor'];_0x2335af['ui']['componentFactory']['add']('uploadcareImageEdit',_0xf2ff5e=>{const _0x77650e=_0x2335af['commands']['get']('uploadcareImageEdit'),_0x598da4=new _0x59574e(_0xf2ff5e),t=_0xf2ff5e['t'];return _0x598da4['set']({'icon':_0x522b1f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x598da4['bind']('isEnabled')['to'](_0x77650e),_0x598da4['bind']('isOn')['to'](_0x77650e,'isActive'),this['listenTo'](_0x598da4,'execute',()=>{_0x2335af['execute']('uploadcareImageEdit'),_0x2335af['editing']['view']['focus']();}),_0x598da4;}),this['_initConfig']();}['_initConfig'](){const _0x458950=_0x1960c1(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x458950),this['listenTo'](this['editor'],'destroy',()=>{_0x458950['remove']();});}}
23
+ import{Plugin as _0x4e49fc}from'ckeditor5/src/core.js';import{ButtonView as _0x1f8b9a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3581df}from'ckeditor5/src/icons.js';import{createElement as _0x217118}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x4e49fc{['_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 _0xcfeb6=this['editor'];_0xcfeb6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x192820=>{const _0x22b88b=_0xcfeb6['commands']['get']('uploadcareImageEdit'),_0x55949f=new _0x1f8b9a(_0x192820),t=_0x192820['t'];return _0x55949f['set']({'icon':_0x3581df,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55949f['bind']('isEnabled')['to'](_0x22b88b),_0x55949f['bind']('isOn')['to'](_0x22b88b,'isActive'),this['listenTo'](_0x55949f,'execute',()=>{_0xcfeb6['execute']('uploadcareImageEdit'),_0xcfeb6['editing']['view']['focus']();}),_0x55949f;}),this['_initConfig']();}['_initConfig'](){const _0x2fd1d0=_0x217118(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2fd1d0),this['listenTo'](this['editor'],'destroy',()=>{_0x2fd1d0['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59e3c1=_0x4129;(function(_0x583885,_0x891183){const _0x2e09ec=_0x4129,_0x103cf2=_0x583885();while(!![]){try{const _0x1961b6=parseInt(_0x2e09ec(0xae))/0x1*(-parseInt(_0x2e09ec(0xac))/0x2)+-parseInt(_0x2e09ec(0xb3))/0x3+parseInt(_0x2e09ec(0xb7))/0x4+-parseInt(_0x2e09ec(0xbf))/0x5*(-parseInt(_0x2e09ec(0xaa))/0x6)+-parseInt(_0x2e09ec(0xc0))/0x7*(-parseInt(_0x2e09ec(0xb6))/0x8)+-parseInt(_0x2e09ec(0xb1))/0x9+parseInt(_0x2e09ec(0xaf))/0xa;if(_0x1961b6===_0x891183)break;else _0x103cf2['push'](_0x103cf2['shift']());}catch(_0x2efd37){_0x103cf2['push'](_0x103cf2['shift']());}}}(_0x19ff,0x65ee8));function _0x4129(_0x1f372e,_0x3e0b7a){const _0x19ffeb=_0x19ff();return _0x4129=function(_0x41295b,_0x4e332c){_0x41295b=_0x41295b-0xa8;let _0x411237=_0x19ffeb[_0x41295b];return _0x411237;},_0x4129(_0x1f372e,_0x3e0b7a);}function _0x19ff(){const _0x3d9496=['8KzsHAj','537896VokEut','refresh','setAttributes','change','element','sizes','model','srcset','5dFkoDF','5126219awGQSw','removeAttribute','imageBlock','execute','2500098RdQbzi','imageInline','2zQTvuG','editor','625567qaaOLE','7357020ZcljzI','isEnabled','6144462GVnRaa','selection','880137bMXAGE','getSelectedElement','document'];_0x19ff=function(){return _0x3d9496;};return _0x19ff();}import{Command as _0x3f6bb2}from'ckeditor5/src/core.js';export default class O extends _0x3f6bb2{[_0x59e3c1(0xb8)](){const _0x4dca3a=_0x59e3c1,_0x4d28ad=this[_0x4dca3a(0xad)][_0x4dca3a(0xbd)][_0x4dca3a(0xb5)][_0x4dca3a(0xb2)][_0x4dca3a(0xb4)]();this[_0x4dca3a(0xb0)]=Boolean(_0x4d28ad&&(_0x4d28ad['is'](_0x4dca3a(0xbb),_0x4dca3a(0xa8))||_0x4d28ad['is'](_0x4dca3a(0xbb),_0x4dca3a(0xab))));}[_0x59e3c1(0xa9)](_0x509390){const _0x12acb9=_0x59e3c1,_0x554b35=this[_0x12acb9(0xad)][_0x12acb9(0xbd)][_0x12acb9(0xb5)][_0x12acb9(0xb2)][_0x12acb9(0xb4)]();this[_0x12acb9(0xad)][_0x12acb9(0xbd)][_0x12acb9(0xba)](_0x27ace5=>{const _0x46b4ec=_0x12acb9;_0x27ace5[_0x46b4ec(0xb9)](_0x509390,_0x554b35),_0x27ace5[_0x46b4ec(0xc1)](_0x46b4ec(0xbe),_0x554b35),_0x27ace5[_0x46b4ec(0xc1)](_0x46b4ec(0xbc),_0x554b35);});}}
23
+ const _0x4d1677=_0x2c76;(function(_0xbbe555,_0x3c3b1a){const _0x183269=_0x2c76,_0x5c4d36=_0xbbe555();while(!![]){try{const _0x4541d0=parseInt(_0x183269(0xc6))/0x1*(parseInt(_0x183269(0xc1))/0x2)+-parseInt(_0x183269(0xc2))/0x3+-parseInt(_0x183269(0xd0))/0x4*(parseInt(_0x183269(0xce))/0x5)+parseInt(_0x183269(0xc5))/0x6+-parseInt(_0x183269(0xcc))/0x7+parseInt(_0x183269(0xc7))/0x8+parseInt(_0x183269(0xd1))/0x9*(-parseInt(_0x183269(0xd6))/0xa);if(_0x4541d0===_0x3c3b1a)break;else _0x5c4d36['push'](_0x5c4d36['shift']());}catch(_0x2e4747){_0x5c4d36['push'](_0x5c4d36['shift']());}}}(_0x3d32,0x3df1b));import{Command as _0x154339}from'ckeditor5/src/core.js';function _0x2c76(_0x58887a,_0x5a4a71){const _0x3d32bd=_0x3d32();return _0x2c76=function(_0x2c76d0,_0x45541e){_0x2c76d0=_0x2c76d0-0xbf;let _0x38de20=_0x3d32bd[_0x2c76d0];return _0x38de20;},_0x2c76(_0x58887a,_0x5a4a71);}export default class O extends _0x154339{[_0x4d1677(0xc4)](){const _0x1f3136=_0x4d1677,_0x29d55c=this[_0x1f3136(0xc0)][_0x1f3136(0xd5)][_0x1f3136(0xca)][_0x1f3136(0xcd)][_0x1f3136(0xcb)]();this[_0x1f3136(0xcf)]=Boolean(_0x29d55c&&(_0x29d55c['is'](_0x1f3136(0xc3),_0x1f3136(0xc9))||_0x29d55c['is'](_0x1f3136(0xc3),_0x1f3136(0xd2))));}[_0x4d1677(0xd8)](_0xe1154c){const _0x109e06=_0x4d1677,_0x25dba2=this[_0x109e06(0xc0)][_0x109e06(0xd5)][_0x109e06(0xca)][_0x109e06(0xcd)][_0x109e06(0xcb)]();this[_0x109e06(0xc0)][_0x109e06(0xd5)][_0x109e06(0xd4)](_0x56c43b=>{const _0x304052=_0x109e06;_0x56c43b[_0x304052(0xc8)](_0xe1154c,_0x25dba2),_0x56c43b[_0x304052(0xbf)](_0x304052(0xd7),_0x25dba2),_0x56c43b[_0x304052(0xbf)](_0x304052(0xd3),_0x25dba2);});}}function _0x3d32(){const _0x4a94b5=['editor','538326hXQCeh','341112rIrXcx','element','refresh','2054298uMVKRD','1jfhxGv','3827512ofbHdz','setAttributes','imageBlock','document','getSelectedElement','8176kRkpOH','selection','70fqSLor','isEnabled','81508lKSPuu','873VhszJg','imageInline','sizes','change','model','44960lQGfIT','srcset','execute','removeAttribute'];_0x3d32=function(){return _0x4a94b5;};return _0x3d32();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f68(){var _0x24b705=['requires','1170354zxGqxM','27plyNxA','4CkuKIb','1996968SjYcfn','239037DBftIT','13HpxvRk','358930GHDBTF','5aoQXIt','850662VFhmLm','46018xZyiZe','UploadcareImageEdit','isOfficialPlugin','9551542plTlBE','2NkJIac','33DRWppO','isPremiumPlugin','pluginName','32JKdfBg'];_0x4f68=function(){return _0x24b705;};return _0x4f68();}var _0x2e6446=_0x4f8c;(function(_0x2751d8,_0x46d0a6){var _0x4be406=_0x4f8c,_0x46e561=_0x2751d8();while(!![]){try{var _0x2f06ca=-parseInt(_0x4be406(0x1a5))/0x1*(-parseInt(_0x4be406(0x19b))/0x2)+-parseInt(_0x4be406(0x1a9))/0x3*(-parseInt(_0x4be406(0x1a3))/0x4)+parseInt(_0x4be406(0x1a8))/0x5*(-parseInt(_0x4be406(0x1a1))/0x6)+parseInt(_0x4be406(0x1aa))/0x7*(parseInt(_0x4be406(0x19f))/0x8)+-parseInt(_0x4be406(0x1a2))/0x9*(-parseInt(_0x4be406(0x1a7))/0xa)+parseInt(_0x4be406(0x19c))/0xb*(parseInt(_0x4be406(0x1a4))/0xc)+-parseInt(_0x4be406(0x1a6))/0xd*(parseInt(_0x4be406(0x19a))/0xe);if(_0x2f06ca===_0x46d0a6)break;else _0x46e561['push'](_0x46e561['shift']());}catch(_0x457ce1){_0x46e561['push'](_0x46e561['shift']());}}}(_0x4f68,0x43fe0));import{Plugin as _0x2982ed}from'ckeditor5/src/core.js';import _0x8abc74 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4aa266 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4f8c(_0x26460f,_0x3aad3a){var _0x4f689a=_0x4f68();return _0x4f8c=function(_0x4f8c8d,_0x15493c){_0x4f8c8d=_0x4f8c8d-0x198;var _0x2d2cc1=_0x4f689a[_0x4f8c8d];return _0x2d2cc1;},_0x4f8c(_0x26460f,_0x3aad3a);}export default class P extends _0x2982ed{static get[_0x2e6446(0x19e)](){var _0x482989=_0x2e6446;return _0x482989(0x198);}static get[_0x2e6446(0x1a0)](){return[_0x8abc74,_0x4aa266];}static get[_0x2e6446(0x199)](){return!0x0;}static get[_0x2e6446(0x19d)](){return!0x0;}}
23
+ var _0x30f312=_0x8ee5;(function(_0x5e274c,_0x4fc319){var _0x2ab4f2=_0x8ee5,_0x2957b0=_0x5e274c();while(!![]){try{var _0x472c3c=-parseInt(_0x2ab4f2(0x123))/0x1*(-parseInt(_0x2ab4f2(0x11d))/0x2)+-parseInt(_0x2ab4f2(0x122))/0x3+parseInt(_0x2ab4f2(0x11b))/0x4*(parseInt(_0x2ab4f2(0x117))/0x5)+-parseInt(_0x2ab4f2(0x119))/0x6+-parseInt(_0x2ab4f2(0x121))/0x7*(-parseInt(_0x2ab4f2(0x118))/0x8)+-parseInt(_0x2ab4f2(0x11f))/0x9+parseInt(_0x2ab4f2(0x11a))/0xa;if(_0x472c3c===_0x4fc319)break;else _0x2957b0['push'](_0x2957b0['shift']());}catch(_0x162b9e){_0x2957b0['push'](_0x2957b0['shift']());}}}(_0x58d6,0x7101e));import{Plugin as _0x1c5141}from'ckeditor5/src/core.js';import _0x44f9a0 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x8ee5(_0x4b5332,_0xd38025){var _0x58d62b=_0x58d6();return _0x8ee5=function(_0x8ee5f6,_0x5cebef){_0x8ee5f6=_0x8ee5f6-0x116;var _0x5e96c8=_0x58d62b[_0x8ee5f6];return _0x5e96c8;},_0x8ee5(_0x4b5332,_0xd38025);}import _0x5c4490 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x58d6(){var _0x59ad5c=['requires','5PmFefu','1123208AGaiDD','3688032qgyTyH','117580QpnHaR','3582548vRVmXw','isOfficialPlugin','72328wDZxZP','UploadcareImageEdit','1915047tuGHfK','isPremiumPlugin','7gkTZAF','1984689aQGapb','25ckgaTy','pluginName'];_0x58d6=function(){return _0x59ad5c;};return _0x58d6();}export default class P extends _0x1c5141{static get[_0x30f312(0x124)](){var _0x402f23=_0x30f312;return _0x402f23(0x11e);}static get[_0x30f312(0x116)](){return[_0x44f9a0,_0x5c4490];}static get[_0x30f312(0x11c)](){return!0x0;}static get[_0x30f312(0x120)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24bae5=_0x1679;function _0xd05e(){const _0x10fed4=['uploadcareLicenseKeyInvalid','pluginName','forEach','label','2nUsIem','_createMenuBarButtons','entries','tooltip','shortText','featureNotAllowed','Uploadcare','url','6npBCsz','30312fnVmUX','trialLimit','UploadcareUI','licenseKey','isOfficialPlugin','uploadcare.uploader.sourceList','uploadcareLicenseKeyTrialLimit','has','get','_createToolbarButton','evaluationLimit','GPhotos','Insert','_normalizeConfigSourceList','_createButton','Replace','_createDropdownButtons','1688754YzWBrW','push','URL','locale','destroy','domainLimit','Facebook','1023gwmwrJ','_getIntegrationKey','403544oWPCoQ','2382855vyxoiU','uploadcareLicenseKeyEvaluationLimit','invalid','icon','expired','uploadcareLicenseKeyNotAllowed','isImageSelected','ImageInsertUI','config','uploadcare','isEnabled','init','203170HCOhqH','_licenseKeyCheckInterval','usageLimit','_showLicenseError','uploadcareLicenseKeyUsageLimit','withText','type','commands','afterInit','isPremiumPlugin','Local','7745655Xoyxlu','text','OneDrive','uploadcareLicenseKeyDomainLimit','plugins','reduce','execute','upload','assetManager','5289914BWAqLQ','uploadcareLicenseKeyExpired','GDrive','Dropbox','map','editor','registerIntegration','bind','2248zwqPDh','uploadcareLicenseKeyValid'];_0xd05e=function(){return _0x10fed4;};return _0xd05e();}function _0x1679(_0x104b4e,_0x3cc1ce){const _0xd05e1f=_0xd05e();return _0x1679=function(_0x167987,_0x106334){_0x167987=_0x167987-0x8b;let _0x23ee5b=_0xd05e1f[_0x167987];return _0x23ee5b;},_0x1679(_0x104b4e,_0x3cc1ce);}(function(_0xa38c6f,_0x3942cf){const _0x294bbd=_0x1679,_0x3e50e3=_0xa38c6f();while(!![]){try{const _0x578600=parseInt(_0x294bbd(0xbf))/0x1+parseInt(_0x294bbd(0xa5))/0x2*(-parseInt(_0x294bbd(0xc9))/0x3)+parseInt(_0x294bbd(0xc8))/0x4+parseInt(_0x294bbd(0x8e))/0x5+parseInt(_0x294bbd(0xad))/0x6*(-parseInt(_0x294bbd(0x97))/0x7)+parseInt(_0x294bbd(0x9f))/0x8*(parseInt(_0x294bbd(0xae))/0x9)+parseInt(_0x294bbd(0xd5))/0xa*(-parseInt(_0x294bbd(0xc6))/0xb);if(_0x578600===_0x3942cf)break;else _0x3e50e3['push'](_0x3e50e3['shift']());}catch(_0xcc5892){_0x3e50e3['push'](_0x3e50e3['shift']());}}}(_0xd05e,0xce78f));import{Plugin as _0x4de633}from'ckeditor5/src/core.js';import{IconDropbox as _0x737007,IconFacebook as _0x5e3e1c,IconGoogleDrive as _0x54bc2f,IconGooglePhotos as _0x2eca30,IconUploadcareImageUpload as _0x5ae362,IconUploadcareLink as _0x37b5e8,IconOneDrive as _0x5bb972}from'ckeditor5/src/icons.js';import{ButtonView as _0x13e67d,MenuBarMenuListItemButtonView as _0x2a9fcd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4e00e3}from'./uploadcareconfig.js';import{getTranslation as _0x12a233}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 default class e extends _0x4de633{[_0x24bae5(0xb1)];[_0x24bae5(0xd6)];static get[_0x24bae5(0xa2)](){const _0x5b94f9=_0x24bae5;return _0x5b94f9(0xb0);}static get[_0x24bae5(0xb2)](){return!0x0;}static get[_0x24bae5(0x8c)](){return!0x0;}[_0x24bae5(0xd4)](){const _0x29383b=_0x24bae5;this[_0x29383b(0xb1)]=this[_0x29383b(0x9c)][_0x29383b(0xd1)][_0x29383b(0xb6)](_0x29383b(0xb1));const _0x37e911=this[_0x29383b(0x9c)];this[_0x29383b(0xd6)]=setInterval(()=>{const _0x339e8a=_0x29383b;let _0x267e71;for(const _0x36682f in _0x37e911){const _0xbc8373=_0x36682f,_0x352c01=_0x37e911[_0xbc8373];if(_0x339e8a(0xa0)==_0x352c01||_0x339e8a(0xa1)==_0x352c01||_0x339e8a(0x98)==_0x352c01||_0x339e8a(0x91)==_0x352c01||_0x339e8a(0xce)==_0x352c01||_0x339e8a(0xca)==_0x352c01||_0x339e8a(0xb4)==_0x352c01||_0x339e8a(0xd9)==_0x352c01){delete _0x37e911[_0xbc8373],_0x267e71=_0x352c01,clearInterval(this[_0x339e8a(0xd6)]),this[_0x339e8a(0xd6)]=void 0x0;break;}}_0x339e8a(0xa1)==_0x267e71&&_0x37e911[_0x339e8a(0xd8)](_0x339e8a(0xcb)),_0x339e8a(0x98)==_0x267e71&&_0x37e911[_0x339e8a(0xd8)](_0x339e8a(0xcd)),_0x339e8a(0x91)==_0x267e71&&_0x37e911[_0x339e8a(0xd8)](_0x339e8a(0xc4)),_0x339e8a(0xce)==_0x267e71&&_0x37e911[_0x339e8a(0xd8)](_0x339e8a(0xaa),_0x339e8a(0xab)),_0x339e8a(0xca)==_0x267e71&&_0x37e911[_0x339e8a(0xd8)](_0x339e8a(0xb8)),_0x339e8a(0xb4)==_0x267e71&&_0x37e911[_0x339e8a(0xd8)](_0x339e8a(0xaf)),_0x339e8a(0xd9)==_0x267e71&&_0x37e911[_0x339e8a(0xd8)](_0x339e8a(0xd7));},0x3e8);}[_0x24bae5(0x8b)](){const _0x5dc97c=_0x24bae5,{editor:_0x246b10}=this,_0x1975fe=_0x246b10[_0x5dc97c(0xdc)][_0x5dc97c(0xb6)](_0x5dc97c(0xd2));if(!_0x1975fe)return;const _0x3df7d1=this[_0x5dc97c(0xbb)](_0x246b10[_0x5dc97c(0xd1)][_0x5dc97c(0xb6)](_0x5dc97c(0xb3)))[_0x5dc97c(0x93)]((_0xd275b8,_0x1bc758)=>{const _0x10cafe=_0x5dc97c,_0x23b78c=this[_0x10cafe(0xc7)](_0x1bc758[_0x10cafe(0xdb)]);return _0xd275b8[_0x23b78c]||(_0xd275b8[_0x23b78c]=[]),_0xd275b8[_0x23b78c][_0x10cafe(0xc0)](_0x1bc758),_0xd275b8;},{});_0x246b10[_0x5dc97c(0x92)][_0x5dc97c(0xb5)](_0x5dc97c(0xd0))&&_0x246b10[_0x5dc97c(0xdc)][_0x5dc97c(0xb6)](_0x5dc97c(0xd2))&&Object[_0x5dc97c(0xa7)](_0x3df7d1)[_0x5dc97c(0xa3)](([_0x1bc9c3,_0x5b9617])=>{const _0x4b369c=_0x5dc97c;_0x246b10[_0x4b369c(0x92)][_0x4b369c(0xb6)](_0x4b369c(0xd0))[_0x4b369c(0x9d)]({'name':_0x1bc9c3,'observable':()=>_0x1975fe,'buttonViewCreator':()=>this[_0x4b369c(0xb7)](_0x5b9617),'formViewCreator':()=>this[_0x4b369c(0xbe)](_0x5b9617),'menuBarButtonViewCreator':()=>this[_0x4b369c(0xa6)](_0x5b9617),'override':_0x4b369c(0x96)!==_0x1bc9c3});});}[_0x24bae5(0xc3)](){const _0x456221=_0x24bae5;super[_0x456221(0xc3)](),this[_0x456221(0xd6)]&&clearInterval(this[_0x456221(0xd6)]);}[_0x24bae5(0xbb)](_0x9c4f07){const _0x13ce49=_0x24bae5,{locale:_0x5193e0}=this[_0x13ce49(0x9c)];return _0x9c4f07[_0x13ce49(0x9b)](_0x64cd33=>{const _0x7e2416=_0x13ce49,_0x39906b=_0x12a233(_0x5193e0,_0x64cd33,_0x7e2416(0xba));switch(_0x64cd33){case _0x4e00e3[_0x7e2416(0x8d)]:return{'icon':_0x5ae362,'type':_0x4e00e3[_0x7e2416(0x8d)],..._0x39906b};case _0x4e00e3[_0x7e2416(0xc1)]:return{'icon':_0x37b5e8,'type':_0x4e00e3[_0x7e2416(0xc1)],..._0x39906b};case _0x4e00e3[_0x7e2416(0x9a)]:return{'icon':_0x737007,'type':_0x4e00e3[_0x7e2416(0x9a)],..._0x39906b};case _0x4e00e3[_0x7e2416(0xc5)]:return{'icon':_0x5e3e1c,'type':_0x4e00e3[_0x7e2416(0xc5)],..._0x39906b};case _0x4e00e3[_0x7e2416(0x99)]:return{'icon':_0x54bc2f,'type':_0x4e00e3[_0x7e2416(0x99)],..._0x39906b};case _0x4e00e3[_0x7e2416(0xb9)]:return{'icon':_0x2eca30,'type':_0x4e00e3[_0x7e2416(0xb9)],..._0x39906b};case _0x4e00e3[_0x7e2416(0x90)]:return{'icon':_0x5bb972,'type':_0x4e00e3[_0x7e2416(0x90)],..._0x39906b};}});}[_0x24bae5(0xc7)](_0x3ea2d5){const _0x57df32=_0x24bae5;switch(_0x3ea2d5){case _0x4e00e3[_0x57df32(0x8d)]:return _0x57df32(0x95);case _0x4e00e3[_0x57df32(0xc1)]:return _0x57df32(0xac);default:return _0x57df32(0x96);}}[_0x24bae5(0xbc)](_0x300977,_0x4395af){const _0x121e01=_0x24bae5,_0x812247=this[_0x121e01(0x9c)],_0xef8dda=new _0x300977(_0x812247[_0x121e01(0xc2)]),_0x51fccb=_0x812247[_0x121e01(0xdc)][_0x121e01(0xb6)](_0x121e01(0xd2));return _0xef8dda[_0x121e01(0x9e)](_0x121e01(0xd3))['to'](_0x51fccb),_0xef8dda['on'](_0x121e01(0x94),()=>{const _0x350487=_0x121e01;_0x51fccb[_0x350487(0x94)](_0x4395af);}),_0xef8dda;}[_0x24bae5(0xb7)](_0xbede2c){const _0x411412=_0x24bae5,{locale:_0xd8b3a1}=this[_0x411412(0x9c)],_0x420b30=this[_0x411412(0x9c)][_0x411412(0x92)][_0x411412(0xb6)](_0x411412(0xd0)),_0x515871=_0xbede2c[0x0],_0x523f38=this[_0x411412(0xbc)](_0x13e67d,_0x515871[_0x411412(0xdb)]);return _0x523f38[_0x411412(0xcc)]=_0x515871[_0x411412(0xcc)],_0x523f38[_0x411412(0x9e)](_0x411412(0xa4))['to'](_0x420b30,_0x411412(0xcf),_0x2128b0=>_0x12a233(_0xd8b3a1,_0x515871[_0x411412(0xdb)],_0x2128b0?_0x411412(0xbd):_0x411412(0xba))[_0x411412(0x8f)]),_0x523f38[_0x411412(0xa8)]=!0x0,_0x523f38;}[_0x24bae5(0xbe)](_0x2441b5){const _0x5a9498=_0x24bae5,{locale:_0x1f6d30}=this[_0x5a9498(0x9c)],_0x568df0=this[_0x5a9498(0x9c)][_0x5a9498(0x92)][_0x5a9498(0xb6)](_0x5a9498(0xd0));return _0x2441b5[_0x5a9498(0x9b)](_0x3fe211=>{const _0x9082f7=_0x5a9498,_0x10bb62=this[_0x9082f7(0xbc)](_0x13e67d,_0x3fe211[_0x9082f7(0xdb)]);return _0x10bb62[_0x9082f7(0xda)]=!0x0,_0x10bb62[_0x9082f7(0xcc)]=_0x3fe211[_0x9082f7(0xcc)],_0x10bb62[_0x9082f7(0x9e)](_0x9082f7(0xa4))['to'](_0x568df0,_0x9082f7(0xcf),_0x3bfb1f=>_0x12a233(_0x1f6d30,_0x3fe211[_0x9082f7(0xdb)],_0x3bfb1f?_0x9082f7(0xbd):_0x9082f7(0xba))[_0x9082f7(0x8f)]),_0x10bb62;});}[_0x24bae5(0xa6)](_0x5a190e){const _0x442fc3=_0x24bae5;return _0x5a190e[_0x442fc3(0x9b)](_0x362d37=>{const _0x5f4fbf=_0x442fc3,_0x46d446=this[_0x5f4fbf(0xbc)](_0x2a9fcd,_0x362d37[_0x5f4fbf(0xdb)]);return _0x46d446[_0x5f4fbf(0xcc)]=_0x362d37[_0x5f4fbf(0xcc)],_0x46d446[_0x5f4fbf(0xa4)]=_0x362d37[_0x5f4fbf(0xa9)],_0x46d446;});}}
23
+ const _0x5dce42=_0x1668;(function(_0x44dbf6,_0x1646c1){const _0x2b76c2=_0x1668,_0x38afa7=_0x44dbf6();while(!![]){try{const _0x432a2e=-parseInt(_0x2b76c2(0xcb))/0x1+-parseInt(_0x2b76c2(0xca))/0x2+parseInt(_0x2b76c2(0xac))/0x3*(parseInt(_0x2b76c2(0xdb))/0x4)+parseInt(_0x2b76c2(0xee))/0x5*(parseInt(_0x2b76c2(0xdc))/0x6)+parseInt(_0x2b76c2(0xe3))/0x7*(-parseInt(_0x2b76c2(0xcc))/0x8)+parseInt(_0x2b76c2(0xe5))/0x9+parseInt(_0x2b76c2(0xe7))/0xa*(-parseInt(_0x2b76c2(0xc4))/0xb);if(_0x432a2e===_0x1646c1)break;else _0x38afa7['push'](_0x38afa7['shift']());}catch(_0x197926){_0x38afa7['push'](_0x38afa7['shift']());}}}(_0x1539,0xed52e));import{Plugin as _0x1d16e}from'ckeditor5/src/core.js';import{IconDropbox as _0x480ab9,IconFacebook as _0x2e7bc4,IconGoogleDrive as _0x2eb8fa,IconGooglePhotos as _0x10945b,IconUploadcareImageUpload as _0x5b44a7,IconUploadcareLink as _0xe74612,IconOneDrive as _0x552a4f}from'ckeditor5/src/icons.js';import{ButtonView as _0x1f36b8,MenuBarMenuListItemButtonView as _0x366783}from'ckeditor5/src/ui.js';function _0x1668(_0x64927c,_0x3e5025){const _0x15396c=_0x1539();return _0x1668=function(_0x16683a,_0x30602c){_0x16683a=_0x16683a-0xa4;let _0x28748c=_0x15396c[_0x16683a];return _0x28748c;},_0x1668(_0x64927c,_0x3e5025);}import{UploadcareSource as _0x4d4725}from'./uploadcareconfig.js';import{getTranslation as _0x446752}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x1539(){const _0x40d50e=['3758202jCIxAs','8915xuqcnU','2784YLGwgD','_createMenuBarButtons','evaluationLimit','registerIntegration','invalid','GDrive','get','uploadcareLicenseKeyInvalid','locale','push','UploadcareUI','_showLicenseError','uploadcare','map','_getIntegrationKey','4lmdFwK','18gKzYUa','uploadcareLicenseKeyUsageLimit','destroy','featureNotAllowed','ImageInsertUI','licenseKey','forEach','6475PubebR','isImageSelected','6174954FkHEbI','execute','9130670dfQsLA','isEnabled','icon','Replace','GPhotos','uploadcareLicenseKeyNotAllowed','label','3133910sukBaZ','entries','_createButton','bind','isOfficialPlugin','uploadcareLicenseKeyExpired','isPremiumPlugin','shortText','uploadcare.uploader.sourceList','afterInit','uploadcareLicenseKeyEvaluationLimit','Dropbox','OneDrive','URL','assetManager','_normalizeConfigSourceList','4585827YFsshv','pluginName','upload','Facebook','tooltip','withText','text','expired','domainLimit','trialLimit','_licenseKeyCheckInterval','_createToolbarButton','type','Local','init','url','uploadcareLicenseKeyTrialLimit','commands','Insert','usageLimit','plugins','has','uploadcareLicenseKeyDomainLimit','config','11RlXhmC','Uploadcare','uploadcareLicenseKeyValid','reduce','_createDropdownButtons','editor'];_0x1539=function(){return _0x40d50e;};return _0x1539();}import'../theme/uploadcareimageedit.css';export default class e extends _0x1d16e{[_0x5dce42(0xe1)];[_0x5dce42(0xb6)];static get[_0x5dce42(0xad)](){const _0x438a2a=_0x5dce42;return _0x438a2a(0xd6);}static get[_0x5dce42(0xf2)](){return!0x0;}static get[_0x5dce42(0xf4)](){return!0x0;}[_0x5dce42(0xba)](){const _0x58dbd7=_0x5dce42;this[_0x58dbd7(0xe1)]=this[_0x58dbd7(0xc9)][_0x58dbd7(0xc3)][_0x58dbd7(0xd2)](_0x58dbd7(0xe1));const _0x2825ef=this[_0x58dbd7(0xc9)];this[_0x58dbd7(0xb6)]=setInterval(()=>{const _0x8969dd=_0x58dbd7;let _0x1a84e3;for(const _0x28d7b5 in _0x2825ef){const _0x1680a5=_0x28d7b5,_0x271dd6=_0x2825ef[_0x1680a5];if(_0x8969dd(0xc6)==_0x271dd6||_0x8969dd(0xd3)==_0x271dd6||_0x8969dd(0xf3)==_0x271dd6||_0x8969dd(0xc2)==_0x271dd6||_0x8969dd(0xec)==_0x271dd6||_0x8969dd(0xa6)==_0x271dd6||_0x8969dd(0xbc)==_0x271dd6||_0x8969dd(0xdd)==_0x271dd6){delete _0x2825ef[_0x1680a5],_0x1a84e3=_0x271dd6,clearInterval(this[_0x8969dd(0xb6)]),this[_0x8969dd(0xb6)]=void 0x0;break;}}_0x8969dd(0xd3)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xd0)),_0x8969dd(0xf3)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xb3)),_0x8969dd(0xc2)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xb4)),_0x8969dd(0xec)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xdf),_0x8969dd(0xc5)),_0x8969dd(0xa6)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xce)),_0x8969dd(0xbc)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xb5)),_0x8969dd(0xdd)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xbf));},0x3e8);}[_0x5dce42(0xa5)](){const _0x1d40da=_0x5dce42,{editor:_0x479e96}=this,_0x252846=_0x479e96[_0x1d40da(0xbd)][_0x1d40da(0xd2)](_0x1d40da(0xd8));if(!_0x252846)return;const _0x4d53a5=this[_0x1d40da(0xab)](_0x479e96[_0x1d40da(0xc3)][_0x1d40da(0xd2)](_0x1d40da(0xa4)))[_0x1d40da(0xc7)]((_0x51d48e,_0x5a81b4)=>{const _0x30ffa3=_0x1d40da,_0x138a4d=this[_0x30ffa3(0xda)](_0x5a81b4[_0x30ffa3(0xb8)]);return _0x51d48e[_0x138a4d]||(_0x51d48e[_0x138a4d]=[]),_0x51d48e[_0x138a4d][_0x30ffa3(0xd5)](_0x5a81b4),_0x51d48e;},{});_0x479e96[_0x1d40da(0xc0)][_0x1d40da(0xc1)](_0x1d40da(0xe0))&&_0x479e96[_0x1d40da(0xbd)][_0x1d40da(0xd2)](_0x1d40da(0xd8))&&Object[_0x1d40da(0xef)](_0x4d53a5)[_0x1d40da(0xe2)](([_0x57ff46,_0x2a9167])=>{const _0x417ac2=_0x1d40da;_0x479e96[_0x417ac2(0xc0)][_0x417ac2(0xd2)](_0x417ac2(0xe0))[_0x417ac2(0xcf)]({'name':_0x57ff46,'observable':()=>_0x252846,'buttonViewCreator':()=>this[_0x417ac2(0xb7)](_0x2a9167),'formViewCreator':()=>this[_0x417ac2(0xc8)](_0x2a9167),'menuBarButtonViewCreator':()=>this[_0x417ac2(0xcd)](_0x2a9167),'override':_0x417ac2(0xaa)!==_0x57ff46});});}[_0x5dce42(0xde)](){const _0x1070c9=_0x5dce42;super[_0x1070c9(0xde)](),this[_0x1070c9(0xb6)]&&clearInterval(this[_0x1070c9(0xb6)]);}[_0x5dce42(0xab)](_0x362083){const _0x106ad2=_0x5dce42,{locale:_0x46fc8e}=this[_0x106ad2(0xc9)];return _0x362083[_0x106ad2(0xd9)](_0x116b0a=>{const _0x14aa20=_0x106ad2,_0x1610c0=_0x446752(_0x46fc8e,_0x116b0a,_0x14aa20(0xbe));switch(_0x116b0a){case _0x4d4725[_0x14aa20(0xb9)]:return{'icon':_0x5b44a7,'type':_0x4d4725[_0x14aa20(0xb9)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xa9)]:return{'icon':_0xe74612,'type':_0x4d4725[_0x14aa20(0xa9)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xa7)]:return{'icon':_0x480ab9,'type':_0x4d4725[_0x14aa20(0xa7)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xaf)]:return{'icon':_0x2e7bc4,'type':_0x4d4725[_0x14aa20(0xaf)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xd1)]:return{'icon':_0x2eb8fa,'type':_0x4d4725[_0x14aa20(0xd1)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xeb)]:return{'icon':_0x10945b,'type':_0x4d4725[_0x14aa20(0xeb)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xa8)]:return{'icon':_0x552a4f,'type':_0x4d4725[_0x14aa20(0xa8)],..._0x1610c0};}});}[_0x5dce42(0xda)](_0x7f1cc9){const _0x100682=_0x5dce42;switch(_0x7f1cc9){case _0x4d4725[_0x100682(0xb9)]:return _0x100682(0xae);case _0x4d4725[_0x100682(0xa9)]:return _0x100682(0xbb);default:return _0x100682(0xaa);}}[_0x5dce42(0xf0)](_0x7d5eea,_0x710fee){const _0x153ffe=_0x5dce42,_0x1466c8=this[_0x153ffe(0xc9)],_0x654de2=new _0x7d5eea(_0x1466c8[_0x153ffe(0xd4)]),_0x48e091=_0x1466c8[_0x153ffe(0xbd)][_0x153ffe(0xd2)](_0x153ffe(0xd8));return _0x654de2[_0x153ffe(0xf1)](_0x153ffe(0xe8))['to'](_0x48e091),_0x654de2['on'](_0x153ffe(0xe6),()=>{const _0x37f8fd=_0x153ffe;_0x48e091[_0x37f8fd(0xe6)](_0x710fee);}),_0x654de2;}[_0x5dce42(0xb7)](_0x155c4e){const _0x2103ec=_0x5dce42,{locale:_0x2110c4}=this[_0x2103ec(0xc9)],_0x3b49a1=this[_0x2103ec(0xc9)][_0x2103ec(0xc0)][_0x2103ec(0xd2)](_0x2103ec(0xe0)),_0x4fea35=_0x155c4e[0x0],_0xf8a25=this[_0x2103ec(0xf0)](_0x1f36b8,_0x4fea35[_0x2103ec(0xb8)]);return _0xf8a25[_0x2103ec(0xe9)]=_0x4fea35[_0x2103ec(0xe9)],_0xf8a25[_0x2103ec(0xf1)](_0x2103ec(0xed))['to'](_0x3b49a1,_0x2103ec(0xe4),_0x1a0b09=>_0x446752(_0x2110c4,_0x4fea35[_0x2103ec(0xb8)],_0x1a0b09?_0x2103ec(0xea):_0x2103ec(0xbe))[_0x2103ec(0xb2)]),_0xf8a25[_0x2103ec(0xb0)]=!0x0,_0xf8a25;}[_0x5dce42(0xc8)](_0x164701){const _0x2beed8=_0x5dce42,{locale:_0x5a6a62}=this[_0x2beed8(0xc9)],_0x3f348a=this[_0x2beed8(0xc9)][_0x2beed8(0xc0)][_0x2beed8(0xd2)](_0x2beed8(0xe0));return _0x164701[_0x2beed8(0xd9)](_0x3184c8=>{const _0x38a1ca=_0x2beed8,_0x1be80b=this[_0x38a1ca(0xf0)](_0x1f36b8,_0x3184c8[_0x38a1ca(0xb8)]);return _0x1be80b[_0x38a1ca(0xb1)]=!0x0,_0x1be80b[_0x38a1ca(0xe9)]=_0x3184c8[_0x38a1ca(0xe9)],_0x1be80b[_0x38a1ca(0xf1)](_0x38a1ca(0xed))['to'](_0x3f348a,_0x38a1ca(0xe4),_0x4dacd8=>_0x446752(_0x5a6a62,_0x3184c8[_0x38a1ca(0xb8)],_0x4dacd8?_0x38a1ca(0xea):_0x38a1ca(0xbe))[_0x38a1ca(0xb2)]),_0x1be80b;});}[_0x5dce42(0xcd)](_0x3a8e73){const _0x46f487=_0x5dce42;return _0x3a8e73[_0x46f487(0xd9)](_0x18436b=>{const _0x58f60e=_0x46f487,_0x15cd1a=this[_0x58f60e(0xf0)](_0x366783,_0x18436b[_0x58f60e(0xb8)]);return _0x15cd1a[_0x58f60e(0xe9)]=_0x18436b[_0x58f60e(0xe9)],_0x15cd1a[_0x58f60e(0xed)]=_0x18436b[_0x58f60e(0xf5)],_0x15cd1a;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x37676e}from'ckeditor5/src/core.js';import{FileRepository as _0x2aa406}from'ckeditor5/src/upload.js';import _0x13662b from'./uploadcareediting.js';import _0x54e301 from'./utils/uploadutils.js';import{getImageUrls as _0x15cc67}from'./utils/editingutils.js';export default class p extends _0x37676e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2aa406,_0x13662b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x16cf2d=this['editor'];if(!!!_0x16cf2d['config']['get']('uploadcare'))return;_0x16cf2d['plugins']['get'](_0x2aa406)['createUploadAdapter']=_0xf6cc89=>new x(_0xf6cc89,_0x16cf2d),_0x16cf2d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x52be75,{imageElement:_0x5bda4e,data:_0x240d87})=>{_0x16cf2d['model']['change'](_0x2e1b5c=>{_0x2e1b5c['setAttribute']('uploadcareImageId',_0x240d87['uploadcareImageId'],_0x5bda4e);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x5752dc,_0x1ccaf4){this['loader']=_0x5752dc,this['editor']=_0x1ccaf4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x224e54=this['editor']['config']['get']('uploadcare.pubkey'),_0x4a3743=await this['loader']['file'];return _0x54e301['upload']({'file':_0x4a3743,'publicKey':_0x224e54,'signal':this['controller']['signal'],'onProgress':_0x45b220=>{_0x45b220&&_0x45b220['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x45b220['value']);}})['then'](async _0x571013=>{const {imageFallbackUrl:_0x37d9fc,imageSources:_0x3dfe4f}=_0x15cc67(_0x571013['cdnUrl'],_0x571013['imageInfo']['width']);return{'uploadcareImageId':_0x571013['uuid'],'default':_0x37d9fc,'sources':_0x3dfe4f};})['catch'](()=>{const _0x2b7c22=t('Cannot\x20upload\x20file:')+('\x20'+_0x4a3743['name']+'.');return Promise['reject'](_0x2b7c22);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5f0a4a}from'ckeditor5/src/core.js';import{FileRepository as _0xdbdac7}from'ckeditor5/src/upload.js';import _0x4b9da6 from'./uploadcareediting.js';import _0x574cf2 from'./utils/uploadutils.js';import{getImageUrls as _0x46b932}from'./utils/editingutils.js';export default class p extends _0x5f0a4a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xdbdac7,_0x4b9da6];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x405b9f=this['editor'];if(!!!_0x405b9f['config']['get']('uploadcare'))return;_0x405b9f['plugins']['get'](_0xdbdac7)['createUploadAdapter']=_0x41bdc5=>new x(_0x41bdc5,_0x405b9f),_0x405b9f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x47271e,{imageElement:_0x209f61,data:_0x3123cb})=>{_0x405b9f['model']['change'](_0x51a51a=>{_0x51a51a['setAttribute']('uploadcareImageId',_0x3123cb['uploadcareImageId'],_0x209f61);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4200a4,_0x36e987){this['loader']=_0x4200a4,this['editor']=_0x36e987,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xae229e=this['editor']['config']['get']('uploadcare.pubkey'),_0x34b880=await this['loader']['file'];return _0x574cf2['upload']({'file':_0x34b880,'publicKey':_0xae229e,'signal':this['controller']['signal'],'onProgress':_0x442d1a=>{_0x442d1a&&_0x442d1a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x442d1a['value']);}})['then'](async _0x3d49b9=>{const {imageFallbackUrl:_0x3f4310,imageSources:_0x4e305f}=_0x46b932(_0x3d49b9['cdnUrl'],_0x3d49b9['imageInfo']['width']);return{'uploadcareImageId':_0x3d49b9['uuid'],'default':_0x3f4310,'sources':_0x4e305f};})['catch'](()=>{const _0x1883ef=t('Cannot\x20upload\x20file:')+('\x20'+_0x34b880['name']+'.');return Promise['reject'](_0x1883ef);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x575f76}from'../uploadcareconfig.js';export function getTranslation(_0x1a7012,_0x519f46,_0x18970e){const t=_0x1a7012['t'],_0x2236e0=_0x1a7012['t'];switch(_0x519f46){case _0x575f76['Local']:return{'text':_0x2236e0('Insert'===_0x18970e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2236e0('From\x20computer')};case _0x575f76['URL']:return{'text':'Insert'===_0x18970e?_0x2236e0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2236e0('Via\x20URL')};case _0x575f76['Dropbox']:return{'text':t('Insert'===_0x18970e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x575f76['Facebook']:return{'text':t('Insert'===_0x18970e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x575f76['GDrive']:return{'text':t('Insert'===_0x18970e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x575f76['GPhotos']:return{'text':t('Insert'===_0x18970e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x575f76['OneDrive']:return{'text':t('Insert'===_0x18970e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x519f46;}}
23
+ import{UploadcareSource as _0x165db8}from'../uploadcareconfig.js';export function getTranslation(_0x51249a,_0x37fde1,_0x16f94e){const t=_0x51249a['t'],_0x2dcd1e=_0x51249a['t'];switch(_0x37fde1){case _0x165db8['Local']:return{'text':_0x2dcd1e('Insert'===_0x16f94e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2dcd1e('From\x20computer')};case _0x165db8['URL']:return{'text':'Insert'===_0x16f94e?_0x2dcd1e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2dcd1e('Via\x20URL')};case _0x165db8['Dropbox']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x165db8['Facebook']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x165db8['GDrive']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x165db8['GPhotos']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x165db8['OneDrive']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x37fde1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18cd12=_0x1ea9;function _0x1ea9(_0x3941ce,_0x133810){var _0x136c1c=_0x136c();return _0x1ea9=function(_0x1ea9fa,_0xc1efc8){_0x1ea9fa=_0x1ea9fa-0x16c;var _0x3f5f48=_0x136c1c[_0x1ea9fa];return _0x3f5f48;},_0x1ea9(_0x3941ce,_0x133810);}(function(_0xdd7d9d,_0x5e64cf){var _0x68a333=_0x1ea9,_0x2fc0a1=_0xdd7d9d();while(!![]){try{var _0x1079f1=parseInt(_0x68a333(0x171))/0x1*(-parseInt(_0x68a333(0x179))/0x2)+-parseInt(_0x68a333(0x17a))/0x3+-parseInt(_0x68a333(0x17f))/0x4+-parseInt(_0x68a333(0x173))/0x5*(parseInt(_0x68a333(0x170))/0x6)+-parseInt(_0x68a333(0x178))/0x7+parseInt(_0x68a333(0x176))/0x8*(-parseInt(_0x68a333(0x16f))/0x9)+parseInt(_0x68a333(0x17b))/0xa*(parseInt(_0x68a333(0x16e))/0xb);if(_0x1079f1===_0x5e64cf)break;else _0x2fc0a1['push'](_0x2fc0a1['shift']());}catch(_0x13a446){_0x2fc0a1['push'](_0x2fc0a1['shift']());}}}(_0x136c,0x30bb3));import{FocusTracker as _0x423a02}from'ckeditor5/src/utils.js';import{View as _0x29e04f,FocusCycler as _0x47cfda}from'ckeditor5/src/ui.js';function _0x136c(){var _0xbf949c=['forwardCycle','855132IFdVtM','bindTemplate','fire','11WEiPaD','195741xMaLHh','186VyRtrr','118691BZAfHE','getFocusableElement','22045dwckbM','div','focusTracker','8nPUwDT','true','2565535rvmoqN','2szFKEw','656439kxpyVM','12758230tUKGJo','createCollection','focusCycler'];_0x136c=function(){return _0xbf949c;};return _0x136c();}import'../../theme/uploadcare-form.css';export default class q extends _0x29e04f{[_0x18cd12(0x175)];[_0x18cd12(0x17d)];constructor(_0x1b7339){var _0x1b0711=_0x18cd12;super(_0x1b7339),this[_0x1b0711(0x175)]=new _0x423a02(),this[_0x1b0711(0x17d)]=new _0x47cfda({'focusables':this[_0x1b0711(0x17c)](),'focusTracker':this[_0x1b0711(0x175)]});}[_0x18cd12(0x172)](){var _0x7db419=_0x18cd12;return{'tag':_0x7db419(0x174),'attributes':{'aria-hidden':_0x7db419(0x177),'tabindex':'0'},'on':{'focus':this[_0x7db419(0x16c)]['to'](()=>{var _0xf8fa0e=_0x7db419;this[_0xf8fa0e(0x17d)][_0xf8fa0e(0x16d)](_0xf8fa0e(0x17e));})}};}}
23
+ function _0x301b(){var _0x223145=['400644UrmIsH','557376NrjgAQ','focusTracker','fire','12313332ljlZJI','116970EkydCo','5387781PbrtNN','forwardCycle','div','130992EZKEmm','getFocusableElement','focusCycler','1340680ZPcLDe','bindTemplate','145mCtMSA','3ptZKRQ','true','createCollection'];_0x301b=function(){return _0x223145;};return _0x301b();}function _0x1a2c(_0x4fe33c,_0x5a5851){var _0x301bf5=_0x301b();return _0x1a2c=function(_0x1a2c00,_0x19f179){_0x1a2c00=_0x1a2c00-0xed;var _0x44603c=_0x301bf5[_0x1a2c00];return _0x44603c;},_0x1a2c(_0x4fe33c,_0x5a5851);}var _0xdff0f6=_0x1a2c;(function(_0x1693a2,_0x450301){var _0x3d667a=_0x1a2c,_0x2ff839=_0x1693a2();while(!![]){try{var _0x3dfe5b=-parseInt(_0x3d667a(0xef))/0x1+parseInt(_0x3d667a(0xf8))/0x2*(-parseInt(_0x3d667a(0xfe))/0x3)+-parseInt(_0x3d667a(0xf0))/0x4+-parseInt(_0x3d667a(0xfd))/0x5*(-parseInt(_0x3d667a(0xf4))/0x6)+-parseInt(_0x3d667a(0xf5))/0x7+-parseInt(_0x3d667a(0xfb))/0x8+parseInt(_0x3d667a(0xf3))/0x9;if(_0x3dfe5b===_0x450301)break;else _0x2ff839['push'](_0x2ff839['shift']());}catch(_0x46ca65){_0x2ff839['push'](_0x2ff839['shift']());}}}(_0x301b,0x5f65f));import{FocusTracker as _0x160329}from'ckeditor5/src/utils.js';import{View as _0x32d65f,FocusCycler as _0x1d281d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x32d65f{[_0xdff0f6(0xf1)];[_0xdff0f6(0xfa)];constructor(_0x1633d6){var _0x482e09=_0xdff0f6;super(_0x1633d6),this[_0x482e09(0xf1)]=new _0x160329(),this[_0x482e09(0xfa)]=new _0x1d281d({'focusables':this[_0x482e09(0xee)](),'focusTracker':this[_0x482e09(0xf1)]});}[_0xdff0f6(0xf9)](){var _0x557889=_0xdff0f6;return{'tag':_0x557889(0xf7),'attributes':{'aria-hidden':_0x557889(0xed),'tabindex':'0'},'on':{'focus':this[_0x557889(0xfc)]['to'](()=>{var _0x1305ff=_0x557889;this[_0x1305ff(0xfa)][_0x1305ff(0xf2)](_0x1305ff(0xf6));})}};}}