@ckeditor/ckeditor5-uploadcare 45.2.0-alpha.6 → 45.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5572(){const _0x16cd30=['imageBlock','closeMax','upcast','getAttribute','replaceImageSource','13175010JKbGIW','isOfficialPlugin','1WjfZQk','appendChild','selection','cleanupImage','once','_initImageProcessingIndicator','querySelector','locale','editing','commands','configElement','1579422TaiYrf','true','ctxElement','listenTo','attributeToAttribute','input[uploadcare-file-input]','UploadcareEditing','render','#uc-icon-arrow-down','_initConfig','52746MuEMNF','uploadcare.pubkey','init','remove','requires','uc-config','_initSchema','_initCtx','schema','isPremiumPlugin','uploadcareImageId','1871612FSynhd','conversion','add','body','uploadcare.uploader','execute','for','downcast','imageInline','\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','extend','uploadcare','_initConversion','data-uc-image-id','410nCHpsz','config','view','contentLanguage','removeAttribute','elementToAttribute','PictureEditing','pluginName','href','uploadcareImageReplace','model','getSelectedElement','insertImage','map','iconHrefResolver','destroy','uploader','uc-upload-ctx-provider','2459097dxWlbb','get','fromCharCode','16EKcBbN','861561FtCCNW','afterInit','_configElement','editor','isRegistered','_ctxElement','1297212twQEZf','document','join'];_0x5572=function(){return _0x16cd30;};return _0x5572();}const _0x1ae148=_0xb11d;(function(_0xbcde08,_0x590cc1){const _0x25a39d=_0xb11d,_0x4b84e8=_0xbcde08();while(!![]){try{const _0x1ca02f=parseInt(_0x25a39d(0xe1))/0x1*(parseInt(_0x25a39d(0xec))/0x2)+-parseInt(_0x25a39d(0xd1))/0x3+parseInt(_0x25a39d(0x101))/0x4+parseInt(_0x25a39d(0x10f))/0x5*(parseInt(_0x25a39d(0xf6))/0x6)+-parseInt(_0x25a39d(0xd7))/0x7*(-parseInt(_0x25a39d(0xd0))/0x8)+-parseInt(_0x25a39d(0x121))/0x9+-parseInt(_0x25a39d(0xdf))/0xa;if(_0x1ca02f===_0x590cc1)break;else _0x4b84e8['push'](_0x4b84e8['shift']());}catch(_0x173ee9){_0x4b84e8['push'](_0x4b84e8['shift']());}}}(_0x5572,0x73093));import{Plugin as _0x2f6791}from'ckeditor5/src/core.js';import{Dialog as _0x5bcda8}from'ckeditor5/src/ui.js';function _0xb11d(_0x5d98cd,_0x199d43){const _0x557215=_0x5572();return _0xb11d=function(_0xb11d96,_0x3b52c0){_0xb11d96=_0xb11d96-0xce;let _0x5d0159=_0x557215[_0xb11d96];return _0x5d0159;},_0xb11d(_0x5d98cd,_0x199d43);}import{createElement as _0x536be5,global as _0x2bcb7a,uid as _0x531531}from'ckeditor5/src/utils.js';import _0x1d79b6 from'./uploadcarecommand.js';import _0x28b09f from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x29f289}from'./utils/editingutils.js';export default class i extends _0x2f6791{[_0x1ae148(0xd3)]=null;[_0x1ae148(0xd6)]=null;static get[_0x1ae148(0x116)](){const _0x2eaff6=_0x1ae148;return _0x2eaff6(0xf2);}static get[_0x1ae148(0xfa)](){const _0x4edb29=_0x1ae148;return[_0x4edb29(0x115),_0x28b09f,_0x5bcda8];}static get[_0x1ae148(0xe0)](){return!0x0;}static get[_0x1ae148(0xff)](){return!0x0;}get[_0x1ae148(0xeb)](){const _0x59b77e=_0x1ae148;return this[_0x59b77e(0xd3)];}get[_0x1ae148(0xee)](){const _0x45b5dc=_0x1ae148;return this[_0x45b5dc(0xd6)];}[_0x1ae148(0xf8)](){const _0x6bd000=_0x1ae148,_0x4a6017=this[_0x6bd000(0xd4)];_0x4a6017[_0x6bd000(0xea)][_0x6bd000(0x103)](_0x6bd000(0x10c),new _0x1d79b6(_0x4a6017));}[_0x1ae148(0xd2)](){const _0x3acf5f=_0x1ae148;this[_0x3acf5f(0xfc)](),this[_0x3acf5f(0x10d)](),this[_0x3acf5f(0xf5)](),this[_0x3acf5f(0xfd)](),this[_0x3acf5f(0xe6)](),this[_0x3acf5f(0xef)](this[_0x3acf5f(0xd4)],_0x3acf5f(0x11e),()=>{const _0x249686=_0x3acf5f;this[_0x249686(0xd3)]&&(this[_0x249686(0xd3)][_0x249686(0xf9)](),this[_0x249686(0xd3)]=null),this[_0x249686(0xd6)]&&(this[_0x249686(0xd6)][_0x249686(0xf9)](),this[_0x249686(0xd6)]=null);const _0x3c6b86=_0x2bcb7a[_0x249686(0xd8)][_0x249686(0xe7)](_0x249686(0xf1));_0x3c6b86&&_0x3c6b86[_0x249686(0xf9)]();}),async function(_0x86ba61){const _0x3b7a32=_0x3ab0f3([0x57,0x34,0x49,0x61,0x6a,0x66,0x33,0x30,0x47,0x74,0x38,0x79,0x6b,0x65,0x39,0x7a,0x6f,0x37,0x4e,0x4c,0x46,0x71,0x70,0x69,0x63,0x51,0x44,0x5a,0x31,0x62,0x32,0x6d,0x55,0x56,0x64,0x58,0x45,0x73,0x4d,0x72,0x35,0x36,0x75,0x4a,0x50,0x68,0x76,0x42,0x4f,0x6e,0x54,0x77,0x41,0x67,0x52,0x53,0x59,0x48,0x6c,0x43,0x4b,0x78]),_0x572552=0x6cf7ea60,_0x934f32=0x6cf083d0^_0x572552,_0x51bc4f=window[_0x3ab0f3([0x44,0x61,0x74,0x65])][_0x3ab0f3([0x6e,0x6f,0x77])](),_0x428452=_0x86ba61[_0x3ab0f3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e7d1e=new window[(_0x3ab0f3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5222fe=>{_0x428452[_0x3ab0f3([0x6f,0x6e,0x63,0x65])](_0x3ab0f3([0x72,0x65,0x61,0x64,0x79]),_0x5222fe);}),_0x4569e6={[_0x3ab0f3([0x6b,0x74,0x79])]:_0x3ab0f3([0x45,0x43]),[_0x3ab0f3([0x75,0x73,0x65])]:_0x3ab0f3([0x73,0x69,0x67]),[_0x3ab0f3([0x63,0x72,0x76])]:_0x3ab0f3([0x50,0x2d,0x32,0x35,0x36]),[_0x3ab0f3([0x78])]:_0x3ab0f3([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]),[_0x3ab0f3([0x79])]:_0x3ab0f3([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]),[_0x3ab0f3([0x61,0x6c,0x67])]:_0x3ab0f3([0x45,0x53,0x32,0x35,0x36])},_0x521c84=_0x428452[_0x3ab0f3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ab0f3([0x67,0x65,0x74])](_0x3ab0f3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29b13d(){let _0x4f0b99,_0x4b1c00=null,_0x4469db=null;try{if(_0x521c84==_0x3ab0f3([0x47,0x50,0x4c]))return _0x3ab0f3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f0b99=_0x2db79a(),!_0x4f0b99)return _0x3ab0f3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f0b99[_0x3ab0f3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4469db=_0x3a9313(_0x4f0b99[_0x3ab0f3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f0b99[_0x3ab0f3([0x6a,0x74,0x69])])),await _0x4eca37()?_0x477cf4()?_0x11b19c()?_0x3ab0f3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33bc25()?(_0x4f0b99[_0x3ab0f3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ab0f3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b1c00=_0x55efee(_0x3ab0f3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f0b99[_0x3ab0f3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ab0f3([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b1c00=_0x55efee(_0x3ab0f3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x77a85d()):_0x3ab0f3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ab0f3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ab0f3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ab0f3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11b19c(){const _0x42f192=[_0x3ab0f3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ab0f3([0x74,0x72,0x69,0x61,0x6c])][_0x3ab0f3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f0b99[_0x3ab0f3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51bc4f/0x3e8:0xe10*_0x934f32;return _0x4f0b99[_0x3ab0f3([0x65,0x78,0x70])]<_0x42f192;}function _0x477cf4(){const _0x97fa40=_0x4f0b99[_0x3ab0f3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x97fa40&&(!!_0x97fa40[_0x3ab0f3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab0f3([0x2a]))||!!_0x97fa40[_0x3ab0f3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab0f3([0x55,0x50,0x4c,0x43])));}function _0x33bc25(){const _0x49e279=_0xb11d,_0x11f8b9=_0x4f0b99[_0x3ab0f3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11f8b9||0x0==_0x11f8b9[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51d301}=new URL(window[_0x3ab0f3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x49e279(0x117)]);if(_0x11f8b9[_0x3ab0f3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51d301))return!0x0;const _0xdc39e=_0x51d301[_0x3ab0f3([0x73,0x70,0x6c,0x69,0x74])](_0x3ab0f3([0x2e]));return _0x11f8b9[_0x3ab0f3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57abcc=>_0x57abcc[_0x3ab0f3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab0f3([0x2a])))[_0x3ab0f3([0x6d,0x61,0x70])](_0x951a4e=>_0x951a4e[_0x3ab0f3([0x73,0x70,0x6c,0x69,0x74])](_0x3ab0f3([0x2e])))[_0x3ab0f3([0x73,0x6f,0x6d,0x65])](_0x2d7ed4=>_0xdc39e[_0x3ab0f3([0x65,0x76,0x65,0x72,0x79])]((_0x4bb635,_0x6a3f3)=>_0x2d7ed4[_0x6a3f3]===_0x4bb635||_0x2d7ed4[_0x6a3f3]===_0x3ab0f3([0x2a])));}function _0x77a85d(){return _0x4b1c00&&_0x4469db?new window[(_0x3ab0f3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a4df4,_0x339103)=>{_0x4b1c00[_0x3ab0f3([0x74,0x68,0x65,0x6e])](_0x1a4df4,_0x339103),_0x4469db[_0x3ab0f3([0x74,0x68,0x65,0x6e])](_0x2632d2=>{_0x2632d2!=_0x3ab0f3([0x56,0x61,0x6c,0x69,0x64])&&_0x1a4df4(_0x2632d2);},_0x339103);}):_0x4b1c00||_0x4469db||_0x3ab0f3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a9313(_0x21bb01,_0xf69b9b){return new window[(_0x3ab0f3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58008c=>{if(_0x9ca18a())return _0x58008c(_0x3ab0f3([0x56,0x61,0x6c,0x69,0x64]));_0x4061f0(),_0x428452[_0x3ab0f3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ab0f3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2219d5=!0x1;const _0x3d65ec=_0x531531();function _0x3d6fad(_0xe49dcc){return!!_0xe49dcc&&(typeof _0xe49dcc===_0x3ab0f3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe49dcc===_0x3ab0f3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe49dcc[_0x3ab0f3([0x74,0x68,0x65,0x6e])]===_0x3ab0f3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe49dcc[_0x3ab0f3([0x63,0x61,0x74,0x63,0x68])]===_0x3ab0f3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d64b0(_0x824f0f){_0xd3dfa0(_0x824f0f)[_0x3ab0f3([0x74,0x68,0x65,0x6e])](_0x50bb3b=>{if(!_0x50bb3b||_0x50bb3b[_0x3ab0f3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ab0f3([0x6f,0x6b]))return _0x3ab0f3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b67af(_0x5c5b16(_0x3d65ec+_0xf69b9b))!=_0x50bb3b[_0x3ab0f3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ab0f3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ab0f3([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ab0f3([0x74,0x68,0x65,0x6e])](_0x50bc3c=>(_0x1aefd6(),_0x50bc3c),()=>{const _0x2b328e=_0x7cc2da();return null==_0x2b328e?(_0x1aefd6(),_0x3ab0f3([0x56,0x61,0x6c,0x69,0x64])):_0x3ab0f3(_0x51bc4f-_0x2b328e>(0x48fb6e60^_0x572552)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ab0f3([0x74,0x68,0x65,0x6e])](_0x58008c)[_0x3ab0f3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58008c(_0x3ab0f3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ef9fb=0x6cc104e0^_0x572552;function _0x1aefd6(){const _0x2afa3a=_0x3ab0f3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b67af(_0x5c5b16(_0x21bb01)),_0x2d2c44=_0x53499a(_0x4b67af(window[_0x3ab0f3([0x4d,0x61,0x74,0x68])][_0x3ab0f3([0x63,0x65,0x69,0x6c])](_0x51bc4f/_0x5ef9fb)));window[_0x3ab0f3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ab0f3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2afa3a,_0x2d2c44);}function _0x7cc2da(){const _0x48562c=_0x3ab0f3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b67af(_0x5c5b16(_0x21bb01)),_0x29172e=window[_0x3ab0f3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ab0f3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48562c);return _0x29172e?window[_0x3ab0f3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53499a(_0x29172e),0x10)*_0x5ef9fb:null;}function _0xd3dfa0(_0x4bd58e){return new window[(_0x3ab0f3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33e788,_0x2baab0)=>{_0x4bd58e[_0x3ab0f3([0x74,0x68,0x65,0x6e])](_0x33e788,_0x2baab0),window[_0x3ab0f3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2baab0,0x6cf63ea0^_0x572552);});}}_0x428452[_0x3ab0f3([0x6f,0x6e])](_0x3ab0f3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x156646,_0x23b5e4)=>{if(_0x23b5e4[0x0]!=_0x21bb01)return _0x58008c(_0x3ab0f3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23b5e4[0x1]={..._0x23b5e4[0x1],[_0x3ab0f3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d65ec};},{[_0x3ab0f3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ab0f3([0x68,0x69,0x67,0x68])}),_0x428452[_0x3ab0f3([0x6f,0x6e])](_0x3ab0f3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x126d14=>{_0x3d6fad(_0x126d14[_0x3ab0f3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2219d5=!0x0,_0x2d64b0(_0x126d14[_0x3ab0f3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ab0f3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ab0f3([0x6c,0x6f,0x77])}),_0x5e7d1e[_0x3ab0f3([0x74,0x68,0x65,0x6e])](()=>{_0x2219d5||_0x58008c(_0x3ab0f3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9ca18a(){return _0x428452[_0x3ab0f3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ab0f3([0x76,0x69,0x65,0x77])][_0x3ab0f3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ab0f3([0x61,0x75,0x74,0x6f]);}function _0x4061f0(){_0x428452[_0x3ab0f3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ab0f3([0x76,0x69,0x65,0x77])][_0x3ab0f3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ab0f3([0x61,0x75,0x74,0x6f]);}}function _0x55efee(_0x43301c){const _0x45e4e9=[new window[(_0x3ab0f3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7dbfea=>setTimeout(_0x7dbfea,0x6cfed4ac^_0x572552)),_0x5e7d1e[_0x3ab0f3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ab0f3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c355=>{let _0x56f277=0x0;_0x428452[_0x3ab0f3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ab0f3([0x6f,0x6e])](_0x3ab0f3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x114fe2,_0x520477)=>{_0x520477[0x0][_0x3ab0f3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56f277++,_0x56f277==(0x6cf7eb98^_0x572552)&&(_0x10c355(),_0x114fe2[_0x3ab0f3([0x6f,0x66,0x66])]());});}))];return window[_0x3ab0f3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ab0f3([0x72,0x61,0x63,0x65])](_0x45e4e9)[_0x3ab0f3([0x74,0x68,0x65,0x6e])](()=>_0x43301c);}async function _0x1bda0f(){await _0x5e7d1e,_0x428452[_0x3ab0f3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ab0f3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x165675,_0x428452[_0x3ab0f3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ab0f3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x165675,_0x428452[_0x3ab0f3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ab0f3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50c696(_0xc9d14f){const _0x4e224d=_0x2462a6();_0x428452[_0x4e224d]=_0x3ab0f3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc9d14f,_0xc9d14f!=_0x3ab0f3([0x56,0x61,0x6c,0x69,0x64])&&_0x1bda0f();}function _0x2462a6(){const _0x3dcce3=window[_0x3ab0f3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ab0f3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ab0f3([0x6e,0x6f,0x77])]())[_0x3ab0f3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ab0f3([0x2e]),'');let _0x3ad72e=_0x3ab0f3([0x57]);for(let _0x57dc17=0x0;_0x57dc17<_0x3dcce3[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57dc17+=0x2){let _0x35db61=window[_0x3ab0f3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dcce3[_0x3ab0f3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57dc17,_0x57dc17+0x2));_0x35db61>=_0x3b7a32[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35db61-=_0x3b7a32[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ad72e+=_0x3b7a32[_0x35db61];}return _0x3ad72e;}function _0x2db79a(){const _0x4498fe=_0x521c84[_0x3ab0f3([0x73,0x70,0x6c,0x69,0x74])](_0x3ab0f3([0x2e]));if(0x3!=_0x4498fe[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x502183(_0x4498fe[0x1]);function _0x502183(_0x3ba05e){const _0x3e7ac5=_0x3ad3cb(_0x3ba05e);return _0x3e7ac5&&_0x5cd951()?_0x3e7ac5:null;function _0x5cd951(){const _0x3461d2=_0x3e7ac5[_0x3ab0f3([0x6a,0x74,0x69])],_0x4c2cbe=window[_0x3ab0f3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3461d2[_0x3ab0f3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3461d2[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x188d30={..._0x3e7ac5,[_0x3ab0f3([0x6a,0x74,0x69])]:_0x3461d2[_0x3ab0f3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3461d2[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x188d30[_0x3ab0f3([0x76,0x63])],_0x5c5b16(_0x188d30)==_0x4c2cbe;}}}async function _0x4eca37(){let _0x2acf1b=!0x0;try{const _0x541b3f=_0x521c84[_0x3ab0f3([0x73,0x70,0x6c,0x69,0x74])](_0x3ab0f3([0x2e])),[_0x5bf1af,_0x4d51ee,_0x433ae7]=_0x541b3f;return _0x15cb7d(_0x5bf1af),await _0x57165d(_0x5bf1af,_0x4d51ee,_0x433ae7),_0x2acf1b;}catch{return!0x1;}function _0x15cb7d(_0x188137){const _0x4a2391=_0x3ad3cb(_0x188137);_0x4a2391&&_0x4a2391[_0x3ab0f3([0x61,0x6c,0x67])]==_0x3ab0f3([0x45,0x53,0x32,0x35,0x36])||(_0x2acf1b=!0x1);}async function _0x57165d(_0x2e1b88,_0x31b978,_0x146f3b){const _0x570409=window[_0x3ab0f3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ab0f3([0x66,0x72,0x6f,0x6d])](_0x4e6f9d(_0x146f3b),_0x276d1c=>_0x276d1c[_0x3ab0f3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19ec27=new window[(_0x3ab0f3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ab0f3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e1b88+_0x3ab0f3([0x2e])+_0x31b978),_0x3ab8d0=window[_0x3ab0f3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ab0f3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ab8d0)return;const _0x35637e=await _0x3ab8d0[_0x3ab0f3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ab0f3([0x6a,0x77,0x6b]),_0x4569e6,{[_0x3ab0f3([0x6e,0x61,0x6d,0x65])]:_0x3ab0f3([0x45,0x43,0x44,0x53,0x41]),[_0x3ab0f3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ab0f3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ab0f3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ab8d0[_0x3ab0f3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ab0f3([0x6e,0x61,0x6d,0x65])]:_0x3ab0f3([0x45,0x43,0x44,0x53,0x41]),[_0x3ab0f3([0x68,0x61,0x73,0x68])]:{[_0x3ab0f3([0x6e,0x61,0x6d,0x65])]:_0x3ab0f3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35637e,_0x570409,_0x19ec27)||(_0x2acf1b=!0x1);}}function _0x3ad3cb(_0x34e3d0){return _0x34e3d0[_0x3ab0f3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ab0f3([0x65,0x79]))?JSON[_0x3ab0f3([0x70,0x61,0x72,0x73,0x65])](_0x4e6f9d(_0x34e3d0)):null;}function _0x4e6f9d(_0x149c9a){return window[_0x3ab0f3([0x61,0x74,0x6f,0x62])](_0x149c9a[_0x3ab0f3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ab0f3([0x2b]))[_0x3ab0f3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ab0f3([0x2f])));}function _0x5c5b16(_0x4fcdbc){let _0x2285ed=0x1505;function _0x8b36b7(_0x3744cc){for(let _0x4ac2b4=0x0;_0x4ac2b4<_0x3744cc[_0x3ab0f3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ac2b4++){const _0xdef753=_0x3744cc[_0x3ab0f3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ac2b4);_0x2285ed=(_0x2285ed<<0x5)+_0x2285ed+_0xdef753,_0x2285ed&=_0x2285ed;}}function _0x4cd293(_0x55024d){Array[_0x3ab0f3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55024d)?_0x55024d[_0x3ab0f3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cd293):_0x55024d&&typeof _0x55024d==_0x3ab0f3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ab0f3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55024d)[_0x3ab0f3([0x73,0x6f,0x72,0x74])]()[_0x3ab0f3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3705bf,_0x171844])=>{_0x8b36b7(_0x3705bf),_0x4cd293(_0x171844);}):_0x8b36b7(window[_0x3ab0f3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55024d));}return _0x4cd293(_0x4fcdbc),_0x2285ed>>>0x0;}function _0x4b67af(_0x4002a8){return _0x4002a8[_0x3ab0f3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ab0f3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ab0f3([0x30]));}function _0x53499a(_0x22d9f0){return _0x22d9f0[_0x3ab0f3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ab0f3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ab0f3([0x6a,0x6f,0x69,0x6e])]('');}function _0x165675(){}function _0x3ab0f3(_0x1dd0f7){const _0x156d46=_0xb11d;return _0x1dd0f7[_0x156d46(0x11c)](_0x29655e=>String[_0x156d46(0xcf)](_0x29655e))[_0x156d46(0xd9)]('');}_0x50c696(await _0x29b13d());}(this);}[_0x1ae148(0xfc)](){const _0x176f16=_0x1ae148,_0x46bf39=this[_0x176f16(0xd4)][_0x176f16(0x119)][_0x176f16(0xfe)];_0x46bf39[_0x176f16(0xd5)](_0x176f16(0xda))&&_0x46bf39[_0x176f16(0x10b)](_0x176f16(0xda),{'allowAttributes':[_0x176f16(0x100)]}),_0x46bf39[_0x176f16(0xd5)](_0x176f16(0x109))&&_0x46bf39[_0x176f16(0x10b)](_0x176f16(0x109),{'allowAttributes':[_0x176f16(0x100)]});}[_0x1ae148(0x10d)](){const _0x26f2a6=_0x1ae148,_0x4a91cb=this[_0x26f2a6(0xd4)];_0x4a91cb[_0x26f2a6(0x102)][_0x26f2a6(0x107)](_0x26f2a6(0x108))[_0x26f2a6(0xf0)]({'model':_0x26f2a6(0x100),'view':_0x26f2a6(0x10e)}),_0x4a91cb[_0x26f2a6(0x102)][_0x26f2a6(0x107)](_0x26f2a6(0xdc))[_0x26f2a6(0x114)]({'model':{'key':_0x26f2a6(0x100),'value':_0x5d8410=>_0x5d8410[_0x26f2a6(0xdd)](_0x26f2a6(0x10e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x274302=_0x4a91cb[_0x26f2a6(0xea)][_0x26f2a6(0xce)](_0x26f2a6(0xde));_0x274302&&this[_0x26f2a6(0xef)](_0x274302,_0x26f2a6(0xe4),(_0x5e8d86,[_0x5a0f1b,_0x5421fd])=>{const _0x3a0571=_0x26f2a6;_0x5a0f1b[_0x3a0571(0x113)](_0x3a0571(0x100),_0x5421fd);});}[_0x1ae148(0xf5)](){const _0x55c52a=_0x1ae148,_0x2a0a6c=this[_0x55c52a(0xd4)][_0x55c52a(0x110)][_0x55c52a(0xce)](_0x55c52a(0x105))||{},_0x3f50fc=this[_0x55c52a(0xd4)][_0x55c52a(0x110)][_0x55c52a(0xce)](_0x55c52a(0xf7))||'';this[_0x55c52a(0xd3)]=_0x536be5(_0x2bcb7a[_0x55c52a(0xd8)],_0x55c52a(0xfb),{..._0x2a0a6c,'pubkey':_0x3f50fc,'ctx-name':_0x55c52a(0x11f),'sourceList':'','imgOnly':_0x55c52a(0xed),'removeCopyright':_0x55c52a(0xed),'localeName':this[_0x55c52a(0xd4)][_0x55c52a(0xe8)][_0x55c52a(0x112)],'externalSourcesEmbedCss':_0x55c52a(0x10a)}),this[_0x55c52a(0xd3)][_0x55c52a(0x11d)]=_0x20ac25=>{const _0x1013c1=_0x55c52a;if(_0x1013c1(0xdb)==_0x20ac25)return _0x1013c1(0xf4);},_0x2bcb7a[_0x55c52a(0xd8)][_0x55c52a(0x104)][_0x55c52a(0xe2)](this[_0x55c52a(0xd3)]);}[_0x1ae148(0xfd)](){const _0x1ebb94=_0x1ae148;this[_0x1ebb94(0xd6)]=_0x536be5(_0x2bcb7a[_0x1ebb94(0xd8)],_0x1ebb94(0x120),{'ctx-name':_0x1ebb94(0x11f)}),_0x2bcb7a[_0x1ebb94(0xd8)][_0x1ebb94(0x104)][_0x1ebb94(0xe2)](this[_0x1ebb94(0xd6)]);}[_0x1ae148(0xe6)](){const _0x131a64=_0x1ae148,_0x59a2ab=this[_0x131a64(0xd4)][_0x131a64(0xea)][_0x131a64(0xce)](_0x131a64(0x11b));_0x59a2ab&&this[_0x131a64(0xef)](_0x59a2ab,_0x131a64(0x106),()=>{const _0x3cd9ea=_0x131a64,_0x1b60db=this[_0x3cd9ea(0xd4)][_0x3cd9ea(0x119)][_0x3cd9ea(0xd8)][_0x3cd9ea(0xe3)][_0x3cd9ea(0x11a)]();_0x1b60db&&_0x1b60db[_0x3cd9ea(0xdd)](_0x3cd9ea(0x100))&&this[_0x3cd9ea(0xd4)][_0x3cd9ea(0xe9)][_0x3cd9ea(0x111)][_0x3cd9ea(0xe5)](_0x3cd9ea(0xf3),()=>{const _0x447aeb=_0x3cd9ea;_0x29f289(this[_0x447aeb(0xd4)],_0x1b60db);});});const _0x5246dd=this[_0x131a64(0xd4)][_0x131a64(0xea)][_0x131a64(0xce)](_0x131a64(0x118));_0x5246dd&&this[_0x131a64(0xef)](_0x5246dd,_0x131a64(0x106),()=>{const _0xbfcd0=_0x131a64,_0x3331a8=this[_0xbfcd0(0xd4)][_0xbfcd0(0x119)][_0xbfcd0(0xd8)][_0xbfcd0(0xe3)][_0xbfcd0(0x11a)]();_0x3331a8&&_0x3331a8[_0xbfcd0(0xdd)](_0xbfcd0(0x100))&&this[_0xbfcd0(0xd4)][_0xbfcd0(0xe9)][_0xbfcd0(0x111)][_0xbfcd0(0xe5)](_0xbfcd0(0xf3),()=>{const _0x4a5fa8=_0xbfcd0;_0x29f289(this[_0x4a5fa8(0xd4)],_0x3331a8);});});}}
23
+ const _0x1f22d0=_0x3df6;(function(_0x7ece55,_0x46fe60){const _0x213e5e=_0x3df6,_0x578c93=_0x7ece55();while(!![]){try{const _0x535596=-parseInt(_0x213e5e(0x1ce))/0x1+parseInt(_0x213e5e(0x1e0))/0x2*(-parseInt(_0x213e5e(0x1ed))/0x3)+parseInt(_0x213e5e(0x1ca))/0x4+parseInt(_0x213e5e(0x1e1))/0x5+-parseInt(_0x213e5e(0x1d3))/0x6+-parseInt(_0x213e5e(0x1e2))/0x7*(parseInt(_0x213e5e(0x1aa))/0x8)+parseInt(_0x213e5e(0x1bb))/0x9*(parseInt(_0x213e5e(0x1de))/0xa);if(_0x535596===_0x46fe60)break;else _0x578c93['push'](_0x578c93['shift']());}catch(_0x326c1c){_0x578c93['push'](_0x578c93['shift']());}}}(_0x54e6,0x664dd));function _0x54e6(){const _0x3b7dac=['data-uc-image-id','4722860HDaDgs','document','44ixvWVX','2272605GGIFaS','1132271DUpzoJ','map','add','extend','view','#uc-icon-arrow-down','uploadcare','_configElement','join','uploadcare.pubkey','upcast','27519EBmbqO','input[uploadcare-file-input]','_initConversion','model','body','_initSchema','querySelector','uc-config','schema','downcast','isRegistered','uploadcareImageId','remove','fromCharCode','getSelectedElement','insertImage','uploadcare.uploader','32aZVoxs','uc-upload-ctx-provider','editor','uploadcareImageReplace','locale','configElement','uploader','\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','true','elementToAttribute','config','execute','_initImageProcessingIndicator','listenTo','imageBlock','conversion','get','18SJnvYm','replaceImageSource','commands','imageInline','UploadcareEditing','ctxElement','isOfficialPlugin','_initConfig','removeAttribute','attributeToAttribute','afterInit','isPremiumPlugin','once','selection','href','2983552EgTSWv','destroy','appendChild','closeMax','337784IAvuIC','render','_initCtx','pluginName','contentLanguage','3236052YMMeZU','_ctxElement','iconHrefResolver','requires','init','editing','PictureEditing','for','cleanupImage','getAttribute'];_0x54e6=function(){return _0x3b7dac;};return _0x54e6();}import{Plugin as _0x46fd79}from'ckeditor5/src/core.js';import{Dialog as _0x57b775}from'ckeditor5/src/ui.js';function _0x3df6(_0x4cec60,_0x1f992c){const _0x54e694=_0x54e6();return _0x3df6=function(_0x3df6ee,_0x5ee235){_0x3df6ee=_0x3df6ee-0x1a8;let _0x5629d4=_0x54e694[_0x3df6ee];return _0x5629d4;},_0x3df6(_0x4cec60,_0x1f992c);}import{createElement as _0x15f999,global as _0x16c1c2,uid as _0x13c5ae}from'ckeditor5/src/utils.js';import _0x12342b from'./uploadcarecommand.js';import _0x363971 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xa8a80b}from'./utils/editingutils.js';export default class i extends _0x46fd79{[_0x1f22d0(0x1e9)]=null;[_0x1f22d0(0x1d4)]=null;static get[_0x1f22d0(0x1d1)](){const _0x2b4679=_0x1f22d0;return _0x2b4679(0x1bf);}static get[_0x1f22d0(0x1d6)](){const _0x4c46c6=_0x1f22d0;return[_0x4c46c6(0x1d9),_0x363971,_0x57b775];}static get[_0x1f22d0(0x1c1)](){return!0x0;}static get[_0x1f22d0(0x1c6)](){return!0x0;}get[_0x1f22d0(0x1af)](){const _0x42cdc3=_0x1f22d0;return this[_0x42cdc3(0x1e9)];}get[_0x1f22d0(0x1c0)](){const _0x3170d1=_0x1f22d0;return this[_0x3170d1(0x1d4)];}[_0x1f22d0(0x1d7)](){const _0x59b5b8=_0x1f22d0,_0x24d398=this[_0x59b5b8(0x1ac)];_0x24d398[_0x59b5b8(0x1bd)][_0x59b5b8(0x1e4)](_0x59b5b8(0x1e8),new _0x12342b(_0x24d398));}[_0x1f22d0(0x1c5)](){const _0x5590a4=_0x1f22d0;this[_0x5590a4(0x1f2)](),this[_0x5590a4(0x1ef)](),this[_0x5590a4(0x1c2)](),this[_0x5590a4(0x1d0)](),this[_0x5590a4(0x1b6)](),this[_0x5590a4(0x1b7)](this[_0x5590a4(0x1ac)],_0x5590a4(0x1cb),()=>{const _0x5a6682=_0x5590a4;this[_0x5a6682(0x1e9)]&&(this[_0x5a6682(0x1e9)][_0x5a6682(0x1f9)](),this[_0x5a6682(0x1e9)]=null),this[_0x5a6682(0x1d4)]&&(this[_0x5a6682(0x1d4)][_0x5a6682(0x1f9)](),this[_0x5a6682(0x1d4)]=null);const _0x41f833=_0x16c1c2[_0x5a6682(0x1df)][_0x5a6682(0x1f3)](_0x5a6682(0x1ee));_0x41f833&&_0x41f833[_0x5a6682(0x1f9)]();}),async function(_0x22e8c0){const _0x12adf5=_0x4ca4db([0x6a,0x43,0x46,0x6b,0x34,0x4d,0x76,0x49,0x33,0x71,0x4c,0x65,0x7a,0x41,0x59,0x4a,0x36,0x4e,0x38,0x6f,0x69,0x75,0x50,0x77,0x5a,0x56,0x4f,0x58,0x54,0x39,0x45,0x4b,0x35,0x57,0x51,0x61,0x42,0x48,0x67,0x44,0x74,0x68,0x31,0x73,0x70,0x30,0x6d,0x52,0x47,0x72,0x32,0x66,0x63,0x79,0x37,0x53,0x64,0x62,0x78,0x6e,0x6c,0x55]),_0x3f7211=0x3d2eecae,_0x1c7e02=0x3d298566^_0x3f7211,_0x583a1b=window[_0x4ca4db([0x44,0x61,0x74,0x65])][_0x4ca4db([0x6e,0x6f,0x77])](),_0x47bf58=_0x22e8c0[_0x4ca4db([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a9c0f=new window[(_0x4ca4db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42a0e7=>{_0x47bf58[_0x4ca4db([0x6f,0x6e,0x63,0x65])](_0x4ca4db([0x72,0x65,0x61,0x64,0x79]),_0x42a0e7);}),_0x395cdf={[_0x4ca4db([0x6b,0x74,0x79])]:_0x4ca4db([0x45,0x43]),[_0x4ca4db([0x75,0x73,0x65])]:_0x4ca4db([0x73,0x69,0x67]),[_0x4ca4db([0x63,0x72,0x76])]:_0x4ca4db([0x50,0x2d,0x32,0x35,0x36]),[_0x4ca4db([0x78])]:_0x4ca4db([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]),[_0x4ca4db([0x79])]:_0x4ca4db([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]),[_0x4ca4db([0x61,0x6c,0x67])]:_0x4ca4db([0x45,0x53,0x32,0x35,0x36])},_0x2215e8=_0x47bf58[_0x4ca4db([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ca4db([0x67,0x65,0x74])](_0x4ca4db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a6b50(){let _0x4aa9c9,_0x179875=null,_0xb79794=null;try{if(_0x2215e8==_0x4ca4db([0x47,0x50,0x4c]))return _0x4ca4db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4aa9c9=_0x3da38f(),!_0x4aa9c9)return _0x4ca4db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4aa9c9[_0x4ca4db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb79794=_0x34e8a2(_0x4aa9c9[_0x4ca4db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4aa9c9[_0x4ca4db([0x6a,0x74,0x69])])),await _0x49f6e1()?_0x7cd6()?_0x59ce05()?_0x4ca4db([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f3000()?(_0x4aa9c9[_0x4ca4db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ca4db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x179875=_0x2b0b7f(_0x4ca4db([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4aa9c9[_0x4ca4db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ca4db([0x74,0x72,0x69,0x61,0x6c])&&(_0x179875=_0x2b0b7f(_0x4ca4db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x583d8b()):_0x4ca4db([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ca4db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ca4db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ca4db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59ce05(){const _0x4235eb=[_0x4ca4db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ca4db([0x74,0x72,0x69,0x61,0x6c])][_0x4ca4db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa9c9[_0x4ca4db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x583a1b/0x3e8:0xe10*_0x1c7e02;return _0x4aa9c9[_0x4ca4db([0x65,0x78,0x70])]<_0x4235eb;}function _0x7cd6(){const _0x1625e0=_0x4aa9c9[_0x4ca4db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1625e0&&(!!_0x1625e0[_0x4ca4db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ca4db([0x2a]))||!!_0x1625e0[_0x4ca4db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ca4db([0x55,0x50,0x4c,0x43])));}function _0x4f3000(){const _0x3ef2a5=_0x3df6,_0x5c705f=_0x4aa9c9[_0x4ca4db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c705f||0x0==_0x5c705f[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x429b22}=new URL(window[_0x4ca4db([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ef2a5(0x1c9)]);if(_0x5c705f[_0x4ca4db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x429b22))return!0x0;const _0x5449b7=_0x429b22[_0x4ca4db([0x73,0x70,0x6c,0x69,0x74])](_0x4ca4db([0x2e]));return _0x5c705f[_0x4ca4db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x328810=>_0x328810[_0x4ca4db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ca4db([0x2a])))[_0x4ca4db([0x6d,0x61,0x70])](_0x208295=>_0x208295[_0x4ca4db([0x73,0x70,0x6c,0x69,0x74])](_0x4ca4db([0x2e])))[_0x4ca4db([0x73,0x6f,0x6d,0x65])](_0x53290a=>_0x5449b7[_0x4ca4db([0x65,0x76,0x65,0x72,0x79])]((_0x370b8f,_0x1a2198)=>_0x53290a[_0x1a2198]===_0x370b8f||_0x53290a[_0x1a2198]===_0x4ca4db([0x2a])));}function _0x583d8b(){return _0x179875&&_0xb79794?new window[(_0x4ca4db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ae88a,_0x6379fe)=>{_0x179875[_0x4ca4db([0x74,0x68,0x65,0x6e])](_0x2ae88a,_0x6379fe),_0xb79794[_0x4ca4db([0x74,0x68,0x65,0x6e])](_0x2720c1=>{_0x2720c1!=_0x4ca4db([0x56,0x61,0x6c,0x69,0x64])&&_0x2ae88a(_0x2720c1);},_0x6379fe);}):_0x179875||_0xb79794||_0x4ca4db([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34e8a2(_0xb6d064,_0x138284){return new window[(_0x4ca4db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2ada=>{if(_0x47114b())return _0x1d2ada(_0x4ca4db([0x56,0x61,0x6c,0x69,0x64]));_0x2884c7(),_0x47bf58[_0x4ca4db([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ca4db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4802cc=!0x1;const _0x187d98=_0x13c5ae();function _0xf166c4(_0x48ffdf){return!!_0x48ffdf&&(typeof _0x48ffdf===_0x4ca4db([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x48ffdf===_0x4ca4db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x48ffdf[_0x4ca4db([0x74,0x68,0x65,0x6e])]===_0x4ca4db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x48ffdf[_0x4ca4db([0x63,0x61,0x74,0x63,0x68])]===_0x4ca4db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11a6d7(_0x3d6edb){_0x1a3d21(_0x3d6edb)[_0x4ca4db([0x74,0x68,0x65,0x6e])](_0x296380=>{if(!_0x296380||_0x296380[_0x4ca4db([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ca4db([0x6f,0x6b]))return _0x4ca4db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e031(_0x594537(_0x187d98+_0x138284))!=_0x296380[_0x4ca4db([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ca4db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ca4db([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ca4db([0x74,0x68,0x65,0x6e])](_0x465032=>(_0x1432d9(),_0x465032),()=>{const _0xbc0bc6=_0x26e44();return null==_0xbc0bc6?(_0x1432d9(),_0x4ca4db([0x56,0x61,0x6c,0x69,0x64])):_0x4ca4db(_0x583a1b-_0xbc0bc6>(0x192268ae^_0x3f7211)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ca4db([0x74,0x68,0x65,0x6e])](_0x1d2ada)[_0x4ca4db([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d2ada(_0x4ca4db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e7c8e=0x3d18022e^_0x3f7211;function _0x1432d9(){const _0x4b0213=_0x4ca4db([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e031(_0x594537(_0xb6d064)),_0xc498f1=_0xf1d43(_0x2e031(window[_0x4ca4db([0x4d,0x61,0x74,0x68])][_0x4ca4db([0x63,0x65,0x69,0x6c])](_0x583a1b/_0x4e7c8e)));window[_0x4ca4db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ca4db([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b0213,_0xc498f1);}function _0x26e44(){const _0x158bf7=_0x4ca4db([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e031(_0x594537(_0xb6d064)),_0xa2f0a7=window[_0x4ca4db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ca4db([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x158bf7);return _0xa2f0a7?window[_0x4ca4db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1d43(_0xa2f0a7),0x10)*_0x4e7c8e:null;}function _0x1a3d21(_0x216a35){return new window[(_0x4ca4db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x228b31,_0x59edef)=>{_0x216a35[_0x4ca4db([0x74,0x68,0x65,0x6e])](_0x228b31,_0x59edef),window[_0x4ca4db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59edef,0x3d2f386e^_0x3f7211);});}}_0x47bf58[_0x4ca4db([0x6f,0x6e])](_0x4ca4db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b9005,_0x2d2223)=>{if(_0x2d2223[0x0]!=_0xb6d064)return _0x1d2ada(_0x4ca4db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d2223[0x1]={..._0x2d2223[0x1],[_0x4ca4db([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x187d98};},{[_0x4ca4db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ca4db([0x68,0x69,0x67,0x68])}),_0x47bf58[_0x4ca4db([0x6f,0x6e])](_0x4ca4db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x573f0a=>{_0xf166c4(_0x573f0a[_0x4ca4db([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4802cc=!0x0,_0x11a6d7(_0x573f0a[_0x4ca4db([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ca4db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ca4db([0x6c,0x6f,0x77])}),_0x4a9c0f[_0x4ca4db([0x74,0x68,0x65,0x6e])](()=>{_0x4802cc||_0x1d2ada(_0x4ca4db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47114b(){return _0x47bf58[_0x4ca4db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ca4db([0x76,0x69,0x65,0x77])][_0x4ca4db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ca4db([0x61,0x75,0x74,0x6f]);}function _0x2884c7(){_0x47bf58[_0x4ca4db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ca4db([0x76,0x69,0x65,0x77])][_0x4ca4db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ca4db([0x61,0x75,0x74,0x6f]);}}function _0x2b0b7f(_0x178f8c){const _0x41e681=[new window[(_0x4ca4db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a4536=>setTimeout(_0x1a4536,0x3d27d262^_0x3f7211)),_0x4a9c0f[_0x4ca4db([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ca4db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x575b95=>{let _0x1dca20=0x0;_0x47bf58[_0x4ca4db([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ca4db([0x6f,0x6e])](_0x4ca4db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x171bc8,_0x336fdd)=>{_0x336fdd[0x0][_0x4ca4db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1dca20++,_0x1dca20==(0x3d2eed56^_0x3f7211)&&(_0x575b95(),_0x171bc8[_0x4ca4db([0x6f,0x66,0x66])]());});}))];return window[_0x4ca4db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ca4db([0x72,0x61,0x63,0x65])](_0x41e681)[_0x4ca4db([0x74,0x68,0x65,0x6e])](()=>_0x178f8c);}async function _0x27ae66(){await _0x4a9c0f,_0x47bf58[_0x4ca4db([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ca4db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bc748,_0x47bf58[_0x4ca4db([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ca4db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bc748,_0x47bf58[_0x4ca4db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ca4db([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x405797(_0x85b3f4){const _0x4b4af7=_0x4ac3be();_0x47bf58[_0x4b4af7]=_0x4ca4db([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x85b3f4,_0x85b3f4!=_0x4ca4db([0x56,0x61,0x6c,0x69,0x64])&&_0x27ae66();}function _0x4ac3be(){const _0x2e4e6c=window[_0x4ca4db([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ca4db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ca4db([0x6e,0x6f,0x77])]())[_0x4ca4db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ca4db([0x2e]),'');let _0x2099c3=_0x4ca4db([0x6a]);for(let _0x1c5fb4=0x0;_0x1c5fb4<_0x2e4e6c[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c5fb4+=0x2){let _0x124567=window[_0x4ca4db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e4e6c[_0x4ca4db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c5fb4,_0x1c5fb4+0x2));_0x124567>=_0x12adf5[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x124567-=_0x12adf5[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2099c3+=_0x12adf5[_0x124567];}return _0x2099c3;}function _0x3da38f(){const _0x2c7b3e=_0x2215e8[_0x4ca4db([0x73,0x70,0x6c,0x69,0x74])](_0x4ca4db([0x2e]));if(0x3!=_0x2c7b3e[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55dd1b(_0x2c7b3e[0x1]);function _0x55dd1b(_0x36b7c5){const _0x29acd3=_0x26e783(_0x36b7c5);return _0x29acd3&&_0x1879ad()?_0x29acd3:null;function _0x1879ad(){const _0x5d7da2=_0x29acd3[_0x4ca4db([0x6a,0x74,0x69])],_0x24c97b=window[_0x4ca4db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d7da2[_0x4ca4db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d7da2[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17ba54={..._0x29acd3,[_0x4ca4db([0x6a,0x74,0x69])]:_0x5d7da2[_0x4ca4db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d7da2[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17ba54[_0x4ca4db([0x76,0x63])],_0x594537(_0x17ba54)==_0x24c97b;}}}async function _0x49f6e1(){let _0x453ed8=!0x0;try{const _0x6da6af=_0x2215e8[_0x4ca4db([0x73,0x70,0x6c,0x69,0x74])](_0x4ca4db([0x2e])),[_0x33c266,_0x544610,_0x2c1f0a]=_0x6da6af;return _0x390a36(_0x33c266),await _0x55eac5(_0x33c266,_0x544610,_0x2c1f0a),_0x453ed8;}catch{return!0x1;}function _0x390a36(_0x2572cb){const _0x2d7009=_0x26e783(_0x2572cb);_0x2d7009&&_0x2d7009[_0x4ca4db([0x61,0x6c,0x67])]==_0x4ca4db([0x45,0x53,0x32,0x35,0x36])||(_0x453ed8=!0x1);}async function _0x55eac5(_0x94ef0b,_0x4d86c1,_0x3b7bb8){const _0x53f553=window[_0x4ca4db([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ca4db([0x66,0x72,0x6f,0x6d])](_0x57e86c(_0x3b7bb8),_0x3cfe91=>_0x3cfe91[_0x4ca4db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5aae0a=new window[(_0x4ca4db([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ca4db([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x94ef0b+_0x4ca4db([0x2e])+_0x4d86c1),_0x2ddea6=window[_0x4ca4db([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ca4db([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ddea6)return;const _0x2e6538=await _0x2ddea6[_0x4ca4db([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ca4db([0x6a,0x77,0x6b]),_0x395cdf,{[_0x4ca4db([0x6e,0x61,0x6d,0x65])]:_0x4ca4db([0x45,0x43,0x44,0x53,0x41]),[_0x4ca4db([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ca4db([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ca4db([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ddea6[_0x4ca4db([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ca4db([0x6e,0x61,0x6d,0x65])]:_0x4ca4db([0x45,0x43,0x44,0x53,0x41]),[_0x4ca4db([0x68,0x61,0x73,0x68])]:{[_0x4ca4db([0x6e,0x61,0x6d,0x65])]:_0x4ca4db([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e6538,_0x53f553,_0x5aae0a)||(_0x453ed8=!0x1);}}function _0x26e783(_0x43598c){return _0x43598c[_0x4ca4db([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ca4db([0x65,0x79]))?JSON[_0x4ca4db([0x70,0x61,0x72,0x73,0x65])](_0x57e86c(_0x43598c)):null;}function _0x57e86c(_0x4f2fc0){return window[_0x4ca4db([0x61,0x74,0x6f,0x62])](_0x4f2fc0[_0x4ca4db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ca4db([0x2b]))[_0x4ca4db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ca4db([0x2f])));}function _0x594537(_0x5bb738){let _0x4b9ca4=0x1505;function _0x4f3468(_0x52f8a9){for(let _0x361790=0x0;_0x361790<_0x52f8a9[_0x4ca4db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x361790++){const _0x7ee89c=_0x52f8a9[_0x4ca4db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x361790);_0x4b9ca4=(_0x4b9ca4<<0x5)+_0x4b9ca4+_0x7ee89c,_0x4b9ca4&=_0x4b9ca4;}}function _0x367319(_0x515440){Array[_0x4ca4db([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x515440)?_0x515440[_0x4ca4db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x367319):_0x515440&&typeof _0x515440==_0x4ca4db([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ca4db([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x515440)[_0x4ca4db([0x73,0x6f,0x72,0x74])]()[_0x4ca4db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2506f0,_0xc20df])=>{_0x4f3468(_0x2506f0),_0x367319(_0xc20df);}):_0x4f3468(window[_0x4ca4db([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x515440));}return _0x367319(_0x5bb738),_0x4b9ca4>>>0x0;}function _0x2e031(_0x658d5a){return _0x658d5a[_0x4ca4db([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ca4db([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ca4db([0x30]));}function _0xf1d43(_0x3fe11e){return _0x3fe11e[_0x4ca4db([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ca4db([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ca4db([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bc748(){}function _0x4ca4db(_0x3f273a){const _0xbe87e8=_0x3df6;return _0x3f273a[_0xbe87e8(0x1e3)](_0x1f0b3f=>String[_0xbe87e8(0x1fa)](_0x1f0b3f))[_0xbe87e8(0x1ea)]('');}_0x405797(await _0x5a6b50());}(this);}[_0x1f22d0(0x1f2)](){const _0x913f31=_0x1f22d0,_0x52a3b6=this[_0x913f31(0x1ac)][_0x913f31(0x1f0)][_0x913f31(0x1f5)];_0x52a3b6[_0x913f31(0x1f7)](_0x913f31(0x1b8))&&_0x52a3b6[_0x913f31(0x1e5)](_0x913f31(0x1b8),{'allowAttributes':[_0x913f31(0x1f8)]}),_0x52a3b6[_0x913f31(0x1f7)](_0x913f31(0x1be))&&_0x52a3b6[_0x913f31(0x1e5)](_0x913f31(0x1be),{'allowAttributes':[_0x913f31(0x1f8)]});}[_0x1f22d0(0x1ef)](){const _0x1fc897=_0x1f22d0,_0x15289a=this[_0x1fc897(0x1ac)];_0x15289a[_0x1fc897(0x1b9)][_0x1fc897(0x1da)](_0x1fc897(0x1f6))[_0x1fc897(0x1c4)]({'model':_0x1fc897(0x1f8),'view':_0x1fc897(0x1dd)}),_0x15289a[_0x1fc897(0x1b9)][_0x1fc897(0x1da)](_0x1fc897(0x1ec))[_0x1fc897(0x1b3)]({'model':{'key':_0x1fc897(0x1f8),'value':_0x2b6cf2=>_0x2b6cf2[_0x1fc897(0x1dc)](_0x1fc897(0x1dd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4354ff=_0x15289a[_0x1fc897(0x1bd)][_0x1fc897(0x1ba)](_0x1fc897(0x1bc));_0x4354ff&&this[_0x1fc897(0x1b7)](_0x4354ff,_0x1fc897(0x1db),(_0x2d7bdc,[_0x13a63b,_0x2f993f])=>{const _0x1b526e=_0x1fc897;_0x13a63b[_0x1b526e(0x1c3)](_0x1b526e(0x1f8),_0x2f993f);});}[_0x1f22d0(0x1c2)](){const _0x4daa17=_0x1f22d0,_0x1b8cea=this[_0x4daa17(0x1ac)][_0x4daa17(0x1b4)][_0x4daa17(0x1ba)](_0x4daa17(0x1a9))||{},_0x3da4a3=this[_0x4daa17(0x1ac)][_0x4daa17(0x1b4)][_0x4daa17(0x1ba)](_0x4daa17(0x1eb))||'';this[_0x4daa17(0x1e9)]=_0x15f999(_0x16c1c2[_0x4daa17(0x1df)],_0x4daa17(0x1f4),{..._0x1b8cea,'pubkey':_0x3da4a3,'ctx-name':_0x4daa17(0x1b0),'sourceList':'','imgOnly':_0x4daa17(0x1b2),'removeCopyright':_0x4daa17(0x1b2),'localeName':this[_0x4daa17(0x1ac)][_0x4daa17(0x1ae)][_0x4daa17(0x1d2)],'externalSourcesEmbedCss':_0x4daa17(0x1b1)}),this[_0x4daa17(0x1e9)][_0x4daa17(0x1d5)]=_0x45df65=>{const _0x2349ee=_0x4daa17;if(_0x2349ee(0x1cd)==_0x45df65)return _0x2349ee(0x1e7);},_0x16c1c2[_0x4daa17(0x1df)][_0x4daa17(0x1f1)][_0x4daa17(0x1cc)](this[_0x4daa17(0x1e9)]);}[_0x1f22d0(0x1d0)](){const _0x1a3f4e=_0x1f22d0;this[_0x1a3f4e(0x1d4)]=_0x15f999(_0x16c1c2[_0x1a3f4e(0x1df)],_0x1a3f4e(0x1ab),{'ctx-name':_0x1a3f4e(0x1b0)}),_0x16c1c2[_0x1a3f4e(0x1df)][_0x1a3f4e(0x1f1)][_0x1a3f4e(0x1cc)](this[_0x1a3f4e(0x1d4)]);}[_0x1f22d0(0x1b6)](){const _0x52ad18=_0x1f22d0,_0x3b48a6=this[_0x52ad18(0x1ac)][_0x52ad18(0x1bd)][_0x52ad18(0x1ba)](_0x52ad18(0x1a8));_0x3b48a6&&this[_0x52ad18(0x1b7)](_0x3b48a6,_0x52ad18(0x1b5),()=>{const _0x289652=_0x52ad18,_0x25e851=this[_0x289652(0x1ac)][_0x289652(0x1f0)][_0x289652(0x1df)][_0x289652(0x1c8)][_0x289652(0x1fb)]();_0x25e851&&_0x25e851[_0x289652(0x1dc)](_0x289652(0x1f8))&&this[_0x289652(0x1ac)][_0x289652(0x1d8)][_0x289652(0x1e6)][_0x289652(0x1c7)](_0x289652(0x1cf),()=>{const _0x283ac2=_0x289652;_0xa8a80b(this[_0x283ac2(0x1ac)],_0x25e851);});});const _0x41ed7f=this[_0x52ad18(0x1ac)][_0x52ad18(0x1bd)][_0x52ad18(0x1ba)](_0x52ad18(0x1ad));_0x41ed7f&&this[_0x52ad18(0x1b7)](_0x41ed7f,_0x52ad18(0x1b5),()=>{const _0x107d1c=_0x52ad18,_0x1efc29=this[_0x107d1c(0x1ac)][_0x107d1c(0x1f0)][_0x107d1c(0x1df)][_0x107d1c(0x1c8)][_0x107d1c(0x1fb)]();_0x1efc29&&_0x1efc29[_0x107d1c(0x1dc)](_0x107d1c(0x1f8))&&this[_0x107d1c(0x1ac)][_0x107d1c(0x1d8)][_0x107d1c(0x1e6)][_0x107d1c(0x1c7)](_0x107d1c(0x1cf),()=>{const _0x2ec7b0=_0x107d1c;_0xa8a80b(this[_0x2ec7b0(0x1ac)],_0x1efc29);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x47e8cf,ObservableMixin as _0x3de641}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56b3f4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x41830c}from'ckeditor5/src/icons.js';import _0x4021f4 from'./uploadcareimageeditformview.js';import _0x153519 from'../../utils/uploadutils.js';import{getImageUrls as _0x36ed34,getImageDimension as _0x29cc01}from'../../utils/editingutils.js';import{isAncestor as _0x54e4f5}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x3de641(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1cdb5a,_0x1e538d,_0x5d176e){super(),this['_editor']=_0x1cdb5a,this['_dialog']=_0x1e538d,this['_imageElement']=_0x5d176e,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 _0x83b18a=this['_imageElement'],_0x3c72f1=_0x83b18a['getAttribute']('uploadcareImageId'),_0xb632fa=_0x83b18a['getAttribute']('src');if(_0x3c72f1)await this['_loadImageInfo'](_0x3c72f1,_0xb632fa);else{if(this['_imageCache']['has'](_0xb632fa)){const _0x29335a=this['_imageCache']['get'](_0xb632fa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29335a['url'],this['imageDimension']=_0x29335a['dimension'],this['imageId']=_0x29335a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5e5978}=this['_editor'],t=_0x5e5978['t'],_0xd240a5=new _0x4021f4(_0x5e5978,this['imageStatus'],this['_attributes']);_0xd240a5['bind']('status')['to'](this,'imageStatus'),_0xd240a5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xd240a5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xd240a5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xd240a5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x41830c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xd240a5,'position':_0x56b3f4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xd240a5['focus']();},'onHide':()=>{_0xd240a5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1a05d9=>!_0x54e4f5(_0x1a05d9,_0xd240a5['element'])}});}['_loadImageInfo'](_0x4aa3cb,_0x2dc4ab){return _0x153519['getInfo'](_0x4aa3cb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x6bcdc7=>{const {width:_0x5d486b,height:_0x56686f}=_0x6bcdc7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2dc4ab,this['imageDimension']={'width':_0x5d486b,'height':_0x56686f},this['imageId']=_0x4aa3cb;})['catch'](_0x3addb5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3addb5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cfba5,_0xb6108f){return this['_getImageAsFile'](_0x2cfba5)['then'](_0x3e964c=>_0x153519['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xb6108f['signal'],'file':_0x3e964c,'onProgress':_0x29008f=>{_0x29008f&&_0x29008f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x29008f['value']));}}))['then'](_0x5d62de=>{const {width:_0x5888be,height:_0x4e3f44}=_0x5d62de['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d62de['cdnUrl'],this['imageDimension']={'width':_0x5888be,'height':_0x4e3f44},this['imageId']=_0x5d62de['uuid'],this['imageUploadProgress']=null;const _0x4f548f=_0x2cfba5['getAttribute']('src');this['_imageCache']['set'](_0x4f548f,{'id':_0x5d62de['uuid'],'url':_0x5d62de['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2cd6e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2cd6e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1445e0,_0x213989){_0x1445e0['on']('apply',(_0x24c869,_0x311c6f)=>{this['_replaceImage'](_0x213989,_0x311c6f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1445e0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1445e0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3719d9,_0x5cc2a5,_0x316665){const _0x35de35=this['_editor'],{width:_0x35b989,height:_0x5aecaa}=_0x29cc01(_0x5cc2a5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x55c75b,imageSources:_0x83fdc2}=_0x36ed34(_0x5cc2a5,_0x35b989);_0x35de35['model']['change'](_0x4bf61b=>{if('$graveyard'===_0x3719d9['root']['rootName']){_0x35de35['execute']('insertImage',{'imageType':_0x3719d9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3719d9['getAttributes']()),'uploadcareImageId':_0x316665,'src':_0x55c75b,'sources':_0x83fdc2,'width':_0x35b989,'height':_0x5aecaa}});const _0x46f3f5=_0x3719d9['getChildren']();_0x3719d9=_0x35de35['model']['document']['selection']['getSelectedElement']();for(const _0x386633 of _0x46f3f5)_0x4bf61b['append'](_0x4bf61b['cloneElement'](_0x386633),_0x3719d9);}else _0x4bf61b['setSelection'](_0x3719d9,'on'),_0x35de35['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3719d9['getAttributes']()),'uploadcareImageId':_0x316665,'src':_0x55c75b,'sources':_0x83fdc2,'width':_0x35b989,'height':_0x5aecaa},_0x3719d9);_0x4bf61b['setSelection'](_0x3719d9,'on');});}async['_getImageAsFile'](_0xacbf2b){const _0x5789a0=_0x47e8cf['window'],_0x2b7c62=_0x47e8cf['document']['location']['href'],_0x58d385=new _0x5789a0['URL'](_0xacbf2b['getAttribute']('src'),_0x2b7c62);if('data:'===_0x58d385['protocol']){const _0x2f02b7=_0x58d385['href']['split'](','),_0x4e40aa=_0x2f02b7[0x0]['match'](/:(.*?);/)[0x1],_0x2761ec=_0x4e40aa['split']('/')[0x1],_0x50b666=_0x5789a0['atob'](_0x2f02b7[_0x2f02b7['length']-0x1]);let _0x440f87=_0x50b666['length'];const _0x1d41cf=new _0x5789a0['Uint8Array'](_0x440f87);for(;_0x440f87--;)_0x1d41cf[_0x440f87]=_0x50b666['charCodeAt'](_0x440f87);return new _0x5789a0['File']([_0x1d41cf],'image.'+_0x2761ec,{'type':_0x4e40aa});}const _0xb5cd09=_0x58d385['href']['split']('/'),_0x346a5e=_0xb5cd09[_0xb5cd09['length']-0x1],_0x5842c0=_0x346a5e['split']('.')[0x1];return _0x5789a0['fetch'](_0x58d385['href'])['then'](_0x366a0f=>_0x366a0f['clone']()['blob']())['then'](_0x38d1ad=>new _0x5789a0['File']([_0x38d1ad],_0x346a5e,{'type':'image/'+_0x5842c0}));}}
23
+ import{global as _0x3b7ceb,ObservableMixin as _0x3447be}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x209c24}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5d05c5}from'ckeditor5/src/icons.js';import _0x1251d8 from'./uploadcareimageeditformview.js';import _0x34452c from'../../utils/uploadutils.js';import{getImageUrls as _0xb99932,getImageDimension as _0x121d02}from'../../utils/editingutils.js';import{isAncestor as _0x1b6c87}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
+ _0x3447be(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xcaed6e,_0x4fc91a,_0xe53eb6){super(),this['_editor']=_0xcaed6e,this['_dialog']=_0x4fc91a,this['_imageElement']=_0xe53eb6,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 _0x51ad1f=this['_imageElement'],_0x55f1d9=_0x51ad1f['getAttribute']('uploadcareImageId'),_0x41259b=_0x51ad1f['getAttribute']('src');if(_0x55f1d9)await this['_loadImageInfo'](_0x55f1d9,_0x41259b);else{if(this['_imageCache']['has'](_0x41259b)){const _0x5aff31=this['_imageCache']['get'](_0x41259b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5aff31['url'],this['imageDimension']=_0x5aff31['dimension'],this['imageId']=_0x5aff31['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x110092}=this['_editor'],t=_0x110092['t'],_0x31cd43=new _0x1251d8(_0x110092,this['imageStatus'],this['_attributes']);_0x31cd43['bind']('status')['to'](this,'imageStatus'),_0x31cd43['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x31cd43['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x31cd43['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x31cd43,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5d05c5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x31cd43,'position':_0x209c24['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x31cd43['focus']();},'onHide':()=>{_0x31cd43['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x59cae6=>!_0x1b6c87(_0x59cae6,_0x31cd43['element'])}});}['_loadImageInfo'](_0x4ad016,_0x1c6671){return _0x34452c['getInfo'](_0x4ad016,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xc4794c=>{const {width:_0x5e119c,height:_0x3d5ded}=_0xc4794c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c6671,this['imageDimension']={'width':_0x5e119c,'height':_0x3d5ded},this['imageId']=_0x4ad016;})['catch'](_0x4ca46b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ca46b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x846557,_0x39c7e5){return this['_getImageAsFile'](_0x846557)['then'](_0x4d1ca0=>_0x34452c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x39c7e5['signal'],'file':_0x4d1ca0,'onProgress':_0x148e6b=>{_0x148e6b&&_0x148e6b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x148e6b['value']));}}))['then'](_0x42071d=>{const {width:_0x19ce39,height:_0x16e98d}=_0x42071d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42071d['cdnUrl'],this['imageDimension']={'width':_0x19ce39,'height':_0x16e98d},this['imageId']=_0x42071d['uuid'],this['imageUploadProgress']=null;const _0x3dfc66=_0x846557['getAttribute']('src');this['_imageCache']['set'](_0x3dfc66,{'id':_0x42071d['uuid'],'url':_0x42071d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1ad3e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ad3e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x30ed7f,_0x24a90e){_0x30ed7f['on']('apply',(_0x37e3fb,_0x273074)=>{this['_replaceImage'](_0x24a90e,_0x273074['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x30ed7f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x30ed7f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x182c58,_0x2b4815,_0x1c7eb3){const _0x30f206=this['_editor'],{width:_0x12e229,height:_0x3a6582}=_0x121d02(_0x2b4815,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1766d1,imageSources:_0x25bf15}=_0xb99932(_0x2b4815,_0x12e229);_0x30f206['model']['change'](_0x130e4c=>{if('$graveyard'===_0x182c58['root']['rootName']){_0x30f206['execute']('insertImage',{'imageType':_0x182c58['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x182c58['getAttributes']()),'uploadcareImageId':_0x1c7eb3,'src':_0x1766d1,'sources':_0x25bf15,'width':_0x12e229,'height':_0x3a6582}});const _0x46a42b=_0x182c58['getChildren']();_0x182c58=_0x30f206['model']['document']['selection']['getSelectedElement']();for(const _0x30d819 of _0x46a42b)_0x130e4c['append'](_0x130e4c['cloneElement'](_0x30d819),_0x182c58);}else _0x130e4c['setSelection'](_0x182c58,'on'),_0x30f206['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x182c58['getAttributes']()),'uploadcareImageId':_0x1c7eb3,'src':_0x1766d1,'sources':_0x25bf15,'width':_0x12e229,'height':_0x3a6582},_0x182c58);_0x130e4c['setSelection'](_0x182c58,'on');});}async['_getImageAsFile'](_0xaba7e){const _0x4ca9e0=_0x3b7ceb['window'],_0x390cf5=_0x3b7ceb['document']['location']['href'],_0x2b196e=new _0x4ca9e0['URL'](_0xaba7e['getAttribute']('src'),_0x390cf5);if('data:'===_0x2b196e['protocol']){const _0x10baa6=_0x2b196e['href']['split'](','),_0x34a0b5=_0x10baa6[0x0]['match'](/:(.*?);/)[0x1],_0x544e25=_0x34a0b5['split']('/')[0x1],_0x5099e7=_0x4ca9e0['atob'](_0x10baa6[_0x10baa6['length']-0x1]);let _0x1068f2=_0x5099e7['length'];const _0x5c7eb0=new _0x4ca9e0['Uint8Array'](_0x1068f2);for(;_0x1068f2--;)_0x5c7eb0[_0x1068f2]=_0x5099e7['charCodeAt'](_0x1068f2);return new _0x4ca9e0['File']([_0x5c7eb0],'image.'+_0x544e25,{'type':_0x34a0b5});}const _0x39f195=_0x2b196e['href']['split']('/'),_0x2cc66e=_0x39f195[_0x39f195['length']-0x1],_0x254bf3=_0x2cc66e['split']('.')[0x1];return _0x4ca9e0['fetch'](_0x2b196e['href'])['then'](_0x1e2026=>_0x1e2026['clone']()['blob']())['then'](_0x3e3e37=>new _0x4ca9e0['File']([_0x3e3e37],_0x2cc66e,{'type':'image/'+_0x254bf3}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bec(){const _0x1f25c0=['3455811yuBwPc','uc-light','image-edit','5QyKiLG','543VwCghd','imageSrc','272InQHUE','ck-uploadcare-theme','37051RxzMYs','bindTemplate','4176AWCFhf','146vynkpx','9539mdawOM','setTemplate','set','7623970niHmaH','33UqWtHi','uc-cloud-image-editor','1207692xxUVzA','832806ZixziD'];_0x3bec=function(){return _0x1f25c0;};return _0x3bec();}function _0x51ae(_0x420e0b,_0xb734bb){const _0x3beca6=_0x3bec();return _0x51ae=function(_0x51aebe,_0x115d26){_0x51aebe=_0x51aebe-0x10e;let _0xe0e2bd=_0x3beca6[_0x51aebe];return _0xe0e2bd;},_0x51ae(_0x420e0b,_0xb734bb);}(function(_0x57f18e,_0x5384ed){const _0x42d023=_0x51ae,_0x148892=_0x57f18e();while(!![]){try{const _0x2d53e2=parseInt(_0x42d023(0x121))/0x1*(parseInt(_0x42d023(0x120))/0x2)+parseInt(_0x42d023(0x119))/0x3*(-parseInt(_0x42d023(0x11f))/0x4)+-parseInt(_0x42d023(0x118))/0x5*(-parseInt(_0x42d023(0x114))/0x6)+parseInt(_0x42d023(0x11d))/0x7*(-parseInt(_0x42d023(0x11b))/0x8)+parseInt(_0x42d023(0x115))/0x9+-parseInt(_0x42d023(0x110))/0xa+parseInt(_0x42d023(0x111))/0xb*(parseInt(_0x42d023(0x113))/0xc);if(_0x2d53e2===_0x5384ed)break;else _0x148892['push'](_0x148892['shift']());}catch(_0x395dd3){_0x148892['push'](_0x148892['shift']());}}}(_0x3bec,0x5f25f));import{View as _0x35dbc5}from'ckeditor5/src/ui.js';export default class tt extends _0x35dbc5{constructor(_0xb232f2,_0xb783b4){const _0x456069=_0x51ae;super(_0xb232f2);const _0x40b24b=this[_0x456069(0x11e)];this[_0x456069(0x10f)](_0x456069(0x11a),''),this[_0x456069(0x10e)]({'tag':_0x456069(0x112),'attributes':{..._0xb783b4,'class':[_0x456069(0x116),_0x456069(0x11c)],'ctx-name':_0x456069(0x117),'cdn-url':_0x40b24b['to'](_0x456069(0x11a))}});}}
23
+ (function(_0x58c6df,_0x54379c){const _0x92402c=_0x3f4a,_0x412095=_0x58c6df();while(!![]){try{const _0x10db74=-parseInt(_0x92402c(0x1ad))/0x1*(-parseInt(_0x92402c(0x1a9))/0x2)+parseInt(_0x92402c(0x1b8))/0x3+-parseInt(_0x92402c(0x1b1))/0x4+parseInt(_0x92402c(0x1b6))/0x5*(-parseInt(_0x92402c(0x1a8))/0x6)+parseInt(_0x92402c(0x1b2))/0x7*(-parseInt(_0x92402c(0x1b4))/0x8)+-parseInt(_0x92402c(0x1b7))/0x9*(parseInt(_0x92402c(0x1b3))/0xa)+parseInt(_0x92402c(0x1ac))/0xb;if(_0x10db74===_0x54379c)break;else _0x412095['push'](_0x412095['shift']());}catch(_0x551471){_0x412095['push'](_0x412095['shift']());}}}(_0x595f,0xd60b3));import{View as _0x3ed803}from'ckeditor5/src/ui.js';function _0x3f4a(_0x129dcb,_0x3cbcbd){const _0x595f10=_0x595f();return _0x3f4a=function(_0x3f4ad0,_0x5d4c3f){_0x3f4ad0=_0x3f4ad0-0x1a8;let _0x397b52=_0x595f10[_0x3f4ad0];return _0x397b52;},_0x3f4a(_0x129dcb,_0x3cbcbd);}export default class tt extends _0x3ed803{constructor(_0xb6842c,_0x336847){const _0x2fcd13=_0x3f4a;super(_0xb6842c);const _0x21ddc1=this[_0x2fcd13(0x1b9)];this[_0x2fcd13(0x1ba)](_0x2fcd13(0x1b0),''),this[_0x2fcd13(0x1af)]({'tag':_0x2fcd13(0x1ae),'attributes':{..._0x336847,'class':[_0x2fcd13(0x1aa),_0x2fcd13(0x1ab)],'ctx-name':_0x2fcd13(0x1b5),'cdn-url':_0x21ddc1['to'](_0x2fcd13(0x1b0))}});}}function _0x595f(){const _0xe7c30b=['9665HAHzgW','18sFDOac','2408202tRwCNr','bindTemplate','set','18srWHKT','230938eowaQl','uc-light','ck-uploadcare-theme','13521233WRJlVj','11FrHRNp','uc-cloud-image-editor','setTemplate','imageSrc','4264684YFETtY','35mpbcMp','3209790ltbwrd','1138312IdOXsd','image-edit'];_0x595f=function(){return _0xe7c30b;};return _0x595f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x11f5eb,IconView as at,View as _0x3a6e00}from'ckeditor5/src/ui.js';export default class rt extends _0x3a6e00{constructor(_0x3a1a93){super(_0x3a1a93);const t=_0x3a1a93['t'];this['set']('errorType',null);const _0x4c8c20=new _0x11f5eb(_0x3a1a93);_0x4c8c20['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c8c20['withText']=!0x0,_0x4c8c20['class']='ck-button-action',_0x4c8c20['on']('execute',()=>{this['fire']('retry');}),_0x4c8c20['bind']('isVisible')['to'](this,'errorType',_0x56767f=>'NotFound'!==_0x56767f);const _0x515816=new at();_0x515816['content']=et,_0x515816['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1b3b37=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':[_0x515816,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1b3b37['to']('errorType',_0x4eb45b=>t('NotFound'!==_0x4eb45b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c8c20]},{'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 _0x3618cb,IconView as at,View as _0x6d81fd}from'ckeditor5/src/ui.js';export default class rt extends _0x6d81fd{constructor(_0x51a278){super(_0x51a278);const t=_0x51a278['t'];this['set']('errorType',null);const _0x316f14=new _0x3618cb(_0x51a278);_0x316f14['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x316f14['withText']=!0x0,_0x316f14['class']='ck-button-action',_0x316f14['on']('execute',()=>{this['fire']('retry');}),_0x316f14['bind']('isVisible')['to'](this,'errorType',_0x2664f7=>'NotFound'!==_0x2664f7);const _0x229160=new at();_0x229160['content']=et,_0x229160['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x25de6b=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':[_0x229160,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x25de6b['to']('errorType',_0xb6a612=>t('NotFound'!==_0xb6a612?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x316f14]},{'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 _0x300d45,View as _0x1890da}from'ckeditor5/src/ui.js';export default class ta extends _0x1890da{constructor(_0x48f611){super(_0x48f611);const t=_0x48f611['t'],_0x4dbc5c=this['bindTemplate'],_0x364bea=new _0x300d45();_0x364bea['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':[_0x364bea,{'text':_0x4dbc5c['to']('imageUploadProgress',_0x2f938d=>t('Loading\x20image...')+'\x20('+(_0x2f938d||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 _0x392f73,View as _0xd1b402}from'ckeditor5/src/ui.js';export default class ta extends _0xd1b402{constructor(_0x1dea01){super(_0x1dea01);const t=_0x1dea01['t'],_0xeca15c=this['bindTemplate'],_0x42d676=new _0x392f73();_0x42d676['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':[_0x42d676,{'text':_0xeca15c['to']('imageUploadProgress',_0x50894b=>t('Loading\x20image...')+'\x20('+(_0x50894b||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x87b590=_0x4c56;(function(_0x4fefce,_0x86ccc0){const _0x16977c=_0x4c56,_0x236208=_0x4fefce();while(!![]){try{const _0x331b68=parseInt(_0x16977c(0x167))/0x1+-parseInt(_0x16977c(0x153))/0x2+-parseInt(_0x16977c(0x147))/0x3*(parseInt(_0x16977c(0x150))/0x4)+-parseInt(_0x16977c(0x14f))/0x5+-parseInt(_0x16977c(0x161))/0x6+parseInt(_0x16977c(0x149))/0x7+parseInt(_0x16977c(0x169))/0x8;if(_0x331b68===_0x86ccc0)break;else _0x236208['push'](_0x236208['shift']());}catch(_0x529d89){_0x236208['push'](_0x236208['shift']());}}}(_0x1d18,0xe511f));import{View as _0x110897}from'ckeditor5/src/ui.js';function _0x1d18(){const _0x280236=['set','3351306ZXwzXM','clear','_addErrorViewListeners','addEventListener','fire','_setView','1269558MkyIpr','filter','18574160nyxrts','setTemplate','observe','addMany','_errorView','_editingView','retry','apply','cancel','_items','_loadingView','getFocusableElement','uploading','uc-cloud-image-editor','ready','toLowerCase','render','querySelector','_focusableView','4951095HWyMdg','status','3376674OMUdRl','_waitForImageEditorComponent','detail','target','ck-uploadcare-form','ck-reset_all-excluded','3196970GqxMJi','4MOKaAY','div','nodeName','574258IIzYzH','addedNodes','disconnect','change:status','add','createCollection','length','focus','_addUploadcareImageEditorListeners','once','cdnUrl','error','element'];_0x1d18=function(){return _0x280236;};return _0x1d18();}import _0x58180e from'./uploadcareimageeditformloadingview.js';import _0x43266e from'./uploadcareimageeditformerrorview.js';import _0x3ce265 from'./uploadcareimageeditformeditingview.js';function _0x4c56(_0x1e3e15,_0x4018a8){const _0x1d18f3=_0x1d18();return _0x4c56=function(_0x4c568f,_0xc26a8f){_0x4c568f=_0x4c568f-0x13b;let _0x5ce8db=_0x1d18f3[_0x4c568f];return _0x5ce8db;},_0x4c56(_0x1e3e15,_0x4018a8);}import _0x5f2073 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x5f2073{[_0x87b590(0x13d)];[_0x87b590(0x13e)];[_0x87b590(0x16d)];[_0x87b590(0x16e)];[_0x87b590(0x146)];constructor(_0x52580b,_0x378363,_0x25e250){const _0x49b9d0=_0x87b590;super(_0x52580b),this[_0x49b9d0(0x13d)]=this[_0x49b9d0(0x158)](),this[_0x49b9d0(0x13e)]=new _0x58180e(_0x52580b),this[_0x49b9d0(0x16d)]=new _0x43266e(_0x52580b),this[_0x49b9d0(0x16e)]=new _0x3ce265(_0x52580b,_0x25e250),this[_0x49b9d0(0x146)]=new _0x110897(_0x52580b),this[_0x49b9d0(0x146)][_0x49b9d0(0x16a)](this[_0x49b9d0(0x13f)]()),this[_0x49b9d0(0x160)](_0x49b9d0(0x148),_0x378363),this[_0x49b9d0(0x16a)]({'tag':_0x49b9d0(0x151),'attributes':{'class':['ck',_0x49b9d0(0x14e),_0x49b9d0(0x14d)],'tabindex':'-1'},'children':this[_0x49b9d0(0x13d)]}),this[_0x49b9d0(0x166)](),this[_0x49b9d0(0x15c)](_0x49b9d0(0x144),()=>{const _0x5c3f8e=_0x49b9d0;this[_0x5c3f8e(0x14a)](this[_0x5c3f8e(0x15f)],_0xbdf40c=>{const _0x194c43=_0x5c3f8e;this[_0x194c43(0x15b)](_0xbdf40c);});}),this['on'](_0x49b9d0(0x156),()=>{const _0x5bd3e4=_0x49b9d0;this[_0x5bd3e4(0x166)]();}),this[_0x49b9d0(0x163)]();}[_0x87b590(0x15a)](){const _0xe440c0=_0x87b590;this[_0xe440c0(0x15f)][_0xe440c0(0x15a)]();}[_0x87b590(0x166)](){const _0x281f6c=_0x87b590;switch(this[_0x281f6c(0x13d)][_0x281f6c(0x162)](),this[_0x281f6c(0x148)]){case _0x281f6c(0x140):this[_0x281f6c(0x13d)][_0x281f6c(0x157)](this[_0x281f6c(0x13e)]);break;case _0x281f6c(0x15e):this[_0x281f6c(0x13d)][_0x281f6c(0x157)](this[_0x281f6c(0x16d)]);break;case _0x281f6c(0x142):this[_0x281f6c(0x13d)][_0x281f6c(0x16c)]([this[_0x281f6c(0x16e)],this[_0x281f6c(0x146)]]);}}[_0x87b590(0x14a)](_0x43ffce,_0x35da10){const _0x30d8d1=_0x87b590,_0x28143c=_0x30d8d1(0x141),_0x4f0c20=_0x43ffce[_0x30d8d1(0x145)](_0x28143c);if(_0x4f0c20)return _0x35da10(_0x4f0c20);const _0xb76937=new MutationObserver(_0x188038=>{const _0x491c65=_0x30d8d1,_0x279c6d=_0x188038[_0x491c65(0x168)](_0x29075a=>_0x29075a[_0x491c65(0x14c)]===_0x43ffce&&_0x29075a[_0x491c65(0x154)][_0x491c65(0x159)]>0x0&&_0x29075a[_0x491c65(0x154)][0x0][_0x491c65(0x152)][_0x491c65(0x143)]()===_0x28143c);_0x279c6d[_0x491c65(0x159)]&&(_0xb76937[_0x491c65(0x155)](),_0x35da10(_0x279c6d[0x0][_0x491c65(0x154)][0x0]));});_0xb76937[_0x30d8d1(0x16b)](_0x43ffce,{'childList':!0x0,'subtree':!0x0});}[_0x87b590(0x15b)](_0x432eda){const _0x4e7710=_0x87b590;_0x432eda[_0x4e7710(0x164)](_0x4e7710(0x13b),_0x58f94c=>{const _0x3d32e3=_0x4e7710;this[_0x3d32e3(0x165)](_0x3d32e3(0x13b),{'imageSrc':_0x58f94c[_0x3d32e3(0x14b)][_0x3d32e3(0x15d)]});}),_0x432eda[_0x4e7710(0x164)](_0x4e7710(0x13c),()=>{const _0x3fed0c=_0x4e7710;this[_0x3fed0c(0x165)](_0x3fed0c(0x13c));});}[_0x87b590(0x163)](){const _0x2aa4cd=_0x87b590;this[_0x2aa4cd(0x16d)]['on'](_0x2aa4cd(0x16f),()=>{const _0x2e3321=_0x2aa4cd;this[_0x2e3321(0x165)](_0x2e3321(0x16f));});}}
23
+ const _0x2a616a=_0x6eb1;(function(_0x3fbdba,_0x23b89e){const _0x3fdaa0=_0x6eb1,_0x43e86f=_0x3fbdba();while(!![]){try{const _0x46cd59=parseInt(_0x3fdaa0(0xb1))/0x1*(parseInt(_0x3fdaa0(0x9e))/0x2)+parseInt(_0x3fdaa0(0xbc))/0x3+parseInt(_0x3fdaa0(0x88))/0x4*(-parseInt(_0x3fdaa0(0x8d))/0x5)+parseInt(_0x3fdaa0(0xb5))/0x6+parseInt(_0x3fdaa0(0xa0))/0x7*(parseInt(_0x3fdaa0(0xbf))/0x8)+-parseInt(_0x3fdaa0(0x99))/0x9*(parseInt(_0x3fdaa0(0xbe))/0xa)+-parseInt(_0x3fdaa0(0x90))/0xb;if(_0x46cd59===_0x23b89e)break;else _0x43e86f['push'](_0x43e86f['shift']());}catch(_0x4e6b91){_0x43e86f['push'](_0x43e86f['shift']());}}}(_0x48c7,0xca56c));import{View as _0x314bf8}from'ckeditor5/src/ui.js';import _0x53dcdf from'./uploadcareimageeditformloadingview.js';import _0x5dfe80 from'./uploadcareimageeditformerrorview.js';function _0x48c7(){const _0xa9d851=['retry','_errorView','length','2925QjcnFD','fire','_addUploadcareImageEditorListeners','ck-uploadcare-form','error','2666qLepel','setTemplate','805973COBrCZ','filter','add','_addErrorViewListeners','disconnect','uploading','status','_loadingView','element','div','detail','observe','getFocusableElement','createCollection','focus','cancel','ck-reset_all-excluded','554pllUNK','uc-cloud-image-editor','querySelector','set','6833982IcaCBa','cdnUrl','_waitForImageEditorComponent','nodeName','change:status','_focusableView','_items','2123124eWPMkL','ready','18170hosdSs','72yknfMy','428qcDyIA','addEventListener','render','addMany','target','72575YzJVuh','addedNodes','apply','7139308vkcDaq','_editingView','_setView','once','toLowerCase','clear'];_0x48c7=function(){return _0xa9d851;};return _0x48c7();}import _0x4d0e1f from'./uploadcareimageeditformeditingview.js';import _0x148b3b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x6eb1(_0x24b744,_0x511fff){const _0x48c7ea=_0x48c7();return _0x6eb1=function(_0x6eb10b,_0xb70c62){_0x6eb10b=_0x6eb10b-0x88;let _0x12782f=_0x48c7ea[_0x6eb10b];return _0x12782f;},_0x6eb1(_0x24b744,_0x511fff);}export default class Z extends _0x148b3b{[_0x2a616a(0xbb)];[_0x2a616a(0xa7)];[_0x2a616a(0x97)];[_0x2a616a(0x91)];[_0x2a616a(0xba)];constructor(_0x1b3963,_0x40a535,_0x35f553){const _0x152b59=_0x2a616a;super(_0x1b3963),this[_0x152b59(0xbb)]=this[_0x152b59(0xad)](),this[_0x152b59(0xa7)]=new _0x53dcdf(_0x1b3963),this[_0x152b59(0x97)]=new _0x5dfe80(_0x1b3963),this[_0x152b59(0x91)]=new _0x4d0e1f(_0x1b3963,_0x35f553),this[_0x152b59(0xba)]=new _0x314bf8(_0x1b3963),this[_0x152b59(0xba)][_0x152b59(0x9f)](this[_0x152b59(0xac)]()),this[_0x152b59(0xb4)](_0x152b59(0xa6),_0x40a535),this[_0x152b59(0x9f)]({'tag':_0x152b59(0xa9),'attributes':{'class':['ck',_0x152b59(0xb0),_0x152b59(0x9c)],'tabindex':'-1'},'children':this[_0x152b59(0xbb)]}),this[_0x152b59(0x92)](),this[_0x152b59(0x93)](_0x152b59(0x8a),()=>{const _0x51f0f5=_0x152b59;this[_0x51f0f5(0xb7)](this[_0x51f0f5(0xa8)],_0x5be50c=>{const _0x1cce87=_0x51f0f5;this[_0x1cce87(0x9b)](_0x5be50c);});}),this['on'](_0x152b59(0xb9),()=>{const _0x2a04f7=_0x152b59;this[_0x2a04f7(0x92)]();}),this[_0x152b59(0xa3)]();}[_0x2a616a(0xae)](){const _0x4f0094=_0x2a616a;this[_0x4f0094(0xa8)][_0x4f0094(0xae)]();}[_0x2a616a(0x92)](){const _0x235b84=_0x2a616a;switch(this[_0x235b84(0xbb)][_0x235b84(0x95)](),this[_0x235b84(0xa6)]){case _0x235b84(0xa5):this[_0x235b84(0xbb)][_0x235b84(0xa2)](this[_0x235b84(0xa7)]);break;case _0x235b84(0x9d):this[_0x235b84(0xbb)][_0x235b84(0xa2)](this[_0x235b84(0x97)]);break;case _0x235b84(0xbd):this[_0x235b84(0xbb)][_0x235b84(0x8b)]([this[_0x235b84(0x91)],this[_0x235b84(0xba)]]);}}[_0x2a616a(0xb7)](_0x95ede5,_0x44f5a6){const _0x3ba986=_0x2a616a,_0x9ba81e=_0x3ba986(0xb2),_0x2c7303=_0x95ede5[_0x3ba986(0xb3)](_0x9ba81e);if(_0x2c7303)return _0x44f5a6(_0x2c7303);const _0x516259=new MutationObserver(_0x5a5b04=>{const _0xa38abc=_0x3ba986,_0x2b3076=_0x5a5b04[_0xa38abc(0xa1)](_0x2658e6=>_0x2658e6[_0xa38abc(0x8c)]===_0x95ede5&&_0x2658e6[_0xa38abc(0x8e)][_0xa38abc(0x98)]>0x0&&_0x2658e6[_0xa38abc(0x8e)][0x0][_0xa38abc(0xb8)][_0xa38abc(0x94)]()===_0x9ba81e);_0x2b3076[_0xa38abc(0x98)]&&(_0x516259[_0xa38abc(0xa4)](),_0x44f5a6(_0x2b3076[0x0][_0xa38abc(0x8e)][0x0]));});_0x516259[_0x3ba986(0xab)](_0x95ede5,{'childList':!0x0,'subtree':!0x0});}[_0x2a616a(0x9b)](_0x520061){const _0x50c365=_0x2a616a;_0x520061[_0x50c365(0x89)](_0x50c365(0x8f),_0x144889=>{const _0x4723fe=_0x50c365;this[_0x4723fe(0x9a)](_0x4723fe(0x8f),{'imageSrc':_0x144889[_0x4723fe(0xaa)][_0x4723fe(0xb6)]});}),_0x520061[_0x50c365(0x89)](_0x50c365(0xaf),()=>{const _0x45c83b=_0x50c365;this[_0x45c83b(0x9a)](_0x45c83b(0xaf));});}[_0x2a616a(0xa3)](){const _0x573de7=_0x2a616a;this[_0x573de7(0x97)]['on'](_0x573de7(0x96),()=>{const _0x3dcfec=_0x573de7;this[_0x3dcfec(0x9a)](_0x3dcfec(0x96));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4fec(){const _0x3f3ca2=['getSelectedElement','plugins','_isEditable','uploadcare.allowExternalImagesEditing','unbind','isEnabled','1373247QNIFwO','imageInline','bind','refresh','document','126LnXexb','set','element','isActive','get','422972VCRKEl','12964257YXNgeU','imageEditController','109970NIbbKp','config','170clTIKP','3dVJWar','selection','execute','requires','model','imageBlock','2097724wlqLwO','10qkgDxg','10376368LXlmbU','editor','1529174gDPYQV'];_0x4fec=function(){return _0x3f3ca2;};return _0x4fec();}function _0x2b78(_0x517b0c,_0x58e840){const _0x4fec0e=_0x4fec();return _0x2b78=function(_0x2b786c,_0x1f3a0d){_0x2b786c=_0x2b786c-0xd4;let _0x1bbd10=_0x4fec0e[_0x2b786c];return _0x1bbd10;},_0x2b78(_0x517b0c,_0x58e840);}const _0x3c4409=_0x2b78;(function(_0x48a570,_0x5f370c){const _0x530e59=_0x2b78,_0x2b4a09=_0x48a570();while(!![]){try{const _0x3752c6=-parseInt(_0x530e59(0xf4))/0x1+parseInt(_0x530e59(0xed))/0x2*(parseInt(_0x530e59(0xe3))/0x3)+parseInt(_0x530e59(0xe9))/0x4*(-parseInt(_0x530e59(0xea))/0x5)+-parseInt(_0x530e59(0xd8))/0x6*(-parseInt(_0x530e59(0xe0))/0x7)+parseInt(_0x530e59(0xeb))/0x8+parseInt(_0x530e59(0xde))/0x9+-parseInt(_0x530e59(0xe2))/0xa*(parseInt(_0x530e59(0xdd))/0xb);if(_0x3752c6===_0x5f370c)break;else _0x2b4a09['push'](_0x2b4a09['shift']());}catch(_0x11eeeb){_0x2b4a09['push'](_0x2b4a09['shift']());}}}(_0x4fec,0xb89ff));import{Command as _0x293e67}from'ckeditor5/src/core.js';import{Dialog as _0x1ab2d5}from'ckeditor5/src/ui.js';import _0x56fc76 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x138ca2}from'../utils/editingutils.js';export default class V extends _0x293e67{[_0x3c4409(0xdf)];static get[_0x3c4409(0xe6)](){return[_0x1ab2d5];}[_0x3c4409(0xf0)];constructor(_0xf75bbf){const _0x19ee54=_0x3c4409;super(_0xf75bbf),this[_0x19ee54(0xdf)]=void 0x0,this[_0x19ee54(0xf0)]=_0x138ca2(_0xf75bbf[_0x19ee54(0xe1)][_0x19ee54(0xdc)](_0x19ee54(0xf1))||[]),this[_0x19ee54(0xd9)]({'isActive':!0x1});}[_0x3c4409(0xd6)](){const _0x4e77f5=_0x3c4409,_0x143928=this[_0x4e77f5(0xec)][_0x4e77f5(0xe7)][_0x4e77f5(0xd7)][_0x4e77f5(0xe4)][_0x4e77f5(0xee)]();this[_0x4e77f5(0xf3)]=this[_0x4e77f5(0xf0)](_0x143928);}[_0x3c4409(0xe5)](){const _0x4994b1=_0x3c4409;this[_0x4994b1(0xdf)]&&(this[_0x4994b1(0xf2)](_0x4994b1(0xdb)),this[_0x4994b1(0xdf)]=void 0x0);const _0x227292=this[_0x4994b1(0xec)][_0x4994b1(0xe7)][_0x4994b1(0xd7)][_0x4994b1(0xe4)][_0x4994b1(0xee)]();_0x227292&&(_0x227292['is'](_0x4994b1(0xda),_0x4994b1(0xe8))||_0x227292['is'](_0x4994b1(0xda),_0x4994b1(0xd4)))&&(this[_0x4994b1(0xdf)]=new _0x56fc76(this[_0x4994b1(0xec)],this[_0x4994b1(0xec)][_0x4994b1(0xef)][_0x4994b1(0xdc)](_0x1ab2d5),_0x227292),this[_0x4994b1(0xd5)](_0x4994b1(0xdb))['to'](this[_0x4994b1(0xdf)],_0x4994b1(0xdb)));}}
23
+ const _0x48fb63=_0x348b;function _0x348b(_0x4e9266,_0xf0ae9c){const _0x1b2d28=_0x1b2d();return _0x348b=function(_0x348bb0,_0x5806ae){_0x348bb0=_0x348bb0-0x13f;let _0x5d6ad1=_0x1b2d28[_0x348bb0];return _0x5d6ad1;},_0x348b(_0x4e9266,_0xf0ae9c);}(function(_0x4cda6d,_0x51917d){const _0x6c066b=_0x348b,_0x1eb6a9=_0x4cda6d();while(!![]){try{const _0x1a33da=parseInt(_0x6c066b(0x13f))/0x1+-parseInt(_0x6c066b(0x152))/0x2*(-parseInt(_0x6c066b(0x14a))/0x3)+parseInt(_0x6c066b(0x157))/0x4+parseInt(_0x6c066b(0x15a))/0x5+-parseInt(_0x6c066b(0x151))/0x6*(parseInt(_0x6c066b(0x145))/0x7)+-parseInt(_0x6c066b(0x141))/0x8+parseInt(_0x6c066b(0x150))/0x9*(-parseInt(_0x6c066b(0x155))/0xa);if(_0x1a33da===_0x51917d)break;else _0x1eb6a9['push'](_0x1eb6a9['shift']());}catch(_0x20ecac){_0x1eb6a9['push'](_0x1eb6a9['shift']());}}}(_0x1b2d,0xb3a76));function _0x1b2d(){const _0x5276fe=['17740oTNexm','_isEditable','516056xZNdpt','imageEditController','document','6978370HjBhEQ','refresh','editor','isActive','config','406951PDmIpY','imageBlock','10894904iXdewJ','requires','element','set','21YYetnP','execute','selection','getSelectedElement','isEnabled','4476eHZLNB','uploadcare.allowExternalImagesEditing','unbind','bind','model','plugins','90vQgvbw','485772shZJrx','572rUNCSi','imageInline','get'];_0x1b2d=function(){return _0x5276fe;};return _0x1b2d();}import{Command as _0x38ee6b}from'ckeditor5/src/core.js';import{Dialog as _0x13718a}from'ckeditor5/src/ui.js';import _0x1bb34f from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x19201b}from'../utils/editingutils.js';export default class V extends _0x38ee6b{[_0x48fb63(0x158)];static get[_0x48fb63(0x142)](){return[_0x13718a];}[_0x48fb63(0x156)];constructor(_0x311337){const _0x2d319b=_0x48fb63;super(_0x311337),this[_0x2d319b(0x158)]=void 0x0,this[_0x2d319b(0x156)]=_0x19201b(_0x311337[_0x2d319b(0x15e)][_0x2d319b(0x154)](_0x2d319b(0x14b))||[]),this[_0x2d319b(0x144)]({'isActive':!0x1});}[_0x48fb63(0x15b)](){const _0x1bd8f1=_0x48fb63,_0x166e1c=this[_0x1bd8f1(0x15c)][_0x1bd8f1(0x14e)][_0x1bd8f1(0x159)][_0x1bd8f1(0x147)][_0x1bd8f1(0x148)]();this[_0x1bd8f1(0x149)]=this[_0x1bd8f1(0x156)](_0x166e1c);}[_0x48fb63(0x146)](){const _0xd48df=_0x48fb63;this[_0xd48df(0x158)]&&(this[_0xd48df(0x14c)](_0xd48df(0x15d)),this[_0xd48df(0x158)]=void 0x0);const _0x371e7f=this[_0xd48df(0x15c)][_0xd48df(0x14e)][_0xd48df(0x159)][_0xd48df(0x147)][_0xd48df(0x148)]();_0x371e7f&&(_0x371e7f['is'](_0xd48df(0x143),_0xd48df(0x140))||_0x371e7f['is'](_0xd48df(0x143),_0xd48df(0x153)))&&(this[_0xd48df(0x158)]=new _0x1bb34f(this[_0xd48df(0x15c)],this[_0xd48df(0x15c)][_0xd48df(0x14f)][_0xd48df(0x154)](_0x13718a),_0x371e7f),this[_0xd48df(0x14d)](_0xd48df(0x15d))['to'](this[_0xd48df(0x158)],_0xd48df(0x15d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x368fe2=_0x4b6c;(function(_0x31479d,_0x851b1){const _0x5aa248=_0x4b6c,_0x1964ba=_0x31479d();while(!![]){try{const _0x3d45fc=-parseInt(_0x5aa248(0x1f9))/0x1*(-parseInt(_0x5aa248(0x1ef))/0x2)+-parseInt(_0x5aa248(0x1f2))/0x3+parseInt(_0x5aa248(0x1ec))/0x4*(-parseInt(_0x5aa248(0x1fb))/0x5)+parseInt(_0x5aa248(0x1e8))/0x6+parseInt(_0x5aa248(0x1f0))/0x7+parseInt(_0x5aa248(0x1fa))/0x8+-parseInt(_0x5aa248(0x1ea))/0x9*(parseInt(_0x5aa248(0x1f1))/0xa);if(_0x3d45fc===_0x851b1)break;else _0x1964ba['push'](_0x1964ba['shift']());}catch(_0x4ab71f){_0x1964ba['push'](_0x1964ba['shift']());}}}(_0x5f52,0x34551));import{Plugin as _0x50a1ce}from'ckeditor5/src/core.js';import{Notification as _0x3b0347}from'ckeditor5/src/ui.js';import _0x4414d from'./uploadcareimageeditcommand.js';function _0x4b6c(_0x29328b,_0x37f5cb){const _0x5f524b=_0x5f52();return _0x4b6c=function(_0x4b6cfb,_0x106cf5){_0x4b6cfb=_0x4b6cfb-0x1e7;let _0x504cf8=_0x5f524b[_0x4b6cfb];return _0x504cf8;},_0x4b6c(_0x29328b,_0x37f5cb);}function _0x5f52(){const _0x2a7ba5=['978ryPApk','1261896PNaheg','204090IJyuuV','uploadcareImageEdit','init','1996668wPJrdf','ImageEditing','169956DafHbd','add','12yZoOJU','UploadcareImageEditEditing','ImageUtils','458IjZyEH','658399kGNmLI','30DolQsI','1245225vcEOAI','isPremiumPlugin','requires','uploadcareImageReplace','isOfficialPlugin','pluginName','commands'];_0x5f52=function(){return _0x2a7ba5;};return _0x5f52();}import _0x1cfa19 from'./uploadcareimagereplacecommand.js';import _0x2c51d3 from'../uploadcareediting.js';export default class g extends _0x50a1ce{static get[_0x368fe2(0x1f7)](){const _0x59c432=_0x368fe2;return _0x59c432(0x1ed);}static get[_0x368fe2(0x1f4)](){const _0x1fd0d5=_0x368fe2;return[_0x2c51d3,_0x3b0347,_0x1fd0d5(0x1ee),_0x1fd0d5(0x1e9)];}static get[_0x368fe2(0x1f6)](){return!0x0;}static get[_0x368fe2(0x1f3)](){return!0x0;}[_0x368fe2(0x1e7)](){const _0x1bea88=_0x368fe2,{editor:_0x2ae4cc}=this;_0x2ae4cc[_0x1bea88(0x1f8)][_0x1bea88(0x1eb)](_0x1bea88(0x1fc),new _0x4414d(_0x2ae4cc)),_0x2ae4cc[_0x1bea88(0x1f8)][_0x1bea88(0x1eb)](_0x1bea88(0x1f5),new _0x1cfa19(_0x2ae4cc));}}
23
+ const _0x42450a=_0x380c;(function(_0x4e29ec,_0x53bab4){const _0x1a6eab=_0x380c,_0x47c253=_0x4e29ec();while(!![]){try{const _0x3b3cb6=parseInt(_0x1a6eab(0x1a2))/0x1+-parseInt(_0x1a6eab(0x1a5))/0x2*(parseInt(_0x1a6eab(0x1a7))/0x3)+parseInt(_0x1a6eab(0x1ab))/0x4+parseInt(_0x1a6eab(0x1a3))/0x5+-parseInt(_0x1a6eab(0x1a1))/0x6+parseInt(_0x1a6eab(0x1a9))/0x7+parseInt(_0x1a6eab(0x1b0))/0x8*(-parseInt(_0x1a6eab(0x1aa))/0x9);if(_0x3b3cb6===_0x53bab4)break;else _0x47c253['push'](_0x47c253['shift']());}catch(_0x142f61){_0x47c253['push'](_0x47c253['shift']());}}}(_0x3f54,0x4de7b));import{Plugin as _0x72d191}from'ckeditor5/src/core.js';function _0x380c(_0x321de3,_0x67c1e9){const _0x3f549e=_0x3f54();return _0x380c=function(_0x380c70,_0x2c3a8){_0x380c70=_0x380c70-0x19c;let _0x251b19=_0x3f549e[_0x380c70];return _0x251b19;},_0x380c(_0x321de3,_0x67c1e9);}function _0x3f54(){const _0x54c9a4=['633090rkAIld','1634385fpqXMU','ImageEditing','437804NzkYmX','init','3UOeusq','UploadcareImageEditEditing','1814057ZwocCD','2151iiLREo','99512iiMWwr','requires','uploadcareImageReplace','pluginName','add','19336AZEyek','ImageUtils','commands','isPremiumPlugin','isOfficialPlugin','uploadcareImageEdit','769992lpcfMa'];_0x3f54=function(){return _0x54c9a4;};return _0x3f54();}import{Notification as _0x2f7f28}from'ckeditor5/src/ui.js';import _0x1ae043 from'./uploadcareimageeditcommand.js';import _0x4cd6bb from'./uploadcareimagereplacecommand.js';import _0x2bf35b from'../uploadcareediting.js';export default class g extends _0x72d191{static get[_0x42450a(0x1ae)](){const _0x145033=_0x42450a;return _0x145033(0x1a8);}static get[_0x42450a(0x1ac)](){const _0x111ecb=_0x42450a;return[_0x2bf35b,_0x2f7f28,_0x111ecb(0x19c),_0x111ecb(0x1a4)];}static get[_0x42450a(0x19f)](){return!0x0;}static get[_0x42450a(0x19e)](){return!0x0;}[_0x42450a(0x1a6)](){const _0x3c1965=_0x42450a,{editor:_0x29f6fc}=this;_0x29f6fc[_0x3c1965(0x19d)][_0x3c1965(0x1af)](_0x3c1965(0x1a0),new _0x1ae043(_0x29f6fc)),_0x29f6fc[_0x3c1965(0x19d)][_0x3c1965(0x1af)](_0x3c1965(0x1ad),new _0x4cd6bb(_0x29f6fc));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5eaf48}from'ckeditor5/src/core.js';import{ButtonView as _0x28bcb7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x53f343}from'ckeditor5/src/icons.js';import{createElement as _0x1aa370}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 _0x5eaf48{['_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 _0x4ee713=this['editor'];_0x4ee713['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1e488b=>{const _0x418683=_0x4ee713['commands']['get']('uploadcareImageEdit'),_0x4f4427=new _0x28bcb7(_0x1e488b),t=_0x1e488b['t'];return _0x4f4427['set']({'icon':_0x53f343,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4f4427['bind']('isEnabled')['to'](_0x418683),_0x4f4427['bind']('isOn')['to'](_0x418683,'isActive'),this['listenTo'](_0x4f4427,'execute',()=>{_0x4ee713['execute']('uploadcareImageEdit'),_0x4ee713['editing']['view']['focus']();}),_0x4f4427;}),this['_initConfig']();}['_initConfig'](){const _0x54826f=_0x1aa370(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x54826f),this['listenTo'](this['editor'],'destroy',()=>{_0x54826f['remove']();});}}
23
+ import{Plugin as _0x3387e1}from'ckeditor5/src/core.js';import{ButtonView as _0x1dd4cd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x594b90}from'ckeditor5/src/icons.js';import{createElement as _0x5af596}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 _0x3387e1{['_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 _0x12e2cf=this['editor'];_0x12e2cf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x205606=>{const _0x40c6c1=_0x12e2cf['commands']['get']('uploadcareImageEdit'),_0x36c803=new _0x1dd4cd(_0x205606),t=_0x205606['t'];return _0x36c803['set']({'icon':_0x594b90,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x36c803['bind']('isEnabled')['to'](_0x40c6c1),_0x36c803['bind']('isOn')['to'](_0x40c6c1,'isActive'),this['listenTo'](_0x36c803,'execute',()=>{_0x12e2cf['execute']('uploadcareImageEdit'),_0x12e2cf['editing']['view']['focus']();}),_0x36c803;}),this['_initConfig']();}['_initConfig'](){const _0x5ed2ef=_0x5af596(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5ed2ef),this['listenTo'](this['editor'],'destroy',()=>{_0x5ed2ef['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c5ccd=_0x3364;(function(_0x2ee48,_0x508416){const _0x453d2c=_0x3364,_0x1e373e=_0x2ee48();while(!![]){try{const _0x51cee0=-parseInt(_0x453d2c(0x11a))/0x1+parseInt(_0x453d2c(0x11c))/0x2*(parseInt(_0x453d2c(0x11e))/0x3)+-parseInt(_0x453d2c(0x129))/0x4+-parseInt(_0x453d2c(0x11f))/0x5*(parseInt(_0x453d2c(0x122))/0x6)+-parseInt(_0x453d2c(0x116))/0x7+parseInt(_0x453d2c(0x115))/0x8*(-parseInt(_0x453d2c(0x11b))/0x9)+-parseInt(_0x453d2c(0x12f))/0xa*(-parseInt(_0x453d2c(0x12c))/0xb);if(_0x51cee0===_0x508416)break;else _0x1e373e['push'](_0x1e373e['shift']());}catch(_0x4d0e90){_0x1e373e['push'](_0x1e373e['shift']());}}}(_0x173b,0xd4006));import{Command as _0x38a4e8}from'ckeditor5/src/core.js';function _0x3364(_0x50ea7b,_0x41e6cd){const _0x173bec=_0x173b();return _0x3364=function(_0x336433,_0x119033){_0x336433=_0x336433-0x115;let _0x4135ec=_0x173bec[_0x336433];return _0x4135ec;},_0x3364(_0x50ea7b,_0x41e6cd);}export default class X extends _0x38a4e8{[_0x4c5ccd(0x117)](){const _0x305377=_0x4c5ccd,_0x374b27=this[_0x305377(0x121)][_0x305377(0x12d)][_0x305377(0x126)][_0x305377(0x12a)][_0x305377(0x128)]();this[_0x305377(0x12b)]=Boolean(_0x374b27&&(_0x374b27['is'](_0x305377(0x11d),_0x305377(0x124))||_0x374b27['is'](_0x305377(0x11d),_0x305377(0x125))));}[_0x4c5ccd(0x119)](_0x5b1fb8){const _0x3e1ab0=_0x4c5ccd,_0x161285=this[_0x3e1ab0(0x121)][_0x3e1ab0(0x12d)][_0x3e1ab0(0x126)][_0x3e1ab0(0x12a)][_0x3e1ab0(0x128)]();this[_0x3e1ab0(0x121)][_0x3e1ab0(0x12d)][_0x3e1ab0(0x120)](_0x25346d=>{const _0x5bc023=_0x3e1ab0;_0x25346d[_0x5bc023(0x127)](_0x5b1fb8,_0x161285),_0x25346d[_0x5bc023(0x12e)](_0x5bc023(0x123),_0x161285),_0x25346d[_0x5bc023(0x12e)](_0x5bc023(0x118),_0x161285);});}}function _0x173b(){const _0x14528e=['2355591vfSrTB','refresh','sizes','execute','1426424lFwZjP','210969XEpymU','2525626sqqYMp','element','3aQYTLp','5twzqMm','change','editor','9086730AfGFjO','srcset','imageBlock','imageInline','document','setAttributes','getSelectedElement','114056lWgNoS','selection','isEnabled','34346620XtLEUx','model','removeAttribute','10mqCTrM','72DSbASW'];_0x173b=function(){return _0x14528e;};return _0x173b();}
23
+ const _0x2feee5=_0x1dfd;function _0x1dfd(_0x2c8c33,_0x34a538){const _0x8d5246=_0x8d52();return _0x1dfd=function(_0x1dfd7a,_0x5ae520){_0x1dfd7a=_0x1dfd7a-0x161;let _0x307132=_0x8d5246[_0x1dfd7a];return _0x307132;},_0x1dfd(_0x2c8c33,_0x34a538);}function _0x8d52(){const _0x1618ef=['removeAttribute','24WkibfR','9DmXdwi','sizes','24756YspQvG','10tlsBRp','isEnabled','295MnugoC','element','9461969nsEPXQ','9670014BhhULO','setAttributes','change','923oJcNtl','imageBlock','1420228tGqsJg','srcset','108809gTQMsn','668297NBaexJ','refresh','selection','getSelectedElement','imageInline','editor','document','94404eOnVMb','execute','20HXFeNE','model'];_0x8d52=function(){return _0x1618ef;};return _0x8d52();}(function(_0x4a7692,_0xf11f45){const _0x42c2b3=_0x1dfd,_0xad035d=_0x4a7692();while(!![]){try{const _0x46f083=-parseInt(_0x42c2b3(0x16a))/0x1*(parseInt(_0x42c2b3(0x174))/0x2)+-parseInt(_0x42c2b3(0x178))/0x3*(parseInt(_0x42c2b3(0x168))/0x4)+-parseInt(_0x42c2b3(0x17d))/0x5*(-parseInt(_0x42c2b3(0x172))/0x6)+-parseInt(_0x42c2b3(0x16b))/0x7*(parseInt(_0x42c2b3(0x177))/0x8)+parseInt(_0x42c2b3(0x163))/0x9*(parseInt(_0x42c2b3(0x17b))/0xa)+parseInt(_0x42c2b3(0x162))/0xb+-parseInt(_0x42c2b3(0x17a))/0xc*(-parseInt(_0x42c2b3(0x166))/0xd);if(_0x46f083===_0xf11f45)break;else _0xad035d['push'](_0xad035d['shift']());}catch(_0x991af0){_0xad035d['push'](_0xad035d['shift']());}}}(_0x8d52,0x8b182));import{Command as _0x22fdc0}from'ckeditor5/src/core.js';export default class X extends _0x22fdc0{[_0x2feee5(0x16c)](){const _0x23d2d8=_0x2feee5,_0x423e9e=this[_0x23d2d8(0x170)][_0x23d2d8(0x175)][_0x23d2d8(0x171)][_0x23d2d8(0x16d)][_0x23d2d8(0x16e)]();this[_0x23d2d8(0x17c)]=Boolean(_0x423e9e&&(_0x423e9e['is'](_0x23d2d8(0x161),_0x23d2d8(0x167))||_0x423e9e['is'](_0x23d2d8(0x161),_0x23d2d8(0x16f))));}[_0x2feee5(0x173)](_0x560bc4){const _0x273f58=_0x2feee5,_0x4ee713=this[_0x273f58(0x170)][_0x273f58(0x175)][_0x273f58(0x171)][_0x273f58(0x16d)][_0x273f58(0x16e)]();this[_0x273f58(0x170)][_0x273f58(0x175)][_0x273f58(0x165)](_0x3018b9=>{const _0x507433=_0x273f58;_0x3018b9[_0x507433(0x164)](_0x560bc4,_0x4ee713),_0x3018b9[_0x507433(0x176)](_0x507433(0x169),_0x4ee713),_0x3018b9[_0x507433(0x176)](_0x507433(0x179),_0x4ee713);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d8a(_0x4e44a4,_0x3728dc){var _0x3ce196=_0x3ce1();return _0x2d8a=function(_0x2d8a81,_0x40e6d4){_0x2d8a81=_0x2d8a81-0x98;var _0x4cc4cf=_0x3ce196[_0x2d8a81];return _0x4cc4cf;},_0x2d8a(_0x4e44a4,_0x3728dc);}var _0xf570d3=_0x2d8a;(function(_0x1c8dee,_0x6c2b2c){var _0xeaba2d=_0x2d8a,_0x19d104=_0x1c8dee();while(!![]){try{var _0x563265=-parseInt(_0xeaba2d(0xa4))/0x1+-parseInt(_0xeaba2d(0x9d))/0x2*(-parseInt(_0xeaba2d(0xa2))/0x3)+-parseInt(_0xeaba2d(0x9a))/0x4+parseInt(_0xeaba2d(0x9c))/0x5*(-parseInt(_0xeaba2d(0x9e))/0x6)+-parseInt(_0xeaba2d(0x99))/0x7+parseInt(_0xeaba2d(0x9b))/0x8*(-parseInt(_0xeaba2d(0xa5))/0x9)+parseInt(_0xeaba2d(0x9f))/0xa;if(_0x563265===_0x6c2b2c)break;else _0x19d104['push'](_0x19d104['shift']());}catch(_0x21a3bf){_0x19d104['push'](_0x19d104['shift']());}}}(_0x3ce1,0x27d62));import{Plugin as _0x509a73}from'ckeditor5/src/core.js';import _0x27bd37 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x59268f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x509a73{static get[_0xf570d3(0xa0)](){var _0x2c9f98=_0xf570d3;return _0x2c9f98(0xa3);}static get[_0xf570d3(0xa1)](){return[_0x27bd37,_0x59268f];}static get[_0xf570d3(0x98)](){return!0x0;}static get[_0xf570d3(0xa6)](){return!0x0;}}function _0x3ce1(){var _0x3a75a7=['100458SqviNz','isPremiumPlugin','isOfficialPlugin','534954bwrDEw','92796Jhrjks','152Tkmzte','5235mDRlhh','22yljdGD','432rFjYKg','4521320JlhCyT','pluginName','requires','73101qcyioq','UploadcareImageEdit','169916iObbwZ'];_0x3ce1=function(){return _0x3a75a7;};return _0x3ce1();}
23
+ var _0x35b3dd=_0x4701;(function(_0x31167f,_0x1b738d){var _0xc18127=_0x4701,_0x261398=_0x31167f();while(!![]){try{var _0x4bccb1=-parseInt(_0xc18127(0x191))/0x1*(-parseInt(_0xc18127(0x18e))/0x2)+parseInt(_0xc18127(0x194))/0x3+parseInt(_0xc18127(0x199))/0x4+parseInt(_0xc18127(0x190))/0x5*(-parseInt(_0xc18127(0x192))/0x6)+parseInt(_0xc18127(0x198))/0x7+-parseInt(_0xc18127(0x19a))/0x8+-parseInt(_0xc18127(0x19b))/0x9*(parseInt(_0xc18127(0x193))/0xa);if(_0x4bccb1===_0x1b738d)break;else _0x261398['push'](_0x261398['shift']());}catch(_0x2f870a){_0x261398['push'](_0x261398['shift']());}}}(_0x5a87,0x9b926));import{Plugin as _0x2ceeec}from'ckeditor5/src/core.js';function _0x5a87(){var _0x2bdb1d=['1300089unnCje','isPremiumPlugin','requires','isOfficialPlugin','8402625NkrzlG','1620268AUnVjz','9953136SdUwRR','9OrGAsb','pluginName','115494fMkffb','UploadcareImageEdit','8245hJdLUG','7taxWZK','1278wOvNdx','2104330afruTi'];_0x5a87=function(){return _0x2bdb1d;};return _0x5a87();}import _0x22e7e7 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x4701(_0x5b86a3,_0x46c18d){var _0x5a8751=_0x5a87();return _0x4701=function(_0x470141,_0x19c87a){_0x470141=_0x470141-0x18e;var _0x29646b=_0x5a8751[_0x470141];return _0x29646b;},_0x4701(_0x5b86a3,_0x46c18d);}import _0xed8cd8 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x2ceeec{static get[_0x35b3dd(0x19c)](){var _0x4fd59f=_0x35b3dd;return _0x4fd59f(0x18f);}static get[_0x35b3dd(0x196)](){return[_0x22e7e7,_0xed8cd8];}static get[_0x35b3dd(0x197)](){return!0x0;}static get[_0x35b3dd(0x195)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f64f9=_0x2ae9;(function(_0x362055,_0x52544b){const _0x109844=_0x2ae9,_0x5107fd=_0x362055();while(!![]){try{const _0x35843a=-parseInt(_0x109844(0x1b6))/0x1+-parseInt(_0x109844(0x19a))/0x2+parseInt(_0x109844(0x1a9))/0x3+parseInt(_0x109844(0x199))/0x4+-parseInt(_0x109844(0x188))/0x5*(parseInt(_0x109844(0x1bb))/0x6)+parseInt(_0x109844(0x1cf))/0x7+parseInt(_0x109844(0x1a7))/0x8*(parseInt(_0x109844(0x1c0))/0x9);if(_0x35843a===_0x52544b)break;else _0x5107fd['push'](_0x5107fd['shift']());}catch(_0x1ef444){_0x5107fd['push'](_0x5107fd['shift']());}}}(_0x3398,0xd8886));import{Plugin as _0x18ce00}from'ckeditor5/src/core.js';import{IconDropbox as _0x236862,IconFacebook as _0x4db524,IconGoogleDrive as _0x374282,IconGooglePhotos as _0x399e04,IconUploadcareImageUpload as _0xb045ec,IconUploadcareLink as _0x8fd46b,IconOneDrive as _0x5c130e}from'ckeditor5/src/icons.js';import{ButtonView as _0xf4ca25,MenuBarMenuListItemButtonView as _0x34b898}from'ckeditor5/src/ui.js';function _0x2ae9(_0x543d4a,_0x527210){const _0x33986d=_0x3398();return _0x2ae9=function(_0x2ae91e,_0x35dee4){_0x2ae91e=_0x2ae91e-0x184;let _0x11e51e=_0x33986d[_0x2ae91e];return _0x11e51e;},_0x2ae9(_0x543d4a,_0x527210);}import{UploadcareSource as _0x1b0a9c}from'./uploadcareconfig.js';function _0x3398(){const _0x437b6a=['uploadcareLicenseKeyInvalid','withText','entries','_createDropdownButtons','uploadcareLicenseKeyNotAllowed','uploadcare','Local','384816rKuWsX','95562ZlYTRl','domainLimit','config','invalid','GPhotos','commands','Dropbox','reduce','uploadcareLicenseKeyExpired','afterInit','assetManager','uploadcareLicenseKeyUsageLimit','_showLicenseError','8wWqBfo','url','3380520yUVhSP','licenseKey','GDrive','locale','registerIntegration','label','uploadcareLicenseKeyTrialLimit','push','icon','_licenseKeyCheckInterval','init','evaluationLimit','featureNotAllowed','1455068MjKBln','ImageInsertUI','Replace','expired','UploadcareUI','18IssJJZ','_createButton','_normalizeConfigSourceList','Uploadcare','shortText','11781486SbrzlG','usageLimit','type','OneDrive','destroy','_createToolbarButton','uploadcare.uploader.sourceList','execute','Facebook','tooltip','bind','Insert','forEach','isOfficialPlugin','isPremiumPlugin','7802284YeQghS','editor','pluginName','uploadcareLicenseKeyEvaluationLimit','get','upload','uploadcareLicenseKeyValid','_createMenuBarButtons','uploadcareLicenseKeyDomainLimit','2094905OOIUEv','isImageSelected','isEnabled','text','_getIntegrationKey','plugins','trialLimit','map','URL','has'];_0x3398=function(){return _0x437b6a;};return _0x3398();}import{getTranslation as _0x1e9bbf}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x18ce00{[_0x4f64f9(0x1aa)];[_0x4f64f9(0x1b2)];static get[_0x4f64f9(0x1d1)](){const _0x2c7ba9=_0x4f64f9;return _0x2c7ba9(0x1ba);}static get[_0x4f64f9(0x1cd)](){return!0x0;}static get[_0x4f64f9(0x1ce)](){return!0x0;}[_0x4f64f9(0x1b3)](){const _0x512137=_0x4f64f9;this[_0x512137(0x1aa)]=this[_0x512137(0x1d0)][_0x512137(0x19c)][_0x512137(0x1d3)](_0x512137(0x1aa));const _0x1683d7=this[_0x512137(0x1d0)];this[_0x512137(0x1b2)]=setInterval(()=>{const _0xc07995=_0x512137;let _0x122166;for(const _0x539b0c in _0x1683d7){const _0x396329=_0x539b0c,_0x12fa02=_0x1683d7[_0x396329];if(_0xc07995(0x185)==_0x12fa02||_0xc07995(0x192)==_0x12fa02||_0xc07995(0x1a2)==_0x12fa02||_0xc07995(0x187)==_0x12fa02||_0xc07995(0x196)==_0x12fa02||_0xc07995(0x1d2)==_0x12fa02||_0xc07995(0x1af)==_0x12fa02||_0xc07995(0x1a5)==_0x12fa02){delete _0x1683d7[_0x396329],_0x122166=_0x12fa02,clearInterval(this[_0xc07995(0x1b2)]),this[_0xc07995(0x1b2)]=void 0x0;break;}}_0xc07995(0x192)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x19d)),_0xc07995(0x1a2)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1b9)),_0xc07995(0x187)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x19b)),_0xc07995(0x196)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1b5),_0xc07995(0x1be)),_0xc07995(0x1d2)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1b4)),_0xc07995(0x1af)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x18e)),_0xc07995(0x1a5)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1c1));},0x3e8);}[_0x4f64f9(0x1a3)](){const _0x2da94d=_0x4f64f9,{editor:_0x481509}=this,_0x2a26bd=_0x481509[_0x2da94d(0x19f)][_0x2da94d(0x1d3)](_0x2da94d(0x197));if(!_0x2a26bd)return;const _0xc41c6d=this[_0x2da94d(0x1bd)](_0x481509[_0x2da94d(0x19c)][_0x2da94d(0x1d3)](_0x2da94d(0x1c6)))[_0x2da94d(0x1a1)]((_0x5867f0,_0x464c8a)=>{const _0x4c427e=_0x2da94d,_0x26a5c0=this[_0x4c427e(0x18c)](_0x464c8a[_0x4c427e(0x1c2)]);return _0x5867f0[_0x26a5c0]||(_0x5867f0[_0x26a5c0]=[]),_0x5867f0[_0x26a5c0][_0x4c427e(0x1b0)](_0x464c8a),_0x5867f0;},{});_0x481509[_0x2da94d(0x18d)][_0x2da94d(0x191)](_0x2da94d(0x1b7))&&_0x481509[_0x2da94d(0x19f)][_0x2da94d(0x1d3)](_0x2da94d(0x197))&&Object[_0x2da94d(0x194)](_0xc41c6d)[_0x2da94d(0x1cc)](([_0x283fb7,_0x22e12f])=>{const _0x1577c2=_0x2da94d;_0x481509[_0x1577c2(0x18d)][_0x1577c2(0x1d3)](_0x1577c2(0x1b7))[_0x1577c2(0x1ad)]({'name':_0x283fb7,'observable':()=>_0x2a26bd,'buttonViewCreator':()=>this[_0x1577c2(0x1c5)](_0x22e12f),'formViewCreator':()=>this[_0x1577c2(0x195)](_0x22e12f),'menuBarButtonViewCreator':()=>this[_0x1577c2(0x186)](_0x22e12f),'override':_0x1577c2(0x1a4)!==_0x283fb7});});}[_0x4f64f9(0x1c4)](){const _0x3b9376=_0x4f64f9;super[_0x3b9376(0x1c4)](),this[_0x3b9376(0x1b2)]&&clearInterval(this[_0x3b9376(0x1b2)]);}[_0x4f64f9(0x1bd)](_0x42e23e){const _0x3d9170=_0x4f64f9,{locale:_0x3ea952}=this[_0x3d9170(0x1d0)];return _0x42e23e[_0x3d9170(0x18f)](_0x2844ea=>{const _0x443d46=_0x3d9170,_0x59f587=_0x1e9bbf(_0x3ea952,_0x2844ea,_0x443d46(0x1cb));switch(_0x2844ea){case _0x1b0a9c[_0x443d46(0x198)]:return{'icon':_0xb045ec,'type':_0x1b0a9c[_0x443d46(0x198)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x190)]:return{'icon':_0x8fd46b,'type':_0x1b0a9c[_0x443d46(0x190)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1a0)]:return{'icon':_0x236862,'type':_0x1b0a9c[_0x443d46(0x1a0)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1c8)]:return{'icon':_0x4db524,'type':_0x1b0a9c[_0x443d46(0x1c8)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1ab)]:return{'icon':_0x374282,'type':_0x1b0a9c[_0x443d46(0x1ab)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x19e)]:return{'icon':_0x399e04,'type':_0x1b0a9c[_0x443d46(0x19e)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1c3)]:return{'icon':_0x5c130e,'type':_0x1b0a9c[_0x443d46(0x1c3)],..._0x59f587};}});}[_0x4f64f9(0x18c)](_0x18a69e){const _0x3db853=_0x4f64f9;switch(_0x18a69e){case _0x1b0a9c[_0x3db853(0x198)]:return _0x3db853(0x184);case _0x1b0a9c[_0x3db853(0x190)]:return _0x3db853(0x1a8);default:return _0x3db853(0x1a4);}}[_0x4f64f9(0x1bc)](_0x15a791,_0x5800fa){const _0x5e7ba2=_0x4f64f9,_0xac4a55=this[_0x5e7ba2(0x1d0)],_0x50dde0=new _0x15a791(_0xac4a55[_0x5e7ba2(0x1ac)]),_0x1dc617=_0xac4a55[_0x5e7ba2(0x19f)][_0x5e7ba2(0x1d3)](_0x5e7ba2(0x197));return _0x50dde0[_0x5e7ba2(0x1ca)](_0x5e7ba2(0x18a))['to'](_0x1dc617),_0x50dde0['on'](_0x5e7ba2(0x1c7),()=>{const _0x5ccc52=_0x5e7ba2;_0x1dc617[_0x5ccc52(0x1c7)](_0x5800fa);}),_0x50dde0;}[_0x4f64f9(0x1c5)](_0x35a067){const _0x178abf=_0x4f64f9,{locale:_0x4cb1ac}=this[_0x178abf(0x1d0)],_0x12f59c=this[_0x178abf(0x1d0)][_0x178abf(0x18d)][_0x178abf(0x1d3)](_0x178abf(0x1b7)),_0x45e0e6=_0x35a067[0x0],_0x25e79c=this[_0x178abf(0x1bc)](_0xf4ca25,_0x45e0e6[_0x178abf(0x1c2)]);return _0x25e79c[_0x178abf(0x1b1)]=_0x45e0e6[_0x178abf(0x1b1)],_0x25e79c[_0x178abf(0x1ca)](_0x178abf(0x1ae))['to'](_0x12f59c,_0x178abf(0x189),_0x22c51d=>_0x1e9bbf(_0x4cb1ac,_0x45e0e6[_0x178abf(0x1c2)],_0x22c51d?_0x178abf(0x1b8):_0x178abf(0x1cb))[_0x178abf(0x18b)]),_0x25e79c[_0x178abf(0x1c9)]=!0x0,_0x25e79c;}[_0x4f64f9(0x195)](_0x38a747){const _0xc7e78c=_0x4f64f9,{locale:_0x52b31c}=this[_0xc7e78c(0x1d0)],_0x288bcb=this[_0xc7e78c(0x1d0)][_0xc7e78c(0x18d)][_0xc7e78c(0x1d3)](_0xc7e78c(0x1b7));return _0x38a747[_0xc7e78c(0x18f)](_0x13a51d=>{const _0x2241ca=_0xc7e78c,_0x59660d=this[_0x2241ca(0x1bc)](_0xf4ca25,_0x13a51d[_0x2241ca(0x1c2)]);return _0x59660d[_0x2241ca(0x193)]=!0x0,_0x59660d[_0x2241ca(0x1b1)]=_0x13a51d[_0x2241ca(0x1b1)],_0x59660d[_0x2241ca(0x1ca)](_0x2241ca(0x1ae))['to'](_0x288bcb,_0x2241ca(0x189),_0x32232e=>_0x1e9bbf(_0x52b31c,_0x13a51d[_0x2241ca(0x1c2)],_0x32232e?_0x2241ca(0x1b8):_0x2241ca(0x1cb))[_0x2241ca(0x18b)]),_0x59660d;});}[_0x4f64f9(0x186)](_0x4fd08b){const _0x4a3eca=_0x4f64f9;return _0x4fd08b[_0x4a3eca(0x18f)](_0x4cdc70=>{const _0x38e988=_0x4a3eca,_0x5f15ee=this[_0x38e988(0x1bc)](_0x34b898,_0x4cdc70[_0x38e988(0x1c2)]);return _0x5f15ee[_0x38e988(0x1b1)]=_0x4cdc70[_0x38e988(0x1b1)],_0x5f15ee[_0x38e988(0x1ae)]=_0x4cdc70[_0x38e988(0x1bf)],_0x5f15ee;});}}
23
+ const _0x290358=_0x597c;(function(_0x5d8565,_0x564d09){const _0x13437a=_0x597c,_0x15a6f6=_0x5d8565();while(!![]){try{const _0x31cf14=-parseInt(_0x13437a(0x184))/0x1*(-parseInt(_0x13437a(0x196))/0x2)+parseInt(_0x13437a(0x199))/0x3+parseInt(_0x13437a(0x189))/0x4+parseInt(_0x13437a(0x17e))/0x5*(-parseInt(_0x13437a(0x178))/0x6)+parseInt(_0x13437a(0x171))/0x7*(-parseInt(_0x13437a(0x18c))/0x8)+-parseInt(_0x13437a(0x1b3))/0x9+parseInt(_0x13437a(0x1b1))/0xa;if(_0x31cf14===_0x564d09)break;else _0x15a6f6['push'](_0x15a6f6['shift']());}catch(_0x238140){_0x15a6f6['push'](_0x15a6f6['shift']());}}}(_0x3f73,0xb34b8));import{Plugin as _0x339fc7}from'ckeditor5/src/core.js';import{IconDropbox as _0x3e7e3b,IconFacebook as _0x34ee8b,IconGoogleDrive as _0x3c101e,IconGooglePhotos as _0x52f75d,IconUploadcareImageUpload as _0x4a87b9,IconUploadcareLink as _0x570997,IconOneDrive as _0x472e09}from'ckeditor5/src/icons.js';import{ButtonView as _0x4ba55e,MenuBarMenuListItemButtonView as _0x2a63e1}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2dd9a2}from'./uploadcareconfig.js';import{getTranslation as _0x3ef975}from'./utils/common-translations.js';function _0x597c(_0x5a0924,_0x5a8965){const _0x3f7397=_0x3f73();return _0x597c=function(_0x597c8b,_0x4a7a05){_0x597c8b=_0x597c8b-0x167;let _0x1bd14c=_0x3f7397[_0x597c8b];return _0x1bd14c;},_0x597c(_0x5a0924,_0x5a8965);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x3f73(){const _0x1a63b4=['isEnabled','pluginName','isImageSelected','uploadcareLicenseKeyTrialLimit','_normalizeConfigSourceList','uploadcare','GPhotos','trialLimit','ImageInsertUI','Uploadcare','_createDropdownButtons','editor','URL','url','OneDrive','_getIntegrationKey','Local','execute','_licenseKeyCheckInterval','init','uploadcareLicenseKeyInvalid','_createButton','4047280rcvmXd','type','4716432nmWNoA','registerIntegration','uploadcareLicenseKeyDomainLimit','licenseKey','map','Replace','_createToolbarButton','reduce','afterInit','upload','uploadcareLicenseKeyValid','uploadcareLicenseKeyNotAllowed','tooltip','destroy','withText','210ZkyRbE','Facebook','plugins','assetManager','usageLimit','uploadcareLicenseKeyEvaluationLimit','config','6puXIkR','uploadcare.uploader.sourceList','forEach','push','label','UploadcareUI','5977705WCQKaH','icon','has','bind','commands','text','95843ACIIaU','entries','shortText','domainLimit','_createMenuBarButtons','2962552IcXpUf','get','_showLicenseError','21848pEiGdg','expired','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyExpired','featureNotAllowed','GDrive','Insert','invalid','evaluationLimit','locale','6dswRDC','isOfficialPlugin','isPremiumPlugin','3309048IkcalW','Dropbox'];_0x3f73=function(){return _0x1a63b4;};return _0x3f73();}import'../theme/uploadcareimageedit.css';export default class e extends _0x339fc7{[_0x290358(0x1b6)];[_0x290358(0x1ad)];static get[_0x290358(0x19c)](){const _0x4429d1=_0x290358;return _0x4429d1(0x17d);}static get[_0x290358(0x197)](){return!0x0;}static get[_0x290358(0x198)](){return!0x0;}[_0x290358(0x1ae)](){const _0x1190f3=_0x290358;this[_0x1190f3(0x1b6)]=this[_0x1190f3(0x1a6)][_0x1190f3(0x177)][_0x1190f3(0x18a)](_0x1190f3(0x1b6));const _0x159bd7=this[_0x1190f3(0x1a6)];this[_0x1190f3(0x1ad)]=setInterval(()=>{const _0xe3335b=_0x1190f3;let _0x3c1ac2;for(const _0x440f9d in _0x159bd7){const _0x145ad9=_0x440f9d,_0x3f1773=_0x159bd7[_0x145ad9];if(_0xe3335b(0x16c)==_0x3f1773||_0xe3335b(0x1af)==_0x3f1773||_0xe3335b(0x18f)==_0x3f1773||_0xe3335b(0x1b5)==_0x3f1773||_0xe3335b(0x16d)==_0x3f1773||_0xe3335b(0x176)==_0x3f1773||_0xe3335b(0x19e)==_0x3f1773||_0xe3335b(0x18e)==_0x3f1773){delete _0x159bd7[_0x145ad9],_0x3c1ac2=_0x3f1773,clearInterval(this[_0xe3335b(0x1ad)]),this[_0xe3335b(0x1ad)]=void 0x0;break;}}_0xe3335b(0x1af)==_0x3c1ac2&&_0x159bd7[_0xe3335b(0x18b)](_0xe3335b(0x193)),_0xe3335b(0x18f)==_0x3c1ac2&&_0x159bd7[_0xe3335b(0x18b)](_0xe3335b(0x18d)),_0xe3335b(0x1b5)==_0x3c1ac2&&_0x159bd7[_0xe3335b(0x18b)](_0xe3335b(0x187)),_0xe3335b(0x16d)==_0x3c1ac2&&_0x159bd7[_0xe3335b(0x18b)](_0xe3335b(0x190),_0xe3335b(0x1a4)),_0xe3335b(0x176)==_0x3c1ac2&&_0x159bd7[_0xe3335b(0x18b)](_0xe3335b(0x194)),_0xe3335b(0x19e)==_0x3c1ac2&&_0x159bd7[_0xe3335b(0x18b)](_0xe3335b(0x1a2)),_0xe3335b(0x18e)==_0x3c1ac2&&_0x159bd7[_0xe3335b(0x18b)](_0xe3335b(0x175));},0x3e8);}[_0x290358(0x16a)](){const _0x5779ba=_0x290358,{editor:_0x507cbb}=this,_0x68ffef=_0x507cbb[_0x5779ba(0x182)][_0x5779ba(0x18a)](_0x5779ba(0x1a0));if(!_0x68ffef)return;const _0x30cd7c=this[_0x5779ba(0x19f)](_0x507cbb[_0x5779ba(0x177)][_0x5779ba(0x18a)](_0x5779ba(0x179)))[_0x5779ba(0x169)]((_0x1b2a32,_0x30da56)=>{const _0x2a1306=_0x5779ba,_0x358a72=this[_0x2a1306(0x1aa)](_0x30da56[_0x2a1306(0x1b2)]);return _0x1b2a32[_0x358a72]||(_0x1b2a32[_0x358a72]=[]),_0x1b2a32[_0x358a72][_0x2a1306(0x17b)](_0x30da56),_0x1b2a32;},{});_0x507cbb[_0x5779ba(0x173)][_0x5779ba(0x180)](_0x5779ba(0x1a3))&&_0x507cbb[_0x5779ba(0x182)][_0x5779ba(0x18a)](_0x5779ba(0x1a0))&&Object[_0x5779ba(0x185)](_0x30cd7c)[_0x5779ba(0x17a)](([_0x49d705,_0x5d74c7])=>{const _0x5037da=_0x5779ba;_0x507cbb[_0x5037da(0x173)][_0x5037da(0x18a)](_0x5037da(0x1a3))[_0x5037da(0x1b4)]({'name':_0x49d705,'observable':()=>_0x68ffef,'buttonViewCreator':()=>this[_0x5037da(0x168)](_0x5d74c7),'formViewCreator':()=>this[_0x5037da(0x1a5)](_0x5d74c7),'menuBarButtonViewCreator':()=>this[_0x5037da(0x188)](_0x5d74c7),'override':_0x5037da(0x174)!==_0x49d705});});}[_0x290358(0x16f)](){const _0x39907d=_0x290358;super[_0x39907d(0x16f)](),this[_0x39907d(0x1ad)]&&clearInterval(this[_0x39907d(0x1ad)]);}[_0x290358(0x19f)](_0x2a8b2a){const _0x5d8b3a=_0x290358,{locale:_0x5dc414}=this[_0x5d8b3a(0x1a6)];return _0x2a8b2a[_0x5d8b3a(0x1b7)](_0x11e760=>{const _0x3e674e=_0x5d8b3a,_0x30b7ce=_0x3ef975(_0x5dc414,_0x11e760,_0x3e674e(0x192));switch(_0x11e760){case _0x2dd9a2[_0x3e674e(0x1ab)]:return{'icon':_0x4a87b9,'type':_0x2dd9a2[_0x3e674e(0x1ab)],..._0x30b7ce};case _0x2dd9a2[_0x3e674e(0x1a7)]:return{'icon':_0x570997,'type':_0x2dd9a2[_0x3e674e(0x1a7)],..._0x30b7ce};case _0x2dd9a2[_0x3e674e(0x19a)]:return{'icon':_0x3e7e3b,'type':_0x2dd9a2[_0x3e674e(0x19a)],..._0x30b7ce};case _0x2dd9a2[_0x3e674e(0x172)]:return{'icon':_0x34ee8b,'type':_0x2dd9a2[_0x3e674e(0x172)],..._0x30b7ce};case _0x2dd9a2[_0x3e674e(0x191)]:return{'icon':_0x3c101e,'type':_0x2dd9a2[_0x3e674e(0x191)],..._0x30b7ce};case _0x2dd9a2[_0x3e674e(0x1a1)]:return{'icon':_0x52f75d,'type':_0x2dd9a2[_0x3e674e(0x1a1)],..._0x30b7ce};case _0x2dd9a2[_0x3e674e(0x1a9)]:return{'icon':_0x472e09,'type':_0x2dd9a2[_0x3e674e(0x1a9)],..._0x30b7ce};}});}[_0x290358(0x1aa)](_0x1dd7d9){const _0x4edbbb=_0x290358;switch(_0x1dd7d9){case _0x2dd9a2[_0x4edbbb(0x1ab)]:return _0x4edbbb(0x16b);case _0x2dd9a2[_0x4edbbb(0x1a7)]:return _0x4edbbb(0x1a8);default:return _0x4edbbb(0x174);}}[_0x290358(0x1b0)](_0x1486ff,_0xaf54e6){const _0x2a5e3a=_0x290358,_0x3af8ba=this[_0x2a5e3a(0x1a6)],_0x5e0cda=new _0x1486ff(_0x3af8ba[_0x2a5e3a(0x195)]),_0x6fd8fa=_0x3af8ba[_0x2a5e3a(0x182)][_0x2a5e3a(0x18a)](_0x2a5e3a(0x1a0));return _0x5e0cda[_0x2a5e3a(0x181)](_0x2a5e3a(0x19b))['to'](_0x6fd8fa),_0x5e0cda['on'](_0x2a5e3a(0x1ac),()=>{const _0x1906bc=_0x2a5e3a;_0x6fd8fa[_0x1906bc(0x1ac)](_0xaf54e6);}),_0x5e0cda;}[_0x290358(0x168)](_0x43b59f){const _0x36b086=_0x290358,{locale:_0x1c44f8}=this[_0x36b086(0x1a6)],_0x34bda6=this[_0x36b086(0x1a6)][_0x36b086(0x173)][_0x36b086(0x18a)](_0x36b086(0x1a3)),_0x2c87a3=_0x43b59f[0x0],_0x446df6=this[_0x36b086(0x1b0)](_0x4ba55e,_0x2c87a3[_0x36b086(0x1b2)]);return _0x446df6[_0x36b086(0x17f)]=_0x2c87a3[_0x36b086(0x17f)],_0x446df6[_0x36b086(0x181)](_0x36b086(0x17c))['to'](_0x34bda6,_0x36b086(0x19d),_0xf6ccfb=>_0x3ef975(_0x1c44f8,_0x2c87a3[_0x36b086(0x1b2)],_0xf6ccfb?_0x36b086(0x167):_0x36b086(0x192))[_0x36b086(0x183)]),_0x446df6[_0x36b086(0x16e)]=!0x0,_0x446df6;}[_0x290358(0x1a5)](_0x955dd7){const _0xb4ebe1=_0x290358,{locale:_0x5bbc79}=this[_0xb4ebe1(0x1a6)],_0x1009e1=this[_0xb4ebe1(0x1a6)][_0xb4ebe1(0x173)][_0xb4ebe1(0x18a)](_0xb4ebe1(0x1a3));return _0x955dd7[_0xb4ebe1(0x1b7)](_0x3014d7=>{const _0xb4a748=_0xb4ebe1,_0x481a4e=this[_0xb4a748(0x1b0)](_0x4ba55e,_0x3014d7[_0xb4a748(0x1b2)]);return _0x481a4e[_0xb4a748(0x170)]=!0x0,_0x481a4e[_0xb4a748(0x17f)]=_0x3014d7[_0xb4a748(0x17f)],_0x481a4e[_0xb4a748(0x181)](_0xb4a748(0x17c))['to'](_0x1009e1,_0xb4a748(0x19d),_0x234888=>_0x3ef975(_0x5bbc79,_0x3014d7[_0xb4a748(0x1b2)],_0x234888?_0xb4a748(0x167):_0xb4a748(0x192))[_0xb4a748(0x183)]),_0x481a4e;});}[_0x290358(0x188)](_0x6b29c4){const _0x34e1c2=_0x290358;return _0x6b29c4[_0x34e1c2(0x1b7)](_0xe31020=>{const _0x23216f=_0x34e1c2,_0x485c58=this[_0x23216f(0x1b0)](_0x2a63e1,_0xe31020[_0x23216f(0x1b2)]);return _0x485c58[_0x23216f(0x17f)]=_0xe31020[_0x23216f(0x17f)],_0x485c58[_0x23216f(0x17c)]=_0xe31020[_0x23216f(0x186)],_0x485c58;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x424a47}from'ckeditor5/src/core.js';import{FileRepository as _0x346ac7}from'ckeditor5/src/upload.js';import _0x4e78b8 from'./uploadcareediting.js';import _0x513d40 from'./utils/uploadutils.js';import{getImageUrls as _0x4612ef}from'./utils/editingutils.js';export default class p extends _0x424a47{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x346ac7,_0x4e78b8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3197ae=this['editor'];if(!!!_0x3197ae['config']['get']('uploadcare'))return;_0x3197ae['plugins']['get'](_0x346ac7)['createUploadAdapter']=_0x3cfddb=>new x(_0x3cfddb,_0x3197ae),_0x3197ae['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x20e873,{imageElement:_0x78d74b,data:_0x220a24})=>{_0x3197ae['model']['change'](_0x53b13f=>{_0x53b13f['setAttribute']('uploadcareImageId',_0x220a24['uploadcareImageId'],_0x78d74b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4edc30,_0x1bac4e){this['loader']=_0x4edc30,this['editor']=_0x1bac4e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x45715a=this['editor']['config']['get']('uploadcare.pubkey'),_0x5a7523=await this['loader']['file'];return _0x513d40['upload']({'file':_0x5a7523,'publicKey':_0x45715a,'signal':this['controller']['signal'],'onProgress':_0x26b631=>{_0x26b631&&_0x26b631['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x26b631['value']);}})['then'](async _0x42bac1=>{const {imageFallbackUrl:_0x45c934,imageSources:_0x1a4a9e}=_0x4612ef(_0x42bac1['cdnUrl'],_0x42bac1['imageInfo']['width']);return{'uploadcareImageId':_0x42bac1['uuid'],'default':_0x45c934,'sources':_0x1a4a9e};})['catch'](()=>{const _0x3c90e6=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a7523['name']+'.');return Promise['reject'](_0x3c90e6);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0xa3139c}from'ckeditor5/src/core.js';import{FileRepository as _0x3d8342}from'ckeditor5/src/upload.js';import _0x360a32 from'./uploadcareediting.js';import _0x226ff7 from'./utils/uploadutils.js';import{getImageUrls as _0x252148}from'./utils/editingutils.js';export default class p extends _0xa3139c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3d8342,_0x360a32];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4d3f6f=this['editor'];if(!!!_0x4d3f6f['config']['get']('uploadcare'))return;_0x4d3f6f['plugins']['get'](_0x3d8342)['createUploadAdapter']=_0x1994c6=>new x(_0x1994c6,_0x4d3f6f),_0x4d3f6f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3fd085,{imageElement:_0xd840,data:_0x26f020})=>{_0x4d3f6f['model']['change'](_0x7687ed=>{_0x7687ed['setAttribute']('uploadcareImageId',_0x26f020['uploadcareImageId'],_0xd840);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x385b77,_0x3e659d){this['loader']=_0x385b77,this['editor']=_0x3e659d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xeb0aa1=this['editor']['config']['get']('uploadcare.pubkey'),_0x12d973=await this['loader']['file'];return _0x226ff7['upload']({'file':_0x12d973,'publicKey':_0xeb0aa1,'signal':this['controller']['signal'],'onProgress':_0xc1ff25=>{_0xc1ff25&&_0xc1ff25['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xc1ff25['value']);}})['then'](async _0x326050=>{const {imageFallbackUrl:_0x1a29c8,imageSources:_0x20c585}=_0x252148(_0x326050['cdnUrl'],_0x326050['imageInfo']['width']);return{'uploadcareImageId':_0x326050['uuid'],'default':_0x1a29c8,'sources':_0x20c585};})['catch'](()=>{const _0x315fbf=t('Cannot\x20upload\x20file:')+('\x20'+_0x12d973['name']+'.');return Promise['reject'](_0x315fbf);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3ca74f}from'../uploadcareconfig.js';export function getTranslation(_0x4d2f26,_0x8f6159,_0x48fbe5){const t=_0x4d2f26['t'],_0x3381b0=_0x4d2f26['t'];switch(_0x8f6159){case _0x3ca74f['Local']:return{'text':_0x3381b0('Insert'===_0x48fbe5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3381b0('From\x20computer')};case _0x3ca74f['URL']:return{'text':'Insert'===_0x48fbe5?_0x3381b0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3381b0('Via\x20URL')};case _0x3ca74f['Dropbox']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3ca74f['Facebook']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3ca74f['GDrive']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3ca74f['GPhotos']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3ca74f['OneDrive']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x8f6159;}}
23
+ import{UploadcareSource as _0x148549}from'../uploadcareconfig.js';export function getTranslation(_0x30b45b,_0x120a16,_0x1d41d9){const t=_0x30b45b['t'],_0x37c09f=_0x30b45b['t'];switch(_0x120a16){case _0x148549['Local']:return{'text':_0x37c09f('Insert'===_0x1d41d9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37c09f('From\x20computer')};case _0x148549['URL']:return{'text':'Insert'===_0x1d41d9?_0x37c09f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37c09f('Via\x20URL')};case _0x148549['Dropbox']:return{'text':t('Insert'===_0x1d41d9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x148549['Facebook']:return{'text':t('Insert'===_0x1d41d9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x148549['GDrive']:return{'text':t('Insert'===_0x1d41d9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x148549['GPhotos']:return{'text':t('Insert'===_0x1d41d9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x148549['OneDrive']:return{'text':t('Insert'===_0x1d41d9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x120a16;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x386a03=_0x5caa;function _0x5caa(_0x54de4d,_0x587e85){var _0x66ac19=_0x66ac();return _0x5caa=function(_0x5caa1e,_0x28c864){_0x5caa1e=_0x5caa1e-0x185;var _0x2923d3=_0x66ac19[_0x5caa1e];return _0x2923d3;},_0x5caa(_0x54de4d,_0x587e85);}(function(_0x2c43be,_0x547887){var _0x12747e=_0x5caa,_0x1f1d49=_0x2c43be();while(!![]){try{var _0x4ae39e=-parseInt(_0x12747e(0x195))/0x1+parseInt(_0x12747e(0x18e))/0x2+parseInt(_0x12747e(0x18a))/0x3+parseInt(_0x12747e(0x18b))/0x4*(parseInt(_0x12747e(0x192))/0x5)+parseInt(_0x12747e(0x187))/0x6+parseInt(_0x12747e(0x189))/0x7+-parseInt(_0x12747e(0x194))/0x8*(parseInt(_0x12747e(0x191))/0x9);if(_0x4ae39e===_0x547887)break;else _0x1f1d49['push'](_0x1f1d49['shift']());}catch(_0x393d63){_0x1f1d49['push'](_0x1f1d49['shift']());}}}(_0x66ac,0x2c935));import{FocusTracker as _0x3b6972}from'ckeditor5/src/utils.js';import{View as _0x4c4023,FocusCycler as _0x434269}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x66ac(){var _0x5584a5=['30nDSqbn','bindTemplate','961024VvulHS','260958UQuNMK','div','focusTracker','forwardCycle','960696bywwTG','fire','1133811EDzAnp','837513WWjujo','6516axvjUH','focusCycler','true','626034KfgIMn','createCollection','getFocusableElement','36srHgCp'];_0x66ac=function(){return _0x5584a5;};return _0x66ac();}export default class q extends _0x4c4023{[_0x386a03(0x185)];[_0x386a03(0x18c)];constructor(_0x30a552){var _0x386c94=_0x386a03;super(_0x30a552),this[_0x386c94(0x185)]=new _0x3b6972(),this[_0x386c94(0x18c)]=new _0x434269({'focusables':this[_0x386c94(0x18f)](),'focusTracker':this[_0x386c94(0x185)]});}[_0x386a03(0x190)](){var _0x17ef2e=_0x386a03;return{'tag':_0x17ef2e(0x196),'attributes':{'aria-hidden':_0x17ef2e(0x18d),'tabindex':'0'},'on':{'focus':this[_0x17ef2e(0x193)]['to'](()=>{var _0x1e1071=_0x17ef2e;this[_0x1e1071(0x18c)][_0x1e1071(0x188)](_0x1e1071(0x186));})}};}}
23
+ function _0x3a30(){var _0x2bbd61=['getFocusableElement','7422605qgIuQQ','forwardCycle','focusTracker','158SvxFVW','807360YtFzNq','div','30863300fQUVzX','9939640atfzoz','createCollection','focusCycler','61128owLlTm','14186tMnRWn','777DuSlyF','bindTemplate','6197092EYAblp','true','9jrxsUV','fire'];_0x3a30=function(){return _0x2bbd61;};return _0x3a30();}var _0x39a18e=_0xc6cf;(function(_0x53d4ec,_0x286ebe){var _0x41cbbc=_0xc6cf,_0x4d66b4=_0x53d4ec();while(!![]){try{var _0x3fc62b=parseInt(_0x41cbbc(0x1ed))/0x1*(parseInt(_0x41cbbc(0x1f5))/0x2)+-parseInt(_0x41cbbc(0x1ee))/0x3+-parseInt(_0x41cbbc(0x1f8))/0x4+-parseInt(_0x41cbbc(0x1ea))/0x5+-parseInt(_0x41cbbc(0x1f4))/0x6*(-parseInt(_0x41cbbc(0x1f6))/0x7)+-parseInt(_0x41cbbc(0x1f1))/0x8*(parseInt(_0x41cbbc(0x1e7))/0x9)+parseInt(_0x41cbbc(0x1f0))/0xa;if(_0x3fc62b===_0x286ebe)break;else _0x4d66b4['push'](_0x4d66b4['shift']());}catch(_0x341497){_0x4d66b4['push'](_0x4d66b4['shift']());}}}(_0x3a30,0xc17cb));function _0xc6cf(_0x2f1569,_0x400070){var _0x3a309e=_0x3a30();return _0xc6cf=function(_0xc6cfec,_0x3ddb33){_0xc6cfec=_0xc6cfec-0x1e6;var _0x2b337c=_0x3a309e[_0xc6cfec];return _0x2b337c;},_0xc6cf(_0x2f1569,_0x400070);}import{FocusTracker as _0x2bcd1f}from'ckeditor5/src/utils.js';import{View as _0x465e18,FocusCycler as _0x2a6bd2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x465e18{[_0x39a18e(0x1ec)];[_0x39a18e(0x1f3)];constructor(_0x419c0b){var _0x17035c=_0x39a18e;super(_0x419c0b),this[_0x17035c(0x1ec)]=new _0x2bcd1f(),this[_0x17035c(0x1f3)]=new _0x2a6bd2({'focusables':this[_0x17035c(0x1f2)](),'focusTracker':this[_0x17035c(0x1ec)]});}[_0x39a18e(0x1e9)](){var _0xe4bb28=_0x39a18e;return{'tag':_0xe4bb28(0x1ef),'attributes':{'aria-hidden':_0xe4bb28(0x1e6),'tabindex':'0'},'on':{'focus':this[_0xe4bb28(0x1f7)]['to'](()=>{var _0x1e4e38=_0xe4bb28;this[_0x1e4e38(0x1f3)][_0x1e4e38(0x1e8)](_0x1e4e38(0x1eb));})}};}}