@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260128.0 → 0.0.0-nightly-20260129.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16664f=_0x327e;(function(_0x4f5b50,_0x4e86a5){const _0x4ff51=_0x327e,_0x4aa1a9=_0x4f5b50();while(!![]){try{const _0x4e35c7=-parseInt(_0x4ff51(0x152))/0x1*(-parseInt(_0x4ff51(0x10f))/0x2)+-parseInt(_0x4ff51(0x140))/0x3+-parseInt(_0x4ff51(0x100))/0x4+parseInt(_0x4ff51(0x12b))/0x5*(parseInt(_0x4ff51(0x138))/0x6)+parseInt(_0x4ff51(0x120))/0x7+parseInt(_0x4ff51(0x11f))/0x8*(parseInt(_0x4ff51(0x10c))/0x9)+-parseInt(_0x4ff51(0x146))/0xa;if(_0x4e35c7===_0x4e86a5)break;else _0x4aa1a9['push'](_0x4aa1a9['shift']());}catch(_0x252a49){_0x4aa1a9['push'](_0x4aa1a9['shift']());}}}(_0x4f47,0x42722));function _0x4f47(){const _0x83b455=['99445YConoE','uc-config','_configElement','773920skqqoo','insertImage','downcast','getAttribute','schema','getSelectedElement','imageBlock','uploadcareImageReplace','replaceImageSource','uploadcare','uc-upload-ctx-provider','uploadcareImageId','27hyGqbT','remove','_initCtx','10zbSdDk','uploadcare.pubkey','imageInline','get','afterInit','commands','extend','#uc-icon-arrow-down','document','_ctxElement','PictureEditing','render','elementToAttribute','pluginName','input[uploadcare-file-input]','for','824XARHWg','384391zCuOUN','isOfficialPlugin','fromCharCode','isPremiumPlugin','conversion','_initConfig','listenTo','appendChild','requires','editor','true','45405eElZAx','add','join','editing','configElement','_initConversion','config','UploadcareEditing','cleanupImage','execute','body','model','attributeToAttribute','258Wmppwz','upcast','uploadcare.uploader','querySelector','ctxElement','ucContextId','once','locale','1149000xiaFEt','href','selection','view','removeAttribute','destroy','942880RiXMlz','map','_initSchema','iconHrefResolver','contentLanguage','isRegistered','init','closeMax','uploader-','_initImageProcessingIndicator','\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','data-uc-image-id'];_0x4f47=function(){return _0x83b455;};return _0x4f47();}import{Plugin as _0x5297f1}from'ckeditor5/src/core.js';function _0x327e(_0x5cb4a2,_0x3d23e8){const _0x4f47de=_0x4f47();return _0x327e=function(_0x327ef6,_0x22f0ae){_0x327ef6=_0x327ef6-0x100;let _0x4341c2=_0x4f47de[_0x327ef6];return _0x4341c2;},_0x327e(_0x5cb4a2,_0x3d23e8);}import{Dialog as _0x45c18c}from'ckeditor5/src/ui.js';import{createElement as _0x240278,global as _0x4a4579,uid as _0x2e908e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x56523e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x34a598}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x30e148}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5297f1{[_0x16664f(0x154)]=null;[_0x16664f(0x118)]=null;static get[_0x16664f(0x11c)](){const _0x25f86b=_0x16664f;return _0x25f86b(0x132);}static get[_0x16664f(0x128)](){const _0xc4644a=_0x16664f;return[_0xc4644a(0x119),_0x34a598,_0x45c18c];}static get[_0x16664f(0x121)](){return!0x0;}static get[_0x16664f(0x123)](){return!0x0;}[_0x16664f(0x13d)];get[_0x16664f(0x12f)](){const _0x3d2b61=_0x16664f;return this[_0x3d2b61(0x154)];}get[_0x16664f(0x13c)](){const _0x263d9f=_0x16664f;return this[_0x263d9f(0x118)];}constructor(_0x2374e8){const _0x32c7e6=_0x16664f;super(_0x2374e8),this[_0x32c7e6(0x13d)]=_0x2e908e();}[_0x16664f(0x14c)](){const _0x10d494=_0x16664f,_0x1acca0=this[_0x10d494(0x129)];_0x1acca0[_0x10d494(0x114)][_0x10d494(0x12c)](_0x10d494(0x109),new _0x56523e(_0x1acca0));}[_0x16664f(0x113)](){const _0x31eed7=_0x16664f;this[_0x31eed7(0x148)](),this[_0x31eed7(0x130)](),this[_0x31eed7(0x125)](),this[_0x31eed7(0x10e)](),this[_0x31eed7(0x14f)](),this[_0x31eed7(0x126)](this[_0x31eed7(0x129)],_0x31eed7(0x145),()=>{const _0x40ee02=_0x31eed7;this[_0x40ee02(0x154)]&&(this[_0x40ee02(0x154)][_0x40ee02(0x10d)](),this[_0x40ee02(0x154)]=null),this[_0x40ee02(0x118)]&&(this[_0x40ee02(0x118)][_0x40ee02(0x10d)](),this[_0x40ee02(0x118)]=null);const _0x43dcbd=_0x4a4579[_0x40ee02(0x117)][_0x40ee02(0x13b)](_0x40ee02(0x11d));_0x43dcbd&&_0x43dcbd[_0x40ee02(0x10d)]();}),async function(_0x411d10){const _0x41b444=_0x587a92([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x277721=0x535f8c3a,_0x5e922a=0x53580c22^_0x277721,_0x5153ec=window[_0x587a92([0x44,0x61,0x74,0x65])][_0x587a92([0x6e,0x6f,0x77])](),_0xbc59d0=_0x411d10[_0x587a92([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2504b7=new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x443bfd=>{_0xbc59d0[_0x587a92([0x6f,0x6e,0x63,0x65])](_0x587a92([0x72,0x65,0x61,0x64,0x79]),_0x443bfd);}),_0x415be8={[_0x587a92([0x6b,0x74,0x79])]:_0x587a92([0x45,0x43]),[_0x587a92([0x75,0x73,0x65])]:_0x587a92([0x73,0x69,0x67]),[_0x587a92([0x63,0x72,0x76])]:_0x587a92([0x50,0x2d,0x32,0x35,0x36]),[_0x587a92([0x78])]:_0x587a92([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]),[_0x587a92([0x79])]:_0x587a92([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]),[_0x587a92([0x61,0x6c,0x67])]:_0x587a92([0x45,0x53,0x32,0x35,0x36])},_0x1d4094=_0xbc59d0[_0x587a92([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x587a92([0x67,0x65,0x74])](_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25983a(){let _0x4b9896,_0x2b63cf=null,_0x538292=null;try{if(_0x1d4094==_0x587a92([0x47,0x50,0x4c]))return _0x587a92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b9896=_0x3b9ae2(),!_0x4b9896)return _0x587a92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b9896[_0x587a92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x538292=_0x55a933(_0x4b9896[_0x587a92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b9896[_0x587a92([0x6a,0x74,0x69])])),await _0x3b5636()?_0x424967()?_0x40d282()?_0x587a92([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ebdad()?(_0x4b9896[_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x587a92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b63cf=_0x5c5f40(_0x587a92([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a637e()):_0x587a92([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x587a92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x587a92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x587a92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40d282(){const _0x177af2=[_0x587a92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x587a92([0x74,0x72,0x69,0x61,0x6c])][_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9896[_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5153ec/0x3e8:0xe10*_0x5e922a;return _0x4b9896[_0x587a92([0x65,0x78,0x70])]<_0x177af2;}function _0x424967(){const _0xbafa5d=_0x4b9896[_0x587a92([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbafa5d&&(!!_0xbafa5d[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587a92([0x2a]))||!!_0xbafa5d[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587a92([0x55,0x50,0x4c,0x43])));}function _0x5ebdad(){const _0x35507e=_0x327e,_0x2802ea=_0x4b9896[_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2802ea||0x0==_0x2802ea[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f7d54}=new URL(window[_0x587a92([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x35507e(0x141)]);if(_0x2802ea[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f7d54))return!0x0;const _0x22f7ec=_0x3f7d54[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e]));return _0x2802ea[_0x587a92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8d1628=>_0x8d1628[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587a92([0x2a])))[_0x587a92([0x6d,0x61,0x70])](_0x1b00ee=>_0x1b00ee[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e])))[_0x587a92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x337601=>_0x337601[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22f7ec[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x587a92([0x6d,0x61,0x70])](_0x50aa45=>Array(_0x22f7ec[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50aa45[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x587a92([0x66,0x69,0x6c,0x6c])](_0x50aa45[0x0]===_0x587a92([0x2a])?_0x587a92([0x2a]):'')[_0x587a92([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50aa45))[_0x587a92([0x73,0x6f,0x6d,0x65])](_0xf457af=>_0x22f7ec[_0x587a92([0x65,0x76,0x65,0x72,0x79])]((_0x43c9a4,_0xeccae2)=>_0xf457af[_0xeccae2]===_0x43c9a4||_0xf457af[_0xeccae2]===_0x587a92([0x2a])));}function _0x1a637e(){return _0x2b63cf&&_0x538292?new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35b154,_0xfa88c3)=>{_0x2b63cf[_0x587a92([0x74,0x68,0x65,0x6e])](_0x35b154,_0xfa88c3),_0x538292[_0x587a92([0x74,0x68,0x65,0x6e])](_0x2574d0=>{_0x2574d0!=_0x587a92([0x56,0x61,0x6c,0x69,0x64])&&_0x35b154(_0x2574d0);},_0xfa88c3);}):_0x2b63cf||_0x538292||_0x587a92([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55a933(_0x130a95,_0xf13490){return new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c1a1b=>{if(_0x17b19c())return _0x3c1a1b(_0x587a92([0x56,0x61,0x6c,0x69,0x64]));_0x325ce7(),_0xbc59d0[_0x587a92([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x587a92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cfb1c=!0x1;const _0x85cceb=_0x2e908e();function _0x213ec4(_0x4d59d9){return!!_0x4d59d9&&(typeof _0x4d59d9===_0x587a92([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d59d9===_0x587a92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d59d9[_0x587a92([0x74,0x68,0x65,0x6e])]===_0x587a92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d59d9[_0x587a92([0x63,0x61,0x74,0x63,0x68])]===_0x587a92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5af6ee(_0x4b413a){_0x1f5137(_0x4b413a)[_0x587a92([0x74,0x68,0x65,0x6e])](_0x50f00a=>{if(!_0x50f00a||_0x50f00a[_0x587a92([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x587a92([0x6f,0x6b]))return _0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa605bf(_0x1b9290(_0x85cceb+_0xf13490))!=_0x50f00a[_0x587a92([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x587a92([0x56,0x61,0x6c,0x69,0x64]);})[_0x587a92([0x74,0x68,0x65,0x6e])](_0x1675c6=>(_0xfe0bdd(),_0x1675c6),()=>{const _0x1c236e=_0x20116a();return null==_0x1c236e?(_0xfe0bdd(),_0x587a92([0x56,0x61,0x6c,0x69,0x64])):_0x587a92(_0x5153ec-_0x1c236e>(0x7753083a^_0x277721)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x587a92([0x74,0x68,0x65,0x6e])](_0x3c1a1b)[_0x587a92([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c1a1b(_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x407a14=0x536962ba^_0x277721;function _0xfe0bdd(){const _0x112a2d=_0x587a92([0x6c,0x6c,0x63,0x74,0x2d])+_0xa605bf(_0x1b9290(_0x130a95)),_0x473eba=_0x1314c9(_0xa605bf(window[_0x587a92([0x4d,0x61,0x74,0x68])][_0x587a92([0x63,0x65,0x69,0x6c])](_0x5153ec/_0x407a14)));window[_0x587a92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x587a92([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x112a2d,_0x473eba);}function _0x20116a(){const _0x14eb04=_0x587a92([0x6c,0x6c,0x63,0x74,0x2d])+_0xa605bf(_0x1b9290(_0x130a95)),_0x16e096=window[_0x587a92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x587a92([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14eb04);return _0x16e096?window[_0x587a92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1314c9(_0x16e096),0x10)*_0x407a14:null;}function _0x1f5137(_0x166491){return new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x496b22,_0x40896a)=>{_0x166491[_0x587a92([0x74,0x68,0x65,0x6e])](_0x496b22,_0x40896a),window[_0x587a92([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40896a,0x535e58fa^_0x277721);});}}_0xbc59d0[_0x587a92([0x6f,0x6e])](_0x587a92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57849e,_0x38c54d)=>{if(_0x38c54d[0x0]!=_0x130a95)return _0x3c1a1b(_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38c54d[0x1]={..._0x38c54d[0x1],[_0x587a92([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x85cceb};},{[_0x587a92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x587a92([0x68,0x69,0x67,0x68])}),_0xbc59d0[_0x587a92([0x6f,0x6e])](_0x587a92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3fdca2=>{_0x213ec4(_0x3fdca2[_0x587a92([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cfb1c=!0x0,_0x5af6ee(_0x3fdca2[_0x587a92([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x587a92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x587a92([0x6c,0x6f,0x77])}),_0x2504b7[_0x587a92([0x74,0x68,0x65,0x6e])](()=>{_0x3cfb1c||_0x3c1a1b(_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17b19c(){return _0xbc59d0[_0x587a92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x587a92([0x76,0x69,0x65,0x77])][_0x587a92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x587a92([0x61,0x75,0x74,0x6f]);}function _0x325ce7(){_0xbc59d0[_0x587a92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x587a92([0x76,0x69,0x65,0x77])][_0x587a92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x587a92([0x61,0x75,0x74,0x6f]);}}function _0x5c5f40(_0x3485bc){const _0x482fd5=[new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f86c0=>setTimeout(_0x1f86c0,0x5356b2f6^_0x277721)),_0x2504b7[_0x587a92([0x74,0x68,0x65,0x6e])](()=>new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b2d48=>{let _0x1d3859=0x0;_0xbc59d0[_0x587a92([0x6d,0x6f,0x64,0x65,0x6c])][_0x587a92([0x6f,0x6e])](_0x587a92([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e5f2e,_0x219281)=>{_0x219281[0x0][_0x587a92([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d3859++,_0x1d3859==(0x535f89d2^_0x277721)&&(_0x3b2d48(),_0x3e5f2e[_0x587a92([0x6f,0x66,0x66])]());});}))];return window[_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x587a92([0x72,0x61,0x63,0x65])](_0x482fd5)[_0x587a92([0x74,0x68,0x65,0x6e])](()=>_0x3485bc);}async function _0x5213a5(){await _0x2504b7,_0xbc59d0[_0x587a92([0x6d,0x6f,0x64,0x65,0x6c])][_0x587a92([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4836b9,_0xbc59d0[_0x587a92([0x6d,0x6f,0x64,0x65,0x6c])][_0x587a92([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4836b9,_0xbc59d0[_0x587a92([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x587a92([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x361e7c(_0x5d949a){const _0x19d907=_0x2d8141();_0xbc59d0[_0x19d907]=_0x587a92([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d949a,_0x5d949a!=_0x587a92([0x56,0x61,0x6c,0x69,0x64])&&_0x5213a5();}function _0x2d8141(){const _0x214e75=window[_0x587a92([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x587a92([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x587a92([0x6e,0x6f,0x77])]())[_0x587a92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x587a92([0x2e]),'');let _0x4573a2=_0x587a92([0x68]);for(let _0x369be6=0x0;_0x369be6<_0x214e75[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x369be6+=0x2){let _0x40e224=window[_0x587a92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x214e75[_0x587a92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x369be6,_0x369be6+0x2));_0x40e224>=_0x41b444[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40e224-=_0x41b444[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4573a2+=_0x41b444[_0x40e224];}return _0x4573a2;}function _0x3b9ae2(){const _0x4a1442=_0x1d4094[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e]));if(0x3!=_0x4a1442[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f15a7(_0x4a1442[0x1]);function _0x5f15a7(_0x1abf43){const _0x8dd00f=_0x38f47d(_0x1abf43);return _0x8dd00f&&_0x41ece9()?_0x8dd00f:null;function _0x41ece9(){const _0x1f21cf=_0x8dd00f[_0x587a92([0x6a,0x74,0x69])],_0x50ea77=window[_0x587a92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f21cf[_0x587a92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f21cf[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x390fd4={..._0x8dd00f,[_0x587a92([0x6a,0x74,0x69])]:_0x1f21cf[_0x587a92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f21cf[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x390fd4[_0x587a92([0x76,0x63])],_0x1b9290(_0x390fd4)==_0x50ea77;}}}async function _0x3b5636(){let _0x8520d3=!0x0;try{const _0x514578=_0x1d4094[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e])),[_0x39205a,_0x7a061b,_0x436271]=_0x514578;return _0x33b04e(_0x39205a),await _0x243ee7(_0x39205a,_0x7a061b,_0x436271),_0x8520d3;}catch{return!0x1;}function _0x33b04e(_0x19a8a5){const _0x250567=_0x38f47d(_0x19a8a5);_0x250567&&_0x250567[_0x587a92([0x61,0x6c,0x67])]==_0x587a92([0x45,0x53,0x32,0x35,0x36])||(_0x8520d3=!0x1);}async function _0x243ee7(_0x1bf10e,_0x5817d8,_0x17ad4c){const _0x1d6126=window[_0x587a92([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x587a92([0x66,0x72,0x6f,0x6d])](_0x21154b(_0x17ad4c),_0x51639e=>_0x51639e[_0x587a92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1caf88=new window[(_0x587a92([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x587a92([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bf10e+_0x587a92([0x2e])+_0x5817d8),_0x305e91=window[_0x587a92([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x587a92([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x305e91)return;const _0xa31f91=await _0x305e91[_0x587a92([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x587a92([0x6a,0x77,0x6b]),_0x415be8,{[_0x587a92([0x6e,0x61,0x6d,0x65])]:_0x587a92([0x45,0x43,0x44,0x53,0x41]),[_0x587a92([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x587a92([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x587a92([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x305e91[_0x587a92([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x587a92([0x6e,0x61,0x6d,0x65])]:_0x587a92([0x45,0x43,0x44,0x53,0x41]),[_0x587a92([0x68,0x61,0x73,0x68])]:{[_0x587a92([0x6e,0x61,0x6d,0x65])]:_0x587a92([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa31f91,_0x1d6126,_0x1caf88)||(_0x8520d3=!0x1);}}function _0x38f47d(_0x504492){return _0x504492[_0x587a92([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x587a92([0x65,0x79]))?JSON[_0x587a92([0x70,0x61,0x72,0x73,0x65])](_0x21154b(_0x504492)):null;}function _0x21154b(_0x2c909e){return window[_0x587a92([0x61,0x74,0x6f,0x62])](_0x2c909e[_0x587a92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x587a92([0x2b]))[_0x587a92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x587a92([0x2f])));}function _0x1b9290(_0x5d311e){let _0x2b79e9=0x1505;function _0x1d6c62(_0x2ad644){for(let _0x4dd550=0x0;_0x4dd550<_0x2ad644[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dd550++){const _0x317421=_0x2ad644[_0x587a92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4dd550);_0x2b79e9=(_0x2b79e9<<0x5)+_0x2b79e9+_0x317421,_0x2b79e9&=_0x2b79e9;}}function _0x25f614(_0x50331f){Array[_0x587a92([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50331f)?_0x50331f[_0x587a92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25f614):_0x50331f&&typeof _0x50331f==_0x587a92([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x587a92([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50331f)[_0x587a92([0x73,0x6f,0x72,0x74])]()[_0x587a92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf3c337,_0x45a05e])=>{_0x1d6c62(_0xf3c337),_0x25f614(_0x45a05e);}):_0x1d6c62(window[_0x587a92([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50331f));}return _0x25f614(_0x5d311e),_0x2b79e9>>>0x0;}function _0xa605bf(_0x57b954){return _0x57b954[_0x587a92([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x587a92([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x587a92([0x30]));}function _0x1314c9(_0x1cb8ab){return _0x1cb8ab[_0x587a92([0x73,0x70,0x6c,0x69,0x74])]('')[_0x587a92([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x587a92([0x6a,0x6f,0x69,0x6e])]('');}function _0x4836b9(){}function _0x587a92(_0xe7b090){const _0x43c392=_0x327e;return _0xe7b090[_0x43c392(0x147)](_0x55f44d=>String[_0x43c392(0x122)](_0x55f44d))[_0x43c392(0x12d)]('');}_0x361e7c(await _0x25983a());}(this);}[_0x16664f(0x148)](){const _0x3c8a89=_0x16664f,_0x54eb51=this[_0x3c8a89(0x129)][_0x3c8a89(0x136)][_0x3c8a89(0x104)];_0x54eb51[_0x3c8a89(0x14b)](_0x3c8a89(0x106))&&_0x54eb51[_0x3c8a89(0x115)](_0x3c8a89(0x106),{'allowAttributes':[_0x3c8a89(0x10b)]}),_0x54eb51[_0x3c8a89(0x14b)](_0x3c8a89(0x111))&&_0x54eb51[_0x3c8a89(0x115)](_0x3c8a89(0x111),{'allowAttributes':[_0x3c8a89(0x10b)]});}[_0x16664f(0x130)](){const _0x3628ce=_0x16664f,_0x1d11a2=this[_0x3628ce(0x129)];_0x1d11a2[_0x3628ce(0x124)][_0x3628ce(0x11e)](_0x3628ce(0x102))[_0x3628ce(0x137)]({'model':_0x3628ce(0x10b),'view':_0x3628ce(0x151)}),_0x1d11a2[_0x3628ce(0x124)][_0x3628ce(0x11e)](_0x3628ce(0x139))[_0x3628ce(0x11b)]({'model':{'key':_0x3628ce(0x10b),'value':_0x78c60e=>_0x78c60e[_0x3628ce(0x103)](_0x3628ce(0x151))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b424d=_0x1d11a2[_0x3628ce(0x114)][_0x3628ce(0x112)](_0x3628ce(0x108));_0x2b424d&&this[_0x3628ce(0x126)](_0x2b424d,_0x3628ce(0x133),(_0x5a14fd,[_0x14dd88,_0x341000])=>{const _0x458d86=_0x3628ce;_0x14dd88[_0x458d86(0x144)](_0x458d86(0x10b),_0x341000);});}[_0x16664f(0x125)](){const _0x14e6da=_0x16664f,_0x2344e2=this[_0x14e6da(0x129)][_0x14e6da(0x131)][_0x14e6da(0x112)](_0x14e6da(0x13a))||{},_0xe1ec7=this[_0x14e6da(0x129)][_0x14e6da(0x131)][_0x14e6da(0x112)](_0x14e6da(0x110))||'';this[_0x14e6da(0x154)]=_0x240278(_0x4a4579[_0x14e6da(0x117)],_0x14e6da(0x153),{..._0x2344e2,'pubkey':_0xe1ec7,'ctx-name':_0x14e6da(0x14e)+this[_0x14e6da(0x13d)],'sourceList':'','imgOnly':_0x14e6da(0x12a),'removeCopyright':_0x14e6da(0x12a),'localeName':this[_0x14e6da(0x129)][_0x14e6da(0x13f)][_0x14e6da(0x14a)],'externalSourcesEmbedCss':_0x14e6da(0x150)}),this[_0x14e6da(0x154)][_0x14e6da(0x149)]=_0x24806f=>{const _0xc8a03e=_0x14e6da;if(_0xc8a03e(0x14d)==_0x24806f)return _0xc8a03e(0x116);},_0x4a4579[_0x14e6da(0x117)][_0x14e6da(0x135)][_0x14e6da(0x127)](this[_0x14e6da(0x154)]);}[_0x16664f(0x10e)](){const _0x36b49c=_0x16664f;this[_0x36b49c(0x118)]=_0x240278(_0x4a4579[_0x36b49c(0x117)],_0x36b49c(0x10a),{'ctx-name':_0x36b49c(0x14e)+this[_0x36b49c(0x13d)]}),_0x4a4579[_0x36b49c(0x117)][_0x36b49c(0x135)][_0x36b49c(0x127)](this[_0x36b49c(0x118)]);}[_0x16664f(0x14f)](){const _0x1aadcd=_0x16664f,_0x366d6c=this[_0x1aadcd(0x129)][_0x1aadcd(0x114)][_0x1aadcd(0x112)](_0x1aadcd(0x101));_0x366d6c&&this[_0x1aadcd(0x126)](_0x366d6c,_0x1aadcd(0x134),()=>{const _0x370475=_0x1aadcd,_0x70ad38=this[_0x370475(0x129)][_0x370475(0x136)][_0x370475(0x117)][_0x370475(0x142)][_0x370475(0x105)]();_0x70ad38&&_0x70ad38[_0x370475(0x103)](_0x370475(0x10b))&&this[_0x370475(0x129)][_0x370475(0x12e)][_0x370475(0x143)][_0x370475(0x13e)](_0x370475(0x11a),()=>{const _0x17fccb=_0x370475;_0x30e148(this[_0x17fccb(0x129)],_0x70ad38);});});const _0x4112a5=this[_0x1aadcd(0x129)][_0x1aadcd(0x114)][_0x1aadcd(0x112)](_0x1aadcd(0x107));_0x4112a5&&this[_0x1aadcd(0x126)](_0x4112a5,_0x1aadcd(0x134),()=>{const _0x48b4ae=_0x1aadcd,_0x15e2aa=this[_0x48b4ae(0x129)][_0x48b4ae(0x136)][_0x48b4ae(0x117)][_0x48b4ae(0x142)][_0x48b4ae(0x105)]();_0x15e2aa&&_0x15e2aa[_0x48b4ae(0x103)](_0x48b4ae(0x10b))&&this[_0x48b4ae(0x129)][_0x48b4ae(0x12e)][_0x48b4ae(0x143)][_0x48b4ae(0x13e)](_0x48b4ae(0x11a),()=>{const _0x5163c5=_0x48b4ae;_0x30e148(this[_0x5163c5(0x129)],_0x15e2aa);});});}}
23
+ function _0x58b7(_0x25c1c1,_0x3bb4c7){const _0x40fb48=_0x40fb();return _0x58b7=function(_0x58b7c5,_0x23b7ca){_0x58b7c5=_0x58b7c5-0x1e9;let _0x61c1cb=_0x40fb48[_0x58b7c5];return _0x61c1cb;},_0x58b7(_0x25c1c1,_0x3bb4c7);}const _0x30194a=_0x58b7;(function(_0x5d1d10,_0x35d18d){const _0x1d5f54=_0x58b7,_0x2ceb2a=_0x5d1d10();while(!![]){try{const _0x4d285e=parseInt(_0x1d5f54(0x1ec))/0x1*(parseInt(_0x1d5f54(0x21e))/0x2)+-parseInt(_0x1d5f54(0x1f3))/0x3+parseInt(_0x1d5f54(0x1fe))/0x4*(parseInt(_0x1d5f54(0x21f))/0x5)+-parseInt(_0x1d5f54(0x1ee))/0x6+parseInt(_0x1d5f54(0x209))/0x7+-parseInt(_0x1d5f54(0x238))/0x8+-parseInt(_0x1d5f54(0x1ed))/0x9*(-parseInt(_0x1d5f54(0x1eb))/0xa);if(_0x4d285e===_0x35d18d)break;else _0x2ceb2a['push'](_0x2ceb2a['shift']());}catch(_0x2e5e53){_0x2ceb2a['push'](_0x2ceb2a['shift']());}}}(_0x40fb,0x87564));import{Plugin as _0x5b5e52}from'ckeditor5/src/core.js';import{Dialog as _0x24234e}from'ckeditor5/src/ui.js';import{createElement as _0x2098a1,global as _0x295177,uid as _0x2efe7d}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x43f2a7}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x27e3e1}from'./uploadcareuploadadapter.js';function _0x40fb(){const _0x528fdc=['_ctxElement','input[uploadcare-file-input]','#uc-icon-arrow-down','extend','remove','get','editor','insertImage','downcast','3778wjgoXd','130hGQYsW','uploadcareImageReplace','conversion','closeMax','contentLanguage','execute','removeAttribute','\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','view','uploadcare.pubkey','init','uploader-','isPremiumPlugin','isRegistered','querySelector','appendChild','href','configElement','listenTo','PictureEditing','pluginName','imageInline','getSelectedElement','uploadcareImageId','_initImageProcessingIndicator','1628968RQxjfn','_initConfig','cleanupImage','render','_initSchema','fromCharCode','requires','for','2780Ggqolf','542rdyWHl','2844ucheCK','6275940PYMzVM','_configElement','true','document','replaceImageSource','2581545ymrbLe','join','data-uc-image-id','imageBlock','once','uploadcare.uploader','_initCtx','map','uc-config','_initConversion','isOfficialPlugin','100316AEfHCG','destroy','selection','uploadcare','schema','afterInit','iconHrefResolver','getAttribute','config','body','UploadcareEditing','6305082kOLwtO','uc-upload-ctx-provider','attributeToAttribute','elementToAttribute','locale','add','editing','model','upcast','ctxElement','commands','ucContextId'];_0x40fb=function(){return _0x528fdc;};return _0x40fb();}import{showImageProcessingIndicator as _0x2af1d8}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5b5e52{[_0x30194a(0x1ef)]=null;[_0x30194a(0x215)]=null;static get[_0x30194a(0x233)](){const _0x35e8c4=_0x30194a;return _0x35e8c4(0x208);}static get[_0x30194a(0x1e9)](){const _0x4bcafd=_0x30194a;return[_0x4bcafd(0x232),_0x27e3e1,_0x24234e];}static get[_0x30194a(0x1fd)](){return!0x0;}static get[_0x30194a(0x22b)](){return!0x0;}[_0x30194a(0x214)];get[_0x30194a(0x230)](){const _0x51c4ba=_0x30194a;return this[_0x51c4ba(0x1ef)];}get[_0x30194a(0x212)](){const _0x5dd90e=_0x30194a;return this[_0x5dd90e(0x215)];}constructor(_0x14cede){const _0x27be7d=_0x30194a;super(_0x14cede),this[_0x27be7d(0x214)]=_0x2efe7d();}[_0x30194a(0x229)](){const _0x663865=_0x30194a,_0x595072=this[_0x663865(0x21b)];_0x595072[_0x663865(0x213)][_0x663865(0x20e)](_0x663865(0x201),new _0x43f2a7(_0x595072));}[_0x30194a(0x203)](){const _0x26ad72=_0x30194a;this[_0x26ad72(0x23c)](),this[_0x26ad72(0x1fc)](),this[_0x26ad72(0x239)](),this[_0x26ad72(0x1f9)](),this[_0x26ad72(0x237)](),this[_0x26ad72(0x231)](this[_0x26ad72(0x21b)],_0x26ad72(0x1ff),()=>{const _0x4dbd8e=_0x26ad72;this[_0x4dbd8e(0x1ef)]&&(this[_0x4dbd8e(0x1ef)][_0x4dbd8e(0x219)](),this[_0x4dbd8e(0x1ef)]=null),this[_0x4dbd8e(0x215)]&&(this[_0x4dbd8e(0x215)][_0x4dbd8e(0x219)](),this[_0x4dbd8e(0x215)]=null);const _0x4ac0cb=_0x295177[_0x4dbd8e(0x1f1)][_0x4dbd8e(0x22d)](_0x4dbd8e(0x216));_0x4ac0cb&&_0x4ac0cb[_0x4dbd8e(0x219)]();}),async function(_0x13a588){const _0x5c5a29=_0x5a5424([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x403196=0x535f8c3a,_0x2f0138=0x53580c0a^_0x403196,_0x326733=window[_0x5a5424([0x44,0x61,0x74,0x65])][_0x5a5424([0x6e,0x6f,0x77])](),_0x4314c5=_0x13a588[_0x5a5424([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37966b=new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11fe3e=>{_0x4314c5[_0x5a5424([0x6f,0x6e,0x63,0x65])](_0x5a5424([0x72,0x65,0x61,0x64,0x79]),_0x11fe3e);}),_0x561be5={[_0x5a5424([0x6b,0x74,0x79])]:_0x5a5424([0x45,0x43]),[_0x5a5424([0x75,0x73,0x65])]:_0x5a5424([0x73,0x69,0x67]),[_0x5a5424([0x63,0x72,0x76])]:_0x5a5424([0x50,0x2d,0x32,0x35,0x36]),[_0x5a5424([0x78])]:_0x5a5424([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]),[_0x5a5424([0x79])]:_0x5a5424([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]),[_0x5a5424([0x61,0x6c,0x67])]:_0x5a5424([0x45,0x53,0x32,0x35,0x36])},_0x18fb24=_0x4314c5[_0x5a5424([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a5424([0x67,0x65,0x74])](_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a0803(){let _0x26fac7,_0x57fee7=null,_0xea830e=null;try{if(_0x18fb24==_0x5a5424([0x47,0x50,0x4c]))return _0x5a5424([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26fac7=_0x433ef5(),!_0x26fac7)return _0x5a5424([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26fac7[_0x5a5424([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xea830e=_0x5d36c2(_0x26fac7[_0x5a5424([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26fac7[_0x5a5424([0x6a,0x74,0x69])])),await _0x274f92()?_0x4cbf17()?_0x3163ce()?_0x5a5424([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b96aa()?(_0x26fac7[_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a5424([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57fee7=_0x42c568(_0x5a5424([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d3710()):_0x5a5424([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5424([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a5424([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a5424([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3163ce(){const _0x1ff638=[_0x5a5424([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a5424([0x74,0x72,0x69,0x61,0x6c])][_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26fac7[_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x326733/0x3e8:0xe10*_0x2f0138;return _0x26fac7[_0x5a5424([0x65,0x78,0x70])]<_0x1ff638;}function _0x4cbf17(){const _0x59cb24=_0x26fac7[_0x5a5424([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59cb24&&(!!_0x59cb24[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5424([0x2a]))||!!_0x59cb24[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5424([0x55,0x50,0x4c,0x43])));}function _0x3b96aa(){const _0x258e54=_0x58b7,_0xc232f4=_0x26fac7[_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc232f4||0x0==_0xc232f4[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e0b01}=new URL(window[_0x5a5424([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x258e54(0x22f)]);if(_0xc232f4[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0b01))return!0x0;const _0x1ceb66=_0x3e0b01[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e]));return _0xc232f4[_0x5a5424([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16266f=>_0x16266f[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5424([0x2a])))[_0x5a5424([0x6d,0x61,0x70])](_0x3c4199=>_0x3c4199[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e])))[_0x5a5424([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f7e5a=>_0x2f7e5a[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ceb66[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5424([0x6d,0x61,0x70])](_0x3e98ed=>Array(_0x1ceb66[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e98ed[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5424([0x66,0x69,0x6c,0x6c])](_0x3e98ed[0x0]===_0x5a5424([0x2a])?_0x5a5424([0x2a]):'')[_0x5a5424([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e98ed))[_0x5a5424([0x73,0x6f,0x6d,0x65])](_0x54bade=>_0x1ceb66[_0x5a5424([0x65,0x76,0x65,0x72,0x79])]((_0x23fa0b,_0x56e12b)=>_0x54bade[_0x56e12b]===_0x23fa0b||_0x54bade[_0x56e12b]===_0x5a5424([0x2a])));}function _0x3d3710(){return _0x57fee7&&_0xea830e?new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2bd2cd,_0x47d9ed)=>{_0x57fee7[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x2bd2cd,_0x47d9ed),_0xea830e[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x2e93da=>{_0x2e93da!=_0x5a5424([0x56,0x61,0x6c,0x69,0x64])&&_0x2bd2cd(_0x2e93da);},_0x47d9ed);}):_0x57fee7||_0xea830e||_0x5a5424([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d36c2(_0x47e4db,_0x4a85fa){return new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366b30=>{if(_0x5c0901())return _0x366b30(_0x5a5424([0x56,0x61,0x6c,0x69,0x64]));_0x23ea1a(),_0x4314c5[_0x5a5424([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a5424([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26c539=!0x1;const _0x502ab3=_0x2efe7d();function _0x294dd7(_0x386de5){return!!_0x386de5&&(typeof _0x386de5===_0x5a5424([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x386de5===_0x5a5424([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x386de5[_0x5a5424([0x74,0x68,0x65,0x6e])]===_0x5a5424([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x386de5[_0x5a5424([0x63,0x61,0x74,0x63,0x68])]===_0x5a5424([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x346c0e(_0x1dec92){_0x15a4d7(_0x1dec92)[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x240518=>{if(!_0x240518||_0x240518[_0x5a5424([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a5424([0x6f,0x6b]))return _0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d365c(_0x4148ce(_0x502ab3+_0x4a85fa))!=_0x240518[_0x5a5424([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5424([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x52a9bb=>(_0x2b6e48(),_0x52a9bb),()=>{const _0x2c1d03=_0x174deb();return null==_0x2c1d03?(_0x2b6e48(),_0x5a5424([0x56,0x61,0x6c,0x69,0x64])):_0x5a5424(_0x326733-_0x2c1d03>(0x7753083a^_0x403196)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x366b30)[_0x5a5424([0x63,0x61,0x74,0x63,0x68])](()=>{_0x366b30(_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b73f5=0x536962ba^_0x403196;function _0x2b6e48(){const _0xd4ce72=_0x5a5424([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d365c(_0x4148ce(_0x47e4db)),_0x556f5b=_0x3255d8(_0x4d365c(window[_0x5a5424([0x4d,0x61,0x74,0x68])][_0x5a5424([0x63,0x65,0x69,0x6c])](_0x326733/_0x5b73f5)));window[_0x5a5424([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5424([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd4ce72,_0x556f5b);}function _0x174deb(){const _0x3e92ad=_0x5a5424([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d365c(_0x4148ce(_0x47e4db)),_0x207e70=window[_0x5a5424([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5424([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e92ad);return _0x207e70?window[_0x5a5424([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3255d8(_0x207e70),0x10)*_0x5b73f5:null;}function _0x15a4d7(_0x4256fd){return new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x486897,_0x31b6e0)=>{_0x4256fd[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x486897,_0x31b6e0),window[_0x5a5424([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31b6e0,0x535e58fa^_0x403196);});}}_0x4314c5[_0x5a5424([0x6f,0x6e])](_0x5a5424([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48f91f,_0x138baf)=>{if(_0x138baf[0x0]!=_0x47e4db)return _0x366b30(_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x138baf[0x1]={..._0x138baf[0x1],[_0x5a5424([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x502ab3};},{[_0x5a5424([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5424([0x68,0x69,0x67,0x68])}),_0x4314c5[_0x5a5424([0x6f,0x6e])](_0x5a5424([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f0c40=>{_0x294dd7(_0x4f0c40[_0x5a5424([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26c539=!0x0,_0x346c0e(_0x4f0c40[_0x5a5424([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a5424([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5424([0x6c,0x6f,0x77])}),_0x37966b[_0x5a5424([0x74,0x68,0x65,0x6e])](()=>{_0x26c539||_0x366b30(_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c0901(){return _0x4314c5[_0x5a5424([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5424([0x76,0x69,0x65,0x77])][_0x5a5424([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a5424([0x61,0x75,0x74,0x6f]);}function _0x23ea1a(){_0x4314c5[_0x5a5424([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5424([0x76,0x69,0x65,0x77])][_0x5a5424([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a5424([0x61,0x75,0x74,0x6f]);}}function _0x42c568(_0x25d73f){const _0xd553a3=[new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d5afd=>setTimeout(_0x3d5afd,0x5356b2f6^_0x403196)),_0x37966b[_0x5a5424([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b7e8e=>{let _0x251a58=0x0;_0x4314c5[_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5424([0x6f,0x6e])](_0x5a5424([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25258e,_0x3da919)=>{_0x3da919[0x0][_0x5a5424([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x251a58++,_0x251a58==(0x535f89d2^_0x403196)&&(_0x3b7e8e(),_0x25258e[_0x5a5424([0x6f,0x66,0x66])]());});}))];return window[_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a5424([0x72,0x61,0x63,0x65])](_0xd553a3)[_0x5a5424([0x74,0x68,0x65,0x6e])](()=>_0x25d73f);}async function _0x3ba962(){await _0x37966b,_0x4314c5[_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5424([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25a1c4,_0x4314c5[_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5424([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25a1c4,_0x4314c5[_0x5a5424([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x595e45(_0x157e9a){const _0x357f44=_0x5409a0();_0x4314c5[_0x357f44]=_0x5a5424([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x157e9a,_0x157e9a!=_0x5a5424([0x56,0x61,0x6c,0x69,0x64])&&_0x3ba962();}function _0x5409a0(){const _0x20e6c2=window[_0x5a5424([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a5424([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a5424([0x6e,0x6f,0x77])]())[_0x5a5424([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a5424([0x2e]),'');let _0x2b3fe9=_0x5a5424([0x68]);for(let _0x468559=0x0;_0x468559<_0x20e6c2[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x468559+=0x2){let _0x4d7a39=window[_0x5a5424([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20e6c2[_0x5a5424([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x468559,_0x468559+0x2));_0x4d7a39>=_0x5c5a29[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d7a39-=_0x5c5a29[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b3fe9+=_0x5c5a29[_0x4d7a39];}return _0x2b3fe9;}function _0x433ef5(){const _0x35088e=_0x18fb24[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e]));if(0x3!=_0x35088e[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x278fa7(_0x35088e[0x1]);function _0x278fa7(_0x25f104){const _0x25be77=_0x41e708(_0x25f104);return _0x25be77&&_0x500ef6()?_0x25be77:null;function _0x500ef6(){const _0x4c6933=_0x25be77[_0x5a5424([0x6a,0x74,0x69])],_0x1aecb7=window[_0x5a5424([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c6933[_0x5a5424([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c6933[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xacb66a={..._0x25be77,[_0x5a5424([0x6a,0x74,0x69])]:_0x4c6933[_0x5a5424([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c6933[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xacb66a[_0x5a5424([0x76,0x63])],_0x4148ce(_0xacb66a)==_0x1aecb7;}}}async function _0x274f92(){let _0x5b435f=!0x0;try{const _0x58493b=_0x18fb24[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e])),[_0x428ee0,_0x3cf937,_0x13a112]=_0x58493b;return _0x2981b1(_0x428ee0),await _0x8f97f3(_0x428ee0,_0x3cf937,_0x13a112),_0x5b435f;}catch{return!0x1;}function _0x2981b1(_0x137074){const _0x312ab7=_0x41e708(_0x137074);_0x312ab7&&_0x312ab7[_0x5a5424([0x61,0x6c,0x67])]==_0x5a5424([0x45,0x53,0x32,0x35,0x36])||(_0x5b435f=!0x1);}async function _0x8f97f3(_0x493882,_0x274c51,_0x1615e8){const _0x346fae=window[_0x5a5424([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a5424([0x66,0x72,0x6f,0x6d])](_0x5be7a6(_0x1615e8),_0x544af5=>_0x544af5[_0x5a5424([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31810f=new window[(_0x5a5424([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a5424([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x493882+_0x5a5424([0x2e])+_0x274c51),_0x76d233=window[_0x5a5424([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a5424([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x76d233)return;const _0x1d3fe4=await _0x76d233[_0x5a5424([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a5424([0x6a,0x77,0x6b]),_0x561be5,{[_0x5a5424([0x6e,0x61,0x6d,0x65])]:_0x5a5424([0x45,0x43,0x44,0x53,0x41]),[_0x5a5424([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a5424([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a5424([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x76d233[_0x5a5424([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a5424([0x6e,0x61,0x6d,0x65])]:_0x5a5424([0x45,0x43,0x44,0x53,0x41]),[_0x5a5424([0x68,0x61,0x73,0x68])]:{[_0x5a5424([0x6e,0x61,0x6d,0x65])]:_0x5a5424([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d3fe4,_0x346fae,_0x31810f)||(_0x5b435f=!0x1);}}function _0x41e708(_0xc31522){return _0xc31522[_0x5a5424([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a5424([0x65,0x79]))?JSON[_0x5a5424([0x70,0x61,0x72,0x73,0x65])](_0x5be7a6(_0xc31522)):null;}function _0x5be7a6(_0x372415){return window[_0x5a5424([0x61,0x74,0x6f,0x62])](_0x372415[_0x5a5424([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a5424([0x2b]))[_0x5a5424([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a5424([0x2f])));}function _0x4148ce(_0x165524){let _0x59a18e=0x1505;function _0x1d58c0(_0x5ae522){for(let _0x104472=0x0;_0x104472<_0x5ae522[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x104472++){const _0x133c7c=_0x5ae522[_0x5a5424([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x104472);_0x59a18e=(_0x59a18e<<0x5)+_0x59a18e+_0x133c7c,_0x59a18e&=_0x59a18e;}}function _0x2c7133(_0x832d5f){Array[_0x5a5424([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x832d5f)?_0x832d5f[_0x5a5424([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c7133):_0x832d5f&&typeof _0x832d5f==_0x5a5424([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a5424([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x832d5f)[_0x5a5424([0x73,0x6f,0x72,0x74])]()[_0x5a5424([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cca92,_0x44037a])=>{_0x1d58c0(_0x2cca92),_0x2c7133(_0x44037a);}):_0x1d58c0(window[_0x5a5424([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x832d5f));}return _0x2c7133(_0x165524),_0x59a18e>>>0x0;}function _0x4d365c(_0x1e078f){return _0x1e078f[_0x5a5424([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a5424([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a5424([0x30]));}function _0x3255d8(_0x1f7575){return _0x1f7575[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a5424([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a5424([0x6a,0x6f,0x69,0x6e])]('');}function _0x25a1c4(){}function _0x5a5424(_0x4c1b9d){const _0x3ffa1b=_0x58b7;return _0x4c1b9d[_0x3ffa1b(0x1fa)](_0x5a838d=>String[_0x3ffa1b(0x23d)](_0x5a838d))[_0x3ffa1b(0x1f4)]('');}_0x595e45(await _0x4a0803());}(this);}[_0x30194a(0x23c)](){const _0x318557=_0x30194a,_0x225ba3=this[_0x318557(0x21b)][_0x318557(0x210)][_0x318557(0x202)];_0x225ba3[_0x318557(0x22c)](_0x318557(0x1f6))&&_0x225ba3[_0x318557(0x218)](_0x318557(0x1f6),{'allowAttributes':[_0x318557(0x236)]}),_0x225ba3[_0x318557(0x22c)](_0x318557(0x234))&&_0x225ba3[_0x318557(0x218)](_0x318557(0x234),{'allowAttributes':[_0x318557(0x236)]});}[_0x30194a(0x1fc)](){const _0x372676=_0x30194a,_0x4b42fc=this[_0x372676(0x21b)];_0x4b42fc[_0x372676(0x221)][_0x372676(0x1ea)](_0x372676(0x21d))[_0x372676(0x20b)]({'model':_0x372676(0x236),'view':_0x372676(0x1f5)}),_0x4b42fc[_0x372676(0x221)][_0x372676(0x1ea)](_0x372676(0x211))[_0x372676(0x20c)]({'model':{'key':_0x372676(0x236),'value':_0x2e9224=>_0x2e9224[_0x372676(0x205)](_0x372676(0x1f5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1e5e90=_0x4b42fc[_0x372676(0x213)][_0x372676(0x21a)](_0x372676(0x1f2));_0x1e5e90&&this[_0x372676(0x231)](_0x1e5e90,_0x372676(0x23a),(_0x5f431c,[_0x232d95,_0x6315e5])=>{const _0x553140=_0x372676;_0x232d95[_0x553140(0x225)](_0x553140(0x236),_0x6315e5);});}[_0x30194a(0x239)](){const _0x6c1b53=_0x30194a,_0x4906aa=this[_0x6c1b53(0x21b)][_0x6c1b53(0x206)][_0x6c1b53(0x21a)](_0x6c1b53(0x1f8))||{},_0x4b308d=this[_0x6c1b53(0x21b)][_0x6c1b53(0x206)][_0x6c1b53(0x21a)](_0x6c1b53(0x228))||'';this[_0x6c1b53(0x1ef)]=_0x2098a1(_0x295177[_0x6c1b53(0x1f1)],_0x6c1b53(0x1fb),{..._0x4906aa,'pubkey':_0x4b308d,'ctx-name':_0x6c1b53(0x22a)+this[_0x6c1b53(0x214)],'sourceList':'','imgOnly':_0x6c1b53(0x1f0),'removeCopyright':_0x6c1b53(0x1f0),'localeName':this[_0x6c1b53(0x21b)][_0x6c1b53(0x20d)][_0x6c1b53(0x223)],'externalSourcesEmbedCss':_0x6c1b53(0x226)}),this[_0x6c1b53(0x1ef)][_0x6c1b53(0x204)]=_0x533b2f=>{const _0x15ff77=_0x6c1b53;if(_0x15ff77(0x222)==_0x533b2f)return _0x15ff77(0x217);},_0x295177[_0x6c1b53(0x1f1)][_0x6c1b53(0x207)][_0x6c1b53(0x22e)](this[_0x6c1b53(0x1ef)]);}[_0x30194a(0x1f9)](){const _0x41d761=_0x30194a;this[_0x41d761(0x215)]=_0x2098a1(_0x295177[_0x41d761(0x1f1)],_0x41d761(0x20a),{'ctx-name':_0x41d761(0x22a)+this[_0x41d761(0x214)]}),_0x295177[_0x41d761(0x1f1)][_0x41d761(0x207)][_0x41d761(0x22e)](this[_0x41d761(0x215)]);}[_0x30194a(0x237)](){const _0x440382=_0x30194a,_0x59f707=this[_0x440382(0x21b)][_0x440382(0x213)][_0x440382(0x21a)](_0x440382(0x21c));_0x59f707&&this[_0x440382(0x231)](_0x59f707,_0x440382(0x224),()=>{const _0x2adb1c=_0x440382,_0x42fae1=this[_0x2adb1c(0x21b)][_0x2adb1c(0x210)][_0x2adb1c(0x1f1)][_0x2adb1c(0x200)][_0x2adb1c(0x235)]();_0x42fae1&&_0x42fae1[_0x2adb1c(0x205)](_0x2adb1c(0x236))&&this[_0x2adb1c(0x21b)][_0x2adb1c(0x20f)][_0x2adb1c(0x227)][_0x2adb1c(0x1f7)](_0x2adb1c(0x23b),()=>{const _0x547e1f=_0x2adb1c;_0x2af1d8(this[_0x547e1f(0x21b)],_0x42fae1);});});const _0x28a1f3=this[_0x440382(0x21b)][_0x440382(0x213)][_0x440382(0x21a)](_0x440382(0x220));_0x28a1f3&&this[_0x440382(0x231)](_0x28a1f3,_0x440382(0x224),()=>{const _0x230622=_0x440382,_0x2acbe=this[_0x230622(0x21b)][_0x230622(0x210)][_0x230622(0x1f1)][_0x230622(0x200)][_0x230622(0x235)]();_0x2acbe&&_0x2acbe[_0x230622(0x205)](_0x230622(0x236))&&this[_0x230622(0x21b)][_0x230622(0x20f)][_0x230622(0x227)][_0x230622(0x1f7)](_0x230622(0x23b),()=>{const _0x2eaa8d=_0x230622;_0x2af1d8(this[_0x2eaa8d(0x21b)],_0x2acbe);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1414cc,ObservableMixin as _0x2687c7}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xb06578}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e14cf}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4b23ee}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xe99f2}from'../../utils/uploadutils.js';import{getImageUrls as _0x4f220e,getImageDimension as _0x233fa8}from'../../utils/editingutils.js';import{isAncestor as _0x49e2e5}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2687c7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x45db73,_0x53d8ab,_0x58985d){super(),this['_editor']=_0x45db73,this['_dialog']=_0x53d8ab,this['_imageElement']=_0x58985d,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 _0x485b4e=this['_imageElement'],_0x31ad51=_0x485b4e['getAttribute']('uploadcareImageId'),_0xaccb5f=_0x485b4e['getAttribute']('src');if(_0x31ad51)await this['_loadImageInfo'](_0x31ad51,_0xaccb5f);else{if(this['_imageCache']['has'](_0xaccb5f)){const _0x34cf0a=this['_imageCache']['get'](_0xaccb5f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34cf0a['url'],this['imageDimension']=_0x34cf0a['dimension'],this['imageId']=_0x34cf0a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x575e32}=this['_editor'],t=_0x575e32['t'],_0x2cb98d=new _0x4b23ee(_0x575e32,this['imageStatus'],this['_attributes']);_0x2cb98d['bind']('status')['to'](this,'imageStatus'),_0x2cb98d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2cb98d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2cb98d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2cb98d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1e14cf,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2cb98d,'position':_0xb06578['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2cb98d['focus']();},'onHide':()=>{_0x2cb98d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x244091=>!_0x49e2e5(_0x244091,_0x2cb98d['element'])}});}['_loadImageInfo'](_0x382244,_0xef308){return _0xe99f2['getInfo'](_0x382244,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x33ebe0=>{const {width:_0x326f82,height:_0x16ebb9}=_0x33ebe0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xef308,this['imageDimension']={'width':_0x326f82,'height':_0x16ebb9},this['imageId']=_0x382244;})['catch'](_0x522e79=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x522e79['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x35986c,_0x3224c0){return this['_getImageAsFile'](_0x35986c)['then'](_0xb5e09b=>_0xe99f2['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3224c0['signal'],'file':_0xb5e09b,'onProgress':_0x4ebb79=>{_0x4ebb79&&_0x4ebb79['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4ebb79['value']));}}))['then'](_0x3558b6=>{const {width:_0x2d4ce8,height:_0x3de81d}=_0x3558b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3558b6['cdnUrl'],this['imageDimension']={'width':_0x2d4ce8,'height':_0x3de81d},this['imageId']=_0x3558b6['uuid'],this['imageUploadProgress']=null;const _0x227204=_0x35986c['getAttribute']('src');this['_imageCache']['set'](_0x227204,{'id':_0x3558b6['uuid'],'url':_0x3558b6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x374317=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x374317['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x42a0da,_0xe982ac){_0x42a0da['on']('apply',(_0x5d5eee,_0x14a8c8)=>{this['_replaceImage'](_0xe982ac,_0x14a8c8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x42a0da['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x42a0da['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1dce1f,_0x12b312,_0x32a60b){const _0x310ddd=this['_editor'],{width:_0x5c91b0,height:_0x277fa0}=_0x233fa8(_0x12b312,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3de81f,imageSources:_0x62f94d}=_0x4f220e(_0x12b312,_0x5c91b0);_0x310ddd['model']['change'](_0xf3696b=>{if('$graveyard'===_0x1dce1f['root']['rootName']){_0x310ddd['execute']('insertImage',{'imageType':_0x1dce1f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1dce1f['getAttributes']()),'uploadcareImageId':_0x32a60b,'src':_0x3de81f,'sources':_0x62f94d,'width':_0x5c91b0,'height':_0x277fa0}});const _0x2e0021=_0x1dce1f['getChildren']();_0x1dce1f=_0x310ddd['model']['document']['selection']['getSelectedElement']();for(const _0x2c8ed8 of _0x2e0021)_0xf3696b['append'](_0xf3696b['cloneElement'](_0x2c8ed8),_0x1dce1f);}else _0xf3696b['setSelection'](_0x1dce1f,'on'),_0x310ddd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1dce1f['getAttributes']()),'uploadcareImageId':_0x32a60b,'src':_0x3de81f,'sources':_0x62f94d,'width':_0x5c91b0,'height':_0x277fa0},_0x1dce1f);_0xf3696b['setSelection'](_0x1dce1f,'on');});}async['_getImageAsFile'](_0x1fbc25){const _0x23cd98=_0x1414cc['window'],_0x3ead22=_0x1414cc['document']['location']['href'],_0x308e66=new _0x23cd98['URL'](_0x1fbc25['getAttribute']('src'),_0x3ead22);if('data:'===_0x308e66['protocol']){const _0x1eda93=_0x308e66['href']['split'](','),_0x1f1097=_0x1eda93[0x0]['match'](/:(.*?);/)[0x1],_0x1dd375=_0x1f1097['split']('/')[0x1],_0x219da8=_0x23cd98['atob'](_0x1eda93[_0x1eda93['length']-0x1]);let _0x265868=_0x219da8['length'];const _0xcd3675=new _0x23cd98['Uint8Array'](_0x265868);for(;_0x265868--;)_0xcd3675[_0x265868]=_0x219da8['charCodeAt'](_0x265868);return new _0x23cd98['File']([_0xcd3675],'image.'+_0x1dd375,{'type':_0x1f1097});}const _0x5329ca=_0x308e66['href']['split']('/'),_0x2f7128=_0x5329ca[_0x5329ca['length']-0x1],_0x4947ae=_0x2f7128['split']('.')[0x1];return _0x23cd98['fetch'](_0x308e66['href'])['then'](_0x397dbe=>_0x397dbe['clone']()['blob']())['then'](_0x502a8e=>new _0x23cd98['File']([_0x502a8e],_0x2f7128,{'type':'image/'+_0x4947ae}));}}
23
+ import{global as _0x52aab0,ObservableMixin as _0x39f8b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x15ae9b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x230889}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5417bc}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x23e6b6}from'../../utils/uploadutils.js';import{getImageUrls as _0x48040c,getImageDimension as _0x52a4f7}from'../../utils/editingutils.js';import{isAncestor as _0x4e8842}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x39f8b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5acf1b,_0x376eda,_0x3e06db){super(),this['_editor']=_0x5acf1b,this['_dialog']=_0x376eda,this['_imageElement']=_0x3e06db,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 _0x2bb068=this['_imageElement'],_0x19b4ac=_0x2bb068['getAttribute']('uploadcareImageId'),_0x4166ea=_0x2bb068['getAttribute']('src');if(_0x19b4ac)await this['_loadImageInfo'](_0x19b4ac,_0x4166ea);else{if(this['_imageCache']['has'](_0x4166ea)){const _0x56b9d1=this['_imageCache']['get'](_0x4166ea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56b9d1['url'],this['imageDimension']=_0x56b9d1['dimension'],this['imageId']=_0x56b9d1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42ad2e}=this['_editor'],t=_0x42ad2e['t'],_0x5f38c0=new _0x5417bc(_0x42ad2e,this['imageStatus'],this['_attributes']);_0x5f38c0['bind']('status')['to'](this,'imageStatus'),_0x5f38c0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5f38c0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5f38c0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5f38c0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x230889,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5f38c0,'position':_0x15ae9b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5f38c0['focus']();},'onHide':()=>{_0x5f38c0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x450c79=>!_0x4e8842(_0x450c79,_0x5f38c0['element'])}});}['_loadImageInfo'](_0x42e348,_0x47ff03){return _0x23e6b6['getInfo'](_0x42e348,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3f45db=>{const {width:_0x1ad08c,height:_0x2447b}=_0x3f45db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47ff03,this['imageDimension']={'width':_0x1ad08c,'height':_0x2447b},this['imageId']=_0x42e348;})['catch'](_0x7006af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7006af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2a67c1,_0xf35f9){return this['_getImageAsFile'](_0x2a67c1)['then'](_0x1d550a=>_0x23e6b6['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xf35f9['signal'],'file':_0x1d550a,'onProgress':_0x4ba330=>{_0x4ba330&&_0x4ba330['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4ba330['value']));}}))['then'](_0x36e8f7=>{const {width:_0x236f1f,height:_0x1296fd}=_0x36e8f7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36e8f7['cdnUrl'],this['imageDimension']={'width':_0x236f1f,'height':_0x1296fd},this['imageId']=_0x36e8f7['uuid'],this['imageUploadProgress']=null;const _0xbb31f1=_0x2a67c1['getAttribute']('src');this['_imageCache']['set'](_0xbb31f1,{'id':_0x36e8f7['uuid'],'url':_0x36e8f7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f6ed0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f6ed0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5abbe3,_0x49bd65){_0x5abbe3['on']('apply',(_0xf2276,_0x505094)=>{this['_replaceImage'](_0x49bd65,_0x505094['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5abbe3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5abbe3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x429e0d,_0x4f1c47,_0x4147f1){const _0x3cc026=this['_editor'],{width:_0x1c3670,height:_0x41f895}=_0x52a4f7(_0x4f1c47,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x312dc8,imageSources:_0x433d35}=_0x48040c(_0x4f1c47,_0x1c3670);_0x3cc026['model']['change'](_0x580979=>{if('$graveyard'===_0x429e0d['root']['rootName']){_0x3cc026['execute']('insertImage',{'imageType':_0x429e0d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x429e0d['getAttributes']()),'uploadcareImageId':_0x4147f1,'src':_0x312dc8,'sources':_0x433d35,'width':_0x1c3670,'height':_0x41f895}});const _0x4ef82b=_0x429e0d['getChildren']();_0x429e0d=_0x3cc026['model']['document']['selection']['getSelectedElement']();for(const _0xfc2f0d of _0x4ef82b)_0x580979['append'](_0x580979['cloneElement'](_0xfc2f0d),_0x429e0d);}else _0x580979['setSelection'](_0x429e0d,'on'),_0x3cc026['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x429e0d['getAttributes']()),'uploadcareImageId':_0x4147f1,'src':_0x312dc8,'sources':_0x433d35,'width':_0x1c3670,'height':_0x41f895},_0x429e0d);_0x580979['setSelection'](_0x429e0d,'on');});}async['_getImageAsFile'](_0x3688a0){const _0x21a69b=_0x52aab0['window'],_0x56b09e=_0x52aab0['document']['location']['href'],_0x463663=new _0x21a69b['URL'](_0x3688a0['getAttribute']('src'),_0x56b09e);if('data:'===_0x463663['protocol']){const _0x3e2166=_0x463663['href']['split'](','),_0x15442c=_0x3e2166[0x0]['match'](/:(.*?);/)[0x1],_0x168a50=_0x15442c['split']('/')[0x1],_0x2fc879=_0x21a69b['atob'](_0x3e2166[_0x3e2166['length']-0x1]);let _0x537e81=_0x2fc879['length'];const _0x1974a8=new _0x21a69b['Uint8Array'](_0x537e81);for(;_0x537e81--;)_0x1974a8[_0x537e81]=_0x2fc879['charCodeAt'](_0x537e81);return new _0x21a69b['File']([_0x1974a8],'image.'+_0x168a50,{'type':_0x15442c});}const _0x2a33fc=_0x463663['href']['split']('/'),_0x4aab05=_0x2a33fc[_0x2a33fc['length']-0x1],_0x5df8c1=_0x4aab05['split']('.')[0x1];return _0x21a69b['fetch'](_0x463663['href'])['then'](_0x1d48ba=>_0x1d48ba['clone']()['blob']())['then'](_0x2d9512=>new _0x21a69b['File']([_0x2d9512],_0x4aab05,{'type':'image/'+_0x5df8c1}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x38118b,_0x3a0e89){const _0x242f84=_0xb165,_0x1217ec=_0x38118b();while(!![]){try{const _0xc46d04=-parseInt(_0x242f84(0x12b))/0x1*(-parseInt(_0x242f84(0x12d))/0x2)+parseInt(_0x242f84(0x131))/0x3*(-parseInt(_0x242f84(0x12f))/0x4)+-parseInt(_0x242f84(0x134))/0x5*(-parseInt(_0x242f84(0x132))/0x6)+-parseInt(_0x242f84(0x138))/0x7*(parseInt(_0x242f84(0x13e))/0x8)+parseInt(_0x242f84(0x129))/0x9*(parseInt(_0x242f84(0x12e))/0xa)+parseInt(_0x242f84(0x130))/0xb*(parseInt(_0x242f84(0x13c))/0xc)+parseInt(_0x242f84(0x135))/0xd*(-parseInt(_0x242f84(0x136))/0xe);if(_0xc46d04===_0x3a0e89)break;else _0x1217ec['push'](_0x1217ec['shift']());}catch(_0x3e60df){_0x1217ec['push'](_0x1217ec['shift']());}}}(_0x13a1,0xb581d));function _0x13a1(){const _0x3c2701=['1410VtBUbO','4VjerNI','10489325WZMPcQ','2557173MbZlMX','77088XVjkPH','set','140MeJrpT','91AdLuPx','725074mLabGl','bindTemplate','161chVMdD','imageSrc','setTemplate','uc-light','12lFqVad','uc-cloud-image-editor','247232byzkir','71001LRHqzt','ck-uploadcare-theme','31wBnDGP','image-edit','15710ErHTsO'];_0x13a1=function(){return _0x3c2701;};return _0x13a1();}import{View as _0x743f93}from'ckeditor5/src/ui.js';function _0xb165(_0x224c68,_0x10db8f){const _0x13a13e=_0x13a1();return _0xb165=function(_0xb165f2,_0x55a3e3){_0xb165f2=_0xb165f2-0x129;let _0x581cdc=_0x13a13e[_0xb165f2];return _0x581cdc;},_0xb165(_0x224c68,_0x10db8f);}export class UploadcareImageEditFormEditingView extends _0x743f93{constructor(_0x51157e,_0x975baa){const _0xc9abe5=_0xb165;super(_0x51157e);const _0x4b1a44=this[_0xc9abe5(0x137)];this[_0xc9abe5(0x133)](_0xc9abe5(0x139),''),this[_0xc9abe5(0x13a)]({'tag':_0xc9abe5(0x13d),'attributes':{..._0x975baa,'class':[_0xc9abe5(0x13b),_0xc9abe5(0x12a)],'ctx-name':_0xc9abe5(0x12c),'cdn-url':_0x4b1a44['to'](_0xc9abe5(0x139))}});}}
23
+ function _0x34be(){const _0x44b4d8=['ck-uploadcare-theme','71559ZBxDFF','8QTCyze','uc-light','311658lVneCI','image-edit','1393768pktIFA','set','uc-cloud-image-editor','1543355FarpUo','7akGbWQ','61786FGQBFT','6whrQpR','setTemplate','65379zEDoRZ','bindTemplate','imageSrc','507635kLbhVX','10GLXZgr'];_0x34be=function(){return _0x44b4d8;};return _0x34be();}(function(_0x125931,_0x374a24){const _0x5b63a5=_0x2eca,_0x40e4fd=_0x125931();while(!![]){try{const _0xc4450d=-parseInt(_0x5b63a5(0x1bf))/0x1+-parseInt(_0x5b63a5(0x1bc))/0x2+parseInt(_0x5b63a5(0x1b5))/0x3*(-parseInt(_0x5b63a5(0x1b3))/0x4)+parseInt(_0x5b63a5(0x1af))/0x5*(parseInt(_0x5b63a5(0x1bd))/0x6)+parseInt(_0x5b63a5(0x1bb))/0x7*(parseInt(_0x5b63a5(0x1b7))/0x8)+-parseInt(_0x5b63a5(0x1b2))/0x9*(parseInt(_0x5b63a5(0x1b0))/0xa)+parseInt(_0x5b63a5(0x1ba))/0xb;if(_0xc4450d===_0x374a24)break;else _0x40e4fd['push'](_0x40e4fd['shift']());}catch(_0xc80211){_0x40e4fd['push'](_0x40e4fd['shift']());}}}(_0x34be,0x1967a));function _0x2eca(_0x6bb33,_0x12dd76){const _0x34be17=_0x34be();return _0x2eca=function(_0x2ecae9,_0x46dc80){_0x2ecae9=_0x2ecae9-0x1ad;let _0x155a2f=_0x34be17[_0x2ecae9];return _0x155a2f;},_0x2eca(_0x6bb33,_0x12dd76);}import{View as _0x1bddfb}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1bddfb{constructor(_0x1726c9,_0x4307bf){const _0x5b71d7=_0x2eca;super(_0x1726c9);const _0x34f399=this[_0x5b71d7(0x1ad)];this[_0x5b71d7(0x1b8)](_0x5b71d7(0x1ae),''),this[_0x5b71d7(0x1be)]({'tag':_0x5b71d7(0x1b9),'attributes':{..._0x4307bf,'class':[_0x5b71d7(0x1b4),_0x5b71d7(0x1b1)],'ctx-name':_0x5b71d7(0x1b6),'cdn-url':_0x34f399['to'](_0x5b71d7(0x1ae))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x395cd4}from'ckeditor5/src/icons.js';import{ButtonView as _0x4dc7ce,IconView as _0x56f02d,View as _0x4301ac}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4301ac{constructor(_0x3afb5f){super(_0x3afb5f);const t=_0x3afb5f['t'];this['set']('errorType',null);const _0xf5e120=new _0x4dc7ce(_0x3afb5f);_0xf5e120['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xf5e120['withText']=!0x0,_0xf5e120['class']='ck-button-action',_0xf5e120['on']('execute',()=>{this['fire']('retry');}),_0xf5e120['bind']('isVisible')['to'](this,'errorType',_0x581c4f=>'NotFound'!==_0x581c4f);const _0x5a1f72=new _0x56f02d();_0x5a1f72['content']=_0x395cd4,_0x5a1f72['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x17de1d=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':[_0x5a1f72,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x17de1d['to']('errorType',_0x334b19=>t('NotFound'!==_0x334b19?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xf5e120]},{'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 _0x3b6e37}from'ckeditor5/src/icons.js';import{ButtonView as _0x244ce6,IconView as _0x1337af,View as _0x25fcb1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x25fcb1{constructor(_0x1505da){super(_0x1505da);const t=_0x1505da['t'];this['set']('errorType',null);const _0xb6e79=new _0x244ce6(_0x1505da);_0xb6e79['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xb6e79['withText']=!0x0,_0xb6e79['class']='ck-button-action',_0xb6e79['on']('execute',()=>{this['fire']('retry');}),_0xb6e79['bind']('isVisible')['to'](this,'errorType',_0xa6c4fa=>'NotFound'!==_0xa6c4fa);const _0x3fed37=new _0x1337af();_0x3fed37['content']=_0x3b6e37,_0x3fed37['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x339706=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':[_0x3fed37,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x339706['to']('errorType',_0x42c3c2=>t('NotFound'!==_0x42c3c2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xb6e79]},{'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 _0x35721a,View as _0x58e307}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x58e307{constructor(_0x4a7379){super(_0x4a7379);const t=_0x4a7379['t'],_0x2d8a8c=this['bindTemplate'],_0x5dc9d6=new _0x35721a();_0x5dc9d6['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':[_0x5dc9d6,{'text':_0x2d8a8c['to']('imageUploadProgress',_0xc5bdfa=>t('Loading\x20image...')+'\x20('+(_0xc5bdfa||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 _0x3dc327,View as _0x2fa17a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2fa17a{constructor(_0x3b827f){super(_0x3b827f);const t=_0x3b827f['t'],_0x4e138b=this['bindTemplate'],_0x48ef04=new _0x3dc327();_0x48ef04['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':[_0x48ef04,{'text':_0x4e138b['to']('imageUploadProgress',_0x364f37=>t('Loading\x20image...')+'\x20('+(_0x364f37||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 _0x41d3ed=_0x42d6;(function(_0x460cfc,_0x52b0c4){const _0x4a3413=_0x42d6,_0x544b13=_0x460cfc();while(!![]){try{const _0xbb6f75=-parseInt(_0x4a3413(0x173))/0x1*(-parseInt(_0x4a3413(0x17a))/0x2)+parseInt(_0x4a3413(0x179))/0x3*(-parseInt(_0x4a3413(0x16c))/0x4)+parseInt(_0x4a3413(0x17f))/0x5+-parseInt(_0x4a3413(0x186))/0x6+-parseInt(_0x4a3413(0x185))/0x7*(-parseInt(_0x4a3413(0x16d))/0x8)+parseInt(_0x4a3413(0x169))/0x9+-parseInt(_0x4a3413(0x152))/0xa;if(_0xbb6f75===_0x52b0c4)break;else _0x544b13['push'](_0x544b13['shift']());}catch(_0x4eed58){_0x544b13['push'](_0x544b13['shift']());}}}(_0x537d,0x31106));import{View as _0xfed544}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x522d0c}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x22c314}from'./uploadcareimageeditformerrorview.js';function _0x42d6(_0x213a45,_0x2866f6){const _0x537dff=_0x537d();return _0x42d6=function(_0x42d60e,_0x526a2f){_0x42d60e=_0x42d60e-0x150;let _0x366f96=_0x537dff[_0x42d60e];return _0x366f96;},_0x42d6(_0x213a45,_0x2866f6);}function _0x537d(){const _0xd99669=['_editingView','querySelector','_addErrorViewListeners','_errorView','1169NSjAOX','2051238qhORAp','detail','target','1074750FUGsmJ','div','once','_focusableView','cdnUrl','addMany','render','error','change:status','nodeName','observe','retry','apply','uploading','_addUploadcareImageEditorListeners','_setView','status','add','addEventListener','cancel','element','clear','uc-cloud-image-editor','1019106xXKgXL','addedNodes','setTemplate','12WtUmEM','5392SbauKx','_loadingView','toLowerCase','ck-reset_all-excluded','ready','disconnect','393374wqaSTI','_items','focus','ck-uploadcare-form','createCollection','filter','114333pyCfLx','2SWgMSp','length','_waitForImageEditorComponent','getFocusableElement','fire','727405rQiNwU','set'];_0x537d=function(){return _0xd99669;};return _0x537d();}import{UploadcareImageEditFormEditingView as _0x37fe1c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x14331a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x14331a{[_0x41d3ed(0x174)];[_0x41d3ed(0x16e)];[_0x41d3ed(0x184)];[_0x41d3ed(0x181)];[_0x41d3ed(0x155)];constructor(_0x1fe4bc,_0x462cb1,_0x1c4bae){const _0x7ff21b=_0x41d3ed;super(_0x1fe4bc),this[_0x7ff21b(0x174)]=this[_0x7ff21b(0x177)](),this[_0x7ff21b(0x16e)]=new _0x522d0c(_0x1fe4bc),this[_0x7ff21b(0x184)]=new _0x22c314(_0x1fe4bc),this[_0x7ff21b(0x181)]=new _0x37fe1c(_0x1fe4bc,_0x1c4bae),this[_0x7ff21b(0x155)]=new _0xfed544(_0x1fe4bc),this[_0x7ff21b(0x155)][_0x7ff21b(0x16b)](this[_0x7ff21b(0x17d)]()),this[_0x7ff21b(0x180)](_0x7ff21b(0x162),_0x462cb1),this[_0x7ff21b(0x16b)]({'tag':_0x7ff21b(0x153),'attributes':{'class':['ck',_0x7ff21b(0x170),_0x7ff21b(0x176)],'tabindex':'-1'},'children':this[_0x7ff21b(0x174)]}),this[_0x7ff21b(0x161)](),this[_0x7ff21b(0x154)](_0x7ff21b(0x158),()=>{const _0x4f5df5=_0x7ff21b;this[_0x4f5df5(0x17c)](this[_0x4f5df5(0x166)],_0x2aa207=>{const _0xc633f5=_0x4f5df5;this[_0xc633f5(0x160)](_0x2aa207);});}),this['on'](_0x7ff21b(0x15a),()=>{const _0xe3cadd=_0x7ff21b;this[_0xe3cadd(0x161)]();}),this[_0x7ff21b(0x183)]();}[_0x41d3ed(0x175)](){const _0x3366d7=_0x41d3ed;this[_0x3366d7(0x166)][_0x3366d7(0x175)]();}[_0x41d3ed(0x161)](){const _0x1ebc85=_0x41d3ed;switch(this[_0x1ebc85(0x174)][_0x1ebc85(0x167)](),this[_0x1ebc85(0x162)]){case _0x1ebc85(0x15f):this[_0x1ebc85(0x174)][_0x1ebc85(0x163)](this[_0x1ebc85(0x16e)]);break;case _0x1ebc85(0x159):this[_0x1ebc85(0x174)][_0x1ebc85(0x163)](this[_0x1ebc85(0x184)]);break;case _0x1ebc85(0x171):this[_0x1ebc85(0x174)][_0x1ebc85(0x157)]([this[_0x1ebc85(0x181)],this[_0x1ebc85(0x155)]]);}}[_0x41d3ed(0x17c)](_0x25c50e,_0x23cfcf){const _0x5f0660=_0x41d3ed,_0x3dc206=_0x5f0660(0x168),_0x20ec29=_0x25c50e[_0x5f0660(0x182)](_0x3dc206);if(_0x20ec29)return _0x23cfcf(_0x20ec29);const _0x2269f7=new MutationObserver(_0x36d4ad=>{const _0xc2770d=_0x5f0660,_0x579854=_0x36d4ad[_0xc2770d(0x178)](_0x1196a8=>_0x1196a8[_0xc2770d(0x151)]===_0x25c50e&&_0x1196a8[_0xc2770d(0x16a)][_0xc2770d(0x17b)]>0x0&&_0x1196a8[_0xc2770d(0x16a)][0x0][_0xc2770d(0x15b)][_0xc2770d(0x16f)]()===_0x3dc206);_0x579854[_0xc2770d(0x17b)]&&(_0x2269f7[_0xc2770d(0x172)](),_0x23cfcf(_0x579854[0x0][_0xc2770d(0x16a)][0x0]));});_0x2269f7[_0x5f0660(0x15c)](_0x25c50e,{'childList':!0x0,'subtree':!0x0});}[_0x41d3ed(0x160)](_0x4bf05f){const _0x211d7e=_0x41d3ed;_0x4bf05f[_0x211d7e(0x164)](_0x211d7e(0x15e),_0x5e9925=>{const _0x1badfb=_0x211d7e;this[_0x1badfb(0x17e)](_0x1badfb(0x15e),{'imageSrc':_0x5e9925[_0x1badfb(0x150)][_0x1badfb(0x156)]});}),_0x4bf05f[_0x211d7e(0x164)](_0x211d7e(0x165),()=>{const _0x2d8fe9=_0x211d7e;this[_0x2d8fe9(0x17e)](_0x2d8fe9(0x165));});}[_0x41d3ed(0x183)](){const _0x1a31fb=_0x41d3ed;this[_0x1a31fb(0x184)]['on'](_0x1a31fb(0x15d),()=>{const _0x1fe540=_0x1a31fb;this[_0x1fe540(0x17e)](_0x1fe540(0x15d));});}}
23
+ const _0x358d9b=_0x1391;function _0x555d(){const _0xe6d532=['length','8373189CWhkzh','5fNkFln','5054496rHISVV','createCollection','once','clear','_editingView','_addErrorViewListeners','detail','observe','disconnect','_errorView','5376891roWYOR','_addUploadcareImageEditorListeners','7iEMAuQ','cancel','_focusableView','_setView','status','addedNodes','fire','querySelector','59121OMpWKz','14997pDfKVO','target','42PxsrdB','add','retry','addMany','530gyDxOu','ready','ck-reset_all-excluded','656845OjxiLz','filter','_loadingView','change:status','apply','setTemplate','error','70GKBNSo','render','_items','_waitForImageEditorComponent','uc-cloud-image-editor','nodeName','addEventListener','focus','368IydNqd','set','div','125246QtaoeT','ck-uploadcare-form','cdnUrl','element','getFocusableElement','12svvidb','toLowerCase','uploading'];_0x555d=function(){return _0xe6d532;};return _0x555d();}(function(_0x1e6363,_0x18406e){const _0x4462ff=_0x1391,_0x21b05b=_0x1e6363();while(!![]){try{const _0x5319f4=parseInt(_0x4462ff(0x1ad))/0x1*(parseInt(_0x4462ff(0x1a3))/0x2)+parseInt(_0x4462ff(0x1c3))/0x3*(-parseInt(_0x4462ff(0x1a0))/0x4)+parseInt(_0x4462ff(0x1cc))/0x5*(-parseInt(_0x4462ff(0x1c5))/0x6)+parseInt(_0x4462ff(0x1ba))/0x7*(parseInt(_0x4462ff(0x1ae))/0x8)+-parseInt(_0x4462ff(0x1c2))/0x9*(parseInt(_0x4462ff(0x1c9))/0xa)+-parseInt(_0x4462ff(0x1ac))/0xb*(parseInt(_0x4462ff(0x1a8))/0xc)+parseInt(_0x4462ff(0x1b8))/0xd*(parseInt(_0x4462ff(0x198))/0xe);if(_0x5319f4===_0x18406e)break;else _0x21b05b['push'](_0x21b05b['shift']());}catch(_0x1605f9){_0x21b05b['push'](_0x21b05b['shift']());}}}(_0x555d,0x7ff53));function _0x1391(_0x1aebeb,_0x9e87d0){const _0x555d20=_0x555d();return _0x1391=function(_0x13917c,_0x47b2f2){_0x13917c=_0x13917c-0x193;let _0x35fca3=_0x555d20[_0x13917c];return _0x35fca3;},_0x1391(_0x1aebeb,_0x9e87d0);}import{View as _0x4a8021}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3ca41e}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x393d0c}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2ecb32}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x589a18}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x589a18{[_0x358d9b(0x19a)];[_0x358d9b(0x193)];[_0x358d9b(0x1b7)];[_0x358d9b(0x1b2)];[_0x358d9b(0x1bc)];constructor(_0x5e8fb7,_0x3bcb19,_0xf9fd2d){const _0x19ae19=_0x358d9b;super(_0x5e8fb7),this[_0x19ae19(0x19a)]=this[_0x19ae19(0x1af)](),this[_0x19ae19(0x193)]=new _0x3ca41e(_0x5e8fb7),this[_0x19ae19(0x1b7)]=new _0x393d0c(_0x5e8fb7),this[_0x19ae19(0x1b2)]=new _0x2ecb32(_0x5e8fb7,_0xf9fd2d),this[_0x19ae19(0x1bc)]=new _0x4a8021(_0x5e8fb7),this[_0x19ae19(0x1bc)][_0x19ae19(0x196)](this[_0x19ae19(0x1a7)]()),this[_0x19ae19(0x1a1)](_0x19ae19(0x1be),_0x3bcb19),this[_0x19ae19(0x196)]({'tag':_0x19ae19(0x1a2),'attributes':{'class':['ck',_0x19ae19(0x1cb),_0x19ae19(0x1a4)],'tabindex':'-1'},'children':this[_0x19ae19(0x19a)]}),this[_0x19ae19(0x1bd)](),this[_0x19ae19(0x1b0)](_0x19ae19(0x199),()=>{const _0x4fc040=_0x19ae19;this[_0x4fc040(0x19b)](this[_0x4fc040(0x1a6)],_0x5063f4=>{const _0x18deb9=_0x4fc040;this[_0x18deb9(0x1b9)](_0x5063f4);});}),this['on'](_0x19ae19(0x194),()=>{const _0x451360=_0x19ae19;this[_0x451360(0x1bd)]();}),this[_0x19ae19(0x1b3)]();}[_0x358d9b(0x19f)](){const _0x45eb07=_0x358d9b;this[_0x45eb07(0x1a6)][_0x45eb07(0x19f)]();}[_0x358d9b(0x1bd)](){const _0x1e072b=_0x358d9b;switch(this[_0x1e072b(0x19a)][_0x1e072b(0x1b1)](),this[_0x1e072b(0x1be)]){case _0x1e072b(0x1aa):this[_0x1e072b(0x19a)][_0x1e072b(0x1c6)](this[_0x1e072b(0x193)]);break;case _0x1e072b(0x197):this[_0x1e072b(0x19a)][_0x1e072b(0x1c6)](this[_0x1e072b(0x1b7)]);break;case _0x1e072b(0x1ca):this[_0x1e072b(0x19a)][_0x1e072b(0x1c8)]([this[_0x1e072b(0x1b2)],this[_0x1e072b(0x1bc)]]);}}[_0x358d9b(0x19b)](_0x62417c,_0x44a6ef){const _0x11dc71=_0x358d9b,_0x52b3e1=_0x11dc71(0x19c),_0x2e354b=_0x62417c[_0x11dc71(0x1c1)](_0x52b3e1);if(_0x2e354b)return _0x44a6ef(_0x2e354b);const _0xf97f0c=new MutationObserver(_0xe2a003=>{const _0x10f91f=_0x11dc71,_0x1418e4=_0xe2a003[_0x10f91f(0x1cd)](_0x36c231=>_0x36c231[_0x10f91f(0x1c4)]===_0x62417c&&_0x36c231[_0x10f91f(0x1bf)][_0x10f91f(0x1ab)]>0x0&&_0x36c231[_0x10f91f(0x1bf)][0x0][_0x10f91f(0x19d)][_0x10f91f(0x1a9)]()===_0x52b3e1);_0x1418e4[_0x10f91f(0x1ab)]&&(_0xf97f0c[_0x10f91f(0x1b6)](),_0x44a6ef(_0x1418e4[0x0][_0x10f91f(0x1bf)][0x0]));});_0xf97f0c[_0x11dc71(0x1b5)](_0x62417c,{'childList':!0x0,'subtree':!0x0});}[_0x358d9b(0x1b9)](_0x28a24c){const _0x3b87ac=_0x358d9b;_0x28a24c[_0x3b87ac(0x19e)](_0x3b87ac(0x195),_0x24467b=>{const _0x39afeb=_0x3b87ac;this[_0x39afeb(0x1c0)](_0x39afeb(0x195),{'imageSrc':_0x24467b[_0x39afeb(0x1b4)][_0x39afeb(0x1a5)]});}),_0x28a24c[_0x3b87ac(0x19e)](_0x3b87ac(0x1bb),()=>{const _0x3cdb3e=_0x3b87ac;this[_0x3cdb3e(0x1c0)](_0x3cdb3e(0x1bb));});}[_0x358d9b(0x1b3)](){const _0x33bb1a=_0x358d9b;this[_0x33bb1a(0x1b7)]['on'](_0x33bb1a(0x1c7),()=>{const _0xc7bbe0=_0x33bb1a;this[_0xc7bbe0(0x1c0)](_0xc7bbe0(0x1c7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x79bd(_0x307258,_0x12b204){const _0x2d9b6d=_0x2d9b();return _0x79bd=function(_0x79bd09,_0x4b5042){_0x79bd09=_0x79bd09-0x183;let _0x2bb1d4=_0x2d9b6d[_0x79bd09];return _0x2bb1d4;},_0x79bd(_0x307258,_0x12b204);}const _0x3c1462=_0x79bd;(function(_0x4f010c,_0x5e5691){const _0x40df74=_0x79bd,_0x18c8dd=_0x4f010c();while(!![]){try{const _0x24344e=-parseInt(_0x40df74(0x188))/0x1+-parseInt(_0x40df74(0x19e))/0x2+-parseInt(_0x40df74(0x198))/0x3*(-parseInt(_0x40df74(0x18f))/0x4)+parseInt(_0x40df74(0x19c))/0x5+-parseInt(_0x40df74(0x183))/0x6+-parseInt(_0x40df74(0x19f))/0x7*(-parseInt(_0x40df74(0x197))/0x8)+parseInt(_0x40df74(0x187))/0x9*(parseInt(_0x40df74(0x19b))/0xa);if(_0x24344e===_0x5e5691)break;else _0x18c8dd['push'](_0x18c8dd['shift']());}catch(_0x374cb7){_0x18c8dd['push'](_0x18c8dd['shift']());}}}(_0x2d9b,0x66e21));import{Command as _0x35c923}from'ckeditor5/src/core.js';function _0x2d9b(){const _0x45ea97=['model','226368hHVvwn','15442gjXMeC','isActive','config','getSelectedElement','2726400SuXdjw','imageInline','uploadcare.allowExternalImagesEditing','imageBlock','22986YSwPhm','813846xYHCud','element','unbind','refresh','requires','imageEditController','_isEditable','348pcKZqg','editor','bind','execute','get','document','set','isEnabled','2696OaqLQd','23619lfcfdF','selection','plugins','1290frjkbA','225000LcoTYm'];_0x2d9b=function(){return _0x45ea97;};return _0x2d9b();}import{Dialog as _0xe82127}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x425e69}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xa20337}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x35c923{[_0x3c1462(0x18d)];static get[_0x3c1462(0x18c)](){return[_0xe82127];}[_0x3c1462(0x18e)];constructor(_0x297386){const _0x1da9a2=_0x3c1462;super(_0x297386),this[_0x1da9a2(0x18d)]=void 0x0,this[_0x1da9a2(0x18e)]=_0xa20337(_0x297386[_0x1da9a2(0x1a1)][_0x1da9a2(0x193)](_0x1da9a2(0x185))||[]),this[_0x1da9a2(0x195)]({'isActive':!0x1});}[_0x3c1462(0x18b)](){const _0x582c71=_0x3c1462,_0xac1d77=this[_0x582c71(0x190)][_0x582c71(0x19d)][_0x582c71(0x194)][_0x582c71(0x199)][_0x582c71(0x1a2)]();this[_0x582c71(0x196)]=this[_0x582c71(0x18e)](_0xac1d77);}[_0x3c1462(0x192)](){const _0x20c040=_0x3c1462;this[_0x20c040(0x18d)]&&(this[_0x20c040(0x18a)](_0x20c040(0x1a0)),this[_0x20c040(0x18d)]=void 0x0);const _0x2602f6=this[_0x20c040(0x190)][_0x20c040(0x19d)][_0x20c040(0x194)][_0x20c040(0x199)][_0x20c040(0x1a2)]();_0x2602f6&&(_0x2602f6['is'](_0x20c040(0x189),_0x20c040(0x186))||_0x2602f6['is'](_0x20c040(0x189),_0x20c040(0x184)))&&(this[_0x20c040(0x18d)]=new _0x425e69(this[_0x20c040(0x190)],this[_0x20c040(0x190)][_0x20c040(0x19a)][_0x20c040(0x193)](_0xe82127),_0x2602f6),this[_0x20c040(0x191)](_0x20c040(0x1a0))['to'](this[_0x20c040(0x18d)],_0x20c040(0x1a0)));}}
23
+ const _0x1febb6=_0x1ad5;(function(_0x43f181,_0xf7878){const _0x25326c=_0x1ad5,_0x3a54e5=_0x43f181();while(!![]){try{const _0x1f65c5=-parseInt(_0x25326c(0x1cb))/0x1*(parseInt(_0x25326c(0x1d5))/0x2)+-parseInt(_0x25326c(0x1d8))/0x3*(-parseInt(_0x25326c(0x1da))/0x4)+-parseInt(_0x25326c(0x1e1))/0x5+-parseInt(_0x25326c(0x1df))/0x6*(-parseInt(_0x25326c(0x1e7))/0x7)+parseInt(_0x25326c(0x1d4))/0x8*(parseInt(_0x25326c(0x1d6))/0x9)+parseInt(_0x25326c(0x1e6))/0xa+-parseInt(_0x25326c(0x1dc))/0xb*(parseInt(_0x25326c(0x1e8))/0xc);if(_0x1f65c5===_0xf7878)break;else _0x3a54e5['push'](_0x3a54e5['shift']());}catch(_0x353017){_0x3a54e5['push'](_0x3a54e5['shift']());}}}(_0x2782,0xc62b9));function _0x2782(){const _0x5842a5=['623xhuWDf','1709088AqfPTW','execute','editor','imageEditController','document','70rRenTT','imageBlock','getSelectedElement','bind','uploadcare.allowExternalImagesEditing','isEnabled','imageInline','unbind','config','8WRNste','2372VNVFgP','11344869madMhk','refresh','11553JPaBCo','plugins','436TlItRZ','element','154aGDDti','selection','model','11238MfbTwp','get','923455YZLDsn','_isEditable','isActive','set','requires','12263550aQyGiP'];_0x2782=function(){return _0x5842a5;};return _0x2782();}function _0x1ad5(_0x572eba,_0x28a3a2){const _0x278255=_0x2782();return _0x1ad5=function(_0x1ad5ca,_0x2caa24){_0x1ad5ca=_0x1ad5ca-0x1c9;let _0xcd4d90=_0x278255[_0x1ad5ca];return _0xcd4d90;},_0x1ad5(_0x572eba,_0x28a3a2);}import{Command as _0x4cac3c}from'ckeditor5/src/core.js';import{Dialog as _0x2ba2bf}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x496c48}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xe270e2}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4cac3c{[_0x1febb6(0x1c9)];static get[_0x1febb6(0x1e5)](){return[_0x2ba2bf];}[_0x1febb6(0x1e2)];constructor(_0x1e6915){const _0x10a1a4=_0x1febb6;super(_0x1e6915),this[_0x10a1a4(0x1c9)]=void 0x0,this[_0x10a1a4(0x1e2)]=_0xe270e2(_0x1e6915[_0x10a1a4(0x1d3)][_0x10a1a4(0x1e0)](_0x10a1a4(0x1cf))||[]),this[_0x10a1a4(0x1e4)]({'isActive':!0x1});}[_0x1febb6(0x1d7)](){const _0x5e1364=_0x1febb6,_0x1d504a=this[_0x5e1364(0x1ea)][_0x5e1364(0x1de)][_0x5e1364(0x1ca)][_0x5e1364(0x1dd)][_0x5e1364(0x1cd)]();this[_0x5e1364(0x1d0)]=this[_0x5e1364(0x1e2)](_0x1d504a);}[_0x1febb6(0x1e9)](){const _0x480ef3=_0x1febb6;this[_0x480ef3(0x1c9)]&&(this[_0x480ef3(0x1d2)](_0x480ef3(0x1e3)),this[_0x480ef3(0x1c9)]=void 0x0);const _0x5f0e64=this[_0x480ef3(0x1ea)][_0x480ef3(0x1de)][_0x480ef3(0x1ca)][_0x480ef3(0x1dd)][_0x480ef3(0x1cd)]();_0x5f0e64&&(_0x5f0e64['is'](_0x480ef3(0x1db),_0x480ef3(0x1cc))||_0x5f0e64['is'](_0x480ef3(0x1db),_0x480ef3(0x1d1)))&&(this[_0x480ef3(0x1c9)]=new _0x496c48(this[_0x480ef3(0x1ea)],this[_0x480ef3(0x1ea)][_0x480ef3(0x1d9)][_0x480ef3(0x1e0)](_0x2ba2bf),_0x5f0e64),this[_0x480ef3(0x1ce)](_0x480ef3(0x1e3))['to'](this[_0x480ef3(0x1c9)],_0x480ef3(0x1e3)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x157d0f=_0x1d59;function _0x2e75(){const _0x3af509=['3378912rqunQK','16098wcAMMP','commands','5rxTWqt','ImageEditing','UploadcareImageEditEditing','uploadcareImageReplace','add','requires','pluginName','isPremiumPlugin','isOfficialPlugin','640142CEbhnV','32nFzagc','ImageUtils','uploadcareImageEdit','init','350532jJmHiF','3316844xdoUaf','20118096fsKVcM','5671206yVwmKZ'];_0x2e75=function(){return _0x3af509;};return _0x2e75();}(function(_0x4f5a57,_0x4fc1b2){const _0x1e9283=_0x1d59,_0x23a7c0=_0x4f5a57();while(!![]){try{const _0xb5c52f=parseInt(_0x1e9283(0x10c))/0x1+parseInt(_0x1e9283(0x10d))/0x2*(-parseInt(_0x1e9283(0x101))/0x3)+parseInt(_0x1e9283(0xfd))/0x4*(-parseInt(_0x1e9283(0x103))/0x5)+-parseInt(_0x1e9283(0xff))/0x6+-parseInt(_0x1e9283(0x111))/0x7+-parseInt(_0x1e9283(0x100))/0x8+parseInt(_0x1e9283(0xfe))/0x9;if(_0xb5c52f===_0x4fc1b2)break;else _0x23a7c0['push'](_0x23a7c0['shift']());}catch(_0x64f2a3){_0x23a7c0['push'](_0x23a7c0['shift']());}}}(_0x2e75,0x8483a));import{Plugin as _0x33964e}from'ckeditor5/src/core.js';import{Notification as _0x371819}from'ckeditor5/src/ui.js';function _0x1d59(_0x5ded75,_0x381f13){const _0x2e75ad=_0x2e75();return _0x1d59=function(_0x1d5910,_0x5641d0){_0x1d5910=_0x1d5910-0xfd;let _0x2ec159=_0x2e75ad[_0x1d5910];return _0x2ec159;},_0x1d59(_0x5ded75,_0x381f13);}import{UploadcareImageEditCommand as _0x25f70a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x15ccd7}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x45e422}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x33964e{static get[_0x157d0f(0x109)](){const _0x343259=_0x157d0f;return _0x343259(0x105);}static get[_0x157d0f(0x108)](){const _0x384ffd=_0x157d0f;return[_0x45e422,_0x371819,_0x384ffd(0x10e),_0x384ffd(0x104)];}static get[_0x157d0f(0x10b)](){return!0x0;}static get[_0x157d0f(0x10a)](){return!0x0;}[_0x157d0f(0x110)](){const _0x51c901=_0x157d0f,{editor:_0x43522b}=this;_0x43522b[_0x51c901(0x102)][_0x51c901(0x107)](_0x51c901(0x10f),new _0x25f70a(_0x43522b)),_0x43522b[_0x51c901(0x102)][_0x51c901(0x107)](_0x51c901(0x106),new _0x15ccd7(_0x43522b));}}
23
+ const _0x2346a9=_0x23a6;(function(_0x3f9fc1,_0x35973b){const _0x52231f=_0x23a6,_0x434973=_0x3f9fc1();while(!![]){try{const _0x1ceb78=parseInt(_0x52231f(0x1c3))/0x1+-parseInt(_0x52231f(0x1d5))/0x2*(parseInt(_0x52231f(0x1cd))/0x3)+-parseInt(_0x52231f(0x1c7))/0x4*(parseInt(_0x52231f(0x1d4))/0x5)+parseInt(_0x52231f(0x1d2))/0x6*(parseInt(_0x52231f(0x1d0))/0x7)+-parseInt(_0x52231f(0x1d3))/0x8+-parseInt(_0x52231f(0x1ce))/0x9*(parseInt(_0x52231f(0x1c6))/0xa)+parseInt(_0x52231f(0x1c9))/0xb*(parseInt(_0x52231f(0x1c4))/0xc);if(_0x1ceb78===_0x35973b)break;else _0x434973['push'](_0x434973['shift']());}catch(_0x2e6b8b){_0x434973['push'](_0x434973['shift']());}}}(_0x1624,0x4ea86));import{Plugin as _0xb23e20}from'ckeditor5/src/core.js';import{Notification as _0x537806}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4204da}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4021fd}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2f2f99}from'../uploadcareediting.js';function _0x23a6(_0x2ef201,_0x4dd6f5){const _0x162496=_0x1624();return _0x23a6=function(_0x23a6e4,_0x5943fe){_0x23a6e4=_0x23a6e4-0x1c1;let _0x2f0b31=_0x162496[_0x23a6e4];return _0x2f0b31;},_0x23a6(_0x2ef201,_0x4dd6f5);}function _0x1624(){const _0x5c1991=['269467AQSNgm','10733964gEDbTv','uploadcareImageReplace','25220gTtmIM','3316WECJIC','ImageUtils','11ImpuvW','pluginName','ImageEditing','add','175443gIIoMU','117eiLsCx','uploadcareImageEdit','602bLDQoy','init','1464WcWIXU','1748448LoGQVy','3335ARMHvA','2vKMpeP','UploadcareImageEditEditing','commands','isPremiumPlugin','isOfficialPlugin','requires'];_0x1624=function(){return _0x5c1991;};return _0x1624();}export class UploadcareImageEditEditing extends _0xb23e20{static get[_0x2346a9(0x1ca)](){const _0x59eeb8=_0x2346a9;return _0x59eeb8(0x1d6);}static get[_0x2346a9(0x1c2)](){const _0x438cb2=_0x2346a9;return[_0x2f2f99,_0x537806,_0x438cb2(0x1c8),_0x438cb2(0x1cb)];}static get[_0x2346a9(0x1c1)](){return!0x0;}static get[_0x2346a9(0x1d8)](){return!0x0;}[_0x2346a9(0x1d1)](){const _0x2b0687=_0x2346a9,{editor:_0x49c5bd}=this;_0x49c5bd[_0x2b0687(0x1d7)][_0x2b0687(0x1cc)](_0x2b0687(0x1cf),new _0x4204da(_0x49c5bd)),_0x49c5bd[_0x2b0687(0x1d7)][_0x2b0687(0x1cc)](_0x2b0687(0x1c5),new _0x4021fd(_0x49c5bd));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x109cf0}from'ckeditor5/src/core.js';import{ButtonView as _0x45778f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x24bfb9}from'ckeditor5/src/icons.js';import{createElement as _0xc2f118}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x109cf0{['_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 _0x517d33=this['editor'];_0x517d33['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4d54e9=>{const _0x59f957=_0x517d33['commands']['get']('uploadcareImageEdit'),_0x173543=new _0x45778f(_0x4d54e9),t=_0x4d54e9['t'];return _0x173543['set']({'icon':_0x24bfb9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x173543['bind']('isEnabled')['to'](_0x59f957),_0x173543['bind']('isOn')['to'](_0x59f957,'isActive'),this['listenTo'](_0x173543,'execute',()=>{_0x517d33['execute']('uploadcareImageEdit'),_0x517d33['editing']['view']['focus']();}),_0x173543;}),this['_initConfig']();}['_initConfig'](){const _0x10bb83=_0xc2f118(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x10bb83),this['listenTo'](this['editor'],'destroy',()=>{_0x10bb83['remove']();});}}
23
+ import{Plugin as _0x2e5bca}from'ckeditor5/src/core.js';import{ButtonView as _0x4286c9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c7501}from'ckeditor5/src/icons.js';import{createElement as _0x536e65}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x2e5bca{['_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 _0x4614c0=this['editor'];_0x4614c0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7a5ae6=>{const _0x5103a7=_0x4614c0['commands']['get']('uploadcareImageEdit'),_0x54eb4b=new _0x4286c9(_0x7a5ae6),t=_0x7a5ae6['t'];return _0x54eb4b['set']({'icon':_0x5c7501,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x54eb4b['bind']('isEnabled')['to'](_0x5103a7),_0x54eb4b['bind']('isOn')['to'](_0x5103a7,'isActive'),this['listenTo'](_0x54eb4b,'execute',()=>{_0x4614c0['execute']('uploadcareImageEdit'),_0x4614c0['editing']['view']['focus']();}),_0x54eb4b;}),this['_initConfig']();}['_initConfig'](){const _0x76a6ba=_0x536e65(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x76a6ba),this['listenTo'](this['editor'],'destroy',()=>{_0x76a6ba['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d3ca7=_0x41ec;(function(_0x3ef4e6,_0x2f80bf){const _0x168196=_0x41ec,_0x2b3954=_0x3ef4e6();while(!![]){try{const _0x41253d=parseInt(_0x168196(0xcf))/0x1+-parseInt(_0x168196(0xcd))/0x2*(parseInt(_0x168196(0xd9))/0x3)+parseInt(_0x168196(0xe0))/0x4+parseInt(_0x168196(0xd8))/0x5+-parseInt(_0x168196(0xce))/0x6*(parseInt(_0x168196(0xdb))/0x7)+parseInt(_0x168196(0xe5))/0x8*(-parseInt(_0x168196(0xe3))/0x9)+parseInt(_0x168196(0xd3))/0xa*(parseInt(_0x168196(0xcc))/0xb);if(_0x41253d===_0x2f80bf)break;else _0x2b3954['push'](_0x2b3954['shift']());}catch(_0x11b36f){_0x2b3954['push'](_0x2b3954['shift']());}}}(_0x17eb,0x367fa));import{Command as _0x56803a}from'ckeditor5/src/core.js';function _0x41ec(_0x484d75,_0x91a626){const _0x17eb74=_0x17eb();return _0x41ec=function(_0x41ec10,_0x4a336b){_0x41ec10=_0x41ec10-0xcb;let _0xef562c=_0x17eb74[_0x41ec10];return _0xef562c;},_0x41ec(_0x484d75,_0x91a626);}export class UploadcareImageReplaceCommand extends _0x56803a{[_0x5d3ca7(0xcb)](){const _0x52fd57=_0x5d3ca7,_0x2980e6=this[_0x52fd57(0xd1)][_0x52fd57(0xd7)][_0x52fd57(0xda)][_0x52fd57(0xdf)][_0x52fd57(0xe2)]();this[_0x52fd57(0xd0)]=Boolean(_0x2980e6&&(_0x2980e6['is'](_0x52fd57(0xdd),_0x52fd57(0xd4))||_0x2980e6['is'](_0x52fd57(0xdd),_0x52fd57(0xe4))));}[_0x5d3ca7(0xd5)](_0x32ac75){const _0x1df0e1=_0x5d3ca7,_0x557c1a=this[_0x1df0e1(0xd1)][_0x1df0e1(0xd7)][_0x1df0e1(0xda)][_0x1df0e1(0xdf)][_0x1df0e1(0xe2)]();this[_0x1df0e1(0xd1)][_0x1df0e1(0xd7)][_0x1df0e1(0xe1)](_0xfab57a=>{const _0xe69d9c=_0x1df0e1;_0xfab57a[_0xe69d9c(0xde)](_0x32ac75,_0x557c1a),_0xfab57a[_0xe69d9c(0xd2)](_0xe69d9c(0xdc),_0x557c1a),_0xfab57a[_0xe69d9c(0xd2)](_0xe69d9c(0xd6),_0x557c1a);});}}function _0x17eb(){const _0x46c42a=['element','setAttributes','selection','404288xvXRmh','change','getSelectedElement','3588705EqSFyf','imageInline','8dvXASX','refresh','4224495AsPKBI','190GWlRWS','54066PFUVHc','237546AsBOGs','isEnabled','editor','removeAttribute','20HfnEIo','imageBlock','execute','sizes','model','371435egSCzV','10824IAhuCw','document','168JiIDgK','srcset'];_0x17eb=function(){return _0x46c42a;};return _0x17eb();}
23
+ const _0x2bde97=_0x314e;function _0x314e(_0x2bb13a,_0x2df8bb){const _0x2fc981=_0x2fc9();return _0x314e=function(_0x314edd,_0x28c3ed){_0x314edd=_0x314edd-0x1ed;let _0x46665c=_0x2fc981[_0x314edd];return _0x46665c;},_0x314e(_0x2bb13a,_0x2df8bb);}(function(_0xde0928,_0x50d9b7){const _0x51a1b4=_0x314e,_0xe650c8=_0xde0928();while(!![]){try{const _0x14196b=-parseInt(_0x51a1b4(0x1f7))/0x1+-parseInt(_0x51a1b4(0x203))/0x2*(parseInt(_0x51a1b4(0x1f8))/0x3)+parseInt(_0x51a1b4(0x204))/0x4*(parseInt(_0x51a1b4(0x1fa))/0x5)+parseInt(_0x51a1b4(0x1ed))/0x6+parseInt(_0x51a1b4(0x1f0))/0x7*(-parseInt(_0x51a1b4(0x1fc))/0x8)+parseInt(_0x51a1b4(0x205))/0x9*(parseInt(_0x51a1b4(0x208))/0xa)+parseInt(_0x51a1b4(0x1fe))/0xb*(parseInt(_0x51a1b4(0x202))/0xc);if(_0x14196b===_0x50d9b7)break;else _0xe650c8['push'](_0xe650c8['shift']());}catch(_0x54c650){_0xe650c8['push'](_0xe650c8['shift']());}}}(_0x2fc9,0x32ed9));function _0x2fc9(){const _0x23f487=['refresh','24985QWqflx','getSelectedElement','88oCIdWG','imageInline','671PUNizD','removeAttribute','document','element','75396xyCbse','490qjVOKb','132boeiOE','912807yEwfyW','change','sizes','10NsBFBt','846276lDjoqb','model','execute','26439JNUYJv','srcset','selection','setAttributes','isEnabled','imageBlock','editor','399365HrxGtk','1728AGNwzw'];_0x2fc9=function(){return _0x23f487;};return _0x2fc9();}import{Command as _0x1864f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1864f1{[_0x2bde97(0x1f9)](){const _0x3f88ae=_0x2bde97,_0x4708ef=this[_0x3f88ae(0x1f6)][_0x3f88ae(0x1ee)][_0x3f88ae(0x200)][_0x3f88ae(0x1f2)][_0x3f88ae(0x1fb)]();this[_0x3f88ae(0x1f4)]=Boolean(_0x4708ef&&(_0x4708ef['is'](_0x3f88ae(0x201),_0x3f88ae(0x1f5))||_0x4708ef['is'](_0x3f88ae(0x201),_0x3f88ae(0x1fd))));}[_0x2bde97(0x1ef)](_0x580897){const _0x525f67=_0x2bde97,_0x3d02a0=this[_0x525f67(0x1f6)][_0x525f67(0x1ee)][_0x525f67(0x200)][_0x525f67(0x1f2)][_0x525f67(0x1fb)]();this[_0x525f67(0x1f6)][_0x525f67(0x1ee)][_0x525f67(0x206)](_0x11bf69=>{const _0x114207=_0x525f67;_0x11bf69[_0x114207(0x1f3)](_0x580897,_0x3d02a0),_0x11bf69[_0x114207(0x1ff)](_0x114207(0x1f1),_0x3d02a0),_0x11bf69[_0x114207(0x1ff)](_0x114207(0x207),_0x3d02a0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x586eec=_0x1840;(function(_0x2f19b7,_0x37d6e5){var _0x4011f2=_0x1840,_0x94d0f2=_0x2f19b7();while(!![]){try{var _0x161939=parseInt(_0x4011f2(0x1c4))/0x1+-parseInt(_0x4011f2(0x1c5))/0x2*(-parseInt(_0x4011f2(0x1c8))/0x3)+parseInt(_0x4011f2(0x1bf))/0x4*(-parseInt(_0x4011f2(0x1c1))/0x5)+-parseInt(_0x4011f2(0x1c7))/0x6+parseInt(_0x4011f2(0x1ca))/0x7+parseInt(_0x4011f2(0x1c3))/0x8*(-parseInt(_0x4011f2(0x1c6))/0x9)+-parseInt(_0x4011f2(0x1bd))/0xa;if(_0x161939===_0x37d6e5)break;else _0x94d0f2['push'](_0x94d0f2['shift']());}catch(_0xd89407){_0x94d0f2['push'](_0x94d0f2['shift']());}}}(_0x5612,0x255a3));function _0x1840(_0x15615e,_0x62823c){var _0x5612c2=_0x5612();return _0x1840=function(_0x184050,_0x5bdc80){_0x184050=_0x184050-0x1bc;var _0x1860e6=_0x5612c2[_0x184050];return _0x1860e6;},_0x1840(_0x15615e,_0x62823c);}function _0x5612(){var _0x5df1d1=['8aLkpEi','245285uPrlSw','4714IjPzGm','308151NNmexq','701694RCugQn','339BZjsaZ','requires','1724737KvmYpL','isOfficialPlugin','4310680OezGZw','pluginName','45532DUlthJ','isPremiumPlugin','10QQLZHP','UploadcareImageEdit'];_0x5612=function(){return _0x5df1d1;};return _0x5612();}import{Plugin as _0x4bd07f}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x48a805}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x57114c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x4bd07f{static get[_0x586eec(0x1be)](){var _0x5ed0a0=_0x586eec;return _0x5ed0a0(0x1c2);}static get[_0x586eec(0x1c9)](){return[_0x48a805,_0x57114c];}static get[_0x586eec(0x1bc)](){return!0x0;}static get[_0x586eec(0x1c0)](){return!0x0;}}
23
+ var _0xca221=_0x5c9e;(function(_0x5e15d7,_0x431f72){var _0x505cbc=_0x5c9e,_0x3307fd=_0x5e15d7();while(!![]){try{var _0x1f3203=-parseInt(_0x505cbc(0x116))/0x1*(parseInt(_0x505cbc(0x11b))/0x2)+parseInt(_0x505cbc(0x10e))/0x3+-parseInt(_0x505cbc(0x119))/0x4+-parseInt(_0x505cbc(0x11d))/0x5*(parseInt(_0x505cbc(0x114))/0x6)+-parseInt(_0x505cbc(0x10f))/0x7*(parseInt(_0x505cbc(0x110))/0x8)+parseInt(_0x505cbc(0x11a))/0x9*(-parseInt(_0x505cbc(0x118))/0xa)+parseInt(_0x505cbc(0x117))/0xb*(parseInt(_0x505cbc(0x11c))/0xc);if(_0x1f3203===_0x431f72)break;else _0x3307fd['push'](_0x3307fd['shift']());}catch(_0x3955ef){_0x3307fd['push'](_0x3307fd['shift']());}}}(_0x33c6,0x2ac87));import{Plugin as _0x5a5534}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xc67e94}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x445131}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5c9e(_0x4c8421,_0x8632be){var _0x33c6fb=_0x33c6();return _0x5c9e=function(_0x5c9ead,_0x392bf4){_0x5c9ead=_0x5c9ead-0x10e;var _0x46f4fe=_0x33c6fb[_0x5c9ead];return _0x46f4fe;},_0x5c9e(_0x4c8421,_0x8632be);}function _0x33c6(){var _0x5a28ed=['4768TujUdf','requires','isOfficialPlugin','UploadcareImageEdit','18azjyqz','isPremiumPlugin','43238YqxrQK','9009913cBkXoe','78950vuwsPf','351888eBzhzI','243cvnfYV','6sdftov','12pvXJln','437765NQRSGc','pluginName','638910ZrpQjc','1918ActakN'];_0x33c6=function(){return _0x5a28ed;};return _0x33c6();}export class UploadcareImageEdit extends _0x5a5534{static get[_0xca221(0x11e)](){var _0x22537a=_0xca221;return _0x22537a(0x113);}static get[_0xca221(0x111)](){return[_0xc67e94,_0x445131];}static get[_0xca221(0x112)](){return!0x0;}static get[_0xca221(0x115)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x50fe(){const _0x3a0f70=['invalid','4828JXslae','Facebook','domainLimit','icon','evaluationLimit','Uploadcare','isPremiumPlugin','has','upload','7998802BUGaDF','uploadcareLicenseKeyEvaluationLimit','isOfficialPlugin','locale','tooltip','_getIntegrationKey','_createToolbarButton','_createButton','assetManager','url','GPhotos','Dropbox','_licenseKeyCheckInterval','editor','_showLicenseError','11801016bBHzjH','Insert','text','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','Local','uploadcareLicenseKeyNotAllowed','init','afterInit','entries','uploadcareLicenseKeyInvalid','727810qJdugv','7846030LtgHQr','isEnabled','_createDropdownButtons','config','uploadcareLicenseKeyValid','isImageSelected','pluginName','plugins','OneDrive','uploadcare','destroy','registerIntegration','push','execute','1005DBxASF','reduce','bind','usageLimit','90833OVhECj','expired','uploadcareLicenseKeyExpired','6157377aZtJAg','16TqKUAI','ImageInsertUI','UploadcareUI','forEach','featureNotAllowed','_createMenuBarButtons','get','uploadcareLicenseKeyUsageLimit','6JbpoQh','_normalizeConfigSourceList','GDrive','withText','licenseKey','label','shortText','type','URL','map','commands','Replace'];_0x50fe=function(){return _0x3a0f70;};return _0x50fe();}const _0x15dae7=_0x174b;(function(_0x43dabd,_0x3b2407){const _0x387cff=_0x174b,_0x3b96a3=_0x43dabd();while(!![]){try{const _0x38be18=parseInt(_0x387cff(0x1dc))/0x1*(parseInt(_0x387cff(0x1e0))/0x2)+parseInt(_0x387cff(0x1d8))/0x3*(parseInt(_0x387cff(0x1f5))/0x4)+-parseInt(_0x387cff(0x1c9))/0x5*(parseInt(_0x387cff(0x1e8))/0x6)+parseInt(_0x387cff(0x1fe))/0x7+-parseInt(_0x387cff(0x20d))/0x8+-parseInt(_0x387cff(0x1df))/0x9+parseInt(_0x387cff(0x1ca))/0xa;if(_0x38be18===_0x3b2407)break;else _0x3b96a3['push'](_0x3b96a3['shift']());}catch(_0x59ec3f){_0x3b96a3['push'](_0x3b96a3['shift']());}}}(_0x50fe,0xb7f30));import{Plugin as _0xa10c42}from'ckeditor5/src/core.js';import{IconDropbox as _0x3c79cc,IconFacebook as _0x40ac88,IconGoogleDrive as _0x531aa3,IconGooglePhotos as _0x4661c9,IconUploadcareImageUpload as _0x5552ba,IconUploadcareLink as _0x3f1e30,IconOneDrive as _0x19d34c}from'ckeditor5/src/icons.js';import{ButtonView as _0x231937,MenuBarMenuListItemButtonView as _0x108946}from'ckeditor5/src/ui.js';function _0x174b(_0x7039ab,_0x4c1e17){const _0x50fe4b=_0x50fe();return _0x174b=function(_0x174bc2,_0x1caae1){_0x174bc2=_0x174bc2-0x1c3;let _0x33afc2=_0x50fe4b[_0x174bc2];return _0x33afc2;},_0x174b(_0x7039ab,_0x4c1e17);}import{UploadcareSource as _0x571107}from'./uploadcareconfig.js';import{getTranslation as _0x308d89}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 class UploadcareUI extends _0xa10c42{[_0x15dae7(0x1ec)];[_0x15dae7(0x20a)];static get[_0x15dae7(0x1d0)](){const _0x1a5289=_0x15dae7;return _0x1a5289(0x1e2);}static get[_0x15dae7(0x200)](){return!0x0;}static get[_0x15dae7(0x1fb)](){return!0x0;}[_0x15dae7(0x1c5)](){const _0x4463d4=_0x15dae7;this[_0x4463d4(0x1ec)]=this[_0x4463d4(0x20b)][_0x4463d4(0x1cd)][_0x4463d4(0x1e6)](_0x4463d4(0x1ec));const _0x1b0db9=this[_0x4463d4(0x20b)];this[_0x4463d4(0x20a)]=setInterval(()=>{const _0xbecf79=_0x4463d4;let _0x98be73;for(const _0x46438f in _0x1b0db9){const _0x13270c=_0x46438f,_0x5dfdeb=_0x1b0db9[_0x13270c];if(_0xbecf79(0x1ce)==_0x5dfdeb||_0xbecf79(0x1c8)==_0x5dfdeb||_0xbecf79(0x1de)==_0x5dfdeb||_0xbecf79(0x210)==_0x5dfdeb||_0xbecf79(0x1c4)==_0x5dfdeb||_0xbecf79(0x1ff)==_0x5dfdeb||_0xbecf79(0x1e7)==_0x5dfdeb){delete _0x1b0db9[_0x13270c],_0x98be73=_0x5dfdeb,clearInterval(this[_0xbecf79(0x20a)]),this[_0xbecf79(0x20a)]=void 0x0;break;}}_0xbecf79(0x1c8)==_0x98be73&&_0x1b0db9[_0xbecf79(0x20c)](_0xbecf79(0x1f4)),_0xbecf79(0x1de)==_0x98be73&&_0x1b0db9[_0xbecf79(0x20c)](_0xbecf79(0x1dd)),_0xbecf79(0x210)==_0x98be73&&_0x1b0db9[_0xbecf79(0x20c)](_0xbecf79(0x1f7)),_0xbecf79(0x1c4)==_0x98be73&&_0x1b0db9[_0xbecf79(0x20c)](_0xbecf79(0x1e4),_0xbecf79(0x1fa)),_0xbecf79(0x1ff)==_0x98be73&&_0x1b0db9[_0xbecf79(0x20c)](_0xbecf79(0x1f9)),_0xbecf79(0x1e7)==_0x98be73&&_0x1b0db9[_0xbecf79(0x20c)](_0xbecf79(0x1db));},0x3e8);}[_0x15dae7(0x1c6)](){const _0xe8563b=_0x15dae7,{editor:_0xde6fef}=this,_0x620ab6=_0xde6fef[_0xe8563b(0x1f2)][_0xe8563b(0x1e6)](_0xe8563b(0x1d3));if(!_0x620ab6)return;const _0x553688=this[_0xe8563b(0x1e9)](_0xde6fef[_0xe8563b(0x1cd)][_0xe8563b(0x1e6)](_0xe8563b(0x211)))[_0xe8563b(0x1d9)]((_0x5c3f7e,_0x889217)=>{const _0xba1d29=_0xe8563b,_0x429f02=this[_0xba1d29(0x203)](_0x889217[_0xba1d29(0x1ef)]);return _0x5c3f7e[_0x429f02]||(_0x5c3f7e[_0x429f02]=[]),_0x5c3f7e[_0x429f02][_0xba1d29(0x1d6)](_0x889217),_0x5c3f7e;},{});_0xde6fef[_0xe8563b(0x1d1)][_0xe8563b(0x1fc)](_0xe8563b(0x1e1))&&_0xde6fef[_0xe8563b(0x1f2)][_0xe8563b(0x1e6)](_0xe8563b(0x1d3))&&Object[_0xe8563b(0x1c7)](_0x553688)[_0xe8563b(0x1e3)](([_0x4daae6,_0x6dc64d])=>{const _0x3e9523=_0xe8563b;_0xde6fef[_0x3e9523(0x1d1)][_0x3e9523(0x1e6)](_0x3e9523(0x1e1))[_0x3e9523(0x1d5)]({'name':_0x4daae6,'observable':()=>_0x620ab6,'buttonViewCreator':()=>this[_0x3e9523(0x204)](_0x6dc64d),'formViewCreator':()=>this[_0x3e9523(0x1cc)](_0x6dc64d),'menuBarButtonViewCreator':()=>this[_0x3e9523(0x1e5)](_0x6dc64d),'override':_0x3e9523(0x206)!==_0x4daae6});});}[_0x15dae7(0x1d4)](){const _0x1b6897=_0x15dae7;super[_0x1b6897(0x1d4)](),this[_0x1b6897(0x20a)]&&clearInterval(this[_0x1b6897(0x20a)]);}[_0x15dae7(0x1e9)](_0x44cd23){const _0x392073=_0x15dae7,{locale:_0xcb03b7}=this[_0x392073(0x20b)];return _0x44cd23[_0x392073(0x1f1)](_0x300d0f=>{const _0x20985d=_0x392073,_0x2815c7=_0x308d89(_0xcb03b7,_0x300d0f,_0x20985d(0x20e));switch(_0x300d0f){case _0x571107[_0x20985d(0x1c3)]:return{'icon':_0x5552ba,'type':_0x571107[_0x20985d(0x1c3)],..._0x2815c7};case _0x571107[_0x20985d(0x1f0)]:return{'icon':_0x3f1e30,'type':_0x571107[_0x20985d(0x1f0)],..._0x2815c7};case _0x571107[_0x20985d(0x209)]:return{'icon':_0x3c79cc,'type':_0x571107[_0x20985d(0x209)],..._0x2815c7};case _0x571107[_0x20985d(0x1f6)]:return{'icon':_0x40ac88,'type':_0x571107[_0x20985d(0x1f6)],..._0x2815c7};case _0x571107[_0x20985d(0x1ea)]:return{'icon':_0x531aa3,'type':_0x571107[_0x20985d(0x1ea)],..._0x2815c7};case _0x571107[_0x20985d(0x208)]:return{'icon':_0x4661c9,'type':_0x571107[_0x20985d(0x208)],..._0x2815c7};case _0x571107[_0x20985d(0x1d2)]:return{'icon':_0x19d34c,'type':_0x571107[_0x20985d(0x1d2)],..._0x2815c7};}});}[_0x15dae7(0x203)](_0x17aa31){const _0x374bae=_0x15dae7;switch(_0x17aa31){case _0x571107[_0x374bae(0x1c3)]:return _0x374bae(0x1fd);case _0x571107[_0x374bae(0x1f0)]:return _0x374bae(0x207);default:return _0x374bae(0x206);}}[_0x15dae7(0x205)](_0x25a5ad,_0x5921cd){const _0x192469=_0x15dae7,_0x259419=this[_0x192469(0x20b)],_0x20bf99=new _0x25a5ad(_0x259419[_0x192469(0x201)]),_0x47f446=_0x259419[_0x192469(0x1f2)][_0x192469(0x1e6)](_0x192469(0x1d3));return _0x20bf99[_0x192469(0x1da)](_0x192469(0x1cb))['to'](_0x47f446),_0x20bf99['on'](_0x192469(0x1d7),()=>{const _0x39700c=_0x192469;_0x47f446[_0x39700c(0x1d7)](_0x5921cd);}),_0x20bf99;}[_0x15dae7(0x204)](_0x438474){const _0xa6b484=_0x15dae7,{locale:_0x5538c1}=this[_0xa6b484(0x20b)],_0x139be8=this[_0xa6b484(0x20b)][_0xa6b484(0x1d1)][_0xa6b484(0x1e6)](_0xa6b484(0x1e1)),_0x2e2132=_0x438474[0x0],_0x2c1e58=this[_0xa6b484(0x205)](_0x231937,_0x2e2132[_0xa6b484(0x1ef)]);return _0x2c1e58[_0xa6b484(0x1f8)]=_0x2e2132[_0xa6b484(0x1f8)],_0x2c1e58[_0xa6b484(0x1da)](_0xa6b484(0x1ed))['to'](_0x139be8,_0xa6b484(0x1cf),_0x5e27a2=>_0x308d89(_0x5538c1,_0x2e2132[_0xa6b484(0x1ef)],_0x5e27a2?_0xa6b484(0x1f3):_0xa6b484(0x20e))[_0xa6b484(0x20f)]),_0x2c1e58[_0xa6b484(0x202)]=!0x0,_0x2c1e58;}[_0x15dae7(0x1cc)](_0x1ce196){const _0x6350f5=_0x15dae7,{locale:_0x303ccb}=this[_0x6350f5(0x20b)],_0xd01511=this[_0x6350f5(0x20b)][_0x6350f5(0x1d1)][_0x6350f5(0x1e6)](_0x6350f5(0x1e1));return _0x1ce196[_0x6350f5(0x1f1)](_0x25555c=>{const _0x462ac7=_0x6350f5,_0x3e1261=this[_0x462ac7(0x205)](_0x231937,_0x25555c[_0x462ac7(0x1ef)]);return _0x3e1261[_0x462ac7(0x1eb)]=!0x0,_0x3e1261[_0x462ac7(0x1f8)]=_0x25555c[_0x462ac7(0x1f8)],_0x3e1261[_0x462ac7(0x1da)](_0x462ac7(0x1ed))['to'](_0xd01511,_0x462ac7(0x1cf),_0x1eec4a=>_0x308d89(_0x303ccb,_0x25555c[_0x462ac7(0x1ef)],_0x1eec4a?_0x462ac7(0x1f3):_0x462ac7(0x20e))[_0x462ac7(0x20f)]),_0x3e1261;});}[_0x15dae7(0x1e5)](_0x45bde3){const _0x53e34d=_0x15dae7;return _0x45bde3[_0x53e34d(0x1f1)](_0x15d084=>{const _0x1f6cbd=_0x53e34d,_0x44e193=this[_0x1f6cbd(0x205)](_0x108946,_0x15d084[_0x1f6cbd(0x1ef)]);return _0x44e193[_0x1f6cbd(0x1f8)]=_0x15d084[_0x1f6cbd(0x1f8)],_0x44e193[_0x1f6cbd(0x1ed)]=_0x15d084[_0x1f6cbd(0x1ee)],_0x44e193;});}}
23
+ const _0x43383f=_0x3740;function _0x54d6(){const _0x178e33=['uploadcareLicenseKeyInvalid','pluginName','GDrive','Facebook','tooltip','url','_createButton','Dropbox','Replace','upload','entries','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyExpired','isImageSelected','UploadcareUI','URL','_createMenuBarButtons','domainLimit','273123JxsBVn','isEnabled','plugins','reduce','featureNotAllowed','shortText','config','_getIntegrationKey','_showLicenseError','text','327490hAFUYn','_licenseKeyCheckInterval','get','Insert','GPhotos','withText','_createToolbarButton','push','_normalizeConfigSourceList','isPremiumPlugin','5QpKFCt','126306QdZXXk','forEach','evaluationLimit','uploadcareLicenseKeyEvaluationLimit','invalid','isOfficialPlugin','commands','1356xgcPBj','editor','destroy','Uploadcare','OneDrive','152634ttQbDo','usageLimit','execute','788eGrjEO','946428KtsVTm','map','22rOHnld','label','assetManager','184TskDLm','uploadcare.uploader.sourceList','has','uploadcareLicenseKeyUsageLimit','registerIntegration','uploadcare','bind','_createDropdownButtons','expired','ImageInsertUI','licenseKey','uploadcareLicenseKeyValid','afterInit','type','icon','uploadcareLicenseKeyNotAllowed','init','Local','locale','7091CyMxUe'];_0x54d6=function(){return _0x178e33;};return _0x54d6();}(function(_0x8fa4c6,_0x59d5bd){const _0x87fac3=_0x3740,_0x2fbf50=_0x8fa4c6();while(!![]){try{const _0x147abf=parseInt(_0x87fac3(0x1f5))/0x1+-parseInt(_0x87fac3(0x219))/0x2*(-parseInt(_0x87fac3(0x211))/0x3)+-parseInt(_0x87fac3(0x21a))/0x4+parseInt(_0x87fac3(0x209))/0x5*(parseInt(_0x87fac3(0x216))/0x6)+-parseInt(_0x87fac3(0x232))/0x7*(parseInt(_0x87fac3(0x21f))/0x8)+-parseInt(_0x87fac3(0x20a))/0x9+-parseInt(_0x87fac3(0x1ff))/0xa*(parseInt(_0x87fac3(0x21c))/0xb);if(_0x147abf===_0x59d5bd)break;else _0x2fbf50['push'](_0x2fbf50['shift']());}catch(_0x2497d6){_0x2fbf50['push'](_0x2fbf50['shift']());}}}(_0x54d6,0x217fc));import{Plugin as _0x125e36}from'ckeditor5/src/core.js';import{IconDropbox as _0x313b18,IconFacebook as _0x8f427c,IconGoogleDrive as _0xe69871,IconGooglePhotos as _0x24b94d,IconUploadcareImageUpload as _0x6c9195,IconUploadcareLink as _0x6e3087,IconOneDrive as _0x1e6a38}from'ckeditor5/src/icons.js';import{ButtonView as _0x42342f,MenuBarMenuListItemButtonView as _0x313430}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1b8350}from'./uploadcareconfig.js';import{getTranslation as _0x25a813}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x3740(_0x146581,_0x3ed7b4){const _0x54d6ec=_0x54d6();return _0x3740=function(_0x3740dc,_0x4d7d22){_0x3740dc=_0x3740dc-0x1f2;let _0x51149b=_0x54d6ec[_0x3740dc];return _0x51149b;},_0x3740(_0x146581,_0x3ed7b4);}export class UploadcareUI extends _0x125e36{[_0x43383f(0x229)];[_0x43383f(0x200)];static get[_0x43383f(0x234)](){const _0x2982c9=_0x43383f;return _0x2982c9(0x241);}static get[_0x43383f(0x20f)](){return!0x0;}static get[_0x43383f(0x208)](){return!0x0;}[_0x43383f(0x22f)](){const _0xc6723b=_0x43383f;this[_0xc6723b(0x229)]=this[_0xc6723b(0x212)][_0xc6723b(0x1fb)][_0xc6723b(0x201)](_0xc6723b(0x229));const _0x46064f=this[_0xc6723b(0x212)];this[_0xc6723b(0x200)]=setInterval(()=>{const _0x4c59b6=_0xc6723b;let _0x183d55;for(const _0x1eb535 in _0x46064f){const _0xf2ffa3=_0x1eb535,_0x27def4=_0x46064f[_0xf2ffa3];if(_0x4c59b6(0x22a)==_0x27def4||_0x4c59b6(0x233)==_0x27def4||_0x4c59b6(0x23f)==_0x27def4||_0x4c59b6(0x23e)==_0x27def4||_0x4c59b6(0x22e)==_0x27def4||_0x4c59b6(0x20d)==_0x27def4||_0x4c59b6(0x222)==_0x27def4){delete _0x46064f[_0xf2ffa3],_0x183d55=_0x27def4,clearInterval(this[_0x4c59b6(0x200)]),this[_0x4c59b6(0x200)]=void 0x0;break;}}_0x4c59b6(0x233)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x20e)),_0x4c59b6(0x23f)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x227)),_0x4c59b6(0x23e)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x1f4)),_0x4c59b6(0x22e)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x1f9),_0x4c59b6(0x214)),_0x4c59b6(0x20d)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x20c)),_0x4c59b6(0x222)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x217));},0x3e8);}[_0x43383f(0x22b)](){const _0x5c6873=_0x43383f,{editor:_0x31beab}=this,_0x4d396f=_0x31beab[_0x5c6873(0x210)][_0x5c6873(0x201)](_0x5c6873(0x224));if(!_0x4d396f)return;const _0x27ca5a=this[_0x5c6873(0x207)](_0x31beab[_0x5c6873(0x1fb)][_0x5c6873(0x201)](_0x5c6873(0x220)))[_0x5c6873(0x1f8)]((_0x496bad,_0x404426)=>{const _0xca4bde=_0x5c6873,_0x28a21a=this[_0xca4bde(0x1fc)](_0x404426[_0xca4bde(0x22c)]);return _0x496bad[_0x28a21a]||(_0x496bad[_0x28a21a]=[]),_0x496bad[_0x28a21a][_0xca4bde(0x206)](_0x404426),_0x496bad;},{});_0x31beab[_0x5c6873(0x1f7)][_0x5c6873(0x221)](_0x5c6873(0x228))&&_0x31beab[_0x5c6873(0x210)][_0x5c6873(0x201)](_0x5c6873(0x224))&&Object[_0x5c6873(0x23d)](_0x27ca5a)[_0x5c6873(0x20b)](([_0x3e3724,_0xc2eeef])=>{const _0x2a128f=_0x5c6873;_0x31beab[_0x2a128f(0x1f7)][_0x2a128f(0x201)](_0x2a128f(0x228))[_0x2a128f(0x223)]({'name':_0x3e3724,'observable':()=>_0x4d396f,'buttonViewCreator':()=>this[_0x2a128f(0x205)](_0xc2eeef),'formViewCreator':()=>this[_0x2a128f(0x226)](_0xc2eeef),'menuBarButtonViewCreator':()=>this[_0x2a128f(0x1f3)](_0xc2eeef),'override':_0x2a128f(0x21e)!==_0x3e3724});});}[_0x43383f(0x213)](){const _0x4ec9a7=_0x43383f;super[_0x4ec9a7(0x213)](),this[_0x4ec9a7(0x200)]&&clearInterval(this[_0x4ec9a7(0x200)]);}[_0x43383f(0x207)](_0x49d756){const _0x47d9f7=_0x43383f,{locale:_0x3f4845}=this[_0x47d9f7(0x212)];return _0x49d756[_0x47d9f7(0x21b)](_0x3b1114=>{const _0x4a85ac=_0x47d9f7,_0x13cb8d=_0x25a813(_0x3f4845,_0x3b1114,_0x4a85ac(0x202));switch(_0x3b1114){case _0x1b8350[_0x4a85ac(0x230)]:return{'icon':_0x6c9195,'type':_0x1b8350[_0x4a85ac(0x230)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x1f2)]:return{'icon':_0x6e3087,'type':_0x1b8350[_0x4a85ac(0x1f2)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x23a)]:return{'icon':_0x313b18,'type':_0x1b8350[_0x4a85ac(0x23a)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x236)]:return{'icon':_0x8f427c,'type':_0x1b8350[_0x4a85ac(0x236)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x235)]:return{'icon':_0xe69871,'type':_0x1b8350[_0x4a85ac(0x235)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x203)]:return{'icon':_0x24b94d,'type':_0x1b8350[_0x4a85ac(0x203)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x215)]:return{'icon':_0x1e6a38,'type':_0x1b8350[_0x4a85ac(0x215)],..._0x13cb8d};}});}[_0x43383f(0x1fc)](_0x3f5d82){const _0x39b528=_0x43383f;switch(_0x3f5d82){case _0x1b8350[_0x39b528(0x230)]:return _0x39b528(0x23c);case _0x1b8350[_0x39b528(0x1f2)]:return _0x39b528(0x238);default:return _0x39b528(0x21e);}}[_0x43383f(0x239)](_0x130320,_0x3c712e){const _0x59f74f=_0x43383f,_0x1afa4d=this[_0x59f74f(0x212)],_0x4fbabd=new _0x130320(_0x1afa4d[_0x59f74f(0x231)]),_0x130bd5=_0x1afa4d[_0x59f74f(0x210)][_0x59f74f(0x201)](_0x59f74f(0x224));return _0x4fbabd[_0x59f74f(0x225)](_0x59f74f(0x1f6))['to'](_0x130bd5),_0x4fbabd['on'](_0x59f74f(0x218),()=>{const _0x55f462=_0x59f74f;_0x130bd5[_0x55f462(0x218)](_0x3c712e);}),_0x4fbabd;}[_0x43383f(0x205)](_0x24f94e){const _0x4b5987=_0x43383f,{locale:_0x57a61e}=this[_0x4b5987(0x212)],_0x2b2527=this[_0x4b5987(0x212)][_0x4b5987(0x1f7)][_0x4b5987(0x201)](_0x4b5987(0x228)),_0x367a39=_0x24f94e[0x0],_0x199605=this[_0x4b5987(0x239)](_0x42342f,_0x367a39[_0x4b5987(0x22c)]);return _0x199605[_0x4b5987(0x22d)]=_0x367a39[_0x4b5987(0x22d)],_0x199605[_0x4b5987(0x225)](_0x4b5987(0x21d))['to'](_0x2b2527,_0x4b5987(0x240),_0x5caf1e=>_0x25a813(_0x57a61e,_0x367a39[_0x4b5987(0x22c)],_0x5caf1e?_0x4b5987(0x23b):_0x4b5987(0x202))[_0x4b5987(0x1fe)]),_0x199605[_0x4b5987(0x237)]=!0x0,_0x199605;}[_0x43383f(0x226)](_0x9532c0){const _0x364ec8=_0x43383f,{locale:_0x82c13f}=this[_0x364ec8(0x212)],_0x3d9996=this[_0x364ec8(0x212)][_0x364ec8(0x1f7)][_0x364ec8(0x201)](_0x364ec8(0x228));return _0x9532c0[_0x364ec8(0x21b)](_0x43e37e=>{const _0x256872=_0x364ec8,_0x3c9d6f=this[_0x256872(0x239)](_0x42342f,_0x43e37e[_0x256872(0x22c)]);return _0x3c9d6f[_0x256872(0x204)]=!0x0,_0x3c9d6f[_0x256872(0x22d)]=_0x43e37e[_0x256872(0x22d)],_0x3c9d6f[_0x256872(0x225)](_0x256872(0x21d))['to'](_0x3d9996,_0x256872(0x240),_0x3ed2b3=>_0x25a813(_0x82c13f,_0x43e37e[_0x256872(0x22c)],_0x3ed2b3?_0x256872(0x23b):_0x256872(0x202))[_0x256872(0x1fe)]),_0x3c9d6f;});}[_0x43383f(0x1f3)](_0x4cfb7e){const _0x2d4143=_0x43383f;return _0x4cfb7e[_0x2d4143(0x21b)](_0x446ee8=>{const _0x5435ef=_0x2d4143,_0x580253=this[_0x5435ef(0x239)](_0x313430,_0x446ee8[_0x5435ef(0x22c)]);return _0x580253[_0x5435ef(0x22d)]=_0x446ee8[_0x5435ef(0x22d)],_0x580253[_0x5435ef(0x21d)]=_0x446ee8[_0x5435ef(0x1fa)],_0x580253;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x206381}from'ckeditor5/src/core.js';import{FileRepository as _0x3f902d}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3d5f7c}from'./uploadcareediting.js';import{UploadUtils as _0x409154}from'./utils/uploadutils.js';import{getImageUrls as _0x5d4d69}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x206381{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3f902d,_0x3d5f7c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xbdd57=this['editor'];if(!!!_0xbdd57['config']['get']('uploadcare'))return;_0xbdd57['plugins']['get'](_0x3f902d)['createUploadAdapter']=_0x554237=>new k(_0x554237,_0xbdd57),_0xbdd57['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x19a62d,{imageElement:_0x50b55d,data:_0x570a24})=>{_0xbdd57['model']['change'](_0x50ca5d=>{_0x50ca5d['setAttribute']('uploadcareImageId',_0x570a24['uploadcareImageId'],_0x50b55d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x59e7e2,_0xe893fb){this['loader']=_0x59e7e2,this['editor']=_0xe893fb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x676498=await this['loader']['file'];return _0x409154['upload']({'file':_0x676498,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x167333=>{_0x167333&&_0x167333['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x167333['value']);}})['then'](async _0x2076d4=>{const {imageFallbackUrl:_0x359282,imageSources:_0x52474e}=_0x5d4d69(_0x2076d4['cdnUrl'],_0x2076d4['imageInfo']['width']);return{'uploadcareImageId':_0x2076d4['uuid'],'default':_0x359282,'sources':_0x52474e};})['catch'](()=>{const _0x34e98e=t('Cannot\x20upload\x20file:')+('\x20'+_0x676498['name']+'.');return Promise['reject'](_0x34e98e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x15f8db}from'ckeditor5/src/core.js';import{FileRepository as _0x3366b2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x374d27}from'./uploadcareediting.js';import{UploadUtils as _0x30204f}from'./utils/uploadutils.js';import{getImageUrls as _0xfaa7ea}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x15f8db{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3366b2,_0x374d27];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x502fce=this['editor'];if(!!!_0x502fce['config']['get']('uploadcare'))return;_0x502fce['plugins']['get'](_0x3366b2)['createUploadAdapter']=_0x430257=>new k(_0x430257,_0x502fce),_0x502fce['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x384b54,{imageElement:_0x381756,data:_0x53b47c})=>{_0x502fce['model']['change'](_0xe2956d=>{_0xe2956d['setAttribute']('uploadcareImageId',_0x53b47c['uploadcareImageId'],_0x381756);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x149bd1,_0xf9c0d6){this['loader']=_0x149bd1,this['editor']=_0xf9c0d6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5f03c1=await this['loader']['file'];return _0x30204f['upload']({'file':_0x5f03c1,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x48c8f5=>{_0x48c8f5&&_0x48c8f5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x48c8f5['value']);}})['then'](async _0x449c2b=>{const {imageFallbackUrl:_0x2ddd7c,imageSources:_0x49cbfa}=_0xfaa7ea(_0x449c2b['cdnUrl'],_0x449c2b['imageInfo']['width']);return{'uploadcareImageId':_0x449c2b['uuid'],'default':_0x2ddd7c,'sources':_0x49cbfa};})['catch'](()=>{const _0x1dfbbb=t('Cannot\x20upload\x20file:')+('\x20'+_0x5f03c1['name']+'.');return Promise['reject'](_0x1dfbbb);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x431b8a}from'../uploadcareconfig.js';export function getTranslation(_0x13eb63,_0x5ab55f,_0x1839a7){const t=_0x13eb63['t'],_0x49dc64=_0x13eb63['t'];switch(_0x5ab55f){case _0x431b8a['Local']:return{'text':_0x49dc64('Insert'===_0x1839a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x49dc64('From\x20computer')};case _0x431b8a['URL']:return{'text':'Insert'===_0x1839a7?_0x49dc64('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x49dc64('Via\x20URL')};case _0x431b8a['Dropbox']:return{'text':t('Insert'===_0x1839a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x431b8a['Facebook']:return{'text':t('Insert'===_0x1839a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x431b8a['GDrive']:return{'text':t('Insert'===_0x1839a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x431b8a['GPhotos']:return{'text':t('Insert'===_0x1839a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x431b8a['OneDrive']:return{'text':t('Insert'===_0x1839a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5ab55f;}}
23
+ import{UploadcareSource as _0x313300}from'../uploadcareconfig.js';export function getTranslation(_0x583ab9,_0xd6e371,_0x484e2e){const t=_0x583ab9['t'],_0x3510fe=_0x583ab9['t'];switch(_0xd6e371){case _0x313300['Local']:return{'text':_0x3510fe('Insert'===_0x484e2e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3510fe('From\x20computer')};case _0x313300['URL']:return{'text':'Insert'===_0x484e2e?_0x3510fe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3510fe('Via\x20URL')};case _0x313300['Dropbox']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x313300['Facebook']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x313300['GDrive']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x313300['GPhotos']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x313300['OneDrive']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd6e371;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2954(_0x33e6d1,_0x5705f7){var _0x45a1ad=_0x45a1();return _0x2954=function(_0x2954fc,_0x27940a){_0x2954fc=_0x2954fc-0x1e9;var _0x4b5edd=_0x45a1ad[_0x2954fc];return _0x4b5edd;},_0x2954(_0x33e6d1,_0x5705f7);}var _0x16ec89=_0x2954;(function(_0x39a228,_0x2e8433){var _0x3abd28=_0x2954,_0x1ed351=_0x39a228();while(!![]){try{var _0x40663d=-parseInt(_0x3abd28(0x1f3))/0x1*(-parseInt(_0x3abd28(0x1fd))/0x2)+parseInt(_0x3abd28(0x1f5))/0x3*(-parseInt(_0x3abd28(0x1f1))/0x4)+-parseInt(_0x3abd28(0x1ea))/0x5*(-parseInt(_0x3abd28(0x1e9))/0x6)+parseInt(_0x3abd28(0x1ed))/0x7*(parseInt(_0x3abd28(0x1f4))/0x8)+parseInt(_0x3abd28(0x1fc))/0x9*(parseInt(_0x3abd28(0x1f2))/0xa)+-parseInt(_0x3abd28(0x1ee))/0xb*(parseInt(_0x3abd28(0x1f9))/0xc)+-parseInt(_0x3abd28(0x1fa))/0xd;if(_0x40663d===_0x2e8433)break;else _0x1ed351['push'](_0x1ed351['shift']());}catch(_0xd1adab){_0x1ed351['push'](_0x1ed351['shift']());}}}(_0x45a1,0x6e3b1));import{FocusTracker as _0x58bf91}from'ckeditor5/src/utils.js';import{View as _0x402182,FocusCycler as _0x272ed9}from'ckeditor5/src/ui.js';function _0x45a1(){var _0xb395de=['199836pQjhcm','4PxHrCb','focusCycler','24FVQgxJ','630095ouvztL','true','createCollection','1785497WxMqnx','77MkGaGL','getFocusableElement','bindTemplate','9484MFNSdn','100FNQeoV','97538HgPLci','8AqRCAa','123uqHbth','focusTracker','forwardCycle','div','30960CRZHbj','7923331ztKEEo','fire'];_0x45a1=function(){return _0xb395de;};return _0x45a1();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x402182{[_0x16ec89(0x1f6)];[_0x16ec89(0x1fe)];constructor(_0x27c1bc){var _0x350a33=_0x16ec89;super(_0x27c1bc),this[_0x350a33(0x1f6)]=new _0x58bf91(),this[_0x350a33(0x1fe)]=new _0x272ed9({'focusables':this[_0x350a33(0x1ec)](),'focusTracker':this[_0x350a33(0x1f6)]});}[_0x16ec89(0x1ef)](){var _0x29241e=_0x16ec89;return{'tag':_0x29241e(0x1f8),'attributes':{'aria-hidden':_0x29241e(0x1eb),'tabindex':'0'},'on':{'focus':this[_0x29241e(0x1f0)]['to'](()=>{var _0x4b5c41=_0x29241e;this[_0x4b5c41(0x1fe)][_0x4b5c41(0x1fb)](_0x4b5c41(0x1f7));})}};}}
23
+ var _0x1fedc1=_0x325e;function _0x325e(_0x190248,_0x183a5f){var _0x55b839=_0x55b8();return _0x325e=function(_0x325e56,_0x42bc1){_0x325e56=_0x325e56-0x93;var _0xd5846c=_0x55b839[_0x325e56];return _0xd5846c;},_0x325e(_0x190248,_0x183a5f);}(function(_0xfdc5e1,_0xb80558){var _0x43991d=_0x325e,_0x4f295c=_0xfdc5e1();while(!![]){try{var _0x309c5f=parseInt(_0x43991d(0xa2))/0x1*(parseInt(_0x43991d(0xa4))/0x2)+parseInt(_0x43991d(0x96))/0x3*(-parseInt(_0x43991d(0x95))/0x4)+parseInt(_0x43991d(0xa1))/0x5+-parseInt(_0x43991d(0x9f))/0x6*(parseInt(_0x43991d(0xa3))/0x7)+-parseInt(_0x43991d(0x94))/0x8*(parseInt(_0x43991d(0x99))/0x9)+-parseInt(_0x43991d(0xa7))/0xa+parseInt(_0x43991d(0xa5))/0xb*(parseInt(_0x43991d(0x98))/0xc);if(_0x309c5f===_0xb80558)break;else _0x4f295c['push'](_0x4f295c['shift']());}catch(_0x334807){_0x4f295c['push'](_0x4f295c['shift']());}}}(_0x55b8,0xe33c9));function _0x55b8(){var _0x14273d=['true','5719860uIiYXh','focusCycler','1021816eobHJv','12FylaPL','70989AVfgeC','forwardCycle','372kNPPkV','81HeLUNZ','bindTemplate','fire','createCollection','focusTracker','getFocusableElement','8430702UnvtUt','div','8109015zagXHo','608kZoPwl','7cugwmj','4718yWQBfU','380501UBmahe'];_0x55b8=function(){return _0x14273d;};return _0x55b8();}import{FocusTracker as _0x553efa}from'ckeditor5/src/utils.js';import{View as _0x529861,FocusCycler as _0x40f86d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x529861{[_0x1fedc1(0x9d)];[_0x1fedc1(0x93)];constructor(_0x5f02e0){var _0x3a648d=_0x1fedc1;super(_0x5f02e0),this[_0x3a648d(0x9d)]=new _0x553efa(),this[_0x3a648d(0x93)]=new _0x40f86d({'focusables':this[_0x3a648d(0x9c)](),'focusTracker':this[_0x3a648d(0x9d)]});}[_0x1fedc1(0x9e)](){var _0x248c9e=_0x1fedc1;return{'tag':_0x248c9e(0xa0),'attributes':{'aria-hidden':_0x248c9e(0xa6),'tabindex':'0'},'on':{'focus':this[_0x248c9e(0x9a)]['to'](()=>{var _0x5d564c=_0x248c9e;this[_0x5d564c(0x93)][_0x5d564c(0x9b)](_0x5d564c(0x97));})}};}}