@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.0 → 45.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bb3df=_0x672a;(function(_0x190d8f,_0x5e5f63){const _0x2fb6d9=_0x672a,_0x1864d4=_0x190d8f();while(!![]){try{const _0x5268d8=-parseInt(_0x2fb6d9(0x17e))/0x1*(-parseInt(_0x2fb6d9(0x1ae))/0x2)+parseInt(_0x2fb6d9(0x1bc))/0x3*(parseInt(_0x2fb6d9(0x199))/0x4)+-parseInt(_0x2fb6d9(0x18b))/0x5+-parseInt(_0x2fb6d9(0x1a4))/0x6*(parseInt(_0x2fb6d9(0x1cb))/0x7)+parseInt(_0x2fb6d9(0x1cf))/0x8+parseInt(_0x2fb6d9(0x198))/0x9*(-parseInt(_0x2fb6d9(0x18f))/0xa)+parseInt(_0x2fb6d9(0x18a))/0xb*(parseInt(_0x2fb6d9(0x18e))/0xc);if(_0x5268d8===_0x5e5f63)break;else _0x1864d4['push'](_0x1864d4['shift']());}catch(_0x2987b3){_0x1864d4['push'](_0x1864d4['shift']());}}}(_0x5e6a,0xc19c1));import{Plugin as _0x485687}from'ckeditor5/src/core.js';import{Dialog as _0x571aab}from'ckeditor5/src/ui.js';import{createElement as _0x2387d2,global as _0x57c9cb,uid as _0x2cfc5d}from'ckeditor5/src/utils.js';import _0x248e8e from'./uploadcarecommand.js';function _0x5e6a(){const _0x1f83ef=['querySelector','_configElement','execute','init','href','9TfMARq','20RwjRkl','#uc-icon-arrow-down','commands','pluginName','config','UploadcareEditing','imageBlock','add','getSelectedElement','for','join','6aEcBQf','isRegistered','map','input[uploadcare-file-input]','afterInit','isOfficialPlugin','editing','isPremiumPlugin','configElement','removeAttribute','114QumCsl','downcast','uc-upload-ctx-provider','uploadcare','remove','insertImage','getAttribute','fromCharCode','model','uploadcareImageReplace','listenTo','attributeToAttribute','_initCtx','PictureEditing','463383RBsOGF','uploadcare.pubkey','selection','upcast','requires','elementToAttribute','contentLanguage','get','uc-config','extend','imageInline','closeMax','ctxElement','cleanupImage','destroy','2320297BQfpHj','schema','true','_initSchema','11179792rNgPVT','data-uc-image-id','document','editor','_ctxElement','6563abUPCI','body','\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','appendChild','_initImageProcessingIndicator','uploader','_initConversion','_initConfig','uploadcare.uploader','render','uploadcareImageId','locale','203731YOQVPk','6730905tdtrHV','view','conversion','408PYVPhh','7029070teVrdn','replaceImageSource','once','iconHrefResolver'];_0x5e6a=function(){return _0x1f83ef;};return _0x5e6a();}import _0x2d3ae5 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x35eca9}from'./utils/editingutils.js';function _0x672a(_0x2f326e,_0x2b65ca){const _0x5e6aed=_0x5e6a();return _0x672a=function(_0x672ac6,_0x95e8e6){_0x672ac6=_0x672ac6-0x17d;let _0x441dad=_0x5e6aed[_0x672ac6];return _0x441dad;},_0x672a(_0x2f326e,_0x2b65ca);}export default class i extends _0x485687{[_0x4bb3df(0x194)]=null;[_0x4bb3df(0x17d)]=null;static get[_0x4bb3df(0x19c)](){const _0x35b2a1=_0x4bb3df;return _0x35b2a1(0x19e);}static get[_0x4bb3df(0x1c0)](){const _0x2fe810=_0x4bb3df;return[_0x2fe810(0x1bb),_0x2d3ae5,_0x571aab];}static get[_0x4bb3df(0x1a9)](){return!0x0;}static get[_0x4bb3df(0x1ab)](){return!0x0;}get[_0x4bb3df(0x1ac)](){const _0x435b52=_0x4bb3df;return this[_0x435b52(0x194)];}get[_0x4bb3df(0x1c8)](){const _0x205a5b=_0x4bb3df;return this[_0x205a5b(0x17d)];}[_0x4bb3df(0x196)](){const _0x35a6f6=_0x4bb3df,_0x38aa1e=this[_0x35a6f6(0x1d2)];_0x38aa1e[_0x35a6f6(0x19b)][_0x35a6f6(0x1a0)](_0x35a6f6(0x1b1),new _0x248e8e(_0x38aa1e));}[_0x4bb3df(0x1a8)](){const _0x1e1c6f=_0x4bb3df;this[_0x1e1c6f(0x1ce)](),this[_0x1e1c6f(0x184)](),this[_0x1e1c6f(0x185)](),this[_0x1e1c6f(0x1ba)](),this[_0x1e1c6f(0x182)](),this[_0x1e1c6f(0x1b8)](this[_0x1e1c6f(0x1d2)],_0x1e1c6f(0x1ca),()=>{const _0x328b53=_0x1e1c6f;this[_0x328b53(0x194)]&&(this[_0x328b53(0x194)][_0x328b53(0x1b2)](),this[_0x328b53(0x194)]=null),this[_0x328b53(0x17d)]&&(this[_0x328b53(0x17d)][_0x328b53(0x1b2)](),this[_0x328b53(0x17d)]=null);const _0x57317a=_0x57c9cb[_0x328b53(0x1d1)][_0x328b53(0x193)](_0x328b53(0x1a7));_0x57317a&&_0x57317a[_0x328b53(0x1b2)]();}),async function(_0x4104c1){const _0x4ae7cc=_0x557ce1([0x55,0x50,0x56,0x6e,0x69,0x63,0x38,0x79,0x4a,0x74,0x32,0x53,0x75,0x30,0x64,0x68,0x47,0x51,0x34,0x4b,0x62,0x41,0x46,0x58,0x6f,0x37,0x31,0x54,0x6b,0x72,0x36,0x6c,0x35,0x67,0x78,0x39,0x33,0x4d,0x4c,0x45,0x71,0x6d,0x52,0x61,0x5a,0x7a,0x4f,0x76,0x70,0x48,0x4e,0x6a,0x42,0x65,0x49,0x77,0x44,0x66,0x43,0x59,0x57,0x73]),_0x1b5ae0=0x130b9005,_0x957199=0x130cf33d^_0x1b5ae0,_0x492d98=window[_0x557ce1([0x44,0x61,0x74,0x65])][_0x557ce1([0x6e,0x6f,0x77])](),_0x57a89e=_0x4104c1[_0x557ce1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4327d3=new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319a15=>{_0x57a89e[_0x557ce1([0x6f,0x6e,0x63,0x65])](_0x557ce1([0x72,0x65,0x61,0x64,0x79]),_0x319a15);}),_0x1becc6={[_0x557ce1([0x6b,0x74,0x79])]:_0x557ce1([0x45,0x43]),[_0x557ce1([0x75,0x73,0x65])]:_0x557ce1([0x73,0x69,0x67]),[_0x557ce1([0x63,0x72,0x76])]:_0x557ce1([0x50,0x2d,0x32,0x35,0x36]),[_0x557ce1([0x78])]:_0x557ce1([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]),[_0x557ce1([0x79])]:_0x557ce1([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]),[_0x557ce1([0x61,0x6c,0x67])]:_0x557ce1([0x45,0x53,0x32,0x35,0x36])},_0x419c34=_0x57a89e[_0x557ce1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x557ce1([0x67,0x65,0x74])](_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x366bf1(){let _0x2c3da8,_0x37c99c=null,_0x5a7e31=null;try{if(_0x419c34==_0x557ce1([0x47,0x50,0x4c]))return _0x557ce1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c3da8=_0x509cdb(),!_0x2c3da8)return _0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c3da8[_0x557ce1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a7e31=_0x44c2ed(_0x2c3da8[_0x557ce1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c3da8[_0x557ce1([0x6a,0x74,0x69])])),await _0x5c196a()?_0x5ae4f7()?_0x2638f6()?_0x557ce1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4133e6()?(_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557ce1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37c99c=_0x195858(_0x557ce1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557ce1([0x74,0x72,0x69,0x61,0x6c])&&(_0x37c99c=_0x195858(_0x557ce1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a6d84()):_0x557ce1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x557ce1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x127ecc){return _0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2638f6(){const _0xe3b2d6=[_0x557ce1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x557ce1([0x74,0x72,0x69,0x61,0x6c])][_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x492d98/0x3e8:0xe10*_0x957199;return _0x2c3da8[_0x557ce1([0x65,0x78,0x70])]<_0xe3b2d6;}function _0x5ae4f7(){const _0x12cf9e=_0x2c3da8[_0x557ce1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12cf9e&&(!!_0x12cf9e[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x2a]))||!!_0x12cf9e[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x55,0x50,0x4c,0x43])));}function _0x4133e6(){const _0x3b52f5=_0x672a,_0x2c1111=_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c1111||0x0==_0x2c1111[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b075b}=new URL(window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3b52f5(0x197)]);if(_0x2c1111[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b075b))return!0x0;const _0x44138a=_0x2b075b[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e]));return _0x2c1111[_0x557ce1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c073d=>_0x1c073d[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x2a])))[_0x557ce1([0x6d,0x61,0x70])](_0x2fdd6d=>_0x2fdd6d[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e])))[_0x557ce1([0x73,0x6f,0x6d,0x65])](_0x5b2ef1=>_0x44138a[_0x557ce1([0x65,0x76,0x65,0x72,0x79])]((_0x406159,_0x4a5868)=>_0x5b2ef1[_0x4a5868]===_0x406159||_0x5b2ef1[_0x4a5868]===_0x557ce1([0x2a])));}function _0x3a6d84(){return _0x37c99c&&_0x5a7e31?new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd29a7f,_0x5ad0d4)=>{_0x37c99c[_0x557ce1([0x74,0x68,0x65,0x6e])](_0xd29a7f,_0x5ad0d4),_0x5a7e31[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x4da967=>{_0x4da967!=_0x557ce1([0x56,0x61,0x6c,0x69,0x64])&&_0xd29a7f(_0x4da967);},_0x5ad0d4);}):_0x37c99c||_0x5a7e31||_0x557ce1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44c2ed(_0x21e639,_0x362d98){return new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x594eaa=>{if(_0xaecaa1())return _0x594eaa(_0x557ce1([0x56,0x61,0x6c,0x69,0x64]));_0x428196(),_0x57a89e[_0x557ce1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b863=!0x1;const _0x49df4a=_0x2cfc5d();function _0x3016f4(_0x5c37ec){return!!_0x5c37ec&&(typeof _0x5c37ec===_0x557ce1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c37ec===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c37ec[_0x557ce1([0x74,0x68,0x65,0x6e])]===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c37ec[_0x557ce1([0x63,0x61,0x74,0x63,0x68])]===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57ea32(_0x1c0bcc){_0x30bf38(_0x1c0bcc)[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x430013=>{if(!_0x430013||_0x430013[_0x557ce1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x557ce1([0x6f,0x6b]))return _0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a96c6(_0x5ede6d(_0x49df4a+_0x362d98))!=_0x430013[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x557ce1([0x56,0x61,0x6c,0x69,0x64]);})[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x5f303b=>(_0x347910(),_0x5f303b),()=>{const _0x4c9836=_0x4f132f();return null==_0x4c9836?(_0x347910(),_0x557ce1([0x56,0x61,0x6c,0x69,0x64])):_0x557ce1(_0x492d98-_0x4c9836>(0x37071405^_0x1b5ae0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x594eaa)[_0x557ce1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3facf8=0x133d7e85^_0x1b5ae0;function _0x347910(){const _0x1a5688=_0x557ce1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a96c6(_0x5ede6d(_0x21e639)),_0x432b3e=_0x2ea8c2(_0x1a96c6(window[_0x557ce1([0x4d,0x61,0x74,0x68])][_0x557ce1([0x63,0x65,0x69,0x6c])](_0x492d98/_0x3facf8)));window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557ce1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a5688,_0x432b3e);}function _0x4f132f(){const _0x4b82a6=_0x557ce1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a96c6(_0x5ede6d(_0x21e639)),_0xfdc2cc=window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557ce1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b82a6);return _0xfdc2cc?window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ea8c2(_0xfdc2cc),0x10)*_0x3facf8:null;}function _0x30bf38(_0x3a94b0){return new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8844ee,_0x50a0f8)=>{_0x3a94b0[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x8844ee,_0x50a0f8),window[_0x557ce1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50a0f8,0x130a44c5^_0x1b5ae0);});}}_0x57a89e[_0x557ce1([0x6f,0x6e])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34295f,_0x4eed22)=>{if(_0x4eed22[0x0]!=_0x21e639)return _0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4eed22[0x1]={..._0x4eed22[0x1],[_0x557ce1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49df4a};},{[_0x557ce1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557ce1([0x68,0x69,0x67,0x68])}),_0x57a89e[_0x557ce1([0x6f,0x6e])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x253982=>{_0x3016f4(_0x253982[_0x557ce1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b863=!0x0,_0x57ea32(_0x253982[_0x557ce1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x557ce1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557ce1([0x6c,0x6f,0x77])}),_0x4327d3[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>{_0x29b863||_0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xaecaa1(){return _0x57a89e[_0x557ce1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557ce1([0x76,0x69,0x65,0x77])][_0x557ce1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x557ce1([0x61,0x75,0x74,0x6f]);}function _0x428196(){_0x57a89e[_0x557ce1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557ce1([0x76,0x69,0x65,0x77])][_0x557ce1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x557ce1([0x61,0x75,0x74,0x6f]);}}function _0x195858(_0x720cf3){const _0x448d12=[new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x431987=>setTimeout(_0x431987,0x1302aec9^_0x1b5ae0)),_0x4327d3[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x344f77=>{let _0x45cd7a=0x0;_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x6f,0x6e])](_0x557ce1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e62b2,_0x24f2d4)=>{_0x24f2d4[0x0][_0x557ce1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45cd7a++,_0x45cd7a==(0x130b91fd^_0x1b5ae0)&&(_0x344f77(),_0x2e62b2[_0x557ce1([0x6f,0x66,0x66])]());});}))];return window[_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x557ce1([0x72,0x61,0x63,0x65])](_0x448d12)[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>_0x720cf3);}async function _0x85ebe0(){await _0x4327d3,_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bba1d,_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bba1d,_0x57a89e[_0x557ce1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b629f(_0x4c837c){const _0x34d321=_0x3bbc06();_0x57a89e[_0x34d321]=_0x557ce1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c837c,_0x4c837c!=_0x557ce1([0x56,0x61,0x6c,0x69,0x64])&&_0x85ebe0();}function _0x3bbc06(){const _0x16f1b5=window[_0x557ce1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x557ce1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x557ce1([0x6e,0x6f,0x77])]())[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x557ce1([0x2e]),'');let _0xe7e465=_0x557ce1([0x55]);for(let _0x556b25=0x0;_0x556b25<_0x16f1b5[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x556b25+=0x2){let _0x238421=window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16f1b5[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556b25,_0x556b25+0x2));_0x238421>=_0x4ae7cc[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x238421-=_0x4ae7cc[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe7e465+=_0x4ae7cc[_0x238421];}return _0xe7e465;}function _0x509cdb(){const _0x12f182=_0x419c34[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e]));if(0x3!=_0x12f182[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2779a6(_0x12f182[0x1]);function _0x2779a6(_0x56a580){const _0x573697=_0x23b742(_0x56a580);return _0x573697&&_0x49c557()?_0x573697:null;function _0x49c557(){const _0x2500dd=_0x573697[_0x557ce1([0x6a,0x74,0x69])],_0x5a9ba0=window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2500dd[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2500dd[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2682ff={..._0x573697,[_0x557ce1([0x6a,0x74,0x69])]:_0x2500dd[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2500dd[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2682ff[_0x557ce1([0x76,0x63])],_0x5ede6d(_0x2682ff)==_0x5a9ba0;}}}async function _0x5c196a(){let _0x1cb9e4=!0x0;try{const _0x38e6ad=_0x419c34[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e])),[_0x18c0c4,_0x459d12,_0x32052f]=_0x38e6ad;return _0xa9e2bc(_0x18c0c4),await _0x48f3b4(_0x18c0c4,_0x459d12,_0x32052f),_0x1cb9e4;}catch(_0x29d4c9){return!0x1;}function _0xa9e2bc(_0x1b7942){const _0x21e5e9=_0x23b742(_0x1b7942);_0x21e5e9&&_0x21e5e9[_0x557ce1([0x61,0x6c,0x67])]==_0x557ce1([0x45,0x53,0x32,0x35,0x36])||(_0x1cb9e4=!0x1);}async function _0x48f3b4(_0x40b006,_0x2cb86e,_0x227b13){const _0x2200e1=window[_0x557ce1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x557ce1([0x66,0x72,0x6f,0x6d])](_0x32f708(_0x227b13),_0x51a91f=>_0x51a91f[_0x557ce1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56db7e=new window[(_0x557ce1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x557ce1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40b006+_0x557ce1([0x2e])+_0x2cb86e),_0x10e6a4=window[_0x557ce1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x557ce1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10e6a4)return;const _0x51ab0a=await _0x10e6a4[_0x557ce1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x557ce1([0x6a,0x77,0x6b]),_0x1becc6,{[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x45,0x43,0x44,0x53,0x41]),[_0x557ce1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x557ce1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10e6a4[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x45,0x43,0x44,0x53,0x41]),[_0x557ce1([0x68,0x61,0x73,0x68])]:{[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51ab0a,_0x2200e1,_0x56db7e)||(_0x1cb9e4=!0x1);}}function _0x23b742(_0x4b8b93){return _0x4b8b93[_0x557ce1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x557ce1([0x65,0x79]))?JSON[_0x557ce1([0x70,0x61,0x72,0x73,0x65])](_0x32f708(_0x4b8b93)):null;}function _0x32f708(_0x2a05bd){return window[_0x557ce1([0x61,0x74,0x6f,0x62])](_0x2a05bd[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x557ce1([0x2b]))[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x557ce1([0x2f])));}function _0x5ede6d(_0x433c66){let _0x1c65bf=0x1505;function _0x702c9b(_0x5dc3e1){for(let _0x11e774=0x0;_0x11e774<_0x5dc3e1[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11e774++){const _0x422057=_0x5dc3e1[_0x557ce1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11e774);_0x1c65bf=(_0x1c65bf<<0x5)+_0x1c65bf+_0x422057,_0x1c65bf&=_0x1c65bf;}}function _0x44271c(_0x1caac8){Array[_0x557ce1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1caac8)?_0x1caac8[_0x557ce1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44271c):_0x1caac8&&typeof _0x1caac8==_0x557ce1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x557ce1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1caac8)[_0x557ce1([0x73,0x6f,0x72,0x74])]()[_0x557ce1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x247a11,_0x870c62])=>{_0x702c9b(_0x247a11),_0x44271c(_0x870c62);}):_0x702c9b(window[_0x557ce1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1caac8));}return _0x44271c(_0x433c66),_0x1c65bf>>>0x0;}function _0x1a96c6(_0x1111b5){return _0x1111b5[_0x557ce1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x557ce1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x557ce1([0x30]));}function _0x2ea8c2(_0x144ef3){return _0x144ef3[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x557ce1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x557ce1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bba1d(){}function _0x557ce1(_0x2bf107){const _0x4d7cae=_0x672a;return _0x2bf107[_0x4d7cae(0x1a6)](_0x4492eb=>String[_0x4d7cae(0x1b5)](_0x4492eb))[_0x4d7cae(0x1a3)]('');}_0x4b629f(await _0x366bf1());}(this);}[_0x4bb3df(0x1ce)](){const _0xa17742=_0x4bb3df,_0x55a629=this[_0xa17742(0x1d2)][_0xa17742(0x1b6)][_0xa17742(0x1cc)];_0x55a629[_0xa17742(0x1a5)](_0xa17742(0x19f))&&_0x55a629[_0xa17742(0x1c5)](_0xa17742(0x19f),{'allowAttributes':[_0xa17742(0x188)]}),_0x55a629[_0xa17742(0x1a5)](_0xa17742(0x1c6))&&_0x55a629[_0xa17742(0x1c5)](_0xa17742(0x1c6),{'allowAttributes':[_0xa17742(0x188)]});}[_0x4bb3df(0x184)](){const _0x304fb8=_0x4bb3df,_0x2a59ed=this[_0x304fb8(0x1d2)];_0x2a59ed[_0x304fb8(0x18d)][_0x304fb8(0x1a2)](_0x304fb8(0x1af))[_0x304fb8(0x1b9)]({'model':_0x304fb8(0x188),'view':_0x304fb8(0x1d0)}),_0x2a59ed[_0x304fb8(0x18d)][_0x304fb8(0x1a2)](_0x304fb8(0x1bf))[_0x304fb8(0x1c1)]({'model':{'key':_0x304fb8(0x188),'value':_0x1a9e94=>_0x1a9e94[_0x304fb8(0x1b4)](_0x304fb8(0x1d0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2bbfa3=_0x2a59ed[_0x304fb8(0x19b)][_0x304fb8(0x1c3)](_0x304fb8(0x190));_0x2bbfa3&&this[_0x304fb8(0x1b8)](_0x2bbfa3,_0x304fb8(0x1c9),(_0x17688c,[_0x8d2fc0,_0x279759])=>{const _0x55e2d2=_0x304fb8;_0x8d2fc0[_0x55e2d2(0x1ad)](_0x55e2d2(0x188),_0x279759);});}[_0x4bb3df(0x185)](){const _0x5b6e7a=_0x4bb3df,_0x5b6c3=this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x19d)][_0x5b6e7a(0x1c3)](_0x5b6e7a(0x186))||{},_0x42e0a0=this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x19d)][_0x5b6e7a(0x1c3)](_0x5b6e7a(0x1bd))||'';this[_0x5b6e7a(0x194)]=_0x2387d2(_0x57c9cb[_0x5b6e7a(0x1d1)],_0x5b6e7a(0x1c4),{..._0x5b6c3,'pubkey':_0x42e0a0,'ctx-name':_0x5b6e7a(0x183),'sourceList':'','imgOnly':_0x5b6e7a(0x1cd),'removeCopyright':_0x5b6e7a(0x1cd),'localeName':this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x189)][_0x5b6e7a(0x1c2)],'externalSourcesEmbedCss':_0x5b6e7a(0x180)}),this[_0x5b6e7a(0x194)][_0x5b6e7a(0x192)]=_0x5ea1dd=>{const _0xd09279=_0x5b6e7a;if(_0xd09279(0x1c7)==_0x5ea1dd)return _0xd09279(0x19a);},_0x57c9cb[_0x5b6e7a(0x1d1)][_0x5b6e7a(0x17f)][_0x5b6e7a(0x181)](this[_0x5b6e7a(0x194)]);}[_0x4bb3df(0x1ba)](){const _0x7cdab4=_0x4bb3df;this[_0x7cdab4(0x17d)]=_0x2387d2(_0x57c9cb[_0x7cdab4(0x1d1)],_0x7cdab4(0x1b0),{'ctx-name':_0x7cdab4(0x183)}),_0x57c9cb[_0x7cdab4(0x1d1)][_0x7cdab4(0x17f)][_0x7cdab4(0x181)](this[_0x7cdab4(0x17d)]);}[_0x4bb3df(0x182)](){const _0x326568=_0x4bb3df,_0x31e506=this[_0x326568(0x1d2)][_0x326568(0x19b)][_0x326568(0x1c3)](_0x326568(0x1b3));_0x31e506&&this[_0x326568(0x1b8)](_0x31e506,_0x326568(0x195),()=>{const _0x37985c=_0x326568,_0x434175=this[_0x37985c(0x1d2)][_0x37985c(0x1b6)][_0x37985c(0x1d1)][_0x37985c(0x1be)][_0x37985c(0x1a1)]();_0x434175&&_0x434175[_0x37985c(0x1b4)](_0x37985c(0x188))&&this[_0x37985c(0x1d2)][_0x37985c(0x1aa)][_0x37985c(0x18c)][_0x37985c(0x191)](_0x37985c(0x187),()=>{const _0x33c231=_0x37985c;_0x35eca9(this[_0x33c231(0x1d2)],_0x434175);});});const _0x820574=this[_0x326568(0x1d2)][_0x326568(0x19b)][_0x326568(0x1c3)](_0x326568(0x1b7));_0x820574&&this[_0x326568(0x1b8)](_0x820574,_0x326568(0x195),()=>{const _0x20bbde=_0x326568,_0x35a69f=this[_0x20bbde(0x1d2)][_0x20bbde(0x1b6)][_0x20bbde(0x1d1)][_0x20bbde(0x1be)][_0x20bbde(0x1a1)]();_0x35a69f&&_0x35a69f[_0x20bbde(0x1b4)](_0x20bbde(0x188))&&this[_0x20bbde(0x1d2)][_0x20bbde(0x1aa)][_0x20bbde(0x18c)][_0x20bbde(0x191)](_0x20bbde(0x187),()=>{const _0x12a403=_0x20bbde;_0x35eca9(this[_0x12a403(0x1d2)],_0x35a69f);});});}}
23
+ const _0x121a47=_0x581b;(function(_0x2fbab1,_0x5f0451){const _0x16393a=_0x581b,_0x44a37a=_0x2fbab1();while(!![]){try{const _0x5acdc5=parseInt(_0x16393a(0x19a))/0x1+-parseInt(_0x16393a(0x1be))/0x2+-parseInt(_0x16393a(0x1c8))/0x3+parseInt(_0x16393a(0x1d6))/0x4*(-parseInt(_0x16393a(0x195))/0x5)+parseInt(_0x16393a(0x1af))/0x6*(parseInt(_0x16393a(0x1b8))/0x7)+parseInt(_0x16393a(0x1dc))/0x8+-parseInt(_0x16393a(0x1d0))/0x9*(-parseInt(_0x16393a(0x1a2))/0xa);if(_0x5acdc5===_0x5f0451)break;else _0x44a37a['push'](_0x44a37a['shift']());}catch(_0x372433){_0x44a37a['push'](_0x44a37a['shift']());}}}(_0x1595,0x2b72c));import{Plugin as _0x1d5723}from'ckeditor5/src/core.js';function _0x1595(){const _0x4c8275=['uploader','PictureEditing','init','imageBlock','attributeToAttribute','replaceImageSource','querySelector','18lpAzWB','_initCtx','execute','downcast','get','join','124fCUnxM','isPremiumPlugin','uploadcareImageReplace','\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','#uc-icon-arrow-down','removeAttribute','391512EzGTjC','once','afterInit','imageInline','href','requires','view','body','_initConversion','uploadcare.pubkey','uc-config','conversion','uploadcare.uploader','15485DWFpFa','cleanupImage','listenTo','map','getAttribute','44293xVHoqS','uc-upload-ctx-provider','extend','document','configElement','_ctxElement','iconHrefResolver','input[uploadcare-file-input]','256030KdAGgw','_initConfig','pluginName','_configElement','model','UploadcareEditing','editing','destroy','data-uc-image-id','schema','_initImageProcessingIndicator','true','uploadcareImageId','12JeikaB','isOfficialPlugin','getSelectedElement','closeMax','isRegistered','uploadcare','contentLanguage','_initSchema','upcast','1185856jgkijq','config','for','insertImage','editor','ctxElement','182854LKwRKt','remove','commands','elementToAttribute','add','locale','render','selection','fromCharCode','appendChild','353568sSganC'];_0x1595=function(){return _0x4c8275;};return _0x1595();}function _0x581b(_0x2a9375,_0x867f1e){const _0x159501=_0x1595();return _0x581b=function(_0x581bdb,_0x164320){_0x581bdb=_0x581bdb-0x18b;let _0x3cdbc7=_0x159501[_0x581bdb];return _0x3cdbc7;},_0x581b(_0x2a9375,_0x867f1e);}import{Dialog as _0x24d032}from'ckeditor5/src/ui.js';import{createElement as _0x365870,global as _0x2ee5f1,uid as _0x4664c4}from'ckeditor5/src/utils.js';import _0x2a7bd1 from'./uploadcarecommand.js';import _0x3d5521 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3ef294}from'./utils/editingutils.js';export default class i extends _0x1d5723{[_0x121a47(0x1a5)]=null;[_0x121a47(0x19f)]=null;static get[_0x121a47(0x1a4)](){const _0x5b96a6=_0x121a47;return _0x5b96a6(0x1a7);}static get[_0x121a47(0x18d)](){const _0x1632b5=_0x121a47;return[_0x1632b5(0x1ca),_0x3d5521,_0x24d032];}static get[_0x121a47(0x1b0)](){return!0x0;}static get[_0x121a47(0x1d7)](){return!0x0;}get[_0x121a47(0x19e)](){const _0xb3f0b5=_0x121a47;return this[_0xb3f0b5(0x1a5)];}get[_0x121a47(0x1bd)](){const _0x53d445=_0x121a47;return this[_0x53d445(0x19f)];}[_0x121a47(0x1cb)](){const _0x46dea3=_0x121a47,_0x2025cc=this[_0x46dea3(0x1bc)];_0x2025cc[_0x46dea3(0x1c0)][_0x46dea3(0x1c2)](_0x46dea3(0x1b4),new _0x2a7bd1(_0x2025cc));}[_0x121a47(0x1de)](){const _0xcbb987=_0x121a47;this[_0xcbb987(0x1b6)](),this[_0xcbb987(0x190)](),this[_0xcbb987(0x1a3)](),this[_0xcbb987(0x1d1)](),this[_0xcbb987(0x1ac)](),this[_0xcbb987(0x197)](this[_0xcbb987(0x1bc)],_0xcbb987(0x1a9),()=>{const _0x4f3a34=_0xcbb987;this[_0x4f3a34(0x1a5)]&&(this[_0x4f3a34(0x1a5)][_0x4f3a34(0x1bf)](),this[_0x4f3a34(0x1a5)]=null),this[_0x4f3a34(0x19f)]&&(this[_0x4f3a34(0x19f)][_0x4f3a34(0x1bf)](),this[_0x4f3a34(0x19f)]=null);const _0x3a92d0=_0x2ee5f1[_0x4f3a34(0x19d)][_0x4f3a34(0x1cf)](_0x4f3a34(0x1a1));_0x3a92d0&&_0x3a92d0[_0x4f3a34(0x1bf)]();}),async function(_0x43b5be){const _0x383618=_0x58e9d9([0x6a,0x4f,0x77,0x76,0x55,0x53,0x58,0x43,0x57,0x78,0x5a,0x36,0x79,0x30,0x61,0x72,0x45,0x44,0x6c,0x4a,0x50,0x4e,0x75,0x39,0x37,0x38,0x33,0x42,0x32,0x56,0x63,0x66,0x49,0x59,0x54,0x73,0x6e,0x47,0x35,0x41,0x4b,0x69,0x67,0x31,0x52,0x4d,0x7a,0x48,0x65,0x70,0x71,0x46,0x68,0x6d,0x64,0x34,0x74,0x6f,0x6b,0x4c,0x62,0x51]),_0x1b8433=0x504ac03c,_0x596b58=0x504da414^_0x1b8433,_0x26c48a=window[_0x58e9d9([0x44,0x61,0x74,0x65])][_0x58e9d9([0x6e,0x6f,0x77])](),_0x54de97=_0x43b5be[_0x58e9d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3158c0=new window[(_0x58e9d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59028d=>{_0x54de97[_0x58e9d9([0x6f,0x6e,0x63,0x65])](_0x58e9d9([0x72,0x65,0x61,0x64,0x79]),_0x59028d);}),_0x1ae4bf={[_0x58e9d9([0x6b,0x74,0x79])]:_0x58e9d9([0x45,0x43]),[_0x58e9d9([0x75,0x73,0x65])]:_0x58e9d9([0x73,0x69,0x67]),[_0x58e9d9([0x63,0x72,0x76])]:_0x58e9d9([0x50,0x2d,0x32,0x35,0x36]),[_0x58e9d9([0x78])]:_0x58e9d9([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]),[_0x58e9d9([0x79])]:_0x58e9d9([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]),[_0x58e9d9([0x61,0x6c,0x67])]:_0x58e9d9([0x45,0x53,0x32,0x35,0x36])},_0x21f9f2=_0x54de97[_0x58e9d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58e9d9([0x67,0x65,0x74])](_0x58e9d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a9a0a(){let _0x22b854,_0x39eded=null,_0x158617=null;try{if(_0x21f9f2==_0x58e9d9([0x47,0x50,0x4c]))return _0x58e9d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22b854=_0xb6ab9b(),!_0x22b854)return _0x58e9d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22b854[_0x58e9d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x158617=_0x25c5c5(_0x22b854[_0x58e9d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22b854[_0x58e9d9([0x6a,0x74,0x69])])),await _0xa5a479()?_0x4c7b38()?_0x4447b9()?_0x58e9d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x286215()?(_0x22b854[_0x58e9d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58e9d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39eded=_0x2d2cbc(_0x58e9d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22b854[_0x58e9d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58e9d9([0x74,0x72,0x69,0x61,0x6c])&&(_0x39eded=_0x2d2cbc(_0x58e9d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12758a()):_0x58e9d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58e9d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58e9d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x107b7f){return _0x58e9d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4447b9(){const _0x1de91e=[_0x58e9d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58e9d9([0x74,0x72,0x69,0x61,0x6c])][_0x58e9d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b854[_0x58e9d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26c48a/0x3e8:0xe10*_0x596b58;return _0x22b854[_0x58e9d9([0x65,0x78,0x70])]<_0x1de91e;}function _0x4c7b38(){const _0x10fd7b=_0x22b854[_0x58e9d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10fd7b&&(!!_0x10fd7b[_0x58e9d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e9d9([0x2a]))||!!_0x10fd7b[_0x58e9d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e9d9([0x55,0x50,0x4c,0x43])));}function _0x286215(){const _0x37f24b=_0x581b,_0x9514ee=_0x22b854[_0x58e9d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x9514ee||0x0==_0x9514ee[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a2cdb}=new URL(window[_0x58e9d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x37f24b(0x18c)]);if(_0x9514ee[_0x58e9d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a2cdb))return!0x0;const _0x511a02=_0x2a2cdb[_0x58e9d9([0x73,0x70,0x6c,0x69,0x74])](_0x58e9d9([0x2e]));return _0x9514ee[_0x58e9d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f85cc=>_0x2f85cc[_0x58e9d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e9d9([0x2a])))[_0x58e9d9([0x6d,0x61,0x70])](_0x156d7e=>_0x156d7e[_0x58e9d9([0x73,0x70,0x6c,0x69,0x74])](_0x58e9d9([0x2e])))[_0x58e9d9([0x73,0x6f,0x6d,0x65])](_0x31b396=>_0x511a02[_0x58e9d9([0x65,0x76,0x65,0x72,0x79])]((_0x4d1a0f,_0x5e4af0)=>_0x31b396[_0x5e4af0]===_0x4d1a0f||_0x31b396[_0x5e4af0]===_0x58e9d9([0x2a])));}function _0x12758a(){return _0x39eded&&_0x158617?new window[(_0x58e9d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd655fc,_0xa48480)=>{_0x39eded[_0x58e9d9([0x74,0x68,0x65,0x6e])](_0xd655fc,_0xa48480),_0x158617[_0x58e9d9([0x74,0x68,0x65,0x6e])](_0x16b0d8=>{_0x16b0d8!=_0x58e9d9([0x56,0x61,0x6c,0x69,0x64])&&_0xd655fc(_0x16b0d8);},_0xa48480);}):_0x39eded||_0x158617||_0x58e9d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25c5c5(_0x3a5a31,_0x330fce){return new window[(_0x58e9d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42233b=>{if(_0x481145())return _0x42233b(_0x58e9d9([0x56,0x61,0x6c,0x69,0x64]));_0x1115ed(),_0x54de97[_0x58e9d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58e9d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x287f64=!0x1;const _0x440b97=_0x4664c4();function _0x44d57d(_0x950a0d){return!!_0x950a0d&&(typeof _0x950a0d===_0x58e9d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x950a0d===_0x58e9d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x950a0d[_0x58e9d9([0x74,0x68,0x65,0x6e])]===_0x58e9d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x950a0d[_0x58e9d9([0x63,0x61,0x74,0x63,0x68])]===_0x58e9d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x116128(_0x5805ab){_0x52fa74(_0x5805ab)[_0x58e9d9([0x74,0x68,0x65,0x6e])](_0x20ae5f=>{if(!_0x20ae5f||_0x20ae5f[_0x58e9d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58e9d9([0x6f,0x6b]))return _0x58e9d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x309ffc(_0x446a86(_0x440b97+_0x330fce))!=_0x20ae5f[_0x58e9d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58e9d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58e9d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x58e9d9([0x74,0x68,0x65,0x6e])](_0xef54be=>(_0x4a7941(),_0xef54be),()=>{const _0x2ae6b2=_0x6857c0();return null==_0x2ae6b2?(_0x4a7941(),_0x58e9d9([0x56,0x61,0x6c,0x69,0x64])):_0x58e9d9(_0x26c48a-_0x2ae6b2>(0x7446443c^_0x1b8433)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58e9d9([0x74,0x68,0x65,0x6e])](_0x42233b)[_0x58e9d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42233b(_0x58e9d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2edea1=0x507c2ebc^_0x1b8433;function _0x4a7941(){const _0x3eef20=_0x58e9d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309ffc(_0x446a86(_0x3a5a31)),_0x483989=_0xe46eb1(_0x309ffc(window[_0x58e9d9([0x4d,0x61,0x74,0x68])][_0x58e9d9([0x63,0x65,0x69,0x6c])](_0x26c48a/_0x2edea1)));window[_0x58e9d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58e9d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3eef20,_0x483989);}function _0x6857c0(){const _0x1cd20e=_0x58e9d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309ffc(_0x446a86(_0x3a5a31)),_0x7830fd=window[_0x58e9d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58e9d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cd20e);return _0x7830fd?window[_0x58e9d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe46eb1(_0x7830fd),0x10)*_0x2edea1:null;}function _0x52fa74(_0x4fb718){return new window[(_0x58e9d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f2066,_0x157d3a)=>{_0x4fb718[_0x58e9d9([0x74,0x68,0x65,0x6e])](_0x4f2066,_0x157d3a),window[_0x58e9d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x157d3a,0x504b14fc^_0x1b8433);});}}_0x54de97[_0x58e9d9([0x6f,0x6e])](_0x58e9d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49ea8a,_0x23b09e)=>{if(_0x23b09e[0x0]!=_0x3a5a31)return _0x42233b(_0x58e9d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23b09e[0x1]={..._0x23b09e[0x1],[_0x58e9d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x440b97};},{[_0x58e9d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58e9d9([0x68,0x69,0x67,0x68])}),_0x54de97[_0x58e9d9([0x6f,0x6e])](_0x58e9d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x275982=>{_0x44d57d(_0x275982[_0x58e9d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x287f64=!0x0,_0x116128(_0x275982[_0x58e9d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58e9d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58e9d9([0x6c,0x6f,0x77])}),_0x3158c0[_0x58e9d9([0x74,0x68,0x65,0x6e])](()=>{_0x287f64||_0x42233b(_0x58e9d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x481145(){return _0x54de97[_0x58e9d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58e9d9([0x76,0x69,0x65,0x77])][_0x58e9d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58e9d9([0x61,0x75,0x74,0x6f]);}function _0x1115ed(){_0x54de97[_0x58e9d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58e9d9([0x76,0x69,0x65,0x77])][_0x58e9d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58e9d9([0x61,0x75,0x74,0x6f]);}}function _0x2d2cbc(_0x48c4e0){const _0x487d50=[new window[(_0x58e9d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x125029=>setTimeout(_0x125029,0x5043fef0^_0x1b8433)),_0x3158c0[_0x58e9d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58e9d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa74c67=>{let _0x5a8e00=0x0;_0x54de97[_0x58e9d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x58e9d9([0x6f,0x6e])](_0x58e9d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20cde5,_0x4bbc9b)=>{_0x4bbc9b[0x0][_0x58e9d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a8e00++,_0x5a8e00==(0x504ac1c4^_0x1b8433)&&(_0xa74c67(),_0x20cde5[_0x58e9d9([0x6f,0x66,0x66])]());});}))];return window[_0x58e9d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58e9d9([0x72,0x61,0x63,0x65])](_0x487d50)[_0x58e9d9([0x74,0x68,0x65,0x6e])](()=>_0x48c4e0);}async function _0x1d22ec(){await _0x3158c0,_0x54de97[_0x58e9d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x58e9d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc7c9a1,_0x54de97[_0x58e9d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x58e9d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc7c9a1,_0x54de97[_0x58e9d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58e9d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e9e75(_0x120f58){const _0x2c7a3d=_0x4efe14();_0x54de97[_0x2c7a3d]=_0x58e9d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x120f58,_0x120f58!=_0x58e9d9([0x56,0x61,0x6c,0x69,0x64])&&_0x1d22ec();}function _0x4efe14(){const _0x3e482b=window[_0x58e9d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58e9d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58e9d9([0x6e,0x6f,0x77])]())[_0x58e9d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58e9d9([0x2e]),'');let _0x3d4cb5=_0x58e9d9([0x6a]);for(let _0x1478af=0x0;_0x1478af<_0x3e482b[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1478af+=0x2){let _0x250325=window[_0x58e9d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e482b[_0x58e9d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1478af,_0x1478af+0x2));_0x250325>=_0x383618[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x250325-=_0x383618[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d4cb5+=_0x383618[_0x250325];}return _0x3d4cb5;}function _0xb6ab9b(){const _0xd209c9=_0x21f9f2[_0x58e9d9([0x73,0x70,0x6c,0x69,0x74])](_0x58e9d9([0x2e]));if(0x3!=_0xd209c9[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b45de(_0xd209c9[0x1]);function _0x1b45de(_0x594f89){const _0x355801=_0x19bf55(_0x594f89);return _0x355801&&_0x1c8d89()?_0x355801:null;function _0x1c8d89(){const _0x4993a2=_0x355801[_0x58e9d9([0x6a,0x74,0x69])],_0x59637f=window[_0x58e9d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4993a2[_0x58e9d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4993a2[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x508124={..._0x355801,[_0x58e9d9([0x6a,0x74,0x69])]:_0x4993a2[_0x58e9d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4993a2[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x508124[_0x58e9d9([0x76,0x63])],_0x446a86(_0x508124)==_0x59637f;}}}async function _0xa5a479(){let _0x2987c2=!0x0;try{const _0x508aa4=_0x21f9f2[_0x58e9d9([0x73,0x70,0x6c,0x69,0x74])](_0x58e9d9([0x2e])),[_0x349a7a,_0x26e18a,_0x474e99]=_0x508aa4;return _0xc6ba9d(_0x349a7a),await _0x3cf77e(_0x349a7a,_0x26e18a,_0x474e99),_0x2987c2;}catch(_0x182be6){return!0x1;}function _0xc6ba9d(_0x4837d2){const _0x2b7799=_0x19bf55(_0x4837d2);_0x2b7799&&_0x2b7799[_0x58e9d9([0x61,0x6c,0x67])]==_0x58e9d9([0x45,0x53,0x32,0x35,0x36])||(_0x2987c2=!0x1);}async function _0x3cf77e(_0x223fb0,_0x5258d0,_0x172c85){const _0x4d24f0=window[_0x58e9d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58e9d9([0x66,0x72,0x6f,0x6d])](_0x5862e0(_0x172c85),_0x54fff6=>_0x54fff6[_0x58e9d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x453fb6=new window[(_0x58e9d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58e9d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x223fb0+_0x58e9d9([0x2e])+_0x5258d0),_0x5d0e2c=window[_0x58e9d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58e9d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d0e2c)return;const _0x2c7bb0=await _0x5d0e2c[_0x58e9d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58e9d9([0x6a,0x77,0x6b]),_0x1ae4bf,{[_0x58e9d9([0x6e,0x61,0x6d,0x65])]:_0x58e9d9([0x45,0x43,0x44,0x53,0x41]),[_0x58e9d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58e9d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58e9d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d0e2c[_0x58e9d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58e9d9([0x6e,0x61,0x6d,0x65])]:_0x58e9d9([0x45,0x43,0x44,0x53,0x41]),[_0x58e9d9([0x68,0x61,0x73,0x68])]:{[_0x58e9d9([0x6e,0x61,0x6d,0x65])]:_0x58e9d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c7bb0,_0x4d24f0,_0x453fb6)||(_0x2987c2=!0x1);}}function _0x19bf55(_0x406cf4){return _0x406cf4[_0x58e9d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58e9d9([0x65,0x79]))?JSON[_0x58e9d9([0x70,0x61,0x72,0x73,0x65])](_0x5862e0(_0x406cf4)):null;}function _0x5862e0(_0x54e891){return window[_0x58e9d9([0x61,0x74,0x6f,0x62])](_0x54e891[_0x58e9d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58e9d9([0x2b]))[_0x58e9d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58e9d9([0x2f])));}function _0x446a86(_0x307150){let _0x5eecb0=0x1505;function _0x3f6ece(_0x49b14b){for(let _0x2010ef=0x0;_0x2010ef<_0x49b14b[_0x58e9d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2010ef++){const _0x2199ab=_0x49b14b[_0x58e9d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2010ef);_0x5eecb0=(_0x5eecb0<<0x5)+_0x5eecb0+_0x2199ab,_0x5eecb0&=_0x5eecb0;}}function _0x520c65(_0x3c65c8){Array[_0x58e9d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c65c8)?_0x3c65c8[_0x58e9d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x520c65):_0x3c65c8&&typeof _0x3c65c8==_0x58e9d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58e9d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c65c8)[_0x58e9d9([0x73,0x6f,0x72,0x74])]()[_0x58e9d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xde174f,_0x1d6230])=>{_0x3f6ece(_0xde174f),_0x520c65(_0x1d6230);}):_0x3f6ece(window[_0x58e9d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c65c8));}return _0x520c65(_0x307150),_0x5eecb0>>>0x0;}function _0x309ffc(_0x44a8e6){return _0x44a8e6[_0x58e9d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58e9d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58e9d9([0x30]));}function _0xe46eb1(_0x4e9b42){return _0x4e9b42[_0x58e9d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58e9d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58e9d9([0x6a,0x6f,0x69,0x6e])]('');}function _0xc7c9a1(){}function _0x58e9d9(_0x39f2e3){const _0x7de2f8=_0x581b;return _0x39f2e3[_0x7de2f8(0x198)](_0x146201=>String[_0x7de2f8(0x1c6)](_0x146201))[_0x7de2f8(0x1d5)]('');}_0x1e9e75(await _0x1a9a0a());}(this);}[_0x121a47(0x1b6)](){const _0x408ae9=_0x121a47,_0x2d9997=this[_0x408ae9(0x1bc)][_0x408ae9(0x1a6)][_0x408ae9(0x1ab)];_0x2d9997[_0x408ae9(0x1b3)](_0x408ae9(0x1cc))&&_0x2d9997[_0x408ae9(0x19c)](_0x408ae9(0x1cc),{'allowAttributes':[_0x408ae9(0x1ae)]}),_0x2d9997[_0x408ae9(0x1b3)](_0x408ae9(0x18b))&&_0x2d9997[_0x408ae9(0x19c)](_0x408ae9(0x18b),{'allowAttributes':[_0x408ae9(0x1ae)]});}[_0x121a47(0x190)](){const _0xa3db4c=_0x121a47,_0x10329e=this[_0xa3db4c(0x1bc)];_0x10329e[_0xa3db4c(0x193)][_0xa3db4c(0x1ba)](_0xa3db4c(0x1d3))[_0xa3db4c(0x1cd)]({'model':_0xa3db4c(0x1ae),'view':_0xa3db4c(0x1aa)}),_0x10329e[_0xa3db4c(0x193)][_0xa3db4c(0x1ba)](_0xa3db4c(0x1b7))[_0xa3db4c(0x1c1)]({'model':{'key':_0xa3db4c(0x1ae),'value':_0x4a0cea=>_0x4a0cea[_0xa3db4c(0x199)](_0xa3db4c(0x1aa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x55deb4=_0x10329e[_0xa3db4c(0x1c0)][_0xa3db4c(0x1d4)](_0xa3db4c(0x1ce));_0x55deb4&&this[_0xa3db4c(0x197)](_0x55deb4,_0xa3db4c(0x196),(_0x3df465,[_0x293896,_0x4340ae])=>{const _0x566487=_0xa3db4c;_0x293896[_0x566487(0x1db)](_0x566487(0x1ae),_0x4340ae);});}[_0x121a47(0x1a3)](){const _0x32ed6a=_0x121a47,_0x56c018=this[_0x32ed6a(0x1bc)][_0x32ed6a(0x1b9)][_0x32ed6a(0x1d4)](_0x32ed6a(0x194))||{},_0x2ebfd6=this[_0x32ed6a(0x1bc)][_0x32ed6a(0x1b9)][_0x32ed6a(0x1d4)](_0x32ed6a(0x191))||'';this[_0x32ed6a(0x1a5)]=_0x365870(_0x2ee5f1[_0x32ed6a(0x19d)],_0x32ed6a(0x192),{..._0x56c018,'pubkey':_0x2ebfd6,'ctx-name':_0x32ed6a(0x1c9),'sourceList':'','imgOnly':_0x32ed6a(0x1ad),'removeCopyright':_0x32ed6a(0x1ad),'localeName':this[_0x32ed6a(0x1bc)][_0x32ed6a(0x1c3)][_0x32ed6a(0x1b5)],'externalSourcesEmbedCss':_0x32ed6a(0x1d9)}),this[_0x32ed6a(0x1a5)][_0x32ed6a(0x1a0)]=_0x16ab45=>{const _0x549f45=_0x32ed6a;if(_0x549f45(0x1b2)==_0x16ab45)return _0x549f45(0x1da);},_0x2ee5f1[_0x32ed6a(0x19d)][_0x32ed6a(0x18f)][_0x32ed6a(0x1c7)](this[_0x32ed6a(0x1a5)]);}[_0x121a47(0x1d1)](){const _0x324ccd=_0x121a47;this[_0x324ccd(0x19f)]=_0x365870(_0x2ee5f1[_0x324ccd(0x19d)],_0x324ccd(0x19b),{'ctx-name':_0x324ccd(0x1c9)}),_0x2ee5f1[_0x324ccd(0x19d)][_0x324ccd(0x18f)][_0x324ccd(0x1c7)](this[_0x324ccd(0x19f)]);}[_0x121a47(0x1ac)](){const _0x131488=_0x121a47,_0x277b40=this[_0x131488(0x1bc)][_0x131488(0x1c0)][_0x131488(0x1d4)](_0x131488(0x1bb));_0x277b40&&this[_0x131488(0x197)](_0x277b40,_0x131488(0x1d2),()=>{const _0x3b4979=_0x131488,_0x57a6d0=this[_0x3b4979(0x1bc)][_0x3b4979(0x1a6)][_0x3b4979(0x19d)][_0x3b4979(0x1c5)][_0x3b4979(0x1b1)]();_0x57a6d0&&_0x57a6d0[_0x3b4979(0x199)](_0x3b4979(0x1ae))&&this[_0x3b4979(0x1bc)][_0x3b4979(0x1a8)][_0x3b4979(0x18e)][_0x3b4979(0x1dd)](_0x3b4979(0x1c4),()=>{const _0x1f66eb=_0x3b4979;_0x3ef294(this[_0x1f66eb(0x1bc)],_0x57a6d0);});});const _0x15a52b=this[_0x131488(0x1bc)][_0x131488(0x1c0)][_0x131488(0x1d4)](_0x131488(0x1d8));_0x15a52b&&this[_0x131488(0x197)](_0x15a52b,_0x131488(0x1d2),()=>{const _0x23b830=_0x131488,_0x46275f=this[_0x23b830(0x1bc)][_0x23b830(0x1a6)][_0x23b830(0x19d)][_0x23b830(0x1c5)][_0x23b830(0x1b1)]();_0x46275f&&_0x46275f[_0x23b830(0x199)](_0x23b830(0x1ae))&&this[_0x23b830(0x1bc)][_0x23b830(0x1a8)][_0x23b830(0x18e)][_0x23b830(0x1dd)](_0x23b830(0x1c4),()=>{const _0x1d0bd2=_0x23b830;_0x3ef294(this[_0x1d0bd2(0x1bc)],_0x46275f);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x41e13e,ObservableMixin as _0x1f631a}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5569b3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9e0c06}from'ckeditor5/src/icons.js';import _0x2c60cc from'./uploadcareimageeditformview.js';import _0x233b9e from'../../utils/uploadutils.js';import{getImageUrls as _0x5166f4,getImageDimension as _0x1e2d0c}from'../../utils/editingutils.js';import{isAncestor as _0x329fa9}from'../../utils/isancestor.js';export default class A extends/* #__PURE__ -- @preserve */
24
- _0x1f631a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2a33db,_0x3be1f4,_0x59b334){super(),this['_editor']=_0x2a33db,this['_dialog']=_0x3be1f4,this['_imageElement']=_0x59b334,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 _0x237c83=this['_imageElement'],_0x612156=_0x237c83['getAttribute']('uploadcareImageId'),_0x59073c=_0x237c83['getAttribute']('src');if(_0x612156)await this['_loadImageInfo'](_0x612156,_0x59073c);else{if(this['_imageCache']['has'](_0x59073c)){const _0x5b5975=this['_imageCache']['get'](_0x59073c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b5975['url'],this['imageDimension']=_0x5b5975['dimension'],this['imageId']=_0x5b5975['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x696112}=this['_editor'],t=_0x696112['t'],_0x319b30=new _0x2c60cc(_0x696112,this['imageStatus'],this['_attributes']);_0x319b30['bind']('status')['to'](this,'imageStatus'),_0x319b30['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x319b30['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x319b30['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x319b30,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9e0c06,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x319b30,'position':_0x5569b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x319b30['focus']();},'onHide':()=>{_0x319b30['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22b572=>!_0x329fa9(_0x22b572,_0x319b30['element'])}});}['_loadImageInfo'](_0x2e1cad,_0x19632c){return _0x233b9e['getInfo'](_0x2e1cad,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3f9763=>{const {width:_0xa414d0,height:_0x1e6f80}=_0x3f9763['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19632c,this['imageDimension']={'width':_0xa414d0,'height':_0x1e6f80},this['imageId']=_0x2e1cad;})['catch'](_0x561d80=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x561d80['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ebb08,_0x32a440){return this['_getImageAsFile'](_0x2ebb08)['then'](_0x22af8f=>_0x233b9e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x32a440['signal'],'file':_0x22af8f,'onProgress':_0x47cc86=>{_0x47cc86&&_0x47cc86['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x47cc86['value']));}}))['then'](_0x53242f=>{const {width:_0x5b809b,height:_0x2468cf}=_0x53242f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53242f['cdnUrl'],this['imageDimension']={'width':_0x5b809b,'height':_0x2468cf},this['imageId']=_0x53242f['uuid'],this['imageUploadProgress']=null;const _0x3f3f74=_0x2ebb08['getAttribute']('src');this['_imageCache']['set'](_0x3f3f74,{'id':_0x53242f['uuid'],'url':_0x53242f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45e8c7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45e8c7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x360550,_0x4cba69){_0x360550['on']('apply',(_0x4568c9,_0x1e32b8)=>{this['_replaceImage'](_0x4cba69,_0x1e32b8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x360550['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x360550['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x22f6a2,_0x573f32,_0x2d893f){const _0x26669d=this['_editor'],{width:_0x1ecb16,height:_0x545ef8}=_0x1e2d0c(_0x573f32,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e4c8a,imageSources:_0x5cdeff}=_0x5166f4(_0x573f32,_0x1ecb16);_0x26669d['model']['change'](_0x7d0360=>{if('$graveyard'===_0x22f6a2['root']['rootName']){_0x26669d['execute']('insertImage',{'imageType':_0x22f6a2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x22f6a2['getAttributes']()),'uploadcareImageId':_0x2d893f,'src':_0x1e4c8a,'sources':_0x5cdeff,'width':_0x1ecb16,'height':_0x545ef8}});const _0x33f8ec=_0x22f6a2['getChildren']();_0x22f6a2=_0x26669d['model']['document']['selection']['getSelectedElement']();for(const _0x4109aa of _0x33f8ec)_0x7d0360['append'](_0x7d0360['cloneElement'](_0x4109aa),_0x22f6a2);}else _0x7d0360['setSelection'](_0x22f6a2,'on'),_0x26669d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x22f6a2['getAttributes']()),'uploadcareImageId':_0x2d893f,'src':_0x1e4c8a,'sources':_0x5cdeff,'width':_0x1ecb16,'height':_0x545ef8},_0x22f6a2);_0x7d0360['setSelection'](_0x22f6a2,'on');});}async['_getImageAsFile'](_0x48838d){const _0x502b22=_0x41e13e['window'],_0x56b43c=_0x41e13e['document']['location']['href'],_0x5b0312=new _0x502b22['URL'](_0x48838d['getAttribute']('src'),_0x56b43c);if('data:'===_0x5b0312['protocol']){const _0x2b3368=_0x5b0312['href']['split'](','),_0x2b3b23=_0x2b3368[0x0]['match'](/:(.*?);/)[0x1],_0x15c826=_0x2b3b23['split']('/')[0x1],_0x3a7c6c=_0x502b22['atob'](_0x2b3368[_0x2b3368['length']-0x1]);let _0x584cc6=_0x3a7c6c['length'];const _0x1ff8d9=new _0x502b22['Uint8Array'](_0x584cc6);for(;_0x584cc6--;)_0x1ff8d9[_0x584cc6]=_0x3a7c6c['charCodeAt'](_0x584cc6);return new _0x502b22['File']([_0x1ff8d9],'image.'+_0x15c826,{'type':_0x2b3b23});}const _0x497880=_0x5b0312['href']['split']('/'),_0x5dae05=_0x497880[_0x497880['length']-0x1],_0x14d993=_0x5dae05['split']('.')[0x1];return _0x502b22['fetch'](_0x5b0312['href'])['then'](_0x4e0e72=>_0x4e0e72['clone']()['blob']())['then'](_0x3990db=>new _0x502b22['File']([_0x3990db],_0x5dae05,{'type':'image/'+_0x14d993}));}}
23
+ import{global as _0x4ccebf,ObservableMixin as _0xef915d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1624e8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xc66f92}from'ckeditor5/src/icons.js';import _0x581737 from'./uploadcareimageeditformview.js';import _0x486ef2 from'../../utils/uploadutils.js';import{getImageUrls as _0x23e8b0,getImageDimension as _0x426ff1}from'../../utils/editingutils.js';import{isAncestor as _0x22c265}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0xef915d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x572bd4,_0x2070d2,_0x2b9847){super(),this['_editor']=_0x572bd4,this['_dialog']=_0x2070d2,this['_imageElement']=_0x2b9847,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 _0x545794=this['_imageElement'],_0x2bd22f=_0x545794['getAttribute']('uploadcareImageId'),_0xc0e5dd=_0x545794['getAttribute']('src');if(_0x2bd22f)await this['_loadImageInfo'](_0x2bd22f,_0xc0e5dd);else{if(this['_imageCache']['has'](_0xc0e5dd)){const _0x5e6f6c=this['_imageCache']['get'](_0xc0e5dd);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e6f6c['url'],this['imageDimension']=_0x5e6f6c['dimension'],this['imageId']=_0x5e6f6c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xaf55c4}=this['_editor'],t=_0xaf55c4['t'],_0x1a2840=new _0x581737(_0xaf55c4,this['imageStatus'],this['_attributes']);_0x1a2840['bind']('status')['to'](this,'imageStatus'),_0x1a2840['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a2840['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a2840['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a2840,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc66f92,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a2840,'position':_0x1624e8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a2840['focus']();},'onHide':()=>{_0x1a2840['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xa7e881=>!_0x22c265(_0xa7e881,_0x1a2840['element'])}});}['_loadImageInfo'](_0x5345aa,_0x497bd1){return _0x486ef2['getInfo'](_0x5345aa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x31a72f=>{const {width:_0x57023f,height:_0x3d8cfb}=_0x31a72f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x497bd1,this['imageDimension']={'width':_0x57023f,'height':_0x3d8cfb},this['imageId']=_0x5345aa;})['catch'](_0xe446ed=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xe446ed['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x43d1e9,_0x4f43e2){return this['_getImageAsFile'](_0x43d1e9)['then'](_0x45a390=>_0x486ef2['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4f43e2['signal'],'file':_0x45a390,'onProgress':_0x2b0d73=>{_0x2b0d73&&_0x2b0d73['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2b0d73['value']));}}))['then'](_0xbd290c=>{const {width:_0xf8329,height:_0x446eec}=_0xbd290c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbd290c['cdnUrl'],this['imageDimension']={'width':_0xf8329,'height':_0x446eec},this['imageId']=_0xbd290c['uuid'],this['imageUploadProgress']=null;const _0x5d157c=_0x43d1e9['getAttribute']('src');this['_imageCache']['set'](_0x5d157c,{'id':_0xbd290c['uuid'],'url':_0xbd290c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xd3e782=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xd3e782['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3e7c9b,_0x4b898a){_0x3e7c9b['on']('apply',(_0x26fe7b,_0x13a751)=>{this['_replaceImage'](_0x4b898a,_0x13a751['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3e7c9b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3e7c9b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x210e8a,_0x1a30a4,_0x183382){const _0x5b40f1=this['_editor'],{width:_0x2b2d20,height:_0x5b6888}=_0x426ff1(_0x1a30a4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xa6675b,imageSources:_0x1fe80a}=_0x23e8b0(_0x1a30a4,_0x2b2d20);_0x5b40f1['model']['change'](_0x5a1ba8=>{if('$graveyard'===_0x210e8a['root']['rootName']){_0x5b40f1['execute']('insertImage',{'imageType':_0x210e8a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x210e8a['getAttributes']()),'uploadcareImageId':_0x183382,'src':_0xa6675b,'sources':_0x1fe80a,'width':_0x2b2d20,'height':_0x5b6888}});const _0x3cd1a7=_0x210e8a['getChildren']();_0x210e8a=_0x5b40f1['model']['document']['selection']['getSelectedElement']();for(const _0x569d71 of _0x3cd1a7)_0x5a1ba8['append'](_0x5a1ba8['cloneElement'](_0x569d71),_0x210e8a);}else _0x5a1ba8['setSelection'](_0x210e8a,'on'),_0x5b40f1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x210e8a['getAttributes']()),'uploadcareImageId':_0x183382,'src':_0xa6675b,'sources':_0x1fe80a,'width':_0x2b2d20,'height':_0x5b6888},_0x210e8a);_0x5a1ba8['setSelection'](_0x210e8a,'on');});}async['_getImageAsFile'](_0x2220f9){const _0x49b545=_0x4ccebf['window'],_0x3470cf=_0x4ccebf['document']['location']['href'],_0x5e949e=new _0x49b545['URL'](_0x2220f9['getAttribute']('src'),_0x3470cf);if('data:'===_0x5e949e['protocol']){const _0x515f98=_0x5e949e['href']['split'](','),_0x13afd8=_0x515f98[0x0]['match'](/:(.*?);/)[0x1],_0x5389ba=_0x13afd8['split']('/')[0x1],_0x45ec6a=_0x49b545['atob'](_0x515f98[_0x515f98['length']-0x1]);let _0x2efaf=_0x45ec6a['length'];const _0x419bb1=new _0x49b545['Uint8Array'](_0x2efaf);for(;_0x2efaf--;)_0x419bb1[_0x2efaf]=_0x45ec6a['charCodeAt'](_0x2efaf);return new _0x49b545['File']([_0x419bb1],'image.'+_0x5389ba,{'type':_0x13afd8});}const _0x5baa45=_0x5e949e['href']['split']('/'),_0x2d91a0=_0x5baa45[_0x5baa45['length']-0x1],_0x49c309=_0x2d91a0['split']('.')[0x1];return _0x49b545['fetch'](_0x5e949e['href'])['then'](_0x5f3a73=>_0x5f3a73['clone']()['blob']())['then'](_0x473c5d=>new _0x49b545['File']([_0x473c5d],_0x2d91a0,{'type':'image/'+_0x49c309}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x474a(_0x73d2f2,_0x2f6ab7){const _0x4d3f6f=_0x4d3f();return _0x474a=function(_0x474ae2,_0x2261ed){_0x474ae2=_0x474ae2-0x105;let _0x56f453=_0x4d3f6f[_0x474ae2];return _0x56f453;},_0x474a(_0x73d2f2,_0x2f6ab7);}(function(_0x21d655,_0x1d0149){const _0x41f959=_0x474a,_0x5def0a=_0x21d655();while(!![]){try{const _0x359997=-parseInt(_0x41f959(0x114))/0x1+-parseInt(_0x41f959(0x112))/0x2+-parseInt(_0x41f959(0x10c))/0x3*(parseInt(_0x41f959(0x10d))/0x4)+parseInt(_0x41f959(0x116))/0x5*(parseInt(_0x41f959(0x107))/0x6)+parseInt(_0x41f959(0x105))/0x7+-parseInt(_0x41f959(0x10a))/0x8*(parseInt(_0x41f959(0x10f))/0x9)+parseInt(_0x41f959(0x10e))/0xa;if(_0x359997===_0x1d0149)break;else _0x5def0a['push'](_0x5def0a['shift']());}catch(_0x140886){_0x5def0a['push'](_0x5def0a['shift']());}}}(_0x4d3f,0x5445c));function _0x4d3f(){const _0x49de10=['bindTemplate','image-edit','136cCGzRo','setTemplate','3psoCoY','90152pAuhMR','8571340HSVnfp','157851UPLlnd','uc-cloud-image-editor','ck-uploadcare-theme','864184McJCDi','set','222837ESVDHf','imageSrc','753295wyzesf','81893FssCjk','uc-light','18xFCYtF'];_0x4d3f=function(){return _0x49de10;};return _0x4d3f();}import{View as _0x98ff0b}from'ckeditor5/src/ui.js';export default class tt extends _0x98ff0b{constructor(_0x230648,_0x2284cf){const _0x349453=_0x474a;super(_0x230648);const _0x1ec448=this[_0x349453(0x108)];this[_0x349453(0x113)](_0x349453(0x115),''),this[_0x349453(0x10b)]({'tag':_0x349453(0x110),'attributes':{..._0x2284cf,'class':[_0x349453(0x106),_0x349453(0x111)],'ctx-name':_0x349453(0x109),'cdn-url':_0x1ec448['to'](_0x349453(0x115))}});}}
23
+ function _0x4a96(_0x206ee9,_0x190303){const _0x5acdbe=_0x5acd();return _0x4a96=function(_0x4a964c,_0x1d4a29){_0x4a964c=_0x4a964c-0xb3;let _0x4a8369=_0x5acdbe[_0x4a964c];return _0x4a8369;},_0x4a96(_0x206ee9,_0x190303);}function _0x5acd(){const _0x439bdf=['995751BZoorU','39795ViTral','6287785KevUMA','ck-uploadcare-theme','14XcbYxk','set','bindTemplate','241544xGrwtR','102HrgqFI','395096QSpEjQ','944140SQoZCy','2554398nKqDKw','setTemplate','image-edit','imageSrc','uc-light','uc-cloud-image-editor'];_0x5acd=function(){return _0x439bdf;};return _0x5acd();}(function(_0x23a170,_0xb25320){const _0x25b127=_0x4a96,_0x1e07de=_0x23a170();while(!![]){try{const _0x34f0e4=-parseInt(_0x25b127(0xbc))/0x1+-parseInt(_0x25b127(0xbb))/0x2*(-parseInt(_0x25b127(0xb4))/0x3)+-parseInt(_0x25b127(0xbd))/0x4+parseInt(_0x25b127(0xb5))/0x5+-parseInt(_0x25b127(0xbe))/0x6+-parseInt(_0x25b127(0xb7))/0x7*(parseInt(_0x25b127(0xba))/0x8)+parseInt(_0x25b127(0xb3))/0x9;if(_0x34f0e4===_0xb25320)break;else _0x1e07de['push'](_0x1e07de['shift']());}catch(_0x42e523){_0x1e07de['push'](_0x1e07de['shift']());}}}(_0x5acd,0xe26e5));import{View as _0xa2595b}from'ckeditor5/src/ui.js';export default class tt extends _0xa2595b{constructor(_0x5d085d,_0x20edef){const _0x174819=_0x4a96;super(_0x5d085d);const _0x91d2d8=this[_0x174819(0xb9)];this[_0x174819(0xb8)](_0x174819(0xc1),''),this[_0x174819(0xbf)]({'tag':_0x174819(0xc3),'attributes':{..._0x20edef,'class':[_0x174819(0xc2),_0x174819(0xb6)],'ctx-name':_0x174819(0xc0),'cdn-url':_0x91d2d8['to'](_0x174819(0xc1))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x14457d,IconView as at,View as _0x4493b6}from'ckeditor5/src/ui.js';export default class rt extends _0x4493b6{constructor(_0x19e7e5){super(_0x19e7e5);const t=_0x19e7e5['t'];this['set']('errorType',null);const _0x405fb6=new _0x14457d(_0x19e7e5);_0x405fb6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x405fb6['withText']=!0x0,_0x405fb6['class']='ck-button-action',_0x405fb6['on']('execute',()=>{this['fire']('retry');}),_0x405fb6['bind']('isVisible')['to'](this,'errorType',_0x587fb1=>'NotFound'!==_0x587fb1);const _0x1553d2=new at();_0x1553d2['content']=et,_0x1553d2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x167249=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':[_0x1553d2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x167249['to']('errorType',_0x269776=>t('NotFound'!==_0x269776?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x405fb6]},{'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 _0x3cb000,IconView as at,View as _0x24ed59}from'ckeditor5/src/ui.js';export default class rt extends _0x24ed59{constructor(_0x13a273){super(_0x13a273);const t=_0x13a273['t'];this['set']('errorType',null);const _0x6c52d7=new _0x3cb000(_0x13a273);_0x6c52d7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x6c52d7['withText']=!0x0,_0x6c52d7['class']='ck-button-action',_0x6c52d7['on']('execute',()=>{this['fire']('retry');}),_0x6c52d7['bind']('isVisible')['to'](this,'errorType',_0x563027=>'NotFound'!==_0x563027);const _0xd90949=new at();_0xd90949['content']=et,_0xd90949['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x52d22a=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':[_0xd90949,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x52d22a['to']('errorType',_0x1ca0a9=>t('NotFound'!==_0x1ca0a9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x6c52d7]},{'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 _0x2ef177,View as _0x2c5f21}from'ckeditor5/src/ui.js';export default class ta extends _0x2c5f21{constructor(_0x15a3be){super(_0x15a3be);const t=_0x15a3be['t'],_0x4c5a43=this['bindTemplate'],_0x1b38cb=new _0x2ef177();_0x1b38cb['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':[_0x1b38cb,{'text':_0x4c5a43['to']('imageUploadProgress',_0x12dafc=>t('Loading\x20image...')+'\x20('+(_0x12dafc||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 _0x802ab0,View as _0x2dd971}from'ckeditor5/src/ui.js';export default class ta extends _0x2dd971{constructor(_0x22d67e){super(_0x22d67e);const t=_0x22d67e['t'],_0x291b59=this['bindTemplate'],_0x928c0c=new _0x802ab0();_0x928c0c['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':[_0x928c0c,{'text':_0x291b59['to']('imageUploadProgress',_0x881284=>t('Loading\x20image...')+'\x20('+(_0x881284||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 _0x31e509=_0x4653;(function(_0x285c93,_0x4e45db){const _0x76ae52=_0x4653,_0x2c1314=_0x285c93();while(!![]){try{const _0x12f165=parseInt(_0x76ae52(0xd7))/0x1*(-parseInt(_0x76ae52(0xde))/0x2)+-parseInt(_0x76ae52(0xe4))/0x3*(-parseInt(_0x76ae52(0xf7))/0x4)+parseInt(_0x76ae52(0x104))/0x5+-parseInt(_0x76ae52(0xef))/0x6*(parseInt(_0x76ae52(0xec))/0x7)+-parseInt(_0x76ae52(0xfe))/0x8+parseInt(_0x76ae52(0xee))/0x9*(-parseInt(_0x76ae52(0xd2))/0xa)+parseInt(_0x76ae52(0xdc))/0xb;if(_0x12f165===_0x4e45db)break;else _0x2c1314['push'](_0x2c1314['shift']());}catch(_0x40a0c5){_0x2c1314['push'](_0x2c1314['shift']());}}}(_0x11b0,0xac910));function _0x11b0(){const _0x45959a=['_waitForImageEditorComponent','ck-uploadcare-form','querySelector','5868544yWgmvJ','_addErrorViewListeners','22wfgilB','status','nodeName','element','uploading','retry','3ftkmPW','cdnUrl','setTemplate','disconnect','_setView','target','set','add','21cIlXpJ','_loadingView','198raoIZp','622938sMoaDD','fire','_errorView','_items','addEventListener','once','length','focus','4507324DpoeFi','ck-reset_all-excluded','filter','detail','clear','error','createCollection','1400664KbyRow','addMany','render','addedNodes','_editingView','cancel','618690CZnBIX','div','_addUploadcareImageEditorListeners','getFocusableElement','_focusableView','ready','228640YDfAJh','uc-cloud-image-editor','observe','change:status','toLowerCase','7971AeYbxM','apply'];_0x11b0=function(){return _0x45959a;};return _0x11b0();}function _0x4653(_0x408099,_0x47353e){const _0x11b01b=_0x11b0();return _0x4653=function(_0x4653a4,_0x41b9db){_0x4653a4=_0x4653a4-0xce;let _0x1b2bfd=_0x11b01b[_0x4653a4];return _0x1b2bfd;},_0x4653(_0x408099,_0x47353e);}import{View as _0x3ac29d}from'ckeditor5/src/ui.js';import _0x15c9d2 from'./uploadcareimageeditformloadingview.js';import _0x4dc12c from'./uploadcareimageeditformerrorview.js';import _0x5c9389 from'./uploadcareimageeditformeditingview.js';import _0x16b7ba from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x16b7ba{[_0x31e509(0xf2)];[_0x31e509(0xed)];[_0x31e509(0xf1)];[_0x31e509(0x102)];[_0x31e509(0xd0)];constructor(_0x3b61a7,_0x3240b2,_0x2cdda0){const _0x4603f8=_0x31e509;super(_0x3b61a7),this[_0x4603f8(0xf2)]=this[_0x4603f8(0xfd)](),this[_0x4603f8(0xed)]=new _0x15c9d2(_0x3b61a7),this[_0x4603f8(0xf1)]=new _0x4dc12c(_0x3b61a7),this[_0x4603f8(0x102)]=new _0x5c9389(_0x3b61a7,_0x2cdda0),this[_0x4603f8(0xd0)]=new _0x3ac29d(_0x3b61a7),this[_0x4603f8(0xd0)][_0x4603f8(0xe6)](this[_0x4603f8(0xcf)]()),this[_0x4603f8(0xea)](_0x4603f8(0xdf),_0x3240b2),this[_0x4603f8(0xe6)]({'tag':_0x4603f8(0x105),'attributes':{'class':['ck',_0x4603f8(0xf8),_0x4603f8(0xda)],'tabindex':'-1'},'children':this[_0x4603f8(0xf2)]}),this[_0x4603f8(0xe8)](),this[_0x4603f8(0xf4)](_0x4603f8(0x100),()=>{const _0x3dd975=_0x4603f8;this[_0x3dd975(0xd9)](this[_0x3dd975(0xe1)],_0x442640=>{const _0x4fd508=_0x3dd975;this[_0x4fd508(0xce)](_0x442640);});}),this['on'](_0x4603f8(0xd5),()=>{const _0x25719b=_0x4603f8;this[_0x25719b(0xe8)]();}),this[_0x4603f8(0xdd)]();}[_0x31e509(0xf6)](){const _0x4ca10b=_0x31e509;this[_0x4ca10b(0xe1)][_0x4ca10b(0xf6)]();}[_0x31e509(0xe8)](){const _0x2b3c0a=_0x31e509;switch(this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xfb)](),this[_0x2b3c0a(0xdf)]){case _0x2b3c0a(0xe2):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xeb)](this[_0x2b3c0a(0xed)]);break;case _0x2b3c0a(0xfc):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xeb)](this[_0x2b3c0a(0xf1)]);break;case _0x2b3c0a(0xd1):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xff)]([this[_0x2b3c0a(0x102)],this[_0x2b3c0a(0xd0)]]);}}[_0x31e509(0xd9)](_0x565958,_0x4162c9){const _0x386aaf=_0x31e509,_0x41e8ec=_0x386aaf(0xd3),_0x188f63=_0x565958[_0x386aaf(0xdb)](_0x41e8ec);if(_0x188f63)return _0x4162c9(_0x188f63);const _0x401c46=new MutationObserver(_0x13f5af=>{const _0x78f152=_0x386aaf,_0x3447cd=_0x13f5af[_0x78f152(0xf9)](_0x4c469c=>_0x4c469c[_0x78f152(0xe9)]===_0x565958&&_0x4c469c[_0x78f152(0x101)][_0x78f152(0xf5)]>0x0&&_0x4c469c[_0x78f152(0x101)][0x0][_0x78f152(0xe0)][_0x78f152(0xd6)]()===_0x41e8ec);_0x3447cd[_0x78f152(0xf5)]&&(_0x401c46[_0x78f152(0xe7)](),_0x4162c9(_0x3447cd[0x0][_0x78f152(0x101)][0x0]));});_0x401c46[_0x386aaf(0xd4)](_0x565958,{'childList':!0x0,'subtree':!0x0});}[_0x31e509(0xce)](_0x1fdfc4){const _0xcff01c=_0x31e509;_0x1fdfc4[_0xcff01c(0xf3)](_0xcff01c(0xd8),_0x40bfef=>{const _0x1f205b=_0xcff01c;this[_0x1f205b(0xf0)](_0x1f205b(0xd8),{'imageSrc':_0x40bfef[_0x1f205b(0xfa)][_0x1f205b(0xe5)]});}),_0x1fdfc4[_0xcff01c(0xf3)](_0xcff01c(0x103),()=>{const _0xc3b8f9=_0xcff01c;this[_0xc3b8f9(0xf0)](_0xc3b8f9(0x103));});}[_0x31e509(0xdd)](){const _0x537acb=_0x31e509;this[_0x537acb(0xf1)]['on'](_0x537acb(0xe3),()=>{const _0x5058fe=_0x537acb;this[_0x5058fe(0xf0)](_0x5058fe(0xe3));});}}
23
+ const _0x32964a=_0x3b18;(function(_0x473b88,_0x3ae0f4){const _0x50159b=_0x3b18,_0x46fcb7=_0x473b88();while(!![]){try{const _0x22de9a=-parseInt(_0x50159b(0xb7))/0x1*(-parseInt(_0x50159b(0xd5))/0x2)+-parseInt(_0x50159b(0xd7))/0x3*(parseInt(_0x50159b(0xa6))/0x4)+-parseInt(_0x50159b(0xc9))/0x5*(parseInt(_0x50159b(0xae))/0x6)+parseInt(_0x50159b(0xab))/0x7+-parseInt(_0x50159b(0xdb))/0x8+parseInt(_0x50159b(0xc1))/0x9*(parseInt(_0x50159b(0xa7))/0xa)+-parseInt(_0x50159b(0xb3))/0xb*(-parseInt(_0x50159b(0xd0))/0xc);if(_0x22de9a===_0x3ae0f4)break;else _0x46fcb7['push'](_0x46fcb7['shift']());}catch(_0x477767){_0x46fcb7['push'](_0x46fcb7['shift']());}}}(_0x4a20,0xd0d7f));import{View as _0x393e31}from'ckeditor5/src/ui.js';import _0x492b49 from'./uploadcareimageeditformloadingview.js';import _0x28e890 from'./uploadcareimageeditformerrorview.js';function _0x4a20(){const _0x20b766=['render','_errorView','add','addMany','13750UanKim','addedNodes','1809aPIVmj','uc-cloud-image-editor','status','error','1778136jVqrTi','element','_addErrorViewListeners','setTemplate','580CHjRRN','10ejymMx','ck-reset_all-excluded','filter','cancel','3214911fTBVyI','retry','change:status','9990114vcbbUY','disconnect','nodeName','clear','once','55QVaFse','_loadingView','observe','cdnUrl','143pQFEnJ','_focusableView','toLowerCase','_setView','apply','length','addEventListener','_editingView','ck-uploadcare-form','target','9894519utShOw','focus','_items','getFocusableElement','querySelector','div','_addUploadcareImageEditorListeners','detail','5JeilSi','uploading','_waitForImageEditorComponent','createCollection','ready','set','fire','692052oVoMMI'];_0x4a20=function(){return _0x20b766;};return _0x4a20();}import _0x5316e0 from'./uploadcareimageeditformeditingview.js';import _0x255a7f from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x3b18(_0x324884,_0x2339f2){const _0x4a201a=_0x4a20();return _0x3b18=function(_0x3b18bf,_0x4f00d4){_0x3b18bf=_0x3b18bf-0xa5;let _0x58d96a=_0x4a201a[_0x3b18bf];return _0x58d96a;},_0x3b18(_0x324884,_0x2339f2);}export default class Z extends _0x255a7f{[_0x32964a(0xc3)];[_0x32964a(0xb4)];[_0x32964a(0xd2)];[_0x32964a(0xbe)];[_0x32964a(0xb8)];constructor(_0x2e9189,_0x22ed71,_0x52d797){const _0x65cf2f=_0x32964a;super(_0x2e9189),this[_0x65cf2f(0xc3)]=this[_0x65cf2f(0xcc)](),this[_0x65cf2f(0xb4)]=new _0x492b49(_0x2e9189),this[_0x65cf2f(0xd2)]=new _0x28e890(_0x2e9189),this[_0x65cf2f(0xbe)]=new _0x5316e0(_0x2e9189,_0x52d797),this[_0x65cf2f(0xb8)]=new _0x393e31(_0x2e9189),this[_0x65cf2f(0xb8)][_0x65cf2f(0xa5)](this[_0x65cf2f(0xc4)]()),this[_0x65cf2f(0xce)](_0x65cf2f(0xd9),_0x22ed71),this[_0x65cf2f(0xa5)]({'tag':_0x65cf2f(0xc6),'attributes':{'class':['ck',_0x65cf2f(0xa8),_0x65cf2f(0xbf)],'tabindex':'-1'},'children':this[_0x65cf2f(0xc3)]}),this[_0x65cf2f(0xba)](),this[_0x65cf2f(0xb2)](_0x65cf2f(0xd1),()=>{const _0x26a9b1=_0x65cf2f;this[_0x26a9b1(0xcb)](this[_0x26a9b1(0xdc)],_0x1f6e09=>{const _0x4a284b=_0x26a9b1;this[_0x4a284b(0xc7)](_0x1f6e09);});}),this['on'](_0x65cf2f(0xad),()=>{const _0x15b777=_0x65cf2f;this[_0x15b777(0xba)]();}),this[_0x65cf2f(0xdd)]();}[_0x32964a(0xc2)](){const _0x46ae87=_0x32964a;this[_0x46ae87(0xdc)][_0x46ae87(0xc2)]();}[_0x32964a(0xba)](){const _0x1bfd48=_0x32964a;switch(this[_0x1bfd48(0xc3)][_0x1bfd48(0xb1)](),this[_0x1bfd48(0xd9)]){case _0x1bfd48(0xca):this[_0x1bfd48(0xc3)][_0x1bfd48(0xd3)](this[_0x1bfd48(0xb4)]);break;case _0x1bfd48(0xda):this[_0x1bfd48(0xc3)][_0x1bfd48(0xd3)](this[_0x1bfd48(0xd2)]);break;case _0x1bfd48(0xcd):this[_0x1bfd48(0xc3)][_0x1bfd48(0xd4)]([this[_0x1bfd48(0xbe)],this[_0x1bfd48(0xb8)]]);}}[_0x32964a(0xcb)](_0x3b9410,_0x275731){const _0x3caa67=_0x32964a,_0x1b7a94=_0x3caa67(0xd8),_0x2e8050=_0x3b9410[_0x3caa67(0xc5)](_0x1b7a94);if(_0x2e8050)return _0x275731(_0x2e8050);const _0x5af978=new MutationObserver(_0x5c4f73=>{const _0x3478de=_0x3caa67,_0x413fe2=_0x5c4f73[_0x3478de(0xa9)](_0x2b4905=>_0x2b4905[_0x3478de(0xc0)]===_0x3b9410&&_0x2b4905[_0x3478de(0xd6)][_0x3478de(0xbc)]>0x0&&_0x2b4905[_0x3478de(0xd6)][0x0][_0x3478de(0xb0)][_0x3478de(0xb9)]()===_0x1b7a94);_0x413fe2[_0x3478de(0xbc)]&&(_0x5af978[_0x3478de(0xaf)](),_0x275731(_0x413fe2[0x0][_0x3478de(0xd6)][0x0]));});_0x5af978[_0x3caa67(0xb5)](_0x3b9410,{'childList':!0x0,'subtree':!0x0});}[_0x32964a(0xc7)](_0x169449){const _0x40e4ac=_0x32964a;_0x169449[_0x40e4ac(0xbd)](_0x40e4ac(0xbb),_0x5cec57=>{const _0x276c7d=_0x40e4ac;this[_0x276c7d(0xcf)](_0x276c7d(0xbb),{'imageSrc':_0x5cec57[_0x276c7d(0xc8)][_0x276c7d(0xb6)]});}),_0x169449[_0x40e4ac(0xbd)](_0x40e4ac(0xaa),()=>{const _0x5f293b=_0x40e4ac;this[_0x5f293b(0xcf)](_0x5f293b(0xaa));});}[_0x32964a(0xdd)](){const _0x512589=_0x32964a;this[_0x512589(0xd2)]['on'](_0x512589(0xac),()=>{const _0x329fa6=_0x512589;this[_0x329fa6(0xcf)](_0x329fa6(0xac));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bde14=_0x30a7;function _0x46f8(){const _0x27bb9e=['3725624RjuHLO','unbind','isActive','config','getSelectedElement','editor','model','element','isEnabled','99gtDgmj','set','plugins','get','_isEditable','bind','1141791ImtOEi','requires','6GNxTws','imageInline','1777314wDPlQO','uploadcare.allowExternalImagesEditing','refresh','6593512LwKYDq','document','1444778lWTGmm','imageBlock','execute','8810115omckAm','selection','5186871ekyHiK','imageEditController'];_0x46f8=function(){return _0x27bb9e;};return _0x46f8();}(function(_0x265933,_0x4a2f68){const _0x3fcb16=_0x30a7,_0x5844eb=_0x265933();while(!![]){try{const _0x3548d2=-parseInt(_0x3fcb16(0x16f))/0x1+-parseInt(_0x3fcb16(0x174))/0x2+-parseInt(_0x3fcb16(0x15a))/0x3+parseInt(_0x3fcb16(0x172))/0x4+parseInt(_0x3fcb16(0x177))/0x5*(-parseInt(_0x3fcb16(0x16d))/0x6)+parseInt(_0x3fcb16(0x16b))/0x7+-parseInt(_0x3fcb16(0x15c))/0x8*(-parseInt(_0x3fcb16(0x165))/0x9);if(_0x3548d2===_0x4a2f68)break;else _0x5844eb['push'](_0x5844eb['shift']());}catch(_0x5e0098){_0x5844eb['push'](_0x5844eb['shift']());}}}(_0x46f8,0xe65b5));function _0x30a7(_0x4d7a23,_0x2262e5){const _0x46f813=_0x46f8();return _0x30a7=function(_0x30a73c,_0xc58734){_0x30a73c=_0x30a73c-0x159;let _0x5055bc=_0x46f813[_0x30a73c];return _0x5055bc;},_0x30a7(_0x4d7a23,_0x2262e5);}import{Command as _0x239e0a}from'ckeditor5/src/core.js';import{Dialog as _0x3d63dd}from'ckeditor5/src/ui.js';import _0x1272c5 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3c9e04}from'../utils/editingutils.js';export default class z extends _0x239e0a{[_0x3bde14(0x15b)];static get[_0x3bde14(0x16c)](){return[_0x3d63dd];}[_0x3bde14(0x169)];constructor(_0x3c2e40){const _0x30e326=_0x3bde14;super(_0x3c2e40),this[_0x30e326(0x15b)]=void 0x0,this[_0x30e326(0x169)]=_0x3c9e04(_0x3c2e40[_0x30e326(0x15f)][_0x30e326(0x168)](_0x30e326(0x170))||[]),this[_0x30e326(0x166)]({'isActive':!0x1});}[_0x3bde14(0x171)](){const _0x2c76f8=_0x3bde14,_0x1be5cc=this[_0x2c76f8(0x161)][_0x2c76f8(0x162)][_0x2c76f8(0x173)][_0x2c76f8(0x159)][_0x2c76f8(0x160)]();this[_0x2c76f8(0x164)]=this[_0x2c76f8(0x169)](_0x1be5cc);}[_0x3bde14(0x176)](){const _0x1c0dc3=_0x3bde14;this[_0x1c0dc3(0x15b)]&&(this[_0x1c0dc3(0x15d)](_0x1c0dc3(0x15e)),this[_0x1c0dc3(0x15b)]=void 0x0);const _0x499a6d=this[_0x1c0dc3(0x161)][_0x1c0dc3(0x162)][_0x1c0dc3(0x173)][_0x1c0dc3(0x159)][_0x1c0dc3(0x160)]();_0x499a6d&&(_0x499a6d['is'](_0x1c0dc3(0x163),_0x1c0dc3(0x175))||_0x499a6d['is'](_0x1c0dc3(0x163),_0x1c0dc3(0x16e)))&&(this[_0x1c0dc3(0x15b)]=new _0x1272c5(this[_0x1c0dc3(0x161)],this[_0x1c0dc3(0x161)][_0x1c0dc3(0x167)][_0x1c0dc3(0x168)](_0x3d63dd),_0x499a6d),this[_0x1c0dc3(0x16a)](_0x1c0dc3(0x15e))['to'](this[_0x1c0dc3(0x15b)],_0x1c0dc3(0x15e)));}}
23
+ const _0xd7f2cb=_0x2107;(function(_0x30bc02,_0x1d60c6){const _0x5ddf2b=_0x2107,_0x1ebf4c=_0x30bc02();while(!![]){try{const _0xda1061=-parseInt(_0x5ddf2b(0xf2))/0x1*(parseInt(_0x5ddf2b(0xf4))/0x2)+parseInt(_0x5ddf2b(0xd9))/0x3+parseInt(_0x5ddf2b(0xe9))/0x4*(-parseInt(_0x5ddf2b(0xee))/0x5)+-parseInt(_0x5ddf2b(0xec))/0x6*(-parseInt(_0x5ddf2b(0xe3))/0x7)+-parseInt(_0x5ddf2b(0xed))/0x8+-parseInt(_0x5ddf2b(0xd5))/0x9+-parseInt(_0x5ddf2b(0xd6))/0xa*(-parseInt(_0x5ddf2b(0xe0))/0xb);if(_0xda1061===_0x1d60c6)break;else _0x1ebf4c['push'](_0x1ebf4c['shift']());}catch(_0xb72b0){_0x1ebf4c['push'](_0x1ebf4c['shift']());}}}(_0x20b2,0x6e200));import{Command as _0x4b5209}from'ckeditor5/src/core.js';function _0x2107(_0x4f6367,_0x486cc6){const _0x20b232=_0x20b2();return _0x2107=function(_0x210774,_0x4b695d){_0x210774=_0x210774-0xd4;let _0x41f65c=_0x20b232[_0x210774];return _0x41f65c;},_0x2107(_0x4f6367,_0x486cc6);}import{Dialog as _0x13c153}from'ckeditor5/src/ui.js';import _0x384b16 from'./ui/uploadcareimageeditcontroller.js';function _0x20b2(){const _0x2dcd07=['imageBlock','345546fdRpCc','requires','4709799BOCMnq','5050vPYaCB','imageInline','editor','1832166UCezlX','_isEditable','uploadcare.allowExternalImagesEditing','element','imageEditController','unbind','get','21604aZviny','selection','model','328097EFULeb','set','isActive','config','bind','getSelectedElement','340788jDHOQj','document','isEnabled','18kveEdf','3404840YEVSeW','10fRFTiN','execute','plugins','refresh','1HOUnHF'];_0x20b2=function(){return _0x2dcd07;};return _0x20b2();}import{createEditabilityChecker as _0xcd024}from'../utils/editingutils.js';export default class J extends _0x4b5209{[_0xd7f2cb(0xdd)];static get[_0xd7f2cb(0xd4)](){return[_0x13c153];}[_0xd7f2cb(0xda)];constructor(_0x391211){const _0x1cbf9f=_0xd7f2cb;super(_0x391211),this[_0x1cbf9f(0xdd)]=void 0x0,this[_0x1cbf9f(0xda)]=_0xcd024(_0x391211[_0x1cbf9f(0xe6)][_0x1cbf9f(0xdf)](_0x1cbf9f(0xdb))||[]),this[_0x1cbf9f(0xe4)]({'isActive':!0x1});}[_0xd7f2cb(0xf1)](){const _0x2ef5b8=_0xd7f2cb,_0x3b0cb9=this[_0x2ef5b8(0xd8)][_0x2ef5b8(0xe2)][_0x2ef5b8(0xea)][_0x2ef5b8(0xe1)][_0x2ef5b8(0xe8)]();this[_0x2ef5b8(0xeb)]=this[_0x2ef5b8(0xda)](_0x3b0cb9);}[_0xd7f2cb(0xef)](){const _0x1c9501=_0xd7f2cb;this[_0x1c9501(0xdd)]&&(this[_0x1c9501(0xde)](_0x1c9501(0xe5)),this[_0x1c9501(0xdd)]=void 0x0);const _0x1c765b=this[_0x1c9501(0xd8)][_0x1c9501(0xe2)][_0x1c9501(0xea)][_0x1c9501(0xe1)][_0x1c9501(0xe8)]();_0x1c765b&&(_0x1c765b['is'](_0x1c9501(0xdc),_0x1c9501(0xf3))||_0x1c765b['is'](_0x1c9501(0xdc),_0x1c9501(0xd7)))&&(this[_0x1c9501(0xdd)]=new _0x384b16(this[_0x1c9501(0xd8)],this[_0x1c9501(0xd8)][_0x1c9501(0xf0)][_0x1c9501(0xdf)](_0x13c153),_0x1c765b),this[_0x1c9501(0xe7)](_0x1c9501(0xe5))['to'](this[_0x1c9501(0xdd)],_0x1c9501(0xe5)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50597d=_0x7cd0;(function(_0x531708,_0x2264a8){const _0xd9907=_0x7cd0,_0x1b97eb=_0x531708();while(!![]){try{const _0x4c4fcf=parseInt(_0xd9907(0x1b7))/0x1*(-parseInt(_0xd9907(0x1ba))/0x2)+-parseInt(_0xd9907(0x1c1))/0x3+-parseInt(_0xd9907(0x1b6))/0x4*(-parseInt(_0xd9907(0x1ae))/0x5)+-parseInt(_0xd9907(0x1c2))/0x6+-parseInt(_0xd9907(0x1b5))/0x7+-parseInt(_0xd9907(0x1b3))/0x8*(parseInt(_0xd9907(0x1bf))/0x9)+parseInt(_0xd9907(0x1af))/0xa;if(_0x4c4fcf===_0x2264a8)break;else _0x1b97eb['push'](_0x1b97eb['shift']());}catch(_0x23d9d3){_0x1b97eb['push'](_0x1b97eb['shift']());}}}(_0x1929,0x8e795));import{Plugin as _0x5b5563}from'ckeditor5/src/core.js';function _0x7cd0(_0x474de3,_0x56bf14){const _0x19292b=_0x1929();return _0x7cd0=function(_0x7cd007,_0x8f4420){_0x7cd007=_0x7cd007-0x1ae;let _0xb43e73=_0x19292b[_0x7cd007];return _0xb43e73;},_0x7cd0(_0x474de3,_0x56bf14);}import{Notification as _0x1ba2e4}from'ckeditor5/src/ui.js';import _0x5288f4 from'./uploadcareimageeditcommand.js';function _0x1929(){const _0x19287c=['UploadcareImageEditEditing','ImageUtils','isOfficialPlugin','isPremiumPlugin','7299EogSCf','ImageEditing','3376641MDmyMW','2989638AFAOAh','uploadcareImageReplace','954275ganohq','43887570FTFRdf','requires','pluginName','commands','10952xLTojH','add','7159257RaaypD','8PWAtFn','53758YkIAKb','uploadcareImageEdit','init','16FkdRHW'];_0x1929=function(){return _0x19287c;};return _0x1929();}import _0x5efa9d from'./uploadcareimagereplacecommand.js';import _0xf775e6 from'../uploadcareediting.js';export default class g extends _0x5b5563{static get[_0x50597d(0x1b1)](){const _0x540c36=_0x50597d;return _0x540c36(0x1bb);}static get[_0x50597d(0x1b0)](){const _0x3256c6=_0x50597d;return[_0xf775e6,_0x1ba2e4,_0x3256c6(0x1bc),_0x3256c6(0x1c0)];}static get[_0x50597d(0x1bd)](){return!0x0;}static get[_0x50597d(0x1be)](){return!0x0;}[_0x50597d(0x1b9)](){const _0x395a15=_0x50597d,{editor:_0x43d84d}=this;_0x43d84d[_0x395a15(0x1b2)][_0x395a15(0x1b4)](_0x395a15(0x1b8),new _0x5288f4(_0x43d84d)),_0x43d84d[_0x395a15(0x1b2)][_0x395a15(0x1b4)](_0x395a15(0x1c3),new _0x5efa9d(_0x43d84d));}}
23
+ const _0x59f84a=_0x256b;(function(_0x1bd5f7,_0x21df74){const _0x301f4f=_0x256b,_0x5a2932=_0x1bd5f7();while(!![]){try{const _0x4f1429=-parseInt(_0x301f4f(0xb4))/0x1*(parseInt(_0x301f4f(0xa7))/0x2)+-parseInt(_0x301f4f(0xb2))/0x3*(-parseInt(_0x301f4f(0xae))/0x4)+-parseInt(_0x301f4f(0xa2))/0x5+parseInt(_0x301f4f(0xad))/0x6+-parseInt(_0x301f4f(0xac))/0x7*(parseInt(_0x301f4f(0xa6))/0x8)+-parseInt(_0x301f4f(0xaa))/0x9+parseInt(_0x301f4f(0xa5))/0xa;if(_0x4f1429===_0x21df74)break;else _0x5a2932['push'](_0x5a2932['shift']());}catch(_0xb8d526){_0x5a2932['push'](_0x5a2932['shift']());}}}(_0x4699,0xd4277));import{Plugin as _0x191b19}from'ckeditor5/src/core.js';function _0x4699(){const _0x54e98b=['isPremiumPlugin','ImageEditing','6918395FThjGt','ImageUtils','isOfficialPlugin','22104400vbTnar','573176OzYEct','44838Hoskez','add','UploadcareImageEditEditing','4476546Abescs','init','105YUHMFd','7826112NKnKDY','1236RnvMoU','uploadcareImageEdit','pluginName','commands','16722kVsKjS','requires','63KKaxWg','uploadcareImageReplace'];_0x4699=function(){return _0x54e98b;};return _0x4699();}function _0x256b(_0x285f3e,_0x197c69){const _0x4699ec=_0x4699();return _0x256b=function(_0x256ba3,_0x2bdb6c){_0x256ba3=_0x256ba3-0xa0;let _0x33aac3=_0x4699ec[_0x256ba3];return _0x33aac3;},_0x256b(_0x285f3e,_0x197c69);}import{Notification as _0x1c9f3f}from'ckeditor5/src/ui.js';import _0x4fe774 from'./uploadcareimageeditcommand.js';import _0x3a0b6f from'./uploadcareimagereplacecommand.js';import _0x1b3c6c from'../uploadcareediting.js';export default class g extends _0x191b19{static get[_0x59f84a(0xb0)](){const _0x3bdb0d=_0x59f84a;return _0x3bdb0d(0xa9);}static get[_0x59f84a(0xb3)](){const _0x331932=_0x59f84a;return[_0x1b3c6c,_0x1c9f3f,_0x331932(0xa3),_0x331932(0xa1)];}static get[_0x59f84a(0xa4)](){return!0x0;}static get[_0x59f84a(0xa0)](){return!0x0;}[_0x59f84a(0xab)](){const _0x3fd999=_0x59f84a,{editor:_0x151101}=this;_0x151101[_0x3fd999(0xb1)][_0x3fd999(0xa8)](_0x3fd999(0xaf),new _0x4fe774(_0x151101)),_0x151101[_0x3fd999(0xb1)][_0x3fd999(0xa8)](_0x3fd999(0xb5),new _0x3a0b6f(_0x151101));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x19c33b}from'ckeditor5/src/core.js';import{ButtonView as _0x30b9ee}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x483276}from'ckeditor5/src/icons.js';import{createElement as _0x46b72e}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 _0x19c33b{['_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 _0x545bd4=this['editor'];_0x545bd4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50afff=>{const _0x1c573b=_0x545bd4['commands']['get']('uploadcareImageEdit'),_0x5106b8=new _0x30b9ee(_0x50afff),t=_0x50afff['t'];return _0x5106b8['set']({'icon':_0x483276,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5106b8['bind']('isEnabled')['to'](_0x1c573b),_0x5106b8['bind']('isOn')['to'](_0x1c573b,'isActive'),this['listenTo'](_0x5106b8,'execute',()=>{_0x545bd4['execute']('uploadcareImageEdit'),_0x545bd4['editing']['view']['focus']();}),_0x5106b8;}),this['_initConfig']();}['_initConfig'](){const _0x98dec=_0x46b72e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x98dec),this['listenTo'](this['editor'],'destroy',()=>{_0x98dec['remove']();});}}
23
+ import{Plugin as _0x183cd8}from'ckeditor5/src/core.js';import{ButtonView as _0x52b884}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x474cd6}from'ckeditor5/src/icons.js';import{createElement as _0x2ea3e6}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 _0x183cd8{['_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 _0x156ade=this['editor'];_0x156ade['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40647f=>{const _0x1a5538=_0x156ade['commands']['get']('uploadcareImageEdit'),_0x4384d9=new _0x52b884(_0x40647f),t=_0x40647f['t'];return _0x4384d9['set']({'icon':_0x474cd6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4384d9['bind']('isEnabled')['to'](_0x1a5538),_0x4384d9['bind']('isOn')['to'](_0x1a5538,'isActive'),this['listenTo'](_0x4384d9,'execute',()=>{_0x156ade['execute']('uploadcareImageEdit'),_0x156ade['editing']['view']['focus']();}),_0x4384d9;}),this['_initConfig']();}['_initConfig'](){const _0x3060c8=_0x2ea3e6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3060c8),this['listenTo'](this['editor'],'destroy',()=>{_0x3060c8['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7a9256=_0x3dc6;function _0x4446(){const _0x2f0d34=['execute','selection','change','element','isEnabled','sizes','removeAttribute','document','205ogHxlQ','setAttributes','getSelectedElement','33jLPsbe','editor','1090634JxEBgk','206792HwVLgo','7ndKNVi','refresh','imageBlock','48GmuJJM','3167512sKPoHj','130554fsLtWA','2926503yNkXGy','imageInline','2zOoVUU','22764180haXLbb','model','srcset','2907010UWHJsL'];_0x4446=function(){return _0x2f0d34;};return _0x4446();}(function(_0x1153de,_0x1bbb02){const _0x39bb48=_0x3dc6,_0x29efd7=_0x1153de();while(!![]){try{const _0x43e990=parseInt(_0x39bb48(0xbc))/0x1*(-parseInt(_0x39bb48(0xb2))/0x2)+parseInt(_0x39bb48(0xb7))/0x3*(-parseInt(_0x39bb48(0xb3))/0x4)+parseInt(_0x39bb48(0xc9))/0x5*(parseInt(_0x39bb48(0xb9))/0x6)+parseInt(_0x39bb48(0xb4))/0x7*(parseInt(_0x39bb48(0xb8))/0x8)+parseInt(_0x39bb48(0xba))/0x9+-parseInt(_0x39bb48(0xc0))/0xa*(parseInt(_0x39bb48(0xcc))/0xb)+parseInt(_0x39bb48(0xbd))/0xc;if(_0x43e990===_0x1bbb02)break;else _0x29efd7['push'](_0x29efd7['shift']());}catch(_0x36c8d6){_0x29efd7['push'](_0x29efd7['shift']());}}}(_0x4446,0xafdcf));function _0x3dc6(_0x5162ce,_0x5131c5){const _0x44462d=_0x4446();return _0x3dc6=function(_0x3dc62c,_0x541f9d){_0x3dc62c=_0x3dc62c-0xb2;let _0x5392b0=_0x44462d[_0x3dc62c];return _0x5392b0;},_0x3dc6(_0x5162ce,_0x5131c5);}import{Command as _0x35456d}from'ckeditor5/src/core.js';export default class O extends _0x35456d{[_0x7a9256(0xb5)](){const _0x49cb3f=_0x7a9256,_0x5c9844=this[_0x49cb3f(0xcd)][_0x49cb3f(0xbe)][_0x49cb3f(0xc8)][_0x49cb3f(0xc2)][_0x49cb3f(0xcb)]();this[_0x49cb3f(0xc5)]=Boolean(_0x5c9844&&(_0x5c9844['is'](_0x49cb3f(0xc4),_0x49cb3f(0xb6))||_0x5c9844['is'](_0x49cb3f(0xc4),_0x49cb3f(0xbb))));}[_0x7a9256(0xc1)](_0x578983){const _0x341a74=_0x7a9256,_0x42dadd=this[_0x341a74(0xcd)][_0x341a74(0xbe)][_0x341a74(0xc8)][_0x341a74(0xc2)][_0x341a74(0xcb)]();this[_0x341a74(0xcd)][_0x341a74(0xbe)][_0x341a74(0xc3)](_0xe79183=>{const _0x483d93=_0x341a74;_0xe79183[_0x483d93(0xca)](_0x578983,_0x42dadd),_0xe79183[_0x483d93(0xc7)](_0x483d93(0xbf),_0x42dadd),_0xe79183[_0x483d93(0xc7)](_0x483d93(0xc6),_0x42dadd);});}}
23
+ function _0x388e(){const _0x229838=['change','refresh','234DHaOkT','editor','imageBlock','execute','7odTsUW','4365650mAyxdw','2365647YjgrPj','344120dvhMmz','98080ahNgsW','document','sizes','model','2347554GBRbuM','isEnabled','imageInline','2508776QHXoIM','element','srcset','removeAttribute','15993yWDNeO','setAttributes','2JpzGui','getSelectedElement','selection'];_0x388e=function(){return _0x229838;};return _0x388e();}const _0xa37a45=_0xcdc2;function _0xcdc2(_0x3554d7,_0x4977a1){const _0x388e42=_0x388e();return _0xcdc2=function(_0xcdc24a,_0x4c9ac1){_0xcdc24a=_0xcdc24a-0x1da;let _0x34e5c2=_0x388e42[_0xcdc24a];return _0x34e5c2;},_0xcdc2(_0x3554d7,_0x4977a1);}(function(_0x16fa8b,_0x2274ac){const _0x236a5b=_0xcdc2,_0x3c5f2a=_0x16fa8b();while(!![]){try{const _0x574933=-parseInt(_0x236a5b(0x1f2))/0x1+parseInt(_0x236a5b(0x1da))/0x2*(parseInt(_0x236a5b(0x1e5))/0x3)+-parseInt(_0x236a5b(0x1ee))/0x4+-parseInt(_0x236a5b(0x1e6))/0x5+-parseInt(_0x236a5b(0x1eb))/0x6*(parseInt(_0x236a5b(0x1e3))/0x7)+-parseInt(_0x236a5b(0x1e7))/0x8*(-parseInt(_0x236a5b(0x1df))/0x9)+parseInt(_0x236a5b(0x1e4))/0xa;if(_0x574933===_0x2274ac)break;else _0x3c5f2a['push'](_0x3c5f2a['shift']());}catch(_0xd39c00){_0x3c5f2a['push'](_0x3c5f2a['shift']());}}}(_0x388e,0x6b91c));import{Command as _0x2b1a37}from'ckeditor5/src/core.js';export default class O extends _0x2b1a37{[_0xa37a45(0x1de)](){const _0x59db79=_0xa37a45,_0x4458d6=this[_0x59db79(0x1e0)][_0x59db79(0x1ea)][_0x59db79(0x1e8)][_0x59db79(0x1dc)][_0x59db79(0x1db)]();this[_0x59db79(0x1ec)]=Boolean(_0x4458d6&&(_0x4458d6['is'](_0x59db79(0x1ef),_0x59db79(0x1e1))||_0x4458d6['is'](_0x59db79(0x1ef),_0x59db79(0x1ed))));}[_0xa37a45(0x1e2)](_0x3f8e6f){const _0xf67223=_0xa37a45,_0x21d137=this[_0xf67223(0x1e0)][_0xf67223(0x1ea)][_0xf67223(0x1e8)][_0xf67223(0x1dc)][_0xf67223(0x1db)]();this[_0xf67223(0x1e0)][_0xf67223(0x1ea)][_0xf67223(0x1dd)](_0x59a71f=>{const _0x3686f5=_0xf67223;_0x59a71f[_0x3686f5(0x1f3)](_0x3f8e6f,_0x21d137),_0x59a71f[_0x3686f5(0x1f1)](_0x3686f5(0x1f0),_0x21d137),_0x59a71f[_0x3686f5(0x1f1)](_0x3686f5(0x1e9),_0x21d137);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x157729=_0x12fa;(function(_0x5704e7,_0x5d0114){var _0x301b08=_0x12fa,_0x2a7e9c=_0x5704e7();while(!![]){try{var _0x5c775a=-parseInt(_0x301b08(0xb7))/0x1+parseInt(_0x301b08(0xbd))/0x2*(parseInt(_0x301b08(0xb5))/0x3)+-parseInt(_0x301b08(0xbc))/0x4*(parseInt(_0x301b08(0xb2))/0x5)+parseInt(_0x301b08(0xb9))/0x6+parseInt(_0x301b08(0xb8))/0x7+-parseInt(_0x301b08(0xb3))/0x8+-parseInt(_0x301b08(0xb6))/0x9;if(_0x5c775a===_0x5d0114)break;else _0x2a7e9c['push'](_0x2a7e9c['shift']());}catch(_0x2aa2be){_0x2a7e9c['push'](_0x2a7e9c['shift']());}}}(_0x2eb3,0x333e3));import{Plugin as _0x48ecfc}from'ckeditor5/src/core.js';function _0x12fa(_0x1fd87d,_0x1d6af4){var _0x2eb3fc=_0x2eb3();return _0x12fa=function(_0x12fa49,_0x2af05c){_0x12fa49=_0x12fa49-0xb2;var _0x27b89e=_0x2eb3fc[_0x12fa49];return _0x27b89e;},_0x12fa(_0x1fd87d,_0x1d6af4);}import _0x3f7284 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2eb3(){var _0x4b1dad=['requires','4QSvuxV','54qfGXCi','isOfficialPlugin','pluginName','730580HJniZG','2710216HibtJm','UploadcareImageEdit','1182HHZvCC','676035KFxFlt','13258wbnzWK','2475368Slqzgz','2513370XEpRAm','isPremiumPlugin'];_0x2eb3=function(){return _0x4b1dad;};return _0x2eb3();}import _0x4f9309 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x48ecfc{static get[_0x157729(0xbf)](){var _0x179968=_0x157729;return _0x179968(0xb4);}static get[_0x157729(0xbb)](){return[_0x3f7284,_0x4f9309];}static get[_0x157729(0xbe)](){return!0x0;}static get[_0x157729(0xba)](){return!0x0;}}
23
+ var _0x588e38=_0x2ee1;(function(_0x46b2f8,_0xa4d6ad){var _0x34abe1=_0x2ee1,_0x16621c=_0x46b2f8();while(!![]){try{var _0x377594=-parseInt(_0x34abe1(0x84))/0x1+parseInt(_0x34abe1(0x78))/0x2*(-parseInt(_0x34abe1(0x77))/0x3)+parseInt(_0x34abe1(0x7d))/0x4+parseInt(_0x34abe1(0x82))/0x5*(-parseInt(_0x34abe1(0x79))/0x6)+parseInt(_0x34abe1(0x7a))/0x7+parseInt(_0x34abe1(0x7c))/0x8+parseInt(_0x34abe1(0x85))/0x9*(parseInt(_0x34abe1(0x83))/0xa);if(_0x377594===_0xa4d6ad)break;else _0x16621c['push'](_0x16621c['shift']());}catch(_0x13c10e){_0x16621c['push'](_0x16621c['shift']());}}}(_0x19d4,0x86ce5));import{Plugin as _0x5f26fa}from'ckeditor5/src/core.js';function _0x19d4(){var _0x51cb7f=['8943xtcbkH','218qEVNfE','1942602lburJL','5785689SDxjca','requires','8324624GBWvOx','2122272hDUlSv','pluginName','isOfficialPlugin','UploadcareImageEdit','isPremiumPlugin','15rQFUrT','20nBqvSW','905672wVholn','1603773SseMzj'];_0x19d4=function(){return _0x51cb7f;};return _0x19d4();}import _0x598f30 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2ee1(_0x293ec1,_0x5cf9c5){var _0x19d40f=_0x19d4();return _0x2ee1=function(_0x2ee105,_0x2a63bc){_0x2ee105=_0x2ee105-0x77;var _0x33b7a1=_0x19d40f[_0x2ee105];return _0x33b7a1;},_0x2ee1(_0x293ec1,_0x5cf9c5);}import _0x45a3ab from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5f26fa{static get[_0x588e38(0x7e)](){var _0x4ba87d=_0x588e38;return _0x4ba87d(0x80);}static get[_0x588e38(0x7b)](){return[_0x598f30,_0x45a3ab];}static get[_0x588e38(0x7f)](){return!0x0;}static get[_0x588e38(0x81)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59f1ac=_0x5416;(function(_0x30f0f6,_0x16be47){const _0x3b0381=_0x5416,_0x528db7=_0x30f0f6();while(!![]){try{const _0x4d4443=-parseInt(_0x3b0381(0x1c8))/0x1*(parseInt(_0x3b0381(0x1c4))/0x2)+-parseInt(_0x3b0381(0x1b2))/0x3*(parseInt(_0x3b0381(0x1a0))/0x4)+parseInt(_0x3b0381(0x1c0))/0x5*(-parseInt(_0x3b0381(0x1b5))/0x6)+parseInt(_0x3b0381(0x1cf))/0x7*(parseInt(_0x3b0381(0x1cc))/0x8)+-parseInt(_0x3b0381(0x1c7))/0x9*(-parseInt(_0x3b0381(0x1a5))/0xa)+-parseInt(_0x3b0381(0x1d3))/0xb*(-parseInt(_0x3b0381(0x1e0))/0xc)+parseInt(_0x3b0381(0x1d4))/0xd*(parseInt(_0x3b0381(0x193))/0xe);if(_0x4d4443===_0x16be47)break;else _0x528db7['push'](_0x528db7['shift']());}catch(_0x8fa27){_0x528db7['push'](_0x528db7['shift']());}}}(_0x2d83,0xef8e9));import{Plugin as _0x428a9}from'ckeditor5/src/core.js';import{IconDropbox as _0xa2420a,IconFacebook as _0x3e368b,IconGoogleDrive as _0x3bc8c9,IconGooglePhotos as _0x40f1bc,IconUploadcareImageUpload as _0x5bd9e1,IconUploadcareLink as _0x5ec696,IconOneDrive as _0x566f0e}from'ckeditor5/src/icons.js';import{ButtonView as _0x1be4ca,MenuBarMenuListItemButtonView as _0x5a4374}from'ckeditor5/src/ui.js';function _0x2d83(){const _0x2ab948=['104PxqCSm','usageLimit','Insert','config','entries','170GIFQSe','trialLimit','Dropbox','commands','uploadcare.uploader.sourceList','plugins','GPhotos','uploadcareLicenseKeyNotAllowed','_licenseKeyCheckInterval','forEach','Local','_createButton','evaluationLimit','98058XgXedu','Replace','has','3941034gegiMy','_getIntegrationKey','GDrive','execute','upload','Facebook','uploadcare','uploadcareLicenseKeyValid','domainLimit','uploadcareLicenseKeyUsageLimit','isEnabled','10UzNnFg','invalid','_createMenuBarButtons','registerIntegration','2uLNTxM','push','_showLicenseError','329787KMUEwl','1448095KGdwst','licenseKey','destroy','_createToolbarButton','8JSvzAA','pluginName','withText','7290577hjqpSH','uploadcareLicenseKeyExpired','map','_normalizeConfigSourceList','22zAePCR','6050993NgVIpM','icon','URL','afterInit','isOfficialPlugin','locale','get','assetManager','uploadcareLicenseKeyDomainLimit','ImageInsertUI','isImageSelected','expired','813756AOxWQj','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyTrialLimit','shortText','reduce','isPremiumPlugin','url','featureNotAllowed','84VwHSSW','bind','uploadcareLicenseKeyEvaluationLimit','Uploadcare','UploadcareUI','_createDropdownButtons','editor','text','type','label','init','tooltip','OneDrive'];_0x2d83=function(){return _0x2ab948;};return _0x2d83();}import{UploadcareSource as _0x58d125}from'./uploadcareconfig.js';import{getTranslation as _0x40d67d}from'./utils/common-translations.js';function _0x5416(_0x1ddc98,_0xafbc2){const _0x2d83d4=_0x2d83();return _0x5416=function(_0x5416a8,_0x70f5b1){_0x5416a8=_0x5416a8-0x18c;let _0xcc1c30=_0x2d83d4[_0x5416a8];return _0xcc1c30;},_0x5416(_0x1ddc98,_0xafbc2);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x428a9{[_0x59f1ac(0x1c9)];[_0x59f1ac(0x1ad)];static get[_0x59f1ac(0x1cd)](){const _0x39a22b=_0x59f1ac;return _0x39a22b(0x197);}static get[_0x59f1ac(0x1d8)](){return!0x0;}static get[_0x59f1ac(0x190)](){return!0x0;}[_0x59f1ac(0x19d)](){const _0x2752ab=_0x59f1ac;this[_0x2752ab(0x1c9)]=this[_0x2752ab(0x199)][_0x2752ab(0x1a3)][_0x2752ab(0x1da)](_0x2752ab(0x1c9));const _0x10a24c=this[_0x2752ab(0x199)];this[_0x2752ab(0x1ad)]=setInterval(()=>{const _0x4a990a=_0x2752ab;let _0x169016;for(const _0x2aa422 in _0x10a24c){const _0x506709=_0x2aa422,_0x174d2c=_0x10a24c[_0x506709];if(_0x4a990a(0x1bc)==_0x174d2c||_0x4a990a(0x18c)==_0x174d2c||_0x4a990a(0x1d0)==_0x174d2c||_0x4a990a(0x1dc)==_0x174d2c||_0x4a990a(0x1ac)==_0x174d2c||_0x4a990a(0x195)==_0x174d2c||_0x4a990a(0x18d)==_0x174d2c||_0x4a990a(0x1be)==_0x174d2c){delete _0x10a24c[_0x506709],_0x169016=_0x174d2c,clearInterval(this[_0x4a990a(0x1ad)]),this[_0x4a990a(0x1ad)]=void 0x0;break;}}_0x4a990a(0x18c)==_0x169016&&_0x10a24c[_0x4a990a(0x1c6)](_0x4a990a(0x1c1)),_0x4a990a(0x1d0)==_0x169016&&_0x10a24c[_0x4a990a(0x1c6)](_0x4a990a(0x1df)),_0x4a990a(0x1dc)==_0x169016&&_0x10a24c[_0x4a990a(0x1c6)](_0x4a990a(0x1bd)),_0x4a990a(0x1ac)==_0x169016&&_0x10a24c[_0x4a990a(0x1c6)](_0x4a990a(0x192),_0x4a990a(0x196)),_0x4a990a(0x195)==_0x169016&&_0x10a24c[_0x4a990a(0x1c6)](_0x4a990a(0x1b1)),_0x4a990a(0x18d)==_0x169016&&_0x10a24c[_0x4a990a(0x1c6)](_0x4a990a(0x1a6)),_0x4a990a(0x1be)==_0x169016&&_0x10a24c[_0x4a990a(0x1c6)](_0x4a990a(0x1a1));},0x3e8);}[_0x59f1ac(0x1d7)](){const _0x467102=_0x59f1ac,{editor:_0x5ae0ed}=this,_0xe19861=_0x5ae0ed[_0x467102(0x1a8)][_0x467102(0x1da)](_0x467102(0x1bb));if(!_0xe19861)return;const _0x4609ad=this[_0x467102(0x1d2)](_0x5ae0ed[_0x467102(0x1a3)][_0x467102(0x1da)](_0x467102(0x1a9)))[_0x467102(0x18f)]((_0x2cb0c8,_0x65df9d)=>{const _0x366a6a=_0x467102,_0x24996e=this[_0x366a6a(0x1b6)](_0x65df9d[_0x366a6a(0x19b)]);return _0x2cb0c8[_0x24996e]||(_0x2cb0c8[_0x24996e]=[]),_0x2cb0c8[_0x24996e][_0x366a6a(0x1c5)](_0x65df9d),_0x2cb0c8;},{});_0x5ae0ed[_0x467102(0x1aa)][_0x467102(0x1b4)](_0x467102(0x1dd))&&_0x5ae0ed[_0x467102(0x1a8)][_0x467102(0x1da)](_0x467102(0x1bb))&&Object[_0x467102(0x1a4)](_0x4609ad)[_0x467102(0x1ae)](([_0x4e2028,_0x1d2a2b])=>{const _0xa24e0b=_0x467102;_0x5ae0ed[_0xa24e0b(0x1aa)][_0xa24e0b(0x1da)](_0xa24e0b(0x1dd))[_0xa24e0b(0x1c3)]({'name':_0x4e2028,'observable':()=>_0xe19861,'buttonViewCreator':()=>this[_0xa24e0b(0x1cb)](_0x1d2a2b),'formViewCreator':()=>this[_0xa24e0b(0x198)](_0x1d2a2b),'menuBarButtonViewCreator':()=>this[_0xa24e0b(0x1c2)](_0x1d2a2b),'override':_0xa24e0b(0x1db)!==_0x4e2028});});}[_0x59f1ac(0x1ca)](){const _0x54cc89=_0x59f1ac;super[_0x54cc89(0x1ca)](),this[_0x54cc89(0x1ad)]&&clearInterval(this[_0x54cc89(0x1ad)]);}[_0x59f1ac(0x1d2)](_0x1895dc){const _0x3a3c71=_0x59f1ac,{locale:_0x2b8021}=this[_0x3a3c71(0x199)];return _0x1895dc[_0x3a3c71(0x1d1)](_0x966858=>{const _0x492e39=_0x3a3c71,_0x4aa438=_0x40d67d(_0x2b8021,_0x966858,_0x492e39(0x1a2));switch(_0x966858){case _0x58d125[_0x492e39(0x1af)]:return{'icon':_0x5bd9e1,'type':_0x58d125[_0x492e39(0x1af)],..._0x4aa438};case _0x58d125[_0x492e39(0x1d6)]:return{'icon':_0x5ec696,'type':_0x58d125[_0x492e39(0x1d6)],..._0x4aa438};case _0x58d125[_0x492e39(0x1a7)]:return{'icon':_0xa2420a,'type':_0x58d125[_0x492e39(0x1a7)],..._0x4aa438};case _0x58d125[_0x492e39(0x1ba)]:return{'icon':_0x3e368b,'type':_0x58d125[_0x492e39(0x1ba)],..._0x4aa438};case _0x58d125[_0x492e39(0x1b7)]:return{'icon':_0x3bc8c9,'type':_0x58d125[_0x492e39(0x1b7)],..._0x4aa438};case _0x58d125[_0x492e39(0x1ab)]:return{'icon':_0x40f1bc,'type':_0x58d125[_0x492e39(0x1ab)],..._0x4aa438};case _0x58d125[_0x492e39(0x19f)]:return{'icon':_0x566f0e,'type':_0x58d125[_0x492e39(0x19f)],..._0x4aa438};}});}[_0x59f1ac(0x1b6)](_0x515daa){const _0x137e77=_0x59f1ac;switch(_0x515daa){case _0x58d125[_0x137e77(0x1af)]:return _0x137e77(0x1b9);case _0x58d125[_0x137e77(0x1d6)]:return _0x137e77(0x191);default:return _0x137e77(0x1db);}}[_0x59f1ac(0x1b0)](_0x3f9b4a,_0x80723d){const _0x423807=_0x59f1ac,_0x5f1d1c=this[_0x423807(0x199)],_0x2e2c62=new _0x3f9b4a(_0x5f1d1c[_0x423807(0x1d9)]),_0x5a448d=_0x5f1d1c[_0x423807(0x1a8)][_0x423807(0x1da)](_0x423807(0x1bb));return _0x2e2c62[_0x423807(0x194)](_0x423807(0x1bf))['to'](_0x5a448d),_0x2e2c62['on'](_0x423807(0x1b8),()=>{const _0x4b3957=_0x423807;_0x5a448d[_0x4b3957(0x1b8)](_0x80723d);}),_0x2e2c62;}[_0x59f1ac(0x1cb)](_0x138d8a){const _0x649c2e=_0x59f1ac,{locale:_0x4f9847}=this[_0x649c2e(0x199)],_0x4d1047=this[_0x649c2e(0x199)][_0x649c2e(0x1aa)][_0x649c2e(0x1da)](_0x649c2e(0x1dd)),_0x11a1b1=_0x138d8a[0x0],_0x385acb=this[_0x649c2e(0x1b0)](_0x1be4ca,_0x11a1b1[_0x649c2e(0x19b)]);return _0x385acb[_0x649c2e(0x1d5)]=_0x11a1b1[_0x649c2e(0x1d5)],_0x385acb[_0x649c2e(0x194)](_0x649c2e(0x19c))['to'](_0x4d1047,_0x649c2e(0x1de),_0x1e6d9a=>_0x40d67d(_0x4f9847,_0x11a1b1[_0x649c2e(0x19b)],_0x1e6d9a?_0x649c2e(0x1b3):_0x649c2e(0x1a2))[_0x649c2e(0x19a)]),_0x385acb[_0x649c2e(0x19e)]=!0x0,_0x385acb;}[_0x59f1ac(0x198)](_0x1b9868){const _0x4197f5=_0x59f1ac,{locale:_0x1a65d2}=this[_0x4197f5(0x199)],_0x200ae4=this[_0x4197f5(0x199)][_0x4197f5(0x1aa)][_0x4197f5(0x1da)](_0x4197f5(0x1dd));return _0x1b9868[_0x4197f5(0x1d1)](_0x5f1a84=>{const _0x524301=_0x4197f5,_0x28c707=this[_0x524301(0x1b0)](_0x1be4ca,_0x5f1a84[_0x524301(0x19b)]);return _0x28c707[_0x524301(0x1ce)]=!0x0,_0x28c707[_0x524301(0x1d5)]=_0x5f1a84[_0x524301(0x1d5)],_0x28c707[_0x524301(0x194)](_0x524301(0x19c))['to'](_0x200ae4,_0x524301(0x1de),_0x5af11d=>_0x40d67d(_0x1a65d2,_0x5f1a84[_0x524301(0x19b)],_0x5af11d?_0x524301(0x1b3):_0x524301(0x1a2))[_0x524301(0x19a)]),_0x28c707;});}[_0x59f1ac(0x1c2)](_0x1774dc){const _0x1a7ff5=_0x59f1ac;return _0x1774dc[_0x1a7ff5(0x1d1)](_0x41aa9d=>{const _0x3f13b1=_0x1a7ff5,_0x16028d=this[_0x3f13b1(0x1b0)](_0x5a4374,_0x41aa9d[_0x3f13b1(0x19b)]);return _0x16028d[_0x3f13b1(0x1d5)]=_0x41aa9d[_0x3f13b1(0x1d5)],_0x16028d[_0x3f13b1(0x19c)]=_0x41aa9d[_0x3f13b1(0x18e)],_0x16028d;});}}
23
+ const _0x44153d=_0xeac7;(function(_0x17515b,_0x12d7f6){const _0x12604a=_0xeac7,_0x3a458e=_0x17515b();while(!![]){try{const _0x70855=parseInt(_0x12604a(0x104))/0x1*(-parseInt(_0x12604a(0x146))/0x2)+-parseInt(_0x12604a(0x145))/0x3+-parseInt(_0x12604a(0x125))/0x4+-parseInt(_0x12604a(0x10a))/0x5+parseInt(_0x12604a(0x112))/0x6*(-parseInt(_0x12604a(0x13b))/0x7)+parseInt(_0x12604a(0x148))/0x8*(-parseInt(_0x12604a(0x141))/0x9)+parseInt(_0x12604a(0x124))/0xa*(parseInt(_0x12604a(0x10f))/0xb);if(_0x70855===_0x12d7f6)break;else _0x3a458e['push'](_0x3a458e['shift']());}catch(_0x3f7ea0){_0x3a458e['push'](_0x3a458e['shift']());}}}(_0x4c62,0x5f46e));import{Plugin as _0x16a906}from'ckeditor5/src/core.js';import{IconDropbox as _0x3a5451,IconFacebook as _0x10a634,IconGoogleDrive as _0x4bc46d,IconGooglePhotos as _0x360462,IconUploadcareImageUpload as _0x20144b,IconUploadcareLink as _0x1d4bea,IconOneDrive as _0x3b418b}from'ckeditor5/src/icons.js';function _0xeac7(_0x467c7a,_0x45a2e9){const _0x4c62db=_0x4c62();return _0xeac7=function(_0xeac754,_0x4c3a20){_0xeac754=_0xeac754-0x101;let _0x46a061=_0x4c62db[_0xeac754];return _0x46a061;},_0xeac7(_0x467c7a,_0x45a2e9);}import{ButtonView as _0x43609b,MenuBarMenuListItemButtonView as _0x69d12e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x215cd9}from'./uploadcareconfig.js';import{getTranslation as _0x1af1d0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x16a906{[_0x44153d(0x152)];[_0x44153d(0x133)];static get[_0x44153d(0x142)](){const _0x487ed4=_0x44153d;return _0x487ed4(0x143);}static get[_0x44153d(0x149)](){return!0x0;}static get[_0x44153d(0x14c)](){return!0x0;}[_0x44153d(0x107)](){const _0x43afd1=_0x44153d;this[_0x43afd1(0x152)]=this[_0x43afd1(0x111)][_0x43afd1(0x126)][_0x43afd1(0x13a)](_0x43afd1(0x152));const _0x42a7b7=this[_0x43afd1(0x111)];this[_0x43afd1(0x133)]=setInterval(()=>{const _0x432385=_0x43afd1;let _0x2493d6;for(const _0x2c0fc3 in _0x42a7b7){const _0x539ad9=_0x2c0fc3,_0x53e33e=_0x42a7b7[_0x539ad9];if(_0x432385(0x122)==_0x53e33e||_0x432385(0x139)==_0x53e33e||_0x432385(0x13f)==_0x53e33e||_0x432385(0x14a)==_0x53e33e||_0x432385(0x150)==_0x53e33e||_0x432385(0x11b)==_0x53e33e||_0x432385(0x116)==_0x53e33e||_0x432385(0x108)==_0x53e33e){delete _0x42a7b7[_0x539ad9],_0x2493d6=_0x53e33e,clearInterval(this[_0x432385(0x133)]),this[_0x432385(0x133)]=void 0x0;break;}}_0x432385(0x139)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x147)),_0x432385(0x13f)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x12a)),_0x432385(0x14a)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x11e)),_0x432385(0x150)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x10b),_0x432385(0x132)),_0x432385(0x11b)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x12b)),_0x432385(0x116)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x137)),_0x432385(0x108)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x115));},0x3e8);}[_0x44153d(0x13e)](){const _0x1831b9=_0x44153d,{editor:_0x4e4532}=this,_0xa2f55b=_0x4e4532[_0x1831b9(0x11f)][_0x1831b9(0x13a)](_0x1831b9(0x121));if(!_0xa2f55b)return;const _0x274514=this[_0x1831b9(0x135)](_0x4e4532[_0x1831b9(0x126)][_0x1831b9(0x13a)](_0x1831b9(0x117)))[_0x1831b9(0x113)]((_0x36207a,_0x198db8)=>{const _0x4fe77b=_0x1831b9,_0x15d650=this[_0x4fe77b(0x12d)](_0x198db8[_0x4fe77b(0x110)]);return _0x36207a[_0x15d650]||(_0x36207a[_0x15d650]=[]),_0x36207a[_0x15d650][_0x4fe77b(0x11c)](_0x198db8),_0x36207a;},{});_0x4e4532[_0x1831b9(0x14f)][_0x1831b9(0x10e)](_0x1831b9(0x12e))&&_0x4e4532[_0x1831b9(0x11f)][_0x1831b9(0x13a)](_0x1831b9(0x121))&&Object[_0x1831b9(0x118)](_0x274514)[_0x1831b9(0x14b)](([_0x4feddd,_0x28a528])=>{const _0x3d80ab=_0x1831b9;_0x4e4532[_0x3d80ab(0x14f)][_0x3d80ab(0x13a)](_0x3d80ab(0x12e))[_0x3d80ab(0x129)]({'name':_0x4feddd,'observable':()=>_0xa2f55b,'buttonViewCreator':()=>this[_0x3d80ab(0x136)](_0x28a528),'formViewCreator':()=>this[_0x3d80ab(0x105)](_0x28a528),'menuBarButtonViewCreator':()=>this[_0x3d80ab(0x12f)](_0x28a528),'override':_0x3d80ab(0x101)!==_0x4feddd});});}[_0x44153d(0x130)](){const _0x19acf3=_0x44153d;super[_0x19acf3(0x130)](),this[_0x19acf3(0x133)]&&clearInterval(this[_0x19acf3(0x133)]);}[_0x44153d(0x135)](_0x461f5e){const _0xb0f2a=_0x44153d,{locale:_0x505f08}=this[_0xb0f2a(0x111)];return _0x461f5e[_0xb0f2a(0x144)](_0x54afa5=>{const _0x184de2=_0xb0f2a,_0x5d2b8b=_0x1af1d0(_0x505f08,_0x54afa5,_0x184de2(0x10c));switch(_0x54afa5){case _0x215cd9[_0x184de2(0x106)]:return{'icon':_0x20144b,'type':_0x215cd9[_0x184de2(0x106)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x103)]:return{'icon':_0x1d4bea,'type':_0x215cd9[_0x184de2(0x103)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x14d)]:return{'icon':_0x3a5451,'type':_0x215cd9[_0x184de2(0x14d)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x140)]:return{'icon':_0x10a634,'type':_0x215cd9[_0x184de2(0x140)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x13c)]:return{'icon':_0x4bc46d,'type':_0x215cd9[_0x184de2(0x13c)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x131)]:return{'icon':_0x360462,'type':_0x215cd9[_0x184de2(0x131)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x11d)]:return{'icon':_0x3b418b,'type':_0x215cd9[_0x184de2(0x11d)],..._0x5d2b8b};}});}[_0x44153d(0x12d)](_0x3f9530){const _0x2a10ac=_0x44153d;switch(_0x3f9530){case _0x215cd9[_0x2a10ac(0x106)]:return _0x2a10ac(0x14e);case _0x215cd9[_0x2a10ac(0x103)]:return _0x2a10ac(0x102);default:return _0x2a10ac(0x101);}}[_0x44153d(0x120)](_0x5cb6c2,_0x191bdd){const _0x1ab195=_0x44153d,_0x2b4788=this[_0x1ab195(0x111)],_0x440069=new _0x5cb6c2(_0x2b4788[_0x1ab195(0x12c)]),_0x39de8a=_0x2b4788[_0x1ab195(0x11f)][_0x1ab195(0x13a)](_0x1ab195(0x121));return _0x440069[_0x1ab195(0x114)](_0x1ab195(0x109))['to'](_0x39de8a),_0x440069['on'](_0x1ab195(0x123),()=>{const _0x477945=_0x1ab195;_0x39de8a[_0x477945(0x123)](_0x191bdd);}),_0x440069;}[_0x44153d(0x136)](_0x40413a){const _0x43c9e4=_0x44153d,{locale:_0x2b6a83}=this[_0x43c9e4(0x111)],_0x4e4695=this[_0x43c9e4(0x111)][_0x43c9e4(0x14f)][_0x43c9e4(0x13a)](_0x43c9e4(0x12e)),_0x3961dc=_0x40413a[0x0],_0x1ea5ae=this[_0x43c9e4(0x120)](_0x43609b,_0x3961dc[_0x43c9e4(0x110)]);return _0x1ea5ae[_0x43c9e4(0x13d)]=_0x3961dc[_0x43c9e4(0x13d)],_0x1ea5ae[_0x43c9e4(0x114)](_0x43c9e4(0x138))['to'](_0x4e4695,_0x43c9e4(0x11a),_0x4445a5=>_0x1af1d0(_0x2b6a83,_0x3961dc[_0x43c9e4(0x110)],_0x4445a5?_0x43c9e4(0x127):_0x43c9e4(0x10c))[_0x43c9e4(0x119)]),_0x1ea5ae[_0x43c9e4(0x151)]=!0x0,_0x1ea5ae;}[_0x44153d(0x105)](_0x2abb81){const _0x5cf5d4=_0x44153d,{locale:_0x20b35e}=this[_0x5cf5d4(0x111)],_0x419014=this[_0x5cf5d4(0x111)][_0x5cf5d4(0x14f)][_0x5cf5d4(0x13a)](_0x5cf5d4(0x12e));return _0x2abb81[_0x5cf5d4(0x144)](_0x29764a=>{const _0x57b2ca=_0x5cf5d4,_0x199ea2=this[_0x57b2ca(0x120)](_0x43609b,_0x29764a[_0x57b2ca(0x110)]);return _0x199ea2[_0x57b2ca(0x128)]=!0x0,_0x199ea2[_0x57b2ca(0x13d)]=_0x29764a[_0x57b2ca(0x13d)],_0x199ea2[_0x57b2ca(0x114)](_0x57b2ca(0x138))['to'](_0x419014,_0x57b2ca(0x11a),_0x4f59b0=>_0x1af1d0(_0x20b35e,_0x29764a[_0x57b2ca(0x110)],_0x4f59b0?_0x57b2ca(0x127):_0x57b2ca(0x10c))[_0x57b2ca(0x119)]),_0x199ea2;});}[_0x44153d(0x12f)](_0x3b811c){const _0x29773a=_0x44153d;return _0x3b811c[_0x29773a(0x144)](_0x10070e=>{const _0x5387fa=_0x29773a,_0x4af5ca=this[_0x5387fa(0x120)](_0x69d12e,_0x10070e[_0x5387fa(0x110)]);return _0x4af5ca[_0x5387fa(0x13d)]=_0x10070e[_0x5387fa(0x13d)],_0x4af5ca[_0x5387fa(0x138)]=_0x10070e[_0x5387fa(0x134)],_0x4af5ca;});}}function _0x4c62(){const _0x4f8fe1=['forEach','isPremiumPlugin','Dropbox','upload','plugins','uploadcareLicenseKeyNotAllowed','tooltip','licenseKey','assetManager','url','URL','633577seVodZ','_createDropdownButtons','Local','init','uploadcareLicenseKeyUsageLimit','isEnabled','3305500YfEkWZ','featureNotAllowed','Insert','_showLicenseError','has','33oTIHqs','type','editor','222tHwfEL','reduce','bind','usageLimit','uploadcareLicenseKeyTrialLimit','uploadcare.uploader.sourceList','entries','text','isImageSelected','uploadcareLicenseKeyEvaluationLimit','push','OneDrive','domainLimit','commands','_createButton','uploadcare','uploadcareLicenseKeyValid','execute','10397620UlRAIt','1470148QGDXby','config','Replace','withText','registerIntegration','expired','evaluationLimit','locale','_getIntegrationKey','ImageInsertUI','_createMenuBarButtons','destroy','GPhotos','Uploadcare','_licenseKeyCheckInterval','shortText','_normalizeConfigSourceList','_createToolbarButton','trialLimit','label','uploadcareLicenseKeyInvalid','get','77133kzFgzh','GDrive','icon','afterInit','uploadcareLicenseKeyExpired','Facebook','65907eLRGpI','pluginName','UploadcareUI','map','461484qMLXTD','2oIYNKP','invalid','552kcvbYd','isOfficialPlugin','uploadcareLicenseKeyDomainLimit'];_0x4c62=function(){return _0x4f8fe1;};return _0x4c62();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3198d6}from'ckeditor5/src/core.js';import{FileRepository as _0x3c1e6c}from'ckeditor5/src/upload.js';import _0x2481b9 from'./uploadcareediting.js';import _0x3ec3b9 from'./utils/uploadutils.js';import{getImageUrls as _0x515c0e}from'./utils/editingutils.js';export default class p extends _0x3198d6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3c1e6c,_0x2481b9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2f053c=this['editor'];if(!!!_0x2f053c['config']['get']('uploadcare'))return;_0x2f053c['plugins']['get'](_0x3c1e6c)['createUploadAdapter']=_0x50d14c=>new x(_0x50d14c,_0x2f053c),_0x2f053c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xbd1d1e,{imageElement:_0x4ed13c,data:_0x4e3ce8})=>{_0x2f053c['model']['change'](_0x57efd3=>{_0x57efd3['setAttribute']('uploadcareImageId',_0x4e3ce8['uploadcareImageId'],_0x4ed13c);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xdb8600,_0x29e7c3){this['loader']=_0xdb8600,this['editor']=_0x29e7c3,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xd4451c=this['editor']['config']['get']('uploadcare.pubkey'),_0x28eef4=await this['loader']['file'];return _0x3ec3b9['upload']({'file':_0x28eef4,'publicKey':_0xd4451c,'signal':this['controller']['signal'],'onProgress':_0x3d11a1=>{_0x3d11a1&&_0x3d11a1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3d11a1['value']);}})['then'](async _0x344919=>{const {imageFallbackUrl:_0x465e7d,imageSources:_0x350224}=_0x515c0e(_0x344919['cdnUrl'],_0x344919['imageInfo']['width']);return{'uploadcareImageId':_0x344919['uuid'],'default':_0x465e7d,'sources':_0x350224};})['catch'](()=>{const _0x5764ef=t('Cannot\x20upload\x20file:')+('\x20'+_0x28eef4['name']+'.');return Promise['reject'](_0x5764ef);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5ba6cf}from'ckeditor5/src/core.js';import{FileRepository as _0x35f9b4}from'ckeditor5/src/upload.js';import _0x449dba from'./uploadcareediting.js';import _0x54931a from'./utils/uploadutils.js';import{getImageUrls as _0x4081e7}from'./utils/editingutils.js';export default class p extends _0x5ba6cf{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x35f9b4,_0x449dba];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x596296=this['editor'];if(!!!_0x596296['config']['get']('uploadcare'))return;_0x596296['plugins']['get'](_0x35f9b4)['createUploadAdapter']=_0x201615=>new x(_0x201615,_0x596296),_0x596296['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x15b2cd,{imageElement:_0x3a6249,data:_0xc557c6})=>{_0x596296['model']['change'](_0x31bfc3=>{_0x31bfc3['setAttribute']('uploadcareImageId',_0xc557c6['uploadcareImageId'],_0x3a6249);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x395cc4,_0x361d87){this['loader']=_0x395cc4,this['editor']=_0x361d87,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x52e6a5=this['editor']['config']['get']('uploadcare.pubkey'),_0x2e0e2=await this['loader']['file'];return _0x54931a['upload']({'file':_0x2e0e2,'publicKey':_0x52e6a5,'signal':this['controller']['signal'],'onProgress':_0x2a5254=>{_0x2a5254&&_0x2a5254['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2a5254['value']);}})['then'](async _0x43f47d=>{const {imageFallbackUrl:_0x4185f8,imageSources:_0x35c869}=_0x4081e7(_0x43f47d['cdnUrl'],_0x43f47d['imageInfo']['width']);return{'uploadcareImageId':_0x43f47d['uuid'],'default':_0x4185f8,'sources':_0x35c869};})['catch'](()=>{const _0x76840c=t('Cannot\x20upload\x20file:')+('\x20'+_0x2e0e2['name']+'.');return Promise['reject'](_0x76840c);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x4e717a}from'../uploadcareconfig.js';export function getTranslation(_0x5ad196,_0x530de7,_0x2af03f){const t=_0x5ad196['t'],_0x3c85d4=_0x5ad196['t'];switch(_0x530de7){case _0x4e717a['Local']:return{'text':_0x3c85d4('Insert'===_0x2af03f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3c85d4('From\x20computer')};case _0x4e717a['URL']:return{'text':'Insert'===_0x2af03f?_0x3c85d4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3c85d4('Via\x20URL')};case _0x4e717a['Dropbox']:return{'text':t('Insert'===_0x2af03f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4e717a['Facebook']:return{'text':t('Insert'===_0x2af03f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4e717a['GDrive']:return{'text':t('Insert'===_0x2af03f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4e717a['GPhotos']:return{'text':t('Insert'===_0x2af03f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4e717a['OneDrive']:return{'text':t('Insert'===_0x2af03f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x530de7;}}
23
+ import{UploadcareSource as _0x149eeb}from'../uploadcareconfig.js';export function getTranslation(_0x37ce9c,_0x5af8a0,_0x12030d){const t=_0x37ce9c['t'],_0x30fde3=_0x37ce9c['t'];switch(_0x5af8a0){case _0x149eeb['Local']:return{'text':_0x30fde3('Insert'===_0x12030d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30fde3('From\x20computer')};case _0x149eeb['URL']:return{'text':'Insert'===_0x12030d?_0x30fde3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30fde3('Via\x20URL')};case _0x149eeb['Dropbox']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x149eeb['Facebook']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x149eeb['GDrive']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x149eeb['GPhotos']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x149eeb['OneDrive']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5af8a0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x537700=_0x44a6;(function(_0x1c175a,_0x12cacd){var _0x221d79=_0x44a6,_0x4c293a=_0x1c175a();while(!![]){try{var _0x283003=-parseInt(_0x221d79(0xb3))/0x1*(-parseInt(_0x221d79(0xb2))/0x2)+parseInt(_0x221d79(0xb6))/0x3*(parseInt(_0x221d79(0xa5))/0x4)+parseInt(_0x221d79(0xb1))/0x5*(-parseInt(_0x221d79(0xa8))/0x6)+-parseInt(_0x221d79(0xb4))/0x7*(parseInt(_0x221d79(0xaf))/0x8)+parseInt(_0x221d79(0xad))/0x9*(-parseInt(_0x221d79(0xb0))/0xa)+parseInt(_0x221d79(0xae))/0xb*(-parseInt(_0x221d79(0xab))/0xc)+-parseInt(_0x221d79(0xa9))/0xd*(-parseInt(_0x221d79(0xa6))/0xe);if(_0x283003===_0x12cacd)break;else _0x4c293a['push'](_0x4c293a['shift']());}catch(_0x2552fb){_0x4c293a['push'](_0x4c293a['shift']());}}}(_0x1b9d,0x2c144));function _0x1b9d(){var _0x512824=['265449FCykya','forwardCycle','focusTracker','createCollection','focusCycler','getFocusableElement','4TIZDXA','14XzUnmz','div','24eBdBTO','10649587FnupIs','bindTemplate','600pZhKSL','fire','162aoZdCV','63723ZYrYLj','1524632kMyGNl','197490LjISik','94795GbmlXu','368826WHbKpo','1QgZzxK','7VppWHE','true'];_0x1b9d=function(){return _0x512824;};return _0x1b9d();}import{FocusTracker as _0x307bc5}from'ckeditor5/src/utils.js';import{View as _0x3ef1e8,FocusCycler as _0xc3aa4f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x44a6(_0x177e24,_0x2ee5e8){var _0x1b9d22=_0x1b9d();return _0x44a6=function(_0x44a66f,_0x5ef8d6){_0x44a66f=_0x44a66f-0xa2;var _0x9783dc=_0x1b9d22[_0x44a66f];return _0x9783dc;},_0x44a6(_0x177e24,_0x2ee5e8);}export default class G extends _0x3ef1e8{[_0x537700(0xb8)];[_0x537700(0xa3)];constructor(_0x510dc8){var _0x4997e8=_0x537700;super(_0x510dc8),this[_0x4997e8(0xb8)]=new _0x307bc5(),this[_0x4997e8(0xa3)]=new _0xc3aa4f({'focusables':this[_0x4997e8(0xa2)](),'focusTracker':this[_0x4997e8(0xb8)]});}[_0x537700(0xa4)](){var _0x21c826=_0x537700;return{'tag':_0x21c826(0xa7),'attributes':{'aria-hidden':_0x21c826(0xb5),'tabindex':'0'},'on':{'focus':this[_0x21c826(0xaa)]['to'](()=>{var _0x1a0f94=_0x21c826;this[_0x1a0f94(0xa3)][_0x1a0f94(0xac)](_0x1a0f94(0xb7));})}};}}
23
+ var _0x135f6a=_0x40f4;(function(_0xc3f7da,_0x4dbcc1){var _0x5dc2b2=_0x40f4,_0x47c7c7=_0xc3f7da();while(!![]){try{var _0x2fe4c0=-parseInt(_0x5dc2b2(0x1f0))/0x1+-parseInt(_0x5dc2b2(0x1f4))/0x2+-parseInt(_0x5dc2b2(0x1ea))/0x3+parseInt(_0x5dc2b2(0x1f1))/0x4+parseInt(_0x5dc2b2(0x1e9))/0x5*(-parseInt(_0x5dc2b2(0x1f2))/0x6)+parseInt(_0x5dc2b2(0x1e7))/0x7+-parseInt(_0x5dc2b2(0x1eb))/0x8*(-parseInt(_0x5dc2b2(0x1ee))/0x9);if(_0x2fe4c0===_0x4dbcc1)break;else _0x47c7c7['push'](_0x47c7c7['shift']());}catch(_0x2147d6){_0x47c7c7['push'](_0x47c7c7['shift']());}}}(_0xc110,0xcd4ed));import{FocusTracker as _0x286453}from'ckeditor5/src/utils.js';function _0xc110(){var _0x10c168=['88QeFbjq','focusCycler','div','1719684qlfdyI','focusTracker','453571SdqUYB','1197764hZcYlj','191874abShtp','bindTemplate','596740XtXeBG','createCollection','fire','true','forwardCycle','8851031ixJJLE','getFocusableElement','245NaqHRU','1517571MMmxiw'];_0xc110=function(){return _0x10c168;};return _0xc110();}function _0x40f4(_0x52d624,_0x3a6126){var _0xc1106=_0xc110();return _0x40f4=function(_0x40f47b,_0x45b19c){_0x40f47b=_0x40f47b-0x1e6;var _0x2b2fc1=_0xc1106[_0x40f47b];return _0x2b2fc1;},_0x40f4(_0x52d624,_0x3a6126);}import{View as _0x24f793,FocusCycler as _0x25ef24}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x24f793{[_0x135f6a(0x1ef)];[_0x135f6a(0x1ec)];constructor(_0x548667){var _0x28e315=_0x135f6a;super(_0x548667),this[_0x28e315(0x1ef)]=new _0x286453(),this[_0x28e315(0x1ec)]=new _0x25ef24({'focusables':this[_0x28e315(0x1f5)](),'focusTracker':this[_0x28e315(0x1ef)]});}[_0x135f6a(0x1e8)](){var _0x1da4c2=_0x135f6a;return{'tag':_0x1da4c2(0x1ed),'attributes':{'aria-hidden':_0x1da4c2(0x1f7),'tabindex':'0'},'on':{'focus':this[_0x1da4c2(0x1f3)]['to'](()=>{var _0x1d3a78=_0x1da4c2;this[_0x1d3a78(0x1ec)][_0x1d3a78(0x1f6)](_0x1d3a78(0x1e6));})}};}}