@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250525.0 → 0.0.0-nightly-20250527.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29e3cc=_0xfe76;(function(_0x2f4661,_0x3deff0){const _0x486844=_0xfe76,_0x309c19=_0x2f4661();while(!![]){try{const _0x168555=parseInt(_0x486844(0x1b5))/0x1+-parseInt(_0x486844(0x1e9))/0x2+-parseInt(_0x486844(0x1d1))/0x3+-parseInt(_0x486844(0x1ef))/0x4*(parseInt(_0x486844(0x1c4))/0x5)+-parseInt(_0x486844(0x1c9))/0x6*(-parseInt(_0x486844(0x1d5))/0x7)+-parseInt(_0x486844(0x1ca))/0x8*(-parseInt(_0x486844(0x1c1))/0x9)+-parseInt(_0x486844(0x1b7))/0xa*(-parseInt(_0x486844(0x1f9))/0xb);if(_0x168555===_0x3deff0)break;else _0x309c19['push'](_0x309c19['shift']());}catch(_0x4e3876){_0x309c19['push'](_0x309c19['shift']());}}}(_0x25ee,0x58d37));import{Plugin as _0x2aada5}from'ckeditor5/src/core.js';import{Dialog as _0x6de04d}from'ckeditor5/src/ui.js';import{createElement as _0x29c041,global as _0x1af7f9,uid as _0x35652c}from'ckeditor5/src/utils.js';import _0x371731 from'./uploadcarecommand.js';function _0xfe76(_0x4423f6,_0xb6204f){const _0x25ee12=_0x25ee();return _0xfe76=function(_0xfe76e9,_0x275a5f){_0xfe76e9=_0xfe76e9-0x1b3;let _0x25560e=_0x25ee12[_0xfe76e9];return _0x25560e;},_0xfe76(_0x4423f6,_0xb6204f);}import _0x505d87 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x522da5}from'./utils/editingutils.js';function _0x25ee(){const _0x4ffe96=['once','extend','#uc-icon-arrow-down','getSelectedElement','12cbNgTz','142504fnNHuY','commands','closeMax','true','execute','upcast','uc-config','2169456BfPjLL','document','listenTo','afterInit','2203964tHXGHw','editing','map','ctxElement','uploadcareImageId','imageBlock','removeAttribute','_initConversion','isRegistered','configElement','schema','model','getAttribute','destroy','PictureEditing','_initConfig','editor','replaceImageSource','uploadcare.pubkey','\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','1408404HSCkIy','render','data-uc-image-id','pluginName','downcast','add','4yZGuLg','locale','uploadcareImageReplace','attributeToAttribute','_initImageProcessingIndicator','href','appendChild','config','_ctxElement','view','22MhuXvf','init','_initCtx','UploadcareEditing','isOfficialPlugin','querySelector','join','uploadcare','fromCharCode','requires','cleanupImage','_configElement','isPremiumPlugin','input[uploadcare-file-input]','uc-upload-ctx-provider','get','iconHrefResolver','11750ntkuvH','uploader','8506870xGjypV','contentLanguage','_initSchema','selection','for','body','remove','imageInline','conversion','uploadcare.uploader','27peomlN','elementToAttribute','insertImage','3025410RCxBbc'];_0x25ee=function(){return _0x4ffe96;};return _0x25ee();}export default class i extends _0x2aada5{[_0x29e3cc(0x204)]=null;[_0x29e3cc(0x1f7)]=null;static get[_0x29e3cc(0x1ec)](){const _0x598999=_0x29e3cc;return _0x598999(0x1fc);}static get[_0x29e3cc(0x202)](){const _0x6bf219=_0x29e3cc;return[_0x6bf219(0x1e3),_0x505d87,_0x6de04d];}static get[_0x29e3cc(0x1fd)](){return!0x0;}static get[_0x29e3cc(0x205)](){return!0x0;}get[_0x29e3cc(0x1de)](){const _0x4259f5=_0x29e3cc;return this[_0x4259f5(0x204)];}get[_0x29e3cc(0x1d8)](){const _0x601645=_0x29e3cc;return this[_0x601645(0x1f7)];}[_0x29e3cc(0x1fa)](){const _0x83e4c3=_0x29e3cc,_0x72ab9a=this[_0x83e4c3(0x1e5)];_0x72ab9a[_0x83e4c3(0x1cb)][_0x83e4c3(0x1ee)](_0x83e4c3(0x200),new _0x371731(_0x72ab9a));}[_0x29e3cc(0x1d4)](){const _0x3a231a=_0x29e3cc;this[_0x3a231a(0x1b9)](),this[_0x3a231a(0x1dc)](),this[_0x3a231a(0x1e4)](),this[_0x3a231a(0x1fb)](),this[_0x3a231a(0x1f3)](),this[_0x3a231a(0x1d3)](this[_0x3a231a(0x1e5)],_0x3a231a(0x1e2),()=>{const _0x297e53=_0x3a231a;this[_0x297e53(0x204)]&&(this[_0x297e53(0x204)][_0x297e53(0x1bd)](),this[_0x297e53(0x204)]=null),this[_0x297e53(0x1f7)]&&(this[_0x297e53(0x1f7)][_0x297e53(0x1bd)](),this[_0x297e53(0x1f7)]=null);const _0x149283=_0x1af7f9[_0x297e53(0x1d2)][_0x297e53(0x1fe)](_0x297e53(0x206));_0x149283&&_0x149283[_0x297e53(0x1bd)]();}),async function(_0x538087){const _0x186e47=_0x5a413e([0x4e,0x42,0x6c,0x30,0x73,0x78,0x71,0x52,0x44,0x58,0x76,0x72,0x6e,0x6a,0x54,0x68,0x38,0x6d,0x79,0x69,0x4f,0x74,0x50,0x70,0x43,0x36,0x59,0x65,0x32,0x48,0x75,0x64,0x33,0x53,0x56,0x66,0x4c,0x39,0x49,0x34,0x61,0x63,0x45,0x51,0x77,0x31,0x4b,0x6b,0x46,0x55,0x4a,0x37,0x41,0x6f,0x5a,0x35,0x47,0x4d,0x62,0x7a,0x57,0x67]),_0x388419=0x169d4413,_0x63b9db=0x169a2ccb^_0x388419,_0x19a794=window[_0x5a413e([0x44,0x61,0x74,0x65])][_0x5a413e([0x6e,0x6f,0x77])](),_0x422adf=_0x538087[_0x5a413e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c94d7=new window[(_0x5a413e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f547a=>{_0x422adf[_0x5a413e([0x6f,0x6e,0x63,0x65])](_0x5a413e([0x72,0x65,0x61,0x64,0x79]),_0x3f547a);}),_0x49ec49={[_0x5a413e([0x6b,0x74,0x79])]:_0x5a413e([0x45,0x43]),[_0x5a413e([0x75,0x73,0x65])]:_0x5a413e([0x73,0x69,0x67]),[_0x5a413e([0x63,0x72,0x76])]:_0x5a413e([0x50,0x2d,0x32,0x35,0x36]),[_0x5a413e([0x78])]:_0x5a413e([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]),[_0x5a413e([0x79])]:_0x5a413e([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]),[_0x5a413e([0x61,0x6c,0x67])]:_0x5a413e([0x45,0x53,0x32,0x35,0x36])},_0x49b391=_0x422adf[_0x5a413e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a413e([0x67,0x65,0x74])](_0x5a413e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x145ec3(){let _0x69b0c4,_0x2fe12e=null,_0x2b5142=null;try{if(_0x49b391==_0x5a413e([0x47,0x50,0x4c]))return _0x5a413e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x69b0c4=_0x39c684(),!_0x69b0c4)return _0x5a413e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x69b0c4[_0x5a413e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b5142=_0xfc60df(_0x69b0c4[_0x5a413e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x69b0c4[_0x5a413e([0x6a,0x74,0x69])])),await _0x3a1dd3()?_0x579ab7()?_0x2270bc()?_0x5a413e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a8723()?(_0x69b0c4[_0x5a413e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a413e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fe12e=_0x1950cb(_0x5a413e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x69b0c4[_0x5a413e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a413e([0x74,0x72,0x69,0x61,0x6c])&&(_0x2fe12e=_0x1950cb(_0x5a413e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16077c()):_0x5a413e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a413e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a413e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x11c0e6){return _0x5a413e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2270bc(){const _0x1670e0=[_0x5a413e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a413e([0x74,0x72,0x69,0x61,0x6c])][_0x5a413e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x69b0c4[_0x5a413e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19a794/0x3e8:0xe10*_0x63b9db;return _0x69b0c4[_0x5a413e([0x65,0x78,0x70])]<_0x1670e0;}function _0x579ab7(){const _0xe905c8=_0x69b0c4[_0x5a413e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe905c8&&(!!_0xe905c8[_0x5a413e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a413e([0x2a]))||!!_0xe905c8[_0x5a413e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a413e([0x55,0x50,0x4c,0x43])));}function _0x5a8723(){const _0x5b9bb2=_0xfe76,_0x555e4a=_0x69b0c4[_0x5a413e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x555e4a||0x0==_0x555e4a[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x419c3a}=new URL(window[_0x5a413e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5b9bb2(0x1f4)]);if(_0x555e4a[_0x5a413e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x419c3a))return!0x0;const _0x320e5f=_0x419c3a[_0x5a413e([0x73,0x70,0x6c,0x69,0x74])](_0x5a413e([0x2e]));return _0x555e4a[_0x5a413e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d7a0d=>_0x3d7a0d[_0x5a413e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a413e([0x2a])))[_0x5a413e([0x6d,0x61,0x70])](_0x12616e=>_0x12616e[_0x5a413e([0x73,0x70,0x6c,0x69,0x74])](_0x5a413e([0x2e])))[_0x5a413e([0x73,0x6f,0x6d,0x65])](_0x44222d=>_0x320e5f[_0x5a413e([0x65,0x76,0x65,0x72,0x79])]((_0x2e59b5,_0x1424bc)=>_0x44222d[_0x1424bc]===_0x2e59b5||_0x44222d[_0x1424bc]===_0x5a413e([0x2a])));}function _0x16077c(){return _0x2fe12e&&_0x2b5142?new window[(_0x5a413e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b58e6,_0x14ac98)=>{_0x2fe12e[_0x5a413e([0x74,0x68,0x65,0x6e])](_0x2b58e6,_0x14ac98),_0x2b5142[_0x5a413e([0x74,0x68,0x65,0x6e])](_0x5c0f63=>{_0x5c0f63!=_0x5a413e([0x56,0x61,0x6c,0x69,0x64])&&_0x2b58e6(_0x5c0f63);},_0x14ac98);}):_0x2fe12e||_0x2b5142||_0x5a413e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xfc60df(_0x47a6be,_0x313548){return new window[(_0x5a413e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18e453=>{if(_0x43faa0())return _0x18e453(_0x5a413e([0x56,0x61,0x6c,0x69,0x64]));_0x32c803(),_0x422adf[_0x5a413e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a413e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x410416=!0x1;const _0x324c22=_0x35652c();function _0x26b822(_0x1e3268){return!!_0x1e3268&&(typeof _0x1e3268===_0x5a413e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e3268===_0x5a413e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e3268[_0x5a413e([0x74,0x68,0x65,0x6e])]===_0x5a413e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e3268[_0x5a413e([0x63,0x61,0x74,0x63,0x68])]===_0x5a413e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bdf52(_0x509175){_0x41f521(_0x509175)[_0x5a413e([0x74,0x68,0x65,0x6e])](_0x307ae2=>{if(!_0x307ae2||_0x307ae2[_0x5a413e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a413e([0x6f,0x6b]))return _0x5a413e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x585dbb(_0x129a0d(_0x324c22+_0x313548))!=_0x307ae2[_0x5a413e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a413e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a413e([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a413e([0x74,0x68,0x65,0x6e])](_0xdd70f0=>(_0x193405(),_0xdd70f0),()=>{const _0x365ebf=_0x1a696a();return null==_0x365ebf?(_0x193405(),_0x5a413e([0x56,0x61,0x6c,0x69,0x64])):_0x5a413e(_0x19a794-_0x365ebf>(0x3291c013^_0x388419)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a413e([0x74,0x68,0x65,0x6e])](_0x18e453)[_0x5a413e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18e453(_0x5a413e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x257f3a=0x16abaa93^_0x388419;function _0x193405(){const _0x16fcd0=_0x5a413e([0x6c,0x6c,0x63,0x74,0x2d])+_0x585dbb(_0x129a0d(_0x47a6be)),_0x8b6832=_0x24c7c9(_0x585dbb(window[_0x5a413e([0x4d,0x61,0x74,0x68])][_0x5a413e([0x63,0x65,0x69,0x6c])](_0x19a794/_0x257f3a)));window[_0x5a413e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a413e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16fcd0,_0x8b6832);}function _0x1a696a(){const _0x1671a5=_0x5a413e([0x6c,0x6c,0x63,0x74,0x2d])+_0x585dbb(_0x129a0d(_0x47a6be)),_0x3412a2=window[_0x5a413e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a413e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1671a5);return _0x3412a2?window[_0x5a413e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24c7c9(_0x3412a2),0x10)*_0x257f3a:null;}function _0x41f521(_0x2d50c8){return new window[(_0x5a413e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46cb10,_0xc8f92a)=>{_0x2d50c8[_0x5a413e([0x74,0x68,0x65,0x6e])](_0x46cb10,_0xc8f92a),window[_0x5a413e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc8f92a,0x169c90d3^_0x388419);});}}_0x422adf[_0x5a413e([0x6f,0x6e])](_0x5a413e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36cc0f,_0x5f3e4d)=>{if(_0x5f3e4d[0x0]!=_0x47a6be)return _0x18e453(_0x5a413e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f3e4d[0x1]={..._0x5f3e4d[0x1],[_0x5a413e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x324c22};},{[_0x5a413e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a413e([0x68,0x69,0x67,0x68])}),_0x422adf[_0x5a413e([0x6f,0x6e])](_0x5a413e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ac92c=>{_0x26b822(_0x5ac92c[_0x5a413e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x410416=!0x0,_0x4bdf52(_0x5ac92c[_0x5a413e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a413e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a413e([0x6c,0x6f,0x77])}),_0x4c94d7[_0x5a413e([0x74,0x68,0x65,0x6e])](()=>{_0x410416||_0x18e453(_0x5a413e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43faa0(){return _0x422adf[_0x5a413e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a413e([0x76,0x69,0x65,0x77])][_0x5a413e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a413e([0x61,0x75,0x74,0x6f]);}function _0x32c803(){_0x422adf[_0x5a413e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a413e([0x76,0x69,0x65,0x77])][_0x5a413e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a413e([0x61,0x75,0x74,0x6f]);}}function _0x1950cb(_0x1ff70b){const _0x25760d=[new window[(_0x5a413e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x134963=>setTimeout(_0x134963,0x16947adf^_0x388419)),_0x4c94d7[_0x5a413e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a413e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x263ba4=>{let _0x437dc5=0x0;_0x422adf[_0x5a413e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a413e([0x6f,0x6e])](_0x5a413e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x423598,_0x70d773)=>{_0x70d773[0x0][_0x5a413e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x437dc5++,_0x437dc5==(0x169d45eb^_0x388419)&&(_0x263ba4(),_0x423598[_0x5a413e([0x6f,0x66,0x66])]());});}))];return window[_0x5a413e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a413e([0x72,0x61,0x63,0x65])](_0x25760d)[_0x5a413e([0x74,0x68,0x65,0x6e])](()=>_0x1ff70b);}async function _0x38bac5(){await _0x4c94d7,_0x422adf[_0x5a413e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a413e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd634,_0x422adf[_0x5a413e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a413e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd634,_0x422adf[_0x5a413e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a413e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fb5f4(_0x5eea2a){const _0x882dc4=_0x211de9();_0x422adf[_0x882dc4]=_0x5a413e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eea2a,_0x5eea2a!=_0x5a413e([0x56,0x61,0x6c,0x69,0x64])&&_0x38bac5();}function _0x211de9(){const _0x2d738b=window[_0x5a413e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a413e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a413e([0x6e,0x6f,0x77])]())[_0x5a413e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a413e([0x2e]),'');let _0x1fb8f5=_0x5a413e([0x4e]);for(let _0x304efd=0x0;_0x304efd<_0x2d738b[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x304efd+=0x2){let _0x5e64ed=window[_0x5a413e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d738b[_0x5a413e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x304efd,_0x304efd+0x2));_0x5e64ed>=_0x186e47[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e64ed-=_0x186e47[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fb8f5+=_0x186e47[_0x5e64ed];}return _0x1fb8f5;}function _0x39c684(){const _0x3dffbe=_0x49b391[_0x5a413e([0x73,0x70,0x6c,0x69,0x74])](_0x5a413e([0x2e]));if(0x3!=_0x3dffbe[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26a9dd(_0x3dffbe[0x1]);function _0x26a9dd(_0x4c0013){const _0x42a871=_0x6928e3(_0x4c0013);return _0x42a871&&_0xba87bb()?_0x42a871:null;function _0xba87bb(){const _0x559709=_0x42a871[_0x5a413e([0x6a,0x74,0x69])],_0x40ecc1=window[_0x5a413e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x559709[_0x5a413e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x559709[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2873da={..._0x42a871,[_0x5a413e([0x6a,0x74,0x69])]:_0x559709[_0x5a413e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x559709[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2873da[_0x5a413e([0x76,0x63])],_0x129a0d(_0x2873da)==_0x40ecc1;}}}async function _0x3a1dd3(){let _0x5209db=!0x0;try{const _0x3b5057=_0x49b391[_0x5a413e([0x73,0x70,0x6c,0x69,0x74])](_0x5a413e([0x2e])),[_0x52abf9,_0xb95919,_0x4a3996]=_0x3b5057;return _0xed38fd(_0x52abf9),await _0x1f8c34(_0x52abf9,_0xb95919,_0x4a3996),_0x5209db;}catch(_0x338041){return!0x1;}function _0xed38fd(_0x325a36){const _0x256836=_0x6928e3(_0x325a36);_0x256836&&_0x256836[_0x5a413e([0x61,0x6c,0x67])]==_0x5a413e([0x45,0x53,0x32,0x35,0x36])||(_0x5209db=!0x1);}async function _0x1f8c34(_0x4b405a,_0x372340,_0x3ad948){const _0xd58150=window[_0x5a413e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a413e([0x66,0x72,0x6f,0x6d])](_0x348a5b(_0x3ad948),_0x26fc75=>_0x26fc75[_0x5a413e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5af9a6=new window[(_0x5a413e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a413e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b405a+_0x5a413e([0x2e])+_0x372340),_0x43327b=window[_0x5a413e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a413e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43327b)return;const _0x5cd80b=await _0x43327b[_0x5a413e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a413e([0x6a,0x77,0x6b]),_0x49ec49,{[_0x5a413e([0x6e,0x61,0x6d,0x65])]:_0x5a413e([0x45,0x43,0x44,0x53,0x41]),[_0x5a413e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a413e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a413e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43327b[_0x5a413e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a413e([0x6e,0x61,0x6d,0x65])]:_0x5a413e([0x45,0x43,0x44,0x53,0x41]),[_0x5a413e([0x68,0x61,0x73,0x68])]:{[_0x5a413e([0x6e,0x61,0x6d,0x65])]:_0x5a413e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cd80b,_0xd58150,_0x5af9a6)||(_0x5209db=!0x1);}}function _0x6928e3(_0x48f642){return _0x48f642[_0x5a413e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a413e([0x65,0x79]))?JSON[_0x5a413e([0x70,0x61,0x72,0x73,0x65])](_0x348a5b(_0x48f642)):null;}function _0x348a5b(_0x12627f){return window[_0x5a413e([0x61,0x74,0x6f,0x62])](_0x12627f[_0x5a413e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a413e([0x2b]))[_0x5a413e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a413e([0x2f])));}function _0x129a0d(_0x14f0c6){let _0x1f88f9=0x1505;function _0x1a0e75(_0x4fbb1c){for(let _0x19038c=0x0;_0x19038c<_0x4fbb1c[_0x5a413e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19038c++){const _0x2e3fa7=_0x4fbb1c[_0x5a413e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19038c);_0x1f88f9=(_0x1f88f9<<0x5)+_0x1f88f9+_0x2e3fa7,_0x1f88f9&=_0x1f88f9;}}function _0x3a408f(_0x1b56bd){Array[_0x5a413e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b56bd)?_0x1b56bd[_0x5a413e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a408f):_0x1b56bd&&typeof _0x1b56bd==_0x5a413e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a413e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b56bd)[_0x5a413e([0x73,0x6f,0x72,0x74])]()[_0x5a413e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fd69e,_0x178b2e])=>{_0x1a0e75(_0x4fd69e),_0x3a408f(_0x178b2e);}):_0x1a0e75(window[_0x5a413e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b56bd));}return _0x3a408f(_0x14f0c6),_0x1f88f9>>>0x0;}function _0x585dbb(_0x475785){return _0x475785[_0x5a413e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a413e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a413e([0x30]));}function _0x24c7c9(_0x2e90b4){return _0x2e90b4[_0x5a413e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a413e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a413e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5dd634(){}function _0x5a413e(_0x4256f9){const _0x13907c=_0xfe76;return _0x4256f9[_0x13907c(0x1d7)](_0x371229=>String[_0x13907c(0x201)](_0x371229))[_0x13907c(0x1ff)]('');}_0x4fb5f4(await _0x145ec3());}(this);}[_0x29e3cc(0x1b9)](){const _0x2f1943=_0x29e3cc,_0x4de793=this[_0x2f1943(0x1e5)][_0x2f1943(0x1e0)][_0x2f1943(0x1df)];_0x4de793[_0x2f1943(0x1dd)](_0x2f1943(0x1da))&&_0x4de793[_0x2f1943(0x1c6)](_0x2f1943(0x1da),{'allowAttributes':[_0x2f1943(0x1d9)]}),_0x4de793[_0x2f1943(0x1dd)](_0x2f1943(0x1be))&&_0x4de793[_0x2f1943(0x1c6)](_0x2f1943(0x1be),{'allowAttributes':[_0x2f1943(0x1d9)]});}[_0x29e3cc(0x1dc)](){const _0x354605=_0x29e3cc,_0x3bb947=this[_0x354605(0x1e5)];_0x3bb947[_0x354605(0x1bf)][_0x354605(0x1bb)](_0x354605(0x1ed))[_0x354605(0x1f2)]({'model':_0x354605(0x1d9),'view':_0x354605(0x1eb)}),_0x3bb947[_0x354605(0x1bf)][_0x354605(0x1bb)](_0x354605(0x1cf))[_0x354605(0x1c2)]({'model':{'key':_0x354605(0x1d9),'value':_0x2ec760=>_0x2ec760[_0x354605(0x1e1)](_0x354605(0x1eb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x416977=_0x3bb947[_0x354605(0x1cb)][_0x354605(0x1b3)](_0x354605(0x1e6));_0x416977&&this[_0x354605(0x1d3)](_0x416977,_0x354605(0x203),(_0x23bdaf,[_0x511594,_0x12e432])=>{const _0x4493e1=_0x354605;_0x511594[_0x4493e1(0x1db)](_0x4493e1(0x1d9),_0x12e432);});}[_0x29e3cc(0x1e4)](){const _0x1ef009=_0x29e3cc,_0x455c53=this[_0x1ef009(0x1e5)][_0x1ef009(0x1f6)][_0x1ef009(0x1b3)](_0x1ef009(0x1c0))||{},_0x3a2f43=this[_0x1ef009(0x1e5)][_0x1ef009(0x1f6)][_0x1ef009(0x1b3)](_0x1ef009(0x1e7))||'';this[_0x1ef009(0x204)]=_0x29c041(_0x1af7f9[_0x1ef009(0x1d2)],_0x1ef009(0x1d0),{..._0x455c53,'pubkey':_0x3a2f43,'ctx-name':_0x1ef009(0x1b6),'sourceList':'','imgOnly':_0x1ef009(0x1cd),'removeCopyright':_0x1ef009(0x1cd),'localeName':this[_0x1ef009(0x1e5)][_0x1ef009(0x1f0)][_0x1ef009(0x1b8)],'externalSourcesEmbedCss':_0x1ef009(0x1e8)}),this[_0x1ef009(0x204)][_0x1ef009(0x1b4)]=_0x50e72b=>{const _0x21a7f0=_0x1ef009;if(_0x21a7f0(0x1cc)==_0x50e72b)return _0x21a7f0(0x1c7);},_0x1af7f9[_0x1ef009(0x1d2)][_0x1ef009(0x1bc)][_0x1ef009(0x1f5)](this[_0x1ef009(0x204)]);}[_0x29e3cc(0x1fb)](){const _0x400b05=_0x29e3cc;this[_0x400b05(0x1f7)]=_0x29c041(_0x1af7f9[_0x400b05(0x1d2)],_0x400b05(0x207),{'ctx-name':_0x400b05(0x1b6)}),_0x1af7f9[_0x400b05(0x1d2)][_0x400b05(0x1bc)][_0x400b05(0x1f5)](this[_0x400b05(0x1f7)]);}[_0x29e3cc(0x1f3)](){const _0x511a56=_0x29e3cc,_0x4589bf=this[_0x511a56(0x1e5)][_0x511a56(0x1cb)][_0x511a56(0x1b3)](_0x511a56(0x1c3));_0x4589bf&&this[_0x511a56(0x1d3)](_0x4589bf,_0x511a56(0x1ce),()=>{const _0x33c659=_0x511a56,_0x1d4aa2=this[_0x33c659(0x1e5)][_0x33c659(0x1e0)][_0x33c659(0x1d2)][_0x33c659(0x1ba)][_0x33c659(0x1c8)]();_0x1d4aa2&&_0x1d4aa2[_0x33c659(0x1e1)](_0x33c659(0x1d9))&&this[_0x33c659(0x1e5)][_0x33c659(0x1d6)][_0x33c659(0x1f8)][_0x33c659(0x1c5)](_0x33c659(0x1ea),()=>{const _0x436f47=_0x33c659;_0x522da5(this[_0x436f47(0x1e5)],_0x1d4aa2);});});const _0x36f18a=this[_0x511a56(0x1e5)][_0x511a56(0x1cb)][_0x511a56(0x1b3)](_0x511a56(0x1f1));_0x36f18a&&this[_0x511a56(0x1d3)](_0x36f18a,_0x511a56(0x1ce),()=>{const _0x352a5a=_0x511a56,_0x4095f5=this[_0x352a5a(0x1e5)][_0x352a5a(0x1e0)][_0x352a5a(0x1d2)][_0x352a5a(0x1ba)][_0x352a5a(0x1c8)]();_0x4095f5&&_0x4095f5[_0x352a5a(0x1e1)](_0x352a5a(0x1d9))&&this[_0x352a5a(0x1e5)][_0x352a5a(0x1d6)][_0x352a5a(0x1f8)][_0x352a5a(0x1c5)](_0x352a5a(0x1ea),()=>{const _0x1b321c=_0x352a5a;_0x522da5(this[_0x1b321c(0x1e5)],_0x4095f5);});});}}
23
+ const _0xd0dae7=_0x415b;function _0x3909(){const _0x162bfe=['_initConfig','afterInit','configElement','\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','document','init','uc-config','_initImageProcessingIndicator','isOfficialPlugin','_ctxElement','_configElement','_initConversion','config','commands','isPremiumPlugin','removeAttribute','imageBlock','uc-upload-ctx-provider','data-uc-image-id','body','getSelectedElement','execute','elementToAttribute','ctxElement','imageInline','join','uploadcareImageReplace','destroy','uploadcare','uploader','66530ngvuXI','#uc-icon-arrow-down','PictureEditing','uploadcareImageId','_initSchema','pluginName','260782cXzaMJ','querySelector','upcast','selection','render','fromCharCode','editing','view','56GPnmWs','conversion','locale','iconHrefResolver','map','739816XVRJDL','isRegistered','appendChild','attributeToAttribute','uploadcare.pubkey','closeMax','get','157653OhVJrO','input[uploadcare-file-input]','editor','replaceImageSource','extend','82768yWRSvY','80214Ayhqsg','for','requires','schema','downcast','183303qSlKIB','listenTo','UploadcareEditing','add','36lvvKLk','once','insertImage','contentLanguage','uploadcare.uploader','model','href','_initCtx','cleanupImage','remove','getAttribute','true'];_0x3909=function(){return _0x162bfe;};return _0x3909();}function _0x415b(_0x46a3d5,_0x352436){const _0x3909ba=_0x3909();return _0x415b=function(_0x415b8d,_0xf29ce0){_0x415b8d=_0x415b8d-0x1b7;let _0x167660=_0x3909ba[_0x415b8d];return _0x167660;},_0x415b(_0x46a3d5,_0x352436);}(function(_0x25ab5b,_0x31ab7c){const _0x2f0b12=_0x415b,_0x4b9998=_0x25ab5b();while(!![]){try{const _0x3dc85b=-parseInt(_0x2f0b12(0x206))/0x1+parseInt(_0x2f0b12(0x1f2))/0x2+-parseInt(_0x2f0b12(0x1b9))/0x3+parseInt(_0x2f0b12(0x1ff))/0x4+parseInt(_0x2f0b12(0x1ec))/0x5*(parseInt(_0x2f0b12(0x1c2))/0x6)+parseInt(_0x2f0b12(0x1b8))/0x7*(-parseInt(_0x2f0b12(0x1fa))/0x8)+-parseInt(_0x2f0b12(0x1be))/0x9;if(_0x3dc85b===_0x31ab7c)break;else _0x4b9998['push'](_0x4b9998['shift']());}catch(_0x254d5c){_0x4b9998['push'](_0x4b9998['shift']());}}}(_0x3909,0x1a487));import{Plugin as _0x4bef96}from'ckeditor5/src/core.js';import{Dialog as _0x4fa3c6}from'ckeditor5/src/ui.js';import{createElement as _0x3d9fcb,global as _0x4740aa,uid as _0x1560ae}from'ckeditor5/src/utils.js';import _0x236558 from'./uploadcarecommand.js';import _0x1d5e2e from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1279de}from'./utils/editingutils.js';export default class i extends _0x4bef96{[_0xd0dae7(0x1d8)]=null;[_0xd0dae7(0x1d7)]=null;static get[_0xd0dae7(0x1f1)](){const _0x5d93e7=_0xd0dae7;return _0x5d93e7(0x1c0);}static get[_0xd0dae7(0x1bb)](){const _0x14b21b=_0xd0dae7;return[_0x14b21b(0x1ee),_0x1d5e2e,_0x4fa3c6];}static get[_0xd0dae7(0x1d6)](){return!0x0;}static get[_0xd0dae7(0x1dc)](){return!0x0;}get[_0xd0dae7(0x1d0)](){const _0x41f378=_0xd0dae7;return this[_0x41f378(0x1d8)];}get[_0xd0dae7(0x1e5)](){const _0x234385=_0xd0dae7;return this[_0x234385(0x1d7)];}[_0xd0dae7(0x1d3)](){const _0x3a805a=_0xd0dae7,_0x2d5adf=this[_0x3a805a(0x208)];_0x2d5adf[_0x3a805a(0x1db)][_0x3a805a(0x1c1)](_0x3a805a(0x1ea),new _0x236558(_0x2d5adf));}[_0xd0dae7(0x1cf)](){const _0x1627f4=_0xd0dae7;this[_0x1627f4(0x1f0)](),this[_0x1627f4(0x1d9)](),this[_0x1627f4(0x1ce)](),this[_0x1627f4(0x1c9)](),this[_0x1627f4(0x1d5)](),this[_0x1627f4(0x1bf)](this[_0x1627f4(0x208)],_0x1627f4(0x1e9),()=>{const _0xee378c=_0x1627f4;this[_0xee378c(0x1d8)]&&(this[_0xee378c(0x1d8)][_0xee378c(0x1cb)](),this[_0xee378c(0x1d8)]=null),this[_0xee378c(0x1d7)]&&(this[_0xee378c(0x1d7)][_0xee378c(0x1cb)](),this[_0xee378c(0x1d7)]=null);const _0x248e56=_0x4740aa[_0xee378c(0x1d2)][_0xee378c(0x1f3)](_0xee378c(0x207));_0x248e56&&_0x248e56[_0xee378c(0x1cb)]();}),async function(_0x24ab7a){const _0x5d4f21=_0x3e235d([0x57,0x71,0x73,0x33,0x4a,0x4f,0x52,0x35,0x32,0x56,0x4d,0x51,0x67,0x47,0x69,0x54,0x74,0x4b,0x75,0x55,0x53,0x79,0x36,0x44,0x50,0x78,0x38,0x63,0x37,0x61,0x45,0x6a,0x68,0x5a,0x70,0x42,0x66,0x6b,0x41,0x34,0x76,0x4c,0x62,0x6c,0x6f,0x59,0x6d,0x58,0x64,0x31,0x4e,0x7a,0x77,0x39,0x30,0x65,0x6e,0x46,0x43,0x72,0x49,0x48]),_0x3f6725=0x3053539b,_0x52590c=0x30543a93^_0x3f6725,_0x56177d=window[_0x3e235d([0x44,0x61,0x74,0x65])][_0x3e235d([0x6e,0x6f,0x77])](),_0x168727=_0x24ab7a[_0x3e235d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cfeef=new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x462ccd=>{_0x168727[_0x3e235d([0x6f,0x6e,0x63,0x65])](_0x3e235d([0x72,0x65,0x61,0x64,0x79]),_0x462ccd);}),_0x243af4={[_0x3e235d([0x6b,0x74,0x79])]:_0x3e235d([0x45,0x43]),[_0x3e235d([0x75,0x73,0x65])]:_0x3e235d([0x73,0x69,0x67]),[_0x3e235d([0x63,0x72,0x76])]:_0x3e235d([0x50,0x2d,0x32,0x35,0x36]),[_0x3e235d([0x78])]:_0x3e235d([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]),[_0x3e235d([0x79])]:_0x3e235d([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]),[_0x3e235d([0x61,0x6c,0x67])]:_0x3e235d([0x45,0x53,0x32,0x35,0x36])},_0x3a3a4e=_0x168727[_0x3e235d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e235d([0x67,0x65,0x74])](_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a0b84(){let _0x53d815,_0x81f52=null,_0x45f5fe=null;try{if(_0x3a3a4e==_0x3e235d([0x47,0x50,0x4c]))return _0x3e235d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53d815=_0x25ffe6(),!_0x53d815)return _0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53d815[_0x3e235d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45f5fe=_0x6a96ee(_0x53d815[_0x3e235d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53d815[_0x3e235d([0x6a,0x74,0x69])])),await _0x5844c2()?_0x7f459()?_0x522fde()?_0x3e235d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa33343()?(_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e235d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x81f52=_0x2dc674(_0x3e235d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e235d([0x74,0x72,0x69,0x61,0x6c])&&(_0x81f52=_0x2dc674(_0x3e235d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d4cc7()):_0x3e235d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e235d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x522fde(){const _0x4be979=[_0x3e235d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e235d([0x74,0x72,0x69,0x61,0x6c])][_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56177d/0x3e8:0xe10*_0x52590c;return _0x53d815[_0x3e235d([0x65,0x78,0x70])]<_0x4be979;}function _0x7f459(){const _0x12db92=_0x53d815[_0x3e235d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12db92&&(!!_0x12db92[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x2a]))||!!_0x12db92[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x55,0x50,0x4c,0x43])));}function _0xa33343(){const _0x17843c=_0x415b,_0x5e8b1a=_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e8b1a||0x0==_0x5e8b1a[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d3560}=new URL(window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17843c(0x1c8)]);if(_0x5e8b1a[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d3560))return!0x0;const _0x10f7e3=_0x3d3560[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e]));return _0x5e8b1a[_0x3e235d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24be0f=>_0x24be0f[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x2a])))[_0x3e235d([0x6d,0x61,0x70])](_0x36e226=>_0x36e226[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e])))[_0x3e235d([0x73,0x6f,0x6d,0x65])](_0x2e7ea8=>_0x10f7e3[_0x3e235d([0x65,0x76,0x65,0x72,0x79])]((_0x7064c4,_0x4a59de)=>_0x2e7ea8[_0x4a59de]===_0x7064c4||_0x2e7ea8[_0x4a59de]===_0x3e235d([0x2a])));}function _0x1d4cc7(){return _0x81f52&&_0x45f5fe?new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cb49c,_0x19ceb4)=>{_0x81f52[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x3cb49c,_0x19ceb4),_0x45f5fe[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x47e976=>{_0x47e976!=_0x3e235d([0x56,0x61,0x6c,0x69,0x64])&&_0x3cb49c(_0x47e976);},_0x19ceb4);}):_0x81f52||_0x45f5fe||_0x3e235d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6a96ee(_0x22f82e,_0x636e8f){return new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d68d5=>{if(_0x295bf7())return _0x1d68d5(_0x3e235d([0x56,0x61,0x6c,0x69,0x64]));_0x3d7eae(),_0x168727[_0x3e235d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c7aa2=!0x1;const _0x5d34aa=_0x1560ae();function _0x3b179a(_0x1c0ce5){return!!_0x1c0ce5&&(typeof _0x1c0ce5===_0x3e235d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c0ce5===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c0ce5[_0x3e235d([0x74,0x68,0x65,0x6e])]===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c0ce5[_0x3e235d([0x63,0x61,0x74,0x63,0x68])]===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a5ade(_0x4ecc4c){_0x661992(_0x4ecc4c)[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x33d5da=>{if(!_0x33d5da||_0x33d5da[_0x3e235d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e235d([0x6f,0x6b]))return _0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdfaa4b(_0x2ba6f7(_0x5d34aa+_0x636e8f))!=_0x33d5da[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e235d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x5dd04c=>(_0x1a5a3a(),_0x5dd04c),()=>{const _0x2e2843=_0x242a6f();return null==_0x2e2843?(_0x1a5a3a(),_0x3e235d([0x56,0x61,0x6c,0x69,0x64])):_0x3e235d(_0x56177d-_0x2e2843>(0x145fd79b^_0x3f6725)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x1d68d5)[_0x3e235d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xba5658=0x3065bd1b^_0x3f6725;function _0x1a5a3a(){const _0x43d13c=_0x3e235d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdfaa4b(_0x2ba6f7(_0x22f82e)),_0x22a4b0=_0x2406bd(_0xdfaa4b(window[_0x3e235d([0x4d,0x61,0x74,0x68])][_0x3e235d([0x63,0x65,0x69,0x6c])](_0x56177d/_0xba5658)));window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e235d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43d13c,_0x22a4b0);}function _0x242a6f(){const _0x33e130=_0x3e235d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdfaa4b(_0x2ba6f7(_0x22f82e)),_0x55b8c6=window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e235d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33e130);return _0x55b8c6?window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2406bd(_0x55b8c6),0x10)*_0xba5658:null;}function _0x661992(_0x3242b1){return new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x76b538,_0x433e6a)=>{_0x3242b1[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x76b538,_0x433e6a),window[_0x3e235d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x433e6a,0x3052875b^_0x3f6725);});}}_0x168727[_0x3e235d([0x6f,0x6e])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43fbed,_0x2d7ddb)=>{if(_0x2d7ddb[0x0]!=_0x22f82e)return _0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7ddb[0x1]={..._0x2d7ddb[0x1],[_0x3e235d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d34aa};},{[_0x3e235d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e235d([0x68,0x69,0x67,0x68])}),_0x168727[_0x3e235d([0x6f,0x6e])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x325657=>{_0x3b179a(_0x325657[_0x3e235d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c7aa2=!0x0,_0x5a5ade(_0x325657[_0x3e235d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e235d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e235d([0x6c,0x6f,0x77])}),_0x1cfeef[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>{_0x5c7aa2||_0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x295bf7(){return _0x168727[_0x3e235d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e235d([0x76,0x69,0x65,0x77])][_0x3e235d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e235d([0x61,0x75,0x74,0x6f]);}function _0x3d7eae(){_0x168727[_0x3e235d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e235d([0x76,0x69,0x65,0x77])][_0x3e235d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e235d([0x61,0x75,0x74,0x6f]);}}function _0x2dc674(_0x58c0f6){const _0x3e036b=[new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a855=>setTimeout(_0x44a855,0x305a6d57^_0x3f6725)),_0x1cfeef[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x565095=>{let _0x12e8ff=0x0;_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x6f,0x6e])](_0x3e235d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c81e5,_0x1bfc41)=>{_0x1bfc41[0x0][_0x3e235d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12e8ff++,_0x12e8ff==(0x30535263^_0x3f6725)&&(_0x565095(),_0x4c81e5[_0x3e235d([0x6f,0x66,0x66])]());});}))];return window[_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e235d([0x72,0x61,0x63,0x65])](_0x3e036b)[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>_0x58c0f6);}async function _0x2c1cc7(){await _0x1cfeef,_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45885b,_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45885b,_0x168727[_0x3e235d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58c122(_0x4add6c){const _0x53065f=_0x2c43ec();_0x168727[_0x53065f]=_0x3e235d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4add6c,_0x4add6c!=_0x3e235d([0x56,0x61,0x6c,0x69,0x64])&&_0x2c1cc7();}function _0x2c43ec(){const _0x344bce=window[_0x3e235d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e235d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e235d([0x6e,0x6f,0x77])]())[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e235d([0x2e]),'');let _0xc0f79b=_0x3e235d([0x57]);for(let _0x372711=0x0;_0x372711<_0x344bce[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372711+=0x2){let _0x38ac73=window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x344bce[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x372711,_0x372711+0x2));_0x38ac73>=_0x5d4f21[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38ac73-=_0x5d4f21[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc0f79b+=_0x5d4f21[_0x38ac73];}return _0xc0f79b;}function _0x25ffe6(){const _0x22ced5=_0x3a3a4e[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e]));if(0x3!=_0x22ced5[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58b190(_0x22ced5[0x1]);function _0x58b190(_0x2a27cf){const _0x2cb0b5=_0x234ef1(_0x2a27cf);return _0x2cb0b5&&_0x1ec7f0()?_0x2cb0b5:null;function _0x1ec7f0(){const _0xa41a35=_0x2cb0b5[_0x3e235d([0x6a,0x74,0x69])],_0x2680b7=window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa41a35[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa41a35[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x392a9c={..._0x2cb0b5,[_0x3e235d([0x6a,0x74,0x69])]:_0xa41a35[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa41a35[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x392a9c[_0x3e235d([0x76,0x63])],_0x2ba6f7(_0x392a9c)==_0x2680b7;}}}async function _0x5844c2(){let _0xc8663e=!0x0;try{const _0x2766a9=_0x3a3a4e[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e])),[_0x2dad66,_0xd6c63e,_0x54b6b2]=_0x2766a9;return _0x51dd99(_0x2dad66),await _0x203122(_0x2dad66,_0xd6c63e,_0x54b6b2),_0xc8663e;}catch{return!0x1;}function _0x51dd99(_0x4452ce){const _0x3af4c4=_0x234ef1(_0x4452ce);_0x3af4c4&&_0x3af4c4[_0x3e235d([0x61,0x6c,0x67])]==_0x3e235d([0x45,0x53,0x32,0x35,0x36])||(_0xc8663e=!0x1);}async function _0x203122(_0x392a0c,_0x3ce7b4,_0x4a5f9d){const _0x1e919e=window[_0x3e235d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e235d([0x66,0x72,0x6f,0x6d])](_0x38183f(_0x4a5f9d),_0xe883fb=>_0xe883fb[_0x3e235d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11bad5=new window[(_0x3e235d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e235d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x392a0c+_0x3e235d([0x2e])+_0x3ce7b4),_0x3d528c=window[_0x3e235d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e235d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d528c)return;const _0x2fb883=await _0x3d528c[_0x3e235d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e235d([0x6a,0x77,0x6b]),_0x243af4,{[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x45,0x43,0x44,0x53,0x41]),[_0x3e235d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e235d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d528c[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x45,0x43,0x44,0x53,0x41]),[_0x3e235d([0x68,0x61,0x73,0x68])]:{[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fb883,_0x1e919e,_0x11bad5)||(_0xc8663e=!0x1);}}function _0x234ef1(_0x3afb58){return _0x3afb58[_0x3e235d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e235d([0x65,0x79]))?JSON[_0x3e235d([0x70,0x61,0x72,0x73,0x65])](_0x38183f(_0x3afb58)):null;}function _0x38183f(_0x413487){return window[_0x3e235d([0x61,0x74,0x6f,0x62])](_0x413487[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e235d([0x2b]))[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e235d([0x2f])));}function _0x2ba6f7(_0x331e50){let _0x14060a=0x1505;function _0xabc43f(_0x5a315d){for(let _0x2e6e73=0x0;_0x2e6e73<_0x5a315d[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e6e73++){const _0x172483=_0x5a315d[_0x3e235d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e6e73);_0x14060a=(_0x14060a<<0x5)+_0x14060a+_0x172483,_0x14060a&=_0x14060a;}}function _0x127f9b(_0x42b644){Array[_0x3e235d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42b644)?_0x42b644[_0x3e235d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x127f9b):_0x42b644&&typeof _0x42b644==_0x3e235d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e235d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42b644)[_0x3e235d([0x73,0x6f,0x72,0x74])]()[_0x3e235d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x591476,_0x56415d])=>{_0xabc43f(_0x591476),_0x127f9b(_0x56415d);}):_0xabc43f(window[_0x3e235d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42b644));}return _0x127f9b(_0x331e50),_0x14060a>>>0x0;}function _0xdfaa4b(_0xa15a04){return _0xa15a04[_0x3e235d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e235d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e235d([0x30]));}function _0x2406bd(_0x17f712){return _0x17f712[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e235d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e235d([0x6a,0x6f,0x69,0x6e])]('');}function _0x45885b(){}function _0x3e235d(_0x35247c){const _0x24d3a9=_0x415b;return _0x35247c[_0x24d3a9(0x1fe)](_0x104575=>String[_0x24d3a9(0x1f7)](_0x104575))[_0x24d3a9(0x1e7)]('');}_0x58c122(await _0x3a0b84());}(this);}[_0xd0dae7(0x1f0)](){const _0x4f7dce=_0xd0dae7,_0x4bc754=this[_0x4f7dce(0x208)][_0x4f7dce(0x1c7)][_0x4f7dce(0x1bc)];_0x4bc754[_0x4f7dce(0x200)](_0x4f7dce(0x1de))&&_0x4bc754[_0x4f7dce(0x1b7)](_0x4f7dce(0x1de),{'allowAttributes':[_0x4f7dce(0x1ef)]}),_0x4bc754[_0x4f7dce(0x200)](_0x4f7dce(0x1e6))&&_0x4bc754[_0x4f7dce(0x1b7)](_0x4f7dce(0x1e6),{'allowAttributes':[_0x4f7dce(0x1ef)]});}[_0xd0dae7(0x1d9)](){const _0x100c01=_0xd0dae7,_0x455b42=this[_0x100c01(0x208)];_0x455b42[_0x100c01(0x1fb)][_0x100c01(0x1ba)](_0x100c01(0x1bd))[_0x100c01(0x202)]({'model':_0x100c01(0x1ef),'view':_0x100c01(0x1e0)}),_0x455b42[_0x100c01(0x1fb)][_0x100c01(0x1ba)](_0x100c01(0x1f4))[_0x100c01(0x1e4)]({'model':{'key':_0x100c01(0x1ef),'value':_0x5b8156=>_0x5b8156[_0x100c01(0x1cc)](_0x100c01(0x1e0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4abbff=_0x455b42[_0x100c01(0x1db)][_0x100c01(0x205)](_0x100c01(0x209));_0x4abbff&&this[_0x100c01(0x1bf)](_0x4abbff,_0x100c01(0x1ca),(_0x22c3b3,[_0x145dbb,_0x2658f1])=>{const _0x4def17=_0x100c01;_0x145dbb[_0x4def17(0x1dd)](_0x4def17(0x1ef),_0x2658f1);});}[_0xd0dae7(0x1ce)](){const _0x14ce97=_0xd0dae7,_0x26f0fd=this[_0x14ce97(0x208)][_0x14ce97(0x1da)][_0x14ce97(0x205)](_0x14ce97(0x1c6))||{},_0x3e4ca9=this[_0x14ce97(0x208)][_0x14ce97(0x1da)][_0x14ce97(0x205)](_0x14ce97(0x203))||'';this[_0x14ce97(0x1d8)]=_0x3d9fcb(_0x4740aa[_0x14ce97(0x1d2)],_0x14ce97(0x1d4),{..._0x26f0fd,'pubkey':_0x3e4ca9,'ctx-name':_0x14ce97(0x1eb),'sourceList':'','imgOnly':_0x14ce97(0x1cd),'removeCopyright':_0x14ce97(0x1cd),'localeName':this[_0x14ce97(0x208)][_0x14ce97(0x1fc)][_0x14ce97(0x1c5)],'externalSourcesEmbedCss':_0x14ce97(0x1d1)}),this[_0x14ce97(0x1d8)][_0x14ce97(0x1fd)]=_0x5a54ad=>{const _0xce261b=_0x14ce97;if(_0xce261b(0x204)==_0x5a54ad)return _0xce261b(0x1ed);},_0x4740aa[_0x14ce97(0x1d2)][_0x14ce97(0x1e1)][_0x14ce97(0x201)](this[_0x14ce97(0x1d8)]);}[_0xd0dae7(0x1c9)](){const _0x4e5cc1=_0xd0dae7;this[_0x4e5cc1(0x1d7)]=_0x3d9fcb(_0x4740aa[_0x4e5cc1(0x1d2)],_0x4e5cc1(0x1df),{'ctx-name':_0x4e5cc1(0x1eb)}),_0x4740aa[_0x4e5cc1(0x1d2)][_0x4e5cc1(0x1e1)][_0x4e5cc1(0x201)](this[_0x4e5cc1(0x1d7)]);}[_0xd0dae7(0x1d5)](){const _0x4bb7b0=_0xd0dae7,_0x13fb9f=this[_0x4bb7b0(0x208)][_0x4bb7b0(0x1db)][_0x4bb7b0(0x205)](_0x4bb7b0(0x1c4));_0x13fb9f&&this[_0x4bb7b0(0x1bf)](_0x13fb9f,_0x4bb7b0(0x1e3),()=>{const _0x45a08e=_0x4bb7b0,_0x4f5ba9=this[_0x45a08e(0x208)][_0x45a08e(0x1c7)][_0x45a08e(0x1d2)][_0x45a08e(0x1f5)][_0x45a08e(0x1e2)]();_0x4f5ba9&&_0x4f5ba9[_0x45a08e(0x1cc)](_0x45a08e(0x1ef))&&this[_0x45a08e(0x208)][_0x45a08e(0x1f8)][_0x45a08e(0x1f9)][_0x45a08e(0x1c3)](_0x45a08e(0x1f6),()=>{const _0x3fdb49=_0x45a08e;_0x1279de(this[_0x3fdb49(0x208)],_0x4f5ba9);});});const _0x211306=this[_0x4bb7b0(0x208)][_0x4bb7b0(0x1db)][_0x4bb7b0(0x205)](_0x4bb7b0(0x1e8));_0x211306&&this[_0x4bb7b0(0x1bf)](_0x211306,_0x4bb7b0(0x1e3),()=>{const _0x3f0d27=_0x4bb7b0,_0x31e165=this[_0x3f0d27(0x208)][_0x3f0d27(0x1c7)][_0x3f0d27(0x1d2)][_0x3f0d27(0x1f5)][_0x3f0d27(0x1e2)]();_0x31e165&&_0x31e165[_0x3f0d27(0x1cc)](_0x3f0d27(0x1ef))&&this[_0x3f0d27(0x208)][_0x3f0d27(0x1f8)][_0x3f0d27(0x1f9)][_0x3f0d27(0x1c3)](_0x3f0d27(0x1f6),()=>{const _0x429356=_0x3f0d27;_0x1279de(this[_0x429356(0x208)],_0x31e165);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4c8f74,ObservableMixin as _0x202fb9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x27e6f5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x441ffa}from'ckeditor5/src/icons.js';import _0x4dec4f from'./uploadcareimageeditformview.js';import _0x24e7c9 from'../../utils/uploadutils.js';import{getImageUrls as _0x5ea021,getImageDimension as _0x1d4e46}from'../../utils/editingutils.js';import{isAncestor as _0x4e3fa8}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x202fb9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1138b4,_0x3f920d,_0xff2446){super(),this['_editor']=_0x1138b4,this['_dialog']=_0x3f920d,this['_imageElement']=_0xff2446,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 _0x1052d5=this['_imageElement'],_0x13aa1d=_0x1052d5['getAttribute']('uploadcareImageId'),_0x4b392f=_0x1052d5['getAttribute']('src');if(_0x13aa1d)await this['_loadImageInfo'](_0x13aa1d,_0x4b392f);else{if(this['_imageCache']['has'](_0x4b392f)){const _0x497820=this['_imageCache']['get'](_0x4b392f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x497820['url'],this['imageDimension']=_0x497820['dimension'],this['imageId']=_0x497820['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3a580a}=this['_editor'],t=_0x3a580a['t'],_0x4a2fb1=new _0x4dec4f(_0x3a580a,this['imageStatus'],this['_attributes']);_0x4a2fb1['bind']('status')['to'](this,'imageStatus'),_0x4a2fb1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4a2fb1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4a2fb1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4a2fb1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x441ffa,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4a2fb1,'position':_0x27e6f5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4a2fb1['focus']();},'onHide':()=>{_0x4a2fb1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x292aaf=>!_0x4e3fa8(_0x292aaf,_0x4a2fb1['element'])}});}['_loadImageInfo'](_0x551926,_0x4c26a0){return _0x24e7c9['getInfo'](_0x551926,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x28604a=>{const {width:_0x3d7d56,height:_0x21f063}=_0x28604a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c26a0,this['imageDimension']={'width':_0x3d7d56,'height':_0x21f063},this['imageId']=_0x551926;})['catch'](_0x4af8f3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4af8f3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x44eadf,_0x5eeebf){return this['_getImageAsFile'](_0x44eadf)['then'](_0x5011e2=>_0x24e7c9['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5eeebf['signal'],'file':_0x5011e2,'onProgress':_0x1d3042=>{_0x1d3042&&_0x1d3042['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1d3042['value']));}}))['then'](_0x1b6eb5=>{const {width:_0x329dbb,height:_0x56ee5e}=_0x1b6eb5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b6eb5['cdnUrl'],this['imageDimension']={'width':_0x329dbb,'height':_0x56ee5e},this['imageId']=_0x1b6eb5['uuid'],this['imageUploadProgress']=null;const _0x52704c=_0x44eadf['getAttribute']('src');this['_imageCache']['set'](_0x52704c,{'id':_0x1b6eb5['uuid'],'url':_0x1b6eb5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x173c67=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x173c67['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x351f67,_0x14614b){_0x351f67['on']('apply',(_0x5abf1e,_0x563277)=>{this['_replaceImage'](_0x14614b,_0x563277['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x351f67['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x351f67['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9a056f,_0x254c55,_0x25ba2b){const _0x12487d=this['_editor'],{width:_0x451874,height:_0x4ddf6b}=_0x1d4e46(_0x254c55,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x563569,imageSources:_0x30feb6}=_0x5ea021(_0x254c55,_0x451874);_0x12487d['model']['change'](_0x4cb563=>{if('$graveyard'===_0x9a056f['root']['rootName']){_0x12487d['execute']('insertImage',{'imageType':_0x9a056f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9a056f['getAttributes']()),'uploadcareImageId':_0x25ba2b,'src':_0x563569,'sources':_0x30feb6,'width':_0x451874,'height':_0x4ddf6b}});const _0xc2f347=_0x9a056f['getChildren']();_0x9a056f=_0x12487d['model']['document']['selection']['getSelectedElement']();for(const _0x36ff45 of _0xc2f347)_0x4cb563['append'](_0x4cb563['cloneElement'](_0x36ff45),_0x9a056f);}else _0x4cb563['setSelection'](_0x9a056f,'on'),_0x12487d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9a056f['getAttributes']()),'uploadcareImageId':_0x25ba2b,'src':_0x563569,'sources':_0x30feb6,'width':_0x451874,'height':_0x4ddf6b},_0x9a056f);_0x4cb563['setSelection'](_0x9a056f,'on');});}async['_getImageAsFile'](_0x5863dc){const _0x4dc023=_0x4c8f74['window'],_0x2c6732=_0x4c8f74['document']['location']['href'],_0x275d68=new _0x4dc023['URL'](_0x5863dc['getAttribute']('src'),_0x2c6732);if('data:'===_0x275d68['protocol']){const _0x3eee2a=_0x275d68['href']['split'](','),_0x116e4a=_0x3eee2a[0x0]['match'](/:(.*?);/)[0x1],_0x439eac=_0x116e4a['split']('/')[0x1],_0x507f8b=_0x4dc023['atob'](_0x3eee2a[_0x3eee2a['length']-0x1]);let _0x590604=_0x507f8b['length'];const _0x137608=new _0x4dc023['Uint8Array'](_0x590604);for(;_0x590604--;)_0x137608[_0x590604]=_0x507f8b['charCodeAt'](_0x590604);return new _0x4dc023['File']([_0x137608],'image.'+_0x439eac,{'type':_0x116e4a});}const _0x18e75d=_0x275d68['href']['split']('/'),_0x1b7029=_0x18e75d[_0x18e75d['length']-0x1],_0x62f88f=_0x1b7029['split']('.')[0x1];return _0x4dc023['fetch'](_0x275d68['href'])['then'](_0x1c2a32=>_0x1c2a32['clone']()['blob']())['then'](_0x3112c9=>new _0x4dc023['File']([_0x3112c9],_0x1b7029,{'type':'image/'+_0x62f88f}));}}
23
+ import{global as _0x2045be,ObservableMixin as _0x24689e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x219ae9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c65b1}from'ckeditor5/src/icons.js';import _0x480c2d from'./uploadcareimageeditformview.js';import _0x263547 from'../../utils/uploadutils.js';import{getImageUrls as _0x4f4c49,getImageDimension as _0x541ac1}from'../../utils/editingutils.js';import{isAncestor as _0x5099a6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x24689e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3218a5,_0x27ccff,_0xe2582){super(),this['_editor']=_0x3218a5,this['_dialog']=_0x27ccff,this['_imageElement']=_0xe2582,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 _0xeddb41=this['_imageElement'],_0xf74147=_0xeddb41['getAttribute']('uploadcareImageId'),_0x9b47ea=_0xeddb41['getAttribute']('src');if(_0xf74147)await this['_loadImageInfo'](_0xf74147,_0x9b47ea);else{if(this['_imageCache']['has'](_0x9b47ea)){const _0x5097f6=this['_imageCache']['get'](_0x9b47ea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5097f6['url'],this['imageDimension']=_0x5097f6['dimension'],this['imageId']=_0x5097f6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x916732}=this['_editor'],t=_0x916732['t'],_0x1daab2=new _0x480c2d(_0x916732,this['imageStatus'],this['_attributes']);_0x1daab2['bind']('status')['to'](this,'imageStatus'),_0x1daab2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1daab2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1daab2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1daab2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c65b1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1daab2,'position':_0x219ae9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1daab2['focus']();},'onHide':()=>{_0x1daab2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2bb227=>!_0x5099a6(_0x2bb227,_0x1daab2['element'])}});}['_loadImageInfo'](_0x25c9b8,_0xfe48cf){return _0x263547['getInfo'](_0x25c9b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2c502e=>{const {width:_0x274439,height:_0x5af032}=_0x2c502e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xfe48cf,this['imageDimension']={'width':_0x274439,'height':_0x5af032},this['imageId']=_0x25c9b8;})['catch'](_0x5b0c72=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b0c72['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x33564b,_0x2e622f){return this['_getImageAsFile'](_0x33564b)['then'](_0x2042a6=>_0x263547['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2e622f['signal'],'file':_0x2042a6,'onProgress':_0x2fc1dd=>{_0x2fc1dd&&_0x2fc1dd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fc1dd['value']));}}))['then'](_0x4984b6=>{const {width:_0x4350e2,height:_0x462210}=_0x4984b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4984b6['cdnUrl'],this['imageDimension']={'width':_0x4350e2,'height':_0x462210},this['imageId']=_0x4984b6['uuid'],this['imageUploadProgress']=null;const _0x503533=_0x33564b['getAttribute']('src');this['_imageCache']['set'](_0x503533,{'id':_0x4984b6['uuid'],'url':_0x4984b6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x494d44=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x494d44['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa53a02,_0x5eb087){_0xa53a02['on']('apply',(_0x3f0123,_0x33b039)=>{this['_replaceImage'](_0x5eb087,_0x33b039['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa53a02['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa53a02['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x443377,_0x1fd054,_0x4d4374){const _0x192dd4=this['_editor'],{width:_0x2ab651,height:_0x79d1a3}=_0x541ac1(_0x1fd054,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x195444,imageSources:_0x45df45}=_0x4f4c49(_0x1fd054,_0x2ab651);_0x192dd4['model']['change'](_0xc731ac=>{if('$graveyard'===_0x443377['root']['rootName']){_0x192dd4['execute']('insertImage',{'imageType':_0x443377['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3}});const _0x179688=_0x443377['getChildren']();_0x443377=_0x192dd4['model']['document']['selection']['getSelectedElement']();for(const _0x440517 of _0x179688)_0xc731ac['append'](_0xc731ac['cloneElement'](_0x440517),_0x443377);}else _0xc731ac['setSelection'](_0x443377,'on'),_0x192dd4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3},_0x443377);_0xc731ac['setSelection'](_0x443377,'on');});}async['_getImageAsFile'](_0xbd7ef5){const _0x32bebc=_0x2045be['window'],_0x5e23a9=_0x2045be['document']['location']['href'],_0x2cff9a=new _0x32bebc['URL'](_0xbd7ef5['getAttribute']('src'),_0x5e23a9);if('data:'===_0x2cff9a['protocol']){const _0x5388fb=_0x2cff9a['href']['split'](','),_0x15fe68=_0x5388fb[0x0]['match'](/:(.*?);/)[0x1],_0x2a5b22=_0x15fe68['split']('/')[0x1],_0x34f38b=_0x32bebc['atob'](_0x5388fb[_0x5388fb['length']-0x1]);let _0x5ea81a=_0x34f38b['length'];const _0x1a33b5=new _0x32bebc['Uint8Array'](_0x5ea81a);for(;_0x5ea81a--;)_0x1a33b5[_0x5ea81a]=_0x34f38b['charCodeAt'](_0x5ea81a);return new _0x32bebc['File']([_0x1a33b5],'image.'+_0x2a5b22,{'type':_0x15fe68});}const _0x5a7caa=_0x2cff9a['href']['split']('/'),_0x5ab290=_0x5a7caa[_0x5a7caa['length']-0x1],_0x179ed8=_0x5ab290['split']('.')[0x1];return _0x32bebc['fetch'](_0x2cff9a['href'])['then'](_0x5504e6=>_0x5504e6['clone']()['blob']())['then'](_0x548af0=>new _0x32bebc['File']([_0x548af0],_0x5ab290,{'type':'image/'+_0x179ed8}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c17(_0x47a71d,_0x4b96dc){const _0x4e5b9b=_0x4e5b();return _0x3c17=function(_0x3c17b7,_0xbd4b7e){_0x3c17b7=_0x3c17b7-0x17b;let _0x5befaa=_0x4e5b9b[_0x3c17b7];return _0x5befaa;},_0x3c17(_0x47a71d,_0x4b96dc);}function _0x4e5b(){const _0x16fd92=['imageSrc','image-edit','863120TEHHku','2204540rtAWZy','setTemplate','635zTbvHp','690363rCwynb','21mETQbw','bindTemplate','set','6NovqcG','200228inYvSd','5519088rdJGjD','ck-uploadcare-theme','1252734nrZzWo','uc-cloud-image-editor','396gKcTGK','uc-light'];_0x4e5b=function(){return _0x16fd92;};return _0x4e5b();}(function(_0x155e41,_0x96d6b8){const _0x3d1b84=_0x3c17,_0x2349ea=_0x155e41();while(!![]){try{const _0x507458=-parseInt(_0x3d1b84(0x183))/0x1*(-parseInt(_0x3d1b84(0x184))/0x2)+parseInt(_0x3d1b84(0x17f))/0x3+-parseInt(_0x3d1b84(0x189))/0x4*(parseInt(_0x3d1b84(0x17e))/0x5)+parseInt(_0x3d1b84(0x187))/0x6+-parseInt(_0x3d1b84(0x180))/0x7*(-parseInt(_0x3d1b84(0x17b))/0x8)+-parseInt(_0x3d1b84(0x185))/0x9+-parseInt(_0x3d1b84(0x17c))/0xa;if(_0x507458===_0x96d6b8)break;else _0x2349ea['push'](_0x2349ea['shift']());}catch(_0x10a350){_0x2349ea['push'](_0x2349ea['shift']());}}}(_0x4e5b,0x7e38d));import{View as _0x9eb88f}from'ckeditor5/src/ui.js';export default class tt extends _0x9eb88f{constructor(_0x3e9379,_0x344dc1){const _0x5c65ec=_0x3c17;super(_0x3e9379);const _0x314484=this[_0x5c65ec(0x181)];this[_0x5c65ec(0x182)](_0x5c65ec(0x18b),''),this[_0x5c65ec(0x17d)]({'tag':_0x5c65ec(0x188),'attributes':{..._0x344dc1,'class':[_0x5c65ec(0x18a),_0x5c65ec(0x186)],'ctx-name':_0x5c65ec(0x18c),'cdn-url':_0x314484['to'](_0x5c65ec(0x18b))}});}}
23
+ function _0x11d2(){const _0x3f548c=['uc-light','uc-cloud-image-editor','2181448LPOwve','imageSrc','setTemplate','510JmWaWg','11349rQlxdG','11xqcSBL','2052114BFDWId','set','7LoBIWz','bindTemplate','ck-uploadcare-theme','36DNLwdl','733340TQwOYM','87063zUyuGc','201529ZhtJUn','image-edit','5047356QPdnSY','2HpfpVS'];_0x11d2=function(){return _0x3f548c;};return _0x11d2();}function _0x5581(_0xf1f335,_0xa95721){const _0x11d28a=_0x11d2();return _0x5581=function(_0x558141,_0x5e7e92){_0x558141=_0x558141-0x101;let _0x528ac7=_0x11d28a[_0x558141];return _0x528ac7;},_0x5581(_0xf1f335,_0xa95721);}(function(_0x56b04d,_0x473898){const _0x4eec6f=_0x5581,_0x4b40c8=_0x56b04d();while(!![]){try{const _0x3d2508=-parseInt(_0x4eec6f(0x101))/0x1*(-parseInt(_0x4eec6f(0x104))/0x2)+parseInt(_0x4eec6f(0x114))/0x3*(parseInt(_0x4eec6f(0x112))/0x4)+parseInt(_0x4eec6f(0x113))/0x5+-parseInt(_0x4eec6f(0x10d))/0x6*(-parseInt(_0x4eec6f(0x10f))/0x7)+-parseInt(_0x4eec6f(0x107))/0x8+parseInt(_0x4eec6f(0x10b))/0x9*(-parseInt(_0x4eec6f(0x10a))/0xa)+-parseInt(_0x4eec6f(0x10c))/0xb*(parseInt(_0x4eec6f(0x103))/0xc);if(_0x3d2508===_0x473898)break;else _0x4b40c8['push'](_0x4b40c8['shift']());}catch(_0x1201cf){_0x4b40c8['push'](_0x4b40c8['shift']());}}}(_0x11d2,0x2f508));import{View as _0x5bf394}from'ckeditor5/src/ui.js';export default class tt extends _0x5bf394{constructor(_0x5396bd,_0x4508cd){const _0x54fd13=_0x5581;super(_0x5396bd);const _0x248e5e=this[_0x54fd13(0x110)];this[_0x54fd13(0x10e)](_0x54fd13(0x108),''),this[_0x54fd13(0x109)]({'tag':_0x54fd13(0x106),'attributes':{..._0x4508cd,'class':[_0x54fd13(0x105),_0x54fd13(0x111)],'ctx-name':_0x54fd13(0x102),'cdn-url':_0x248e5e['to'](_0x54fd13(0x108))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x165c06,IconView as at,View as _0x295ff5}from'ckeditor5/src/ui.js';export default class rt extends _0x295ff5{constructor(_0x2fa377){super(_0x2fa377);const t=_0x2fa377['t'];this['set']('errorType',null);const _0xe62c2=new _0x165c06(_0x2fa377);_0xe62c2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xe62c2['withText']=!0x0,_0xe62c2['class']='ck-button-action',_0xe62c2['on']('execute',()=>{this['fire']('retry');}),_0xe62c2['bind']('isVisible')['to'](this,'errorType',_0x429126=>'NotFound'!==_0x429126);const _0x1e66b2=new at();_0x1e66b2['content']=et,_0x1e66b2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xec787c=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':[_0x1e66b2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xec787c['to']('errorType',_0x234dff=>t('NotFound'!==_0x234dff?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xe62c2]},{'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 _0x141e56,IconView as at,View as _0xc4fb45}from'ckeditor5/src/ui.js';export default class rt extends _0xc4fb45{constructor(_0x3f4184){super(_0x3f4184);const t=_0x3f4184['t'];this['set']('errorType',null);const _0x60e2e0=new _0x141e56(_0x3f4184);_0x60e2e0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x60e2e0['withText']=!0x0,_0x60e2e0['class']='ck-button-action',_0x60e2e0['on']('execute',()=>{this['fire']('retry');}),_0x60e2e0['bind']('isVisible')['to'](this,'errorType',_0x42b29e=>'NotFound'!==_0x42b29e);const _0x4a182a=new at();_0x4a182a['content']=et,_0x4a182a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x35f951=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':[_0x4a182a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x35f951['to']('errorType',_0x54bf50=>t('NotFound'!==_0x54bf50?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x60e2e0]},{'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 _0x30537c,View as _0x42ab41}from'ckeditor5/src/ui.js';export default class ta extends _0x42ab41{constructor(_0x156121){super(_0x156121);const t=_0x156121['t'],_0x480bfe=this['bindTemplate'],_0x4a9e5a=new _0x30537c();_0x4a9e5a['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':[_0x4a9e5a,{'text':_0x480bfe['to']('imageUploadProgress',_0x19ecb2=>t('Loading\x20image...')+'\x20('+(_0x19ecb2||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 _0x5d3daf,View as _0x440633}from'ckeditor5/src/ui.js';export default class ta extends _0x440633{constructor(_0x7d7428){super(_0x7d7428);const t=_0x7d7428['t'],_0x146d68=this['bindTemplate'],_0x2f11fc=new _0x5d3daf();_0x2f11fc['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':[_0x2f11fc,{'text':_0x146d68['to']('imageUploadProgress',_0x50f875=>t('Loading\x20image...')+'\x20('+(_0x50f875||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46abfd=_0x3240;(function(_0x786510,_0x1267b3){const _0xc26ff0=_0x3240,_0x168f1a=_0x786510();while(!![]){try{const _0x20c0fc=-parseInt(_0xc26ff0(0x17b))/0x1*(parseInt(_0xc26ff0(0x16b))/0x2)+-parseInt(_0xc26ff0(0x182))/0x3*(-parseInt(_0xc26ff0(0x197))/0x4)+parseInt(_0xc26ff0(0x186))/0x5*(-parseInt(_0xc26ff0(0x16c))/0x6)+-parseInt(_0xc26ff0(0x18d))/0x7*(-parseInt(_0xc26ff0(0x169))/0x8)+-parseInt(_0xc26ff0(0x196))/0x9+parseInt(_0xc26ff0(0x16d))/0xa*(parseInt(_0xc26ff0(0x191))/0xb)+parseInt(_0xc26ff0(0x195))/0xc;if(_0x20c0fc===_0x1267b3)break;else _0x168f1a['push'](_0x168f1a['shift']());}catch(_0x4169e7){_0x168f1a['push'](_0x168f1a['shift']());}}}(_0x1cb0,0xbceed));import{View as _0x2619e3}from'ckeditor5/src/ui.js';import _0x31dd31 from'./uploadcareimageeditformloadingview.js';import _0x3208e6 from'./uploadcareimageeditformerrorview.js';import _0x4b41a7 from'./uploadcareimageeditformeditingview.js';function _0x1cb0(){const _0x38254d=['observe','11mcDFNs','_focusableView','target','retry','15628692eSwMaV','3218670rerpKT','27452rpmEUs','_loadingView','cancel','createCollection','apply','addMany','change:status','setTemplate','_setView','nodeName','clear','39552NWIUOa','set','1851722sKKmAg','18iuVlGd','3982140aDahVm','_items','error','_waitForImageEditorComponent','querySelector','toLowerCase','length','filter','uploading','render','uc-cloud-image-editor','fire','focus','_errorView','1ArcOwR','ck-uploadcare-form','element','_editingView','div','status','_addErrorViewListeners','6VlsxHC','ready','getFocusableElement','cdnUrl','1018605SPudNk','_addUploadcareImageEditorListeners','addedNodes','disconnect','once','detail','ck-reset_all-excluded','1351znNnlQ','add','addEventListener'];_0x1cb0=function(){return _0x38254d;};return _0x1cb0();}import _0x1334db from'../../utils/dialogfocusmanagerview.js';function _0x3240(_0x535acd,_0x10ff86){const _0x1cb0ab=_0x1cb0();return _0x3240=function(_0x3240f6,_0x456aec){_0x3240f6=_0x3240f6-0x168;let _0x555f99=_0x1cb0ab[_0x3240f6];return _0x555f99;},_0x3240(_0x535acd,_0x10ff86);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x1334db{[_0x46abfd(0x16e)];[_0x46abfd(0x198)];[_0x46abfd(0x17a)];[_0x46abfd(0x17e)];[_0x46abfd(0x192)];constructor(_0x488a1a,_0x4a135c,_0x17640c){const _0x4b16a6=_0x46abfd;super(_0x488a1a),this[_0x4b16a6(0x16e)]=this[_0x4b16a6(0x19a)](),this[_0x4b16a6(0x198)]=new _0x31dd31(_0x488a1a),this[_0x4b16a6(0x17a)]=new _0x3208e6(_0x488a1a),this[_0x4b16a6(0x17e)]=new _0x4b41a7(_0x488a1a,_0x17640c),this[_0x4b16a6(0x192)]=new _0x2619e3(_0x488a1a),this[_0x4b16a6(0x192)][_0x4b16a6(0x19e)](this[_0x4b16a6(0x184)]()),this[_0x4b16a6(0x16a)](_0x4b16a6(0x180),_0x4a135c),this[_0x4b16a6(0x19e)]({'tag':_0x4b16a6(0x17f),'attributes':{'class':['ck',_0x4b16a6(0x18c),_0x4b16a6(0x17c)],'tabindex':'-1'},'children':this[_0x4b16a6(0x16e)]}),this[_0x4b16a6(0x19f)](),this[_0x4b16a6(0x18a)](_0x4b16a6(0x176),()=>{const _0x4868b3=_0x4b16a6;this[_0x4868b3(0x170)](this[_0x4868b3(0x17d)],_0x3a9116=>{const _0x33a4a2=_0x4868b3;this[_0x33a4a2(0x187)](_0x3a9116);});}),this['on'](_0x4b16a6(0x19d),()=>{const _0x7f7916=_0x4b16a6;this[_0x7f7916(0x19f)]();}),this[_0x4b16a6(0x181)]();}[_0x46abfd(0x179)](){const _0x59dbbb=_0x46abfd;this[_0x59dbbb(0x17d)][_0x59dbbb(0x179)]();}[_0x46abfd(0x19f)](){const _0x4706f9=_0x46abfd;switch(this[_0x4706f9(0x16e)][_0x4706f9(0x168)](),this[_0x4706f9(0x180)]){case _0x4706f9(0x175):this[_0x4706f9(0x16e)][_0x4706f9(0x18e)](this[_0x4706f9(0x198)]);break;case _0x4706f9(0x16f):this[_0x4706f9(0x16e)][_0x4706f9(0x18e)](this[_0x4706f9(0x17a)]);break;case _0x4706f9(0x183):this[_0x4706f9(0x16e)][_0x4706f9(0x19c)]([this[_0x4706f9(0x17e)],this[_0x4706f9(0x192)]]);}}[_0x46abfd(0x170)](_0x1ad031,_0x58ea25){const _0x5cd5e6=_0x46abfd,_0x272bb8=_0x5cd5e6(0x177),_0x24778e=_0x1ad031[_0x5cd5e6(0x171)](_0x272bb8);if(_0x24778e)return _0x58ea25(_0x24778e);const _0x1f2544=new MutationObserver(_0x49202f=>{const _0x41406c=_0x5cd5e6,_0x4564e8=_0x49202f[_0x41406c(0x174)](_0x48deee=>_0x48deee[_0x41406c(0x193)]===_0x1ad031&&_0x48deee[_0x41406c(0x188)][_0x41406c(0x173)]>0x0&&_0x48deee[_0x41406c(0x188)][0x0][_0x41406c(0x1a0)][_0x41406c(0x172)]()===_0x272bb8);_0x4564e8[_0x41406c(0x173)]&&(_0x1f2544[_0x41406c(0x189)](),_0x58ea25(_0x4564e8[0x0][_0x41406c(0x188)][0x0]));});_0x1f2544[_0x5cd5e6(0x190)](_0x1ad031,{'childList':!0x0,'subtree':!0x0});}[_0x46abfd(0x187)](_0x579367){const _0x1d6179=_0x46abfd;_0x579367[_0x1d6179(0x18f)](_0x1d6179(0x19b),_0x3a92d8=>{const _0x301e72=_0x1d6179;this[_0x301e72(0x178)](_0x301e72(0x19b),{'imageSrc':_0x3a92d8[_0x301e72(0x18b)][_0x301e72(0x185)]});}),_0x579367[_0x1d6179(0x18f)](_0x1d6179(0x199),()=>{const _0x5d8ce0=_0x1d6179;this[_0x5d8ce0(0x178)](_0x5d8ce0(0x199));});}[_0x46abfd(0x181)](){const _0x4ea30e=_0x46abfd;this[_0x4ea30e(0x17a)]['on'](_0x4ea30e(0x194),()=>{const _0x5cddea=_0x4ea30e;this[_0x5cddea(0x178)](_0x5cddea(0x194));});}}
23
+ const _0x1ac4f4=_0x28aa;(function(_0x2d9867,_0x2e69b6){const _0x2284e3=_0x28aa,_0x57dfe6=_0x2d9867();while(!![]){try{const _0x39d1a1=parseInt(_0x2284e3(0x1a2))/0x1*(parseInt(_0x2284e3(0x1bc))/0x2)+-parseInt(_0x2284e3(0x1a1))/0x3*(parseInt(_0x2284e3(0x1bb))/0x4)+-parseInt(_0x2284e3(0x1cc))/0x5*(-parseInt(_0x2284e3(0x1c3))/0x6)+-parseInt(_0x2284e3(0x1af))/0x7*(parseInt(_0x2284e3(0x1cb))/0x8)+-parseInt(_0x2284e3(0x1a8))/0x9+parseInt(_0x2284e3(0x1b6))/0xa+parseInt(_0x2284e3(0x1ad))/0xb*(-parseInt(_0x2284e3(0x19f))/0xc);if(_0x39d1a1===_0x2e69b6)break;else _0x57dfe6['push'](_0x57dfe6['shift']());}catch(_0x35a5a7){_0x57dfe6['push'](_0x57dfe6['shift']());}}}(_0x28f2,0x82f0b));function _0x28aa(_0x1d257e,_0x4a95c3){const _0x28f2a5=_0x28f2();return _0x28aa=function(_0x28aae1,_0x3e7d98){_0x28aae1=_0x28aae1-0x194;let _0x37c553=_0x28f2a5[_0x28aae1];return _0x37c553;},_0x28aa(_0x1d257e,_0x4a95c3);}import{View as _0x25add9}from'ckeditor5/src/ui.js';function _0x28f2(){const _0xb117=['fire','element','target','270012Mpgzje','set','135TTuWxV','210779GqvgUn','_items','disconnect','_errorView','detail','ck-reset_all-excluded','931050iClkxh','once','retry','add','_loadingView','22OWZVSw','setTemplate','7peQMNS','_setView','change:status','_editingView','querySelector','toLowerCase','status','5092520jkJMvi','ck-uploadcare-form','apply','cancel','uc-cloud-image-editor','41908YOVLYX','6WpMaHw','render','cdnUrl','uploading','ready','observe','nodeName','6bEftFj','clear','_addErrorViewListeners','focus','_addUploadcareImageEditorListeners','_waitForImageEditorComponent','addedNodes','div','7177184nxhYIW','4559035zCQzSy','error','addEventListener','_focusableView','getFocusableElement','length','filter','createCollection','addMany'];_0x28f2=function(){return _0xb117;};return _0x28f2();}import _0x2d5bf5 from'./uploadcareimageeditformloadingview.js';import _0x3fac18 from'./uploadcareimageeditformerrorview.js';import _0x4ec107 from'./uploadcareimageeditformeditingview.js';import _0x134729 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x134729{[_0x1ac4f4(0x1a3)];[_0x1ac4f4(0x1ac)];[_0x1ac4f4(0x1a5)];[_0x1ac4f4(0x1b2)];[_0x1ac4f4(0x196)];constructor(_0x249d3a,_0xcd2a4a,_0x49200e){const _0x4a46d5=_0x1ac4f4;super(_0x249d3a),this[_0x4a46d5(0x1a3)]=this[_0x4a46d5(0x19a)](),this[_0x4a46d5(0x1ac)]=new _0x2d5bf5(_0x249d3a),this[_0x4a46d5(0x1a5)]=new _0x3fac18(_0x249d3a),this[_0x4a46d5(0x1b2)]=new _0x4ec107(_0x249d3a,_0x49200e),this[_0x4a46d5(0x196)]=new _0x25add9(_0x249d3a),this[_0x4a46d5(0x196)][_0x4a46d5(0x1ae)](this[_0x4a46d5(0x197)]()),this[_0x4a46d5(0x1a0)](_0x4a46d5(0x1b5),_0xcd2a4a),this[_0x4a46d5(0x1ae)]({'tag':_0x4a46d5(0x1ca),'attributes':{'class':['ck',_0x4a46d5(0x1a7),_0x4a46d5(0x1b7)],'tabindex':'-1'},'children':this[_0x4a46d5(0x1a3)]}),this[_0x4a46d5(0x1b0)](),this[_0x4a46d5(0x1a9)](_0x4a46d5(0x1bd),()=>{const _0x1445c3=_0x4a46d5;this[_0x1445c3(0x1c8)](this[_0x1445c3(0x19d)],_0x2c360c=>{const _0xb2a503=_0x1445c3;this[_0xb2a503(0x1c7)](_0x2c360c);});}),this['on'](_0x4a46d5(0x1b1),()=>{const _0x1986c8=_0x4a46d5;this[_0x1986c8(0x1b0)]();}),this[_0x4a46d5(0x1c5)]();}[_0x1ac4f4(0x1c6)](){const _0x310c8a=_0x1ac4f4;this[_0x310c8a(0x19d)][_0x310c8a(0x1c6)]();}[_0x1ac4f4(0x1b0)](){const _0x28b059=_0x1ac4f4;switch(this[_0x28b059(0x1a3)][_0x28b059(0x1c4)](),this[_0x28b059(0x1b5)]){case _0x28b059(0x1bf):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1ac)]);break;case _0x28b059(0x194):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1a5)]);break;case _0x28b059(0x1c0):this[_0x28b059(0x1a3)][_0x28b059(0x19b)]([this[_0x28b059(0x1b2)],this[_0x28b059(0x196)]]);}}[_0x1ac4f4(0x1c8)](_0x59e22d,_0x4fe33b){const _0x5848f9=_0x1ac4f4,_0x4b6b0e=_0x5848f9(0x1ba),_0x511c1a=_0x59e22d[_0x5848f9(0x1b3)](_0x4b6b0e);if(_0x511c1a)return _0x4fe33b(_0x511c1a);const _0x4e0bd0=new MutationObserver(_0x500cc8=>{const _0x51391e=_0x5848f9,_0x1bddb1=_0x500cc8[_0x51391e(0x199)](_0x37bc47=>_0x37bc47[_0x51391e(0x19e)]===_0x59e22d&&_0x37bc47[_0x51391e(0x1c9)][_0x51391e(0x198)]>0x0&&_0x37bc47[_0x51391e(0x1c9)][0x0][_0x51391e(0x1c2)][_0x51391e(0x1b4)]()===_0x4b6b0e);_0x1bddb1[_0x51391e(0x198)]&&(_0x4e0bd0[_0x51391e(0x1a4)](),_0x4fe33b(_0x1bddb1[0x0][_0x51391e(0x1c9)][0x0]));});_0x4e0bd0[_0x5848f9(0x1c1)](_0x59e22d,{'childList':!0x0,'subtree':!0x0});}[_0x1ac4f4(0x1c7)](_0x3a7748){const _0x5a3064=_0x1ac4f4;_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b8),_0x2ec895=>{const _0x50a6c7=_0x5a3064;this[_0x50a6c7(0x19c)](_0x50a6c7(0x1b8),{'imageSrc':_0x2ec895[_0x50a6c7(0x1a6)][_0x50a6c7(0x1be)]});}),_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b9),()=>{const _0x586130=_0x5a3064;this[_0x586130(0x19c)](_0x586130(0x1b9));});}[_0x1ac4f4(0x1c5)](){const _0x595d57=_0x1ac4f4;this[_0x595d57(0x1a5)]['on'](_0x595d57(0x1aa),()=>{const _0x10c6f=_0x595d57;this[_0x10c6f(0x19c)](_0x10c6f(0x1aa));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x324eb2=_0x1327;(function(_0x3b866f,_0x18fb26){const _0x1f3208=_0x1327,_0x419806=_0x3b866f();while(!![]){try{const _0x35a5ab=parseInt(_0x1f3208(0x8d))/0x1+-parseInt(_0x1f3208(0x8f))/0x2*(-parseInt(_0x1f3208(0x86))/0x3)+parseInt(_0x1f3208(0x8e))/0x4*(-parseInt(_0x1f3208(0x81))/0x5)+-parseInt(_0x1f3208(0x92))/0x6+parseInt(_0x1f3208(0x7c))/0x7*(-parseInt(_0x1f3208(0x97))/0x8)+parseInt(_0x1f3208(0x87))/0x9*(-parseInt(_0x1f3208(0x82))/0xa)+parseInt(_0x1f3208(0x89))/0xb;if(_0x35a5ab===_0x18fb26)break;else _0x419806['push'](_0x419806['shift']());}catch(_0x199df0){_0x419806['push'](_0x419806['shift']());}}}(_0x407a,0x7ddb9));import{Command as _0x3914a9}from'ckeditor5/src/core.js';function _0x1327(_0x5ee6f1,_0x192bf1){const _0x407ac5=_0x407a();return _0x1327=function(_0x132797,_0x312f55){_0x132797=_0x132797-0x7a;let _0x3604b6=_0x407ac5[_0x132797];return _0x3604b6;},_0x1327(_0x5ee6f1,_0x192bf1);}import{Dialog as _0x398113}from'ckeditor5/src/ui.js';import _0xbe4f82 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xa9a3d0}from'../utils/editingutils.js';export default class V extends _0x3914a9{[_0x324eb2(0x95)];static get[_0x324eb2(0x7b)](){return[_0x398113];}[_0x324eb2(0x84)];constructor(_0x3e8603){const _0x4edd99=_0x324eb2;super(_0x3e8603),this[_0x4edd99(0x95)]=void 0x0,this[_0x4edd99(0x84)]=_0xa9a3d0(_0x3e8603[_0x4edd99(0x98)][_0x4edd99(0x93)](_0x4edd99(0x8a))||[]),this[_0x4edd99(0x83)]({'isActive':!0x1});}[_0x324eb2(0x8c)](){const _0x5364ef=_0x324eb2,_0x415657=this[_0x5364ef(0x90)][_0x5364ef(0x85)][_0x5364ef(0x96)][_0x5364ef(0x91)][_0x5364ef(0x99)]();this[_0x5364ef(0x80)]=this[_0x5364ef(0x84)](_0x415657);}[_0x324eb2(0x88)](){const _0x5a09b9=_0x324eb2;this[_0x5a09b9(0x95)]&&(this[_0x5a09b9(0x7e)](_0x5a09b9(0x7f)),this[_0x5a09b9(0x95)]=void 0x0);const _0xdf3c65=this[_0x5a09b9(0x90)][_0x5a09b9(0x85)][_0x5a09b9(0x96)][_0x5a09b9(0x91)][_0x5a09b9(0x99)]();_0xdf3c65&&(_0xdf3c65['is'](_0x5a09b9(0x7d),_0x5a09b9(0x8b))||_0xdf3c65['is'](_0x5a09b9(0x7d),_0x5a09b9(0x7a)))&&(this[_0x5a09b9(0x95)]=new _0xbe4f82(this[_0x5a09b9(0x90)],this[_0x5a09b9(0x90)][_0x5a09b9(0x94)][_0x5a09b9(0x93)](_0x398113),_0xdf3c65),this[_0x5a09b9(0x9a)](_0x5a09b9(0x7f))['to'](this[_0x5a09b9(0x95)],_0x5a09b9(0x7f)));}}function _0x407a(){const _0x529e44=['isEnabled','67345nXEDgf','1983880GEIXvn','set','_isEditable','model','3DIIFzG','45iBwJwl','execute','24349457LvhoDn','uploadcare.allowExternalImagesEditing','imageBlock','refresh','803687wbpiAs','104MDYVZs','661266EolngQ','editor','selection','5137776NqcjIq','get','plugins','imageEditController','document','8McVrWR','config','getSelectedElement','bind','imageInline','requires','4437748oZhCle','element','unbind','isActive'];_0x407a=function(){return _0x529e44;};return _0x407a();}
23
+ const _0x330fa9=_0x3449;(function(_0x16ffcf,_0x54a7e4){const _0x2f1dac=_0x3449,_0x1cb48b=_0x16ffcf();while(!![]){try{const _0x3a8f2d=parseInt(_0x2f1dac(0x1f5))/0x1*(-parseInt(_0x2f1dac(0x1ff))/0x2)+parseInt(_0x2f1dac(0x1fe))/0x3+-parseInt(_0x2f1dac(0x200))/0x4+-parseInt(_0x2f1dac(0x1e9))/0x5+-parseInt(_0x2f1dac(0x1fd))/0x6*(parseInt(_0x2f1dac(0x1f2))/0x7)+parseInt(_0x2f1dac(0x1f3))/0x8+parseInt(_0x2f1dac(0x1fa))/0x9;if(_0x3a8f2d===_0x54a7e4)break;else _0x1cb48b['push'](_0x1cb48b['shift']());}catch(_0x1f581a){_0x1cb48b['push'](_0x1cb48b['shift']());}}}(_0x53c4,0x1ab86));import{Command as _0xe73a27}from'ckeditor5/src/core.js';import{Dialog as _0x8dbe7b}from'ckeditor5/src/ui.js';import _0x4821e2 from'./ui/uploadcareimageeditcontroller.js';function _0x53c4(){const _0x1b2e28=['bind','execute','document','_isEditable','imageEditController','plugins','413uCYHkn','1269992xqaIRa','config','503gycAOr','isEnabled','get','set','uploadcare.allowExternalImagesEditing','3016224TcWqJk','element','imageBlock','9258sBnKmW','88083GSpIGB','666eNOywA','484864RlbLXv','unbind','imageInline','requires','selection','editor','model','getSelectedElement','170240VQYjMo','isActive','refresh'];_0x53c4=function(){return _0x1b2e28;};return _0x53c4();}function _0x3449(_0x5cdc6f,_0x3d5742){const _0x53c4e1=_0x53c4();return _0x3449=function(_0x3449a6,_0xae34b4){_0x3449a6=_0x3449a6-0x1e2;let _0x39df03=_0x53c4e1[_0x3449a6];return _0x39df03;},_0x3449(_0x5cdc6f,_0x3d5742);}import{createEditabilityChecker as _0x1fb271}from'../utils/editingutils.js';export default class J extends _0xe73a27{[_0x330fa9(0x1f0)];static get[_0x330fa9(0x1e4)](){return[_0x8dbe7b];}[_0x330fa9(0x1ef)];constructor(_0x483288){const _0x558d01=_0x330fa9;super(_0x483288),this[_0x558d01(0x1f0)]=void 0x0,this[_0x558d01(0x1ef)]=_0x1fb271(_0x483288[_0x558d01(0x1f4)][_0x558d01(0x1f7)](_0x558d01(0x1f9))||[]),this[_0x558d01(0x1f8)]({'isActive':!0x1});}[_0x330fa9(0x1eb)](){const _0x546015=_0x330fa9,_0x1c1dcd=this[_0x546015(0x1e6)][_0x546015(0x1e7)][_0x546015(0x1ee)][_0x546015(0x1e5)][_0x546015(0x1e8)]();this[_0x546015(0x1f6)]=this[_0x546015(0x1ef)](_0x1c1dcd);}[_0x330fa9(0x1ed)](){const _0x2afa81=_0x330fa9;this[_0x2afa81(0x1f0)]&&(this[_0x2afa81(0x1e2)](_0x2afa81(0x1ea)),this[_0x2afa81(0x1f0)]=void 0x0);const _0x1bb475=this[_0x2afa81(0x1e6)][_0x2afa81(0x1e7)][_0x2afa81(0x1ee)][_0x2afa81(0x1e5)][_0x2afa81(0x1e8)]();_0x1bb475&&(_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1fc))||_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1e3)))&&(this[_0x2afa81(0x1f0)]=new _0x4821e2(this[_0x2afa81(0x1e6)],this[_0x2afa81(0x1e6)][_0x2afa81(0x1f1)][_0x2afa81(0x1f7)](_0x8dbe7b),_0x1bb475),this[_0x2afa81(0x1ec)](_0x2afa81(0x1ea))['to'](this[_0x2afa81(0x1f0)],_0x2afa81(0x1ea)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x277987=_0x9087;(function(_0x21894,_0x4df5e3){const _0x875b9d=_0x9087,_0x535328=_0x21894();while(!![]){try{const _0x5eff15=parseInt(_0x875b9d(0x130))/0x1+parseInt(_0x875b9d(0x131))/0x2*(-parseInt(_0x875b9d(0x13a))/0x3)+-parseInt(_0x875b9d(0x12d))/0x4+parseInt(_0x875b9d(0x139))/0x5*(parseInt(_0x875b9d(0x126))/0x6)+parseInt(_0x875b9d(0x137))/0x7*(-parseInt(_0x875b9d(0x132))/0x8)+-parseInt(_0x875b9d(0x138))/0x9+-parseInt(_0x875b9d(0x127))/0xa*(-parseInt(_0x875b9d(0x12a))/0xb);if(_0x5eff15===_0x4df5e3)break;else _0x535328['push'](_0x535328['shift']());}catch(_0x4c0e67){_0x535328['push'](_0x535328['shift']());}}}(_0x279c,0x79980));import{Plugin as _0x30e476}from'ckeditor5/src/core.js';function _0x279c(){const _0x2d24c4=['UploadcareImageEditEditing','6SwflBR','10vqPsCQ','add','isPremiumPlugin','22209209QTaJoK','uploadcareImageReplace','ImageEditing','2221804XdgJpV','requires','uploadcareImageEdit','353154ixwTWj','1198ZSqpoT','424jcGxfB','init','isOfficialPlugin','commands','pluginName','93009JaFINm','1241037ZWTYqM','2501995VhlfFE','4893nNIflF','ImageUtils'];_0x279c=function(){return _0x2d24c4;};return _0x279c();}import{Notification as _0x3ead33}from'ckeditor5/src/ui.js';import _0x126328 from'./uploadcareimageeditcommand.js';import _0x8b85bb from'./uploadcareimagereplacecommand.js';function _0x9087(_0x17161f,_0x27633d){const _0x279ccd=_0x279c();return _0x9087=function(_0x9087f6,_0x37e7ef){_0x9087f6=_0x9087f6-0x125;let _0x5972e6=_0x279ccd[_0x9087f6];return _0x5972e6;},_0x9087(_0x17161f,_0x27633d);}import _0x1ff3c8 from'../uploadcareediting.js';export default class g extends _0x30e476{static get[_0x277987(0x136)](){const _0x4bbfbc=_0x277987;return _0x4bbfbc(0x125);}static get[_0x277987(0x12e)](){const _0x1baa72=_0x277987;return[_0x1ff3c8,_0x3ead33,_0x1baa72(0x13b),_0x1baa72(0x12c)];}static get[_0x277987(0x134)](){return!0x0;}static get[_0x277987(0x129)](){return!0x0;}[_0x277987(0x133)](){const _0x1b0efc=_0x277987,{editor:_0x4e2a59}=this;_0x4e2a59[_0x1b0efc(0x135)][_0x1b0efc(0x128)](_0x1b0efc(0x12f),new _0x126328(_0x4e2a59)),_0x4e2a59[_0x1b0efc(0x135)][_0x1b0efc(0x128)](_0x1b0efc(0x12b),new _0x8b85bb(_0x4e2a59));}}
23
+ const _0xac556a=_0x4cc2;function _0x4036(){const _0x1352fa=['add','init','2088093PdcDjt','3215230XDwxFn','20gqWzvj','937524jTgvfB','pluginName','2whulpN','UploadcareImageEditEditing','2345568HzysBx','uploadcareImageReplace','uploadcareImageEdit','220140XYyrQA','15253ZXZrzc','isPremiumPlugin','1578HuWxao','ImageUtils','requires','isOfficialPlugin','11160846dzuiQz','commands','ImageEditing'];_0x4036=function(){return _0x1352fa;};return _0x4036();}(function(_0x3b07d1,_0x1493bf){const _0x1036fb=_0x4cc2,_0x4c0b0e=_0x3b07d1();while(!![]){try{const _0x2f00e3=-parseInt(_0x1036fb(0x18e))/0x1*(parseInt(_0x1036fb(0x18c))/0x2)+parseInt(_0x1036fb(0x189))/0x3+parseInt(_0x1036fb(0x193))/0x4*(parseInt(_0x1036fb(0x18b))/0x5)+parseInt(_0x1036fb(0x180))/0x6*(-parseInt(_0x1036fb(0x194))/0x7)+-parseInt(_0x1036fb(0x190))/0x8+parseInt(_0x1036fb(0x184))/0x9+parseInt(_0x1036fb(0x18a))/0xa;if(_0x2f00e3===_0x1493bf)break;else _0x4c0b0e['push'](_0x4c0b0e['shift']());}catch(_0x530499){_0x4c0b0e['push'](_0x4c0b0e['shift']());}}}(_0x4036,0xa48c7));import{Plugin as _0x148599}from'ckeditor5/src/core.js';import{Notification as _0x24181b}from'ckeditor5/src/ui.js';import _0x27b5ae from'./uploadcareimageeditcommand.js';import _0x5e91ba from'./uploadcareimagereplacecommand.js';import _0x547b38 from'../uploadcareediting.js';function _0x4cc2(_0x2e9adc,_0x24f817){const _0x4036d2=_0x4036();return _0x4cc2=function(_0x4cc265,_0x1476c1){_0x4cc265=_0x4cc265-0x180;let _0x180a81=_0x4036d2[_0x4cc265];return _0x180a81;},_0x4cc2(_0x2e9adc,_0x24f817);}export default class g extends _0x148599{static get[_0xac556a(0x18d)](){const _0x46ba23=_0xac556a;return _0x46ba23(0x18f);}static get[_0xac556a(0x182)](){const _0x38ad7f=_0xac556a;return[_0x547b38,_0x24181b,_0x38ad7f(0x181),_0x38ad7f(0x186)];}static get[_0xac556a(0x183)](){return!0x0;}static get[_0xac556a(0x195)](){return!0x0;}[_0xac556a(0x188)](){const _0x86f9e0=_0xac556a,{editor:_0x10f43a}=this;_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x192),new _0x27b5ae(_0x10f43a)),_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x191),new _0x5e91ba(_0x10f43a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x514cab}from'ckeditor5/src/core.js';import{ButtonView as _0x1622e6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x48f66c}from'ckeditor5/src/icons.js';import{createElement as _0x1befbe}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 _0x514cab{['_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 _0x4bf524=this['editor'];_0x4bf524['ui']['componentFactory']['add']('uploadcareImageEdit',_0x475cfe=>{const _0x571047=_0x4bf524['commands']['get']('uploadcareImageEdit'),_0x332ed8=new _0x1622e6(_0x475cfe),t=_0x475cfe['t'];return _0x332ed8['set']({'icon':_0x48f66c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x332ed8['bind']('isEnabled')['to'](_0x571047),_0x332ed8['bind']('isOn')['to'](_0x571047,'isActive'),this['listenTo'](_0x332ed8,'execute',()=>{_0x4bf524['execute']('uploadcareImageEdit'),_0x4bf524['editing']['view']['focus']();}),_0x332ed8;}),this['_initConfig']();}['_initConfig'](){const _0x5a8766=_0x1befbe(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5a8766),this['listenTo'](this['editor'],'destroy',()=>{_0x5a8766['remove']();});}}
23
+ import{Plugin as _0x10a930}from'ckeditor5/src/core.js';import{ButtonView as _0x2a833a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4a1012}from'ckeditor5/src/icons.js';import{createElement as _0x5798c4}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 _0x10a930{['_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 _0x15a312=this['editor'];_0x15a312['ui']['componentFactory']['add']('uploadcareImageEdit',_0x153fa1=>{const _0x1b4b31=_0x15a312['commands']['get']('uploadcareImageEdit'),_0xba0fa4=new _0x2a833a(_0x153fa1),t=_0x153fa1['t'];return _0xba0fa4['set']({'icon':_0x4a1012,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xba0fa4['bind']('isEnabled')['to'](_0x1b4b31),_0xba0fa4['bind']('isOn')['to'](_0x1b4b31,'isActive'),this['listenTo'](_0xba0fa4,'execute',()=>{_0x15a312['execute']('uploadcareImageEdit'),_0x15a312['editing']['view']['focus']();}),_0xba0fa4;}),this['_initConfig']();}['_initConfig'](){const _0x2c7aee=_0x5798c4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c7aee),this['listenTo'](this['editor'],'destroy',()=>{_0x2c7aee['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1233c3=_0x2a9d;(function(_0x311f7c,_0x4c126b){const _0xa8db10=_0x2a9d,_0x3242ef=_0x311f7c();while(!![]){try{const _0x3332d5=-parseInt(_0xa8db10(0x1d5))/0x1+-parseInt(_0xa8db10(0x1cc))/0x2+-parseInt(_0xa8db10(0x1da))/0x3*(parseInt(_0xa8db10(0x1c6))/0x4)+parseInt(_0xa8db10(0x1d6))/0x5*(-parseInt(_0xa8db10(0x1d3))/0x6)+parseInt(_0xa8db10(0x1d2))/0x7*(-parseInt(_0xa8db10(0x1c1))/0x8)+parseInt(_0xa8db10(0x1ce))/0x9*(-parseInt(_0xa8db10(0x1c2))/0xa)+-parseInt(_0xa8db10(0x1d0))/0xb*(-parseInt(_0xa8db10(0x1c7))/0xc);if(_0x3332d5===_0x4c126b)break;else _0x3242ef['push'](_0x3242ef['shift']());}catch(_0x3497ae){_0x3242ef['push'](_0x3242ef['shift']());}}}(_0x2d1d,0xd49ab));import{Command as _0x10815f}from'ckeditor5/src/core.js';export default class X extends _0x10815f{[_0x1233c3(0x1bf)](){const _0x7a12bc=_0x1233c3,_0x1a1362=this[_0x7a12bc(0x1c5)][_0x7a12bc(0x1d9)][_0x7a12bc(0x1d4)][_0x7a12bc(0x1cf)][_0x7a12bc(0x1d1)]();this[_0x7a12bc(0x1c4)]=Boolean(_0x1a1362&&(_0x1a1362['is'](_0x7a12bc(0x1c3),_0x7a12bc(0x1d8))||_0x1a1362['is'](_0x7a12bc(0x1c3),_0x7a12bc(0x1cd))));}[_0x1233c3(0x1c8)](_0xe5c5d5){const _0x3f58f4=_0x1233c3,_0x332483=this[_0x3f58f4(0x1c5)][_0x3f58f4(0x1d9)][_0x3f58f4(0x1d4)][_0x3f58f4(0x1cf)][_0x3f58f4(0x1d1)]();this[_0x3f58f4(0x1c5)][_0x3f58f4(0x1d9)][_0x3f58f4(0x1cb)](_0x43ce4f=>{const _0x35b8a4=_0x3f58f4;_0x43ce4f[_0x35b8a4(0x1ca)](_0xe5c5d5,_0x332483),_0x43ce4f[_0x35b8a4(0x1d7)](_0x35b8a4(0x1c0),_0x332483),_0x43ce4f[_0x35b8a4(0x1d7)](_0x35b8a4(0x1c9),_0x332483);});}}function _0x2a9d(_0x36780b,_0x3cac26){const _0x2d1d70=_0x2d1d();return _0x2a9d=function(_0x2a9ddb,_0x279e11){_0x2a9ddb=_0x2a9ddb-0x1bf;let _0x42798d=_0x2d1d70[_0x2a9ddb];return _0x42798d;},_0x2a9d(_0x36780b,_0x3cac26);}function _0x2d1d(){const _0x65ba72=['editor','35348oFOQjz','12GeQJvd','execute','sizes','setAttributes','change','1322470xOvCvN','imageInline','19719kWrIBB','selection','52883831lTuqlX','getSelectedElement','1757pDzAUb','751230AkVJVg','document','981094fqkygc','5VKmcog','removeAttribute','imageBlock','model','276HvHRPK','refresh','srcset','20392AoRPEi','3270FzBrIG','element','isEnabled'];_0x2d1d=function(){return _0x65ba72;};return _0x2d1d();}
23
+ function _0x2f02(){const _0x5caa92=['execute','isEnabled','editor','10YTeRaA','removeAttribute','model','520754EseLxh','selection','13576IRGDMv','344234xtiHNP','srcset','710335OPDbaY','24fMWMzP','sizes','imageBlock','4pVAERq','995487IClMFo','6799419nvEBCM','element','1TxnlPI','document','change','12osHbzI','getSelectedElement','217aqmkam','refresh','3732444FEmSfM','setAttributes','imageInline'];_0x2f02=function(){return _0x5caa92;};return _0x2f02();}const _0x138467=_0x4441;(function(_0x1dab17,_0x1bb44e){const _0x1b0ae4=_0x4441,_0x23f6f4=_0x1dab17();while(!![]){try{const _0x3495ad=-parseInt(_0x1b0ae4(0x181))/0x1*(parseInt(_0x1b0ae4(0x177))/0x2)+parseInt(_0x1b0ae4(0x17e))/0x3*(parseInt(_0x1b0ae4(0x17d))/0x4)+parseInt(_0x1b0ae4(0x179))/0x5*(parseInt(_0x1b0ae4(0x184))/0x6)+parseInt(_0x1b0ae4(0x186))/0x7*(parseInt(_0x1b0ae4(0x176))/0x8)+-parseInt(_0x1b0ae4(0x188))/0x9*(-parseInt(_0x1b0ae4(0x18e))/0xa)+-parseInt(_0x1b0ae4(0x17f))/0xb+-parseInt(_0x1b0ae4(0x17a))/0xc*(-parseInt(_0x1b0ae4(0x174))/0xd);if(_0x3495ad===_0x1bb44e)break;else _0x23f6f4['push'](_0x23f6f4['shift']());}catch(_0x12459d){_0x23f6f4['push'](_0x23f6f4['shift']());}}}(_0x2f02,0x5b1a4));function _0x4441(_0x2753fa,_0x1877b7){const _0x2f0288=_0x2f02();return _0x4441=function(_0x44418c,_0x931039){_0x44418c=_0x44418c-0x173;let _0x58042e=_0x2f0288[_0x44418c];return _0x58042e;},_0x4441(_0x2753fa,_0x1877b7);}import{Command as _0x47b007}from'ckeditor5/src/core.js';export default class O extends _0x47b007{[_0x138467(0x187)](){const _0xf55979=_0x138467,_0x15b290=this[_0xf55979(0x18d)][_0xf55979(0x173)][_0xf55979(0x182)][_0xf55979(0x175)][_0xf55979(0x185)]();this[_0xf55979(0x18c)]=Boolean(_0x15b290&&(_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x17c))||_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x18a))));}[_0x138467(0x18b)](_0x4e3801){const _0x56caad=_0x138467,_0x38467e=this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x182)][_0x56caad(0x175)][_0x56caad(0x185)]();this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x183)](_0x1c397a=>{const _0xa3b84e=_0x56caad;_0x1c397a[_0xa3b84e(0x189)](_0x4e3801,_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x178),_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x17b),_0x38467e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1f5247=_0x3c04;function _0x3c04(_0x313280,_0x5410d1){var _0xbe2e30=_0xbe2e();return _0x3c04=function(_0x3c0420,_0x4fb2cb){_0x3c0420=_0x3c0420-0x1c6;var _0x175dae=_0xbe2e30[_0x3c0420];return _0x175dae;},_0x3c04(_0x313280,_0x5410d1);}(function(_0x188ced,_0x1bc1ba){var _0x2b8c0c=_0x3c04,_0x368add=_0x188ced();while(!![]){try{var _0xcf0975=parseInt(_0x2b8c0c(0x1c8))/0x1*(parseInt(_0x2b8c0c(0x1d5))/0x2)+-parseInt(_0x2b8c0c(0x1d0))/0x3*(parseInt(_0x2b8c0c(0x1c6))/0x4)+-parseInt(_0x2b8c0c(0x1cc))/0x5*(parseInt(_0x2b8c0c(0x1d2))/0x6)+-parseInt(_0x2b8c0c(0x1d3))/0x7+parseInt(_0x2b8c0c(0x1d7))/0x8*(-parseInt(_0x2b8c0c(0x1c7))/0x9)+-parseInt(_0x2b8c0c(0x1c9))/0xa*(parseInt(_0x2b8c0c(0x1cf))/0xb)+-parseInt(_0x2b8c0c(0x1ca))/0xc*(-parseInt(_0x2b8c0c(0x1cb))/0xd);if(_0xcf0975===_0x1bc1ba)break;else _0x368add['push'](_0x368add['shift']());}catch(_0x202b46){_0x368add['push'](_0x368add['shift']());}}}(_0xbe2e,0xb8490));import{Plugin as _0x1b097c}from'ckeditor5/src/core.js';function _0xbe2e(){var _0x1ec5dc=['19596084lmFFas','39pTFVSo','750415nHGUoA','isPremiumPlugin','requires','8093591FaKvXg','1829406Qsxnyu','pluginName','24boBHlq','6310927qPJLsc','UploadcareImageEdit','25686bZtYPj','isOfficialPlugin','344AmmpiB','8eQdaXk','282771RXkGjE','109HyntOe','20fwIEYg'];_0xbe2e=function(){return _0x1ec5dc;};return _0xbe2e();}import _0x3cb522 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x515048 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1b097c{static get[_0x1f5247(0x1d1)](){var _0x7f5a32=_0x1f5247;return _0x7f5a32(0x1d4);}static get[_0x1f5247(0x1ce)](){return[_0x3cb522,_0x515048];}static get[_0x1f5247(0x1d6)](){return!0x0;}static get[_0x1f5247(0x1cd)](){return!0x0;}}
23
+ var _0x323967=_0x47d7;(function(_0x258f89,_0xe9a88c){var _0x34d8e7=_0x47d7,_0x1522f8=_0x258f89();while(!![]){try{var _0x1008e7=parseInt(_0x34d8e7(0x178))/0x1*(parseInt(_0x34d8e7(0x17b))/0x2)+parseInt(_0x34d8e7(0x173))/0x3+parseInt(_0x34d8e7(0x170))/0x4*(parseInt(_0x34d8e7(0x175))/0x5)+parseInt(_0x34d8e7(0x176))/0x6*(parseInt(_0x34d8e7(0x179))/0x7)+parseInt(_0x34d8e7(0x174))/0x8+parseInt(_0x34d8e7(0x16e))/0x9+-parseInt(_0x34d8e7(0x172))/0xa;if(_0x1008e7===_0xe9a88c)break;else _0x1522f8['push'](_0x1522f8['shift']());}catch(_0x5e84ce){_0x1522f8['push'](_0x1522f8['shift']());}}}(_0x1c26,0xacd87));import{Plugin as _0x293cdf}from'ckeditor5/src/core.js';function _0x1c26(){var _0x2df0da=['requires','22810410QivHqD','2232741OElAOy','8545800eeaJlG','1229325eNWccw','6dezjWy','isOfficialPlugin','729483fiLeEm','863653OlKztA','pluginName','2eKdfGR','isPremiumPlugin','700353ljJSNy','UploadcareImageEdit','4giKvsr'];_0x1c26=function(){return _0x2df0da;};return _0x1c26();}import _0x70e961 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x606db4 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x47d7(_0x16b8c8,_0x354c9d){var _0x1c2667=_0x1c26();return _0x47d7=function(_0x47d745,_0x4a1373){_0x47d745=_0x47d745-0x16e;var _0x4fabb3=_0x1c2667[_0x47d745];return _0x4fabb3;},_0x47d7(_0x16b8c8,_0x354c9d);}export default class P extends _0x293cdf{static get[_0x323967(0x17a)](){var _0x26b852=_0x323967;return _0x26b852(0x16f);}static get[_0x323967(0x171)](){return[_0x70e961,_0x606db4];}static get[_0x323967(0x177)](){return!0x0;}static get[_0x323967(0x17c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x321a50=_0x4881;(function(_0x6e2c42,_0x10d249){const _0x97c476=_0x4881,_0x4caf4b=_0x6e2c42();while(!![]){try{const _0x163e11=parseInt(_0x97c476(0x13e))/0x1+-parseInt(_0x97c476(0x118))/0x2+parseInt(_0x97c476(0x104))/0x3+parseInt(_0x97c476(0x116))/0x4*(-parseInt(_0x97c476(0x10a))/0x5)+parseInt(_0x97c476(0x13a))/0x6+-parseInt(_0x97c476(0x11b))/0x7*(parseInt(_0x97c476(0x126))/0x8)+parseInt(_0x97c476(0x121))/0x9*(parseInt(_0x97c476(0x136))/0xa);if(_0x163e11===_0x10d249)break;else _0x4caf4b['push'](_0x4caf4b['shift']());}catch(_0x1ee629){_0x4caf4b['push'](_0x4caf4b['shift']());}}}(_0x1627,0x4320c));import{Plugin as _0x2c3715}from'ckeditor5/src/core.js';import{IconDropbox as _0x368605,IconFacebook as _0x567890,IconGoogleDrive as _0x631339,IconGooglePhotos as _0x480810,IconUploadcareImageUpload as _0x1b7779,IconUploadcareLink as _0x1708cf,IconOneDrive as _0x40ebf3}from'ckeditor5/src/icons.js';import{ButtonView as _0x18f3a4,MenuBarMenuListItemButtonView as _0x194dac}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3f5269}from'./uploadcareconfig.js';import{getTranslation as _0x267427}from'./utils/common-translations.js';function _0x4881(_0x25625c,_0x35ea46){const _0x1627d3=_0x1627();return _0x4881=function(_0x48814b,_0x14ea89){_0x48814b=_0x48814b-0xf0;let _0x5dddc8=_0x1627d3[_0x48814b];return _0x5dddc8;},_0x4881(_0x25625c,_0x35ea46);}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 _0x2c3715{[_0x321a50(0x123)];[_0x321a50(0xfc)];static get[_0x321a50(0x12d)](){const _0x3ad30c=_0x321a50;return _0x3ad30c(0x103);}static get[_0x321a50(0x11a)](){return!0x0;}static get[_0x321a50(0x114)](){return!0x0;}[_0x321a50(0xfb)](){const _0x5fd7a6=_0x321a50;this[_0x5fd7a6(0x123)]=this[_0x5fd7a6(0x13f)][_0x5fd7a6(0x13c)][_0x5fd7a6(0x134)](_0x5fd7a6(0x123));const _0x18eb76=this[_0x5fd7a6(0x13f)];this[_0x5fd7a6(0xfc)]=setInterval(()=>{const _0x228bbc=_0x5fd7a6;let _0x51982f;for(const _0x55f158 in _0x18eb76){const _0x36cbb0=_0x55f158,_0x1d745d=_0x18eb76[_0x36cbb0];if(_0x228bbc(0xfe)==_0x1d745d||_0x228bbc(0x12f)==_0x1d745d||_0x228bbc(0x101)==_0x1d745d||_0x228bbc(0x10d)==_0x1d745d||_0x228bbc(0xf9)==_0x1d745d||_0x228bbc(0x140)==_0x1d745d||_0x228bbc(0x131)==_0x1d745d||_0x228bbc(0x102)==_0x1d745d){delete _0x18eb76[_0x36cbb0],_0x51982f=_0x1d745d,clearInterval(this[_0x228bbc(0xfc)]),this[_0x228bbc(0xfc)]=void 0x0;break;}}_0x228bbc(0x12f)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x133)),_0x228bbc(0x101)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x10b)),_0x228bbc(0x10d)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0xfd)),_0x228bbc(0xf9)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x110),_0x228bbc(0x135)),_0x228bbc(0x140)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x108)),_0x228bbc(0x131)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0xf2)),_0x228bbc(0x102)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0xff));},0x3e8);}[_0x321a50(0x10f)](){const _0x34333d=_0x321a50,{editor:_0x1d28cb}=this,_0x4f4b76=_0x1d28cb[_0x34333d(0x12c)][_0x34333d(0x134)](_0x34333d(0xf6));if(!_0x4f4b76)return;const _0x57c74f=this[_0x34333d(0x105)](_0x1d28cb[_0x34333d(0x13c)][_0x34333d(0x134)](_0x34333d(0x112)))[_0x34333d(0x132)]((_0x53bce9,_0x4d6ee0)=>{const _0x1f21f3=_0x34333d,_0x35fffe=this[_0x1f21f3(0x129)](_0x4d6ee0[_0x1f21f3(0x120)]);return _0x53bce9[_0x35fffe]||(_0x53bce9[_0x35fffe]=[]),_0x53bce9[_0x35fffe][_0x1f21f3(0xf1)](_0x4d6ee0),_0x53bce9;},{});_0x1d28cb[_0x34333d(0xfa)][_0x34333d(0xf0)](_0x34333d(0x109))&&_0x1d28cb[_0x34333d(0x12c)][_0x34333d(0x134)](_0x34333d(0xf6))&&Object[_0x34333d(0x138)](_0x57c74f)[_0x34333d(0x100)](([_0x483276,_0x26e1ac])=>{const _0x45f043=_0x34333d;_0x1d28cb[_0x45f043(0xfa)][_0x45f043(0x134)](_0x45f043(0x109))[_0x45f043(0x11e)]({'name':_0x483276,'observable':()=>_0x4f4b76,'buttonViewCreator':()=>this[_0x45f043(0x12e)](_0x26e1ac),'formViewCreator':()=>this[_0x45f043(0x125)](_0x26e1ac),'menuBarButtonViewCreator':()=>this[_0x45f043(0x128)](_0x26e1ac),'override':_0x45f043(0x139)!==_0x483276});});}[_0x321a50(0x111)](){const _0x432af8=_0x321a50;super[_0x432af8(0x111)](),this[_0x432af8(0xfc)]&&clearInterval(this[_0x432af8(0xfc)]);}[_0x321a50(0x105)](_0x55e427){const _0x3bfee9=_0x321a50,{locale:_0x585933}=this[_0x3bfee9(0x13f)];return _0x55e427[_0x3bfee9(0xf5)](_0x21415f=>{const _0x1c6136=_0x3bfee9,_0x4f58d9=_0x267427(_0x585933,_0x21415f,_0x1c6136(0x124));switch(_0x21415f){case _0x3f5269[_0x1c6136(0x106)]:return{'icon':_0x1b7779,'type':_0x3f5269[_0x1c6136(0x106)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x13d)]:return{'icon':_0x1708cf,'type':_0x3f5269[_0x1c6136(0x13d)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x11c)]:return{'icon':_0x368605,'type':_0x3f5269[_0x1c6136(0x11c)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0xf7)]:return{'icon':_0x567890,'type':_0x3f5269[_0x1c6136(0xf7)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x117)]:return{'icon':_0x631339,'type':_0x3f5269[_0x1c6136(0x117)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x127)]:return{'icon':_0x480810,'type':_0x3f5269[_0x1c6136(0x127)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x119)]:return{'icon':_0x40ebf3,'type':_0x3f5269[_0x1c6136(0x119)],..._0x4f58d9};}});}[_0x321a50(0x129)](_0x3ca62d){const _0x197bb6=_0x321a50;switch(_0x3ca62d){case _0x3f5269[_0x197bb6(0x106)]:return _0x197bb6(0xf4);case _0x3f5269[_0x197bb6(0x13d)]:return _0x197bb6(0x12b);default:return _0x197bb6(0x139);}}[_0x321a50(0x10e)](_0x395418,_0x18df63){const _0x1261ac=_0x321a50,_0x60eeb2=this[_0x1261ac(0x13f)],_0x3cd012=new _0x395418(_0x60eeb2[_0x1261ac(0x12a)]),_0x335ff4=_0x60eeb2[_0x1261ac(0x12c)][_0x1261ac(0x134)](_0x1261ac(0xf6));return _0x3cd012[_0x1261ac(0x115)](_0x1261ac(0x130))['to'](_0x335ff4),_0x3cd012['on'](_0x1261ac(0xf8),()=>{const _0x55e3b0=_0x1261ac;_0x335ff4[_0x55e3b0(0xf8)](_0x18df63);}),_0x3cd012;}[_0x321a50(0x12e)](_0x1e398a){const _0x1ff268=_0x321a50,{locale:_0x3cb3f8}=this[_0x1ff268(0x13f)],_0x3eafaf=this[_0x1ff268(0x13f)][_0x1ff268(0xfa)][_0x1ff268(0x134)](_0x1ff268(0x109)),_0x4b489b=_0x1e398a[0x0],_0x4e1f7a=this[_0x1ff268(0x10e)](_0x18f3a4,_0x4b489b[_0x1ff268(0x120)]);return _0x4e1f7a[_0x1ff268(0x122)]=_0x4b489b[_0x1ff268(0x122)],_0x4e1f7a[_0x1ff268(0x115)](_0x1ff268(0x11f))['to'](_0x3eafaf,_0x1ff268(0x113),_0x2c137b=>_0x267427(_0x3cb3f8,_0x4b489b[_0x1ff268(0x120)],_0x2c137b?_0x1ff268(0xf3):_0x1ff268(0x124))[_0x1ff268(0x10c)]),_0x4e1f7a[_0x1ff268(0x13b)]=!0x0,_0x4e1f7a;}[_0x321a50(0x125)](_0x164a9c){const _0x259d28=_0x321a50,{locale:_0x5cd7eb}=this[_0x259d28(0x13f)],_0x31cb47=this[_0x259d28(0x13f)][_0x259d28(0xfa)][_0x259d28(0x134)](_0x259d28(0x109));return _0x164a9c[_0x259d28(0xf5)](_0x434178=>{const _0x1da1a3=_0x259d28,_0x440e3c=this[_0x1da1a3(0x10e)](_0x18f3a4,_0x434178[_0x1da1a3(0x120)]);return _0x440e3c[_0x1da1a3(0x107)]=!0x0,_0x440e3c[_0x1da1a3(0x122)]=_0x434178[_0x1da1a3(0x122)],_0x440e3c[_0x1da1a3(0x115)](_0x1da1a3(0x11f))['to'](_0x31cb47,_0x1da1a3(0x113),_0x6a524b=>_0x267427(_0x5cd7eb,_0x434178[_0x1da1a3(0x120)],_0x6a524b?_0x1da1a3(0xf3):_0x1da1a3(0x124))[_0x1da1a3(0x10c)]),_0x440e3c;});}[_0x321a50(0x128)](_0x43c0a7){const _0x26a1bd=_0x321a50;return _0x43c0a7[_0x26a1bd(0xf5)](_0x4166fa=>{const _0x114fb5=_0x26a1bd,_0x28d73a=this[_0x114fb5(0x10e)](_0x194dac,_0x4166fa[_0x114fb5(0x120)]);return _0x28d73a[_0x114fb5(0x122)]=_0x4166fa[_0x114fb5(0x122)],_0x28d73a[_0x114fb5(0x11f)]=_0x4166fa[_0x114fb5(0x11d)],_0x28d73a;});}}function _0x1627(){const _0x5c0c78=['uploadcareLicenseKeyExpired','uploadcareLicenseKeyUsageLimit','UploadcareUI','64977dGCxOd','_normalizeConfigSourceList','Local','withText','evaluationLimit','ImageInsertUI','2046185KolaJD','expired','text','uploadcareLicenseKeyDomainLimit','_createButton','afterInit','featureNotAllowed','destroy','uploadcare.uploader.sourceList','isImageSelected','isPremiumPlugin','bind','4NkhNsB','GDrive','440334hbhfSu','OneDrive','isOfficialPlugin','417466bmQZqK','Dropbox','shortText','registerIntegration','label','type','81909AlsMjE','icon','licenseKey','Insert','_createDropdownButtons','24MrMASH','GPhotos','_createMenuBarButtons','_getIntegrationKey','locale','url','commands','pluginName','_createToolbarButton','uploadcareLicenseKeyInvalid','isEnabled','uploadcareLicenseKeyTrialLimit','reduce','invalid','get','Uploadcare','940BhgDmD','_showLicenseError','entries','assetManager','467628FoHnxe','tooltip','config','URL','128183jezaAA','editor','uploadcareLicenseKeyEvaluationLimit','has','push','trialLimit','Replace','upload','map','uploadcare','Facebook','execute','uploadcareLicenseKeyNotAllowed','plugins','init','_licenseKeyCheckInterval','domainLimit','uploadcareLicenseKeyValid','usageLimit','forEach'];_0x1627=function(){return _0x5c0c78;};return _0x1627();}
23
+ function _0x3a29(){const _0x48f183=['destroy','isOfficialPlugin','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','config','24bqcODL','pluginName','commands','Facebook','expired','URL','_getIntegrationKey','Local','reduce','evaluationLimit','ImageInsertUI','OneDrive','uploadcareLicenseKeyExpired','_showLicenseError','shortText','usageLimit','uploadcare','_normalizeConfigSourceList','_createToolbarButton','init','_createMenuBarButtons','30eWqMPT','2811096cSMXGV','plugins','_createDropdownButtons','afterInit','uploadcareLicenseKeyUsageLimit','type','tooltip','editor','featureNotAllowed','uploadcareLicenseKeyNotAllowed','bind','isImageSelected','455lWZjka','8ByyUfN','url','104042VPiihQ','1363299bzIsFA','entries','5292644NBSkeh','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','GDrive','uploadcareLicenseKeyValid','6369759nyYcEP','licenseKey','trialLimit','_createButton','domainLimit','map','label','execute','58638kVcWzS','isEnabled','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','get','withText','GPhotos','locale','invalid','Uploadcare','UploadcareUI','3719527yryALH','uploadcareLicenseKeyEvaluationLimit','has','registerIntegration','icon','forEach','push','assetManager','upload','Insert','text','Dropbox','Replace'];_0x3a29=function(){return _0x48f183;};return _0x3a29();}const _0x359119=_0x48b7;(function(_0x5dcdae,_0x2916e9){const _0x3522a5=_0x48b7,_0x31db9b=_0x5dcdae();while(!![]){try{const _0x327e60=parseInt(_0x3522a5(0x1f6))/0x1*(-parseInt(_0x3522a5(0x21b))/0x2)+-parseInt(_0x3522a5(0x21c))/0x3+parseInt(_0x3522a5(0x21e))/0x4+parseInt(_0x3522a5(0x218))/0x5*(parseInt(_0x3522a5(0x22b))/0x6)+-parseInt(_0x3522a5(0x236))/0x7*(-parseInt(_0x3522a5(0x219))/0x8)+-parseInt(_0x3522a5(0x20c))/0x9*(parseInt(_0x3522a5(0x20b))/0xa)+parseInt(_0x3522a5(0x223))/0xb;if(_0x327e60===_0x2916e9)break;else _0x31db9b['push'](_0x31db9b['shift']());}catch(_0x490411){_0x31db9b['push'](_0x31db9b['shift']());}}}(_0x3a29,0xa6bd5));import{Plugin as _0x51e5b8}from'ckeditor5/src/core.js';import{IconDropbox as _0x4d3c37,IconFacebook as _0x57ceff,IconGoogleDrive as _0x249617,IconGooglePhotos as _0x3d80df,IconUploadcareImageUpload as _0x38c18a,IconUploadcareLink as _0x257d49,IconOneDrive as _0x11c6bd}from'ckeditor5/src/icons.js';import{ButtonView as _0x58a78b,MenuBarMenuListItemButtonView as _0x893fbc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x9f1651}from'./uploadcareconfig.js';import{getTranslation as _0x5eefc0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x48b7(_0x487660,_0x65e713){const _0x3a2928=_0x3a29();return _0x48b7=function(_0x48b7bd,_0x240b77){_0x48b7bd=_0x48b7bd-0x1ea;let _0x4a4006=_0x3a2928[_0x48b7bd];return _0x4a4006;},_0x48b7(_0x487660,_0x65e713);}export default class e extends _0x51e5b8{[_0x359119(0x224)];[_0x359119(0x21f)];static get[_0x359119(0x1f7)](){const _0x19b6e7=_0x359119;return _0x19b6e7(0x235);}static get[_0x359119(0x1f2)](){return!0x0;}static get[_0x359119(0x22e)](){return!0x0;}[_0x359119(0x209)](){const _0x13c4b7=_0x359119;this[_0x13c4b7(0x224)]=this[_0x13c4b7(0x213)][_0x13c4b7(0x1f5)][_0x13c4b7(0x22f)](_0x13c4b7(0x224));const _0x2a5382=this[_0x13c4b7(0x213)];this[_0x13c4b7(0x21f)]=setInterval(()=>{const _0x4a8112=_0x13c4b7;let _0x420cdf;for(const _0x798689 in _0x2a5382){const _0xceddb1=_0x798689,_0x4a7b1a=_0x2a5382[_0xceddb1];if(_0x4a8112(0x222)==_0x4a7b1a||_0x4a8112(0x220)==_0x4a7b1a||_0x4a8112(0x202)==_0x4a7b1a||_0x4a8112(0x1f3)==_0x4a7b1a||_0x4a8112(0x215)==_0x4a7b1a||_0x4a8112(0x237)==_0x4a7b1a||_0x4a8112(0x22d)==_0x4a7b1a||_0x4a8112(0x210)==_0x4a7b1a){delete _0x2a5382[_0xceddb1],_0x420cdf=_0x4a7b1a,clearInterval(this[_0x4a8112(0x21f)]),this[_0x4a8112(0x21f)]=void 0x0;break;}}_0x4a8112(0x220)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x233)),_0x4a8112(0x202)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1fa)),_0x4a8112(0x1f3)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x227)),_0x4a8112(0x215)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x214),_0x4a8112(0x234)),_0x4a8112(0x237)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1ff)),_0x4a8112(0x22d)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x225)),_0x4a8112(0x210)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x205));},0x3e8);}[_0x359119(0x20f)](){const _0x3a4f44=_0x359119,{editor:_0x94c826}=this,_0x2dafde=_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206));if(!_0x2dafde)return;const _0x47ef05=this[_0x3a4f44(0x207)](_0x94c826[_0x3a4f44(0x1f5)][_0x3a4f44(0x22f)](_0x3a4f44(0x1f4)))[_0x3a4f44(0x1fe)]((_0x1b9a78,_0x1d8a0b)=>{const _0x12b0b2=_0x3a4f44,_0x15c77c=this[_0x12b0b2(0x1fc)](_0x1d8a0b[_0x12b0b2(0x211)]);return _0x1b9a78[_0x15c77c]||(_0x1b9a78[_0x15c77c]=[]),_0x1b9a78[_0x15c77c][_0x12b0b2(0x1ea)](_0x1d8a0b),_0x1b9a78;},{});_0x94c826[_0x3a4f44(0x20d)][_0x3a4f44(0x238)](_0x3a4f44(0x200))&&_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206))&&Object[_0x3a4f44(0x21d)](_0x47ef05)[_0x3a4f44(0x23b)](([_0x3d1609,_0xd794a8])=>{const _0x528eb7=_0x3a4f44;_0x94c826[_0x528eb7(0x20d)][_0x528eb7(0x22f)](_0x528eb7(0x200))[_0x528eb7(0x239)]({'name':_0x3d1609,'observable':()=>_0x2dafde,'buttonViewCreator':()=>this[_0x528eb7(0x208)](_0xd794a8),'formViewCreator':()=>this[_0x528eb7(0x20e)](_0xd794a8),'menuBarButtonViewCreator':()=>this[_0x528eb7(0x20a)](_0xd794a8),'override':_0x528eb7(0x1eb)!==_0x3d1609});});}[_0x359119(0x1f1)](){const _0x3b8bc0=_0x359119;super[_0x3b8bc0(0x1f1)](),this[_0x3b8bc0(0x21f)]&&clearInterval(this[_0x3b8bc0(0x21f)]);}[_0x359119(0x207)](_0x126793){const _0x58b81f=_0x359119,{locale:_0x4f117e}=this[_0x58b81f(0x213)];return _0x126793[_0x58b81f(0x228)](_0x2d09c6=>{const _0x260b08=_0x58b81f,_0x50fba6=_0x5eefc0(_0x4f117e,_0x2d09c6,_0x260b08(0x1ed));switch(_0x2d09c6){case _0x9f1651[_0x260b08(0x1fd)]:return{'icon':_0x38c18a,'type':_0x9f1651[_0x260b08(0x1fd)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1fb)]:return{'icon':_0x257d49,'type':_0x9f1651[_0x260b08(0x1fb)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1ef)]:return{'icon':_0x4d3c37,'type':_0x9f1651[_0x260b08(0x1ef)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1f9)]:return{'icon':_0x57ceff,'type':_0x9f1651[_0x260b08(0x1f9)],..._0x50fba6};case _0x9f1651[_0x260b08(0x221)]:return{'icon':_0x249617,'type':_0x9f1651[_0x260b08(0x221)],..._0x50fba6};case _0x9f1651[_0x260b08(0x231)]:return{'icon':_0x3d80df,'type':_0x9f1651[_0x260b08(0x231)],..._0x50fba6};case _0x9f1651[_0x260b08(0x201)]:return{'icon':_0x11c6bd,'type':_0x9f1651[_0x260b08(0x201)],..._0x50fba6};}});}[_0x359119(0x1fc)](_0x1b2bca){const _0x13495b=_0x359119;switch(_0x1b2bca){case _0x9f1651[_0x13495b(0x1fd)]:return _0x13495b(0x1ec);case _0x9f1651[_0x13495b(0x1fb)]:return _0x13495b(0x21a);default:return _0x13495b(0x1eb);}}[_0x359119(0x226)](_0x229f07,_0x420b7e){const _0x59eba5=_0x359119,_0x5d0d1d=this[_0x59eba5(0x213)],_0x4cc850=new _0x229f07(_0x5d0d1d[_0x59eba5(0x232)]),_0x3ab39c=_0x5d0d1d[_0x59eba5(0x1f8)][_0x59eba5(0x22f)](_0x59eba5(0x206));return _0x4cc850[_0x59eba5(0x216)](_0x59eba5(0x22c))['to'](_0x3ab39c),_0x4cc850['on'](_0x59eba5(0x22a),()=>{const _0x2b3470=_0x59eba5;_0x3ab39c[_0x2b3470(0x22a)](_0x420b7e);}),_0x4cc850;}[_0x359119(0x208)](_0x2ca3a4){const _0x5c1a77=_0x359119,{locale:_0x2896bf}=this[_0x5c1a77(0x213)],_0x25a933=this[_0x5c1a77(0x213)][_0x5c1a77(0x20d)][_0x5c1a77(0x22f)](_0x5c1a77(0x200)),_0x1e7783=_0x2ca3a4[0x0],_0x4c1d69=this[_0x5c1a77(0x226)](_0x58a78b,_0x1e7783[_0x5c1a77(0x211)]);return _0x4c1d69[_0x5c1a77(0x23a)]=_0x1e7783[_0x5c1a77(0x23a)],_0x4c1d69[_0x5c1a77(0x216)](_0x5c1a77(0x229))['to'](_0x25a933,_0x5c1a77(0x217),_0x5885bb=>_0x5eefc0(_0x2896bf,_0x1e7783[_0x5c1a77(0x211)],_0x5885bb?_0x5c1a77(0x1f0):_0x5c1a77(0x1ed))[_0x5c1a77(0x1ee)]),_0x4c1d69[_0x5c1a77(0x212)]=!0x0,_0x4c1d69;}[_0x359119(0x20e)](_0x15b00a){const _0x555891=_0x359119,{locale:_0x2b90b2}=this[_0x555891(0x213)],_0x1100d8=this[_0x555891(0x213)][_0x555891(0x20d)][_0x555891(0x22f)](_0x555891(0x200));return _0x15b00a[_0x555891(0x228)](_0x30e809=>{const _0x258c62=_0x555891,_0x17f563=this[_0x258c62(0x226)](_0x58a78b,_0x30e809[_0x258c62(0x211)]);return _0x17f563[_0x258c62(0x230)]=!0x0,_0x17f563[_0x258c62(0x23a)]=_0x30e809[_0x258c62(0x23a)],_0x17f563[_0x258c62(0x216)](_0x258c62(0x229))['to'](_0x1100d8,_0x258c62(0x217),_0x4058a6=>_0x5eefc0(_0x2b90b2,_0x30e809[_0x258c62(0x211)],_0x4058a6?_0x258c62(0x1f0):_0x258c62(0x1ed))[_0x258c62(0x1ee)]),_0x17f563;});}[_0x359119(0x20a)](_0x486350){const _0x43bb7e=_0x359119;return _0x486350[_0x43bb7e(0x228)](_0x59e44b=>{const _0x24cb13=_0x43bb7e,_0x42c488=this[_0x24cb13(0x226)](_0x893fbc,_0x59e44b[_0x24cb13(0x211)]);return _0x42c488[_0x24cb13(0x23a)]=_0x59e44b[_0x24cb13(0x23a)],_0x42c488[_0x24cb13(0x229)]=_0x59e44b[_0x24cb13(0x204)],_0x42c488;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5c930e}from'ckeditor5/src/core.js';import{FileRepository as _0x160e0b}from'ckeditor5/src/upload.js';import _0x550f43 from'./uploadcareediting.js';import _0x5ed3c1 from'./utils/uploadutils.js';import{getImageUrls as _0x175f81}from'./utils/editingutils.js';export default class p extends _0x5c930e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x160e0b,_0x550f43];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5b3733=this['editor'];if(!!!_0x5b3733['config']['get']('uploadcare'))return;_0x5b3733['plugins']['get'](_0x160e0b)['createUploadAdapter']=_0x1948af=>new x(_0x1948af,_0x5b3733),_0x5b3733['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x331744,{imageElement:_0x346128,data:_0x5c281e})=>{_0x5b3733['model']['change'](_0xb3e3a2=>{_0xb3e3a2['setAttribute']('uploadcareImageId',_0x5c281e['uploadcareImageId'],_0x346128);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x404435,_0x1f4d00){this['loader']=_0x404435,this['editor']=_0x1f4d00,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x16dc87=this['editor']['config']['get']('uploadcare.pubkey'),_0x493fb4=await this['loader']['file'];return _0x5ed3c1['upload']({'file':_0x493fb4,'publicKey':_0x16dc87,'signal':this['controller']['signal'],'onProgress':_0x26e080=>{_0x26e080&&_0x26e080['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x26e080['value']);}})['then'](async _0x28487a=>{const {imageFallbackUrl:_0x4c2ed7,imageSources:_0xae9722}=_0x175f81(_0x28487a['cdnUrl'],_0x28487a['imageInfo']['width']);return{'uploadcareImageId':_0x28487a['uuid'],'default':_0x4c2ed7,'sources':_0xae9722};})['catch'](()=>{const _0x131b0c=t('Cannot\x20upload\x20file:')+('\x20'+_0x493fb4['name']+'.');return Promise['reject'](_0x131b0c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4eb72f}from'ckeditor5/src/core.js';import{FileRepository as _0x268961}from'ckeditor5/src/upload.js';import _0x9cfa98 from'./uploadcareediting.js';import _0x233d43 from'./utils/uploadutils.js';import{getImageUrls as _0x325bf1}from'./utils/editingutils.js';export default class p extends _0x4eb72f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x268961,_0x9cfa98];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bef4a=this['editor'];if(!!!_0x3bef4a['config']['get']('uploadcare'))return;_0x3bef4a['plugins']['get'](_0x268961)['createUploadAdapter']=_0x4d594b=>new x(_0x4d594b,_0x3bef4a),_0x3bef4a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35c5b2,{imageElement:_0x1aa966,data:_0x56e156})=>{_0x3bef4a['model']['change'](_0x1ee021=>{_0x1ee021['setAttribute']('uploadcareImageId',_0x56e156['uploadcareImageId'],_0x1aa966);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3e0b08,_0x25c9e8){this['loader']=_0x3e0b08,this['editor']=_0x25c9e8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x153dd2=this['editor']['config']['get']('uploadcare.pubkey'),_0x181fab=await this['loader']['file'];return _0x233d43['upload']({'file':_0x181fab,'publicKey':_0x153dd2,'signal':this['controller']['signal'],'onProgress':_0x3596d4=>{_0x3596d4&&_0x3596d4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3596d4['value']);}})['then'](async _0x42fb09=>{const {imageFallbackUrl:_0x92fd72,imageSources:_0x27ccfb}=_0x325bf1(_0x42fb09['cdnUrl'],_0x42fb09['imageInfo']['width']);return{'uploadcareImageId':_0x42fb09['uuid'],'default':_0x92fd72,'sources':_0x27ccfb};})['catch'](()=>{const _0x41b8f8=t('Cannot\x20upload\x20file:')+('\x20'+_0x181fab['name']+'.');return Promise['reject'](_0x41b8f8);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5341e6}from'../uploadcareconfig.js';export function getTranslation(_0x5738ad,_0xbf4d22,_0x49a1db){const t=_0x5738ad['t'],_0x1891dd=_0x5738ad['t'];switch(_0xbf4d22){case _0x5341e6['Local']:return{'text':_0x1891dd('Insert'===_0x49a1db?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1891dd('From\x20computer')};case _0x5341e6['URL']:return{'text':'Insert'===_0x49a1db?_0x1891dd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1891dd('Via\x20URL')};case _0x5341e6['Dropbox']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5341e6['Facebook']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5341e6['GDrive']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5341e6['GPhotos']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5341e6['OneDrive']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xbf4d22;}}
23
+ import{UploadcareSource as _0x5dce15}from'../uploadcareconfig.js';export function getTranslation(_0x4cc531,_0x55429f,_0x16cb8f){const t=_0x4cc531['t'],_0x5e4fb0=_0x4cc531['t'];switch(_0x55429f){case _0x5dce15['Local']:return{'text':_0x5e4fb0('Insert'===_0x16cb8f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5e4fb0('From\x20computer')};case _0x5dce15['URL']:return{'text':'Insert'===_0x16cb8f?_0x5e4fb0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5e4fb0('Via\x20URL')};case _0x5dce15['Dropbox']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5dce15['Facebook']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5dce15['GDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5dce15['GPhotos']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5dce15['OneDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55429f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x22232b=_0x5686;(function(_0x414d76,_0x50e03b){var _0x1ae05d=_0x5686,_0x75b45f=_0x414d76();while(!![]){try{var _0x346b7f=-parseInt(_0x1ae05d(0x11e))/0x1*(-parseInt(_0x1ae05d(0x121))/0x2)+parseInt(_0x1ae05d(0x120))/0x3+-parseInt(_0x1ae05d(0x117))/0x4+-parseInt(_0x1ae05d(0x124))/0x5+-parseInt(_0x1ae05d(0x11b))/0x6+parseInt(_0x1ae05d(0x122))/0x7*(-parseInt(_0x1ae05d(0x11a))/0x8)+-parseInt(_0x1ae05d(0x114))/0x9*(-parseInt(_0x1ae05d(0x126))/0xa);if(_0x346b7f===_0x50e03b)break;else _0x75b45f['push'](_0x75b45f['shift']());}catch(_0x3dfb52){_0x75b45f['push'](_0x75b45f['shift']());}}}(_0x4214,0x46240));import{FocusTracker as _0x3f3473}from'ckeditor5/src/utils.js';function _0x4214(){var _0x25ed67=['div','14192ksBJIg','763974CpLNEA','focusTracker','createCollection','1fJxxRk','true','1606404FJVxgI','928976qaUjVc','1421lcixpR','forwardCycle','2182120HOimzy','fire','10BdsjpV','2237967brBYjm','focusCycler','getFocusableElement','149792zFBSwA','bindTemplate'];_0x4214=function(){return _0x25ed67;};return _0x4214();}function _0x5686(_0x5d3648,_0x5340ac){var _0x421424=_0x4214();return _0x5686=function(_0x5686d0,_0x292c81){_0x5686d0=_0x5686d0-0x114;var _0x251839=_0x421424[_0x5686d0];return _0x251839;},_0x5686(_0x5d3648,_0x5340ac);}import{View as _0x1bbfa1,FocusCycler as _0x24d27e}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x1bbfa1{[_0x22232b(0x11c)];[_0x22232b(0x115)];constructor(_0x245fb8){var _0xf71122=_0x22232b;super(_0x245fb8),this[_0xf71122(0x11c)]=new _0x3f3473(),this[_0xf71122(0x115)]=new _0x24d27e({'focusables':this[_0xf71122(0x11d)](),'focusTracker':this[_0xf71122(0x11c)]});}[_0x22232b(0x116)](){var _0x199799=_0x22232b;return{'tag':_0x199799(0x119),'attributes':{'aria-hidden':_0x199799(0x11f),'tabindex':'0'},'on':{'focus':this[_0x199799(0x118)]['to'](()=>{var _0x49d356=_0x199799;this[_0x49d356(0x115)][_0x49d356(0x125)](_0x49d356(0x123));})}};}}
23
+ var _0x1cd633=_0x2d67;(function(_0x17bdbc,_0x40aef9){var _0x4fa219=_0x2d67,_0x3bf4f1=_0x17bdbc();while(!![]){try{var _0x5c741d=-parseInt(_0x4fa219(0x1e3))/0x1*(-parseInt(_0x4fa219(0x1df))/0x2)+-parseInt(_0x4fa219(0x1e2))/0x3*(-parseInt(_0x4fa219(0x1da))/0x4)+parseInt(_0x4fa219(0x1e0))/0x5*(parseInt(_0x4fa219(0x1d5))/0x6)+parseInt(_0x4fa219(0x1d3))/0x7*(-parseInt(_0x4fa219(0x1d7))/0x8)+-parseInt(_0x4fa219(0x1d1))/0x9+-parseInt(_0x4fa219(0x1e1))/0xa+parseInt(_0x4fa219(0x1d9))/0xb;if(_0x5c741d===_0x40aef9)break;else _0x3bf4f1['push'](_0x3bf4f1['shift']());}catch(_0x40fef0){_0x3bf4f1['push'](_0x3bf4f1['shift']());}}}(_0x32ae,0x5cb4d));import{FocusTracker as _0xe860d1}from'ckeditor5/src/utils.js';function _0x2d67(_0x426bb2,_0x1fb542){var _0x32ae47=_0x32ae();return _0x2d67=function(_0x2d6756,_0x7233b3){_0x2d6756=_0x2d6756-0x1d0;var _0x2854e2=_0x32ae47[_0x2d6756];return _0x2854e2;},_0x2d67(_0x426bb2,_0x1fb542);}import{View as _0x4e77ac,FocusCycler as _0x512927}from'ckeditor5/src/ui.js';function _0x32ae(){var _0x34ebf2=['1384JLOOSw','focusCycler','2979680PvPGDl','292700IDpULS','forwardCycle','focusTracker','div','fire','34wMWDPi','30CrKOBj','4193700rkUuMh','21XsiBTh','1751FNcuXD','getFocusableElement','4541796OjLMTv','bindTemplate','5257OXbBaJ','createCollection','620790qqdxWJ','true'];_0x32ae=function(){return _0x34ebf2;};return _0x32ae();}import'../../theme/uploadcare-form.css';export default class q extends _0x4e77ac{[_0x1cd633(0x1dc)];[_0x1cd633(0x1d8)];constructor(_0x5d097d){var _0xcd45ee=_0x1cd633;super(_0x5d097d),this[_0xcd45ee(0x1dc)]=new _0xe860d1(),this[_0xcd45ee(0x1d8)]=new _0x512927({'focusables':this[_0xcd45ee(0x1d4)](),'focusTracker':this[_0xcd45ee(0x1dc)]});}[_0x1cd633(0x1d0)](){var _0x178121=_0x1cd633;return{'tag':_0x178121(0x1dd),'attributes':{'aria-hidden':_0x178121(0x1d6),'tabindex':'0'},'on':{'focus':this[_0x178121(0x1d2)]['to'](()=>{var _0xd09c30=_0x178121;this[_0xd09c30(0x1d8)][_0xd09c30(0x1de)](_0xd09c30(0x1db));})}};}}