@ckeditor/ckeditor5-uploadcare 46.0.0 → 46.0.1-alpha.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 +10 -10
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd82f(_0xa88e51,_0x49ad5d){const _0x4b62e8=_0x4b62();return _0xd82f=function(_0xd82f52,_0x48a54a){_0xd82f52=_0xd82f52-0x1a5;let _0x3ef6cf=_0x4b62e8[_0xd82f52];return _0x3ef6cf;},_0xd82f(_0xa88e51,_0x49ad5d);}const _0xa52415=_0xd82f;(function(_0x4cf015,_0x5a9911){const _0x1e5b28=_0xd82f,_0x234520=_0x4cf015();while(!![]){try{const _0x26cda7=-parseInt(_0x1e5b28(0x1b7))/0x1+parseInt(_0x1e5b28(0x1f4))/0x2*(parseInt(_0x1e5b28(0x1a7))/0x3)+-parseInt(_0x1e5b28(0x1db))/0x4+-parseInt(_0x1e5b28(0x1bd))/0x5*(-parseInt(_0x1e5b28(0x1c6))/0x6)+-parseInt(_0x1e5b28(0x1ef))/0x7+-parseInt(_0x1e5b28(0x1a6))/0x8+-parseInt(_0x1e5b28(0x1e6))/0x9*(-parseInt(_0x1e5b28(0x1ce))/0xa);if(_0x26cda7===_0x5a9911)break;else _0x234520['push'](_0x234520['shift']());}catch(_0x45bb36){_0x234520['push'](_0x234520['shift']());}}}(_0x4b62,0xe4b6f));import{Plugin as _0x1fb915}from'ckeditor5/src/core.js';import{Dialog as _0x5921ab}from'ckeditor5/src/ui.js';import{createElement as _0x5c3965,global as _0x5f4115,uid as _0x50832b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x43d43e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x239233}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e97f3}from'./utils/editingutils.js';function _0x4b62(){const _0x39a0af=['remove','selection','appendChild','configElement','uploadcareImageId','conversion','417496rGkdar','3nnUYHN','locale','getSelectedElement','config','afterInit','closeMax','getAttribute','view','uc-upload-ctx-provider','schema','extend','ctxElement','init','model','downcast','cleanupImage','1819058aSlnoB','join','document','once','uploadcareImageReplace','contentLanguage','15910BTHlep','isRegistered','fromCharCode','querySelector','_initConfig','data-uc-image-id','uc-config','uploadcare','PictureEditing','2274ERaKDn','requires','add','isPremiumPlugin','listenTo','editor','upcast','execute','54090XHXNlj','_ctxElement','map','iconHrefResolver','editing','input[uploadcare-file-input]','replaceImageSource','elementToAttribute','uploadcare.uploader','attributeToAttribute','get','render','imageBlock','4878324WbJAAY','UploadcareEditing','#uc-icon-arrow-down','pluginName','_initCtx','uploadcare.pubkey','insertImage','for','imageInline','_initSchema','destroy','6867mdmNAc','true','_configElement','ucContextId','commands','removeAttribute','uploader-','body','_initConversion','12021947MnxVFA','href','_initImageProcessingIndicator','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','isOfficialPlugin','824034WkoOkB'];_0x4b62=function(){return _0x39a0af;};return _0x4b62();}export class UploadcareEditing extends _0x1fb915{[_0xa52415(0x1e8)]=null;[_0xa52415(0x1cf)]=null;static get[_0xa52415(0x1de)](){const _0x1e270b=_0xa52415;return _0x1e270b(0x1dc);}static get[_0xa52415(0x1c7)](){const _0x4f6fdb=_0xa52415;return[_0x4f6fdb(0x1c5),_0x239233,_0x5921ab];}static get[_0xa52415(0x1f3)](){return!0x0;}static get[_0xa52415(0x1c9)](){return!0x0;}[_0xa52415(0x1e9)];get[_0xa52415(0x1f8)](){const _0x5d8299=_0xa52415;return this[_0x5d8299(0x1e8)];}get[_0xa52415(0x1b2)](){const _0x207159=_0xa52415;return this[_0x207159(0x1cf)];}constructor(_0xf3a3ab){const _0x28e7ee=_0xa52415;super(_0xf3a3ab),this[_0x28e7ee(0x1e9)]=_0x50832b();}[_0xa52415(0x1b3)](){const _0x4555cf=_0xa52415,_0x2dc819=this[_0x4555cf(0x1cb)];_0x2dc819[_0x4555cf(0x1ea)][_0x4555cf(0x1c8)](_0x4555cf(0x1c4),new _0x43d43e(_0x2dc819));}[_0xa52415(0x1ab)](){const _0x3692ac=_0xa52415;this[_0x3692ac(0x1e4)](),this[_0x3692ac(0x1ee)](),this[_0x3692ac(0x1c1)](),this[_0x3692ac(0x1df)](),this[_0x3692ac(0x1f1)](),this[_0x3692ac(0x1ca)](this[_0x3692ac(0x1cb)],_0x3692ac(0x1e5),()=>{const _0x270dc0=_0x3692ac;this[_0x270dc0(0x1e8)]&&(this[_0x270dc0(0x1e8)][_0x270dc0(0x1f5)](),this[_0x270dc0(0x1e8)]=null),this[_0x270dc0(0x1cf)]&&(this[_0x270dc0(0x1cf)][_0x270dc0(0x1f5)](),this[_0x270dc0(0x1cf)]=null);const _0x4fe2a2=_0x5f4115[_0x270dc0(0x1b9)][_0x270dc0(0x1c0)](_0x270dc0(0x1d3));_0x4fe2a2&&_0x4fe2a2[_0x270dc0(0x1f5)]();}),async function(_0x348a16){const _0x191def=_0x23c87f([0x37,0x36,0x53,0x6f,0x73,0x50,0x43,0x4f,0x65,0x41,0x59,0x39,0x61,0x6b,0x31,0x49,0x51,0x56,0x6e,0x6a,0x32,0x34,0x5a,0x63,0x4b,0x66,0x6c,0x62,0x38,0x72,0x64,0x42,0x44,0x33,0x70,0x48,0x4e,0x75,0x67,0x52,0x4c,0x6d,0x4d,0x35,0x71,0x55,0x68,0x74,0x4a,0x69,0x47,0x78,0x54,0x57,0x76,0x46,0x45,0x7a,0x30,0x79,0x58,0x77]),_0x5caf21=0x65711734,_0x33a15f=0x65767a24^_0x5caf21,_0xb7bc8f=window[_0x23c87f([0x44,0x61,0x74,0x65])][_0x23c87f([0x6e,0x6f,0x77])](),_0x5a83b1=_0x348a16[_0x23c87f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2eb857=new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23abc1=>{_0x5a83b1[_0x23c87f([0x6f,0x6e,0x63,0x65])](_0x23c87f([0x72,0x65,0x61,0x64,0x79]),_0x23abc1);}),_0x324596={[_0x23c87f([0x6b,0x74,0x79])]:_0x23c87f([0x45,0x43]),[_0x23c87f([0x75,0x73,0x65])]:_0x23c87f([0x73,0x69,0x67]),[_0x23c87f([0x63,0x72,0x76])]:_0x23c87f([0x50,0x2d,0x32,0x35,0x36]),[_0x23c87f([0x78])]:_0x23c87f([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]),[_0x23c87f([0x79])]:_0x23c87f([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]),[_0x23c87f([0x61,0x6c,0x67])]:_0x23c87f([0x45,0x53,0x32,0x35,0x36])},_0x7a0d1d=_0x5a83b1[_0x23c87f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23c87f([0x67,0x65,0x74])](_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x363e20(){let _0x54110c,_0x312c3a=null,_0x5e3862=null;try{if(_0x7a0d1d==_0x23c87f([0x47,0x50,0x4c]))return _0x23c87f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54110c=_0x25da17(),!_0x54110c)return _0x23c87f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54110c[_0x23c87f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e3862=_0x28bb8c(_0x54110c[_0x23c87f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54110c[_0x23c87f([0x6a,0x74,0x69])])),await _0x97cce6()?_0x10064d()?_0x1da7b4()?_0x23c87f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f159d()?(_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23c87f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x312c3a=_0x3e3c0a(_0x23c87f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23c87f([0x74,0x72,0x69,0x61,0x6c])&&(_0x312c3a=_0x3e3c0a(_0x23c87f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4778e2()):_0x23c87f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23c87f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23c87f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23c87f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1da7b4(){const _0x5945b3=[_0x23c87f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23c87f([0x74,0x72,0x69,0x61,0x6c])][_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb7bc8f/0x3e8:0xe10*_0x33a15f;return _0x54110c[_0x23c87f([0x65,0x78,0x70])]<_0x5945b3;}function _0x10064d(){const _0x8ab056=_0x54110c[_0x23c87f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8ab056&&(!!_0x8ab056[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c87f([0x2a]))||!!_0x8ab056[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c87f([0x55,0x50,0x4c,0x43])));}function _0x3f159d(){const _0x2a39c6=_0xd82f,_0x1fcd3a=_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1fcd3a||0x0==_0x1fcd3a[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x379543}=new URL(window[_0x23c87f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a39c6(0x1f0)]);if(_0x1fcd3a[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379543))return!0x0;const _0x117dee=_0x379543[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e]));return _0x1fcd3a[_0x23c87f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20d5e4=>_0x20d5e4[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c87f([0x2a])))[_0x23c87f([0x6d,0x61,0x70])](_0x462301=>_0x462301[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e])))[_0x23c87f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aa996=>_0x3aa996[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x117dee[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23c87f([0x6d,0x61,0x70])](_0xbb93c=>Array(_0x117dee[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbb93c[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23c87f([0x66,0x69,0x6c,0x6c])](_0xbb93c[0x0]===_0x23c87f([0x2a])?_0x23c87f([0x2a]):'')[_0x23c87f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbb93c))[_0x23c87f([0x73,0x6f,0x6d,0x65])](_0x5adaab=>_0x117dee[_0x23c87f([0x65,0x76,0x65,0x72,0x79])]((_0x158152,_0x591302)=>_0x5adaab[_0x591302]===_0x158152||_0x5adaab[_0x591302]===_0x23c87f([0x2a])));}function _0x4778e2(){return _0x312c3a&&_0x5e3862?new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x578a6b,_0x2ee911)=>{_0x312c3a[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x578a6b,_0x2ee911),_0x5e3862[_0x23c87f([0x74,0x68,0x65,0x6e])](_0xd94f=>{_0xd94f!=_0x23c87f([0x56,0x61,0x6c,0x69,0x64])&&_0x578a6b(_0xd94f);},_0x2ee911);}):_0x312c3a||_0x5e3862||_0x23c87f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28bb8c(_0x121115,_0x5d0218){return new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32ff0c=>{if(_0x50f833())return _0x32ff0c(_0x23c87f([0x56,0x61,0x6c,0x69,0x64]));_0x3742f8(),_0x5a83b1[_0x23c87f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23c87f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18c270=!0x1;const _0x50990c=_0x50832b();function _0x5438a3(_0x9344fb){return!!_0x9344fb&&(typeof _0x9344fb===_0x23c87f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9344fb===_0x23c87f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9344fb[_0x23c87f([0x74,0x68,0x65,0x6e])]===_0x23c87f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9344fb[_0x23c87f([0x63,0x61,0x74,0x63,0x68])]===_0x23c87f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc5fe60(_0x539423){_0x26b61e(_0x539423)[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x5af3dd=>{if(!_0x5af3dd||_0x5af3dd[_0x23c87f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23c87f([0x6f,0x6b]))return _0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1846b2(_0x2cc2fc(_0x50990c+_0x5d0218))!=_0x5af3dd[_0x23c87f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23c87f([0x56,0x61,0x6c,0x69,0x64]);})[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x134790=>(_0x11a32f(),_0x134790),()=>{const _0x36aa07=_0x5984f5();return null==_0x36aa07?(_0x11a32f(),_0x23c87f([0x56,0x61,0x6c,0x69,0x64])):_0x23c87f(_0xb7bc8f-_0x36aa07>(0x417d9334^_0x5caf21)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x32ff0c)[_0x23c87f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32ff0c(_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x340091=0x6547f9b4^_0x5caf21;function _0x11a32f(){const _0x2f4f43=_0x23c87f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1846b2(_0x2cc2fc(_0x121115)),_0x5e0f08=_0x4df264(_0x1846b2(window[_0x23c87f([0x4d,0x61,0x74,0x68])][_0x23c87f([0x63,0x65,0x69,0x6c])](_0xb7bc8f/_0x340091)));window[_0x23c87f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23c87f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f4f43,_0x5e0f08);}function _0x5984f5(){const _0x40e643=_0x23c87f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1846b2(_0x2cc2fc(_0x121115)),_0x514d77=window[_0x23c87f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23c87f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40e643);return _0x514d77?window[_0x23c87f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4df264(_0x514d77),0x10)*_0x340091:null;}function _0x26b61e(_0x21540b){return new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f30a5,_0x124df6)=>{_0x21540b[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x2f30a5,_0x124df6),window[_0x23c87f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x124df6,0x6570c3f4^_0x5caf21);});}}_0x5a83b1[_0x23c87f([0x6f,0x6e])](_0x23c87f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a417e,_0x4e5ccf)=>{if(_0x4e5ccf[0x0]!=_0x121115)return _0x32ff0c(_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e5ccf[0x1]={..._0x4e5ccf[0x1],[_0x23c87f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50990c};},{[_0x23c87f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23c87f([0x68,0x69,0x67,0x68])}),_0x5a83b1[_0x23c87f([0x6f,0x6e])](_0x23c87f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bf7f6=>{_0x5438a3(_0x5bf7f6[_0x23c87f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18c270=!0x0,_0xc5fe60(_0x5bf7f6[_0x23c87f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23c87f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23c87f([0x6c,0x6f,0x77])}),_0x2eb857[_0x23c87f([0x74,0x68,0x65,0x6e])](()=>{_0x18c270||_0x32ff0c(_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50f833(){return _0x5a83b1[_0x23c87f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23c87f([0x76,0x69,0x65,0x77])][_0x23c87f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23c87f([0x61,0x75,0x74,0x6f]);}function _0x3742f8(){_0x5a83b1[_0x23c87f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23c87f([0x76,0x69,0x65,0x77])][_0x23c87f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23c87f([0x61,0x75,0x74,0x6f]);}}function _0x3e3c0a(_0x4babeb){const _0x24e522=[new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b91cb=>setTimeout(_0x4b91cb,0x657829f8^_0x5caf21)),_0x2eb857[_0x23c87f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38596c=>{let _0x298b52=0x0;_0x5a83b1[_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c87f([0x6f,0x6e])](_0x23c87f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38c948,_0x33c471)=>{_0x33c471[0x0][_0x23c87f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x298b52++,_0x298b52==(0x657116cc^_0x5caf21)&&(_0x38596c(),_0x38c948[_0x23c87f([0x6f,0x66,0x66])]());});}))];return window[_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23c87f([0x72,0x61,0x63,0x65])](_0x24e522)[_0x23c87f([0x74,0x68,0x65,0x6e])](()=>_0x4babeb);}async function _0x173f3f(){await _0x2eb857,_0x5a83b1[_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c87f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f8f88,_0x5a83b1[_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c87f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f8f88,_0x5a83b1[_0x23c87f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10e55e(_0x3292e3){const _0x5ed41c=_0x5130e8();_0x5a83b1[_0x5ed41c]=_0x23c87f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3292e3,_0x3292e3!=_0x23c87f([0x56,0x61,0x6c,0x69,0x64])&&_0x173f3f();}function _0x5130e8(){const _0x5258fa=window[_0x23c87f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23c87f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23c87f([0x6e,0x6f,0x77])]())[_0x23c87f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23c87f([0x2e]),'');let _0x37d6c7=_0x23c87f([0x53]);for(let _0x2efe64=0x0;_0x2efe64<_0x5258fa[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2efe64+=0x2){let _0x588fcb=window[_0x23c87f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5258fa[_0x23c87f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2efe64,_0x2efe64+0x2));_0x588fcb>=_0x191def[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x588fcb-=_0x191def[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37d6c7+=_0x191def[_0x588fcb];}return _0x37d6c7;}function _0x25da17(){const _0x3beac2=_0x7a0d1d[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e]));if(0x3!=_0x3beac2[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x138e2e(_0x3beac2[0x1]);function _0x138e2e(_0x5b9145){const _0x1acd1d=_0x13ca81(_0x5b9145);return _0x1acd1d&&_0x9b26f7()?_0x1acd1d:null;function _0x9b26f7(){const _0x1fe179=_0x1acd1d[_0x23c87f([0x6a,0x74,0x69])],_0x3e83a5=window[_0x23c87f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fe179[_0x23c87f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fe179[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5172d8={..._0x1acd1d,[_0x23c87f([0x6a,0x74,0x69])]:_0x1fe179[_0x23c87f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1fe179[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5172d8[_0x23c87f([0x76,0x63])],_0x2cc2fc(_0x5172d8)==_0x3e83a5;}}}async function _0x97cce6(){let _0x55f87d=!0x0;try{const _0x4f66f9=_0x7a0d1d[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e])),[_0x2f0cb6,_0x13a606,_0x5a433d]=_0x4f66f9;return _0x446f21(_0x2f0cb6),await _0x27cb1b(_0x2f0cb6,_0x13a606,_0x5a433d),_0x55f87d;}catch{return!0x1;}function _0x446f21(_0x30f392){const _0x47b6c4=_0x13ca81(_0x30f392);_0x47b6c4&&_0x47b6c4[_0x23c87f([0x61,0x6c,0x67])]==_0x23c87f([0x45,0x53,0x32,0x35,0x36])||(_0x55f87d=!0x1);}async function _0x27cb1b(_0x4a31a4,_0x20dc52,_0x5d5fa2){const _0x53f1bc=window[_0x23c87f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23c87f([0x66,0x72,0x6f,0x6d])](_0x3ae287(_0x5d5fa2),_0x223b92=>_0x223b92[_0x23c87f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40bcb3=new window[(_0x23c87f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23c87f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a31a4+_0x23c87f([0x2e])+_0x20dc52),_0x57bfd1=window[_0x23c87f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23c87f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57bfd1)return;const _0x5413b0=await _0x57bfd1[_0x23c87f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23c87f([0x6a,0x77,0x6b]),_0x324596,{[_0x23c87f([0x6e,0x61,0x6d,0x65])]:_0x23c87f([0x45,0x43,0x44,0x53,0x41]),[_0x23c87f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23c87f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23c87f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57bfd1[_0x23c87f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23c87f([0x6e,0x61,0x6d,0x65])]:_0x23c87f([0x45,0x43,0x44,0x53,0x41]),[_0x23c87f([0x68,0x61,0x73,0x68])]:{[_0x23c87f([0x6e,0x61,0x6d,0x65])]:_0x23c87f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5413b0,_0x53f1bc,_0x40bcb3)||(_0x55f87d=!0x1);}}function _0x13ca81(_0xb1fe47){return _0xb1fe47[_0x23c87f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23c87f([0x65,0x79]))?JSON[_0x23c87f([0x70,0x61,0x72,0x73,0x65])](_0x3ae287(_0xb1fe47)):null;}function _0x3ae287(_0x4f22b0){return window[_0x23c87f([0x61,0x74,0x6f,0x62])](_0x4f22b0[_0x23c87f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23c87f([0x2b]))[_0x23c87f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23c87f([0x2f])));}function _0x2cc2fc(_0x165306){let _0x1028fe=0x1505;function _0x39e164(_0x512af0){for(let _0x3e0323=0x0;_0x3e0323<_0x512af0[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e0323++){const _0x569f5e=_0x512af0[_0x23c87f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e0323);_0x1028fe=(_0x1028fe<<0x5)+_0x1028fe+_0x569f5e,_0x1028fe&=_0x1028fe;}}function _0x215cd0(_0x4b870f){Array[_0x23c87f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b870f)?_0x4b870f[_0x23c87f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x215cd0):_0x4b870f&&typeof _0x4b870f==_0x23c87f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23c87f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b870f)[_0x23c87f([0x73,0x6f,0x72,0x74])]()[_0x23c87f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfa432a,_0x2e733f])=>{_0x39e164(_0xfa432a),_0x215cd0(_0x2e733f);}):_0x39e164(window[_0x23c87f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b870f));}return _0x215cd0(_0x165306),_0x1028fe>>>0x0;}function _0x1846b2(_0xe84f96){return _0xe84f96[_0x23c87f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23c87f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23c87f([0x30]));}function _0x4df264(_0x2232ec){return _0x2232ec[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23c87f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23c87f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f8f88(){}function _0x23c87f(_0x256895){const _0x41c3bc=_0xd82f;return _0x256895[_0x41c3bc(0x1d0)](_0x268123=>String[_0x41c3bc(0x1bf)](_0x268123))[_0x41c3bc(0x1b8)]('');}_0x10e55e(await _0x363e20());}(this);}[_0xa52415(0x1e4)](){const _0x1e9e3b=_0xa52415,_0x35da6a=this[_0x1e9e3b(0x1cb)][_0x1e9e3b(0x1b4)][_0x1e9e3b(0x1b0)];_0x35da6a[_0x1e9e3b(0x1be)](_0x1e9e3b(0x1da))&&_0x35da6a[_0x1e9e3b(0x1b1)](_0x1e9e3b(0x1da),{'allowAttributes':[_0x1e9e3b(0x1f9)]}),_0x35da6a[_0x1e9e3b(0x1be)](_0x1e9e3b(0x1e3))&&_0x35da6a[_0x1e9e3b(0x1b1)](_0x1e9e3b(0x1e3),{'allowAttributes':[_0x1e9e3b(0x1f9)]});}[_0xa52415(0x1ee)](){const _0x4894eb=_0xa52415,_0x458668=this[_0x4894eb(0x1cb)];_0x458668[_0x4894eb(0x1a5)][_0x4894eb(0x1e2)](_0x4894eb(0x1b5))[_0x4894eb(0x1d7)]({'model':_0x4894eb(0x1f9),'view':_0x4894eb(0x1c2)}),_0x458668[_0x4894eb(0x1a5)][_0x4894eb(0x1e2)](_0x4894eb(0x1cc))[_0x4894eb(0x1d5)]({'model':{'key':_0x4894eb(0x1f9),'value':_0x33f0e8=>_0x33f0e8[_0x4894eb(0x1ad)](_0x4894eb(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x45d3c2=_0x458668[_0x4894eb(0x1ea)][_0x4894eb(0x1d8)](_0x4894eb(0x1d4));_0x45d3c2&&this[_0x4894eb(0x1ca)](_0x45d3c2,_0x4894eb(0x1b6),(_0x596e60,[_0xb2931d,_0x2d0229])=>{const _0x2ca9e1=_0x4894eb;_0xb2931d[_0x2ca9e1(0x1eb)](_0x2ca9e1(0x1f9),_0x2d0229);});}[_0xa52415(0x1c1)](){const _0x33608a=_0xa52415,_0x17f535=this[_0x33608a(0x1cb)][_0x33608a(0x1aa)][_0x33608a(0x1d8)](_0x33608a(0x1d6))||{},_0x3aa3c6=this[_0x33608a(0x1cb)][_0x33608a(0x1aa)][_0x33608a(0x1d8)](_0x33608a(0x1e0))||'';this[_0x33608a(0x1e8)]=_0x5c3965(_0x5f4115[_0x33608a(0x1b9)],_0x33608a(0x1c3),{..._0x17f535,'pubkey':_0x3aa3c6,'ctx-name':_0x33608a(0x1ec)+this[_0x33608a(0x1e9)],'sourceList':'','imgOnly':_0x33608a(0x1e7),'removeCopyright':_0x33608a(0x1e7),'localeName':this[_0x33608a(0x1cb)][_0x33608a(0x1a8)][_0x33608a(0x1bc)],'externalSourcesEmbedCss':_0x33608a(0x1f2)}),this[_0x33608a(0x1e8)][_0x33608a(0x1d1)]=_0x545201=>{const _0x51b3c3=_0x33608a;if(_0x51b3c3(0x1ac)==_0x545201)return _0x51b3c3(0x1dd);},_0x5f4115[_0x33608a(0x1b9)][_0x33608a(0x1ed)][_0x33608a(0x1f7)](this[_0x33608a(0x1e8)]);}[_0xa52415(0x1df)](){const _0x3a99bf=_0xa52415;this[_0x3a99bf(0x1cf)]=_0x5c3965(_0x5f4115[_0x3a99bf(0x1b9)],_0x3a99bf(0x1af),{'ctx-name':_0x3a99bf(0x1ec)+this[_0x3a99bf(0x1e9)]}),_0x5f4115[_0x3a99bf(0x1b9)][_0x3a99bf(0x1ed)][_0x3a99bf(0x1f7)](this[_0x3a99bf(0x1cf)]);}[_0xa52415(0x1f1)](){const _0x31f8ea=_0xa52415,_0x2ac959=this[_0x31f8ea(0x1cb)][_0x31f8ea(0x1ea)][_0x31f8ea(0x1d8)](_0x31f8ea(0x1e1));_0x2ac959&&this[_0x31f8ea(0x1ca)](_0x2ac959,_0x31f8ea(0x1cd),()=>{const _0x1c19ab=_0x31f8ea,_0x6b1d62=this[_0x1c19ab(0x1cb)][_0x1c19ab(0x1b4)][_0x1c19ab(0x1b9)][_0x1c19ab(0x1f6)][_0x1c19ab(0x1a9)]();_0x6b1d62&&_0x6b1d62[_0x1c19ab(0x1ad)](_0x1c19ab(0x1f9))&&this[_0x1c19ab(0x1cb)][_0x1c19ab(0x1d2)][_0x1c19ab(0x1ae)][_0x1c19ab(0x1ba)](_0x1c19ab(0x1d9),()=>{const _0x4251b1=_0x1c19ab;_0x2e97f3(this[_0x4251b1(0x1cb)],_0x6b1d62);});});const _0x1db46b=this[_0x31f8ea(0x1cb)][_0x31f8ea(0x1ea)][_0x31f8ea(0x1d8)](_0x31f8ea(0x1bb));_0x1db46b&&this[_0x31f8ea(0x1ca)](_0x1db46b,_0x31f8ea(0x1cd),()=>{const _0xe340e4=_0x31f8ea,_0x100642=this[_0xe340e4(0x1cb)][_0xe340e4(0x1b4)][_0xe340e4(0x1b9)][_0xe340e4(0x1f6)][_0xe340e4(0x1a9)]();_0x100642&&_0x100642[_0xe340e4(0x1ad)](_0xe340e4(0x1f9))&&this[_0xe340e4(0x1cb)][_0xe340e4(0x1d2)][_0xe340e4(0x1ae)][_0xe340e4(0x1ba)](_0xe340e4(0x1d9),()=>{const _0x8a31f1=_0xe340e4;_0x2e97f3(this[_0x8a31f1(0x1cb)],_0x100642);});});}}
23
+ const _0x143989=_0x165a;function _0x165a(_0x37bb34,_0x130cb7){const _0x44913d=_0x4491();return _0x165a=function(_0x165ad7,_0x215d67){_0x165ad7=_0x165ad7-0x1ce;let _0x536649=_0x44913d[_0x165ad7];return _0x536649;},_0x165a(_0x37bb34,_0x130cb7);}(function(_0x29b6d8,_0x4d0867){const _0x37d25c=_0x165a,_0x553ec8=_0x29b6d8();while(!![]){try{const _0x5a6cb5=parseInt(_0x37d25c(0x1df))/0x1+-parseInt(_0x37d25c(0x1e5))/0x2*(parseInt(_0x37d25c(0x216))/0x3)+-parseInt(_0x37d25c(0x1d6))/0x4+parseInt(_0x37d25c(0x1e7))/0x5*(-parseInt(_0x37d25c(0x202))/0x6)+parseInt(_0x37d25c(0x219))/0x7+-parseInt(_0x37d25c(0x1ed))/0x8+parseInt(_0x37d25c(0x21f))/0x9;if(_0x5a6cb5===_0x4d0867)break;else _0x553ec8['push'](_0x553ec8['shift']());}catch(_0x5aa70a){_0x553ec8['push'](_0x553ec8['shift']());}}}(_0x4491,0xca002));import{Plugin as _0x16c6a1}from'ckeditor5/src/core.js';import{Dialog as _0x2d3fab}from'ckeditor5/src/ui.js';import{createElement as _0x239d4f,global as _0x246379,uid as _0xfd8c58}from'ckeditor5/src/utils.js';function _0x4491(){const _0x56823d=['iconHrefResolver','uploader-','model','view','_initConfig','_initSchema','imageInline','insertImage','uploadcare.pubkey','attributeToAttribute','getSelectedElement','once','body','requires','contentLanguage','fromCharCode','cleanupImage','config','_initCtx','240uCPwAu','render','true','ctxElement','closeMax','map','isOfficialPlugin','join','PictureEditing','UploadcareEditing','editor','data-uc-image-id','_initConversion','pluginName','extend','editing','document','isPremiumPlugin','input[uploadcare-file-input]','selection','3xSwAym','replaceImageSource','locale','6311571fRUWmx','href','getAttribute','querySelector','_ctxElement','isRegistered','19681488jZDwai','uploadcare','execute','ucContextId','afterInit','uploadcare.uploader','for','#uc-icon-arrow-down','add','schema','uploadcareImageReplace','2530684clHkdH','uc-config','\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','configElement','removeAttribute','uc-upload-ctx-provider','downcast','imageBlock','remove','390053QtJegC','get','elementToAttribute','_initImageProcessingIndicator','uploadcareImageId','listenTo','2495314oAsHph','appendChild','21795EJAdNq','init','conversion','destroy','commands','upcast','4771648pdyZTM','_configElement'];_0x4491=function(){return _0x56823d;};return _0x4491();}import{UploadcareCommand as _0x1c0b46}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x30054c}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xe45cdf}from'./utils/editingutils.js';export class UploadcareEditing extends _0x16c6a1{[_0x143989(0x1ee)]=null;[_0x143989(0x21d)]=null;static get[_0x143989(0x20f)](){const _0xf9e8d7=_0x143989;return _0xf9e8d7(0x20b);}static get[_0x143989(0x1fc)](){const _0x30f3a8=_0x143989;return[_0x30f3a8(0x20a),_0x30054c,_0x2d3fab];}static get[_0x143989(0x208)](){return!0x0;}static get[_0x143989(0x213)](){return!0x0;}[_0x143989(0x1ce)];get[_0x143989(0x1d9)](){const _0x556360=_0x143989;return this[_0x556360(0x1ee)];}get[_0x143989(0x205)](){const _0x103e1c=_0x143989;return this[_0x103e1c(0x21d)];}constructor(_0x2e63fc){const _0x32aa11=_0x143989;super(_0x2e63fc),this[_0x32aa11(0x1ce)]=_0xfd8c58();}[_0x143989(0x1e8)](){const _0x53b5ad=_0x143989,_0x284ad4=this[_0x53b5ad(0x20c)];_0x284ad4[_0x53b5ad(0x1eb)][_0x53b5ad(0x1d3)](_0x53b5ad(0x220),new _0x1c0b46(_0x284ad4));}[_0x143989(0x1cf)](){const _0x46a60d=_0x143989;this[_0x46a60d(0x1f4)](),this[_0x46a60d(0x20e)](),this[_0x46a60d(0x1f3)](),this[_0x46a60d(0x201)](),this[_0x46a60d(0x1e2)](),this[_0x46a60d(0x1e4)](this[_0x46a60d(0x20c)],_0x46a60d(0x1ea),()=>{const _0x3384b5=_0x46a60d;this[_0x3384b5(0x1ee)]&&(this[_0x3384b5(0x1ee)][_0x3384b5(0x1de)](),this[_0x3384b5(0x1ee)]=null),this[_0x3384b5(0x21d)]&&(this[_0x3384b5(0x21d)][_0x3384b5(0x1de)](),this[_0x3384b5(0x21d)]=null);const _0x4a93f7=_0x246379[_0x3384b5(0x212)][_0x3384b5(0x21c)](_0x3384b5(0x214));_0x4a93f7&&_0x4a93f7[_0x3384b5(0x1de)]();}),async function(_0x3f94d1){const _0x9c5fa1=_0x148aa7([0x78,0x47,0x4b,0x5a,0x4d,0x41,0x73,0x75,0x38,0x74,0x39,0x4f,0x35,0x71,0x6e,0x31,0x46,0x6d,0x59,0x72,0x52,0x43,0x65,0x67,0x63,0x4a,0x79,0x42,0x34,0x77,0x53,0x76,0x45,0x49,0x37,0x51,0x68,0x7a,0x36,0x48,0x62,0x55,0x6c,0x61,0x4c,0x50,0x32,0x70,0x4e,0x56,0x30,0x57,0x6b,0x66,0x54,0x6a,0x64,0x33,0x58,0x69,0x6f,0x44]),_0x56c5b2=0x6b3ee172,_0x38d2d4=0x6b398e7a^_0x56c5b2,_0x2aae9b=window[_0x148aa7([0x44,0x61,0x74,0x65])][_0x148aa7([0x6e,0x6f,0x77])](),_0x3543ea=_0x3f94d1[_0x148aa7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x824361=new window[(_0x148aa7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5080f1=>{_0x3543ea[_0x148aa7([0x6f,0x6e,0x63,0x65])](_0x148aa7([0x72,0x65,0x61,0x64,0x79]),_0x5080f1);}),_0x476b59={[_0x148aa7([0x6b,0x74,0x79])]:_0x148aa7([0x45,0x43]),[_0x148aa7([0x75,0x73,0x65])]:_0x148aa7([0x73,0x69,0x67]),[_0x148aa7([0x63,0x72,0x76])]:_0x148aa7([0x50,0x2d,0x32,0x35,0x36]),[_0x148aa7([0x78])]:_0x148aa7([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]),[_0x148aa7([0x79])]:_0x148aa7([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]),[_0x148aa7([0x61,0x6c,0x67])]:_0x148aa7([0x45,0x53,0x32,0x35,0x36])},_0x440851=_0x3543ea[_0x148aa7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x148aa7([0x67,0x65,0x74])](_0x148aa7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x233877(){let _0x972eee,_0x53e743=null,_0x220129=null;try{if(_0x440851==_0x148aa7([0x47,0x50,0x4c]))return _0x148aa7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x972eee=_0x3d362b(),!_0x972eee)return _0x148aa7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x972eee[_0x148aa7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x220129=_0x52de15(_0x972eee[_0x148aa7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x972eee[_0x148aa7([0x6a,0x74,0x69])])),await _0x8cb4b2()?_0x3f03df()?_0x215892()?_0x148aa7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x245515()?(_0x972eee[_0x148aa7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x148aa7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53e743=_0x141473(_0x148aa7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x972eee[_0x148aa7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x148aa7([0x74,0x72,0x69,0x61,0x6c])&&(_0x53e743=_0x141473(_0x148aa7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ab2bc()):_0x148aa7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x148aa7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x148aa7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x148aa7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x215892(){const _0x11706c=[_0x148aa7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x148aa7([0x74,0x72,0x69,0x61,0x6c])][_0x148aa7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x972eee[_0x148aa7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2aae9b/0x3e8:0xe10*_0x38d2d4;return _0x972eee[_0x148aa7([0x65,0x78,0x70])]<_0x11706c;}function _0x3f03df(){const _0x195ab5=_0x972eee[_0x148aa7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x195ab5&&(!!_0x195ab5[_0x148aa7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148aa7([0x2a]))||!!_0x195ab5[_0x148aa7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148aa7([0x55,0x50,0x4c,0x43])));}function _0x245515(){const _0x57048d=_0x165a,_0x44f2d7=_0x972eee[_0x148aa7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44f2d7||0x0==_0x44f2d7[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53a942}=new URL(window[_0x148aa7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x57048d(0x21a)]);if(_0x44f2d7[_0x148aa7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53a942))return!0x0;const _0x4e72b8=_0x53a942[_0x148aa7([0x73,0x70,0x6c,0x69,0x74])](_0x148aa7([0x2e]));return _0x44f2d7[_0x148aa7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x224d73=>_0x224d73[_0x148aa7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148aa7([0x2a])))[_0x148aa7([0x6d,0x61,0x70])](_0x27e4c9=>_0x27e4c9[_0x148aa7([0x73,0x70,0x6c,0x69,0x74])](_0x148aa7([0x2e])))[_0x148aa7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf60a46=>_0xf60a46[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e72b8[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x148aa7([0x6d,0x61,0x70])](_0x29c780=>Array(_0x4e72b8[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29c780[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x148aa7([0x66,0x69,0x6c,0x6c])](_0x29c780[0x0]===_0x148aa7([0x2a])?_0x148aa7([0x2a]):'')[_0x148aa7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29c780))[_0x148aa7([0x73,0x6f,0x6d,0x65])](_0x57299c=>_0x4e72b8[_0x148aa7([0x65,0x76,0x65,0x72,0x79])]((_0x31204c,_0x168b83)=>_0x57299c[_0x168b83]===_0x31204c||_0x57299c[_0x168b83]===_0x148aa7([0x2a])));}function _0x5ab2bc(){return _0x53e743&&_0x220129?new window[(_0x148aa7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x194b0e,_0x190d2e)=>{_0x53e743[_0x148aa7([0x74,0x68,0x65,0x6e])](_0x194b0e,_0x190d2e),_0x220129[_0x148aa7([0x74,0x68,0x65,0x6e])](_0x482383=>{_0x482383!=_0x148aa7([0x56,0x61,0x6c,0x69,0x64])&&_0x194b0e(_0x482383);},_0x190d2e);}):_0x53e743||_0x220129||_0x148aa7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x52de15(_0x3003f7,_0x4c5a6d){return new window[(_0x148aa7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4da882=>{if(_0x4ad2f0())return _0x4da882(_0x148aa7([0x56,0x61,0x6c,0x69,0x64]));_0x4ce793(),_0x3543ea[_0x148aa7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x148aa7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15b9e8=!0x1;const _0x5bc439=_0xfd8c58();function _0x522e2a(_0x5df8bb){return!!_0x5df8bb&&(typeof _0x5df8bb===_0x148aa7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5df8bb===_0x148aa7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5df8bb[_0x148aa7([0x74,0x68,0x65,0x6e])]===_0x148aa7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5df8bb[_0x148aa7([0x63,0x61,0x74,0x63,0x68])]===_0x148aa7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47d23e(_0x1581d0){_0x530974(_0x1581d0)[_0x148aa7([0x74,0x68,0x65,0x6e])](_0x443fb9=>{if(!_0x443fb9||_0x443fb9[_0x148aa7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x148aa7([0x6f,0x6b]))return _0x148aa7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1166df(_0xd8dfa8(_0x5bc439+_0x4c5a6d))!=_0x443fb9[_0x148aa7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x148aa7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x148aa7([0x56,0x61,0x6c,0x69,0x64]);})[_0x148aa7([0x74,0x68,0x65,0x6e])](_0x2b6301=>(_0x3c5c70(),_0x2b6301),()=>{const _0x35f321=_0x488ddf();return null==_0x35f321?(_0x3c5c70(),_0x148aa7([0x56,0x61,0x6c,0x69,0x64])):_0x148aa7(_0x2aae9b-_0x35f321>(0x4f326572^_0x56c5b2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x148aa7([0x74,0x68,0x65,0x6e])](_0x4da882)[_0x148aa7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4da882(_0x148aa7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f50f0=0x6b080ff2^_0x56c5b2;function _0x3c5c70(){const _0x1653bf=_0x148aa7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166df(_0xd8dfa8(_0x3003f7)),_0x18a0b1=_0xa79ec2(_0x1166df(window[_0x148aa7([0x4d,0x61,0x74,0x68])][_0x148aa7([0x63,0x65,0x69,0x6c])](_0x2aae9b/_0x2f50f0)));window[_0x148aa7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x148aa7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1653bf,_0x18a0b1);}function _0x488ddf(){const _0xa673c8=_0x148aa7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166df(_0xd8dfa8(_0x3003f7)),_0x288c09=window[_0x148aa7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x148aa7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa673c8);return _0x288c09?window[_0x148aa7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa79ec2(_0x288c09),0x10)*_0x2f50f0:null;}function _0x530974(_0x221177){return new window[(_0x148aa7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16dfcd,_0x38172b)=>{_0x221177[_0x148aa7([0x74,0x68,0x65,0x6e])](_0x16dfcd,_0x38172b),window[_0x148aa7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38172b,0x6b3f35b2^_0x56c5b2);});}}_0x3543ea[_0x148aa7([0x6f,0x6e])](_0x148aa7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1abd44,_0x20d12b)=>{if(_0x20d12b[0x0]!=_0x3003f7)return _0x4da882(_0x148aa7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20d12b[0x1]={..._0x20d12b[0x1],[_0x148aa7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bc439};},{[_0x148aa7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x148aa7([0x68,0x69,0x67,0x68])}),_0x3543ea[_0x148aa7([0x6f,0x6e])](_0x148aa7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x358688=>{_0x522e2a(_0x358688[_0x148aa7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15b9e8=!0x0,_0x47d23e(_0x358688[_0x148aa7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x148aa7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x148aa7([0x6c,0x6f,0x77])}),_0x824361[_0x148aa7([0x74,0x68,0x65,0x6e])](()=>{_0x15b9e8||_0x4da882(_0x148aa7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ad2f0(){return _0x3543ea[_0x148aa7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x148aa7([0x76,0x69,0x65,0x77])][_0x148aa7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x148aa7([0x61,0x75,0x74,0x6f]);}function _0x4ce793(){_0x3543ea[_0x148aa7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x148aa7([0x76,0x69,0x65,0x77])][_0x148aa7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x148aa7([0x61,0x75,0x74,0x6f]);}}function _0x141473(_0x28822f){const _0x342416=[new window[(_0x148aa7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x290e31=>setTimeout(_0x290e31,0x6b37dfbe^_0x56c5b2)),_0x824361[_0x148aa7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x148aa7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c3761=>{let _0x2b2777=0x0;_0x3543ea[_0x148aa7([0x6d,0x6f,0x64,0x65,0x6c])][_0x148aa7([0x6f,0x6e])](_0x148aa7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47963c,_0x5aa026)=>{_0x5aa026[0x0][_0x148aa7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b2777++,_0x2b2777==(0x6b3ee08a^_0x56c5b2)&&(_0x5c3761(),_0x47963c[_0x148aa7([0x6f,0x66,0x66])]());});}))];return window[_0x148aa7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x148aa7([0x72,0x61,0x63,0x65])](_0x342416)[_0x148aa7([0x74,0x68,0x65,0x6e])](()=>_0x28822f);}async function _0x1a68a9(){await _0x824361,_0x3543ea[_0x148aa7([0x6d,0x6f,0x64,0x65,0x6c])][_0x148aa7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6236,_0x3543ea[_0x148aa7([0x6d,0x6f,0x64,0x65,0x6c])][_0x148aa7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6236,_0x3543ea[_0x148aa7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x148aa7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1addd1(_0x58d3d8){const _0x14681c=_0x17b8db();_0x3543ea[_0x14681c]=_0x148aa7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58d3d8,_0x58d3d8!=_0x148aa7([0x56,0x61,0x6c,0x69,0x64])&&_0x1a68a9();}function _0x17b8db(){const _0x283c5c=window[_0x148aa7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x148aa7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x148aa7([0x6e,0x6f,0x77])]())[_0x148aa7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x148aa7([0x2e]),'');let _0x2ddefd=_0x148aa7([0x78]);for(let _0x2cd29f=0x0;_0x2cd29f<_0x283c5c[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cd29f+=0x2){let _0x383206=window[_0x148aa7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x283c5c[_0x148aa7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cd29f,_0x2cd29f+0x2));_0x383206>=_0x9c5fa1[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x383206-=_0x9c5fa1[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ddefd+=_0x9c5fa1[_0x383206];}return _0x2ddefd;}function _0x3d362b(){const _0x7e5dfb=_0x440851[_0x148aa7([0x73,0x70,0x6c,0x69,0x74])](_0x148aa7([0x2e]));if(0x3!=_0x7e5dfb[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3fe8bb(_0x7e5dfb[0x1]);function _0x3fe8bb(_0x16fbb7){const _0x72a6f4=_0x3e3df6(_0x16fbb7);return _0x72a6f4&&_0x322e54()?_0x72a6f4:null;function _0x322e54(){const _0x33f783=_0x72a6f4[_0x148aa7([0x6a,0x74,0x69])],_0x29fff1=window[_0x148aa7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33f783[_0x148aa7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33f783[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25bbd5={..._0x72a6f4,[_0x148aa7([0x6a,0x74,0x69])]:_0x33f783[_0x148aa7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33f783[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25bbd5[_0x148aa7([0x76,0x63])],_0xd8dfa8(_0x25bbd5)==_0x29fff1;}}}async function _0x8cb4b2(){let _0x4a6641=!0x0;try{const _0x3dbb79=_0x440851[_0x148aa7([0x73,0x70,0x6c,0x69,0x74])](_0x148aa7([0x2e])),[_0x5445e2,_0xde6354,_0x2fe065]=_0x3dbb79;return _0x25a2fa(_0x5445e2),await _0x171e61(_0x5445e2,_0xde6354,_0x2fe065),_0x4a6641;}catch{return!0x1;}function _0x25a2fa(_0xe2861a){const _0x27a69b=_0x3e3df6(_0xe2861a);_0x27a69b&&_0x27a69b[_0x148aa7([0x61,0x6c,0x67])]==_0x148aa7([0x45,0x53,0x32,0x35,0x36])||(_0x4a6641=!0x1);}async function _0x171e61(_0x349292,_0x51e4fa,_0x21e6f2){const _0x165c0e=window[_0x148aa7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x148aa7([0x66,0x72,0x6f,0x6d])](_0x2a6de5(_0x21e6f2),_0x24883c=>_0x24883c[_0x148aa7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14907e=new window[(_0x148aa7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x148aa7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x349292+_0x148aa7([0x2e])+_0x51e4fa),_0x137ed8=window[_0x148aa7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x148aa7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x137ed8)return;const _0x1d2831=await _0x137ed8[_0x148aa7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x148aa7([0x6a,0x77,0x6b]),_0x476b59,{[_0x148aa7([0x6e,0x61,0x6d,0x65])]:_0x148aa7([0x45,0x43,0x44,0x53,0x41]),[_0x148aa7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x148aa7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x148aa7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x137ed8[_0x148aa7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x148aa7([0x6e,0x61,0x6d,0x65])]:_0x148aa7([0x45,0x43,0x44,0x53,0x41]),[_0x148aa7([0x68,0x61,0x73,0x68])]:{[_0x148aa7([0x6e,0x61,0x6d,0x65])]:_0x148aa7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d2831,_0x165c0e,_0x14907e)||(_0x4a6641=!0x1);}}function _0x3e3df6(_0x18f235){return _0x18f235[_0x148aa7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x148aa7([0x65,0x79]))?JSON[_0x148aa7([0x70,0x61,0x72,0x73,0x65])](_0x2a6de5(_0x18f235)):null;}function _0x2a6de5(_0x36d08d){return window[_0x148aa7([0x61,0x74,0x6f,0x62])](_0x36d08d[_0x148aa7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x148aa7([0x2b]))[_0x148aa7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x148aa7([0x2f])));}function _0xd8dfa8(_0x48390d){let _0x2d986d=0x1505;function _0x40422c(_0xf267c2){for(let _0x4b7ad7=0x0;_0x4b7ad7<_0xf267c2[_0x148aa7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b7ad7++){const _0x14371e=_0xf267c2[_0x148aa7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b7ad7);_0x2d986d=(_0x2d986d<<0x5)+_0x2d986d+_0x14371e,_0x2d986d&=_0x2d986d;}}function _0x511825(_0x2c9ea9){Array[_0x148aa7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c9ea9)?_0x2c9ea9[_0x148aa7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x511825):_0x2c9ea9&&typeof _0x2c9ea9==_0x148aa7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x148aa7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c9ea9)[_0x148aa7([0x73,0x6f,0x72,0x74])]()[_0x148aa7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4abf38,_0xd030de])=>{_0x40422c(_0x4abf38),_0x511825(_0xd030de);}):_0x40422c(window[_0x148aa7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c9ea9));}return _0x511825(_0x48390d),_0x2d986d>>>0x0;}function _0x1166df(_0x26a2f0){return _0x26a2f0[_0x148aa7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x148aa7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x148aa7([0x30]));}function _0xa79ec2(_0x1e967b){return _0x1e967b[_0x148aa7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x148aa7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x148aa7([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c6236(){}function _0x148aa7(_0x28901d){const _0x18165c=_0x165a;return _0x28901d[_0x18165c(0x207)](_0x56c5f2=>String[_0x18165c(0x1fe)](_0x56c5f2))[_0x18165c(0x209)]('');}_0x1addd1(await _0x233877());}(this);}[_0x143989(0x1f4)](){const _0x50a96f=_0x143989,_0x54aaf4=this[_0x50a96f(0x20c)][_0x50a96f(0x1f1)][_0x50a96f(0x1d4)];_0x54aaf4[_0x50a96f(0x21e)](_0x50a96f(0x1dd))&&_0x54aaf4[_0x50a96f(0x210)](_0x50a96f(0x1dd),{'allowAttributes':[_0x50a96f(0x1e3)]}),_0x54aaf4[_0x50a96f(0x21e)](_0x50a96f(0x1f5))&&_0x54aaf4[_0x50a96f(0x210)](_0x50a96f(0x1f5),{'allowAttributes':[_0x50a96f(0x1e3)]});}[_0x143989(0x20e)](){const _0x4eaac4=_0x143989,_0x199018=this[_0x4eaac4(0x20c)];_0x199018[_0x4eaac4(0x1e9)][_0x4eaac4(0x1d1)](_0x4eaac4(0x1dc))[_0x4eaac4(0x1f8)]({'model':_0x4eaac4(0x1e3),'view':_0x4eaac4(0x20d)}),_0x199018[_0x4eaac4(0x1e9)][_0x4eaac4(0x1d1)](_0x4eaac4(0x1ec))[_0x4eaac4(0x1e1)]({'model':{'key':_0x4eaac4(0x1e3),'value':_0x228249=>_0x228249[_0x4eaac4(0x21b)](_0x4eaac4(0x20d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x215d9b=_0x199018[_0x4eaac4(0x1eb)][_0x4eaac4(0x1e0)](_0x4eaac4(0x217));_0x215d9b&&this[_0x4eaac4(0x1e4)](_0x215d9b,_0x4eaac4(0x1ff),(_0x1d80d3,[_0x47293f,_0x1c38d0])=>{const _0x477b4f=_0x4eaac4;_0x47293f[_0x477b4f(0x1da)](_0x477b4f(0x1e3),_0x1c38d0);});}[_0x143989(0x1f3)](){const _0x41795e=_0x143989,_0x32839e=this[_0x41795e(0x20c)][_0x41795e(0x200)][_0x41795e(0x1e0)](_0x41795e(0x1d0))||{},_0x3c0d2b=this[_0x41795e(0x20c)][_0x41795e(0x200)][_0x41795e(0x1e0)](_0x41795e(0x1f7))||'';this[_0x41795e(0x1ee)]=_0x239d4f(_0x246379[_0x41795e(0x212)],_0x41795e(0x1d7),{..._0x32839e,'pubkey':_0x3c0d2b,'ctx-name':_0x41795e(0x1f0)+this[_0x41795e(0x1ce)],'sourceList':'','imgOnly':_0x41795e(0x204),'removeCopyright':_0x41795e(0x204),'localeName':this[_0x41795e(0x20c)][_0x41795e(0x218)][_0x41795e(0x1fd)],'externalSourcesEmbedCss':_0x41795e(0x1d8)}),this[_0x41795e(0x1ee)][_0x41795e(0x1ef)]=_0x4b5cae=>{const _0x5095d4=_0x41795e;if(_0x5095d4(0x206)==_0x4b5cae)return _0x5095d4(0x1d2);},_0x246379[_0x41795e(0x212)][_0x41795e(0x1fb)][_0x41795e(0x1e6)](this[_0x41795e(0x1ee)]);}[_0x143989(0x201)](){const _0x18c3dc=_0x143989;this[_0x18c3dc(0x21d)]=_0x239d4f(_0x246379[_0x18c3dc(0x212)],_0x18c3dc(0x1db),{'ctx-name':_0x18c3dc(0x1f0)+this[_0x18c3dc(0x1ce)]}),_0x246379[_0x18c3dc(0x212)][_0x18c3dc(0x1fb)][_0x18c3dc(0x1e6)](this[_0x18c3dc(0x21d)]);}[_0x143989(0x1e2)](){const _0x396ce7=_0x143989,_0x4299ad=this[_0x396ce7(0x20c)][_0x396ce7(0x1eb)][_0x396ce7(0x1e0)](_0x396ce7(0x1f6));_0x4299ad&&this[_0x396ce7(0x1e4)](_0x4299ad,_0x396ce7(0x221),()=>{const _0x48a93f=_0x396ce7,_0x12d42e=this[_0x48a93f(0x20c)][_0x48a93f(0x1f1)][_0x48a93f(0x212)][_0x48a93f(0x215)][_0x48a93f(0x1f9)]();_0x12d42e&&_0x12d42e[_0x48a93f(0x21b)](_0x48a93f(0x1e3))&&this[_0x48a93f(0x20c)][_0x48a93f(0x211)][_0x48a93f(0x1f2)][_0x48a93f(0x1fa)](_0x48a93f(0x203),()=>{const _0x2cf618=_0x48a93f;_0xe45cdf(this[_0x2cf618(0x20c)],_0x12d42e);});});const _0x525ff9=this[_0x396ce7(0x20c)][_0x396ce7(0x1eb)][_0x396ce7(0x1e0)](_0x396ce7(0x1d5));_0x525ff9&&this[_0x396ce7(0x1e4)](_0x525ff9,_0x396ce7(0x221),()=>{const _0x158556=_0x396ce7,_0x11881d=this[_0x158556(0x20c)][_0x158556(0x1f1)][_0x158556(0x212)][_0x158556(0x215)][_0x158556(0x1f9)]();_0x11881d&&_0x11881d[_0x158556(0x21b)](_0x158556(0x1e3))&&this[_0x158556(0x20c)][_0x158556(0x211)][_0x158556(0x1f2)][_0x158556(0x1fa)](_0x158556(0x203),()=>{const _0x573ea2=_0x158556;_0xe45cdf(this[_0x573ea2(0x20c)],_0x11881d);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x161dda,ObservableMixin as _0x3337d8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xa00ed5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x412484}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x185a06}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4c4466}from'../../utils/uploadutils.js';import{getImageUrls as _0x4fd0b6,getImageDimension as _0x48ae29}from'../../utils/editingutils.js';import{isAncestor as _0x1ffd45}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x3337d8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x37233c,_0x23b390,_0x130996){super(),this['_editor']=_0x37233c,this['_dialog']=_0x23b390,this['_imageElement']=_0x130996,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 _0x74f112=this['_imageElement'],_0x149939=_0x74f112['getAttribute']('uploadcareImageId'),_0x1af901=_0x74f112['getAttribute']('src');if(_0x149939)await this['_loadImageInfo'](_0x149939,_0x1af901);else{if(this['_imageCache']['has'](_0x1af901)){const _0x199ca6=this['_imageCache']['get'](_0x1af901);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x199ca6['url'],this['imageDimension']=_0x199ca6['dimension'],this['imageId']=_0x199ca6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x53b6ec}=this['_editor'],t=_0x53b6ec['t'],_0x4b7a1a=new _0x185a06(_0x53b6ec,this['imageStatus'],this['_attributes']);_0x4b7a1a['bind']('status')['to'](this,'imageStatus'),_0x4b7a1a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4b7a1a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4b7a1a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4b7a1a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x412484,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4b7a1a,'position':_0xa00ed5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4b7a1a['focus']();},'onHide':()=>{_0x4b7a1a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x111810=>!_0x1ffd45(_0x111810,_0x4b7a1a['element'])}});}['_loadImageInfo'](_0x58533a,_0x35a9e4){return _0x4c4466['getInfo'](_0x58533a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x107eaa=>{const {width:_0x1f90f6,height:_0x2cb1f4}=_0x107eaa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x35a9e4,this['imageDimension']={'width':_0x1f90f6,'height':_0x2cb1f4},this['imageId']=_0x58533a;})['catch'](_0x277762=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x277762['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a3950,_0x5f244b){return this['_getImageAsFile'](_0x4a3950)['then'](_0x5a4738=>_0x4c4466['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5f244b['signal'],'file':_0x5a4738,'onProgress':_0x4af2d4=>{_0x4af2d4&&_0x4af2d4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4af2d4['value']));}}))['then'](_0x349e21=>{const {width:_0x3fcd96,height:_0x25bb08}=_0x349e21['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x349e21['cdnUrl'],this['imageDimension']={'width':_0x3fcd96,'height':_0x25bb08},this['imageId']=_0x349e21['uuid'],this['imageUploadProgress']=null;const _0x57e076=_0x4a3950['getAttribute']('src');this['_imageCache']['set'](_0x57e076,{'id':_0x349e21['uuid'],'url':_0x349e21['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9a3a11=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9a3a11['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5087de,_0x1b9bf2){_0x5087de['on']('apply',(_0x12cfa6,_0x132c45)=>{this['_replaceImage'](_0x1b9bf2,_0x132c45['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5087de['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5087de['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4f050c,_0x50aa70,_0x96a90a){const _0x56749a=this['_editor'],{width:_0x5276ba,height:_0x33b513}=_0x48ae29(_0x50aa70,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5ec299,imageSources:_0x27ab03}=_0x4fd0b6(_0x50aa70,_0x5276ba);_0x56749a['model']['change'](_0x6217f3=>{if('$graveyard'===_0x4f050c['root']['rootName']){_0x56749a['execute']('insertImage',{'imageType':_0x4f050c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4f050c['getAttributes']()),'uploadcareImageId':_0x96a90a,'src':_0x5ec299,'sources':_0x27ab03,'width':_0x5276ba,'height':_0x33b513}});const _0x135d0d=_0x4f050c['getChildren']();_0x4f050c=_0x56749a['model']['document']['selection']['getSelectedElement']();for(const _0x3d27ef of _0x135d0d)_0x6217f3['append'](_0x6217f3['cloneElement'](_0x3d27ef),_0x4f050c);}else _0x6217f3['setSelection'](_0x4f050c,'on'),_0x56749a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4f050c['getAttributes']()),'uploadcareImageId':_0x96a90a,'src':_0x5ec299,'sources':_0x27ab03,'width':_0x5276ba,'height':_0x33b513},_0x4f050c);_0x6217f3['setSelection'](_0x4f050c,'on');});}async['_getImageAsFile'](_0x294f16){const _0x5b1c1b=_0x161dda['window'],_0x5be78d=_0x161dda['document']['location']['href'],_0x392c81=new _0x5b1c1b['URL'](_0x294f16['getAttribute']('src'),_0x5be78d);if('data:'===_0x392c81['protocol']){const _0x243081=_0x392c81['href']['split'](','),_0x280e00=_0x243081[0x0]['match'](/:(.*?);/)[0x1],_0x342cfe=_0x280e00['split']('/')[0x1],_0x59208a=_0x5b1c1b['atob'](_0x243081[_0x243081['length']-0x1]);let _0x20d533=_0x59208a['length'];const _0x383d53=new _0x5b1c1b['Uint8Array'](_0x20d533);for(;_0x20d533--;)_0x383d53[_0x20d533]=_0x59208a['charCodeAt'](_0x20d533);return new _0x5b1c1b['File']([_0x383d53],'image.'+_0x342cfe,{'type':_0x280e00});}const _0x424159=_0x392c81['href']['split']('/'),_0x5dca74=_0x424159[_0x424159['length']-0x1],_0x465f41=_0x5dca74['split']('.')[0x1];return _0x5b1c1b['fetch'](_0x392c81['href'])['then'](_0x2942e5=>_0x2942e5['clone']()['blob']())['then'](_0x3fb564=>new _0x5b1c1b['File']([_0x3fb564],_0x5dca74,{'type':'image/'+_0x465f41}));}}
23
+ import{global as _0x35d4cb,ObservableMixin as _0x2c31eb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x49edb6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2d014}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xab02c6}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x46ef83}from'../../utils/uploadutils.js';import{getImageUrls as _0x3e59e3,getImageDimension as _0x3d667d}from'../../utils/editingutils.js';import{isAncestor as _0x1cea80}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2c31eb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xb20eac,_0x2a7fe3,_0x151814){super(),this['_editor']=_0xb20eac,this['_dialog']=_0x2a7fe3,this['_imageElement']=_0x151814,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 _0x2f3069=this['_imageElement'],_0x42c473=_0x2f3069['getAttribute']('uploadcareImageId'),_0x11f960=_0x2f3069['getAttribute']('src');if(_0x42c473)await this['_loadImageInfo'](_0x42c473,_0x11f960);else{if(this['_imageCache']['has'](_0x11f960)){const _0x1e8513=this['_imageCache']['get'](_0x11f960);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e8513['url'],this['imageDimension']=_0x1e8513['dimension'],this['imageId']=_0x1e8513['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x6ed478}=this['_editor'],t=_0x6ed478['t'],_0x2fd78b=new _0xab02c6(_0x6ed478,this['imageStatus'],this['_attributes']);_0x2fd78b['bind']('status')['to'](this,'imageStatus'),_0x2fd78b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2fd78b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2fd78b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2fd78b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2d014,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2fd78b,'position':_0x49edb6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2fd78b['focus']();},'onHide':()=>{_0x2fd78b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17eee5=>!_0x1cea80(_0x17eee5,_0x2fd78b['element'])}});}['_loadImageInfo'](_0x1520cd,_0x4b135a){return _0x46ef83['getInfo'](_0x1520cd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xfca989=>{const {width:_0x5d18e4,height:_0xc7073b}=_0xfca989['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b135a,this['imageDimension']={'width':_0x5d18e4,'height':_0xc7073b},this['imageId']=_0x1520cd;})['catch'](_0x4fe784=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4fe784['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x555340,_0x2068d3){return this['_getImageAsFile'](_0x555340)['then'](_0x14d6a8=>_0x46ef83['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2068d3['signal'],'file':_0x14d6a8,'onProgress':_0x4ae354=>{_0x4ae354&&_0x4ae354['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4ae354['value']));}}))['then'](_0x5599f2=>{const {width:_0x6087f1,height:_0x4f1544}=_0x5599f2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5599f2['cdnUrl'],this['imageDimension']={'width':_0x6087f1,'height':_0x4f1544},this['imageId']=_0x5599f2['uuid'],this['imageUploadProgress']=null;const _0xe7ae1e=_0x555340['getAttribute']('src');this['_imageCache']['set'](_0xe7ae1e,{'id':_0x5599f2['uuid'],'url':_0x5599f2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x49aebb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49aebb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5755fb,_0xd98dea){_0x5755fb['on']('apply',(_0x32a5be,_0x5ae39b)=>{this['_replaceImage'](_0xd98dea,_0x5ae39b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5755fb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5755fb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5a1671,_0x1dfc0a,_0x43cca9){const _0xf9ad0e=this['_editor'],{width:_0x27a81b,height:_0x3581b2}=_0x3d667d(_0x1dfc0a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x23c283,imageSources:_0x4164db}=_0x3e59e3(_0x1dfc0a,_0x27a81b);_0xf9ad0e['model']['change'](_0x38ecad=>{if('$graveyard'===_0x5a1671['root']['rootName']){_0xf9ad0e['execute']('insertImage',{'imageType':_0x5a1671['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5a1671['getAttributes']()),'uploadcareImageId':_0x43cca9,'src':_0x23c283,'sources':_0x4164db,'width':_0x27a81b,'height':_0x3581b2}});const _0x22eeab=_0x5a1671['getChildren']();_0x5a1671=_0xf9ad0e['model']['document']['selection']['getSelectedElement']();for(const _0x45f91b of _0x22eeab)_0x38ecad['append'](_0x38ecad['cloneElement'](_0x45f91b),_0x5a1671);}else _0x38ecad['setSelection'](_0x5a1671,'on'),_0xf9ad0e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5a1671['getAttributes']()),'uploadcareImageId':_0x43cca9,'src':_0x23c283,'sources':_0x4164db,'width':_0x27a81b,'height':_0x3581b2},_0x5a1671);_0x38ecad['setSelection'](_0x5a1671,'on');});}async['_getImageAsFile'](_0x498ff7){const _0x194793=_0x35d4cb['window'],_0x333e31=_0x35d4cb['document']['location']['href'],_0x2ab8a=new _0x194793['URL'](_0x498ff7['getAttribute']('src'),_0x333e31);if('data:'===_0x2ab8a['protocol']){const _0x33e601=_0x2ab8a['href']['split'](','),_0x11d28d=_0x33e601[0x0]['match'](/:(.*?);/)[0x1],_0x588a21=_0x11d28d['split']('/')[0x1],_0x655c1c=_0x194793['atob'](_0x33e601[_0x33e601['length']-0x1]);let _0x2dffab=_0x655c1c['length'];const _0xdde32b=new _0x194793['Uint8Array'](_0x2dffab);for(;_0x2dffab--;)_0xdde32b[_0x2dffab]=_0x655c1c['charCodeAt'](_0x2dffab);return new _0x194793['File']([_0xdde32b],'image.'+_0x588a21,{'type':_0x11d28d});}const _0x85454a=_0x2ab8a['href']['split']('/'),_0x1c8a04=_0x85454a[_0x85454a['length']-0x1],_0x16eb9f=_0x1c8a04['split']('.')[0x1];return _0x194793['fetch'](_0x2ab8a['href'])['then'](_0x6609f7=>_0x6609f7['clone']()['blob']())['then'](_0x7d98a5=>new _0x194793['File']([_0x7d98a5],_0x1c8a04,{'type':'image/'+_0x16eb9f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1079(_0x2da95b,_0x58e982){const _0x25c520=_0x25c5();return _0x1079=function(_0x107994,_0x105293){_0x107994=_0x107994-0xcf;let _0x4e2264=_0x25c520[_0x107994];return _0x4e2264;},_0x1079(_0x2da95b,_0x58e982);}(function(_0x2df3a1,_0x106d34){const _0xba8c96=_0x1079,_0x4bdcd1=_0x2df3a1();while(!![]){try{const _0x294a13=-parseInt(_0xba8c96(0xd8))/0x1+parseInt(_0xba8c96(0xdc))/0x2*(parseInt(_0xba8c96(0xd1))/0x3)+-parseInt(_0xba8c96(0xdf))/0x4+-parseInt(_0xba8c96(0xd5))/0x5+-parseInt(_0xba8c96(0xda))/0x6*(-parseInt(_0xba8c96(0xd6))/0x7)+parseInt(_0xba8c96(0xdd))/0x8+-parseInt(_0xba8c96(0xd3))/0x9;if(_0x294a13===_0x106d34)break;else _0x4bdcd1['push'](_0x4bdcd1['shift']());}catch(_0x48c6f5){_0x4bdcd1['push'](_0x4bdcd1['shift']());}}}(_0x25c5,0x9d1c1));import{View as _0x45b858}from'ckeditor5/src/ui.js';function _0x25c5(){const _0x518742=['1848172jKuySZ','ck-uploadcare-theme','imageSrc','423moNlMO','uc-cloud-image-editor','3552219ndgCak','setTemplate','3667285XInyjZ','7EwKkRi','uc-light','759960qQvery','set','7085526ITegms','bindTemplate','10530wAmbJm','8563088qHFqxn','image-edit'];_0x25c5=function(){return _0x518742;};return _0x25c5();}export class UploadcareImageEditFormEditingView extends _0x45b858{constructor(_0x1f6fd0,_0x17904b){const _0x325b6a=_0x1079;super(_0x1f6fd0);const _0x3d74fa=this[_0x325b6a(0xdb)];this[_0x325b6a(0xd9)](_0x325b6a(0xd0),''),this[_0x325b6a(0xd4)]({'tag':_0x325b6a(0xd2),'attributes':{..._0x17904b,'class':[_0x325b6a(0xd7),_0x325b6a(0xcf)],'ctx-name':_0x325b6a(0xde),'cdn-url':_0x3d74fa['to'](_0x325b6a(0xd0))}});}}
23
+ function _0x2798(){const _0x41413c=['image-edit','3204080CsBRbh','10956VmjXFB','setTemplate','450396BxOajv','20pcvzsF','51364wSEbpo','uc-cloud-image-editor','set','132270oZCXjI','imageSrc','387RUCOlZ','bindTemplate','631354xTkhra','7PXRqsG','uc-light','ck-uploadcare-theme','24nytMnV','1534968HtMiIK','23647VyTuSU','2BKGLvU'];_0x2798=function(){return _0x41413c;};return _0x2798();}function _0x34e7(_0x4b7108,_0x18440f){const _0x2798fc=_0x2798();return _0x34e7=function(_0x34e777,_0x5e990d){_0x34e777=_0x34e777-0x72;let _0x515094=_0x2798fc[_0x34e777];return _0x515094;},_0x34e7(_0x4b7108,_0x18440f);}(function(_0x52403f,_0x226c89){const _0x3bdedc=_0x34e7,_0x14b075=_0x52403f();while(!![]){try{const _0x4d48bc=parseInt(_0x3bdedc(0x75))/0x1*(-parseInt(_0x3bdedc(0x83))/0x2)+parseInt(_0x3bdedc(0x72))/0x3*(parseInt(_0x3bdedc(0x7c))/0x4)+parseInt(_0x3bdedc(0x7b))/0x5*(parseInt(_0x3bdedc(0x7a))/0x6)+-parseInt(_0x3bdedc(0x84))/0x7*(parseInt(_0x3bdedc(0x73))/0x8)+parseInt(_0x3bdedc(0x81))/0x9*(-parseInt(_0x3bdedc(0x7f))/0xa)+-parseInt(_0x3bdedc(0x77))/0xb+-parseInt(_0x3bdedc(0x78))/0xc*(-parseInt(_0x3bdedc(0x74))/0xd);if(_0x4d48bc===_0x226c89)break;else _0x14b075['push'](_0x14b075['shift']());}catch(_0x271943){_0x14b075['push'](_0x14b075['shift']());}}}(_0x2798,0x5ce39));import{View as _0x35864e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x35864e{constructor(_0x259ccc,_0x5824ba){const _0x151bb9=_0x34e7;super(_0x259ccc);const _0x595fb1=this[_0x151bb9(0x82)];this[_0x151bb9(0x7e)](_0x151bb9(0x80),''),this[_0x151bb9(0x79)]({'tag':_0x151bb9(0x7d),'attributes':{..._0x5824ba,'class':[_0x151bb9(0x85),_0x151bb9(0x86)],'ctx-name':_0x151bb9(0x76),'cdn-url':_0x595fb1['to'](_0x151bb9(0x80))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2669fc}from'ckeditor5/src/icons.js';import{ButtonView as _0xd0ad3b,IconView as _0x18e96c,View as _0x1f8a09}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1f8a09{constructor(_0x12f3bd){super(_0x12f3bd);const t=_0x12f3bd['t'];this['set']('errorType',null);const _0x25027a=new _0xd0ad3b(_0x12f3bd);_0x25027a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x25027a['withText']=!0x0,_0x25027a['class']='ck-button-action',_0x25027a['on']('execute',()=>{this['fire']('retry');}),_0x25027a['bind']('isVisible')['to'](this,'errorType',_0x55ff63=>'NotFound'!==_0x55ff63);const _0x452ea7=new _0x18e96c();_0x452ea7['content']=_0x2669fc,_0x452ea7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x500d0c=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':[_0x452ea7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x500d0c['to']('errorType',_0x4ffe63=>t('NotFound'!==_0x4ffe63?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x25027a]},{'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 _0x5629ec}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a787a,IconView as _0x13b58e,View as _0x14209e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x14209e{constructor(_0x4a418e){super(_0x4a418e);const t=_0x4a418e['t'];this['set']('errorType',null);const _0x5ead18=new _0x3a787a(_0x4a418e);_0x5ead18['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5ead18['withText']=!0x0,_0x5ead18['class']='ck-button-action',_0x5ead18['on']('execute',()=>{this['fire']('retry');}),_0x5ead18['bind']('isVisible')['to'](this,'errorType',_0x5b3384=>'NotFound'!==_0x5b3384);const _0x4442db=new _0x13b58e();_0x4442db['content']=_0x5629ec,_0x4442db['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x569a72=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':[_0x4442db,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x569a72['to']('errorType',_0x42d8bd=>t('NotFound'!==_0x42d8bd?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5ead18]},{'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 _0x171eea,View as _0x3bd066}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3bd066{constructor(_0x14120e){super(_0x14120e);const t=_0x14120e['t'],_0x4ec36c=this['bindTemplate'],_0xc614ac=new _0x171eea();_0xc614ac['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':[_0xc614ac,{'text':_0x4ec36c['to']('imageUploadProgress',_0x148aa7=>t('Loading\x20image...')+'\x20('+(_0x148aa7||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 _0x43df18,View as _0x231dce}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x231dce{constructor(_0x84ae5a){super(_0x84ae5a);const t=_0x84ae5a['t'],_0x27a3fb=this['bindTemplate'],_0x279341=new _0x43df18();_0x279341['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':[_0x279341,{'text':_0x27a3fb['to']('imageUploadProgress',_0x3c4723=>t('Loading\x20image...')+'\x20('+(_0x3c4723||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 _0x50ea65=_0x519b;(function(_0x4a8323,_0x1c27b5){const _0xe3ec4=_0x519b,_0x216cca=_0x4a8323();while(!![]){try{const _0x4c4ec3=-parseInt(_0xe3ec4(0xf4))/0x1+-parseInt(_0xe3ec4(0x108))/0x2*(parseInt(_0xe3ec4(0xe3))/0x3)+-parseInt(_0xe3ec4(0xed))/0x4+parseInt(_0xe3ec4(0xf8))/0x5*(parseInt(_0xe3ec4(0xeb))/0x6)+parseInt(_0xe3ec4(0x10a))/0x7+parseInt(_0xe3ec4(0xee))/0x8*(parseInt(_0xe3ec4(0xe5))/0x9)+-parseInt(_0xe3ec4(0xf6))/0xa*(parseInt(_0xe3ec4(0x107))/0xb);if(_0x4c4ec3===_0x1c27b5)break;else _0x216cca['push'](_0x216cca['shift']());}catch(_0xcf1b69){_0x216cca['push'](_0x216cca['shift']());}}}(_0x40c3,0x96eec));import{View as _0x8ad50c}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x200713}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x50ce1d}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xa7cf92}from'./uploadcareimageeditformeditingview.js';function _0x40c3(){const _0x14327e=['disconnect','addEventListener','render','detail','_items','add','target','ck-uploadcare-form','3MfvLUE','_addErrorViewListeners','3699OCbpCW','set','getFocusableElement','_loadingView','length','toLowerCase','111246jAjXFa','apply','3612260dfPMyU','20784khfTCp','_waitForImageEditorComponent','cdnUrl','clear','ready','uc-cloud-image-editor','81232fskUsq','_focusableView','1525890vaQpNB','querySelector','290wDPGIE','cancel','_setView','div','retry','addedNodes','uploading','once','observe','ck-reset_all-excluded','nodeName','element','error','_editingView','filter','33QNWNJJ','1718950VzXOKK','addMany','5436221evXBCR','createCollection','setTemplate','_addUploadcareImageEditorListeners','status','change:status','_errorView','fire','focus'];_0x40c3=function(){return _0x14327e;};return _0x40c3();}import{DialogFocusManagerView as _0x40e360}from'../../utils/dialogfocusmanagerview.js';function _0x519b(_0x3d362b,_0x4747c8){const _0x40c37f=_0x40c3();return _0x519b=function(_0x519b6e,_0x5e42a8){_0x519b6e=_0x519b6e-0xd9;let _0x59bf88=_0x40c37f[_0x519b6e];return _0x59bf88;},_0x519b(_0x3d362b,_0x4747c8);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x40e360{[_0x50ea65(0xdf)];[_0x50ea65(0xe8)];[_0x50ea65(0x110)];[_0x50ea65(0x105)];[_0x50ea65(0xf5)];constructor(_0x5f0363,_0x19b71e,_0x125746){const _0x1f5a6e=_0x50ea65;super(_0x5f0363),this[_0x1f5a6e(0xdf)]=this[_0x1f5a6e(0x10b)](),this[_0x1f5a6e(0xe8)]=new _0x200713(_0x5f0363),this[_0x1f5a6e(0x110)]=new _0x50ce1d(_0x5f0363),this[_0x1f5a6e(0x105)]=new _0xa7cf92(_0x5f0363,_0x125746),this[_0x1f5a6e(0xf5)]=new _0x8ad50c(_0x5f0363),this[_0x1f5a6e(0xf5)][_0x1f5a6e(0x10c)](this[_0x1f5a6e(0xe7)]()),this[_0x1f5a6e(0xe6)](_0x1f5a6e(0x10e),_0x19b71e),this[_0x1f5a6e(0x10c)]({'tag':_0x1f5a6e(0xfb),'attributes':{'class':['ck',_0x1f5a6e(0x101),_0x1f5a6e(0xe2)],'tabindex':'-1'},'children':this[_0x1f5a6e(0xdf)]}),this[_0x1f5a6e(0xfa)](),this[_0x1f5a6e(0xff)](_0x1f5a6e(0xdd),()=>{const _0x1c06a0=_0x1f5a6e;this[_0x1c06a0(0xef)](this[_0x1c06a0(0x103)],_0x46589a=>{const _0x3ee4fe=_0x1c06a0;this[_0x3ee4fe(0x10d)](_0x46589a);});}),this['on'](_0x1f5a6e(0x10f),()=>{const _0x4fc1c9=_0x1f5a6e;this[_0x4fc1c9(0xfa)]();}),this[_0x1f5a6e(0xe4)]();}[_0x50ea65(0xda)](){const _0x12f47a=_0x50ea65;this[_0x12f47a(0x103)][_0x12f47a(0xda)]();}[_0x50ea65(0xfa)](){const _0x5513e9=_0x50ea65;switch(this[_0x5513e9(0xdf)][_0x5513e9(0xf1)](),this[_0x5513e9(0x10e)]){case _0x5513e9(0xfe):this[_0x5513e9(0xdf)][_0x5513e9(0xe0)](this[_0x5513e9(0xe8)]);break;case _0x5513e9(0x104):this[_0x5513e9(0xdf)][_0x5513e9(0xe0)](this[_0x5513e9(0x110)]);break;case _0x5513e9(0xf2):this[_0x5513e9(0xdf)][_0x5513e9(0x109)]([this[_0x5513e9(0x105)],this[_0x5513e9(0xf5)]]);}}[_0x50ea65(0xef)](_0x3231ed,_0x2a257a){const _0x249ed8=_0x50ea65,_0x57cbc8=_0x249ed8(0xf3),_0x349b45=_0x3231ed[_0x249ed8(0xf7)](_0x57cbc8);if(_0x349b45)return _0x2a257a(_0x349b45);const _0x34ae17=new MutationObserver(_0x63c898=>{const _0x3438a6=_0x249ed8,_0x4e6adb=_0x63c898[_0x3438a6(0x106)](_0x15da64=>_0x15da64[_0x3438a6(0xe1)]===_0x3231ed&&_0x15da64[_0x3438a6(0xfd)][_0x3438a6(0xe9)]>0x0&&_0x15da64[_0x3438a6(0xfd)][0x0][_0x3438a6(0x102)][_0x3438a6(0xea)]()===_0x57cbc8);_0x4e6adb[_0x3438a6(0xe9)]&&(_0x34ae17[_0x3438a6(0xdb)](),_0x2a257a(_0x4e6adb[0x0][_0x3438a6(0xfd)][0x0]));});_0x34ae17[_0x249ed8(0x100)](_0x3231ed,{'childList':!0x0,'subtree':!0x0});}[_0x50ea65(0x10d)](_0x3ecb9b){const _0x2d2c78=_0x50ea65;_0x3ecb9b[_0x2d2c78(0xdc)](_0x2d2c78(0xec),_0x528efb=>{const _0xecf23d=_0x2d2c78;this[_0xecf23d(0xd9)](_0xecf23d(0xec),{'imageSrc':_0x528efb[_0xecf23d(0xde)][_0xecf23d(0xf0)]});}),_0x3ecb9b[_0x2d2c78(0xdc)](_0x2d2c78(0xf9),()=>{const _0x582efc=_0x2d2c78;this[_0x582efc(0xd9)](_0x582efc(0xf9));});}[_0x50ea65(0xe4)](){const _0x188a00=_0x50ea65;this[_0x188a00(0x110)]['on'](_0x188a00(0xfc),()=>{const _0x1c6990=_0x188a00;this[_0x1c6990(0xd9)](_0x1c6990(0xfc));});}}
23
+ function _0xad7a(_0x2a6afb,_0x605168){const _0x52bf89=_0x52bf();return _0xad7a=function(_0xad7ab0,_0xb4936d){_0xad7ab0=_0xad7ab0-0x13b;let _0x1a4800=_0x52bf89[_0xad7ab0];return _0x1a4800;},_0xad7a(_0x2a6afb,_0x605168);}const _0x347f3b=_0xad7a;(function(_0x26ff0d,_0x476fa0){const _0x162be5=_0xad7a,_0x1a08f5=_0x26ff0d();while(!![]){try{const _0x3503b4=parseInt(_0x162be5(0x15b))/0x1*(-parseInt(_0x162be5(0x164))/0x2)+parseInt(_0x162be5(0x16e))/0x3+parseInt(_0x162be5(0x168))/0x4*(parseInt(_0x162be5(0x144))/0x5)+-parseInt(_0x162be5(0x142))/0x6+parseInt(_0x162be5(0x161))/0x7+parseInt(_0x162be5(0x155))/0x8+-parseInt(_0x162be5(0x159))/0x9;if(_0x3503b4===_0x476fa0)break;else _0x1a08f5['push'](_0x1a08f5['shift']());}catch(_0x25815f){_0x1a08f5['push'](_0x1a08f5['shift']());}}}(_0x52bf,0x7809c));import{View as _0x34d59e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3dea2a}from'./uploadcareimageeditformloadingview.js';function _0x52bf(){const _0x52b1fb=['uc-cloud-image-editor','addEventListener','target','retry','5799318XnaWzv','_waitForImageEditorComponent','3365ujbjEO','addedNodes','_setView','length','observe','render','clear','ready','addMany','getFocusableElement','_focusableView','nodeName','_editingView','_errorView','cdnUrl','querySelector','element','6627104juaLHq','status','_items','uploading','5061258SxSjKb','detail','1acrIjN','ck-uploadcare-form','div','error','createCollection','focus','4581213OLuidn','apply','once','1739672bJCswi','filter','toLowerCase','_addErrorViewListeners','5684bHhSSb','setTemplate','ck-reset_all-excluded','disconnect','set','fire','1353741fXicYK','change:status','cancel','add','_addUploadcareImageEditorListeners','_loadingView'];_0x52bf=function(){return _0x52b1fb;};return _0x52bf();}import{UploadcareImageEditFormErrorView as _0x58acc6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x456827}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5f4cfa}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5f4cfa{[_0x347f3b(0x157)];[_0x347f3b(0x13d)];[_0x347f3b(0x151)];[_0x347f3b(0x150)];[_0x347f3b(0x14e)];constructor(_0x81663c,_0x45210e,_0x313ab6){const _0x196130=_0x347f3b;super(_0x81663c),this[_0x196130(0x157)]=this[_0x196130(0x15f)](),this[_0x196130(0x13d)]=new _0x3dea2a(_0x81663c),this[_0x196130(0x151)]=new _0x58acc6(_0x81663c),this[_0x196130(0x150)]=new _0x456827(_0x81663c,_0x313ab6),this[_0x196130(0x14e)]=new _0x34d59e(_0x81663c),this[_0x196130(0x14e)][_0x196130(0x169)](this[_0x196130(0x14d)]()),this[_0x196130(0x16c)](_0x196130(0x156),_0x45210e),this[_0x196130(0x169)]({'tag':_0x196130(0x15d),'attributes':{'class':['ck',_0x196130(0x16a),_0x196130(0x15c)],'tabindex':'-1'},'children':this[_0x196130(0x157)]}),this[_0x196130(0x146)](),this[_0x196130(0x163)](_0x196130(0x149),()=>{const _0x210c42=_0x196130;this[_0x210c42(0x143)](this[_0x210c42(0x154)],_0x4d5f12=>{const _0x3290b8=_0x210c42;this[_0x3290b8(0x13c)](_0x4d5f12);});}),this['on'](_0x196130(0x16f),()=>{const _0x45f343=_0x196130;this[_0x45f343(0x146)]();}),this[_0x196130(0x167)]();}[_0x347f3b(0x160)](){const _0x48d1d5=_0x347f3b;this[_0x48d1d5(0x154)][_0x48d1d5(0x160)]();}[_0x347f3b(0x146)](){const _0x33b221=_0x347f3b;switch(this[_0x33b221(0x157)][_0x33b221(0x14a)](),this[_0x33b221(0x156)]){case _0x33b221(0x158):this[_0x33b221(0x157)][_0x33b221(0x13b)](this[_0x33b221(0x13d)]);break;case _0x33b221(0x15e):this[_0x33b221(0x157)][_0x33b221(0x13b)](this[_0x33b221(0x151)]);break;case _0x33b221(0x14b):this[_0x33b221(0x157)][_0x33b221(0x14c)]([this[_0x33b221(0x150)],this[_0x33b221(0x14e)]]);}}[_0x347f3b(0x143)](_0x5f33c4,_0xecc903){const _0x4bd0f0=_0x347f3b,_0x47e066=_0x4bd0f0(0x13e),_0x4f040f=_0x5f33c4[_0x4bd0f0(0x153)](_0x47e066);if(_0x4f040f)return _0xecc903(_0x4f040f);const _0x4c86d1=new MutationObserver(_0x261712=>{const _0x2f628d=_0x4bd0f0,_0x2dd962=_0x261712[_0x2f628d(0x165)](_0x3aa981=>_0x3aa981[_0x2f628d(0x140)]===_0x5f33c4&&_0x3aa981[_0x2f628d(0x145)][_0x2f628d(0x147)]>0x0&&_0x3aa981[_0x2f628d(0x145)][0x0][_0x2f628d(0x14f)][_0x2f628d(0x166)]()===_0x47e066);_0x2dd962[_0x2f628d(0x147)]&&(_0x4c86d1[_0x2f628d(0x16b)](),_0xecc903(_0x2dd962[0x0][_0x2f628d(0x145)][0x0]));});_0x4c86d1[_0x4bd0f0(0x148)](_0x5f33c4,{'childList':!0x0,'subtree':!0x0});}[_0x347f3b(0x13c)](_0x518474){const _0x27bb85=_0x347f3b;_0x518474[_0x27bb85(0x13f)](_0x27bb85(0x162),_0x49498f=>{const _0x340131=_0x27bb85;this[_0x340131(0x16d)](_0x340131(0x162),{'imageSrc':_0x49498f[_0x340131(0x15a)][_0x340131(0x152)]});}),_0x518474[_0x27bb85(0x13f)](_0x27bb85(0x170),()=>{const _0x152ae4=_0x27bb85;this[_0x152ae4(0x16d)](_0x152ae4(0x170));});}[_0x347f3b(0x167)](){const _0x5bcb9c=_0x347f3b;this[_0x5bcb9c(0x151)]['on'](_0x5bcb9c(0x141),()=>{const _0x31a403=_0x5bcb9c;this[_0x31a403(0x16d)](_0x31a403(0x141));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40c013=_0x1939;function _0x1267(){const _0x52acc4=['3372195BBBzMx','refresh','7160535zWzvvt','7300161CZoqNr','23181fUPveW','bind','execute','element','uploadcare.allowExternalImagesEditing','6UpKKiJ','19198ycQDri','28VfqbuS','_isEditable','config','imageEditController','isActive','imageBlock','564pTyjsm','get','model','document','imageInline','editor','plugins','457008ddOLUr','83fwZXQs','unbind','isEnabled','set','7612590IrXWlv','requires','getSelectedElement','selection'];_0x1267=function(){return _0x52acc4;};return _0x1267();}(function(_0x3cdc6b,_0x5d87f8){const _0x1262f6=_0x1939,_0x1670a4=_0x3cdc6b();while(!![]){try{const _0x52909b=parseInt(_0x1262f6(0xb7))/0x1*(-parseInt(_0x1262f6(0xc9))/0x2)+-parseInt(_0x1262f6(0xc3))/0x3*(-parseInt(_0x1262f6(0xaf))/0x4)+parseInt(_0x1262f6(0xbf))/0x5*(-parseInt(_0x1262f6(0xc8))/0x6)+parseInt(_0x1262f6(0xca))/0x7*(parseInt(_0x1262f6(0xb6))/0x8)+parseInt(_0x1262f6(0xc1))/0x9+-parseInt(_0x1262f6(0xbb))/0xa+parseInt(_0x1262f6(0xc2))/0xb;if(_0x52909b===_0x5d87f8)break;else _0x1670a4['push'](_0x1670a4['shift']());}catch(_0x43d1d8){_0x1670a4['push'](_0x1670a4['shift']());}}}(_0x1267,0x8505e));function _0x1939(_0x294929,_0x369413){const _0x1267b3=_0x1267();return _0x1939=function(_0x1939e6,_0xd8ae5a){_0x1939e6=_0x1939e6-0xac;let _0x32396f=_0x1267b3[_0x1939e6];return _0x32396f;},_0x1939(_0x294929,_0x369413);}import{Command as _0x5b8cd0}from'ckeditor5/src/core.js';import{Dialog as _0x4dc15a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x475e75}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3d260a}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x5b8cd0{[_0x40c013(0xac)];static get[_0x40c013(0xbc)](){return[_0x4dc15a];}[_0x40c013(0xcb)];constructor(_0x3acca2){const _0x378ea6=_0x40c013;super(_0x3acca2),this[_0x378ea6(0xac)]=void 0x0,this[_0x378ea6(0xcb)]=_0x3d260a(_0x3acca2[_0x378ea6(0xcc)][_0x378ea6(0xb0)](_0x378ea6(0xc7))||[]),this[_0x378ea6(0xba)]({'isActive':!0x1});}[_0x40c013(0xc0)](){const _0x2254d6=_0x40c013,_0xce0678=this[_0x2254d6(0xb4)][_0x2254d6(0xb1)][_0x2254d6(0xb2)][_0x2254d6(0xbe)][_0x2254d6(0xbd)]();this[_0x2254d6(0xb9)]=this[_0x2254d6(0xcb)](_0xce0678);}[_0x40c013(0xc5)](){const _0x5db58f=_0x40c013;this[_0x5db58f(0xac)]&&(this[_0x5db58f(0xb8)](_0x5db58f(0xad)),this[_0x5db58f(0xac)]=void 0x0);const _0x42d406=this[_0x5db58f(0xb4)][_0x5db58f(0xb1)][_0x5db58f(0xb2)][_0x5db58f(0xbe)][_0x5db58f(0xbd)]();_0x42d406&&(_0x42d406['is'](_0x5db58f(0xc6),_0x5db58f(0xae))||_0x42d406['is'](_0x5db58f(0xc6),_0x5db58f(0xb3)))&&(this[_0x5db58f(0xac)]=new _0x475e75(this[_0x5db58f(0xb4)],this[_0x5db58f(0xb4)][_0x5db58f(0xb5)][_0x5db58f(0xb0)](_0x4dc15a),_0x42d406),this[_0x5db58f(0xc4)](_0x5db58f(0xad))['to'](this[_0x5db58f(0xac)],_0x5db58f(0xad)));}}
23
+ const _0x2569fa=_0x374c;function _0x4015(){const _0x53d57e=['execute','config','element','model','382OXXoyb','editor','3049039fcdfxG','2139642PNAtNP','149020CSwNSW','2456HwbOgh','document','imageBlock','8VNktdW','uploadcare.allowExternalImagesEditing','unbind','imageEditController','_isEditable','requires','1926516PmbDvq','1023483YRAydr','refresh','get','imageInline','selection','isActive','isEnabled','plugins','set','bind','getSelectedElement','6379812imqfcO'];_0x4015=function(){return _0x53d57e;};return _0x4015();}(function(_0x20d8ff,_0x1ea3a6){const _0x4bf92a=_0x374c,_0x3101ee=_0x20d8ff();while(!![]){try{const _0x1507c8=parseInt(_0x4bf92a(0x1db))/0x1*(parseInt(_0x4bf92a(0x1e0))/0x2)+parseInt(_0x4bf92a(0x1cb))/0x3+-parseInt(_0x4bf92a(0x1ca))/0x4+parseInt(_0x4bf92a(0x1df))/0x5+-parseInt(_0x4bf92a(0x1de))/0x6+-parseInt(_0x4bf92a(0x1dd))/0x7*(parseInt(_0x4bf92a(0x1c4))/0x8)+parseInt(_0x4bf92a(0x1d6))/0x9;if(_0x1507c8===_0x1ea3a6)break;else _0x3101ee['push'](_0x3101ee['shift']());}catch(_0x13f3e7){_0x3101ee['push'](_0x3101ee['shift']());}}}(_0x4015,0x432ac));import{Command as _0x2eb27c}from'ckeditor5/src/core.js';function _0x374c(_0x416f88,_0x544987){const _0x4015e5=_0x4015();return _0x374c=function(_0x374c40,_0x179b45){_0x374c40=_0x374c40-0x1c2;let _0x2ea83f=_0x4015e5[_0x374c40];return _0x2ea83f;},_0x374c(_0x416f88,_0x544987);}import{Dialog as _0x223284}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x19a5cb}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x505f13}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2eb27c{[_0x2569fa(0x1c7)];static get[_0x2569fa(0x1c9)](){return[_0x223284];}[_0x2569fa(0x1c8)];constructor(_0x1fd030){const _0x49b4c3=_0x2569fa;super(_0x1fd030),this[_0x49b4c3(0x1c7)]=void 0x0,this[_0x49b4c3(0x1c8)]=_0x505f13(_0x1fd030[_0x49b4c3(0x1d8)][_0x49b4c3(0x1cd)](_0x49b4c3(0x1c5))||[]),this[_0x49b4c3(0x1d3)]({'isActive':!0x1});}[_0x2569fa(0x1cc)](){const _0xeacda8=_0x2569fa,_0x49971b=this[_0xeacda8(0x1dc)][_0xeacda8(0x1da)][_0xeacda8(0x1c2)][_0xeacda8(0x1cf)][_0xeacda8(0x1d5)]();this[_0xeacda8(0x1d1)]=this[_0xeacda8(0x1c8)](_0x49971b);}[_0x2569fa(0x1d7)](){const _0x5b5332=_0x2569fa;this[_0x5b5332(0x1c7)]&&(this[_0x5b5332(0x1c6)](_0x5b5332(0x1d0)),this[_0x5b5332(0x1c7)]=void 0x0);const _0x1ba13f=this[_0x5b5332(0x1dc)][_0x5b5332(0x1da)][_0x5b5332(0x1c2)][_0x5b5332(0x1cf)][_0x5b5332(0x1d5)]();_0x1ba13f&&(_0x1ba13f['is'](_0x5b5332(0x1d9),_0x5b5332(0x1c3))||_0x1ba13f['is'](_0x5b5332(0x1d9),_0x5b5332(0x1ce)))&&(this[_0x5b5332(0x1c7)]=new _0x19a5cb(this[_0x5b5332(0x1dc)],this[_0x5b5332(0x1dc)][_0x5b5332(0x1d2)][_0x5b5332(0x1cd)](_0x223284),_0x1ba13f),this[_0x5b5332(0x1d4)](_0x5b5332(0x1d0))['to'](this[_0x5b5332(0x1c7)],_0x5b5332(0x1d0)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a3ecb=_0x1856;(function(_0x1dc7de,_0x204ffb){const _0x2e97bb=_0x1856,_0x3f87f2=_0x1dc7de();while(!![]){try{const _0x5af618=parseInt(_0x2e97bb(0x193))/0x1+-parseInt(_0x2e97bb(0x19c))/0x2*(-parseInt(_0x2e97bb(0x190))/0x3)+parseInt(_0x2e97bb(0x195))/0x4*(parseInt(_0x2e97bb(0x19b))/0x5)+-parseInt(_0x2e97bb(0x198))/0x6+-parseInt(_0x2e97bb(0x192))/0x7*(parseInt(_0x2e97bb(0x196))/0x8)+parseInt(_0x2e97bb(0x19f))/0x9*(-parseInt(_0x2e97bb(0x1a5))/0xa)+parseInt(_0x2e97bb(0x1a2))/0xb*(-parseInt(_0x2e97bb(0x1a4))/0xc);if(_0x5af618===_0x204ffb)break;else _0x3f87f2['push'](_0x3f87f2['shift']());}catch(_0xb719d3){_0x3f87f2['push'](_0x3f87f2['shift']());}}}(_0x35f3,0x72810));function _0x1856(_0x863dc,_0xe8c296){const _0x35f3cb=_0x35f3();return _0x1856=function(_0x185662,_0x4c657a){_0x185662=_0x185662-0x190;let _0x12a188=_0x35f3cb[_0x185662];return _0x12a188;},_0x1856(_0x863dc,_0xe8c296);}import{Plugin as _0x372ef9}from'ckeditor5/src/core.js';import{Notification as _0x199cca}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x178d2e}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f84b2}from'./uploadcareimagereplacecommand.js';function _0x35f3(){const _0x59cf83=['8CcJCYH','344SYtdno','uploadcareImageEdit','3658884vvfYZX','init','isPremiumPlugin','1610745Nifehz','4WAxSPG','ImageEditing','add','3274785xbaPtw','uploadcareImageReplace','UploadcareImageEditEditing','2046539LoVXCw','isOfficialPlugin','12jmuCcb','10lyjFRw','requires','pluginName','842244tBFhNz','commands','70511nVnAmh','856081AYnUGk','ImageUtils'];_0x35f3=function(){return _0x59cf83;};return _0x35f3();}import{UploadcareEditing as _0x49d560}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x372ef9{static get[_0x4a3ecb(0x1a7)](){const _0x4db53b=_0x4a3ecb;return _0x4db53b(0x1a1);}static get[_0x4a3ecb(0x1a6)](){const _0x57f5f0=_0x4a3ecb;return[_0x49d560,_0x199cca,_0x57f5f0(0x194),_0x57f5f0(0x19d)];}static get[_0x4a3ecb(0x1a3)](){return!0x0;}static get[_0x4a3ecb(0x19a)](){return!0x0;}[_0x4a3ecb(0x199)](){const _0x29f9a1=_0x4a3ecb,{editor:_0x1d597b}=this;_0x1d597b[_0x29f9a1(0x191)][_0x29f9a1(0x19e)](_0x29f9a1(0x197),new _0x178d2e(_0x1d597b)),_0x1d597b[_0x29f9a1(0x191)][_0x29f9a1(0x19e)](_0x29f9a1(0x1a0),new _0x2f84b2(_0x1d597b));}}
23
+ const _0x2ced9e=_0x4027;function _0x4027(_0x283445,_0x5da5c3){const _0x42ea3e=_0x42ea();return _0x4027=function(_0x4027ee,_0x5cd712){_0x4027ee=_0x4027ee-0x87;let _0xa62a90=_0x42ea3e[_0x4027ee];return _0xa62a90;},_0x4027(_0x283445,_0x5da5c3);}(function(_0x2c4d3d,_0x468d45){const _0x109dbf=_0x4027,_0x318295=_0x2c4d3d();while(!![]){try{const _0x3bb1ce=-parseInt(_0x109dbf(0x8e))/0x1*(parseInt(_0x109dbf(0x8d))/0x2)+-parseInt(_0x109dbf(0x91))/0x3*(-parseInt(_0x109dbf(0x96))/0x4)+-parseInt(_0x109dbf(0x9b))/0x5+parseInt(_0x109dbf(0x8f))/0x6*(-parseInt(_0x109dbf(0x92))/0x7)+parseInt(_0x109dbf(0x93))/0x8*(-parseInt(_0x109dbf(0x9d))/0x9)+parseInt(_0x109dbf(0x88))/0xa*(-parseInt(_0x109dbf(0x89))/0xb)+parseInt(_0x109dbf(0x8a))/0xc;if(_0x3bb1ce===_0x468d45)break;else _0x318295['push'](_0x318295['shift']());}catch(_0x4c59f7){_0x318295['push'](_0x318295['shift']());}}}(_0x42ea,0xd2b48));import{Plugin as _0x1ae818}from'ckeditor5/src/core.js';function _0x42ea(){const _0x52ffa7=['12472zXyGHD','init','commands','6701476vVMvrU','isOfficialPlugin','isPremiumPlugin','ImageEditing','UploadcareImageEditEditing','6169425HRYMiC','uploadcareImageReplace','6408iiRDLk','add','pluginName','465890FrJVJT','121OxabBV','59425776TULnbP','ImageUtils','requires','1614946rZtojO','2QkNYsX','474jPOEJa','uploadcareImageEdit','3oBnLhV','114583kZSjQK'];_0x42ea=function(){return _0x52ffa7;};return _0x42ea();}import{Notification as _0x589a28}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x213995}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xfc58a6}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2bd80a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1ae818{static get[_0x2ced9e(0x87)](){const _0x2f58bb=_0x2ced9e;return _0x2f58bb(0x9a);}static get[_0x2ced9e(0x8c)](){const _0x403618=_0x2ced9e;return[_0x2bd80a,_0x589a28,_0x403618(0x8b),_0x403618(0x99)];}static get[_0x2ced9e(0x97)](){return!0x0;}static get[_0x2ced9e(0x98)](){return!0x0;}[_0x2ced9e(0x94)](){const _0x18cf4f=_0x2ced9e,{editor:_0x5cc555}=this;_0x5cc555[_0x18cf4f(0x95)][_0x18cf4f(0x9e)](_0x18cf4f(0x90),new _0x213995(_0x5cc555)),_0x5cc555[_0x18cf4f(0x95)][_0x18cf4f(0x9e)](_0x18cf4f(0x9c),new _0xfc58a6(_0x5cc555));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4d7921}from'ckeditor5/src/core.js';import{ButtonView as _0x391e25}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2f3b02}from'ckeditor5/src/icons.js';import{createElement as _0x46dca0}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 _0x4d7921{['_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 _0x24808b=this['editor'];_0x24808b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4b55bb=>{const _0x2eedeb=_0x24808b['commands']['get']('uploadcareImageEdit'),_0x332268=new _0x391e25(_0x4b55bb),t=_0x4b55bb['t'];return _0x332268['set']({'icon':_0x2f3b02,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x332268['bind']('isEnabled')['to'](_0x2eedeb),_0x332268['bind']('isOn')['to'](_0x2eedeb,'isActive'),this['listenTo'](_0x332268,'execute',()=>{_0x24808b['execute']('uploadcareImageEdit'),_0x24808b['editing']['view']['focus']();}),_0x332268;}),this['_initConfig']();}['_initConfig'](){const _0x3c4beb=_0x46dca0(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c4beb),this['listenTo'](this['editor'],'destroy',()=>{_0x3c4beb['remove']();});}}
23
+ import{Plugin as _0x108967}from'ckeditor5/src/core.js';import{ButtonView as _0x476384}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x11495c}from'ckeditor5/src/icons.js';import{createElement as _0x3c5d1b}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 _0x108967{['_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 _0x5255c8=this['editor'];_0x5255c8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5cdeec=>{const _0x206665=_0x5255c8['commands']['get']('uploadcareImageEdit'),_0x551e1b=new _0x476384(_0x5cdeec),t=_0x5cdeec['t'];return _0x551e1b['set']({'icon':_0x11495c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x551e1b['bind']('isEnabled')['to'](_0x206665),_0x551e1b['bind']('isOn')['to'](_0x206665,'isActive'),this['listenTo'](_0x551e1b,'execute',()=>{_0x5255c8['execute']('uploadcareImageEdit'),_0x5255c8['editing']['view']['focus']();}),_0x551e1b;}),this['_initConfig']();}['_initConfig'](){const _0x5e534c=_0x3c5d1b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e534c),this['listenTo'](this['editor'],'destroy',()=>{_0x5e534c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3720(_0x5e747e,_0x4aa562){const _0x18b9ae=_0x18b9();return _0x3720=function(_0x3720c7,_0x52fb75){_0x3720c7=_0x3720c7-0x68;let _0x5e7667=_0x18b9ae[_0x3720c7];return _0x5e7667;},_0x3720(_0x5e747e,_0x4aa562);}const _0x107894=_0x3720;(function(_0x26bf8a,_0x21aa4b){const _0x1a7a35=_0x3720,_0x27c45c=_0x26bf8a();while(!![]){try{const _0x122778=-parseInt(_0x1a7a35(0x7d))/0x1*(-parseInt(_0x1a7a35(0x7a))/0x2)+parseInt(_0x1a7a35(0x6d))/0x3+parseInt(_0x1a7a35(0x82))/0x4+-parseInt(_0x1a7a35(0x70))/0x5*(parseInt(_0x1a7a35(0x72))/0x6)+parseInt(_0x1a7a35(0x80))/0x7*(parseInt(_0x1a7a35(0x6c))/0x8)+-parseInt(_0x1a7a35(0x6e))/0x9*(-parseInt(_0x1a7a35(0x7b))/0xa)+-parseInt(_0x1a7a35(0x7e))/0xb;if(_0x122778===_0x21aa4b)break;else _0x27c45c['push'](_0x27c45c['shift']());}catch(_0x439d1c){_0x27c45c['push'](_0x27c45c['shift']());}}}(_0x18b9,0x249a8));import{Command as _0x2db2f0}from'ckeditor5/src/core.js';function _0x18b9(){const _0x1bb304=['imageInline','196645JcUPfK','isEnabled','30SwqrwP','refresh','imageBlock','setAttributes','getSelectedElement','change','srcset','execute','253828vzEGfi','10nLiWTw','element','1SAMBFI','4929430PBilhT','editor','511RQVokN','removeAttribute','1057620vEKNna','document','selection','model','sizes','3208urSwed','276420hhMvVN','2537739FizpOK'];_0x18b9=function(){return _0x1bb304;};return _0x18b9();}export class UploadcareImageReplaceCommand extends _0x2db2f0{[_0x107894(0x73)](){const _0x5b45e7=_0x107894,_0x3f53b0=this[_0x5b45e7(0x7f)][_0x5b45e7(0x6a)][_0x5b45e7(0x68)][_0x5b45e7(0x69)][_0x5b45e7(0x76)]();this[_0x5b45e7(0x71)]=Boolean(_0x3f53b0&&(_0x3f53b0['is'](_0x5b45e7(0x7c),_0x5b45e7(0x74))||_0x3f53b0['is'](_0x5b45e7(0x7c),_0x5b45e7(0x6f))));}[_0x107894(0x79)](_0x281aa1){const _0x296dfc=_0x107894,_0x2745b5=this[_0x296dfc(0x7f)][_0x296dfc(0x6a)][_0x296dfc(0x68)][_0x296dfc(0x69)][_0x296dfc(0x76)]();this[_0x296dfc(0x7f)][_0x296dfc(0x6a)][_0x296dfc(0x77)](_0x4227bc=>{const _0x1b1827=_0x296dfc;_0x4227bc[_0x1b1827(0x75)](_0x281aa1,_0x2745b5),_0x4227bc[_0x1b1827(0x81)](_0x1b1827(0x78),_0x2745b5),_0x4227bc[_0x1b1827(0x81)](_0x1b1827(0x6b),_0x2745b5);});}}
23
+ function _0x5d5a(_0x5958dd,_0x23590c){const _0x3763b4=_0x3763();return _0x5d5a=function(_0x5d5a39,_0x175cdc){_0x5d5a39=_0x5d5a39-0x1d8;let _0x5d8dc1=_0x3763b4[_0x5d5a39];return _0x5d8dc1;},_0x5d5a(_0x5958dd,_0x23590c);}const _0x104b57=_0x5d5a;(function(_0x1fa87d,_0x2d5293){const _0x3b38e9=_0x5d5a,_0x32011e=_0x1fa87d();while(!![]){try{const _0x1fec0b=-parseInt(_0x3b38e9(0x1ec))/0x1*(parseInt(_0x3b38e9(0x1df))/0x2)+parseInt(_0x3b38e9(0x1e1))/0x3*(parseInt(_0x3b38e9(0x1e8))/0x4)+-parseInt(_0x3b38e9(0x1f0))/0x5+parseInt(_0x3b38e9(0x1e3))/0x6*(parseInt(_0x3b38e9(0x1dd))/0x7)+parseInt(_0x3b38e9(0x1e2))/0x8+-parseInt(_0x3b38e9(0x1dc))/0x9*(-parseInt(_0x3b38e9(0x1e6))/0xa)+-parseInt(_0x3b38e9(0x1ef))/0xb;if(_0x1fec0b===_0x2d5293)break;else _0x32011e['push'](_0x32011e['shift']());}catch(_0x66c955){_0x32011e['push'](_0x32011e['shift']());}}}(_0x3763,0x69bcc));import{Command as _0x6e75fd}from'ckeditor5/src/core.js';function _0x3763(){const _0x231dfe=['474618mWfSQa','setAttributes','imageBlock','20kwLPBo','isEnabled','5948ucnhNU','selection','refresh','document','98872LrfmiS','imageInline','execute','10787249jNJpxy','1098400QrXYig','change','model','srcset','sizes','editor','removeAttribute','3353139JdprcG','42TtIxbd','element','8KUpqGw','getSelectedElement','951TpbUAB','2702304WSsTuF'];_0x3763=function(){return _0x231dfe;};return _0x3763();}export class UploadcareImageReplaceCommand extends _0x6e75fd{[_0x104b57(0x1ea)](){const _0x4c57df=_0x104b57,_0x16407b=this[_0x4c57df(0x1da)][_0x4c57df(0x1f2)][_0x4c57df(0x1eb)][_0x4c57df(0x1e9)][_0x4c57df(0x1e0)]();this[_0x4c57df(0x1e7)]=Boolean(_0x16407b&&(_0x16407b['is'](_0x4c57df(0x1de),_0x4c57df(0x1e5))||_0x16407b['is'](_0x4c57df(0x1de),_0x4c57df(0x1ed))));}[_0x104b57(0x1ee)](_0x2478f7){const _0x1c9165=_0x104b57,_0x2db4e0=this[_0x1c9165(0x1da)][_0x1c9165(0x1f2)][_0x1c9165(0x1eb)][_0x1c9165(0x1e9)][_0x1c9165(0x1e0)]();this[_0x1c9165(0x1da)][_0x1c9165(0x1f2)][_0x1c9165(0x1f1)](_0x4c961b=>{const _0x3bee39=_0x1c9165;_0x4c961b[_0x3bee39(0x1e4)](_0x2478f7,_0x2db4e0),_0x4c961b[_0x3bee39(0x1db)](_0x3bee39(0x1d8),_0x2db4e0),_0x4c961b[_0x3bee39(0x1db)](_0x3bee39(0x1d9),_0x2db4e0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2066(){var _0x16b933=['6427476iyxBLl','7632QqVuBL','72894NiNURf','8NcmfYv','5GWyGxr','780037UCKDLY','requires','12034OaMcuY','1708stGmWT','7272jJxgNI','747532DTsgaB','pluginName','isPremiumPlugin','494870TssmPu','isOfficialPlugin','UploadcareImageEdit','66HoIYsy'];_0x2066=function(){return _0x16b933;};return _0x2066();}var _0x55d774=_0x4584;(function(_0x16f4b2,_0x4a7144){var _0x296f3e=_0x4584,_0x5ced80=_0x16f4b2();while(!![]){try{var _0xa17f18=-parseInt(_0x296f3e(0x1a4))/0x1+parseInt(_0x296f3e(0x19e))/0x2*(parseInt(_0x296f3e(0x1a1))/0x3)+-parseInt(_0x296f3e(0x198))/0x4*(-parseInt(_0x296f3e(0x1a3))/0x5)+parseInt(_0x296f3e(0x1a0))/0x6*(parseInt(_0x296f3e(0x196))/0x7)+parseInt(_0x296f3e(0x1a2))/0x8*(-parseInt(_0x296f3e(0x19f))/0x9)+parseInt(_0x296f3e(0x19b))/0xa+-parseInt(_0x296f3e(0x195))/0xb*(-parseInt(_0x296f3e(0x197))/0xc);if(_0xa17f18===_0x4a7144)break;else _0x5ced80['push'](_0x5ced80['shift']());}catch(_0x56e148){_0x5ced80['push'](_0x5ced80['shift']());}}}(_0x2066,0x7e4d7));function _0x4584(_0x1a2c33,_0x11054c){var _0x206610=_0x2066();return _0x4584=function(_0x45844c,_0x422f76){_0x45844c=_0x45844c-0x195;var _0x4c2e78=_0x206610[_0x45844c];return _0x4c2e78;},_0x4584(_0x1a2c33,_0x11054c);}import{Plugin as _0x200c32}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1b24c5}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x68d48f}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x200c32{static get[_0x55d774(0x199)](){var _0x222dea=_0x55d774;return _0x222dea(0x19d);}static get[_0x55d774(0x1a5)](){return[_0x1b24c5,_0x68d48f];}static get[_0x55d774(0x19c)](){return!0x0;}static get[_0x55d774(0x19a)](){return!0x0;}}
23
+ var _0x514a3d=_0x59a4;(function(_0x40cc5d,_0x2346c0){var _0x50401f=_0x59a4,_0xad7419=_0x40cc5d();while(!![]){try{var _0x4ac8e6=parseInt(_0x50401f(0x168))/0x1+-parseInt(_0x50401f(0x162))/0x2+parseInt(_0x50401f(0x163))/0x3+-parseInt(_0x50401f(0x167))/0x4+parseInt(_0x50401f(0x164))/0x5*(-parseInt(_0x50401f(0x15f))/0x6)+-parseInt(_0x50401f(0x165))/0x7*(parseInt(_0x50401f(0x15b))/0x8)+parseInt(_0x50401f(0x15c))/0x9*(parseInt(_0x50401f(0x15a))/0xa);if(_0x4ac8e6===_0x2346c0)break;else _0xad7419['push'](_0xad7419['shift']());}catch(_0x4c8399){_0xad7419['push'](_0xad7419['shift']());}}}(_0x2b84,0xb9484));function _0x2b84(){var _0x6f7958=['5DjdQHl','91nIYVLG','isOfficialPlugin','1834664MiKRga','1307799GRXbqx','20ohBSXw','260056CsJArW','4970169dmCMxI','UploadcareImageEdit','isPremiumPlugin','2911338uyTDRB','requires','pluginName','590964QGkdNS','25791hUbedP'];_0x2b84=function(){return _0x6f7958;};return _0x2b84();}import{Plugin as _0x6ac12c}from'ckeditor5/src/core.js';function _0x59a4(_0x17bfe0,_0x40ab13){var _0x2b842e=_0x2b84();return _0x59a4=function(_0x59a48e,_0x21a613){_0x59a48e=_0x59a48e-0x15a;var _0x758610=_0x2b842e[_0x59a48e];return _0x758610;},_0x59a4(_0x17bfe0,_0x40ab13);}import{UploadcareImageEditEditing as _0x47c2d1}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x43e9ee}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x6ac12c{static get[_0x514a3d(0x161)](){var _0x5d9f12=_0x514a3d;return _0x5d9f12(0x15d);}static get[_0x514a3d(0x160)](){return[_0x47c2d1,_0x43e9ee];}static get[_0x514a3d(0x166)](){return!0x0;}static get[_0x514a3d(0x15e)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38181d=_0x2fdd;(function(_0x2bdf2b,_0x5dec6f){const _0x336866=_0x2fdd,_0x49b649=_0x2bdf2b();while(!![]){try{const _0x5cfd69=parseInt(_0x336866(0x105))/0x1+parseInt(_0x336866(0xf8))/0x2*(-parseInt(_0x336866(0xd3))/0x3)+-parseInt(_0x336866(0xd8))/0x4+parseInt(_0x336866(0x112))/0x5*(-parseInt(_0x336866(0xe6))/0x6)+parseInt(_0x336866(0x102))/0x7+-parseInt(_0x336866(0xf6))/0x8*(-parseInt(_0x336866(0xc7))/0x9)+parseInt(_0x336866(0x10d))/0xa;if(_0x5cfd69===_0x5dec6f)break;else _0x49b649['push'](_0x49b649['shift']());}catch(_0x27b8bd){_0x49b649['push'](_0x49b649['shift']());}}}(_0x220f,0xc1428));import{Plugin as _0x54558b}from'ckeditor5/src/core.js';import{IconDropbox as _0x53bca8,IconFacebook as _0x379fb0,IconGoogleDrive as _0x4af968,IconGooglePhotos as _0x15dd0e,IconUploadcareImageUpload as _0x1d556c,IconUploadcareLink as _0x5d9c21,IconOneDrive as _0x4a35d1}from'ckeditor5/src/icons.js';import{ButtonView as _0x2b1ce4,MenuBarMenuListItemButtonView as _0x324476}from'ckeditor5/src/ui.js';function _0x220f(){const _0x4c76ce=['4003698vfKnhx','registerIntegration','_createMenuBarButtons','shortText','domainLimit','2896108qHhqXy','featureNotAllowed','expired','_showLicenseError','config','uploadcareLicenseKeyNotAllowed','_createButton','destroy','push','upload','uploadcareLicenseKeyDomainLimit','Facebook','uploadcareLicenseKeyValid','usageLimit','345468dAbycR','UploadcareUI','url','icon','isOfficialPlugin','uploadcareLicenseKeyInvalid','reduce','get','map','has','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','isEnabled','commands','licenseKey','type','24LLjmVS','evaluationLimit','2DHjaWI','isPremiumPlugin','assetManager','entries','uploadcareLicenseKeyExpired','OneDrive','trialLimit','locale','tooltip','uploadcare.uploader.sourceList','9194675uYEKro','uploadcareLicenseKeyEvaluationLimit','_createDropdownButtons','75128famENP','pluginName','Replace','Uploadcare','execute','editor','forEach','plugins','11856050MrlvOv','GDrive','_normalizeConfigSourceList','uploadcare','isImageSelected','10sMyrHq','Dropbox','uploadcareLicenseKeyTrialLimit','Local','invalid','text','1173249ohvIlv','URL','_getIntegrationKey','GPhotos','bind','ImageInsertUI','_createToolbarButton','init','withText','Insert','label','afterInit'];_0x220f=function(){return _0x4c76ce;};return _0x220f();}import{UploadcareSource as _0x2fc22c}from'./uploadcareconfig.js';import{getTranslation as _0xbab6a2}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2fdd(_0x1c6157,_0x52a8f0){const _0x220fd0=_0x220f();return _0x2fdd=function(_0x2fdd09,_0x461274){_0x2fdd09=_0x2fdd09-0xc3;let _0x589d28=_0x220fd0[_0x2fdd09];return _0x589d28;},_0x2fdd(_0x1c6157,_0x52a8f0);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x54558b{[_0x38181d(0xf4)];[_0x38181d(0xf0)];static get[_0x38181d(0x106)](){const _0x569087=_0x38181d;return _0x569087(0xe7);}static get[_0x38181d(0xea)](){return!0x0;}static get[_0x38181d(0xf9)](){return!0x0;}[_0x38181d(0xce)](){const _0x44a2cb=_0x38181d;this[_0x44a2cb(0xf4)]=this[_0x44a2cb(0x10a)][_0x44a2cb(0xdc)][_0x44a2cb(0xed)](_0x44a2cb(0xf4));const _0x106cfa=this[_0x44a2cb(0x10a)];this[_0x44a2cb(0xf0)]=setInterval(()=>{const _0x2addfc=_0x44a2cb;let _0x25d103;for(const _0x2ac644 in _0x106cfa){const _0x3d80a1=_0x2ac644,_0x10b74f=_0x106cfa[_0x3d80a1];if(_0x2addfc(0xe4)==_0x10b74f||_0x2addfc(0xeb)==_0x10b74f||_0x2addfc(0xfc)==_0x10b74f||_0x2addfc(0xe2)==_0x10b74f||_0x2addfc(0xdd)==_0x10b74f||_0x2addfc(0x103)==_0x10b74f||_0x2addfc(0xc3)==_0x10b74f||_0x2addfc(0xf1)==_0x10b74f){delete _0x106cfa[_0x3d80a1],_0x25d103=_0x10b74f,clearInterval(this[_0x2addfc(0xf0)]),this[_0x2addfc(0xf0)]=void 0x0;break;}}_0x2addfc(0xeb)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xc5)),_0x2addfc(0xfc)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xda)),_0x2addfc(0xe2)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xd7)),_0x2addfc(0xdd)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xd9),_0x2addfc(0x108)),_0x2addfc(0x103)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xf7)),_0x2addfc(0xc3)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xfe)),_0x2addfc(0xf1)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xe5));},0x3e8);}[_0x38181d(0xd2)](){const _0x36c16c=_0x38181d,{editor:_0x564076}=this,_0x8b79cc=_0x564076[_0x36c16c(0xf3)][_0x36c16c(0xed)](_0x36c16c(0x110));if(!_0x8b79cc)return;const _0x16f54d=this[_0x36c16c(0x10f)](_0x564076[_0x36c16c(0xdc)][_0x36c16c(0xed)](_0x36c16c(0x101)))[_0x36c16c(0xec)]((_0x16d83f,_0x5f5866)=>{const _0x171477=_0x36c16c,_0x5087da=this[_0x171477(0xc9)](_0x5f5866[_0x171477(0xf5)]);return _0x16d83f[_0x5087da]||(_0x16d83f[_0x5087da]=[]),_0x16d83f[_0x5087da][_0x171477(0xe0)](_0x5f5866),_0x16d83f;},{});_0x564076[_0x36c16c(0x10c)][_0x36c16c(0xef)](_0x36c16c(0xcc))&&_0x564076[_0x36c16c(0xf3)][_0x36c16c(0xed)](_0x36c16c(0x110))&&Object[_0x36c16c(0xfb)](_0x16f54d)[_0x36c16c(0x10b)](([_0x55c3aa,_0x1a5f8a])=>{const _0xded36=_0x36c16c;_0x564076[_0xded36(0x10c)][_0xded36(0xed)](_0xded36(0xcc))[_0xded36(0xd4)]({'name':_0x55c3aa,'observable':()=>_0x8b79cc,'buttonViewCreator':()=>this[_0xded36(0xcd)](_0x1a5f8a),'formViewCreator':()=>this[_0xded36(0x104)](_0x1a5f8a),'menuBarButtonViewCreator':()=>this[_0xded36(0xd5)](_0x1a5f8a),'override':_0xded36(0xfa)!==_0x55c3aa});});}[_0x38181d(0xdf)](){const _0x50573a=_0x38181d;super[_0x50573a(0xdf)](),this[_0x50573a(0xf0)]&&clearInterval(this[_0x50573a(0xf0)]);}[_0x38181d(0x10f)](_0x40f5d7){const _0x940811=_0x38181d,{locale:_0x27bd5f}=this[_0x940811(0x10a)];return _0x40f5d7[_0x940811(0xee)](_0x333414=>{const _0x5e1d09=_0x940811,_0x4e9494=_0xbab6a2(_0x27bd5f,_0x333414,_0x5e1d09(0xd0));switch(_0x333414){case _0x2fc22c[_0x5e1d09(0xc4)]:return{'icon':_0x1d556c,'type':_0x2fc22c[_0x5e1d09(0xc4)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xc8)]:return{'icon':_0x5d9c21,'type':_0x2fc22c[_0x5e1d09(0xc8)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0x113)]:return{'icon':_0x53bca8,'type':_0x2fc22c[_0x5e1d09(0x113)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xe3)]:return{'icon':_0x379fb0,'type':_0x2fc22c[_0x5e1d09(0xe3)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0x10e)]:return{'icon':_0x4af968,'type':_0x2fc22c[_0x5e1d09(0x10e)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xca)]:return{'icon':_0x15dd0e,'type':_0x2fc22c[_0x5e1d09(0xca)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xfd)]:return{'icon':_0x4a35d1,'type':_0x2fc22c[_0x5e1d09(0xfd)],..._0x4e9494};}});}[_0x38181d(0xc9)](_0x22d538){const _0x3dcf28=_0x38181d;switch(_0x22d538){case _0x2fc22c[_0x3dcf28(0xc4)]:return _0x3dcf28(0xe1);case _0x2fc22c[_0x3dcf28(0xc8)]:return _0x3dcf28(0xe8);default:return _0x3dcf28(0xfa);}}[_0x38181d(0xde)](_0x4b2bf0,_0x32cb93){const _0x18310d=_0x38181d,_0x37785f=this[_0x18310d(0x10a)],_0x3016c3=new _0x4b2bf0(_0x37785f[_0x18310d(0xff)]),_0x612ef0=_0x37785f[_0x18310d(0xf3)][_0x18310d(0xed)](_0x18310d(0x110));return _0x3016c3[_0x18310d(0xcb)](_0x18310d(0xf2))['to'](_0x612ef0),_0x3016c3['on'](_0x18310d(0x109),()=>{const _0x590f88=_0x18310d;_0x612ef0[_0x590f88(0x109)](_0x32cb93);}),_0x3016c3;}[_0x38181d(0xcd)](_0x23013f){const _0x51371a=_0x38181d,{locale:_0x4612b7}=this[_0x51371a(0x10a)],_0x1c7587=this[_0x51371a(0x10a)][_0x51371a(0x10c)][_0x51371a(0xed)](_0x51371a(0xcc)),_0x5e5b8a=_0x23013f[0x0],_0x34a2d9=this[_0x51371a(0xde)](_0x2b1ce4,_0x5e5b8a[_0x51371a(0xf5)]);return _0x34a2d9[_0x51371a(0xe9)]=_0x5e5b8a[_0x51371a(0xe9)],_0x34a2d9[_0x51371a(0xcb)](_0x51371a(0xd1))['to'](_0x1c7587,_0x51371a(0x111),_0x180f5f=>_0xbab6a2(_0x4612b7,_0x5e5b8a[_0x51371a(0xf5)],_0x180f5f?_0x51371a(0x107):_0x51371a(0xd0))[_0x51371a(0xc6)]),_0x34a2d9[_0x51371a(0x100)]=!0x0,_0x34a2d9;}[_0x38181d(0x104)](_0x10f12d){const _0x3517e3=_0x38181d,{locale:_0x4bc178}=this[_0x3517e3(0x10a)],_0x1c656c=this[_0x3517e3(0x10a)][_0x3517e3(0x10c)][_0x3517e3(0xed)](_0x3517e3(0xcc));return _0x10f12d[_0x3517e3(0xee)](_0x29bbe4=>{const _0x37565a=_0x3517e3,_0x5f0bdc=this[_0x37565a(0xde)](_0x2b1ce4,_0x29bbe4[_0x37565a(0xf5)]);return _0x5f0bdc[_0x37565a(0xcf)]=!0x0,_0x5f0bdc[_0x37565a(0xe9)]=_0x29bbe4[_0x37565a(0xe9)],_0x5f0bdc[_0x37565a(0xcb)](_0x37565a(0xd1))['to'](_0x1c656c,_0x37565a(0x111),_0x1d8110=>_0xbab6a2(_0x4bc178,_0x29bbe4[_0x37565a(0xf5)],_0x1d8110?_0x37565a(0x107):_0x37565a(0xd0))[_0x37565a(0xc6)]),_0x5f0bdc;});}[_0x38181d(0xd5)](_0x15c089){const _0x1c85e4=_0x38181d;return _0x15c089[_0x1c85e4(0xee)](_0x43dd38=>{const _0x4fe96d=_0x1c85e4,_0x46a230=this[_0x4fe96d(0xde)](_0x324476,_0x43dd38[_0x4fe96d(0xf5)]);return _0x46a230[_0x4fe96d(0xe9)]=_0x43dd38[_0x4fe96d(0xe9)],_0x46a230[_0x4fe96d(0xd1)]=_0x43dd38[_0x4fe96d(0xd6)],_0x46a230;});}}
23
+ const _0x4e61bb=_0x361e;function _0x361e(_0xb34f71,_0xa42cb1){const _0x5d3b72=_0x5d3b();return _0x361e=function(_0x361e8c,_0x5568f9){_0x361e8c=_0x361e8c-0x8d;let _0x286a7c=_0x5d3b72[_0x361e8c];return _0x286a7c;},_0x361e(_0xb34f71,_0xa42cb1);}(function(_0x5bdef0,_0x22b9ae){const _0xe3b8b0=_0x361e,_0x520f09=_0x5bdef0();while(!![]){try{const _0x2add5a=-parseInt(_0xe3b8b0(0xcd))/0x1*(-parseInt(_0xe3b8b0(0xa9))/0x2)+parseInt(_0xe3b8b0(0x95))/0x3+parseInt(_0xe3b8b0(0x9d))/0x4+-parseInt(_0xe3b8b0(0xbf))/0x5+-parseInt(_0xe3b8b0(0xd3))/0x6*(-parseInt(_0xe3b8b0(0xa7))/0x7)+parseInt(_0xe3b8b0(0x94))/0x8*(-parseInt(_0xe3b8b0(0x99))/0x9)+-parseInt(_0xe3b8b0(0x9c))/0xa*(parseInt(_0xe3b8b0(0xab))/0xb);if(_0x2add5a===_0x22b9ae)break;else _0x520f09['push'](_0x520f09['shift']());}catch(_0x1aac44){_0x520f09['push'](_0x520f09['shift']());}}}(_0x5d3b,0xacc92));import{Plugin as _0x2e0b5c}from'ckeditor5/src/core.js';import{IconDropbox as _0x2a9871,IconFacebook as _0x4229c7,IconGoogleDrive as _0x2f42a7,IconGooglePhotos as _0x575e34,IconUploadcareImageUpload as _0x59c690,IconUploadcareLink as _0x15f183,IconOneDrive as _0x29ff2e}from'ckeditor5/src/icons.js';function _0x5d3b(){const _0x354351=['_getIntegrationKey','text','5512pcLXGe','1081056LExuHU','Uploadcare','_createMenuBarButtons','withText','12438UsYTcc','uploadcareLicenseKeyValid','bind','10314380MfYAoq','1824408FMaFvI','map','pluginName','url','plugins','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyEvaluationLimit','URL','type','21ZgfOmu','config','3314hYgCNZ','isOfficialPlugin','11RqqMce','usageLimit','tooltip','trialLimit','licenseKey','destroy','label','GPhotos','has','isPremiumPlugin','featureNotAllowed','ImageInsertUI','uploadcareLicenseKeyDomainLimit','Facebook','assetManager','get','Local','init','locale','push','1438585bDnSeC','evaluationLimit','uploadcare.uploader.sourceList','shortText','_createToolbarButton','_createDropdownButtons','forEach','uploadcare','isEnabled','Dropbox','icon','_normalizeConfigSourceList','uploadcareLicenseKeyInvalid','execute','631uEVoGf','OneDrive','Insert','_showLicenseError','afterInit','expired','2234124kAvoju','upload','Replace','uploadcareLicenseKeyUsageLimit','editor','UploadcareUI','registerIntegration','isImageSelected','uploadcareLicenseKeyExpired','entries','invalid','_licenseKeyCheckInterval','reduce','domainLimit','GDrive','_createButton','commands'];_0x5d3b=function(){return _0x354351;};return _0x5d3b();}import{ButtonView as _0x45f345,MenuBarMenuListItemButtonView as _0x4638ba}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x476605}from'./uploadcareconfig.js';import{getTranslation as _0x39e0c7}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 _0x2e0b5c{[_0x4e61bb(0xaf)];[_0x4e61bb(0xde)];static get[_0x4e61bb(0x9f)](){const _0x546617=_0x4e61bb;return _0x546617(0xd8);}static get[_0x4e61bb(0xaa)](){return!0x0;}static get[_0x4e61bb(0xb4)](){return!0x0;}[_0x4e61bb(0xbc)](){const _0x4f266b=_0x4e61bb;this[_0x4f266b(0xaf)]=this[_0x4f266b(0xd7)][_0x4f266b(0xa8)][_0x4f266b(0xba)](_0x4f266b(0xaf));const _0x21f494=this[_0x4f266b(0xd7)];this[_0x4f266b(0xde)]=setInterval(()=>{const _0x3d5823=_0x4f266b;let _0x4a3041;for(const _0x41efe0 in _0x21f494){const _0x3be4e7=_0x41efe0,_0x16f45f=_0x21f494[_0x3be4e7];if(_0x3d5823(0x9a)==_0x16f45f||_0x3d5823(0xcb)==_0x16f45f||_0x3d5823(0xdb)==_0x16f45f||_0x3d5823(0xb7)==_0x16f45f||_0x3d5823(0xa3)==_0x16f45f||_0x3d5823(0xa4)==_0x16f45f||_0x3d5823(0xa2)==_0x16f45f||_0x3d5823(0xd6)==_0x16f45f){delete _0x21f494[_0x3be4e7],_0x4a3041=_0x16f45f,clearInterval(this[_0x3d5823(0xde)]),this[_0x3d5823(0xde)]=void 0x0;break;}}_0x3d5823(0xcb)==_0x4a3041&&_0x21f494[_0x3d5823(0xd0)](_0x3d5823(0xdd)),_0x3d5823(0xdb)==_0x4a3041&&_0x21f494[_0x3d5823(0xd0)](_0x3d5823(0xd2)),_0x3d5823(0xb7)==_0x4a3041&&_0x21f494[_0x3d5823(0xd0)](_0x3d5823(0x8e)),_0x3d5823(0xa3)==_0x4a3041&&_0x21f494[_0x3d5823(0xd0)](_0x3d5823(0xb5),_0x3d5823(0x96)),_0x3d5823(0xa4)==_0x4a3041&&_0x21f494[_0x3d5823(0xd0)](_0x3d5823(0xc0)),_0x3d5823(0xa2)==_0x4a3041&&_0x21f494[_0x3d5823(0xd0)](_0x3d5823(0xae)),_0x3d5823(0xd6)==_0x4a3041&&_0x21f494[_0x3d5823(0xd0)](_0x3d5823(0xac));},0x3e8);}[_0x4e61bb(0xd1)](){const _0x297702=_0x4e61bb,{editor:_0x2e0424}=this,_0x3e6eab=_0x2e0424[_0x297702(0x91)][_0x297702(0xba)](_0x297702(0xc6));if(!_0x3e6eab)return;const _0x5f3c76=this[_0x297702(0xca)](_0x2e0424[_0x297702(0xa8)][_0x297702(0xba)](_0x297702(0xc1)))[_0x297702(0x8d)]((_0x274e72,_0xb65743)=>{const _0x1c459f=_0x297702,_0x4c3efd=this[_0x1c459f(0x92)](_0xb65743[_0x1c459f(0xa6)]);return _0x274e72[_0x4c3efd]||(_0x274e72[_0x4c3efd]=[]),_0x274e72[_0x4c3efd][_0x1c459f(0xbe)](_0xb65743),_0x274e72;},{});_0x2e0424[_0x297702(0xa1)][_0x297702(0xb3)](_0x297702(0xb6))&&_0x2e0424[_0x297702(0x91)][_0x297702(0xba)](_0x297702(0xc6))&&Object[_0x297702(0xdc)](_0x5f3c76)[_0x297702(0xc5)](([_0x1d39d9,_0x2fbd81])=>{const _0x25fb21=_0x297702;_0x2e0424[_0x25fb21(0xa1)][_0x25fb21(0xba)](_0x25fb21(0xb6))[_0x25fb21(0xd9)]({'name':_0x1d39d9,'observable':()=>_0x3e6eab,'buttonViewCreator':()=>this[_0x25fb21(0xc3)](_0x2fbd81),'formViewCreator':()=>this[_0x25fb21(0xc4)](_0x2fbd81),'menuBarButtonViewCreator':()=>this[_0x25fb21(0x97)](_0x2fbd81),'override':_0x25fb21(0xb9)!==_0x1d39d9});});}[_0x4e61bb(0xb0)](){const _0x195c1a=_0x4e61bb;super[_0x195c1a(0xb0)](),this[_0x195c1a(0xde)]&&clearInterval(this[_0x195c1a(0xde)]);}[_0x4e61bb(0xca)](_0x28585b){const _0xe68b17=_0x4e61bb,{locale:_0x5d56e4}=this[_0xe68b17(0xd7)];return _0x28585b[_0xe68b17(0x9e)](_0x445234=>{const _0x3106aa=_0xe68b17,_0x193102=_0x39e0c7(_0x5d56e4,_0x445234,_0x3106aa(0xcf));switch(_0x445234){case _0x476605[_0x3106aa(0xbb)]:return{'icon':_0x59c690,'type':_0x476605[_0x3106aa(0xbb)],..._0x193102};case _0x476605[_0x3106aa(0xa5)]:return{'icon':_0x15f183,'type':_0x476605[_0x3106aa(0xa5)],..._0x193102};case _0x476605[_0x3106aa(0xc8)]:return{'icon':_0x2a9871,'type':_0x476605[_0x3106aa(0xc8)],..._0x193102};case _0x476605[_0x3106aa(0xb8)]:return{'icon':_0x4229c7,'type':_0x476605[_0x3106aa(0xb8)],..._0x193102};case _0x476605[_0x3106aa(0x8f)]:return{'icon':_0x2f42a7,'type':_0x476605[_0x3106aa(0x8f)],..._0x193102};case _0x476605[_0x3106aa(0xb2)]:return{'icon':_0x575e34,'type':_0x476605[_0x3106aa(0xb2)],..._0x193102};case _0x476605[_0x3106aa(0xce)]:return{'icon':_0x29ff2e,'type':_0x476605[_0x3106aa(0xce)],..._0x193102};}});}[_0x4e61bb(0x92)](_0x4d412f){const _0x2e629f=_0x4e61bb;switch(_0x4d412f){case _0x476605[_0x2e629f(0xbb)]:return _0x2e629f(0xd4);case _0x476605[_0x2e629f(0xa5)]:return _0x2e629f(0xa0);default:return _0x2e629f(0xb9);}}[_0x4e61bb(0x90)](_0x46108a,_0x3de27e){const _0x3c39c5=_0x4e61bb,_0x9213a4=this[_0x3c39c5(0xd7)],_0xcee1df=new _0x46108a(_0x9213a4[_0x3c39c5(0xbd)]),_0x2ab21b=_0x9213a4[_0x3c39c5(0x91)][_0x3c39c5(0xba)](_0x3c39c5(0xc6));return _0xcee1df[_0x3c39c5(0x9b)](_0x3c39c5(0xc7))['to'](_0x2ab21b),_0xcee1df['on'](_0x3c39c5(0xcc),()=>{const _0x30c101=_0x3c39c5;_0x2ab21b[_0x30c101(0xcc)](_0x3de27e);}),_0xcee1df;}[_0x4e61bb(0xc3)](_0x24c867){const _0x33c92e=_0x4e61bb,{locale:_0x163e5f}=this[_0x33c92e(0xd7)],_0x844e68=this[_0x33c92e(0xd7)][_0x33c92e(0xa1)][_0x33c92e(0xba)](_0x33c92e(0xb6)),_0x5193f2=_0x24c867[0x0],_0x4e57d5=this[_0x33c92e(0x90)](_0x45f345,_0x5193f2[_0x33c92e(0xa6)]);return _0x4e57d5[_0x33c92e(0xc9)]=_0x5193f2[_0x33c92e(0xc9)],_0x4e57d5[_0x33c92e(0x9b)](_0x33c92e(0xb1))['to'](_0x844e68,_0x33c92e(0xda),_0x5a25e6=>_0x39e0c7(_0x163e5f,_0x5193f2[_0x33c92e(0xa6)],_0x5a25e6?_0x33c92e(0xd5):_0x33c92e(0xcf))[_0x33c92e(0x93)]),_0x4e57d5[_0x33c92e(0xad)]=!0x0,_0x4e57d5;}[_0x4e61bb(0xc4)](_0x10a645){const _0x532601=_0x4e61bb,{locale:_0x714066}=this[_0x532601(0xd7)],_0x19f402=this[_0x532601(0xd7)][_0x532601(0xa1)][_0x532601(0xba)](_0x532601(0xb6));return _0x10a645[_0x532601(0x9e)](_0x29f7be=>{const _0x3838d1=_0x532601,_0x5473ad=this[_0x3838d1(0x90)](_0x45f345,_0x29f7be[_0x3838d1(0xa6)]);return _0x5473ad[_0x3838d1(0x98)]=!0x0,_0x5473ad[_0x3838d1(0xc9)]=_0x29f7be[_0x3838d1(0xc9)],_0x5473ad[_0x3838d1(0x9b)](_0x3838d1(0xb1))['to'](_0x19f402,_0x3838d1(0xda),_0x324673=>_0x39e0c7(_0x714066,_0x29f7be[_0x3838d1(0xa6)],_0x324673?_0x3838d1(0xd5):_0x3838d1(0xcf))[_0x3838d1(0x93)]),_0x5473ad;});}[_0x4e61bb(0x97)](_0x501575){const _0x237c75=_0x4e61bb;return _0x501575[_0x237c75(0x9e)](_0xafc3ca=>{const _0x4c91fd=_0x237c75,_0x2eb7df=this[_0x4c91fd(0x90)](_0x4638ba,_0xafc3ca[_0x4c91fd(0xa6)]);return _0x2eb7df[_0x4c91fd(0xc9)]=_0xafc3ca[_0x4c91fd(0xc9)],_0x2eb7df[_0x4c91fd(0xb1)]=_0xafc3ca[_0x4c91fd(0xc2)],_0x2eb7df;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4980b6}from'ckeditor5/src/core.js';import{FileRepository as _0x51c516}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2ed4c9}from'./uploadcareediting.js';import{UploadUtils as _0x2edd79}from'./utils/uploadutils.js';import{getImageUrls as _0x334739}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4980b6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x51c516,_0x2ed4c9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x473da6=this['editor'];if(!!!_0x473da6['config']['get']('uploadcare'))return;_0x473da6['plugins']['get'](_0x51c516)['createUploadAdapter']=_0x2ae9ed=>new A(_0x2ae9ed,_0x473da6),_0x473da6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4ebc90,{imageElement:_0x2b9443,data:_0x596c89})=>{_0x473da6['model']['change'](_0x290c6b=>{_0x290c6b['setAttribute']('uploadcareImageId',_0x596c89['uploadcareImageId'],_0x2b9443);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2a874c,_0x5e2e26){this['loader']=_0x2a874c,this['editor']=_0x5e2e26,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x29a7a6=this['editor']['config']['get']('uploadcare.pubkey'),_0x584260=await this['loader']['file'];return _0x2edd79['upload']({'file':_0x584260,'publicKey':_0x29a7a6,'signal':this['controller']['signal'],'onProgress':_0x2b016f=>{_0x2b016f&&_0x2b016f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2b016f['value']);}})['then'](async _0x342dce=>{const {imageFallbackUrl:_0x10d7dc,imageSources:_0xb7171d}=_0x334739(_0x342dce['cdnUrl'],_0x342dce['imageInfo']['width']);return{'uploadcareImageId':_0x342dce['uuid'],'default':_0x10d7dc,'sources':_0xb7171d};})['catch'](()=>{const _0x478e81=t('Cannot\x20upload\x20file:')+('\x20'+_0x584260['name']+'.');return Promise['reject'](_0x478e81);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1767c9}from'ckeditor5/src/core.js';import{FileRepository as _0xcbcfac}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x242ef2}from'./uploadcareediting.js';import{UploadUtils as _0x352f92}from'./utils/uploadutils.js';import{getImageUrls as _0x1fad1e}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1767c9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xcbcfac,_0x242ef2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3978c8=this['editor'];if(!!!_0x3978c8['config']['get']('uploadcare'))return;_0x3978c8['plugins']['get'](_0xcbcfac)['createUploadAdapter']=_0xe76742=>new A(_0xe76742,_0x3978c8),_0x3978c8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5101c4,{imageElement:_0x352318,data:_0x4fbad1})=>{_0x3978c8['model']['change'](_0x318091=>{_0x318091['setAttribute']('uploadcareImageId',_0x4fbad1['uploadcareImageId'],_0x352318);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x32362b,_0x215397){this['loader']=_0x32362b,this['editor']=_0x215397,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x57bfba=this['editor']['config']['get']('uploadcare.pubkey'),_0x4fd8f7=await this['loader']['file'];return _0x352f92['upload']({'file':_0x4fd8f7,'publicKey':_0x57bfba,'signal':this['controller']['signal'],'onProgress':_0x4611af=>{_0x4611af&&_0x4611af['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4611af['value']);}})['then'](async _0x243861=>{const {imageFallbackUrl:_0x3a76c1,imageSources:_0x24980b}=_0x1fad1e(_0x243861['cdnUrl'],_0x243861['imageInfo']['width']);return{'uploadcareImageId':_0x243861['uuid'],'default':_0x3a76c1,'sources':_0x24980b};})['catch'](()=>{const _0x51f981=t('Cannot\x20upload\x20file:')+('\x20'+_0x4fd8f7['name']+'.');return Promise['reject'](_0x51f981);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x2f2095}from'../uploadcareconfig.js';export function getTranslation(_0x322dea,_0x1667bb,_0x4787c1){const t=_0x322dea['t'],_0x4b1f21=_0x322dea['t'];switch(_0x1667bb){case _0x2f2095['Local']:return{'text':_0x4b1f21('Insert'===_0x4787c1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4b1f21('From\x20computer')};case _0x2f2095['URL']:return{'text':'Insert'===_0x4787c1?_0x4b1f21('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4b1f21('Via\x20URL')};case _0x2f2095['Dropbox']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2f2095['Facebook']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2f2095['GDrive']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2f2095['GPhotos']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2f2095['OneDrive']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1667bb;}}
23
+ import{UploadcareSource as _0x2b41c6}from'../uploadcareconfig.js';export function getTranslation(_0x5bd752,_0x2ead56,_0x4ede48){const t=_0x5bd752['t'],_0x52ffb9=_0x5bd752['t'];switch(_0x2ead56){case _0x2b41c6['Local']:return{'text':_0x52ffb9('Insert'===_0x4ede48?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x52ffb9('From\x20computer')};case _0x2b41c6['URL']:return{'text':'Insert'===_0x4ede48?_0x52ffb9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x52ffb9('Via\x20URL')};case _0x2b41c6['Dropbox']:return{'text':t('Insert'===_0x4ede48?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2b41c6['Facebook']:return{'text':t('Insert'===_0x4ede48?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2b41c6['GDrive']:return{'text':t('Insert'===_0x4ede48?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2b41c6['GPhotos']:return{'text':t('Insert'===_0x4ede48?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2b41c6['OneDrive']:return{'text':t('Insert'===_0x4ede48?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2ead56;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2442ac=_0x1e17;(function(_0x5d649a,_0x513dc4){var _0xe383c5=_0x1e17,_0x50ef9=_0x5d649a();while(!![]){try{var _0x4ae900=-parseInt(_0xe383c5(0x1b8))/0x1+parseInt(_0xe383c5(0x1bd))/0x2+parseInt(_0xe383c5(0x1ba))/0x3+-parseInt(_0xe383c5(0x1c0))/0x4*(parseInt(_0xe383c5(0x1c1))/0x5)+-parseInt(_0xe383c5(0x1c3))/0x6*(parseInt(_0xe383c5(0x1bf))/0x7)+parseInt(_0xe383c5(0x1b5))/0x8+parseInt(_0xe383c5(0x1c4))/0x9*(parseInt(_0xe383c5(0x1c2))/0xa);if(_0x4ae900===_0x513dc4)break;else _0x50ef9['push'](_0x50ef9['shift']());}catch(_0x134fba){_0x50ef9['push'](_0x50ef9['shift']());}}}(_0x3c11,0xacbd3));import{FocusTracker as _0x2c687b}from'ckeditor5/src/utils.js';function _0x1e17(_0x1c3fde,_0x488a98){var _0x3c119e=_0x3c11();return _0x1e17=function(_0x1e17f5,_0x2a6d10){_0x1e17f5=_0x1e17f5-0x1b4;var _0x71d0ff=_0x3c119e[_0x1e17f5];return _0x71d0ff;},_0x1e17(_0x1c3fde,_0x488a98);}function _0x3c11(){var _0x5db446=['focusTracker','div','816292GLWuer','bindTemplate','2653kYJhBk','11204ZAGoSm','385UePzPo','20JOiwbC','12360kPpdAJ','2649411BsdZQi','forwardCycle','true','getFocusableElement','9424112VrnSeL','fire','createCollection','761866nClPsS','focusCycler','872712DCYaXk'];_0x3c11=function(){return _0x5db446;};return _0x3c11();}import{View as _0x2750af,FocusCycler as _0xdb8ad8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2750af{[_0x2442ac(0x1bb)];[_0x2442ac(0x1b9)];constructor(_0x5a34f3){var _0x2f48f4=_0x2442ac;super(_0x5a34f3),this[_0x2f48f4(0x1bb)]=new _0x2c687b(),this[_0x2f48f4(0x1b9)]=new _0xdb8ad8({'focusables':this[_0x2f48f4(0x1b7)](),'focusTracker':this[_0x2f48f4(0x1bb)]});}[_0x2442ac(0x1b4)](){var _0x7b144a=_0x2442ac;return{'tag':_0x7b144a(0x1bc),'attributes':{'aria-hidden':_0x7b144a(0x1c6),'tabindex':'0'},'on':{'focus':this[_0x7b144a(0x1be)]['to'](()=>{var _0x2d750d=_0x7b144a;this[_0x2d750d(0x1b9)][_0x2d750d(0x1b6)](_0x2d750d(0x1c5));})}};}}
23
+ function _0x5c09(_0x421bc2,_0x52f805){var _0x3a6f2d=_0x3a6f();return _0x5c09=function(_0x5c09c4,_0x2a39d9){_0x5c09c4=_0x5c09c4-0x1e8;var _0x35bd98=_0x3a6f2d[_0x5c09c4];return _0x35bd98;},_0x5c09(_0x421bc2,_0x52f805);}var _0x39e402=_0x5c09;(function(_0x3c25ad,_0x5b4abe){var _0x113798=_0x5c09,_0x11fcb1=_0x3c25ad();while(!![]){try{var _0x4a213a=parseInt(_0x113798(0x1e8))/0x1*(parseInt(_0x113798(0x1fa))/0x2)+-parseInt(_0x113798(0x1f1))/0x3*(parseInt(_0x113798(0x1ee))/0x4)+parseInt(_0x113798(0x1f2))/0x5*(-parseInt(_0x113798(0x1ed))/0x6)+parseInt(_0x113798(0x1f8))/0x7*(-parseInt(_0x113798(0x1ef))/0x8)+parseInt(_0x113798(0x1f6))/0x9+parseInt(_0x113798(0x1f7))/0xa+parseInt(_0x113798(0x1f3))/0xb;if(_0x4a213a===_0x5b4abe)break;else _0x11fcb1['push'](_0x11fcb1['shift']());}catch(_0x5cafd3){_0x11fcb1['push'](_0x11fcb1['shift']());}}}(_0x3a6f,0x33fd7));import{FocusTracker as _0x4f1302}from'ckeditor5/src/utils.js';import{View as _0x3010c0,FocusCycler as _0x20a01b}from'ckeditor5/src/ui.js';function _0x3a6f(){var _0x1cdca6=['bindTemplate','true','createCollection','24cJCifu','252qWwnhp','8ybekrA','focusCycler','2034PBKDJh','317530pDLENf','1984697ffIkqZ','forwardCycle','focusTracker','58581Izapxl','2344170EnmpUJ','1835897juCpSz','div','36906WBTWuh','getFocusableElement','19Wbvtur','fire'];_0x3a6f=function(){return _0x1cdca6;};return _0x3a6f();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3010c0{[_0x39e402(0x1f5)];[_0x39e402(0x1f0)];constructor(_0x1bb67e){var _0x5604bc=_0x39e402;super(_0x1bb67e),this[_0x5604bc(0x1f5)]=new _0x4f1302(),this[_0x5604bc(0x1f0)]=new _0x20a01b({'focusables':this[_0x5604bc(0x1ec)](),'focusTracker':this[_0x5604bc(0x1f5)]});}[_0x39e402(0x1fb)](){var _0xcea0dd=_0x39e402;return{'tag':_0xcea0dd(0x1f9),'attributes':{'aria-hidden':_0xcea0dd(0x1eb),'tabindex':'0'},'on':{'focus':this[_0xcea0dd(0x1ea)]['to'](()=>{var _0x291090=_0xcea0dd;this[_0x291090(0x1f0)][_0x291090(0x1e9)](_0x291090(0x1f4));})}};}}