@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251130.0 → 0.0.0-nightly-20251202.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +10 -10
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf2a2c8=_0x3acb;(function(_0x36424b,_0x3f51ca){const _0xb6a03d=_0x3acb,_0x1a6674=_0x36424b();while(!![]){try{const _0x4f918f=parseInt(_0xb6a03d(0x1f9))/0x1*(parseInt(_0xb6a03d(0x1c7))/0x2)+-parseInt(_0xb6a03d(0x202))/0x3+-parseInt(_0xb6a03d(0x1cc))/0x4+-parseInt(_0xb6a03d(0x1da))/0x5+-parseInt(_0xb6a03d(0x1e4))/0x6+-parseInt(_0xb6a03d(0x1e7))/0x7*(parseInt(_0xb6a03d(0x1b8))/0x8)+parseInt(_0xb6a03d(0x1ee))/0x9;if(_0x4f918f===_0x3f51ca)break;else _0x1a6674['push'](_0x1a6674['shift']());}catch(_0x5751fd){_0x1a6674['push'](_0x1a6674['shift']());}}}(_0x4ed9,0xa2292));import{Plugin as _0x2dd013}from'ckeditor5/src/core.js';import{Dialog as _0xf03c9f}from'ckeditor5/src/ui.js';import{createElement as _0x4c3e96,global as _0x3caf4e,uid as _0x3c700d}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xbe07d2}from'./uploadcarecommand.js';function _0x4ed9(){const _0x239bc7=['commands','join','32wGQOtx','for','uploadcareImageReplace','uploadcare.pubkey','input[uploadcare-file-input]','config','isPremiumPlugin','getAttribute','replaceImageSource','fromCharCode','cleanupImage','imageInline','model','selection','uploader-','553218jqfmKU','conversion','editor','imageBlock','editing','2127132RPwRdr','destroy','_initImageProcessingIndicator','getSelectedElement','#uc-icon-arrow-down','href','UploadcareEditing','attributeToAttribute','removeAttribute','schema','requires','afterInit','data-uc-image-id','add','685130LUhwAQ','map','configElement','PictureEditing','pluginName','contentLanguage','querySelector','execute','listenTo','_initConfig','2643456sTiYtX','uc-config','insertImage','1689422HfNIMv','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','downcast','_initCtx','_initSchema','remove','25701066ByGxlt','locale','closeMax','ctxElement','_ctxElement','init','extend','document','_configElement','appendChild','elementToAttribute','2vxQsgF','view','render','_initConversion','uc-upload-ctx-provider','uploadcare.uploader','get','iconHrefResolver','isRegistered','2009739gqJkQz','ucContextId','isOfficialPlugin','body','uploadcare','once','true','uploadcareImageId'];_0x4ed9=function(){return _0x239bc7;};return _0x4ed9();}import{UploadcareUploadAdapter as _0xa13693}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1901df}from'./utils/editingutils.js';function _0x3acb(_0x11ca0f,_0x5cf93f){const _0x4ed9b9=_0x4ed9();return _0x3acb=function(_0x3acbcc,_0x244012){_0x3acbcc=_0x3acbcc-0x1af;let _0x51d2b5=_0x4ed9b9[_0x3acbcc];return _0x51d2b5;},_0x3acb(_0x11ca0f,_0x5cf93f);}export class UploadcareEditing extends _0x2dd013{[_0xf2a2c8(0x1f6)]=null;[_0xf2a2c8(0x1f2)]=null;static get[_0xf2a2c8(0x1de)](){const _0x1e96c1=_0xf2a2c8;return _0x1e96c1(0x1d2);}static get[_0xf2a2c8(0x1d6)](){const _0x39a792=_0xf2a2c8;return[_0x39a792(0x1dd),_0xa13693,_0xf03c9f];}static get[_0xf2a2c8(0x1b0)](){return!0x0;}static get[_0xf2a2c8(0x1be)](){return!0x0;}[_0xf2a2c8(0x1af)];get[_0xf2a2c8(0x1dc)](){const _0xfb14f=_0xf2a2c8;return this[_0xfb14f(0x1f6)];}get[_0xf2a2c8(0x1f1)](){const _0x3a369a=_0xf2a2c8;return this[_0x3a369a(0x1f2)];}constructor(_0x5239ff){const _0x5e9067=_0xf2a2c8;super(_0x5239ff),this[_0x5e9067(0x1af)]=_0x3c700d();}[_0xf2a2c8(0x1f3)](){const _0x40c7f4=_0xf2a2c8,_0x94c347=this[_0x40c7f4(0x1c9)];_0x94c347[_0x40c7f4(0x1b6)][_0x40c7f4(0x1d9)](_0x40c7f4(0x1b2),new _0xbe07d2(_0x94c347));}[_0xf2a2c8(0x1d7)](){const _0x3fdbf6=_0xf2a2c8;this[_0x3fdbf6(0x1ec)](),this[_0x3fdbf6(0x1fc)](),this[_0x3fdbf6(0x1e3)](),this[_0x3fdbf6(0x1eb)](),this[_0x3fdbf6(0x1ce)](),this[_0x3fdbf6(0x1e2)](this[_0x3fdbf6(0x1c9)],_0x3fdbf6(0x1cd),()=>{const _0x3cf1c7=_0x3fdbf6;this[_0x3cf1c7(0x1f6)]&&(this[_0x3cf1c7(0x1f6)][_0x3cf1c7(0x1ed)](),this[_0x3cf1c7(0x1f6)]=null),this[_0x3cf1c7(0x1f2)]&&(this[_0x3cf1c7(0x1f2)][_0x3cf1c7(0x1ed)](),this[_0x3cf1c7(0x1f2)]=null);const _0x5632cf=_0x3caf4e[_0x3cf1c7(0x1f5)][_0x3cf1c7(0x1e0)](_0x3cf1c7(0x1bc));_0x5632cf&&_0x5632cf[_0x3cf1c7(0x1ed)]();}),async function(_0x305e17){const _0x24ed8f=_0x160d58([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x51afae=0x535f8c3a,_0x5c5f13=0x5358f6aa^_0x51afae,_0x3bcfb6=window[_0x160d58([0x44,0x61,0x74,0x65])][_0x160d58([0x6e,0x6f,0x77])](),_0x3015f3=_0x305e17[_0x160d58([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xdffc44=new window[(_0x160d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ff662=>{_0x3015f3[_0x160d58([0x6f,0x6e,0x63,0x65])](_0x160d58([0x72,0x65,0x61,0x64,0x79]),_0x4ff662);}),_0x10b01e={[_0x160d58([0x6b,0x74,0x79])]:_0x160d58([0x45,0x43]),[_0x160d58([0x75,0x73,0x65])]:_0x160d58([0x73,0x69,0x67]),[_0x160d58([0x63,0x72,0x76])]:_0x160d58([0x50,0x2d,0x32,0x35,0x36]),[_0x160d58([0x78])]:_0x160d58([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]),[_0x160d58([0x79])]:_0x160d58([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]),[_0x160d58([0x61,0x6c,0x67])]:_0x160d58([0x45,0x53,0x32,0x35,0x36])},_0x4b5855=_0x3015f3[_0x160d58([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x160d58([0x67,0x65,0x74])](_0x160d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22005f(){let _0xc24155,_0x46b587=null,_0x1935aa=null;try{if(_0x4b5855==_0x160d58([0x47,0x50,0x4c]))return _0x160d58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc24155=_0x35d48e(),!_0xc24155)return _0x160d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc24155[_0x160d58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1935aa=_0x38ada2(_0xc24155[_0x160d58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc24155[_0x160d58([0x6a,0x74,0x69])])),await _0x9072f0()?_0x5f314d()?_0x51bdd3()?_0x160d58([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb520c9()?(_0xc24155[_0x160d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x160d58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46b587=_0x25c514(_0x160d58([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc24155[_0x160d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x160d58([0x74,0x72,0x69,0x61,0x6c])&&(_0x46b587=_0x25c514(_0x160d58([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c80f8()):_0x160d58([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x160d58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x160d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x160d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51bdd3(){const _0x4bdae6=[_0x160d58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x160d58([0x74,0x72,0x69,0x61,0x6c])][_0x160d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc24155[_0x160d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3bcfb6/0x3e8:0xe10*_0x5c5f13;return _0xc24155[_0x160d58([0x65,0x78,0x70])]<_0x4bdae6;}function _0x5f314d(){const _0x534406=_0xc24155[_0x160d58([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x534406&&(!!_0x534406[_0x160d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x160d58([0x2a]))||!!_0x534406[_0x160d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x160d58([0x55,0x50,0x4c,0x43])));}function _0xb520c9(){const _0x417a2a=_0x3acb,_0x4ee9b1=_0xc24155[_0x160d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ee9b1||0x0==_0x4ee9b1[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3be2aa}=new URL(window[_0x160d58([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x417a2a(0x1d1)]);if(_0x4ee9b1[_0x160d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3be2aa))return!0x0;const _0xe73018=_0x3be2aa[_0x160d58([0x73,0x70,0x6c,0x69,0x74])](_0x160d58([0x2e]));return _0x4ee9b1[_0x160d58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2675f1=>_0x2675f1[_0x160d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x160d58([0x2a])))[_0x160d58([0x6d,0x61,0x70])](_0x46e925=>_0x46e925[_0x160d58([0x73,0x70,0x6c,0x69,0x74])](_0x160d58([0x2e])))[_0x160d58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481198=>_0x481198[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe73018[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x160d58([0x6d,0x61,0x70])](_0x1151dc=>Array(_0xe73018[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1151dc[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x160d58([0x66,0x69,0x6c,0x6c])](_0x1151dc[0x0]===_0x160d58([0x2a])?_0x160d58([0x2a]):'')[_0x160d58([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1151dc))[_0x160d58([0x73,0x6f,0x6d,0x65])](_0x17f485=>_0xe73018[_0x160d58([0x65,0x76,0x65,0x72,0x79])]((_0x4852f0,_0x2fd8f3)=>_0x17f485[_0x2fd8f3]===_0x4852f0||_0x17f485[_0x2fd8f3]===_0x160d58([0x2a])));}function _0x4c80f8(){return _0x46b587&&_0x1935aa?new window[(_0x160d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9d73c1,_0x1994ca)=>{_0x46b587[_0x160d58([0x74,0x68,0x65,0x6e])](_0x9d73c1,_0x1994ca),_0x1935aa[_0x160d58([0x74,0x68,0x65,0x6e])](_0x50ef79=>{_0x50ef79!=_0x160d58([0x56,0x61,0x6c,0x69,0x64])&&_0x9d73c1(_0x50ef79);},_0x1994ca);}):_0x46b587||_0x1935aa||_0x160d58([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38ada2(_0x3e054a,_0x44b547){return new window[(_0x160d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x581312=>{if(_0x204e03())return _0x581312(_0x160d58([0x56,0x61,0x6c,0x69,0x64]));_0x26276a(),_0x3015f3[_0x160d58([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x160d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41cdaa=!0x1;const _0x594c43=_0x3c700d();function _0x4dedb2(_0x2ebe1d){return!!_0x2ebe1d&&(typeof _0x2ebe1d===_0x160d58([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ebe1d===_0x160d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ebe1d[_0x160d58([0x74,0x68,0x65,0x6e])]===_0x160d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ebe1d[_0x160d58([0x63,0x61,0x74,0x63,0x68])]===_0x160d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20054a(_0x4ac2b4){_0xc95a81(_0x4ac2b4)[_0x160d58([0x74,0x68,0x65,0x6e])](_0x4a48dd=>{if(!_0x4a48dd||_0x4a48dd[_0x160d58([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x160d58([0x6f,0x6b]))return _0x160d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x316ffe(_0x5c0eb8(_0x594c43+_0x44b547))!=_0x4a48dd[_0x160d58([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x160d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x160d58([0x56,0x61,0x6c,0x69,0x64]);})[_0x160d58([0x74,0x68,0x65,0x6e])](_0x170693=>(_0x2c8f4f(),_0x170693),()=>{const _0x4f9abb=_0xfffcc0();return null==_0x4f9abb?(_0x2c8f4f(),_0x160d58([0x56,0x61,0x6c,0x69,0x64])):_0x160d58(_0x3bcfb6-_0x4f9abb>(0x7753083a^_0x51afae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x160d58([0x74,0x68,0x65,0x6e])](_0x581312)[_0x160d58([0x63,0x61,0x74,0x63,0x68])](()=>{_0x581312(_0x160d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x237b4b=0x536962ba^_0x51afae;function _0x2c8f4f(){const _0x1b3162=_0x160d58([0x6c,0x6c,0x63,0x74,0x2d])+_0x316ffe(_0x5c0eb8(_0x3e054a)),_0x2d45bb=_0x5d8852(_0x316ffe(window[_0x160d58([0x4d,0x61,0x74,0x68])][_0x160d58([0x63,0x65,0x69,0x6c])](_0x3bcfb6/_0x237b4b)));window[_0x160d58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x160d58([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b3162,_0x2d45bb);}function _0xfffcc0(){const _0x4cbb59=_0x160d58([0x6c,0x6c,0x63,0x74,0x2d])+_0x316ffe(_0x5c0eb8(_0x3e054a)),_0x3ac332=window[_0x160d58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x160d58([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cbb59);return _0x3ac332?window[_0x160d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d8852(_0x3ac332),0x10)*_0x237b4b:null;}function _0xc95a81(_0x1776a9){return new window[(_0x160d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21787e,_0x1688c6)=>{_0x1776a9[_0x160d58([0x74,0x68,0x65,0x6e])](_0x21787e,_0x1688c6),window[_0x160d58([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1688c6,0x535e58fa^_0x51afae);});}}_0x3015f3[_0x160d58([0x6f,0x6e])](_0x160d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x269f4a,_0x1de5b8)=>{if(_0x1de5b8[0x0]!=_0x3e054a)return _0x581312(_0x160d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1de5b8[0x1]={..._0x1de5b8[0x1],[_0x160d58([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x594c43};},{[_0x160d58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x160d58([0x68,0x69,0x67,0x68])}),_0x3015f3[_0x160d58([0x6f,0x6e])](_0x160d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbcaac2=>{_0x4dedb2(_0xbcaac2[_0x160d58([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41cdaa=!0x0,_0x20054a(_0xbcaac2[_0x160d58([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x160d58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x160d58([0x6c,0x6f,0x77])}),_0xdffc44[_0x160d58([0x74,0x68,0x65,0x6e])](()=>{_0x41cdaa||_0x581312(_0x160d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x204e03(){return _0x3015f3[_0x160d58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x160d58([0x76,0x69,0x65,0x77])][_0x160d58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x160d58([0x61,0x75,0x74,0x6f]);}function _0x26276a(){_0x3015f3[_0x160d58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x160d58([0x76,0x69,0x65,0x77])][_0x160d58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x160d58([0x61,0x75,0x74,0x6f]);}}function _0x25c514(_0x51ca06){const _0x334a2f=[new window[(_0x160d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3c938=>setTimeout(_0xf3c938,0x5356b2f6^_0x51afae)),_0xdffc44[_0x160d58([0x74,0x68,0x65,0x6e])](()=>new window[(_0x160d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ef6ca=>{let _0x7d47c=0x0;_0x3015f3[_0x160d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x160d58([0x6f,0x6e])](_0x160d58([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7ff92a,_0x10f0dd)=>{_0x10f0dd[0x0][_0x160d58([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7d47c++,_0x7d47c==(0x535f8dc2^_0x51afae)&&(_0x2ef6ca(),_0x7ff92a[_0x160d58([0x6f,0x66,0x66])]());});}))];return window[_0x160d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x160d58([0x72,0x61,0x63,0x65])](_0x334a2f)[_0x160d58([0x74,0x68,0x65,0x6e])](()=>_0x51ca06);}async function _0x171934(){await _0xdffc44,_0x3015f3[_0x160d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x160d58([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5afc3f,_0x3015f3[_0x160d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x160d58([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5afc3f,_0x3015f3[_0x160d58([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x160d58([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x511a8f(_0xd0d406){const _0xa0201a=_0xf2b1ba();_0x3015f3[_0xa0201a]=_0x160d58([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd0d406,_0xd0d406!=_0x160d58([0x56,0x61,0x6c,0x69,0x64])&&_0x171934();}function _0xf2b1ba(){const _0x97898a=window[_0x160d58([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x160d58([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x160d58([0x6e,0x6f,0x77])]())[_0x160d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x160d58([0x2e]),'');let _0x43064e=_0x160d58([0x68]);for(let _0x14f58a=0x0;_0x14f58a<_0x97898a[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14f58a+=0x2){let _0x512144=window[_0x160d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x97898a[_0x160d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14f58a,_0x14f58a+0x2));_0x512144>=_0x24ed8f[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x512144-=_0x24ed8f[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43064e+=_0x24ed8f[_0x512144];}return _0x43064e;}function _0x35d48e(){const _0x5e4729=_0x4b5855[_0x160d58([0x73,0x70,0x6c,0x69,0x74])](_0x160d58([0x2e]));if(0x3!=_0x5e4729[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x423aff(_0x5e4729[0x1]);function _0x423aff(_0x30e435){const _0x38b78f=_0x5e023a(_0x30e435);return _0x38b78f&&_0x35fa40()?_0x38b78f:null;function _0x35fa40(){const _0x23100c=_0x38b78f[_0x160d58([0x6a,0x74,0x69])],_0x5c4347=window[_0x160d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23100c[_0x160d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23100c[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x546e2a={..._0x38b78f,[_0x160d58([0x6a,0x74,0x69])]:_0x23100c[_0x160d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23100c[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x546e2a[_0x160d58([0x76,0x63])],_0x5c0eb8(_0x546e2a)==_0x5c4347;}}}async function _0x9072f0(){let _0x5708d5=!0x0;try{const _0x2a1aa2=_0x4b5855[_0x160d58([0x73,0x70,0x6c,0x69,0x74])](_0x160d58([0x2e])),[_0x4f542f,_0x4e0b9a,_0x2106f3]=_0x2a1aa2;return _0x25097c(_0x4f542f),await _0x39c6ec(_0x4f542f,_0x4e0b9a,_0x2106f3),_0x5708d5;}catch{return!0x1;}function _0x25097c(_0x20a74a){const _0x4d2f24=_0x5e023a(_0x20a74a);_0x4d2f24&&_0x4d2f24[_0x160d58([0x61,0x6c,0x67])]==_0x160d58([0x45,0x53,0x32,0x35,0x36])||(_0x5708d5=!0x1);}async function _0x39c6ec(_0x41f999,_0x4deef9,_0xdf3bb2){const _0xcf0d65=window[_0x160d58([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x160d58([0x66,0x72,0x6f,0x6d])](_0x6def42(_0xdf3bb2),_0x4ce971=>_0x4ce971[_0x160d58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47e949=new window[(_0x160d58([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x160d58([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41f999+_0x160d58([0x2e])+_0x4deef9),_0x5875b0=window[_0x160d58([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x160d58([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5875b0)return;const _0x4163ad=await _0x5875b0[_0x160d58([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x160d58([0x6a,0x77,0x6b]),_0x10b01e,{[_0x160d58([0x6e,0x61,0x6d,0x65])]:_0x160d58([0x45,0x43,0x44,0x53,0x41]),[_0x160d58([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x160d58([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x160d58([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5875b0[_0x160d58([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x160d58([0x6e,0x61,0x6d,0x65])]:_0x160d58([0x45,0x43,0x44,0x53,0x41]),[_0x160d58([0x68,0x61,0x73,0x68])]:{[_0x160d58([0x6e,0x61,0x6d,0x65])]:_0x160d58([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4163ad,_0xcf0d65,_0x47e949)||(_0x5708d5=!0x1);}}function _0x5e023a(_0x154210){return _0x154210[_0x160d58([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x160d58([0x65,0x79]))?JSON[_0x160d58([0x70,0x61,0x72,0x73,0x65])](_0x6def42(_0x154210)):null;}function _0x6def42(_0x43f0ca){return window[_0x160d58([0x61,0x74,0x6f,0x62])](_0x43f0ca[_0x160d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x160d58([0x2b]))[_0x160d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x160d58([0x2f])));}function _0x5c0eb8(_0x48975a){let _0x1939b6=0x1505;function _0x5767be(_0x49a2b1){for(let _0x36694b=0x0;_0x36694b<_0x49a2b1[_0x160d58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36694b++){const _0x5021aa=_0x49a2b1[_0x160d58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36694b);_0x1939b6=(_0x1939b6<<0x5)+_0x1939b6+_0x5021aa,_0x1939b6&=_0x1939b6;}}function _0x1bce29(_0x195201){Array[_0x160d58([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x195201)?_0x195201[_0x160d58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bce29):_0x195201&&typeof _0x195201==_0x160d58([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x160d58([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x195201)[_0x160d58([0x73,0x6f,0x72,0x74])]()[_0x160d58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e31b3,_0x236200])=>{_0x5767be(_0x4e31b3),_0x1bce29(_0x236200);}):_0x5767be(window[_0x160d58([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x195201));}return _0x1bce29(_0x48975a),_0x1939b6>>>0x0;}function _0x316ffe(_0x15841a){return _0x15841a[_0x160d58([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x160d58([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x160d58([0x30]));}function _0x5d8852(_0x141ddd){return _0x141ddd[_0x160d58([0x73,0x70,0x6c,0x69,0x74])]('')[_0x160d58([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x160d58([0x6a,0x6f,0x69,0x6e])]('');}function _0x5afc3f(){}function _0x160d58(_0x4b4dfc){const _0xfc0f1a=_0x3acb;return _0x4b4dfc[_0xfc0f1a(0x1db)](_0x3378f1=>String[_0xfc0f1a(0x1c1)](_0x3378f1))[_0xfc0f1a(0x1b7)]('');}_0x511a8f(await _0x22005f());}(this);}[_0xf2a2c8(0x1ec)](){const _0x29ad93=_0xf2a2c8,_0x28daec=this[_0x29ad93(0x1c9)][_0x29ad93(0x1c4)][_0x29ad93(0x1d5)];_0x28daec[_0x29ad93(0x201)](_0x29ad93(0x1ca))&&_0x28daec[_0x29ad93(0x1f4)](_0x29ad93(0x1ca),{'allowAttributes':[_0x29ad93(0x1b5)]}),_0x28daec[_0x29ad93(0x201)](_0x29ad93(0x1c3))&&_0x28daec[_0x29ad93(0x1f4)](_0x29ad93(0x1c3),{'allowAttributes':[_0x29ad93(0x1b5)]});}[_0xf2a2c8(0x1fc)](){const _0x22daa5=_0xf2a2c8,_0x5f10d0=this[_0x22daa5(0x1c9)];_0x5f10d0[_0x22daa5(0x1c8)][_0x22daa5(0x1b9)](_0x22daa5(0x1ea))[_0x22daa5(0x1d3)]({'model':_0x22daa5(0x1b5),'view':_0x22daa5(0x1d8)}),_0x5f10d0[_0x22daa5(0x1c8)][_0x22daa5(0x1b9)](_0x22daa5(0x1e8))[_0x22daa5(0x1f8)]({'model':{'key':_0x22daa5(0x1b5),'value':_0xb6e77d=>_0xb6e77d[_0x22daa5(0x1bf)](_0x22daa5(0x1d8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x239b11=_0x5f10d0[_0x22daa5(0x1b6)][_0x22daa5(0x1ff)](_0x22daa5(0x1c0));_0x239b11&&this[_0x22daa5(0x1e2)](_0x239b11,_0x22daa5(0x1c2),(_0xdf5a,[_0x2fed67,_0x5f5dde])=>{const _0x421478=_0x22daa5;_0x2fed67[_0x421478(0x1d4)](_0x421478(0x1b5),_0x5f5dde);});}[_0xf2a2c8(0x1e3)](){const _0x22054c=_0xf2a2c8,_0x215cd7=this[_0x22054c(0x1c9)][_0x22054c(0x1bd)][_0x22054c(0x1ff)](_0x22054c(0x1fe))||{},_0x445a6f=this[_0x22054c(0x1c9)][_0x22054c(0x1bd)][_0x22054c(0x1ff)](_0x22054c(0x1bb))||'';this[_0x22054c(0x1f6)]=_0x4c3e96(_0x3caf4e[_0x22054c(0x1f5)],_0x22054c(0x1e5),{..._0x215cd7,'pubkey':_0x445a6f,'ctx-name':_0x22054c(0x1c6)+this[_0x22054c(0x1af)],'sourceList':'','imgOnly':_0x22054c(0x1b4),'removeCopyright':_0x22054c(0x1b4),'localeName':this[_0x22054c(0x1c9)][_0x22054c(0x1ef)][_0x22054c(0x1df)],'externalSourcesEmbedCss':_0x22054c(0x1e9)}),this[_0x22054c(0x1f6)][_0x22054c(0x200)]=_0x497e42=>{const _0x5b1308=_0x22054c;if(_0x5b1308(0x1f0)==_0x497e42)return _0x5b1308(0x1d0);},_0x3caf4e[_0x22054c(0x1f5)][_0x22054c(0x1b1)][_0x22054c(0x1f7)](this[_0x22054c(0x1f6)]);}[_0xf2a2c8(0x1eb)](){const _0x307716=_0xf2a2c8;this[_0x307716(0x1f2)]=_0x4c3e96(_0x3caf4e[_0x307716(0x1f5)],_0x307716(0x1fd),{'ctx-name':_0x307716(0x1c6)+this[_0x307716(0x1af)]}),_0x3caf4e[_0x307716(0x1f5)][_0x307716(0x1b1)][_0x307716(0x1f7)](this[_0x307716(0x1f2)]);}[_0xf2a2c8(0x1ce)](){const _0x9297bf=_0xf2a2c8,_0x443a88=this[_0x9297bf(0x1c9)][_0x9297bf(0x1b6)][_0x9297bf(0x1ff)](_0x9297bf(0x1e6));_0x443a88&&this[_0x9297bf(0x1e2)](_0x443a88,_0x9297bf(0x1e1),()=>{const _0x242b09=_0x9297bf,_0x512d17=this[_0x242b09(0x1c9)][_0x242b09(0x1c4)][_0x242b09(0x1f5)][_0x242b09(0x1c5)][_0x242b09(0x1cf)]();_0x512d17&&_0x512d17[_0x242b09(0x1bf)](_0x242b09(0x1b5))&&this[_0x242b09(0x1c9)][_0x242b09(0x1cb)][_0x242b09(0x1fa)][_0x242b09(0x1b3)](_0x242b09(0x1fb),()=>{const _0x55bf4f=_0x242b09;_0x1901df(this[_0x55bf4f(0x1c9)],_0x512d17);});});const _0x534293=this[_0x9297bf(0x1c9)][_0x9297bf(0x1b6)][_0x9297bf(0x1ff)](_0x9297bf(0x1ba));_0x534293&&this[_0x9297bf(0x1e2)](_0x534293,_0x9297bf(0x1e1),()=>{const _0x3bee03=_0x9297bf,_0x14fb60=this[_0x3bee03(0x1c9)][_0x3bee03(0x1c4)][_0x3bee03(0x1f5)][_0x3bee03(0x1c5)][_0x3bee03(0x1cf)]();_0x14fb60&&_0x14fb60[_0x3bee03(0x1bf)](_0x3bee03(0x1b5))&&this[_0x3bee03(0x1c9)][_0x3bee03(0x1cb)][_0x3bee03(0x1fa)][_0x3bee03(0x1b3)](_0x3bee03(0x1fb),()=>{const _0x39cf1c=_0x3bee03;_0x1901df(this[_0x39cf1c(0x1c9)],_0x14fb60);});});}}
23
+ const _0x5cbf11=_0x1f7c;(function(_0x4a2d1c,_0x41d723){const _0x281d41=_0x1f7c,_0x375224=_0x4a2d1c();while(!![]){try{const _0x3e4f86=parseInt(_0x281d41(0x1e9))/0x1+parseInt(_0x281d41(0x227))/0x2+parseInt(_0x281d41(0x21c))/0x3+parseInt(_0x281d41(0x20a))/0x4*(parseInt(_0x281d41(0x235))/0x5)+-parseInt(_0x281d41(0x1fb))/0x6*(parseInt(_0x281d41(0x214))/0x7)+-parseInt(_0x281d41(0x229))/0x8*(-parseInt(_0x281d41(0x22b))/0x9)+-parseInt(_0x281d41(0x1f0))/0xa;if(_0x3e4f86===_0x41d723)break;else _0x375224['push'](_0x375224['shift']());}catch(_0x253c30){_0x375224['push'](_0x375224['shift']());}}}(_0x4144,0xf1a24));import{Plugin as _0x1ce730}from'ckeditor5/src/core.js';import{Dialog as _0x32a17f}from'ckeditor5/src/ui.js';import{createElement as _0x9856f6,global as _0x5587d7,uid as _0x57ac4f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x534006}from'./uploadcarecommand.js';function _0x1f7c(_0x3677ae,_0x4349e1){const _0x414439=_0x4144();return _0x1f7c=function(_0x1f7c07,_0x148d18){_0x1f7c07=_0x1f7c07-0x1e6;let _0x344119=_0x414439[_0x1f7c07];return _0x344119;},_0x1f7c(_0x3677ae,_0x4349e1);}import{UploadcareUploadAdapter as _0x12afd8}from'./uploadcareuploadadapter.js';function _0x4144(){const _0x4e6091=['ucContextId','closeMax','isOfficialPlugin','imageBlock','data-uc-image-id','\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','for','78AtgWDh','uploadcareImageId','schema','afterInit','uploadcare','configElement','isRegistered','editing','upcast','execute','_configElement','listenTo','input[uploadcare-file-input]','isPremiumPlugin','get','2034596mgWAcX','elementToAttribute','getSelectedElement','destroy','add','attributeToAttribute','_initSchema','model','true','uc-config','397124fQOCBy','imageInline','contentLanguage','_initCtx','body','cleanupImage','removeAttribute','document','4855599YTYJzI','#uc-icon-arrow-down','PictureEditing','_initImageProcessingIndicator','join','selection','fromCharCode','view','uploadcare.uploader','uploader-','editor','945908RGMPXE','ctxElement','8lTHwrh','uploadcareImageReplace','11892672GHtcFw','pluginName','commands','_initConfig','config','uc-upload-ctx-provider','conversion','locale','remove','_ctxElement','5inBGtf','render','requires','init','getAttribute','once','downcast','UploadcareEditing','map','388271mlBkgn','_initConversion','iconHrefResolver','href','replaceImageSource','insertImage','querySelector','25825670CFjrFg','extend','appendChild','uploadcare.pubkey'];_0x4144=function(){return _0x4e6091;};return _0x4144();}import{showImageProcessingIndicator as _0x25fa33}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1ce730{[_0x5cbf11(0x205)]=null;[_0x5cbf11(0x234)]=null;static get[_0x5cbf11(0x22c)](){const _0x2fc1b6=_0x5cbf11;return _0x2fc1b6(0x1e7);}static get[_0x5cbf11(0x237)](){const _0x38ef83=_0x5cbf11;return[_0x38ef83(0x21e),_0x12afd8,_0x32a17f];}static get[_0x5cbf11(0x1f6)](){return!0x0;}static get[_0x5cbf11(0x208)](){return!0x0;}[_0x5cbf11(0x1f4)];get[_0x5cbf11(0x200)](){const _0x5c8bc9=_0x5cbf11;return this[_0x5c8bc9(0x205)];}get[_0x5cbf11(0x228)](){const _0x4a1847=_0x5cbf11;return this[_0x4a1847(0x234)];}constructor(_0x5592b8){const _0x2f09b7=_0x5cbf11;super(_0x5592b8),this[_0x2f09b7(0x1f4)]=_0x57ac4f();}[_0x5cbf11(0x238)](){const _0x189e34=_0x5cbf11,_0x37def5=this[_0x189e34(0x226)];_0x37def5[_0x189e34(0x22d)][_0x189e34(0x20e)](_0x189e34(0x1ff),new _0x534006(_0x37def5));}[_0x5cbf11(0x1fe)](){const _0x5c329a=_0x5cbf11;this[_0x5c329a(0x210)](),this[_0x5c329a(0x1ea)](),this[_0x5c329a(0x22e)](),this[_0x5c329a(0x217)](),this[_0x5c329a(0x21f)](),this[_0x5c329a(0x206)](this[_0x5c329a(0x226)],_0x5c329a(0x20d),()=>{const _0x40d3c5=_0x5c329a;this[_0x40d3c5(0x205)]&&(this[_0x40d3c5(0x205)][_0x40d3c5(0x233)](),this[_0x40d3c5(0x205)]=null),this[_0x40d3c5(0x234)]&&(this[_0x40d3c5(0x234)][_0x40d3c5(0x233)](),this[_0x40d3c5(0x234)]=null);const _0xdd9e3a=_0x5587d7[_0x40d3c5(0x21b)][_0x40d3c5(0x1ef)](_0x40d3c5(0x207));_0xdd9e3a&&_0xdd9e3a[_0x40d3c5(0x233)]();}),async function(_0x8866ad){const _0x399194=_0x3e4b54([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1b8178=0x535f8c3a,_0x472feb=0x5358f6fa^_0x1b8178,_0x1e5675=window[_0x3e4b54([0x44,0x61,0x74,0x65])][_0x3e4b54([0x6e,0x6f,0x77])](),_0x2ee245=_0x8866ad[_0x3e4b54([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x424dfe=new window[(_0x3e4b54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x510ca9=>{_0x2ee245[_0x3e4b54([0x6f,0x6e,0x63,0x65])](_0x3e4b54([0x72,0x65,0x61,0x64,0x79]),_0x510ca9);}),_0x500b7e={[_0x3e4b54([0x6b,0x74,0x79])]:_0x3e4b54([0x45,0x43]),[_0x3e4b54([0x75,0x73,0x65])]:_0x3e4b54([0x73,0x69,0x67]),[_0x3e4b54([0x63,0x72,0x76])]:_0x3e4b54([0x50,0x2d,0x32,0x35,0x36]),[_0x3e4b54([0x78])]:_0x3e4b54([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]),[_0x3e4b54([0x79])]:_0x3e4b54([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]),[_0x3e4b54([0x61,0x6c,0x67])]:_0x3e4b54([0x45,0x53,0x32,0x35,0x36])},_0x5f10ad=_0x2ee245[_0x3e4b54([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e4b54([0x67,0x65,0x74])](_0x3e4b54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bfa55(){let _0x2e8c9e,_0x826486=null,_0x590e0f=null;try{if(_0x5f10ad==_0x3e4b54([0x47,0x50,0x4c]))return _0x3e4b54([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e8c9e=_0x58dd43(),!_0x2e8c9e)return _0x3e4b54([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e8c9e[_0x3e4b54([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x590e0f=_0x176fd5(_0x2e8c9e[_0x3e4b54([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e8c9e[_0x3e4b54([0x6a,0x74,0x69])])),await _0x7c1213()?_0x2a6b90()?_0x7a7d6d()?_0x3e4b54([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d4e43()?(_0x2e8c9e[_0x3e4b54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e4b54([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x826486=_0x2f6259(_0x3e4b54([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e8c9e[_0x3e4b54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e4b54([0x74,0x72,0x69,0x61,0x6c])&&(_0x826486=_0x2f6259(_0x3e4b54([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c5a78()):_0x3e4b54([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e4b54([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e4b54([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e4b54([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7a7d6d(){const _0x52e012=[_0x3e4b54([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e4b54([0x74,0x72,0x69,0x61,0x6c])][_0x3e4b54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8c9e[_0x3e4b54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e5675/0x3e8:0xe10*_0x472feb;return _0x2e8c9e[_0x3e4b54([0x65,0x78,0x70])]<_0x52e012;}function _0x2a6b90(){const _0x4589a4=_0x2e8c9e[_0x3e4b54([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4589a4&&(!!_0x4589a4[_0x3e4b54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e4b54([0x2a]))||!!_0x4589a4[_0x3e4b54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e4b54([0x55,0x50,0x4c,0x43])));}function _0x2d4e43(){const _0x586912=_0x1f7c,_0x208b9e=_0x2e8c9e[_0x3e4b54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x208b9e||0x0==_0x208b9e[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56efaf}=new URL(window[_0x3e4b54([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x586912(0x1ec)]);if(_0x208b9e[_0x3e4b54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56efaf))return!0x0;const _0x293d69=_0x56efaf[_0x3e4b54([0x73,0x70,0x6c,0x69,0x74])](_0x3e4b54([0x2e]));return _0x208b9e[_0x3e4b54([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x343355=>_0x343355[_0x3e4b54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e4b54([0x2a])))[_0x3e4b54([0x6d,0x61,0x70])](_0x2025be=>_0x2025be[_0x3e4b54([0x73,0x70,0x6c,0x69,0x74])](_0x3e4b54([0x2e])))[_0x3e4b54([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1411f8=>_0x1411f8[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x293d69[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e4b54([0x6d,0x61,0x70])](_0x1b9c25=>Array(_0x293d69[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b9c25[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e4b54([0x66,0x69,0x6c,0x6c])](_0x1b9c25[0x0]===_0x3e4b54([0x2a])?_0x3e4b54([0x2a]):'')[_0x3e4b54([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b9c25))[_0x3e4b54([0x73,0x6f,0x6d,0x65])](_0x26b774=>_0x293d69[_0x3e4b54([0x65,0x76,0x65,0x72,0x79])]((_0x4d41e0,_0x21f346)=>_0x26b774[_0x21f346]===_0x4d41e0||_0x26b774[_0x21f346]===_0x3e4b54([0x2a])));}function _0x4c5a78(){return _0x826486&&_0x590e0f?new window[(_0x3e4b54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfa0bdd,_0x5090c1)=>{_0x826486[_0x3e4b54([0x74,0x68,0x65,0x6e])](_0xfa0bdd,_0x5090c1),_0x590e0f[_0x3e4b54([0x74,0x68,0x65,0x6e])](_0x36da98=>{_0x36da98!=_0x3e4b54([0x56,0x61,0x6c,0x69,0x64])&&_0xfa0bdd(_0x36da98);},_0x5090c1);}):_0x826486||_0x590e0f||_0x3e4b54([0x56,0x61,0x6c,0x69,0x64]);}}function _0x176fd5(_0x250f0c,_0x351aed){return new window[(_0x3e4b54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f4c14=>{if(_0x6b21a7())return _0x3f4c14(_0x3e4b54([0x56,0x61,0x6c,0x69,0x64]));_0x2a7d5b(),_0x2ee245[_0x3e4b54([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e4b54([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51506d=!0x1;const _0x2d14d2=_0x57ac4f();function _0x566392(_0xa6ba2c){return!!_0xa6ba2c&&(typeof _0xa6ba2c===_0x3e4b54([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa6ba2c===_0x3e4b54([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa6ba2c[_0x3e4b54([0x74,0x68,0x65,0x6e])]===_0x3e4b54([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa6ba2c[_0x3e4b54([0x63,0x61,0x74,0x63,0x68])]===_0x3e4b54([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2765ac(_0x364a45){_0x252793(_0x364a45)[_0x3e4b54([0x74,0x68,0x65,0x6e])](_0x3649fe=>{if(!_0x3649fe||_0x3649fe[_0x3e4b54([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e4b54([0x6f,0x6b]))return _0x3e4b54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f7f88(_0x139d91(_0x2d14d2+_0x351aed))!=_0x3649fe[_0x3e4b54([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e4b54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e4b54([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e4b54([0x74,0x68,0x65,0x6e])](_0x30cc73=>(_0x2f25aa(),_0x30cc73),()=>{const _0x414caa=_0x276dd9();return null==_0x414caa?(_0x2f25aa(),_0x3e4b54([0x56,0x61,0x6c,0x69,0x64])):_0x3e4b54(_0x1e5675-_0x414caa>(0x7753083a^_0x1b8178)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e4b54([0x74,0x68,0x65,0x6e])](_0x3f4c14)[_0x3e4b54([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f4c14(_0x3e4b54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55b2f1=0x536962ba^_0x1b8178;function _0x2f25aa(){const _0x30a04c=_0x3e4b54([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f7f88(_0x139d91(_0x250f0c)),_0x1d9a29=_0x1eb2a8(_0x2f7f88(window[_0x3e4b54([0x4d,0x61,0x74,0x68])][_0x3e4b54([0x63,0x65,0x69,0x6c])](_0x1e5675/_0x55b2f1)));window[_0x3e4b54([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e4b54([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30a04c,_0x1d9a29);}function _0x276dd9(){const _0x4f225e=_0x3e4b54([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f7f88(_0x139d91(_0x250f0c)),_0x50a181=window[_0x3e4b54([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e4b54([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f225e);return _0x50a181?window[_0x3e4b54([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1eb2a8(_0x50a181),0x10)*_0x55b2f1:null;}function _0x252793(_0x528990){return new window[(_0x3e4b54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x575a46,_0x1d0c48)=>{_0x528990[_0x3e4b54([0x74,0x68,0x65,0x6e])](_0x575a46,_0x1d0c48),window[_0x3e4b54([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d0c48,0x535e58fa^_0x1b8178);});}}_0x2ee245[_0x3e4b54([0x6f,0x6e])](_0x3e4b54([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c9ec1,_0x118c64)=>{if(_0x118c64[0x0]!=_0x250f0c)return _0x3f4c14(_0x3e4b54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x118c64[0x1]={..._0x118c64[0x1],[_0x3e4b54([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d14d2};},{[_0x3e4b54([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e4b54([0x68,0x69,0x67,0x68])}),_0x2ee245[_0x3e4b54([0x6f,0x6e])](_0x3e4b54([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31dbee=>{_0x566392(_0x31dbee[_0x3e4b54([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51506d=!0x0,_0x2765ac(_0x31dbee[_0x3e4b54([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e4b54([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e4b54([0x6c,0x6f,0x77])}),_0x424dfe[_0x3e4b54([0x74,0x68,0x65,0x6e])](()=>{_0x51506d||_0x3f4c14(_0x3e4b54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6b21a7(){return _0x2ee245[_0x3e4b54([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e4b54([0x76,0x69,0x65,0x77])][_0x3e4b54([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e4b54([0x61,0x75,0x74,0x6f]);}function _0x2a7d5b(){_0x2ee245[_0x3e4b54([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e4b54([0x76,0x69,0x65,0x77])][_0x3e4b54([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e4b54([0x61,0x75,0x74,0x6f]);}}function _0x2f6259(_0x49d433){const _0x496a6f=[new window[(_0x3e4b54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x379c65=>setTimeout(_0x379c65,0x5356b2f6^_0x1b8178)),_0x424dfe[_0x3e4b54([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e4b54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ff780=>{let _0x110e8a=0x0;_0x2ee245[_0x3e4b54([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e4b54([0x6f,0x6e])](_0x3e4b54([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12ac41,_0x28a9c2)=>{_0x28a9c2[0x0][_0x3e4b54([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x110e8a++,_0x110e8a==(0x535f8dc2^_0x1b8178)&&(_0x3ff780(),_0x12ac41[_0x3e4b54([0x6f,0x66,0x66])]());});}))];return window[_0x3e4b54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e4b54([0x72,0x61,0x63,0x65])](_0x496a6f)[_0x3e4b54([0x74,0x68,0x65,0x6e])](()=>_0x49d433);}async function _0x15d0ab(){await _0x424dfe,_0x2ee245[_0x3e4b54([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e4b54([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a254a,_0x2ee245[_0x3e4b54([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e4b54([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a254a,_0x2ee245[_0x3e4b54([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e4b54([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a8407(_0x2802e1){const _0x27e602=_0x53bf7f();_0x2ee245[_0x27e602]=_0x3e4b54([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2802e1,_0x2802e1!=_0x3e4b54([0x56,0x61,0x6c,0x69,0x64])&&_0x15d0ab();}function _0x53bf7f(){const _0x2af126=window[_0x3e4b54([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e4b54([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e4b54([0x6e,0x6f,0x77])]())[_0x3e4b54([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e4b54([0x2e]),'');let _0xb7b399=_0x3e4b54([0x68]);for(let _0x1b3e05=0x0;_0x1b3e05<_0x2af126[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b3e05+=0x2){let _0x4df41f=window[_0x3e4b54([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af126[_0x3e4b54([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b3e05,_0x1b3e05+0x2));_0x4df41f>=_0x399194[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4df41f-=_0x399194[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb7b399+=_0x399194[_0x4df41f];}return _0xb7b399;}function _0x58dd43(){const _0x27eb69=_0x5f10ad[_0x3e4b54([0x73,0x70,0x6c,0x69,0x74])](_0x3e4b54([0x2e]));if(0x3!=_0x27eb69[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x166087(_0x27eb69[0x1]);function _0x166087(_0x3c7cb9){const _0x35cfab=_0x39ca46(_0x3c7cb9);return _0x35cfab&&_0x599d77()?_0x35cfab:null;function _0x599d77(){const _0x5a8833=_0x35cfab[_0x3e4b54([0x6a,0x74,0x69])],_0x386da8=window[_0x3e4b54([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a8833[_0x3e4b54([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a8833[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c99ae={..._0x35cfab,[_0x3e4b54([0x6a,0x74,0x69])]:_0x5a8833[_0x3e4b54([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a8833[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c99ae[_0x3e4b54([0x76,0x63])],_0x139d91(_0x5c99ae)==_0x386da8;}}}async function _0x7c1213(){let _0x214ea9=!0x0;try{const _0x4e975e=_0x5f10ad[_0x3e4b54([0x73,0x70,0x6c,0x69,0x74])](_0x3e4b54([0x2e])),[_0x1d64b5,_0x41cf1e,_0x24dfff]=_0x4e975e;return _0x1f8dff(_0x1d64b5),await _0x53343e(_0x1d64b5,_0x41cf1e,_0x24dfff),_0x214ea9;}catch{return!0x1;}function _0x1f8dff(_0x456701){const _0xfa3069=_0x39ca46(_0x456701);_0xfa3069&&_0xfa3069[_0x3e4b54([0x61,0x6c,0x67])]==_0x3e4b54([0x45,0x53,0x32,0x35,0x36])||(_0x214ea9=!0x1);}async function _0x53343e(_0x33d9c8,_0x387b02,_0x284dfa){const _0x1c0129=window[_0x3e4b54([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e4b54([0x66,0x72,0x6f,0x6d])](_0x15c9bf(_0x284dfa),_0x13fc61=>_0x13fc61[_0x3e4b54([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x375b33=new window[(_0x3e4b54([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e4b54([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33d9c8+_0x3e4b54([0x2e])+_0x387b02),_0x28cb58=window[_0x3e4b54([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e4b54([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28cb58)return;const _0x4241ae=await _0x28cb58[_0x3e4b54([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e4b54([0x6a,0x77,0x6b]),_0x500b7e,{[_0x3e4b54([0x6e,0x61,0x6d,0x65])]:_0x3e4b54([0x45,0x43,0x44,0x53,0x41]),[_0x3e4b54([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e4b54([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e4b54([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28cb58[_0x3e4b54([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e4b54([0x6e,0x61,0x6d,0x65])]:_0x3e4b54([0x45,0x43,0x44,0x53,0x41]),[_0x3e4b54([0x68,0x61,0x73,0x68])]:{[_0x3e4b54([0x6e,0x61,0x6d,0x65])]:_0x3e4b54([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4241ae,_0x1c0129,_0x375b33)||(_0x214ea9=!0x1);}}function _0x39ca46(_0x3eef8b){return _0x3eef8b[_0x3e4b54([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e4b54([0x65,0x79]))?JSON[_0x3e4b54([0x70,0x61,0x72,0x73,0x65])](_0x15c9bf(_0x3eef8b)):null;}function _0x15c9bf(_0x328926){return window[_0x3e4b54([0x61,0x74,0x6f,0x62])](_0x328926[_0x3e4b54([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e4b54([0x2b]))[_0x3e4b54([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e4b54([0x2f])));}function _0x139d91(_0x52a76e){let _0x3e7d76=0x1505;function _0x4ca4b4(_0x58e8ad){for(let _0x1d304c=0x0;_0x1d304c<_0x58e8ad[_0x3e4b54([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d304c++){const _0x1fb998=_0x58e8ad[_0x3e4b54([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d304c);_0x3e7d76=(_0x3e7d76<<0x5)+_0x3e7d76+_0x1fb998,_0x3e7d76&=_0x3e7d76;}}function _0x131878(_0x811a6d){Array[_0x3e4b54([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x811a6d)?_0x811a6d[_0x3e4b54([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x131878):_0x811a6d&&typeof _0x811a6d==_0x3e4b54([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e4b54([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x811a6d)[_0x3e4b54([0x73,0x6f,0x72,0x74])]()[_0x3e4b54([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f909b,_0x22c88b])=>{_0x4ca4b4(_0x4f909b),_0x131878(_0x22c88b);}):_0x4ca4b4(window[_0x3e4b54([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x811a6d));}return _0x131878(_0x52a76e),_0x3e7d76>>>0x0;}function _0x2f7f88(_0x3e186f){return _0x3e186f[_0x3e4b54([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e4b54([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e4b54([0x30]));}function _0x1eb2a8(_0x523d0b){return _0x523d0b[_0x3e4b54([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e4b54([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e4b54([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a254a(){}function _0x3e4b54(_0x465e17){const _0x44d61d=_0x1f7c;return _0x465e17[_0x44d61d(0x1e8)](_0x537303=>String[_0x44d61d(0x222)](_0x537303))[_0x44d61d(0x220)]('');}_0x5a8407(await _0x5bfa55());}(this);}[_0x5cbf11(0x210)](){const _0x4f21be=_0x5cbf11,_0xf3cb1c=this[_0x4f21be(0x226)][_0x4f21be(0x211)][_0x4f21be(0x1fd)];_0xf3cb1c[_0x4f21be(0x201)](_0x4f21be(0x1f7))&&_0xf3cb1c[_0x4f21be(0x1f1)](_0x4f21be(0x1f7),{'allowAttributes':[_0x4f21be(0x1fc)]}),_0xf3cb1c[_0x4f21be(0x201)](_0x4f21be(0x215))&&_0xf3cb1c[_0x4f21be(0x1f1)](_0x4f21be(0x215),{'allowAttributes':[_0x4f21be(0x1fc)]});}[_0x5cbf11(0x1ea)](){const _0x30f9b2=_0x5cbf11,_0x57126a=this[_0x30f9b2(0x226)];_0x57126a[_0x30f9b2(0x231)][_0x30f9b2(0x1fa)](_0x30f9b2(0x1e6))[_0x30f9b2(0x20f)]({'model':_0x30f9b2(0x1fc),'view':_0x30f9b2(0x1f8)}),_0x57126a[_0x30f9b2(0x231)][_0x30f9b2(0x1fa)](_0x30f9b2(0x203))[_0x30f9b2(0x20b)]({'model':{'key':_0x30f9b2(0x1fc),'value':_0x28418a=>_0x28418a[_0x30f9b2(0x239)](_0x30f9b2(0x1f8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4b338d=_0x57126a[_0x30f9b2(0x22d)][_0x30f9b2(0x209)](_0x30f9b2(0x1ed));_0x4b338d&&this[_0x30f9b2(0x206)](_0x4b338d,_0x30f9b2(0x219),(_0x54e931,[_0x2b53f3,_0x5ef070])=>{const _0x200b1b=_0x30f9b2;_0x2b53f3[_0x200b1b(0x21a)](_0x200b1b(0x1fc),_0x5ef070);});}[_0x5cbf11(0x22e)](){const _0x38f289=_0x5cbf11,_0x4770a6=this[_0x38f289(0x226)][_0x38f289(0x22f)][_0x38f289(0x209)](_0x38f289(0x224))||{},_0x53db2d=this[_0x38f289(0x226)][_0x38f289(0x22f)][_0x38f289(0x209)](_0x38f289(0x1f3))||'';this[_0x38f289(0x205)]=_0x9856f6(_0x5587d7[_0x38f289(0x21b)],_0x38f289(0x213),{..._0x4770a6,'pubkey':_0x53db2d,'ctx-name':_0x38f289(0x225)+this[_0x38f289(0x1f4)],'sourceList':'','imgOnly':_0x38f289(0x212),'removeCopyright':_0x38f289(0x212),'localeName':this[_0x38f289(0x226)][_0x38f289(0x232)][_0x38f289(0x216)],'externalSourcesEmbedCss':_0x38f289(0x1f9)}),this[_0x38f289(0x205)][_0x38f289(0x1eb)]=_0x5139ed=>{const _0x4ee3cc=_0x38f289;if(_0x4ee3cc(0x1f5)==_0x5139ed)return _0x4ee3cc(0x21d);},_0x5587d7[_0x38f289(0x21b)][_0x38f289(0x218)][_0x38f289(0x1f2)](this[_0x38f289(0x205)]);}[_0x5cbf11(0x217)](){const _0x144a1a=_0x5cbf11;this[_0x144a1a(0x234)]=_0x9856f6(_0x5587d7[_0x144a1a(0x21b)],_0x144a1a(0x230),{'ctx-name':_0x144a1a(0x225)+this[_0x144a1a(0x1f4)]}),_0x5587d7[_0x144a1a(0x21b)][_0x144a1a(0x218)][_0x144a1a(0x1f2)](this[_0x144a1a(0x234)]);}[_0x5cbf11(0x21f)](){const _0x30ab3d=_0x5cbf11,_0x2a8f8b=this[_0x30ab3d(0x226)][_0x30ab3d(0x22d)][_0x30ab3d(0x209)](_0x30ab3d(0x1ee));_0x2a8f8b&&this[_0x30ab3d(0x206)](_0x2a8f8b,_0x30ab3d(0x204),()=>{const _0xc33353=_0x30ab3d,_0x1c5a6d=this[_0xc33353(0x226)][_0xc33353(0x211)][_0xc33353(0x21b)][_0xc33353(0x221)][_0xc33353(0x20c)]();_0x1c5a6d&&_0x1c5a6d[_0xc33353(0x239)](_0xc33353(0x1fc))&&this[_0xc33353(0x226)][_0xc33353(0x202)][_0xc33353(0x223)][_0xc33353(0x23a)](_0xc33353(0x236),()=>{const _0x2f65b6=_0xc33353;_0x25fa33(this[_0x2f65b6(0x226)],_0x1c5a6d);});});const _0x5f641b=this[_0x30ab3d(0x226)][_0x30ab3d(0x22d)][_0x30ab3d(0x209)](_0x30ab3d(0x22a));_0x5f641b&&this[_0x30ab3d(0x206)](_0x5f641b,_0x30ab3d(0x204),()=>{const _0xe08f23=_0x30ab3d,_0x301364=this[_0xe08f23(0x226)][_0xe08f23(0x211)][_0xe08f23(0x21b)][_0xe08f23(0x221)][_0xe08f23(0x20c)]();_0x301364&&_0x301364[_0xe08f23(0x239)](_0xe08f23(0x1fc))&&this[_0xe08f23(0x226)][_0xe08f23(0x202)][_0xe08f23(0x223)][_0xe08f23(0x23a)](_0xe08f23(0x236),()=>{const _0x25616b=_0xe08f23;_0x25fa33(this[_0x25616b(0x226)],_0x301364);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1e9db3,ObservableMixin as _0x56487f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x497de4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4bd577}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x91f81c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x43d646}from'../../utils/uploadutils.js';import{getImageUrls as _0x9c86eb,getImageDimension as _0x529ef2}from'../../utils/editingutils.js';import{isAncestor as _0x4de160}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x56487f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x420d7a,_0x1fd110,_0x39ec1d){super(),this['_editor']=_0x420d7a,this['_dialog']=_0x1fd110,this['_imageElement']=_0x39ec1d,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 _0x1c0d01=this['_imageElement'],_0x65796a=_0x1c0d01['getAttribute']('uploadcareImageId'),_0x3aedaa=_0x1c0d01['getAttribute']('src');if(_0x65796a)await this['_loadImageInfo'](_0x65796a,_0x3aedaa);else{if(this['_imageCache']['has'](_0x3aedaa)){const _0x1319ce=this['_imageCache']['get'](_0x3aedaa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1319ce['url'],this['imageDimension']=_0x1319ce['dimension'],this['imageId']=_0x1319ce['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x41d339}=this['_editor'],t=_0x41d339['t'],_0x1ad18f=new _0x91f81c(_0x41d339,this['imageStatus'],this['_attributes']);_0x1ad18f['bind']('status')['to'](this,'imageStatus'),_0x1ad18f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1ad18f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1ad18f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1ad18f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4bd577,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1ad18f,'position':_0x497de4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1ad18f['focus']();},'onHide':()=>{_0x1ad18f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x241553=>!_0x4de160(_0x241553,_0x1ad18f['element'])}});}['_loadImageInfo'](_0x4b555c,_0x3e4856){return _0x43d646['getInfo'](_0x4b555c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x250fdb=>{const {width:_0x5496c4,height:_0x3e4303}=_0x250fdb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e4856,this['imageDimension']={'width':_0x5496c4,'height':_0x3e4303},this['imageId']=_0x4b555c;})['catch'](_0xe85cf9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xe85cf9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x43016f,_0x295a8d){return this['_getImageAsFile'](_0x43016f)['then'](_0x110699=>_0x43d646['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x295a8d['signal'],'file':_0x110699,'onProgress':_0x1f1178=>{_0x1f1178&&_0x1f1178['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1f1178['value']));}}))['then'](_0x4a932b=>{const {width:_0x47e09d,height:_0x598e75}=_0x4a932b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a932b['cdnUrl'],this['imageDimension']={'width':_0x47e09d,'height':_0x598e75},this['imageId']=_0x4a932b['uuid'],this['imageUploadProgress']=null;const _0x5a1dbd=_0x43016f['getAttribute']('src');this['_imageCache']['set'](_0x5a1dbd,{'id':_0x4a932b['uuid'],'url':_0x4a932b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9ceb57=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9ceb57['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x288af6,_0x204bc0){_0x288af6['on']('apply',(_0x4fda38,_0x4df4cf)=>{this['_replaceImage'](_0x204bc0,_0x4df4cf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x288af6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x288af6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x54835e,_0x540fff,_0x212ae6){const _0x21fd9e=this['_editor'],{width:_0x2f3504,height:_0x43a366}=_0x529ef2(_0x540fff,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3d92dd,imageSources:_0x5321a2}=_0x9c86eb(_0x540fff,_0x2f3504);_0x21fd9e['model']['change'](_0x565296=>{if('$graveyard'===_0x54835e['root']['rootName']){_0x21fd9e['execute']('insertImage',{'imageType':_0x54835e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x54835e['getAttributes']()),'uploadcareImageId':_0x212ae6,'src':_0x3d92dd,'sources':_0x5321a2,'width':_0x2f3504,'height':_0x43a366}});const _0x2f590c=_0x54835e['getChildren']();_0x54835e=_0x21fd9e['model']['document']['selection']['getSelectedElement']();for(const _0x31c4c9 of _0x2f590c)_0x565296['append'](_0x565296['cloneElement'](_0x31c4c9),_0x54835e);}else _0x565296['setSelection'](_0x54835e,'on'),_0x21fd9e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x54835e['getAttributes']()),'uploadcareImageId':_0x212ae6,'src':_0x3d92dd,'sources':_0x5321a2,'width':_0x2f3504,'height':_0x43a366},_0x54835e);_0x565296['setSelection'](_0x54835e,'on');});}async['_getImageAsFile'](_0x6dcb6e){const _0x40dbf6=_0x1e9db3['window'],_0x3405ed=_0x1e9db3['document']['location']['href'],_0x2036fc=new _0x40dbf6['URL'](_0x6dcb6e['getAttribute']('src'),_0x3405ed);if('data:'===_0x2036fc['protocol']){const _0x4becbe=_0x2036fc['href']['split'](','),_0x3d92e8=_0x4becbe[0x0]['match'](/:(.*?);/)[0x1],_0x3e1900=_0x3d92e8['split']('/')[0x1],_0x20a502=_0x40dbf6['atob'](_0x4becbe[_0x4becbe['length']-0x1]);let _0x988cec=_0x20a502['length'];const _0x48ec90=new _0x40dbf6['Uint8Array'](_0x988cec);for(;_0x988cec--;)_0x48ec90[_0x988cec]=_0x20a502['charCodeAt'](_0x988cec);return new _0x40dbf6['File']([_0x48ec90],'image.'+_0x3e1900,{'type':_0x3d92e8});}const _0x30c5b3=_0x2036fc['href']['split']('/'),_0x25a753=_0x30c5b3[_0x30c5b3['length']-0x1],_0xfaf17=_0x25a753['split']('.')[0x1];return _0x40dbf6['fetch'](_0x2036fc['href'])['then'](_0x3b1e9f=>_0x3b1e9f['clone']()['blob']())['then'](_0x32200a=>new _0x40dbf6['File']([_0x32200a],_0x25a753,{'type':'image/'+_0xfaf17}));}}
23
+ import{global as _0x48a8ac,ObservableMixin as _0x12b5e4}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1fb359}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x6a7c95}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x24f577}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x128bcd}from'../../utils/uploadutils.js';import{getImageUrls as _0x141876,getImageDimension as _0xadbe21}from'../../utils/editingutils.js';import{isAncestor as _0x19c07e}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x12b5e4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x174403,_0x4d0bca,_0x1b9108){super(),this['_editor']=_0x174403,this['_dialog']=_0x4d0bca,this['_imageElement']=_0x1b9108,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 _0x410450=this['_imageElement'],_0x2895f1=_0x410450['getAttribute']('uploadcareImageId'),_0x361c2e=_0x410450['getAttribute']('src');if(_0x2895f1)await this['_loadImageInfo'](_0x2895f1,_0x361c2e);else{if(this['_imageCache']['has'](_0x361c2e)){const _0xa5aa9e=this['_imageCache']['get'](_0x361c2e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa5aa9e['url'],this['imageDimension']=_0xa5aa9e['dimension'],this['imageId']=_0xa5aa9e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x81e6fd}=this['_editor'],t=_0x81e6fd['t'],_0x1597a8=new _0x24f577(_0x81e6fd,this['imageStatus'],this['_attributes']);_0x1597a8['bind']('status')['to'](this,'imageStatus'),_0x1597a8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1597a8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1597a8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1597a8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x6a7c95,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1597a8,'position':_0x1fb359['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1597a8['focus']();},'onHide':()=>{_0x1597a8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x117f61=>!_0x19c07e(_0x117f61,_0x1597a8['element'])}});}['_loadImageInfo'](_0x43f9c0,_0x41c768){return _0x128bcd['getInfo'](_0x43f9c0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x491350=>{const {width:_0x4055de,height:_0xf8d9c4}=_0x491350['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41c768,this['imageDimension']={'width':_0x4055de,'height':_0xf8d9c4},this['imageId']=_0x43f9c0;})['catch'](_0x32db33=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x32db33['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x130759,_0xdf96d1){return this['_getImageAsFile'](_0x130759)['then'](_0x19a356=>_0x128bcd['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xdf96d1['signal'],'file':_0x19a356,'onProgress':_0x496ee4=>{_0x496ee4&&_0x496ee4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x496ee4['value']));}}))['then'](_0xbda3ff=>{const {width:_0x304bd2,height:_0x45c9ee}=_0xbda3ff['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbda3ff['cdnUrl'],this['imageDimension']={'width':_0x304bd2,'height':_0x45c9ee},this['imageId']=_0xbda3ff['uuid'],this['imageUploadProgress']=null;const _0x307d52=_0x130759['getAttribute']('src');this['_imageCache']['set'](_0x307d52,{'id':_0xbda3ff['uuid'],'url':_0xbda3ff['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x568973=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x568973['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x40076f,_0x48da98){_0x40076f['on']('apply',(_0x36bb83,_0x597486)=>{this['_replaceImage'](_0x48da98,_0x597486['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x40076f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x40076f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3fb437,_0x4c4e28,_0x4e008b){const _0x3e453d=this['_editor'],{width:_0x789d4d,height:_0x337c2a}=_0xadbe21(_0x4c4e28,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x694b4a,imageSources:_0x1836c8}=_0x141876(_0x4c4e28,_0x789d4d);_0x3e453d['model']['change'](_0x2bee12=>{if('$graveyard'===_0x3fb437['root']['rootName']){_0x3e453d['execute']('insertImage',{'imageType':_0x3fb437['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3fb437['getAttributes']()),'uploadcareImageId':_0x4e008b,'src':_0x694b4a,'sources':_0x1836c8,'width':_0x789d4d,'height':_0x337c2a}});const _0x236c96=_0x3fb437['getChildren']();_0x3fb437=_0x3e453d['model']['document']['selection']['getSelectedElement']();for(const _0x331bdf of _0x236c96)_0x2bee12['append'](_0x2bee12['cloneElement'](_0x331bdf),_0x3fb437);}else _0x2bee12['setSelection'](_0x3fb437,'on'),_0x3e453d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3fb437['getAttributes']()),'uploadcareImageId':_0x4e008b,'src':_0x694b4a,'sources':_0x1836c8,'width':_0x789d4d,'height':_0x337c2a},_0x3fb437);_0x2bee12['setSelection'](_0x3fb437,'on');});}async['_getImageAsFile'](_0xce22bc){const _0x2c91ec=_0x48a8ac['window'],_0x5d2bd0=_0x48a8ac['document']['location']['href'],_0xcbabd1=new _0x2c91ec['URL'](_0xce22bc['getAttribute']('src'),_0x5d2bd0);if('data:'===_0xcbabd1['protocol']){const _0xdaa031=_0xcbabd1['href']['split'](','),_0x59207d=_0xdaa031[0x0]['match'](/:(.*?);/)[0x1],_0x3bbf3e=_0x59207d['split']('/')[0x1],_0x1f664a=_0x2c91ec['atob'](_0xdaa031[_0xdaa031['length']-0x1]);let _0x200af1=_0x1f664a['length'];const _0x1c6b56=new _0x2c91ec['Uint8Array'](_0x200af1);for(;_0x200af1--;)_0x1c6b56[_0x200af1]=_0x1f664a['charCodeAt'](_0x200af1);return new _0x2c91ec['File']([_0x1c6b56],'image.'+_0x3bbf3e,{'type':_0x59207d});}const _0x224046=_0xcbabd1['href']['split']('/'),_0x3ea0a7=_0x224046[_0x224046['length']-0x1],_0xf6f19a=_0x3ea0a7['split']('.')[0x1];return _0x2c91ec['fetch'](_0xcbabd1['href'])['then'](_0x5013ba=>_0x5013ba['clone']()['blob']())['then'](_0xa2202c=>new _0x2c91ec['File']([_0xa2202c],_0x3ea0a7,{'type':'image/'+_0xf6f19a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5b1c29,_0x48157f){const _0x12cc1c=_0x89d1,_0x1eaf59=_0x5b1c29();while(!![]){try{const _0x22c240=-parseInt(_0x12cc1c(0x118))/0x1+-parseInt(_0x12cc1c(0x10a))/0x2*(parseInt(_0x12cc1c(0x11a))/0x3)+parseInt(_0x12cc1c(0x113))/0x4+-parseInt(_0x12cc1c(0x119))/0x5*(-parseInt(_0x12cc1c(0x110))/0x6)+parseInt(_0x12cc1c(0x10b))/0x7*(parseInt(_0x12cc1c(0x111))/0x8)+parseInt(_0x12cc1c(0x112))/0x9+-parseInt(_0x12cc1c(0x10d))/0xa;if(_0x22c240===_0x48157f)break;else _0x1eaf59['push'](_0x1eaf59['shift']());}catch(_0x567a5a){_0x1eaf59['push'](_0x1eaf59['shift']());}}}(_0x356b,0xefcf7));import{View as _0x40202e}from'ckeditor5/src/ui.js';function _0x356b(){const _0x1e1e23=['18EKzwlB','7Ajkqcl','bindTemplate','12580380pCKkSI','imageSrc','setTemplate','30qBYzDz','5003896yXtKDT','807534XCsaLr','2704804bLzpQN','ck-uploadcare-theme','uc-cloud-image-editor','uc-light','set','357163bCDpLV','1224995YAFXis','6315NnmZwz','image-edit'];_0x356b=function(){return _0x1e1e23;};return _0x356b();}function _0x89d1(_0x362980,_0x3a07e2){const _0x356b3d=_0x356b();return _0x89d1=function(_0x89d13c,_0x3c93d1){_0x89d13c=_0x89d13c-0x10a;let _0x14ab7e=_0x356b3d[_0x89d13c];return _0x14ab7e;},_0x89d1(_0x362980,_0x3a07e2);}export class UploadcareImageEditFormEditingView extends _0x40202e{constructor(_0x9d88ff,_0x167e33){const _0x14accd=_0x89d1;super(_0x9d88ff);const _0x275d5b=this[_0x14accd(0x10c)];this[_0x14accd(0x117)](_0x14accd(0x10e),''),this[_0x14accd(0x10f)]({'tag':_0x14accd(0x115),'attributes':{..._0x167e33,'class':[_0x14accd(0x116),_0x14accd(0x114)],'ctx-name':_0x14accd(0x11b),'cdn-url':_0x275d5b['to'](_0x14accd(0x10e))}});}}
23
+ (function(_0x4118a1,_0x16a7bc){const _0x5bb736=_0x4bd5,_0x3ae4c1=_0x4118a1();while(!![]){try{const _0x1f4d3a=-parseInt(_0x5bb736(0x139))/0x1*(parseInt(_0x5bb736(0x132))/0x2)+parseInt(_0x5bb736(0x140))/0x3+-parseInt(_0x5bb736(0x13d))/0x4*(parseInt(_0x5bb736(0x13f))/0x5)+-parseInt(_0x5bb736(0x137))/0x6+parseInt(_0x5bb736(0x138))/0x7+parseInt(_0x5bb736(0x130))/0x8+-parseInt(_0x5bb736(0x13e))/0x9*(-parseInt(_0x5bb736(0x12f))/0xa);if(_0x1f4d3a===_0x16a7bc)break;else _0x3ae4c1['push'](_0x3ae4c1['shift']());}catch(_0x3904eb){_0x3ae4c1['push'](_0x3ae4c1['shift']());}}}(_0x5408,0x2a470));function _0x4bd5(_0x318c38,_0x211907){const _0x5408d1=_0x5408();return _0x4bd5=function(_0x4bd51d,_0x1e2969){_0x4bd51d=_0x4bd51d-0x12f;let _0xa35353=_0x5408d1[_0x4bd51d];return _0xa35353;},_0x4bd5(_0x318c38,_0x211907);}function _0x5408(){const _0x4eec12=['uc-cloud-image-editor','1060230XUDgJN','1835078CZiqgT','134773hkgCQN','bindTemplate','setTemplate','imageSrc','4bsMJTn','5526vpIjtK','890215ArNjnd','672936yHxKct','2280eScHbK','289848Emkitv','set','2IzkRRm','image-edit','ck-uploadcare-theme','uc-light'];_0x5408=function(){return _0x4eec12;};return _0x5408();}import{View as _0x3e8627}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x3e8627{constructor(_0x14c8e9,_0x5d8ec5){const _0x9adb78=_0x4bd5;super(_0x14c8e9);const _0x376633=this[_0x9adb78(0x13a)];this[_0x9adb78(0x131)](_0x9adb78(0x13c),''),this[_0x9adb78(0x13b)]({'tag':_0x9adb78(0x136),'attributes':{..._0x5d8ec5,'class':[_0x9adb78(0x135),_0x9adb78(0x134)],'ctx-name':_0x9adb78(0x133),'cdn-url':_0x376633['to'](_0x9adb78(0x13c))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x152b5e}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a3afe,IconView as _0x47c0b5,View as _0x5c1bb7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5c1bb7{constructor(_0x3ea8a8){super(_0x3ea8a8);const t=_0x3ea8a8['t'];this['set']('errorType',null);const _0x2a03ea=new _0x3a3afe(_0x3ea8a8);_0x2a03ea['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a03ea['withText']=!0x0,_0x2a03ea['class']='ck-button-action',_0x2a03ea['on']('execute',()=>{this['fire']('retry');}),_0x2a03ea['bind']('isVisible')['to'](this,'errorType',_0xe5bf86=>'NotFound'!==_0xe5bf86);const _0x5df61e=new _0x47c0b5();_0x5df61e['content']=_0x152b5e,_0x5df61e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x7e7db4=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':[_0x5df61e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x7e7db4['to']('errorType',_0x1f76fa=>t('NotFound'!==_0x1f76fa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a03ea]},{'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 _0x23c6b4}from'ckeditor5/src/icons.js';import{ButtonView as _0x3dde36,IconView as _0x3a990c,View as _0x26a749}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x26a749{constructor(_0x26140a){super(_0x26140a);const t=_0x26140a['t'];this['set']('errorType',null);const _0x1ea55b=new _0x3dde36(_0x26140a);_0x1ea55b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1ea55b['withText']=!0x0,_0x1ea55b['class']='ck-button-action',_0x1ea55b['on']('execute',()=>{this['fire']('retry');}),_0x1ea55b['bind']('isVisible')['to'](this,'errorType',_0x5bb894=>'NotFound'!==_0x5bb894);const _0x1e7b07=new _0x3a990c();_0x1e7b07['content']=_0x23c6b4,_0x1e7b07['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xd880d8=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':[_0x1e7b07,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xd880d8['to']('errorType',_0x58f0b3=>t('NotFound'!==_0x58f0b3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1ea55b]},{'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 _0x5e87b4,View as _0x164e03}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x164e03{constructor(_0x1f2206){super(_0x1f2206);const t=_0x1f2206['t'],_0x5cb8a1=this['bindTemplate'],_0x2ff7d5=new _0x5e87b4();_0x2ff7d5['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':[_0x2ff7d5,{'text':_0x5cb8a1['to']('imageUploadProgress',_0x34b92e=>t('Loading\x20image...')+'\x20('+(_0x34b92e||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 _0x26fec1,View as _0x85e49}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x85e49{constructor(_0x529d3a){super(_0x529d3a);const t=_0x529d3a['t'],_0x6eefa3=this['bindTemplate'],_0x156f0a=new _0x26fec1();_0x156f0a['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':[_0x156f0a,{'text':_0x6eefa3['to']('imageUploadProgress',_0xa23c23=>t('Loading\x20image...')+'\x20('+(_0xa23c23||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 _0x8f2179=_0xe557;function _0xe557(_0x372b07,_0x7df4d2){const _0x176a09=_0x176a();return _0xe557=function(_0xe5572a,_0x9ae341){_0xe5572a=_0xe5572a-0x1b5;let _0x1b44f1=_0x176a09[_0xe5572a];return _0x1b44f1;},_0xe557(_0x372b07,_0x7df4d2);}(function(_0x33e142,_0x3ea574){const _0x2e631c=_0xe557,_0x2f9454=_0x33e142();while(!![]){try{const _0x3bd6d1=-parseInt(_0x2e631c(0x1b9))/0x1*(-parseInt(_0x2e631c(0x1d4))/0x2)+parseInt(_0x2e631c(0x1bf))/0x3+parseInt(_0x2e631c(0x1c5))/0x4+parseInt(_0x2e631c(0x1cd))/0x5+parseInt(_0x2e631c(0x1d9))/0x6+parseInt(_0x2e631c(0x1bc))/0x7*(-parseInt(_0x2e631c(0x1e2))/0x8)+-parseInt(_0x2e631c(0x1c6))/0x9*(parseInt(_0x2e631c(0x1be))/0xa);if(_0x3bd6d1===_0x3ea574)break;else _0x2f9454['push'](_0x2f9454['shift']());}catch(_0x197a40){_0x2f9454['push'](_0x2f9454['shift']());}}}(_0x176a,0x88844));import{View as _0x3d4128}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x217d25}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x243c25}from'./uploadcareimageeditformerrorview.js';function _0x176a(){const _0x31b940=['ready','render','clear','toLowerCase','addedNodes','uc-cloud-image-editor','createCollection','cdnUrl','retry','2qIfODi','nodeName','add','7hvKdWp','querySelector','260tFnfwE','3276255OKatVw','set','div','once','element','_errorView','2442028ahjadc','1067076FPTnuQ','focus','uploading','addEventListener','ck-uploadcare-form','target','_loadingView','2120890ttOGnG','ck-reset_all-excluded','_addErrorViewListeners','change:status','detail','_addUploadcareImageEditorListeners','_setView','967418GQnfKm','_focusableView','filter','cancel','_items','3500406wnzIQT','length','apply','_waitForImageEditorComponent','fire','disconnect','error','getFocusableElement','addMany','286024GdkxdS','setTemplate','observe','_editingView','status'];_0x176a=function(){return _0x31b940;};return _0x176a();}import{UploadcareImageEditFormEditingView as _0x518f10}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x83a42b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x83a42b{[_0x8f2179(0x1d8)];[_0x8f2179(0x1cc)];[_0x8f2179(0x1c4)];[_0x8f2179(0x1e5)];[_0x8f2179(0x1d5)];constructor(_0x37b41f,_0xbe3a7e,_0x208ffe){const _0x42c35c=_0x8f2179;super(_0x37b41f),this[_0x42c35c(0x1d8)]=this[_0x42c35c(0x1b6)](),this[_0x42c35c(0x1cc)]=new _0x217d25(_0x37b41f),this[_0x42c35c(0x1c4)]=new _0x243c25(_0x37b41f),this[_0x42c35c(0x1e5)]=new _0x518f10(_0x37b41f,_0x208ffe),this[_0x42c35c(0x1d5)]=new _0x3d4128(_0x37b41f),this[_0x42c35c(0x1d5)][_0x42c35c(0x1e3)](this[_0x42c35c(0x1e0)]()),this[_0x42c35c(0x1c0)](_0x42c35c(0x1e6),_0xbe3a7e),this[_0x42c35c(0x1e3)]({'tag':_0x42c35c(0x1c1),'attributes':{'class':['ck',_0x42c35c(0x1ce),_0x42c35c(0x1ca)],'tabindex':'-1'},'children':this[_0x42c35c(0x1d8)]}),this[_0x42c35c(0x1d3)](),this[_0x42c35c(0x1c2)](_0x42c35c(0x1e8),()=>{const _0x1d0cf7=_0x42c35c;this[_0x1d0cf7(0x1dc)](this[_0x1d0cf7(0x1c3)],_0x327b0a=>{const _0x5866e1=_0x1d0cf7;this[_0x5866e1(0x1d2)](_0x327b0a);});}),this['on'](_0x42c35c(0x1d0),()=>{const _0x56c7cd=_0x42c35c;this[_0x56c7cd(0x1d3)]();}),this[_0x42c35c(0x1cf)]();}[_0x8f2179(0x1c7)](){const _0x2fdc60=_0x8f2179;this[_0x2fdc60(0x1c3)][_0x2fdc60(0x1c7)]();}[_0x8f2179(0x1d3)](){const _0x1cd851=_0x8f2179;switch(this[_0x1cd851(0x1d8)][_0x1cd851(0x1e9)](),this[_0x1cd851(0x1e6)]){case _0x1cd851(0x1c8):this[_0x1cd851(0x1d8)][_0x1cd851(0x1bb)](this[_0x1cd851(0x1cc)]);break;case _0x1cd851(0x1df):this[_0x1cd851(0x1d8)][_0x1cd851(0x1bb)](this[_0x1cd851(0x1c4)]);break;case _0x1cd851(0x1e7):this[_0x1cd851(0x1d8)][_0x1cd851(0x1e1)]([this[_0x1cd851(0x1e5)],this[_0x1cd851(0x1d5)]]);}}[_0x8f2179(0x1dc)](_0x7db01f,_0x2d593b){const _0x3d9cf6=_0x8f2179,_0x44a0f5=_0x3d9cf6(0x1b5),_0x1215bf=_0x7db01f[_0x3d9cf6(0x1bd)](_0x44a0f5);if(_0x1215bf)return _0x2d593b(_0x1215bf);const _0x592cfc=new MutationObserver(_0x1b8333=>{const _0x338982=_0x3d9cf6,_0x5e4167=_0x1b8333[_0x338982(0x1d6)](_0x24ff79=>_0x24ff79[_0x338982(0x1cb)]===_0x7db01f&&_0x24ff79[_0x338982(0x1eb)][_0x338982(0x1da)]>0x0&&_0x24ff79[_0x338982(0x1eb)][0x0][_0x338982(0x1ba)][_0x338982(0x1ea)]()===_0x44a0f5);_0x5e4167[_0x338982(0x1da)]&&(_0x592cfc[_0x338982(0x1de)](),_0x2d593b(_0x5e4167[0x0][_0x338982(0x1eb)][0x0]));});_0x592cfc[_0x3d9cf6(0x1e4)](_0x7db01f,{'childList':!0x0,'subtree':!0x0});}[_0x8f2179(0x1d2)](_0x3ab6b4){const _0x13ab52=_0x8f2179;_0x3ab6b4[_0x13ab52(0x1c9)](_0x13ab52(0x1db),_0x35a66e=>{const _0x4db2a0=_0x13ab52;this[_0x4db2a0(0x1dd)](_0x4db2a0(0x1db),{'imageSrc':_0x35a66e[_0x4db2a0(0x1d1)][_0x4db2a0(0x1b7)]});}),_0x3ab6b4[_0x13ab52(0x1c9)](_0x13ab52(0x1d7),()=>{const _0x54a30c=_0x13ab52;this[_0x54a30c(0x1dd)](_0x54a30c(0x1d7));});}[_0x8f2179(0x1cf)](){const _0x4006f0=_0x8f2179;this[_0x4006f0(0x1c4)]['on'](_0x4006f0(0x1b8),()=>{const _0x414f3b=_0x4006f0;this[_0x414f3b(0x1dd)](_0x414f3b(0x1b8));});}}
23
+ const _0x357a98=_0x4a4d;(function(_0xbba37d,_0x3c4b9d){const _0x30f08a=_0x4a4d,_0x2d0bf9=_0xbba37d();while(!![]){try{const _0x2736e3=-parseInt(_0x30f08a(0x1ea))/0x1*(-parseInt(_0x30f08a(0x1da))/0x2)+parseInt(_0x30f08a(0x209))/0x3+parseInt(_0x30f08a(0x208))/0x4+parseInt(_0x30f08a(0x1e1))/0x5*(parseInt(_0x30f08a(0x1e2))/0x6)+parseInt(_0x30f08a(0x1f5))/0x7+parseInt(_0x30f08a(0x200))/0x8*(-parseInt(_0x30f08a(0x205))/0x9)+-parseInt(_0x30f08a(0x1fa))/0xa;if(_0x2736e3===_0x3c4b9d)break;else _0x2d0bf9['push'](_0x2d0bf9['shift']());}catch(_0x34f006){_0x2d0bf9['push'](_0x2d0bf9['shift']());}}}(_0x58e9,0xec1ea));import{View as _0x3d1b92}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3ae2b6}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1df15d}from'./uploadcareimageeditformerrorview.js';function _0x4a4d(_0x127761,_0x582afe){const _0x58e9a2=_0x58e9();return _0x4a4d=function(_0x4a4d39,_0x2cfd7f){_0x4a4d39=_0x4a4d39-0x1d8;let _0x5cd782=_0x58e9a2[_0x4a4d39];return _0x5cd782;},_0x4a4d(_0x127761,_0x582afe);}function _0x58e9(){const _0x1df470=['apply','ready','filter','length','focus','633938eBYrTc','querySelector','_setView','once','change:status','_errorView','uploading','10xIiOHB','908766cshUEs','toLowerCase','div','_items','render','add','nodeName','_focusableView','3AMWMHi','detail','cdnUrl','setTemplate','set','_loadingView','ck-uploadcare-form','uc-cloud-image-editor','addMany','_editingView','ck-reset_all-excluded','10059980nJymkj','error','retry','_waitForImageEditorComponent','disconnect','13096060AbMclW','fire','createCollection','addEventListener','_addErrorViewListeners','addedNodes','14296bGMHDQ','_addUploadcareImageEditorListeners','element','clear','status','6345NCBNMG','cancel','target','1163768jZCHfl','1664028ewjQks','observe','getFocusableElement'];_0x58e9=function(){return _0x1df470;};return _0x58e9();}import{UploadcareImageEditFormEditingView as _0x3ecb1b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x18f353}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x18f353{[_0x357a98(0x1e5)];[_0x357a98(0x1ef)];[_0x357a98(0x1df)];[_0x357a98(0x1f3)];[_0x357a98(0x1e9)];constructor(_0x5cf708,_0xef421a,_0x3fbfd4){const _0x14a46e=_0x357a98;super(_0x5cf708),this[_0x14a46e(0x1e5)]=this[_0x14a46e(0x1fc)](),this[_0x14a46e(0x1ef)]=new _0x3ae2b6(_0x5cf708),this[_0x14a46e(0x1df)]=new _0x1df15d(_0x5cf708),this[_0x14a46e(0x1f3)]=new _0x3ecb1b(_0x5cf708,_0x3fbfd4),this[_0x14a46e(0x1e9)]=new _0x3d1b92(_0x5cf708),this[_0x14a46e(0x1e9)][_0x14a46e(0x1ed)](this[_0x14a46e(0x20b)]()),this[_0x14a46e(0x1ee)](_0x14a46e(0x204),_0xef421a),this[_0x14a46e(0x1ed)]({'tag':_0x14a46e(0x1e4),'attributes':{'class':['ck',_0x14a46e(0x1f4),_0x14a46e(0x1f0)],'tabindex':'-1'},'children':this[_0x14a46e(0x1e5)]}),this[_0x14a46e(0x1dc)](),this[_0x14a46e(0x1dd)](_0x14a46e(0x1e6),()=>{const _0x865941=_0x14a46e;this[_0x865941(0x1f8)](this[_0x865941(0x202)],_0x5dbd13=>{const _0x3f90aa=_0x865941;this[_0x3f90aa(0x201)](_0x5dbd13);});}),this['on'](_0x14a46e(0x1de),()=>{const _0xd6b44a=_0x14a46e;this[_0xd6b44a(0x1dc)]();}),this[_0x14a46e(0x1fe)]();}[_0x357a98(0x1d9)](){const _0x4aea0b=_0x357a98;this[_0x4aea0b(0x202)][_0x4aea0b(0x1d9)]();}[_0x357a98(0x1dc)](){const _0x3968dd=_0x357a98;switch(this[_0x3968dd(0x1e5)][_0x3968dd(0x203)](),this[_0x3968dd(0x204)]){case _0x3968dd(0x1e0):this[_0x3968dd(0x1e5)][_0x3968dd(0x1e7)](this[_0x3968dd(0x1ef)]);break;case _0x3968dd(0x1f6):this[_0x3968dd(0x1e5)][_0x3968dd(0x1e7)](this[_0x3968dd(0x1df)]);break;case _0x3968dd(0x20d):this[_0x3968dd(0x1e5)][_0x3968dd(0x1f2)]([this[_0x3968dd(0x1f3)],this[_0x3968dd(0x1e9)]]);}}[_0x357a98(0x1f8)](_0x540ef0,_0x3798fb){const _0x1fb816=_0x357a98,_0x593e23=_0x1fb816(0x1f1),_0x55d724=_0x540ef0[_0x1fb816(0x1db)](_0x593e23);if(_0x55d724)return _0x3798fb(_0x55d724);const _0x3b7ad0=new MutationObserver(_0x31748b=>{const _0x1de023=_0x1fb816,_0x4679b7=_0x31748b[_0x1de023(0x20e)](_0xa85a51=>_0xa85a51[_0x1de023(0x207)]===_0x540ef0&&_0xa85a51[_0x1de023(0x1ff)][_0x1de023(0x1d8)]>0x0&&_0xa85a51[_0x1de023(0x1ff)][0x0][_0x1de023(0x1e8)][_0x1de023(0x1e3)]()===_0x593e23);_0x4679b7[_0x1de023(0x1d8)]&&(_0x3b7ad0[_0x1de023(0x1f9)](),_0x3798fb(_0x4679b7[0x0][_0x1de023(0x1ff)][0x0]));});_0x3b7ad0[_0x1fb816(0x20a)](_0x540ef0,{'childList':!0x0,'subtree':!0x0});}[_0x357a98(0x201)](_0x1e3049){const _0x44398d=_0x357a98;_0x1e3049[_0x44398d(0x1fd)](_0x44398d(0x20c),_0x5bd968=>{const _0x10714e=_0x44398d;this[_0x10714e(0x1fb)](_0x10714e(0x20c),{'imageSrc':_0x5bd968[_0x10714e(0x1eb)][_0x10714e(0x1ec)]});}),_0x1e3049[_0x44398d(0x1fd)](_0x44398d(0x206),()=>{const _0x214525=_0x44398d;this[_0x214525(0x1fb)](_0x214525(0x206));});}[_0x357a98(0x1fe)](){const _0x36759a=_0x357a98;this[_0x36759a(0x1df)]['on'](_0x36759a(0x1f7),()=>{const _0x11cebb=_0x36759a;this[_0x11cebb(0x1fb)](_0x11cebb(0x1f7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x46cd(){const _0x3a0fc8=['model','getSelectedElement','289600yaRSwT','5102328ZQCGZF','674991SEJIsK','get','plugins','1250SHdXnD','2ZYzZIW','uploadcare.allowExternalImagesEditing','editor','imageEditController','bind','requires','504pbmlVu','config','isActive','selection','imageBlock','680943vWvaSM','refresh','_isEditable','4XxpUIc','imageInline','execute','9800ngkjnl','isEnabled','unbind','34331CbAUia','199583VnPLKe','element','set','24ccKopH','document'];_0x46cd=function(){return _0x3a0fc8;};return _0x46cd();}const _0x35a759=_0x1381;(function(_0x16dc44,_0x5b0551){const _0x574e09=_0x1381,_0x100a55=_0x16dc44();while(!![]){try{const _0x20db8d=-parseInt(_0x574e09(0xcb))/0x1*(-parseInt(_0x574e09(0xd8))/0x2)+-parseInt(_0x574e09(0xc1))/0x3*(-parseInt(_0x574e09(0xc4))/0x4)+parseInt(_0x574e09(0xd2))/0x5*(-parseInt(_0x574e09(0xce))/0x6)+parseInt(_0x574e09(0xc7))/0x7*(-parseInt(_0x574e09(0xbc))/0x8)+parseInt(_0x574e09(0xd4))/0x9+parseInt(_0x574e09(0xd7))/0xa*(-parseInt(_0x574e09(0xca))/0xb)+parseInt(_0x574e09(0xd3))/0xc;if(_0x20db8d===_0x5b0551)break;else _0x100a55['push'](_0x100a55['shift']());}catch(_0x112d8d){_0x100a55['push'](_0x100a55['shift']());}}}(_0x46cd,0x34eb0));import{Command as _0x51cae4}from'ckeditor5/src/core.js';import{Dialog as _0x133622}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x6e2f6f}from'./ui/uploadcareimageeditcontroller.js';function _0x1381(_0x58b753,_0x725a57){const _0x46cd5a=_0x46cd();return _0x1381=function(_0x1381f5,_0x4b4231){_0x1381f5=_0x1381f5-0xb7;let _0xae53c3=_0x46cd5a[_0x1381f5];return _0xae53c3;},_0x1381(_0x58b753,_0x725a57);}import{createEditabilityChecker as _0x44356f}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x51cae4{[_0x35a759(0xb9)];static get[_0x35a759(0xbb)](){return[_0x133622];}[_0x35a759(0xc3)];constructor(_0x308a8c){const _0x4ab916=_0x35a759;super(_0x308a8c),this[_0x4ab916(0xb9)]=void 0x0,this[_0x4ab916(0xc3)]=_0x44356f(_0x308a8c[_0x4ab916(0xbd)][_0x4ab916(0xd5)](_0x4ab916(0xb7))||[]),this[_0x4ab916(0xcd)]({'isActive':!0x1});}[_0x35a759(0xc2)](){const _0x87990c=_0x35a759,_0x1a5322=this[_0x87990c(0xb8)][_0x87990c(0xd0)][_0x87990c(0xcf)][_0x87990c(0xbf)][_0x87990c(0xd1)]();this[_0x87990c(0xc8)]=this[_0x87990c(0xc3)](_0x1a5322);}[_0x35a759(0xc6)](){const _0x34ed18=_0x35a759;this[_0x34ed18(0xb9)]&&(this[_0x34ed18(0xc9)](_0x34ed18(0xbe)),this[_0x34ed18(0xb9)]=void 0x0);const _0x2a0b2e=this[_0x34ed18(0xb8)][_0x34ed18(0xd0)][_0x34ed18(0xcf)][_0x34ed18(0xbf)][_0x34ed18(0xd1)]();_0x2a0b2e&&(_0x2a0b2e['is'](_0x34ed18(0xcc),_0x34ed18(0xc0))||_0x2a0b2e['is'](_0x34ed18(0xcc),_0x34ed18(0xc5)))&&(this[_0x34ed18(0xb9)]=new _0x6e2f6f(this[_0x34ed18(0xb8)],this[_0x34ed18(0xb8)][_0x34ed18(0xd6)][_0x34ed18(0xd5)](_0x133622),_0x2a0b2e),this[_0x34ed18(0xba)](_0x34ed18(0xbe))['to'](this[_0x34ed18(0xb9)],_0x34ed18(0xbe)));}}
23
+ const _0x84952e=_0x259e;(function(_0x3e9e31,_0x55ca80){const _0x427988=_0x259e,_0x236c01=_0x3e9e31();while(!![]){try{const _0x1594fb=parseInt(_0x427988(0xb2))/0x1+-parseInt(_0x427988(0xae))/0x2+parseInt(_0x427988(0xa8))/0x3+-parseInt(_0x427988(0xac))/0x4*(-parseInt(_0x427988(0xaa))/0x5)+parseInt(_0x427988(0xc7))/0x6*(parseInt(_0x427988(0xc6))/0x7)+-parseInt(_0x427988(0xba))/0x8+parseInt(_0x427988(0xc5))/0x9*(-parseInt(_0x427988(0xb4))/0xa);if(_0x1594fb===_0x55ca80)break;else _0x236c01['push'](_0x236c01['shift']());}catch(_0x3b5f18){_0x236c01['push'](_0x236c01['shift']());}}}(_0x4b82,0x53af3));import{Command as _0x28599b}from'ckeditor5/src/core.js';import{Dialog as _0xb9897f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x12e594}from'./ui/uploadcareimageeditcontroller.js';function _0x259e(_0x399196,_0x10d225){const _0x4b82a8=_0x4b82();return _0x259e=function(_0x259e23,_0x2f6b65){_0x259e23=_0x259e23-0xa8;let _0x54f58f=_0x4b82a8[_0x259e23];return _0x54f58f;},_0x259e(_0x399196,_0x10d225);}function _0x4b82(){const _0x43feed=['_isEditable','2810Ezweud','imageBlock','set','config','plugins','document','1199600cYndpL','get','model','uploadcare.allowExternalImagesEditing','getSelectedElement','execute','isEnabled','imageEditController','element','imageInline','isActive','38106WPIFWA','49FxEOHM','533118KNjqjd','1693554vFykqz','unbind','10sEeXLa','refresh','1226132byzQQt','requires','793320lydPbd','selection','editor','bind','279580qSJSNR'];_0x4b82=function(){return _0x43feed;};return _0x4b82();}import{createEditabilityChecker as _0x5b8ef3}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x28599b{[_0x84952e(0xc1)];static get[_0x84952e(0xad)](){return[_0xb9897f];}[_0x84952e(0xb3)];constructor(_0x36b86d){const _0x231b1a=_0x84952e;super(_0x36b86d),this[_0x231b1a(0xc1)]=void 0x0,this[_0x231b1a(0xb3)]=_0x5b8ef3(_0x36b86d[_0x231b1a(0xb7)][_0x231b1a(0xbb)](_0x231b1a(0xbd))||[]),this[_0x231b1a(0xb6)]({'isActive':!0x1});}[_0x84952e(0xab)](){const _0x29bc9f=_0x84952e,_0x15cf69=this[_0x29bc9f(0xb0)][_0x29bc9f(0xbc)][_0x29bc9f(0xb9)][_0x29bc9f(0xaf)][_0x29bc9f(0xbe)]();this[_0x29bc9f(0xc0)]=this[_0x29bc9f(0xb3)](_0x15cf69);}[_0x84952e(0xbf)](){const _0x23959f=_0x84952e;this[_0x23959f(0xc1)]&&(this[_0x23959f(0xa9)](_0x23959f(0xc4)),this[_0x23959f(0xc1)]=void 0x0);const _0x630623=this[_0x23959f(0xb0)][_0x23959f(0xbc)][_0x23959f(0xb9)][_0x23959f(0xaf)][_0x23959f(0xbe)]();_0x630623&&(_0x630623['is'](_0x23959f(0xc2),_0x23959f(0xb5))||_0x630623['is'](_0x23959f(0xc2),_0x23959f(0xc3)))&&(this[_0x23959f(0xc1)]=new _0x12e594(this[_0x23959f(0xb0)],this[_0x23959f(0xb0)][_0x23959f(0xb8)][_0x23959f(0xbb)](_0xb9897f),_0x630623),this[_0x23959f(0xb1)](_0x23959f(0xc4))['to'](this[_0x23959f(0xc1)],_0x23959f(0xc4)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b0aee=_0x3b9a;(function(_0x226bbe,_0x422d4f){const _0x388423=_0x3b9a,_0x49914a=_0x226bbe();while(!![]){try{const _0x341a21=parseInt(_0x388423(0x14e))/0x1*(-parseInt(_0x388423(0x14b))/0x2)+-parseInt(_0x388423(0x14f))/0x3+-parseInt(_0x388423(0x158))/0x4+parseInt(_0x388423(0x146))/0x5*(-parseInt(_0x388423(0x152))/0x6)+-parseInt(_0x388423(0x154))/0x7*(parseInt(_0x388423(0x14c))/0x8)+-parseInt(_0x388423(0x148))/0x9+-parseInt(_0x388423(0x150))/0xa*(-parseInt(_0x388423(0x155))/0xb);if(_0x341a21===_0x422d4f)break;else _0x49914a['push'](_0x49914a['shift']());}catch(_0x3ff308){_0x49914a['push'](_0x49914a['shift']());}}}(_0x3293,0x3d98b));import{Plugin as _0x4c7d2e}from'ckeditor5/src/core.js';import{Notification as _0xc78c79}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x488ed3}from'./uploadcareimageeditcommand.js';function _0x3b9a(_0x4cb9d7,_0x23734c){const _0x32935b=_0x3293();return _0x3b9a=function(_0x3b9a86,_0xa27943){_0x3b9a86=_0x3b9a86-0x142;let _0x2ba506=_0x32935b[_0x3b9a86];return _0x2ba506;},_0x3b9a(_0x4cb9d7,_0x23734c);}function _0x3293(){const _0x15afe6=['1bcIeNX','1143600NHwqAm','19463770QXxooP','ImageUtils','6CiVIFX','init','84sReHhj','11vkLmNR','isOfficialPlugin','isPremiumPlugin','1715220eSdddU','add','uploadcareImageReplace','ImageEditing','commands','340905ppLPIu','UploadcareImageEditEditing','1154457RYAnUG','requires','pluginName','466958WtgZkG','302760pOEbJm','uploadcareImageEdit'];_0x3293=function(){return _0x15afe6;};return _0x3293();}import{UploadcareImageReplaceCommand as _0x3d739e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5bd11b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c7d2e{static get[_0x4b0aee(0x14a)](){const _0x33d899=_0x4b0aee;return _0x33d899(0x147);}static get[_0x4b0aee(0x149)](){const _0x137325=_0x4b0aee;return[_0x5bd11b,_0xc78c79,_0x137325(0x151),_0x137325(0x144)];}static get[_0x4b0aee(0x156)](){return!0x0;}static get[_0x4b0aee(0x157)](){return!0x0;}[_0x4b0aee(0x153)](){const _0x1e8b63=_0x4b0aee,{editor:_0x198d46}=this;_0x198d46[_0x1e8b63(0x145)][_0x1e8b63(0x142)](_0x1e8b63(0x14d),new _0x488ed3(_0x198d46)),_0x198d46[_0x1e8b63(0x145)][_0x1e8b63(0x142)](_0x1e8b63(0x143),new _0x3d739e(_0x198d46));}}
23
+ const _0x20401c=_0x4eb0;(function(_0x20da3e,_0x5b2807){const _0x225077=_0x4eb0,_0x363177=_0x20da3e();while(!![]){try{const _0x57339b=-parseInt(_0x225077(0xb7))/0x1+-parseInt(_0x225077(0xc3))/0x2*(parseInt(_0x225077(0xc2))/0x3)+-parseInt(_0x225077(0xbb))/0x4*(-parseInt(_0x225077(0xb9))/0x5)+-parseInt(_0x225077(0xb8))/0x6*(-parseInt(_0x225077(0xc6))/0x7)+parseInt(_0x225077(0xc5))/0x8+parseInt(_0x225077(0xcc))/0x9*(-parseInt(_0x225077(0xba))/0xa)+parseInt(_0x225077(0xc4))/0xb;if(_0x57339b===_0x5b2807)break;else _0x363177['push'](_0x363177['shift']());}catch(_0x2f6cdd){_0x363177['push'](_0x363177['shift']());}}}(_0x30f7,0x91144));import{Plugin as _0x29b83e}from'ckeditor5/src/core.js';import{Notification as _0x29ce18}from'ckeditor5/src/ui.js';function _0x4eb0(_0x18e902,_0x23759c){const _0x30f704=_0x30f7();return _0x4eb0=function(_0x4eb052,_0x31289f){_0x4eb052=_0x4eb052-0xb7;let _0x24e29c=_0x30f704[_0x4eb052];return _0x24e29c;},_0x4eb0(_0x18e902,_0x23759c);}function _0x30f7(){const _0x9bfd27=['isOfficialPlugin','uploadcareImageEdit','add','uploadcareImageReplace','6864rfPLAX','26IYaTMd','4433737HZzZLv','362104OIxTLn','182QjgbzK','isPremiumPlugin','UploadcareImageEditEditing','ImageEditing','init','ImageUtils','99vyqlHQ','commands','242720lSDbGt','42378FohUHR','920sjaPgR','364360jInmfG','13816jiNLzn','pluginName','requires'];_0x30f7=function(){return _0x9bfd27;};return _0x30f7();}import{UploadcareImageEditCommand as _0x2f12a9}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x44737b}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2831c5}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x29b83e{static get[_0x20401c(0xbc)](){const _0x20cbdc=_0x20401c;return _0x20cbdc(0xc8);}static get[_0x20401c(0xbd)](){const _0x53941a=_0x20401c;return[_0x2831c5,_0x29ce18,_0x53941a(0xcb),_0x53941a(0xc9)];}static get[_0x20401c(0xbe)](){return!0x0;}static get[_0x20401c(0xc7)](){return!0x0;}[_0x20401c(0xca)](){const _0x5ca57d=_0x20401c,{editor:_0x5dfa57}=this;_0x5dfa57[_0x5ca57d(0xcd)][_0x5ca57d(0xc0)](_0x5ca57d(0xbf),new _0x2f12a9(_0x5dfa57)),_0x5dfa57[_0x5ca57d(0xcd)][_0x5ca57d(0xc0)](_0x5ca57d(0xc1),new _0x44737b(_0x5dfa57));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1b3f06}from'ckeditor5/src/core.js';import{ButtonView as _0x303e64}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x30c793}from'ckeditor5/src/icons.js';import{createElement as _0x3a9b4d}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 _0x1b3f06{['_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 _0x27d3df=this['editor'];_0x27d3df['ui']['componentFactory']['add']('uploadcareImageEdit',_0x284ea4=>{const _0x3490b0=_0x27d3df['commands']['get']('uploadcareImageEdit'),_0x2d5633=new _0x303e64(_0x284ea4),t=_0x284ea4['t'];return _0x2d5633['set']({'icon':_0x30c793,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2d5633['bind']('isEnabled')['to'](_0x3490b0),_0x2d5633['bind']('isOn')['to'](_0x3490b0,'isActive'),this['listenTo'](_0x2d5633,'execute',()=>{_0x27d3df['execute']('uploadcareImageEdit'),_0x27d3df['editing']['view']['focus']();}),_0x2d5633;}),this['_initConfig']();}['_initConfig'](){const _0x31fb98=_0x3a9b4d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x31fb98),this['listenTo'](this['editor'],'destroy',()=>{_0x31fb98['remove']();});}}
23
+ import{Plugin as _0x5dc8e1}from'ckeditor5/src/core.js';import{ButtonView as _0x33c88b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x328ac9}from'ckeditor5/src/icons.js';import{createElement as _0x3639f6}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 _0x5dc8e1{['_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 _0x2a5995=this['editor'];_0x2a5995['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4f2844=>{const _0x4e271c=_0x2a5995['commands']['get']('uploadcareImageEdit'),_0x3b9f89=new _0x33c88b(_0x4f2844),t=_0x4f2844['t'];return _0x3b9f89['set']({'icon':_0x328ac9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3b9f89['bind']('isEnabled')['to'](_0x4e271c),_0x3b9f89['bind']('isOn')['to'](_0x4e271c,'isActive'),this['listenTo'](_0x3b9f89,'execute',()=>{_0x2a5995['execute']('uploadcareImageEdit'),_0x2a5995['editing']['view']['focus']();}),_0x3b9f89;}),this['_initConfig']();}['_initConfig'](){const _0x2c5cf3=_0x3639f6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c5cf3),this['listenTo'](this['editor'],'destroy',()=>{_0x2c5cf3['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20a784=_0x3177;(function(_0x5cdd9a,_0xe70a5e){const _0x2ecbbf=_0x3177,_0x3d0989=_0x5cdd9a();while(!![]){try{const _0x87b893=-parseInt(_0x2ecbbf(0x11d))/0x1+-parseInt(_0x2ecbbf(0x128))/0x2+-parseInt(_0x2ecbbf(0x11c))/0x3*(-parseInt(_0x2ecbbf(0x11b))/0x4)+-parseInt(_0x2ecbbf(0x11e))/0x5+parseInt(_0x2ecbbf(0x11f))/0x6+-parseInt(_0x2ecbbf(0x124))/0x7*(parseInt(_0x2ecbbf(0x129))/0x8)+parseInt(_0x2ecbbf(0x12e))/0x9*(parseInt(_0x2ecbbf(0x132))/0xa);if(_0x87b893===_0xe70a5e)break;else _0x3d0989['push'](_0x3d0989['shift']());}catch(_0x50a0cb){_0x3d0989['push'](_0x3d0989['shift']());}}}(_0x3fc1,0xbe876));function _0x3177(_0x298ba6,_0x2069f7){const _0x3fc11a=_0x3fc1();return _0x3177=function(_0x3177ec,_0x34d947){_0x3177ec=_0x3177ec-0x11b;let _0x27a28d=_0x3fc11a[_0x3177ec];return _0x27a28d;},_0x3177(_0x298ba6,_0x2069f7);}import{Command as _0xf19a5c}from'ckeditor5/src/core.js';function _0x3fc1(){const _0x212126=['10Zwnedi','change','refresh','324260vzBpRo','27DPfVlp','505315VQmdqC','1798510tDvUUn','7507080sQIgtK','selection','imageBlock','srcset','model','7QwnMNL','document','editor','removeAttribute','1884216QeBvcR','6049160dMWoST','sizes','setAttributes','getSelectedElement','isEnabled','12266199owEaxJ','element','execute','imageInline'];_0x3fc1=function(){return _0x212126;};return _0x3fc1();}export class UploadcareImageReplaceCommand extends _0xf19a5c{[_0x20a784(0x134)](){const _0x28b9f1=_0x20a784,_0x580a63=this[_0x28b9f1(0x126)][_0x28b9f1(0x123)][_0x28b9f1(0x125)][_0x28b9f1(0x120)][_0x28b9f1(0x12c)]();this[_0x28b9f1(0x12d)]=Boolean(_0x580a63&&(_0x580a63['is'](_0x28b9f1(0x12f),_0x28b9f1(0x121))||_0x580a63['is'](_0x28b9f1(0x12f),_0x28b9f1(0x131))));}[_0x20a784(0x130)](_0x883b9){const _0x59d7a7=_0x20a784,_0x6e17a3=this[_0x59d7a7(0x126)][_0x59d7a7(0x123)][_0x59d7a7(0x125)][_0x59d7a7(0x120)][_0x59d7a7(0x12c)]();this[_0x59d7a7(0x126)][_0x59d7a7(0x123)][_0x59d7a7(0x133)](_0x485290=>{const _0x24733d=_0x59d7a7;_0x485290[_0x24733d(0x12b)](_0x883b9,_0x6e17a3),_0x485290[_0x24733d(0x127)](_0x24733d(0x122),_0x6e17a3),_0x485290[_0x24733d(0x127)](_0x24733d(0x12a),_0x6e17a3);});}}
23
+ const _0x51b203=_0x3a5c;(function(_0x5beadf,_0x3365ba){const _0x8a5e90=_0x3a5c,_0x1b9d1d=_0x5beadf();while(!![]){try{const _0x500ec8=parseInt(_0x8a5e90(0x10e))/0x1*(-parseInt(_0x8a5e90(0x116))/0x2)+-parseInt(_0x8a5e90(0x120))/0x3+parseInt(_0x8a5e90(0x11c))/0x4+-parseInt(_0x8a5e90(0x11b))/0x5+-parseInt(_0x8a5e90(0x10d))/0x6+-parseInt(_0x8a5e90(0x11d))/0x7+parseInt(_0x8a5e90(0x121))/0x8;if(_0x500ec8===_0x3365ba)break;else _0x1b9d1d['push'](_0x1b9d1d['shift']());}catch(_0x105511){_0x1b9d1d['push'](_0x1b9d1d['shift']());}}}(_0x41bb,0x1adc7));function _0x3a5c(_0x3d6fdf,_0x45df48){const _0x41bb40=_0x41bb();return _0x3a5c=function(_0x3a5c8a,_0x2f5cbe){_0x3a5c8a=_0x3a5c8a-0x10d;let _0xb1fe0=_0x41bb40[_0x3a5c8a];return _0xb1fe0;},_0x3a5c(_0x3d6fdf,_0x45df48);}import{Command as _0x109930}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x109930{[_0x51b203(0x122)](){const _0x4c17f3=_0x51b203,_0x3df1f5=this[_0x4c17f3(0x115)][_0x4c17f3(0x118)][_0x4c17f3(0x113)][_0x4c17f3(0x11e)][_0x4c17f3(0x11f)]();this[_0x4c17f3(0x10f)]=Boolean(_0x3df1f5&&(_0x3df1f5['is'](_0x4c17f3(0x112),_0x4c17f3(0x114))||_0x3df1f5['is'](_0x4c17f3(0x112),_0x4c17f3(0x119))));}[_0x51b203(0x123)](_0x112951){const _0x49f989=_0x51b203,_0x42475f=this[_0x49f989(0x115)][_0x49f989(0x118)][_0x49f989(0x113)][_0x49f989(0x11e)][_0x49f989(0x11f)]();this[_0x49f989(0x115)][_0x49f989(0x118)][_0x49f989(0x117)](_0x4504f1=>{const _0xe38c53=_0x49f989;_0x4504f1[_0xe38c53(0x124)](_0x112951,_0x42475f),_0x4504f1[_0xe38c53(0x11a)](_0xe38c53(0x111),_0x42475f),_0x4504f1[_0xe38c53(0x11a)](_0xe38c53(0x110),_0x42475f);});}}function _0x41bb(){const _0xcb78df=['getSelectedElement','107865ZuWtIY','3790128rdetfO','refresh','execute','setAttributes','924678EmpNlq','65881kUXmNI','isEnabled','sizes','srcset','element','document','imageBlock','editor','4ngWmge','change','model','imageInline','removeAttribute','149840QJfdAT','693908bPuJzy','1297954HNuDzK','selection'];_0x41bb=function(){return _0xcb78df;};return _0x41bb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x315925=_0x51b0;(function(_0x249837,_0x2f0962){var _0x253afb=_0x51b0,_0x1c81b7=_0x249837();while(!![]){try{var _0x465403=parseInt(_0x253afb(0xea))/0x1+parseInt(_0x253afb(0xef))/0x2+-parseInt(_0x253afb(0xee))/0x3+-parseInt(_0x253afb(0xf0))/0x4+parseInt(_0x253afb(0xe8))/0x5+parseInt(_0x253afb(0xe7))/0x6*(parseInt(_0x253afb(0xec))/0x7)+-parseInt(_0x253afb(0xe6))/0x8;if(_0x465403===_0x2f0962)break;else _0x1c81b7['push'](_0x1c81b7['shift']());}catch(_0x4000ba){_0x1c81b7['push'](_0x1c81b7['shift']());}}}(_0x14d4,0x45542));function _0x51b0(_0x2d9a96,_0x1f0462){var _0x14d469=_0x14d4();return _0x51b0=function(_0x51b072,_0x4d8919){_0x51b072=_0x51b072-0xe4;var _0x5d318a=_0x14d469[_0x51b072];return _0x5d318a;},_0x51b0(_0x2d9a96,_0x1f0462);}function _0x14d4(){var _0x4bce9f=['407385qDdhEa','UploadcareImageEdit','49dfWjaY','pluginName','69597EkZUCr','768374ZTWtcT','1088400GxTJHm','requires','isPremiumPlugin','5127712IzDtjh','143814tzzxoS','1304390RDcblE','isOfficialPlugin'];_0x14d4=function(){return _0x4bce9f;};return _0x14d4();}import{Plugin as _0x23d12f}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1988d0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x624565}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x23d12f{static get[_0x315925(0xed)](){var _0x3b21e5=_0x315925;return _0x3b21e5(0xeb);}static get[_0x315925(0xe4)](){return[_0x1988d0,_0x624565];}static get[_0x315925(0xe9)](){return!0x0;}static get[_0x315925(0xe5)](){return!0x0;}}
23
+ function _0x817b(){var _0x2c68b8=['UploadcareImageEdit','1716915bLpZXk','863156RBKdmV','3606872dPmRhX','2110872IxEpZn','isOfficialPlugin','7WItAAG','isPremiumPlugin','pluginName','33880UWkjCD','requires','1354887IqQxIa','524650DZOrwD'];_0x817b=function(){return _0x2c68b8;};return _0x817b();}var _0x11f9c1=_0xb4bd;(function(_0x107610,_0x5aaf1e){var _0x22a8c8=_0xb4bd,_0x19f8d9=_0x107610();while(!![]){try{var _0x49d0c9=parseInt(_0x22a8c8(0x1cd))/0x1+-parseInt(_0x22a8c8(0x1d7))/0x2+parseInt(_0x22a8c8(0x1d9))/0x3+-parseInt(_0x22a8c8(0x1d0))/0x4+-parseInt(_0x22a8c8(0x1cf))/0x5+parseInt(_0x22a8c8(0x1d2))/0x6*(parseInt(_0x22a8c8(0x1d4))/0x7)+-parseInt(_0x22a8c8(0x1d1))/0x8;if(_0x49d0c9===_0x5aaf1e)break;else _0x19f8d9['push'](_0x19f8d9['shift']());}catch(_0x3b8205){_0x19f8d9['push'](_0x19f8d9['shift']());}}}(_0x817b,0x49840));function _0xb4bd(_0x57f4fa,_0x484782){var _0x817bf0=_0x817b();return _0xb4bd=function(_0xb4bdd9,_0x2c3bd2){_0xb4bdd9=_0xb4bdd9-0x1cd;var _0x26b16b=_0x817bf0[_0xb4bdd9];return _0x26b16b;},_0xb4bd(_0x57f4fa,_0x484782);}import{Plugin as _0x2959cb}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x21a791}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x159f21}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2959cb{static get[_0x11f9c1(0x1d6)](){var _0x38eda1=_0x11f9c1;return _0x38eda1(0x1ce);}static get[_0x11f9c1(0x1d8)](){return[_0x21a791,_0x159f21];}static get[_0x11f9c1(0x1d3)](){return!0x0;}static get[_0x11f9c1(0x1d5)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b1110=_0xd38e;function _0x2505(){const _0x1b30f8=['isOfficialPlugin','label','tooltip','destroy','trialLimit','invalid','Replace','URL','commands','bind','_getIntegrationKey','1833435iQYHdc','afterInit','map','_createDropdownButtons','4291140SJiFQY','reduce','_createButton','forEach','expired','UploadcareUI','evaluationLimit','withText','8bMftBO','has','uploadcareLicenseKeyTrialLimit','locale','735327qHYlcc','_createToolbarButton','push','registerIntegration','pluginName','upload','3120795kwhBsg','Insert','77ehGgLl','get','icon','config','usageLimit','shortText','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','entries','OneDrive','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','isPremiumPlugin','isEnabled','Uploadcare','_createMenuBarButtons','featureNotAllowed','uploadcareLicenseKeyNotAllowed','Facebook','text','68DRHZhe','isImageSelected','Dropbox','uploadcareLicenseKeyEvaluationLimit','8ZGDBFo','uploadcareLicenseKeyUsageLimit','uploadcare.uploader.sourceList','GDrive','uploadcareLicenseKeyValid','uploadcare','url','1413804ORvNhn','assetManager','domainLimit','Local','editor','ImageInsertUI','GPhotos','init','_showLicenseError','plugins','6gWPBew','execute','type','4426219ZYKqsE','uploadcareLicenseKeyDomainLimit','17322EJsZJS','licenseKey'];_0x2505=function(){return _0x1b30f8;};return _0x2505();}(function(_0x16f582,_0x1b055c){const _0x2f127a=_0xd38e,_0x5da255=_0x16f582();while(!![]){try{const _0x20858a=-parseInt(_0x2f127a(0x17e))/0x1*(parseInt(_0x2f127a(0x145))/0x2)+-parseInt(_0x2f127a(0x162))/0x3*(parseInt(_0x2f127a(0x182))/0x4)+parseInt(_0x2f127a(0x168))/0x5*(parseInt(_0x2f127a(0x140))/0x6)+parseInt(_0x2f127a(0x143))/0x7*(-parseInt(_0x2f127a(0x15e))/0x8)+parseInt(_0x2f127a(0x152))/0x9+parseInt(_0x2f127a(0x156))/0xa+-parseInt(_0x2f127a(0x16a))/0xb*(-parseInt(_0x2f127a(0x189))/0xc);if(_0x20858a===_0x1b055c)break;else _0x5da255['push'](_0x5da255['shift']());}catch(_0x424873){_0x5da255['push'](_0x5da255['shift']());}}}(_0x2505,0x5a630));import{Plugin as _0x5522db}from'ckeditor5/src/core.js';import{IconDropbox as _0xf6d75d,IconFacebook as _0x42ad30,IconGoogleDrive as _0x1d3636,IconGooglePhotos as _0x1e30e4,IconUploadcareImageUpload as _0x2df7dc,IconUploadcareLink as _0x1bf1ef,IconOneDrive as _0x5c1f28}from'ckeditor5/src/icons.js';import{ButtonView as _0x1b13c6,MenuBarMenuListItemButtonView as _0x1ef82a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x37c38a}from'./uploadcareconfig.js';import{getTranslation as _0x46120f}from'./utils/common-translations.js';function _0xd38e(_0x49315f,_0x33717f){const _0x250557=_0x2505();return _0xd38e=function(_0xd38ee2,_0x400dd1){_0xd38ee2=_0xd38ee2-0x13d;let _0x38e99b=_0x250557[_0xd38ee2];return _0x38e99b;},_0xd38e(_0x49315f,_0x33717f);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x5522db{[_0x4b1110(0x146)];[_0x4b1110(0x174)];static get[_0x4b1110(0x166)](){const _0xb2086f=_0x4b1110;return _0xb2086f(0x15b);}static get[_0x4b1110(0x147)](){return!0x0;}static get[_0x4b1110(0x176)](){return!0x0;}[_0x4b1110(0x13d)](){const _0x4325f8=_0x4b1110;this[_0x4325f8(0x146)]=this[_0x4325f8(0x18d)][_0x4325f8(0x16d)][_0x4325f8(0x16b)](_0x4325f8(0x146));const _0x5b09cc=this[_0x4325f8(0x18d)];this[_0x4325f8(0x174)]=setInterval(()=>{const _0x142c07=_0x4325f8;let _0x23eca4;for(const _0x331bfc in _0x5b09cc){const _0x52ecbd=_0x331bfc,_0x56ff74=_0x5b09cc[_0x52ecbd];if(_0x142c07(0x186)==_0x56ff74||_0x142c07(0x175)==_0x56ff74||_0x142c07(0x171)==_0x56ff74||_0x142c07(0x144)==_0x56ff74||_0x142c07(0x17b)==_0x56ff74||_0x142c07(0x181)==_0x56ff74||_0x142c07(0x160)==_0x56ff74||_0x142c07(0x183)==_0x56ff74){delete _0x5b09cc[_0x52ecbd],_0x23eca4=_0x56ff74,clearInterval(this[_0x142c07(0x174)]),this[_0x142c07(0x174)]=void 0x0;break;}}_0x142c07(0x175)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x14c)),_0x142c07(0x171)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x15a)),_0x142c07(0x144)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x18b)),_0x142c07(0x17b)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x17a),_0x142c07(0x178)),_0x142c07(0x181)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x15c)),_0x142c07(0x160)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x14b)),_0x142c07(0x183)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x16e));},0x3e8);}[_0x4b1110(0x153)](){const _0x529c39=_0x4b1110,{editor:_0x38d554}=this,_0x12247b=_0x38d554[_0x529c39(0x14f)][_0x529c39(0x16b)](_0x529c39(0x187));if(!_0x12247b)return;const _0x201fac=this[_0x529c39(0x170)](_0x38d554[_0x529c39(0x16d)][_0x529c39(0x16b)](_0x529c39(0x184)))[_0x529c39(0x157)]((_0x12dd3d,_0x57a12a)=>{const _0x5eaadc=_0x529c39,_0x423b2f=this[_0x5eaadc(0x151)](_0x57a12a[_0x5eaadc(0x142)]);return _0x12dd3d[_0x423b2f]||(_0x12dd3d[_0x423b2f]=[]),_0x12dd3d[_0x423b2f][_0x5eaadc(0x164)](_0x57a12a),_0x12dd3d;},{});_0x38d554[_0x529c39(0x13f)][_0x529c39(0x15f)](_0x529c39(0x18e))&&_0x38d554[_0x529c39(0x14f)][_0x529c39(0x16b)](_0x529c39(0x187))&&Object[_0x529c39(0x172)](_0x201fac)[_0x529c39(0x159)](([_0x2dd1f1,_0x3b8606])=>{const _0x19128f=_0x529c39;_0x38d554[_0x19128f(0x13f)][_0x19128f(0x16b)](_0x19128f(0x18e))[_0x19128f(0x165)]({'name':_0x2dd1f1,'observable':()=>_0x12247b,'buttonViewCreator':()=>this[_0x19128f(0x163)](_0x3b8606),'formViewCreator':()=>this[_0x19128f(0x155)](_0x3b8606),'menuBarButtonViewCreator':()=>this[_0x19128f(0x179)](_0x3b8606),'override':_0x19128f(0x18a)!==_0x2dd1f1});});}[_0x4b1110(0x14a)](){const _0x31eb6f=_0x4b1110;super[_0x31eb6f(0x14a)](),this[_0x31eb6f(0x174)]&&clearInterval(this[_0x31eb6f(0x174)]);}[_0x4b1110(0x170)](_0x1cea71){const _0x3c2363=_0x4b1110,{locale:_0x2f251f}=this[_0x3c2363(0x18d)];return _0x1cea71[_0x3c2363(0x154)](_0x5c3010=>{const _0x2a9a78=_0x3c2363,_0x57bd1c=_0x46120f(_0x2f251f,_0x5c3010,_0x2a9a78(0x169));switch(_0x5c3010){case _0x37c38a[_0x2a9a78(0x18c)]:return{'icon':_0x2df7dc,'type':_0x37c38a[_0x2a9a78(0x18c)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x14e)]:return{'icon':_0x1bf1ef,'type':_0x37c38a[_0x2a9a78(0x14e)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x180)]:return{'icon':_0xf6d75d,'type':_0x37c38a[_0x2a9a78(0x180)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x17c)]:return{'icon':_0x42ad30,'type':_0x37c38a[_0x2a9a78(0x17c)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x185)]:return{'icon':_0x1d3636,'type':_0x37c38a[_0x2a9a78(0x185)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x18f)]:return{'icon':_0x1e30e4,'type':_0x37c38a[_0x2a9a78(0x18f)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x173)]:return{'icon':_0x5c1f28,'type':_0x37c38a[_0x2a9a78(0x173)],..._0x57bd1c};}});}[_0x4b1110(0x151)](_0x32f626){const _0x4d364f=_0x4b1110;switch(_0x32f626){case _0x37c38a[_0x4d364f(0x18c)]:return _0x4d364f(0x167);case _0x37c38a[_0x4d364f(0x14e)]:return _0x4d364f(0x188);default:return _0x4d364f(0x18a);}}[_0x4b1110(0x158)](_0x29fb72,_0x580b97){const _0x20d1fe=_0x4b1110,_0x139db4=this[_0x20d1fe(0x18d)],_0x555a16=new _0x29fb72(_0x139db4[_0x20d1fe(0x161)]),_0x564e5f=_0x139db4[_0x20d1fe(0x14f)][_0x20d1fe(0x16b)](_0x20d1fe(0x187));return _0x555a16[_0x20d1fe(0x150)](_0x20d1fe(0x177))['to'](_0x564e5f),_0x555a16['on'](_0x20d1fe(0x141),()=>{const _0x47d189=_0x20d1fe;_0x564e5f[_0x47d189(0x141)](_0x580b97);}),_0x555a16;}[_0x4b1110(0x163)](_0xbcedc4){const _0x4d60e6=_0x4b1110,{locale:_0x557e64}=this[_0x4d60e6(0x18d)],_0x2a4a23=this[_0x4d60e6(0x18d)][_0x4d60e6(0x13f)][_0x4d60e6(0x16b)](_0x4d60e6(0x18e)),_0x32a671=_0xbcedc4[0x0],_0x1a5cba=this[_0x4d60e6(0x158)](_0x1b13c6,_0x32a671[_0x4d60e6(0x142)]);return _0x1a5cba[_0x4d60e6(0x16c)]=_0x32a671[_0x4d60e6(0x16c)],_0x1a5cba[_0x4d60e6(0x150)](_0x4d60e6(0x148))['to'](_0x2a4a23,_0x4d60e6(0x17f),_0x5bc094=>_0x46120f(_0x557e64,_0x32a671[_0x4d60e6(0x142)],_0x5bc094?_0x4d60e6(0x14d):_0x4d60e6(0x169))[_0x4d60e6(0x17d)]),_0x1a5cba[_0x4d60e6(0x149)]=!0x0,_0x1a5cba;}[_0x4b1110(0x155)](_0x549d44){const _0x3b2d45=_0x4b1110,{locale:_0x121f65}=this[_0x3b2d45(0x18d)],_0x2b6d04=this[_0x3b2d45(0x18d)][_0x3b2d45(0x13f)][_0x3b2d45(0x16b)](_0x3b2d45(0x18e));return _0x549d44[_0x3b2d45(0x154)](_0x6aeed7=>{const _0x501592=_0x3b2d45,_0x3646b4=this[_0x501592(0x158)](_0x1b13c6,_0x6aeed7[_0x501592(0x142)]);return _0x3646b4[_0x501592(0x15d)]=!0x0,_0x3646b4[_0x501592(0x16c)]=_0x6aeed7[_0x501592(0x16c)],_0x3646b4[_0x501592(0x150)](_0x501592(0x148))['to'](_0x2b6d04,_0x501592(0x17f),_0x582b2e=>_0x46120f(_0x121f65,_0x6aeed7[_0x501592(0x142)],_0x582b2e?_0x501592(0x14d):_0x501592(0x169))[_0x501592(0x17d)]),_0x3646b4;});}[_0x4b1110(0x179)](_0x509854){const _0xffc9ed=_0x4b1110;return _0x509854[_0xffc9ed(0x154)](_0x43287c=>{const _0x32ea88=_0xffc9ed,_0x1de0fa=this[_0x32ea88(0x158)](_0x1ef82a,_0x43287c[_0x32ea88(0x142)]);return _0x1de0fa[_0x32ea88(0x16c)]=_0x43287c[_0x32ea88(0x16c)],_0x1de0fa[_0x32ea88(0x148)]=_0x43287c[_0x32ea88(0x16f)],_0x1de0fa;});}}
23
+ const _0xe765bc=_0x33ad;(function(_0x57a56a,_0x283aa6){const _0x567393=_0x33ad,_0x224fbd=_0x57a56a();while(!![]){try{const _0x4345a0=parseInt(_0x567393(0x123))/0x1*(parseInt(_0x567393(0x13f))/0x2)+parseInt(_0x567393(0x139))/0x3*(parseInt(_0x567393(0x118))/0x4)+-parseInt(_0x567393(0x15e))/0x5+parseInt(_0x567393(0x14e))/0x6*(-parseInt(_0x567393(0x12c))/0x7)+-parseInt(_0x567393(0x122))/0x8+parseInt(_0x567393(0x130))/0x9+parseInt(_0x567393(0x113))/0xa;if(_0x4345a0===_0x283aa6)break;else _0x224fbd['push'](_0x224fbd['shift']());}catch(_0x5f53d7){_0x224fbd['push'](_0x224fbd['shift']());}}}(_0x5b94,0x7dd24));import{Plugin as _0x4a9de3}from'ckeditor5/src/core.js';import{IconDropbox as _0x24e20d,IconFacebook as _0x491706,IconGoogleDrive as _0x1d4812,IconGooglePhotos as _0x6e2e3d,IconUploadcareImageUpload as _0x4e864c,IconUploadcareLink as _0x5b4053,IconOneDrive as _0x5e0533}from'ckeditor5/src/icons.js';import{ButtonView as _0x3273c7,MenuBarMenuListItemButtonView as _0x2e0e22}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x16832f}from'./uploadcareconfig.js';import{getTranslation as _0xca6b39}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x5b94(){const _0x468c4c=['uploadcareLicenseKeyExpired','destroy','128VbQTeH','uploadcareLicenseKeyDomainLimit','GDrive','plugins','registerIntegration','uploadcareLicenseKeyTrialLimit','_licenseKeyCheckInterval','editor','Insert','config','Local','Facebook','uploadcare.uploader.sourceList','entries','uploadcareLicenseKeyUsageLimit','1662mBCIpA','expired','has','url','_createToolbarButton','map','evaluationLimit','OneDrive','trialLimit','uploadcareLicenseKeyEvaluationLimit','isPremiumPlugin','usageLimit','licenseKey','featureNotAllowed','bind','uploadcare','1343945AUCuOy','withText','isOfficialPlugin','_createMenuBarButtons','isEnabled','assetManager','840950YcLWYs','label','execute','Dropbox','commands','4HIXufS','push','_createDropdownButtons','reduce','locale','Replace','invalid','_showLicenseError','pluginName','isImageSelected','6744512mgjtHq','15803eiklub','init','GPhotos','_normalizeConfigSourceList','ImageInsertUI','UploadcareUI','text','Uploadcare','domainLimit','8932ZrPPSb','uploadcareLicenseKeyValid','_getIntegrationKey','forEach','7545105coZVaH','URL','_createButton','tooltip','uploadcareLicenseKeyInvalid','afterInit','icon','uploadcareLicenseKeyNotAllowed','get','140511nMuvXO','upload','shortText','type'];_0x5b94=function(){return _0x468c4c;};return _0x5b94();}function _0x33ad(_0xd57841,_0x4d752d){const _0x5b9410=_0x5b94();return _0x33ad=function(_0x33ad7c,_0x57772d){_0x33ad7c=_0x33ad7c-0x10f;let _0x27d7f9=_0x5b9410[_0x33ad7c];return _0x27d7f9;},_0x33ad(_0xd57841,_0x4d752d);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4a9de3{[_0xe765bc(0x15a)];[_0xe765bc(0x145)];static get[_0xe765bc(0x120)](){const _0x6f918b=_0xe765bc;return _0x6f918b(0x128);}static get[_0xe765bc(0x10f)](){return!0x0;}static get[_0xe765bc(0x158)](){return!0x0;}[_0xe765bc(0x124)](){const _0x58e5e2=_0xe765bc;this[_0x58e5e2(0x15a)]=this[_0x58e5e2(0x146)][_0x58e5e2(0x148)][_0x58e5e2(0x138)](_0x58e5e2(0x15a));const _0x1e7fea=this[_0x58e5e2(0x146)];this[_0x58e5e2(0x145)]=setInterval(()=>{const _0x1c6b7a=_0x58e5e2;let _0x57e7a7;for(const _0x134b50 in _0x1e7fea){const _0x461246=_0x134b50,_0x56528d=_0x1e7fea[_0x461246];if(_0x1c6b7a(0x12d)==_0x56528d||_0x1c6b7a(0x134)==_0x56528d||_0x1c6b7a(0x13d)==_0x56528d||_0x1c6b7a(0x140)==_0x56528d||_0x1c6b7a(0x137)==_0x56528d||_0x1c6b7a(0x157)==_0x56528d||_0x1c6b7a(0x144)==_0x56528d||_0x1c6b7a(0x14d)==_0x56528d){delete _0x1e7fea[_0x461246],_0x57e7a7=_0x56528d,clearInterval(this[_0x1c6b7a(0x145)]),this[_0x1c6b7a(0x145)]=void 0x0;break;}}_0x1c6b7a(0x134)==_0x57e7a7&&_0x1e7fea[_0x1c6b7a(0x11f)](_0x1c6b7a(0x11e)),_0x1c6b7a(0x13d)==_0x57e7a7&&_0x1e7fea[_0x1c6b7a(0x11f)](_0x1c6b7a(0x14f)),_0x1c6b7a(0x140)==_0x57e7a7&&_0x1e7fea[_0x1c6b7a(0x11f)](_0x1c6b7a(0x12b)),_0x1c6b7a(0x137)==_0x57e7a7&&_0x1e7fea[_0x1c6b7a(0x11f)](_0x1c6b7a(0x15b),_0x1c6b7a(0x12a)),_0x1c6b7a(0x157)==_0x57e7a7&&_0x1e7fea[_0x1c6b7a(0x11f)](_0x1c6b7a(0x154)),_0x1c6b7a(0x144)==_0x57e7a7&&_0x1e7fea[_0x1c6b7a(0x11f)](_0x1c6b7a(0x156)),_0x1c6b7a(0x14d)==_0x57e7a7&&_0x1e7fea[_0x1c6b7a(0x11f)](_0x1c6b7a(0x159));},0x3e8);}[_0xe765bc(0x135)](){const _0x2424e8=_0xe765bc,{editor:_0x3d82a1}=this,_0x1d52d9=_0x3d82a1[_0x2424e8(0x117)][_0x2424e8(0x138)](_0x2424e8(0x15d));if(!_0x1d52d9)return;const _0x136b72=this[_0x2424e8(0x126)](_0x3d82a1[_0x2424e8(0x148)][_0x2424e8(0x138)](_0x2424e8(0x14b)))[_0x2424e8(0x11b)]((_0x1775f7,_0x59f4d0)=>{const _0x36823e=_0x2424e8,_0x1ea124=this[_0x36823e(0x12e)](_0x59f4d0[_0x36823e(0x13c)]);return _0x1775f7[_0x1ea124]||(_0x1775f7[_0x1ea124]=[]),_0x1775f7[_0x1ea124][_0x36823e(0x119)](_0x59f4d0),_0x1775f7;},{});_0x3d82a1[_0x2424e8(0x142)][_0x2424e8(0x150)](_0x2424e8(0x127))&&_0x3d82a1[_0x2424e8(0x117)][_0x2424e8(0x138)](_0x2424e8(0x15d))&&Object[_0x2424e8(0x14c)](_0x136b72)[_0x2424e8(0x12f)](([_0x292845,_0x3119be])=>{const _0x4e9454=_0x2424e8;_0x3d82a1[_0x4e9454(0x142)][_0x4e9454(0x138)](_0x4e9454(0x127))[_0x4e9454(0x143)]({'name':_0x292845,'observable':()=>_0x1d52d9,'buttonViewCreator':()=>this[_0x4e9454(0x152)](_0x3119be),'formViewCreator':()=>this[_0x4e9454(0x11a)](_0x3119be),'menuBarButtonViewCreator':()=>this[_0x4e9454(0x110)](_0x3119be),'override':_0x4e9454(0x112)!==_0x292845});});}[_0xe765bc(0x13e)](){const _0x25a424=_0xe765bc;super[_0x25a424(0x13e)](),this[_0x25a424(0x145)]&&clearInterval(this[_0x25a424(0x145)]);}[_0xe765bc(0x126)](_0x5af20c){const _0x3fe600=_0xe765bc,{locale:_0x298c41}=this[_0x3fe600(0x146)];return _0x5af20c[_0x3fe600(0x153)](_0x172cb2=>{const _0x29b8b3=_0x3fe600,_0x594a29=_0xca6b39(_0x298c41,_0x172cb2,_0x29b8b3(0x147));switch(_0x172cb2){case _0x16832f[_0x29b8b3(0x149)]:return{'icon':_0x4e864c,'type':_0x16832f[_0x29b8b3(0x149)],..._0x594a29};case _0x16832f[_0x29b8b3(0x131)]:return{'icon':_0x5b4053,'type':_0x16832f[_0x29b8b3(0x131)],..._0x594a29};case _0x16832f[_0x29b8b3(0x116)]:return{'icon':_0x24e20d,'type':_0x16832f[_0x29b8b3(0x116)],..._0x594a29};case _0x16832f[_0x29b8b3(0x14a)]:return{'icon':_0x491706,'type':_0x16832f[_0x29b8b3(0x14a)],..._0x594a29};case _0x16832f[_0x29b8b3(0x141)]:return{'icon':_0x1d4812,'type':_0x16832f[_0x29b8b3(0x141)],..._0x594a29};case _0x16832f[_0x29b8b3(0x125)]:return{'icon':_0x6e2e3d,'type':_0x16832f[_0x29b8b3(0x125)],..._0x594a29};case _0x16832f[_0x29b8b3(0x155)]:return{'icon':_0x5e0533,'type':_0x16832f[_0x29b8b3(0x155)],..._0x594a29};}});}[_0xe765bc(0x12e)](_0x2b6fb5){const _0x29d600=_0xe765bc;switch(_0x2b6fb5){case _0x16832f[_0x29d600(0x149)]:return _0x29d600(0x13a);case _0x16832f[_0x29d600(0x131)]:return _0x29d600(0x151);default:return _0x29d600(0x112);}}[_0xe765bc(0x132)](_0x1572ee,_0x222117){const _0x39749e=_0xe765bc,_0x115454=this[_0x39749e(0x146)],_0x3c3cdd=new _0x1572ee(_0x115454[_0x39749e(0x11c)]),_0x3c6c56=_0x115454[_0x39749e(0x117)][_0x39749e(0x138)](_0x39749e(0x15d));return _0x3c3cdd[_0x39749e(0x15c)](_0x39749e(0x111))['to'](_0x3c6c56),_0x3c3cdd['on'](_0x39749e(0x115),()=>{const _0xd8b6a4=_0x39749e;_0x3c6c56[_0xd8b6a4(0x115)](_0x222117);}),_0x3c3cdd;}[_0xe765bc(0x152)](_0x43461b){const _0x5ab37a=_0xe765bc,{locale:_0x34592c}=this[_0x5ab37a(0x146)],_0xa9961c=this[_0x5ab37a(0x146)][_0x5ab37a(0x142)][_0x5ab37a(0x138)](_0x5ab37a(0x127)),_0x5c4eb7=_0x43461b[0x0],_0x50dfa9=this[_0x5ab37a(0x132)](_0x3273c7,_0x5c4eb7[_0x5ab37a(0x13c)]);return _0x50dfa9[_0x5ab37a(0x136)]=_0x5c4eb7[_0x5ab37a(0x136)],_0x50dfa9[_0x5ab37a(0x15c)](_0x5ab37a(0x114))['to'](_0xa9961c,_0x5ab37a(0x121),_0x538e1d=>_0xca6b39(_0x34592c,_0x5c4eb7[_0x5ab37a(0x13c)],_0x538e1d?_0x5ab37a(0x11d):_0x5ab37a(0x147))[_0x5ab37a(0x129)]),_0x50dfa9[_0x5ab37a(0x133)]=!0x0,_0x50dfa9;}[_0xe765bc(0x11a)](_0x404125){const _0x3e5bd0=_0xe765bc,{locale:_0x1ab847}=this[_0x3e5bd0(0x146)],_0x41b6a1=this[_0x3e5bd0(0x146)][_0x3e5bd0(0x142)][_0x3e5bd0(0x138)](_0x3e5bd0(0x127));return _0x404125[_0x3e5bd0(0x153)](_0x13a480=>{const _0x1e0828=_0x3e5bd0,_0x4c0938=this[_0x1e0828(0x132)](_0x3273c7,_0x13a480[_0x1e0828(0x13c)]);return _0x4c0938[_0x1e0828(0x15f)]=!0x0,_0x4c0938[_0x1e0828(0x136)]=_0x13a480[_0x1e0828(0x136)],_0x4c0938[_0x1e0828(0x15c)](_0x1e0828(0x114))['to'](_0x41b6a1,_0x1e0828(0x121),_0x4367d8=>_0xca6b39(_0x1ab847,_0x13a480[_0x1e0828(0x13c)],_0x4367d8?_0x1e0828(0x11d):_0x1e0828(0x147))[_0x1e0828(0x129)]),_0x4c0938;});}[_0xe765bc(0x110)](_0x2ff87b){const _0x44d476=_0xe765bc;return _0x2ff87b[_0x44d476(0x153)](_0x27666b=>{const _0x49a6ad=_0x44d476,_0x4419df=this[_0x49a6ad(0x132)](_0x2e0e22,_0x27666b[_0x49a6ad(0x13c)]);return _0x4419df[_0x49a6ad(0x136)]=_0x27666b[_0x49a6ad(0x136)],_0x4419df[_0x49a6ad(0x114)]=_0x27666b[_0x49a6ad(0x13b)],_0x4419df;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x526937}from'ckeditor5/src/core.js';import{FileRepository as _0x2682e2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2b3070}from'./uploadcareediting.js';import{UploadUtils as _0x261a35}from'./utils/uploadutils.js';import{getImageUrls as _0x23fd25}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x526937{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2682e2,_0x2b3070];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1d2134=this['editor'];if(!!!_0x1d2134['config']['get']('uploadcare'))return;_0x1d2134['plugins']['get'](_0x2682e2)['createUploadAdapter']=_0x1da45a=>new k(_0x1da45a,_0x1d2134),_0x1d2134['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36df75,{imageElement:_0x2b454d,data:_0xd7993a})=>{_0x1d2134['model']['change'](_0x2d8e26=>{_0x2d8e26['setAttribute']('uploadcareImageId',_0xd7993a['uploadcareImageId'],_0x2b454d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x174db4,_0x11edda){this['loader']=_0x174db4,this['editor']=_0x11edda,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x44c4b3=await this['loader']['file'];return _0x261a35['upload']({'file':_0x44c4b3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1b1a1a=>{_0x1b1a1a&&_0x1b1a1a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b1a1a['value']);}})['then'](async _0x338141=>{const {imageFallbackUrl:_0x3a8462,imageSources:_0x2463ed}=_0x23fd25(_0x338141['cdnUrl'],_0x338141['imageInfo']['width']);return{'uploadcareImageId':_0x338141['uuid'],'default':_0x3a8462,'sources':_0x2463ed};})['catch'](()=>{const _0x3376e1=t('Cannot\x20upload\x20file:')+('\x20'+_0x44c4b3['name']+'.');return Promise['reject'](_0x3376e1);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x202dac}from'ckeditor5/src/core.js';import{FileRepository as _0x2dd698}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2d34dc}from'./uploadcareediting.js';import{UploadUtils as _0x2252dc}from'./utils/uploadutils.js';import{getImageUrls as _0x39e3de}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x202dac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2dd698,_0x2d34dc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3c88c3=this['editor'];if(!!!_0x3c88c3['config']['get']('uploadcare'))return;_0x3c88c3['plugins']['get'](_0x2dd698)['createUploadAdapter']=_0x116c55=>new k(_0x116c55,_0x3c88c3),_0x3c88c3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2111b4,{imageElement:_0x1e8aca,data:_0x176176})=>{_0x3c88c3['model']['change'](_0x263cb3=>{_0x263cb3['setAttribute']('uploadcareImageId',_0x176176['uploadcareImageId'],_0x1e8aca);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5170a0,_0x3318ef){this['loader']=_0x5170a0,this['editor']=_0x3318ef,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x19eb5c=await this['loader']['file'];return _0x2252dc['upload']({'file':_0x19eb5c,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x506e5c=>{_0x506e5c&&_0x506e5c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x506e5c['value']);}})['then'](async _0x41ea59=>{const {imageFallbackUrl:_0x2602aa,imageSources:_0x3b07cf}=_0x39e3de(_0x41ea59['cdnUrl'],_0x41ea59['imageInfo']['width']);return{'uploadcareImageId':_0x41ea59['uuid'],'default':_0x2602aa,'sources':_0x3b07cf};})['catch'](()=>{const _0xfe03a9=t('Cannot\x20upload\x20file:')+('\x20'+_0x19eb5c['name']+'.');return Promise['reject'](_0xfe03a9);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3d1a5c}from'../uploadcareconfig.js';export function getTranslation(_0xdee14b,_0x357406,_0x3b2708){const t=_0xdee14b['t'],_0x4fc02a=_0xdee14b['t'];switch(_0x357406){case _0x3d1a5c['Local']:return{'text':_0x4fc02a('Insert'===_0x3b2708?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4fc02a('From\x20computer')};case _0x3d1a5c['URL']:return{'text':'Insert'===_0x3b2708?_0x4fc02a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4fc02a('Via\x20URL')};case _0x3d1a5c['Dropbox']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d1a5c['Facebook']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d1a5c['GDrive']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d1a5c['GPhotos']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d1a5c['OneDrive']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x357406;}}
23
+ import{UploadcareSource as _0x4bd067}from'../uploadcareconfig.js';export function getTranslation(_0x35fe37,_0x52ef78,_0x42a53e){const t=_0x35fe37['t'],_0x57816a=_0x35fe37['t'];switch(_0x52ef78){case _0x4bd067['Local']:return{'text':_0x57816a('Insert'===_0x42a53e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x57816a('From\x20computer')};case _0x4bd067['URL']:return{'text':'Insert'===_0x42a53e?_0x57816a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x57816a('Via\x20URL')};case _0x4bd067['Dropbox']:return{'text':t('Insert'===_0x42a53e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4bd067['Facebook']:return{'text':t('Insert'===_0x42a53e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4bd067['GDrive']:return{'text':t('Insert'===_0x42a53e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4bd067['GPhotos']:return{'text':t('Insert'===_0x42a53e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4bd067['OneDrive']:return{'text':t('Insert'===_0x42a53e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x52ef78;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc9db6a=_0x701b;function _0x701b(_0x3d4d1b,_0x21a033){var _0x3ae1b0=_0x3ae1();return _0x701b=function(_0x701bdf,_0x456457){_0x701bdf=_0x701bdf-0xab;var _0x53d32e=_0x3ae1b0[_0x701bdf];return _0x53d32e;},_0x701b(_0x3d4d1b,_0x21a033);}(function(_0x24058c,_0x2402b2){var _0x6ee60e=_0x701b,_0x3677ed=_0x24058c();while(!![]){try{var _0x159fbd=parseInt(_0x6ee60e(0xad))/0x1+parseInt(_0x6ee60e(0xb2))/0x2+-parseInt(_0x6ee60e(0xb7))/0x3*(parseInt(_0x6ee60e(0xac))/0x4)+parseInt(_0x6ee60e(0xb6))/0x5+-parseInt(_0x6ee60e(0xb3))/0x6+-parseInt(_0x6ee60e(0xb1))/0x7*(-parseInt(_0x6ee60e(0xb5))/0x8)+parseInt(_0x6ee60e(0xaf))/0x9*(-parseInt(_0x6ee60e(0xb9))/0xa);if(_0x159fbd===_0x2402b2)break;else _0x3677ed['push'](_0x3677ed['shift']());}catch(_0x1fd60f){_0x3677ed['push'](_0x3677ed['shift']());}}}(_0x3ae1,0xa3bc0));import{FocusTracker as _0x2ae569}from'ckeditor5/src/utils.js';import{View as _0x4b4f09,FocusCycler as _0x17e5ce}from'ckeditor5/src/ui.js';function _0x3ae1(){var _0x3b1216=['fire','191583yWTvlD','true','7BfdxHn','1984882GADquO','4885170NsFpXs','createCollection','4988992IEvfau','5269170mgPqRq','4539sksvyL','focusCycler','430dYjFAH','focusTracker','bindTemplate','getFocusableElement','div','forwardCycle','3092jOrYIh','899842rdhKeZ'];_0x3ae1=function(){return _0x3b1216;};return _0x3ae1();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4b4f09{[_0xc9db6a(0xba)];[_0xc9db6a(0xb8)];constructor(_0x554aad){var _0x5996b3=_0xc9db6a;super(_0x554aad),this[_0x5996b3(0xba)]=new _0x2ae569(),this[_0x5996b3(0xb8)]=new _0x17e5ce({'focusables':this[_0x5996b3(0xb4)](),'focusTracker':this[_0x5996b3(0xba)]});}[_0xc9db6a(0xbc)](){var _0x31fc42=_0xc9db6a;return{'tag':_0x31fc42(0xbd),'attributes':{'aria-hidden':_0x31fc42(0xb0),'tabindex':'0'},'on':{'focus':this[_0x31fc42(0xbb)]['to'](()=>{var _0xbba577=_0x31fc42;this[_0xbba577(0xb8)][_0xbba577(0xae)](_0xbba577(0xab));})}};}}
23
+ var _0x46f9f8=_0x2303;(function(_0x4b72a8,_0x4beb4c){var _0xf3e7bf=_0x2303,_0x1b66f8=_0x4b72a8();while(!![]){try{var _0x4b7826=parseInt(_0xf3e7bf(0x8e))/0x1+parseInt(_0xf3e7bf(0x88))/0x2*(parseInt(_0xf3e7bf(0x94))/0x3)+parseInt(_0xf3e7bf(0x93))/0x4*(parseInt(_0xf3e7bf(0x96))/0x5)+-parseInt(_0xf3e7bf(0x90))/0x6*(parseInt(_0xf3e7bf(0x89))/0x7)+parseInt(_0xf3e7bf(0x8b))/0x8*(parseInt(_0xf3e7bf(0x8d))/0x9)+parseInt(_0xf3e7bf(0x8c))/0xa*(parseInt(_0xf3e7bf(0x87))/0xb)+-parseInt(_0xf3e7bf(0x99))/0xc*(parseInt(_0xf3e7bf(0x98))/0xd);if(_0x4b7826===_0x4beb4c)break;else _0x1b66f8['push'](_0x1b66f8['shift']());}catch(_0x20c5bc){_0x1b66f8['push'](_0x1b66f8['shift']());}}}(_0x4750,0x4a2a9));import{FocusTracker as _0x9d8e4d}from'ckeditor5/src/utils.js';function _0x2303(_0x231e40,_0x4b2f2f){var _0x475044=_0x4750();return _0x2303=function(_0x230380,_0x1e2e56){_0x230380=_0x230380-0x87;var _0x151361=_0x475044[_0x230380];return _0x151361;},_0x2303(_0x231e40,_0x4b2f2f);}import{View as _0xee481f,FocusCycler as _0x38a5fd}from'ckeditor5/src/ui.js';function _0x4750(){var _0x496c6d=['true','436WdtYgY','3lZhVeL','forwardCycle','21570LHyFiA','fire','2650700vKqJnR','60QvvLOI','getFocusableElement','div','focusCycler','253TpuVqf','1055162QMfUOo','35xXhoqn','focusTracker','1053352YJwjDK','39970lXQgqc','36LhaMFJ','206816dHFFvm','bindTemplate','599934NwWWIU','createCollection'];_0x4750=function(){return _0x496c6d;};return _0x4750();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xee481f{[_0x46f9f8(0x8a)];[_0x46f9f8(0x9c)];constructor(_0x533ea8){var _0x2ce23c=_0x46f9f8;super(_0x533ea8),this[_0x2ce23c(0x8a)]=new _0x9d8e4d(),this[_0x2ce23c(0x9c)]=new _0x38a5fd({'focusables':this[_0x2ce23c(0x91)](),'focusTracker':this[_0x2ce23c(0x8a)]});}[_0x46f9f8(0x9a)](){var _0x5cd157=_0x46f9f8;return{'tag':_0x5cd157(0x9b),'attributes':{'aria-hidden':_0x5cd157(0x92),'tabindex':'0'},'on':{'focus':this[_0x5cd157(0x8f)]['to'](()=>{var _0x3f3ad1=_0x5cd157;this[_0x3f3ad1(0x9c)][_0x3f3ad1(0x97)](_0x3f3ad1(0x95));})}};}}