@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260120.0 → 0.0.0-nightly-20260121.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
- const _0x35382d=_0x33f7;(function(_0x224960,_0x231aed){const _0x59597a=_0x33f7,_0x5cc048=_0x224960();while(!![]){try{const _0x2ea99d=parseInt(_0x59597a(0xc9))/0x1*(-parseInt(_0x59597a(0xb5))/0x2)+-parseInt(_0x59597a(0xcc))/0x3*(-parseInt(_0x59597a(0xa7))/0x4)+parseInt(_0x59597a(0xa8))/0x5*(-parseInt(_0x59597a(0xe2))/0x6)+parseInt(_0x59597a(0xf6))/0x7+parseInt(_0x59597a(0xad))/0x8+-parseInt(_0x59597a(0xd0))/0x9+-parseInt(_0x59597a(0xbc))/0xa*(-parseInt(_0x59597a(0xd7))/0xb);if(_0x2ea99d===_0x231aed)break;else _0x5cc048['push'](_0x5cc048['shift']());}catch(_0x966888){_0x5cc048['push'](_0x5cc048['shift']());}}}(_0x347f,0x4d36c));import{Plugin as _0x4b1df4}from'ckeditor5/src/core.js';import{Dialog as _0x413fa3}from'ckeditor5/src/ui.js';import{createElement as _0xb6f7ac,global as _0x4ae40f,uid as _0xbb795c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2d8d16}from'./uploadcarecommand.js';function _0x33f7(_0x47e50,_0x52e6da){const _0x347f18=_0x347f();return _0x33f7=function(_0x33f7ab,_0x1f3f20){_0x33f7ab=_0x33f7ab-0xa7;let _0x4f4e36=_0x347f18[_0x33f7ab];return _0x4f4e36;},_0x33f7(_0x47e50,_0x52e6da);}import{UploadcareUploadAdapter as _0x36b1f5}from'./uploadcareuploadadapter.js';function _0x347f(){const _0x39e1f0=['href','getSelectedElement','querySelector','configElement','uploadcareImageReplace','37112XLYWwu','requires','execute','iconHrefResolver','_initCtx','_initImageProcessingIndicator','_initConversion','2140510MCwqtH','cleanupImage','isOfficialPlugin','extend','fromCharCode','_ctxElement','replaceImageSource','_initSchema','destroy','editor','conversion','uc-upload-ctx-provider','appendChild','29KIEeWS','_initConfig','#uc-icon-arrow-down','594VKdJLQ','insertImage','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','2048292nqOPLK','input[uploadcare-file-input]','once','_configElement','getAttribute','PictureEditing','editing','33bzmadx','afterInit','isRegistered','get','upcast','config','true','UploadcareEditing','uploadcareImageId','listenTo','join','6GJaYwd','init','removeAttribute','isPremiumPlugin','map','ctxElement','imageBlock','uc-config','ucContextId','attributeToAttribute','view','render','add','document','closeMax','data-uc-image-id','for','uploadcare','body','contentLanguage','1128512tpQJFC','remove','uploadcare.pubkey','locale','selection','schema','uploader-','9420DHsbMw','2733045QpYMJo','pluginName','uploadcare.uploader','elementToAttribute','commands','2871440Zrsszw','downcast','model'];_0x347f=function(){return _0x39e1f0;};return _0x347f();}import{showImageProcessingIndicator as _0x537c86}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4b1df4{[_0x35382d(0xd3)]=null;[_0x35382d(0xc1)]=null;static get[_0x35382d(0xa9)](){const _0x37aaad=_0x35382d;return _0x37aaad(0xde);}static get[_0x35382d(0xb6)](){const _0x4b5358=_0x35382d;return[_0x4b5358(0xd5),_0x36b1f5,_0x413fa3];}static get[_0x35382d(0xbe)](){return!0x0;}static get[_0x35382d(0xe5)](){return!0x0;}[_0x35382d(0xea)];get[_0x35382d(0xb3)](){const _0x27be05=_0x35382d;return this[_0x27be05(0xd3)];}get[_0x35382d(0xe7)](){const _0x57a35d=_0x35382d;return this[_0x57a35d(0xc1)];}constructor(_0x2aa953){const _0x1774ce=_0x35382d;super(_0x2aa953),this[_0x1774ce(0xea)]=_0xbb795c();}[_0x35382d(0xe3)](){const _0x31beac=_0x35382d,_0x1a3542=this[_0x31beac(0xc5)];_0x1a3542[_0x31beac(0xac)][_0x31beac(0xee)](_0x31beac(0xf3),new _0x2d8d16(_0x1a3542));}[_0x35382d(0xd8)](){const _0x1addde=_0x35382d;this[_0x1addde(0xc3)](),this[_0x1addde(0xbb)](),this[_0x1addde(0xca)](),this[_0x1addde(0xb9)](),this[_0x1addde(0xba)](),this[_0x1addde(0xe0)](this[_0x1addde(0xc5)],_0x1addde(0xc4),()=>{const _0x20a80c=_0x1addde;this[_0x20a80c(0xd3)]&&(this[_0x20a80c(0xd3)][_0x20a80c(0xf7)](),this[_0x20a80c(0xd3)]=null),this[_0x20a80c(0xc1)]&&(this[_0x20a80c(0xc1)][_0x20a80c(0xf7)](),this[_0x20a80c(0xc1)]=null);const _0x47172b=_0x4ae40f[_0x20a80c(0xef)][_0x20a80c(0xb2)](_0x20a80c(0xd1));_0x47172b&&_0x47172b[_0x20a80c(0xf7)]();}),async function(_0x3f321b){const _0x606f81=_0x2d9c49([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x13ea25=0x535f8c3a,_0x3c7fbd=0x5358f362^_0x13ea25,_0x1bc066=window[_0x2d9c49([0x44,0x61,0x74,0x65])][_0x2d9c49([0x6e,0x6f,0x77])](),_0x49adcd=_0x3f321b[_0x2d9c49([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x18e950=new window[(_0x2d9c49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3159ac=>{_0x49adcd[_0x2d9c49([0x6f,0x6e,0x63,0x65])](_0x2d9c49([0x72,0x65,0x61,0x64,0x79]),_0x3159ac);}),_0x47f832={[_0x2d9c49([0x6b,0x74,0x79])]:_0x2d9c49([0x45,0x43]),[_0x2d9c49([0x75,0x73,0x65])]:_0x2d9c49([0x73,0x69,0x67]),[_0x2d9c49([0x63,0x72,0x76])]:_0x2d9c49([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9c49([0x78])]:_0x2d9c49([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]),[_0x2d9c49([0x79])]:_0x2d9c49([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]),[_0x2d9c49([0x61,0x6c,0x67])]:_0x2d9c49([0x45,0x53,0x32,0x35,0x36])},_0x353d38=_0x49adcd[_0x2d9c49([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9c49([0x67,0x65,0x74])](_0x2d9c49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bfb10(){let _0x1dce88,_0x4c68fa=null,_0x502578=null;try{if(_0x353d38==_0x2d9c49([0x47,0x50,0x4c]))return _0x2d9c49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dce88=_0x2a3cb1(),!_0x1dce88)return _0x2d9c49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dce88[_0x2d9c49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x502578=_0x1c1a62(_0x1dce88[_0x2d9c49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dce88[_0x2d9c49([0x6a,0x74,0x69])])),await _0x3385f5()?_0x1832ef()?_0x59268e()?_0x2d9c49([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bd0d8()?(_0x1dce88[_0x2d9c49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9c49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c68fa=_0x3ede55(_0x2d9c49([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e5ade()):_0x2d9c49([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9c49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9c49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d9c49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59268e(){const _0x341e9e=[_0x2d9c49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9c49([0x74,0x72,0x69,0x61,0x6c])][_0x2d9c49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dce88[_0x2d9c49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bc066/0x3e8:0xe10*_0x3c7fbd;return _0x1dce88[_0x2d9c49([0x65,0x78,0x70])]<_0x341e9e;}function _0x1832ef(){const _0x217ec2=_0x1dce88[_0x2d9c49([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x217ec2&&(!!_0x217ec2[_0x2d9c49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9c49([0x2a]))||!!_0x217ec2[_0x2d9c49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9c49([0x55,0x50,0x4c,0x43])));}function _0x2bd0d8(){const _0x546f5e=_0x33f7,_0x48972a=_0x1dce88[_0x2d9c49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48972a||0x0==_0x48972a[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x165e4a}=new URL(window[_0x2d9c49([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x546f5e(0xb0)]);if(_0x48972a[_0x2d9c49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165e4a))return!0x0;const _0x38865c=_0x165e4a[_0x2d9c49([0x73,0x70,0x6c,0x69,0x74])](_0x2d9c49([0x2e]));return _0x48972a[_0x2d9c49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d9b07=>_0x2d9b07[_0x2d9c49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9c49([0x2a])))[_0x2d9c49([0x6d,0x61,0x70])](_0x9e2e7f=>_0x9e2e7f[_0x2d9c49([0x73,0x70,0x6c,0x69,0x74])](_0x2d9c49([0x2e])))[_0x2d9c49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x500148=>_0x500148[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38865c[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9c49([0x6d,0x61,0x70])](_0x165dc6=>Array(_0x38865c[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x165dc6[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9c49([0x66,0x69,0x6c,0x6c])](_0x165dc6[0x0]===_0x2d9c49([0x2a])?_0x2d9c49([0x2a]):'')[_0x2d9c49([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x165dc6))[_0x2d9c49([0x73,0x6f,0x6d,0x65])](_0x59f29f=>_0x38865c[_0x2d9c49([0x65,0x76,0x65,0x72,0x79])]((_0xa16377,_0x77be8e)=>_0x59f29f[_0x77be8e]===_0xa16377||_0x59f29f[_0x77be8e]===_0x2d9c49([0x2a])));}function _0x1e5ade(){return _0x4c68fa&&_0x502578?new window[(_0x2d9c49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fde46,_0x11f5c9)=>{_0x4c68fa[_0x2d9c49([0x74,0x68,0x65,0x6e])](_0x4fde46,_0x11f5c9),_0x502578[_0x2d9c49([0x74,0x68,0x65,0x6e])](_0x487a75=>{_0x487a75!=_0x2d9c49([0x56,0x61,0x6c,0x69,0x64])&&_0x4fde46(_0x487a75);},_0x11f5c9);}):_0x4c68fa||_0x502578||_0x2d9c49([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c1a62(_0x424121,_0x527a9b){return new window[(_0x2d9c49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x441aa4=>{if(_0x281325())return _0x441aa4(_0x2d9c49([0x56,0x61,0x6c,0x69,0x64]));_0x164d83(),_0x49adcd[_0x2d9c49([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9c49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x384d49=!0x1;const _0x10cd02=_0xbb795c();function _0x418f3c(_0x1059b8){return!!_0x1059b8&&(typeof _0x1059b8===_0x2d9c49([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1059b8===_0x2d9c49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1059b8[_0x2d9c49([0x74,0x68,0x65,0x6e])]===_0x2d9c49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1059b8[_0x2d9c49([0x63,0x61,0x74,0x63,0x68])]===_0x2d9c49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x216632(_0x304ce6){_0x531eec(_0x304ce6)[_0x2d9c49([0x74,0x68,0x65,0x6e])](_0x448271=>{if(!_0x448271||_0x448271[_0x2d9c49([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9c49([0x6f,0x6b]))return _0x2d9c49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x419f6c(_0x5f51b6(_0x10cd02+_0x527a9b))!=_0x448271[_0x2d9c49([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9c49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9c49([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9c49([0x74,0x68,0x65,0x6e])](_0x523897=>(_0x3c8ca1(),_0x523897),()=>{const _0x5a77a4=_0x4a0195();return null==_0x5a77a4?(_0x3c8ca1(),_0x2d9c49([0x56,0x61,0x6c,0x69,0x64])):_0x2d9c49(_0x1bc066-_0x5a77a4>(0x7753083a^_0x13ea25)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9c49([0x74,0x68,0x65,0x6e])](_0x441aa4)[_0x2d9c49([0x63,0x61,0x74,0x63,0x68])](()=>{_0x441aa4(_0x2d9c49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b4407=0x536962ba^_0x13ea25;function _0x3c8ca1(){const _0x1ed8b8=_0x2d9c49([0x6c,0x6c,0x63,0x74,0x2d])+_0x419f6c(_0x5f51b6(_0x424121)),_0x49903c=_0xbe7bd5(_0x419f6c(window[_0x2d9c49([0x4d,0x61,0x74,0x68])][_0x2d9c49([0x63,0x65,0x69,0x6c])](_0x1bc066/_0x2b4407)));window[_0x2d9c49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9c49([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ed8b8,_0x49903c);}function _0x4a0195(){const _0x290835=_0x2d9c49([0x6c,0x6c,0x63,0x74,0x2d])+_0x419f6c(_0x5f51b6(_0x424121)),_0x544705=window[_0x2d9c49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9c49([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x290835);return _0x544705?window[_0x2d9c49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbe7bd5(_0x544705),0x10)*_0x2b4407:null;}function _0x531eec(_0x31aa28){return new window[(_0x2d9c49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x595aea,_0x1a3ae2)=>{_0x31aa28[_0x2d9c49([0x74,0x68,0x65,0x6e])](_0x595aea,_0x1a3ae2),window[_0x2d9c49([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a3ae2,0x535e58fa^_0x13ea25);});}}_0x49adcd[_0x2d9c49([0x6f,0x6e])](_0x2d9c49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5338ee,_0x5efcd0)=>{if(_0x5efcd0[0x0]!=_0x424121)return _0x441aa4(_0x2d9c49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5efcd0[0x1]={..._0x5efcd0[0x1],[_0x2d9c49([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10cd02};},{[_0x2d9c49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9c49([0x68,0x69,0x67,0x68])}),_0x49adcd[_0x2d9c49([0x6f,0x6e])](_0x2d9c49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b908f=>{_0x418f3c(_0x4b908f[_0x2d9c49([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x384d49=!0x0,_0x216632(_0x4b908f[_0x2d9c49([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9c49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9c49([0x6c,0x6f,0x77])}),_0x18e950[_0x2d9c49([0x74,0x68,0x65,0x6e])](()=>{_0x384d49||_0x441aa4(_0x2d9c49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x281325(){return _0x49adcd[_0x2d9c49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9c49([0x76,0x69,0x65,0x77])][_0x2d9c49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9c49([0x61,0x75,0x74,0x6f]);}function _0x164d83(){_0x49adcd[_0x2d9c49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9c49([0x76,0x69,0x65,0x77])][_0x2d9c49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9c49([0x61,0x75,0x74,0x6f]);}}function _0x3ede55(_0x12a1e3){const _0x1d2835=[new window[(_0x2d9c49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x343cdc=>setTimeout(_0x343cdc,0x5356b2f6^_0x13ea25)),_0x18e950[_0x2d9c49([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9c49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6c434c=>{let _0x58be84=0x0;_0x49adcd[_0x2d9c49([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9c49([0x6f,0x6e])](_0x2d9c49([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40828f,_0x207672)=>{_0x207672[0x0][_0x2d9c49([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58be84++,_0x58be84==(0x535f89d2^_0x13ea25)&&(_0x6c434c(),_0x40828f[_0x2d9c49([0x6f,0x66,0x66])]());});}))];return window[_0x2d9c49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9c49([0x72,0x61,0x63,0x65])](_0x1d2835)[_0x2d9c49([0x74,0x68,0x65,0x6e])](()=>_0x12a1e3);}async function _0x27362b(){await _0x18e950,_0x49adcd[_0x2d9c49([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9c49([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe49c,_0x49adcd[_0x2d9c49([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9c49([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe49c,_0x49adcd[_0x2d9c49([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9c49([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53f667(_0x1dfbd1){const _0x32fc83=_0x35d459();_0x49adcd[_0x32fc83]=_0x2d9c49([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1dfbd1,_0x1dfbd1!=_0x2d9c49([0x56,0x61,0x6c,0x69,0x64])&&_0x27362b();}function _0x35d459(){const _0x339014=window[_0x2d9c49([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9c49([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9c49([0x6e,0x6f,0x77])]())[_0x2d9c49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9c49([0x2e]),'');let _0x472a09=_0x2d9c49([0x68]);for(let _0x42ddf5=0x0;_0x42ddf5<_0x339014[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42ddf5+=0x2){let _0x143572=window[_0x2d9c49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x339014[_0x2d9c49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42ddf5,_0x42ddf5+0x2));_0x143572>=_0x606f81[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x143572-=_0x606f81[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x472a09+=_0x606f81[_0x143572];}return _0x472a09;}function _0x2a3cb1(){const _0x1ec19d=_0x353d38[_0x2d9c49([0x73,0x70,0x6c,0x69,0x74])](_0x2d9c49([0x2e]));if(0x3!=_0x1ec19d[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4064f9(_0x1ec19d[0x1]);function _0x4064f9(_0x1bcacd){const _0x2415e0=_0x1694f3(_0x1bcacd);return _0x2415e0&&_0x1bae8f()?_0x2415e0:null;function _0x1bae8f(){const _0x89adf7=_0x2415e0[_0x2d9c49([0x6a,0x74,0x69])],_0x574a6c=window[_0x2d9c49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x89adf7[_0x2d9c49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x89adf7[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x569917={..._0x2415e0,[_0x2d9c49([0x6a,0x74,0x69])]:_0x89adf7[_0x2d9c49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x89adf7[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x569917[_0x2d9c49([0x76,0x63])],_0x5f51b6(_0x569917)==_0x574a6c;}}}async function _0x3385f5(){let _0x9834c7=!0x0;try{const _0x5dc9d8=_0x353d38[_0x2d9c49([0x73,0x70,0x6c,0x69,0x74])](_0x2d9c49([0x2e])),[_0x3048f3,_0x25363f,_0x237418]=_0x5dc9d8;return _0x50f4f1(_0x3048f3),await _0x408d3c(_0x3048f3,_0x25363f,_0x237418),_0x9834c7;}catch{return!0x1;}function _0x50f4f1(_0x1a139f){const _0x5e7991=_0x1694f3(_0x1a139f);_0x5e7991&&_0x5e7991[_0x2d9c49([0x61,0x6c,0x67])]==_0x2d9c49([0x45,0x53,0x32,0x35,0x36])||(_0x9834c7=!0x1);}async function _0x408d3c(_0x5d9fc9,_0x3e1d87,_0x1e1c2b){const _0x4b0ff4=window[_0x2d9c49([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9c49([0x66,0x72,0x6f,0x6d])](_0x1cb3e8(_0x1e1c2b),_0x14e812=>_0x14e812[_0x2d9c49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b5af5=new window[(_0x2d9c49([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9c49([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d9fc9+_0x2d9c49([0x2e])+_0x3e1d87),_0x448c7f=window[_0x2d9c49([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9c49([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x448c7f)return;const _0x12d0b0=await _0x448c7f[_0x2d9c49([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9c49([0x6a,0x77,0x6b]),_0x47f832,{[_0x2d9c49([0x6e,0x61,0x6d,0x65])]:_0x2d9c49([0x45,0x43,0x44,0x53,0x41]),[_0x2d9c49([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9c49([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9c49([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x448c7f[_0x2d9c49([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9c49([0x6e,0x61,0x6d,0x65])]:_0x2d9c49([0x45,0x43,0x44,0x53,0x41]),[_0x2d9c49([0x68,0x61,0x73,0x68])]:{[_0x2d9c49([0x6e,0x61,0x6d,0x65])]:_0x2d9c49([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12d0b0,_0x4b0ff4,_0x3b5af5)||(_0x9834c7=!0x1);}}function _0x1694f3(_0x639713){return _0x639713[_0x2d9c49([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9c49([0x65,0x79]))?JSON[_0x2d9c49([0x70,0x61,0x72,0x73,0x65])](_0x1cb3e8(_0x639713)):null;}function _0x1cb3e8(_0x3893f3){return window[_0x2d9c49([0x61,0x74,0x6f,0x62])](_0x3893f3[_0x2d9c49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9c49([0x2b]))[_0x2d9c49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9c49([0x2f])));}function _0x5f51b6(_0xe8249d){let _0x187b4b=0x1505;function _0x11ab29(_0xfc42e8){for(let _0x656de0=0x0;_0x656de0<_0xfc42e8[_0x2d9c49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x656de0++){const _0x232fc9=_0xfc42e8[_0x2d9c49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x656de0);_0x187b4b=(_0x187b4b<<0x5)+_0x187b4b+_0x232fc9,_0x187b4b&=_0x187b4b;}}function _0x5bd4a1(_0x33e05b){Array[_0x2d9c49([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33e05b)?_0x33e05b[_0x2d9c49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bd4a1):_0x33e05b&&typeof _0x33e05b==_0x2d9c49([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9c49([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33e05b)[_0x2d9c49([0x73,0x6f,0x72,0x74])]()[_0x2d9c49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c583a,_0x52eac8])=>{_0x11ab29(_0x2c583a),_0x5bd4a1(_0x52eac8);}):_0x11ab29(window[_0x2d9c49([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33e05b));}return _0x5bd4a1(_0xe8249d),_0x187b4b>>>0x0;}function _0x419f6c(_0x2fd56f){return _0x2fd56f[_0x2d9c49([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9c49([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9c49([0x30]));}function _0xbe7bd5(_0x710818){return _0x710818[_0x2d9c49([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9c49([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9c49([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fe49c(){}function _0x2d9c49(_0x522327){const _0xf8500c=_0x33f7;return _0x522327[_0xf8500c(0xe6)](_0x3cc477=>String[_0xf8500c(0xc0)](_0x3cc477))[_0xf8500c(0xe1)]('');}_0x53f667(await _0x5bfb10());}(this);}[_0x35382d(0xc3)](){const _0x299c7f=_0x35382d,_0x3ef382=this[_0x299c7f(0xc5)][_0x299c7f(0xaf)][_0x299c7f(0xfb)];_0x3ef382[_0x299c7f(0xd9)](_0x299c7f(0xe8))&&_0x3ef382[_0x299c7f(0xbf)](_0x299c7f(0xe8),{'allowAttributes':[_0x299c7f(0xdf)]}),_0x3ef382[_0x299c7f(0xd9)](_0x299c7f(0xce))&&_0x3ef382[_0x299c7f(0xbf)](_0x299c7f(0xce),{'allowAttributes':[_0x299c7f(0xdf)]});}[_0x35382d(0xbb)](){const _0x2b8cf2=_0x35382d,_0x310e28=this[_0x2b8cf2(0xc5)];_0x310e28[_0x2b8cf2(0xc6)][_0x2b8cf2(0xf2)](_0x2b8cf2(0xae))[_0x2b8cf2(0xeb)]({'model':_0x2b8cf2(0xdf),'view':_0x2b8cf2(0xf1)}),_0x310e28[_0x2b8cf2(0xc6)][_0x2b8cf2(0xf2)](_0x2b8cf2(0xdb))[_0x2b8cf2(0xab)]({'model':{'key':_0x2b8cf2(0xdf),'value':_0x170a74=>_0x170a74[_0x2b8cf2(0xd4)](_0x2b8cf2(0xf1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x160e07=_0x310e28[_0x2b8cf2(0xac)][_0x2b8cf2(0xda)](_0x2b8cf2(0xc2));_0x160e07&&this[_0x2b8cf2(0xe0)](_0x160e07,_0x2b8cf2(0xbd),(_0x3748be,[_0x542388,_0x2f6321])=>{const _0x1e86bb=_0x2b8cf2;_0x542388[_0x1e86bb(0xe4)](_0x1e86bb(0xdf),_0x2f6321);});}[_0x35382d(0xca)](){const _0x9a7a1e=_0x35382d,_0x138198=this[_0x9a7a1e(0xc5)][_0x9a7a1e(0xdc)][_0x9a7a1e(0xda)](_0x9a7a1e(0xaa))||{},_0x40d4db=this[_0x9a7a1e(0xc5)][_0x9a7a1e(0xdc)][_0x9a7a1e(0xda)](_0x9a7a1e(0xf8))||'';this[_0x9a7a1e(0xd3)]=_0xb6f7ac(_0x4ae40f[_0x9a7a1e(0xef)],_0x9a7a1e(0xe9),{..._0x138198,'pubkey':_0x40d4db,'ctx-name':_0x9a7a1e(0xfc)+this[_0x9a7a1e(0xea)],'sourceList':'','imgOnly':_0x9a7a1e(0xdd),'removeCopyright':_0x9a7a1e(0xdd),'localeName':this[_0x9a7a1e(0xc5)][_0x9a7a1e(0xf9)][_0x9a7a1e(0xf5)],'externalSourcesEmbedCss':_0x9a7a1e(0xcf)}),this[_0x9a7a1e(0xd3)][_0x9a7a1e(0xb8)]=_0x562f01=>{const _0x19f1f6=_0x9a7a1e;if(_0x19f1f6(0xf0)==_0x562f01)return _0x19f1f6(0xcb);},_0x4ae40f[_0x9a7a1e(0xef)][_0x9a7a1e(0xf4)][_0x9a7a1e(0xc8)](this[_0x9a7a1e(0xd3)]);}[_0x35382d(0xb9)](){const _0x2b7087=_0x35382d;this[_0x2b7087(0xc1)]=_0xb6f7ac(_0x4ae40f[_0x2b7087(0xef)],_0x2b7087(0xc7),{'ctx-name':_0x2b7087(0xfc)+this[_0x2b7087(0xea)]}),_0x4ae40f[_0x2b7087(0xef)][_0x2b7087(0xf4)][_0x2b7087(0xc8)](this[_0x2b7087(0xc1)]);}[_0x35382d(0xba)](){const _0x4a6c57=_0x35382d,_0x5b07ff=this[_0x4a6c57(0xc5)][_0x4a6c57(0xac)][_0x4a6c57(0xda)](_0x4a6c57(0xcd));_0x5b07ff&&this[_0x4a6c57(0xe0)](_0x5b07ff,_0x4a6c57(0xb7),()=>{const _0x5d4c0c=_0x4a6c57,_0x53cb98=this[_0x5d4c0c(0xc5)][_0x5d4c0c(0xaf)][_0x5d4c0c(0xef)][_0x5d4c0c(0xfa)][_0x5d4c0c(0xb1)]();_0x53cb98&&_0x53cb98[_0x5d4c0c(0xd4)](_0x5d4c0c(0xdf))&&this[_0x5d4c0c(0xc5)][_0x5d4c0c(0xd6)][_0x5d4c0c(0xec)][_0x5d4c0c(0xd2)](_0x5d4c0c(0xed),()=>{const _0x1ff938=_0x5d4c0c;_0x537c86(this[_0x1ff938(0xc5)],_0x53cb98);});});const _0x3ce9b6=this[_0x4a6c57(0xc5)][_0x4a6c57(0xac)][_0x4a6c57(0xda)](_0x4a6c57(0xb4));_0x3ce9b6&&this[_0x4a6c57(0xe0)](_0x3ce9b6,_0x4a6c57(0xb7),()=>{const _0x1fbe43=_0x4a6c57,_0x4bdbe9=this[_0x1fbe43(0xc5)][_0x1fbe43(0xaf)][_0x1fbe43(0xef)][_0x1fbe43(0xfa)][_0x1fbe43(0xb1)]();_0x4bdbe9&&_0x4bdbe9[_0x1fbe43(0xd4)](_0x1fbe43(0xdf))&&this[_0x1fbe43(0xc5)][_0x1fbe43(0xd6)][_0x1fbe43(0xec)][_0x1fbe43(0xd2)](_0x1fbe43(0xed),()=>{const _0x46dc0e=_0x1fbe43;_0x537c86(this[_0x46dc0e(0xc5)],_0x4bdbe9);});});}}
23
+ const _0x466873=_0x3e8a;(function(_0x901834,_0x2e96e1){const _0x4cd4f3=_0x3e8a,_0x33b368=_0x901834();while(!![]){try{const _0x5a8226=-parseInt(_0x4cd4f3(0x10b))/0x1*(-parseInt(_0x4cd4f3(0xfc))/0x2)+parseInt(_0x4cd4f3(0xd9))/0x3*(parseInt(_0x4cd4f3(0x118))/0x4)+-parseInt(_0x4cd4f3(0xfb))/0x5*(parseInt(_0x4cd4f3(0x100))/0x6)+-parseInt(_0x4cd4f3(0xd2))/0x7*(-parseInt(_0x4cd4f3(0xe1))/0x8)+parseInt(_0x4cd4f3(0xc3))/0x9*(-parseInt(_0x4cd4f3(0xda))/0xa)+-parseInt(_0x4cd4f3(0xc6))/0xb*(-parseInt(_0x4cd4f3(0x109))/0xc)+-parseInt(_0x4cd4f3(0x114))/0xd*(parseInt(_0x4cd4f3(0x106))/0xe);if(_0x5a8226===_0x2e96e1)break;else _0x33b368['push'](_0x33b368['shift']());}catch(_0x16bea7){_0x33b368['push'](_0x33b368['shift']());}}}(_0x362b,0x8a43a));function _0x362b(){const _0x187f35=['get','downcast','_initConfig','href','uploadcare.pubkey','body','querySelector','map','replaceImageSource','conversion','init','extend','ucContextId','listenTo','imageInline','schema','getAttribute','iconHrefResolver','15475xesFGy','3622xKMFET','getSelectedElement','config','fromCharCode','72BTeTwD','uploader-','_initConversion','isPremiumPlugin','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','imageBlock','12193790OoYdaW','destroy','pluginName','24FilkUa','contentLanguage','471RgDtnA','UploadcareEditing','_ctxElement','appendChild','#uc-icon-arrow-down','render','data-uc-image-id','uploadcare.uploader','editing','13aspVkZ','selection','editor','uploadcare','8428YZQYyc','remove','uc-config','insertImage','8565705bauRzC','_initSchema','view','2729309fbpTxu','uc-upload-ctx-provider','uploadcareImageReplace','add','_initImageProcessingIndicator','once','_configElement','uploadcareImageId','ctxElement','removeAttribute','for','attributeToAttribute','21ArgIFy','PictureEditing','closeMax','configElement','locale','requires','model','582zsVjKz','10dSVkPQ','execute','afterInit','cleanupImage','document','true','upcast','1781928CqtkUW','elementToAttribute','isRegistered','commands','input[uploadcare-file-input]','_initCtx','isOfficialPlugin','join'];_0x362b=function(){return _0x187f35;};return _0x362b();}import{Plugin as _0x34379f}from'ckeditor5/src/core.js';import{Dialog as _0x3bd2d6}from'ckeditor5/src/ui.js';import{createElement as _0x54b96e,global as _0x3664b0,uid as _0xebaf43}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x35e1b1}from'./uploadcarecommand.js';function _0x3e8a(_0x51db98,_0x588755){const _0x362b12=_0x362b();return _0x3e8a=function(_0x3e8a0e,_0x4614d5){_0x3e8a0e=_0x3e8a0e-0xc1;let _0x5bb0f0=_0x362b12[_0x3e8a0e];return _0x5bb0f0;},_0x3e8a(_0x51db98,_0x588755);}import{UploadcareUploadAdapter as _0x46905d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x455733}from'./utils/editingutils.js';export class UploadcareEditing extends _0x34379f{[_0x466873(0xcc)]=null;[_0x466873(0x10d)]=null;static get[_0x466873(0x108)](){const _0x24c26e=_0x466873;return _0x24c26e(0x10c);}static get[_0x466873(0xd7)](){const _0x3ff8d3=_0x466873;return[_0x3ff8d3(0xd3),_0x46905d,_0x3bd2d6];}static get[_0x466873(0xe7)](){return!0x0;}static get[_0x466873(0x103)](){return!0x0;}[_0x466873(0xf5)];get[_0x466873(0xd5)](){const _0x3a15ae=_0x466873;return this[_0x3a15ae(0xcc)];}get[_0x466873(0xce)](){const _0x32a5dd=_0x466873;return this[_0x32a5dd(0x10d)];}constructor(_0x300d25){const _0x49fc97=_0x466873;super(_0x300d25),this[_0x49fc97(0xf5)]=_0xebaf43();}[_0x466873(0xf3)](){const _0xee8f53=_0x466873,_0x57a77d=this[_0xee8f53(0x116)];_0x57a77d[_0xee8f53(0xe4)][_0xee8f53(0xc9)](_0xee8f53(0x117),new _0x35e1b1(_0x57a77d));}[_0x466873(0xdc)](){const _0x4e359e=_0x466873;this[_0x4e359e(0xc4)](),this[_0x4e359e(0x102)](),this[_0x4e359e(0xeb)](),this[_0x4e359e(0xe6)](),this[_0x4e359e(0xca)](),this[_0x4e359e(0xf6)](this[_0x4e359e(0x116)],_0x4e359e(0x107),()=>{const _0x5ec3f5=_0x4e359e;this[_0x5ec3f5(0xcc)]&&(this[_0x5ec3f5(0xcc)][_0x5ec3f5(0x119)](),this[_0x5ec3f5(0xcc)]=null),this[_0x5ec3f5(0x10d)]&&(this[_0x5ec3f5(0x10d)][_0x5ec3f5(0x119)](),this[_0x5ec3f5(0x10d)]=null);const _0x381ec2=_0x3664b0[_0x5ec3f5(0xde)][_0x5ec3f5(0xef)](_0x5ec3f5(0xe5));_0x381ec2&&_0x381ec2[_0x5ec3f5(0x119)]();}),async function(_0x581c9c){const _0x4262f5=_0x171ae6([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1b5bb2=0x535f8c3a,_0x1cd864=0x5358f34a^_0x1b5bb2,_0x27b10c=window[_0x171ae6([0x44,0x61,0x74,0x65])][_0x171ae6([0x6e,0x6f,0x77])](),_0x301386=_0x581c9c[_0x171ae6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x487767=new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b251f=>{_0x301386[_0x171ae6([0x6f,0x6e,0x63,0x65])](_0x171ae6([0x72,0x65,0x61,0x64,0x79]),_0x3b251f);}),_0x158dcc={[_0x171ae6([0x6b,0x74,0x79])]:_0x171ae6([0x45,0x43]),[_0x171ae6([0x75,0x73,0x65])]:_0x171ae6([0x73,0x69,0x67]),[_0x171ae6([0x63,0x72,0x76])]:_0x171ae6([0x50,0x2d,0x32,0x35,0x36]),[_0x171ae6([0x78])]:_0x171ae6([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x171ae6([0x79])]:_0x171ae6([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x171ae6([0x61,0x6c,0x67])]:_0x171ae6([0x45,0x53,0x32,0x35,0x36])},_0x39424f=_0x301386[_0x171ae6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x171ae6([0x67,0x65,0x74])](_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe3f1a3(){let _0x1b1f23,_0x18d761=null,_0x183ee2=null;try{if(_0x39424f==_0x171ae6([0x47,0x50,0x4c]))return _0x171ae6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b1f23=_0xc6bef2(),!_0x1b1f23)return _0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b1f23[_0x171ae6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x183ee2=_0x10c948(_0x1b1f23[_0x171ae6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b1f23[_0x171ae6([0x6a,0x74,0x69])])),await _0x24fd0b()?_0x491708()?_0x27cb66()?_0x171ae6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfd84d6()?(_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x171ae6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d761=_0xe1db8a(_0x171ae6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x243bbd()):_0x171ae6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x171ae6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27cb66(){const _0x337194=[_0x171ae6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x171ae6([0x74,0x72,0x69,0x61,0x6c])][_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27b10c/0x3e8:0xe10*_0x1cd864;return _0x1b1f23[_0x171ae6([0x65,0x78,0x70])]<_0x337194;}function _0x491708(){const _0x58e9e8=_0x1b1f23[_0x171ae6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58e9e8&&(!!_0x58e9e8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x2a]))||!!_0x58e9e8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x55,0x50,0x4c,0x43])));}function _0xfd84d6(){const _0x5a9532=_0x3e8a,_0x1a95b8=_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a95b8||0x0==_0x1a95b8[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2aa2a7}=new URL(window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a9532(0xec)]);if(_0x1a95b8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa2a7))return!0x0;const _0x28fe7f=_0x2aa2a7[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e]));return _0x1a95b8[_0x171ae6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36ec64=>_0x36ec64[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x2a])))[_0x171ae6([0x6d,0x61,0x70])](_0x173fd2=>_0x173fd2[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e])))[_0x171ae6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a7547=>_0x1a7547[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28fe7f[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x171ae6([0x6d,0x61,0x70])](_0x30699d=>Array(_0x28fe7f[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30699d[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x171ae6([0x66,0x69,0x6c,0x6c])](_0x30699d[0x0]===_0x171ae6([0x2a])?_0x171ae6([0x2a]):'')[_0x171ae6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30699d))[_0x171ae6([0x73,0x6f,0x6d,0x65])](_0x177367=>_0x28fe7f[_0x171ae6([0x65,0x76,0x65,0x72,0x79])]((_0x52f5f5,_0xddb27)=>_0x177367[_0xddb27]===_0x52f5f5||_0x177367[_0xddb27]===_0x171ae6([0x2a])));}function _0x243bbd(){return _0x18d761&&_0x183ee2?new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aa1ba,_0x55dd62)=>{_0x18d761[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x5aa1ba,_0x55dd62),_0x183ee2[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x4112ba=>{_0x4112ba!=_0x171ae6([0x56,0x61,0x6c,0x69,0x64])&&_0x5aa1ba(_0x4112ba);},_0x55dd62);}):_0x18d761||_0x183ee2||_0x171ae6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10c948(_0x3351d3,_0xfd70fe){return new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f21de=>{if(_0x19bda3())return _0x1f21de(_0x171ae6([0x56,0x61,0x6c,0x69,0x64]));_0xf7832a(),_0x301386[_0x171ae6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dc156=!0x1;const _0x2c0400=_0xebaf43();function _0x407aa2(_0x994f65){return!!_0x994f65&&(typeof _0x994f65===_0x171ae6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x994f65===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x994f65[_0x171ae6([0x74,0x68,0x65,0x6e])]===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x994f65[_0x171ae6([0x63,0x61,0x74,0x63,0x68])]===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf56cb7(_0x1aa963){_0x4a4486(_0x1aa963)[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x15ad78=>{if(!_0x15ad78||_0x15ad78[_0x171ae6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x171ae6([0x6f,0x6b]))return _0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5060f6(_0x5b8f02(_0x2c0400+_0xfd70fe))!=_0x15ad78[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x171ae6([0x56,0x61,0x6c,0x69,0x64]);})[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x454bf8=>(_0x22d661(),_0x454bf8),()=>{const _0x1752fd=_0x540101();return null==_0x1752fd?(_0x22d661(),_0x171ae6([0x56,0x61,0x6c,0x69,0x64])):_0x171ae6(_0x27b10c-_0x1752fd>(0x7753083a^_0x1b5bb2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x1f21de)[_0x171ae6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b4d5=0x536962ba^_0x1b5bb2;function _0x22d661(){const _0x3e3c4e=_0x171ae6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5060f6(_0x5b8f02(_0x3351d3)),_0x5142c9=_0x5ba4e2(_0x5060f6(window[_0x171ae6([0x4d,0x61,0x74,0x68])][_0x171ae6([0x63,0x65,0x69,0x6c])](_0x27b10c/_0x24b4d5)));window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x171ae6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3c4e,_0x5142c9);}function _0x540101(){const _0x1d1b42=_0x171ae6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5060f6(_0x5b8f02(_0x3351d3)),_0x32b29c=window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x171ae6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d1b42);return _0x32b29c?window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ba4e2(_0x32b29c),0x10)*_0x24b4d5:null;}function _0x4a4486(_0x46827b){return new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2ac2,_0xe15a12)=>{_0x46827b[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x5a2ac2,_0xe15a12),window[_0x171ae6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe15a12,0x535e58fa^_0x1b5bb2);});}}_0x301386[_0x171ae6([0x6f,0x6e])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a57b7,_0x51eb26)=>{if(_0x51eb26[0x0]!=_0x3351d3)return _0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51eb26[0x1]={..._0x51eb26[0x1],[_0x171ae6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c0400};},{[_0x171ae6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x171ae6([0x68,0x69,0x67,0x68])}),_0x301386[_0x171ae6([0x6f,0x6e])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b9286=>{_0x407aa2(_0x2b9286[_0x171ae6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dc156=!0x0,_0xf56cb7(_0x2b9286[_0x171ae6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x171ae6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x171ae6([0x6c,0x6f,0x77])}),_0x487767[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>{_0x4dc156||_0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19bda3(){return _0x301386[_0x171ae6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x171ae6([0x76,0x69,0x65,0x77])][_0x171ae6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x171ae6([0x61,0x75,0x74,0x6f]);}function _0xf7832a(){_0x301386[_0x171ae6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x171ae6([0x76,0x69,0x65,0x77])][_0x171ae6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x171ae6([0x61,0x75,0x74,0x6f]);}}function _0xe1db8a(_0x3d954c){const _0x1648e4=[new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216dd2=>setTimeout(_0x216dd2,0x5356b2f6^_0x1b5bb2)),_0x487767[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3ec2=>{let _0x4d5a71=0x0;_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x6f,0x6e])](_0x171ae6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x130471,_0x303caf)=>{_0x303caf[0x0][_0x171ae6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d5a71++,_0x4d5a71==(0x535f89d2^_0x1b5bb2)&&(_0x2a3ec2(),_0x130471[_0x171ae6([0x6f,0x66,0x66])]());});}))];return window[_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x171ae6([0x72,0x61,0x63,0x65])](_0x1648e4)[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>_0x3d954c);}async function _0x1ef799(){await _0x487767,_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4bb78d,_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4bb78d,_0x301386[_0x171ae6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1da51d(_0x10226c){const _0x2c0c52=_0x413013();_0x301386[_0x2c0c52]=_0x171ae6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10226c,_0x10226c!=_0x171ae6([0x56,0x61,0x6c,0x69,0x64])&&_0x1ef799();}function _0x413013(){const _0x24f061=window[_0x171ae6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x171ae6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x171ae6([0x6e,0x6f,0x77])]())[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x171ae6([0x2e]),'');let _0x34726a=_0x171ae6([0x68]);for(let _0x349b1b=0x0;_0x349b1b<_0x24f061[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x349b1b+=0x2){let _0x5b790a=window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24f061[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349b1b,_0x349b1b+0x2));_0x5b790a>=_0x4262f5[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b790a-=_0x4262f5[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34726a+=_0x4262f5[_0x5b790a];}return _0x34726a;}function _0xc6bef2(){const _0x5b84dd=_0x39424f[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e]));if(0x3!=_0x5b84dd[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52fade(_0x5b84dd[0x1]);function _0x52fade(_0x12b0d8){const _0xb1b92f=_0x5090ec(_0x12b0d8);return _0xb1b92f&&_0x49c4cc()?_0xb1b92f:null;function _0x49c4cc(){const _0x2cf751=_0xb1b92f[_0x171ae6([0x6a,0x74,0x69])],_0x490351=window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cf751[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cf751[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d3874={..._0xb1b92f,[_0x171ae6([0x6a,0x74,0x69])]:_0x2cf751[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cf751[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d3874[_0x171ae6([0x76,0x63])],_0x5b8f02(_0x5d3874)==_0x490351;}}}async function _0x24fd0b(){let _0x5690fd=!0x0;try{const _0x3b5100=_0x39424f[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e])),[_0x1493c2,_0x261c60,_0x459bb2]=_0x3b5100;return _0x400cf7(_0x1493c2),await _0x289a10(_0x1493c2,_0x261c60,_0x459bb2),_0x5690fd;}catch{return!0x1;}function _0x400cf7(_0xe0902b){const _0x2f4f11=_0x5090ec(_0xe0902b);_0x2f4f11&&_0x2f4f11[_0x171ae6([0x61,0x6c,0x67])]==_0x171ae6([0x45,0x53,0x32,0x35,0x36])||(_0x5690fd=!0x1);}async function _0x289a10(_0x27af43,_0x196a43,_0x53b4d1){const _0x161bd6=window[_0x171ae6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x171ae6([0x66,0x72,0x6f,0x6d])](_0xe80d8f(_0x53b4d1),_0x5d0d71=>_0x5d0d71[_0x171ae6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e3c37=new window[(_0x171ae6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x171ae6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27af43+_0x171ae6([0x2e])+_0x196a43),_0x20c98a=window[_0x171ae6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x171ae6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c98a)return;const _0xc63fbe=await _0x20c98a[_0x171ae6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x171ae6([0x6a,0x77,0x6b]),_0x158dcc,{[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x45,0x43,0x44,0x53,0x41]),[_0x171ae6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x171ae6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c98a[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x45,0x43,0x44,0x53,0x41]),[_0x171ae6([0x68,0x61,0x73,0x68])]:{[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc63fbe,_0x161bd6,_0x1e3c37)||(_0x5690fd=!0x1);}}function _0x5090ec(_0x22348d){return _0x22348d[_0x171ae6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x171ae6([0x65,0x79]))?JSON[_0x171ae6([0x70,0x61,0x72,0x73,0x65])](_0xe80d8f(_0x22348d)):null;}function _0xe80d8f(_0x4c15e2){return window[_0x171ae6([0x61,0x74,0x6f,0x62])](_0x4c15e2[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x171ae6([0x2b]))[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x171ae6([0x2f])));}function _0x5b8f02(_0x557852){let _0x21ad02=0x1505;function _0x39d17a(_0x5178da){for(let _0x435fb3=0x0;_0x435fb3<_0x5178da[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x435fb3++){const _0x1778bd=_0x5178da[_0x171ae6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x435fb3);_0x21ad02=(_0x21ad02<<0x5)+_0x21ad02+_0x1778bd,_0x21ad02&=_0x21ad02;}}function _0x2e318b(_0x458ddc){Array[_0x171ae6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x458ddc)?_0x458ddc[_0x171ae6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e318b):_0x458ddc&&typeof _0x458ddc==_0x171ae6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x171ae6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x458ddc)[_0x171ae6([0x73,0x6f,0x72,0x74])]()[_0x171ae6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56cfdf,_0x4c1edb])=>{_0x39d17a(_0x56cfdf),_0x2e318b(_0x4c1edb);}):_0x39d17a(window[_0x171ae6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x458ddc));}return _0x2e318b(_0x557852),_0x21ad02>>>0x0;}function _0x5060f6(_0x35befe){return _0x35befe[_0x171ae6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x171ae6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x171ae6([0x30]));}function _0x5ba4e2(_0x271a90){return _0x271a90[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x171ae6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x171ae6([0x6a,0x6f,0x69,0x6e])]('');}function _0x4bb78d(){}function _0x171ae6(_0x46d23f){const _0x23d749=_0x3e8a;return _0x46d23f[_0x23d749(0xf0)](_0x4709db=>String[_0x23d749(0xff)](_0x4709db))[_0x23d749(0xe8)]('');}_0x1da51d(await _0xe3f1a3());}(this);}[_0x466873(0xc4)](){const _0x4fe183=_0x466873,_0x11df6a=this[_0x4fe183(0x116)][_0x4fe183(0xd8)][_0x4fe183(0xf8)];_0x11df6a[_0x4fe183(0xe3)](_0x4fe183(0x105))&&_0x11df6a[_0x4fe183(0xf4)](_0x4fe183(0x105),{'allowAttributes':[_0x4fe183(0xcd)]}),_0x11df6a[_0x4fe183(0xe3)](_0x4fe183(0xf7))&&_0x11df6a[_0x4fe183(0xf4)](_0x4fe183(0xf7),{'allowAttributes':[_0x4fe183(0xcd)]});}[_0x466873(0x102)](){const _0x251cda=_0x466873,_0xa68207=this[_0x251cda(0x116)];_0xa68207[_0x251cda(0xf2)][_0x251cda(0xd0)](_0x251cda(0xea))[_0x251cda(0xd1)]({'model':_0x251cda(0xcd),'view':_0x251cda(0x111)}),_0xa68207[_0x251cda(0xf2)][_0x251cda(0xd0)](_0x251cda(0xe0))[_0x251cda(0xe2)]({'model':{'key':_0x251cda(0xcd),'value':_0x49a7ca=>_0x49a7ca[_0x251cda(0xf9)](_0x251cda(0x111))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c3ac4=_0xa68207[_0x251cda(0xe4)][_0x251cda(0xe9)](_0x251cda(0xf1));_0x5c3ac4&&this[_0x251cda(0xf6)](_0x5c3ac4,_0x251cda(0xdd),(_0xea2734,[_0x155a8e,_0x21471a])=>{const _0x48a005=_0x251cda;_0x155a8e[_0x48a005(0xcf)](_0x48a005(0xcd),_0x21471a);});}[_0x466873(0xeb)](){const _0x16e804=_0x466873,_0x45b723=this[_0x16e804(0x116)][_0x16e804(0xfe)][_0x16e804(0xe9)](_0x16e804(0x112))||{},_0x50d4b0=this[_0x16e804(0x116)][_0x16e804(0xfe)][_0x16e804(0xe9)](_0x16e804(0xed))||'';this[_0x16e804(0xcc)]=_0x54b96e(_0x3664b0[_0x16e804(0xde)],_0x16e804(0xc1),{..._0x45b723,'pubkey':_0x50d4b0,'ctx-name':_0x16e804(0x101)+this[_0x16e804(0xf5)],'sourceList':'','imgOnly':_0x16e804(0xdf),'removeCopyright':_0x16e804(0xdf),'localeName':this[_0x16e804(0x116)][_0x16e804(0xd6)][_0x16e804(0x10a)],'externalSourcesEmbedCss':_0x16e804(0x104)}),this[_0x16e804(0xcc)][_0x16e804(0xfa)]=_0x56cea0=>{const _0x24239d=_0x16e804;if(_0x24239d(0xd4)==_0x56cea0)return _0x24239d(0x10f);},_0x3664b0[_0x16e804(0xde)][_0x16e804(0xee)][_0x16e804(0x10e)](this[_0x16e804(0xcc)]);}[_0x466873(0xe6)](){const _0x2c1334=_0x466873;this[_0x2c1334(0x10d)]=_0x54b96e(_0x3664b0[_0x2c1334(0xde)],_0x2c1334(0xc7),{'ctx-name':_0x2c1334(0x101)+this[_0x2c1334(0xf5)]}),_0x3664b0[_0x2c1334(0xde)][_0x2c1334(0xee)][_0x2c1334(0x10e)](this[_0x2c1334(0x10d)]);}[_0x466873(0xca)](){const _0x545bdf=_0x466873,_0x28626f=this[_0x545bdf(0x116)][_0x545bdf(0xe4)][_0x545bdf(0xe9)](_0x545bdf(0xc2));_0x28626f&&this[_0x545bdf(0xf6)](_0x28626f,_0x545bdf(0xdb),()=>{const _0x189315=_0x545bdf,_0x322649=this[_0x189315(0x116)][_0x189315(0xd8)][_0x189315(0xde)][_0x189315(0x115)][_0x189315(0xfd)]();_0x322649&&_0x322649[_0x189315(0xf9)](_0x189315(0xcd))&&this[_0x189315(0x116)][_0x189315(0x113)][_0x189315(0xc5)][_0x189315(0xcb)](_0x189315(0x110),()=>{const _0x1837f8=_0x189315;_0x455733(this[_0x1837f8(0x116)],_0x322649);});});const _0x28fc62=this[_0x545bdf(0x116)][_0x545bdf(0xe4)][_0x545bdf(0xe9)](_0x545bdf(0xc8));_0x28fc62&&this[_0x545bdf(0xf6)](_0x28fc62,_0x545bdf(0xdb),()=>{const _0x3a6227=_0x545bdf,_0x2b6a1e=this[_0x3a6227(0x116)][_0x3a6227(0xd8)][_0x3a6227(0xde)][_0x3a6227(0x115)][_0x3a6227(0xfd)]();_0x2b6a1e&&_0x2b6a1e[_0x3a6227(0xf9)](_0x3a6227(0xcd))&&this[_0x3a6227(0x116)][_0x3a6227(0x113)][_0x3a6227(0xc5)][_0x3a6227(0xcb)](_0x3a6227(0x110),()=>{const _0xa3f19c=_0x3a6227;_0x455733(this[_0xa3f19c(0x116)],_0x2b6a1e);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4b37fc,ObservableMixin as _0x398a60}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x8fde3f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2b843d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1f188e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x1dbecf}from'../../utils/uploadutils.js';import{getImageUrls as _0xe96c46,getImageDimension as _0x25b94c}from'../../utils/editingutils.js';import{isAncestor as _0x4c531f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x398a60(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2cc5d1,_0x3b5200,_0x375e66){super(),this['_editor']=_0x2cc5d1,this['_dialog']=_0x3b5200,this['_imageElement']=_0x375e66,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 _0x2417ad=this['_imageElement'],_0x1e0d81=_0x2417ad['getAttribute']('uploadcareImageId'),_0x5a8c4a=_0x2417ad['getAttribute']('src');if(_0x1e0d81)await this['_loadImageInfo'](_0x1e0d81,_0x5a8c4a);else{if(this['_imageCache']['has'](_0x5a8c4a)){const _0x317f8d=this['_imageCache']['get'](_0x5a8c4a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x317f8d['url'],this['imageDimension']=_0x317f8d['dimension'],this['imageId']=_0x317f8d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x59d38d}=this['_editor'],t=_0x59d38d['t'],_0x1e4d09=new _0x1f188e(_0x59d38d,this['imageStatus'],this['_attributes']);_0x1e4d09['bind']('status')['to'](this,'imageStatus'),_0x1e4d09['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1e4d09['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1e4d09['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1e4d09,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b843d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1e4d09,'position':_0x8fde3f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1e4d09['focus']();},'onHide':()=>{_0x1e4d09['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3a6ddf=>!_0x4c531f(_0x3a6ddf,_0x1e4d09['element'])}});}['_loadImageInfo'](_0x2a9bda,_0x3cd4fa){return _0x1dbecf['getInfo'](_0x2a9bda,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x595e97=>{const {width:_0x322c3b,height:_0x61dde1}=_0x595e97['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3cd4fa,this['imageDimension']={'width':_0x322c3b,'height':_0x61dde1},this['imageId']=_0x2a9bda;})['catch'](_0x40a8b9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x40a8b9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x23d2df,_0x5ba6b4){return this['_getImageAsFile'](_0x23d2df)['then'](_0x2c139c=>_0x1dbecf['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5ba6b4['signal'],'file':_0x2c139c,'onProgress':_0x51f26c=>{_0x51f26c&&_0x51f26c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x51f26c['value']));}}))['then'](_0x50f778=>{const {width:_0x12dc60,height:_0x6e6eba}=_0x50f778['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50f778['cdnUrl'],this['imageDimension']={'width':_0x12dc60,'height':_0x6e6eba},this['imageId']=_0x50f778['uuid'],this['imageUploadProgress']=null;const _0x42d720=_0x23d2df['getAttribute']('src');this['_imageCache']['set'](_0x42d720,{'id':_0x50f778['uuid'],'url':_0x50f778['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x31040a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x31040a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2affbd,_0x222aad){_0x2affbd['on']('apply',(_0x140343,_0x1d59b3)=>{this['_replaceImage'](_0x222aad,_0x1d59b3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2affbd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2affbd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4c5199,_0x442931,_0x115bc2){const _0x499ed9=this['_editor'],{width:_0x1c481b,height:_0x2e6b43}=_0x25b94c(_0x442931,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xa8e98c,imageSources:_0x58c450}=_0xe96c46(_0x442931,_0x1c481b);_0x499ed9['model']['change'](_0x13f0f9=>{if('$graveyard'===_0x4c5199['root']['rootName']){_0x499ed9['execute']('insertImage',{'imageType':_0x4c5199['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4c5199['getAttributes']()),'uploadcareImageId':_0x115bc2,'src':_0xa8e98c,'sources':_0x58c450,'width':_0x1c481b,'height':_0x2e6b43}});const _0xe60896=_0x4c5199['getChildren']();_0x4c5199=_0x499ed9['model']['document']['selection']['getSelectedElement']();for(const _0x291436 of _0xe60896)_0x13f0f9['append'](_0x13f0f9['cloneElement'](_0x291436),_0x4c5199);}else _0x13f0f9['setSelection'](_0x4c5199,'on'),_0x499ed9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4c5199['getAttributes']()),'uploadcareImageId':_0x115bc2,'src':_0xa8e98c,'sources':_0x58c450,'width':_0x1c481b,'height':_0x2e6b43},_0x4c5199);_0x13f0f9['setSelection'](_0x4c5199,'on');});}async['_getImageAsFile'](_0x3451cb){const _0x463d70=_0x4b37fc['window'],_0xe00cec=_0x4b37fc['document']['location']['href'],_0x4b587e=new _0x463d70['URL'](_0x3451cb['getAttribute']('src'),_0xe00cec);if('data:'===_0x4b587e['protocol']){const _0x1e4233=_0x4b587e['href']['split'](','),_0x3b2ef0=_0x1e4233[0x0]['match'](/:(.*?);/)[0x1],_0x30dd74=_0x3b2ef0['split']('/')[0x1],_0x4e10eb=_0x463d70['atob'](_0x1e4233[_0x1e4233['length']-0x1]);let _0x34225b=_0x4e10eb['length'];const _0x291d94=new _0x463d70['Uint8Array'](_0x34225b);for(;_0x34225b--;)_0x291d94[_0x34225b]=_0x4e10eb['charCodeAt'](_0x34225b);return new _0x463d70['File']([_0x291d94],'image.'+_0x30dd74,{'type':_0x3b2ef0});}const _0x5a66ce=_0x4b587e['href']['split']('/'),_0x1d5eee=_0x5a66ce[_0x5a66ce['length']-0x1],_0x3dcf85=_0x1d5eee['split']('.')[0x1];return _0x463d70['fetch'](_0x4b587e['href'])['then'](_0x41ab9f=>_0x41ab9f['clone']()['blob']())['then'](_0x181c6e=>new _0x463d70['File']([_0x181c6e],_0x1d5eee,{'type':'image/'+_0x3dcf85}));}}
23
+ import{global as _0x2ab5eb,ObservableMixin as _0x4341ce}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xe4e1b8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18db02}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5229f3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x40d3fe}from'../../utils/uploadutils.js';import{getImageUrls as _0x17466d,getImageDimension as _0x1c7b92}from'../../utils/editingutils.js';import{isAncestor as _0x4bb433}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x4341ce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x533744,_0x38d401,_0x2c4452){super(),this['_editor']=_0x533744,this['_dialog']=_0x38d401,this['_imageElement']=_0x2c4452,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x1ea864=this['_imageElement'],_0x4d6aad=_0x1ea864['getAttribute']('uploadcareImageId'),_0x14285b=_0x1ea864['getAttribute']('src');if(_0x4d6aad)await this['_loadImageInfo'](_0x4d6aad,_0x14285b);else{if(this['_imageCache']['has'](_0x14285b)){const _0x4c6b90=this['_imageCache']['get'](_0x14285b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c6b90['url'],this['imageDimension']=_0x4c6b90['dimension'],this['imageId']=_0x4c6b90['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1fd70c}=this['_editor'],t=_0x1fd70c['t'],_0xeb06a=new _0x5229f3(_0x1fd70c,this['imageStatus'],this['_attributes']);_0xeb06a['bind']('status')['to'](this,'imageStatus'),_0xeb06a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xeb06a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xeb06a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xeb06a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18db02,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xeb06a,'position':_0xe4e1b8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xeb06a['focus']();},'onHide':()=>{_0xeb06a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36d5a8=>!_0x4bb433(_0x36d5a8,_0xeb06a['element'])}});}['_loadImageInfo'](_0x427ba6,_0x4c11d0){return _0x40d3fe['getInfo'](_0x427ba6,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x7b5988=>{const {width:_0x1b2a68,height:_0x18ac6f}=_0x7b5988['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c11d0,this['imageDimension']={'width':_0x1b2a68,'height':_0x18ac6f},this['imageId']=_0x427ba6;})['catch'](_0x1c5177=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c5177['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2a0877,_0x5c5f25){return this['_getImageAsFile'](_0x2a0877)['then'](_0x4952d6=>_0x40d3fe['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5c5f25['signal'],'file':_0x4952d6,'onProgress':_0x5d5207=>{_0x5d5207&&_0x5d5207['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d5207['value']));}}))['then'](_0x32d7e3=>{const {width:_0x5077ef,height:_0x31bcda}=_0x32d7e3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32d7e3['cdnUrl'],this['imageDimension']={'width':_0x5077ef,'height':_0x31bcda},this['imageId']=_0x32d7e3['uuid'],this['imageUploadProgress']=null;const _0x57e12d=_0x2a0877['getAttribute']('src');this['_imageCache']['set'](_0x57e12d,{'id':_0x32d7e3['uuid'],'url':_0x32d7e3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2f74f8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2f74f8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x36458d,_0x293e04){_0x36458d['on']('apply',(_0x29be91,_0x565a34)=>{this['_replaceImage'](_0x293e04,_0x565a34['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x36458d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x36458d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x28e070,_0x565522,_0x2b7b7a){const _0x24da7b=this['_editor'],{width:_0x1e7b1d,height:_0xa02473}=_0x1c7b92(_0x565522,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3fae74,imageSources:_0x1154dc}=_0x17466d(_0x565522,_0x1e7b1d);_0x24da7b['model']['change'](_0x1a71f7=>{if('$graveyard'===_0x28e070['root']['rootName']){_0x24da7b['execute']('insertImage',{'imageType':_0x28e070['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x28e070['getAttributes']()),'uploadcareImageId':_0x2b7b7a,'src':_0x3fae74,'sources':_0x1154dc,'width':_0x1e7b1d,'height':_0xa02473}});const _0x136ff0=_0x28e070['getChildren']();_0x28e070=_0x24da7b['model']['document']['selection']['getSelectedElement']();for(const _0x79cc17 of _0x136ff0)_0x1a71f7['append'](_0x1a71f7['cloneElement'](_0x79cc17),_0x28e070);}else _0x1a71f7['setSelection'](_0x28e070,'on'),_0x24da7b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x28e070['getAttributes']()),'uploadcareImageId':_0x2b7b7a,'src':_0x3fae74,'sources':_0x1154dc,'width':_0x1e7b1d,'height':_0xa02473},_0x28e070);_0x1a71f7['setSelection'](_0x28e070,'on');});}async['_getImageAsFile'](_0x1c510d){const _0x50e2d4=_0x2ab5eb['window'],_0x51d9b7=_0x2ab5eb['document']['location']['href'],_0x41fc4d=new _0x50e2d4['URL'](_0x1c510d['getAttribute']('src'),_0x51d9b7);if('data:'===_0x41fc4d['protocol']){const _0x3e607e=_0x41fc4d['href']['split'](','),_0x31f046=_0x3e607e[0x0]['match'](/:(.*?);/)[0x1],_0x5b7486=_0x31f046['split']('/')[0x1],_0xa48dfd=_0x50e2d4['atob'](_0x3e607e[_0x3e607e['length']-0x1]);let _0x18b328=_0xa48dfd['length'];const _0x84f2e1=new _0x50e2d4['Uint8Array'](_0x18b328);for(;_0x18b328--;)_0x84f2e1[_0x18b328]=_0xa48dfd['charCodeAt'](_0x18b328);return new _0x50e2d4['File']([_0x84f2e1],'image.'+_0x5b7486,{'type':_0x31f046});}const _0x2b96ac=_0x41fc4d['href']['split']('/'),_0x82c5f9=_0x2b96ac[_0x2b96ac['length']-0x1],_0x5503b5=_0x82c5f9['split']('.')[0x1];return _0x50e2d4['fetch'](_0x41fc4d['href'])['then'](_0x128a1a=>_0x128a1a['clone']()['blob']())['then'](_0x58bad8=>new _0x50e2d4['File']([_0x58bad8],_0x82c5f9,{'type':'image/'+_0x5503b5}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x13b6(_0x1050c4,_0x124cd5){const _0x2d35da=_0x2d35();return _0x13b6=function(_0x13b613,_0x380869){_0x13b613=_0x13b613-0x12c;let _0x3f634e=_0x2d35da[_0x13b613];return _0x3f634e;},_0x13b6(_0x1050c4,_0x124cd5);}function _0x2d35(){const _0x348202=['set','2078766uMdOLM','ck-uploadcare-theme','image-edit','1095QSJtRL','setTemplate','48540LLArsi','bindTemplate','183004uvbpvw','uc-light','imageSrc','25802667qWOdOl','87HXcgMk','1467955ccrAra','39746cWRdqK','8667808Ckcriz','uc-cloud-image-editor'];_0x2d35=function(){return _0x348202;};return _0x2d35();}(function(_0x4c1911,_0x2ce0ad){const _0x397d37=_0x13b6,_0x296111=_0x4c1911();while(!![]){try{const _0x17ea63=-parseInt(_0x397d37(0x132))/0x1+parseInt(_0x397d37(0x137))/0x2+-parseInt(_0x397d37(0x131))/0x3*(-parseInt(_0x397d37(0x12d))/0x4)+-parseInt(_0x397d37(0x13a))/0x5*(-parseInt(_0x397d37(0x13c))/0x6)+parseInt(_0x397d37(0x133))/0x7+parseInt(_0x397d37(0x134))/0x8+-parseInt(_0x397d37(0x130))/0x9;if(_0x17ea63===_0x2ce0ad)break;else _0x296111['push'](_0x296111['shift']());}catch(_0x4432df){_0x296111['push'](_0x296111['shift']());}}}(_0x2d35,0xd9ccc));import{View as _0x35f134}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x35f134{constructor(_0x16aef8,_0x3f4e8b){const _0x574e44=_0x13b6;super(_0x16aef8);const _0xb64e83=this[_0x574e44(0x12c)];this[_0x574e44(0x136)](_0x574e44(0x12f),''),this[_0x574e44(0x13b)]({'tag':_0x574e44(0x135),'attributes':{..._0x3f4e8b,'class':[_0x574e44(0x12e),_0x574e44(0x138)],'ctx-name':_0x574e44(0x139),'cdn-url':_0xb64e83['to'](_0x574e44(0x12f))}});}}
23
+ function _0x500b(_0xfbd070,_0x54969e){const _0x3759b8=_0x3759();return _0x500b=function(_0x500bc1,_0x213d73){_0x500bc1=_0x500bc1-0x67;let _0x9c6712=_0x3759b8[_0x500bc1];return _0x9c6712;},_0x500b(_0xfbd070,_0x54969e);}(function(_0x24126a,_0xa70da4){const _0x424948=_0x500b,_0xb8f9a0=_0x24126a();while(!![]){try{const _0x3aec32=parseInt(_0x424948(0x77))/0x1+parseInt(_0x424948(0x70))/0x2*(parseInt(_0x424948(0x67))/0x3)+parseInt(_0x424948(0x6f))/0x4*(parseInt(_0x424948(0x73))/0x5)+parseInt(_0x424948(0x6b))/0x6+parseInt(_0x424948(0x75))/0x7+parseInt(_0x424948(0x71))/0x8+parseInt(_0x424948(0x6a))/0x9*(-parseInt(_0x424948(0x69))/0xa);if(_0x3aec32===_0xa70da4)break;else _0xb8f9a0['push'](_0xb8f9a0['shift']());}catch(_0x5ca486){_0xb8f9a0['push'](_0xb8f9a0['shift']());}}}(_0x3759,0xc6733));import{View as _0x2cb40d}from'ckeditor5/src/ui.js';function _0x3759(){const _0x19905c=['1036777wRhwEQ','uc-cloud-image-editor','12XhQsOo','uc-light','56808130RfjkXV','9zOAQod','9434418LKRCXV','bindTemplate','imageSrc','image-edit','5249796RsJqQx','363646FPKVzY','3306960klEWSN','setTemplate','5PsZTtV','set','10019611RWkAzJ','ck-uploadcare-theme'];_0x3759=function(){return _0x19905c;};return _0x3759();}export class UploadcareImageEditFormEditingView extends _0x2cb40d{constructor(_0x1858ae,_0xa31c48){const _0x366a7c=_0x500b;super(_0x1858ae);const _0x1e9a80=this[_0x366a7c(0x6c)];this[_0x366a7c(0x74)](_0x366a7c(0x6d),''),this[_0x366a7c(0x72)]({'tag':_0x366a7c(0x78),'attributes':{..._0xa31c48,'class':[_0x366a7c(0x68),_0x366a7c(0x76)],'ctx-name':_0x366a7c(0x6e),'cdn-url':_0x1e9a80['to'](_0x366a7c(0x6d))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x526910}from'ckeditor5/src/icons.js';import{ButtonView as _0x364e9f,IconView as _0x39ef3e,View as _0xe1dfb3}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0xe1dfb3{constructor(_0x2b2e5a){super(_0x2b2e5a);const t=_0x2b2e5a['t'];this['set']('errorType',null);const _0x5a77dc=new _0x364e9f(_0x2b2e5a);_0x5a77dc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5a77dc['withText']=!0x0,_0x5a77dc['class']='ck-button-action',_0x5a77dc['on']('execute',()=>{this['fire']('retry');}),_0x5a77dc['bind']('isVisible')['to'](this,'errorType',_0x164809=>'NotFound'!==_0x164809);const _0x23587b=new _0x39ef3e();_0x23587b['content']=_0x526910,_0x23587b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xd2c1c8=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':[_0x23587b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xd2c1c8['to']('errorType',_0x639e10=>t('NotFound'!==_0x639e10?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5a77dc]},{'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 _0x4594c8}from'ckeditor5/src/icons.js';import{ButtonView as _0xb16759,IconView as _0xe5870f,View as _0x5bbccd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5bbccd{constructor(_0x2caeed){super(_0x2caeed);const t=_0x2caeed['t'];this['set']('errorType',null);const _0x65faec=new _0xb16759(_0x2caeed);_0x65faec['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x65faec['withText']=!0x0,_0x65faec['class']='ck-button-action',_0x65faec['on']('execute',()=>{this['fire']('retry');}),_0x65faec['bind']('isVisible')['to'](this,'errorType',_0x250ef3=>'NotFound'!==_0x250ef3);const _0x2442c3=new _0xe5870f();_0x2442c3['content']=_0x4594c8,_0x2442c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x396828=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2442c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x396828['to']('errorType',_0x5b7bb4=>t('NotFound'!==_0x5b7bb4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x65faec]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x5f20e5,View as _0xfee3d5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xfee3d5{constructor(_0x4273ae){super(_0x4273ae);const t=_0x4273ae['t'],_0x336e77=this['bindTemplate'],_0x3251f0=new _0x5f20e5();_0x3251f0['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':[_0x3251f0,{'text':_0x336e77['to']('imageUploadProgress',_0x4d0bf4=>t('Loading\x20image...')+'\x20('+(_0x4d0bf4||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 _0x260625,View as _0x4a0094}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4a0094{constructor(_0x5ebc67){super(_0x5ebc67);const t=_0x5ebc67['t'],_0x7e88e2=this['bindTemplate'],_0x922f6a=new _0x260625();_0x922f6a['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x922f6a,{'text':_0x7e88e2['to']('imageUploadProgress',_0x3c1f19=>t('Loading\x20image...')+'\x20('+(_0x3c1f19||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1381(){const _0xf64f36=['focus','40372tvqcFT','toLowerCase','89380Bbxfgw','getFocusableElement','disconnect','detail','2780490besnCv','retry','once','_addUploadcareImageEditorListeners','ready','uploading','length','apply','13700555aXzSfE','add','_loadingView','_editingView','addedNodes','addEventListener','cdnUrl','200023whmrqq','285EsqIWZ','ck-reset_all-excluded','change:status','_errorView','157829JqYcwZ','set','uc-cloud-image-editor','_addErrorViewListeners','4qgbCAU','48Pmyovt','_focusableView','createCollection','element','_waitForImageEditorComponent','468sQFuHr','status','_items','_setView','querySelector','filter','target','fire','cancel','nodeName','error','div','ck-uploadcare-form','setTemplate','observe','1986882GHNpMc','addMany','clear','render'];_0x1381=function(){return _0xf64f36;};return _0x1381();}const _0x50ecc0=_0x5171;(function(_0x267116,_0x56999a){const _0x27a2dd=_0x5171,_0x30847b=_0x267116();while(!![]){try{const _0x4f1b8a=parseInt(_0x27a2dd(0x8e))/0x1*(-parseInt(_0x27a2dd(0x97))/0x2)+parseInt(_0x27a2dd(0xac))/0x3+-parseInt(_0x27a2dd(0xb1))/0x4*(-parseInt(_0x27a2dd(0x8f))/0x5)+parseInt(_0x27a2dd(0xb7))/0x6+-parseInt(_0x27a2dd(0x93))/0x7*(parseInt(_0x27a2dd(0x98))/0x8)+parseInt(_0x27a2dd(0x9d))/0x9*(parseInt(_0x27a2dd(0xb3))/0xa)+-parseInt(_0x27a2dd(0xbf))/0xb;if(_0x4f1b8a===_0x56999a)break;else _0x30847b['push'](_0x30847b['shift']());}catch(_0x229c5b){_0x30847b['push'](_0x30847b['shift']());}}}(_0x1381,0x5dfb9));import{View as _0x544adb}from'ckeditor5/src/ui.js';function _0x5171(_0x53a27c,_0x5a17ed){const _0x1381ca=_0x1381();return _0x5171=function(_0x5171fc,_0x46414e){_0x5171fc=_0x5171fc-0x8d;let _0x196563=_0x1381ca[_0x5171fc];return _0x196563;},_0x5171(_0x53a27c,_0x5a17ed);}import{UploadcareImageEditFormLoadingView as _0x2b1b3c}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4e09e8}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x441184}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x16fe98}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x16fe98{[_0x50ecc0(0x9f)];[_0x50ecc0(0xc1)];[_0x50ecc0(0x92)];[_0x50ecc0(0xc2)];[_0x50ecc0(0x99)];constructor(_0x3fafff,_0x207cc1,_0x5aacd4){const _0x55db82=_0x50ecc0;super(_0x3fafff),this[_0x55db82(0x9f)]=this[_0x55db82(0x9a)](),this[_0x55db82(0xc1)]=new _0x2b1b3c(_0x3fafff),this[_0x55db82(0x92)]=new _0x4e09e8(_0x3fafff),this[_0x55db82(0xc2)]=new _0x441184(_0x3fafff,_0x5aacd4),this[_0x55db82(0x99)]=new _0x544adb(_0x3fafff),this[_0x55db82(0x99)][_0x55db82(0xaa)](this[_0x55db82(0xb4)]()),this[_0x55db82(0x94)](_0x55db82(0x9e),_0x207cc1),this[_0x55db82(0xaa)]({'tag':_0x55db82(0xa8),'attributes':{'class':['ck',_0x55db82(0x90),_0x55db82(0xa9)],'tabindex':'-1'},'children':this[_0x55db82(0x9f)]}),this[_0x55db82(0xa0)](),this[_0x55db82(0xb9)](_0x55db82(0xaf),()=>{const _0x3baaa1=_0x55db82;this[_0x3baaa1(0x9c)](this[_0x3baaa1(0x9b)],_0x3aaf5e=>{const _0x433dfa=_0x3baaa1;this[_0x433dfa(0xba)](_0x3aaf5e);});}),this['on'](_0x55db82(0x91),()=>{const _0x22d3b9=_0x55db82;this[_0x22d3b9(0xa0)]();}),this[_0x55db82(0x96)]();}[_0x50ecc0(0xb0)](){const _0x474198=_0x50ecc0;this[_0x474198(0x9b)][_0x474198(0xb0)]();}[_0x50ecc0(0xa0)](){const _0x113b1a=_0x50ecc0;switch(this[_0x113b1a(0x9f)][_0x113b1a(0xae)](),this[_0x113b1a(0x9e)]){case _0x113b1a(0xbc):this[_0x113b1a(0x9f)][_0x113b1a(0xc0)](this[_0x113b1a(0xc1)]);break;case _0x113b1a(0xa7):this[_0x113b1a(0x9f)][_0x113b1a(0xc0)](this[_0x113b1a(0x92)]);break;case _0x113b1a(0xbb):this[_0x113b1a(0x9f)][_0x113b1a(0xad)]([this[_0x113b1a(0xc2)],this[_0x113b1a(0x99)]]);}}[_0x50ecc0(0x9c)](_0x198353,_0x42a1d7){const _0x10ea85=_0x50ecc0,_0x42e368=_0x10ea85(0x95),_0x495646=_0x198353[_0x10ea85(0xa1)](_0x42e368);if(_0x495646)return _0x42a1d7(_0x495646);const _0x2c9d68=new MutationObserver(_0x421dc7=>{const _0x39d55c=_0x10ea85,_0x3afacf=_0x421dc7[_0x39d55c(0xa2)](_0x39e6e7=>_0x39e6e7[_0x39d55c(0xa3)]===_0x198353&&_0x39e6e7[_0x39d55c(0xc3)][_0x39d55c(0xbd)]>0x0&&_0x39e6e7[_0x39d55c(0xc3)][0x0][_0x39d55c(0xa6)][_0x39d55c(0xb2)]()===_0x42e368);_0x3afacf[_0x39d55c(0xbd)]&&(_0x2c9d68[_0x39d55c(0xb5)](),_0x42a1d7(_0x3afacf[0x0][_0x39d55c(0xc3)][0x0]));});_0x2c9d68[_0x10ea85(0xab)](_0x198353,{'childList':!0x0,'subtree':!0x0});}[_0x50ecc0(0xba)](_0x438d53){const _0x5c358c=_0x50ecc0;_0x438d53[_0x5c358c(0xc4)](_0x5c358c(0xbe),_0x526205=>{const _0x50cf8a=_0x5c358c;this[_0x50cf8a(0xa4)](_0x50cf8a(0xbe),{'imageSrc':_0x526205[_0x50cf8a(0xb6)][_0x50cf8a(0x8d)]});}),_0x438d53[_0x5c358c(0xc4)](_0x5c358c(0xa5),()=>{const _0x2193b3=_0x5c358c;this[_0x2193b3(0xa4)](_0x2193b3(0xa5));});}[_0x50ecc0(0x96)](){const _0x1b7308=_0x50ecc0;this[_0x1b7308(0x92)]['on'](_0x1b7308(0xb8),()=>{const _0x366c8f=_0x1b7308;this[_0x366c8f(0xa4)](_0x366c8f(0xb8));});}}
23
+ const _0x1b68fe=_0x2889;(function(_0x44f9a1,_0x4c6b24){const _0x406410=_0x2889,_0x43abe4=_0x44f9a1();while(!![]){try{const _0x4d946c=-parseInt(_0x406410(0x1b9))/0x1+parseInt(_0x406410(0x1c5))/0x2+parseInt(_0x406410(0x1a3))/0x3*(parseInt(_0x406410(0x19b))/0x4)+-parseInt(_0x406410(0x1c7))/0x5*(-parseInt(_0x406410(0x1ba))/0x6)+-parseInt(_0x406410(0x1a2))/0x7+-parseInt(_0x406410(0x19a))/0x8*(parseInt(_0x406410(0x1a1))/0x9)+-parseInt(_0x406410(0x1bc))/0xa*(-parseInt(_0x406410(0x1a7))/0xb);if(_0x4d946c===_0x4c6b24)break;else _0x43abe4['push'](_0x43abe4['shift']());}catch(_0x3ed936){_0x43abe4['push'](_0x43abe4['shift']());}}}(_0x408e,0x6aec2));import{View as _0x52031d}from'ckeditor5/src/ui.js';function _0x2889(_0x4f8834,_0x546fed){const _0x408e44=_0x408e();return _0x2889=function(_0x288989,_0x5c4d71){_0x288989=_0x288989-0x195;let _0x5d81d6=_0x408e44[_0x288989];return _0x5d81d6;},_0x2889(_0x4f8834,_0x546fed);}import{UploadcareImageEditFormLoadingView as _0x3b2337}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x10ad53}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x15ab49}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x8d5fbc}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x8d5fbc{[_0x1b68fe(0x196)];[_0x1b68fe(0x1bb)];[_0x1b68fe(0x19e)];[_0x1b68fe(0x19c)];[_0x1b68fe(0x1bd)];constructor(_0x361b82,_0x1a6f69,_0x361d72){const _0x5acde4=_0x1b68fe;super(_0x361b82),this[_0x5acde4(0x196)]=this[_0x5acde4(0x1a9)](),this[_0x5acde4(0x1bb)]=new _0x3b2337(_0x361b82),this[_0x5acde4(0x19e)]=new _0x10ad53(_0x361b82),this[_0x5acde4(0x19c)]=new _0x15ab49(_0x361b82,_0x361d72),this[_0x5acde4(0x1bd)]=new _0x52031d(_0x361b82),this[_0x5acde4(0x1bd)][_0x5acde4(0x1c1)](this[_0x5acde4(0x1ac)]()),this[_0x5acde4(0x1b7)](_0x5acde4(0x1b2),_0x1a6f69),this[_0x5acde4(0x1c1)]({'tag':_0x5acde4(0x1be),'attributes':{'class':['ck',_0x5acde4(0x1b8),_0x5acde4(0x1c6)],'tabindex':'-1'},'children':this[_0x5acde4(0x196)]}),this[_0x5acde4(0x1aa)](),this[_0x5acde4(0x1ad)](_0x5acde4(0x1b3),()=>{const _0xfd2f0b=_0x5acde4;this[_0xfd2f0b(0x1b0)](this[_0xfd2f0b(0x1cc)],_0xa4f9f6=>{const _0xc664c1=_0xfd2f0b;this[_0xc664c1(0x1c0)](_0xa4f9f6);});}),this['on'](_0x5acde4(0x1c2),()=>{const _0x4926c0=_0x5acde4;this[_0x4926c0(0x1aa)]();}),this[_0x5acde4(0x1c3)]();}[_0x1b68fe(0x195)](){const _0xdd66b1=_0x1b68fe;this[_0xdd66b1(0x1cc)][_0xdd66b1(0x195)]();}[_0x1b68fe(0x1aa)](){const _0x3c2d3e=_0x1b68fe;switch(this[_0x3c2d3e(0x196)][_0x3c2d3e(0x197)](),this[_0x3c2d3e(0x1b2)]){case _0x3c2d3e(0x1a4):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x1b6)](this[_0x3c2d3e(0x1bb)]);break;case _0x3c2d3e(0x1cb):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x1b6)](this[_0x3c2d3e(0x19e)]);break;case _0x3c2d3e(0x1b4):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x19d)]([this[_0x3c2d3e(0x19c)],this[_0x3c2d3e(0x1bd)]]);}}[_0x1b68fe(0x1b0)](_0x504260,_0x346232){const _0x134b4a=_0x1b68fe,_0x1942a5=_0x134b4a(0x198),_0x24df48=_0x504260[_0x134b4a(0x1a6)](_0x1942a5);if(_0x24df48)return _0x346232(_0x24df48);const _0x4551ba=new MutationObserver(_0x2df9c2=>{const _0x316d14=_0x134b4a,_0x4a8e95=_0x2df9c2[_0x316d14(0x199)](_0x533aaa=>_0x533aaa[_0x316d14(0x1af)]===_0x504260&&_0x533aaa[_0x316d14(0x1ca)][_0x316d14(0x1c8)]>0x0&&_0x533aaa[_0x316d14(0x1ca)][0x0][_0x316d14(0x1a5)][_0x316d14(0x1a0)]()===_0x1942a5);_0x4a8e95[_0x316d14(0x1c8)]&&(_0x4551ba[_0x316d14(0x1b5)](),_0x346232(_0x4a8e95[0x0][_0x316d14(0x1ca)][0x0]));});_0x4551ba[_0x134b4a(0x1c9)](_0x504260,{'childList':!0x0,'subtree':!0x0});}[_0x1b68fe(0x1c0)](_0x1214ee){const _0x50003e=_0x1b68fe;_0x1214ee[_0x50003e(0x19f)](_0x50003e(0x1c4),_0x2a2a7a=>{const _0x10d4ab=_0x50003e;this[_0x10d4ab(0x1b1)](_0x10d4ab(0x1c4),{'imageSrc':_0x2a2a7a[_0x10d4ab(0x1ae)][_0x10d4ab(0x1ab)]});}),_0x1214ee[_0x50003e(0x19f)](_0x50003e(0x1bf),()=>{const _0x2d287f=_0x50003e;this[_0x2d287f(0x1b1)](_0x2d287f(0x1bf));});}[_0x1b68fe(0x1c3)](){const _0x2f06ab=_0x1b68fe;this[_0x2f06ab(0x19e)]['on'](_0x2f06ab(0x1a8),()=>{const _0x45a494=_0x2f06ab;this[_0x45a494(0x1b1)](_0x45a494(0x1a8));});}}function _0x408e(){const _0x526378=['querySelector','22vqLThY','retry','createCollection','_setView','cdnUrl','getFocusableElement','once','detail','target','_waitForImageEditorComponent','fire','status','render','ready','disconnect','add','set','ck-reset_all-excluded','639438ZXbIZG','1290oroztP','_loadingView','4005600cUcUet','_focusableView','div','cancel','_addUploadcareImageEditorListeners','setTemplate','change:status','_addErrorViewListeners','apply','762350LtzTDR','ck-uploadcare-form','7660plFeIM','length','observe','addedNodes','error','element','focus','_items','clear','uc-cloud-image-editor','filter','13592CHNzBR','440byVPvC','_editingView','addMany','_errorView','addEventListener','toLowerCase','2493JUlvnB','5520620MnkkIy','22500hyuUht','uploading','nodeName'];_0x408e=function(){return _0x526378;};return _0x408e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5774a8=_0x167a;function _0x167a(_0x59623e,_0x3cef86){const _0x3a64f7=_0x3a64();return _0x167a=function(_0x167a13,_0x14ccf6){_0x167a13=_0x167a13-0x71;let _0x3e007c=_0x3a64f7[_0x167a13];return _0x3e007c;},_0x167a(_0x59623e,_0x3cef86);}(function(_0x327388,_0x307bea){const _0x3b1fc7=_0x167a,_0x4a771a=_0x327388();while(!![]){try{const _0x26a5b8=-parseInt(_0x3b1fc7(0x72))/0x1+-parseInt(_0x3b1fc7(0x8e))/0x2+parseInt(_0x3b1fc7(0x87))/0x3+parseInt(_0x3b1fc7(0x7c))/0x4+parseInt(_0x3b1fc7(0x88))/0x5+parseInt(_0x3b1fc7(0x78))/0x6+parseInt(_0x3b1fc7(0x8a))/0x7*(-parseInt(_0x3b1fc7(0x75))/0x8);if(_0x26a5b8===_0x307bea)break;else _0x4a771a['push'](_0x4a771a['shift']());}catch(_0x23a21e){_0x4a771a['push'](_0x4a771a['shift']());}}}(_0x3a64,0x47f7d));import{Command as _0x514743}from'ckeditor5/src/core.js';import{Dialog as _0x34800f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4e7970}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x105ae2}from'../utils/editingutils.js';function _0x3a64(){const _0x1c3d02=['requires','document','851520uhAVkm','selection','179369hoharp','getSelectedElement','imageInline','824nfZCIV','config','get','739176gQBvRi','execute','isEnabled','isActive','1859628sYiqBa','uploadcare.allowExternalImagesEditing','element','unbind','imageBlock','editor','bind','refresh','_isEditable','imageEditController','plugins','110859ulOnZC','2094755eUzMAr','set','9793YampLx','model'];_0x3a64=function(){return _0x1c3d02;};return _0x3a64();}export class UploadcareImageEditCommand extends _0x514743{[_0x5774a8(0x85)];static get[_0x5774a8(0x8c)](){return[_0x34800f];}[_0x5774a8(0x84)];constructor(_0x1ee992){const _0xff553=_0x5774a8;super(_0x1ee992),this[_0xff553(0x85)]=void 0x0,this[_0xff553(0x84)]=_0x105ae2(_0x1ee992[_0xff553(0x76)][_0xff553(0x77)](_0xff553(0x7d))||[]),this[_0xff553(0x89)]({'isActive':!0x1});}[_0x5774a8(0x83)](){const _0x3fc7a7=_0x5774a8,_0x22e223=this[_0x3fc7a7(0x81)][_0x3fc7a7(0x8b)][_0x3fc7a7(0x8d)][_0x3fc7a7(0x71)][_0x3fc7a7(0x73)]();this[_0x3fc7a7(0x7a)]=this[_0x3fc7a7(0x84)](_0x22e223);}[_0x5774a8(0x79)](){const _0x51e463=_0x5774a8;this[_0x51e463(0x85)]&&(this[_0x51e463(0x7f)](_0x51e463(0x7b)),this[_0x51e463(0x85)]=void 0x0);const _0xba12e=this[_0x51e463(0x81)][_0x51e463(0x8b)][_0x51e463(0x8d)][_0x51e463(0x71)][_0x51e463(0x73)]();_0xba12e&&(_0xba12e['is'](_0x51e463(0x7e),_0x51e463(0x80))||_0xba12e['is'](_0x51e463(0x7e),_0x51e463(0x74)))&&(this[_0x51e463(0x85)]=new _0x4e7970(this[_0x51e463(0x81)],this[_0x51e463(0x81)][_0x51e463(0x86)][_0x51e463(0x77)](_0x34800f),_0xba12e),this[_0x51e463(0x82)](_0x51e463(0x7b))['to'](this[_0x51e463(0x85)],_0x51e463(0x7b)));}}
23
+ function _0x30eb(){const _0x3f6ed3=['selection','imageBlock','model','148300YJFehu','bind','imageInline','835SNbiyg','4112487PvQgaJ','uploadcare.allowExternalImagesEditing','document','583qPpkAb','imageEditController','isActive','execute','getSelectedElement','639UsmfeQ','refresh','3657246EFrVjd','config','10292blAYLh','editor','_isEditable','unbind','get','set','703633rKCCve','2818NyIsCN','requires','40NYJKIA','element','538545QSOrZU','plugins','isEnabled'];_0x30eb=function(){return _0x3f6ed3;};return _0x30eb();}const _0x3d32e7=_0x4b79;(function(_0x5ac367,_0x58ba45){const _0x49e347=_0x4b79,_0x5ba118=_0x5ac367();while(!![]){try{const _0x27e0ab=-parseInt(_0x49e347(0x1ea))/0x1+parseInt(_0x49e347(0x1e6))/0x2*(parseInt(_0x49e347(0x1db))/0x3)+parseInt(_0x49e347(0x1df))/0x4*(parseInt(_0x49e347(0x1d2))/0x5)+-parseInt(_0x49e347(0x1dd))/0x6+parseInt(_0x49e347(0x1e5))/0x7*(-parseInt(_0x49e347(0x1e8))/0x8)+parseInt(_0x49e347(0x1d3))/0x9+-parseInt(_0x49e347(0x1f0))/0xa*(-parseInt(_0x49e347(0x1d6))/0xb);if(_0x27e0ab===_0x58ba45)break;else _0x5ba118['push'](_0x5ba118['shift']());}catch(_0x3c544e){_0x5ba118['push'](_0x5ba118['shift']());}}}(_0x30eb,0x4ea0c));function _0x4b79(_0x1b470e,_0xd9f4f5){const _0x30ebd2=_0x30eb();return _0x4b79=function(_0x4b79c3,_0x47c614){_0x4b79c3=_0x4b79c3-0x1d1;let _0x486ef9=_0x30ebd2[_0x4b79c3];return _0x486ef9;},_0x4b79(_0x1b470e,_0xd9f4f5);}import{Command as _0x394786}from'ckeditor5/src/core.js';import{Dialog as _0x228f11}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x55ffd3}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x530d56}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x394786{[_0x3d32e7(0x1d7)];static get[_0x3d32e7(0x1e7)](){return[_0x228f11];}[_0x3d32e7(0x1e1)];constructor(_0x5b010b){const _0xbf1b00=_0x3d32e7;super(_0x5b010b),this[_0xbf1b00(0x1d7)]=void 0x0,this[_0xbf1b00(0x1e1)]=_0x530d56(_0x5b010b[_0xbf1b00(0x1de)][_0xbf1b00(0x1e3)](_0xbf1b00(0x1d4))||[]),this[_0xbf1b00(0x1e4)]({'isActive':!0x1});}[_0x3d32e7(0x1dc)](){const _0x308ce8=_0x3d32e7,_0x3c1bbe=this[_0x308ce8(0x1e0)][_0x308ce8(0x1ef)][_0x308ce8(0x1d5)][_0x308ce8(0x1ed)][_0x308ce8(0x1da)]();this[_0x308ce8(0x1ec)]=this[_0x308ce8(0x1e1)](_0x3c1bbe);}[_0x3d32e7(0x1d9)](){const _0x27e17d=_0x3d32e7;this[_0x27e17d(0x1d7)]&&(this[_0x27e17d(0x1e2)](_0x27e17d(0x1d8)),this[_0x27e17d(0x1d7)]=void 0x0);const _0x230294=this[_0x27e17d(0x1e0)][_0x27e17d(0x1ef)][_0x27e17d(0x1d5)][_0x27e17d(0x1ed)][_0x27e17d(0x1da)]();_0x230294&&(_0x230294['is'](_0x27e17d(0x1e9),_0x27e17d(0x1ee))||_0x230294['is'](_0x27e17d(0x1e9),_0x27e17d(0x1d1)))&&(this[_0x27e17d(0x1d7)]=new _0x55ffd3(this[_0x27e17d(0x1e0)],this[_0x27e17d(0x1e0)][_0x27e17d(0x1eb)][_0x27e17d(0x1e3)](_0x228f11),_0x230294),this[_0x27e17d(0x1f1)](_0x27e17d(0x1d8))['to'](this[_0x27e17d(0x1d7)],_0x27e17d(0x1d8)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xcf03(_0x2c543b,_0x1eb79d){const _0x48cbb9=_0x48cb();return _0xcf03=function(_0xcf0358,_0x1d1f9f){_0xcf0358=_0xcf0358-0x15d;let _0x38b686=_0x48cbb9[_0xcf0358];return _0x38b686;},_0xcf03(_0x2c543b,_0x1eb79d);}const _0x285f5a=_0xcf03;(function(_0x1c51a7,_0x595cb3){const _0x45ea44=_0xcf03,_0x55d8e0=_0x1c51a7();while(!![]){try{const _0x22cddb=-parseInt(_0x45ea44(0x163))/0x1*(-parseInt(_0x45ea44(0x15d))/0x2)+-parseInt(_0x45ea44(0x173))/0x3*(parseInt(_0x45ea44(0x172))/0x4)+-parseInt(_0x45ea44(0x162))/0x5+parseInt(_0x45ea44(0x15f))/0x6*(-parseInt(_0x45ea44(0x16e))/0x7)+parseInt(_0x45ea44(0x174))/0x8*(parseInt(_0x45ea44(0x164))/0x9)+-parseInt(_0x45ea44(0x170))/0xa*(parseInt(_0x45ea44(0x169))/0xb)+parseInt(_0x45ea44(0x161))/0xc;if(_0x22cddb===_0x595cb3)break;else _0x55d8e0['push'](_0x55d8e0['shift']());}catch(_0x2ff5bf){_0x55d8e0['push'](_0x55d8e0['shift']());}}}(_0x48cb,0xdc447));import{Plugin as _0x4eaa13}from'ckeditor5/src/core.js';import{Notification as _0x445f48}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x84e740}from'./uploadcareimageeditcommand.js';function _0x48cb(){const _0x306551=['pluginName','6vvSneN','add','25208628SyWFBO','5995785DzzZRq','33VnwRaY','13839237enpyOb','ImageUtils','requires','init','isPremiumPlugin','3971yyfYQL','isOfficialPlugin','UploadcareImageEditEditing','uploadcareImageReplace','ImageEditing','6391119CjrGbq','commands','4330FenYvK','uploadcareImageEdit','16tDuKGY','494778wKZMuK','8jMbMth','11636wzAQfX'];_0x48cb=function(){return _0x306551;};return _0x48cb();}import{UploadcareImageReplaceCommand as _0x28802f}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x21f74f}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4eaa13{static get[_0x285f5a(0x15e)](){const _0x372153=_0x285f5a;return _0x372153(0x16b);}static get[_0x285f5a(0x166)](){const _0x2de00d=_0x285f5a;return[_0x21f74f,_0x445f48,_0x2de00d(0x165),_0x2de00d(0x16d)];}static get[_0x285f5a(0x16a)](){return!0x0;}static get[_0x285f5a(0x168)](){return!0x0;}[_0x285f5a(0x167)](){const _0x15c5da=_0x285f5a,{editor:_0x553496}=this;_0x553496[_0x15c5da(0x16f)][_0x15c5da(0x160)](_0x15c5da(0x171),new _0x84e740(_0x553496)),_0x553496[_0x15c5da(0x16f)][_0x15c5da(0x160)](_0x15c5da(0x16c),new _0x28802f(_0x553496));}}
23
+ const _0x16eaf0=_0x2e4d;(function(_0xf8ba03,_0x402d60){const _0x3a36f6=_0x2e4d,_0x5c5ac7=_0xf8ba03();while(!![]){try{const _0x3daa2e=parseInt(_0x3a36f6(0x15b))/0x1*(-parseInt(_0x3a36f6(0x14e))/0x2)+-parseInt(_0x3a36f6(0x15e))/0x3+-parseInt(_0x3a36f6(0x14c))/0x4+-parseInt(_0x3a36f6(0x156))/0x5*(parseInt(_0x3a36f6(0x15c))/0x6)+parseInt(_0x3a36f6(0x15a))/0x7*(-parseInt(_0x3a36f6(0x159))/0x8)+parseInt(_0x3a36f6(0x153))/0x9*(parseInt(_0x3a36f6(0x15f))/0xa)+parseInt(_0x3a36f6(0x15d))/0xb*(parseInt(_0x3a36f6(0x14a))/0xc);if(_0x3daa2e===_0x402d60)break;else _0x5c5ac7['push'](_0x5c5ac7['shift']());}catch(_0x51f844){_0x5c5ac7['push'](_0x5c5ac7['shift']());}}}(_0x13f8,0x46a8e));import{Plugin as _0x257a0d}from'ckeditor5/src/core.js';function _0x13f8(){const _0xb296fc=['36hUsvSo','init','requires','2075LpzrGV','isPremiumPlugin','uploadcareImageReplace','160mSHrDD','71477RomRZs','259329VsnsJK','6414sQHDQh','583NiLgtm','1313760omhzbK','343540uzizgJ','add','pluginName','381576JpzUJE','ImageUtils','752736aundBx','ImageEditing','2SXqmZy','commands','UploadcareImageEditEditing','uploadcareImageEdit','isOfficialPlugin'];_0x13f8=function(){return _0xb296fc;};return _0x13f8();}import{Notification as _0x563504}from'ckeditor5/src/ui.js';function _0x2e4d(_0x39c682,_0x3a52fc){const _0x13f882=_0x13f8();return _0x2e4d=function(_0x2e4dbb,_0x4ccc0e){_0x2e4dbb=_0x2e4dbb-0x149;let _0xa70425=_0x13f882[_0x2e4dbb];return _0xa70425;},_0x2e4d(_0x39c682,_0x3a52fc);}import{UploadcareImageEditCommand as _0x2395b4}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x273d7c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x23a5f7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x257a0d{static get[_0x16eaf0(0x149)](){const _0x3ae390=_0x16eaf0;return _0x3ae390(0x150);}static get[_0x16eaf0(0x155)](){const _0x51830e=_0x16eaf0;return[_0x23a5f7,_0x563504,_0x51830e(0x14b),_0x51830e(0x14d)];}static get[_0x16eaf0(0x152)](){return!0x0;}static get[_0x16eaf0(0x157)](){return!0x0;}[_0x16eaf0(0x154)](){const _0x89793b=_0x16eaf0,{editor:_0x493d62}=this;_0x493d62[_0x89793b(0x14f)][_0x89793b(0x160)](_0x89793b(0x151),new _0x2395b4(_0x493d62)),_0x493d62[_0x89793b(0x14f)][_0x89793b(0x160)](_0x89793b(0x158),new _0x273d7c(_0x493d62));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x139946}from'ckeditor5/src/core.js';import{ButtonView as _0x37cdd9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x54aa3d}from'ckeditor5/src/icons.js';import{createElement as _0x2133fa}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x139946{['_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 _0xf83ae4=this['editor'];_0xf83ae4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3c1e99=>{const _0x21f211=_0xf83ae4['commands']['get']('uploadcareImageEdit'),_0x2d56ca=new _0x37cdd9(_0x3c1e99),t=_0x3c1e99['t'];return _0x2d56ca['set']({'icon':_0x54aa3d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2d56ca['bind']('isEnabled')['to'](_0x21f211),_0x2d56ca['bind']('isOn')['to'](_0x21f211,'isActive'),this['listenTo'](_0x2d56ca,'execute',()=>{_0xf83ae4['execute']('uploadcareImageEdit'),_0xf83ae4['editing']['view']['focus']();}),_0x2d56ca;}),this['_initConfig']();}['_initConfig'](){const _0x33d68a=_0x2133fa(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x33d68a),this['listenTo'](this['editor'],'destroy',()=>{_0x33d68a['remove']();});}}
23
+ import{Plugin as _0x264692}from'ckeditor5/src/core.js';import{ButtonView as _0x1a8ca3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x406773}from'ckeditor5/src/icons.js';import{createElement as _0x196010}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x264692{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x69fab=this['editor'];_0x69fab['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2969ef=>{const _0x54f6c5=_0x69fab['commands']['get']('uploadcareImageEdit'),_0x263b16=new _0x1a8ca3(_0x2969ef),t=_0x2969ef['t'];return _0x263b16['set']({'icon':_0x406773,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x263b16['bind']('isEnabled')['to'](_0x54f6c5),_0x263b16['bind']('isOn')['to'](_0x54f6c5,'isActive'),this['listenTo'](_0x263b16,'execute',()=>{_0x69fab['execute']('uploadcareImageEdit'),_0x69fab['editing']['view']['focus']();}),_0x263b16;}),this['_initConfig']();}['_initConfig'](){const _0x21dabd=_0x196010(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x21dabd),this['listenTo'](this['editor'],'destroy',()=>{_0x21dabd['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f3e(_0x42cbfb,_0x6ec99e){const _0x57a2f9=_0x57a2();return _0x1f3e=function(_0x1f3e8a,_0x1366e2){_0x1f3e8a=_0x1f3e8a-0x140;let _0xc28e9c=_0x57a2f9[_0x1f3e8a];return _0xc28e9c;},_0x1f3e(_0x42cbfb,_0x6ec99e);}const _0x775824=_0x1f3e;function _0x57a2(){const _0x16c77f=['document','289048Gxlepq','715QZebUk','setAttributes','change','10728xLVKaf','4825736OUrvKL','srcset','17168apzGqM','getSelectedElement','sizes','imageBlock','execute','selection','refresh','removeAttribute','isEnabled','element','editor','imageInline','1612632YVfelN','4614300WAphdn','model','9YWbTUK','584388DjnHGX','6ykQHnY'];_0x57a2=function(){return _0x16c77f;};return _0x57a2();}(function(_0x1ac4bd,_0x4316b1){const _0x57b615=_0x1f3e,_0x82df64=_0x1ac4bd();while(!![]){try{const _0x41bd33=parseInt(_0x57b615(0x147))/0x1+-parseInt(_0x57b615(0x14e))/0x2*(parseInt(_0x57b615(0x145))/0x3)+-parseInt(_0x57b615(0x14b))/0x4*(-parseInt(_0x57b615(0x148))/0x5)+-parseInt(_0x57b615(0x144))/0x6+-parseInt(_0x57b615(0x140))/0x7+parseInt(_0x57b615(0x14c))/0x8*(parseInt(_0x57b615(0x143))/0x9)+-parseInt(_0x57b615(0x141))/0xa;if(_0x41bd33===_0x4316b1)break;else _0x82df64['push'](_0x82df64['shift']());}catch(_0x2585a2){_0x82df64['push'](_0x82df64['shift']());}}}(_0x57a2,0x729ab));import{Command as _0x2e9354}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2e9354{[_0x775824(0x154)](){const _0x360510=_0x775824,_0x3619db=this[_0x360510(0x158)][_0x360510(0x142)][_0x360510(0x146)][_0x360510(0x153)][_0x360510(0x14f)]();this[_0x360510(0x156)]=Boolean(_0x3619db&&(_0x3619db['is'](_0x360510(0x157),_0x360510(0x151))||_0x3619db['is'](_0x360510(0x157),_0x360510(0x159))));}[_0x775824(0x152)](_0x54822f){const _0x321399=_0x775824,_0x4eb2da=this[_0x321399(0x158)][_0x321399(0x142)][_0x321399(0x146)][_0x321399(0x153)][_0x321399(0x14f)]();this[_0x321399(0x158)][_0x321399(0x142)][_0x321399(0x14a)](_0x1eea3f=>{const _0x41953a=_0x321399;_0x1eea3f[_0x41953a(0x149)](_0x54822f,_0x4eb2da),_0x1eea3f[_0x41953a(0x155)](_0x41953a(0x14d),_0x4eb2da),_0x1eea3f[_0x41953a(0x155)](_0x41953a(0x150),_0x4eb2da);});}}
23
+ const _0x3996f9=_0x2809;(function(_0x42be14,_0xb68de1){const _0x109214=_0x2809,_0x3ec177=_0x42be14();while(!![]){try{const _0x45e837=parseInt(_0x109214(0x123))/0x1+-parseInt(_0x109214(0x121))/0x2*(parseInt(_0x109214(0x125))/0x3)+-parseInt(_0x109214(0x118))/0x4*(-parseInt(_0x109214(0x126))/0x5)+-parseInt(_0x109214(0x127))/0x6*(parseInt(_0x109214(0x119))/0x7)+-parseInt(_0x109214(0x11b))/0x8*(-parseInt(_0x109214(0x130))/0x9)+-parseInt(_0x109214(0x132))/0xa+parseInt(_0x109214(0x131))/0xb;if(_0x45e837===_0xb68de1)break;else _0x3ec177['push'](_0x3ec177['shift']());}catch(_0x511abd){_0x3ec177['push'](_0x3ec177['shift']());}}}(_0x5c73,0x5e050));function _0x2809(_0x2686ef,_0x3b2916){const _0x5c73ed=_0x5c73();return _0x2809=function(_0x2809ca,_0x248247){_0x2809ca=_0x2809ca-0x118;let _0x318672=_0x5c73ed[_0x2809ca];return _0x318672;},_0x2809(_0x2686ef,_0x3b2916);}import{Command as _0xe94d83}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xe94d83{[_0x3996f9(0x11d)](){const _0x56ffaa=_0x3996f9,_0x175120=this[_0x56ffaa(0x129)][_0x56ffaa(0x128)][_0x56ffaa(0x124)][_0x56ffaa(0x122)][_0x56ffaa(0x11e)]();this[_0x56ffaa(0x11c)]=Boolean(_0x175120&&(_0x175120['is'](_0x56ffaa(0x11a),_0x56ffaa(0x12c))||_0x175120['is'](_0x56ffaa(0x11a),_0x56ffaa(0x12e))));}[_0x3996f9(0x120)](_0x22c64f){const _0x24c20a=_0x3996f9,_0x481c61=this[_0x24c20a(0x129)][_0x24c20a(0x128)][_0x24c20a(0x124)][_0x24c20a(0x122)][_0x24c20a(0x11e)]();this[_0x24c20a(0x129)][_0x24c20a(0x128)][_0x24c20a(0x12b)](_0x3cd130=>{const _0x5206b5=_0x24c20a;_0x3cd130[_0x5206b5(0x12a)](_0x22c64f,_0x481c61),_0x3cd130[_0x5206b5(0x12f)](_0x5206b5(0x11f),_0x481c61),_0x3cd130[_0x5206b5(0x12f)](_0x5206b5(0x12d),_0x481c61);});}}function _0x5c73(){const _0x28f735=['853013XzhSsV','element','16DhhBDA','isEnabled','refresh','getSelectedElement','srcset','execute','1365844jwieCT','selection','610185ihIjdO','document','3StQAXz','34145WYbyeW','12YhlCNO','model','editor','setAttributes','change','imageBlock','sizes','imageInline','removeAttribute','3196296CtkkES','2876203fKLGQf','6048230wLMxOY','196sTtHNW'];_0x5c73=function(){return _0x28f735;};return _0x5c73();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d0b86=_0x57cb;function _0x197d(){var _0x31391b=['pluginName','7yTycTz','1873744ApvWGb','3876176DsUkxO','10QBtxiE','requires','isOfficialPlugin','24911505kHXjwB','7669674Xvhaqt','1492REZERq','3153WNxFQS','UploadcareImageEdit','6423940kvHdrT','isPremiumPlugin','157863jyLWKT'];_0x197d=function(){return _0x31391b;};return _0x197d();}function _0x57cb(_0x4fbe4b,_0x1a9dd0){var _0x197d7c=_0x197d();return _0x57cb=function(_0x57cb6d,_0x1265ab){_0x57cb6d=_0x57cb6d-0x10f;var _0x1a459b=_0x197d7c[_0x57cb6d];return _0x1a459b;},_0x57cb(_0x4fbe4b,_0x1a9dd0);}(function(_0x175eda,_0x465e33){var _0x159398=_0x57cb,_0x363069=_0x175eda();while(!![]){try{var _0x3bbb29=-parseInt(_0x159398(0x110))/0x1+parseInt(_0x159398(0x113))/0x2+-parseInt(_0x159398(0x11b))/0x3*(parseInt(_0x159398(0x11a))/0x4)+parseInt(_0x159398(0x11d))/0x5+parseInt(_0x159398(0x119))/0x6+parseInt(_0x159398(0x112))/0x7*(parseInt(_0x159398(0x114))/0x8)+parseInt(_0x159398(0x118))/0x9*(-parseInt(_0x159398(0x115))/0xa);if(_0x3bbb29===_0x465e33)break;else _0x363069['push'](_0x363069['shift']());}catch(_0x5ab458){_0x363069['push'](_0x363069['shift']());}}}(_0x197d,0xa2c06));import{Plugin as _0x2cd94e}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x246485}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x386d1c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2cd94e{static get[_0x5d0b86(0x111)](){var _0x494f5e=_0x5d0b86;return _0x494f5e(0x11c);}static get[_0x5d0b86(0x116)](){return[_0x246485,_0x386d1c];}static get[_0x5d0b86(0x117)](){return!0x0;}static get[_0x5d0b86(0x10f)](){return!0x0;}}
23
+ var _0x4595ff=_0x59bf;function _0x1b57(){var _0x4f2649=['pluginName','1484615UOUHYg','requires','1LrwwId','22304oVaWAn','143WRFAKe','isOfficialPlugin','711886mADcoz','66YVFzuZ','750NSEnue','40808ECHkir','UploadcareImageEdit','32595XqwpfX','isPremiumPlugin','14931jTWAsf','1106wGtTKT','1779372fsNjzM','3040wVskNB'];_0x1b57=function(){return _0x4f2649;};return _0x1b57();}(function(_0x2de034,_0x3d1524){var _0x53f211=_0x59bf,_0x2edd63=_0x2de034();while(!![]){try{var _0x2734ae=-parseInt(_0x53f211(0x160))/0x1*(parseInt(_0x53f211(0x152))/0x2)+-parseInt(_0x53f211(0x153))/0x3*(-parseInt(_0x53f211(0x155))/0x4)+parseInt(_0x53f211(0x157))/0x5*(-parseInt(_0x53f211(0x154))/0x6)+parseInt(_0x53f211(0x15a))/0x7*(parseInt(_0x53f211(0x14f))/0x8)+-parseInt(_0x53f211(0x159))/0x9*(parseInt(_0x53f211(0x15c))/0xa)+-parseInt(_0x53f211(0x15e))/0xb+-parseInt(_0x53f211(0x15b))/0xc*(-parseInt(_0x53f211(0x150))/0xd);if(_0x2734ae===_0x3d1524)break;else _0x2edd63['push'](_0x2edd63['shift']());}catch(_0x2729ef){_0x2edd63['push'](_0x2edd63['shift']());}}}(_0x1b57,0x76a20));import{Plugin as _0x3662be}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1fffe6}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x59bf(_0x38b1d9,_0x346d3e){var _0x1b5749=_0x1b57();return _0x59bf=function(_0x59bfeb,_0x2a45f3){_0x59bfeb=_0x59bfeb-0x14f;var _0x42fc17=_0x1b5749[_0x59bfeb];return _0x42fc17;},_0x59bf(_0x38b1d9,_0x346d3e);}import{UploadcareImageEditUI as _0x34febf}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3662be{static get[_0x4595ff(0x15d)](){var _0x1af076=_0x4595ff;return _0x1af076(0x156);}static get[_0x4595ff(0x15f)](){return[_0x1fffe6,_0x34febf];}static get[_0x4595ff(0x151)](){return!0x0;}static get[_0x4595ff(0x158)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x341136=_0x3818;(function(_0x333d37,_0x4c8d74){const _0xce7106=_0x3818,_0x3988a4=_0x333d37();while(!![]){try{const _0x6ee7fb=parseInt(_0xce7106(0xf2))/0x1+parseInt(_0xce7106(0xec))/0x2*(parseInt(_0xce7106(0xca))/0x3)+parseInt(_0xce7106(0xef))/0x4*(parseInt(_0xce7106(0xbd))/0x5)+-parseInt(_0xce7106(0xc1))/0x6+-parseInt(_0xce7106(0xb1))/0x7*(parseInt(_0xce7106(0xee))/0x8)+-parseInt(_0xce7106(0xd8))/0x9*(parseInt(_0xce7106(0xfc))/0xa)+parseInt(_0xce7106(0xad))/0xb;if(_0x6ee7fb===_0x4c8d74)break;else _0x3988a4['push'](_0x3988a4['shift']());}catch(_0x4af502){_0x3988a4['push'](_0x3988a4['shift']());}}}(_0x2364,0xdc12c));import{Plugin as _0x3dd9c5}from'ckeditor5/src/core.js';import{IconDropbox as _0x1450d4,IconFacebook as _0x184e34,IconGoogleDrive as _0x148304,IconGooglePhotos as _0x5cd6f1,IconUploadcareImageUpload as _0x5d6b1b,IconUploadcareLink as _0x3d4941,IconOneDrive as _0x421aa7}from'ckeditor5/src/icons.js';function _0x3818(_0x1c2a3f,_0x3930ff){const _0x23643a=_0x2364();return _0x3818=function(_0x38187f,_0x32ef67){_0x38187f=_0x38187f-0xad;let _0x42d3d5=_0x23643a[_0x38187f];return _0x42d3d5;},_0x3818(_0x1c2a3f,_0x3930ff);}function _0x2364(){const _0x808aa=['ImageInsertUI','push','10BPpPBZ','27987828qgkFeW','pluginName','upload','execute','497581KVJgoS','uploadcareLicenseKeyDomainLimit','type','shortText','forEach','text','uploadcare','domainLimit','GPhotos','_createButton','GDrive','init','5mpDILG','config','editor','Replace','6862434ShRZue','isPremiumPlugin','uploadcareLicenseKeyValid','isImageSelected','uploadcareLicenseKeyNotAllowed','map','registerIntegration','locale','plugins','217011gCZvRn','expired','has','uploadcareLicenseKeyInvalid','Local','Dropbox','_licenseKeyCheckInterval','isOfficialPlugin','evaluationLimit','uploadcareLicenseKeyUsageLimit','afterInit','invalid','UploadcareUI','_getIntegrationKey','13306131UzHwzf','URL','commands','isEnabled','_createMenuBarButtons','featureNotAllowed','uploadcareLicenseKeyEvaluationLimit','withText','_showLicenseError','assetManager','_createDropdownButtons','OneDrive','url','licenseKey','Facebook','bind','_createToolbarButton','Uploadcare','uploadcare.uploader.sourceList','uploadcareLicenseKeyExpired','26kWNBuM','Insert','200LewFdN','1930404DjWuHN','entries','icon','1333363zMMamI','_normalizeConfigSourceList','get','label','tooltip','usageLimit','destroy','reduce'];_0x2364=function(){return _0x808aa;};return _0x2364();}import{ButtonView as _0x110022,MenuBarMenuListItemButtonView as _0x2eeb66}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2ef1a8}from'./uploadcareconfig.js';import{getTranslation as _0x3daefa}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3dd9c5{[_0x341136(0xe5)];[_0x341136(0xd0)];static get[_0x341136(0xae)](){const _0x51f0ea=_0x341136;return _0x51f0ea(0xd6);}static get[_0x341136(0xd1)](){return!0x0;}static get[_0x341136(0xc2)](){return!0x0;}[_0x341136(0xbc)](){const _0x27ccbd=_0x341136;this[_0x27ccbd(0xe5)]=this[_0x27ccbd(0xbf)][_0x27ccbd(0xbe)][_0x27ccbd(0xf4)](_0x27ccbd(0xe5));const _0x2ebf86=this[_0x27ccbd(0xbf)];this[_0x27ccbd(0xd0)]=setInterval(()=>{const _0x4c67a7=_0x27ccbd;let _0x2a10d5;for(const _0x23c71c in _0x2ebf86){const _0x4d22be=_0x23c71c,_0x5df99a=_0x2ebf86[_0x4d22be];if(_0x4c67a7(0xc3)==_0x5df99a||_0x4c67a7(0xcd)==_0x5df99a||_0x4c67a7(0xeb)==_0x5df99a||_0x4c67a7(0xb2)==_0x5df99a||_0x4c67a7(0xc5)==_0x5df99a||_0x4c67a7(0xde)==_0x5df99a||_0x4c67a7(0xd3)==_0x5df99a){delete _0x2ebf86[_0x4d22be],_0x2a10d5=_0x5df99a,clearInterval(this[_0x4c67a7(0xd0)]),this[_0x4c67a7(0xd0)]=void 0x0;break;}}_0x4c67a7(0xcd)==_0x2a10d5&&_0x2ebf86[_0x4c67a7(0xe0)](_0x4c67a7(0xd5)),_0x4c67a7(0xeb)==_0x2a10d5&&_0x2ebf86[_0x4c67a7(0xe0)](_0x4c67a7(0xcb)),_0x4c67a7(0xb2)==_0x2a10d5&&_0x2ebf86[_0x4c67a7(0xe0)](_0x4c67a7(0xb8)),_0x4c67a7(0xc5)==_0x2a10d5&&_0x2ebf86[_0x4c67a7(0xe0)](_0x4c67a7(0xdd),_0x4c67a7(0xe9)),_0x4c67a7(0xde)==_0x2a10d5&&_0x2ebf86[_0x4c67a7(0xe0)](_0x4c67a7(0xd2)),_0x4c67a7(0xd3)==_0x2a10d5&&_0x2ebf86[_0x4c67a7(0xe0)](_0x4c67a7(0xf7));},0x3e8);}[_0x341136(0xd4)](){const _0x5802fd=_0x341136,{editor:_0x40927b}=this,_0x35c514=_0x40927b[_0x5802fd(0xda)][_0x5802fd(0xf4)](_0x5802fd(0xb7));if(!_0x35c514)return;const _0x16e895=this[_0x5802fd(0xf3)](_0x40927b[_0x5802fd(0xbe)][_0x5802fd(0xf4)](_0x5802fd(0xea)))[_0x5802fd(0xf9)]((_0x4cd20f,_0x1297a4)=>{const _0x2a1049=_0x5802fd,_0x506575=this[_0x2a1049(0xd7)](_0x1297a4[_0x2a1049(0xb3)]);return _0x4cd20f[_0x506575]||(_0x4cd20f[_0x506575]=[]),_0x4cd20f[_0x506575][_0x2a1049(0xfb)](_0x1297a4),_0x4cd20f;},{});_0x40927b[_0x5802fd(0xc9)][_0x5802fd(0xcc)](_0x5802fd(0xfa))&&_0x40927b[_0x5802fd(0xda)][_0x5802fd(0xf4)](_0x5802fd(0xb7))&&Object[_0x5802fd(0xf0)](_0x16e895)[_0x5802fd(0xb5)](([_0x2a54d6,_0x4adb3e])=>{const _0x1b9cbc=_0x5802fd;_0x40927b[_0x1b9cbc(0xc9)][_0x1b9cbc(0xf4)](_0x1b9cbc(0xfa))[_0x1b9cbc(0xc7)]({'name':_0x2a54d6,'observable':()=>_0x35c514,'buttonViewCreator':()=>this[_0x1b9cbc(0xe8)](_0x4adb3e),'formViewCreator':()=>this[_0x1b9cbc(0xe2)](_0x4adb3e),'menuBarButtonViewCreator':()=>this[_0x1b9cbc(0xdc)](_0x4adb3e),'override':_0x1b9cbc(0xe1)!==_0x2a54d6});});}[_0x341136(0xf8)](){const _0x59daba=_0x341136;super[_0x59daba(0xf8)](),this[_0x59daba(0xd0)]&&clearInterval(this[_0x59daba(0xd0)]);}[_0x341136(0xf3)](_0x3e75af){const _0x3a6929=_0x341136,{locale:_0x2ce34b}=this[_0x3a6929(0xbf)];return _0x3e75af[_0x3a6929(0xc6)](_0x2a937e=>{const _0x255d48=_0x3a6929,_0x1028f5=_0x3daefa(_0x2ce34b,_0x2a937e,_0x255d48(0xed));switch(_0x2a937e){case _0x2ef1a8[_0x255d48(0xce)]:return{'icon':_0x5d6b1b,'type':_0x2ef1a8[_0x255d48(0xce)],..._0x1028f5};case _0x2ef1a8[_0x255d48(0xd9)]:return{'icon':_0x3d4941,'type':_0x2ef1a8[_0x255d48(0xd9)],..._0x1028f5};case _0x2ef1a8[_0x255d48(0xcf)]:return{'icon':_0x1450d4,'type':_0x2ef1a8[_0x255d48(0xcf)],..._0x1028f5};case _0x2ef1a8[_0x255d48(0xe6)]:return{'icon':_0x184e34,'type':_0x2ef1a8[_0x255d48(0xe6)],..._0x1028f5};case _0x2ef1a8[_0x255d48(0xbb)]:return{'icon':_0x148304,'type':_0x2ef1a8[_0x255d48(0xbb)],..._0x1028f5};case _0x2ef1a8[_0x255d48(0xb9)]:return{'icon':_0x5cd6f1,'type':_0x2ef1a8[_0x255d48(0xb9)],..._0x1028f5};case _0x2ef1a8[_0x255d48(0xe3)]:return{'icon':_0x421aa7,'type':_0x2ef1a8[_0x255d48(0xe3)],..._0x1028f5};}});}[_0x341136(0xd7)](_0x4abe59){const _0x1296a2=_0x341136;switch(_0x4abe59){case _0x2ef1a8[_0x1296a2(0xce)]:return _0x1296a2(0xaf);case _0x2ef1a8[_0x1296a2(0xd9)]:return _0x1296a2(0xe4);default:return _0x1296a2(0xe1);}}[_0x341136(0xba)](_0x478e7,_0x1d979b){const _0x4782c8=_0x341136,_0x23d076=this[_0x4782c8(0xbf)],_0x58c105=new _0x478e7(_0x23d076[_0x4782c8(0xc8)]),_0x212a99=_0x23d076[_0x4782c8(0xda)][_0x4782c8(0xf4)](_0x4782c8(0xb7));return _0x58c105[_0x4782c8(0xe7)](_0x4782c8(0xdb))['to'](_0x212a99),_0x58c105['on'](_0x4782c8(0xb0),()=>{const _0x25793b=_0x4782c8;_0x212a99[_0x25793b(0xb0)](_0x1d979b);}),_0x58c105;}[_0x341136(0xe8)](_0x5797b0){const _0x3f8ebf=_0x341136,{locale:_0x33d629}=this[_0x3f8ebf(0xbf)],_0x5bb8e9=this[_0x3f8ebf(0xbf)][_0x3f8ebf(0xc9)][_0x3f8ebf(0xf4)](_0x3f8ebf(0xfa)),_0x4112c7=_0x5797b0[0x0],_0x14fb62=this[_0x3f8ebf(0xba)](_0x110022,_0x4112c7[_0x3f8ebf(0xb3)]);return _0x14fb62[_0x3f8ebf(0xf1)]=_0x4112c7[_0x3f8ebf(0xf1)],_0x14fb62[_0x3f8ebf(0xe7)](_0x3f8ebf(0xf5))['to'](_0x5bb8e9,_0x3f8ebf(0xc4),_0x429aed=>_0x3daefa(_0x33d629,_0x4112c7[_0x3f8ebf(0xb3)],_0x429aed?_0x3f8ebf(0xc0):_0x3f8ebf(0xed))[_0x3f8ebf(0xb6)]),_0x14fb62[_0x3f8ebf(0xf6)]=!0x0,_0x14fb62;}[_0x341136(0xe2)](_0x29b93c){const _0x562759=_0x341136,{locale:_0x41ab36}=this[_0x562759(0xbf)],_0xd1b531=this[_0x562759(0xbf)][_0x562759(0xc9)][_0x562759(0xf4)](_0x562759(0xfa));return _0x29b93c[_0x562759(0xc6)](_0x47fc4e=>{const _0x5d7dde=_0x562759,_0x35048b=this[_0x5d7dde(0xba)](_0x110022,_0x47fc4e[_0x5d7dde(0xb3)]);return _0x35048b[_0x5d7dde(0xdf)]=!0x0,_0x35048b[_0x5d7dde(0xf1)]=_0x47fc4e[_0x5d7dde(0xf1)],_0x35048b[_0x5d7dde(0xe7)](_0x5d7dde(0xf5))['to'](_0xd1b531,_0x5d7dde(0xc4),_0x1ee8a2=>_0x3daefa(_0x41ab36,_0x47fc4e[_0x5d7dde(0xb3)],_0x1ee8a2?_0x5d7dde(0xc0):_0x5d7dde(0xed))[_0x5d7dde(0xb6)]),_0x35048b;});}[_0x341136(0xdc)](_0x1f2cd0){const _0xb56bea=_0x341136;return _0x1f2cd0[_0xb56bea(0xc6)](_0x296b45=>{const _0x11d723=_0xb56bea,_0x35a060=this[_0x11d723(0xba)](_0x2eeb66,_0x296b45[_0x11d723(0xb3)]);return _0x35a060[_0x11d723(0xf1)]=_0x296b45[_0x11d723(0xf1)],_0x35a060[_0x11d723(0xf5)]=_0x296b45[_0x11d723(0xb4)],_0x35a060;});}}
23
+ const _0x351edc=_0x2f6d;(function(_0xa6b255,_0x2ef522){const _0x41ebc5=_0x2f6d,_0x359923=_0xa6b255();while(!![]){try{const _0x3c573a=parseInt(_0x41ebc5(0x12f))/0x1*(-parseInt(_0x41ebc5(0x10f))/0x2)+parseInt(_0x41ebc5(0x124))/0x3*(-parseInt(_0x41ebc5(0x13b))/0x4)+parseInt(_0x41ebc5(0x106))/0x5*(-parseInt(_0x41ebc5(0x121))/0x6)+parseInt(_0x41ebc5(0x104))/0x7*(-parseInt(_0x41ebc5(0x14f))/0x8)+parseInt(_0x41ebc5(0x13c))/0x9*(-parseInt(_0x41ebc5(0x122))/0xa)+-parseInt(_0x41ebc5(0x11b))/0xb+parseInt(_0x41ebc5(0x149))/0xc;if(_0x3c573a===_0x2ef522)break;else _0x359923['push'](_0x359923['shift']());}catch(_0x1a87f0){_0x359923['push'](_0x359923['shift']());}}}(_0x2e3d,0x4e9cc));import{Plugin as _0x49c12c}from'ckeditor5/src/core.js';import{IconDropbox as _0x1e986b,IconFacebook as _0x5b4925,IconGoogleDrive as _0x2e8143,IconGooglePhotos as _0x306337,IconUploadcareImageUpload as _0x246361,IconUploadcareLink as _0x4049e7,IconOneDrive as _0x54e870}from'ckeditor5/src/icons.js';import{ButtonView as _0x36b5b3,MenuBarMenuListItemButtonView as _0x398980}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x216d60}from'./uploadcareconfig.js';import{getTranslation as _0x1e8c74}from'./utils/common-translations.js';function _0x2f6d(_0x26745b,_0x18fa3c){const _0x2e3d5f=_0x2e3d();return _0x2f6d=function(_0x2f6d46,_0x413f95){_0x2f6d46=_0x2f6d46-0x100;let _0x5d3502=_0x2e3d5f[_0x2f6d46];return _0x5d3502;},_0x2f6d(_0x26745b,_0x18fa3c);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2e3d(){const _0x4729ad=['pluginName','6724gMZoYm','_getIntegrationKey','uploadcareLicenseKeyEvaluationLimit','Uploadcare','locale','init','licenseKey','_showLicenseError','UploadcareUI','Local','entries','ImageInsertUI','223663uzigyh','isImageSelected','get','execute','expired','_createToolbarButton','84pLsEtc','3266570yAgemj','upload','51GxyHnI','_normalizeConfigSourceList','_createMenuBarButtons','URL','reduce','usageLimit','assetManager','tooltip','_createButton','uploadcare','icon','56RAnHRo','text','Dropbox','evaluationLimit','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','domainLimit','_licenseKeyCheckInterval','forEach','GPhotos','featureNotAllowed','102164ZyyLUY','9nzlcPN','isEnabled','plugins','invalid','config','registerIntegration','commands','map','Facebook','bind','_createDropdownButtons','Insert','type','24575484VrDDvU','shortText','uploadcareLicenseKeyUsageLimit','Replace','OneDrive','uploadcare.uploader.sourceList','174992yIAprz','editor','label','isPremiumPlugin','has','uploadcareLicenseKeyInvalid','112UvJqaT','url','145185yfrDHU','withText','push','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyExpired','destroy','afterInit','GDrive'];_0x2e3d=function(){return _0x4729ad;};return _0x2e3d();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x49c12c{[_0x351edc(0x115)];[_0x351edc(0x137)];static get[_0x351edc(0x10e)](){const _0x206f61=_0x351edc;return _0x206f61(0x117);}static get[_0x351edc(0x135)](){return!0x0;}static get[_0x351edc(0x101)](){return!0x0;}[_0x351edc(0x114)](){const _0x5e8e64=_0x351edc;this[_0x5e8e64(0x115)]=this[_0x5e8e64(0x150)][_0x5e8e64(0x140)][_0x5e8e64(0x11d)](_0x5e8e64(0x115));const _0x4bf9a5=this[_0x5e8e64(0x150)];this[_0x5e8e64(0x137)]=setInterval(()=>{const _0x5b2c8b=_0x5e8e64;let _0x32c122;for(const _0x565e81 in _0x4bf9a5){const _0x5a1cbc=_0x565e81,_0x1e9578=_0x4bf9a5[_0x5a1cbc];if(_0x5b2c8b(0x133)==_0x1e9578||_0x5b2c8b(0x103)==_0x1e9578||_0x5b2c8b(0x10a)==_0x1e9578||_0x5b2c8b(0x134)==_0x1e9578||_0x5b2c8b(0x109)==_0x1e9578||_0x5b2c8b(0x111)==_0x1e9578||_0x5b2c8b(0x14b)==_0x1e9578){delete _0x4bf9a5[_0x5a1cbc],_0x32c122=_0x1e9578,clearInterval(this[_0x5b2c8b(0x137)]),this[_0x5b2c8b(0x137)]=void 0x0;break;}}_0x5b2c8b(0x103)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x13f)),_0x5b2c8b(0x10a)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x11f)),_0x5b2c8b(0x134)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x136)),_0x5b2c8b(0x109)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x13a),_0x5b2c8b(0x112)),_0x5b2c8b(0x111)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x132)),_0x5b2c8b(0x14b)==_0x32c122&&_0x4bf9a5[_0x5b2c8b(0x116)](_0x5b2c8b(0x129));},0x3e8);}[_0x351edc(0x10c)](){const _0x4d0553=_0x351edc,{editor:_0x3ffea1}=this,_0x1ba1df=_0x3ffea1[_0x4d0553(0x142)][_0x4d0553(0x11d)](_0x4d0553(0x12d));if(!_0x1ba1df)return;const _0x237eb2=this[_0x4d0553(0x125)](_0x3ffea1[_0x4d0553(0x140)][_0x4d0553(0x11d)](_0x4d0553(0x14e)))[_0x4d0553(0x128)]((_0x96f3fc,_0x4566d3)=>{const _0xd0421e=_0x4d0553,_0x52757f=this[_0xd0421e(0x110)](_0x4566d3[_0xd0421e(0x148)]);return _0x96f3fc[_0x52757f]||(_0x96f3fc[_0x52757f]=[]),_0x96f3fc[_0x52757f][_0xd0421e(0x108)](_0x4566d3),_0x96f3fc;},{});_0x3ffea1[_0x4d0553(0x13e)][_0x4d0553(0x102)](_0x4d0553(0x11a))&&_0x3ffea1[_0x4d0553(0x142)][_0x4d0553(0x11d)](_0x4d0553(0x12d))&&Object[_0x4d0553(0x119)](_0x237eb2)[_0x4d0553(0x138)](([_0x53ff5b,_0x5159c2])=>{const _0x5c52dd=_0x4d0553;_0x3ffea1[_0x5c52dd(0x13e)][_0x5c52dd(0x11d)](_0x5c52dd(0x11a))[_0x5c52dd(0x141)]({'name':_0x53ff5b,'observable':()=>_0x1ba1df,'buttonViewCreator':()=>this[_0x5c52dd(0x120)](_0x5159c2),'formViewCreator':()=>this[_0x5c52dd(0x146)](_0x5159c2),'menuBarButtonViewCreator':()=>this[_0x5c52dd(0x126)](_0x5159c2),'override':_0x5c52dd(0x12a)!==_0x53ff5b});});}[_0x351edc(0x10b)](){const _0x3d17d3=_0x351edc;super[_0x3d17d3(0x10b)](),this[_0x3d17d3(0x137)]&&clearInterval(this[_0x3d17d3(0x137)]);}[_0x351edc(0x125)](_0xb1415b){const _0x3ad80a=_0x351edc,{locale:_0x3465f1}=this[_0x3ad80a(0x150)];return _0xb1415b[_0x3ad80a(0x143)](_0xe22deb=>{const _0x99f90b=_0x3ad80a,_0x5de5d2=_0x1e8c74(_0x3465f1,_0xe22deb,_0x99f90b(0x147));switch(_0xe22deb){case _0x216d60[_0x99f90b(0x118)]:return{'icon':_0x246361,'type':_0x216d60[_0x99f90b(0x118)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x127)]:return{'icon':_0x4049e7,'type':_0x216d60[_0x99f90b(0x127)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x131)]:return{'icon':_0x1e986b,'type':_0x216d60[_0x99f90b(0x131)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x144)]:return{'icon':_0x5b4925,'type':_0x216d60[_0x99f90b(0x144)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x10d)]:return{'icon':_0x2e8143,'type':_0x216d60[_0x99f90b(0x10d)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x139)]:return{'icon':_0x306337,'type':_0x216d60[_0x99f90b(0x139)],..._0x5de5d2};case _0x216d60[_0x99f90b(0x14d)]:return{'icon':_0x54e870,'type':_0x216d60[_0x99f90b(0x14d)],..._0x5de5d2};}});}[_0x351edc(0x110)](_0x58cbb1){const _0x2377fe=_0x351edc;switch(_0x58cbb1){case _0x216d60[_0x2377fe(0x118)]:return _0x2377fe(0x123);case _0x216d60[_0x2377fe(0x127)]:return _0x2377fe(0x105);default:return _0x2377fe(0x12a);}}[_0x351edc(0x12c)](_0x451ff7,_0x3468e4){const _0x19d710=_0x351edc,_0x13ecfe=this[_0x19d710(0x150)],_0xfddf2a=new _0x451ff7(_0x13ecfe[_0x19d710(0x113)]),_0x5bc958=_0x13ecfe[_0x19d710(0x142)][_0x19d710(0x11d)](_0x19d710(0x12d));return _0xfddf2a[_0x19d710(0x145)](_0x19d710(0x13d))['to'](_0x5bc958),_0xfddf2a['on'](_0x19d710(0x11e),()=>{const _0x1407e4=_0x19d710;_0x5bc958[_0x1407e4(0x11e)](_0x3468e4);}),_0xfddf2a;}[_0x351edc(0x120)](_0x5ab642){const _0x31cb95=_0x351edc,{locale:_0x43b911}=this[_0x31cb95(0x150)],_0x107322=this[_0x31cb95(0x150)][_0x31cb95(0x13e)][_0x31cb95(0x11d)](_0x31cb95(0x11a)),_0x3f49c0=_0x5ab642[0x0],_0x268f32=this[_0x31cb95(0x12c)](_0x36b5b3,_0x3f49c0[_0x31cb95(0x148)]);return _0x268f32[_0x31cb95(0x12e)]=_0x3f49c0[_0x31cb95(0x12e)],_0x268f32[_0x31cb95(0x145)](_0x31cb95(0x100))['to'](_0x107322,_0x31cb95(0x11c),_0x5f3ac7=>_0x1e8c74(_0x43b911,_0x3f49c0[_0x31cb95(0x148)],_0x5f3ac7?_0x31cb95(0x14c):_0x31cb95(0x147))[_0x31cb95(0x130)]),_0x268f32[_0x31cb95(0x12b)]=!0x0,_0x268f32;}[_0x351edc(0x146)](_0x1b138a){const _0x3a6afb=_0x351edc,{locale:_0x5748f7}=this[_0x3a6afb(0x150)],_0x274094=this[_0x3a6afb(0x150)][_0x3a6afb(0x13e)][_0x3a6afb(0x11d)](_0x3a6afb(0x11a));return _0x1b138a[_0x3a6afb(0x143)](_0x56526e=>{const _0x2c5cab=_0x3a6afb,_0x489c56=this[_0x2c5cab(0x12c)](_0x36b5b3,_0x56526e[_0x2c5cab(0x148)]);return _0x489c56[_0x2c5cab(0x107)]=!0x0,_0x489c56[_0x2c5cab(0x12e)]=_0x56526e[_0x2c5cab(0x12e)],_0x489c56[_0x2c5cab(0x145)](_0x2c5cab(0x100))['to'](_0x274094,_0x2c5cab(0x11c),_0xf15d03=>_0x1e8c74(_0x5748f7,_0x56526e[_0x2c5cab(0x148)],_0xf15d03?_0x2c5cab(0x14c):_0x2c5cab(0x147))[_0x2c5cab(0x130)]),_0x489c56;});}[_0x351edc(0x126)](_0x26c05e){const _0x23062d=_0x351edc;return _0x26c05e[_0x23062d(0x143)](_0x19dde5=>{const _0x1882ef=_0x23062d,_0x2cec4e=this[_0x1882ef(0x12c)](_0x398980,_0x19dde5[_0x1882ef(0x148)]);return _0x2cec4e[_0x1882ef(0x12e)]=_0x19dde5[_0x1882ef(0x12e)],_0x2cec4e[_0x1882ef(0x100)]=_0x19dde5[_0x1882ef(0x14a)],_0x2cec4e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4b5236}from'ckeditor5/src/core.js';import{FileRepository as _0x36a4c8}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x461fe}from'./uploadcareediting.js';import{UploadUtils as _0x20b2ca}from'./utils/uploadutils.js';import{getImageUrls as _0x5197e4}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4b5236{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36a4c8,_0x461fe];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x474ac6=this['editor'];if(!!!_0x474ac6['config']['get']('uploadcare'))return;_0x474ac6['plugins']['get'](_0x36a4c8)['createUploadAdapter']=_0x5493f2=>new k(_0x5493f2,_0x474ac6),_0x474ac6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1fe032,{imageElement:_0x1a26a1,data:_0x5381bd})=>{_0x474ac6['model']['change'](_0x3db30c=>{_0x3db30c['setAttribute']('uploadcareImageId',_0x5381bd['uploadcareImageId'],_0x1a26a1);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x286013,_0x227916){this['loader']=_0x286013,this['editor']=_0x227916,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5a5e8e=await this['loader']['file'];return _0x20b2ca['upload']({'file':_0x5a5e8e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1304e0=>{_0x1304e0&&_0x1304e0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1304e0['value']);}})['then'](async _0x4debc4=>{const {imageFallbackUrl:_0x18cd0c,imageSources:_0x33a722}=_0x5197e4(_0x4debc4['cdnUrl'],_0x4debc4['imageInfo']['width']);return{'uploadcareImageId':_0x4debc4['uuid'],'default':_0x18cd0c,'sources':_0x33a722};})['catch'](()=>{const _0x259c5e=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a5e8e['name']+'.');return Promise['reject'](_0x259c5e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x36d103}from'ckeditor5/src/core.js';import{FileRepository as _0x1ec9e7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4acc81}from'./uploadcareediting.js';import{UploadUtils as _0x1dce1c}from'./utils/uploadutils.js';import{getImageUrls as _0x1e4451}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x36d103{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ec9e7,_0x4acc81];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x31b768=this['editor'];if(!!!_0x31b768['config']['get']('uploadcare'))return;_0x31b768['plugins']['get'](_0x1ec9e7)['createUploadAdapter']=_0x32a4f7=>new k(_0x32a4f7,_0x31b768),_0x31b768['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3f47a1,{imageElement:_0x22fdf0,data:_0x3c1dfd})=>{_0x31b768['model']['change'](_0x2bfb07=>{_0x2bfb07['setAttribute']('uploadcareImageId',_0x3c1dfd['uploadcareImageId'],_0x22fdf0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xa1516f,_0x191714){this['loader']=_0xa1516f,this['editor']=_0x191714,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x49665f=await this['loader']['file'];return _0x1dce1c['upload']({'file':_0x49665f,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x419351=>{_0x419351&&_0x419351['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x419351['value']);}})['then'](async _0x246aeb=>{const {imageFallbackUrl:_0x199841,imageSources:_0x27f797}=_0x1e4451(_0x246aeb['cdnUrl'],_0x246aeb['imageInfo']['width']);return{'uploadcareImageId':_0x246aeb['uuid'],'default':_0x199841,'sources':_0x27f797};})['catch'](()=>{const _0x1f4a66=t('Cannot\x20upload\x20file:')+('\x20'+_0x49665f['name']+'.');return Promise['reject'](_0x1f4a66);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1f88c2}from'../uploadcareconfig.js';export function getTranslation(_0x3cba13,_0x303606,_0x2383b6){const t=_0x3cba13['t'],_0x13f72c=_0x3cba13['t'];switch(_0x303606){case _0x1f88c2['Local']:return{'text':_0x13f72c('Insert'===_0x2383b6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x13f72c('From\x20computer')};case _0x1f88c2['URL']:return{'text':'Insert'===_0x2383b6?_0x13f72c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x13f72c('Via\x20URL')};case _0x1f88c2['Dropbox']:return{'text':t('Insert'===_0x2383b6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1f88c2['Facebook']:return{'text':t('Insert'===_0x2383b6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1f88c2['GDrive']:return{'text':t('Insert'===_0x2383b6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1f88c2['GPhotos']:return{'text':t('Insert'===_0x2383b6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1f88c2['OneDrive']:return{'text':t('Insert'===_0x2383b6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x303606;}}
23
+ import{UploadcareSource as _0x4950ea}from'../uploadcareconfig.js';export function getTranslation(_0x433279,_0xca4f92,_0x12f28a){const t=_0x433279['t'],_0x1bb88f=_0x433279['t'];switch(_0xca4f92){case _0x4950ea['Local']:return{'text':_0x1bb88f('Insert'===_0x12f28a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1bb88f('From\x20computer')};case _0x4950ea['URL']:return{'text':'Insert'===_0x12f28a?_0x1bb88f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1bb88f('Via\x20URL')};case _0x4950ea['Dropbox']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4950ea['Facebook']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4950ea['GDrive']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4950ea['GPhotos']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4950ea['OneDrive']:return{'text':t('Insert'===_0x12f28a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xca4f92;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ee784=_0x4423;(function(_0x235212,_0x2d830b){var _0x17e185=_0x4423,_0x4edf4d=_0x235212();while(!![]){try{var _0x531f97=parseInt(_0x17e185(0xc3))/0x1*(-parseInt(_0x17e185(0xc6))/0x2)+-parseInt(_0x17e185(0xc7))/0x3+-parseInt(_0x17e185(0xcd))/0x4*(parseInt(_0x17e185(0xc5))/0x5)+parseInt(_0x17e185(0xd1))/0x6+parseInt(_0x17e185(0xcb))/0x7*(-parseInt(_0x17e185(0xc2))/0x8)+-parseInt(_0x17e185(0xd0))/0x9+-parseInt(_0x17e185(0xc0))/0xa*(-parseInt(_0x17e185(0xc1))/0xb);if(_0x531f97===_0x2d830b)break;else _0x4edf4d['push'](_0x4edf4d['shift']());}catch(_0x29a5b6){_0x4edf4d['push'](_0x4edf4d['shift']());}}}(_0x915c,0x61278));import{FocusTracker as _0x3e1d8f}from'ckeditor5/src/utils.js';import{View as _0x4f3044,FocusCycler as _0x518f88}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x4423(_0x27c577,_0x2abcd){var _0x915ca7=_0x915c();return _0x4423=function(_0x442346,_0x4be2ad){_0x442346=_0x442346-0xbf;var _0x4949d1=_0x915ca7[_0x442346];return _0x4949d1;},_0x4423(_0x27c577,_0x2abcd);}function _0x915c(){var _0x9396=['534744MJkeFM','createCollection','true','6299890vYPbSA','33TxOpFY','4328KZxaOQ','2oGzFdk','getFocusableElement','10RLbfvv','488596JvLBCz','976236JRqCMg','bindTemplate','div','forwardCycle','3227KiIMQw','fire','52868GDiRiW','focusTracker','focusCycler','4421736WfrxRd'];_0x915c=function(){return _0x9396;};return _0x915c();}export class DialogFocusManagerView extends _0x4f3044{[_0x5ee784(0xce)];[_0x5ee784(0xcf)];constructor(_0x3cee0f){var _0x4ad854=_0x5ee784;super(_0x3cee0f),this[_0x4ad854(0xce)]=new _0x3e1d8f(),this[_0x4ad854(0xcf)]=new _0x518f88({'focusables':this[_0x4ad854(0xd2)](),'focusTracker':this[_0x4ad854(0xce)]});}[_0x5ee784(0xc4)](){var _0x409803=_0x5ee784;return{'tag':_0x409803(0xc9),'attributes':{'aria-hidden':_0x409803(0xbf),'tabindex':'0'},'on':{'focus':this[_0x409803(0xc8)]['to'](()=>{var _0x5f1343=_0x409803;this[_0x5f1343(0xcf)][_0x5f1343(0xcc)](_0x5f1343(0xca));})}};}}
23
+ var _0x16a332=_0x1a75;(function(_0x53aaa9,_0x5b21da){var _0x4b6517=_0x1a75,_0x24f059=_0x53aaa9();while(!![]){try{var _0x1c6684=parseInt(_0x4b6517(0x6f))/0x1+-parseInt(_0x4b6517(0x75))/0x2+-parseInt(_0x4b6517(0x7a))/0x3+parseInt(_0x4b6517(0x79))/0x4+-parseInt(_0x4b6517(0x76))/0x5+parseInt(_0x4b6517(0x6d))/0x6*(parseInt(_0x4b6517(0x69))/0x7)+parseInt(_0x4b6517(0x6e))/0x8*(parseInt(_0x4b6517(0x6a))/0x9);if(_0x1c6684===_0x5b21da)break;else _0x24f059['push'](_0x24f059['shift']());}catch(_0xc759e4){_0x24f059['push'](_0x24f059['shift']());}}}(_0x2591,0x940db));import{FocusTracker as _0x162308}from'ckeditor5/src/utils.js';function _0x2591(){var _0x270d73=['72ZXbnqS','972854PcEALZ','bindTemplate','true','createCollection','forwardCycle','focusTracker','1036656eRulmS','5927350DpaHKf','fire','getFocusableElement','4650952KmdIxP','2261496jCsPnm','4561186ADrWZM','276867heSNuO','focusCycler','div','6UIhcUp'];_0x2591=function(){return _0x270d73;};return _0x2591();}import{View as _0x14a953,FocusCycler as _0x53dd40}from'ckeditor5/src/ui.js';function _0x1a75(_0x2a2edc,_0x1e359d){var _0x25913a=_0x2591();return _0x1a75=function(_0x1a75a9,_0x28287f){_0x1a75a9=_0x1a75a9-0x69;var _0x52d5e7=_0x25913a[_0x1a75a9];return _0x52d5e7;},_0x1a75(_0x2a2edc,_0x1e359d);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x14a953{[_0x16a332(0x74)];[_0x16a332(0x6b)];constructor(_0xb17805){var _0x57d4b7=_0x16a332;super(_0xb17805),this[_0x57d4b7(0x74)]=new _0x162308(),this[_0x57d4b7(0x6b)]=new _0x53dd40({'focusables':this[_0x57d4b7(0x72)](),'focusTracker':this[_0x57d4b7(0x74)]});}[_0x16a332(0x78)](){var _0x59d47a=_0x16a332;return{'tag':_0x59d47a(0x6c),'attributes':{'aria-hidden':_0x59d47a(0x71),'tabindex':'0'},'on':{'focus':this[_0x59d47a(0x70)]['to'](()=>{var _0x1fe2b1=_0x59d47a;this[_0x1fe2b1(0x6b)][_0x1fe2b1(0x77)](_0x1fe2b1(0x73));})}};}}