@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260121.0 → 0.0.0-nightly-20260122.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 _0x466873=_0x3e8a;(function(_0x901834,_0x2e96e1){const _0x4cd4f3=_0x3e8a,_0x33b368=_0x901834();while(!![]){try{const _0x5a8226=-parseInt(_0x4cd4f3(0x10b))/0x1*(-parseInt(_0x4cd4f3(0xfc))/0x2)+parseInt(_0x4cd4f3(0xd9))/0x3*(parseInt(_0x4cd4f3(0x118))/0x4)+-parseInt(_0x4cd4f3(0xfb))/0x5*(parseInt(_0x4cd4f3(0x100))/0x6)+-parseInt(_0x4cd4f3(0xd2))/0x7*(-parseInt(_0x4cd4f3(0xe1))/0x8)+parseInt(_0x4cd4f3(0xc3))/0x9*(-parseInt(_0x4cd4f3(0xda))/0xa)+-parseInt(_0x4cd4f3(0xc6))/0xb*(-parseInt(_0x4cd4f3(0x109))/0xc)+-parseInt(_0x4cd4f3(0x114))/0xd*(parseInt(_0x4cd4f3(0x106))/0xe);if(_0x5a8226===_0x2e96e1)break;else _0x33b368['push'](_0x33b368['shift']());}catch(_0x16bea7){_0x33b368['push'](_0x33b368['shift']());}}}(_0x362b,0x8a43a));function _0x362b(){const _0x187f35=['get','downcast','_initConfig','href','uploadcare.pubkey','body','querySelector','map','replaceImageSource','conversion','init','extend','ucContextId','listenTo','imageInline','schema','getAttribute','iconHrefResolver','15475xesFGy','3622xKMFET','getSelectedElement','config','fromCharCode','72BTeTwD','uploader-','_initConversion','isPremiumPlugin','\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','imageBlock','12193790OoYdaW','destroy','pluginName','24FilkUa','contentLanguage','471RgDtnA','UploadcareEditing','_ctxElement','appendChild','#uc-icon-arrow-down','render','data-uc-image-id','uploadcare.uploader','editing','13aspVkZ','selection','editor','uploadcare','8428YZQYyc','remove','uc-config','insertImage','8565705bauRzC','_initSchema','view','2729309fbpTxu','uc-upload-ctx-provider','uploadcareImageReplace','add','_initImageProcessingIndicator','once','_configElement','uploadcareImageId','ctxElement','removeAttribute','for','attributeToAttribute','21ArgIFy','PictureEditing','closeMax','configElement','locale','requires','model','582zsVjKz','10dSVkPQ','execute','afterInit','cleanupImage','document','true','upcast','1781928CqtkUW','elementToAttribute','isRegistered','commands','input[uploadcare-file-input]','_initCtx','isOfficialPlugin','join'];_0x362b=function(){return _0x187f35;};return _0x362b();}import{Plugin as _0x34379f}from'ckeditor5/src/core.js';import{Dialog as _0x3bd2d6}from'ckeditor5/src/ui.js';import{createElement as _0x54b96e,global as _0x3664b0,uid as _0xebaf43}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x35e1b1}from'./uploadcarecommand.js';function _0x3e8a(_0x51db98,_0x588755){const _0x362b12=_0x362b();return _0x3e8a=function(_0x3e8a0e,_0x4614d5){_0x3e8a0e=_0x3e8a0e-0xc1;let _0x5bb0f0=_0x362b12[_0x3e8a0e];return _0x5bb0f0;},_0x3e8a(_0x51db98,_0x588755);}import{UploadcareUploadAdapter as _0x46905d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x455733}from'./utils/editingutils.js';export class UploadcareEditing extends _0x34379f{[_0x466873(0xcc)]=null;[_0x466873(0x10d)]=null;static get[_0x466873(0x108)](){const _0x24c26e=_0x466873;return _0x24c26e(0x10c);}static get[_0x466873(0xd7)](){const _0x3ff8d3=_0x466873;return[_0x3ff8d3(0xd3),_0x46905d,_0x3bd2d6];}static get[_0x466873(0xe7)](){return!0x0;}static get[_0x466873(0x103)](){return!0x0;}[_0x466873(0xf5)];get[_0x466873(0xd5)](){const _0x3a15ae=_0x466873;return this[_0x3a15ae(0xcc)];}get[_0x466873(0xce)](){const _0x32a5dd=_0x466873;return this[_0x32a5dd(0x10d)];}constructor(_0x300d25){const _0x49fc97=_0x466873;super(_0x300d25),this[_0x49fc97(0xf5)]=_0xebaf43();}[_0x466873(0xf3)](){const _0xee8f53=_0x466873,_0x57a77d=this[_0xee8f53(0x116)];_0x57a77d[_0xee8f53(0xe4)][_0xee8f53(0xc9)](_0xee8f53(0x117),new _0x35e1b1(_0x57a77d));}[_0x466873(0xdc)](){const _0x4e359e=_0x466873;this[_0x4e359e(0xc4)](),this[_0x4e359e(0x102)](),this[_0x4e359e(0xeb)](),this[_0x4e359e(0xe6)](),this[_0x4e359e(0xca)](),this[_0x4e359e(0xf6)](this[_0x4e359e(0x116)],_0x4e359e(0x107),()=>{const _0x5ec3f5=_0x4e359e;this[_0x5ec3f5(0xcc)]&&(this[_0x5ec3f5(0xcc)][_0x5ec3f5(0x119)](),this[_0x5ec3f5(0xcc)]=null),this[_0x5ec3f5(0x10d)]&&(this[_0x5ec3f5(0x10d)][_0x5ec3f5(0x119)](),this[_0x5ec3f5(0x10d)]=null);const _0x381ec2=_0x3664b0[_0x5ec3f5(0xde)][_0x5ec3f5(0xef)](_0x5ec3f5(0xe5));_0x381ec2&&_0x381ec2[_0x5ec3f5(0x119)]();}),async function(_0x581c9c){const _0x4262f5=_0x171ae6([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]),_0x1b5bb2=0x535f8c3a,_0x1cd864=0x5358f34a^_0x1b5bb2,_0x27b10c=window[_0x171ae6([0x44,0x61,0x74,0x65])][_0x171ae6([0x6e,0x6f,0x77])](),_0x301386=_0x581c9c[_0x171ae6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x487767=new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b251f=>{_0x301386[_0x171ae6([0x6f,0x6e,0x63,0x65])](_0x171ae6([0x72,0x65,0x61,0x64,0x79]),_0x3b251f);}),_0x158dcc={[_0x171ae6([0x6b,0x74,0x79])]:_0x171ae6([0x45,0x43]),[_0x171ae6([0x75,0x73,0x65])]:_0x171ae6([0x73,0x69,0x67]),[_0x171ae6([0x63,0x72,0x76])]:_0x171ae6([0x50,0x2d,0x32,0x35,0x36]),[_0x171ae6([0x78])]:_0x171ae6([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]),[_0x171ae6([0x79])]:_0x171ae6([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]),[_0x171ae6([0x61,0x6c,0x67])]:_0x171ae6([0x45,0x53,0x32,0x35,0x36])},_0x39424f=_0x301386[_0x171ae6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x171ae6([0x67,0x65,0x74])](_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe3f1a3(){let _0x1b1f23,_0x18d761=null,_0x183ee2=null;try{if(_0x39424f==_0x171ae6([0x47,0x50,0x4c]))return _0x171ae6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b1f23=_0xc6bef2(),!_0x1b1f23)return _0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b1f23[_0x171ae6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x183ee2=_0x10c948(_0x1b1f23[_0x171ae6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b1f23[_0x171ae6([0x6a,0x74,0x69])])),await _0x24fd0b()?_0x491708()?_0x27cb66()?_0x171ae6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfd84d6()?(_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x171ae6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d761=_0xe1db8a(_0x171ae6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x243bbd()):_0x171ae6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x171ae6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27cb66(){const _0x337194=[_0x171ae6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x171ae6([0x74,0x72,0x69,0x61,0x6c])][_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27b10c/0x3e8:0xe10*_0x1cd864;return _0x1b1f23[_0x171ae6([0x65,0x78,0x70])]<_0x337194;}function _0x491708(){const _0x58e9e8=_0x1b1f23[_0x171ae6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58e9e8&&(!!_0x58e9e8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x2a]))||!!_0x58e9e8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x55,0x50,0x4c,0x43])));}function _0xfd84d6(){const _0x5a9532=_0x3e8a,_0x1a95b8=_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a95b8||0x0==_0x1a95b8[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2aa2a7}=new URL(window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a9532(0xec)]);if(_0x1a95b8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa2a7))return!0x0;const _0x28fe7f=_0x2aa2a7[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e]));return _0x1a95b8[_0x171ae6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36ec64=>_0x36ec64[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x2a])))[_0x171ae6([0x6d,0x61,0x70])](_0x173fd2=>_0x173fd2[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e])))[_0x171ae6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a7547=>_0x1a7547[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28fe7f[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x171ae6([0x6d,0x61,0x70])](_0x30699d=>Array(_0x28fe7f[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30699d[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x171ae6([0x66,0x69,0x6c,0x6c])](_0x30699d[0x0]===_0x171ae6([0x2a])?_0x171ae6([0x2a]):'')[_0x171ae6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30699d))[_0x171ae6([0x73,0x6f,0x6d,0x65])](_0x177367=>_0x28fe7f[_0x171ae6([0x65,0x76,0x65,0x72,0x79])]((_0x52f5f5,_0xddb27)=>_0x177367[_0xddb27]===_0x52f5f5||_0x177367[_0xddb27]===_0x171ae6([0x2a])));}function _0x243bbd(){return _0x18d761&&_0x183ee2?new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aa1ba,_0x55dd62)=>{_0x18d761[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x5aa1ba,_0x55dd62),_0x183ee2[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x4112ba=>{_0x4112ba!=_0x171ae6([0x56,0x61,0x6c,0x69,0x64])&&_0x5aa1ba(_0x4112ba);},_0x55dd62);}):_0x18d761||_0x183ee2||_0x171ae6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10c948(_0x3351d3,_0xfd70fe){return new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f21de=>{if(_0x19bda3())return _0x1f21de(_0x171ae6([0x56,0x61,0x6c,0x69,0x64]));_0xf7832a(),_0x301386[_0x171ae6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dc156=!0x1;const _0x2c0400=_0xebaf43();function _0x407aa2(_0x994f65){return!!_0x994f65&&(typeof _0x994f65===_0x171ae6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x994f65===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x994f65[_0x171ae6([0x74,0x68,0x65,0x6e])]===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x994f65[_0x171ae6([0x63,0x61,0x74,0x63,0x68])]===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf56cb7(_0x1aa963){_0x4a4486(_0x1aa963)[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x15ad78=>{if(!_0x15ad78||_0x15ad78[_0x171ae6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x171ae6([0x6f,0x6b]))return _0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5060f6(_0x5b8f02(_0x2c0400+_0xfd70fe))!=_0x15ad78[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x171ae6([0x56,0x61,0x6c,0x69,0x64]);})[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x454bf8=>(_0x22d661(),_0x454bf8),()=>{const _0x1752fd=_0x540101();return null==_0x1752fd?(_0x22d661(),_0x171ae6([0x56,0x61,0x6c,0x69,0x64])):_0x171ae6(_0x27b10c-_0x1752fd>(0x7753083a^_0x1b5bb2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x1f21de)[_0x171ae6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b4d5=0x536962ba^_0x1b5bb2;function _0x22d661(){const _0x3e3c4e=_0x171ae6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5060f6(_0x5b8f02(_0x3351d3)),_0x5142c9=_0x5ba4e2(_0x5060f6(window[_0x171ae6([0x4d,0x61,0x74,0x68])][_0x171ae6([0x63,0x65,0x69,0x6c])](_0x27b10c/_0x24b4d5)));window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x171ae6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3c4e,_0x5142c9);}function _0x540101(){const _0x1d1b42=_0x171ae6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5060f6(_0x5b8f02(_0x3351d3)),_0x32b29c=window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x171ae6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d1b42);return _0x32b29c?window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ba4e2(_0x32b29c),0x10)*_0x24b4d5:null;}function _0x4a4486(_0x46827b){return new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2ac2,_0xe15a12)=>{_0x46827b[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x5a2ac2,_0xe15a12),window[_0x171ae6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe15a12,0x535e58fa^_0x1b5bb2);});}}_0x301386[_0x171ae6([0x6f,0x6e])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a57b7,_0x51eb26)=>{if(_0x51eb26[0x0]!=_0x3351d3)return _0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51eb26[0x1]={..._0x51eb26[0x1],[_0x171ae6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c0400};},{[_0x171ae6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x171ae6([0x68,0x69,0x67,0x68])}),_0x301386[_0x171ae6([0x6f,0x6e])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b9286=>{_0x407aa2(_0x2b9286[_0x171ae6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dc156=!0x0,_0xf56cb7(_0x2b9286[_0x171ae6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x171ae6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x171ae6([0x6c,0x6f,0x77])}),_0x487767[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>{_0x4dc156||_0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19bda3(){return _0x301386[_0x171ae6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x171ae6([0x76,0x69,0x65,0x77])][_0x171ae6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x171ae6([0x61,0x75,0x74,0x6f]);}function _0xf7832a(){_0x301386[_0x171ae6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x171ae6([0x76,0x69,0x65,0x77])][_0x171ae6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x171ae6([0x61,0x75,0x74,0x6f]);}}function _0xe1db8a(_0x3d954c){const _0x1648e4=[new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216dd2=>setTimeout(_0x216dd2,0x5356b2f6^_0x1b5bb2)),_0x487767[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3ec2=>{let _0x4d5a71=0x0;_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x6f,0x6e])](_0x171ae6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x130471,_0x303caf)=>{_0x303caf[0x0][_0x171ae6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d5a71++,_0x4d5a71==(0x535f89d2^_0x1b5bb2)&&(_0x2a3ec2(),_0x130471[_0x171ae6([0x6f,0x66,0x66])]());});}))];return window[_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x171ae6([0x72,0x61,0x63,0x65])](_0x1648e4)[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>_0x3d954c);}async function _0x1ef799(){await _0x487767,_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4bb78d,_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4bb78d,_0x301386[_0x171ae6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1da51d(_0x10226c){const _0x2c0c52=_0x413013();_0x301386[_0x2c0c52]=_0x171ae6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10226c,_0x10226c!=_0x171ae6([0x56,0x61,0x6c,0x69,0x64])&&_0x1ef799();}function _0x413013(){const _0x24f061=window[_0x171ae6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x171ae6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x171ae6([0x6e,0x6f,0x77])]())[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x171ae6([0x2e]),'');let _0x34726a=_0x171ae6([0x68]);for(let _0x349b1b=0x0;_0x349b1b<_0x24f061[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x349b1b+=0x2){let _0x5b790a=window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24f061[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349b1b,_0x349b1b+0x2));_0x5b790a>=_0x4262f5[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b790a-=_0x4262f5[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34726a+=_0x4262f5[_0x5b790a];}return _0x34726a;}function _0xc6bef2(){const _0x5b84dd=_0x39424f[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e]));if(0x3!=_0x5b84dd[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52fade(_0x5b84dd[0x1]);function _0x52fade(_0x12b0d8){const _0xb1b92f=_0x5090ec(_0x12b0d8);return _0xb1b92f&&_0x49c4cc()?_0xb1b92f:null;function _0x49c4cc(){const _0x2cf751=_0xb1b92f[_0x171ae6([0x6a,0x74,0x69])],_0x490351=window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cf751[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cf751[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d3874={..._0xb1b92f,[_0x171ae6([0x6a,0x74,0x69])]:_0x2cf751[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cf751[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d3874[_0x171ae6([0x76,0x63])],_0x5b8f02(_0x5d3874)==_0x490351;}}}async function _0x24fd0b(){let _0x5690fd=!0x0;try{const _0x3b5100=_0x39424f[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e])),[_0x1493c2,_0x261c60,_0x459bb2]=_0x3b5100;return _0x400cf7(_0x1493c2),await _0x289a10(_0x1493c2,_0x261c60,_0x459bb2),_0x5690fd;}catch{return!0x1;}function _0x400cf7(_0xe0902b){const _0x2f4f11=_0x5090ec(_0xe0902b);_0x2f4f11&&_0x2f4f11[_0x171ae6([0x61,0x6c,0x67])]==_0x171ae6([0x45,0x53,0x32,0x35,0x36])||(_0x5690fd=!0x1);}async function _0x289a10(_0x27af43,_0x196a43,_0x53b4d1){const _0x161bd6=window[_0x171ae6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x171ae6([0x66,0x72,0x6f,0x6d])](_0xe80d8f(_0x53b4d1),_0x5d0d71=>_0x5d0d71[_0x171ae6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e3c37=new window[(_0x171ae6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x171ae6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27af43+_0x171ae6([0x2e])+_0x196a43),_0x20c98a=window[_0x171ae6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x171ae6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c98a)return;const _0xc63fbe=await _0x20c98a[_0x171ae6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x171ae6([0x6a,0x77,0x6b]),_0x158dcc,{[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x45,0x43,0x44,0x53,0x41]),[_0x171ae6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x171ae6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c98a[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x45,0x43,0x44,0x53,0x41]),[_0x171ae6([0x68,0x61,0x73,0x68])]:{[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc63fbe,_0x161bd6,_0x1e3c37)||(_0x5690fd=!0x1);}}function _0x5090ec(_0x22348d){return _0x22348d[_0x171ae6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x171ae6([0x65,0x79]))?JSON[_0x171ae6([0x70,0x61,0x72,0x73,0x65])](_0xe80d8f(_0x22348d)):null;}function _0xe80d8f(_0x4c15e2){return window[_0x171ae6([0x61,0x74,0x6f,0x62])](_0x4c15e2[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x171ae6([0x2b]))[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x171ae6([0x2f])));}function _0x5b8f02(_0x557852){let _0x21ad02=0x1505;function _0x39d17a(_0x5178da){for(let _0x435fb3=0x0;_0x435fb3<_0x5178da[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x435fb3++){const _0x1778bd=_0x5178da[_0x171ae6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x435fb3);_0x21ad02=(_0x21ad02<<0x5)+_0x21ad02+_0x1778bd,_0x21ad02&=_0x21ad02;}}function _0x2e318b(_0x458ddc){Array[_0x171ae6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x458ddc)?_0x458ddc[_0x171ae6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e318b):_0x458ddc&&typeof _0x458ddc==_0x171ae6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x171ae6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x458ddc)[_0x171ae6([0x73,0x6f,0x72,0x74])]()[_0x171ae6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56cfdf,_0x4c1edb])=>{_0x39d17a(_0x56cfdf),_0x2e318b(_0x4c1edb);}):_0x39d17a(window[_0x171ae6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x458ddc));}return _0x2e318b(_0x557852),_0x21ad02>>>0x0;}function _0x5060f6(_0x35befe){return _0x35befe[_0x171ae6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x171ae6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x171ae6([0x30]));}function _0x5ba4e2(_0x271a90){return _0x271a90[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x171ae6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x171ae6([0x6a,0x6f,0x69,0x6e])]('');}function _0x4bb78d(){}function _0x171ae6(_0x46d23f){const _0x23d749=_0x3e8a;return _0x46d23f[_0x23d749(0xf0)](_0x4709db=>String[_0x23d749(0xff)](_0x4709db))[_0x23d749(0xe8)]('');}_0x1da51d(await _0xe3f1a3());}(this);}[_0x466873(0xc4)](){const _0x4fe183=_0x466873,_0x11df6a=this[_0x4fe183(0x116)][_0x4fe183(0xd8)][_0x4fe183(0xf8)];_0x11df6a[_0x4fe183(0xe3)](_0x4fe183(0x105))&&_0x11df6a[_0x4fe183(0xf4)](_0x4fe183(0x105),{'allowAttributes':[_0x4fe183(0xcd)]}),_0x11df6a[_0x4fe183(0xe3)](_0x4fe183(0xf7))&&_0x11df6a[_0x4fe183(0xf4)](_0x4fe183(0xf7),{'allowAttributes':[_0x4fe183(0xcd)]});}[_0x466873(0x102)](){const _0x251cda=_0x466873,_0xa68207=this[_0x251cda(0x116)];_0xa68207[_0x251cda(0xf2)][_0x251cda(0xd0)](_0x251cda(0xea))[_0x251cda(0xd1)]({'model':_0x251cda(0xcd),'view':_0x251cda(0x111)}),_0xa68207[_0x251cda(0xf2)][_0x251cda(0xd0)](_0x251cda(0xe0))[_0x251cda(0xe2)]({'model':{'key':_0x251cda(0xcd),'value':_0x49a7ca=>_0x49a7ca[_0x251cda(0xf9)](_0x251cda(0x111))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c3ac4=_0xa68207[_0x251cda(0xe4)][_0x251cda(0xe9)](_0x251cda(0xf1));_0x5c3ac4&&this[_0x251cda(0xf6)](_0x5c3ac4,_0x251cda(0xdd),(_0xea2734,[_0x155a8e,_0x21471a])=>{const _0x48a005=_0x251cda;_0x155a8e[_0x48a005(0xcf)](_0x48a005(0xcd),_0x21471a);});}[_0x466873(0xeb)](){const _0x16e804=_0x466873,_0x45b723=this[_0x16e804(0x116)][_0x16e804(0xfe)][_0x16e804(0xe9)](_0x16e804(0x112))||{},_0x50d4b0=this[_0x16e804(0x116)][_0x16e804(0xfe)][_0x16e804(0xe9)](_0x16e804(0xed))||'';this[_0x16e804(0xcc)]=_0x54b96e(_0x3664b0[_0x16e804(0xde)],_0x16e804(0xc1),{..._0x45b723,'pubkey':_0x50d4b0,'ctx-name':_0x16e804(0x101)+this[_0x16e804(0xf5)],'sourceList':'','imgOnly':_0x16e804(0xdf),'removeCopyright':_0x16e804(0xdf),'localeName':this[_0x16e804(0x116)][_0x16e804(0xd6)][_0x16e804(0x10a)],'externalSourcesEmbedCss':_0x16e804(0x104)}),this[_0x16e804(0xcc)][_0x16e804(0xfa)]=_0x56cea0=>{const _0x24239d=_0x16e804;if(_0x24239d(0xd4)==_0x56cea0)return _0x24239d(0x10f);},_0x3664b0[_0x16e804(0xde)][_0x16e804(0xee)][_0x16e804(0x10e)](this[_0x16e804(0xcc)]);}[_0x466873(0xe6)](){const _0x2c1334=_0x466873;this[_0x2c1334(0x10d)]=_0x54b96e(_0x3664b0[_0x2c1334(0xde)],_0x2c1334(0xc7),{'ctx-name':_0x2c1334(0x101)+this[_0x2c1334(0xf5)]}),_0x3664b0[_0x2c1334(0xde)][_0x2c1334(0xee)][_0x2c1334(0x10e)](this[_0x2c1334(0x10d)]);}[_0x466873(0xca)](){const _0x545bdf=_0x466873,_0x28626f=this[_0x545bdf(0x116)][_0x545bdf(0xe4)][_0x545bdf(0xe9)](_0x545bdf(0xc2));_0x28626f&&this[_0x545bdf(0xf6)](_0x28626f,_0x545bdf(0xdb),()=>{const _0x189315=_0x545bdf,_0x322649=this[_0x189315(0x116)][_0x189315(0xd8)][_0x189315(0xde)][_0x189315(0x115)][_0x189315(0xfd)]();_0x322649&&_0x322649[_0x189315(0xf9)](_0x189315(0xcd))&&this[_0x189315(0x116)][_0x189315(0x113)][_0x189315(0xc5)][_0x189315(0xcb)](_0x189315(0x110),()=>{const _0x1837f8=_0x189315;_0x455733(this[_0x1837f8(0x116)],_0x322649);});});const _0x28fc62=this[_0x545bdf(0x116)][_0x545bdf(0xe4)][_0x545bdf(0xe9)](_0x545bdf(0xc8));_0x28fc62&&this[_0x545bdf(0xf6)](_0x28fc62,_0x545bdf(0xdb),()=>{const _0x3a6227=_0x545bdf,_0x2b6a1e=this[_0x3a6227(0x116)][_0x3a6227(0xd8)][_0x3a6227(0xde)][_0x3a6227(0x115)][_0x3a6227(0xfd)]();_0x2b6a1e&&_0x2b6a1e[_0x3a6227(0xf9)](_0x3a6227(0xcd))&&this[_0x3a6227(0x116)][_0x3a6227(0x113)][_0x3a6227(0xc5)][_0x3a6227(0xcb)](_0x3a6227(0x110),()=>{const _0xa3f19c=_0x3a6227;_0x455733(this[_0xa3f19c(0x116)],_0x2b6a1e);});});}}
23
+ const _0x4f4425=_0x26c3;(function(_0x267dcc,_0x4653c8){const _0x12d04d=_0x26c3,_0x487ba1=_0x267dcc();while(!![]){try{const _0x6c90d3=parseInt(_0x12d04d(0x1a3))/0x1+-parseInt(_0x12d04d(0x1a4))/0x2+parseInt(_0x12d04d(0x1cf))/0x3+-parseInt(_0x12d04d(0x18f))/0x4*(parseInt(_0x12d04d(0x195))/0x5)+parseInt(_0x12d04d(0x1c5))/0x6+parseInt(_0x12d04d(0x1a1))/0x7*(parseInt(_0x12d04d(0x1b3))/0x8)+parseInt(_0x12d04d(0x1cb))/0x9*(parseInt(_0x12d04d(0x18a))/0xa);if(_0x6c90d3===_0x4653c8)break;else _0x487ba1['push'](_0x487ba1['shift']());}catch(_0x2cdc10){_0x487ba1['push'](_0x487ba1['shift']());}}}(_0x1071,0x5e6a9));import{Plugin as _0x44bdf9}from'ckeditor5/src/core.js';function _0x1071(){const _0x4347fd=['locale','uploader-','editing','data-uc-image-id','isPremiumPlugin','attributeToAttribute','elementToAttribute','_initConfig','removeAttribute','listenTo','conversion','7oqGYTR','upcast','380389oaOnep','1519992MOesRA','uploadcareImageId','PictureEditing','pluginName','for','input[uploadcare-file-input]','render','#uc-icon-arrow-down','add','true','afterInit','extend','_initConversion','iconHrefResolver','get','1967144ADougJ','body','view','downcast','getSelectedElement','model','execute','destroy','editor','selection','_configElement','insertImage','getAttribute','commands','_initImageProcessingIndicator','_ctxElement','imageBlock','once','1727844qdbpAW','isRegistered','imageInline','map','remove','cleanupImage','918144MswrHs','href','querySelector','_initSchema','79263lNSpcz','document','configElement','uploadcare.pubkey','ucContextId','schema','init','uploadcare.uploader','_initCtx','uc-upload-ctx-provider','ctxElement','contentLanguage','join','uploadcare','isOfficialPlugin','closeMax','80vQUKqC','replaceImageSource','appendChild','fromCharCode','uc-config','1240HGVmEv','uploadcareImageReplace','UploadcareEditing','config','requires','\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','9840aRXPfk'];_0x1071=function(){return _0x4347fd;};return _0x1071();}function _0x26c3(_0x56cd59,_0xe4b8c3){const _0x107164=_0x1071();return _0x26c3=function(_0x26c3cc,_0x57d692){_0x26c3cc=_0x26c3cc-0x17f;let _0x19db8a=_0x107164[_0x26c3cc];return _0x19db8a;},_0x26c3(_0x56cd59,_0xe4b8c3);}import{Dialog as _0x36aecd}from'ckeditor5/src/ui.js';import{createElement as _0x558158,global as _0x1d217c,uid as _0x5af5fc}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x24b007}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x19d6d6}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2361c9}from'./utils/editingutils.js';export class UploadcareEditing extends _0x44bdf9{[_0x4f4425(0x1bd)]=null;[_0x4f4425(0x1c2)]=null;static get[_0x4f4425(0x1a7)](){const _0x58bebc=_0x4f4425;return _0x58bebc(0x191);}static get[_0x4f4425(0x193)](){const _0x4ad957=_0x4f4425;return[_0x4ad957(0x1a6),_0x19d6d6,_0x36aecd];}static get[_0x4f4425(0x188)](){return!0x0;}static get[_0x4f4425(0x19a)](){return!0x0;}[_0x4f4425(0x1d3)];get[_0x4f4425(0x1d1)](){const _0x2a74b4=_0x4f4425;return this[_0x2a74b4(0x1bd)];}get[_0x4f4425(0x184)](){const _0x33c27b=_0x4f4425;return this[_0x33c27b(0x1c2)];}constructor(_0x4863c8){const _0x374b4c=_0x4f4425;super(_0x4863c8),this[_0x374b4c(0x1d3)]=_0x5af5fc();}[_0x4f4425(0x180)](){const _0x466f7a=_0x4f4425,_0x112835=this[_0x466f7a(0x1bb)];_0x112835[_0x466f7a(0x1c0)][_0x466f7a(0x1ac)](_0x466f7a(0x187),new _0x24b007(_0x112835));}[_0x4f4425(0x1ae)](){const _0x35c421=_0x4f4425;this[_0x35c421(0x1ce)](),this[_0x35c421(0x1b0)](),this[_0x35c421(0x19d)](),this[_0x35c421(0x182)](),this[_0x35c421(0x1c1)](),this[_0x35c421(0x19f)](this[_0x35c421(0x1bb)],_0x35c421(0x1ba),()=>{const _0xccf386=_0x35c421;this[_0xccf386(0x1bd)]&&(this[_0xccf386(0x1bd)][_0xccf386(0x1c9)](),this[_0xccf386(0x1bd)]=null),this[_0xccf386(0x1c2)]&&(this[_0xccf386(0x1c2)][_0xccf386(0x1c9)](),this[_0xccf386(0x1c2)]=null);const _0x2a5fa3=_0x1d217c[_0xccf386(0x1d0)][_0xccf386(0x1cd)](_0xccf386(0x1a9));_0x2a5fa3&&_0x2a5fa3[_0xccf386(0x1c9)]();}),async function(_0x2a029a){const _0x363308=_0x63c4c2([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]),_0x25154a=0x535f8c3a,_0x20bf66=0x5358f3b2^_0x25154a,_0x39de05=window[_0x63c4c2([0x44,0x61,0x74,0x65])][_0x63c4c2([0x6e,0x6f,0x77])](),_0x8a2838=_0x2a029a[_0x63c4c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17865e=new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xecb1ce=>{_0x8a2838[_0x63c4c2([0x6f,0x6e,0x63,0x65])](_0x63c4c2([0x72,0x65,0x61,0x64,0x79]),_0xecb1ce);}),_0x31831d={[_0x63c4c2([0x6b,0x74,0x79])]:_0x63c4c2([0x45,0x43]),[_0x63c4c2([0x75,0x73,0x65])]:_0x63c4c2([0x73,0x69,0x67]),[_0x63c4c2([0x63,0x72,0x76])]:_0x63c4c2([0x50,0x2d,0x32,0x35,0x36]),[_0x63c4c2([0x78])]:_0x63c4c2([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]),[_0x63c4c2([0x79])]:_0x63c4c2([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]),[_0x63c4c2([0x61,0x6c,0x67])]:_0x63c4c2([0x45,0x53,0x32,0x35,0x36])},_0xc4531f=_0x8a2838[_0x63c4c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x63c4c2([0x67,0x65,0x74])](_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12eae6(){let _0x368370,_0x3abaf1=null,_0xf55c8=null;try{if(_0xc4531f==_0x63c4c2([0x47,0x50,0x4c]))return _0x63c4c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x368370=_0x451841(),!_0x368370)return _0x63c4c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x368370[_0x63c4c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf55c8=_0x2b697c(_0x368370[_0x63c4c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x368370[_0x63c4c2([0x6a,0x74,0x69])])),await _0x1ba0a1()?_0x59dc4a()?_0x579d7b()?_0x63c4c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b66ef()?(_0x368370[_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x63c4c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3abaf1=_0x5140c7(_0x63c4c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d54f3()):_0x63c4c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x63c4c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x63c4c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x63c4c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x579d7b(){const _0x46fc13=[_0x63c4c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x63c4c2([0x74,0x72,0x69,0x61,0x6c])][_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368370[_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39de05/0x3e8:0xe10*_0x20bf66;return _0x368370[_0x63c4c2([0x65,0x78,0x70])]<_0x46fc13;}function _0x59dc4a(){const _0x4d721b=_0x368370[_0x63c4c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d721b&&(!!_0x4d721b[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63c4c2([0x2a]))||!!_0x4d721b[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63c4c2([0x55,0x50,0x4c,0x43])));}function _0x3b66ef(){const _0x575f61=_0x26c3,_0xf4679d=_0x368370[_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf4679d||0x0==_0xf4679d[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37db65}=new URL(window[_0x63c4c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x575f61(0x1cc)]);if(_0xf4679d[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37db65))return!0x0;const _0x959cc7=_0x37db65[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e]));return _0xf4679d[_0x63c4c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50b01f=>_0x50b01f[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63c4c2([0x2a])))[_0x63c4c2([0x6d,0x61,0x70])](_0x370e21=>_0x370e21[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e])))[_0x63c4c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57d2cd=>_0x57d2cd[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x959cc7[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x63c4c2([0x6d,0x61,0x70])](_0x16ddff=>Array(_0x959cc7[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16ddff[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x63c4c2([0x66,0x69,0x6c,0x6c])](_0x16ddff[0x0]===_0x63c4c2([0x2a])?_0x63c4c2([0x2a]):'')[_0x63c4c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16ddff))[_0x63c4c2([0x73,0x6f,0x6d,0x65])](_0x310b5c=>_0x959cc7[_0x63c4c2([0x65,0x76,0x65,0x72,0x79])]((_0x39a2a6,_0x16a359)=>_0x310b5c[_0x16a359]===_0x39a2a6||_0x310b5c[_0x16a359]===_0x63c4c2([0x2a])));}function _0x1d54f3(){return _0x3abaf1&&_0xf55c8?new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d921f,_0x539fa4)=>{_0x3abaf1[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x4d921f,_0x539fa4),_0xf55c8[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x2c8ded=>{_0x2c8ded!=_0x63c4c2([0x56,0x61,0x6c,0x69,0x64])&&_0x4d921f(_0x2c8ded);},_0x539fa4);}):_0x3abaf1||_0xf55c8||_0x63c4c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b697c(_0x50d9d5,_0x2ef102){return new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a9fcf=>{if(_0x516821())return _0x5a9fcf(_0x63c4c2([0x56,0x61,0x6c,0x69,0x64]));_0x2c5df2(),_0x8a2838[_0x63c4c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x63c4c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xba213f=!0x1;const _0x5d1201=_0x5af5fc();function _0x1a09f8(_0x10b66c){return!!_0x10b66c&&(typeof _0x10b66c===_0x63c4c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10b66c===_0x63c4c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10b66c[_0x63c4c2([0x74,0x68,0x65,0x6e])]===_0x63c4c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10b66c[_0x63c4c2([0x63,0x61,0x74,0x63,0x68])]===_0x63c4c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x432938(_0x8ac396){_0x1c8595(_0x8ac396)[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x44de62=>{if(!_0x44de62||_0x44de62[_0x63c4c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x63c4c2([0x6f,0x6b]))return _0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d5c2d(_0x5dcbb5(_0x5d1201+_0x2ef102))!=_0x44de62[_0x63c4c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x63c4c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x2e3b5b=>(_0x21e68a(),_0x2e3b5b),()=>{const _0x2b1112=_0x3f8bbc();return null==_0x2b1112?(_0x21e68a(),_0x63c4c2([0x56,0x61,0x6c,0x69,0x64])):_0x63c4c2(_0x39de05-_0x2b1112>(0x7753083a^_0x25154a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x5a9fcf)[_0x63c4c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a9fcf(_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x136e59=0x536962ba^_0x25154a;function _0x21e68a(){const _0x49dfa1=_0x63c4c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d5c2d(_0x5dcbb5(_0x50d9d5)),_0xc5050d=_0x4678e9(_0x2d5c2d(window[_0x63c4c2([0x4d,0x61,0x74,0x68])][_0x63c4c2([0x63,0x65,0x69,0x6c])](_0x39de05/_0x136e59)));window[_0x63c4c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x63c4c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49dfa1,_0xc5050d);}function _0x3f8bbc(){const _0x18fa29=_0x63c4c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d5c2d(_0x5dcbb5(_0x50d9d5)),_0x5d6d1f=window[_0x63c4c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x63c4c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18fa29);return _0x5d6d1f?window[_0x63c4c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4678e9(_0x5d6d1f),0x10)*_0x136e59:null;}function _0x1c8595(_0x1941c4){return new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbef017,_0x5713d1)=>{_0x1941c4[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0xbef017,_0x5713d1),window[_0x63c4c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5713d1,0x535e58fa^_0x25154a);});}}_0x8a2838[_0x63c4c2([0x6f,0x6e])](_0x63c4c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33cf2b,_0x578d13)=>{if(_0x578d13[0x0]!=_0x50d9d5)return _0x5a9fcf(_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x578d13[0x1]={..._0x578d13[0x1],[_0x63c4c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d1201};},{[_0x63c4c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x63c4c2([0x68,0x69,0x67,0x68])}),_0x8a2838[_0x63c4c2([0x6f,0x6e])](_0x63c4c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b6bed=>{_0x1a09f8(_0x4b6bed[_0x63c4c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xba213f=!0x0,_0x432938(_0x4b6bed[_0x63c4c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x63c4c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x63c4c2([0x6c,0x6f,0x77])}),_0x17865e[_0x63c4c2([0x74,0x68,0x65,0x6e])](()=>{_0xba213f||_0x5a9fcf(_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x516821(){return _0x8a2838[_0x63c4c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x63c4c2([0x76,0x69,0x65,0x77])][_0x63c4c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x63c4c2([0x61,0x75,0x74,0x6f]);}function _0x2c5df2(){_0x8a2838[_0x63c4c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x63c4c2([0x76,0x69,0x65,0x77])][_0x63c4c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x63c4c2([0x61,0x75,0x74,0x6f]);}}function _0x5140c7(_0x5c9221){const _0x3ec341=[new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4764ee=>setTimeout(_0x4764ee,0x5356b2f6^_0x25154a)),_0x17865e[_0x63c4c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5736e8=>{let _0x405140=0x0;_0x8a2838[_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x63c4c2([0x6f,0x6e])](_0x63c4c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20a95e,_0x25c3f0)=>{_0x25c3f0[0x0][_0x63c4c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x405140++,_0x405140==(0x535f89d2^_0x25154a)&&(_0x5736e8(),_0x20a95e[_0x63c4c2([0x6f,0x66,0x66])]());});}))];return window[_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x63c4c2([0x72,0x61,0x63,0x65])](_0x3ec341)[_0x63c4c2([0x74,0x68,0x65,0x6e])](()=>_0x5c9221);}async function _0x481404(){await _0x17865e,_0x8a2838[_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x63c4c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ac261,_0x8a2838[_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x63c4c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ac261,_0x8a2838[_0x63c4c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fea1c(_0x4eb2fd){const _0x193a10=_0xa18aa6();_0x8a2838[_0x193a10]=_0x63c4c2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4eb2fd,_0x4eb2fd!=_0x63c4c2([0x56,0x61,0x6c,0x69,0x64])&&_0x481404();}function _0xa18aa6(){const _0x41c798=window[_0x63c4c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x63c4c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x63c4c2([0x6e,0x6f,0x77])]())[_0x63c4c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x63c4c2([0x2e]),'');let _0x17adef=_0x63c4c2([0x68]);for(let _0x2a85cb=0x0;_0x2a85cb<_0x41c798[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a85cb+=0x2){let _0x5dc5f2=window[_0x63c4c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41c798[_0x63c4c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a85cb,_0x2a85cb+0x2));_0x5dc5f2>=_0x363308[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dc5f2-=_0x363308[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17adef+=_0x363308[_0x5dc5f2];}return _0x17adef;}function _0x451841(){const _0x382053=_0xc4531f[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e]));if(0x3!=_0x382053[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33eb3c(_0x382053[0x1]);function _0x33eb3c(_0x2d95a1){const _0x1d06fa=_0x2a7180(_0x2d95a1);return _0x1d06fa&&_0x385d2d()?_0x1d06fa:null;function _0x385d2d(){const _0x134d4e=_0x1d06fa[_0x63c4c2([0x6a,0x74,0x69])],_0x4d1614=window[_0x63c4c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134d4e[_0x63c4c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x134d4e[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x578b74={..._0x1d06fa,[_0x63c4c2([0x6a,0x74,0x69])]:_0x134d4e[_0x63c4c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x134d4e[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x578b74[_0x63c4c2([0x76,0x63])],_0x5dcbb5(_0x578b74)==_0x4d1614;}}}async function _0x1ba0a1(){let _0x15d3a1=!0x0;try{const _0x5ac0be=_0xc4531f[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e])),[_0xfe3b81,_0x16e6ac,_0x1bdadb]=_0x5ac0be;return _0x211cfb(_0xfe3b81),await _0x101f34(_0xfe3b81,_0x16e6ac,_0x1bdadb),_0x15d3a1;}catch{return!0x1;}function _0x211cfb(_0x671c3){const _0x474b6f=_0x2a7180(_0x671c3);_0x474b6f&&_0x474b6f[_0x63c4c2([0x61,0x6c,0x67])]==_0x63c4c2([0x45,0x53,0x32,0x35,0x36])||(_0x15d3a1=!0x1);}async function _0x101f34(_0x1fe35c,_0x47106c,_0x150cbc){const _0x1bdc02=window[_0x63c4c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x63c4c2([0x66,0x72,0x6f,0x6d])](_0x2fdffb(_0x150cbc),_0x222d5b=>_0x222d5b[_0x63c4c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58f2c3=new window[(_0x63c4c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x63c4c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fe35c+_0x63c4c2([0x2e])+_0x47106c),_0x24f382=window[_0x63c4c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x63c4c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24f382)return;const _0x168806=await _0x24f382[_0x63c4c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x63c4c2([0x6a,0x77,0x6b]),_0x31831d,{[_0x63c4c2([0x6e,0x61,0x6d,0x65])]:_0x63c4c2([0x45,0x43,0x44,0x53,0x41]),[_0x63c4c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x63c4c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x63c4c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24f382[_0x63c4c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x63c4c2([0x6e,0x61,0x6d,0x65])]:_0x63c4c2([0x45,0x43,0x44,0x53,0x41]),[_0x63c4c2([0x68,0x61,0x73,0x68])]:{[_0x63c4c2([0x6e,0x61,0x6d,0x65])]:_0x63c4c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x168806,_0x1bdc02,_0x58f2c3)||(_0x15d3a1=!0x1);}}function _0x2a7180(_0xe2e772){return _0xe2e772[_0x63c4c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x63c4c2([0x65,0x79]))?JSON[_0x63c4c2([0x70,0x61,0x72,0x73,0x65])](_0x2fdffb(_0xe2e772)):null;}function _0x2fdffb(_0x39c210){return window[_0x63c4c2([0x61,0x74,0x6f,0x62])](_0x39c210[_0x63c4c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x63c4c2([0x2b]))[_0x63c4c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x63c4c2([0x2f])));}function _0x5dcbb5(_0x4c2b83){let _0x1d5b42=0x1505;function _0x2b89ba(_0xb2ace9){for(let _0x217664=0x0;_0x217664<_0xb2ace9[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x217664++){const _0xf0a2be=_0xb2ace9[_0x63c4c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x217664);_0x1d5b42=(_0x1d5b42<<0x5)+_0x1d5b42+_0xf0a2be,_0x1d5b42&=_0x1d5b42;}}function _0x1bd68b(_0x229342){Array[_0x63c4c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x229342)?_0x229342[_0x63c4c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bd68b):_0x229342&&typeof _0x229342==_0x63c4c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x63c4c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x229342)[_0x63c4c2([0x73,0x6f,0x72,0x74])]()[_0x63c4c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43a1ba,_0x1ee686])=>{_0x2b89ba(_0x43a1ba),_0x1bd68b(_0x1ee686);}):_0x2b89ba(window[_0x63c4c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x229342));}return _0x1bd68b(_0x4c2b83),_0x1d5b42>>>0x0;}function _0x2d5c2d(_0x2ecdee){return _0x2ecdee[_0x63c4c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x63c4c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x63c4c2([0x30]));}function _0x4678e9(_0x16b356){return _0x16b356[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x63c4c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x63c4c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ac261(){}function _0x63c4c2(_0xd2ad3d){const _0x49732a=_0x26c3;return _0xd2ad3d[_0x49732a(0x1c8)](_0x27c969=>String[_0x49732a(0x18d)](_0x27c969))[_0x49732a(0x186)]('');}_0x1fea1c(await _0x12eae6());}(this);}[_0x4f4425(0x1ce)](){const _0x3ea141=_0x4f4425,_0x2b1fa1=this[_0x3ea141(0x1bb)][_0x3ea141(0x1b8)][_0x3ea141(0x17f)];_0x2b1fa1[_0x3ea141(0x1c6)](_0x3ea141(0x1c3))&&_0x2b1fa1[_0x3ea141(0x1af)](_0x3ea141(0x1c3),{'allowAttributes':[_0x3ea141(0x1a5)]}),_0x2b1fa1[_0x3ea141(0x1c6)](_0x3ea141(0x1c7))&&_0x2b1fa1[_0x3ea141(0x1af)](_0x3ea141(0x1c7),{'allowAttributes':[_0x3ea141(0x1a5)]});}[_0x4f4425(0x1b0)](){const _0x23ae53=_0x4f4425,_0x537f8b=this[_0x23ae53(0x1bb)];_0x537f8b[_0x23ae53(0x1a0)][_0x23ae53(0x1a8)](_0x23ae53(0x1b6))[_0x23ae53(0x19b)]({'model':_0x23ae53(0x1a5),'view':_0x23ae53(0x199)}),_0x537f8b[_0x23ae53(0x1a0)][_0x23ae53(0x1a8)](_0x23ae53(0x1a2))[_0x23ae53(0x19c)]({'model':{'key':_0x23ae53(0x1a5),'value':_0x2b4779=>_0x2b4779[_0x23ae53(0x1bf)](_0x23ae53(0x199))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x25d8f6=_0x537f8b[_0x23ae53(0x1c0)][_0x23ae53(0x1b2)](_0x23ae53(0x18b));_0x25d8f6&&this[_0x23ae53(0x19f)](_0x25d8f6,_0x23ae53(0x1ca),(_0x16ddfb,[_0x36d6ac,_0x97ebcb])=>{const _0x4b9b02=_0x23ae53;_0x36d6ac[_0x4b9b02(0x19e)](_0x4b9b02(0x1a5),_0x97ebcb);});}[_0x4f4425(0x19d)](){const _0x473b9e=_0x4f4425,_0x5b4bda=this[_0x473b9e(0x1bb)][_0x473b9e(0x192)][_0x473b9e(0x1b2)](_0x473b9e(0x181))||{},_0x52d165=this[_0x473b9e(0x1bb)][_0x473b9e(0x192)][_0x473b9e(0x1b2)](_0x473b9e(0x1d2))||'';this[_0x473b9e(0x1bd)]=_0x558158(_0x1d217c[_0x473b9e(0x1d0)],_0x473b9e(0x18e),{..._0x5b4bda,'pubkey':_0x52d165,'ctx-name':_0x473b9e(0x197)+this[_0x473b9e(0x1d3)],'sourceList':'','imgOnly':_0x473b9e(0x1ad),'removeCopyright':_0x473b9e(0x1ad),'localeName':this[_0x473b9e(0x1bb)][_0x473b9e(0x196)][_0x473b9e(0x185)],'externalSourcesEmbedCss':_0x473b9e(0x194)}),this[_0x473b9e(0x1bd)][_0x473b9e(0x1b1)]=_0x1b4073=>{const _0x1cd7cb=_0x473b9e;if(_0x1cd7cb(0x189)==_0x1b4073)return _0x1cd7cb(0x1ab);},_0x1d217c[_0x473b9e(0x1d0)][_0x473b9e(0x1b4)][_0x473b9e(0x18c)](this[_0x473b9e(0x1bd)]);}[_0x4f4425(0x182)](){const _0x3c2e36=_0x4f4425;this[_0x3c2e36(0x1c2)]=_0x558158(_0x1d217c[_0x3c2e36(0x1d0)],_0x3c2e36(0x183),{'ctx-name':_0x3c2e36(0x197)+this[_0x3c2e36(0x1d3)]}),_0x1d217c[_0x3c2e36(0x1d0)][_0x3c2e36(0x1b4)][_0x3c2e36(0x18c)](this[_0x3c2e36(0x1c2)]);}[_0x4f4425(0x1c1)](){const _0x2b95f0=_0x4f4425,_0x4d447e=this[_0x2b95f0(0x1bb)][_0x2b95f0(0x1c0)][_0x2b95f0(0x1b2)](_0x2b95f0(0x1be));_0x4d447e&&this[_0x2b95f0(0x19f)](_0x4d447e,_0x2b95f0(0x1b9),()=>{const _0x3894bb=_0x2b95f0,_0x5c7bff=this[_0x3894bb(0x1bb)][_0x3894bb(0x1b8)][_0x3894bb(0x1d0)][_0x3894bb(0x1bc)][_0x3894bb(0x1b7)]();_0x5c7bff&&_0x5c7bff[_0x3894bb(0x1bf)](_0x3894bb(0x1a5))&&this[_0x3894bb(0x1bb)][_0x3894bb(0x198)][_0x3894bb(0x1b5)][_0x3894bb(0x1c4)](_0x3894bb(0x1aa),()=>{const _0x127c3e=_0x3894bb;_0x2361c9(this[_0x127c3e(0x1bb)],_0x5c7bff);});});const _0x16c082=this[_0x2b95f0(0x1bb)][_0x2b95f0(0x1c0)][_0x2b95f0(0x1b2)](_0x2b95f0(0x190));_0x16c082&&this[_0x2b95f0(0x19f)](_0x16c082,_0x2b95f0(0x1b9),()=>{const _0x5a4a8f=_0x2b95f0,_0xf6ab6=this[_0x5a4a8f(0x1bb)][_0x5a4a8f(0x1b8)][_0x5a4a8f(0x1d0)][_0x5a4a8f(0x1bc)][_0x5a4a8f(0x1b7)]();_0xf6ab6&&_0xf6ab6[_0x5a4a8f(0x1bf)](_0x5a4a8f(0x1a5))&&this[_0x5a4a8f(0x1bb)][_0x5a4a8f(0x198)][_0x5a4a8f(0x1b5)][_0x5a4a8f(0x1c4)](_0x5a4a8f(0x1aa),()=>{const _0x172a68=_0x5a4a8f;_0x2361c9(this[_0x172a68(0x1bb)],_0xf6ab6);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2ab5eb,ObservableMixin as _0x4341ce}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xe4e1b8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18db02}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5229f3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x40d3fe}from'../../utils/uploadutils.js';import{getImageUrls as _0x17466d,getImageDimension as _0x1c7b92}from'../../utils/editingutils.js';import{isAncestor as _0x4bb433}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x4341ce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x533744,_0x38d401,_0x2c4452){super(),this['_editor']=_0x533744,this['_dialog']=_0x38d401,this['_imageElement']=_0x2c4452,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 _0x1ea864=this['_imageElement'],_0x4d6aad=_0x1ea864['getAttribute']('uploadcareImageId'),_0x14285b=_0x1ea864['getAttribute']('src');if(_0x4d6aad)await this['_loadImageInfo'](_0x4d6aad,_0x14285b);else{if(this['_imageCache']['has'](_0x14285b)){const _0x4c6b90=this['_imageCache']['get'](_0x14285b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c6b90['url'],this['imageDimension']=_0x4c6b90['dimension'],this['imageId']=_0x4c6b90['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1fd70c}=this['_editor'],t=_0x1fd70c['t'],_0xeb06a=new _0x5229f3(_0x1fd70c,this['imageStatus'],this['_attributes']);_0xeb06a['bind']('status')['to'](this,'imageStatus'),_0xeb06a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xeb06a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xeb06a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xeb06a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18db02,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xeb06a,'position':_0xe4e1b8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xeb06a['focus']();},'onHide':()=>{_0xeb06a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36d5a8=>!_0x4bb433(_0x36d5a8,_0xeb06a['element'])}});}['_loadImageInfo'](_0x427ba6,_0x4c11d0){return _0x40d3fe['getInfo'](_0x427ba6,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x7b5988=>{const {width:_0x1b2a68,height:_0x18ac6f}=_0x7b5988['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c11d0,this['imageDimension']={'width':_0x1b2a68,'height':_0x18ac6f},this['imageId']=_0x427ba6;})['catch'](_0x1c5177=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c5177['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2a0877,_0x5c5f25){return this['_getImageAsFile'](_0x2a0877)['then'](_0x4952d6=>_0x40d3fe['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':_0x5c5f25['signal'],'file':_0x4952d6,'onProgress':_0x5d5207=>{_0x5d5207&&_0x5d5207['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d5207['value']));}}))['then'](_0x32d7e3=>{const {width:_0x5077ef,height:_0x31bcda}=_0x32d7e3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32d7e3['cdnUrl'],this['imageDimension']={'width':_0x5077ef,'height':_0x31bcda},this['imageId']=_0x32d7e3['uuid'],this['imageUploadProgress']=null;const _0x57e12d=_0x2a0877['getAttribute']('src');this['_imageCache']['set'](_0x57e12d,{'id':_0x32d7e3['uuid'],'url':_0x32d7e3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2f74f8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2f74f8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x36458d,_0x293e04){_0x36458d['on']('apply',(_0x29be91,_0x565a34)=>{this['_replaceImage'](_0x293e04,_0x565a34['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x36458d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x36458d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x28e070,_0x565522,_0x2b7b7a){const _0x24da7b=this['_editor'],{width:_0x1e7b1d,height:_0xa02473}=_0x1c7b92(_0x565522,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3fae74,imageSources:_0x1154dc}=_0x17466d(_0x565522,_0x1e7b1d);_0x24da7b['model']['change'](_0x1a71f7=>{if('$graveyard'===_0x28e070['root']['rootName']){_0x24da7b['execute']('insertImage',{'imageType':_0x28e070['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x28e070['getAttributes']()),'uploadcareImageId':_0x2b7b7a,'src':_0x3fae74,'sources':_0x1154dc,'width':_0x1e7b1d,'height':_0xa02473}});const _0x136ff0=_0x28e070['getChildren']();_0x28e070=_0x24da7b['model']['document']['selection']['getSelectedElement']();for(const _0x79cc17 of _0x136ff0)_0x1a71f7['append'](_0x1a71f7['cloneElement'](_0x79cc17),_0x28e070);}else _0x1a71f7['setSelection'](_0x28e070,'on'),_0x24da7b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x28e070['getAttributes']()),'uploadcareImageId':_0x2b7b7a,'src':_0x3fae74,'sources':_0x1154dc,'width':_0x1e7b1d,'height':_0xa02473},_0x28e070);_0x1a71f7['setSelection'](_0x28e070,'on');});}async['_getImageAsFile'](_0x1c510d){const _0x50e2d4=_0x2ab5eb['window'],_0x51d9b7=_0x2ab5eb['document']['location']['href'],_0x41fc4d=new _0x50e2d4['URL'](_0x1c510d['getAttribute']('src'),_0x51d9b7);if('data:'===_0x41fc4d['protocol']){const _0x3e607e=_0x41fc4d['href']['split'](','),_0x31f046=_0x3e607e[0x0]['match'](/:(.*?);/)[0x1],_0x5b7486=_0x31f046['split']('/')[0x1],_0xa48dfd=_0x50e2d4['atob'](_0x3e607e[_0x3e607e['length']-0x1]);let _0x18b328=_0xa48dfd['length'];const _0x84f2e1=new _0x50e2d4['Uint8Array'](_0x18b328);for(;_0x18b328--;)_0x84f2e1[_0x18b328]=_0xa48dfd['charCodeAt'](_0x18b328);return new _0x50e2d4['File']([_0x84f2e1],'image.'+_0x5b7486,{'type':_0x31f046});}const _0x2b96ac=_0x41fc4d['href']['split']('/'),_0x82c5f9=_0x2b96ac[_0x2b96ac['length']-0x1],_0x5503b5=_0x82c5f9['split']('.')[0x1];return _0x50e2d4['fetch'](_0x41fc4d['href'])['then'](_0x128a1a=>_0x128a1a['clone']()['blob']())['then'](_0x58bad8=>new _0x50e2d4['File']([_0x58bad8],_0x82c5f9,{'type':'image/'+_0x5503b5}));}}
23
+ import{global as _0x4d0248,ObservableMixin as _0x474f79}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x16e704}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x53d056}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2a19f0}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x390f9c}from'../../utils/uploadutils.js';import{getImageUrls as _0xb780b7,getImageDimension as _0x126e45}from'../../utils/editingutils.js';import{isAncestor as _0x2c303f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x474f79(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xb0dfcf,_0xdb1fea,_0x40c84c){super(),this['_editor']=_0xb0dfcf,this['_dialog']=_0xdb1fea,this['_imageElement']=_0x40c84c,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 _0x5d10ec=this['_imageElement'],_0x36dd80=_0x5d10ec['getAttribute']('uploadcareImageId'),_0x23b5e0=_0x5d10ec['getAttribute']('src');if(_0x36dd80)await this['_loadImageInfo'](_0x36dd80,_0x23b5e0);else{if(this['_imageCache']['has'](_0x23b5e0)){const _0x4711ba=this['_imageCache']['get'](_0x23b5e0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4711ba['url'],this['imageDimension']=_0x4711ba['dimension'],this['imageId']=_0x4711ba['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5c3362}=this['_editor'],t=_0x5c3362['t'],_0x2e5c7c=new _0x2a19f0(_0x5c3362,this['imageStatus'],this['_attributes']);_0x2e5c7c['bind']('status')['to'](this,'imageStatus'),_0x2e5c7c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2e5c7c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2e5c7c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2e5c7c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x53d056,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2e5c7c,'position':_0x16e704['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2e5c7c['focus']();},'onHide':()=>{_0x2e5c7c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x183e5e=>!_0x2c303f(_0x183e5e,_0x2e5c7c['element'])}});}['_loadImageInfo'](_0x1b87b8,_0xd61523){return _0x390f9c['getInfo'](_0x1b87b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x35a754=>{const {width:_0x566f49,height:_0x255514}=_0x35a754['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd61523,this['imageDimension']={'width':_0x566f49,'height':_0x255514},this['imageId']=_0x1b87b8;})['catch'](_0x5ca3ba=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5ca3ba['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ecc3b,_0x41ea74){return this['_getImageAsFile'](_0x2ecc3b)['then'](_0x9f9745=>_0x390f9c['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':_0x41ea74['signal'],'file':_0x9f9745,'onProgress':_0x7726e6=>{_0x7726e6&&_0x7726e6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x7726e6['value']));}}))['then'](_0x4c55d8=>{const {width:_0x59e66c,height:_0x4f135f}=_0x4c55d8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c55d8['cdnUrl'],this['imageDimension']={'width':_0x59e66c,'height':_0x4f135f},this['imageId']=_0x4c55d8['uuid'],this['imageUploadProgress']=null;const _0x25e41c=_0x2ecc3b['getAttribute']('src');this['_imageCache']['set'](_0x25e41c,{'id':_0x4c55d8['uuid'],'url':_0x4c55d8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2663a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2663a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xc3cf6,_0x1fb2d1){_0xc3cf6['on']('apply',(_0x3c89a9,_0xcad696)=>{this['_replaceImage'](_0x1fb2d1,_0xcad696['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xc3cf6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xc3cf6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1ab770,_0x11aaf2,_0x1322bb){const _0x152f8e=this['_editor'],{width:_0x27efd0,height:_0x260a47}=_0x126e45(_0x11aaf2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x38c22d,imageSources:_0x27d38a}=_0xb780b7(_0x11aaf2,_0x27efd0);_0x152f8e['model']['change'](_0x48d0db=>{if('$graveyard'===_0x1ab770['root']['rootName']){_0x152f8e['execute']('insertImage',{'imageType':_0x1ab770['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1ab770['getAttributes']()),'uploadcareImageId':_0x1322bb,'src':_0x38c22d,'sources':_0x27d38a,'width':_0x27efd0,'height':_0x260a47}});const _0x1e6e86=_0x1ab770['getChildren']();_0x1ab770=_0x152f8e['model']['document']['selection']['getSelectedElement']();for(const _0x186d17 of _0x1e6e86)_0x48d0db['append'](_0x48d0db['cloneElement'](_0x186d17),_0x1ab770);}else _0x48d0db['setSelection'](_0x1ab770,'on'),_0x152f8e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1ab770['getAttributes']()),'uploadcareImageId':_0x1322bb,'src':_0x38c22d,'sources':_0x27d38a,'width':_0x27efd0,'height':_0x260a47},_0x1ab770);_0x48d0db['setSelection'](_0x1ab770,'on');});}async['_getImageAsFile'](_0x15e1bd){const _0x10f9fe=_0x4d0248['window'],_0x192d5b=_0x4d0248['document']['location']['href'],_0x2a2d26=new _0x10f9fe['URL'](_0x15e1bd['getAttribute']('src'),_0x192d5b);if('data:'===_0x2a2d26['protocol']){const _0x56cbc3=_0x2a2d26['href']['split'](','),_0x3fc383=_0x56cbc3[0x0]['match'](/:(.*?);/)[0x1],_0x1c07b2=_0x3fc383['split']('/')[0x1],_0x2bd179=_0x10f9fe['atob'](_0x56cbc3[_0x56cbc3['length']-0x1]);let _0x480774=_0x2bd179['length'];const _0x4858a0=new _0x10f9fe['Uint8Array'](_0x480774);for(;_0x480774--;)_0x4858a0[_0x480774]=_0x2bd179['charCodeAt'](_0x480774);return new _0x10f9fe['File']([_0x4858a0],'image.'+_0x1c07b2,{'type':_0x3fc383});}const _0x788fda=_0x2a2d26['href']['split']('/'),_0x327613=_0x788fda[_0x788fda['length']-0x1],_0x26fdce=_0x327613['split']('.')[0x1];return _0x10f9fe['fetch'](_0x2a2d26['href'])['then'](_0x1b6d6f=>_0x1b6d6f['clone']()['blob']())['then'](_0x3ca629=>new _0x10f9fe['File']([_0x3ca629],_0x327613,{'type':'image/'+_0x26fdce}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x500b(_0xfbd070,_0x54969e){const _0x3759b8=_0x3759();return _0x500b=function(_0x500bc1,_0x213d73){_0x500bc1=_0x500bc1-0x67;let _0x9c6712=_0x3759b8[_0x500bc1];return _0x9c6712;},_0x500b(_0xfbd070,_0x54969e);}(function(_0x24126a,_0xa70da4){const _0x424948=_0x500b,_0xb8f9a0=_0x24126a();while(!![]){try{const _0x3aec32=parseInt(_0x424948(0x77))/0x1+parseInt(_0x424948(0x70))/0x2*(parseInt(_0x424948(0x67))/0x3)+parseInt(_0x424948(0x6f))/0x4*(parseInt(_0x424948(0x73))/0x5)+parseInt(_0x424948(0x6b))/0x6+parseInt(_0x424948(0x75))/0x7+parseInt(_0x424948(0x71))/0x8+parseInt(_0x424948(0x6a))/0x9*(-parseInt(_0x424948(0x69))/0xa);if(_0x3aec32===_0xa70da4)break;else _0xb8f9a0['push'](_0xb8f9a0['shift']());}catch(_0x5ca486){_0xb8f9a0['push'](_0xb8f9a0['shift']());}}}(_0x3759,0xc6733));import{View as _0x2cb40d}from'ckeditor5/src/ui.js';function _0x3759(){const _0x19905c=['1036777wRhwEQ','uc-cloud-image-editor','12XhQsOo','uc-light','56808130RfjkXV','9zOAQod','9434418LKRCXV','bindTemplate','imageSrc','image-edit','5249796RsJqQx','363646FPKVzY','3306960klEWSN','setTemplate','5PsZTtV','set','10019611RWkAzJ','ck-uploadcare-theme'];_0x3759=function(){return _0x19905c;};return _0x3759();}export class UploadcareImageEditFormEditingView extends _0x2cb40d{constructor(_0x1858ae,_0xa31c48){const _0x366a7c=_0x500b;super(_0x1858ae);const _0x1e9a80=this[_0x366a7c(0x6c)];this[_0x366a7c(0x74)](_0x366a7c(0x6d),''),this[_0x366a7c(0x72)]({'tag':_0x366a7c(0x78),'attributes':{..._0xa31c48,'class':[_0x366a7c(0x68),_0x366a7c(0x76)],'ctx-name':_0x366a7c(0x6e),'cdn-url':_0x1e9a80['to'](_0x366a7c(0x6d))}});}}
23
+ function _0xc262(_0x1699ce,_0x8c56e6){const _0x2d28a0=_0x2d28();return _0xc262=function(_0xc262a6,_0x5d93c2){_0xc262a6=_0xc262a6-0x68;let _0x290c59=_0x2d28a0[_0xc262a6];return _0x290c59;},_0xc262(_0x1699ce,_0x8c56e6);}(function(_0x26cd0b,_0x2076fa){const _0x5cf1fa=_0xc262,_0x104287=_0x26cd0b();while(!![]){try{const _0x342eee=parseInt(_0x5cf1fa(0x6b))/0x1+-parseInt(_0x5cf1fa(0x71))/0x2+-parseInt(_0x5cf1fa(0x6d))/0x3+parseInt(_0x5cf1fa(0x75))/0x4+parseInt(_0x5cf1fa(0x72))/0x5+parseInt(_0x5cf1fa(0x68))/0x6+-parseInt(_0x5cf1fa(0x77))/0x7*(parseInt(_0x5cf1fa(0x74))/0x8);if(_0x342eee===_0x2076fa)break;else _0x104287['push'](_0x104287['shift']());}catch(_0x27906b){_0x104287['push'](_0x104287['shift']());}}}(_0x2d28,0x1a2f0));import{View as _0x47ebc8}from'ckeditor5/src/ui.js';function _0x2d28(){const _0x184f81=['imageSrc','set','354524cjgUps','972410zAhoXF','setTemplate','89384CWURqQ','307956KUWLKm','uc-cloud-image-editor','84aCYnMO','572568RoVjBJ','bindTemplate','image-edit','118115pDoQCs','uc-light','199284yGzMDS','ck-uploadcare-theme'];_0x2d28=function(){return _0x184f81;};return _0x2d28();}export class UploadcareImageEditFormEditingView extends _0x47ebc8{constructor(_0x45b443,_0x2c80df){const _0x2106e8=_0xc262;super(_0x45b443);const _0x1f81b6=this[_0x2106e8(0x69)];this[_0x2106e8(0x70)](_0x2106e8(0x6f),''),this[_0x2106e8(0x73)]({'tag':_0x2106e8(0x76),'attributes':{..._0x2c80df,'class':[_0x2106e8(0x6c),_0x2106e8(0x6e)],'ctx-name':_0x2106e8(0x6a),'cdn-url':_0x1f81b6['to'](_0x2106e8(0x6f))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x4594c8}from'ckeditor5/src/icons.js';import{ButtonView as _0xb16759,IconView as _0xe5870f,View as _0x5bbccd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5bbccd{constructor(_0x2caeed){super(_0x2caeed);const t=_0x2caeed['t'];this['set']('errorType',null);const _0x65faec=new _0xb16759(_0x2caeed);_0x65faec['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x65faec['withText']=!0x0,_0x65faec['class']='ck-button-action',_0x65faec['on']('execute',()=>{this['fire']('retry');}),_0x65faec['bind']('isVisible')['to'](this,'errorType',_0x250ef3=>'NotFound'!==_0x250ef3);const _0x2442c3=new _0xe5870f();_0x2442c3['content']=_0x4594c8,_0x2442c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x396828=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':[_0x2442c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x396828['to']('errorType',_0x5b7bb4=>t('NotFound'!==_0x5b7bb4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x65faec]},{'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 _0x108533}from'ckeditor5/src/icons.js';import{ButtonView as _0x171d0c,IconView as _0x263d83,View as _0x22effa}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x22effa{constructor(_0x113cb9){super(_0x113cb9);const t=_0x113cb9['t'];this['set']('errorType',null);const _0x139a8e=new _0x171d0c(_0x113cb9);_0x139a8e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x139a8e['withText']=!0x0,_0x139a8e['class']='ck-button-action',_0x139a8e['on']('execute',()=>{this['fire']('retry');}),_0x139a8e['bind']('isVisible')['to'](this,'errorType',_0xe0b81d=>'NotFound'!==_0xe0b81d);const _0x505037=new _0x263d83();_0x505037['content']=_0x108533,_0x505037['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5757d8=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':[_0x505037,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5757d8['to']('errorType',_0xfd553d=>t('NotFound'!==_0xfd553d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x139a8e]},{'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 _0x260625,View as _0x4a0094}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4a0094{constructor(_0x5ebc67){super(_0x5ebc67);const t=_0x5ebc67['t'],_0x7e88e2=this['bindTemplate'],_0x922f6a=new _0x260625();_0x922f6a['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':[_0x922f6a,{'text':_0x7e88e2['to']('imageUploadProgress',_0x3c1f19=>t('Loading\x20image...')+'\x20('+(_0x3c1f19||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 _0x13df22,View as _0x3db2f2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3db2f2{constructor(_0x38f1d5){super(_0x38f1d5);const t=_0x38f1d5['t'],_0x2299a0=this['bindTemplate'],_0x33184f=new _0x13df22();_0x33184f['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':[_0x33184f,{'text':_0x2299a0['to']('imageUploadProgress',_0xc6e596=>t('Loading\x20image...')+'\x20('+(_0xc6e596||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 _0x1b68fe=_0x2889;(function(_0x44f9a1,_0x4c6b24){const _0x406410=_0x2889,_0x43abe4=_0x44f9a1();while(!![]){try{const _0x4d946c=-parseInt(_0x406410(0x1b9))/0x1+parseInt(_0x406410(0x1c5))/0x2+parseInt(_0x406410(0x1a3))/0x3*(parseInt(_0x406410(0x19b))/0x4)+-parseInt(_0x406410(0x1c7))/0x5*(-parseInt(_0x406410(0x1ba))/0x6)+-parseInt(_0x406410(0x1a2))/0x7+-parseInt(_0x406410(0x19a))/0x8*(parseInt(_0x406410(0x1a1))/0x9)+-parseInt(_0x406410(0x1bc))/0xa*(-parseInt(_0x406410(0x1a7))/0xb);if(_0x4d946c===_0x4c6b24)break;else _0x43abe4['push'](_0x43abe4['shift']());}catch(_0x3ed936){_0x43abe4['push'](_0x43abe4['shift']());}}}(_0x408e,0x6aec2));import{View as _0x52031d}from'ckeditor5/src/ui.js';function _0x2889(_0x4f8834,_0x546fed){const _0x408e44=_0x408e();return _0x2889=function(_0x288989,_0x5c4d71){_0x288989=_0x288989-0x195;let _0x5d81d6=_0x408e44[_0x288989];return _0x5d81d6;},_0x2889(_0x4f8834,_0x546fed);}import{UploadcareImageEditFormLoadingView as _0x3b2337}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x10ad53}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x15ab49}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x8d5fbc}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x8d5fbc{[_0x1b68fe(0x196)];[_0x1b68fe(0x1bb)];[_0x1b68fe(0x19e)];[_0x1b68fe(0x19c)];[_0x1b68fe(0x1bd)];constructor(_0x361b82,_0x1a6f69,_0x361d72){const _0x5acde4=_0x1b68fe;super(_0x361b82),this[_0x5acde4(0x196)]=this[_0x5acde4(0x1a9)](),this[_0x5acde4(0x1bb)]=new _0x3b2337(_0x361b82),this[_0x5acde4(0x19e)]=new _0x10ad53(_0x361b82),this[_0x5acde4(0x19c)]=new _0x15ab49(_0x361b82,_0x361d72),this[_0x5acde4(0x1bd)]=new _0x52031d(_0x361b82),this[_0x5acde4(0x1bd)][_0x5acde4(0x1c1)](this[_0x5acde4(0x1ac)]()),this[_0x5acde4(0x1b7)](_0x5acde4(0x1b2),_0x1a6f69),this[_0x5acde4(0x1c1)]({'tag':_0x5acde4(0x1be),'attributes':{'class':['ck',_0x5acde4(0x1b8),_0x5acde4(0x1c6)],'tabindex':'-1'},'children':this[_0x5acde4(0x196)]}),this[_0x5acde4(0x1aa)](),this[_0x5acde4(0x1ad)](_0x5acde4(0x1b3),()=>{const _0xfd2f0b=_0x5acde4;this[_0xfd2f0b(0x1b0)](this[_0xfd2f0b(0x1cc)],_0xa4f9f6=>{const _0xc664c1=_0xfd2f0b;this[_0xc664c1(0x1c0)](_0xa4f9f6);});}),this['on'](_0x5acde4(0x1c2),()=>{const _0x4926c0=_0x5acde4;this[_0x4926c0(0x1aa)]();}),this[_0x5acde4(0x1c3)]();}[_0x1b68fe(0x195)](){const _0xdd66b1=_0x1b68fe;this[_0xdd66b1(0x1cc)][_0xdd66b1(0x195)]();}[_0x1b68fe(0x1aa)](){const _0x3c2d3e=_0x1b68fe;switch(this[_0x3c2d3e(0x196)][_0x3c2d3e(0x197)](),this[_0x3c2d3e(0x1b2)]){case _0x3c2d3e(0x1a4):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x1b6)](this[_0x3c2d3e(0x1bb)]);break;case _0x3c2d3e(0x1cb):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x1b6)](this[_0x3c2d3e(0x19e)]);break;case _0x3c2d3e(0x1b4):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x19d)]([this[_0x3c2d3e(0x19c)],this[_0x3c2d3e(0x1bd)]]);}}[_0x1b68fe(0x1b0)](_0x504260,_0x346232){const _0x134b4a=_0x1b68fe,_0x1942a5=_0x134b4a(0x198),_0x24df48=_0x504260[_0x134b4a(0x1a6)](_0x1942a5);if(_0x24df48)return _0x346232(_0x24df48);const _0x4551ba=new MutationObserver(_0x2df9c2=>{const _0x316d14=_0x134b4a,_0x4a8e95=_0x2df9c2[_0x316d14(0x199)](_0x533aaa=>_0x533aaa[_0x316d14(0x1af)]===_0x504260&&_0x533aaa[_0x316d14(0x1ca)][_0x316d14(0x1c8)]>0x0&&_0x533aaa[_0x316d14(0x1ca)][0x0][_0x316d14(0x1a5)][_0x316d14(0x1a0)]()===_0x1942a5);_0x4a8e95[_0x316d14(0x1c8)]&&(_0x4551ba[_0x316d14(0x1b5)](),_0x346232(_0x4a8e95[0x0][_0x316d14(0x1ca)][0x0]));});_0x4551ba[_0x134b4a(0x1c9)](_0x504260,{'childList':!0x0,'subtree':!0x0});}[_0x1b68fe(0x1c0)](_0x1214ee){const _0x50003e=_0x1b68fe;_0x1214ee[_0x50003e(0x19f)](_0x50003e(0x1c4),_0x2a2a7a=>{const _0x10d4ab=_0x50003e;this[_0x10d4ab(0x1b1)](_0x10d4ab(0x1c4),{'imageSrc':_0x2a2a7a[_0x10d4ab(0x1ae)][_0x10d4ab(0x1ab)]});}),_0x1214ee[_0x50003e(0x19f)](_0x50003e(0x1bf),()=>{const _0x2d287f=_0x50003e;this[_0x2d287f(0x1b1)](_0x2d287f(0x1bf));});}[_0x1b68fe(0x1c3)](){const _0x2f06ab=_0x1b68fe;this[_0x2f06ab(0x19e)]['on'](_0x2f06ab(0x1a8),()=>{const _0x45a494=_0x2f06ab;this[_0x45a494(0x1b1)](_0x45a494(0x1a8));});}}function _0x408e(){const _0x526378=['querySelector','22vqLThY','retry','createCollection','_setView','cdnUrl','getFocusableElement','once','detail','target','_waitForImageEditorComponent','fire','status','render','ready','disconnect','add','set','ck-reset_all-excluded','639438ZXbIZG','1290oroztP','_loadingView','4005600cUcUet','_focusableView','div','cancel','_addUploadcareImageEditorListeners','setTemplate','change:status','_addErrorViewListeners','apply','762350LtzTDR','ck-uploadcare-form','7660plFeIM','length','observe','addedNodes','error','element','focus','_items','clear','uc-cloud-image-editor','filter','13592CHNzBR','440byVPvC','_editingView','addMany','_errorView','addEventListener','toLowerCase','2493JUlvnB','5520620MnkkIy','22500hyuUht','uploading','nodeName'];_0x408e=function(){return _0x526378;};return _0x408e();}
23
+ const _0x52eaed=_0x35e2;(function(_0x49b331,_0xb1b4e4){const _0x514073=_0x35e2,_0x2005b0=_0x49b331();while(!![]){try{const _0x19ccac=parseInt(_0x514073(0x136))/0x1*(-parseInt(_0x514073(0x142))/0x2)+parseInt(_0x514073(0x118))/0x3+-parseInt(_0x514073(0x11a))/0x4+-parseInt(_0x514073(0x12c))/0x5*(parseInt(_0x514073(0x127))/0x6)+parseInt(_0x514073(0x11b))/0x7+-parseInt(_0x514073(0x116))/0x8+parseInt(_0x514073(0x13d))/0x9*(-parseInt(_0x514073(0x114))/0xa);if(_0x19ccac===_0xb1b4e4)break;else _0x2005b0['push'](_0x2005b0['shift']());}catch(_0x255489){_0x2005b0['push'](_0x2005b0['shift']());}}}(_0x12d9,0x94f44));function _0x35e2(_0x3d3db7,_0x1754cc){const _0x12d9b9=_0x12d9();return _0x35e2=function(_0x35e2e9,_0x5e38a9){_0x35e2e9=_0x35e2e9-0x10d;let _0x332b1b=_0x12d9b9[_0x35e2e9];return _0x332b1b;},_0x35e2(_0x3d3db7,_0x1754cc);}import{View as _0x1d52f2}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0xac651b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1c4afb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1bedf3}from'./uploadcareimageeditformeditingview.js';function _0x12d9(){const _0x20a52b=['5cjLQyo','uc-cloud-image-editor','target','div','filter','setTemplate','createCollection','change:status','disconnect','fire','5125qVJfgG','_editingView','addMany','set','_items','_addErrorViewListeners','once','889506pqzRSo','cancel','nodeName','getFocusableElement','_setView','4xxhiCe','_waitForImageEditorComponent','clear','cdnUrl','length','_addUploadcareImageEditorListeners','element','add','error','10secYPO','uploading','8136312qQxhyB','observe','3202770cWkhmN','toLowerCase','257864anzIDV','7487865yblxOD','focus','ck-uploadcare-form','retry','_focusableView','detail','_loadingView','querySelector','render','ck-reset_all-excluded','addEventListener','apply','2019480CXEyJW','status','ready','addedNodes','_errorView'];_0x12d9=function(){return _0x20a52b;};return _0x12d9();}import{DialogFocusManagerView as _0x5bd44c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5bd44c{[_0x52eaed(0x13a)];[_0x52eaed(0x121)];[_0x52eaed(0x12b)];[_0x52eaed(0x137)];[_0x52eaed(0x11f)];constructor(_0x5dab1a,_0x1fcb66,_0x96932f){const _0x3cad9e=_0x52eaed;super(_0x5dab1a),this[_0x3cad9e(0x13a)]=this[_0x3cad9e(0x132)](),this[_0x3cad9e(0x121)]=new _0xac651b(_0x5dab1a),this[_0x3cad9e(0x12b)]=new _0x1c4afb(_0x5dab1a),this[_0x3cad9e(0x137)]=new _0x1bedf3(_0x5dab1a,_0x96932f),this[_0x3cad9e(0x11f)]=new _0x1d52f2(_0x5dab1a),this[_0x3cad9e(0x11f)][_0x3cad9e(0x131)](this[_0x3cad9e(0x140)]()),this[_0x3cad9e(0x139)](_0x3cad9e(0x128),_0x1fcb66),this[_0x3cad9e(0x131)]({'tag':_0x3cad9e(0x12f),'attributes':{'class':['ck',_0x3cad9e(0x124),_0x3cad9e(0x11d)],'tabindex':'-1'},'children':this[_0x3cad9e(0x13a)]}),this[_0x3cad9e(0x141)](),this[_0x3cad9e(0x13c)](_0x3cad9e(0x123),()=>{const _0xa0ca28=_0x3cad9e;this[_0xa0ca28(0x143)](this[_0xa0ca28(0x111)],_0x33eea8=>{const _0xe1db94=_0xa0ca28;this[_0xe1db94(0x110)](_0x33eea8);});}),this['on'](_0x3cad9e(0x133),()=>{const _0x25770c=_0x3cad9e;this[_0x25770c(0x141)]();}),this[_0x3cad9e(0x13b)]();}[_0x52eaed(0x11c)](){const _0x262592=_0x52eaed;this[_0x262592(0x111)][_0x262592(0x11c)]();}[_0x52eaed(0x141)](){const _0x42a059=_0x52eaed;switch(this[_0x42a059(0x13a)][_0x42a059(0x10d)](),this[_0x42a059(0x128)]){case _0x42a059(0x115):this[_0x42a059(0x13a)][_0x42a059(0x112)](this[_0x42a059(0x121)]);break;case _0x42a059(0x113):this[_0x42a059(0x13a)][_0x42a059(0x112)](this[_0x42a059(0x12b)]);break;case _0x42a059(0x129):this[_0x42a059(0x13a)][_0x42a059(0x138)]([this[_0x42a059(0x137)],this[_0x42a059(0x11f)]]);}}[_0x52eaed(0x143)](_0xde5a27,_0x20e957){const _0x39fe2c=_0x52eaed,_0x36c9be=_0x39fe2c(0x12d),_0x54874d=_0xde5a27[_0x39fe2c(0x122)](_0x36c9be);if(_0x54874d)return _0x20e957(_0x54874d);const _0x5afef6=new MutationObserver(_0x304079=>{const _0x248f1f=_0x39fe2c,_0x15f244=_0x304079[_0x248f1f(0x130)](_0x41c285=>_0x41c285[_0x248f1f(0x12e)]===_0xde5a27&&_0x41c285[_0x248f1f(0x12a)][_0x248f1f(0x10f)]>0x0&&_0x41c285[_0x248f1f(0x12a)][0x0][_0x248f1f(0x13f)][_0x248f1f(0x119)]()===_0x36c9be);_0x15f244[_0x248f1f(0x10f)]&&(_0x5afef6[_0x248f1f(0x134)](),_0x20e957(_0x15f244[0x0][_0x248f1f(0x12a)][0x0]));});_0x5afef6[_0x39fe2c(0x117)](_0xde5a27,{'childList':!0x0,'subtree':!0x0});}[_0x52eaed(0x110)](_0x5becf8){const _0x2a94d6=_0x52eaed;_0x5becf8[_0x2a94d6(0x125)](_0x2a94d6(0x126),_0x2b594e=>{const _0x2f413a=_0x2a94d6;this[_0x2f413a(0x135)](_0x2f413a(0x126),{'imageSrc':_0x2b594e[_0x2f413a(0x120)][_0x2f413a(0x10e)]});}),_0x5becf8[_0x2a94d6(0x125)](_0x2a94d6(0x13e),()=>{const _0x2570af=_0x2a94d6;this[_0x2570af(0x135)](_0x2570af(0x13e));});}[_0x52eaed(0x13b)](){const _0x3e96c6=_0x52eaed;this[_0x3e96c6(0x12b)]['on'](_0x3e96c6(0x11e),()=>{const _0x4ec903=_0x3e96c6;this[_0x4ec903(0x135)](_0x4ec903(0x11e));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x30eb(){const _0x3f6ed3=['selection','imageBlock','model','148300YJFehu','bind','imageInline','835SNbiyg','4112487PvQgaJ','uploadcare.allowExternalImagesEditing','document','583qPpkAb','imageEditController','isActive','execute','getSelectedElement','639UsmfeQ','refresh','3657246EFrVjd','config','10292blAYLh','editor','_isEditable','unbind','get','set','703633rKCCve','2818NyIsCN','requires','40NYJKIA','element','538545QSOrZU','plugins','isEnabled'];_0x30eb=function(){return _0x3f6ed3;};return _0x30eb();}const _0x3d32e7=_0x4b79;(function(_0x5ac367,_0x58ba45){const _0x49e347=_0x4b79,_0x5ba118=_0x5ac367();while(!![]){try{const _0x27e0ab=-parseInt(_0x49e347(0x1ea))/0x1+parseInt(_0x49e347(0x1e6))/0x2*(parseInt(_0x49e347(0x1db))/0x3)+parseInt(_0x49e347(0x1df))/0x4*(parseInt(_0x49e347(0x1d2))/0x5)+-parseInt(_0x49e347(0x1dd))/0x6+parseInt(_0x49e347(0x1e5))/0x7*(-parseInt(_0x49e347(0x1e8))/0x8)+parseInt(_0x49e347(0x1d3))/0x9+-parseInt(_0x49e347(0x1f0))/0xa*(-parseInt(_0x49e347(0x1d6))/0xb);if(_0x27e0ab===_0x58ba45)break;else _0x5ba118['push'](_0x5ba118['shift']());}catch(_0x3c544e){_0x5ba118['push'](_0x5ba118['shift']());}}}(_0x30eb,0x4ea0c));function _0x4b79(_0x1b470e,_0xd9f4f5){const _0x30ebd2=_0x30eb();return _0x4b79=function(_0x4b79c3,_0x47c614){_0x4b79c3=_0x4b79c3-0x1d1;let _0x486ef9=_0x30ebd2[_0x4b79c3];return _0x486ef9;},_0x4b79(_0x1b470e,_0xd9f4f5);}import{Command as _0x394786}from'ckeditor5/src/core.js';import{Dialog as _0x228f11}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x55ffd3}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x530d56}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x394786{[_0x3d32e7(0x1d7)];static get[_0x3d32e7(0x1e7)](){return[_0x228f11];}[_0x3d32e7(0x1e1)];constructor(_0x5b010b){const _0xbf1b00=_0x3d32e7;super(_0x5b010b),this[_0xbf1b00(0x1d7)]=void 0x0,this[_0xbf1b00(0x1e1)]=_0x530d56(_0x5b010b[_0xbf1b00(0x1de)][_0xbf1b00(0x1e3)](_0xbf1b00(0x1d4))||[]),this[_0xbf1b00(0x1e4)]({'isActive':!0x1});}[_0x3d32e7(0x1dc)](){const _0x308ce8=_0x3d32e7,_0x3c1bbe=this[_0x308ce8(0x1e0)][_0x308ce8(0x1ef)][_0x308ce8(0x1d5)][_0x308ce8(0x1ed)][_0x308ce8(0x1da)]();this[_0x308ce8(0x1ec)]=this[_0x308ce8(0x1e1)](_0x3c1bbe);}[_0x3d32e7(0x1d9)](){const _0x27e17d=_0x3d32e7;this[_0x27e17d(0x1d7)]&&(this[_0x27e17d(0x1e2)](_0x27e17d(0x1d8)),this[_0x27e17d(0x1d7)]=void 0x0);const _0x230294=this[_0x27e17d(0x1e0)][_0x27e17d(0x1ef)][_0x27e17d(0x1d5)][_0x27e17d(0x1ed)][_0x27e17d(0x1da)]();_0x230294&&(_0x230294['is'](_0x27e17d(0x1e9),_0x27e17d(0x1ee))||_0x230294['is'](_0x27e17d(0x1e9),_0x27e17d(0x1d1)))&&(this[_0x27e17d(0x1d7)]=new _0x55ffd3(this[_0x27e17d(0x1e0)],this[_0x27e17d(0x1e0)][_0x27e17d(0x1eb)][_0x27e17d(0x1e3)](_0x228f11),_0x230294),this[_0x27e17d(0x1f1)](_0x27e17d(0x1d8))['to'](this[_0x27e17d(0x1d7)],_0x27e17d(0x1d8)));}}
23
+ function _0x270a(_0x3e24c9,_0x33415d){const _0x566ae6=_0x566a();return _0x270a=function(_0x270a0e,_0x476d2c){_0x270a0e=_0x270a0e-0x1df;let _0x30c163=_0x566ae6[_0x270a0e];return _0x30c163;},_0x270a(_0x3e24c9,_0x33415d);}const _0x96a17f=_0x270a;(function(_0x31bf6a,_0x5d9f4b){const _0x3f9b9d=_0x270a,_0x347e1f=_0x31bf6a();while(!![]){try{const _0x1f4870=parseInt(_0x3f9b9d(0x1f9))/0x1+parseInt(_0x3f9b9d(0x1e7))/0x2+-parseInt(_0x3f9b9d(0x1ee))/0x3+-parseInt(_0x3f9b9d(0x1f3))/0x4+-parseInt(_0x3f9b9d(0x1df))/0x5*(-parseInt(_0x3f9b9d(0x1e3))/0x6)+-parseInt(_0x3f9b9d(0x1f2))/0x7*(-parseInt(_0x3f9b9d(0x1e1))/0x8)+parseInt(_0x3f9b9d(0x1e4))/0x9;if(_0x1f4870===_0x5d9f4b)break;else _0x347e1f['push'](_0x347e1f['shift']());}catch(_0x2a38cd){_0x347e1f['push'](_0x347e1f['shift']());}}}(_0x566a,0x6c286));import{Command as _0x36a512}from'ckeditor5/src/core.js';function _0x566a(){const _0x24362e=['126AEaXXl','3017668qCrgSo','get','_isEditable','imageInline','execute','set','16059LFkKfN','imageBlock','element','unbind','selection','4580gvnMvZ','requires','253928yxisWO','imageEditController','2952wRycCu','8460378DEMRfB','bind','config','135538ZRjdYc','isActive','document','plugins','model','refresh','uploadcare.allowExternalImagesEditing','2545347EPMdzz','getSelectedElement','isEnabled','editor'];_0x566a=function(){return _0x24362e;};return _0x566a();}import{Dialog as _0x436ca2}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2a8dd6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3fc0e9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x36a512{[_0x96a17f(0x1e2)];static get[_0x96a17f(0x1e0)](){return[_0x436ca2];}[_0x96a17f(0x1f5)];constructor(_0x25bf17){const _0x5389cc=_0x96a17f;super(_0x25bf17),this[_0x5389cc(0x1e2)]=void 0x0,this[_0x5389cc(0x1f5)]=_0x3fc0e9(_0x25bf17[_0x5389cc(0x1e6)][_0x5389cc(0x1f4)](_0x5389cc(0x1ed))||[]),this[_0x5389cc(0x1f8)]({'isActive':!0x1});}[_0x96a17f(0x1ec)](){const _0x51660e=_0x96a17f,_0x20f592=this[_0x51660e(0x1f1)][_0x51660e(0x1eb)][_0x51660e(0x1e9)][_0x51660e(0x1fd)][_0x51660e(0x1ef)]();this[_0x51660e(0x1f0)]=this[_0x51660e(0x1f5)](_0x20f592);}[_0x96a17f(0x1f7)](){const _0x172677=_0x96a17f;this[_0x172677(0x1e2)]&&(this[_0x172677(0x1fc)](_0x172677(0x1e8)),this[_0x172677(0x1e2)]=void 0x0);const _0x2b9bf2=this[_0x172677(0x1f1)][_0x172677(0x1eb)][_0x172677(0x1e9)][_0x172677(0x1fd)][_0x172677(0x1ef)]();_0x2b9bf2&&(_0x2b9bf2['is'](_0x172677(0x1fb),_0x172677(0x1fa))||_0x2b9bf2['is'](_0x172677(0x1fb),_0x172677(0x1f6)))&&(this[_0x172677(0x1e2)]=new _0x2a8dd6(this[_0x172677(0x1f1)],this[_0x172677(0x1f1)][_0x172677(0x1ea)][_0x172677(0x1f4)](_0x436ca2),_0x2b9bf2),this[_0x172677(0x1e5)](_0x172677(0x1e8))['to'](this[_0x172677(0x1e2)],_0x172677(0x1e8)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16eaf0=_0x2e4d;(function(_0xf8ba03,_0x402d60){const _0x3a36f6=_0x2e4d,_0x5c5ac7=_0xf8ba03();while(!![]){try{const _0x3daa2e=parseInt(_0x3a36f6(0x15b))/0x1*(-parseInt(_0x3a36f6(0x14e))/0x2)+-parseInt(_0x3a36f6(0x15e))/0x3+-parseInt(_0x3a36f6(0x14c))/0x4+-parseInt(_0x3a36f6(0x156))/0x5*(parseInt(_0x3a36f6(0x15c))/0x6)+parseInt(_0x3a36f6(0x15a))/0x7*(-parseInt(_0x3a36f6(0x159))/0x8)+parseInt(_0x3a36f6(0x153))/0x9*(parseInt(_0x3a36f6(0x15f))/0xa)+parseInt(_0x3a36f6(0x15d))/0xb*(parseInt(_0x3a36f6(0x14a))/0xc);if(_0x3daa2e===_0x402d60)break;else _0x5c5ac7['push'](_0x5c5ac7['shift']());}catch(_0x51f844){_0x5c5ac7['push'](_0x5c5ac7['shift']());}}}(_0x13f8,0x46a8e));import{Plugin as _0x257a0d}from'ckeditor5/src/core.js';function _0x13f8(){const _0xb296fc=['36hUsvSo','init','requires','2075LpzrGV','isPremiumPlugin','uploadcareImageReplace','160mSHrDD','71477RomRZs','259329VsnsJK','6414sQHDQh','583NiLgtm','1313760omhzbK','343540uzizgJ','add','pluginName','381576JpzUJE','ImageUtils','752736aundBx','ImageEditing','2SXqmZy','commands','UploadcareImageEditEditing','uploadcareImageEdit','isOfficialPlugin'];_0x13f8=function(){return _0xb296fc;};return _0x13f8();}import{Notification as _0x563504}from'ckeditor5/src/ui.js';function _0x2e4d(_0x39c682,_0x3a52fc){const _0x13f882=_0x13f8();return _0x2e4d=function(_0x2e4dbb,_0x4ccc0e){_0x2e4dbb=_0x2e4dbb-0x149;let _0xa70425=_0x13f882[_0x2e4dbb];return _0xa70425;},_0x2e4d(_0x39c682,_0x3a52fc);}import{UploadcareImageEditCommand as _0x2395b4}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x273d7c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x23a5f7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x257a0d{static get[_0x16eaf0(0x149)](){const _0x3ae390=_0x16eaf0;return _0x3ae390(0x150);}static get[_0x16eaf0(0x155)](){const _0x51830e=_0x16eaf0;return[_0x23a5f7,_0x563504,_0x51830e(0x14b),_0x51830e(0x14d)];}static get[_0x16eaf0(0x152)](){return!0x0;}static get[_0x16eaf0(0x157)](){return!0x0;}[_0x16eaf0(0x154)](){const _0x89793b=_0x16eaf0,{editor:_0x493d62}=this;_0x493d62[_0x89793b(0x14f)][_0x89793b(0x160)](_0x89793b(0x151),new _0x2395b4(_0x493d62)),_0x493d62[_0x89793b(0x14f)][_0x89793b(0x160)](_0x89793b(0x158),new _0x273d7c(_0x493d62));}}
23
+ function _0x5970(){const _0x490b0e=['51kpOClG','ImageUtils','isPremiumPlugin','isOfficialPlugin','uploadcareImageReplace','3262288uzctef','init','ImageEditing','33Bavsfm','add','1227221Bnsvhb','50jArsTh','258616jkJquL','requires','commands','1395JaNFdU','pluginName','7LRzJnh','3040920IGkiEg','2743032wWBqqU','3498kFPPue','uploadcareImageEdit','UploadcareImageEditEditing','5653560oiSFUA'];_0x5970=function(){return _0x490b0e;};return _0x5970();}const _0x25d769=_0x4ccc;(function(_0xeaed5f,_0x1aa275){const _0x79e72=_0x4ccc,_0x2a10fc=_0xeaed5f();while(!![]){try{const _0xa3e77b=-parseInt(_0x79e72(0x125))/0x1+parseInt(_0x79e72(0x116))/0x2+-parseInt(_0x79e72(0x11b))/0x3*(-parseInt(_0x79e72(0x127))/0x4)+-parseInt(_0x79e72(0x112))/0x5*(parseInt(_0x79e72(0x117))/0x6)+parseInt(_0x79e72(0x114))/0x7*(-parseInt(_0x79e72(0x120))/0x8)+parseInt(_0x79e72(0x115))/0x9*(parseInt(_0x79e72(0x126))/0xa)+-parseInt(_0x79e72(0x123))/0xb*(parseInt(_0x79e72(0x11a))/0xc);if(_0xa3e77b===_0x1aa275)break;else _0x2a10fc['push'](_0x2a10fc['shift']());}catch(_0x43e6b8){_0x2a10fc['push'](_0x2a10fc['shift']());}}}(_0x5970,0xe7af4));import{Plugin as _0x264635}from'ckeditor5/src/core.js';function _0x4ccc(_0x919945,_0x4d9d37){const _0x59704d=_0x5970();return _0x4ccc=function(_0x4ccc74,_0x566646){_0x4ccc74=_0x4ccc74-0x111;let _0x458c57=_0x59704d[_0x4ccc74];return _0x458c57;},_0x4ccc(_0x919945,_0x4d9d37);}import{Notification as _0x402341}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x294654}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1b2701}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x421076}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x264635{static get[_0x25d769(0x113)](){const _0x49badf=_0x25d769;return _0x49badf(0x119);}static get[_0x25d769(0x128)](){const _0x26db00=_0x25d769;return[_0x421076,_0x402341,_0x26db00(0x11c),_0x26db00(0x122)];}static get[_0x25d769(0x11e)](){return!0x0;}static get[_0x25d769(0x11d)](){return!0x0;}[_0x25d769(0x121)](){const _0x350378=_0x25d769,{editor:_0x3afc63}=this;_0x3afc63[_0x350378(0x111)][_0x350378(0x124)](_0x350378(0x118),new _0x294654(_0x3afc63)),_0x3afc63[_0x350378(0x111)][_0x350378(0x124)](_0x350378(0x11f),new _0x1b2701(_0x3afc63));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x264692}from'ckeditor5/src/core.js';import{ButtonView as _0x1a8ca3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x406773}from'ckeditor5/src/icons.js';import{createElement as _0x196010}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 _0x264692{['_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 _0x69fab=this['editor'];_0x69fab['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2969ef=>{const _0x54f6c5=_0x69fab['commands']['get']('uploadcareImageEdit'),_0x263b16=new _0x1a8ca3(_0x2969ef),t=_0x2969ef['t'];return _0x263b16['set']({'icon':_0x406773,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x263b16['bind']('isEnabled')['to'](_0x54f6c5),_0x263b16['bind']('isOn')['to'](_0x54f6c5,'isActive'),this['listenTo'](_0x263b16,'execute',()=>{_0x69fab['execute']('uploadcareImageEdit'),_0x69fab['editing']['view']['focus']();}),_0x263b16;}),this['_initConfig']();}['_initConfig'](){const _0x21dabd=_0x196010(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x21dabd),this['listenTo'](this['editor'],'destroy',()=>{_0x21dabd['remove']();});}}
23
+ import{Plugin as _0x15b50f}from'ckeditor5/src/core.js';import{ButtonView as _0x2da9d7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4b282d}from'ckeditor5/src/icons.js';import{createElement as _0xf484c}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 _0x15b50f{['_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 _0x283048=this['editor'];_0x283048['ui']['componentFactory']['add']('uploadcareImageEdit',_0x56e83e=>{const _0x44d46a=_0x283048['commands']['get']('uploadcareImageEdit'),_0xeab4dc=new _0x2da9d7(_0x56e83e),t=_0x56e83e['t'];return _0xeab4dc['set']({'icon':_0x4b282d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xeab4dc['bind']('isEnabled')['to'](_0x44d46a),_0xeab4dc['bind']('isOn')['to'](_0x44d46a,'isActive'),this['listenTo'](_0xeab4dc,'execute',()=>{_0x283048['execute']('uploadcareImageEdit'),_0x283048['editing']['view']['focus']();}),_0xeab4dc;}),this['_initConfig']();}['_initConfig'](){const _0x4be097=_0xf484c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4be097),this['listenTo'](this['editor'],'destroy',()=>{_0x4be097['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3996f9=_0x2809;(function(_0x42be14,_0xb68de1){const _0x109214=_0x2809,_0x3ec177=_0x42be14();while(!![]){try{const _0x45e837=parseInt(_0x109214(0x123))/0x1+-parseInt(_0x109214(0x121))/0x2*(parseInt(_0x109214(0x125))/0x3)+-parseInt(_0x109214(0x118))/0x4*(-parseInt(_0x109214(0x126))/0x5)+-parseInt(_0x109214(0x127))/0x6*(parseInt(_0x109214(0x119))/0x7)+-parseInt(_0x109214(0x11b))/0x8*(-parseInt(_0x109214(0x130))/0x9)+-parseInt(_0x109214(0x132))/0xa+parseInt(_0x109214(0x131))/0xb;if(_0x45e837===_0xb68de1)break;else _0x3ec177['push'](_0x3ec177['shift']());}catch(_0x511abd){_0x3ec177['push'](_0x3ec177['shift']());}}}(_0x5c73,0x5e050));function _0x2809(_0x2686ef,_0x3b2916){const _0x5c73ed=_0x5c73();return _0x2809=function(_0x2809ca,_0x248247){_0x2809ca=_0x2809ca-0x118;let _0x318672=_0x5c73ed[_0x2809ca];return _0x318672;},_0x2809(_0x2686ef,_0x3b2916);}import{Command as _0xe94d83}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xe94d83{[_0x3996f9(0x11d)](){const _0x56ffaa=_0x3996f9,_0x175120=this[_0x56ffaa(0x129)][_0x56ffaa(0x128)][_0x56ffaa(0x124)][_0x56ffaa(0x122)][_0x56ffaa(0x11e)]();this[_0x56ffaa(0x11c)]=Boolean(_0x175120&&(_0x175120['is'](_0x56ffaa(0x11a),_0x56ffaa(0x12c))||_0x175120['is'](_0x56ffaa(0x11a),_0x56ffaa(0x12e))));}[_0x3996f9(0x120)](_0x22c64f){const _0x24c20a=_0x3996f9,_0x481c61=this[_0x24c20a(0x129)][_0x24c20a(0x128)][_0x24c20a(0x124)][_0x24c20a(0x122)][_0x24c20a(0x11e)]();this[_0x24c20a(0x129)][_0x24c20a(0x128)][_0x24c20a(0x12b)](_0x3cd130=>{const _0x5206b5=_0x24c20a;_0x3cd130[_0x5206b5(0x12a)](_0x22c64f,_0x481c61),_0x3cd130[_0x5206b5(0x12f)](_0x5206b5(0x11f),_0x481c61),_0x3cd130[_0x5206b5(0x12f)](_0x5206b5(0x12d),_0x481c61);});}}function _0x5c73(){const _0x28f735=['853013XzhSsV','element','16DhhBDA','isEnabled','refresh','getSelectedElement','srcset','execute','1365844jwieCT','selection','610185ihIjdO','document','3StQAXz','34145WYbyeW','12YhlCNO','model','editor','setAttributes','change','imageBlock','sizes','imageInline','removeAttribute','3196296CtkkES','2876203fKLGQf','6048230wLMxOY','196sTtHNW'];_0x5c73=function(){return _0x28f735;};return _0x5c73();}
23
+ function _0x5d20(){const _0x91b831=['sizes','refresh','element','820296TXkYws','8mhnKWi','147626yGZXXp','3729090HLeowX','12174894xVQlSm','imageBlock','removeAttribute','1005970rFihWg','28577670yxIwwm','model','selection','setAttributes','execute','35eosbSN','getSelectedElement','editor','isEnabled','change','document','srcset','3EEaBxo','imageInline','3637207vbGOVq'];_0x5d20=function(){return _0x91b831;};return _0x5d20();}const _0x21c6a3=_0x4282;(function(_0x35f752,_0x3c56b9){const _0x5748c7=_0x4282,_0x2a8a41=_0x35f752();while(!![]){try{const _0x54e60f=parseInt(_0x5748c7(0x185))/0x1+-parseInt(_0x5748c7(0x180))/0x2*(parseInt(_0x5748c7(0x192))/0x3)+-parseInt(_0x5748c7(0x17e))/0x4*(-parseInt(_0x5748c7(0x18b))/0x5)+-parseInt(_0x5748c7(0x181))/0x6+parseInt(_0x5748c7(0x194))/0x7*(parseInt(_0x5748c7(0x17f))/0x8)+parseInt(_0x5748c7(0x182))/0x9+-parseInt(_0x5748c7(0x186))/0xa;if(_0x54e60f===_0x3c56b9)break;else _0x2a8a41['push'](_0x2a8a41['shift']());}catch(_0x4bc1aa){_0x2a8a41['push'](_0x2a8a41['shift']());}}}(_0x5d20,0xb9bb8));function _0x4282(_0x287c75,_0x266bd8){const _0x5d20c8=_0x5d20();return _0x4282=function(_0x4282a3,_0x5763d7){_0x4282a3=_0x4282a3-0x17d;let _0x2e1b28=_0x5d20c8[_0x4282a3];return _0x2e1b28;},_0x4282(_0x287c75,_0x266bd8);}import{Command as _0x243581}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x243581{[_0x21c6a3(0x196)](){const _0x44aedc=_0x21c6a3,_0x42939b=this[_0x44aedc(0x18d)][_0x44aedc(0x187)][_0x44aedc(0x190)][_0x44aedc(0x188)][_0x44aedc(0x18c)]();this[_0x44aedc(0x18e)]=Boolean(_0x42939b&&(_0x42939b['is'](_0x44aedc(0x17d),_0x44aedc(0x183))||_0x42939b['is'](_0x44aedc(0x17d),_0x44aedc(0x193))));}[_0x21c6a3(0x18a)](_0x5b631a){const _0x120a6f=_0x21c6a3,_0xb781d2=this[_0x120a6f(0x18d)][_0x120a6f(0x187)][_0x120a6f(0x190)][_0x120a6f(0x188)][_0x120a6f(0x18c)]();this[_0x120a6f(0x18d)][_0x120a6f(0x187)][_0x120a6f(0x18f)](_0x5957a0=>{const _0x33f8db=_0x120a6f;_0x5957a0[_0x33f8db(0x189)](_0x5b631a,_0xb781d2),_0x5957a0[_0x33f8db(0x184)](_0x33f8db(0x191),_0xb781d2),_0x5957a0[_0x33f8db(0x184)](_0x33f8db(0x195),_0xb781d2);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4595ff=_0x59bf;function _0x1b57(){var _0x4f2649=['pluginName','1484615UOUHYg','requires','1LrwwId','22304oVaWAn','143WRFAKe','isOfficialPlugin','711886mADcoz','66YVFzuZ','750NSEnue','40808ECHkir','UploadcareImageEdit','32595XqwpfX','isPremiumPlugin','14931jTWAsf','1106wGtTKT','1779372fsNjzM','3040wVskNB'];_0x1b57=function(){return _0x4f2649;};return _0x1b57();}(function(_0x2de034,_0x3d1524){var _0x53f211=_0x59bf,_0x2edd63=_0x2de034();while(!![]){try{var _0x2734ae=-parseInt(_0x53f211(0x160))/0x1*(parseInt(_0x53f211(0x152))/0x2)+-parseInt(_0x53f211(0x153))/0x3*(-parseInt(_0x53f211(0x155))/0x4)+parseInt(_0x53f211(0x157))/0x5*(-parseInt(_0x53f211(0x154))/0x6)+parseInt(_0x53f211(0x15a))/0x7*(parseInt(_0x53f211(0x14f))/0x8)+-parseInt(_0x53f211(0x159))/0x9*(parseInt(_0x53f211(0x15c))/0xa)+-parseInt(_0x53f211(0x15e))/0xb+-parseInt(_0x53f211(0x15b))/0xc*(-parseInt(_0x53f211(0x150))/0xd);if(_0x2734ae===_0x3d1524)break;else _0x2edd63['push'](_0x2edd63['shift']());}catch(_0x2729ef){_0x2edd63['push'](_0x2edd63['shift']());}}}(_0x1b57,0x76a20));import{Plugin as _0x3662be}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1fffe6}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x59bf(_0x38b1d9,_0x346d3e){var _0x1b5749=_0x1b57();return _0x59bf=function(_0x59bfeb,_0x2a45f3){_0x59bfeb=_0x59bfeb-0x14f;var _0x42fc17=_0x1b5749[_0x59bfeb];return _0x42fc17;},_0x59bf(_0x38b1d9,_0x346d3e);}import{UploadcareImageEditUI as _0x34febf}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3662be{static get[_0x4595ff(0x15d)](){var _0x1af076=_0x4595ff;return _0x1af076(0x156);}static get[_0x4595ff(0x15f)](){return[_0x1fffe6,_0x34febf];}static get[_0x4595ff(0x151)](){return!0x0;}static get[_0x4595ff(0x158)](){return!0x0;}}
23
+ var _0x5811c1=_0x3c0e;function _0x3c0e(_0x340380,_0x59f985){var _0x1893f4=_0x1893();return _0x3c0e=function(_0x3c0e22,_0x130e04){_0x3c0e22=_0x3c0e22-0x10e;var _0x12c995=_0x1893f4[_0x3c0e22];return _0x12c995;},_0x3c0e(_0x340380,_0x59f985);}function _0x1893(){var _0x15f2b2=['pluginName','2327825vUrmeh','135998kFqHYw','7570794lcSOgK','requires','1099503hTzlGY','isOfficialPlugin','30ECvyDi','3AIscxi','1876276ijoslK','8svbYwp','isPremiumPlugin','3112361lyMYPL','8DYZMAq','UploadcareImageEdit','2029800MAOfhV'];_0x1893=function(){return _0x15f2b2;};return _0x1893();}(function(_0x3ff35e,_0x16ab65){var _0xf959a8=_0x3c0e,_0x9542a1=_0x3ff35e();while(!![]){try{var _0x32b82d=-parseInt(_0xf959a8(0x116))/0x1*(-parseInt(_0xf959a8(0x11b))/0x2)+-parseInt(_0xf959a8(0x111))/0x3*(-parseInt(_0xf959a8(0x112))/0x4)+-parseInt(_0xf959a8(0x11a))/0x5+parseInt(_0xf959a8(0x118))/0x6+parseInt(_0xf959a8(0x115))/0x7*(parseInt(_0xf959a8(0x113))/0x8)+parseInt(_0xf959a8(0x10e))/0x9*(-parseInt(_0xf959a8(0x110))/0xa)+-parseInt(_0xf959a8(0x11c))/0xb;if(_0x32b82d===_0x16ab65)break;else _0x9542a1['push'](_0x9542a1['shift']());}catch(_0x19896d){_0x9542a1['push'](_0x9542a1['shift']());}}}(_0x1893,0x434d0));import{Plugin as _0x18ccc9}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3cf0a6}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xb22f30}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x18ccc9{static get[_0x5811c1(0x119)](){var _0x5a1082=_0x5811c1;return _0x5a1082(0x117);}static get[_0x5811c1(0x11d)](){return[_0x3cf0a6,_0xb22f30];}static get[_0x5811c1(0x10f)](){return!0x0;}static get[_0x5811c1(0x114)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x351edc=_0x2f6d;(function(_0xa6b255,_0x2ef522){const _0x41ebc5=_0x2f6d,_0x359923=_0xa6b255();while(!![]){try{const _0x3c573a=parseInt(_0x41ebc5(0x12f))/0x1*(-parseInt(_0x41ebc5(0x10f))/0x2)+parseInt(_0x41ebc5(0x124))/0x3*(-parseInt(_0x41ebc5(0x13b))/0x4)+parseInt(_0x41ebc5(0x106))/0x5*(-parseInt(_0x41ebc5(0x121))/0x6)+parseInt(_0x41ebc5(0x104))/0x7*(-parseInt(_0x41ebc5(0x14f))/0x8)+parseInt(_0x41ebc5(0x13c))/0x9*(-parseInt(_0x41ebc5(0x122))/0xa)+-parseInt(_0x41ebc5(0x11b))/0xb+parseInt(_0x41ebc5(0x149))/0xc;if(_0x3c573a===_0x2ef522)break;else _0x359923['push'](_0x359923['shift']());}catch(_0x1a87f0){_0x359923['push'](_0x359923['shift']());}}}(_0x2e3d,0x4e9cc));import{Plugin as _0x49c12c}from'ckeditor5/src/core.js';import{IconDropbox as _0x1e986b,IconFacebook as _0x5b4925,IconGoogleDrive as _0x2e8143,IconGooglePhotos as _0x306337,IconUploadcareImageUpload as _0x246361,IconUploadcareLink as _0x4049e7,IconOneDrive as _0x54e870}from'ckeditor5/src/icons.js';import{ButtonView as _0x36b5b3,MenuBarMenuListItemButtonView as _0x398980}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x216d60}from'./uploadcareconfig.js';import{getTranslation as _0x1e8c74}from'./utils/common-translations.js';function _0x2f6d(_0x26745b,_0x18fa3c){const _0x2e3d5f=_0x2e3d();return _0x2f6d=function(_0x2f6d46,_0x413f95){_0x2f6d46=_0x2f6d46-0x100;let _0x5d3502=_0x2e3d5f[_0x2f6d46];return _0x5d3502;},_0x2f6d(_0x26745b,_0x18fa3c);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2e3d(){const _0x4729ad=['pluginName','6724gMZoYm','_getIntegrationKey','uploadcareLicenseKeyEvaluationLimit','Uploadcare','locale','init','licenseKey','_showLicenseError','UploadcareUI','Local','entries','ImageInsertUI','223663uzigyh','isImageSelected','get','execute','expired','_createToolbarButton','84pLsEtc','3266570yAgemj','upload','51GxyHnI','_normalizeConfigSourceList','_createMenuBarButtons','URL','reduce','usageLimit','assetManager','tooltip','_createButton','uploadcare','icon','56RAnHRo','text','Dropbox','evaluationLimit','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','domainLimit','_licenseKeyCheckInterval','forEach','GPhotos','featureNotAllowed','102164ZyyLUY','9nzlcPN','isEnabled','plugins','invalid','config','registerIntegration','commands','map','Facebook','bind','_createDropdownButtons','Insert','type','24575484VrDDvU','shortText','uploadcareLicenseKeyUsageLimit','Replace','OneDrive','uploadcare.uploader.sourceList','174992yIAprz','editor','label','isPremiumPlugin','has','uploadcareLicenseKeyInvalid','112UvJqaT','url','145185yfrDHU','withText','push','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyExpired','destroy','afterInit','GDrive'];_0x2e3d=function(){return _0x4729ad;};return _0x2e3d();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x49c12c{[_0x351edc(0x115)];[_0x351edc(0x137)];static get[_0x351edc(0x10e)](){const _0x206f61=_0x351edc;return _0x206f61(0x117);}static get[_0x351edc(0x135)](){return!0x0;}static get[_0x351edc(0x101)](){return!0x0;}[_0x351edc(0x114)](){const _0x5e8e64=_0x351edc;this[_0x5e8e64(0x115)]=this[_0x5e8e64(0x150)][_0x5e8e64(0x140)][_0x5e8e64(0x11d)](_0x5e8e64(0x115));const _0x4bf9a5=this[_0x5e8e64(0x150)];this[_0x5e8e64(0x137)]=setInterval(()=>{const _0x5b2c8b=_0x5e8e64;let _0x32c122;for(const _0x565e81 in _0x4bf9a5){const _0x5a1cbc=_0x565e81,_0x1e9578=_0x4bf9a5[_0x5a1cbc];if(_0x5b2c8b(0x133)==_0x1e9578||_0x5b2c8b(0x103)==_0x1e9578||_0x5b2c8b(0x10a)==_0x1e9578||_0x5b2c8b(0x134)==_0x1e9578||_0x5b2c8b(0x109)==_0x1e9578||_0x5b2c8b(0x111)==_0x1e9578||_0x5b2c8b(0x14b)==_0x1e9578){delete _0x4bf9a5[_0x5a1cbc],_0x32c122=_0x1e9578,clearInterval(this[_0x5b2c8b(0x137)]),this[_0x5b2c8b(0x137)]=void 0x0;break;}}_0x5b2c8b(0x103)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x13f)),_0x5b2c8b(0x10a)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x11f)),_0x5b2c8b(0x134)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x136)),_0x5b2c8b(0x109)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x13a),_0x5b2c8b(0x112)),_0x5b2c8b(0x111)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x132)),_0x5b2c8b(0x14b)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x129));},0x3e8);}[_0x351edc(0x10c)](){const _0x4d0553=_0x351edc,{editor:_0x3ffea1}=this,_0x1ba1df=_0x3ffea1[_0x4d0553(0x142)][_0x4d0553(0x11d)](_0x4d0553(0x12d));if(!_0x1ba1df)return;const _0x237eb2=this[_0x4d0553(0x125)](_0x3ffea1[_0x4d0553(0x140)][_0x4d0553(0x11d)](_0x4d0553(0x14e)))[_0x4d0553(0x128)]((_0x96f3fc,_0x4566d3)=>{const _0xd0421e=_0x4d0553,_0x52757f=this[_0xd0421e(0x110)](_0x4566d3[_0xd0421e(0x148)]);return _0x96f3fc[_0x52757f]||(_0x96f3fc[_0x52757f]=[]),_0x96f3fc[_0x52757f][_0xd0421e(0x108)](_0x4566d3),_0x96f3fc;},{});_0x3ffea1[_0x4d0553(0x13e)][_0x4d0553(0x102)](_0x4d0553(0x11a))&&_0x3ffea1[_0x4d0553(0x142)][_0x4d0553(0x11d)](_0x4d0553(0x12d))&&Object[_0x4d0553(0x119)](_0x237eb2)[_0x4d0553(0x138)](([_0x53ff5b,_0x5159c2])=>{const _0x5c52dd=_0x4d0553;_0x3ffea1[_0x5c52dd(0x13e)][_0x5c52dd(0x11d)](_0x5c52dd(0x11a))[_0x5c52dd(0x141)]({'name':_0x53ff5b,'observable':()=>_0x1ba1df,'buttonViewCreator':()=>this[_0x5c52dd(0x120)](_0x5159c2),'formViewCreator':()=>this[_0x5c52dd(0x146)](_0x5159c2),'menuBarButtonViewCreator':()=>this[_0x5c52dd(0x126)](_0x5159c2),'override':_0x5c52dd(0x12a)!==_0x53ff5b});});}[_0x351edc(0x10b)](){const _0x3d17d3=_0x351edc;super[_0x3d17d3(0x10b)](),this[_0x3d17d3(0x137)]&&clearInterval(this[_0x3d17d3(0x137)]);}[_0x351edc(0x125)](_0xb1415b){const _0x3ad80a=_0x351edc,{locale:_0x3465f1}=this[_0x3ad80a(0x150)];return _0xb1415b[_0x3ad80a(0x143)](_0xe22deb=>{const _0x99f90b=_0x3ad80a,_0x5de5d2=_0x1e8c74(_0x3465f1,_0xe22deb,_0x99f90b(0x147));switch(_0xe22deb){case _0x216d60[_0x99f90b(0x118)]:return{'icon':_0x246361,'type':_0x216d60[_0x99f90b(0x118)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x127)]:return{'icon':_0x4049e7,'type':_0x216d60[_0x99f90b(0x127)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x131)]:return{'icon':_0x1e986b,'type':_0x216d60[_0x99f90b(0x131)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x144)]:return{'icon':_0x5b4925,'type':_0x216d60[_0x99f90b(0x144)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x10d)]:return{'icon':_0x2e8143,'type':_0x216d60[_0x99f90b(0x10d)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x139)]:return{'icon':_0x306337,'type':_0x216d60[_0x99f90b(0x139)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x14d)]:return{'icon':_0x54e870,'type':_0x216d60[_0x99f90b(0x14d)],..._0x5de5d2};}});}[_0x351edc(0x110)](_0x58cbb1){const _0x2377fe=_0x351edc;switch(_0x58cbb1){case _0x216d60[_0x2377fe(0x118)]:return _0x2377fe(0x123);case _0x216d60[_0x2377fe(0x127)]:return _0x2377fe(0x105);default:return _0x2377fe(0x12a);}}[_0x351edc(0x12c)](_0x451ff7,_0x3468e4){const _0x19d710=_0x351edc,_0x13ecfe=this[_0x19d710(0x150)],_0xfddf2a=new _0x451ff7(_0x13ecfe[_0x19d710(0x113)]),_0x5bc958=_0x13ecfe[_0x19d710(0x142)][_0x19d710(0x11d)](_0x19d710(0x12d));return _0xfddf2a[_0x19d710(0x145)](_0x19d710(0x13d))['to'](_0x5bc958),_0xfddf2a['on'](_0x19d710(0x11e),()=>{const _0x1407e4=_0x19d710;_0x5bc958[_0x1407e4(0x11e)](_0x3468e4);}),_0xfddf2a;}[_0x351edc(0x120)](_0x5ab642){const _0x31cb95=_0x351edc,{locale:_0x43b911}=this[_0x31cb95(0x150)],_0x107322=this[_0x31cb95(0x150)][_0x31cb95(0x13e)][_0x31cb95(0x11d)](_0x31cb95(0x11a)),_0x3f49c0=_0x5ab642[0x0],_0x268f32=this[_0x31cb95(0x12c)](_0x36b5b3,_0x3f49c0[_0x31cb95(0x148)]);return _0x268f32[_0x31cb95(0x12e)]=_0x3f49c0[_0x31cb95(0x12e)],_0x268f32[_0x31cb95(0x145)](_0x31cb95(0x100))['to'](_0x107322,_0x31cb95(0x11c),_0x5f3ac7=>_0x1e8c74(_0x43b911,_0x3f49c0[_0x31cb95(0x148)],_0x5f3ac7?_0x31cb95(0x14c):_0x31cb95(0x147))[_0x31cb95(0x130)]),_0x268f32[_0x31cb95(0x12b)]=!0x0,_0x268f32;}[_0x351edc(0x146)](_0x1b138a){const _0x3a6afb=_0x351edc,{locale:_0x5748f7}=this[_0x3a6afb(0x150)],_0x274094=this[_0x3a6afb(0x150)][_0x3a6afb(0x13e)][_0x3a6afb(0x11d)](_0x3a6afb(0x11a));return _0x1b138a[_0x3a6afb(0x143)](_0x56526e=>{const _0x2c5cab=_0x3a6afb,_0x489c56=this[_0x2c5cab(0x12c)](_0x36b5b3,_0x56526e[_0x2c5cab(0x148)]);return _0x489c56[_0x2c5cab(0x107)]=!0x0,_0x489c56[_0x2c5cab(0x12e)]=_0x56526e[_0x2c5cab(0x12e)],_0x489c56[_0x2c5cab(0x145)](_0x2c5cab(0x100))['to'](_0x274094,_0x2c5cab(0x11c),_0xf15d03=>_0x1e8c74(_0x5748f7,_0x56526e[_0x2c5cab(0x148)],_0xf15d03?_0x2c5cab(0x14c):_0x2c5cab(0x147))[_0x2c5cab(0x130)]),_0x489c56;});}[_0x351edc(0x126)](_0x26c05e){const _0x23062d=_0x351edc;return _0x26c05e[_0x23062d(0x143)](_0x19dde5=>{const _0x1882ef=_0x23062d,_0x2cec4e=this[_0x1882ef(0x12c)](_0x398980,_0x19dde5[_0x1882ef(0x148)]);return _0x2cec4e[_0x1882ef(0x12e)]=_0x19dde5[_0x1882ef(0x12e)],_0x2cec4e[_0x1882ef(0x100)]=_0x19dde5[_0x1882ef(0x14a)],_0x2cec4e;});}}
23
+ const _0x2eb5c6=_0x836c;function _0x836c(_0x3fc782,_0x5d8223){const _0x15da61=_0x15da();return _0x836c=function(_0x836cea,_0x12a9f2){_0x836cea=_0x836cea-0x177;let _0x2f6cd5=_0x15da61[_0x836cea];return _0x2f6cd5;},_0x836c(_0x3fc782,_0x5d8223);}(function(_0x5ad1a0,_0x2052ed){const _0xc4ec10=_0x836c,_0x56ffef=_0x5ad1a0();while(!![]){try{const _0x2e77b1=parseInt(_0xc4ec10(0x179))/0x1+parseInt(_0xc4ec10(0x1b3))/0x2*(-parseInt(_0xc4ec10(0x1b1))/0x3)+parseInt(_0xc4ec10(0x184))/0x4+-parseInt(_0xc4ec10(0x199))/0x5*(-parseInt(_0xc4ec10(0x1a1))/0x6)+parseInt(_0xc4ec10(0x1b9))/0x7*(-parseInt(_0xc4ec10(0x18e))/0x8)+parseInt(_0xc4ec10(0x1ba))/0x9+parseInt(_0xc4ec10(0x188))/0xa;if(_0x2e77b1===_0x2052ed)break;else _0x56ffef['push'](_0x56ffef['shift']());}catch(_0x4f8e47){_0x56ffef['push'](_0x56ffef['shift']());}}}(_0x15da,0x998b2));import{Plugin as _0xe4ebbe}from'ckeditor5/src/core.js';import{IconDropbox as _0x54e683,IconFacebook as _0x1d5dcc,IconGoogleDrive as _0x13d26c,IconGooglePhotos as _0x127d71,IconUploadcareImageUpload as _0x287350,IconUploadcareLink as _0x3d6311,IconOneDrive as _0x3c98a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x412518,MenuBarMenuListItemButtonView as _0x194739}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x25c8c2}from'./uploadcareconfig.js';import{getTranslation as _0xfe9070}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xe4ebbe{[_0x2eb5c6(0x17d)];[_0x2eb5c6(0x186)];static get[_0x2eb5c6(0x181)](){const _0x2341d5=_0x2eb5c6;return _0x2341d5(0x196);}static get[_0x2eb5c6(0x187)](){return!0x0;}static get[_0x2eb5c6(0x1a2)](){return!0x0;}[_0x2eb5c6(0x178)](){const _0x21bbf5=_0x2eb5c6;this[_0x21bbf5(0x17d)]=this[_0x21bbf5(0x1a0)][_0x21bbf5(0x198)][_0x21bbf5(0x1a5)](_0x21bbf5(0x17d));const _0x1b5fb6=this[_0x21bbf5(0x1a0)];this[_0x21bbf5(0x186)]=setInterval(()=>{const _0x71a351=_0x21bbf5;let _0x223abd;for(const _0x2fec80 in _0x1b5fb6){const _0x298f11=_0x2fec80,_0xd251e8=_0x1b5fb6[_0x298f11];if(_0x71a351(0x183)==_0xd251e8||_0x71a351(0x192)==_0xd251e8||_0x71a351(0x1c1)==_0xd251e8||_0x71a351(0x1b8)==_0xd251e8||_0x71a351(0x1c5)==_0xd251e8||_0x71a351(0x191)==_0xd251e8||_0x71a351(0x17c)==_0xd251e8){delete _0x1b5fb6[_0x298f11],_0x223abd=_0xd251e8,clearInterval(this[_0x71a351(0x186)]),this[_0x71a351(0x186)]=void 0x0;break;}}_0x71a351(0x192)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x193)),_0x71a351(0x1c1)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x19f)),_0x71a351(0x1b8)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x194)),_0x71a351(0x1c5)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x1ad),_0x71a351(0x1b2)),_0x71a351(0x191)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x1aa)),_0x71a351(0x17c)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x17a));},0x3e8);}[_0x2eb5c6(0x1b5)](){const _0x10ec27=_0x2eb5c6,{editor:_0x2b49b9}=this,_0x33ee29=_0x2b49b9[_0x10ec27(0x1b0)][_0x10ec27(0x1a5)](_0x10ec27(0x195));if(!_0x33ee29)return;const _0xbe81dc=this[_0x10ec27(0x190)](_0x2b49b9[_0x10ec27(0x198)][_0x10ec27(0x1a5)](_0x10ec27(0x1ae)))[_0x10ec27(0x1a6)]((_0x3d7913,_0x5a4c13)=>{const _0x463d72=_0x10ec27,_0x3ffe11=this[_0x463d72(0x19c)](_0x5a4c13[_0x463d72(0x1c4)]);return _0x3d7913[_0x3ffe11]||(_0x3d7913[_0x3ffe11]=[]),_0x3d7913[_0x3ffe11][_0x463d72(0x1c2)](_0x5a4c13),_0x3d7913;},{});_0x2b49b9[_0x10ec27(0x1af)][_0x10ec27(0x19b)](_0x10ec27(0x18f))&&_0x2b49b9[_0x10ec27(0x1b0)][_0x10ec27(0x1a5)](_0x10ec27(0x195))&&Object[_0x10ec27(0x1c3)](_0xbe81dc)[_0x10ec27(0x1bc)](([_0x392cd8,_0x4e5d03])=>{const _0x5ec983=_0x10ec27;_0x2b49b9[_0x5ec983(0x1af)][_0x5ec983(0x1a5)](_0x5ec983(0x18f))[_0x5ec983(0x180)]({'name':_0x392cd8,'observable':()=>_0x33ee29,'buttonViewCreator':()=>this[_0x5ec983(0x1be)](_0x4e5d03),'formViewCreator':()=>this[_0x5ec983(0x17b)](_0x4e5d03),'menuBarButtonViewCreator':()=>this[_0x5ec983(0x19d)](_0x4e5d03),'override':_0x5ec983(0x1a8)!==_0x392cd8});});}[_0x2eb5c6(0x1bf)](){const _0x3d6a2f=_0x2eb5c6;super[_0x3d6a2f(0x1bf)](),this[_0x3d6a2f(0x186)]&&clearInterval(this[_0x3d6a2f(0x186)]);}[_0x2eb5c6(0x190)](_0x5d7b0f){const _0xffe7b9=_0x2eb5c6,{locale:_0x5f3986}=this[_0xffe7b9(0x1a0)];return _0x5d7b0f[_0xffe7b9(0x177)](_0x52e28f=>{const _0x30f93e=_0xffe7b9,_0x90d87f=_0xfe9070(_0x5f3986,_0x52e28f,_0x30f93e(0x1b6));switch(_0x52e28f){case _0x25c8c2[_0x30f93e(0x189)]:return{'icon':_0x287350,'type':_0x25c8c2[_0x30f93e(0x189)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x185)]:return{'icon':_0x3d6311,'type':_0x25c8c2[_0x30f93e(0x185)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x182)]:return{'icon':_0x54e683,'type':_0x25c8c2[_0x30f93e(0x182)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x18c)]:return{'icon':_0x1d5dcc,'type':_0x25c8c2[_0x30f93e(0x18c)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x18b)]:return{'icon':_0x13d26c,'type':_0x25c8c2[_0x30f93e(0x18b)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x18a)]:return{'icon':_0x127d71,'type':_0x25c8c2[_0x30f93e(0x18a)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x1a3)]:return{'icon':_0x3c98a2,'type':_0x25c8c2[_0x30f93e(0x1a3)],..._0x90d87f};}});}[_0x2eb5c6(0x19c)](_0x4b3f2d){const _0x3b177a=_0x2eb5c6;switch(_0x4b3f2d){case _0x25c8c2[_0x3b177a(0x189)]:return _0x3b177a(0x197);case _0x25c8c2[_0x3b177a(0x185)]:return _0x3b177a(0x1a4);default:return _0x3b177a(0x1a8);}}[_0x2eb5c6(0x1a9)](_0x3743df,_0x28e79c){const _0x8e365=_0x2eb5c6,_0x29eace=this[_0x8e365(0x1a0)],_0x276e0c=new _0x3743df(_0x29eace[_0x8e365(0x19a)]),_0x4fa0a3=_0x29eace[_0x8e365(0x1b0)][_0x8e365(0x1a5)](_0x8e365(0x195));return _0x276e0c[_0x8e365(0x1b4)](_0x8e365(0x1ac))['to'](_0x4fa0a3),_0x276e0c['on'](_0x8e365(0x1bb),()=>{const _0xb38e88=_0x8e365;_0x4fa0a3[_0xb38e88(0x1bb)](_0x28e79c);}),_0x276e0c;}[_0x2eb5c6(0x1be)](_0x4a6a57){const _0xf7e862=_0x2eb5c6,{locale:_0x34c69c}=this[_0xf7e862(0x1a0)],_0x1777f5=this[_0xf7e862(0x1a0)][_0xf7e862(0x1af)][_0xf7e862(0x1a5)](_0xf7e862(0x18f)),_0x474f81=_0x4a6a57[0x0],_0x916f03=this[_0xf7e862(0x1a9)](_0x412518,_0x474f81[_0xf7e862(0x1c4)]);return _0x916f03[_0xf7e862(0x1ab)]=_0x474f81[_0xf7e862(0x1ab)],_0x916f03[_0xf7e862(0x1b4)](_0xf7e862(0x1bd))['to'](_0x1777f5,_0xf7e862(0x19e),_0x15f387=>_0xfe9070(_0x34c69c,_0x474f81[_0xf7e862(0x1c4)],_0x15f387?_0xf7e862(0x1c0):_0xf7e862(0x1b6))[_0xf7e862(0x1b7)]),_0x916f03[_0xf7e862(0x17f)]=!0x0,_0x916f03;}[_0x2eb5c6(0x17b)](_0x36c277){const _0x3799f7=_0x2eb5c6,{locale:_0x5abc1c}=this[_0x3799f7(0x1a0)],_0x39b2dd=this[_0x3799f7(0x1a0)][_0x3799f7(0x1af)][_0x3799f7(0x1a5)](_0x3799f7(0x18f));return _0x36c277[_0x3799f7(0x177)](_0x688326=>{const _0x49efca=_0x3799f7,_0x45df13=this[_0x49efca(0x1a9)](_0x412518,_0x688326[_0x49efca(0x1c4)]);return _0x45df13[_0x49efca(0x18d)]=!0x0,_0x45df13[_0x49efca(0x1ab)]=_0x688326[_0x49efca(0x1ab)],_0x45df13[_0x49efca(0x1b4)](_0x49efca(0x1bd))['to'](_0x39b2dd,_0x49efca(0x19e),_0x51383a=>_0xfe9070(_0x5abc1c,_0x688326[_0x49efca(0x1c4)],_0x51383a?_0x49efca(0x1c0):_0x49efca(0x1b6))[_0x49efca(0x1b7)]),_0x45df13;});}[_0x2eb5c6(0x19d)](_0x477878){const _0x20d085=_0x2eb5c6;return _0x477878[_0x20d085(0x177)](_0xb72012=>{const _0x26cfa5=_0x20d085,_0x5106cd=this[_0x26cfa5(0x1a9)](_0x194739,_0xb72012[_0x26cfa5(0x1c4)]);return _0x5106cd[_0x26cfa5(0x1ab)]=_0xb72012[_0x26cfa5(0x1ab)],_0x5106cd[_0x26cfa5(0x1bd)]=_0xb72012[_0x26cfa5(0x1a7)],_0x5106cd;});}}function _0x15da(){const _0x5d1302=['shortText','assetManager','_createButton','evaluationLimit','icon','isEnabled','featureNotAllowed','uploadcare.uploader.sourceList','plugins','commands','3ufQkte','Uploadcare','2263198UWRwMA','bind','afterInit','Insert','text','uploadcareLicenseKeyDomainLimit','7IBAVpb','11215062ryTmFv','execute','forEach','label','_createToolbarButton','destroy','Replace','uploadcareLicenseKeyExpired','push','entries','type','uploadcareLicenseKeyNotAllowed','map','init','271555fDgCoR','usageLimit','_createDropdownButtons','uploadcareLicenseKeyUsageLimit','licenseKey','_showLicenseError','tooltip','registerIntegration','pluginName','Dropbox','uploadcareLicenseKeyValid','5032pRjrIs','URL','_licenseKeyCheckInterval','isOfficialPlugin','2365690hcfxDB','Local','GPhotos','GDrive','Facebook','withText','7308472cCoDsq','ImageInsertUI','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyInvalid','invalid','domainLimit','uploadcare','UploadcareUI','upload','config','1310ahvmND','locale','has','_getIntegrationKey','_createMenuBarButtons','isImageSelected','expired','editor','21036lqoOTg','isPremiumPlugin','OneDrive','url','get','reduce'];_0x15da=function(){return _0x5d1302;};return _0x15da();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x36d103}from'ckeditor5/src/core.js';import{FileRepository as _0x1ec9e7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4acc81}from'./uploadcareediting.js';import{UploadUtils as _0x1dce1c}from'./utils/uploadutils.js';import{getImageUrls as _0x1e4451}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x36d103{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ec9e7,_0x4acc81];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x31b768=this['editor'];if(!!!_0x31b768['config']['get']('uploadcare'))return;_0x31b768['plugins']['get'](_0x1ec9e7)['createUploadAdapter']=_0x32a4f7=>new k(_0x32a4f7,_0x31b768),_0x31b768['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3f47a1,{imageElement:_0x22fdf0,data:_0x3c1dfd})=>{_0x31b768['model']['change'](_0x2bfb07=>{_0x2bfb07['setAttribute']('uploadcareImageId',_0x3c1dfd['uploadcareImageId'],_0x22fdf0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xa1516f,_0x191714){this['loader']=_0xa1516f,this['editor']=_0x191714,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x49665f=await this['loader']['file'];return _0x1dce1c['upload']({'file':_0x49665f,'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':_0x419351=>{_0x419351&&_0x419351['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x419351['value']);}})['then'](async _0x246aeb=>{const {imageFallbackUrl:_0x199841,imageSources:_0x27f797}=_0x1e4451(_0x246aeb['cdnUrl'],_0x246aeb['imageInfo']['width']);return{'uploadcareImageId':_0x246aeb['uuid'],'default':_0x199841,'sources':_0x27f797};})['catch'](()=>{const _0x1f4a66=t('Cannot\x20upload\x20file:')+('\x20'+_0x49665f['name']+'.');return Promise['reject'](_0x1f4a66);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5256ac}from'ckeditor5/src/core.js';import{FileRepository as _0x4eafd2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x29a654}from'./uploadcareediting.js';import{UploadUtils as _0x12163b}from'./utils/uploadutils.js';import{getImageUrls as _0x52dc70}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5256ac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4eafd2,_0x29a654];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xdc0df7=this['editor'];if(!!!_0xdc0df7['config']['get']('uploadcare'))return;_0xdc0df7['plugins']['get'](_0x4eafd2)['createUploadAdapter']=_0x15b42c=>new k(_0x15b42c,_0xdc0df7),_0xdc0df7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x458820,{imageElement:_0x13e978,data:_0x3d5e2d})=>{_0xdc0df7['model']['change'](_0x354d11=>{_0x354d11['setAttribute']('uploadcareImageId',_0x3d5e2d['uploadcareImageId'],_0x13e978);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x39e71c,_0x409b38){this['loader']=_0x39e71c,this['editor']=_0x409b38,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1b2e0a=await this['loader']['file'];return _0x12163b['upload']({'file':_0x1b2e0a,'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':_0x54087c=>{_0x54087c&&_0x54087c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x54087c['value']);}})['then'](async _0x2f1b89=>{const {imageFallbackUrl:_0x4607c5,imageSources:_0x161db5}=_0x52dc70(_0x2f1b89['cdnUrl'],_0x2f1b89['imageInfo']['width']);return{'uploadcareImageId':_0x2f1b89['uuid'],'default':_0x4607c5,'sources':_0x161db5};})['catch'](()=>{const _0x2b8bcd=t('Cannot\x20upload\x20file:')+('\x20'+_0x1b2e0a['name']+'.');return Promise['reject'](_0x2b8bcd);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x4950ea}from'../uploadcareconfig.js';export function getTranslation(_0x433279,_0xca4f92,_0x12f28a){const t=_0x433279['t'],_0x1bb88f=_0x433279['t'];switch(_0xca4f92){case _0x4950ea['Local']:return{'text':_0x1bb88f('Insert'===_0x12f28a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1bb88f('From\x20computer')};case _0x4950ea['URL']:return{'text':'Insert'===_0x12f28a?_0x1bb88f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1bb88f('Via\x20URL')};case _0x4950ea['Dropbox']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4950ea['Facebook']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4950ea['GDrive']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4950ea['GPhotos']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4950ea['OneDrive']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xca4f92;}}
23
+ import{UploadcareSource as _0xb7d798}from'../uploadcareconfig.js';export function getTranslation(_0x5eeb6e,_0x585827,_0x16546d){const t=_0x5eeb6e['t'],_0x5bdcc0=_0x5eeb6e['t'];switch(_0x585827){case _0xb7d798['Local']:return{'text':_0x5bdcc0('Insert'===_0x16546d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5bdcc0('From\x20computer')};case _0xb7d798['URL']:return{'text':'Insert'===_0x16546d?_0x5bdcc0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5bdcc0('Via\x20URL')};case _0xb7d798['Dropbox']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xb7d798['Facebook']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xb7d798['GDrive']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xb7d798['GPhotos']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xb7d798['OneDrive']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x585827;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x16a332=_0x1a75;(function(_0x53aaa9,_0x5b21da){var _0x4b6517=_0x1a75,_0x24f059=_0x53aaa9();while(!![]){try{var _0x1c6684=parseInt(_0x4b6517(0x6f))/0x1+-parseInt(_0x4b6517(0x75))/0x2+-parseInt(_0x4b6517(0x7a))/0x3+parseInt(_0x4b6517(0x79))/0x4+-parseInt(_0x4b6517(0x76))/0x5+parseInt(_0x4b6517(0x6d))/0x6*(parseInt(_0x4b6517(0x69))/0x7)+parseInt(_0x4b6517(0x6e))/0x8*(parseInt(_0x4b6517(0x6a))/0x9);if(_0x1c6684===_0x5b21da)break;else _0x24f059['push'](_0x24f059['shift']());}catch(_0xc759e4){_0x24f059['push'](_0x24f059['shift']());}}}(_0x2591,0x940db));import{FocusTracker as _0x162308}from'ckeditor5/src/utils.js';function _0x2591(){var _0x270d73=['72ZXbnqS','972854PcEALZ','bindTemplate','true','createCollection','forwardCycle','focusTracker','1036656eRulmS','5927350DpaHKf','fire','getFocusableElement','4650952KmdIxP','2261496jCsPnm','4561186ADrWZM','276867heSNuO','focusCycler','div','6UIhcUp'];_0x2591=function(){return _0x270d73;};return _0x2591();}import{View as _0x14a953,FocusCycler as _0x53dd40}from'ckeditor5/src/ui.js';function _0x1a75(_0x2a2edc,_0x1e359d){var _0x25913a=_0x2591();return _0x1a75=function(_0x1a75a9,_0x28287f){_0x1a75a9=_0x1a75a9-0x69;var _0x52d5e7=_0x25913a[_0x1a75a9];return _0x52d5e7;},_0x1a75(_0x2a2edc,_0x1e359d);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x14a953{[_0x16a332(0x74)];[_0x16a332(0x6b)];constructor(_0xb17805){var _0x57d4b7=_0x16a332;super(_0xb17805),this[_0x57d4b7(0x74)]=new _0x162308(),this[_0x57d4b7(0x6b)]=new _0x53dd40({'focusables':this[_0x57d4b7(0x72)](),'focusTracker':this[_0x57d4b7(0x74)]});}[_0x16a332(0x78)](){var _0x59d47a=_0x16a332;return{'tag':_0x59d47a(0x6c),'attributes':{'aria-hidden':_0x59d47a(0x71),'tabindex':'0'},'on':{'focus':this[_0x59d47a(0x70)]['to'](()=>{var _0x1fe2b1=_0x59d47a;this[_0x1fe2b1(0x6b)][_0x1fe2b1(0x77)](_0x1fe2b1(0x73));})}};}}
23
+ function _0x4742(_0x40ec30,_0x26471e){var _0x204de3=_0x204d();return _0x4742=function(_0x4742fe,_0x43b20b){_0x4742fe=_0x4742fe-0x17b;var _0x204aaf=_0x204de3[_0x4742fe];return _0x204aaf;},_0x4742(_0x40ec30,_0x26471e);}var _0x2802a4=_0x4742;(function(_0x33fdc4,_0xe24818){var _0x1851b6=_0x4742,_0x530320=_0x33fdc4();while(!![]){try{var _0x39028e=-parseInt(_0x1851b6(0x18d))/0x1*(parseInt(_0x1851b6(0x186))/0x2)+parseInt(_0x1851b6(0x17f))/0x3+-parseInt(_0x1851b6(0x17e))/0x4*(parseInt(_0x1851b6(0x182))/0x5)+-parseInt(_0x1851b6(0x18a))/0x6*(parseInt(_0x1851b6(0x18e))/0x7)+parseInt(_0x1851b6(0x180))/0x8+parseInt(_0x1851b6(0x17d))/0x9*(-parseInt(_0x1851b6(0x187))/0xa)+parseInt(_0x1851b6(0x188))/0xb*(parseInt(_0x1851b6(0x189))/0xc);if(_0x39028e===_0xe24818)break;else _0x530320['push'](_0x530320['shift']());}catch(_0x1450f5){_0x530320['push'](_0x530320['shift']());}}}(_0x204d,0xa14a2));import{FocusTracker as _0x15f322}from'ckeditor5/src/utils.js';function _0x204d(){var _0x3753c2=['createCollection','getFocusableElement','186038HXJyit','360941rUQYWM','focusCycler','true','focusTracker','81603rTLNMq','213488VMhjvf','1823661Nsnvfy','7623872dyXFrW','fire','35XviMTx','bindTemplate','forwardCycle','div','6mHQSEc','320mWotCn','11qrkifl','7572132GCcZEY','36LulEQT'];_0x204d=function(){return _0x3753c2;};return _0x204d();}import{View as _0x3af5bd,FocusCycler as _0x1baf71}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3af5bd{[_0x2802a4(0x17c)];[_0x2802a4(0x18f)];constructor(_0x2e02aa){var _0x24ebb7=_0x2802a4;super(_0x2e02aa),this[_0x24ebb7(0x17c)]=new _0x15f322(),this[_0x24ebb7(0x18f)]=new _0x1baf71({'focusables':this[_0x24ebb7(0x18b)](),'focusTracker':this[_0x24ebb7(0x17c)]});}[_0x2802a4(0x18c)](){var _0x1bd4a3=_0x2802a4;return{'tag':_0x1bd4a3(0x185),'attributes':{'aria-hidden':_0x1bd4a3(0x17b),'tabindex':'0'},'on':{'focus':this[_0x1bd4a3(0x183)]['to'](()=>{var _0x274cb6=_0x1bd4a3;this[_0x274cb6(0x18f)][_0x274cb6(0x181)](_0x274cb6(0x184));})}};}}