@ckeditor/ckeditor5-uploadcare 47.0.0-alpha.4 → 47.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53649d=_0x8ac7;(function(_0x3a452f,_0x2191d5){const _0x51a481=_0x8ac7,_0x598713=_0x3a452f();while(!![]){try{const _0x5c0b77=-parseInt(_0x51a481(0xf5))/0x1+-parseInt(_0x51a481(0xd1))/0x2+-parseInt(_0x51a481(0xf1))/0x3+parseInt(_0x51a481(0xb8))/0x4+parseInt(_0x51a481(0xc2))/0x5*(parseInt(_0x51a481(0xed))/0x6)+parseInt(_0x51a481(0x103))/0x7*(-parseInt(_0x51a481(0xe6))/0x8)+parseInt(_0x51a481(0xbd))/0x9;if(_0x5c0b77===_0x2191d5)break;else _0x598713['push'](_0x598713['shift']());}catch(_0x376478){_0x598713['push'](_0x598713['shift']());}}}(_0x5b7e,0xf3ba3));import{Plugin as _0x3caf6a}from'ckeditor5/src/core.js';import{Dialog as _0x4b9b51}from'ckeditor5/src/ui.js';function _0x5b7e(){const _0x3308a7=['closeMax','removeAttribute','schema','configElement','25hkyGQV','querySelector','locale','selection','view','add','execute','requires','uploader-','replaceImageSource','_configElement','_initConfig','editing','isPremiumPlugin','remove','2726380wTpSJN','elementToAttribute','downcast','listenTo','contentLanguage','editor','PictureEditing','UploadcareEditing','config','render','model','once','_initCtx','_initSchema','conversion','getAttribute','isOfficialPlugin','body','document','insertImage','pluginName','784XIMqWi','ucContextId','uploadcareImageReplace','destroy','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','imageBlock','_ctxElement','1534866TnoXZx','uploadcare.uploader','data-uc-image-id','fromCharCode','777426Gvelpt','uc-upload-ctx-provider','attributeToAttribute','iconHrefResolver','790457DvZSjA','get','href','_initConversion','uc-config','imageInline','uploadcare','isRegistered','uploadcareImageId','join','uploadcare.pubkey','appendChild','map','cleanupImage','72247mVQWqG','extend','#uc-icon-arrow-down','input[uploadcare-file-input]','upcast','_initImageProcessingIndicator','for','init','ctxElement','4579500ZOJcQU','commands','afterInit','getSelectedElement','true','17987616rvPVER'];_0x5b7e=function(){return _0x3308a7;};return _0x5b7e();}import{createElement as _0x118585,global as _0x117ee1,uid as _0x1dc983}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xccd49d}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2d0055}from'./uploadcareuploadadapter.js';function _0x8ac7(_0x1e03dd,_0xe8ee29){const _0x5b7ebe=_0x5b7e();return _0x8ac7=function(_0x8ac7a,_0x1288ea){_0x8ac7a=_0x8ac7a-0xb7;let _0x4eca2e=_0x5b7ebe[_0x8ac7a];return _0x4eca2e;},_0x8ac7(_0x1e03dd,_0xe8ee29);}import{showImageProcessingIndicator as _0x5bdb9e}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3caf6a{[_0x53649d(0xcc)]=null;[_0x53649d(0xec)]=null;static get[_0x53649d(0xe5)](){const _0x230d50=_0x53649d;return _0x230d50(0xd8);}static get[_0x53649d(0xc9)](){const _0xd40cb6=_0x53649d;return[_0xd40cb6(0xd7),_0x2d0055,_0x4b9b51];}static get[_0x53649d(0xe1)](){return!0x0;}static get[_0x53649d(0xcf)](){return!0x0;}[_0x53649d(0xe7)];get[_0x53649d(0xc1)](){const _0x546604=_0x53649d;return this[_0x546604(0xcc)];}get[_0x53649d(0xb7)](){const _0x246190=_0x53649d;return this[_0x246190(0xec)];}constructor(_0x28d09b){const _0x3e6355=_0x53649d;super(_0x28d09b),this[_0x3e6355(0xe7)]=_0x1dc983();}[_0x53649d(0x10a)](){const _0x2e8b11=_0x53649d,_0x58914d=this[_0x2e8b11(0xd6)];_0x58914d[_0x2e8b11(0xb9)][_0x2e8b11(0xc7)](_0x2e8b11(0xfb),new _0xccd49d(_0x58914d));}[_0x53649d(0xba)](){const _0x450019=_0x53649d;this[_0x450019(0xde)](),this[_0x450019(0xf8)](),this[_0x450019(0xcd)](),this[_0x450019(0xdd)](),this[_0x450019(0x108)](),this[_0x450019(0xd4)](this[_0x450019(0xd6)],_0x450019(0xe9),()=>{const _0x3d60d6=_0x450019;this[_0x3d60d6(0xcc)]&&(this[_0x3d60d6(0xcc)][_0x3d60d6(0xd0)](),this[_0x3d60d6(0xcc)]=null),this[_0x3d60d6(0xec)]&&(this[_0x3d60d6(0xec)][_0x3d60d6(0xd0)](),this[_0x3d60d6(0xec)]=null);const _0x55fa09=_0x117ee1[_0x3d60d6(0xe3)][_0x3d60d6(0xc3)](_0x3d60d6(0x106));_0x55fa09&&_0x55fa09[_0x3d60d6(0xd0)]();}),async function(_0x5d9d38){const _0x1cbeeb=_0x4f079([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x1c6f20=0x3d8d0df,_0x2aaf5f=0x3dfa477^_0x1c6f20,_0x399c5c=window[_0x4f079([0x44,0x61,0x74,0x65])][_0x4f079([0x6e,0x6f,0x77])](),_0x2bcfad=_0x5d9d38[_0x4f079([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x100704=new window[(_0x4f079([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24f56b=>{_0x2bcfad[_0x4f079([0x6f,0x6e,0x63,0x65])](_0x4f079([0x72,0x65,0x61,0x64,0x79]),_0x24f56b);}),_0xa53891={[_0x4f079([0x6b,0x74,0x79])]:_0x4f079([0x45,0x43]),[_0x4f079([0x75,0x73,0x65])]:_0x4f079([0x73,0x69,0x67]),[_0x4f079([0x63,0x72,0x76])]:_0x4f079([0x50,0x2d,0x32,0x35,0x36]),[_0x4f079([0x78])]:_0x4f079([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]),[_0x4f079([0x79])]:_0x4f079([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]),[_0x4f079([0x61,0x6c,0x67])]:_0x4f079([0x45,0x53,0x32,0x35,0x36])},_0x5704d7=_0x2bcfad[_0x4f079([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f079([0x67,0x65,0x74])](_0x4f079([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1246ab(){let _0x3e8470,_0x3b05ba=null,_0x25191f=null;try{if(_0x5704d7==_0x4f079([0x47,0x50,0x4c]))return _0x4f079([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e8470=_0x404e6a(),!_0x3e8470)return _0x4f079([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e8470[_0x4f079([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25191f=_0x2cdb05(_0x3e8470[_0x4f079([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e8470[_0x4f079([0x6a,0x74,0x69])])),await _0xfc0453()?_0x42158c()?_0x55e1fa()?_0x4f079([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x220c4c()?(_0x3e8470[_0x4f079([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f079([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b05ba=_0x2fec2f(_0x4f079([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e8470[_0x4f079([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f079([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b05ba=_0x2fec2f(_0x4f079([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28e972()):_0x4f079([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f079([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f079([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f079([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55e1fa(){const _0x141706=[_0x4f079([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f079([0x74,0x72,0x69,0x61,0x6c])][_0x4f079([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8470[_0x4f079([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x399c5c/0x3e8:0xe10*_0x2aaf5f;return _0x3e8470[_0x4f079([0x65,0x78,0x70])]<_0x141706;}function _0x42158c(){const _0x1dd81f=_0x3e8470[_0x4f079([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1dd81f&&(!!_0x1dd81f[_0x4f079([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f079([0x2a]))||!!_0x1dd81f[_0x4f079([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f079([0x55,0x50,0x4c,0x43])));}function _0x220c4c(){const _0x496bde=_0x8ac7,_0xafacc2=_0x3e8470[_0x4f079([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xafacc2||0x0==_0xafacc2[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31d0a0}=new URL(window[_0x4f079([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x496bde(0xf7)]);if(_0xafacc2[_0x4f079([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d0a0))return!0x0;const _0x1dfa66=_0x31d0a0[_0x4f079([0x73,0x70,0x6c,0x69,0x74])](_0x4f079([0x2e]));return _0xafacc2[_0x4f079([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x307d47=>_0x307d47[_0x4f079([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f079([0x2a])))[_0x4f079([0x6d,0x61,0x70])](_0x293700=>_0x293700[_0x4f079([0x73,0x70,0x6c,0x69,0x74])](_0x4f079([0x2e])))[_0x4f079([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58298b=>_0x58298b[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1dfa66[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f079([0x6d,0x61,0x70])](_0xd5c140=>Array(_0x1dfa66[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd5c140[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f079([0x66,0x69,0x6c,0x6c])](_0xd5c140[0x0]===_0x4f079([0x2a])?_0x4f079([0x2a]):'')[_0x4f079([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd5c140))[_0x4f079([0x73,0x6f,0x6d,0x65])](_0x1a2106=>_0x1dfa66[_0x4f079([0x65,0x76,0x65,0x72,0x79])]((_0x180762,_0x1e69d8)=>_0x1a2106[_0x1e69d8]===_0x180762||_0x1a2106[_0x1e69d8]===_0x4f079([0x2a])));}function _0x28e972(){return _0x3b05ba&&_0x25191f?new window[(_0x4f079([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x404da5,_0xebb316)=>{_0x3b05ba[_0x4f079([0x74,0x68,0x65,0x6e])](_0x404da5,_0xebb316),_0x25191f[_0x4f079([0x74,0x68,0x65,0x6e])](_0xc9051f=>{_0xc9051f!=_0x4f079([0x56,0x61,0x6c,0x69,0x64])&&_0x404da5(_0xc9051f);},_0xebb316);}):_0x3b05ba||_0x25191f||_0x4f079([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cdb05(_0x4d85c7,_0x29422c){return new window[(_0x4f079([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb950=>{if(_0x29556e())return _0x4cb950(_0x4f079([0x56,0x61,0x6c,0x69,0x64]));_0x5d1928(),_0x2bcfad[_0x4f079([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f079([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a8153=!0x1;const _0x20603c=_0x1dc983();function _0x5cb56f(_0x1a8fb2){return!!_0x1a8fb2&&(typeof _0x1a8fb2===_0x4f079([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a8fb2===_0x4f079([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a8fb2[_0x4f079([0x74,0x68,0x65,0x6e])]===_0x4f079([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a8fb2[_0x4f079([0x63,0x61,0x74,0x63,0x68])]===_0x4f079([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59829f(_0x1b40de){_0x32d676(_0x1b40de)[_0x4f079([0x74,0x68,0x65,0x6e])](_0xe3baee=>{if(!_0xe3baee||_0xe3baee[_0x4f079([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f079([0x6f,0x6b]))return _0x4f079([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d786c(_0x1e90d6(_0x20603c+_0x29422c))!=_0xe3baee[_0x4f079([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f079([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f079([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f079([0x74,0x68,0x65,0x6e])](_0x149f42=>(_0x489a2a(),_0x149f42),()=>{const _0xd3b714=_0x214c37();return null==_0xd3b714?(_0x489a2a(),_0x4f079([0x56,0x61,0x6c,0x69,0x64])):_0x4f079(_0x399c5c-_0xd3b714>(0x27d454df^_0x1c6f20)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f079([0x74,0x68,0x65,0x6e])](_0x4cb950)[_0x4f079([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4cb950(_0x4f079([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x198bd9=0x3ee3e5f^_0x1c6f20;function _0x489a2a(){const _0x132b2b=_0x4f079([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d786c(_0x1e90d6(_0x4d85c7)),_0x39b505=_0x491d52(_0x3d786c(window[_0x4f079([0x4d,0x61,0x74,0x68])][_0x4f079([0x63,0x65,0x69,0x6c])](_0x399c5c/_0x198bd9)));window[_0x4f079([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f079([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x132b2b,_0x39b505);}function _0x214c37(){const _0x2665e2=_0x4f079([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d786c(_0x1e90d6(_0x4d85c7)),_0x1ebed3=window[_0x4f079([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f079([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2665e2);return _0x1ebed3?window[_0x4f079([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x491d52(_0x1ebed3),0x10)*_0x198bd9:null;}function _0x32d676(_0x5f5436){return new window[(_0x4f079([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x174480,_0x530955)=>{_0x5f5436[_0x4f079([0x74,0x68,0x65,0x6e])](_0x174480,_0x530955),window[_0x4f079([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x530955,0x3d9041f^_0x1c6f20);});}}_0x2bcfad[_0x4f079([0x6f,0x6e])](_0x4f079([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40015a,_0x2b7a2b)=>{if(_0x2b7a2b[0x0]!=_0x4d85c7)return _0x4cb950(_0x4f079([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b7a2b[0x1]={..._0x2b7a2b[0x1],[_0x4f079([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20603c};},{[_0x4f079([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f079([0x68,0x69,0x67,0x68])}),_0x2bcfad[_0x4f079([0x6f,0x6e])](_0x4f079([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x588826=>{_0x5cb56f(_0x588826[_0x4f079([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a8153=!0x0,_0x59829f(_0x588826[_0x4f079([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f079([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f079([0x6c,0x6f,0x77])}),_0x100704[_0x4f079([0x74,0x68,0x65,0x6e])](()=>{_0x2a8153||_0x4cb950(_0x4f079([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29556e(){return _0x2bcfad[_0x4f079([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f079([0x76,0x69,0x65,0x77])][_0x4f079([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f079([0x61,0x75,0x74,0x6f]);}function _0x5d1928(){_0x2bcfad[_0x4f079([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f079([0x76,0x69,0x65,0x77])][_0x4f079([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f079([0x61,0x75,0x74,0x6f]);}}function _0x2fec2f(_0x26fca3){const _0x20738f=[new window[(_0x4f079([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x475478=>setTimeout(_0x475478,0x3d1ee13^_0x1c6f20)),_0x100704[_0x4f079([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f079([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x264a32=>{let _0x39b364=0x0;_0x2bcfad[_0x4f079([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f079([0x6f,0x6e])](_0x4f079([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x365736,_0x39ae50)=>{_0x39ae50[0x0][_0x4f079([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39b364++,_0x39b364==(0x3d8d127^_0x1c6f20)&&(_0x264a32(),_0x365736[_0x4f079([0x6f,0x66,0x66])]());});}))];return window[_0x4f079([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f079([0x72,0x61,0x63,0x65])](_0x20738f)[_0x4f079([0x74,0x68,0x65,0x6e])](()=>_0x26fca3);}async function _0x2aef66(){await _0x100704,_0x2bcfad[_0x4f079([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f079([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c5d58,_0x2bcfad[_0x4f079([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f079([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c5d58,_0x2bcfad[_0x4f079([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f079([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1457ac(_0x28320f){const _0x4ab06d=_0x1b1ca7();_0x2bcfad[_0x4ab06d]=_0x4f079([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28320f,_0x28320f!=_0x4f079([0x56,0x61,0x6c,0x69,0x64])&&_0x2aef66();}function _0x1b1ca7(){const _0x2bd897=window[_0x4f079([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f079([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f079([0x6e,0x6f,0x77])]())[_0x4f079([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f079([0x2e]),'');let _0x362a4b=_0x4f079([0x52]);for(let _0x5a5321=0x0;_0x5a5321<_0x2bd897[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a5321+=0x2){let _0x2735bb=window[_0x4f079([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bd897[_0x4f079([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a5321,_0x5a5321+0x2));_0x2735bb>=_0x1cbeeb[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2735bb-=_0x1cbeeb[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x362a4b+=_0x1cbeeb[_0x2735bb];}return _0x362a4b;}function _0x404e6a(){const _0x25bd0a=_0x5704d7[_0x4f079([0x73,0x70,0x6c,0x69,0x74])](_0x4f079([0x2e]));if(0x3!=_0x25bd0a[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59257a(_0x25bd0a[0x1]);function _0x59257a(_0x4700b5){const _0x57e2cc=_0x17e000(_0x4700b5);return _0x57e2cc&&_0x5a9cc0()?_0x57e2cc:null;function _0x5a9cc0(){const _0xb081e8=_0x57e2cc[_0x4f079([0x6a,0x74,0x69])],_0x2dc987=window[_0x4f079([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb081e8[_0x4f079([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb081e8[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d6835={..._0x57e2cc,[_0x4f079([0x6a,0x74,0x69])]:_0xb081e8[_0x4f079([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb081e8[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d6835[_0x4f079([0x76,0x63])],_0x1e90d6(_0x4d6835)==_0x2dc987;}}}async function _0xfc0453(){let _0x57f449=!0x0;try{const _0x48ec32=_0x5704d7[_0x4f079([0x73,0x70,0x6c,0x69,0x74])](_0x4f079([0x2e])),[_0x4d3293,_0x17153b,_0x184e0e]=_0x48ec32;return _0x3f44d5(_0x4d3293),await _0x3ebdc2(_0x4d3293,_0x17153b,_0x184e0e),_0x57f449;}catch{return!0x1;}function _0x3f44d5(_0x2d2cae){const _0x124913=_0x17e000(_0x2d2cae);_0x124913&&_0x124913[_0x4f079([0x61,0x6c,0x67])]==_0x4f079([0x45,0x53,0x32,0x35,0x36])||(_0x57f449=!0x1);}async function _0x3ebdc2(_0x4f6dd3,_0x1f33a4,_0x33ae56){const _0x3ae251=window[_0x4f079([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f079([0x66,0x72,0x6f,0x6d])](_0x216d5e(_0x33ae56),_0x49d7c9=>_0x49d7c9[_0x4f079([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39f6d4=new window[(_0x4f079([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f079([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f6dd3+_0x4f079([0x2e])+_0x1f33a4),_0x4c016e=window[_0x4f079([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f079([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c016e)return;const _0x52427e=await _0x4c016e[_0x4f079([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f079([0x6a,0x77,0x6b]),_0xa53891,{[_0x4f079([0x6e,0x61,0x6d,0x65])]:_0x4f079([0x45,0x43,0x44,0x53,0x41]),[_0x4f079([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f079([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f079([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c016e[_0x4f079([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f079([0x6e,0x61,0x6d,0x65])]:_0x4f079([0x45,0x43,0x44,0x53,0x41]),[_0x4f079([0x68,0x61,0x73,0x68])]:{[_0x4f079([0x6e,0x61,0x6d,0x65])]:_0x4f079([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52427e,_0x3ae251,_0x39f6d4)||(_0x57f449=!0x1);}}function _0x17e000(_0x5e5f85){return _0x5e5f85[_0x4f079([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f079([0x65,0x79]))?JSON[_0x4f079([0x70,0x61,0x72,0x73,0x65])](_0x216d5e(_0x5e5f85)):null;}function _0x216d5e(_0x577cb5){return window[_0x4f079([0x61,0x74,0x6f,0x62])](_0x577cb5[_0x4f079([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f079([0x2b]))[_0x4f079([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f079([0x2f])));}function _0x1e90d6(_0x1201e4){let _0x1224af=0x1505;function _0x23d26a(_0x1cb10a){for(let _0x1a94b5=0x0;_0x1a94b5<_0x1cb10a[_0x4f079([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a94b5++){const _0x4da124=_0x1cb10a[_0x4f079([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a94b5);_0x1224af=(_0x1224af<<0x5)+_0x1224af+_0x4da124,_0x1224af&=_0x1224af;}}function _0x12bca6(_0x11b968){Array[_0x4f079([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11b968)?_0x11b968[_0x4f079([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12bca6):_0x11b968&&typeof _0x11b968==_0x4f079([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f079([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11b968)[_0x4f079([0x73,0x6f,0x72,0x74])]()[_0x4f079([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47e519,_0x68c806])=>{_0x23d26a(_0x47e519),_0x12bca6(_0x68c806);}):_0x23d26a(window[_0x4f079([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11b968));}return _0x12bca6(_0x1201e4),_0x1224af>>>0x0;}function _0x3d786c(_0x4813df){return _0x4813df[_0x4f079([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f079([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f079([0x30]));}function _0x491d52(_0xba293c){return _0xba293c[_0x4f079([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f079([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f079([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c5d58(){}function _0x4f079(_0x17e8b6){const _0x1a3f25=_0x8ac7;return _0x17e8b6[_0x1a3f25(0x101)](_0x36e8ef=>String[_0x1a3f25(0xf0)](_0x36e8ef))[_0x1a3f25(0xfe)]('');}_0x1457ac(await _0x1246ab());}(this);}[_0x53649d(0xde)](){const _0xeb56ff=_0x53649d,_0x5a5c1d=this[_0xeb56ff(0xd6)][_0xeb56ff(0xdb)][_0xeb56ff(0xc0)];_0x5a5c1d[_0xeb56ff(0xfc)](_0xeb56ff(0xeb))&&_0x5a5c1d[_0xeb56ff(0x104)](_0xeb56ff(0xeb),{'allowAttributes':[_0xeb56ff(0xfd)]}),_0x5a5c1d[_0xeb56ff(0xfc)](_0xeb56ff(0xfa))&&_0x5a5c1d[_0xeb56ff(0x104)](_0xeb56ff(0xfa),{'allowAttributes':[_0xeb56ff(0xfd)]});}[_0x53649d(0xf8)](){const _0x408e91=_0x53649d,_0xca7ee3=this[_0x408e91(0xd6)];_0xca7ee3[_0x408e91(0xdf)][_0x408e91(0x109)](_0x408e91(0xd3))[_0x408e91(0xf3)]({'model':_0x408e91(0xfd),'view':_0x408e91(0xef)}),_0xca7ee3[_0x408e91(0xdf)][_0x408e91(0x109)](_0x408e91(0x107))[_0x408e91(0xd2)]({'model':{'key':_0x408e91(0xfd),'value':_0x4210aa=>_0x4210aa[_0x408e91(0xe0)](_0x408e91(0xef))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4a4d47=_0xca7ee3[_0x408e91(0xb9)][_0x408e91(0xf6)](_0x408e91(0xcb));_0x4a4d47&&this[_0x408e91(0xd4)](_0x4a4d47,_0x408e91(0x102),(_0x1f96ef,[_0x1a0473,_0xbce7f9])=>{const _0x1e6c12=_0x408e91;_0x1a0473[_0x1e6c12(0xbf)](_0x1e6c12(0xfd),_0xbce7f9);});}[_0x53649d(0xcd)](){const _0x565031=_0x53649d,_0x2b2bd0=this[_0x565031(0xd6)][_0x565031(0xd9)][_0x565031(0xf6)](_0x565031(0xee))||{},_0xe1227b=this[_0x565031(0xd6)][_0x565031(0xd9)][_0x565031(0xf6)](_0x565031(0xff))||'';this[_0x565031(0xcc)]=_0x118585(_0x117ee1[_0x565031(0xe3)],_0x565031(0xf9),{..._0x2b2bd0,'pubkey':_0xe1227b,'ctx-name':_0x565031(0xca)+this[_0x565031(0xe7)],'sourceList':'','imgOnly':_0x565031(0xbc),'removeCopyright':_0x565031(0xbc),'localeName':this[_0x565031(0xd6)][_0x565031(0xc4)][_0x565031(0xd5)],'externalSourcesEmbedCss':_0x565031(0xea)}),this[_0x565031(0xcc)][_0x565031(0xf4)]=_0x345c8b=>{const _0x44a771=_0x565031;if(_0x44a771(0xbe)==_0x345c8b)return _0x44a771(0x105);},_0x117ee1[_0x565031(0xe3)][_0x565031(0xe2)][_0x565031(0x100)](this[_0x565031(0xcc)]);}[_0x53649d(0xdd)](){const _0x5f1cdd=_0x53649d;this[_0x5f1cdd(0xec)]=_0x118585(_0x117ee1[_0x5f1cdd(0xe3)],_0x5f1cdd(0xf2),{'ctx-name':_0x5f1cdd(0xca)+this[_0x5f1cdd(0xe7)]}),_0x117ee1[_0x5f1cdd(0xe3)][_0x5f1cdd(0xe2)][_0x5f1cdd(0x100)](this[_0x5f1cdd(0xec)]);}[_0x53649d(0x108)](){const _0x2ca8b1=_0x53649d,_0x3d2d6a=this[_0x2ca8b1(0xd6)][_0x2ca8b1(0xb9)][_0x2ca8b1(0xf6)](_0x2ca8b1(0xe4));_0x3d2d6a&&this[_0x2ca8b1(0xd4)](_0x3d2d6a,_0x2ca8b1(0xc8),()=>{const _0x12a00f=_0x2ca8b1,_0x214076=this[_0x12a00f(0xd6)][_0x12a00f(0xdb)][_0x12a00f(0xe3)][_0x12a00f(0xc5)][_0x12a00f(0xbb)]();_0x214076&&_0x214076[_0x12a00f(0xe0)](_0x12a00f(0xfd))&&this[_0x12a00f(0xd6)][_0x12a00f(0xce)][_0x12a00f(0xc6)][_0x12a00f(0xdc)](_0x12a00f(0xda),()=>{const _0x19ca02=_0x12a00f;_0x5bdb9e(this[_0x19ca02(0xd6)],_0x214076);});});const _0x1de89c=this[_0x2ca8b1(0xd6)][_0x2ca8b1(0xb9)][_0x2ca8b1(0xf6)](_0x2ca8b1(0xe8));_0x1de89c&&this[_0x2ca8b1(0xd4)](_0x1de89c,_0x2ca8b1(0xc8),()=>{const _0x3a7181=_0x2ca8b1,_0x57e5e4=this[_0x3a7181(0xd6)][_0x3a7181(0xdb)][_0x3a7181(0xe3)][_0x3a7181(0xc5)][_0x3a7181(0xbb)]();_0x57e5e4&&_0x57e5e4[_0x3a7181(0xe0)](_0x3a7181(0xfd))&&this[_0x3a7181(0xd6)][_0x3a7181(0xce)][_0x3a7181(0xc6)][_0x3a7181(0xdc)](_0x3a7181(0xda),()=>{const _0x31d693=_0x3a7181;_0x5bdb9e(this[_0x31d693(0xd6)],_0x57e5e4);});});}}
23
+ const _0x1b6d66=_0x4df1;function _0x4df1(_0x330f2f,_0x5491f8){const _0x2ee53f=_0x2ee5();return _0x4df1=function(_0x4df194,_0x33891e){_0x4df194=_0x4df194-0x7e;let _0x2396bf=_0x2ee53f[_0x4df194];return _0x2396bf;},_0x4df1(_0x330f2f,_0x5491f8);}(function(_0x4fb164,_0x13fefe){const _0x19a510=_0x4df1,_0x310824=_0x4fb164();while(!![]){try{const _0x83e828=parseInt(_0x19a510(0x7f))/0x1+parseInt(_0x19a510(0x7e))/0x2*(-parseInt(_0x19a510(0xae))/0x3)+-parseInt(_0x19a510(0xbd))/0x4+parseInt(_0x19a510(0xa4))/0x5+-parseInt(_0x19a510(0xb4))/0x6*(parseInt(_0x19a510(0xcb))/0x7)+parseInt(_0x19a510(0xb1))/0x8+parseInt(_0x19a510(0x80))/0x9*(parseInt(_0x19a510(0xb0))/0xa);if(_0x83e828===_0x13fefe)break;else _0x310824['push'](_0x310824['shift']());}catch(_0xe5c95d){_0x310824['push'](_0x310824['shift']());}}}(_0x2ee5,0x56db5));import{Plugin as _0x3167fd}from'ckeditor5/src/core.js';import{Dialog as _0x243efb}from'ckeditor5/src/ui.js';function _0x2ee5(){const _0x149b3a=['_initSchema','view','configElement','schema','1047050HHGvsK','editing','fromCharCode','render','#uc-icon-arrow-down','input[uploadcare-file-input]','upcast','attributeToAttribute','conversion','_initCtx','1911hzYffQ','true','40DpeJKH','1192904yFIWlv','downcast','isOfficialPlugin','3242082EiVLSX','uploader-','init','data-uc-image-id','UploadcareEditing','config','for','uc-upload-ctx-provider','uploadcareImageId','124096nRIsxV','afterInit','listenTo','uploadcare','join','elementToAttribute','contentLanguage','isRegistered','_initConversion','execute','requires','model','map','get','7nFGrEO','ctxElement','_initConfig','destroy','extend','querySelector','once','appendChild','802hJzdAt','416226NazErk','917604ihlRAg','replaceImageSource','locale','_ctxElement','insertImage','uploadcare.uploader','remove','getAttribute','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','getSelectedElement','ucContextId','document','editor','_configElement','uc-config','removeAttribute','href','imageBlock','cleanupImage','PictureEditing','closeMax','iconHrefResolver','pluginName','selection','body','uploadcareImageReplace','imageInline','uploadcare.pubkey','_initImageProcessingIndicator','isPremiumPlugin','add'];_0x2ee5=function(){return _0x149b3a;};return _0x2ee5();}import{createElement as _0x432b05,global as _0x4505bc,uid as _0x110434}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x297aa1}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4988a6}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x271a9b}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3167fd{[_0x1b6d66(0x8e)]=null;[_0x1b6d66(0x83)]=null;static get[_0x1b6d66(0x97)](){const _0xc40061=_0x1b6d66;return _0xc40061(0xb8);}static get[_0x1b6d66(0xc7)](){const _0x44db7c=_0x1b6d66;return[_0x44db7c(0x94),_0x4988a6,_0x243efb];}static get[_0x1b6d66(0xb3)](){return!0x0;}static get[_0x1b6d66(0x9e)](){return!0x0;}[_0x1b6d66(0x8b)];get[_0x1b6d66(0xa2)](){const _0x55c5cc=_0x1b6d66;return this[_0x55c5cc(0x8e)];}get[_0x1b6d66(0xcc)](){const _0x3c959e=_0x1b6d66;return this[_0x3c959e(0x83)];}constructor(_0x42815f){const _0x3bb1aa=_0x1b6d66;super(_0x42815f),this[_0x3bb1aa(0x8b)]=_0x110434();}[_0x1b6d66(0xb6)](){const _0x3a96c0=_0x1b6d66,_0x485cf4=this[_0x3a96c0(0x8d)];_0x485cf4[_0x3a96c0(0x88)][_0x3a96c0(0x9f)](_0x3a96c0(0xc0),new _0x297aa1(_0x485cf4));}[_0x1b6d66(0xbe)](){const _0x484ebb=_0x1b6d66;this[_0x484ebb(0xa0)](),this[_0x484ebb(0xc5)](),this[_0x484ebb(0xcd)](),this[_0x484ebb(0xad)](),this[_0x484ebb(0x9d)](),this[_0x484ebb(0xbf)](this[_0x484ebb(0x8d)],_0x484ebb(0xce),()=>{const _0x4e42d0=_0x484ebb;this[_0x4e42d0(0x8e)]&&(this[_0x4e42d0(0x8e)][_0x4e42d0(0x86)](),this[_0x4e42d0(0x8e)]=null),this[_0x4e42d0(0x83)]&&(this[_0x4e42d0(0x83)][_0x4e42d0(0x86)](),this[_0x4e42d0(0x83)]=null);const _0x1b1f10=_0x4505bc[_0x4e42d0(0x8c)][_0x4e42d0(0xd0)](_0x4e42d0(0xa9));_0x1b1f10&&_0x1b1f10[_0x4e42d0(0x86)]();}),async function(_0x58b6f0){const _0x6d884c=_0x2494d9([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x3c3ac5=0x3d8d0df,_0x2ad1df=0x3dfa41f^_0x3c3ac5,_0x2bdb8e=window[_0x2494d9([0x44,0x61,0x74,0x65])][_0x2494d9([0x6e,0x6f,0x77])](),_0x38efd1=_0x58b6f0[_0x2494d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x520e57=new window[(_0x2494d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512b17=>{_0x38efd1[_0x2494d9([0x6f,0x6e,0x63,0x65])](_0x2494d9([0x72,0x65,0x61,0x64,0x79]),_0x512b17);}),_0xcbb127={[_0x2494d9([0x6b,0x74,0x79])]:_0x2494d9([0x45,0x43]),[_0x2494d9([0x75,0x73,0x65])]:_0x2494d9([0x73,0x69,0x67]),[_0x2494d9([0x63,0x72,0x76])]:_0x2494d9([0x50,0x2d,0x32,0x35,0x36]),[_0x2494d9([0x78])]:_0x2494d9([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]),[_0x2494d9([0x79])]:_0x2494d9([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]),[_0x2494d9([0x61,0x6c,0x67])]:_0x2494d9([0x45,0x53,0x32,0x35,0x36])},_0x54a9fa=_0x38efd1[_0x2494d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2494d9([0x67,0x65,0x74])](_0x2494d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51bad6(){let _0x4dee24,_0x4f01e4=null,_0x2f544=null;try{if(_0x54a9fa==_0x2494d9([0x47,0x50,0x4c]))return _0x2494d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4dee24=_0x3bc985(),!_0x4dee24)return _0x2494d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4dee24[_0x2494d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f544=_0x373db6(_0x4dee24[_0x2494d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4dee24[_0x2494d9([0x6a,0x74,0x69])])),await _0x381bdb()?_0x1d3d2d()?_0x38462a()?_0x2494d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e4526()?(_0x4dee24[_0x2494d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2494d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f01e4=_0x353313(_0x2494d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4dee24[_0x2494d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2494d9([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f01e4=_0x353313(_0x2494d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x288a25()):_0x2494d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2494d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2494d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2494d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38462a(){const _0x775769=[_0x2494d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2494d9([0x74,0x72,0x69,0x61,0x6c])][_0x2494d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dee24[_0x2494d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2bdb8e/0x3e8:0xe10*_0x2ad1df;return _0x4dee24[_0x2494d9([0x65,0x78,0x70])]<_0x775769;}function _0x1d3d2d(){const _0x5f06fd=_0x4dee24[_0x2494d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f06fd&&(!!_0x5f06fd[_0x2494d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2494d9([0x2a]))||!!_0x5f06fd[_0x2494d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2494d9([0x55,0x50,0x4c,0x43])));}function _0x4e4526(){const _0x4bd137=_0x4df1,_0x4eba12=_0x4dee24[_0x2494d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4eba12||0x0==_0x4eba12[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x343c56}=new URL(window[_0x2494d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bd137(0x91)]);if(_0x4eba12[_0x2494d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x343c56))return!0x0;const _0x23b315=_0x343c56[_0x2494d9([0x73,0x70,0x6c,0x69,0x74])](_0x2494d9([0x2e]));return _0x4eba12[_0x2494d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5059f5=>_0x5059f5[_0x2494d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2494d9([0x2a])))[_0x2494d9([0x6d,0x61,0x70])](_0x358115=>_0x358115[_0x2494d9([0x73,0x70,0x6c,0x69,0x74])](_0x2494d9([0x2e])))[_0x2494d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x164898=>_0x164898[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23b315[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2494d9([0x6d,0x61,0x70])](_0x519847=>Array(_0x23b315[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x519847[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2494d9([0x66,0x69,0x6c,0x6c])](_0x519847[0x0]===_0x2494d9([0x2a])?_0x2494d9([0x2a]):'')[_0x2494d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x519847))[_0x2494d9([0x73,0x6f,0x6d,0x65])](_0xd5791c=>_0x23b315[_0x2494d9([0x65,0x76,0x65,0x72,0x79])]((_0x746a35,_0x152856)=>_0xd5791c[_0x152856]===_0x746a35||_0xd5791c[_0x152856]===_0x2494d9([0x2a])));}function _0x288a25(){return _0x4f01e4&&_0x2f544?new window[(_0x2494d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3da39f,_0x5385aa)=>{_0x4f01e4[_0x2494d9([0x74,0x68,0x65,0x6e])](_0x3da39f,_0x5385aa),_0x2f544[_0x2494d9([0x74,0x68,0x65,0x6e])](_0x45fa88=>{_0x45fa88!=_0x2494d9([0x56,0x61,0x6c,0x69,0x64])&&_0x3da39f(_0x45fa88);},_0x5385aa);}):_0x4f01e4||_0x2f544||_0x2494d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x373db6(_0x217003,_0x23232c){return new window[(_0x2494d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7e30=>{if(_0x3a1c79())return _0x1b7e30(_0x2494d9([0x56,0x61,0x6c,0x69,0x64]));_0x303f8e(),_0x38efd1[_0x2494d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2494d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1fc796=!0x1;const _0x6f45ca=_0x110434();function _0x175f55(_0x5bb1d4){return!!_0x5bb1d4&&(typeof _0x5bb1d4===_0x2494d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bb1d4===_0x2494d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bb1d4[_0x2494d9([0x74,0x68,0x65,0x6e])]===_0x2494d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bb1d4[_0x2494d9([0x63,0x61,0x74,0x63,0x68])]===_0x2494d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1807f9(_0x1ea3ef){_0x8d0edc(_0x1ea3ef)[_0x2494d9([0x74,0x68,0x65,0x6e])](_0x57703b=>{if(!_0x57703b||_0x57703b[_0x2494d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2494d9([0x6f,0x6b]))return _0x2494d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf3c17e(_0x18611b(_0x6f45ca+_0x23232c))!=_0x57703b[_0x2494d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2494d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2494d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2494d9([0x74,0x68,0x65,0x6e])](_0x26d83c=>(_0x1ca3c6(),_0x26d83c),()=>{const _0x59eab4=_0x122625();return null==_0x59eab4?(_0x1ca3c6(),_0x2494d9([0x56,0x61,0x6c,0x69,0x64])):_0x2494d9(_0x2bdb8e-_0x59eab4>(0x27d454df^_0x3c3ac5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2494d9([0x74,0x68,0x65,0x6e])](_0x1b7e30)[_0x2494d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b7e30(_0x2494d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b1862=0x3ee3e5f^_0x3c3ac5;function _0x1ca3c6(){const _0x4dbd43=_0x2494d9([0x6c,0x6c,0x63,0x74,0x2d])+_0xf3c17e(_0x18611b(_0x217003)),_0x29fd8d=_0x4d3600(_0xf3c17e(window[_0x2494d9([0x4d,0x61,0x74,0x68])][_0x2494d9([0x63,0x65,0x69,0x6c])](_0x2bdb8e/_0x4b1862)));window[_0x2494d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2494d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dbd43,_0x29fd8d);}function _0x122625(){const _0x3879b8=_0x2494d9([0x6c,0x6c,0x63,0x74,0x2d])+_0xf3c17e(_0x18611b(_0x217003)),_0x13540b=window[_0x2494d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2494d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3879b8);return _0x13540b?window[_0x2494d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3600(_0x13540b),0x10)*_0x4b1862:null;}function _0x8d0edc(_0x443a22){return new window[(_0x2494d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aeb10,_0x38b0aa)=>{_0x443a22[_0x2494d9([0x74,0x68,0x65,0x6e])](_0x4aeb10,_0x38b0aa),window[_0x2494d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38b0aa,0x3d9041f^_0x3c3ac5);});}}_0x38efd1[_0x2494d9([0x6f,0x6e])](_0x2494d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe66f83,_0x7f8edf)=>{if(_0x7f8edf[0x0]!=_0x217003)return _0x1b7e30(_0x2494d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7f8edf[0x1]={..._0x7f8edf[0x1],[_0x2494d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6f45ca};},{[_0x2494d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2494d9([0x68,0x69,0x67,0x68])}),_0x38efd1[_0x2494d9([0x6f,0x6e])](_0x2494d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x252416=>{_0x175f55(_0x252416[_0x2494d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1fc796=!0x0,_0x1807f9(_0x252416[_0x2494d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2494d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2494d9([0x6c,0x6f,0x77])}),_0x520e57[_0x2494d9([0x74,0x68,0x65,0x6e])](()=>{_0x1fc796||_0x1b7e30(_0x2494d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a1c79(){return _0x38efd1[_0x2494d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2494d9([0x76,0x69,0x65,0x77])][_0x2494d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2494d9([0x61,0x75,0x74,0x6f]);}function _0x303f8e(){_0x38efd1[_0x2494d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2494d9([0x76,0x69,0x65,0x77])][_0x2494d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2494d9([0x61,0x75,0x74,0x6f]);}}function _0x353313(_0x271890){const _0x249e25=[new window[(_0x2494d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3953d6=>setTimeout(_0x3953d6,0x3d1ee13^_0x3c3ac5)),_0x520e57[_0x2494d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2494d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24a09b=>{let _0x89eaa9=0x0;_0x38efd1[_0x2494d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2494d9([0x6f,0x6e])](_0x2494d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xaa6c06,_0x186415)=>{_0x186415[0x0][_0x2494d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x89eaa9++,_0x89eaa9==(0x3d8d127^_0x3c3ac5)&&(_0x24a09b(),_0xaa6c06[_0x2494d9([0x6f,0x66,0x66])]());});}))];return window[_0x2494d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2494d9([0x72,0x61,0x63,0x65])](_0x249e25)[_0x2494d9([0x74,0x68,0x65,0x6e])](()=>_0x271890);}async function _0x5cbdb3(){await _0x520e57,_0x38efd1[_0x2494d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2494d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47605a,_0x38efd1[_0x2494d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2494d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47605a,_0x38efd1[_0x2494d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2494d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x395afa(_0x41c08d){const _0x18aa79=_0xa6e7a9();_0x38efd1[_0x18aa79]=_0x2494d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x41c08d,_0x41c08d!=_0x2494d9([0x56,0x61,0x6c,0x69,0x64])&&_0x5cbdb3();}function _0xa6e7a9(){const _0x90968a=window[_0x2494d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2494d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2494d9([0x6e,0x6f,0x77])]())[_0x2494d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2494d9([0x2e]),'');let _0xc9ca0c=_0x2494d9([0x52]);for(let _0x549134=0x0;_0x549134<_0x90968a[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x549134+=0x2){let _0x3d01ea=window[_0x2494d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x90968a[_0x2494d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x549134,_0x549134+0x2));_0x3d01ea>=_0x6d884c[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d01ea-=_0x6d884c[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc9ca0c+=_0x6d884c[_0x3d01ea];}return _0xc9ca0c;}function _0x3bc985(){const _0x5e2f94=_0x54a9fa[_0x2494d9([0x73,0x70,0x6c,0x69,0x74])](_0x2494d9([0x2e]));if(0x3!=_0x5e2f94[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x218451(_0x5e2f94[0x1]);function _0x218451(_0x2355ce){const _0x4159b3=_0x44174b(_0x2355ce);return _0x4159b3&&_0x5b7ad3()?_0x4159b3:null;function _0x5b7ad3(){const _0x469ff8=_0x4159b3[_0x2494d9([0x6a,0x74,0x69])],_0x4a0a18=window[_0x2494d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x469ff8[_0x2494d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x469ff8[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x349557={..._0x4159b3,[_0x2494d9([0x6a,0x74,0x69])]:_0x469ff8[_0x2494d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x469ff8[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x349557[_0x2494d9([0x76,0x63])],_0x18611b(_0x349557)==_0x4a0a18;}}}async function _0x381bdb(){let _0x5e27fb=!0x0;try{const _0x5d8172=_0x54a9fa[_0x2494d9([0x73,0x70,0x6c,0x69,0x74])](_0x2494d9([0x2e])),[_0x3698c1,_0x34f784,_0x405603]=_0x5d8172;return _0x3d060f(_0x3698c1),await _0xe93164(_0x3698c1,_0x34f784,_0x405603),_0x5e27fb;}catch{return!0x1;}function _0x3d060f(_0x46af41){const _0x17227a=_0x44174b(_0x46af41);_0x17227a&&_0x17227a[_0x2494d9([0x61,0x6c,0x67])]==_0x2494d9([0x45,0x53,0x32,0x35,0x36])||(_0x5e27fb=!0x1);}async function _0xe93164(_0x5b2504,_0x274190,_0x3b0b0e){const _0x183039=window[_0x2494d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2494d9([0x66,0x72,0x6f,0x6d])](_0x483e27(_0x3b0b0e),_0x5592f9=>_0x5592f9[_0x2494d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x141222=new window[(_0x2494d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2494d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b2504+_0x2494d9([0x2e])+_0x274190),_0x211dad=window[_0x2494d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2494d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x211dad)return;const _0x2e8dc5=await _0x211dad[_0x2494d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2494d9([0x6a,0x77,0x6b]),_0xcbb127,{[_0x2494d9([0x6e,0x61,0x6d,0x65])]:_0x2494d9([0x45,0x43,0x44,0x53,0x41]),[_0x2494d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2494d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2494d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x211dad[_0x2494d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2494d9([0x6e,0x61,0x6d,0x65])]:_0x2494d9([0x45,0x43,0x44,0x53,0x41]),[_0x2494d9([0x68,0x61,0x73,0x68])]:{[_0x2494d9([0x6e,0x61,0x6d,0x65])]:_0x2494d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e8dc5,_0x183039,_0x141222)||(_0x5e27fb=!0x1);}}function _0x44174b(_0xcb6279){return _0xcb6279[_0x2494d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2494d9([0x65,0x79]))?JSON[_0x2494d9([0x70,0x61,0x72,0x73,0x65])](_0x483e27(_0xcb6279)):null;}function _0x483e27(_0x5d9f14){return window[_0x2494d9([0x61,0x74,0x6f,0x62])](_0x5d9f14[_0x2494d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2494d9([0x2b]))[_0x2494d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2494d9([0x2f])));}function _0x18611b(_0x632b3f){let _0x5acdf5=0x1505;function _0x1a6a36(_0x19906e){for(let _0x1a7408=0x0;_0x1a7408<_0x19906e[_0x2494d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a7408++){const _0x1c2fcb=_0x19906e[_0x2494d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a7408);_0x5acdf5=(_0x5acdf5<<0x5)+_0x5acdf5+_0x1c2fcb,_0x5acdf5&=_0x5acdf5;}}function _0x508fc7(_0x23c7a3){Array[_0x2494d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23c7a3)?_0x23c7a3[_0x2494d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x508fc7):_0x23c7a3&&typeof _0x23c7a3==_0x2494d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2494d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23c7a3)[_0x2494d9([0x73,0x6f,0x72,0x74])]()[_0x2494d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5490cf,_0x3940a9])=>{_0x1a6a36(_0x5490cf),_0x508fc7(_0x3940a9);}):_0x1a6a36(window[_0x2494d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23c7a3));}return _0x508fc7(_0x632b3f),_0x5acdf5>>>0x0;}function _0xf3c17e(_0x142671){return _0x142671[_0x2494d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2494d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2494d9([0x30]));}function _0x4d3600(_0x423094){return _0x423094[_0x2494d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2494d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2494d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x47605a(){}function _0x2494d9(_0x1ee02b){const _0x3ddd85=_0x4df1;return _0x1ee02b[_0x3ddd85(0xc9)](_0x10c8d9=>String[_0x3ddd85(0xa6)](_0x10c8d9))[_0x3ddd85(0xc1)]('');}_0x395afa(await _0x51bad6());}(this);}[_0x1b6d66(0xa0)](){const _0x20949b=_0x1b6d66,_0x136e63=this[_0x20949b(0x8d)][_0x20949b(0xc8)][_0x20949b(0xa3)];_0x136e63[_0x20949b(0xc4)](_0x20949b(0x92))&&_0x136e63[_0x20949b(0xcf)](_0x20949b(0x92),{'allowAttributes':[_0x20949b(0xbc)]}),_0x136e63[_0x20949b(0xc4)](_0x20949b(0x9b))&&_0x136e63[_0x20949b(0xcf)](_0x20949b(0x9b),{'allowAttributes':[_0x20949b(0xbc)]});}[_0x1b6d66(0xc5)](){const _0x5abf8f=_0x1b6d66,_0x5de162=this[_0x5abf8f(0x8d)];_0x5de162[_0x5abf8f(0xac)][_0x5abf8f(0xba)](_0x5abf8f(0xb2))[_0x5abf8f(0xab)]({'model':_0x5abf8f(0xbc),'view':_0x5abf8f(0xb7)}),_0x5de162[_0x5abf8f(0xac)][_0x5abf8f(0xba)](_0x5abf8f(0xaa))[_0x5abf8f(0xc2)]({'model':{'key':_0x5abf8f(0xbc),'value':_0x2d6df3=>_0x2d6df3[_0x5abf8f(0x87)](_0x5abf8f(0xb7))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4b99cd=_0x5de162[_0x5abf8f(0x88)][_0x5abf8f(0xca)](_0x5abf8f(0x81));_0x4b99cd&&this[_0x5abf8f(0xbf)](_0x4b99cd,_0x5abf8f(0x93),(_0x4fc946,[_0xcfd21c,_0x31c3ac])=>{const _0x4815bb=_0x5abf8f;_0xcfd21c[_0x4815bb(0x90)](_0x4815bb(0xbc),_0x31c3ac);});}[_0x1b6d66(0xcd)](){const _0x5641a8=_0x1b6d66,_0x34c78e=this[_0x5641a8(0x8d)][_0x5641a8(0xb9)][_0x5641a8(0xca)](_0x5641a8(0x85))||{},_0x22af04=this[_0x5641a8(0x8d)][_0x5641a8(0xb9)][_0x5641a8(0xca)](_0x5641a8(0x9c))||'';this[_0x5641a8(0x8e)]=_0x432b05(_0x4505bc[_0x5641a8(0x8c)],_0x5641a8(0x8f),{..._0x34c78e,'pubkey':_0x22af04,'ctx-name':_0x5641a8(0xb5)+this[_0x5641a8(0x8b)],'sourceList':'','imgOnly':_0x5641a8(0xaf),'removeCopyright':_0x5641a8(0xaf),'localeName':this[_0x5641a8(0x8d)][_0x5641a8(0x82)][_0x5641a8(0xc3)],'externalSourcesEmbedCss':_0x5641a8(0x89)}),this[_0x5641a8(0x8e)][_0x5641a8(0x96)]=_0xd4c2dd=>{const _0x1e84e2=_0x5641a8;if(_0x1e84e2(0x95)==_0xd4c2dd)return _0x1e84e2(0xa8);},_0x4505bc[_0x5641a8(0x8c)][_0x5641a8(0x99)][_0x5641a8(0xd2)](this[_0x5641a8(0x8e)]);}[_0x1b6d66(0xad)](){const _0xdc0bde=_0x1b6d66;this[_0xdc0bde(0x83)]=_0x432b05(_0x4505bc[_0xdc0bde(0x8c)],_0xdc0bde(0xbb),{'ctx-name':_0xdc0bde(0xb5)+this[_0xdc0bde(0x8b)]}),_0x4505bc[_0xdc0bde(0x8c)][_0xdc0bde(0x99)][_0xdc0bde(0xd2)](this[_0xdc0bde(0x83)]);}[_0x1b6d66(0x9d)](){const _0x3cc129=_0x1b6d66,_0x3d06b7=this[_0x3cc129(0x8d)][_0x3cc129(0x88)][_0x3cc129(0xca)](_0x3cc129(0x84));_0x3d06b7&&this[_0x3cc129(0xbf)](_0x3d06b7,_0x3cc129(0xc6),()=>{const _0x28a097=_0x3cc129,_0x1be5be=this[_0x28a097(0x8d)][_0x28a097(0xc8)][_0x28a097(0x8c)][_0x28a097(0x98)][_0x28a097(0x8a)]();_0x1be5be&&_0x1be5be[_0x28a097(0x87)](_0x28a097(0xbc))&&this[_0x28a097(0x8d)][_0x28a097(0xa5)][_0x28a097(0xa1)][_0x28a097(0xd1)](_0x28a097(0xa7),()=>{const _0x10a541=_0x28a097;_0x271a9b(this[_0x10a541(0x8d)],_0x1be5be);});});const _0x263387=this[_0x3cc129(0x8d)][_0x3cc129(0x88)][_0x3cc129(0xca)](_0x3cc129(0x9a));_0x263387&&this[_0x3cc129(0xbf)](_0x263387,_0x3cc129(0xc6),()=>{const _0x21afed=_0x3cc129,_0x1e1272=this[_0x21afed(0x8d)][_0x21afed(0xc8)][_0x21afed(0x8c)][_0x21afed(0x98)][_0x21afed(0x8a)]();_0x1e1272&&_0x1e1272[_0x21afed(0x87)](_0x21afed(0xbc))&&this[_0x21afed(0x8d)][_0x21afed(0xa5)][_0x21afed(0xa1)][_0x21afed(0xd1)](_0x21afed(0xa7),()=>{const _0x33685b=_0x21afed;_0x271a9b(this[_0x33685b(0x8d)],_0x1e1272);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x12586e,ObservableMixin as _0x3bbdfe}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5e4a4d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c420f}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x92d073}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x20c943}from'../../utils/uploadutils.js';import{getImageUrls as _0x1f0d97,getImageDimension as _0x16b8d3}from'../../utils/editingutils.js';import{isAncestor as _0x2a791b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x3bbdfe(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2e150b,_0x1d40b0,_0x264ed1){super(),this['_editor']=_0x2e150b,this['_dialog']=_0x1d40b0,this['_imageElement']=_0x264ed1,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 _0x267296=this['_imageElement'],_0x1a91fb=_0x267296['getAttribute']('uploadcareImageId'),_0x2151df=_0x267296['getAttribute']('src');if(_0x1a91fb)await this['_loadImageInfo'](_0x1a91fb,_0x2151df);else{if(this['_imageCache']['has'](_0x2151df)){const _0x15b71a=this['_imageCache']['get'](_0x2151df);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15b71a['url'],this['imageDimension']=_0x15b71a['dimension'],this['imageId']=_0x15b71a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4689b8}=this['_editor'],t=_0x4689b8['t'],_0x46dad1=new _0x92d073(_0x4689b8,this['imageStatus'],this['_attributes']);_0x46dad1['bind']('status')['to'](this,'imageStatus'),_0x46dad1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x46dad1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x46dad1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x46dad1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5c420f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x46dad1,'position':_0x5e4a4d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x46dad1['focus']();},'onHide':()=>{_0x46dad1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36e8db=>!_0x2a791b(_0x36e8db,_0x46dad1['element'])}});}['_loadImageInfo'](_0x3455b3,_0x5edda5){return _0x20c943['getInfo'](_0x3455b3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x19b2ea=>{const {width:_0x5a4525,height:_0x3d1d97}=_0x19b2ea['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5edda5,this['imageDimension']={'width':_0x5a4525,'height':_0x3d1d97},this['imageId']=_0x3455b3;})['catch'](_0x344f35=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x344f35['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xb11703,_0x96cd2b){return this['_getImageAsFile'](_0xb11703)['then'](_0x5b1f70=>_0x20c943['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x96cd2b['signal'],'file':_0x5b1f70,'onProgress':_0x40cf4d=>{_0x40cf4d&&_0x40cf4d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x40cf4d['value']));}}))['then'](_0x43fffe=>{const {width:_0x43e447,height:_0x1586ce}=_0x43fffe['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43fffe['cdnUrl'],this['imageDimension']={'width':_0x43e447,'height':_0x1586ce},this['imageId']=_0x43fffe['uuid'],this['imageUploadProgress']=null;const _0x29025d=_0xb11703['getAttribute']('src');this['_imageCache']['set'](_0x29025d,{'id':_0x43fffe['uuid'],'url':_0x43fffe['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3bb533=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3bb533['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x21e993,_0x309c80){_0x21e993['on']('apply',(_0x407b97,_0x2c9bec)=>{this['_replaceImage'](_0x309c80,_0x2c9bec['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x21e993['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x21e993['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x23ca00,_0x54ad29,_0x3357e0){const _0x1f66da=this['_editor'],{width:_0x5cee5a,height:_0x20b2af}=_0x16b8d3(_0x54ad29,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57d286,imageSources:_0x57fa65}=_0x1f0d97(_0x54ad29,_0x5cee5a);_0x1f66da['model']['change'](_0x2313c2=>{if('$graveyard'===_0x23ca00['root']['rootName']){_0x1f66da['execute']('insertImage',{'imageType':_0x23ca00['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x23ca00['getAttributes']()),'uploadcareImageId':_0x3357e0,'src':_0x57d286,'sources':_0x57fa65,'width':_0x5cee5a,'height':_0x20b2af}});const _0xa37216=_0x23ca00['getChildren']();_0x23ca00=_0x1f66da['model']['document']['selection']['getSelectedElement']();for(const _0x308c98 of _0xa37216)_0x2313c2['append'](_0x2313c2['cloneElement'](_0x308c98),_0x23ca00);}else _0x2313c2['setSelection'](_0x23ca00,'on'),_0x1f66da['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x23ca00['getAttributes']()),'uploadcareImageId':_0x3357e0,'src':_0x57d286,'sources':_0x57fa65,'width':_0x5cee5a,'height':_0x20b2af},_0x23ca00);_0x2313c2['setSelection'](_0x23ca00,'on');});}async['_getImageAsFile'](_0xdaab7){const _0xacda8d=_0x12586e['window'],_0x4f2b53=_0x12586e['document']['location']['href'],_0x1e8270=new _0xacda8d['URL'](_0xdaab7['getAttribute']('src'),_0x4f2b53);if('data:'===_0x1e8270['protocol']){const _0x15e09d=_0x1e8270['href']['split'](','),_0x2122a5=_0x15e09d[0x0]['match'](/:(.*?);/)[0x1],_0x19c639=_0x2122a5['split']('/')[0x1],_0x4fcb75=_0xacda8d['atob'](_0x15e09d[_0x15e09d['length']-0x1]);let _0x5a6dc2=_0x4fcb75['length'];const _0x246694=new _0xacda8d['Uint8Array'](_0x5a6dc2);for(;_0x5a6dc2--;)_0x246694[_0x5a6dc2]=_0x4fcb75['charCodeAt'](_0x5a6dc2);return new _0xacda8d['File']([_0x246694],'image.'+_0x19c639,{'type':_0x2122a5});}const _0x209ff5=_0x1e8270['href']['split']('/'),_0x341513=_0x209ff5[_0x209ff5['length']-0x1],_0x31dfdf=_0x341513['split']('.')[0x1];return _0xacda8d['fetch'](_0x1e8270['href'])['then'](_0x4a1906=>_0x4a1906['clone']()['blob']())['then'](_0x2092d5=>new _0xacda8d['File']([_0x2092d5],_0x341513,{'type':'image/'+_0x31dfdf}));}}
23
+ import{global as _0x434d88,ObservableMixin as _0x1d8c49}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x189066}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x474afa}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5b5862}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x1ccd86}from'../../utils/uploadutils.js';import{getImageUrls as _0x13c60a,getImageDimension as _0x15eb60}from'../../utils/editingutils.js';import{isAncestor as _0x56d727}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x1d8c49(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5c2cc8,_0x40fb57,_0x24fec1){super(),this['_editor']=_0x5c2cc8,this['_dialog']=_0x40fb57,this['_imageElement']=_0x24fec1,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 _0x1b78d7=this['_imageElement'],_0x7fcf17=_0x1b78d7['getAttribute']('uploadcareImageId'),_0x3e22eb=_0x1b78d7['getAttribute']('src');if(_0x7fcf17)await this['_loadImageInfo'](_0x7fcf17,_0x3e22eb);else{if(this['_imageCache']['has'](_0x3e22eb)){const _0x65c216=this['_imageCache']['get'](_0x3e22eb);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x65c216['url'],this['imageDimension']=_0x65c216['dimension'],this['imageId']=_0x65c216['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x904e96}=this['_editor'],t=_0x904e96['t'],_0x23be17=new _0x5b5862(_0x904e96,this['imageStatus'],this['_attributes']);_0x23be17['bind']('status')['to'](this,'imageStatus'),_0x23be17['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x23be17['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x23be17['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x23be17,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x474afa,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x23be17,'position':_0x189066['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x23be17['focus']();},'onHide':()=>{_0x23be17['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1071c9=>!_0x56d727(_0x1071c9,_0x23be17['element'])}});}['_loadImageInfo'](_0x196ee5,_0x5f092c){return _0x1ccd86['getInfo'](_0x196ee5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5c9c68=>{const {width:_0x3a0eaf,height:_0x2b13a4}=_0x5c9c68['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f092c,this['imageDimension']={'width':_0x3a0eaf,'height':_0x2b13a4},this['imageId']=_0x196ee5;})['catch'](_0x234f20=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x234f20['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x312219,_0x311427){return this['_getImageAsFile'](_0x312219)['then'](_0x5e2b65=>_0x1ccd86['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x311427['signal'],'file':_0x5e2b65,'onProgress':_0x55d8e7=>{_0x55d8e7&&_0x55d8e7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x55d8e7['value']));}}))['then'](_0x3b59e2=>{const {width:_0x2ad180,height:_0x4ab0d3}=_0x3b59e2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b59e2['cdnUrl'],this['imageDimension']={'width':_0x2ad180,'height':_0x4ab0d3},this['imageId']=_0x3b59e2['uuid'],this['imageUploadProgress']=null;const _0x5e9a70=_0x312219['getAttribute']('src');this['_imageCache']['set'](_0x5e9a70,{'id':_0x3b59e2['uuid'],'url':_0x3b59e2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x724aa2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x724aa2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5837ba,_0x5b18fe){_0x5837ba['on']('apply',(_0x18af05,_0x330dc9)=>{this['_replaceImage'](_0x5b18fe,_0x330dc9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5837ba['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5837ba['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1a6c25,_0x66ef86,_0x45359d){const _0x3a576f=this['_editor'],{width:_0x1c80a8,height:_0x431497}=_0x15eb60(_0x66ef86,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x26ec51,imageSources:_0x14b6aa}=_0x13c60a(_0x66ef86,_0x1c80a8);_0x3a576f['model']['change'](_0xbd5611=>{if('$graveyard'===_0x1a6c25['root']['rootName']){_0x3a576f['execute']('insertImage',{'imageType':_0x1a6c25['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1a6c25['getAttributes']()),'uploadcareImageId':_0x45359d,'src':_0x26ec51,'sources':_0x14b6aa,'width':_0x1c80a8,'height':_0x431497}});const _0xf750fe=_0x1a6c25['getChildren']();_0x1a6c25=_0x3a576f['model']['document']['selection']['getSelectedElement']();for(const _0x528dca of _0xf750fe)_0xbd5611['append'](_0xbd5611['cloneElement'](_0x528dca),_0x1a6c25);}else _0xbd5611['setSelection'](_0x1a6c25,'on'),_0x3a576f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1a6c25['getAttributes']()),'uploadcareImageId':_0x45359d,'src':_0x26ec51,'sources':_0x14b6aa,'width':_0x1c80a8,'height':_0x431497},_0x1a6c25);_0xbd5611['setSelection'](_0x1a6c25,'on');});}async['_getImageAsFile'](_0x18355a){const _0x50f219=_0x434d88['window'],_0x286f58=_0x434d88['document']['location']['href'],_0x5342ba=new _0x50f219['URL'](_0x18355a['getAttribute']('src'),_0x286f58);if('data:'===_0x5342ba['protocol']){const _0x313e4e=_0x5342ba['href']['split'](','),_0x1b7699=_0x313e4e[0x0]['match'](/:(.*?);/)[0x1],_0x41b267=_0x1b7699['split']('/')[0x1],_0x4bb4a4=_0x50f219['atob'](_0x313e4e[_0x313e4e['length']-0x1]);let _0x4785be=_0x4bb4a4['length'];const _0x3bff2f=new _0x50f219['Uint8Array'](_0x4785be);for(;_0x4785be--;)_0x3bff2f[_0x4785be]=_0x4bb4a4['charCodeAt'](_0x4785be);return new _0x50f219['File']([_0x3bff2f],'image.'+_0x41b267,{'type':_0x1b7699});}const _0x33c901=_0x5342ba['href']['split']('/'),_0x4aa94b=_0x33c901[_0x33c901['length']-0x1],_0x5e79e8=_0x4aa94b['split']('.')[0x1];return _0x50f219['fetch'](_0x5342ba['href'])['then'](_0x3f2989=>_0x3f2989['clone']()['blob']())['then'](_0x56bcda=>new _0x50f219['File']([_0x56bcda],_0x4aa94b,{'type':'image/'+_0x5e79e8}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x53a4(){const _0x10bd90=['187759EzQTdZ','83877qQNIKi','484304RjcgEI','72QZiCSi','2259370LiuIml','530lycVhC','48TFvmCa','765948PScuGN','3WVsveL','ck-uploadcare-theme','bindTemplate','set','251310hPjJrb','setTemplate','imageSrc','3005590bXrggd','uc-light','image-edit','uc-cloud-image-editor'];_0x53a4=function(){return _0x10bd90;};return _0x53a4();}function _0x4837(_0x4cde79,_0x3c8096){const _0x53a43d=_0x53a4();return _0x4837=function(_0x483708,_0x36e4db){_0x483708=_0x483708-0xa6;let _0x2bbbd4=_0x53a43d[_0x483708];return _0x2bbbd4;},_0x4837(_0x4cde79,_0x3c8096);}(function(_0x45bdc1,_0x4667e3){const _0x330d9c=_0x4837,_0xe47d0c=_0x45bdc1();while(!![]){try{const _0x2be2cb=-parseInt(_0x330d9c(0xb6))/0x1*(-parseInt(_0x330d9c(0xa7))/0x2)+parseInt(_0x330d9c(0xaf))/0x3*(-parseInt(_0x330d9c(0xb4))/0x4)+-parseInt(_0x330d9c(0xb2))/0x5+-parseInt(_0x330d9c(0xb5))/0x6+parseInt(_0x330d9c(0xaa))/0x7+parseInt(_0x330d9c(0xb0))/0x8*(-parseInt(_0x330d9c(0xb1))/0x9)+parseInt(_0x330d9c(0xb3))/0xa*(parseInt(_0x330d9c(0xae))/0xb);if(_0x2be2cb===_0x4667e3)break;else _0xe47d0c['push'](_0xe47d0c['shift']());}catch(_0x531e4f){_0xe47d0c['push'](_0xe47d0c['shift']());}}}(_0x53a4,0x4c160));import{View as _0x2829b0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x2829b0{constructor(_0x1b572d,_0x2626f8){const _0x115a53=_0x4837;super(_0x1b572d);const _0x214f45=this[_0x115a53(0xb8)];this[_0x115a53(0xa6)](_0x115a53(0xa9),''),this[_0x115a53(0xa8)]({'tag':_0x115a53(0xad),'attributes':{..._0x2626f8,'class':[_0x115a53(0xab),_0x115a53(0xb7)],'ctx-name':_0x115a53(0xac),'cdn-url':_0x214f45['to'](_0x115a53(0xa9))}});}}
23
+ (function(_0x3f490d,_0x3f15ed){const _0x14c635=_0x44a8,_0x3b3472=_0x3f490d();while(!![]){try{const _0x1d7984=-parseInt(_0x14c635(0x193))/0x1+-parseInt(_0x14c635(0x190))/0x2+-parseInt(_0x14c635(0x189))/0x3+parseInt(_0x14c635(0x195))/0x4*(-parseInt(_0x14c635(0x188))/0x5)+-parseInt(_0x14c635(0x186))/0x6*(-parseInt(_0x14c635(0x194))/0x7)+-parseInt(_0x14c635(0x18a))/0x8+parseInt(_0x14c635(0x196))/0x9;if(_0x1d7984===_0x3f15ed)break;else _0x3b3472['push'](_0x3b3472['shift']());}catch(_0x2c9d71){_0x3b3472['push'](_0x3b3472['shift']());}}}(_0x54fb,0x1d6be));import{View as _0x1094db}from'ckeditor5/src/ui.js';function _0x44a8(_0x34d6ae,_0x249a2b){const _0x54fbad=_0x54fb();return _0x44a8=function(_0x44a88e,_0x3ab47b){_0x44a88e=_0x44a88e-0x186;let _0x18f2fb=_0x54fbad[_0x44a88e];return _0x18f2fb;},_0x44a8(_0x34d6ae,_0x249a2b);}function _0x54fb(){const _0xd0f753=['8491797LFnFfq','236058GvFdaL','uc-light','10EVRVGn','401460ViczHj','1844608eKGncL','set','uc-cloud-image-editor','bindTemplate','ck-uploadcare-theme','image-edit','225250jgJyjH','setTemplate','imageSrc','154571eziTFu','7eQftOm','461548TUxwtt'];_0x54fb=function(){return _0xd0f753;};return _0x54fb();}export class UploadcareImageEditFormEditingView extends _0x1094db{constructor(_0x496ee4,_0x5cddb2){const _0x33f084=_0x44a8;super(_0x496ee4);const _0x14433d=this[_0x33f084(0x18d)];this[_0x33f084(0x18b)](_0x33f084(0x192),''),this[_0x33f084(0x191)]({'tag':_0x33f084(0x18c),'attributes':{..._0x5cddb2,'class':[_0x33f084(0x187),_0x33f084(0x18e)],'ctx-name':_0x33f084(0x18f),'cdn-url':_0x14433d['to'](_0x33f084(0x192))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x146e1c}from'ckeditor5/src/icons.js';import{ButtonView as _0x5c30a4,IconView as _0x3de47,View as _0x1978f9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1978f9{constructor(_0x4483bf){super(_0x4483bf);const t=_0x4483bf['t'];this['set']('errorType',null);const _0x1c4e5e=new _0x5c30a4(_0x4483bf);_0x1c4e5e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1c4e5e['withText']=!0x0,_0x1c4e5e['class']='ck-button-action',_0x1c4e5e['on']('execute',()=>{this['fire']('retry');}),_0x1c4e5e['bind']('isVisible')['to'](this,'errorType',_0x46aafe=>'NotFound'!==_0x46aafe);const _0x515731=new _0x3de47();_0x515731['content']=_0x146e1c,_0x515731['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1c4ad4=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':[_0x515731,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1c4ad4['to']('errorType',_0x57516d=>t('NotFound'!==_0x57516d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1c4e5e]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x283d09}from'ckeditor5/src/icons.js';import{ButtonView as _0x1dc4e1,IconView as _0x2dfa1b,View as _0x34e596}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x34e596{constructor(_0x252dd2){super(_0x252dd2);const t=_0x252dd2['t'];this['set']('errorType',null);const _0x59b01e=new _0x1dc4e1(_0x252dd2);_0x59b01e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x59b01e['withText']=!0x0,_0x59b01e['class']='ck-button-action',_0x59b01e['on']('execute',()=>{this['fire']('retry');}),_0x59b01e['bind']('isVisible')['to'](this,'errorType',_0x3bb08f=>'NotFound'!==_0x3bb08f);const _0x210cbb=new _0x2dfa1b();_0x210cbb['content']=_0x283d09,_0x210cbb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x37f85e=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':[_0x210cbb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x37f85e['to']('errorType',_0x1b73ec=>t('NotFound'!==_0x1b73ec?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x59b01e]},{'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 _0x1c2557,View as _0x336181}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x336181{constructor(_0x578036){super(_0x578036);const t=_0x578036['t'],_0x47885f=this['bindTemplate'],_0x3699e1=new _0x1c2557();_0x3699e1['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':[_0x3699e1,{'text':_0x47885f['to']('imageUploadProgress',_0x250fbd=>t('Loading\x20image...')+'\x20('+(_0x250fbd||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 _0xcb790a,View as _0x5c339d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5c339d{constructor(_0x32a373){super(_0x32a373);const t=_0x32a373['t'],_0x43c4ec=this['bindTemplate'],_0x286ab6=new _0xcb790a();_0x286ab6['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':[_0x286ab6,{'text':_0x43c4ec['to']('imageUploadProgress',_0x4adb09=>t('Loading\x20image...')+'\x20('+(_0x4adb09||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 _0x296e78=_0x1f1a;(function(_0x278e5e,_0x39d0b5){const _0x33dd26=_0x1f1a,_0x2fb189=_0x278e5e();while(!![]){try{const _0x47c6ef=parseInt(_0x33dd26(0x1ee))/0x1+-parseInt(_0x33dd26(0x1ef))/0x2+-parseInt(_0x33dd26(0x205))/0x3+-parseInt(_0x33dd26(0x203))/0x4+-parseInt(_0x33dd26(0x212))/0x5+parseInt(_0x33dd26(0x202))/0x6+-parseInt(_0x33dd26(0x1eb))/0x7*(-parseInt(_0x33dd26(0x1e6))/0x8);if(_0x47c6ef===_0x39d0b5)break;else _0x2fb189['push'](_0x2fb189['shift']());}catch(_0x286105){_0x2fb189['push'](_0x2fb189['shift']());}}}(_0x1a9f,0xe56b5));import{View as _0x1a9c96}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x102188}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5b788c}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x57757b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4746e1}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x1f1a(_0x5322be,_0x355609){const _0x1a9f19=_0x1a9f();return _0x1f1a=function(_0x1f1afd,_0xfe438b){_0x1f1afd=_0x1f1afd-0x1e1;let _0x173b66=_0x1a9f19[_0x1f1afd];return _0x173b66;},_0x1f1a(_0x5322be,_0x355609);}export class UploadcareImageEditFormView extends _0x4746e1{[_0x296e78(0x20b)];[_0x296e78(0x1f0)];[_0x296e78(0x214)];[_0x296e78(0x207)];[_0x296e78(0x200)];constructor(_0x239ef5,_0x53c58c,_0x5a8aff){const _0x492fc9=_0x296e78;super(_0x239ef5),this[_0x492fc9(0x20b)]=this[_0x492fc9(0x208)](),this[_0x492fc9(0x1f0)]=new _0x102188(_0x239ef5),this[_0x492fc9(0x214)]=new _0x5b788c(_0x239ef5),this[_0x492fc9(0x207)]=new _0x57757b(_0x239ef5,_0x5a8aff),this[_0x492fc9(0x200)]=new _0x1a9c96(_0x239ef5),this[_0x492fc9(0x200)][_0x492fc9(0x1ed)](this[_0x492fc9(0x210)]()),this[_0x492fc9(0x20f)](_0x492fc9(0x1ff),_0x53c58c),this[_0x492fc9(0x1ed)]({'tag':_0x492fc9(0x1fd),'attributes':{'class':['ck',_0x492fc9(0x1f1),_0x492fc9(0x206)],'tabindex':'-1'},'children':this[_0x492fc9(0x20b)]}),this[_0x492fc9(0x1f4)](),this[_0x492fc9(0x1e9)](_0x492fc9(0x1fa),()=>{const _0x17f630=_0x492fc9;this[_0x17f630(0x1e7)](this[_0x17f630(0x1ec)],_0x5950e9=>{const _0x17ff97=_0x17f630;this[_0x17ff97(0x1e3)](_0x5950e9);});}),this['on'](_0x492fc9(0x1e1),()=>{const _0x165ff6=_0x492fc9;this[_0x165ff6(0x1f4)]();}),this[_0x492fc9(0x1fb)]();}[_0x296e78(0x1fe)](){const _0x104dda=_0x296e78;this[_0x104dda(0x1ec)][_0x104dda(0x1fe)]();}[_0x296e78(0x1f4)](){const _0x338510=_0x296e78;switch(this[_0x338510(0x20b)][_0x338510(0x215)](),this[_0x338510(0x1ff)]){case _0x338510(0x20e):this[_0x338510(0x20b)][_0x338510(0x20c)](this[_0x338510(0x1f0)]);break;case _0x338510(0x1f3):this[_0x338510(0x20b)][_0x338510(0x20c)](this[_0x338510(0x214)]);break;case _0x338510(0x1f8):this[_0x338510(0x20b)][_0x338510(0x209)]([this[_0x338510(0x207)],this[_0x338510(0x200)]]);}}[_0x296e78(0x1e7)](_0x2d2a1d,_0x4b22ea){const _0x4ac2b3=_0x296e78,_0x57b201=_0x4ac2b3(0x211),_0x37b5a2=_0x2d2a1d[_0x4ac2b3(0x1e8)](_0x57b201);if(_0x37b5a2)return _0x4b22ea(_0x37b5a2);const _0x353be6=new MutationObserver(_0x37f5b5=>{const _0x8b1985=_0x4ac2b3,_0x1f929b=_0x37f5b5[_0x8b1985(0x1e4)](_0x732390=>_0x732390[_0x8b1985(0x1f9)]===_0x2d2a1d&&_0x732390[_0x8b1985(0x1e2)][_0x8b1985(0x1f2)]>0x0&&_0x732390[_0x8b1985(0x1e2)][0x0][_0x8b1985(0x1fc)][_0x8b1985(0x20d)]()===_0x57b201);_0x1f929b[_0x8b1985(0x1f2)]&&(_0x353be6[_0x8b1985(0x213)](),_0x4b22ea(_0x1f929b[0x0][_0x8b1985(0x1e2)][0x0]));});_0x353be6[_0x4ac2b3(0x1e5)](_0x2d2a1d,{'childList':!0x0,'subtree':!0x0});}[_0x296e78(0x1e3)](_0x32ae7b){const _0x11c15c=_0x296e78;_0x32ae7b[_0x11c15c(0x1f5)](_0x11c15c(0x20a),_0x3208f0=>{const _0x54b320=_0x11c15c;this[_0x54b320(0x201)](_0x54b320(0x20a),{'imageSrc':_0x3208f0[_0x54b320(0x1ea)][_0x54b320(0x204)]});}),_0x32ae7b[_0x11c15c(0x1f5)](_0x11c15c(0x1f7),()=>{const _0x26d0c4=_0x11c15c;this[_0x26d0c4(0x201)](_0x26d0c4(0x1f7));});}[_0x296e78(0x1fb)](){const _0x3729b9=_0x296e78;this[_0x3729b9(0x214)]['on'](_0x3729b9(0x1f6),()=>{const _0x3b1247=_0x3729b9;this[_0x3b1247(0x201)](_0x3b1247(0x1f6));});}}function _0x1a9f(){const _0x25a03a=['observe','808OvTOOn','_waitForImageEditorComponent','querySelector','once','detail','224420xptGXy','element','setTemplate','1800190BBhohv','2523538NNcoMs','_loadingView','ck-reset_all-excluded','length','error','_setView','addEventListener','retry','cancel','ready','target','render','_addErrorViewListeners','nodeName','div','focus','status','_focusableView','fire','4051236pzsufL','6157996COHuSl','cdnUrl','1687725REsIZj','ck-uploadcare-form','_editingView','createCollection','addMany','apply','_items','add','toLowerCase','uploading','set','getFocusableElement','uc-cloud-image-editor','7049560Tbytby','disconnect','_errorView','clear','change:status','addedNodes','_addUploadcareImageEditorListeners','filter'];_0x1a9f=function(){return _0x25a03a;};return _0x1a9f();}
23
+ const _0x379f78=_0x26dd;(function(_0x3c77c8,_0xf6fe17){const _0x28d7b7=_0x26dd,_0x321ea0=_0x3c77c8();while(!![]){try{const _0x143f4a=-parseInt(_0x28d7b7(0x1ca))/0x1+-parseInt(_0x28d7b7(0x1b6))/0x2+parseInt(_0x28d7b7(0x1b0))/0x3*(-parseInt(_0x28d7b7(0x1c7))/0x4)+-parseInt(_0x28d7b7(0x1a0))/0x5+parseInt(_0x28d7b7(0x1a2))/0x6*(-parseInt(_0x28d7b7(0x1ac))/0x7)+parseInt(_0x28d7b7(0x1a7))/0x8*(parseInt(_0x28d7b7(0x1aa))/0x9)+parseInt(_0x28d7b7(0x1c9))/0xa*(parseInt(_0x28d7b7(0x1cf))/0xb);if(_0x143f4a===_0xf6fe17)break;else _0x321ea0['push'](_0x321ea0['shift']());}catch(_0x58ccda){_0x321ea0['push'](_0x321ea0['shift']());}}}(_0x59f9,0x3cb03));import{View as _0x5121d3}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2aaac2}from'./uploadcareimageeditformloadingview.js';function _0x59f9(){const _0x2a2d7b=['error','75648CkAAZG','once','createCollection','_errorView','add','8phgEvT','ck-uploadcare-form','target','1668123gyjEhI','status','140QuWwVv','set','apply','_focusableView','3kjhVEl','uploading','getFocusableElement','filter','div','_items','883518KQRFYV','_editingView','render','clear','cdnUrl','querySelector','observe','detail','ck-reset_all-excluded','nodeName','_setView','_loadingView','setTemplate','addEventListener','fire','change:status','retry','245332ACfrGI','addedNodes','12354670KhTrGN','406786aVbnNb','toLowerCase','_addUploadcareImageEditorListeners','ready','addMany','11iyVEbA','focus','length','_waitForImageEditorComponent','element','disconnect','uc-cloud-image-editor','_addErrorViewListeners','cancel','50985cjoEXt'];_0x59f9=function(){return _0x2a2d7b;};return _0x59f9();}import{UploadcareImageEditFormErrorView as _0x4a4e2e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5c9e97}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2c8525}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x26dd(_0x3dafc1,_0x25a6dc){const _0x59f956=_0x59f9();return _0x26dd=function(_0x26ddb8,_0xe1aa56){_0x26ddb8=_0x26ddb8-0x19b;let _0x3ee115=_0x59f956[_0x26ddb8];return _0x3ee115;},_0x26dd(_0x3dafc1,_0x25a6dc);}export class UploadcareImageEditFormView extends _0x2c8525{[_0x379f78(0x1b5)];[_0x379f78(0x1c1)];[_0x379f78(0x1a5)];[_0x379f78(0x1b7)];[_0x379f78(0x1af)];constructor(_0x509f88,_0x496366,_0x155f29){const _0x167803=_0x379f78;super(_0x509f88),this[_0x167803(0x1b5)]=this[_0x167803(0x1a4)](),this[_0x167803(0x1c1)]=new _0x2aaac2(_0x509f88),this[_0x167803(0x1a5)]=new _0x4a4e2e(_0x509f88),this[_0x167803(0x1b7)]=new _0x5c9e97(_0x509f88,_0x155f29),this[_0x167803(0x1af)]=new _0x5121d3(_0x509f88),this[_0x167803(0x1af)][_0x167803(0x1c2)](this[_0x167803(0x1b2)]()),this[_0x167803(0x1ad)](_0x167803(0x1ab),_0x496366),this[_0x167803(0x1c2)]({'tag':_0x167803(0x1b4),'attributes':{'class':['ck',_0x167803(0x1be),_0x167803(0x1a8)],'tabindex':'-1'},'children':this[_0x167803(0x1b5)]}),this[_0x167803(0x1c0)](),this[_0x167803(0x1a3)](_0x167803(0x1b8),()=>{const _0x51ecfa=_0x167803;this[_0x51ecfa(0x1d2)](this[_0x51ecfa(0x19b)],_0x1de145=>{const _0xd3263c=_0x51ecfa;this[_0xd3263c(0x1cc)](_0x1de145);});}),this['on'](_0x167803(0x1c5),()=>{const _0x23dd16=_0x167803;this[_0x23dd16(0x1c0)]();}),this[_0x167803(0x19e)]();}[_0x379f78(0x1d0)](){const _0x89e86b=_0x379f78;this[_0x89e86b(0x19b)][_0x89e86b(0x1d0)]();}[_0x379f78(0x1c0)](){const _0x1593bf=_0x379f78;switch(this[_0x1593bf(0x1b5)][_0x1593bf(0x1b9)](),this[_0x1593bf(0x1ab)]){case _0x1593bf(0x1b1):this[_0x1593bf(0x1b5)][_0x1593bf(0x1a6)](this[_0x1593bf(0x1c1)]);break;case _0x1593bf(0x1a1):this[_0x1593bf(0x1b5)][_0x1593bf(0x1a6)](this[_0x1593bf(0x1a5)]);break;case _0x1593bf(0x1cd):this[_0x1593bf(0x1b5)][_0x1593bf(0x1ce)]([this[_0x1593bf(0x1b7)],this[_0x1593bf(0x1af)]]);}}[_0x379f78(0x1d2)](_0x3b8699,_0x5600b0){const _0x2f3af0=_0x379f78,_0x356ffd=_0x2f3af0(0x19d),_0x1eed83=_0x3b8699[_0x2f3af0(0x1bb)](_0x356ffd);if(_0x1eed83)return _0x5600b0(_0x1eed83);const _0x5de8e7=new MutationObserver(_0x290027=>{const _0x2464bd=_0x2f3af0,_0x1c9c6e=_0x290027[_0x2464bd(0x1b3)](_0xedef03=>_0xedef03[_0x2464bd(0x1a9)]===_0x3b8699&&_0xedef03[_0x2464bd(0x1c8)][_0x2464bd(0x1d1)]>0x0&&_0xedef03[_0x2464bd(0x1c8)][0x0][_0x2464bd(0x1bf)][_0x2464bd(0x1cb)]()===_0x356ffd);_0x1c9c6e[_0x2464bd(0x1d1)]&&(_0x5de8e7[_0x2464bd(0x19c)](),_0x5600b0(_0x1c9c6e[0x0][_0x2464bd(0x1c8)][0x0]));});_0x5de8e7[_0x2f3af0(0x1bc)](_0x3b8699,{'childList':!0x0,'subtree':!0x0});}[_0x379f78(0x1cc)](_0x58c086){const _0x1848de=_0x379f78;_0x58c086[_0x1848de(0x1c3)](_0x1848de(0x1ae),_0x4213be=>{const _0x45ba40=_0x1848de;this[_0x45ba40(0x1c4)](_0x45ba40(0x1ae),{'imageSrc':_0x4213be[_0x45ba40(0x1bd)][_0x45ba40(0x1ba)]});}),_0x58c086[_0x1848de(0x1c3)](_0x1848de(0x19f),()=>{const _0xe153a7=_0x1848de;this[_0xe153a7(0x1c4)](_0xe153a7(0x19f));});}[_0x379f78(0x19e)](){const _0x3ce7c8=_0x379f78;this[_0x3ce7c8(0x1a5)]['on'](_0x3ce7c8(0x1c6),()=>{const _0x187793=_0x3ce7c8;this[_0x187793(0x1c4)](_0x187793(0x1c6));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x34af(){const _0x3e58ac=['requires','719134uVktdt','plugins','2693454VIQIZE','628VnYVpE','_isEditable','imageInline','5683580SxeJcE','getSelectedElement','refresh','unbind','editor','isEnabled','uploadcare.allowExternalImagesEditing','bind','imageEditController','get','9178880fQKiHu','model','977916tJiSOU','selection','isActive','document','imageBlock','execute','config','16065lhhTdG','337650qhGWSg','set','element'];_0x34af=function(){return _0x3e58ac;};return _0x34af();}const _0x14ba7d=_0x348f;(function(_0x801c60,_0xd3e1ea){const _0x3a7941=_0x348f,_0x256c09=_0x801c60();while(!![]){try{const _0x574e48=-parseInt(_0x3a7941(0x91))/0x1+parseInt(_0x3a7941(0x8d))/0x2+parseInt(_0x3a7941(0x93))/0x3+parseInt(_0x3a7941(0x94))/0x4*(parseInt(_0x3a7941(0x8c))/0x5)+parseInt(_0x3a7941(0x85))/0x6+parseInt(_0x3a7941(0x79))/0x7+-parseInt(_0x3a7941(0x83))/0x8;if(_0x574e48===_0xd3e1ea)break;else _0x256c09['push'](_0x256c09['shift']());}catch(_0x1754fd){_0x256c09['push'](_0x256c09['shift']());}}}(_0x34af,0xa5e5c));import{Command as _0x28f3bb}from'ckeditor5/src/core.js';import{Dialog as _0x25df9f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x140165}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x25c18b}from'../utils/editingutils.js';function _0x348f(_0x450ad4,_0x3cd426){const _0x34af8d=_0x34af();return _0x348f=function(_0x348fa9,_0x21fbc4){_0x348fa9=_0x348fa9-0x77;let _0x1a2ccb=_0x34af8d[_0x348fa9];return _0x1a2ccb;},_0x348f(_0x450ad4,_0x3cd426);}export class UploadcareImageEditCommand extends _0x28f3bb{[_0x14ba7d(0x81)];static get[_0x14ba7d(0x90)](){return[_0x25df9f];}[_0x14ba7d(0x77)];constructor(_0x3cc677){const _0x538f57=_0x14ba7d;super(_0x3cc677),this[_0x538f57(0x81)]=void 0x0,this[_0x538f57(0x77)]=_0x25c18b(_0x3cc677[_0x538f57(0x8b)][_0x538f57(0x82)](_0x538f57(0x7f))||[]),this[_0x538f57(0x8e)]({'isActive':!0x1});}[_0x14ba7d(0x7b)](){const _0x19bb6f=_0x14ba7d,_0x30a959=this[_0x19bb6f(0x7d)][_0x19bb6f(0x84)][_0x19bb6f(0x88)][_0x19bb6f(0x86)][_0x19bb6f(0x7a)]();this[_0x19bb6f(0x7e)]=this[_0x19bb6f(0x77)](_0x30a959);}[_0x14ba7d(0x8a)](){const _0x24fb32=_0x14ba7d;this[_0x24fb32(0x81)]&&(this[_0x24fb32(0x7c)](_0x24fb32(0x87)),this[_0x24fb32(0x81)]=void 0x0);const _0x3cf059=this[_0x24fb32(0x7d)][_0x24fb32(0x84)][_0x24fb32(0x88)][_0x24fb32(0x86)][_0x24fb32(0x7a)]();_0x3cf059&&(_0x3cf059['is'](_0x24fb32(0x8f),_0x24fb32(0x89))||_0x3cf059['is'](_0x24fb32(0x8f),_0x24fb32(0x78)))&&(this[_0x24fb32(0x81)]=new _0x140165(this[_0x24fb32(0x7d)],this[_0x24fb32(0x7d)][_0x24fb32(0x92)][_0x24fb32(0x82)](_0x25df9f),_0x3cf059),this[_0x24fb32(0x80)](_0x24fb32(0x87))['to'](this[_0x24fb32(0x81)],_0x24fb32(0x87)));}}
23
+ const _0x3104b9=_0x597b;function _0x478c(){const _0x3a3c3c=['103959oHEQnE','requires','bind','plugins','selection','240961jUATMj','refresh','15xJmmOL','getSelectedElement','_isEditable','66msjowb','editor','3211iLyCsr','document','44imLGkA','uploadcare.allowExternalImagesEditing','imageBlock','imageEditController','9208tIVMBH','config','1270560dhIouW','execute','4260DInJVt','model','436478zxhkNs','2997xvTZxL','element','imageInline','set','isEnabled','unbind','get','3cMulCG','isActive','653132xsRuHi'];_0x478c=function(){return _0x3a3c3c;};return _0x478c();}(function(_0x23325f,_0x6eb87){const _0x10d94a=_0x597b,_0x5f1454=_0x23325f();while(!![]){try{const _0x77b531=-parseInt(_0x10d94a(0x203))/0x1+parseInt(_0x10d94a(0x1f8))/0x2*(parseInt(_0x10d94a(0x200))/0x3)+parseInt(_0x10d94a(0x202))/0x4*(parseInt(_0x10d94a(0x20a))/0x5)+-parseInt(_0x10d94a(0x20d))/0x6*(parseInt(_0x10d94a(0x208))/0x7)+-parseInt(_0x10d94a(0x1f2))/0x8*(parseInt(_0x10d94a(0x1f9))/0x9)+-parseInt(_0x10d94a(0x1f4))/0xa*(-parseInt(_0x10d94a(0x211))/0xb)+parseInt(_0x10d94a(0x1f6))/0xc*(-parseInt(_0x10d94a(0x20f))/0xd);if(_0x77b531===_0x6eb87)break;else _0x5f1454['push'](_0x5f1454['shift']());}catch(_0x99e8d7){_0x5f1454['push'](_0x5f1454['shift']());}}}(_0x478c,0x4024c));import{Command as _0x3caa00}from'ckeditor5/src/core.js';import{Dialog as _0x214966}from'ckeditor5/src/ui.js';function _0x597b(_0x511f8c,_0x2c2765){const _0x478cad=_0x478c();return _0x597b=function(_0x597bc0,_0x34beba){_0x597bc0=_0x597bc0-0x1ef;let _0x2b5f70=_0x478cad[_0x597bc0];return _0x2b5f70;},_0x597b(_0x511f8c,_0x2c2765);}import{UploadcareImageEditController as _0x16fd17}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1ba97d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3caa00{[_0x3104b9(0x1f1)];static get[_0x3104b9(0x204)](){return[_0x214966];}[_0x3104b9(0x20c)];constructor(_0x57ac7d){const _0x1bb71b=_0x3104b9;super(_0x57ac7d),this[_0x1bb71b(0x1f1)]=void 0x0,this[_0x1bb71b(0x20c)]=_0x1ba97d(_0x57ac7d[_0x1bb71b(0x1f3)][_0x1bb71b(0x1ff)](_0x1bb71b(0x1ef))||[]),this[_0x1bb71b(0x1fc)]({'isActive':!0x1});}[_0x3104b9(0x209)](){const _0x1e751b=_0x3104b9,_0x4d0cfb=this[_0x1e751b(0x20e)][_0x1e751b(0x1f7)][_0x1e751b(0x210)][_0x1e751b(0x207)][_0x1e751b(0x20b)]();this[_0x1e751b(0x1fd)]=this[_0x1e751b(0x20c)](_0x4d0cfb);}[_0x3104b9(0x1f5)](){const _0x45cbac=_0x3104b9;this[_0x45cbac(0x1f1)]&&(this[_0x45cbac(0x1fe)](_0x45cbac(0x201)),this[_0x45cbac(0x1f1)]=void 0x0);const _0x1a32a0=this[_0x45cbac(0x20e)][_0x45cbac(0x1f7)][_0x45cbac(0x210)][_0x45cbac(0x207)][_0x45cbac(0x20b)]();_0x1a32a0&&(_0x1a32a0['is'](_0x45cbac(0x1fa),_0x45cbac(0x1f0))||_0x1a32a0['is'](_0x45cbac(0x1fa),_0x45cbac(0x1fb)))&&(this[_0x45cbac(0x1f1)]=new _0x16fd17(this[_0x45cbac(0x20e)],this[_0x45cbac(0x20e)][_0x45cbac(0x206)][_0x45cbac(0x1ff)](_0x214966),_0x1a32a0),this[_0x45cbac(0x205)](_0x45cbac(0x201))['to'](this[_0x45cbac(0x1f1)],_0x45cbac(0x201)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1de5b7=_0x395a;(function(_0x420997,_0x5b7d04){const _0x18fede=_0x395a,_0x367195=_0x420997();while(!![]){try{const _0x428dfe=parseInt(_0x18fede(0x151))/0x1*(parseInt(_0x18fede(0x157))/0x2)+-parseInt(_0x18fede(0x145))/0x3*(-parseInt(_0x18fede(0x154))/0x4)+-parseInt(_0x18fede(0x146))/0x5*(parseInt(_0x18fede(0x150))/0x6)+-parseInt(_0x18fede(0x141))/0x7*(parseInt(_0x18fede(0x158))/0x8)+-parseInt(_0x18fede(0x14d))/0x9*(parseInt(_0x18fede(0x14a))/0xa)+-parseInt(_0x18fede(0x14e))/0xb+parseInt(_0x18fede(0x14f))/0xc*(parseInt(_0x18fede(0x152))/0xd);if(_0x428dfe===_0x5b7d04)break;else _0x367195['push'](_0x367195['shift']());}catch(_0x308760){_0x367195['push'](_0x367195['shift']());}}}(_0x13c4,0xd6b22));import{Plugin as _0x4d17f7}from'ckeditor5/src/core.js';import{Notification as _0x479cd4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x271cfa}from'./uploadcareimageeditcommand.js';function _0x13c4(){const _0x13a3c1=['UploadcareImageEditEditing','isOfficialPlugin','495AZAZQT','3869536gYsRJb','27750540DRYlve','198rhIWGN','4luHlJm','13GPJzUp','uploadcareImageReplace','4jdjKrH','commands','isPremiumPlugin','752932iwvPcM','474376obhYIY','add','42gZbYfA','init','pluginName','ImageEditing','1435047resVWj','255785uOlNOZ','ImageUtils','requires','uploadcareImageEdit','185750lxzRCF'];_0x13c4=function(){return _0x13a3c1;};return _0x13c4();}import{UploadcareImageReplaceCommand as _0x25d9af}from'./uploadcareimagereplacecommand.js';function _0x395a(_0x49c7c8,_0x32b9be){const _0x13c408=_0x13c4();return _0x395a=function(_0x395a84,_0x4effc8){_0x395a84=_0x395a84-0x140;let _0x10bf4e=_0x13c408[_0x395a84];return _0x10bf4e;},_0x395a(_0x49c7c8,_0x32b9be);}import{UploadcareEditing as _0x2b4751}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4d17f7{static get[_0x1de5b7(0x143)](){const _0xb0cac5=_0x1de5b7;return _0xb0cac5(0x14b);}static get[_0x1de5b7(0x148)](){const _0x41f88=_0x1de5b7;return[_0x2b4751,_0x479cd4,_0x41f88(0x147),_0x41f88(0x144)];}static get[_0x1de5b7(0x14c)](){return!0x0;}static get[_0x1de5b7(0x156)](){return!0x0;}[_0x1de5b7(0x142)](){const _0xa3ce3f=_0x1de5b7,{editor:_0x7e7286}=this;_0x7e7286[_0xa3ce3f(0x155)][_0xa3ce3f(0x140)](_0xa3ce3f(0x149),new _0x271cfa(_0x7e7286)),_0x7e7286[_0xa3ce3f(0x155)][_0xa3ce3f(0x140)](_0xa3ce3f(0x153),new _0x25d9af(_0x7e7286));}}
23
+ const _0x1006b7=_0x377f;(function(_0x3933d4,_0x10056b){const _0x3f1fac=_0x377f,_0x11359f=_0x3933d4();while(!![]){try{const _0x428cd1=-parseInt(_0x3f1fac(0x1bd))/0x1+-parseInt(_0x3f1fac(0x1c5))/0x2*(parseInt(_0x3f1fac(0x1c9))/0x3)+-parseInt(_0x3f1fac(0x1bc))/0x4+-parseInt(_0x3f1fac(0x1c4))/0x5+parseInt(_0x3f1fac(0x1c3))/0x6*(-parseInt(_0x3f1fac(0x1ca))/0x7)+-parseInt(_0x3f1fac(0x1bb))/0x8+parseInt(_0x3f1fac(0x1be))/0x9*(parseInt(_0x3f1fac(0x1c1))/0xa);if(_0x428cd1===_0x10056b)break;else _0x11359f['push'](_0x11359f['shift']());}catch(_0x189554){_0x11359f['push'](_0x11359f['shift']());}}}(_0x43c0,0x77d57));import{Plugin as _0x13ecc9}from'ckeditor5/src/core.js';import{Notification as _0x5bbb48}from'ckeditor5/src/ui.js';function _0x377f(_0x35329e,_0x34cae9){const _0x43c0a6=_0x43c0();return _0x377f=function(_0x377f3d,_0x4bb68a){_0x377f3d=_0x377f3d-0x1b9;let _0x53c8f0=_0x43c0a6[_0x377f3d];return _0x53c8f0;},_0x377f(_0x35329e,_0x34cae9);}import{UploadcareImageEditCommand as _0x95243a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x46df7a}from'./uploadcareimagereplacecommand.js';function _0x43c0(){const _0x219756=['9XQPENl','isPremiumPlugin','UploadcareImageEditEditing','33831610QuIOpw','pluginName','318psfwhh','1188835jHDIYN','68yCBUOf','ImageEditing','isOfficialPlugin','uploadcareImageReplace','55239DpuTzy','12502lzivFS','commands','init','ImageUtils','requires','uploadcareImageEdit','add','589408JKQLMO','3840468FIvXrl','900062OFcpvQ'];_0x43c0=function(){return _0x219756;};return _0x43c0();}import{UploadcareEditing as _0x4f440b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x13ecc9{static get[_0x1006b7(0x1c2)](){const _0x5290c0=_0x1006b7;return _0x5290c0(0x1c0);}static get[_0x1006b7(0x1ce)](){const _0x168e98=_0x1006b7;return[_0x4f440b,_0x5bbb48,_0x168e98(0x1cd),_0x168e98(0x1c6)];}static get[_0x1006b7(0x1c7)](){return!0x0;}static get[_0x1006b7(0x1bf)](){return!0x0;}[_0x1006b7(0x1cc)](){const _0x3255ee=_0x1006b7,{editor:_0x9eaf16}=this;_0x9eaf16[_0x3255ee(0x1cb)][_0x3255ee(0x1ba)](_0x3255ee(0x1b9),new _0x95243a(_0x9eaf16)),_0x9eaf16[_0x3255ee(0x1cb)][_0x3255ee(0x1ba)](_0x3255ee(0x1c8),new _0x46df7a(_0x9eaf16));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3d2ad2}from'ckeditor5/src/core.js';import{ButtonView as _0x2efbca}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x35102b}from'ckeditor5/src/icons.js';import{createElement as _0x14fc71}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x3d2ad2{['_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 _0x1cadeb=this['editor'];_0x1cadeb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5e0f7a=>{const _0x489ac2=_0x1cadeb['commands']['get']('uploadcareImageEdit'),_0xd99408=new _0x2efbca(_0x5e0f7a),t=_0x5e0f7a['t'];return _0xd99408['set']({'icon':_0x35102b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xd99408['bind']('isEnabled')['to'](_0x489ac2),_0xd99408['bind']('isOn')['to'](_0x489ac2,'isActive'),this['listenTo'](_0xd99408,'execute',()=>{_0x1cadeb['execute']('uploadcareImageEdit'),_0x1cadeb['editing']['view']['focus']();}),_0xd99408;}),this['_initConfig']();}['_initConfig'](){const _0x19d73a=_0x14fc71(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x19d73a),this['listenTo'](this['editor'],'destroy',()=>{_0x19d73a['remove']();});}}
23
+ import{Plugin as _0x461da0}from'ckeditor5/src/core.js';import{ButtonView as _0x1eaab7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x137d3a}from'ckeditor5/src/icons.js';import{createElement as _0x5b87d4}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x461da0{['_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 _0x5a9cb9=this['editor'];_0x5a9cb9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x545759=>{const _0x9f76c9=_0x5a9cb9['commands']['get']('uploadcareImageEdit'),_0x5d18d9=new _0x1eaab7(_0x545759),t=_0x545759['t'];return _0x5d18d9['set']({'icon':_0x137d3a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5d18d9['bind']('isEnabled')['to'](_0x9f76c9),_0x5d18d9['bind']('isOn')['to'](_0x9f76c9,'isActive'),this['listenTo'](_0x5d18d9,'execute',()=>{_0x5a9cb9['execute']('uploadcareImageEdit'),_0x5a9cb9['editing']['view']['focus']();}),_0x5d18d9;}),this['_initConfig']();}['_initConfig'](){const _0x266a07=_0x5b87d4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x266a07),this['listenTo'](this['editor'],'destroy',()=>{_0x266a07['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d623e=_0x1e39;function _0x1e39(_0x207c63,_0x3ba4d5){const _0x4d8d15=_0x4d8d();return _0x1e39=function(_0x1e3900,_0x4f7c47){_0x1e3900=_0x1e3900-0x7c;let _0x5e9510=_0x4d8d15[_0x1e3900];return _0x5e9510;},_0x1e39(_0x207c63,_0x3ba4d5);}(function(_0x4993c3,_0x17966d){const _0x250e07=_0x1e39,_0x323d93=_0x4993c3();while(!![]){try{const _0x401949=parseInt(_0x250e07(0x94))/0x1+-parseInt(_0x250e07(0x8c))/0x2*(parseInt(_0x250e07(0x8b))/0x3)+parseInt(_0x250e07(0x90))/0x4*(-parseInt(_0x250e07(0x82))/0x5)+-parseInt(_0x250e07(0x7d))/0x6+-parseInt(_0x250e07(0x84))/0x7*(parseInt(_0x250e07(0x91))/0x8)+-parseInt(_0x250e07(0x7e))/0x9+parseInt(_0x250e07(0x8a))/0xa;if(_0x401949===_0x17966d)break;else _0x323d93['push'](_0x323d93['shift']());}catch(_0x27ee8a){_0x323d93['push'](_0x323d93['shift']());}}}(_0x4d8d,0x9a0ef));function _0x4d8d(){const _0x57fd80=['sizes','getSelectedElement','962384bnTcDI','40RLMcWu','removeAttribute','model','214575fAhZWT','imageInline','setAttributes','3790248bePGJw','10162494SXizOq','element','document','editor','20Ltavbo','srcset','332031JZuSvt','refresh','selection','imageBlock','isEnabled','execute','40231280VKJOsb','3aWqFOp','1292514YTiJgx','change'];_0x4d8d=function(){return _0x57fd80;};return _0x4d8d();}import{Command as _0x3c95b1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3c95b1{[_0x3d623e(0x85)](){const _0x6728f=_0x3d623e,_0x518f8d=this[_0x6728f(0x81)][_0x6728f(0x93)][_0x6728f(0x80)][_0x6728f(0x86)][_0x6728f(0x8f)]();this[_0x6728f(0x88)]=Boolean(_0x518f8d&&(_0x518f8d['is'](_0x6728f(0x7f),_0x6728f(0x87))||_0x518f8d['is'](_0x6728f(0x7f),_0x6728f(0x95))));}[_0x3d623e(0x89)](_0x3a623a){const _0x3f51e4=_0x3d623e,_0x5c07bb=this[_0x3f51e4(0x81)][_0x3f51e4(0x93)][_0x3f51e4(0x80)][_0x3f51e4(0x86)][_0x3f51e4(0x8f)]();this[_0x3f51e4(0x81)][_0x3f51e4(0x93)][_0x3f51e4(0x8d)](_0x59ed42=>{const _0x4f01a5=_0x3f51e4;_0x59ed42[_0x4f01a5(0x7c)](_0x3a623a,_0x5c07bb),_0x59ed42[_0x4f01a5(0x92)](_0x4f01a5(0x83),_0x5c07bb),_0x59ed42[_0x4f01a5(0x92)](_0x4f01a5(0x8e),_0x5c07bb);});}}
23
+ const _0xeb0201=_0x3804;(function(_0x4d43c5,_0x4ceeb5){const _0xdb1c7b=_0x3804,_0x42c614=_0x4d43c5();while(!![]){try{const _0xa77d13=-parseInt(_0xdb1c7b(0x121))/0x1+-parseInt(_0xdb1c7b(0x115))/0x2+parseInt(_0xdb1c7b(0x125))/0x3+parseInt(_0xdb1c7b(0x12b))/0x4*(parseInt(_0xdb1c7b(0x123))/0x5)+parseInt(_0xdb1c7b(0x11d))/0x6+parseInt(_0xdb1c7b(0x128))/0x7+-parseInt(_0xdb1c7b(0x127))/0x8;if(_0xa77d13===_0x4ceeb5)break;else _0x42c614['push'](_0x42c614['shift']());}catch(_0x5114e0){_0x42c614['push'](_0x42c614['shift']());}}}(_0x1ba3,0xc16c2));function _0x3804(_0x323b88,_0x2658e4){const _0x1ba3a4=_0x1ba3();return _0x3804=function(_0x380492,_0x4c497f){_0x380492=_0x380492-0x114;let _0x178cd2=_0x1ba3a4[_0x380492];return _0x178cd2;},_0x3804(_0x323b88,_0x2658e4);}import{Command as _0x4e12d4}from'ckeditor5/src/core.js';function _0x1ba3(){const _0x375d9b=['change','1407976oqBdoh','3166128xIYoqx','srcset','editor','14052uRCStt','setAttributes','56358uKtNAJ','selection','isEnabled','execute','model','imageBlock','refresh','element','2071842kUbInc','getSelectedElement','removeAttribute','sizes','672026LMxNvi','document','830PIDjLl','imageInline','863073dOxcvS'];_0x1ba3=function(){return _0x375d9b;};return _0x1ba3();}export class UploadcareImageReplaceCommand extends _0x4e12d4{[_0xeb0201(0x11b)](){const _0x9884cc=_0xeb0201,_0x182649=this[_0x9884cc(0x12a)][_0x9884cc(0x119)][_0x9884cc(0x122)][_0x9884cc(0x116)][_0x9884cc(0x11e)]();this[_0x9884cc(0x117)]=Boolean(_0x182649&&(_0x182649['is'](_0x9884cc(0x11c),_0x9884cc(0x11a))||_0x182649['is'](_0x9884cc(0x11c),_0x9884cc(0x124))));}[_0xeb0201(0x118)](_0x2f168b){const _0x2294c9=_0xeb0201,_0x4a8b78=this[_0x2294c9(0x12a)][_0x2294c9(0x119)][_0x2294c9(0x122)][_0x2294c9(0x116)][_0x2294c9(0x11e)]();this[_0x2294c9(0x12a)][_0x2294c9(0x119)][_0x2294c9(0x126)](_0x53ab68=>{const _0x48f90f=_0x2294c9;_0x53ab68[_0x48f90f(0x114)](_0x2f168b,_0x4a8b78),_0x53ab68[_0x48f90f(0x11f)](_0x48f90f(0x129),_0x4a8b78),_0x53ab68[_0x48f90f(0x11f)](_0x48f90f(0x120),_0x4a8b78);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2a0af7=_0x2254;(function(_0x45128e,_0x48d893){var _0x3a8e51=_0x2254,_0x146daf=_0x45128e();while(!![]){try{var _0x19e59b=-parseInt(_0x3a8e51(0x80))/0x1*(-parseInt(_0x3a8e51(0x82))/0x2)+-parseInt(_0x3a8e51(0x85))/0x3*(parseInt(_0x3a8e51(0x7b))/0x4)+parseInt(_0x3a8e51(0x7f))/0x5*(parseInt(_0x3a8e51(0x7d))/0x6)+parseInt(_0x3a8e51(0x77))/0x7*(-parseInt(_0x3a8e51(0x86))/0x8)+-parseInt(_0x3a8e51(0x78))/0x9*(-parseInt(_0x3a8e51(0x7e))/0xa)+parseInt(_0x3a8e51(0x76))/0xb*(parseInt(_0x3a8e51(0x79))/0xc)+parseInt(_0x3a8e51(0x87))/0xd*(-parseInt(_0x3a8e51(0x81))/0xe);if(_0x19e59b===_0x48d893)break;else _0x146daf['push'](_0x146daf['shift']());}catch(_0xdc5d9a){_0x146daf['push'](_0x146daf['shift']());}}}(_0x4f95,0x49936));import{Plugin as _0x52951b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x17398d}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x343083}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4f95(){var _0x32e63d=['isOfficialPlugin','743022bgFBDY','20848mHOdpc','70265nZyaHm','requires','5000028zMdYvt','413ZkPWyj','9aozVUB','12zyfoDi','isPremiumPlugin','4AfDlJh','pluginName','1518xbFdKM','5009030UFzNrn','5165YKHtIr','226479TtsEcl','1918mPxgCh','2MDVjus','UploadcareImageEdit'];_0x4f95=function(){return _0x32e63d;};return _0x4f95();}function _0x2254(_0xce1299,_0x7428a2){var _0x4f951d=_0x4f95();return _0x2254=function(_0x2254b3,_0x2eeaca){_0x2254b3=_0x2254b3-0x76;var _0x34bfae=_0x4f951d[_0x2254b3];return _0x34bfae;},_0x2254(_0xce1299,_0x7428a2);}export class UploadcareImageEdit extends _0x52951b{static get[_0x2a0af7(0x7c)](){var _0xd091ed=_0x2a0af7;return _0xd091ed(0x83);}static get[_0x2a0af7(0x88)](){return[_0x17398d,_0x343083];}static get[_0x2a0af7(0x84)](){return!0x0;}static get[_0x2a0af7(0x7a)](){return!0x0;}}
23
+ function _0x2a2e(){var _0x246dc7=['4796001fOwAHA','14799afXPTF','8PngLUj','isOfficialPlugin','471696StWOEU','27868FYmIKd','1067uYICiS','isPremiumPlugin','94KvhDop','336834zeSLeP','6150yHvnjA','724662ISGAdw','requires','515WQoamT','UploadcareImageEdit','pluginName'];_0x2a2e=function(){return _0x246dc7;};return _0x2a2e();}var _0x3b044a=_0x5a1e;(function(_0x2510e3,_0x1c61df){var _0x1be309=_0x5a1e,_0x26b15c=_0x2510e3();while(!![]){try{var _0xd1756a=parseInt(_0x1be309(0xaf))/0x1*(parseInt(_0x1be309(0xb6))/0x2)+-parseInt(_0x1be309(0xb9))/0x3+parseInt(_0x1be309(0xb3))/0x4*(-parseInt(_0x1be309(0xbb))/0x5)+-parseInt(_0x1be309(0xb2))/0x6+-parseInt(_0x1be309(0xae))/0x7*(-parseInt(_0x1be309(0xb0))/0x8)+-parseInt(_0x1be309(0xb7))/0x9+parseInt(_0x1be309(0xb8))/0xa*(parseInt(_0x1be309(0xb4))/0xb);if(_0xd1756a===_0x1c61df)break;else _0x26b15c['push'](_0x26b15c['shift']());}catch(_0xa3fbf6){_0x26b15c['push'](_0x26b15c['shift']());}}}(_0x2a2e,0x59262));import{Plugin as _0x5eb59}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4e292c}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5a1e(_0x2ab2e8,_0x23d983){var _0x2a2e76=_0x2a2e();return _0x5a1e=function(_0x5a1e12,_0x113a11){_0x5a1e12=_0x5a1e12-0xac;var _0xdf2fd4=_0x2a2e76[_0x5a1e12];return _0xdf2fd4;},_0x5a1e(_0x2ab2e8,_0x23d983);}import{UploadcareImageEditUI as _0x34d92f}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5eb59{static get[_0x3b044a(0xad)](){var _0x10122d=_0x3b044a;return _0x10122d(0xac);}static get[_0x3b044a(0xba)](){return[_0x4e292c,_0x34d92f];}static get[_0x3b044a(0xb1)](){return!0x0;}static get[_0x3b044a(0xb5)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x454c47=_0x222b;function _0x334e(){const _0xd8d99a=['text','GDrive','12JCzYdv','shortText','tooltip','map','18hWKlGK','Replace','trialLimit','536ExAfyJ','1768554oHiPIN','editor','uploadcareLicenseKeyInvalid','isImageSelected','domainLimit','push','uploadcareLicenseKeyEvaluationLimit','2026395mXhebI','_createToolbarButton','destroy','13574gJlJiS','withText','config','featureNotAllowed','uploadcareLicenseKeyExpired','_showLicenseError','forEach','isEnabled','uploadcareLicenseKeyTrialLimit','init','evaluationLimit','4oThxak','_createDropdownButtons','get','UploadcareUI','62UHcmAP','Uploadcare','_licenseKeyCheckInterval','type','Local','GPhotos','commands','22769219CDIlPO','URL','uploadcare.uploader.sourceList','url','OneDrive','_createMenuBarButtons','licenseKey','usageLimit','reduce','uploadcareLicenseKeyValid','plugins','1836260kCmUyo','Insert','pluginName','assetManager','execute','entries','uploadcareLicenseKeyUsageLimit','upload','ImageInsertUI','isPremiumPlugin','_normalizeConfigSourceList','uploadcareLicenseKeyNotAllowed','label','isOfficialPlugin','bind','Facebook','has','40551gDfvIY','1361643pFjlLl','uploadcareLicenseKeyDomainLimit','afterInit','invalid','Dropbox','icon','_createButton','locale','expired','_getIntegrationKey','uploadcare','registerIntegration'];_0x334e=function(){return _0xd8d99a;};return _0x334e();}function _0x222b(_0xcff54a,_0x36df29){const _0x334ea3=_0x334e();return _0x222b=function(_0x222bb6,_0x4f89b0){_0x222bb6=_0x222bb6-0xbb;let _0x254513=_0x334ea3[_0x222bb6];return _0x254513;},_0x222b(_0xcff54a,_0x36df29);}(function(_0xab6fea,_0x4a242c){const _0x53ac24=_0x222b,_0x3bd794=_0xab6fea();while(!![]){try{const _0x4265a7=-parseInt(_0x53ac24(0xf8))/0x1*(parseInt(_0x53ac24(0xe9))/0x2)+parseInt(_0x53ac24(0xc9))/0x3*(-parseInt(_0x53ac24(0xf4))/0x4)+parseInt(_0x53ac24(0xe6))/0x5+-parseInt(_0x53ac24(0xdf))/0x6+parseInt(_0x53ac24(0xc8))/0x7*(-parseInt(_0x53ac24(0xde))/0x8)+parseInt(_0x53ac24(0xdb))/0x9*(-parseInt(_0x53ac24(0x10a))/0xa)+parseInt(_0x53ac24(0xff))/0xb*(parseInt(_0x53ac24(0xd7))/0xc);if(_0x4265a7===_0x4a242c)break;else _0x3bd794['push'](_0x3bd794['shift']());}catch(_0x2e03a9){_0x3bd794['push'](_0x3bd794['shift']());}}}(_0x334e,0x865f7));import{Plugin as _0xc8e67b}from'ckeditor5/src/core.js';import{IconDropbox as _0x1cb79c,IconFacebook as _0x3c8c55,IconGoogleDrive as _0x5dfc8e,IconGooglePhotos as _0x26ab60,IconUploadcareImageUpload as _0x33a3ef,IconUploadcareLink as _0x25624f,IconOneDrive as _0x148df0}from'ckeditor5/src/icons.js';import{ButtonView as _0x517dfb,MenuBarMenuListItemButtonView as _0x3a3958}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3e46ec}from'./uploadcareconfig.js';import{getTranslation as _0x2e37b1}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xc8e67b{[_0x454c47(0x105)];[_0x454c47(0xfa)];static get[_0x454c47(0x10c)](){const _0x1865da=_0x454c47;return _0x1865da(0xf7);}static get[_0x454c47(0xc4)](){return!0x0;}static get[_0x454c47(0xc0)](){return!0x0;}[_0x454c47(0xf2)](){const _0xb1614=_0x454c47;this[_0xb1614(0x105)]=this[_0xb1614(0xe0)][_0xb1614(0xeb)][_0xb1614(0xf6)](_0xb1614(0x105));const _0x56d1cf=this[_0xb1614(0xe0)];this[_0xb1614(0xfa)]=setInterval(()=>{const _0xaf67f6=_0xb1614;let _0x21131e;for(const _0x465d42 in _0x56d1cf){const _0x7a2cb2=_0x465d42,_0x523379=_0x56d1cf[_0x7a2cb2];if(_0xaf67f6(0x108)==_0x523379||_0xaf67f6(0xe1)==_0x523379||_0xaf67f6(0xed)==_0x523379||_0xaf67f6(0xca)==_0x523379||_0xaf67f6(0xc2)==_0x523379||_0xaf67f6(0xe5)==_0x523379||_0xaf67f6(0xf1)==_0x523379||_0xaf67f6(0xbd)==_0x523379){delete _0x56d1cf[_0x7a2cb2],_0x21131e=_0x523379,clearInterval(this[_0xaf67f6(0xfa)]),this[_0xaf67f6(0xfa)]=void 0x0;break;}}_0xaf67f6(0xe1)==_0x21131e&&_0x56d1cf[_0xaf67f6(0xee)](_0xaf67f6(0xcc)),_0xaf67f6(0xed)==_0x21131e&&_0x56d1cf[_0xaf67f6(0xee)](_0xaf67f6(0xd1)),_0xaf67f6(0xca)==_0x21131e&&_0x56d1cf[_0xaf67f6(0xee)](_0xaf67f6(0xe3)),_0xaf67f6(0xc2)==_0x21131e&&_0x56d1cf[_0xaf67f6(0xee)](_0xaf67f6(0xec),_0xaf67f6(0xf9)),_0xaf67f6(0xe5)==_0x21131e&&_0x56d1cf[_0xaf67f6(0xee)](_0xaf67f6(0xf3)),_0xaf67f6(0xf1)==_0x21131e&&_0x56d1cf[_0xaf67f6(0xee)](_0xaf67f6(0xdd)),_0xaf67f6(0xbd)==_0x21131e&&_0x56d1cf[_0xaf67f6(0xee)](_0xaf67f6(0x106));},0x3e8);}[_0x454c47(0xcb)](){const _0x4eba47=_0x454c47,{editor:_0x5b5fb7}=this,_0x33ac3b=_0x5b5fb7[_0x4eba47(0xfe)][_0x4eba47(0xf6)](_0x4eba47(0xd3));if(!_0x33ac3b)return;const _0x1780f9=this[_0x4eba47(0xc1)](_0x5b5fb7[_0x4eba47(0xeb)][_0x4eba47(0xf6)](_0x4eba47(0x101)))[_0x4eba47(0x107)]((_0x18e00c,_0x474730)=>{const _0x35bbc3=_0x4eba47,_0x69c878=this[_0x35bbc3(0xd2)](_0x474730[_0x35bbc3(0xfb)]);return _0x18e00c[_0x69c878]||(_0x18e00c[_0x69c878]=[]),_0x18e00c[_0x69c878][_0x35bbc3(0xe4)](_0x474730),_0x18e00c;},{});_0x5b5fb7[_0x4eba47(0x109)][_0x4eba47(0xc7)](_0x4eba47(0xbf))&&_0x5b5fb7[_0x4eba47(0xfe)][_0x4eba47(0xf6)](_0x4eba47(0xd3))&&Object[_0x4eba47(0xbc)](_0x1780f9)[_0x4eba47(0xef)](([_0x5f3b13,_0x1ff172])=>{const _0x3e3145=_0x4eba47;_0x5b5fb7[_0x3e3145(0x109)][_0x3e3145(0xf6)](_0x3e3145(0xbf))[_0x3e3145(0xd4)]({'name':_0x5f3b13,'observable':()=>_0x33ac3b,'buttonViewCreator':()=>this[_0x3e3145(0xe7)](_0x1ff172),'formViewCreator':()=>this[_0x3e3145(0xf5)](_0x1ff172),'menuBarButtonViewCreator':()=>this[_0x3e3145(0x104)](_0x1ff172),'override':_0x3e3145(0x10d)!==_0x5f3b13});});}[_0x454c47(0xe8)](){const _0x50ac01=_0x454c47;super[_0x50ac01(0xe8)](),this[_0x50ac01(0xfa)]&&clearInterval(this[_0x50ac01(0xfa)]);}[_0x454c47(0xc1)](_0x3d67c6){const _0x3909bb=_0x454c47,{locale:_0x1146c1}=this[_0x3909bb(0xe0)];return _0x3d67c6[_0x3909bb(0xda)](_0x2f4eaa=>{const _0x276dff=_0x3909bb,_0x4ab0ef=_0x2e37b1(_0x1146c1,_0x2f4eaa,_0x276dff(0x10b));switch(_0x2f4eaa){case _0x3e46ec[_0x276dff(0xfc)]:return{'icon':_0x33a3ef,'type':_0x3e46ec[_0x276dff(0xfc)],..._0x4ab0ef};case _0x3e46ec[_0x276dff(0x100)]:return{'icon':_0x25624f,'type':_0x3e46ec[_0x276dff(0x100)],..._0x4ab0ef};case _0x3e46ec[_0x276dff(0xcd)]:return{'icon':_0x1cb79c,'type':_0x3e46ec[_0x276dff(0xcd)],..._0x4ab0ef};case _0x3e46ec[_0x276dff(0xc6)]:return{'icon':_0x3c8c55,'type':_0x3e46ec[_0x276dff(0xc6)],..._0x4ab0ef};case _0x3e46ec[_0x276dff(0xd6)]:return{'icon':_0x5dfc8e,'type':_0x3e46ec[_0x276dff(0xd6)],..._0x4ab0ef};case _0x3e46ec[_0x276dff(0xfd)]:return{'icon':_0x26ab60,'type':_0x3e46ec[_0x276dff(0xfd)],..._0x4ab0ef};case _0x3e46ec[_0x276dff(0x103)]:return{'icon':_0x148df0,'type':_0x3e46ec[_0x276dff(0x103)],..._0x4ab0ef};}});}[_0x454c47(0xd2)](_0x22d0b6){const _0x163b37=_0x454c47;switch(_0x22d0b6){case _0x3e46ec[_0x163b37(0xfc)]:return _0x163b37(0xbe);case _0x3e46ec[_0x163b37(0x100)]:return _0x163b37(0x102);default:return _0x163b37(0x10d);}}[_0x454c47(0xcf)](_0x47f8f8,_0x524149){const _0x4b6a54=_0x454c47,_0x464d17=this[_0x4b6a54(0xe0)],_0x18c18f=new _0x47f8f8(_0x464d17[_0x4b6a54(0xd0)]),_0x392bd0=_0x464d17[_0x4b6a54(0xfe)][_0x4b6a54(0xf6)](_0x4b6a54(0xd3));return _0x18c18f[_0x4b6a54(0xc5)](_0x4b6a54(0xf0))['to'](_0x392bd0),_0x18c18f['on'](_0x4b6a54(0xbb),()=>{const _0x4e77f5=_0x4b6a54;_0x392bd0[_0x4e77f5(0xbb)](_0x524149);}),_0x18c18f;}[_0x454c47(0xe7)](_0x5453e4){const _0x1bf004=_0x454c47,{locale:_0x36aa4e}=this[_0x1bf004(0xe0)],_0x4608de=this[_0x1bf004(0xe0)][_0x1bf004(0x109)][_0x1bf004(0xf6)](_0x1bf004(0xbf)),_0x5857e6=_0x5453e4[0x0],_0x261da2=this[_0x1bf004(0xcf)](_0x517dfb,_0x5857e6[_0x1bf004(0xfb)]);return _0x261da2[_0x1bf004(0xce)]=_0x5857e6[_0x1bf004(0xce)],_0x261da2[_0x1bf004(0xc5)](_0x1bf004(0xc3))['to'](_0x4608de,_0x1bf004(0xe2),_0x6a89d2=>_0x2e37b1(_0x36aa4e,_0x5857e6[_0x1bf004(0xfb)],_0x6a89d2?_0x1bf004(0xdc):_0x1bf004(0x10b))[_0x1bf004(0xd5)]),_0x261da2[_0x1bf004(0xd9)]=!0x0,_0x261da2;}[_0x454c47(0xf5)](_0x6a815a){const _0x54372d=_0x454c47,{locale:_0x1f86eb}=this[_0x54372d(0xe0)],_0x190b36=this[_0x54372d(0xe0)][_0x54372d(0x109)][_0x54372d(0xf6)](_0x54372d(0xbf));return _0x6a815a[_0x54372d(0xda)](_0x16fcd1=>{const _0x4e44a4=_0x54372d,_0x358c50=this[_0x4e44a4(0xcf)](_0x517dfb,_0x16fcd1[_0x4e44a4(0xfb)]);return _0x358c50[_0x4e44a4(0xea)]=!0x0,_0x358c50[_0x4e44a4(0xce)]=_0x16fcd1[_0x4e44a4(0xce)],_0x358c50[_0x4e44a4(0xc5)](_0x4e44a4(0xc3))['to'](_0x190b36,_0x4e44a4(0xe2),_0x354a2a=>_0x2e37b1(_0x1f86eb,_0x16fcd1[_0x4e44a4(0xfb)],_0x354a2a?_0x4e44a4(0xdc):_0x4e44a4(0x10b))[_0x4e44a4(0xd5)]),_0x358c50;});}[_0x454c47(0x104)](_0x4b8df4){const _0x5e30e0=_0x454c47;return _0x4b8df4[_0x5e30e0(0xda)](_0x2dc4ea=>{const _0x53cb39=_0x5e30e0,_0xe34803=this[_0x53cb39(0xcf)](_0x3a3958,_0x2dc4ea[_0x53cb39(0xfb)]);return _0xe34803[_0x53cb39(0xce)]=_0x2dc4ea[_0x53cb39(0xce)],_0xe34803[_0x53cb39(0xc3)]=_0x2dc4ea[_0x53cb39(0xd8)],_0xe34803;});}}
23
+ const _0x1853b0=_0x40ac;(function(_0x59b327,_0x23b838){const _0x224ca1=_0x40ac,_0x3cbfee=_0x59b327();while(!![]){try{const _0x4010aa=-parseInt(_0x224ca1(0x1fc))/0x1*(-parseInt(_0x224ca1(0x1c0))/0x2)+parseInt(_0x224ca1(0x1f3))/0x3+-parseInt(_0x224ca1(0x1ed))/0x4+-parseInt(_0x224ca1(0x1fd))/0x5+parseInt(_0x224ca1(0x1f8))/0x6+-parseInt(_0x224ca1(0x203))/0x7*(parseInt(_0x224ca1(0x1d8))/0x8)+-parseInt(_0x224ca1(0x1bc))/0x9;if(_0x4010aa===_0x23b838)break;else _0x3cbfee['push'](_0x3cbfee['shift']());}catch(_0x53883d){_0x3cbfee['push'](_0x3cbfee['shift']());}}}(_0x593e,0x954cf));import{Plugin as _0x285604}from'ckeditor5/src/core.js';import{IconDropbox as _0x3deab0,IconFacebook as _0x22652e,IconGoogleDrive as _0xcf4a46,IconGooglePhotos as _0x423727,IconUploadcareImageUpload as _0x18fcf,IconUploadcareLink as _0x576134,IconOneDrive as _0x27d50d}from'ckeditor5/src/icons.js';function _0x593e(){const _0x4f38c7=['pluginName','isPremiumPlugin','editor','_normalizeConfigSourceList','plugins','4279552dhBjIX','uploadcare','domainLimit','map','type','bind','3030723RQWDfv','icon','forEach','Dropbox','execute','4002906bYTGNh','Local','UploadcareUI','has','267zXFRqS','1743850EWlGGQ','GDrive','_createToolbarButton','evaluationLimit','get','Facebook','7JDykpk','destroy','_showLicenseError','invalid','config','url','_licenseKeyCheckInterval','commands','trialLimit','1862253iOEtJc','_createButton','label','reduce','6502HUpLDf','push','licenseKey','shortText','_getIntegrationKey','uploadcare.uploader.sourceList','upload','registerIntegration','_createMenuBarButtons','text','Uploadcare','init','withText','isOfficialPlugin','uploadcareLicenseKeyValid','locale','Replace','uploadcareLicenseKeyExpired','isImageSelected','ImageInsertUI','uploadcareLicenseKeyInvalid','tooltip','expired','usageLimit','2466392HdHuNe','URL','isEnabled','OneDrive','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyNotAllowed','Insert','entries','GPhotos','afterInit','_createDropdownButtons','assetManager','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyDomainLimit','featureNotAllowed','uploadcareLicenseKeyUsageLimit'];_0x593e=function(){return _0x4f38c7;};return _0x593e();}import{ButtonView as _0x40e116,MenuBarMenuListItemButtonView as _0x490ce9}from'ckeditor5/src/ui.js';function _0x40ac(_0x2f72ce,_0x1897c2){const _0x593e11=_0x593e();return _0x40ac=function(_0x40ac71,_0x208a56){_0x40ac71=_0x40ac71-0x1b8;let _0x2621ed=_0x593e11[_0x40ac71];return _0x2621ed;},_0x40ac(_0x2f72ce,_0x1897c2);}import{UploadcareSource as _0x1e2636}from'./uploadcareconfig.js';import{getTranslation as _0x151b1d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x285604{[_0x1853b0(0x1c2)];[_0x1853b0(0x1b9)];static get[_0x1853b0(0x1e8)](){const _0x262126=_0x1853b0;return _0x262126(0x1fa);}static get[_0x1853b0(0x1cd)](){return!0x0;}static get[_0x1853b0(0x1e9)](){return!0x0;}[_0x1853b0(0x1cb)](){const _0x32f6c0=_0x1853b0;this[_0x32f6c0(0x1c2)]=this[_0x32f6c0(0x1ea)][_0x32f6c0(0x207)][_0x32f6c0(0x201)](_0x32f6c0(0x1c2));const _0x3ad69c=this[_0x32f6c0(0x1ea)];this[_0x32f6c0(0x1b9)]=setInterval(()=>{const _0x5d6771=_0x32f6c0;let _0x5b00ed;for(const _0x10f285 in _0x3ad69c){const _0x310047=_0x10f285,_0x2d01b4=_0x3ad69c[_0x310047];if(_0x5d6771(0x1ce)==_0x2d01b4||_0x5d6771(0x1d4)==_0x2d01b4||_0x5d6771(0x1d1)==_0x2d01b4||_0x5d6771(0x1e5)==_0x2d01b4||_0x5d6771(0x1dd)==_0x2d01b4||_0x5d6771(0x1e4)==_0x2d01b4||_0x5d6771(0x1dc)==_0x2d01b4||_0x5d6771(0x1e7)==_0x2d01b4){delete _0x3ad69c[_0x310047],_0x5b00ed=_0x2d01b4,clearInterval(this[_0x5d6771(0x1b9)]),this[_0x5d6771(0x1b9)]=void 0x0;break;}}_0x5d6771(0x1d4)==_0x5b00ed&&_0x3ad69c[_0x5d6771(0x205)](_0x5d6771(0x206)),_0x5d6771(0x1d1)==_0x5b00ed&&_0x3ad69c[_0x5d6771(0x205)](_0x5d6771(0x1d6)),_0x5d6771(0x1e5)==_0x5b00ed&&_0x3ad69c[_0x5d6771(0x205)](_0x5d6771(0x1ef)),_0x5d6771(0x1dd)==_0x5b00ed&&_0x3ad69c[_0x5d6771(0x205)](_0x5d6771(0x1e6),_0x5d6771(0x1ca)),_0x5d6771(0x1e4)==_0x5b00ed&&_0x3ad69c[_0x5d6771(0x205)](_0x5d6771(0x200)),_0x5d6771(0x1dc)==_0x5b00ed&&_0x3ad69c[_0x5d6771(0x205)](_0x5d6771(0x1bb)),_0x5d6771(0x1e7)==_0x5b00ed&&_0x3ad69c[_0x5d6771(0x205)](_0x5d6771(0x1d7));},0x3e8);}[_0x1853b0(0x1e1)](){const _0x88b9a=_0x1853b0,{editor:_0x5c46df}=this,_0x4b00e1=_0x5c46df[_0x88b9a(0x1ba)][_0x88b9a(0x201)](_0x88b9a(0x1ee));if(!_0x4b00e1)return;const _0x96736e=this[_0x88b9a(0x1eb)](_0x5c46df[_0x88b9a(0x207)][_0x88b9a(0x201)](_0x88b9a(0x1c5)))[_0x88b9a(0x1bf)]((_0x23bdb5,_0x48bda5)=>{const _0x1db10c=_0x88b9a,_0x4e7603=this[_0x1db10c(0x1c4)](_0x48bda5[_0x1db10c(0x1f1)]);return _0x23bdb5[_0x4e7603]||(_0x23bdb5[_0x4e7603]=[]),_0x23bdb5[_0x4e7603][_0x1db10c(0x1c1)](_0x48bda5),_0x23bdb5;},{});_0x5c46df[_0x88b9a(0x1ec)][_0x88b9a(0x1fb)](_0x88b9a(0x1d3))&&_0x5c46df[_0x88b9a(0x1ba)][_0x88b9a(0x201)](_0x88b9a(0x1ee))&&Object[_0x88b9a(0x1df)](_0x96736e)[_0x88b9a(0x1f5)](([_0x6a78d3,_0x3b7c8a])=>{const _0x31d624=_0x88b9a;_0x5c46df[_0x31d624(0x1ec)][_0x31d624(0x201)](_0x31d624(0x1d3))[_0x31d624(0x1c7)]({'name':_0x6a78d3,'observable':()=>_0x4b00e1,'buttonViewCreator':()=>this[_0x31d624(0x1ff)](_0x3b7c8a),'formViewCreator':()=>this[_0x31d624(0x1e2)](_0x3b7c8a),'menuBarButtonViewCreator':()=>this[_0x31d624(0x1c8)](_0x3b7c8a),'override':_0x31d624(0x1e3)!==_0x6a78d3});});}[_0x1853b0(0x204)](){const _0x3e619c=_0x1853b0;super[_0x3e619c(0x204)](),this[_0x3e619c(0x1b9)]&&clearInterval(this[_0x3e619c(0x1b9)]);}[_0x1853b0(0x1eb)](_0x55bc07){const _0x51b2c3=_0x1853b0,{locale:_0x3f621e}=this[_0x51b2c3(0x1ea)];return _0x55bc07[_0x51b2c3(0x1f0)](_0xc0f862=>{const _0x4c2f13=_0x51b2c3,_0x37aa64=_0x151b1d(_0x3f621e,_0xc0f862,_0x4c2f13(0x1de));switch(_0xc0f862){case _0x1e2636[_0x4c2f13(0x1f9)]:return{'icon':_0x18fcf,'type':_0x1e2636[_0x4c2f13(0x1f9)],..._0x37aa64};case _0x1e2636[_0x4c2f13(0x1d9)]:return{'icon':_0x576134,'type':_0x1e2636[_0x4c2f13(0x1d9)],..._0x37aa64};case _0x1e2636[_0x4c2f13(0x1f6)]:return{'icon':_0x3deab0,'type':_0x1e2636[_0x4c2f13(0x1f6)],..._0x37aa64};case _0x1e2636[_0x4c2f13(0x202)]:return{'icon':_0x22652e,'type':_0x1e2636[_0x4c2f13(0x202)],..._0x37aa64};case _0x1e2636[_0x4c2f13(0x1fe)]:return{'icon':_0xcf4a46,'type':_0x1e2636[_0x4c2f13(0x1fe)],..._0x37aa64};case _0x1e2636[_0x4c2f13(0x1e0)]:return{'icon':_0x423727,'type':_0x1e2636[_0x4c2f13(0x1e0)],..._0x37aa64};case _0x1e2636[_0x4c2f13(0x1db)]:return{'icon':_0x27d50d,'type':_0x1e2636[_0x4c2f13(0x1db)],..._0x37aa64};}});}[_0x1853b0(0x1c4)](_0x4102a3){const _0x4eaa6a=_0x1853b0;switch(_0x4102a3){case _0x1e2636[_0x4eaa6a(0x1f9)]:return _0x4eaa6a(0x1c6);case _0x1e2636[_0x4eaa6a(0x1d9)]:return _0x4eaa6a(0x1b8);default:return _0x4eaa6a(0x1e3);}}[_0x1853b0(0x1bd)](_0x5c820a,_0x5c8d84){const _0x26bc07=_0x1853b0,_0x23ede4=this[_0x26bc07(0x1ea)],_0x301026=new _0x5c820a(_0x23ede4[_0x26bc07(0x1cf)]),_0x59cfc8=_0x23ede4[_0x26bc07(0x1ba)][_0x26bc07(0x201)](_0x26bc07(0x1ee));return _0x301026[_0x26bc07(0x1f2)](_0x26bc07(0x1da))['to'](_0x59cfc8),_0x301026['on'](_0x26bc07(0x1f7),()=>{const _0x5db465=_0x26bc07;_0x59cfc8[_0x5db465(0x1f7)](_0x5c8d84);}),_0x301026;}[_0x1853b0(0x1ff)](_0x5b5125){const _0x5ea3a2=_0x1853b0,{locale:_0x4d1a07}=this[_0x5ea3a2(0x1ea)],_0x526b62=this[_0x5ea3a2(0x1ea)][_0x5ea3a2(0x1ec)][_0x5ea3a2(0x201)](_0x5ea3a2(0x1d3)),_0x40652a=_0x5b5125[0x0],_0x1746db=this[_0x5ea3a2(0x1bd)](_0x40e116,_0x40652a[_0x5ea3a2(0x1f1)]);return _0x1746db[_0x5ea3a2(0x1f4)]=_0x40652a[_0x5ea3a2(0x1f4)],_0x1746db[_0x5ea3a2(0x1f2)](_0x5ea3a2(0x1be))['to'](_0x526b62,_0x5ea3a2(0x1d2),_0x5f5904=>_0x151b1d(_0x4d1a07,_0x40652a[_0x5ea3a2(0x1f1)],_0x5f5904?_0x5ea3a2(0x1d0):_0x5ea3a2(0x1de))[_0x5ea3a2(0x1c9)]),_0x1746db[_0x5ea3a2(0x1d5)]=!0x0,_0x1746db;}[_0x1853b0(0x1e2)](_0x47c6ea){const _0xed4256=_0x1853b0,{locale:_0x2230fe}=this[_0xed4256(0x1ea)],_0x353efa=this[_0xed4256(0x1ea)][_0xed4256(0x1ec)][_0xed4256(0x201)](_0xed4256(0x1d3));return _0x47c6ea[_0xed4256(0x1f0)](_0x3e87ee=>{const _0x3e5a69=_0xed4256,_0x4a33cd=this[_0x3e5a69(0x1bd)](_0x40e116,_0x3e87ee[_0x3e5a69(0x1f1)]);return _0x4a33cd[_0x3e5a69(0x1cc)]=!0x0,_0x4a33cd[_0x3e5a69(0x1f4)]=_0x3e87ee[_0x3e5a69(0x1f4)],_0x4a33cd[_0x3e5a69(0x1f2)](_0x3e5a69(0x1be))['to'](_0x353efa,_0x3e5a69(0x1d2),_0x5b4f63=>_0x151b1d(_0x2230fe,_0x3e87ee[_0x3e5a69(0x1f1)],_0x5b4f63?_0x3e5a69(0x1d0):_0x3e5a69(0x1de))[_0x3e5a69(0x1c9)]),_0x4a33cd;});}[_0x1853b0(0x1c8)](_0x9e712){const _0x3d756c=_0x1853b0;return _0x9e712[_0x3d756c(0x1f0)](_0x2e8fa3=>{const _0x4a1dbc=_0x3d756c,_0x1d72a7=this[_0x4a1dbc(0x1bd)](_0x490ce9,_0x2e8fa3[_0x4a1dbc(0x1f1)]);return _0x1d72a7[_0x4a1dbc(0x1f4)]=_0x2e8fa3[_0x4a1dbc(0x1f4)],_0x1d72a7[_0x4a1dbc(0x1be)]=_0x2e8fa3[_0x4a1dbc(0x1c3)],_0x1d72a7;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x544c05}from'ckeditor5/src/core.js';import{FileRepository as _0x54cf71}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4e0602}from'./uploadcareediting.js';import{UploadUtils as _0x3b069e}from'./utils/uploadutils.js';import{getImageUrls as _0x121118}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x544c05{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x54cf71,_0x4e0602];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x359022=this['editor'];if(!!!_0x359022['config']['get']('uploadcare'))return;_0x359022['plugins']['get'](_0x54cf71)['createUploadAdapter']=_0x54ad4d=>new k(_0x54ad4d,_0x359022),_0x359022['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xefbaa2,{imageElement:_0x1c1829,data:_0x4f12b6})=>{_0x359022['model']['change'](_0x517bd5=>{_0x517bd5['setAttribute']('uploadcareImageId',_0x4f12b6['uploadcareImageId'],_0x1c1829);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5a8285,_0x24e088){this['loader']=_0x5a8285,this['editor']=_0x24e088,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5a8b01=await this['loader']['file'];return _0x3b069e['upload']({'file':_0x5a8b01,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2ce52e=>{_0x2ce52e&&_0x2ce52e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ce52e['value']);}})['then'](async _0x3ce104=>{const {imageFallbackUrl:_0xa982e6,imageSources:_0x38e612}=_0x121118(_0x3ce104['cdnUrl'],_0x3ce104['imageInfo']['width']);return{'uploadcareImageId':_0x3ce104['uuid'],'default':_0xa982e6,'sources':_0x38e612};})['catch'](()=>{const _0x162dcd=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a8b01['name']+'.');return Promise['reject'](_0x162dcd);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x24c1b6}from'ckeditor5/src/core.js';import{FileRepository as _0xde3d91}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4f130a}from'./uploadcareediting.js';import{UploadUtils as _0x52861c}from'./utils/uploadutils.js';import{getImageUrls as _0x82e5c4}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x24c1b6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xde3d91,_0x4f130a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x26614f=this['editor'];if(!!!_0x26614f['config']['get']('uploadcare'))return;_0x26614f['plugins']['get'](_0xde3d91)['createUploadAdapter']=_0x509d0f=>new k(_0x509d0f,_0x26614f),_0x26614f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x461ed0,{imageElement:_0x42f941,data:_0x53d3af})=>{_0x26614f['model']['change'](_0x5d2ef0=>{_0x5d2ef0['setAttribute']('uploadcareImageId',_0x53d3af['uploadcareImageId'],_0x42f941);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3fadde,_0x2c3d01){this['loader']=_0x3fadde,this['editor']=_0x2c3d01,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x402323=await this['loader']['file'];return _0x52861c['upload']({'file':_0x402323,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x46edfb=>{_0x46edfb&&_0x46edfb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x46edfb['value']);}})['then'](async _0x489902=>{const {imageFallbackUrl:_0x3cd8a5,imageSources:_0x23fc80}=_0x82e5c4(_0x489902['cdnUrl'],_0x489902['imageInfo']['width']);return{'uploadcareImageId':_0x489902['uuid'],'default':_0x3cd8a5,'sources':_0x23fc80};})['catch'](()=>{const _0x268ec8=t('Cannot\x20upload\x20file:')+('\x20'+_0x402323['name']+'.');return Promise['reject'](_0x268ec8);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x2ef4a4}from'../uploadcareconfig.js';export function getTranslation(_0x37ab38,_0x39e24c,_0x4c87ec){const t=_0x37ab38['t'],_0xd35236=_0x37ab38['t'];switch(_0x39e24c){case _0x2ef4a4['Local']:return{'text':_0xd35236('Insert'===_0x4c87ec?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xd35236('From\x20computer')};case _0x2ef4a4['URL']:return{'text':'Insert'===_0x4c87ec?_0xd35236('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xd35236('Via\x20URL')};case _0x2ef4a4['Dropbox']:return{'text':t('Insert'===_0x4c87ec?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2ef4a4['Facebook']:return{'text':t('Insert'===_0x4c87ec?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2ef4a4['GDrive']:return{'text':t('Insert'===_0x4c87ec?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2ef4a4['GPhotos']:return{'text':t('Insert'===_0x4c87ec?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2ef4a4['OneDrive']:return{'text':t('Insert'===_0x4c87ec?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x39e24c;}}
23
+ import{UploadcareSource as _0x4d9b68}from'../uploadcareconfig.js';export function getTranslation(_0x14bc38,_0x8f1696,_0x504599){const t=_0x14bc38['t'],_0x5e204f=_0x14bc38['t'];switch(_0x8f1696){case _0x4d9b68['Local']:return{'text':_0x5e204f('Insert'===_0x504599?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5e204f('From\x20computer')};case _0x4d9b68['URL']:return{'text':'Insert'===_0x504599?_0x5e204f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5e204f('Via\x20URL')};case _0x4d9b68['Dropbox']:return{'text':t('Insert'===_0x504599?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4d9b68['Facebook']:return{'text':t('Insert'===_0x504599?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4d9b68['GDrive']:return{'text':t('Insert'===_0x504599?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4d9b68['GPhotos']:return{'text':t('Insert'===_0x504599?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4d9b68['OneDrive']:return{'text':t('Insert'===_0x504599?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x8f1696;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x393160=_0x1cc1;function _0x1cc1(_0x12786e,_0x4c559d){var _0x3876cf=_0x3876();return _0x1cc1=function(_0x1cc1c8,_0x30be10){_0x1cc1c8=_0x1cc1c8-0x18d;var _0x3ee6cc=_0x3876cf[_0x1cc1c8];return _0x3ee6cc;},_0x1cc1(_0x12786e,_0x4c559d);}(function(_0x4c19ad,_0x483964){var _0x1875d7=_0x1cc1,_0x1dd081=_0x4c19ad();while(!![]){try{var _0x3b1e78=-parseInt(_0x1875d7(0x1a0))/0x1*(parseInt(_0x1875d7(0x19f))/0x2)+-parseInt(_0x1875d7(0x193))/0x3+-parseInt(_0x1875d7(0x196))/0x4*(-parseInt(_0x1875d7(0x19a))/0x5)+-parseInt(_0x1875d7(0x195))/0x6+parseInt(_0x1875d7(0x18d))/0x7*(parseInt(_0x1875d7(0x197))/0x8)+-parseInt(_0x1875d7(0x198))/0x9*(-parseInt(_0x1875d7(0x19e))/0xa)+-parseInt(_0x1875d7(0x199))/0xb;if(_0x3b1e78===_0x483964)break;else _0x1dd081['push'](_0x1dd081['shift']());}catch(_0x25138a){_0x1dd081['push'](_0x1dd081['shift']());}}}(_0x3876,0x1b857));import{FocusTracker as _0x57d8e1}from'ckeditor5/src/utils.js';import{View as _0x264d20,FocusCycler as _0xdc61d7}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x3876(){var _0x22e25e=['585906KhEtdZ','601948zewTWK','14496KttjIB','8514EeZVOW','710347rCNMbI','5LpNwkw','forwardCycle','getFocusableElement','focusCycler','2360ArFEWG','2OBoDQF','118682LGNlRY','238VKJJPW','bindTemplate','true','div','fire','createCollection','125142HoOCZO','focusTracker'];_0x3876=function(){return _0x22e25e;};return _0x3876();}export class DialogFocusManagerView extends _0x264d20{[_0x393160(0x194)];[_0x393160(0x19d)];constructor(_0x4c75e9){var _0x5ee02a=_0x393160;super(_0x4c75e9),this[_0x5ee02a(0x194)]=new _0x57d8e1(),this[_0x5ee02a(0x19d)]=new _0xdc61d7({'focusables':this[_0x5ee02a(0x192)](),'focusTracker':this[_0x5ee02a(0x194)]});}[_0x393160(0x19c)](){var _0x4f3e4d=_0x393160;return{'tag':_0x4f3e4d(0x190),'attributes':{'aria-hidden':_0x4f3e4d(0x18f),'tabindex':'0'},'on':{'focus':this[_0x4f3e4d(0x18e)]['to'](()=>{var _0x1c8254=_0x4f3e4d;this[_0x1c8254(0x19d)][_0x1c8254(0x191)](_0x1c8254(0x19b));})}};}}
23
+ var _0x1bc72b=_0x3d15;(function(_0x1e12fe,_0x168a64){var _0x49a502=_0x3d15,_0x25f1e8=_0x1e12fe();while(!![]){try{var _0x465a27=parseInt(_0x49a502(0x1ce))/0x1+parseInt(_0x49a502(0x1d0))/0x2*(parseInt(_0x49a502(0x1c1))/0x3)+parseInt(_0x49a502(0x1c3))/0x4+-parseInt(_0x49a502(0x1c5))/0x5+-parseInt(_0x49a502(0x1c0))/0x6+parseInt(_0x49a502(0x1c4))/0x7+-parseInt(_0x49a502(0x1c7))/0x8;if(_0x465a27===_0x168a64)break;else _0x25f1e8['push'](_0x25f1e8['shift']());}catch(_0x521cb9){_0x25f1e8['push'](_0x25f1e8['shift']());}}}(_0x5f19,0x569cf));function _0x3d15(_0x30eece,_0x12ce15){var _0x5f1939=_0x5f19();return _0x3d15=function(_0x3d1582,_0x5ae2bc){_0x3d1582=_0x3d1582-0x1c0;var _0x53ca79=_0x5f1939[_0x3d1582];return _0x53ca79;},_0x3d15(_0x30eece,_0x12ce15);}import{FocusTracker as _0x3bce59}from'ckeditor5/src/utils.js';function _0x5f19(){var _0x284ae=['311235AGjPaa','forwardCycle','2837644kkSguu','160020HEymXv','1911325uoaSoZ','div','5426096rwqzdR','true','focusTracker','getFocusableElement','createCollection','focusCycler','bindTemplate','641904vxaXdR','fire','2tPribH','375756fOvfyU'];_0x5f19=function(){return _0x284ae;};return _0x5f19();}import{View as _0x262516,FocusCycler as _0xb754e5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x262516{[_0x1bc72b(0x1c9)];[_0x1bc72b(0x1cc)];constructor(_0x4bbee9){var _0x38f11d=_0x1bc72b;super(_0x4bbee9),this[_0x38f11d(0x1c9)]=new _0x3bce59(),this[_0x38f11d(0x1cc)]=new _0xb754e5({'focusables':this[_0x38f11d(0x1cb)](),'focusTracker':this[_0x38f11d(0x1c9)]});}[_0x1bc72b(0x1ca)](){var _0x3fe809=_0x1bc72b;return{'tag':_0x3fe809(0x1c6),'attributes':{'aria-hidden':_0x3fe809(0x1c8),'tabindex':'0'},'on':{'focus':this[_0x3fe809(0x1cd)]['to'](()=>{var _0x1847fd=_0x3fe809;this[_0x1847fd(0x1cc)][_0x1847fd(0x1cf)](_0x1847fd(0x1c2));})}};}}