@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.7 → 44.2.0-alpha.8

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 (172) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.d.ts +2 -2
  154. package/src/uploadcareconfig.js +1 -1
  155. package/src/uploadcareediting.js +1 -1
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  165. package/src/uploadcareimageedit.js +1 -1
  166. package/src/uploadcareui.js +1 -1
  167. package/src/uploadcareuploadadapter.js +1 -1
  168. package/src/utils/common-translations.js +1 -1
  169. package/src/utils/dialogfocusmanagerview.js +1 -1
  170. package/src/utils/editingutils.js +1 -1
  171. package/src/utils/isancestor.js +1 -1
  172. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3d3f(_0x3bb35a,_0x4460d2){const _0xb89c4a=_0xb89c();return _0x3d3f=function(_0x3d3fb4,_0x67abeb){_0x3d3fb4=_0x3d3fb4-0x104;let _0x39ea20=_0xb89c4a[_0x3d3fb4];return _0x39ea20;},_0x3d3f(_0x3bb35a,_0x4460d2);}const _0x1645e5=_0x3d3f;(function(_0x4c6445,_0x483e90){const _0x29de9d=_0x3d3f,_0x1059e=_0x4c6445();while(!![]){try{const _0x4f3fe9=-parseInt(_0x29de9d(0x107))/0x1+parseInt(_0x29de9d(0x12c))/0x2*(parseInt(_0x29de9d(0x10d))/0x3)+parseInt(_0x29de9d(0x136))/0x4+parseInt(_0x29de9d(0x10f))/0x5*(parseInt(_0x29de9d(0x133))/0x6)+-parseInt(_0x29de9d(0x140))/0x7*(parseInt(_0x29de9d(0x104))/0x8)+-parseInt(_0x29de9d(0x123))/0x9*(-parseInt(_0x29de9d(0x14e))/0xa)+parseInt(_0x29de9d(0x127))/0xb;if(_0x4f3fe9===_0x483e90)break;else _0x1059e['push'](_0x1059e['shift']());}catch(_0xa83ed0){_0x1059e['push'](_0x1059e['shift']());}}}(_0xb89c,0x352a6));import{Plugin as _0x21d9fe}from'ckeditor5/src/core.js';function _0xb89c(){const _0x44db10=['requires','getSelectedElement','replaceImageSource','130545QyaVPY','ctxElement','UploadcareEditing','uc-config','1963357MbrGpM','config','contentLanguage','model','remove','10566QbOqbj','configElement','isRegistered','for','insertImage','attributeToAttribute','body','1806sOITZb','_initImageProcessingIndicator','uploadcare','526644FgXVev','once','true','extend','map','iconHrefResolver','removeAttribute','closeMax','uploader','cleanupImage','1498vZDYXs','editing','imageBlock','view','conversion','render','_initConfig','getAttribute','uploadcareImageId','destroy','_ctxElement','PictureEditing','downcast','listenTo','50eJaOUc','document','_initCtx','elementToAttribute','uploadcare.pubkey','appendChild','commands','input[uploadcare-file-input]','isPremiumPlugin','selection','\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','2696wCmzqE','isOfficialPlugin','pluginName','230189ryyAEe','upcast','locale','add','afterInit','_configElement','57YkPgTZ','querySelector','615AxbOsO','execute','uc-upload-ctx-provider','uploadcare.uploader','init','imageInline','fromCharCode','#uc-icon-arrow-down','href','get','_initSchema','_initConversion','schema','data-uc-image-id','uploadcareImageReplace','join','editor'];_0xb89c=function(){return _0x44db10;};return _0xb89c();}import{Dialog as _0xd98758}from'ckeditor5/src/ui.js';import{createElement as _0x436503,global as _0x12bae9,uid as _0x380a74}from'ckeditor5/src/utils.js';import _0x5bbcc4 from'./uploadcarecommand.js';import _0x5c4b6a from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5f53f5}from'./utils/editingutils.js';export default class i extends _0x21d9fe{constructor(){const _0x6336d7=_0x3d3f;super(...arguments),this[_0x6336d7(0x10c)]=null,this[_0x6336d7(0x14a)]=null;}static get[_0x1645e5(0x106)](){const _0x4732de=_0x1645e5;return _0x4732de(0x125);}static get[_0x1645e5(0x120)](){const _0x176964=_0x1645e5;return[_0x176964(0x14b),_0x5c4b6a,_0xd98758];}static get[_0x1645e5(0x105)](){return!0x0;}static get[_0x1645e5(0x156)](){return!0x0;}get[_0x1645e5(0x12d)](){const _0x40a4f1=_0x1645e5;return this[_0x40a4f1(0x10c)];}get[_0x1645e5(0x124)](){const _0x1adf67=_0x1645e5;return this[_0x1adf67(0x14a)];}[_0x1645e5(0x113)](){const _0x2ff0ae=_0x1645e5,_0x4bd4e7=this[_0x2ff0ae(0x11f)];_0x4bd4e7[_0x2ff0ae(0x154)][_0x2ff0ae(0x10a)](_0x2ff0ae(0x135),new _0x5bbcc4(_0x4bd4e7));}[_0x1645e5(0x10b)](){const _0x401448=_0x1645e5;this[_0x401448(0x119)](),this[_0x401448(0x11a)](),this[_0x401448(0x146)](),this[_0x401448(0x150)](),this[_0x401448(0x134)](),this[_0x401448(0x14d)](this[_0x401448(0x11f)],_0x401448(0x149),()=>{const _0x2a75e8=_0x401448;this[_0x2a75e8(0x10c)]&&(this[_0x2a75e8(0x10c)][_0x2a75e8(0x12b)](),this[_0x2a75e8(0x10c)]=null),this[_0x2a75e8(0x14a)]&&(this[_0x2a75e8(0x14a)][_0x2a75e8(0x12b)](),this[_0x2a75e8(0x14a)]=null);const _0x4a0cbf=_0x12bae9[_0x2a75e8(0x14f)][_0x2a75e8(0x10e)](_0x2a75e8(0x155));_0x4a0cbf&&_0x4a0cbf[_0x2a75e8(0x12b)]();}),async function(_0x3f4216){const _0x2418b0=_0x1b0cd2([0x55,0x37,0x32,0x54,0x72,0x41,0x44,0x33,0x79,0x53,0x78,0x48,0x4c,0x6b,0x64,0x6f,0x68,0x4f,0x36,0x50,0x39,0x69,0x56,0x51,0x5a,0x6d,0x42,0x49,0x6c,0x77,0x4d,0x71,0x73,0x4e,0x7a,0x34,0x67,0x74,0x4b,0x76,0x38,0x62,0x6e,0x75,0x35,0x70,0x46,0x6a,0x65,0x66,0x61,0x58,0x4a,0x30,0x57,0x59,0x31,0x63,0x47,0x43,0x45,0x52]),_0x5224b4=0x51d5e13e,_0x119b09=0x51d2bfb6^_0x5224b4,_0x18a6bf=window[_0x1b0cd2([0x44,0x61,0x74,0x65])][_0x1b0cd2([0x6e,0x6f,0x77])](),_0x5bb77f=_0x3f4216[_0x1b0cd2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b9709=new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53c55f=>{_0x5bb77f[_0x1b0cd2([0x6f,0x6e,0x63,0x65])](_0x1b0cd2([0x72,0x65,0x61,0x64,0x79]),_0x53c55f);}),_0x30ffec={[_0x1b0cd2([0x6b,0x74,0x79])]:_0x1b0cd2([0x45,0x43]),[_0x1b0cd2([0x75,0x73,0x65])]:_0x1b0cd2([0x73,0x69,0x67]),[_0x1b0cd2([0x63,0x72,0x76])]:_0x1b0cd2([0x50,0x2d,0x32,0x35,0x36]),[_0x1b0cd2([0x78])]:_0x1b0cd2([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]),[_0x1b0cd2([0x79])]:_0x1b0cd2([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]),[_0x1b0cd2([0x61,0x6c,0x67])]:_0x1b0cd2([0x45,0x53,0x32,0x35,0x36])},_0xb61a48=_0x5bb77f[_0x1b0cd2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b0cd2([0x67,0x65,0x74])](_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59f9dc(){let _0x513747,_0xb6e0f2=null,_0x50c1f1=null;try{if(_0xb61a48==_0x1b0cd2([0x47,0x50,0x4c]))return _0x1b0cd2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x513747=_0x1b3043(),!_0x513747)return _0x1b0cd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x513747[_0x1b0cd2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50c1f1=_0x450900(_0x513747[_0x1b0cd2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x513747[_0x1b0cd2([0x6a,0x74,0x69])])),await _0x59ee98()?_0x15e5a5()?_0x59bb53()?_0x1b0cd2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fab0b()?(_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b0cd2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb6e0f2=_0x1de767(_0x1b0cd2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b0cd2([0x74,0x72,0x69,0x61,0x6c])&&(_0xb6e0f2=_0x1de767(_0x1b0cd2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x465dab()):_0x1b0cd2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b0cd2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b0cd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5c5d4c){return _0x1b0cd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59bb53(){const _0x7d65df=[_0x1b0cd2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b0cd2([0x74,0x72,0x69,0x61,0x6c])][_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18a6bf/0x3e8:0xe10*_0x119b09;return _0x513747[_0x1b0cd2([0x65,0x78,0x70])]<_0x7d65df;}function _0x15e5a5(){const _0x26807f=_0x513747[_0x1b0cd2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26807f&&(!!_0x26807f[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0cd2([0x2a]))||!!_0x26807f[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0cd2([0x55,0x50,0x4c,0x43])));}function _0x3fab0b(){const _0x4d75ff=_0x3d3f,_0x510ebd=_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x510ebd||0x0==_0x510ebd[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3079db}=new URL(window[_0x1b0cd2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d75ff(0x117)]);if(_0x510ebd[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3079db))return!0x0;const _0x7e276d=_0x3079db[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e]));return _0x510ebd[_0x1b0cd2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bce3a=>_0x2bce3a[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0cd2([0x2a])))[_0x1b0cd2([0x6d,0x61,0x70])](_0x1becb1=>_0x1becb1[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e])))[_0x1b0cd2([0x73,0x6f,0x6d,0x65])](_0x594905=>_0x7e276d[_0x1b0cd2([0x65,0x76,0x65,0x72,0x79])]((_0x5c3205,_0x12eb68)=>_0x594905[_0x12eb68]===_0x5c3205||_0x594905[_0x12eb68]===_0x1b0cd2([0x2a])));}function _0x465dab(){return _0xb6e0f2&&_0x50c1f1?new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33a660,_0x1977cd)=>{_0xb6e0f2[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x33a660,_0x1977cd),_0x50c1f1[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x4a8240=>{_0x4a8240!=_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64])&&_0x33a660(_0x4a8240);},_0x1977cd);}):_0xb6e0f2||_0x50c1f1||_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x450900(_0x3ddcf7,_0x2993bb){return new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591d3e=>{if(_0x19f96e())return _0x591d3e(_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64]));_0x3d567c(),_0x5bb77f[_0x1b0cd2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b0cd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x510922=!0x1;const _0x4d75ca=_0x380a74();function _0x2d4255(_0x3ae4df){return!!_0x3ae4df&&(typeof _0x3ae4df===_0x1b0cd2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ae4df===_0x1b0cd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ae4df[_0x1b0cd2([0x74,0x68,0x65,0x6e])]===_0x1b0cd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ae4df[_0x1b0cd2([0x63,0x61,0x74,0x63,0x68])]===_0x1b0cd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2783ac(_0x292be5){_0x1d1086(_0x292be5)[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x2f497d=>{if(!_0x2f497d||_0x2f497d[_0x1b0cd2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b0cd2([0x6f,0x6b]))return _0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5541f8(_0x22e3cf(_0x4d75ca+_0x2993bb))!=_0x2f497d[_0x1b0cd2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x138218=>(_0x17c715(),_0x138218),()=>{const _0x508b2e=_0xa5eae2();return null==_0x508b2e?(_0x17c715(),_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64])):_0x1b0cd2(_0x18a6bf-_0x508b2e>(0x75d9653e^_0x5224b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x591d3e)[_0x1b0cd2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x591d3e(_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47ff3b=0x51e30fbe^_0x5224b4;function _0x17c715(){const _0x354a8b=_0x1b0cd2([0x6c,0x6c,0x63,0x74,0x2d])+_0x5541f8(_0x22e3cf(_0x3ddcf7)),_0x354188=_0x2ee554(_0x5541f8(window[_0x1b0cd2([0x4d,0x61,0x74,0x68])][_0x1b0cd2([0x63,0x65,0x69,0x6c])](_0x18a6bf/_0x47ff3b)));window[_0x1b0cd2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b0cd2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x354a8b,_0x354188);}function _0xa5eae2(){const _0x486422=_0x1b0cd2([0x6c,0x6c,0x63,0x74,0x2d])+_0x5541f8(_0x22e3cf(_0x3ddcf7)),_0x243deb=window[_0x1b0cd2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b0cd2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x486422);return _0x243deb?window[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ee554(_0x243deb),0x10)*_0x47ff3b:null;}function _0x1d1086(_0x12e053){return new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e66e8,_0x39b20d)=>{_0x12e053[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x5e66e8,_0x39b20d),window[_0x1b0cd2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39b20d,0x51d435fe^_0x5224b4);});}}_0x5bb77f[_0x1b0cd2([0x6f,0x6e])](_0x1b0cd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d8ad2,_0xe61049)=>{if(_0xe61049[0x0]!=_0x3ddcf7)return _0x591d3e(_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe61049[0x1]={..._0xe61049[0x1],[_0x1b0cd2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d75ca};},{[_0x1b0cd2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b0cd2([0x68,0x69,0x67,0x68])}),_0x5bb77f[_0x1b0cd2([0x6f,0x6e])](_0x1b0cd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49a986=>{_0x2d4255(_0x49a986[_0x1b0cd2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x510922=!0x0,_0x2783ac(_0x49a986[_0x1b0cd2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b0cd2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b0cd2([0x6c,0x6f,0x77])}),_0x4b9709[_0x1b0cd2([0x74,0x68,0x65,0x6e])](()=>{_0x510922||_0x591d3e(_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19f96e(){return _0x5bb77f[_0x1b0cd2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b0cd2([0x76,0x69,0x65,0x77])][_0x1b0cd2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b0cd2([0x61,0x75,0x74,0x6f]);}function _0x3d567c(){_0x5bb77f[_0x1b0cd2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b0cd2([0x76,0x69,0x65,0x77])][_0x1b0cd2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b0cd2([0x61,0x75,0x74,0x6f]);}}function _0x1de767(_0x207387){const _0x174b70=[new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3471d2=>setTimeout(_0x3471d2,0x51dcdff2^_0x5224b4)),_0x4b9709[_0x1b0cd2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3be8fa=>{let _0x5cd27b=0x0;_0x5bb77f[_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0cd2([0x6f,0x6e])](_0x1b0cd2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5dff37,_0x572707)=>{_0x572707[0x0][_0x1b0cd2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cd27b++,_0x5cd27b==(0x51d5e0c6^_0x5224b4)&&(_0x3be8fa(),_0x5dff37[_0x1b0cd2([0x6f,0x66,0x66])]());});}))];return window[_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b0cd2([0x72,0x61,0x63,0x65])](_0x174b70)[_0x1b0cd2([0x74,0x68,0x65,0x6e])](()=>_0x207387);}async function _0x2f9c67(){await _0x4b9709,_0x5bb77f[_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0cd2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x175d01,_0x5bb77f[_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0cd2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x175d01,_0x5bb77f[_0x1b0cd2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b0117(_0x27e5fa){const _0x3d1f94=_0x15b495();_0x5bb77f[_0x3d1f94]=_0x1b0cd2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27e5fa,_0x27e5fa!=_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64])&&_0x2f9c67();}function _0x15b495(){const _0x2f985f=window[_0x1b0cd2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b0cd2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b0cd2([0x6e,0x6f,0x77])]())[_0x1b0cd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b0cd2([0x2e]),'');let _0x57256a=_0x1b0cd2([0x55]);for(let _0x1ac3ad=0x0;_0x1ac3ad<_0x2f985f[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ac3ad+=0x2){let _0x441526=window[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f985f[_0x1b0cd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ac3ad,_0x1ac3ad+0x2));_0x441526>=_0x2418b0[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x441526-=_0x2418b0[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57256a+=_0x2418b0[_0x441526];}return _0x57256a;}function _0x1b3043(){const _0x298ae8=_0xb61a48[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e]));if(0x3!=_0x298ae8[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aa307(_0x298ae8[0x1]);function _0x5aa307(_0x536571){const _0x38656f=_0x208e13(_0x536571);return _0x38656f&&_0x36db1a()?_0x38656f:null;function _0x36db1a(){const _0x965707=_0x38656f[_0x1b0cd2([0x6a,0x74,0x69])],_0x43abfd=window[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x965707[_0x1b0cd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x965707[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dcf11={..._0x38656f,[_0x1b0cd2([0x6a,0x74,0x69])]:_0x965707[_0x1b0cd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x965707[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dcf11[_0x1b0cd2([0x76,0x63])],_0x22e3cf(_0x5dcf11)==_0x43abfd;}}}async function _0x59ee98(){let _0x33a7ab=!0x0;try{const _0x1e0b20=_0xb61a48[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e])),[_0x38b516,_0x4f11cf,_0x45ed6d]=_0x1e0b20;return _0x2bed1f(_0x38b516),await _0x5bcab5(_0x38b516,_0x4f11cf,_0x45ed6d),_0x33a7ab;}catch(_0x2095b5){return!0x1;}function _0x2bed1f(_0x32f03e){const _0x55fadb=_0x208e13(_0x32f03e);_0x55fadb&&_0x55fadb[_0x1b0cd2([0x61,0x6c,0x67])]==_0x1b0cd2([0x45,0x53,0x32,0x35,0x36])||(_0x33a7ab=!0x1);}async function _0x5bcab5(_0x38ffa3,_0x5c9dcd,_0x49ca28){const _0x358304=window[_0x1b0cd2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b0cd2([0x66,0x72,0x6f,0x6d])](_0x28df7f(_0x49ca28),_0x28216b=>_0x28216b[_0x1b0cd2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d6753=new window[(_0x1b0cd2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b0cd2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38ffa3+_0x1b0cd2([0x2e])+_0x5c9dcd),_0x1686b3=window[_0x1b0cd2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b0cd2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1686b3)return;const _0xd7d6e8=await _0x1686b3[_0x1b0cd2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b0cd2([0x6a,0x77,0x6b]),_0x30ffec,{[_0x1b0cd2([0x6e,0x61,0x6d,0x65])]:_0x1b0cd2([0x45,0x43,0x44,0x53,0x41]),[_0x1b0cd2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b0cd2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b0cd2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1686b3[_0x1b0cd2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b0cd2([0x6e,0x61,0x6d,0x65])]:_0x1b0cd2([0x45,0x43,0x44,0x53,0x41]),[_0x1b0cd2([0x68,0x61,0x73,0x68])]:{[_0x1b0cd2([0x6e,0x61,0x6d,0x65])]:_0x1b0cd2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd7d6e8,_0x358304,_0x5d6753)||(_0x33a7ab=!0x1);}}function _0x208e13(_0x5df5a6){return _0x5df5a6[_0x1b0cd2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b0cd2([0x65,0x79]))?JSON[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65])](_0x28df7f(_0x5df5a6)):null;}function _0x28df7f(_0x386782){return window[_0x1b0cd2([0x61,0x74,0x6f,0x62])](_0x386782[_0x1b0cd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b0cd2([0x2b]))[_0x1b0cd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b0cd2([0x2f])));}function _0x22e3cf(_0x1c7da6){let _0x47b805=0x1505;function _0x4fc239(_0x2965f5){for(let _0xd140f0=0x0;_0xd140f0<_0x2965f5[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd140f0++){const _0x4c078a=_0x2965f5[_0x1b0cd2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd140f0);_0x47b805=(_0x47b805<<0x5)+_0x47b805+_0x4c078a,_0x47b805&=_0x47b805;}}function _0x11c5f1(_0x1a763d){Array[_0x1b0cd2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a763d)?_0x1a763d[_0x1b0cd2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11c5f1):_0x1a763d&&typeof _0x1a763d==_0x1b0cd2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b0cd2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a763d)[_0x1b0cd2([0x73,0x6f,0x72,0x74])]()[_0x1b0cd2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52ea53,_0x106259])=>{_0x4fc239(_0x52ea53),_0x11c5f1(_0x106259);}):_0x4fc239(window[_0x1b0cd2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a763d));}return _0x11c5f1(_0x1c7da6),_0x47b805>>>0x0;}function _0x5541f8(_0x6c981a){return _0x6c981a[_0x1b0cd2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b0cd2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b0cd2([0x30]));}function _0x2ee554(_0xf29e0a){return _0xf29e0a[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b0cd2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b0cd2([0x6a,0x6f,0x69,0x6e])]('');}function _0x175d01(){}function _0x1b0cd2(_0x47d45d){const _0x21ca38=_0x3d3f;return _0x47d45d[_0x21ca38(0x13a)](_0x36fc46=>String[_0x21ca38(0x115)](_0x36fc46))[_0x21ca38(0x11e)]('');}_0x3b0117(await _0x59f9dc());}(this);}[_0x1645e5(0x119)](){const _0x1130af=_0x1645e5,_0x327ea1=this[_0x1130af(0x11f)][_0x1130af(0x12a)][_0x1130af(0x11b)];_0x327ea1[_0x1130af(0x12e)](_0x1130af(0x142))&&_0x327ea1[_0x1130af(0x139)](_0x1130af(0x142),{'allowAttributes':[_0x1130af(0x148)]}),_0x327ea1[_0x1130af(0x12e)](_0x1130af(0x114))&&_0x327ea1[_0x1130af(0x139)](_0x1130af(0x114),{'allowAttributes':[_0x1130af(0x148)]});}[_0x1645e5(0x11a)](){const _0x5c2939=_0x1645e5,_0x1a5333=this[_0x5c2939(0x11f)];_0x1a5333[_0x5c2939(0x144)][_0x5c2939(0x12f)](_0x5c2939(0x14c))[_0x5c2939(0x131)]({'model':_0x5c2939(0x148),'view':_0x5c2939(0x11c)}),_0x1a5333[_0x5c2939(0x144)][_0x5c2939(0x12f)](_0x5c2939(0x108))[_0x5c2939(0x151)]({'model':{'key':_0x5c2939(0x148),'value':_0x2de3b7=>_0x2de3b7[_0x5c2939(0x147)](_0x5c2939(0x11c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x41302b=_0x1a5333[_0x5c2939(0x154)][_0x5c2939(0x118)](_0x5c2939(0x122));_0x41302b&&this[_0x5c2939(0x14d)](_0x41302b,_0x5c2939(0x13f),(_0xd6ab20,[_0x49b450,_0x2eb969])=>{const _0x33593d=_0x5c2939;_0x49b450[_0x33593d(0x13c)](_0x33593d(0x148),_0x2eb969);});}[_0x1645e5(0x146)](){const _0xdd01ff=_0x1645e5,_0x5703e4=this[_0xdd01ff(0x11f)][_0xdd01ff(0x128)][_0xdd01ff(0x118)](_0xdd01ff(0x112))||{},_0x5cdaad=this[_0xdd01ff(0x11f)][_0xdd01ff(0x128)][_0xdd01ff(0x118)](_0xdd01ff(0x152))||'';this[_0xdd01ff(0x10c)]=_0x436503(_0x12bae9[_0xdd01ff(0x14f)],_0xdd01ff(0x126),{..._0x5703e4,'pubkey':_0x5cdaad,'ctx-name':_0xdd01ff(0x13e),'sourceList':'','imgOnly':_0xdd01ff(0x138),'removeCopyright':_0xdd01ff(0x138),'localeName':this[_0xdd01ff(0x11f)][_0xdd01ff(0x109)][_0xdd01ff(0x129)],'externalSourcesEmbedCss':_0xdd01ff(0x158)}),this[_0xdd01ff(0x10c)][_0xdd01ff(0x13b)]=_0x57f75b=>{const _0xa3db51=_0xdd01ff;if(_0xa3db51(0x13d)==_0x57f75b)return _0xa3db51(0x116);},_0x12bae9[_0xdd01ff(0x14f)][_0xdd01ff(0x132)][_0xdd01ff(0x153)](this[_0xdd01ff(0x10c)]);}[_0x1645e5(0x150)](){const _0x4d313d=_0x1645e5;this[_0x4d313d(0x14a)]=_0x436503(_0x12bae9[_0x4d313d(0x14f)],_0x4d313d(0x111),{'ctx-name':_0x4d313d(0x13e)}),_0x12bae9[_0x4d313d(0x14f)][_0x4d313d(0x132)][_0x4d313d(0x153)](this[_0x4d313d(0x14a)]);}[_0x1645e5(0x134)](){const _0x3e8b14=_0x1645e5,_0x294dff=this[_0x3e8b14(0x11f)][_0x3e8b14(0x154)][_0x3e8b14(0x118)](_0x3e8b14(0x130));_0x294dff&&this[_0x3e8b14(0x14d)](_0x294dff,_0x3e8b14(0x110),()=>{const _0x3d252d=_0x3e8b14,_0x77d1db=this[_0x3d252d(0x11f)][_0x3d252d(0x12a)][_0x3d252d(0x14f)][_0x3d252d(0x157)][_0x3d252d(0x121)]();_0x77d1db&&_0x77d1db[_0x3d252d(0x147)](_0x3d252d(0x148))&&this[_0x3d252d(0x11f)][_0x3d252d(0x141)][_0x3d252d(0x143)][_0x3d252d(0x137)](_0x3d252d(0x145),()=>{const _0x1773a8=_0x3d252d;_0x5f53f5(this[_0x1773a8(0x11f)],_0x77d1db);});});const _0xd74757=this[_0x3e8b14(0x11f)][_0x3e8b14(0x154)][_0x3e8b14(0x118)](_0x3e8b14(0x11d));_0xd74757&&this[_0x3e8b14(0x14d)](_0xd74757,_0x3e8b14(0x110),()=>{const _0xdd560a=_0x3e8b14,_0x1297ec=this[_0xdd560a(0x11f)][_0xdd560a(0x12a)][_0xdd560a(0x14f)][_0xdd560a(0x157)][_0xdd560a(0x121)]();_0x1297ec&&_0x1297ec[_0xdd560a(0x147)](_0xdd560a(0x148))&&this[_0xdd560a(0x11f)][_0xdd560a(0x141)][_0xdd560a(0x143)][_0xdd560a(0x137)](_0xdd560a(0x145),()=>{const _0x2c9836=_0xdd560a;_0x5f53f5(this[_0x2c9836(0x11f)],_0x1297ec);});});}}
23
+ const _0xa135d4=_0x156b;(function(_0x11761a,_0x1cf501){const _0x5234cb=_0x156b,_0x322c39=_0x11761a();while(!![]){try{const _0x2c9c26=parseInt(_0x5234cb(0x1ae))/0x1*(-parseInt(_0x5234cb(0x197))/0x2)+parseInt(_0x5234cb(0x19d))/0x3*(parseInt(_0x5234cb(0x1c6))/0x4)+-parseInt(_0x5234cb(0x1a3))/0x5*(parseInt(_0x5234cb(0x19c))/0x6)+parseInt(_0x5234cb(0x1bf))/0x7*(-parseInt(_0x5234cb(0x1c0))/0x8)+-parseInt(_0x5234cb(0x1cc))/0x9*(parseInt(_0x5234cb(0x19b))/0xa)+-parseInt(_0x5234cb(0x195))/0xb*(-parseInt(_0x5234cb(0x184))/0xc)+parseInt(_0x5234cb(0x18e))/0xd;if(_0x2c9c26===_0x1cf501)break;else _0x322c39['push'](_0x322c39['shift']());}catch(_0x2da5a3){_0x322c39['push'](_0x322c39['shift']());}}}(_0x19ed,0x4c05c));import{Plugin as _0x55c819}from'ckeditor5/src/core.js';import{Dialog as _0x282bd9}from'ckeditor5/src/ui.js';import{createElement as _0x1d473b,global as _0x470cd6,uid as _0x278186}from'ckeditor5/src/utils.js';function _0x19ed(){const _0x47c098=['374278MNFgnR','model','href','downcast','4836930WIUrSp','48pnWJqF','421332UyOQpa','conversion','remove','view','configElement','listenTo','177130mwyVuJ','join','ctxElement','afterInit','getSelectedElement','#uc-icon-arrow-down','document','commands','\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','config','uploadcareImageId','2kdWigS','_initConversion','upcast','render','_ctxElement','uc-upload-ctx-provider','getAttribute','cleanupImage','appendChild','removeAttribute','elementToAttribute','imageBlock','_initImageProcessingIndicator','uploadcare.pubkey','closeMax','uploadcare.uploader','insertImage','203yiFxgz','142616QWpukh','init','uploadcare','editing','isPremiumPlugin','map','4BesQGy','input[uploadcare-file-input]','_initConfig','uploadcareImageReplace','imageInline','editor','9cPMAgM','requires','for','UploadcareEditing','isOfficialPlugin','locale','body','true','isRegistered','_initSchema','extend','iconHrefResolver','data-uc-image-id','fromCharCode','PictureEditing','348792ombKDR','attributeToAttribute','get','schema','selection','contentLanguage','once','_initCtx','replaceImageSource','destroy','22269546CHTPbu','uc-config','add','pluginName','_configElement','querySelector','uploader','44iNyDtf','execute'];_0x19ed=function(){return _0x47c098;};return _0x19ed();}import _0x2c5824 from'./uploadcarecommand.js';function _0x156b(_0x34c7e2,_0x14e3d6){const _0x19ed87=_0x19ed();return _0x156b=function(_0x156bc5,_0x19f92e){_0x156bc5=_0x156bc5-0x182;let _0xe1e124=_0x19ed87[_0x156bc5];return _0xe1e124;},_0x156b(_0x34c7e2,_0x14e3d6);}import _0x4a0698 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3138ca}from'./utils/editingutils.js';export default class i extends _0x55c819{constructor(){const _0x3bfc1b=_0x156b;super(...arguments),this[_0x3bfc1b(0x192)]=null,this[_0x3bfc1b(0x1b2)]=null;}static get[_0xa135d4(0x191)](){const _0x390dea=_0xa135d4;return _0x390dea(0x1cf);}static get[_0xa135d4(0x1cd)](){const _0x28c7c3=_0xa135d4;return[_0x28c7c3(0x183),_0x4a0698,_0x282bd9];}static get[_0xa135d4(0x1d0)](){return!0x0;}static get[_0xa135d4(0x1c4)](){return!0x0;}get[_0xa135d4(0x1a1)](){const _0x5bad14=_0xa135d4;return this[_0x5bad14(0x192)];}get[_0xa135d4(0x1a5)](){const _0x447005=_0xa135d4;return this[_0x447005(0x1b2)];}[_0xa135d4(0x1c1)](){const _0x18911a=_0xa135d4,_0xedb518=this[_0x18911a(0x1cb)];_0xedb518[_0x18911a(0x1aa)][_0x18911a(0x190)](_0x18911a(0x1c2),new _0x2c5824(_0xedb518));}[_0xa135d4(0x1a6)](){const _0x47d339=_0xa135d4;this[_0x47d339(0x1d5)](),this[_0x47d339(0x1af)](),this[_0x47d339(0x1c8)](),this[_0x47d339(0x18b)](),this[_0x47d339(0x1ba)](),this[_0x47d339(0x1a2)](this[_0x47d339(0x1cb)],_0x47d339(0x18d),()=>{const _0x550a8a=_0x47d339;this[_0x550a8a(0x192)]&&(this[_0x550a8a(0x192)][_0x550a8a(0x19f)](),this[_0x550a8a(0x192)]=null),this[_0x550a8a(0x1b2)]&&(this[_0x550a8a(0x1b2)][_0x550a8a(0x19f)](),this[_0x550a8a(0x1b2)]=null);const _0x144f6a=_0x470cd6[_0x550a8a(0x1a9)][_0x550a8a(0x193)](_0x550a8a(0x1c7));_0x144f6a&&_0x144f6a[_0x550a8a(0x19f)]();}),async function(_0x182f02){const _0xd7267c=_0x311d89([0x61,0x30,0x34,0x54,0x68,0x52,0x79,0x66,0x36,0x45,0x69,0x33,0x72,0x59,0x58,0x37,0x75,0x70,0x50,0x4e,0x53,0x55,0x46,0x78,0x63,0x65,0x62,0x31,0x44,0x6b,0x4a,0x77,0x4b,0x67,0x6a,0x7a,0x56,0x76,0x39,0x49,0x42,0x6c,0x6f,0x64,0x4d,0x38,0x6e,0x32,0x48,0x5a,0x4c,0x41,0x4f,0x47,0x51,0x43,0x71,0x73,0x35,0x6d,0x74,0x57]),_0x553945=0x5ebff6ea,_0x116ede=0x5eb8a862^_0x553945,_0x2e5cc2=window[_0x311d89([0x44,0x61,0x74,0x65])][_0x311d89([0x6e,0x6f,0x77])](),_0xfcd635=_0x182f02[_0x311d89([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48d87e=new window[(_0x311d89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x144bc5=>{_0xfcd635[_0x311d89([0x6f,0x6e,0x63,0x65])](_0x311d89([0x72,0x65,0x61,0x64,0x79]),_0x144bc5);}),_0x1b1dfa={[_0x311d89([0x6b,0x74,0x79])]:_0x311d89([0x45,0x43]),[_0x311d89([0x75,0x73,0x65])]:_0x311d89([0x73,0x69,0x67]),[_0x311d89([0x63,0x72,0x76])]:_0x311d89([0x50,0x2d,0x32,0x35,0x36]),[_0x311d89([0x78])]:_0x311d89([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]),[_0x311d89([0x79])]:_0x311d89([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]),[_0x311d89([0x61,0x6c,0x67])]:_0x311d89([0x45,0x53,0x32,0x35,0x36])},_0x206908=_0xfcd635[_0x311d89([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x311d89([0x67,0x65,0x74])](_0x311d89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d8220(){let _0x409d54,_0x16ac93=null,_0xaa4acb=null;try{if(_0x206908==_0x311d89([0x47,0x50,0x4c]))return _0x311d89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x409d54=_0x5eb1bf(),!_0x409d54)return _0x311d89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x409d54[_0x311d89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xaa4acb=_0x4f8fb4(_0x409d54[_0x311d89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x409d54[_0x311d89([0x6a,0x74,0x69])])),await _0x4cb083()?_0x3ece27()?_0x59c93f()?_0x311d89([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a6a6e()?(_0x409d54[_0x311d89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x311d89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16ac93=_0x373687(_0x311d89([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x409d54[_0x311d89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x311d89([0x74,0x72,0x69,0x61,0x6c])&&(_0x16ac93=_0x373687(_0x311d89([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ee5ba()):_0x311d89([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x311d89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x311d89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x175c07){return _0x311d89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59c93f(){const _0x1b507c=[_0x311d89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x311d89([0x74,0x72,0x69,0x61,0x6c])][_0x311d89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409d54[_0x311d89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e5cc2/0x3e8:0xe10*_0x116ede;return _0x409d54[_0x311d89([0x65,0x78,0x70])]<_0x1b507c;}function _0x3ece27(){const _0x4936bd=_0x409d54[_0x311d89([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4936bd&&(!!_0x4936bd[_0x311d89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311d89([0x2a]))||!!_0x4936bd[_0x311d89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311d89([0x55,0x50,0x4c,0x43])));}function _0x3a6a6e(){const _0x4479eb=_0x156b,_0x1d1f6e=_0x409d54[_0x311d89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d1f6e||0x0==_0x1d1f6e[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2185eb}=new URL(window[_0x311d89([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4479eb(0x199)]);if(_0x1d1f6e[_0x311d89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2185eb))return!0x0;const _0x401a0c=_0x2185eb[_0x311d89([0x73,0x70,0x6c,0x69,0x74])](_0x311d89([0x2e]));return _0x1d1f6e[_0x311d89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f9195=>_0x1f9195[_0x311d89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311d89([0x2a])))[_0x311d89([0x6d,0x61,0x70])](_0x3fd950=>_0x3fd950[_0x311d89([0x73,0x70,0x6c,0x69,0x74])](_0x311d89([0x2e])))[_0x311d89([0x73,0x6f,0x6d,0x65])](_0x68a68b=>_0x401a0c[_0x311d89([0x65,0x76,0x65,0x72,0x79])]((_0xae63ff,_0x1dfc68)=>_0x68a68b[_0x1dfc68]===_0xae63ff||_0x68a68b[_0x1dfc68]===_0x311d89([0x2a])));}function _0x5ee5ba(){return _0x16ac93&&_0xaa4acb?new window[(_0x311d89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4207e0,_0x57bb0a)=>{_0x16ac93[_0x311d89([0x74,0x68,0x65,0x6e])](_0x4207e0,_0x57bb0a),_0xaa4acb[_0x311d89([0x74,0x68,0x65,0x6e])](_0x4e394f=>{_0x4e394f!=_0x311d89([0x56,0x61,0x6c,0x69,0x64])&&_0x4207e0(_0x4e394f);},_0x57bb0a);}):_0x16ac93||_0xaa4acb||_0x311d89([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f8fb4(_0xe2010e,_0x120805){return new window[(_0x311d89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49406a=>{if(_0x37ed43())return _0x49406a(_0x311d89([0x56,0x61,0x6c,0x69,0x64]));_0x1875e5(),_0xfcd635[_0x311d89([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x311d89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56a2ce=!0x1;const _0x2adb03=_0x278186();function _0x2f6c14(_0x507ff6){return!!_0x507ff6&&(typeof _0x507ff6===_0x311d89([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x507ff6===_0x311d89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x507ff6[_0x311d89([0x74,0x68,0x65,0x6e])]===_0x311d89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x507ff6[_0x311d89([0x63,0x61,0x74,0x63,0x68])]===_0x311d89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xab6668(_0x19ed9d){_0x574ae5(_0x19ed9d)[_0x311d89([0x74,0x68,0x65,0x6e])](_0x419e97=>{if(!_0x419e97||_0x419e97[_0x311d89([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x311d89([0x6f,0x6b]))return _0x311d89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d05b9(_0x45c002(_0x2adb03+_0x120805))!=_0x419e97[_0x311d89([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x311d89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x311d89([0x56,0x61,0x6c,0x69,0x64]);})[_0x311d89([0x74,0x68,0x65,0x6e])](_0x4121e5=>(_0x3d21b9(),_0x4121e5),()=>{const _0x566fb6=_0x546bf2();return null==_0x566fb6?(_0x3d21b9(),_0x311d89([0x56,0x61,0x6c,0x69,0x64])):_0x311d89(_0x2e5cc2-_0x566fb6>(0x7ab372ea^_0x553945)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x311d89([0x74,0x68,0x65,0x6e])](_0x49406a)[_0x311d89([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49406a(_0x311d89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a243f=0x5e89186a^_0x553945;function _0x3d21b9(){const _0x4e9011=_0x311d89([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d05b9(_0x45c002(_0xe2010e)),_0x2c83ad=_0xbb8dbc(_0x2d05b9(window[_0x311d89([0x4d,0x61,0x74,0x68])][_0x311d89([0x63,0x65,0x69,0x6c])](_0x2e5cc2/_0x4a243f)));window[_0x311d89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x311d89([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e9011,_0x2c83ad);}function _0x546bf2(){const _0x7b7ea9=_0x311d89([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d05b9(_0x45c002(_0xe2010e)),_0x274234=window[_0x311d89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x311d89([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7b7ea9);return _0x274234?window[_0x311d89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbb8dbc(_0x274234),0x10)*_0x4a243f:null;}function _0x574ae5(_0x3e556d){return new window[(_0x311d89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51e647,_0x5b3837)=>{_0x3e556d[_0x311d89([0x74,0x68,0x65,0x6e])](_0x51e647,_0x5b3837),window[_0x311d89([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b3837,0x5ebe222a^_0x553945);});}}_0xfcd635[_0x311d89([0x6f,0x6e])](_0x311d89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1dbc4b,_0x3661d8)=>{if(_0x3661d8[0x0]!=_0xe2010e)return _0x49406a(_0x311d89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3661d8[0x1]={..._0x3661d8[0x1],[_0x311d89([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2adb03};},{[_0x311d89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x311d89([0x68,0x69,0x67,0x68])}),_0xfcd635[_0x311d89([0x6f,0x6e])](_0x311d89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x386432=>{_0x2f6c14(_0x386432[_0x311d89([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56a2ce=!0x0,_0xab6668(_0x386432[_0x311d89([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x311d89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x311d89([0x6c,0x6f,0x77])}),_0x48d87e[_0x311d89([0x74,0x68,0x65,0x6e])](()=>{_0x56a2ce||_0x49406a(_0x311d89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x37ed43(){return _0xfcd635[_0x311d89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x311d89([0x76,0x69,0x65,0x77])][_0x311d89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x311d89([0x61,0x75,0x74,0x6f]);}function _0x1875e5(){_0xfcd635[_0x311d89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x311d89([0x76,0x69,0x65,0x77])][_0x311d89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x311d89([0x61,0x75,0x74,0x6f]);}}function _0x373687(_0x53ceb1){const _0x98b9f9=[new window[(_0x311d89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19155c=>setTimeout(_0x19155c,0x5eb6c826^_0x553945)),_0x48d87e[_0x311d89([0x74,0x68,0x65,0x6e])](()=>new window[(_0x311d89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56a4ee=>{let _0x50d128=0x0;_0xfcd635[_0x311d89([0x6d,0x6f,0x64,0x65,0x6c])][_0x311d89([0x6f,0x6e])](_0x311d89([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x288b86,_0x24156a)=>{_0x24156a[0x0][_0x311d89([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50d128++,_0x50d128==(0x5ebff712^_0x553945)&&(_0x56a4ee(),_0x288b86[_0x311d89([0x6f,0x66,0x66])]());});}))];return window[_0x311d89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x311d89([0x72,0x61,0x63,0x65])](_0x98b9f9)[_0x311d89([0x74,0x68,0x65,0x6e])](()=>_0x53ceb1);}async function _0x8a75fb(){await _0x48d87e,_0xfcd635[_0x311d89([0x6d,0x6f,0x64,0x65,0x6c])][_0x311d89([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cef2e,_0xfcd635[_0x311d89([0x6d,0x6f,0x64,0x65,0x6c])][_0x311d89([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cef2e,_0xfcd635[_0x311d89([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x311d89([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57f6cc(_0x10fddc){const _0x5ccb87=_0x19b592();_0xfcd635[_0x5ccb87]=_0x311d89([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10fddc,_0x10fddc!=_0x311d89([0x56,0x61,0x6c,0x69,0x64])&&_0x8a75fb();}function _0x19b592(){const _0x2c613e=window[_0x311d89([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x311d89([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x311d89([0x6e,0x6f,0x77])]())[_0x311d89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x311d89([0x2e]),'');let _0x190bf3=_0x311d89([0x61]);for(let _0x1b4c14=0x0;_0x1b4c14<_0x2c613e[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b4c14+=0x2){let _0x480c75=window[_0x311d89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c613e[_0x311d89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b4c14,_0x1b4c14+0x2));_0x480c75>=_0xd7267c[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x480c75-=_0xd7267c[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x190bf3+=_0xd7267c[_0x480c75];}return _0x190bf3;}function _0x5eb1bf(){const _0x4ee591=_0x206908[_0x311d89([0x73,0x70,0x6c,0x69,0x74])](_0x311d89([0x2e]));if(0x3!=_0x4ee591[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f4fcb(_0x4ee591[0x1]);function _0x5f4fcb(_0x1a6467){const _0x25af46=_0x4e8439(_0x1a6467);return _0x25af46&&_0x4c5b16()?_0x25af46:null;function _0x4c5b16(){const _0x549b72=_0x25af46[_0x311d89([0x6a,0x74,0x69])],_0x3a99e4=window[_0x311d89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x549b72[_0x311d89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x549b72[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5510fc={..._0x25af46,[_0x311d89([0x6a,0x74,0x69])]:_0x549b72[_0x311d89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x549b72[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5510fc[_0x311d89([0x76,0x63])],_0x45c002(_0x5510fc)==_0x3a99e4;}}}async function _0x4cb083(){let _0x193e9c=!0x0;try{const _0x558e43=_0x206908[_0x311d89([0x73,0x70,0x6c,0x69,0x74])](_0x311d89([0x2e])),[_0x1264b2,_0xe1c61,_0x2b5173]=_0x558e43;return _0x211b7c(_0x1264b2),await _0x17f701(_0x1264b2,_0xe1c61,_0x2b5173),_0x193e9c;}catch(_0x474caf){return!0x1;}function _0x211b7c(_0x5d5c51){const _0x551a9d=_0x4e8439(_0x5d5c51);_0x551a9d&&_0x551a9d[_0x311d89([0x61,0x6c,0x67])]==_0x311d89([0x45,0x53,0x32,0x35,0x36])||(_0x193e9c=!0x1);}async function _0x17f701(_0x2f8278,_0x3b0061,_0x4ddfeb){const _0x12f7ed=window[_0x311d89([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x311d89([0x66,0x72,0x6f,0x6d])](_0x245641(_0x4ddfeb),_0xac4d52=>_0xac4d52[_0x311d89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d7255=new window[(_0x311d89([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x311d89([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f8278+_0x311d89([0x2e])+_0x3b0061),_0x145c67=window[_0x311d89([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x311d89([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x145c67)return;const _0x1e155c=await _0x145c67[_0x311d89([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x311d89([0x6a,0x77,0x6b]),_0x1b1dfa,{[_0x311d89([0x6e,0x61,0x6d,0x65])]:_0x311d89([0x45,0x43,0x44,0x53,0x41]),[_0x311d89([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x311d89([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x311d89([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x145c67[_0x311d89([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x311d89([0x6e,0x61,0x6d,0x65])]:_0x311d89([0x45,0x43,0x44,0x53,0x41]),[_0x311d89([0x68,0x61,0x73,0x68])]:{[_0x311d89([0x6e,0x61,0x6d,0x65])]:_0x311d89([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e155c,_0x12f7ed,_0x3d7255)||(_0x193e9c=!0x1);}}function _0x4e8439(_0x6cf523){return _0x6cf523[_0x311d89([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x311d89([0x65,0x79]))?JSON[_0x311d89([0x70,0x61,0x72,0x73,0x65])](_0x245641(_0x6cf523)):null;}function _0x245641(_0x554f61){return window[_0x311d89([0x61,0x74,0x6f,0x62])](_0x554f61[_0x311d89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x311d89([0x2b]))[_0x311d89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x311d89([0x2f])));}function _0x45c002(_0x517891){let _0x248fe7=0x1505;function _0x3b4097(_0x7da19){for(let _0x24f3e3=0x0;_0x24f3e3<_0x7da19[_0x311d89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24f3e3++){const _0x4b2d49=_0x7da19[_0x311d89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24f3e3);_0x248fe7=(_0x248fe7<<0x5)+_0x248fe7+_0x4b2d49,_0x248fe7&=_0x248fe7;}}function _0x51bb5e(_0x5e1c92){Array[_0x311d89([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e1c92)?_0x5e1c92[_0x311d89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51bb5e):_0x5e1c92&&typeof _0x5e1c92==_0x311d89([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x311d89([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e1c92)[_0x311d89([0x73,0x6f,0x72,0x74])]()[_0x311d89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd3ce48,_0x345ca5])=>{_0x3b4097(_0xd3ce48),_0x51bb5e(_0x345ca5);}):_0x3b4097(window[_0x311d89([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e1c92));}return _0x51bb5e(_0x517891),_0x248fe7>>>0x0;}function _0x2d05b9(_0x119dfc){return _0x119dfc[_0x311d89([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x311d89([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x311d89([0x30]));}function _0xbb8dbc(_0x4faf9f){return _0x4faf9f[_0x311d89([0x73,0x70,0x6c,0x69,0x74])]('')[_0x311d89([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x311d89([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cef2e(){}function _0x311d89(_0x7e3c65){const _0x3ed38f=_0x156b;return _0x7e3c65[_0x3ed38f(0x1c5)](_0x5e30fa=>String[_0x3ed38f(0x182)](_0x5e30fa))[_0x3ed38f(0x1a4)]('');}_0x57f6cc(await _0x2d8220());}(this);}[_0xa135d4(0x1d5)](){const _0x2780a1=_0xa135d4,_0x4a8229=this[_0x2780a1(0x1cb)][_0x2780a1(0x198)][_0x2780a1(0x187)];_0x4a8229[_0x2780a1(0x1d4)](_0x2780a1(0x1b9))&&_0x4a8229[_0x2780a1(0x1d6)](_0x2780a1(0x1b9),{'allowAttributes':[_0x2780a1(0x1ad)]}),_0x4a8229[_0x2780a1(0x1d4)](_0x2780a1(0x1ca))&&_0x4a8229[_0x2780a1(0x1d6)](_0x2780a1(0x1ca),{'allowAttributes':[_0x2780a1(0x1ad)]});}[_0xa135d4(0x1af)](){const _0x2b86d1=_0xa135d4,_0x388ecf=this[_0x2b86d1(0x1cb)];_0x388ecf[_0x2b86d1(0x19e)][_0x2b86d1(0x1ce)](_0x2b86d1(0x19a))[_0x2b86d1(0x185)]({'model':_0x2b86d1(0x1ad),'view':_0x2b86d1(0x1d8)}),_0x388ecf[_0x2b86d1(0x19e)][_0x2b86d1(0x1ce)](_0x2b86d1(0x1b0))[_0x2b86d1(0x1b8)]({'model':{'key':_0x2b86d1(0x1ad),'value':_0x565841=>_0x565841[_0x2b86d1(0x1b4)](_0x2b86d1(0x1d8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4844e2=_0x388ecf[_0x2b86d1(0x1aa)][_0x2b86d1(0x186)](_0x2b86d1(0x18c));_0x4844e2&&this[_0x2b86d1(0x1a2)](_0x4844e2,_0x2b86d1(0x1b5),(_0x129fe9,[_0x693ead,_0x313eb3])=>{const _0x17fa42=_0x2b86d1;_0x693ead[_0x17fa42(0x1b7)](_0x17fa42(0x1ad),_0x313eb3);});}[_0xa135d4(0x1c8)](){const _0x278f0c=_0xa135d4,_0x2b962c=this[_0x278f0c(0x1cb)][_0x278f0c(0x1ac)][_0x278f0c(0x186)](_0x278f0c(0x1bd))||{},_0x4606fe=this[_0x278f0c(0x1cb)][_0x278f0c(0x1ac)][_0x278f0c(0x186)](_0x278f0c(0x1bb))||'';this[_0x278f0c(0x192)]=_0x1d473b(_0x470cd6[_0x278f0c(0x1a9)],_0x278f0c(0x18f),{..._0x2b962c,'pubkey':_0x4606fe,'ctx-name':_0x278f0c(0x194),'sourceList':'','imgOnly':_0x278f0c(0x1d3),'removeCopyright':_0x278f0c(0x1d3),'localeName':this[_0x278f0c(0x1cb)][_0x278f0c(0x1d1)][_0x278f0c(0x189)],'externalSourcesEmbedCss':_0x278f0c(0x1ab)}),this[_0x278f0c(0x192)][_0x278f0c(0x1d7)]=_0x2cbe55=>{const _0x2e89b1=_0x278f0c;if(_0x2e89b1(0x1bc)==_0x2cbe55)return _0x2e89b1(0x1a8);},_0x470cd6[_0x278f0c(0x1a9)][_0x278f0c(0x1d2)][_0x278f0c(0x1b6)](this[_0x278f0c(0x192)]);}[_0xa135d4(0x18b)](){const _0x4eb6c4=_0xa135d4;this[_0x4eb6c4(0x1b2)]=_0x1d473b(_0x470cd6[_0x4eb6c4(0x1a9)],_0x4eb6c4(0x1b3),{'ctx-name':_0x4eb6c4(0x194)}),_0x470cd6[_0x4eb6c4(0x1a9)][_0x4eb6c4(0x1d2)][_0x4eb6c4(0x1b6)](this[_0x4eb6c4(0x1b2)]);}[_0xa135d4(0x1ba)](){const _0x4f656d=_0xa135d4,_0x55ee66=this[_0x4f656d(0x1cb)][_0x4f656d(0x1aa)][_0x4f656d(0x186)](_0x4f656d(0x1be));_0x55ee66&&this[_0x4f656d(0x1a2)](_0x55ee66,_0x4f656d(0x196),()=>{const _0xc9212c=_0x4f656d,_0x3a1803=this[_0xc9212c(0x1cb)][_0xc9212c(0x198)][_0xc9212c(0x1a9)][_0xc9212c(0x188)][_0xc9212c(0x1a7)]();_0x3a1803&&_0x3a1803[_0xc9212c(0x1b4)](_0xc9212c(0x1ad))&&this[_0xc9212c(0x1cb)][_0xc9212c(0x1c3)][_0xc9212c(0x1a0)][_0xc9212c(0x18a)](_0xc9212c(0x1b1),()=>{const _0x3a5194=_0xc9212c;_0x3138ca(this[_0x3a5194(0x1cb)],_0x3a1803);});});const _0x3d90d4=this[_0x4f656d(0x1cb)][_0x4f656d(0x1aa)][_0x4f656d(0x186)](_0x4f656d(0x1c9));_0x3d90d4&&this[_0x4f656d(0x1a2)](_0x3d90d4,_0x4f656d(0x196),()=>{const _0x9823f2=_0x4f656d,_0x482690=this[_0x9823f2(0x1cb)][_0x9823f2(0x198)][_0x9823f2(0x1a9)][_0x9823f2(0x188)][_0x9823f2(0x1a7)]();_0x482690&&_0x482690[_0x9823f2(0x1b4)](_0x9823f2(0x1ad))&&this[_0x9823f2(0x1cb)][_0x9823f2(0x1c3)][_0x9823f2(0x1a0)][_0x9823f2(0x18a)](_0x9823f2(0x1b1),()=>{const _0x324259=_0x9823f2;_0x3138ca(this[_0x324259(0x1cb)],_0x482690);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3ac1d6,ObservableMixin as _0x4880f0}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x19009c}from'ckeditor5/src/ui.js';import _0x3d88d8 from'./uploadcareimageeditformview.js';import _0x3fe250 from'../../utils/uploadutils.js';import _0x1ba2d5 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x3f7186,getImageDimension as _0x3f47ef}from'../../utils/editingutils.js';import{isAncestor as _0x379ea8}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x4880f0(){constructor(_0x60ec5b,_0x52eec7,_0x42c047){super(),this['_editor']=_0x60ec5b,this['_dialog']=_0x52eec7,this['_imageElement']=_0x42c047,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 _0x5259fb=this['_imageElement'],_0x345b9c=_0x5259fb['getAttribute']('uploadcareImageId'),_0x19d04e=_0x5259fb['getAttribute']('src');if(_0x345b9c)await this['_loadImageInfo'](_0x345b9c,_0x19d04e);else{if(this['_imageCache']['has'](_0x19d04e)){const _0x4213c2=this['_imageCache']['get'](_0x19d04e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4213c2['url'],this['imageDimension']=_0x4213c2['dimension'],this['imageId']=_0x4213c2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ceb1a}=this['_editor'],t=_0x1ceb1a['t'],_0x47c5a1=new _0x3d88d8(_0x1ceb1a,this['imageStatus'],this['_attributes']);_0x47c5a1['bind']('status')['to'](this,'imageStatus'),_0x47c5a1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x47c5a1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x47c5a1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x47c5a1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1ba2d5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x47c5a1,'position':_0x19009c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x47c5a1['focus']();},'onHide':()=>{_0x47c5a1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5a18e0=>!_0x379ea8(_0x5a18e0,_0x47c5a1['element'])}});}['_loadImageInfo'](_0x38f95d,_0x587f83){return _0x3fe250['getInfo'](_0x38f95d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3e3d86=>{const {width:_0x5d3397,height:_0x2ffcdc}=_0x3e3d86['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x587f83,this['imageDimension']={'width':_0x5d3397,'height':_0x2ffcdc},this['imageId']=_0x38f95d;})['catch'](_0x39cb77=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39cb77['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cde75,_0x21182e){return this['_getImageAsFile'](_0x2cde75)['then'](_0x4ea1cc=>_0x3fe250['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x21182e['signal'],'file':_0x4ea1cc,'onProgress':_0x1e0b7a=>{_0x1e0b7a&&_0x1e0b7a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1e0b7a['value']));}}))['then'](_0x110eef=>{const {width:_0x9806fa,height:_0x307fd0}=_0x110eef['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x110eef['cdnUrl'],this['imageDimension']={'width':_0x9806fa,'height':_0x307fd0},this['imageId']=_0x110eef['uuid'],this['imageUploadProgress']=null;const _0x5ccf20=_0x2cde75['getAttribute']('src');this['_imageCache']['set'](_0x5ccf20,{'id':_0x110eef['uuid'],'url':_0x110eef['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x86037a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x86037a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2d88e5,_0x428b2f){_0x2d88e5['on']('apply',(_0x24ae57,_0x43004a)=>{this['_replaceImage'](_0x428b2f,_0x43004a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2d88e5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2d88e5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1f7789,_0x4594de,_0xc0331b){const _0x456d4f=this['_editor'],{width:_0x1e8c3f,height:_0x1ee9df}=_0x3f47ef(_0x4594de,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x553d98,imageSources:_0x32806a}=_0x3f7186(_0x4594de,_0x1e8c3f);_0x456d4f['model']['change'](_0x1bc9b0=>{if('$graveyard'===_0x1f7789['root']['rootName']){_0x456d4f['execute']('insertImage',{'imageType':_0x1f7789['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1f7789['getAttributes']()),'uploadcareImageId':_0xc0331b,'src':_0x553d98,'sources':_0x32806a,'width':_0x1e8c3f,'height':_0x1ee9df}});const _0x3aa371=_0x1f7789['getChildren']();_0x1f7789=_0x456d4f['model']['document']['selection']['getSelectedElement']();for(const _0x461ddc of _0x3aa371)_0x1bc9b0['append'](_0x1bc9b0['cloneElement'](_0x461ddc),_0x1f7789);}else _0x1bc9b0['setSelection'](_0x1f7789,'on'),_0x456d4f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1f7789['getAttributes']()),'uploadcareImageId':_0xc0331b,'src':_0x553d98,'sources':_0x32806a,'width':_0x1e8c3f,'height':_0x1ee9df},_0x1f7789);_0x1bc9b0['setSelection'](_0x1f7789,'on');});}async['_getImageAsFile'](_0x269f1a){const _0x4bd9c8=_0x3ac1d6['window'],_0x1336db=_0x3ac1d6['document']['location']['href'],_0x278800=new _0x4bd9c8['URL'](_0x269f1a['getAttribute']('src'),_0x1336db);if('data:'===_0x278800['protocol']){const _0x1148b7=_0x278800['href']['split'](','),_0x26628c=_0x1148b7[0x0]['match'](/:(.*?);/)[0x1],_0x912675=_0x26628c['split']('/')[0x1],_0x2ccbea=_0x4bd9c8['atob'](_0x1148b7[_0x1148b7['length']-0x1]);let _0x364262=_0x2ccbea['length'];const _0x18a157=new _0x4bd9c8['Uint8Array'](_0x364262);for(;_0x364262--;)_0x18a157[_0x364262]=_0x2ccbea['charCodeAt'](_0x364262);return new _0x4bd9c8['File']([_0x18a157],'image.'+_0x912675,{'type':_0x26628c});}const _0x37e97f=_0x278800['href']['split']('/'),_0x820cb6=_0x37e97f[_0x37e97f['length']-0x1],_0x1b3bad=_0x820cb6['split']('.')[0x1];return _0x4bd9c8['fetch'](_0x278800['href'])['then'](_0x449ffa=>_0x449ffa['clone']()['blob']())['then'](_0x30ffdf=>new _0x4bd9c8['File']([_0x30ffdf],_0x820cb6,{'type':'image/'+_0x1b3bad}));}}
23
+ import{global as _0x5e05f1,ObservableMixin as _0x356cfb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1cb787}from'ckeditor5/src/ui.js';import _0x190510 from'./uploadcareimageeditformview.js';import _0x1f96ce from'../../utils/uploadutils.js';import _0x8eb662 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x33545f,getImageDimension as _0x1a014a}from'../../utils/editingutils.js';import{isAncestor as _0x43c6ad}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x356cfb(){constructor(_0x40ec9d,_0xd4aea8,_0x5da74a){super(),this['_editor']=_0x40ec9d,this['_dialog']=_0xd4aea8,this['_imageElement']=_0x5da74a,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 _0x1086f3=this['_imageElement'],_0x35216e=_0x1086f3['getAttribute']('uploadcareImageId'),_0x464fb8=_0x1086f3['getAttribute']('src');if(_0x35216e)await this['_loadImageInfo'](_0x35216e,_0x464fb8);else{if(this['_imageCache']['has'](_0x464fb8)){const _0x2bfbed=this['_imageCache']['get'](_0x464fb8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bfbed['url'],this['imageDimension']=_0x2bfbed['dimension'],this['imageId']=_0x2bfbed['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5a61eb}=this['_editor'],t=_0x5a61eb['t'],_0x446dd9=new _0x190510(_0x5a61eb,this['imageStatus'],this['_attributes']);_0x446dd9['bind']('status')['to'](this,'imageStatus'),_0x446dd9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x446dd9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x446dd9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x446dd9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x8eb662,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x446dd9,'position':_0x1cb787['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x446dd9['focus']();},'onHide':()=>{_0x446dd9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5c6f8a=>!_0x43c6ad(_0x5c6f8a,_0x446dd9['element'])}});}['_loadImageInfo'](_0x3a0b7e,_0x4f859){return _0x1f96ce['getInfo'](_0x3a0b7e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3cfc9c=>{const {width:_0x3bb44a,height:_0x26df8a}=_0x3cfc9c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f859,this['imageDimension']={'width':_0x3bb44a,'height':_0x26df8a},this['imageId']=_0x3a0b7e;})['catch'](_0x94fecd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x94fecd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x378560,_0x4a4784){return this['_getImageAsFile'](_0x378560)['then'](_0x17dcad=>_0x1f96ce['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4a4784['signal'],'file':_0x17dcad,'onProgress':_0x3329b1=>{_0x3329b1&&_0x3329b1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3329b1['value']));}}))['then'](_0x4a4f0e=>{const {width:_0x5e0d76,height:_0x1074aa}=_0x4a4f0e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a4f0e['cdnUrl'],this['imageDimension']={'width':_0x5e0d76,'height':_0x1074aa},this['imageId']=_0x4a4f0e['uuid'],this['imageUploadProgress']=null;const _0x52f3e1=_0x378560['getAttribute']('src');this['_imageCache']['set'](_0x52f3e1,{'id':_0x4a4f0e['uuid'],'url':_0x4a4f0e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5048e3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5048e3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xac3ed8,_0x4efd5d){_0xac3ed8['on']('apply',(_0x559893,_0x55e101)=>{this['_replaceImage'](_0x4efd5d,_0x55e101['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xac3ed8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xac3ed8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1ae380,_0xbbecc3,_0xdf2b78){const _0x20dbe3=this['_editor'],{width:_0x48185b,height:_0x4ca513}=_0x1a014a(_0xbbecc3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xaa877e,imageSources:_0x369680}=_0x33545f(_0xbbecc3,_0x48185b);_0x20dbe3['model']['change'](_0x28bf1b=>{if('$graveyard'===_0x1ae380['root']['rootName']){_0x20dbe3['execute']('insertImage',{'imageType':_0x1ae380['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1ae380['getAttributes']()),'uploadcareImageId':_0xdf2b78,'src':_0xaa877e,'sources':_0x369680,'width':_0x48185b,'height':_0x4ca513}});const _0x5be1f8=_0x1ae380['getChildren']();_0x1ae380=_0x20dbe3['model']['document']['selection']['getSelectedElement']();for(const _0x1423bb of _0x5be1f8)_0x28bf1b['append'](_0x28bf1b['cloneElement'](_0x1423bb),_0x1ae380);}else _0x28bf1b['setSelection'](_0x1ae380,'on'),_0x20dbe3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1ae380['getAttributes']()),'uploadcareImageId':_0xdf2b78,'src':_0xaa877e,'sources':_0x369680,'width':_0x48185b,'height':_0x4ca513},_0x1ae380);_0x28bf1b['setSelection'](_0x1ae380,'on');});}async['_getImageAsFile'](_0x536071){const _0x5d8910=_0x5e05f1['window'],_0x5dd233=_0x5e05f1['document']['location']['href'],_0x32602d=new _0x5d8910['URL'](_0x536071['getAttribute']('src'),_0x5dd233);if('data:'===_0x32602d['protocol']){const _0x30cb51=_0x32602d['href']['split'](','),_0xfa548c=_0x30cb51[0x0]['match'](/:(.*?);/)[0x1],_0x197c2d=_0xfa548c['split']('/')[0x1],_0x51e67e=_0x5d8910['atob'](_0x30cb51[_0x30cb51['length']-0x1]);let _0x363877=_0x51e67e['length'];const _0x2a4579=new _0x5d8910['Uint8Array'](_0x363877);for(;_0x363877--;)_0x2a4579[_0x363877]=_0x51e67e['charCodeAt'](_0x363877);return new _0x5d8910['File']([_0x2a4579],'image.'+_0x197c2d,{'type':_0xfa548c});}const _0x4e3861=_0x32602d['href']['split']('/'),_0x3534b7=_0x4e3861[_0x4e3861['length']-0x1],_0x562900=_0x3534b7['split']('.')[0x1];return _0x5d8910['fetch'](_0x32602d['href'])['then'](_0x37d7c9=>_0x37d7c9['clone']()['blob']())['then'](_0x5dbbf1=>new _0x5d8910['File']([_0x5dbbf1],_0x3534b7,{'type':'image/'+_0x562900}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x532086,_0x5c1544){const _0x2fa411=_0x4c30,_0x3c6e9b=_0x532086();while(!![]){try{const _0x48d61c=-parseInt(_0x2fa411(0x1b1))/0x1*(parseInt(_0x2fa411(0x1a9))/0x2)+-parseInt(_0x2fa411(0x1a8))/0x3+-parseInt(_0x2fa411(0x1a5))/0x4+-parseInt(_0x2fa411(0x1ae))/0x5*(-parseInt(_0x2fa411(0x1b3))/0x6)+-parseInt(_0x2fa411(0x1b0))/0x7+-parseInt(_0x2fa411(0x1a6))/0x8+parseInt(_0x2fa411(0x1af))/0x9;if(_0x48d61c===_0x5c1544)break;else _0x3c6e9b['push'](_0x3c6e9b['shift']());}catch(_0x342730){_0x3c6e9b['push'](_0x3c6e9b['shift']());}}}(_0x2015,0x90eac));import{View as _0x154350}from'ckeditor5/src/ui.js';export default class tt extends _0x154350{constructor(_0x1b20ed,_0x499bc9){const _0x2dbd21=_0x4c30;super(_0x1b20ed);const _0x4ee1cc=this[_0x2dbd21(0x1ad)];this[_0x2dbd21(0x1b2)](_0x2dbd21(0x1ac),''),this[_0x2dbd21(0x1ab)]({'tag':_0x2dbd21(0x1b5),'attributes':{..._0x499bc9,'class':[_0x2dbd21(0x1b4),_0x2dbd21(0x1a7)],'ctx-name':_0x2dbd21(0x1aa),'cdn-url':_0x4ee1cc['to'](_0x2dbd21(0x1ac))}});}}function _0x4c30(_0x2308b9,_0x3d1c4a){const _0x20159a=_0x2015();return _0x4c30=function(_0x4c301c,_0x515055){_0x4c301c=_0x4c301c-0x1a5;let _0x1ca623=_0x20159a[_0x4c301c];return _0x1ca623;},_0x4c30(_0x2308b9,_0x3d1c4a);}function _0x2015(){const _0x76af36=['40600KgXxmY','1122315AJHxzO','set','378PzDTlj','uc-light','uc-cloud-image-editor','2033836igtrGw','3410392DvuZfH','ck-uploadcare-theme','1549950yBaisj','2CsRFay','image-edit','setTemplate','imageSrc','bindTemplate','74455JfrbRr','20114730lOqCFm'];_0x2015=function(){return _0x76af36;};return _0x2015();}
23
+ (function(_0x491164,_0x54e0ec){const _0x592ead=_0x56c2,_0x4c40b5=_0x491164();while(!![]){try{const _0xd46c31=-parseInt(_0x592ead(0x93))/0x1+parseInt(_0x592ead(0x98))/0x2+parseInt(_0x592ead(0x9f))/0x3*(parseInt(_0x592ead(0x9c))/0x4)+-parseInt(_0x592ead(0x99))/0x5*(-parseInt(_0x592ead(0x96))/0x6)+-parseInt(_0x592ead(0x9e))/0x7+-parseInt(_0x592ead(0xa0))/0x8+-parseInt(_0x592ead(0x9a))/0x9*(parseInt(_0x592ead(0x9d))/0xa);if(_0xd46c31===_0x54e0ec)break;else _0x4c40b5['push'](_0x4c40b5['shift']());}catch(_0x4b7ade){_0x4c40b5['push'](_0x4c40b5['shift']());}}}(_0x111d,0xefddc));import{View as _0x5d7fc1}from'ckeditor5/src/ui.js';function _0x111d(){const _0x976497=['setTemplate','ck-uploadcare-theme','390487oqmHRY','bindTemplate','set','12NUOulW','image-edit','3590482OcVTCM','3726270kelPbY','6724719ulDwZB','uc-light','3092252WkRikv','20eYAutN','6885060IDzlSy','3mqiFpG','1662968xWYPuU','uc-cloud-image-editor','imageSrc'];_0x111d=function(){return _0x976497;};return _0x111d();}function _0x56c2(_0x4bdc84,_0x30bdc9){const _0x111dce=_0x111d();return _0x56c2=function(_0x56c26e,_0x34993e){_0x56c26e=_0x56c26e-0x93;let _0x1fc750=_0x111dce[_0x56c26e];return _0x1fc750;},_0x56c2(_0x4bdc84,_0x30bdc9);}export default class tt extends _0x5d7fc1{constructor(_0xb19950,_0x591453){const _0x9a327a=_0x56c2;super(_0xb19950);const _0x4a1505=this[_0x9a327a(0x94)];this[_0x9a327a(0x95)](_0x9a327a(0xa2),''),this[_0x9a327a(0xa3)]({'tag':_0x9a327a(0xa1),'attributes':{..._0x591453,'class':[_0x9a327a(0x9b),_0x9a327a(0xa4)],'ctx-name':_0x9a327a(0x97),'cdn-url':_0x4a1505['to'](_0x9a327a(0xa2))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x461450,IconView as et,View as _0x77124}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x77124{constructor(_0x3d2e79){super(_0x3d2e79);const t=_0x3d2e79['t'];this['set']('errorType',null);const _0x3819bd=new _0x461450(_0x3d2e79);_0x3819bd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3819bd['withText']=!0x0,_0x3819bd['class']='ck-button-action',_0x3819bd['on']('execute',()=>{this['fire']('retry');}),_0x3819bd['bind']('isVisible')['to'](this,'errorType',_0x3fd937=>'NotFound'!==_0x3fd937);const _0x283e3f=new et();_0x283e3f['content']=at,_0x283e3f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x7b3d2f=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':[_0x283e3f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x7b3d2f['to']('errorType',_0x5491d1=>t('NotFound'!==_0x5491d1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3819bd]},{'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{ButtonView as _0x4233eb,IconView as et,View as _0x45515c}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x45515c{constructor(_0x223afa){super(_0x223afa);const t=_0x223afa['t'];this['set']('errorType',null);const _0x412de3=new _0x4233eb(_0x223afa);_0x412de3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x412de3['withText']=!0x0,_0x412de3['class']='ck-button-action',_0x412de3['on']('execute',()=>{this['fire']('retry');}),_0x412de3['bind']('isVisible')['to'](this,'errorType',_0x3aa3e4=>'NotFound'!==_0x3aa3e4);const _0x305b72=new et();_0x305b72['content']=at,_0x305b72['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5f4692=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':[_0x305b72,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5f4692['to']('errorType',_0x1800fb=>t('NotFound'!==_0x1800fb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x412de3]},{'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 _0x32b937,View as _0x2abbe4}from'ckeditor5/src/ui.js';export default class ta extends _0x2abbe4{constructor(_0x5f13e8){super(_0x5f13e8);const t=_0x5f13e8['t'],_0x5da8ba=this['bindTemplate'],_0x5ff1a6=new _0x32b937();_0x5ff1a6['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':[_0x5ff1a6,{'text':_0x5da8ba['to']('imageUploadProgress',_0x34f6a6=>t('Loading\x20image...')+'\x20('+(_0x34f6a6||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 _0x4a7b45,View as _0x236f99}from'ckeditor5/src/ui.js';export default class ta extends _0x236f99{constructor(_0x9272df){super(_0x9272df);const t=_0x9272df['t'],_0x2894bc=this['bindTemplate'],_0x16d059=new _0x4a7b45();_0x16d059['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':[_0x16d059,{'text':_0x2894bc['to']('imageUploadProgress',_0x1aed45=>t('Loading\x20image...')+'\x20('+(_0x1aed45||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 _0x3103a6=_0x3064;(function(_0x46c580,_0x299d9c){const _0x2e076d=_0x3064,_0x471ebc=_0x46c580();while(!![]){try{const _0x5eef5d=parseInt(_0x2e076d(0x1ef))/0x1+parseInt(_0x2e076d(0x20e))/0x2+parseInt(_0x2e076d(0x1ec))/0x3+parseInt(_0x2e076d(0x1e8))/0x4*(parseInt(_0x2e076d(0x210))/0x5)+parseInt(_0x2e076d(0x207))/0x6*(-parseInt(_0x2e076d(0x1fd))/0x7)+parseInt(_0x2e076d(0x219))/0x8+parseInt(_0x2e076d(0x213))/0x9*(-parseInt(_0x2e076d(0x1fa))/0xa);if(_0x5eef5d===_0x299d9c)break;else _0x471ebc['push'](_0x471ebc['shift']());}catch(_0x69eaa3){_0x471ebc['push'](_0x471ebc['shift']());}}}(_0x1764,0x5211e));function _0x1764(){const _0x4cf519=['_errorView','15BIhLZl','apply','once','5607PhDxdJ','_focusableView','_loadingView','disconnect','change:status','target','625192AsvYAA','_waitForImageEditorComponent','_setView','_items','set','add','612356XteqlY','ck-reset_all-excluded','_addErrorViewListeners','createCollection','1222890erJRft','getFocusableElement','ready','76532rsdUCw','error','toLowerCase','filter','detail','fire','uc-cloud-image-editor','element','length','_editingView','observe','7110qduoYs','nodeName','addEventListener','7BkhSXq','status','addedNodes','_addUploadcareImageEditorListeners','cdnUrl','cancel','setTemplate','clear','ck-uploadcare-form','addMany','3635934FTYvrR','render','uploading','querySelector','div','retry','focus','727044UrZyHa'];_0x1764=function(){return _0x4cf519;};return _0x1764();}import{View as _0x51e7db}from'ckeditor5/src/ui.js';import _0x3046c9 from'./uploadcareimageeditformloadingview.js';import _0xe08861 from'./uploadcareimageeditformerrorview.js';import _0x41f282 from'./uploadcareimageeditformeditingview.js';import _0x4d0e3d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x3064(_0x6bd159,_0x299ac2){const _0x1764d7=_0x1764();return _0x3064=function(_0x306499,_0xc226b1){_0x306499=_0x306499-0x1e8;let _0x335c74=_0x1764d7[_0x306499];return _0x335c74;},_0x3064(_0x6bd159,_0x299ac2);}export default class Z extends _0x4d0e3d{constructor(_0x17829e,_0x600e26,_0x2dea31){const _0x36e2f9=_0x3064;super(_0x17829e),this[_0x36e2f9(0x21c)]=this[_0x36e2f9(0x1eb)](),this[_0x36e2f9(0x215)]=new _0x3046c9(_0x17829e),this[_0x36e2f9(0x20f)]=new _0xe08861(_0x17829e),this[_0x36e2f9(0x1f8)]=new _0x41f282(_0x17829e,_0x2dea31),this[_0x36e2f9(0x214)]=new _0x51e7db(_0x17829e),this[_0x36e2f9(0x214)][_0x36e2f9(0x203)](this[_0x36e2f9(0x1ed)]()),this[_0x36e2f9(0x21d)](_0x36e2f9(0x1fe),_0x600e26),this[_0x36e2f9(0x203)]({'tag':_0x36e2f9(0x20b),'attributes':{'class':['ck',_0x36e2f9(0x1e9),_0x36e2f9(0x205)],'tabindex':'-1'},'children':this[_0x36e2f9(0x21c)]}),this[_0x36e2f9(0x21b)](),this[_0x36e2f9(0x212)](_0x36e2f9(0x208),()=>{const _0x214b9e=_0x36e2f9;this[_0x214b9e(0x21a)](this[_0x214b9e(0x1f6)],_0x1ecf89=>{const _0x3e2d23=_0x214b9e;this[_0x3e2d23(0x200)](_0x1ecf89);});}),this['on'](_0x36e2f9(0x217),()=>{const _0xc47da7=_0x36e2f9;this[_0xc47da7(0x21b)]();}),this[_0x36e2f9(0x1ea)]();}[_0x3103a6(0x20d)](){const _0x2d2111=_0x3103a6;this[_0x2d2111(0x1f6)][_0x2d2111(0x20d)]();}[_0x3103a6(0x21b)](){const _0x26b111=_0x3103a6;switch(this[_0x26b111(0x21c)][_0x26b111(0x204)](),this[_0x26b111(0x1fe)]){case _0x26b111(0x209):this[_0x26b111(0x21c)][_0x26b111(0x21e)](this[_0x26b111(0x215)]);break;case _0x26b111(0x1f0):this[_0x26b111(0x21c)][_0x26b111(0x21e)](this[_0x26b111(0x20f)]);break;case _0x26b111(0x1ee):this[_0x26b111(0x21c)][_0x26b111(0x206)]([this[_0x26b111(0x1f8)],this[_0x26b111(0x214)]]);}}[_0x3103a6(0x21a)](_0x51198b,_0x3c4c49){const _0x5de0bc=_0x3103a6,_0x2a3fe7=_0x5de0bc(0x1f5),_0x693ccf=_0x51198b[_0x5de0bc(0x20a)](_0x2a3fe7);if(_0x693ccf)return _0x3c4c49(_0x693ccf);const _0x2c2e0a=new MutationObserver(_0xb4f2b1=>{const _0x4c076d=_0x5de0bc,_0x448fac=_0xb4f2b1[_0x4c076d(0x1f2)](_0x3f4046=>_0x3f4046[_0x4c076d(0x218)]===_0x51198b&&_0x3f4046[_0x4c076d(0x1ff)][_0x4c076d(0x1f7)]>0x0&&_0x3f4046[_0x4c076d(0x1ff)][0x0][_0x4c076d(0x1fb)][_0x4c076d(0x1f1)]()===_0x2a3fe7);_0x448fac[_0x4c076d(0x1f7)]&&(_0x2c2e0a[_0x4c076d(0x216)](),_0x3c4c49(_0x448fac[0x0][_0x4c076d(0x1ff)][0x0]));});_0x2c2e0a[_0x5de0bc(0x1f9)](_0x51198b,{'childList':!0x0,'subtree':!0x0});}[_0x3103a6(0x200)](_0x3b6aa4){const _0x112fe7=_0x3103a6;_0x3b6aa4[_0x112fe7(0x1fc)](_0x112fe7(0x211),_0x1f06ed=>{const _0x5b0c72=_0x112fe7;this[_0x5b0c72(0x1f4)](_0x5b0c72(0x211),{'imageSrc':_0x1f06ed[_0x5b0c72(0x1f3)][_0x5b0c72(0x201)]});}),_0x3b6aa4[_0x112fe7(0x1fc)](_0x112fe7(0x202),()=>{const _0x13af08=_0x112fe7;this[_0x13af08(0x1f4)](_0x13af08(0x202));});}[_0x3103a6(0x1ea)](){const _0x3f2479=_0x3103a6;this[_0x3f2479(0x20f)]['on'](_0x3f2479(0x20c),()=>{const _0x518ffe=_0x3f2479;this[_0x518ffe(0x1f4)](_0x518ffe(0x20c));});}}
23
+ const _0x22ca5b=_0x1adc;function _0x1adc(_0x3527ea,_0x137b6e){const _0x5d6bec=_0x5d6b();return _0x1adc=function(_0x1adc80,_0x1769fc){_0x1adc80=_0x1adc80-0xb7;let _0x2ea875=_0x5d6bec[_0x1adc80];return _0x2ea875;},_0x1adc(_0x3527ea,_0x137b6e);}(function(_0x3298af,_0x5ec692){const _0x5e3126=_0x1adc,_0x30163c=_0x3298af();while(!![]){try{const _0x546f04=-parseInt(_0x5e3126(0xc2))/0x1+parseInt(_0x5e3126(0xdb))/0x2*(-parseInt(_0x5e3126(0xe7))/0x3)+parseInt(_0x5e3126(0xb7))/0x4+parseInt(_0x5e3126(0xdf))/0x5+parseInt(_0x5e3126(0xe5))/0x6+parseInt(_0x5e3126(0xe4))/0x7+parseInt(_0x5e3126(0xd4))/0x8*(parseInt(_0x5e3126(0xd3))/0x9);if(_0x546f04===_0x5ec692)break;else _0x30163c['push'](_0x30163c['shift']());}catch(_0x4d9351){_0x30163c['push'](_0x30163c['shift']());}}}(_0x5d6b,0xa10b6));function _0x5d6b(){const _0x45c395=['_addUploadcareImageEditorListeners','_addErrorViewListeners','uc-cloud-image-editor','addEventListener','length','div','add','addedNodes','9fXWeVb','6991048oJjvKe','observe','ck-reset_all-excluded','once','disconnect','filter','_waitForImageEditorComponent','15664BEOfZR','setTemplate','uploading','_editingView','1669095mbbbQs','error','target','render','retry','1012599IlPGbs','982866ICAkxD','nodeName','294xihNKp','cdnUrl','_items','apply','getFocusableElement','addMany','2775132SdRlup','cancel','status','toLowerCase','ready','fire','clear','createCollection','focus','change:status','_errorView','782777AfdwCg','querySelector','element','_setView','set','_loadingView','ck-uploadcare-form','detail','_focusableView'];_0x5d6b=function(){return _0x45c395;};return _0x5d6b();}import{View as _0x43e568}from'ckeditor5/src/ui.js';import _0x55e1dc from'./uploadcareimageeditformloadingview.js';import _0x1f758f from'./uploadcareimageeditformerrorview.js';import _0x21d281 from'./uploadcareimageeditformeditingview.js';import _0x58aa6d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x58aa6d{constructor(_0x2e477a,_0x4ebc7b,_0x538719){const _0x27ff9a=_0x1adc;super(_0x2e477a),this[_0x27ff9a(0xe9)]=this[_0x27ff9a(0xbe)](),this[_0x27ff9a(0xc7)]=new _0x55e1dc(_0x2e477a),this[_0x27ff9a(0xc1)]=new _0x1f758f(_0x2e477a),this[_0x27ff9a(0xde)]=new _0x21d281(_0x2e477a,_0x538719),this[_0x27ff9a(0xca)]=new _0x43e568(_0x2e477a),this[_0x27ff9a(0xca)][_0x27ff9a(0xdc)](this[_0x27ff9a(0xeb)]()),this[_0x27ff9a(0xc6)](_0x27ff9a(0xb9),_0x4ebc7b),this[_0x27ff9a(0xdc)]({'tag':_0x27ff9a(0xd0),'attributes':{'class':['ck',_0x27ff9a(0xd6),_0x27ff9a(0xc8)],'tabindex':'-1'},'children':this[_0x27ff9a(0xe9)]}),this[_0x27ff9a(0xc5)](),this[_0x27ff9a(0xd7)](_0x27ff9a(0xe2),()=>{const _0x555290=_0x27ff9a;this[_0x555290(0xda)](this[_0x555290(0xc4)],_0x5711cc=>{const _0x54a21a=_0x555290;this[_0x54a21a(0xcb)](_0x5711cc);});}),this['on'](_0x27ff9a(0xc0),()=>{const _0x13c4dd=_0x27ff9a;this[_0x13c4dd(0xc5)]();}),this[_0x27ff9a(0xcc)]();}[_0x22ca5b(0xbf)](){const _0x8453ab=_0x22ca5b;this[_0x8453ab(0xc4)][_0x8453ab(0xbf)]();}[_0x22ca5b(0xc5)](){const _0x47d0aa=_0x22ca5b;switch(this[_0x47d0aa(0xe9)][_0x47d0aa(0xbd)](),this[_0x47d0aa(0xb9)]){case _0x47d0aa(0xdd):this[_0x47d0aa(0xe9)][_0x47d0aa(0xd1)](this[_0x47d0aa(0xc7)]);break;case _0x47d0aa(0xe0):this[_0x47d0aa(0xe9)][_0x47d0aa(0xd1)](this[_0x47d0aa(0xc1)]);break;case _0x47d0aa(0xbb):this[_0x47d0aa(0xe9)][_0x47d0aa(0xec)]([this[_0x47d0aa(0xde)],this[_0x47d0aa(0xca)]]);}}[_0x22ca5b(0xda)](_0x2f99d7,_0x8d5476){const _0x2894bc=_0x22ca5b,_0x4bb1a4=_0x2894bc(0xcd),_0x4f16a0=_0x2f99d7[_0x2894bc(0xc3)](_0x4bb1a4);if(_0x4f16a0)return _0x8d5476(_0x4f16a0);const _0x56c0b5=new MutationObserver(_0x17eef1=>{const _0x4839c1=_0x2894bc,_0x2b3ba0=_0x17eef1[_0x4839c1(0xd9)](_0x13e6b7=>_0x13e6b7[_0x4839c1(0xe1)]===_0x2f99d7&&_0x13e6b7[_0x4839c1(0xd2)][_0x4839c1(0xcf)]>0x0&&_0x13e6b7[_0x4839c1(0xd2)][0x0][_0x4839c1(0xe6)][_0x4839c1(0xba)]()===_0x4bb1a4);_0x2b3ba0[_0x4839c1(0xcf)]&&(_0x56c0b5[_0x4839c1(0xd8)](),_0x8d5476(_0x2b3ba0[0x0][_0x4839c1(0xd2)][0x0]));});_0x56c0b5[_0x2894bc(0xd5)](_0x2f99d7,{'childList':!0x0,'subtree':!0x0});}[_0x22ca5b(0xcb)](_0x36d29f){const _0x3ad7fb=_0x22ca5b;_0x36d29f[_0x3ad7fb(0xce)](_0x3ad7fb(0xea),_0x22dafc=>{const _0x2b2b12=_0x3ad7fb;this[_0x2b2b12(0xbc)](_0x2b2b12(0xea),{'imageSrc':_0x22dafc[_0x2b2b12(0xc9)][_0x2b2b12(0xe8)]});}),_0x36d29f[_0x3ad7fb(0xce)](_0x3ad7fb(0xb8),()=>{const _0x10bbe5=_0x3ad7fb;this[_0x10bbe5(0xbc)](_0x10bbe5(0xb8));});}[_0x22ca5b(0xcc)](){const _0x5115f7=_0x22ca5b;this[_0x5115f7(0xc1)]['on'](_0x5115f7(0xe3),()=>{const _0x46b1d4=_0x5115f7;this[_0x46b1d4(0xbc)](_0x46b1d4(0xe3));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d3b86=_0x5f3b;(function(_0x2ed7b1,_0x5daf82){const _0x451da2=_0x5f3b,_0x236e65=_0x2ed7b1();while(!![]){try{const _0x25e5f0=-parseInt(_0x451da2(0x8c))/0x1+-parseInt(_0x451da2(0x97))/0x2*(parseInt(_0x451da2(0x88))/0x3)+parseInt(_0x451da2(0x92))/0x4*(-parseInt(_0x451da2(0x79))/0x5)+parseInt(_0x451da2(0x95))/0x6+-parseInt(_0x451da2(0x8a))/0x7+parseInt(_0x451da2(0x90))/0x8+parseInt(_0x451da2(0x7d))/0x9*(parseInt(_0x451da2(0x91))/0xa);if(_0x25e5f0===_0x5daf82)break;else _0x236e65['push'](_0x236e65['shift']());}catch(_0x23f439){_0x236e65['push'](_0x236e65['shift']());}}}(_0x30ca,0x482f7));import{Command as _0x3f150b}from'ckeditor5/src/core.js';import{Dialog as _0x2c3034}from'ckeditor5/src/ui.js';import _0x94c54d from'./ui/uploadcareimageeditcontroller.js';function _0x30ca(){const _0xb4094=['4wPTjIh','selection','model','2593116MnWyPN','editor','4ncnLOG','getSelectedElement','1562975URnakA','set','imageEditController','refresh','812898BdKnAI','imageInline','element','bind','execute','config','requires','isEnabled','document','imageBlock','plugins','562722MsSzEl','get','556654RjozbP','unbind','517630LydMGT','isActive','_isEditable','uploadcare.allowExternalImagesEditing','1238704izAPfG','110AmUhEc'];_0x30ca=function(){return _0xb4094;};return _0x30ca();}function _0x5f3b(_0x373191,_0x2df500){const _0x30caae=_0x30ca();return _0x5f3b=function(_0x5f3b79,_0x4bba3c){_0x5f3b79=_0x5f3b79-0x78;let _0x5d6d3b=_0x30caae[_0x5f3b79];return _0x5d6d3b;},_0x5f3b(_0x373191,_0x2df500);}import{createEditabilityChecker as _0x2dc8e2}from'../utils/editingutils.js';export default class V extends _0x3f150b{static get[_0x3d3b86(0x83)](){return[_0x2c3034];}constructor(_0x1ddf12){const _0x549d08=_0x3d3b86;super(_0x1ddf12),this[_0x549d08(0x7b)]=void 0x0,this[_0x549d08(0x8e)]=_0x2dc8e2(_0x1ddf12[_0x549d08(0x82)][_0x549d08(0x89)](_0x549d08(0x8f))||[]),this[_0x549d08(0x7a)]({'isActive':!0x1});}[_0x3d3b86(0x7c)](){const _0x329186=_0x3d3b86,_0x5d9378=this[_0x329186(0x96)][_0x329186(0x94)][_0x329186(0x85)][_0x329186(0x93)][_0x329186(0x78)]();this[_0x329186(0x84)]=this[_0x329186(0x8e)](_0x5d9378);}[_0x3d3b86(0x81)](){const _0x33c3c9=_0x3d3b86;this[_0x33c3c9(0x7b)]&&(this[_0x33c3c9(0x8b)](_0x33c3c9(0x8d)),this[_0x33c3c9(0x7b)]=void 0x0);const _0x38a681=this[_0x33c3c9(0x96)][_0x33c3c9(0x94)][_0x33c3c9(0x85)][_0x33c3c9(0x93)][_0x33c3c9(0x78)]();_0x38a681&&(_0x38a681['is'](_0x33c3c9(0x7f),_0x33c3c9(0x86))||_0x38a681['is'](_0x33c3c9(0x7f),_0x33c3c9(0x7e)))&&(this[_0x33c3c9(0x7b)]=new _0x94c54d(this[_0x33c3c9(0x96)],this[_0x33c3c9(0x96)][_0x33c3c9(0x87)][_0x33c3c9(0x89)](_0x2c3034),_0x38a681),this[_0x33c3c9(0x80)](_0x33c3c9(0x8d))['to'](this[_0x33c3c9(0x7b)],_0x33c3c9(0x8d)));}}
23
+ const _0x7a9d65=_0x3c38;(function(_0x1fe910,_0x33ba96){const _0x5d2ae4=_0x3c38,_0x854f78=_0x1fe910();while(!![]){try{const _0x56409d=-parseInt(_0x5d2ae4(0xa6))/0x1+-parseInt(_0x5d2ae4(0xb0))/0x2+-parseInt(_0x5d2ae4(0xaf))/0x3+-parseInt(_0x5d2ae4(0xb7))/0x4*(parseInt(_0x5d2ae4(0xb1))/0x5)+parseInt(_0x5d2ae4(0xab))/0x6+-parseInt(_0x5d2ae4(0xb4))/0x7*(parseInt(_0x5d2ae4(0xba))/0x8)+-parseInt(_0x5d2ae4(0xbd))/0x9*(-parseInt(_0x5d2ae4(0xbe))/0xa);if(_0x56409d===_0x33ba96)break;else _0x854f78['push'](_0x854f78['shift']());}catch(_0x5822dc){_0x854f78['push'](_0x854f78['shift']());}}}(_0x20bf,0xb64f7));import{Command as _0x55d50c}from'ckeditor5/src/core.js';import{Dialog as _0x5bcda4}from'ckeditor5/src/ui.js';function _0x3c38(_0x207618,_0xbb53e5){const _0x20bf7a=_0x20bf();return _0x3c38=function(_0x3c38a5,_0x4a771a){_0x3c38a5=_0x3c38a5-0xa5;let _0x153da5=_0x20bf7a[_0x3c38a5];return _0x153da5;},_0x3c38(_0x207618,_0xbb53e5);}import _0x285fea from'./ui/uploadcareimageeditcontroller.js';function _0x20bf(){const _0x2a5466=['5nlzEFi','config','unbind','7aNFVmD','model','_isEditable','4336716jMARwJ','imageInline','element','3491608TmuDXd','document','get','34056486cMNMLp','10jYgzpP','uploadcare.allowExternalImagesEditing','plugins','requires','execute','editor','imageBlock','isActive','383147qcnaZO','set','selection','getSelectedElement','imageEditController','1832364aHlFDz','bind','isEnabled','refresh','3660456vNRtKW','437552uwtRPo'];_0x20bf=function(){return _0x2a5466;};return _0x20bf();}import{createEditabilityChecker as _0x558a69}from'../utils/editingutils.js';export default class J extends _0x55d50c{static get[_0x7a9d65(0xc1)](){return[_0x5bcda4];}constructor(_0x58955c){const _0x3897ab=_0x7a9d65;super(_0x58955c),this[_0x3897ab(0xaa)]=void 0x0,this[_0x3897ab(0xb6)]=_0x558a69(_0x58955c[_0x3897ab(0xb2)][_0x3897ab(0xbc)](_0x3897ab(0xbf))||[]),this[_0x3897ab(0xa7)]({'isActive':!0x1});}[_0x7a9d65(0xae)](){const _0x42b4f3=_0x7a9d65,_0x476846=this[_0x42b4f3(0xc3)][_0x42b4f3(0xb5)][_0x42b4f3(0xbb)][_0x42b4f3(0xa8)][_0x42b4f3(0xa9)]();this[_0x42b4f3(0xad)]=this[_0x42b4f3(0xb6)](_0x476846);}[_0x7a9d65(0xc2)](){const _0x208b22=_0x7a9d65;this[_0x208b22(0xaa)]&&(this[_0x208b22(0xb3)](_0x208b22(0xa5)),this[_0x208b22(0xaa)]=void 0x0);const _0x49428e=this[_0x208b22(0xc3)][_0x208b22(0xb5)][_0x208b22(0xbb)][_0x208b22(0xa8)][_0x208b22(0xa9)]();_0x49428e&&(_0x49428e['is'](_0x208b22(0xb9),_0x208b22(0xc4))||_0x49428e['is'](_0x208b22(0xb9),_0x208b22(0xb8)))&&(this[_0x208b22(0xaa)]=new _0x285fea(this[_0x208b22(0xc3)],this[_0x208b22(0xc3)][_0x208b22(0xc0)][_0x208b22(0xbc)](_0x5bcda4),_0x49428e),this[_0x208b22(0xac)](_0x208b22(0xa5))['to'](this[_0x208b22(0xaa)],_0x208b22(0xa5)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5bb2(_0x5622b8,_0x461086){const _0x3834eb=_0x3834();return _0x5bb2=function(_0x5bb219,_0x52b30c){_0x5bb219=_0x5bb219-0x141;let _0x58e89e=_0x3834eb[_0x5bb219];return _0x58e89e;},_0x5bb2(_0x5622b8,_0x461086);}function _0x3834(){const _0x6154d7=['isOfficialPlugin','add','817299fXPEfe','commands','ImageEditing','5776232RWjDoD','init','1660425Fkszek','207863PMnbVr','UploadcareImageEditEditing','1578437ZYvDki','ImageUtils','isPremiumPlugin','requires','4uuxGHS','uploadcareImageReplace','62712TVRaIS','uploadcareImageEdit','pluginName','1625016ejgcaD'];_0x3834=function(){return _0x6154d7;};return _0x3834();}const _0x5f43d8=_0x5bb2;(function(_0x510689,_0x5e595e){const _0x378237=_0x5bb2,_0x1666e9=_0x510689();while(!![]){try{const _0x380f22=parseInt(_0x378237(0x146))/0x1+parseInt(_0x378237(0x14e))/0x2+-parseInt(_0x378237(0x154))/0x3+-parseInt(_0x378237(0x14c))/0x4*(parseInt(_0x378237(0x145))/0x5)+-parseInt(_0x378237(0x151))/0x6+parseInt(_0x378237(0x148))/0x7+parseInt(_0x378237(0x143))/0x8;if(_0x380f22===_0x5e595e)break;else _0x1666e9['push'](_0x1666e9['shift']());}catch(_0x95db18){_0x1666e9['push'](_0x1666e9['shift']());}}}(_0x3834,0x4c059));import{Plugin as _0x44875c}from'ckeditor5/src/core.js';import{Notification as _0x1f1458}from'ckeditor5/src/ui.js';import _0xfdfa37 from'./uploadcareimageeditcommand.js';import _0x5f57ed from'./uploadcareimagereplacecommand.js';import _0x392370 from'../uploadcareediting.js';export default class m extends _0x44875c{static get[_0x5f43d8(0x150)](){const _0x22ba25=_0x5f43d8;return _0x22ba25(0x147);}static get[_0x5f43d8(0x14b)](){const _0x3098d2=_0x5f43d8;return[_0x392370,_0x1f1458,_0x3098d2(0x149),_0x3098d2(0x142)];}static get[_0x5f43d8(0x152)](){return!0x0;}static get[_0x5f43d8(0x14a)](){return!0x0;}[_0x5f43d8(0x144)](){const _0xa8736f=_0x5f43d8,{editor:_0x39fe33}=this;_0x39fe33[_0xa8736f(0x141)][_0xa8736f(0x153)](_0xa8736f(0x14f),new _0xfdfa37(_0x39fe33)),_0x39fe33[_0xa8736f(0x141)][_0xa8736f(0x153)](_0xa8736f(0x14d),new _0x5f57ed(_0x39fe33));}}
23
+ const _0xafdecf=_0x2da4;(function(_0xd1f5c,_0x553167){const _0x3265f7=_0x2da4,_0x450a11=_0xd1f5c();while(!![]){try{const _0x4e2267=-parseInt(_0x3265f7(0xa0))/0x1+-parseInt(_0x3265f7(0x99))/0x2+-parseInt(_0x3265f7(0x93))/0x3+parseInt(_0x3265f7(0x8e))/0x4+parseInt(_0x3265f7(0x97))/0x5*(parseInt(_0x3265f7(0x90))/0x6)+-parseInt(_0x3265f7(0x91))/0x7+parseInt(_0x3265f7(0x9f))/0x8;if(_0x4e2267===_0x553167)break;else _0x450a11['push'](_0x450a11['shift']());}catch(_0x2c8881){_0x450a11['push'](_0x450a11['shift']());}}}(_0x16f3,0x6cc20));function _0x2da4(_0x23d4c3,_0x59ab29){const _0x16f325=_0x16f3();return _0x2da4=function(_0x2da466,_0x12f018){_0x2da466=_0x2da466-0x8d;let _0x300ac9=_0x16f325[_0x2da466];return _0x300ac9;},_0x2da4(_0x23d4c3,_0x59ab29);}function _0x16f3(){const _0x4fa865=['2074086rFlSLI','3577826AtnSlK','isOfficialPlugin','1984680KYXqAJ','uploadcareImageReplace','requires','ImageEditing','10CMtzMS','add','479682vzyxOs','ImageUtils','commands','pluginName','isPremiumPlugin','init','7401936CubtCt','421125zjvzhM','UploadcareImageEditEditing','2650048jxeHfR','uploadcareImageEdit'];_0x16f3=function(){return _0x4fa865;};return _0x16f3();}import{Plugin as _0x2fdc51}from'ckeditor5/src/core.js';import{Notification as _0x169dbe}from'ckeditor5/src/ui.js';import _0x34219f from'./uploadcareimageeditcommand.js';import _0x264701 from'./uploadcareimagereplacecommand.js';import _0xaec265 from'../uploadcareediting.js';export default class m extends _0x2fdc51{static get[_0xafdecf(0x9c)](){const _0x54e908=_0xafdecf;return _0x54e908(0x8d);}static get[_0xafdecf(0x95)](){const _0x4e4281=_0xafdecf;return[_0xaec265,_0x169dbe,_0x4e4281(0x9a),_0x4e4281(0x96)];}static get[_0xafdecf(0x92)](){return!0x0;}static get[_0xafdecf(0x9d)](){return!0x0;}[_0xafdecf(0x9e)](){const _0xdd5dfe=_0xafdecf,{editor:_0x3a36c9}=this;_0x3a36c9[_0xdd5dfe(0x9b)][_0xdd5dfe(0x98)](_0xdd5dfe(0x8f),new _0x34219f(_0x3a36c9)),_0x3a36c9[_0xdd5dfe(0x9b)][_0xdd5dfe(0x98)](_0xdd5dfe(0x94),new _0x264701(_0x3a36c9));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2b004e}from'ckeditor5/src/core.js';import{ButtonView as _0x315421}from'ckeditor5/src/ui.js';import{createElement as _0x49279a}from'ckeditor5/src/utils.js';import _0x5ac2d4 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x2b004e{constructor(){super(...arguments),this['_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 _0xb03b79=this['editor'];_0xb03b79['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34d9e0=>{const _0x422f3e=_0xb03b79['commands']['get']('uploadcareImageEdit'),_0x14bb1e=new _0x315421(_0x34d9e0),t=_0x34d9e0['t'];return _0x14bb1e['set']({'icon':_0x5ac2d4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x14bb1e['bind']('isEnabled')['to'](_0x422f3e),_0x14bb1e['bind']('isOn')['to'](_0x422f3e,'isActive'),this['listenTo'](_0x14bb1e,'execute',()=>{_0xb03b79['execute']('uploadcareImageEdit'),_0xb03b79['editing']['view']['focus']();}),_0x14bb1e;}),this['_initConfig']();}['_initConfig'](){const _0x3eb067=_0x49279a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3eb067),this['listenTo'](this['editor'],'destroy',()=>{_0x3eb067['remove']();});}}
23
+ import{Plugin as _0x27910a}from'ckeditor5/src/core.js';import{ButtonView as _0x8c1180}from'ckeditor5/src/ui.js';import{createElement as _0x4d4407}from'ckeditor5/src/utils.js';import _0x27af36 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x27910a{constructor(){super(...arguments),this['_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 _0x5217e3=this['editor'];_0x5217e3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5dcffc=>{const _0x5b2392=_0x5217e3['commands']['get']('uploadcareImageEdit'),_0x556fce=new _0x8c1180(_0x5dcffc),t=_0x5dcffc['t'];return _0x556fce['set']({'icon':_0x27af36,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x556fce['bind']('isEnabled')['to'](_0x5b2392),_0x556fce['bind']('isOn')['to'](_0x5b2392,'isActive'),this['listenTo'](_0x556fce,'execute',()=>{_0x5217e3['execute']('uploadcareImageEdit'),_0x5217e3['editing']['view']['focus']();}),_0x556fce;}),this['_initConfig']();}['_initConfig'](){const _0x249743=_0x4d4407(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x249743),this['listenTo'](this['editor'],'destroy',()=>{_0x249743['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26ed49=_0x2faa;function _0x2faa(_0x98f363,_0x39d23a){const _0x9ec767=_0x9ec7();return _0x2faa=function(_0x2faaa2,_0x2ca901){_0x2faaa2=_0x2faaa2-0x175;let _0x28f53c=_0x9ec767[_0x2faaa2];return _0x28f53c;},_0x2faa(_0x98f363,_0x39d23a);}(function(_0x5500c0,_0x2163d1){const _0x377438=_0x2faa,_0x44d8c0=_0x5500c0();while(!![]){try{const _0x1a333c=-parseInt(_0x377438(0x180))/0x1*(-parseInt(_0x377438(0x181))/0x2)+-parseInt(_0x377438(0x18f))/0x3+-parseInt(_0x377438(0x18e))/0x4+parseInt(_0x377438(0x18c))/0x5*(-parseInt(_0x377438(0x17a))/0x6)+parseInt(_0x377438(0x17e))/0x7*(parseInt(_0x377438(0x175))/0x8)+parseInt(_0x377438(0x182))/0x9*(parseInt(_0x377438(0x17d))/0xa)+-parseInt(_0x377438(0x18b))/0xb;if(_0x1a333c===_0x2163d1)break;else _0x44d8c0['push'](_0x44d8c0['shift']());}catch(_0x28b32c){_0x44d8c0['push'](_0x44d8c0['shift']());}}}(_0x9ec7,0x21d46));import{Command as _0x75923}from'ckeditor5/src/core.js';function _0x9ec7(){const _0x44e388=['document','11370NQMfRr','1477ihkima','sizes','170286fVSMhA','2PMnTso','2115sFgTyK','imageInline','refresh','isEnabled','element','setAttributes','change','getSelectedElement','editor','759979mvkCrX','632405fXCcTP','removeAttribute','186832yhyCSv','170544TEDcXP','8ZXvDcH','selection','model','imageBlock','execute','6EeRSsn','srcset'];_0x9ec7=function(){return _0x44e388;};return _0x9ec7();}export default class X extends _0x75923{[_0x26ed49(0x184)](){const _0x37eb71=_0x26ed49,_0x416d39=this[_0x37eb71(0x18a)][_0x37eb71(0x177)][_0x37eb71(0x17c)][_0x37eb71(0x176)][_0x37eb71(0x189)]();this[_0x37eb71(0x185)]=Boolean(_0x416d39&&(_0x416d39['is'](_0x37eb71(0x186),_0x37eb71(0x178))||_0x416d39['is'](_0x37eb71(0x186),_0x37eb71(0x183))));}[_0x26ed49(0x179)](_0x1cb749){const _0x4afb69=_0x26ed49,_0x5df55c=this[_0x4afb69(0x18a)][_0x4afb69(0x177)][_0x4afb69(0x17c)][_0x4afb69(0x176)][_0x4afb69(0x189)]();this[_0x4afb69(0x18a)][_0x4afb69(0x177)][_0x4afb69(0x188)](_0x127bd3=>{const _0xd0dd42=_0x4afb69;_0x127bd3[_0xd0dd42(0x187)](_0x1cb749,_0x5df55c),_0x127bd3[_0xd0dd42(0x18d)](_0xd0dd42(0x17b),_0x5df55c),_0x127bd3[_0xd0dd42(0x18d)](_0xd0dd42(0x17f),_0x5df55c);});}}
23
+ const _0x4d1631=_0x3cd6;(function(_0x3c331b,_0x57eb10){const _0x71cce7=_0x3cd6,_0x4c2bf0=_0x3c331b();while(!![]){try{const _0x1ad4f8=-parseInt(_0x71cce7(0x97))/0x1*(-parseInt(_0x71cce7(0x95))/0x2)+parseInt(_0x71cce7(0x80))/0x3*(parseInt(_0x71cce7(0x8e))/0x4)+parseInt(_0x71cce7(0x89))/0x5*(parseInt(_0x71cce7(0x7c))/0x6)+parseInt(_0x71cce7(0x85))/0x7+-parseInt(_0x71cce7(0x8c))/0x8*(parseInt(_0x71cce7(0x82))/0x9)+-parseInt(_0x71cce7(0x87))/0xa*(-parseInt(_0x71cce7(0x81))/0xb)+-parseInt(_0x71cce7(0x94))/0xc*(parseInt(_0x71cce7(0x90))/0xd);if(_0x1ad4f8===_0x57eb10)break;else _0x4c2bf0['push'](_0x4c2bf0['shift']());}catch(_0x5001ec){_0x4c2bf0['push'](_0x4c2bf0['shift']());}}}(_0x1da2,0x1e4ed));function _0x3cd6(_0xf79475,_0x3fdeb6){const _0x1da2b8=_0x1da2();return _0x3cd6=function(_0x3cd622,_0xfdbbe1){_0x3cd622=_0x3cd622-0x7b;let _0x479757=_0x1da2b8[_0x3cd622];return _0x479757;},_0x3cd6(_0xf79475,_0x3fdeb6);}import{Command as _0x52cb3d}from'ckeditor5/src/core.js';function _0x1da2(){const _0x11d41c=['selection','isEnabled','editor','5840364NprfLc','2NqCTLz','element','47326ntYhyc','setAttributes','6STwhrI','model','imageBlock','change','445551yRjNvX','32131DBcZdh','9yXPzcU','imageInline','sizes','1531264CZyWKQ','srcset','590VrwFzJ','execute','905815KxgVHR','getSelectedElement','refresh','1258072cOSvoA','removeAttribute','4UWoplo','document','13ygnxyy'];_0x1da2=function(){return _0x11d41c;};return _0x1da2();}export default class O extends _0x52cb3d{[_0x4d1631(0x8b)](){const _0xfad273=_0x4d1631,_0x550fd6=this[_0xfad273(0x93)][_0xfad273(0x7d)][_0xfad273(0x8f)][_0xfad273(0x91)][_0xfad273(0x8a)]();this[_0xfad273(0x92)]=Boolean(_0x550fd6&&(_0x550fd6['is'](_0xfad273(0x96),_0xfad273(0x7e))||_0x550fd6['is'](_0xfad273(0x96),_0xfad273(0x83))));}[_0x4d1631(0x88)](_0x506a7f){const _0xd2effa=_0x4d1631,_0x361ac9=this[_0xd2effa(0x93)][_0xd2effa(0x7d)][_0xd2effa(0x8f)][_0xd2effa(0x91)][_0xd2effa(0x8a)]();this[_0xd2effa(0x93)][_0xd2effa(0x7d)][_0xd2effa(0x7f)](_0x307b00=>{const _0x19776d=_0xd2effa;_0x307b00[_0x19776d(0x7b)](_0x506a7f,_0x361ac9),_0x307b00[_0x19776d(0x8d)](_0x19776d(0x86),_0x361ac9),_0x307b00[_0x19776d(0x8d)](_0x19776d(0x84),_0x361ac9);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x283d(){var _0x5d0a2=['7tSeJjL','1745360YSXGZP','1701213jfdrBH','4332512xAaiUl','4143498QyKCoH','198LzDiDU','isOfficialPlugin','33890rPshsp','isPremiumPlugin','requires','24348808ryUCbk','UploadcareImageEdit','pluginName','10562xKarrP','8FbMRay','124RNeHNx'];_0x283d=function(){return _0x5d0a2;};return _0x283d();}var _0x50709b=_0x2929;(function(_0x35d461,_0x3e203e){var _0x1b0477=_0x2929,_0x2d4f5f=_0x35d461();while(!![]){try{var _0x58c596=-parseInt(_0x1b0477(0x1c0))/0x1*(parseInt(_0x1b0477(0x1be))/0x2)+-parseInt(_0x1b0477(0x1c3))/0x3+-parseInt(_0x1b0477(0x1bf))/0x4*(-parseInt(_0x1b0477(0x1c2))/0x5)+-parseInt(_0x1b0477(0x1c5))/0x6*(parseInt(_0x1b0477(0x1c1))/0x7)+-parseInt(_0x1b0477(0x1c4))/0x8+-parseInt(_0x1b0477(0x1c6))/0x9*(parseInt(_0x1b0477(0x1c8))/0xa)+parseInt(_0x1b0477(0x1cb))/0xb;if(_0x58c596===_0x3e203e)break;else _0x2d4f5f['push'](_0x2d4f5f['shift']());}catch(_0x32aa46){_0x2d4f5f['push'](_0x2d4f5f['shift']());}}}(_0x283d,0x5d84c));import{Plugin as _0x45af92}from'ckeditor5/src/core.js';import _0x56ca39 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2929(_0x1f4ab1,_0x43d3e1){var _0x283d8e=_0x283d();return _0x2929=function(_0x2929cf,_0x544e06){_0x2929cf=_0x2929cf-0x1bc;var _0x3035f6=_0x283d8e[_0x2929cf];return _0x3035f6;},_0x2929(_0x1f4ab1,_0x43d3e1);}import _0x138dab from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x45af92{static get[_0x50709b(0x1bd)](){var _0x3f033c=_0x50709b;return _0x3f033c(0x1bc);}static get[_0x50709b(0x1ca)](){return[_0x56ca39,_0x138dab];}static get[_0x50709b(0x1c7)](){return!0x0;}static get[_0x50709b(0x1c9)](){return!0x0;}}
23
+ function _0x16e3(_0xfa738f,_0x19ff36){var _0x4f17cb=_0x4f17();return _0x16e3=function(_0x16e3f4,_0x379bb5){_0x16e3f4=_0x16e3f4-0x19e;var _0x338aa3=_0x4f17cb[_0x16e3f4];return _0x338aa3;},_0x16e3(_0xfa738f,_0x19ff36);}var _0x269a24=_0x16e3;(function(_0x107398,_0x3683e5){var _0x39963e=_0x16e3,_0x4413e6=_0x107398();while(!![]){try{var _0x5bb95c=-parseInt(_0x39963e(0x19e))/0x1+parseInt(_0x39963e(0x1a7))/0x2*(parseInt(_0x39963e(0x1a9))/0x3)+parseInt(_0x39963e(0x1a1))/0x4+-parseInt(_0x39963e(0x1a8))/0x5*(-parseInt(_0x39963e(0x1a4))/0x6)+-parseInt(_0x39963e(0x1a5))/0x7*(parseInt(_0x39963e(0x1ac))/0x8)+-parseInt(_0x39963e(0x1a3))/0x9*(-parseInt(_0x39963e(0x19f))/0xa)+-parseInt(_0x39963e(0x1a0))/0xb;if(_0x5bb95c===_0x3683e5)break;else _0x4413e6['push'](_0x4413e6['shift']());}catch(_0xb4a50e){_0x4413e6['push'](_0x4413e6['shift']());}}}(_0x4f17,0x2b7ef));import{Plugin as _0x1a02fd}from'ckeditor5/src/core.js';import _0x7637b1 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x31342b from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x1a02fd{static get[_0x269a24(0x1a6)](){var _0x847c1c=_0x269a24;return _0x847c1c(0x1ad);}static get[_0x269a24(0x1ab)](){return[_0x7637b1,_0x31342b];}static get[_0x269a24(0x1a2)](){return!0x0;}static get[_0x269a24(0x1aa)](){return!0x0;}}function _0x4f17(){var _0x86139f=['2885575LfthTk','1013216oklVzG','isOfficialPlugin','15453xdBbct','6yGrTbn','17745DCXZKD','pluginName','45256wZOssx','725045OeHwJj','24xBktEc','isPremiumPlugin','requires','648rxEexp','UploadcareImageEdit','100067aLiOfu','970roZqZe'];_0x4f17=function(){return _0x86139f;};return _0x4f17();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d63cf=_0x1938;(function(_0x28e124,_0x470642){const _0x1a047c=_0x1938,_0x1c4d52=_0x28e124();while(!![]){try{const _0x1656e2=parseInt(_0x1a047c(0x182))/0x1*(parseInt(_0x1a047c(0x1b1))/0x2)+-parseInt(_0x1a047c(0x175))/0x3*(parseInt(_0x1a047c(0x180))/0x4)+parseInt(_0x1a047c(0x1c0))/0x5+-parseInt(_0x1a047c(0x1a9))/0x6+-parseInt(_0x1a047c(0x1a6))/0x7*(parseInt(_0x1a047c(0x188))/0x8)+parseInt(_0x1a047c(0x18a))/0x9*(-parseInt(_0x1a047c(0x176))/0xa)+parseInt(_0x1a047c(0x18d))/0xb;if(_0x1656e2===_0x470642)break;else _0x1c4d52['push'](_0x1c4d52['shift']());}catch(_0xc2fa32){_0x1c4d52['push'](_0x1c4d52['shift']());}}}(_0x4d66,0xef6ef));import{Plugin as _0x47d27a,icons as _0x595868}from'ckeditor5/src/core.js';import{ButtonView as _0x5affb9,MenuBarMenuListItemButtonView as _0x51e842}from'ckeditor5/src/ui.js';import _0x47b9b0 from'../theme/icons/dropbox.svg';import _0x59e3b0 from'../theme/icons/facebook.svg';import _0x6359ad from'../theme/icons/google-drive.svg';function _0x4d66(){const _0x26656b=['uploadcareLicenseKeyInvalid','pluginName','Dropbox','uploadcareLicenseKeyDomainLimit','Replace','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','_licenseKeyCheckInterval','imageUpload','uploadcareLicenseKeyUsageLimit','Local','Uploadcare','_createToolbarButton','uploadcare','shortText','get','uploadcareLicenseKeyExpired','1752898SvdlXT','locale','ImageInsertUI','3241602VeyHZN','trialLimit','withText','bind','commands','uploadcareLicenseKeyValid','assetManager','isEnabled','274072YavCKH','editor','reduce','_getIntegrationKey','tooltip','domainLimit','label','text','afterInit','_createDropdownButtons','GDrive','isImageSelected','_createButton','invalid','uploadcareLicenseKeyTrialLimit','2562815TgCuGj','init','upload','Insert','UploadcareUI','_normalizeConfigSourceList','has','evaluationLimit','1378893fLsehv','70weIWjY','featureNotAllowed','map','url','execute','destroy','usageLimit','forEach','push','isOfficialPlugin','8FrSGiU','entries','10SEyyMT','uploadcare.uploader.sourceList','type','uploadcareLicenseKeyNotAllowed','OneDrive','GPhotos','56gAlBzU','Facebook','2253807kukuwO','URL','registerIntegration','44695024hbVTaQ','expired','icon','isPremiumPlugin','plugins','config','_createMenuBarButtons','licenseKey'];_0x4d66=function(){return _0x26656b;};return _0x4d66();}import _0x357c19 from'../theme/icons/google-photos.svg';function _0x1938(_0x2d7ea7,_0x74313e){const _0x4d664e=_0x4d66();return _0x1938=function(_0x1938c1,_0x24f9a5){_0x1938c1=_0x1938c1-0x175;let _0xa951ed=_0x4d664e[_0x1938c1];return _0xa951ed;},_0x1938(_0x2d7ea7,_0x74313e);}import _0x293cbe from'../theme/icons/link.svg';import _0x117819 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x2744a5}from'./uploadcareconfig.js';import{getTranslation as _0x18b2b0}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 default class e extends _0x47d27a{static get[_0x1d63cf(0x196)](){const _0x593a5e=_0x1d63cf;return _0x593a5e(0x1c4);}static get[_0x1d63cf(0x17f)](){return!0x0;}static get[_0x1d63cf(0x190)](){return!0x0;}[_0x1d63cf(0x1c1)](){const _0x7f0e60=_0x1d63cf;this[_0x7f0e60(0x194)]=this[_0x7f0e60(0x1b2)][_0x7f0e60(0x192)][_0x7f0e60(0x1a4)](_0x7f0e60(0x194));const _0x4525b5=this[_0x7f0e60(0x1b2)];this[_0x7f0e60(0x19c)]=setInterval(()=>{const _0x13e81e=_0x7f0e60;let _0x3144d2;for(const _0x29f693 in _0x4525b5){const _0x28f227=_0x29f693,_0x2efb30=_0x4525b5[_0x28f227];if(_0x13e81e(0x1ae)==_0x2efb30||_0x13e81e(0x195)==_0x2efb30||_0x13e81e(0x1a5)==_0x2efb30||_0x13e81e(0x198)==_0x2efb30||_0x13e81e(0x185)==_0x2efb30||_0x13e81e(0x19a)==_0x2efb30||_0x13e81e(0x1bf)==_0x2efb30||_0x13e81e(0x19e)==_0x2efb30){delete _0x4525b5[_0x28f227],_0x3144d2=_0x2efb30,clearInterval(this[_0x13e81e(0x19c)]),this[_0x13e81e(0x19c)]=void 0x0;break;}}_0x13e81e(0x195)==_0x3144d2&&_0x4525b5[_0x13e81e(0x19b)](_0x13e81e(0x1be)),_0x13e81e(0x1a5)==_0x3144d2&&_0x4525b5[_0x13e81e(0x19b)](_0x13e81e(0x18e)),_0x13e81e(0x198)==_0x3144d2&&_0x4525b5[_0x13e81e(0x19b)](_0x13e81e(0x1b6)),_0x13e81e(0x185)==_0x3144d2&&_0x4525b5[_0x13e81e(0x19b)](_0x13e81e(0x177),_0x13e81e(0x1a0)),_0x13e81e(0x19a)==_0x3144d2&&_0x4525b5[_0x13e81e(0x19b)](_0x13e81e(0x1c7)),_0x13e81e(0x1bf)==_0x3144d2&&_0x4525b5[_0x13e81e(0x19b)](_0x13e81e(0x1aa)),_0x13e81e(0x19e)==_0x3144d2&&_0x4525b5[_0x13e81e(0x19b)](_0x13e81e(0x17c));},0x3e8);}[_0x1d63cf(0x1b9)](){const _0x5ea99b=_0x1d63cf,{editor:_0x108463}=this,_0x5a6a4c=_0x108463[_0x5ea99b(0x1ad)][_0x5ea99b(0x1a4)](_0x5ea99b(0x1a2));if(!_0x5a6a4c)return;const _0xa16640=this[_0x5ea99b(0x1c5)](_0x108463[_0x5ea99b(0x192)][_0x5ea99b(0x1a4)](_0x5ea99b(0x183)))[_0x5ea99b(0x1b3)]((_0x3a37fe,_0xae78f7)=>{const _0x320944=_0x5ea99b,_0x1b3398=this[_0x320944(0x1b4)](_0xae78f7[_0x320944(0x184)]);return _0x3a37fe[_0x1b3398]||(_0x3a37fe[_0x1b3398]=[]),_0x3a37fe[_0x1b3398][_0x320944(0x17e)](_0xae78f7),_0x3a37fe;},{});_0x108463[_0x5ea99b(0x191)][_0x5ea99b(0x1c6)](_0x5ea99b(0x1a8))&&_0x108463[_0x5ea99b(0x1ad)][_0x5ea99b(0x1a4)](_0x5ea99b(0x1a2))&&Object[_0x5ea99b(0x181)](_0xa16640)[_0x5ea99b(0x17d)](([_0x286009,_0x4296b0])=>{const _0x482d9a=_0x5ea99b;_0x108463[_0x482d9a(0x191)][_0x482d9a(0x1a4)](_0x482d9a(0x1a8))[_0x482d9a(0x18c)]({'name':_0x286009,'observable':()=>_0x5a6a4c,'buttonViewCreator':()=>this[_0x482d9a(0x1a1)](_0x4296b0),'formViewCreator':()=>this[_0x482d9a(0x1ba)](_0x4296b0),'menuBarButtonViewCreator':()=>this[_0x482d9a(0x193)](_0x4296b0),'override':_0x482d9a(0x1af)!==_0x286009});});}[_0x1d63cf(0x17b)](){const _0x51582b=_0x1d63cf;super[_0x51582b(0x17b)](),this[_0x51582b(0x19c)]&&clearInterval(this[_0x51582b(0x19c)]);}[_0x1d63cf(0x1c5)](_0x24acc0){const _0x1d07c6=_0x1d63cf,{locale:_0xd80fe8}=this[_0x1d07c6(0x1b2)];return _0x24acc0[_0x1d07c6(0x178)](_0x1d5c23=>{const _0x283129=_0x1d07c6,_0x1b1992=_0x18b2b0(_0xd80fe8,_0x1d5c23,_0x283129(0x1c3));switch(_0x1d5c23){case _0x2744a5[_0x283129(0x19f)]:return{'icon':_0x595868[_0x283129(0x19d)],'type':_0x2744a5[_0x283129(0x19f)],..._0x1b1992};case _0x2744a5[_0x283129(0x18b)]:return{'icon':_0x293cbe,'type':_0x2744a5[_0x283129(0x18b)],..._0x1b1992};case _0x2744a5[_0x283129(0x197)]:return{'icon':_0x47b9b0,'type':_0x2744a5[_0x283129(0x197)],..._0x1b1992};case _0x2744a5[_0x283129(0x189)]:return{'icon':_0x59e3b0,'type':_0x2744a5[_0x283129(0x189)],..._0x1b1992};case _0x2744a5[_0x283129(0x1bb)]:return{'icon':_0x6359ad,'type':_0x2744a5[_0x283129(0x1bb)],..._0x1b1992};case _0x2744a5[_0x283129(0x187)]:return{'icon':_0x357c19,'type':_0x2744a5[_0x283129(0x187)],..._0x1b1992};case _0x2744a5[_0x283129(0x186)]:return{'icon':_0x117819,'type':_0x2744a5[_0x283129(0x186)],..._0x1b1992};}});}[_0x1d63cf(0x1b4)](_0x528be6){const _0x325cf9=_0x1d63cf;switch(_0x528be6){case _0x2744a5[_0x325cf9(0x19f)]:return _0x325cf9(0x1c2);case _0x2744a5[_0x325cf9(0x18b)]:return _0x325cf9(0x179);default:return _0x325cf9(0x1af);}}[_0x1d63cf(0x1bd)](_0x8ce602,_0x35a57b){const _0x1b0e2=_0x1d63cf,_0x53cf6b=this[_0x1b0e2(0x1b2)],_0x35b4b4=new _0x8ce602(_0x53cf6b[_0x1b0e2(0x1a7)]),_0x4a11d8=_0x53cf6b[_0x1b0e2(0x1ad)][_0x1b0e2(0x1a4)](_0x1b0e2(0x1a2));return _0x35b4b4[_0x1b0e2(0x1ac)](_0x1b0e2(0x1b0))['to'](_0x4a11d8),_0x35b4b4['on'](_0x1b0e2(0x17a),()=>{const _0x39f1ae=_0x1b0e2;_0x4a11d8[_0x39f1ae(0x17a)](_0x35a57b);}),_0x35b4b4;}[_0x1d63cf(0x1a1)](_0x3b61c6){const _0x5c900e=_0x1d63cf,{locale:_0x34861a}=this[_0x5c900e(0x1b2)],_0x2783d9=this[_0x5c900e(0x1b2)][_0x5c900e(0x191)][_0x5c900e(0x1a4)](_0x5c900e(0x1a8)),_0x3811b1=_0x3b61c6[0x0],_0x426f84=this[_0x5c900e(0x1bd)](_0x5affb9,_0x3811b1[_0x5c900e(0x184)]);return _0x426f84[_0x5c900e(0x18f)]=_0x3811b1[_0x5c900e(0x18f)],_0x426f84[_0x5c900e(0x1ac)](_0x5c900e(0x1b7))['to'](_0x2783d9,_0x5c900e(0x1bc),_0x181db8=>_0x18b2b0(_0x34861a,_0x3811b1[_0x5c900e(0x184)],_0x181db8?_0x5c900e(0x199):_0x5c900e(0x1c3))[_0x5c900e(0x1b8)]),_0x426f84[_0x5c900e(0x1b5)]=!0x0,_0x426f84;}[_0x1d63cf(0x1ba)](_0x1df6e1){const _0x43e580=_0x1d63cf,{locale:_0x350263}=this[_0x43e580(0x1b2)],_0x53fa27=this[_0x43e580(0x1b2)][_0x43e580(0x191)][_0x43e580(0x1a4)](_0x43e580(0x1a8));return _0x1df6e1[_0x43e580(0x178)](_0x442b57=>{const _0x180dde=_0x43e580,_0x300130=this[_0x180dde(0x1bd)](_0x5affb9,_0x442b57[_0x180dde(0x184)]);return _0x300130[_0x180dde(0x1ab)]=!0x0,_0x300130[_0x180dde(0x18f)]=_0x442b57[_0x180dde(0x18f)],_0x300130[_0x180dde(0x1ac)](_0x180dde(0x1b7))['to'](_0x53fa27,_0x180dde(0x1bc),_0x11da61=>_0x18b2b0(_0x350263,_0x442b57[_0x180dde(0x184)],_0x11da61?_0x180dde(0x199):_0x180dde(0x1c3))[_0x180dde(0x1b8)]),_0x300130;});}[_0x1d63cf(0x193)](_0x445772){const _0x39f3a1=_0x1d63cf;return _0x445772[_0x39f3a1(0x178)](_0x22b9ea=>{const _0x1bfe58=_0x39f3a1,_0x1bf153=this[_0x1bfe58(0x1bd)](_0x51e842,_0x22b9ea[_0x1bfe58(0x184)]);return _0x1bf153[_0x1bfe58(0x18f)]=_0x22b9ea[_0x1bfe58(0x18f)],_0x1bf153[_0x1bfe58(0x1b7)]=_0x22b9ea[_0x1bfe58(0x1a3)],_0x1bf153;});}}
23
+ const _0x49243b=_0x1c11;(function(_0x1a9fe4,_0x187c8c){const _0x383914=_0x1c11,_0x5f48fd=_0x1a9fe4();while(!![]){try{const _0x72c6c0=-parseInt(_0x383914(0x15f))/0x1+parseInt(_0x383914(0x146))/0x2+parseInt(_0x383914(0x16f))/0x3*(parseInt(_0x383914(0x140))/0x4)+-parseInt(_0x383914(0x151))/0x5+parseInt(_0x383914(0x16e))/0x6*(parseInt(_0x383914(0x160))/0x7)+parseInt(_0x383914(0x16a))/0x8+parseInt(_0x383914(0x12b))/0x9*(-parseInt(_0x383914(0x168))/0xa);if(_0x72c6c0===_0x187c8c)break;else _0x5f48fd['push'](_0x5f48fd['shift']());}catch(_0x5c9000){_0x5f48fd['push'](_0x5f48fd['shift']());}}}(_0x6050,0x5532b));import{Plugin as _0x51f0ed,icons as _0x292f70}from'ckeditor5/src/core.js';import{ButtonView as _0xf94b1d,MenuBarMenuListItemButtonView as _0x3de07f}from'ckeditor5/src/ui.js';import _0x493c63 from'../theme/icons/dropbox.svg';import _0x595950 from'../theme/icons/facebook.svg';import _0x44cde9 from'../theme/icons/google-drive.svg';function _0x1c11(_0x3a9715,_0x189487){const _0x605060=_0x6050();return _0x1c11=function(_0x1c11be,_0x3ea69b){_0x1c11be=_0x1c11be-0x12a;let _0x406040=_0x605060[_0x1c11be];return _0x406040;},_0x1c11(_0x3a9715,_0x189487);}import _0x18ccc1 from'../theme/icons/google-photos.svg';import _0x50f6e3 from'../theme/icons/link.svg';import _0x40c706 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x20f500}from'./uploadcareconfig.js';function _0x6050(){const _0x75bc6e=['destroy','locale','expired','Replace','domainLimit','uploadcareLicenseKeyDomainLimit','isEnabled','reduce','forEach','_getIntegrationKey','_createMenuBarButtons','159418VNPJPb','119nVFcJF','plugins','registerIntegration','GPhotos','_createDropdownButtons','label','map','get','10NGotGV','evaluationLimit','4962624CvoQsi','_licenseKeyCheckInterval','trialLimit','upload','88254TnTqaS','1467oWUxwP','push','Facebook','imageUpload','icon','uploadcare.uploader.sourceList','url','withText','invalid','type','commands','tooltip','Uploadcare','_createToolbarButton','9243279HtvGLt','execute','OneDrive','isOfficialPlugin','Dropbox','config','uploadcareLicenseKeyUsageLimit','GDrive','uploadcareLicenseKeyNotAllowed','isPremiumPlugin','usageLimit','Local','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','Insert','has','isImageSelected','editor','assetManager','URL','shortText','1740ssllNQ','_showLicenseError','entries','_normalizeConfigSourceList','pluginName','afterInit','1195994NYGiXD','uploadcareLicenseKeyExpired','init','licenseKey','_createButton','UploadcareUI','uploadcare','text','featureNotAllowed','bind','uploadcareLicenseKeyTrialLimit','728365OVZIae','ImageInsertUI','uploadcareLicenseKeyInvalid'];_0x6050=function(){return _0x75bc6e;};return _0x6050();}import{getTranslation as _0x482b98}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 default class e extends _0x51f0ed{static get[_0x49243b(0x144)](){const _0x2efedc=_0x49243b;return _0x2efedc(0x14b);}static get[_0x49243b(0x12e)](){return!0x0;}static get[_0x49243b(0x134)](){return!0x0;}[_0x49243b(0x148)](){const _0x465105=_0x49243b;this[_0x465105(0x149)]=this[_0x465105(0x13c)][_0x465105(0x130)][_0x465105(0x167)](_0x465105(0x149));const _0x4d9a30=this[_0x465105(0x13c)];this[_0x465105(0x16b)]=setInterval(()=>{const _0x136f09=_0x465105;let _0x3fa8b4;for(const _0x562349 in _0x4d9a30){const _0x4e7e3e=_0x562349,_0x507eb9=_0x4d9a30[_0x4e7e3e];if(_0x136f09(0x137)==_0x507eb9||_0x136f09(0x153)==_0x507eb9||_0x136f09(0x147)==_0x507eb9||_0x136f09(0x159)==_0x507eb9||_0x136f09(0x133)==_0x507eb9||_0x136f09(0x138)==_0x507eb9||_0x136f09(0x150)==_0x507eb9||_0x136f09(0x131)==_0x507eb9){delete _0x4d9a30[_0x4e7e3e],_0x3fa8b4=_0x507eb9,clearInterval(this[_0x136f09(0x16b)]),this[_0x136f09(0x16b)]=void 0x0;break;}}_0x136f09(0x153)==_0x3fa8b4&&_0x4d9a30[_0x136f09(0x141)](_0x136f09(0x177)),_0x136f09(0x147)==_0x3fa8b4&&_0x4d9a30[_0x136f09(0x141)](_0x136f09(0x156)),_0x136f09(0x159)==_0x3fa8b4&&_0x4d9a30[_0x136f09(0x141)](_0x136f09(0x158)),_0x136f09(0x133)==_0x3fa8b4&&_0x4d9a30[_0x136f09(0x141)](_0x136f09(0x14e),_0x136f09(0x17b)),_0x136f09(0x138)==_0x3fa8b4&&_0x4d9a30[_0x136f09(0x141)](_0x136f09(0x169)),_0x136f09(0x150)==_0x3fa8b4&&_0x4d9a30[_0x136f09(0x141)](_0x136f09(0x16c)),_0x136f09(0x131)==_0x3fa8b4&&_0x4d9a30[_0x136f09(0x141)](_0x136f09(0x135));},0x3e8);}[_0x49243b(0x145)](){const _0x1ca96f=_0x49243b,{editor:_0x8ee517}=this,_0x445f2a=_0x8ee517[_0x1ca96f(0x179)][_0x1ca96f(0x167)](_0x1ca96f(0x14c));if(!_0x445f2a)return;const _0x230edd=this[_0x1ca96f(0x143)](_0x8ee517[_0x1ca96f(0x130)][_0x1ca96f(0x167)](_0x1ca96f(0x174)))[_0x1ca96f(0x15b)]((_0x44a1a4,_0x39adff)=>{const _0x2c74d6=_0x1ca96f,_0x2182cd=this[_0x2c74d6(0x15d)](_0x39adff[_0x2c74d6(0x178)]);return _0x44a1a4[_0x2182cd]||(_0x44a1a4[_0x2182cd]=[]),_0x44a1a4[_0x2182cd][_0x2c74d6(0x170)](_0x39adff),_0x44a1a4;},{});_0x8ee517[_0x1ca96f(0x161)][_0x1ca96f(0x13a)](_0x1ca96f(0x152))&&_0x8ee517[_0x1ca96f(0x179)][_0x1ca96f(0x167)](_0x1ca96f(0x14c))&&Object[_0x1ca96f(0x142)](_0x230edd)[_0x1ca96f(0x15c)](([_0x572111,_0x2a582d])=>{const _0x2c7c9a=_0x1ca96f;_0x8ee517[_0x2c7c9a(0x161)][_0x2c7c9a(0x167)](_0x2c7c9a(0x152))[_0x2c7c9a(0x162)]({'name':_0x572111,'observable':()=>_0x445f2a,'buttonViewCreator':()=>this[_0x2c7c9a(0x12a)](_0x2a582d),'formViewCreator':()=>this[_0x2c7c9a(0x164)](_0x2a582d),'menuBarButtonViewCreator':()=>this[_0x2c7c9a(0x15e)](_0x2a582d),'override':_0x2c7c9a(0x13d)!==_0x572111});});}[_0x49243b(0x154)](){const _0x3c49b3=_0x49243b;super[_0x3c49b3(0x154)](),this[_0x3c49b3(0x16b)]&&clearInterval(this[_0x3c49b3(0x16b)]);}[_0x49243b(0x143)](_0x119a7b){const _0x5f3fbe=_0x49243b,{locale:_0x222769}=this[_0x5f3fbe(0x13c)];return _0x119a7b[_0x5f3fbe(0x166)](_0x505ba4=>{const _0xbeaf9c=_0x5f3fbe,_0x47302e=_0x482b98(_0x222769,_0x505ba4,_0xbeaf9c(0x139));switch(_0x505ba4){case _0x20f500[_0xbeaf9c(0x136)]:return{'icon':_0x292f70[_0xbeaf9c(0x172)],'type':_0x20f500[_0xbeaf9c(0x136)],..._0x47302e};case _0x20f500[_0xbeaf9c(0x13e)]:return{'icon':_0x50f6e3,'type':_0x20f500[_0xbeaf9c(0x13e)],..._0x47302e};case _0x20f500[_0xbeaf9c(0x12f)]:return{'icon':_0x493c63,'type':_0x20f500[_0xbeaf9c(0x12f)],..._0x47302e};case _0x20f500[_0xbeaf9c(0x171)]:return{'icon':_0x595950,'type':_0x20f500[_0xbeaf9c(0x171)],..._0x47302e};case _0x20f500[_0xbeaf9c(0x132)]:return{'icon':_0x44cde9,'type':_0x20f500[_0xbeaf9c(0x132)],..._0x47302e};case _0x20f500[_0xbeaf9c(0x163)]:return{'icon':_0x18ccc1,'type':_0x20f500[_0xbeaf9c(0x163)],..._0x47302e};case _0x20f500[_0xbeaf9c(0x12d)]:return{'icon':_0x40c706,'type':_0x20f500[_0xbeaf9c(0x12d)],..._0x47302e};}});}[_0x49243b(0x15d)](_0x3731da){const _0xb94e80=_0x49243b;switch(_0x3731da){case _0x20f500[_0xb94e80(0x136)]:return _0xb94e80(0x16d);case _0x20f500[_0xb94e80(0x13e)]:return _0xb94e80(0x175);default:return _0xb94e80(0x13d);}}[_0x49243b(0x14a)](_0x17f5f9,_0x153eb3){const _0x35e93d=_0x49243b,_0x23c880=this[_0x35e93d(0x13c)],_0x27db79=new _0x17f5f9(_0x23c880[_0x35e93d(0x155)]),_0x55022e=_0x23c880[_0x35e93d(0x179)][_0x35e93d(0x167)](_0x35e93d(0x14c));return _0x27db79[_0x35e93d(0x14f)](_0x35e93d(0x15a))['to'](_0x55022e),_0x27db79['on'](_0x35e93d(0x12c),()=>{const _0x17064e=_0x35e93d;_0x55022e[_0x17064e(0x12c)](_0x153eb3);}),_0x27db79;}[_0x49243b(0x12a)](_0x1b7bf8){const _0x330791=_0x49243b,{locale:_0x8eb675}=this[_0x330791(0x13c)],_0x6ba387=this[_0x330791(0x13c)][_0x330791(0x161)][_0x330791(0x167)](_0x330791(0x152)),_0x3368fc=_0x1b7bf8[0x0],_0x38c303=this[_0x330791(0x14a)](_0xf94b1d,_0x3368fc[_0x330791(0x178)]);return _0x38c303[_0x330791(0x173)]=_0x3368fc[_0x330791(0x173)],_0x38c303[_0x330791(0x14f)](_0x330791(0x165))['to'](_0x6ba387,_0x330791(0x13b),_0xef295=>_0x482b98(_0x8eb675,_0x3368fc[_0x330791(0x178)],_0xef295?_0x330791(0x157):_0x330791(0x139))[_0x330791(0x14d)]),_0x38c303[_0x330791(0x17a)]=!0x0,_0x38c303;}[_0x49243b(0x164)](_0x39cc8b){const _0x12c3e8=_0x49243b,{locale:_0x3be732}=this[_0x12c3e8(0x13c)],_0x32ec8c=this[_0x12c3e8(0x13c)][_0x12c3e8(0x161)][_0x12c3e8(0x167)](_0x12c3e8(0x152));return _0x39cc8b[_0x12c3e8(0x166)](_0x332c0e=>{const _0x471fab=_0x12c3e8,_0x13943d=this[_0x471fab(0x14a)](_0xf94b1d,_0x332c0e[_0x471fab(0x178)]);return _0x13943d[_0x471fab(0x176)]=!0x0,_0x13943d[_0x471fab(0x173)]=_0x332c0e[_0x471fab(0x173)],_0x13943d[_0x471fab(0x14f)](_0x471fab(0x165))['to'](_0x32ec8c,_0x471fab(0x13b),_0x480325=>_0x482b98(_0x3be732,_0x332c0e[_0x471fab(0x178)],_0x480325?_0x471fab(0x157):_0x471fab(0x139))[_0x471fab(0x14d)]),_0x13943d;});}[_0x49243b(0x15e)](_0x260358){const _0x5b96a5=_0x49243b;return _0x260358[_0x5b96a5(0x166)](_0x12f8a3=>{const _0xda074=_0x5b96a5,_0x545b62=this[_0xda074(0x14a)](_0x3de07f,_0x12f8a3[_0xda074(0x178)]);return _0x545b62[_0xda074(0x173)]=_0x12f8a3[_0xda074(0x173)],_0x545b62[_0xda074(0x165)]=_0x12f8a3[_0xda074(0x13f)],_0x545b62;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x282dac}from'ckeditor5/src/core.js';import{FileRepository as _0x5f2be2}from'ckeditor5/src/upload.js';import _0x2f339f from'./uploadcareediting.js';import _0x3bbffb from'./utils/uploadutils.js';import{getImageUrls as _0x457354}from'./utils/editingutils.js';export default class f extends _0x282dac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5f2be2,_0x2f339f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x315fd6=this['editor'];if(!!!_0x315fd6['config']['get']('uploadcare'))return;_0x315fd6['plugins']['get'](_0x5f2be2)['createUploadAdapter']=_0x1c1dc4=>new E(_0x1c1dc4,_0x315fd6),_0x315fd6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x18cfd1,{imageElement:_0x295973,data:_0x5cc557})=>{_0x315fd6['model']['change'](_0x345bc1=>{_0x345bc1['setAttribute']('uploadcareImageId',_0x5cc557['uploadcareImageId'],_0x295973);});});}}class E{constructor(_0x57f296,_0x58bce8){this['loader']=_0x57f296,this['editor']=_0x58bce8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xb528bf=this['editor']['config']['get']('uploadcare.pubkey'),_0x5120c5=await this['loader']['file'];return _0x3bbffb['upload']({'file':_0x5120c5,'publicKey':_0xb528bf,'signal':this['controller']['signal'],'onProgress':_0x3617e4=>{_0x3617e4&&_0x3617e4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3617e4['value']);}})['then'](async _0x335ca5=>{const {imageFallbackUrl:_0x32959e,imageSources:_0x20d750}=_0x457354(_0x335ca5['cdnUrl'],_0x335ca5['imageInfo']['width']);return{'uploadcareImageId':_0x335ca5['uuid'],'default':_0x32959e,'sources':_0x20d750};})['catch'](()=>{const _0x2ac8b3=t('Cannot\x20upload\x20file:')+('\x20'+_0x5120c5['name']+'.');return Promise['reject'](_0x2ac8b3);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3ded81}from'ckeditor5/src/core.js';import{FileRepository as _0x5bdf30}from'ckeditor5/src/upload.js';import _0x40f5d0 from'./uploadcareediting.js';import _0x24e507 from'./utils/uploadutils.js';import{getImageUrls as _0x210676}from'./utils/editingutils.js';export default class f extends _0x3ded81{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5bdf30,_0x40f5d0];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x23118f=this['editor'];if(!!!_0x23118f['config']['get']('uploadcare'))return;_0x23118f['plugins']['get'](_0x5bdf30)['createUploadAdapter']=_0x44bf49=>new E(_0x44bf49,_0x23118f),_0x23118f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x389636,{imageElement:_0x4e03ea,data:_0x371f3c})=>{_0x23118f['model']['change'](_0x5318c1=>{_0x5318c1['setAttribute']('uploadcareImageId',_0x371f3c['uploadcareImageId'],_0x4e03ea);});});}}class E{constructor(_0x46fb5d,_0x50b41c){this['loader']=_0x46fb5d,this['editor']=_0x50b41c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2548f9=this['editor']['config']['get']('uploadcare.pubkey'),_0x4b5523=await this['loader']['file'];return _0x24e507['upload']({'file':_0x4b5523,'publicKey':_0x2548f9,'signal':this['controller']['signal'],'onProgress':_0x12a445=>{_0x12a445&&_0x12a445['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x12a445['value']);}})['then'](async _0x977d93=>{const {imageFallbackUrl:_0x311e04,imageSources:_0x517c91}=_0x210676(_0x977d93['cdnUrl'],_0x977d93['imageInfo']['width']);return{'uploadcareImageId':_0x977d93['uuid'],'default':_0x311e04,'sources':_0x517c91};})['catch'](()=>{const _0xf193f3=t('Cannot\x20upload\x20file:')+('\x20'+_0x4b5523['name']+'.');return Promise['reject'](_0xf193f3);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3ff2f7}from'../uploadcareconfig.js';export function getTranslation(_0x13cbcf,_0x94a547,_0x227e4e){const t=_0x13cbcf['t'],_0x19f4da=_0x13cbcf['t'];switch(_0x94a547){case _0x3ff2f7['Local']:return{'text':_0x19f4da('Insert'===_0x227e4e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x19f4da('From\x20computer')};case _0x3ff2f7['URL']:return{'text':'Insert'===_0x227e4e?_0x19f4da('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x19f4da('Via\x20URL')};case _0x3ff2f7['Dropbox']:return{'text':t('Insert'===_0x227e4e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3ff2f7['Facebook']:return{'text':t('Insert'===_0x227e4e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3ff2f7['GDrive']:return{'text':t('Insert'===_0x227e4e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3ff2f7['GPhotos']:return{'text':t('Insert'===_0x227e4e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3ff2f7['OneDrive']:return{'text':t('Insert'===_0x227e4e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x94a547;}}
23
+ import{UploadcareSource as _0x1c37d0}from'../uploadcareconfig.js';export function getTranslation(_0x31bd89,_0x4a1f09,_0x39a37c){const t=_0x31bd89['t'],_0x358e0a=_0x31bd89['t'];switch(_0x4a1f09){case _0x1c37d0['Local']:return{'text':_0x358e0a('Insert'===_0x39a37c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x358e0a('From\x20computer')};case _0x1c37d0['URL']:return{'text':'Insert'===_0x39a37c?_0x358e0a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x358e0a('Via\x20URL')};case _0x1c37d0['Dropbox']:return{'text':t('Insert'===_0x39a37c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1c37d0['Facebook']:return{'text':t('Insert'===_0x39a37c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1c37d0['GDrive']:return{'text':t('Insert'===_0x39a37c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1c37d0['GPhotos']:return{'text':t('Insert'===_0x39a37c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1c37d0['OneDrive']:return{'text':t('Insert'===_0x39a37c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4a1f09;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5903af=_0xd5e1;function _0x5a38(){var _0x166092=['8iMmCVS','732582tjpPOj','focusCycler','4170947hEIcJr','131808KNHBuM','13fpFMrn','bindTemplate','div','1982LTeOgL','14777172ztuUjC','136LWDjYo','getFocusableElement','true','fire','forwardCycle','focusTracker','7sgYgQE','2219121AOdrGF','2388894pHpHGx','15FQavaA','10VMXfoO','createCollection'];_0x5a38=function(){return _0x166092;};return _0x5a38();}(function(_0x1c7923,_0x11ee42){var _0x4391cd=_0xd5e1,_0x19d99c=_0x1c7923();while(!![]){try{var _0x52c8bf=parseInt(_0x4391cd(0x12a))/0x1*(-parseInt(_0x4391cd(0x12c))/0x2)+parseInt(_0x4391cd(0x123))/0x3+-parseInt(_0x4391cd(0x126))/0x4*(parseInt(_0x4391cd(0x11f))/0x5)+-parseInt(_0x4391cd(0x11e))/0x6*(parseInt(_0x4391cd(0x11c))/0x7)+parseInt(_0x4391cd(0x122))/0x8*(-parseInt(_0x4391cd(0x11d))/0x9)+-parseInt(_0x4391cd(0x120))/0xa*(parseInt(_0x4391cd(0x125))/0xb)+-parseInt(_0x4391cd(0x12b))/0xc*(-parseInt(_0x4391cd(0x127))/0xd);if(_0x52c8bf===_0x11ee42)break;else _0x19d99c['push'](_0x19d99c['shift']());}catch(_0x506345){_0x19d99c['push'](_0x19d99c['shift']());}}}(_0x5a38,0x353f2));import{FocusTracker as _0x3aafe1}from'ckeditor5/src/utils.js';import{View as _0x111dd0,FocusCycler as _0x21baab}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0xd5e1(_0x1ed5a5,_0x5141e1){var _0x5a3899=_0x5a38();return _0xd5e1=function(_0xd5e183,_0x540292){_0xd5e183=_0xd5e183-0x11b;var _0x40ba63=_0x5a3899[_0xd5e183];return _0x40ba63;},_0xd5e1(_0x1ed5a5,_0x5141e1);}export default class q extends _0x111dd0{constructor(_0x310a2c){var _0x490495=_0xd5e1;super(_0x310a2c),this[_0x490495(0x11b)]=new _0x3aafe1(),this[_0x490495(0x124)]=new _0x21baab({'focusables':this[_0x490495(0x121)](),'focusTracker':this[_0x490495(0x11b)]});}[_0x5903af(0x12d)](){var _0x55a447=_0x5903af;return{'tag':_0x55a447(0x129),'attributes':{'aria-hidden':_0x55a447(0x12e),'tabindex':'0'},'on':{'focus':this[_0x55a447(0x128)]['to'](()=>{var _0x1edee8=_0x55a447;this[_0x1edee8(0x124)][_0x1edee8(0x12f)](_0x1edee8(0x130));})}};}}
23
+ var _0x536d95=_0x51bd;(function(_0x528d0e,_0x23b118){var _0x3c9aee=_0x51bd,_0x2c08ab=_0x528d0e();while(!![]){try{var _0x445bb1=-parseInt(_0x3c9aee(0x1b9))/0x1*(-parseInt(_0x3c9aee(0x1bb))/0x2)+parseInt(_0x3c9aee(0x1ab))/0x3*(-parseInt(_0x3c9aee(0x1b4))/0x4)+-parseInt(_0x3c9aee(0x1b1))/0x5*(parseInt(_0x3c9aee(0x1ad))/0x6)+-parseInt(_0x3c9aee(0x1b6))/0x7*(-parseInt(_0x3c9aee(0x1a6))/0x8)+-parseInt(_0x3c9aee(0x1a7))/0x9*(parseInt(_0x3c9aee(0x1b3))/0xa)+-parseInt(_0x3c9aee(0x1bc))/0xb*(-parseInt(_0x3c9aee(0x1ae))/0xc)+parseInt(_0x3c9aee(0x1b0))/0xd*(parseInt(_0x3c9aee(0x1b5))/0xe);if(_0x445bb1===_0x23b118)break;else _0x2c08ab['push'](_0x2c08ab['shift']());}catch(_0x584cfb){_0x2c08ab['push'](_0x2c08ab['shift']());}}}(_0x439a,0xbbcee));function _0x439a(){var _0x515d4f=['4SMHOqB','33240214bUsuRA','46872rnMiPR','createCollection','div','36994qpCGwv','fire','10vPOPNy','33XfrMWo','864qoawcR','54639oPlIpt','true','focusCycler','getFocusableElement','2009682TjLdYm','forwardCycle','5284182UwTmTW','885036WbSILP','focusTracker','13hkdHSd','5eYUnQW','bindTemplate','1950jLGZvU'];_0x439a=function(){return _0x515d4f;};return _0x439a();}import{FocusTracker as _0x35a159}from'ckeditor5/src/utils.js';function _0x51bd(_0x20c50c,_0x401feb){var _0x439ac8=_0x439a();return _0x51bd=function(_0x51bde7,_0x7f3900){_0x51bde7=_0x51bde7-0x1a6;var _0x37d308=_0x439ac8[_0x51bde7];return _0x37d308;},_0x51bd(_0x20c50c,_0x401feb);}import{View as _0x27d363,FocusCycler as _0x164601}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x27d363{constructor(_0x59b378){var _0x24d367=_0x51bd;super(_0x59b378),this[_0x24d367(0x1af)]=new _0x35a159(),this[_0x24d367(0x1a9)]=new _0x164601({'focusables':this[_0x24d367(0x1b7)](),'focusTracker':this[_0x24d367(0x1af)]});}[_0x536d95(0x1aa)](){var _0x1999a3=_0x536d95;return{'tag':_0x1999a3(0x1b8),'attributes':{'aria-hidden':_0x1999a3(0x1a8),'tabindex':'0'},'on':{'focus':this[_0x1999a3(0x1b2)]['to'](()=>{var _0x154423=_0x1999a3;this[_0x154423(0x1a9)][_0x154423(0x1ba)](_0x154423(0x1ac));})}};}}