@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250403.0 → 0.0.0-nightly-20250404.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38a7fd=_0x4c0a;(function(_0xda6251,_0x5a0130){const _0x5656fe=_0x4c0a,_0x2a499b=_0xda6251();while(!![]){try{const _0x179f55=parseInt(_0x5656fe(0x145))/0x1*(parseInt(_0x5656fe(0x108))/0x2)+parseInt(_0x5656fe(0x139))/0x3*(parseInt(_0x5656fe(0x13c))/0x4)+parseInt(_0x5656fe(0x121))/0x5*(-parseInt(_0x5656fe(0x132))/0x6)+parseInt(_0x5656fe(0x11b))/0x7+-parseInt(_0x5656fe(0x10f))/0x8*(-parseInt(_0x5656fe(0x118))/0x9)+parseInt(_0x5656fe(0x12a))/0xa+-parseInt(_0x5656fe(0x101))/0xb;if(_0x179f55===_0x5a0130)break;else _0x2a499b['push'](_0x2a499b['shift']());}catch(_0x5db36b){_0x2a499b['push'](_0x2a499b['shift']());}}}(_0x406a,0x9e415));import{Plugin as _0x45173b}from'ckeditor5/src/core.js';import{Dialog as _0xc9e449}from'ckeditor5/src/ui.js';import{createElement as _0x4da682,global as _0x4f6f95,uid as _0x24ce86}from'ckeditor5/src/utils.js';import _0x2694a5 from'./uploadcarecommand.js';import _0x517602 from'./uploadcareuploadadapter.js';function _0x406a(){const _0xd4a67b=['listenTo','attributeToAttribute','isOfficialPlugin','once','editor','4966230nRMgkX','schema','map','true','imageInline','_initSchema','pluginName','uploadcareImageReplace','12cmFZTv','for','execute','model','view','downcast','configElement','724929uUcadn','iconHrefResolver','config','4QsEZRy','_configElement','replaceImageSource','destroy','uc-upload-ctx-provider','uploadcare','querySelector','\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','#uc-icon-arrow-down','1HOstWY','_initConfig','uploadcare.uploader','removeAttribute','imageBlock','uploadcareImageId','render','init','add','contentLanguage','uploader','extend','_initConversion','_initImageProcessingIndicator','conversion','getAttribute','getSelectedElement','15276657taGGBd','data-uc-image-id','closeMax','_initCtx','insertImage','remove','editing','81156aiFPdG','selection','locale','uc-config','fromCharCode','upcast','elementToAttribute','8973392AvrShd','appendChild','UploadcareEditing','isPremiumPlugin','cleanupImage','input[uploadcare-file-input]','body','document','afterInit','9MoNdSE','PictureEditing','isRegistered','7868952QUUbFC','get','commands','_ctxElement','uploadcare.pubkey','ctxElement','2469135nMMBZz','join','href','requires'];_0x406a=function(){return _0xd4a67b;};return _0x406a();}import{showImageProcessingIndicator as _0x555089}from'./utils/editingutils.js';function _0x4c0a(_0x463f94,_0x209b5c){const _0x406a9f=_0x406a();return _0x4c0a=function(_0x4c0a80,_0x5d7d54){_0x4c0a80=_0x4c0a80-0xf7;let _0x53f039=_0x406a9f[_0x4c0a80];return _0x53f039;},_0x4c0a(_0x463f94,_0x209b5c);}export default class i extends _0x45173b{[_0x38a7fd(0x13d)]=null;[_0x38a7fd(0x11e)]=null;static get[_0x38a7fd(0x130)](){const _0x37e9f5=_0x38a7fd;return _0x37e9f5(0x111);}static get[_0x38a7fd(0x124)](){const _0x1f6822=_0x38a7fd;return[_0x1f6822(0x119),_0x517602,_0xc9e449];}static get[_0x38a7fd(0x127)](){return!0x0;}static get[_0x38a7fd(0x112)](){return!0x0;}get[_0x38a7fd(0x138)](){const _0x21a037=_0x38a7fd;return this[_0x21a037(0x13d)];}get[_0x38a7fd(0x120)](){const _0x2ed88a=_0x38a7fd;return this[_0x2ed88a(0x11e)];}[_0x38a7fd(0xf7)](){const _0x4ec470=_0x38a7fd,_0x10ce46=this[_0x4ec470(0x129)];_0x10ce46[_0x4ec470(0x11d)][_0x4ec470(0xf8)](_0x4ec470(0x141),new _0x2694a5(_0x10ce46));}[_0x38a7fd(0x117)](){const _0x6b0be6=_0x38a7fd;this[_0x6b0be6(0x12f)](),this[_0x6b0be6(0xfc)](),this[_0x6b0be6(0x146)](),this[_0x6b0be6(0x104)](),this[_0x6b0be6(0xfd)](),this[_0x6b0be6(0x125)](this[_0x6b0be6(0x129)],_0x6b0be6(0x13f),()=>{const _0x51e53d=_0x6b0be6;this[_0x51e53d(0x13d)]&&(this[_0x51e53d(0x13d)][_0x51e53d(0x106)](),this[_0x51e53d(0x13d)]=null),this[_0x51e53d(0x11e)]&&(this[_0x51e53d(0x11e)][_0x51e53d(0x106)](),this[_0x51e53d(0x11e)]=null);const _0x1433a7=_0x4f6f95[_0x51e53d(0x116)][_0x51e53d(0x142)](_0x51e53d(0x114));_0x1433a7&&_0x1433a7[_0x51e53d(0x106)]();}),async function(_0x5c7fbf){const _0x25e81f=_0x5ce76b([0x4d,0x59,0x4e,0x67,0x50,0x44,0x58,0x57,0x6e,0x32,0x79,0x34,0x6d,0x30,0x61,0x4b,0x35,0x73,0x38,0x72,0x47,0x45,0x64,0x31,0x4f,0x6a,0x55,0x46,0x51,0x6f,0x66,0x37,0x56,0x68,0x63,0x75,0x4a,0x7a,0x77,0x62,0x53,0x39,0x4c,0x71,0x69,0x76,0x78,0x6b,0x74,0x48,0x49,0x33,0x54,0x5a,0x52,0x36,0x43,0x70,0x65,0x42,0x6c,0x41]),_0x9b2a56=0x2e159e4f,_0x493e34=0x2e12fdb7^_0x9b2a56,_0x39e5a0=window[_0x5ce76b([0x44,0x61,0x74,0x65])][_0x5ce76b([0x6e,0x6f,0x77])](),_0x523ab4=_0x5c7fbf[_0x5ce76b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e5286=new window[(_0x5ce76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x214687=>{_0x523ab4[_0x5ce76b([0x6f,0x6e,0x63,0x65])](_0x5ce76b([0x72,0x65,0x61,0x64,0x79]),_0x214687);}),_0x2d7e98={[_0x5ce76b([0x6b,0x74,0x79])]:_0x5ce76b([0x45,0x43]),[_0x5ce76b([0x75,0x73,0x65])]:_0x5ce76b([0x73,0x69,0x67]),[_0x5ce76b([0x63,0x72,0x76])]:_0x5ce76b([0x50,0x2d,0x32,0x35,0x36]),[_0x5ce76b([0x78])]:_0x5ce76b([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]),[_0x5ce76b([0x79])]:_0x5ce76b([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]),[_0x5ce76b([0x61,0x6c,0x67])]:_0x5ce76b([0x45,0x53,0x32,0x35,0x36])},_0x20c322=_0x523ab4[_0x5ce76b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ce76b([0x67,0x65,0x74])](_0x5ce76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46149a(){let _0x168a72,_0x554982=null,_0x48815d=null;try{if(_0x20c322==_0x5ce76b([0x47,0x50,0x4c]))return _0x5ce76b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x168a72=_0x34156c(),!_0x168a72)return _0x5ce76b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x168a72[_0x5ce76b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48815d=_0x215d8e(_0x168a72[_0x5ce76b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x168a72[_0x5ce76b([0x6a,0x74,0x69])])),await _0x20c467()?_0x4ebbe1()?_0x181469()?_0x5ce76b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1dc0ce()?(_0x168a72[_0x5ce76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ce76b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x554982=_0x4bb734(_0x5ce76b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x168a72[_0x5ce76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ce76b([0x74,0x72,0x69,0x61,0x6c])&&(_0x554982=_0x4bb734(_0x5ce76b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49a1af()):_0x5ce76b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ce76b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ce76b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x177adb){return _0x5ce76b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x181469(){const _0x54023c=[_0x5ce76b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ce76b([0x74,0x72,0x69,0x61,0x6c])][_0x5ce76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x168a72[_0x5ce76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39e5a0/0x3e8:0xe10*_0x493e34;return _0x168a72[_0x5ce76b([0x65,0x78,0x70])]<_0x54023c;}function _0x4ebbe1(){const _0x5599a6=_0x168a72[_0x5ce76b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5599a6&&(!!_0x5599a6[_0x5ce76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce76b([0x2a]))||!!_0x5599a6[_0x5ce76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce76b([0x55,0x50,0x4c,0x43])));}function _0x1dc0ce(){const _0x1dbec8=_0x4c0a,_0x2e9d86=_0x168a72[_0x5ce76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e9d86||0x0==_0x2e9d86[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d5c73}=new URL(window[_0x5ce76b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1dbec8(0x123)]);if(_0x2e9d86[_0x5ce76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d5c73))return!0x0;const _0x1ea0ee=_0x2d5c73[_0x5ce76b([0x73,0x70,0x6c,0x69,0x74])](_0x5ce76b([0x2e]));return _0x2e9d86[_0x5ce76b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52ec4b=>_0x52ec4b[_0x5ce76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce76b([0x2a])))[_0x5ce76b([0x6d,0x61,0x70])](_0x5eec46=>_0x5eec46[_0x5ce76b([0x73,0x70,0x6c,0x69,0x74])](_0x5ce76b([0x2e])))[_0x5ce76b([0x73,0x6f,0x6d,0x65])](_0x515a66=>_0x1ea0ee[_0x5ce76b([0x65,0x76,0x65,0x72,0x79])]((_0x41f25c,_0x3254ab)=>_0x515a66[_0x3254ab]===_0x41f25c||_0x515a66[_0x3254ab]===_0x5ce76b([0x2a])));}function _0x49a1af(){return _0x554982&&_0x48815d?new window[(_0x5ce76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4de7a8,_0x1be1ec)=>{_0x554982[_0x5ce76b([0x74,0x68,0x65,0x6e])](_0x4de7a8,_0x1be1ec),_0x48815d[_0x5ce76b([0x74,0x68,0x65,0x6e])](_0x4e72dd=>{_0x4e72dd!=_0x5ce76b([0x56,0x61,0x6c,0x69,0x64])&&_0x4de7a8(_0x4e72dd);},_0x1be1ec);}):_0x554982||_0x48815d||_0x5ce76b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x215d8e(_0x29d3a6,_0x5f0c37){return new window[(_0x5ce76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c319b=>{if(_0x43c0d4())return _0x5c319b(_0x5ce76b([0x56,0x61,0x6c,0x69,0x64]));_0xa721b3(),_0x523ab4[_0x5ce76b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ce76b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ae067=!0x1;const _0x2edd2e=_0x24ce86();function _0x35be9e(_0x211ba0){return!!_0x211ba0&&(typeof _0x211ba0===_0x5ce76b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x211ba0===_0x5ce76b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x211ba0[_0x5ce76b([0x74,0x68,0x65,0x6e])]===_0x5ce76b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x211ba0[_0x5ce76b([0x63,0x61,0x74,0x63,0x68])]===_0x5ce76b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1096da(_0x9f7df8){_0xc1f65(_0x9f7df8)[_0x5ce76b([0x74,0x68,0x65,0x6e])](_0x333bd2=>{if(!_0x333bd2||_0x333bd2[_0x5ce76b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ce76b([0x6f,0x6b]))return _0x5ce76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45e373(_0x446ec4(_0x2edd2e+_0x5f0c37))!=_0x333bd2[_0x5ce76b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ce76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ce76b([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ce76b([0x74,0x68,0x65,0x6e])](_0x51c377=>(_0x3302cb(),_0x51c377),()=>{const _0x411f27=_0x3c5730();return null==_0x411f27?(_0x3302cb(),_0x5ce76b([0x56,0x61,0x6c,0x69,0x64])):_0x5ce76b(_0x39e5a0-_0x411f27>(0xa191a4f^_0x9b2a56)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ce76b([0x74,0x68,0x65,0x6e])](_0x5c319b)[_0x5ce76b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c319b(_0x5ce76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37756a=0x2e2370cf^_0x9b2a56;function _0x3302cb(){const _0x85184f=_0x5ce76b([0x6c,0x6c,0x63,0x74,0x2d])+_0x45e373(_0x446ec4(_0x29d3a6)),_0x54210=_0x311c5e(_0x45e373(window[_0x5ce76b([0x4d,0x61,0x74,0x68])][_0x5ce76b([0x63,0x65,0x69,0x6c])](_0x39e5a0/_0x37756a)));window[_0x5ce76b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ce76b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x85184f,_0x54210);}function _0x3c5730(){const _0x354fcd=_0x5ce76b([0x6c,0x6c,0x63,0x74,0x2d])+_0x45e373(_0x446ec4(_0x29d3a6)),_0x5a9c34=window[_0x5ce76b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ce76b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x354fcd);return _0x5a9c34?window[_0x5ce76b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x311c5e(_0x5a9c34),0x10)*_0x37756a:null;}function _0xc1f65(_0x9e419a){return new window[(_0x5ce76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32150a,_0x280b4e)=>{_0x9e419a[_0x5ce76b([0x74,0x68,0x65,0x6e])](_0x32150a,_0x280b4e),window[_0x5ce76b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x280b4e,0x2e144a8f^_0x9b2a56);});}}_0x523ab4[_0x5ce76b([0x6f,0x6e])](_0x5ce76b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a03a9,_0xc3e3ff)=>{if(_0xc3e3ff[0x0]!=_0x29d3a6)return _0x5c319b(_0x5ce76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc3e3ff[0x1]={..._0xc3e3ff[0x1],[_0x5ce76b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2edd2e};},{[_0x5ce76b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ce76b([0x68,0x69,0x67,0x68])}),_0x523ab4[_0x5ce76b([0x6f,0x6e])](_0x5ce76b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26e826=>{_0x35be9e(_0x26e826[_0x5ce76b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ae067=!0x0,_0x1096da(_0x26e826[_0x5ce76b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ce76b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ce76b([0x6c,0x6f,0x77])}),_0x2e5286[_0x5ce76b([0x74,0x68,0x65,0x6e])](()=>{_0x2ae067||_0x5c319b(_0x5ce76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43c0d4(){return _0x523ab4[_0x5ce76b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ce76b([0x76,0x69,0x65,0x77])][_0x5ce76b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ce76b([0x61,0x75,0x74,0x6f]);}function _0xa721b3(){_0x523ab4[_0x5ce76b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ce76b([0x76,0x69,0x65,0x77])][_0x5ce76b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ce76b([0x61,0x75,0x74,0x6f]);}}function _0x4bb734(_0x38b86d){const _0x4b9dad=[new window[(_0x5ce76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a4c93=>setTimeout(_0x5a4c93,0x2e1ca083^_0x9b2a56)),_0x2e5286[_0x5ce76b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ce76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa9ab8=>{let _0x36872e=0x0;_0x523ab4[_0x5ce76b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ce76b([0x6f,0x6e])](_0x5ce76b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e2ee7,_0x2cfb71)=>{_0x2cfb71[0x0][_0x5ce76b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36872e++,_0x36872e==(0x2e159fb7^_0x9b2a56)&&(_0xa9ab8(),_0x1e2ee7[_0x5ce76b([0x6f,0x66,0x66])]());});}))];return window[_0x5ce76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ce76b([0x72,0x61,0x63,0x65])](_0x4b9dad)[_0x5ce76b([0x74,0x68,0x65,0x6e])](()=>_0x38b86d);}async function _0x16fc07(){await _0x2e5286,_0x523ab4[_0x5ce76b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ce76b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4bbd3b,_0x523ab4[_0x5ce76b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ce76b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4bbd3b,_0x523ab4[_0x5ce76b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ce76b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40f65a(_0x54881e){const _0x585847=_0x3787c3();_0x523ab4[_0x585847]=_0x5ce76b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54881e,_0x54881e!=_0x5ce76b([0x56,0x61,0x6c,0x69,0x64])&&_0x16fc07();}function _0x3787c3(){const _0x2bda5f=window[_0x5ce76b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ce76b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ce76b([0x6e,0x6f,0x77])]())[_0x5ce76b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ce76b([0x2e]),'');let _0xfa6d69=_0x5ce76b([0x4d]);for(let _0x1bd597=0x0;_0x1bd597<_0x2bda5f[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bd597+=0x2){let _0x2863ee=window[_0x5ce76b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bda5f[_0x5ce76b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bd597,_0x1bd597+0x2));_0x2863ee>=_0x25e81f[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2863ee-=_0x25e81f[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfa6d69+=_0x25e81f[_0x2863ee];}return _0xfa6d69;}function _0x34156c(){const _0x58da77=_0x20c322[_0x5ce76b([0x73,0x70,0x6c,0x69,0x74])](_0x5ce76b([0x2e]));if(0x3!=_0x58da77[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x142742(_0x58da77[0x1]);function _0x142742(_0x10a204){const _0x21e6ae=_0x180b9e(_0x10a204);return _0x21e6ae&&_0x1945c9()?_0x21e6ae:null;function _0x1945c9(){const _0x2109d9=_0x21e6ae[_0x5ce76b([0x6a,0x74,0x69])],_0x45db07=window[_0x5ce76b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2109d9[_0x5ce76b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2109d9[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5edcf2={..._0x21e6ae,[_0x5ce76b([0x6a,0x74,0x69])]:_0x2109d9[_0x5ce76b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2109d9[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5edcf2[_0x5ce76b([0x76,0x63])],_0x446ec4(_0x5edcf2)==_0x45db07;}}}async function _0x20c467(){let _0x504f34=!0x0;try{const _0x3e798b=_0x20c322[_0x5ce76b([0x73,0x70,0x6c,0x69,0x74])](_0x5ce76b([0x2e])),[_0x501786,_0x17b493,_0x4fab39]=_0x3e798b;return _0x3026a9(_0x501786),await _0x27e61b(_0x501786,_0x17b493,_0x4fab39),_0x504f34;}catch(_0x4b913b){return!0x1;}function _0x3026a9(_0x5a6ba4){const _0x1c5744=_0x180b9e(_0x5a6ba4);_0x1c5744&&_0x1c5744[_0x5ce76b([0x61,0x6c,0x67])]==_0x5ce76b([0x45,0x53,0x32,0x35,0x36])||(_0x504f34=!0x1);}async function _0x27e61b(_0x475268,_0x1e912d,_0x33ee84){const _0x2b1097=window[_0x5ce76b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ce76b([0x66,0x72,0x6f,0x6d])](_0x196e6a(_0x33ee84),_0x354c5c=>_0x354c5c[_0x5ce76b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2abb76=new window[(_0x5ce76b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ce76b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x475268+_0x5ce76b([0x2e])+_0x1e912d),_0x11a230=window[_0x5ce76b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ce76b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11a230)return;const _0x4a5acc=await _0x11a230[_0x5ce76b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ce76b([0x6a,0x77,0x6b]),_0x2d7e98,{[_0x5ce76b([0x6e,0x61,0x6d,0x65])]:_0x5ce76b([0x45,0x43,0x44,0x53,0x41]),[_0x5ce76b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ce76b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ce76b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11a230[_0x5ce76b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ce76b([0x6e,0x61,0x6d,0x65])]:_0x5ce76b([0x45,0x43,0x44,0x53,0x41]),[_0x5ce76b([0x68,0x61,0x73,0x68])]:{[_0x5ce76b([0x6e,0x61,0x6d,0x65])]:_0x5ce76b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a5acc,_0x2b1097,_0x2abb76)||(_0x504f34=!0x1);}}function _0x180b9e(_0x413b71){return _0x413b71[_0x5ce76b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ce76b([0x65,0x79]))?JSON[_0x5ce76b([0x70,0x61,0x72,0x73,0x65])](_0x196e6a(_0x413b71)):null;}function _0x196e6a(_0x49010b){return window[_0x5ce76b([0x61,0x74,0x6f,0x62])](_0x49010b[_0x5ce76b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ce76b([0x2b]))[_0x5ce76b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ce76b([0x2f])));}function _0x446ec4(_0x448667){let _0x59cbe6=0x1505;function _0x12fa96(_0x1e7c54){for(let _0x183de1=0x0;_0x183de1<_0x1e7c54[_0x5ce76b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x183de1++){const _0x5b0076=_0x1e7c54[_0x5ce76b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x183de1);_0x59cbe6=(_0x59cbe6<<0x5)+_0x59cbe6+_0x5b0076,_0x59cbe6&=_0x59cbe6;}}function _0x1e866a(_0xb98e2f){Array[_0x5ce76b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb98e2f)?_0xb98e2f[_0x5ce76b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e866a):_0xb98e2f&&typeof _0xb98e2f==_0x5ce76b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ce76b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb98e2f)[_0x5ce76b([0x73,0x6f,0x72,0x74])]()[_0x5ce76b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a66b6,_0x395d83])=>{_0x12fa96(_0x4a66b6),_0x1e866a(_0x395d83);}):_0x12fa96(window[_0x5ce76b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb98e2f));}return _0x1e866a(_0x448667),_0x59cbe6>>>0x0;}function _0x45e373(_0x155067){return _0x155067[_0x5ce76b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ce76b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ce76b([0x30]));}function _0x311c5e(_0x4a0b64){return _0x4a0b64[_0x5ce76b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ce76b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ce76b([0x6a,0x6f,0x69,0x6e])]('');}function _0x4bbd3b(){}function _0x5ce76b(_0x2173fc){const _0x114773=_0x4c0a;return _0x2173fc[_0x114773(0x12c)](_0x1c2ad0=>String[_0x114773(0x10c)](_0x1c2ad0))[_0x114773(0x122)]('');}_0x40f65a(await _0x46149a());}(this);}[_0x38a7fd(0x12f)](){const _0x58d072=_0x38a7fd,_0x382abd=this[_0x58d072(0x129)][_0x58d072(0x135)][_0x58d072(0x12b)];_0x382abd[_0x58d072(0x11a)](_0x58d072(0x149))&&_0x382abd[_0x58d072(0xfb)](_0x58d072(0x149),{'allowAttributes':[_0x58d072(0x14a)]}),_0x382abd[_0x58d072(0x11a)](_0x58d072(0x12e))&&_0x382abd[_0x58d072(0xfb)](_0x58d072(0x12e),{'allowAttributes':[_0x58d072(0x14a)]});}[_0x38a7fd(0xfc)](){const _0x73f5a2=_0x38a7fd,_0xe33912=this[_0x73f5a2(0x129)];_0xe33912[_0x73f5a2(0xfe)][_0x73f5a2(0x133)](_0x73f5a2(0x137))[_0x73f5a2(0x126)]({'model':_0x73f5a2(0x14a),'view':_0x73f5a2(0x102)}),_0xe33912[_0x73f5a2(0xfe)][_0x73f5a2(0x133)](_0x73f5a2(0x10d))[_0x73f5a2(0x10e)]({'model':{'key':_0x73f5a2(0x14a),'value':_0x96992=>_0x96992[_0x73f5a2(0xff)](_0x73f5a2(0x102))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x430252=_0xe33912[_0x73f5a2(0x11d)][_0x73f5a2(0x11c)](_0x73f5a2(0x13e));_0x430252&&this[_0x73f5a2(0x125)](_0x430252,_0x73f5a2(0x113),(_0x3f269d,[_0x44a22f,_0x257a5e])=>{const _0x3af977=_0x73f5a2;_0x44a22f[_0x3af977(0x148)](_0x3af977(0x14a),_0x257a5e);});}[_0x38a7fd(0x146)](){const _0x6afb4d=_0x38a7fd,_0x5add08=this[_0x6afb4d(0x129)][_0x6afb4d(0x13b)][_0x6afb4d(0x11c)](_0x6afb4d(0x147))||{},_0x1e5c5d=this[_0x6afb4d(0x129)][_0x6afb4d(0x13b)][_0x6afb4d(0x11c)](_0x6afb4d(0x11f))||'';this[_0x6afb4d(0x13d)]=_0x4da682(_0x4f6f95[_0x6afb4d(0x116)],_0x6afb4d(0x10b),{..._0x5add08,'pubkey':_0x1e5c5d,'ctx-name':_0x6afb4d(0xfa),'sourceList':'','imgOnly':_0x6afb4d(0x12d),'removeCopyright':_0x6afb4d(0x12d),'localeName':this[_0x6afb4d(0x129)][_0x6afb4d(0x10a)][_0x6afb4d(0xf9)],'externalSourcesEmbedCss':_0x6afb4d(0x143)}),this[_0x6afb4d(0x13d)][_0x6afb4d(0x13a)]=_0x46b813=>{const _0x950d2d=_0x6afb4d;if(_0x950d2d(0x103)==_0x46b813)return _0x950d2d(0x144);},_0x4f6f95[_0x6afb4d(0x116)][_0x6afb4d(0x115)][_0x6afb4d(0x110)](this[_0x6afb4d(0x13d)]);}[_0x38a7fd(0x104)](){const _0x14d969=_0x38a7fd;this[_0x14d969(0x11e)]=_0x4da682(_0x4f6f95[_0x14d969(0x116)],_0x14d969(0x140),{'ctx-name':_0x14d969(0xfa)}),_0x4f6f95[_0x14d969(0x116)][_0x14d969(0x115)][_0x14d969(0x110)](this[_0x14d969(0x11e)]);}[_0x38a7fd(0xfd)](){const _0x51e27f=_0x38a7fd,_0x397168=this[_0x51e27f(0x129)][_0x51e27f(0x11d)][_0x51e27f(0x11c)](_0x51e27f(0x105));_0x397168&&this[_0x51e27f(0x125)](_0x397168,_0x51e27f(0x134),()=>{const _0x35fbc9=_0x51e27f,_0x3630c6=this[_0x35fbc9(0x129)][_0x35fbc9(0x135)][_0x35fbc9(0x116)][_0x35fbc9(0x109)][_0x35fbc9(0x100)]();_0x3630c6&&_0x3630c6[_0x35fbc9(0xff)](_0x35fbc9(0x14a))&&this[_0x35fbc9(0x129)][_0x35fbc9(0x107)][_0x35fbc9(0x136)][_0x35fbc9(0x128)](_0x35fbc9(0x14b),()=>{const _0x4bfd0b=_0x35fbc9;_0x555089(this[_0x4bfd0b(0x129)],_0x3630c6);});});const _0x312a0f=this[_0x51e27f(0x129)][_0x51e27f(0x11d)][_0x51e27f(0x11c)](_0x51e27f(0x131));_0x312a0f&&this[_0x51e27f(0x125)](_0x312a0f,_0x51e27f(0x134),()=>{const _0x514ac0=_0x51e27f,_0x22f9c0=this[_0x514ac0(0x129)][_0x514ac0(0x135)][_0x514ac0(0x116)][_0x514ac0(0x109)][_0x514ac0(0x100)]();_0x22f9c0&&_0x22f9c0[_0x514ac0(0xff)](_0x514ac0(0x14a))&&this[_0x514ac0(0x129)][_0x514ac0(0x107)][_0x514ac0(0x136)][_0x514ac0(0x128)](_0x514ac0(0x14b),()=>{const _0x3301f3=_0x514ac0;_0x555089(this[_0x3301f3(0x129)],_0x22f9c0);});});}}
23
+ const _0x3149a0=_0x24b5;(function(_0x2e3759,_0x122304){const _0x1e7490=_0x24b5,_0x2aa207=_0x2e3759();while(!![]){try{const _0x18f819=-parseInt(_0x1e7490(0x16c))/0x1*(-parseInt(_0x1e7490(0x1bd))/0x2)+-parseInt(_0x1e7490(0x1b7))/0x3*(-parseInt(_0x1e7490(0x1ab))/0x4)+parseInt(_0x1e7490(0x19f))/0x5*(-parseInt(_0x1e7490(0x192))/0x6)+parseInt(_0x1e7490(0x18c))/0x7+parseInt(_0x1e7490(0x171))/0x8+-parseInt(_0x1e7490(0x19c))/0x9*(parseInt(_0x1e7490(0x16f))/0xa)+-parseInt(_0x1e7490(0x181))/0xb;if(_0x18f819===_0x122304)break;else _0x2aa207['push'](_0x2aa207['shift']());}catch(_0x3a8d54){_0x2aa207['push'](_0x2aa207['shift']());}}}(_0x45cc,0xc6957));import{Plugin as _0x16c1c1}from'ckeditor5/src/core.js';import{Dialog as _0x592b47}from'ckeditor5/src/ui.js';import{createElement as _0x5eec37,global as _0x2ef683,uid as _0x14a04d}from'ckeditor5/src/utils.js';function _0x45cc(){const _0x12b300=['afterInit','editor','uploadcare','render','4596445PJeHdx','body','editing','UploadcareEditing','_initSchema','document','1551606hELWoK','elementToAttribute','isPremiumPlugin','view','pluginName','downcast','_configElement','uc-upload-ctx-provider','map','uploadcareImageReplace','9GDifMx','_initImageProcessingIndicator','extend','5LVOKQC','contentLanguage','for','getAttribute','href','commands','execute','init','getSelectedElement','uploadcare.pubkey','uploader','model','15204hTAfkt','get','data-uc-image-id','querySelector','listenTo','_initCtx','requires','insertImage','replaceImageSource','fromCharCode','selection','config','255MUpvmT','#uc-icon-arrow-down','_initConfig','attributeToAttribute','uc-config','iconHrefResolver','17450ssZZEt','add','isRegistered','once','23WjZEps','\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','schema','931990NHRBqX','true','2879496fkgRBN','cleanupImage','appendChild','input[uploadcare-file-input]','ctxElement','configElement','destroy','imageInline','conversion','uploadcareImageId','isOfficialPlugin','join','locale','uploadcare.uploader','imageBlock','remove','4126463OZJsnt','_initConversion','removeAttribute','_ctxElement','upcast','closeMax','PictureEditing'];_0x45cc=function(){return _0x12b300;};return _0x45cc();}import _0x1ebd6b from'./uploadcarecommand.js';function _0x24b5(_0x279125,_0x229f91){const _0x45ccd9=_0x45cc();return _0x24b5=function(_0x24b591,_0x2d6a6c){_0x24b591=_0x24b591-0x16c;let _0x21fefd=_0x45ccd9[_0x24b591];return _0x21fefd;},_0x24b5(_0x279125,_0x229f91);}import _0x38e180 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xebd8bf}from'./utils/editingutils.js';export default class i extends _0x16c1c1{[_0x3149a0(0x198)]=null;[_0x3149a0(0x184)]=null;static get[_0x3149a0(0x196)](){const _0x543098=_0x3149a0;return _0x543098(0x18f);}static get[_0x3149a0(0x1b1)](){const _0x2d3aca=_0x3149a0;return[_0x2d3aca(0x187),_0x38e180,_0x592b47];}static get[_0x3149a0(0x17b)](){return!0x0;}static get[_0x3149a0(0x194)](){return!0x0;}get[_0x3149a0(0x176)](){const _0x9a6abb=_0x3149a0;return this[_0x9a6abb(0x198)];}get[_0x3149a0(0x175)](){const _0xb46963=_0x3149a0;return this[_0xb46963(0x184)];}[_0x3149a0(0x1a6)](){const _0xfdfa8a=_0x3149a0,_0x17e338=this[_0xfdfa8a(0x189)];_0x17e338[_0xfdfa8a(0x1a4)][_0xfdfa8a(0x1be)](_0xfdfa8a(0x18a),new _0x1ebd6b(_0x17e338));}[_0x3149a0(0x188)](){const _0x3c9660=_0x3149a0;this[_0x3c9660(0x190)](),this[_0x3c9660(0x182)](),this[_0x3c9660(0x1b9)](),this[_0x3c9660(0x1b0)](),this[_0x3c9660(0x19d)](),this[_0x3c9660(0x1af)](this[_0x3c9660(0x189)],_0x3c9660(0x177),()=>{const _0x25f854=_0x3c9660;this[_0x25f854(0x198)]&&(this[_0x25f854(0x198)][_0x25f854(0x180)](),this[_0x25f854(0x198)]=null),this[_0x25f854(0x184)]&&(this[_0x25f854(0x184)][_0x25f854(0x180)](),this[_0x25f854(0x184)]=null);const _0x1b7716=_0x2ef683[_0x25f854(0x191)][_0x25f854(0x1ae)](_0x25f854(0x174));_0x1b7716&&_0x1b7716[_0x25f854(0x180)]();}),async function(_0x90293b){const _0x49ddd1=_0x4cc29c([0x36,0x53,0x5a,0x56,0x76,0x79,0x69,0x43,0x62,0x4e,0x51,0x54,0x4f,0x70,0x64,0x33,0x6e,0x57,0x61,0x46,0x31,0x7a,0x4b,0x4c,0x49,0x34,0x6d,0x73,0x48,0x6f,0x67,0x77,0x39,0x45,0x6a,0x78,0x66,0x37,0x41,0x52,0x63,0x65,0x32,0x58,0x4a,0x44,0x6b,0x47,0x6c,0x35,0x50,0x75,0x30,0x38,0x71,0x42,0x72,0x4d,0x74,0x59,0x68,0x55]),_0x353e16=0x1949f838,_0xf7a906=0x194e9c28^_0x353e16,_0x372c55=window[_0x4cc29c([0x44,0x61,0x74,0x65])][_0x4cc29c([0x6e,0x6f,0x77])](),_0x3873a5=_0x90293b[_0x4cc29c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10bbd4=new window[(_0x4cc29c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17f6c7=>{_0x3873a5[_0x4cc29c([0x6f,0x6e,0x63,0x65])](_0x4cc29c([0x72,0x65,0x61,0x64,0x79]),_0x17f6c7);}),_0x171598={[_0x4cc29c([0x6b,0x74,0x79])]:_0x4cc29c([0x45,0x43]),[_0x4cc29c([0x75,0x73,0x65])]:_0x4cc29c([0x73,0x69,0x67]),[_0x4cc29c([0x63,0x72,0x76])]:_0x4cc29c([0x50,0x2d,0x32,0x35,0x36]),[_0x4cc29c([0x78])]:_0x4cc29c([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]),[_0x4cc29c([0x79])]:_0x4cc29c([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]),[_0x4cc29c([0x61,0x6c,0x67])]:_0x4cc29c([0x45,0x53,0x32,0x35,0x36])},_0x3dd646=_0x3873a5[_0x4cc29c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cc29c([0x67,0x65,0x74])](_0x4cc29c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc31079(){let _0x14e994,_0x448e76=null,_0x3b096f=null;try{if(_0x3dd646==_0x4cc29c([0x47,0x50,0x4c]))return _0x4cc29c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14e994=_0xca3df2(),!_0x14e994)return _0x4cc29c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14e994[_0x4cc29c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b096f=_0x5916ba(_0x14e994[_0x4cc29c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14e994[_0x4cc29c([0x6a,0x74,0x69])])),await _0x569088()?_0x4ea5de()?_0x48f86b()?_0x4cc29c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d3dbb()?(_0x14e994[_0x4cc29c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cc29c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x448e76=_0x1f338d(_0x4cc29c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x14e994[_0x4cc29c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cc29c([0x74,0x72,0x69,0x61,0x6c])&&(_0x448e76=_0x1f338d(_0x4cc29c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x444f00()):_0x4cc29c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cc29c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cc29c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1a96e3){return _0x4cc29c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48f86b(){const _0x15f9a1=[_0x4cc29c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cc29c([0x74,0x72,0x69,0x61,0x6c])][_0x4cc29c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14e994[_0x4cc29c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x372c55/0x3e8:0xe10*_0xf7a906;return _0x14e994[_0x4cc29c([0x65,0x78,0x70])]<_0x15f9a1;}function _0x4ea5de(){const _0x4168e4=_0x14e994[_0x4cc29c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4168e4&&(!!_0x4168e4[_0x4cc29c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc29c([0x2a]))||!!_0x4168e4[_0x4cc29c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc29c([0x55,0x50,0x4c,0x43])));}function _0x4d3dbb(){const _0x5a3ecc=_0x24b5,_0x3ec876=_0x14e994[_0x4cc29c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ec876||0x0==_0x3ec876[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3acc51}=new URL(window[_0x4cc29c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a3ecc(0x1a3)]);if(_0x3ec876[_0x4cc29c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3acc51))return!0x0;const _0x5d569f=_0x3acc51[_0x4cc29c([0x73,0x70,0x6c,0x69,0x74])](_0x4cc29c([0x2e]));return _0x3ec876[_0x4cc29c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x411bd0=>_0x411bd0[_0x4cc29c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc29c([0x2a])))[_0x4cc29c([0x6d,0x61,0x70])](_0x2b8b61=>_0x2b8b61[_0x4cc29c([0x73,0x70,0x6c,0x69,0x74])](_0x4cc29c([0x2e])))[_0x4cc29c([0x73,0x6f,0x6d,0x65])](_0x2aaaa4=>_0x5d569f[_0x4cc29c([0x65,0x76,0x65,0x72,0x79])]((_0x3cac4b,_0x2e1567)=>_0x2aaaa4[_0x2e1567]===_0x3cac4b||_0x2aaaa4[_0x2e1567]===_0x4cc29c([0x2a])));}function _0x444f00(){return _0x448e76&&_0x3b096f?new window[(_0x4cc29c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1047d4,_0xc83c55)=>{_0x448e76[_0x4cc29c([0x74,0x68,0x65,0x6e])](_0x1047d4,_0xc83c55),_0x3b096f[_0x4cc29c([0x74,0x68,0x65,0x6e])](_0x4df6a3=>{_0x4df6a3!=_0x4cc29c([0x56,0x61,0x6c,0x69,0x64])&&_0x1047d4(_0x4df6a3);},_0xc83c55);}):_0x448e76||_0x3b096f||_0x4cc29c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5916ba(_0x1bbf5d,_0x4d2fad){return new window[(_0x4cc29c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x465f90=>{if(_0x1a2cb0())return _0x465f90(_0x4cc29c([0x56,0x61,0x6c,0x69,0x64]));_0x280d51(),_0x3873a5[_0x4cc29c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cc29c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40f909=!0x1;const _0x3115ef=_0x14a04d();function _0xbf1c85(_0x54c2b4){return!!_0x54c2b4&&(typeof _0x54c2b4===_0x4cc29c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54c2b4===_0x4cc29c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54c2b4[_0x4cc29c([0x74,0x68,0x65,0x6e])]===_0x4cc29c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54c2b4[_0x4cc29c([0x63,0x61,0x74,0x63,0x68])]===_0x4cc29c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40574e(_0x5cc67f){_0x5256b5(_0x5cc67f)[_0x4cc29c([0x74,0x68,0x65,0x6e])](_0x6ac2e=>{if(!_0x6ac2e||_0x6ac2e[_0x4cc29c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cc29c([0x6f,0x6b]))return _0x4cc29c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18b409(_0x3a0cd5(_0x3115ef+_0x4d2fad))!=_0x6ac2e[_0x4cc29c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cc29c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cc29c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cc29c([0x74,0x68,0x65,0x6e])](_0x2be91=>(_0x21c682(),_0x2be91),()=>{const _0x43c913=_0x597b9a();return null==_0x43c913?(_0x21c682(),_0x4cc29c([0x56,0x61,0x6c,0x69,0x64])):_0x4cc29c(_0x372c55-_0x43c913>(0x3d457c38^_0x353e16)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cc29c([0x74,0x68,0x65,0x6e])](_0x465f90)[_0x4cc29c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x465f90(_0x4cc29c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x125894=0x197f16b8^_0x353e16;function _0x21c682(){const _0x2d4196=_0x4cc29c([0x6c,0x6c,0x63,0x74,0x2d])+_0x18b409(_0x3a0cd5(_0x1bbf5d)),_0x45c9c2=_0x32a1df(_0x18b409(window[_0x4cc29c([0x4d,0x61,0x74,0x68])][_0x4cc29c([0x63,0x65,0x69,0x6c])](_0x372c55/_0x125894)));window[_0x4cc29c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cc29c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d4196,_0x45c9c2);}function _0x597b9a(){const _0x52907a=_0x4cc29c([0x6c,0x6c,0x63,0x74,0x2d])+_0x18b409(_0x3a0cd5(_0x1bbf5d)),_0x37cc39=window[_0x4cc29c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cc29c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52907a);return _0x37cc39?window[_0x4cc29c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32a1df(_0x37cc39),0x10)*_0x125894:null;}function _0x5256b5(_0x51a597){return new window[(_0x4cc29c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a85ae,_0x3fd5bc)=>{_0x51a597[_0x4cc29c([0x74,0x68,0x65,0x6e])](_0x3a85ae,_0x3fd5bc),window[_0x4cc29c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fd5bc,0x19482cf8^_0x353e16);});}}_0x3873a5[_0x4cc29c([0x6f,0x6e])](_0x4cc29c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39dcf8,_0x9999a7)=>{if(_0x9999a7[0x0]!=_0x1bbf5d)return _0x465f90(_0x4cc29c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9999a7[0x1]={..._0x9999a7[0x1],[_0x4cc29c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3115ef};},{[_0x4cc29c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cc29c([0x68,0x69,0x67,0x68])}),_0x3873a5[_0x4cc29c([0x6f,0x6e])](_0x4cc29c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1631e5=>{_0xbf1c85(_0x1631e5[_0x4cc29c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40f909=!0x0,_0x40574e(_0x1631e5[_0x4cc29c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cc29c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cc29c([0x6c,0x6f,0x77])}),_0x10bbd4[_0x4cc29c([0x74,0x68,0x65,0x6e])](()=>{_0x40f909||_0x465f90(_0x4cc29c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a2cb0(){return _0x3873a5[_0x4cc29c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cc29c([0x76,0x69,0x65,0x77])][_0x4cc29c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cc29c([0x61,0x75,0x74,0x6f]);}function _0x280d51(){_0x3873a5[_0x4cc29c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cc29c([0x76,0x69,0x65,0x77])][_0x4cc29c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cc29c([0x61,0x75,0x74,0x6f]);}}function _0x1f338d(_0x492926){const _0x3d472c=[new window[(_0x4cc29c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x441223=>setTimeout(_0x441223,0x1940c6f4^_0x353e16)),_0x10bbd4[_0x4cc29c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cc29c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1915a7=>{let _0x3b92a6=0x0;_0x3873a5[_0x4cc29c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc29c([0x6f,0x6e])](_0x4cc29c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x531551,_0x274081)=>{_0x274081[0x0][_0x4cc29c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b92a6++,_0x3b92a6==(0x1949f9c0^_0x353e16)&&(_0x1915a7(),_0x531551[_0x4cc29c([0x6f,0x66,0x66])]());});}))];return window[_0x4cc29c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cc29c([0x72,0x61,0x63,0x65])](_0x3d472c)[_0x4cc29c([0x74,0x68,0x65,0x6e])](()=>_0x492926);}async function _0x251dd8(){await _0x10bbd4,_0x3873a5[_0x4cc29c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc29c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3042cd,_0x3873a5[_0x4cc29c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc29c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3042cd,_0x3873a5[_0x4cc29c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cc29c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4610a1(_0x42a72f){const _0x4d5a57=_0x1e39f4();_0x3873a5[_0x4d5a57]=_0x4cc29c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42a72f,_0x42a72f!=_0x4cc29c([0x56,0x61,0x6c,0x69,0x64])&&_0x251dd8();}function _0x1e39f4(){const _0x3f40a3=window[_0x4cc29c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cc29c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cc29c([0x6e,0x6f,0x77])]())[_0x4cc29c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cc29c([0x2e]),'');let _0x1f5ae5=_0x4cc29c([0x53]);for(let _0x280846=0x0;_0x280846<_0x3f40a3[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x280846+=0x2){let _0x530ef9=window[_0x4cc29c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f40a3[_0x4cc29c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x280846,_0x280846+0x2));_0x530ef9>=_0x49ddd1[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x530ef9-=_0x49ddd1[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f5ae5+=_0x49ddd1[_0x530ef9];}return _0x1f5ae5;}function _0xca3df2(){const _0x1bce4a=_0x3dd646[_0x4cc29c([0x73,0x70,0x6c,0x69,0x74])](_0x4cc29c([0x2e]));if(0x3!=_0x1bce4a[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5164c3(_0x1bce4a[0x1]);function _0x5164c3(_0xe869b2){const _0x4c7236=_0x55c5e4(_0xe869b2);return _0x4c7236&&_0x456c6c()?_0x4c7236:null;function _0x456c6c(){const _0x26494b=_0x4c7236[_0x4cc29c([0x6a,0x74,0x69])],_0x805ff1=window[_0x4cc29c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26494b[_0x4cc29c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26494b[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2671f1={..._0x4c7236,[_0x4cc29c([0x6a,0x74,0x69])]:_0x26494b[_0x4cc29c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26494b[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2671f1[_0x4cc29c([0x76,0x63])],_0x3a0cd5(_0x2671f1)==_0x805ff1;}}}async function _0x569088(){let _0x1c8abb=!0x0;try{const _0x410054=_0x3dd646[_0x4cc29c([0x73,0x70,0x6c,0x69,0x74])](_0x4cc29c([0x2e])),[_0x500fce,_0x2f0b40,_0x544a1e]=_0x410054;return _0x1c77f1(_0x500fce),await _0x27637f(_0x500fce,_0x2f0b40,_0x544a1e),_0x1c8abb;}catch(_0x27119c){return!0x1;}function _0x1c77f1(_0x3544a9){const _0x2dec4e=_0x55c5e4(_0x3544a9);_0x2dec4e&&_0x2dec4e[_0x4cc29c([0x61,0x6c,0x67])]==_0x4cc29c([0x45,0x53,0x32,0x35,0x36])||(_0x1c8abb=!0x1);}async function _0x27637f(_0x58e7c8,_0x152794,_0x144c21){const _0x47c5ed=window[_0x4cc29c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cc29c([0x66,0x72,0x6f,0x6d])](_0x38bbaf(_0x144c21),_0x16ca64=>_0x16ca64[_0x4cc29c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ea182=new window[(_0x4cc29c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cc29c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58e7c8+_0x4cc29c([0x2e])+_0x152794),_0x2dae71=window[_0x4cc29c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cc29c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dae71)return;const _0x37f45f=await _0x2dae71[_0x4cc29c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cc29c([0x6a,0x77,0x6b]),_0x171598,{[_0x4cc29c([0x6e,0x61,0x6d,0x65])]:_0x4cc29c([0x45,0x43,0x44,0x53,0x41]),[_0x4cc29c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cc29c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cc29c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dae71[_0x4cc29c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cc29c([0x6e,0x61,0x6d,0x65])]:_0x4cc29c([0x45,0x43,0x44,0x53,0x41]),[_0x4cc29c([0x68,0x61,0x73,0x68])]:{[_0x4cc29c([0x6e,0x61,0x6d,0x65])]:_0x4cc29c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37f45f,_0x47c5ed,_0x2ea182)||(_0x1c8abb=!0x1);}}function _0x55c5e4(_0x58717d){return _0x58717d[_0x4cc29c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cc29c([0x65,0x79]))?JSON[_0x4cc29c([0x70,0x61,0x72,0x73,0x65])](_0x38bbaf(_0x58717d)):null;}function _0x38bbaf(_0x1bdffa){return window[_0x4cc29c([0x61,0x74,0x6f,0x62])](_0x1bdffa[_0x4cc29c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cc29c([0x2b]))[_0x4cc29c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cc29c([0x2f])));}function _0x3a0cd5(_0x4aa900){let _0x4db44d=0x1505;function _0x1b8531(_0xb6b6db){for(let _0x9880c6=0x0;_0x9880c6<_0xb6b6db[_0x4cc29c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9880c6++){const _0x20e79d=_0xb6b6db[_0x4cc29c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9880c6);_0x4db44d=(_0x4db44d<<0x5)+_0x4db44d+_0x20e79d,_0x4db44d&=_0x4db44d;}}function _0x2d6219(_0x5f88f0){Array[_0x4cc29c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f88f0)?_0x5f88f0[_0x4cc29c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d6219):_0x5f88f0&&typeof _0x5f88f0==_0x4cc29c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cc29c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f88f0)[_0x4cc29c([0x73,0x6f,0x72,0x74])]()[_0x4cc29c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3da7d6,_0x284535])=>{_0x1b8531(_0x3da7d6),_0x2d6219(_0x284535);}):_0x1b8531(window[_0x4cc29c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f88f0));}return _0x2d6219(_0x4aa900),_0x4db44d>>>0x0;}function _0x18b409(_0x2eb3da){return _0x2eb3da[_0x4cc29c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cc29c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cc29c([0x30]));}function _0x32a1df(_0x27338b){return _0x27338b[_0x4cc29c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cc29c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cc29c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3042cd(){}function _0x4cc29c(_0x247b4d){const _0x427517=_0x24b5;return _0x247b4d[_0x427517(0x19a)](_0x32a3c4=>String[_0x427517(0x1b4)](_0x32a3c4))[_0x427517(0x17c)]('');}_0x4610a1(await _0xc31079());}(this);}[_0x3149a0(0x190)](){const _0x48dc49=_0x3149a0,_0x5065b7=this[_0x48dc49(0x189)][_0x48dc49(0x1aa)][_0x48dc49(0x16e)];_0x5065b7[_0x48dc49(0x1bf)](_0x48dc49(0x17f))&&_0x5065b7[_0x48dc49(0x19e)](_0x48dc49(0x17f),{'allowAttributes':[_0x48dc49(0x17a)]}),_0x5065b7[_0x48dc49(0x1bf)](_0x48dc49(0x178))&&_0x5065b7[_0x48dc49(0x19e)](_0x48dc49(0x178),{'allowAttributes':[_0x48dc49(0x17a)]});}[_0x3149a0(0x182)](){const _0x4f8639=_0x3149a0,_0x205fe6=this[_0x4f8639(0x189)];_0x205fe6[_0x4f8639(0x179)][_0x4f8639(0x1a1)](_0x4f8639(0x197))[_0x4f8639(0x1ba)]({'model':_0x4f8639(0x17a),'view':_0x4f8639(0x1ad)}),_0x205fe6[_0x4f8639(0x179)][_0x4f8639(0x1a1)](_0x4f8639(0x185))[_0x4f8639(0x193)]({'model':{'key':_0x4f8639(0x17a),'value':_0x4a1f4f=>_0x4a1f4f[_0x4f8639(0x1a2)](_0x4f8639(0x1ad))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3756ee=_0x205fe6[_0x4f8639(0x1a4)][_0x4f8639(0x1ac)](_0x4f8639(0x1b3));_0x3756ee&&this[_0x4f8639(0x1af)](_0x3756ee,_0x4f8639(0x172),(_0x594f4e,[_0x1b4458,_0x281ad1])=>{const _0x11b4b8=_0x4f8639;_0x1b4458[_0x11b4b8(0x183)](_0x11b4b8(0x17a),_0x281ad1);});}[_0x3149a0(0x1b9)](){const _0x3ec9f8=_0x3149a0,_0x555a48=this[_0x3ec9f8(0x189)][_0x3ec9f8(0x1b6)][_0x3ec9f8(0x1ac)](_0x3ec9f8(0x17e))||{},_0x1d89cd=this[_0x3ec9f8(0x189)][_0x3ec9f8(0x1b6)][_0x3ec9f8(0x1ac)](_0x3ec9f8(0x1a8))||'';this[_0x3ec9f8(0x198)]=_0x5eec37(_0x2ef683[_0x3ec9f8(0x191)],_0x3ec9f8(0x1bb),{..._0x555a48,'pubkey':_0x1d89cd,'ctx-name':_0x3ec9f8(0x1a9),'sourceList':'','imgOnly':_0x3ec9f8(0x170),'removeCopyright':_0x3ec9f8(0x170),'localeName':this[_0x3ec9f8(0x189)][_0x3ec9f8(0x17d)][_0x3ec9f8(0x1a0)],'externalSourcesEmbedCss':_0x3ec9f8(0x16d)}),this[_0x3ec9f8(0x198)][_0x3ec9f8(0x1bc)]=_0x183789=>{const _0x32fd0c=_0x3ec9f8;if(_0x32fd0c(0x186)==_0x183789)return _0x32fd0c(0x1b8);},_0x2ef683[_0x3ec9f8(0x191)][_0x3ec9f8(0x18d)][_0x3ec9f8(0x173)](this[_0x3ec9f8(0x198)]);}[_0x3149a0(0x1b0)](){const _0x5b6e85=_0x3149a0;this[_0x5b6e85(0x184)]=_0x5eec37(_0x2ef683[_0x5b6e85(0x191)],_0x5b6e85(0x199),{'ctx-name':_0x5b6e85(0x1a9)}),_0x2ef683[_0x5b6e85(0x191)][_0x5b6e85(0x18d)][_0x5b6e85(0x173)](this[_0x5b6e85(0x184)]);}[_0x3149a0(0x19d)](){const _0x1798ae=_0x3149a0,_0x3170c9=this[_0x1798ae(0x189)][_0x1798ae(0x1a4)][_0x1798ae(0x1ac)](_0x1798ae(0x1b2));_0x3170c9&&this[_0x1798ae(0x1af)](_0x3170c9,_0x1798ae(0x1a5),()=>{const _0x58d519=_0x1798ae,_0x10cdfd=this[_0x58d519(0x189)][_0x58d519(0x1aa)][_0x58d519(0x191)][_0x58d519(0x1b5)][_0x58d519(0x1a7)]();_0x10cdfd&&_0x10cdfd[_0x58d519(0x1a2)](_0x58d519(0x17a))&&this[_0x58d519(0x189)][_0x58d519(0x18e)][_0x58d519(0x195)][_0x58d519(0x1c0)](_0x58d519(0x18b),()=>{const _0x36eada=_0x58d519;_0xebd8bf(this[_0x36eada(0x189)],_0x10cdfd);});});const _0x34b264=this[_0x1798ae(0x189)][_0x1798ae(0x1a4)][_0x1798ae(0x1ac)](_0x1798ae(0x19b));_0x34b264&&this[_0x1798ae(0x1af)](_0x34b264,_0x1798ae(0x1a5),()=>{const _0x851467=_0x1798ae,_0xeadc18=this[_0x851467(0x189)][_0x851467(0x1aa)][_0x851467(0x191)][_0x851467(0x1b5)][_0x851467(0x1a7)]();_0xeadc18&&_0xeadc18[_0x851467(0x1a2)](_0x851467(0x17a))&&this[_0x851467(0x189)][_0x851467(0x18e)][_0x851467(0x195)][_0x851467(0x1c0)](_0x851467(0x18b),()=>{const _0x4fdd83=_0x851467;_0xebd8bf(this[_0x4fdd83(0x189)],_0xeadc18);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2e9c9e,ObservableMixin as _0x52a81f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2a8c96}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2c4686}from'ckeditor5/src/icons.js';import _0x54fcc5 from'./uploadcareimageeditformview.js';import _0x4827c2 from'../../utils/uploadutils.js';import{getImageUrls as _0x34957d,getImageDimension as _0xa3696}from'../../utils/editingutils.js';import{isAncestor as _0x3a64b2}from'../../utils/isancestor.js';export default class A extends/* #__PURE__ -- @preserve */
24
- _0x52a81f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xb613f2,_0x10e249,_0x20912c){super(),this['_editor']=_0xb613f2,this['_dialog']=_0x10e249,this['_imageElement']=_0x20912c,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 _0x4a1f50=this['_imageElement'],_0x1dfaab=_0x4a1f50['getAttribute']('uploadcareImageId'),_0x4d9dfa=_0x4a1f50['getAttribute']('src');if(_0x1dfaab)await this['_loadImageInfo'](_0x1dfaab,_0x4d9dfa);else{if(this['_imageCache']['has'](_0x4d9dfa)){const _0x56605a=this['_imageCache']['get'](_0x4d9dfa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56605a['url'],this['imageDimension']=_0x56605a['dimension'],this['imageId']=_0x56605a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5c5fed}=this['_editor'],t=_0x5c5fed['t'],_0x359d31=new _0x54fcc5(_0x5c5fed,this['imageStatus'],this['_attributes']);_0x359d31['bind']('status')['to'](this,'imageStatus'),_0x359d31['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x359d31['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x359d31['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x359d31,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2c4686,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x359d31,'position':_0x2a8c96['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x359d31['focus']();},'onHide':()=>{_0x359d31['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x112fa3=>!_0x3a64b2(_0x112fa3,_0x359d31['element'])}});}['_loadImageInfo'](_0x1b0674,_0x8ade6a){return _0x4827c2['getInfo'](_0x1b0674,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1f7d3f=>{const {width:_0x551846,height:_0x175eb0}=_0x1f7d3f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8ade6a,this['imageDimension']={'width':_0x551846,'height':_0x175eb0},this['imageId']=_0x1b0674;})['catch'](_0x2df58f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2df58f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x33e4d9,_0x35aca1){return this['_getImageAsFile'](_0x33e4d9)['then'](_0x414d81=>_0x4827c2['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x35aca1['signal'],'file':_0x414d81,'onProgress':_0x4e8a9e=>{_0x4e8a9e&&_0x4e8a9e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4e8a9e['value']));}}))['then'](_0x4f8b54=>{const {width:_0x2ee92b,height:_0x1d0d07}=_0x4f8b54['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f8b54['cdnUrl'],this['imageDimension']={'width':_0x2ee92b,'height':_0x1d0d07},this['imageId']=_0x4f8b54['uuid'],this['imageUploadProgress']=null;const _0x7b2c0b=_0x33e4d9['getAttribute']('src');this['_imageCache']['set'](_0x7b2c0b,{'id':_0x4f8b54['uuid'],'url':_0x4f8b54['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x477fa7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x477fa7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x22711a,_0x1e9aa2){_0x22711a['on']('apply',(_0x5b4b94,_0x49431e)=>{this['_replaceImage'](_0x1e9aa2,_0x49431e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x22711a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x22711a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2c210f,_0x1bd977,_0x2c50ae){const _0x15b9ec=this['_editor'],{width:_0x1b0657,height:_0x112ab8}=_0xa3696(_0x1bd977,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5f337e,imageSources:_0x1993d5}=_0x34957d(_0x1bd977,_0x1b0657);_0x15b9ec['model']['change'](_0x5a6f58=>{if('$graveyard'===_0x2c210f['root']['rootName']){_0x15b9ec['execute']('insertImage',{'imageType':_0x2c210f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2c210f['getAttributes']()),'uploadcareImageId':_0x2c50ae,'src':_0x5f337e,'sources':_0x1993d5,'width':_0x1b0657,'height':_0x112ab8}});const _0x274694=_0x2c210f['getChildren']();_0x2c210f=_0x15b9ec['model']['document']['selection']['getSelectedElement']();for(const _0x4ed654 of _0x274694)_0x5a6f58['append'](_0x5a6f58['cloneElement'](_0x4ed654),_0x2c210f);}else _0x5a6f58['setSelection'](_0x2c210f,'on'),_0x15b9ec['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2c210f['getAttributes']()),'uploadcareImageId':_0x2c50ae,'src':_0x5f337e,'sources':_0x1993d5,'width':_0x1b0657,'height':_0x112ab8},_0x2c210f);_0x5a6f58['setSelection'](_0x2c210f,'on');});}async['_getImageAsFile'](_0x27d004){const _0x38277a=_0x2e9c9e['window'],_0x52f5e5=_0x2e9c9e['document']['location']['href'],_0x3af2be=new _0x38277a['URL'](_0x27d004['getAttribute']('src'),_0x52f5e5);if('data:'===_0x3af2be['protocol']){const _0x186691=_0x3af2be['href']['split'](','),_0x46e3ac=_0x186691[0x0]['match'](/:(.*?);/)[0x1],_0x215586=_0x46e3ac['split']('/')[0x1],_0x3efe44=_0x38277a['atob'](_0x186691[_0x186691['length']-0x1]);let _0x54c749=_0x3efe44['length'];const _0x22257d=new _0x38277a['Uint8Array'](_0x54c749);for(;_0x54c749--;)_0x22257d[_0x54c749]=_0x3efe44['charCodeAt'](_0x54c749);return new _0x38277a['File']([_0x22257d],'image.'+_0x215586,{'type':_0x46e3ac});}const _0x4d9dd8=_0x3af2be['href']['split']('/'),_0x173fec=_0x4d9dd8[_0x4d9dd8['length']-0x1],_0x8ebe53=_0x173fec['split']('.')[0x1];return _0x38277a['fetch'](_0x3af2be['href'])['then'](_0x136592=>_0x136592['clone']()['blob']())['then'](_0x2ffc72=>new _0x38277a['File']([_0x2ffc72],_0x173fec,{'type':'image/'+_0x8ebe53}));}}
23
+ import{global as _0x2698e8,ObservableMixin as _0xb0b633}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2275b6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xc66a8d}from'ckeditor5/src/icons.js';import _0x13abc3 from'./uploadcareimageeditformview.js';import _0x1cc534 from'../../utils/uploadutils.js';import{getImageUrls as _0xe7e167,getImageDimension as _0xa68c08}from'../../utils/editingutils.js';import{isAncestor as _0x14f0c6}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
+ _0xb0b633(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x43eceb,_0x533a91,_0x5185ed){super(),this['_editor']=_0x43eceb,this['_dialog']=_0x533a91,this['_imageElement']=_0x5185ed,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 _0x49b94e=this['_imageElement'],_0x2e5bd5=_0x49b94e['getAttribute']('uploadcareImageId'),_0x4a68c2=_0x49b94e['getAttribute']('src');if(_0x2e5bd5)await this['_loadImageInfo'](_0x2e5bd5,_0x4a68c2);else{if(this['_imageCache']['has'](_0x4a68c2)){const _0x5c89cd=this['_imageCache']['get'](_0x4a68c2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c89cd['url'],this['imageDimension']=_0x5c89cd['dimension'],this['imageId']=_0x5c89cd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x27901c}=this['_editor'],t=_0x27901c['t'],_0x349269=new _0x13abc3(_0x27901c,this['imageStatus'],this['_attributes']);_0x349269['bind']('status')['to'](this,'imageStatus'),_0x349269['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x349269['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x349269['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x349269,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc66a8d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x349269,'position':_0x2275b6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x349269['focus']();},'onHide':()=>{_0x349269['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x582569=>!_0x14f0c6(_0x582569,_0x349269['element'])}});}['_loadImageInfo'](_0x4088e1,_0x326d50){return _0x1cc534['getInfo'](_0x4088e1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3108d3=>{const {width:_0x209f1c,height:_0x4f00d6}=_0x3108d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x326d50,this['imageDimension']={'width':_0x209f1c,'height':_0x4f00d6},this['imageId']=_0x4088e1;})['catch'](_0x4387c2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4387c2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53e66f,_0x54280c){return this['_getImageAsFile'](_0x53e66f)['then'](_0x384741=>_0x1cc534['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x54280c['signal'],'file':_0x384741,'onProgress':_0x1ff468=>{_0x1ff468&&_0x1ff468['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1ff468['value']));}}))['then'](_0x4e8e46=>{const {width:_0x14bf07,height:_0x21d0d3}=_0x4e8e46['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e8e46['cdnUrl'],this['imageDimension']={'width':_0x14bf07,'height':_0x21d0d3},this['imageId']=_0x4e8e46['uuid'],this['imageUploadProgress']=null;const _0x14b3ba=_0x53e66f['getAttribute']('src');this['_imageCache']['set'](_0x14b3ba,{'id':_0x4e8e46['uuid'],'url':_0x4e8e46['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45f02b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45f02b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x145fde,_0x160669){_0x145fde['on']('apply',(_0x96ee52,_0x16adb2)=>{this['_replaceImage'](_0x160669,_0x16adb2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x145fde['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x145fde['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x48e848,_0x2a03da,_0x4948c4){const _0x1483d3=this['_editor'],{width:_0x5b8d5c,height:_0x401a80}=_0xa68c08(_0x2a03da,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x52ad9c,imageSources:_0x5710d6}=_0xe7e167(_0x2a03da,_0x5b8d5c);_0x1483d3['model']['change'](_0xd49c33=>{if('$graveyard'===_0x48e848['root']['rootName']){_0x1483d3['execute']('insertImage',{'imageType':_0x48e848['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x48e848['getAttributes']()),'uploadcareImageId':_0x4948c4,'src':_0x52ad9c,'sources':_0x5710d6,'width':_0x5b8d5c,'height':_0x401a80}});const _0x50b8b1=_0x48e848['getChildren']();_0x48e848=_0x1483d3['model']['document']['selection']['getSelectedElement']();for(const _0x1b856f of _0x50b8b1)_0xd49c33['append'](_0xd49c33['cloneElement'](_0x1b856f),_0x48e848);}else _0xd49c33['setSelection'](_0x48e848,'on'),_0x1483d3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x48e848['getAttributes']()),'uploadcareImageId':_0x4948c4,'src':_0x52ad9c,'sources':_0x5710d6,'width':_0x5b8d5c,'height':_0x401a80},_0x48e848);_0xd49c33['setSelection'](_0x48e848,'on');});}async['_getImageAsFile'](_0x28326a){const _0x3c52be=_0x2698e8['window'],_0x214bf4=_0x2698e8['document']['location']['href'],_0x50c4c5=new _0x3c52be['URL'](_0x28326a['getAttribute']('src'),_0x214bf4);if('data:'===_0x50c4c5['protocol']){const _0x2e5cdc=_0x50c4c5['href']['split'](','),_0x56136b=_0x2e5cdc[0x0]['match'](/:(.*?);/)[0x1],_0x3513ee=_0x56136b['split']('/')[0x1],_0x3f2f7e=_0x3c52be['atob'](_0x2e5cdc[_0x2e5cdc['length']-0x1]);let _0x3074d9=_0x3f2f7e['length'];const _0x1c7e09=new _0x3c52be['Uint8Array'](_0x3074d9);for(;_0x3074d9--;)_0x1c7e09[_0x3074d9]=_0x3f2f7e['charCodeAt'](_0x3074d9);return new _0x3c52be['File']([_0x1c7e09],'image.'+_0x3513ee,{'type':_0x56136b});}const _0x1bfbe1=_0x50c4c5['href']['split']('/'),_0x570914=_0x1bfbe1[_0x1bfbe1['length']-0x1],_0x17766c=_0x570914['split']('.')[0x1];return _0x3c52be['fetch'](_0x50c4c5['href'])['then'](_0x10b7d8=>_0x10b7d8['clone']()['blob']())['then'](_0x532ae3=>new _0x3c52be['File']([_0x532ae3],_0x570914,{'type':'image/'+_0x17766c}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1def12,_0x26343b){const _0x452306=_0x46b4,_0x28b074=_0x1def12();while(!![]){try{const _0x36329a=parseInt(_0x452306(0x7f))/0x1*(parseInt(_0x452306(0x7a))/0x2)+-parseInt(_0x452306(0x84))/0x3+-parseInt(_0x452306(0x82))/0x4+parseInt(_0x452306(0x75))/0x5+parseInt(_0x452306(0x85))/0x6*(parseInt(_0x452306(0x86))/0x7)+-parseInt(_0x452306(0x78))/0x8*(-parseInt(_0x452306(0x81))/0x9)+-parseInt(_0x452306(0x83))/0xa;if(_0x36329a===_0x26343b)break;else _0x28b074['push'](_0x28b074['shift']());}catch(_0x13dc14){_0x28b074['push'](_0x28b074['shift']());}}}(_0x5bc5,0xc4471));import{View as _0x33d93c}from'ckeditor5/src/ui.js';function _0x46b4(_0x169dc4,_0x35557f){const _0x5bc59d=_0x5bc5();return _0x46b4=function(_0x46b415,_0x302163){_0x46b415=_0x46b415-0x75;let _0x2f0a47=_0x5bc59d[_0x46b415];return _0x2f0a47;},_0x46b4(_0x169dc4,_0x35557f);}function _0x5bc5(){const _0x22a7af=['image-edit','246408XRTZPx','bindTemplate','26krGPRx','uc-light','set','imageSrc','setTemplate','1123zUXxPf','uc-cloud-image-editor','45TmVIcm','162564BloUkO','1742190nKDFPe','4044528uTdUbh','6pDoCvQ','4618628AkHKNX','7692905ZRzMAI','ck-uploadcare-theme'];_0x5bc5=function(){return _0x22a7af;};return _0x5bc5();}export default class tt extends _0x33d93c{constructor(_0x507eef,_0x14be96){const _0xad337d=_0x46b4;super(_0x507eef);const _0x31acc9=this[_0xad337d(0x79)];this[_0xad337d(0x7c)](_0xad337d(0x7d),''),this[_0xad337d(0x7e)]({'tag':_0xad337d(0x80),'attributes':{..._0x14be96,'class':[_0xad337d(0x7b),_0xad337d(0x76)],'ctx-name':_0xad337d(0x77),'cdn-url':_0x31acc9['to'](_0xad337d(0x7d))}});}}
23
+ function _0x49da(){const _0x41b713=['720462bmkjMp','ck-uploadcare-theme','4331334hRhLOh','724328uZApmt','set','uc-cloud-image-editor','5967464sRivuN','178985pXzmja','188412gOevCb','imageSrc','36BzgeQv','setTemplate','2023692plbezP','image-edit','uc-light','bindTemplate'];_0x49da=function(){return _0x41b713;};return _0x49da();}(function(_0x1b9546,_0x4cd92c){const _0xe42419=_0x3267,_0x344f80=_0x1b9546();while(!![]){try{const _0x143e81=-parseInt(_0xe42419(0x1e8))/0x1+-parseInt(_0xe42419(0x1ed))/0x2+parseInt(_0xe42419(0x1f1))/0x3+parseInt(_0xe42419(0x1ef))/0x4*(parseInt(_0xe42419(0x1ec))/0x5)+parseInt(_0xe42419(0x1e5))/0x6+-parseInt(_0xe42419(0x1e7))/0x7+parseInt(_0xe42419(0x1eb))/0x8;if(_0x143e81===_0x4cd92c)break;else _0x344f80['push'](_0x344f80['shift']());}catch(_0x52bf26){_0x344f80['push'](_0x344f80['shift']());}}}(_0x49da,0x67deb));import{View as _0x399be2}from'ckeditor5/src/ui.js';function _0x3267(_0x4c0c32,_0x215676){const _0x49da2a=_0x49da();return _0x3267=function(_0x3267e6,_0x3f3b60){_0x3267e6=_0x3267e6-0x1e4;let _0x52c779=_0x49da2a[_0x3267e6];return _0x52c779;},_0x3267(_0x4c0c32,_0x215676);}export default class tt extends _0x399be2{constructor(_0x3542a9,_0x1b8eaf){const _0x5e4ade=_0x3267;super(_0x3542a9);const _0x4f103b=this[_0x5e4ade(0x1e4)];this[_0x5e4ade(0x1e9)](_0x5e4ade(0x1ee),''),this[_0x5e4ade(0x1f0)]({'tag':_0x5e4ade(0x1ea),'attributes':{..._0x1b8eaf,'class':[_0x5e4ade(0x1f3),_0x5e4ade(0x1e6)],'ctx-name':_0x5e4ade(0x1f2),'cdn-url':_0x4f103b['to'](_0x5e4ade(0x1ee))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x17bc5b,IconView as at,View as _0x3a4659}from'ckeditor5/src/ui.js';export default class rt extends _0x3a4659{constructor(_0x5144f6){super(_0x5144f6);const t=_0x5144f6['t'];this['set']('errorType',null);const _0x549c9b=new _0x17bc5b(_0x5144f6);_0x549c9b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x549c9b['withText']=!0x0,_0x549c9b['class']='ck-button-action',_0x549c9b['on']('execute',()=>{this['fire']('retry');}),_0x549c9b['bind']('isVisible')['to'](this,'errorType',_0x295a9a=>'NotFound'!==_0x295a9a);const _0x20469c=new at();_0x20469c['content']=et,_0x20469c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4d3ac0=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':[_0x20469c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4d3ac0['to']('errorType',_0x1c91de=>t('NotFound'!==_0x1c91de?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x549c9b]},{'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 et}from'ckeditor5/src/icons.js';import{ButtonView as _0x1fd76e,IconView as at,View as _0x3038f6}from'ckeditor5/src/ui.js';export default class rt extends _0x3038f6{constructor(_0x513c6c){super(_0x513c6c);const t=_0x513c6c['t'];this['set']('errorType',null);const _0x331f47=new _0x1fd76e(_0x513c6c);_0x331f47['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x331f47['withText']=!0x0,_0x331f47['class']='ck-button-action',_0x331f47['on']('execute',()=>{this['fire']('retry');}),_0x331f47['bind']('isVisible')['to'](this,'errorType',_0x13645f=>'NotFound'!==_0x13645f);const _0x5bffcf=new at();_0x5bffcf['content']=et,_0x5bffcf['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x38e1d1=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':[_0x5bffcf,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x38e1d1['to']('errorType',_0x15fe07=>t('NotFound'!==_0x15fe07?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x331f47]},{'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 _0x528f7f,View as _0x520d72}from'ckeditor5/src/ui.js';export default class ta extends _0x520d72{constructor(_0x46e0db){super(_0x46e0db);const t=_0x46e0db['t'],_0x20c358=this['bindTemplate'],_0x4cf5bd=new _0x528f7f();_0x4cf5bd['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':[_0x4cf5bd,{'text':_0x20c358['to']('imageUploadProgress',_0x5a6a53=>t('Loading\x20image...')+'\x20('+(_0x5a6a53||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 _0x441c91,View as _0x25b7d3}from'ckeditor5/src/ui.js';export default class ta extends _0x25b7d3{constructor(_0x57cd40){super(_0x57cd40);const t=_0x57cd40['t'],_0x548c9a=this['bindTemplate'],_0x4289c0=new _0x441c91();_0x4289c0['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':[_0x4289c0,{'text':_0x548c9a['to']('imageUploadProgress',_0x15ce9b=>t('Loading\x20image...')+'\x20('+(_0x15ce9b||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
- function _0x5cd7(){const _0x5678db=['error','retry','cancel','_setView','observe','fire','once','target','div','2884gcloSP','2034036DGiVXT','_waitForImageEditorComponent','_loadingView','_editingView','735620qttDAD','length','clear','filter','addMany','uploading','_addUploadcareImageEditorListeners','set','ready','addEventListener','add','uc-cloud-image-editor','219735EpQFSl','setTemplate','render','42616KMbyJF','status','createCollection','element','cdnUrl','3070hIFpMG','43912HUyTdo','nodeName','14adaSCO','toLowerCase','ck-reset_all-excluded','553777YeNelu','126WRmSXy','_focusableView','_addErrorViewListeners','_errorView','querySelector','disconnect','change:status','detail','_items','ck-uploadcare-form','getFocusableElement','focus','24TPAVio','addedNodes','apply'];_0x5cd7=function(){return _0x5678db;};return _0x5cd7();}const _0x10cb38=_0x1501;(function(_0x21f4a2,_0x11568b){const _0x3e533c=_0x1501,_0x316588=_0x21f4a2();while(!![]){try{const _0x13e5d8=parseInt(_0x3e533c(0x1ff))/0x1*(parseInt(_0x3e533c(0x21b))/0x2)+-parseInt(_0x3e533c(0x210))/0x3+-parseInt(_0x3e533c(0x200))/0x4+-parseInt(_0x3e533c(0x204))/0x5+parseInt(_0x3e533c(0x1f3))/0x6*(-parseInt(_0x3e533c(0x21e))/0x7)+parseInt(_0x3e533c(0x213))/0x8*(parseInt(_0x3e533c(0x21f))/0x9)+-parseInt(_0x3e533c(0x218))/0xa*(-parseInt(_0x3e533c(0x219))/0xb);if(_0x13e5d8===_0x11568b)break;else _0x316588['push'](_0x316588['shift']());}catch(_0x58fc5f){_0x316588['push'](_0x316588['shift']());}}}(_0x5cd7,0x4322c));import{View as _0x89f170}from'ckeditor5/src/ui.js';import _0x3e6f92 from'./uploadcareimageeditformloadingview.js';function _0x1501(_0x4e9ee9,_0x535982){const _0x5cd798=_0x5cd7();return _0x1501=function(_0x150156,_0x45d343){_0x150156=_0x150156-0x1ec;let _0x236bc5=_0x5cd798[_0x150156];return _0x236bc5;},_0x1501(_0x4e9ee9,_0x535982);}import _0x169d5e from'./uploadcareimageeditformerrorview.js';import _0xaecfdd from'./uploadcareimageeditformeditingview.js';import _0x3878c1 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x3878c1{[_0x10cb38(0x1ef)];[_0x10cb38(0x202)];[_0x10cb38(0x222)];[_0x10cb38(0x203)];[_0x10cb38(0x220)];constructor(_0x389474,_0x4139d0,_0x4c8482){const _0x35ac17=_0x10cb38;super(_0x389474),this[_0x35ac17(0x1ef)]=this[_0x35ac17(0x215)](),this[_0x35ac17(0x202)]=new _0x3e6f92(_0x389474),this[_0x35ac17(0x222)]=new _0x169d5e(_0x389474),this[_0x35ac17(0x203)]=new _0xaecfdd(_0x389474,_0x4c8482),this[_0x35ac17(0x220)]=new _0x89f170(_0x389474),this[_0x35ac17(0x220)][_0x35ac17(0x211)](this[_0x35ac17(0x1f1)]()),this[_0x35ac17(0x20b)](_0x35ac17(0x214),_0x4139d0),this[_0x35ac17(0x211)]({'tag':_0x35ac17(0x1fe),'attributes':{'class':['ck',_0x35ac17(0x21d),_0x35ac17(0x1f0)],'tabindex':'-1'},'children':this[_0x35ac17(0x1ef)]}),this[_0x35ac17(0x1f9)](),this[_0x35ac17(0x1fc)](_0x35ac17(0x212),()=>{const _0x332a1e=_0x35ac17;this[_0x332a1e(0x201)](this[_0x332a1e(0x216)],_0x4edd8d=>{const _0xbeb88f=_0x332a1e;this[_0xbeb88f(0x20a)](_0x4edd8d);});}),this['on'](_0x35ac17(0x1ed),()=>{const _0x3cd9e8=_0x35ac17;this[_0x3cd9e8(0x1f9)]();}),this[_0x35ac17(0x221)]();}[_0x10cb38(0x1f2)](){const _0x54475f=_0x10cb38;this[_0x54475f(0x216)][_0x54475f(0x1f2)]();}[_0x10cb38(0x1f9)](){const _0x3a09a8=_0x10cb38;switch(this[_0x3a09a8(0x1ef)][_0x3a09a8(0x206)](),this[_0x3a09a8(0x214)]){case _0x3a09a8(0x209):this[_0x3a09a8(0x1ef)][_0x3a09a8(0x20e)](this[_0x3a09a8(0x202)]);break;case _0x3a09a8(0x1f6):this[_0x3a09a8(0x1ef)][_0x3a09a8(0x20e)](this[_0x3a09a8(0x222)]);break;case _0x3a09a8(0x20c):this[_0x3a09a8(0x1ef)][_0x3a09a8(0x208)]([this[_0x3a09a8(0x203)],this[_0x3a09a8(0x220)]]);}}[_0x10cb38(0x201)](_0x10576c,_0x25d305){const _0xda14bf=_0x10cb38,_0x200fa6=_0xda14bf(0x20f),_0x4fc7c1=_0x10576c[_0xda14bf(0x223)](_0x200fa6);if(_0x4fc7c1)return _0x25d305(_0x4fc7c1);const _0x45ebae=new MutationObserver(_0x3ac1d3=>{const _0x1c312d=_0xda14bf,_0x1bd8d8=_0x3ac1d3[_0x1c312d(0x207)](_0xaec64=>_0xaec64[_0x1c312d(0x1fd)]===_0x10576c&&_0xaec64[_0x1c312d(0x1f4)][_0x1c312d(0x205)]>0x0&&_0xaec64[_0x1c312d(0x1f4)][0x0][_0x1c312d(0x21a)][_0x1c312d(0x21c)]()===_0x200fa6);_0x1bd8d8[_0x1c312d(0x205)]&&(_0x45ebae[_0x1c312d(0x1ec)](),_0x25d305(_0x1bd8d8[0x0][_0x1c312d(0x1f4)][0x0]));});_0x45ebae[_0xda14bf(0x1fa)](_0x10576c,{'childList':!0x0,'subtree':!0x0});}[_0x10cb38(0x20a)](_0x1d8faf){const _0x8f694b=_0x10cb38;_0x1d8faf[_0x8f694b(0x20d)](_0x8f694b(0x1f5),_0x960353=>{const _0x3f553a=_0x8f694b;this[_0x3f553a(0x1fb)](_0x3f553a(0x1f5),{'imageSrc':_0x960353[_0x3f553a(0x1ee)][_0x3f553a(0x217)]});}),_0x1d8faf[_0x8f694b(0x20d)](_0x8f694b(0x1f8),()=>{const _0x1e3d11=_0x8f694b;this[_0x1e3d11(0x1fb)](_0x1e3d11(0x1f8));});}[_0x10cb38(0x221)](){const _0x3e48a0=_0x10cb38;this[_0x3e48a0(0x222)]['on'](_0x3e48a0(0x1f7),()=>{const _0xef6cd8=_0x3e48a0;this[_0xef6cd8(0x1fb)](_0xef6cd8(0x1f7));});}}
23
+ function _0x2fb4(){const _0x10e4e6=['1632573OoUEsk','ck-reset_all-excluded','set','length','uc-cloud-image-editor','addMany','ready','getFocusableElement','cancel','change:status','_addErrorViewListeners','detail','12408fyBYHe','add','status','cdnUrl','_focusableView','fire','804894LdrMnf','1212kWURsA','925VaXaWf','disconnect','retry','once','_errorView','apply','nodeName','uploading','querySelector','createCollection','_editingView','_items','3108504uKliHM','_loadingView','render','target','filter','addEventListener','_setView','ck-uploadcare-form','4610oEmfQS','8019zzhDGk','206148WWOjum','toLowerCase','4916ewzphz','element','24CmbiaW','error','clear','observe','setTemplate','focus','_addUploadcareImageEditorListeners','addedNodes','div','_waitForImageEditorComponent'];_0x2fb4=function(){return _0x10e4e6;};return _0x2fb4();}const _0x3a6e19=_0x54d7;(function(_0x32a644,_0x2a7ed6){const _0x4709e4=_0x54d7,_0xe8ed9f=_0x32a644();while(!![]){try{const _0x1b140f=parseInt(_0x4709e4(0xd4))/0x1+-parseInt(_0x4709e4(0xb4))/0x2+-parseInt(_0x4709e4(0xd5))/0x3*(parseInt(_0x4709e4(0xb6))/0x4)+parseInt(_0x4709e4(0xd6))/0x5*(-parseInt(_0x4709e4(0xce))/0x6)+parseInt(_0x4709e4(0xaa))/0x7+-parseInt(_0x4709e4(0xb8))/0x8*(-parseInt(_0x4709e4(0xc2))/0x9)+-parseInt(_0x4709e4(0xb2))/0xa*(parseInt(_0x4709e4(0xb3))/0xb);if(_0x1b140f===_0x2a7ed6)break;else _0xe8ed9f['push'](_0xe8ed9f['shift']());}catch(_0x20cf12){_0xe8ed9f['push'](_0xe8ed9f['shift']());}}}(_0x2fb4,0x73f26));import{View as _0x34c931}from'ckeditor5/src/ui.js';import _0x37176b from'./uploadcareimageeditformloadingview.js';import _0x3fefca from'./uploadcareimageeditformerrorview.js';import _0x1aa181 from'./uploadcareimageeditformeditingview.js';function _0x54d7(_0x3c1642,_0x3d79d4){const _0x2fb48d=_0x2fb4();return _0x54d7=function(_0x54d7f7,_0x7a756d){_0x54d7f7=_0x54d7f7-0xa6;let _0x191d08=_0x2fb48d[_0x54d7f7];return _0x191d08;},_0x54d7(_0x3c1642,_0x3d79d4);}import _0x32b40b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x32b40b{[_0x3a6e19(0xa9)];[_0x3a6e19(0xab)];[_0x3a6e19(0xda)];[_0x3a6e19(0xa8)];[_0x3a6e19(0xd2)];constructor(_0x5bd73e,_0x4ceeb1,_0x5ac7c0){const _0x126f46=_0x3a6e19;super(_0x5bd73e),this[_0x126f46(0xa9)]=this[_0x126f46(0xa7)](),this[_0x126f46(0xab)]=new _0x37176b(_0x5bd73e),this[_0x126f46(0xda)]=new _0x3fefca(_0x5bd73e),this[_0x126f46(0xa8)]=new _0x1aa181(_0x5bd73e,_0x5ac7c0),this[_0x126f46(0xd2)]=new _0x34c931(_0x5bd73e),this[_0x126f46(0xd2)][_0x126f46(0xbc)](this[_0x126f46(0xc9)]()),this[_0x126f46(0xc4)](_0x126f46(0xd0),_0x4ceeb1),this[_0x126f46(0xbc)]({'tag':_0x126f46(0xc0),'attributes':{'class':['ck',_0x126f46(0xc3),_0x126f46(0xb1)],'tabindex':'-1'},'children':this[_0x126f46(0xa9)]}),this[_0x126f46(0xb0)](),this[_0x126f46(0xd9)](_0x126f46(0xac),()=>{const _0x4a09ef=_0x126f46;this[_0x4a09ef(0xc1)](this[_0x4a09ef(0xb7)],_0x5637b5=>{const _0x2ba0de=_0x4a09ef;this[_0x2ba0de(0xbe)](_0x5637b5);});}),this['on'](_0x126f46(0xcb),()=>{const _0x4ece63=_0x126f46;this[_0x4ece63(0xb0)]();}),this[_0x126f46(0xcc)]();}[_0x3a6e19(0xbd)](){const _0x49272c=_0x3a6e19;this[_0x49272c(0xb7)][_0x49272c(0xbd)]();}[_0x3a6e19(0xb0)](){const _0x2976e6=_0x3a6e19;switch(this[_0x2976e6(0xa9)][_0x2976e6(0xba)](),this[_0x2976e6(0xd0)]){case _0x2976e6(0xdd):this[_0x2976e6(0xa9)][_0x2976e6(0xcf)](this[_0x2976e6(0xab)]);break;case _0x2976e6(0xb9):this[_0x2976e6(0xa9)][_0x2976e6(0xcf)](this[_0x2976e6(0xda)]);break;case _0x2976e6(0xc8):this[_0x2976e6(0xa9)][_0x2976e6(0xc7)]([this[_0x2976e6(0xa8)],this[_0x2976e6(0xd2)]]);}}[_0x3a6e19(0xc1)](_0x37a1ea,_0x4c392a){const _0x33fe89=_0x3a6e19,_0x4aad2c=_0x33fe89(0xc6),_0x29d1e3=_0x37a1ea[_0x33fe89(0xa6)](_0x4aad2c);if(_0x29d1e3)return _0x4c392a(_0x29d1e3);const _0x25596c=new MutationObserver(_0x266b32=>{const _0x33fc87=_0x33fe89,_0x52adea=_0x266b32[_0x33fc87(0xae)](_0xa64e57=>_0xa64e57[_0x33fc87(0xad)]===_0x37a1ea&&_0xa64e57[_0x33fc87(0xbf)][_0x33fc87(0xc5)]>0x0&&_0xa64e57[_0x33fc87(0xbf)][0x0][_0x33fc87(0xdc)][_0x33fc87(0xb5)]()===_0x4aad2c);_0x52adea[_0x33fc87(0xc5)]&&(_0x25596c[_0x33fc87(0xd7)](),_0x4c392a(_0x52adea[0x0][_0x33fc87(0xbf)][0x0]));});_0x25596c[_0x33fe89(0xbb)](_0x37a1ea,{'childList':!0x0,'subtree':!0x0});}[_0x3a6e19(0xbe)](_0x3eca80){const _0x4d38f2=_0x3a6e19;_0x3eca80[_0x4d38f2(0xaf)](_0x4d38f2(0xdb),_0x1dd0e5=>{const _0x15e0ae=_0x4d38f2;this[_0x15e0ae(0xd3)](_0x15e0ae(0xdb),{'imageSrc':_0x1dd0e5[_0x15e0ae(0xcd)][_0x15e0ae(0xd1)]});}),_0x3eca80[_0x4d38f2(0xaf)](_0x4d38f2(0xca),()=>{const _0x145591=_0x4d38f2;this[_0x145591(0xd3)](_0x145591(0xca));});}[_0x3a6e19(0xcc)](){const _0x34cc17=_0x3a6e19;this[_0x34cc17(0xda)]['on'](_0x34cc17(0xd8),()=>{const _0x2bf925=_0x34cc17;this[_0x2bf925(0xd3)](_0x2bf925(0xd8));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e8ac8=_0x1f68;(function(_0x100994,_0x1cad35){const _0x747fc3=_0x1f68,_0x3e9ae9=_0x100994();while(!![]){try{const _0x3ba32f=-parseInt(_0x747fc3(0xca))/0x1+parseInt(_0x747fc3(0xcc))/0x2+parseInt(_0x747fc3(0xd5))/0x3*(parseInt(_0x747fc3(0xc9))/0x4)+parseInt(_0x747fc3(0xc5))/0x5*(-parseInt(_0x747fc3(0xd4))/0x6)+-parseInt(_0x747fc3(0xbf))/0x7*(-parseInt(_0x747fc3(0xbc))/0x8)+parseInt(_0x747fc3(0xcf))/0x9*(-parseInt(_0x747fc3(0xc8))/0xa)+parseInt(_0x747fc3(0xbd))/0xb;if(_0x3ba32f===_0x1cad35)break;else _0x3e9ae9['push'](_0x3e9ae9['shift']());}catch(_0x71954e){_0x3e9ae9['push'](_0x3e9ae9['shift']());}}}(_0x550e,0x4838c));import{Command as _0x120083}from'ckeditor5/src/core.js';import{Dialog as _0x17aa68}from'ckeditor5/src/ui.js';function _0x550e(){const _0x1fea83=['model','plugins','element','411835mNdulm','unbind','isActive','950vSIlms','206368KBeSrt','388112ZmBgLk','imageBlock','41626rAymiC','isEnabled','refresh','29061MuFNuC','requires','uploadcare.allowExternalImagesEditing','_isEditable','imageEditController','36BlMrNk','24DLJRTG','bind','imageInline','set','selection','editor','getSelectedElement','document','944qaDOFV','5220116LzEUun','execute','34216zOGFPH','get','config'];_0x550e=function(){return _0x1fea83;};return _0x550e();}import _0x114707 from'./ui/uploadcareimageeditcontroller.js';function _0x1f68(_0x1fb6ca,_0x1bcbe7){const _0x550e54=_0x550e();return _0x1f68=function(_0x1f688d,_0x36d6ff){_0x1f688d=_0x1f688d-0xbc;let _0x260043=_0x550e54[_0x1f688d];return _0x260043;},_0x1f68(_0x1fb6ca,_0x1bcbe7);}import{createEditabilityChecker as _0x44b87d}from'../utils/editingutils.js';export default class z extends _0x120083{[_0x3e8ac8(0xd3)];static get[_0x3e8ac8(0xd0)](){return[_0x17aa68];}[_0x3e8ac8(0xd2)];constructor(_0x7fe2f6){const _0x4c95bb=_0x3e8ac8;super(_0x7fe2f6),this[_0x4c95bb(0xd3)]=void 0x0,this[_0x4c95bb(0xd2)]=_0x44b87d(_0x7fe2f6[_0x4c95bb(0xc1)][_0x4c95bb(0xc0)](_0x4c95bb(0xd1))||[]),this[_0x4c95bb(0xd8)]({'isActive':!0x1});}[_0x3e8ac8(0xce)](){const _0x2d0770=_0x3e8ac8,_0x5da7ce=this[_0x2d0770(0xda)][_0x2d0770(0xc2)][_0x2d0770(0xdc)][_0x2d0770(0xd9)][_0x2d0770(0xdb)]();this[_0x2d0770(0xcd)]=this[_0x2d0770(0xd2)](_0x5da7ce);}[_0x3e8ac8(0xbe)](){const _0x31900d=_0x3e8ac8;this[_0x31900d(0xd3)]&&(this[_0x31900d(0xc6)](_0x31900d(0xc7)),this[_0x31900d(0xd3)]=void 0x0);const _0x2a6360=this[_0x31900d(0xda)][_0x31900d(0xc2)][_0x31900d(0xdc)][_0x31900d(0xd9)][_0x31900d(0xdb)]();_0x2a6360&&(_0x2a6360['is'](_0x31900d(0xc4),_0x31900d(0xcb))||_0x2a6360['is'](_0x31900d(0xc4),_0x31900d(0xd7)))&&(this[_0x31900d(0xd3)]=new _0x114707(this[_0x31900d(0xda)],this[_0x31900d(0xda)][_0x31900d(0xc3)][_0x31900d(0xc0)](_0x17aa68),_0x2a6360),this[_0x31900d(0xd6)](_0x31900d(0xc7))['to'](this[_0x31900d(0xd3)],_0x31900d(0xc7)));}}
23
+ const _0x4a21a6=_0xd6c4;(function(_0x1d8e65,_0x5495c9){const _0x13a676=_0xd6c4,_0x1dd19f=_0x1d8e65();while(!![]){try{const _0x4ea942=parseInt(_0x13a676(0x14c))/0x1*(parseInt(_0x13a676(0x159))/0x2)+parseInt(_0x13a676(0x156))/0x3*(-parseInt(_0x13a676(0x14a))/0x4)+parseInt(_0x13a676(0x157))/0x5+parseInt(_0x13a676(0x15c))/0x6+parseInt(_0x13a676(0x150))/0x7+-parseInt(_0x13a676(0x14b))/0x8+-parseInt(_0x13a676(0x149))/0x9;if(_0x4ea942===_0x5495c9)break;else _0x1dd19f['push'](_0x1dd19f['shift']());}catch(_0x379bc1){_0x1dd19f['push'](_0x1dd19f['shift']());}}}(_0x2ac8,0x1ebc2));function _0xd6c4(_0x3ce098,_0x292e93){const _0x2ac860=_0x2ac8();return _0xd6c4=function(_0xd6c403,_0x4c485a){_0xd6c403=_0xd6c403-0x144;let _0x269cb=_0x2ac860[_0xd6c403];return _0x269cb;},_0xd6c4(_0x3ce098,_0x292e93);}import{Command as _0x4832d6}from'ckeditor5/src/core.js';function _0x2ac8(){const _0x29585a=['1148155sRQpNX','imageEditController','2FXBGfw','document','_isEditable','673152rNEufc','isActive','selection','isEnabled','get','refresh','editor','uploadcare.allowExternalImagesEditing','unbind','execute','getSelectedElement','model','1378503ZtltlI','2092FARYZV','1948576pTEHNo','185366cMNobh','set','imageInline','element','1436141wVkaDw','plugins','requires','bind','imageBlock','config','1203iSDdiw'];_0x2ac8=function(){return _0x29585a;};return _0x2ac8();}import{Dialog as _0x3352e7}from'ckeditor5/src/ui.js';import _0x54bc75 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x206377}from'../utils/editingutils.js';export default class V extends _0x4832d6{[_0x4a21a6(0x158)];static get[_0x4a21a6(0x152)](){return[_0x3352e7];}[_0x4a21a6(0x15b)];constructor(_0x42c780){const _0x3f40ed=_0x4a21a6;super(_0x42c780),this[_0x3f40ed(0x158)]=void 0x0,this[_0x3f40ed(0x15b)]=_0x206377(_0x42c780[_0x3f40ed(0x155)][_0x3f40ed(0x160)](_0x3f40ed(0x144))||[]),this[_0x3f40ed(0x14d)]({'isActive':!0x1});}[_0x4a21a6(0x161)](){const _0x59a6e4=_0x4a21a6,_0xe6283d=this[_0x59a6e4(0x162)][_0x59a6e4(0x148)][_0x59a6e4(0x15a)][_0x59a6e4(0x15e)][_0x59a6e4(0x147)]();this[_0x59a6e4(0x15f)]=this[_0x59a6e4(0x15b)](_0xe6283d);}[_0x4a21a6(0x146)](){const _0x3bc4de=_0x4a21a6;this[_0x3bc4de(0x158)]&&(this[_0x3bc4de(0x145)](_0x3bc4de(0x15d)),this[_0x3bc4de(0x158)]=void 0x0);const _0x2ad963=this[_0x3bc4de(0x162)][_0x3bc4de(0x148)][_0x3bc4de(0x15a)][_0x3bc4de(0x15e)][_0x3bc4de(0x147)]();_0x2ad963&&(_0x2ad963['is'](_0x3bc4de(0x14f),_0x3bc4de(0x154))||_0x2ad963['is'](_0x3bc4de(0x14f),_0x3bc4de(0x14e)))&&(this[_0x3bc4de(0x158)]=new _0x54bc75(this[_0x3bc4de(0x162)],this[_0x3bc4de(0x162)][_0x3bc4de(0x151)][_0x3bc4de(0x160)](_0x3352e7),_0x2ad963),this[_0x3bc4de(0x153)](_0x3bc4de(0x15d))['to'](this[_0x3bc4de(0x158)],_0x3bc4de(0x15d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a1903=_0x29f4;(function(_0x13807b,_0x354fbe){const _0x3e3f06=_0x29f4,_0x29ac23=_0x13807b();while(!![]){try{const _0x5a1301=-parseInt(_0x3e3f06(0x12e))/0x1*(parseInt(_0x3e3f06(0x126))/0x2)+-parseInt(_0x3e3f06(0x129))/0x3*(-parseInt(_0x3e3f06(0x11f))/0x4)+parseInt(_0x3e3f06(0x11b))/0x5+parseInt(_0x3e3f06(0x125))/0x6*(parseInt(_0x3e3f06(0x120))/0x7)+-parseInt(_0x3e3f06(0x11c))/0x8*(-parseInt(_0x3e3f06(0x131))/0x9)+-parseInt(_0x3e3f06(0x122))/0xa+parseInt(_0x3e3f06(0x124))/0xb*(-parseInt(_0x3e3f06(0x12b))/0xc);if(_0x5a1301===_0x354fbe)break;else _0x29ac23['push'](_0x29ac23['shift']());}catch(_0xd9f6e7){_0x29ac23['push'](_0x29ac23['shift']());}}}(_0x4de7,0xb1083));import{Plugin as _0x524cb5}from'ckeditor5/src/core.js';function _0x4de7(){const _0x177bb9=['commands','pluginName','2127JwYUBY','uploadcareImageReplace','180Kgcvxu','ImageUtils','isPremiumPlugin','7qNFRDS','uploadcareImageEdit','init','150237gpZVdU','add','5546895XXkait','104XeIAwW','requires','isOfficialPlugin','2792WnhQON','42IhvMbi','ImageEditing','494740XfWJtz','UploadcareImageEditEditing','1775741fTdSvk','1393230PnKWYG','5268EWTozd'];_0x4de7=function(){return _0x177bb9;};return _0x4de7();}import{Notification as _0x3c8c9c}from'ckeditor5/src/ui.js';function _0x29f4(_0x10ad88,_0x5535db){const _0x4de78d=_0x4de7();return _0x29f4=function(_0x29f4eb,_0x338128){_0x29f4eb=_0x29f4eb-0x11a;let _0xbf3460=_0x4de78d[_0x29f4eb];return _0xbf3460;},_0x29f4(_0x10ad88,_0x5535db);}import _0x11da2e from'./uploadcareimageeditcommand.js';import _0x321cde from'./uploadcareimagereplacecommand.js';import _0x5d00e0 from'../uploadcareediting.js';export default class g extends _0x524cb5{static get[_0x3a1903(0x128)](){const _0x40cf03=_0x3a1903;return _0x40cf03(0x123);}static get[_0x3a1903(0x11d)](){const _0x5d5bb2=_0x3a1903;return[_0x5d00e0,_0x3c8c9c,_0x5d5bb2(0x12c),_0x5d5bb2(0x121)];}static get[_0x3a1903(0x11e)](){return!0x0;}static get[_0x3a1903(0x12d)](){return!0x0;}[_0x3a1903(0x130)](){const _0x220c6d=_0x3a1903,{editor:_0x28ad98}=this;_0x28ad98[_0x220c6d(0x127)][_0x220c6d(0x11a)](_0x220c6d(0x12f),new _0x11da2e(_0x28ad98)),_0x28ad98[_0x220c6d(0x127)][_0x220c6d(0x11a)](_0x220c6d(0x12a),new _0x321cde(_0x28ad98));}}
23
+ const _0x31f893=_0x5b07;(function(_0x4ca086,_0x428667){const _0x18436d=_0x5b07,_0x288d4a=_0x4ca086();while(!![]){try{const _0x443589=parseInt(_0x18436d(0x138))/0x1*(-parseInt(_0x18436d(0x128))/0x2)+-parseInt(_0x18436d(0x12e))/0x3*(parseInt(_0x18436d(0x133))/0x4)+parseInt(_0x18436d(0x13e))/0x5*(-parseInt(_0x18436d(0x13d))/0x6)+parseInt(_0x18436d(0x132))/0x7*(parseInt(_0x18436d(0x134))/0x8)+-parseInt(_0x18436d(0x12d))/0x9*(parseInt(_0x18436d(0x131))/0xa)+parseInt(_0x18436d(0x139))/0xb+parseInt(_0x18436d(0x13b))/0xc;if(_0x443589===_0x428667)break;else _0x288d4a['push'](_0x288d4a['shift']());}catch(_0x29a245){_0x288d4a['push'](_0x288d4a['shift']());}}}(_0x2e9e,0x455f1));import{Plugin as _0x5c7018}from'ckeditor5/src/core.js';function _0x2e9e(){const _0x497666=['1371007PmnXBK','requires','10075116vSfkkG','uploadcareImageEdit','1458690RDEoEF','5IdgwMw','add','4xGlRVC','ImageEditing','commands','isPremiumPlugin','UploadcareImageEditEditing','9IJkTvA','166572RwflYb','init','uploadcareImageReplace','1619900MvsNPD','98SGgcXs','32VWzfwH','129784VQQJWm','ImageUtils','pluginName','isOfficialPlugin','28955AlCrsk'];_0x2e9e=function(){return _0x497666;};return _0x2e9e();}import{Notification as _0x52ea5d}from'ckeditor5/src/ui.js';import _0x2183e7 from'./uploadcareimageeditcommand.js';import _0x1f6436 from'./uploadcareimagereplacecommand.js';import _0x31b7ec from'../uploadcareediting.js';function _0x5b07(_0x23944d,_0x1c3b1e){const _0x2e9edc=_0x2e9e();return _0x5b07=function(_0x5b077d,_0x3e14d7){_0x5b077d=_0x5b077d-0x128;let _0x3172bd=_0x2e9edc[_0x5b077d];return _0x3172bd;},_0x5b07(_0x23944d,_0x1c3b1e);}export default class g extends _0x5c7018{static get[_0x31f893(0x136)](){const _0x4ef463=_0x31f893;return _0x4ef463(0x12c);}static get[_0x31f893(0x13a)](){const _0x537df6=_0x31f893;return[_0x31b7ec,_0x52ea5d,_0x537df6(0x135),_0x537df6(0x129)];}static get[_0x31f893(0x137)](){return!0x0;}static get[_0x31f893(0x12b)](){return!0x0;}[_0x31f893(0x12f)](){const _0x3569d6=_0x31f893,{editor:_0x18fe62}=this;_0x18fe62[_0x3569d6(0x12a)][_0x3569d6(0x13f)](_0x3569d6(0x13c),new _0x2183e7(_0x18fe62)),_0x18fe62[_0x3569d6(0x12a)][_0x3569d6(0x13f)](_0x3569d6(0x130),new _0x1f6436(_0x18fe62));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x255ca0}from'ckeditor5/src/core.js';import{ButtonView as _0x346cc4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x523041}from'ckeditor5/src/icons.js';import{createElement as _0x3657a8}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x255ca0{['_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 _0x2cc77d=this['editor'];_0x2cc77d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x41b4d1=>{const _0x5a794c=_0x2cc77d['commands']['get']('uploadcareImageEdit'),_0x35488f=new _0x346cc4(_0x41b4d1),t=_0x41b4d1['t'];return _0x35488f['set']({'icon':_0x523041,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x35488f['bind']('isEnabled')['to'](_0x5a794c),_0x35488f['bind']('isOn')['to'](_0x5a794c,'isActive'),this['listenTo'](_0x35488f,'execute',()=>{_0x2cc77d['execute']('uploadcareImageEdit'),_0x2cc77d['editing']['view']['focus']();}),_0x35488f;}),this['_initConfig']();}['_initConfig'](){const _0x32dd54=_0x3657a8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x32dd54),this['listenTo'](this['editor'],'destroy',()=>{_0x32dd54['remove']();});}}
23
+ import{Plugin as _0x5490b7}from'ckeditor5/src/core.js';import{ButtonView as _0xb18e78}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2c7d63}from'ckeditor5/src/icons.js';import{createElement as _0x2c6772}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x5490b7{['_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 _0x6aa093=this['editor'];_0x6aa093['ui']['componentFactory']['add']('uploadcareImageEdit',_0x385ce2=>{const _0x2b064f=_0x6aa093['commands']['get']('uploadcareImageEdit'),_0x7bde55=new _0xb18e78(_0x385ce2),t=_0x385ce2['t'];return _0x7bde55['set']({'icon':_0x2c7d63,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x7bde55['bind']('isEnabled')['to'](_0x2b064f),_0x7bde55['bind']('isOn')['to'](_0x2b064f,'isActive'),this['listenTo'](_0x7bde55,'execute',()=>{_0x6aa093['execute']('uploadcareImageEdit'),_0x6aa093['editing']['view']['focus']();}),_0x7bde55;}),this['_initConfig']();}['_initConfig'](){const _0x1621ad=_0x2c6772(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1621ad),this['listenTo'](this['editor'],'destroy',()=>{_0x1621ad['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43f188=_0x21c5;function _0x1d67(){const _0x2fb38c=['element','322jltJoB','change','removeAttribute','refresh','3TbHlRq','3913400aCwzzr','getSelectedElement','493416hgdjxG','153044xbgUPP','14960060LSKjps','156012SyiFdB','document','isEnabled','execute','3qTeeKQ','srcset','imageInline','149992FvfDMN','5630228pSPoqI','279WSLbdz','sizes','selection','model','897dmiAuV','imageBlock','editor','11GxYOCh','setAttributes'];_0x1d67=function(){return _0x2fb38c;};return _0x1d67();}(function(_0x41c318,_0x17f55b){const _0x430b91=_0x21c5,_0x9fc152=_0x41c318();while(!![]){try{const _0x394414=-parseInt(_0x430b91(0x1e4))/0x1*(parseInt(_0x430b91(0x1cb))/0x2)+parseInt(_0x430b91(0x1d1))/0x3*(parseInt(_0x430b91(0x1d5))/0x4)+-parseInt(_0x430b91(0x1c8))/0x5+-parseInt(_0x430b91(0x1cd))/0x6*(-parseInt(_0x430b91(0x1e0))/0x7)+-parseInt(_0x430b91(0x1d4))/0x8*(-parseInt(_0x430b91(0x1d6))/0x9)+parseInt(_0x430b91(0x1cc))/0xa*(parseInt(_0x430b91(0x1dd))/0xb)+parseInt(_0x430b91(0x1ca))/0xc*(-parseInt(_0x430b91(0x1da))/0xd);if(_0x394414===_0x17f55b)break;else _0x9fc152['push'](_0x9fc152['shift']());}catch(_0x579139){_0x9fc152['push'](_0x9fc152['shift']());}}}(_0x1d67,0xcaffe));function _0x21c5(_0x23498c,_0x207e76){const _0x1d6755=_0x1d67();return _0x21c5=function(_0x21c5c2,_0x187b2c){_0x21c5c2=_0x21c5c2-0x1c8;let _0x103967=_0x1d6755[_0x21c5c2];return _0x103967;},_0x21c5(_0x23498c,_0x207e76);}import{Command as _0x237455}from'ckeditor5/src/core.js';export default class O extends _0x237455{[_0x43f188(0x1e3)](){const _0x2f680f=_0x43f188,_0x14ee17=this[_0x2f680f(0x1dc)][_0x2f680f(0x1d9)][_0x2f680f(0x1ce)][_0x2f680f(0x1d8)][_0x2f680f(0x1c9)]();this[_0x2f680f(0x1cf)]=Boolean(_0x14ee17&&(_0x14ee17['is'](_0x2f680f(0x1df),_0x2f680f(0x1db))||_0x14ee17['is'](_0x2f680f(0x1df),_0x2f680f(0x1d3))));}[_0x43f188(0x1d0)](_0x515a58){const _0x805ca5=_0x43f188,_0x11fe78=this[_0x805ca5(0x1dc)][_0x805ca5(0x1d9)][_0x805ca5(0x1ce)][_0x805ca5(0x1d8)][_0x805ca5(0x1c9)]();this[_0x805ca5(0x1dc)][_0x805ca5(0x1d9)][_0x805ca5(0x1e1)](_0x1d8b53=>{const _0x257b1e=_0x805ca5;_0x1d8b53[_0x257b1e(0x1de)](_0x515a58,_0x11fe78),_0x1d8b53[_0x257b1e(0x1e2)](_0x257b1e(0x1d2),_0x11fe78),_0x1d8b53[_0x257b1e(0x1e2)](_0x257b1e(0x1d7),_0x11fe78);});}}
23
+ function _0x5398(){const _0x23112a=['21ACaYdH','model','removeAttribute','1785634arebfO','7068825RSqxQL','getSelectedElement','618Qsfcrq','srcset','imageBlock','2544cGLevC','selection','change','editor','188152hqRoAQ','16rdkKLm','29117NrOwSd','2bLXVDu','36126vAErVu','element','refresh','execute','16930xTuIGu','setAttributes','isEnabled','sizes','6910WHEHWT','34346pfWlEl','document','imageInline'];_0x5398=function(){return _0x23112a;};return _0x5398();}const _0xdba1ef=_0x3c38;function _0x3c38(_0x4182d1,_0x1b711c){const _0x5398cf=_0x5398();return _0x3c38=function(_0x3c3823,_0x4ba4c2){_0x3c3823=_0x3c3823-0x8a;let _0x530d2c=_0x5398cf[_0x3c3823];return _0x530d2c;},_0x3c38(_0x4182d1,_0x1b711c);}(function(_0x3e2dbd,_0x33214f){const _0x489df6=_0x3c38,_0xe2ea23=_0x3e2dbd();while(!![]){try{const _0x4697b2=-parseInt(_0x489df6(0xa6))/0x1*(parseInt(_0x489df6(0x99))/0x2)+-parseInt(_0x489df6(0x8a))/0x3*(parseInt(_0x489df6(0xa4))/0x4)+parseInt(_0x489df6(0x8e))/0x5*(-parseInt(_0x489df6(0x9c))/0x6)+parseInt(_0x489df6(0x96))/0x7*(-parseInt(_0x489df6(0xa3))/0x8)+parseInt(_0x489df6(0x9a))/0x9+-parseInt(_0x489df6(0x92))/0xa*(-parseInt(_0x489df6(0xa5))/0xb)+parseInt(_0x489df6(0x9f))/0xc*(parseInt(_0x489df6(0x93))/0xd);if(_0x4697b2===_0x33214f)break;else _0xe2ea23['push'](_0xe2ea23['shift']());}catch(_0x14d003){_0xe2ea23['push'](_0xe2ea23['shift']());}}}(_0x5398,0xe0f91));import{Command as _0x2d6ad3}from'ckeditor5/src/core.js';export default class X extends _0x2d6ad3{[_0xdba1ef(0x8c)](){const _0x5bb690=_0xdba1ef,_0x22f45a=this[_0x5bb690(0xa2)][_0x5bb690(0x97)][_0x5bb690(0x94)][_0x5bb690(0xa0)][_0x5bb690(0x9b)]();this[_0x5bb690(0x90)]=Boolean(_0x22f45a&&(_0x22f45a['is'](_0x5bb690(0x8b),_0x5bb690(0x9e))||_0x22f45a['is'](_0x5bb690(0x8b),_0x5bb690(0x95))));}[_0xdba1ef(0x8d)](_0x4764e0){const _0xa68b8d=_0xdba1ef,_0x3f946b=this[_0xa68b8d(0xa2)][_0xa68b8d(0x97)][_0xa68b8d(0x94)][_0xa68b8d(0xa0)][_0xa68b8d(0x9b)]();this[_0xa68b8d(0xa2)][_0xa68b8d(0x97)][_0xa68b8d(0xa1)](_0x378859=>{const _0x47f753=_0xa68b8d;_0x378859[_0x47f753(0x8f)](_0x4764e0,_0x3f946b),_0x378859[_0x47f753(0x98)](_0x47f753(0x9d),_0x3f946b),_0x378859[_0x47f753(0x98)](_0x47f753(0x91),_0x3f946b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x735c75=_0x5423;(function(_0x58028e,_0x4c8da7){var _0x35f3b6=_0x5423,_0x2fcdc8=_0x58028e();while(!![]){try{var _0x4144a3=-parseInt(_0x35f3b6(0x158))/0x1+-parseInt(_0x35f3b6(0x161))/0x2*(parseInt(_0x35f3b6(0x162))/0x3)+-parseInt(_0x35f3b6(0x156))/0x4*(parseInt(_0x35f3b6(0x160))/0x5)+parseInt(_0x35f3b6(0x159))/0x6+-parseInt(_0x35f3b6(0x15a))/0x7+-parseInt(_0x35f3b6(0x163))/0x8*(parseInt(_0x35f3b6(0x15f))/0x9)+parseInt(_0x35f3b6(0x15b))/0xa*(parseInt(_0x35f3b6(0x15c))/0xb);if(_0x4144a3===_0x4c8da7)break;else _0x2fcdc8['push'](_0x2fcdc8['shift']());}catch(_0x25f3a0){_0x2fcdc8['push'](_0x2fcdc8['shift']());}}}(_0x14b2,0x46412));function _0x14b2(){var _0x23b46a=['481989lowvQT','1788624ZlPjvD','3122392CReDXe','17048530IzMWBH','11vDsRHa','isPremiumPlugin','UploadcareImageEdit','9LTGyVp','1658115SowhFo','716aspfkz','1734oLHZQE','1988824aNmoym','requires','isOfficialPlugin','4qzQXCE','pluginName'];_0x14b2=function(){return _0x23b46a;};return _0x14b2();}function _0x5423(_0x3c6253,_0x2b95e3){var _0x14b2d9=_0x14b2();return _0x5423=function(_0x5423e0,_0xe6f36c){_0x5423e0=_0x5423e0-0x155;var _0x50a5d9=_0x14b2d9[_0x5423e0];return _0x50a5d9;},_0x5423(_0x3c6253,_0x2b95e3);}import{Plugin as _0xfd98fd}from'ckeditor5/src/core.js';import _0x5564c2 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x26b650 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xfd98fd{static get[_0x735c75(0x157)](){var _0x41af72=_0x735c75;return _0x41af72(0x15e);}static get[_0x735c75(0x164)](){return[_0x5564c2,_0x26b650];}static get[_0x735c75(0x155)](){return!0x0;}static get[_0x735c75(0x15d)](){return!0x0;}}
23
+ var _0x44223c=_0x1572;(function(_0x5f2f37,_0x4ed060){var _0x2f03d8=_0x1572,_0x40b423=_0x5f2f37();while(!![]){try{var _0x314ec7=-parseInt(_0x2f03d8(0x149))/0x1+-parseInt(_0x2f03d8(0x14e))/0x2*(-parseInt(_0x2f03d8(0x147))/0x3)+-parseInt(_0x2f03d8(0x148))/0x4+-parseInt(_0x2f03d8(0x150))/0x5*(-parseInt(_0x2f03d8(0x154))/0x6)+-parseInt(_0x2f03d8(0x14b))/0x7+parseInt(_0x2f03d8(0x14c))/0x8+parseInt(_0x2f03d8(0x152))/0x9;if(_0x314ec7===_0x4ed060)break;else _0x40b423['push'](_0x40b423['shift']());}catch(_0x41b5c3){_0x40b423['push'](_0x40b423['shift']());}}}(_0x2193,0x7b5b3));import{Plugin as _0x4b3ff3}from'ckeditor5/src/core.js';function _0x2193(){var _0x34394a=['isOfficialPlugin','756804GUysUB','requires','685520QHpnHc','pluginName','12178935VRQFHd','UploadcareImageEdit','6NhJcwW','3JjiIOJ','2032120QhPGPN','548562MjsLri','isPremiumPlugin','3868221PvUnqL','1965928nvJNlW'];_0x2193=function(){return _0x34394a;};return _0x2193();}import _0x1ca6f3 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x161e74 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1572(_0x16158e,_0x3431c2){var _0x2193d3=_0x2193();return _0x1572=function(_0x15722f,_0x19082b){_0x15722f=_0x15722f-0x147;var _0x2d6819=_0x2193d3[_0x15722f];return _0x2d6819;},_0x1572(_0x16158e,_0x3431c2);}export default class P extends _0x4b3ff3{static get[_0x44223c(0x151)](){var _0x535230=_0x44223c;return _0x535230(0x153);}static get[_0x44223c(0x14f)](){return[_0x1ca6f3,_0x161e74];}static get[_0x44223c(0x14d)](){return!0x0;}static get[_0x44223c(0x14a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ae07b=_0x5f2a;(function(_0x3c0ab0,_0x52f05c){const _0x34eec9=_0x5f2a,_0x22dc36=_0x3c0ab0();while(!![]){try{const _0x1f1ef9=parseInt(_0x34eec9(0x139))/0x1+-parseInt(_0x34eec9(0x124))/0x2+-parseInt(_0x34eec9(0x115))/0x3+-parseInt(_0x34eec9(0x146))/0x4*(parseInt(_0x34eec9(0x130))/0x5)+-parseInt(_0x34eec9(0x117))/0x6+parseInt(_0x34eec9(0x134))/0x7*(-parseInt(_0x34eec9(0x103))/0x8)+parseInt(_0x34eec9(0x13f))/0x9*(parseInt(_0x34eec9(0xf9))/0xa);if(_0x1f1ef9===_0x52f05c)break;else _0x22dc36['push'](_0x22dc36['shift']());}catch(_0x4995f1){_0x22dc36['push'](_0x22dc36['shift']());}}}(_0x22b6,0xef0a5));import{Plugin as _0x542d04}from'ckeditor5/src/core.js';import{IconDropbox as _0x4e23ad,IconFacebook as _0x595079,IconGoogleDrive as _0x26a442,IconGooglePhotos as _0xf6cfa4,IconUploadcareImageUpload as _0x225db2,IconUploadcareLink as _0x373416,IconOneDrive as _0x286d81}from'ckeditor5/src/icons.js';import{ButtonView as _0x4db876,MenuBarMenuListItemButtonView as _0x5e0f28}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x58dc6a}from'./uploadcareconfig.js';import{getTranslation as _0x3377bf}from'./utils/common-translations.js';function _0x22b6(){const _0x4d972b=['url','OneDrive','trialLimit','1235588SYudXs','Facebook','Insert','execute','_createDropdownButtons','plugins','isOfficialPlugin','UploadcareUI','Uploadcare','_createToolbarButton','_createButton','uploadcareLicenseKeyTrialLimit','10rWvGWP','GPhotos','push','assetManager','1506743WTtgfi','editor','entries','_licenseKeyCheckInterval','_createMenuBarButtons','165357iArjCt','pluginName','uploadcareLicenseKeyNotAllowed','isEnabled','uploadcareLicenseKeyExpired','config','35586SbQqnl','reduce','withText','shortText','get','type','tooltip','793876GgaLYE','uploadcareLicenseKeyEvaluationLimit','label','destroy','10540bUmQGK','_normalizeConfigSourceList','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyValid','URL','upload','isPremiumPlugin','commands','icon','licenseKey','56laWyWX','Local','_getIntegrationKey','map','featureNotAllowed','forEach','uploadcare.uploader.sourceList','expired','afterInit','locale','uploadcareLicenseKeyInvalid','domainLimit','evaluationLimit','registerIntegration','usageLimit','_showLicenseError','Dropbox','ImageInsertUI','934737HFCjfZ','init','3124260dTlYbs','uploadcareLicenseKeyUsageLimit','text','uploadcare','Replace','bind','isImageSelected','GDrive','invalid','has'];_0x22b6=function(){return _0x4d972b;};return _0x22b6();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5f2a(_0x2e025a,_0x12e33c){const _0x22b695=_0x22b6();return _0x5f2a=function(_0x5f2a05,_0x4c3a98){_0x5f2a05=_0x5f2a05-0xf8;let _0x592a1e=_0x22b695[_0x5f2a05];return _0x592a1e;},_0x5f2a(_0x2e025a,_0x12e33c);}import'../theme/uploadcareimageedit.css';export default class e extends _0x542d04{[_0x1ae07b(0x102)];[_0x1ae07b(0x137)];static get[_0x1ae07b(0x13a)](){const _0x25ebc9=_0x1ae07b;return _0x25ebc9(0x12b);}static get[_0x1ae07b(0x12a)](){return!0x0;}static get[_0x1ae07b(0xff)](){return!0x0;}[_0x1ae07b(0x116)](){const _0x563d19=_0x1ae07b;this[_0x563d19(0x102)]=this[_0x563d19(0x135)][_0x563d19(0x13e)][_0x563d19(0x143)](_0x563d19(0x102));const _0x394365=this[_0x563d19(0x135)];this[_0x563d19(0x137)]=setInterval(()=>{const _0x43150=_0x563d19;let _0x4956f4;for(const _0x17e4c6 in _0x394365){const _0x752573=_0x17e4c6,_0x1182ae=_0x394365[_0x752573];if(_0x43150(0xfc)==_0x1182ae||_0x43150(0x10d)==_0x1182ae||_0x43150(0x13d)==_0x1182ae||_0x43150(0xfb)==_0x1182ae||_0x43150(0x13b)==_0x1182ae||_0x43150(0x147)==_0x1182ae||_0x43150(0x12f)==_0x1182ae||_0x43150(0x118)==_0x1182ae){delete _0x394365[_0x752573],_0x4956f4=_0x1182ae,clearInterval(this[_0x43150(0x137)]),this[_0x43150(0x137)]=void 0x0;break;}}_0x43150(0x10d)==_0x4956f4&&_0x394365[_0x43150(0x112)](_0x43150(0x11f)),_0x43150(0x13d)==_0x4956f4&&_0x394365[_0x43150(0x112)](_0x43150(0x10a)),_0x43150(0xfb)==_0x4956f4&&_0x394365[_0x43150(0x112)](_0x43150(0x10e)),_0x43150(0x13b)==_0x4956f4&&_0x394365[_0x43150(0x112)](_0x43150(0x107),_0x43150(0x12c)),_0x43150(0x147)==_0x4956f4&&_0x394365[_0x43150(0x112)](_0x43150(0x10f)),_0x43150(0x12f)==_0x4956f4&&_0x394365[_0x43150(0x112)](_0x43150(0x123)),_0x43150(0x118)==_0x4956f4&&_0x394365[_0x43150(0x112)](_0x43150(0x111));},0x3e8);}[_0x1ae07b(0x10b)](){const _0x1f2051=_0x1ae07b,{editor:_0x5086a1}=this,_0x451131=_0x5086a1[_0x1f2051(0x100)][_0x1f2051(0x143)](_0x1f2051(0x11a));if(!_0x451131)return;const _0x3609b4=this[_0x1f2051(0xfa)](_0x5086a1[_0x1f2051(0x13e)][_0x1f2051(0x143)](_0x1f2051(0x109)))[_0x1f2051(0x140)]((_0x4da745,_0x2d53d7)=>{const _0xd5cdf8=_0x1f2051,_0x3412dc=this[_0xd5cdf8(0x105)](_0x2d53d7[_0xd5cdf8(0x144)]);return _0x4da745[_0x3412dc]||(_0x4da745[_0x3412dc]=[]),_0x4da745[_0x3412dc][_0xd5cdf8(0x132)](_0x2d53d7),_0x4da745;},{});_0x5086a1[_0x1f2051(0x129)][_0x1f2051(0x120)](_0x1f2051(0x114))&&_0x5086a1[_0x1f2051(0x100)][_0x1f2051(0x143)](_0x1f2051(0x11a))&&Object[_0x1f2051(0x136)](_0x3609b4)[_0x1f2051(0x108)](([_0xfffc48,_0x454490])=>{const _0x72dfa7=_0x1f2051;_0x5086a1[_0x72dfa7(0x129)][_0x72dfa7(0x143)](_0x72dfa7(0x114))[_0x72dfa7(0x110)]({'name':_0xfffc48,'observable':()=>_0x451131,'buttonViewCreator':()=>this[_0x72dfa7(0x12d)](_0x454490),'formViewCreator':()=>this[_0x72dfa7(0x128)](_0x454490),'menuBarButtonViewCreator':()=>this[_0x72dfa7(0x138)](_0x454490),'override':_0x72dfa7(0x133)!==_0xfffc48});});}[_0x1ae07b(0xf8)](){const _0x56a03c=_0x1ae07b;super[_0x56a03c(0xf8)](),this[_0x56a03c(0x137)]&&clearInterval(this[_0x56a03c(0x137)]);}[_0x1ae07b(0xfa)](_0x36e25c){const _0x187eab=_0x1ae07b,{locale:_0x4a4b7f}=this[_0x187eab(0x135)];return _0x36e25c[_0x187eab(0x106)](_0x353d58=>{const _0xe9b21=_0x187eab,_0x895d01=_0x3377bf(_0x4a4b7f,_0x353d58,_0xe9b21(0x126));switch(_0x353d58){case _0x58dc6a[_0xe9b21(0x104)]:return{'icon':_0x225db2,'type':_0x58dc6a[_0xe9b21(0x104)],..._0x895d01};case _0x58dc6a[_0xe9b21(0xfd)]:return{'icon':_0x373416,'type':_0x58dc6a[_0xe9b21(0xfd)],..._0x895d01};case _0x58dc6a[_0xe9b21(0x113)]:return{'icon':_0x4e23ad,'type':_0x58dc6a[_0xe9b21(0x113)],..._0x895d01};case _0x58dc6a[_0xe9b21(0x125)]:return{'icon':_0x595079,'type':_0x58dc6a[_0xe9b21(0x125)],..._0x895d01};case _0x58dc6a[_0xe9b21(0x11e)]:return{'icon':_0x26a442,'type':_0x58dc6a[_0xe9b21(0x11e)],..._0x895d01};case _0x58dc6a[_0xe9b21(0x131)]:return{'icon':_0xf6cfa4,'type':_0x58dc6a[_0xe9b21(0x131)],..._0x895d01};case _0x58dc6a[_0xe9b21(0x122)]:return{'icon':_0x286d81,'type':_0x58dc6a[_0xe9b21(0x122)],..._0x895d01};}});}[_0x1ae07b(0x105)](_0x1db925){const _0x1b5824=_0x1ae07b;switch(_0x1db925){case _0x58dc6a[_0x1b5824(0x104)]:return _0x1b5824(0xfe);case _0x58dc6a[_0x1b5824(0xfd)]:return _0x1b5824(0x121);default:return _0x1b5824(0x133);}}[_0x1ae07b(0x12e)](_0x4d2546,_0x4ba847){const _0x10a8a0=_0x1ae07b,_0x248501=this[_0x10a8a0(0x135)],_0x3f5914=new _0x4d2546(_0x248501[_0x10a8a0(0x10c)]),_0x35fd2b=_0x248501[_0x10a8a0(0x100)][_0x10a8a0(0x143)](_0x10a8a0(0x11a));return _0x3f5914[_0x10a8a0(0x11c)](_0x10a8a0(0x13c))['to'](_0x35fd2b),_0x3f5914['on'](_0x10a8a0(0x127),()=>{const _0x44579e=_0x10a8a0;_0x35fd2b[_0x44579e(0x127)](_0x4ba847);}),_0x3f5914;}[_0x1ae07b(0x12d)](_0x1d51a3){const _0x5a5e82=_0x1ae07b,{locale:_0x448c24}=this[_0x5a5e82(0x135)],_0x44269d=this[_0x5a5e82(0x135)][_0x5a5e82(0x129)][_0x5a5e82(0x143)](_0x5a5e82(0x114)),_0x59ba9b=_0x1d51a3[0x0],_0x3b7f48=this[_0x5a5e82(0x12e)](_0x4db876,_0x59ba9b[_0x5a5e82(0x144)]);return _0x3b7f48[_0x5a5e82(0x101)]=_0x59ba9b[_0x5a5e82(0x101)],_0x3b7f48[_0x5a5e82(0x11c)](_0x5a5e82(0x148))['to'](_0x44269d,_0x5a5e82(0x11d),_0x5de7fa=>_0x3377bf(_0x448c24,_0x59ba9b[_0x5a5e82(0x144)],_0x5de7fa?_0x5a5e82(0x11b):_0x5a5e82(0x126))[_0x5a5e82(0x119)]),_0x3b7f48[_0x5a5e82(0x145)]=!0x0,_0x3b7f48;}[_0x1ae07b(0x128)](_0x5eafe2){const _0x2ee12b=_0x1ae07b,{locale:_0x37a14d}=this[_0x2ee12b(0x135)],_0x53ddd9=this[_0x2ee12b(0x135)][_0x2ee12b(0x129)][_0x2ee12b(0x143)](_0x2ee12b(0x114));return _0x5eafe2[_0x2ee12b(0x106)](_0x334318=>{const _0x53bb38=_0x2ee12b,_0x265d44=this[_0x53bb38(0x12e)](_0x4db876,_0x334318[_0x53bb38(0x144)]);return _0x265d44[_0x53bb38(0x141)]=!0x0,_0x265d44[_0x53bb38(0x101)]=_0x334318[_0x53bb38(0x101)],_0x265d44[_0x53bb38(0x11c)](_0x53bb38(0x148))['to'](_0x53ddd9,_0x53bb38(0x11d),_0x2e4793=>_0x3377bf(_0x37a14d,_0x334318[_0x53bb38(0x144)],_0x2e4793?_0x53bb38(0x11b):_0x53bb38(0x126))[_0x53bb38(0x119)]),_0x265d44;});}[_0x1ae07b(0x138)](_0x55449d){const _0x109ff1=_0x1ae07b;return _0x55449d[_0x109ff1(0x106)](_0x174120=>{const _0x576232=_0x109ff1,_0x1adce6=this[_0x576232(0x12e)](_0x5e0f28,_0x174120[_0x576232(0x144)]);return _0x1adce6[_0x576232(0x101)]=_0x174120[_0x576232(0x101)],_0x1adce6[_0x576232(0x148)]=_0x174120[_0x576232(0x142)],_0x1adce6;});}}
23
+ function _0x5b8e(){const _0x262991=['trialLimit','581770HXxJGF','destroy','shortText','ImageInsertUI','_createDropdownButtons','2218960ctloAV','registerIntegration','isOfficialPlugin','430668DIMgiy','bind','afterInit','isImageSelected','upload','Replace','_createButton','uploadcareLicenseKeyTrialLimit','withText','uploadcare.uploader.sourceList','pluginName','evaluationLimit','Facebook','featureNotAllowed','3270HQFIoC','icon','uploadcareLicenseKeyValid','get','text','URL','tooltip','editor','commands','reduce','type','uploadcareLicenseKeyNotAllowed','assetManager','uploadcareLicenseKeyUsageLimit','Uploadcare','_createToolbarButton','GDrive','usageLimit','_createMenuBarButtons','plugins','forEach','Local','_licenseKeyCheckInterval','_getIntegrationKey','24354KjAtKg','init','execute','_showLicenseError','uploadcareLicenseKeyExpired','licenseKey','GPhotos','entries','UploadcareUI','invalid','_normalizeConfigSourceList','848732yXYTfW','push','uploadcareLicenseKeyInvalid','isPremiumPlugin','label','uploadcareLicenseKeyDomainLimit','Dropbox','OneDrive','config','4376oNLWsu','2443dsppYy','map','locale','311214aQfhVi','3AMMExw','url','Insert','expired','uploadcareLicenseKeyEvaluationLimit','uploadcare','has','isEnabled','domainLimit'];_0x5b8e=function(){return _0x262991;};return _0x5b8e();}const _0x3d6ebd=_0xdb7d;(function(_0x3ab73e,_0x1c509f){const _0x247e61=_0xdb7d,_0x4018bc=_0x3ab73e();while(!![]){try{const _0x34874a=parseInt(_0x247e61(0x1ed))/0x1+parseInt(_0x247e61(0x1e5))/0x2+-parseInt(_0x247e61(0x22c))/0x3*(parseInt(_0x247e61(0x21e))/0x4)+parseInt(_0x247e61(0x1ea))/0x5+parseInt(_0x247e61(0x22b))/0x6+-parseInt(_0x247e61(0x228))/0x7*(-parseInt(_0x247e61(0x227))/0x8)+parseInt(_0x247e61(0x213))/0x9*(-parseInt(_0x247e61(0x1fb))/0xa);if(_0x34874a===_0x1c509f)break;else _0x4018bc['push'](_0x4018bc['shift']());}catch(_0x7c5ccb){_0x4018bc['push'](_0x4018bc['shift']());}}}(_0x5b8e,0x4bf20));import{Plugin as _0x141115}from'ckeditor5/src/core.js';import{IconDropbox as _0x2d59a2,IconFacebook as _0x63f9dc,IconGoogleDrive as _0x483482,IconGooglePhotos as _0x429ce4,IconUploadcareImageUpload as _0x356351,IconUploadcareLink as _0x412380,IconOneDrive as _0x114974}from'ckeditor5/src/icons.js';import{ButtonView as _0x905955,MenuBarMenuListItemButtonView as _0x4b20c5}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x14a257}from'./uploadcareconfig.js';import{getTranslation as _0x53f036}from'./utils/common-translations.js';function _0xdb7d(_0x11b3b6,_0x3d5601){const _0x5b8e6a=_0x5b8e();return _0xdb7d=function(_0xdb7dce,_0x2a4fdc){_0xdb7dce=_0xdb7dce-0x1e4;let _0x3ca799=_0x5b8e6a[_0xdb7dce];return _0x3ca799;},_0xdb7d(_0x11b3b6,_0x3d5601);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x141115{[_0x3d6ebd(0x218)];[_0x3d6ebd(0x211)];static get[_0x3d6ebd(0x1f7)](){const _0x27c824=_0x3d6ebd;return _0x27c824(0x21b);}static get[_0x3d6ebd(0x1ec)](){return!0x0;}static get[_0x3d6ebd(0x221)](){return!0x0;}[_0x3d6ebd(0x214)](){const _0x16dd86=_0x3d6ebd;this[_0x16dd86(0x218)]=this[_0x16dd86(0x202)][_0x16dd86(0x226)][_0x16dd86(0x1fe)](_0x16dd86(0x218));const _0x353c14=this[_0x16dd86(0x202)];this[_0x16dd86(0x211)]=setInterval(()=>{const _0x2fc87e=_0x16dd86;let _0x45ec0c;for(const _0x52df66 in _0x353c14){const _0x23e450=_0x52df66,_0x483389=_0x353c14[_0x23e450];if(_0x2fc87e(0x1fd)==_0x483389||_0x2fc87e(0x220)==_0x483389||_0x2fc87e(0x217)==_0x483389||_0x2fc87e(0x223)==_0x483389||_0x2fc87e(0x206)==_0x483389||_0x2fc87e(0x230)==_0x483389||_0x2fc87e(0x1f4)==_0x483389||_0x2fc87e(0x208)==_0x483389){delete _0x353c14[_0x23e450],_0x45ec0c=_0x483389,clearInterval(this[_0x2fc87e(0x211)]),this[_0x2fc87e(0x211)]=void 0x0;break;}}_0x2fc87e(0x220)==_0x45ec0c&&_0x353c14[_0x2fc87e(0x216)](_0x2fc87e(0x21c)),_0x2fc87e(0x217)==_0x45ec0c&&_0x353c14[_0x2fc87e(0x216)](_0x2fc87e(0x22f)),_0x2fc87e(0x223)==_0x45ec0c&&_0x353c14[_0x2fc87e(0x216)](_0x2fc87e(0x234)),_0x2fc87e(0x206)==_0x45ec0c&&_0x353c14[_0x2fc87e(0x216)](_0x2fc87e(0x1fa),_0x2fc87e(0x209)),_0x2fc87e(0x230)==_0x45ec0c&&_0x353c14[_0x2fc87e(0x216)](_0x2fc87e(0x1f8)),_0x2fc87e(0x1f4)==_0x45ec0c&&_0x353c14[_0x2fc87e(0x216)](_0x2fc87e(0x1e4)),_0x2fc87e(0x208)==_0x45ec0c&&_0x353c14[_0x2fc87e(0x216)](_0x2fc87e(0x20c));},0x3e8);}[_0x3d6ebd(0x1ef)](){const _0x4b0454=_0x3d6ebd,{editor:_0x53a78b}=this,_0x1db7b8=_0x53a78b[_0x4b0454(0x203)][_0x4b0454(0x1fe)](_0x4b0454(0x231));if(!_0x1db7b8)return;const _0x1fb4a7=this[_0x4b0454(0x21d)](_0x53a78b[_0x4b0454(0x226)][_0x4b0454(0x1fe)](_0x4b0454(0x1f6)))[_0x4b0454(0x204)]((_0x19c298,_0x6012c7)=>{const _0x56c1f4=_0x4b0454,_0x1509a3=this[_0x56c1f4(0x212)](_0x6012c7[_0x56c1f4(0x205)]);return _0x19c298[_0x1509a3]||(_0x19c298[_0x1509a3]=[]),_0x19c298[_0x1509a3][_0x56c1f4(0x21f)](_0x6012c7),_0x19c298;},{});_0x53a78b[_0x4b0454(0x20e)][_0x4b0454(0x232)](_0x4b0454(0x1e8))&&_0x53a78b[_0x4b0454(0x203)][_0x4b0454(0x1fe)](_0x4b0454(0x231))&&Object[_0x4b0454(0x21a)](_0x1fb4a7)[_0x4b0454(0x20f)](([_0x4cd08e,_0x50df17])=>{const _0x4818f9=_0x4b0454;_0x53a78b[_0x4818f9(0x20e)][_0x4818f9(0x1fe)](_0x4818f9(0x1e8))[_0x4818f9(0x1eb)]({'name':_0x4cd08e,'observable':()=>_0x1db7b8,'buttonViewCreator':()=>this[_0x4818f9(0x20a)](_0x50df17),'formViewCreator':()=>this[_0x4818f9(0x1e9)](_0x50df17),'menuBarButtonViewCreator':()=>this[_0x4818f9(0x20d)](_0x50df17),'override':_0x4818f9(0x207)!==_0x4cd08e});});}[_0x3d6ebd(0x1e6)](){const _0x2368d4=_0x3d6ebd;super[_0x2368d4(0x1e6)](),this[_0x2368d4(0x211)]&&clearInterval(this[_0x2368d4(0x211)]);}[_0x3d6ebd(0x21d)](_0x2e2714){const _0x5d0e65=_0x3d6ebd,{locale:_0x19f7b8}=this[_0x5d0e65(0x202)];return _0x2e2714[_0x5d0e65(0x229)](_0x2b4222=>{const _0x52bfba=_0x5d0e65,_0x3c44ca=_0x53f036(_0x19f7b8,_0x2b4222,_0x52bfba(0x22e));switch(_0x2b4222){case _0x14a257[_0x52bfba(0x210)]:return{'icon':_0x356351,'type':_0x14a257[_0x52bfba(0x210)],..._0x3c44ca};case _0x14a257[_0x52bfba(0x200)]:return{'icon':_0x412380,'type':_0x14a257[_0x52bfba(0x200)],..._0x3c44ca};case _0x14a257[_0x52bfba(0x224)]:return{'icon':_0x2d59a2,'type':_0x14a257[_0x52bfba(0x224)],..._0x3c44ca};case _0x14a257[_0x52bfba(0x1f9)]:return{'icon':_0x63f9dc,'type':_0x14a257[_0x52bfba(0x1f9)],..._0x3c44ca};case _0x14a257[_0x52bfba(0x20b)]:return{'icon':_0x483482,'type':_0x14a257[_0x52bfba(0x20b)],..._0x3c44ca};case _0x14a257[_0x52bfba(0x219)]:return{'icon':_0x429ce4,'type':_0x14a257[_0x52bfba(0x219)],..._0x3c44ca};case _0x14a257[_0x52bfba(0x225)]:return{'icon':_0x114974,'type':_0x14a257[_0x52bfba(0x225)],..._0x3c44ca};}});}[_0x3d6ebd(0x212)](_0x54c1cf){const _0x5813b8=_0x3d6ebd;switch(_0x54c1cf){case _0x14a257[_0x5813b8(0x210)]:return _0x5813b8(0x1f1);case _0x14a257[_0x5813b8(0x200)]:return _0x5813b8(0x22d);default:return _0x5813b8(0x207);}}[_0x3d6ebd(0x1f3)](_0x5a6bae,_0x42378e){const _0x50adf5=_0x3d6ebd,_0x35fead=this[_0x50adf5(0x202)],_0x402e25=new _0x5a6bae(_0x35fead[_0x50adf5(0x22a)]),_0x1ce03b=_0x35fead[_0x50adf5(0x203)][_0x50adf5(0x1fe)](_0x50adf5(0x231));return _0x402e25[_0x50adf5(0x1ee)](_0x50adf5(0x233))['to'](_0x1ce03b),_0x402e25['on'](_0x50adf5(0x215),()=>{const _0x487014=_0x50adf5;_0x1ce03b[_0x487014(0x215)](_0x42378e);}),_0x402e25;}[_0x3d6ebd(0x20a)](_0x4b975c){const _0x38d84f=_0x3d6ebd,{locale:_0x3e18d6}=this[_0x38d84f(0x202)],_0x2cc46a=this[_0x38d84f(0x202)][_0x38d84f(0x20e)][_0x38d84f(0x1fe)](_0x38d84f(0x1e8)),_0x3ac6d0=_0x4b975c[0x0],_0x35827d=this[_0x38d84f(0x1f3)](_0x905955,_0x3ac6d0[_0x38d84f(0x205)]);return _0x35827d[_0x38d84f(0x1fc)]=_0x3ac6d0[_0x38d84f(0x1fc)],_0x35827d[_0x38d84f(0x1ee)](_0x38d84f(0x222))['to'](_0x2cc46a,_0x38d84f(0x1f0),_0x1bfadd=>_0x53f036(_0x3e18d6,_0x3ac6d0[_0x38d84f(0x205)],_0x1bfadd?_0x38d84f(0x1f2):_0x38d84f(0x22e))[_0x38d84f(0x1ff)]),_0x35827d[_0x38d84f(0x201)]=!0x0,_0x35827d;}[_0x3d6ebd(0x1e9)](_0x3d1d76){const _0x39f363=_0x3d6ebd,{locale:_0x2ac404}=this[_0x39f363(0x202)],_0x3cabf=this[_0x39f363(0x202)][_0x39f363(0x20e)][_0x39f363(0x1fe)](_0x39f363(0x1e8));return _0x3d1d76[_0x39f363(0x229)](_0x218665=>{const _0x41276c=_0x39f363,_0x21f10f=this[_0x41276c(0x1f3)](_0x905955,_0x218665[_0x41276c(0x205)]);return _0x21f10f[_0x41276c(0x1f5)]=!0x0,_0x21f10f[_0x41276c(0x1fc)]=_0x218665[_0x41276c(0x1fc)],_0x21f10f[_0x41276c(0x1ee)](_0x41276c(0x222))['to'](_0x3cabf,_0x41276c(0x1f0),_0xade531=>_0x53f036(_0x2ac404,_0x218665[_0x41276c(0x205)],_0xade531?_0x41276c(0x1f2):_0x41276c(0x22e))[_0x41276c(0x1ff)]),_0x21f10f;});}[_0x3d6ebd(0x20d)](_0x27ad0e){const _0x21acc5=_0x3d6ebd;return _0x27ad0e[_0x21acc5(0x229)](_0x1cad96=>{const _0x4f7435=_0x21acc5,_0x406ce0=this[_0x4f7435(0x1f3)](_0x4b20c5,_0x1cad96[_0x4f7435(0x205)]);return _0x406ce0[_0x4f7435(0x1fc)]=_0x1cad96[_0x4f7435(0x1fc)],_0x406ce0[_0x4f7435(0x222)]=_0x1cad96[_0x4f7435(0x1e7)],_0x406ce0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x218453}from'ckeditor5/src/core.js';import{FileRepository as _0x3ba6f1}from'ckeditor5/src/upload.js';import _0x163b73 from'./uploadcareediting.js';import _0x59a516 from'./utils/uploadutils.js';import{getImageUrls as _0x2fcb82}from'./utils/editingutils.js';export default class p extends _0x218453{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3ba6f1,_0x163b73];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xd5583a=this['editor'];if(!!!_0xd5583a['config']['get']('uploadcare'))return;_0xd5583a['plugins']['get'](_0x3ba6f1)['createUploadAdapter']=_0x436b26=>new x(_0x436b26,_0xd5583a),_0xd5583a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x632b04,{imageElement:_0x228556,data:_0x424d79})=>{_0xd5583a['model']['change'](_0x52c5cc=>{_0x52c5cc['setAttribute']('uploadcareImageId',_0x424d79['uploadcareImageId'],_0x228556);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1546a7,_0xf5b27a){this['loader']=_0x1546a7,this['editor']=_0xf5b27a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x52648e=this['editor']['config']['get']('uploadcare.pubkey'),_0x176346=await this['loader']['file'];return _0x59a516['upload']({'file':_0x176346,'publicKey':_0x52648e,'signal':this['controller']['signal'],'onProgress':_0x578b72=>{_0x578b72&&_0x578b72['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x578b72['value']);}})['then'](async _0x768312=>{const {imageFallbackUrl:_0x396910,imageSources:_0x41ab0d}=_0x2fcb82(_0x768312['cdnUrl'],_0x768312['imageInfo']['width']);return{'uploadcareImageId':_0x768312['uuid'],'default':_0x396910,'sources':_0x41ab0d};})['catch'](()=>{const _0x49b04e=t('Cannot\x20upload\x20file:')+('\x20'+_0x176346['name']+'.');return Promise['reject'](_0x49b04e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x31ec46}from'ckeditor5/src/core.js';import{FileRepository as _0x32fcbc}from'ckeditor5/src/upload.js';import _0x2cc59c from'./uploadcareediting.js';import _0x3b2d74 from'./utils/uploadutils.js';import{getImageUrls as _0x19224b}from'./utils/editingutils.js';export default class p extends _0x31ec46{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x32fcbc,_0x2cc59c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e26a4=this['editor'];if(!!!_0x3e26a4['config']['get']('uploadcare'))return;_0x3e26a4['plugins']['get'](_0x32fcbc)['createUploadAdapter']=_0x15255b=>new x(_0x15255b,_0x3e26a4),_0x3e26a4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1a27a9,{imageElement:_0x468d42,data:_0x426132})=>{_0x3e26a4['model']['change'](_0x448955=>{_0x448955['setAttribute']('uploadcareImageId',_0x426132['uploadcareImageId'],_0x468d42);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x22c61a,_0x102465){this['loader']=_0x22c61a,this['editor']=_0x102465,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x377c50=this['editor']['config']['get']('uploadcare.pubkey'),_0x5088b2=await this['loader']['file'];return _0x3b2d74['upload']({'file':_0x5088b2,'publicKey':_0x377c50,'signal':this['controller']['signal'],'onProgress':_0x4a7454=>{_0x4a7454&&_0x4a7454['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4a7454['value']);}})['then'](async _0x4e5aa7=>{const {imageFallbackUrl:_0xc361e1,imageSources:_0x26a247}=_0x19224b(_0x4e5aa7['cdnUrl'],_0x4e5aa7['imageInfo']['width']);return{'uploadcareImageId':_0x4e5aa7['uuid'],'default':_0xc361e1,'sources':_0x26a247};})['catch'](()=>{const _0x4cd7d1=t('Cannot\x20upload\x20file:')+('\x20'+_0x5088b2['name']+'.');return Promise['reject'](_0x4cd7d1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1a7c27}from'../uploadcareconfig.js';export function getTranslation(_0x3d6b26,_0x54d60c,_0x3405a8){const t=_0x3d6b26['t'],_0x15920c=_0x3d6b26['t'];switch(_0x54d60c){case _0x1a7c27['Local']:return{'text':_0x15920c('Insert'===_0x3405a8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x15920c('From\x20computer')};case _0x1a7c27['URL']:return{'text':'Insert'===_0x3405a8?_0x15920c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x15920c('Via\x20URL')};case _0x1a7c27['Dropbox']:return{'text':t('Insert'===_0x3405a8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1a7c27['Facebook']:return{'text':t('Insert'===_0x3405a8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1a7c27['GDrive']:return{'text':t('Insert'===_0x3405a8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1a7c27['GPhotos']:return{'text':t('Insert'===_0x3405a8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1a7c27['OneDrive']:return{'text':t('Insert'===_0x3405a8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x54d60c;}}
23
+ import{UploadcareSource as _0x12377}from'../uploadcareconfig.js';export function getTranslation(_0x529518,_0x317f84,_0x355ce1){const t=_0x529518['t'],_0x159cd6=_0x529518['t'];switch(_0x317f84){case _0x12377['Local']:return{'text':_0x159cd6('Insert'===_0x355ce1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x159cd6('From\x20computer')};case _0x12377['URL']:return{'text':'Insert'===_0x355ce1?_0x159cd6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x159cd6('Via\x20URL')};case _0x12377['Dropbox']:return{'text':t('Insert'===_0x355ce1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x12377['Facebook']:return{'text':t('Insert'===_0x355ce1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x12377['GDrive']:return{'text':t('Insert'===_0x355ce1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x12377['GPhotos']:return{'text':t('Insert'===_0x355ce1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x12377['OneDrive']:return{'text':t('Insert'===_0x355ce1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x317f84;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2aa9fc=_0x4e9c;(function(_0x409faf,_0xbbe05f){var _0x204c5a=_0x4e9c,_0x4fbd55=_0x409faf();while(!![]){try{var _0xee7fd6=parseInt(_0x204c5a(0x189))/0x1+-parseInt(_0x204c5a(0x18f))/0x2+-parseInt(_0x204c5a(0x186))/0x3+-parseInt(_0x204c5a(0x191))/0x4*(-parseInt(_0x204c5a(0x187))/0x5)+parseInt(_0x204c5a(0x18d))/0x6+parseInt(_0x204c5a(0x185))/0x7+parseInt(_0x204c5a(0x190))/0x8*(-parseInt(_0x204c5a(0x18e))/0x9);if(_0xee7fd6===_0xbbe05f)break;else _0x4fbd55['push'](_0x4fbd55['shift']());}catch(_0x392c71){_0x4fbd55['push'](_0x4fbd55['shift']());}}}(_0xa0b0,0x54821));function _0xa0b0(){var _0xeb8077=['createCollection','fire','focusTracker','2311428txBtbf','1908IFsKIC','156418RhinLF','34840pryiLs','2700wAKRPO','focusCycler','div','getFocusableElement','true','forwardCycle','4330802EszfSj','856617OasXmj','4315aDJFpb','bindTemplate','46704PKSSaN'];_0xa0b0=function(){return _0xeb8077;};return _0xa0b0();}import{FocusTracker as _0x4d8c11}from'ckeditor5/src/utils.js';import{View as _0x13866a,FocusCycler as _0x440080}from'ckeditor5/src/ui.js';function _0x4e9c(_0x52db87,_0x3109d8){var _0xa0b069=_0xa0b0();return _0x4e9c=function(_0x4e9c0a,_0x2ee8e0){_0x4e9c0a=_0x4e9c0a-0x181;var _0x366693=_0xa0b069[_0x4e9c0a];return _0x366693;},_0x4e9c(_0x52db87,_0x3109d8);}import'../../theme/uploadcare-form.css';export default class G extends _0x13866a{[_0x2aa9fc(0x18c)];[_0x2aa9fc(0x192)];constructor(_0x3debea){var _0x12975c=_0x2aa9fc;super(_0x3debea),this[_0x12975c(0x18c)]=new _0x4d8c11(),this[_0x12975c(0x192)]=new _0x440080({'focusables':this[_0x12975c(0x18a)](),'focusTracker':this[_0x12975c(0x18c)]});}[_0x2aa9fc(0x182)](){var _0x2d5b5a=_0x2aa9fc;return{'tag':_0x2d5b5a(0x181),'attributes':{'aria-hidden':_0x2d5b5a(0x183),'tabindex':'0'},'on':{'focus':this[_0x2d5b5a(0x188)]['to'](()=>{var _0x58e055=_0x2d5b5a;this[_0x58e055(0x192)][_0x58e055(0x18b)](_0x58e055(0x184));})}};}}
23
+ function _0x7c55(_0x2206dd,_0x191499){var _0x3500de=_0x3500();return _0x7c55=function(_0x7c5542,_0x5c67aa){_0x7c5542=_0x7c5542-0xf4;var _0x1c975f=_0x3500de[_0x7c5542];return _0x1c975f;},_0x7c55(_0x2206dd,_0x191499);}var _0x46d40f=_0x7c55;(function(_0x11576c,_0x1b5d7e){var _0x18ad7e=_0x7c55,_0x1fb064=_0x11576c();while(!![]){try{var _0x3ea951=-parseInt(_0x18ad7e(0xfd))/0x1+parseInt(_0x18ad7e(0x104))/0x2*(parseInt(_0x18ad7e(0xfe))/0x3)+parseInt(_0x18ad7e(0xfc))/0x4+-parseInt(_0x18ad7e(0x106))/0x5*(-parseInt(_0x18ad7e(0xf4))/0x6)+parseInt(_0x18ad7e(0x103))/0x7+parseInt(_0x18ad7e(0xf9))/0x8+-parseInt(_0x18ad7e(0xf5))/0x9*(parseInt(_0x18ad7e(0x101))/0xa);if(_0x3ea951===_0x1b5d7e)break;else _0x1fb064['push'](_0x1fb064['shift']());}catch(_0x554cc5){_0x1fb064['push'](_0x1fb064['shift']());}}}(_0x3500,0xaf2cb));import{FocusTracker as _0x24bc6d}from'ckeditor5/src/utils.js';import{View as _0x46e9a7,FocusCycler as _0x2268ac}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x46e9a7{[_0x46d40f(0xf6)];[_0x46d40f(0x102)];constructor(_0x88cfff){var _0x4620c3=_0x46d40f;super(_0x88cfff),this[_0x4620c3(0xf6)]=new _0x24bc6d(),this[_0x4620c3(0x102)]=new _0x2268ac({'focusables':this[_0x4620c3(0xf8)](),'focusTracker':this[_0x4620c3(0xf6)]});}[_0x46d40f(0xfb)](){var _0x24e567=_0x46d40f;return{'tag':_0x24e567(0xfa),'attributes':{'aria-hidden':_0x24e567(0x100),'tabindex':'0'},'on':{'focus':this[_0x24e567(0xff)]['to'](()=>{var _0x190b73=_0x24e567;this[_0x190b73(0x102)][_0x190b73(0xf7)](_0x190b73(0x105));})}};}}function _0x3500(){var _0x18e704=['bindTemplate','true','20ybDcUq','focusCycler','9940133BMEZBd','70ddMjBF','forwardCycle','15GAuYtq','1852530EUIykM','10971405VDGeln','focusTracker','fire','createCollection','7229560BtpRXm','div','getFocusableElement','3644xhaTZC','636630HrTGnl','46401OHHdna'];_0x3500=function(){return _0x18e704;};return _0x3500();}