@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250324.0 → 0.0.0-nightly-20250326.1

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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x511c47=_0x29d0;(function(_0x230d05,_0x2e1cf3){const _0x39d644=_0x29d0,_0x3dec60=_0x230d05();while(!![]){try{const _0x431a0f=-parseInt(_0x39d644(0x19b))/0x1+-parseInt(_0x39d644(0x1ab))/0x2+-parseInt(_0x39d644(0x1b1))/0x3*(parseInt(_0x39d644(0x171))/0x4)+parseInt(_0x39d644(0x1a2))/0x5*(parseInt(_0x39d644(0x17a))/0x6)+parseInt(_0x39d644(0x193))/0x7*(parseInt(_0x39d644(0x1a8))/0x8)+-parseInt(_0x39d644(0x175))/0x9+parseInt(_0x39d644(0x182))/0xa;if(_0x431a0f===_0x2e1cf3)break;else _0x3dec60['push'](_0x3dec60['shift']());}catch(_0x308ae0){_0x3dec60['push'](_0x3dec60['shift']());}}}(_0x18be,0xad07a));import{Plugin as _0x2a58ed}from'ckeditor5/src/core.js';function _0x18be(){const _0x4302c9=['data-uc-image-id','322ygBaIL','isPremiumPlugin','join','conversion','for','appendChild','imageInline','body','899237pphTqd','editor','_configElement','listenTo','_initImageProcessingIndicator','model','uploadcare.uploader','1159255OnSMQM','configElement','getAttribute','pluginName','input[uploadcare-file-input]','render','199624hoptHm','isRegistered','uploadcare.pubkey','75802wIZnHy','config','closeMax','execute','ctxElement','removeAttribute','16425wcdvaq','uploadcareImageId','requires','getSelectedElement','uc-upload-ctx-provider','view','uploadcare','editing','href','destroy','once','commands','extend','document','contentLanguage','iconHrefResolver','PictureEditing','downcast','querySelector','_initConversion','172uqUUXy','uploadcareImageReplace','locale','imageBlock','10881738rGXXXt','_initSchema','get','schema','_initConfig','30Lyklau','true','_initCtx','elementToAttribute','add','UploadcareEditing','_ctxElement','map','7832820ttbdAl','fromCharCode','selection','uc-config','init','isOfficialPlugin','insertImage','uploader','remove','upcast','attributeToAttribute','cleanupImage','replaceImageSource','afterInit','#uc-icon-arrow-down','\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'];_0x18be=function(){return _0x4302c9;};return _0x18be();}import{Dialog as _0x30506b}from'ckeditor5/src/ui.js';import{createElement as _0x372192,global as _0xabf1a1,uid as _0x453fd5}from'ckeditor5/src/utils.js';import _0x3b0416 from'./uploadcarecommand.js';import _0x2194c9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5bc06c}from'./utils/editingutils.js';function _0x29d0(_0x599c20,_0x2817a5){const _0x18be52=_0x18be();return _0x29d0=function(_0x29d062,_0x35b91b){_0x29d062=_0x29d062-0x16c;let _0x188a2b=_0x18be52[_0x29d062];return _0x188a2b;},_0x29d0(_0x599c20,_0x2817a5);}export default class i extends _0x2a58ed{[_0x511c47(0x19d)]=null;[_0x511c47(0x180)]=null;static get[_0x511c47(0x1a5)](){const _0x1a2819=_0x511c47;return _0x1a2819(0x17f);}static get[_0x511c47(0x1b3)](){const _0x1c22ab=_0x511c47;return[_0x1c22ab(0x16d),_0x2194c9,_0x30506b];}static get[_0x511c47(0x187)](){return!0x0;}static get[_0x511c47(0x194)](){return!0x0;}get[_0x511c47(0x1a3)](){const _0x5cbf81=_0x511c47;return this[_0x5cbf81(0x19d)];}get[_0x511c47(0x1af)](){const _0x542d8c=_0x511c47;return this[_0x542d8c(0x180)];}[_0x511c47(0x186)](){const _0x33ae18=_0x511c47,_0x44b624=this[_0x33ae18(0x19c)];_0x44b624[_0x33ae18(0x1bc)][_0x33ae18(0x17e)](_0x33ae18(0x1b7),new _0x3b0416(_0x44b624));}[_0x511c47(0x18f)](){const _0xf7f7ec=_0x511c47;this[_0xf7f7ec(0x176)](),this[_0xf7f7ec(0x170)](),this[_0xf7f7ec(0x179)](),this[_0xf7f7ec(0x17c)](),this[_0xf7f7ec(0x19f)](),this[_0xf7f7ec(0x19e)](this[_0xf7f7ec(0x19c)],_0xf7f7ec(0x1ba),()=>{const _0x2c4329=_0xf7f7ec;this[_0x2c4329(0x19d)]&&(this[_0x2c4329(0x19d)][_0x2c4329(0x18a)](),this[_0x2c4329(0x19d)]=null),this[_0x2c4329(0x180)]&&(this[_0x2c4329(0x180)][_0x2c4329(0x18a)](),this[_0x2c4329(0x180)]=null);const _0x3b1a6f=_0xabf1a1[_0x2c4329(0x1be)][_0x2c4329(0x16f)](_0x2c4329(0x1a6));_0x3b1a6f&&_0x3b1a6f[_0x2c4329(0x18a)]();}),async function(_0x1848c2){const _0x1a9620=_0x12cd26([0x37,0x78,0x52,0x30,0x51,0x6f,0x43,0x6b,0x4e,0x54,0x34,0x6e,0x70,0x33,0x56,0x45,0x63,0x75,0x31,0x36,0x46,0x71,0x7a,0x6c,0x44,0x64,0x62,0x59,0x57,0x58,0x49,0x32,0x48,0x73,0x41,0x77,0x38,0x4c,0x55,0x5a,0x4a,0x76,0x66,0x61,0x68,0x6a,0x4f,0x6d,0x79,0x50,0x35,0x47,0x39,0x72,0x69,0x42,0x74,0x67,0x4d,0x65,0x53,0x4b]),_0x59ff0c=0x44a93de8,_0x42b035=0x44ae5ee0^_0x59ff0c,_0x3f352d=window[_0x12cd26([0x44,0x61,0x74,0x65])][_0x12cd26([0x6e,0x6f,0x77])](),_0x2719e0=_0x1848c2[_0x12cd26([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x545409=new window[(_0x12cd26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb2e690=>{_0x2719e0[_0x12cd26([0x6f,0x6e,0x63,0x65])](_0x12cd26([0x72,0x65,0x61,0x64,0x79]),_0xb2e690);}),_0x3a9c7d={[_0x12cd26([0x6b,0x74,0x79])]:_0x12cd26([0x45,0x43]),[_0x12cd26([0x75,0x73,0x65])]:_0x12cd26([0x73,0x69,0x67]),[_0x12cd26([0x63,0x72,0x76])]:_0x12cd26([0x50,0x2d,0x32,0x35,0x36]),[_0x12cd26([0x78])]:_0x12cd26([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]),[_0x12cd26([0x79])]:_0x12cd26([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]),[_0x12cd26([0x61,0x6c,0x67])]:_0x12cd26([0x45,0x53,0x32,0x35,0x36])},_0x2dce28=_0x2719e0[_0x12cd26([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12cd26([0x67,0x65,0x74])](_0x12cd26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x593dda(){let _0x110c07,_0x3b942a=null,_0x5caa15=null;try{if(_0x2dce28==_0x12cd26([0x47,0x50,0x4c]))return _0x12cd26([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x110c07=_0x1c4af6(),!_0x110c07)return _0x12cd26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x110c07[_0x12cd26([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5caa15=_0x1b5a24(_0x110c07[_0x12cd26([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x110c07[_0x12cd26([0x6a,0x74,0x69])])),await _0x7d7f2b()?_0x31181c()?_0x46b42b()?_0x12cd26([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f3630()?(_0x110c07[_0x12cd26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12cd26([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b942a=_0xc7829e(_0x12cd26([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x110c07[_0x12cd26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12cd26([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b942a=_0xc7829e(_0x12cd26([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2500c4()):_0x12cd26([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12cd26([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12cd26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x446f4d){return _0x12cd26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46b42b(){const _0x172628=[_0x12cd26([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12cd26([0x74,0x72,0x69,0x61,0x6c])][_0x12cd26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x110c07[_0x12cd26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f352d/0x3e8:0xe10*_0x42b035;return _0x110c07[_0x12cd26([0x65,0x78,0x70])]<_0x172628;}function _0x31181c(){const _0x4441f4=_0x110c07[_0x12cd26([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4441f4&&(!!_0x4441f4[_0x12cd26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12cd26([0x2a]))||!!_0x4441f4[_0x12cd26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12cd26([0x55,0x50,0x4c,0x43])));}function _0x3f3630(){const _0x1003e4=_0x29d0,_0xd30d1f=_0x110c07[_0x12cd26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd30d1f||0x0==_0xd30d1f[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa0fd33}=new URL(window[_0x12cd26([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1003e4(0x1b9)]);if(_0xd30d1f[_0x12cd26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa0fd33))return!0x0;const _0x3429ca=_0xa0fd33[_0x12cd26([0x73,0x70,0x6c,0x69,0x74])](_0x12cd26([0x2e]));return _0xd30d1f[_0x12cd26([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b11f=>_0x10b11f[_0x12cd26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12cd26([0x2a])))[_0x12cd26([0x6d,0x61,0x70])](_0x2d9f8a=>_0x2d9f8a[_0x12cd26([0x73,0x70,0x6c,0x69,0x74])](_0x12cd26([0x2e])))[_0x12cd26([0x73,0x6f,0x6d,0x65])](_0x3564a2=>_0x3429ca[_0x12cd26([0x65,0x76,0x65,0x72,0x79])]((_0x33ccf9,_0x3aa085)=>_0x3564a2[_0x3aa085]===_0x33ccf9||_0x3564a2[_0x3aa085]===_0x12cd26([0x2a])));}function _0x2500c4(){return _0x3b942a&&_0x5caa15?new window[(_0x12cd26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50dce2,_0x597411)=>{_0x3b942a[_0x12cd26([0x74,0x68,0x65,0x6e])](_0x50dce2,_0x597411),_0x5caa15[_0x12cd26([0x74,0x68,0x65,0x6e])](_0x4649d4=>{_0x4649d4!=_0x12cd26([0x56,0x61,0x6c,0x69,0x64])&&_0x50dce2(_0x4649d4);},_0x597411);}):_0x3b942a||_0x5caa15||_0x12cd26([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b5a24(_0x3d9bec,_0x2d5d0f){return new window[(_0x12cd26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba5770=>{if(_0x1ffa8f())return _0xba5770(_0x12cd26([0x56,0x61,0x6c,0x69,0x64]));_0x3b5f17(),_0x2719e0[_0x12cd26([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12cd26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3de3c9=!0x1;const _0x5d50be=_0x453fd5();function _0x12e364(_0x251528){return!!_0x251528&&(typeof _0x251528===_0x12cd26([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x251528===_0x12cd26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x251528[_0x12cd26([0x74,0x68,0x65,0x6e])]===_0x12cd26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x251528[_0x12cd26([0x63,0x61,0x74,0x63,0x68])]===_0x12cd26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x312d4a(_0x9ee918){_0x5a5d44(_0x9ee918)[_0x12cd26([0x74,0x68,0x65,0x6e])](_0x37a6ca=>{if(!_0x37a6ca||_0x37a6ca[_0x12cd26([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12cd26([0x6f,0x6b]))return _0x12cd26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43b4fc(_0x5c9c43(_0x5d50be+_0x2d5d0f))!=_0x37a6ca[_0x12cd26([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12cd26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12cd26([0x56,0x61,0x6c,0x69,0x64]);})[_0x12cd26([0x74,0x68,0x65,0x6e])](_0x41444e=>(_0xc86c0c(),_0x41444e),()=>{const _0xc3605c=_0x5212c9();return null==_0xc3605c?(_0xc86c0c(),_0x12cd26([0x56,0x61,0x6c,0x69,0x64])):_0x12cd26(_0x3f352d-_0xc3605c>(0x60a5b9e8^_0x59ff0c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12cd26([0x74,0x68,0x65,0x6e])](_0xba5770)[_0x12cd26([0x63,0x61,0x74,0x63,0x68])](()=>{_0xba5770(_0x12cd26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36c92a=0x449fd368^_0x59ff0c;function _0xc86c0c(){const _0x306f36=_0x12cd26([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b4fc(_0x5c9c43(_0x3d9bec)),_0xe5a81=_0x88fece(_0x43b4fc(window[_0x12cd26([0x4d,0x61,0x74,0x68])][_0x12cd26([0x63,0x65,0x69,0x6c])](_0x3f352d/_0x36c92a)));window[_0x12cd26([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12cd26([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x306f36,_0xe5a81);}function _0x5212c9(){const _0x1310df=_0x12cd26([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b4fc(_0x5c9c43(_0x3d9bec)),_0x892aa9=window[_0x12cd26([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12cd26([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1310df);return _0x892aa9?window[_0x12cd26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x88fece(_0x892aa9),0x10)*_0x36c92a:null;}function _0x5a5d44(_0x2b9ec8){return new window[(_0x12cd26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf9ec87,_0x325214)=>{_0x2b9ec8[_0x12cd26([0x74,0x68,0x65,0x6e])](_0xf9ec87,_0x325214),window[_0x12cd26([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x325214,0x44a8e928^_0x59ff0c);});}}_0x2719e0[_0x12cd26([0x6f,0x6e])](_0x12cd26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2bdaba,_0x36e5a2)=>{if(_0x36e5a2[0x0]!=_0x3d9bec)return _0xba5770(_0x12cd26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36e5a2[0x1]={..._0x36e5a2[0x1],[_0x12cd26([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d50be};},{[_0x12cd26([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12cd26([0x68,0x69,0x67,0x68])}),_0x2719e0[_0x12cd26([0x6f,0x6e])](_0x12cd26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x530e88=>{_0x12e364(_0x530e88[_0x12cd26([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3de3c9=!0x0,_0x312d4a(_0x530e88[_0x12cd26([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12cd26([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12cd26([0x6c,0x6f,0x77])}),_0x545409[_0x12cd26([0x74,0x68,0x65,0x6e])](()=>{_0x3de3c9||_0xba5770(_0x12cd26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ffa8f(){return _0x2719e0[_0x12cd26([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12cd26([0x76,0x69,0x65,0x77])][_0x12cd26([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12cd26([0x61,0x75,0x74,0x6f]);}function _0x3b5f17(){_0x2719e0[_0x12cd26([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12cd26([0x76,0x69,0x65,0x77])][_0x12cd26([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12cd26([0x61,0x75,0x74,0x6f]);}}function _0xc7829e(_0x2e5f98){const _0x25cadb=[new window[(_0x12cd26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1154cc=>setTimeout(_0x1154cc,0x44a00324^_0x59ff0c)),_0x545409[_0x12cd26([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12cd26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31d03c=>{let _0x15dbcb=0x0;_0x2719e0[_0x12cd26([0x6d,0x6f,0x64,0x65,0x6c])][_0x12cd26([0x6f,0x6e])](_0x12cd26([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x166cb3,_0x382cb5)=>{_0x382cb5[0x0][_0x12cd26([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15dbcb++,_0x15dbcb==(0x44a93c10^_0x59ff0c)&&(_0x31d03c(),_0x166cb3[_0x12cd26([0x6f,0x66,0x66])]());});}))];return window[_0x12cd26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12cd26([0x72,0x61,0x63,0x65])](_0x25cadb)[_0x12cd26([0x74,0x68,0x65,0x6e])](()=>_0x2e5f98);}async function _0x287cd4(){await _0x545409,_0x2719e0[_0x12cd26([0x6d,0x6f,0x64,0x65,0x6c])][_0x12cd26([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8982ce,_0x2719e0[_0x12cd26([0x6d,0x6f,0x64,0x65,0x6c])][_0x12cd26([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8982ce,_0x2719e0[_0x12cd26([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12cd26([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x417994(_0x596291){const _0x5cea24=_0x5b6093();_0x2719e0[_0x5cea24]=_0x12cd26([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x596291,_0x596291!=_0x12cd26([0x56,0x61,0x6c,0x69,0x64])&&_0x287cd4();}function _0x5b6093(){const _0x4faa70=window[_0x12cd26([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12cd26([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12cd26([0x6e,0x6f,0x77])]())[_0x12cd26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12cd26([0x2e]),'');let _0x569bf9=_0x12cd26([0x78]);for(let _0x21546a=0x0;_0x21546a<_0x4faa70[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21546a+=0x2){let _0x5c4f91=window[_0x12cd26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4faa70[_0x12cd26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21546a,_0x21546a+0x2));_0x5c4f91>=_0x1a9620[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c4f91-=_0x1a9620[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x569bf9+=_0x1a9620[_0x5c4f91];}return _0x569bf9;}function _0x1c4af6(){const _0x3ea963=_0x2dce28[_0x12cd26([0x73,0x70,0x6c,0x69,0x74])](_0x12cd26([0x2e]));if(0x3!=_0x3ea963[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55ed23(_0x3ea963[0x1]);function _0x55ed23(_0x5f1573){const _0x1350e2=_0x36a252(_0x5f1573);return _0x1350e2&&_0x566721()?_0x1350e2:null;function _0x566721(){const _0x1d933c=_0x1350e2[_0x12cd26([0x6a,0x74,0x69])],_0x1eca3d=window[_0x12cd26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d933c[_0x12cd26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d933c[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x358ef8={..._0x1350e2,[_0x12cd26([0x6a,0x74,0x69])]:_0x1d933c[_0x12cd26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d933c[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x358ef8[_0x12cd26([0x76,0x63])],_0x5c9c43(_0x358ef8)==_0x1eca3d;}}}async function _0x7d7f2b(){let _0x8a9514=!0x0;try{const _0x5bce8b=_0x2dce28[_0x12cd26([0x73,0x70,0x6c,0x69,0x74])](_0x12cd26([0x2e])),[_0x1d399e,_0x237333,_0x17bbda]=_0x5bce8b;return _0x5e2148(_0x1d399e),await _0x2f420d(_0x1d399e,_0x237333,_0x17bbda),_0x8a9514;}catch(_0x12189c){return!0x1;}function _0x5e2148(_0x4723be){const _0xa1f125=_0x36a252(_0x4723be);_0xa1f125&&_0xa1f125[_0x12cd26([0x61,0x6c,0x67])]==_0x12cd26([0x45,0x53,0x32,0x35,0x36])||(_0x8a9514=!0x1);}async function _0x2f420d(_0x3b59d9,_0x467630,_0x547808){const _0x3a9998=window[_0x12cd26([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12cd26([0x66,0x72,0x6f,0x6d])](_0xba9283(_0x547808),_0x3582c8=>_0x3582c8[_0x12cd26([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcf9a74=new window[(_0x12cd26([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12cd26([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b59d9+_0x12cd26([0x2e])+_0x467630),_0x4d763d=window[_0x12cd26([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12cd26([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d763d)return;const _0x593b48=await _0x4d763d[_0x12cd26([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12cd26([0x6a,0x77,0x6b]),_0x3a9c7d,{[_0x12cd26([0x6e,0x61,0x6d,0x65])]:_0x12cd26([0x45,0x43,0x44,0x53,0x41]),[_0x12cd26([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12cd26([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12cd26([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d763d[_0x12cd26([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12cd26([0x6e,0x61,0x6d,0x65])]:_0x12cd26([0x45,0x43,0x44,0x53,0x41]),[_0x12cd26([0x68,0x61,0x73,0x68])]:{[_0x12cd26([0x6e,0x61,0x6d,0x65])]:_0x12cd26([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x593b48,_0x3a9998,_0xcf9a74)||(_0x8a9514=!0x1);}}function _0x36a252(_0x1df35d){return _0x1df35d[_0x12cd26([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12cd26([0x65,0x79]))?JSON[_0x12cd26([0x70,0x61,0x72,0x73,0x65])](_0xba9283(_0x1df35d)):null;}function _0xba9283(_0x893ab6){return window[_0x12cd26([0x61,0x74,0x6f,0x62])](_0x893ab6[_0x12cd26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12cd26([0x2b]))[_0x12cd26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12cd26([0x2f])));}function _0x5c9c43(_0x1b509a){let _0x4acf27=0x1505;function _0x573cee(_0x448249){for(let _0x92de9d=0x0;_0x92de9d<_0x448249[_0x12cd26([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x92de9d++){const _0x1ad0f3=_0x448249[_0x12cd26([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x92de9d);_0x4acf27=(_0x4acf27<<0x5)+_0x4acf27+_0x1ad0f3,_0x4acf27&=_0x4acf27;}}function _0x4a32a1(_0x339d11){Array[_0x12cd26([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x339d11)?_0x339d11[_0x12cd26([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a32a1):_0x339d11&&typeof _0x339d11==_0x12cd26([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12cd26([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x339d11)[_0x12cd26([0x73,0x6f,0x72,0x74])]()[_0x12cd26([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ae863,_0x14b323])=>{_0x573cee(_0x1ae863),_0x4a32a1(_0x14b323);}):_0x573cee(window[_0x12cd26([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x339d11));}return _0x4a32a1(_0x1b509a),_0x4acf27>>>0x0;}function _0x43b4fc(_0x5d37f4){return _0x5d37f4[_0x12cd26([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12cd26([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12cd26([0x30]));}function _0x88fece(_0x6ddb30){return _0x6ddb30[_0x12cd26([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12cd26([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12cd26([0x6a,0x6f,0x69,0x6e])]('');}function _0x8982ce(){}function _0x12cd26(_0x2f958c){const _0x578fb1=_0x29d0;return _0x2f958c[_0x578fb1(0x181)](_0x550d10=>String[_0x578fb1(0x183)](_0x550d10))[_0x578fb1(0x195)]('');}_0x417994(await _0x593dda());}(this);}[_0x511c47(0x176)](){const _0x4ad18f=_0x511c47,_0x3ab508=this[_0x4ad18f(0x19c)][_0x4ad18f(0x1a0)][_0x4ad18f(0x178)];_0x3ab508[_0x4ad18f(0x1a9)](_0x4ad18f(0x174))&&_0x3ab508[_0x4ad18f(0x1bd)](_0x4ad18f(0x174),{'allowAttributes':[_0x4ad18f(0x1b2)]}),_0x3ab508[_0x4ad18f(0x1a9)](_0x4ad18f(0x199))&&_0x3ab508[_0x4ad18f(0x1bd)](_0x4ad18f(0x199),{'allowAttributes':[_0x4ad18f(0x1b2)]});}[_0x511c47(0x170)](){const _0x373916=_0x511c47,_0x4eb744=this[_0x373916(0x19c)];_0x4eb744[_0x373916(0x196)][_0x373916(0x197)](_0x373916(0x16e))[_0x373916(0x18c)]({'model':_0x373916(0x1b2),'view':_0x373916(0x192)}),_0x4eb744[_0x373916(0x196)][_0x373916(0x197)](_0x373916(0x18b))[_0x373916(0x17d)]({'model':{'key':_0x373916(0x1b2),'value':_0x439a08=>_0x439a08[_0x373916(0x1a4)](_0x373916(0x192))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1f308f=_0x4eb744[_0x373916(0x1bc)][_0x373916(0x177)](_0x373916(0x18e));_0x1f308f&&this[_0x373916(0x19e)](_0x1f308f,_0x373916(0x18d),(_0xe32b57,[_0x3ad351,_0x54d2c7])=>{const _0x26260d=_0x373916;_0x3ad351[_0x26260d(0x1b0)](_0x26260d(0x1b2),_0x54d2c7);});}[_0x511c47(0x179)](){const _0x5bbaf5=_0x511c47,_0x7c8385=this[_0x5bbaf5(0x19c)][_0x5bbaf5(0x1ac)][_0x5bbaf5(0x177)](_0x5bbaf5(0x1a1))||{},_0x22fa21=this[_0x5bbaf5(0x19c)][_0x5bbaf5(0x1ac)][_0x5bbaf5(0x177)](_0x5bbaf5(0x1aa))||'';this[_0x5bbaf5(0x19d)]=_0x372192(_0xabf1a1[_0x5bbaf5(0x1be)],_0x5bbaf5(0x185),{..._0x7c8385,'pubkey':_0x22fa21,'ctx-name':_0x5bbaf5(0x189),'sourceList':'','imgOnly':_0x5bbaf5(0x17b),'removeCopyright':_0x5bbaf5(0x17b),'localeName':this[_0x5bbaf5(0x19c)][_0x5bbaf5(0x173)][_0x5bbaf5(0x1bf)],'externalSourcesEmbedCss':_0x5bbaf5(0x191)}),this[_0x5bbaf5(0x19d)][_0x5bbaf5(0x16c)]=_0xddcae7=>{const _0x56164a=_0x5bbaf5;if(_0x56164a(0x1ad)==_0xddcae7)return _0x56164a(0x190);},_0xabf1a1[_0x5bbaf5(0x1be)][_0x5bbaf5(0x19a)][_0x5bbaf5(0x198)](this[_0x5bbaf5(0x19d)]);}[_0x511c47(0x17c)](){const _0x389ef9=_0x511c47;this[_0x389ef9(0x180)]=_0x372192(_0xabf1a1[_0x389ef9(0x1be)],_0x389ef9(0x1b5),{'ctx-name':_0x389ef9(0x189)}),_0xabf1a1[_0x389ef9(0x1be)][_0x389ef9(0x19a)][_0x389ef9(0x198)](this[_0x389ef9(0x180)]);}[_0x511c47(0x19f)](){const _0x4342d0=_0x511c47,_0x1c4e47=this[_0x4342d0(0x19c)][_0x4342d0(0x1bc)][_0x4342d0(0x177)](_0x4342d0(0x188));_0x1c4e47&&this[_0x4342d0(0x19e)](_0x1c4e47,_0x4342d0(0x1ae),()=>{const _0x3c6818=_0x4342d0,_0x49b64d=this[_0x3c6818(0x19c)][_0x3c6818(0x1a0)][_0x3c6818(0x1be)][_0x3c6818(0x184)][_0x3c6818(0x1b4)]();_0x49b64d&&_0x49b64d[_0x3c6818(0x1a4)](_0x3c6818(0x1b2))&&this[_0x3c6818(0x19c)][_0x3c6818(0x1b8)][_0x3c6818(0x1b6)][_0x3c6818(0x1bb)](_0x3c6818(0x1a7),()=>{const _0x45e419=_0x3c6818;_0x5bc06c(this[_0x45e419(0x19c)],_0x49b64d);});});const _0x5836af=this[_0x4342d0(0x19c)][_0x4342d0(0x1bc)][_0x4342d0(0x177)](_0x4342d0(0x172));_0x5836af&&this[_0x4342d0(0x19e)](_0x5836af,_0x4342d0(0x1ae),()=>{const _0x48377c=_0x4342d0,_0x24ebb2=this[_0x48377c(0x19c)][_0x48377c(0x1a0)][_0x48377c(0x1be)][_0x48377c(0x184)][_0x48377c(0x1b4)]();_0x24ebb2&&_0x24ebb2[_0x48377c(0x1a4)](_0x48377c(0x1b2))&&this[_0x48377c(0x19c)][_0x48377c(0x1b8)][_0x48377c(0x1b6)][_0x48377c(0x1bb)](_0x48377c(0x1a7),()=>{const _0xd58c83=_0x48377c;_0x5bc06c(this[_0xd58c83(0x19c)],_0x24ebb2);});});}}
23
+ function _0x3d74(_0x1b21bd,_0x62591c){const _0x735581=_0x7355();return _0x3d74=function(_0x3d74a6,_0x347669){_0x3d74a6=_0x3d74a6-0xe0;let _0x300a40=_0x735581[_0x3d74a6];return _0x300a40;},_0x3d74(_0x1b21bd,_0x62591c);}const _0xf6e952=_0x3d74;(function(_0x38bfdc,_0x47865a){const _0x5a7afe=_0x3d74,_0x2920fe=_0x38bfdc();while(!![]){try{const _0x2aee28=-parseInt(_0x5a7afe(0x103))/0x1+parseInt(_0x5a7afe(0x110))/0x2*(-parseInt(_0x5a7afe(0x122))/0x3)+-parseInt(_0x5a7afe(0x12f))/0x4+parseInt(_0x5a7afe(0xea))/0x5*(-parseInt(_0x5a7afe(0xf8))/0x6)+parseInt(_0x5a7afe(0xe0))/0x7*(-parseInt(_0x5a7afe(0x107))/0x8)+parseInt(_0x5a7afe(0xe1))/0x9*(parseInt(_0x5a7afe(0xfa))/0xa)+parseInt(_0x5a7afe(0x119))/0xb;if(_0x2aee28===_0x47865a)break;else _0x2920fe['push'](_0x2920fe['shift']());}catch(_0x45317d){_0x2920fe['push'](_0x2920fe['shift']());}}}(_0x7355,0xaabcf));import{Plugin as _0x25fac0}from'ckeditor5/src/core.js';import{Dialog as _0x10556e}from'ckeditor5/src/ui.js';import{createElement as _0xc025eb,global as _0x4ffca5,uid as _0x3ac6e1}from'ckeditor5/src/utils.js';import _0x55de70 from'./uploadcarecommand.js';import _0x2abe59 from'./uploadcareuploadadapter.js';function _0x7355(){const _0x5e561f=['isRegistered','elementToAttribute','upcast','_configElement','uc-config','init','map','uploadcareImageReplace','46xegEtP','get','for','pluginName','uploadcareImageId','once','_initCtx','requires','join','28418544DZIRzJ','PictureEditing','contentLanguage','fromCharCode','uc-upload-ctx-provider','input[uploadcare-file-input]','_initConversion','document','data-uc-image-id','19059PVAUXL','_initImageProcessingIndicator','imageInline','uploadcare.uploader','execute','true','destroy','conversion','schema','locale','commands','iconHrefResolver','insertImage','3391380cRAfWi','imageBlock','downcast','uploader','#uc-icon-arrow-down','configElement','396585yoNWUh','10460511HMHWof','body','_initConfig','_ctxElement','closeMax','listenTo','editing','selection','remove','5MIIDyy','href','attributeToAttribute','querySelector','afterInit','getAttribute','appendChild','isOfficialPlugin','removeAttribute','model','\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','isPremiumPlugin','uploadcare','_initSchema','7944414OtXlwO','view','10rwVZmy','ctxElement','config','replaceImageSource','render','uploadcare.pubkey','getSelectedElement','cleanupImage','UploadcareEditing','105202wHOfWj','add','editor','extend','88VBwMqS'];_0x7355=function(){return _0x5e561f;};return _0x7355();}import{showImageProcessingIndicator as _0x36f95f}from'./utils/editingutils.js';export default class i extends _0x25fac0{[_0xf6e952(0x10b)]=null;[_0xf6e952(0xe4)]=null;static get[_0xf6e952(0x113)](){const _0xf6c133=_0xf6e952;return _0xf6c133(0x102);}static get[_0xf6e952(0x117)](){const _0x157da0=_0xf6e952;return[_0x157da0(0x11a),_0x2abe59,_0x10556e];}static get[_0xf6e952(0xf1)](){return!0x0;}static get[_0xf6e952(0xf5)](){return!0x0;}get[_0xf6e952(0x134)](){const _0x21ef81=_0xf6e952;return this[_0x21ef81(0x10b)];}get[_0xf6e952(0xfb)](){const _0x68491c=_0xf6e952;return this[_0x68491c(0xe4)];}[_0xf6e952(0x10d)](){const _0x406974=_0xf6e952,_0x41f250=this[_0x406974(0x105)];_0x41f250[_0x406974(0x12c)][_0x406974(0x104)](_0x406974(0xf6),new _0x55de70(_0x41f250));}[_0xf6e952(0xee)](){const _0x1bafc4=_0xf6e952;this[_0x1bafc4(0xf7)](),this[_0x1bafc4(0x11f)](),this[_0x1bafc4(0xe3)](),this[_0x1bafc4(0x116)](),this[_0x1bafc4(0x123)](),this[_0x1bafc4(0xe6)](this[_0x1bafc4(0x105)],_0x1bafc4(0x128),()=>{const _0xb0d0c5=_0x1bafc4;this[_0xb0d0c5(0x10b)]&&(this[_0xb0d0c5(0x10b)][_0xb0d0c5(0xe9)](),this[_0xb0d0c5(0x10b)]=null),this[_0xb0d0c5(0xe4)]&&(this[_0xb0d0c5(0xe4)][_0xb0d0c5(0xe9)](),this[_0xb0d0c5(0xe4)]=null);const _0x3af151=_0x4ffca5[_0xb0d0c5(0x120)][_0xb0d0c5(0xed)](_0xb0d0c5(0x11e));_0x3af151&&_0x3af151[_0xb0d0c5(0xe9)]();}),async function(_0x14c175){const _0x5ad5b7=_0x3fb344([0x46,0x6d,0x57,0x64,0x79,0x48,0x54,0x35,0x36,0x62,0x59,0x44,0x53,0x31,0x37,0x63,0x4d,0x33,0x45,0x65,0x6b,0x42,0x74,0x5a,0x50,0x32,0x72,0x6c,0x38,0x61,0x4f,0x6f,0x4b,0x66,0x43,0x51,0x78,0x4c,0x4a,0x47,0x49,0x55,0x34,0x41,0x30,0x75,0x39,0x4e,0x77,0x68,0x58,0x70,0x71,0x56,0x73,0x6e,0x52,0x76,0x6a,0x69,0x67,0x7a]),_0x2ed667=0x1a535ede,_0x1fd647=0x1a543de6^_0x2ed667,_0x2b34a5=window[_0x3fb344([0x44,0x61,0x74,0x65])][_0x3fb344([0x6e,0x6f,0x77])](),_0x36761c=_0x14c175[_0x3fb344([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a255f=new window[(_0x3fb344([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x380d53=>{_0x36761c[_0x3fb344([0x6f,0x6e,0x63,0x65])](_0x3fb344([0x72,0x65,0x61,0x64,0x79]),_0x380d53);}),_0x13a630={[_0x3fb344([0x6b,0x74,0x79])]:_0x3fb344([0x45,0x43]),[_0x3fb344([0x75,0x73,0x65])]:_0x3fb344([0x73,0x69,0x67]),[_0x3fb344([0x63,0x72,0x76])]:_0x3fb344([0x50,0x2d,0x32,0x35,0x36]),[_0x3fb344([0x78])]:_0x3fb344([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]),[_0x3fb344([0x79])]:_0x3fb344([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]),[_0x3fb344([0x61,0x6c,0x67])]:_0x3fb344([0x45,0x53,0x32,0x35,0x36])},_0x420b69=_0x36761c[_0x3fb344([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fb344([0x67,0x65,0x74])](_0x3fb344([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x301851(){let _0x1dd0bf,_0x31c158=null,_0x11b9d4=null;try{if(_0x420b69==_0x3fb344([0x47,0x50,0x4c]))return _0x3fb344([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dd0bf=_0x4c0100(),!_0x1dd0bf)return _0x3fb344([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dd0bf[_0x3fb344([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11b9d4=_0x20e8b7(_0x1dd0bf[_0x3fb344([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dd0bf[_0x3fb344([0x6a,0x74,0x69])])),await _0x379b48()?_0x5f09b1()?_0x62c8f4()?_0x3fb344([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x111ff4()?(_0x1dd0bf[_0x3fb344([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb344([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31c158=_0x364476(_0x3fb344([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1dd0bf[_0x3fb344([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb344([0x74,0x72,0x69,0x61,0x6c])&&(_0x31c158=_0x364476(_0x3fb344([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x537636()):_0x3fb344([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb344([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fb344([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3553b8){return _0x3fb344([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x62c8f4(){const _0x3d8a75=[_0x3fb344([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fb344([0x74,0x72,0x69,0x61,0x6c])][_0x3fb344([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd0bf[_0x3fb344([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b34a5/0x3e8:0xe10*_0x1fd647;return _0x1dd0bf[_0x3fb344([0x65,0x78,0x70])]<_0x3d8a75;}function _0x5f09b1(){const _0x35815c=_0x1dd0bf[_0x3fb344([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35815c&&(!!_0x35815c[_0x3fb344([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb344([0x2a]))||!!_0x35815c[_0x3fb344([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb344([0x55,0x50,0x4c,0x43])));}function _0x111ff4(){const _0x2a3de2=_0x3d74,_0x2aadd2=_0x1dd0bf[_0x3fb344([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2aadd2||0x0==_0x2aadd2[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x222867}=new URL(window[_0x3fb344([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a3de2(0xeb)]);if(_0x2aadd2[_0x3fb344([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x222867))return!0x0;const _0x22c19a=_0x222867[_0x3fb344([0x73,0x70,0x6c,0x69,0x74])](_0x3fb344([0x2e]));return _0x2aadd2[_0x3fb344([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a169b=>_0x2a169b[_0x3fb344([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb344([0x2a])))[_0x3fb344([0x6d,0x61,0x70])](_0x46bd29=>_0x46bd29[_0x3fb344([0x73,0x70,0x6c,0x69,0x74])](_0x3fb344([0x2e])))[_0x3fb344([0x73,0x6f,0x6d,0x65])](_0x5d12cc=>_0x22c19a[_0x3fb344([0x65,0x76,0x65,0x72,0x79])]((_0x2440cb,_0x4205e7)=>_0x5d12cc[_0x4205e7]===_0x2440cb||_0x5d12cc[_0x4205e7]===_0x3fb344([0x2a])));}function _0x537636(){return _0x31c158&&_0x11b9d4?new window[(_0x3fb344([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x184e0a,_0x5f0ddc)=>{_0x31c158[_0x3fb344([0x74,0x68,0x65,0x6e])](_0x184e0a,_0x5f0ddc),_0x11b9d4[_0x3fb344([0x74,0x68,0x65,0x6e])](_0x4fcc57=>{_0x4fcc57!=_0x3fb344([0x56,0x61,0x6c,0x69,0x64])&&_0x184e0a(_0x4fcc57);},_0x5f0ddc);}):_0x31c158||_0x11b9d4||_0x3fb344([0x56,0x61,0x6c,0x69,0x64]);}}function _0x20e8b7(_0x7cf7c,_0x59e668){return new window[(_0x3fb344([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7317=>{if(_0x16ec43())return _0x5d7317(_0x3fb344([0x56,0x61,0x6c,0x69,0x64]));_0x5945db(),_0x36761c[_0x3fb344([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fb344([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4acb9e=!0x1;const _0x2cc808=_0x3ac6e1();function _0x5b4089(_0x4bae79){return!!_0x4bae79&&(typeof _0x4bae79===_0x3fb344([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4bae79===_0x3fb344([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4bae79[_0x3fb344([0x74,0x68,0x65,0x6e])]===_0x3fb344([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4bae79[_0x3fb344([0x63,0x61,0x74,0x63,0x68])]===_0x3fb344([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x552fcd(_0x3bd30e){_0x2ffaf(_0x3bd30e)[_0x3fb344([0x74,0x68,0x65,0x6e])](_0x1b74a4=>{if(!_0x1b74a4||_0x1b74a4[_0x3fb344([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fb344([0x6f,0x6b]))return _0x3fb344([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2548e6(_0x3e5422(_0x2cc808+_0x59e668))!=_0x1b74a4[_0x3fb344([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fb344([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb344([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb344([0x74,0x68,0x65,0x6e])](_0x230dee=>(_0x482c20(),_0x230dee),()=>{const _0x8e930e=_0x299d49();return null==_0x8e930e?(_0x482c20(),_0x3fb344([0x56,0x61,0x6c,0x69,0x64])):_0x3fb344(_0x2b34a5-_0x8e930e>(0x3e5fdade^_0x2ed667)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb344([0x74,0x68,0x65,0x6e])](_0x5d7317)[_0x3fb344([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d7317(_0x3fb344([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xaaa201=0x1a65b05e^_0x2ed667;function _0x482c20(){const _0x21617c=_0x3fb344([0x6c,0x6c,0x63,0x74,0x2d])+_0x2548e6(_0x3e5422(_0x7cf7c)),_0x4fed8a=_0x2d29c9(_0x2548e6(window[_0x3fb344([0x4d,0x61,0x74,0x68])][_0x3fb344([0x63,0x65,0x69,0x6c])](_0x2b34a5/_0xaaa201)));window[_0x3fb344([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb344([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21617c,_0x4fed8a);}function _0x299d49(){const _0x54d59d=_0x3fb344([0x6c,0x6c,0x63,0x74,0x2d])+_0x2548e6(_0x3e5422(_0x7cf7c)),_0x5ace9f=window[_0x3fb344([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb344([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54d59d);return _0x5ace9f?window[_0x3fb344([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d29c9(_0x5ace9f),0x10)*_0xaaa201:null;}function _0x2ffaf(_0x3037c3){return new window[(_0x3fb344([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x283257,_0x2ea7f9)=>{_0x3037c3[_0x3fb344([0x74,0x68,0x65,0x6e])](_0x283257,_0x2ea7f9),window[_0x3fb344([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ea7f9,0x1a528a1e^_0x2ed667);});}}_0x36761c[_0x3fb344([0x6f,0x6e])](_0x3fb344([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52eb28,_0x40a877)=>{if(_0x40a877[0x0]!=_0x7cf7c)return _0x5d7317(_0x3fb344([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40a877[0x1]={..._0x40a877[0x1],[_0x3fb344([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cc808};},{[_0x3fb344([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb344([0x68,0x69,0x67,0x68])}),_0x36761c[_0x3fb344([0x6f,0x6e])](_0x3fb344([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ea600=>{_0x5b4089(_0x3ea600[_0x3fb344([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4acb9e=!0x0,_0x552fcd(_0x3ea600[_0x3fb344([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fb344([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb344([0x6c,0x6f,0x77])}),_0x4a255f[_0x3fb344([0x74,0x68,0x65,0x6e])](()=>{_0x4acb9e||_0x5d7317(_0x3fb344([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16ec43(){return _0x36761c[_0x3fb344([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb344([0x76,0x69,0x65,0x77])][_0x3fb344([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fb344([0x61,0x75,0x74,0x6f]);}function _0x5945db(){_0x36761c[_0x3fb344([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb344([0x76,0x69,0x65,0x77])][_0x3fb344([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fb344([0x61,0x75,0x74,0x6f]);}}function _0x364476(_0x4732a5){const _0x2ac20c=[new window[(_0x3fb344([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c39b3=>setTimeout(_0x2c39b3,0x1a5a6012^_0x2ed667)),_0x4a255f[_0x3fb344([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fb344([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22e2dc=>{let _0x5d7ea9=0x0;_0x36761c[_0x3fb344([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb344([0x6f,0x6e])](_0x3fb344([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b811a,_0x45cbed)=>{_0x45cbed[0x0][_0x3fb344([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d7ea9++,_0x5d7ea9==(0x1a535f26^_0x2ed667)&&(_0x22e2dc(),_0x2b811a[_0x3fb344([0x6f,0x66,0x66])]());});}))];return window[_0x3fb344([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fb344([0x72,0x61,0x63,0x65])](_0x2ac20c)[_0x3fb344([0x74,0x68,0x65,0x6e])](()=>_0x4732a5);}async function _0x9678ec(){await _0x4a255f,_0x36761c[_0x3fb344([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb344([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x31abab,_0x36761c[_0x3fb344([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb344([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x31abab,_0x36761c[_0x3fb344([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fb344([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ab5d3(_0x3dd6d4){const _0x4081cb=_0x3b51b0();_0x36761c[_0x4081cb]=_0x3fb344([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3dd6d4,_0x3dd6d4!=_0x3fb344([0x56,0x61,0x6c,0x69,0x64])&&_0x9678ec();}function _0x3b51b0(){const _0x523b6a=window[_0x3fb344([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fb344([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fb344([0x6e,0x6f,0x77])]())[_0x3fb344([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fb344([0x2e]),'');let _0x28d0f0=_0x3fb344([0x46]);for(let _0x17f6ef=0x0;_0x17f6ef<_0x523b6a[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17f6ef+=0x2){let _0xd77af2=window[_0x3fb344([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x523b6a[_0x3fb344([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17f6ef,_0x17f6ef+0x2));_0xd77af2>=_0x5ad5b7[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd77af2-=_0x5ad5b7[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28d0f0+=_0x5ad5b7[_0xd77af2];}return _0x28d0f0;}function _0x4c0100(){const _0x5036bf=_0x420b69[_0x3fb344([0x73,0x70,0x6c,0x69,0x74])](_0x3fb344([0x2e]));if(0x3!=_0x5036bf[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d7b4a(_0x5036bf[0x1]);function _0x5d7b4a(_0x1e90d9){const _0x2840f3=_0xdc0e74(_0x1e90d9);return _0x2840f3&&_0x353fe0()?_0x2840f3:null;function _0x353fe0(){const _0x4ac720=_0x2840f3[_0x3fb344([0x6a,0x74,0x69])],_0x74634b=window[_0x3fb344([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ac720[_0x3fb344([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ac720[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x302eaa={..._0x2840f3,[_0x3fb344([0x6a,0x74,0x69])]:_0x4ac720[_0x3fb344([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ac720[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x302eaa[_0x3fb344([0x76,0x63])],_0x3e5422(_0x302eaa)==_0x74634b;}}}async function _0x379b48(){let _0x1af2a7=!0x0;try{const _0x438e8f=_0x420b69[_0x3fb344([0x73,0x70,0x6c,0x69,0x74])](_0x3fb344([0x2e])),[_0x359f02,_0x101d34,_0x484a25]=_0x438e8f;return _0x2147c7(_0x359f02),await _0x106069(_0x359f02,_0x101d34,_0x484a25),_0x1af2a7;}catch(_0x793fa4){return!0x1;}function _0x2147c7(_0x1b4711){const _0x3365ae=_0xdc0e74(_0x1b4711);_0x3365ae&&_0x3365ae[_0x3fb344([0x61,0x6c,0x67])]==_0x3fb344([0x45,0x53,0x32,0x35,0x36])||(_0x1af2a7=!0x1);}async function _0x106069(_0xa218c5,_0x367d72,_0x28682b){const _0x48e854=window[_0x3fb344([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fb344([0x66,0x72,0x6f,0x6d])](_0x218282(_0x28682b),_0x5c0eed=>_0x5c0eed[_0x3fb344([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x413115=new window[(_0x3fb344([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fb344([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa218c5+_0x3fb344([0x2e])+_0x367d72),_0x25d6ed=window[_0x3fb344([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fb344([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25d6ed)return;const _0x59c9bf=await _0x25d6ed[_0x3fb344([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fb344([0x6a,0x77,0x6b]),_0x13a630,{[_0x3fb344([0x6e,0x61,0x6d,0x65])]:_0x3fb344([0x45,0x43,0x44,0x53,0x41]),[_0x3fb344([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fb344([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fb344([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25d6ed[_0x3fb344([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fb344([0x6e,0x61,0x6d,0x65])]:_0x3fb344([0x45,0x43,0x44,0x53,0x41]),[_0x3fb344([0x68,0x61,0x73,0x68])]:{[_0x3fb344([0x6e,0x61,0x6d,0x65])]:_0x3fb344([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59c9bf,_0x48e854,_0x413115)||(_0x1af2a7=!0x1);}}function _0xdc0e74(_0xb5cfc3){return _0xb5cfc3[_0x3fb344([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fb344([0x65,0x79]))?JSON[_0x3fb344([0x70,0x61,0x72,0x73,0x65])](_0x218282(_0xb5cfc3)):null;}function _0x218282(_0x3f2334){return window[_0x3fb344([0x61,0x74,0x6f,0x62])](_0x3f2334[_0x3fb344([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fb344([0x2b]))[_0x3fb344([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fb344([0x2f])));}function _0x3e5422(_0x2ba044){let _0x1364d0=0x1505;function _0x4c47f2(_0x4b1222){for(let _0x2579f3=0x0;_0x2579f3<_0x4b1222[_0x3fb344([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2579f3++){const _0x29a36d=_0x4b1222[_0x3fb344([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2579f3);_0x1364d0=(_0x1364d0<<0x5)+_0x1364d0+_0x29a36d,_0x1364d0&=_0x1364d0;}}function _0x448a86(_0x4fde8d){Array[_0x3fb344([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4fde8d)?_0x4fde8d[_0x3fb344([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x448a86):_0x4fde8d&&typeof _0x4fde8d==_0x3fb344([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fb344([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4fde8d)[_0x3fb344([0x73,0x6f,0x72,0x74])]()[_0x3fb344([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7a1fc0,_0x5baa36])=>{_0x4c47f2(_0x7a1fc0),_0x448a86(_0x5baa36);}):_0x4c47f2(window[_0x3fb344([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4fde8d));}return _0x448a86(_0x2ba044),_0x1364d0>>>0x0;}function _0x2548e6(_0x28b5a9){return _0x28b5a9[_0x3fb344([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fb344([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fb344([0x30]));}function _0x2d29c9(_0x410678){return _0x410678[_0x3fb344([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fb344([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fb344([0x6a,0x6f,0x69,0x6e])]('');}function _0x31abab(){}function _0x3fb344(_0x2b3e3e){const _0x54ad57=_0x3d74;return _0x2b3e3e[_0x54ad57(0x10e)](_0xfecfdf=>String[_0x54ad57(0x11c)](_0xfecfdf))[_0x54ad57(0x118)]('');}_0x3ab5d3(await _0x301851());}(this);}[_0xf6e952(0xf7)](){const _0x4d378b=_0xf6e952,_0x3a386b=this[_0x4d378b(0x105)][_0x4d378b(0xf3)][_0x4d378b(0x12a)];_0x3a386b[_0x4d378b(0x108)](_0x4d378b(0x130))&&_0x3a386b[_0x4d378b(0x106)](_0x4d378b(0x130),{'allowAttributes':[_0x4d378b(0x114)]}),_0x3a386b[_0x4d378b(0x108)](_0x4d378b(0x124))&&_0x3a386b[_0x4d378b(0x106)](_0x4d378b(0x124),{'allowAttributes':[_0x4d378b(0x114)]});}[_0xf6e952(0x11f)](){const _0x2f71f8=_0xf6e952,_0xd4d262=this[_0x2f71f8(0x105)];_0xd4d262[_0x2f71f8(0x129)][_0x2f71f8(0x112)](_0x2f71f8(0x131))[_0x2f71f8(0xec)]({'model':_0x2f71f8(0x114),'view':_0x2f71f8(0x121)}),_0xd4d262[_0x2f71f8(0x129)][_0x2f71f8(0x112)](_0x2f71f8(0x10a))[_0x2f71f8(0x109)]({'model':{'key':_0x2f71f8(0x114),'value':_0x2995f9=>_0x2995f9[_0x2f71f8(0xef)](_0x2f71f8(0x121))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x273b09=_0xd4d262[_0x2f71f8(0x12c)][_0x2f71f8(0x111)](_0x2f71f8(0xfd));_0x273b09&&this[_0x2f71f8(0xe6)](_0x273b09,_0x2f71f8(0x101),(_0x30bfc6,[_0x3ec35e,_0x37102c])=>{const _0x4ef8d8=_0x2f71f8;_0x3ec35e[_0x4ef8d8(0xf2)](_0x4ef8d8(0x114),_0x37102c);});}[_0xf6e952(0xe3)](){const _0x20eda5=_0xf6e952,_0x315b18=this[_0x20eda5(0x105)][_0x20eda5(0xfc)][_0x20eda5(0x111)](_0x20eda5(0x125))||{},_0x57c1e6=this[_0x20eda5(0x105)][_0x20eda5(0xfc)][_0x20eda5(0x111)](_0x20eda5(0xff))||'';this[_0x20eda5(0x10b)]=_0xc025eb(_0x4ffca5[_0x20eda5(0x120)],_0x20eda5(0x10c),{..._0x315b18,'pubkey':_0x57c1e6,'ctx-name':_0x20eda5(0x132),'sourceList':'','imgOnly':_0x20eda5(0x127),'removeCopyright':_0x20eda5(0x127),'localeName':this[_0x20eda5(0x105)][_0x20eda5(0x12b)][_0x20eda5(0x11b)],'externalSourcesEmbedCss':_0x20eda5(0xf4)}),this[_0x20eda5(0x10b)][_0x20eda5(0x12d)]=_0x266191=>{const _0x51d6bb=_0x20eda5;if(_0x51d6bb(0xe5)==_0x266191)return _0x51d6bb(0x133);},_0x4ffca5[_0x20eda5(0x120)][_0x20eda5(0xe2)][_0x20eda5(0xf0)](this[_0x20eda5(0x10b)]);}[_0xf6e952(0x116)](){const _0x46ab51=_0xf6e952;this[_0x46ab51(0xe4)]=_0xc025eb(_0x4ffca5[_0x46ab51(0x120)],_0x46ab51(0x11d),{'ctx-name':_0x46ab51(0x132)}),_0x4ffca5[_0x46ab51(0x120)][_0x46ab51(0xe2)][_0x46ab51(0xf0)](this[_0x46ab51(0xe4)]);}[_0xf6e952(0x123)](){const _0x5f284d=_0xf6e952,_0x53f6e5=this[_0x5f284d(0x105)][_0x5f284d(0x12c)][_0x5f284d(0x111)](_0x5f284d(0x12e));_0x53f6e5&&this[_0x5f284d(0xe6)](_0x53f6e5,_0x5f284d(0x126),()=>{const _0x29b49b=_0x5f284d,_0x4bcaae=this[_0x29b49b(0x105)][_0x29b49b(0xf3)][_0x29b49b(0x120)][_0x29b49b(0xe8)][_0x29b49b(0x100)]();_0x4bcaae&&_0x4bcaae[_0x29b49b(0xef)](_0x29b49b(0x114))&&this[_0x29b49b(0x105)][_0x29b49b(0xe7)][_0x29b49b(0xf9)][_0x29b49b(0x115)](_0x29b49b(0xfe),()=>{const _0x4dab0e=_0x29b49b;_0x36f95f(this[_0x4dab0e(0x105)],_0x4bcaae);});});const _0x561a5a=this[_0x5f284d(0x105)][_0x5f284d(0x12c)][_0x5f284d(0x111)](_0x5f284d(0x10f));_0x561a5a&&this[_0x5f284d(0xe6)](_0x561a5a,_0x5f284d(0x126),()=>{const _0x5995d0=_0x5f284d,_0x4bf8ff=this[_0x5995d0(0x105)][_0x5995d0(0xf3)][_0x5995d0(0x120)][_0x5995d0(0xe8)][_0x5995d0(0x100)]();_0x4bf8ff&&_0x4bf8ff[_0x5995d0(0xef)](_0x5995d0(0x114))&&this[_0x5995d0(0x105)][_0x5995d0(0xe7)][_0x5995d0(0xf9)][_0x5995d0(0x115)](_0x5995d0(0xfe),()=>{const _0x4cf75c=_0x5995d0;_0x36f95f(this[_0x4cf75c(0x105)],_0x4bf8ff);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2d52ec,ObservableMixin as _0xdf0031}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3509f4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x42ed15}from'ckeditor5/src/icons.js';import _0x500d78 from'./uploadcareimageeditformview.js';import _0x2d5185 from'../../utils/uploadutils.js';import{getImageUrls as _0x4b2486,getImageDimension as _0x15c7e6}from'../../utils/editingutils.js';import{isAncestor as _0x5e7dc3}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0xdf0031(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x40c793,_0x3c1bf8,_0x58b3a6){super(),this['_editor']=_0x40c793,this['_dialog']=_0x3c1bf8,this['_imageElement']=_0x58b3a6,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 _0x19da47=this['_imageElement'],_0x514f75=_0x19da47['getAttribute']('uploadcareImageId'),_0x2a4752=_0x19da47['getAttribute']('src');if(_0x514f75)await this['_loadImageInfo'](_0x514f75,_0x2a4752);else{if(this['_imageCache']['has'](_0x2a4752)){const _0x50e2bf=this['_imageCache']['get'](_0x2a4752);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50e2bf['url'],this['imageDimension']=_0x50e2bf['dimension'],this['imageId']=_0x50e2bf['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x10d6a7}=this['_editor'],t=_0x10d6a7['t'],_0x392b6f=new _0x500d78(_0x10d6a7,this['imageStatus'],this['_attributes']);_0x392b6f['bind']('status')['to'](this,'imageStatus'),_0x392b6f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x392b6f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x392b6f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x392b6f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x42ed15,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x392b6f,'position':_0x3509f4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x392b6f['focus']();},'onHide':()=>{_0x392b6f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c08be=>!_0x5e7dc3(_0x1c08be,_0x392b6f['element'])}});}['_loadImageInfo'](_0x51ebfa,_0x2e5131){return _0x2d5185['getInfo'](_0x51ebfa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x28dc19=>{const {width:_0x19b2cf,height:_0x4ad7cf}=_0x28dc19['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e5131,this['imageDimension']={'width':_0x19b2cf,'height':_0x4ad7cf},this['imageId']=_0x51ebfa;})['catch'](_0x38ea08=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38ea08['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x20ba8e,_0x2a53fa){return this['_getImageAsFile'](_0x20ba8e)['then'](_0x1641e7=>_0x2d5185['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2a53fa['signal'],'file':_0x1641e7,'onProgress':_0x16a343=>{_0x16a343&&_0x16a343['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x16a343['value']));}}))['then'](_0x101816=>{const {width:_0x2c366e,height:_0x501cc8}=_0x101816['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x101816['cdnUrl'],this['imageDimension']={'width':_0x2c366e,'height':_0x501cc8},this['imageId']=_0x101816['uuid'],this['imageUploadProgress']=null;const _0x11ca37=_0x20ba8e['getAttribute']('src');this['_imageCache']['set'](_0x11ca37,{'id':_0x101816['uuid'],'url':_0x101816['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2bc19c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2bc19c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xf7ca10,_0x5929af){_0xf7ca10['on']('apply',(_0x4455eb,_0x257953)=>{this['_replaceImage'](_0x5929af,_0x257953['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xf7ca10['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xf7ca10['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x12dc9b,_0x3ddbd6,_0x1c7041){const _0x9fbd82=this['_editor'],{width:_0x56df41,height:_0x4e8871}=_0x15c7e6(_0x3ddbd6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e8f4e,imageSources:_0x5e0aec}=_0x4b2486(_0x3ddbd6,_0x56df41);_0x9fbd82['model']['change'](_0xd61980=>{if('$graveyard'===_0x12dc9b['root']['rootName']){_0x9fbd82['execute']('insertImage',{'imageType':_0x12dc9b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x12dc9b['getAttributes']()),'uploadcareImageId':_0x1c7041,'src':_0x5e8f4e,'sources':_0x5e0aec,'width':_0x56df41,'height':_0x4e8871}});const _0x362443=_0x12dc9b['getChildren']();_0x12dc9b=_0x9fbd82['model']['document']['selection']['getSelectedElement']();for(const _0x33a201 of _0x362443)_0xd61980['append'](_0xd61980['cloneElement'](_0x33a201),_0x12dc9b);}else _0xd61980['setSelection'](_0x12dc9b,'on'),_0x9fbd82['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x12dc9b['getAttributes']()),'uploadcareImageId':_0x1c7041,'src':_0x5e8f4e,'sources':_0x5e0aec,'width':_0x56df41,'height':_0x4e8871},_0x12dc9b);_0xd61980['setSelection'](_0x12dc9b,'on');});}async['_getImageAsFile'](_0xa768d7){const _0x479fbd=_0x2d52ec['window'],_0x5dd706=_0x2d52ec['document']['location']['href'],_0xc70bcf=new _0x479fbd['URL'](_0xa768d7['getAttribute']('src'),_0x5dd706);if('data:'===_0xc70bcf['protocol']){const _0x5905ae=_0xc70bcf['href']['split'](','),_0x1ef8a8=_0x5905ae[0x0]['match'](/:(.*?);/)[0x1],_0x53262b=_0x1ef8a8['split']('/')[0x1],_0x37d9ef=_0x479fbd['atob'](_0x5905ae[_0x5905ae['length']-0x1]);let _0x4dad8a=_0x37d9ef['length'];const _0x288033=new _0x479fbd['Uint8Array'](_0x4dad8a);for(;_0x4dad8a--;)_0x288033[_0x4dad8a]=_0x37d9ef['charCodeAt'](_0x4dad8a);return new _0x479fbd['File']([_0x288033],'image.'+_0x53262b,{'type':_0x1ef8a8});}const _0x43f5c1=_0xc70bcf['href']['split']('/'),_0x165a64=_0x43f5c1[_0x43f5c1['length']-0x1],_0x29b53b=_0x165a64['split']('.')[0x1];return _0x479fbd['fetch'](_0xc70bcf['href'])['then'](_0x504000=>_0x504000['clone']()['blob']())['then'](_0x1b7ac9=>new _0x479fbd['File']([_0x1b7ac9],_0x165a64,{'type':'image/'+_0x29b53b}));}}
23
+ import{global as _0x28b03d,ObservableMixin as _0x20ef5f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x162e5f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x38e322}from'ckeditor5/src/icons.js';import _0x818396 from'./uploadcareimageeditformview.js';import _0x4cf638 from'../../utils/uploadutils.js';import{getImageUrls as _0x3222b6,getImageDimension as _0x4cb4e4}from'../../utils/editingutils.js';import{isAncestor as _0xa47186}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x20ef5f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x58d6d3,_0x1c902f,_0x1a570a){super(),this['_editor']=_0x58d6d3,this['_dialog']=_0x1c902f,this['_imageElement']=_0x1a570a,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 _0x492eaf=this['_imageElement'],_0x2f6915=_0x492eaf['getAttribute']('uploadcareImageId'),_0xd8752b=_0x492eaf['getAttribute']('src');if(_0x2f6915)await this['_loadImageInfo'](_0x2f6915,_0xd8752b);else{if(this['_imageCache']['has'](_0xd8752b)){const _0x4b5611=this['_imageCache']['get'](_0xd8752b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b5611['url'],this['imageDimension']=_0x4b5611['dimension'],this['imageId']=_0x4b5611['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4b9052}=this['_editor'],t=_0x4b9052['t'],_0xa5bf3f=new _0x818396(_0x4b9052,this['imageStatus'],this['_attributes']);_0xa5bf3f['bind']('status')['to'](this,'imageStatus'),_0xa5bf3f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xa5bf3f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xa5bf3f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xa5bf3f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x38e322,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xa5bf3f,'position':_0x162e5f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xa5bf3f['focus']();},'onHide':()=>{_0xa5bf3f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ad1cd=>!_0xa47186(_0x4ad1cd,_0xa5bf3f['element'])}});}['_loadImageInfo'](_0x5c4637,_0x2bed13){return _0x4cf638['getInfo'](_0x5c4637,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x7efda0=>{const {width:_0x3e1a55,height:_0xeeb3e9}=_0x7efda0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bed13,this['imageDimension']={'width':_0x3e1a55,'height':_0xeeb3e9},this['imageId']=_0x5c4637;})['catch'](_0x5a0022=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a0022['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x125903,_0x51be56){return this['_getImageAsFile'](_0x125903)['then'](_0x16c908=>_0x4cf638['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x51be56['signal'],'file':_0x16c908,'onProgress':_0x1c870c=>{_0x1c870c&&_0x1c870c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c870c['value']));}}))['then'](_0xbae6c9=>{const {width:_0x34ba20,height:_0x92f34a}=_0xbae6c9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbae6c9['cdnUrl'],this['imageDimension']={'width':_0x34ba20,'height':_0x92f34a},this['imageId']=_0xbae6c9['uuid'],this['imageUploadProgress']=null;const _0x200b59=_0x125903['getAttribute']('src');this['_imageCache']['set'](_0x200b59,{'id':_0xbae6c9['uuid'],'url':_0xbae6c9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x319a2b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x319a2b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xea3b45,_0x391260){_0xea3b45['on']('apply',(_0x6685f8,_0x38e67f)=>{this['_replaceImage'](_0x391260,_0x38e67f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xea3b45['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xea3b45['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3541c1,_0x16b4e4,_0x52170c){const _0x1d0a7b=this['_editor'],{width:_0x4acaca,height:_0x1f3560}=_0x4cb4e4(_0x16b4e4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5a9da2,imageSources:_0x2d5ed8}=_0x3222b6(_0x16b4e4,_0x4acaca);_0x1d0a7b['model']['change'](_0x1e1c9d=>{if('$graveyard'===_0x3541c1['root']['rootName']){_0x1d0a7b['execute']('insertImage',{'imageType':_0x3541c1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3541c1['getAttributes']()),'uploadcareImageId':_0x52170c,'src':_0x5a9da2,'sources':_0x2d5ed8,'width':_0x4acaca,'height':_0x1f3560}});const _0x283fa2=_0x3541c1['getChildren']();_0x3541c1=_0x1d0a7b['model']['document']['selection']['getSelectedElement']();for(const _0x29c687 of _0x283fa2)_0x1e1c9d['append'](_0x1e1c9d['cloneElement'](_0x29c687),_0x3541c1);}else _0x1e1c9d['setSelection'](_0x3541c1,'on'),_0x1d0a7b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3541c1['getAttributes']()),'uploadcareImageId':_0x52170c,'src':_0x5a9da2,'sources':_0x2d5ed8,'width':_0x4acaca,'height':_0x1f3560},_0x3541c1);_0x1e1c9d['setSelection'](_0x3541c1,'on');});}async['_getImageAsFile'](_0x57239f){const _0x5c8476=_0x28b03d['window'],_0x3f0aff=_0x28b03d['document']['location']['href'],_0x469973=new _0x5c8476['URL'](_0x57239f['getAttribute']('src'),_0x3f0aff);if('data:'===_0x469973['protocol']){const _0x368b79=_0x469973['href']['split'](','),_0x2c1746=_0x368b79[0x0]['match'](/:(.*?);/)[0x1],_0x152268=_0x2c1746['split']('/')[0x1],_0x5ae4f7=_0x5c8476['atob'](_0x368b79[_0x368b79['length']-0x1]);let _0x72b0d6=_0x5ae4f7['length'];const _0x1bd460=new _0x5c8476['Uint8Array'](_0x72b0d6);for(;_0x72b0d6--;)_0x1bd460[_0x72b0d6]=_0x5ae4f7['charCodeAt'](_0x72b0d6);return new _0x5c8476['File']([_0x1bd460],'image.'+_0x152268,{'type':_0x2c1746});}const _0xa8f3ec=_0x469973['href']['split']('/'),_0x37c789=_0xa8f3ec[_0xa8f3ec['length']-0x1],_0x1fbde4=_0x37c789['split']('.')[0x1];return _0x5c8476['fetch'](_0x469973['href'])['then'](_0x2da9d9=>_0x2da9d9['clone']()['blob']())['then'](_0xdb6d0a=>new _0x5c8476['File']([_0xdb6d0a],_0x37c789,{'type':'image/'+_0x1fbde4}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x34cc90,_0x4ed7b6){const _0x12d4d4=_0x512b,_0x21a50d=_0x34cc90();while(!![]){try{const _0x4ccf3f=-parseInt(_0x12d4d4(0x169))/0x1*(-parseInt(_0x12d4d4(0x16a))/0x2)+-parseInt(_0x12d4d4(0x162))/0x3+parseInt(_0x12d4d4(0x161))/0x4+parseInt(_0x12d4d4(0x163))/0x5*(parseInt(_0x12d4d4(0x15a))/0x6)+parseInt(_0x12d4d4(0x15b))/0x7*(-parseInt(_0x12d4d4(0x160))/0x8)+parseInt(_0x12d4d4(0x15f))/0x9+-parseInt(_0x12d4d4(0x164))/0xa;if(_0x4ccf3f===_0x4ed7b6)break;else _0x21a50d['push'](_0x21a50d['shift']());}catch(_0x3265c9){_0x21a50d['push'](_0x21a50d['shift']());}}}(_0x1992,0xde0d7));function _0x512b(_0x2a5444,_0x2b33c9){const _0x19920a=_0x1992();return _0x512b=function(_0x512bce,_0x35f04c){_0x512bce=_0x512bce-0x159;let _0x150c79=_0x19920a[_0x512bce];return _0x150c79;},_0x512b(_0x2a5444,_0x2b33c9);}import{View as _0x28b54d}from'ckeditor5/src/ui.js';export default class tt extends _0x28b54d{constructor(_0x5b04cc,_0x536ea4){const _0x5a0706=_0x512b;super(_0x5b04cc);const _0x359c4b=this[_0x5a0706(0x165)];this[_0x5a0706(0x168)](_0x5a0706(0x166),''),this[_0x5a0706(0x15c)]({'tag':_0x5a0706(0x15e),'attributes':{..._0x536ea4,'class':[_0x5a0706(0x159),_0x5a0706(0x15d)],'ctx-name':_0x5a0706(0x167),'cdn-url':_0x359c4b['to'](_0x5a0706(0x166))}});}}function _0x1992(){const _0x504d05=['imageSrc','image-edit','set','4322yXbeKg','558jPObwq','uc-light','15144mdgjBB','1169YEAIWg','setTemplate','ck-uploadcare-theme','uc-cloud-image-editor','13421502mzYkmU','128oLCyMn','316756vxLpxk','1475742zvMBTE','2935smvxSa','28537800wyKfUB','bindTemplate'];_0x1992=function(){return _0x504d05;};return _0x1992();}
23
+ (function(_0x2f0725,_0x3bd3d6){const _0x3a5e6f=_0x1bb3,_0x5f463a=_0x2f0725();while(!![]){try{const _0x43735b=-parseInt(_0x3a5e6f(0xa5))/0x1+-parseInt(_0x3a5e6f(0xa0))/0x2*(-parseInt(_0x3a5e6f(0xac))/0x3)+-parseInt(_0x3a5e6f(0xa4))/0x4+parseInt(_0x3a5e6f(0xab))/0x5*(parseInt(_0x3a5e6f(0xa1))/0x6)+-parseInt(_0x3a5e6f(0xad))/0x7+-parseInt(_0x3a5e6f(0x9f))/0x8*(-parseInt(_0x3a5e6f(0xb0))/0x9)+-parseInt(_0x3a5e6f(0xaa))/0xa*(parseInt(_0x3a5e6f(0x9e))/0xb);if(_0x43735b===_0x3bd3d6)break;else _0x5f463a['push'](_0x5f463a['shift']());}catch(_0x2037ef){_0x5f463a['push'](_0x5f463a['shift']());}}}(_0x4807,0x9985d));import{View as _0x52352f}from'ckeditor5/src/ui.js';function _0x1bb3(_0x2c83a7,_0x3f56a8){const _0x480759=_0x4807();return _0x1bb3=function(_0x1bb385,_0x2b2ea4){_0x1bb385=_0x1bb385-0x9e;let _0x2d3042=_0x480759[_0x1bb385];return _0x2d3042;},_0x1bb3(_0x2c83a7,_0x3f56a8);}function _0x4807(){const _0x245669=['setTemplate','ck-uploadcare-theme','117mZpxyE','121tJcqeU','589672Sfmxts','2xmCHnh','18iXsiOY','uc-cloud-image-editor','imageSrc','3903848fLemHb','134899HDZfeK','bindTemplate','uc-light','image-edit','set','487180AJTStO','427730YpcgBs','3412218NYMNwQ','536711MoUWUF'];_0x4807=function(){return _0x245669;};return _0x4807();}export default class tt extends _0x52352f{constructor(_0x13d614,_0x304a1b){const _0x2fc86d=_0x1bb3;super(_0x13d614);const _0x5da83f=this[_0x2fc86d(0xa6)];this[_0x2fc86d(0xa9)](_0x2fc86d(0xa3),''),this[_0x2fc86d(0xae)]({'tag':_0x2fc86d(0xa2),'attributes':{..._0x304a1b,'class':[_0x2fc86d(0xa7),_0x2fc86d(0xaf)],'ctx-name':_0x2fc86d(0xa8),'cdn-url':_0x5da83f['to'](_0x2fc86d(0xa3))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x175186,IconView as at,View as _0x4b9258}from'ckeditor5/src/ui.js';export default class rt extends _0x4b9258{constructor(_0x1d38f1){super(_0x1d38f1);const t=_0x1d38f1['t'];this['set']('errorType',null);const _0xc69b32=new _0x175186(_0x1d38f1);_0xc69b32['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xc69b32['withText']=!0x0,_0xc69b32['class']='ck-button-action',_0xc69b32['on']('execute',()=>{this['fire']('retry');}),_0xc69b32['bind']('isVisible')['to'](this,'errorType',_0x1603c5=>'NotFound'!==_0x1603c5);const _0x24b5c3=new at();_0x24b5c3['content']=et,_0x24b5c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13d922=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':[_0x24b5c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13d922['to']('errorType',_0x4507ea=>t('NotFound'!==_0x4507ea?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xc69b32]},{'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 _0x2d6439,IconView as at,View as _0x546e74}from'ckeditor5/src/ui.js';export default class rt extends _0x546e74{constructor(_0x448355){super(_0x448355);const t=_0x448355['t'];this['set']('errorType',null);const _0x263cb7=new _0x2d6439(_0x448355);_0x263cb7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x263cb7['withText']=!0x0,_0x263cb7['class']='ck-button-action',_0x263cb7['on']('execute',()=>{this['fire']('retry');}),_0x263cb7['bind']('isVisible')['to'](this,'errorType',_0x1a474b=>'NotFound'!==_0x1a474b);const _0x59ed38=new at();_0x59ed38['content']=et,_0x59ed38['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1dcd44=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':[_0x59ed38,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1dcd44['to']('errorType',_0xa55a1a=>t('NotFound'!==_0xa55a1a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x263cb7]},{'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 _0x267b39,View as _0x18865a}from'ckeditor5/src/ui.js';export default class ta extends _0x18865a{constructor(_0x1b8ce6){super(_0x1b8ce6);const t=_0x1b8ce6['t'],_0x3b9728=this['bindTemplate'],_0x2db82d=new _0x267b39();_0x2db82d['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':[_0x2db82d,{'text':_0x3b9728['to']('imageUploadProgress',_0x4c78c4=>t('Loading\x20image...')+'\x20('+(_0x4c78c4||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 _0x2220c1,View as _0x131606}from'ckeditor5/src/ui.js';export default class ta extends _0x131606{constructor(_0x34d119){super(_0x34d119);const t=_0x34d119['t'],_0xe60d95=this['bindTemplate'],_0x145d4c=new _0x2220c1();_0x145d4c['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':[_0x145d4c,{'text':_0xe60d95['to']('imageUploadProgress',_0x505d2a=>t('Loading\x20image...')+'\x20('+(_0x505d2a||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49b2dd=_0x30d7;(function(_0x5d5995,_0x1456fa){const _0x291e3f=_0x30d7,_0x5355f8=_0x5d5995();while(!![]){try{const _0x333d4f=-parseInt(_0x291e3f(0x18a))/0x1+parseInt(_0x291e3f(0x17a))/0x2+parseInt(_0x291e3f(0x18c))/0x3*(parseInt(_0x291e3f(0x183))/0x4)+parseInt(_0x291e3f(0x186))/0x5+parseInt(_0x291e3f(0x18d))/0x6+parseInt(_0x291e3f(0x188))/0x7+-parseInt(_0x291e3f(0x192))/0x8*(parseInt(_0x291e3f(0x1a5))/0x9);if(_0x333d4f===_0x1456fa)break;else _0x5355f8['push'](_0x5355f8['shift']());}catch(_0x56de5f){_0x5355f8['push'](_0x5355f8['shift']());}}}(_0x44c2,0x88e3b));import{View as _0x210991}from'ckeditor5/src/ui.js';function _0x30d7(_0x40d21b,_0x311ce1){const _0x44c282=_0x44c2();return _0x30d7=function(_0x30d70d,_0x32d1c3){_0x30d70d=_0x30d70d-0x173;let _0x567e9a=_0x44c282[_0x30d70d];return _0x567e9a;},_0x30d7(_0x40d21b,_0x311ce1);}import _0x41092d from'./uploadcareimageeditformloadingview.js';import _0x1e9ef4 from'./uploadcareimageeditformerrorview.js';import _0x13bdd0 from'./uploadcareimageeditformeditingview.js';import _0x355473 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x44c2(){const _0x515dfb=['getFocusableElement','ready','uploading','_addUploadcareImageEditorListeners','nodeName','_items','2261096fnDCCw','addMany','addedNodes','3853905VnZUZh','apply','6931043FmQfNl','disconnect','108177ILphKO','div','3DsYTVP','4408308qDsUvd','cancel','length','ck-reset_all-excluded','fire','16IddDQC','set','toLowerCase','_addErrorViewListeners','setTemplate','_errorView','addEventListener','add','filter','error','_editingView','status','_focusableView','once','ck-uploadcare-form','observe','createCollection','cdnUrl','_setView','14536593pqDKVX','target','render','uc-cloud-image-editor','change:status','detail','focus','element','retry','clear','querySelector','1676616akgWMt','_loadingView','_waitForImageEditorComponent'];_0x44c2=function(){return _0x515dfb;};return _0x44c2();}export default class Z extends _0x355473{[_0x49b2dd(0x182)];[_0x49b2dd(0x17b)];[_0x49b2dd(0x197)];[_0x49b2dd(0x19c)];[_0x49b2dd(0x19e)];constructor(_0x1f23bc,_0xbba6d6,_0x1b9002){const _0x3cadc4=_0x49b2dd;super(_0x1f23bc),this[_0x3cadc4(0x182)]=this[_0x3cadc4(0x1a2)](),this[_0x3cadc4(0x17b)]=new _0x41092d(_0x1f23bc),this[_0x3cadc4(0x197)]=new _0x1e9ef4(_0x1f23bc),this[_0x3cadc4(0x19c)]=new _0x13bdd0(_0x1f23bc,_0x1b9002),this[_0x3cadc4(0x19e)]=new _0x210991(_0x1f23bc),this[_0x3cadc4(0x19e)][_0x3cadc4(0x196)](this[_0x3cadc4(0x17d)]()),this[_0x3cadc4(0x193)](_0x3cadc4(0x19d),_0xbba6d6),this[_0x3cadc4(0x196)]({'tag':_0x3cadc4(0x18b),'attributes':{'class':['ck',_0x3cadc4(0x190),_0x3cadc4(0x1a0)],'tabindex':'-1'},'children':this[_0x3cadc4(0x182)]}),this[_0x3cadc4(0x1a4)](),this[_0x3cadc4(0x19f)](_0x3cadc4(0x1a7),()=>{const _0x476b2c=_0x3cadc4;this[_0x476b2c(0x17c)](this[_0x476b2c(0x176)],_0x56c64b=>{const _0x35f796=_0x476b2c;this[_0x35f796(0x180)](_0x56c64b);});}),this['on'](_0x3cadc4(0x173),()=>{const _0x56f13b=_0x3cadc4;this[_0x56f13b(0x1a4)]();}),this[_0x3cadc4(0x195)]();}[_0x49b2dd(0x175)](){const _0x27e7be=_0x49b2dd;this[_0x27e7be(0x176)][_0x27e7be(0x175)]();}[_0x49b2dd(0x1a4)](){const _0x30f2a2=_0x49b2dd;switch(this[_0x30f2a2(0x182)][_0x30f2a2(0x178)](),this[_0x30f2a2(0x19d)]){case _0x30f2a2(0x17f):this[_0x30f2a2(0x182)][_0x30f2a2(0x199)](this[_0x30f2a2(0x17b)]);break;case _0x30f2a2(0x19b):this[_0x30f2a2(0x182)][_0x30f2a2(0x199)](this[_0x30f2a2(0x197)]);break;case _0x30f2a2(0x17e):this[_0x30f2a2(0x182)][_0x30f2a2(0x184)]([this[_0x30f2a2(0x19c)],this[_0x30f2a2(0x19e)]]);}}[_0x49b2dd(0x17c)](_0x1191b1,_0x2f2654){const _0x55dda3=_0x49b2dd,_0x11ff63=_0x55dda3(0x1a8),_0x4fb354=_0x1191b1[_0x55dda3(0x179)](_0x11ff63);if(_0x4fb354)return _0x2f2654(_0x4fb354);const _0xb8a360=new MutationObserver(_0x332edb=>{const _0x16a669=_0x55dda3,_0x5aea84=_0x332edb[_0x16a669(0x19a)](_0x48f358=>_0x48f358[_0x16a669(0x1a6)]===_0x1191b1&&_0x48f358[_0x16a669(0x185)][_0x16a669(0x18f)]>0x0&&_0x48f358[_0x16a669(0x185)][0x0][_0x16a669(0x181)][_0x16a669(0x194)]()===_0x11ff63);_0x5aea84[_0x16a669(0x18f)]&&(_0xb8a360[_0x16a669(0x189)](),_0x2f2654(_0x5aea84[0x0][_0x16a669(0x185)][0x0]));});_0xb8a360[_0x55dda3(0x1a1)](_0x1191b1,{'childList':!0x0,'subtree':!0x0});}[_0x49b2dd(0x180)](_0x460f66){const _0x655d35=_0x49b2dd;_0x460f66[_0x655d35(0x198)](_0x655d35(0x187),_0x303685=>{const _0x4870c8=_0x655d35;this[_0x4870c8(0x191)](_0x4870c8(0x187),{'imageSrc':_0x303685[_0x4870c8(0x174)][_0x4870c8(0x1a3)]});}),_0x460f66[_0x655d35(0x198)](_0x655d35(0x18e),()=>{const _0x30751e=_0x655d35;this[_0x30751e(0x191)](_0x30751e(0x18e));});}[_0x49b2dd(0x195)](){const _0x10a44e=_0x49b2dd;this[_0x10a44e(0x197)]['on'](_0x10a44e(0x177),()=>{const _0x7572d6=_0x10a44e;this[_0x7572d6(0x191)](_0x7572d6(0x177));});}}
23
+ const _0x20d9ac=_0x3d14;(function(_0x505ea4,_0xfd0bc0){const _0x18e765=_0x3d14,_0x3009ab=_0x505ea4();while(!![]){try{const _0x2a9de9=-parseInt(_0x18e765(0xd0))/0x1*(-parseInt(_0x18e765(0xe5))/0x2)+parseInt(_0x18e765(0xf4))/0x3*(-parseInt(_0x18e765(0xeb))/0x4)+parseInt(_0x18e765(0x107))/0x5*(parseInt(_0x18e765(0xd9))/0x6)+-parseInt(_0x18e765(0xfa))/0x7*(parseInt(_0x18e765(0x106))/0x8)+-parseInt(_0x18e765(0xf1))/0x9+-parseInt(_0x18e765(0xe3))/0xa*(parseInt(_0x18e765(0x105))/0xb)+-parseInt(_0x18e765(0xd3))/0xc*(-parseInt(_0x18e765(0xfc))/0xd);if(_0x2a9de9===_0xfd0bc0)break;else _0x3009ab['push'](_0x3009ab['shift']());}catch(_0x3f3800){_0x3009ab['push'](_0x3009ab['shift']());}}}(_0x21aa,0x2e874));function _0x3d14(_0x408518,_0x5f3d0f){const _0x21aa1a=_0x21aa();return _0x3d14=function(_0x3d1412,_0x373082){_0x3d1412=_0x3d1412-0xd0;let _0x3bf206=_0x21aa1a[_0x3d1412];return _0x3bf206;},_0x3d14(_0x408518,_0x5f3d0f);}import{View as _0x1da708}from'ckeditor5/src/ui.js';import _0x48fff1 from'./uploadcareimageeditformloadingview.js';import _0xe60628 from'./uploadcareimageeditformerrorview.js';import _0x515721 from'./uploadcareimageeditformeditingview.js';import _0x4ccf1c from'../../utils/dialogfocusmanagerview.js';function _0x21aa(){const _0xaaddfc=['length','3958FacOhj','createCollection','add','_focusableView','fire','toLowerCase','12rtqTpJ','set','addEventListener','addMany','detail','_editingView','2803320qOWGyF','disconnect','target','56169IELGYx','uploading','_errorView','clear','_items','_loadingView','49oOxOKy','querySelector','3783RWrQrS','ck-reset_all-excluded','div','cdnUrl','cancel','focus','error','once','ck-uploadcare-form','994807iIyeSP','300536cEVRtL','40RwzHZM','uc-cloud-image-editor','_waitForImageEditorComponent','2ksGzLk','nodeName','observe','42204jcnDmr','_addErrorViewListeners','change:status','_setView','filter','retry','48828kfmClc','setTemplate','addedNodes','element','status','apply','_addUploadcareImageEditorListeners','getFocusableElement','ready','render','30jakxcy'];_0x21aa=function(){return _0xaaddfc;};return _0x21aa();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x4ccf1c{[_0x20d9ac(0xf8)];[_0x20d9ac(0xf9)];[_0x20d9ac(0xf6)];[_0x20d9ac(0xf0)];[_0x20d9ac(0xe8)];constructor(_0x5373f7,_0x3ef534,_0x19134f){const _0x5e4979=_0x20d9ac;super(_0x5373f7),this[_0x5e4979(0xf8)]=this[_0x5e4979(0xe6)](),this[_0x5e4979(0xf9)]=new _0x48fff1(_0x5373f7),this[_0x5e4979(0xf6)]=new _0xe60628(_0x5373f7),this[_0x5e4979(0xf0)]=new _0x515721(_0x5373f7,_0x19134f),this[_0x5e4979(0xe8)]=new _0x1da708(_0x5373f7),this[_0x5e4979(0xe8)][_0x5e4979(0xda)](this[_0x5e4979(0xe0)]()),this[_0x5e4979(0xec)](_0x5e4979(0xdd),_0x3ef534),this[_0x5e4979(0xda)]({'tag':_0x5e4979(0xfe),'attributes':{'class':['ck',_0x5e4979(0xfd),_0x5e4979(0x104)],'tabindex':'-1'},'children':this[_0x5e4979(0xf8)]}),this[_0x5e4979(0xd6)](),this[_0x5e4979(0x103)](_0x5e4979(0xe2),()=>{const _0x2a679c=_0x5e4979;this[_0x2a679c(0x109)](this[_0x2a679c(0xdc)],_0x21faac=>{const _0x5b3b35=_0x2a679c;this[_0x5b3b35(0xdf)](_0x21faac);});}),this['on'](_0x5e4979(0xd5),()=>{const _0x54b945=_0x5e4979;this[_0x54b945(0xd6)]();}),this[_0x5e4979(0xd4)]();}[_0x20d9ac(0x101)](){const _0x3f6313=_0x20d9ac;this[_0x3f6313(0xdc)][_0x3f6313(0x101)]();}[_0x20d9ac(0xd6)](){const _0x34309b=_0x20d9ac;switch(this[_0x34309b(0xf8)][_0x34309b(0xf7)](),this[_0x34309b(0xdd)]){case _0x34309b(0xf5):this[_0x34309b(0xf8)][_0x34309b(0xe7)](this[_0x34309b(0xf9)]);break;case _0x34309b(0x102):this[_0x34309b(0xf8)][_0x34309b(0xe7)](this[_0x34309b(0xf6)]);break;case _0x34309b(0xe1):this[_0x34309b(0xf8)][_0x34309b(0xee)]([this[_0x34309b(0xf0)],this[_0x34309b(0xe8)]]);}}[_0x20d9ac(0x109)](_0x111619,_0x2407a8){const _0x3b3233=_0x20d9ac,_0x320e90=_0x3b3233(0x108),_0x541de3=_0x111619[_0x3b3233(0xfb)](_0x320e90);if(_0x541de3)return _0x2407a8(_0x541de3);const _0x1d43e3=new MutationObserver(_0x34b7be=>{const _0x100ae9=_0x3b3233,_0x56cb6f=_0x34b7be[_0x100ae9(0xd7)](_0x2f72e7=>_0x2f72e7[_0x100ae9(0xf3)]===_0x111619&&_0x2f72e7[_0x100ae9(0xdb)][_0x100ae9(0xe4)]>0x0&&_0x2f72e7[_0x100ae9(0xdb)][0x0][_0x100ae9(0xd1)][_0x100ae9(0xea)]()===_0x320e90);_0x56cb6f[_0x100ae9(0xe4)]&&(_0x1d43e3[_0x100ae9(0xf2)](),_0x2407a8(_0x56cb6f[0x0][_0x100ae9(0xdb)][0x0]));});_0x1d43e3[_0x3b3233(0xd2)](_0x111619,{'childList':!0x0,'subtree':!0x0});}[_0x20d9ac(0xdf)](_0x55d64f){const _0xda1020=_0x20d9ac;_0x55d64f[_0xda1020(0xed)](_0xda1020(0xde),_0x1e0d14=>{const _0x4f3f28=_0xda1020;this[_0x4f3f28(0xe9)](_0x4f3f28(0xde),{'imageSrc':_0x1e0d14[_0x4f3f28(0xef)][_0x4f3f28(0xff)]});}),_0x55d64f[_0xda1020(0xed)](_0xda1020(0x100),()=>{const _0xd8806a=_0xda1020;this[_0xd8806a(0xe9)](_0xd8806a(0x100));});}[_0x20d9ac(0xd4)](){const _0xc20f46=_0x20d9ac;this[_0xc20f46(0xf6)]['on'](_0xc20f46(0xd8),()=>{const _0x19f7e1=_0xc20f46;this[_0x19f7e1(0xe9)](_0x19f7e1(0xd8));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x474f(_0x3d8a4f,_0x29fe30){const _0x15a242=_0x15a2();return _0x474f=function(_0x474fd5,_0x4897d9){_0x474fd5=_0x474fd5-0xa9;let _0x43dc1a=_0x15a242[_0x474fd5];return _0x43dc1a;},_0x474f(_0x3d8a4f,_0x29fe30);}const _0x416c51=_0x474f;(function(_0x377d72,_0x576125){const _0x41e65e=_0x474f,_0x2b59e9=_0x377d72();while(!![]){try{const _0x1708aa=-parseInt(_0x41e65e(0xaa))/0x1*(-parseInt(_0x41e65e(0xb1))/0x2)+parseInt(_0x41e65e(0xbb))/0x3*(parseInt(_0x41e65e(0xc0))/0x4)+-parseInt(_0x41e65e(0xc5))/0x5+-parseInt(_0x41e65e(0xaf))/0x6+parseInt(_0x41e65e(0xc7))/0x7+parseInt(_0x41e65e(0xb9))/0x8*(parseInt(_0x41e65e(0xb7))/0x9)+-parseInt(_0x41e65e(0xc1))/0xa;if(_0x1708aa===_0x576125)break;else _0x2b59e9['push'](_0x2b59e9['shift']());}catch(_0x4d72c7){_0x2b59e9['push'](_0x2b59e9['shift']());}}}(_0x15a2,0x53150));function _0x15a2(){const _0x178cfb=['set','execute','plugins','isActive','_isEditable','698769iHFYvg','isEnabled','32iDyvWU','selection','1899321VtcHDz','imageEditController','document','model','requires','4XSYbMR','1260830sangis','get','bind','editor','1684080JguCZg','imageBlock','1046976hbytJu','getSelectedElement','refresh','14CaCFhU','config','imageInline','element','unbind','2981988RPbPVP','uploadcare.allowExternalImagesEditing','29566DTWvOM'];_0x15a2=function(){return _0x178cfb;};return _0x15a2();}import{Command as _0x2e0c12}from'ckeditor5/src/core.js';import{Dialog as _0x44f6cf}from'ckeditor5/src/ui.js';import _0xcbed23 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x19d70e}from'../utils/editingutils.js';export default class J extends _0x2e0c12{[_0x416c51(0xbc)];static get[_0x416c51(0xbf)](){return[_0x44f6cf];}[_0x416c51(0xb6)];constructor(_0x3c2905){const _0x2cb8f6=_0x416c51;super(_0x3c2905),this[_0x2cb8f6(0xbc)]=void 0x0,this[_0x2cb8f6(0xb6)]=_0x19d70e(_0x3c2905[_0x2cb8f6(0xab)][_0x2cb8f6(0xc2)](_0x2cb8f6(0xb0))||[]),this[_0x2cb8f6(0xb2)]({'isActive':!0x1});}[_0x416c51(0xa9)](){const _0x266663=_0x416c51,_0x204fdd=this[_0x266663(0xc4)][_0x266663(0xbe)][_0x266663(0xbd)][_0x266663(0xba)][_0x266663(0xc8)]();this[_0x266663(0xb8)]=this[_0x266663(0xb6)](_0x204fdd);}[_0x416c51(0xb3)](){const _0x3124ba=_0x416c51;this[_0x3124ba(0xbc)]&&(this[_0x3124ba(0xae)](_0x3124ba(0xb5)),this[_0x3124ba(0xbc)]=void 0x0);const _0x15f04d=this[_0x3124ba(0xc4)][_0x3124ba(0xbe)][_0x3124ba(0xbd)][_0x3124ba(0xba)][_0x3124ba(0xc8)]();_0x15f04d&&(_0x15f04d['is'](_0x3124ba(0xad),_0x3124ba(0xc6))||_0x15f04d['is'](_0x3124ba(0xad),_0x3124ba(0xac)))&&(this[_0x3124ba(0xbc)]=new _0xcbed23(this[_0x3124ba(0xc4)],this[_0x3124ba(0xc4)][_0x3124ba(0xb4)][_0x3124ba(0xc2)](_0x44f6cf),_0x15f04d),this[_0x3124ba(0xc3)](_0x3124ba(0xb5))['to'](this[_0x3124ba(0xbc)],_0x3124ba(0xb5)));}}
23
+ const _0x43db36=_0x3d5f;(function(_0x5e31b6,_0x4d1b01){const _0x29c9a0=_0x3d5f,_0xcde2de=_0x5e31b6();while(!![]){try{const _0x18f566=parseInt(_0x29c9a0(0x142))/0x1+-parseInt(_0x29c9a0(0x152))/0x2+parseInt(_0x29c9a0(0x149))/0x3+parseInt(_0x29c9a0(0x150))/0x4*(-parseInt(_0x29c9a0(0x14a))/0x5)+-parseInt(_0x29c9a0(0x15d))/0x6*(parseInt(_0x29c9a0(0x14d))/0x7)+-parseInt(_0x29c9a0(0x15c))/0x8+parseInt(_0x29c9a0(0x156))/0x9;if(_0x18f566===_0x4d1b01)break;else _0xcde2de['push'](_0xcde2de['shift']());}catch(_0x37d2a0){_0xcde2de['push'](_0xcde2de['shift']());}}}(_0x1c01,0x67a73));import{Command as _0x25614a}from'ckeditor5/src/core.js';import{Dialog as _0x4cacd1}from'ckeditor5/src/ui.js';import _0x44ee8c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x50d729}from'../utils/editingutils.js';function _0x3d5f(_0x247a70,_0x4911d7){const _0x1c012a=_0x1c01();return _0x3d5f=function(_0x3d5fd3,_0x51d9b6){_0x3d5fd3=_0x3d5fd3-0x140;let _0x404985=_0x1c012a[_0x3d5fd3];return _0x404985;},_0x3d5f(_0x247a70,_0x4911d7);}function _0x1c01(){const _0x3eb2a7=['imageInline','element','selection','model','editor','1861425caqFyq','5KiNyCp','document','isEnabled','56cFzEym','imageEditController','unbind','2956636NsuvfC','get','89642MbtPiM','requires','set','imageBlock','11539611MDLEHd','isActive','uploadcare.allowExternalImagesEditing','getSelectedElement','plugins','refresh','2470416oRKoke','305796SllDqC','execute','bind','config','22419PcVKRh','_isEditable'];_0x1c01=function(){return _0x3eb2a7;};return _0x1c01();}export default class J extends _0x25614a{[_0x43db36(0x14e)];static get[_0x43db36(0x153)](){return[_0x4cacd1];}[_0x43db36(0x143)];constructor(_0x41e601){const _0x3b3a19=_0x43db36;super(_0x41e601),this[_0x3b3a19(0x14e)]=void 0x0,this[_0x3b3a19(0x143)]=_0x50d729(_0x41e601[_0x3b3a19(0x141)][_0x3b3a19(0x151)](_0x3b3a19(0x158))||[]),this[_0x3b3a19(0x154)]({'isActive':!0x1});}[_0x43db36(0x15b)](){const _0x17b7ab=_0x43db36,_0x1d52c1=this[_0x17b7ab(0x148)][_0x17b7ab(0x147)][_0x17b7ab(0x14b)][_0x17b7ab(0x146)][_0x17b7ab(0x159)]();this[_0x17b7ab(0x14c)]=this[_0x17b7ab(0x143)](_0x1d52c1);}[_0x43db36(0x15e)](){const _0x4d0099=_0x43db36;this[_0x4d0099(0x14e)]&&(this[_0x4d0099(0x14f)](_0x4d0099(0x157)),this[_0x4d0099(0x14e)]=void 0x0);const _0x3799cf=this[_0x4d0099(0x148)][_0x4d0099(0x147)][_0x4d0099(0x14b)][_0x4d0099(0x146)][_0x4d0099(0x159)]();_0x3799cf&&(_0x3799cf['is'](_0x4d0099(0x145),_0x4d0099(0x155))||_0x3799cf['is'](_0x4d0099(0x145),_0x4d0099(0x144)))&&(this[_0x4d0099(0x14e)]=new _0x44ee8c(this[_0x4d0099(0x148)],this[_0x4d0099(0x148)][_0x4d0099(0x15a)][_0x4d0099(0x151)](_0x4cacd1),_0x3799cf),this[_0x4d0099(0x140)](_0x4d0099(0x157))['to'](this[_0x4d0099(0x14e)],_0x4d0099(0x157)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5760a0=_0x4cf6;function _0x4cf6(_0x4d814e,_0xc56750){const _0xc30354=_0xc303();return _0x4cf6=function(_0x4cf68d,_0x84149){_0x4cf68d=_0x4cf68d-0x163;let _0xf8377d=_0xc30354[_0x4cf68d];return _0xf8377d;},_0x4cf6(_0x4d814e,_0xc56750);}(function(_0x3e8d23,_0x202aa8){const _0x1f8d74=_0x4cf6,_0x3726b0=_0x3e8d23();while(!![]){try{const _0x534b9a=-parseInt(_0x1f8d74(0x168))/0x1*(-parseInt(_0x1f8d74(0x175))/0x2)+parseInt(_0x1f8d74(0x166))/0x3*(-parseInt(_0x1f8d74(0x16e))/0x4)+-parseInt(_0x1f8d74(0x174))/0x5*(-parseInt(_0x1f8d74(0x171))/0x6)+-parseInt(_0x1f8d74(0x16d))/0x7*(-parseInt(_0x1f8d74(0x179))/0x8)+parseInt(_0x1f8d74(0x169))/0x9+-parseInt(_0x1f8d74(0x16c))/0xa+-parseInt(_0x1f8d74(0x173))/0xb;if(_0x534b9a===_0x202aa8)break;else _0x3726b0['push'](_0x3726b0['shift']());}catch(_0x1c6359){_0x3726b0['push'](_0x3726b0['shift']());}}}(_0xc303,0x62dad));import{Plugin as _0x138845}from'ckeditor5/src/core.js';import{Notification as _0x4bb21a}from'ckeditor5/src/ui.js';function _0xc303(){const _0x536059=['4224594uPmmaq','1514540kAbKTw','3554VyqDwO','ImageUtils','pluginName','uploadcareImageEdit','5613328BJdwtW','add','isOfficialPlugin','UploadcareImageEditEditing','9SAbrgk','requires','274gTtLgA','422766kMUtMo','commands','ImageEditing','1203800uQKjpN','7qUbhcb','838804RfBSBn','uploadcareImageReplace','isPremiumPlugin','6cJyFKZ','init'];_0xc303=function(){return _0x536059;};return _0xc303();}import _0x19a28e from'./uploadcareimageeditcommand.js';import _0x34fb21 from'./uploadcareimagereplacecommand.js';import _0x1219d7 from'../uploadcareediting.js';export default class g extends _0x138845{static get[_0x5760a0(0x177)](){const _0x1cef12=_0x5760a0;return _0x1cef12(0x165);}static get[_0x5760a0(0x167)](){const _0x13d409=_0x5760a0;return[_0x1219d7,_0x4bb21a,_0x13d409(0x176),_0x13d409(0x16b)];}static get[_0x5760a0(0x164)](){return!0x0;}static get[_0x5760a0(0x170)](){return!0x0;}[_0x5760a0(0x172)](){const _0x419f48=_0x5760a0,{editor:_0x1aa352}=this;_0x1aa352[_0x419f48(0x16a)][_0x419f48(0x163)](_0x419f48(0x178),new _0x19a28e(_0x1aa352)),_0x1aa352[_0x419f48(0x16a)][_0x419f48(0x163)](_0x419f48(0x16f),new _0x34fb21(_0x1aa352));}}
23
+ const _0xc6b74e=_0x1589;(function(_0x256bfd,_0x240029){const _0x3eb9f2=_0x1589,_0x5d96d9=_0x256bfd();while(!![]){try{const _0x548d4c=parseInt(_0x3eb9f2(0x166))/0x1*(-parseInt(_0x3eb9f2(0x162))/0x2)+-parseInt(_0x3eb9f2(0x15f))/0x3*(-parseInt(_0x3eb9f2(0x165))/0x4)+-parseInt(_0x3eb9f2(0x163))/0x5*(-parseInt(_0x3eb9f2(0x15c))/0x6)+-parseInt(_0x3eb9f2(0x155))/0x7*(-parseInt(_0x3eb9f2(0x16a))/0x8)+parseInt(_0x3eb9f2(0x158))/0x9*(parseInt(_0x3eb9f2(0x169))/0xa)+-parseInt(_0x3eb9f2(0x15b))/0xb*(parseInt(_0x3eb9f2(0x153))/0xc)+-parseInt(_0x3eb9f2(0x156))/0xd;if(_0x548d4c===_0x240029)break;else _0x5d96d9['push'](_0x5d96d9['shift']());}catch(_0x1a2390){_0x5d96d9['push'](_0x5d96d9['shift']());}}}(_0x3721,0x5f4ec));import{Plugin as _0x1621aa}from'ckeditor5/src/core.js';function _0x1589(_0x20e87c,_0xbcec1a){const _0x372134=_0x3721();return _0x1589=function(_0x1589e9,_0x5a3056){_0x1589e9=_0x1589e9-0x152;let _0x413c70=_0x372134[_0x1589e9];return _0x413c70;},_0x1589(_0x20e87c,_0xbcec1a);}import{Notification as _0x1bfbc6}from'ckeditor5/src/ui.js';function _0x3721(){const _0x1e0b6b=['273940rSeDoY','commands','1966444rQcomE','403dObKGH','isPremiumPlugin','uploadcareImageReplace','344530Elgdbz','296qpXBsd','add','2502012DgTsuL','ImageUtils','68999qJLyEI','3685149zOsChl','UploadcareImageEditEditing','135HrdekB','ImageEditing','requires','22MFOIUd','48zVJfrL','uploadcareImageEdit','init','3zhGOmg','pluginName','isOfficialPlugin','3576JoAJrW'];_0x3721=function(){return _0x1e0b6b;};return _0x3721();}import _0xafb3b3 from'./uploadcareimageeditcommand.js';import _0x4f98b4 from'./uploadcareimagereplacecommand.js';import _0x365ae9 from'../uploadcareediting.js';export default class g extends _0x1621aa{static get[_0xc6b74e(0x160)](){const _0x5ba644=_0xc6b74e;return _0x5ba644(0x157);}static get[_0xc6b74e(0x15a)](){const _0x2324eb=_0xc6b74e;return[_0x365ae9,_0x1bfbc6,_0x2324eb(0x154),_0x2324eb(0x159)];}static get[_0xc6b74e(0x161)](){return!0x0;}static get[_0xc6b74e(0x167)](){return!0x0;}[_0xc6b74e(0x15e)](){const _0x3ade6f=_0xc6b74e,{editor:_0x4a11d8}=this;_0x4a11d8[_0x3ade6f(0x164)][_0x3ade6f(0x152)](_0x3ade6f(0x15d),new _0xafb3b3(_0x4a11d8)),_0x4a11d8[_0x3ade6f(0x164)][_0x3ade6f(0x152)](_0x3ade6f(0x168),new _0x4f98b4(_0x4a11d8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5486d8}from'ckeditor5/src/core.js';import{ButtonView as _0x584e64}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ec5b2}from'ckeditor5/src/icons.js';import{createElement as _0x2f6d45}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 _0x5486d8{['_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 _0x327afb=this['editor'];_0x327afb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x420257=>{const _0x711ed9=_0x327afb['commands']['get']('uploadcareImageEdit'),_0x3f188f=new _0x584e64(_0x420257),t=_0x420257['t'];return _0x3f188f['set']({'icon':_0x5ec5b2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3f188f['bind']('isEnabled')['to'](_0x711ed9),_0x3f188f['bind']('isOn')['to'](_0x711ed9,'isActive'),this['listenTo'](_0x3f188f,'execute',()=>{_0x327afb['execute']('uploadcareImageEdit'),_0x327afb['editing']['view']['focus']();}),_0x3f188f;}),this['_initConfig']();}['_initConfig'](){const _0x509983=_0x2f6d45(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x509983),this['listenTo'](this['editor'],'destroy',()=>{_0x509983['remove']();});}}
23
+ import{Plugin as _0x537b24}from'ckeditor5/src/core.js';import{ButtonView as _0x1f2bf4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5dfa2d}from'ckeditor5/src/icons.js';import{createElement as _0x22996e}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 _0x537b24{['_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 _0x1ff779=this['editor'];_0x1ff779['ui']['componentFactory']['add']('uploadcareImageEdit',_0x666043=>{const _0x2dbc8f=_0x1ff779['commands']['get']('uploadcareImageEdit'),_0x3312b2=new _0x1f2bf4(_0x666043),t=_0x666043['t'];return _0x3312b2['set']({'icon':_0x5dfa2d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3312b2['bind']('isEnabled')['to'](_0x2dbc8f),_0x3312b2['bind']('isOn')['to'](_0x2dbc8f,'isActive'),this['listenTo'](_0x3312b2,'execute',()=>{_0x1ff779['execute']('uploadcareImageEdit'),_0x1ff779['editing']['view']['focus']();}),_0x3312b2;}),this['_initConfig']();}['_initConfig'](){const _0x47aa89=_0x22996e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x47aa89),this['listenTo'](this['editor'],'destroy',()=>{_0x47aa89['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7b6a(){const _0x5e104d=['1153732miBvXq','model','getSelectedElement','refresh','683910pySqvo','element','change','2cCdQQz','setAttributes','sizes','667041GDHqTV','6osaPQm','1087736ChkbdZ','execute','removeAttribute','editor','isEnabled','786580AciNhW','imageBlock','document','2791817JObXNh','selection','27ImRVQm','imageInline','srcset','254706RYpvDA'];_0x7b6a=function(){return _0x5e104d;};return _0x7b6a();}const _0x1eba96=_0x393f;(function(_0xb382f5,_0x192c87){const _0x3ea76f=_0x393f,_0x18e542=_0xb382f5();while(!![]){try{const _0x553ad5=parseInt(_0x3ea76f(0xa3))/0x1+-parseInt(_0x3ea76f(0xab))/0x2*(parseInt(_0x3ea76f(0xae))/0x3)+parseInt(_0x3ea76f(0xa4))/0x4+-parseInt(_0x3ea76f(0xb5))/0x5+parseInt(_0x3ea76f(0xaf))/0x6*(parseInt(_0x3ea76f(0xb8))/0x7)+-parseInt(_0x3ea76f(0xb0))/0x8*(parseInt(_0x3ea76f(0xba))/0x9)+parseInt(_0x3ea76f(0xa8))/0xa;if(_0x553ad5===_0x192c87)break;else _0x18e542['push'](_0x18e542['shift']());}catch(_0x53a6bc){_0x18e542['push'](_0x18e542['shift']());}}}(_0x7b6a,0x3664d));import{Command as _0xb66ee8}from'ckeditor5/src/core.js';function _0x393f(_0x4d0d49,_0x3feaaa){const _0x7b6a39=_0x7b6a();return _0x393f=function(_0x393f76,_0x2fde8b){_0x393f76=_0x393f76-0xa2;let _0x4ffd80=_0x7b6a39[_0x393f76];return _0x4ffd80;},_0x393f(_0x4d0d49,_0x3feaaa);}export default class O extends _0xb66ee8{[_0x1eba96(0xa7)](){const _0x2284f3=_0x1eba96,_0x3dfaa8=this[_0x2284f3(0xb3)][_0x2284f3(0xa5)][_0x2284f3(0xb7)][_0x2284f3(0xb9)][_0x2284f3(0xa6)]();this[_0x2284f3(0xb4)]=Boolean(_0x3dfaa8&&(_0x3dfaa8['is'](_0x2284f3(0xa9),_0x2284f3(0xb6))||_0x3dfaa8['is'](_0x2284f3(0xa9),_0x2284f3(0xbb))));}[_0x1eba96(0xb1)](_0xda7a79){const _0x520b93=_0x1eba96,_0x1195a8=this[_0x520b93(0xb3)][_0x520b93(0xa5)][_0x520b93(0xb7)][_0x520b93(0xb9)][_0x520b93(0xa6)]();this[_0x520b93(0xb3)][_0x520b93(0xa5)][_0x520b93(0xaa)](_0x30cd26=>{const _0x123b27=_0x520b93;_0x30cd26[_0x123b27(0xac)](_0xda7a79,_0x1195a8),_0x30cd26[_0x123b27(0xb2)](_0x123b27(0xa2),_0x1195a8),_0x30cd26[_0x123b27(0xb2)](_0x123b27(0xad),_0x1195a8);});}}
23
+ const _0x2c7ad1=_0x3056;(function(_0x5731bc,_0xf28ba2){const _0xd6a566=_0x3056,_0x113a5e=_0x5731bc();while(!![]){try{const _0x293e44=parseInt(_0xd6a566(0xe3))/0x1+parseInt(_0xd6a566(0xed))/0x2*(-parseInt(_0xd6a566(0xef))/0x3)+parseInt(_0xd6a566(0xe4))/0x4*(-parseInt(_0xd6a566(0xe1))/0x5)+parseInt(_0xd6a566(0xf7))/0x6*(parseInt(_0xd6a566(0xe0))/0x7)+-parseInt(_0xd6a566(0xe7))/0x8*(-parseInt(_0xd6a566(0xeb))/0x9)+parseInt(_0xd6a566(0xf3))/0xa+-parseInt(_0xd6a566(0xe9))/0xb;if(_0x293e44===_0xf28ba2)break;else _0x113a5e['push'](_0x113a5e['shift']());}catch(_0x34d224){_0x113a5e['push'](_0x113a5e['shift']());}}}(_0xc491,0x580f0));function _0x3056(_0x5df839,_0xec3c22){const _0xc491a7=_0xc491();return _0x3056=function(_0x305664,_0x4c0aa8){_0x305664=_0x305664-0xe0;let _0x64a3d0=_0xc491a7[_0x305664];return _0x64a3d0;},_0x3056(_0x5df839,_0xec3c22);}import{Command as _0x5424eb}from'ckeditor5/src/core.js';export default class O extends _0x5424eb{[_0x2c7ad1(0xee)](){const _0x1ea38a=_0x2c7ad1,_0x232cc9=this[_0x1ea38a(0xe8)][_0x1ea38a(0xf9)][_0x1ea38a(0xe2)][_0x1ea38a(0xf8)][_0x1ea38a(0xf1)]();this[_0x1ea38a(0xea)]=Boolean(_0x232cc9&&(_0x232cc9['is'](_0x1ea38a(0xe5),_0x1ea38a(0xec))||_0x232cc9['is'](_0x1ea38a(0xe5),_0x1ea38a(0xf2))));}[_0x2c7ad1(0xf4)](_0x343b62){const _0x5b9d91=_0x2c7ad1,_0x3f20c8=this[_0x5b9d91(0xe8)][_0x5b9d91(0xf9)][_0x5b9d91(0xe2)][_0x5b9d91(0xf8)][_0x5b9d91(0xf1)]();this[_0x5b9d91(0xe8)][_0x5b9d91(0xf9)][_0x5b9d91(0xfa)](_0x3b037e=>{const _0x3ffc04=_0x5b9d91;_0x3b037e[_0x3ffc04(0xf0)](_0x343b62,_0x3f20c8),_0x3b037e[_0x3ffc04(0xe6)](_0x3ffc04(0xf6),_0x3f20c8),_0x3b037e[_0x3ffc04(0xe6)](_0x3ffc04(0xf5),_0x3f20c8);});}}function _0xc491(){const _0x4a782e=['imageInline','5437330rapoCM','execute','sizes','srcset','6STzssc','selection','model','change','3866233zHhlGB','5JaReLm','document','405163NnVwho','121612BpScjS','element','removeAttribute','448bvcFip','editor','10288014zGxZNx','isEnabled','53424tQyHHg','imageBlock','1014532VHbwuf','refresh','3AHXNuc','setAttributes','getSelectedElement'];_0xc491=function(){return _0x4a782e;};return _0xc491();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x11211a=_0x4f6b;(function(_0x4d7c86,_0x43a6cf){var _0x5f289d=_0x4f6b,_0x4bb3f3=_0x4d7c86();while(!![]){try{var _0x3e658d=-parseInt(_0x5f289d(0x7f))/0x1+parseInt(_0x5f289d(0x87))/0x2+parseInt(_0x5f289d(0x82))/0x3*(-parseInt(_0x5f289d(0x88))/0x4)+-parseInt(_0x5f289d(0x81))/0x5*(-parseInt(_0x5f289d(0x85))/0x6)+parseInt(_0x5f289d(0x8b))/0x7+parseInt(_0x5f289d(0x80))/0x8+parseInt(_0x5f289d(0x8c))/0x9*(parseInt(_0x5f289d(0x7e))/0xa);if(_0x3e658d===_0x43a6cf)break;else _0x4bb3f3['push'](_0x4bb3f3['shift']());}catch(_0x3a1634){_0x4bb3f3['push'](_0x4bb3f3['shift']());}}}(_0x113e,0x44db5));import{Plugin as _0x21e2ae}from'ckeditor5/src/core.js';import _0x510891 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x4f6b(_0x2a0b31,_0x2acc90){var _0x113e26=_0x113e();return _0x4f6b=function(_0x4f6b64,_0x5ae94f){_0x4f6b64=_0x4f6b64-0x7e;var _0x394cd0=_0x113e26[_0x4f6b64];return _0x394cd0;},_0x4f6b(_0x2a0b31,_0x2acc90);}import _0x32422f from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x113e(){var _0xe77e86=['isOfficialPlugin','1507485XTeDLE','9zjoglQ','1205180daVtPo','451081qvUAcv','361752WQCWKd','275warUBs','9NMZoRO','requires','UploadcareImageEdit','29658coNMAZ','isPremiumPlugin','651440BBLxZa','327412ipYmcD','pluginName'];_0x113e=function(){return _0xe77e86;};return _0x113e();}export default class P extends _0x21e2ae{static get[_0x11211a(0x89)](){var _0x28184b=_0x11211a;return _0x28184b(0x84);}static get[_0x11211a(0x83)](){return[_0x510891,_0x32422f];}static get[_0x11211a(0x8a)](){return!0x0;}static get[_0x11211a(0x86)](){return!0x0;}}
23
+ var _0xfc0f5f=_0x3897;(function(_0x25a269,_0x1210c0){var _0x25e5fa=_0x3897,_0x11e55c=_0x25a269();while(!![]){try{var _0x38af4b=parseInt(_0x25e5fa(0x11c))/0x1+-parseInt(_0x25e5fa(0x117))/0x2*(parseInt(_0x25e5fa(0x114))/0x3)+parseInt(_0x25e5fa(0x119))/0x4+-parseInt(_0x25e5fa(0x11b))/0x5+parseInt(_0x25e5fa(0x116))/0x6+parseInt(_0x25e5fa(0x118))/0x7*(parseInt(_0x25e5fa(0x115))/0x8)+-parseInt(_0x25e5fa(0x111))/0x9;if(_0x38af4b===_0x1210c0)break;else _0x11e55c['push'](_0x11e55c['shift']());}catch(_0x2d46a8){_0x11e55c['push'](_0x11e55c['shift']());}}}(_0x30b9,0xccef9));import{Plugin as _0xec41c9}from'ckeditor5/src/core.js';function _0x3897(_0x112e21,_0x397d3f){var _0x30b9fb=_0x30b9();return _0x3897=function(_0x389785,_0x41f8f0){_0x389785=_0x389785-0x111;var _0x21a400=_0x30b9fb[_0x389785];return _0x21a400;},_0x3897(_0x112e21,_0x397d3f);}function _0x30b9(){var _0x4fde03=['7oYQEzJ','5195008lpMSpi','UploadcareImageEdit','401165KBSkdp','1146590kVQVEe','pluginName','requires','24714486nxulsN','isPremiumPlugin','isOfficialPlugin','733071lkDEXs','6481712gfKhYF','3927030fzvYcA','2Lrhcir'];_0x30b9=function(){return _0x4fde03;};return _0x30b9();}import _0x1c783d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x40b403 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xec41c9{static get[_0xfc0f5f(0x11d)](){var _0x405d20=_0xfc0f5f;return _0x405d20(0x11a);}static get[_0xfc0f5f(0x11e)](){return[_0x1c783d,_0x40b403];}static get[_0xfc0f5f(0x113)](){return!0x0;}static get[_0xfc0f5f(0x112)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x569e4a=_0x241a;(function(_0x44be98,_0x199481){const _0x2cd5ac=_0x241a,_0x13cb2b=_0x44be98();while(!![]){try{const _0x3b325a=-parseInt(_0x2cd5ac(0x202))/0x1+-parseInt(_0x2cd5ac(0x1e5))/0x2*(-parseInt(_0x2cd5ac(0x1f8))/0x3)+parseInt(_0x2cd5ac(0x20e))/0x4+-parseInt(_0x2cd5ac(0x1f5))/0x5*(parseInt(_0x2cd5ac(0x1fe))/0x6)+parseInt(_0x2cd5ac(0x1d9))/0x7+parseInt(_0x2cd5ac(0x1f1))/0x8+-parseInt(_0x2cd5ac(0x20f))/0x9*(-parseInt(_0x2cd5ac(0x1f4))/0xa);if(_0x3b325a===_0x199481)break;else _0x13cb2b['push'](_0x13cb2b['shift']());}catch(_0x517c32){_0x13cb2b['push'](_0x13cb2b['shift']());}}}(_0x1753,0xc8e0e));import{Plugin as _0x1a7c94}from'ckeditor5/src/core.js';function _0x241a(_0x22101e,_0x306fe5){const _0x17539c=_0x1753();return _0x241a=function(_0x241a5c,_0xe0d00e){_0x241a5c=_0x241a5c-0x1c7;let _0x3d78cd=_0x17539c[_0x241a5c];return _0x3d78cd;},_0x241a(_0x22101e,_0x306fe5);}import{IconDropbox as _0x2ffccb,IconFacebook as _0x5745ad,IconGoogleDrive as _0x300883,IconGooglePhotos as _0x4d3fab,IconUploadcareImageUpload as _0x1aef96,IconUploadcareLink as _0x14d5fa,IconOneDrive as _0x5d17a4}from'ckeditor5/src/icons.js';import{ButtonView as _0x132f60,MenuBarMenuListItemButtonView as _0x239a51}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd0f326}from'./uploadcareconfig.js';import{getTranslation as _0x489ea5}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x1753(){const _0x17f51e=['4lgNiRi','GPhotos','Local','shortText','label','invalid','map','uploadcare','uploadcareLicenseKeyExpired','locale','assetManager','GDrive','6161296pqUCIE','_normalizeConfigSourceList','uploadcareLicenseKeyNotAllowed','10CkSZNQ','8088190dxtqsi','domainLimit','get','279411QxapYL','has','Replace','_createButton','entries','isOfficialPlugin','6yCokXP','_createDropdownButtons','Insert','evaluationLimit','1078976xbHMwu','init','config','afterInit','expired','_licenseKeyCheckInterval','forEach','isEnabled','withText','push','registerIntegration','OneDrive','3472060hFGiVr','12119823ySIpYF','Dropbox','uploadcareLicenseKeyInvalid','editor','trialLimit','icon','reduce','licenseKey','url','tooltip','_showLicenseError','pluginName','isPremiumPlugin','URL','type','_getIntegrationKey','usageLimit','text','Uploadcare','uploadcareLicenseKeyDomainLimit','bind','isImageSelected','destroy','Facebook','uploadcare.uploader.sourceList','featureNotAllowed','uploadcareLicenseKeyEvaluationLimit','2438198bSqVmk','UploadcareUI','commands','uploadcareLicenseKeyValid','execute','_createToolbarButton','_createMenuBarButtons','uploadcareLicenseKeyTrialLimit','ImageInsertUI','uploadcareLicenseKeyUsageLimit','upload','plugins'];_0x1753=function(){return _0x17f51e;};return _0x1753();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x1a7c94{[_0x569e4a(0x216)];[_0x569e4a(0x207)];static get[_0x569e4a(0x1c9)](){const _0x33d121=_0x569e4a;return _0x33d121(0x1da);}static get[_0x569e4a(0x1fd)](){return!0x0;}static get[_0x569e4a(0x1ca)](){return!0x0;}[_0x569e4a(0x203)](){const _0x2f65ea=_0x569e4a;this[_0x2f65ea(0x216)]=this[_0x2f65ea(0x212)][_0x2f65ea(0x204)][_0x2f65ea(0x1f7)](_0x2f65ea(0x216));const _0x4e9c1c=this[_0x2f65ea(0x212)];this[_0x2f65ea(0x207)]=setInterval(()=>{const _0x3ad49f=_0x2f65ea;let _0x1adc66;for(const _0x1f9b9a in _0x4e9c1c){const _0xfcbc73=_0x1f9b9a,_0x575fd7=_0x4e9c1c[_0xfcbc73];if(_0x3ad49f(0x1dc)==_0x575fd7||_0x3ad49f(0x211)==_0x575fd7||_0x3ad49f(0x1ed)==_0x575fd7||_0x3ad49f(0x1d1)==_0x575fd7||_0x3ad49f(0x1f3)==_0x575fd7||_0x3ad49f(0x1d8)==_0x575fd7||_0x3ad49f(0x1e0)==_0x575fd7||_0x3ad49f(0x1e2)==_0x575fd7){delete _0x4e9c1c[_0xfcbc73],_0x1adc66=_0x575fd7,clearInterval(this[_0x3ad49f(0x207)]),this[_0x3ad49f(0x207)]=void 0x0;break;}}_0x3ad49f(0x211)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1ea)),_0x3ad49f(0x1ed)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x206)),_0x3ad49f(0x1d1)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1f6)),_0x3ad49f(0x1f3)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1d7),_0x3ad49f(0x1d0)),_0x3ad49f(0x1d8)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x201)),_0x3ad49f(0x1e0)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x213)),_0x3ad49f(0x1e2)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1ce));},0x3e8);}[_0x569e4a(0x205)](){const _0x5e7301=_0x569e4a,{editor:_0x5dcd07}=this,_0x2298a5=_0x5dcd07[_0x5e7301(0x1db)][_0x5e7301(0x1f7)](_0x5e7301(0x1ec));if(!_0x2298a5)return;const _0x34faaf=this[_0x5e7301(0x1f2)](_0x5dcd07[_0x5e7301(0x204)][_0x5e7301(0x1f7)](_0x5e7301(0x1d6)))[_0x5e7301(0x215)]((_0x1711e0,_0x4b0c26)=>{const _0x3566b6=_0x5e7301,_0x5ceb1b=this[_0x3566b6(0x1cd)](_0x4b0c26[_0x3566b6(0x1cc)]);return _0x1711e0[_0x5ceb1b]||(_0x1711e0[_0x5ceb1b]=[]),_0x1711e0[_0x5ceb1b][_0x3566b6(0x20b)](_0x4b0c26),_0x1711e0;},{});_0x5dcd07[_0x5e7301(0x1e4)][_0x5e7301(0x1f9)](_0x5e7301(0x1e1))&&_0x5dcd07[_0x5e7301(0x1db)][_0x5e7301(0x1f7)](_0x5e7301(0x1ec))&&Object[_0x5e7301(0x1fc)](_0x34faaf)[_0x5e7301(0x208)](([_0x200f33,_0x1ce8fd])=>{const _0x5cc154=_0x5e7301;_0x5dcd07[_0x5cc154(0x1e4)][_0x5cc154(0x1f7)](_0x5cc154(0x1e1))[_0x5cc154(0x20c)]({'name':_0x200f33,'observable':()=>_0x2298a5,'buttonViewCreator':()=>this[_0x5cc154(0x1de)](_0x1ce8fd),'formViewCreator':()=>this[_0x5cc154(0x1ff)](_0x1ce8fd),'menuBarButtonViewCreator':()=>this[_0x5cc154(0x1df)](_0x1ce8fd),'override':_0x5cc154(0x1ef)!==_0x200f33});});}[_0x569e4a(0x1d4)](){const _0x2e1618=_0x569e4a;super[_0x2e1618(0x1d4)](),this[_0x2e1618(0x207)]&&clearInterval(this[_0x2e1618(0x207)]);}[_0x569e4a(0x1f2)](_0x11f656){const _0x3576d2=_0x569e4a,{locale:_0xa3d602}=this[_0x3576d2(0x212)];return _0x11f656[_0x3576d2(0x1eb)](_0x3c817d=>{const _0x1b6a1f=_0x3576d2,_0x23f2dc=_0x489ea5(_0xa3d602,_0x3c817d,_0x1b6a1f(0x200));switch(_0x3c817d){case _0xd0f326[_0x1b6a1f(0x1e7)]:return{'icon':_0x1aef96,'type':_0xd0f326[_0x1b6a1f(0x1e7)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1cb)]:return{'icon':_0x14d5fa,'type':_0xd0f326[_0x1b6a1f(0x1cb)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x210)]:return{'icon':_0x2ffccb,'type':_0xd0f326[_0x1b6a1f(0x210)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1d5)]:return{'icon':_0x5745ad,'type':_0xd0f326[_0x1b6a1f(0x1d5)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1f0)]:return{'icon':_0x300883,'type':_0xd0f326[_0x1b6a1f(0x1f0)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1e6)]:return{'icon':_0x4d3fab,'type':_0xd0f326[_0x1b6a1f(0x1e6)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x20d)]:return{'icon':_0x5d17a4,'type':_0xd0f326[_0x1b6a1f(0x20d)],..._0x23f2dc};}});}[_0x569e4a(0x1cd)](_0x34e835){const _0x47c400=_0x569e4a;switch(_0x34e835){case _0xd0f326[_0x47c400(0x1e7)]:return _0x47c400(0x1e3);case _0xd0f326[_0x47c400(0x1cb)]:return _0x47c400(0x217);default:return _0x47c400(0x1ef);}}[_0x569e4a(0x1fb)](_0x2dd616,_0x5a319f){const _0x2f9738=_0x569e4a,_0x1fab83=this[_0x2f9738(0x212)],_0x2a7db5=new _0x2dd616(_0x1fab83[_0x2f9738(0x1ee)]),_0xc3f156=_0x1fab83[_0x2f9738(0x1db)][_0x2f9738(0x1f7)](_0x2f9738(0x1ec));return _0x2a7db5[_0x2f9738(0x1d2)](_0x2f9738(0x209))['to'](_0xc3f156),_0x2a7db5['on'](_0x2f9738(0x1dd),()=>{const _0x5542ba=_0x2f9738;_0xc3f156[_0x5542ba(0x1dd)](_0x5a319f);}),_0x2a7db5;}[_0x569e4a(0x1de)](_0x30977f){const _0x9fd0fb=_0x569e4a,{locale:_0x1787b1}=this[_0x9fd0fb(0x212)],_0x3947fe=this[_0x9fd0fb(0x212)][_0x9fd0fb(0x1e4)][_0x9fd0fb(0x1f7)](_0x9fd0fb(0x1e1)),_0x756c02=_0x30977f[0x0],_0x31c203=this[_0x9fd0fb(0x1fb)](_0x132f60,_0x756c02[_0x9fd0fb(0x1cc)]);return _0x31c203[_0x9fd0fb(0x214)]=_0x756c02[_0x9fd0fb(0x214)],_0x31c203[_0x9fd0fb(0x1d2)](_0x9fd0fb(0x1e9))['to'](_0x3947fe,_0x9fd0fb(0x1d3),_0x30354f=>_0x489ea5(_0x1787b1,_0x756c02[_0x9fd0fb(0x1cc)],_0x30354f?_0x9fd0fb(0x1fa):_0x9fd0fb(0x200))[_0x9fd0fb(0x1cf)]),_0x31c203[_0x9fd0fb(0x1c7)]=!0x0,_0x31c203;}[_0x569e4a(0x1ff)](_0x3b6bd9){const _0xa03baa=_0x569e4a,{locale:_0x21e894}=this[_0xa03baa(0x212)],_0x977b02=this[_0xa03baa(0x212)][_0xa03baa(0x1e4)][_0xa03baa(0x1f7)](_0xa03baa(0x1e1));return _0x3b6bd9[_0xa03baa(0x1eb)](_0xaa071b=>{const _0xd1a8b1=_0xa03baa,_0x4a0b5e=this[_0xd1a8b1(0x1fb)](_0x132f60,_0xaa071b[_0xd1a8b1(0x1cc)]);return _0x4a0b5e[_0xd1a8b1(0x20a)]=!0x0,_0x4a0b5e[_0xd1a8b1(0x214)]=_0xaa071b[_0xd1a8b1(0x214)],_0x4a0b5e[_0xd1a8b1(0x1d2)](_0xd1a8b1(0x1e9))['to'](_0x977b02,_0xd1a8b1(0x1d3),_0x1b845e=>_0x489ea5(_0x21e894,_0xaa071b[_0xd1a8b1(0x1cc)],_0x1b845e?_0xd1a8b1(0x1fa):_0xd1a8b1(0x200))[_0xd1a8b1(0x1cf)]),_0x4a0b5e;});}[_0x569e4a(0x1df)](_0x165983){const _0x170c8a=_0x569e4a;return _0x165983[_0x170c8a(0x1eb)](_0x22c958=>{const _0x12c4e2=_0x170c8a,_0x4186a5=this[_0x12c4e2(0x1fb)](_0x239a51,_0x22c958[_0x12c4e2(0x1cc)]);return _0x4186a5[_0x12c4e2(0x214)]=_0x22c958[_0x12c4e2(0x214)],_0x4186a5[_0x12c4e2(0x1e9)]=_0x22c958[_0x12c4e2(0x1e8)],_0x4186a5;});}}
23
+ function _0x2b99(){const _0x20822c=['913090LlAclk','uploadcare','uploadcare.uploader.sourceList','9598544XDsheu','36837060quLTgH','isPremiumPlugin','_createToolbarButton','map','assetManager','bind','uploadcareLicenseKeyValid','text','_getIntegrationKey','pluginName','has','_showLicenseError','entries','url','_createMenuBarButtons','forEach','reduce','4AjkAAh','commands','trialLimit','shortText','locale','isEnabled','editor','execute','afterInit','58915bGGiIg','UploadcareUI','Facebook','destroy','ImageInsertUI','Uploadcare','36949XUeZKy','186UJoKYN','uploadcareLicenseKeyUsageLimit','push','plugins','withText','_licenseKeyCheckInterval','isImageSelected','evaluationLimit','20022rRFvco','OneDrive','2796RrBGRA','config','uploadcareLicenseKeyEvaluationLimit','Insert','isOfficialPlugin','uploadcareLicenseKeyInvalid','GPhotos','licenseKey','uploadcareLicenseKeyNotAllowed','domainLimit','upload','init','uploadcareLicenseKeyDomainLimit','expired','get','featureNotAllowed','117bkAmSZ','registerIntegration','uploadcareLicenseKeyExpired','URL','invalid','_normalizeConfigSourceList','3192393EXSBUn','GDrive','Replace','_createDropdownButtons','usageLimit','tooltip','icon','Local','Dropbox','7AXkCnN','label','21LSiPtw','uploadcareLicenseKeyTrialLimit','_createButton','type'];_0x2b99=function(){return _0x20822c;};return _0x2b99();}const _0x5d3d57=_0x1a8f;(function(_0x6378e5,_0x28754f){const _0x4b51a7=_0x1a8f,_0x50374f=_0x6378e5();while(!![]){try{const _0x200e68=parseInt(_0x4b51a7(0xaa))/0x1*(parseInt(_0x4b51a7(0xdb))/0x2)+-parseInt(_0x4b51a7(0xf3))/0x3*(parseInt(_0x4b51a7(0xc3))/0x4)+-parseInt(_0x4b51a7(0xcc))/0x5*(-parseInt(_0x4b51a7(0xd3))/0x6)+-parseInt(_0x4b51a7(0xfc))/0x7*(parseInt(_0x4b51a7(0xb1))/0x8)+-parseInt(_0x4b51a7(0xed))/0x9*(parseInt(_0x4b51a7(0xae))/0xa)+parseInt(_0x4b51a7(0xd2))/0xb*(parseInt(_0x4b51a7(0xdd))/0xc)+parseInt(_0x4b51a7(0xb2))/0xd;if(_0x200e68===_0x28754f)break;else _0x50374f['push'](_0x50374f['shift']());}catch(_0x1a6a2c){_0x50374f['push'](_0x50374f['shift']());}}}(_0x2b99,0xb4dc5));import{Plugin as _0x1b6e47}from'ckeditor5/src/core.js';import{IconDropbox as _0x1d437e,IconFacebook as _0x5efb70,IconGoogleDrive as _0x469c87,IconGooglePhotos as _0x21da56,IconUploadcareImageUpload as _0x4ab804,IconUploadcareLink as _0x1ff59c,IconOneDrive as _0x3eb07a}from'ckeditor5/src/icons.js';import{ButtonView as _0x487aad,MenuBarMenuListItemButtonView as _0x4cfc49}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x41835d}from'./uploadcareconfig.js';import{getTranslation as _0x24a45e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x1a8f(_0x278a5b,_0x23cd52){const _0x2b9945=_0x2b99();return _0x1a8f=function(_0x1a8f2e,_0x2ed445){_0x1a8f2e=_0x1a8f2e-0xaa;let _0x110f40=_0x2b9945[_0x1a8f2e];return _0x110f40;},_0x1a8f(_0x278a5b,_0x23cd52);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x1b6e47{[_0x5d3d57(0xe4)];[_0x5d3d57(0xd8)];static get[_0x5d3d57(0xbb)](){const _0x134430=_0x5d3d57;return _0x134430(0xcd);}static get[_0x5d3d57(0xe1)](){return!0x0;}static get[_0x5d3d57(0xb3)](){return!0x0;}[_0x5d3d57(0xe8)](){const _0x4f9f80=_0x5d3d57;this[_0x4f9f80(0xe4)]=this[_0x4f9f80(0xc9)][_0x4f9f80(0xde)][_0x4f9f80(0xeb)](_0x4f9f80(0xe4));const _0x8120e4=this[_0x4f9f80(0xc9)];this[_0x4f9f80(0xd8)]=setInterval(()=>{const _0x36ba5d=_0x4f9f80;let _0x9cb4f6;for(const _0xcfadd0 in _0x8120e4){const _0x4c2671=_0xcfadd0,_0x3a4219=_0x8120e4[_0x4c2671];if(_0x36ba5d(0xb8)==_0x3a4219||_0x36ba5d(0xe2)==_0x3a4219||_0x36ba5d(0xef)==_0x3a4219||_0x36ba5d(0xe9)==_0x3a4219||_0x36ba5d(0xe5)==_0x3a4219||_0x36ba5d(0xdf)==_0x3a4219||_0x36ba5d(0xab)==_0x3a4219||_0x36ba5d(0xd4)==_0x3a4219){delete _0x8120e4[_0x4c2671],_0x9cb4f6=_0x3a4219,clearInterval(this[_0x36ba5d(0xd8)]),this[_0x36ba5d(0xd8)]=void 0x0;break;}}_0x36ba5d(0xe2)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xf1)),_0x36ba5d(0xef)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xea)),_0x36ba5d(0xe9)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xe6)),_0x36ba5d(0xe5)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xec),_0x36ba5d(0xd1)),_0x36ba5d(0xdf)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xda)),_0x36ba5d(0xab)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xc5)),_0x36ba5d(0xd4)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xf7));},0x3e8);}[_0x5d3d57(0xcb)](){const _0x51c2b1=_0x5d3d57,{editor:_0x3283d9}=this,_0x52774d=_0x3283d9[_0x51c2b1(0xc4)][_0x51c2b1(0xeb)](_0x51c2b1(0xaf));if(!_0x52774d)return;const _0x420a4b=this[_0x51c2b1(0xf2)](_0x3283d9[_0x51c2b1(0xde)][_0x51c2b1(0xeb)](_0x51c2b1(0xb0)))[_0x51c2b1(0xc2)]((_0x1004a1,_0x51192f)=>{const _0x4d7d20=_0x51c2b1,_0x3dd8b6=this[_0x4d7d20(0xba)](_0x51192f[_0x4d7d20(0xad)]);return _0x1004a1[_0x3dd8b6]||(_0x1004a1[_0x3dd8b6]=[]),_0x1004a1[_0x3dd8b6][_0x4d7d20(0xd5)](_0x51192f),_0x1004a1;},{});_0x3283d9[_0x51c2b1(0xd6)][_0x51c2b1(0xbc)](_0x51c2b1(0xd0))&&_0x3283d9[_0x51c2b1(0xc4)][_0x51c2b1(0xeb)](_0x51c2b1(0xaf))&&Object[_0x51c2b1(0xbe)](_0x420a4b)[_0x51c2b1(0xc1)](([_0x3029a7,_0x38d09e])=>{const _0x5acbde=_0x51c2b1;_0x3283d9[_0x5acbde(0xd6)][_0x5acbde(0xeb)](_0x5acbde(0xd0))[_0x5acbde(0xee)]({'name':_0x3029a7,'observable':()=>_0x52774d,'buttonViewCreator':()=>this[_0x5acbde(0xb4)](_0x38d09e),'formViewCreator':()=>this[_0x5acbde(0xf6)](_0x38d09e),'menuBarButtonViewCreator':()=>this[_0x5acbde(0xc0)](_0x38d09e),'override':_0x5acbde(0xb6)!==_0x3029a7});});}[_0x5d3d57(0xcf)](){const _0x5d1379=_0x5d3d57;super[_0x5d1379(0xcf)](),this[_0x5d1379(0xd8)]&&clearInterval(this[_0x5d1379(0xd8)]);}[_0x5d3d57(0xf2)](_0x58d7d9){const _0x414512=_0x5d3d57,{locale:_0x5a7d05}=this[_0x414512(0xc9)];return _0x58d7d9[_0x414512(0xb5)](_0x522d3f=>{const _0x4230ac=_0x414512,_0x5199d5=_0x24a45e(_0x5a7d05,_0x522d3f,_0x4230ac(0xe0));switch(_0x522d3f){case _0x41835d[_0x4230ac(0xfa)]:return{'icon':_0x4ab804,'type':_0x41835d[_0x4230ac(0xfa)],..._0x5199d5};case _0x41835d[_0x4230ac(0xf0)]:return{'icon':_0x1ff59c,'type':_0x41835d[_0x4230ac(0xf0)],..._0x5199d5};case _0x41835d[_0x4230ac(0xfb)]:return{'icon':_0x1d437e,'type':_0x41835d[_0x4230ac(0xfb)],..._0x5199d5};case _0x41835d[_0x4230ac(0xce)]:return{'icon':_0x5efb70,'type':_0x41835d[_0x4230ac(0xce)],..._0x5199d5};case _0x41835d[_0x4230ac(0xf4)]:return{'icon':_0x469c87,'type':_0x41835d[_0x4230ac(0xf4)],..._0x5199d5};case _0x41835d[_0x4230ac(0xe3)]:return{'icon':_0x21da56,'type':_0x41835d[_0x4230ac(0xe3)],..._0x5199d5};case _0x41835d[_0x4230ac(0xdc)]:return{'icon':_0x3eb07a,'type':_0x41835d[_0x4230ac(0xdc)],..._0x5199d5};}});}[_0x5d3d57(0xba)](_0x565bd1){const _0x2c9eed=_0x5d3d57;switch(_0x565bd1){case _0x41835d[_0x2c9eed(0xfa)]:return _0x2c9eed(0xe7);case _0x41835d[_0x2c9eed(0xf0)]:return _0x2c9eed(0xbf);default:return _0x2c9eed(0xb6);}}[_0x5d3d57(0xac)](_0x2e32af,_0x5b40bb){const _0x4b47d6=_0x5d3d57,_0x7c1aa3=this[_0x4b47d6(0xc9)],_0xda97b0=new _0x2e32af(_0x7c1aa3[_0x4b47d6(0xc7)]),_0x1a03ca=_0x7c1aa3[_0x4b47d6(0xc4)][_0x4b47d6(0xeb)](_0x4b47d6(0xaf));return _0xda97b0[_0x4b47d6(0xb7)](_0x4b47d6(0xc8))['to'](_0x1a03ca),_0xda97b0['on'](_0x4b47d6(0xca),()=>{const _0x29519f=_0x4b47d6;_0x1a03ca[_0x29519f(0xca)](_0x5b40bb);}),_0xda97b0;}[_0x5d3d57(0xb4)](_0x317113){const _0x4b62a6=_0x5d3d57,{locale:_0xada459}=this[_0x4b62a6(0xc9)],_0x346eeb=this[_0x4b62a6(0xc9)][_0x4b62a6(0xd6)][_0x4b62a6(0xeb)](_0x4b62a6(0xd0)),_0x35a04d=_0x317113[0x0],_0x2bf00f=this[_0x4b62a6(0xac)](_0x487aad,_0x35a04d[_0x4b62a6(0xad)]);return _0x2bf00f[_0x4b62a6(0xf9)]=_0x35a04d[_0x4b62a6(0xf9)],_0x2bf00f[_0x4b62a6(0xb7)](_0x4b62a6(0xfd))['to'](_0x346eeb,_0x4b62a6(0xd9),_0x20a3e8=>_0x24a45e(_0xada459,_0x35a04d[_0x4b62a6(0xad)],_0x20a3e8?_0x4b62a6(0xf5):_0x4b62a6(0xe0))[_0x4b62a6(0xb9)]),_0x2bf00f[_0x4b62a6(0xf8)]=!0x0,_0x2bf00f;}[_0x5d3d57(0xf6)](_0xa9ec7){const _0x48f75e=_0x5d3d57,{locale:_0x5e908d}=this[_0x48f75e(0xc9)],_0x31027f=this[_0x48f75e(0xc9)][_0x48f75e(0xd6)][_0x48f75e(0xeb)](_0x48f75e(0xd0));return _0xa9ec7[_0x48f75e(0xb5)](_0x633f2=>{const _0xbfb006=_0x48f75e,_0x378c3c=this[_0xbfb006(0xac)](_0x487aad,_0x633f2[_0xbfb006(0xad)]);return _0x378c3c[_0xbfb006(0xd7)]=!0x0,_0x378c3c[_0xbfb006(0xf9)]=_0x633f2[_0xbfb006(0xf9)],_0x378c3c[_0xbfb006(0xb7)](_0xbfb006(0xfd))['to'](_0x31027f,_0xbfb006(0xd9),_0x468fcf=>_0x24a45e(_0x5e908d,_0x633f2[_0xbfb006(0xad)],_0x468fcf?_0xbfb006(0xf5):_0xbfb006(0xe0))[_0xbfb006(0xb9)]),_0x378c3c;});}[_0x5d3d57(0xc0)](_0x390c39){const _0x58edeb=_0x5d3d57;return _0x390c39[_0x58edeb(0xb5)](_0x525907=>{const _0x8c8697=_0x58edeb,_0x1030b1=this[_0x8c8697(0xac)](_0x4cfc49,_0x525907[_0x8c8697(0xad)]);return _0x1030b1[_0x8c8697(0xf9)]=_0x525907[_0x8c8697(0xf9)],_0x1030b1[_0x8c8697(0xfd)]=_0x525907[_0x8c8697(0xc6)],_0x1030b1;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x306925}from'ckeditor5/src/core.js';import{FileRepository as _0x39b731}from'ckeditor5/src/upload.js';import _0x352a52 from'./uploadcareediting.js';import _0x56adc0 from'./utils/uploadutils.js';import{getImageUrls as _0x1a43f1}from'./utils/editingutils.js';export default class p extends _0x306925{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39b731,_0x352a52];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xf4994b=this['editor'];if(!!!_0xf4994b['config']['get']('uploadcare'))return;_0xf4994b['plugins']['get'](_0x39b731)['createUploadAdapter']=_0x5180f9=>new x(_0x5180f9,_0xf4994b),_0xf4994b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5af72c,{imageElement:_0x4d8278,data:_0x2f9b0f})=>{_0xf4994b['model']['change'](_0xc04a09=>{_0xc04a09['setAttribute']('uploadcareImageId',_0x2f9b0f['uploadcareImageId'],_0x4d8278);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4fce28,_0x3101f1){this['loader']=_0x4fce28,this['editor']=_0x3101f1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x14d805=this['editor']['config']['get']('uploadcare.pubkey'),_0x298099=await this['loader']['file'];return _0x56adc0['upload']({'file':_0x298099,'publicKey':_0x14d805,'signal':this['controller']['signal'],'onProgress':_0x4493a6=>{_0x4493a6&&_0x4493a6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4493a6['value']);}})['then'](async _0x3e446e=>{const {imageFallbackUrl:_0x13b56e,imageSources:_0xa8bee7}=_0x1a43f1(_0x3e446e['cdnUrl'],_0x3e446e['imageInfo']['width']);return{'uploadcareImageId':_0x3e446e['uuid'],'default':_0x13b56e,'sources':_0xa8bee7};})['catch'](()=>{const _0x2cbc0b=t('Cannot\x20upload\x20file:')+('\x20'+_0x298099['name']+'.');return Promise['reject'](_0x2cbc0b);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4df9ac}from'ckeditor5/src/core.js';import{FileRepository as _0x52b057}from'ckeditor5/src/upload.js';import _0x59b4e2 from'./uploadcareediting.js';import _0x492442 from'./utils/uploadutils.js';import{getImageUrls as _0x5869a7}from'./utils/editingutils.js';export default class p extends _0x4df9ac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x52b057,_0x59b4e2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x54b913=this['editor'];if(!!!_0x54b913['config']['get']('uploadcare'))return;_0x54b913['plugins']['get'](_0x52b057)['createUploadAdapter']=_0x5120e9=>new x(_0x5120e9,_0x54b913),_0x54b913['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x420500,{imageElement:_0x358e60,data:_0x3da7bd})=>{_0x54b913['model']['change'](_0x48282d=>{_0x48282d['setAttribute']('uploadcareImageId',_0x3da7bd['uploadcareImageId'],_0x358e60);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1b578a,_0x5145ab){this['loader']=_0x1b578a,this['editor']=_0x5145ab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x880743=this['editor']['config']['get']('uploadcare.pubkey'),_0x48e4bb=await this['loader']['file'];return _0x492442['upload']({'file':_0x48e4bb,'publicKey':_0x880743,'signal':this['controller']['signal'],'onProgress':_0x2f0f62=>{_0x2f0f62&&_0x2f0f62['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2f0f62['value']);}})['then'](async _0x2a6cd3=>{const {imageFallbackUrl:_0x1b25e6,imageSources:_0x376d74}=_0x5869a7(_0x2a6cd3['cdnUrl'],_0x2a6cd3['imageInfo']['width']);return{'uploadcareImageId':_0x2a6cd3['uuid'],'default':_0x1b25e6,'sources':_0x376d74};})['catch'](()=>{const _0x297bf5=t('Cannot\x20upload\x20file:')+('\x20'+_0x48e4bb['name']+'.');return Promise['reject'](_0x297bf5);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x447756}from'../uploadcareconfig.js';export function getTranslation(_0x30024c,_0x4ef86e,_0x5d75bf){const t=_0x30024c['t'],_0x4f34df=_0x30024c['t'];switch(_0x4ef86e){case _0x447756['Local']:return{'text':_0x4f34df('Insert'===_0x5d75bf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f34df('From\x20computer')};case _0x447756['URL']:return{'text':'Insert'===_0x5d75bf?_0x4f34df('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f34df('Via\x20URL')};case _0x447756['Dropbox']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x447756['Facebook']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x447756['GDrive']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x447756['GPhotos']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x447756['OneDrive']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4ef86e;}}
23
+ import{UploadcareSource as _0x30dd6d}from'../uploadcareconfig.js';export function getTranslation(_0x2a3cb5,_0x4f9c25,_0x3ea0a1){const t=_0x2a3cb5['t'],_0x318657=_0x2a3cb5['t'];switch(_0x4f9c25){case _0x30dd6d['Local']:return{'text':_0x318657('Insert'===_0x3ea0a1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x318657('From\x20computer')};case _0x30dd6d['URL']:return{'text':'Insert'===_0x3ea0a1?_0x318657('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x318657('Via\x20URL')};case _0x30dd6d['Dropbox']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x30dd6d['Facebook']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x30dd6d['GDrive']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x30dd6d['GPhotos']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x30dd6d['OneDrive']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f9c25;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x387e21=_0x8636;(function(_0x46e205,_0x546845){var _0x47235f=_0x8636,_0x38ad19=_0x46e205();while(!![]){try{var _0x3c7cc6=-parseInt(_0x47235f(0x1de))/0x1+-parseInt(_0x47235f(0x1d5))/0x2*(-parseInt(_0x47235f(0x1d6))/0x3)+-parseInt(_0x47235f(0x1d9))/0x4+parseInt(_0x47235f(0x1da))/0x5+parseInt(_0x47235f(0x1e4))/0x6+parseInt(_0x47235f(0x1dd))/0x7*(-parseInt(_0x47235f(0x1db))/0x8)+parseInt(_0x47235f(0x1d7))/0x9;if(_0x3c7cc6===_0x546845)break;else _0x38ad19['push'](_0x38ad19['shift']());}catch(_0x4ae998){_0x38ad19['push'](_0x38ad19['shift']());}}}(_0x59d4,0xe69ef));import{FocusTracker as _0x134196}from'ckeditor5/src/utils.js';import{View as _0x4004c4,FocusCycler as _0x1e0f81}from'ckeditor5/src/ui.js';function _0x59d4(){var _0x56496d=['fire','2551318uVGWBw','3bYJPpB','9268056wDfbTB','true','4958076YkHkBv','8457715kEnWND','72312deYliX','focusTracker','938NsAEDh','1540280WZWFLS','forwardCycle','getFocusableElement','focusCycler','bindTemplate','createCollection','5631972gfKhlM','div'];_0x59d4=function(){return _0x56496d;};return _0x59d4();}import'../../theme/uploadcare-form.css';function _0x8636(_0x2cda4b,_0x253f09){var _0x59d4f8=_0x59d4();return _0x8636=function(_0x8636ba,_0x579143){_0x8636ba=_0x8636ba-0x1d4;var _0xa6c450=_0x59d4f8[_0x8636ba];return _0xa6c450;},_0x8636(_0x2cda4b,_0x253f09);}export default class q extends _0x4004c4{[_0x387e21(0x1dc)];[_0x387e21(0x1e1)];constructor(_0x125bbd){var _0x791ae=_0x387e21;super(_0x125bbd),this[_0x791ae(0x1dc)]=new _0x134196(),this[_0x791ae(0x1e1)]=new _0x1e0f81({'focusables':this[_0x791ae(0x1e3)](),'focusTracker':this[_0x791ae(0x1dc)]});}[_0x387e21(0x1e0)](){var _0x56c18e=_0x387e21;return{'tag':_0x56c18e(0x1e5),'attributes':{'aria-hidden':_0x56c18e(0x1d8),'tabindex':'0'},'on':{'focus':this[_0x56c18e(0x1e2)]['to'](()=>{var _0x1c689c=_0x56c18e;this[_0x1c689c(0x1e1)][_0x1c689c(0x1d4)](_0x1c689c(0x1df));})}};}}
23
+ var _0x1ebfb1=_0x45fd;function _0x5044(){var _0x5c452c=['bindTemplate','createCollection','focusTracker','getFocusableElement','fire','9MjHCij','451489JgWCZm','10ZQktfo','559398VUOJsv','div','27750mGlFgA','8IXUDEq','6599923GmROyj','true','3pyDkWd','1276415XgDjzs','forwardCycle','815786CglBaN','focusCycler','156556Mmsauc'];_0x5044=function(){return _0x5c452c;};return _0x5044();}(function(_0x2a0692,_0x4489d9){var _0x44af42=_0x45fd,_0x49c3ef=_0x2a0692();while(!![]){try{var _0x5af21e=parseInt(_0x44af42(0x1f1))/0x1+-parseInt(_0x44af42(0x1e8))/0x2*(-parseInt(_0x44af42(0x1e5))/0x3)+parseInt(_0x44af42(0x1ea))/0x4*(parseInt(_0x44af42(0x1f2))/0x5)+parseInt(_0x44af42(0x1f3))/0x6+parseInt(_0x44af42(0x1e6))/0x7*(-parseInt(_0x44af42(0x1e2))/0x8)+parseInt(_0x44af42(0x1f0))/0x9*(-parseInt(_0x44af42(0x1e1))/0xa)+-parseInt(_0x44af42(0x1e3))/0xb;if(_0x5af21e===_0x4489d9)break;else _0x49c3ef['push'](_0x49c3ef['shift']());}catch(_0x27e0d1){_0x49c3ef['push'](_0x49c3ef['shift']());}}}(_0x5044,0x3c014));import{FocusTracker as _0x446983}from'ckeditor5/src/utils.js';function _0x45fd(_0x1b2f37,_0x10518f){var _0x504493=_0x5044();return _0x45fd=function(_0x45fd39,_0x3bdf8c){_0x45fd39=_0x45fd39-0x1e1;var _0x4c4511=_0x504493[_0x45fd39];return _0x4c4511;},_0x45fd(_0x1b2f37,_0x10518f);}import{View as _0x16603f,FocusCycler as _0x4f75be}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x16603f{[_0x1ebfb1(0x1ed)];[_0x1ebfb1(0x1e9)];constructor(_0x2d4092){var _0x27eb5e=_0x1ebfb1;super(_0x2d4092),this[_0x27eb5e(0x1ed)]=new _0x446983(),this[_0x27eb5e(0x1e9)]=new _0x4f75be({'focusables':this[_0x27eb5e(0x1ec)](),'focusTracker':this[_0x27eb5e(0x1ed)]});}[_0x1ebfb1(0x1ee)](){var _0x3e105c=_0x1ebfb1;return{'tag':_0x3e105c(0x1f4),'attributes':{'aria-hidden':_0x3e105c(0x1e4),'tabindex':'0'},'on':{'focus':this[_0x3e105c(0x1eb)]['to'](()=>{var _0x37f445=_0x3e105c;this[_0x37f445(0x1e9)][_0x37f445(0x1ef)](_0x37f445(0x1e7));})}};}}