@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251216.0 → 0.0.0-nightly-next-20251216.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29a25d=_0x4d9e;(function(_0x24a34e,_0x573d5){const _0xb922f0=_0x4d9e,_0x25104c=_0x24a34e();while(!![]){try{const _0x3261ec=-parseInt(_0xb922f0(0xfb))/0x1*(parseInt(_0xb922f0(0xff))/0x2)+-parseInt(_0xb922f0(0xda))/0x3+-parseInt(_0xb922f0(0xd4))/0x4*(parseInt(_0xb922f0(0xb2))/0x5)+parseInt(_0xb922f0(0xfd))/0x6*(-parseInt(_0xb922f0(0xc6))/0x7)+parseInt(_0xb922f0(0xf0))/0x8*(-parseInt(_0xb922f0(0xd1))/0x9)+parseInt(_0xb922f0(0xde))/0xa+parseInt(_0xb922f0(0xbb))/0xb*(parseInt(_0xb922f0(0xf7))/0xc);if(_0x3261ec===_0x573d5)break;else _0x25104c['push'](_0x25104c['shift']());}catch(_0x455069){_0x25104c['push'](_0x25104c['shift']());}}}(_0x362d,0xc8a3d));import{Plugin as _0x4c17e0}from'ckeditor5/src/core.js';function _0x4d9e(_0x5e5c93,_0x57ec78){const _0x362da=_0x362d();return _0x4d9e=function(_0x4d9eb4,_0x538025){_0x4d9eb4=_0x4d9eb4-0xac;let _0x3ff253=_0x362da[_0x4d9eb4];return _0x3ff253;},_0x4d9e(_0x5e5c93,_0x57ec78);}import{Dialog as _0x206a68}from'ckeditor5/src/ui.js';import{createElement as _0x46045b,global as _0x1a0421,uid as _0x54128a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x534805}from'./uploadcarecommand.js';function _0x362d(){const _0x45642e=['execute','uc-config','uc-upload-ctx-provider','#uc-icon-arrow-down','requires','input[uploadcare-file-input]','ctxElement','2244060INGrfR','configElement','afterInit','575236JhyClE','uploadcare','schema','extend','upcast','map','4389930uQDfWa','render','\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','PictureEditing','2869220MfMvzL','imageBlock','_initSchema','ucContextId','data-uc-image-id','get','removeAttribute','editor','imageInline','insertImage','init','_initConversion','getSelectedElement','cleanupImage','model','once','pluginName','uploadcare.uploader','40uEFkhm','body','contentLanguage','isOfficialPlugin','replaceImageSource','for','editing','9981756KKneQL','uploadcare.pubkey','listenTo','iconHrefResolver','4343uvNyIV','view','3956574puZmNL','href','538IYMjKz','_configElement','_initCtx','config','getAttribute','attributeToAttribute','_ctxElement','selection','true','commands','55iBpbRj','join','UploadcareEditing','_initConfig','isPremiumPlugin','closeMax','remove','document','locale','88XLZfcw','_initImageProcessingIndicator','elementToAttribute','appendChild','downcast','fromCharCode','isRegistered','add','uploadcareImageId','querySelector','uploadcareImageReplace','7CRoVup','uploader-','conversion','destroy'];_0x362d=function(){return _0x45642e;};return _0x362d();}import{UploadcareUploadAdapter as _0x1bc4c4}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x436883}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4c17e0{[_0x29a25d(0x100)]=null;[_0x29a25d(0xae)]=null;static get[_0x29a25d(0xee)](){const _0x56740e=_0x29a25d;return _0x56740e(0xb4);}static get[_0x29a25d(0xce)](){const _0x542a28=_0x29a25d;return[_0x542a28(0xdd),_0x1bc4c4,_0x206a68];}static get[_0x29a25d(0xf3)](){return!0x0;}static get[_0x29a25d(0xb6)](){return!0x0;}[_0x29a25d(0xe1)];get[_0x29a25d(0xd2)](){const _0x5b2b31=_0x29a25d;return this[_0x5b2b31(0x100)];}get[_0x29a25d(0xd0)](){const _0x4e2a60=_0x29a25d;return this[_0x4e2a60(0xae)];}constructor(_0x2053cc){const _0xc88176=_0x29a25d;super(_0x2053cc),this[_0xc88176(0xe1)]=_0x54128a();}[_0x29a25d(0xe8)](){const _0x474be6=_0x29a25d,_0x3f7c0b=this[_0x474be6(0xe5)];_0x3f7c0b[_0x474be6(0xb1)][_0x474be6(0xc2)](_0x474be6(0xd5),new _0x534805(_0x3f7c0b));}[_0x29a25d(0xd3)](){const _0x1f6d3b=_0x29a25d;this[_0x1f6d3b(0xe0)](),this[_0x1f6d3b(0xe9)](),this[_0x1f6d3b(0xb5)](),this[_0x1f6d3b(0x101)](),this[_0x1f6d3b(0xbc)](),this[_0x1f6d3b(0xf9)](this[_0x1f6d3b(0xe5)],_0x1f6d3b(0xc9),()=>{const _0x194812=_0x1f6d3b;this[_0x194812(0x100)]&&(this[_0x194812(0x100)][_0x194812(0xb8)](),this[_0x194812(0x100)]=null),this[_0x194812(0xae)]&&(this[_0x194812(0xae)][_0x194812(0xb8)](),this[_0x194812(0xae)]=null);const _0x472a96=_0x1a0421[_0x194812(0xb9)][_0x194812(0xc4)](_0x194812(0xcf));_0x472a96&&_0x472a96[_0x194812(0xb8)]();}),async function(_0x14f83b){const _0x261d40=_0x241a60([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x27ef8a=0x535f8c3a,_0x517722=0x5358f02a^_0x27ef8a,_0x2f9760=window[_0x241a60([0x44,0x61,0x74,0x65])][_0x241a60([0x6e,0x6f,0x77])](),_0xee445e=_0x14f83b[_0x241a60([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13b3ab=new window[(_0x241a60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaef378=>{_0xee445e[_0x241a60([0x6f,0x6e,0x63,0x65])](_0x241a60([0x72,0x65,0x61,0x64,0x79]),_0xaef378);}),_0x254368={[_0x241a60([0x6b,0x74,0x79])]:_0x241a60([0x45,0x43]),[_0x241a60([0x75,0x73,0x65])]:_0x241a60([0x73,0x69,0x67]),[_0x241a60([0x63,0x72,0x76])]:_0x241a60([0x50,0x2d,0x32,0x35,0x36]),[_0x241a60([0x78])]:_0x241a60([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]),[_0x241a60([0x79])]:_0x241a60([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]),[_0x241a60([0x61,0x6c,0x67])]:_0x241a60([0x45,0x53,0x32,0x35,0x36])},_0x51eefc=_0xee445e[_0x241a60([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x241a60([0x67,0x65,0x74])](_0x241a60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x326c9e(){let _0x5db6e0,_0x4e41c4=null,_0x11313d=null;try{if(_0x51eefc==_0x241a60([0x47,0x50,0x4c]))return _0x241a60([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5db6e0=_0x45ce18(),!_0x5db6e0)return _0x241a60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5db6e0[_0x241a60([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11313d=_0x5f2247(_0x5db6e0[_0x241a60([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5db6e0[_0x241a60([0x6a,0x74,0x69])])),await _0x49644d()?_0xe35727()?_0x4c46ca()?_0x241a60([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10e3c7()?(_0x5db6e0[_0x241a60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x241a60([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e41c4=_0x4406cb(_0x241a60([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5db6e0[_0x241a60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x241a60([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e41c4=_0x4406cb(_0x241a60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33dde1()):_0x241a60([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x241a60([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x241a60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x241a60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c46ca(){const _0x527e7c=[_0x241a60([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x241a60([0x74,0x72,0x69,0x61,0x6c])][_0x241a60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db6e0[_0x241a60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f9760/0x3e8:0xe10*_0x517722;return _0x5db6e0[_0x241a60([0x65,0x78,0x70])]<_0x527e7c;}function _0xe35727(){const _0x2c2fea=_0x5db6e0[_0x241a60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c2fea&&(!!_0x2c2fea[_0x241a60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x241a60([0x2a]))||!!_0x2c2fea[_0x241a60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x241a60([0x55,0x50,0x4c,0x43])));}function _0x10e3c7(){const _0x2c7f7d=_0x4d9e,_0x1df77b=_0x5db6e0[_0x241a60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1df77b||0x0==_0x1df77b[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x504604}=new URL(window[_0x241a60([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2c7f7d(0xfe)]);if(_0x1df77b[_0x241a60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x504604))return!0x0;const _0x3251b6=_0x504604[_0x241a60([0x73,0x70,0x6c,0x69,0x74])](_0x241a60([0x2e]));return _0x1df77b[_0x241a60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c4f15=>_0x5c4f15[_0x241a60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x241a60([0x2a])))[_0x241a60([0x6d,0x61,0x70])](_0x21f27a=>_0x21f27a[_0x241a60([0x73,0x70,0x6c,0x69,0x74])](_0x241a60([0x2e])))[_0x241a60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x522cae=>_0x522cae[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3251b6[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x241a60([0x6d,0x61,0x70])](_0x4067a9=>Array(_0x3251b6[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4067a9[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x241a60([0x66,0x69,0x6c,0x6c])](_0x4067a9[0x0]===_0x241a60([0x2a])?_0x241a60([0x2a]):'')[_0x241a60([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4067a9))[_0x241a60([0x73,0x6f,0x6d,0x65])](_0x299ab7=>_0x3251b6[_0x241a60([0x65,0x76,0x65,0x72,0x79])]((_0x4126ea,_0x4f9d88)=>_0x299ab7[_0x4f9d88]===_0x4126ea||_0x299ab7[_0x4f9d88]===_0x241a60([0x2a])));}function _0x33dde1(){return _0x4e41c4&&_0x11313d?new window[(_0x241a60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x208bbc,_0x4fe963)=>{_0x4e41c4[_0x241a60([0x74,0x68,0x65,0x6e])](_0x208bbc,_0x4fe963),_0x11313d[_0x241a60([0x74,0x68,0x65,0x6e])](_0x3dc43b=>{_0x3dc43b!=_0x241a60([0x56,0x61,0x6c,0x69,0x64])&&_0x208bbc(_0x3dc43b);},_0x4fe963);}):_0x4e41c4||_0x11313d||_0x241a60([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5f2247(_0xa7296,_0xe4b4b){return new window[(_0x241a60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53aff7=>{if(_0x3c0200())return _0x53aff7(_0x241a60([0x56,0x61,0x6c,0x69,0x64]));_0x4f9d48(),_0xee445e[_0x241a60([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x241a60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x987071=!0x1;const _0x31b707=_0x54128a();function _0xfc9c17(_0x21c236){return!!_0x21c236&&(typeof _0x21c236===_0x241a60([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21c236===_0x241a60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21c236[_0x241a60([0x74,0x68,0x65,0x6e])]===_0x241a60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21c236[_0x241a60([0x63,0x61,0x74,0x63,0x68])]===_0x241a60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ae5bd(_0x249fd0){_0x493f1a(_0x249fd0)[_0x241a60([0x74,0x68,0x65,0x6e])](_0x20b820=>{if(!_0x20b820||_0x20b820[_0x241a60([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x241a60([0x6f,0x6b]))return _0x241a60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43216c(_0x940f86(_0x31b707+_0xe4b4b))!=_0x20b820[_0x241a60([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x241a60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x241a60([0x56,0x61,0x6c,0x69,0x64]);})[_0x241a60([0x74,0x68,0x65,0x6e])](_0xc38e00=>(_0x5549cb(),_0xc38e00),()=>{const _0x34f6af=_0x40b3a2();return null==_0x34f6af?(_0x5549cb(),_0x241a60([0x56,0x61,0x6c,0x69,0x64])):_0x241a60(_0x2f9760-_0x34f6af>(0x7753083a^_0x27ef8a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x241a60([0x74,0x68,0x65,0x6e])](_0x53aff7)[_0x241a60([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53aff7(_0x241a60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5432f1=0x536962ba^_0x27ef8a;function _0x5549cb(){const _0x324da7=_0x241a60([0x6c,0x6c,0x63,0x74,0x2d])+_0x43216c(_0x940f86(_0xa7296)),_0x170fe5=_0x4adaa2(_0x43216c(window[_0x241a60([0x4d,0x61,0x74,0x68])][_0x241a60([0x63,0x65,0x69,0x6c])](_0x2f9760/_0x5432f1)));window[_0x241a60([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x241a60([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x324da7,_0x170fe5);}function _0x40b3a2(){const _0x13d2ed=_0x241a60([0x6c,0x6c,0x63,0x74,0x2d])+_0x43216c(_0x940f86(_0xa7296)),_0x1fabf0=window[_0x241a60([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x241a60([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13d2ed);return _0x1fabf0?window[_0x241a60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4adaa2(_0x1fabf0),0x10)*_0x5432f1:null;}function _0x493f1a(_0x4c6170){return new window[(_0x241a60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a96a3,_0x1c0e76)=>{_0x4c6170[_0x241a60([0x74,0x68,0x65,0x6e])](_0x2a96a3,_0x1c0e76),window[_0x241a60([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c0e76,0x535e58fa^_0x27ef8a);});}}_0xee445e[_0x241a60([0x6f,0x6e])](_0x241a60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb5a03c,_0x4c0ebb)=>{if(_0x4c0ebb[0x0]!=_0xa7296)return _0x53aff7(_0x241a60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c0ebb[0x1]={..._0x4c0ebb[0x1],[_0x241a60([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31b707};},{[_0x241a60([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x241a60([0x68,0x69,0x67,0x68])}),_0xee445e[_0x241a60([0x6f,0x6e])](_0x241a60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4cc90e=>{_0xfc9c17(_0x4cc90e[_0x241a60([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x987071=!0x0,_0x4ae5bd(_0x4cc90e[_0x241a60([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x241a60([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x241a60([0x6c,0x6f,0x77])}),_0x13b3ab[_0x241a60([0x74,0x68,0x65,0x6e])](()=>{_0x987071||_0x53aff7(_0x241a60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c0200(){return _0xee445e[_0x241a60([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x241a60([0x76,0x69,0x65,0x77])][_0x241a60([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x241a60([0x61,0x75,0x74,0x6f]);}function _0x4f9d48(){_0xee445e[_0x241a60([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x241a60([0x76,0x69,0x65,0x77])][_0x241a60([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x241a60([0x61,0x75,0x74,0x6f]);}}function _0x4406cb(_0x1364b4){const _0x2d0a7e=[new window[(_0x241a60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189185=>setTimeout(_0x189185,0x5356b2f6^_0x27ef8a)),_0x13b3ab[_0x241a60([0x74,0x68,0x65,0x6e])](()=>new window[(_0x241a60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369273=>{let _0x39f78f=0x0;_0xee445e[_0x241a60([0x6d,0x6f,0x64,0x65,0x6c])][_0x241a60([0x6f,0x6e])](_0x241a60([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d6699,_0x283c82)=>{_0x283c82[0x0][_0x241a60([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39f78f++,_0x39f78f==(0x535f8dc2^_0x27ef8a)&&(_0x369273(),_0x2d6699[_0x241a60([0x6f,0x66,0x66])]());});}))];return window[_0x241a60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x241a60([0x72,0x61,0x63,0x65])](_0x2d0a7e)[_0x241a60([0x74,0x68,0x65,0x6e])](()=>_0x1364b4);}async function _0x510e81(){await _0x13b3ab,_0xee445e[_0x241a60([0x6d,0x6f,0x64,0x65,0x6c])][_0x241a60([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43a495,_0xee445e[_0x241a60([0x6d,0x6f,0x64,0x65,0x6c])][_0x241a60([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43a495,_0xee445e[_0x241a60([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x241a60([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29980a(_0x38e1b8){const _0x264d6a=_0x2b92ee();_0xee445e[_0x264d6a]=_0x241a60([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38e1b8,_0x38e1b8!=_0x241a60([0x56,0x61,0x6c,0x69,0x64])&&_0x510e81();}function _0x2b92ee(){const _0x4abe9d=window[_0x241a60([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x241a60([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x241a60([0x6e,0x6f,0x77])]())[_0x241a60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x241a60([0x2e]),'');let _0x2913c4=_0x241a60([0x68]);for(let _0x47296a=0x0;_0x47296a<_0x4abe9d[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47296a+=0x2){let _0x5bca99=window[_0x241a60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4abe9d[_0x241a60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47296a,_0x47296a+0x2));_0x5bca99>=_0x261d40[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bca99-=_0x261d40[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2913c4+=_0x261d40[_0x5bca99];}return _0x2913c4;}function _0x45ce18(){const _0x1815de=_0x51eefc[_0x241a60([0x73,0x70,0x6c,0x69,0x74])](_0x241a60([0x2e]));if(0x3!=_0x1815de[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x269e72(_0x1815de[0x1]);function _0x269e72(_0x2cf87a){const _0x339dac=_0x468e41(_0x2cf87a);return _0x339dac&&_0x562c5f()?_0x339dac:null;function _0x562c5f(){const _0x4f35c0=_0x339dac[_0x241a60([0x6a,0x74,0x69])],_0xd2c2a1=window[_0x241a60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f35c0[_0x241a60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f35c0[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x187edf={..._0x339dac,[_0x241a60([0x6a,0x74,0x69])]:_0x4f35c0[_0x241a60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f35c0[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x187edf[_0x241a60([0x76,0x63])],_0x940f86(_0x187edf)==_0xd2c2a1;}}}async function _0x49644d(){let _0x57747d=!0x0;try{const _0x4050ac=_0x51eefc[_0x241a60([0x73,0x70,0x6c,0x69,0x74])](_0x241a60([0x2e])),[_0x555e6d,_0x2d1bbd,_0x4e2ca3]=_0x4050ac;return _0x536548(_0x555e6d),await _0x5c6fd9(_0x555e6d,_0x2d1bbd,_0x4e2ca3),_0x57747d;}catch{return!0x1;}function _0x536548(_0x101d7d){const _0x582ec2=_0x468e41(_0x101d7d);_0x582ec2&&_0x582ec2[_0x241a60([0x61,0x6c,0x67])]==_0x241a60([0x45,0x53,0x32,0x35,0x36])||(_0x57747d=!0x1);}async function _0x5c6fd9(_0x4f2021,_0xe315c7,_0x5f49dd){const _0x1befe9=window[_0x241a60([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x241a60([0x66,0x72,0x6f,0x6d])](_0x319515(_0x5f49dd),_0x126d12=>_0x126d12[_0x241a60([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x77be92=new window[(_0x241a60([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x241a60([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f2021+_0x241a60([0x2e])+_0xe315c7),_0x5c2c71=window[_0x241a60([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x241a60([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c2c71)return;const _0x50e015=await _0x5c2c71[_0x241a60([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x241a60([0x6a,0x77,0x6b]),_0x254368,{[_0x241a60([0x6e,0x61,0x6d,0x65])]:_0x241a60([0x45,0x43,0x44,0x53,0x41]),[_0x241a60([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x241a60([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x241a60([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c2c71[_0x241a60([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x241a60([0x6e,0x61,0x6d,0x65])]:_0x241a60([0x45,0x43,0x44,0x53,0x41]),[_0x241a60([0x68,0x61,0x73,0x68])]:{[_0x241a60([0x6e,0x61,0x6d,0x65])]:_0x241a60([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50e015,_0x1befe9,_0x77be92)||(_0x57747d=!0x1);}}function _0x468e41(_0x1132ea){return _0x1132ea[_0x241a60([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x241a60([0x65,0x79]))?JSON[_0x241a60([0x70,0x61,0x72,0x73,0x65])](_0x319515(_0x1132ea)):null;}function _0x319515(_0x5764a4){return window[_0x241a60([0x61,0x74,0x6f,0x62])](_0x5764a4[_0x241a60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x241a60([0x2b]))[_0x241a60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x241a60([0x2f])));}function _0x940f86(_0x371332){let _0x5790d3=0x1505;function _0x2a6d2c(_0x25b08e){for(let _0x38a036=0x0;_0x38a036<_0x25b08e[_0x241a60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38a036++){const _0xbb8e1a=_0x25b08e[_0x241a60([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38a036);_0x5790d3=(_0x5790d3<<0x5)+_0x5790d3+_0xbb8e1a,_0x5790d3&=_0x5790d3;}}function _0x3a72a0(_0x24d4e3){Array[_0x241a60([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24d4e3)?_0x24d4e3[_0x241a60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a72a0):_0x24d4e3&&typeof _0x24d4e3==_0x241a60([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x241a60([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24d4e3)[_0x241a60([0x73,0x6f,0x72,0x74])]()[_0x241a60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x137511,_0x3d226e])=>{_0x2a6d2c(_0x137511),_0x3a72a0(_0x3d226e);}):_0x2a6d2c(window[_0x241a60([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24d4e3));}return _0x3a72a0(_0x371332),_0x5790d3>>>0x0;}function _0x43216c(_0x133768){return _0x133768[_0x241a60([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x241a60([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x241a60([0x30]));}function _0x4adaa2(_0x907b1c){return _0x907b1c[_0x241a60([0x73,0x70,0x6c,0x69,0x74])]('')[_0x241a60([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x241a60([0x6a,0x6f,0x69,0x6e])]('');}function _0x43a495(){}function _0x241a60(_0x35d176){const _0x5cb8b0=_0x4d9e;return _0x35d176[_0x5cb8b0(0xd9)](_0xa153e3=>String[_0x5cb8b0(0xc0)](_0xa153e3))[_0x5cb8b0(0xb3)]('');}_0x29980a(await _0x326c9e());}(this);}[_0x29a25d(0xe0)](){const _0x3bb571=_0x29a25d,_0x214eea=this[_0x3bb571(0xe5)][_0x3bb571(0xec)][_0x3bb571(0xd6)];_0x214eea[_0x3bb571(0xc1)](_0x3bb571(0xdf))&&_0x214eea[_0x3bb571(0xd7)](_0x3bb571(0xdf),{'allowAttributes':[_0x3bb571(0xc3)]}),_0x214eea[_0x3bb571(0xc1)](_0x3bb571(0xe6))&&_0x214eea[_0x3bb571(0xd7)](_0x3bb571(0xe6),{'allowAttributes':[_0x3bb571(0xc3)]});}[_0x29a25d(0xe9)](){const _0x3bc455=_0x29a25d,_0x88ea1c=this[_0x3bc455(0xe5)];_0x88ea1c[_0x3bc455(0xc8)][_0x3bc455(0xf5)](_0x3bc455(0xbf))[_0x3bc455(0xad)]({'model':_0x3bc455(0xc3),'view':_0x3bc455(0xe2)}),_0x88ea1c[_0x3bc455(0xc8)][_0x3bc455(0xf5)](_0x3bc455(0xd8))[_0x3bc455(0xbd)]({'model':{'key':_0x3bc455(0xc3),'value':_0x116d8d=>_0x116d8d[_0x3bc455(0xac)](_0x3bc455(0xe2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x50742a=_0x88ea1c[_0x3bc455(0xb1)][_0x3bc455(0xe3)](_0x3bc455(0xf4));_0x50742a&&this[_0x3bc455(0xf9)](_0x50742a,_0x3bc455(0xeb),(_0x1ad875,[_0x30a6b4,_0x482dfc])=>{const _0x1cace9=_0x3bc455;_0x30a6b4[_0x1cace9(0xe4)](_0x1cace9(0xc3),_0x482dfc);});}[_0x29a25d(0xb5)](){const _0x5479dc=_0x29a25d,_0x25c79d=this[_0x5479dc(0xe5)][_0x5479dc(0x102)][_0x5479dc(0xe3)](_0x5479dc(0xef))||{},_0x241cee=this[_0x5479dc(0xe5)][_0x5479dc(0x102)][_0x5479dc(0xe3)](_0x5479dc(0xf8))||'';this[_0x5479dc(0x100)]=_0x46045b(_0x1a0421[_0x5479dc(0xb9)],_0x5479dc(0xcb),{..._0x25c79d,'pubkey':_0x241cee,'ctx-name':_0x5479dc(0xc7)+this[_0x5479dc(0xe1)],'sourceList':'','imgOnly':_0x5479dc(0xb0),'removeCopyright':_0x5479dc(0xb0),'localeName':this[_0x5479dc(0xe5)][_0x5479dc(0xba)][_0x5479dc(0xf2)],'externalSourcesEmbedCss':_0x5479dc(0xdc)}),this[_0x5479dc(0x100)][_0x5479dc(0xfa)]=_0xdccb56=>{const _0x4fb240=_0x5479dc;if(_0x4fb240(0xb7)==_0xdccb56)return _0x4fb240(0xcd);},_0x1a0421[_0x5479dc(0xb9)][_0x5479dc(0xf1)][_0x5479dc(0xbe)](this[_0x5479dc(0x100)]);}[_0x29a25d(0x101)](){const _0x143b0d=_0x29a25d;this[_0x143b0d(0xae)]=_0x46045b(_0x1a0421[_0x143b0d(0xb9)],_0x143b0d(0xcc),{'ctx-name':_0x143b0d(0xc7)+this[_0x143b0d(0xe1)]}),_0x1a0421[_0x143b0d(0xb9)][_0x143b0d(0xf1)][_0x143b0d(0xbe)](this[_0x143b0d(0xae)]);}[_0x29a25d(0xbc)](){const _0x3bb6a1=_0x29a25d,_0x4f0c9f=this[_0x3bb6a1(0xe5)][_0x3bb6a1(0xb1)][_0x3bb6a1(0xe3)](_0x3bb6a1(0xe7));_0x4f0c9f&&this[_0x3bb6a1(0xf9)](_0x4f0c9f,_0x3bb6a1(0xca),()=>{const _0x1c4d76=_0x3bb6a1,_0x154a3a=this[_0x1c4d76(0xe5)][_0x1c4d76(0xec)][_0x1c4d76(0xb9)][_0x1c4d76(0xaf)][_0x1c4d76(0xea)]();_0x154a3a&&_0x154a3a[_0x1c4d76(0xac)](_0x1c4d76(0xc3))&&this[_0x1c4d76(0xe5)][_0x1c4d76(0xf6)][_0x1c4d76(0xfc)][_0x1c4d76(0xed)](_0x1c4d76(0xdb),()=>{const _0x3503be=_0x1c4d76;_0x436883(this[_0x3503be(0xe5)],_0x154a3a);});});const _0x67252f=this[_0x3bb6a1(0xe5)][_0x3bb6a1(0xb1)][_0x3bb6a1(0xe3)](_0x3bb6a1(0xc5));_0x67252f&&this[_0x3bb6a1(0xf9)](_0x67252f,_0x3bb6a1(0xca),()=>{const _0x5129af=_0x3bb6a1,_0x4d09a2=this[_0x5129af(0xe5)][_0x5129af(0xec)][_0x5129af(0xb9)][_0x5129af(0xaf)][_0x5129af(0xea)]();_0x4d09a2&&_0x4d09a2[_0x5129af(0xac)](_0x5129af(0xc3))&&this[_0x5129af(0xe5)][_0x5129af(0xf6)][_0x5129af(0xfc)][_0x5129af(0xed)](_0x5129af(0xdb),()=>{const _0x37f6e5=_0x5129af;_0x436883(this[_0x37f6e5(0xe5)],_0x4d09a2);});});}}
23
+ const _0x463110=_0x509f;(function(_0x1448a5,_0x23fff6){const _0x5f5340=_0x509f,_0x35c059=_0x1448a5();while(!![]){try{const _0x3dc6b9=parseInt(_0x5f5340(0x1c7))/0x1+-parseInt(_0x5f5340(0x1c9))/0x2+parseInt(_0x5f5340(0x1f7))/0x3*(-parseInt(_0x5f5340(0x1ff))/0x4)+-parseInt(_0x5f5340(0x1d8))/0x5*(parseInt(_0x5f5340(0x202))/0x6)+-parseInt(_0x5f5340(0x1f6))/0x7*(-parseInt(_0x5f5340(0x1ca))/0x8)+-parseInt(_0x5f5340(0x1f0))/0x9*(-parseInt(_0x5f5340(0x1fe))/0xa)+parseInt(_0x5f5340(0x1cb))/0xb;if(_0x3dc6b9===_0x23fff6)break;else _0x35c059['push'](_0x35c059['shift']());}catch(_0x3933e2){_0x35c059['push'](_0x35c059['shift']());}}}(_0x59c0,0xacc63));function _0x59c0(){const _0x486439=['config','querySelector','_initConfig','insertImage','isRegistered','70308frAGOE','upcast','for','listenTo','cleanupImage','_initConversion','8898113ivMsrE','2973lxgFxP','render','commands','destroy','once','add','pluginName','430BYMBVa','1916gDMrcL','getAttribute','getSelectedElement','1886088dmCnzX','view','true','init','execute','uc-upload-ctx-provider','data-uc-image-id','model','downcast','_initCtx','ctxElement','attributeToAttribute','PictureEditing','href','get','imageBlock','input[uploadcare-file-input]','uploadcareImageReplace','isPremiumPlugin','_ctxElement','isOfficialPlugin','appendChild','#uc-icon-arrow-down','imageInline','fromCharCode','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare.pubkey','867929VbCAAI','iconHrefResolver','2664992EizbJO','8qLcvQt','3896332OuTXqU','map','_configElement','uc-config','UploadcareEditing','uploader-','_initSchema','join','contentLanguage','locale','selection','editor','ucContextId','5ZSrjvE','elementToAttribute','schema','requires','uploadcare','afterInit','removeAttribute','uploadcare.uploader','editing','remove','body','closeMax','document','extend','configElement','uploadcareImageId','replaceImageSource','conversion','_initImageProcessingIndicator'];_0x59c0=function(){return _0x486439;};return _0x59c0();}import{Plugin as _0x25e487}from'ckeditor5/src/core.js';import{Dialog as _0x329112}from'ckeditor5/src/ui.js';import{createElement as _0x2afbb3,global as _0x293094,uid as _0x118dfc}from'ckeditor5/src/utils.js';function _0x509f(_0x5d8608,_0x475c09){const _0x59c0db=_0x59c0();return _0x509f=function(_0x509f04,_0x356676){_0x509f04=_0x509f04-0x1b7;let _0x1b0c09=_0x59c0db[_0x509f04];return _0x1b0c09;},_0x509f(_0x5d8608,_0x475c09);}import{UploadcareCommand as _0x2f638c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3cdbcb}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3dc89e}from'./utils/editingutils.js';export class UploadcareEditing extends _0x25e487{[_0x463110(0x1cd)]=null;[_0x463110(0x1bf)]=null;static get[_0x463110(0x1fd)](){const _0x568d83=_0x463110;return _0x568d83(0x1cf);}static get[_0x463110(0x1db)](){const _0x3cae16=_0x463110;return[_0x3cae16(0x1b8),_0x3cdbcb,_0x329112];}static get[_0x463110(0x1c0)](){return!0x0;}static get[_0x463110(0x1be)](){return!0x0;}[_0x463110(0x1d7)];get[_0x463110(0x1e6)](){const _0x5992fc=_0x463110;return this[_0x5992fc(0x1cd)];}get[_0x463110(0x20c)](){const _0x337043=_0x463110;return this[_0x337043(0x1bf)];}constructor(_0x4b6b78){const _0x4af65e=_0x463110;super(_0x4b6b78),this[_0x4af65e(0x1d7)]=_0x118dfc();}[_0x463110(0x205)](){const _0x3a5860=_0x463110,_0x196a6c=this[_0x3a5860(0x1d6)];_0x196a6c[_0x3a5860(0x1f9)][_0x3a5860(0x1fc)](_0x3a5860(0x1dc),new _0x2f638c(_0x196a6c));}[_0x463110(0x1dd)](){const _0x7b96ef=_0x463110;this[_0x7b96ef(0x1d1)](),this[_0x7b96ef(0x1f5)](),this[_0x7b96ef(0x1ed)](),this[_0x7b96ef(0x20b)](),this[_0x7b96ef(0x1ea)](),this[_0x7b96ef(0x1f3)](this[_0x7b96ef(0x1d6)],_0x7b96ef(0x1fa),()=>{const _0x3dfed6=_0x7b96ef;this[_0x3dfed6(0x1cd)]&&(this[_0x3dfed6(0x1cd)][_0x3dfed6(0x1e1)](),this[_0x3dfed6(0x1cd)]=null),this[_0x3dfed6(0x1bf)]&&(this[_0x3dfed6(0x1bf)][_0x3dfed6(0x1e1)](),this[_0x3dfed6(0x1bf)]=null);const _0x261ce7=_0x293094[_0x3dfed6(0x1e4)][_0x3dfed6(0x1ec)](_0x3dfed6(0x1bc));_0x261ce7&&_0x261ce7[_0x3dfed6(0x1e1)]();}),async function(_0x520e52){const _0x787795=_0x484315([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1736d3=0x535f8c3a,_0x4d237d=0x5358f02a^_0x1736d3,_0x5d5ded=window[_0x484315([0x44,0x61,0x74,0x65])][_0x484315([0x6e,0x6f,0x77])](),_0x377246=_0x520e52[_0x484315([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20b597=new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c714d=>{_0x377246[_0x484315([0x6f,0x6e,0x63,0x65])](_0x484315([0x72,0x65,0x61,0x64,0x79]),_0x3c714d);}),_0xefe148={[_0x484315([0x6b,0x74,0x79])]:_0x484315([0x45,0x43]),[_0x484315([0x75,0x73,0x65])]:_0x484315([0x73,0x69,0x67]),[_0x484315([0x63,0x72,0x76])]:_0x484315([0x50,0x2d,0x32,0x35,0x36]),[_0x484315([0x78])]:_0x484315([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x484315([0x79])]:_0x484315([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x484315([0x61,0x6c,0x67])]:_0x484315([0x45,0x53,0x32,0x35,0x36])},_0x24c57e=_0x377246[_0x484315([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x484315([0x67,0x65,0x74])](_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x162a08(){let _0x4795f6,_0x53892c=null,_0x1f4fdc=null;try{if(_0x24c57e==_0x484315([0x47,0x50,0x4c]))return _0x484315([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4795f6=_0x402d49(),!_0x4795f6)return _0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4795f6[_0x484315([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f4fdc=_0x1e8489(_0x4795f6[_0x484315([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4795f6[_0x484315([0x6a,0x74,0x69])])),await _0x320525()?_0x6422c4()?_0xff57ed()?_0x484315([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x186957()?(_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484315([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53892c=_0x58e1d4(_0x484315([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484315([0x74,0x72,0x69,0x61,0x6c])&&(_0x53892c=_0x58e1d4(_0x484315([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b91b7()):_0x484315([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x484315([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x484315([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xff57ed(){const _0x378acd=[_0x484315([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x484315([0x74,0x72,0x69,0x61,0x6c])][_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d5ded/0x3e8:0xe10*_0x4d237d;return _0x4795f6[_0x484315([0x65,0x78,0x70])]<_0x378acd;}function _0x6422c4(){const _0x4e5ad8=_0x4795f6[_0x484315([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e5ad8&&(!!_0x4e5ad8[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x2a]))||!!_0x4e5ad8[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x55,0x50,0x4c,0x43])));}function _0x186957(){const _0x160138=_0x509f,_0x53c344=_0x4795f6[_0x484315([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53c344||0x0==_0x53c344[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a324f}=new URL(window[_0x484315([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x160138(0x1b9)]);if(_0x53c344[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a324f))return!0x0;const _0x6705c8=_0x2a324f[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e]));return _0x53c344[_0x484315([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19ef22=>_0x19ef22[_0x484315([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484315([0x2a])))[_0x484315([0x6d,0x61,0x70])](_0x179978=>_0x179978[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e])))[_0x484315([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d04c9=>_0x1d04c9[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6705c8[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484315([0x6d,0x61,0x70])](_0x34e9fe=>Array(_0x6705c8[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34e9fe[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484315([0x66,0x69,0x6c,0x6c])](_0x34e9fe[0x0]===_0x484315([0x2a])?_0x484315([0x2a]):'')[_0x484315([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34e9fe))[_0x484315([0x73,0x6f,0x6d,0x65])](_0x35f85e=>_0x6705c8[_0x484315([0x65,0x76,0x65,0x72,0x79])]((_0xe93d52,_0x3d44fc)=>_0x35f85e[_0x3d44fc]===_0xe93d52||_0x35f85e[_0x3d44fc]===_0x484315([0x2a])));}function _0x4b91b7(){return _0x53892c&&_0x1f4fdc?new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57cbd7,_0x36785e)=>{_0x53892c[_0x484315([0x74,0x68,0x65,0x6e])](_0x57cbd7,_0x36785e),_0x1f4fdc[_0x484315([0x74,0x68,0x65,0x6e])](_0xe2c71d=>{_0xe2c71d!=_0x484315([0x56,0x61,0x6c,0x69,0x64])&&_0x57cbd7(_0xe2c71d);},_0x36785e);}):_0x53892c||_0x1f4fdc||_0x484315([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e8489(_0x128efb,_0x25dcf5){return new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6bab4=>{if(_0x131ad1())return _0xf6bab4(_0x484315([0x56,0x61,0x6c,0x69,0x64]));_0x872cbd(),_0x377246[_0x484315([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ab70c=!0x1;const _0xfdca7=_0x118dfc();function _0x452042(_0x2ef89b){return!!_0x2ef89b&&(typeof _0x2ef89b===_0x484315([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ef89b===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ef89b[_0x484315([0x74,0x68,0x65,0x6e])]===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ef89b[_0x484315([0x63,0x61,0x74,0x63,0x68])]===_0x484315([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x48b299(_0x1cf12e){_0xd7f5e5(_0x1cf12e)[_0x484315([0x74,0x68,0x65,0x6e])](_0x2ae23f=>{if(!_0x2ae23f||_0x2ae23f[_0x484315([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x484315([0x6f,0x6b]))return _0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d3273(_0x41cf8e(_0xfdca7+_0x25dcf5))!=_0x2ae23f[_0x484315([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x484315([0x56,0x61,0x6c,0x69,0x64]);})[_0x484315([0x74,0x68,0x65,0x6e])](_0x16a37c=>(_0x4de440(),_0x16a37c),()=>{const _0x2df244=_0x5b3d77();return null==_0x2df244?(_0x4de440(),_0x484315([0x56,0x61,0x6c,0x69,0x64])):_0x484315(_0x5d5ded-_0x2df244>(0x7753083a^_0x1736d3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x484315([0x74,0x68,0x65,0x6e])](_0xf6bab4)[_0x484315([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26cda7=0x536962ba^_0x1736d3;function _0x4de440(){const _0x1a4c1c=_0x484315([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3273(_0x41cf8e(_0x128efb)),_0x6dcb56=_0x45ab76(_0x1d3273(window[_0x484315([0x4d,0x61,0x74,0x68])][_0x484315([0x63,0x65,0x69,0x6c])](_0x5d5ded/_0x26cda7)));window[_0x484315([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484315([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a4c1c,_0x6dcb56);}function _0x5b3d77(){const _0x29980a=_0x484315([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3273(_0x41cf8e(_0x128efb)),_0x59442c=window[_0x484315([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484315([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29980a);return _0x59442c?window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45ab76(_0x59442c),0x10)*_0x26cda7:null;}function _0xd7f5e5(_0x362113){return new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467528,_0x592630)=>{_0x362113[_0x484315([0x74,0x68,0x65,0x6e])](_0x467528,_0x592630),window[_0x484315([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x592630,0x535e58fa^_0x1736d3);});}}_0x377246[_0x484315([0x6f,0x6e])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x111ed6,_0x30b0ad)=>{if(_0x30b0ad[0x0]!=_0x128efb)return _0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30b0ad[0x1]={..._0x30b0ad[0x1],[_0x484315([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfdca7};},{[_0x484315([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484315([0x68,0x69,0x67,0x68])}),_0x377246[_0x484315([0x6f,0x6e])](_0x484315([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1951d0=>{_0x452042(_0x1951d0[_0x484315([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ab70c=!0x0,_0x48b299(_0x1951d0[_0x484315([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x484315([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484315([0x6c,0x6f,0x77])}),_0x20b597[_0x484315([0x74,0x68,0x65,0x6e])](()=>{_0x1ab70c||_0xf6bab4(_0x484315([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x131ad1(){return _0x377246[_0x484315([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484315([0x76,0x69,0x65,0x77])][_0x484315([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x484315([0x61,0x75,0x74,0x6f]);}function _0x872cbd(){_0x377246[_0x484315([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484315([0x76,0x69,0x65,0x77])][_0x484315([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x484315([0x61,0x75,0x74,0x6f]);}}function _0x58e1d4(_0x34937e){const _0x29b4b1=[new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3afe9=>setTimeout(_0xf3afe9,0x5356b2f6^_0x1736d3)),_0x20b597[_0x484315([0x74,0x68,0x65,0x6e])](()=>new window[(_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x515d9a=>{let _0x1afac9=0x0;_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x6f,0x6e])](_0x484315([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b39ea,_0x413bb5)=>{_0x413bb5[0x0][_0x484315([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1afac9++,_0x1afac9==(0x535f8dc2^_0x1736d3)&&(_0x515d9a(),_0x5b39ea[_0x484315([0x6f,0x66,0x66])]());});}))];return window[_0x484315([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x484315([0x72,0x61,0x63,0x65])](_0x29b4b1)[_0x484315([0x74,0x68,0x65,0x6e])](()=>_0x34937e);}async function _0x1b3c9a(){await _0x20b597,_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56e6c3,_0x377246[_0x484315([0x6d,0x6f,0x64,0x65,0x6c])][_0x484315([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56e6c3,_0x377246[_0x484315([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x484315([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28c286(_0x2e5457){const _0x5c9bdc=_0xdb7c82();_0x377246[_0x5c9bdc]=_0x484315([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e5457,_0x2e5457!=_0x484315([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3c9a();}function _0xdb7c82(){const _0x20bb20=window[_0x484315([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x484315([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x484315([0x6e,0x6f,0x77])]())[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x484315([0x2e]),'');let _0x3bdfbf=_0x484315([0x68]);for(let _0x5e352c=0x0;_0x5e352c<_0x20bb20[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e352c+=0x2){let _0xa09022=window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20bb20[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e352c,_0x5e352c+0x2));_0xa09022>=_0x787795[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa09022-=_0x787795[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3bdfbf+=_0x787795[_0xa09022];}return _0x3bdfbf;}function _0x402d49(){const _0x14ef46=_0x24c57e[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e]));if(0x3!=_0x14ef46[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x30ec0d(_0x14ef46[0x1]);function _0x30ec0d(_0x1c0bb7){const _0x323268=_0x4319be(_0x1c0bb7);return _0x323268&&_0x61eaf0()?_0x323268:null;function _0x61eaf0(){const _0x457982=_0x323268[_0x484315([0x6a,0x74,0x69])],_0x3f6256=window[_0x484315([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x457982[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x457982[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51a7d0={..._0x323268,[_0x484315([0x6a,0x74,0x69])]:_0x457982[_0x484315([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x457982[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51a7d0[_0x484315([0x76,0x63])],_0x41cf8e(_0x51a7d0)==_0x3f6256;}}}async function _0x320525(){let _0x15292b=!0x0;try{const _0x55441b=_0x24c57e[_0x484315([0x73,0x70,0x6c,0x69,0x74])](_0x484315([0x2e])),[_0x35bd50,_0x5ba2b6,_0x1b93e7]=_0x55441b;return _0x2c1bd7(_0x35bd50),await _0x395b88(_0x35bd50,_0x5ba2b6,_0x1b93e7),_0x15292b;}catch{return!0x1;}function _0x2c1bd7(_0x3366d6){const _0x26d6de=_0x4319be(_0x3366d6);_0x26d6de&&_0x26d6de[_0x484315([0x61,0x6c,0x67])]==_0x484315([0x45,0x53,0x32,0x35,0x36])||(_0x15292b=!0x1);}async function _0x395b88(_0x3b312a,_0x34efc3,_0x558978){const _0x162455=window[_0x484315([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x484315([0x66,0x72,0x6f,0x6d])](_0x40354e(_0x558978),_0x4c01ae=>_0x4c01ae[_0x484315([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c8a4f=new window[(_0x484315([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x484315([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b312a+_0x484315([0x2e])+_0x34efc3),_0x198517=window[_0x484315([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x484315([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198517)return;const _0x53161a=await _0x198517[_0x484315([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x484315([0x6a,0x77,0x6b]),_0xefe148,{[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x45,0x43,0x44,0x53,0x41]),[_0x484315([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x484315([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x484315([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198517[_0x484315([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x45,0x43,0x44,0x53,0x41]),[_0x484315([0x68,0x61,0x73,0x68])]:{[_0x484315([0x6e,0x61,0x6d,0x65])]:_0x484315([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53161a,_0x162455,_0x5c8a4f)||(_0x15292b=!0x1);}}function _0x4319be(_0xebca2d){return _0xebca2d[_0x484315([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x484315([0x65,0x79]))?JSON[_0x484315([0x70,0x61,0x72,0x73,0x65])](_0x40354e(_0xebca2d)):null;}function _0x40354e(_0x458b27){return window[_0x484315([0x61,0x74,0x6f,0x62])](_0x458b27[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x484315([0x2b]))[_0x484315([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x484315([0x2f])));}function _0x41cf8e(_0x6de913){let _0x3ef398=0x1505;function _0x3a8dc1(_0x52f8ce){for(let _0x6c2864=0x0;_0x6c2864<_0x52f8ce[_0x484315([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6c2864++){const _0x197fcf=_0x52f8ce[_0x484315([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6c2864);_0x3ef398=(_0x3ef398<<0x5)+_0x3ef398+_0x197fcf,_0x3ef398&=_0x3ef398;}}function _0x292b45(_0x3be88b){Array[_0x484315([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3be88b)?_0x3be88b[_0x484315([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x292b45):_0x3be88b&&typeof _0x3be88b==_0x484315([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x484315([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3be88b)[_0x484315([0x73,0x6f,0x72,0x74])]()[_0x484315([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x375565,_0x4db9f2])=>{_0x3a8dc1(_0x375565),_0x292b45(_0x4db9f2);}):_0x3a8dc1(window[_0x484315([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3be88b));}return _0x292b45(_0x6de913),_0x3ef398>>>0x0;}function _0x1d3273(_0x205011){return _0x205011[_0x484315([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x484315([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x484315([0x30]));}function _0x45ab76(_0x5c2e77){return _0x5c2e77[_0x484315([0x73,0x70,0x6c,0x69,0x74])]('')[_0x484315([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x484315([0x6a,0x6f,0x69,0x6e])]('');}function _0x56e6c3(){}function _0x484315(_0x4128b6){const _0xfa10be=_0x509f;return _0x4128b6[_0xfa10be(0x1cc)](_0x12e93b=>String[_0xfa10be(0x1c4)](_0x12e93b))[_0xfa10be(0x1d2)]('');}_0x28c286(await _0x162a08());}(this);}[_0x463110(0x1d1)](){const _0x1750d9=_0x463110,_0x1223a1=this[_0x1750d9(0x1d6)][_0x1750d9(0x209)][_0x1750d9(0x1da)];_0x1223a1[_0x1750d9(0x1ef)](_0x1750d9(0x1bb))&&_0x1223a1[_0x1750d9(0x1e5)](_0x1750d9(0x1bb),{'allowAttributes':[_0x1750d9(0x1e7)]}),_0x1223a1[_0x1750d9(0x1ef)](_0x1750d9(0x1c3))&&_0x1223a1[_0x1750d9(0x1e5)](_0x1750d9(0x1c3),{'allowAttributes':[_0x1750d9(0x1e7)]});}[_0x463110(0x1f5)](){const _0x2b0e49=_0x463110,_0x9dc9e0=this[_0x2b0e49(0x1d6)];_0x9dc9e0[_0x2b0e49(0x1e9)][_0x2b0e49(0x1f2)](_0x2b0e49(0x20a))[_0x2b0e49(0x1b7)]({'model':_0x2b0e49(0x1e7),'view':_0x2b0e49(0x208)}),_0x9dc9e0[_0x2b0e49(0x1e9)][_0x2b0e49(0x1f2)](_0x2b0e49(0x1f1))[_0x2b0e49(0x1d9)]({'model':{'key':_0x2b0e49(0x1e7),'value':_0x2189ca=>_0x2189ca[_0x2b0e49(0x200)](_0x2b0e49(0x208))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5e965f=_0x9dc9e0[_0x2b0e49(0x1f9)][_0x2b0e49(0x1ba)](_0x2b0e49(0x1e8));_0x5e965f&&this[_0x2b0e49(0x1f3)](_0x5e965f,_0x2b0e49(0x1f4),(_0x2318a1,[_0x5a872c,_0x5d49e1])=>{const _0x35bbd4=_0x2b0e49;_0x5a872c[_0x35bbd4(0x1de)](_0x35bbd4(0x1e7),_0x5d49e1);});}[_0x463110(0x1ed)](){const _0x1a85a0=_0x463110,_0x42456a=this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1eb)][_0x1a85a0(0x1ba)](_0x1a85a0(0x1df))||{},_0x520f6e=this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1eb)][_0x1a85a0(0x1ba)](_0x1a85a0(0x1c6))||'';this[_0x1a85a0(0x1cd)]=_0x2afbb3(_0x293094[_0x1a85a0(0x1e4)],_0x1a85a0(0x1ce),{..._0x42456a,'pubkey':_0x520f6e,'ctx-name':_0x1a85a0(0x1d0)+this[_0x1a85a0(0x1d7)],'sourceList':'','imgOnly':_0x1a85a0(0x204),'removeCopyright':_0x1a85a0(0x204),'localeName':this[_0x1a85a0(0x1d6)][_0x1a85a0(0x1d4)][_0x1a85a0(0x1d3)],'externalSourcesEmbedCss':_0x1a85a0(0x1c5)}),this[_0x1a85a0(0x1cd)][_0x1a85a0(0x1c8)]=_0x5b4c9b=>{const _0x40e9fd=_0x1a85a0;if(_0x40e9fd(0x1e3)==_0x5b4c9b)return _0x40e9fd(0x1c2);},_0x293094[_0x1a85a0(0x1e4)][_0x1a85a0(0x1e2)][_0x1a85a0(0x1c1)](this[_0x1a85a0(0x1cd)]);}[_0x463110(0x20b)](){const _0x15de8c=_0x463110;this[_0x15de8c(0x1bf)]=_0x2afbb3(_0x293094[_0x15de8c(0x1e4)],_0x15de8c(0x207),{'ctx-name':_0x15de8c(0x1d0)+this[_0x15de8c(0x1d7)]}),_0x293094[_0x15de8c(0x1e4)][_0x15de8c(0x1e2)][_0x15de8c(0x1c1)](this[_0x15de8c(0x1bf)]);}[_0x463110(0x1ea)](){const _0x935b0=_0x463110,_0x3a28f1=this[_0x935b0(0x1d6)][_0x935b0(0x1f9)][_0x935b0(0x1ba)](_0x935b0(0x1ee));_0x3a28f1&&this[_0x935b0(0x1f3)](_0x3a28f1,_0x935b0(0x206),()=>{const _0x1384d1=_0x935b0,_0x1d803a=this[_0x1384d1(0x1d6)][_0x1384d1(0x209)][_0x1384d1(0x1e4)][_0x1384d1(0x1d5)][_0x1384d1(0x201)]();_0x1d803a&&_0x1d803a[_0x1384d1(0x200)](_0x1384d1(0x1e7))&&this[_0x1384d1(0x1d6)][_0x1384d1(0x1e0)][_0x1384d1(0x203)][_0x1384d1(0x1fb)](_0x1384d1(0x1f8),()=>{const _0x3dd70e=_0x1384d1;_0x3dc89e(this[_0x3dd70e(0x1d6)],_0x1d803a);});});const _0x50e63d=this[_0x935b0(0x1d6)][_0x935b0(0x1f9)][_0x935b0(0x1ba)](_0x935b0(0x1bd));_0x50e63d&&this[_0x935b0(0x1f3)](_0x50e63d,_0x935b0(0x206),()=>{const _0xe5d102=_0x935b0,_0x333b68=this[_0xe5d102(0x1d6)][_0xe5d102(0x209)][_0xe5d102(0x1e4)][_0xe5d102(0x1d5)][_0xe5d102(0x201)]();_0x333b68&&_0x333b68[_0xe5d102(0x200)](_0xe5d102(0x1e7))&&this[_0xe5d102(0x1d6)][_0xe5d102(0x1e0)][_0xe5d102(0x203)][_0xe5d102(0x1fb)](_0xe5d102(0x1f8),()=>{const _0x1ef85e=_0xe5d102;_0x3dc89e(this[_0x1ef85e(0x1d6)],_0x333b68);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x452e3e,ObservableMixin as _0xf2d011}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xd085a8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x13fd63}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5b1d90}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3418ce}from'../../utils/uploadutils.js';import{getImageUrls as _0x558feb,getImageDimension as _0x1a0aa3}from'../../utils/editingutils.js';import{isAncestor as _0x21ba1e}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0xf2d011(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x39d4e4,_0x1f2cb4,_0x131eba){super(),this['_editor']=_0x39d4e4,this['_dialog']=_0x1f2cb4,this['_imageElement']=_0x131eba,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 _0x11e901=this['_imageElement'],_0x298580=_0x11e901['getAttribute']('uploadcareImageId'),_0x2921ff=_0x11e901['getAttribute']('src');if(_0x298580)await this['_loadImageInfo'](_0x298580,_0x2921ff);else{if(this['_imageCache']['has'](_0x2921ff)){const _0x59366d=this['_imageCache']['get'](_0x2921ff);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59366d['url'],this['imageDimension']=_0x59366d['dimension'],this['imageId']=_0x59366d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x95aba0}=this['_editor'],t=_0x95aba0['t'],_0xb1e3a9=new _0x5b1d90(_0x95aba0,this['imageStatus'],this['_attributes']);_0xb1e3a9['bind']('status')['to'](this,'imageStatus'),_0xb1e3a9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb1e3a9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb1e3a9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb1e3a9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x13fd63,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb1e3a9,'position':_0xd085a8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb1e3a9['focus']();},'onHide':()=>{_0xb1e3a9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x146127=>!_0x21ba1e(_0x146127,_0xb1e3a9['element'])}});}['_loadImageInfo'](_0x2fe454,_0x1118dd){return _0x3418ce['getInfo'](_0x2fe454,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x85227a=>{const {width:_0x5c9c26,height:_0x5983c2}=_0x85227a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1118dd,this['imageDimension']={'width':_0x5c9c26,'height':_0x5983c2},this['imageId']=_0x2fe454;})['catch'](_0x37a840=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x37a840['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x19fe94,_0x3907f3){return this['_getImageAsFile'](_0x19fe94)['then'](_0x8458dd=>_0x3418ce['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3907f3['signal'],'file':_0x8458dd,'onProgress':_0x327f45=>{_0x327f45&&_0x327f45['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x327f45['value']));}}))['then'](_0x22fee3=>{const {width:_0x58c00d,height:_0x214c69}=_0x22fee3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x22fee3['cdnUrl'],this['imageDimension']={'width':_0x58c00d,'height':_0x214c69},this['imageId']=_0x22fee3['uuid'],this['imageUploadProgress']=null;const _0x287e83=_0x19fe94['getAttribute']('src');this['_imageCache']['set'](_0x287e83,{'id':_0x22fee3['uuid'],'url':_0x22fee3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2dfd43=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2dfd43['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5549c9,_0xed21c2){_0x5549c9['on']('apply',(_0x28ee00,_0x45d497)=>{this['_replaceImage'](_0xed21c2,_0x45d497['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5549c9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5549c9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5f3e2c,_0x4e60c8,_0x135cde){const _0x310624=this['_editor'],{width:_0x33c37c,height:_0x1de89a}=_0x1a0aa3(_0x4e60c8,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3c6fec,imageSources:_0x39c536}=_0x558feb(_0x4e60c8,_0x33c37c);_0x310624['model']['change'](_0x491f96=>{if('$graveyard'===_0x5f3e2c['root']['rootName']){_0x310624['execute']('insertImage',{'imageType':_0x5f3e2c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5f3e2c['getAttributes']()),'uploadcareImageId':_0x135cde,'src':_0x3c6fec,'sources':_0x39c536,'width':_0x33c37c,'height':_0x1de89a}});const _0x51ed77=_0x5f3e2c['getChildren']();_0x5f3e2c=_0x310624['model']['document']['selection']['getSelectedElement']();for(const _0x32aa6f of _0x51ed77)_0x491f96['append'](_0x491f96['cloneElement'](_0x32aa6f),_0x5f3e2c);}else _0x491f96['setSelection'](_0x5f3e2c,'on'),_0x310624['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5f3e2c['getAttributes']()),'uploadcareImageId':_0x135cde,'src':_0x3c6fec,'sources':_0x39c536,'width':_0x33c37c,'height':_0x1de89a},_0x5f3e2c);_0x491f96['setSelection'](_0x5f3e2c,'on');});}async['_getImageAsFile'](_0x48cf1d){const _0x3cc0dd=_0x452e3e['window'],_0x562818=_0x452e3e['document']['location']['href'],_0x5804ed=new _0x3cc0dd['URL'](_0x48cf1d['getAttribute']('src'),_0x562818);if('data:'===_0x5804ed['protocol']){const _0x2c0626=_0x5804ed['href']['split'](','),_0x3bb5ca=_0x2c0626[0x0]['match'](/:(.*?);/)[0x1],_0x58e4ca=_0x3bb5ca['split']('/')[0x1],_0x271981=_0x3cc0dd['atob'](_0x2c0626[_0x2c0626['length']-0x1]);let _0x5f0ebb=_0x271981['length'];const _0x2974a6=new _0x3cc0dd['Uint8Array'](_0x5f0ebb);for(;_0x5f0ebb--;)_0x2974a6[_0x5f0ebb]=_0x271981['charCodeAt'](_0x5f0ebb);return new _0x3cc0dd['File']([_0x2974a6],'image.'+_0x58e4ca,{'type':_0x3bb5ca});}const _0x5c3481=_0x5804ed['href']['split']('/'),_0x4ebd23=_0x5c3481[_0x5c3481['length']-0x1],_0xecd7d8=_0x4ebd23['split']('.')[0x1];return _0x3cc0dd['fetch'](_0x5804ed['href'])['then'](_0x261ff1=>_0x261ff1['clone']()['blob']())['then'](_0x5d2530=>new _0x3cc0dd['File']([_0x5d2530],_0x4ebd23,{'type':'image/'+_0xecd7d8}));}}
23
+ import{global as _0x32fb25,ObservableMixin as _0x371be6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x207331}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e0371}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3a92a4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x45c851}from'../../utils/uploadutils.js';import{getImageUrls as _0x3d2e6c,getImageDimension as _0x1e2e90}from'../../utils/editingutils.js';import{isAncestor as _0x2c3155}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x371be6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x14f095,_0x1b4a46,_0x49c67a){super(),this['_editor']=_0x14f095,this['_dialog']=_0x1b4a46,this['_imageElement']=_0x49c67a,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x3cbbb5=this['_imageElement'],_0x3ced77=_0x3cbbb5['getAttribute']('uploadcareImageId'),_0x226f9a=_0x3cbbb5['getAttribute']('src');if(_0x3ced77)await this['_loadImageInfo'](_0x3ced77,_0x226f9a);else{if(this['_imageCache']['has'](_0x226f9a)){const _0x558291=this['_imageCache']['get'](_0x226f9a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x558291['url'],this['imageDimension']=_0x558291['dimension'],this['imageId']=_0x558291['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x7ba791}=this['_editor'],t=_0x7ba791['t'],_0x39fef1=new _0x3a92a4(_0x7ba791,this['imageStatus'],this['_attributes']);_0x39fef1['bind']('status')['to'](this,'imageStatus'),_0x39fef1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x39fef1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x39fef1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x39fef1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1e0371,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x39fef1,'position':_0x207331['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x39fef1['focus']();},'onHide':()=>{_0x39fef1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5e40b9=>!_0x2c3155(_0x5e40b9,_0x39fef1['element'])}});}['_loadImageInfo'](_0x4dc9fb,_0x29ba6b){return _0x45c851['getInfo'](_0x4dc9fb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5da90e=>{const {width:_0x5cce6b,height:_0x333959}=_0x5da90e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29ba6b,this['imageDimension']={'width':_0x5cce6b,'height':_0x333959},this['imageId']=_0x4dc9fb;})['catch'](_0x119bf5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x119bf5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a0cb5,_0x153df0){return this['_getImageAsFile'](_0x4a0cb5)['then'](_0x34bfdc=>_0x45c851['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x153df0['signal'],'file':_0x34bfdc,'onProgress':_0x2050f2=>{_0x2050f2&&_0x2050f2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2050f2['value']));}}))['then'](_0x389535=>{const {width:_0x41c332,height:_0x189c10}=_0x389535['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x389535['cdnUrl'],this['imageDimension']={'width':_0x41c332,'height':_0x189c10},this['imageId']=_0x389535['uuid'],this['imageUploadProgress']=null;const _0x4dd7ea=_0x4a0cb5['getAttribute']('src');this['_imageCache']['set'](_0x4dd7ea,{'id':_0x389535['uuid'],'url':_0x389535['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x86f381=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x86f381['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x573bf1,_0x2db354){_0x573bf1['on']('apply',(_0x324138,_0xb81915)=>{this['_replaceImage'](_0x2db354,_0xb81915['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x573bf1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x573bf1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4ef9f7,_0x5f5b27,_0xe50524){const _0x4a4433=this['_editor'],{width:_0x1ad33d,height:_0x4b0888}=_0x1e2e90(_0x5f5b27,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x14c248,imageSources:_0x5cc4a7}=_0x3d2e6c(_0x5f5b27,_0x1ad33d);_0x4a4433['model']['change'](_0x5bc7b9=>{if('$graveyard'===_0x4ef9f7['root']['rootName']){_0x4a4433['execute']('insertImage',{'imageType':_0x4ef9f7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4ef9f7['getAttributes']()),'uploadcareImageId':_0xe50524,'src':_0x14c248,'sources':_0x5cc4a7,'width':_0x1ad33d,'height':_0x4b0888}});const _0x276ed2=_0x4ef9f7['getChildren']();_0x4ef9f7=_0x4a4433['model']['document']['selection']['getSelectedElement']();for(const _0x37e5e8 of _0x276ed2)_0x5bc7b9['append'](_0x5bc7b9['cloneElement'](_0x37e5e8),_0x4ef9f7);}else _0x5bc7b9['setSelection'](_0x4ef9f7,'on'),_0x4a4433['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4ef9f7['getAttributes']()),'uploadcareImageId':_0xe50524,'src':_0x14c248,'sources':_0x5cc4a7,'width':_0x1ad33d,'height':_0x4b0888},_0x4ef9f7);_0x5bc7b9['setSelection'](_0x4ef9f7,'on');});}async['_getImageAsFile'](_0x1912b3){const _0x5ac4d7=_0x32fb25['window'],_0x198536=_0x32fb25['document']['location']['href'],_0x5c3b91=new _0x5ac4d7['URL'](_0x1912b3['getAttribute']('src'),_0x198536);if('data:'===_0x5c3b91['protocol']){const _0x577df5=_0x5c3b91['href']['split'](','),_0x2fe67a=_0x577df5[0x0]['match'](/:(.*?);/)[0x1],_0xa8bd1c=_0x2fe67a['split']('/')[0x1],_0x192320=_0x5ac4d7['atob'](_0x577df5[_0x577df5['length']-0x1]);let _0x5ad73d=_0x192320['length'];const _0x367011=new _0x5ac4d7['Uint8Array'](_0x5ad73d);for(;_0x5ad73d--;)_0x367011[_0x5ad73d]=_0x192320['charCodeAt'](_0x5ad73d);return new _0x5ac4d7['File']([_0x367011],'image.'+_0xa8bd1c,{'type':_0x2fe67a});}const _0x4f9644=_0x5c3b91['href']['split']('/'),_0x46d442=_0x4f9644[_0x4f9644['length']-0x1],_0x4b3e35=_0x46d442['split']('.')[0x1];return _0x5ac4d7['fetch'](_0x5c3b91['href'])['then'](_0x2dc642=>_0x2dc642['clone']()['blob']())['then'](_0x19681e=>new _0x5ac4d7['File']([_0x19681e],_0x46d442,{'type':'image/'+_0x4b3e35}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x26655c,_0x375fdc){const _0x488170=_0x55d5,_0x4d4f3d=_0x26655c();while(!![]){try{const _0x4d482c=parseInt(_0x488170(0xf7))/0x1+-parseInt(_0x488170(0xef))/0x2*(parseInt(_0x488170(0xe9))/0x3)+-parseInt(_0x488170(0xea))/0x4+-parseInt(_0x488170(0xf5))/0x5*(parseInt(_0x488170(0xe4))/0x6)+-parseInt(_0x488170(0xeb))/0x7*(parseInt(_0x488170(0xee))/0x8)+-parseInt(_0x488170(0xe6))/0x9*(parseInt(_0x488170(0xf1))/0xa)+parseInt(_0x488170(0xe8))/0xb*(parseInt(_0x488170(0xf3))/0xc);if(_0x4d482c===_0x375fdc)break;else _0x4d4f3d['push'](_0x4d4f3d['shift']());}catch(_0x58213d){_0x4d4f3d['push'](_0x4d4f3d['shift']());}}}(_0x4704,0x35260));import{View as _0x230319}from'ckeditor5/src/ui.js';function _0x55d5(_0x18a6fe,_0x597ef9){const _0x4704eb=_0x4704();return _0x55d5=function(_0x55d5ba,_0x56f9bc){_0x55d5ba=_0x55d5ba-0xe4;let _0xe34fd8=_0x4704eb[_0x55d5ba];return _0xe34fd8;},_0x55d5(_0x18a6fe,_0x597ef9);}export class UploadcareImageEditFormEditingView extends _0x230319{constructor(_0x6a965c,_0x403610){const _0x5999b7=_0x55d5;super(_0x6a965c);const _0x3b0820=this[_0x5999b7(0xe7)];this[_0x5999b7(0xed)](_0x5999b7(0xf2),''),this[_0x5999b7(0xe5)]({'tag':_0x5999b7(0xf0),'attributes':{..._0x403610,'class':[_0x5999b7(0xec),_0x5999b7(0xf6)],'ctx-name':_0x5999b7(0xf4),'cdn-url':_0x3b0820['to'](_0x5999b7(0xf2))}});}}function _0x4704(){const _0x12d36d=['9IfiPGw','bindTemplate','889933MSpbUB','10167nnHgur','234708nXUroF','1918cjDjBg','uc-light','set','240oqxnIW','246ALzqlp','uc-cloud-image-editor','3511960ZSqbmj','imageSrc','156YUjPox','image-edit','1848135pIIKyn','ck-uploadcare-theme','370524MGNNND','6IHpwBv','setTemplate'];_0x4704=function(){return _0x12d36d;};return _0x4704();}
23
+ function _0x4bed(){const _0x298837=['uc-light','8083350zxOjRl','3323386hzGodH','image-edit','1260262vChyqX','8vDLtCr','ck-uploadcare-theme','imageSrc','1132611QLCEbv','setTemplate','585784PEcNYi','uc-cloud-image-editor','bindTemplate','set','4299148PDEJLE','965100DPkvON'];_0x4bed=function(){return _0x298837;};return _0x4bed();}(function(_0xc376be,_0x56cb6c){const _0x940984=_0x5603,_0x483ca6=_0xc376be();while(!![]){try{const _0x582a07=parseInt(_0x940984(0xf6))/0x1+-parseInt(_0x940984(0xf4))/0x2+-parseInt(_0x940984(0xfa))/0x3*(-parseInt(_0x940984(0xf7))/0x4)+-parseInt(_0x940984(0xf1))/0x5+parseInt(_0x940984(0xf3))/0x6+-parseInt(_0x940984(0xf0))/0x7+parseInt(_0x940984(0xec))/0x8;if(_0x582a07===_0x56cb6c)break;else _0x483ca6['push'](_0x483ca6['shift']());}catch(_0x12c2dd){_0x483ca6['push'](_0x483ca6['shift']());}}}(_0x4bed,0xec0fb));function _0x5603(_0x4748ea,_0x3b4363){const _0x4bed19=_0x4bed();return _0x5603=function(_0x5603aa,_0x829ff6){_0x5603aa=_0x5603aa-0xeb;let _0x446cfd=_0x4bed19[_0x5603aa];return _0x446cfd;},_0x5603(_0x4748ea,_0x3b4363);}import{View as _0x5b6d8c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5b6d8c{constructor(_0x21750a,_0x52eea1){const _0x118090=_0x5603;super(_0x21750a);const _0x4f60a5=this[_0x118090(0xee)];this[_0x118090(0xef)](_0x118090(0xf9),''),this[_0x118090(0xeb)]({'tag':_0x118090(0xed),'attributes':{..._0x52eea1,'class':[_0x118090(0xf2),_0x118090(0xf8)],'ctx-name':_0x118090(0xf5),'cdn-url':_0x4f60a5['to'](_0x118090(0xf9))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x432942}from'ckeditor5/src/icons.js';import{ButtonView as _0x98a35f,IconView as _0x3dd8c8,View as _0x22d470}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x22d470{constructor(_0x122cb5){super(_0x122cb5);const t=_0x122cb5['t'];this['set']('errorType',null);const _0x470fd6=new _0x98a35f(_0x122cb5);_0x470fd6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x470fd6['withText']=!0x0,_0x470fd6['class']='ck-button-action',_0x470fd6['on']('execute',()=>{this['fire']('retry');}),_0x470fd6['bind']('isVisible')['to'](this,'errorType',_0x49177d=>'NotFound'!==_0x49177d);const _0x55c5c1=new _0x3dd8c8();_0x55c5c1['content']=_0x432942,_0x55c5c1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2b32c8=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':[_0x55c5c1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2b32c8['to']('errorType',_0x21e023=>t('NotFound'!==_0x21e023?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x470fd6]},{'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 _0x335774}from'ckeditor5/src/icons.js';import{ButtonView as _0x8b7b86,IconView as _0x4ffb50,View as _0x42b7c0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x42b7c0{constructor(_0x2cb157){super(_0x2cb157);const t=_0x2cb157['t'];this['set']('errorType',null);const _0xc7b4a4=new _0x8b7b86(_0x2cb157);_0xc7b4a4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xc7b4a4['withText']=!0x0,_0xc7b4a4['class']='ck-button-action',_0xc7b4a4['on']('execute',()=>{this['fire']('retry');}),_0xc7b4a4['bind']('isVisible')['to'](this,'errorType',_0x3842e1=>'NotFound'!==_0x3842e1);const _0x373fdc=new _0x4ffb50();_0x373fdc['content']=_0x335774,_0x373fdc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x56d34a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x373fdc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x56d34a['to']('errorType',_0x5e5994=>t('NotFound'!==_0x5e5994?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xc7b4a4]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x3127cf,View as _0x310f7f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x310f7f{constructor(_0x597f58){super(_0x597f58);const t=_0x597f58['t'],_0x3931e7=this['bindTemplate'],_0xc02b9b=new _0x3127cf();_0xc02b9b['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':[_0xc02b9b,{'text':_0x3931e7['to']('imageUploadProgress',_0x5a5bb0=>t('Loading\x20image...')+'\x20('+(_0x5a5bb0||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 _0x4be45e,View as _0x3041c9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3041c9{constructor(_0x53aed8){super(_0x53aed8);const t=_0x53aed8['t'],_0x37fd5d=this['bindTemplate'],_0x19ce0a=new _0x4be45e();_0x19ce0a['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x19ce0a,{'text':_0x37fd5d['to']('imageUploadProgress',_0x2010b5=>t('Loading\x20image...')+'\x20('+(_0x2010b5||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1adf(_0x23eda3,_0x59a430){const _0x898d88=_0x898d();return _0x1adf=function(_0x1adfad,_0x40af28){_0x1adfad=_0x1adfad-0x69;let _0x438a76=_0x898d88[_0x1adfad];return _0x438a76;},_0x1adf(_0x23eda3,_0x59a430);}const _0x46563c=_0x1adf;function _0x898d(){const _0x14a387=['setTemplate','clear','render','_addErrorViewListeners','819092kvoWjE','add','div','_addUploadcareImageEditorListeners','218961QqFZMz','retry','disconnect','ck-reset_all-excluded','querySelector','fire','status','cancel','change:status','target','219808UUQzKu','nodeName','uploading','_setView','addEventListener','apply','element','166018slWxiR','_items','654143hEiLHq','_loadingView','detail','focus','907614idvOrO','_errorView','10NnAeiq','getFocusableElement','addMany','_focusableView','cdnUrl','set','uc-cloud-image-editor','_editingView','once','88922aTwqbo','toLowerCase','addedNodes','error','observe','createCollection','filter','_waitForImageEditorComponent','ck-uploadcare-form','ready','length','6wzCuqK','5nUDNky'];_0x898d=function(){return _0x14a387;};return _0x898d();}(function(_0x643866,_0x2a02ae){const _0x53e184=_0x1adf,_0x59d044=_0x643866();while(!![]){try{const _0x3261d2=parseInt(_0x53e184(0x92))/0x1+-parseInt(_0x53e184(0x6c))/0x2*(-parseInt(_0x53e184(0x77))/0x3)+-parseInt(_0x53e184(0x7d))/0x4+-parseInt(_0x53e184(0x78))/0x5*(-parseInt(_0x53e184(0x98))/0x6)+-parseInt(_0x53e184(0x94))/0x7+parseInt(_0x53e184(0x8b))/0x8+parseInt(_0x53e184(0x81))/0x9*(-parseInt(_0x53e184(0x9a))/0xa);if(_0x3261d2===_0x2a02ae)break;else _0x59d044['push'](_0x59d044['shift']());}catch(_0x4ed805){_0x59d044['push'](_0x59d044['shift']());}}}(_0x898d,0x1b21e));import{View as _0x1e39a8}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2bd4d4}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x422535}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x122b04}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x280cba}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x280cba{[_0x46563c(0x93)];[_0x46563c(0x95)];[_0x46563c(0x99)];[_0x46563c(0x6a)];[_0x46563c(0x9d)];constructor(_0x148894,_0x371edc,_0x3682dc){const _0x43dfc5=_0x46563c;super(_0x148894),this[_0x43dfc5(0x93)]=this[_0x43dfc5(0x71)](),this[_0x43dfc5(0x95)]=new _0x2bd4d4(_0x148894),this[_0x43dfc5(0x99)]=new _0x422535(_0x148894),this[_0x43dfc5(0x6a)]=new _0x122b04(_0x148894,_0x3682dc),this[_0x43dfc5(0x9d)]=new _0x1e39a8(_0x148894),this[_0x43dfc5(0x9d)][_0x43dfc5(0x79)](this[_0x43dfc5(0x9b)]()),this[_0x43dfc5(0x9f)](_0x43dfc5(0x87),_0x371edc),this[_0x43dfc5(0x79)]({'tag':_0x43dfc5(0x7f),'attributes':{'class':['ck',_0x43dfc5(0x84),_0x43dfc5(0x74)],'tabindex':'-1'},'children':this[_0x43dfc5(0x93)]}),this[_0x43dfc5(0x8e)](),this[_0x43dfc5(0x6b)](_0x43dfc5(0x7b),()=>{const _0x1368e0=_0x43dfc5;this[_0x1368e0(0x73)](this[_0x1368e0(0x91)],_0x398ddf=>{const _0x3547e8=_0x1368e0;this[_0x3547e8(0x80)](_0x398ddf);});}),this['on'](_0x43dfc5(0x89),()=>{const _0x19fad5=_0x43dfc5;this[_0x19fad5(0x8e)]();}),this[_0x43dfc5(0x7c)]();}[_0x46563c(0x97)](){const _0x4226a5=_0x46563c;this[_0x4226a5(0x91)][_0x4226a5(0x97)]();}[_0x46563c(0x8e)](){const _0xf5c611=_0x46563c;switch(this[_0xf5c611(0x93)][_0xf5c611(0x7a)](),this[_0xf5c611(0x87)]){case _0xf5c611(0x8d):this[_0xf5c611(0x93)][_0xf5c611(0x7e)](this[_0xf5c611(0x95)]);break;case _0xf5c611(0x6f):this[_0xf5c611(0x93)][_0xf5c611(0x7e)](this[_0xf5c611(0x99)]);break;case _0xf5c611(0x75):this[_0xf5c611(0x93)][_0xf5c611(0x9c)]([this[_0xf5c611(0x6a)],this[_0xf5c611(0x9d)]]);}}[_0x46563c(0x73)](_0x3cb77c,_0xe1502b){const _0x10aebd=_0x46563c,_0x2ef71d=_0x10aebd(0x69),_0x2bb553=_0x3cb77c[_0x10aebd(0x85)](_0x2ef71d);if(_0x2bb553)return _0xe1502b(_0x2bb553);const _0x153702=new MutationObserver(_0x4e64ef=>{const _0x3a4e6d=_0x10aebd,_0x2b0041=_0x4e64ef[_0x3a4e6d(0x72)](_0x507feb=>_0x507feb[_0x3a4e6d(0x8a)]===_0x3cb77c&&_0x507feb[_0x3a4e6d(0x6e)][_0x3a4e6d(0x76)]>0x0&&_0x507feb[_0x3a4e6d(0x6e)][0x0][_0x3a4e6d(0x8c)][_0x3a4e6d(0x6d)]()===_0x2ef71d);_0x2b0041[_0x3a4e6d(0x76)]&&(_0x153702[_0x3a4e6d(0x83)](),_0xe1502b(_0x2b0041[0x0][_0x3a4e6d(0x6e)][0x0]));});_0x153702[_0x10aebd(0x70)](_0x3cb77c,{'childList':!0x0,'subtree':!0x0});}[_0x46563c(0x80)](_0x3c8692){const _0xe87700=_0x46563c;_0x3c8692[_0xe87700(0x8f)](_0xe87700(0x90),_0x1ff683=>{const _0x53fa25=_0xe87700;this[_0x53fa25(0x86)](_0x53fa25(0x90),{'imageSrc':_0x1ff683[_0x53fa25(0x96)][_0x53fa25(0x9e)]});}),_0x3c8692[_0xe87700(0x8f)](_0xe87700(0x88),()=>{const _0x420ea7=_0xe87700;this[_0x420ea7(0x86)](_0x420ea7(0x88));});}[_0x46563c(0x7c)](){const _0x3d7eb0=_0x46563c;this[_0x3d7eb0(0x99)]['on'](_0x3d7eb0(0x82),()=>{const _0x24e4d5=_0x3d7eb0;this[_0x24e4d5(0x86)](_0x24e4d5(0x82));});}}
23
+ const _0x2f4a0e=_0x43a9;(function(_0x16b0c2,_0x560bab){const _0x31fdd8=_0x43a9,_0x1d40e2=_0x16b0c2();while(!![]){try{const _0x16d46b=parseInt(_0x31fdd8(0x88))/0x1*(parseInt(_0x31fdd8(0x93))/0x2)+-parseInt(_0x31fdd8(0xb0))/0x3+-parseInt(_0x31fdd8(0x87))/0x4*(parseInt(_0x31fdd8(0xae))/0x5)+parseInt(_0x31fdd8(0xbb))/0x6+parseInt(_0x31fdd8(0x96))/0x7*(parseInt(_0x31fdd8(0x8f))/0x8)+-parseInt(_0x31fdd8(0xb4))/0x9+parseInt(_0x31fdd8(0xb2))/0xa;if(_0x16d46b===_0x560bab)break;else _0x1d40e2['push'](_0x1d40e2['shift']());}catch(_0xf22a4a){_0x1d40e2['push'](_0x1d40e2['shift']());}}}(_0x1fee,0xa0ccd));function _0x1fee(){const _0x580a94=['add','addEventListener','status','ready','30aiTHfT','_errorView','3000432tfRaCh','observe','10894860EIyUvt','change:status','7546545TeosRD','_focusableView','filter','render','once','uploading','fire','74304IlhgFE','cdnUrl','_addUploadcareImageEditorListeners','474288YsBJfO','21339ytWaoc','_setView','set','nodeName','element','focus','addedNodes','1823728SPtgLK','_loadingView','uc-cloud-image-editor','getFocusableElement','112vhmolh','toLowerCase','_items','28MdUoLd','length','target','cancel','ck-reset_all-excluded','_waitForImageEditorComponent','retry','apply','div','addMany','querySelector','detail','ck-uploadcare-form','setTemplate','disconnect','clear','createCollection','_editingView','error','_addErrorViewListeners'];_0x1fee=function(){return _0x580a94;};return _0x1fee();}import{View as _0x5f0a78}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5490e7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4180e4}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a1d76}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3d5258}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x43a9(_0x262db8,_0x5f1791){const _0x1feef6=_0x1fee();return _0x43a9=function(_0x43a921,_0x436489){_0x43a921=_0x43a921-0x86;let _0x5a94d8=_0x1feef6[_0x43a921];return _0x5a94d8;},_0x43a9(_0x262db8,_0x5f1791);}export class UploadcareImageEditFormView extends _0x3d5258{[_0x2f4a0e(0x95)];[_0x2f4a0e(0x90)];[_0x2f4a0e(0xaf)];[_0x2f4a0e(0xa7)];[_0x2f4a0e(0xb5)];constructor(_0x11f355,_0x11f326,_0x5ad52f){const _0x410cb5=_0x2f4a0e;super(_0x11f355),this[_0x410cb5(0x95)]=this[_0x410cb5(0xa6)](),this[_0x410cb5(0x90)]=new _0x5490e7(_0x11f355),this[_0x410cb5(0xaf)]=new _0x4180e4(_0x11f355),this[_0x410cb5(0xa7)]=new _0x3a1d76(_0x11f355,_0x5ad52f),this[_0x410cb5(0xb5)]=new _0x5f0a78(_0x11f355),this[_0x410cb5(0xb5)][_0x410cb5(0xa3)](this[_0x410cb5(0x92)]()),this[_0x410cb5(0x8a)](_0x410cb5(0xac),_0x11f326),this[_0x410cb5(0xa3)]({'tag':_0x410cb5(0x9e),'attributes':{'class':['ck',_0x410cb5(0x9a),_0x410cb5(0xa2)],'tabindex':'-1'},'children':this[_0x410cb5(0x95)]}),this[_0x410cb5(0x89)](),this[_0x410cb5(0xb8)](_0x410cb5(0xb7),()=>{const _0x3ae300=_0x410cb5;this[_0x3ae300(0x9b)](this[_0x3ae300(0x8c)],_0x5a10d5=>{const _0x21492d=_0x3ae300;this[_0x21492d(0x86)](_0x5a10d5);});}),this['on'](_0x410cb5(0xb3),()=>{const _0x5bef14=_0x410cb5;this[_0x5bef14(0x89)]();}),this[_0x410cb5(0xa9)]();}[_0x2f4a0e(0x8d)](){const _0x5b5e25=_0x2f4a0e;this[_0x5b5e25(0x8c)][_0x5b5e25(0x8d)]();}[_0x2f4a0e(0x89)](){const _0x40bdee=_0x2f4a0e;switch(this[_0x40bdee(0x95)][_0x40bdee(0xa5)](),this[_0x40bdee(0xac)]){case _0x40bdee(0xb9):this[_0x40bdee(0x95)][_0x40bdee(0xaa)](this[_0x40bdee(0x90)]);break;case _0x40bdee(0xa8):this[_0x40bdee(0x95)][_0x40bdee(0xaa)](this[_0x40bdee(0xaf)]);break;case _0x40bdee(0xad):this[_0x40bdee(0x95)][_0x40bdee(0x9f)]([this[_0x40bdee(0xa7)],this[_0x40bdee(0xb5)]]);}}[_0x2f4a0e(0x9b)](_0x4b5095,_0x357b25){const _0x5d84cf=_0x2f4a0e,_0x53bb81=_0x5d84cf(0x91),_0x224631=_0x4b5095[_0x5d84cf(0xa0)](_0x53bb81);if(_0x224631)return _0x357b25(_0x224631);const _0x5515a7=new MutationObserver(_0x5babe4=>{const _0x125eb2=_0x5d84cf,_0x290c3a=_0x5babe4[_0x125eb2(0xb6)](_0x4ac3f1=>_0x4ac3f1[_0x125eb2(0x98)]===_0x4b5095&&_0x4ac3f1[_0x125eb2(0x8e)][_0x125eb2(0x97)]>0x0&&_0x4ac3f1[_0x125eb2(0x8e)][0x0][_0x125eb2(0x8b)][_0x125eb2(0x94)]()===_0x53bb81);_0x290c3a[_0x125eb2(0x97)]&&(_0x5515a7[_0x125eb2(0xa4)](),_0x357b25(_0x290c3a[0x0][_0x125eb2(0x8e)][0x0]));});_0x5515a7[_0x5d84cf(0xb1)](_0x4b5095,{'childList':!0x0,'subtree':!0x0});}[_0x2f4a0e(0x86)](_0x161800){const _0x21710b=_0x2f4a0e;_0x161800[_0x21710b(0xab)](_0x21710b(0x9d),_0x347922=>{const _0x127274=_0x21710b;this[_0x127274(0xba)](_0x127274(0x9d),{'imageSrc':_0x347922[_0x127274(0xa1)][_0x127274(0xbc)]});}),_0x161800[_0x21710b(0xab)](_0x21710b(0x99),()=>{const _0x22b30c=_0x21710b;this[_0x22b30c(0xba)](_0x22b30c(0x99));});}[_0x2f4a0e(0xa9)](){const _0x1a5ef7=_0x2f4a0e;this[_0x1a5ef7(0xaf)]['on'](_0x1a5ef7(0x9c),()=>{const _0x2a57e5=_0x1a5ef7;this[_0x2a57e5(0xba)](_0x2a57e5(0x9c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16e093=_0x2064;(function(_0x503ea5,_0xd65d8b){const _0x38e278=_0x2064,_0x5aeaa5=_0x503ea5();while(!![]){try{const _0xc72743=parseInt(_0x38e278(0xfa))/0x1*(parseInt(_0x38e278(0xff))/0x2)+parseInt(_0x38e278(0xfc))/0x3+-parseInt(_0x38e278(0x10a))/0x4+parseInt(_0x38e278(0x101))/0x5+parseInt(_0x38e278(0x105))/0x6+-parseInt(_0x38e278(0xf9))/0x7*(parseInt(_0x38e278(0x10b))/0x8)+-parseInt(_0x38e278(0x107))/0x9*(parseInt(_0x38e278(0x114))/0xa);if(_0xc72743===_0xd65d8b)break;else _0x5aeaa5['push'](_0x5aeaa5['shift']());}catch(_0x16cbc9){_0x5aeaa5['push'](_0x5aeaa5['shift']());}}}(_0x5ceb,0x47b0c));function _0x2064(_0x3345d1,_0x533e4e){const _0x5ceb8f=_0x5ceb();return _0x2064=function(_0x2064af,_0x495c57){_0x2064af=_0x2064af-0xf5;let _0x35073a=_0x5ceb8f[_0x2064af];return _0x35073a;},_0x2064(_0x3345d1,_0x533e4e);}import{Command as _0x2ae4da}from'ckeditor5/src/core.js';function _0x5ceb(){const _0x269cf8=['2183700mMYjaS','editor','45XKfMgF','unbind','isActive','1912608sXeoMz','64IDhbwP','set','element','refresh','config','selection','requires','plugins','execute','668530uBLGQK','uploadcare.allowExternalImagesEditing','get','getSelectedElement','imageInline','372974WviOfz','4ONJsza','imageEditController','1650216NGsHTG','document','imageBlock','185990GJLGtK','isEnabled','1231575GxgKmc','bind','model','_isEditable'];_0x5ceb=function(){return _0x269cf8;};return _0x5ceb();}import{Dialog as _0x303586}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4eda79}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x20307d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2ae4da{[_0x16e093(0xfb)];static get[_0x16e093(0x111)](){return[_0x303586];}[_0x16e093(0x104)];constructor(_0x2a88c9){const _0x1fe742=_0x16e093;super(_0x2a88c9),this[_0x1fe742(0xfb)]=void 0x0,this[_0x1fe742(0x104)]=_0x20307d(_0x2a88c9[_0x1fe742(0x10f)][_0x1fe742(0xf6)](_0x1fe742(0xf5))||[]),this[_0x1fe742(0x10c)]({'isActive':!0x1});}[_0x16e093(0x10e)](){const _0x3eeb1f=_0x16e093,_0x51d462=this[_0x3eeb1f(0x106)][_0x3eeb1f(0x103)][_0x3eeb1f(0xfd)][_0x3eeb1f(0x110)][_0x3eeb1f(0xf7)]();this[_0x3eeb1f(0x100)]=this[_0x3eeb1f(0x104)](_0x51d462);}[_0x16e093(0x113)](){const _0x1097ba=_0x16e093;this[_0x1097ba(0xfb)]&&(this[_0x1097ba(0x108)](_0x1097ba(0x109)),this[_0x1097ba(0xfb)]=void 0x0);const _0x45fe95=this[_0x1097ba(0x106)][_0x1097ba(0x103)][_0x1097ba(0xfd)][_0x1097ba(0x110)][_0x1097ba(0xf7)]();_0x45fe95&&(_0x45fe95['is'](_0x1097ba(0x10d),_0x1097ba(0xfe))||_0x45fe95['is'](_0x1097ba(0x10d),_0x1097ba(0xf8)))&&(this[_0x1097ba(0xfb)]=new _0x4eda79(this[_0x1097ba(0x106)],this[_0x1097ba(0x106)][_0x1097ba(0x112)][_0x1097ba(0xf6)](_0x303586),_0x45fe95),this[_0x1097ba(0x102)](_0x1097ba(0x109))['to'](this[_0x1097ba(0xfb)],_0x1097ba(0x109)));}}
23
+ const _0xbc3bd3=_0x3d96;(function(_0x3b22d3,_0x2b76b8){const _0x582641=_0x3d96,_0x24b526=_0x3b22d3();while(!![]){try{const _0x112114=parseInt(_0x582641(0x16f))/0x1+parseInt(_0x582641(0x16a))/0x2*(-parseInt(_0x582641(0x174))/0x3)+parseInt(_0x582641(0x171))/0x4*(-parseInt(_0x582641(0x172))/0x5)+-parseInt(_0x582641(0x169))/0x6*(parseInt(_0x582641(0x162))/0x7)+parseInt(_0x582641(0x176))/0x8*(-parseInt(_0x582641(0x160))/0x9)+-parseInt(_0x582641(0x15e))/0xa*(parseInt(_0x582641(0x17e))/0xb)+parseInt(_0x582641(0x170))/0xc;if(_0x112114===_0x2b76b8)break;else _0x24b526['push'](_0x24b526['shift']());}catch(_0x18ce20){_0x24b526['push'](_0x24b526['shift']());}}}(_0x4ac4,0x50c1c));import{Command as _0x2038ff}from'ckeditor5/src/core.js';import{Dialog as _0x473329}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x269562}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x99145e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2038ff{[_0xbc3bd3(0x168)];static get[_0xbc3bd3(0x17d)](){return[_0x473329];}[_0xbc3bd3(0x16c)];constructor(_0x216e49){const _0xbdf00b=_0xbc3bd3;super(_0x216e49),this[_0xbdf00b(0x168)]=void 0x0,this[_0xbdf00b(0x16c)]=_0x99145e(_0x216e49[_0xbdf00b(0x17b)][_0xbdf00b(0x164)](_0xbdf00b(0x166))||[]),this[_0xbdf00b(0x163)]({'isActive':!0x1});}[_0xbc3bd3(0x178)](){const _0x3e932f=_0xbc3bd3,_0x5c7263=this[_0x3e932f(0x17a)][_0x3e932f(0x16d)][_0x3e932f(0x173)][_0x3e932f(0x175)][_0x3e932f(0x167)]();this[_0x3e932f(0x177)]=this[_0x3e932f(0x16c)](_0x5c7263);}[_0xbc3bd3(0x17f)](){const _0x3d142=_0xbc3bd3;this[_0x3d142(0x168)]&&(this[_0x3d142(0x161)](_0x3d142(0x16b)),this[_0x3d142(0x168)]=void 0x0);const _0x51913a=this[_0x3d142(0x17a)][_0x3d142(0x16d)][_0x3d142(0x173)][_0x3d142(0x175)][_0x3d142(0x167)]();_0x51913a&&(_0x51913a['is'](_0x3d142(0x16e),_0x3d142(0x15f))||_0x51913a['is'](_0x3d142(0x16e),_0x3d142(0x165)))&&(this[_0x3d142(0x168)]=new _0x269562(this[_0x3d142(0x17a)],this[_0x3d142(0x17a)][_0x3d142(0x17c)][_0x3d142(0x164)](_0x473329),_0x51913a),this[_0x3d142(0x179)](_0x3d142(0x16b))['to'](this[_0x3d142(0x168)],_0x3d142(0x16b)));}}function _0x3d96(_0x1062b5,_0x48d254){const _0x4ac490=_0x4ac4();return _0x3d96=function(_0x3d96bc,_0x1dd294){_0x3d96bc=_0x3d96bc-0x15e;let _0x3a9b68=_0x4ac490[_0x3d96bc];return _0x3a9b68;},_0x3d96(_0x1062b5,_0x48d254);}function _0x4ac4(){const _0xace8d9=['refresh','bind','editor','config','plugins','requires','957qdlIdI','execute','46580vPADvL','imageBlock','1824318ZkfFtk','unbind','7dwiMiL','set','get','imageInline','uploadcare.allowExternalImagesEditing','getSelectedElement','imageEditController','1744602eNJFcq','407254MdiaNQ','isActive','_isEditable','model','element','423099AyJfRi','19586136BzrHoe','4kerOUj','1074505nUzsFu','document','9dXRSeh','selection','8icEXxg','isEnabled'];_0x4ac4=function(){return _0xace8d9;};return _0x4ac4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34c8b8=_0x23b0;(function(_0x5c2392,_0x5da5fa){const _0xf1b757=_0x23b0,_0x16a119=_0x5c2392();while(!![]){try{const _0x482479=parseInt(_0xf1b757(0x18d))/0x1+-parseInt(_0xf1b757(0x188))/0x2*(parseInt(_0xf1b757(0x18c))/0x3)+parseInt(_0xf1b757(0x193))/0x4+parseInt(_0xf1b757(0x190))/0x5+parseInt(_0xf1b757(0x199))/0x6+parseInt(_0xf1b757(0x194))/0x7*(parseInt(_0xf1b757(0x186))/0x8)+-parseInt(_0xf1b757(0x191))/0x9;if(_0x482479===_0x5da5fa)break;else _0x16a119['push'](_0x16a119['shift']());}catch(_0x4aadaf){_0x16a119['push'](_0x16a119['shift']());}}}(_0x80a9,0x981f7));function _0x80a9(){const _0x1ee15d=['uploadcareImageReplace','3946910yoFJlG','9666315EQduIl','uploadcareImageEdit','1204428IweVOv','63JkhenA','commands','isOfficialPlugin','ImageEditing','init','461358UHbFTW','ImageUtils','787376nNiUSM','requires','2390rFdMSg','isPremiumPlugin','pluginName','add','2661rQZZOB','703915GyBXKP','UploadcareImageEditEditing'];_0x80a9=function(){return _0x1ee15d;};return _0x80a9();}import{Plugin as _0x45e0ab}from'ckeditor5/src/core.js';import{Notification as _0x85bd34}from'ckeditor5/src/ui.js';function _0x23b0(_0x311f7d,_0x930b33){const _0x80a91c=_0x80a9();return _0x23b0=function(_0x23b055,_0x32a70e){_0x23b055=_0x23b055-0x186;let _0x3258a9=_0x80a91c[_0x23b055];return _0x3258a9;},_0x23b0(_0x311f7d,_0x930b33);}import{UploadcareImageEditCommand as _0xce27bc}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x15cd82}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0xb295d7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x45e0ab{static get[_0x34c8b8(0x18a)](){const _0x4831d7=_0x34c8b8;return _0x4831d7(0x18e);}static get[_0x34c8b8(0x187)](){const _0x1706c8=_0x34c8b8;return[_0xb295d7,_0x85bd34,_0x1706c8(0x19a),_0x1706c8(0x197)];}static get[_0x34c8b8(0x196)](){return!0x0;}static get[_0x34c8b8(0x189)](){return!0x0;}[_0x34c8b8(0x198)](){const _0x482bee=_0x34c8b8,{editor:_0x2781ad}=this;_0x2781ad[_0x482bee(0x195)][_0x482bee(0x18b)](_0x482bee(0x192),new _0xce27bc(_0x2781ad)),_0x2781ad[_0x482bee(0x195)][_0x482bee(0x18b)](_0x482bee(0x18f),new _0x15cd82(_0x2781ad));}}
23
+ const _0x2244de=_0x345b;(function(_0x9ebd5c,_0x1a1d4a){const _0x54f223=_0x345b,_0x374d06=_0x9ebd5c();while(!![]){try{const _0x4d8522=parseInt(_0x54f223(0xd6))/0x1*(parseInt(_0x54f223(0xd0))/0x2)+parseInt(_0x54f223(0xcd))/0x3*(parseInt(_0x54f223(0xd2))/0x4)+parseInt(_0x54f223(0xc4))/0x5*(-parseInt(_0x54f223(0xcb))/0x6)+parseInt(_0x54f223(0xd5))/0x7*(-parseInt(_0x54f223(0xce))/0x8)+parseInt(_0x54f223(0xcf))/0x9+-parseInt(_0x54f223(0xc6))/0xa*(-parseInt(_0x54f223(0xc2))/0xb)+-parseInt(_0x54f223(0xc1))/0xc*(parseInt(_0x54f223(0xc7))/0xd);if(_0x4d8522===_0x1a1d4a)break;else _0x374d06['push'](_0x374d06['shift']());}catch(_0x247572){_0x374d06['push'](_0x374d06['shift']());}}}(_0x166c,0x7adb9));import{Plugin as _0x3a955d}from'ckeditor5/src/core.js';import{Notification as _0x3640b3}from'ckeditor5/src/ui.js';function _0x345b(_0x3d05f3,_0xbeb961){const _0x166cf4=_0x166c();return _0x345b=function(_0x345b7e,_0x55c934){_0x345b7e=_0x345b7e-0xc1;let _0x1141aa=_0x166cf4[_0x345b7e];return _0x1141aa;},_0x345b(_0x3d05f3,_0xbeb961);}import{UploadcareImageEditCommand as _0xb11f72}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f209d}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5242cc}from'../uploadcareediting.js';function _0x166c(){const _0x2bb88f=['728895PXDDsb','add','420170ankSsU','91EJOVFt','ImageEditing','pluginName','uploadcareImageReplace','12qiqQrZ','init','354174mIOjFU','368LufFoH','1815786LdvoCq','12202MZsUsJ','ImageUtils','24bsmWoo','UploadcareImageEditEditing','requires','111811VyremA','134DCvBWA','isOfficialPlugin','commands','uploadcareImageEdit','627708Wodbhn','44pYakjW','isPremiumPlugin'];_0x166c=function(){return _0x2bb88f;};return _0x166c();}export class UploadcareImageEditEditing extends _0x3a955d{static get[_0x2244de(0xc9)](){const _0x24f155=_0x2244de;return _0x24f155(0xd3);}static get[_0x2244de(0xd4)](){const _0x384bb3=_0x2244de;return[_0x5242cc,_0x3640b3,_0x384bb3(0xd1),_0x384bb3(0xc8)];}static get[_0x2244de(0xd7)](){return!0x0;}static get[_0x2244de(0xc3)](){return!0x0;}[_0x2244de(0xcc)](){const _0x29572a=_0x2244de,{editor:_0x4f2c13}=this;_0x4f2c13[_0x29572a(0xd8)][_0x29572a(0xc5)](_0x29572a(0xd9),new _0xb11f72(_0x4f2c13)),_0x4f2c13[_0x29572a(0xd8)][_0x29572a(0xc5)](_0x29572a(0xca),new _0x2f209d(_0x4f2c13));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2892a8}from'ckeditor5/src/core.js';import{ButtonView as _0x501988}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3a254f}from'ckeditor5/src/icons.js';import{createElement as _0x5d5f8f}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 _0x2892a8{['_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 _0x412d4b=this['editor'];_0x412d4b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1348b5=>{const _0x4a9027=_0x412d4b['commands']['get']('uploadcareImageEdit'),_0x4905b1=new _0x501988(_0x1348b5),t=_0x1348b5['t'];return _0x4905b1['set']({'icon':_0x3a254f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4905b1['bind']('isEnabled')['to'](_0x4a9027),_0x4905b1['bind']('isOn')['to'](_0x4a9027,'isActive'),this['listenTo'](_0x4905b1,'execute',()=>{_0x412d4b['execute']('uploadcareImageEdit'),_0x412d4b['editing']['view']['focus']();}),_0x4905b1;}),this['_initConfig']();}['_initConfig'](){const _0x2103a8=_0x5d5f8f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2103a8),this['listenTo'](this['editor'],'destroy',()=>{_0x2103a8['remove']();});}}
23
+ import{Plugin as _0x236928}from'ckeditor5/src/core.js';import{ButtonView as _0xdbe52c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x330b5b}from'ckeditor5/src/icons.js';import{createElement as _0x1ced73}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x236928{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x41d4ac=this['editor'];_0x41d4ac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3f15a8=>{const _0x518ba0=_0x41d4ac['commands']['get']('uploadcareImageEdit'),_0x47ad72=new _0xdbe52c(_0x3f15a8),t=_0x3f15a8['t'];return _0x47ad72['set']({'icon':_0x330b5b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x47ad72['bind']('isEnabled')['to'](_0x518ba0),_0x47ad72['bind']('isOn')['to'](_0x518ba0,'isActive'),this['listenTo'](_0x47ad72,'execute',()=>{_0x41d4ac['execute']('uploadcareImageEdit'),_0x41d4ac['editing']['view']['focus']();}),_0x47ad72;}),this['_initConfig']();}['_initConfig'](){const _0x5aa0ca=_0x1ced73(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5aa0ca),this['listenTo'](this['editor'],'destroy',()=>{_0x5aa0ca['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4632cc=_0xbd84;function _0xbd84(_0x49350b,_0x544f9d){const _0x210472=_0x2104();return _0xbd84=function(_0xbd84cd,_0x13f8c0){_0xbd84cd=_0xbd84cd-0xe8;let _0x54aa88=_0x210472[_0xbd84cd];return _0x54aa88;},_0xbd84(_0x49350b,_0x544f9d);}(function(_0xbab85b,_0x4403fc){const _0xed4cb6=_0xbd84,_0x15d2b5=_0xbab85b();while(!![]){try{const _0x1504d0=-parseInt(_0xed4cb6(0xf9))/0x1*(-parseInt(_0xed4cb6(0xfc))/0x2)+parseInt(_0xed4cb6(0xed))/0x3+parseInt(_0xed4cb6(0xea))/0x4+-parseInt(_0xed4cb6(0xec))/0x5*(parseInt(_0xed4cb6(0xf7))/0x6)+parseInt(_0xed4cb6(0xef))/0x7*(-parseInt(_0xed4cb6(0xfa))/0x8)+-parseInt(_0xed4cb6(0x102))/0x9*(-parseInt(_0xed4cb6(0xee))/0xa)+-parseInt(_0xed4cb6(0xe8))/0xb;if(_0x1504d0===_0x4403fc)break;else _0x15d2b5['push'](_0x15d2b5['shift']());}catch(_0x2bcdb6){_0x15d2b5['push'](_0x15d2b5['shift']());}}}(_0x2104,0x25cfc));function _0x2104(){const _0x44fd15=['element','isEnabled','imageInline','document','28674smUzuF','5053631WMamaN','sizes','1229596dKFWXt','srcset','495Umodps','556977ZCWkoi','390BnrdRd','7BhrnNP','selection','editor','getSelectedElement','setAttributes','removeAttribute','change','imageBlock','1512cytvlP','refresh','1964XezhwR','2071352jXDGrB','model','286SpUFFK','execute'];_0x2104=function(){return _0x44fd15;};return _0x2104();}import{Command as _0x24289f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x24289f{[_0x4632cc(0xf8)](){const _0x4d8131=_0x4632cc,_0x287ddc=this[_0x4d8131(0xf1)][_0x4d8131(0xfb)][_0x4d8131(0x101)][_0x4d8131(0xf0)][_0x4d8131(0xf2)]();this[_0x4d8131(0xff)]=Boolean(_0x287ddc&&(_0x287ddc['is'](_0x4d8131(0xfe),_0x4d8131(0xf6))||_0x287ddc['is'](_0x4d8131(0xfe),_0x4d8131(0x100))));}[_0x4632cc(0xfd)](_0x72c4bc){const _0x4ea627=_0x4632cc,_0x5594c6=this[_0x4ea627(0xf1)][_0x4ea627(0xfb)][_0x4ea627(0x101)][_0x4ea627(0xf0)][_0x4ea627(0xf2)]();this[_0x4ea627(0xf1)][_0x4ea627(0xfb)][_0x4ea627(0xf5)](_0x50f7cd=>{const _0x4b1979=_0x4ea627;_0x50f7cd[_0x4b1979(0xf3)](_0x72c4bc,_0x5594c6),_0x50f7cd[_0x4b1979(0xf4)](_0x4b1979(0xeb),_0x5594c6),_0x50f7cd[_0x4b1979(0xf4)](_0x4b1979(0xe9),_0x5594c6);});}}
23
+ function _0x4726(_0xf2aaca,_0x2d20b2){const _0x4a7c98=_0x4a7c();return _0x4726=function(_0x4726a2,_0x1f5355){_0x4726a2=_0x4726a2-0x1bb;let _0x3fab31=_0x4a7c98[_0x4726a2];return _0x3fab31;},_0x4726(_0xf2aaca,_0x2d20b2);}const _0x205fd6=_0x4726;(function(_0x50829a,_0x42ae7c){const _0x544a49=_0x4726,_0x2b90eb=_0x50829a();while(!![]){try{const _0x22e09f=-parseInt(_0x544a49(0x1c8))/0x1*(-parseInt(_0x544a49(0x1cc))/0x2)+parseInt(_0x544a49(0x1cb))/0x3*(parseInt(_0x544a49(0x1ce))/0x4)+parseInt(_0x544a49(0x1cf))/0x5*(parseInt(_0x544a49(0x1ca))/0x6)+parseInt(_0x544a49(0x1c5))/0x7*(-parseInt(_0x544a49(0x1c0))/0x8)+parseInt(_0x544a49(0x1d6))/0x9*(parseInt(_0x544a49(0x1c1))/0xa)+parseInt(_0x544a49(0x1d8))/0xb*(-parseInt(_0x544a49(0x1d4))/0xc)+parseInt(_0x544a49(0x1bd))/0xd*(-parseInt(_0x544a49(0x1c3))/0xe);if(_0x22e09f===_0x42ae7c)break;else _0x2b90eb['push'](_0x2b90eb['shift']());}catch(_0x5e092b){_0x2b90eb['push'](_0x2b90eb['shift']());}}}(_0x4a7c,0x52725));import{Command as _0x2ed3f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2ed3f1{[_0x205fd6(0x1bb)](){const _0x131284=_0x205fd6,_0x49fb92=this[_0x131284(0x1c2)][_0x131284(0x1d2)][_0x131284(0x1d5)][_0x131284(0x1d0)][_0x131284(0x1c6)]();this[_0x131284(0x1c7)]=Boolean(_0x49fb92&&(_0x49fb92['is'](_0x131284(0x1c9),_0x131284(0x1d3))||_0x49fb92['is'](_0x131284(0x1c9),_0x131284(0x1be))));}[_0x205fd6(0x1d1)](_0x2a9dd6){const _0x313a16=_0x205fd6,_0x48aadf=this[_0x313a16(0x1c2)][_0x313a16(0x1d2)][_0x313a16(0x1d5)][_0x313a16(0x1d0)][_0x313a16(0x1c6)]();this[_0x313a16(0x1c2)][_0x313a16(0x1d2)][_0x313a16(0x1d7)](_0x30d033=>{const _0x2044e3=_0x313a16;_0x30d033[_0x2044e3(0x1cd)](_0x2a9dd6,_0x48aadf),_0x30d033[_0x2044e3(0x1bc)](_0x2044e3(0x1c4),_0x48aadf),_0x30d033[_0x2044e3(0x1bc)](_0x2044e3(0x1bf),_0x48aadf);});}}function _0x4a7c(){const _0x29a7fa=['8635uzcFpL','refresh','removeAttribute','13JNmizD','imageInline','sizes','326464emEnLc','1454580KivIuq','editor','15687098UmpmRk','srcset','7EKmVph','getSelectedElement','isEnabled','1CZsrgo','element','637110lTOUZB','3pQCPGB','577228gKrZkq','setAttributes','1145020JeFEVa','20pdfNRc','selection','execute','model','imageBlock','1260TxSsHH','document','36zjrmsU','change'];_0x4a7c=function(){return _0x29a7fa;};return _0x4a7c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51321b=_0xd250;function _0xd250(_0x81d8d4,_0x1789ab){var _0x4bb841=_0x4bb8();return _0xd250=function(_0xd2504e,_0x12b498){_0xd2504e=_0xd2504e-0xc1;var _0x2a511b=_0x4bb841[_0xd2504e];return _0x2a511b;},_0xd250(_0x81d8d4,_0x1789ab);}(function(_0x93ae39,_0x3482c2){var _0x5aba8f=_0xd250,_0x1a7ecc=_0x93ae39();while(!![]){try{var _0x4eb73c=-parseInt(_0x5aba8f(0xcd))/0x1*(parseInt(_0x5aba8f(0xc2))/0x2)+-parseInt(_0x5aba8f(0xc9))/0x3*(parseInt(_0x5aba8f(0xcb))/0x4)+-parseInt(_0x5aba8f(0xc1))/0x5+parseInt(_0x5aba8f(0xca))/0x6*(-parseInt(_0x5aba8f(0xc3))/0x7)+parseInt(_0x5aba8f(0xc6))/0x8+parseInt(_0x5aba8f(0xcf))/0x9+parseInt(_0x5aba8f(0xce))/0xa;if(_0x4eb73c===_0x3482c2)break;else _0x1a7ecc['push'](_0x1a7ecc['shift']());}catch(_0x59f217){_0x1a7ecc['push'](_0x1a7ecc['shift']());}}}(_0x4bb8,0xcd196));import{Plugin as _0x3d2f33}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xa04524}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x12e383}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3d2f33{static get[_0x51321b(0xc5)](){var _0x3b0fd3=_0x51321b;return _0x3b0fd3(0xcc);}static get[_0x51321b(0xc8)](){return[_0xa04524,_0x12e383];}static get[_0x51321b(0xc4)](){return!0x0;}static get[_0x51321b(0xc7)](){return!0x0;}}function _0x4bb8(){var _0x5286a4=['requires','100350qnLwpM','21300UutBAF','36jZFdVe','UploadcareImageEdit','1HWXqdq','35664950mfcHRQ','5216589BBsrUW','8304925veDWxZ','756304jFynJt','2107BEeUuk','isOfficialPlugin','pluginName','821656ncahyn','isPremiumPlugin'];_0x4bb8=function(){return _0x5286a4;};return _0x4bb8();}
23
+ var _0x4eec77=_0x49e8;(function(_0x3bd1f5,_0x6b4dd2){var _0x113d19=_0x49e8,_0xbf3844=_0x3bd1f5();while(!![]){try{var _0x368bc7=parseInt(_0x113d19(0x1a2))/0x1+parseInt(_0x113d19(0x194))/0x2*(parseInt(_0x113d19(0x19a))/0x3)+-parseInt(_0x113d19(0x19d))/0x4*(parseInt(_0x113d19(0x19f))/0x5)+parseInt(_0x113d19(0x1a1))/0x6*(parseInt(_0x113d19(0x196))/0x7)+parseInt(_0x113d19(0x198))/0x8+-parseInt(_0x113d19(0x19b))/0x9+parseInt(_0x113d19(0x19e))/0xa*(-parseInt(_0x113d19(0x199))/0xb);if(_0x368bc7===_0x6b4dd2)break;else _0xbf3844['push'](_0xbf3844['shift']());}catch(_0x211bdc){_0xbf3844['push'](_0xbf3844['shift']());}}}(_0x58b6,0x228c6));import{Plugin as _0x51626a}from'ckeditor5/src/core.js';function _0x58b6(){var _0x1ba252=['201146urFWbM','296157tRGEju','1321119RXqniP','isPremiumPlugin','5228XfOqaS','210xXiAiR','485WkBTxu','UploadcareImageEdit','148494zblQSt','252493UXQNgS','requires','4sMEjdM','pluginName','21VZjLdn','isOfficialPlugin','2199264jJhGFm'];_0x58b6=function(){return _0x1ba252;};return _0x58b6();}function _0x49e8(_0x163128,_0x4f0308){var _0x58b68a=_0x58b6();return _0x49e8=function(_0x49e89b,_0x38d0c0){_0x49e89b=_0x49e89b-0x194;var _0x201e20=_0x58b68a[_0x49e89b];return _0x201e20;},_0x49e8(_0x163128,_0x4f0308);}import{UploadcareImageEditEditing as _0x606817}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5c8564}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x51626a{static get[_0x4eec77(0x195)](){var _0x509a5b=_0x4eec77;return _0x509a5b(0x1a0);}static get[_0x4eec77(0x1a3)](){return[_0x606817,_0x5c8564];}static get[_0x4eec77(0x197)](){return!0x0;}static get[_0x4eec77(0x19c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf74218=_0x21b7;(function(_0x283286,_0x158b0d){const _0x23cad4=_0x21b7,_0x2aa041=_0x283286();while(!![]){try{const _0x8372aa=parseInt(_0x23cad4(0x174))/0x1*(parseInt(_0x23cad4(0x17b))/0x2)+-parseInt(_0x23cad4(0x19c))/0x3+parseInt(_0x23cad4(0x196))/0x4+parseInt(_0x23cad4(0x1bb))/0x5*(-parseInt(_0x23cad4(0x18c))/0x6)+-parseInt(_0x23cad4(0x198))/0x7*(-parseInt(_0x23cad4(0x1c2))/0x8)+parseInt(_0x23cad4(0x1bf))/0x9*(parseInt(_0x23cad4(0x1b9))/0xa)+-parseInt(_0x23cad4(0x180))/0xb;if(_0x8372aa===_0x158b0d)break;else _0x2aa041['push'](_0x2aa041['shift']());}catch(_0x5efdd7){_0x2aa041['push'](_0x2aa041['shift']());}}}(_0x51b4,0x767f9));import{Plugin as _0xdfd67f}from'ckeditor5/src/core.js';import{IconDropbox as _0x39fca7,IconFacebook as _0x217480,IconGoogleDrive as _0x13c667,IconGooglePhotos as _0x49ddc8,IconUploadcareImageUpload as _0x25162b,IconUploadcareLink as _0x243fe8,IconOneDrive as _0x41c728}from'ckeditor5/src/icons.js';import{ButtonView as _0x27c564,MenuBarMenuListItemButtonView as _0x17b552}from'ckeditor5/src/ui.js';function _0x51b4(){const _0x10f81f=['map','tooltip','OneDrive','reduce','Uploadcare','init','upload','_createToolbarButton','Insert','execute','ImageInsertUI','get','has','plugins','uploadcareLicenseKeyDomainLimit','shortText','_createButton','Facebook','evaluationLimit','pluginName','bind','text','uploadcareLicenseKeyInvalid','10liajec','featureNotAllowed','205PJQMmu','afterInit','licenseKey','_licenseKeyCheckInterval','2088963UNvMZq','GPhotos','uploadcareLicenseKeyUsageLimit','11112MfknHf','domainLimit','url','_showLicenseError','772613xcoGdv','push','type','Dropbox','destroy','uploadcareLicenseKeyNotAllowed','usageLimit','2qsfIeo','uploadcare','Local','locale','_normalizeConfigSourceList','6597987WkAMWD','trialLimit','UploadcareUI','invalid','commands','forEach','uploadcareLicenseKeyTrialLimit','Replace','icon','isOfficialPlugin','expired','isImageSelected','85272RvzhHo','assetManager','_getIntegrationKey','GDrive','_createMenuBarButtons','config','withText','editor','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyExpired','1824584jTeMem','_createDropdownButtons','3108xHOzUu','URL','isPremiumPlugin','label','1229112lZeJqx','isEnabled','uploadcare.uploader.sourceList','uploadcareLicenseKeyValid','registerIntegration','entries'];_0x51b4=function(){return _0x10f81f;};return _0x51b4();}import{UploadcareSource as _0x11960a}from'./uploadcareconfig.js';import{getTranslation as _0x3f9088}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x21b7(_0x1645cf,_0x44ff57){const _0x51b470=_0x51b4();return _0x21b7=function(_0x21b7f1,_0x5571b2){_0x21b7f1=_0x21b7f1-0x172;let _0x6ae73e=_0x51b470[_0x21b7f1];return _0x6ae73e;},_0x21b7(_0x1645cf,_0x44ff57);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xdfd67f{[_0xf74218(0x1bd)];[_0xf74218(0x1be)];static get[_0xf74218(0x1b5)](){const _0x56f377=_0xf74218;return _0x56f377(0x182);}static get[_0xf74218(0x189)](){return!0x0;}static get[_0xf74218(0x19a)](){return!0x0;}[_0xf74218(0x1a7)](){const _0x4719b3=_0xf74218;this[_0x4719b3(0x1bd)]=this[_0x4719b3(0x193)][_0x4719b3(0x191)][_0x4719b3(0x1ad)](_0x4719b3(0x1bd));const _0x3d6048=this[_0x4719b3(0x193)];this[_0x4719b3(0x1be)]=setInterval(()=>{const _0x4381b8=_0x4719b3;let _0x3dd7d4;for(const _0x1a9318 in _0x3d6048){const _0x4bfff3=_0x1a9318,_0x1670a5=_0x3d6048[_0x4bfff3];if(_0x4381b8(0x19f)==_0x1670a5||_0x4381b8(0x1b8)==_0x1670a5||_0x4381b8(0x195)==_0x1670a5||_0x4381b8(0x1b0)==_0x1670a5||_0x4381b8(0x179)==_0x1670a5||_0x4381b8(0x194)==_0x1670a5||_0x4381b8(0x186)==_0x1670a5||_0x4381b8(0x1c1)==_0x1670a5){delete _0x3d6048[_0x4bfff3],_0x3dd7d4=_0x1670a5,clearInterval(this[_0x4381b8(0x1be)]),this[_0x4381b8(0x1be)]=void 0x0;break;}}_0x4381b8(0x1b8)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x183)),_0x4381b8(0x195)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x18a)),_0x4381b8(0x1b0)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1c3)),_0x4381b8(0x179)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1ba),_0x4381b8(0x1a6)),_0x4381b8(0x194)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1b4)),_0x4381b8(0x186)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x181)),_0x4381b8(0x1c1)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x17a));},0x3e8);}[_0xf74218(0x1bc)](){const _0x1e6a1f=_0xf74218,{editor:_0x1f0928}=this,_0x5ae156=_0x1f0928[_0x1e6a1f(0x184)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x17c));if(!_0x5ae156)return;const _0x569ef3=this[_0x1e6a1f(0x17f)](_0x1f0928[_0x1e6a1f(0x191)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x19e)))[_0x1e6a1f(0x1a5)]((_0x36b9bf,_0x42fc9b)=>{const _0x40eee4=_0x1e6a1f,_0x5f2e5f=this[_0x40eee4(0x18e)](_0x42fc9b[_0x40eee4(0x176)]);return _0x36b9bf[_0x5f2e5f]||(_0x36b9bf[_0x5f2e5f]=[]),_0x36b9bf[_0x5f2e5f][_0x40eee4(0x175)](_0x42fc9b),_0x36b9bf;},{});_0x1f0928[_0x1e6a1f(0x1af)][_0x1e6a1f(0x1ae)](_0x1e6a1f(0x1ac))&&_0x1f0928[_0x1e6a1f(0x184)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x17c))&&Object[_0x1e6a1f(0x1a1)](_0x569ef3)[_0x1e6a1f(0x185)](([_0x590293,_0x29e371])=>{const _0x3e3cd0=_0x1e6a1f;_0x1f0928[_0x3e3cd0(0x1af)][_0x3e3cd0(0x1ad)](_0x3e3cd0(0x1ac))[_0x3e3cd0(0x1a0)]({'name':_0x590293,'observable':()=>_0x5ae156,'buttonViewCreator':()=>this[_0x3e3cd0(0x1a9)](_0x29e371),'formViewCreator':()=>this[_0x3e3cd0(0x197)](_0x29e371),'menuBarButtonViewCreator':()=>this[_0x3e3cd0(0x190)](_0x29e371),'override':_0x3e3cd0(0x18d)!==_0x590293});});}[_0xf74218(0x178)](){const _0x3bbcc=_0xf74218;super[_0x3bbcc(0x178)](),this[_0x3bbcc(0x1be)]&&clearInterval(this[_0x3bbcc(0x1be)]);}[_0xf74218(0x17f)](_0x1f4e48){const _0x10f67c=_0xf74218,{locale:_0x4f5487}=this[_0x10f67c(0x193)];return _0x1f4e48[_0x10f67c(0x1a2)](_0x1ec3e3=>{const _0x5b3269=_0x10f67c,_0x220724=_0x3f9088(_0x4f5487,_0x1ec3e3,_0x5b3269(0x1aa));switch(_0x1ec3e3){case _0x11960a[_0x5b3269(0x17d)]:return{'icon':_0x25162b,'type':_0x11960a[_0x5b3269(0x17d)],..._0x220724};case _0x11960a[_0x5b3269(0x199)]:return{'icon':_0x243fe8,'type':_0x11960a[_0x5b3269(0x199)],..._0x220724};case _0x11960a[_0x5b3269(0x177)]:return{'icon':_0x39fca7,'type':_0x11960a[_0x5b3269(0x177)],..._0x220724};case _0x11960a[_0x5b3269(0x1b3)]:return{'icon':_0x217480,'type':_0x11960a[_0x5b3269(0x1b3)],..._0x220724};case _0x11960a[_0x5b3269(0x18f)]:return{'icon':_0x13c667,'type':_0x11960a[_0x5b3269(0x18f)],..._0x220724};case _0x11960a[_0x5b3269(0x1c0)]:return{'icon':_0x49ddc8,'type':_0x11960a[_0x5b3269(0x1c0)],..._0x220724};case _0x11960a[_0x5b3269(0x1a4)]:return{'icon':_0x41c728,'type':_0x11960a[_0x5b3269(0x1a4)],..._0x220724};}});}[_0xf74218(0x18e)](_0x70779d){const _0x210fda=_0xf74218;switch(_0x70779d){case _0x11960a[_0x210fda(0x17d)]:return _0x210fda(0x1a8);case _0x11960a[_0x210fda(0x199)]:return _0x210fda(0x172);default:return _0x210fda(0x18d);}}[_0xf74218(0x1b2)](_0x4501c8,_0x2c1525){const _0x1a380b=_0xf74218,_0x1fa7d1=this[_0x1a380b(0x193)],_0x26d187=new _0x4501c8(_0x1fa7d1[_0x1a380b(0x17e)]),_0x50d753=_0x1fa7d1[_0x1a380b(0x184)][_0x1a380b(0x1ad)](_0x1a380b(0x17c));return _0x26d187[_0x1a380b(0x1b6)](_0x1a380b(0x19d))['to'](_0x50d753),_0x26d187['on'](_0x1a380b(0x1ab),()=>{const _0x2440c4=_0x1a380b;_0x50d753[_0x2440c4(0x1ab)](_0x2c1525);}),_0x26d187;}[_0xf74218(0x1a9)](_0x5923a9){const _0x1a80f6=_0xf74218,{locale:_0x202695}=this[_0x1a80f6(0x193)],_0x11929d=this[_0x1a80f6(0x193)][_0x1a80f6(0x1af)][_0x1a80f6(0x1ad)](_0x1a80f6(0x1ac)),_0x201008=_0x5923a9[0x0],_0x3f6ca6=this[_0x1a80f6(0x1b2)](_0x27c564,_0x201008[_0x1a80f6(0x176)]);return _0x3f6ca6[_0x1a80f6(0x188)]=_0x201008[_0x1a80f6(0x188)],_0x3f6ca6[_0x1a80f6(0x1b6)](_0x1a80f6(0x19b))['to'](_0x11929d,_0x1a80f6(0x18b),_0x5f6b64=>_0x3f9088(_0x202695,_0x201008[_0x1a80f6(0x176)],_0x5f6b64?_0x1a80f6(0x187):_0x1a80f6(0x1aa))[_0x1a80f6(0x1b7)]),_0x3f6ca6[_0x1a80f6(0x1a3)]=!0x0,_0x3f6ca6;}[_0xf74218(0x197)](_0x183fb2){const _0x35ba1a=_0xf74218,{locale:_0x5743ed}=this[_0x35ba1a(0x193)],_0xd2d011=this[_0x35ba1a(0x193)][_0x35ba1a(0x1af)][_0x35ba1a(0x1ad)](_0x35ba1a(0x1ac));return _0x183fb2[_0x35ba1a(0x1a2)](_0x1fd178=>{const _0x5887cf=_0x35ba1a,_0x2a785a=this[_0x5887cf(0x1b2)](_0x27c564,_0x1fd178[_0x5887cf(0x176)]);return _0x2a785a[_0x5887cf(0x192)]=!0x0,_0x2a785a[_0x5887cf(0x188)]=_0x1fd178[_0x5887cf(0x188)],_0x2a785a[_0x5887cf(0x1b6)](_0x5887cf(0x19b))['to'](_0xd2d011,_0x5887cf(0x18b),_0x190c9c=>_0x3f9088(_0x5743ed,_0x1fd178[_0x5887cf(0x176)],_0x190c9c?_0x5887cf(0x187):_0x5887cf(0x1aa))[_0x5887cf(0x1b7)]),_0x2a785a;});}[_0xf74218(0x190)](_0x5f4581){const _0x1d0ca=_0xf74218;return _0x5f4581[_0x1d0ca(0x1a2)](_0x430617=>{const _0x203dac=_0x1d0ca,_0x1613d1=this[_0x203dac(0x1b2)](_0x17b552,_0x430617[_0x203dac(0x176)]);return _0x1613d1[_0x203dac(0x188)]=_0x430617[_0x203dac(0x188)],_0x1613d1[_0x203dac(0x19b)]=_0x430617[_0x203dac(0x1b1)],_0x1613d1;});}}
23
+ const _0x4a7004=_0x41a5;(function(_0x4d7fa7,_0x117e8b){const _0x1b60ab=_0x41a5,_0x1966d1=_0x4d7fa7();while(!![]){try{const _0x5b1ee0=-parseInt(_0x1b60ab(0xb5))/0x1*(-parseInt(_0x1b60ab(0xd7))/0x2)+-parseInt(_0x1b60ab(0xb0))/0x3+parseInt(_0x1b60ab(0xd0))/0x4*(parseInt(_0x1b60ab(0xca))/0x5)+parseInt(_0x1b60ab(0x8f))/0x6*(parseInt(_0x1b60ab(0xc6))/0x7)+-parseInt(_0x1b60ab(0x99))/0x8+parseInt(_0x1b60ab(0xbf))/0x9*(-parseInt(_0x1b60ab(0xc7))/0xa)+-parseInt(_0x1b60ab(0x9a))/0xb*(-parseInt(_0x1b60ab(0xa4))/0xc);if(_0x5b1ee0===_0x117e8b)break;else _0x1966d1['push'](_0x1966d1['shift']());}catch(_0x33b287){_0x1966d1['push'](_0x1966d1['shift']());}}}(_0x2dbd,0x24aaa));function _0x41a5(_0x20ab07,_0x151ba6){const _0x2dbd43=_0x2dbd();return _0x41a5=function(_0x41a5ff,_0x562bf4){_0x41a5ff=_0x41a5ff-0x89;let _0x16ba4b=_0x2dbd43[_0x41a5ff];return _0x16ba4b;},_0x41a5(_0x20ab07,_0x151ba6);}function _0x2dbd(){const _0x208b0b=['registerIntegration','forEach','uploadcareLicenseKeyDomainLimit','31EPBraj','type','uploadcareLicenseKeyNotAllowed','GPhotos','url','isOfficialPlugin','execute','_getIntegrationKey','upload','isPremiumPlugin','207CXBfwS','Uploadcare','push','uploadcareLicenseKeyExpired','uploadcareLicenseKeyEvaluationLimit','_normalizeConfigSourceList','uploadcareLicenseKeyInvalid','91ppuyTC','13330ZkJlBa','_createToolbarButton','isEnabled','705COjMdo','licenseKey','withText','config','assetManager','plugins','2172UjdvHP','featureNotAllowed','locale','UploadcareUI','entries','URL','GDrive','16716fvNKHy','Local','Dropbox','get','destroy','afterInit','_createButton','bind','domainLimit','map','ImageInsertUI','89118Vordch','label','init','has','Insert','OneDrive','usageLimit','_licenseKeyCheckInterval','uploadcareLicenseKeyTrialLimit','text','1843544zJKtav','7711YaYTjy','Facebook','editor','uploadcare.uploader.sourceList','Replace','trialLimit','commands','shortText','_showLicenseError','uploadcareLicenseKeyValid','1128XOsQBU','isImageSelected','reduce','tooltip','_createDropdownButtons','evaluationLimit','uploadcare','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','invalid','expired','pluginName','550068fEoPnE','icon'];_0x2dbd=function(){return _0x208b0b;};return _0x2dbd();}import{Plugin as _0x2e3f4f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ea2bd,IconFacebook as _0x1c4116,IconGoogleDrive as _0x3cec15,IconGooglePhotos as _0x33d10c,IconUploadcareImageUpload as _0x30e098,IconUploadcareLink as _0x409484,IconOneDrive as _0x162a87}from'ckeditor5/src/icons.js';import{ButtonView as _0x1e3b37,MenuBarMenuListItemButtonView as _0x10719e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xf3e4b5}from'./uploadcareconfig.js';import{getTranslation as _0x5908b1}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2e3f4f{[_0x4a7004(0xcb)];[_0x4a7004(0x96)];static get[_0x4a7004(0xaf)](){const _0x5b3c2c=_0x4a7004;return _0x5b3c2c(0xd3);}static get[_0x4a7004(0xba)](){return!0x0;}static get[_0x4a7004(0xbe)](){return!0x0;}[_0x4a7004(0x91)](){const _0x54bed0=_0x4a7004;this[_0x54bed0(0xcb)]=this[_0x54bed0(0x9c)][_0x54bed0(0xcd)][_0x54bed0(0xda)](_0x54bed0(0xcb));const _0x2164d8=this[_0x54bed0(0x9c)];this[_0x54bed0(0x96)]=setInterval(()=>{const _0x267e6e=_0x54bed0;let _0x1e64e4;for(const _0x4eea60 in _0x2164d8){const _0x339a3d=_0x4eea60,_0x54dd43=_0x2164d8[_0x339a3d];if(_0x267e6e(0xa3)==_0x54dd43||_0x267e6e(0xc5)==_0x54dd43||_0x267e6e(0xc2)==_0x54dd43||_0x267e6e(0xb4)==_0x54dd43||_0x267e6e(0xb7)==_0x54dd43||_0x267e6e(0xc3)==_0x54dd43||_0x267e6e(0x97)==_0x54dd43||_0x267e6e(0xac)==_0x54dd43){delete _0x2164d8[_0x339a3d],_0x1e64e4=_0x54dd43,clearInterval(this[_0x267e6e(0x96)]),this[_0x267e6e(0x96)]=void 0x0;break;}}_0x267e6e(0xc5)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xad)),_0x267e6e(0xc2)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xae)),_0x267e6e(0xb4)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x8c)),_0x267e6e(0xb7)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xd1),_0x267e6e(0xc0)),_0x267e6e(0xc3)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0xa9)),_0x267e6e(0x97)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x9f)),_0x267e6e(0xac)==_0x1e64e4&&_0x2164d8[_0x267e6e(0xa2)](_0x267e6e(0x95));},0x3e8);}[_0x4a7004(0x89)](){const _0x268bd0=_0x4a7004,{editor:_0x123b2f}=this,_0x3694a3=_0x123b2f[_0x268bd0(0xa0)][_0x268bd0(0xda)](_0x268bd0(0xaa));if(!_0x3694a3)return;const _0x725a05=this[_0x268bd0(0xc4)](_0x123b2f[_0x268bd0(0xcd)][_0x268bd0(0xda)](_0x268bd0(0x9d)))[_0x268bd0(0xa6)]((_0xbc86eb,_0x1413e3)=>{const _0x4defb5=_0x268bd0,_0x13e2cf=this[_0x4defb5(0xbc)](_0x1413e3[_0x4defb5(0xb6)]);return _0xbc86eb[_0x13e2cf]||(_0xbc86eb[_0x13e2cf]=[]),_0xbc86eb[_0x13e2cf][_0x4defb5(0xc1)](_0x1413e3),_0xbc86eb;},{});_0x123b2f[_0x268bd0(0xcf)][_0x268bd0(0x92)](_0x268bd0(0x8e))&&_0x123b2f[_0x268bd0(0xa0)][_0x268bd0(0xda)](_0x268bd0(0xaa))&&Object[_0x268bd0(0xd4)](_0x725a05)[_0x268bd0(0xb3)](([_0x3109f4,_0x47d961])=>{const _0x3bd2c2=_0x268bd0;_0x123b2f[_0x3bd2c2(0xcf)][_0x3bd2c2(0xda)](_0x3bd2c2(0x8e))[_0x3bd2c2(0xb2)]({'name':_0x3109f4,'observable':()=>_0x3694a3,'buttonViewCreator':()=>this[_0x3bd2c2(0xc8)](_0x47d961),'formViewCreator':()=>this[_0x3bd2c2(0xa8)](_0x47d961),'menuBarButtonViewCreator':()=>this[_0x3bd2c2(0xab)](_0x47d961),'override':_0x3bd2c2(0xce)!==_0x3109f4});});}[_0x4a7004(0xdb)](){const _0x4c0fb5=_0x4a7004;super[_0x4c0fb5(0xdb)](),this[_0x4c0fb5(0x96)]&&clearInterval(this[_0x4c0fb5(0x96)]);}[_0x4a7004(0xc4)](_0x1ef3a9){const _0x277661=_0x4a7004,{locale:_0x1a5595}=this[_0x277661(0x9c)];return _0x1ef3a9[_0x277661(0x8d)](_0xf5ef16=>{const _0x23cdc1=_0x277661,_0x41e378=_0x5908b1(_0x1a5595,_0xf5ef16,_0x23cdc1(0x93));switch(_0xf5ef16){case _0xf3e4b5[_0x23cdc1(0xd8)]:return{'icon':_0x30e098,'type':_0xf3e4b5[_0x23cdc1(0xd8)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd5)]:return{'icon':_0x409484,'type':_0xf3e4b5[_0x23cdc1(0xd5)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd9)]:return{'icon':_0x2ea2bd,'type':_0xf3e4b5[_0x23cdc1(0xd9)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0x9b)]:return{'icon':_0x1c4116,'type':_0xf3e4b5[_0x23cdc1(0x9b)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xd6)]:return{'icon':_0x3cec15,'type':_0xf3e4b5[_0x23cdc1(0xd6)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0xb8)]:return{'icon':_0x33d10c,'type':_0xf3e4b5[_0x23cdc1(0xb8)],..._0x41e378};case _0xf3e4b5[_0x23cdc1(0x94)]:return{'icon':_0x162a87,'type':_0xf3e4b5[_0x23cdc1(0x94)],..._0x41e378};}});}[_0x4a7004(0xbc)](_0x1f8779){const _0x2d7a4e=_0x4a7004;switch(_0x1f8779){case _0xf3e4b5[_0x2d7a4e(0xd8)]:return _0x2d7a4e(0xbd);case _0xf3e4b5[_0x2d7a4e(0xd5)]:return _0x2d7a4e(0xb9);default:return _0x2d7a4e(0xce);}}[_0x4a7004(0x8a)](_0x2e15fe,_0x162420){const _0x4104fc=_0x4a7004,_0x58aae3=this[_0x4104fc(0x9c)],_0x3f65dc=new _0x2e15fe(_0x58aae3[_0x4104fc(0xd2)]),_0x326b48=_0x58aae3[_0x4104fc(0xa0)][_0x4104fc(0xda)](_0x4104fc(0xaa));return _0x3f65dc[_0x4104fc(0x8b)](_0x4104fc(0xc9))['to'](_0x326b48),_0x3f65dc['on'](_0x4104fc(0xbb),()=>{const _0x166bbe=_0x4104fc;_0x326b48[_0x166bbe(0xbb)](_0x162420);}),_0x3f65dc;}[_0x4a7004(0xc8)](_0x30a9f5){const _0x44f0c6=_0x4a7004,{locale:_0x2b1f5b}=this[_0x44f0c6(0x9c)],_0x3f09f5=this[_0x44f0c6(0x9c)][_0x44f0c6(0xcf)][_0x44f0c6(0xda)](_0x44f0c6(0x8e)),_0x4eb8ce=_0x30a9f5[0x0],_0x4cafb5=this[_0x44f0c6(0x8a)](_0x1e3b37,_0x4eb8ce[_0x44f0c6(0xb6)]);return _0x4cafb5[_0x44f0c6(0xb1)]=_0x4eb8ce[_0x44f0c6(0xb1)],_0x4cafb5[_0x44f0c6(0x8b)](_0x44f0c6(0x90))['to'](_0x3f09f5,_0x44f0c6(0xa5),_0x197239=>_0x5908b1(_0x2b1f5b,_0x4eb8ce[_0x44f0c6(0xb6)],_0x197239?_0x44f0c6(0x9e):_0x44f0c6(0x93))[_0x44f0c6(0x98)]),_0x4cafb5[_0x44f0c6(0xa7)]=!0x0,_0x4cafb5;}[_0x4a7004(0xa8)](_0x49982b){const _0x3e8157=_0x4a7004,{locale:_0x5c0bd2}=this[_0x3e8157(0x9c)],_0x372664=this[_0x3e8157(0x9c)][_0x3e8157(0xcf)][_0x3e8157(0xda)](_0x3e8157(0x8e));return _0x49982b[_0x3e8157(0x8d)](_0x65ba50=>{const _0x333f57=_0x3e8157,_0x48802c=this[_0x333f57(0x8a)](_0x1e3b37,_0x65ba50[_0x333f57(0xb6)]);return _0x48802c[_0x333f57(0xcc)]=!0x0,_0x48802c[_0x333f57(0xb1)]=_0x65ba50[_0x333f57(0xb1)],_0x48802c[_0x333f57(0x8b)](_0x333f57(0x90))['to'](_0x372664,_0x333f57(0xa5),_0x4cee0d=>_0x5908b1(_0x5c0bd2,_0x65ba50[_0x333f57(0xb6)],_0x4cee0d?_0x333f57(0x9e):_0x333f57(0x93))[_0x333f57(0x98)]),_0x48802c;});}[_0x4a7004(0xab)](_0x165cb3){const _0x10c401=_0x4a7004;return _0x165cb3[_0x10c401(0x8d)](_0x564759=>{const _0x3183f2=_0x10c401,_0x23b012=this[_0x3183f2(0x8a)](_0x10719e,_0x564759[_0x3183f2(0xb6)]);return _0x23b012[_0x3183f2(0xb1)]=_0x564759[_0x3183f2(0xb1)],_0x23b012[_0x3183f2(0x90)]=_0x564759[_0x3183f2(0xa1)],_0x23b012;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x33a50f}from'ckeditor5/src/core.js';import{FileRepository as _0x4daaae}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x53bcb1}from'./uploadcareediting.js';import{UploadUtils as _0x2e9b2a}from'./utils/uploadutils.js';import{getImageUrls as _0x3866f3}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x33a50f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4daaae,_0x53bcb1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b003e=this['editor'];if(!!!_0x1b003e['config']['get']('uploadcare'))return;_0x1b003e['plugins']['get'](_0x4daaae)['createUploadAdapter']=_0x22a870=>new k(_0x22a870,_0x1b003e),_0x1b003e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xf77042,{imageElement:_0x322e8e,data:_0x153608})=>{_0x1b003e['model']['change'](_0x27ed75=>{_0x27ed75['setAttribute']('uploadcareImageId',_0x153608['uploadcareImageId'],_0x322e8e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2b857f,_0xc97324){this['loader']=_0x2b857f,this['editor']=_0xc97324,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x515db4=await this['loader']['file'];return _0x2e9b2a['upload']({'file':_0x515db4,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x58f66d=>{_0x58f66d&&_0x58f66d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x58f66d['value']);}})['then'](async _0x934feb=>{const {imageFallbackUrl:_0x24ebe1,imageSources:_0xdb6b72}=_0x3866f3(_0x934feb['cdnUrl'],_0x934feb['imageInfo']['width']);return{'uploadcareImageId':_0x934feb['uuid'],'default':_0x24ebe1,'sources':_0xdb6b72};})['catch'](()=>{const _0x507398=t('Cannot\x20upload\x20file:')+('\x20'+_0x515db4['name']+'.');return Promise['reject'](_0x507398);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x276509}from'ckeditor5/src/core.js';import{FileRepository as _0x323524}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1e232c}from'./uploadcareediting.js';import{UploadUtils as _0x33c479}from'./utils/uploadutils.js';import{getImageUrls as _0xea1893}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x276509{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x323524,_0x1e232c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4628c7=this['editor'];if(!!!_0x4628c7['config']['get']('uploadcare'))return;_0x4628c7['plugins']['get'](_0x323524)['createUploadAdapter']=_0x98bb46=>new k(_0x98bb46,_0x4628c7),_0x4628c7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x39b992,{imageElement:_0x5a48a8,data:_0xc7d821})=>{_0x4628c7['model']['change'](_0x545a9c=>{_0x545a9c['setAttribute']('uploadcareImageId',_0xc7d821['uploadcareImageId'],_0x5a48a8);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x135a2f,_0x7976db){this['loader']=_0x135a2f,this['editor']=_0x7976db,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x44b4de=await this['loader']['file'];return _0x33c479['upload']({'file':_0x44b4de,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x23b856=>{_0x23b856&&_0x23b856['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x23b856['value']);}})['then'](async _0x2c6ec0=>{const {imageFallbackUrl:_0x129539,imageSources:_0x2ba458}=_0xea1893(_0x2c6ec0['cdnUrl'],_0x2c6ec0['imageInfo']['width']);return{'uploadcareImageId':_0x2c6ec0['uuid'],'default':_0x129539,'sources':_0x2ba458};})['catch'](()=>{const _0x1eaae1=t('Cannot\x20upload\x20file:')+('\x20'+_0x44b4de['name']+'.');return Promise['reject'](_0x1eaae1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x26f58b}from'../uploadcareconfig.js';export function getTranslation(_0x3ff771,_0x105e3c,_0x2c87a0){const t=_0x3ff771['t'],_0x26368b=_0x3ff771['t'];switch(_0x105e3c){case _0x26f58b['Local']:return{'text':_0x26368b('Insert'===_0x2c87a0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x26368b('From\x20computer')};case _0x26f58b['URL']:return{'text':'Insert'===_0x2c87a0?_0x26368b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x26368b('Via\x20URL')};case _0x26f58b['Dropbox']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x26f58b['Facebook']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x26f58b['GDrive']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x26f58b['GPhotos']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x26f58b['OneDrive']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x105e3c;}}
23
+ import{UploadcareSource as _0x56f3f6}from'../uploadcareconfig.js';export function getTranslation(_0x5a2120,_0x5d354d,_0x2b9d22){const t=_0x5a2120['t'],_0x1d0120=_0x5a2120['t'];switch(_0x5d354d){case _0x56f3f6['Local']:return{'text':_0x1d0120('Insert'===_0x2b9d22?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1d0120('From\x20computer')};case _0x56f3f6['URL']:return{'text':'Insert'===_0x2b9d22?_0x1d0120('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1d0120('Via\x20URL')};case _0x56f3f6['Dropbox']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x56f3f6['Facebook']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x56f3f6['GDrive']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x56f3f6['GPhotos']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x56f3f6['OneDrive']:return{'text':t('Insert'===_0x2b9d22?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5d354d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a4d(_0x2c0ed8,_0x5d31d2){var _0x14645a=_0x1464();return _0x2a4d=function(_0x2a4d31,_0x1453b5){_0x2a4d31=_0x2a4d31-0x12d;var _0x10aa8a=_0x14645a[_0x2a4d31];return _0x10aa8a;},_0x2a4d(_0x2c0ed8,_0x5d31d2);}var _0x2d6e9e=_0x2a4d;function _0x1464(){var _0x4fbd8e=['2251988eUCMQU','4690wIHJUX','9147296WUOOML','10bdzQyc','171UfXGlv','fire','focusCycler','createCollection','3664824jEkits','bindTemplate','div','10838232qSTtSE','1604705NEAkuL','forwardCycle','getFocusableElement','focusTracker','true','3DbqcfX','4821908HgooSa'];_0x1464=function(){return _0x4fbd8e;};return _0x1464();}(function(_0x51b7fe,_0x59d986){var _0x1f081c=_0x2a4d,_0x358a30=_0x51b7fe();while(!![]){try{var _0x837859=parseInt(_0x1f081c(0x12f))/0x1*(parseInt(_0x1f081c(0x13f))/0x2)+parseInt(_0x1f081c(0x13c))/0x3*(parseInt(_0x1f081c(0x13e))/0x4)+-parseInt(_0x1f081c(0x137))/0x5+parseInt(_0x1f081c(0x133))/0x6+-parseInt(_0x1f081c(0x13d))/0x7+-parseInt(_0x1f081c(0x12d))/0x8+-parseInt(_0x1f081c(0x136))/0x9*(-parseInt(_0x1f081c(0x12e))/0xa);if(_0x837859===_0x59d986)break;else _0x358a30['push'](_0x358a30['shift']());}catch(_0x244166){_0x358a30['push'](_0x358a30['shift']());}}}(_0x1464,0x98cb7));import{FocusTracker as _0x16a890}from'ckeditor5/src/utils.js';import{View as _0xe42d4a,FocusCycler as _0x4833e2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xe42d4a{[_0x2d6e9e(0x13a)];[_0x2d6e9e(0x131)];constructor(_0xa7582f){var _0x542a81=_0x2d6e9e;super(_0xa7582f),this[_0x542a81(0x13a)]=new _0x16a890(),this[_0x542a81(0x131)]=new _0x4833e2({'focusables':this[_0x542a81(0x132)](),'focusTracker':this[_0x542a81(0x13a)]});}[_0x2d6e9e(0x139)](){var _0x33f8c3=_0x2d6e9e;return{'tag':_0x33f8c3(0x135),'attributes':{'aria-hidden':_0x33f8c3(0x13b),'tabindex':'0'},'on':{'focus':this[_0x33f8c3(0x134)]['to'](()=>{var _0xbfc940=_0x33f8c3;this[_0xbfc940(0x131)][_0xbfc940(0x130)](_0xbfc940(0x138));})}};}}
23
+ var _0x79aa81=_0x3414;(function(_0x32341e,_0x2a7073){var _0x50c8e0=_0x3414,_0x462f13=_0x32341e();while(!![]){try{var _0x3a602d=parseInt(_0x50c8e0(0x74))/0x1+-parseInt(_0x50c8e0(0x7c))/0x2*(-parseInt(_0x50c8e0(0x7b))/0x3)+-parseInt(_0x50c8e0(0x73))/0x4+-parseInt(_0x50c8e0(0x6e))/0x5+-parseInt(_0x50c8e0(0x77))/0x6+-parseInt(_0x50c8e0(0x72))/0x7*(-parseInt(_0x50c8e0(0x7f))/0x8)+-parseInt(_0x50c8e0(0x7a))/0x9*(-parseInt(_0x50c8e0(0x6d))/0xa);if(_0x3a602d===_0x2a7073)break;else _0x462f13['push'](_0x462f13['shift']());}catch(_0x1e2870){_0x462f13['push'](_0x462f13['shift']());}}}(_0x4bf7,0x3198e));function _0x4bf7(){var _0x382020=['focusCycler','456aBgPAM','4990NEVVlW','814575DbXIiF','focusTracker','fire','true','44786fKDhqJ','1244064kgQFxV','70370jevMqN','createCollection','forwardCycle','1456458WzNseW','bindTemplate','div','8262mIFWWj','33BsFsxL','4852RSyyGf','getFocusableElement'];_0x4bf7=function(){return _0x382020;};return _0x4bf7();}import{FocusTracker as _0x50c4bf}from'ckeditor5/src/utils.js';import{View as _0xbab881,FocusCycler as _0x3f2408}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x3414(_0x3f355f,_0x11f7fc){var _0x4bf715=_0x4bf7();return _0x3414=function(_0x3414c9,_0x1f186d){_0x3414c9=_0x3414c9-0x6d;var _0x2cc445=_0x4bf715[_0x3414c9];return _0x2cc445;},_0x3414(_0x3f355f,_0x11f7fc);}export class DialogFocusManagerView extends _0xbab881{[_0x79aa81(0x6f)];[_0x79aa81(0x7e)];constructor(_0x1e5c1d){var _0x92e83b=_0x79aa81;super(_0x1e5c1d),this[_0x92e83b(0x6f)]=new _0x50c4bf(),this[_0x92e83b(0x7e)]=new _0x3f2408({'focusables':this[_0x92e83b(0x75)](),'focusTracker':this[_0x92e83b(0x6f)]});}[_0x79aa81(0x7d)](){var _0x497090=_0x79aa81;return{'tag':_0x497090(0x79),'attributes':{'aria-hidden':_0x497090(0x71),'tabindex':'0'},'on':{'focus':this[_0x497090(0x78)]['to'](()=>{var _0x304922=_0x497090;this[_0x304922(0x7e)][_0x304922(0x70)](_0x304922(0x76));})}};}}