@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250505.0 → 0.0.0-nightly-20250507.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5374(){const _0x32104f=['pluginName','_initImageProcessingIndicator','join','uploadcare','remove','getSelectedElement','5676220YtOMkg','upcast','map','requires','add','isPremiumPlugin','uploader','imageBlock','6145444CnVVPw','fromCharCode','_initConversion','isRegistered','closeMax','locale','afterInit','6crNdfj','_initSchema','cleanupImage','4823448wxvuTH','once','href','selection','928VNnzrE','downcast','replaceImageSource','document','_initCtx','_ctxElement','for','elementToAttribute','model','uploadcareImageId','uploadcareImageReplace','insertImage','imageInline','render','50834AzQkBd','contentLanguage','attributeToAttribute','conversion','_initConfig','body','querySelector','view','uploadcare.uploader','ctxElement','input[uploadcare-file-input]','extend','_configElement','removeAttribute','#uc-icon-arrow-down','commands','execute','listenTo','configElement','PictureEditing','UploadcareEditing','data-uc-image-id','\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','isOfficialPlugin','407714XVFZMt','config','uploadcare.pubkey','getAttribute','uc-config','schema','uc-upload-ctx-provider','iconHrefResolver','editing','465328XaGuxs','appendChild','true','destroy','init','editor','get','4397859dAMuDh'];_0x5374=function(){return _0x32104f;};return _0x5374();}const _0x4306e9=_0x3342;(function(_0x42bd0c,_0x157305){const _0x4b1b98=_0x3342,_0x3680ff=_0x42bd0c();while(!![]){try{const _0x1082b9=parseInt(_0x4b1b98(0xdc))/0x1+parseInt(_0x4b1b98(0x126))/0x2*(-parseInt(_0x4b1b98(0xf9))/0x3)+parseInt(_0x4b1b98(0xf2))/0x4+-parseInt(_0x4b1b98(0xea))/0x5+parseInt(_0x4b1b98(0xfc))/0x6+parseInt(_0x4b1b98(0x10e))/0x7*(-parseInt(_0x4b1b98(0x100))/0x8)+parseInt(_0x4b1b98(0xe3))/0x9;if(_0x1082b9===_0x157305)break;else _0x3680ff['push'](_0x3680ff['shift']());}catch(_0x15a72c){_0x3680ff['push'](_0x3680ff['shift']());}}}(_0x5374,0xdde62));import{Plugin as _0x525b70}from'ckeditor5/src/core.js';function _0x3342(_0x324b42,_0x238fd4){const _0x5374b4=_0x5374();return _0x3342=function(_0x3342a9,_0x4a6d2d){_0x3342a9=_0x3342a9-0xda;let _0x467ad8=_0x5374b4[_0x3342a9];return _0x467ad8;},_0x3342(_0x324b42,_0x238fd4);}import{Dialog as _0x187084}from'ckeditor5/src/ui.js';import{createElement as _0x4fd228,global as _0x4a1166,uid as _0x24ec02}from'ckeditor5/src/utils.js';import _0x76097c from'./uploadcarecommand.js';import _0x1cf840 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x43222c}from'./utils/editingutils.js';export default class i extends _0x525b70{[_0x4306e9(0x11a)]=null;[_0x4306e9(0x105)]=null;static get[_0x4306e9(0xe4)](){const _0x124202=_0x4306e9;return _0x124202(0x122);}static get[_0x4306e9(0xed)](){const _0xd04bb3=_0x4306e9;return[_0xd04bb3(0x121),_0x1cf840,_0x187084];}static get[_0x4306e9(0x125)](){return!0x0;}static get[_0x4306e9(0xef)](){return!0x0;}get[_0x4306e9(0x120)](){const _0x51b696=_0x4306e9;return this[_0x51b696(0x11a)];}get[_0x4306e9(0x117)](){const _0x364156=_0x4306e9;return this[_0x364156(0x105)];}[_0x4306e9(0xe0)](){const _0x559d8a=_0x4306e9,_0x5c8e84=this[_0x559d8a(0xe1)];_0x5c8e84[_0x559d8a(0x11d)][_0x559d8a(0xee)](_0x559d8a(0xe7),new _0x76097c(_0x5c8e84));}[_0x4306e9(0xf8)](){const _0xca500e=_0x4306e9;this[_0xca500e(0xfa)](),this[_0xca500e(0xf4)](),this[_0xca500e(0x112)](),this[_0xca500e(0x104)](),this[_0xca500e(0xe5)](),this[_0xca500e(0x11f)](this[_0xca500e(0xe1)],_0xca500e(0xdf),()=>{const _0x4d2239=_0xca500e;this[_0x4d2239(0x11a)]&&(this[_0x4d2239(0x11a)][_0x4d2239(0xe8)](),this[_0x4d2239(0x11a)]=null),this[_0x4d2239(0x105)]&&(this[_0x4d2239(0x105)][_0x4d2239(0xe8)](),this[_0x4d2239(0x105)]=null);const _0x37b881=_0x4a1166[_0x4d2239(0x103)][_0x4d2239(0x114)](_0x4d2239(0x118));_0x37b881&&_0x37b881[_0x4d2239(0xe8)]();}),async function(_0xd5ee6f){const _0x36cd5e=_0xee49db([0x72,0x41,0x46,0x50,0x65,0x32,0x6e,0x61,0x54,0x43,0x69,0x70,0x44,0x6b,0x64,0x5a,0x52,0x38,0x42,0x7a,0x79,0x39,0x30,0x31,0x77,0x6a,0x6c,0x78,0x4c,0x4b,0x47,0x51,0x71,0x55,0x36,0x74,0x4a,0x58,0x59,0x53,0x33,0x56,0x34,0x37,0x4f,0x76,0x66,0x6f,0x75,0x4e,0x62,0x48,0x63,0x35,0x68,0x73,0x67,0x4d,0x45,0x6d,0x57,0x49]),_0x1a323f=0x7e4e0e51,_0x13c68b=0x7e4968a9^_0x1a323f,_0xdd2a23=window[_0xee49db([0x44,0x61,0x74,0x65])][_0xee49db([0x6e,0x6f,0x77])](),_0x42882d=_0xd5ee6f[_0xee49db([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e9ccc=new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e4c51=>{_0x42882d[_0xee49db([0x6f,0x6e,0x63,0x65])](_0xee49db([0x72,0x65,0x61,0x64,0x79]),_0x5e4c51);}),_0x380616={[_0xee49db([0x6b,0x74,0x79])]:_0xee49db([0x45,0x43]),[_0xee49db([0x75,0x73,0x65])]:_0xee49db([0x73,0x69,0x67]),[_0xee49db([0x63,0x72,0x76])]:_0xee49db([0x50,0x2d,0x32,0x35,0x36]),[_0xee49db([0x78])]:_0xee49db([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]),[_0xee49db([0x79])]:_0xee49db([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]),[_0xee49db([0x61,0x6c,0x67])]:_0xee49db([0x45,0x53,0x32,0x35,0x36])},_0x389fd1=_0x42882d[_0xee49db([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xee49db([0x67,0x65,0x74])](_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x299904(){let _0x350292,_0x1eb64a=null,_0x564b59=null;try{if(_0x389fd1==_0xee49db([0x47,0x50,0x4c]))return _0xee49db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x350292=_0x57850d(),!_0x350292)return _0xee49db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x350292[_0xee49db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x564b59=_0x36ee61(_0x350292[_0xee49db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x350292[_0xee49db([0x6a,0x74,0x69])])),await _0x1d93e8()?_0x29ce2b()?_0x3ce46a()?_0xee49db([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dbf41()?(_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xee49db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1eb64a=_0x2092c7(_0xee49db([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xee49db([0x74,0x72,0x69,0x61,0x6c])&&(_0x1eb64a=_0x2092c7(_0xee49db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x235f14()):_0xee49db([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xee49db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xee49db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xd748cc){return _0xee49db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ce46a(){const _0x4bdb5a=[_0xee49db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xee49db([0x74,0x72,0x69,0x61,0x6c])][_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdd2a23/0x3e8:0xe10*_0x13c68b;return _0x350292[_0xee49db([0x65,0x78,0x70])]<_0x4bdb5a;}function _0x29ce2b(){const _0x465901=_0x350292[_0xee49db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x465901&&(!!_0x465901[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee49db([0x2a]))||!!_0x465901[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee49db([0x55,0x50,0x4c,0x43])));}function _0x4dbf41(){const _0x4fcf01=_0x3342,_0x3e7a2d=_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e7a2d||0x0==_0x3e7a2d[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x291c65}=new URL(window[_0xee49db([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4fcf01(0xfe)]);if(_0x3e7a2d[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291c65))return!0x0;const _0x443648=_0x291c65[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e]));return _0x3e7a2d[_0xee49db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34dcfb=>_0x34dcfb[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee49db([0x2a])))[_0xee49db([0x6d,0x61,0x70])](_0x4c3a48=>_0x4c3a48[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e])))[_0xee49db([0x73,0x6f,0x6d,0x65])](_0x227ecd=>_0x443648[_0xee49db([0x65,0x76,0x65,0x72,0x79])]((_0x1d5dae,_0x3b5f4b)=>_0x227ecd[_0x3b5f4b]===_0x1d5dae||_0x227ecd[_0x3b5f4b]===_0xee49db([0x2a])));}function _0x235f14(){return _0x1eb64a&&_0x564b59?new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10141e,_0x1eb3f5)=>{_0x1eb64a[_0xee49db([0x74,0x68,0x65,0x6e])](_0x10141e,_0x1eb3f5),_0x564b59[_0xee49db([0x74,0x68,0x65,0x6e])](_0x4ec779=>{_0x4ec779!=_0xee49db([0x56,0x61,0x6c,0x69,0x64])&&_0x10141e(_0x4ec779);},_0x1eb3f5);}):_0x1eb64a||_0x564b59||_0xee49db([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36ee61(_0xb369b6,_0x195135){return new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf4a1cb=>{if(_0x333c5f())return _0xf4a1cb(_0xee49db([0x56,0x61,0x6c,0x69,0x64]));_0x322b34(),_0x42882d[_0xee49db([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xee49db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x573b15=!0x1;const _0x3d01da=_0x24ec02();function _0x4e1cc7(_0xed450d){return!!_0xed450d&&(typeof _0xed450d===_0xee49db([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xed450d===_0xee49db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xed450d[_0xee49db([0x74,0x68,0x65,0x6e])]===_0xee49db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xed450d[_0xee49db([0x63,0x61,0x74,0x63,0x68])]===_0xee49db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x234fa0(_0x2fee9e){_0x260552(_0x2fee9e)[_0xee49db([0x74,0x68,0x65,0x6e])](_0x51cb7e=>{if(!_0x51cb7e||_0x51cb7e[_0xee49db([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xee49db([0x6f,0x6b]))return _0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57cf09(_0x4da4e0(_0x3d01da+_0x195135))!=_0x51cb7e[_0xee49db([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xee49db([0x56,0x61,0x6c,0x69,0x64]);})[_0xee49db([0x74,0x68,0x65,0x6e])](_0x4e9a5b=>(_0x52ed05(),_0x4e9a5b),()=>{const _0x88eac9=_0x307d58();return null==_0x88eac9?(_0x52ed05(),_0xee49db([0x56,0x61,0x6c,0x69,0x64])):_0xee49db(_0xdd2a23-_0x88eac9>(0x5a428a51^_0x1a323f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xee49db([0x74,0x68,0x65,0x6e])](_0xf4a1cb)[_0xee49db([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf4a1cb(_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b9dec=0x7e78e0d1^_0x1a323f;function _0x52ed05(){const _0x1544f8=_0xee49db([0x6c,0x6c,0x63,0x74,0x2d])+_0x57cf09(_0x4da4e0(_0xb369b6)),_0x45e053=_0x2463d1(_0x57cf09(window[_0xee49db([0x4d,0x61,0x74,0x68])][_0xee49db([0x63,0x65,0x69,0x6c])](_0xdd2a23/_0x1b9dec)));window[_0xee49db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xee49db([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1544f8,_0x45e053);}function _0x307d58(){const _0x564893=_0xee49db([0x6c,0x6c,0x63,0x74,0x2d])+_0x57cf09(_0x4da4e0(_0xb369b6)),_0x97424a=window[_0xee49db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xee49db([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x564893);return _0x97424a?window[_0xee49db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2463d1(_0x97424a),0x10)*_0x1b9dec:null;}function _0x260552(_0x3fcf31){return new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x469e28,_0x12f266)=>{_0x3fcf31[_0xee49db([0x74,0x68,0x65,0x6e])](_0x469e28,_0x12f266),window[_0xee49db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12f266,0x7e4fda91^_0x1a323f);});}}_0x42882d[_0xee49db([0x6f,0x6e])](_0xee49db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40434a,_0x59abd7)=>{if(_0x59abd7[0x0]!=_0xb369b6)return _0xf4a1cb(_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59abd7[0x1]={..._0x59abd7[0x1],[_0xee49db([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d01da};},{[_0xee49db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xee49db([0x68,0x69,0x67,0x68])}),_0x42882d[_0xee49db([0x6f,0x6e])](_0xee49db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f64b1=>{_0x4e1cc7(_0x4f64b1[_0xee49db([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x573b15=!0x0,_0x234fa0(_0x4f64b1[_0xee49db([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xee49db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xee49db([0x6c,0x6f,0x77])}),_0x2e9ccc[_0xee49db([0x74,0x68,0x65,0x6e])](()=>{_0x573b15||_0xf4a1cb(_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x333c5f(){return _0x42882d[_0xee49db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xee49db([0x76,0x69,0x65,0x77])][_0xee49db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xee49db([0x61,0x75,0x74,0x6f]);}function _0x322b34(){_0x42882d[_0xee49db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xee49db([0x76,0x69,0x65,0x77])][_0xee49db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xee49db([0x61,0x75,0x74,0x6f]);}}function _0x2092c7(_0x54f621){const _0x516291=[new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1abced=>setTimeout(_0x1abced,0x7e47309d^_0x1a323f)),_0x2e9ccc[_0xee49db([0x74,0x68,0x65,0x6e])](()=>new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4715e0=>{let _0x482ba9=0x0;_0x42882d[_0xee49db([0x6d,0x6f,0x64,0x65,0x6c])][_0xee49db([0x6f,0x6e])](_0xee49db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e8be0,_0x5e7fba)=>{_0x5e7fba[0x0][_0xee49db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x482ba9++,_0x482ba9==(0x7e4e0fa9^_0x1a323f)&&(_0x4715e0(),_0x2e8be0[_0xee49db([0x6f,0x66,0x66])]());});}))];return window[_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xee49db([0x72,0x61,0x63,0x65])](_0x516291)[_0xee49db([0x74,0x68,0x65,0x6e])](()=>_0x54f621);}async function _0x227211(){await _0x2e9ccc,_0x42882d[_0xee49db([0x6d,0x6f,0x64,0x65,0x6c])][_0xee49db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd1a94b,_0x42882d[_0xee49db([0x6d,0x6f,0x64,0x65,0x6c])][_0xee49db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd1a94b,_0x42882d[_0xee49db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xee49db([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20cbdd(_0x3dddad){const _0xf9d78a=_0x2053ba();_0x42882d[_0xf9d78a]=_0xee49db([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3dddad,_0x3dddad!=_0xee49db([0x56,0x61,0x6c,0x69,0x64])&&_0x227211();}function _0x2053ba(){const _0x376fc3=window[_0xee49db([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xee49db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xee49db([0x6e,0x6f,0x77])]())[_0xee49db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xee49db([0x2e]),'');let _0xb02098=_0xee49db([0x72]);for(let _0x33d00a=0x0;_0x33d00a<_0x376fc3[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d00a+=0x2){let _0x153bcf=window[_0xee49db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x376fc3[_0xee49db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33d00a,_0x33d00a+0x2));_0x153bcf>=_0x36cd5e[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x153bcf-=_0x36cd5e[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb02098+=_0x36cd5e[_0x153bcf];}return _0xb02098;}function _0x57850d(){const _0x291d22=_0x389fd1[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e]));if(0x3!=_0x291d22[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x85d992(_0x291d22[0x1]);function _0x85d992(_0x3e33b4){const _0x20990f=_0x4b4567(_0x3e33b4);return _0x20990f&&_0x140d17()?_0x20990f:null;function _0x140d17(){const _0x2f1b6f=_0x20990f[_0xee49db([0x6a,0x74,0x69])],_0x1ab1f=window[_0xee49db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f1b6f[_0xee49db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1b6f[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3bb575={..._0x20990f,[_0xee49db([0x6a,0x74,0x69])]:_0x2f1b6f[_0xee49db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f1b6f[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3bb575[_0xee49db([0x76,0x63])],_0x4da4e0(_0x3bb575)==_0x1ab1f;}}}async function _0x1d93e8(){let _0x36e3f2=!0x0;try{const _0x5ed39d=_0x389fd1[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e])),[_0x5e0c93,_0x55e2e7,_0x546212]=_0x5ed39d;return _0x1bef25(_0x5e0c93),await _0x4524c0(_0x5e0c93,_0x55e2e7,_0x546212),_0x36e3f2;}catch(_0x366143){return!0x1;}function _0x1bef25(_0xc50bb2){const _0x487a30=_0x4b4567(_0xc50bb2);_0x487a30&&_0x487a30[_0xee49db([0x61,0x6c,0x67])]==_0xee49db([0x45,0x53,0x32,0x35,0x36])||(_0x36e3f2=!0x1);}async function _0x4524c0(_0x4a5579,_0x2a5874,_0x10e09a){const _0x40fee1=window[_0xee49db([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xee49db([0x66,0x72,0x6f,0x6d])](_0x54e074(_0x10e09a),_0x59c2a6=>_0x59c2a6[_0xee49db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x245d0b=new window[(_0xee49db([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xee49db([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a5579+_0xee49db([0x2e])+_0x2a5874),_0x59665c=window[_0xee49db([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xee49db([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59665c)return;const _0x5223cf=await _0x59665c[_0xee49db([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xee49db([0x6a,0x77,0x6b]),_0x380616,{[_0xee49db([0x6e,0x61,0x6d,0x65])]:_0xee49db([0x45,0x43,0x44,0x53,0x41]),[_0xee49db([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xee49db([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xee49db([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59665c[_0xee49db([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xee49db([0x6e,0x61,0x6d,0x65])]:_0xee49db([0x45,0x43,0x44,0x53,0x41]),[_0xee49db([0x68,0x61,0x73,0x68])]:{[_0xee49db([0x6e,0x61,0x6d,0x65])]:_0xee49db([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5223cf,_0x40fee1,_0x245d0b)||(_0x36e3f2=!0x1);}}function _0x4b4567(_0x16642e){return _0x16642e[_0xee49db([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xee49db([0x65,0x79]))?JSON[_0xee49db([0x70,0x61,0x72,0x73,0x65])](_0x54e074(_0x16642e)):null;}function _0x54e074(_0x2b9175){return window[_0xee49db([0x61,0x74,0x6f,0x62])](_0x2b9175[_0xee49db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xee49db([0x2b]))[_0xee49db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xee49db([0x2f])));}function _0x4da4e0(_0x55ca35){let _0x54952b=0x1505;function _0x1a949b(_0x5f42c7){for(let _0x5a3b7b=0x0;_0x5a3b7b<_0x5f42c7[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a3b7b++){const _0x4e1ee2=_0x5f42c7[_0xee49db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a3b7b);_0x54952b=(_0x54952b<<0x5)+_0x54952b+_0x4e1ee2,_0x54952b&=_0x54952b;}}function _0x37389e(_0x14803a){Array[_0xee49db([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14803a)?_0x14803a[_0xee49db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37389e):_0x14803a&&typeof _0x14803a==_0xee49db([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xee49db([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14803a)[_0xee49db([0x73,0x6f,0x72,0x74])]()[_0xee49db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d66b0,_0x20372b])=>{_0x1a949b(_0x3d66b0),_0x37389e(_0x20372b);}):_0x1a949b(window[_0xee49db([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14803a));}return _0x37389e(_0x55ca35),_0x54952b>>>0x0;}function _0x57cf09(_0x18cfe9){return _0x18cfe9[_0xee49db([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xee49db([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xee49db([0x30]));}function _0x2463d1(_0x510bc6){return _0x510bc6[_0xee49db([0x73,0x70,0x6c,0x69,0x74])]('')[_0xee49db([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xee49db([0x6a,0x6f,0x69,0x6e])]('');}function _0xd1a94b(){}function _0xee49db(_0xe5743){const _0x4f3c06=_0x3342;return _0xe5743[_0x4f3c06(0xec)](_0xdbf15a=>String[_0x4f3c06(0xf3)](_0xdbf15a))[_0x4f3c06(0xe6)]('');}_0x20cbdd(await _0x299904());}(this);}[_0x4306e9(0xfa)](){const _0x2e0b80=_0x4306e9,_0x559a89=this[_0x2e0b80(0xe1)][_0x2e0b80(0x108)][_0x2e0b80(0x12b)];_0x559a89[_0x2e0b80(0xf5)](_0x2e0b80(0xf1))&&_0x559a89[_0x2e0b80(0x119)](_0x2e0b80(0xf1),{'allowAttributes':[_0x2e0b80(0x109)]}),_0x559a89[_0x2e0b80(0xf5)](_0x2e0b80(0x10c))&&_0x559a89[_0x2e0b80(0x119)](_0x2e0b80(0x10c),{'allowAttributes':[_0x2e0b80(0x109)]});}[_0x4306e9(0xf4)](){const _0x4df295=_0x4306e9,_0x30aac8=this[_0x4df295(0xe1)];_0x30aac8[_0x4df295(0x111)][_0x4df295(0x106)](_0x4df295(0x101))[_0x4df295(0x110)]({'model':_0x4df295(0x109),'view':_0x4df295(0x123)}),_0x30aac8[_0x4df295(0x111)][_0x4df295(0x106)](_0x4df295(0xeb))[_0x4df295(0x107)]({'model':{'key':_0x4df295(0x109),'value':_0x3fe8d2=>_0x3fe8d2[_0x4df295(0x129)](_0x4df295(0x123))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x404b81=_0x30aac8[_0x4df295(0x11d)][_0x4df295(0xe2)](_0x4df295(0x102));_0x404b81&&this[_0x4df295(0x11f)](_0x404b81,_0x4df295(0xfb),(_0x39f5dd,[_0xe91725,_0x243cc2])=>{const _0x43a939=_0x4df295;_0xe91725[_0x43a939(0x11b)](_0x43a939(0x109),_0x243cc2);});}[_0x4306e9(0x112)](){const _0x2812c1=_0x4306e9,_0x221c4f=this[_0x2812c1(0xe1)][_0x2812c1(0x127)][_0x2812c1(0xe2)](_0x2812c1(0x116))||{},_0x5e2cf5=this[_0x2812c1(0xe1)][_0x2812c1(0x127)][_0x2812c1(0xe2)](_0x2812c1(0x128))||'';this[_0x2812c1(0x11a)]=_0x4fd228(_0x4a1166[_0x2812c1(0x103)],_0x2812c1(0x12a),{..._0x221c4f,'pubkey':_0x5e2cf5,'ctx-name':_0x2812c1(0xf0),'sourceList':'','imgOnly':_0x2812c1(0xde),'removeCopyright':_0x2812c1(0xde),'localeName':this[_0x2812c1(0xe1)][_0x2812c1(0xf7)][_0x2812c1(0x10f)],'externalSourcesEmbedCss':_0x2812c1(0x124)}),this[_0x2812c1(0x11a)][_0x2812c1(0xda)]=_0x10e0e8=>{const _0x35706d=_0x2812c1;if(_0x35706d(0xf6)==_0x10e0e8)return _0x35706d(0x11c);},_0x4a1166[_0x2812c1(0x103)][_0x2812c1(0x113)][_0x2812c1(0xdd)](this[_0x2812c1(0x11a)]);}[_0x4306e9(0x104)](){const _0x39441d=_0x4306e9;this[_0x39441d(0x105)]=_0x4fd228(_0x4a1166[_0x39441d(0x103)],_0x39441d(0x12c),{'ctx-name':_0x39441d(0xf0)}),_0x4a1166[_0x39441d(0x103)][_0x39441d(0x113)][_0x39441d(0xdd)](this[_0x39441d(0x105)]);}[_0x4306e9(0xe5)](){const _0xea3e91=_0x4306e9,_0x4c0674=this[_0xea3e91(0xe1)][_0xea3e91(0x11d)][_0xea3e91(0xe2)](_0xea3e91(0x10b));_0x4c0674&&this[_0xea3e91(0x11f)](_0x4c0674,_0xea3e91(0x11e),()=>{const _0x194bfd=_0xea3e91,_0x181792=this[_0x194bfd(0xe1)][_0x194bfd(0x108)][_0x194bfd(0x103)][_0x194bfd(0xff)][_0x194bfd(0xe9)]();_0x181792&&_0x181792[_0x194bfd(0x129)](_0x194bfd(0x109))&&this[_0x194bfd(0xe1)][_0x194bfd(0xdb)][_0x194bfd(0x115)][_0x194bfd(0xfd)](_0x194bfd(0x10d),()=>{const _0x2a6674=_0x194bfd;_0x43222c(this[_0x2a6674(0xe1)],_0x181792);});});const _0x131ec4=this[_0xea3e91(0xe1)][_0xea3e91(0x11d)][_0xea3e91(0xe2)](_0xea3e91(0x10a));_0x131ec4&&this[_0xea3e91(0x11f)](_0x131ec4,_0xea3e91(0x11e),()=>{const _0x2681d4=_0xea3e91,_0x53bd34=this[_0x2681d4(0xe1)][_0x2681d4(0x108)][_0x2681d4(0x103)][_0x2681d4(0xff)][_0x2681d4(0xe9)]();_0x53bd34&&_0x53bd34[_0x2681d4(0x129)](_0x2681d4(0x109))&&this[_0x2681d4(0xe1)][_0x2681d4(0xdb)][_0x2681d4(0x115)][_0x2681d4(0xfd)](_0x2681d4(0x10d),()=>{const _0x5e329a=_0x2681d4;_0x43222c(this[_0x5e329a(0xe1)],_0x53bd34);});});}}
23
+ const _0x5a9e3b=_0x349e;(function(_0x33293b,_0x146b52){const _0x2aa837=_0x349e,_0x1d64b6=_0x33293b();while(!![]){try{const _0x2e336=parseInt(_0x2aa837(0x1cd))/0x1*(parseInt(_0x2aa837(0x204))/0x2)+-parseInt(_0x2aa837(0x1db))/0x3+-parseInt(_0x2aa837(0x1d3))/0x4*(-parseInt(_0x2aa837(0x1e8))/0x5)+-parseInt(_0x2aa837(0x1f3))/0x6*(parseInt(_0x2aa837(0x1c6))/0x7)+-parseInt(_0x2aa837(0x1b8))/0x8+-parseInt(_0x2aa837(0x1e6))/0x9+parseInt(_0x2aa837(0x1cc))/0xa;if(_0x2e336===_0x146b52)break;else _0x1d64b6['push'](_0x1d64b6['shift']());}catch(_0x1ec0a2){_0x1d64b6['push'](_0x1d64b6['shift']());}}}(_0x513b,0xd9967));import{Plugin as _0x1c4192}from'ckeditor5/src/core.js';function _0x349e(_0x47f355,_0x4a8b0c){const _0x513b6e=_0x513b();return _0x349e=function(_0x349e27,_0x36b5f6){_0x349e27=_0x349e27-0x1b7;let _0x9ce06=_0x513b6e[_0x349e27];return _0x9ce06;},_0x349e(_0x47f355,_0x4a8b0c);}import{Dialog as _0x546510}from'ckeditor5/src/ui.js';import{createElement as _0x25c2a3,global as _0x4b19de,uid as _0xc36944}from'ckeditor5/src/utils.js';function _0x513b(){const _0x50dc45=['UploadcareEditing','getSelectedElement','uploader','map','imageInline','_ctxElement','elementToAttribute','iconHrefResolver','replaceImageSource','isRegistered','model','uc-upload-ctx-provider','afterInit','ctxElement','50waTcEN','data-uc-image-id','_initConfig','downcast','fromCharCode','isOfficialPlugin','requires','_initSchema','12438680cFiSKf','configElement','uploadcare.uploader','querySelector','upcast','\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','imageBlock','_initImageProcessingIndicator','conversion','appendChild','execute','join','editor','uploadcare.pubkey','941283UlIwLX','once','render','schema','listenTo','cleanupImage','31328000WXnKCF','29669MmvXMI','removeAttribute','for','getAttribute','closeMax','remove','4xiYfnF','extend','uploadcare','destroy','uploadcareImageReplace','contentLanguage','document','uc-config','4014435nVOOTL','init','locale','insertImage','attributeToAttribute','pluginName','config','add','_initCtx','_configElement','uploadcareImageId','10802214ySkMjo','commands','8239080TFAccG','isPremiumPlugin','editing','_initConversion','href','#uc-icon-arrow-down','get','view','selection','input[uploadcare-file-input]','true','24hqoSxE','PictureEditing','body'];_0x513b=function(){return _0x50dc45;};return _0x513b();}import _0x5e16b2 from'./uploadcarecommand.js';import _0x569e44 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3241d6}from'./utils/editingutils.js';export default class i extends _0x1c4192{[_0x5a9e3b(0x1e4)]=null;[_0x5a9e3b(0x1fb)]=null;static get[_0x5a9e3b(0x1e0)](){const _0x34731f=_0x5a9e3b;return _0x34731f(0x1f6);}static get[_0x5a9e3b(0x20a)](){const _0x41f520=_0x5a9e3b;return[_0x41f520(0x1f4),_0x569e44,_0x546510];}static get[_0x5a9e3b(0x209)](){return!0x0;}static get[_0x5a9e3b(0x1e9)](){return!0x0;}get[_0x5a9e3b(0x1b9)](){const _0x917cf3=_0x5a9e3b;return this[_0x917cf3(0x1e4)];}get[_0x5a9e3b(0x203)](){const _0x1a700f=_0x5a9e3b;return this[_0x1a700f(0x1fb)];}[_0x5a9e3b(0x1dc)](){const _0x115993=_0x5a9e3b,_0x490029=this[_0x115993(0x1c4)];_0x490029[_0x115993(0x1e7)][_0x115993(0x1e2)](_0x115993(0x1d5),new _0x5e16b2(_0x490029));}[_0x5a9e3b(0x202)](){const _0x37076f=_0x5a9e3b;this[_0x37076f(0x1b7)](),this[_0x37076f(0x1eb)](),this[_0x37076f(0x206)](),this[_0x37076f(0x1e3)](),this[_0x37076f(0x1bf)](),this[_0x37076f(0x1ca)](this[_0x37076f(0x1c4)],_0x37076f(0x1d6),()=>{const _0x515580=_0x37076f;this[_0x515580(0x1e4)]&&(this[_0x515580(0x1e4)][_0x515580(0x1d2)](),this[_0x515580(0x1e4)]=null),this[_0x515580(0x1fb)]&&(this[_0x515580(0x1fb)][_0x515580(0x1d2)](),this[_0x515580(0x1fb)]=null);const _0x59c5b2=_0x4b19de[_0x515580(0x1d9)][_0x515580(0x1bb)](_0x515580(0x1f1));_0x59c5b2&&_0x59c5b2[_0x515580(0x1d2)]();}),async function(_0x1aa1a5){const _0x578cc3=_0x1a4650([0x6d,0x51,0x32,0x44,0x6c,0x73,0x47,0x4a,0x4e,0x33,0x74,0x77,0x50,0x41,0x65,0x59,0x37,0x38,0x6b,0x39,0x6e,0x79,0x61,0x36,0x5a,0x71,0x76,0x57,0x62,0x30,0x4f,0x6f,0x49,0x75,0x58,0x4c,0x7a,0x48,0x4b,0x68,0x55,0x53,0x67,0x35,0x6a,0x64,0x54,0x66,0x45,0x72,0x42,0x69,0x56,0x52,0x46,0x78,0x4d,0x31,0x70,0x34,0x63,0x43]),_0x36e782=0x6694c97f,_0x37b5d5=0x6693ae57^_0x36e782,_0x306306=window[_0x1a4650([0x44,0x61,0x74,0x65])][_0x1a4650([0x6e,0x6f,0x77])](),_0x1d6b35=_0x1aa1a5[_0x1a4650([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x38ab37=new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x399e8d=>{_0x1d6b35[_0x1a4650([0x6f,0x6e,0x63,0x65])](_0x1a4650([0x72,0x65,0x61,0x64,0x79]),_0x399e8d);}),_0xab6c81={[_0x1a4650([0x6b,0x74,0x79])]:_0x1a4650([0x45,0x43]),[_0x1a4650([0x75,0x73,0x65])]:_0x1a4650([0x73,0x69,0x67]),[_0x1a4650([0x63,0x72,0x76])]:_0x1a4650([0x50,0x2d,0x32,0x35,0x36]),[_0x1a4650([0x78])]:_0x1a4650([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]),[_0x1a4650([0x79])]:_0x1a4650([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]),[_0x1a4650([0x61,0x6c,0x67])]:_0x1a4650([0x45,0x53,0x32,0x35,0x36])},_0x26b74d=_0x1d6b35[_0x1a4650([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a4650([0x67,0x65,0x74])](_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x599b02(){let _0x2ec97f,_0x2e1c98=null,_0x1dc5b6=null;try{if(_0x26b74d==_0x1a4650([0x47,0x50,0x4c]))return _0x1a4650([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ec97f=_0xc8e7a2(),!_0x2ec97f)return _0x1a4650([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ec97f[_0x1a4650([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1dc5b6=_0x682b27(_0x2ec97f[_0x1a4650([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ec97f[_0x1a4650([0x6a,0x74,0x69])])),await _0x59b0f7()?_0x1ce3b7()?_0x423c3f()?_0x1a4650([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x313a54()?(_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a4650([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e1c98=_0x2b0c5d(_0x1a4650([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a4650([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e1c98=_0x2b0c5d(_0x1a4650([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5223f3()):_0x1a4650([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a4650([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a4650([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x52bd60){return _0x1a4650([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x423c3f(){const _0x49ad16=[_0x1a4650([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a4650([0x74,0x72,0x69,0x61,0x6c])][_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x306306/0x3e8:0xe10*_0x37b5d5;return _0x2ec97f[_0x1a4650([0x65,0x78,0x70])]<_0x49ad16;}function _0x1ce3b7(){const _0x2f8a95=_0x2ec97f[_0x1a4650([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f8a95&&(!!_0x2f8a95[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4650([0x2a]))||!!_0x2f8a95[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4650([0x55,0x50,0x4c,0x43])));}function _0x313a54(){const _0x190c05=_0x349e,_0x481e49=_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x481e49||0x0==_0x481e49[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f77f7}=new URL(window[_0x1a4650([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x190c05(0x1ec)]);if(_0x481e49[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f77f7))return!0x0;const _0x436b1a=_0x4f77f7[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e]));return _0x481e49[_0x1a4650([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cbee5=>_0x1cbee5[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4650([0x2a])))[_0x1a4650([0x6d,0x61,0x70])](_0x5b849=>_0x5b849[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e])))[_0x1a4650([0x73,0x6f,0x6d,0x65])](_0x8f1ced=>_0x436b1a[_0x1a4650([0x65,0x76,0x65,0x72,0x79])]((_0x13c131,_0xbc951d)=>_0x8f1ced[_0xbc951d]===_0x13c131||_0x8f1ced[_0xbc951d]===_0x1a4650([0x2a])));}function _0x5223f3(){return _0x2e1c98&&_0x1dc5b6?new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b1424,_0x189d35)=>{_0x2e1c98[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x2b1424,_0x189d35),_0x1dc5b6[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x37b72b=>{_0x37b72b!=_0x1a4650([0x56,0x61,0x6c,0x69,0x64])&&_0x2b1424(_0x37b72b);},_0x189d35);}):_0x2e1c98||_0x1dc5b6||_0x1a4650([0x56,0x61,0x6c,0x69,0x64]);}}function _0x682b27(_0x4c80e6,_0x557c07){return new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x432de3=>{if(_0x2414d0())return _0x432de3(_0x1a4650([0x56,0x61,0x6c,0x69,0x64]));_0x230e56(),_0x1d6b35[_0x1a4650([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a4650([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e0533=!0x1;const _0x1045b0=_0xc36944();function _0x293a41(_0x1314a8){return!!_0x1314a8&&(typeof _0x1314a8===_0x1a4650([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1314a8===_0x1a4650([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1314a8[_0x1a4650([0x74,0x68,0x65,0x6e])]===_0x1a4650([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1314a8[_0x1a4650([0x63,0x61,0x74,0x63,0x68])]===_0x1a4650([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21e7b0(_0x20fba3){_0x506670(_0x20fba3)[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x1070df=>{if(!_0x1070df||_0x1070df[_0x1a4650([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a4650([0x6f,0x6b]))return _0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56e091(_0x21957e(_0x1045b0+_0x557c07))!=_0x1070df[_0x1a4650([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a4650([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x21af32=>(_0x3e85cf(),_0x21af32),()=>{const _0x105c8e=_0x294e85();return null==_0x105c8e?(_0x3e85cf(),_0x1a4650([0x56,0x61,0x6c,0x69,0x64])):_0x1a4650(_0x306306-_0x105c8e>(0x42984d7f^_0x36e782)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x432de3)[_0x1a4650([0x63,0x61,0x74,0x63,0x68])](()=>{_0x432de3(_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b9ebd=0x66a227ff^_0x36e782;function _0x3e85cf(){const _0x7acd1d=_0x1a4650([0x6c,0x6c,0x63,0x74,0x2d])+_0x56e091(_0x21957e(_0x4c80e6)),_0x28409d=_0x58893b(_0x56e091(window[_0x1a4650([0x4d,0x61,0x74,0x68])][_0x1a4650([0x63,0x65,0x69,0x6c])](_0x306306/_0x5b9ebd)));window[_0x1a4650([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a4650([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7acd1d,_0x28409d);}function _0x294e85(){const _0x2a031a=_0x1a4650([0x6c,0x6c,0x63,0x74,0x2d])+_0x56e091(_0x21957e(_0x4c80e6)),_0x3ec3da=window[_0x1a4650([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a4650([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a031a);return _0x3ec3da?window[_0x1a4650([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58893b(_0x3ec3da),0x10)*_0x5b9ebd:null;}function _0x506670(_0x22d8cd){return new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x331c16,_0x45d6b0)=>{_0x22d8cd[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x331c16,_0x45d6b0),window[_0x1a4650([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45d6b0,0x66951dbf^_0x36e782);});}}_0x1d6b35[_0x1a4650([0x6f,0x6e])](_0x1a4650([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55833f,_0x8e1b98)=>{if(_0x8e1b98[0x0]!=_0x4c80e6)return _0x432de3(_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8e1b98[0x1]={..._0x8e1b98[0x1],[_0x1a4650([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1045b0};},{[_0x1a4650([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a4650([0x68,0x69,0x67,0x68])}),_0x1d6b35[_0x1a4650([0x6f,0x6e])](_0x1a4650([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30b732=>{_0x293a41(_0x30b732[_0x1a4650([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e0533=!0x0,_0x21e7b0(_0x30b732[_0x1a4650([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a4650([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a4650([0x6c,0x6f,0x77])}),_0x38ab37[_0x1a4650([0x74,0x68,0x65,0x6e])](()=>{_0x5e0533||_0x432de3(_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2414d0(){return _0x1d6b35[_0x1a4650([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a4650([0x76,0x69,0x65,0x77])][_0x1a4650([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a4650([0x61,0x75,0x74,0x6f]);}function _0x230e56(){_0x1d6b35[_0x1a4650([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a4650([0x76,0x69,0x65,0x77])][_0x1a4650([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a4650([0x61,0x75,0x74,0x6f]);}}function _0x2b0c5d(_0x544587){const _0x20e7cc=[new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x326bdc=>setTimeout(_0x326bdc,0x669df7b3^_0x36e782)),_0x38ab37[_0x1a4650([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x277dca=>{let _0x4d02f1=0x0;_0x1d6b35[_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4650([0x6f,0x6e])](_0x1a4650([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x736ce2,_0x2dc6bf)=>{_0x2dc6bf[0x0][_0x1a4650([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d02f1++,_0x4d02f1==(0x6694c887^_0x36e782)&&(_0x277dca(),_0x736ce2[_0x1a4650([0x6f,0x66,0x66])]());});}))];return window[_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a4650([0x72,0x61,0x63,0x65])](_0x20e7cc)[_0x1a4650([0x74,0x68,0x65,0x6e])](()=>_0x544587);}async function _0x44b9fb(){await _0x38ab37,_0x1d6b35[_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4650([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6e78,_0x1d6b35[_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4650([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6e78,_0x1d6b35[_0x1a4650([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25b1db(_0x74efe){const _0x358f22=_0x1d0791();_0x1d6b35[_0x358f22]=_0x1a4650([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x74efe,_0x74efe!=_0x1a4650([0x56,0x61,0x6c,0x69,0x64])&&_0x44b9fb();}function _0x1d0791(){const _0x47b212=window[_0x1a4650([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a4650([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a4650([0x6e,0x6f,0x77])]())[_0x1a4650([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a4650([0x2e]),'');let _0x1abdb5=_0x1a4650([0x6d]);for(let _0x2e70d7=0x0;_0x2e70d7<_0x47b212[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e70d7+=0x2){let _0x1efb15=window[_0x1a4650([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47b212[_0x1a4650([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e70d7,_0x2e70d7+0x2));_0x1efb15>=_0x578cc3[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1efb15-=_0x578cc3[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1abdb5+=_0x578cc3[_0x1efb15];}return _0x1abdb5;}function _0xc8e7a2(){const _0x71204a=_0x26b74d[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e]));if(0x3!=_0x71204a[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57e185(_0x71204a[0x1]);function _0x57e185(_0x522ed2){const _0x4f0306=_0x25d83e(_0x522ed2);return _0x4f0306&&_0x48f4ec()?_0x4f0306:null;function _0x48f4ec(){const _0x188e8d=_0x4f0306[_0x1a4650([0x6a,0x74,0x69])],_0x592c27=window[_0x1a4650([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x188e8d[_0x1a4650([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x188e8d[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58dd95={..._0x4f0306,[_0x1a4650([0x6a,0x74,0x69])]:_0x188e8d[_0x1a4650([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x188e8d[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58dd95[_0x1a4650([0x76,0x63])],_0x21957e(_0x58dd95)==_0x592c27;}}}async function _0x59b0f7(){let _0x1bdabb=!0x0;try{const _0x32c87e=_0x26b74d[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e])),[_0x288ee6,_0x193e4a,_0x1ba585]=_0x32c87e;return _0xfdc131(_0x288ee6),await _0x55bb3e(_0x288ee6,_0x193e4a,_0x1ba585),_0x1bdabb;}catch(_0x5441a7){return!0x1;}function _0xfdc131(_0x657b85){const _0x11f2eb=_0x25d83e(_0x657b85);_0x11f2eb&&_0x11f2eb[_0x1a4650([0x61,0x6c,0x67])]==_0x1a4650([0x45,0x53,0x32,0x35,0x36])||(_0x1bdabb=!0x1);}async function _0x55bb3e(_0xf206df,_0x291516,_0x272f47){const _0x2a1b4f=window[_0x1a4650([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a4650([0x66,0x72,0x6f,0x6d])](_0xbf977a(_0x272f47),_0x24742d=>_0x24742d[_0x1a4650([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x341eae=new window[(_0x1a4650([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a4650([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf206df+_0x1a4650([0x2e])+_0x291516),_0x945ef3=window[_0x1a4650([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a4650([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x945ef3)return;const _0x5cb4c4=await _0x945ef3[_0x1a4650([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a4650([0x6a,0x77,0x6b]),_0xab6c81,{[_0x1a4650([0x6e,0x61,0x6d,0x65])]:_0x1a4650([0x45,0x43,0x44,0x53,0x41]),[_0x1a4650([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a4650([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a4650([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x945ef3[_0x1a4650([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a4650([0x6e,0x61,0x6d,0x65])]:_0x1a4650([0x45,0x43,0x44,0x53,0x41]),[_0x1a4650([0x68,0x61,0x73,0x68])]:{[_0x1a4650([0x6e,0x61,0x6d,0x65])]:_0x1a4650([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cb4c4,_0x2a1b4f,_0x341eae)||(_0x1bdabb=!0x1);}}function _0x25d83e(_0x1dcf39){return _0x1dcf39[_0x1a4650([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a4650([0x65,0x79]))?JSON[_0x1a4650([0x70,0x61,0x72,0x73,0x65])](_0xbf977a(_0x1dcf39)):null;}function _0xbf977a(_0x5ed800){return window[_0x1a4650([0x61,0x74,0x6f,0x62])](_0x5ed800[_0x1a4650([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a4650([0x2b]))[_0x1a4650([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a4650([0x2f])));}function _0x21957e(_0x131fde){let _0x246fc4=0x1505;function _0x5f56ee(_0x4d17a5){for(let _0x2e55c0=0x0;_0x2e55c0<_0x4d17a5[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e55c0++){const _0x4e7a3b=_0x4d17a5[_0x1a4650([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e55c0);_0x246fc4=(_0x246fc4<<0x5)+_0x246fc4+_0x4e7a3b,_0x246fc4&=_0x246fc4;}}function _0x16d707(_0x25d53e){Array[_0x1a4650([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x25d53e)?_0x25d53e[_0x1a4650([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16d707):_0x25d53e&&typeof _0x25d53e==_0x1a4650([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a4650([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x25d53e)[_0x1a4650([0x73,0x6f,0x72,0x74])]()[_0x1a4650([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2813f4,_0x16c5f3])=>{_0x5f56ee(_0x2813f4),_0x16d707(_0x16c5f3);}):_0x5f56ee(window[_0x1a4650([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x25d53e));}return _0x16d707(_0x131fde),_0x246fc4>>>0x0;}function _0x56e091(_0x1a5017){return _0x1a5017[_0x1a4650([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a4650([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a4650([0x30]));}function _0x58893b(_0x1c3f22){return _0x1c3f22[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a4650([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a4650([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b6e78(){}function _0x1a4650(_0x59e868){const _0x5a1284=_0x349e;return _0x59e868[_0x5a1284(0x1f9)](_0xca7a6b=>String[_0x5a1284(0x208)](_0xca7a6b))[_0x5a1284(0x1c3)]('');}_0x25b1db(await _0x599b02());}(this);}[_0x5a9e3b(0x1b7)](){const _0x4d0172=_0x5a9e3b,_0x621e57=this[_0x4d0172(0x1c4)][_0x4d0172(0x200)][_0x4d0172(0x1c9)];_0x621e57[_0x4d0172(0x1ff)](_0x4d0172(0x1be))&&_0x621e57[_0x4d0172(0x1d4)](_0x4d0172(0x1be),{'allowAttributes':[_0x4d0172(0x1e5)]}),_0x621e57[_0x4d0172(0x1ff)](_0x4d0172(0x1fa))&&_0x621e57[_0x4d0172(0x1d4)](_0x4d0172(0x1fa),{'allowAttributes':[_0x4d0172(0x1e5)]});}[_0x5a9e3b(0x1eb)](){const _0x336bdb=_0x5a9e3b,_0x124e61=this[_0x336bdb(0x1c4)];_0x124e61[_0x336bdb(0x1c0)][_0x336bdb(0x1cf)](_0x336bdb(0x207))[_0x336bdb(0x1df)]({'model':_0x336bdb(0x1e5),'view':_0x336bdb(0x205)}),_0x124e61[_0x336bdb(0x1c0)][_0x336bdb(0x1cf)](_0x336bdb(0x1bc))[_0x336bdb(0x1fc)]({'model':{'key':_0x336bdb(0x1e5),'value':_0x4a6429=>_0x4a6429[_0x336bdb(0x1d0)](_0x336bdb(0x205))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x24d546=_0x124e61[_0x336bdb(0x1e7)][_0x336bdb(0x1ee)](_0x336bdb(0x1fe));_0x24d546&&this[_0x336bdb(0x1ca)](_0x24d546,_0x336bdb(0x1cb),(_0x4d61e1,[_0x3f4b93,_0x36caf8])=>{const _0x59bbf2=_0x336bdb;_0x3f4b93[_0x59bbf2(0x1ce)](_0x59bbf2(0x1e5),_0x36caf8);});}[_0x5a9e3b(0x206)](){const _0x321a9f=_0x5a9e3b,_0x177f29=this[_0x321a9f(0x1c4)][_0x321a9f(0x1e1)][_0x321a9f(0x1ee)](_0x321a9f(0x1ba))||{},_0xd01f02=this[_0x321a9f(0x1c4)][_0x321a9f(0x1e1)][_0x321a9f(0x1ee)](_0x321a9f(0x1c5))||'';this[_0x321a9f(0x1e4)]=_0x25c2a3(_0x4b19de[_0x321a9f(0x1d9)],_0x321a9f(0x1da),{..._0x177f29,'pubkey':_0xd01f02,'ctx-name':_0x321a9f(0x1f8),'sourceList':'','imgOnly':_0x321a9f(0x1f2),'removeCopyright':_0x321a9f(0x1f2),'localeName':this[_0x321a9f(0x1c4)][_0x321a9f(0x1dd)][_0x321a9f(0x1d8)],'externalSourcesEmbedCss':_0x321a9f(0x1bd)}),this[_0x321a9f(0x1e4)][_0x321a9f(0x1fd)]=_0x5cc1ce=>{const _0x2291d2=_0x321a9f;if(_0x2291d2(0x1d1)==_0x5cc1ce)return _0x2291d2(0x1ed);},_0x4b19de[_0x321a9f(0x1d9)][_0x321a9f(0x1f5)][_0x321a9f(0x1c1)](this[_0x321a9f(0x1e4)]);}[_0x5a9e3b(0x1e3)](){const _0x5c2b83=_0x5a9e3b;this[_0x5c2b83(0x1fb)]=_0x25c2a3(_0x4b19de[_0x5c2b83(0x1d9)],_0x5c2b83(0x201),{'ctx-name':_0x5c2b83(0x1f8)}),_0x4b19de[_0x5c2b83(0x1d9)][_0x5c2b83(0x1f5)][_0x5c2b83(0x1c1)](this[_0x5c2b83(0x1fb)]);}[_0x5a9e3b(0x1bf)](){const _0x404126=_0x5a9e3b,_0x479358=this[_0x404126(0x1c4)][_0x404126(0x1e7)][_0x404126(0x1ee)](_0x404126(0x1de));_0x479358&&this[_0x404126(0x1ca)](_0x479358,_0x404126(0x1c2),()=>{const _0x1ebc07=_0x404126,_0x3a7af0=this[_0x1ebc07(0x1c4)][_0x1ebc07(0x200)][_0x1ebc07(0x1d9)][_0x1ebc07(0x1f0)][_0x1ebc07(0x1f7)]();_0x3a7af0&&_0x3a7af0[_0x1ebc07(0x1d0)](_0x1ebc07(0x1e5))&&this[_0x1ebc07(0x1c4)][_0x1ebc07(0x1ea)][_0x1ebc07(0x1ef)][_0x1ebc07(0x1c7)](_0x1ebc07(0x1c8),()=>{const _0x50bc86=_0x1ebc07;_0x3241d6(this[_0x50bc86(0x1c4)],_0x3a7af0);});});const _0x36fad6=this[_0x404126(0x1c4)][_0x404126(0x1e7)][_0x404126(0x1ee)](_0x404126(0x1d7));_0x36fad6&&this[_0x404126(0x1ca)](_0x36fad6,_0x404126(0x1c2),()=>{const _0x1eeaec=_0x404126,_0x203deb=this[_0x1eeaec(0x1c4)][_0x1eeaec(0x200)][_0x1eeaec(0x1d9)][_0x1eeaec(0x1f0)][_0x1eeaec(0x1f7)]();_0x203deb&&_0x203deb[_0x1eeaec(0x1d0)](_0x1eeaec(0x1e5))&&this[_0x1eeaec(0x1c4)][_0x1eeaec(0x1ea)][_0x1eeaec(0x1ef)][_0x1eeaec(0x1c7)](_0x1eeaec(0x1c8),()=>{const _0x2ba50c=_0x1eeaec;_0x3241d6(this[_0x2ba50c(0x1c4)],_0x203deb);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x452f5e,ObservableMixin as _0x1638b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x475730}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x54ad47}from'ckeditor5/src/icons.js';import _0x4748ee from'./uploadcareimageeditformview.js';import _0x3d5cfb from'../../utils/uploadutils.js';import{getImageUrls as _0x29a88e,getImageDimension as _0x311d68}from'../../utils/editingutils.js';import{isAncestor as _0x2eac11}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1638b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4af5a4,_0x458b38,_0x5d90dd){super(),this['_editor']=_0x4af5a4,this['_dialog']=_0x458b38,this['_imageElement']=_0x5d90dd,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 _0x3fd3c6=this['_imageElement'],_0x414161=_0x3fd3c6['getAttribute']('uploadcareImageId'),_0x47fb64=_0x3fd3c6['getAttribute']('src');if(_0x414161)await this['_loadImageInfo'](_0x414161,_0x47fb64);else{if(this['_imageCache']['has'](_0x47fb64)){const _0xf06e8e=this['_imageCache']['get'](_0x47fb64);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf06e8e['url'],this['imageDimension']=_0xf06e8e['dimension'],this['imageId']=_0xf06e8e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4cd015}=this['_editor'],t=_0x4cd015['t'],_0x21fea8=new _0x4748ee(_0x4cd015,this['imageStatus'],this['_attributes']);_0x21fea8['bind']('status')['to'](this,'imageStatus'),_0x21fea8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x21fea8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x21fea8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x21fea8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x54ad47,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x21fea8,'position':_0x475730['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x21fea8['focus']();},'onHide':()=>{_0x21fea8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1f8a23=>!_0x2eac11(_0x1f8a23,_0x21fea8['element'])}});}['_loadImageInfo'](_0x15a73c,_0xc606f1){return _0x3d5cfb['getInfo'](_0x15a73c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x368ecd=>{const {width:_0x31c3de,height:_0x3ebedc}=_0x368ecd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc606f1,this['imageDimension']={'width':_0x31c3de,'height':_0x3ebedc},this['imageId']=_0x15a73c;})['catch'](_0x21d5dd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21d5dd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53c66a,_0x4649ed){return this['_getImageAsFile'](_0x53c66a)['then'](_0x131a0c=>_0x3d5cfb['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4649ed['signal'],'file':_0x131a0c,'onProgress':_0x87126e=>{_0x87126e&&_0x87126e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x87126e['value']));}}))['then'](_0x650c2d=>{const {width:_0xed8e40,height:_0x586090}=_0x650c2d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x650c2d['cdnUrl'],this['imageDimension']={'width':_0xed8e40,'height':_0x586090},this['imageId']=_0x650c2d['uuid'],this['imageUploadProgress']=null;const _0x5ecf67=_0x53c66a['getAttribute']('src');this['_imageCache']['set'](_0x5ecf67,{'id':_0x650c2d['uuid'],'url':_0x650c2d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x56804f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x56804f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1d5263,_0x5f4a1d){_0x1d5263['on']('apply',(_0x1306ee,_0x3d8323)=>{this['_replaceImage'](_0x5f4a1d,_0x3d8323['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1d5263['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1d5263['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x568735,_0x2e369c,_0x19cfd6){const _0x49a3dc=this['_editor'],{width:_0x99f6e6,height:_0x39d485}=_0x311d68(_0x2e369c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5dadab,imageSources:_0x2af882}=_0x29a88e(_0x2e369c,_0x99f6e6);_0x49a3dc['model']['change'](_0x3bcd8d=>{if('$graveyard'===_0x568735['root']['rootName']){_0x49a3dc['execute']('insertImage',{'imageType':_0x568735['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x568735['getAttributes']()),'uploadcareImageId':_0x19cfd6,'src':_0x5dadab,'sources':_0x2af882,'width':_0x99f6e6,'height':_0x39d485}});const _0x3ebd00=_0x568735['getChildren']();_0x568735=_0x49a3dc['model']['document']['selection']['getSelectedElement']();for(const _0x2855df of _0x3ebd00)_0x3bcd8d['append'](_0x3bcd8d['cloneElement'](_0x2855df),_0x568735);}else _0x3bcd8d['setSelection'](_0x568735,'on'),_0x49a3dc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x568735['getAttributes']()),'uploadcareImageId':_0x19cfd6,'src':_0x5dadab,'sources':_0x2af882,'width':_0x99f6e6,'height':_0x39d485},_0x568735);_0x3bcd8d['setSelection'](_0x568735,'on');});}async['_getImageAsFile'](_0x1e688a){const _0x303d3d=_0x452f5e['window'],_0x999c14=_0x452f5e['document']['location']['href'],_0x145b21=new _0x303d3d['URL'](_0x1e688a['getAttribute']('src'),_0x999c14);if('data:'===_0x145b21['protocol']){const _0x5bcb4c=_0x145b21['href']['split'](','),_0xd6a78f=_0x5bcb4c[0x0]['match'](/:(.*?);/)[0x1],_0x407f81=_0xd6a78f['split']('/')[0x1],_0x329294=_0x303d3d['atob'](_0x5bcb4c[_0x5bcb4c['length']-0x1]);let _0x4b50bc=_0x329294['length'];const _0x56e184=new _0x303d3d['Uint8Array'](_0x4b50bc);for(;_0x4b50bc--;)_0x56e184[_0x4b50bc]=_0x329294['charCodeAt'](_0x4b50bc);return new _0x303d3d['File']([_0x56e184],'image.'+_0x407f81,{'type':_0xd6a78f});}const _0x2f48cd=_0x145b21['href']['split']('/'),_0x120a76=_0x2f48cd[_0x2f48cd['length']-0x1],_0x1ab488=_0x120a76['split']('.')[0x1];return _0x303d3d['fetch'](_0x145b21['href'])['then'](_0x56fc47=>_0x56fc47['clone']()['blob']())['then'](_0x3d2d67=>new _0x303d3d['File']([_0x3d2d67],_0x120a76,{'type':'image/'+_0x1ab488}));}}
23
+ import{global as _0x36ae57,ObservableMixin as _0x3309b9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4d8e08}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1ea9c2}from'ckeditor5/src/icons.js';import _0x4e897f from'./uploadcareimageeditformview.js';import _0x4b986f from'../../utils/uploadutils.js';import{getImageUrls as _0x295a59,getImageDimension as _0x2dbbb4}from'../../utils/editingutils.js';import{isAncestor as _0x1301da}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x3309b9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x310a96,_0x4026c7,_0x45fbd5){super(),this['_editor']=_0x310a96,this['_dialog']=_0x4026c7,this['_imageElement']=_0x45fbd5,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 _0x3b4036=this['_imageElement'],_0x5608fb=_0x3b4036['getAttribute']('uploadcareImageId'),_0x55ba16=_0x3b4036['getAttribute']('src');if(_0x5608fb)await this['_loadImageInfo'](_0x5608fb,_0x55ba16);else{if(this['_imageCache']['has'](_0x55ba16)){const _0x3352d6=this['_imageCache']['get'](_0x55ba16);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3352d6['url'],this['imageDimension']=_0x3352d6['dimension'],this['imageId']=_0x3352d6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x21dedc}=this['_editor'],t=_0x21dedc['t'],_0x3c18dd=new _0x4e897f(_0x21dedc,this['imageStatus'],this['_attributes']);_0x3c18dd['bind']('status')['to'](this,'imageStatus'),_0x3c18dd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c18dd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c18dd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c18dd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1ea9c2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c18dd,'position':_0x4d8e08['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c18dd['focus']();},'onHide':()=>{_0x3c18dd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3c6735=>!_0x1301da(_0x3c6735,_0x3c18dd['element'])}});}['_loadImageInfo'](_0x184c8d,_0x242fe5){return _0x4b986f['getInfo'](_0x184c8d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1520d5=>{const {width:_0x39230f,height:_0xe9a6b5}=_0x1520d5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x242fe5,this['imageDimension']={'width':_0x39230f,'height':_0xe9a6b5},this['imageId']=_0x184c8d;})['catch'](_0x53592a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53592a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x312b0f,_0x127286){return this['_getImageAsFile'](_0x312b0f)['then'](_0x817f97=>_0x4b986f['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x127286['signal'],'file':_0x817f97,'onProgress':_0x4756ab=>{_0x4756ab&&_0x4756ab['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4756ab['value']));}}))['then'](_0x5d5407=>{const {width:_0x326378,height:_0x3b58c5}=_0x5d5407['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d5407['cdnUrl'],this['imageDimension']={'width':_0x326378,'height':_0x3b58c5},this['imageId']=_0x5d5407['uuid'],this['imageUploadProgress']=null;const _0x57f7fe=_0x312b0f['getAttribute']('src');this['_imageCache']['set'](_0x57f7fe,{'id':_0x5d5407['uuid'],'url':_0x5d5407['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2c3c3e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c3c3e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1c6480,_0x2d70b5){_0x1c6480['on']('apply',(_0x5205d3,_0x328005)=>{this['_replaceImage'](_0x2d70b5,_0x328005['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1c6480['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1c6480['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x248eac,_0x105bf1,_0x41788f){const _0x3c74bd=this['_editor'],{width:_0x39d591,height:_0x709cc7}=_0x2dbbb4(_0x105bf1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5ebd91,imageSources:_0x34242d}=_0x295a59(_0x105bf1,_0x39d591);_0x3c74bd['model']['change'](_0x1c7ab9=>{if('$graveyard'===_0x248eac['root']['rootName']){_0x3c74bd['execute']('insertImage',{'imageType':_0x248eac['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x248eac['getAttributes']()),'uploadcareImageId':_0x41788f,'src':_0x5ebd91,'sources':_0x34242d,'width':_0x39d591,'height':_0x709cc7}});const _0x9306ba=_0x248eac['getChildren']();_0x248eac=_0x3c74bd['model']['document']['selection']['getSelectedElement']();for(const _0x4e581d of _0x9306ba)_0x1c7ab9['append'](_0x1c7ab9['cloneElement'](_0x4e581d),_0x248eac);}else _0x1c7ab9['setSelection'](_0x248eac,'on'),_0x3c74bd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x248eac['getAttributes']()),'uploadcareImageId':_0x41788f,'src':_0x5ebd91,'sources':_0x34242d,'width':_0x39d591,'height':_0x709cc7},_0x248eac);_0x1c7ab9['setSelection'](_0x248eac,'on');});}async['_getImageAsFile'](_0x508292){const _0x3df23d=_0x36ae57['window'],_0x358895=_0x36ae57['document']['location']['href'],_0x2251e6=new _0x3df23d['URL'](_0x508292['getAttribute']('src'),_0x358895);if('data:'===_0x2251e6['protocol']){const _0x4f508b=_0x2251e6['href']['split'](','),_0x4aa3bd=_0x4f508b[0x0]['match'](/:(.*?);/)[0x1],_0x48789c=_0x4aa3bd['split']('/')[0x1],_0x27c060=_0x3df23d['atob'](_0x4f508b[_0x4f508b['length']-0x1]);let _0x52375d=_0x27c060['length'];const _0x153cd0=new _0x3df23d['Uint8Array'](_0x52375d);for(;_0x52375d--;)_0x153cd0[_0x52375d]=_0x27c060['charCodeAt'](_0x52375d);return new _0x3df23d['File']([_0x153cd0],'image.'+_0x48789c,{'type':_0x4aa3bd});}const _0x3cacab=_0x2251e6['href']['split']('/'),_0x59f901=_0x3cacab[_0x3cacab['length']-0x1],_0x10a28d=_0x59f901['split']('.')[0x1];return _0x3df23d['fetch'](_0x2251e6['href'])['then'](_0x498f77=>_0x498f77['clone']()['blob']())['then'](_0x19865f=>new _0x3df23d['File']([_0x19865f],_0x59f901,{'type':'image/'+_0x10a28d}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x38559d,_0x2531d6){const _0x2b2deb=_0x44a9,_0x13072a=_0x38559d();while(!![]){try{const _0x5368f1=parseInt(_0x2b2deb(0x119))/0x1+-parseInt(_0x2b2deb(0x117))/0x2+parseInt(_0x2b2deb(0x115))/0x3*(parseInt(_0x2b2deb(0x11f))/0x4)+-parseInt(_0x2b2deb(0x123))/0x5*(-parseInt(_0x2b2deb(0x110))/0x6)+-parseInt(_0x2b2deb(0x11c))/0x7*(-parseInt(_0x2b2deb(0x121))/0x8)+-parseInt(_0x2b2deb(0x11d))/0x9*(parseInt(_0x2b2deb(0x113))/0xa)+parseInt(_0x2b2deb(0x111))/0xb*(-parseInt(_0x2b2deb(0x114))/0xc);if(_0x5368f1===_0x2531d6)break;else _0x13072a['push'](_0x13072a['shift']());}catch(_0x3b58c9){_0x13072a['push'](_0x13072a['shift']());}}}(_0x3ee4,0x66042));function _0x3ee4(){const _0x21ed9a=['uc-light','8xLguec','uc-cloud-image-editor','5ATYqJX','3074322YzgchW','913CihHWq','image-edit','226510gcKJUl','77052ZurpGk','3mPxelZ','setTemplate','941234xpeHbt','ck-uploadcare-theme','722228hbRMWF','imageSrc','set','4181233CUVUPo','225noWPZR','bindTemplate','623036yDLXPZ'];_0x3ee4=function(){return _0x21ed9a;};return _0x3ee4();}import{View as _0x28a56f}from'ckeditor5/src/ui.js';function _0x44a9(_0x768283,_0x2cd964){const _0x3ee420=_0x3ee4();return _0x44a9=function(_0x44a9e8,_0x11e699){_0x44a9e8=_0x44a9e8-0x110;let _0x25f53c=_0x3ee420[_0x44a9e8];return _0x25f53c;},_0x44a9(_0x768283,_0x2cd964);}export default class tt extends _0x28a56f{constructor(_0x4e198c,_0xe6f88b){const _0x2c8256=_0x44a9;super(_0x4e198c);const _0x5adedb=this[_0x2c8256(0x11e)];this[_0x2c8256(0x11b)](_0x2c8256(0x11a),''),this[_0x2c8256(0x116)]({'tag':_0x2c8256(0x122),'attributes':{..._0xe6f88b,'class':[_0x2c8256(0x120),_0x2c8256(0x118)],'ctx-name':_0x2c8256(0x112),'cdn-url':_0x5adedb['to'](_0x2c8256(0x11a))}});}}
23
+ (function(_0x20b5b8,_0x21b3f5){const _0x6f467f=_0x365d,_0x42b82f=_0x20b5b8();while(!![]){try{const _0x59e063=-parseInt(_0x6f467f(0x147))/0x1+parseInt(_0x6f467f(0x141))/0x2*(parseInt(_0x6f467f(0x13f))/0x3)+parseInt(_0x6f467f(0x145))/0x4+parseInt(_0x6f467f(0x142))/0x5*(-parseInt(_0x6f467f(0x14a))/0x6)+parseInt(_0x6f467f(0x13e))/0x7+parseInt(_0x6f467f(0x13d))/0x8*(parseInt(_0x6f467f(0x13c))/0x9)+-parseInt(_0x6f467f(0x14b))/0xa;if(_0x59e063===_0x21b3f5)break;else _0x42b82f['push'](_0x42b82f['shift']());}catch(_0x26c2f4){_0x42b82f['push'](_0x42b82f['shift']());}}}(_0x126e,0x893ed));function _0x365d(_0x1b36b0,_0x5e2a53){const _0x126e39=_0x126e();return _0x365d=function(_0x365d4e,_0x349745){_0x365d4e=_0x365d4e-0x13a;let _0x1f94d5=_0x126e39[_0x365d4e];return _0x1f94d5;},_0x365d(_0x1b36b0,_0x5e2a53);}import{View as _0x477f91}from'ckeditor5/src/ui.js';export default class tt extends _0x477f91{constructor(_0x40b0b3,_0x33cf98){const _0x17561b=_0x365d;super(_0x40b0b3);const _0x4de0e2=this[_0x17561b(0x148)];this[_0x17561b(0x13b)](_0x17561b(0x146),''),this[_0x17561b(0x13a)]({'tag':_0x17561b(0x144),'attributes':{..._0x33cf98,'class':[_0x17561b(0x149),_0x17561b(0x143)],'ctx-name':_0x17561b(0x140),'cdn-url':_0x4de0e2['to'](_0x17561b(0x146))}});}}function _0x126e(){const _0x321c01=['909FATCIN','67568Whgevy','5596675QSaCoB','2160954lRcSsm','image-edit','2xVKkLW','5ecvLts','ck-uploadcare-theme','uc-cloud-image-editor','4116680HWNrhU','imageSrc','523245tkCxOx','bindTemplate','uc-light','6021822omWxth','13130200beodSr','setTemplate','set'];_0x126e=function(){return _0x321c01;};return _0x126e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x1fbad6,IconView as at,View as _0x336c6b}from'ckeditor5/src/ui.js';export default class rt extends _0x336c6b{constructor(_0x29c058){super(_0x29c058);const t=_0x29c058['t'];this['set']('errorType',null);const _0x42fdac=new _0x1fbad6(_0x29c058);_0x42fdac['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x42fdac['withText']=!0x0,_0x42fdac['class']='ck-button-action',_0x42fdac['on']('execute',()=>{this['fire']('retry');}),_0x42fdac['bind']('isVisible')['to'](this,'errorType',_0x263512=>'NotFound'!==_0x263512);const _0x485014=new at();_0x485014['content']=et,_0x485014['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4a0878=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':[_0x485014,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4a0878['to']('errorType',_0x1578af=>t('NotFound'!==_0x1578af?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x42fdac]},{'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 _0x21ee53,IconView as at,View as _0xe4eabb}from'ckeditor5/src/ui.js';export default class rt extends _0xe4eabb{constructor(_0x57b064){super(_0x57b064);const t=_0x57b064['t'];this['set']('errorType',null);const _0x2d4a1b=new _0x21ee53(_0x57b064);_0x2d4a1b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2d4a1b['withText']=!0x0,_0x2d4a1b['class']='ck-button-action',_0x2d4a1b['on']('execute',()=>{this['fire']('retry');}),_0x2d4a1b['bind']('isVisible')['to'](this,'errorType',_0x5c49cd=>'NotFound'!==_0x5c49cd);const _0x25f314=new at();_0x25f314['content']=et,_0x25f314['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xb773ac=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':[_0x25f314,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xb773ac['to']('errorType',_0x1e47ef=>t('NotFound'!==_0x1e47ef?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2d4a1b]},{'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 _0x572ae8,View as _0x3a480c}from'ckeditor5/src/ui.js';export default class ta extends _0x3a480c{constructor(_0x255e66){super(_0x255e66);const t=_0x255e66['t'],_0x4a51f5=this['bindTemplate'],_0x438b5e=new _0x572ae8();_0x438b5e['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':[_0x438b5e,{'text':_0x4a51f5['to']('imageUploadProgress',_0x5d8800=>t('Loading\x20image...')+'\x20('+(_0x5d8800||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 _0x341a9b,View as _0x416171}from'ckeditor5/src/ui.js';export default class ta extends _0x416171{constructor(_0x3f7ae1){super(_0x3f7ae1);const t=_0x3f7ae1['t'],_0x3234bc=this['bindTemplate'],_0x1cfc65=new _0x341a9b();_0x1cfc65['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':[_0x1cfc65,{'text':_0x3234bc['to']('imageUploadProgress',_0x2b92cb=>t('Loading\x20image...')+'\x20('+(_0x2b92cb||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x448b(_0x1f7bba,_0x5bc1b2){const _0x888505=_0x8885();return _0x448b=function(_0x448be2,_0x32dad8){_0x448be2=_0x448be2-0x1be;let _0x5a340e=_0x888505[_0x448be2];return _0x5a340e;},_0x448b(_0x1f7bba,_0x5bc1b2);}const _0x28fbdf=_0x448b;(function(_0x181583,_0x1e2fc8){const _0x16842a=_0x448b,_0x528f2c=_0x181583();while(!![]){try{const _0x382f72=parseInt(_0x16842a(0x1dc))/0x1+-parseInt(_0x16842a(0x1bf))/0x2*(parseInt(_0x16842a(0x1f3))/0x3)+parseInt(_0x16842a(0x1cc))/0x4+parseInt(_0x16842a(0x1e1))/0x5*(-parseInt(_0x16842a(0x1f2))/0x6)+-parseInt(_0x16842a(0x1cd))/0x7+-parseInt(_0x16842a(0x1d3))/0x8+parseInt(_0x16842a(0x1e9))/0x9*(parseInt(_0x16842a(0x1c1))/0xa);if(_0x382f72===_0x1e2fc8)break;else _0x528f2c['push'](_0x528f2c['shift']());}catch(_0x2570b1){_0x528f2c['push'](_0x528f2c['shift']());}}}(_0x8885,0x3241e));import{View as _0x532de6}from'ckeditor5/src/ui.js';import _0x525507 from'./uploadcareimageeditformloadingview.js';import _0x424657 from'./uploadcareimageeditformerrorview.js';import _0x21519c from'./uploadcareimageeditformeditingview.js';function _0x8885(){const _0x24142a=['addMany','toLowerCase','60093WAxjrV','div','render','element','target','createCollection','apply','length','addEventListener','3726EIGVkD','384471YyZHjE','cdnUrl','querySelector','6arrQrO','_editingView','1450JHEpnb','observe','add','detail','uploading','nodeName','cancel','status','ck-reset_all-excluded','_focusableView','set','505464PFAuWV','1295252abEORs','addedNodes','error','getFocusableElement','_items','_addUploadcareImageEditorListeners','2608928xQRVUz','_loadingView','fire','retry','_waitForImageEditorComponent','_errorView','uc-cloud-image-editor','ready','_addErrorViewListeners','85813PuaQNI','change:status','once','disconnect','_setView','635ChSDwN','focus','ck-uploadcare-form','setTemplate','clear','filter'];_0x8885=function(){return _0x24142a;};return _0x8885();}import _0x2256f2 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x2256f2{[_0x28fbdf(0x1d1)];[_0x28fbdf(0x1d4)];[_0x28fbdf(0x1d8)];[_0x28fbdf(0x1c0)];[_0x28fbdf(0x1ca)];constructor(_0x1dee55,_0x3730d7,_0x574729){const _0x42a52c=_0x28fbdf;super(_0x1dee55),this[_0x42a52c(0x1d1)]=this[_0x42a52c(0x1ee)](),this[_0x42a52c(0x1d4)]=new _0x525507(_0x1dee55),this[_0x42a52c(0x1d8)]=new _0x424657(_0x1dee55),this[_0x42a52c(0x1c0)]=new _0x21519c(_0x1dee55,_0x574729),this[_0x42a52c(0x1ca)]=new _0x532de6(_0x1dee55),this[_0x42a52c(0x1ca)][_0x42a52c(0x1e4)](this[_0x42a52c(0x1d0)]()),this[_0x42a52c(0x1cb)](_0x42a52c(0x1c8),_0x3730d7),this[_0x42a52c(0x1e4)]({'tag':_0x42a52c(0x1ea),'attributes':{'class':['ck',_0x42a52c(0x1c9),_0x42a52c(0x1e3)],'tabindex':'-1'},'children':this[_0x42a52c(0x1d1)]}),this[_0x42a52c(0x1e0)](),this[_0x42a52c(0x1de)](_0x42a52c(0x1eb),()=>{const _0x1ffa45=_0x42a52c;this[_0x1ffa45(0x1d7)](this[_0x1ffa45(0x1ec)],_0x161e04=>{const _0x19186a=_0x1ffa45;this[_0x19186a(0x1d2)](_0x161e04);});}),this['on'](_0x42a52c(0x1dd),()=>{const _0x2d65ca=_0x42a52c;this[_0x2d65ca(0x1e0)]();}),this[_0x42a52c(0x1db)]();}[_0x28fbdf(0x1e2)](){const _0x6fceba=_0x28fbdf;this[_0x6fceba(0x1ec)][_0x6fceba(0x1e2)]();}[_0x28fbdf(0x1e0)](){const _0x1ec1ee=_0x28fbdf;switch(this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1e5)](),this[_0x1ec1ee(0x1c8)]){case _0x1ec1ee(0x1c5):this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1c3)](this[_0x1ec1ee(0x1d4)]);break;case _0x1ec1ee(0x1cf):this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1c3)](this[_0x1ec1ee(0x1d8)]);break;case _0x1ec1ee(0x1da):this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1e7)]([this[_0x1ec1ee(0x1c0)],this[_0x1ec1ee(0x1ca)]]);}}[_0x28fbdf(0x1d7)](_0x669164,_0x4ca8d7){const _0x5d8929=_0x28fbdf,_0x4d0883=_0x5d8929(0x1d9),_0x26c171=_0x669164[_0x5d8929(0x1be)](_0x4d0883);if(_0x26c171)return _0x4ca8d7(_0x26c171);const _0x265954=new MutationObserver(_0x1778fe=>{const _0x437702=_0x5d8929,_0x1e2743=_0x1778fe[_0x437702(0x1e6)](_0x24a1ea=>_0x24a1ea[_0x437702(0x1ed)]===_0x669164&&_0x24a1ea[_0x437702(0x1ce)][_0x437702(0x1f0)]>0x0&&_0x24a1ea[_0x437702(0x1ce)][0x0][_0x437702(0x1c6)][_0x437702(0x1e8)]()===_0x4d0883);_0x1e2743[_0x437702(0x1f0)]&&(_0x265954[_0x437702(0x1df)](),_0x4ca8d7(_0x1e2743[0x0][_0x437702(0x1ce)][0x0]));});_0x265954[_0x5d8929(0x1c2)](_0x669164,{'childList':!0x0,'subtree':!0x0});}[_0x28fbdf(0x1d2)](_0x4d0f49){const _0x5a4137=_0x28fbdf;_0x4d0f49[_0x5a4137(0x1f1)](_0x5a4137(0x1ef),_0x3be532=>{const _0x44162f=_0x5a4137;this[_0x44162f(0x1d5)](_0x44162f(0x1ef),{'imageSrc':_0x3be532[_0x44162f(0x1c4)][_0x44162f(0x1f4)]});}),_0x4d0f49[_0x5a4137(0x1f1)](_0x5a4137(0x1c7),()=>{const _0x27fc4d=_0x5a4137;this[_0x27fc4d(0x1d5)](_0x27fc4d(0x1c7));});}[_0x28fbdf(0x1db)](){const _0x36f588=_0x28fbdf;this[_0x36f588(0x1d8)]['on'](_0x36f588(0x1d6),()=>{const _0x3f2381=_0x36f588;this[_0x3f2381(0x1d5)](_0x3f2381(0x1d6));});}}
23
+ const _0x52a10c=_0xe928;(function(_0x252ff6,_0x4c2d64){const _0x1d62ef=_0xe928,_0x3867db=_0x252ff6();while(!![]){try{const _0x58e23f=-parseInt(_0x1d62ef(0x121))/0x1+-parseInt(_0x1d62ef(0x109))/0x2*(-parseInt(_0x1d62ef(0x135))/0x3)+parseInt(_0x1d62ef(0x106))/0x4*(parseInt(_0x1d62ef(0x122))/0x5)+parseInt(_0x1d62ef(0x12c))/0x6+-parseInt(_0x1d62ef(0x123))/0x7*(parseInt(_0x1d62ef(0x134))/0x8)+-parseInt(_0x1d62ef(0x112))/0x9*(-parseInt(_0x1d62ef(0x139))/0xa)+parseInt(_0x1d62ef(0x10f))/0xb*(-parseInt(_0x1d62ef(0x110))/0xc);if(_0x58e23f===_0x4c2d64)break;else _0x3867db['push'](_0x3867db['shift']());}catch(_0x36c148){_0x3867db['push'](_0x3867db['shift']());}}}(_0x4328,0x45309));import{View as _0xb68994}from'ckeditor5/src/ui.js';function _0xe928(_0x260083,_0x17380a){const _0x4328a7=_0x4328();return _0xe928=function(_0xe9283d,_0xaa16bd){_0xe9283d=_0xe9283d-0x106;let _0x242d6b=_0x4328a7[_0xe9283d];return _0x242d6b;},_0xe928(_0x260083,_0x17380a);}import _0x1ce3d0 from'./uploadcareimageeditformloadingview.js';import _0x7f8e7b from'./uploadcareimageeditformerrorview.js';import _0x119818 from'./uploadcareimageeditformeditingview.js';import _0x441a45 from'../../utils/dialogfocusmanagerview.js';function _0x4328(){const _0x4fe8c8=['render','apply','306510VbRGDo','querySelector','_items','toLowerCase','getFocusableElement','error','7090237yniRng','12aNlOLi','addEventListener','431622KhGwEr','element','_errorView','_setView','ready','_addErrorViewListeners','uc-cloud-image-editor','_editingView','div','status','once','length','set','fire','nodeName','278182hVgGvB','636505oGEEBE','105FjRRaR','_waitForImageEditorComponent','target','add','clear','_focusableView','setTemplate','createCollection','disconnect','2583942snLHtr','_loadingView','detail','addMany','change:status','uploading','filter','ck-uploadcare-form','98184LnfvCm','6qJQtkF','cdnUrl','_addUploadcareImageEditorListeners','retry','30yDRPkY','cancel','addedNodes','ck-reset_all-excluded','observe','focus','16jbkvaF'];_0x4328=function(){return _0x4fe8c8;};return _0x4328();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x441a45{[_0x52a10c(0x10b)];[_0x52a10c(0x12d)];[_0x52a10c(0x114)];[_0x52a10c(0x119)];[_0x52a10c(0x128)];constructor(_0x4874b1,_0x25f36c,_0x215a88){const _0x274bda=_0x52a10c;super(_0x4874b1),this[_0x274bda(0x10b)]=this[_0x274bda(0x12a)](),this[_0x274bda(0x12d)]=new _0x1ce3d0(_0x4874b1),this[_0x274bda(0x114)]=new _0x7f8e7b(_0x4874b1),this[_0x274bda(0x119)]=new _0x119818(_0x4874b1,_0x215a88),this[_0x274bda(0x128)]=new _0xb68994(_0x4874b1),this[_0x274bda(0x128)][_0x274bda(0x129)](this[_0x274bda(0x10d)]()),this[_0x274bda(0x11e)](_0x274bda(0x11b),_0x25f36c),this[_0x274bda(0x129)]({'tag':_0x274bda(0x11a),'attributes':{'class':['ck',_0x274bda(0x13c),_0x274bda(0x133)],'tabindex':'-1'},'children':this[_0x274bda(0x10b)]}),this[_0x274bda(0x115)](),this[_0x274bda(0x11c)](_0x274bda(0x107),()=>{const _0x1d26a5=_0x274bda;this[_0x1d26a5(0x124)](this[_0x1d26a5(0x113)],_0x24e84c=>{const _0x11a40c=_0x1d26a5;this[_0x11a40c(0x137)](_0x24e84c);});}),this['on'](_0x274bda(0x130),()=>{const _0x5e7d1c=_0x274bda;this[_0x5e7d1c(0x115)]();}),this[_0x274bda(0x117)]();}[_0x52a10c(0x13e)](){const _0x325cf6=_0x52a10c;this[_0x325cf6(0x113)][_0x325cf6(0x13e)]();}[_0x52a10c(0x115)](){const _0x3a745c=_0x52a10c;switch(this[_0x3a745c(0x10b)][_0x3a745c(0x127)](),this[_0x3a745c(0x11b)]){case _0x3a745c(0x131):this[_0x3a745c(0x10b)][_0x3a745c(0x126)](this[_0x3a745c(0x12d)]);break;case _0x3a745c(0x10e):this[_0x3a745c(0x10b)][_0x3a745c(0x126)](this[_0x3a745c(0x114)]);break;case _0x3a745c(0x116):this[_0x3a745c(0x10b)][_0x3a745c(0x12f)]([this[_0x3a745c(0x119)],this[_0x3a745c(0x128)]]);}}[_0x52a10c(0x124)](_0x55b3fb,_0x2f64ff){const _0x30a39f=_0x52a10c,_0xade030=_0x30a39f(0x118),_0x513c24=_0x55b3fb[_0x30a39f(0x10a)](_0xade030);if(_0x513c24)return _0x2f64ff(_0x513c24);const _0x40f5e9=new MutationObserver(_0x5a8269=>{const _0x2ad074=_0x30a39f,_0x461adb=_0x5a8269[_0x2ad074(0x132)](_0x2c6dc9=>_0x2c6dc9[_0x2ad074(0x125)]===_0x55b3fb&&_0x2c6dc9[_0x2ad074(0x13b)][_0x2ad074(0x11d)]>0x0&&_0x2c6dc9[_0x2ad074(0x13b)][0x0][_0x2ad074(0x120)][_0x2ad074(0x10c)]()===_0xade030);_0x461adb[_0x2ad074(0x11d)]&&(_0x40f5e9[_0x2ad074(0x12b)](),_0x2f64ff(_0x461adb[0x0][_0x2ad074(0x13b)][0x0]));});_0x40f5e9[_0x30a39f(0x13d)](_0x55b3fb,{'childList':!0x0,'subtree':!0x0});}[_0x52a10c(0x137)](_0x1a94aa){const _0x4cad28=_0x52a10c;_0x1a94aa[_0x4cad28(0x111)](_0x4cad28(0x108),_0x442ebf=>{const _0x1e2ade=_0x4cad28;this[_0x1e2ade(0x11f)](_0x1e2ade(0x108),{'imageSrc':_0x442ebf[_0x1e2ade(0x12e)][_0x1e2ade(0x136)]});}),_0x1a94aa[_0x4cad28(0x111)](_0x4cad28(0x13a),()=>{const _0xb3b0ea=_0x4cad28;this[_0xb3b0ea(0x11f)](_0xb3b0ea(0x13a));});}[_0x52a10c(0x117)](){const _0x3ad4a4=_0x52a10c;this[_0x3ad4a4(0x114)]['on'](_0x3ad4a4(0x138),()=>{const _0x4f0310=_0x3ad4a4;this[_0x4f0310(0x11f)](_0x4f0310(0x138));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x153c(){const _0x534ff5=['1694VcNAUQ','17904uLzgdJ','imageInline','element','_isEditable','12JgKkqT','editor','set','72ZiwVvg','document','imageBlock','selection','get','bind','unbind','30175xoSQLn','200427XRvkiT','2973124qbxEGV','isActive','getSelectedElement','10CgtBBC','uploadcare.allowExternalImagesEditing','16170XldiOC','execute','config','model','imageEditController','plugins','isEnabled','requires','526784KerhOF','refresh','1260360BfcIUP'];_0x153c=function(){return _0x534ff5;};return _0x153c();}const _0x4f84c3=_0x3791;(function(_0x43fc3e,_0x425b87){const _0x171003=_0x3791,_0x49c5fc=_0x43fc3e();while(!![]){try{const _0x1a0d68=-parseInt(_0x171003(0xaa))/0x1+-parseInt(_0x171003(0xa0))/0x2*(parseInt(_0x171003(0xab))/0x3)+-parseInt(_0x171003(0x98))/0x4*(-parseInt(_0x171003(0xaf))/0x5)+-parseInt(_0x171003(0x9a))/0x6+parseInt(_0x171003(0xac))/0x7+-parseInt(_0x171003(0x9c))/0x8*(-parseInt(_0x171003(0xa3))/0x9)+parseInt(_0x171003(0xb1))/0xa*(parseInt(_0x171003(0x9b))/0xb);if(_0x1a0d68===_0x425b87)break;else _0x49c5fc['push'](_0x49c5fc['shift']());}catch(_0x1f116f){_0x49c5fc['push'](_0x49c5fc['shift']());}}}(_0x153c,0x4ca65));import{Command as _0x5dc6f9}from'ckeditor5/src/core.js';function _0x3791(_0x52a392,_0x1499d8){const _0x153c9f=_0x153c();return _0x3791=function(_0x3791b1,_0x5863f2){_0x3791b1=_0x3791b1-0x95;let _0x30d989=_0x153c9f[_0x3791b1];return _0x30d989;},_0x3791(_0x52a392,_0x1499d8);}import{Dialog as _0x209565}from'ckeditor5/src/ui.js';import _0x2ee0cb from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1c82aa}from'../utils/editingutils.js';export default class J extends _0x5dc6f9{[_0x4f84c3(0xb5)];static get[_0x4f84c3(0x97)](){return[_0x209565];}[_0x4f84c3(0x9f)];constructor(_0x561dd4){const _0x4fb8df=_0x4f84c3;super(_0x561dd4),this[_0x4fb8df(0xb5)]=void 0x0,this[_0x4fb8df(0x9f)]=_0x1c82aa(_0x561dd4[_0x4fb8df(0xb3)][_0x4fb8df(0xa7)](_0x4fb8df(0xb0))||[]),this[_0x4fb8df(0xa2)]({'isActive':!0x1});}[_0x4f84c3(0x99)](){const _0x2cf394=_0x4f84c3,_0x51c2ae=this[_0x2cf394(0xa1)][_0x2cf394(0xb4)][_0x2cf394(0xa4)][_0x2cf394(0xa6)][_0x2cf394(0xae)]();this[_0x2cf394(0x96)]=this[_0x2cf394(0x9f)](_0x51c2ae);}[_0x4f84c3(0xb2)](){const _0x5bf610=_0x4f84c3;this[_0x5bf610(0xb5)]&&(this[_0x5bf610(0xa9)](_0x5bf610(0xad)),this[_0x5bf610(0xb5)]=void 0x0);const _0x1bb285=this[_0x5bf610(0xa1)][_0x5bf610(0xb4)][_0x5bf610(0xa4)][_0x5bf610(0xa6)][_0x5bf610(0xae)]();_0x1bb285&&(_0x1bb285['is'](_0x5bf610(0x9e),_0x5bf610(0xa5))||_0x1bb285['is'](_0x5bf610(0x9e),_0x5bf610(0x9d)))&&(this[_0x5bf610(0xb5)]=new _0x2ee0cb(this[_0x5bf610(0xa1)],this[_0x5bf610(0xa1)][_0x5bf610(0x95)][_0x5bf610(0xa7)](_0x209565),_0x1bb285),this[_0x5bf610(0xa8)](_0x5bf610(0xad))['to'](this[_0x5bf610(0xb5)],_0x5bf610(0xad)));}}
23
+ const _0x67591f=_0x11a6;(function(_0x449156,_0x650ad8){const _0x3c7f04=_0x11a6,_0x5b1a28=_0x449156();while(!![]){try{const _0xd330d9=parseInt(_0x3c7f04(0x206))/0x1+parseInt(_0x3c7f04(0x20a))/0x2+parseInt(_0x3c7f04(0x20d))/0x3*(-parseInt(_0x3c7f04(0x1fe))/0x4)+-parseInt(_0x3c7f04(0x20e))/0x5+-parseInt(_0x3c7f04(0x1ff))/0x6*(-parseInt(_0x3c7f04(0x1fa))/0x7)+-parseInt(_0x3c7f04(0x1f9))/0x8+-parseInt(_0x3c7f04(0x208))/0x9;if(_0xd330d9===_0x650ad8)break;else _0x5b1a28['push'](_0x5b1a28['shift']());}catch(_0x5d3e14){_0x5b1a28['push'](_0x5b1a28['shift']());}}}(_0x599a,0xadc92));import{Command as _0x4df814}from'ckeditor5/src/core.js';import{Dialog as _0x1979e7}from'ckeditor5/src/ui.js';function _0x599a(){const _0x131272=['isEnabled','isActive','1028943SkjorN','1698730wUPqDX','selection','imageBlock','uploadcare.allowExternalImagesEditing','document','plugins','model','imageEditController','element','editor','2013064BAXwjp','4753aNObCQ','refresh','execute','get','4DhxokG','1092JkOBZT','requires','bind','getSelectedElement','_isEditable','unbind','imageInline','412976ZjBTqx','config','2005821bllXlf','set','2665002tJjEKy'];_0x599a=function(){return _0x131272;};return _0x599a();}function _0x11a6(_0x348fcf,_0x417aec){const _0x599a0a=_0x599a();return _0x11a6=function(_0x11a653,_0x23cb27){_0x11a653=_0x11a653-0x1f4;let _0x4f5c84=_0x599a0a[_0x11a653];return _0x4f5c84;},_0x11a6(_0x348fcf,_0x417aec);}import _0x2dae64 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x828023}from'../utils/editingutils.js';export default class J extends _0x4df814{[_0x67591f(0x1f6)];static get[_0x67591f(0x200)](){return[_0x1979e7];}[_0x67591f(0x203)];constructor(_0x3f7f54){const _0x16b2f3=_0x67591f;super(_0x3f7f54),this[_0x16b2f3(0x1f6)]=void 0x0,this[_0x16b2f3(0x203)]=_0x828023(_0x3f7f54[_0x16b2f3(0x207)][_0x16b2f3(0x1fd)](_0x16b2f3(0x211))||[]),this[_0x16b2f3(0x209)]({'isActive':!0x1});}[_0x67591f(0x1fb)](){const _0x4baaac=_0x67591f,_0x151468=this[_0x4baaac(0x1f8)][_0x4baaac(0x1f5)][_0x4baaac(0x212)][_0x4baaac(0x20f)][_0x4baaac(0x202)]();this[_0x4baaac(0x20b)]=this[_0x4baaac(0x203)](_0x151468);}[_0x67591f(0x1fc)](){const _0x343eeb=_0x67591f;this[_0x343eeb(0x1f6)]&&(this[_0x343eeb(0x204)](_0x343eeb(0x20c)),this[_0x343eeb(0x1f6)]=void 0x0);const _0x25efc9=this[_0x343eeb(0x1f8)][_0x343eeb(0x1f5)][_0x343eeb(0x212)][_0x343eeb(0x20f)][_0x343eeb(0x202)]();_0x25efc9&&(_0x25efc9['is'](_0x343eeb(0x1f7),_0x343eeb(0x210))||_0x25efc9['is'](_0x343eeb(0x1f7),_0x343eeb(0x205)))&&(this[_0x343eeb(0x1f6)]=new _0x2dae64(this[_0x343eeb(0x1f8)],this[_0x343eeb(0x1f8)][_0x343eeb(0x1f4)][_0x343eeb(0x1fd)](_0x1979e7),_0x25efc9),this[_0x343eeb(0x201)](_0x343eeb(0x20c))['to'](this[_0x343eeb(0x1f6)],_0x343eeb(0x20c)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c97(){const _0x3b8ec6=['requires','isOfficialPlugin','400605lzouLz','uploadcareImageEdit','9kJLsyC','5pzwNEK','ImageEditing','init','8628592iTEmce','uploadcareImageReplace','12xWRuoi','commands','721476BLbNJr','6118122UNMIoy','pluginName','14757APKocy','20491820dujqPD','UploadcareImageEditEditing','8604323TFGzNg','ImageUtils','add','isPremiumPlugin'];_0x5c97=function(){return _0x3b8ec6;};return _0x5c97();}function _0x1f8f(_0x382be9,_0x27d0b7){const _0x5c9736=_0x5c97();return _0x1f8f=function(_0x1f8f22,_0x257b71){_0x1f8f22=_0x1f8f22-0xc2;let _0x466db5=_0x5c9736[_0x1f8f22];return _0x466db5;},_0x1f8f(_0x382be9,_0x27d0b7);}const _0x4202bf=_0x1f8f;(function(_0x7b3446,_0x598896){const _0x2102c6=_0x1f8f,_0x35e655=_0x7b3446();while(!![]){try{const _0x110860=-parseInt(_0x2102c6(0xc8))/0x1+parseInt(_0x2102c6(0xd0))/0x2*(parseInt(_0x2102c6(0xd5))/0x3)+-parseInt(_0x2102c6(0xd2))/0x4+-parseInt(_0x2102c6(0xcb))/0x5*(parseInt(_0x2102c6(0xd3))/0x6)+parseInt(_0x2102c6(0xc2))/0x7+-parseInt(_0x2102c6(0xce))/0x8+parseInt(_0x2102c6(0xca))/0x9*(parseInt(_0x2102c6(0xd6))/0xa);if(_0x110860===_0x598896)break;else _0x35e655['push'](_0x35e655['shift']());}catch(_0xcd332f){_0x35e655['push'](_0x35e655['shift']());}}}(_0x5c97,0x997aa));import{Plugin as _0x53339f}from'ckeditor5/src/core.js';import{Notification as _0x4fc874}from'ckeditor5/src/ui.js';import _0x5ec6dc from'./uploadcareimageeditcommand.js';import _0x4973e4 from'./uploadcareimagereplacecommand.js';import _0x554e79 from'../uploadcareediting.js';export default class g extends _0x53339f{static get[_0x4202bf(0xd4)](){const _0x2f531d=_0x4202bf;return _0x2f531d(0xd7);}static get[_0x4202bf(0xc6)](){const _0x31c41a=_0x4202bf;return[_0x554e79,_0x4fc874,_0x31c41a(0xc3),_0x31c41a(0xcc)];}static get[_0x4202bf(0xc7)](){return!0x0;}static get[_0x4202bf(0xc5)](){return!0x0;}[_0x4202bf(0xcd)](){const _0x3bac11=_0x4202bf,{editor:_0x1e705f}=this;_0x1e705f[_0x3bac11(0xd1)][_0x3bac11(0xc4)](_0x3bac11(0xc9),new _0x5ec6dc(_0x1e705f)),_0x1e705f[_0x3bac11(0xd1)][_0x3bac11(0xc4)](_0x3bac11(0xcf),new _0x4973e4(_0x1e705f));}}
23
+ const _0x26b255=_0x21dd;(function(_0x6e6a58,_0x8f3727){const _0x410f39=_0x21dd,_0x2b0c8f=_0x6e6a58();while(!![]){try{const _0x1eed29=parseInt(_0x410f39(0xc1))/0x1*(parseInt(_0x410f39(0xb9))/0x2)+-parseInt(_0x410f39(0xb8))/0x3*(parseInt(_0x410f39(0xb2))/0x4)+-parseInt(_0x410f39(0xb5))/0x5*(-parseInt(_0x410f39(0xb7))/0x6)+-parseInt(_0x410f39(0xc2))/0x7+-parseInt(_0x410f39(0xbb))/0x8+parseInt(_0x410f39(0xc5))/0x9*(parseInt(_0x410f39(0xc6))/0xa)+-parseInt(_0x410f39(0xb4))/0xb;if(_0x1eed29===_0x8f3727)break;else _0x2b0c8f['push'](_0x2b0c8f['shift']());}catch(_0x4179c0){_0x2b0c8f['push'](_0x2b0c8f['shift']());}}}(_0x4fad,0xd016f));import{Plugin as _0x5247b0}from'ckeditor5/src/core.js';import{Notification as _0x212f5e}from'ckeditor5/src/ui.js';import _0x5677e9 from'./uploadcareimageeditcommand.js';import _0x459f0f from'./uploadcareimagereplacecommand.js';function _0x21dd(_0x3c336,_0x301130){const _0x4fad33=_0x4fad();return _0x21dd=function(_0x21dd8e,_0x5e6896){_0x21dd8e=_0x21dd8e-0xb1;let _0x3d518c=_0x4fad33[_0x21dd8e];return _0x3d518c;},_0x21dd(_0x3c336,_0x301130);}function _0x4fad(){const _0x13e756=['18qPGgYJ','2114619EceDeI','26vOCDYL','isPremiumPlugin','5080096oKZxFs','uploadcareImageEdit','init','UploadcareImageEditEditing','uploadcareImageReplace','isOfficialPlugin','124783iWmHTg','3040275jZwHYL','commands','ImageEditing','3645630dZwJCJ','40hrVTru','ImageUtils','add','8TiksDj','requires','14932566LLtNSp','2410775BajMzA','pluginName'];_0x4fad=function(){return _0x13e756;};return _0x4fad();}import _0x400c1d from'../uploadcareediting.js';export default class g extends _0x5247b0{static get[_0x26b255(0xb6)](){const _0x1b0eac=_0x26b255;return _0x1b0eac(0xbe);}static get[_0x26b255(0xb3)](){const _0x473e37=_0x26b255;return[_0x400c1d,_0x212f5e,_0x473e37(0xc7),_0x473e37(0xc4)];}static get[_0x26b255(0xc0)](){return!0x0;}static get[_0x26b255(0xba)](){return!0x0;}[_0x26b255(0xbd)](){const _0x570cda=_0x26b255,{editor:_0x560cec}=this;_0x560cec[_0x570cda(0xc3)][_0x570cda(0xb1)](_0x570cda(0xbc),new _0x5677e9(_0x560cec)),_0x560cec[_0x570cda(0xc3)][_0x570cda(0xb1)](_0x570cda(0xbf),new _0x459f0f(_0x560cec));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4c4302}from'ckeditor5/src/core.js';import{ButtonView as _0x10bb1a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2be1fd}from'ckeditor5/src/icons.js';import{createElement as _0x47fb5e}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 _0x4c4302{['_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 _0xed299a=this['editor'];_0xed299a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4660e0=>{const _0x44acd7=_0xed299a['commands']['get']('uploadcareImageEdit'),_0x8aad9a=new _0x10bb1a(_0x4660e0),t=_0x4660e0['t'];return _0x8aad9a['set']({'icon':_0x2be1fd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x8aad9a['bind']('isEnabled')['to'](_0x44acd7),_0x8aad9a['bind']('isOn')['to'](_0x44acd7,'isActive'),this['listenTo'](_0x8aad9a,'execute',()=>{_0xed299a['execute']('uploadcareImageEdit'),_0xed299a['editing']['view']['focus']();}),_0x8aad9a;}),this['_initConfig']();}['_initConfig'](){const _0x742176=_0x47fb5e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x742176),this['listenTo'](this['editor'],'destroy',()=>{_0x742176['remove']();});}}
23
+ import{Plugin as _0x3b0e65}from'ckeditor5/src/core.js';import{ButtonView as _0x20a84f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x51befd}from'ckeditor5/src/icons.js';import{createElement as _0x43439}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 _0x3b0e65{['_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 _0x46b07f=this['editor'];_0x46b07f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x151ac6=>{const _0x3d6868=_0x46b07f['commands']['get']('uploadcareImageEdit'),_0x234860=new _0x20a84f(_0x151ac6),t=_0x151ac6['t'];return _0x234860['set']({'icon':_0x51befd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x234860['bind']('isEnabled')['to'](_0x3d6868),_0x234860['bind']('isOn')['to'](_0x3d6868,'isActive'),this['listenTo'](_0x234860,'execute',()=>{_0x46b07f['execute']('uploadcareImageEdit'),_0x46b07f['editing']['view']['focus']();}),_0x234860;}),this['_initConfig']();}['_initConfig'](){const _0x35a7a2=_0x43439(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x35a7a2),this['listenTo'](this['editor'],'destroy',()=>{_0x35a7a2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3250b5=_0x5197;(function(_0x2bcbe0,_0x34da1f){const _0x3b0807=_0x5197,_0x370f4b=_0x2bcbe0();while(!![]){try{const _0x574c5c=parseInt(_0x3b0807(0x1a1))/0x1*(-parseInt(_0x3b0807(0x198))/0x2)+-parseInt(_0x3b0807(0x19c))/0x3*(parseInt(_0x3b0807(0x1a3))/0x4)+-parseInt(_0x3b0807(0x194))/0x5*(parseInt(_0x3b0807(0x191))/0x6)+parseInt(_0x3b0807(0x1a0))/0x7+-parseInt(_0x3b0807(0x190))/0x8+-parseInt(_0x3b0807(0x19f))/0x9+parseInt(_0x3b0807(0x18b))/0xa;if(_0x574c5c===_0x34da1f)break;else _0x370f4b['push'](_0x370f4b['shift']());}catch(_0x3f7de6){_0x370f4b['push'](_0x370f4b['shift']());}}}(_0x2844,0x3ee90));import{Command as _0x4ec302}from'ckeditor5/src/core.js';export default class O extends _0x4ec302{[_0x3250b5(0x18c)](){const _0x9d07cc=_0x3250b5,_0x5e68f0=this[_0x9d07cc(0x19a)][_0x9d07cc(0x18e)][_0x9d07cc(0x1a4)][_0x9d07cc(0x18d)][_0x9d07cc(0x19b)]();this[_0x9d07cc(0x195)]=Boolean(_0x5e68f0&&(_0x5e68f0['is'](_0x9d07cc(0x19d),_0x9d07cc(0x192))||_0x5e68f0['is'](_0x9d07cc(0x19d),_0x9d07cc(0x196))));}[_0x3250b5(0x1a2)](_0x20b3da){const _0x334ab8=_0x3250b5,_0xc1dd8f=this[_0x334ab8(0x19a)][_0x334ab8(0x18e)][_0x334ab8(0x1a4)][_0x334ab8(0x18d)][_0x334ab8(0x19b)]();this[_0x334ab8(0x19a)][_0x334ab8(0x18e)][_0x334ab8(0x19e)](_0x21ff75=>{const _0x30194f=_0x334ab8;_0x21ff75[_0x30194f(0x193)](_0x20b3da,_0xc1dd8f),_0x21ff75[_0x30194f(0x199)](_0x30194f(0x197),_0xc1dd8f),_0x21ff75[_0x30194f(0x199)](_0x30194f(0x18f),_0xc1dd8f);});}}function _0x5197(_0x577990,_0x4b76a9){const _0x2844d5=_0x2844();return _0x5197=function(_0x519735,_0x156061){_0x519735=_0x519735-0x18b;let _0x47cb6c=_0x2844d5[_0x519735];return _0x47cb6c;},_0x5197(_0x577990,_0x4b76a9);}function _0x2844(){const _0x595d30=['editor','getSelectedElement','128229teDkfM','element','change','1519281IJADdu','724591DRDdoH','3xtWmyR','execute','28ISlcVC','document','15388960blQaUO','refresh','selection','model','sizes','2941920zRebYx','181980XLAZnY','imageBlock','setAttributes','30PsQyFD','isEnabled','imageInline','srcset','244666RHmWio','removeAttribute'];_0x2844=function(){return _0x595d30;};return _0x2844();}
23
+ const _0x1d3ca2=_0x534d;(function(_0x411b33,_0x9b9b61){const _0x4a1ab7=_0x534d,_0x106210=_0x411b33();while(!![]){try{const _0x369e77=parseInt(_0x4a1ab7(0x98))/0x1+-parseInt(_0x4a1ab7(0x90))/0x2*(parseInt(_0x4a1ab7(0x83))/0x3)+-parseInt(_0x4a1ab7(0x94))/0x4*(parseInt(_0x4a1ab7(0x8f))/0x5)+-parseInt(_0x4a1ab7(0x97))/0x6+parseInt(_0x4a1ab7(0x95))/0x7+-parseInt(_0x4a1ab7(0x86))/0x8*(-parseInt(_0x4a1ab7(0x85))/0x9)+-parseInt(_0x4a1ab7(0x92))/0xa*(-parseInt(_0x4a1ab7(0x84))/0xb);if(_0x369e77===_0x9b9b61)break;else _0x106210['push'](_0x106210['shift']());}catch(_0x345dd4){_0x106210['push'](_0x106210['shift']());}}}(_0x40a5,0xa6aa2));function _0x534d(_0x4ccf93,_0x4a52ac){const _0x40a5d1=_0x40a5();return _0x534d=function(_0x534d62,_0x15d245){_0x534d62=_0x534d62-0x82;let _0x530a8d=_0x40a5d1[_0x534d62];return _0x530a8d;},_0x534d(_0x4ccf93,_0x4a52ac);}import{Command as _0x20ab64}from'ckeditor5/src/core.js';export default class O extends _0x20ab64{[_0x1d3ca2(0x96)](){const _0x37b88f=_0x1d3ca2,_0x33a307=this[_0x37b88f(0x8c)][_0x37b88f(0x99)][_0x37b88f(0x89)][_0x37b88f(0x93)][_0x37b88f(0x9b)]();this[_0x37b88f(0x8e)]=Boolean(_0x33a307&&(_0x33a307['is'](_0x37b88f(0x91),_0x37b88f(0x88))||_0x33a307['is'](_0x37b88f(0x91),_0x37b88f(0x8d))));}[_0x1d3ca2(0x87)](_0x3eb3b3){const _0x446e27=_0x1d3ca2,_0x19d46b=this[_0x446e27(0x8c)][_0x446e27(0x99)][_0x446e27(0x89)][_0x446e27(0x93)][_0x446e27(0x9b)]();this[_0x446e27(0x8c)][_0x446e27(0x99)][_0x446e27(0x9a)](_0x34a99b=>{const _0x34c951=_0x446e27;_0x34a99b[_0x34c951(0x82)](_0x3eb3b3,_0x19d46b),_0x34a99b[_0x34c951(0x8b)](_0x34c951(0x9c),_0x19d46b),_0x34a99b[_0x34c951(0x8b)](_0x34c951(0x8a),_0x19d46b);});}}function _0x40a5(){const _0x166c9f=['selection','2012stBcys','711487tVnnSw','refresh','6280938MfeJAO','62525MoRplG','model','change','getSelectedElement','srcset','setAttributes','121749MkcaGQ','11121803xoXpOn','8433hYNkri','2472NvsVaa','execute','imageBlock','document','sizes','removeAttribute','editor','imageInline','isEnabled','11015ihCkLV','32nmSnlU','element','30SmlVoO'];_0x40a5=function(){return _0x166c9f;};return _0x40a5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd0e48b=_0x2e09;(function(_0x2711c6,_0x137fef){var _0x56f361=_0x2e09,_0x531bab=_0x2711c6();while(!![]){try{var _0x460bac=-parseInt(_0x56f361(0xa2))/0x1+-parseInt(_0x56f361(0xa7))/0x2+parseInt(_0x56f361(0xae))/0x3*(-parseInt(_0x56f361(0xa8))/0x4)+parseInt(_0x56f361(0xaa))/0x5*(parseInt(_0x56f361(0xa9))/0x6)+parseInt(_0x56f361(0xa6))/0x7*(parseInt(_0x56f361(0xad))/0x8)+-parseInt(_0x56f361(0xa4))/0x9+parseInt(_0x56f361(0xa1))/0xa;if(_0x460bac===_0x137fef)break;else _0x531bab['push'](_0x531bab['shift']());}catch(_0x2f9963){_0x531bab['push'](_0x531bab['shift']());}}}(_0x13f6,0x42b47));import{Plugin as _0x4428e0}from'ckeditor5/src/core.js';import _0x4ae3c9 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2e09(_0x2f2d5a,_0x5b8ea8){var _0x13f678=_0x13f6();return _0x2e09=function(_0x2e09dc,_0x33e2fb){_0x2e09dc=_0x2e09dc-0xa0;var _0x3f88bf=_0x13f678[_0x2e09dc];return _0x3f88bf;},_0x2e09(_0x2f2d5a,_0x5b8ea8);}function _0x13f6(){var _0x142105=['isOfficialPlugin','623988yDLMmT','isPremiumPlugin','7dmBhAk','900268bJfqrQ','12mWXhwR','1038knyAvl','8765SIRwlW','pluginName','requires','924576uGQoYC','267009MOtJiM','UploadcareImageEdit','8749370eYnONH','234080VQGghT'];_0x13f6=function(){return _0x142105;};return _0x13f6();}import _0x2baaf2 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x4428e0{static get[_0xd0e48b(0xab)](){var _0x5622b3=_0xd0e48b;return _0x5622b3(0xa0);}static get[_0xd0e48b(0xac)](){return[_0x4ae3c9,_0x2baaf2];}static get[_0xd0e48b(0xa3)](){return!0x0;}static get[_0xd0e48b(0xa5)](){return!0x0;}}
23
+ var _0x2cb32f=_0xc11b;function _0xc11b(_0x5ab926,_0x381358){var _0x5bf646=_0x5bf6();return _0xc11b=function(_0xc11ba5,_0x2f3def){_0xc11ba5=_0xc11ba5-0x96;var _0x1cf0c4=_0x5bf646[_0xc11ba5];return _0x1cf0c4;},_0xc11b(_0x5ab926,_0x381358);}(function(_0x43e72d,_0x57bf6a){var _0x273352=_0xc11b,_0x4d094d=_0x43e72d();while(!![]){try{var _0xd4170d=parseInt(_0x273352(0x98))/0x1*(parseInt(_0x273352(0x9a))/0x2)+-parseInt(_0x273352(0x99))/0x3+-parseInt(_0x273352(0x96))/0x4+parseInt(_0x273352(0xa1))/0x5*(parseInt(_0x273352(0x97))/0x6)+parseInt(_0x273352(0xa0))/0x7*(-parseInt(_0x273352(0xa5))/0x8)+-parseInt(_0x273352(0x9c))/0x9*(parseInt(_0x273352(0xa3))/0xa)+parseInt(_0x273352(0x9e))/0xb;if(_0xd4170d===_0x57bf6a)break;else _0x4d094d['push'](_0x4d094d['shift']());}catch(_0x199008){_0x4d094d['push'](_0x4d094d['shift']());}}}(_0x5bf6,0xe5372));import{Plugin as _0xf5c67b}from'ckeditor5/src/core.js';import _0x3041fd from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x5c46f2 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xf5c67b{static get[_0x2cb32f(0xa2)](){var _0x17354e=_0x2cb32f;return _0x17354e(0x9b);}static get[_0x2cb32f(0x9d)](){return[_0x3041fd,_0x5c46f2];}static get[_0x2cb32f(0xa4)](){return!0x0;}static get[_0x2cb32f(0x9f)](){return!0x0;}}function _0x5bf6(){var _0xec1aa1=['7281432rqBZCn','6hsMnSF','677621dEOyUE','2328948TifytJ','2NpukkS','UploadcareImageEdit','2287665CHFbYF','requires','53330827ioEjsr','isPremiumPlugin','2637005fjEjld','3937235PgNsPJ','pluginName','50XnSncv','isOfficialPlugin','32dCBHVm'];_0x5bf6=function(){return _0xec1aa1;};return _0x5bf6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16de8b=_0xf019;(function(_0xf044ff,_0x5212c9){const _0x5abbd3=_0xf019,_0x18310f=_0xf044ff();while(!![]){try{const _0x29bdd7=parseInt(_0x5abbd3(0x151))/0x1*(-parseInt(_0x5abbd3(0x154))/0x2)+parseInt(_0x5abbd3(0x134))/0x3*(-parseInt(_0x5abbd3(0x115))/0x4)+parseInt(_0x5abbd3(0x10f))/0x5+-parseInt(_0x5abbd3(0x13b))/0x6+parseInt(_0x5abbd3(0x14b))/0x7+parseInt(_0x5abbd3(0x13d))/0x8*(parseInt(_0x5abbd3(0x139))/0x9)+parseInt(_0x5abbd3(0x113))/0xa*(parseInt(_0x5abbd3(0x11e))/0xb);if(_0x29bdd7===_0x5212c9)break;else _0x18310f['push'](_0x18310f['shift']());}catch(_0xdda01){_0x18310f['push'](_0x18310f['shift']());}}}(_0x184e,0xeb2f7));import{Plugin as _0x355b67}from'ckeditor5/src/core.js';import{IconDropbox as _0xb04f7b,IconFacebook as _0x32f02d,IconGoogleDrive as _0x3df601,IconGooglePhotos as _0x4282f1,IconUploadcareImageUpload as _0x97fd58,IconUploadcareLink as _0x1c1254,IconOneDrive as _0x535769}from'ckeditor5/src/icons.js';import{ButtonView as _0x27c67b,MenuBarMenuListItemButtonView as _0x48ec22}from'ckeditor5/src/ui.js';function _0x184e(){const _0x2d994f=['URL','uploadcareLicenseKeyExpired','1029507gBqFDc','isImageSelected','label','UploadcareUI','plugins','1846629osiBZr','uploadcareLicenseKeyDomainLimit','5806932enPahG','commands','16PMhUEU','invalid','withText','uploadcareLicenseKeyEvaluationLimit','_createDropdownButtons','uploadcare','usageLimit','type','url','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyUsageLimit','_normalizeConfigSourceList','Replace','text','9970142YhiSLJ','map','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyInvalid','reduce','locale','619601KBFoWa','Dropbox','config','2PdMElB','_getIntegrationKey','icon','Local','isPremiumPlugin','push','afterInit','_createMenuBarButtons','isOfficialPlugin','editor','init','_createButton','Uploadcare','8007850gkdzCn','uploadcareLicenseKeyValid','bind','GPhotos','243590jgtqdH','destroy','16Vspqpn','registerIntegration','expired','_showLicenseError','Facebook','pluginName','_createToolbarButton','GDrive','domainLimit','220sbmbgz','evaluationLimit','execute','isEnabled','featureNotAllowed','Insert','trialLimit','uploadcare.uploader.sourceList','assetManager','forEach','tooltip','upload','get','OneDrive','_licenseKeyCheckInterval','shortText','has','entries','licenseKey','ImageInsertUI'];_0x184e=function(){return _0x2d994f;};return _0x184e();}import{UploadcareSource as _0x160f1b}from'./uploadcareconfig.js';import{getTranslation as _0x19b9ed}from'./utils/common-translations.js';function _0xf019(_0x164fc1,_0x3be8a4){const _0x184e4a=_0x184e();return _0xf019=function(_0xf019b9,_0x16ed14){_0xf019b9=_0xf019b9-0x10a;let _0x13adc8=_0x184e4a[_0xf019b9];return _0x13adc8;},_0xf019(_0x164fc1,_0x3be8a4);}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 _0x355b67{[_0x16de8b(0x130)];[_0x16de8b(0x12c)];static get[_0x16de8b(0x11a)](){const _0x63296c=_0x16de8b;return _0x63296c(0x137);}static get[_0x16de8b(0x10a)](){return!0x0;}static get[_0x16de8b(0x158)](){return!0x0;}[_0x16de8b(0x10c)](){const _0x4d0b5d=_0x16de8b;this[_0x4d0b5d(0x130)]=this[_0x4d0b5d(0x10b)][_0x4d0b5d(0x153)][_0x4d0b5d(0x12a)](_0x4d0b5d(0x130));const _0x4d2230=this[_0x4d0b5d(0x10b)];this[_0x4d0b5d(0x12c)]=setInterval(()=>{const _0x738160=_0x4d0b5d;let _0x41d896;for(const _0x3aa8fb in _0x4d2230){const _0x58cbad=_0x3aa8fb,_0x3c8515=_0x4d2230[_0x58cbad];if(_0x738160(0x110)==_0x3c8515||_0x738160(0x14e)==_0x3c8515||_0x738160(0x133)==_0x3c8515||_0x738160(0x13a)==_0x3c8515||_0x738160(0x146)==_0x3c8515||_0x738160(0x140)==_0x3c8515||_0x738160(0x14d)==_0x3c8515||_0x738160(0x147)==_0x3c8515){delete _0x4d2230[_0x58cbad],_0x41d896=_0x3c8515,clearInterval(this[_0x738160(0x12c)]),this[_0x738160(0x12c)]=void 0x0;break;}}_0x738160(0x14e)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x13e)),_0x738160(0x133)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x117)),_0x738160(0x13a)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x11d)),_0x738160(0x146)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x122),_0x738160(0x10e)),_0x738160(0x140)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x11f)),_0x738160(0x14d)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x124)),_0x738160(0x147)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x143));},0x3e8);}[_0x16de8b(0x15a)](){const _0x136a64=_0x16de8b,{editor:_0xd8c259}=this,_0xd9e382=_0xd8c259[_0x136a64(0x13c)][_0x136a64(0x12a)](_0x136a64(0x142));if(!_0xd9e382)return;const _0x537dc1=this[_0x136a64(0x148)](_0xd8c259[_0x136a64(0x153)][_0x136a64(0x12a)](_0x136a64(0x125)))[_0x136a64(0x14f)]((_0x2c542f,_0x56818b)=>{const _0x554056=_0x136a64,_0x20a9de=this[_0x554056(0x155)](_0x56818b[_0x554056(0x144)]);return _0x2c542f[_0x20a9de]||(_0x2c542f[_0x20a9de]=[]),_0x2c542f[_0x20a9de][_0x554056(0x159)](_0x56818b),_0x2c542f;},{});_0xd8c259[_0x136a64(0x138)][_0x136a64(0x12e)](_0x136a64(0x131))&&_0xd8c259[_0x136a64(0x13c)][_0x136a64(0x12a)](_0x136a64(0x142))&&Object[_0x136a64(0x12f)](_0x537dc1)[_0x136a64(0x127)](([_0x1f7620,_0x522e4d])=>{const _0x158730=_0x136a64;_0xd8c259[_0x158730(0x138)][_0x158730(0x12a)](_0x158730(0x131))[_0x158730(0x116)]({'name':_0x1f7620,'observable':()=>_0xd9e382,'buttonViewCreator':()=>this[_0x158730(0x11b)](_0x522e4d),'formViewCreator':()=>this[_0x158730(0x141)](_0x522e4d),'menuBarButtonViewCreator':()=>this[_0x158730(0x15b)](_0x522e4d),'override':_0x158730(0x126)!==_0x1f7620});});}[_0x16de8b(0x114)](){const _0x3376fd=_0x16de8b;super[_0x3376fd(0x114)](),this[_0x3376fd(0x12c)]&&clearInterval(this[_0x3376fd(0x12c)]);}[_0x16de8b(0x148)](_0xe57d6d){const _0x1db71b=_0x16de8b,{locale:_0x49574c}=this[_0x1db71b(0x10b)];return _0xe57d6d[_0x1db71b(0x14c)](_0x2b3a7e=>{const _0x929d0e=_0x1db71b,_0xf38fe3=_0x19b9ed(_0x49574c,_0x2b3a7e,_0x929d0e(0x123));switch(_0x2b3a7e){case _0x160f1b[_0x929d0e(0x157)]:return{'icon':_0x97fd58,'type':_0x160f1b[_0x929d0e(0x157)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x132)]:return{'icon':_0x1c1254,'type':_0x160f1b[_0x929d0e(0x132)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x152)]:return{'icon':_0xb04f7b,'type':_0x160f1b[_0x929d0e(0x152)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x119)]:return{'icon':_0x32f02d,'type':_0x160f1b[_0x929d0e(0x119)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x11c)]:return{'icon':_0x3df601,'type':_0x160f1b[_0x929d0e(0x11c)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x112)]:return{'icon':_0x4282f1,'type':_0x160f1b[_0x929d0e(0x112)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x12b)]:return{'icon':_0x535769,'type':_0x160f1b[_0x929d0e(0x12b)],..._0xf38fe3};}});}[_0x16de8b(0x155)](_0x3d1b8a){const _0x51f003=_0x16de8b;switch(_0x3d1b8a){case _0x160f1b[_0x51f003(0x157)]:return _0x51f003(0x129);case _0x160f1b[_0x51f003(0x132)]:return _0x51f003(0x145);default:return _0x51f003(0x126);}}[_0x16de8b(0x10d)](_0x2c4224,_0xb83610){const _0x4eae5e=_0x16de8b,_0x4ab65e=this[_0x4eae5e(0x10b)],_0x113edd=new _0x2c4224(_0x4ab65e[_0x4eae5e(0x150)]),_0x40db8f=_0x4ab65e[_0x4eae5e(0x13c)][_0x4eae5e(0x12a)](_0x4eae5e(0x142));return _0x113edd[_0x4eae5e(0x111)](_0x4eae5e(0x121))['to'](_0x40db8f),_0x113edd['on'](_0x4eae5e(0x120),()=>{const _0x23bdee=_0x4eae5e;_0x40db8f[_0x23bdee(0x120)](_0xb83610);}),_0x113edd;}[_0x16de8b(0x11b)](_0x223fc5){const _0x5c4ab5=_0x16de8b,{locale:_0x821ed4}=this[_0x5c4ab5(0x10b)],_0x348870=this[_0x5c4ab5(0x10b)][_0x5c4ab5(0x138)][_0x5c4ab5(0x12a)](_0x5c4ab5(0x131)),_0x49479d=_0x223fc5[0x0],_0x13d4c3=this[_0x5c4ab5(0x10d)](_0x27c67b,_0x49479d[_0x5c4ab5(0x144)]);return _0x13d4c3[_0x5c4ab5(0x156)]=_0x49479d[_0x5c4ab5(0x156)],_0x13d4c3[_0x5c4ab5(0x111)](_0x5c4ab5(0x136))['to'](_0x348870,_0x5c4ab5(0x135),_0x449572=>_0x19b9ed(_0x821ed4,_0x49479d[_0x5c4ab5(0x144)],_0x449572?_0x5c4ab5(0x149):_0x5c4ab5(0x123))[_0x5c4ab5(0x14a)]),_0x13d4c3[_0x5c4ab5(0x128)]=!0x0,_0x13d4c3;}[_0x16de8b(0x141)](_0x6901f2){const _0x8cd72c=_0x16de8b,{locale:_0x34a3fb}=this[_0x8cd72c(0x10b)],_0x680d4a=this[_0x8cd72c(0x10b)][_0x8cd72c(0x138)][_0x8cd72c(0x12a)](_0x8cd72c(0x131));return _0x6901f2[_0x8cd72c(0x14c)](_0x1e4660=>{const _0x100a03=_0x8cd72c,_0x18fc38=this[_0x100a03(0x10d)](_0x27c67b,_0x1e4660[_0x100a03(0x144)]);return _0x18fc38[_0x100a03(0x13f)]=!0x0,_0x18fc38[_0x100a03(0x156)]=_0x1e4660[_0x100a03(0x156)],_0x18fc38[_0x100a03(0x111)](_0x100a03(0x136))['to'](_0x680d4a,_0x100a03(0x135),_0x4e2b08=>_0x19b9ed(_0x34a3fb,_0x1e4660[_0x100a03(0x144)],_0x4e2b08?_0x100a03(0x149):_0x100a03(0x123))[_0x100a03(0x14a)]),_0x18fc38;});}[_0x16de8b(0x15b)](_0x30dfae){const _0x104541=_0x16de8b;return _0x30dfae[_0x104541(0x14c)](_0x5f48fe=>{const _0x462a35=_0x104541,_0x1ad97b=this[_0x462a35(0x10d)](_0x48ec22,_0x5f48fe[_0x462a35(0x144)]);return _0x1ad97b[_0x462a35(0x156)]=_0x5f48fe[_0x462a35(0x156)],_0x1ad97b[_0x462a35(0x136)]=_0x5f48fe[_0x462a35(0x12d)],_0x1ad97b;});}}
23
+ const _0x3e7b47=_0x43d4;function _0x43d4(_0x36c4e4,_0x31558f){const _0x44be1e=_0x44be();return _0x43d4=function(_0x43d487,_0x41aad0){_0x43d487=_0x43d487-0x104;let _0x4f39b9=_0x44be1e[_0x43d487];return _0x4f39b9;},_0x43d4(_0x36c4e4,_0x31558f);}function _0x44be(){const _0x59d31f=['Dropbox','expired','_licenseKeyCheckInterval','map','_createMenuBarButtons','trialLimit','UploadcareUI','Insert','ImageInsertUI','1525550gISwoD','init','Facebook','Uploadcare','afterInit','OneDrive','upload','push','featureNotAllowed','config','destroy','_showLicenseError','uploadcareLicenseKeyInvalid','editor','icon','56fjOyWX','isEnabled','get','uploadcareLicenseKeyNotAllowed','shortText','_createToolbarButton','_normalizeConfigSourceList','usageLimit','uploadcare','bind','uploadcareLicenseKeyExpired','_createDropdownButtons','uploadcareLicenseKeyTrialLimit','Local','licenseKey','withText','assetManager','entries','uploadcareLicenseKeyUsageLimit','forEach','isPremiumPlugin','registerIntegration','_getIntegrationKey','GPhotos','plugins','type','has','url','execute','isOfficialPlugin','_createButton','pluginName','tooltip','invalid','domainLimit','label','2565155ixXQlr','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyDomainLimit','text','829518xvjBJz','reduce','evaluationLimit','commands','6JcvodU','locale','245420KEYQmQ','184826fZATgH','uploadcare.uploader.sourceList','Replace','URL','uploadcareLicenseKeyValid','676228uCknzE','isImageSelected','21OYxvxt','4658598uioEiP','GDrive'];_0x44be=function(){return _0x59d31f;};return _0x44be();}(function(_0x2457f4,_0x181da1){const _0x58dc04=_0x43d4,_0x5bad15=_0x2457f4();while(!![]){try{const _0x425d39=-parseInt(_0x58dc04(0x106))/0x1*(parseInt(_0x58dc04(0x109))/0x2)+parseInt(_0x58dc04(0x110))/0x3*(parseInt(_0x58dc04(0x108))/0x4)+parseInt(_0x58dc04(0x14f))/0x5+parseInt(_0x58dc04(0x153))/0x6+parseInt(_0x58dc04(0x10e))/0x7*(-parseInt(_0x58dc04(0x12b))/0x8)+parseInt(_0x58dc04(0x111))/0x9+parseInt(_0x58dc04(0x11c))/0xa;if(_0x425d39===_0x181da1)break;else _0x5bad15['push'](_0x5bad15['shift']());}catch(_0x1c1260){_0x5bad15['push'](_0x5bad15['shift']());}}}(_0x44be,0x7f030));import{Plugin as _0x3a01c9}from'ckeditor5/src/core.js';import{IconDropbox as _0x12e4e6,IconFacebook as _0x58e856,IconGoogleDrive as _0x3cb7b6,IconGooglePhotos as _0x149761,IconUploadcareImageUpload as _0x44ef85,IconUploadcareLink as _0x561ef0,IconOneDrive as _0x5f1fae}from'ckeditor5/src/icons.js';import{ButtonView as _0x43a8c2,MenuBarMenuListItemButtonView as _0x249dcc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x125203}from'./uploadcareconfig.js';import{getTranslation as _0x4b3e52}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x3a01c9{[_0x3e7b47(0x139)];[_0x3e7b47(0x115)];static get[_0x3e7b47(0x14a)](){const _0x41d8fe=_0x3e7b47;return _0x41d8fe(0x119);}static get[_0x3e7b47(0x148)](){return!0x0;}static get[_0x3e7b47(0x13f)](){return!0x0;}[_0x3e7b47(0x11d)](){const _0x1197fb=_0x3e7b47;this[_0x1197fb(0x139)]=this[_0x1197fb(0x129)][_0x1197fb(0x125)][_0x1197fb(0x12d)](_0x1197fb(0x139));const _0x28476b=this[_0x1197fb(0x129)];this[_0x1197fb(0x115)]=setInterval(()=>{const _0x3e88bc=_0x1197fb;let _0x1e5aef;for(const _0x3c0d1c in _0x28476b){const _0x3492d0=_0x3c0d1c,_0x22dc1a=_0x28476b[_0x3492d0];if(_0x3e88bc(0x10d)==_0x22dc1a||_0x3e88bc(0x128)==_0x22dc1a||_0x3e88bc(0x135)==_0x22dc1a||_0x3e88bc(0x151)==_0x22dc1a||_0x3e88bc(0x12e)==_0x22dc1a||_0x3e88bc(0x150)==_0x22dc1a||_0x3e88bc(0x137)==_0x22dc1a||_0x3e88bc(0x13d)==_0x22dc1a){delete _0x28476b[_0x3492d0],_0x1e5aef=_0x22dc1a,clearInterval(this[_0x3e88bc(0x115)]),this[_0x3e88bc(0x115)]=void 0x0;break;}}_0x3e88bc(0x128)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x14c)),_0x3e88bc(0x135)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x114)),_0x3e88bc(0x151)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x14d)),_0x3e88bc(0x12e)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x124),_0x3e88bc(0x11f)),_0x3e88bc(0x150)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x104)),_0x3e88bc(0x137)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x118)),_0x3e88bc(0x13d)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x132));},0x3e8);}[_0x3e7b47(0x120)](){const _0x5c4caa=_0x3e7b47,{editor:_0x14b228}=this,_0x420b68=_0x14b228[_0x5c4caa(0x105)][_0x5c4caa(0x12d)](_0x5c4caa(0x133));if(!_0x420b68)return;const _0x488598=this[_0x5c4caa(0x131)](_0x14b228[_0x5c4caa(0x125)][_0x5c4caa(0x12d)](_0x5c4caa(0x10a)))[_0x5c4caa(0x154)]((_0x2042aa,_0x1ade89)=>{const _0x1ddf48=_0x5c4caa,_0x3c8170=this[_0x1ddf48(0x141)](_0x1ade89[_0x1ddf48(0x144)]);return _0x2042aa[_0x3c8170]||(_0x2042aa[_0x3c8170]=[]),_0x2042aa[_0x3c8170][_0x1ddf48(0x123)](_0x1ade89),_0x2042aa;},{});_0x14b228[_0x5c4caa(0x143)][_0x5c4caa(0x145)](_0x5c4caa(0x11b))&&_0x14b228[_0x5c4caa(0x105)][_0x5c4caa(0x12d)](_0x5c4caa(0x133))&&Object[_0x5c4caa(0x13c)](_0x488598)[_0x5c4caa(0x13e)](([_0x404f48,_0x268844])=>{const _0xb68912=_0x5c4caa;_0x14b228[_0xb68912(0x143)][_0xb68912(0x12d)](_0xb68912(0x11b))[_0xb68912(0x140)]({'name':_0x404f48,'observable':()=>_0x420b68,'buttonViewCreator':()=>this[_0xb68912(0x130)](_0x268844),'formViewCreator':()=>this[_0xb68912(0x136)](_0x268844),'menuBarButtonViewCreator':()=>this[_0xb68912(0x117)](_0x268844),'override':_0xb68912(0x13b)!==_0x404f48});});}[_0x3e7b47(0x126)](){const _0x2bfd4e=_0x3e7b47;super[_0x2bfd4e(0x126)](),this[_0x2bfd4e(0x115)]&&clearInterval(this[_0x2bfd4e(0x115)]);}[_0x3e7b47(0x131)](_0x25c3db){const _0xa158eb=_0x3e7b47,{locale:_0xfb47a8}=this[_0xa158eb(0x129)];return _0x25c3db[_0xa158eb(0x116)](_0x6e120b=>{const _0x242773=_0xa158eb,_0x4ca4e4=_0x4b3e52(_0xfb47a8,_0x6e120b,_0x242773(0x11a));switch(_0x6e120b){case _0x125203[_0x242773(0x138)]:return{'icon':_0x44ef85,'type':_0x125203[_0x242773(0x138)],..._0x4ca4e4};case _0x125203[_0x242773(0x10c)]:return{'icon':_0x561ef0,'type':_0x125203[_0x242773(0x10c)],..._0x4ca4e4};case _0x125203[_0x242773(0x113)]:return{'icon':_0x12e4e6,'type':_0x125203[_0x242773(0x113)],..._0x4ca4e4};case _0x125203[_0x242773(0x11e)]:return{'icon':_0x58e856,'type':_0x125203[_0x242773(0x11e)],..._0x4ca4e4};case _0x125203[_0x242773(0x112)]:return{'icon':_0x3cb7b6,'type':_0x125203[_0x242773(0x112)],..._0x4ca4e4};case _0x125203[_0x242773(0x142)]:return{'icon':_0x149761,'type':_0x125203[_0x242773(0x142)],..._0x4ca4e4};case _0x125203[_0x242773(0x121)]:return{'icon':_0x5f1fae,'type':_0x125203[_0x242773(0x121)],..._0x4ca4e4};}});}[_0x3e7b47(0x141)](_0x9a5450){const _0x16ce14=_0x3e7b47;switch(_0x9a5450){case _0x125203[_0x16ce14(0x138)]:return _0x16ce14(0x122);case _0x125203[_0x16ce14(0x10c)]:return _0x16ce14(0x146);default:return _0x16ce14(0x13b);}}[_0x3e7b47(0x149)](_0x307535,_0x13bebd){const _0x355196=_0x3e7b47,_0x548f10=this[_0x355196(0x129)],_0x2d0b0d=new _0x307535(_0x548f10[_0x355196(0x107)]),_0x15b712=_0x548f10[_0x355196(0x105)][_0x355196(0x12d)](_0x355196(0x133));return _0x2d0b0d[_0x355196(0x134)](_0x355196(0x12c))['to'](_0x15b712),_0x2d0b0d['on'](_0x355196(0x147),()=>{const _0x31b233=_0x355196;_0x15b712[_0x31b233(0x147)](_0x13bebd);}),_0x2d0b0d;}[_0x3e7b47(0x130)](_0x1df176){const _0x4ed254=_0x3e7b47,{locale:_0x43c324}=this[_0x4ed254(0x129)],_0x8718a7=this[_0x4ed254(0x129)][_0x4ed254(0x143)][_0x4ed254(0x12d)](_0x4ed254(0x11b)),_0x45876d=_0x1df176[0x0],_0x2ae31b=this[_0x4ed254(0x149)](_0x43a8c2,_0x45876d[_0x4ed254(0x144)]);return _0x2ae31b[_0x4ed254(0x12a)]=_0x45876d[_0x4ed254(0x12a)],_0x2ae31b[_0x4ed254(0x134)](_0x4ed254(0x14e))['to'](_0x8718a7,_0x4ed254(0x10f),_0x4a842b=>_0x4b3e52(_0x43c324,_0x45876d[_0x4ed254(0x144)],_0x4a842b?_0x4ed254(0x10b):_0x4ed254(0x11a))[_0x4ed254(0x152)]),_0x2ae31b[_0x4ed254(0x14b)]=!0x0,_0x2ae31b;}[_0x3e7b47(0x136)](_0x1bef17){const _0x4dc1f7=_0x3e7b47,{locale:_0x27abc6}=this[_0x4dc1f7(0x129)],_0x5eb6dd=this[_0x4dc1f7(0x129)][_0x4dc1f7(0x143)][_0x4dc1f7(0x12d)](_0x4dc1f7(0x11b));return _0x1bef17[_0x4dc1f7(0x116)](_0x14c373=>{const _0x6368ad=_0x4dc1f7,_0x37e9b9=this[_0x6368ad(0x149)](_0x43a8c2,_0x14c373[_0x6368ad(0x144)]);return _0x37e9b9[_0x6368ad(0x13a)]=!0x0,_0x37e9b9[_0x6368ad(0x12a)]=_0x14c373[_0x6368ad(0x12a)],_0x37e9b9[_0x6368ad(0x134)](_0x6368ad(0x14e))['to'](_0x5eb6dd,_0x6368ad(0x10f),_0x1426e7=>_0x4b3e52(_0x27abc6,_0x14c373[_0x6368ad(0x144)],_0x1426e7?_0x6368ad(0x10b):_0x6368ad(0x11a))[_0x6368ad(0x152)]),_0x37e9b9;});}[_0x3e7b47(0x117)](_0xb9a3c9){const _0x398a8a=_0x3e7b47;return _0xb9a3c9[_0x398a8a(0x116)](_0x542e77=>{const _0x196ce9=_0x398a8a,_0x1df3c0=this[_0x196ce9(0x149)](_0x249dcc,_0x542e77[_0x196ce9(0x144)]);return _0x1df3c0[_0x196ce9(0x12a)]=_0x542e77[_0x196ce9(0x12a)],_0x1df3c0[_0x196ce9(0x14e)]=_0x542e77[_0x196ce9(0x12f)],_0x1df3c0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x9d102c}from'ckeditor5/src/core.js';import{FileRepository as _0x25e3d0}from'ckeditor5/src/upload.js';import _0x54e8fa from'./uploadcareediting.js';import _0x4d9ed6 from'./utils/uploadutils.js';import{getImageUrls as _0xd1a235}from'./utils/editingutils.js';export default class p extends _0x9d102c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x25e3d0,_0x54e8fa];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4925f0=this['editor'];if(!!!_0x4925f0['config']['get']('uploadcare'))return;_0x4925f0['plugins']['get'](_0x25e3d0)['createUploadAdapter']=_0x46638c=>new x(_0x46638c,_0x4925f0),_0x4925f0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1529f4,{imageElement:_0x1c4e03,data:_0x3587a3})=>{_0x4925f0['model']['change'](_0x3f7902=>{_0x3f7902['setAttribute']('uploadcareImageId',_0x3587a3['uploadcareImageId'],_0x1c4e03);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x290588,_0x1ab02e){this['loader']=_0x290588,this['editor']=_0x1ab02e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3fe9b7=this['editor']['config']['get']('uploadcare.pubkey'),_0x2d4f58=await this['loader']['file'];return _0x4d9ed6['upload']({'file':_0x2d4f58,'publicKey':_0x3fe9b7,'signal':this['controller']['signal'],'onProgress':_0x35442c=>{_0x35442c&&_0x35442c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x35442c['value']);}})['then'](async _0x45e3b9=>{const {imageFallbackUrl:_0xf8888c,imageSources:_0xc1cdce}=_0xd1a235(_0x45e3b9['cdnUrl'],_0x45e3b9['imageInfo']['width']);return{'uploadcareImageId':_0x45e3b9['uuid'],'default':_0xf8888c,'sources':_0xc1cdce};})['catch'](()=>{const _0x178be0=t('Cannot\x20upload\x20file:')+('\x20'+_0x2d4f58['name']+'.');return Promise['reject'](_0x178be0);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x20a41c}from'ckeditor5/src/core.js';import{FileRepository as _0x3d6b27}from'ckeditor5/src/upload.js';import _0x2f28f1 from'./uploadcareediting.js';import _0x33ea45 from'./utils/uploadutils.js';import{getImageUrls as _0x396bbb}from'./utils/editingutils.js';export default class p extends _0x20a41c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3d6b27,_0x2f28f1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x43ec63=this['editor'];if(!!!_0x43ec63['config']['get']('uploadcare'))return;_0x43ec63['plugins']['get'](_0x3d6b27)['createUploadAdapter']=_0x4f6058=>new x(_0x4f6058,_0x43ec63),_0x43ec63['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35e880,{imageElement:_0x245540,data:_0x4eadd7})=>{_0x43ec63['model']['change'](_0x825474=>{_0x825474['setAttribute']('uploadcareImageId',_0x4eadd7['uploadcareImageId'],_0x245540);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x16c5a6,_0x23e111){this['loader']=_0x16c5a6,this['editor']=_0x23e111,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4f1c14=this['editor']['config']['get']('uploadcare.pubkey'),_0x74ed54=await this['loader']['file'];return _0x33ea45['upload']({'file':_0x74ed54,'publicKey':_0x4f1c14,'signal':this['controller']['signal'],'onProgress':_0xb71c8a=>{_0xb71c8a&&_0xb71c8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xb71c8a['value']);}})['then'](async _0x6057e0=>{const {imageFallbackUrl:_0xcee24,imageSources:_0x31fd8b}=_0x396bbb(_0x6057e0['cdnUrl'],_0x6057e0['imageInfo']['width']);return{'uploadcareImageId':_0x6057e0['uuid'],'default':_0xcee24,'sources':_0x31fd8b};})['catch'](()=>{const _0x52b0d4=t('Cannot\x20upload\x20file:')+('\x20'+_0x74ed54['name']+'.');return Promise['reject'](_0x52b0d4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x569849}from'../uploadcareconfig.js';export function getTranslation(_0x4e3b0a,_0x1eb13f,_0x4dd633){const t=_0x4e3b0a['t'],_0x2180a1=_0x4e3b0a['t'];switch(_0x1eb13f){case _0x569849['Local']:return{'text':_0x2180a1('Insert'===_0x4dd633?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2180a1('From\x20computer')};case _0x569849['URL']:return{'text':'Insert'===_0x4dd633?_0x2180a1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2180a1('Via\x20URL')};case _0x569849['Dropbox']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x569849['Facebook']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x569849['GDrive']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x569849['GPhotos']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x569849['OneDrive']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1eb13f;}}
23
+ import{UploadcareSource as _0x54dc7c}from'../uploadcareconfig.js';export function getTranslation(_0x4a3920,_0x185f46,_0x1772b3){const t=_0x4a3920['t'],_0xc23d22=_0x4a3920['t'];switch(_0x185f46){case _0x54dc7c['Local']:return{'text':_0xc23d22('Insert'===_0x1772b3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc23d22('From\x20computer')};case _0x54dc7c['URL']:return{'text':'Insert'===_0x1772b3?_0xc23d22('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc23d22('Via\x20URL')};case _0x54dc7c['Dropbox']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x54dc7c['Facebook']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x54dc7c['GDrive']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x54dc7c['GPhotos']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x54dc7c['OneDrive']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x185f46;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x591d6f=_0x5c2b;function _0x5c2b(_0x30044f,_0x2437d3){var _0x496425=_0x4964();return _0x5c2b=function(_0x5c2b03,_0x37d92d){_0x5c2b03=_0x5c2b03-0x166;var _0x4f369e=_0x496425[_0x5c2b03];return _0x4f369e;},_0x5c2b(_0x30044f,_0x2437d3);}(function(_0x29a15e,_0x10ffca){var _0x4e2d05=_0x5c2b,_0x41964e=_0x29a15e();while(!![]){try{var _0x9d2c69=parseInt(_0x4e2d05(0x169))/0x1+-parseInt(_0x4e2d05(0x168))/0x2+-parseInt(_0x4e2d05(0x171))/0x3+-parseInt(_0x4e2d05(0x166))/0x4+-parseInt(_0x4e2d05(0x172))/0x5+-parseInt(_0x4e2d05(0x16d))/0x6+parseInt(_0x4e2d05(0x174))/0x7;if(_0x9d2c69===_0x10ffca)break;else _0x41964e['push'](_0x41964e['shift']());}catch(_0x265018){_0x41964e['push'](_0x41964e['shift']());}}}(_0x4964,0x76133));import{FocusTracker as _0x22ba17}from'ckeditor5/src/utils.js';import{View as _0x56bff7,FocusCycler as _0x3b68e5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x4964(){var _0x53d995=['22765057gTLypa','focusCycler','3865088DPSLmf','createCollection','1919790pFLcTM','46545zdAyvO','forwardCycle','getFocusableElement','bindTemplate','1553484YtCDql','div','fire','focusTracker','573819AsINsa','2193535UqLcXa','true'];_0x4964=function(){return _0x53d995;};return _0x4964();}export default class q extends _0x56bff7{[_0x591d6f(0x170)];[_0x591d6f(0x175)];constructor(_0x535fd9){var _0x2bc914=_0x591d6f;super(_0x535fd9),this[_0x2bc914(0x170)]=new _0x22ba17(),this[_0x2bc914(0x175)]=new _0x3b68e5({'focusables':this[_0x2bc914(0x167)](),'focusTracker':this[_0x2bc914(0x170)]});}[_0x591d6f(0x16b)](){var _0x150f73=_0x591d6f;return{'tag':_0x150f73(0x16e),'attributes':{'aria-hidden':_0x150f73(0x173),'tabindex':'0'},'on':{'focus':this[_0x150f73(0x16c)]['to'](()=>{var _0x597422=_0x150f73;this[_0x597422(0x175)][_0x597422(0x16f)](_0x597422(0x16a));})}};}}
23
+ var _0xbe7375=_0x5811;function _0x5811(_0x3cfb59,_0x59d165){var _0x567ce8=_0x567c();return _0x5811=function(_0x58110a,_0x16af4c){_0x58110a=_0x58110a-0x1f2;var _0x47a6a7=_0x567ce8[_0x58110a];return _0x47a6a7;},_0x5811(_0x3cfb59,_0x59d165);}(function(_0x653496,_0x32227b){var _0x4094f9=_0x5811,_0x39c24f=_0x653496();while(!![]){try{var _0x41cfaf=parseInt(_0x4094f9(0x1f2))/0x1+parseInt(_0x4094f9(0x1ff))/0x2*(parseInt(_0x4094f9(0x1fb))/0x3)+parseInt(_0x4094f9(0x1fd))/0x4+parseInt(_0x4094f9(0x1f3))/0x5+parseInt(_0x4094f9(0x200))/0x6*(-parseInt(_0x4094f9(0x203))/0x7)+parseInt(_0x4094f9(0x1f7))/0x8+-parseInt(_0x4094f9(0x1f9))/0x9;if(_0x41cfaf===_0x32227b)break;else _0x39c24f['push'](_0x39c24f['shift']());}catch(_0x4b1809){_0x39c24f['push'](_0x39c24f['shift']());}}}(_0x567c,0xdc7a2));import{FocusTracker as _0x51866}from'ckeditor5/src/utils.js';function _0x567c(){var _0x3ce5c1=['createCollection','5087934rVmhlf','focusCycler','129891YdHedW','fire','4215180nPsdOC','forwardCycle','12lVlQSP','2048712IznqYC','div','focusTracker','28uQflEr','323091hygEbV','2202380RCTkzp','getFocusableElement','true','bindTemplate','6056512ffKJlh'];_0x567c=function(){return _0x3ce5c1;};return _0x567c();}import{View as _0x9c1812,FocusCycler as _0xa49536}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x9c1812{[_0xbe7375(0x202)];[_0xbe7375(0x1fa)];constructor(_0x465c2c){var _0x428277=_0xbe7375;super(_0x465c2c),this[_0x428277(0x202)]=new _0x51866(),this[_0x428277(0x1fa)]=new _0xa49536({'focusables':this[_0x428277(0x1f8)](),'focusTracker':this[_0x428277(0x202)]});}[_0xbe7375(0x1f4)](){var _0x3e2161=_0xbe7375;return{'tag':_0x3e2161(0x201),'attributes':{'aria-hidden':_0x3e2161(0x1f5),'tabindex':'0'},'on':{'focus':this[_0x3e2161(0x1f6)]['to'](()=>{var _0x51a011=_0x3e2161;this[_0x51a011(0x1fa)][_0x51a011(0x1fc)](_0x51a011(0x1fe));})}};}}