@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251216.0 → 0.0.0-nightly-20251217.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 _0x463110=_0x509f;(function(_0x1448a5,_0x23fff6){const _0x5f5340=_0x509f,_0x35c059=_0x1448a5();while(!![]){try{const _0x3dc6b9=parseInt(_0x5f5340(0x1c7))/0x1+-parseInt(_0x5f5340(0x1c9))/0x2+parseInt(_0x5f5340(0x1f7))/0x3*(-parseInt(_0x5f5340(0x1ff))/0x4)+-parseInt(_0x5f5340(0x1d8))/0x5*(parseInt(_0x5f5340(0x202))/0x6)+-parseInt(_0x5f5340(0x1f6))/0x7*(-parseInt(_0x5f5340(0x1ca))/0x8)+-parseInt(_0x5f5340(0x1f0))/0x9*(-parseInt(_0x5f5340(0x1fe))/0xa)+parseInt(_0x5f5340(0x1cb))/0xb;if(_0x3dc6b9===_0x23fff6)break;else _0x35c059['push'](_0x35c059['shift']());}catch(_0x3933e2){_0x35c059['push'](_0x35c059['shift']());}}}(_0x59c0,0xacc63));function _0x59c0(){const _0x486439=['config','querySelector','_initConfig','insertImage','isRegistered','70308frAGOE','upcast','for','listenTo','cleanupImage','_initConversion','8898113ivMsrE','2973lxgFxP','render','commands','destroy','once','add','pluginName','430BYMBVa','1916gDMrcL','getAttribute','getSelectedElement','1886088dmCnzX','view','true','init','execute','uc-upload-ctx-provider','data-uc-image-id','model','downcast','_initCtx','ctxElement','attributeToAttribute','PictureEditing','href','get','imageBlock','input[uploadcare-file-input]','uploadcareImageReplace','isPremiumPlugin','_ctxElement','isOfficialPlugin','appendChild','#uc-icon-arrow-down','imageInline','fromCharCode','\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','uploadcare.pubkey','867929VbCAAI','iconHrefResolver','2664992EizbJO','8qLcvQt','3896332OuTXqU','map','_configElement','uc-config','UploadcareEditing','uploader-','_initSchema','join','contentLanguage','locale','selection','editor','ucContextId','5ZSrjvE','elementToAttribute','schema','requires','uploadcare','afterInit','removeAttribute','uploadcare.uploader','editing','remove','body','closeMax','document','extend','configElement','uploadcareImageId','replaceImageSource','conversion','_initImageProcessingIndicator'];_0x59c0=function(){return _0x486439;};return _0x59c0();}import{Plugin as _0x25e487}from'ckeditor5/src/core.js';import{Dialog as _0x329112}from'ckeditor5/src/ui.js';import{createElement as _0x2afbb3,global as _0x293094,uid as _0x118dfc}from'ckeditor5/src/utils.js';function _0x509f(_0x5d8608,_0x475c09){const _0x59c0db=_0x59c0();return _0x509f=function(_0x509f04,_0x356676){_0x509f04=_0x509f04-0x1b7;let _0x1b0c09=_0x59c0db[_0x509f04];return _0x1b0c09;},_0x509f(_0x5d8608,_0x475c09);}import{UploadcareCommand as _0x2f638c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3cdbcb}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3dc89e}from'./utils/editingutils.js';export class UploadcareEditing extends _0x25e487{[_0x463110(0x1cd)]=null;[_0x463110(0x1bf)]=null;static get[_0x463110(0x1fd)](){const _0x568d83=_0x463110;return _0x568d83(0x1cf);}static get[_0x463110(0x1db)](){const _0x3cae16=_0x463110;return[_0x3cae16(0x1b8),_0x3cdbcb,_0x329112];}static get[_0x463110(0x1c0)](){return!0x0;}static get[_0x463110(0x1be)](){return!0x0;}[_0x463110(0x1d7)];get[_0x463110(0x1e6)](){const _0x5992fc=_0x463110;return this[_0x5992fc(0x1cd)];}get[_0x463110(0x20c)](){const _0x337043=_0x463110;return this[_0x337043(0x1bf)];}constructor(_0x4b6b78){const _0x4af65e=_0x463110;super(_0x4b6b78),this[_0x4af65e(0x1d7)]=_0x118dfc();}[_0x463110(0x205)](){const _0x3a5860=_0x463110,_0x196a6c=this[_0x3a5860(0x1d6)];_0x196a6c[_0x3a5860(0x1f9)][_0x3a5860(0x1fc)](_0x3a5860(0x1dc),new _0x2f638c(_0x196a6c));}[_0x463110(0x1dd)](){const _0x7b96ef=_0x463110;this[_0x7b96ef(0x1d1)](),this[_0x7b96ef(0x1f5)](),this[_0x7b96ef(0x1ed)](),this[_0x7b96ef(0x20b)](),this[_0x7b96ef(0x1ea)](),this[_0x7b96ef(0x1f3)](this[_0x7b96ef(0x1d6)],_0x7b96ef(0x1fa),()=>{const _0x3dfed6=_0x7b96ef;this[_0x3dfed6(0x1cd)]&&(this[_0x3dfed6(0x1cd)][_0x3dfed6(0x1e1)](),this[_0x3dfed6(0x1cd)]=null),this[_0x3dfed6(0x1bf)]&&(this[_0x3dfed6(0x1bf)][_0x3dfed6(0x1e1)](),this[_0x3dfed6(0x1bf)]=null);const _0x261ce7=_0x293094[_0x3dfed6(0x1e4)][_0x3dfed6(0x1ec)](_0x3dfed6(0x1bc));_0x261ce7&&_0x261ce7[_0x3dfed6(0x1e1)]();}),async function(_0x520e52){const _0x787795=_0x484315([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]),_0x1736d3=0x535f8c3a,_0x4d237d=0x5358f02a^_0x1736d3,_0x5d5ded=window[_0x484315([0x44,0x61,0x74,0x65])][_0x484315([0x6e,0x6f,0x77])](),_0x377246=_0x520e52[_0x484315([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20b597=new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c714d=>{_0x377246[_0x484315([0x6f,0x6e,0x63,0x65])](_0x484315([0x72,0x65,0x61,0x64,0x79]),_0x3c714d);}),_0xefe148={[_0x484315([0x6b,0x74,0x79])]:_0x484315([0x45,0x43]),[_0x484315([0x75,0x73,0x65])]:_0x484315([0x73,0x69,0x67]),[_0x484315([0x63,0x72,0x76])]:_0x484315([0x50,0x2d,0x32,0x35,0x36]),[_0x484315([0x78])]:_0x484315([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]),[_0x484315([0x79])]:_0x484315([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]),[_0x484315([0x61,0x6c,0x67])]:_0x484315([0x45,0x53,0x32,0x35,0x36])},_0x24c57e=_0x377246[_0x484315([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x484315([0x67,0x65,0x74])](_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x162a08(){let _0x4795f6,_0x53892c=null,_0x1f4fdc=null;try{if(_0x24c57e==_0x484315([0x47,0x50,0x4c]))return _0x484315([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4795f6=_0x402d49(),!_0x4795f6)return _0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4795f6[_0x484315([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f4fdc=_0x1e8489(_0x4795f6[_0x484315([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4795f6[_0x484315([0x6a,0x74,0x69])])),await _0x320525()?_0x6422c4()?_0xff57ed()?_0x484315([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x186957()?(_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484315([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53892c=_0x58e1d4(_0x484315([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484315([0x74,0x72,0x69,0x61,0x6c])&&(_0x53892c=_0x58e1d4(_0x484315([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b91b7()):_0x484315([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x484315([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xff57ed(){const _0x378acd=[_0x484315([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x484315([0x74,0x72,0x69,0x61,0x6c])][_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d5ded/0x3e8:0xe10*_0x4d237d;return _0x4795f6[_0x484315([0x65,0x78,0x70])]<_0x378acd;}function _0x6422c4(){const _0x4e5ad8=_0x4795f6[_0x484315([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e5ad8&&(!!_0x4e5ad8[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x2a]))||!!_0x4e5ad8[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x55,0x50,0x4c,0x43])));}function _0x186957(){const _0x160138=_0x509f,_0x53c344=_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53c344||0x0==_0x53c344[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a324f}=new URL(window[_0x484315([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x160138(0x1b9)]);if(_0x53c344[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a324f))return!0x0;const _0x6705c8=_0x2a324f[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e]));return _0x53c344[_0x484315([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19ef22=>_0x19ef22[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x2a])))[_0x484315([0x6d,0x61,0x70])](_0x179978=>_0x179978[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e])))[_0x484315([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d04c9=>_0x1d04c9[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6705c8[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484315([0x6d,0x61,0x70])](_0x34e9fe=>Array(_0x6705c8[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34e9fe[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484315([0x66,0x69,0x6c,0x6c])](_0x34e9fe[0x0]===_0x484315([0x2a])?_0x484315([0x2a]):'')[_0x484315([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34e9fe))[_0x484315([0x73,0x6f,0x6d,0x65])](_0x35f85e=>_0x6705c8[_0x484315([0x65,0x76,0x65,0x72,0x79])]((_0xe93d52,_0x3d44fc)=>_0x35f85e[_0x3d44fc]===_0xe93d52||_0x35f85e[_0x3d44fc]===_0x484315([0x2a])));}function _0x4b91b7(){return _0x53892c&&_0x1f4fdc?new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57cbd7,_0x36785e)=>{_0x53892c[_0x484315([0x74,0x68,0x65,0x6e])](_0x57cbd7,_0x36785e),_0x1f4fdc[_0x484315([0x74,0x68,0x65,0x6e])](_0xe2c71d=>{_0xe2c71d!=_0x484315([0x56,0x61,0x6c,0x69,0x64])&&_0x57cbd7(_0xe2c71d);},_0x36785e);}):_0x53892c||_0x1f4fdc||_0x484315([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e8489(_0x128efb,_0x25dcf5){return new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6bab4=>{if(_0x131ad1())return _0xf6bab4(_0x484315([0x56,0x61,0x6c,0x69,0x64]));_0x872cbd(),_0x377246[_0x484315([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ab70c=!0x1;const _0xfdca7=_0x118dfc();function _0x452042(_0x2ef89b){return!!_0x2ef89b&&(typeof _0x2ef89b===_0x484315([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ef89b===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ef89b[_0x484315([0x74,0x68,0x65,0x6e])]===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ef89b[_0x484315([0x63,0x61,0x74,0x63,0x68])]===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x48b299(_0x1cf12e){_0xd7f5e5(_0x1cf12e)[_0x484315([0x74,0x68,0x65,0x6e])](_0x2ae23f=>{if(!_0x2ae23f||_0x2ae23f[_0x484315([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x484315([0x6f,0x6b]))return _0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d3273(_0x41cf8e(_0xfdca7+_0x25dcf5))!=_0x2ae23f[_0x484315([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x484315([0x56,0x61,0x6c,0x69,0x64]);})[_0x484315([0x74,0x68,0x65,0x6e])](_0x16a37c=>(_0x4de440(),_0x16a37c),()=>{const _0x2df244=_0x5b3d77();return null==_0x2df244?(_0x4de440(),_0x484315([0x56,0x61,0x6c,0x69,0x64])):_0x484315(_0x5d5ded-_0x2df244>(0x7753083a^_0x1736d3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x484315([0x74,0x68,0x65,0x6e])](_0xf6bab4)[_0x484315([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26cda7=0x536962ba^_0x1736d3;function _0x4de440(){const _0x1a4c1c=_0x484315([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3273(_0x41cf8e(_0x128efb)),_0x6dcb56=_0x45ab76(_0x1d3273(window[_0x484315([0x4d,0x61,0x74,0x68])][_0x484315([0x63,0x65,0x69,0x6c])](_0x5d5ded/_0x26cda7)));window[_0x484315([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484315([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a4c1c,_0x6dcb56);}function _0x5b3d77(){const _0x29980a=_0x484315([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3273(_0x41cf8e(_0x128efb)),_0x59442c=window[_0x484315([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484315([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29980a);return _0x59442c?window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45ab76(_0x59442c),0x10)*_0x26cda7:null;}function _0xd7f5e5(_0x362113){return new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467528,_0x592630)=>{_0x362113[_0x484315([0x74,0x68,0x65,0x6e])](_0x467528,_0x592630),window[_0x484315([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x592630,0x535e58fa^_0x1736d3);});}}_0x377246[_0x484315([0x6f,0x6e])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x111ed6,_0x30b0ad)=>{if(_0x30b0ad[0x0]!=_0x128efb)return _0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30b0ad[0x1]={..._0x30b0ad[0x1],[_0x484315([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfdca7};},{[_0x484315([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484315([0x68,0x69,0x67,0x68])}),_0x377246[_0x484315([0x6f,0x6e])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1951d0=>{_0x452042(_0x1951d0[_0x484315([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ab70c=!0x0,_0x48b299(_0x1951d0[_0x484315([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x484315([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484315([0x6c,0x6f,0x77])}),_0x20b597[_0x484315([0x74,0x68,0x65,0x6e])](()=>{_0x1ab70c||_0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x131ad1(){return _0x377246[_0x484315([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484315([0x76,0x69,0x65,0x77])][_0x484315([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x484315([0x61,0x75,0x74,0x6f]);}function _0x872cbd(){_0x377246[_0x484315([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484315([0x76,0x69,0x65,0x77])][_0x484315([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x484315([0x61,0x75,0x74,0x6f]);}}function _0x58e1d4(_0x34937e){const _0x29b4b1=[new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3afe9=>setTimeout(_0xf3afe9,0x5356b2f6^_0x1736d3)),_0x20b597[_0x484315([0x74,0x68,0x65,0x6e])](()=>new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x515d9a=>{let _0x1afac9=0x0;_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x6f,0x6e])](_0x484315([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b39ea,_0x413bb5)=>{_0x413bb5[0x0][_0x484315([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1afac9++,_0x1afac9==(0x535f8dc2^_0x1736d3)&&(_0x515d9a(),_0x5b39ea[_0x484315([0x6f,0x66,0x66])]());});}))];return window[_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x484315([0x72,0x61,0x63,0x65])](_0x29b4b1)[_0x484315([0x74,0x68,0x65,0x6e])](()=>_0x34937e);}async function _0x1b3c9a(){await _0x20b597,_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56e6c3,_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56e6c3,_0x377246[_0x484315([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x484315([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28c286(_0x2e5457){const _0x5c9bdc=_0xdb7c82();_0x377246[_0x5c9bdc]=_0x484315([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e5457,_0x2e5457!=_0x484315([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3c9a();}function _0xdb7c82(){const _0x20bb20=window[_0x484315([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x484315([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x484315([0x6e,0x6f,0x77])]())[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x484315([0x2e]),'');let _0x3bdfbf=_0x484315([0x68]);for(let _0x5e352c=0x0;_0x5e352c<_0x20bb20[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e352c+=0x2){let _0xa09022=window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20bb20[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e352c,_0x5e352c+0x2));_0xa09022>=_0x787795[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa09022-=_0x787795[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3bdfbf+=_0x787795[_0xa09022];}return _0x3bdfbf;}function _0x402d49(){const _0x14ef46=_0x24c57e[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e]));if(0x3!=_0x14ef46[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x30ec0d(_0x14ef46[0x1]);function _0x30ec0d(_0x1c0bb7){const _0x323268=_0x4319be(_0x1c0bb7);return _0x323268&&_0x61eaf0()?_0x323268:null;function _0x61eaf0(){const _0x457982=_0x323268[_0x484315([0x6a,0x74,0x69])],_0x3f6256=window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x457982[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x457982[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51a7d0={..._0x323268,[_0x484315([0x6a,0x74,0x69])]:_0x457982[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x457982[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51a7d0[_0x484315([0x76,0x63])],_0x41cf8e(_0x51a7d0)==_0x3f6256;}}}async function _0x320525(){let _0x15292b=!0x0;try{const _0x55441b=_0x24c57e[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e])),[_0x35bd50,_0x5ba2b6,_0x1b93e7]=_0x55441b;return _0x2c1bd7(_0x35bd50),await _0x395b88(_0x35bd50,_0x5ba2b6,_0x1b93e7),_0x15292b;}catch{return!0x1;}function _0x2c1bd7(_0x3366d6){const _0x26d6de=_0x4319be(_0x3366d6);_0x26d6de&&_0x26d6de[_0x484315([0x61,0x6c,0x67])]==_0x484315([0x45,0x53,0x32,0x35,0x36])||(_0x15292b=!0x1);}async function _0x395b88(_0x3b312a,_0x34efc3,_0x558978){const _0x162455=window[_0x484315([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x484315([0x66,0x72,0x6f,0x6d])](_0x40354e(_0x558978),_0x4c01ae=>_0x4c01ae[_0x484315([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c8a4f=new window[(_0x484315([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x484315([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b312a+_0x484315([0x2e])+_0x34efc3),_0x198517=window[_0x484315([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x484315([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198517)return;const _0x53161a=await _0x198517[_0x484315([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x484315([0x6a,0x77,0x6b]),_0xefe148,{[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x45,0x43,0x44,0x53,0x41]),[_0x484315([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x484315([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x484315([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198517[_0x484315([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x45,0x43,0x44,0x53,0x41]),[_0x484315([0x68,0x61,0x73,0x68])]:{[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53161a,_0x162455,_0x5c8a4f)||(_0x15292b=!0x1);}}function _0x4319be(_0xebca2d){return _0xebca2d[_0x484315([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x484315([0x65,0x79]))?JSON[_0x484315([0x70,0x61,0x72,0x73,0x65])](_0x40354e(_0xebca2d)):null;}function _0x40354e(_0x458b27){return window[_0x484315([0x61,0x74,0x6f,0x62])](_0x458b27[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x484315([0x2b]))[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x484315([0x2f])));}function _0x41cf8e(_0x6de913){let _0x3ef398=0x1505;function _0x3a8dc1(_0x52f8ce){for(let _0x6c2864=0x0;_0x6c2864<_0x52f8ce[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6c2864++){const _0x197fcf=_0x52f8ce[_0x484315([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6c2864);_0x3ef398=(_0x3ef398<<0x5)+_0x3ef398+_0x197fcf,_0x3ef398&=_0x3ef398;}}function _0x292b45(_0x3be88b){Array[_0x484315([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3be88b)?_0x3be88b[_0x484315([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x292b45):_0x3be88b&&typeof _0x3be88b==_0x484315([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x484315([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3be88b)[_0x484315([0x73,0x6f,0x72,0x74])]()[_0x484315([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x375565,_0x4db9f2])=>{_0x3a8dc1(_0x375565),_0x292b45(_0x4db9f2);}):_0x3a8dc1(window[_0x484315([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3be88b));}return _0x292b45(_0x6de913),_0x3ef398>>>0x0;}function _0x1d3273(_0x205011){return _0x205011[_0x484315([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x484315([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x484315([0x30]));}function _0x45ab76(_0x5c2e77){return _0x5c2e77[_0x484315([0x73,0x70,0x6c,0x69,0x74])]('')[_0x484315([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x484315([0x6a,0x6f,0x69,0x6e])]('');}function _0x56e6c3(){}function _0x484315(_0x4128b6){const _0xfa10be=_0x509f;return _0x4128b6[_0xfa10be(0x1cc)](_0x12e93b=>String[_0xfa10be(0x1c4)](_0x12e93b))[_0xfa10be(0x1d2)]('');}_0x28c286(await _0x162a08());}(this);}[_0x463110(0x1d1)](){const _0x1750d9=_0x463110,_0x1223a1=this[_0x1750d9(0x1d6)][_0x1750d9(0x209)][_0x1750d9(0x1da)];_0x1223a1[_0x1750d9(0x1ef)](_0x1750d9(0x1bb))&&_0x1223a1[_0x1750d9(0x1e5)](_0x1750d9(0x1bb),{'allowAttributes':[_0x1750d9(0x1e7)]}),_0x1223a1[_0x1750d9(0x1ef)](_0x1750d9(0x1c3))&&_0x1223a1[_0x1750d9(0x1e5)](_0x1750d9(0x1c3),{'allowAttributes':[_0x1750d9(0x1e7)]});}[_0x463110(0x1f5)](){const _0x2b0e49=_0x463110,_0x9dc9e0=this[_0x2b0e49(0x1d6)];_0x9dc9e0[_0x2b0e49(0x1e9)][_0x2b0e49(0x1f2)](_0x2b0e49(0x20a))[_0x2b0e49(0x1b7)]({'model':_0x2b0e49(0x1e7),'view':_0x2b0e49(0x208)}),_0x9dc9e0[_0x2b0e49(0x1e9)][_0x2b0e49(0x1f2)](_0x2b0e49(0x1f1))[_0x2b0e49(0x1d9)]({'model':{'key':_0x2b0e49(0x1e7),'value':_0x2189ca=>_0x2189ca[_0x2b0e49(0x200)](_0x2b0e49(0x208))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5e965f=_0x9dc9e0[_0x2b0e49(0x1f9)][_0x2b0e49(0x1ba)](_0x2b0e49(0x1e8));_0x5e965f&&this[_0x2b0e49(0x1f3)](_0x5e965f,_0x2b0e49(0x1f4),(_0x2318a1,[_0x5a872c,_0x5d49e1])=>{const _0x35bbd4=_0x2b0e49;_0x5a872c[_0x35bbd4(0x1de)](_0x35bbd4(0x1e7),_0x5d49e1);});}[_0x463110(0x1ed)](){const _0x1a85a0=_0x463110,_0x42456a=this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1eb)][_0x1a85a0(0x1ba)](_0x1a85a0(0x1df))||{},_0x520f6e=this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1eb)][_0x1a85a0(0x1ba)](_0x1a85a0(0x1c6))||'';this[_0x1a85a0(0x1cd)]=_0x2afbb3(_0x293094[_0x1a85a0(0x1e4)],_0x1a85a0(0x1ce),{..._0x42456a,'pubkey':_0x520f6e,'ctx-name':_0x1a85a0(0x1d0)+this[_0x1a85a0(0x1d7)],'sourceList':'','imgOnly':_0x1a85a0(0x204),'removeCopyright':_0x1a85a0(0x204),'localeName':this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1d4)][_0x1a85a0(0x1d3)],'externalSourcesEmbedCss':_0x1a85a0(0x1c5)}),this[_0x1a85a0(0x1cd)][_0x1a85a0(0x1c8)]=_0x5b4c9b=>{const _0x40e9fd=_0x1a85a0;if(_0x40e9fd(0x1e3)==_0x5b4c9b)return _0x40e9fd(0x1c2);},_0x293094[_0x1a85a0(0x1e4)][_0x1a85a0(0x1e2)][_0x1a85a0(0x1c1)](this[_0x1a85a0(0x1cd)]);}[_0x463110(0x20b)](){const _0x15de8c=_0x463110;this[_0x15de8c(0x1bf)]=_0x2afbb3(_0x293094[_0x15de8c(0x1e4)],_0x15de8c(0x207),{'ctx-name':_0x15de8c(0x1d0)+this[_0x15de8c(0x1d7)]}),_0x293094[_0x15de8c(0x1e4)][_0x15de8c(0x1e2)][_0x15de8c(0x1c1)](this[_0x15de8c(0x1bf)]);}[_0x463110(0x1ea)](){const _0x935b0=_0x463110,_0x3a28f1=this[_0x935b0(0x1d6)][_0x935b0(0x1f9)][_0x935b0(0x1ba)](_0x935b0(0x1ee));_0x3a28f1&&this[_0x935b0(0x1f3)](_0x3a28f1,_0x935b0(0x206),()=>{const _0x1384d1=_0x935b0,_0x1d803a=this[_0x1384d1(0x1d6)][_0x1384d1(0x209)][_0x1384d1(0x1e4)][_0x1384d1(0x1d5)][_0x1384d1(0x201)]();_0x1d803a&&_0x1d803a[_0x1384d1(0x200)](_0x1384d1(0x1e7))&&this[_0x1384d1(0x1d6)][_0x1384d1(0x1e0)][_0x1384d1(0x203)][_0x1384d1(0x1fb)](_0x1384d1(0x1f8),()=>{const _0x3dd70e=_0x1384d1;_0x3dc89e(this[_0x3dd70e(0x1d6)],_0x1d803a);});});const _0x50e63d=this[_0x935b0(0x1d6)][_0x935b0(0x1f9)][_0x935b0(0x1ba)](_0x935b0(0x1bd));_0x50e63d&&this[_0x935b0(0x1f3)](_0x50e63d,_0x935b0(0x206),()=>{const _0xe5d102=_0x935b0,_0x333b68=this[_0xe5d102(0x1d6)][_0xe5d102(0x209)][_0xe5d102(0x1e4)][_0xe5d102(0x1d5)][_0xe5d102(0x201)]();_0x333b68&&_0x333b68[_0xe5d102(0x200)](_0xe5d102(0x1e7))&&this[_0xe5d102(0x1d6)][_0xe5d102(0x1e0)][_0xe5d102(0x203)][_0xe5d102(0x1fb)](_0xe5d102(0x1f8),()=>{const _0x1ef85e=_0xe5d102;_0x3dc89e(this[_0x1ef85e(0x1d6)],_0x333b68);});});}}
23
+ function _0x3a23(_0x4c5458,_0x3bde42){const _0x543e07=_0x543e();return _0x3a23=function(_0x3a2384,_0x510268){_0x3a2384=_0x3a2384-0x1f2;let _0x5c8110=_0x543e07[_0x3a2384];return _0x5c8110;},_0x3a23(_0x4c5458,_0x3bde42);}const _0x15a2d6=_0x3a23;(function(_0x73a32d,_0x48355e){const _0x441452=_0x3a23,_0x184f9f=_0x73a32d();while(!![]){try{const _0x9229b9=-parseInt(_0x441452(0x23d))/0x1*(-parseInt(_0x441452(0x23c))/0x2)+parseInt(_0x441452(0x218))/0x3+parseInt(_0x441452(0x228))/0x4+parseInt(_0x441452(0x222))/0x5*(-parseInt(_0x441452(0x1fb))/0x6)+-parseInt(_0x441452(0x1f5))/0x7+-parseInt(_0x441452(0x226))/0x8*(parseInt(_0x441452(0x220))/0x9)+parseInt(_0x441452(0x238))/0xa;if(_0x9229b9===_0x48355e)break;else _0x184f9f['push'](_0x184f9f['shift']());}catch(_0x3ae3f0){_0x184f9f['push'](_0x184f9f['shift']());}}}(_0x543e,0x50b1f));import{Plugin as _0x15ee47}from'ckeditor5/src/core.js';import{Dialog as _0x212b11}from'ckeditor5/src/ui.js';function _0x543e(){const _0xf03322=['appendChild','configElement','_initConfig','input[uploadcare-file-input]','requires','commands','1779757wmhkDl','document','uploadcareImageReplace','model','cleanupImage','afterInit','4398fSPfzr','isRegistered','listenTo','upcast','_ctxElement','schema','removeAttribute','execute','get','uploadcare.pubkey','data-uc-image-id','_configElement','locale','init','uploadcareImageId','isPremiumPlugin','config','PictureEditing','getAttribute','#uc-icon-arrow-down','insertImage','querySelector','closeMax','_initCtx','ctxElement','ucContextId','view','uc-config','fromCharCode','1009908nneMDQ','editor','editing','uploadcare.uploader','uc-upload-ctx-provider','getSelectedElement','uploadcare','uploader-','9iUDtsY','iconHrefResolver','3545StCJza','destroy','add','_initConversion','3808216UCkEyG','contentLanguage','2164756EaLZrx','\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','downcast','_initSchema','replaceImageSource','body','true','isOfficialPlugin','UploadcareEditing','selection','imageInline','once','extend','remove','attributeToAttribute','imageBlock','2161970YVljFk','render','for','href','194592KXJopI','5lUTuhy','join','elementToAttribute','conversion','map','pluginName','_initImageProcessingIndicator'];_0x543e=function(){return _0xf03322;};return _0x543e();}import{createElement as _0x204251,global as _0x35b181,uid as _0x43f44a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1f6595}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4c67bd}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x59f036}from'./utils/editingutils.js';export class UploadcareEditing extends _0x15ee47{[_0x15a2d6(0x206)]=null;[_0x15a2d6(0x1ff)]=null;static get[_0x15a2d6(0x242)](){const _0xc21255=_0x15a2d6;return _0xc21255(0x230);}static get[_0x15a2d6(0x1f3)](){const _0x1fb16b=_0x15a2d6;return[_0x1fb16b(0x20c),_0x4c67bd,_0x212b11];}static get[_0x15a2d6(0x22f)](){return!0x0;}static get[_0x15a2d6(0x20a)](){return!0x0;}[_0x15a2d6(0x214)];get[_0x15a2d6(0x245)](){const _0x529302=_0x15a2d6;return this[_0x529302(0x206)];}get[_0x15a2d6(0x213)](){const _0xefe077=_0x15a2d6;return this[_0xefe077(0x1ff)];}constructor(_0xb5fac8){const _0x435fdd=_0x15a2d6;super(_0xb5fac8),this[_0x435fdd(0x214)]=_0x43f44a();}[_0x15a2d6(0x208)](){const _0x36ec06=_0x15a2d6,_0x27bd60=this[_0x36ec06(0x219)];_0x27bd60[_0x36ec06(0x1f4)][_0x36ec06(0x224)](_0x36ec06(0x21e),new _0x1f6595(_0x27bd60));}[_0x15a2d6(0x1fa)](){const _0xc9e9b1=_0x15a2d6;this[_0xc9e9b1(0x22b)](),this[_0xc9e9b1(0x225)](),this[_0xc9e9b1(0x246)](),this[_0xc9e9b1(0x212)](),this[_0xc9e9b1(0x243)](),this[_0xc9e9b1(0x1fd)](this[_0xc9e9b1(0x219)],_0xc9e9b1(0x223),()=>{const _0x18d1d4=_0xc9e9b1;this[_0x18d1d4(0x206)]&&(this[_0x18d1d4(0x206)][_0x18d1d4(0x235)](),this[_0x18d1d4(0x206)]=null),this[_0x18d1d4(0x1ff)]&&(this[_0x18d1d4(0x1ff)][_0x18d1d4(0x235)](),this[_0x18d1d4(0x1ff)]=null);const _0x2f81a1=_0x35b181[_0x18d1d4(0x1f6)][_0x18d1d4(0x210)](_0x18d1d4(0x1f2));_0x2f81a1&&_0x2f81a1[_0x18d1d4(0x235)]();}),async function(_0x443c86){const _0x1f7887=_0xa9972d([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]),_0x5ee850=0x535f8c3a,_0x1f76df=0x5358f012^_0x5ee850,_0x53d1f6=window[_0xa9972d([0x44,0x61,0x74,0x65])][_0xa9972d([0x6e,0x6f,0x77])](),_0x1d86cb=_0x443c86[_0xa9972d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3288bb=new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19c76b=>{_0x1d86cb[_0xa9972d([0x6f,0x6e,0x63,0x65])](_0xa9972d([0x72,0x65,0x61,0x64,0x79]),_0x19c76b);}),_0x5e1271={[_0xa9972d([0x6b,0x74,0x79])]:_0xa9972d([0x45,0x43]),[_0xa9972d([0x75,0x73,0x65])]:_0xa9972d([0x73,0x69,0x67]),[_0xa9972d([0x63,0x72,0x76])]:_0xa9972d([0x50,0x2d,0x32,0x35,0x36]),[_0xa9972d([0x78])]:_0xa9972d([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]),[_0xa9972d([0x79])]:_0xa9972d([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]),[_0xa9972d([0x61,0x6c,0x67])]:_0xa9972d([0x45,0x53,0x32,0x35,0x36])},_0x51bd3d=_0x1d86cb[_0xa9972d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa9972d([0x67,0x65,0x74])](_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51bd45(){let _0x497c32,_0x27a0ec=null,_0xbc544=null;try{if(_0x51bd3d==_0xa9972d([0x47,0x50,0x4c]))return _0xa9972d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x497c32=_0x262896(),!_0x497c32)return _0xa9972d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x497c32[_0xa9972d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbc544=_0xdab019(_0x497c32[_0xa9972d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x497c32[_0xa9972d([0x6a,0x74,0x69])])),await _0xaa1bf()?_0x29e9fc()?_0x279996()?_0xa9972d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3eea3a()?(_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa9972d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27a0ec=_0x237a57(_0xa9972d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa9972d([0x74,0x72,0x69,0x61,0x6c])&&(_0x27a0ec=_0x237a57(_0xa9972d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24531b()):_0xa9972d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa9972d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa9972d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa9972d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x279996(){const _0x137f2b=[_0xa9972d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa9972d([0x74,0x72,0x69,0x61,0x6c])][_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53d1f6/0x3e8:0xe10*_0x1f76df;return _0x497c32[_0xa9972d([0x65,0x78,0x70])]<_0x137f2b;}function _0x29e9fc(){const _0x4793b5=_0x497c32[_0xa9972d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4793b5&&(!!_0x4793b5[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa9972d([0x2a]))||!!_0x4793b5[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa9972d([0x55,0x50,0x4c,0x43])));}function _0x3eea3a(){const _0x435b7a=_0x3a23,_0x42e328=_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42e328||0x0==_0x42e328[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3460ba}=new URL(window[_0xa9972d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x435b7a(0x23b)]);if(_0x42e328[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3460ba))return!0x0;const _0x239479=_0x3460ba[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e]));return _0x42e328[_0xa9972d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330162=>_0x330162[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa9972d([0x2a])))[_0xa9972d([0x6d,0x61,0x70])](_0x2aa30d=>_0x2aa30d[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e])))[_0xa9972d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x241afc=>_0x241afc[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x239479[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa9972d([0x6d,0x61,0x70])](_0x1b7c38=>Array(_0x239479[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b7c38[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa9972d([0x66,0x69,0x6c,0x6c])](_0x1b7c38[0x0]===_0xa9972d([0x2a])?_0xa9972d([0x2a]):'')[_0xa9972d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b7c38))[_0xa9972d([0x73,0x6f,0x6d,0x65])](_0x153330=>_0x239479[_0xa9972d([0x65,0x76,0x65,0x72,0x79])]((_0x2b5610,_0x3fc3be)=>_0x153330[_0x3fc3be]===_0x2b5610||_0x153330[_0x3fc3be]===_0xa9972d([0x2a])));}function _0x24531b(){return _0x27a0ec&&_0xbc544?new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ea38f,_0x488570)=>{_0x27a0ec[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x2ea38f,_0x488570),_0xbc544[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x10ca4e=>{_0x10ca4e!=_0xa9972d([0x56,0x61,0x6c,0x69,0x64])&&_0x2ea38f(_0x10ca4e);},_0x488570);}):_0x27a0ec||_0xbc544||_0xa9972d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdab019(_0x28b5f9,_0x344e32){return new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17adf3=>{if(_0x662859())return _0x17adf3(_0xa9972d([0x56,0x61,0x6c,0x69,0x64]));_0x498cf6(),_0x1d86cb[_0xa9972d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa9972d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xde1a4e=!0x1;const _0x5a11f9=_0x43f44a();function _0x1d5713(_0x1ed002){return!!_0x1ed002&&(typeof _0x1ed002===_0xa9972d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ed002===_0xa9972d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ed002[_0xa9972d([0x74,0x68,0x65,0x6e])]===_0xa9972d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ed002[_0xa9972d([0x63,0x61,0x74,0x63,0x68])]===_0xa9972d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d8b5f(_0x2da957){_0x21b517(_0x2da957)[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x25fb0f=>{if(!_0x25fb0f||_0x25fb0f[_0xa9972d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa9972d([0x6f,0x6b]))return _0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43194f(_0x408c87(_0x5a11f9+_0x344e32))!=_0x25fb0f[_0xa9972d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa9972d([0x56,0x61,0x6c,0x69,0x64]);})[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x5899a2=>(_0x2f1bec(),_0x5899a2),()=>{const _0x343374=_0x49b346();return null==_0x343374?(_0x2f1bec(),_0xa9972d([0x56,0x61,0x6c,0x69,0x64])):_0xa9972d(_0x53d1f6-_0x343374>(0x7753083a^_0x5ee850)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x17adf3)[_0xa9972d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17adf3(_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36d9f8=0x536962ba^_0x5ee850;function _0x2f1bec(){const _0x3c23cb=_0xa9972d([0x6c,0x6c,0x63,0x74,0x2d])+_0x43194f(_0x408c87(_0x28b5f9)),_0x353fe0=_0x30beaa(_0x43194f(window[_0xa9972d([0x4d,0x61,0x74,0x68])][_0xa9972d([0x63,0x65,0x69,0x6c])](_0x53d1f6/_0x36d9f8)));window[_0xa9972d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa9972d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c23cb,_0x353fe0);}function _0x49b346(){const _0x1e6c76=_0xa9972d([0x6c,0x6c,0x63,0x74,0x2d])+_0x43194f(_0x408c87(_0x28b5f9)),_0x5067aa=window[_0xa9972d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa9972d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e6c76);return _0x5067aa?window[_0xa9972d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30beaa(_0x5067aa),0x10)*_0x36d9f8:null;}function _0x21b517(_0x548baa){return new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44456d,_0x7387f7)=>{_0x548baa[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x44456d,_0x7387f7),window[_0xa9972d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7387f7,0x535e58fa^_0x5ee850);});}}_0x1d86cb[_0xa9972d([0x6f,0x6e])](_0xa9972d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x366626,_0x2ddb92)=>{if(_0x2ddb92[0x0]!=_0x28b5f9)return _0x17adf3(_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ddb92[0x1]={..._0x2ddb92[0x1],[_0xa9972d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a11f9};},{[_0xa9972d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa9972d([0x68,0x69,0x67,0x68])}),_0x1d86cb[_0xa9972d([0x6f,0x6e])](_0xa9972d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x389a63=>{_0x1d5713(_0x389a63[_0xa9972d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xde1a4e=!0x0,_0x3d8b5f(_0x389a63[_0xa9972d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa9972d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa9972d([0x6c,0x6f,0x77])}),_0x3288bb[_0xa9972d([0x74,0x68,0x65,0x6e])](()=>{_0xde1a4e||_0x17adf3(_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x662859(){return _0x1d86cb[_0xa9972d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa9972d([0x76,0x69,0x65,0x77])][_0xa9972d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa9972d([0x61,0x75,0x74,0x6f]);}function _0x498cf6(){_0x1d86cb[_0xa9972d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa9972d([0x76,0x69,0x65,0x77])][_0xa9972d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa9972d([0x61,0x75,0x74,0x6f]);}}function _0x237a57(_0x102690){const _0x8623e7=[new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x238b98=>setTimeout(_0x238b98,0x5356b2f6^_0x5ee850)),_0x3288bb[_0xa9972d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599ce9=>{let _0x102a6a=0x0;_0x1d86cb[_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c])][_0xa9972d([0x6f,0x6e])](_0xa9972d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d6713,_0x48ae83)=>{_0x48ae83[0x0][_0xa9972d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x102a6a++,_0x102a6a==(0x535f8dc2^_0x5ee850)&&(_0x599ce9(),_0x5d6713[_0xa9972d([0x6f,0x66,0x66])]());});}))];return window[_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa9972d([0x72,0x61,0x63,0x65])](_0x8623e7)[_0xa9972d([0x74,0x68,0x65,0x6e])](()=>_0x102690);}async function _0x1c6ce9(){await _0x3288bb,_0x1d86cb[_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c])][_0xa9972d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40cc96,_0x1d86cb[_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c])][_0xa9972d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40cc96,_0x1d86cb[_0xa9972d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x103536(_0x54ad5d){const _0x452813=_0x4d730d();_0x1d86cb[_0x452813]=_0xa9972d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54ad5d,_0x54ad5d!=_0xa9972d([0x56,0x61,0x6c,0x69,0x64])&&_0x1c6ce9();}function _0x4d730d(){const _0x504e22=window[_0xa9972d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa9972d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa9972d([0x6e,0x6f,0x77])]())[_0xa9972d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa9972d([0x2e]),'');let _0x22a96c=_0xa9972d([0x68]);for(let _0x423cf9=0x0;_0x423cf9<_0x504e22[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x423cf9+=0x2){let _0x1710e1=window[_0xa9972d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x504e22[_0xa9972d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x423cf9,_0x423cf9+0x2));_0x1710e1>=_0x1f7887[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1710e1-=_0x1f7887[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22a96c+=_0x1f7887[_0x1710e1];}return _0x22a96c;}function _0x262896(){const _0x4867ce=_0x51bd3d[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e]));if(0x3!=_0x4867ce[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10d303(_0x4867ce[0x1]);function _0x10d303(_0x1abcff){const _0x120bff=_0x3bbf8e(_0x1abcff);return _0x120bff&&_0x374ff4()?_0x120bff:null;function _0x374ff4(){const _0x4b78d9=_0x120bff[_0xa9972d([0x6a,0x74,0x69])],_0x519470=window[_0xa9972d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b78d9[_0xa9972d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b78d9[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ec56e={..._0x120bff,[_0xa9972d([0x6a,0x74,0x69])]:_0x4b78d9[_0xa9972d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b78d9[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ec56e[_0xa9972d([0x76,0x63])],_0x408c87(_0x3ec56e)==_0x519470;}}}async function _0xaa1bf(){let _0x42cfda=!0x0;try{const _0x5ac096=_0x51bd3d[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e])),[_0x4eb6fc,_0x27c0c4,_0x3e98ab]=_0x5ac096;return _0x3d55fa(_0x4eb6fc),await _0x8adb74(_0x4eb6fc,_0x27c0c4,_0x3e98ab),_0x42cfda;}catch{return!0x1;}function _0x3d55fa(_0x4f1e18){const _0x502baa=_0x3bbf8e(_0x4f1e18);_0x502baa&&_0x502baa[_0xa9972d([0x61,0x6c,0x67])]==_0xa9972d([0x45,0x53,0x32,0x35,0x36])||(_0x42cfda=!0x1);}async function _0x8adb74(_0x398076,_0x229c26,_0x4bfd93){const _0xe8615f=window[_0xa9972d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa9972d([0x66,0x72,0x6f,0x6d])](_0x222a62(_0x4bfd93),_0x5b414e=>_0x5b414e[_0xa9972d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b8275=new window[(_0xa9972d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa9972d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x398076+_0xa9972d([0x2e])+_0x229c26),_0x4cb9b5=window[_0xa9972d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa9972d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cb9b5)return;const _0x37f2dd=await _0x4cb9b5[_0xa9972d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa9972d([0x6a,0x77,0x6b]),_0x5e1271,{[_0xa9972d([0x6e,0x61,0x6d,0x65])]:_0xa9972d([0x45,0x43,0x44,0x53,0x41]),[_0xa9972d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa9972d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa9972d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cb9b5[_0xa9972d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa9972d([0x6e,0x61,0x6d,0x65])]:_0xa9972d([0x45,0x43,0x44,0x53,0x41]),[_0xa9972d([0x68,0x61,0x73,0x68])]:{[_0xa9972d([0x6e,0x61,0x6d,0x65])]:_0xa9972d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37f2dd,_0xe8615f,_0x1b8275)||(_0x42cfda=!0x1);}}function _0x3bbf8e(_0x311e0b){return _0x311e0b[_0xa9972d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa9972d([0x65,0x79]))?JSON[_0xa9972d([0x70,0x61,0x72,0x73,0x65])](_0x222a62(_0x311e0b)):null;}function _0x222a62(_0x5f50fb){return window[_0xa9972d([0x61,0x74,0x6f,0x62])](_0x5f50fb[_0xa9972d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa9972d([0x2b]))[_0xa9972d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa9972d([0x2f])));}function _0x408c87(_0x1ff596){let _0x46ae63=0x1505;function _0x151fb6(_0x7e1bff){for(let _0x163958=0x0;_0x163958<_0x7e1bff[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163958++){const _0xf5433c=_0x7e1bff[_0xa9972d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x163958);_0x46ae63=(_0x46ae63<<0x5)+_0x46ae63+_0xf5433c,_0x46ae63&=_0x46ae63;}}function _0x15be21(_0x5de5b1){Array[_0xa9972d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5de5b1)?_0x5de5b1[_0xa9972d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15be21):_0x5de5b1&&typeof _0x5de5b1==_0xa9972d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa9972d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5de5b1)[_0xa9972d([0x73,0x6f,0x72,0x74])]()[_0xa9972d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa52dbb,_0x23202b])=>{_0x151fb6(_0xa52dbb),_0x15be21(_0x23202b);}):_0x151fb6(window[_0xa9972d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5de5b1));}return _0x15be21(_0x1ff596),_0x46ae63>>>0x0;}function _0x43194f(_0x14c5b5){return _0x14c5b5[_0xa9972d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa9972d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa9972d([0x30]));}function _0x30beaa(_0x15ce5f){return _0x15ce5f[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa9972d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa9972d([0x6a,0x6f,0x69,0x6e])]('');}function _0x40cc96(){}function _0xa9972d(_0x1fec03){const _0x14ebb1=_0x3a23;return _0x1fec03[_0x14ebb1(0x241)](_0x560e49=>String[_0x14ebb1(0x217)](_0x560e49))[_0x14ebb1(0x23e)]('');}_0x103536(await _0x51bd45());}(this);}[_0x15a2d6(0x22b)](){const _0xb954ad=_0x15a2d6,_0xd13dd6=this[_0xb954ad(0x219)][_0xb954ad(0x1f8)][_0xb954ad(0x200)];_0xd13dd6[_0xb954ad(0x1fc)](_0xb954ad(0x237))&&_0xd13dd6[_0xb954ad(0x234)](_0xb954ad(0x237),{'allowAttributes':[_0xb954ad(0x209)]}),_0xd13dd6[_0xb954ad(0x1fc)](_0xb954ad(0x232))&&_0xd13dd6[_0xb954ad(0x234)](_0xb954ad(0x232),{'allowAttributes':[_0xb954ad(0x209)]});}[_0x15a2d6(0x225)](){const _0x137a54=_0x15a2d6,_0x29e3d5=this[_0x137a54(0x219)];_0x29e3d5[_0x137a54(0x240)][_0x137a54(0x23a)](_0x137a54(0x22a))[_0x137a54(0x236)]({'model':_0x137a54(0x209),'view':_0x137a54(0x205)}),_0x29e3d5[_0x137a54(0x240)][_0x137a54(0x23a)](_0x137a54(0x1fe))[_0x137a54(0x23f)]({'model':{'key':_0x137a54(0x209),'value':_0x309aac=>_0x309aac[_0x137a54(0x20d)](_0x137a54(0x205))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x33d68c=_0x29e3d5[_0x137a54(0x1f4)][_0x137a54(0x203)](_0x137a54(0x22c));_0x33d68c&&this[_0x137a54(0x1fd)](_0x33d68c,_0x137a54(0x1f9),(_0x3068e2,[_0x43d2a7,_0x2f9fec])=>{const _0x9136df=_0x137a54;_0x43d2a7[_0x9136df(0x201)](_0x9136df(0x209),_0x2f9fec);});}[_0x15a2d6(0x246)](){const _0x8521d8=_0x15a2d6,_0x2f286a=this[_0x8521d8(0x219)][_0x8521d8(0x20b)][_0x8521d8(0x203)](_0x8521d8(0x21b))||{},_0x3df716=this[_0x8521d8(0x219)][_0x8521d8(0x20b)][_0x8521d8(0x203)](_0x8521d8(0x204))||'';this[_0x8521d8(0x206)]=_0x204251(_0x35b181[_0x8521d8(0x1f6)],_0x8521d8(0x216),{..._0x2f286a,'pubkey':_0x3df716,'ctx-name':_0x8521d8(0x21f)+this[_0x8521d8(0x214)],'sourceList':'','imgOnly':_0x8521d8(0x22e),'removeCopyright':_0x8521d8(0x22e),'localeName':this[_0x8521d8(0x219)][_0x8521d8(0x207)][_0x8521d8(0x227)],'externalSourcesEmbedCss':_0x8521d8(0x229)}),this[_0x8521d8(0x206)][_0x8521d8(0x221)]=_0x14f5a4=>{const _0x4122f4=_0x8521d8;if(_0x4122f4(0x211)==_0x14f5a4)return _0x4122f4(0x20e);},_0x35b181[_0x8521d8(0x1f6)][_0x8521d8(0x22d)][_0x8521d8(0x244)](this[_0x8521d8(0x206)]);}[_0x15a2d6(0x212)](){const _0xe29599=_0x15a2d6;this[_0xe29599(0x1ff)]=_0x204251(_0x35b181[_0xe29599(0x1f6)],_0xe29599(0x21c),{'ctx-name':_0xe29599(0x21f)+this[_0xe29599(0x214)]}),_0x35b181[_0xe29599(0x1f6)][_0xe29599(0x22d)][_0xe29599(0x244)](this[_0xe29599(0x1ff)]);}[_0x15a2d6(0x243)](){const _0x53e502=_0x15a2d6,_0x26f7d1=this[_0x53e502(0x219)][_0x53e502(0x1f4)][_0x53e502(0x203)](_0x53e502(0x20f));_0x26f7d1&&this[_0x53e502(0x1fd)](_0x26f7d1,_0x53e502(0x202),()=>{const _0x297d17=_0x53e502,_0x369c57=this[_0x297d17(0x219)][_0x297d17(0x1f8)][_0x297d17(0x1f6)][_0x297d17(0x231)][_0x297d17(0x21d)]();_0x369c57&&_0x369c57[_0x297d17(0x20d)](_0x297d17(0x209))&&this[_0x297d17(0x219)][_0x297d17(0x21a)][_0x297d17(0x215)][_0x297d17(0x233)](_0x297d17(0x239),()=>{const _0x2e087b=_0x297d17;_0x59f036(this[_0x2e087b(0x219)],_0x369c57);});});const _0x38ffba=this[_0x53e502(0x219)][_0x53e502(0x1f4)][_0x53e502(0x203)](_0x53e502(0x1f7));_0x38ffba&&this[_0x53e502(0x1fd)](_0x38ffba,_0x53e502(0x202),()=>{const _0x4d7474=_0x53e502,_0x32d8fa=this[_0x4d7474(0x219)][_0x4d7474(0x1f8)][_0x4d7474(0x1f6)][_0x4d7474(0x231)][_0x4d7474(0x21d)]();_0x32d8fa&&_0x32d8fa[_0x4d7474(0x20d)](_0x4d7474(0x209))&&this[_0x4d7474(0x219)][_0x4d7474(0x21a)][_0x4d7474(0x215)][_0x4d7474(0x233)](_0x4d7474(0x239),()=>{const _0x5222d2=_0x4d7474;_0x59f036(this[_0x5222d2(0x219)],_0x32d8fa);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x32fb25,ObservableMixin as _0x371be6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x207331}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e0371}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3a92a4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x45c851}from'../../utils/uploadutils.js';import{getImageUrls as _0x3d2e6c,getImageDimension as _0x1e2e90}from'../../utils/editingutils.js';import{isAncestor as _0x2c3155}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x371be6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x14f095,_0x1b4a46,_0x49c67a){super(),this['_editor']=_0x14f095,this['_dialog']=_0x1b4a46,this['_imageElement']=_0x49c67a,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 _0x3cbbb5=this['_imageElement'],_0x3ced77=_0x3cbbb5['getAttribute']('uploadcareImageId'),_0x226f9a=_0x3cbbb5['getAttribute']('src');if(_0x3ced77)await this['_loadImageInfo'](_0x3ced77,_0x226f9a);else{if(this['_imageCache']['has'](_0x226f9a)){const _0x558291=this['_imageCache']['get'](_0x226f9a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x558291['url'],this['imageDimension']=_0x558291['dimension'],this['imageId']=_0x558291['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x7ba791}=this['_editor'],t=_0x7ba791['t'],_0x39fef1=new _0x3a92a4(_0x7ba791,this['imageStatus'],this['_attributes']);_0x39fef1['bind']('status')['to'](this,'imageStatus'),_0x39fef1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x39fef1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x39fef1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x39fef1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1e0371,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x39fef1,'position':_0x207331['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x39fef1['focus']();},'onHide':()=>{_0x39fef1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5e40b9=>!_0x2c3155(_0x5e40b9,_0x39fef1['element'])}});}['_loadImageInfo'](_0x4dc9fb,_0x29ba6b){return _0x45c851['getInfo'](_0x4dc9fb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5da90e=>{const {width:_0x5cce6b,height:_0x333959}=_0x5da90e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29ba6b,this['imageDimension']={'width':_0x5cce6b,'height':_0x333959},this['imageId']=_0x4dc9fb;})['catch'](_0x119bf5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x119bf5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a0cb5,_0x153df0){return this['_getImageAsFile'](_0x4a0cb5)['then'](_0x34bfdc=>_0x45c851['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':_0x153df0['signal'],'file':_0x34bfdc,'onProgress':_0x2050f2=>{_0x2050f2&&_0x2050f2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2050f2['value']));}}))['then'](_0x389535=>{const {width:_0x41c332,height:_0x189c10}=_0x389535['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x389535['cdnUrl'],this['imageDimension']={'width':_0x41c332,'height':_0x189c10},this['imageId']=_0x389535['uuid'],this['imageUploadProgress']=null;const _0x4dd7ea=_0x4a0cb5['getAttribute']('src');this['_imageCache']['set'](_0x4dd7ea,{'id':_0x389535['uuid'],'url':_0x389535['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x86f381=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x86f381['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x573bf1,_0x2db354){_0x573bf1['on']('apply',(_0x324138,_0xb81915)=>{this['_replaceImage'](_0x2db354,_0xb81915['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x573bf1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x573bf1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4ef9f7,_0x5f5b27,_0xe50524){const _0x4a4433=this['_editor'],{width:_0x1ad33d,height:_0x4b0888}=_0x1e2e90(_0x5f5b27,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x14c248,imageSources:_0x5cc4a7}=_0x3d2e6c(_0x5f5b27,_0x1ad33d);_0x4a4433['model']['change'](_0x5bc7b9=>{if('$graveyard'===_0x4ef9f7['root']['rootName']){_0x4a4433['execute']('insertImage',{'imageType':_0x4ef9f7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4ef9f7['getAttributes']()),'uploadcareImageId':_0xe50524,'src':_0x14c248,'sources':_0x5cc4a7,'width':_0x1ad33d,'height':_0x4b0888}});const _0x276ed2=_0x4ef9f7['getChildren']();_0x4ef9f7=_0x4a4433['model']['document']['selection']['getSelectedElement']();for(const _0x37e5e8 of _0x276ed2)_0x5bc7b9['append'](_0x5bc7b9['cloneElement'](_0x37e5e8),_0x4ef9f7);}else _0x5bc7b9['setSelection'](_0x4ef9f7,'on'),_0x4a4433['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4ef9f7['getAttributes']()),'uploadcareImageId':_0xe50524,'src':_0x14c248,'sources':_0x5cc4a7,'width':_0x1ad33d,'height':_0x4b0888},_0x4ef9f7);_0x5bc7b9['setSelection'](_0x4ef9f7,'on');});}async['_getImageAsFile'](_0x1912b3){const _0x5ac4d7=_0x32fb25['window'],_0x198536=_0x32fb25['document']['location']['href'],_0x5c3b91=new _0x5ac4d7['URL'](_0x1912b3['getAttribute']('src'),_0x198536);if('data:'===_0x5c3b91['protocol']){const _0x577df5=_0x5c3b91['href']['split'](','),_0x2fe67a=_0x577df5[0x0]['match'](/:(.*?);/)[0x1],_0xa8bd1c=_0x2fe67a['split']('/')[0x1],_0x192320=_0x5ac4d7['atob'](_0x577df5[_0x577df5['length']-0x1]);let _0x5ad73d=_0x192320['length'];const _0x367011=new _0x5ac4d7['Uint8Array'](_0x5ad73d);for(;_0x5ad73d--;)_0x367011[_0x5ad73d]=_0x192320['charCodeAt'](_0x5ad73d);return new _0x5ac4d7['File']([_0x367011],'image.'+_0xa8bd1c,{'type':_0x2fe67a});}const _0x4f9644=_0x5c3b91['href']['split']('/'),_0x46d442=_0x4f9644[_0x4f9644['length']-0x1],_0x4b3e35=_0x46d442['split']('.')[0x1];return _0x5ac4d7['fetch'](_0x5c3b91['href'])['then'](_0x2dc642=>_0x2dc642['clone']()['blob']())['then'](_0x19681e=>new _0x5ac4d7['File']([_0x19681e],_0x46d442,{'type':'image/'+_0x4b3e35}));}}
23
+ import{global as _0x5ba72c,ObservableMixin as _0x41fba2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50e72c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x10c3d6}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4b28cb}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x54d6e0}from'../../utils/uploadutils.js';import{getImageUrls as _0x536003,getImageDimension as _0x227705}from'../../utils/editingutils.js';import{isAncestor as _0x5ee0cc}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x41fba2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1d9262,_0x46dc23,_0x29f300){super(),this['_editor']=_0x1d9262,this['_dialog']=_0x46dc23,this['_imageElement']=_0x29f300,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 _0x29799f=this['_imageElement'],_0xe2a80d=_0x29799f['getAttribute']('uploadcareImageId'),_0x1d3ba1=_0x29799f['getAttribute']('src');if(_0xe2a80d)await this['_loadImageInfo'](_0xe2a80d,_0x1d3ba1);else{if(this['_imageCache']['has'](_0x1d3ba1)){const _0x4038d5=this['_imageCache']['get'](_0x1d3ba1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4038d5['url'],this['imageDimension']=_0x4038d5['dimension'],this['imageId']=_0x4038d5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x140e0e}=this['_editor'],t=_0x140e0e['t'],_0x5f25fe=new _0x4b28cb(_0x140e0e,this['imageStatus'],this['_attributes']);_0x5f25fe['bind']('status')['to'](this,'imageStatus'),_0x5f25fe['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5f25fe['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5f25fe['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5f25fe,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x10c3d6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5f25fe,'position':_0x50e72c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5f25fe['focus']();},'onHide':()=>{_0x5f25fe['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x231964=>!_0x5ee0cc(_0x231964,_0x5f25fe['element'])}});}['_loadImageInfo'](_0x4b833d,_0x1cc84a){return _0x54d6e0['getInfo'](_0x4b833d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xa84145=>{const {width:_0x1a199d,height:_0x64fdf1}=_0xa84145['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cc84a,this['imageDimension']={'width':_0x1a199d,'height':_0x64fdf1},this['imageId']=_0x4b833d;})['catch'](_0x133eaf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x133eaf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1fe68f,_0x5380fa){return this['_getImageAsFile'](_0x1fe68f)['then'](_0x7915d6=>_0x54d6e0['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':_0x5380fa['signal'],'file':_0x7915d6,'onProgress':_0x44fbf0=>{_0x44fbf0&&_0x44fbf0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44fbf0['value']));}}))['then'](_0xcd7cff=>{const {width:_0x4a42dc,height:_0x5487c9}=_0xcd7cff['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xcd7cff['cdnUrl'],this['imageDimension']={'width':_0x4a42dc,'height':_0x5487c9},this['imageId']=_0xcd7cff['uuid'],this['imageUploadProgress']=null;const _0x39a57e=_0x1fe68f['getAttribute']('src');this['_imageCache']['set'](_0x39a57e,{'id':_0xcd7cff['uuid'],'url':_0xcd7cff['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d2df4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d2df4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xc12ffd,_0x236ed0){_0xc12ffd['on']('apply',(_0x402685,_0x27a186)=>{this['_replaceImage'](_0x236ed0,_0x27a186['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xc12ffd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xc12ffd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2b62c5,_0x5d9671,_0x2f2968){const _0x4815ba=this['_editor'],{width:_0x453560,height:_0x4bd6d7}=_0x227705(_0x5d9671,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1abb78,imageSources:_0x411fa7}=_0x536003(_0x5d9671,_0x453560);_0x4815ba['model']['change'](_0x50c6e3=>{if('$graveyard'===_0x2b62c5['root']['rootName']){_0x4815ba['execute']('insertImage',{'imageType':_0x2b62c5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2b62c5['getAttributes']()),'uploadcareImageId':_0x2f2968,'src':_0x1abb78,'sources':_0x411fa7,'width':_0x453560,'height':_0x4bd6d7}});const _0x1ad8a1=_0x2b62c5['getChildren']();_0x2b62c5=_0x4815ba['model']['document']['selection']['getSelectedElement']();for(const _0xa814e5 of _0x1ad8a1)_0x50c6e3['append'](_0x50c6e3['cloneElement'](_0xa814e5),_0x2b62c5);}else _0x50c6e3['setSelection'](_0x2b62c5,'on'),_0x4815ba['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2b62c5['getAttributes']()),'uploadcareImageId':_0x2f2968,'src':_0x1abb78,'sources':_0x411fa7,'width':_0x453560,'height':_0x4bd6d7},_0x2b62c5);_0x50c6e3['setSelection'](_0x2b62c5,'on');});}async['_getImageAsFile'](_0x1dbc5c){const _0x36e58a=_0x5ba72c['window'],_0x12c44f=_0x5ba72c['document']['location']['href'],_0x1df053=new _0x36e58a['URL'](_0x1dbc5c['getAttribute']('src'),_0x12c44f);if('data:'===_0x1df053['protocol']){const _0x47057c=_0x1df053['href']['split'](','),_0xa9c03=_0x47057c[0x0]['match'](/:(.*?);/)[0x1],_0x4ad4e4=_0xa9c03['split']('/')[0x1],_0x21c06c=_0x36e58a['atob'](_0x47057c[_0x47057c['length']-0x1]);let _0x24f5e5=_0x21c06c['length'];const _0x265d04=new _0x36e58a['Uint8Array'](_0x24f5e5);for(;_0x24f5e5--;)_0x265d04[_0x24f5e5]=_0x21c06c['charCodeAt'](_0x24f5e5);return new _0x36e58a['File']([_0x265d04],'image.'+_0x4ad4e4,{'type':_0xa9c03});}const _0x248339=_0x1df053['href']['split']('/'),_0x3b67e2=_0x248339[_0x248339['length']-0x1],_0x352b3d=_0x3b67e2['split']('.')[0x1];return _0x36e58a['fetch'](_0x1df053['href'])['then'](_0x492c74=>_0x492c74['clone']()['blob']())['then'](_0x3708b7=>new _0x36e58a['File']([_0x3708b7],_0x3b67e2,{'type':'image/'+_0x352b3d}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4bed(){const _0x298837=['uc-light','8083350zxOjRl','3323386hzGodH','image-edit','1260262vChyqX','8vDLtCr','ck-uploadcare-theme','imageSrc','1132611QLCEbv','setTemplate','585784PEcNYi','uc-cloud-image-editor','bindTemplate','set','4299148PDEJLE','965100DPkvON'];_0x4bed=function(){return _0x298837;};return _0x4bed();}(function(_0xc376be,_0x56cb6c){const _0x940984=_0x5603,_0x483ca6=_0xc376be();while(!![]){try{const _0x582a07=parseInt(_0x940984(0xf6))/0x1+-parseInt(_0x940984(0xf4))/0x2+-parseInt(_0x940984(0xfa))/0x3*(-parseInt(_0x940984(0xf7))/0x4)+-parseInt(_0x940984(0xf1))/0x5+parseInt(_0x940984(0xf3))/0x6+-parseInt(_0x940984(0xf0))/0x7+parseInt(_0x940984(0xec))/0x8;if(_0x582a07===_0x56cb6c)break;else _0x483ca6['push'](_0x483ca6['shift']());}catch(_0x12c2dd){_0x483ca6['push'](_0x483ca6['shift']());}}}(_0x4bed,0xec0fb));function _0x5603(_0x4748ea,_0x3b4363){const _0x4bed19=_0x4bed();return _0x5603=function(_0x5603aa,_0x829ff6){_0x5603aa=_0x5603aa-0xeb;let _0x446cfd=_0x4bed19[_0x5603aa];return _0x446cfd;},_0x5603(_0x4748ea,_0x3b4363);}import{View as _0x5b6d8c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5b6d8c{constructor(_0x21750a,_0x52eea1){const _0x118090=_0x5603;super(_0x21750a);const _0x4f60a5=this[_0x118090(0xee)];this[_0x118090(0xef)](_0x118090(0xf9),''),this[_0x118090(0xeb)]({'tag':_0x118090(0xed),'attributes':{..._0x52eea1,'class':[_0x118090(0xf2),_0x118090(0xf8)],'ctx-name':_0x118090(0xf5),'cdn-url':_0x4f60a5['to'](_0x118090(0xf9))}});}}
23
+ function _0x37df(_0x5564be,_0x13e217){const _0x12f927=_0x12f9();return _0x37df=function(_0x37dfde,_0xcb059f){_0x37dfde=_0x37dfde-0x65;let _0x57bc99=_0x12f927[_0x37dfde];return _0x57bc99;},_0x37df(_0x5564be,_0x13e217);}function _0x12f9(){const _0x1f9759=['set','8UaZGlP','uc-cloud-image-editor','65wZpIsb','1416216CnnSza','image-edit','6158940gtATQj','uc-light','48udBIJO','ck-uploadcare-theme','1682933fySbKk','44yhlqRi','677457fAkiXc','54046HJaHaT','imageSrc','bindTemplate','797736vFJxDL','23SQBipi','27282FwRJFq','setTemplate'];_0x12f9=function(){return _0x1f9759;};return _0x12f9();}(function(_0x3d707d,_0x2b25af){const _0x48c3e0=_0x37df,_0x4bb9ac=_0x3d707d();while(!![]){try{const _0x330a75=parseInt(_0x48c3e0(0x6b))/0x1*(-parseInt(_0x48c3e0(0x67))/0x2)+-parseInt(_0x48c3e0(0x6a))/0x3*(-parseInt(_0x48c3e0(0x6f))/0x4)+parseInt(_0x48c3e0(0x71))/0x5*(parseInt(_0x48c3e0(0x6c))/0x6)+-parseInt(_0x48c3e0(0x78))/0x7+parseInt(_0x48c3e0(0x76))/0x8*(-parseInt(_0x48c3e0(0x66))/0x9)+parseInt(_0x48c3e0(0x74))/0xa+-parseInt(_0x48c3e0(0x65))/0xb*(-parseInt(_0x48c3e0(0x72))/0xc);if(_0x330a75===_0x2b25af)break;else _0x4bb9ac['push'](_0x4bb9ac['shift']());}catch(_0x19351f){_0x4bb9ac['push'](_0x4bb9ac['shift']());}}}(_0x12f9,0x59303));import{View as _0x1ece77}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1ece77{constructor(_0x2ba3f8,_0x1ce495){const _0x3024bb=_0x37df;super(_0x2ba3f8);const _0x24855c=this[_0x3024bb(0x69)];this[_0x3024bb(0x6e)](_0x3024bb(0x68),''),this[_0x3024bb(0x6d)]({'tag':_0x3024bb(0x70),'attributes':{..._0x1ce495,'class':[_0x3024bb(0x75),_0x3024bb(0x77)],'ctx-name':_0x3024bb(0x73),'cdn-url':_0x24855c['to'](_0x3024bb(0x68))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x335774}from'ckeditor5/src/icons.js';import{ButtonView as _0x8b7b86,IconView as _0x4ffb50,View as _0x42b7c0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x42b7c0{constructor(_0x2cb157){super(_0x2cb157);const t=_0x2cb157['t'];this['set']('errorType',null);const _0xc7b4a4=new _0x8b7b86(_0x2cb157);_0xc7b4a4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xc7b4a4['withText']=!0x0,_0xc7b4a4['class']='ck-button-action',_0xc7b4a4['on']('execute',()=>{this['fire']('retry');}),_0xc7b4a4['bind']('isVisible')['to'](this,'errorType',_0x3842e1=>'NotFound'!==_0x3842e1);const _0x373fdc=new _0x4ffb50();_0x373fdc['content']=_0x335774,_0x373fdc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x56d34a=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':[_0x373fdc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x56d34a['to']('errorType',_0x5e5994=>t('NotFound'!==_0x5e5994?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xc7b4a4]},{'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 _0x57afb2}from'ckeditor5/src/icons.js';import{ButtonView as _0x20edbf,IconView as _0x453698,View as _0x51f20d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x51f20d{constructor(_0x1e2f67){super(_0x1e2f67);const t=_0x1e2f67['t'];this['set']('errorType',null);const _0x25c35d=new _0x20edbf(_0x1e2f67);_0x25c35d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x25c35d['withText']=!0x0,_0x25c35d['class']='ck-button-action',_0x25c35d['on']('execute',()=>{this['fire']('retry');}),_0x25c35d['bind']('isVisible')['to'](this,'errorType',_0x2453da=>'NotFound'!==_0x2453da);const _0x8c20fb=new _0x453698();_0x8c20fb['content']=_0x57afb2,_0x8c20fb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11c7a6=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':[_0x8c20fb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11c7a6['to']('errorType',_0x5d535e=>t('NotFound'!==_0x5d535e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x25c35d]},{'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 _0x4be45e,View as _0x3041c9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3041c9{constructor(_0x53aed8){super(_0x53aed8);const t=_0x53aed8['t'],_0x37fd5d=this['bindTemplate'],_0x19ce0a=new _0x4be45e();_0x19ce0a['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':[_0x19ce0a,{'text':_0x37fd5d['to']('imageUploadProgress',_0x2010b5=>t('Loading\x20image...')+'\x20('+(_0x2010b5||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 _0x40eaf9,View as _0x115346}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x115346{constructor(_0x303ff9){super(_0x303ff9);const t=_0x303ff9['t'],_0x896494=this['bindTemplate'],_0x756463=new _0x40eaf9();_0x756463['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':[_0x756463,{'text':_0x896494['to']('imageUploadProgress',_0x2aad1c=>t('Loading\x20image...')+'\x20('+(_0x2aad1c||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 _0x2f4a0e=_0x43a9;(function(_0x16b0c2,_0x560bab){const _0x31fdd8=_0x43a9,_0x1d40e2=_0x16b0c2();while(!![]){try{const _0x16d46b=parseInt(_0x31fdd8(0x88))/0x1*(parseInt(_0x31fdd8(0x93))/0x2)+-parseInt(_0x31fdd8(0xb0))/0x3+-parseInt(_0x31fdd8(0x87))/0x4*(parseInt(_0x31fdd8(0xae))/0x5)+parseInt(_0x31fdd8(0xbb))/0x6+parseInt(_0x31fdd8(0x96))/0x7*(parseInt(_0x31fdd8(0x8f))/0x8)+-parseInt(_0x31fdd8(0xb4))/0x9+parseInt(_0x31fdd8(0xb2))/0xa;if(_0x16d46b===_0x560bab)break;else _0x1d40e2['push'](_0x1d40e2['shift']());}catch(_0xf22a4a){_0x1d40e2['push'](_0x1d40e2['shift']());}}}(_0x1fee,0xa0ccd));function _0x1fee(){const _0x580a94=['add','addEventListener','status','ready','30aiTHfT','_errorView','3000432tfRaCh','observe','10894860EIyUvt','change:status','7546545TeosRD','_focusableView','filter','render','once','uploading','fire','74304IlhgFE','cdnUrl','_addUploadcareImageEditorListeners','474288YsBJfO','21339ytWaoc','_setView','set','nodeName','element','focus','addedNodes','1823728SPtgLK','_loadingView','uc-cloud-image-editor','getFocusableElement','112vhmolh','toLowerCase','_items','28MdUoLd','length','target','cancel','ck-reset_all-excluded','_waitForImageEditorComponent','retry','apply','div','addMany','querySelector','detail','ck-uploadcare-form','setTemplate','disconnect','clear','createCollection','_editingView','error','_addErrorViewListeners'];_0x1fee=function(){return _0x580a94;};return _0x1fee();}import{View as _0x5f0a78}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5490e7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4180e4}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a1d76}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3d5258}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x43a9(_0x262db8,_0x5f1791){const _0x1feef6=_0x1fee();return _0x43a9=function(_0x43a921,_0x436489){_0x43a921=_0x43a921-0x86;let _0x5a94d8=_0x1feef6[_0x43a921];return _0x5a94d8;},_0x43a9(_0x262db8,_0x5f1791);}export class UploadcareImageEditFormView extends _0x3d5258{[_0x2f4a0e(0x95)];[_0x2f4a0e(0x90)];[_0x2f4a0e(0xaf)];[_0x2f4a0e(0xa7)];[_0x2f4a0e(0xb5)];constructor(_0x11f355,_0x11f326,_0x5ad52f){const _0x410cb5=_0x2f4a0e;super(_0x11f355),this[_0x410cb5(0x95)]=this[_0x410cb5(0xa6)](),this[_0x410cb5(0x90)]=new _0x5490e7(_0x11f355),this[_0x410cb5(0xaf)]=new _0x4180e4(_0x11f355),this[_0x410cb5(0xa7)]=new _0x3a1d76(_0x11f355,_0x5ad52f),this[_0x410cb5(0xb5)]=new _0x5f0a78(_0x11f355),this[_0x410cb5(0xb5)][_0x410cb5(0xa3)](this[_0x410cb5(0x92)]()),this[_0x410cb5(0x8a)](_0x410cb5(0xac),_0x11f326),this[_0x410cb5(0xa3)]({'tag':_0x410cb5(0x9e),'attributes':{'class':['ck',_0x410cb5(0x9a),_0x410cb5(0xa2)],'tabindex':'-1'},'children':this[_0x410cb5(0x95)]}),this[_0x410cb5(0x89)](),this[_0x410cb5(0xb8)](_0x410cb5(0xb7),()=>{const _0x3ae300=_0x410cb5;this[_0x3ae300(0x9b)](this[_0x3ae300(0x8c)],_0x5a10d5=>{const _0x21492d=_0x3ae300;this[_0x21492d(0x86)](_0x5a10d5);});}),this['on'](_0x410cb5(0xb3),()=>{const _0x5bef14=_0x410cb5;this[_0x5bef14(0x89)]();}),this[_0x410cb5(0xa9)]();}[_0x2f4a0e(0x8d)](){const _0x5b5e25=_0x2f4a0e;this[_0x5b5e25(0x8c)][_0x5b5e25(0x8d)]();}[_0x2f4a0e(0x89)](){const _0x40bdee=_0x2f4a0e;switch(this[_0x40bdee(0x95)][_0x40bdee(0xa5)](),this[_0x40bdee(0xac)]){case _0x40bdee(0xb9):this[_0x40bdee(0x95)][_0x40bdee(0xaa)](this[_0x40bdee(0x90)]);break;case _0x40bdee(0xa8):this[_0x40bdee(0x95)][_0x40bdee(0xaa)](this[_0x40bdee(0xaf)]);break;case _0x40bdee(0xad):this[_0x40bdee(0x95)][_0x40bdee(0x9f)]([this[_0x40bdee(0xa7)],this[_0x40bdee(0xb5)]]);}}[_0x2f4a0e(0x9b)](_0x4b5095,_0x357b25){const _0x5d84cf=_0x2f4a0e,_0x53bb81=_0x5d84cf(0x91),_0x224631=_0x4b5095[_0x5d84cf(0xa0)](_0x53bb81);if(_0x224631)return _0x357b25(_0x224631);const _0x5515a7=new MutationObserver(_0x5babe4=>{const _0x125eb2=_0x5d84cf,_0x290c3a=_0x5babe4[_0x125eb2(0xb6)](_0x4ac3f1=>_0x4ac3f1[_0x125eb2(0x98)]===_0x4b5095&&_0x4ac3f1[_0x125eb2(0x8e)][_0x125eb2(0x97)]>0x0&&_0x4ac3f1[_0x125eb2(0x8e)][0x0][_0x125eb2(0x8b)][_0x125eb2(0x94)]()===_0x53bb81);_0x290c3a[_0x125eb2(0x97)]&&(_0x5515a7[_0x125eb2(0xa4)](),_0x357b25(_0x290c3a[0x0][_0x125eb2(0x8e)][0x0]));});_0x5515a7[_0x5d84cf(0xb1)](_0x4b5095,{'childList':!0x0,'subtree':!0x0});}[_0x2f4a0e(0x86)](_0x161800){const _0x21710b=_0x2f4a0e;_0x161800[_0x21710b(0xab)](_0x21710b(0x9d),_0x347922=>{const _0x127274=_0x21710b;this[_0x127274(0xba)](_0x127274(0x9d),{'imageSrc':_0x347922[_0x127274(0xa1)][_0x127274(0xbc)]});}),_0x161800[_0x21710b(0xab)](_0x21710b(0x99),()=>{const _0x22b30c=_0x21710b;this[_0x22b30c(0xba)](_0x22b30c(0x99));});}[_0x2f4a0e(0xa9)](){const _0x1a5ef7=_0x2f4a0e;this[_0x1a5ef7(0xaf)]['on'](_0x1a5ef7(0x9c),()=>{const _0x2a57e5=_0x1a5ef7;this[_0x2a57e5(0xba)](_0x2a57e5(0x9c));});}}
23
+ const _0x3dfa2c=_0x423d;function _0x3f3e(){const _0x4533fd=['setTemplate','div','ready','206432HxrvMJ','_addErrorViewListeners','_waitForImageEditorComponent','focus','add','nodeName','ck-reset_all-excluded','change:status','filter','status','createCollection','_addUploadcareImageEditorListeners','toLowerCase','_errorView','357sBvVpP','_items','2876430kIAvtj','_setView','querySelector','_editingView','cdnUrl','153580eORuwN','apply','element','9kwUDJp','clear','uc-cloud-image-editor','disconnect','uploading','14276911sKzIJG','305100kNeJSe','target','_focusableView','getFocusableElement','2980vzHryw','retry','ck-uploadcare-form','error','cancel','fire','render','14JVfEaa','addedNodes','observe','detail','once','_loadingView','addEventListener','4gxEfWC','345688IsnMDu','addMany','set','length'];_0x3f3e=function(){return _0x4533fd;};return _0x3f3e();}(function(_0x404feb,_0x30230e){const _0x58bf1d=_0x423d,_0x342a4c=_0x404feb();while(!![]){try{const _0x2ac305=parseInt(_0x58bf1d(0x1c6))/0x1*(-parseInt(_0x58bf1d(0x1f6))/0x2)+parseInt(_0x58bf1d(0x1d4))/0x3*(parseInt(_0x58bf1d(0x1e8))/0x4)+-parseInt(_0x58bf1d(0x1d6))/0x5+parseInt(_0x58bf1d(0x1e4))/0x6+parseInt(_0x58bf1d(0x1ef))/0x7*(-parseInt(_0x58bf1d(0x1f7))/0x8)+parseInt(_0x58bf1d(0x1de))/0x9*(-parseInt(_0x58bf1d(0x1db))/0xa)+parseInt(_0x58bf1d(0x1e3))/0xb;if(_0x2ac305===_0x30230e)break;else _0x342a4c['push'](_0x342a4c['shift']());}catch(_0x1ec4d1){_0x342a4c['push'](_0x342a4c['shift']());}}}(_0x3f3e,0x54d54));import{View as _0x57c560}from'ckeditor5/src/ui.js';function _0x423d(_0x4cd116,_0x52c7e7){const _0x3f3e54=_0x3f3e();return _0x423d=function(_0x423d79,_0x295c28){_0x423d79=_0x423d79-0x1c5;let _0x1ea2e2=_0x3f3e54[_0x423d79];return _0x1ea2e2;},_0x423d(_0x4cd116,_0x52c7e7);}import{UploadcareImageEditFormLoadingView as _0x123e3b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x509e66}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4377ff}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x58591f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x58591f{[_0x3dfa2c(0x1d5)];[_0x3dfa2c(0x1f4)];[_0x3dfa2c(0x1d3)];[_0x3dfa2c(0x1d9)];[_0x3dfa2c(0x1e6)];constructor(_0x127ef3,_0x4d0ff0,_0x11896e){const _0x27a53b=_0x3dfa2c;super(_0x127ef3),this[_0x27a53b(0x1d5)]=this[_0x27a53b(0x1d0)](),this[_0x27a53b(0x1f4)]=new _0x123e3b(_0x127ef3),this[_0x27a53b(0x1d3)]=new _0x509e66(_0x127ef3),this[_0x27a53b(0x1d9)]=new _0x4377ff(_0x127ef3,_0x11896e),this[_0x27a53b(0x1e6)]=new _0x57c560(_0x127ef3),this[_0x27a53b(0x1e6)][_0x27a53b(0x1fb)](this[_0x27a53b(0x1e7)]()),this[_0x27a53b(0x1f9)](_0x27a53b(0x1cf),_0x4d0ff0),this[_0x27a53b(0x1fb)]({'tag':_0x27a53b(0x1fc),'attributes':{'class':['ck',_0x27a53b(0x1cc),_0x27a53b(0x1ea)],'tabindex':'-1'},'children':this[_0x27a53b(0x1d5)]}),this[_0x27a53b(0x1d7)](),this[_0x27a53b(0x1f3)](_0x27a53b(0x1ee),()=>{const _0x11bd4a=_0x27a53b;this[_0x11bd4a(0x1c8)](this[_0x11bd4a(0x1dd)],_0x28ea70=>{const _0x112806=_0x11bd4a;this[_0x112806(0x1d1)](_0x28ea70);});}),this['on'](_0x27a53b(0x1cd),()=>{const _0x9ad9a4=_0x27a53b;this[_0x9ad9a4(0x1d7)]();}),this[_0x27a53b(0x1c7)]();}[_0x3dfa2c(0x1c9)](){const _0x10131a=_0x3dfa2c;this[_0x10131a(0x1dd)][_0x10131a(0x1c9)]();}[_0x3dfa2c(0x1d7)](){const _0x563633=_0x3dfa2c;switch(this[_0x563633(0x1d5)][_0x563633(0x1df)](),this[_0x563633(0x1cf)]){case _0x563633(0x1e2):this[_0x563633(0x1d5)][_0x563633(0x1ca)](this[_0x563633(0x1f4)]);break;case _0x563633(0x1eb):this[_0x563633(0x1d5)][_0x563633(0x1ca)](this[_0x563633(0x1d3)]);break;case _0x563633(0x1c5):this[_0x563633(0x1d5)][_0x563633(0x1f8)]([this[_0x563633(0x1d9)],this[_0x563633(0x1e6)]]);}}[_0x3dfa2c(0x1c8)](_0x523fb1,_0x2727da){const _0x39e08e=_0x3dfa2c,_0x5112ff=_0x39e08e(0x1e0),_0xb3ff4f=_0x523fb1[_0x39e08e(0x1d8)](_0x5112ff);if(_0xb3ff4f)return _0x2727da(_0xb3ff4f);const _0x32f29c=new MutationObserver(_0x4c378d=>{const _0x5457c9=_0x39e08e,_0x4c9bba=_0x4c378d[_0x5457c9(0x1ce)](_0x4d8802=>_0x4d8802[_0x5457c9(0x1e5)]===_0x523fb1&&_0x4d8802[_0x5457c9(0x1f0)][_0x5457c9(0x1fa)]>0x0&&_0x4d8802[_0x5457c9(0x1f0)][0x0][_0x5457c9(0x1cb)][_0x5457c9(0x1d2)]()===_0x5112ff);_0x4c9bba[_0x5457c9(0x1fa)]&&(_0x32f29c[_0x5457c9(0x1e1)](),_0x2727da(_0x4c9bba[0x0][_0x5457c9(0x1f0)][0x0]));});_0x32f29c[_0x39e08e(0x1f1)](_0x523fb1,{'childList':!0x0,'subtree':!0x0});}[_0x3dfa2c(0x1d1)](_0x2451b6){const _0x21cbc0=_0x3dfa2c;_0x2451b6[_0x21cbc0(0x1f5)](_0x21cbc0(0x1dc),_0x437d14=>{const _0x459bae=_0x21cbc0;this[_0x459bae(0x1ed)](_0x459bae(0x1dc),{'imageSrc':_0x437d14[_0x459bae(0x1f2)][_0x459bae(0x1da)]});}),_0x2451b6[_0x21cbc0(0x1f5)](_0x21cbc0(0x1ec),()=>{const _0x9b6b80=_0x21cbc0;this[_0x9b6b80(0x1ed)](_0x9b6b80(0x1ec));});}[_0x3dfa2c(0x1c7)](){const _0x334a21=_0x3dfa2c;this[_0x334a21(0x1d3)]['on'](_0x334a21(0x1e9),()=>{const _0x419ba2=_0x334a21;this[_0x419ba2(0x1ed)](_0x419ba2(0x1e9));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbc3bd3=_0x3d96;(function(_0x3b22d3,_0x2b76b8){const _0x582641=_0x3d96,_0x24b526=_0x3b22d3();while(!![]){try{const _0x112114=parseInt(_0x582641(0x16f))/0x1+parseInt(_0x582641(0x16a))/0x2*(-parseInt(_0x582641(0x174))/0x3)+parseInt(_0x582641(0x171))/0x4*(-parseInt(_0x582641(0x172))/0x5)+-parseInt(_0x582641(0x169))/0x6*(parseInt(_0x582641(0x162))/0x7)+parseInt(_0x582641(0x176))/0x8*(-parseInt(_0x582641(0x160))/0x9)+-parseInt(_0x582641(0x15e))/0xa*(parseInt(_0x582641(0x17e))/0xb)+parseInt(_0x582641(0x170))/0xc;if(_0x112114===_0x2b76b8)break;else _0x24b526['push'](_0x24b526['shift']());}catch(_0x18ce20){_0x24b526['push'](_0x24b526['shift']());}}}(_0x4ac4,0x50c1c));import{Command as _0x2038ff}from'ckeditor5/src/core.js';import{Dialog as _0x473329}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x269562}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x99145e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2038ff{[_0xbc3bd3(0x168)];static get[_0xbc3bd3(0x17d)](){return[_0x473329];}[_0xbc3bd3(0x16c)];constructor(_0x216e49){const _0xbdf00b=_0xbc3bd3;super(_0x216e49),this[_0xbdf00b(0x168)]=void 0x0,this[_0xbdf00b(0x16c)]=_0x99145e(_0x216e49[_0xbdf00b(0x17b)][_0xbdf00b(0x164)](_0xbdf00b(0x166))||[]),this[_0xbdf00b(0x163)]({'isActive':!0x1});}[_0xbc3bd3(0x178)](){const _0x3e932f=_0xbc3bd3,_0x5c7263=this[_0x3e932f(0x17a)][_0x3e932f(0x16d)][_0x3e932f(0x173)][_0x3e932f(0x175)][_0x3e932f(0x167)]();this[_0x3e932f(0x177)]=this[_0x3e932f(0x16c)](_0x5c7263);}[_0xbc3bd3(0x17f)](){const _0x3d142=_0xbc3bd3;this[_0x3d142(0x168)]&&(this[_0x3d142(0x161)](_0x3d142(0x16b)),this[_0x3d142(0x168)]=void 0x0);const _0x51913a=this[_0x3d142(0x17a)][_0x3d142(0x16d)][_0x3d142(0x173)][_0x3d142(0x175)][_0x3d142(0x167)]();_0x51913a&&(_0x51913a['is'](_0x3d142(0x16e),_0x3d142(0x15f))||_0x51913a['is'](_0x3d142(0x16e),_0x3d142(0x165)))&&(this[_0x3d142(0x168)]=new _0x269562(this[_0x3d142(0x17a)],this[_0x3d142(0x17a)][_0x3d142(0x17c)][_0x3d142(0x164)](_0x473329),_0x51913a),this[_0x3d142(0x179)](_0x3d142(0x16b))['to'](this[_0x3d142(0x168)],_0x3d142(0x16b)));}}function _0x3d96(_0x1062b5,_0x48d254){const _0x4ac490=_0x4ac4();return _0x3d96=function(_0x3d96bc,_0x1dd294){_0x3d96bc=_0x3d96bc-0x15e;let _0x3a9b68=_0x4ac490[_0x3d96bc];return _0x3a9b68;},_0x3d96(_0x1062b5,_0x48d254);}function _0x4ac4(){const _0xace8d9=['refresh','bind','editor','config','plugins','requires','957qdlIdI','execute','46580vPADvL','imageBlock','1824318ZkfFtk','unbind','7dwiMiL','set','get','imageInline','uploadcare.allowExternalImagesEditing','getSelectedElement','imageEditController','1744602eNJFcq','407254MdiaNQ','isActive','_isEditable','model','element','423099AyJfRi','19586136BzrHoe','4kerOUj','1074505nUzsFu','document','9dXRSeh','selection','8icEXxg','isEnabled'];_0x4ac4=function(){return _0xace8d9;};return _0x4ac4();}
23
+ function _0x4c9e(_0x2f678c,_0x11f882){const _0x58e897=_0x58e8();return _0x4c9e=function(_0x4c9ee6,_0x45110e){_0x4c9ee6=_0x4c9ee6-0x1b4;let _0x1f9d2d=_0x58e897[_0x4c9ee6];return _0x1f9d2d;},_0x4c9e(_0x2f678c,_0x11f882);}function _0x58e8(){const _0x51d6fb=['refresh','requires','imageEditController','unbind','608838cfLnhy','3689616TiFjvu','1398364OJlsdd','model','selection','element','_isEditable','3581165isxcND','getSelectedElement','plugins','get','imageBlock','3119705IBUANb','isEnabled','set','bind','1267662yFnyBT','imageInline','document','editor','309035KCtyWE','config','execute','isActive','uploadcare.allowExternalImagesEditing'];_0x58e8=function(){return _0x51d6fb;};return _0x58e8();}const _0x372521=_0x4c9e;(function(_0x4dd043,_0x1b05c4){const _0x33eca7=_0x4c9e,_0x1de00a=_0x4dd043();while(!![]){try{const _0x1ceeae=parseInt(_0x33eca7(0x1c9))/0x1+-parseInt(_0x33eca7(0x1c5))/0x2+-parseInt(_0x33eca7(0x1b5))/0x3+parseInt(_0x33eca7(0x1b7))/0x4+parseInt(_0x33eca7(0x1c1))/0x5+-parseInt(_0x33eca7(0x1b6))/0x6+parseInt(_0x33eca7(0x1bc))/0x7;if(_0x1ceeae===_0x1b05c4)break;else _0x1de00a['push'](_0x1de00a['shift']());}catch(_0x4e07fa){_0x1de00a['push'](_0x1de00a['shift']());}}}(_0x58e8,0x539b1));import{Command as _0x524d3a}from'ckeditor5/src/core.js';import{Dialog as _0x157921}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x319422}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x37434a}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x524d3a{[_0x372521(0x1d0)];static get[_0x372521(0x1cf)](){return[_0x157921];}[_0x372521(0x1bb)];constructor(_0x1fb818){const _0x3f84d7=_0x372521;super(_0x1fb818),this[_0x3f84d7(0x1d0)]=void 0x0,this[_0x3f84d7(0x1bb)]=_0x37434a(_0x1fb818[_0x3f84d7(0x1ca)][_0x3f84d7(0x1bf)](_0x3f84d7(0x1cd))||[]),this[_0x3f84d7(0x1c3)]({'isActive':!0x1});}[_0x372521(0x1ce)](){const _0x39e204=_0x372521,_0x6ef6e6=this[_0x39e204(0x1c8)][_0x39e204(0x1b8)][_0x39e204(0x1c7)][_0x39e204(0x1b9)][_0x39e204(0x1bd)]();this[_0x39e204(0x1c2)]=this[_0x39e204(0x1bb)](_0x6ef6e6);}[_0x372521(0x1cb)](){const _0x5703be=_0x372521;this[_0x5703be(0x1d0)]&&(this[_0x5703be(0x1b4)](_0x5703be(0x1cc)),this[_0x5703be(0x1d0)]=void 0x0);const _0x43ada1=this[_0x5703be(0x1c8)][_0x5703be(0x1b8)][_0x5703be(0x1c7)][_0x5703be(0x1b9)][_0x5703be(0x1bd)]();_0x43ada1&&(_0x43ada1['is'](_0x5703be(0x1ba),_0x5703be(0x1c0))||_0x43ada1['is'](_0x5703be(0x1ba),_0x5703be(0x1c6)))&&(this[_0x5703be(0x1d0)]=new _0x319422(this[_0x5703be(0x1c8)],this[_0x5703be(0x1c8)][_0x5703be(0x1be)][_0x5703be(0x1bf)](_0x157921),_0x43ada1),this[_0x5703be(0x1c4)](_0x5703be(0x1cc))['to'](this[_0x5703be(0x1d0)],_0x5703be(0x1cc)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2244de=_0x345b;(function(_0x9ebd5c,_0x1a1d4a){const _0x54f223=_0x345b,_0x374d06=_0x9ebd5c();while(!![]){try{const _0x4d8522=parseInt(_0x54f223(0xd6))/0x1*(parseInt(_0x54f223(0xd0))/0x2)+parseInt(_0x54f223(0xcd))/0x3*(parseInt(_0x54f223(0xd2))/0x4)+parseInt(_0x54f223(0xc4))/0x5*(-parseInt(_0x54f223(0xcb))/0x6)+parseInt(_0x54f223(0xd5))/0x7*(-parseInt(_0x54f223(0xce))/0x8)+parseInt(_0x54f223(0xcf))/0x9+-parseInt(_0x54f223(0xc6))/0xa*(-parseInt(_0x54f223(0xc2))/0xb)+-parseInt(_0x54f223(0xc1))/0xc*(parseInt(_0x54f223(0xc7))/0xd);if(_0x4d8522===_0x1a1d4a)break;else _0x374d06['push'](_0x374d06['shift']());}catch(_0x247572){_0x374d06['push'](_0x374d06['shift']());}}}(_0x166c,0x7adb9));import{Plugin as _0x3a955d}from'ckeditor5/src/core.js';import{Notification as _0x3640b3}from'ckeditor5/src/ui.js';function _0x345b(_0x3d05f3,_0xbeb961){const _0x166cf4=_0x166c();return _0x345b=function(_0x345b7e,_0x55c934){_0x345b7e=_0x345b7e-0xc1;let _0x1141aa=_0x166cf4[_0x345b7e];return _0x1141aa;},_0x345b(_0x3d05f3,_0xbeb961);}import{UploadcareImageEditCommand as _0xb11f72}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f209d}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5242cc}from'../uploadcareediting.js';function _0x166c(){const _0x2bb88f=['728895PXDDsb','add','420170ankSsU','91EJOVFt','ImageEditing','pluginName','uploadcareImageReplace','12qiqQrZ','init','354174mIOjFU','368LufFoH','1815786LdvoCq','12202MZsUsJ','ImageUtils','24bsmWoo','UploadcareImageEditEditing','requires','111811VyremA','134DCvBWA','isOfficialPlugin','commands','uploadcareImageEdit','627708Wodbhn','44pYakjW','isPremiumPlugin'];_0x166c=function(){return _0x2bb88f;};return _0x166c();}export class UploadcareImageEditEditing extends _0x3a955d{static get[_0x2244de(0xc9)](){const _0x24f155=_0x2244de;return _0x24f155(0xd3);}static get[_0x2244de(0xd4)](){const _0x384bb3=_0x2244de;return[_0x5242cc,_0x3640b3,_0x384bb3(0xd1),_0x384bb3(0xc8)];}static get[_0x2244de(0xd7)](){return!0x0;}static get[_0x2244de(0xc3)](){return!0x0;}[_0x2244de(0xcc)](){const _0x29572a=_0x2244de,{editor:_0x4f2c13}=this;_0x4f2c13[_0x29572a(0xd8)][_0x29572a(0xc5)](_0x29572a(0xd9),new _0xb11f72(_0x4f2c13)),_0x4f2c13[_0x29572a(0xd8)][_0x29572a(0xc5)](_0x29572a(0xca),new _0x2f209d(_0x4f2c13));}}
23
+ const _0x1ef706=_0x45c6;(function(_0x2a85e5,_0x3a56a4){const _0x48cd39=_0x45c6,_0x5f0d1f=_0x2a85e5();while(!![]){try{const _0x1b0aed=parseInt(_0x48cd39(0x1cb))/0x1+-parseInt(_0x48cd39(0x1c4))/0x2+-parseInt(_0x48cd39(0x1cd))/0x3*(-parseInt(_0x48cd39(0x1c7))/0x4)+-parseInt(_0x48cd39(0x1d1))/0x5+parseInt(_0x48cd39(0x1d4))/0x6+-parseInt(_0x48cd39(0x1d3))/0x7*(-parseInt(_0x48cd39(0x1d0))/0x8)+parseInt(_0x48cd39(0x1ce))/0x9*(-parseInt(_0x48cd39(0x1cc))/0xa);if(_0x1b0aed===_0x3a56a4)break;else _0x5f0d1f['push'](_0x5f0d1f['shift']());}catch(_0x596811){_0x5f0d1f['push'](_0x5f0d1f['shift']());}}}(_0x5050,0x19774));import{Plugin as _0x120aa0}from'ckeditor5/src/core.js';function _0x45c6(_0x5e2014,_0x2708fa){const _0x5050af=_0x5050();return _0x45c6=function(_0x45c69e,_0xd40f5d){_0x45c69e=_0x45c69e-0x1c1;let _0x375726=_0x5050af[_0x45c69e];return _0x375726;},_0x45c6(_0x5e2014,_0x2708fa);}import{Notification as _0x18b7b2}from'ckeditor5/src/ui.js';function _0x5050(){const _0x5b2f99=['7HMRaoo','979506uaCrpJ','isOfficialPlugin','uploadcareImageReplace','commands','ImageUtils','requires','143870IFjohf','pluginName','init','4jgnQAH','ImageEditing','UploadcareImageEditEditing','isPremiumPlugin','32613mLcgbn','10LCdcMh','307911sxOdLW','1801467yiZYgN','uploadcareImageEdit','873648KaZxuI','156505pRuwiw','add'];_0x5050=function(){return _0x5b2f99;};return _0x5050();}import{UploadcareImageEditCommand as _0x171413}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1839bf}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x15d2f2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x120aa0{static get[_0x1ef706(0x1c5)](){const _0x5ef55d=_0x1ef706;return _0x5ef55d(0x1c9);}static get[_0x1ef706(0x1c3)](){const _0x3d7c54=_0x1ef706;return[_0x15d2f2,_0x18b7b2,_0x3d7c54(0x1c2),_0x3d7c54(0x1c8)];}static get[_0x1ef706(0x1d5)](){return!0x0;}static get[_0x1ef706(0x1ca)](){return!0x0;}[_0x1ef706(0x1c6)](){const _0x2d99b9=_0x1ef706,{editor:_0x408dd7}=this;_0x408dd7[_0x2d99b9(0x1c1)][_0x2d99b9(0x1d2)](_0x2d99b9(0x1cf),new _0x171413(_0x408dd7)),_0x408dd7[_0x2d99b9(0x1c1)][_0x2d99b9(0x1d2)](_0x2d99b9(0x1d6),new _0x1839bf(_0x408dd7));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x236928}from'ckeditor5/src/core.js';import{ButtonView as _0xdbe52c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x330b5b}from'ckeditor5/src/icons.js';import{createElement as _0x1ced73}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 _0x236928{['_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 _0x41d4ac=this['editor'];_0x41d4ac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3f15a8=>{const _0x518ba0=_0x41d4ac['commands']['get']('uploadcareImageEdit'),_0x47ad72=new _0xdbe52c(_0x3f15a8),t=_0x3f15a8['t'];return _0x47ad72['set']({'icon':_0x330b5b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x47ad72['bind']('isEnabled')['to'](_0x518ba0),_0x47ad72['bind']('isOn')['to'](_0x518ba0,'isActive'),this['listenTo'](_0x47ad72,'execute',()=>{_0x41d4ac['execute']('uploadcareImageEdit'),_0x41d4ac['editing']['view']['focus']();}),_0x47ad72;}),this['_initConfig']();}['_initConfig'](){const _0x5aa0ca=_0x1ced73(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5aa0ca),this['listenTo'](this['editor'],'destroy',()=>{_0x5aa0ca['remove']();});}}
23
+ import{Plugin as _0x29735a}from'ckeditor5/src/core.js';import{ButtonView as _0x3c76bd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x478cac}from'ckeditor5/src/icons.js';import{createElement as _0x46b4a1}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 _0x29735a{['_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 _0x2e2e2b=this['editor'];_0x2e2e2b['ui']['componentFactory']['add']('uploadcareImageEdit',_0xfbd467=>{const _0x27ac7c=_0x2e2e2b['commands']['get']('uploadcareImageEdit'),_0x5c26e6=new _0x3c76bd(_0xfbd467),t=_0xfbd467['t'];return _0x5c26e6['set']({'icon':_0x478cac,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5c26e6['bind']('isEnabled')['to'](_0x27ac7c),_0x5c26e6['bind']('isOn')['to'](_0x27ac7c,'isActive'),this['listenTo'](_0x5c26e6,'execute',()=>{_0x2e2e2b['execute']('uploadcareImageEdit'),_0x2e2e2b['editing']['view']['focus']();}),_0x5c26e6;}),this['_initConfig']();}['_initConfig'](){const _0x1498ac=_0x46b4a1(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1498ac),this['listenTo'](this['editor'],'destroy',()=>{_0x1498ac['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4726(_0xf2aaca,_0x2d20b2){const _0x4a7c98=_0x4a7c();return _0x4726=function(_0x4726a2,_0x1f5355){_0x4726a2=_0x4726a2-0x1bb;let _0x3fab31=_0x4a7c98[_0x4726a2];return _0x3fab31;},_0x4726(_0xf2aaca,_0x2d20b2);}const _0x205fd6=_0x4726;(function(_0x50829a,_0x42ae7c){const _0x544a49=_0x4726,_0x2b90eb=_0x50829a();while(!![]){try{const _0x22e09f=-parseInt(_0x544a49(0x1c8))/0x1*(-parseInt(_0x544a49(0x1cc))/0x2)+parseInt(_0x544a49(0x1cb))/0x3*(parseInt(_0x544a49(0x1ce))/0x4)+parseInt(_0x544a49(0x1cf))/0x5*(parseInt(_0x544a49(0x1ca))/0x6)+parseInt(_0x544a49(0x1c5))/0x7*(-parseInt(_0x544a49(0x1c0))/0x8)+parseInt(_0x544a49(0x1d6))/0x9*(parseInt(_0x544a49(0x1c1))/0xa)+parseInt(_0x544a49(0x1d8))/0xb*(-parseInt(_0x544a49(0x1d4))/0xc)+parseInt(_0x544a49(0x1bd))/0xd*(-parseInt(_0x544a49(0x1c3))/0xe);if(_0x22e09f===_0x42ae7c)break;else _0x2b90eb['push'](_0x2b90eb['shift']());}catch(_0x5e092b){_0x2b90eb['push'](_0x2b90eb['shift']());}}}(_0x4a7c,0x52725));import{Command as _0x2ed3f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2ed3f1{[_0x205fd6(0x1bb)](){const _0x131284=_0x205fd6,_0x49fb92=this[_0x131284(0x1c2)][_0x131284(0x1d2)][_0x131284(0x1d5)][_0x131284(0x1d0)][_0x131284(0x1c6)]();this[_0x131284(0x1c7)]=Boolean(_0x49fb92&&(_0x49fb92['is'](_0x131284(0x1c9),_0x131284(0x1d3))||_0x49fb92['is'](_0x131284(0x1c9),_0x131284(0x1be))));}[_0x205fd6(0x1d1)](_0x2a9dd6){const _0x313a16=_0x205fd6,_0x48aadf=this[_0x313a16(0x1c2)][_0x313a16(0x1d2)][_0x313a16(0x1d5)][_0x313a16(0x1d0)][_0x313a16(0x1c6)]();this[_0x313a16(0x1c2)][_0x313a16(0x1d2)][_0x313a16(0x1d7)](_0x30d033=>{const _0x2044e3=_0x313a16;_0x30d033[_0x2044e3(0x1cd)](_0x2a9dd6,_0x48aadf),_0x30d033[_0x2044e3(0x1bc)](_0x2044e3(0x1c4),_0x48aadf),_0x30d033[_0x2044e3(0x1bc)](_0x2044e3(0x1bf),_0x48aadf);});}}function _0x4a7c(){const _0x29a7fa=['8635uzcFpL','refresh','removeAttribute','13JNmizD','imageInline','sizes','326464emEnLc','1454580KivIuq','editor','15687098UmpmRk','srcset','7EKmVph','getSelectedElement','isEnabled','1CZsrgo','element','637110lTOUZB','3pQCPGB','577228gKrZkq','setAttributes','1145020JeFEVa','20pdfNRc','selection','execute','model','imageBlock','1260TxSsHH','document','36zjrmsU','change'];_0x4a7c=function(){return _0x29a7fa;};return _0x4a7c();}
23
+ const _0x4632cc=_0xbd84;function _0xbd84(_0x49350b,_0x544f9d){const _0x210472=_0x2104();return _0xbd84=function(_0xbd84cd,_0x13f8c0){_0xbd84cd=_0xbd84cd-0xe8;let _0x54aa88=_0x210472[_0xbd84cd];return _0x54aa88;},_0xbd84(_0x49350b,_0x544f9d);}(function(_0xbab85b,_0x4403fc){const _0xed4cb6=_0xbd84,_0x15d2b5=_0xbab85b();while(!![]){try{const _0x1504d0=-parseInt(_0xed4cb6(0xf9))/0x1*(-parseInt(_0xed4cb6(0xfc))/0x2)+parseInt(_0xed4cb6(0xed))/0x3+parseInt(_0xed4cb6(0xea))/0x4+-parseInt(_0xed4cb6(0xec))/0x5*(parseInt(_0xed4cb6(0xf7))/0x6)+parseInt(_0xed4cb6(0xef))/0x7*(-parseInt(_0xed4cb6(0xfa))/0x8)+-parseInt(_0xed4cb6(0x102))/0x9*(-parseInt(_0xed4cb6(0xee))/0xa)+-parseInt(_0xed4cb6(0xe8))/0xb;if(_0x1504d0===_0x4403fc)break;else _0x15d2b5['push'](_0x15d2b5['shift']());}catch(_0x2bcdb6){_0x15d2b5['push'](_0x15d2b5['shift']());}}}(_0x2104,0x25cfc));function _0x2104(){const _0x44fd15=['element','isEnabled','imageInline','document','28674smUzuF','5053631WMamaN','sizes','1229596dKFWXt','srcset','495Umodps','556977ZCWkoi','390BnrdRd','7BhrnNP','selection','editor','getSelectedElement','setAttributes','removeAttribute','change','imageBlock','1512cytvlP','refresh','1964XezhwR','2071352jXDGrB','model','286SpUFFK','execute'];_0x2104=function(){return _0x44fd15;};return _0x2104();}import{Command as _0x24289f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x24289f{[_0x4632cc(0xf8)](){const _0x4d8131=_0x4632cc,_0x287ddc=this[_0x4d8131(0xf1)][_0x4d8131(0xfb)][_0x4d8131(0x101)][_0x4d8131(0xf0)][_0x4d8131(0xf2)]();this[_0x4d8131(0xff)]=Boolean(_0x287ddc&&(_0x287ddc['is'](_0x4d8131(0xfe),_0x4d8131(0xf6))||_0x287ddc['is'](_0x4d8131(0xfe),_0x4d8131(0x100))));}[_0x4632cc(0xfd)](_0x72c4bc){const _0x4ea627=_0x4632cc,_0x5594c6=this[_0x4ea627(0xf1)][_0x4ea627(0xfb)][_0x4ea627(0x101)][_0x4ea627(0xf0)][_0x4ea627(0xf2)]();this[_0x4ea627(0xf1)][_0x4ea627(0xfb)][_0x4ea627(0xf5)](_0x50f7cd=>{const _0x4b1979=_0x4ea627;_0x50f7cd[_0x4b1979(0xf3)](_0x72c4bc,_0x5594c6),_0x50f7cd[_0x4b1979(0xf4)](_0x4b1979(0xeb),_0x5594c6),_0x50f7cd[_0x4b1979(0xf4)](_0x4b1979(0xe9),_0x5594c6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4eec77=_0x49e8;(function(_0x3bd1f5,_0x6b4dd2){var _0x113d19=_0x49e8,_0xbf3844=_0x3bd1f5();while(!![]){try{var _0x368bc7=parseInt(_0x113d19(0x1a2))/0x1+parseInt(_0x113d19(0x194))/0x2*(parseInt(_0x113d19(0x19a))/0x3)+-parseInt(_0x113d19(0x19d))/0x4*(parseInt(_0x113d19(0x19f))/0x5)+parseInt(_0x113d19(0x1a1))/0x6*(parseInt(_0x113d19(0x196))/0x7)+parseInt(_0x113d19(0x198))/0x8+-parseInt(_0x113d19(0x19b))/0x9+parseInt(_0x113d19(0x19e))/0xa*(-parseInt(_0x113d19(0x199))/0xb);if(_0x368bc7===_0x6b4dd2)break;else _0xbf3844['push'](_0xbf3844['shift']());}catch(_0x211bdc){_0xbf3844['push'](_0xbf3844['shift']());}}}(_0x58b6,0x228c6));import{Plugin as _0x51626a}from'ckeditor5/src/core.js';function _0x58b6(){var _0x1ba252=['201146urFWbM','296157tRGEju','1321119RXqniP','isPremiumPlugin','5228XfOqaS','210xXiAiR','485WkBTxu','UploadcareImageEdit','148494zblQSt','252493UXQNgS','requires','4sMEjdM','pluginName','21VZjLdn','isOfficialPlugin','2199264jJhGFm'];_0x58b6=function(){return _0x1ba252;};return _0x58b6();}function _0x49e8(_0x163128,_0x4f0308){var _0x58b68a=_0x58b6();return _0x49e8=function(_0x49e89b,_0x38d0c0){_0x49e89b=_0x49e89b-0x194;var _0x201e20=_0x58b68a[_0x49e89b];return _0x201e20;},_0x49e8(_0x163128,_0x4f0308);}import{UploadcareImageEditEditing as _0x606817}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5c8564}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x51626a{static get[_0x4eec77(0x195)](){var _0x509a5b=_0x4eec77;return _0x509a5b(0x1a0);}static get[_0x4eec77(0x1a3)](){return[_0x606817,_0x5c8564];}static get[_0x4eec77(0x197)](){return!0x0;}static get[_0x4eec77(0x19c)](){return!0x0;}}
23
+ var _0x51321b=_0xd250;function _0xd250(_0x81d8d4,_0x1789ab){var _0x4bb841=_0x4bb8();return _0xd250=function(_0xd2504e,_0x12b498){_0xd2504e=_0xd2504e-0xc1;var _0x2a511b=_0x4bb841[_0xd2504e];return _0x2a511b;},_0xd250(_0x81d8d4,_0x1789ab);}(function(_0x93ae39,_0x3482c2){var _0x5aba8f=_0xd250,_0x1a7ecc=_0x93ae39();while(!![]){try{var _0x4eb73c=-parseInt(_0x5aba8f(0xcd))/0x1*(parseInt(_0x5aba8f(0xc2))/0x2)+-parseInt(_0x5aba8f(0xc9))/0x3*(parseInt(_0x5aba8f(0xcb))/0x4)+-parseInt(_0x5aba8f(0xc1))/0x5+parseInt(_0x5aba8f(0xca))/0x6*(-parseInt(_0x5aba8f(0xc3))/0x7)+parseInt(_0x5aba8f(0xc6))/0x8+parseInt(_0x5aba8f(0xcf))/0x9+parseInt(_0x5aba8f(0xce))/0xa;if(_0x4eb73c===_0x3482c2)break;else _0x1a7ecc['push'](_0x1a7ecc['shift']());}catch(_0x59f217){_0x1a7ecc['push'](_0x1a7ecc['shift']());}}}(_0x4bb8,0xcd196));import{Plugin as _0x3d2f33}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xa04524}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x12e383}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3d2f33{static get[_0x51321b(0xc5)](){var _0x3b0fd3=_0x51321b;return _0x3b0fd3(0xcc);}static get[_0x51321b(0xc8)](){return[_0xa04524,_0x12e383];}static get[_0x51321b(0xc4)](){return!0x0;}static get[_0x51321b(0xc7)](){return!0x0;}}function _0x4bb8(){var _0x5286a4=['requires','100350qnLwpM','21300UutBAF','36jZFdVe','UploadcareImageEdit','1HWXqdq','35664950mfcHRQ','5216589BBsrUW','8304925veDWxZ','756304jFynJt','2107BEeUuk','isOfficialPlugin','pluginName','821656ncahyn','isPremiumPlugin'];_0x4bb8=function(){return _0x5286a4;};return _0x4bb8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a7004=_0x41a5;(function(_0x4d7fa7,_0x117e8b){const _0x1b60ab=_0x41a5,_0x1966d1=_0x4d7fa7();while(!![]){try{const _0x5b1ee0=-parseInt(_0x1b60ab(0xb5))/0x1*(-parseInt(_0x1b60ab(0xd7))/0x2)+-parseInt(_0x1b60ab(0xb0))/0x3+parseInt(_0x1b60ab(0xd0))/0x4*(parseInt(_0x1b60ab(0xca))/0x5)+parseInt(_0x1b60ab(0x8f))/0x6*(parseInt(_0x1b60ab(0xc6))/0x7)+-parseInt(_0x1b60ab(0x99))/0x8+parseInt(_0x1b60ab(0xbf))/0x9*(-parseInt(_0x1b60ab(0xc7))/0xa)+-parseInt(_0x1b60ab(0x9a))/0xb*(-parseInt(_0x1b60ab(0xa4))/0xc);if(_0x5b1ee0===_0x117e8b)break;else _0x1966d1['push'](_0x1966d1['shift']());}catch(_0x33b287){_0x1966d1['push'](_0x1966d1['shift']());}}}(_0x2dbd,0x24aaa));function _0x41a5(_0x20ab07,_0x151ba6){const _0x2dbd43=_0x2dbd();return _0x41a5=function(_0x41a5ff,_0x562bf4){_0x41a5ff=_0x41a5ff-0x89;let _0x16ba4b=_0x2dbd43[_0x41a5ff];return _0x16ba4b;},_0x41a5(_0x20ab07,_0x151ba6);}function _0x2dbd(){const _0x208b0b=['registerIntegration','forEach','uploadcareLicenseKeyDomainLimit','31EPBraj','type','uploadcareLicenseKeyNotAllowed','GPhotos','url','isOfficialPlugin','execute','_getIntegrationKey','upload','isPremiumPlugin','207CXBfwS','Uploadcare','push','uploadcareLicenseKeyExpired','uploadcareLicenseKeyEvaluationLimit','_normalizeConfigSourceList','uploadcareLicenseKeyInvalid','91ppuyTC','13330ZkJlBa','_createToolbarButton','isEnabled','705COjMdo','licenseKey','withText','config','assetManager','plugins','2172UjdvHP','featureNotAllowed','locale','UploadcareUI','entries','URL','GDrive','16716fvNKHy','Local','Dropbox','get','destroy','afterInit','_createButton','bind','domainLimit','map','ImageInsertUI','89118Vordch','label','init','has','Insert','OneDrive','usageLimit','_licenseKeyCheckInterval','uploadcareLicenseKeyTrialLimit','text','1843544zJKtav','7711YaYTjy','Facebook','editor','uploadcare.uploader.sourceList','Replace','trialLimit','commands','shortText','_showLicenseError','uploadcareLicenseKeyValid','1128XOsQBU','isImageSelected','reduce','tooltip','_createDropdownButtons','evaluationLimit','uploadcare','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','invalid','expired','pluginName','550068fEoPnE','icon'];_0x2dbd=function(){return _0x208b0b;};return _0x2dbd();}import{Plugin as _0x2e3f4f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ea2bd,IconFacebook as _0x1c4116,IconGoogleDrive as _0x3cec15,IconGooglePhotos as _0x33d10c,IconUploadcareImageUpload as _0x30e098,IconUploadcareLink as _0x409484,IconOneDrive as _0x162a87}from'ckeditor5/src/icons.js';import{ButtonView as _0x1e3b37,MenuBarMenuListItemButtonView as _0x10719e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xf3e4b5}from'./uploadcareconfig.js';import{getTranslation as _0x5908b1}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 _0x2e3f4f{[_0x4a7004(0xcb)];[_0x4a7004(0x96)];static get[_0x4a7004(0xaf)](){const _0x5b3c2c=_0x4a7004;return _0x5b3c2c(0xd3);}static get[_0x4a7004(0xba)](){return!0x0;}static get[_0x4a7004(0xbe)](){return!0x0;}[_0x4a7004(0x91)](){const _0x54bed0=_0x4a7004;this[_0x54bed0(0xcb)]=this[_0x54bed0(0x9c)][_0x54bed0(0xcd)][_0x54bed0(0xda)](_0x54bed0(0xcb));const _0x2164d8=this[_0x54bed0(0x9c)];this[_0x54bed0(0x96)]=setInterval(()=>{const _0x267e6e=_0x54bed0;let _0x1e64e4;for(const _0x4eea60 in _0x2164d8){const _0x339a3d=_0x4eea60,_0x54dd43=_0x2164d8[_0x339a3d];if(_0x267e6e(0xa3)==_0x54dd43||_0x267e6e(0xc5)==_0x54dd43||_0x267e6e(0xc2)==_0x54dd43||_0x267e6e(0xb4)==_0x54dd43||_0x267e6e(0xb7)==_0x54dd43||_0x267e6e(0xc3)==_0x54dd43||_0x267e6e(0x97)==_0x54dd43||_0x267e6e(0xac)==_0x54dd43){delete _0x2164d8[_0x339a3d],_0x1e64e4=_0x54dd43,clearInterval(this[_0x267e6e(0x96)]),this[_0x267e6e(0x96)]=void 0x0;break;}}_0x267e6e(0xc5)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xad)),_0x267e6e(0xc2)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xae)),_0x267e6e(0xb4)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x8c)),_0x267e6e(0xb7)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xd1),_0x267e6e(0xc0)),_0x267e6e(0xc3)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xa9)),_0x267e6e(0x97)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x9f)),_0x267e6e(0xac)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x95));},0x3e8);}[_0x4a7004(0x89)](){const _0x268bd0=_0x4a7004,{editor:_0x123b2f}=this,_0x3694a3=_0x123b2f[_0x268bd0(0xa0)][_0x268bd0(0xda)](_0x268bd0(0xaa));if(!_0x3694a3)return;const _0x725a05=this[_0x268bd0(0xc4)](_0x123b2f[_0x268bd0(0xcd)][_0x268bd0(0xda)](_0x268bd0(0x9d)))[_0x268bd0(0xa6)]((_0xbc86eb,_0x1413e3)=>{const _0x4defb5=_0x268bd0,_0x13e2cf=this[_0x4defb5(0xbc)](_0x1413e3[_0x4defb5(0xb6)]);return _0xbc86eb[_0x13e2cf]||(_0xbc86eb[_0x13e2cf]=[]),_0xbc86eb[_0x13e2cf][_0x4defb5(0xc1)](_0x1413e3),_0xbc86eb;},{});_0x123b2f[_0x268bd0(0xcf)][_0x268bd0(0x92)](_0x268bd0(0x8e))&&_0x123b2f[_0x268bd0(0xa0)][_0x268bd0(0xda)](_0x268bd0(0xaa))&&Object[_0x268bd0(0xd4)](_0x725a05)[_0x268bd0(0xb3)](([_0x3109f4,_0x47d961])=>{const _0x3bd2c2=_0x268bd0;_0x123b2f[_0x3bd2c2(0xcf)][_0x3bd2c2(0xda)](_0x3bd2c2(0x8e))[_0x3bd2c2(0xb2)]({'name':_0x3109f4,'observable':()=>_0x3694a3,'buttonViewCreator':()=>this[_0x3bd2c2(0xc8)](_0x47d961),'formViewCreator':()=>this[_0x3bd2c2(0xa8)](_0x47d961),'menuBarButtonViewCreator':()=>this[_0x3bd2c2(0xab)](_0x47d961),'override':_0x3bd2c2(0xce)!==_0x3109f4});});}[_0x4a7004(0xdb)](){const _0x4c0fb5=_0x4a7004;super[_0x4c0fb5(0xdb)](),this[_0x4c0fb5(0x96)]&&clearInterval(this[_0x4c0fb5(0x96)]);}[_0x4a7004(0xc4)](_0x1ef3a9){const _0x277661=_0x4a7004,{locale:_0x1a5595}=this[_0x277661(0x9c)];return _0x1ef3a9[_0x277661(0x8d)](_0xf5ef16=>{const _0x23cdc1=_0x277661,_0x41e378=_0x5908b1(_0x1a5595,_0xf5ef16,_0x23cdc1(0x93));switch(_0xf5ef16){case _0xf3e4b5[_0x23cdc1(0xd8)]:return{'icon':_0x30e098,'type':_0xf3e4b5[_0x23cdc1(0xd8)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd5)]:return{'icon':_0x409484,'type':_0xf3e4b5[_0x23cdc1(0xd5)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd9)]:return{'icon':_0x2ea2bd,'type':_0xf3e4b5[_0x23cdc1(0xd9)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0x9b)]:return{'icon':_0x1c4116,'type':_0xf3e4b5[_0x23cdc1(0x9b)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd6)]:return{'icon':_0x3cec15,'type':_0xf3e4b5[_0x23cdc1(0xd6)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xb8)]:return{'icon':_0x33d10c,'type':_0xf3e4b5[_0x23cdc1(0xb8)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0x94)]:return{'icon':_0x162a87,'type':_0xf3e4b5[_0x23cdc1(0x94)],..._0x41e378};}});}[_0x4a7004(0xbc)](_0x1f8779){const _0x2d7a4e=_0x4a7004;switch(_0x1f8779){case _0xf3e4b5[_0x2d7a4e(0xd8)]:return _0x2d7a4e(0xbd);case _0xf3e4b5[_0x2d7a4e(0xd5)]:return _0x2d7a4e(0xb9);default:return _0x2d7a4e(0xce);}}[_0x4a7004(0x8a)](_0x2e15fe,_0x162420){const _0x4104fc=_0x4a7004,_0x58aae3=this[_0x4104fc(0x9c)],_0x3f65dc=new _0x2e15fe(_0x58aae3[_0x4104fc(0xd2)]),_0x326b48=_0x58aae3[_0x4104fc(0xa0)][_0x4104fc(0xda)](_0x4104fc(0xaa));return _0x3f65dc[_0x4104fc(0x8b)](_0x4104fc(0xc9))['to'](_0x326b48),_0x3f65dc['on'](_0x4104fc(0xbb),()=>{const _0x166bbe=_0x4104fc;_0x326b48[_0x166bbe(0xbb)](_0x162420);}),_0x3f65dc;}[_0x4a7004(0xc8)](_0x30a9f5){const _0x44f0c6=_0x4a7004,{locale:_0x2b1f5b}=this[_0x44f0c6(0x9c)],_0x3f09f5=this[_0x44f0c6(0x9c)][_0x44f0c6(0xcf)][_0x44f0c6(0xda)](_0x44f0c6(0x8e)),_0x4eb8ce=_0x30a9f5[0x0],_0x4cafb5=this[_0x44f0c6(0x8a)](_0x1e3b37,_0x4eb8ce[_0x44f0c6(0xb6)]);return _0x4cafb5[_0x44f0c6(0xb1)]=_0x4eb8ce[_0x44f0c6(0xb1)],_0x4cafb5[_0x44f0c6(0x8b)](_0x44f0c6(0x90))['to'](_0x3f09f5,_0x44f0c6(0xa5),_0x197239=>_0x5908b1(_0x2b1f5b,_0x4eb8ce[_0x44f0c6(0xb6)],_0x197239?_0x44f0c6(0x9e):_0x44f0c6(0x93))[_0x44f0c6(0x98)]),_0x4cafb5[_0x44f0c6(0xa7)]=!0x0,_0x4cafb5;}[_0x4a7004(0xa8)](_0x49982b){const _0x3e8157=_0x4a7004,{locale:_0x5c0bd2}=this[_0x3e8157(0x9c)],_0x372664=this[_0x3e8157(0x9c)][_0x3e8157(0xcf)][_0x3e8157(0xda)](_0x3e8157(0x8e));return _0x49982b[_0x3e8157(0x8d)](_0x65ba50=>{const _0x333f57=_0x3e8157,_0x48802c=this[_0x333f57(0x8a)](_0x1e3b37,_0x65ba50[_0x333f57(0xb6)]);return _0x48802c[_0x333f57(0xcc)]=!0x0,_0x48802c[_0x333f57(0xb1)]=_0x65ba50[_0x333f57(0xb1)],_0x48802c[_0x333f57(0x8b)](_0x333f57(0x90))['to'](_0x372664,_0x333f57(0xa5),_0x4cee0d=>_0x5908b1(_0x5c0bd2,_0x65ba50[_0x333f57(0xb6)],_0x4cee0d?_0x333f57(0x9e):_0x333f57(0x93))[_0x333f57(0x98)]),_0x48802c;});}[_0x4a7004(0xab)](_0x165cb3){const _0x10c401=_0x4a7004;return _0x165cb3[_0x10c401(0x8d)](_0x564759=>{const _0x3183f2=_0x10c401,_0x23b012=this[_0x3183f2(0x8a)](_0x10719e,_0x564759[_0x3183f2(0xb6)]);return _0x23b012[_0x3183f2(0xb1)]=_0x564759[_0x3183f2(0xb1)],_0x23b012[_0x3183f2(0x90)]=_0x564759[_0x3183f2(0xa1)],_0x23b012;});}}
23
+ const _0xf74218=_0x21b7;(function(_0x283286,_0x158b0d){const _0x23cad4=_0x21b7,_0x2aa041=_0x283286();while(!![]){try{const _0x8372aa=parseInt(_0x23cad4(0x174))/0x1*(parseInt(_0x23cad4(0x17b))/0x2)+-parseInt(_0x23cad4(0x19c))/0x3+parseInt(_0x23cad4(0x196))/0x4+parseInt(_0x23cad4(0x1bb))/0x5*(-parseInt(_0x23cad4(0x18c))/0x6)+-parseInt(_0x23cad4(0x198))/0x7*(-parseInt(_0x23cad4(0x1c2))/0x8)+parseInt(_0x23cad4(0x1bf))/0x9*(parseInt(_0x23cad4(0x1b9))/0xa)+-parseInt(_0x23cad4(0x180))/0xb;if(_0x8372aa===_0x158b0d)break;else _0x2aa041['push'](_0x2aa041['shift']());}catch(_0x5efdd7){_0x2aa041['push'](_0x2aa041['shift']());}}}(_0x51b4,0x767f9));import{Plugin as _0xdfd67f}from'ckeditor5/src/core.js';import{IconDropbox as _0x39fca7,IconFacebook as _0x217480,IconGoogleDrive as _0x13c667,IconGooglePhotos as _0x49ddc8,IconUploadcareImageUpload as _0x25162b,IconUploadcareLink as _0x243fe8,IconOneDrive as _0x41c728}from'ckeditor5/src/icons.js';import{ButtonView as _0x27c564,MenuBarMenuListItemButtonView as _0x17b552}from'ckeditor5/src/ui.js';function _0x51b4(){const _0x10f81f=['map','tooltip','OneDrive','reduce','Uploadcare','init','upload','_createToolbarButton','Insert','execute','ImageInsertUI','get','has','plugins','uploadcareLicenseKeyDomainLimit','shortText','_createButton','Facebook','evaluationLimit','pluginName','bind','text','uploadcareLicenseKeyInvalid','10liajec','featureNotAllowed','205PJQMmu','afterInit','licenseKey','_licenseKeyCheckInterval','2088963UNvMZq','GPhotos','uploadcareLicenseKeyUsageLimit','11112MfknHf','domainLimit','url','_showLicenseError','772613xcoGdv','push','type','Dropbox','destroy','uploadcareLicenseKeyNotAllowed','usageLimit','2qsfIeo','uploadcare','Local','locale','_normalizeConfigSourceList','6597987WkAMWD','trialLimit','UploadcareUI','invalid','commands','forEach','uploadcareLicenseKeyTrialLimit','Replace','icon','isOfficialPlugin','expired','isImageSelected','85272RvzhHo','assetManager','_getIntegrationKey','GDrive','_createMenuBarButtons','config','withText','editor','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyExpired','1824584jTeMem','_createDropdownButtons','3108xHOzUu','URL','isPremiumPlugin','label','1229112lZeJqx','isEnabled','uploadcare.uploader.sourceList','uploadcareLicenseKeyValid','registerIntegration','entries'];_0x51b4=function(){return _0x10f81f;};return _0x51b4();}import{UploadcareSource as _0x11960a}from'./uploadcareconfig.js';import{getTranslation as _0x3f9088}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x21b7(_0x1645cf,_0x44ff57){const _0x51b470=_0x51b4();return _0x21b7=function(_0x21b7f1,_0x5571b2){_0x21b7f1=_0x21b7f1-0x172;let _0x6ae73e=_0x51b470[_0x21b7f1];return _0x6ae73e;},_0x21b7(_0x1645cf,_0x44ff57);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xdfd67f{[_0xf74218(0x1bd)];[_0xf74218(0x1be)];static get[_0xf74218(0x1b5)](){const _0x56f377=_0xf74218;return _0x56f377(0x182);}static get[_0xf74218(0x189)](){return!0x0;}static get[_0xf74218(0x19a)](){return!0x0;}[_0xf74218(0x1a7)](){const _0x4719b3=_0xf74218;this[_0x4719b3(0x1bd)]=this[_0x4719b3(0x193)][_0x4719b3(0x191)][_0x4719b3(0x1ad)](_0x4719b3(0x1bd));const _0x3d6048=this[_0x4719b3(0x193)];this[_0x4719b3(0x1be)]=setInterval(()=>{const _0x4381b8=_0x4719b3;let _0x3dd7d4;for(const _0x1a9318 in _0x3d6048){const _0x4bfff3=_0x1a9318,_0x1670a5=_0x3d6048[_0x4bfff3];if(_0x4381b8(0x19f)==_0x1670a5||_0x4381b8(0x1b8)==_0x1670a5||_0x4381b8(0x195)==_0x1670a5||_0x4381b8(0x1b0)==_0x1670a5||_0x4381b8(0x179)==_0x1670a5||_0x4381b8(0x194)==_0x1670a5||_0x4381b8(0x186)==_0x1670a5||_0x4381b8(0x1c1)==_0x1670a5){delete _0x3d6048[_0x4bfff3],_0x3dd7d4=_0x1670a5,clearInterval(this[_0x4381b8(0x1be)]),this[_0x4381b8(0x1be)]=void 0x0;break;}}_0x4381b8(0x1b8)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x183)),_0x4381b8(0x195)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x18a)),_0x4381b8(0x1b0)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1c3)),_0x4381b8(0x179)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1ba),_0x4381b8(0x1a6)),_0x4381b8(0x194)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1b4)),_0x4381b8(0x186)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x181)),_0x4381b8(0x1c1)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x17a));},0x3e8);}[_0xf74218(0x1bc)](){const _0x1e6a1f=_0xf74218,{editor:_0x1f0928}=this,_0x5ae156=_0x1f0928[_0x1e6a1f(0x184)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x17c));if(!_0x5ae156)return;const _0x569ef3=this[_0x1e6a1f(0x17f)](_0x1f0928[_0x1e6a1f(0x191)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x19e)))[_0x1e6a1f(0x1a5)]((_0x36b9bf,_0x42fc9b)=>{const _0x40eee4=_0x1e6a1f,_0x5f2e5f=this[_0x40eee4(0x18e)](_0x42fc9b[_0x40eee4(0x176)]);return _0x36b9bf[_0x5f2e5f]||(_0x36b9bf[_0x5f2e5f]=[]),_0x36b9bf[_0x5f2e5f][_0x40eee4(0x175)](_0x42fc9b),_0x36b9bf;},{});_0x1f0928[_0x1e6a1f(0x1af)][_0x1e6a1f(0x1ae)](_0x1e6a1f(0x1ac))&&_0x1f0928[_0x1e6a1f(0x184)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x17c))&&Object[_0x1e6a1f(0x1a1)](_0x569ef3)[_0x1e6a1f(0x185)](([_0x590293,_0x29e371])=>{const _0x3e3cd0=_0x1e6a1f;_0x1f0928[_0x3e3cd0(0x1af)][_0x3e3cd0(0x1ad)](_0x3e3cd0(0x1ac))[_0x3e3cd0(0x1a0)]({'name':_0x590293,'observable':()=>_0x5ae156,'buttonViewCreator':()=>this[_0x3e3cd0(0x1a9)](_0x29e371),'formViewCreator':()=>this[_0x3e3cd0(0x197)](_0x29e371),'menuBarButtonViewCreator':()=>this[_0x3e3cd0(0x190)](_0x29e371),'override':_0x3e3cd0(0x18d)!==_0x590293});});}[_0xf74218(0x178)](){const _0x3bbcc=_0xf74218;super[_0x3bbcc(0x178)](),this[_0x3bbcc(0x1be)]&&clearInterval(this[_0x3bbcc(0x1be)]);}[_0xf74218(0x17f)](_0x1f4e48){const _0x10f67c=_0xf74218,{locale:_0x4f5487}=this[_0x10f67c(0x193)];return _0x1f4e48[_0x10f67c(0x1a2)](_0x1ec3e3=>{const _0x5b3269=_0x10f67c,_0x220724=_0x3f9088(_0x4f5487,_0x1ec3e3,_0x5b3269(0x1aa));switch(_0x1ec3e3){case _0x11960a[_0x5b3269(0x17d)]:return{'icon':_0x25162b,'type':_0x11960a[_0x5b3269(0x17d)],..._0x220724};case _0x11960a[_0x5b3269(0x199)]:return{'icon':_0x243fe8,'type':_0x11960a[_0x5b3269(0x199)],..._0x220724};case _0x11960a[_0x5b3269(0x177)]:return{'icon':_0x39fca7,'type':_0x11960a[_0x5b3269(0x177)],..._0x220724};case _0x11960a[_0x5b3269(0x1b3)]:return{'icon':_0x217480,'type':_0x11960a[_0x5b3269(0x1b3)],..._0x220724};case _0x11960a[_0x5b3269(0x18f)]:return{'icon':_0x13c667,'type':_0x11960a[_0x5b3269(0x18f)],..._0x220724};case _0x11960a[_0x5b3269(0x1c0)]:return{'icon':_0x49ddc8,'type':_0x11960a[_0x5b3269(0x1c0)],..._0x220724};case _0x11960a[_0x5b3269(0x1a4)]:return{'icon':_0x41c728,'type':_0x11960a[_0x5b3269(0x1a4)],..._0x220724};}});}[_0xf74218(0x18e)](_0x70779d){const _0x210fda=_0xf74218;switch(_0x70779d){case _0x11960a[_0x210fda(0x17d)]:return _0x210fda(0x1a8);case _0x11960a[_0x210fda(0x199)]:return _0x210fda(0x172);default:return _0x210fda(0x18d);}}[_0xf74218(0x1b2)](_0x4501c8,_0x2c1525){const _0x1a380b=_0xf74218,_0x1fa7d1=this[_0x1a380b(0x193)],_0x26d187=new _0x4501c8(_0x1fa7d1[_0x1a380b(0x17e)]),_0x50d753=_0x1fa7d1[_0x1a380b(0x184)][_0x1a380b(0x1ad)](_0x1a380b(0x17c));return _0x26d187[_0x1a380b(0x1b6)](_0x1a380b(0x19d))['to'](_0x50d753),_0x26d187['on'](_0x1a380b(0x1ab),()=>{const _0x2440c4=_0x1a380b;_0x50d753[_0x2440c4(0x1ab)](_0x2c1525);}),_0x26d187;}[_0xf74218(0x1a9)](_0x5923a9){const _0x1a80f6=_0xf74218,{locale:_0x202695}=this[_0x1a80f6(0x193)],_0x11929d=this[_0x1a80f6(0x193)][_0x1a80f6(0x1af)][_0x1a80f6(0x1ad)](_0x1a80f6(0x1ac)),_0x201008=_0x5923a9[0x0],_0x3f6ca6=this[_0x1a80f6(0x1b2)](_0x27c564,_0x201008[_0x1a80f6(0x176)]);return _0x3f6ca6[_0x1a80f6(0x188)]=_0x201008[_0x1a80f6(0x188)],_0x3f6ca6[_0x1a80f6(0x1b6)](_0x1a80f6(0x19b))['to'](_0x11929d,_0x1a80f6(0x18b),_0x5f6b64=>_0x3f9088(_0x202695,_0x201008[_0x1a80f6(0x176)],_0x5f6b64?_0x1a80f6(0x187):_0x1a80f6(0x1aa))[_0x1a80f6(0x1b7)]),_0x3f6ca6[_0x1a80f6(0x1a3)]=!0x0,_0x3f6ca6;}[_0xf74218(0x197)](_0x183fb2){const _0x35ba1a=_0xf74218,{locale:_0x5743ed}=this[_0x35ba1a(0x193)],_0xd2d011=this[_0x35ba1a(0x193)][_0x35ba1a(0x1af)][_0x35ba1a(0x1ad)](_0x35ba1a(0x1ac));return _0x183fb2[_0x35ba1a(0x1a2)](_0x1fd178=>{const _0x5887cf=_0x35ba1a,_0x2a785a=this[_0x5887cf(0x1b2)](_0x27c564,_0x1fd178[_0x5887cf(0x176)]);return _0x2a785a[_0x5887cf(0x192)]=!0x0,_0x2a785a[_0x5887cf(0x188)]=_0x1fd178[_0x5887cf(0x188)],_0x2a785a[_0x5887cf(0x1b6)](_0x5887cf(0x19b))['to'](_0xd2d011,_0x5887cf(0x18b),_0x190c9c=>_0x3f9088(_0x5743ed,_0x1fd178[_0x5887cf(0x176)],_0x190c9c?_0x5887cf(0x187):_0x5887cf(0x1aa))[_0x5887cf(0x1b7)]),_0x2a785a;});}[_0xf74218(0x190)](_0x5f4581){const _0x1d0ca=_0xf74218;return _0x5f4581[_0x1d0ca(0x1a2)](_0x430617=>{const _0x203dac=_0x1d0ca,_0x1613d1=this[_0x203dac(0x1b2)](_0x17b552,_0x430617[_0x203dac(0x176)]);return _0x1613d1[_0x203dac(0x188)]=_0x430617[_0x203dac(0x188)],_0x1613d1[_0x203dac(0x19b)]=_0x430617[_0x203dac(0x1b1)],_0x1613d1;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x276509}from'ckeditor5/src/core.js';import{FileRepository as _0x323524}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1e232c}from'./uploadcareediting.js';import{UploadUtils as _0x33c479}from'./utils/uploadutils.js';import{getImageUrls as _0xea1893}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x276509{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x323524,_0x1e232c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4628c7=this['editor'];if(!!!_0x4628c7['config']['get']('uploadcare'))return;_0x4628c7['plugins']['get'](_0x323524)['createUploadAdapter']=_0x98bb46=>new k(_0x98bb46,_0x4628c7),_0x4628c7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x39b992,{imageElement:_0x5a48a8,data:_0xc7d821})=>{_0x4628c7['model']['change'](_0x545a9c=>{_0x545a9c['setAttribute']('uploadcareImageId',_0xc7d821['uploadcareImageId'],_0x5a48a8);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x135a2f,_0x7976db){this['loader']=_0x135a2f,this['editor']=_0x7976db,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x44b4de=await this['loader']['file'];return _0x33c479['upload']({'file':_0x44b4de,'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':_0x23b856=>{_0x23b856&&_0x23b856['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x23b856['value']);}})['then'](async _0x2c6ec0=>{const {imageFallbackUrl:_0x129539,imageSources:_0x2ba458}=_0xea1893(_0x2c6ec0['cdnUrl'],_0x2c6ec0['imageInfo']['width']);return{'uploadcareImageId':_0x2c6ec0['uuid'],'default':_0x129539,'sources':_0x2ba458};})['catch'](()=>{const _0x1eaae1=t('Cannot\x20upload\x20file:')+('\x20'+_0x44b4de['name']+'.');return Promise['reject'](_0x1eaae1);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x33a50f}from'ckeditor5/src/core.js';import{FileRepository as _0x4daaae}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x53bcb1}from'./uploadcareediting.js';import{UploadUtils as _0x2e9b2a}from'./utils/uploadutils.js';import{getImageUrls as _0x3866f3}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x33a50f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4daaae,_0x53bcb1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b003e=this['editor'];if(!!!_0x1b003e['config']['get']('uploadcare'))return;_0x1b003e['plugins']['get'](_0x4daaae)['createUploadAdapter']=_0x22a870=>new k(_0x22a870,_0x1b003e),_0x1b003e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xf77042,{imageElement:_0x322e8e,data:_0x153608})=>{_0x1b003e['model']['change'](_0x27ed75=>{_0x27ed75['setAttribute']('uploadcareImageId',_0x153608['uploadcareImageId'],_0x322e8e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2b857f,_0xc97324){this['loader']=_0x2b857f,this['editor']=_0xc97324,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x515db4=await this['loader']['file'];return _0x2e9b2a['upload']({'file':_0x515db4,'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':_0x58f66d=>{_0x58f66d&&_0x58f66d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x58f66d['value']);}})['then'](async _0x934feb=>{const {imageFallbackUrl:_0x24ebe1,imageSources:_0xdb6b72}=_0x3866f3(_0x934feb['cdnUrl'],_0x934feb['imageInfo']['width']);return{'uploadcareImageId':_0x934feb['uuid'],'default':_0x24ebe1,'sources':_0xdb6b72};})['catch'](()=>{const _0x507398=t('Cannot\x20upload\x20file:')+('\x20'+_0x515db4['name']+'.');return Promise['reject'](_0x507398);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x56f3f6}from'../uploadcareconfig.js';export function getTranslation(_0x5a2120,_0x5d354d,_0x2b9d22){const t=_0x5a2120['t'],_0x1d0120=_0x5a2120['t'];switch(_0x5d354d){case _0x56f3f6['Local']:return{'text':_0x1d0120('Insert'===_0x2b9d22?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1d0120('From\x20computer')};case _0x56f3f6['URL']:return{'text':'Insert'===_0x2b9d22?_0x1d0120('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1d0120('Via\x20URL')};case _0x56f3f6['Dropbox']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x56f3f6['Facebook']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x56f3f6['GDrive']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x56f3f6['GPhotos']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x56f3f6['OneDrive']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5d354d;}}
23
+ import{UploadcareSource as _0x26f58b}from'../uploadcareconfig.js';export function getTranslation(_0x3ff771,_0x105e3c,_0x2c87a0){const t=_0x3ff771['t'],_0x26368b=_0x3ff771['t'];switch(_0x105e3c){case _0x26f58b['Local']:return{'text':_0x26368b('Insert'===_0x2c87a0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x26368b('From\x20computer')};case _0x26f58b['URL']:return{'text':'Insert'===_0x2c87a0?_0x26368b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x26368b('Via\x20URL')};case _0x26f58b['Dropbox']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x26f58b['Facebook']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x26f58b['GDrive']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x26f58b['GPhotos']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x26f58b['OneDrive']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x105e3c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x79aa81=_0x3414;(function(_0x32341e,_0x2a7073){var _0x50c8e0=_0x3414,_0x462f13=_0x32341e();while(!![]){try{var _0x3a602d=parseInt(_0x50c8e0(0x74))/0x1+-parseInt(_0x50c8e0(0x7c))/0x2*(-parseInt(_0x50c8e0(0x7b))/0x3)+-parseInt(_0x50c8e0(0x73))/0x4+-parseInt(_0x50c8e0(0x6e))/0x5+-parseInt(_0x50c8e0(0x77))/0x6+-parseInt(_0x50c8e0(0x72))/0x7*(-parseInt(_0x50c8e0(0x7f))/0x8)+-parseInt(_0x50c8e0(0x7a))/0x9*(-parseInt(_0x50c8e0(0x6d))/0xa);if(_0x3a602d===_0x2a7073)break;else _0x462f13['push'](_0x462f13['shift']());}catch(_0x1e2870){_0x462f13['push'](_0x462f13['shift']());}}}(_0x4bf7,0x3198e));function _0x4bf7(){var _0x382020=['focusCycler','456aBgPAM','4990NEVVlW','814575DbXIiF','focusTracker','fire','true','44786fKDhqJ','1244064kgQFxV','70370jevMqN','createCollection','forwardCycle','1456458WzNseW','bindTemplate','div','8262mIFWWj','33BsFsxL','4852RSyyGf','getFocusableElement'];_0x4bf7=function(){return _0x382020;};return _0x4bf7();}import{FocusTracker as _0x50c4bf}from'ckeditor5/src/utils.js';import{View as _0xbab881,FocusCycler as _0x3f2408}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x3414(_0x3f355f,_0x11f7fc){var _0x4bf715=_0x4bf7();return _0x3414=function(_0x3414c9,_0x1f186d){_0x3414c9=_0x3414c9-0x6d;var _0x2cc445=_0x4bf715[_0x3414c9];return _0x2cc445;},_0x3414(_0x3f355f,_0x11f7fc);}export class DialogFocusManagerView extends _0xbab881{[_0x79aa81(0x6f)];[_0x79aa81(0x7e)];constructor(_0x1e5c1d){var _0x92e83b=_0x79aa81;super(_0x1e5c1d),this[_0x92e83b(0x6f)]=new _0x50c4bf(),this[_0x92e83b(0x7e)]=new _0x3f2408({'focusables':this[_0x92e83b(0x75)](),'focusTracker':this[_0x92e83b(0x6f)]});}[_0x79aa81(0x7d)](){var _0x497090=_0x79aa81;return{'tag':_0x497090(0x79),'attributes':{'aria-hidden':_0x497090(0x71),'tabindex':'0'},'on':{'focus':this[_0x497090(0x78)]['to'](()=>{var _0x304922=_0x497090;this[_0x304922(0x7e)][_0x304922(0x70)](_0x304922(0x76));})}};}}
23
+ var _0x94e816=_0x475a;(function(_0x22daa7,_0x212e72){var _0x368816=_0x475a,_0x27ba88=_0x22daa7();while(!![]){try{var _0x1ce59d=-parseInt(_0x368816(0xe4))/0x1*(-parseInt(_0x368816(0xeb))/0x2)+parseInt(_0x368816(0xea))/0x3+-parseInt(_0x368816(0xec))/0x4*(-parseInt(_0x368816(0xe3))/0x5)+-parseInt(_0x368816(0xee))/0x6+parseInt(_0x368816(0xed))/0x7+-parseInt(_0x368816(0xe6))/0x8+-parseInt(_0x368816(0xe2))/0x9;if(_0x1ce59d===_0x212e72)break;else _0x27ba88['push'](_0x27ba88['shift']());}catch(_0x54bcf7){_0x27ba88['push'](_0x27ba88['shift']());}}}(_0x5cbd,0xf3528));import{FocusTracker as _0x105058}from'ckeditor5/src/utils.js';import{View as _0x1af2a8,FocusCycler as _0x3c689d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x5cbd(){var _0x2602e8=['12TLyNOw','10588900BiLZJN','8753664KhvqjB','bindTemplate','fire','focusTracker','div','forwardCycle','14401125wUXLlj','1984975skVZed','349464JFcLvI','true','7034728dBiofu','getFocusableElement','createCollection','focusCycler','4597335aJlHiw','4cQDHMS'];_0x5cbd=function(){return _0x2602e8;};return _0x5cbd();}function _0x475a(_0x555031,_0x6edfe7){var _0x5cbdc8=_0x5cbd();return _0x475a=function(_0x475ad7,_0x1b7589){_0x475ad7=_0x475ad7-0xde;var _0x3cb4b3=_0x5cbdc8[_0x475ad7];return _0x3cb4b3;},_0x475a(_0x555031,_0x6edfe7);}export class DialogFocusManagerView extends _0x1af2a8{[_0x94e816(0xdf)];[_0x94e816(0xe9)];constructor(_0x24c35f){var _0x51cf96=_0x94e816;super(_0x24c35f),this[_0x51cf96(0xdf)]=new _0x105058(),this[_0x51cf96(0xe9)]=new _0x3c689d({'focusables':this[_0x51cf96(0xe8)](),'focusTracker':this[_0x51cf96(0xdf)]});}[_0x94e816(0xe7)](){var _0x594439=_0x94e816;return{'tag':_0x594439(0xe0),'attributes':{'aria-hidden':_0x594439(0xe5),'tabindex':'0'},'on':{'focus':this[_0x594439(0xef)]['to'](()=>{var _0x366e4f=_0x594439;this[_0x366e4f(0xe9)][_0x366e4f(0xde)](_0x366e4f(0xe1));})}};}}