@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250707.0 → 0.0.0-nightly-20250710.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 _0x44ea8c=_0x4f66;function _0xbd7c(){const _0xe89360=['href','map','extend','downcast','uc-config','pluginName','editing','imageBlock','isRegistered','cleanupImage','iconHrefResolver','editor','render','view','removeAttribute','428SaxHrV','#uc-icon-arrow-down','_configElement','listenTo','for','schema','_initConfig','configElement','model','attributeToAttribute','getSelectedElement','input[uploadcare-file-input]','_initConversion','3216190kCHoMa','body','1176672zRQQCF','4109949usNXmK','config','insertImage','afterInit','once','locale','getAttribute','imageInline','PictureEditing','7157766iaQfFP','_initCtx','elementToAttribute','document','true','add','destroy','_ctxElement','_initImageProcessingIndicator','uc-upload-ctx-provider','_initSchema','5018kERcNL','replaceImageSource','remove','uploadcare.uploader','uploadcare.pubkey','data-uc-image-id','ucContextId','contentLanguage','fromCharCode','requires','2717016KwCYUb','closeMax','ctxElement','upcast','\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','querySelector','6xyUjfm','execute','selection','get','join','commands','uploader-','uploadcareImageId','conversion','16pfXFyy','uploadcare','appendChild','init','10074160JBZDmC','UploadcareEditing','isOfficialPlugin','uploadcareImageReplace','isPremiumPlugin'];_0xbd7c=function(){return _0xe89360;};return _0xbd7c();}(function(_0x3a1a5d,_0x4dc5d6){const _0x15c734=_0x4f66,_0x4c7e98=_0x3a1a5d();while(!![]){try{const _0x525acf=parseInt(_0x15c734(0xab))/0x1*(parseInt(_0x15c734(0x87))/0x2)+parseInt(_0x15c734(0x96))/0x3+parseInt(_0x15c734(0xb5))/0x4+parseInt(_0x15c734(0x94))/0x5*(-parseInt(_0x15c734(0xbb))/0x6)+parseInt(_0x15c734(0xa0))/0x7+-parseInt(_0x15c734(0xc4))/0x8*(parseInt(_0x15c734(0x97))/0x9)+-parseInt(_0x15c734(0xc8))/0xa;if(_0x525acf===_0x4dc5d6)break;else _0x4c7e98['push'](_0x4c7e98['shift']());}catch(_0x329682){_0x4c7e98['push'](_0x4c7e98['shift']());}}}(_0xbd7c,0x936f4));import{Plugin as _0x32f633}from'ckeditor5/src/core.js';import{Dialog as _0x4ad394}from'ckeditor5/src/ui.js';import{createElement as _0x323619,global as _0x2af326,uid as _0x444bf2}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x129003}from'./uploadcarecommand.js';function _0x4f66(_0x2afadf,_0x53c7fe){const _0xbd7c1a=_0xbd7c();return _0x4f66=function(_0x4f669a,_0x5d5fee){_0x4f669a=_0x4f669a-0x7e;let _0x3b27a7=_0xbd7c1a[_0x4f669a];return _0x3b27a7;},_0x4f66(_0x2afadf,_0x53c7fe);}import{UploadcareUploadAdapter as _0x5a7038}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x362b49}from'./utils/editingutils.js';export class UploadcareEditing extends _0x32f633{[_0x44ea8c(0x89)]=null;[_0x44ea8c(0xa7)]=null;static get[_0x44ea8c(0xd2)](){const _0x2a5bbd=_0x44ea8c;return _0x2a5bbd(0xc9);}static get[_0x44ea8c(0xb4)](){const _0x4cded1=_0x44ea8c;return[_0x4cded1(0x9f),_0x5a7038,_0x4ad394];}static get[_0x44ea8c(0xca)](){return!0x0;}static get[_0x44ea8c(0xcc)](){return!0x0;}[_0x44ea8c(0xb1)];get[_0x44ea8c(0x8e)](){const _0x4ef75e=_0x44ea8c;return this[_0x4ef75e(0x89)];}get[_0x44ea8c(0xb7)](){const _0x415b4a=_0x44ea8c;return this[_0x415b4a(0xa7)];}constructor(_0x53da52){const _0x5cc8da=_0x44ea8c;super(_0x53da52),this[_0x5cc8da(0xb1)]=_0x444bf2();}[_0x44ea8c(0xc7)](){const _0x1ee9fb=_0x44ea8c,_0x4ce752=this[_0x1ee9fb(0x83)];_0x4ce752[_0x1ee9fb(0xc0)][_0x1ee9fb(0xa5)](_0x1ee9fb(0xc5),new _0x129003(_0x4ce752));}[_0x44ea8c(0x9a)](){const _0x291c35=_0x44ea8c;this[_0x291c35(0xaa)](),this[_0x291c35(0x93)](),this[_0x291c35(0x8d)](),this[_0x291c35(0xa1)](),this[_0x291c35(0xa8)](),this[_0x291c35(0x8a)](this[_0x291c35(0x83)],_0x291c35(0xa6),()=>{const _0x40b5c1=_0x291c35;this[_0x40b5c1(0x89)]&&(this[_0x40b5c1(0x89)][_0x40b5c1(0xad)](),this[_0x40b5c1(0x89)]=null),this[_0x40b5c1(0xa7)]&&(this[_0x40b5c1(0xa7)][_0x40b5c1(0xad)](),this[_0x40b5c1(0xa7)]=null);const _0x3e25b9=_0x2af326[_0x40b5c1(0xa3)][_0x40b5c1(0xba)](_0x40b5c1(0x92));_0x3e25b9&&_0x3e25b9[_0x40b5c1(0xad)]();}),async function(_0x14157b){const _0x3a7ba6=_0x1d939f([0x39,0x30,0x45,0x68,0x76,0x47,0x53,0x6d,0x4f,0x56,0x6b,0x65,0x57,0x73,0x33,0x50,0x34,0x69,0x43,0x46,0x62,0x4a,0x79,0x67,0x64,0x7a,0x35,0x44,0x71,0x59,0x58,0x70,0x42,0x36,0x77,0x6c,0x51,0x37,0x4e,0x66,0x54,0x72,0x55,0x6f,0x4b,0x6e,0x31,0x41,0x4d,0x48,0x6a,0x74,0x78,0x52,0x61,0x63,0x32,0x38,0x5a,0x75,0x4c,0x49]),_0x195240=0x271d5d9,_0x23d155=0x276b939^_0x195240,_0x1f3412=window[_0x1d939f([0x44,0x61,0x74,0x65])][_0x1d939f([0x6e,0x6f,0x77])](),_0x5a78cb=_0x14157b[_0x1d939f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c0ed7=new window[(_0x1d939f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e0a34=>{_0x5a78cb[_0x1d939f([0x6f,0x6e,0x63,0x65])](_0x1d939f([0x72,0x65,0x61,0x64,0x79]),_0x4e0a34);}),_0x581bc2={[_0x1d939f([0x6b,0x74,0x79])]:_0x1d939f([0x45,0x43]),[_0x1d939f([0x75,0x73,0x65])]:_0x1d939f([0x73,0x69,0x67]),[_0x1d939f([0x63,0x72,0x76])]:_0x1d939f([0x50,0x2d,0x32,0x35,0x36]),[_0x1d939f([0x78])]:_0x1d939f([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]),[_0x1d939f([0x79])]:_0x1d939f([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]),[_0x1d939f([0x61,0x6c,0x67])]:_0x1d939f([0x45,0x53,0x32,0x35,0x36])},_0x193aa4=_0x5a78cb[_0x1d939f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d939f([0x67,0x65,0x74])](_0x1d939f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ad87a(){let _0x4b3507,_0x1ef530=null,_0x3e5610=null;try{if(_0x193aa4==_0x1d939f([0x47,0x50,0x4c]))return _0x1d939f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b3507=_0x1ab96c(),!_0x4b3507)return _0x1d939f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b3507[_0x1d939f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e5610=_0x3ca501(_0x4b3507[_0x1d939f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b3507[_0x1d939f([0x6a,0x74,0x69])])),await _0x21670b()?_0x47e4b1()?_0x2c0873()?_0x1d939f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39fd38()?(_0x4b3507[_0x1d939f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d939f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ef530=_0x360c33(_0x1d939f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b3507[_0x1d939f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d939f([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ef530=_0x360c33(_0x1d939f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x139539()):_0x1d939f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d939f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d939f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d939f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c0873(){const _0x27606a=[_0x1d939f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d939f([0x74,0x72,0x69,0x61,0x6c])][_0x1d939f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b3507[_0x1d939f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f3412/0x3e8:0xe10*_0x23d155;return _0x4b3507[_0x1d939f([0x65,0x78,0x70])]<_0x27606a;}function _0x47e4b1(){const _0x8cd974=_0x4b3507[_0x1d939f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8cd974&&(!!_0x8cd974[_0x1d939f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d939f([0x2a]))||!!_0x8cd974[_0x1d939f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d939f([0x55,0x50,0x4c,0x43])));}function _0x39fd38(){const _0x2add49=_0x4f66,_0x198a29=_0x4b3507[_0x1d939f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x198a29||0x0==_0x198a29[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x574563}=new URL(window[_0x1d939f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2add49(0xcd)]);if(_0x198a29[_0x1d939f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x574563))return!0x0;const _0x430d97=_0x574563[_0x1d939f([0x73,0x70,0x6c,0x69,0x74])](_0x1d939f([0x2e]));return _0x198a29[_0x1d939f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25eb2a=>_0x25eb2a[_0x1d939f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d939f([0x2a])))[_0x1d939f([0x6d,0x61,0x70])](_0x1d4c24=>_0x1d4c24[_0x1d939f([0x73,0x70,0x6c,0x69,0x74])](_0x1d939f([0x2e])))[_0x1d939f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43802d=>_0x43802d[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x430d97[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d939f([0x6d,0x61,0x70])](_0x392879=>Array(_0x430d97[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x392879[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d939f([0x66,0x69,0x6c,0x6c])](_0x392879[0x0]===_0x1d939f([0x2a])?_0x1d939f([0x2a]):'')[_0x1d939f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x392879))[_0x1d939f([0x73,0x6f,0x6d,0x65])](_0xfa811f=>_0x430d97[_0x1d939f([0x65,0x76,0x65,0x72,0x79])]((_0x597e68,_0x4f999d)=>_0xfa811f[_0x4f999d]===_0x597e68||_0xfa811f[_0x4f999d]===_0x1d939f([0x2a])));}function _0x139539(){return _0x1ef530&&_0x3e5610?new window[(_0x1d939f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x112395,_0x5b4ae9)=>{_0x1ef530[_0x1d939f([0x74,0x68,0x65,0x6e])](_0x112395,_0x5b4ae9),_0x3e5610[_0x1d939f([0x74,0x68,0x65,0x6e])](_0x7ab703=>{_0x7ab703!=_0x1d939f([0x56,0x61,0x6c,0x69,0x64])&&_0x112395(_0x7ab703);},_0x5b4ae9);}):_0x1ef530||_0x3e5610||_0x1d939f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ca501(_0x5fc29a,_0xdfb06c){return new window[(_0x1d939f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50e6e8=>{if(_0x23dfd6())return _0x50e6e8(_0x1d939f([0x56,0x61,0x6c,0x69,0x64]));_0xfee752(),_0x5a78cb[_0x1d939f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d939f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3759c4=!0x1;const _0x37f6a9=_0x444bf2();function _0x17add4(_0x2e4ee3){return!!_0x2e4ee3&&(typeof _0x2e4ee3===_0x1d939f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e4ee3===_0x1d939f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e4ee3[_0x1d939f([0x74,0x68,0x65,0x6e])]===_0x1d939f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e4ee3[_0x1d939f([0x63,0x61,0x74,0x63,0x68])]===_0x1d939f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23a184(_0x2d65ed){_0x38a484(_0x2d65ed)[_0x1d939f([0x74,0x68,0x65,0x6e])](_0x4a1c37=>{if(!_0x4a1c37||_0x4a1c37[_0x1d939f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d939f([0x6f,0x6b]))return _0x1d939f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x496ade(_0x4b840a(_0x37f6a9+_0xdfb06c))!=_0x4a1c37[_0x1d939f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d939f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d939f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d939f([0x74,0x68,0x65,0x6e])](_0x4710d6=>(_0x1612ad(),_0x4710d6),()=>{const _0x4b78d7=_0x5eb8a4();return null==_0x4b78d7?(_0x1612ad(),_0x1d939f([0x56,0x61,0x6c,0x69,0x64])):_0x1d939f(_0x1f3412-_0x4b78d7>(0x267d51d9^_0x195240)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d939f([0x74,0x68,0x65,0x6e])](_0x50e6e8)[_0x1d939f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50e6e8(_0x1d939f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15d9c3=0x2473b59^_0x195240;function _0x1612ad(){const _0x114e3f=_0x1d939f([0x6c,0x6c,0x63,0x74,0x2d])+_0x496ade(_0x4b840a(_0x5fc29a)),_0x4a0131=_0x564d58(_0x496ade(window[_0x1d939f([0x4d,0x61,0x74,0x68])][_0x1d939f([0x63,0x65,0x69,0x6c])](_0x1f3412/_0x15d9c3)));window[_0x1d939f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d939f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x114e3f,_0x4a0131);}function _0x5eb8a4(){const _0x20ac3a=_0x1d939f([0x6c,0x6c,0x63,0x74,0x2d])+_0x496ade(_0x4b840a(_0x5fc29a)),_0x2e7059=window[_0x1d939f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d939f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20ac3a);return _0x2e7059?window[_0x1d939f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x564d58(_0x2e7059),0x10)*_0x15d9c3:null;}function _0x38a484(_0x414552){return new window[(_0x1d939f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x286b7f,_0xa34dcd)=>{_0x414552[_0x1d939f([0x74,0x68,0x65,0x6e])](_0x286b7f,_0xa34dcd),window[_0x1d939f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa34dcd,0x2700119^_0x195240);});}}_0x5a78cb[_0x1d939f([0x6f,0x6e])](_0x1d939f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30914c,_0x507afd)=>{if(_0x507afd[0x0]!=_0x5fc29a)return _0x50e6e8(_0x1d939f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x507afd[0x1]={..._0x507afd[0x1],[_0x1d939f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37f6a9};},{[_0x1d939f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d939f([0x68,0x69,0x67,0x68])}),_0x5a78cb[_0x1d939f([0x6f,0x6e])](_0x1d939f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c412f=>{_0x17add4(_0x4c412f[_0x1d939f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3759c4=!0x0,_0x23a184(_0x4c412f[_0x1d939f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d939f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d939f([0x6c,0x6f,0x77])}),_0x5c0ed7[_0x1d939f([0x74,0x68,0x65,0x6e])](()=>{_0x3759c4||_0x50e6e8(_0x1d939f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23dfd6(){return _0x5a78cb[_0x1d939f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d939f([0x76,0x69,0x65,0x77])][_0x1d939f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d939f([0x61,0x75,0x74,0x6f]);}function _0xfee752(){_0x5a78cb[_0x1d939f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d939f([0x76,0x69,0x65,0x77])][_0x1d939f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d939f([0x61,0x75,0x74,0x6f]);}}function _0x360c33(_0x59cba3){const _0x2be8ec=[new window[(_0x1d939f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cb14a=>setTimeout(_0x2cb14a,0x278eb15^_0x195240)),_0x5c0ed7[_0x1d939f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d939f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x871065=>{let _0x5e4a5f=0x0;_0x5a78cb[_0x1d939f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d939f([0x6f,0x6e])](_0x1d939f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1cd39e,_0x4d313b)=>{_0x4d313b[0x0][_0x1d939f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5e4a5f++,_0x5e4a5f==(0x271d421^_0x195240)&&(_0x871065(),_0x1cd39e[_0x1d939f([0x6f,0x66,0x66])]());});}))];return window[_0x1d939f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d939f([0x72,0x61,0x63,0x65])](_0x2be8ec)[_0x1d939f([0x74,0x68,0x65,0x6e])](()=>_0x59cba3);}async function _0x31690e(){await _0x5c0ed7,_0x5a78cb[_0x1d939f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d939f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50af60,_0x5a78cb[_0x1d939f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d939f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50af60,_0x5a78cb[_0x1d939f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d939f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29342a(_0x3ad772){const _0x477b8c=_0x1d8089();_0x5a78cb[_0x477b8c]=_0x1d939f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ad772,_0x3ad772!=_0x1d939f([0x56,0x61,0x6c,0x69,0x64])&&_0x31690e();}function _0x1d8089(){const _0x517a70=window[_0x1d939f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d939f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d939f([0x6e,0x6f,0x77])]())[_0x1d939f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d939f([0x2e]),'');let _0x4b07ad=_0x1d939f([0x45]);for(let _0x375e17=0x0;_0x375e17<_0x517a70[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x375e17+=0x2){let _0x27a35b=window[_0x1d939f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x517a70[_0x1d939f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x375e17,_0x375e17+0x2));_0x27a35b>=_0x3a7ba6[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27a35b-=_0x3a7ba6[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b07ad+=_0x3a7ba6[_0x27a35b];}return _0x4b07ad;}function _0x1ab96c(){const _0x31a8a9=_0x193aa4[_0x1d939f([0x73,0x70,0x6c,0x69,0x74])](_0x1d939f([0x2e]));if(0x3!=_0x31a8a9[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2da8a2(_0x31a8a9[0x1]);function _0x2da8a2(_0x54796c){const _0x4d3187=_0x5d14ad(_0x54796c);return _0x4d3187&&_0x2c1898()?_0x4d3187:null;function _0x2c1898(){const _0x5a9fb2=_0x4d3187[_0x1d939f([0x6a,0x74,0x69])],_0x430681=window[_0x1d939f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9fb2[_0x1d939f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a9fb2[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43b3b6={..._0x4d3187,[_0x1d939f([0x6a,0x74,0x69])]:_0x5a9fb2[_0x1d939f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a9fb2[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43b3b6[_0x1d939f([0x76,0x63])],_0x4b840a(_0x43b3b6)==_0x430681;}}}async function _0x21670b(){let _0x11fe64=!0x0;try{const _0x5c2e6a=_0x193aa4[_0x1d939f([0x73,0x70,0x6c,0x69,0x74])](_0x1d939f([0x2e])),[_0x2f2370,_0x59b594,_0x13457e]=_0x5c2e6a;return _0x47f807(_0x2f2370),await _0x4f6df9(_0x2f2370,_0x59b594,_0x13457e),_0x11fe64;}catch{return!0x1;}function _0x47f807(_0x2c07d1){const _0x2fd127=_0x5d14ad(_0x2c07d1);_0x2fd127&&_0x2fd127[_0x1d939f([0x61,0x6c,0x67])]==_0x1d939f([0x45,0x53,0x32,0x35,0x36])||(_0x11fe64=!0x1);}async function _0x4f6df9(_0x4e0765,_0x2b5b11,_0x19bd1e){const _0xda5204=window[_0x1d939f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d939f([0x66,0x72,0x6f,0x6d])](_0x308e01(_0x19bd1e),_0x5c7426=>_0x5c7426[_0x1d939f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55ef92=new window[(_0x1d939f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d939f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e0765+_0x1d939f([0x2e])+_0x2b5b11),_0x6853f=window[_0x1d939f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d939f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6853f)return;const _0x52ec23=await _0x6853f[_0x1d939f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d939f([0x6a,0x77,0x6b]),_0x581bc2,{[_0x1d939f([0x6e,0x61,0x6d,0x65])]:_0x1d939f([0x45,0x43,0x44,0x53,0x41]),[_0x1d939f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d939f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d939f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6853f[_0x1d939f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d939f([0x6e,0x61,0x6d,0x65])]:_0x1d939f([0x45,0x43,0x44,0x53,0x41]),[_0x1d939f([0x68,0x61,0x73,0x68])]:{[_0x1d939f([0x6e,0x61,0x6d,0x65])]:_0x1d939f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52ec23,_0xda5204,_0x55ef92)||(_0x11fe64=!0x1);}}function _0x5d14ad(_0x43effe){return _0x43effe[_0x1d939f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d939f([0x65,0x79]))?JSON[_0x1d939f([0x70,0x61,0x72,0x73,0x65])](_0x308e01(_0x43effe)):null;}function _0x308e01(_0x123e62){return window[_0x1d939f([0x61,0x74,0x6f,0x62])](_0x123e62[_0x1d939f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d939f([0x2b]))[_0x1d939f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d939f([0x2f])));}function _0x4b840a(_0x2ec3f3){let _0x281da9=0x1505;function _0x53f5ce(_0x110482){for(let _0x4e6842=0x0;_0x4e6842<_0x110482[_0x1d939f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e6842++){const _0x3791a=_0x110482[_0x1d939f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e6842);_0x281da9=(_0x281da9<<0x5)+_0x281da9+_0x3791a,_0x281da9&=_0x281da9;}}function _0x46c675(_0x544ed2){Array[_0x1d939f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x544ed2)?_0x544ed2[_0x1d939f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46c675):_0x544ed2&&typeof _0x544ed2==_0x1d939f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d939f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x544ed2)[_0x1d939f([0x73,0x6f,0x72,0x74])]()[_0x1d939f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18fdd,_0xcf7b49])=>{_0x53f5ce(_0x18fdd),_0x46c675(_0xcf7b49);}):_0x53f5ce(window[_0x1d939f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x544ed2));}return _0x46c675(_0x2ec3f3),_0x281da9>>>0x0;}function _0x496ade(_0x78cab3){return _0x78cab3[_0x1d939f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d939f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d939f([0x30]));}function _0x564d58(_0x5104b1){return _0x5104b1[_0x1d939f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d939f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d939f([0x6a,0x6f,0x69,0x6e])]('');}function _0x50af60(){}function _0x1d939f(_0x5853b1){const _0x4e296f=_0x4f66;return _0x5853b1[_0x4e296f(0xce)](_0x3cc3d2=>String[_0x4e296f(0xb3)](_0x3cc3d2))[_0x4e296f(0xbf)]('');}_0x29342a(await _0x5ad87a());}(this);}[_0x44ea8c(0xaa)](){const _0x341f35=_0x44ea8c,_0x187fc3=this[_0x341f35(0x83)][_0x341f35(0x8f)][_0x341f35(0x8c)];_0x187fc3[_0x341f35(0x80)](_0x341f35(0x7f))&&_0x187fc3[_0x341f35(0xcf)](_0x341f35(0x7f),{'allowAttributes':[_0x341f35(0xc2)]}),_0x187fc3[_0x341f35(0x80)](_0x341f35(0x9e))&&_0x187fc3[_0x341f35(0xcf)](_0x341f35(0x9e),{'allowAttributes':[_0x341f35(0xc2)]});}[_0x44ea8c(0x93)](){const _0x3bdffa=_0x44ea8c,_0x54dfcf=this[_0x3bdffa(0x83)];_0x54dfcf[_0x3bdffa(0xc3)][_0x3bdffa(0x8b)](_0x3bdffa(0xd0))[_0x3bdffa(0x90)]({'model':_0x3bdffa(0xc2),'view':_0x3bdffa(0xb0)}),_0x54dfcf[_0x3bdffa(0xc3)][_0x3bdffa(0x8b)](_0x3bdffa(0xb8))[_0x3bdffa(0xa2)]({'model':{'key':_0x3bdffa(0xc2),'value':_0x437bfc=>_0x437bfc[_0x3bdffa(0x9d)](_0x3bdffa(0xb0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x347a14=_0x54dfcf[_0x3bdffa(0xc0)][_0x3bdffa(0xbe)](_0x3bdffa(0xac));_0x347a14&&this[_0x3bdffa(0x8a)](_0x347a14,_0x3bdffa(0x81),(_0x3a7814,[_0x2b79c7,_0x3d7a12])=>{const _0x5e632b=_0x3bdffa;_0x2b79c7[_0x5e632b(0x86)](_0x5e632b(0xc2),_0x3d7a12);});}[_0x44ea8c(0x8d)](){const _0x398eff=_0x44ea8c,_0x23a568=this[_0x398eff(0x83)][_0x398eff(0x98)][_0x398eff(0xbe)](_0x398eff(0xae))||{},_0x34f04e=this[_0x398eff(0x83)][_0x398eff(0x98)][_0x398eff(0xbe)](_0x398eff(0xaf))||'';this[_0x398eff(0x89)]=_0x323619(_0x2af326[_0x398eff(0xa3)],_0x398eff(0xd1),{..._0x23a568,'pubkey':_0x34f04e,'ctx-name':_0x398eff(0xc1)+this[_0x398eff(0xb1)],'sourceList':'','imgOnly':_0x398eff(0xa4),'removeCopyright':_0x398eff(0xa4),'localeName':this[_0x398eff(0x83)][_0x398eff(0x9c)][_0x398eff(0xb2)],'externalSourcesEmbedCss':_0x398eff(0xb9)}),this[_0x398eff(0x89)][_0x398eff(0x82)]=_0x209d6d=>{const _0x2696fc=_0x398eff;if(_0x2696fc(0xb6)==_0x209d6d)return _0x2696fc(0x88);},_0x2af326[_0x398eff(0xa3)][_0x398eff(0x95)][_0x398eff(0xc6)](this[_0x398eff(0x89)]);}[_0x44ea8c(0xa1)](){const _0x45efd2=_0x44ea8c;this[_0x45efd2(0xa7)]=_0x323619(_0x2af326[_0x45efd2(0xa3)],_0x45efd2(0xa9),{'ctx-name':_0x45efd2(0xc1)+this[_0x45efd2(0xb1)]}),_0x2af326[_0x45efd2(0xa3)][_0x45efd2(0x95)][_0x45efd2(0xc6)](this[_0x45efd2(0xa7)]);}[_0x44ea8c(0xa8)](){const _0x524c7e=_0x44ea8c,_0xe5fa7d=this[_0x524c7e(0x83)][_0x524c7e(0xc0)][_0x524c7e(0xbe)](_0x524c7e(0x99));_0xe5fa7d&&this[_0x524c7e(0x8a)](_0xe5fa7d,_0x524c7e(0xbc),()=>{const _0x5be5b5=_0x524c7e,_0x319b2f=this[_0x5be5b5(0x83)][_0x5be5b5(0x8f)][_0x5be5b5(0xa3)][_0x5be5b5(0xbd)][_0x5be5b5(0x91)]();_0x319b2f&&_0x319b2f[_0x5be5b5(0x9d)](_0x5be5b5(0xc2))&&this[_0x5be5b5(0x83)][_0x5be5b5(0x7e)][_0x5be5b5(0x85)][_0x5be5b5(0x9b)](_0x5be5b5(0x84),()=>{const _0x64016b=_0x5be5b5;_0x362b49(this[_0x64016b(0x83)],_0x319b2f);});});const _0x5c7661=this[_0x524c7e(0x83)][_0x524c7e(0xc0)][_0x524c7e(0xbe)](_0x524c7e(0xcb));_0x5c7661&&this[_0x524c7e(0x8a)](_0x5c7661,_0x524c7e(0xbc),()=>{const _0x34ab9d=_0x524c7e,_0x5cbb1d=this[_0x34ab9d(0x83)][_0x34ab9d(0x8f)][_0x34ab9d(0xa3)][_0x34ab9d(0xbd)][_0x34ab9d(0x91)]();_0x5cbb1d&&_0x5cbb1d[_0x34ab9d(0x9d)](_0x34ab9d(0xc2))&&this[_0x34ab9d(0x83)][_0x34ab9d(0x7e)][_0x34ab9d(0x85)][_0x34ab9d(0x9b)](_0x34ab9d(0x84),()=>{const _0x307803=_0x34ab9d;_0x362b49(this[_0x307803(0x83)],_0x5cbb1d);});});}}
23
+ function _0x34f8(){const _0x160879=['isPremiumPlugin','href','input[uploadcare-file-input]','replaceImageSource','for','body','_initSchema','editor','ctxElement','uploadcare.pubkey','editing','imageBlock','querySelector','remove','model','selection','_configElement','schema','map','requires','init','cleanupImage','2873884KaMwIl','3135618GvkqAx','execute','listenTo','attributeToAttribute','uploadcare.uploader','#uc-icon-arrow-down','1558608RsMqia','appendChild','join','uploadcareImageReplace','getAttribute','getSelectedElement','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','isOfficialPlugin','uc-upload-ctx-provider','1844430JZGRys','uploadcare','render','conversion','once','view','530320JXjZDa','_initImageProcessingIndicator','2803140xseOPe','UploadcareEditing','downcast','isRegistered','fromCharCode','closeMax','config','true','elementToAttribute','locale','ucContextId','uc-config','contentLanguage','uploadcareImageId','_initConfig','afterInit','imageInline','configElement','data-uc-image-id','uploader-','insertImage','iconHrefResolver','extend','_initCtx','removeAttribute','commands','upcast','3TPsyaF','document','pluginName','destroy','1HWxBkr','_initConversion','add','get','940420Qusjhx','PictureEditing','_ctxElement'];_0x34f8=function(){return _0x160879;};return _0x34f8();}const _0x4a7f88=_0x4e73;(function(_0x1b4a99,_0x53ded7){const _0x54fb07=_0x4e73,_0x221c2a=_0x1b4a99();while(!![]){try{const _0x98b473=parseInt(_0x54fb07(0x9f))/0x1*(parseInt(_0x54fb07(0xcc))/0x2)+parseInt(_0x54fb07(0x9b))/0x3*(-parseInt(_0x54fb07(0xbc))/0x4)+-parseInt(_0x54fb07(0xa3))/0x5+parseInt(_0x54fb07(0xbd))/0x6+-parseInt(_0x54fb07(0xd2))/0x7+-parseInt(_0x54fb07(0xc3))/0x8+parseInt(_0x54fb07(0xd4))/0x9;if(_0x98b473===_0x53ded7)break;else _0x221c2a['push'](_0x221c2a['shift']());}catch(_0x477d0f){_0x221c2a['push'](_0x221c2a['shift']());}}}(_0x34f8,0x8d641));import{Plugin as _0x4119c9}from'ckeditor5/src/core.js';import{Dialog as _0x527563}from'ckeditor5/src/ui.js';import{createElement as _0x3b78a2,global as _0x5d57c2,uid as _0x8b3653}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x56dfa3}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2b4d70}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x88c0f0}from'./utils/editingutils.js';function _0x4e73(_0x28dd8d,_0x318c9b){const _0x34f833=_0x34f8();return _0x4e73=function(_0x4e73bb,_0x2fe4aa){_0x4e73bb=_0x4e73bb-0x8d;let _0x545099=_0x34f833[_0x4e73bb];return _0x545099;},_0x4e73(_0x28dd8d,_0x318c9b);}export class UploadcareEditing extends _0x4119c9{[_0x4a7f88(0xb6)]=null;[_0x4a7f88(0xa5)]=null;static get[_0x4a7f88(0x9d)](){const _0x28eacf=_0x4a7f88;return _0x28eacf(0xd5);}static get[_0x4a7f88(0xb9)](){const _0x117351=_0x4a7f88;return[_0x117351(0xa4),_0x2b4d70,_0x527563];}static get[_0x4a7f88(0xca)](){return!0x0;}static get[_0x4a7f88(0xa6)](){return!0x0;}[_0x4a7f88(0xde)];get[_0x4a7f88(0x91)](){const _0x3274e3=_0x4a7f88;return this[_0x3274e3(0xb6)];}get[_0x4a7f88(0xae)](){const _0x4b68a5=_0x4a7f88;return this[_0x4b68a5(0xa5)];}constructor(_0x18dfc0){const _0x34da4c=_0x4a7f88;super(_0x18dfc0),this[_0x34da4c(0xde)]=_0x8b3653();}[_0x4a7f88(0xba)](){const _0x115eec=_0x4a7f88,_0x27e5e0=this[_0x115eec(0xad)];_0x27e5e0[_0x115eec(0x99)][_0x115eec(0xa1)](_0x115eec(0xcd),new _0x56dfa3(_0x27e5e0));}[_0x4a7f88(0x8f)](){const _0xe4f5f9=_0x4a7f88;this[_0xe4f5f9(0xac)](),this[_0xe4f5f9(0xa0)](),this[_0xe4f5f9(0x8e)](),this[_0xe4f5f9(0x97)](),this[_0xe4f5f9(0xd3)](),this[_0xe4f5f9(0xbf)](this[_0xe4f5f9(0xad)],_0xe4f5f9(0x9e),()=>{const _0x368fcc=_0xe4f5f9;this[_0x368fcc(0xb6)]&&(this[_0x368fcc(0xb6)][_0x368fcc(0xb3)](),this[_0x368fcc(0xb6)]=null),this[_0x368fcc(0xa5)]&&(this[_0x368fcc(0xa5)][_0x368fcc(0xb3)](),this[_0x368fcc(0xa5)]=null);const _0x30edb4=_0x5d57c2[_0x368fcc(0x9c)][_0x368fcc(0xb2)](_0x368fcc(0xa8));_0x30edb4&&_0x30edb4[_0x368fcc(0xb3)]();}),async function(_0x41f03e){const _0x112174=_0x38e719([0x42,0x43,0x49,0x51,0x41,0x30,0x66,0x31,0x77,0x56,0x32,0x63,0x55,0x71,0x72,0x4e,0x62,0x6c,0x79,0x6e,0x44,0x33,0x64,0x50,0x57,0x58,0x48,0x52,0x68,0x38,0x76,0x34,0x73,0x46,0x4c,0x69,0x65,0x74,0x45,0x54,0x4a,0x53,0x47,0x35,0x59,0x6d,0x37,0x6f,0x7a,0x78,0x5a,0x36,0x6a,0x75,0x4b,0x61,0x4d,0x67,0x4f,0x6b,0x70,0x39]),_0x594fbf=0x758c05b0,_0x2f75fc=0x758b6898^_0x594fbf,_0x2e0ffd=window[_0x38e719([0x44,0x61,0x74,0x65])][_0x38e719([0x6e,0x6f,0x77])](),_0x325d44=_0x41f03e[_0x38e719([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57e00f=new window[(_0x38e719([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e8bba=>{_0x325d44[_0x38e719([0x6f,0x6e,0x63,0x65])](_0x38e719([0x72,0x65,0x61,0x64,0x79]),_0x1e8bba);}),_0x4836d3={[_0x38e719([0x6b,0x74,0x79])]:_0x38e719([0x45,0x43]),[_0x38e719([0x75,0x73,0x65])]:_0x38e719([0x73,0x69,0x67]),[_0x38e719([0x63,0x72,0x76])]:_0x38e719([0x50,0x2d,0x32,0x35,0x36]),[_0x38e719([0x78])]:_0x38e719([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]),[_0x38e719([0x79])]:_0x38e719([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]),[_0x38e719([0x61,0x6c,0x67])]:_0x38e719([0x45,0x53,0x32,0x35,0x36])},_0x39b19a=_0x325d44[_0x38e719([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38e719([0x67,0x65,0x74])](_0x38e719([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x190258(){let _0x4846c5,_0x58c52c=null,_0x4e8781=null;try{if(_0x39b19a==_0x38e719([0x47,0x50,0x4c]))return _0x38e719([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4846c5=_0x3170ee(),!_0x4846c5)return _0x38e719([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4846c5[_0x38e719([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e8781=_0x408472(_0x4846c5[_0x38e719([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4846c5[_0x38e719([0x6a,0x74,0x69])])),await _0x6991ef()?_0x496697()?_0x490ca7()?_0x38e719([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c6824()?(_0x4846c5[_0x38e719([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38e719([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58c52c=_0x398482(_0x38e719([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4846c5[_0x38e719([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38e719([0x74,0x72,0x69,0x61,0x6c])&&(_0x58c52c=_0x398482(_0x38e719([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x309878()):_0x38e719([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38e719([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38e719([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38e719([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x490ca7(){const _0xd63f9b=[_0x38e719([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38e719([0x74,0x72,0x69,0x61,0x6c])][_0x38e719([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4846c5[_0x38e719([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e0ffd/0x3e8:0xe10*_0x2f75fc;return _0x4846c5[_0x38e719([0x65,0x78,0x70])]<_0xd63f9b;}function _0x496697(){const _0x401b9e=_0x4846c5[_0x38e719([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x401b9e&&(!!_0x401b9e[_0x38e719([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38e719([0x2a]))||!!_0x401b9e[_0x38e719([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38e719([0x55,0x50,0x4c,0x43])));}function _0x4c6824(){const _0x4a62c0=_0x4e73,_0x3f29d9=_0x4846c5[_0x38e719([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f29d9||0x0==_0x3f29d9[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1450cb}=new URL(window[_0x38e719([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4a62c0(0xa7)]);if(_0x3f29d9[_0x38e719([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1450cb))return!0x0;const _0x316a97=_0x1450cb[_0x38e719([0x73,0x70,0x6c,0x69,0x74])](_0x38e719([0x2e]));return _0x3f29d9[_0x38e719([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x305fad=>_0x305fad[_0x38e719([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38e719([0x2a])))[_0x38e719([0x6d,0x61,0x70])](_0x50576b=>_0x50576b[_0x38e719([0x73,0x70,0x6c,0x69,0x74])](_0x38e719([0x2e])))[_0x38e719([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x419f1e=>_0x419f1e[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x316a97[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38e719([0x6d,0x61,0x70])](_0xf19e07=>Array(_0x316a97[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf19e07[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38e719([0x66,0x69,0x6c,0x6c])](_0xf19e07[0x0]===_0x38e719([0x2a])?_0x38e719([0x2a]):'')[_0x38e719([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf19e07))[_0x38e719([0x73,0x6f,0x6d,0x65])](_0x5e8659=>_0x316a97[_0x38e719([0x65,0x76,0x65,0x72,0x79])]((_0x471585,_0x410be7)=>_0x5e8659[_0x410be7]===_0x471585||_0x5e8659[_0x410be7]===_0x38e719([0x2a])));}function _0x309878(){return _0x58c52c&&_0x4e8781?new window[(_0x38e719([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9b6f92,_0x2d05ca)=>{_0x58c52c[_0x38e719([0x74,0x68,0x65,0x6e])](_0x9b6f92,_0x2d05ca),_0x4e8781[_0x38e719([0x74,0x68,0x65,0x6e])](_0x16f4ff=>{_0x16f4ff!=_0x38e719([0x56,0x61,0x6c,0x69,0x64])&&_0x9b6f92(_0x16f4ff);},_0x2d05ca);}):_0x58c52c||_0x4e8781||_0x38e719([0x56,0x61,0x6c,0x69,0x64]);}}function _0x408472(_0xca048a,_0x2d0d33){return new window[(_0x38e719([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f8245=>{if(_0xf75352())return _0x2f8245(_0x38e719([0x56,0x61,0x6c,0x69,0x64]));_0xd4014c(),_0x325d44[_0x38e719([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38e719([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23d4fb=!0x1;const _0x3b1230=_0x8b3653();function _0x4f31fb(_0x477394){return!!_0x477394&&(typeof _0x477394===_0x38e719([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x477394===_0x38e719([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x477394[_0x38e719([0x74,0x68,0x65,0x6e])]===_0x38e719([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x477394[_0x38e719([0x63,0x61,0x74,0x63,0x68])]===_0x38e719([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d7e1e(_0xad2916){_0x115510(_0xad2916)[_0x38e719([0x74,0x68,0x65,0x6e])](_0x139e3a=>{if(!_0x139e3a||_0x139e3a[_0x38e719([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38e719([0x6f,0x6b]))return _0x38e719([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a0f4c(_0x584ea1(_0x3b1230+_0x2d0d33))!=_0x139e3a[_0x38e719([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38e719([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38e719([0x56,0x61,0x6c,0x69,0x64]);})[_0x38e719([0x74,0x68,0x65,0x6e])](_0x2e7a8a=>(_0xfe79da(),_0x2e7a8a),()=>{const _0x2988b0=_0x2012cc();return null==_0x2988b0?(_0xfe79da(),_0x38e719([0x56,0x61,0x6c,0x69,0x64])):_0x38e719(_0x2e0ffd-_0x2988b0>(0x518081b0^_0x594fbf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38e719([0x74,0x68,0x65,0x6e])](_0x2f8245)[_0x38e719([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f8245(_0x38e719([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2470fd=0x75baeb30^_0x594fbf;function _0xfe79da(){const _0x48f27e=_0x38e719([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a0f4c(_0x584ea1(_0xca048a)),_0x508c2a=_0x16010d(_0x4a0f4c(window[_0x38e719([0x4d,0x61,0x74,0x68])][_0x38e719([0x63,0x65,0x69,0x6c])](_0x2e0ffd/_0x2470fd)));window[_0x38e719([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38e719([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48f27e,_0x508c2a);}function _0x2012cc(){const _0x5847e9=_0x38e719([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a0f4c(_0x584ea1(_0xca048a)),_0x42a572=window[_0x38e719([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38e719([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5847e9);return _0x42a572?window[_0x38e719([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16010d(_0x42a572),0x10)*_0x2470fd:null;}function _0x115510(_0x2029cc){return new window[(_0x38e719([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x139b78,_0x48fc0b)=>{_0x2029cc[_0x38e719([0x74,0x68,0x65,0x6e])](_0x139b78,_0x48fc0b),window[_0x38e719([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48fc0b,0x758dd170^_0x594fbf);});}}_0x325d44[_0x38e719([0x6f,0x6e])](_0x38e719([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12f8f4,_0x4b55d7)=>{if(_0x4b55d7[0x0]!=_0xca048a)return _0x2f8245(_0x38e719([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b55d7[0x1]={..._0x4b55d7[0x1],[_0x38e719([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b1230};},{[_0x38e719([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38e719([0x68,0x69,0x67,0x68])}),_0x325d44[_0x38e719([0x6f,0x6e])](_0x38e719([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a1a7f=>{_0x4f31fb(_0x1a1a7f[_0x38e719([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23d4fb=!0x0,_0x5d7e1e(_0x1a1a7f[_0x38e719([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38e719([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38e719([0x6c,0x6f,0x77])}),_0x57e00f[_0x38e719([0x74,0x68,0x65,0x6e])](()=>{_0x23d4fb||_0x2f8245(_0x38e719([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf75352(){return _0x325d44[_0x38e719([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38e719([0x76,0x69,0x65,0x77])][_0x38e719([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38e719([0x61,0x75,0x74,0x6f]);}function _0xd4014c(){_0x325d44[_0x38e719([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38e719([0x76,0x69,0x65,0x77])][_0x38e719([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38e719([0x61,0x75,0x74,0x6f]);}}function _0x398482(_0x35568b){const _0x4c4ccc=[new window[(_0x38e719([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310b07=>setTimeout(_0x310b07,0x75853b7c^_0x594fbf)),_0x57e00f[_0x38e719([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38e719([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24bedc=>{let _0x9929de=0x0;_0x325d44[_0x38e719([0x6d,0x6f,0x64,0x65,0x6c])][_0x38e719([0x6f,0x6e])](_0x38e719([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2260a8,_0x2a3f67)=>{_0x2a3f67[0x0][_0x38e719([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9929de++,_0x9929de==(0x758c0448^_0x594fbf)&&(_0x24bedc(),_0x2260a8[_0x38e719([0x6f,0x66,0x66])]());});}))];return window[_0x38e719([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38e719([0x72,0x61,0x63,0x65])](_0x4c4ccc)[_0x38e719([0x74,0x68,0x65,0x6e])](()=>_0x35568b);}async function _0x4dd23d(){await _0x57e00f,_0x325d44[_0x38e719([0x6d,0x6f,0x64,0x65,0x6c])][_0x38e719([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3328a4,_0x325d44[_0x38e719([0x6d,0x6f,0x64,0x65,0x6c])][_0x38e719([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3328a4,_0x325d44[_0x38e719([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38e719([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fa809(_0xeb02ae){const _0x4e221c=_0x1ee648();_0x325d44[_0x4e221c]=_0x38e719([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xeb02ae,_0xeb02ae!=_0x38e719([0x56,0x61,0x6c,0x69,0x64])&&_0x4dd23d();}function _0x1ee648(){const _0x24e44a=window[_0x38e719([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38e719([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38e719([0x6e,0x6f,0x77])]())[_0x38e719([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38e719([0x2e]),'');let _0x150392=_0x38e719([0x42]);for(let _0x3bb1f3=0x0;_0x3bb1f3<_0x24e44a[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bb1f3+=0x2){let _0x5a335d=window[_0x38e719([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24e44a[_0x38e719([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bb1f3,_0x3bb1f3+0x2));_0x5a335d>=_0x112174[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a335d-=_0x112174[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x150392+=_0x112174[_0x5a335d];}return _0x150392;}function _0x3170ee(){const _0x4ffa53=_0x39b19a[_0x38e719([0x73,0x70,0x6c,0x69,0x74])](_0x38e719([0x2e]));if(0x3!=_0x4ffa53[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e83e5(_0x4ffa53[0x1]);function _0x4e83e5(_0x49e015){const _0x3afec5=_0x1419d0(_0x49e015);return _0x3afec5&&_0x322be5()?_0x3afec5:null;function _0x322be5(){const _0x34c3cb=_0x3afec5[_0x38e719([0x6a,0x74,0x69])],_0x3b592a=window[_0x38e719([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34c3cb[_0x38e719([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34c3cb[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ca55d={..._0x3afec5,[_0x38e719([0x6a,0x74,0x69])]:_0x34c3cb[_0x38e719([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34c3cb[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ca55d[_0x38e719([0x76,0x63])],_0x584ea1(_0x5ca55d)==_0x3b592a;}}}async function _0x6991ef(){let _0x353152=!0x0;try{const _0x335e90=_0x39b19a[_0x38e719([0x73,0x70,0x6c,0x69,0x74])](_0x38e719([0x2e])),[_0x13b372,_0x550d51,_0x1fb2dd]=_0x335e90;return _0x5365c4(_0x13b372),await _0x4bb995(_0x13b372,_0x550d51,_0x1fb2dd),_0x353152;}catch{return!0x1;}function _0x5365c4(_0x12e011){const _0x5a6648=_0x1419d0(_0x12e011);_0x5a6648&&_0x5a6648[_0x38e719([0x61,0x6c,0x67])]==_0x38e719([0x45,0x53,0x32,0x35,0x36])||(_0x353152=!0x1);}async function _0x4bb995(_0x2dbd10,_0x52f17d,_0x13ba22){const _0x1d83ac=window[_0x38e719([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38e719([0x66,0x72,0x6f,0x6d])](_0x5441c2(_0x13ba22),_0x40f282=>_0x40f282[_0x38e719([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28df9a=new window[(_0x38e719([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38e719([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dbd10+_0x38e719([0x2e])+_0x52f17d),_0x19f059=window[_0x38e719([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38e719([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x19f059)return;const _0x375492=await _0x19f059[_0x38e719([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38e719([0x6a,0x77,0x6b]),_0x4836d3,{[_0x38e719([0x6e,0x61,0x6d,0x65])]:_0x38e719([0x45,0x43,0x44,0x53,0x41]),[_0x38e719([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38e719([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38e719([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x19f059[_0x38e719([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38e719([0x6e,0x61,0x6d,0x65])]:_0x38e719([0x45,0x43,0x44,0x53,0x41]),[_0x38e719([0x68,0x61,0x73,0x68])]:{[_0x38e719([0x6e,0x61,0x6d,0x65])]:_0x38e719([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x375492,_0x1d83ac,_0x28df9a)||(_0x353152=!0x1);}}function _0x1419d0(_0x2404c0){return _0x2404c0[_0x38e719([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38e719([0x65,0x79]))?JSON[_0x38e719([0x70,0x61,0x72,0x73,0x65])](_0x5441c2(_0x2404c0)):null;}function _0x5441c2(_0x57f23){return window[_0x38e719([0x61,0x74,0x6f,0x62])](_0x57f23[_0x38e719([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38e719([0x2b]))[_0x38e719([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38e719([0x2f])));}function _0x584ea1(_0x2d71da){let _0x226295=0x1505;function _0x17d863(_0x12d202){for(let _0x5633aa=0x0;_0x5633aa<_0x12d202[_0x38e719([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5633aa++){const _0x299586=_0x12d202[_0x38e719([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5633aa);_0x226295=(_0x226295<<0x5)+_0x226295+_0x299586,_0x226295&=_0x226295;}}function _0x485252(_0x32c42d){Array[_0x38e719([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32c42d)?_0x32c42d[_0x38e719([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x485252):_0x32c42d&&typeof _0x32c42d==_0x38e719([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38e719([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32c42d)[_0x38e719([0x73,0x6f,0x72,0x74])]()[_0x38e719([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc27ded,_0x4a0721])=>{_0x17d863(_0xc27ded),_0x485252(_0x4a0721);}):_0x17d863(window[_0x38e719([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32c42d));}return _0x485252(_0x2d71da),_0x226295>>>0x0;}function _0x4a0f4c(_0x246788){return _0x246788[_0x38e719([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38e719([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38e719([0x30]));}function _0x16010d(_0x56d883){return _0x56d883[_0x38e719([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38e719([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38e719([0x6a,0x6f,0x69,0x6e])]('');}function _0x3328a4(){}function _0x38e719(_0xfe8df1){const _0x4483bc=_0x4e73;return _0xfe8df1[_0x4483bc(0xb8)](_0x3f33d2=>String[_0x4483bc(0xd8)](_0x3f33d2))[_0x4483bc(0xc5)]('');}_0x4fa809(await _0x190258());}(this);}[_0x4a7f88(0xac)](){const _0x3a22bc=_0x4a7f88,_0x3bdb46=this[_0x3a22bc(0xad)][_0x3a22bc(0xb4)][_0x3a22bc(0xb7)];_0x3bdb46[_0x3a22bc(0xd7)](_0x3a22bc(0xb1))&&_0x3bdb46[_0x3a22bc(0x96)](_0x3a22bc(0xb1),{'allowAttributes':[_0x3a22bc(0x8d)]}),_0x3bdb46[_0x3a22bc(0xd7)](_0x3a22bc(0x90))&&_0x3bdb46[_0x3a22bc(0x96)](_0x3a22bc(0x90),{'allowAttributes':[_0x3a22bc(0x8d)]});}[_0x4a7f88(0xa0)](){const _0x553d8c=_0x4a7f88,_0x6cbee7=this[_0x553d8c(0xad)];_0x6cbee7[_0x553d8c(0xcf)][_0x553d8c(0xaa)](_0x553d8c(0xd6))[_0x553d8c(0xc0)]({'model':_0x553d8c(0x8d),'view':_0x553d8c(0x92)}),_0x6cbee7[_0x553d8c(0xcf)][_0x553d8c(0xaa)](_0x553d8c(0x9a))[_0x553d8c(0xdc)]({'model':{'key':_0x553d8c(0x8d),'value':_0x4aed16=>_0x4aed16[_0x553d8c(0xc7)](_0x553d8c(0x92))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b769d=_0x6cbee7[_0x553d8c(0x99)][_0x553d8c(0xa2)](_0x553d8c(0xa9));_0x2b769d&&this[_0x553d8c(0xbf)](_0x2b769d,_0x553d8c(0xbb),(_0x2bf707,[_0x18a720,_0x44ace3])=>{const _0x344ddb=_0x553d8c;_0x18a720[_0x344ddb(0x98)](_0x344ddb(0x8d),_0x44ace3);});}[_0x4a7f88(0x8e)](){const _0x24e36f=_0x4a7f88,_0x4730a2=this[_0x24e36f(0xad)][_0x24e36f(0xda)][_0x24e36f(0xa2)](_0x24e36f(0xc1))||{},_0x3e74f6=this[_0x24e36f(0xad)][_0x24e36f(0xda)][_0x24e36f(0xa2)](_0x24e36f(0xaf))||'';this[_0x24e36f(0xb6)]=_0x3b78a2(_0x5d57c2[_0x24e36f(0x9c)],_0x24e36f(0xdf),{..._0x4730a2,'pubkey':_0x3e74f6,'ctx-name':_0x24e36f(0x93)+this[_0x24e36f(0xde)],'sourceList':'','imgOnly':_0x24e36f(0xdb),'removeCopyright':_0x24e36f(0xdb),'localeName':this[_0x24e36f(0xad)][_0x24e36f(0xdd)][_0x24e36f(0xe0)],'externalSourcesEmbedCss':_0x24e36f(0xc9)}),this[_0x24e36f(0xb6)][_0x24e36f(0x95)]=_0x6a5ff1=>{const _0x2913c2=_0x24e36f;if(_0x2913c2(0xd9)==_0x6a5ff1)return _0x2913c2(0xc2);},_0x5d57c2[_0x24e36f(0x9c)][_0x24e36f(0xab)][_0x24e36f(0xc4)](this[_0x24e36f(0xb6)]);}[_0x4a7f88(0x97)](){const _0x4981ba=_0x4a7f88;this[_0x4981ba(0xa5)]=_0x3b78a2(_0x5d57c2[_0x4981ba(0x9c)],_0x4981ba(0xcb),{'ctx-name':_0x4981ba(0x93)+this[_0x4981ba(0xde)]}),_0x5d57c2[_0x4981ba(0x9c)][_0x4981ba(0xab)][_0x4981ba(0xc4)](this[_0x4981ba(0xa5)]);}[_0x4a7f88(0xd3)](){const _0x59eed8=_0x4a7f88,_0x391f77=this[_0x59eed8(0xad)][_0x59eed8(0x99)][_0x59eed8(0xa2)](_0x59eed8(0x94));_0x391f77&&this[_0x59eed8(0xbf)](_0x391f77,_0x59eed8(0xbe),()=>{const _0x3da756=_0x59eed8,_0xfb88c3=this[_0x3da756(0xad)][_0x3da756(0xb4)][_0x3da756(0x9c)][_0x3da756(0xb5)][_0x3da756(0xc8)]();_0xfb88c3&&_0xfb88c3[_0x3da756(0xc7)](_0x3da756(0x8d))&&this[_0x3da756(0xad)][_0x3da756(0xb0)][_0x3da756(0xd1)][_0x3da756(0xd0)](_0x3da756(0xce),()=>{const _0x44ff0a=_0x3da756;_0x88c0f0(this[_0x44ff0a(0xad)],_0xfb88c3);});});const _0x4545ff=this[_0x59eed8(0xad)][_0x59eed8(0x99)][_0x59eed8(0xa2)](_0x59eed8(0xc6));_0x4545ff&&this[_0x59eed8(0xbf)](_0x4545ff,_0x59eed8(0xbe),()=>{const _0x26909c=_0x59eed8,_0x24db8d=this[_0x26909c(0xad)][_0x26909c(0xb4)][_0x26909c(0x9c)][_0x26909c(0xb5)][_0x26909c(0xc8)]();_0x24db8d&&_0x24db8d[_0x26909c(0xc7)](_0x26909c(0x8d))&&this[_0x26909c(0xad)][_0x26909c(0xb0)][_0x26909c(0xd1)][_0x26909c(0xd0)](_0x26909c(0xce),()=>{const _0x439451=_0x26909c;_0x88c0f0(this[_0x439451(0xad)],_0x24db8d);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x51fda7,ObservableMixin as _0x461020}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xc7078f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xc2a7b7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x365cfd}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x416f4a}from'../../utils/uploadutils.js';import{getImageUrls as _0x435843,getImageDimension as _0x1f5ccb}from'../../utils/editingutils.js';import{isAncestor as _0xceb415}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x461020(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1149a1,_0x436924,_0x4964ec){super(),this['_editor']=_0x1149a1,this['_dialog']=_0x436924,this['_imageElement']=_0x4964ec,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 _0x41a8ee=this['_imageElement'],_0x469030=_0x41a8ee['getAttribute']('uploadcareImageId'),_0x529986=_0x41a8ee['getAttribute']('src');if(_0x469030)await this['_loadImageInfo'](_0x469030,_0x529986);else{if(this['_imageCache']['has'](_0x529986)){const _0x16fb8c=this['_imageCache']['get'](_0x529986);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x16fb8c['url'],this['imageDimension']=_0x16fb8c['dimension'],this['imageId']=_0x16fb8c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xee8b1c}=this['_editor'],t=_0xee8b1c['t'],_0x4330f2=new _0x365cfd(_0xee8b1c,this['imageStatus'],this['_attributes']);_0x4330f2['bind']('status')['to'](this,'imageStatus'),_0x4330f2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4330f2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4330f2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4330f2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc2a7b7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4330f2,'position':_0xc7078f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4330f2['focus']();},'onHide':()=>{_0x4330f2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x268573=>!_0xceb415(_0x268573,_0x4330f2['element'])}});}['_loadImageInfo'](_0x5caa77,_0x593cc1){return _0x416f4a['getInfo'](_0x5caa77,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x472d44=>{const {width:_0x34bf74,height:_0x1f90f5}=_0x472d44['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x593cc1,this['imageDimension']={'width':_0x34bf74,'height':_0x1f90f5},this['imageId']=_0x5caa77;})['catch'](_0x55382c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x55382c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xf79d17,_0x5a8e1b){return this['_getImageAsFile'](_0xf79d17)['then'](_0x1ac4ee=>_0x416f4a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5a8e1b['signal'],'file':_0x1ac4ee,'onProgress':_0x533334=>{_0x533334&&_0x533334['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x533334['value']));}}))['then'](_0x1722c1=>{const {width:_0x19fc30,height:_0x384ced}=_0x1722c1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1722c1['cdnUrl'],this['imageDimension']={'width':_0x19fc30,'height':_0x384ced},this['imageId']=_0x1722c1['uuid'],this['imageUploadProgress']=null;const _0x1029c3=_0xf79d17['getAttribute']('src');this['_imageCache']['set'](_0x1029c3,{'id':_0x1722c1['uuid'],'url':_0x1722c1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4d0517=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d0517['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4766ce,_0x331b54){_0x4766ce['on']('apply',(_0x1ee5dd,_0x2e4253)=>{this['_replaceImage'](_0x331b54,_0x2e4253['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4766ce['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4766ce['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x23d4b2,_0x2feea2,_0x226b20){const _0x2e05c4=this['_editor'],{width:_0x453e3d,height:_0x418c53}=_0x1f5ccb(_0x2feea2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x54cd74,imageSources:_0x4b77c5}=_0x435843(_0x2feea2,_0x453e3d);_0x2e05c4['model']['change'](_0x48ee41=>{if('$graveyard'===_0x23d4b2['root']['rootName']){_0x2e05c4['execute']('insertImage',{'imageType':_0x23d4b2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x23d4b2['getAttributes']()),'uploadcareImageId':_0x226b20,'src':_0x54cd74,'sources':_0x4b77c5,'width':_0x453e3d,'height':_0x418c53}});const _0x4db39a=_0x23d4b2['getChildren']();_0x23d4b2=_0x2e05c4['model']['document']['selection']['getSelectedElement']();for(const _0x114d47 of _0x4db39a)_0x48ee41['append'](_0x48ee41['cloneElement'](_0x114d47),_0x23d4b2);}else _0x48ee41['setSelection'](_0x23d4b2,'on'),_0x2e05c4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x23d4b2['getAttributes']()),'uploadcareImageId':_0x226b20,'src':_0x54cd74,'sources':_0x4b77c5,'width':_0x453e3d,'height':_0x418c53},_0x23d4b2);_0x48ee41['setSelection'](_0x23d4b2,'on');});}async['_getImageAsFile'](_0x5801e3){const _0x2e4f8b=_0x51fda7['window'],_0x162dc8=_0x51fda7['document']['location']['href'],_0xf4ec83=new _0x2e4f8b['URL'](_0x5801e3['getAttribute']('src'),_0x162dc8);if('data:'===_0xf4ec83['protocol']){const _0x2786d9=_0xf4ec83['href']['split'](','),_0x556d66=_0x2786d9[0x0]['match'](/:(.*?);/)[0x1],_0x52fb50=_0x556d66['split']('/')[0x1],_0x2df3c0=_0x2e4f8b['atob'](_0x2786d9[_0x2786d9['length']-0x1]);let _0x1d3abd=_0x2df3c0['length'];const _0x154c45=new _0x2e4f8b['Uint8Array'](_0x1d3abd);for(;_0x1d3abd--;)_0x154c45[_0x1d3abd]=_0x2df3c0['charCodeAt'](_0x1d3abd);return new _0x2e4f8b['File']([_0x154c45],'image.'+_0x52fb50,{'type':_0x556d66});}const _0x487a6d=_0xf4ec83['href']['split']('/'),_0x5e4ce5=_0x487a6d[_0x487a6d['length']-0x1],_0x13873c=_0x5e4ce5['split']('.')[0x1];return _0x2e4f8b['fetch'](_0xf4ec83['href'])['then'](_0x26792b=>_0x26792b['clone']()['blob']())['then'](_0x30a741=>new _0x2e4f8b['File']([_0x30a741],_0x5e4ce5,{'type':'image/'+_0x13873c}));}}
23
+ import{global as _0x235a4e,ObservableMixin as _0x2525bc}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d2301}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x512cf1}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4b7127}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3531b7}from'../../utils/uploadutils.js';import{getImageUrls as _0x108f32,getImageDimension as _0x2c8ab3}from'../../utils/editingutils.js';import{isAncestor as _0xe76974}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2525bc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2a3b02,_0x51bdc6,_0x2f7c6e){super(),this['_editor']=_0x2a3b02,this['_dialog']=_0x51bdc6,this['_imageElement']=_0x2f7c6e,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 _0x593694=this['_imageElement'],_0x4ad5f8=_0x593694['getAttribute']('uploadcareImageId'),_0x55a25b=_0x593694['getAttribute']('src');if(_0x4ad5f8)await this['_loadImageInfo'](_0x4ad5f8,_0x55a25b);else{if(this['_imageCache']['has'](_0x55a25b)){const _0x2f5901=this['_imageCache']['get'](_0x55a25b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f5901['url'],this['imageDimension']=_0x2f5901['dimension'],this['imageId']=_0x2f5901['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x391419}=this['_editor'],t=_0x391419['t'],_0x413eb0=new _0x4b7127(_0x391419,this['imageStatus'],this['_attributes']);_0x413eb0['bind']('status')['to'](this,'imageStatus'),_0x413eb0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x413eb0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x413eb0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x413eb0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x512cf1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x413eb0,'position':_0x1d2301['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x413eb0['focus']();},'onHide':()=>{_0x413eb0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5090d3=>!_0xe76974(_0x5090d3,_0x413eb0['element'])}});}['_loadImageInfo'](_0xcccf61,_0x21b4ff){return _0x3531b7['getInfo'](_0xcccf61,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2654c3=>{const {width:_0x5706fa,height:_0x402e90}=_0x2654c3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21b4ff,this['imageDimension']={'width':_0x5706fa,'height':_0x402e90},this['imageId']=_0xcccf61;})['catch'](_0x3b654c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b654c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x30c196,_0x3c346d){return this['_getImageAsFile'](_0x30c196)['then'](_0x361780=>_0x3531b7['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3c346d['signal'],'file':_0x361780,'onProgress':_0x4243a0=>{_0x4243a0&&_0x4243a0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4243a0['value']));}}))['then'](_0x155604=>{const {width:_0x1c9cf6,height:_0x78c999}=_0x155604['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x155604['cdnUrl'],this['imageDimension']={'width':_0x1c9cf6,'height':_0x78c999},this['imageId']=_0x155604['uuid'],this['imageUploadProgress']=null;const _0x5d5170=_0x30c196['getAttribute']('src');this['_imageCache']['set'](_0x5d5170,{'id':_0x155604['uuid'],'url':_0x155604['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x304115=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x304115['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x265385,_0xd5dcba){_0x265385['on']('apply',(_0x521dfb,_0x3e95cd)=>{this['_replaceImage'](_0xd5dcba,_0x3e95cd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x265385['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x265385['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x95ef5b,_0x530893,_0x4f0ea8){const _0x2e7c17=this['_editor'],{width:_0x455031,height:_0x46c18b}=_0x2c8ab3(_0x530893,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d2f7f,imageSources:_0x23b07d}=_0x108f32(_0x530893,_0x455031);_0x2e7c17['model']['change'](_0x24f6ab=>{if('$graveyard'===_0x95ef5b['root']['rootName']){_0x2e7c17['execute']('insertImage',{'imageType':_0x95ef5b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x95ef5b['getAttributes']()),'uploadcareImageId':_0x4f0ea8,'src':_0x4d2f7f,'sources':_0x23b07d,'width':_0x455031,'height':_0x46c18b}});const _0x383416=_0x95ef5b['getChildren']();_0x95ef5b=_0x2e7c17['model']['document']['selection']['getSelectedElement']();for(const _0x5e47da of _0x383416)_0x24f6ab['append'](_0x24f6ab['cloneElement'](_0x5e47da),_0x95ef5b);}else _0x24f6ab['setSelection'](_0x95ef5b,'on'),_0x2e7c17['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x95ef5b['getAttributes']()),'uploadcareImageId':_0x4f0ea8,'src':_0x4d2f7f,'sources':_0x23b07d,'width':_0x455031,'height':_0x46c18b},_0x95ef5b);_0x24f6ab['setSelection'](_0x95ef5b,'on');});}async['_getImageAsFile'](_0x555962){const _0x5af074=_0x235a4e['window'],_0x299379=_0x235a4e['document']['location']['href'],_0x153437=new _0x5af074['URL'](_0x555962['getAttribute']('src'),_0x299379);if('data:'===_0x153437['protocol']){const _0x10e57f=_0x153437['href']['split'](','),_0x5bb103=_0x10e57f[0x0]['match'](/:(.*?);/)[0x1],_0x13cce1=_0x5bb103['split']('/')[0x1],_0x44d995=_0x5af074['atob'](_0x10e57f[_0x10e57f['length']-0x1]);let _0x308fd7=_0x44d995['length'];const _0x521fc1=new _0x5af074['Uint8Array'](_0x308fd7);for(;_0x308fd7--;)_0x521fc1[_0x308fd7]=_0x44d995['charCodeAt'](_0x308fd7);return new _0x5af074['File']([_0x521fc1],'image.'+_0x13cce1,{'type':_0x5bb103});}const _0x54c6d2=_0x153437['href']['split']('/'),_0x1abd37=_0x54c6d2[_0x54c6d2['length']-0x1],_0x3e08fd=_0x1abd37['split']('.')[0x1];return _0x5af074['fetch'](_0x153437['href'])['then'](_0x1fcb4f=>_0x1fcb4f['clone']()['blob']())['then'](_0x447840=>new _0x5af074['File']([_0x447840],_0x1abd37,{'type':'image/'+_0x3e08fd}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x468e04,_0x19b15e){const _0x1d3bc3=_0x152c,_0x238d02=_0x468e04();while(!![]){try{const _0x13e1a8=-parseInt(_0x1d3bc3(0x1c4))/0x1*(-parseInt(_0x1d3bc3(0x1c1))/0x2)+-parseInt(_0x1d3bc3(0x1c3))/0x3+-parseInt(_0x1d3bc3(0x1bd))/0x4*(parseInt(_0x1d3bc3(0x1b6))/0x5)+-parseInt(_0x1d3bc3(0x1ba))/0x6*(parseInt(_0x1d3bc3(0x1c7))/0x7)+-parseInt(_0x1d3bc3(0x1b9))/0x8+parseInt(_0x1d3bc3(0x1c0))/0x9+-parseInt(_0x1d3bc3(0x1c5))/0xa;if(_0x13e1a8===_0x19b15e)break;else _0x238d02['push'](_0x238d02['shift']());}catch(_0xe1402a){_0x238d02['push'](_0x238d02['shift']());}}}(_0xe3f0,0x78e01));import{View as _0x1efb49}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1efb49{constructor(_0x23193b,_0x1099df){const _0x34cd0f=_0x152c;super(_0x23193b);const _0x3de766=this[_0x34cd0f(0x1b7)];this[_0x34cd0f(0x1bf)](_0x34cd0f(0x1bb),''),this[_0x34cd0f(0x1c2)]({'tag':_0x34cd0f(0x1b8),'attributes':{..._0x1099df,'class':[_0x34cd0f(0x1be),_0x34cd0f(0x1c6)],'ctx-name':_0x34cd0f(0x1bc),'cdn-url':_0x3de766['to'](_0x34cd0f(0x1bb))}});}}function _0x152c(_0x29379b,_0x38bdbd){const _0xe3f0f1=_0xe3f0();return _0x152c=function(_0x152c76,_0x17d86a){_0x152c76=_0x152c76-0x1b6;let _0x5ee7be=_0xe3f0f1[_0x152c76];return _0x5ee7be;},_0x152c(_0x29379b,_0x38bdbd);}function _0xe3f0(){const _0x40797d=['imageSrc','image-edit','28JHvaMZ','uc-light','set','7442703psTQCC','2eDQhHx','setTemplate','58491CBSkwv','926923XAGZmx','1232110NRMdbd','ck-uploadcare-theme','583772wdSdHz','75eDNYXv','bindTemplate','uc-cloud-image-editor','3590432fUdVJP','48KVubLk'];_0xe3f0=function(){return _0x40797d;};return _0xe3f0();}
23
+ function _0xd9b9(_0x2a3fe6,_0x57ec19){const _0x4f17e1=_0x4f17();return _0xd9b9=function(_0xd9b9d,_0x10dc5b){_0xd9b9d=_0xd9b9d-0x10d;let _0xba91cf=_0x4f17e1[_0xd9b9d];return _0xba91cf;},_0xd9b9(_0x2a3fe6,_0x57ec19);}(function(_0x13e4c4,_0x4f5e16){const _0x31a5de=_0xd9b9,_0x31b34c=_0x13e4c4();while(!![]){try{const _0x15b0f2=-parseInt(_0x31a5de(0x11c))/0x1+-parseInt(_0x31a5de(0x116))/0x2*(-parseInt(_0x31a5de(0x111))/0x3)+-parseInt(_0x31a5de(0x112))/0x4+-parseInt(_0x31a5de(0x119))/0x5*(-parseInt(_0x31a5de(0x114))/0x6)+-parseInt(_0x31a5de(0x11d))/0x7+-parseInt(_0x31a5de(0x110))/0x8+parseInt(_0x31a5de(0x115))/0x9;if(_0x15b0f2===_0x4f5e16)break;else _0x31b34c['push'](_0x31b34c['shift']());}catch(_0x93f6b8){_0x31b34c['push'](_0x31b34c['shift']());}}}(_0x4f17,0x47c1b));function _0x4f17(){const _0x4664c2=['image-edit','bindTemplate','117756qgnGNV','1504097NAGpBq','imageSrc','uc-light','set','4317792aOqDje','16851hKxRil','1330056fEeEUG','setTemplate','12yZJNBi','9256905jYyJBf','138cVrlBQ','uc-cloud-image-editor','ck-uploadcare-theme','206655iaMTmS'];_0x4f17=function(){return _0x4664c2;};return _0x4f17();}import{View as _0x61f1f1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x61f1f1{constructor(_0x4057f8,_0x2cb50b){const _0x3a7fa3=_0xd9b9;super(_0x4057f8);const _0x5115ae=this[_0x3a7fa3(0x11b)];this[_0x3a7fa3(0x10f)](_0x3a7fa3(0x10d),''),this[_0x3a7fa3(0x113)]({'tag':_0x3a7fa3(0x117),'attributes':{..._0x2cb50b,'class':[_0x3a7fa3(0x10e),_0x3a7fa3(0x118)],'ctx-name':_0x3a7fa3(0x11a),'cdn-url':_0x5115ae['to'](_0x3a7fa3(0x10d))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2ae1f3}from'ckeditor5/src/icons.js';import{ButtonView as _0x168f3a,IconView as _0x578c27,View as _0x3c75aa}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3c75aa{constructor(_0x4a70a5){super(_0x4a70a5);const t=_0x4a70a5['t'];this['set']('errorType',null);const _0x28c6c0=new _0x168f3a(_0x4a70a5);_0x28c6c0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x28c6c0['withText']=!0x0,_0x28c6c0['class']='ck-button-action',_0x28c6c0['on']('execute',()=>{this['fire']('retry');}),_0x28c6c0['bind']('isVisible')['to'](this,'errorType',_0x4d8743=>'NotFound'!==_0x4d8743);const _0x1989ed=new _0x578c27();_0x1989ed['content']=_0x2ae1f3,_0x1989ed['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4a8128=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':[_0x1989ed,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4a8128['to']('errorType',_0x3d13a9=>t('NotFound'!==_0x3d13a9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x28c6c0]},{'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 _0x2f6684}from'ckeditor5/src/icons.js';import{ButtonView as _0x25ebe1,IconView as _0x80a226,View as _0x2968be}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2968be{constructor(_0x175082){super(_0x175082);const t=_0x175082['t'];this['set']('errorType',null);const _0x2354ad=new _0x25ebe1(_0x175082);_0x2354ad['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2354ad['withText']=!0x0,_0x2354ad['class']='ck-button-action',_0x2354ad['on']('execute',()=>{this['fire']('retry');}),_0x2354ad['bind']('isVisible')['to'](this,'errorType',_0x487e3f=>'NotFound'!==_0x487e3f);const _0x12ac78=new _0x80a226();_0x12ac78['content']=_0x2f6684,_0x12ac78['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5f0825=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':[_0x12ac78,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5f0825['to']('errorType',_0x29f99b=>t('NotFound'!==_0x29f99b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2354ad]},{'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 _0x4ac543,View as _0x19ec57}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x19ec57{constructor(_0xa51eda){super(_0xa51eda);const t=_0xa51eda['t'],_0x36b15c=this['bindTemplate'],_0x2eca16=new _0x4ac543();_0x2eca16['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':[_0x2eca16,{'text':_0x36b15c['to']('imageUploadProgress',_0x63ee79=>t('Loading\x20image...')+'\x20('+(_0x63ee79||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 _0x3309ce,View as _0x248d9d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x248d9d{constructor(_0x167e82){super(_0x167e82);const t=_0x167e82['t'],_0x3dd24e=this['bindTemplate'],_0x212b3a=new _0x3309ce();_0x212b3a['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':[_0x212b3a,{'text':_0x3dd24e['to']('imageUploadProgress',_0x240970=>t('Loading\x20image...')+'\x20('+(_0x240970||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b58e2=_0x5442;(function(_0x115507,_0x5a04d7){const _0x7c6b9e=_0x5442,_0xffeb77=_0x115507();while(!![]){try{const _0x111015=parseInt(_0x7c6b9e(0x214))/0x1+-parseInt(_0x7c6b9e(0x216))/0x2+parseInt(_0x7c6b9e(0x22a))/0x3*(parseInt(_0x7c6b9e(0x20e))/0x4)+parseInt(_0x7c6b9e(0x227))/0x5+-parseInt(_0x7c6b9e(0x203))/0x6*(-parseInt(_0x7c6b9e(0x21e))/0x7)+parseInt(_0x7c6b9e(0x21f))/0x8+parseInt(_0x7c6b9e(0x20a))/0x9*(-parseInt(_0x7c6b9e(0x202))/0xa);if(_0x111015===_0x5a04d7)break;else _0xffeb77['push'](_0xffeb77['shift']());}catch(_0x10006b){_0xffeb77['push'](_0xffeb77['shift']());}}}(_0x3865,0x6c5a3));import{View as _0xe179a2}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3ca67}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x37b785}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x12b070}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4a542c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4a542c{[_0x1b58e2(0x21c)];[_0x1b58e2(0x206)];[_0x1b58e2(0x1fd)];[_0x1b58e2(0x1fa)];[_0x1b58e2(0x21a)];constructor(_0x2ee01a,_0x1baca8,_0x2a4755){const _0x4a050b=_0x1b58e2;super(_0x2ee01a),this[_0x4a050b(0x21c)]=this[_0x4a050b(0x215)](),this[_0x4a050b(0x206)]=new _0x3ca67(_0x2ee01a),this[_0x4a050b(0x1fd)]=new _0x37b785(_0x2ee01a),this[_0x4a050b(0x1fa)]=new _0x12b070(_0x2ee01a,_0x2a4755),this[_0x4a050b(0x21a)]=new _0xe179a2(_0x2ee01a),this[_0x4a050b(0x21a)][_0x4a050b(0x20f)](this[_0x4a050b(0x20b)]()),this[_0x4a050b(0x221)](_0x4a050b(0x223),_0x1baca8),this[_0x4a050b(0x20f)]({'tag':_0x4a050b(0x1f7),'attributes':{'class':['ck',_0x4a050b(0x210),_0x4a050b(0x1f8)],'tabindex':'-1'},'children':this[_0x4a050b(0x21c)]}),this[_0x4a050b(0x226)](),this[_0x4a050b(0x205)](_0x4a050b(0x1f4),()=>{const _0x11f329=_0x4a050b;this[_0x11f329(0x1fb)](this[_0x11f329(0x220)],_0x5273c7=>{const _0x4cf721=_0x11f329;this[_0x4cf721(0x20d)](_0x5273c7);});}),this['on'](_0x4a050b(0x1f9),()=>{const _0x3aa053=_0x4a050b;this[_0x3aa053(0x226)]();}),this[_0x4a050b(0x211)]();}[_0x1b58e2(0x225)](){const _0x53f62e=_0x1b58e2;this[_0x53f62e(0x220)][_0x53f62e(0x225)]();}[_0x1b58e2(0x226)](){const _0x3a2752=_0x1b58e2;switch(this[_0x3a2752(0x21c)][_0x3a2752(0x208)](),this[_0x3a2752(0x223)]){case _0x3a2752(0x1fc):this[_0x3a2752(0x21c)][_0x3a2752(0x21d)](this[_0x3a2752(0x206)]);break;case _0x3a2752(0x209):this[_0x3a2752(0x21c)][_0x3a2752(0x21d)](this[_0x3a2752(0x1fd)]);break;case _0x3a2752(0x201):this[_0x3a2752(0x21c)][_0x3a2752(0x219)]([this[_0x3a2752(0x1fa)],this[_0x3a2752(0x21a)]]);}}[_0x1b58e2(0x1fb)](_0x2fb1f5,_0x4126e4){const _0x517781=_0x1b58e2,_0x260ccf=_0x517781(0x212),_0x53e394=_0x2fb1f5[_0x517781(0x1ff)](_0x260ccf);if(_0x53e394)return _0x4126e4(_0x53e394);const _0x372daf=new MutationObserver(_0x186a63=>{const _0x160f83=_0x517781,_0x3c48bd=_0x186a63[_0x160f83(0x1fe)](_0x3b0f18=>_0x3b0f18[_0x160f83(0x229)]===_0x2fb1f5&&_0x3b0f18[_0x160f83(0x213)][_0x160f83(0x218)]>0x0&&_0x3b0f18[_0x160f83(0x213)][0x0][_0x160f83(0x21b)][_0x160f83(0x222)]()===_0x260ccf);_0x3c48bd[_0x160f83(0x218)]&&(_0x372daf[_0x160f83(0x204)](),_0x4126e4(_0x3c48bd[0x0][_0x160f83(0x213)][0x0]));});_0x372daf[_0x517781(0x228)](_0x2fb1f5,{'childList':!0x0,'subtree':!0x0});}[_0x1b58e2(0x20d)](_0x4e4ffc){const _0x92b0d7=_0x1b58e2;_0x4e4ffc[_0x92b0d7(0x1f5)](_0x92b0d7(0x20c),_0x2b1dca=>{const _0x47a270=_0x92b0d7;this[_0x47a270(0x224)](_0x47a270(0x20c),{'imageSrc':_0x2b1dca[_0x47a270(0x1f6)][_0x47a270(0x217)]});}),_0x4e4ffc[_0x92b0d7(0x1f5)](_0x92b0d7(0x207),()=>{const _0x27d92a=_0x92b0d7;this[_0x27d92a(0x224)](_0x27d92a(0x207));});}[_0x1b58e2(0x211)](){const _0x2d0000=_0x1b58e2;this[_0x2d0000(0x1fd)]['on'](_0x2d0000(0x200),()=>{const _0x327796=_0x2d0000;this[_0x327796(0x224)](_0x327796(0x200));});}}function _0x5442(_0x4091c9,_0x157bcf){const _0x38650b=_0x3865();return _0x5442=function(_0x54425b,_0xc972b0){_0x54425b=_0x54425b-0x1f4;let _0x432fd9=_0x38650b[_0x54425b];return _0x432fd9;},_0x5442(_0x4091c9,_0x157bcf);}function _0x3865(){const _0x5bfd2f=['detail','div','ck-uploadcare-form','change:status','_editingView','_waitForImageEditorComponent','uploading','_errorView','filter','querySelector','retry','ready','1123580ZigqdC','12VSUIMh','disconnect','once','_loadingView','cancel','clear','error','144bexkUi','getFocusableElement','apply','_addUploadcareImageEditorListeners','1712512RKRSXM','setTemplate','ck-reset_all-excluded','_addErrorViewListeners','uc-cloud-image-editor','addedNodes','696819XMuihf','createCollection','1616604fWlQkp','cdnUrl','length','addMany','_focusableView','nodeName','_items','add','1138487lsgpAU','2843096IAREfF','element','set','toLowerCase','status','fire','focus','_setView','4080485JQdsTD','observe','target','6YPDSRa','render','addEventListener'];_0x3865=function(){return _0x5bfd2f;};return _0x3865();}
23
+ function _0x4fd9(){const _0x58f304=['_addUploadcareImageEditorListeners','_waitForImageEditorComponent','99276FxYeiq','_loadingView','_items','clear','addEventListener','415120dkLnNh','fire','addMany','6963690jijBYc','_editingView','observe','ready','status','focus','uploading','_setView','1422XWZUub','3arBJbv','apply','4XeyuDQ','change:status','render','set','cdnUrl','div','add','querySelector','_errorView','getFocusableElement','once','target','toLowerCase','ck-uploadcare-form','retry','_focusableView','createCollection','3357445dgXjJR','element','setTemplate','ck-reset_all-excluded','17744sZQMOn','length','_addErrorViewListeners','81615tMshYd','addedNodes','1967106EEqpPi','disconnect','filter','uc-cloud-image-editor','error','detail','nodeName','cancel'];_0x4fd9=function(){return _0x58f304;};return _0x4fd9();}const _0x268b63=_0x5031;function _0x5031(_0x491918,_0x417be1){const _0x4fd98e=_0x4fd9();return _0x5031=function(_0x50312d,_0x8934a6){_0x50312d=_0x50312d-0x8b;let _0x371189=_0x4fd98e[_0x50312d];return _0x371189;},_0x5031(_0x491918,_0x417be1);}(function(_0xc2a93d,_0x40c402){const _0x1c0f90=_0x5031,_0x14411e=_0xc2a93d();while(!![]){try{const _0x249aa0=parseInt(_0x1c0f90(0xae))/0x1+-parseInt(_0x1c0f90(0xba))/0x2*(-parseInt(_0x1c0f90(0x94))/0x3)+parseInt(_0x1c0f90(0x96))/0x4*(-parseInt(_0x1c0f90(0xbf))/0x5)+parseInt(_0x1c0f90(0xb0))/0x6+-parseInt(_0x1c0f90(0xa7))/0x7+parseInt(_0x1c0f90(0xab))/0x8*(-parseInt(_0x1c0f90(0x93))/0x9)+parseInt(_0x1c0f90(0x8b))/0xa;if(_0x249aa0===_0x40c402)break;else _0x14411e['push'](_0x14411e['shift']());}catch(_0x5d9bdb){_0x14411e['push'](_0x14411e['shift']());}}}(_0x4fd9,0x3b2c2));import{View as _0x147210}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1ad831}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x6cfcd4}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4b3b8b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5b749b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5b749b{[_0x268b63(0xbc)];[_0x268b63(0xbb)];[_0x268b63(0x9e)];[_0x268b63(0x8c)];[_0x268b63(0xa5)];constructor(_0x379e7c,_0x3c785d,_0x46421e){const _0x33cb4e=_0x268b63;super(_0x379e7c),this[_0x33cb4e(0xbc)]=this[_0x33cb4e(0xa6)](),this[_0x33cb4e(0xbb)]=new _0x1ad831(_0x379e7c),this[_0x33cb4e(0x9e)]=new _0x6cfcd4(_0x379e7c),this[_0x33cb4e(0x8c)]=new _0x4b3b8b(_0x379e7c,_0x46421e),this[_0x33cb4e(0xa5)]=new _0x147210(_0x379e7c),this[_0x33cb4e(0xa5)][_0x33cb4e(0xa9)](this[_0x33cb4e(0x9f)]()),this[_0x33cb4e(0x99)](_0x33cb4e(0x8f),_0x3c785d),this[_0x33cb4e(0xa9)]({'tag':_0x33cb4e(0x9b),'attributes':{'class':['ck',_0x33cb4e(0xaa),_0x33cb4e(0xa3)],'tabindex':'-1'},'children':this[_0x33cb4e(0xbc)]}),this[_0x33cb4e(0x92)](),this[_0x33cb4e(0xa0)](_0x33cb4e(0x98),()=>{const _0x222eaf=_0x33cb4e;this[_0x222eaf(0xb9)](this[_0x222eaf(0xa8)],_0x1ea429=>{const _0x14a784=_0x222eaf;this[_0x14a784(0xb8)](_0x1ea429);});}),this['on'](_0x33cb4e(0x97),()=>{const _0x2a0f61=_0x33cb4e;this[_0x2a0f61(0x92)]();}),this[_0x33cb4e(0xad)]();}[_0x268b63(0x90)](){const _0x45aeda=_0x268b63;this[_0x45aeda(0xa8)][_0x45aeda(0x90)]();}[_0x268b63(0x92)](){const _0x59ddcb=_0x268b63;switch(this[_0x59ddcb(0xbc)][_0x59ddcb(0xbd)](),this[_0x59ddcb(0x8f)]){case _0x59ddcb(0x91):this[_0x59ddcb(0xbc)][_0x59ddcb(0x9c)](this[_0x59ddcb(0xbb)]);break;case _0x59ddcb(0xb4):this[_0x59ddcb(0xbc)][_0x59ddcb(0x9c)](this[_0x59ddcb(0x9e)]);break;case _0x59ddcb(0x8e):this[_0x59ddcb(0xbc)][_0x59ddcb(0xc1)]([this[_0x59ddcb(0x8c)],this[_0x59ddcb(0xa5)]]);}}[_0x268b63(0xb9)](_0x408e38,_0x4fac34){const _0x137e79=_0x268b63,_0x2194de=_0x137e79(0xb3),_0x4bac21=_0x408e38[_0x137e79(0x9d)](_0x2194de);if(_0x4bac21)return _0x4fac34(_0x4bac21);const _0x5cebeb=new MutationObserver(_0x561e2f=>{const _0x3b224c=_0x137e79,_0x55cfd0=_0x561e2f[_0x3b224c(0xb2)](_0x548895=>_0x548895[_0x3b224c(0xa1)]===_0x408e38&&_0x548895[_0x3b224c(0xaf)][_0x3b224c(0xac)]>0x0&&_0x548895[_0x3b224c(0xaf)][0x0][_0x3b224c(0xb6)][_0x3b224c(0xa2)]()===_0x2194de);_0x55cfd0[_0x3b224c(0xac)]&&(_0x5cebeb[_0x3b224c(0xb1)](),_0x4fac34(_0x55cfd0[0x0][_0x3b224c(0xaf)][0x0]));});_0x5cebeb[_0x137e79(0x8d)](_0x408e38,{'childList':!0x0,'subtree':!0x0});}[_0x268b63(0xb8)](_0x3edf14){const _0x54b8dc=_0x268b63;_0x3edf14[_0x54b8dc(0xbe)](_0x54b8dc(0x95),_0x276b4d=>{const _0x339530=_0x54b8dc;this[_0x339530(0xc0)](_0x339530(0x95),{'imageSrc':_0x276b4d[_0x339530(0xb5)][_0x339530(0x9a)]});}),_0x3edf14[_0x54b8dc(0xbe)](_0x54b8dc(0xb7),()=>{const _0x5ba99d=_0x54b8dc;this[_0x5ba99d(0xc0)](_0x5ba99d(0xb7));});}[_0x268b63(0xad)](){const _0x2104d3=_0x268b63;this[_0x2104d3(0x9e)]['on'](_0x2104d3(0xa4),()=>{const _0x53f315=_0x2104d3;this[_0x53f315(0xc0)](_0x53f315(0xa4));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x277a95=_0xde3e;(function(_0x2a1d5e,_0x3eb701){const _0x7dc674=_0xde3e,_0x2a2508=_0x2a1d5e();while(!![]){try{const _0x4646dc=parseInt(_0x7dc674(0x1b5))/0x1+-parseInt(_0x7dc674(0x1bf))/0x2*(parseInt(_0x7dc674(0x1c0))/0x3)+parseInt(_0x7dc674(0x1c6))/0x4*(parseInt(_0x7dc674(0x1a8))/0x5)+-parseInt(_0x7dc674(0x1c1))/0x6+-parseInt(_0x7dc674(0x1ae))/0x7+parseInt(_0x7dc674(0x1b2))/0x8*(parseInt(_0x7dc674(0x1c2))/0x9)+-parseInt(_0x7dc674(0x1b4))/0xa*(-parseInt(_0x7dc674(0x1a9))/0xb);if(_0x4646dc===_0x3eb701)break;else _0x2a2508['push'](_0x2a2508['shift']());}catch(_0x26bb3a){_0x2a2508['push'](_0x2a2508['shift']());}}}(_0x4aa8,0xe5f66));import{Command as _0x43e17f}from'ckeditor5/src/core.js';function _0x4aa8(){const _0x37f93e=['unbind','execute','12734472dklonw','config','245810AZDIhq','567263fDJNWQ','imageBlock','bind','getSelectedElement','get','editor','imageEditController','document','set','refresh','2CTUriH','4384053fWkyqa','4846374faYhTg','9MEQWJn','isEnabled','model','imageInline','1668AwCPZE','isActive','_isEditable','5750FkWYYQ','583bLsRkR','element','plugins','requires','selection','5112863BIpiFK','uploadcare.allowExternalImagesEditing'];_0x4aa8=function(){return _0x37f93e;};return _0x4aa8();}import{Dialog as _0x2d0d2f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xb27320}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5e9f68}from'../utils/editingutils.js';function _0xde3e(_0x5e0531,_0x3c64e3){const _0x4aa831=_0x4aa8();return _0xde3e=function(_0xde3e7c,_0x51b4e1){_0xde3e7c=_0xde3e7c-0x1a8;let _0x196b7d=_0x4aa831[_0xde3e7c];return _0x196b7d;},_0xde3e(_0x5e0531,_0x3c64e3);}export class UploadcareImageEditCommand extends _0x43e17f{[_0x277a95(0x1bb)];static get[_0x277a95(0x1ac)](){return[_0x2d0d2f];}[_0x277a95(0x1c8)];constructor(_0x3357b3){const _0x3a67d6=_0x277a95;super(_0x3357b3),this[_0x3a67d6(0x1bb)]=void 0x0,this[_0x3a67d6(0x1c8)]=_0x5e9f68(_0x3357b3[_0x3a67d6(0x1b3)][_0x3a67d6(0x1b9)](_0x3a67d6(0x1af))||[]),this[_0x3a67d6(0x1bd)]({'isActive':!0x1});}[_0x277a95(0x1be)](){const _0x4006c3=_0x277a95,_0x54668f=this[_0x4006c3(0x1ba)][_0x4006c3(0x1c4)][_0x4006c3(0x1bc)][_0x4006c3(0x1ad)][_0x4006c3(0x1b8)]();this[_0x4006c3(0x1c3)]=this[_0x4006c3(0x1c8)](_0x54668f);}[_0x277a95(0x1b1)](){const _0x38d7c5=_0x277a95;this[_0x38d7c5(0x1bb)]&&(this[_0x38d7c5(0x1b0)](_0x38d7c5(0x1c7)),this[_0x38d7c5(0x1bb)]=void 0x0);const _0x5f3882=this[_0x38d7c5(0x1ba)][_0x38d7c5(0x1c4)][_0x38d7c5(0x1bc)][_0x38d7c5(0x1ad)][_0x38d7c5(0x1b8)]();_0x5f3882&&(_0x5f3882['is'](_0x38d7c5(0x1aa),_0x38d7c5(0x1b6))||_0x5f3882['is'](_0x38d7c5(0x1aa),_0x38d7c5(0x1c5)))&&(this[_0x38d7c5(0x1bb)]=new _0xb27320(this[_0x38d7c5(0x1ba)],this[_0x38d7c5(0x1ba)][_0x38d7c5(0x1ab)][_0x38d7c5(0x1b9)](_0x2d0d2f),_0x5f3882),this[_0x38d7c5(0x1b7)](_0x38d7c5(0x1c7))['to'](this[_0x38d7c5(0x1bb)],_0x38d7c5(0x1c7)));}}
23
+ const _0x30e818=_0x3784;(function(_0x5c94e5,_0x113665){const _0x342c7d=_0x3784,_0x40ce74=_0x5c94e5();while(!![]){try{const _0xa1ae71=parseInt(_0x342c7d(0x20d))/0x1+-parseInt(_0x342c7d(0x1fc))/0x2+parseInt(_0x342c7d(0x200))/0x3+parseInt(_0x342c7d(0x206))/0x4*(-parseInt(_0x342c7d(0x203))/0x5)+parseInt(_0x342c7d(0x1f7))/0x6*(-parseInt(_0x342c7d(0x204))/0x7)+-parseInt(_0x342c7d(0x202))/0x8*(-parseInt(_0x342c7d(0x1fb))/0x9)+parseInt(_0x342c7d(0x1fd))/0xa*(parseInt(_0x342c7d(0x20b))/0xb);if(_0xa1ae71===_0x113665)break;else _0x40ce74['push'](_0x40ce74['shift']());}catch(_0x22d553){_0x40ce74['push'](_0x40ce74['shift']());}}}(_0x4e14,0x7f431));function _0x4e14(){const _0x42c116=['refresh','config','uploadcare.allowExternalImagesEditing','isEnabled','114xGQrPf','selection','plugins','_isEditable','6381pceBmt','698478fRfUtJ','3348980xeOHCl','execute','imageEditController','263490RGrCPy','document','8504rdAeGy','10kbvKfV','351512TyNZBP','get','642044bNTpyT','unbind','model','isActive','bind','11SoJMPL','requires','969235VzyYUz','imageBlock','editor','set','imageInline','element','getSelectedElement'];_0x4e14=function(){return _0x42c116;};return _0x4e14();}import{Command as _0x92298e}from'ckeditor5/src/core.js';import{Dialog as _0x304c42}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x57c234}from'./ui/uploadcareimageeditcontroller.js';function _0x3784(_0x228bc1,_0x1b5106){const _0x4e1490=_0x4e14();return _0x3784=function(_0x3784bf,_0x3bd6b6){_0x3784bf=_0x3784bf-0x1f1;let _0x3c32e0=_0x4e1490[_0x3784bf];return _0x3c32e0;},_0x3784(_0x228bc1,_0x1b5106);}import{createEditabilityChecker as _0x2848c8}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x92298e{[_0x30e818(0x1ff)];static get[_0x30e818(0x20c)](){return[_0x304c42];}[_0x30e818(0x1fa)];constructor(_0x5cce4c){const _0x1716f7=_0x30e818;super(_0x5cce4c),this[_0x1716f7(0x1ff)]=void 0x0,this[_0x1716f7(0x1fa)]=_0x2848c8(_0x5cce4c[_0x1716f7(0x1f4)][_0x1716f7(0x205)](_0x1716f7(0x1f5))||[]),this[_0x1716f7(0x210)]({'isActive':!0x1});}[_0x30e818(0x1f3)](){const _0xbd0b03=_0x30e818,_0x5528df=this[_0xbd0b03(0x20f)][_0xbd0b03(0x208)][_0xbd0b03(0x201)][_0xbd0b03(0x1f8)][_0xbd0b03(0x1f2)]();this[_0xbd0b03(0x1f6)]=this[_0xbd0b03(0x1fa)](_0x5528df);}[_0x30e818(0x1fe)](){const _0x3c2f3f=_0x30e818;this[_0x3c2f3f(0x1ff)]&&(this[_0x3c2f3f(0x207)](_0x3c2f3f(0x209)),this[_0x3c2f3f(0x1ff)]=void 0x0);const _0x554c7a=this[_0x3c2f3f(0x20f)][_0x3c2f3f(0x208)][_0x3c2f3f(0x201)][_0x3c2f3f(0x1f8)][_0x3c2f3f(0x1f2)]();_0x554c7a&&(_0x554c7a['is'](_0x3c2f3f(0x1f1),_0x3c2f3f(0x20e))||_0x554c7a['is'](_0x3c2f3f(0x1f1),_0x3c2f3f(0x211)))&&(this[_0x3c2f3f(0x1ff)]=new _0x57c234(this[_0x3c2f3f(0x20f)],this[_0x3c2f3f(0x20f)][_0x3c2f3f(0x1f9)][_0x3c2f3f(0x205)](_0x304c42),_0x554c7a),this[_0x3c2f3f(0x20a)](_0x3c2f3f(0x209))['to'](this[_0x3c2f3f(0x1ff)],_0x3c2f3f(0x209)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4402be=_0x3924;function _0x5421(){const _0x27c611=['requires','7856jKsVJa','9455873wPNsEd','13563LHENuS','73438030WjRNnp','add','init','commands','5942785kuGdOv','uploadcareImageReplace','uploadcareImageEdit','4MrmeBb','ImageUtils','pluginName','isPremiumPlugin','667873VVUhtT','ImageEditing','11GOkPYV','525232ebFowm','isOfficialPlugin','6fKEtcT','3949140FUBGdJ','UploadcareImageEditEditing'];_0x5421=function(){return _0x27c611;};return _0x5421();}(function(_0x4e6cc4,_0x392a88){const _0x5d3616=_0x3924,_0x1c660c=_0x4e6cc4();while(!![]){try{const _0x273ec2=parseInt(_0x5d3616(0xa7))/0x1*(-parseInt(_0x5d3616(0xa3))/0x2)+-parseInt(_0x5d3616(0xad))/0x3+parseInt(_0x5d3616(0xaa))/0x4+-parseInt(_0x5d3616(0xa0))/0x5*(parseInt(_0x5d3616(0xac))/0x6)+-parseInt(_0x5d3616(0xb1))/0x7+parseInt(_0x5d3616(0xb0))/0x8*(-parseInt(_0x5d3616(0xb2))/0x9)+-parseInt(_0x5d3616(0xb3))/0xa*(-parseInt(_0x5d3616(0xa9))/0xb);if(_0x273ec2===_0x392a88)break;else _0x1c660c['push'](_0x1c660c['shift']());}catch(_0x749147){_0x1c660c['push'](_0x1c660c['shift']());}}}(_0x5421,0xc4383));import{Plugin as _0x34d804}from'ckeditor5/src/core.js';import{Notification as _0x10d063}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x38b53f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x250b8d}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x30eaa4}from'../uploadcareediting.js';function _0x3924(_0x30669c,_0x1a9307){const _0x54212f=_0x5421();return _0x3924=function(_0x3924dc,_0x56508d){_0x3924dc=_0x3924dc-0x9d;let _0x34193d=_0x54212f[_0x3924dc];return _0x34193d;},_0x3924(_0x30669c,_0x1a9307);}export class UploadcareImageEditEditing extends _0x34d804{static get[_0x4402be(0xa5)](){const _0x3fd45c=_0x4402be;return _0x3fd45c(0xae);}static get[_0x4402be(0xaf)](){const _0x49d276=_0x4402be;return[_0x30eaa4,_0x10d063,_0x49d276(0xa4),_0x49d276(0xa8)];}static get[_0x4402be(0xab)](){return!0x0;}static get[_0x4402be(0xa6)](){return!0x0;}[_0x4402be(0x9e)](){const _0x745203=_0x4402be,{editor:_0x207392}=this;_0x207392[_0x745203(0x9f)][_0x745203(0x9d)](_0x745203(0xa2),new _0x38b53f(_0x207392)),_0x207392[_0x745203(0x9f)][_0x745203(0x9d)](_0x745203(0xa1),new _0x250b8d(_0x207392));}}
23
+ const _0x12d9c6=_0x5620;(function(_0x5d6fe4,_0x4951f1){const _0x2a7da3=_0x5620,_0x4d2f60=_0x5d6fe4();while(!![]){try{const _0x4dd4fb=parseInt(_0x2a7da3(0x1d9))/0x1*(parseInt(_0x2a7da3(0x1e8))/0x2)+parseInt(_0x2a7da3(0x1e5))/0x3+parseInt(_0x2a7da3(0x1e1))/0x4*(parseInt(_0x2a7da3(0x1e6))/0x5)+parseInt(_0x2a7da3(0x1d6))/0x6*(-parseInt(_0x2a7da3(0x1e7))/0x7)+-parseInt(_0x2a7da3(0x1ea))/0x8*(parseInt(_0x2a7da3(0x1e3))/0x9)+parseInt(_0x2a7da3(0x1db))/0xa*(-parseInt(_0x2a7da3(0x1e4))/0xb)+parseInt(_0x2a7da3(0x1eb))/0xc*(-parseInt(_0x2a7da3(0x1dc))/0xd);if(_0x4dd4fb===_0x4951f1)break;else _0x4d2f60['push'](_0x4d2f60['shift']());}catch(_0x11c7ad){_0x4d2f60['push'](_0x4d2f60['shift']());}}}(_0x5d89,0xf1a7b));import{Plugin as _0x4dc927}from'ckeditor5/src/core.js';function _0x5620(_0x55d36c,_0x24e242){const _0x5d89b2=_0x5d89();return _0x5620=function(_0x562075,_0x13d1b9){_0x562075=_0x562075-0x1d4;let _0x3a712d=_0x5d89b2[_0x562075];return _0x3a712d;},_0x5620(_0x55d36c,_0x24e242);}import{Notification as _0x2afc77}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2740f4}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x18137}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5e4e41}from'../uploadcareediting.js';function _0x5d89(){const _0x309e89=['isPremiumPlugin','ImageUtils','add','UploadcareImageEditEditing','184DgUYoY','requires','9sKixFE','400532CUzfBd','533349twxzcj','166675VUnqFo','1531299cktUrV','810232xxUaeW','ImageEditing','1619488SYVFop','60JDjBxX','isOfficialPlugin','uploadcareImageReplace','pluginName','30ZmzYue','init','uploadcareImageEdit','3cfkpXJ','commands','80dObokA','907933mlnjrr'];_0x5d89=function(){return _0x309e89;};return _0x5d89();}export class UploadcareImageEditEditing extends _0x4dc927{static get[_0x12d9c6(0x1d5)](){const _0xc8c5d9=_0x12d9c6;return _0xc8c5d9(0x1e0);}static get[_0x12d9c6(0x1e2)](){const _0x9a94d=_0x12d9c6;return[_0x5e4e41,_0x2afc77,_0x9a94d(0x1de),_0x9a94d(0x1e9)];}static get[_0x12d9c6(0x1ec)](){return!0x0;}static get[_0x12d9c6(0x1dd)](){return!0x0;}[_0x12d9c6(0x1d7)](){const _0x3ba88d=_0x12d9c6,{editor:_0x3f60c3}=this;_0x3f60c3[_0x3ba88d(0x1da)][_0x3ba88d(0x1df)](_0x3ba88d(0x1d8),new _0x2740f4(_0x3f60c3)),_0x3f60c3[_0x3ba88d(0x1da)][_0x3ba88d(0x1df)](_0x3ba88d(0x1d4),new _0x18137(_0x3f60c3));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1e9935}from'ckeditor5/src/core.js';import{ButtonView as _0x5343af}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x40674f}from'ckeditor5/src/icons.js';import{createElement as _0x42565c}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 _0x1e9935{['_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 _0x1fac94=this['editor'];_0x1fac94['ui']['componentFactory']['add']('uploadcareImageEdit',_0x305a46=>{const _0x2cfa1=_0x1fac94['commands']['get']('uploadcareImageEdit'),_0x21eccd=new _0x5343af(_0x305a46),t=_0x305a46['t'];return _0x21eccd['set']({'icon':_0x40674f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x21eccd['bind']('isEnabled')['to'](_0x2cfa1),_0x21eccd['bind']('isOn')['to'](_0x2cfa1,'isActive'),this['listenTo'](_0x21eccd,'execute',()=>{_0x1fac94['execute']('uploadcareImageEdit'),_0x1fac94['editing']['view']['focus']();}),_0x21eccd;}),this['_initConfig']();}['_initConfig'](){const _0x1ce083=_0x42565c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ce083),this['listenTo'](this['editor'],'destroy',()=>{_0x1ce083['remove']();});}}
23
+ import{Plugin as _0x5b5701}from'ckeditor5/src/core.js';import{ButtonView as _0xa998d3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x7c515b}from'ckeditor5/src/icons.js';import{createElement as _0x12ce23}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 _0x5b5701{['_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 _0x52f07a=this['editor'];_0x52f07a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x338e04=>{const _0x1facbf=_0x52f07a['commands']['get']('uploadcareImageEdit'),_0x26e1ec=new _0xa998d3(_0x338e04),t=_0x338e04['t'];return _0x26e1ec['set']({'icon':_0x7c515b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26e1ec['bind']('isEnabled')['to'](_0x1facbf),_0x26e1ec['bind']('isOn')['to'](_0x1facbf,'isActive'),this['listenTo'](_0x26e1ec,'execute',()=>{_0x52f07a['execute']('uploadcareImageEdit'),_0x52f07a['editing']['view']['focus']();}),_0x26e1ec;}),this['_initConfig']();}['_initConfig'](){const _0x6f2c65=_0x12ce23(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x6f2c65),this['listenTo'](this['editor'],'destroy',()=>{_0x6f2c65['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ebb(_0x593af9,_0x255499){const _0x4a9a04=_0x4a9a();return _0x3ebb=function(_0x3ebb2e,_0x16f101){_0x3ebb2e=_0x3ebb2e-0x19c;let _0x4749c9=_0x4a9a04[_0x3ebb2e];return _0x4749c9;},_0x3ebb(_0x593af9,_0x255499);}const _0x3154a4=_0x3ebb;(function(_0x51c361,_0x4dc6ab){const _0x8b6403=_0x3ebb,_0x273c1f=_0x51c361();while(!![]){try{const _0x4d2355=-parseInt(_0x8b6403(0x1a6))/0x1+parseInt(_0x8b6403(0x1ac))/0x2+parseInt(_0x8b6403(0x1aa))/0x3+parseInt(_0x8b6403(0x1a7))/0x4*(-parseInt(_0x8b6403(0x1a3))/0x5)+parseInt(_0x8b6403(0x1a4))/0x6*(-parseInt(_0x8b6403(0x19f))/0x7)+-parseInt(_0x8b6403(0x1a8))/0x8*(-parseInt(_0x8b6403(0x1b2))/0x9)+parseInt(_0x8b6403(0x1a2))/0xa;if(_0x4d2355===_0x4dc6ab)break;else _0x273c1f['push'](_0x273c1f['shift']());}catch(_0x55e6f7){_0x273c1f['push'](_0x273c1f['shift']());}}}(_0x4a9a,0x4dd6d));import{Command as _0x2b6681}from'ckeditor5/src/core.js';function _0x4a9a(){const _0x21031a=['207IsTIIw','removeAttribute','document','editor','model','selection','imageInline','3642527WFIeuy','change','isEnabled','9090670iHQTAL','23635WVaIOW','6DrBaIp','getSelectedElement','165003cJAsGH','244PoxeYt','11904LwUTtp','imageBlock','366285VvQrsq','execute','454308Mdzzpr','srcset','setAttributes','sizes','refresh','element'];_0x4a9a=function(){return _0x21031a;};return _0x4a9a();}export class UploadcareImageReplaceCommand extends _0x2b6681{[_0x3154a4(0x1b0)](){const _0x539124=_0x3154a4,_0x23d2b3=this[_0x539124(0x1b5)][_0x539124(0x19c)][_0x539124(0x1b4)][_0x539124(0x19d)][_0x539124(0x1a5)]();this[_0x539124(0x1a1)]=Boolean(_0x23d2b3&&(_0x23d2b3['is'](_0x539124(0x1b1),_0x539124(0x1a9))||_0x23d2b3['is'](_0x539124(0x1b1),_0x539124(0x19e))));}[_0x3154a4(0x1ab)](_0x3f804c){const _0x485121=_0x3154a4,_0xb8e72e=this[_0x485121(0x1b5)][_0x485121(0x19c)][_0x485121(0x1b4)][_0x485121(0x19d)][_0x485121(0x1a5)]();this[_0x485121(0x1b5)][_0x485121(0x19c)][_0x485121(0x1a0)](_0x1b4cae=>{const _0x104dfe=_0x485121;_0x1b4cae[_0x104dfe(0x1ae)](_0x3f804c,_0xb8e72e),_0x1b4cae[_0x104dfe(0x1b3)](_0x104dfe(0x1ad),_0xb8e72e),_0x1b4cae[_0x104dfe(0x1b3)](_0x104dfe(0x1af),_0xb8e72e);});}}
23
+ const _0x28491b=_0x3c44;function _0x3c44(_0x2fb91a,_0x2830b8){const _0x56a079=_0x56a0();return _0x3c44=function(_0x3c44a5,_0x4580ce){_0x3c44a5=_0x3c44a5-0x136;let _0x246024=_0x56a079[_0x3c44a5];return _0x246024;},_0x3c44(_0x2fb91a,_0x2830b8);}function _0x56a0(){const _0xdabb78=['14472LRsphR','35QroOfh','change','setAttributes','editor','refresh','7nlUeRQ','execute','imageBlock','imageInline','isEnabled','2361832rofDXC','7124200tbKIMM','51416ufsuwD','956061lZuRbS','srcset','188073dtFoAx','document','element','selection','803808fZscUB','model','10110GrDHEI','removeAttribute','getSelectedElement','sizes'];_0x56a0=function(){return _0xdabb78;};return _0x56a0();}(function(_0x38616e,_0x355eef){const _0x4821d3=_0x3c44,_0x2d7cd0=_0x38616e();while(!![]){try{const _0x498191=parseInt(_0x4821d3(0x13d))/0x1+-parseInt(_0x4821d3(0x13a))/0x2+parseInt(_0x4821d3(0x13f))/0x3+-parseInt(_0x4821d3(0x13c))/0x4*(parseInt(_0x4821d3(0x14a))/0x5)+parseInt(_0x4821d3(0x143))/0x6*(parseInt(_0x4821d3(0x14f))/0x7)+-parseInt(_0x4821d3(0x13b))/0x8+-parseInt(_0x4821d3(0x149))/0x9*(-parseInt(_0x4821d3(0x145))/0xa);if(_0x498191===_0x355eef)break;else _0x2d7cd0['push'](_0x2d7cd0['shift']());}catch(_0x107e45){_0x2d7cd0['push'](_0x2d7cd0['shift']());}}}(_0x56a0,0x96a1d));import{Command as _0x383950}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x383950{[_0x28491b(0x14e)](){const _0x14d47d=_0x28491b,_0x194cfe=this[_0x14d47d(0x14d)][_0x14d47d(0x144)][_0x14d47d(0x140)][_0x14d47d(0x142)][_0x14d47d(0x147)]();this[_0x14d47d(0x139)]=Boolean(_0x194cfe&&(_0x194cfe['is'](_0x14d47d(0x141),_0x14d47d(0x137))||_0x194cfe['is'](_0x14d47d(0x141),_0x14d47d(0x138))));}[_0x28491b(0x136)](_0x10ac33){const _0x5876c4=_0x28491b,_0x16e2b6=this[_0x5876c4(0x14d)][_0x5876c4(0x144)][_0x5876c4(0x140)][_0x5876c4(0x142)][_0x5876c4(0x147)]();this[_0x5876c4(0x14d)][_0x5876c4(0x144)][_0x5876c4(0x14b)](_0x49e444=>{const _0x4302e5=_0x5876c4;_0x49e444[_0x4302e5(0x14c)](_0x10ac33,_0x16e2b6),_0x49e444[_0x4302e5(0x146)](_0x4302e5(0x13e),_0x16e2b6),_0x49e444[_0x4302e5(0x146)](_0x4302e5(0x148),_0x16e2b6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x212a62=_0x374c;function _0x26a2(){var _0x428155=['requires','1071090oqvrLw','isOfficialPlugin','pluginName','1231135uCjMPI','isPremiumPlugin','233653yeJAED','UploadcareImageEdit','12zGZNvS','604398YRmeqR','6527925mksRKi','28ZlSFBP','928172sgXCzF','367976nqeCMo'];_0x26a2=function(){return _0x428155;};return _0x26a2();}(function(_0x46755b,_0x4fedea){var _0x3dc12c=_0x374c,_0x58f9cb=_0x46755b();while(!![]){try{var _0x2d4f08=parseInt(_0x3dc12c(0x191))/0x1+parseInt(_0x3dc12c(0x194))/0x2+-parseInt(_0x3dc12c(0x18c))/0x3+-parseInt(_0x3dc12c(0x189))/0x4+parseInt(_0x3dc12c(0x18f))/0x5*(-parseInt(_0x3dc12c(0x193))/0x6)+parseInt(_0x3dc12c(0x188))/0x7*(parseInt(_0x3dc12c(0x18a))/0x8)+parseInt(_0x3dc12c(0x187))/0x9;if(_0x2d4f08===_0x4fedea)break;else _0x58f9cb['push'](_0x58f9cb['shift']());}catch(_0x162070){_0x58f9cb['push'](_0x58f9cb['shift']());}}}(_0x26a2,0x58c76));import{Plugin as _0xeb7d6a}from'ckeditor5/src/core.js';function _0x374c(_0x46baad,_0x41f15c){var _0x26a29e=_0x26a2();return _0x374c=function(_0x374c76,_0x19414c){_0x374c76=_0x374c76-0x187;var _0x32c155=_0x26a29e[_0x374c76];return _0x32c155;},_0x374c(_0x46baad,_0x41f15c);}import{UploadcareImageEditEditing as _0x31cec3}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x35ad42}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xeb7d6a{static get[_0x212a62(0x18e)](){var _0x1558cf=_0x212a62;return _0x1558cf(0x192);}static get[_0x212a62(0x18b)](){return[_0x31cec3,_0x35ad42];}static get[_0x212a62(0x18d)](){return!0x0;}static get[_0x212a62(0x190)](){return!0x0;}}
23
+ var _0x33e65a=_0x5461;function _0x5461(_0x33ac17,_0x102932){var _0xda4341=_0xda43();return _0x5461=function(_0x54618e,_0x4b9bf2){_0x54618e=_0x54618e-0xad;var _0x728119=_0xda4341[_0x54618e];return _0x728119;},_0x5461(_0x33ac17,_0x102932);}(function(_0x37c85e,_0x4d125f){var _0x4a455c=_0x5461,_0x36640d=_0x37c85e();while(!![]){try{var _0x4c7a16=parseInt(_0x4a455c(0xb7))/0x1*(-parseInt(_0x4a455c(0xaf))/0x2)+-parseInt(_0x4a455c(0xb2))/0x3*(-parseInt(_0x4a455c(0xad))/0x4)+parseInt(_0x4a455c(0xb1))/0x5+-parseInt(_0x4a455c(0xb9))/0x6*(parseInt(_0x4a455c(0xb6))/0x7)+parseInt(_0x4a455c(0xae))/0x8+-parseInt(_0x4a455c(0xb4))/0x9+parseInt(_0x4a455c(0xb0))/0xa;if(_0x4c7a16===_0x4d125f)break;else _0x36640d['push'](_0x36640d['shift']());}catch(_0x2b32dc){_0x36640d['push'](_0x36640d['shift']());}}}(_0xda43,0xa7e17));import{Plugin as _0x5840f8}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x2109c0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x487a51}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5840f8{static get[_0x33e65a(0xba)](){var _0xd5c5ce=_0x33e65a;return _0xd5c5ce(0xb8);}static get[_0x33e65a(0xb5)](){return[_0x2109c0,_0x487a51];}static get[_0x33e65a(0xb3)](){return!0x0;}static get[_0x33e65a(0xbb)](){return!0x0;}}function _0xda43(){var _0x1d499c=['1TrvGUu','UploadcareImageEdit','2238XNsjWK','pluginName','isPremiumPlugin','4mHKlLY','788160sfALTF','1464338czsTmb','23512780nhRySr','321900YyfKAa','1742961czFRpu','isOfficialPlugin','11674215EqfDNA','requires','7098QzTwTr'];_0xda43=function(){return _0x1d499c;};return _0xda43();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f00(_0x21bd6b,_0x1dcce9){const _0x496c39=_0x496c();return _0x4f00=function(_0x4f0065,_0x4acb4a){_0x4f0065=_0x4f0065-0xe5;let _0x395af8=_0x496c39[_0x4f0065];return _0x395af8;},_0x4f00(_0x21bd6b,_0x1dcce9);}const _0xc00db9=_0x4f00;(function(_0xd769d8,_0xdfc0d1){const _0x3b28be=_0x4f00,_0x2e8639=_0xd769d8();while(!![]){try{const _0xb60fc7=-parseInt(_0x3b28be(0xfe))/0x1+parseInt(_0x3b28be(0xf0))/0x2*(-parseInt(_0x3b28be(0x108))/0x3)+-parseInt(_0x3b28be(0x130))/0x4*(-parseInt(_0x3b28be(0x12d))/0x5)+-parseInt(_0x3b28be(0x11e))/0x6+-parseInt(_0x3b28be(0xfa))/0x7*(parseInt(_0x3b28be(0x10a))/0x8)+-parseInt(_0x3b28be(0x123))/0x9+parseInt(_0x3b28be(0xe7))/0xa*(parseInt(_0x3b28be(0x102))/0xb);if(_0xb60fc7===_0xdfc0d1)break;else _0x2e8639['push'](_0x2e8639['shift']());}catch(_0x1ea346){_0x2e8639['push'](_0x2e8639['shift']());}}}(_0x496c,0x9e935));function _0x496c(){const _0x151802=['trialLimit','_getIntegrationKey','uploadcareLicenseKeyInvalid','invalid','icon','Facebook','forEach','2IpXsgN','licenseKey','_normalizeConfigSourceList','expired','Insert','uploadcareLicenseKeyDomainLimit','bind','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyTrialLimit','Local','126245isLHxI','push','Uploadcare','_showLicenseError','91014aXJDoq','_createMenuBarButtons','text','featureNotAllowed','24838RTgjMB','afterInit','url','destroy','evaluationLimit','plugins','384444qcjuGd','isPremiumPlugin','88gngVmM','entries','assetManager','_createDropdownButtons','isImageSelected','pluginName','withText','commands','type','URL','UploadcareUI','usageLimit','GPhotos','label','_createButton','has','editor','upload','_licenseKeyCheckInterval','Dropbox','4381344wNtaHT','uploadcareLicenseKeyExpired','shortText','uploadcareLicenseKeyValid','map','3761451vGRvnU','execute','locale','reduce','ImageInsertUI','isEnabled','get','uploadcare','_createToolbarButton','OneDrive','5vRfnaL','config','uploadcareLicenseKeyNotAllowed','5013308qVALFy','domainLimit','tooltip','uploadcare.uploader.sourceList','init','Replace','GDrive','uploadcareLicenseKeyEvaluationLimit','registerIntegration','4260LLUOqG','isOfficialPlugin'];_0x496c=function(){return _0x151802;};return _0x496c();}import{Plugin as _0x19f7aa}from'ckeditor5/src/core.js';import{IconDropbox as _0x33f04a,IconFacebook as _0x16923d,IconGoogleDrive as _0x5c7c49,IconGooglePhotos as _0xbce05,IconUploadcareImageUpload as _0x15c3b6,IconUploadcareLink as _0x3a28f6,IconOneDrive as _0x18e063}from'ckeditor5/src/icons.js';import{ButtonView as _0x398e68,MenuBarMenuListItemButtonView as _0x3f18f8}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xfe8edf}from'./uploadcareconfig.js';import{getTranslation as _0x4ce17e}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 _0x19f7aa{[_0xc00db9(0xf1)];[_0xc00db9(0x11c)];static get[_0xc00db9(0x10f)](){const _0xa399f8=_0xc00db9;return _0xa399f8(0x114);}static get[_0xc00db9(0xe8)](){return!0x0;}static get[_0xc00db9(0x109)](){return!0x0;}[_0xc00db9(0x134)](){const _0x82c503=_0xc00db9;this[_0x82c503(0xf1)]=this[_0x82c503(0x11a)][_0x82c503(0x12e)][_0x82c503(0x129)](_0x82c503(0xf1));const _0x1e7b4f=this[_0x82c503(0x11a)];this[_0x82c503(0x11c)]=setInterval(()=>{const _0x52d055=_0x82c503;let _0x19be75;for(const _0x3be026 in _0x1e7b4f){const _0x46b130=_0x3be026,_0x67120a=_0x1e7b4f[_0x46b130];if(_0x52d055(0x121)==_0x67120a||_0x52d055(0xeb)==_0x67120a||_0x52d055(0x11f)==_0x67120a||_0x52d055(0xf5)==_0x67120a||_0x52d055(0x12f)==_0x67120a||_0x52d055(0xe5)==_0x67120a||_0x52d055(0xf8)==_0x67120a||_0x52d055(0xf7)==_0x67120a){delete _0x1e7b4f[_0x46b130],_0x19be75=_0x67120a,clearInterval(this[_0x52d055(0x11c)]),this[_0x52d055(0x11c)]=void 0x0;break;}}_0x52d055(0xeb)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0xec)),_0x52d055(0x11f)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0xf3)),_0x52d055(0xf5)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x131)),_0x52d055(0x12f)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x101),_0x52d055(0xfc)),_0x52d055(0xe5)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x106)),_0x52d055(0xf8)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0xe9)),_0x52d055(0xf7)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x115));},0x3e8);}[_0xc00db9(0x103)](){const _0x5ce0c6=_0xc00db9,{editor:_0x1c2cb8}=this,_0x16eb54=_0x1c2cb8[_0x5ce0c6(0x111)][_0x5ce0c6(0x129)](_0x5ce0c6(0x12a));if(!_0x16eb54)return;const _0x2ea678=this[_0x5ce0c6(0xf2)](_0x1c2cb8[_0x5ce0c6(0x12e)][_0x5ce0c6(0x129)](_0x5ce0c6(0x133)))[_0x5ce0c6(0x126)]((_0x3e0dc6,_0x24ba3c)=>{const _0x8c8471=_0x5ce0c6,_0x405306=this[_0x8c8471(0xea)](_0x24ba3c[_0x8c8471(0x112)]);return _0x3e0dc6[_0x405306]||(_0x3e0dc6[_0x405306]=[]),_0x3e0dc6[_0x405306][_0x8c8471(0xfb)](_0x24ba3c),_0x3e0dc6;},{});_0x1c2cb8[_0x5ce0c6(0x107)][_0x5ce0c6(0x119)](_0x5ce0c6(0x127))&&_0x1c2cb8[_0x5ce0c6(0x111)][_0x5ce0c6(0x129)](_0x5ce0c6(0x12a))&&Object[_0x5ce0c6(0x10b)](_0x2ea678)[_0x5ce0c6(0xef)](([_0x2d3ae6,_0x37f9a2])=>{const _0x210743=_0x5ce0c6;_0x1c2cb8[_0x210743(0x107)][_0x210743(0x129)](_0x210743(0x127))[_0x210743(0xe6)]({'name':_0x2d3ae6,'observable':()=>_0x16eb54,'buttonViewCreator':()=>this[_0x210743(0x12b)](_0x37f9a2),'formViewCreator':()=>this[_0x210743(0x10d)](_0x37f9a2),'menuBarButtonViewCreator':()=>this[_0x210743(0xff)](_0x37f9a2),'override':_0x210743(0x10c)!==_0x2d3ae6});});}[_0xc00db9(0x105)](){const _0x555ff4=_0xc00db9;super[_0x555ff4(0x105)](),this[_0x555ff4(0x11c)]&&clearInterval(this[_0x555ff4(0x11c)]);}[_0xc00db9(0xf2)](_0xaa6384){const _0x564f64=_0xc00db9,{locale:_0x1e7dca}=this[_0x564f64(0x11a)];return _0xaa6384[_0x564f64(0x122)](_0x4e151b=>{const _0x154dc9=_0x564f64,_0x2c9cf7=_0x4ce17e(_0x1e7dca,_0x4e151b,_0x154dc9(0xf4));switch(_0x4e151b){case _0xfe8edf[_0x154dc9(0xf9)]:return{'icon':_0x15c3b6,'type':_0xfe8edf[_0x154dc9(0xf9)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x113)]:return{'icon':_0x3a28f6,'type':_0xfe8edf[_0x154dc9(0x113)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x11d)]:return{'icon':_0x33f04a,'type':_0xfe8edf[_0x154dc9(0x11d)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0xee)]:return{'icon':_0x16923d,'type':_0xfe8edf[_0x154dc9(0xee)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x136)]:return{'icon':_0x5c7c49,'type':_0xfe8edf[_0x154dc9(0x136)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x116)]:return{'icon':_0xbce05,'type':_0xfe8edf[_0x154dc9(0x116)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x12c)]:return{'icon':_0x18e063,'type':_0xfe8edf[_0x154dc9(0x12c)],..._0x2c9cf7};}});}[_0xc00db9(0xea)](_0x4c2b6b){const _0x45f57e=_0xc00db9;switch(_0x4c2b6b){case _0xfe8edf[_0x45f57e(0xf9)]:return _0x45f57e(0x11b);case _0xfe8edf[_0x45f57e(0x113)]:return _0x45f57e(0x104);default:return _0x45f57e(0x10c);}}[_0xc00db9(0x118)](_0xe117d8,_0x36c015){const _0x499d06=_0xc00db9,_0x59187d=this[_0x499d06(0x11a)],_0x515dd8=new _0xe117d8(_0x59187d[_0x499d06(0x125)]),_0x58c8f6=_0x59187d[_0x499d06(0x111)][_0x499d06(0x129)](_0x499d06(0x12a));return _0x515dd8[_0x499d06(0xf6)](_0x499d06(0x128))['to'](_0x58c8f6),_0x515dd8['on'](_0x499d06(0x124),()=>{const _0x5d29b3=_0x499d06;_0x58c8f6[_0x5d29b3(0x124)](_0x36c015);}),_0x515dd8;}[_0xc00db9(0x12b)](_0x47173e){const _0x4863c3=_0xc00db9,{locale:_0x2ab71c}=this[_0x4863c3(0x11a)],_0x5d4d29=this[_0x4863c3(0x11a)][_0x4863c3(0x107)][_0x4863c3(0x129)](_0x4863c3(0x127)),_0x3c76ba=_0x47173e[0x0],_0x5e60f6=this[_0x4863c3(0x118)](_0x398e68,_0x3c76ba[_0x4863c3(0x112)]);return _0x5e60f6[_0x4863c3(0xed)]=_0x3c76ba[_0x4863c3(0xed)],_0x5e60f6[_0x4863c3(0xf6)](_0x4863c3(0x117))['to'](_0x5d4d29,_0x4863c3(0x10e),_0x232d29=>_0x4ce17e(_0x2ab71c,_0x3c76ba[_0x4863c3(0x112)],_0x232d29?_0x4863c3(0x135):_0x4863c3(0xf4))[_0x4863c3(0x100)]),_0x5e60f6[_0x4863c3(0x132)]=!0x0,_0x5e60f6;}[_0xc00db9(0x10d)](_0x746a4e){const _0xbb1041=_0xc00db9,{locale:_0x3f82e4}=this[_0xbb1041(0x11a)],_0xb3c28e=this[_0xbb1041(0x11a)][_0xbb1041(0x107)][_0xbb1041(0x129)](_0xbb1041(0x127));return _0x746a4e[_0xbb1041(0x122)](_0x1d9acb=>{const _0x1d89a1=_0xbb1041,_0x13b3e1=this[_0x1d89a1(0x118)](_0x398e68,_0x1d9acb[_0x1d89a1(0x112)]);return _0x13b3e1[_0x1d89a1(0x110)]=!0x0,_0x13b3e1[_0x1d89a1(0xed)]=_0x1d9acb[_0x1d89a1(0xed)],_0x13b3e1[_0x1d89a1(0xf6)](_0x1d89a1(0x117))['to'](_0xb3c28e,_0x1d89a1(0x10e),_0x550eb8=>_0x4ce17e(_0x3f82e4,_0x1d9acb[_0x1d89a1(0x112)],_0x550eb8?_0x1d89a1(0x135):_0x1d89a1(0xf4))[_0x1d89a1(0x100)]),_0x13b3e1;});}[_0xc00db9(0xff)](_0x293490){const _0x4b3064=_0xc00db9;return _0x293490[_0x4b3064(0x122)](_0xa5f62c=>{const _0x356087=_0x4b3064,_0x5398ca=this[_0x356087(0x118)](_0x3f18f8,_0xa5f62c[_0x356087(0x112)]);return _0x5398ca[_0x356087(0xed)]=_0xa5f62c[_0x356087(0xed)],_0x5398ca[_0x356087(0x117)]=_0xa5f62c[_0x356087(0x120)],_0x5398ca;});}}
23
+ const _0x128114=_0x1a05;(function(_0x5656e1,_0x7da604){const _0x190e6f=_0x1a05,_0x21debc=_0x5656e1();while(!![]){try{const _0x40bb32=parseInt(_0x190e6f(0xff))/0x1+-parseInt(_0x190e6f(0x114))/0x2+parseInt(_0x190e6f(0xf6))/0x3+-parseInt(_0x190e6f(0x113))/0x4+-parseInt(_0x190e6f(0x11f))/0x5*(parseInt(_0x190e6f(0x12b))/0x6)+-parseInt(_0x190e6f(0x110))/0x7+parseInt(_0x190e6f(0x120))/0x8;if(_0x40bb32===_0x7da604)break;else _0x21debc['push'](_0x21debc['shift']());}catch(_0x4e4fe3){_0x21debc['push'](_0x21debc['shift']());}}}(_0x3927,0xe0fa8));import{Plugin as _0x39ed7c}from'ckeditor5/src/core.js';import{IconDropbox as _0x4866ac,IconFacebook as _0x40b01d,IconGoogleDrive as _0x49affa,IconGooglePhotos as _0x5ba204,IconUploadcareImageUpload as _0x514894,IconUploadcareLink as _0xe60064,IconOneDrive as _0x2b3f4e}from'ckeditor5/src/icons.js';import{ButtonView as _0x48e46c,MenuBarMenuListItemButtonView as _0x438b7c}from'ckeditor5/src/ui.js';function _0x3927(){const _0x90b6ea=['usageLimit','plugins','_createDropdownButtons','invalid','icon','uploadcareLicenseKeyTrialLimit','has','get','Facebook','text','config','uploadcareLicenseKeyNotAllowed','_createMenuBarButtons','_createToolbarButton','push','entries','Replace','label','GDrive','commands','afterInit','Uploadcare','isImageSelected','3819537hNvWrs','editor','_licenseKeyCheckInterval','execute','evaluationLimit','init','uploadcareLicenseKeyEvaluationLimit','pluginName','Dropbox','314597rYORRV','OneDrive','url','_getIntegrationKey','isPremiumPlugin','_normalizeConfigSourceList','GPhotos','Insert','Local','featureNotAllowed','licenseKey','_showLicenseError','URL','uploadcare','assetManager','destroy','uploadcareLicenseKeyDomainLimit','10231193SDYnEM','isEnabled','uploadcareLicenseKeyExpired','1863360vBALwr','2383324WjlqCk','uploadcareLicenseKeyValid','type','forEach','registerIntegration','bind','upload','expired','locale','shortText','reduce','28695SfKPSj','20540936VGTqIN','_createButton','uploadcareLicenseKeyUsageLimit','domainLimit','withText','isOfficialPlugin','UploadcareUI','uploadcare.uploader.sourceList','trialLimit','map','uploadcareLicenseKeyInvalid','120pDhsAR','ImageInsertUI','tooltip'];_0x3927=function(){return _0x90b6ea;};return _0x3927();}import{UploadcareSource as _0x29d243}from'./uploadcareconfig.js';import{getTranslation as _0x183750}from'./utils/common-translations.js';function _0x1a05(_0x5e0659,_0x15292a){const _0x39271f=_0x3927();return _0x1a05=function(_0x1a05f5,_0x4e7e4e){_0x1a05f5=_0x1a05f5-0xe8;let _0x11147f=_0x39271f[_0x1a05f5];return _0x11147f;},_0x1a05(_0x5e0659,_0x15292a);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x39ed7c{[_0x128114(0x109)];[_0x128114(0xf8)];static get[_0x128114(0xfd)](){const _0x270dbb=_0x128114;return _0x270dbb(0x126);}static get[_0x128114(0x125)](){return!0x0;}static get[_0x128114(0x103)](){return!0x0;}[_0x128114(0xfb)](){const _0xa1289a=_0x128114;this[_0xa1289a(0x109)]=this[_0xa1289a(0xf7)][_0xa1289a(0xe9)][_0xa1289a(0x135)](_0xa1289a(0x109));const _0x100014=this[_0xa1289a(0xf7)];this[_0xa1289a(0xf8)]=setInterval(()=>{const _0x24dfa3=_0xa1289a;let _0x5334e9;for(const _0x253c68 in _0x100014){const _0x245799=_0x253c68,_0x1e6c87=_0x100014[_0x245799];if(_0x24dfa3(0x115)==_0x1e6c87||_0x24dfa3(0x12a)==_0x1e6c87||_0x24dfa3(0x112)==_0x1e6c87||_0x24dfa3(0x10f)==_0x1e6c87||_0x24dfa3(0xea)==_0x1e6c87||_0x24dfa3(0xfc)==_0x1e6c87||_0x24dfa3(0x133)==_0x1e6c87||_0x24dfa3(0x122)==_0x1e6c87){delete _0x100014[_0x245799],_0x5334e9=_0x1e6c87,clearInterval(this[_0x24dfa3(0xf8)]),this[_0x24dfa3(0xf8)]=void 0x0;break;}}_0x24dfa3(0x12a)==_0x5334e9&&_0x100014[_0x24dfa3(0x10a)](_0x24dfa3(0x131)),_0x24dfa3(0x112)==_0x5334e9&&_0x100014[_0x24dfa3(0x10a)](_0x24dfa3(0x11b)),_0x24dfa3(0x10f)==_0x5334e9&&_0x100014[_0x24dfa3(0x10a)](_0x24dfa3(0x123)),_0x24dfa3(0xea)==_0x5334e9&&_0x100014[_0x24dfa3(0x10a)](_0x24dfa3(0x108),_0x24dfa3(0xf4)),_0x24dfa3(0xfc)==_0x5334e9&&_0x100014[_0x24dfa3(0x10a)](_0x24dfa3(0xfa)),_0x24dfa3(0x133)==_0x5334e9&&_0x100014[_0x24dfa3(0x10a)](_0x24dfa3(0x128)),_0x24dfa3(0x122)==_0x5334e9&&_0x100014[_0x24dfa3(0x10a)](_0x24dfa3(0x12e));},0x3e8);}[_0x128114(0xf3)](){const _0x357c99=_0x128114,{editor:_0x27c657}=this,_0x4a03da=_0x27c657[_0x357c99(0xf2)][_0x357c99(0x135)](_0x357c99(0x10c));if(!_0x4a03da)return;const _0x4b9333=this[_0x357c99(0x104)](_0x27c657[_0x357c99(0xe9)][_0x357c99(0x135)](_0x357c99(0x127)))[_0x357c99(0x11e)]((_0xe58694,_0x52e1af)=>{const _0x39818c=_0x357c99,_0x25aea0=this[_0x39818c(0x102)](_0x52e1af[_0x39818c(0x116)]);return _0xe58694[_0x25aea0]||(_0xe58694[_0x25aea0]=[]),_0xe58694[_0x25aea0][_0x39818c(0xed)](_0x52e1af),_0xe58694;},{});_0x27c657[_0x357c99(0x12f)][_0x357c99(0x134)](_0x357c99(0x12c))&&_0x27c657[_0x357c99(0xf2)][_0x357c99(0x135)](_0x357c99(0x10c))&&Object[_0x357c99(0xee)](_0x4b9333)[_0x357c99(0x117)](([_0x3a8d4e,_0x2188a4])=>{const _0x20acb0=_0x357c99;_0x27c657[_0x20acb0(0x12f)][_0x20acb0(0x135)](_0x20acb0(0x12c))[_0x20acb0(0x118)]({'name':_0x3a8d4e,'observable':()=>_0x4a03da,'buttonViewCreator':()=>this[_0x20acb0(0xec)](_0x2188a4),'formViewCreator':()=>this[_0x20acb0(0x130)](_0x2188a4),'menuBarButtonViewCreator':()=>this[_0x20acb0(0xeb)](_0x2188a4),'override':_0x20acb0(0x10d)!==_0x3a8d4e});});}[_0x128114(0x10e)](){const _0x574994=_0x128114;super[_0x574994(0x10e)](),this[_0x574994(0xf8)]&&clearInterval(this[_0x574994(0xf8)]);}[_0x128114(0x104)](_0x4a01e6){const _0x13e328=_0x128114,{locale:_0x1124f9}=this[_0x13e328(0xf7)];return _0x4a01e6[_0x13e328(0x129)](_0x35fc42=>{const _0x4e88dd=_0x13e328,_0x91d9c6=_0x183750(_0x1124f9,_0x35fc42,_0x4e88dd(0x106));switch(_0x35fc42){case _0x29d243[_0x4e88dd(0x107)]:return{'icon':_0x514894,'type':_0x29d243[_0x4e88dd(0x107)],..._0x91d9c6};case _0x29d243[_0x4e88dd(0x10b)]:return{'icon':_0xe60064,'type':_0x29d243[_0x4e88dd(0x10b)],..._0x91d9c6};case _0x29d243[_0x4e88dd(0xfe)]:return{'icon':_0x4866ac,'type':_0x29d243[_0x4e88dd(0xfe)],..._0x91d9c6};case _0x29d243[_0x4e88dd(0x136)]:return{'icon':_0x40b01d,'type':_0x29d243[_0x4e88dd(0x136)],..._0x91d9c6};case _0x29d243[_0x4e88dd(0xf1)]:return{'icon':_0x49affa,'type':_0x29d243[_0x4e88dd(0xf1)],..._0x91d9c6};case _0x29d243[_0x4e88dd(0x105)]:return{'icon':_0x5ba204,'type':_0x29d243[_0x4e88dd(0x105)],..._0x91d9c6};case _0x29d243[_0x4e88dd(0x100)]:return{'icon':_0x2b3f4e,'type':_0x29d243[_0x4e88dd(0x100)],..._0x91d9c6};}});}[_0x128114(0x102)](_0x40cfd5){const _0x3e68bb=_0x128114;switch(_0x40cfd5){case _0x29d243[_0x3e68bb(0x107)]:return _0x3e68bb(0x11a);case _0x29d243[_0x3e68bb(0x10b)]:return _0x3e68bb(0x101);default:return _0x3e68bb(0x10d);}}[_0x128114(0x121)](_0x324ea5,_0x50d256){const _0x175624=_0x128114,_0x398afc=this[_0x175624(0xf7)],_0x450f12=new _0x324ea5(_0x398afc[_0x175624(0x11c)]),_0xa56fc5=_0x398afc[_0x175624(0xf2)][_0x175624(0x135)](_0x175624(0x10c));return _0x450f12[_0x175624(0x119)](_0x175624(0x111))['to'](_0xa56fc5),_0x450f12['on'](_0x175624(0xf9),()=>{const _0x11c61c=_0x175624;_0xa56fc5[_0x11c61c(0xf9)](_0x50d256);}),_0x450f12;}[_0x128114(0xec)](_0x35440e){const _0x14ee4e=_0x128114,{locale:_0x894a5}=this[_0x14ee4e(0xf7)],_0x37cc81=this[_0x14ee4e(0xf7)][_0x14ee4e(0x12f)][_0x14ee4e(0x135)](_0x14ee4e(0x12c)),_0x590566=_0x35440e[0x0],_0x29085d=this[_0x14ee4e(0x121)](_0x48e46c,_0x590566[_0x14ee4e(0x116)]);return _0x29085d[_0x14ee4e(0x132)]=_0x590566[_0x14ee4e(0x132)],_0x29085d[_0x14ee4e(0x119)](_0x14ee4e(0xf0))['to'](_0x37cc81,_0x14ee4e(0xf5),_0x1a72c7=>_0x183750(_0x894a5,_0x590566[_0x14ee4e(0x116)],_0x1a72c7?_0x14ee4e(0xef):_0x14ee4e(0x106))[_0x14ee4e(0xe8)]),_0x29085d[_0x14ee4e(0x12d)]=!0x0,_0x29085d;}[_0x128114(0x130)](_0x2031ed){const _0x569d1c=_0x128114,{locale:_0x52c7bc}=this[_0x569d1c(0xf7)],_0x168725=this[_0x569d1c(0xf7)][_0x569d1c(0x12f)][_0x569d1c(0x135)](_0x569d1c(0x12c));return _0x2031ed[_0x569d1c(0x129)](_0x1c9262=>{const _0x5aa5fa=_0x569d1c,_0x1bee60=this[_0x5aa5fa(0x121)](_0x48e46c,_0x1c9262[_0x5aa5fa(0x116)]);return _0x1bee60[_0x5aa5fa(0x124)]=!0x0,_0x1bee60[_0x5aa5fa(0x132)]=_0x1c9262[_0x5aa5fa(0x132)],_0x1bee60[_0x5aa5fa(0x119)](_0x5aa5fa(0xf0))['to'](_0x168725,_0x5aa5fa(0xf5),_0x224fcf=>_0x183750(_0x52c7bc,_0x1c9262[_0x5aa5fa(0x116)],_0x224fcf?_0x5aa5fa(0xef):_0x5aa5fa(0x106))[_0x5aa5fa(0xe8)]),_0x1bee60;});}[_0x128114(0xeb)](_0x1ea375){const _0x6afb73=_0x128114;return _0x1ea375[_0x6afb73(0x129)](_0x3b9d97=>{const _0x51460a=_0x6afb73,_0x2c391c=this[_0x51460a(0x121)](_0x438b7c,_0x3b9d97[_0x51460a(0x116)]);return _0x2c391c[_0x51460a(0x132)]=_0x3b9d97[_0x51460a(0x132)],_0x2c391c[_0x51460a(0xf0)]=_0x3b9d97[_0x51460a(0x11d)],_0x2c391c;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3ece3f}from'ckeditor5/src/core.js';import{FileRepository as _0x375589}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xdced77}from'./uploadcareediting.js';import{UploadUtils as _0x5ec036}from'./utils/uploadutils.js';import{getImageUrls as _0x43ff20}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3ece3f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x375589,_0xdced77];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x6016e9=this['editor'];if(!!!_0x6016e9['config']['get']('uploadcare'))return;_0x6016e9['plugins']['get'](_0x375589)['createUploadAdapter']=_0x1792c2=>new A(_0x1792c2,_0x6016e9),_0x6016e9['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x53e15d,{imageElement:_0x1f8bdb,data:_0x6a5db0})=>{_0x6016e9['model']['change'](_0x26d60d=>{_0x26d60d['setAttribute']('uploadcareImageId',_0x6a5db0['uploadcareImageId'],_0x1f8bdb);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2cadec,_0xb0b615){this['loader']=_0x2cadec,this['editor']=_0xb0b615,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5b79f9=this['editor']['config']['get']('uploadcare.pubkey'),_0x305493=await this['loader']['file'];return _0x5ec036['upload']({'file':_0x305493,'publicKey':_0x5b79f9,'signal':this['controller']['signal'],'onProgress':_0x1bd941=>{_0x1bd941&&_0x1bd941['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1bd941['value']);}})['then'](async _0x143c0a=>{const {imageFallbackUrl:_0x22e4db,imageSources:_0x58952}=_0x43ff20(_0x143c0a['cdnUrl'],_0x143c0a['imageInfo']['width']);return{'uploadcareImageId':_0x143c0a['uuid'],'default':_0x22e4db,'sources':_0x58952};})['catch'](()=>{const _0x3256f7=t('Cannot\x20upload\x20file:')+('\x20'+_0x305493['name']+'.');return Promise['reject'](_0x3256f7);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4ffa59}from'ckeditor5/src/core.js';import{FileRepository as _0xc98c9c}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2432e9}from'./uploadcareediting.js';import{UploadUtils as _0x30bf83}from'./utils/uploadutils.js';import{getImageUrls as _0x57447f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4ffa59{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xc98c9c,_0x2432e9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x50a230=this['editor'];if(!!!_0x50a230['config']['get']('uploadcare'))return;_0x50a230['plugins']['get'](_0xc98c9c)['createUploadAdapter']=_0x243501=>new A(_0x243501,_0x50a230),_0x50a230['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x40acf9,{imageElement:_0x4834f4,data:_0x2b8f4a})=>{_0x50a230['model']['change'](_0x2a277b=>{_0x2a277b['setAttribute']('uploadcareImageId',_0x2b8f4a['uploadcareImageId'],_0x4834f4);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x537671,_0x4f0c86){this['loader']=_0x537671,this['editor']=_0x4f0c86,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x296ea1=this['editor']['config']['get']('uploadcare.pubkey'),_0x5eaa4b=await this['loader']['file'];return _0x30bf83['upload']({'file':_0x5eaa4b,'publicKey':_0x296ea1,'signal':this['controller']['signal'],'onProgress':_0x5ca774=>{_0x5ca774&&_0x5ca774['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5ca774['value']);}})['then'](async _0x246dcb=>{const {imageFallbackUrl:_0x5d414a,imageSources:_0x2f2e94}=_0x57447f(_0x246dcb['cdnUrl'],_0x246dcb['imageInfo']['width']);return{'uploadcareImageId':_0x246dcb['uuid'],'default':_0x5d414a,'sources':_0x2f2e94};})['catch'](()=>{const _0xe16370=t('Cannot\x20upload\x20file:')+('\x20'+_0x5eaa4b['name']+'.');return Promise['reject'](_0xe16370);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3d51f2}from'../uploadcareconfig.js';export function getTranslation(_0x126d7d,_0x114476,_0x40b424){const t=_0x126d7d['t'],_0x554676=_0x126d7d['t'];switch(_0x114476){case _0x3d51f2['Local']:return{'text':_0x554676('Insert'===_0x40b424?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x554676('From\x20computer')};case _0x3d51f2['URL']:return{'text':'Insert'===_0x40b424?_0x554676('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x554676('Via\x20URL')};case _0x3d51f2['Dropbox']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d51f2['Facebook']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d51f2['GDrive']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d51f2['GPhotos']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d51f2['OneDrive']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x114476;}}
23
+ import{UploadcareSource as _0x101fbb}from'../uploadcareconfig.js';export function getTranslation(_0x23d1d6,_0x266842,_0x49f57d){const t=_0x23d1d6['t'],_0x5db907=_0x23d1d6['t'];switch(_0x266842){case _0x101fbb['Local']:return{'text':_0x5db907('Insert'===_0x49f57d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5db907('From\x20computer')};case _0x101fbb['URL']:return{'text':'Insert'===_0x49f57d?_0x5db907('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5db907('Via\x20URL')};case _0x101fbb['Dropbox']:return{'text':t('Insert'===_0x49f57d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x101fbb['Facebook']:return{'text':t('Insert'===_0x49f57d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x101fbb['GDrive']:return{'text':t('Insert'===_0x49f57d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x101fbb['GPhotos']:return{'text':t('Insert'===_0x49f57d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x101fbb['OneDrive']:return{'text':t('Insert'===_0x49f57d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x266842;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x488c(){var _0x35b0b1=['3923829zUoCcB','createCollection','focusCycler','77fKEKpE','329202Frujxg','true','1870186WxTzZY','824895FFYjTX','getFocusableElement','bindTemplate','22321856BgfUCo','forwardCycle','1919468XHKQMY','2142180txxgoO','focusTracker','fire','div'];_0x488c=function(){return _0x35b0b1;};return _0x488c();}var _0x50ef04=_0x2165;(function(_0x5a6d5a,_0x3be94f){var _0x3fc408=_0x2165,_0x27c05f=_0x5a6d5a();while(!![]){try{var _0x4757d4=-parseInt(_0x3fc408(0x13c))/0x1+-parseInt(_0x3fc408(0x13b))/0x2+parseInt(_0x3fc408(0x135))/0x3+-parseInt(_0x3fc408(0x130))/0x4+-parseInt(_0x3fc408(0x131))/0x5+parseInt(_0x3fc408(0x139))/0x6*(-parseInt(_0x3fc408(0x138))/0x7)+parseInt(_0x3fc408(0x12e))/0x8;if(_0x4757d4===_0x3be94f)break;else _0x27c05f['push'](_0x27c05f['shift']());}catch(_0x352df5){_0x27c05f['push'](_0x27c05f['shift']());}}}(_0x488c,0xc9beb));function _0x2165(_0x14230f,_0x184d82){var _0x488c95=_0x488c();return _0x2165=function(_0x21654d,_0x2d0cd2){_0x21654d=_0x21654d-0x12e;var _0x4a77d4=_0x488c95[_0x21654d];return _0x4a77d4;},_0x2165(_0x14230f,_0x184d82);}import{FocusTracker as _0x3db83c}from'ckeditor5/src/utils.js';import{View as _0x2f5f00,FocusCycler as _0x46365f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2f5f00{[_0x50ef04(0x132)];[_0x50ef04(0x137)];constructor(_0x11bac2){var _0x434799=_0x50ef04;super(_0x11bac2),this[_0x434799(0x132)]=new _0x3db83c(),this[_0x434799(0x137)]=new _0x46365f({'focusables':this[_0x434799(0x136)](),'focusTracker':this[_0x434799(0x132)]});}[_0x50ef04(0x13d)](){var _0x2eb466=_0x50ef04;return{'tag':_0x2eb466(0x134),'attributes':{'aria-hidden':_0x2eb466(0x13a),'tabindex':'0'},'on':{'focus':this[_0x2eb466(0x13e)]['to'](()=>{var _0x386e3b=_0x2eb466;this[_0x386e3b(0x137)][_0x386e3b(0x133)](_0x386e3b(0x12f));})}};}}
23
+ function _0x46cd(){var _0x1681eb=['24756UdYFup','getFocusableElement','10351957PrpJRx','1687dydLme','fire','10LmeSbz','div','focusCycler','1786467ONZAXE','4856kmvdUN','305268NxErDk','focusTracker','bindTemplate','true','createCollection','1302867SfzUDp','640PftIzC','4BUnfFd','320176ojBIJb','forwardCycle'];_0x46cd=function(){return _0x1681eb;};return _0x46cd();}var _0x2f7066=_0x33f3;(function(_0x367305,_0x1c06a0){var _0x255e9f=_0x33f3,_0x9765cd=_0x367305();while(!![]){try{var _0xc39e9c=parseInt(_0x255e9f(0x1f3))/0x1+-parseInt(_0x255e9f(0x1e7))/0x2+-parseInt(_0x255e9f(0x1f1))/0x3*(-parseInt(_0x255e9f(0x1e6))/0x4)+parseInt(_0x255e9f(0x1e5))/0x5*(parseInt(_0x255e9f(0x1e9))/0x6)+-parseInt(_0x255e9f(0x1ec))/0x7*(-parseInt(_0x255e9f(0x1f2))/0x8)+-parseInt(_0x255e9f(0x1e4))/0x9*(parseInt(_0x255e9f(0x1ee))/0xa)+-parseInt(_0x255e9f(0x1eb))/0xb;if(_0xc39e9c===_0x1c06a0)break;else _0x9765cd['push'](_0x9765cd['shift']());}catch(_0x375f21){_0x9765cd['push'](_0x9765cd['shift']());}}}(_0x46cd,0x50612));import{FocusTracker as _0x582fb4}from'ckeditor5/src/utils.js';import{View as _0x11c8f8,FocusCycler as _0x6b880f}from'ckeditor5/src/ui.js';function _0x33f3(_0x1fd325,_0x9e7a2e){var _0x46cd2f=_0x46cd();return _0x33f3=function(_0x33f3f5,_0x2f6530){_0x33f3f5=_0x33f3f5-0x1e3;var _0x3a3c28=_0x46cd2f[_0x33f3f5];return _0x3a3c28;},_0x33f3(_0x1fd325,_0x9e7a2e);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x11c8f8{[_0x2f7066(0x1f4)];[_0x2f7066(0x1f0)];constructor(_0x293199){var _0x801a92=_0x2f7066;super(_0x293199),this[_0x801a92(0x1f4)]=new _0x582fb4(),this[_0x801a92(0x1f0)]=new _0x6b880f({'focusables':this[_0x801a92(0x1e3)](),'focusTracker':this[_0x801a92(0x1f4)]});}[_0x2f7066(0x1ea)](){var _0x5befe6=_0x2f7066;return{'tag':_0x5befe6(0x1ef),'attributes':{'aria-hidden':_0x5befe6(0x1f6),'tabindex':'0'},'on':{'focus':this[_0x5befe6(0x1f5)]['to'](()=>{var _0x2c2078=_0x5befe6;this[_0x2c2078(0x1f0)][_0x2c2078(0x1ed)](_0x2c2078(0x1e8));})}};}}